!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.AOS=t():e.AOS=t()}(this,function(){return n=[function(e,t,o){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function i(){p=(0,m.default)(),g()}var a=Object.assign||function(e){for(var t=1;te.position?e.node.classList.add("aos-animate"):void 0===i||"false"!==i&&(n||"true"===i)||e.node.classList.remove("aos-animate")})}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=o(12),n=(o=o)&&o.__esModule?o:{default:o};t.default=function(e,o){return e.forEach(function(e,t){e.node.classList.add("aos-init"),e.position=(0,n.default)(e.node,o.offset)}),e}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=o(13),r=(o=o)&&o.__esModule?o:{default:o};t.default=function(e,t){var o=0,n=0,i=window.innerHeight,a={offset:e.getAttribute("data-aos-offset"),anchor:e.getAttribute("data-aos-anchor"),anchorPlacement:e.getAttribute("data-aos-anchor-placement")};switch(a.offset&&!isNaN(a.offset)&&(n=parseInt(a.offset)),a.anchor&&document.querySelectorAll(a.anchor)&&(e=document.querySelectorAll(a.anchor)[0]),o=(0,r.default)(e).top,a.anchorPlacement){case"top-bottom":break;case"center-bottom":o+=e.offsetHeight/2;break;case"bottom-bottom":o+=e.offsetHeight;break;case"top-center":o+=i/2;break;case"bottom-center":o+=i/2+e.offsetHeight;break;case"center-center":o+=i/2+e.offsetHeight/2;break;case"top-top":o+=i;break;case"bottom-top":o+=e.offsetHeight+i;break;case"center-top":o+=e.offsetHeight/2+i}return o+(n=a.anchorPlacement||a.offset||isNaN(t)?n:t)}},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default=function(e){for(var t=0,o=0;e&&!isNaN(e.offsetLeft)&&!isNaN(e.offsetTop);)t+=e.offsetLeft-("BODY"!=e.tagName?e.scrollLeft:0),o+=e.offsetTop-("BODY"!=e.tagName?e.scrollTop:0),e=e.offsetParent;return{top:o,left:t}}},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default=function(e){return e=e||document.querySelectorAll("[data-aos]"),Array.prototype.map.call(e,function(e){return{node:e}})}}],i={},o.m=n,o.c=i,o.p="dist/",o(0);function o(e){var t;return(i[e]||(t=i[e]={exports:{},id:e,loaded:!1},n[e].call(t.exports,t,t.exports,o),t.loaded=!0,t)).exports}var n,i}); !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).bootstrap=t()}(this,function(){"use strict";const M="transitionend",H=t=>{let i=t.getAttribute("data-bs-target");if(!i||"#"===i){let e=t.getAttribute("href");if(!e||!e.includes("#")&&!e.startsWith("."))return null;e.includes("#")&&!e.startsWith("#")&&(e="#"+e.split("#")[1]),i=e&&"#"!==e?e.trim():null}return i},B=e=>{e=H(e);return e&&document.querySelector(e)?e:null},n=e=>{e=H(e);return e?document.querySelector(e):null},R=e=>{e.dispatchEvent(new Event(M))},r=e=>!(!e||"object"!=typeof e)&&void 0!==(e=void 0!==e.jquery?e[0]:e).nodeType,s=e=>r(e)?e.jquery?e[0]:e:"string"==typeof e&&0{Object.keys(o).forEach(e=>{var t=o[e],i=n[e],i=i&&r(i)?"element":null==i?""+i:{}.toString.call(i).match(/\s([a-z]+)/i)[1].toLowerCase();if(!new RegExp(t).test(i))throw new TypeError(s.toUpperCase()+`: Option "${e}" provided type "${i}" but expected type "${t}".`)})},W=e=>!(!r(e)||0===e.getClientRects().length)&&"visible"===getComputedStyle(e).getPropertyValue("visibility"),o=e=>!e||e.nodeType!==Node.ELEMENT_NODE||!!e.classList.contains("disabled")||(void 0!==e.disabled?e.disabled:e.hasAttribute("disabled")&&"false"!==e.getAttribute("disabled")),z=e=>{var t;return document.documentElement.attachShadow?"function"==typeof e.getRootNode?(t=e.getRootNode())instanceof ShadowRoot?t:null:e instanceof ShadowRoot?e:e.parentNode?z(e.parentNode):null:null},q=()=>{},f=e=>{e.offsetHeight},F=()=>{var e=window["jQuery"];return e&&!document.body.hasAttribute("data-bs-no-jquery")?e:null},U=[],a=()=>"rtl"===document.documentElement.dir,e=s=>{var e=()=>{const e=F();if(e){const t=s.NAME,i=e.fn[t];e.fn[t]=s.jQueryInterface,e.fn[t].Constructor=s,e.fn[t].noConflict=()=>(e.fn[t]=i,s.jQueryInterface)}};"loading"===document.readyState?(U.length||document.addEventListener("DOMContentLoaded",()=>{U.forEach(e=>e())}),U.push(e)):e()},l=e=>{"function"==typeof e&&e()},V=(i,n,e=!0)=>{if(e){e=(()=>{if(!n)return 0;let{transitionDuration:e,transitionDelay:t}=window.getComputedStyle(n);var i=Number.parseFloat(e),s=Number.parseFloat(t);return i||s?(e=e.split(",")[0],t=t.split(",")[0],1e3*(Number.parseFloat(e)+Number.parseFloat(t))):0})()+5;let t=!1;const s=({target:e})=>{e===n&&(t=!0,n.removeEventListener(M,s),l(i))};n.addEventListener(M,s),setTimeout(()=>{t||R(n)},e)}else l(i)},$=(e,t,i,s)=>{let n=e.indexOf(t);return-1===n?e[!i&&s?e.length-1:0]:(t=e.length,n+=i?1:-1,s&&(n=(n+t)%t),e[Math.max(0,Math.min(n,t-1))])},K=/[^.]*(?=\..*)\.|.*/,X=/\..*/,Y=/::\d+$/,Q={};let G=1;const Z={mouseenter:"mouseover",mouseleave:"mouseout"},J=/^(mouseenter|mouseleave)/i,ee=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 te(e,t){return t&&t+"::"+G++||e.uidEvent||G++}function ie(e){var t=te(e);return e.uidEvent=t,Q[t]=Q[t]||{},Q[t]}function se(i,s,n=null){var o=Object.keys(i);for(let e=0,t=o.length;efunction(e){if(!e.relatedTarget||e.relatedTarget!==e.delegateTarget&&!e.delegateTarget.contains(e.relatedTarget))return t.call(this,e)};s?s=e(s):i=e(i)}var[o,r,a]=ne(t,i,s),l=ie(e),l=l[a]||(l[a]={}),c=se(l,r,o?i:null);if(c)return c.oneOff=c.oneOff&&n;var h,d,u,f,p,c=te(r,t.replace(K,"")),t=o?(u=e,f=i,p=s,function i(s){var n=u.querySelectorAll(f);for(let t=s["target"];t&&t!==this;t=t.parentNode)for(let e=n.length;e--;)if(n[e]===t)return s.delegateTarget=t,i.oneOff&&m.off(u,s.type,f,p),p.apply(t,[s]);return null}):(h=e,d=i,function e(t){return t.delegateTarget=h,e.oneOff&&m.off(h,t.type,d),d.apply(h,[t])});t.delegationSelector=o?i:null,t.originalHandler=r,t.oneOff=n,l[t.uidEvent=c]=t,e.addEventListener(a,t,o)}}function re(e,t,i,s,n){s=se(t[i],s,n);s&&(e.removeEventListener(i,s,Boolean(n)),delete t[i][s.uidEvent])}function ae(e){return e=e.replace(X,""),Z[e]||e}const m={on(e,t,i,s){oe(e,t,i,s,!1)},one(e,t,i,s){oe(e,t,i,s,!0)},off(r,a,e,t){if("string"==typeof a&&r){const[i,s,n]=ne(a,e,t),o=n!==a,l=ie(r),c=a.startsWith(".");if(void 0!==s)return l&&l[n]?void re(r,l,n,s,i?e:null):void 0;c&&Object.keys(l).forEach(e=>{{var t=r,i=l,s=e,n=a.slice(1);const o=i[s]||{};Object.keys(o).forEach(e=>{if(e.includes(n)){const n=o[e];re(t,i,s,n.originalHandler,n.delegationSelector)}})}});const h=l[n]||{};Object.keys(h).forEach(e=>{var t=e.replace(Y,"");if(!o||a.includes(t)){const a=h[e];re(r,l,n,a.originalHandler,a.delegationSelector)}})}},trigger(e,t,i){if("string"!=typeof t||!e)return null;var s=F(),n=ae(t),o=t!==n,r=ee.has(n);let a,l=!0,c=!0,h=!1,d=null;return o&&s&&(a=s.Event(t,i),s(e).trigger(a),l=!a.isPropagationStopped(),c=!a.isImmediatePropagationStopped(),h=a.isDefaultPrevented()),r?(d=document.createEvent("HTMLEvents")).initEvent(n,l,!0):d=new CustomEvent(t,{bubbles:l,cancelable:!0}),void 0!==i&&Object.keys(i).forEach(e=>{Object.defineProperty(d,e,{get:()=>i[e]})}),h&&d.preventDefault(),c&&e.dispatchEvent(d),d.defaultPrevented&&void 0!==a&&a.preventDefault(),d}},c=new Map,le={set(e,t,i){c.has(e)||c.set(e,new Map);e=c.get(e);e.has(t)||0===e.size?e.set(t,i):console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(e.keys())[0]}.`)},get:(e,t)=>c.has(e)&&c.get(e).get(t)||null,remove(e,t){var i;c.has(e)&&((i=c.get(e)).delete(t),0===i.size)&&c.delete(e)}};class t{constructor(e){(e=s(e))&&(this._element=e,le.set(this._element,this.constructor.DATA_KEY,this))}dispose(){le.remove(this._element,this.constructor.DATA_KEY),m.off(this._element,this.constructor.EVENT_KEY),Object.getOwnPropertyNames(this).forEach(e=>{this[e]=null})}_queueCallback(e,t,i=!0){V(e,t,i)}static getInstance(e){return le.get(s(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.1.3"}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}static get DATA_KEY(){return"bs."+this.NAME}static get EVENT_KEY(){return"."+this.DATA_KEY}}var ce=(t,i="hide")=>{const e="click.dismiss"+t.EVENT_KEY,s=t.NAME;m.on(document,e,`[data-bs-dismiss="${s}"]`,function(e){["A","AREA"].includes(this.tagName)&&e.preventDefault(),o(this)||(e=n(this)||this.closest("."+s),t.getOrCreateInstance(e)[i]())})};class he extends t{static get NAME(){return"alert"}close(){var e;m.trigger(this._element,"close.bs.alert").defaultPrevented||(this._element.classList.remove("show"),e=this._element.classList.contains("fade"),this._queueCallback(()=>this._destroyElement(),this._element,e))}_destroyElement(){this._element.remove(),m.trigger(this._element,"closed.bs.alert"),this.dispose()}static jQueryInterface(t){return this.each(function(){var e=he.getOrCreateInstance(this);if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method named "${t}"`);e[t](this)}})}}ce(he,"close"),e(he);const de='[data-bs-toggle="button"]';class ue extends t{static get NAME(){return"button"}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle("active"))}static jQueryInterface(t){return this.each(function(){var e=ue.getOrCreateInstance(this);"toggle"===t&&e[t]()})}}function fe(e){return"true"===e||"false"!==e&&(e===Number(e).toString()?Number(e):""===e||"null"===e?null:e)}function pe(e){return e.replace(/[A-Z]/g,e=>"-"+e.toLowerCase())}m.on(document,"click.bs.button.data-api",de,e=>{e.preventDefault();e=e.target.closest(de);ue.getOrCreateInstance(e).toggle()}),e(ue);const h={setDataAttribute(e,t,i){e.setAttribute("data-bs-"+pe(t),i)},removeDataAttribute(e,t){e.removeAttribute("data-bs-"+pe(t))},getDataAttributes(i){if(!i)return{};const s={};return Object.keys(i.dataset).filter(e=>e.startsWith("bs")).forEach(e=>{let t=e.replace(/^bs/,"");t=t.charAt(0).toLowerCase()+t.slice(1,t.length),s[t]=fe(i.dataset[e])}),s},getDataAttribute:(e,t)=>fe(e.getAttribute("data-bs-"+pe(t))),offset(e){e=e.getBoundingClientRect();return{top:e.top+window.pageYOffset,left:e.left+window.pageXOffset}},position:e=>({top:e.offsetTop,left:e.offsetLeft})},p={find:(e,t=document.documentElement)=>[].concat(...Element.prototype.querySelectorAll.call(t,e)),findOne:(e,t=document.documentElement)=>Element.prototype.querySelector.call(t,e),children:(e,t)=>[].concat(...e.children).filter(e=>e.matches(t)),parents(e,t){var i=[];let s=e.parentNode;for(;s&&s.nodeType===Node.ELEMENT_NODE&&3!==s.nodeType;)s.matches(t)&&i.push(s),s=s.parentNode;return i},prev(e,t){let i=e.previousElementSibling;for(;i;){if(i.matches(t))return[i];i=i.previousElementSibling}return[]},next(e,t){let i=e.nextElementSibling;for(;i;){if(i.matches(t))return[i];i=i.nextElementSibling}return[]},focusableChildren(e){var t=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map(e=>e+':not([tabindex^="-"])').join(", ");return this.find(t,e).filter(e=>!o(e)&&W(e))}},me="carousel",ge={interval:5e3,keyboard:!0,slide:!1,pause:"hover",wrap:!0,touch:!0},_e={interval:"(number|boolean)",keyboard:"boolean",slide:"(boolean|string)",pause:"(string|boolean)",wrap:"boolean",touch:"boolean"},g="next",d="prev",u="left",ve="right",be={ArrowLeft:ve,ArrowRight:u},ye="slid.bs.carousel",_="active",we=".active.carousel-item";class v extends t{constructor(e,t){super(e),this._items=null,this._interval=null,this._activeElement=null,this._isPaused=!1,this._isSliding=!1,this.touchTimeout=null,this.touchStartX=0,this.touchDeltaX=0,this._config=this._getConfig(t),this._indicatorsElement=p.findOne(".carousel-indicators",this._element),this._touchSupported="ontouchstart"in document.documentElement||0this._items.length-1||e<0||(this._isSliding?m.one(this._element,ye,()=>this.to(e)):t===e?(this.pause(),this.cycle()):(t=tthis._keydown(e)),"hover"===this._config.pause&&(m.on(this._element,"mouseenter.bs.carousel",e=>this.pause(e)),m.on(this._element,"mouseleave.bs.carousel",e=>this.cycle(e))),this._config.touch&&this._touchSupported&&this._addTouchEventListeners()}_addTouchEventListeners(){const t=e=>this._pointerEvent&&("pen"===e.pointerType||"touch"===e.pointerType),i=e=>{t(e)?this.touchStartX=e.clientX:this._pointerEvent||(this.touchStartX=e.touches[0].clientX)},s=e=>{this.touchDeltaX=e.touches&&1{t(e)&&(this.touchDeltaX=e.clientX-this.touchStartX),this._handleSwipe(),"hover"===this._config.pause&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(e=>this.cycle(e),500+this._config.interval))};p.find(".carousel-item img",this._element).forEach(e=>{m.on(e,"dragstart.bs.carousel",e=>e.preventDefault())}),this._pointerEvent?(m.on(this._element,"pointerdown.bs.carousel",e=>i(e)),m.on(this._element,"pointerup.bs.carousel",e=>n(e)),this._element.classList.add("pointer-event")):(m.on(this._element,"touchstart.bs.carousel",e=>i(e)),m.on(this._element,"touchmove.bs.carousel",e=>s(e)),m.on(this._element,"touchend.bs.carousel",e=>n(e)))}_keydown(e){var t;/input|textarea/i.test(e.target.tagName)||(t=be[e.key])&&(e.preventDefault(),this._slide(t))}_getItemIndex(e){return this._items=e&&e.parentNode?p.find(".carousel-item",e.parentNode):[],this._items.indexOf(e)}_getItemByOrder(e,t){e=e===g;return $(this._items,t,e,this._config.wrap)}_triggerSlideEvent(e,t){var i=this._getItemIndex(e),s=this._getItemIndex(p.findOne(we,this._element));return m.trigger(this._element,"slide.bs.carousel",{relatedTarget:e,direction:t,from:s,to:i})}_setActiveIndicatorElement(t){if(this._indicatorsElement){var e=p.findOne(".active",this._indicatorsElement),i=(e.classList.remove(_),e.removeAttribute("aria-current"),p.find("[data-bs-target]",this._indicatorsElement));for(let e=0;e{m.trigger(this._element,ye,{relatedTarget:o,direction:d,from:n,to:r})};if(this._element.classList.contains("slide")){o.classList.add(h),f(o),s.classList.add(c),o.classList.add(c);const e=()=>{o.classList.remove(c,h),o.classList.add(_),s.classList.remove(_,h,c),this._isSliding=!1,setTimeout(u,0)};this._queueCallback(e,s,!0)}else s.classList.remove(_),o.classList.add(_),this._isSliding=!1,u();a&&this.cycle()}}_directionToOrder(e){return[ve,u].includes(e)?a()?e===u?d:g:e===u?g:d:e}_orderToDirection(e){return[g,d].includes(e)?a()?e===d?u:ve:e===d?ve:u:e}static carouselInterface(e,t){e=v.getOrCreateInstance(e,t);let i=e["_config"];"object"==typeof t&&(i={...i,...t});var s="string"==typeof t?t:i.slide;if("number"==typeof t)e.to(t);else if("string"==typeof s){if(void 0===e[s])throw new TypeError(`No method named "${s}"`);e[s]()}else i.interval&&i.ride&&(e.pause(),e.cycle())}static jQueryInterface(e){return this.each(function(){v.carouselInterface(this,e)})}static dataApiClickHandler(e){var t,i,s=n(this);s&&s.classList.contains("carousel")&&(t={...h.getDataAttributes(s),...h.getDataAttributes(this)},(i=this.getAttribute("data-bs-slide-to"))&&(t.interval=!1),v.carouselInterface(s,t),i&&v.getInstance(s).to(i),e.preventDefault())}}m.on(document,"click.bs.carousel.data-api","[data-bs-slide], [data-bs-slide-to]",v.dataApiClickHandler),m.on(window,"load.bs.carousel.data-api",()=>{var i=p.find('[data-bs-ride="carousel"]');for(let e=0,t=i.length;ee===this._element);null!==n&&o.length&&(this._selector=n,this._triggerArray.push(i))}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return Ae}static get NAME(){return Ee}toggle(){this._isShown()?this.hide():this.show()}show(){if(!this._isTransitioning&&!this._isShown()){let t,e=[];if(this._config.parent){const t=p.find(xe,this._config.parent);e=p.find(".collapse.show, .collapse.collapsing",this._config.parent).filter(e=>!t.includes(e))}const s=p.findOne(this._selector);if(e.length){const n=e.find(e=>s!==e);if((t=n?b.getInstance(n):null)&&t._isTransitioning)return}if(!m.trigger(this._element,"show.bs.collapse").defaultPrevented){e.forEach(e=>{s!==e&&b.getOrCreateInstance(e,{toggle:!1}).hide(),t||le.set(e,"bs.collapse",null)});const n=this._getDimension();this._element.classList.remove(Ce),this._element.classList.add(ke),this._element.style[n]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;var i="scroll"+(n[0].toUpperCase()+n.slice(1));this._queueCallback(()=>{this._isTransitioning=!1,this._element.classList.remove(ke),this._element.classList.add(Ce,Oe),this._element.style[n]="",m.trigger(this._element,"shown.bs.collapse")},this._element,!0),this._element.style[n]=this._element[i]+"px"}}}hide(){if(!this._isTransitioning&&this._isShown()&&!m.trigger(this._element,"hide.bs.collapse").defaultPrevented){var e=this._getDimension();this._element.style[e]=this._element.getBoundingClientRect()[e]+"px",f(this._element),this._element.classList.add(ke),this._element.classList.remove(Ce,Oe);const t=this._triggerArray.length;for(let e=0;e{this._isTransitioning=!1,this._element.classList.remove(ke),this._element.classList.add(Ce),m.trigger(this._element,"hidden.bs.collapse")},this._element,!0)}}_isShown(e=this._element){return e.classList.contains(Oe)}_getConfig(e){return(e={...Ae,...h.getDataAttributes(this._element),...e}).toggle=Boolean(e.toggle),e.parent=s(e.parent),i(Ee,e,Te),e}_getDimension(){return this._element.classList.contains("collapse-horizontal")?"width":"height"}_initializeChildren(){if(this._config.parent){const t=p.find(xe,this._config.parent);p.find(De,this._config.parent).filter(e=>!t.includes(e)).forEach(e=>{var t=n(e);t&&this._addAriaAndCollapsedClass([e],this._isShown(t))})}}_addAriaAndCollapsedClass(e,t){e.length&&e.forEach(e=>{t?e.classList.remove(Le):e.classList.add(Le),e.setAttribute("aria-expanded",t)})}static jQueryInterface(t){return this.each(function(){var e={},e=("string"==typeof t&&/show|hide/.test(t)&&(e.toggle=!1),b.getOrCreateInstance(this,e));if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t]()}})}}m.on(document,"click.bs.collapse.data-api",De,function(e){("A"===e.target.tagName||e.delegateTarget&&"A"===e.delegateTarget.tagName)&&e.preventDefault();e=B(this);p.find(e).forEach(e=>{b.getOrCreateInstance(e,{toggle:!1}).toggle()})}),e(b);var k="top",L="bottom",x="right",D="left",Se="auto",S=[k,L,x,D],N="start",y="end",Ne="clippingParents",Ie="viewport",Pe="popper",je="reference",Me=S.reduce(function(e,t){return e.concat([t+"-"+N,t+"-"+y])},[]),He=[].concat(S,[Se]).reduce(function(e,t){return e.concat([t,t+"-"+N,t+"-"+y])},[]),Be="beforeRead",Re="afterRead",We="beforeMain",ze="afterMain",qe="beforeWrite",Fe="afterWrite",Ue=[Be,"read",Re,We,"main",ze,qe,"write",Fe];function w(e){return e?(e.nodeName||"").toLowerCase():null}function E(e){var t;return null==e?window:"[object Window]"!==e.toString()?(t=e.ownerDocument)&&t.defaultView||window:e}function Ve(e){return e instanceof E(e).Element||e instanceof Element}function A(e){return e instanceof E(e).HTMLElement||e instanceof HTMLElement}function $e(e){return"undefined"!=typeof ShadowRoot&&(e instanceof E(e).ShadowRoot||e instanceof ShadowRoot)}var Ke={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var n=e.state;Object.keys(n.elements).forEach(function(e){var t=n.styles[e]||{},i=n.attributes[e]||{},s=n.elements[e];A(s)&&w(s)&&(Object.assign(s.style,t),Object.keys(i).forEach(function(e){var t=i[e];!1===t?s.removeAttribute(e):s.setAttribute(e,!0===t?"":t)}))})},effect:function(e){var s=e.state,n={popper:{position:s.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(s.elements.popper.style,n.popper),s.styles=n,s.elements.arrow&&Object.assign(s.elements.arrow.style,n.arrow),function(){Object.keys(s.elements).forEach(function(e){var t=s.elements[e],i=s.attributes[e]||{},e=Object.keys((s.styles.hasOwnProperty(e)?s.styles:n)[e]).reduce(function(e,t){return e[t]="",e},{});A(t)&&w(t)&&(Object.assign(t.style,e),Object.keys(i).forEach(function(e){t.removeAttribute(e)}))})}},requires:["computeStyles"]};function I(e){return e.split("-")[0]}function Xe(e){e=e.getBoundingClientRect();return{width:+e.width,height:+e.height,top:+e.top,right:+e.right,bottom:+e.bottom,left:+e.left,x:+e.left,y:+e.top}}function Ye(e){var t=Xe(e),i=e.offsetWidth,s=e.offsetHeight;return Math.abs(t.width-i)<=1&&(i=t.width),Math.abs(t.height-s)<=1&&(s=t.height),{x:e.offsetLeft,y:e.offsetTop,width:i,height:s}}function Qe(e,t){var i=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(i&&$e(i)){var s=t;do{if(s&&e.isSameNode(s))return!0}while(s=s.parentNode||s.host)}return!1}function T(e){return E(e).getComputedStyle(e)}function O(e){return((Ve(e)?e.ownerDocument:e.document)||window.document).documentElement}function Ge(e){return"html"===w(e)?e:e.assignedSlot||e.parentNode||($e(e)?e.host:null)||O(e)}function Ze(e){return A(e)&&"fixed"!==T(e).position?e.offsetParent:null}function Je(e){for(var t,i=E(e),s=Ze(e);s&&(t=s,0<=["table","td","th"].indexOf(w(t)))&&"static"===T(s).position;)s=Ze(s);return(!s||"html"!==w(s)&&("body"!==w(s)||"static"!==T(s).position))&&(s||function(e){var t=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");if(-1===navigator.userAgent.indexOf("Trident")||!A(e)||"fixed"!==T(e).position)for(var i=Ge(e);A(i)&&["html","body"].indexOf(w(i))<0;){var s=T(i);if("none"!==s.transform||"none"!==s.perspective||"paint"===s.contain||-1!==["transform","perspective"].indexOf(s.willChange)||t&&"filter"===s.willChange||t&&s.filter&&"none"!==s.filter)return i;i=i.parentNode}return null}(e))||i}function et(e){return 0<=["top","bottom"].indexOf(e)?"x":"y"}var C=Math.max,tt=Math.min,it=Math.round;function st(e,t,i){return C(e,tt(t,i))}function nt(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function ot(i,e){return e.reduce(function(e,t){return e[t]=i,e},{})}var rt={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,i,s,n,o=e.state,r=e.name,e=e.options,a=o.elements.arrow,l=o.modifiersData.popperOffsets,c=I(o.placement),h=et(c),c=0<=[D,x].indexOf(c)?"height":"width";a&&l&&(e=nt("number"!=typeof(e="function"==typeof(e=e.padding)?e(Object.assign({},o.rects,{placement:o.placement})):e)?e:ot(e,S)),t=Ye(a),n="y"===h?k:D,s="y"===h?L:x,i=o.rects.reference[c]+o.rects.reference[h]-l[h]-o.rects.popper[c],l=l[h]-o.rects.reference[h],a=(a=Je(a))?"y"===h?a.clientHeight||0:a.clientWidth||0:0,n=e[n],e=a-t[c]-e[s],n=st(n,s=a/2-t[c]/2+(i/2-l/2),e),o.modifiersData[r]=((a={})[h]=n,a.centerOffset=n-s,a))},effect:function(e){var t=e.state,e=e.options.element,e=void 0===e?"[data-popper-arrow]":e;null!=e&&("string"!=typeof e||(e=t.elements.popper.querySelector(e)))&&Qe(t.elements.popper,e)&&(t.elements.arrow=e)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function at(e){return e.split("-")[1]}var lt={top:"auto",right:"auto",bottom:"auto",left:"auto"};function ct(e){var t,i,s=e.popper,n=e.popperRect,o=e.placement,r=e.variation,a=e.offsets,l=e.position,c=e.gpuAcceleration,h=e.adaptive,e=e.roundOffsets,d=!0===e?(d=a.x,u=a.y,f=window.devicePixelRatio||1,{x:it(it(d*f)/f)||0,y:it(it(u*f)/f)||0}):"function"==typeof e?e(a):a,u=d.x,f=void 0===u?0:u,e=d.y,e=void 0===e?0:e,p=a.hasOwnProperty("x"),a=a.hasOwnProperty("y"),m=D,g=k,_=window;h&&(v="clientHeight",i="clientWidth",(t=Je(s))===E(s)&&"static"!==T(t=O(s)).position&&"absolute"===l&&(v="scrollHeight",i="scrollWidth"),o!==k&&(o!==D&&o!==x||r!==y)||(g=L,e=(e-(t[v]-n.height))*(c?1:-1)),o!==D&&(o!==k&&o!==L||r!==y)||(m=x,f=(f-(t[i]-n.width))*(c?1:-1)));var v,s=Object.assign({position:l},h&<);return c?Object.assign({},s,((v={})[g]=a?"0":"",v[m]=p?"0":"",v.transform=(_.devicePixelRatio||1)<=1?"translate("+f+"px, "+e+"px)":"translate3d("+f+"px, "+e+"px, 0)",v)):Object.assign({},s,((o={})[g]=a?e+"px":"",o[m]=p?f+"px":"",o.transform="",o))}var ht={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,e=e.options,i=e.gpuAcceleration,i=void 0===i||i,s=e.adaptive,s=void 0===s||s,e=e.roundOffsets,e=void 0===e||e,i={placement:I(t.placement),variation:at(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:i};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,ct(Object.assign({},i,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:s,roundOffsets:e})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,ct(Object.assign({},i,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:e})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},dt={passive:!0},ut={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,i=e.instance,e=e.options,s=e.scroll,n=void 0===s||s,s=e.resize,o=void 0===s||s,r=E(t.elements.popper),a=[].concat(t.scrollParents.reference,t.scrollParents.popper);return n&&a.forEach(function(e){e.addEventListener("scroll",i.update,dt)}),o&&r.addEventListener("resize",i.update,dt),function(){n&&a.forEach(function(e){e.removeEventListener("scroll",i.update,dt)}),o&&r.removeEventListener("resize",i.update,dt)}},data:{}},ft={left:"right",right:"left",bottom:"top",top:"bottom"};function pt(e){return e.replace(/left|right|bottom|top/g,function(e){return ft[e]})}var mt={start:"end",end:"start"};function gt(e){return e.replace(/start|end/g,function(e){return mt[e]})}function _t(e){e=E(e);return{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function vt(e){return Xe(O(e)).left+_t(e).scrollLeft}function bt(e){var e=T(e),t=e.overflow,i=e.overflowX,e=e.overflowY;return/auto|scroll|overlay|hidden/.test(t+e+i)}function yt(e,t){void 0===t&&(t=[]);var i=function e(t){return 0<=["html","body","#document"].indexOf(w(t))?t.ownerDocument.body:A(t)&&bt(t)?t:e(Ge(t))}(e),e=i===(null==(e=e.ownerDocument)?void 0:e.body),s=E(i),s=e?[s].concat(s.visualViewport||[],bt(i)?i:[]):i,i=t.concat(s);return e?i:i.concat(yt(Ge(s)))}function wt(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Et(e,t){return t===Ie?wt((s=E(i=e),n=O(i),s=s.visualViewport,o=n.clientWidth,n=n.clientHeight,a=r=0,s&&(o=s.width,n=s.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(r=s.offsetLeft,a=s.offsetTop)),{width:o,height:n,x:r+vt(i),y:a})):A(t)?((o=Xe(s=t)).top=o.top+s.clientTop,o.left=o.left+s.clientLeft,o.bottom=o.top+s.clientHeight,o.right=o.left+s.clientWidth,o.width=s.clientWidth,o.height=s.clientHeight,o.x=o.left,o.y=o.top,o):wt((n=O(e),r=O(n),i=_t(n),a=null==(a=n.ownerDocument)?void 0:a.body,t=C(r.scrollWidth,r.clientWidth,a?a.scrollWidth:0,a?a.clientWidth:0),e=C(r.scrollHeight,r.clientHeight,a?a.scrollHeight:0,a?a.clientHeight:0),n=-i.scrollLeft+vt(n),i=-i.scrollTop,"rtl"===T(a||r).direction&&(n+=C(r.clientWidth,a?a.clientWidth:0)-t),{width:t,height:e,x:n,y:i}));var i,s,n,o,r,a}function At(e){var t,i=e.reference,s=e.element,e=e.placement,n=e?I(e):null,e=e?at(e):null,o=i.x+i.width/2-s.width/2,r=i.y+i.height/2-s.height/2;switch(n){case k:t={x:o,y:i.y-s.height};break;case L:t={x:o,y:i.y+i.height};break;case x:t={x:i.x+i.width,y:r};break;case D:t={x:i.x-s.width,y:r};break;default:t={x:i.x,y:i.y}}var a=n?et(n):null;if(null!=a){var l="y"===a?"height":"width";switch(e){case N:t[a]=t[a]-(i[l]/2-s[l]/2);break;case y:t[a]=t[a]+(i[l]/2-s[l]/2)}}return t}function Tt(e,t){var i,s,n,o,r,t=t=void 0===t?{}:t,a=t.placement,a=void 0===a?e.placement:a,l=t.boundary,l=void 0===l?Ne:l,c=t.rootBoundary,c=void 0===c?Ie:c,h=t.elementContext,h=void 0===h?Pe:h,d=t.altBoundary,d=void 0!==d&&d,t=t.padding,t=void 0===t?0:t,t=nt("number"!=typeof t?t:ot(t,S)),u=e.rects.popper,d=e.elements[d?h===Pe?je:Pe:h],l=(i=Ve(d)?d:d.contextElement||O(e.elements.popper),d=c,n="clippingParents"===(c=l)?(o=yt(Ge(n=i)),Ve(s=0<=["absolute","fixed"].indexOf(T(n).position)&&A(n)?Je(n):n)?o.filter(function(e){return Ve(e)&&Qe(e,s)&&"body"!==w(e)}):[]):[].concat(c),o=[].concat(n,[d]),c=o[0],(d=o.reduce(function(e,t){t=Et(i,t);return e.top=C(t.top,e.top),e.right=tt(t.right,e.right),e.bottom=tt(t.bottom,e.bottom),e.left=C(t.left,e.left),e},Et(i,c))).width=d.right-d.left,d.height=d.bottom-d.top,d.x=d.left,d.y=d.top,d),c=Xe(e.elements.reference),d=At({reference:c,element:u,strategy:"absolute",placement:a}),u=wt(Object.assign({},u,d)),d=h===Pe?u:c,f={top:l.top-d.top+t.top,bottom:d.bottom-l.bottom+t.bottom,left:l.left-d.left+t.left,right:d.right-l.right+t.right},u=e.modifiersData.offset;return h===Pe&&u&&(r=u[a],Object.keys(f).forEach(function(e){var t=0<=[x,L].indexOf(e)?1:-1,i=0<=[k,L].indexOf(e)?"y":"x";f[e]+=r[i]*t})),f}var Ot={name:"flip",enabled:!0,phase:"main",fn:function(e){var d=e.state,t=e.options,e=e.name;if(!d.modifiersData[e]._skip){for(var i=t.mainAxis,s=void 0===i||i,i=t.altAxis,n=void 0===i||i,i=t.fallbackPlacements,u=t.padding,f=t.boundary,p=t.rootBoundary,o=t.altBoundary,r=t.flipVariations,m=void 0===r||r,g=t.allowedAutoPlacements,r=d.options.placement,t=I(r),i=i||(t!==r&&m?I(i=r)===Se?[]:(t=pt(i),[gt(i),t,gt(t)]):[pt(r)]),a=[r].concat(i).reduce(function(e,t){return e.concat(I(t)===Se?(i=d,s=(e=e=void 0===(e={placement:t,boundary:f,rootBoundary:p,padding:u,flipVariations:m,allowedAutoPlacements:g})?{}:e).placement,n=e.boundary,o=e.rootBoundary,r=e.padding,a=e.flipVariations,l=void 0===(e=e.allowedAutoPlacements)?He:e,c=at(s),e=c?a?Me:Me.filter(function(e){return at(e)===c}):S,h=(s=0===(s=e.filter(function(e){return 0<=l.indexOf(e)})).length?e:s).reduce(function(e,t){return e[t]=Tt(i,{placement:t,boundary:n,rootBoundary:o,padding:r})[I(t)],e},{}),Object.keys(h).sort(function(e,t){return h[e]-h[t]})):t);var i,s,n,o,r,a,l,c,h},[]),l=d.rects.reference,c=d.rects.popper,h=new Map,_=!0,v=a[0],b=0;bc[T]&&(A=pt(A)),pt(A)),T=[];if(s&&T.push(O[w]<=0),n&&T.push(O[A]<=0,O[E]<=0),T.every(function(e){return e})){v=y,_=!1;break}h.set(y,T)}if(_)for(var C=m?3:1;0m.on(e,"mouseover",q)),this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(Kt),this._element.classList.add(Kt),m.trigger(this._element,"shown.bs.dropdown",e))}hide(){var e;!o(this._element)&&this._isShown(this._menu)&&(e={relatedTarget:this._element},this._completeHide(e))}dispose(){this._popper&&this._popper.destroy(),super.dispose()}update(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}_completeHide(e){m.trigger(this._element,"hide.bs.dropdown",e).defaultPrevented||("ontouchstart"in document.documentElement&&[].concat(...document.body.children).forEach(e=>m.off(e,"mouseover",q)),this._popper&&this._popper.destroy(),this._menu.classList.remove(Kt),this._element.classList.remove(Kt),this._element.setAttribute("aria-expanded","false"),h.removeDataAttribute(this._menu,"popper"),m.trigger(this._element,"hidden.bs.dropdown",e))}_getConfig(e){if(e={...this.constructor.Default,...h.getDataAttributes(this._element),...e},i(Wt,e,this.constructor.DefaultType),"object"!=typeof e.reference||r(e.reference)||"function"==typeof e.reference.getBoundingClientRect)return e;throw new TypeError(Wt.toUpperCase()+': Option "reference" provided type "object" without a required "getBoundingClientRect" method.')}_createPopper(e){if(void 0===Rt)throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");let t=this._element;"parent"===this._config.reference?t=e:r(this._config.reference)?t=s(this._config.reference):"object"==typeof this._config.reference&&(t=this._config.reference);var e=this._getPopperConfig(),i=e.modifiers.find(e=>"applyStyles"===e.name&&!1===e.enabled);this._popper=Bt(t,this._menu,e),i&&h.setDataAttribute(this._menu,"popper","static")}_isShown(e=this._element){return e.classList.contains(Kt)}_getMenuElement(){return p.next(this._element,Yt)[0]}_getPlacement(){var e,t=this._element.parentNode;return t.classList.contains("dropend")?ei:t.classList.contains("dropstart")?ti:(e="end"===getComputedStyle(this._menu).getPropertyValue("--bs-position").trim(),t.classList.contains("dropup")?e?Gt:Qt:e?Jt:Zt)}_detectNavbar(){return null!==this._element.closest(".navbar")}_getOffset(){const t=this._config["offset"];return"string"==typeof t?t.split(",").map(e=>Number.parseInt(e,10)):"function"==typeof t?e=>t(e,this._element):t}_getPopperConfig(){var e={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return"static"===this._config.display&&(e.modifiers=[{name:"applyStyles",enabled:!1}]),{...e,..."function"==typeof this._config.popperConfig?this._config.popperConfig(e):this._config.popperConfig}}_selectMenuItem({key:e,target:t}){var i=p.find(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",this._menu).filter(W);i.length&&$(i,t,e===Ft,!i.includes(t)).focus()}static jQueryInterface(t){return this.each(function(){var e=P.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t]()}})}static clearMenus(i){if(!i||2!==i.button&&("keyup"!==i.type||"Tab"===i.key)){const o=p.find(Xt);for(let e=0,t=o.length;ee+t),this._setElementAttributes(ni,"paddingRight",e=>e+t),this._setElementAttributes(oi,"marginRight",e=>e-t)}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(e,i,s){const n=this.getWidth();this._applyManipulationCallback(e,e=>{var t;e!==this._element&&window.innerWidth>e.clientWidth+n||(this._saveInitialAttribute(e,i),t=window.getComputedStyle(e)[i],e.style[i]=s(Number.parseFloat(t))+"px")})}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,"paddingRight"),this._resetElementAttributes(ni,"paddingRight"),this._resetElementAttributes(oi,"marginRight")}_saveInitialAttribute(e,t){var i=e.style[t];i&&h.setDataAttribute(e,t,i)}_resetElementAttributes(e,i){this._applyManipulationCallback(e,e=>{var t=h.getDataAttribute(e,i);void 0===t?e.style.removeProperty(i):(h.removeDataAttribute(e,i),e.style[i]=t)})}_applyManipulationCallback(e,t){r(e)?t(e):p.find(e,this._element).forEach(t)}isOverflowing(){return 0{l(e)})):l(e)}hide(e){this._config.isVisible?(this._getElement().classList.remove("show"),this._emulateAnimation(()=>{this.dispose(),l(e)})):l(e)}_getElement(){var e;return this._element||((e=document.createElement("div")).className=this._config.className,this._config.isAnimated&&e.classList.add("fade"),this._element=e),this._element}_getConfig(e){return(e={...ai,..."object"==typeof e?e:{}}).rootElement=s(e.rootElement),i("backdrop",e,li),e}_append(){this._isAppended||(this._config.rootElement.append(this._getElement()),m.on(this._getElement(),ci,()=>{l(this._config.clickCallback)}),this._isAppended=!0)}dispose(){this._isAppended&&(m.off(this._element,ci),this._element.remove(),this._isAppended=!1)}_emulateAnimation(e){V(e,this._getElement(),this._config.isAnimated)}}const di={trapElement:null,autofocus:!0},ui={trapElement:"element",autofocus:"boolean"},fi=".bs.focustrap",pi="backward";class mi{constructor(e){this._config=this._getConfig(e),this._isActive=!1,this._lastTabNavDirection=null}activate(){var{trapElement:e,autofocus:t}=this._config;this._isActive||(t&&e.focus(),m.off(document,fi),m.on(document,"focusin.bs.focustrap",e=>this._handleFocusin(e)),m.on(document,"keydown.tab.bs.focustrap",e=>this._handleKeydown(e)),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,m.off(document,fi))}_handleFocusin(e){var e=e["target"],t=this._config["trapElement"];e===document||e===t||t.contains(e)||(0===(e=p.focusableChildren(t)).length?t:this._lastTabNavDirection===pi?e[e.length-1]:e[0]).focus()}_handleKeydown(e){"Tab"===e.key&&(this._lastTabNavDirection=e.shiftKey?pi:"forward")}_getConfig(e){return e={...di,..."object"==typeof e?e:{}},i("focustrap",e,ui),e}}const gi={backdrop:!0,keyboard:!0,focus:!0},_i={backdrop:"(boolean|string)",keyboard:"boolean",focus:"boolean"},vi="hidden.bs.modal",bi="show.bs.modal",yi="resize.bs.modal",wi="click.dismiss.bs.modal",Ei="keydown.dismiss.bs.modal",Ai="mousedown.dismiss.bs.modal",Ti="modal-open",Oi="modal-static";class Ci extends t{constructor(e,t){super(e),this._config=this._getConfig(t),this._dialog=p.findOne(".modal-dialog",this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._ignoreBackdropClick=!1,this._isTransitioning=!1,this._scrollBar=new ri}static get Default(){return gi}static get NAME(){return"modal"}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){this._isShown||this._isTransitioning||m.trigger(this._element,bi,{relatedTarget:e}).defaultPrevented||(this._isShown=!0,this._isAnimated()&&(this._isTransitioning=!0),this._scrollBar.hide(),document.body.classList.add(Ti),this._adjustDialog(),this._setEscapeEvent(),this._setResizeEvent(),m.on(this._dialog,Ai,()=>{m.one(this._element,"mouseup.dismiss.bs.modal",e=>{e.target===this._element&&(this._ignoreBackdropClick=!0)})}),this._showBackdrop(()=>this._showElement(e)))}hide(){var e;!this._isShown||this._isTransitioning||m.trigger(this._element,"hide.bs.modal").defaultPrevented||(this._isShown=!1,(e=this._isAnimated())&&(this._isTransitioning=!0),this._setEscapeEvent(),this._setResizeEvent(),this._focustrap.deactivate(),this._element.classList.remove("show"),m.off(this._element,wi),m.off(this._dialog,Ai),this._queueCallback(()=>this._hideModal(),this._element,e))}dispose(){[window,this._dialog].forEach(e=>m.off(e,".bs.modal")),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new hi({isVisible:Boolean(this._config.backdrop),isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new mi({trapElement:this._element})}_getConfig(e){return e={...gi,...h.getDataAttributes(this._element),..."object"==typeof e?e:{}},i("modal",e,_i),e}_showElement(e){var t=this._isAnimated(),i=p.findOne(".modal-body",this._dialog);this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE||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,i&&(i.scrollTop=0),t&&f(this._element),this._element.classList.add("show"),this._queueCallback(()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,m.trigger(this._element,"shown.bs.modal",{relatedTarget:e})},this._dialog,t)}_setEscapeEvent(){this._isShown?m.on(this._element,Ei,e=>{this._config.keyboard&&"Escape"===e.key?(e.preventDefault(),this.hide()):this._config.keyboard||"Escape"!==e.key||this._triggerBackdropTransition()}):m.off(this._element,Ei)}_setResizeEvent(){this._isShown?m.on(window,yi,()=>this._adjustDialog()):m.off(window,yi)}_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(Ti),this._resetAdjustments(),this._scrollBar.reset(),m.trigger(this._element,vi)})}_showBackdrop(e){m.on(this._element,wi,e=>{this._ignoreBackdropClick?this._ignoreBackdropClick=!1:e.target===e.currentTarget&&(!0===this._config.backdrop?this.hide():"static"===this._config.backdrop&&this._triggerBackdropTransition())}),this._backdrop.show(e)}_isAnimated(){return this._element.classList.contains("fade")}_triggerBackdropTransition(){if(!m.trigger(this._element,"hidePrevented.bs.modal").defaultPrevented){const{classList:e,scrollHeight:t,style:i}=this._element,s=t>document.documentElement.clientHeight;!s&&"hidden"===i.overflowY||e.contains(Oi)||(s||(i.overflowY="hidden"),e.add(Oi),this._queueCallback(()=>{e.remove(Oi),s||this._queueCallback(()=>{i.overflowY=""},this._dialog)},this._dialog),this._element.focus())}}_adjustDialog(){var e=this._element.scrollHeight>document.documentElement.clientHeight,t=this._scrollBar.getWidth(),i=0{e.defaultPrevented||m.one(t,vi,()=>{W(this)&&this.focus()})});e=p.findOne(".modal.show");e&&Ci.getInstance(e).hide(),Ci.getOrCreateInstance(t).toggle(this)}),ce(Ci),e(Ci);const ki="offcanvas",Li={backdrop:!0,keyboard:!0,scroll:!1},xi={backdrop:"boolean",keyboard:"boolean",scroll:"boolean"},Di=".offcanvas.show",Si="hidden.bs.offcanvas";class j extends t{constructor(e,t){super(e),this._config=this._getConfig(t),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get NAME(){return ki}static get Default(){return Li}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){this._isShown||m.trigger(this._element,"show.bs.offcanvas",{relatedTarget:e}).defaultPrevented||(this._isShown=!0,this._element.style.visibility="visible",this._backdrop.show(),this._config.scroll||(new ri).hide(),this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add("show"),this._queueCallback(()=>{this._config.scroll||this._focustrap.activate(),m.trigger(this._element,"shown.bs.offcanvas",{relatedTarget:e})},this._element,!0))}hide(){!this._isShown||m.trigger(this._element,"hide.bs.offcanvas").defaultPrevented||(this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.remove("show"),this._backdrop.hide(),this._queueCallback(()=>{this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._element.style.visibility="hidden",this._config.scroll||(new ri).reset(),m.trigger(this._element,Si)},this._element,!0))}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_getConfig(e){return e={...Li,...h.getDataAttributes(this._element),..."object"==typeof e?e:{}},i(ki,e,xi),e}_initializeBackDrop(){return new hi({className:"offcanvas-backdrop",isVisible:this._config.backdrop,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:()=>this.hide()})}_initializeFocusTrap(){return new mi({trapElement:this._element})}_addEventListeners(){m.on(this._element,"keydown.dismiss.bs.offcanvas",e=>{this._config.keyboard&&"Escape"===e.key&&this.hide()})}static jQueryInterface(t){return this.each(function(){var e=j.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method named "${t}"`);e[t](this)}})}}m.on(document,"click.bs.offcanvas.data-api",'[data-bs-toggle="offcanvas"]',function(e){var t=n(this);["A","AREA"].includes(this.tagName)&&e.preventDefault(),o(this)||(m.one(t,Si,()=>{W(this)&&this.focus()}),(e=p.findOne(Di))&&e!==t&&j.getInstance(e).hide(),j.getOrCreateInstance(t).toggle(this))}),m.on(window,"load.bs.offcanvas.data-api",()=>p.find(Di).forEach(e=>j.getOrCreateInstance(e).show())),ce(j),e(j);const Ni=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),Ii=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^#&/:?]*(?:[#/?]|$))/i,Pi=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[\d+/a-z]+=*$/i;function ji(e,i,s){if(!e.length)return e;if(s&&"function"==typeof s)return s(e);const n=(new window.DOMParser).parseFromString(e,"text/html"),o=[].concat(...n.body.querySelectorAll("*"));for(let e=0,t=o.length;e{((e,t)=>{var i=e.nodeName.toLowerCase();if(t.includes(i))return!Ni.has(i)||Boolean(Ii.test(e.nodeValue)||Pi.test(e.nodeValue));var s=t.filter(e=>e instanceof RegExp);for(let e=0,t=s.length;e
',trigger:"hover focus",title:"",delay:0,html:!1,selector:!1,placement:"top",offset:[0,0],container:!1,fallbackPlacements:["top","right","bottom","left"],boundary:"clippingParents",customClass:"",sanitize:!0,sanitizeFn:null,allowList:{"*":["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:[]},popperConfig:null},zi={HIDE:"hide.bs.tooltip",HIDDEN:"hidden.bs.tooltip",SHOW:"show.bs.tooltip",SHOWN:"shown.bs.tooltip",INSERTED:"inserted.bs.tooltip",CLICK:"click.bs.tooltip",FOCUSIN:"focusin.bs.tooltip",FOCUSOUT:"focusout.bs.tooltip",MOUSEENTER:"mouseenter.bs.tooltip",MOUSELEAVE:"mouseleave.bs.tooltip"},qi="fade",Fi="show",Ui="show",Vi=".tooltip-inner",$i="hide.bs.modal",Ki="hover";class Xi extends t{constructor(e,t){if(void 0===Rt)throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");super(e),this._isEnabled=!0,this._timeout=0,this._hoverState="",this._activeTrigger={},this._popper=null,this._config=this._getConfig(t),this.tip=null,this._setListeners()}static get Default(){return Wi}static get NAME(){return Mi}static get Event(){return zi}static get DefaultType(){return Bi}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(e){this._isEnabled&&(e?((e=this._initializeOnDelegatedTarget(e))._activeTrigger.click=!e._activeTrigger.click,e._isWithActiveTrigger()?e._enter(null,e):e._leave(null,e)):this.getTipElement().classList.contains(Fi)?this._leave(null,this):this._enter(null,this))}dispose(){clearTimeout(this._timeout),m.off(this._element.closest(".modal"),$i,this._hideModalHandler),this.tip&&this.tip.remove(),this._disposePopper(),super.dispose()}show(){if("none"===this._element.style.display)throw new Error("Please use show on visible elements");var e,t,i;this.isWithContent()&&this._isEnabled&&(e=m.trigger(this._element,this.constructor.Event.SHOW),i=(null===(i=z(this._element))?this._element.ownerDocument.documentElement:i).contains(this._element),!e.defaultPrevented)&&i&&("tooltip"===this.constructor.NAME&&this.tip&&this.getTitle()!==this.tip.querySelector(Vi).innerHTML&&(this._disposePopper(),this.tip.remove(),this.tip=null),e=this.getTipElement(),i=(e=>{for(;e+=Math.floor(1e6*Math.random()),document.getElementById(e););return e})(this.constructor.NAME),e.setAttribute("id",i),this._element.setAttribute("aria-describedby",i),this._config.animation&&e.classList.add(qi),i="function"==typeof this._config.placement?this._config.placement.call(this,e,this._element):this._config.placement,i=this._getAttachment(i),t=(this._addAttachmentClass(i),this._config)["container"],le.set(e,this.constructor.DATA_KEY,this),this._element.ownerDocument.documentElement.contains(this.tip)||(t.append(e),m.trigger(this._element,this.constructor.Event.INSERTED)),this._popper?this._popper.update():this._popper=Bt(this._element,e,this._getPopperConfig(i)),e.classList.add(Fi),(t=this._resolvePossibleFunction(this._config.customClass))&&e.classList.add(...t.split(" ")),"ontouchstart"in document.documentElement&&[].concat(...document.body.children).forEach(e=>{m.on(e,"mouseover",q)}),i=this.tip.classList.contains(qi),this._queueCallback(()=>{var e=this._hoverState;this._hoverState=null,m.trigger(this._element,this.constructor.Event.SHOWN),"out"===e&&this._leave(null,this)},this.tip,i))}hide(){if(this._popper){const t=this.getTipElement();var e;m.trigger(this._element,this.constructor.Event.HIDE).defaultPrevented||(t.classList.remove(Fi),"ontouchstart"in document.documentElement&&[].concat(...document.body.children).forEach(e=>m.off(e,"mouseover",q)),this._activeTrigger.click=!1,this._activeTrigger.focus=!1,this._activeTrigger.hover=!1,e=this.tip.classList.contains(qi),this._queueCallback(()=>{this._isWithActiveTrigger()||(this._hoverState!==Ui&&t.remove(),this._cleanTipClass(),this._element.removeAttribute("aria-describedby"),m.trigger(this._element,this.constructor.Event.HIDDEN),this._disposePopper())},this.tip,e),this._hoverState="")}}update(){null!==this._popper&&this._popper.update()}isWithContent(){return Boolean(this.getTitle())}getTipElement(){var e;return this.tip||((e=document.createElement("div")).innerHTML=this._config.template,e=e.children[0],this.setContent(e),e.classList.remove(qi,Fi),this.tip=e),this.tip}setContent(e){this._sanitizeAndSetContent(e,this.getTitle(),Vi)}_sanitizeAndSetContent(e,t,i){i=p.findOne(i,e);t||!i?this.setElementContent(i,t):i.remove()}setElementContent(e,t){if(null!==e)return r(t)?(t=s(t),void(this._config.html?t.parentNode!==e&&(e.innerHTML="",e.append(t)):e.textContent=t.textContent)):void(this._config.html?(this._config.sanitize&&(t=ji(t,this._config.allowList,this._config.sanitizeFn)),e.innerHTML=t):e.textContent=t)}getTitle(){var e=this._element.getAttribute("data-bs-original-title")||this._config.title;return this._resolvePossibleFunction(e)}updateAttachment(e){return"right"===e?"end":"left"===e?"start":e}_initializeOnDelegatedTarget(e,t){return t||this.constructor.getOrCreateInstance(e.delegateTarget,this._getDelegateConfig())}_getOffset(){const t=this._config["offset"];return"string"==typeof t?t.split(",").map(e=>Number.parseInt(e,10)):"function"==typeof t?e=>t(e,this._element):t}_resolvePossibleFunction(e){return"function"==typeof e?e.call(this._element):e}_getPopperConfig(e){e={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:"onChange",enabled:!0,phase:"afterWrite",fn:e=>this._handlePopperPlacementChange(e)}],onFirstUpdate:e=>{e.options.placement!==e.placement&&this._handlePopperPlacementChange(e)}};return{...e,..."function"==typeof this._config.popperConfig?this._config.popperConfig(e):this._config.popperConfig}}_addAttachmentClass(e){this.getTipElement().classList.add(this._getBasicClassPrefix()+"-"+this.updateAttachment(e))}_getAttachment(e){return Ri[e.toUpperCase()]}_setListeners(){this._config.trigger.split(" ").forEach(e=>{var t;"click"===e?m.on(this._element,this.constructor.Event.CLICK,this._config.selector,e=>this.toggle(e)):"manual"!==e&&(t=e===Ki?this.constructor.Event.MOUSEENTER:this.constructor.Event.FOCUSIN,e=e===Ki?this.constructor.Event.MOUSELEAVE:this.constructor.Event.FOCUSOUT,m.on(this._element,t,this._config.selector,e=>this._enter(e)),m.on(this._element,e,this._config.selector,e=>this._leave(e)))}),this._hideModalHandler=()=>{this._element&&this.hide()},m.on(this._element.closest(".modal"),$i,this._hideModalHandler),this._config.selector?this._config={...this._config,trigger:"manual",selector:""}:this._fixTitle()}_fixTitle(){var e=this._element.getAttribute("title"),t=typeof this._element.getAttribute("data-bs-original-title");!e&&"string"==t||(this._element.setAttribute("data-bs-original-title",e||""),!e||this._element.getAttribute("aria-label")||this._element.textContent||this._element.setAttribute("aria-label",e),this._element.setAttribute("title",""))}_enter(e,t){t=this._initializeOnDelegatedTarget(e,t),e&&(t._activeTrigger["focusin"===e.type?"focus":Ki]=!0),t.getTipElement().classList.contains(Fi)||t._hoverState===Ui?t._hoverState=Ui:(clearTimeout(t._timeout),t._hoverState=Ui,t._config.delay&&t._config.delay.show?t._timeout=setTimeout(()=>{t._hoverState===Ui&&t.show()},t._config.delay.show):t.show())}_leave(e,t){t=this._initializeOnDelegatedTarget(e,t),e&&(t._activeTrigger["focusout"===e.type?"focus":Ki]=t._element.contains(e.relatedTarget)),t._isWithActiveTrigger()||(clearTimeout(t._timeout),t._hoverState="out",t._config.delay&&t._config.delay.hide?t._timeout=setTimeout(()=>{"out"===t._hoverState&&t.hide()},t._config.delay.hide):t.hide())}_isWithActiveTrigger(){for(const e in this._activeTrigger)if(this._activeTrigger[e])return!0;return!1}_getConfig(e){const t=h.getDataAttributes(this._element);return Object.keys(t).forEach(e=>{Hi.has(e)&&delete t[e]}),(e={...this.constructor.Default,...t,..."object"==typeof e&&e?e:{}}).container=!1===e.container?document.body:s(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()),i(Mi,e,this.constructor.DefaultType),e.sanitize&&(e.template=ji(e.template,e.allowList,e.sanitizeFn)),e}_getDelegateConfig(){var e={};for(const t in this._config)this.constructor.Default[t]!==this._config[t]&&(e[t]=this._config[t]);return e}_cleanTipClass(){const t=this.getTipElement(),e=new RegExp(`(^|\\s)${this._getBasicClassPrefix()}\\S+`,"g"),i=t.getAttribute("class").match(e);null!==i&&0e.trim()).forEach(e=>t.classList.remove(e))}_getBasicClassPrefix(){return"bs-tooltip"}_handlePopperPlacementChange(e){e=e.state;e&&(this.tip=e.elements.popper,this._cleanTipClass(),this._addAttachmentClass(this._getAttachment(e.placement)))}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null)}static jQueryInterface(t){return this.each(function(){var e=Xi.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t]()}})}}e(Xi);const Yi={...Xi.Default,placement:"right",offset:[0,8],trigger:"click",content:"",template:''},Qi={...Xi.DefaultType,content:"(string|element|function)"},Gi={HIDE:"hide.bs.popover",HIDDEN:"hidden.bs.popover",SHOW:"show.bs.popover",SHOWN:"shown.bs.popover",INSERTED:"inserted.bs.popover",CLICK:"click.bs.popover",FOCUSIN:"focusin.bs.popover",FOCUSOUT:"focusout.bs.popover",MOUSEENTER:"mouseenter.bs.popover",MOUSELEAVE:"mouseleave.bs.popover"};class Zi extends Xi{static get Default(){return Yi}static get NAME(){return"popover"}static get Event(){return Gi}static get DefaultType(){return Qi}isWithContent(){return this.getTitle()||this._getContent()}setContent(e){this._sanitizeAndSetContent(e,this.getTitle(),".popover-header"),this._sanitizeAndSetContent(e,this._getContent(),".popover-body")}_getContent(){return this._resolvePossibleFunction(this._config.content)}_getBasicClassPrefix(){return"bs-popover"}static jQueryInterface(t){return this.each(function(){var e=Zi.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t]()}})}}e(Zi);const Ji="scrollspy",es={offset:10,method:"auto",target:""},ts={offset:"number",method:"string",target:"(string|element)"},is="active",ss=".nav-link, .list-group-item, .dropdown-item",ns="position";class os extends t{constructor(e,t){super(e),this._scrollElement="BODY"===this._element.tagName?window:this._element,this._config=this._getConfig(t),this._offsets=[],this._targets=[],this._activeTarget=null,this._scrollHeight=0,m.on(this._scrollElement,"scroll.bs.scrollspy",()=>this._process()),this.refresh(),this._process()}static get Default(){return es}static get NAME(){return Ji}refresh(){const e=this._scrollElement===this._scrollElement.window?"offset":ns,s="auto"===this._config.method?e:this._config.method,n=s===ns?this._getScrollTop():0;this._offsets=[],this._targets=[],this._scrollHeight=this._getScrollHeight(),p.find(ss,this._config.target).map(e=>{var t=B(e),i=t?p.findOne(t):null;if(i){const e=i.getBoundingClientRect();if(e.width||e.height)return[h[s](i).top+n,t]}return null}).filter(e=>e).sort((e,t)=>e[0]-t[0]).forEach(e=>{this._offsets.push(e[0]),this._targets.push(e[1])})}dispose(){m.off(this._scrollElement,".bs.scrollspy"),super.dispose()}_getConfig(e){return(e={...es,...h.getDataAttributes(this._element),..."object"==typeof e&&e?e:{}}).target=s(e.target)||document.documentElement,i(Ji,e,ts),e}_getScrollTop(){return this._scrollElement===window?this._scrollElement.pageYOffset:this._scrollElement.scrollTop}_getScrollHeight(){return this._scrollElement.scrollHeight||Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)}_getOffsetHeight(){return this._scrollElement===window?window.innerHeight:this._scrollElement.getBoundingClientRect().height}_process(){const t=this._getScrollTop()+this._config.offset,e=this._getScrollHeight(),i=this._config.offset+e-this._getOffsetHeight();if(this._scrollHeight!==e&&this.refresh(),t>=i){const t=this._targets[this._targets.length-1];this._activeTarget!==t&&this._activate(t)}else if(this._activeTarget&&t=this._offsets[e]&&(void 0===this._offsets[e+1]||te+`[data-bs-target="${t}"],${e}[href="${t}"]`),e=p.findOne(e.join(","),this._config.target);e.classList.add(is),e.classList.contains("dropdown-item")?p.findOne(".dropdown-toggle",e.closest(".dropdown")).classList.add(is):p.parents(e,".nav, .list-group").forEach(e=>{p.prev(e,".nav-link, .list-group-item").forEach(e=>e.classList.add(is)),p.prev(e,".nav-item").forEach(e=>{p.children(e,".nav-link").forEach(e=>e.classList.add(is))})}),m.trigger(this._scrollElement,"activate.bs.scrollspy",{relatedTarget:t})}_clear(){p.find(ss,this._config.target).filter(e=>e.classList.contains(is)).forEach(e=>e.classList.remove(is))}static jQueryInterface(t){return this.each(function(){var e=os.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t]()}})}}m.on(window,"load.bs.scrollspy.data-api",()=>{p.find('[data-bs-spy="scroll"]').forEach(e=>new os(e))}),e(os);const rs="active",as=".active",ls=":scope > li > .active";class cs extends t{static get NAME(){return"tab"}show(){if(!this._element.parentNode||this._element.parentNode.nodeType!==Node.ELEMENT_NODE||!this._element.classList.contains(rs)){let e;const i=n(this._element),s=this._element.closest(".nav, .list-group");if(s){const i="UL"===s.nodeName||"OL"===s.nodeName?ls:as;e=(e=p.find(i,s))[e.length-1]}var t=e?m.trigger(e,"hide.bs.tab",{relatedTarget:this._element}):null;m.trigger(this._element,"show.bs.tab",{relatedTarget:e}).defaultPrevented||null!==t&&t.defaultPrevented||(this._activate(this._element,s),t=()=>{m.trigger(e,"hidden.bs.tab",{relatedTarget:this._element}),m.trigger(this._element,"shown.bs.tab",{relatedTarget:e})},i?this._activate(i,i.parentNode,t):t())}}_activate(e,t,i){const s=(!t||"UL"!==t.nodeName&&"OL"!==t.nodeName?p.children(t,as):p.find(ls,t))[0],n=i&&s&&s.classList.contains("fade"),o=()=>this._transitionComplete(e,s,i);s&&n?(s.classList.remove("show"),this._queueCallback(o,e,!0)):o()}_transitionComplete(e,t,i){if(t){t.classList.remove(rs);const e=p.findOne(":scope > .dropdown-menu .active",t.parentNode);e&&e.classList.remove(rs),"tab"===t.getAttribute("role")&&t.setAttribute("aria-selected",!1)}e.classList.add(rs),"tab"===e.getAttribute("role")&&e.setAttribute("aria-selected",!0),f(e),e.classList.contains("fade")&&e.classList.add("show");let s=e.parentNode;if((s=s&&"LI"===s.nodeName?s.parentNode:s)&&s.classList.contains("dropdown-menu")){const t=e.closest(".dropdown");t&&p.find(".dropdown-toggle",t).forEach(e=>e.classList.add(rs)),e.setAttribute("aria-expanded",!0)}i&&i()}static jQueryInterface(t){return this.each(function(){var e=cs.getOrCreateInstance(this);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t]()}})}}m.on(document,"click.bs.tab.data-api",'[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',function(e){["A","AREA"].includes(this.tagName)&&e.preventDefault(),o(this)||cs.getOrCreateInstance(this).show()}),e(cs);const hs="show",ds="showing",us={animation:"boolean",autohide:"boolean",delay:"number"},fs={animation:!0,autohide:!0,delay:5e3};class ps extends t{constructor(e,t){super(e),this._config=this._getConfig(t),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get DefaultType(){return us}static get Default(){return fs}static get NAME(){return"toast"}show(){m.trigger(this._element,"show.bs.toast").defaultPrevented||(this._clearTimeout(),this._config.animation&&this._element.classList.add("fade"),this._element.classList.remove("hide"),f(this._element),this._element.classList.add(hs),this._element.classList.add(ds),this._queueCallback(()=>{this._element.classList.remove(ds),m.trigger(this._element,"shown.bs.toast"),this._maybeScheduleHide()},this._element,this._config.animation))}hide(){!this._element.classList.contains(hs)||m.trigger(this._element,"hide.bs.toast").defaultPrevented||(this._element.classList.add(ds),this._queueCallback(()=>{this._element.classList.add("hide"),this._element.classList.remove(ds),this._element.classList.remove(hs),m.trigger(this._element,"hidden.bs.toast")},this._element,this._config.animation))}dispose(){this._clearTimeout(),this._element.classList.contains(hs)&&this._element.classList.remove(hs),super.dispose()}_getConfig(e){return e={...fs,...h.getDataAttributes(this._element),..."object"==typeof e&&e?e:{}},i("toast",e,this.constructor.DefaultType),e}_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}t?this._clearTimeout():(e=e.relatedTarget,this._element===e||this._element.contains(e)||this._maybeScheduleHide())}_setListeners(){m.on(this._element,"mouseover.bs.toast",e=>this._onInteraction(e,!0)),m.on(this._element,"mouseout.bs.toast",e=>this._onInteraction(e,!1)),m.on(this._element,"focusin.bs.toast",e=>this._onInteraction(e,!0)),m.on(this._element,"focusout.bs.toast",e=>this._onInteraction(e,!1))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(t){return this.each(function(){var e=ps.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t](this)}})}}return ce(ps),e(ps),{Alert:he,Button:ue,Carousel:v,Collapse:b,Dropdown:P,Modal:Ci,Offcanvas:j,Popover:Zi,ScrollSpy:os,Tab:cs,Toast:ps,Tooltip:Xi}}); if("undefined"==typeof jQuery)throw new Error("Bootstrap's JavaScript requires jQuery. jQuery must be included before Bootstrap's JavaScript.");!function(){var t=jQuery.fn.jquery.split(" ")[0].split(".");if(t[0]<2&&t[1]<9||1==t[0]&&9==t[1]&&t[2]<1||4<=t[0])throw new Error("Bootstrap's JavaScript requires at least jQuery v1.9.1 but less than v4.0.0")}(),function(){function T(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var a,L,R,W,Q,U,K,M,B,F,V,Y,z,q,X,Z,G,o,n,J,$,tt,et,nt,it,ot,rt,st,at,lt,ht,ct,dt,ut,ft,_t,gt,r,e,pt,t,mt,vt,yt,s,Et,Tt,Ct,l,It,wt,St,bt,At,h,Dt,Nt,i,Ot,c,kt,jt,Ht,Pt,xt,Lt,Rt,d,u,Wt,Qt,Ut,Kt,Mt,Bt,Ft,Vt,Yt,zt,qt,Xt,Zt,Gt,f,Jt,$t,_,te,ee,ne,g,p,ie,m,oe,re,se,ae,le,he,ce,de,ue,fe,_e,ge,v,pe,me,y,ve,ye,Ee,Te,Ce,Ie,we,Se,be,E,Ae,De,C,Ne,Oe,ke,je,He,Pe,xe,Le,Re,We,I,Qe,Ue,w,Ke,Me,Be,Fe,Ve,Ye,ze,qe,Xe,S="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},b=function(t,e,n){return e&&Je(t.prototype,e),n&&Je(t,n),t},A=(xe=jQuery,Le=!1,Re={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"},We={TRANSITION_END:"bsTransitionEnd",getUID:function(t){for(;t+=~~(1e6*Math.random()),document.getElementById(t););return t},getSelectorFromElement:function(t){var e=t.getAttribute("data-target");return e||(e=t.getAttribute("href")||"",e=/^#[a-z]/i.test(e)?e:null),e},reflow:function(t){return t.offsetHeight},triggerTransitionEnd:function(t){xe(t).trigger(Le.end)},supportsTransitionEnd:function(){return Boolean(Le)},typeCheckConfig:function(t,e,n){for(var i in n)if(n.hasOwnProperty(i)){var o=n[i],r=e[i],s=r&&((s=r)[0]||s).nodeType?"element":{}.toString.call(r).match(/\s([a-zA-Z]+)/)[1].toLowerCase();if(!new RegExp(o).test(s))throw new Error(t.toUpperCase()+': Option "'+i+'" provided type "'+s+'" but expected type "'+o+'".')}var s}},Le=function(){if(!window.QUnit){var t,e=document.createElement("bootstrap");for(t in Re)if(void 0!==e.style[t])return{end:Re[t]}}return!1}(),xe.fn.emulateTransitionEnd=Ge,We.supportsTransitionEnd()&&(xe.event.special[We.TRANSITION_END]={bindType:Le.end,delegateType:Le.end,handle:function(t){if(xe(t.target).is(this))return t.handleObj.handler.apply(this,arguments)}}),We),D=(E=jQuery,Ae="alert",C="."+(De="bs.alert"),Ne=E.fn[Ae],Oe={CLOSE:"close"+C,CLOSED:"closed"+C,CLICK_DATA_API:"click"+C+".data-api"},ke="alert",je="fade",He="show",x.prototype.close=function(t){t=t||this._element;t=this._getRootElement(t);this._triggerCloseEvent(t).isDefaultPrevented()||this._removeElement(t)},x.prototype.dispose=function(){E.removeData(this._element,De),this._element=null},x.prototype._getRootElement=function(t){var e=A.getSelectorFromElement(t),n=!1;return n=(n=e?E(e)[0]:n)||E(t).closest("."+ke)[0]},x.prototype._triggerCloseEvent=function(t){var e=E.Event(Oe.CLOSE);return E(t).trigger(e),e},x.prototype._removeElement=function(e){var n=this;return E(e).removeClass(He),A.supportsTransitionEnd()&&E(e).hasClass(je)?void E(e).one(A.TRANSITION_END,function(t){return n._destroyElement(e,t)}).emulateTransitionEnd(150):void this._destroyElement(e)},x.prototype._destroyElement=function(t){E(t).detach().trigger(Oe.CLOSED).remove()},x._jQueryInterface=function(n){return this.each(function(){var t=E(this),e=t.data(De);e||(e=new x(this),t.data(De,e)),"close"===n&&e[n](this)})},x._handleDismiss=function(e){return function(t){t&&t.preventDefault(),e.close(this)}},b(x,null,[{key:"VERSION",get:function(){return"4.0.0-alpha.6"}}]),Pe=x,E(document).on(Oe.CLICK_DATA_API,'[data-dismiss="alert"]',Pe._handleDismiss(new Pe)),E.fn[Ae]=Pe._jQueryInterface,E.fn[Ae].Constructor=Pe,E.fn[Ae].noConflict=function(){return E.fn[Ae]=Ne,Pe._jQueryInterface},v=jQuery,pe="button",C="."+(me="bs.button"),y=".data-api",ve=v.fn[pe],ye="active",Ee="btn",D='[data-toggle^="button"]',Ce='[data-toggle="buttons"]',Ie="input",we=".active",Se=".btn",C={CLICK_DATA_API:"click"+C+y,FOCUS_BLUR_DATA_API:(Te="focus")+C+y+" blur"+C+y},Ze.prototype.toggle=function(){var t,e=!0,n=v(this._element).closest(Ce)[0];n&&(t=v(this._element).find(Ie)[0])&&("radio"===t.type&&(t.checked&&v(this._element).hasClass(ye)?e=!1:(n=v(n).find(we)[0])&&v(n).removeClass(ye)),e&&(t.checked=!v(this._element).hasClass(ye),v(t).trigger("change")),t.focus()),this._element.setAttribute("aria-pressed",!v(this._element).hasClass(ye)),e&&v(this._element).toggleClass(ye)},Ze.prototype.dispose=function(){v.removeData(this._element,me),this._element=null},Ze._jQueryInterface=function(e){return this.each(function(){var t=v(this).data(me);t||(t=new Ze(this),v(this).data(me,t)),"toggle"===e&&t[e]()})},b(Ze,null,[{key:"VERSION",get:function(){return"4.0.0-alpha.6"}}]),be=Ze,v(document).on(C.CLICK_DATA_API,D,function(t){t.preventDefault();t=t.target;v(t).hasClass(Ee)||(t=v(t).closest(Se)),be._jQueryInterface.call(v(t),"toggle")}).on(C.FOCUS_BLUR_DATA_API,D,function(t){var e=v(t.target).closest(Se)[0];v(e).toggleClass(Te,/^focus(in)?$/.test(t.type))}),v.fn[pe]=be._jQueryInterface,v.fn[pe].Constructor=be,v.fn[pe].noConflict=function(){return v.fn[pe]=ve,be._jQueryInterface},f=jQuery,Jt="carousel",_="."+($t="bs.carousel"),y=".data-api",te=f.fn[Jt],ee={interval:5e3,keyboard:!0,slide:!1,pause:"hover",wrap:!0},ne={interval:"(number|boolean)",keyboard:"boolean",slide:"(boolean|string)",pause:"(string|boolean)",wrap:"boolean"},g={NEXT:"next",PREV:"prev",LEFT:"left",RIGHT:"right"},p={SLIDE:"slide"+_,SLID:"slid"+_,KEYDOWN:"keydown"+_,MOUSEENTER:"mouseenter"+_,MOUSELEAVE:"mouseleave"+_,LOAD_DATA_API:"load"+_+y,CLICK_DATA_API:"click"+_+y},ie="carousel",m="active",oe="slide",re="carousel-item-right",se="carousel-item-left",ae="carousel-item-next",le="carousel-item-prev",he=".active",ce=".active.carousel-item",de=".carousel-item",ue=".carousel-item-next, .carousel-item-prev",fe=".carousel-indicators",y="[data-slide], [data-slide-to]",_e='[data-ride="carousel"]',P.prototype.next=function(){if(this._isSliding)throw new Error("Carousel is sliding");this._slide(g.NEXT)},P.prototype.nextWhenVisible=function(){document.hidden||this.next()},P.prototype.prev=function(){if(this._isSliding)throw new Error("Carousel is sliding");this._slide(g.PREVIOUS)},P.prototype.pause=function(t){t||(this._isPaused=!0),f(this._element).find(ue)[0]&&A.supportsTransitionEnd()&&(A.triggerTransitionEnd(this._element),this.cycle(!0)),clearInterval(this._interval),this._interval=null},P.prototype.cycle=function(t){t||(this._isPaused=!1),this._interval&&(clearInterval(this._interval),this._interval=null),this._config.interval&&!this._isPaused&&(this._interval=setInterval((document.visibilityState?this.nextWhenVisible:this.next).bind(this),this._config.interval))},P.prototype.to=function(t){var e=this,n=(this._activeElement=f(this._element).find(ce)[0],this._getItemIndex(this._activeElement));t>this._items.length-1||t<0||(this._isSliding?f(this._element).one(p.SLID,function(){return e.to(t)}):n===t?(this.pause(),this.cycle()):this._slide(n .show, .card > .collapsing",C='[data-toggle="collapse"]',H.prototype.toggle=function(){u(this._element).hasClass(Ft)?this.hide():this.show()},H.prototype.show=function(){var t,e,n,i,o=this;if(this._isTransitioning)throw new Error("Collapse is transitioning");u(this._element).hasClass(Ft)||(i=t=void 0,(t=this._parent&&!(t=u.makeArray(u(this._parent).find(Zt))).length?null:t)&&(i=u(t).data(Qt))&&i._isTransitioning)||(n=u.Event(Bt.SHOW),u(this._element).trigger(n),n.isDefaultPrevented())||(t&&(H._jQueryInterface.call(u(t),"hide"),i||u(t).data(Qt,null)),e=this._getDimension(),u(this._element).removeClass(Vt).addClass(Yt),this._element.style[e]=0,this._element.setAttribute("aria-expanded",!0),this._triggerArray.length&&u(this._triggerArray).removeClass(zt).attr("aria-expanded",!0),this.setTransitioning(!0),n=function(){u(o._element).removeClass(Yt).addClass(Vt).addClass(Ft),o._element.style[e]="",o.setTransitioning(!1),u(o._element).trigger(Bt.SHOWN)},A.supportsTransitionEnd()?(i="scroll"+(e[0].toUpperCase()+e.slice(1)),u(this._element).one(A.TRANSITION_END,n).emulateTransitionEnd(600),this._element.style[e]=this._element[i]+"px"):n())},H.prototype.hide=function(){var t=this;if(this._isTransitioning)throw new Error("Collapse is transitioning");if(u(this._element).hasClass(Ft)){var e,n=u.Event(Bt.HIDE);if(u(this._element).trigger(n),!n.isDefaultPrevented())return e=(n=this._getDimension())===qt?"offsetWidth":"offsetHeight",this._element.style[n]=this._element[e]+"px",A.reflow(this._element),u(this._element).addClass(Yt).removeClass(Vt).removeClass(Ft),this._element.setAttribute("aria-expanded",!1),this._triggerArray.length&&u(this._triggerArray).addClass(zt).attr("aria-expanded",!1),this.setTransitioning(!0),e=function(){t.setTransitioning(!1),u(t._element).removeClass(Yt).addClass(Vt).trigger(Bt.HIDDEN)},this._element.style[n]="",A.supportsTransitionEnd()?void u(this._element).one(A.TRANSITION_END,e).emulateTransitionEnd(600):void e()}},H.prototype.setTransitioning=function(t){this._isTransitioning=t},H.prototype.dispose=function(){u.removeData(this._element,Qt),this._config=null,this._parent=null,this._element=null,this._triggerArray=null,this._isTransitioning=null},H.prototype._getConfig=function(t){return(t=u.extend({},Kt,t)).toggle=Boolean(t.toggle),A.typeCheckConfig(Wt,t,Mt),t},H.prototype._getDimension=function(){return u(this._element).hasClass(qt)?qt:Xt},H.prototype._getParent=function(){var n=this,t=u(this._config.parent)[0],e='[data-toggle="collapse"][data-parent="'+this._config.parent+'"]';return u(t).find(e).each(function(t,e){n._addAriaAndCollapsedClass(H._getTargetFromElement(e),[e])}),t},H.prototype._addAriaAndCollapsedClass=function(t,e){var n;t&&(n=u(t).hasClass(Ft),t.setAttribute("aria-expanded",n),e.length)&&u(e).toggleClass(zt,!n).attr("aria-expanded",n)},H._getTargetFromElement=function(t){t=A.getSelectorFromElement(t);return t?u(t)[0]:null},H._jQueryInterface=function(i){return this.each(function(){var t=u(this),e=t.data(Qt),n=u.extend({},Kt,t.data(),"object"===(void 0===i?"undefined":S(i))&&i);if(!e&&n.toggle&&/show|hide/.test(i)&&(n.toggle=!1),e||(e=new H(this,n),t.data(Qt,e)),"string"==typeof i){if(void 0===e[i])throw new Error('No method named "'+i+'"');e[i]()}})},b(H,null,[{key:"VERSION",get:function(){return"4.0.0-alpha.6"}},{key:"Default",get:function(){return Kt}}]),Gt=H,u(document).on(Bt.CLICK_DATA_API,C,function(t){t.preventDefault();var t=Gt._getTargetFromElement(this),e=u(t).data(Qt)?"toggle":u(this).data();Gt._jQueryInterface.call(u(t),e)}),u.fn[Wt]=Gt._jQueryInterface,u.fn[Wt].Constructor=Gt,u.fn[Wt].noConflict=function(){return u.fn[Wt]=Ut,Gt._jQueryInterface},h=jQuery,Dt="dropdown",i="."+(Nt="bs.dropdown"),D=".data-api",Ot=h.fn[Dt],c={HIDE:"hide"+i,HIDDEN:"hidden"+i,SHOW:"show"+i,SHOWN:"shown"+i,CLICK:"click"+i,CLICK_DATA_API:"click"+i+D,FOCUSIN_DATA_API:"focusin"+i+D,KEYDOWN_DATA_API:"keydown"+i+D},kt="dropdown-backdrop",jt="disabled",Ht="show",Pt=".dropdown-backdrop",xt='[data-toggle="dropdown"]',D=".dropdown form",y='[role="menu"]',C='[role="listbox"]',Lt=".navbar-nav",Rt='[role="menu"] li:not(.disabled) a, [role="listbox"] li:not(.disabled) a',j.prototype.toggle=function(){if(this.disabled||h(this).hasClass(jt))return!1;var t=j._getParentFromElement(this),e=h(t).hasClass(Ht);if(j._clearMenus(),e)return!1;"ontouchstart"in document.documentElement&&!h(t).closest(Lt).length&&((e=document.createElement("div")).className=kt,h(e).insertBefore(this),h(e).on("click",j._clearMenus));var e={relatedTarget:this},n=h.Event(c.SHOW,e);return h(t).trigger(n),!n.isDefaultPrevented()&&(this.focus(),this.setAttribute("aria-expanded",!0),h(t).toggleClass(Ht),h(t).trigger(h.Event(c.SHOWN,e)),!1)},j.prototype.dispose=function(){h.removeData(this._element,Nt),h(this._element).off(i),this._element=null},j.prototype._addEventListeners=function(){h(this._element).on(c.CLICK,this.toggle)},j._jQueryInterface=function(e){return this.each(function(){var t=h(this).data(Nt);if(t||(t=new j(this),h(this).data(Nt,t)),"string"==typeof e){if(void 0===t[e])throw new Error('No method named "'+e+'"');t[e].call(this)}})},j._clearMenus=function(t){if(!t||3!==t.which){var e=h(Pt)[0];e&&e.parentNode.removeChild(e);for(var n=h.makeArray(h(xt)),i=0;idocument.documentElement.clientHeight;!this._isBodyOverflowing&&t&&(this._element.style.paddingLeft=this._scrollbarWidth+"px"),this._isBodyOverflowing&&!t&&(this._element.style.paddingRight=this._scrollbarWidth+"px")},k.prototype._resetAdjustments=function(){this._element.style.paddingLeft="",this._element.style.paddingRight=""},k.prototype._checkScrollbar=function(){this._isBodyOverflowing=document.body.clientWidth=this._offsets[i]&&(void 0===this._offsets[i+1]||t "+ht)).addClass(rt),o(this._scrollElement).trigger(it.ACTIVATE,{relatedTarget:e})},O.prototype._clear=function(){o(this._selector).filter(at).removeClass(rt)},O._jQueryInterface=function(n){return this.each(function(){var t=o(this).data(J),e="object"===(void 0===n?"undefined":S(n))&&n;if(t||(t=new O(this,e),o(this).data(J,t)),"string"==typeof n){if(void 0===t[n])throw new Error('No method named "'+n+'"');t[n]()}})},b(O,null,[{key:"VERSION",get:function(){return"4.0.0-alpha.6"}},{key:"Default",get:function(){return et}}]),gt=O,o(window).on(it.LOAD_DATA_API,function(){for(var t=o.makeArray(o(st)),e=t.length;e--;){var n=o(t[e]);gt._jQueryInterface.call(n,n.data())}}),o.fn[n]=gt._jQueryInterface,o.fn[n].Constructor=gt,o.fn[n].noConflict=function(){return o.fn[n]=tt,gt._jQueryInterface},a=jQuery,C="."+(L="bs.tab"),R=a.fn.tab,W={HIDE:"hide"+C,HIDDEN:"hidden"+C,SHOW:"show"+C,SHOWN:"shown"+C,CLICK_DATA_API:"click"+C+".data-api"},Q="dropdown-menu",U="active",K="disabled",M="fade",B="show",F=".dropdown",V="ul:not(.dropdown-menu), ol:not(.dropdown-menu), nav:not(.dropdown-menu)",Y="> .nav-item .fade, > .fade",z=".active",q="> .nav-item > .active, > .active",C='[data-toggle="tab"], [data-toggle="pill"]',X=".dropdown-toggle",Z="> .dropdown-menu .active",N.prototype.show=function(){var t,n,e,i,o,r,s=this;this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE&&a(this._element).hasClass(U)||a(this._element).hasClass(K)||(n=t=void 0,e=a(this._element).closest(V)[0],i=A.getSelectorFromElement(this._element),e&&(n=(n=a.makeArray(a(e).find(z)))[n.length-1]),o=a.Event(W.HIDE,{relatedTarget:this._element}),r=a.Event(W.SHOW,{relatedTarget:n}),n&&a(n).trigger(o),a(this._element).trigger(r),r.isDefaultPrevented())||o.isDefaultPrevented()||(i&&(t=a(i)[0]),this._activate(this._element,e),r=function(){var t=a.Event(W.HIDDEN,{relatedTarget:s._element}),e=a.Event(W.SHOWN,{relatedTarget:n});a(n).trigger(t),a(s._element).trigger(e)},t?this._activate(t,t.parentNode,r):r())},N.prototype.dispose=function(){a.removeClass(this._element,L),this._element=null},N.prototype._activate=function(t,e,n){function i(){return o._transitionComplete(t,r,s,n)}var o=this,r=a(e).find(q)[0],s=n&&A.supportsTransitionEnd()&&(r&&a(r).hasClass(M)||Boolean(a(e).find(Y)[0]));r&&s?a(r).one(A.TRANSITION_END,i).emulateTransitionEnd(150):i(),r&&a(r).removeClass(B)},N.prototype._transitionComplete=function(t,e,n,i){var o;e&&(a(e).removeClass(U),(o=a(e.parentNode).find(Z)[0])&&a(o).removeClass(U),e.setAttribute("aria-expanded",!1)),a(t).addClass(U),t.setAttribute("aria-expanded",!0),n?(A.reflow(t),a(t).addClass(B)):a(t).removeClass(M),t.parentNode&&a(t.parentNode).hasClass(Q)&&((o=a(t).closest(F)[0])&&a(o).find(X).addClass(U),t.setAttribute("aria-expanded",!0)),i&&i()},N._jQueryInterface=function(n){return this.each(function(){var t=a(this),e=t.data(L);if(e||(e=new N(this),t.data(L,e)),"string"==typeof n){if(void 0===e[n])throw new Error('No method named "'+n+'"');e[n]()}})},b(N,null,[{key:"VERSION",get:function(){return"4.0.0-alpha.6"}}]),G=N,a(document).on(W.CLICK_DATA_API,C,function(t){t.preventDefault(),G._jQueryInterface.call(a(this),"show")}),a.fn.tab=G._jQueryInterface,a.fn.tab.Constructor=G,a.fn.tab.noConflict=function(){return a.fn.tab=R,G._jQueryInterface},function(r){if("undefined"==typeof Tether)throw new Error("Bootstrap tooltips require Tether (http://tether.io/)");var e="tooltip",i="bs.tooltip",t="."+i,n=r.fn[e],o={animation:!0,template:'',trigger:"hover focus",title:"",delay:0,html:!1,selector:!1,placement:"top",offset:"0 0",constraints:[],container:!1},s={animation:"boolean",template:"string",title:"(string|element|function)",trigger:"string",delay:"(number|object)",html:"boolean",selector:"(string|boolean)",placement:"(string|function)",offset:"string",constraints:"array",container:"(string|element|boolean)"},a={TOP:"bottom center",RIGHT:"middle left",BOTTOM:"top center",LEFT:"middle right"},l="show",h="out",c={HIDE:"hide"+t,HIDDEN:"hidden"+t,SHOW:"show"+t,SHOWN:"shown"+t,INSERTED:"inserted"+t,CLICK:"click"+t,FOCUSIN:"focusin"+t,FOCUSOUT:"focusout"+t,MOUSEENTER:"mouseenter"+t,MOUSELEAVE:"mouseleave"+t},d="fade",u="show",f=".tooltip-inner",_={element:!1,enabled:!1},g="hover",p="focus",m="click",v="manual",y=(E.prototype.enable=function(){this._isEnabled=!0},E.prototype.disable=function(){this._isEnabled=!1},E.prototype.toggleEnabled=function(){this._isEnabled=!this._isEnabled},E.prototype.toggle=function(t){var e,n;t?(e=this.constructor.DATA_KEY,(n=r(t.currentTarget).data(e))||(n=new this.constructor(t.currentTarget,this._getDelegateConfig()),r(t.currentTarget).data(e,n)),n._activeTrigger.click=!n._activeTrigger.click,n._isWithActiveTrigger()?n._enter(null,n):n._leave(null,n)):r(this.getTipElement()).hasClass(u)?this._leave(null,this):this._enter(null,this)},E.prototype.dispose=function(){clearTimeout(this._timeout),this.cleanupTether(),r.removeData(this.element,this.constructor.DATA_KEY),r(this.element).off(this.constructor.EVENT_KEY),r(this.element).closest(".modal").off("hide.bs.modal"),this.tip&&r(this.tip).remove(),this._isEnabled=null,this._timeout=null,this._hoverState=null,this._activeTrigger=null,this._tether=null,this.element=null,this.config=null,this.tip=null},E.prototype.show=function(){var e=this;if("none"===r(this.element).css("display"))throw new Error("Please use show on visible elements");var t=r.Event(this.constructor.Event.SHOW);if(this.isWithContent()&&this._isEnabled){if(this._isTransitioning)throw new Error("Tooltip is transitioning");r(this.element).trigger(t);var n,i=r.contains(this.element.ownerDocument.documentElement,this.element);!t.isDefaultPrevented()&&i&&(t=this.getTipElement(),i=A.getUID(this.constructor.NAME),t.setAttribute("id",i),this.element.setAttribute("aria-describedby",i),this.setContent(),this.config.animation&&r(t).addClass(d),i="function"==typeof this.config.placement?this.config.placement.call(this,t,this.element):this.config.placement,i=this._getAttachment(i),n=!1===this.config.container?document.body:r(this.config.container),r(t).data(this.constructor.DATA_KEY,this).appendTo(n),r(this.element).trigger(this.constructor.Event.INSERTED),this._tether=new Tether({attachment:i,element:t,target:this.element,classes:_,classPrefix:"bs-tether",offset:this.config.offset,constraints:this.config.constraints,addTargetClasses:!1}),A.reflow(t),this._tether.position(),r(t).addClass(u),n=function(){var t=e._hoverState;e._hoverState=null,e._isTransitioning=!1,r(e.element).trigger(e.constructor.Event.SHOWN),t===h&&e._leave(null,e)},A.supportsTransitionEnd()&&r(this.tip).hasClass(d)?(this._isTransitioning=!0,r(this.tip).one(A.TRANSITION_END,n).emulateTransitionEnd(E._TRANSITION_DURATION)):n())}},E.prototype.hide=function(t){var e=this,n=this.getTipElement(),i=r.Event(this.constructor.Event.HIDE);if(this._isTransitioning)throw new Error("Tooltip is transitioning");function o(){e._hoverState!==l&&n.parentNode&&n.parentNode.removeChild(n),e.element.removeAttribute("aria-describedby"),r(e.element).trigger(e.constructor.Event.HIDDEN),e._isTransitioning=!1,e.cleanupTether(),t&&t()}r(this.element).trigger(i),i.isDefaultPrevented()||(r(n).removeClass(u),this._activeTrigger[m]=!1,this._activeTrigger[p]=!1,this._activeTrigger[g]=!1,A.supportsTransitionEnd()&&r(this.tip).hasClass(d)?(this._isTransitioning=!0,r(n).one(A.TRANSITION_END,o).emulateTransitionEnd(150)):o(),this._hoverState="")},E.prototype.isWithContent=function(){return Boolean(this.getTitle())},E.prototype.getTipElement=function(){return this.tip=this.tip||r(this.config.template)[0]},E.prototype.setContent=function(){var t=r(this.getTipElement());this.setElementContent(t.find(f),this.getTitle()),t.removeClass(d+" "+u),this.cleanupTether()},E.prototype.setElementContent=function(t,e){var n=this.config.html;"object"===(void 0===e?"undefined":S(e))&&(e.nodeType||e.jquery)?n?r(e).parent().is(t)||t.empty().append(e):t.text(r(e).text()):t[n?"html":"text"](e)},E.prototype.getTitle=function(){return this.element.getAttribute("data-original-title")||("function"==typeof this.config.title?this.config.title.call(this.element):this.config.title)},E.prototype.cleanupTether=function(){this._tether&&this._tether.destroy()},E.prototype._getAttachment=function(t){return a[t.toUpperCase()]},E.prototype._setListeners=function(){var n=this;this.config.trigger.split(" ").forEach(function(t){var e;"click"===t?r(n.element).on(n.constructor.Event.CLICK,n.config.selector,function(t){return n.toggle(t)}):t!==v&&(e=t===g?n.constructor.Event.MOUSEENTER:n.constructor.Event.FOCUSIN,t=t===g?n.constructor.Event.MOUSELEAVE:n.constructor.Event.FOCUSOUT,r(n.element).on(e,n.config.selector,function(t){return n._enter(t)}).on(t,n.config.selector,function(t){return n._leave(t)})),r(n.element).closest(".modal").on("hide.bs.modal",function(){return n.hide()})}),this.config.selector?this.config=r.extend({},this.config,{trigger:"manual",selector:""}):this._fixTitle()},E.prototype._fixTitle=function(){var t=S(this.element.getAttribute("data-original-title"));!this.element.getAttribute("title")&&"string"===t||(this.element.setAttribute("data-original-title",this.element.getAttribute("title")||""),this.element.setAttribute("title",""))},E.prototype._enter=function(t,e){var n=this.constructor.DATA_KEY;return(e=e||r(t.currentTarget).data(n))||(e=new this.constructor(t.currentTarget,this._getDelegateConfig()),r(t.currentTarget).data(n,e)),t&&(e._activeTrigger["focusin"===t.type?p:g]=!0),r(e.getTipElement()).hasClass(u)||e._hoverState===l?void(e._hoverState=l):(clearTimeout(e._timeout),e._hoverState=l,e.config.delay&&e.config.delay.show?void(e._timeout=setTimeout(function(){e._hoverState===l&&e.show()},e.config.delay.show)):void e.show())},E.prototype._leave=function(t,e){var n=this.constructor.DATA_KEY;if((e=e||r(t.currentTarget).data(n))||(e=new this.constructor(t.currentTarget,this._getDelegateConfig()),r(t.currentTarget).data(n,e)),t&&(e._activeTrigger["focusout"===t.type?p:g]=!1),!e._isWithActiveTrigger())return clearTimeout(e._timeout),e._hoverState=h,e.config.delay&&e.config.delay.hide?void(e._timeout=setTimeout(function(){e._hoverState===h&&e.hide()},e.config.delay.hide)):void e.hide()},E.prototype._isWithActiveTrigger=function(){for(var t in this._activeTrigger)if(this._activeTrigger[t])return!0;return!1},E.prototype._getConfig=function(t){return(t=r.extend({},this.constructor.Default,r(this.element).data(),t)).delay&&"number"==typeof t.delay&&(t.delay={show:t.delay,hide:t.delay}),A.typeCheckConfig(e,t,this.constructor.DefaultType),t},E.prototype._getDelegateConfig=function(){var t={};if(this.config)for(var e in this.config)this.constructor.Default[e]!==this.config[e]&&(t[e]=this.config[e]);return t},E._jQueryInterface=function(n){return this.each(function(){var t=r(this).data(i),e="object"===(void 0===n?"undefined":S(n))&&n;if((t||!/dispose|hide/.test(n))&&(t||(t=new E(this,e),r(this).data(i,t)),"string"==typeof n)){if(void 0===t[n])throw new Error('No method named "'+n+'"');t[n]()}})},b(E,null,[{key:"VERSION",get:function(){return"4.0.0-alpha.6"}},{key:"Default",get:function(){return o}},{key:"NAME",get:function(){return e}},{key:"DATA_KEY",get:function(){return i}},{key:"Event",get:function(){return c}},{key:"EVENT_KEY",get:function(){return t}},{key:"DefaultType",get:function(){return s}}]),E);function E(t,e){T(this,E),this._isEnabled=!0,this._timeout=0,this._hoverState="",this._activeTrigger={},this._isTransitioning=!1,this._tether=null,this.element=t,this.config=this._getConfig(e),this.tip=null,this._setListeners()}return r.fn[e]=y._jQueryInterface,r.fn[e].Constructor=y,r.fn[e].noConflict=function(){return r.fn[e]=n,y._jQueryInterface},y}(jQuery));function N(t){T(this,N),this._element=t}function O(t,e){var n=this;T(this,O),this._element=t,this._scrollElement="BODY"===t.tagName?window:t,this._config=this._getConfig(e),this._selector=this._config.target+" "+ht+","+this._config.target+" "+dt,this._offsets=[],this._targets=[],this._activeTarget=null,this._scrollHeight=0,o(this._scrollElement).on(it.SCROLL,function(t){return n._process(t)}),this.refresh(),this._process()}function k(t,e){T(this,k),this._config=this._getConfig(e),this._element=t,this._dialog=r(t).find(wt)[0],this._backdrop=null,this._isShown=!1,this._isBodyOverflowing=!1,this._ignoreBackdropClick=!1,this._isTransitioning=!1,this._originalBodyPadding=0,this._scrollbarWidth=0}function j(t){T(this,j),this._element=t,this._addEventListeners()}function H(t,e){T(this,H),this._isTransitioning=!1,this._element=t,this._config=this._getConfig(e),this._triggerArray=u.makeArray(u('[data-toggle="collapse"][href="#'+t.id+'"],[data-toggle="collapse"][data-target="#'+t.id+'"]')),this._parent=this._config.parent?this._getParent():null,this._config.parent||this._addAriaAndCollapsedClass(this._element,this._triggerArray),this._config.toggle&&this.toggle()}function P(t,e){T(this,P),this._items=null,this._interval=null,this._activeElement=null,this._isPaused=!1,this._isSliding=!1,this._config=this._getConfig(e),this._element=f(t)[0],this._indicatorsElement=f(this._element).find(fe)[0],this._addEventListeners()}function Ze(t){T(this,Ze),this._element=t}function x(t){T(this,x),this._element=t}function Ge(t){var e=this,n=!1;return xe(this).one(We.TRANSITION_END,function(){n=!0}),setTimeout(function(){n||We.triggerTransitionEnd(e)},t),this}function Je(t,e){for(var n=0;n

'}),Be=I.extend({},D.DefaultType,{content:"(string|element|function)"}),Fe="fade",Ye=".popover-title",ze=".popover-content",qe={HIDE:"hide"+w,HIDDEN:"hidden"+w,SHOW:(Ve="show")+w,SHOWN:"shown"+w,INSERTED:"inserted"+w,CLICK:"click"+w,FOCUSIN:"focusin"+w,FOCUSOUT:"focusout"+w,MOUSEENTER:"mouseenter"+w,MOUSELEAVE:"mouseleave"+w},Xe=function(n){function i(){T(this,i);var t=this,e=n.apply(this,arguments);if(t)return!e||"object"!=typeof e&&"function"!=typeof e?t:e;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}var t=i,e=n;if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);return t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e),i.prototype.isWithContent=function(){return this.getTitle()||this._getContent()},i.prototype.getTipElement=function(){return this.tip=this.tip||I(this.config.template)[0]},i.prototype.setContent=function(){var t=I(this.getTipElement());this.setElementContent(t.find(Ye),this.getTitle()),this.setElementContent(t.find(ze),this._getContent()),t.removeClass(Fe+" "+Ve),this.cleanupTether()},i.prototype._getContent=function(){return this.element.getAttribute("data-content")||("function"==typeof this.config.content?this.config.content.call(this.element):this.config.content)},i._jQueryInterface=function(n){return this.each(function(){var t=I(this).data(Ue),e="object"===(void 0===n?"undefined":S(n))?n:null;if((t||!/destroy|hide/.test(n))&&(t||(t=new i(this,e),I(this).data(Ue,t)),"string"==typeof n)){if(void 0===t[n])throw new Error('No method named "'+n+'"');t[n]()}})},b(i,null,[{key:"VERSION",get:function(){return"4.0.0-alpha.6"}},{key:"Default",get:function(){return Me}},{key:"NAME",get:function(){return Qe}},{key:"DATA_KEY",get:function(){return Ue}},{key:"Event",get:function(){return qe}},{key:"EVENT_KEY",get:function(){return w}},{key:"DefaultType",get:function(){return Be}}]),i}(D),I.fn[Qe]=Xe._jQueryInterface,I.fn[Qe].Constructor=Xe,I.fn[Qe].noConflict=function(){return I.fn[Qe]=Ke,Xe._jQueryInterface}}(); !function(){"use strict";const r=new Date("Decembar 31, 2025 23:59:59").getTime(),u=document.querySelector(".countdown-days .number"),c=document.querySelector(".countdown-hours .number"),m=document.querySelector(".countdown-minutes .number"),a=document.querySelector(".countdown-seconds .number");setInterval(()=>{var e=(new Date).getTime(),e=r-e,n=Math.floor(e/864e5),o=Math.floor(e%864e5/36e5),t=Math.floor(e%36e5/6e4),e=Math.floor(e%6e4/1e3);u&&(u.innerHTML=n),c&&(c.innerHTML=o),m&&(m.innerHTML=t),a&&(a.innerHTML=e)},1e3)}(jQuery); !function(t){"function"==typeof define&&define.amd?define(["jquery"],t):t(jQuery)}(function(x){function s(t,e){var i,s,n,o=t.nodeName.toLowerCase();return"area"===o?(s=(i=t.parentNode).name,!(!t.href||!s||"map"!==i.nodeName.toLowerCase()||!(n=x("img[usemap='#"+s+"']")[0]))&&a(n)):(/input|select|textarea|button|object/.test(o)?!t.disabled:"a"===o&&t.href||e)&&a(t)}function a(t){return x.expr.filters.visible(t)&&!x(t).parents().addBack().filter(function(){return"hidden"===x.css(this,"visibility")}).length}function t(){this._curInst=null,this._keyEvent=!1,this._disabledInputs=[],this._datepickerShowing=!1,this._inDialog=!1,this._mainDivId="ui-datepicker-div",this._inlineClass="ui-datepicker-inline",this._appendClass="ui-datepicker-append",this._triggerClass="ui-datepicker-trigger",this._dialogClass="ui-datepicker-dialog",this._disableClass="ui-datepicker-disabled",this._unselectableClass="ui-datepicker-unselectable",this._currentClass="ui-datepicker-current-day",this._dayOverClass="ui-datepicker-days-cell-over",this.regional=[],this.regional[""]={closeText:"Done",prevText:"Prev",nextText:"Next",currentText:"Today",monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],weekHeader:"Wk",dateFormat:"mm/dd/yy",firstDay:0,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},this._defaults={showOn:"focus",showAnim:"fadeIn",showOptions:{},defaultDate:null,appendText:"",buttonText:"...",buttonImage:"",buttonImageOnly:!1,hideIfNoPrevNext:!1,navigationAsDateFormat:!1,gotoCurrent:!1,changeMonth:!1,changeYear:!1,yearRange:"c-10:c+10",showOtherMonths:!1,selectOtherMonths:!1,showWeek:!1,calculateWeek:this.iso8601Week,shortYearCutoff:"+10",minDate:null,maxDate:null,duration:"fast",beforeShowDay:null,beforeShow:null,onSelect:null,onChangeMonthYear:null,onClose:null,numberOfMonths:1,showCurrentAtPos:0,stepMonths:1,stepBigMonths:12,altField:"",altFormat:"",constrainInput:!0,showButtonPanel:!1,autoSize:!1,disabled:!1},x.extend(this._defaults,this.regional[""]),this.regional.en=x.extend(!0,{},this.regional[""]),this.regional["en-US"]=x.extend(!0,{},this.regional.en),this.dpDiv=i(x("
"))}function i(t){var e="button, .ui-datepicker-prev, .ui-datepicker-next, .ui-datepicker-calendar td a";return t.delegate(e,"mouseout",function(){x(this).removeClass("ui-state-hover"),-1!==this.className.indexOf("ui-datepicker-prev")&&x(this).removeClass("ui-datepicker-prev-hover"),-1!==this.className.indexOf("ui-datepicker-next")&&x(this).removeClass("ui-datepicker-next-hover")}).delegate(e,"mouseover",o)}function o(){x.datepicker._isDisabledDatepicker((v.inline?v.dpDiv.parent():v.input)[0])||(x(this).parents(".ui-datepicker-calendar").find("a").removeClass("ui-state-hover"),x(this).addClass("ui-state-hover"),-1!==this.className.indexOf("ui-datepicker-prev")&&x(this).addClass("ui-datepicker-prev-hover"),-1!==this.className.indexOf("ui-datepicker-next")&&x(this).addClass("ui-datepicker-next-hover"))}function h(t,e){for(var i in x.extend(t,e),e)null==e[i]&&(t[i]=e[i])}function e(e){return function(){var t=this.element.val();e.apply(this,arguments),this._refresh(),t!==this.element.val()&&this._trigger("change")}}x.ui=x.ui||{},x.extend(x.ui,{version:"1.11.2",keyCode:{BACKSPACE:8,COMMA:188,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,LEFT:37,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SPACE:32,TAB:9,UP:38}}),x.fn.extend({scrollParent:function(t){var e=this.css("position"),i="absolute"===e,s=t?/(auto|scroll|hidden)/:/(auto|scroll)/,t=this.parents().filter(function(){var t=x(this);return(!i||"static"!==t.css("position"))&&s.test(t.css("overflow")+t.css("overflow-y")+t.css("overflow-x"))}).eq(0);return"fixed"!==e&&t.length?t:x(this[0].ownerDocument||document)},uniqueId:(O=0,function(){return this.each(function(){this.id||(this.id="ui-id-"+ ++O)})}),removeUniqueId:function(){return this.each(function(){/^ui-id-\d+$/.test(this.id)&&x(this).removeAttr("id")})}}),x.extend(x.expr[":"],{data:x.expr.createPseudo?x.expr.createPseudo(function(e){return function(t){return!!x.data(t,e)}}):function(t,e,i){return!!x.data(t,i[3])},focusable:function(t){return s(t,!isNaN(x.attr(t,"tabindex")))},tabbable:function(t){var e=x.attr(t,"tabindex"),i=isNaN(e);return(i||0<=e)&&s(t,!i)}}),x("").outerWidth(1).jquery||x.each(["Width","Height"],function(t,i){function s(t,e,i,s){return x.each(n,function(){e-=parseFloat(x.css(t,"padding"+this))||0,i&&(e-=parseFloat(x.css(t,"border"+this+"Width"))||0),s&&(e-=parseFloat(x.css(t,"margin"+this))||0)}),e}var n="Width"===i?["Left","Right"]:["Top","Bottom"],o=i.toLowerCase(),a={innerWidth:x.fn.innerWidth,innerHeight:x.fn.innerHeight,outerWidth:x.fn.outerWidth,outerHeight:x.fn.outerHeight};x.fn["inner"+i]=function(t){return void 0===t?a["inner"+i].call(this):this.each(function(){x(this).css(o,s(this,t)+"px")})},x.fn["outer"+i]=function(t,e){return"number"!=typeof t?a["outer"+i].call(this,t):this.each(function(){x(this).css(o,s(this,t,!0,e)+"px")})}}),x.fn.addBack||(x.fn.addBack=function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}),x("").data("a-b","a").removeData("a-b").data("a-b")&&(x.fn.removeData=(r=x.fn.removeData,function(t){return arguments.length?r.call(this,x.camelCase(t)):r.call(this)})),x.ui.ie=!!/msie [\w.]+/.exec(navigator.userAgent.toLowerCase()),x.fn.extend({focus:(W=x.fn.focus,function(e,i){return"number"==typeof e?this.each(function(){var t=this;setTimeout(function(){x(t).focus(),i&&i.call(t)},e)}):W.apply(this,arguments)}),disableSelection:(n="onselectstart"in document.createElement("div")?"selectstart":"mousedown",function(){return this.bind(n+".ui-disableSelection",function(t){t.preventDefault()})}),enableSelection:function(){return this.unbind(".ui-disableSelection")},zIndex:function(t){if(void 0!==t)return this.css("zIndex",t);if(this.length)for(var e,i=x(this[0]);i.length&&i[0]!==document;){if(("absolute"===(e=i.css("position"))||"relative"===e||"fixed"===e)&&(e=parseInt(i.css("zIndex"),10),!isNaN(e))&&0!==e)return e;i=i.parent()}return 0}}),x.ui.plugin={add:function(t,e,i){var s,n=x.ui[t].prototype;for(s in i)n.plugins[s]=n.plugins[s]||[],n.plugins[s].push([e,i[s]])},call:function(t,e,i,s){var n,o=t.plugins[e];if(o&&(s||t.element[0].parentNode&&11!==t.element[0].parentNode.nodeType))for(n=0;o.length>n;n++)t.options[o[n][0]]&&o[n][1].apply(t.element,i)}};var n,W,r,O,F,R=0,L=Array.prototype.slice,l=(x.cleanData=(F=x.cleanData,function(t){for(var e,i,s=0;null!=(i=t[s]);s++)try{(e=x._data(i,"events"))&&e.remove&&x(i).triggerHandler("remove")}catch(t){}F(t)}),x.widget=function(t,i,e){var s,n,o,a,r={},h=t.split(".")[0];return t=t.split(".")[1],s=h+"-"+t,e||(e=i,i=x.Widget),x.expr[":"][s.toLowerCase()]=function(t){return!!x.data(t,s)},x[h]=x[h]||{},n=x[h][t],o=x[h][t]=function(t,e){return this._createWidget?void(arguments.length&&this._createWidget(t,e)):new o(t,e)},x.extend(o,n,{version:e.version,_proto:x.extend({},e),_childConstructors:[]}),(a=new i).options=x.widget.extend({},a.options),x.each(e,function(e,s){return x.isFunction(s)?void(r[e]=function(){var t,e=this._super,i=this._superApply;return this._super=n,this._superApply=o,t=s.apply(this,arguments),this._super=e,this._superApply=i,t}):void(r[e]=s);function n(){return i.prototype[e].apply(this,arguments)}function o(t){return i.prototype[e].apply(this,t)}}),o.prototype=x.widget.extend(a,{widgetEventPrefix:n&&a.widgetEventPrefix||t},r,{constructor:o,namespace:h,widgetName:t,widgetFullName:s}),n?(x.each(n._childConstructors,function(t,e){var i=e.prototype;x.widget(i.namespace+"."+i.widgetName,o,e._proto)}),delete n._childConstructors):i._childConstructors.push(o),x.widget.bridge(t,o),o},x.widget.extend=function(t){for(var e,i,s=L.call(arguments,1),n=0,o=s.length;n",options:{disabled:!1,create:null},_createWidget:function(t,e){e=x(e||this.defaultElement||this)[0],this.element=x(e),this.uuid=R++,this.eventNamespace="."+this.widgetName+this.uuid,this.bindings=x(),this.hoverable=x(),this.focusable=x(),e!==this&&(x.data(e,this.widgetFullName,this),this._on(!0,this.element,{remove:function(t){t.target===e&&this.destroy()}}),this.document=x(e.style?e.ownerDocument:e.document||e),this.window=x(this.document[0].defaultView||this.document[0].parentWindow)),this.options=x.widget.extend({},this.options,this._getCreateOptions(),t),this._create(),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:x.noop,_getCreateEventData:x.noop,_create:x.noop,_init:x.noop,destroy:function(){this._destroy(),this.element.unbind(this.eventNamespace).removeData(this.widgetFullName).removeData(x.camelCase(this.widgetFullName)),this.widget().unbind(this.eventNamespace).removeAttr("aria-disabled").removeClass(this.widgetFullName+"-disabled ui-state-disabled"),this.bindings.unbind(this.eventNamespace),this.hoverable.removeClass("ui-state-hover"),this.focusable.removeClass("ui-state-focus")},_destroy:x.noop,widget:function(){return this.element},option:function(t,e){var i,s,n,o=t;if(0===arguments.length)return x.widget.extend({},this.options);if("string"==typeof t)if(o={},t=(i=t.split(".")).shift(),i.length){for(s=o[t]=x.widget.extend({},this.options[t]),n=0;i.length-1>n;n++)s[i[n]]=s[i[n]]||{},s=s[i[n]];if(t=i.pop(),1===arguments.length)return void 0===s[t]?null:s[t];s[t]=e}else{if(1===arguments.length)return void 0===this.options[t]?null:this.options[t];o[t]=e}return this._setOptions(o),this},_setOptions:function(t){for(var e in t)this._setOption(e,t[e]);return this},_setOption:function(t,e){return this.options[t]=e,"disabled"===t&&(this.widget().toggleClass(this.widgetFullName+"-disabled",!!e),e)&&(this.hoverable.removeClass("ui-state-hover"),this.focusable.removeClass("ui-state-focus")),this},enable:function(){return this._setOptions({disabled:!1})},disable:function(){return this._setOptions({disabled:!0})},_on:function(n,o,t){var a,r=this;"boolean"!=typeof n&&(t=o,o=n,n=!1),t?(o=a=x(o),this.bindings=this.bindings.add(o)):(t=o,o=this.element,a=this.widget()),x.each(t,function(t,e){function i(){return n||!0!==r.options.disabled&&!x(this).hasClass("ui-state-disabled")?("string"==typeof e?r[e]:e).apply(r,arguments):void 0}"string"!=typeof e&&(i.guid=e.guid=e.guid||i.guid||x.guid++);var t=t.match(/^([\w:-]*)\s*(.*)$/),s=t[1]+r.eventNamespace,t=t[2];t?a.delegate(t,s,i):o.bind(s,i)})},_off:function(t,e){e=(e||"").split(" ").join(this.eventNamespace+" ")+this.eventNamespace,t.unbind(e).undelegate(e),this.bindings=x(this.bindings.not(t).get()),this.focusable=x(this.focusable.not(t).get()),this.hoverable=x(this.hoverable.not(t).get())},_delay:function(t,e){var i=this;return setTimeout(function(){return("string"==typeof t?i[t]:t).apply(i,arguments)},e||0)},_hoverable:function(t){this.hoverable=this.hoverable.add(t),this._on(t,{mouseenter:function(t){x(t.currentTarget).addClass("ui-state-hover")},mouseleave:function(t){x(t.currentTarget).removeClass("ui-state-hover")}})},_focusable:function(t){this.focusable=this.focusable.add(t),this._on(t,{focusin:function(t){x(t.currentTarget).addClass("ui-state-focus")},focusout:function(t){x(t.currentTarget).removeClass("ui-state-focus")}})},_trigger:function(t,e,i){var s,n,o=this.options[t];if(i=i||{},(e=x.Event(e)).type=(t===this.widgetEventPrefix?t:this.widgetEventPrefix+t).toLowerCase(),e.target=this.element[0],n=e.originalEvent)for(s in n)s in e||(e[s]=n[s]);return this.element.trigger(e,i),!(x.isFunction(o)&&!1===o.apply(this.element[0],[e].concat(i))||e.isDefaultPrevented())}},x.each({show:"fadeIn",hide:"fadeOut"},function(o,a){x.Widget.prototype["_"+o]=function(e,t,i){var s=(t="string"==typeof t?{effect:t}:t)?!0!==t&&"number"!=typeof t&&t.effect||a:o,n=!x.isEmptyObject(t="number"==typeof(t=t||{})?{duration:t}:t);t.complete=i,t.delay&&e.delay(t.delay),n&&x.effects&&x.effects.effect[s]?e[o](t):s!==o&&e[s]?e[s](t.duration,t.easing,i):e.queue(function(t){x(this)[o](),i&&i.call(e[0]),t()})}}),x.widget,!1);function Y(t,e,i){return[parseFloat(t[0])*(X.test(t[0])?e/100:1),parseFloat(t[1])*(X.test(t[1])?i/100:1)]}function k(t,e){return parseInt(x.css(t,e),10)||0}x(document).mouseup(function(){l=!1}),x.widget("ui.mouse",{version:"1.11.2",options:{cancel:"input,textarea,button,select,option",distance:1,delay:0},_mouseInit:function(){var e=this;this.element.bind("mousedown."+this.widgetName,function(t){return e._mouseDown(t)}).bind("click."+this.widgetName,function(t){return!0===x.data(t.target,e.widgetName+".preventClickEvent")?(x.removeData(t.target,e.widgetName+".preventClickEvent"),t.stopImmediatePropagation(),!1):void 0}),this.started=!1},_mouseDestroy:function(){this.element.unbind("."+this.widgetName),this._mouseMoveDelegate&&this.document.unbind("mousemove."+this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate)},_mouseDown:function(t){var e,i,s;if(!l)return this._mouseMoved=!1,this._mouseStarted&&this._mouseUp(t),i=1===(this._mouseDownEvent=t).which,s=!("string"!=typeof(e=this).options.cancel||!t.target.nodeName)&&x(t.target).closest(this.options.cancel).length,i&&!s&&this._mouseCapture(t)&&(this.mouseDelayMet=!this.options.delay,this.mouseDelayMet||(this._mouseDelayTimer=setTimeout(function(){e.mouseDelayMet=!0},this.options.delay)),this._mouseDistanceMet(t)&&this._mouseDelayMet(t)&&(this._mouseStarted=!1!==this._mouseStart(t),!this._mouseStarted)?t.preventDefault():(!0===x.data(t.target,this.widgetName+".preventClickEvent")&&x.removeData(t.target,this.widgetName+".preventClickEvent"),this._mouseMoveDelegate=function(t){return e._mouseMove(t)},this._mouseUpDelegate=function(t){return e._mouseUp(t)},this.document.bind("mousemove."+this.widgetName,this._mouseMoveDelegate).bind("mouseup."+this.widgetName,this._mouseUpDelegate),t.preventDefault(),l=!0)),!0},_mouseMove:function(t){if(this._mouseMoved){if(x.ui.ie&&(!document.documentMode||document.documentMode<9)&&!t.button)return this._mouseUp(t);if(!t.which)return this._mouseUp(t)}return(t.which||t.button)&&(this._mouseMoved=!0),this._mouseStarted?(this._mouseDrag(t),t.preventDefault()):(this._mouseDistanceMet(t)&&this._mouseDelayMet(t)&&(this._mouseStarted=!1!==this._mouseStart(this._mouseDownEvent,t),this._mouseStarted?this._mouseDrag(t):this._mouseUp(t)),!this._mouseStarted)},_mouseUp:function(t){return this.document.unbind("mousemove."+this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate),this._mouseStarted&&(this._mouseStarted=!1,t.target===this._mouseDownEvent.target&&x.data(t.target,this.widgetName+".preventClickEvent",!0),this._mouseStop(t)),l=!1},_mouseDistanceMet:function(t){return Math.max(Math.abs(this._mouseDownEvent.pageX-t.pageX),Math.abs(this._mouseDownEvent.pageY-t.pageY))>=this.options.distance},_mouseDelayMet:function(){return this.mouseDelayMet},_mouseStart:function(){},_mouseDrag:function(){},_mouseStop:function(){},_mouseCapture:function(){return!0}}),x.ui=x.ui||{};var c,B,C=Math.max,D=Math.abs,q=Math.round,j=/left|center|right/,K=/top|center|bottom/,U=/[\+\-]\d+(\.[\d]+)?%?/,V=/^\w+/,X=/%$/,$=x.fn.position;x.position={scrollbarWidth:function(){var t,e,i;return void 0!==c?c:(i=(e=x("
")).children()[0],x("body").append(e),t=i.offsetWidth,e.css("overflow","scroll"),t===(i=i.offsetWidth)&&(i=e[0].clientWidth),e.remove(),c=t-i)},getScrollInfo:function(t){var e=t.isWindow||t.isDocument?"":t.element.css("overflow-x"),i=t.isWindow||t.isDocument?"":t.element.css("overflow-y"),e="scroll"===e||"auto"===e&&t.widthD(e+i)&&(o.horizontal="center"),fD(s+n)&&(o.vertical="middle"),o.important=C(D(e),D(i))>C(D(s),D(n))?"horizontal":"vertical",u.using.call(this,t,o)}),a.offset(x.extend(l,{using:t}))})},x.ui.position={fit:{left:function(t,e){var i,s=e.within,n=s.isWindow?s.scrollLeft:s.offset.left,s=s.width,o=t.left-e.collisionPosition.marginLeft,a=n-o,r=o+e.collisionWidth-s-n;e.collisionWidth>s?0n?0n)&&(t.left+=r+h+l):0D(s))&&(t.left+=r+h+l)},top:function(t,e){var i=e.within,s=i.offset.top+i.scrollTop,n=i.height,i=i.isWindow?i.scrollTop:i.offset.top,o=t.top-e.collisionPosition.marginTop,a=o-i,o=o+e.collisionHeight-n-i,r="top"===e.my[1]?-e.elemHeight:"bottom"===e.my[1]?e.elemHeight:0,h="top"===e.at[1]?e.targetHeight:"bottom"===e.at[1]?-e.targetHeight:0,l=-2*e.offset[1];a<0?(n=t.top+r+h+l+e.collisionHeight-n-s,t.top+r+h+l>a&&(n<0||D(a)>n)&&(t.top+=r+h+l)):0o)&&(0D(s))&&(t.top+=r+h+l)}},flipfit:{left:function(){x.ui.position.flip.left.apply(this,arguments),x.ui.position.fit.left.apply(this,arguments)},top:function(){x.ui.position.flip.top.apply(this,arguments),x.ui.position.fit.top.apply(this,arguments)}}};var u,d=document.getElementsByTagName("body")[0],p=document.createElement("div"),f=document.createElement(d?"div":"body"),m={visibility:"hidden",width:0,height:0,border:0,margin:0,background:"none"};for(u in d&&x.extend(m,{position:"absolute",left:"-1000px",top:"-1000px"}),m)f.style[u]=m[u];f.appendChild(p),(d=d||document.documentElement).insertBefore(f,d.firstChild),p.style.cssText="position: absolute; left: 10.7432222px;",p=x(p).offset().left,B=10 li > :first-child,> :not(li):even",heightStyle:"auto",icons:{activeHeader:"ui-icon-triangle-1-s",header:"ui-icon-triangle-1-e"},activate:null,beforeActivate:null},hideProps:{borderTopWidth:"hide",borderBottomWidth:"hide",paddingTop:"hide",paddingBottom:"hide",height:"hide"},showProps:{borderTopWidth:"show",borderBottomWidth:"show",paddingTop:"show",paddingBottom:"show",height:"show"},_create:function(){var t=this.options;this.prevShow=this.prevHide=x(),this.element.addClass("ui-faq ui-widget ui-helper-reset").attr("role","tablist"),t.collapsible||!1!==t.active&&null!=t.active||(t.active=0),this._processPanels(),t.active<0&&(t.active+=this.headers.length),this._refresh()},_getCreateEventData:function(){return{header:this.active,panel:this.active.length?this.active.next():x()}},_createIcons:function(){var t=this.options.icons;t&&(x("").addClass("ui-faq-header-icon ui-icon "+t.header).prependTo(this.headers),this.active.children(".ui-faq-header-icon").removeClass(t.header).addClass(t.activeHeader),this.headers.addClass("ui-faq-icons"))},_destroyIcons:function(){this.headers.removeClass("ui-faq-icons").children(".ui-faq-header-icon").remove()},_destroy:function(){var t;this.element.removeClass("ui-faq ui-widget ui-helper-reset").removeAttr("role"),this.headers.removeClass("ui-faq-header ui-faq-header-active ui-state-default ui-corner-all ui-state-active ui-state-disabled ui-corner-top").removeAttr("role").removeAttr("aria-expanded").removeAttr("aria-selected").removeAttr("aria-controls").removeAttr("tabIndex").removeUniqueId(),this._destroyIcons(),t=this.headers.next().removeClass("ui-helper-reset ui-widget-content ui-corner-bottom ui-faq-content ui-faq-content-active ui-state-disabled").css("display","").removeAttr("role").removeAttr("aria-hidden").removeAttr("aria-labelledby").removeUniqueId(),"content"!==this.options.heightStyle&&t.css("height","")},_setOption:function(t,e){return"active"===t?void this._activate(e):("event"===t&&(this.options.event&&this._off(this.headers,this.options.event),this._setupEvents(e)),this._super(t,e),"collapsible"!==t||e||!1!==this.options.active||this._activate(0),"icons"===t&&(this._destroyIcons(),e)&&this._createIcons(),void("disabled"===t&&(this.element.toggleClass("ui-state-disabled",!!e).attr("aria-disabled",e),this.headers.add(this.headers.next()).toggleClass("ui-state-disabled",!!e))))},_keydown:function(t){if(!t.altKey&&!t.ctrlKey){var e=x.ui.keyCode,i=this.headers.length,s=this.headers.index(t.target),n=!1;switch(t.keyCode){case e.RIGHT:case e.DOWN:n=this.headers[(s+1)%i];break;case e.LEFT:case e.UP:n=this.headers[(s-1+i)%i];break;case e.SPACE:case e.ENTER:this._eventHandler(t);break;case e.HOME:n=this.headers[0];break;case e.END:n=this.headers[i-1]}n&&(x(t.target).attr("tabIndex",-1),x(n).attr("tabIndex",0),n.focus(),t.preventDefault())}},_panelKeyDown:function(t){t.keyCode===x.ui.keyCode.UP&&t.ctrlKey&&x(t.currentTarget).prev().focus()},refresh:function(){var t=this.options;this._processPanels(),!1===t.active&&!0===t.collapsible||!this.headers.length?(t.active=!1,this.active=x()):!1===t.active?this._activate(0):this.active.length&&!x.contains(this.element[0],this.active[0])?this.headers.length===this.headers.find(".ui-state-disabled").length?(t.active=!1,this.active=x()):this._activate(Math.max(0,t.active-1)):t.active=this.headers.index(this.active),this._destroyIcons(),this._refresh()},_processPanels:function(){var t=this.headers,e=this.panels;this.headers=this.element.find(this.options.header).addClass("ui-faq-header ui-state-default ui-corner-all"),this.panels=this.headers.next().addClass("ui-faq-content ui-helper-reset ui-widget-content ui-corner-bottom").filter(":not(.ui-faq-content-active)").hide(),e&&(this._off(t.not(this.headers)),this._off(e.not(this.panels)))},_refresh:function(){var i,t=this.options,e=t.heightStyle,s=this.element.parent();this.active=this._findActive(t.active).addClass("ui-faq-header-active ui-state-active ui-corner-top").removeClass("ui-corner-all"),this.active.next().addClass("ui-faq-content-active").show(),this.headers.attr("role","tab").each(function(){var t=x(this),e=t.uniqueId().attr("id"),i=t.next(),s=i.uniqueId().attr("id");t.attr("aria-controls",s),i.attr("aria-labelledby",e)}).next().attr("role","tabpanel"),this.headers.not(this.active).attr({"aria-selected":"false","aria-expanded":"false",tabIndex:-1}).next().attr({"aria-hidden":"true"}).hide(),this.active.length?this.active.attr({"aria-selected":"true","aria-expanded":"true",tabIndex:0}).next().attr({"aria-hidden":"false"}):this.headers.eq(0).attr("tabIndex",0),this._createIcons(),this._setupEvents(t.event),"fill"===e?(i=s.height(),this.element.siblings(":visible").each(function(){var t=x(this),e=t.css("position");"absolute"!==e&&"fixed"!==e&&(i-=t.outerHeight(!0))}),this.headers.each(function(){i-=x(this).outerHeight(!0)}),this.headers.next().each(function(){x(this).height(Math.max(0,i-x(this).innerHeight()+x(this).height()))}).css("overflow","auto")):"auto"===e&&(i=0,this.headers.next().each(function(){i=Math.max(i,x(this).css("height","").height())}).height(i))},_activate:function(t){t=this._findActive(t)[0];t!==this.active[0]&&(t=t||this.active[0],this._eventHandler({target:t,currentTarget:t,preventDefault:x.noop}))},_findActive:function(t){return"number"==typeof t?this.headers.eq(t):x()},_setupEvents:function(t){var i={keydown:"_keydown"};t&&x.each(t.split(" "),function(t,e){i[e]="_eventHandler"}),this._off(this.headers.add(this.headers.next())),this._on(this.headers,i),this._on(this.headers.next(),{keydown:"_panelKeyDown"}),this._hoverable(this.headers),this._focusable(this.headers)},_eventHandler:function(t){var e=this.options,i=this.active,s=x(t.currentTarget),n=s[0]===i[0],o=n&&e.collapsible,a=o?x():s.next(),r=i.next(),r={oldHeader:i,oldPanel:r,newHeader:o?x():s,newPanel:a};t.preventDefault(),n&&!e.collapsible||!1===this._trigger("beforeActivate",t,r)||(e.active=!o&&this.headers.index(s),this.active=n?x():s,this._toggle(r),i.removeClass("ui-faq-header-active ui-state-active"),e.icons&&i.children(".ui-faq-header-icon").removeClass(e.icons.activeHeader).addClass(e.icons.header),n)||(s.removeClass("ui-corner-all").addClass("ui-faq-header-active ui-state-active ui-corner-top"),e.icons&&s.children(".ui-faq-header-icon").removeClass(e.icons.header).addClass(e.icons.activeHeader),s.next().addClass("ui-faq-content-active"))},_toggle:function(t){var e=t.newPanel,i=this.prevShow.length?this.prevShow:t.oldPanel;this.prevShow.add(this.prevHide).stop(!0,!0),this.prevShow=e,this.prevHide=i,this.options.animate?this._animate(e,i,t):(i.hide(),e.show(),this._toggleComplete(t)),i.attr({"aria-hidden":"true"}),i.prev().attr("aria-selected","false"),e.length&&i.length?i.prev().attr({tabIndex:-1,"aria-expanded":"false"}):e.length&&this.headers.filter(function(){return 0===x(this).attr("tabIndex")}).attr("tabIndex",-1),e.attr("aria-hidden","false").prev().attr({"aria-selected":"true",tabIndex:0,"aria-expanded":"true"})},_animate:function(t,i,e){function s(){o._toggleComplete(e)}var n,o=this,a=0,r=t.length&&(!i.length||t.index()",delay:300,options:{icons:{submenu:"ui-icon-carat-1-e"},items:"> *",menus:"ul",position:{my:"left-1 top",at:"right top"},role:"menu",blur:null,focus:null,select:null},_create:function(){this.activeMenu=this.element,this.mouseHandled=!1,this.element.uniqueId().addClass("ui-menu ui-widget ui-widget-content").toggleClass("ui-menu-icons",!!this.element.find(".ui-icon").length).attr({role:this.options.role,tabIndex:0}),this.options.disabled&&this.element.addClass("ui-state-disabled").attr("aria-disabled","true"),this._on({"mousedown .ui-menu-item":function(t){t.preventDefault()},"click .ui-menu-item":function(t){var e=x(t.target);!this.mouseHandled&&e.not(".ui-state-disabled").length&&(this.select(t),t.isPropagationStopped()||(this.mouseHandled=!0),e.has(".ui-menu").length?this.expand(t):!this.element.is(":focus")&&x(this.document[0].activeElement).closest(".ui-menu").length&&(this.element.trigger("focus",[!0]),this.active)&&1===this.active.parents(".ui-menu").length&&clearTimeout(this.timer))},"mouseenter .ui-menu-item":function(t){var e;this.previousFilter||((e=x(t.currentTarget)).siblings(".ui-state-active").removeClass("ui-state-active"),this.focus(t,e))},mouseleave:"collapseAll","mouseleave .ui-menu":"collapseAll",focus:function(t,e){var i=this.active||this.element.find(this.options.items).eq(0);e||this.focus(t,i)},blur:function(t){this._delay(function(){x.contains(this.element[0],this.document[0].activeElement)||this.collapseAll(t)})},keydown:"_keydown"}),this.refresh(),this._on(this.document,{click:function(t){this._closeOnDocumentClick(t)&&this.collapseAll(t),this.mouseHandled=!1}})},_destroy:function(){this.element.removeAttr("aria-activedescendant").find(".ui-menu").addBack().removeClass("ui-menu ui-widget ui-widget-content ui-menu-icons ui-front").removeAttr("role").removeAttr("tabIndex").removeAttr("aria-labelledby").removeAttr("aria-expanded").removeAttr("aria-hidden").removeAttr("aria-disabled").removeUniqueId().show(),this.element.find(".ui-menu-item").removeClass("ui-menu-item").removeAttr("role").removeAttr("aria-disabled").removeUniqueId().removeClass("ui-state-hover").removeAttr("tabIndex").removeAttr("role").removeAttr("aria-haspopup").children().each(function(){var t=x(this);t.data("ui-menu-submenu-carat")&&t.remove()}),this.element.find(".ui-menu-divider").removeClass("ui-menu-divider ui-widget-content")},_keydown:function(t){var e,i,s,n=!0;switch(t.keyCode){case x.ui.keyCode.PAGE_UP:this.previousPage(t);break;case x.ui.keyCode.PAGE_DOWN:this.nextPage(t);break;case x.ui.keyCode.HOME:this._move("first","first",t);break;case x.ui.keyCode.END:this._move("last","last",t);break;case x.ui.keyCode.UP:this.previous(t);break;case x.ui.keyCode.DOWN:this.next(t);break;case x.ui.keyCode.LEFT:this.collapse(t);break;case x.ui.keyCode.RIGHT:this.active&&!this.active.is(".ui-state-disabled")&&this.expand(t);break;case x.ui.keyCode.ENTER:case x.ui.keyCode.SPACE:this._activate(t);break;case x.ui.keyCode.ESCAPE:this.collapse(t);break;default:n=!1,e=this.previousFilter||"",i=String.fromCharCode(t.keyCode),s=!1,clearTimeout(this.filterTimer),i===e?s=!0:i=e+i,e=this._filterMenuItems(i),(e=s&&-1!==e.index(this.active.next())?this.active.nextAll(".ui-menu-item"):e).length||(i=String.fromCharCode(t.keyCode),e=this._filterMenuItems(i)),e.length?(this.focus(t,e),this.previousFilter=i,this.filterTimer=this._delay(function(){delete this.previousFilter},1e3)):delete this.previousFilter}n&&t.preventDefault()},_activate:function(t){this.active.is(".ui-state-disabled")||(this.active.is("[aria-haspopup='true']")?this.expand(t):this.select(t))},refresh:function(){var e=this,s=this.options.icons.submenu,t=this.element.find(this.options.menus);this.element.toggleClass("ui-menu-icons",!!this.element.find(".ui-icon").length),t.filter(":not(.ui-menu)").addClass("ui-menu ui-widget ui-widget-content ui-front").hide().attr({role:this.options.role,"aria-hidden":"true","aria-expanded":"false"}).each(function(){var t=x(this),e=t.parent(),i=x("").addClass("ui-menu-icon ui-icon "+s).data("ui-menu-submenu-carat",!0);e.attr("aria-haspopup","true").prepend(i),t.attr("aria-labelledby",e.attr("id"))}),(t=t.add(this.element).find(this.options.items)).not(".ui-menu-item").each(function(){var t=x(this);e._isDivider(t)&&t.addClass("ui-widget-content ui-menu-divider")}),t.not(".ui-menu-item, .ui-menu-divider").addClass("ui-menu-item").uniqueId().attr({tabIndex:-1,role:this._itemRole()}),t.filter(".ui-state-disabled").attr("aria-disabled","true"),this.active&&!x.contains(this.element[0],this.active[0])&&this.blur()},_itemRole:function(){return{menu:"menuitem",listbox:"option"}[this.options.role]},_setOption:function(t,e){"icons"===t&&this.element.find(".ui-menu-icon").removeClass(this.options.icons.submenu).addClass(e.submenu),"disabled"===t&&this.element.toggleClass("ui-state-disabled",!!e).attr("aria-disabled",e),this._super(t,e)},focus:function(t,e){var i;this.blur(t,t&&"focus"===t.type),this._scrollIntoView(e),this.active=e.first(),i=this.active.addClass("ui-state-focus").removeClass("ui-state-active"),this.options.role&&this.element.attr("aria-activedescendant",i.attr("id")),this.active.parent().closest(".ui-menu-item").addClass("ui-state-active"),t&&"keydown"===t.type?this._close():this.timer=this._delay(function(){this._close()},this.delay),(i=e.children(".ui-menu")).length&&t&&/^mouse/.test(t.type)&&this._startOpening(i),this.activeMenu=e.parent(),this._trigger("focus",t,{item:e})},_scrollIntoView:function(t){var e,i,s;this._hasScroll()&&(e=parseFloat(x.css(this.activeMenu[0],"borderTopWidth"))||0,i=parseFloat(x.css(this.activeMenu[0],"paddingTop"))||0,e=t.offset().top-this.activeMenu.offset().top-e-i,i=this.activeMenu.scrollTop(),s=this.activeMenu.height(),t=t.outerHeight(),e<0?this.activeMenu.scrollTop(i+e):s",options:{appendTo:null,autoFocus:!1,delay:300,minLength:1,position:{my:"left top",at:"left bottom",collision:"none"},source:null,change:null,close:null,focus:null,open:null,response:null,search:null,select:null},requestIndex:0,pending:0,_create:function(){var i,s,n,t=this.element[0].nodeName.toLowerCase(),e="textarea"===t,t="input"===t;this.isMultiLine=e||!t&&this.element.prop("isContentEditable"),this.valueMethod=this.element[e||t?"val":"text"],this.isNewMenu=!0,this.element.addClass("ui-autocomplete-input").attr("autocomplete","off"),this._on(this.element,{keydown:function(t){if(this.element.prop("readOnly"))s=n=i=!0;else{s=n=i=!1;var e=x.ui.keyCode;switch(t.keyCode){case e.PAGE_UP:i=!0,this._move("previousPage",t);break;case e.PAGE_DOWN:i=!0,this._move("nextPage",t);break;case e.UP:i=!0,this._keyEvent("previous",t);break;case e.DOWN:i=!0,this._keyEvent("next",t);break;case e.ENTER:this.menu.active&&(i=!0,t.preventDefault(),this.menu.select(t));break;case e.TAB:this.menu.active&&this.menu.select(t);break;case e.ESCAPE:this.menu.element.is(":visible")&&(this.isMultiLine||this._value(this.term),this.close(t),t.preventDefault());break;default:s=!0,this._searchTimeout(t)}}},keypress:function(t){if(i)i=!1,this.isMultiLine&&!this.menu.element.is(":visible")||t.preventDefault();else if(!s){var e=x.ui.keyCode;switch(t.keyCode){case e.PAGE_UP:this._move("previousPage",t);break;case e.PAGE_DOWN:this._move("nextPage",t);break;case e.UP:this._keyEvent("previous",t);break;case e.DOWN:this._keyEvent("next",t)}}},input:function(t){return n?(n=!1,void t.preventDefault()):void this._searchTimeout(t)},focus:function(){this.selectedItem=null,this.previous=this._value()},blur:function(t){return this.cancelBlur?void delete this.cancelBlur:(clearTimeout(this.searching),this.close(t),void this._change(t))}}),this._initSource(),this.menu=x("
    ").addClass("ui-autocomplete ui-front").appendTo(this._appendTo()).menu({role:null}).hide().menu("instance"),this._on(this.menu.element,{mousedown:function(t){t.preventDefault(),this.cancelBlur=!0,this._delay(function(){delete this.cancelBlur});var i=this.menu.element[0];x(t.target).closest(".ui-menu-item").length||this._delay(function(){var e=this;this.document.one("mousedown",function(t){t.target===e.element[0]||t.target===i||x.contains(i,t.target)||e.close()})})},menufocus:function(t,e){var i;return this.isNewMenu&&(this.isNewMenu=!1,t.originalEvent)&&/^mouse/.test(t.originalEvent.type)?(this.menu.blur(),void this.document.one("mousemove",function(){x(t.target).trigger(t.originalEvent)})):(i=e.item.data("ui-autocomplete-item"),!1!==this._trigger("focus",t,{item:i})&&t.originalEvent&&/^key/.test(t.originalEvent.type)&&this._value(i.value),void((e=e.item.attr("aria-label")||i.value)&&x.trim(e).length&&(this.liveRegion.children().hide(),x("
    ").text(e).appendTo(this.liveRegion))))},menuselect:function(t,e){var i=e.item.data("ui-autocomplete-item"),s=this.previous;this.element[0]!==this.document[0].activeElement&&(this.element.focus(),this.previous=s,this._delay(function(){this.previous=s,this.selectedItem=i})),!1!==this._trigger("select",t,{item:i})&&this._value(i.value),this.term=this._value(),this.close(t),this.selectedItem=i}}),this.liveRegion=x("",{role:"status","aria-live":"assertive","aria-relevant":"additions"}).addClass("ui-helper-hidden-accessible").appendTo(this.document[0].body),this._on(this.window,{beforeunload:function(){this.element.removeAttr("autocomplete")}})},_destroy:function(){clearTimeout(this.searching),this.element.removeClass("ui-autocomplete-input").removeAttr("autocomplete"),this.menu.element.remove(),this.liveRegion.remove()},_setOption:function(t,e){this._super(t,e),"source"===t&&this._initSource(),"appendTo"===t&&this.menu.element.appendTo(this._appendTo()),"disabled"===t&&e&&this.xhr&&this.xhr.abort()},_appendTo:function(){var t=this.options.appendTo;return t=(t=(t=t&&(t.jquery||t.nodeType?x(t):this.document.find(t).eq(0)))&&t[0]?t:this.element.closest(".ui-front")).length?t:this.document[0].body},_initSource:function(){var i,s,n=this;x.isArray(this.options.source)?(i=this.options.source,this.source=function(t,e){e(x.ui.autocomplete.filter(i,t.term))}):"string"==typeof this.options.source?(s=this.options.source,this.source=function(t,e){n.xhr&&n.xhr.abort(),n.xhr=x.ajax({url:s,data:t,dataType:"json",success:function(t){e(t)},error:function(){e([])}})}):this.source=this.options.source},_searchTimeout:function(s){clearTimeout(this.searching),this.searching=this._delay(function(){var t=this.term===this._value(),e=this.menu.element.is(":visible"),i=s.altKey||s.ctrlKey||s.metaKey||s.shiftKey;t&&(e||i)||(this.selectedItem=null,this.search(null,s))},this.options.delay)},search:function(t,e){return t=null!=t?t:this._value(),this.term=this._value(),t.length").text(e.label).appendTo(t)},_move:function(t,e){return this.menu.element.is(":visible")?this.menu.isFirstItem()&&/^previous/.test(t)||this.menu.isLastItem()&&/^next/.test(t)?(this.isMultiLine||this._value(this.term),void this.menu.blur()):void this.menu[t](e):void this.search(null,e)},widget:function(){return this.menu.element},_value:function(){return this.valueMethod.apply(this.element,arguments)},_keyEvent:function(t,e){this.isMultiLine&&!this.menu.element.is(":visible")||(this._move(t,e),e.preventDefault())}}),x.extend(x.ui.autocomplete,{escapeRegex:function(t){return t.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")},filter:function(t,e){var i=RegExp(x.ui.autocomplete.escapeRegex(e),"i");return x.grep(t,function(t){return i.test(t.label||t.value||t)})}}),x.widget("ui.autocomplete",x.ui.autocomplete,{options:{messages:{noResults:"No search results.",results:function(t){return t+(1").text(e).appendTo(this.liveRegion))}}),x.ui.autocomplete;function G(){var t=x(this);setTimeout(function(){t.find(":ui-button").button("refresh")},1)}function Q(t){var e=t.name,i=t.form,s=x([]);return e&&(e=e.replace(/'/g,"\\'"),s=i?x(i).find("[name='"+e+"'][type=radio]"):x("[name='"+e+"'][type=radio]",t.ownerDocument).filter(function(){return!this.form})),s}var g,v,J="ui-button ui-widget ui-state-default ui-corner-all",Z="ui-button-icons-only ui-button-icon-only ui-button-text-icons ui-button-text-icon-primary ui-button-text-icon-secondary ui-button-text-only";function tt(t,e,i){return e<=t&&t",options:{disabled:null,text:!0,label:null,icons:{primary:null,secondary:null}},_create:function(){this.element.closest("form").unbind("reset"+this.eventNamespace).bind("reset"+this.eventNamespace,G),"boolean"!=typeof this.options.disabled?this.options.disabled=!!this.element.prop("disabled"):this.element.prop("disabled",this.options.disabled),this._determineButtonType(),this.hasTitle=!!this.buttonElement.attr("title");var e=this,i=this.options,t="checkbox"===this.type||"radio"===this.type,s=t?"":"ui-state-active";null===i.label&&(i.label="input"===this.type?this.buttonElement.val():this.buttonElement.html()),this._hoverable(this.buttonElement),this.buttonElement.addClass(J).attr("role","button").bind("mouseenter"+this.eventNamespace,function(){i.disabled||this===g&&x(this).addClass("ui-state-active")}).bind("mouseleave"+this.eventNamespace,function(){i.disabled||x(this).removeClass(s)}).bind("click"+this.eventNamespace,function(t){i.disabled&&(t.preventDefault(),t.stopImmediatePropagation())}),this._on({focus:function(){this.buttonElement.addClass("ui-state-focus")},blur:function(){this.buttonElement.removeClass("ui-state-focus")}}),t&&this.element.bind("change"+this.eventNamespace,function(){e.refresh()}),"checkbox"===this.type?this.buttonElement.bind("click"+this.eventNamespace,function(){return!i.disabled&&void 0}):"radio"===this.type?this.buttonElement.bind("click"+this.eventNamespace,function(){if(i.disabled)return!1;x(this).addClass("ui-state-active"),e.buttonElement.attr("aria-pressed","true");var t=e.element[0];Q(t).not(t).map(function(){return x(this).button("widget")[0]}).removeClass("ui-state-active").attr("aria-pressed","false")}):(this.buttonElement.bind("mousedown"+this.eventNamespace,function(){return!i.disabled&&(x(this).addClass("ui-state-active"),g=this,void e.document.one("mouseup",function(){g=null}))}).bind("mouseup"+this.eventNamespace,function(){return!i.disabled&&void x(this).removeClass("ui-state-active")}).bind("keydown"+this.eventNamespace,function(t){return!i.disabled&&void(t.keyCode!==x.ui.keyCode.SPACE&&t.keyCode!==x.ui.keyCode.ENTER||x(this).addClass("ui-state-active"))}).bind("keyup"+this.eventNamespace+" blur"+this.eventNamespace,function(){x(this).removeClass("ui-state-active")}),this.buttonElement.is("a")&&this.buttonElement.keyup(function(t){t.keyCode===x.ui.keyCode.SPACE&&x(this).click()})),this._setOption("disabled",i.disabled),this._resetButton()},_determineButtonType:function(){var t,e;this.type=this.element.is("[type=checkbox]")?"checkbox":this.element.is("[type=radio]")?"radio":this.element.is("input")?"input":"button","checkbox"===this.type||"radio"===this.type?(e=this.element.parents().last(),t="label[for='"+this.element.attr("id")+"']",this.buttonElement=e.find(t),this.buttonElement.length||(e=(e.length?e:this.element).siblings(),this.buttonElement=e.filter(t),this.buttonElement.length)||(this.buttonElement=e.find(t)),this.element.addClass("ui-helper-hidden-accessible"),(e=this.element.is(":checked"))&&this.buttonElement.addClass("ui-state-active"),this.buttonElement.prop("aria-pressed",e)):this.buttonElement=this.element},widget:function(){return this.buttonElement},_destroy:function(){this.element.removeClass("ui-helper-hidden-accessible"),this.buttonElement.removeClass(J+" ui-state-active "+Z).removeAttr("role").removeAttr("aria-pressed").html(this.buttonElement.find(".ui-button-text").html()),this.hasTitle||this.buttonElement.removeAttr("title")},_setOption:function(t,e){return this._super(t,e),"disabled"===t?(this.widget().toggleClass("ui-state-disabled",!!e),this.element.prop("disabled",!!e),void(e&&("checkbox"===this.type||"radio"===this.type?this.buttonElement.removeClass("ui-state-focus"):this.buttonElement.removeClass("ui-state-focus ui-state-active")))):void this._resetButton()},refresh:function(){var t=this.element.is("input, button")?this.element.is(":disabled"):this.element.hasClass("ui-button-disabled");t!==this.options.disabled&&this._setOption("disabled",t),"radio"===this.type?Q(this.element[0]).each(function(){x(this).is(":checked")?x(this).button("widget").addClass("ui-state-active").attr("aria-pressed","true"):x(this).button("widget").removeClass("ui-state-active").attr("aria-pressed","false")}):"checkbox"===this.type&&(this.element.is(":checked")?this.buttonElement.addClass("ui-state-active").attr("aria-pressed","true"):this.buttonElement.removeClass("ui-state-active").attr("aria-pressed","false"))},_resetButton:function(){var t,e,i,s,n;"input"===this.type?this.options.label&&this.element.val(this.options.label):(t=this.buttonElement.removeClass(Z),e=x("",this.document[0]).addClass("ui-button-text").html(this.options.label).appendTo(t.empty()).text(),s=(i=this.options.icons).primary&&i.secondary,n=[],i.primary||i.secondary?(this.options.text&&n.push("ui-button-text-icon"+(s?"s":i.primary?"-primary":"-secondary")),i.primary&&t.prepend(""),i.secondary&&t.append(""),this.options.text||(n.push(s?"ui-button-icons-only":"ui-button-icon-only"),this.hasTitle)||t.attr("title",x.trim(e))):n.push("ui-button-text-only"),t.addClass(n.join(" ")))}}),x.widget("ui.buttonset",{version:"1.11.2",options:{items:"button, input[type=button], input[type=submit], input[type=reset], input[type=checkbox], input[type=radio], a, :data(ui-button)"},_create:function(){this.element.addClass("ui-buttonset")},_init:function(){this.refresh()},_setOption:function(t,e){"disabled"===t&&this.buttons.button("option",t,e),this._super(t,e)},refresh:function(){var t="rtl"===this.element.css("direction"),e=this.element.find(this.options.items),i=e.filter(":ui-button");e.not(":ui-button").button(),i.button("refresh"),this.buttons=e.map(function(){return x(this).button("widget")[0]}).removeClass("ui-corner-all ui-corner-left ui-corner-right").filter(":first").addClass(t?"ui-corner-right":"ui-corner-left").end().filter(":last").addClass(t?"ui-corner-left":"ui-corner-right").end().end()},_destroy:function(){this.element.removeClass("ui-buttonset"),this.buttons.map(function(){return x(this).button("widget")[0]}).removeClass("ui-corner-left ui-corner-right").end().button("destroy")}}),x.ui.button,x.extend(x.ui,{datepicker:{version:"1.11.2"}}),x.extend(t.prototype,{markerClassName:"hasDatepicker",maxRows:4,_widgetDatepicker:function(){return this.dpDiv},setDefaults:function(t){return h(this._defaults,t||{}),this},_attachDatepicker:function(t,e){var i,s=t.nodeName.toLowerCase(),n="div"===s||"span"===s;t.id||(this.uuid+=1,t.id="dp"+this.uuid),(i=this._newInst(x(t),n)).settings=x.extend({},e||{}),"input"===s?this._connectDatepicker(t,i):n&&this._inlineDatepicker(t,i)},_newInst:function(t,e){return{id:t[0].id.replace(/([^A-Za-z0-9_\-])/g,"\\\\$1"),input:t,selectedDay:0,selectedMonth:0,selectedYear:0,drawMonth:0,drawYear:0,inline:e,dpDiv:e?i(x("
    ")):this.dpDiv}},_connectDatepicker:function(t,e){var i=x(t);e.append=x([]),e.trigger=x([]),i.hasClass(this.markerClassName)||(this._attachments(i,e),i.addClass(this.markerClassName).keydown(this._doKeyDown).keypress(this._doKeyPress).keyup(this._doKeyUp),this._autoSize(e),x.data(t,"datepicker",e),e.settings.disabled&&this._disableDatepicker(t))},_attachments:function(t,e){var i,s=this._get(e,"appendText"),n=this._get(e,"isRTL");e.append&&e.append.remove(),s&&(e.append=x(""+s+""),t[n?"before":"after"](e.append)),t.unbind("focus",this._showDatepicker),e.trigger&&e.trigger.remove(),"focus"!==(s=this._get(e,"showOn"))&&"both"!==s||t.focus(this._showDatepicker),"button"!==s&&"both"!==s||(s=this._get(e,"buttonText"),i=this._get(e,"buttonImage"),e.trigger=x(this._get(e,"buttonImageOnly")?x("").addClass(this._triggerClass).attr({src:i,alt:s,title:s}):x("").addClass(this._triggerClass).html(i?x("").attr({src:i,alt:s,title:s}):s)),t[n?"before":"after"](e.trigger),e.trigger.click(function(){return x.datepicker._datepickerShowing&&x.datepicker._lastInput===t[0]?x.datepicker._hideDatepicker():(x.datepicker._datepickerShowing&&x.datepicker._lastInput!==t[0]&&x.datepicker._hideDatepicker(),x.datepicker._showDatepicker(t[0])),!1}))},_autoSize:function(t){var e,i,s,n,o,a;this._get(t,"autoSize")&&!t.inline&&(o=new Date(2009,11,20),(a=this._get(t,"dateFormat")).match(/[DM]/)&&(o.setMonth((e=function(t){for(n=s=i=0;t.length>n;n++)t[n].length>i&&(i=t[n].length,s=n);return s})(this._get(t,a.match(/MM/)?"monthNames":"monthNamesShort"))),o.setDate(e(this._get(t,a.match(/DD/)?"dayNames":"dayNamesShort"))+20-o.getDay())),t.input.attr("size",this._formatDate(t,o).length))},_inlineDatepicker:function(t,e){var i=x(t);i.hasClass(this.markerClassName)||(i.addClass(this.markerClassName).append(e.dpDiv),x.data(t,"datepicker",e),this._setDate(e,this._getDefaultDate(e),!0),this._updateDatepicker(e),this._updateAlternate(e),e.settings.disabled&&this._disableDatepicker(t),e.dpDiv.css("display","block"))},_dialogDatepicker:function(t,e,i,s,n){var o,a=this._dialogInst;return a||(this.uuid+=1,o="dp"+this.uuid,this._dialogInput=x(""),this._dialogInput.keydown(this._doKeyDown),x("body").append(this._dialogInput),(a=this._dialogInst=this._newInst(this._dialogInput,!1)).settings={},x.data(this._dialogInput[0],"datepicker",a)),h(a.settings,s||{}),e=e&&e.constructor===Date?this._formatDate(a,e):e,this._dialogInput.val(e),this._pos=n?n.length?n:[n.pageX,n.pageY]:null,this._pos||(o=document.documentElement.clientWidth,s=document.documentElement.clientHeight,e=document.documentElement.scrollLeft||document.body.scrollLeft,n=document.documentElement.scrollTop||document.body.scrollTop,this._pos=[o/2-100+e,s/2-150+n]),this._dialogInput.css("left",this._pos[0]+20+"px").css("top",this._pos[1]+"px"),a.settings.onSelect=i,this._inDialog=!0,this.dpDiv.addClass(this._dialogClass),this._showDatepicker(this._dialogInput[0]),x.blockUI&&x.blockUI(this.dpDiv),x.data(this._dialogInput[0],"datepicker",a),this},_destroyDatepicker:function(t){var e,i=x(t),s=x.data(t,"datepicker");i.hasClass(this.markerClassName)&&(e=t.nodeName.toLowerCase(),x.removeData(t,"datepicker"),"input"===e?(s.append.remove(),s.trigger.remove(),i.removeClass(this.markerClassName).unbind("focus",this._showDatepicker).unbind("keydown",this._doKeyDown).unbind("keypress",this._doKeyPress).unbind("keyup",this._doKeyUp)):"div"!==e&&"span"!==e||i.removeClass(this.markerClassName).empty())},_enableDatepicker:function(e){var t,i=x(e),s=x.data(e,"datepicker");i.hasClass(this.markerClassName)&&("input"===(t=e.nodeName.toLowerCase())?(e.disabled=!1,s.trigger.filter("button").each(function(){this.disabled=!1}).end().filter("img").css({opacity:"1.0",cursor:""})):"div"!==t&&"span"!==t||((s=i.children("."+this._inlineClass)).children().removeClass("ui-state-disabled"),s.find("select.ui-datepicker-month, select.ui-datepicker-year").prop("disabled",!1)),this._disabledInputs=x.map(this._disabledInputs,function(t){return t===e?null:t}))},_disableDatepicker:function(e){var t,i=x(e),s=x.data(e,"datepicker");i.hasClass(this.markerClassName)&&("input"===(t=e.nodeName.toLowerCase())?(e.disabled=!0,s.trigger.filter("button").each(function(){this.disabled=!0}).end().filter("img").css({opacity:"0.5",cursor:"default"})):"div"!==t&&"span"!==t||((s=i.children("."+this._inlineClass)).children().addClass("ui-state-disabled"),s.find("select.ui-datepicker-month, select.ui-datepicker-year").prop("disabled",!0)),this._disabledInputs=x.map(this._disabledInputs,function(t){return t===e?null:t}),this._disabledInputs[this._disabledInputs.length]=e)},_isDisabledDatepicker:function(t){if(t)for(var e=0;this._disabledInputs.length>e;e++)if(this._disabledInputs[e]===t)return!0;return!1},_getInst:function(t){try{return x.data(t,"datepicker")}catch(t){throw"Missing instance data for this datepicker"}},_optionDatepicker:function(t,e,i){var s,n,o,a,r=this._getInst(t);return 2===arguments.length&&"string"==typeof e?"defaults"===e?x.extend({},x.datepicker._defaults):r?"all"===e?x.extend({},r.settings):this._get(r,e):null:(s=e||{},"string"==typeof e&&((s={})[e]=i),void(r&&(this._curInst===r&&this._hideDatepicker(),n=this._getDateDatepicker(t,!0),o=this._getMinMaxDate(r,"min"),a=this._getMinMaxDate(r,"max"),h(r.settings,s),null!==o&&void 0!==s.dateFormat&&void 0===s.minDate&&(r.settings.minDate=this._formatDate(r,o)),null!==a&&void 0!==s.dateFormat&&void 0===s.maxDate&&(r.settings.maxDate=this._formatDate(r,a)),"disabled"in s&&(s.disabled?this._disableDatepicker(t):this._enableDatepicker(t)),this._attachments(x(t),r),this._autoSize(r),this._setDate(r,n),this._updateAlternate(r),this._updateDatepicker(r))))},_changeDatepicker:function(t,e,i){this._optionDatepicker(t,e,i)},_refreshDatepicker:function(t){t=this._getInst(t);t&&this._updateDatepicker(t)},_setDateDatepicker:function(t,e){t=this._getInst(t);t&&(this._setDate(t,e),this._updateDatepicker(t),this._updateAlternate(t))},_getDateDatepicker:function(t,e){t=this._getInst(t);return t&&!t.inline&&this._setDateFromField(t,e),t?this._getDate(t):null},_doKeyDown:function(t){var e,i,s=x.datepicker._getInst(t.target),n=!0,o=s.dpDiv.is(".ui-datepicker-rtl");if(s._keyEvent=!0,x.datepicker._datepickerShowing)switch(t.keyCode){case 9:x.datepicker._hideDatepicker(),n=!1;break;case 13:return(i=x("td."+x.datepicker._dayOverClass+":not(."+x.datepicker._currentClass+")",s.dpDiv))[0]&&x.datepicker._selectDay(t.target,s.selectedMonth,s.selectedYear,i[0]),(i=x.datepicker._get(s,"onSelect"))?(e=x.datepicker._formatDate(s),i.apply(s.input?s.input[0]:null,[e,s])):x.datepicker._hideDatepicker(),!1;case 27:x.datepicker._hideDatepicker();break;case 33:x.datepicker._adjustDate(t.target,t.ctrlKey?-x.datepicker._get(s,"stepBigMonths"):-x.datepicker._get(s,"stepMonths"),"M");break;case 34:x.datepicker._adjustDate(t.target,t.ctrlKey?+x.datepicker._get(s,"stepBigMonths"):+x.datepicker._get(s,"stepMonths"),"M");break;case 35:(t.ctrlKey||t.metaKey)&&x.datepicker._clearDate(t.target),n=t.ctrlKey||t.metaKey;break;case 36:(t.ctrlKey||t.metaKey)&&x.datepicker._gotoToday(t.target),n=t.ctrlKey||t.metaKey;break;case 37:(t.ctrlKey||t.metaKey)&&x.datepicker._adjustDate(t.target,o?1:-1,"D"),n=t.ctrlKey||t.metaKey,t.originalEvent.altKey&&x.datepicker._adjustDate(t.target,t.ctrlKey?-x.datepicker._get(s,"stepBigMonths"):-x.datepicker._get(s,"stepMonths"),"M");break;case 38:(t.ctrlKey||t.metaKey)&&x.datepicker._adjustDate(t.target,-7,"D"),n=t.ctrlKey||t.metaKey;break;case 39:(t.ctrlKey||t.metaKey)&&x.datepicker._adjustDate(t.target,o?-1:1,"D"),n=t.ctrlKey||t.metaKey,t.originalEvent.altKey&&x.datepicker._adjustDate(t.target,t.ctrlKey?+x.datepicker._get(s,"stepBigMonths"):+x.datepicker._get(s,"stepMonths"),"M");break;case 40:(t.ctrlKey||t.metaKey)&&x.datepicker._adjustDate(t.target,7,"D"),n=t.ctrlKey||t.metaKey;break;default:n=!1}else 36===t.keyCode&&t.ctrlKey?x.datepicker._showDatepicker(this):n=!1;n&&(t.preventDefault(),t.stopPropagation())},_doKeyPress:function(t){var e,i=x.datepicker._getInst(t.target);return x.datepicker._get(i,"constrainInput")?(i=x.datepicker._possibleChars(x.datepicker._get(i,"dateFormat")),e=String.fromCharCode(null==t.charCode?t.keyCode:t.charCode),t.ctrlKey||t.metaKey||e<" "||!i||-1r&&sh&&ny+1&&e.charAt(y+1)===t;return t&&y++,t},y=0;e.length>y;y++)if(_)"'"!==e.charAt(y)||b("'")?o():_=!1;else switch(e.charAt(y)){case"d":g=i("d");break;case"D":s("D",c,u);break;case"o":v=i("o");break;case"m":m=i("m");break;case"M":m=s("M",d,p);break;case"y":f=i("y");break;case"@":f=(r=new Date(i("@"))).getFullYear(),m=r.getMonth()+1,g=r.getDate();break;case"!":f=(r=new Date((i("!")-this._ticksTo1970)/1e4)).getFullYear(),m=r.getMonth()+1,g=r.getDate();break;case"'":b("'")?o():_=!0;break;default:o()}if(n.length>h&&(t=n.substr(h),!/^\s+/.test(t)))throw"Extra/unparsed characters found in date: "+t;if(-1===f?f=(new Date).getFullYear():f<100&&(f+=(new Date).getFullYear()-(new Date).getFullYear()%100+(f<=l?0:-100)),-1s.length;)s="0"+s;return s}function n(t,e,i,s){return(c(t)?s:i)[e]}var o,a=(i?i.dayNamesShort:null)||this._defaults.dayNamesShort,r=(i?i.dayNames:null)||this._defaults.dayNames,h=(i?i.monthNamesShort:null)||this._defaults.monthNamesShort,l=(i?i.monthNames:null)||this._defaults.monthNames,c=function(t){t=e.length>o+1&&e.charAt(o+1)===t;return t&&o++,t},u="",d=!1;if(t)for(o=0;e.length>o;o++)if(d)"'"!==e.charAt(o)||c("'")?u+=e.charAt(o):d=!1;else switch(e.charAt(o)){case"d":u+=s("d",t.getDate(),2);break;case"D":u+=n("D",t.getDay(),a,r);break;case"o":u+=s("o",Math.round((new Date(t.getFullYear(),t.getMonth(),t.getDate()).getTime()-new Date(t.getFullYear(),0,0).getTime())/864e5),3);break;case"m":u+=s("m",t.getMonth()+1,2);break;case"M":u+=n("M",t.getMonth(),h,l);break;case"y":u+=c("y")?t.getFullYear():(t.getYear()%100<10?"0":"")+t.getYear()%100;break;case"@":u+=t.getTime();break;case"!":u+=1e4*t.getTime()+this._ticksTo1970;break;case"'":c("'")?u+="'":d=!0;break;default:u+=e.charAt(o)}return u},_possibleChars:function(e){function t(t){return(t=e.length>n+1&&e.charAt(n+1)===t)&&n++,t}for(var i="",s=!1,n=0;e.length>n;n++)if(s)"'"!==e.charAt(n)||t("'")?i+=e.charAt(n):s=!1;else switch(e.charAt(n)){case"d":case"m":case"y":case"@":i+="0123456789";break;case"D":case"M":return null;case"'":t("'")?i+="'":s=!0;break;default:i+=e.charAt(n)}return i},_get:function(t,e){return(void 0!==t.settings[e]?t.settings:this._defaults)[e]},_setDateFromField:function(t,e){if(t.input.val()!==t.lastVal){var i=this._get(t,"dateFormat"),s=t.lastVal=t.input?t.input.val():null,n=this._getDefaultDate(t),o=n,a=this._getFormatConfig(t);try{o=this.parseDate(i,s,a)||n}catch(t){s=e?"":s}t.selectedDay=o.getDate(),t.drawMonth=t.selectedMonth=o.getMonth(),t.drawYear=t.selectedYear=o.getFullYear(),t.currentDay=s?o.getDate():0,t.currentMonth=s?o.getMonth():0,t.currentYear=s?o.getFullYear():0,this._adjustInstDate(t)}},_getDefaultDate:function(t){return this._restrictMinMax(t,this._determineDate(t,this._get(t,"defaultDate"),new Date))},_determineDate:function(r,t,e){var i,s=null==t||""===t?e:"string"==typeof t?function(t){try{return x.datepicker.parseDate(x.datepicker._get(r,"dateFormat"),t,x.datepicker._getFormatConfig(r))}catch(t){}for(var e=(t.toLowerCase().match(/^c/)?x.datepicker._getDate(r):null)||new Date,i=e.getFullYear(),s=e.getMonth(),n=e.getDate(),o=/([+\-]?[0-9]+)\s*(d|D|w|W|m|M|y|Y)?/g,a=o.exec(t);a;){switch(a[2]||"d"){case"d":case"D":n+=parseInt(a[1],10);break;case"w":case"W":n+=7*parseInt(a[1],10);break;case"m":case"M":s+=parseInt(a[1],10),n=Math.min(n,x.datepicker._getDaysInMonth(i,s));break;case"y":case"Y":i+=parseInt(a[1],10),n=Math.min(n,x.datepicker._getDaysInMonth(i,s))}a=o.exec(t)}return new Date(i,s,n)}(t):"number"==typeof t?isNaN(t)?e:(s=t,(i=new Date).setDate(i.getDate()+s),i):new Date(t.getTime());return(s=s&&"Invalid Date"==""+s?e:s)&&(s.setHours(0),s.setMinutes(0),s.setSeconds(0),s.setMilliseconds(0)),this._daylightSavingAdjust(s)},_daylightSavingAdjust:function(t){return t?(t.setHours(12e;)--N<0&&(N=11,E--);for(t.drawMonth=N,t.drawYear=E,S=this._get(t,"prevText"),S=P?this.formatDate(S,this._daylightSavingAdjust(new Date(E,N-z,1)),this._getFormatConfig(t)):S,i=this._canAdjustMonth(t,-1,E,N)?"
    "+S+"":T?"":""+S+"",S=this._get(t,"nextText"),S=P?this.formatDate(S,this._daylightSavingAdjust(new Date(E,N+z,1)),this._getFormatConfig(t)):S,s=this._canAdjustMonth(t,1,E,N)?""+S+"":T?"":""+S+"",z=this._get(t,"currentText"),T=this._get(t,"gotoCurrent")&&t.currentDay?U:j,z=P?this.formatDate(z,T,this._getFormatConfig(t)):z,S=t.inline?"":"",P=D?"
    "+(I?S:"")+(this._isInRange(t,T)?"":"")+(I?"":S)+"
    ":"",n=parseInt(this._get(t,"firstDay"),10),n=isNaN(n)?0:n,o=this._get(t,"showWeek"),W=this._get(t,"dayNames"),O=this._get(t,"dayNamesMin"),F=this._get(t,"monthNames"),R=this._get(t,"monthNamesShort"),a=this._get(t,"beforeShowDay"),r=this._get(t,"showOtherMonths"),L=this._get(t,"selectOtherMonths"),h=this._getDefaultDate(t),l="",u=0;M[0]>u;u++){for(d="",this.maxRows=4,p=0;M[1]>p;p++){if(f=this._daylightSavingAdjust(new Date(E,N,t.selectedDay)),m=" ui-corner-all",g="",K){if(g+="
    "}for(g+="
    "+(/all|left/.test(m)&&0===u?I?s:i:"")+(/all|right/.test(m)&&0===u?I?i:s:"")+this._generateMonthYearHeader(t,N,E,A,H,0",v=o?"":"",c=0;c<7;c++)v+="";for(g+=v+"",b=this._getDaysInMonth(E,N),E===t.selectedYear&&N===t.selectedMonth&&(t.selectedDay=Math.min(t.selectedDay,b)),_=(this._getFirstDayOfMonth(E,N)-n+7)%7,b=Math.ceil((_+b)/7),y=K&&this.maxRows>b?this.maxRows:b,this.maxRows=y,w=this._daylightSavingAdjust(new Date(E,N,1-_)),B=0;B",q=o?"":"",c=0;c<7;c++)x=a?a.apply(t.input?t.input[0]:null,[w]):[!0,""],C=(k=w.getMonth()!==N)&&!L||!x[0]||A&&w"+(k&&!r?" ":C?""+w.getDate()+"":""+w.getDate()+"")+"",w.setDate(w.getDate()+1),w=this._daylightSavingAdjust(w);g+=q+""}11<++N&&(N=0,E++),d+=g+="
    "+this._get(t,"weekHeader")+""+O[Y]+"
    "+this._get(t,"calculateWeek")(w)+"
    "+(K?"
    "+(0
    ":""):"")}l+=d}return l+=P,t._keyEvent=!1,l},_generateMonthYearHeader:function(t,e,i,s,n,o,a,r){var h,l,c,u,d,p,f,m=this._get(t,"changeMonth"),g=this._get(t,"changeYear"),v=this._get(t,"showMonthAfterYear"),_="
    ",b="";if(o||!m)b+=""+a[e]+"";else{for(h=s&&s.getFullYear()===i,l=n&&n.getFullYear()===i,b+=""}if(v||(_+=b+(!o&&m&&g?"":" ")),!t.yearshtml)if(t.yearshtml="",o||!g)_+=""+i+"";else{for(a=this._get(t,"yearRange").split(":"),u=(new Date).getFullYear(),p=(d=function(t){t=t.match(/c[+\-].*/)?i+parseInt(t.substring(1),10):t.match(/[+\-].*/)?u+parseInt(t,10):parseInt(t,10);return isNaN(t)?u:t})(a[0]),f=Math.max(p,d(a[1]||"")),p=s?Math.max(p,s.getFullYear()):p,f=n?Math.min(f,n.getFullYear()):f,t.yearshtml+="",_+=t.yearshtml,t.yearshtml=null}return _+=this._get(t,"yearSuffix"),v&&(_+=(!o&&m&&g?"":" ")+b),_+"
    "},_adjustInstDate:function(t,e,i){var s=t.drawYear+("Y"===i?e:0),n=t.drawMonth+("M"===i?e:0),e=Math.min(t.selectedDay,this._getDaysInMonth(s,n))+("D"===i?e:0),s=this._restrictMinMax(t,this._daylightSavingAdjust(new Date(s,n,e)));t.selectedDay=s.getDate(),t.drawMonth=t.selectedMonth=s.getMonth(),t.drawYear=t.selectedYear=s.getFullYear(),"M"!==i&&"Y"!==i||this._notifyChange(t)},_restrictMinMax:function(t,e){var i=this._getMinMaxDate(t,"min"),t=this._getMinMaxDate(t,"max"),i=i&&e=s.getTime())&&(!n||e.getTime()<=n.getTime())&&(!o||e.getFullYear()>=o)&&(!a||a>=e.getFullYear())},_getFormatConfig:function(t){var e=this._get(t,"shortYearCutoff");return{shortYearCutoff:"string"!=typeof e?e:(new Date).getFullYear()%100+parseInt(e,10),dayNamesShort:this._get(t,"dayNamesShort"),dayNames:this._get(t,"dayNames"),monthNamesShort:this._get(t,"monthNamesShort"),monthNames:this._get(t,"monthNames")}},_formatDate:function(t,e,i,s){e||(t.currentDay=t.selectedDay,t.currentMonth=t.selectedMonth,t.currentYear=t.selectedYear);s=e?"object"==typeof e?e:this._daylightSavingAdjust(new Date(s,i,e)):this._daylightSavingAdjust(new Date(t.currentYear,t.currentMonth,t.currentDay));return this.formatDate(this._get(t,"dateFormat"),s,this._getFormatConfig(t))}}),x.fn.datepicker=function(t){if(!this.length)return this;x.datepicker.initialized||(x(document).mousedown(x.datepicker._checkExternalClick),x.datepicker.initialized=!0),0===x("#"+x.datepicker._mainDivId).length&&x("body").append(x.datepicker.dpDiv);var e=Array.prototype.slice.call(arguments,1);return"string"==typeof t&&("isDisabled"===t||"getDate"===t||"widget"===t)||"option"===t&&2===arguments.length&&"string"==typeof arguments[1]?x.datepicker["_"+t+"Datepicker"].apply(x.datepicker,[this[0]].concat(e)):this.each(function(){"string"==typeof t?x.datepicker["_"+t+"Datepicker"].apply(x.datepicker,[this].concat(e)):x.datepicker._attachDatepicker(this,t)})},x.datepicker=new t,x.datepicker.initialized=!1,x.datepicker.uuid=(new Date).getTime(),x.datepicker.version="1.11.2",x.datepicker,x.widget("ui.draggable",x.ui.mouse,{version:"1.11.2",widgetEventPrefix:"drag",options:{addClasses:!0,appendTo:"parent",axis:!1,connectToSortable:!1,containment:!1,cursor:"auto",cursorAt:!1,grid:!1,handle:!1,helper:"original",iframeFix:!1,opacity:!1,refreshPositions:!1,revert:!1,revertDuration:500,scope:"default",scroll:!0,scrollSensitivity:20,scrollSpeed:20,snap:!1,snapMode:"both",snapTolerance:20,stack:!1,zIndex:!1,drag:null,start:null,stop:null},_create:function(){"original"===this.options.helper&&this._setPositionRelative(),this.options.addClasses&&this.element.addClass("ui-draggable"),this.options.disabled&&this.element.addClass("ui-draggable-disabled"),this._setHandleClassName(),this._mouseInit()},_setOption:function(t,e){this._super(t,e),"handle"===t&&(this._removeHandleClassName(),this._setHandleClassName())},_destroy:function(){return(this.helper||this.element).is(".ui-draggable-dragging")?void(this.destroyOnClear=!0):(this.element.removeClass("ui-draggable ui-draggable-dragging ui-draggable-disabled"),this._removeHandleClassName(),void this._mouseDestroy())},_mouseCapture:function(t){var e=this.options;return this._blurActiveElement(t),!(this.helper||e.disabled||0").css("position","absolute").appendTo(t.parent()).outerWidth(t.outerWidth()).outerHeight(t.outerHeight()).offset(t.offset())[0]})},_unblockFrames:function(){this.iframeBlocks&&(this.iframeBlocks.remove(),delete this.iframeBlocks)},_blurActiveElement:function(t){var e=this.document[0];if(this.handleElement.is(t.target))try{e.activeElement&&"body"!==e.activeElement.nodeName.toLowerCase()&&x(e.activeElement).blur()}catch(t){}},_mouseStart:function(t){var e=this.options;return this.helper=this._createHelper(t),this.helper.addClass("ui-draggable-dragging"),this._cacheHelperProportions(),x.ui.ddmanager&&(x.ui.ddmanager.current=this),this._cacheMargins(),this.cssPosition=this.helper.css("position"),this.scrollParent=this.helper.scrollParent(!0),this.offsetParent=this.helper.offsetParent(),this.hasFixedAncestor=0i[2]&&(o=i[2]+this.offset.click.left),t.pageY-this.offset.click.top>i[3])&&(a=i[3]+this.offset.click.top),s.grid&&(e=s.grid[1]?this.originalPageY+Math.round((a-this.originalPageY)/s.grid[1])*s.grid[1]:this.originalPageY,a=!i||e-this.offset.click.top>=i[1]||e-this.offset.click.top>i[3]?e:e-this.offset.click.top>=i[1]?e-s.grid[1]:e+s.grid[1],t=s.grid[0]?this.originalPageX+Math.round((o-this.originalPageX)/s.grid[0])*s.grid[0]:this.originalPageX,o=!i||t-this.offset.click.left>=i[0]||t-this.offset.click.left>i[2]?t:t-this.offset.click.left>=i[0]?t-s.grid[0]:t+s.grid[0]),"y"===s.axis&&(o=this.originalPageX),"x"===s.axis)?this.originalPageY:a)-this.offset.click.top-this.offset.relative.top-this.offset.parent.top+("fixed"===this.cssPosition?-this.offset.scroll.top:n?0:this.offset.scroll.top),left:o-this.offset.click.left-this.offset.relative.left-this.offset.parent.left+("fixed"===this.cssPosition?-this.offset.scroll.left:n?0:this.offset.scroll.left)}},_clear:function(){this.helper.removeClass("ui-draggable-dragging"),this.helper[0]===this.element[0]||this.cancelHelperRemoval||this.helper.remove(),this.helper=null,this.cancelHelperRemoval=!1,this.destroyOnClear&&this.destroy()},_normalizeRightBottom:function(){"y"!==this.options.axis&&"auto"!==this.helper.css("right")&&(this.helper.width(this.helper.width()),this.helper.css("right","auto")),"x"!==this.options.axis&&"auto"!==this.helper.css("bottom")&&(this.helper.height(this.helper.height()),this.helper.css("bottom","auto"))},_trigger:function(t,e,i){return i=i||this._uiHash(),x.ui.plugin.call(this,t,[e,i,this],!0),/^(drag|start|stop)/.test(t)&&(this.positionAbs=this._convertPositionTo("absolute"),i.offset=this.positionAbs),x.Widget.prototype._trigger.call(this,t,e,i)},plugins:{},_uiHash:function(){return{helper:this.helper,position:this.position,originalPosition:this.originalPosition,offset:this.positionAbs}}}),x.ui.plugin.add("draggable","connectToSortable",{start:function(e,t,i){var s=x.extend({},t,{item:i.element});i.sortables=[],x(i.options.connectToSortable).each(function(){var t=x(this).sortable("instance");t&&!t.options.disabled&&(i.sortables.push(t),t.refreshPositions(),t._trigger("activate",e,s))})},stop:function(e,t,i){var s=x.extend({},t,{item:i.element});i.cancelHelperRemoval=!1,x.each(i.sortables,function(){var t=this;t.isOver?(t.isOver=0,i.cancelHelperRemoval=!0,t.cancelHelperRemoval=!1,t._storedCSS={position:t.placeholder.css("position"),top:t.placeholder.css("top"),left:t.placeholder.css("left")},t._mouseStop(e),t.options.helper=t.options._helper):(t.cancelHelperRemoval=!0,t._trigger("deactivate",e,s))})},drag:function(i,s,n){x.each(n.sortables,function(){var t=!1,e=this;e.positionAbs=n.positionAbs,e.helperProportions=n.helperProportions,e.offset.click=n.offset.click,e._intersectsWith(e.containerCache)&&(t=!0,x.each(n.sortables,function(){return this.positionAbs=n.positionAbs,this.helperProportions=n.helperProportions,this.offset.click=n.offset.click,t=this!==e&&this._intersectsWith(this.containerCache)&&x.contains(e.element[0],this.element[0])?!1:t})),t?(e.isOver||(e.isOver=1,e.currentItem=s.helper.appendTo(e.element).data("ui-sortable-item",!0),e.options._helper=e.options.helper,e.options.helper=function(){return s.helper[0]},i.target=e.currentItem[0],e._mouseCapture(i,!0),e._mouseStart(i,!0,!0),e.offset.click.top=n.offset.click.top,e.offset.click.left=n.offset.click.left,e.offset.parent.left-=n.offset.parent.left-e.offset.parent.left,e.offset.parent.top-=n.offset.parent.top-e.offset.parent.top,n._trigger("toSortable",i),n.dropped=e.element,x.each(n.sortables,function(){this.refreshPositions()}),n.currentItem=n.element,e.fromOutside=n),e.currentItem&&(e._mouseDrag(i),s.position=e.position)):e.isOver&&(e.isOver=0,e.cancelHelperRemoval=!0,e.options._revert=e.options.revert,e.options.revert=!1,e._trigger("out",i,e._uiHash(e)),e._mouseStop(i,!0),e.options.revert=e.options._revert,e.options.helper=e.options._helper,e.placeholder&&e.placeholder.remove(),n._refreshOffsets(i),s.position=n._generatePosition(i,!0),n._trigger("fromSortable",i),n.dropped=!1,x.each(n.sortables,function(){this.refreshPositions()}))})}}),x.ui.plugin.add("draggable","cursor",{start:function(t,e,i){var s=x("body"),i=i.options;s.css("cursor")&&(i._cursor=s.css("cursor")),s.css("cursor",i.cursor)},stop:function(t,e,i){i=i.options;i._cursor&&x("body").css("cursor",i._cursor)}}),x.ui.plugin.add("draggable","opacity",{start:function(t,e,i){e=x(e.helper),i=i.options;e.css("opacity")&&(i._opacity=e.css("opacity")),e.css("opacity",i.opacity)},stop:function(t,e,i){i=i.options;i._opacity&&x(e.helper).css("opacity",i._opacity)}}),x.ui.plugin.add("draggable","scroll",{start:function(t,e,i){i.scrollParentNotHidden||(i.scrollParentNotHidden=i.helper.scrollParent(!1)),i.scrollParentNotHidden[0]!==i.document[0]&&"HTML"!==i.scrollParentNotHidden[0].tagName&&(i.overflowOffset=i.scrollParentNotHidden.offset())},drag:function(t,e,i){var s=i.options,n=!1,o=i.scrollParentNotHidden[0],a=i.document[0];o!==a&&"HTML"!==o.tagName?(s.axis&&"x"===s.axis||(i.overflowOffset.top+o.offsetHeight-t.pageY=Math.abs(l-v),n=p>=Math.abs(c-g),o=p>=Math.abs(r-m),a=p>=Math.abs(h-f),s&&(e.position.top=i._convertPositionTo("relative",{top:l-i.helperProportions.height,left:0}).top),n&&(e.position.top=i._convertPositionTo("relative",{top:c,left:0}).top),o&&(e.position.left=i._convertPositionTo("relative",{top:0,left:r-i.helperProportions.width}).left),a)&&(e.position.left=i._convertPositionTo("relative",{top:0,left:h}).left),u=s||n||o||a,"outer"!==d.snapMode&&(s=p>=Math.abs(l-g),n=p>=Math.abs(c-v),o=p>=Math.abs(r-f),a=p>=Math.abs(h-m),s&&(e.position.top=i._convertPositionTo("relative",{top:l,left:0}).top),n&&(e.position.top=i._convertPositionTo("relative",{top:c-i.helperProportions.height,left:0}).top),o&&(e.position.left=i._convertPositionTo("relative",{top:0,left:r}).left),a)&&(e.position.left=i._convertPositionTo("relative",{top:0,left:h-i.helperProportions.width}).left),!i.snapElements[_].snapping&&(s||n||o||a||u)&&i.options.snap.snap&&i.options.snap.snap.call(i.element,t,x.extend(i._uiHash(),{snapItem:i.snapElements[_].item})),i.snapElements[_].snapping=s||n||o||a||u)}}),x.ui.plugin.add("draggable","stack",{start:function(t,e,i){var s,i=i.options,i=x.makeArray(x(i.stack)).sort(function(t,e){return(parseInt(x(t).css("zIndex"),10)||0)-(parseInt(x(e).css("zIndex"),10)||0)});i.length&&(s=parseInt(x(i[0]).css("zIndex"),10)||0,x(i).each(function(t){x(this).css("zIndex",s+t)}),this.css("zIndex",s+i.length))}}),x.ui.plugin.add("draggable","zIndex",{start:function(t,e,i){e=x(e.helper),i=i.options;e.css("zIndex")&&(i._zIndex=e.css("zIndex")),e.css("zIndex",i.zIndex)},stop:function(t,e,i){i=i.options;i._zIndex&&x(e.helper).css("zIndex",i._zIndex)}}),x.ui.draggable,x.widget("ui.resizable",x.ui.mouse,{version:"1.11.2",widgetEventPrefix:"resize",options:{alsoResize:!1,animate:!1,animateDuration:"slow",animateEasing:"swing",aspectRatio:!1,autoHide:!1,containment:!1,ghost:!1,grid:!1,handles:"e,s,se",helper:!1,maxHeight:null,maxWidth:null,minHeight:10,minWidth:10,zIndex:90,resize:null,start:null,stop:null},_num:function(t){return parseInt(t,10)||0},_isNumber:function(t){return!isNaN(parseInt(t,10))},_hasScroll:function(t,e){var i;return"hidden"!==x(t).css("overflow")&&(i=!1,0
    ").css({position:this.element.css("position"),width:this.element.outerWidth(),height:this.element.outerHeight(),top:this.element.css("top"),left:this.element.css("left")})),this.element=this.element.parent().data("ui-resizable",this.element.resizable("instance")),this.elementIsWrapper=!0,this.element.css({marginLeft:this.originalElement.css("marginLeft"),marginTop:this.originalElement.css("marginTop"),marginRight:this.originalElement.css("marginRight"),marginBottom:this.originalElement.css("marginBottom")}),this.originalElement.css({marginLeft:0,marginTop:0,marginRight:0,marginBottom:0}),this.originalResizeStyle=this.originalElement.css("resize"),this.originalElement.css("resize","none"),this._proportionallyResizeElements.push(this.originalElement.css({position:"static",zoom:1,display:"block"})),this.originalElement.css({margin:this.originalElement.css("margin")}),this._proportionallyResize()),this.handles=o.handles||(x(".ui-resizable-handle",this.element).length?{n:".ui-resizable-n",e:".ui-resizable-e",s:".ui-resizable-s",w:".ui-resizable-w",se:".ui-resizable-se",sw:".ui-resizable-sw",ne:".ui-resizable-ne",nw:".ui-resizable-nw"}:"e,s,se"),this.handles.constructor===String)for("all"===this.handles&&(this.handles="n,e,s,w,se,sw,ne,nw"),t=this.handles.split(","),this.handles={},e=0;t.length>e;e++)i=x.trim(t[e]),(s=x("
    ")).css({zIndex:o.zIndex}),"se"===i&&s.addClass("ui-icon ui-icon-gripsmall-diagonal-se"),this.handles[i]=".ui-resizable-"+i,this.element.append(s);this._renderAxis=function(t){var e,i,s;for(e in t=t||this.element,this.handles)this.handles[e].constructor===String&&(this.handles[e]=this.element.children(this.handles[e]).first().show()),this.elementIsWrapper&&this.originalElement[0].nodeName.match(/textarea|input|select|button/i)&&(s=x(this.handles[e],this.element),s=/sw|ne|nw|se|n|s/.test(e)?s.outerHeight():s.outerWidth(),i=["padding",/ne|nw|n/.test(e)?"Top":/se|sw|s/.test(e)?"Bottom":/^e$/.test(e)?"Right":"Left"].join(""),t.css(i,s),this._proportionallyResize()),x(this.handles[e]).length},this._renderAxis(this.element),this._handles=x(".ui-resizable-handle",this.element).disableSelection(),this._handles.mouseover(function(){n.resizing||(this.className&&(s=this.className.match(/ui-resizable-(se|sw|ne|nw|n|e|s|w)/i)),n.axis=s&&s[1]?s[1]:"se")}),o.autoHide&&(this._handles.hide(),x(this.element).addClass("ui-resizable-autohide").mouseenter(function(){o.disabled||(x(this).removeClass("ui-resizable-autohide"),n._handles.show())}).mouseleave(function(){o.disabled||n.resizing||(x(this).addClass("ui-resizable-autohide"),n._handles.hide())})),this._mouseInit()},_destroy:function(){this._mouseDestroy();function t(t){x(t).removeClass("ui-resizable ui-resizable-disabled ui-resizable-resizing").removeData("resizable").removeData("ui-resizable").unbind(".resizable").find(".ui-resizable-handle").remove()}var e;return this.elementIsWrapper&&(t(this.element),e=this.element,this.originalElement.css({position:e.css("position"),width:e.outerWidth(),height:e.outerHeight(),top:e.css("top"),left:e.css("left")}).insertAfter(e),e.remove()),this.originalElement.css("resize",this.originalResizeStyle),t(this.originalElement),this},_mouseCapture:function(t){var e,i,s=!1;for(e in this.handles)i=x(this.handles[e])[0],i!==t.target&&!x.contains(i,t.target)||(s=!0);return!this.options.disabled&&s},_mouseStart:function(t){var e,i,s=this.options,n=this.element;return this.resizing=!0,this._renderProxy(),i=this._num(this.helper.css("left")),e=this._num(this.helper.css("top")),s.containment&&(i+=x(s.containment).scrollLeft()||0,e+=x(s.containment).scrollTop()||0),this.offset=this.helper.offset(),this.position={left:i,top:e},this.size=this._helper?{width:this.helper.width(),height:this.helper.height()}:{width:n.width(),height:n.height()},this.originalSize=this._helper?{width:n.outerWidth(),height:n.outerHeight()}:{width:n.width(),height:n.height()},this.sizeDiff={width:n.outerWidth()-n.width(),height:n.outerHeight()-n.height()},this.originalPosition={left:i,top:e},this.originalMousePosition={left:t.pageX,top:t.pageY},this.aspectRatio="number"==typeof s.aspectRatio?s.aspectRatio:this.originalSize.width/this.originalSize.height||1,i=x(".ui-resizable-"+this.axis).css("cursor"),x("body").css("cursor","auto"===i?this.axis+"-resize":i),n.addClass("ui-resizable-resizing"),this._propagate("start",t),!0},_mouseDrag:function(t){var e=this.originalMousePosition,i=this.axis,s=t.pageX-e.left||0,e=t.pageY-e.top||0,i=this._change[i];return this._updatePrevProperties(),i&&(i=i.apply(this,[t,s,e]),this._updateVirtualBoundaries(t.shiftKey),(this._aspectRatio||t.shiftKey)&&(i=this._updateRatio(i,t)),i=this._respectSize(i,t),this._updateCache(i),this._propagate("resize",t),s=this._applyChanges(),!this._helper&&this._proportionallyResizeElements.length&&this._proportionallyResize(),x.isEmptyObject(s)||(this._updatePrevProperties(),this._trigger("resize",t,this.ui()),this._applyChanges())),!1},_mouseStop:function(t){this.resizing=!1;var e,i,s,n=this.options,o=this;return this._helper&&(i=(e=(i=this._proportionallyResizeElements).length&&/textarea/i.test(i[0].nodeName))&&this._hasScroll(i[0],"left")?0:o.sizeDiff.height,e=e?0:o.sizeDiff.width,e={width:o.helper.width()-e,height:o.helper.height()-i},i=parseInt(o.element.css("left"),10)+(o.position.left-o.originalPosition.left)||null,s=parseInt(o.element.css("top"),10)+(o.position.top-o.originalPosition.top)||null,n.animate||this.element.css(x.extend(e,{top:s,left:i})),o.helper.height(o.size.height),o.helper.width(o.size.width),this._helper)&&!n.animate&&this._proportionallyResize(),x("body").css("cursor","auto"),this.element.removeClass("ui-resizable-resizing"),this._propagate("stop",t),this._helper&&this.helper.remove(),!1},_updatePrevProperties:function(){this.prevPosition={top:this.position.top,left:this.position.left},this.prevSize={width:this.size.width,height:this.size.height}},_applyChanges:function(){var t={};return this.position.top!==this.prevPosition.top&&(t.top=this.position.top+"px"),this.position.left!==this.prevPosition.left&&(t.left=this.position.left+"px"),this.size.width!==this.prevSize.width&&(t.width=this.size.width+"px"),this.size.height!==this.prevSize.height&&(t.height=this.size.height+"px"),this.helper.css(t),t},_updateVirtualBoundaries:function(t){var e,i,s,n=this.options,n={minWidth:this._isNumber(n.minWidth)?n.minWidth:0,maxWidth:this._isNumber(n.maxWidth)?n.maxWidth:1/0,minHeight:this._isNumber(n.minHeight)?n.minHeight:0,maxHeight:this._isNumber(n.maxHeight)?n.maxHeight:1/0};(this._aspectRatio||t)&&(t=n.minHeight*this.aspectRatio,i=n.minWidth/this.aspectRatio,e=n.maxHeight*this.aspectRatio,s=n.maxWidth/this.aspectRatio,n.minWidtht.width,a=this._isNumber(t.height)&&e.minHeight&&e.minHeight>t.height,r=this.originalPosition.left+this.originalSize.width,h=this.position.top+this.size.height,l=/sw|nw|w/.test(i),i=/nw|ne|n/.test(i);return o&&(t.width=e.minWidth),a&&(t.height=e.minHeight),s&&(t.width=e.maxWidth),n&&(t.height=e.maxHeight),o&&l&&(t.left=r-e.minWidth),s&&l&&(t.left=r-e.maxWidth),a&&i&&(t.top=h-e.minHeight),n&&i&&(t.top=h-e.maxHeight),t.width||t.height||t.left||!t.top?t.width||t.height||t.top||!t.left||(t.left=null):t.top=null,t},_getPaddingPlusBorderDimensions:function(t){for(var e=0,i=[],s=[t.css("borderTopWidth"),t.css("borderRightWidth"),t.css("borderBottomWidth"),t.css("borderLeftWidth")],n=[t.css("paddingTop"),t.css("paddingRight"),t.css("paddingBottom"),t.css("paddingLeft")];e<4;e++)i[e]=parseInt(s[e],10)||0,i[e]+=parseInt(n[e],10)||0;return{height:i[0]+i[2],width:i[1]+i[3]}},_proportionallyResize:function(){if(this._proportionallyResizeElements.length)for(var t,e=0,i=this.helper||this.element;this._proportionallyResizeElements.length>e;e++)t=this._proportionallyResizeElements[e],this.outerDimensions||(this.outerDimensions=this._getPaddingPlusBorderDimensions(t)),t.css({height:i.height()-this.outerDimensions.height||0,width:i.width()-this.outerDimensions.width||0})},_renderProxy:function(){var t=this.element,e=this.options;this.elementOffset=t.offset(),this._helper?(this.helper=this.helper||x("
    "),this.helper.addClass(this._helper).css({width:this.element.outerWidth()-1,height:this.element.outerHeight()-1,position:"absolute",left:this.elementOffset.left+"px",top:this.elementOffset.top+"px",zIndex:++e.zIndex}),this.helper.appendTo("body").disableSelection()):this.helper=this.element},_change:{e:function(t,e){return{width:this.originalSize.width+e}},w:function(t,e){var i=this.originalSize;return{left:this.originalPosition.left+e,width:i.width-e}},n:function(t,e,i){var s=this.originalSize;return{top:this.originalPosition.top+i,height:s.height-i}},s:function(t,e,i){return{height:this.originalSize.height+i}},se:function(t,e,i){return x.extend(this._change.s.apply(this,arguments),this._change.e.apply(this,[t,e,i]))},sw:function(t,e,i){return x.extend(this._change.s.apply(this,arguments),this._change.w.apply(this,[t,e,i]))},ne:function(t,e,i){return x.extend(this._change.n.apply(this,arguments),this._change.e.apply(this,[t,e,i]))},nw:function(t,e,i){return x.extend(this._change.n.apply(this,arguments),this._change.w.apply(this,[t,e,i]))}},_propagate:function(t,e){x.ui.plugin.call(this,t,[e,this.ui()]),"resize"!==t&&this._trigger(t,e,this.ui())},plugins:{},ui:function(){return{originalElement:this.originalElement,element:this.element,helper:this.helper,position:this.position,size:this.size,originalSize:this.originalSize,originalPosition:this.originalPosition}}}),x.ui.plugin.add("resizable","animate",{stop:function(e){var i=x(this).resizable("instance"),t=i.options,s=i._proportionallyResizeElements,n=s.length&&/textarea/i.test(s[0].nodeName),o=n&&i._hasScroll(s[0],"left")?0:i.sizeDiff.height,n=n?0:i.sizeDiff.width,n={width:i.size.width-n,height:i.size.height-o},o=parseInt(i.element.css("left"),10)+(i.position.left-i.originalPosition.left)||null,a=parseInt(i.element.css("top"),10)+(i.position.top-i.originalPosition.top)||null;i.element.animate(x.extend(n,a&&o?{top:a,left:o}:{}),{duration:t.animateDuration,easing:t.animateEasing,step:function(){var t={width:parseInt(i.element.css("width"),10),height:parseInt(i.element.css("height"),10),top:parseInt(i.element.css("top"),10),left:parseInt(i.element.css("left"),10)};s&&s.length&&x(s[0]).css({width:t.width,height:t.height}),i._updateCache(t),i._propagate("resize",e)}})}}),x.ui.plugin.add("resizable","containment",{start:function(){var i,s,t,e,n=x(this).resizable("instance"),o=n.options,a=n.element,o=o.containment,a=o instanceof x?o.get(0):/parent/.test(o)?a.parent().get(0):o;a&&(n.containerElement=x(a),/document/.test(o)||o===document?(n.containerOffset={left:0,top:0},n.containerPosition={left:0,top:0},n.parentData={element:x(document),left:0,top:0,width:x(document).width(),height:x(document).height()||document.body.parentNode.scrollHeight}):(i=x(a),s=[],x(["Top","Right","Left","Bottom"]).each(function(t,e){s[t]=n._num(i.css("padding"+e))}),n.containerOffset=i.offset(),n.containerPosition=i.position(),n.containerSize={height:i.innerHeight()-s[3],width:i.innerWidth()-s[1]},o=n.containerOffset,e=n.containerSize.height,t=n.containerSize.width,t=n._hasScroll(a,"left")?a.scrollWidth:t,e=n._hasScroll(a)?a.scrollHeight:e,n.parentData={element:a,left:o.left,top:o.top,width:t,height:e}))},resize:function(t){var e=x(this).resizable("instance"),i=e.options,s=e.containerOffset,n=e.position,t=e._aspectRatio||t.shiftKey,o={top:0,left:0},a=e.containerElement,r=!0;a[0]!==document&&/static/.test(a.css("position"))&&(o=s),n.left<(e._helper?s.left:0)&&(e.size.width=e.size.width+(e._helper?e.position.left-s.left:e.position.left-o.left),t&&(e.size.height=e.size.width/e.aspectRatio,r=!1),e.position.left=i.helper?s.left:0),n.top<(e._helper?s.top:0)&&(e.size.height=e.size.height+(e._helper?e.position.top-s.top:e.position.top),t&&(e.size.width=e.size.height*e.aspectRatio,r=!1),e.position.top=e._helper?s.top:0),a=e.containerElement.get(0)===e.element.parent().get(0),i=/relative|absolute/.test(e.containerElement.css("position")),a&&i?(e.offset.left=e.parentData.left+e.position.left,e.offset.top=e.parentData.top+e.position.top):(e.offset.left=e.element.offset().left,e.offset.top=e.element.offset().top),n=Math.abs(e.sizeDiff.width+(e._helper?e.offset.left-o.left:e.offset.left-s.left)),a=Math.abs(e.sizeDiff.height+(e._helper?e.offset.top-o.top:e.offset.top-s.top)),n+e.size.width>=e.parentData.width&&(e.size.width=e.parentData.width-n,t)&&(e.size.height=e.size.width/e.aspectRatio,r=!1),a+e.size.height>=e.parentData.height&&(e.size.height=e.parentData.height-a,t)&&(e.size.width=e.size.height*e.aspectRatio,r=!1),r||(e.position.left=e.prevPosition.left,e.position.top=e.prevPosition.top,e.size.width=e.prevSize.width,e.size.height=e.prevSize.height)},stop:function(){var t=x(this).resizable("instance"),e=t.options,i=t.containerOffset,s=t.containerPosition,n=t.containerElement,o=x(t.helper),a=o.offset(),r=o.outerWidth()-t.sizeDiff.width,o=o.outerHeight()-t.sizeDiff.height;t._helper&&!e.animate&&/relative/.test(n.css("position"))&&x(this).css({left:a.left-s.left-i.left,width:r,height:o}),t._helper&&!e.animate&&/static/.test(n.css("position"))&&x(this).css({left:a.left-s.left-i.left,width:r,height:o})}}),x.ui.plugin.add("resizable","alsoResize",{start:function(){function e(t){x(t).each(function(){var t=x(this);t.data("ui-resizable-alsoresize",{width:parseInt(t.width(),10),height:parseInt(t.height(),10),left:parseInt(t.css("left"),10),top:parseInt(t.css("top"),10)})})}var t=x(this).resizable("instance").options;"object"!=typeof t.alsoResize||t.alsoResize.parentNode?e(t.alsoResize):t.alsoResize.length?(t.alsoResize=t.alsoResize[0],e(t.alsoResize)):x.each(t.alsoResize,function(t){e(t)})},resize:function(t,o){function i(t,i){x(t).each(function(){var t=x(this),s=x(this).data("ui-resizable-alsoresize"),n={},e=i&&i.length?i:t.parents(o.originalElement[0]).length?["width","height"]:["width","height","top","left"];x.each(e,function(t,e){var i=(s[e]||0)+(r[e]||0);i&&0<=i&&(n[e]=i||null)}),t.css(n)})}var e=x(this).resizable("instance"),s=e.options,n=e.originalSize,a=e.originalPosition,r={height:e.size.height-n.height||0,width:e.size.width-n.width||0,top:e.position.top-a.top||0,left:e.position.left-a.left||0};"object"!=typeof s.alsoResize||s.alsoResize.nodeType?i(s.alsoResize):x.each(s.alsoResize,function(t,e){i(t,e)})},stop:function(){x(this).removeData("resizable-alsoresize")}}),x.ui.plugin.add("resizable","ghost",{start:function(){var t=x(this).resizable("instance"),e=t.options,i=t.size;t.ghost=t.originalElement.clone(),t.ghost.css({opacity:.25,display:"block",position:"relative",height:i.height,width:i.width,margin:0,left:0,top:0}).addClass("ui-resizable-ghost").addClass("string"==typeof e.ghost?e.ghost:""),t.ghost.appendTo(t.helper)},resize:function(){var t=x(this).resizable("instance");t.ghost&&t.ghost.css({position:"relative",height:t.size.height,width:t.size.width})},stop:function(){var t=x(this).resizable("instance");t.ghost&&t.helper&&t.helper.get(0).removeChild(t.ghost.get(0))}}),x.ui.plugin.add("resizable","grid",{resize:function(){var t,e=x(this).resizable("instance"),i=e.options,s=e.size,n=e.originalSize,o=e.originalPosition,a=e.axis,r="number"==typeof i.grid?[i.grid,i.grid]:i.grid,h=r[0]||1,l=r[1]||1,c=Math.round((s.width-n.width)/h)*h,s=Math.round((s.height-n.height)/l)*l,u=n.width+c,d=n.height+s,p=i.maxWidth&&u>i.maxWidth,f=i.maxHeight&&d>i.maxHeight,m=i.minWidth&&i.minWidth>u,g=i.minHeight&&i.minHeight>d;i.grid=r,m&&(u+=h),g&&(d+=l),p&&(u-=h),f&&(d-=l),/^(se|s|e)$/.test(a)?(e.size.width=u,e.size.height=d):/^(ne)$/.test(a)?(e.size.width=u,e.size.height=d,e.position.top=o.top-s):/^(sw)$/.test(a)?(e.size.width=u,e.size.height=d,e.position.left=o.left-c):((d-l<=0||u-h<=0)&&(t=e._getPaddingPlusBorderDimensions(this)),0=+this.uiDialog.css("z-index")&&(this.uiDialog.css("z-index",s+1),i=!0),i&&!e&&this._trigger("focus",t),i},open:function(){var t=this;return this._isOpen?void(this._moveToTop()&&this._focusTabbable()):(this._isOpen=!0,this.opener=x(this.document[0].activeElement),this._size(),this._position(),this._createOverlay(),this._moveToTop(null,!0),this.overlay&&this.overlay.css("z-index",this.uiDialog.css("z-index")-1),this._show(this.uiDialog,this.options.show,function(){t._focusTabbable(),t._trigger("focus")}),this._makeFocusTarget(),void this._trigger("open"))},_focusTabbable:function(){var t=this._focusedElement;(t=(t=(t=(t=(t=t||this.element.find("[autofocus]")).length?t:this.element.find(":tabbable")).length?t:this.uiDialogButtonPane.find(":tabbable")).length?t:this.uiDialogTitlebarClose.filter(":tabbable")).length?t:this.uiDialog).eq(0).focus()},_keepFocus:function(t){function e(){var t=this.document[0].activeElement;this.uiDialog[0]===t||x.contains(this.uiDialog[0],t)||this._focusTabbable()}t.preventDefault(),e.call(this),this._delay(e)},_createWrapper:function(){this.uiDialog=x("
    ").addClass("ui-dialog ui-widget ui-widget-content ui-corner-all ui-front "+this.options.dialogClass).hide().attr({tabIndex:-1,role:"dialog"}).appendTo(this._appendTo()),this._on(this.uiDialog,{keydown:function(t){var e,i,s;this.options.closeOnEscape&&!t.isDefaultPrevented()&&t.keyCode&&t.keyCode===x.ui.keyCode.ESCAPE?(t.preventDefault(),this.close(t)):t.keyCode!==x.ui.keyCode.TAB||t.isDefaultPrevented()||(e=this.uiDialog.find(":tabbable"),i=e.filter(":first"),s=e.filter(":last"),t.target!==s[0]&&t.target!==this.uiDialog[0]||t.shiftKey?t.target!==i[0]&&t.target!==this.uiDialog[0]||!t.shiftKey||(this._delay(function(){s.focus()}),t.preventDefault()):(this._delay(function(){i.focus()}),t.preventDefault()))},mousedown:function(t){this._moveToTop(t)&&this._focusTabbable()}}),this.element.find("[aria-describedby]").length||this.uiDialog.attr({"aria-describedby":this.element.uniqueId().attr("id")})},_createTitlebar:function(){var t;this.uiDialogTitlebar=x("
    ").addClass("ui-dialog-titlebar ui-widget-header ui-corner-all ui-helper-clearfix").prependTo(this.uiDialog),this._on(this.uiDialogTitlebar,{mousedown:function(t){x(t.target).closest(".ui-dialog-titlebar-close")||this.uiDialog.focus()}}),this.uiDialogTitlebarClose=x("").button({label:this.options.closeText,icons:{primary:"ui-icon-closethick"},text:!1}).addClass("ui-dialog-titlebar-close").appendTo(this.uiDialogTitlebar),this._on(this.uiDialogTitlebarClose,{click:function(t){t.preventDefault(),this.close(t)}}),t=x("").uniqueId().addClass("ui-dialog-title").prependTo(this.uiDialogTitlebar),this._title(t),this.uiDialog.attr({"aria-labelledby":t.attr("id")})},_title:function(t){this.options.title||t.html(" "),t.text(this.options.title)},_createButtonPane:function(){this.uiDialogButtonPane=x("
    ").addClass("ui-dialog-buttonpane ui-widget-content ui-helper-clearfix"),this.uiButtonSet=x("
    ").addClass("ui-dialog-buttonset").appendTo(this.uiDialogButtonPane),this._createButtons()},_createButtons:function(){var s=this,t=this.options.buttons;return this.uiDialogButtonPane.remove(),this.uiButtonSet.empty(),x.isEmptyObject(t)||x.isArray(t)&&!t.length?void this.uiDialog.removeClass("ui-dialog-buttons"):(x.each(t,function(t,e){var i;e=x.isFunction(e)?{click:e,text:t}:e,e=x.extend({type:"button"},e),i=e.click,e.click=function(){i.apply(s.element[0],arguments)},t={icons:e.icons,text:e.showText},delete e.icons,delete e.showText,x("",e).button(t).appendTo(s.uiButtonSet)}),this.uiDialog.addClass("ui-dialog-buttons"),void this.uiDialogButtonPane.appendTo(this.uiDialog))},_makeDraggable:function(){function n(t){return{position:t.position,offset:t.offset}}var o=this,a=this.options;this.uiDialog.draggable({cancel:".ui-dialog-content, .ui-dialog-titlebar-close",handle:".ui-dialog-titlebar",containment:"document",start:function(t,e){x(this).addClass("ui-dialog-dragging"),o._blockFrames(),o._trigger("dragStart",t,n(e))},drag:function(t,e){o._trigger("drag",t,n(e))},stop:function(t,e){var i=e.offset.left-o.document.scrollLeft(),s=e.offset.top-o.document.scrollTop();a.position={my:"left top",at:"left"+(0<=i?"+":"")+i+" top"+(0<=s?"+":"")+s,of:o.window},x(this).removeClass("ui-dialog-dragging"),o._unblockFrames(),o._trigger("dragStop",t,n(e))}})},_makeResizable:function(){function n(t){return{originalPosition:t.originalPosition,originalSize:t.originalSize,position:t.position,size:t.size}}var o=this,a=this.options,t=a.resizable,e=this.uiDialog.css("position"),t="string"==typeof t?t:"n,e,s,w,se,sw,ne,nw";this.uiDialog.resizable({cancel:".ui-dialog-content",containment:"document",alsoResize:this.element,maxWidth:a.maxWidth,maxHeight:a.maxHeight,minWidth:a.minWidth,minHeight:this._minHeight(),handles:t,start:function(t,e){x(this).addClass("ui-dialog-resizing"),o._blockFrames(),o._trigger("resizeStart",t,n(e))},resize:function(t,e){o._trigger("resize",t,n(e))},stop:function(t,e){var i=o.uiDialog.offset(),s=i.left-o.document.scrollLeft(),i=i.top-o.document.scrollTop();a.height=o.uiDialog.height(),a.width=o.uiDialog.width(),a.position={my:"left top",at:"left"+(0<=s?"+":"")+s+" top"+(0<=i?"+":"")+i,of:o.window},x(this).removeClass("ui-dialog-resizing"),o._unblockFrames(),o._trigger("resizeStop",t,n(e))}}).css("position",e)},_trackFocus:function(){this._on(this.widget(),{focusin:function(t){this._makeFocusTarget(),this._focusedElement=x(t.target)}})},_makeFocusTarget:function(){this._untrackInstance(),this._trackingInstances().unshift(this)},_untrackInstance:function(){var t=this._trackingInstances(),e=x.inArray(this,t);-1!==e&&t.splice(e,1)},_trackingInstances:function(){var t=this.document.data("ui-dialog-instances");return t||this.document.data("ui-dialog-instances",t=[]),t},_minHeight:function(){var t=this.options;return"auto"===t.height?t.minHeight:Math.min(t.minHeight,t.height)},_position:function(){var t=this.uiDialog.is(":visible");t||this.uiDialog.show(),this.uiDialog.position(this.options.position),t||this.uiDialog.hide()},_setOptions:function(t){var i=this,s=!1,n={};x.each(t,function(t,e){i._setOption(t,e),t in i.sizeRelatedOptions&&(s=!0),t in i.resizableRelatedOptions&&(n[t]=e)}),s&&(this._size(),this._position()),this.uiDialog.is(":data(ui-resizable)")&&this.uiDialog.resizable("option",n)},_setOption:function(t,e){var i,s=this.uiDialog;"dialogClass"===t&&s.removeClass(this.options.dialogClass).addClass(e),"disabled"!==t&&(this._super(t,e),"appendTo"===t&&this.uiDialog.appendTo(this._appendTo()),"buttons"===t&&this._createButtons(),"closeText"===t&&this.uiDialogTitlebarClose.button({label:""+e}),"draggable"===t&&((i=s.is(":data(ui-draggable)"))&&!e&&s.draggable("destroy"),!i)&&e&&this._makeDraggable(),"position"===t&&this._position(),"resizable"===t&&((i=s.is(":data(ui-resizable)"))&&!e&&s.resizable("destroy"),i&&"string"==typeof e&&s.resizable("option","handles",e),i||!1===e||this._makeResizable()),"title"===t)&&this._title(this.uiDialogTitlebar.find(".ui-dialog-title"))},_size:function(){var t,e,i,s=this.options;this.element.show().css({width:"auto",minHeight:0,maxHeight:"none",height:0}),s.minWidth>s.width&&(s.width=s.minWidth),t=this.uiDialog.css({height:"auto",width:s.width}).outerHeight(),e=Math.max(0,s.minHeight-t),i="number"==typeof s.maxHeight?Math.max(0,s.maxHeight-t):"none","auto"===s.height?this.element.css({minHeight:e,maxHeight:i,height:"auto"}):this.element.height(Math.max(0,s.height-t)),this.uiDialog.is(":data(ui-resizable)")&&this.uiDialog.resizable("option","minHeight",this._minHeight())},_blockFrames:function(){this.iframeBlocks=this.document.find("iframe").map(function(){var t=x(this);return x("
    ").css({position:"absolute",width:t.outerWidth(),height:t.outerHeight()}).appendTo(t.parent()).offset(t.offset())[0]})},_unblockFrames:function(){this.iframeBlocks&&(this.iframeBlocks.remove(),delete this.iframeBlocks)},_allowInteraction:function(t){return!!x(t.target).closest(".ui-dialog").length||!!x(t.target).closest(".ui-datepicker").length},_createOverlay:function(){var e;this.options.modal&&(e=!0,this._delay(function(){e=!1}),this.document.data("ui-dialog-overlays")||this._on(this.document,{focusin:function(t){e||this._allowInteraction(t)||(t.preventDefault(),this._trackingInstances()[0]._focusTabbable())}}),this.overlay=x("
    ").addClass("ui-widget-overlay ui-front").appendTo(this._appendTo()),this._on(this.overlay,{mousedown:"_keepFocus"}),this.document.data("ui-dialog-overlays",(this.document.data("ui-dialog-overlays")||0)+1))},_destroyOverlay:function(){var t;this.options.modal&&this.overlay&&((t=this.document.data("ui-dialog-overlays")-1)?this.document.data("ui-dialog-overlays",t):this.document.unbind("focusin").removeData("ui-dialog-overlays"),this.overlay.remove(),this.overlay=null)}}),x.widget("ui.droppable",{version:"1.11.2",widgetEventPrefix:"drop",options:{accept:"*",activeClass:!1,addClasses:!0,greedy:!1,hoverClass:!1,scope:"default",tolerance:"intersect",activate:null,deactivate:null,drop:null,out:null,over:null},_create:function(){var t,e=this.options,i=e.accept;this.isover=!1,this.isout=!0,this.accept=x.isFunction(i)?i:function(t){return t.is(i)},this.proportions=function(){return arguments.length?void(t=arguments[0]):t=t||{width:this.element[0].offsetWidth,height:this.element[0].offsetHeight}},this._addToManager(e.scope),e.addClasses&&this.element.addClass("ui-droppable")},_addToManager:function(t){x.ui.ddmanager.droppables[t]=x.ui.ddmanager.droppables[t]||[],x.ui.ddmanager.droppables[t].push(this)},_splice:function(t){for(var e=0;t.length>e;e++)t[e]===this&&t.splice(e,1)},_destroy:function(){var t=x.ui.ddmanager.droppables[this.options.scope];this._splice(t),this.element.removeClass("ui-droppable ui-droppable-disabled")},_setOption:function(t,e){var i;"accept"===t?this.accept=x.isFunction(e)?e:function(t){return t.is(e)}:"scope"===t&&(i=x.ui.ddmanager.droppables[this.options.scope],this._splice(i),this._addToManager(e)),this._super(t,e)},_activate:function(t){var e=x.ui.ddmanager.current;this.options.activeClass&&this.element.addClass(this.options.activeClass),e&&this._trigger("activate",t,this.ui(e))},_deactivate:function(t){var e=x.ui.ddmanager.current;this.options.activeClass&&this.element.removeClass(this.options.activeClass),e&&this._trigger("deactivate",t,this.ui(e))},_over:function(t){var e=x.ui.ddmanager.current;e&&(e.currentItem||e.element)[0]!==this.element[0]&&this.accept.call(this.element[0],e.currentItem||e.element)&&(this.options.hoverClass&&this.element.addClass(this.options.hoverClass),this._trigger("over",t,this.ui(e)))},_out:function(t){var e=x.ui.ddmanager.current;e&&(e.currentItem||e.element)[0]!==this.element[0]&&this.accept.call(this.element[0],e.currentItem||e.element)&&(this.options.hoverClass&&this.element.removeClass(this.options.hoverClass),this._trigger("out",t,this.ui(e)))},_drop:function(e,t){var i=t||x.ui.ddmanager.current,s=!1;return!(!i||(i.currentItem||i.element)[0]===this.element[0]||(this.element.find(":data(ui-droppable)").not(".ui-draggable-dragging").each(function(){var t=x(this).droppable("instance");return t.options.greedy&&!t.options.disabled&&t.options.scope===i.options.scope&&t.accept.call(t.element[0],i.currentItem||i.element)&&x.ui.intersect(i,x.extend(t,{offset:t.element.offset()}),t.options.tolerance,e)?!(s=!0):void 0}),s)||!this.accept.call(this.element[0],i.currentItem||i.element))&&(this.options.activeClass&&this.element.removeClass(this.options.activeClass),this.options.hoverClass&&this.element.removeClass(this.options.hoverClass),this._trigger("drop",e,this.ui(i)),this.element)},ui:function(t){return{draggable:t.currentItem||t.element,helper:t.helper,position:t.position,offset:t.positionAbs}}}),x.ui.intersect=function(t,e,i,s){if(!e.offset)return!1;var n=(t.positionAbs||t.position.absolute).left+t.margins.left,o=(t.positionAbs||t.position.absolute).top+t.margins.top,a=n+t.helperProportions.width,r=o+t.helperProportions.height,h=e.offset.left,l=e.offset.top,c=h+e.proportions().width,u=l+e.proportions().height;switch(i){case"fit":return h<=n&&a<=c&&l<=o&&r<=u;case"intersect":return n+t.helperProportions.width/2>h&&c>a-t.helperProportions.width/2&&o+t.helperProportions.height/2>l&&u>r-t.helperProportions.height/2;case"pointer":return tt(s.pageY,l,e.proportions().height)&&tt(s.pageX,h,e.proportions().width);case"touch":return(l<=o&&o<=u||l<=r&&r<=u||oi;i++)if(!(n[i].options.disabled||t&&!n[i].accept.call(n[i].element[0],t.currentItem||t.element))){for(s=0;a.length>s;s++)if(a[s]===n[i].element[0]){n[i].proportions().height=0;continue t}n[i].visible="none"!==n[i].element.css("display"),n[i].visible&&("mousedown"===o&&n[i]._activate.call(n[i],e),n[i].offset=n[i].element.offset(),n[i].proportions({width:n[i].element[0].offsetWidth,height:n[i].element[0].offsetHeight}))}},drop:function(t,e){var i=!1;return x.each((x.ui.ddmanager.droppables[t.options.scope]||[]).slice(),function(){this.options&&(!this.options.disabled&&this.visible&&x.ui.intersect(t,this,this.options.tolerance,e)&&(i=this._drop.call(this,e)||i),!this.options.disabled)&&this.visible&&this.accept.call(this.element[0],t.currentItem||t.element)&&(this.isout=!0,this.isover=!1,this._deactivate.call(this,e))}),i},dragStart:function(t,e){t.element.parentsUntil("body").bind("scroll.droppable",function(){t.options.refreshPositions||x.ui.ddmanager.prepareOffsets(t,e)})},drag:function(n,o){n.options.refreshPositions&&x.ui.ddmanager.prepareOffsets(n,o),x.each(x.ui.ddmanager.droppables[n.options.scope]||[],function(){var t,e,i,s;this.options.disabled||this.greedyChild||!this.visible||(s=!(s=x.ui.intersect(n,this,this.options.tolerance,o))&&this.isover?"isout":s&&!this.isover?"isover":null)&&(this.options.greedy&&(e=this.options.scope,(i=this.element.parents(":data(ui-droppable)").filter(function(){return x(this).droppable("instance").options.scope===e})).length)&&((t=x(i[0]).droppable("instance")).greedyChild="isover"===s),t&&"isover"===s&&(t.isover=!1,t.isout=!0,t._out.call(t,o)),this[s]=!0,this["isout"===s?"isover":"isout"]=!1,this["isover"===s?"_over":"_out"].call(this,o),t)&&"isout"===s&&(t.isout=!1,t.isover=!0,t._over.call(t,o))})},dragStop:function(t,e){t.element.parentsUntil("body").unbind("scroll.droppable"),t.options.refreshPositions||x.ui.ddmanager.prepareOffsets(t,e)}},x.ui.droppable;var _,b,et,it,st,nt,ot,at,rt,ht,y,w,I,lt,ct,T,P,M,S,z,ut="ui-effects-",dt=x;function A(t,e,i,s){return t={effect:t=x.isPlainObject(t)?(e=t).effect:t},x.isFunction(e=null==e?{}:e)&&(s=e,i=null,e={}),"number"!=typeof e&&!x.fx.speeds[e]||(s=i,i=e,e={}),x.isFunction(i)&&(s=i,i=null),e&&x.extend(t,e),i=i||e.duration,t.duration=x.fx.off?0:"number"==typeof i?i:i in x.fx.speeds?x.fx.speeds[i]:x.fx.speeds._default,t.complete=s||e.complete,t}function H(t){return!t||"number"==typeof t||x.fx.speeds[t]||"string"==typeof t&&!x.effects.effect[t]||x.isFunction(t)||"object"==typeof t&&!t.effect}function pt(t){var e,i,s=t.ownerDocument.defaultView?t.ownerDocument.defaultView.getComputedStyle(t,null):t.currentStyle,n={};if(s&&s.length&&s[0]&&s[s[0]])for(i=s.length;i--;)"string"==typeof s[e=s[i]]&&(n[x.camelCase(e)]=s[e]);else for(e in s)"string"==typeof s[e]&&(n[e]=s[e]);return n}function N(t,e,i){var s=M[e.type]||{};return null==t?i||!e.def?null:e.def:(t=s.floor?~~t:parseFloat(t),isNaN(t)?e.def:s.mod?(t+s.mod)%s.mod:t<0?0:t>s.max?s.max:t)}function ft(s){var n=T(),o=n._rgba=[];return s=s.toLowerCase(),z(ct,function(t,e){var i=e.re.exec(s),i=i&&e.parse(i),e=e.space||"rgba";return i?(i=n[e](i),n[P[e].cache]=i[P[e].cache],o=n._rgba=i._rgba,!1):w}),o.length?("0,0,0,0"===o.join()&&y.extend(o,I.transparent),n):I[s]}function E(t,e,i){return 6*(i=(i+1)%1)<1?t+6*(e-t)*i:2*i<1?e:3*i<2?t+6*(e-t)*(2/3-i):t}x.effects={effect:{}},lt=/^([\-+])=\s*(\d+\.?\d*)/,ct=[{re:/rgba?\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,parse:function(t){return[t[1],t[2],t[3],t[4]]}},{re:/rgba?\(\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,parse:function(t){return[2.55*t[1],2.55*t[2],2.55*t[3],t[4]]}},{re:/#([a-f0-9]{2})([a-f0-9]{2})([a-f0-9]{2})/,parse:function(t){return[parseInt(t[1],16),parseInt(t[2],16),parseInt(t[3],16)]}},{re:/#([a-f0-9])([a-f0-9])([a-f0-9])/,parse:function(t){return[parseInt(t[1]+t[1],16),parseInt(t[2]+t[2],16),parseInt(t[3]+t[3],16)]}},{re:/hsla?\(\s*(\d+(?:\.\d+)?)\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,space:"hsla",parse:function(t){return[t[1],t[2]/100,t[3]/100,t[4]]}}],T=(y=dt).Color=function(t,e,i,s){return new y.Color.fn.parse(t,e,i,s)},P={rgba:{props:{red:{idx:0,type:"byte"},green:{idx:1,type:"byte"},blue:{idx:2,type:"byte"}}},hsla:{props:{hue:{idx:0,type:"degrees"},saturation:{idx:1,type:"percent"},lightness:{idx:2,type:"percent"}}}},M={byte:{floor:!0,max:255},percent:{max:1},degrees:{mod:360,floor:!0}},S=T.support={},p=y("

    ")[0],z=y.each,p.style.cssText="background-color:rgba(1,1,1,.5)",S.rgba=-1o.mod/2?s+=o.mod:s-n>o.mod/2&&(s-=o.mod)),h[i]=N((n-s)*a+s,e)))}),this[t](h)},blend:function(t){var e,i,s;return 1===this._rgba[3]?this:(e=this._rgba.slice(),i=e.pop(),s=T(t)._rgba,T(y.map(e,function(t,e){return(1-i)*s[e]+i*t})))},toRgbaString:function(){var t="rgba(",e=y.map(this._rgba,function(t,e){return null==t?2i;i++)null!==e[i]&&t.data(ut+e[i],t[0].style[e[i]])},restore:function(t,e){for(var i,s=0;e.length>s;s++)null!==e[s]&&(i=t.data(ut+e[s]),t.css(e[s],i=void 0===i?"":i))},setMode:function(t,e){return e="toggle"===e?t.is(":hidden")?"show":"hide":e},getBaseline:function(t,e){var i,s;switch(t[0]){case"top":i=0;break;case"middle":i=.5;break;case"bottom":i=1;break;default:i=t[0]/e.height}switch(t[1]){case"left":s=0;break;case"center":s=.5;break;case"right":s=1;break;default:s=t[1]/e.width}return{x:s,y:i}},createWrapper:function(i){if(i.parent().is(".ui-effects-wrapper"))return i.parent();var s={width:i.outerWidth(!0),height:i.outerHeight(!0),float:i.css("float")},t=x("

    ").addClass("ui-effects-wrapper").css({fontSize:"100%",background:"transparent",border:"none",margin:0,padding:0}),e={width:i.width(),height:i.height()},n=document.activeElement;try{n.id}catch(t){n=document.body}return i.wrap(t),i[0]!==n&&!x.contains(i[0],n)||x(n).focus(),t=i.parent(),"static"===i.css("position")?(t.css({position:"relative"}),i.css({position:"relative"})):(x.extend(s,{position:i.css("position"),zIndex:i.css("z-index")}),x.each(["top","left","bottom","right"],function(t,e){s[e]=i.css(e),isNaN(parseInt(s[e],10))&&(s[e]="auto")}),i.css({position:"relative",top:0,left:0,right:"auto",bottom:"auto"})),i.css(e),t.css(s).show()},removeWrapper:function(t){var e=document.activeElement;return t.parent().is(".ui-effects-wrapper")&&(t.parent().replaceWith(t),t[0]===e||x.contains(t[0],e))&&x(e).focus(),t},setTransition:function(s,t,n,o){return o=o||{},x.each(t,function(t,e){var i=s.cssUnit(e);0t;);return 1/Math.pow(4,3-i)-7.5625*Math.pow((3*e-2)/22-t,2)}}),x.each(b,function(t,e){x.easing["easeIn"+t]=e,x.easing["easeOut"+t]=function(t){return 1-e(1-t)},x.easing["easeInOut"+t]=function(t){return t<.5?e(2*t)/2:1-e(-2*t+2)/2}}),x.effects,x.effects.effect.blind=function(t,e){var i,s,n,o=x(this),a=["position","top","bottom","left","right","height","width"],r=x.effects.setMode(o,t.mode||"hide"),h=t.direction||"up",l=/up|down|vertical/.test(h),c=l?"height":"width",u=l?"top":"left",h=/up|left|vertical|horizontal/.test(h),d={},p="show"===r;o.parent().is(".ui-effects-wrapper")?x.effects.save(o.parent(),a):x.effects.save(o,a),o.show(),s=(i=x.effects.createWrapper(o).css({overflow:"hidden"}))[c](),n=parseFloat(i.css(u))||0,d[c]=p?s:0,h||(o.css(l?"bottom":"right",0).css(l?"top":"left","auto").css({position:"absolute"}),d[u]=p?n:s+n),p&&(i.css(c,0),h||i.css(u,n+s)),i.animate(d,{duration:t.duration,easing:t.easing,queue:!1,complete:function(){"hide"===r&&o.hide(),x.effects.restore(o,a),x.effects.removeWrapper(o),e()}})},x.effects.effect.bounce=function(t,e){var i,s,n,o=x(this),a=["position","top","bottom","left","right","height","width"],r=x.effects.setMode(o,t.mode||"effect"),h="hide"===r,r="show"===r,l=t.direction||"up",c=t.distance,u=t.times||5,d=2*u+(r||h?1:0),p=t.duration/d,f=t.easing,m="up"===l||"down"===l?"top":"left",g="up"===l||"left"===l,t=o.queue(),l=t.length;for((r||h)&&a.push("opacity"),x.effects.save(o,a),o.show(),x.effects.createWrapper(o),c=c||o["top"==m?"outerHeight":"outerWidth"]()/3,r&&((n={opacity:1})[m]=0,o.css("opacity",0).css(m,g?2*-c:2*c).animate(n,p,f)),h&&(c/=Math.pow(2,u-1)),i=(n={})[m]=0;i
    ").css({position:"absolute",visibility:"visible",left:-s*p,top:-g*f}).parent().addClass("ui-effects-explode").css({position:"absolute",overflow:"hidden",width:p,height:f,left:n+(u?a*p:0),top:o+(u?r*f:0),opacity:u?0:1}).animate({left:n+(u?0:a*p),top:o+(u?0:r*f),opacity:u?1:0},t.duration||500,t.easing,i)},x.effects.effect.fade=function(t,e){var i=x(this),s=x.effects.setMode(i,t.mode||"toggle");i.animate({opacity:s},{queue:!1,duration:t.duration,easing:t.easing,complete:e})},x.effects.effect.fold=function(t,e){var i,s=x(this),n=["position","top","bottom","left","right","height","width"],o=x.effects.setMode(s,t.mode||"hide"),a="show"===o,r="hide"===o,o=t.size||15,h=/([0-9]+)%/.exec(o),l=!!t.horizFirst,c=a!=l,u=c?["width","height"]:["height","width"],d=t.duration/2,p={},f={};x.effects.save(s,n),s.show(),i=x.effects.createWrapper(s).css({overflow:"hidden"}),c=c?[i.width(),i.height()]:[i.height(),i.width()],h&&(o=parseInt(h[1],10)/100*c[r?0:1]),a&&i.css(l?{height:0,width:o}:{height:o,width:0}),p[u[0]]=a?c[0]:o,f[u[1]]=a?c[1]:0,i.animate(p,d,t.easing).animate(f,d,t.easing,function(){r&&s.hide(),x.effects.restore(s,n),x.effects.removeWrapper(s),e()})},x.effects.effect.highlight=function(t,e){var i=x(this),s=["backgroundImage","backgroundColor","opacity"],n=x.effects.setMode(i,t.mode||"show"),o={backgroundColor:i.css("backgroundColor")};"hide"===n&&(o.opacity=0),x.effects.save(i,s),i.show().css({backgroundImage:"none",backgroundColor:t.color||"#ffff99"}).animate(o,{queue:!1,duration:t.duration,easing:t.easing,complete:function(){"hide"===n&&i.hide(),x.effects.restore(i,s),e()}})},x.effects.effect.size=function(o,t){var e,a,r=x(this),i=["position","top","bottom","left","right","width","height","overflow","opacity"],h=["width","height","overflow"],s=["fontSize"],l=["borderTopWidth","borderBottomWidth","paddingTop","paddingBottom"],c=["borderLeftWidth","borderRightWidth","paddingLeft","paddingRight"],n=x.effects.setMode(r,o.mode||"effect"),u=o.restore||"effect"!==n,d=o.scale||"both",p=o.origin||["middle","center"],f=r.css("position"),m=u?i:["position","top","bottom","left","right","overflow","opacity"],g={height:0,width:0,outerHeight:0,outerWidth:0};"show"===n&&r.show(),e={height:r.height(),width:r.width(),outerHeight:r.outerHeight(),outerWidth:r.outerWidth()},"toggle"===o.mode&&"show"===n?(r.from=o.to||g,r.to=o.from||e):(r.from=o.from||("show"===n?g:e),r.to=o.to||("hide"===n?g:e)),a={from:{y:r.from.height/e.height,x:r.from.width/e.width},to:{y:r.to.height/e.height,x:r.to.width/e.width}},"box"!==d&&"both"!==d||(a.from.y!==a.to.y&&(m=m.concat(l),r.from=x.effects.setTransition(r,l,a.from.y,r.from),r.to=x.effects.setTransition(r,l,a.to.y,r.to)),a.from.x===a.to.x)||(m=m.concat(c),r.from=x.effects.setTransition(r,c,a.from.x,r.from),r.to=x.effects.setTransition(r,c,a.to.x,r.to)),"content"!==d&&"both"!==d||a.from.y===a.to.y||(m=m.concat(s).concat(h),r.from=x.effects.setTransition(r,s,a.from.y,r.from),r.to=x.effects.setTransition(r,s,a.to.y,r.to)),x.effects.save(r,m),r.show(),x.effects.createWrapper(r),r.css("overflow","hidden").css(r.from),p&&(g=x.effects.getBaseline(p,e),r.from.top=(e.outerHeight-r.outerHeight())*g.y,r.from.left=(e.outerWidth-r.outerWidth())*g.x,r.to.top=(e.outerHeight-r.to.outerHeight)*g.y,r.to.left=(e.outerWidth-r.to.outerWidth)*g.x),r.css(r.from),"content"!==d&&"both"!==d||(l=l.concat(["marginTop","marginBottom"]).concat(s),c=c.concat(["marginLeft","marginRight"]),h=i.concat(l).concat(c),r.find("*[width]").each(function(){var t=x(this),e=t.height(),i=t.width(),s=t.outerHeight(),n=t.outerWidth();u&&x.effects.save(t,h),t.from={height:e*a.from.y,width:i*a.from.x,outerHeight:s*a.from.y,outerWidth:n*a.from.x},t.to={height:e*a.to.y,width:i*a.to.x,outerHeight:e*a.to.y,outerWidth:i*a.to.x},a.from.y!==a.to.y&&(t.from=x.effects.setTransition(t,l,a.from.y,t.from),t.to=x.effects.setTransition(t,l,a.to.y,t.to)),a.from.x!==a.to.x&&(t.from=x.effects.setTransition(t,c,a.from.x,t.from),t.to=x.effects.setTransition(t,c,a.to.x,t.to)),t.css(t.from),t.animate(t.to,o.duration,o.easing,function(){u&&x.effects.restore(t,h)})})),r.animate(r.to,{queue:!1,duration:o.duration,easing:o.easing,complete:function(){0===r.to.opacity&&r.css("opacity",r.from.opacity),"hide"===n&&r.hide(),x.effects.restore(r,m),u||("static"===f?r.css({position:"relative",top:r.to.top,left:r.to.left}):x.each(["top","left"],function(n,t){r.css(t,function(t,e){var i=parseInt(e,10),s=n?r.to.left:r.to.top;return"auto"===e?s+"px":i+s+"px"})})),x.effects.removeWrapper(r),t()}})},x.effects.effect.scale=function(t,e){var i=x(this),s=x.extend(!0,{},t),n=x.effects.setMode(i,t.mode||"effect"),o=parseInt(t.percent,10)||(0===parseInt(t.percent,10)||"hide"===n?0:100),a=t.direction||"both",r=t.origin,h={height:i.height(),width:i.width(),outerHeight:i.outerHeight(),outerWidth:i.outerWidth()},l="horizontal"!==a?o/100:1,a="vertical"!==a?o/100:1;s.effect="size",s.queue=!1,s.complete=e,"effect"!==n&&(s.origin=r||["middle","center"],s.restore=!0),s.from=t.from||("show"===n?{height:0,width:0,outerHeight:0,outerWidth:0}:h),s.to={height:h.height*l,width:h.width*a,outerHeight:h.outerHeight*l,outerWidth:h.outerWidth*a},s.fade&&("show"===n&&(s.from.opacity=0,s.to.opacity=1),"hide"===n)&&(s.from.opacity=1,s.to.opacity=0),i.effect(s)},x.effects.effect.puff=function(t,e){var i=x(this),s=x.effects.setMode(i,t.mode||"hide"),n="hide"===s,o=parseInt(t.percent,10)||150,a=o/100,r={height:i.height(),width:i.width(),outerHeight:i.outerHeight(),outerWidth:i.outerWidth()};x.extend(t,{effect:"scale",queue:!1,fade:!0,mode:s,complete:e,percent:n?o:100,from:n?r:{height:r.height*a,width:r.width*a,outerHeight:r.outerHeight*a,outerWidth:r.outerWidth*a}}),i.effect(t)},x.effects.effect.pulsate=function(t,e){var i,s=x(this),n=x.effects.setMode(s,t.mode||"show"),o="show"===n,a="hide"===n,r=2*(t.times||5)+(o||"hide"===n?1:0),h=t.duration/r,l=0,n=s.queue(),c=n.length;for(!o&&s.is(":visible")||(s.css("opacity",0).show(),l=1),i=1;i
    ").appendTo(document.body).addClass(t.className).css({top:s.top-a,left:s.left-o,height:i.innerHeight(),width:i.innerWidth(),position:n?"fixed":"absolute"}).animate(r,t.duration,t.easing,function(){h.remove(),e()})},x.widget("ui.progressbar",{version:"1.11.2",options:{max:100,value:0,change:null,complete:null},min:0,_create:function(){this.oldValue=this.options.value=this._constrainedValue(),this.element.addClass("ui-progressbar ui-widget ui-widget-content ui-corner-all").attr({role:"progressbar","aria-valuemin":this.min}),this.valueDiv=x("
    ").appendTo(this.element),this._refreshValue()},_destroy:function(){this.element.removeClass("ui-progressbar ui-widget ui-widget-content ui-corner-all").removeAttr("role").removeAttr("aria-valuemin").removeAttr("aria-valuemax").removeAttr("aria-valuenow"),this.valueDiv.remove()},value:function(t){return void 0===t?this.options.value:(this.options.value=this._constrainedValue(t),void this._refreshValue())},_constrainedValue:function(t){return void 0===t&&(t=this.options.value),this.indeterminate=!1===t,"number"!=typeof t&&(t=0),!this.indeterminate&&Math.min(this.options.max,Math.max(this.min,t))},_setOptions:function(t){var e=t.value;delete t.value,this._super(t),this.options.value=this._constrainedValue(e),this._refreshValue()},_setOption:function(t,e){"max"===t&&(e=Math.max(this.min,e)),"disabled"===t&&this.element.toggleClass("ui-state-disabled",!!e).attr("aria-disabled",e),this._super(t,e)},_percentage:function(){return this.indeterminate?100:100*(this.options.value-this.min)/(this.options.max-this.min)},_refreshValue:function(){var t=this.options.value,e=this._percentage();this.valueDiv.toggle(this.indeterminate||t>this.min).toggleClass("ui-corner-right",t===this.options.max).width(e.toFixed(0)+"%"),this.element.toggleClass("ui-progressbar-indeterminate",this.indeterminate),this.indeterminate?(this.element.removeAttr("aria-valuenow"),this.overlayDiv||(this.overlayDiv=x("
    ").appendTo(this.valueDiv))):(this.element.attr({"aria-valuemax":this.options.max,"aria-valuenow":t}),this.overlayDiv&&(this.overlayDiv.remove(),this.overlayDiv=null)),this.oldValue!==t&&(this.oldValue=t,this._trigger("change")),t===this.options.max&&this._trigger("complete")}}),x.widget("ui.selectable",x.ui.mouse,{version:"1.11.2",options:{appendTo:"body",autoRefresh:!0,distance:0,filter:"*",tolerance:"touch",selected:null,selecting:null,start:null,stop:null,unselected:null,unselecting:null},_create:function(){var t,e=this;this.element.addClass("ui-selectable"),this.dragged=!1,this.refresh=function(){(t=x(e.options.filter,e.element[0])).addClass("ui-selectee"),t.each(function(){var t=x(this),e=t.offset();x.data(this,"selectable-item",{element:this,$element:t,left:e.left,top:e.top,right:e.left+t.outerWidth(),bottom:e.top+t.outerHeight(),startselected:!1,selected:t.hasClass("ui-selected"),selecting:t.hasClass("ui-selecting"),unselecting:t.hasClass("ui-unselecting")})})},this.refresh(),this.selectees=t.addClass("ui-selectee"),this._mouseInit(),this.helper=x("
    ")},_destroy:function(){this.selectees.removeClass("ui-selectee").removeData("selectable-item"),this.element.removeClass("ui-selectable ui-selectable-disabled"),this._mouseDestroy()},_mouseStart:function(i){var s=this,t=this.options;this.opos=[i.pageX,i.pageY],this.options.disabled||(this.selectees=x(t.filter,this.element[0]),this._trigger("start",i),x(t.appendTo).append(this.helper),this.helper.css({left:i.pageX,top:i.pageY,width:0,height:0}),t.autoRefresh&&this.refresh(),this.selectees.filter(".ui-selected").each(function(){var t=x.data(this,"selectable-item");t.startselected=!0,i.metaKey||i.ctrlKey||(t.$element.removeClass("ui-selected"),t.selected=!1,t.$element.addClass("ui-unselecting"),t.unselecting=!0,s._trigger("unselecting",i,{unselecting:t.element}))}),x(i.target).parents().addBack().each(function(){var t,e=x.data(this,"selectable-item");return e?(t=!i.metaKey&&!i.ctrlKey||!e.$element.hasClass("ui-selected"),e.$element.removeClass(t?"ui-unselecting":"ui-selected").addClass(t?"ui-selecting":"ui-unselecting"),e.unselecting=!t,e.selecting=t,(e.selected=t)?s._trigger("selecting",i,{selecting:e.element}):s._trigger("unselecting",i,{unselecting:e.element}),!1):void 0}))},_mouseDrag:function(i){var t,s,n,o,a,r,h;if(this.dragged=!0,!this.options.disabled)return n=(s=this).options,o=this.opos[0],a=this.opos[1],r=i.pageX,h=i.pageY,rr||o>t.right||t.top>h||a>t.bottom):"fit"===n.tolerance&&(e=t.left>o&&r>t.right&&t.top>a&&h>t.bottom),e?(t.selected&&(t.$element.removeClass("ui-selected"),t.selected=!1),t.unselecting&&(t.$element.removeClass("ui-unselecting"),t.unselecting=!1),t.selecting||(t.$element.addClass("ui-selecting"),t.selecting=!0,s._trigger("selecting",i,{selecting:t.element}))):(t.selecting&&((i.metaKey||i.ctrlKey)&&t.startselected?(t.$element.removeClass("ui-selecting"),t.selecting=!1,t.$element.addClass("ui-selected"),t.selected=!0):(t.$element.removeClass("ui-selecting"),t.selecting=!1,t.startselected&&(t.$element.addClass("ui-unselecting"),t.unselecting=!0),s._trigger("unselecting",i,{unselecting:t.element}))),!t.selected||i.metaKey||i.ctrlKey||t.startselected||(t.$element.removeClass("ui-selected"),t.selected=!1,t.$element.addClass("ui-unselecting"),t.unselecting=!0,s._trigger("unselecting",i,{unselecting:t.element}))))}),!1},_mouseStop:function(e){var i=this;return this.dragged=!1,x(".ui-unselecting",this.element[0]).each(function(){var t=x.data(this,"selectable-item");t.$element.removeClass("ui-unselecting"),t.unselecting=!1,t.startselected=!1,i._trigger("unselected",e,{unselected:t.element})}),x(".ui-selecting",this.element[0]).each(function(){var t=x.data(this,"selectable-item");t.$element.removeClass("ui-selecting").addClass("ui-selected"),t.selecting=!1,t.selected=!0,t.startselected=!0,i._trigger("selected",e,{selected:t.element})}),this._trigger("stop",e),this.helper.remove(),!1}}),x.widget("ui.selectmenu",{version:"1.11.2",defaultElement:"",e.querySelectorAll("[msallowcapture^='']").length&&m.push("[*^$]="+a+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||m.push("\\["+a+"*(?:value|"+G+")"),e.querySelectorAll("[id~="+x+"-]").length||m.push("~="),e.querySelectorAll(":checked").length||m.push(":checked"),e.querySelectorAll("a#"+x+"+*").length||m.push(".#.+[+~]")}),q(function(e){var t=u.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&m.push("name"+a+"*[*^$|!~]?="),e.querySelectorAll(":enabled").length||m.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),m.push(",.*:")})),(p.matchesSelector=D.test(i=t.matches||t.webkitMatchesSelector||t.mozMatchesSelector||t.oMatchesSelector||t.msMatchesSelector))&&q(function(e){p.disconnectedMatch=i.call(e,"div"),i.call(e,"[s!='']:x"),r.push("!=",K)}),m=m.length&&new RegExp(m.join("|")),r=r.length&&new RegExp(r.join("|")),e=D.test(t.compareDocumentPosition),v=e||D.test(t.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,t=t&&t.parentNode;return e===t||!(!t||1!==t.nodeType||!(n.contains?n.contains(t):e.compareDocumentPosition&&16&e.compareDocumentPosition(t)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},z=e?function(e,t){var n;return e===t?(c=!0,0):(n=!e.compareDocumentPosition-!t.compareDocumentPosition)||(1&(n=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!p.sortDetached&&t.compareDocumentPosition(e)===n?e===u||e.ownerDocument===y&&v(y,e)?-1:t===u||t.ownerDocument===y&&v(y,t)?1:l?k(l,e)-k(l,t):0:4&n?-1:1)}:function(e,t){if(e===t)return c=!0,0;var n,r=0,i=e.parentNode,o=t.parentNode,s=[e],a=[t];if(!i||!o)return e===u?-1:t===u?1:i?-1:o?1:l?k(l,e)-k(l,t):0;if(i===o)return pe(e,t);for(n=e;n=n.parentNode;)s.unshift(n);for(n=t;n=n.parentNode;)a.unshift(n);for(;s[r]===a[r];)r++;return r?pe(s[r],a[r]):s[r]===y?-1:a[r]===y?1:0},u):T},A.matches=function(e,t){return A(e,null,null,t)},A.matchesSelector=function(e,t){if((e.ownerDocument||e)!==T&&h(e),t=t.replace(ne,"='$1']"),!(!p.matchesSelector||!g||r&&r.test(t)||m&&m.test(t)))try{var n=i.call(e,t);if(n||p.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){}return 0":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(j,f),e[3]=(e[3]||e[4]||e[5]||"").replace(j,f),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||A.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&A.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return S.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&re.test(n)&&(t=(t=d(n,!0))&&n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(j,f).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=I[e+" "];return t||(t=new RegExp("(^|"+a+")"+e+"("+a+"|$)"))&&I(e,function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(t,n,r){return function(e){e=A.attr(e,t);return null==e?"!="===n:!n||(e+="","="===n?e===r:"!="===n?e!==r:"^="===n?r&&0===e.indexOf(r):"*="===n?r&&-1(?:<\/\1>|)$/,Y=/^.[^:#\[\.,]*$/;function G(e,n,r){if(w.isFunction(n))return w.grep(e,function(e,t){return!!n.call(e,t,e)!==r});if(n.nodeType)return w.grep(e,function(e){return e===n!==r});if("string"==typeof n){if(Y.test(n))return w.filter(n,e,r);n=w.filter(n,e)}return w.grep(e,function(e){return 0<=i.call(n,e)!==r})}w.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?w.find.matchesSelector(r,e)?[r]:[]:w.find.matches(e,w.grep(t,function(e){return 1===e.nodeType}))},w.fn.extend({find:function(e){var t,n=this.length,r=[],i=this;if("string"!=typeof e)return this.pushStack(w(e).filter(function(){for(t=0;t)[^>]*|#([\w-]*))$/,J=((w.fn.init=function(e,t){var n,r;if(e){if("string"!=typeof e)return e.nodeType?(this.context=this[0]=e,this.length=1,this):w.isFunction(e)?void 0!==o.ready?o.ready(e):e(w):(void 0!==e.selector&&(this.selector=e.selector,this.context=e.context),w.makeArray(e,this));if(!(n="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:Q.exec(e))||!n[1]&&t)return(!t||t.jquery?t||o:this.constructor(t)).find(e);if(n[1]){if(t=t instanceof w?t[0]:t,w.merge(this,w.parseHTML(n[1],t&&t.nodeType?t.ownerDocument||t:m,!0)),V.test(n[1])&&w.isPlainObject(t))for(n in t)w.isFunction(this[n])?this[n](t[n]):this.attr(n,t[n])}else(r=m.getElementById(n[2]))&&r.parentNode&&(this.length=1,this[0]=r),this.context=m,this.selector=e}return this}).prototype=w.fn,o=w(m),/^(?:parents|prev(?:Until|All))/),K={children:!0,contents:!0,next:!0,prev:!0};function Z(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}w.extend({dir:function(e,t,n){for(var r=[],i=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(i&&w(e).is(n))break;r.push(e)}return r},sibling:function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n}}),w.fn.extend({has:function(e){var t=w(e,this),n=t.length;return this.filter(function(){for(var e=0;ex",g.noCloneChecked=!!e.cloneNode(!0).lastChild.defaultValue,"undefined"),oe=(g.focusinBubbles="onfocusin"in h,/^key/),se=/^(?:mouse|pointer|contextmenu)|click/,ae=/^(?:focusinfocus|focusoutblur)$/,ue=/^([^.]*)(?:\.(.+)|)$/;function p(){return!0}function d(){return!1}function le(){try{return m.activeElement}catch(e){}}w.event={global:{},add:function(t,e,n,r,i){var o,s,a,u,l,c,f,p,d,h=v.get(t);if(h)for(n.handler&&(n=(o=n).handler,i=o.selector),n.guid||(n.guid=w.guid++),a=(a=h.events)||(h.events={}),s=(s=h.handle)||(h.handle=function(e){return typeof w!=x&&w.event.triggered!==e.type?w.event.dispatch.apply(t,arguments):void 0}),u=(e=(e||"").match(T)||[""]).length;u--;)f=d=(p=ue.exec(e[u])||[])[1],p=(p[2]||"").split(".").sort(),f&&(l=w.event.special[f]||{},f=(i?l.delegateType:l.bindType)||f,l=w.event.special[f]||{},d=w.extend({type:f,origType:d,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&w.expr.match.needsContext.test(i),namespace:p.join(".")},o),(c=a[f])||((c=a[f]=[]).delegateCount=0,l.setup&&!1!==l.setup.call(t,r,p,s))||t.addEventListener&&t.addEventListener(f,s,!1),l.add&&(l.add.call(t,d),d.handler.guid||(d.handler.guid=n.guid)),i?c.splice(c.delegateCount++,0,d):c.push(d),w.event.global[f]=!0)},remove:function(e,t,n,r,i){var o,s,a,u,l,c,f,p,d,h,g,m=v.hasData(e)&&v.get(e);if(m&&(u=m.events)){for(l=(t=(t||"").match(T)||[""]).length;l--;)if(d=g=(a=ue.exec(t[l])||[])[1],h=(a[2]||"").split(".").sort(),d){for(f=w.event.special[d]||{},p=u[d=(r?f.delegateType:f.bindType)||d]||[],a=a[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),s=o=p.length;o--;)c=p[o],!i&&g!==c.origType||n&&n.guid!==c.guid||a&&!a.test(c.namespace)||r&&r!==c.selector&&("**"!==r||!c.selector)||(p.splice(o,1),c.selector&&p.delegateCount--,f.remove&&f.remove.call(e,c));s&&!p.length&&(f.teardown&&!1!==f.teardown.call(e,h,m.handle)||w.removeEvent(e,d,m.handle),delete u[d])}else for(d in u)w.event.remove(e,d+t[l],n,r,!0);w.isEmptyObject(u)&&(delete m.handle,v.remove(e,"events"))}},trigger:function(e,t,n,r){var i,o,s,a,u,l,c=[n||m],f=I.call(e,"type")?e.type:e,p=I.call(e,"namespace")?e.namespace.split("."):[],d=o=n=n||m;if(3!==n.nodeType&&8!==n.nodeType&&!ae.test(f+w.event.triggered)&&(0<=f.indexOf(".")&&(f=(p=f.split(".")).shift(),p.sort()),a=f.indexOf(":")<0&&"on"+f,(e=e[w.expando]?e:new w.Event(f,"object"==typeof e&&e)).isTrigger=r?2:3,e.namespace=p.join("."),e.namespace_re=e.namespace?new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=n),t=null==t?[e]:w.makeArray(t,[e]),l=w.event.special[f]||{},r||!l.trigger||!1!==l.trigger.apply(n,t))){if(!r&&!l.noBubble&&!w.isWindow(n)){for(s=l.delegateType||f,ae.test(s+f)||(d=d.parentNode);d;d=d.parentNode)c.push(d),o=d;o===(n.ownerDocument||m)&&c.push(o.defaultView||o.parentWindow||h)}for(i=0;(d=c[i++])&&!e.isPropagationStopped();)e.type=1]*)\/>/gi,fe=/<([\w:]+)/,pe=/<|&#?\w+;/,de=/<(?:script|style|link)/i,he=/checked\s*(?:[^=]|=\s*.checked.)/i,ge=/^$|\/(?:java|ecma)script/i,me=/^true\/(.*)/,ve=/^\s*\s*$/g,b={option:[1,""],thead:[1,"","
    "],col:[2,"","
    "],tr:[2,"","
    "],td:[3,"","
    "],_default:[0,"",""]};function ye(e,t){return w.nodeName(e,"table")&&w.nodeName(11!==t.nodeType?t:t.firstChild,"tr")?e.getElementsByTagName("tbody")[0]||e.appendChild(e.ownerDocument.createElement("tbody")):e}function xe(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function be(e){var t=me.exec(e.type);return t?e.type=t[1]:e.removeAttribute("type"),e}function we(e,t){for(var n=0,r=e.length;n")+s[2],u=s[0];u--;)o=o.lastChild;w.merge(c,o.childNodes),(o=l.firstChild).textContent=""}else c.push(t.createTextNode(i));for(l.textContent="",f=0;i=c[f++];)if((!r||-1===w.inArray(i,r))&&(a=w.contains(i.ownerDocument,i),o=C(l.appendChild(i),"script"),a&&we(o),n))for(u=0;i=o[u++];)ge.test(i.type||"")&&n.push(i);return l},cleanData:function(e){for(var t,n,r,i,o=w.event.special,s=0;void 0!==(n=e[s]);s++){if(w.acceptData(n)&&(i=n[v.expando])&&(t=v.cache[i])){if(t.events)for(r in t.events)o[r]?w.event.remove(n,r):w.removeEvent(n,r,t.handle);v.cache[i]&&delete v.cache[i]}delete l.cache[n[l.expando]]}}}),w.fn.extend({text:function(e){return a(this,function(e){return void 0===e?w.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)})},null,e,arguments.length)},append:function(){return this.domManip(arguments,function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||ye(this,e).appendChild(e)})},prepend:function(){return this.domManip(arguments,function(e){var t;1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(t=ye(this,e)).insertBefore(e,t.firstChild)})},before:function(){return this.domManip(arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return this.domManip(arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},remove:function(e,t){for(var n,r=e?w.filter(e,this):this,i=0;null!=(n=r[i]);i++)t||1!==n.nodeType||w.cleanData(C(n)),n.parentNode&&(t&&w.contains(n.ownerDocument,n)&&we(C(n,"script")),n.parentNode.removeChild(n));return this},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(w.cleanData(C(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return w.clone(this,e,t)})},html:function(e){return a(this,function(e){var t=this[0]||{},n=0,r=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!de.test(e)&&!b[(fe.exec(e)||["",""])[1].toLowerCase()]){e=e.replace(ce,"<$1>");try{for(;n")).appendTo(t.documentElement))[0].contentDocument).write(),t.close(),n=ke(e,t),Ce.detach()),Ne[e]=n),n}function N(e){return(e.ownerDocument.defaultView.opener?e.ownerDocument.defaultView:h).getComputedStyle(e,null)}var Se,De,k,E,S,je=/^margin/,Ae=new RegExp("^("+t+")(?!px)[a-z%]+$","i");function D(e,t,n){var r,i,o=e.style;return(n=n||N(e))&&(i=n.getPropertyValue(t)||n[t]),n&&(""!==i||w.contains(e.ownerDocument,e)||(i=w.style(e,t)),Ae.test(i))&&je.test(t)&&(e=o.width,t=o.minWidth,r=o.maxWidth,o.minWidth=o.maxWidth=o.width=i,i=n.width,o.width=e,o.minWidth=t,o.maxWidth=r),void 0!==i?i+"":i}function Le(e,t){return{get:function(){return e()?void delete this.get:(this.get=t).apply(this,arguments)}}}function qe(){S.style.cssText="-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;display:block;margin-top:1%;top:1%;border:1px;padding:1px;width:4px;position:absolute",S.innerHTML="",k.appendChild(E);var e=h.getComputedStyle(S,null);Se="1%"!==e.top,De="4px"===e.width,k.removeChild(E)}k=m.documentElement,E=m.createElement("div"),(S=m.createElement("div")).style&&(S.style.backgroundClip="content-box",S.cloneNode(!0).style.backgroundClip="",g.clearCloneStyle="content-box"===S.style.backgroundClip,E.style.cssText="border:0;width:0;height:0;top:0;left:-9999px;margin-top:1px;position:absolute",E.appendChild(S),h.getComputedStyle)&&w.extend(g,{pixelPosition:function(){return qe(),Se},boxSizingReliable:function(){return null==De&&qe(),De},reliableMarginRight:function(){var e,t=S.appendChild(m.createElement("div"));return t.style.cssText=S.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:0",t.style.marginRight=t.style.width="0",S.style.width="1px",k.appendChild(E),e=!parseFloat(h.getComputedStyle(t,null).marginRight),k.removeChild(E),S.removeChild(t),e}}),w.swap=function(e,t,n,r){var i,o={};for(i in t)o[i]=e.style[i],e.style[i]=t[i];for(i in n=n.apply(e,r||[]),t)e.style[i]=o[i];return n};var He=/^(none|table(?!-c[ea]).+)/,Oe=new RegExp("^("+t+")(.*)$","i"),Fe=new RegExp("^([+-])=("+t+")","i"),Pe={position:"absolute",visibility:"hidden",display:"block"},Re={letterSpacing:"0",fontWeight:"400"},Me=["Webkit","O","Moz","ms"];function We(e,t){if(t in e)return t;for(var n=t[0].toUpperCase()+t.slice(1),r=t,i=Me.length;i--;)if((t=Me[i]+n)in e)return t;return r}function $e(e,t,n){var r=Oe.exec(t);return r?Math.max(0,r[1]-(n||0))+(r[2]||"px"):t}function Ie(e,t,n,r,i){for(var o=n===(r?"border":"content")?4:"width"===t?1:0,s=0;o<4;o+=2)"margin"===n&&(s+=w.css(e,n+f[o],!0,i)),r?("content"===n&&(s-=w.css(e,"padding"+f[o],!0,i)),"margin"!==n&&(s-=w.css(e,"border"+f[o]+"Width",!0,i))):(s+=w.css(e,"padding"+f[o],!0,i),"padding"!==n&&(s+=w.css(e,"border"+f[o]+"Width",!0,i)));return s}function Be(e,t,n){var r=!0,i="width"===t?e.offsetWidth:e.offsetHeight,o=N(e),s="border-box"===w.css(e,"boxSizing",!1,o);if(i<=0||null==i){if(((i=D(e,t,o))<0||null==i)&&(i=e.style[t]),Ae.test(i))return i;r=s&&(g.boxSizingReliable()||i===e.style[t]),i=parseFloat(i)||0}return i+Ie(e,t,n||(s?"border":"content"),r,o)+"px"}function _e(e,t){for(var n,r,i,o=[],s=0,a=e.length;s").prop({async:!0,charset:n.scriptCharset,src:n.url}).on("load error",i=function(e){r.remove(),i=null,e&&t("error"===e.type?404:200,e.type)}),m.head.appendChild(r[0])},abort:function(){i&&i()}}}),[]),St=/(=)\?(?=&|$)|\?\?/,Dt=(w.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Et.pop()||w.expando+"_"+rt++;return this[e]=!0,e}}),w.ajaxPrefilter("json jsonp",function(e,t,n){var r,i,o,s=!1!==e.jsonp&&(St.test(e.url)?"url":"string"==typeof e.data&&!(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&St.test(e.data)&&"data");return s||"jsonp"===e.dataTypes[0]?(r=e.jsonpCallback=w.isFunction(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,s?e[s]=e[s].replace(St,"$1"+r):!1!==e.jsonp&&(e.url+=(it.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return o||w.error(r+" was not called"),o[0]},e.dataTypes[0]="json",i=h[r],h[r]=function(){o=arguments},n.always(function(){h[r]=i,e[r]&&(e.jsonpCallback=t.jsonpCallback,Et.push(r)),o&&w.isFunction(i)&&i(o[0]),o=i=void 0}),"script"):void 0}),w.parseHTML=function(e,t,n){if(!e||"string"!=typeof e)return null;"boolean"==typeof t&&(n=t,t=!1),t=t||m;var r=V.exec(e),n=!n&&[];return r?[t.createElement(r[1])]:(r=w.buildFragment([e],t,n),n&&n.length&&w(n).remove(),w.merge([],r.childNodes))},w.fn.load),jt=(w.fn.load=function(e,t,n){var r,i,o,s,a;return"string"!=typeof e&&Dt?Dt.apply(this,arguments):(s=this,0<=(a=e.indexOf(" "))&&(r=w.trim(e.slice(a)),e=e.slice(0,a)),w.isFunction(t)?(n=t,t=void 0):t&&"object"==typeof t&&(i="POST"),0").append(w.parseHTML(e)).find(r):e)}).complete(n&&function(e,t){s.each(n,o||[e.responseText,t,e])}),this)},w.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){w.fn[t]=function(e){return this.on(t,e)}}),w.expr.filters.animated=function(t){return w.grep(w.timers,function(e){return t===e.elem}).length},h.document.documentElement);function At(e){return w.isWindow(e)?e:9===e.nodeType&&e.defaultView}w.offset={setOffset:function(e,t,n){var r,i,o,s,a=w.css(e,"position"),u=w(e),l={};"static"===a&&(e.style.position="relative"),o=u.offset(),r=w.css(e,"top"),s=w.css(e,"left"),a=("absolute"===a||"fixed"===a)&&-1<(r+s).indexOf("auto")?(i=(a=u.position()).top,a.left):(i=parseFloat(r)||0,parseFloat(s)||0),null!=(t=w.isFunction(t)?t.call(e,n,o):t).top&&(l.top=t.top-o.top+i),null!=t.left&&(l.left=t.left-o.left+a),"using"in t?t.using.call(e,l):u.css(l)}},w.fn.extend({offset:function(t){var e,n,r,i;return arguments.length?void 0===t?this:this.each(function(e){w.offset.setOffset(this,t,e)}):(r={top:0,left:0},(i=(n=this[0])&&n.ownerDocument)?(e=i.documentElement,w.contains(e,n)?(typeof n.getBoundingClientRect!=x&&(r=n.getBoundingClientRect()),n=At(i),{top:r.top+n.pageYOffset-e.clientTop,left:r.left+n.pageXOffset-e.clientLeft}):r):void 0)},position:function(){var e,t,n,r;if(this[0])return n=this[0],r={top:0,left:0},"fixed"===w.css(n,"position")?t=n.getBoundingClientRect():(e=this.offsetParent(),t=this.offset(),(r=w.nodeName(e[0],"html")?r:e.offset()).top+=w.css(e[0],"borderTopWidth",!0),r.left+=w.css(e[0],"borderLeftWidth",!0)),{top:t.top-r.top-w.css(n,"marginTop",!0),left:t.left-r.left-w.css(n,"marginLeft",!0)}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent||jt;e&&!w.nodeName(e,"html")&&"static"===w.css(e,"position");)e=e.offsetParent;return e||jt})}}),w.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,i){var o="pageYOffset"===i;w.fn[t]=function(e){return a(this,function(e,t,n){var r=At(e);return void 0===n?r?r[i]:e[t]:void(r?r.scrollTo(o?h.pageXOffset:n,o?n:h.pageYOffset):e[t]=n)},t,e,arguments.length,null)}}),w.each(["top","left"],function(e,n){w.cssHooks[n]=Le(g.pixelPosition,function(e,t){return t?(t=D(e,n),Ae.test(t)?w(e).position()[n]+"px":t):void 0})}),w.each({Height:"height",Width:"width"},function(o,s){w.each({padding:"inner"+o,content:s,"":"outer"+o},function(r,e){w.fn[e]=function(e,t){var n=arguments.length&&(r||"boolean"!=typeof e),i=r||(!0===e||!0===t?"margin":"border");return a(this,function(e,t,n){var r;return w.isWindow(e)?e.document.documentElement["client"+o]:9===e.nodeType?(r=e.documentElement,Math.max(e.body["scroll"+o],r["scroll"+o],e.body["offset"+o],r["offset"+o],r["client"+o])):void 0===n?w.css(e,t,i):w.style(e,t,n,i)},s,n?e:void 0,n,null)}})}),w.fn.size=function(){return this.length},w.fn.andSelf=w.fn.addBack,"function"==typeof define&&define.amd&&define("jquery",[],function(){return w});var Lt=h.jQuery,qt=h.$;return w.noConflict=function(e){return h.$===w&&(h.$=qt),e&&h.jQuery===w&&(h.jQuery=Lt),w},typeof P==x&&(h.jQuery=h.$=w),w}); var Accordion=function(o,t){this.el=o||{},this.multiple=t||!1,this.el.find(".lonyo-faq-header").on("click",{el:this.el,multiple:this.multiple},this.dropdown)},accordion=(Accordion.prototype.dropdown=function(o){var t=o.data.el;$this=$(this),($next=$this.next()).slideToggle(),$this.parent().toggleClass("open"),o.data.multiple||t.find(".lonyo-faq-body").not($next).slideUp().parent().removeClass("open")},new Accordion($(".lonyo-faq-wrap1"),!1)); !function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e((t=t||self).window=t.window||{})}(this,function(t){"use strict";function r(t,e){t.prototype=Object.create(e.prototype),(t.prototype.constructor=t).__proto__=e}function z(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function U(t){return"string"==typeof t}function f(t){return"function"==typeof t}function $(t){return"number"==typeof t}function s(t){return void 0===t}function A(t){return"object"==typeof t}function F(t){return!1!==t}function o(){return"undefined"!=typeof window}function J(t){return f(t)||U(t)}function i(t){return(Zt=Nt(t,a))&&d}function K(t,e){return console.warn("Invalid property",t,"set to",e,"Missing plugin? gsap.registerPlugin()")}function tt(t,e){return!e&&console.warn(t)}function m(t,e){return t&&(a[t]=e)&&Zt&&(Zt[t]=e)||a}function g(){return 0}function et(t){var e,r,i=t[0];if(A(i)||f(i)||(t=[t]),!(e=(i._gsap||{}).harness)){for(r=Ie.length;r--&&!Ie[r].targetTest(i););e=Ie[r]}for(r=t.length;r--;)t[r]&&(t[r]._gsap||(t[r]._gsap=new Ke(t[r],e)))||t.splice(r,1);return t}function rt(t){return t._gsap||et(S(t))[0]._gsap}function v(t,e,r){return(r=t[e])&&f(r)?t[e]():s(r)&&t.getAttribute&&t.getAttribute(e)||r}function p(t,e){return(t=t.split(",")).forEach(e)||t}function B(t){return Math.round(1e5*t)/1e5||0}function C(t){return Math.round(1e7*t)/1e7||0}function it(t,e){var r=e.charAt(0),e=parseFloat(e.substr(2));return t=parseFloat(t),"+"===r?t+e:"-"===r?t-e:"*"===r?t*e:t/e}function nt(){var t,e,r=ze.length,i=ze.slice(0);for(Fe={},t=ze.length=0;ts;)a=a._prev;a?(e._next=a._next,a._next=e):(e._next=t[r],t[r]=e),e._next?e._next._prev=e:t[i]=e,e._prev=a,e.parent=e._dp=t}function O(t,e,r,i){void 0===r&&(r="_first"),void 0===i&&(i="_last");var n=e._prev,s=e._next;n?n._next=s:t[r]===e&&(t[r]=s),s?s._prev=n:t[i]===e&&(t[i]=n),e._next=e._prev=e.parent=null}function ot(t,e){t.parent&&(!e||t.parent.autoRemoveChildren)&&t.parent.remove&&t.parent.remove(t),t._act=0}function k(t,e){if(t&&(!e||e._end>t._dur||e._start<0))for(var r=t;r;)r._dirty=1,r=r.parent;return t}function ut(t,e,r,i){t._startAt&&(I?t._startAt.revert(Se):t.vars.immediateRender&&!t.vars.autoRevert||t._startAt.render(e,!0,i))}function ht(t){return t._repeat?qt(t._tTime,t=t.duration()+t._rDelay)*t:0}function lt(t,e){return(t-e._start)*e._ts+(0<=e._ts?0:e._dirty?e.totalDuration():e._tDur)}function ft(t){t._end=C(t._start+(t._tDur/Math.abs(t._ts||t._rts||V)||0))}function ct(t,e){var r=t._dp;r&&r.smoothChildTiming&&t._ts&&(t._start=C(r._time-(0V)&&e.render(r,!0),k(t,e)._dp&&t._initted&&t._time>=t._dur&&t._ts){if(t._dur(n=Math.abs(n))&&(s=i,o=n);return s}function Pt(t){return ot(t),t.scrollTrigger&&t.scrollTrigger.kill(!!I),t.progress()<1&&x(t,"onInterrupt"),t}function St(t){if(o()&&t){var e=(t=!t.name&&t.default||t).name,r=f(t),r=e&&!r&&t.init?function(){this._props=[]}:t,i={init:g,render:wr,add:lr,kill:Mr,modifier:br,rawVars:0},n={targetTest:0,get:0,getSetter:vr,aliases:{},register:0};if(Qe(),t!==r){if(j[e])return;L(r,L(st(t,i),n)),Nt(r.prototype,Nt(i,st(t,n))),j[r.prop=e]=r,t.targetTest&&(Ie.push(r),Re[e]=1),e=("css"===e?"CSS":e.charAt(0).toUpperCase()+e.substr(1))+"Plugin"}m(e,r),t.register&&t.register(d,r,G)}else t&&Ne.push(t)}function Et(t,e,r){return(6*(t+=t<0?1:1>16,t>>8&c,t&c]:0:qe.black;if(!l){if(","===t.substr(-1)&&(t=t.substr(0,t.length-1)),qe[t])l=qe[t];else if("#"===t.charAt(0)){if(9===(t=t.length<6?"#"+(i=t.charAt(1))+i+(n=t.charAt(2))+n+(s=t.charAt(3))+s+(5===t.length?t.charAt(4)+t.charAt(4):""):t).length)return[(l=parseInt(t.substr(1,6),16))>>16,l>>8&c,l&c,parseInt(t.substr(7),16)/255];l=[(t=parseInt(t.substr(1),16))>>16,t>>8&c,t&c]}else if("hsl"===t.substr(0,3))if(l=h=t.match(be),e){if(~t.indexOf("="))return l=t.match(Me),r&&l.length<4&&(l[3]=1),l}else a=+l[0]%360/360,o=l[1]/100,i=2*(u=l[2]/100)-(n=u<=.5?u*(o+1):u+o-u*o),3=q?o.endTime(!1):t._dur;return U(e)&&(isNaN(e)||e in a)?(n=e.charAt(0),s="%"===e.substr(-1),i=e.indexOf("="),"<"===n||">"===n?(0<=i&&(e=e.replace(/=/,"")),("<"===n?o._start:o.endTime(0<=o._repeat))+(parseFloat(e.substr(1))||0)*(s?(i<0?o:r).totalDuration()/100:1)):i<0?(e in a||(a[e]=u),a[e]):(n=parseFloat(e.charAt(i-1)+e.substr(i+1)),s&&r&&(n=n/100*(P(r)?r[0]:r).totalDuration()),1=e&&te)return i;i=i._next}else for(i=t._last;i&&i._start>=r;){if("isPause"===i.data&&i._start=y._start)&&y._ts&&u!==y){if(y.parent!==this)return this.render(t,e,r);if(y.render(0=this.totalDuration()||!m&&p)||l!==this._start&&Math.abs(h)===Math.abs(this._ts)||this._lock||(!t&&d||!(m===_&&0=i&&(s instanceof Q?e&&n.push(s):(r&&n.push(s),t&&n.push.apply(n,s.getChildren(!0,e,r)))),s=s._next;return n},e.getById=function(t){for(var e=this.getChildren(1,1,1),r=e.length;r--;)if(e[r].vars.id===t)return e[r]},e.remove=function(t){return U(t)?this.removeLabel(t):f(t)?this.killTweensOf(t):(O(this,t),t===this._recent&&(this._recent=this._last),k(this))},e.totalTime=function(t,e){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=C(_.time-(0e:!e||s.isActive())&&i.push(s):(r=s.getTweensOf(n,e)).length&&i.push.apply(i,r),s=s._next;return i},e.tweenTo=function(t,e){e=e||{};var r,i=this,n=h(i,t),s=e.startAt,a=e.onStart,o=e.onStartParams,t=e.immediateRender,u=Q.to(i,L({ease:e.ease||"none",lazy:!1,immediateRender:!1,time:n,overwrite:"auto",duration:e.duration||Math.abs((n-(s&&"time"in s?s.time:i._time))/i.timeScale())||V,onStart:function(){var t;i.pause(),r||(t=e.duration||Math.abs((n-(s&&"time"in s?s.time:i._time))/i.timeScale()),u._dur!==t&&mt(u,t,0,1).render(u._time,!0,!0),r=1),a&&a.apply(u,o||[])}},e));return t?u.render(0):u},e.tweenFromTo=function(t,e,r){return this.tweenTo(e,L({startAt:{time:h(this,t)}},r))},e.recent=function(){return this._recent},e.nextLabel=function(t){return void 0===t&&(t=this._time),Dt(this,h(this,t))},e.previousLabel=function(t){return void 0===t&&(t=this._time),Dt(this,h(this,t),1)},e.currentLabel=function(t){return arguments.length?this.seek(t,!0):this.previousLabel(this._time+V)},e.shiftChildren=function(t,e,r){void 0===r&&(r=0);for(var i,n=this._first,s=this.labels;n;)n._start>=r&&(n._start+=t,n._end+=t),n=n._next;if(e)for(i in s)s[i]>=r&&(s[i]+=t);return k(this)},e.invalidate=function(t){var e=this._first;for(this._lock=0;e;)e.invalidate(t),e=e._next;return rr.prototype.invalidate.call(this,t)},e.clear=function(t){void 0===t&&(t=!0);for(var e,r=this._first;r;)e=r._next,this.remove(r),r=e;return this._dp&&(this._time=this._tTime=this._pTime=0),t&&(this.labels={}),k(this)},e.totalDuration=function(t){var e,r,i,n=0,s=this,a=s._last,o=q;if(arguments.length)return s.timeScale((s._repeat<0?s.duration():s.totalDuration())/(s.reversed()?-t:t));if(s._dirty){for(i=s.parent;a;)e=a._prev,a._dirty&&a.totalDuration(),o<(r=a._start)&&s._sort&&a._ts&&!s._lock?(s._lock=1,D(s,a,r-a._delay,1)._lock=0):o=r,r<0&&a._ts&&(n-=r,(!i&&!s._dp||i&&i.smoothChildTiming)&&(s._start+=r/s._ts,s._time-=r,s._tTime-=r),s.shiftChildren(-r,!1,-1/0),o=0),a._end>n&&a._ts&&(n=a._end),a=e;mt(s,s===Y&&s._time>n?s._time:n,1,1),s._dirty=0}return s._tDur},ir.updateRoot=function(t){if(Y._ts&&(y(Y,lt(t,Y)),Jt=_.frame),_.frame>=Le){Le+=N.autoSleep||120;var e=Y._first;if((!e||!e._ts)&&N.autoSleep&&_._listeners.length<2){for(;e&&!e._ts;)e=e._next;e||_.sleep()}}};var rr,R=ir;function ir(t,e){var r;return(r=rr.call(this,t=void 0===t?{}:t)||this).labels={},r.smoothChildTiming=!!t.smoothChildTiming,r.autoRemoveChildren=!!t.autoRemoveChildren,r._sort=F(t.sortChildren),Y&&D(t.parent||Y,z(r),e),t.reversed&&r.reverse(),t.paused&&r.paused(!0),t.scrollTrigger&&_t(z(r),t.scrollTrigger),r}function nr(t,e,r,i,n,s){var a,o,u,h;if(j[t]&&!1!==(a=new j[t]).init(n,a.rawVars?e[t]:function(t,e,r,i,n){if(!A(t=f(t)?ar(t,n,e,r,i):t)||t.style&&t.nodeType||P(t)||we(t))return U(t)?ar(t,n,e,r,i):t;var s,a={};for(s in t)a[s]=ar(t[s],n,e,r,i);return a}(e[t],i,n,s,r),r,i,s)&&(r._pt=o=new G(r._pt,n,t,0,1,a.render,a,0,a.priority),r!==Ur))for(u=r._ptLookup[r._targets.indexOf(n)],h=a._props.length;h--;)u[a._props[h]]=o;return a}L(R.prototype,{_lock:0,_hasPause:0,_forcing:0});function sr(t,e,r){var i,n,s,a,o,u,h,l,f,c,p,_,d,m=t.vars,g=m.ease,v=m.startAt,y=m.immediateRender,T=m.lazy,x=m.onUpdate,w=m.onUpdateParams,b=m.callbackScope,M=m.runBackwards,O=m.yoyoEase,k=m.keyframes,A=m.autoRevert,C=t._dur,D=t._startAt,P=t._targets,S=t.parent,E=S&&"nested"===S.data?S.vars.targets:P,R="auto"===t._overwrite&&!Gt,z=t.timeline;if(t._ease=Ze(g=!z||k&&g?g:"none",de.ease),t._yEase=O?He(Ze(!0===O?g:O,de.ease)):0,O&&t._yoyo&&!t._repeat&&(O=t._yEase,t._yEase=t._ease,t._ease=O),t._from=!z&&!!m.runBackwards,!z||k&&!m.stagger){if(_=(l=P[0]?rt(P[0]).harness:0)&&m[l.prop],i=st(m,Re),D&&(D._zTime<0&&D.progress(1),e<0&&M&&y&&!A?D.render(-1,!0):D.revert(M&&C?Se:Pe),D._lazy=0),v){if(ot(t._startAt=Q.set(P,L({data:"isStart",overwrite:!1,parent:S,immediateRender:!0,lazy:!D&&F(T),startAt:null,delay:0,onUpdate:x,onUpdateParams:w,callbackScope:b,stagger:0},v))),t._startAt._dp=0,t._startAt._sat=t,e<0&&(I||!y&&!A)&&t._startAt.revert(Se),y&&C&&e<=0&&r<=0)return void(e&&(t._zTime=e))}else if(M&&C&&!D)if(s=L({overwrite:!1,data:"isFromStart",lazy:(y=e?!1:y)&&!D&&F(T),immediateRender:y,stagger:0,parent:S},i),_&&(s[l.prop]=_),ot(t._startAt=Q.set(P,s)),t._startAt._dp=0,t._startAt._sat=t,e<0&&(I?t._startAt.revert(Se):t._startAt.render(-1,!0)),t._zTime=e,y){if(!e)return}else sr(t._startAt,V,V);for(t._pt=t._ptCache=0,T=C&&F(T)||T&&!C,n=0;n=f._tDur||c<0)&&f.ratio===v&&(v&&ot(f,1),p||I||(x(f,v?"onComplete":"onReverseComplete",!0),f._prom&&f._prom()))}}else f._zTime||(f._zTime=c)}return this},e.targets=function(){return this._targets},e.invalidate=function(t){return t&&this.vars.runBackwards||(this._startAt=0),this._pt=this._op=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(t),hr.prototype.invalidate.call(this,t)},e.resetTo=function(t,e,r,i){Kt||_.wake(),this._ts||this.play();var n,s=Math.min(this._dur,(this._dp._time-this._start)*this._ts);return this._initted||sr(this,s),n=this._ease(s/this._dur),function(t,e,r,i,n,s,a){var o,u,h,l,f=(t._pt&&t._ptCache||(t._ptCache={}))[e];if(!f)for(f=t._ptCache[e]=[],h=t._ptLookup,l=t._targets.length;l--;){if((o=h[l][e])&&o.d&&o.d._pt)for(o=o.d._pt;o&&o.p!==e&&o.fp!==e;)o=o._next;if(!o)return ur=1,t.vars[e]="+=0",sr(t,a),ur=0,1;f.push(o)}for(l=f.length;l--;)(o=(u=f[l])._pt||u).s=!i&&0!==i||n?o.s+(i||0)+s*o.c:i,o.c=r-o.s,u.e&&(u.e=B(r)+X(u.e)),u.b&&(u.b=o.s+X(u.b))}(this,t,e,r,i,n,s)?this.resetTo(t,e,r,i):(ct(this,0),this.parent||M(this._dp,this,"_first","_last",this._dp._sort?"_start":0),this.render(0))},e.kill=function(t,e){if(void 0===e&&(e="all"),!(t||e&&"all"!==e))return this._lazy=this._pt=0,this.parent?Pt(this):this;if(this.timeline)c=this.timeline.totalDuration(),this.timeline.killTweensOf(t,e,or&&!0!==or.vars.overwrite)._first||Pt(this),this.parent&&c!==this.timeline.totalDuration()&&mt(this,this._dur*this.timeline._tDur/c,0,1);else{var r,i,n,s,a,o,u,h=this._targets,l=t?S(t):h,f=this._ptLookup,c=this._pt;if((!e||"all"===e)&&function(t,e){for(var r=t.length,i=r===e.length;i&&r--&&t[r]===e[r];);return r<0}(h,l))return"all"===e&&(this._pt=0),Pt(this);for(r=this._op=this._op||[],"all"!==e&&(U(e)&&(a={},p(e,function(t){return a[t]=1}),e=a),e=function(t,e){var r,i,n,s,t=t[0]?rt(t[0]).harness:0,a=t&&t.aliases;if(!a)return e;for(i in r=Nt({},e),a)if(i in r)for(n=(s=a[i].split(",")).length;n--;)r[s[n]]=r[i];return r}(h,e)),u=h.length;u--;)if(~l.indexOf(h[u]))for(a in i=f[u],"all"===e?(r[u]=e,s=i,n={}):(n=r[u]=r[u]||{},s=e),s)(o=i&&i[a])&&("kill"in o.d&&!0!==o.d.kill(a)||O(this,o,"_pt"),delete i[a]),"all"!==n&&(n[a]=1);this._initted&&!this._pt&&c&&Pt(this)}return this},n.to=function(t,e,r){return new n(t,e,r)},n.from=function(t,e){return vt(1,arguments)},n.delayedCall=function(t,e,r,i){return new n(e,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:t,onComplete:e,onReverseComplete:e,onCompleteParams:r,onReverseCompleteParams:r,callbackScope:i})},n.fromTo=function(t,e,r){return vt(2,arguments)},n.set=function(t,e){return e.duration=0,e.repeatDelay||(e.repeat=0),new n(t,e)},n.killTweensOf=function(t,e,r){return Y.killTweensOf(t,e,r)},n);function n(t,e,r,i){var n;"number"==typeof e&&(r.duration=e,e=r,r=null);var s,a,o,u,h,l,f,c,i=(n=hr.call(this,i?e:at(e))||this).vars,p=i.duration,_=i.delay,d=i.immediateRender,m=i.stagger,g=i.overwrite,v=i.keyframes,y=i.defaults,T=i.scrollTrigger,x=i.yoyoEase,i=e.parent||Y,w=(P(t)||we(t)?$(t[0]):"length"in e)?[t]:S(t);if(n._targets=w.length?et(w):tt("GSAP target "+t+" not found. https://greensock.com",!N.nullTargetWarn)||[],n._ptLookup=[],n._overwrite=g,v||m||J(p)||J(_)){if(e=n.vars,(s=n.timeline=new R({data:"nested",defaults:y||{},targets:i&&"nested"===i.data?i.vars.targets:w})).kill(),s.parent=s._dp=z(n),s._start=0,m||J(p)||J(_)){if(u=w.length,f=m&&bt(m),A(m))for(h in m)~fr.indexOf(h)&&((c=c||{})[h]=m[h]);for(a=0;a")}),s.duration();else{for(h in o={},v)"ease"!==h&&"easeEach"!==h&&function(t,r,e,i){var n,s,a=r.ease||i||"power1.inOut";if(P(r))s=e[t]||(e[t]=[]),r.forEach(function(t,e){return s.push({t:e/(r.length-1)*100,v:t,e:a})});else for(n in r)s=e[n]||(e[n]=[]),"ease"!==n&&s.push({t:parseFloat(t),v:r[n],e:a})}(h,v[h],o,v.easeEach);for(h in o)for(b=o[h].sort(function(t,e){return t.t-e.t}),a=k=0;as.pr;)r=r._next;(s._prev=r?r._prev:n)?s._prev._next=s:i=s,(s._next=r)?r._prev=s:n=s,s=e}t._pt=i},G=(kr.prototype.modifier=function(t,e,r){this.mSet=this.mSet||this.set,this.set=_r,this.m=t,this.mt=r,this.tween=e},kr);function kr(t,e,r,i,n,s,a,o,u){this.t=e,this.s=i,this.c=n,this.p=r,this.r=s||yr,this.d=a||this,this.set=o||dr,this.pr=u||0,(this._next=t)&&(t._prev=this)}function Ar(t){(Pr[t]||Sr).map(function(t){return t()})}function Cr(){var t=Date.now(),o=[];2
    ").addClass("nice-select").addClass(e.attr("class")||"").addClass(e.attr("disabled")?"disabled":"").attr("tabindex",e.attr("disabled")?null:"0").html('
      '));var n=e.next(),t=e.find("option"),e=e.find("option:selected");n.find(".current").html(e.data("display")||e.text()),t.each(function(e){var t=i(this),s=t.data("display");n.find("ul").append(i("
    • ").attr("data-value",t.val()).attr("data-display",s||null).addClass("option"+(t.is(":selected")?" selected":"")+(t.is(":disabled")?" disabled":"")).html(t.text()))})}}}(jQuery),$(document).ready(function(){$("select").niceSelect()}); $(document).ready(function(){$(".lonyo-product-minus").click(function(){var n=$(this).parent().find("input"),t=parseInt(n.val())-1;return n.val(t<1?1:t),n.change(),!1}),$(".lonyo-product-plus").click(function(){var n=$(this).parent().find("input");return n.val(parseInt(n.val())+1),n.change(),!1})}); !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e=e||self).window=e.window||{})}(this,function(e){"use strict";function t(e,t){for(var r=0;rMath.abs(t)?i:t)/(1-r),t=-i*r,0t.end&&(s+=t.distance),n-=t.distance}o=v+s+b*((J.utils.clamp(e.start,e.end,r)-e.start-s)/(n-e.start)-d)}e=o+h,o=Math.round(1e5*e)/1e5||0,w.length&&!u&&w.forEach(function(e){return e(o-s)}),f?(f.resetTo("y",o,-A,!0),M&&f.progress(1)):(m.y=o+"px",m.renderTransform(1))}}})),J.core.getCache(c.trigger).stRevert=L,c.startY=v,c.pins=y,c.markers=w,c.ratio=l,c.autoSpeed=u,s.style.willChange="transform"),c}Q||ue.register(J)||console.warn("Please gsap.registerPlugin(ScrollSmoother)"),t=this.vars=t||{},oe&&oe.kill(),le(oe=this);var f,T,d,h,x,g,N,U,q,p,v,V,m,y,j,w=t.smoothTouch,D=t.onUpdate,Y=t.onStop,b=t.smooth,K=t.onFocusIn,E=t.normalizeScroll,W=t.wholePixels,G=this,P=t.effectsPrefix||"",R=ne.getScrollFunc(X),k=1===ne.isTouch?!0===w?.8:parseFloat(w)||0:0===b||!1===b?0:parseFloat(b)||.8,C=k&&+t.speed||1,_=0,A=0,M=1,z=se(0),F={y:0},B="undefined"!=typeof ResizeObserver&&!1!==t.autoResize&&new ResizeObserver(function(){var e;ne.isRefreshing||((e=ne.maxScroll(T))<-_&&s(e),ce.restart(!0))});function H(){return d=f.clientHeight,f.style.overflow="visible",ee.style.height=X.innerHeight+(d-X.innerHeight)/C+"px",d-X.innerHeight}u(),ne.addEventListener("killAll",u),J.delayedCall(.5,function(){return M=0}),this.scrollTop=s,this.scrollTo=function(e,t,r){r=J.utils.clamp(0,ne.maxScroll(X),isNaN(e)?n.offset(e,r):+e);t?p?J.to(n,{duration:k,scrollTop:r,overwrite:"auto",ease:ie}):R(r):s(r)},this.offset=function(e,t){var r,n=(e=te(e)[0]).style.cssText,t=ne.create({trigger:e,start:t||"top top"});return x&&l([t]),r=t.start/C,t.kill(!1),e.style.cssText=n,J.core.getCache(e).uncache=1,r},this.content=function(e){return arguments.length?((e=te(e||"#smooth-content")[0]||console.warn("ScrollSmoother needs a valid content element.")||ee.children[0])!==f&&(q=(f=e).getAttribute("style")||"",B&&B.observe(f),J.set(f,{overflow:"visible",width:"100%",boxSizing:"border-box",y:"+=0"}),k||J.set(f,{clearProps:"transform"})),this):f},this.wrapper=function(e){return arguments.length?(T=te(e||"#smooth-wrapper")[0]||(e=f,(t=Z.querySelector(".ScrollSmoother-wrapper"))||((t=Z.createElement("div")).classList.add("ScrollSmoother-wrapper"),e.parentNode.insertBefore(t,e),t.appendChild(e)),t),U=T.getAttribute("style")||"",H(),J.set(T,k?{overflow:"hidden",position:"fixed",height:"100%",width:"100%",top:0,left:0,right:0,bottom:0}:{overflow:"visible",position:"relative",width:"100%",height:"auto",top:"auto",bottom:"auto",left:"auto",right:"auto"}),this):T;var t},this.effects=function(e,t){if(x=x||[],!e)return x.slice(0);(e=te(e)).forEach(function(e){for(var t=x.length;t--;)x[t].trigger===e&&x[t].kill()});for(var r,n=(t=t||{}).speed,o=t.lag,i=t.effectsPadding,s=[],a=0;ae._dp._time,V=_,F.y=0,k&&(1===ne.isTouch&&(T.style.position="absolute"),T.scrollTop=0,1===ne.isTouch)&&(T.style.position="fixed")},onRefresh:function(e){e.animation.invalidate(),e.setPositions(e.start,H()/C),m||o(e),F.y=-R()*C,i(F.y),M||e.animation.progress(J.utils.clamp(0,1,V/C/-e.end)),m&&(e.progress-=.001,e.update()),ue.isRefreshing=!1},id:"ScrollSmoother",scroller:X,invalidateOnRefresh:!0,start:0,refreshPriority:-9999,end:function(){return H()/C},onScrubComplete:function(){z.reset(),Y&&Y(n)},scrub:k||!0}),this.smooth=function(e){return arguments.length&&(C=(k=e||0)&&+t.speed||1,h.scrubDuration(e)),h.getTween()?h.getTween().duration():0},h.getTween()&&(h.getTween().vars.ease=t.ease||ie),this.scrollTrigger=h,t.effects&&this.effects(!0===t.effects?"[data-"+P+"speed], [data-"+P+"lag]":t.effects,{effectsPadding:t.effectsPadding}),t.sections&&this.sections(!0===t.sections?"[data-section]":t.sections),w.forEach(function(e){e.vars.scroller=T,e.revert(!1,!0),e.init(e.vars,e.animation)}),this.paused=function(e,t){return arguments.length?(!!p!==e&&(e?(h.getTween()&&h.getTween().pause(),R(-_/C),z.reset(),(v=ne.normalizeScroll())&&v.disable(),(p=ne.observe({preventDefault:!0,type:"wheel,touch,scroll",debounce:!1,allowClicks:!0,onChangeY:function(){return s(-_)}})).nested=ae($,"wheel,touch,scroll",!0,!1!==t)):(p.nested.kill(),p.kill(),p=0,v&&v.enable(),h.progress=(-_/C-h.start)/(h.end-h.start),o(h))),this):!!p},this.kill=this.revert=function(){n.paused(!1),o(h),h.kill();for(var e=(x||[]).concat(g||[]),t=e.length;t--;)e[t].kill();ne.scrollerProxy(T),ne.removeEventListener("killAll",u),ne.removeEventListener("refresh",c),T.style.cssText=U,f.style.cssText=q;var r=ne.defaults({});r&&r.scroller===T&&ne.defaults({scroller:X}),n.normalizer&&ne.normalizeScroll(!1),clearInterval(N),oe=null,B&&B.disconnect(),ee.style.removeProperty("height"),X.removeEventListener("focusin",a)},this.refresh=function(e,t){return h.refresh(e,t)},E&&(this.normalizer=ne.normalizeScroll(!0===E?{debounce:!0,content:!k&&f}:E)),ne.config(t),"overscrollBehavior"in X.getComputedStyle(ee)&&J.set([ee,$],{overscrollBehavior:"none"}),"scrollBehavior"in X.getComputedStyle(ee)&&J.set([ee,$],{scrollBehavior:"auto"}),X.addEventListener("focusin",a),N=setInterval(r,250),"loading"!==Z.readyState&&requestAnimationFrame(function(){return ne.refresh()})}a.version="3.11.5",a.create=function(e){return oe&&e&&oe.content()===te(e.content)[0]?oe:new a(e)},a.get=function(){return oe},n()&&J.registerPlugin(a),e.ScrollSmoother=a,e.default=a,"undefined"==typeof window||window!==e?Object.defineProperty(e,"__esModule",{value:!0}):delete e.default}); !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e=e||self).window=e.window||{})}(this,function(e){"use strict";function r(e,t){for(var n=0;n=Math.abs(e)?t:e}function ut(){var e,n,t;(yt=Ee.core.globals().ScrollTrigger)&&yt.core&&(e=yt.core,n=e.bridge||{},t=e._scrollers,e=e._proxies,t.push.apply(t,Ie),e.push.apply(e,Xe),Ie=t,Xe=e,f=function(e,t){return n[e](t)})}function ft(e){return(Ee=e||o())&&"undefined"!=typeof document&&document.body&&(Pe=window,ht=(pt=document).documentElement,gt=pt.body,i=[Pe,pt,ht,gt],Ee.utils.clamp,xt=Ee.core.context||function(){},mt="onpointerenter"in gt?"pointer":"mouse",vt=M.isTouch=Pe.matchMedia&&Pe.matchMedia("(hover: none), (pointer: coarse)").matches?1:"ontouchstart"in Pe||0=o,r=Math.abs(t)>=o;K&&(n||r)&&K(k,e,t,A,R),n&&(W&&0Math.abs(t)?"x":"y",_=!0),"y"!==S&&(A[2]+=e,k._vx.update(e,!0)),"x"!==S&&(R[2]+=t,k._vy.update(t,!0)),r?y=y||requestAnimationFrame(v):v()}function m(e){var t,n,r,o;!g(e,1)&&(t=(e=lt(e,s)).clientX,e=e.clientY,n=t-k.x,r=e-k.y,o=k.isDragging,k.x=t,k.y=e,o||Math.abs(k.startX-t)>=i||Math.abs(k.startY-e)>=i)&&(F&&(x=!0),o||(k.isDragging=!0),de(n,r),o||N&&N(k))}function pe(e){return e.touches&&1=e)return a[r];return a[r-1]}for(r=a.length,e+=n;r--;)if(a[r]<=e)return a[r];return a[0]}:function(e,t,n){void 0===n&&(n=.001);var r=i(e);return!t||Math.abs(r-e)n&&(r*=t/100),e=e.substr(0,n-1)),e=r+(e in Q?Q[e]*t:~e.indexOf("%")?parseFloat(e)*t/100:parseFloat(e)||0)),e}function Nt(e,t,n,r,o,i,a,s){var l=o.startColor,c=o.endColor,u=o.fontSize,f=o.indent,o=o.fontWeight,d=Ve.createElement("div"),p=Ct(n)||"fixed"===at(n,"pinType"),h=-1!==e.indexOf("scroller"),n=p?je:n,g=-1!==e.indexOf("start"),l=g?l:c,c="border-color:"+l+";font-size:"+u+";color:"+l+";font-weight:"+o+";pointer-events:none;white-space:nowrap;font-family:sans-serif,Arial;z-index:1000;padding:4px 8px;border-width:0;border-style:solid;";return c+="position:"+((h||s)&&p?"fixed;":"absolute;"),!h&&!s&&p||(c+=(r===Ne?$:J)+":"+(i+parseFloat(f))+"px;"),a&&(c+="box-sizing:border-box;text-align:left;width:"+a.offsetWidth+"px;"),d._isStart=g,d.setAttribute("class","gsap-marker-"+e+(t?" marker-"+t:"")),d.style.cssText=c,d.innerText=t||0===t?e+"-"+t:e,n.children[0]?n.insertBefore(d,n.children[0]):n.appendChild(d),d._offset=d["offset"+r.op.d2],P(d,0,r,g),d}function _(){return 34je.clientWidth)||(Ie.cache++,t?K=K||requestAnimationFrame(oe):oe(),Qe||ne("scrollStart"),Qe=Je())}function S(){W=Ue.innerWidth,L=Ue.innerHeight}function Ft(){Ie.cache++,Ke||F||Ve.fullscreenElement||Ve.webkitFullscreenElement||H&&W===Ue.innerWidth&&!(Math.abs(Ue.innerHeight-L)>.25*Ue.innerHeight)||Y.restart(!0)}function Ht(){return We(O,"scrollEnd",Ht)||Kt(!0)}function k(e){for(var t=0;tt)&&e.setPositions(e.start,Math.max(e.start+1,t),!0)}),e.forEach(function(e){return e&&e.render&&e.render(-1)}),Ie.forEach(function(e){Fe(e)&&(e.smooth&&requestAnimationFrame(function(){return e.target.style.scrollBehavior="smooth"}),e.rec)&&e(e.rec)}),T(V,1),Y.pause(),bn++,oe($e=2),ot.forEach(function(e){return Fe(e.vars.onRefresh)&&e.vars.onRefresh(e)}),$e=O.isRefreshing=!1,ne("refresh")):Le(O,"scrollEnd",Ht)}function Zt(e){if(e){var t,n,r=e.t.style,o=e.length,i=0;for((e.t._gsap||qe.core.getCache(e.t)).uncache=1;i=E})},W.update=function(e,t,n){var r,o,i,a,s,l,c,u,f;(!z||n||e)&&(n=!0===$e?D:W.scroll(),s=(s=e?0:(n-T)/P)<0?0:1=Pt(F,N),he&&(e||!r&&!c?Ut(I,M):(f=jt(I,!0),l=n-T,Ut(I,je,f.top+(N===Ne?l:0)+rt,f.left+(N===Ne?0:l)+rt))),Zt(r||c?J:Q),re&&s<1&&r||m(te+(1!==s||c?0:ne))):m(kt(te+ne*s))),!g||k.tween||Ke||sn||R.restart(!0),h&&(t||pe&&s&&(s<1||!rn))&&$t(h.targets).forEach(function(e){return e.classList[r||pe?"add":"remove"](h.className)}),!p||B||e||p(W),u&&!Ke?(B&&(a&&("complete"===i?S.pause().totalProgress(1):"reset"===i?S.restart(!0).pause():"restart"===i?S.restart(!0):S[i]()),p)&&p(W),!t&&rn||(se&&t&&Rt(W,se),me[o]&&Rt(W,me[o]),pe&&(1===s?W.kill(!1,1):me[o]=0),t)||me[o=1===s?1:3]&&Rt(W,me[o]),ge&&!r&&Math.abs(W.getVelocity())>(Mt(ge)?ge:2500)&&(At(W.callbackAnimation),A?A.progress(1):At(S,"reverse"===i?1:!s,1))):B&&p&&!Ke&&p(W)),b&&(f=z?n/z.duration()*(z._caScrollDist||0):n,x(f+(V._isFlipped?1:0)),b(f)),ae)&&ae(-n/z.duration()*(z._caScrollDist||0))},W.enable=function(e,t){W.enabled||(W.enabled=!0,Le(F,"resize",Ft),H||Le(F,"scroll",Bt),we&&Le(it,"refreshInit",we),!1!==e&&(W.progress=q=0,C=K=ke=U()),!1!==t&&W.refresh())},W.getTween=function(e){return e&&k?k.tween:A},W.setPositions=function(e,t,n,r){var o,i,a;z&&(o=z.scrollTrigger,i=z.duration(),a=o.end-o.start,e=o.start+a*e/i,t=o.start+a*t/i),W.refresh(!1,!1,{start:St(e,n&&!!W._startClamp),end:St(t,n&&!!W._endClamp)},r),W.update()},W.adjustPinSpacing=function(e){var t;O&&e&&(t=O.indexOf(N.d)+1,O[t]=parseFloat(O[t])+e+rt,O[1]=parseFloat(O[1])+e+rt,Zt(O))},W.disable=function(e,t){if(W.enabled&&(!1!==e&&W.revert(!0,!0),W.enabled=W.isActive=!1,t||A&&A.pause(),D=0,r&&(r.uncache=1),we&&We(it,"refreshInit",we),R&&(R.pause(),k.tween)&&k.tween.kill()&&(k.tween=0),!H)){for(var n=ot.length;n--;)if(ot[n].scroller===F&&ot[n]!==W)return;We(F,"resize",Ft),H||We(F,"scroll",Bt)}},W.kill=function(e,t){W.disable(e,t),A&&!t&&A.kill(),o&&delete xn[o];var n=ot.indexOf(W);0<=n&&ot.splice(n,1),n===Ze&&0s&&(b()>s?u.progress(1)&&b(s):u.resetTo("scrollY",s))}(e=Ot(e)?e:{}).preventDefault=e.isNormalizer=e.allowClicks=!0,e.type||(e.type="wheel,touch"),e.debounce=!!e.debounce,e.id=e.id||"normalizer";var r,s,l,c,u,f,d,p,h=e.normalizeScrollX,t=e.momentum,g=e.allowNestedScroll,v=e.onRelease,m=Ye(e.target)||Ge,y=qe.core.globals().ScrollSmoother,y=y&&y.get(),x=q&&(e.content&&Ye(e.content)||y&&!1!==e.content&&!y.smooth()&&y.content()),b=st(m,Ne),w=st(m,ze),_=1,S=(M.isTouch&&Ue.visualViewport?Ue.visualViewport.scale*Ue.visualViewport.width:Ue.outerWidth)/Ue.innerWidth,k=0,C=Fe(t)?function(){return t(r)}:function(){return t||2.8},T=de(m,e.type,!0,g),E=Be,P=Be;return x&&qe.set(x,{y:"+=0"}),e.ignoreCheck=function(e){return q&&"touchmove"===e.type&&(c?(requestAnimationFrame(n),t=kt(r.deltaY/2),t=P(b.v-t),x&&t!==b.v+b.offset&&(b.offset=t-b.v,t=kt((parseFloat(x&&x._gsap.y)||0)-b.offset),x.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+t+", 0, 1)",x._gsap.y=t+"px",b.cacheID=Ie.cache,oe()),!0):(b.offset&&a(),void(c=!0)))||1.05<_&&"touchstart"!==e.type||r.isGesturing||e.touches&&1=s||s-1<=n)&&qe.to({},{onUpdate:o,duration:t})):p.restart(!0),v&&v(e)},e.onWheel=function(){u._ts&&u.pause(),1e3jQuery("#first-sec, #second-sec").height()&&jQuery(".progress-bar").each(function(){jQuery(this).find(".progress-content").animate({width:jQuery(this).attr("data-percentage")},2e3),jQuery(this).find(".progress-number-mark").animate({left:jQuery(this).attr("data-percentage")},{duration:2e3,step:function(e,t){e=Math.round(e);jQuery(this).find(".percent").html(e+"%")}})})})}); !function(i){"use strict";"function"==typeof define&&define.amd?define(["jquery"],i):"undefined"!=typeof exports?module.exports=i(require("jquery")):i(jQuery)}(function(a){"use strict";var o,r=window.Slick||{};o=0,(r=function(i,e){var t=this;t.defaults={accessibility:!0,adaptiveHeight:!1,appendArrows:a(i),appendDots:a(i),arrows:!0,asNavFor:null,prevArrow:'',nextArrow:'',autoplay:!1,autoplaySpeed:3e3,centerMode:!1,centerPadding:"50px",cssEase:"ease",customPaging:function(i,e){return a('',nextArrow:'',autoplay:!1,autoplaySpeed:3e3,centerMode:!1,centerPadding:"50px",cssEase:"ease",customPaging:function(i,e){return a('