/*! Vendors v5.0.3 */ !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 e="transitionend",t=e=>{let t=e.getAttribute("data-bs-target");if(!t||"#"===t){let n=e.getAttribute("href");if(!n||!n.includes("#")&&!n.startsWith("."))return null;n.includes("#")&&!n.startsWith("#")&&(n=`#${n.split("#")[1]}`),t=n&&"#"!==n?n.trim():null}return t},n=e=>{const n=t(e);return n&&document.querySelector(n)?n:null},o=e=>{const n=t(e);return n?document.querySelector(n):null},i=t=>{t.dispatchEvent(new Event(e))},r=e=>!(!e||"object"!=typeof e)&&(void 0!==e.jquery&&(e=e[0]),void 0!==e.nodeType),a=e=>r(e)?e.jquery?e[0]:e:"string"==typeof e&&e.length>0?document.querySelector(e):null,s=e=>{if(!r(e)||0===e.getClientRects().length)return!1;const t="visible"===getComputedStyle(e).getPropertyValue("visibility"),n=e.closest("details:not([open])");if(!n)return t;if(n!==e){const t=e.closest("summary");if(t&&t.parentNode!==n)return!1;if(null===t)return!1}return t},l=e=>!e||e.nodeType!==Node.ELEMENT_NODE||(!!e.classList.contains("disabled")||(void 0!==e.disabled?e.disabled:e.hasAttribute("disabled")&&"false"!==e.getAttribute("disabled"))),c=e=>{if(!document.documentElement.attachShadow)return null;if("function"==typeof e.getRootNode){const t=e.getRootNode();return t instanceof ShadowRoot?t:null}return e instanceof ShadowRoot?e:e.parentNode?c(e.parentNode):null},d=()=>{},u=e=>{e.offsetHeight},h=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,f=[],p=()=>"rtl"===document.documentElement.dir,m=e=>{var t;t=()=>{const t=h();if(t){const n=e.NAME,o=t.fn[n];t.fn[n]=e.jQueryInterface,t.fn[n].Constructor=e,t.fn[n].noConflict=()=>(t.fn[n]=o,e.jQueryInterface)}},"loading"===document.readyState?(f.length||document.addEventListener("DOMContentLoaded",(()=>{for(const e of f)e()})),f.push(t)):t()},g=e=>{"function"==typeof e&&e()},v=(t,n,o=!0)=>{if(!o)return void g(t);const r=(e=>{if(!e)return 0;let{transitionDuration:t,transitionDelay:n}=window.getComputedStyle(e);const o=Number.parseFloat(t),i=Number.parseFloat(n);return o||i?(t=t.split(",")[0],n=n.split(",")[0],1e3*(Number.parseFloat(t)+Number.parseFloat(n))):0})(n)+5;let a=!1;const s=({target:o})=>{o===n&&(a=!0,n.removeEventListener(e,s),g(t))};n.addEventListener(e,s),setTimeout((()=>{a||i(n)}),r)},y=(e,t,n,o)=>{const i=e.length;let r=e.indexOf(t);return-1===r?!n&&o?e[i-1]:e[0]:(r+=n?1:-1,o&&(r=(r+i)%i),e[Math.max(0,Math.min(r,i-1))])},b=/[^.]*(?=\..*)\.|.*/,_=/\..*/,w=/::\d+$/,S={};let O=1;const x={mouseenter:"mouseover",mouseleave:"mouseout"},k=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 j(e,t){return t&&`${t}::${O++}`||e.uidEvent||O++}function C(e){const t=j(e);return e.uidEvent=t,S[t]=S[t]||{},S[t]}function E(e,t,n=null){return Object.values(e).find((e=>e.callable===t&&e.delegationSelector===n))}function T(e,t,n){const o="string"==typeof t,i=o?n:t||n;let r=M(e);return k.has(r)||(r=e),[o,i,r]}function D(e,t,n,o,i){if("string"!=typeof t||!e)return;let[r,a,s]=T(t,n,o);if(t in x){const e=e=>function(t){if(!t.relatedTarget||t.relatedTarget!==t.delegateTarget&&!t.delegateTarget.contains(t.relatedTarget))return e.call(this,t)};a=e(a)}const l=C(e),c=l[s]||(l[s]={}),d=E(c,a,r?n:null);if(d)return void(d.oneOff=d.oneOff&&i);const u=j(a,t.replace(b,"")),h=r?function(e,t,n){return function o(i){const r=e.querySelectorAll(t);for(let{target:a}=i;a&&a!==this;a=a.parentNode)for(const s of r)if(s===a)return P(i,{delegateTarget:a}),o.oneOff&&L.off(e,i.type,t,n),n.apply(a,[i])}}(e,n,a):function(e,t){return function n(o){return P(o,{delegateTarget:e}),n.oneOff&&L.off(e,o.type,t),t.apply(e,[o])}}(e,a);h.delegationSelector=r?n:null,h.callable=a,h.oneOff=i,h.uidEvent=u,c[u]=h,e.addEventListener(s,h,r)}function W(e,t,n,o,i){const r=E(t[n],o,i);r&&(e.removeEventListener(n,r,Boolean(i)),delete t[n][r.uidEvent])}function A(e,t,n,o){const i=t[n]||{};for(const r of Object.keys(i))if(r.includes(o)){const o=i[r];W(e,t,n,o.callable,o.delegationSelector)}}function M(e){return e=e.replace(_,""),x[e]||e}const L={on(e,t,n,o){D(e,t,n,o,!1)},one(e,t,n,o){D(e,t,n,o,!0)},off(e,t,n,o){if("string"!=typeof t||!e)return;const[i,r,a]=T(t,n,o),s=a!==t,l=C(e),c=l[a]||{},d=t.startsWith(".");if(void 0===r){if(d)for(const n of Object.keys(l))A(e,l,n,t.slice(1));for(const n of Object.keys(c)){const o=n.replace(w,"");if(!s||t.includes(o)){const t=c[n];W(e,l,a,t.callable,t.delegationSelector)}}}else{if(!Object.keys(c).length)return;W(e,l,a,r,i?n:null)}},trigger(e,t,n){if("string"!=typeof t||!e)return null;const o=h();let i=null,r=!0,a=!0,s=!1;t!==M(t)&&o&&(i=o.Event(t,n),o(e).trigger(i),r=!i.isPropagationStopped(),a=!i.isImmediatePropagationStopped(),s=i.isDefaultPrevented());let l=new Event(t,{bubbles:r,cancelable:!0});return l=P(l,n),s&&l.preventDefault(),a&&e.dispatchEvent(l),l.defaultPrevented&&i&&i.preventDefault(),l}};function P(e,t){for(const[n,o]of Object.entries(t||{}))try{e[n]=o}catch(t){Object.defineProperty(e,n,{configurable:!0,get:()=>o})}return e}const N=new Map,I={set(e,t,n){N.has(e)||N.set(e,new Map);const o=N.get(e);o.has(t)||0===o.size?o.set(t,n):console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(o.keys())[0]}.`)},get:(e,t)=>N.has(e)&&N.get(e).get(t)||null,remove(e,t){if(!N.has(e))return;const n=N.get(e);n.delete(t),0===n.size&&N.delete(e)}};function Y(e){if("true"===e)return!0;if("false"===e)return!1;if(e===Number(e).toString())return Number(e);if(""===e||"null"===e)return null;if("string"!=typeof e)return e;try{return JSON.parse(decodeURIComponent(e))}catch(t){return e}}function R(e){return e.replace(/[A-Z]/g,(e=>`-${e.toLowerCase()}`))}const V={setDataAttribute(e,t,n){e.setAttribute(`data-bs-${R(t)}`,n)},removeDataAttribute(e,t){e.removeAttribute(`data-bs-${R(t)}`)},getDataAttributes(e){if(!e)return{};const t={},n=Object.keys(e.dataset).filter((e=>e.startsWith("bs")&&!e.startsWith("bsConfig")));for(const o of n){let n=o.replace(/^bs/,"");n=n.charAt(0).toLowerCase()+n.slice(1,n.length),t[n]=Y(e.dataset[o])}return t},getDataAttribute:(e,t)=>Y(e.getAttribute(`data-bs-${R(t)}`))};class Q{static get Default(){return{}}static get DefaultType(){return{}}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}_getConfig(e){return e=this._mergeConfigObj(e),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}_configAfterMerge(e){return e}_mergeConfigObj(e,t){const n=r(t)?V.getDataAttribute(t,"config"):{};return{...this.constructor.Default,..."object"==typeof n?n:{},...r(t)?V.getDataAttributes(t):{},..."object"==typeof e?e:{}}}_typeCheckConfig(e,t=this.constructor.DefaultType){for(const o of Object.keys(t)){const i=t[o],a=e[o],s=r(a)?"element":null==(n=a)?`${n}`:Object.prototype.toString.call(n).match(/\s([a-z]+)/i)[1].toLowerCase();if(!new RegExp(i).test(s))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${o}" provided type "${s}" but expected type "${i}".`)}var n}}class H extends Q{constructor(e,t){super(),(e=a(e))&&(this._element=e,this._config=this._getConfig(t),I.set(this._element,this.constructor.DATA_KEY,this))}dispose(){I.remove(this._element,this.constructor.DATA_KEY),L.off(this._element,this.constructor.EVENT_KEY);for(const e of Object.getOwnPropertyNames(this))this[e]=null}_queueCallback(e,t,n=!0){v(e,t,n)}_getConfig(e){return e=this._mergeConfigObj(e,this._element),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}static getInstance(e){return I.get(a(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.2.2"}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}static eventName(e){return`${e}${this.EVENT_KEY}`}}const F=(e,t="hide")=>{const n=`click.dismiss${e.EVENT_KEY}`,i=e.NAME;L.on(document,n,`[data-bs-dismiss="${i}"]`,(function(n){if(["A","AREA"].includes(this.tagName)&&n.preventDefault(),l(this))return;const r=o(this)||this.closest(`.${i}`);e.getOrCreateInstance(r)[t]()}))};class $ extends H{static get NAME(){return"alert"}close(){if(L.trigger(this._element,"close.bs.alert").defaultPrevented)return;this._element.classList.remove("show");const e=this._element.classList.contains("fade");this._queueCallback((()=>this._destroyElement()),this._element,e)}_destroyElement(){this._element.remove(),L.trigger(this._element,"closed.bs.alert"),this.dispose()}static jQueryInterface(e){return this.each((function(){const t=$.getOrCreateInstance(this);if("string"==typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError(`No method named "${e}"`);t[e](this)}}))}}F($,"close"),m($);const B='[data-bs-toggle="button"]';class z extends H{static get NAME(){return"button"}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle("active"))}static jQueryInterface(e){return this.each((function(){const t=z.getOrCreateInstance(this);"toggle"===e&&t[e]()}))}}L.on(document,"click.bs.button.data-api",B,(e=>{e.preventDefault();const t=e.target.closest(B);z.getOrCreateInstance(t).toggle()})),m(z);const U={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){const n=[];let o=e.parentNode.closest(t);for(;o;)n.push(o),o=o.parentNode.closest(t);return n},prev(e,t){let n=e.previousElementSibling;for(;n;){if(n.matches(t))return[n];n=n.previousElementSibling}return[]},next(e,t){let n=e.nextElementSibling;for(;n;){if(n.matches(t))return[n];n=n.nextElementSibling}return[]},focusableChildren(e){const t=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map((e=>`${e}:not([tabindex^="-"])`)).join(",");return this.find(t,e).filter((e=>!l(e)&&s(e)))}},q=".bs.swipe",G={endCallback:null,leftCallback:null,rightCallback:null},X={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class Z extends Q{constructor(e,t){super(),this._element=e,e&&Z.isSupported()&&(this._config=this._getConfig(t),this._deltaX=0,this._supportPointerEvents=Boolean(window.PointerEvent),this._initEvents())}static get Default(){return G}static get DefaultType(){return X}static get NAME(){return"swipe"}dispose(){L.off(this._element,q)}_start(e){this._supportPointerEvents?this._eventIsPointerPenTouch(e)&&(this._deltaX=e.clientX):this._deltaX=e.touches[0].clientX}_end(e){this._eventIsPointerPenTouch(e)&&(this._deltaX=e.clientX-this._deltaX),this._handleSwipe(),g(this._config.endCallback)}_move(e){this._deltaX=e.touches&&e.touches.length>1?0:e.touches[0].clientX-this._deltaX}_handleSwipe(){const e=Math.abs(this._deltaX);if(e<=40)return;const t=e/this._deltaX;this._deltaX=0,t&&g(t>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(L.on(this._element,"pointerdown.bs.swipe",(e=>this._start(e))),L.on(this._element,"pointerup.bs.swipe",(e=>this._end(e))),this._element.classList.add("pointer-event")):(L.on(this._element,"touchstart.bs.swipe",(e=>this._start(e))),L.on(this._element,"touchmove.bs.swipe",(e=>this._move(e))),L.on(this._element,"touchend.bs.swipe",(e=>this._end(e))))}_eventIsPointerPenTouch(e){return this._supportPointerEvents&&("pen"===e.pointerType||"touch"===e.pointerType)}static isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}}const K="next",J="prev",ee="left",te="right",ne="slid.bs.carousel",oe="carousel",ie="active",re=".active",ae=".carousel-item",se={ArrowLeft:te,ArrowRight:ee},le={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},ce={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"};class de extends H{constructor(e,t){super(e,t),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=U.findOne(".carousel-indicators",this._element),this._addEventListeners(),this._config.ride===oe&&this.cycle()}static get Default(){return le}static get DefaultType(){return ce}static get NAME(){return"carousel"}next(){this._slide(K)}nextWhenVisible(){!document.hidden&&s(this._element)&&this.next()}prev(){this._slide(J)}pause(){this._isSliding&&i(this._element),this._clearInterval()}cycle(){this._clearInterval(),this._updateInterval(),this._interval=setInterval((()=>this.nextWhenVisible()),this._config.interval)}_maybeEnableCycle(){this._config.ride&&(this._isSliding?L.one(this._element,ne,(()=>this.cycle())):this.cycle())}to(e){const t=this._getItems();if(e>t.length-1||e<0)return;if(this._isSliding)return void L.one(this._element,ne,(()=>this.to(e)));const n=this._getItemIndex(this._getActive());if(n===e)return;const o=e>n?K:J;this._slide(o,t[e])}dispose(){this._swipeHelper&&this._swipeHelper.dispose(),super.dispose()}_configAfterMerge(e){return e.defaultInterval=e.interval,e}_addEventListeners(){this._config.keyboard&&L.on(this._element,"keydown.bs.carousel",(e=>this._keydown(e))),"hover"===this._config.pause&&(L.on(this._element,"mouseenter.bs.carousel",(()=>this.pause())),L.on(this._element,"mouseleave.bs.carousel",(()=>this._maybeEnableCycle()))),this._config.touch&&Z.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const e of U.find(".carousel-item img",this._element))L.on(e,"dragstart.bs.carousel",(e=>e.preventDefault()));const e={leftCallback:()=>this._slide(this._directionToOrder(ee)),rightCallback:()=>this._slide(this._directionToOrder(te)),endCallback:()=>{"hover"===this._config.pause&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout((()=>this._maybeEnableCycle()),500+this._config.interval))}};this._swipeHelper=new Z(this._element,e)}_keydown(e){if(/input|textarea/i.test(e.target.tagName))return;const t=se[e.key];t&&(e.preventDefault(),this._slide(this._directionToOrder(t)))}_getItemIndex(e){return this._getItems().indexOf(e)}_setActiveIndicatorElement(e){if(!this._indicatorsElement)return;const t=U.findOne(re,this._indicatorsElement);t.classList.remove(ie),t.removeAttribute("aria-current");const n=U.findOne(`[data-bs-slide-to="${e}"]`,this._indicatorsElement);n&&(n.classList.add(ie),n.setAttribute("aria-current","true"))}_updateInterval(){const e=this._activeElement||this._getActive();if(!e)return;const t=Number.parseInt(e.getAttribute("data-bs-interval"),10);this._config.interval=t||this._config.defaultInterval}_slide(e,t=null){if(this._isSliding)return;const n=this._getActive(),o=e===K,i=t||y(this._getItems(),n,o,this._config.wrap);if(i===n)return;const r=this._getItemIndex(i),a=t=>L.trigger(this._element,t,{relatedTarget:i,direction:this._orderToDirection(e),from:this._getItemIndex(n),to:r});if(a("slide.bs.carousel").defaultPrevented)return;if(!n||!i)return;const s=Boolean(this._interval);this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(r),this._activeElement=i;const l=o?"carousel-item-start":"carousel-item-end",c=o?"carousel-item-next":"carousel-item-prev";i.classList.add(c),u(i),n.classList.add(l),i.classList.add(l);this._queueCallback((()=>{i.classList.remove(l,c),i.classList.add(ie),n.classList.remove(ie,c,l),this._isSliding=!1,a(ne)}),n,this._isAnimated()),s&&this.cycle()}_isAnimated(){return this._element.classList.contains("slide")}_getActive(){return U.findOne(".active.carousel-item",this._element)}_getItems(){return U.find(ae,this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(e){return p()?e===ee?J:K:e===ee?K:J}_orderToDirection(e){return p()?e===J?ee:te:e===J?te:ee}static jQueryInterface(e){return this.each((function(){const t=de.getOrCreateInstance(this,e);if("number"!=typeof e){if("string"==typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError(`No method named "${e}"`);t[e]()}}else t.to(e)}))}}L.on(document,"click.bs.carousel.data-api","[data-bs-slide], [data-bs-slide-to]",(function(e){const t=o(this);if(!t||!t.classList.contains(oe))return;e.preventDefault();const n=de.getOrCreateInstance(t),i=this.getAttribute("data-bs-slide-to");return i?(n.to(i),void n._maybeEnableCycle()):"next"===V.getDataAttribute(this,"slide")?(n.next(),void n._maybeEnableCycle()):(n.prev(),void n._maybeEnableCycle())})),L.on(window,"load.bs.carousel.data-api",(()=>{const e=U.find('[data-bs-ride="carousel"]');for(const t of e)de.getOrCreateInstance(t)})),m(de);const ue="show",he="collapse",fe="collapsing",pe='[data-bs-toggle="collapse"]',me={parent:null,toggle:!0},ge={parent:"(null|element)",toggle:"boolean"};class ve extends H{constructor(e,t){super(e,t),this._isTransitioning=!1,this._triggerArray=[];const o=U.find(pe);for(const e of o){const t=n(e),o=U.find(t).filter((e=>e===this._element));null!==t&&o.length&&this._triggerArray.push(e)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return me}static get DefaultType(){return ge}static get NAME(){return"collapse"}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let e=[];if(this._config.parent&&(e=this._getFirstLevelChildren(".collapse.show, .collapse.collapsing").filter((e=>e!==this._element)).map((e=>ve.getOrCreateInstance(e,{toggle:!1})))),e.length&&e[0]._isTransitioning)return;if(L.trigger(this._element,"show.bs.collapse").defaultPrevented)return;for(const t of e)t.hide();const t=this._getDimension();this._element.classList.remove(he),this._element.classList.add(fe),this._element.style[t]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const n=`scroll${t[0].toUpperCase()+t.slice(1)}`;this._queueCallback((()=>{this._isTransitioning=!1,this._element.classList.remove(fe),this._element.classList.add(he,ue),this._element.style[t]="",L.trigger(this._element,"shown.bs.collapse")}),this._element,!0),this._element.style[t]=`${this._element[n]}px`}hide(){if(this._isTransitioning||!this._isShown())return;if(L.trigger(this._element,"hide.bs.collapse").defaultPrevented)return;const e=this._getDimension();this._element.style[e]=`${this._element.getBoundingClientRect()[e]}px`,u(this._element),this._element.classList.add(fe),this._element.classList.remove(he,ue);for(const e of this._triggerArray){const t=o(e);t&&!this._isShown(t)&&this._addAriaAndCollapsedClass([e],!1)}this._isTransitioning=!0;this._element.style[e]="",this._queueCallback((()=>{this._isTransitioning=!1,this._element.classList.remove(fe),this._element.classList.add(he),L.trigger(this._element,"hidden.bs.collapse")}),this._element,!0)}_isShown(e=this._element){return e.classList.contains(ue)}_configAfterMerge(e){return e.toggle=Boolean(e.toggle),e.parent=a(e.parent),e}_getDimension(){return this._element.classList.contains("collapse-horizontal")?"width":"height"}_initializeChildren(){if(!this._config.parent)return;const e=this._getFirstLevelChildren(pe);for(const t of e){const e=o(t);e&&this._addAriaAndCollapsedClass([t],this._isShown(e))}}_getFirstLevelChildren(e){const t=U.find(":scope .collapse .collapse",this._config.parent);return U.find(e,this._config.parent).filter((e=>!t.includes(e)))}_addAriaAndCollapsedClass(e,t){if(e.length)for(const n of e)n.classList.toggle("collapsed",!t),n.setAttribute("aria-expanded",t)}static jQueryInterface(e){const t={};return"string"==typeof e&&/show|hide/.test(e)&&(t.toggle=!1),this.each((function(){const n=ve.getOrCreateInstance(this,t);if("string"==typeof e){if(void 0===n[e])throw new TypeError(`No method named "${e}"`);n[e]()}}))}}L.on(document,"click.bs.collapse.data-api",pe,(function(e){("A"===e.target.tagName||e.delegateTarget&&"A"===e.delegateTarget.tagName)&&e.preventDefault();const t=n(this),o=U.find(t);for(const e of o)ve.getOrCreateInstance(e,{toggle:!1}).toggle()})),m(ve);var ye="top",be="bottom",_e="right",we="left",Se="auto",Oe=[ye,be,_e,we],xe="start",ke="end",je="clippingParents",Ce="viewport",Ee="popper",Te="reference",De=Oe.reduce((function(e,t){return e.concat([t+"-"+xe,t+"-"+ke])}),[]),We=[].concat(Oe,[Se]).reduce((function(e,t){return e.concat([t,t+"-"+xe,t+"-"+ke])}),[]),Ae="beforeRead",Me="read",Le="afterRead",Pe="beforeMain",Ne="main",Ie="afterMain",Ye="beforeWrite",Re="write",Ve="afterWrite",Qe=[Ae,Me,Le,Pe,Ne,Ie,Ye,Re,Ve];function He(e){return e?(e.nodeName||"").toLowerCase():null}function Fe(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function $e(e){return e instanceof Fe(e).Element||e instanceof Element}function Be(e){return e instanceof Fe(e).HTMLElement||e instanceof HTMLElement}function ze(e){return"undefined"!=typeof ShadowRoot&&(e instanceof Fe(e).ShadowRoot||e instanceof ShadowRoot)}const Ue={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var n=t.styles[e]||{},o=t.attributes[e]||{},i=t.elements[e];Be(i)&&He(i)&&(Object.assign(i.style,n),Object.keys(o).forEach((function(e){var t=o[e];!1===t?i.removeAttribute(e):i.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach((function(e){var o=t.elements[e],i=t.attributes[e]||{},r=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});Be(o)&&He(o)&&(Object.assign(o.style,r),Object.keys(i).forEach((function(e){o.removeAttribute(e)})))}))}},requires:["computeStyles"]};function qe(e){return e.split("-")[0]}var Ge=Math.max,Xe=Math.min,Ze=Math.round;function Ke(){var e=navigator.userAgentData;return null!=e&&e.brands?e.brands.map((function(e){return e.brand+"/"+e.version})).join(" "):navigator.userAgent}function Je(){return!/^((?!chrome|android).)*safari/i.test(Ke())}function et(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var o=e.getBoundingClientRect(),i=1,r=1;t&&Be(e)&&(i=e.offsetWidth>0&&Ze(o.width)/e.offsetWidth||1,r=e.offsetHeight>0&&Ze(o.height)/e.offsetHeight||1);var a=($e(e)?Fe(e):window).visualViewport,s=!Je()&&n,l=(o.left+(s&&a?a.offsetLeft:0))/i,c=(o.top+(s&&a?a.offsetTop:0))/r,d=o.width/i,u=o.height/r;return{width:d,height:u,top:c,right:l+d,bottom:c+u,left:l,x:l,y:c}}function tt(e){var t=et(e),n=e.offsetWidth,o=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-o)<=1&&(o=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:o}}function nt(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&ze(n)){var o=t;do{if(o&&e.isSameNode(o))return!0;o=o.parentNode||o.host}while(o)}return!1}function ot(e){return Fe(e).getComputedStyle(e)}function it(e){return["table","td","th"].indexOf(He(e))>=0}function rt(e){return(($e(e)?e.ownerDocument:e.document)||window.document).documentElement}function at(e){return"html"===He(e)?e:e.assignedSlot||e.parentNode||(ze(e)?e.host:null)||rt(e)}function st(e){return Be(e)&&"fixed"!==ot(e).position?e.offsetParent:null}function lt(e){for(var t=Fe(e),n=st(e);n&&it(n)&&"static"===ot(n).position;)n=st(n);return n&&("html"===He(n)||"body"===He(n)&&"static"===ot(n).position)?t:n||function(e){var t=/firefox/i.test(Ke());if(/Trident/i.test(Ke())&&Be(e)&&"fixed"===ot(e).position)return null;var n=at(e);for(ze(n)&&(n=n.host);Be(n)&&["html","body"].indexOf(He(n))<0;){var o=ot(n);if("none"!==o.transform||"none"!==o.perspective||"paint"===o.contain||-1!==["transform","perspective"].indexOf(o.willChange)||t&&"filter"===o.willChange||t&&o.filter&&"none"!==o.filter)return n;n=n.parentNode}return null}(e)||t}function ct(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function dt(e,t,n){return Ge(e,Xe(t,n))}function ut(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function ht(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}const ft={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,o=e.name,i=e.options,r=n.elements.arrow,a=n.modifiersData.popperOffsets,s=qe(n.placement),l=ct(s),c=[we,_e].indexOf(s)>=0?"height":"width";if(r&&a){var d=function(e,t){return ut("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:ht(e,Oe))}(i.padding,n),u=tt(r),h="y"===l?ye:we,f="y"===l?be:_e,p=n.rects.reference[c]+n.rects.reference[l]-a[l]-n.rects.popper[c],m=a[l]-n.rects.reference[l],g=lt(r),v=g?"y"===l?g.clientHeight||0:g.clientWidth||0:0,y=p/2-m/2,b=d[h],_=v-u[c]-d[f],w=v/2-u[c]/2+y,S=dt(b,w,_),O=l;n.modifiersData[o]=((t={})[O]=S,t.centerOffset=S-w,t)}},effect:function(e){var t=e.state,n=e.options.element,o=void 0===n?"[data-popper-arrow]":n;null!=o&&("string"!=typeof o||(o=t.elements.popper.querySelector(o)))&&nt(t.elements.popper,o)&&(t.elements.arrow=o)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function pt(e){return e.split("-")[1]}var mt={top:"auto",right:"auto",bottom:"auto",left:"auto"};function gt(e){var t,n=e.popper,o=e.popperRect,i=e.placement,r=e.variation,a=e.offsets,s=e.position,l=e.gpuAcceleration,c=e.adaptive,d=e.roundOffsets,u=e.isFixed,h=a.x,f=void 0===h?0:h,p=a.y,m=void 0===p?0:p,g="function"==typeof d?d({x:f,y:m}):{x:f,y:m};f=g.x,m=g.y;var v=a.hasOwnProperty("x"),y=a.hasOwnProperty("y"),b=we,_=ye,w=window;if(c){var S=lt(n),O="clientHeight",x="clientWidth";if(S===Fe(n)&&"static"!==ot(S=rt(n)).position&&"absolute"===s&&(O="scrollHeight",x="scrollWidth"),i===ye||(i===we||i===_e)&&r===ke)_=be,m-=(u&&S===w&&w.visualViewport?w.visualViewport.height:S[O])-o.height,m*=l?1:-1;if(i===we||(i===ye||i===be)&&r===ke)b=_e,f-=(u&&S===w&&w.visualViewport?w.visualViewport.width:S[x])-o.width,f*=l?1:-1}var k,j=Object.assign({position:s},c&&mt),C=!0===d?function(e){var t=e.x,n=e.y,o=window.devicePixelRatio||1;return{x:Ze(t*o)/o||0,y:Ze(n*o)/o||0}}({x:f,y:m}):{x:f,y:m};return f=C.x,m=C.y,l?Object.assign({},j,((k={})[_]=y?"0":"",k[b]=v?"0":"",k.transform=(w.devicePixelRatio||1)<=1?"translate("+f+"px, "+m+"px)":"translate3d("+f+"px, "+m+"px, 0)",k)):Object.assign({},j,((t={})[_]=y?m+"px":"",t[b]=v?f+"px":"",t.transform="",t))}const vt={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,o=n.gpuAcceleration,i=void 0===o||o,r=n.adaptive,a=void 0===r||r,s=n.roundOffsets,l=void 0===s||s,c={placement:qe(t.placement),variation:pt(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:i,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,gt(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:l})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,gt(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}};var yt={passive:!0};const bt={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,o=e.options,i=o.scroll,r=void 0===i||i,a=o.resize,s=void 0===a||a,l=Fe(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return r&&c.forEach((function(e){e.addEventListener("scroll",n.update,yt)})),s&&l.addEventListener("resize",n.update,yt),function(){r&&c.forEach((function(e){e.removeEventListener("scroll",n.update,yt)})),s&&l.removeEventListener("resize",n.update,yt)}},data:{}};var _t={left:"right",right:"left",bottom:"top",top:"bottom"};function wt(e){return e.replace(/left|right|bottom|top/g,(function(e){return _t[e]}))}var St={start:"end",end:"start"};function Ot(e){return e.replace(/start|end/g,(function(e){return St[e]}))}function xt(e){var t=Fe(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function kt(e){return et(rt(e)).left+xt(e).scrollLeft}function jt(e){var t=ot(e),n=t.overflow,o=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+i+o)}function Ct(e){return["html","body","#document"].indexOf(He(e))>=0?e.ownerDocument.body:Be(e)&&jt(e)?e:Ct(at(e))}function Et(e,t){var n;void 0===t&&(t=[]);var o=Ct(e),i=o===(null==(n=e.ownerDocument)?void 0:n.body),r=Fe(o),a=i?[r].concat(r.visualViewport||[],jt(o)?o:[]):o,s=t.concat(a);return i?s:s.concat(Et(at(a)))}function Tt(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Dt(e,t,n){return t===Ce?Tt(function(e,t){var n=Fe(e),o=rt(e),i=n.visualViewport,r=o.clientWidth,a=o.clientHeight,s=0,l=0;if(i){r=i.width,a=i.height;var c=Je();(c||!c&&"fixed"===t)&&(s=i.offsetLeft,l=i.offsetTop)}return{width:r,height:a,x:s+kt(e),y:l}}(e,n)):$e(t)?function(e,t){var n=et(e,!1,"fixed"===t);return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}(t,n):Tt(function(e){var t,n=rt(e),o=xt(e),i=null==(t=e.ownerDocument)?void 0:t.body,r=Ge(n.scrollWidth,n.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),a=Ge(n.scrollHeight,n.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),s=-o.scrollLeft+kt(e),l=-o.scrollTop;return"rtl"===ot(i||n).direction&&(s+=Ge(n.clientWidth,i?i.clientWidth:0)-r),{width:r,height:a,x:s,y:l}}(rt(e)))}function Wt(e,t,n,o){var i="clippingParents"===t?function(e){var t=Et(at(e)),n=["absolute","fixed"].indexOf(ot(e).position)>=0&&Be(e)?lt(e):e;return $e(n)?t.filter((function(e){return $e(e)&&nt(e,n)&&"body"!==He(e)})):[]}(e):[].concat(t),r=[].concat(i,[n]),a=r[0],s=r.reduce((function(t,n){var i=Dt(e,n,o);return t.top=Ge(i.top,t.top),t.right=Xe(i.right,t.right),t.bottom=Xe(i.bottom,t.bottom),t.left=Ge(i.left,t.left),t}),Dt(e,a,o));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}function At(e){var t,n=e.reference,o=e.element,i=e.placement,r=i?qe(i):null,a=i?pt(i):null,s=n.x+n.width/2-o.width/2,l=n.y+n.height/2-o.height/2;switch(r){case ye:t={x:s,y:n.y-o.height};break;case be:t={x:s,y:n.y+n.height};break;case _e:t={x:n.x+n.width,y:l};break;case we:t={x:n.x-o.width,y:l};break;default:t={x:n.x,y:n.y}}var c=r?ct(r):null;if(null!=c){var d="y"===c?"height":"width";switch(a){case xe:t[c]=t[c]-(n[d]/2-o[d]/2);break;case ke:t[c]=t[c]+(n[d]/2-o[d]/2)}}return t}function Mt(e,t){void 0===t&&(t={});var n=t,o=n.placement,i=void 0===o?e.placement:o,r=n.strategy,a=void 0===r?e.strategy:r,s=n.boundary,l=void 0===s?je:s,c=n.rootBoundary,d=void 0===c?Ce:c,u=n.elementContext,h=void 0===u?Ee:u,f=n.altBoundary,p=void 0!==f&&f,m=n.padding,g=void 0===m?0:m,v=ut("number"!=typeof g?g:ht(g,Oe)),y=h===Ee?Te:Ee,b=e.rects.popper,_=e.elements[p?y:h],w=Wt($e(_)?_:_.contextElement||rt(e.elements.popper),l,d,a),S=et(e.elements.reference),O=At({reference:S,element:b,strategy:"absolute",placement:i}),x=Tt(Object.assign({},b,O)),k=h===Ee?x:S,j={top:w.top-k.top+v.top,bottom:k.bottom-w.bottom+v.bottom,left:w.left-k.left+v.left,right:k.right-w.right+v.right},C=e.modifiersData.offset;if(h===Ee&&C){var E=C[i];Object.keys(j).forEach((function(e){var t=[_e,be].indexOf(e)>=0?1:-1,n=[ye,be].indexOf(e)>=0?"y":"x";j[e]+=E[n]*t}))}return j}function Lt(e,t){void 0===t&&(t={});var n=t,o=n.placement,i=n.boundary,r=n.rootBoundary,a=n.padding,s=n.flipVariations,l=n.allowedAutoPlacements,c=void 0===l?We:l,d=pt(o),u=d?s?De:De.filter((function(e){return pt(e)===d})):Oe,h=u.filter((function(e){return c.indexOf(e)>=0}));0===h.length&&(h=u);var f=h.reduce((function(t,n){return t[n]=Mt(e,{placement:n,boundary:i,rootBoundary:r,padding:a})[qe(n)],t}),{});return Object.keys(f).sort((function(e,t){return f[e]-f[t]}))}const Pt={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,o=e.name;if(!t.modifiersData[o]._skip){for(var i=n.mainAxis,r=void 0===i||i,a=n.altAxis,s=void 0===a||a,l=n.fallbackPlacements,c=n.padding,d=n.boundary,u=n.rootBoundary,h=n.altBoundary,f=n.flipVariations,p=void 0===f||f,m=n.allowedAutoPlacements,g=t.options.placement,v=qe(g),y=l||(v===g||!p?[wt(g)]:function(e){if(qe(e)===Se)return[];var t=wt(e);return[Ot(e),t,Ot(t)]}(g)),b=[g].concat(y).reduce((function(e,n){return e.concat(qe(n)===Se?Lt(t,{placement:n,boundary:d,rootBoundary:u,padding:c,flipVariations:p,allowedAutoPlacements:m}):n)}),[]),_=t.rects.reference,w=t.rects.popper,S=new Map,O=!0,x=b[0],k=0;k=0,D=T?"width":"height",W=Mt(t,{placement:j,boundary:d,rootBoundary:u,altBoundary:h,padding:c}),A=T?E?_e:we:E?be:ye;_[D]>w[D]&&(A=wt(A));var M=wt(A),L=[];if(r&&L.push(W[C]<=0),s&&L.push(W[A]<=0,W[M]<=0),L.every((function(e){return e}))){x=j,O=!1;break}S.set(j,L)}if(O)for(var P=function(e){var t=b.find((function(t){var n=S.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return x=t,"break"},N=p?3:1;N>0;N--){if("break"===P(N))break}t.placement!==x&&(t.modifiersData[o]._skip=!0,t.placement=x,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function Nt(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function It(e){return[ye,_e,be,we].some((function(t){return e[t]>=0}))}const Yt={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,o=t.rects.reference,i=t.rects.popper,r=t.modifiersData.preventOverflow,a=Mt(t,{elementContext:"reference"}),s=Mt(t,{altBoundary:!0}),l=Nt(a,o),c=Nt(s,i,r),d=It(l),u=It(c);t.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:d,hasPopperEscaped:u},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":d,"data-popper-escaped":u})}};const Rt={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,o=e.name,i=n.offset,r=void 0===i?[0,0]:i,a=We.reduce((function(e,n){return e[n]=function(e,t,n){var o=qe(e),i=[we,ye].indexOf(o)>=0?-1:1,r="function"==typeof n?n(Object.assign({},t,{placement:e})):n,a=r[0],s=r[1];return a=a||0,s=(s||0)*i,[we,_e].indexOf(o)>=0?{x:s,y:a}:{x:a,y:s}}(n,t.rects,r),e}),{}),s=a[t.placement],l=s.x,c=s.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=c),t.modifiersData[o]=a}};const Vt={name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=At({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}};const Qt={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,o=e.name,i=n.mainAxis,r=void 0===i||i,a=n.altAxis,s=void 0!==a&&a,l=n.boundary,c=n.rootBoundary,d=n.altBoundary,u=n.padding,h=n.tether,f=void 0===h||h,p=n.tetherOffset,m=void 0===p?0:p,g=Mt(t,{boundary:l,rootBoundary:c,padding:u,altBoundary:d}),v=qe(t.placement),y=pt(t.placement),b=!y,_=ct(v),w="x"===_?"y":"x",S=t.modifiersData.popperOffsets,O=t.rects.reference,x=t.rects.popper,k="function"==typeof m?m(Object.assign({},t.rects,{placement:t.placement})):m,j="number"==typeof k?{mainAxis:k,altAxis:k}:Object.assign({mainAxis:0,altAxis:0},k),C=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,E={x:0,y:0};if(S){if(r){var T,D="y"===_?ye:we,W="y"===_?be:_e,A="y"===_?"height":"width",M=S[_],L=M+g[D],P=M-g[W],N=f?-x[A]/2:0,I=y===xe?O[A]:x[A],Y=y===xe?-x[A]:-O[A],R=t.elements.arrow,V=f&&R?tt(R):{width:0,height:0},Q=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},H=Q[D],F=Q[W],$=dt(0,O[A],V[A]),B=b?O[A]/2-N-$-H-j.mainAxis:I-$-H-j.mainAxis,z=b?-O[A]/2+N+$+F+j.mainAxis:Y+$+F+j.mainAxis,U=t.elements.arrow&<(t.elements.arrow),q=U?"y"===_?U.clientTop||0:U.clientLeft||0:0,G=null!=(T=null==C?void 0:C[_])?T:0,X=M+z-G,Z=dt(f?Xe(L,M+B-G-q):L,M,f?Ge(P,X):P);S[_]=Z,E[_]=Z-M}if(s){var K,J="x"===_?ye:we,ee="x"===_?be:_e,te=S[w],ne="y"===w?"height":"width",oe=te+g[J],ie=te-g[ee],re=-1!==[ye,we].indexOf(v),ae=null!=(K=null==C?void 0:C[w])?K:0,se=re?oe:te-O[ne]-x[ne]-ae+j.altAxis,le=re?te+O[ne]+x[ne]-ae-j.altAxis:ie,ce=f&&re?function(e,t,n){var o=dt(e,t,n);return o>n?n:o}(se,te,le):dt(f?se:oe,te,f?le:ie);S[w]=ce,E[w]=ce-te}t.modifiersData[o]=E}},requiresIfExists:["offset"]};function Ht(e,t,n){void 0===n&&(n=!1);var o,i,r=Be(t),a=Be(t)&&function(e){var t=e.getBoundingClientRect(),n=Ze(t.width)/e.offsetWidth||1,o=Ze(t.height)/e.offsetHeight||1;return 1!==n||1!==o}(t),s=rt(t),l=et(e,a,n),c={scrollLeft:0,scrollTop:0},d={x:0,y:0};return(r||!r&&!n)&&(("body"!==He(t)||jt(s))&&(c=(o=t)!==Fe(o)&&Be(o)?{scrollLeft:(i=o).scrollLeft,scrollTop:i.scrollTop}:xt(o)),Be(t)?((d=et(t,!0)).x+=t.clientLeft,d.y+=t.clientTop):s&&(d.x=kt(s))),{x:l.left+c.scrollLeft-d.x,y:l.top+c.scrollTop-d.y,width:l.width,height:l.height}}function Ft(e){var t=new Map,n=new Set,o=[];function i(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!n.has(e)){var o=t.get(e);o&&i(o)}})),o.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||i(e)})),o}var $t={placement:"bottom",modifiers:[],strategy:"absolute"};function Bt(){for(var e=arguments.length,t=new Array(e),n=0;nNumber.parseInt(e,10))):"function"==typeof e?t=>e(t,this._element):e}_getPopperConfig(){const e={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return(this._inNavbar||"static"===this._config.display)&&(V.setDataAttribute(this._menu,"popper","static"),e.modifiers=[{name:"applyStyles",enabled:!1}]),{...e,..."function"==typeof this._config.popperConfig?this._config.popperConfig(e):this._config.popperConfig}}_selectMenuItem({key:e,target:t}){const n=U.find(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",this._menu).filter((e=>s(e)));n.length&&y(n,t,e===Jt,!n.includes(t)).focus()}static jQueryInterface(e){return this.each((function(){const t=mn.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e]()}}))}static clearMenus(e){if(2===e.button||"keyup"===e.type&&"Tab"!==e.key)return;const t=U.find(rn);for(const n of t){const t=mn.getInstance(n);if(!t||!1===t._config.autoClose)continue;const o=e.composedPath(),i=o.includes(t._menu);if(o.includes(t._element)||"inside"===t._config.autoClose&&!i||"outside"===t._config.autoClose&&i)continue;if(t._menu.contains(e.target)&&("keyup"===e.type&&"Tab"===e.key||/input|select|option|textarea|form/i.test(e.target.tagName)))continue;const r={relatedTarget:t._element};"click"===e.type&&(r.clickEvent=e),t._completeHide(r)}}static dataApiKeydownHandler(e){const t=/input|textarea/i.test(e.target.tagName),n="Escape"===e.key,o=[Kt,Jt].includes(e.key);if(!o&&!n)return;if(t&&!n)return;e.preventDefault();const i=this.matches(on)?this:U.prev(this,on)[0]||U.next(this,on)[0]||U.findOne(on,e.delegateTarget.parentNode),r=mn.getOrCreateInstance(i);if(o)return e.stopPropagation(),r.show(),void r._selectMenuItem(e);r._isShown()&&(e.stopPropagation(),r.hide(),i.focus())}}L.on(document,tn,on,mn.dataApiKeydownHandler),L.on(document,tn,an,mn.dataApiKeydownHandler),L.on(document,en,mn.clearMenus),L.on(document,"keyup.bs.dropdown.data-api",mn.clearMenus),L.on(document,en,on,(function(e){e.preventDefault(),mn.getOrCreateInstance(this).toggle()})),m(mn);const gn=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",vn=".sticky-top",yn="padding-right",bn="margin-right";class _n{constructor(){this._element=document.body}getWidth(){const e=document.documentElement.clientWidth;return Math.abs(window.innerWidth-e)}hide(){const e=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,yn,(t=>t+e)),this._setElementAttributes(gn,yn,(t=>t+e)),this._setElementAttributes(vn,bn,(t=>t-e))}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,yn),this._resetElementAttributes(gn,yn),this._resetElementAttributes(vn,bn)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(e,t,n){const o=this.getWidth();this._applyManipulationCallback(e,(e=>{if(e!==this._element&&window.innerWidth>e.clientWidth+o)return;this._saveInitialAttribute(e,t);const i=window.getComputedStyle(e).getPropertyValue(t);e.style.setProperty(t,`${n(Number.parseFloat(i))}px`)}))}_saveInitialAttribute(e,t){const n=e.style.getPropertyValue(t);n&&V.setDataAttribute(e,t,n)}_resetElementAttributes(e,t){this._applyManipulationCallback(e,(e=>{const n=V.getDataAttribute(e,t);null!==n?(V.removeDataAttribute(e,t),e.style.setProperty(t,n)):e.style.removeProperty(t)}))}_applyManipulationCallback(e,t){if(r(e))t(e);else for(const n of U.find(e,this._element))t(n)}}const wn="backdrop",Sn="show",On="mousedown.bs.backdrop",xn={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},kn={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class jn extends Q{constructor(e){super(),this._config=this._getConfig(e),this._isAppended=!1,this._element=null}static get Default(){return xn}static get DefaultType(){return kn}static get NAME(){return wn}show(e){if(!this._config.isVisible)return void g(e);this._append();const t=this._getElement();this._config.isAnimated&&u(t),t.classList.add(Sn),this._emulateAnimation((()=>{g(e)}))}hide(e){this._config.isVisible?(this._getElement().classList.remove(Sn),this._emulateAnimation((()=>{this.dispose(),g(e)}))):g(e)}dispose(){this._isAppended&&(L.off(this._element,On),this._element.remove(),this._isAppended=!1)}_getElement(){if(!this._element){const e=document.createElement("div");e.className=this._config.className,this._config.isAnimated&&e.classList.add("fade"),this._element=e}return this._element}_configAfterMerge(e){return e.rootElement=a(e.rootElement),e}_append(){if(this._isAppended)return;const e=this._getElement();this._config.rootElement.append(e),L.on(e,On,(()=>{g(this._config.clickCallback)})),this._isAppended=!0}_emulateAnimation(e){v(e,this._getElement(),this._config.isAnimated)}}const Cn=".bs.focustrap",En="backward",Tn={autofocus:!0,trapElement:null},Dn={autofocus:"boolean",trapElement:"element"};class Wn extends Q{constructor(e){super(),this._config=this._getConfig(e),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return Tn}static get DefaultType(){return Dn}static get NAME(){return"focustrap"}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),L.off(document,Cn),L.on(document,"focusin.bs.focustrap",(e=>this._handleFocusin(e))),L.on(document,"keydown.tab.bs.focustrap",(e=>this._handleKeydown(e))),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,L.off(document,Cn))}_handleFocusin(e){const{trapElement:t}=this._config;if(e.target===document||e.target===t||t.contains(e.target))return;const n=U.focusableChildren(t);0===n.length?t.focus():this._lastTabNavDirection===En?n[n.length-1].focus():n[0].focus()}_handleKeydown(e){"Tab"===e.key&&(this._lastTabNavDirection=e.shiftKey?En:"forward")}}const An=".bs.modal",Mn="hidden.bs.modal",Ln="show.bs.modal",Pn="modal-open",Nn="show",In="modal-static",Yn={backdrop:!0,focus:!0,keyboard:!0},Rn={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class Vn extends H{constructor(e,t){super(e,t),this._dialog=U.findOne(".modal-dialog",this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new _n,this._addEventListeners()}static get Default(){return Yn}static get DefaultType(){return Rn}static get NAME(){return"modal"}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){if(this._isShown||this._isTransitioning)return;L.trigger(this._element,Ln,{relatedTarget:e}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(Pn),this._adjustDialog(),this._backdrop.show((()=>this._showElement(e))))}hide(){if(!this._isShown||this._isTransitioning)return;L.trigger(this._element,"hide.bs.modal").defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove(Nn),this._queueCallback((()=>this._hideModal()),this._element,this._isAnimated()))}dispose(){for(const e of[window,this._dialog])L.off(e,An);this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new jn({isVisible:Boolean(this._config.backdrop),isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new Wn({trapElement:this._element})}_showElement(e){document.body.contains(this._element)||document.body.append(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.scrollTop=0;const t=U.findOne(".modal-body",this._dialog);t&&(t.scrollTop=0),u(this._element),this._element.classList.add(Nn);this._queueCallback((()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,L.trigger(this._element,"shown.bs.modal",{relatedTarget:e})}),this._dialog,this._isAnimated())}_addEventListeners(){L.on(this._element,"keydown.dismiss.bs.modal",(e=>{if("Escape"===e.key)return this._config.keyboard?(e.preventDefault(),void this.hide()):void this._triggerBackdropTransition()})),L.on(window,"resize.bs.modal",(()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()})),L.on(this._element,"mousedown.dismiss.bs.modal",(e=>{L.one(this._element,"click.dismiss.bs.modal",(t=>{this._element===e.target&&this._element===t.target&&("static"!==this._config.backdrop?this._config.backdrop&&this.hide():this._triggerBackdropTransition())}))}))}_hideModal(){this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._backdrop.hide((()=>{document.body.classList.remove(Pn),this._resetAdjustments(),this._scrollBar.reset(),L.trigger(this._element,Mn)}))}_isAnimated(){return this._element.classList.contains("fade")}_triggerBackdropTransition(){if(L.trigger(this._element,"hidePrevented.bs.modal").defaultPrevented)return;const e=this._element.scrollHeight>document.documentElement.clientHeight,t=this._element.style.overflowY;"hidden"===t||this._element.classList.contains(In)||(e||(this._element.style.overflowY="hidden"),this._element.classList.add(In),this._queueCallback((()=>{this._element.classList.remove(In),this._queueCallback((()=>{this._element.style.overflowY=t}),this._dialog)}),this._dialog),this._element.focus())}_adjustDialog(){const e=this._element.scrollHeight>document.documentElement.clientHeight,t=this._scrollBar.getWidth(),n=t>0;if(n&&!e){const e=p()?"paddingLeft":"paddingRight";this._element.style[e]=`${t}px`}if(!n&&e){const e=p()?"paddingRight":"paddingLeft";this._element.style[e]=`${t}px`}}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(e,t){return this.each((function(){const n=Vn.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===n[e])throw new TypeError(`No method named "${e}"`);n[e](t)}}))}}L.on(document,"click.bs.modal.data-api",'[data-bs-toggle="modal"]',(function(e){const t=o(this);["A","AREA"].includes(this.tagName)&&e.preventDefault(),L.one(t,Ln,(e=>{e.defaultPrevented||L.one(t,Mn,(()=>{s(this)&&this.focus()}))}));const n=U.findOne(".modal.show");n&&Vn.getInstance(n).hide();Vn.getOrCreateInstance(t).toggle(this)})),F(Vn),m(Vn);const Qn="show",Hn="showing",Fn="hiding",$n=".offcanvas.show",Bn="hidePrevented.bs.offcanvas",zn="hidden.bs.offcanvas",Un={backdrop:!0,keyboard:!0,scroll:!1},qn={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class Gn extends H{constructor(e,t){super(e,t),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return Un}static get DefaultType(){return qn}static get NAME(){return"offcanvas"}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){if(this._isShown)return;if(L.trigger(this._element,"show.bs.offcanvas",{relatedTarget:e}).defaultPrevented)return;this._isShown=!0,this._backdrop.show(),this._config.scroll||(new _n).hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(Hn);this._queueCallback((()=>{this._config.scroll&&!this._config.backdrop||this._focustrap.activate(),this._element.classList.add(Qn),this._element.classList.remove(Hn),L.trigger(this._element,"shown.bs.offcanvas",{relatedTarget:e})}),this._element,!0)}hide(){if(!this._isShown)return;if(L.trigger(this._element,"hide.bs.offcanvas").defaultPrevented)return;this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add(Fn),this._backdrop.hide();this._queueCallback((()=>{this._element.classList.remove(Qn,Fn),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||(new _n).reset(),L.trigger(this._element,zn)}),this._element,!0)}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){const e=Boolean(this._config.backdrop);return new jn({className:"offcanvas-backdrop",isVisible:e,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:e?()=>{"static"!==this._config.backdrop?this.hide():L.trigger(this._element,Bn)}:null})}_initializeFocusTrap(){return new Wn({trapElement:this._element})}_addEventListeners(){L.on(this._element,"keydown.dismiss.bs.offcanvas",(e=>{"Escape"===e.key&&(this._config.keyboard?this.hide():L.trigger(this._element,Bn))}))}static jQueryInterface(e){return this.each((function(){const t=Gn.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError(`No method named "${e}"`);t[e](this)}}))}}L.on(document,"click.bs.offcanvas.data-api",'[data-bs-toggle="offcanvas"]',(function(e){const t=o(this);if(["A","AREA"].includes(this.tagName)&&e.preventDefault(),l(this))return;L.one(t,zn,(()=>{s(this)&&this.focus()}));const n=U.findOne($n);n&&n!==t&&Gn.getInstance(n).hide();Gn.getOrCreateInstance(t).toggle(this)})),L.on(window,"load.bs.offcanvas.data-api",(()=>{for(const e of U.find($n))Gn.getOrCreateInstance(e).show()})),L.on(window,"resize.bs.offcanvas",(()=>{for(const e of U.find("[aria-modal][class*=show][class*=offcanvas-]"))"fixed"!==getComputedStyle(e).position&&Gn.getOrCreateInstance(e).hide()})),F(Gn),m(Gn);const Xn=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),Zn=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^#&/:?]*(?:[#/?]|$))/i,Kn=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[\d+/a-z]+=*$/i,Jn=(e,t)=>{const n=e.nodeName.toLowerCase();return t.includes(n)?!Xn.has(n)||Boolean(Zn.test(e.nodeValue)||Kn.test(e.nodeValue)):t.filter((e=>e instanceof RegExp)).some((e=>e.test(n)))},eo={"*":["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:[]};const to={allowList:eo,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"
"},no={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},oo={entry:"(string|element|function|null)",selector:"(string|element)"};class io extends Q{constructor(e){super(),this._config=this._getConfig(e)}static get Default(){return to}static get DefaultType(){return no}static get NAME(){return"TemplateFactory"}getContent(){return Object.values(this._config.content).map((e=>this._resolvePossibleFunction(e))).filter(Boolean)}hasContent(){return this.getContent().length>0}changeContent(e){return this._checkContent(e),this._config.content={...this._config.content,...e},this}toHtml(){const e=document.createElement("div");e.innerHTML=this._maybeSanitize(this._config.template);for(const[t,n]of Object.entries(this._config.content))this._setContent(e,n,t);const t=e.children[0],n=this._resolvePossibleFunction(this._config.extraClass);return n&&t.classList.add(...n.split(" ")),t}_typeCheckConfig(e){super._typeCheckConfig(e),this._checkContent(e.content)}_checkContent(e){for(const[t,n]of Object.entries(e))super._typeCheckConfig({selector:t,entry:n},oo)}_setContent(e,t,n){const o=U.findOne(n,e);o&&((t=this._resolvePossibleFunction(t))?r(t)?this._putElementInTemplate(a(t),o):this._config.html?o.innerHTML=this._maybeSanitize(t):o.textContent=t:o.remove())}_maybeSanitize(e){return this._config.sanitize?function(e,t,n){if(!e.length)return e;if(n&&"function"==typeof n)return n(e);const o=(new window.DOMParser).parseFromString(e,"text/html"),i=[].concat(...o.body.querySelectorAll("*"));for(const e of i){const n=e.nodeName.toLowerCase();if(!Object.keys(t).includes(n)){e.remove();continue}const o=[].concat(...e.attributes),i=[].concat(t["*"]||[],t[n]||[]);for(const t of o)Jn(t,i)||e.removeAttribute(t.nodeName)}return o.body.innerHTML}(e,this._config.allowList,this._config.sanitizeFn):e}_resolvePossibleFunction(e){return"function"==typeof e?e(this):e}_putElementInTemplate(e,t){if(this._config.html)return t.innerHTML="",void t.append(e);t.textContent=e.textContent}}const ro=new Set(["sanitize","allowList","sanitizeFn"]),ao="fade",so="show",lo=".modal",co="hide.bs.modal",uo="hover",ho="focus",fo={AUTO:"auto",TOP:"top",RIGHT:p()?"left":"right",BOTTOM:"bottom",LEFT:p()?"right":"left"},po={allowList:eo,animation:!0,boundary:"clippingParents",container:!1,customClass:"",delay:0,fallbackPlacements:["top","right","bottom","left"],html:!1,offset:[0,0],placement:"top",popperConfig:null,sanitize:!0,sanitizeFn:null,selector:!1,template:'',title:"",trigger:"hover focus"},mo={allowList:"object",animation:"boolean",boundary:"(string|element)",container:"(string|element|boolean)",customClass:"(string|function)",delay:"(number|object)",fallbackPlacements:"array",html:"boolean",offset:"(array|string|function)",placement:"(string|function)",popperConfig:"(null|object|function)",sanitize:"boolean",sanitizeFn:"(null|function)",selector:"(string|boolean)",template:"string",title:"(string|element|function)",trigger:"string"};class go extends H{constructor(e,t){if(void 0===Xt)throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");super(e,t),this._isEnabled=!0,this._timeout=0,this._isHovered=null,this._activeTrigger={},this._popper=null,this._templateFactory=null,this._newContent=null,this.tip=null,this._setListeners(),this._config.selector||this._fixTitle()}static get Default(){return po}static get DefaultType(){return mo}static get NAME(){return"tooltip"}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(){this._isEnabled&&(this._activeTrigger.click=!this._activeTrigger.click,this._isShown()?this._leave():this._enter())}dispose(){clearTimeout(this._timeout),L.off(this._element.closest(lo),co,this._hideModalHandler),this.tip&&this.tip.remove(),this._element.getAttribute("data-bs-original-title")&&this._element.setAttribute("title",this._element.getAttribute("data-bs-original-title")),this._disposePopper(),super.dispose()}show(){if("none"===this._element.style.display)throw new Error("Please use show on visible elements");if(!this._isWithContent()||!this._isEnabled)return;const e=L.trigger(this._element,this.constructor.eventName("show")),t=(c(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(e.defaultPrevented||!t)return;this.tip&&(this.tip.remove(),this.tip=null);const n=this._getTipElement();this._element.setAttribute("aria-describedby",n.getAttribute("id"));const{container:o}=this._config;if(this._element.ownerDocument.documentElement.contains(this.tip)||(o.append(n),L.trigger(this._element,this.constructor.eventName("inserted"))),this._popper?this._popper.update():this._popper=this._createPopper(n),n.classList.add(so),"ontouchstart"in document.documentElement)for(const e of[].concat(...document.body.children))L.on(e,"mouseover",d);this._queueCallback((()=>{L.trigger(this._element,this.constructor.eventName("shown")),!1===this._isHovered&&this._leave(),this._isHovered=!1}),this.tip,this._isAnimated())}hide(){if(!this._isShown())return;if(L.trigger(this._element,this.constructor.eventName("hide")).defaultPrevented)return;const e=this._getTipElement();if(e.classList.remove(so),"ontouchstart"in document.documentElement)for(const e of[].concat(...document.body.children))L.off(e,"mouseover",d);this._activeTrigger.click=!1,this._activeTrigger.focus=!1,this._activeTrigger.hover=!1,this._isHovered=null;this._queueCallback((()=>{this._isWithActiveTrigger()||(this._isHovered||e.remove(),this._element.removeAttribute("aria-describedby"),L.trigger(this._element,this.constructor.eventName("hidden")),this._disposePopper())}),this.tip,this._isAnimated())}update(){this._popper&&this._popper.update()}_isWithContent(){return Boolean(this._getTitle())}_getTipElement(){return this.tip||(this.tip=this._createTipElement(this._newContent||this._getContentForTemplate())),this.tip}_createTipElement(e){const t=this._getTemplateFactory(e).toHtml();if(!t)return null;t.classList.remove(ao,so),t.classList.add(`bs-${this.constructor.NAME}-auto`);const n=(e=>{do{e+=Math.floor(1e6*Math.random())}while(document.getElementById(e));return e})(this.constructor.NAME).toString();return t.setAttribute("id",n),this._isAnimated()&&t.classList.add(ao),t}setContent(e){this._newContent=e,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(e){return this._templateFactory?this._templateFactory.changeContent(e):this._templateFactory=new io({...this._config,content:e,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{".tooltip-inner":this._getTitle()}}_getTitle(){return this._resolvePossibleFunction(this._config.title)||this._element.getAttribute("data-bs-original-title")}_initializeOnDelegatedTarget(e){return this.constructor.getOrCreateInstance(e.delegateTarget,this._getDelegateConfig())}_isAnimated(){return this._config.animation||this.tip&&this.tip.classList.contains(ao)}_isShown(){return this.tip&&this.tip.classList.contains(so)}_createPopper(e){const t="function"==typeof this._config.placement?this._config.placement.call(this,e,this._element):this._config.placement,n=fo[t.toUpperCase()];return Gt(this._element,e,this._getPopperConfig(n))}_getOffset(){const{offset:e}=this._config;return"string"==typeof e?e.split(",").map((e=>Number.parseInt(e,10))):"function"==typeof e?t=>e(t,this._element):e}_resolvePossibleFunction(e){return"function"==typeof e?e.call(this._element):e}_getPopperConfig(e){const t={placement:e,modifiers:[{name:"flip",options:{fallbackPlacements:this._config.fallbackPlacements}},{name:"offset",options:{offset:this._getOffset()}},{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"arrow",options:{element:`.${this.constructor.NAME}-arrow`}},{name:"preSetPlacement",enabled:!0,phase:"beforeMain",fn:e=>{this._getTipElement().setAttribute("data-popper-placement",e.state.placement)}}]};return{...t,..."function"==typeof this._config.popperConfig?this._config.popperConfig(t):this._config.popperConfig}}_setListeners(){const e=this._config.trigger.split(" ");for(const t of e)if("click"===t)L.on(this._element,this.constructor.eventName("click"),this._config.selector,(e=>{this._initializeOnDelegatedTarget(e).toggle()}));else if("manual"!==t){const e=t===uo?this.constructor.eventName("mouseenter"):this.constructor.eventName("focusin"),n=t===uo?this.constructor.eventName("mouseleave"):this.constructor.eventName("focusout");L.on(this._element,e,this._config.selector,(e=>{const t=this._initializeOnDelegatedTarget(e);t._activeTrigger["focusin"===e.type?ho:uo]=!0,t._enter()})),L.on(this._element,n,this._config.selector,(e=>{const t=this._initializeOnDelegatedTarget(e);t._activeTrigger["focusout"===e.type?ho:uo]=t._element.contains(e.relatedTarget),t._leave()}))}this._hideModalHandler=()=>{this._element&&this.hide()},L.on(this._element.closest(lo),co,this._hideModalHandler)}_fixTitle(){const e=this._element.getAttribute("title");e&&(this._element.getAttribute("aria-label")||this._element.textContent.trim()||this._element.setAttribute("aria-label",e),this._element.setAttribute("data-bs-original-title",e),this._element.removeAttribute("title"))}_enter(){this._isShown()||this._isHovered?this._isHovered=!0:(this._isHovered=!0,this._setTimeout((()=>{this._isHovered&&this.show()}),this._config.delay.show))}_leave(){this._isWithActiveTrigger()||(this._isHovered=!1,this._setTimeout((()=>{this._isHovered||this.hide()}),this._config.delay.hide))}_setTimeout(e,t){clearTimeout(this._timeout),this._timeout=setTimeout(e,t)}_isWithActiveTrigger(){return Object.values(this._activeTrigger).includes(!0)}_getConfig(e){const t=V.getDataAttributes(this._element);for(const e of Object.keys(t))ro.has(e)&&delete t[e];return e={...t,..."object"==typeof e&&e?e:{}},e=this._mergeConfigObj(e),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}_configAfterMerge(e){return e.container=!1===e.container?document.body:a(e.container),"number"==typeof e.delay&&(e.delay={show:e.delay,hide:e.delay}),"number"==typeof e.title&&(e.title=e.title.toString()),"number"==typeof e.content&&(e.content=e.content.toString()),e}_getDelegateConfig(){const e={};for(const t in this._config)this.constructor.Default[t]!==this._config[t]&&(e[t]=this._config[t]);return e.selector=!1,e.trigger="manual",e}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null)}static jQueryInterface(e){return this.each((function(){const t=go.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e]()}}))}}m(go);const vo={...go.Default,content:"",offset:[0,8],placement:"right",template:'',trigger:"click"},yo={...go.DefaultType,content:"(null|string|element|function)"};class bo extends go{static get Default(){return vo}static get DefaultType(){return yo}static get NAME(){return"popover"}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{".popover-header":this._getTitle(),".popover-body":this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(e){return this.each((function(){const t=bo.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e]()}}))}}m(bo);const _o="click.bs.scrollspy",wo="active",So="[href]",Oo={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},xo={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};class ko extends H{constructor(e,t){super(e,t),this._targetLinks=new Map,this._observableSections=new Map,this._rootElement="visible"===getComputedStyle(this._element).overflowY?null:this._element,this._activeTarget=null,this._observer=null,this._previousScrollData={visibleEntryTop:0,parentScrollTop:0},this.refresh()}static get Default(){return Oo}static get DefaultType(){return xo}static get NAME(){return"scrollspy"}refresh(){this._initializeTargetsAndObservables(),this._maybeEnableSmoothScroll(),this._observer?this._observer.disconnect():this._observer=this._getNewObserver();for(const e of this._observableSections.values())this._observer.observe(e)}dispose(){this._observer.disconnect(),super.dispose()}_configAfterMerge(e){return e.target=a(e.target)||document.body,e.rootMargin=e.offset?`${e.offset}px 0px -30%`:e.rootMargin,"string"==typeof e.threshold&&(e.threshold=e.threshold.split(",").map((e=>Number.parseFloat(e)))),e}_maybeEnableSmoothScroll(){this._config.smoothScroll&&(L.off(this._config.target,_o),L.on(this._config.target,_o,So,(e=>{const t=this._observableSections.get(e.target.hash);if(t){e.preventDefault();const n=this._rootElement||window,o=t.offsetTop-this._element.offsetTop;if(n.scrollTo)return void n.scrollTo({top:o,behavior:"smooth"});n.scrollTop=o}})))}_getNewObserver(){const e={root:this._rootElement,threshold:this._config.threshold,rootMargin:this._config.rootMargin};return new IntersectionObserver((e=>this._observerCallback(e)),e)}_observerCallback(e){const t=e=>this._targetLinks.get(`#${e.target.id}`),n=e=>{this._previousScrollData.visibleEntryTop=e.target.offsetTop,this._process(t(e))},o=(this._rootElement||document.documentElement).scrollTop,i=o>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=o;for(const r of e){if(!r.isIntersecting){this._activeTarget=null,this._clearActiveClass(t(r));continue}const e=r.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(i&&e){if(n(r),!o)return}else i||e||n(r)}}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;const e=U.find(So,this._config.target);for(const t of e){if(!t.hash||l(t))continue;const e=U.findOne(t.hash,this._element);s(e)&&(this._targetLinks.set(t.hash,t),this._observableSections.set(t.hash,e))}}_process(e){this._activeTarget!==e&&(this._clearActiveClass(this._config.target),this._activeTarget=e,e.classList.add(wo),this._activateParents(e),L.trigger(this._element,"activate.bs.scrollspy",{relatedTarget:e}))}_activateParents(e){if(e.classList.contains("dropdown-item"))U.findOne(".dropdown-toggle",e.closest(".dropdown")).classList.add(wo);else for(const t of U.parents(e,".nav, .list-group"))for(const e of U.prev(t,".nav-link, .nav-item > .nav-link, .list-group-item"))e.classList.add(wo)}_clearActiveClass(e){e.classList.remove(wo);const t=U.find("[href].active",e);for(const e of t)e.classList.remove(wo)}static jQueryInterface(e){return this.each((function(){const t=ko.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError(`No method named "${e}"`);t[e]()}}))}}L.on(window,"load.bs.scrollspy.data-api",(()=>{for(const e of U.find('[data-bs-spy="scroll"]'))ko.getOrCreateInstance(e)})),m(ko);const jo="ArrowLeft",Co="ArrowRight",Eo="ArrowUp",To="ArrowDown",Do="active",Wo="fade",Ao="show",Mo='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',Lo=`.nav-link:not(.dropdown-toggle), .list-group-item:not(.dropdown-toggle), [role="tab"]:not(.dropdown-toggle), ${Mo}`;class Po extends H{constructor(e){super(e),this._parent=this._element.closest('.list-group, .nav, [role="tablist"]'),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),L.on(this._element,"keydown.bs.tab",(e=>this._keydown(e))))}static get NAME(){return"tab"}show(){const e=this._element;if(this._elemIsActive(e))return;const t=this._getActiveElem(),n=t?L.trigger(t,"hide.bs.tab",{relatedTarget:e}):null;L.trigger(e,"show.bs.tab",{relatedTarget:t}).defaultPrevented||n&&n.defaultPrevented||(this._deactivate(t,e),this._activate(e,t))}_activate(e,t){if(!e)return;e.classList.add(Do),this._activate(o(e));this._queueCallback((()=>{"tab"===e.getAttribute("role")?(e.removeAttribute("tabindex"),e.setAttribute("aria-selected",!0),this._toggleDropDown(e,!0),L.trigger(e,"shown.bs.tab",{relatedTarget:t})):e.classList.add(Ao)}),e,e.classList.contains(Wo))}_deactivate(e,t){if(!e)return;e.classList.remove(Do),e.blur(),this._deactivate(o(e));this._queueCallback((()=>{"tab"===e.getAttribute("role")?(e.setAttribute("aria-selected",!1),e.setAttribute("tabindex","-1"),this._toggleDropDown(e,!1),L.trigger(e,"hidden.bs.tab",{relatedTarget:t})):e.classList.remove(Ao)}),e,e.classList.contains(Wo))}_keydown(e){if(![jo,Co,Eo,To].includes(e.key))return;e.stopPropagation(),e.preventDefault();const t=[Co,To].includes(e.key),n=y(this._getChildren().filter((e=>!l(e))),e.target,t,!0);n&&(n.focus({preventScroll:!0}),Po.getOrCreateInstance(n).show())}_getChildren(){return U.find(Lo,this._parent)}_getActiveElem(){return this._getChildren().find((e=>this._elemIsActive(e)))||null}_setInitialAttributes(e,t){this._setAttributeIfNotExists(e,"role","tablist");for(const e of t)this._setInitialAttributesOnChild(e)}_setInitialAttributesOnChild(e){e=this._getInnerElement(e);const t=this._elemIsActive(e),n=this._getOuterElement(e);e.setAttribute("aria-selected",t),n!==e&&this._setAttributeIfNotExists(n,"role","presentation"),t||e.setAttribute("tabindex","-1"),this._setAttributeIfNotExists(e,"role","tab"),this._setInitialAttributesOnTargetPanel(e)}_setInitialAttributesOnTargetPanel(e){const t=o(e);t&&(this._setAttributeIfNotExists(t,"role","tabpanel"),e.id&&this._setAttributeIfNotExists(t,"aria-labelledby",`#${e.id}`))}_toggleDropDown(e,t){const n=this._getOuterElement(e);if(!n.classList.contains("dropdown"))return;const o=(e,o)=>{const i=U.findOne(e,n);i&&i.classList.toggle(o,t)};o(".dropdown-toggle",Do),o(".dropdown-menu",Ao),n.setAttribute("aria-expanded",t)}_setAttributeIfNotExists(e,t,n){e.hasAttribute(t)||e.setAttribute(t,n)}_elemIsActive(e){return e.classList.contains(Do)}_getInnerElement(e){return e.matches(Lo)?e:U.findOne(Lo,e)}_getOuterElement(e){return e.closest(".nav-item, .list-group-item")||e}static jQueryInterface(e){return this.each((function(){const t=Po.getOrCreateInstance(this);if("string"==typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError(`No method named "${e}"`);t[e]()}}))}}L.on(document,"click.bs.tab",Mo,(function(e){["A","AREA"].includes(this.tagName)&&e.preventDefault(),l(this)||Po.getOrCreateInstance(this).show()})),L.on(window,"load.bs.tab",(()=>{for(const e of U.find('.active[data-bs-toggle="tab"], .active[data-bs-toggle="pill"], .active[data-bs-toggle="list"]'))Po.getOrCreateInstance(e)})),m(Po);const No="hide",Io="show",Yo="showing",Ro={animation:"boolean",autohide:"boolean",delay:"number"},Vo={animation:!0,autohide:!0,delay:5e3};class Qo extends H{constructor(e,t){super(e,t),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return Vo}static get DefaultType(){return Ro}static get NAME(){return"toast"}show(){if(L.trigger(this._element,"show.bs.toast").defaultPrevented)return;this._clearTimeout(),this._config.animation&&this._element.classList.add("fade");this._element.classList.remove(No),u(this._element),this._element.classList.add(Io,Yo),this._queueCallback((()=>{this._element.classList.remove(Yo),L.trigger(this._element,"shown.bs.toast"),this._maybeScheduleHide()}),this._element,this._config.animation)}hide(){if(!this.isShown())return;if(L.trigger(this._element,"hide.bs.toast").defaultPrevented)return;this._element.classList.add(Yo),this._queueCallback((()=>{this._element.classList.add(No),this._element.classList.remove(Yo,Io),L.trigger(this._element,"hidden.bs.toast")}),this._element,this._config.animation)}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(Io),super.dispose()}isShown(){return this._element.classList.contains(Io)}_maybeScheduleHide(){this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout((()=>{this.hide()}),this._config.delay)))}_onInteraction(e,t){switch(e.type){case"mouseover":case"mouseout":this._hasMouseInteraction=t;break;case"focusin":case"focusout":this._hasKeyboardInteraction=t}if(t)return void this._clearTimeout();const n=e.relatedTarget;this._element===n||this._element.contains(n)||this._maybeScheduleHide()}_setListeners(){L.on(this._element,"mouseover.bs.toast",(e=>this._onInteraction(e,!0))),L.on(this._element,"mouseout.bs.toast",(e=>this._onInteraction(e,!1))),L.on(this._element,"focusin.bs.toast",(e=>this._onInteraction(e,!0))),L.on(this._element,"focusout.bs.toast",(e=>this._onInteraction(e,!1)))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(e){return this.each((function(){const t=Qo.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e](this)}}))}}F(Qo),m(Qo);return{Alert:$,Button:z,Carousel:de,Collapse:ve,Dropdown:mn,Modal:Vn,Offcanvas:Gn,Popover:bo,ScrollSpy:ko,Tab:Po,Toast:Qo,Tooltip:go}})),function(){var e={2:function(e,t,n){var o;o="undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self?self:{},e.exports=o},1:function(e){e.exports=function(e){"complete"===document.readyState||"interactive"===document.readyState?e.call():document.attachEvent?document.attachEvent("onreadystatechange",(function(){"interactive"===document.readyState&&e.call()})):document.addEventListener&&document.addEventListener("DOMContentLoaded",e)}},8:function(e,t,n){"use strict";n.r(t);var o=n(1),i=n.n(o),r=n(2);function a(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var o,i,r=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(o=n.next()).done)&&(r.push(o.value),!t||r.length!==t);a=!0);}catch(e){s=!0,i=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw i}}return r}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return s(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return s(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n1?t-1:0),o=1;oo?(r=o*Math.max(n,u),uo?a=r/o+Math.abs(r):a+=(u-n)*(1-o),r/=2),e.parallaxScrollDistance=r,s=i?(u-a)/2:(n-a)/2,e.css(e.image.$item,{height:"".concat(a,"px"),marginTop:"".concat(s,"px"),left:"fixed"===e.image.position?"".concat(t.left,"px"):"0",width:"".concat(t.width,"px")}),e.options.onCoverImage&&e.options.onCoverImage.call(e),{image:{height:a,marginTop:s},container:t}}},{key:"isVisible",value:function(){return this.isElementInViewport||!1}},{key:"onScroll",value:function(e){var t=this,n=t.$item.getBoundingClientRect(),o=n.top,i=n.height,a={},s=n;if(t.options.elementInViewport&&(s=t.options.elementInViewport.getBoundingClientRect()),t.isElementInViewport=0<=s.bottom&&0<=s.right&&s.top<=u&&s.left<=r.window.innerWidth,e||t.isElementInViewport){var l=Math.max(0,o),c=Math.max(0,i+o),d=Math.max(0,-o),h=Math.max(0,o+i-u),f=Math.max(0,i-(o+i-u)),p=Math.max(0,-o+u-i),m=1-(u-o)/(u+i)*2,g=1;if(it.options.speed?v-=t.options.speed*g:v+=t.options.speed*(1-g),a.transform="scale(".concat(v,") translate3d(0,0,0)")}if("scroll"===t.options.type||"scroll-opacity"===t.options.type){var y=t.parallaxScrollDistance*m;"absolute"===t.image.position&&(y-=o),a.transform="translate3d(0,".concat(y,"px,0)")}t.css(t.image.$item,a),t.options.onScroll&&t.options.onScroll.call(t,{section:n,beforeTop:l,beforeTopEnd:c,afterTop:d,beforeBottom:h,beforeBottomEnd:f,afterBottom:p,visiblePercent:g,fromViewportCenter:m})}}},{key:"onResize",value:function(){this.coverImage(),this.clipContainer()}}],n&&c(t.prototype,n),o&&c(t,o),e}(),w=function(e,t){("object"===("undefined"==typeof HTMLElement?"undefined":l(HTMLElement))?e instanceof HTMLElement:e&&"object"===l(e)&&null!==e&&1===e.nodeType&&"string"==typeof e.nodeName)&&(e=[e]);for(var n,o=e.length,i=0,r=arguments.length,a=new Array(r>2?r-2:0),s=2;s1?n-1:0),i=1;i0&&void 0!==arguments[0]&&arguments[0],t=this;t.player&&e&&("youtube"===t.type&&t.player.setVolume&&t.player.setVolume(e),"vimeo"===t.type&&t.player.setVolume&&t.player.setVolume(e),"local"===t.type&&(t.$video.volume=e/100))}},{key:"getVolume",value:function(e){var t=this;t.player?("youtube"===t.type&&t.player.getVolume&&e(t.player.getVolume()),"vimeo"===t.type&&t.player.getVolume&&t.player.getVolume().then((function(t){e(t)})),"local"===t.type&&e(100*t.$video.volume)):e(!1)}},{key:"getMuted",value:function(e){var t=this;t.player?("youtube"===t.type&&t.player.isMuted&&e(t.player.isMuted()),"vimeo"===t.type&&t.player.getVolume&&t.player.getVolume().then((function(t){e(!!t)})),"local"===t.type&&e(t.$video.muted)):e(null)}},{key:"getImageURL",value:function(e){var t=this;if(t.videoImage)e(t.videoImage);else{if("youtube"===t.type){var n=["maxresdefault","sddefault","hqdefault","0"],o=0,i=new Image;i.onload=function(){120!==(this.naturalWidth||this.width)||o===n.length-1?(t.videoImage="https://img.youtube.com/vi/".concat(t.videoID,"/").concat(n[o],".jpg"),e(t.videoImage)):(o+=1,this.src="https://img.youtube.com/vi/".concat(t.videoID,"/").concat(n[o],".jpg"))},i.src="https://img.youtube.com/vi/".concat(t.videoID,"/").concat(n[o],".jpg")}if("vimeo"===t.type){var r=new XMLHttpRequest;r.open("GET","https://vimeo.com/api/v2/video/".concat(t.videoID,".json"),!0),r.onreadystatechange=function(){if(4===this.readyState&&200<=this.status&&400>this.status){var n=JSON.parse(this.responseText);t.videoImage=n[0].thumbnail_large,e(t.videoImage)}},r.send(),r=null}}}},{key:"getIframe",value:function(e){this.getVideo(e)}},{key:"getVideo",value:function(e){var t=this;t.$video?e(t.$video):t.onAPIready((function(){var n,o;if(t.$video||((n=document.createElement("div")).style.display="none"),"youtube"===t.type){var r,a;t.playerOptions={host:"https://www.youtube-nocookie.com",videoId:t.videoID,playerVars:{autohide:1,rel:0,autoplay:0,playsinline:1}},t.options.showControls||(t.playerOptions.playerVars.iv_load_policy=3,t.playerOptions.playerVars.modestbranding=1,t.playerOptions.playerVars.controls=0,t.playerOptions.playerVars.showinfo=0,t.playerOptions.playerVars.disablekb=1),t.playerOptions.events={onReady:function(e){t.options.mute?e.target.mute():t.options.volume&&e.target.setVolume(t.options.volume),t.options.autoplay&&t.play(t.options.startTime),t.fire("ready",e),t.options.loop&&!t.options.endTime&&(t.options.endTime=t.player.getDuration()-.1),setInterval((function(){t.getVolume((function(n){t.options.volume!==n&&(t.options.volume=n,t.fire("volumechange",e))}))}),150)},onStateChange:function(e){t.options.loop&&e.data===i().YT.PlayerState.ENDED&&t.play(t.options.startTime),r||e.data!==i().YT.PlayerState.PLAYING||(r=1,t.fire("started",e)),e.data===i().YT.PlayerState.PLAYING&&t.fire("play",e),e.data===i().YT.PlayerState.PAUSED&&t.fire("pause",e),e.data===i().YT.PlayerState.ENDED&&t.fire("ended",e),e.data===i().YT.PlayerState.PLAYING?a=setInterval((function(){t.fire("timeupdate",e),t.options.endTime&&t.player.getCurrentTime()>=t.options.endTime&&(t.options.loop?t.play(t.options.startTime):t.pause())}),150):clearInterval(a)},onError:function(e){t.fire("error",e)}};var s=!t.$video;if(s){var l=document.createElement("div");l.setAttribute("id",t.playerID),n.appendChild(l),document.body.appendChild(n)}t.player=t.player||new(i().YT.Player)(t.playerID,t.playerOptions),s&&(t.$video=document.getElementById(t.playerID),t.options.accessibilityHidden&&(t.$video.setAttribute("tabindex","-1"),t.$video.setAttribute("aria-hidden","true")),t.videoWidth=parseInt(t.$video.getAttribute("width"),10)||1280,t.videoHeight=parseInt(t.$video.getAttribute("height"),10)||720)}if("vimeo"===t.type){if(t.playerOptions={dnt:1,id:t.videoID,autopause:0,transparent:0,autoplay:t.options.autoplay?1:0,loop:t.options.loop?1:0,muted:t.options.mute?1:0},t.options.volume&&(t.playerOptions.volume=t.options.volume),t.options.showControls||(t.playerOptions.badge=0,t.playerOptions.byline=0,t.playerOptions.portrait=0,t.playerOptions.title=0,t.playerOptions.background=1),!t.$video){var c="";Object.keys(t.playerOptions).forEach((function(e){""!==c&&(c+="&"),c+="".concat(e,"=").concat(encodeURIComponent(t.playerOptions[e]))})),t.$video=document.createElement("iframe"),t.$video.setAttribute("id",t.playerID),t.$video.setAttribute("src","https://player.vimeo.com/video/".concat(t.videoID,"?").concat(c)),t.$video.setAttribute("frameborder","0"),t.$video.setAttribute("mozallowfullscreen",""),t.$video.setAttribute("allowfullscreen",""),t.$video.setAttribute("title","Vimeo video player"),t.options.accessibilityHidden&&(t.$video.setAttribute("tabindex","-1"),t.$video.setAttribute("aria-hidden","true")),n.appendChild(t.$video),document.body.appendChild(n)}var d;t.player=t.player||new(i().Vimeo.Player)(t.$video,t.playerOptions),t.options.startTime&&t.options.autoplay&&t.player.setCurrentTime(t.options.startTime),t.player.getVideoWidth().then((function(e){t.videoWidth=e||1280})),t.player.getVideoHeight().then((function(e){t.videoHeight=e||720})),t.player.on("timeupdate",(function(e){d||(t.fire("started",e),d=1),t.fire("timeupdate",e),t.options.endTime&&t.options.endTime&&e.seconds>=t.options.endTime&&(t.options.loop?t.play(t.options.startTime):t.pause())})),t.player.on("play",(function(e){t.fire("play",e),t.options.startTime&&0===e.seconds&&t.play(t.options.startTime)})),t.player.on("pause",(function(e){t.fire("pause",e)})),t.player.on("ended",(function(e){t.fire("ended",e)})),t.player.on("loaded",(function(e){t.fire("ready",e)})),t.player.on("volumechange",(function(e){t.fire("volumechange",e)})),t.player.on("error",(function(e){t.fire("error",e)}))}"local"===t.type&&(t.$video||(t.$video=document.createElement("video"),t.options.showControls&&(t.$video.controls=!0),t.options.mute?t.$video.muted=!0:t.$video.volume&&(t.$video.volume=t.options.volume/100),t.options.loop&&(t.$video.loop=!0),t.$video.setAttribute("playsinline",""),t.$video.setAttribute("webkit-playsinline",""),t.options.accessibilityHidden&&(t.$video.setAttribute("tabindex","-1"),t.$video.setAttribute("aria-hidden","true")),t.$video.setAttribute("id",t.playerID),n.appendChild(t.$video),document.body.appendChild(n),Object.keys(t.videoID).forEach((function(e){var n,o,i,r;n=t.$video,o=t.videoID[e],i="video/".concat(e),(r=document.createElement("source")).src=o,r.type=i,n.appendChild(r)}))),t.player=t.player||t.$video,t.player.addEventListener("playing",(function(e){o||t.fire("started",e),o=1})),t.player.addEventListener("timeupdate",(function(e){t.fire("timeupdate",e),t.options.endTime&&t.options.endTime&&this.currentTime>=t.options.endTime&&(t.options.loop?t.play(t.options.startTime):t.pause())})),t.player.addEventListener("play",(function(e){t.fire("play",e)})),t.player.addEventListener("pause",(function(e){t.fire("pause",e)})),t.player.addEventListener("ended",(function(e){t.fire("ended",e)})),t.player.addEventListener("loadedmetadata",(function(){t.videoWidth=this.videoWidth||1280,t.videoHeight=this.videoHeight||720,t.fire("ready"),t.options.autoplay&&t.play(t.options.startTime)})),t.player.addEventListener("volumechange",(function(e){t.getVolume((function(e){t.options.volume=e})),t.fire("volumechange",e)})),t.player.addEventListener("error",(function(e){t.fire("error",e)}))),e(t.$video)}))}},{key:"init",value:function(){this.playerID="VideoWorker-".concat(this.ID)}},{key:"loadAPI",value:function(){if(!c||!d){var e="";if("youtube"!==this.type||c||(c=1,e="https://www.youtube.com/iframe_api"),"vimeo"===this.type&&!d){if(d=1,void 0!==i().Vimeo)return;e="https://player.vimeo.com/api/player.js"}if(e){var t=document.createElement("script"),n=document.getElementsByTagName("head")[0];t.src=e,n.appendChild(t),n=null,t=null}}}},{key:"onAPIready",value:function(e){var t=this;if("youtube"===t.type&&(void 0!==i().YT&&0!==i().YT.loaded||u?"object"===r(i().YT)&&1===i().YT.loaded?e():f.done((function(){e()})):(u=1,window.onYouTubeIframeAPIReady=function(){window.onYouTubeIframeAPIReady=null,f.resolve("done"),e()})),"vimeo"===t.type)if(void 0!==i().Vimeo||h)void 0!==i().Vimeo?e():p.done((function(){e()}));else{h=1;var n=setInterval((function(){void 0!==i().Vimeo&&(clearInterval(n),p.resolve("done"),e())}),20)}"local"===t.type&&e()}}],n&&a(t.prototype,n),o&&a(t,o),e}()},function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return a}});var o=n(5),i=n(2),r=n.n(i);function a(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:r().jarallax;if(void 0!==e){var t=e.constructor,n=t.prototype.onScroll;t.prototype.onScroll=function(){var e=this;n.apply(e),!e.isVideoInserted&&e.video&&(!e.options.videoLazyLoading||e.isElementInViewport)&&!e.options.disableVideo()&&(e.isVideoInserted=!0,e.video.getVideo((function(t){var n=t.parentNode;e.css(t,{position:e.image.position,top:"0px",left:"0px",right:"0px",bottom:"0px",width:"100%",height:"100%",maxWidth:"none",maxHeight:"none",pointerEvents:"none",transformStyle:"preserve-3d",backfaceVisibility:"hidden",willChange:"transform,opacity",margin:0,zIndex:-1}),e.$video=t,"local"===e.video.type&&(e.image.src?e.$video.setAttribute("poster",e.image.src):e.image.$item&&"IMG"===e.image.$item.tagName&&e.image.$item.src&&e.$video.setAttribute("poster",e.image.$item.src)),e.image.$container.appendChild(t),n.parentNode.removeChild(n)})))};var i=t.prototype.coverImage;t.prototype.coverImage=function(){var e=this,t=i.apply(e),n=!!e.image.$item&&e.image.$item.nodeName;if(t&&e.video&&n&&("IFRAME"===n||"VIDEO"===n)){var o=t.image.height,r=o*e.image.width/e.image.height,a=(t.container.width-r)/2,s=t.image.marginTop;t.container.width>r&&(o=(r=t.container.width)*e.image.height/e.image.width,a=0,s+=(t.image.height-o)/2),"IFRAME"===n&&(o+=400,s-=200),e.css(e.$video,{width:"".concat(r,"px"),marginLeft:"".concat(a,"px"),height:"".concat(o,"px"),marginTop:"".concat(s,"px")})}return t};var a=t.prototype.initImg;t.prototype.initImg=function(){var e=this,t=a.apply(e);return e.options.videoSrc||(e.options.videoSrc=e.$item.getAttribute("data-jarallax-video")||null),e.options.videoSrc?(e.defaultInitImgResult=t,!0):t};var s=t.prototype.canInitParallax;t.prototype.canInitParallax=function(){var e=this,t=s.apply(e);if(!e.options.videoSrc)return t;var n=new o.default(e.options.videoSrc,{autoplay:!0,loop:e.options.videoLoop,showControls:!1,accessibilityHidden:!0,startTime:e.options.videoStartTime||0,endTime:e.options.videoEndTime||0,mute:e.options.videoVolume?0:1,volume:e.options.videoVolume||0});function i(){e.image.$default_item&&(e.image.$item=e.image.$default_item,e.image.$item.style.display="block",e.coverImage(),e.clipContainer(),e.onScroll())}if(n.isValid())if(this.options.disableParallax()&&(t=!0,e.image.position="absolute",e.options.type="scroll",e.options.speed=1),t){if(n.on("ready",(function(){if(e.options.videoPlayOnlyVisible){var t=e.onScroll;e.onScroll=function(){t.apply(e),e.videoError||!e.options.videoLoop&&(e.options.videoLoop||e.videoEnded)||(e.isVisible()?n.play():n.pause())}}else n.play()})),n.on("started",(function(){e.image.$default_item=e.image.$item,e.image.$item=e.$video,e.image.width=e.video.videoWidth||1280,e.image.height=e.video.videoHeight||720,e.coverImage(),e.clipContainer(),e.onScroll(),e.image.$default_item&&(e.image.$default_item.style.display="none")})),n.on("ended",(function(){e.videoEnded=!0,e.options.videoLoop||i()})),n.on("error",(function(){e.videoError=!0,i()})),e.video=n,!e.defaultInitImgResult&&(e.image.src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7","local"!==n.type))return n.getImageURL((function(t){e.image.bgImage='url("'.concat(t,'")'),e.init()})),!1}else e.defaultInitImgResult||n.getImageURL((function(t){var n=e.$item.getAttribute("style");n&&e.$item.setAttribute("data-jarallax-original-styles",n),e.css(e.$item,{"background-image":'url("'.concat(t,'")'),"background-position":"center","background-size":"cover"})}));return t};var l=t.prototype.destroy;t.prototype.destroy=function(){var e=this;e.image.$default_item&&(e.image.$item=e.image.$default_item,delete e.image.$default_item),l.apply(e)}}}}],t={};function n(o){var i=t[o];if(void 0!==i)return i.exports;var r=t[o]={exports:{}};return e[o](r,r.exports,n),r.exports}n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},n.d=function(e,t){for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var o={};!function(){"use strict";n.r(o);var e=n(5),t=n(2),i=n.n(t),r=n(1),a=n.n(r),s=n(6);i().VideoWorker=i().VideoWorker||e.default,(0,s.default)(),a()((function(){void 0!==i().jarallax&&i().jarallax(document.querySelectorAll("[data-jarallax-video]"))}))}()}(),function(){var e=[,function(e){e.exports=function(e){"complete"===document.readyState||"interactive"===document.readyState?e.call():document.attachEvent?document.attachEvent("onreadystatechange",(function(){"interactive"===document.readyState&&e.call()})):document.addEventListener&&document.addEventListener("DOMContentLoaded",e)}},function(e,t,n){var o;o="undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self?self:{},e.exports=o},function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return r}});var o=n(2),i=n.n(o);function r(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:i().jarallax;if(void 0!==e){var t=e.constructor;["initImg","canInitParallax","init","destroy","clipContainer","coverImage","isVisible","onScroll","onResize"].forEach((function(e){var n=t.prototype[e];t.prototype[e]=function(){var t=this;"initImg"===e&&null!==t.$item.getAttribute("data-jarallax-element")&&(t.options.type="element",t.pureOptions.speed=t.$item.getAttribute("data-jarallax-element")||t.pureOptions.speed);for(var o=arguments.length,i=new Array(o),r=0;rt.options.thresholdY&&(m=0),null!==t.options.thresholdX&&p>t.options.thresholdX&&(g=0),t.css(t.$item,{transform:"translate3d(".concat(g,"px,").concat(m,"px,0)")});break;case"initImg":case"isVisible":case"clipContainer":case"coverImage":return!0}return n.apply(t,i)}}))}}}],t={};function n(o){var i=t[o];if(void 0!==i)return i.exports;var r=t[o]={exports:{}};return e[o](r,r.exports,n),r.exports}n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},n.d=function(e,t){for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var o={};!function(){"use strict";n.r(o);var e=n(1),t=n.n(e),i=n(2),r=n.n(i);(0,n(3).default)(),t()((function(){void 0!==r().jarallax&&r().jarallax(document.querySelectorAll("[data-jarallax-element]"))}))}()}(),function(){var e,t;e=this.jQuery||window.jQuery,t=e(window),e.fn.stick_in_parent=function(n){var o,i,r,a,s,l,c,d,u,h,f,p,m;for(null==n&&(n={}),h=n.sticky_class,a=n.inner_scrolling,u=n.recalc_every,d=n.parent,l=n.offset_top,s=n.spacer,r=n.bottoming,null==l&&(l=0),null==d&&(d=void 0),null==a&&(a=!0),null==h&&(h="is_stuck"),o=e(document),null==r&&(r=!0),c=function(e){var t,n;return window.getComputedStyle?(e[0],t=window.getComputedStyle(e[0]),n=parseFloat(t.getPropertyValue("width"))+parseFloat(t.getPropertyValue("margin-left"))+parseFloat(t.getPropertyValue("margin-right")),"border-box"!==t.getPropertyValue("box-sizing")&&(n+=parseFloat(t.getPropertyValue("border-left-width"))+parseFloat(t.getPropertyValue("border-right-width"))+parseFloat(t.getPropertyValue("padding-left"))+parseFloat(t.getPropertyValue("padding-right"))),n):e.outerWidth(!0)},f=function(n,i,f,p,m,g,v,y){var b,_,w,S,O,x,k,j,C,E,T,D;if(!n.data("sticky_kit")){if(n.data("sticky_kit",!0),O=o.height(),k=n.parent(),null!=d&&(k=k.closest(d)),!k.length)throw"failed to find stick parent";if(w=!1,b=!1,(T=null!=s?s&&n.closest(s):e("
"))&&T.css("position",n.css("position")),(j=function(){var e,t,r;if(!y)return O=o.height(),e=parseInt(k.css("border-top-width"),10),t=parseInt(k.css("padding-top"),10),i=parseInt(k.css("padding-bottom"),10),f=k.offset().top+e+t,p=k.height(),w&&(w=!1,b=!1,null==s&&(n.insertAfter(T),T.detach()),n.css({position:"",top:"",width:"",bottom:""}).removeClass(h),r=!0),m=n.offset().top-(parseInt(n.css("margin-top"),10)||0)-l,g=n.outerHeight(!0),v=n.css("float"),T&&T.css({width:c(n),height:g,display:n.css("display"),"vertical-align":n.css("vertical-align"),float:v}),r?D():void 0})(),g!==p)return S=void 0,x=l,E=u,D=function(){var e,c,d,_,C,D;if(!y)return d=!1,null!=E&&(E-=1)<=0&&(E=u,j(),d=!0),d||o.height()===O||(j(),d=!0),_=t.scrollTop(),null!=S&&(c=_-S),S=_,w?(r&&(C=_+g+x>p+f,b&&!C&&(b=!1,n.css({position:"fixed",bottom:"",top:x}).trigger("sticky_kit:unbottom"))),_D&&(b||(x-=c,x=Math.max(D-g,x),x=Math.min(l,x),w&&n.css({top:x+"px"}))))):_>m&&(w=!0,(e={position:"fixed",top:x}).width="border-box"===n.css("box-sizing")?n.outerWidth()+"px":n.width()+"px",n.css(e).addClass(h),null==s&&(n.after(T),"left"!==v&&"right"!==v||T.append(n)),n.trigger("sticky_kit:stick")),w&&r&&(null==C&&(C=_+g+x>p+f),!b&&C)?(b=!0,"static"===k.css("position")&&k.css({position:"relative"}),n.css({position:"absolute",bottom:i,top:"auto"}).trigger("sticky_kit:bottom")):void 0},C=function(){return j(),D()},_=function(){if(y=!0,t.off("touchmove",D),t.off("scroll",D),t.off("resize",C),e(document.body).off("sticky_kit:recalc",C),n.off("sticky_kit:detach",_),n.removeData("sticky_kit"),n.css({position:"",bottom:"",top:"",width:""}),k.position("position",""),w)return null==s&&("left"!==v&&"right"!==v||n.insertAfter(T),T.remove()),n.removeClass(h)},t.on("touchmove",D),t.on("scroll",D),t.on("resize",C),e(document.body).on("sticky_kit:recalc",C),n.on("sticky_kit:detach",_),setTimeout(D,0)}},p=0,m=this.length;p=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(o=0;o=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function r(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t"===t[0]&&(t=t.substring(1)),e)try{if(e.matches)return e.matches(t);if(e.msMatchesSelector)return e.msMatchesSelector(t);if(e.webkitMatchesSelector)return e.webkitMatchesSelector(t)}catch(e){return!1}return!1}}function v(e){return e.host&&e!==document&&e.host.nodeType?e.host:e.parentNode}function y(e,t,n,o){if(e){n=n||document;do{if(null!=t&&(">"===t[0]?e.parentNode===n&&g(e,t):g(e,t))||o&&e===n)return e;if(e===n)break}while(e=v(e))}return null}var b,_=/\s+/g;function w(e,t,n){if(e&&t)if(e.classList)e.classList[n?"add":"remove"](t);else{var o=(" "+e.className+" ").replace(_," ").replace(" "+t+" "," ");e.className=(o+(n?" "+t:"")).replace(_," ")}}function S(e,t,n){var o=e&&e.style;if(o){if(void 0===n)return document.defaultView&&document.defaultView.getComputedStyle?n=document.defaultView.getComputedStyle(e,""):e.currentStyle&&(n=e.currentStyle),void 0===t?n:n[t];t in o||-1!==t.indexOf("webkit")||(t="-webkit-"+t),o[t]=n+("string"==typeof n?"":"px")}}function O(e,t){var n="";if("string"==typeof e)n=e;else do{var o=S(e,"transform");o&&"none"!==o&&(n=o+" "+n)}while(!t&&(e=e.parentNode));var i=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return i&&new i(n)}function x(e,t,n){if(e){var o=e.getElementsByTagName(t),i=0,r=o.length;if(n)for(;i=r:i<=r))return o;if(o===k())break;o=A(o,!1)}return!1}function E(e,t,n){for(var o=0,i=0,r=e.children;i2&&void 0!==arguments[2]?arguments[2]:{},r=n.evt,a=i(n,["evt"]);F.pluginEvent.bind(Ie)(e,t,o({dragEl:U,parentEl:q,ghostEl:G,rootEl:X,nextEl:Z,lastDownEl:K,cloneEl:J,cloneHidden:ee,dragStarted:fe,putSortable:ae,activeSortable:Ie.active,originalEvent:r,oldIndex:te,oldDraggableIndex:oe,newIndex:ne,newDraggableIndex:ie,hideGhostForTarget:Me,unhideGhostForTarget:Le,cloneNowHidden:function(){ee=!0},cloneNowShown:function(){ee=!1},dispatchSortableEvent:function(e){z({sortable:t,name:e,originalEvent:r})}},a))};function z(e){$(o({putSortable:ae,cloneEl:J,targetEl:U,rootEl:X,oldIndex:te,oldDraggableIndex:oe,newIndex:ne,newDraggableIndex:ie},e))}var U,q,G,X,Z,K,J,ee,te,ne,oe,ie,re,ae,se,le,ce,de,ue,he,fe,pe,me,ge,ve,ye=!1,be=!1,_e=[],we=!1,Se=!1,Oe=[],xe=!1,ke=[],je="undefined"!=typeof document,Ce=u,Ee=l||s?"cssFloat":"float",Te=je&&!h&&!u&&"draggable"in document.createElement("div"),De=function(){if(je){if(s)return!1;var e=document.createElement("x");return e.style.cssText="pointer-events:auto","auto"===e.style.pointerEvents}}(),We=function(e,t){var n=S(e),o=parseInt(n.width)-parseInt(n.paddingLeft)-parseInt(n.paddingRight)-parseInt(n.borderLeftWidth)-parseInt(n.borderRightWidth),i=E(e,0,t),r=E(e,1,t),a=i&&S(i),s=r&&S(r),l=a&&parseInt(a.marginLeft)+parseInt(a.marginRight)+j(i).width,c=s&&parseInt(s.marginLeft)+parseInt(s.marginRight)+j(r).width;if("flex"===n.display)return"column"===n.flexDirection||"column-reverse"===n.flexDirection?"vertical":"horizontal";if("grid"===n.display)return n.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal";if(i&&a.float&&"none"!==a.float){var d="left"===a.float?"left":"right";return!r||"both"!==s.clear&&s.clear!==d?"horizontal":"vertical"}return i&&("block"===a.display||"flex"===a.display||"table"===a.display||"grid"===a.display||l>=o&&"none"===n[Ee]||r&&"none"===n[Ee]&&l+c>o)?"vertical":"horizontal"},Ae=function(t){function n(e,t){return function(o,i,r,a){var s=o.options.group.name&&i.options.group.name&&o.options.group.name===i.options.group.name;if(null==e&&(t||s))return!0;if(null==e||!1===e)return!1;if(t&&"clone"===e)return e;if("function"==typeof e)return n(e(o,i,r,a),t)(o,i,r,a);var l=(t?o:i).options.group.name;return!0===e||"string"==typeof e&&e===l||e.join&&e.indexOf(l)>-1}}var o={},i=t.group;i&&"object"==e(i)||(i={name:i}),o.name=i.name,o.checkPull=n(i.pull,!0),o.checkPut=n(i.put),o.revertClone=i.revertClone,t.group=o},Me=function(){!De&&G&&S(G,"display","none")},Le=function(){!De&&G&&S(G,"display","")};je&&document.addEventListener("click",(function(e){if(be)return e.preventDefault(),e.stopPropagation&&e.stopPropagation(),e.stopImmediatePropagation&&e.stopImmediatePropagation(),be=!1,!1}),!0);var Pe=function(e){if(U){e=e.touches?e.touches[0]:e;var t=(i=e.clientX,r=e.clientY,_e.some((function(e){if(!T(e)){var t=j(e),n=e[R].options.emptyInsertThreshold,o=i>=t.left-n&&i<=t.right+n,s=r>=t.top-n&&r<=t.bottom+n;return n&&o&&s?a=e:void 0}})),a);if(t){var n={};for(var o in e)e.hasOwnProperty(o)&&(n[o]=e[o]);n.target=n.rootEl=t,n.preventDefault=void 0,n.stopPropagation=void 0,t[R]._onDragOver(n)}}var i,r,a},Ne=function(e){U&&U.parentNode[R]._isOutsideThisEl(e.target)};function Ie(e,t){if(!e||!e.nodeType||1!==e.nodeType)throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(e));this.el=e,this.options=t=n({},t),e[R]=this;var o={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(e.nodeName)?">li":">*",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return We(e,this.options)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(e,t){e.setData("Text",t.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,delayOnTouchOnly:!1,touchStartThreshold:(Number.parseInt?Number:window).parseInt(window.devicePixelRatio,10)||1,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1,fallbackTolerance:0,fallbackOffset:{x:0,y:0},supportPointer:!1!==Ie.supportPointer&&"PointerEvent"in window,emptyInsertThreshold:5};for(var i in F.initializePlugins(this,e,o),o)!(i in t)&&(t[i]=o[i]);for(var r in Ae(t),this)"_"===r.charAt(0)&&"function"==typeof this[r]&&(this[r]=this[r].bind(this));this.nativeDraggable=!t.forceFallback&&Te,this.nativeDraggable&&(this.options.touchStartThreshold=1),t.supportPointer?p(e,"pointerdown",this._onTapStart):(p(e,"mousedown",this._onTapStart),p(e,"touchstart",this._onTapStart)),this.nativeDraggable&&(p(e,"dragover",this),p(e,"dragenter",this)),_e.push(this.el),t.store&&t.store.get&&this.sort(t.store.get(this)||[]),n(this,V())}function Ye(e,t,n,o,i,r,a,c){var d,u,h=e[R],f=h.options.onMove;return!window.CustomEvent||s||l?(d=document.createEvent("Event")).initEvent("move",!0,!0):d=new CustomEvent("move",{bubbles:!0,cancelable:!0}),d.to=t,d.from=e,d.dragged=n,d.draggedRect=o,d.related=i||t,d.relatedRect=r||j(t),d.willInsertAfter=c,d.originalEvent=a,e.dispatchEvent(d),f&&(u=f.call(h,d,a)),u}function Re(e){e.draggable=!1}function Ve(){xe=!1}function Qe(e){for(var t=e.tagName+e.className+e.src+e.href+e.textContent,n=t.length,o=0;n--;)o+=t.charCodeAt(n);return o.toString(36)}function He(e){return setTimeout(e,0)}function Fe(e){return clearTimeout(e)}Ie.prototype={constructor:Ie,_isOutsideThisEl:function(e){this.el.contains(e)||e===this.el||(pe=null)},_getDirection:function(e,t){return"function"==typeof this.options.direction?this.options.direction.call(this,e,t,U):this.options.direction},_onTapStart:function(e){if(e.cancelable){var t=this,n=this.el,o=this.options,i=o.preventOnFilter,r=e.type,a=e.touches&&e.touches[0]||e.pointerType&&"touch"===e.pointerType&&e,s=(a||e).target,l=e.target.shadowRoot&&(e.path&&e.path[0]||e.composedPath&&e.composedPath()[0])||s,c=o.filter;if(function(e){ke.length=0;var t=e.getElementsByTagName("input"),n=t.length;for(;n--;){var o=t[n];o.checked&&ke.push(o)}}(n),!U&&!(/mousedown|pointerdown/.test(r)&&0!==e.button||o.disabled||l.isContentEditable||(s=y(s,o.draggable,n,!1))&&s.animated||K===s)){if(te=D(s),oe=D(s,o.draggable),"function"==typeof c){if(c.call(this,e,s,this))return z({sortable:t,rootEl:l,name:"filter",targetEl:s,toEl:n,fromEl:n}),B("filter",t,{evt:e}),void(i&&e.cancelable&&e.preventDefault())}else if(c&&(c=c.split(",").some((function(o){if(o=y(l,o.trim(),n,!1))return z({sortable:t,rootEl:o,name:"filter",targetEl:s,fromEl:n,toEl:n}),B("filter",t,{evt:e}),!0}))))return void(i&&e.cancelable&&e.preventDefault());o.handle&&!y(l,o.handle,n,!1)||this._prepareDragStart(e,a,s)}}},_prepareDragStart:function(e,t,n){var o,i=this,r=i.el,a=i.options,d=r.ownerDocument;if(n&&!U&&n.parentNode===r){var u=j(n);if(X=r,q=(U=n).parentNode,Z=U.nextSibling,K=n,re=a.group,Ie.dragged=U,se={target:U,clientX:(t||e).clientX,clientY:(t||e).clientY},ue=se.clientX-u.left,he=se.clientY-u.top,this._lastX=(t||e).clientX,this._lastY=(t||e).clientY,U.style["will-change"]="all",o=function(){B("delayEnded",i,{evt:e}),Ie.eventCanceled?i._onDrop():(i._disableDelayedDragEvents(),!c&&i.nativeDraggable&&(U.draggable=!0),i._triggerDragStart(e,t),z({sortable:i,name:"choose",originalEvent:e}),w(U,a.chosenClass,!0))},a.ignore.split(",").forEach((function(e){x(U,e.trim(),Re)})),p(d,"dragover",Pe),p(d,"mousemove",Pe),p(d,"touchmove",Pe),p(d,"mouseup",i._onDrop),p(d,"touchend",i._onDrop),p(d,"touchcancel",i._onDrop),c&&this.nativeDraggable&&(this.options.touchStartThreshold=4,U.draggable=!0),B("delayStart",this,{evt:e}),!a.delay||a.delayOnTouchOnly&&!t||this.nativeDraggable&&(l||s))o();else{if(Ie.eventCanceled)return void this._onDrop();p(d,"mouseup",i._disableDelayedDrag),p(d,"touchend",i._disableDelayedDrag),p(d,"touchcancel",i._disableDelayedDrag),p(d,"mousemove",i._delayedDragTouchMoveHandler),p(d,"touchmove",i._delayedDragTouchMoveHandler),a.supportPointer&&p(d,"pointermove",i._delayedDragTouchMoveHandler),i._dragStartTimer=setTimeout(o,a.delay)}}},_delayedDragTouchMoveHandler:function(e){var t=e.touches?e.touches[0]:e;Math.max(Math.abs(t.clientX-this._lastX),Math.abs(t.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function(){U&&Re(U),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var e=this.el.ownerDocument;m(e,"mouseup",this._disableDelayedDrag),m(e,"touchend",this._disableDelayedDrag),m(e,"touchcancel",this._disableDelayedDrag),m(e,"mousemove",this._delayedDragTouchMoveHandler),m(e,"touchmove",this._delayedDragTouchMoveHandler),m(e,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(e,t){t=t||"touch"==e.pointerType&&e,!this.nativeDraggable||t?this.options.supportPointer?p(document,"pointermove",this._onTouchMove):p(document,t?"touchmove":"mousemove",this._onTouchMove):(p(U,"dragend",this),p(X,"dragstart",this._onDragStart));try{document.selection?He((function(){document.selection.empty()})):window.getSelection().removeAllRanges()}catch(e){}},_dragStarted:function(e,t){if(ye=!1,X&&U){B("dragStarted",this,{evt:t}),this.nativeDraggable&&p(document,"dragover",Ne);var n=this.options;!e&&w(U,n.dragClass,!1),w(U,n.ghostClass,!0),Ie.active=this,e&&this._appendGhost(),z({sortable:this,name:"start",originalEvent:t})}else this._nulling()},_emulateDragOver:function(){if(le){this._lastX=le.clientX,this._lastY=le.clientY,Me();for(var e=document.elementFromPoint(le.clientX,le.clientY),t=e;e&&e.shadowRoot&&(e=e.shadowRoot.elementFromPoint(le.clientX,le.clientY))!==t;)t=e;if(U.parentNode[R]._isOutsideThisEl(e),t)do{if(t[R]){if(t[R]._onDragOver({clientX:le.clientX,clientY:le.clientY,target:e,rootEl:t})&&!this.options.dragoverBubble)break}e=t}while(t=t.parentNode);Le()}},_onTouchMove:function(e){if(se){var t=this.options,n=t.fallbackTolerance,o=t.fallbackOffset,i=e.touches?e.touches[0]:e,r=G&&O(G,!0),a=G&&r&&r.a,s=G&&r&&r.d,l=Ce&&ve&&W(ve),c=(i.clientX-se.clientX+o.x)/(a||1)+(l?l[0]-Oe[0]:0)/(a||1),d=(i.clientY-se.clientY+o.y)/(s||1)+(l?l[1]-Oe[1]:0)/(s||1);if(!Ie.active&&!ye){if(n&&Math.max(Math.abs(i.clientX-this._lastX),Math.abs(i.clientY-this._lastY))o.right+i||e.clientX<=o.right&&e.clientY>o.bottom&&e.clientX>=o.left:e.clientX>o.right&&e.clientY>o.top||e.clientX<=o.right&&e.clientY>o.bottom+i}(e,r,this)&&!g.animated){if(g===U)return V(!1);if(g&&a===e.target&&(s=g),s&&(n=j(s)),!1!==Ye(X,a,U,t,s,n,e,!!s))return Y(),a.appendChild(U),q=a,Q(),V(!0)}else if(s.parentNode===a){n=j(s);var v,b,_,O=U.parentNode!==a,x=!function(e,t,n){var o=n?e.left:e.top,i=n?e.right:e.bottom,r=n?e.width:e.height,a=n?t.left:t.top,s=n?t.right:t.bottom,l=n?t.width:t.height;return o===a||i===s||o+r/2===a+l/2}(U.animated&&U.toRect||t,s.animated&&s.toRect||n,r),k=r?"top":"left",E=C(s,"top","top")||C(U,"top","top"),W=E?E.scrollTop:void 0;if(pe!==s&&(b=n[k],we=!1,Se=!x&&l.invertSwap||O),v=function(e,t,n,o,i,r,a,s){var l=o?e.clientY:e.clientX,c=o?n.height:n.width,d=o?n.top:n.left,u=o?n.bottom:n.right,h=!1;if(!a)if(s&&ged+c*r/2:lu-ge)return-me}else if(l>d+c*(1-i)/2&&lu-c*r/2))return l>d+c/2?1:-1;return 0}(e,s,n,r,x?1:l.swapThreshold,null==l.invertedSwapThreshold?l.swapThreshold:l.invertedSwapThreshold,Se,pe===s),0!==v){var A=D(U);do{A-=v,_=q.children[A]}while(_&&("none"===S(_,"display")||_===G))}if(0===v||_===s)return V(!1);pe=s,me=v;var M=s.nextElementSibling,L=!1,N=Ye(X,a,U,t,s,n,e,L=1===v);if(!1!==N)return 1!==N&&-1!==N||(L=1===N),xe=!0,setTimeout(Ve,30),Y(),L&&!M?a.appendChild(U):s.parentNode.insertBefore(U,L?M:s),E&&P(E,0,W-E.scrollTop),q=U.parentNode,void 0===b||Se||(ge=Math.abs(b-j(s)[k])),Q(),V(!0)}if(a.contains(U))return V(!1)}return!1}function I(l,c){B(l,p,o({evt:e,isOwner:u,axis:r?"vertical":"horizontal",revert:i,dragRect:t,targetRect:n,canSort:h,fromSortable:f,target:s,completed:V,onMove:function(n,o){return Ye(X,a,U,t,n,j(n),e,o)},changed:Q},c))}function Y(){I("dragOverAnimationCapture"),p.captureAnimationState(),p!==f&&f.captureAnimationState()}function V(t){return I("dragOverCompleted",{insertion:t}),t&&(u?d._hideClone():d._showClone(p),p!==f&&(w(U,ae?ae.options.ghostClass:d.options.ghostClass,!1),w(U,l.ghostClass,!0)),ae!==p&&p!==Ie.active?ae=p:p===Ie.active&&ae&&(ae=null),f===p&&(p._ignoreWhileAnimating=s),p.animateAll((function(){I("dragOverAnimationComplete"),p._ignoreWhileAnimating=null})),p!==f&&(f.animateAll(),f._ignoreWhileAnimating=null)),(s===U&&!U.animated||s===a&&!s.animated)&&(pe=null),l.dragoverBubble||e.rootEl||s===document||(U.parentNode[R]._isOutsideThisEl(e.target),!t&&Pe(e)),!l.dragoverBubble&&e.stopPropagation&&e.stopPropagation(),m=!0}function Q(){ne=D(U),ie=D(U,l.draggable),z({sortable:p,name:"change",toEl:a,newIndex:ne,newDraggableIndex:ie,originalEvent:e})}},_ignoreWhileAnimating:null,_offMoveEvents:function(){m(document,"mousemove",this._onTouchMove),m(document,"touchmove",this._onTouchMove),m(document,"pointermove",this._onTouchMove),m(document,"dragover",Pe),m(document,"mousemove",Pe),m(document,"touchmove",Pe)},_offUpEvents:function(){var e=this.el.ownerDocument;m(e,"mouseup",this._onDrop),m(e,"touchend",this._onDrop),m(e,"pointerup",this._onDrop),m(e,"touchcancel",this._onDrop),m(document,"selectstart",this)},_onDrop:function(e){var t=this.el,n=this.options;ne=D(U),ie=D(U,n.draggable),B("drop",this,{evt:e}),q=U&&U.parentNode,ne=D(U),ie=D(U,n.draggable),Ie.eventCanceled||(ye=!1,Se=!1,we=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),Fe(this.cloneId),Fe(this._dragStartId),this.nativeDraggable&&(m(document,"drop",this),m(t,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),d&&S(document.body,"user-select",""),S(U,"transform",""),e&&(fe&&(e.cancelable&&e.preventDefault(),!n.dropBubble&&e.stopPropagation()),G&&G.parentNode&&G.parentNode.removeChild(G),(X===q||ae&&"clone"!==ae.lastPutMode)&&J&&J.parentNode&&J.parentNode.removeChild(J),U&&(this.nativeDraggable&&m(U,"dragend",this),Re(U),U.style["will-change"]="",fe&&!ye&&w(U,ae?ae.options.ghostClass:this.options.ghostClass,!1),w(U,this.options.chosenClass,!1),z({sortable:this,name:"unchoose",toEl:q,newIndex:null,newDraggableIndex:null,originalEvent:e}),X!==q?(ne>=0&&(z({rootEl:q,name:"add",toEl:q,fromEl:X,originalEvent:e}),z({sortable:this,name:"remove",toEl:q,originalEvent:e}),z({rootEl:q,name:"sort",toEl:q,fromEl:X,originalEvent:e}),z({sortable:this,name:"sort",toEl:q,originalEvent:e})),ae&&ae.save()):ne!==te&&ne>=0&&(z({sortable:this,name:"update",toEl:q,originalEvent:e}),z({sortable:this,name:"sort",toEl:q,originalEvent:e})),Ie.active&&(null!=ne&&-1!==ne||(ne=te,ie=oe),z({sortable:this,name:"end",toEl:q,originalEvent:e}),this.save())))),this._nulling()},_nulling:function(){B("nulling",this),X=U=q=G=Z=J=K=ee=se=le=fe=ne=ie=te=oe=pe=me=ae=re=Ie.dragged=Ie.ghost=Ie.clone=Ie.active=null,ke.forEach((function(e){e.checked=!0})),ke.length=ce=de=0},handleEvent:function(e){switch(e.type){case"drop":case"dragend":this._onDrop(e);break;case"dragenter":case"dragover":U&&(this._onDragOver(e),function(e){e.dataTransfer&&(e.dataTransfer.dropEffect="move");e.cancelable&&e.preventDefault()}(e));break;case"selectstart":e.preventDefault()}},toArray:function(){for(var e,t=[],n=this.el.children,o=0,i=n.length,r=this.options;o1&&(dt.forEach((function(e){o.addAnimationState({target:e,rect:ft?j(e):i}),Y(e),e.fromRect=i,t.removeAnimationState(e)})),ft=!1,function(e,t){dt.forEach((function(n,o){var i=t.children[n.sortableIndex+(e?Number(o):0)];i?t.insertBefore(n,i):t.appendChild(n)}))}(!this.options.removeCloneOnHide,n))},dragOverCompleted:function(e){var t=e.sortable,n=e.isOwner,o=e.insertion,i=e.activeSortable,r=e.parentEl,a=e.putSortable,s=this.options;if(o){if(n&&i._hideClone(),ht=!1,s.animation&&dt.length>1&&(ft||!n&&!i.options.sort&&!a)){var l=j(st,!1,!0,!0);dt.forEach((function(e){e!==st&&(I(e,l),r.appendChild(e))})),ft=!0}if(!n)if(ft||gt(),dt.length>1){var c=ct;i._showClone(t),i.options.animation&&!ct&&c&&ut.forEach((function(e){i.addAnimationState({target:e,rect:lt}),e.fromRect=lt,e.thisAnimationDuration=null}))}else i._showClone(t)}},dragOverAnimationCapture:function(e){var t=e.dragRect,o=e.isOwner,i=e.activeSortable;if(dt.forEach((function(e){e.thisAnimationDuration=null})),i.options.animation&&!o&&i.multiDrag.isMultiDrag){lt=n({},t);var r=O(st,!0);lt.top-=r.f,lt.left-=r.e}},dragOverAnimationComplete:function(){ft&&(ft=!1,gt())},drop:function(e){var t=e.originalEvent,n=e.rootEl,o=e.parentEl,i=e.sortable,r=e.dispatchSortableEvent,a=e.oldIndex,s=e.putSortable,l=s||this.sortable;if(t){var c=this.options,d=o.children;if(!pt)if(c.multiDragKey&&!this.multiDragKeyDown&&this._deselectMultiDrag(),w(st,c.selectedClass,!~dt.indexOf(st)),~dt.indexOf(st))dt.splice(dt.indexOf(st),1),rt=null,$({sortable:i,rootEl:n,name:"deselect",targetEl:st,originalEvt:t});else{if(dt.push(st),$({sortable:i,rootEl:n,name:"select",targetEl:st,originalEvt:t}),t.shiftKey&&rt&&i.el.contains(rt)){var u,h,f=D(rt),p=D(st);if(~f&&~p&&f!==p)for(p>f?(h=f,u=p):(h=p,u=f+1);h1){var m=j(st),g=D(st,":not(."+this.options.selectedClass+")");if(!ht&&c.animation&&(st.thisAnimationDuration=null),l.captureAnimationState(),!ht&&(c.animation&&(st.fromRect=m,dt.forEach((function(e){if(e.thisAnimationDuration=null,e!==st){var t=ft?j(e):m;e.fromRect=t,l.addAnimationState({target:e,rect:t})}}))),gt(),dt.forEach((function(e){d[g]?o.insertBefore(e,d[g]):o.appendChild(e),g++})),a===D(st))){var v=!1;dt.forEach((function(e){e.sortableIndex===D(e)||(v=!0)})),v&&r("update")}dt.forEach((function(e){Y(e)})),l.animateAll()}at=l}(n===o||s&&"clone"!==s.lastPutMode)&&ut.forEach((function(e){e.parentNode&&e.parentNode.removeChild(e)}))}},nullingGlobal:function(){this.isMultiDrag=pt=!1,ut.length=0},destroyGlobal:function(){this._deselectMultiDrag(),m(document,"pointerup",this._deselectMultiDrag),m(document,"mouseup",this._deselectMultiDrag),m(document,"touchend",this._deselectMultiDrag),m(document,"keydown",this._checkKeyDown),m(document,"keyup",this._checkKeyUp)},_deselectMultiDrag:function(e){if(!(void 0!==pt&&pt||at!==this.sortable||e&&y(e.target,this.options.draggable,this.sortable.el,!1)||e&&0!==e.button))for(;dt.length;){var t=dt[0];w(t,this.options.selectedClass,!1),dt.shift(),$({sortable:this.sortable,rootEl:this.sortable.el,name:"deselect",targetEl:t,originalEvt:e})}},_checkKeyDown:function(e){e.key===this.options.multiDragKey&&(this.multiDragKeyDown=!0)},_checkKeyUp:function(e){e.key===this.options.multiDragKey&&(this.multiDragKeyDown=!1)}},n(e,{pluginName:"multiDrag",utils:{select:function(e){var t=e.parentNode[R];t&&t.options.multiDrag&&!~dt.indexOf(e)&&(at&&at!==t&&(at.multiDrag._deselectMultiDrag(),at=t),w(e,t.options.selectedClass,!0),dt.push(e))},deselect:function(e){var t=e.parentNode[R],n=dt.indexOf(e);t&&t.options.multiDrag&&~n&&(w(e,t.options.selectedClass,!1),dt.splice(n,1))}},eventProperties:function(){var e=this,t=[],n=[];return dt.forEach((function(o){var i;t.push({multiDragElement:o,index:o.sortableIndex}),i=ft&&o!==st?-1:ft?D(o,":not(."+e.options.selectedClass+")"):D(o),n.push({multiDragElement:o,index:i})})),{items:r(dt),clones:[].concat(ut),oldIndicies:t,newIndicies:n}},optionListeners:{multiDragKey:function(e){return"ctrl"===(e=e.toLowerCase())?e="Control":e.length>1&&(e=e.charAt(0).toUpperCase()+e.substr(1)),e}}})}),Ie})),function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.Typed=t():e.Typed=t()}(this,(function(){return function(e){var t={};function n(o){if(t[o])return t[o].exports;var i=t[o]={exports:{},id:o,loaded:!1};return e[o].call(i.exports,i,i.exports,n),i.loaded=!0,i.exports}return n.m=e,n.c=t,n.p="",n(0)}([function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=function(){function e(e,t){for(var n=0;ne.length)););var l=e.substring(0,t),c=e.substring(l.length+1,t+i),d=e.substring(t+i+1);e=l+c+d,i--}n.timeout=setTimeout((function(){n.toggleBlinking(!1),t>=e.length?n.doneTyping(e,t):n.keepTyping(e,t,i),n.temporaryPause&&(n.temporaryPause=!1,n.options.onTypingResumed(n.arrayPos,n))}),o)}),o):this.setPauseStatus(e,t,!0)}},{key:"keepTyping",value:function(e,t,n){0===t&&(this.toggleBlinking(!1),this.options.preStringTyped(this.arrayPos,this)),t+=n;var o=e.substr(0,t);this.replaceText(o),this.typewrite(e,t)}},{key:"doneTyping",value:function(e,t){var n=this;this.options.onStringTyped(this.arrayPos,this),this.toggleBlinking(!0),this.arrayPos===this.strings.length-1&&(this.complete(),!1===this.loop||this.curLoop===this.loopCount)||(this.timeout=setTimeout((function(){n.backspace(e,t)}),this.backDelay))}},{key:"backspace",value:function(e,t){var n=this;if(!0!==this.pause.status){if(this.fadeOut)return this.initFadeOut();this.toggleBlinking(!1);var o=this.humanizer(this.backSpeed);this.timeout=setTimeout((function(){t=r.htmlParser.backSpaceHtmlChars(e,t,n);var o=e.substr(0,t);if(n.replaceText(o),n.smartBackspace){var i=n.strings[n.arrayPos+1];i&&o===i.substr(0,t)?n.stopNum=t:n.stopNum=0}t>n.stopNum?(t--,n.backspace(e,t)):t<=n.stopNum&&(n.arrayPos++,n.arrayPos===n.strings.length?(n.arrayPos=0,n.options.onLastStringBackspaced(),n.shuffleStringsIfNeeded(),n.begin()):n.typewrite(n.strings[n.sequence[n.arrayPos]],t))}),o)}else this.setPauseStatus(e,t,!1)}},{key:"complete",value:function(){this.options.onComplete(this),this.loop?this.curLoop++:this.typingComplete=!0}},{key:"setPauseStatus",value:function(e,t,n){this.pause.typewrite=n,this.pause.curString=e,this.pause.curStrPos=t}},{key:"toggleBlinking",value:function(e){this.cursor&&(this.pause.status||this.cursorBlinking!==e&&(this.cursorBlinking=e,e?this.cursor.classList.add("typed-cursor--blink"):this.cursor.classList.remove("typed-cursor--blink")))}},{key:"humanizer",value:function(e){return Math.round(Math.random()*e/2)+e}},{key:"shuffleStringsIfNeeded",value:function(){this.shuffle&&(this.sequence=this.sequence.sort((function(){return Math.random()-.5})))}},{key:"initFadeOut",value:function(){var e=this;return this.el.className+=" "+this.fadeOutClass,this.cursor&&(this.cursor.className+=" "+this.fadeOutClass),setTimeout((function(){e.arrayPos++,e.replaceText(""),e.strings.length>e.arrayPos?e.typewrite(e.strings[e.sequence[e.arrayPos]],0):(e.typewrite(e.strings[0],0),e.arrayPos=0)}),this.fadeOutDelay)}},{key:"replaceText",value:function(e){this.attr?this.el.setAttribute(this.attr,e):this.isInput?this.el.value=e:"html"===this.contentType?this.el.innerHTML=e:this.el.textContent=e}},{key:"bindFocusEvents",value:function(){var e=this;this.isInput&&(this.el.addEventListener("focus",(function(t){e.stop()})),this.el.addEventListener("blur",(function(t){e.el.value&&0!==e.el.value.length||e.start()})))}},{key:"insertCursor",value:function(){this.showCursor&&(this.cursor||(this.cursor=document.createElement("span"),this.cursor.className="typed-cursor",this.cursor.setAttribute("aria-hidden",!0),this.cursor.innerHTML=this.cursorChar,this.el.parentNode&&this.el.parentNode.insertBefore(this.cursor,this.el.nextSibling)))}}]),e}();t.default=a,e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t":";";e.substr(t+1).charAt(0)!==i&&!(++t+1>e.length););t++}return t}},{key:"backSpaceHtmlChars",value:function(e,t,n){if("html"!==n.contentType)return t;var o=e.substr(t).charAt(0);if(">"===o||";"===o){var i="";for(i=">"===o?"<":"&";e.substr(t-1).charAt(0)!==i&&!(--t<0););t--}return t}}]),e}();t.default=o;var i=new o;t.htmlParser=i}])})),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 function(e){function t(o){if(n[o])return n[o].exports;var i=n[o]={exports:{},id:o,loaded:!1};return e[o].call(i.exports,i,i.exports,t),i.loaded=!0,i.exports}var n={};return t.m=e,t.c=n,t.p="dist/",t(0)}([function(e,t,n){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}var i=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]&&arguments[0];if(e&&(p=!0),p)return f=(0,u.default)(f,m),(0,d.default)(f,m.once),f},v=function(){f=(0,h.default)(),g()};e.exports={init:function(e){m=i(m,e),f=(0,h.default)();var t=document.all&&!window.atob;return function(e){return!0===e||"mobile"===e&&c.default.mobile()||"phone"===e&&c.default.phone()||"tablet"===e&&c.default.tablet()||"function"==typeof e&&!0===e()}(m.disable)||t?void f.forEach((function(e,t){e.node.removeAttribute("data-aos"),e.node.removeAttribute("data-aos-easing"),e.node.removeAttribute("data-aos-duration"),e.node.removeAttribute("data-aos-delay")})):(m.disableMutationObserver||l.default.isSupported()||(console.info('\n aos: MutationObserver is not supported on this browser,\n code mutations observing has been disabled.\n You may have to call "refreshHard()" by yourself.\n '),m.disableMutationObserver=!0),document.querySelector("body").setAttribute("data-aos-easing",m.easing),document.querySelector("body").setAttribute("data-aos-duration",m.duration),document.querySelector("body").setAttribute("data-aos-delay",m.delay),"DOMContentLoaded"===m.startEvent&&["complete","interactive"].indexOf(document.readyState)>-1?g(!0):"load"===m.startEvent?window.addEventListener(m.startEvent,(function(){g(!0)})):document.addEventListener(m.startEvent,(function(){g(!0)})),window.addEventListener("resize",(0,s.default)(g,m.debounceDelay,!0)),window.addEventListener("orientationchange",(0,s.default)(g,m.debounceDelay,!0)),window.addEventListener("scroll",(0,a.default)((function(){(0,d.default)(f,m.once)}),m.throttleDelay)),m.disableMutationObserver||l.default.ready("[data-aos]",v),f)},refresh:g,refreshHard:v}},function(e,t){},,,,,function(e,t){(function(t){"use strict";function n(e,t,n){function i(t){var n=h,o=f;return h=f=void 0,y=t,m=e.apply(o,n)}function a(e){return y=e,g=setTimeout(c,t),S?i(e):m}function l(e){var n=e-v;return void 0===v||n>=t||n<0||O&&e-y>=p}function c(){var e=w();return l(e)?d(e):void(g=setTimeout(c,function(e){var n=t-(e-v);return O?_(n,p-(e-y)):n}(e)))}function d(e){return g=void 0,x&&h?i(e):(h=f=void 0,m)}function u(){var e=w(),n=l(e);if(h=arguments,f=this,v=e,n){if(void 0===g)return a(v);if(O)return g=setTimeout(c,t),i(v)}return void 0===g&&(g=setTimeout(c,t)),m}var h,f,p,m,g,v,y=0,S=!1,O=!1,x=!0;if("function"!=typeof e)throw new TypeError(s);return t=r(t)||0,o(n)&&(S=!!n.leading,p=(O="maxWait"in n)?b(r(n.maxWait)||0,t):p,x="trailing"in n?!!n.trailing:x),u.cancel=function(){void 0!==g&&clearTimeout(g),y=0,h=v=f=g=void 0},u.flush=function(){return void 0===g?m:d(w())},u}function o(e){var t=void 0===e?"undefined":a(e);return!!e&&("object"==t||"function"==t)}function i(e){return"symbol"==(void 0===e?"undefined":a(e))||function(e){return!!e&&"object"==(void 0===e?"undefined":a(e))}(e)&&y.call(e)==c}function r(e){if("number"==typeof e)return e;if(i(e))return l;if(o(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=o(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(d,"");var n=h.test(e);return n||f.test(e)?p(e.slice(2),n?2:8):u.test(e)?l:+e}var a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s="Expected a function",l=NaN,c="[object Symbol]",d=/^\s+|\s+$/g,u=/^[-+]0x[0-9a-f]+$/i,h=/^0b[01]+$/i,f=/^0o[0-7]+$/i,p=parseInt,m="object"==(void 0===t?"undefined":a(t))&&t&&t.Object===Object&&t,g="object"==("undefined"==typeof self?"undefined":a(self))&&self&&self.Object===Object&&self,v=m||g||Function("return this")(),y=Object.prototype.toString,b=Math.max,_=Math.min,w=function(){return v.Date.now()};e.exports=function(e,t,i){var r=!0,a=!0;if("function"!=typeof e)throw new TypeError(s);return o(i)&&(r="leading"in i?!!i.leading:r,a="trailing"in i?!!i.trailing:a),n(e,t,{leading:r,maxWait:t,trailing:a})}}).call(t,function(){return this}())},function(e,t){(function(t){"use strict";function n(e){var t=void 0===e?"undefined":r(e);return!!e&&("object"==t||"function"==t)}function o(e){return"symbol"==(void 0===e?"undefined":r(e))||function(e){return!!e&&"object"==(void 0===e?"undefined":r(e))}(e)&&v.call(e)==l}function i(e){if("number"==typeof e)return e;if(o(e))return s;if(n(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=n(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(c,"");var i=u.test(e);return i||h.test(e)?f(e.slice(2),i?2:8):d.test(e)?s:+e}var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a="Expected a function",s=NaN,l="[object Symbol]",c=/^\s+|\s+$/g,d=/^[-+]0x[0-9a-f]+$/i,u=/^0b[01]+$/i,h=/^0o[0-7]+$/i,f=parseInt,p="object"==(void 0===t?"undefined":r(t))&&t&&t.Object===Object&&t,m="object"==("undefined"==typeof self?"undefined":r(self))&&self&&self.Object===Object&&self,g=p||m||Function("return this")(),v=Object.prototype.toString,y=Math.max,b=Math.min,_=function(){return g.Date.now()};e.exports=function(e,t,o){function r(t){var n=h,o=f;return h=f=void 0,w=t,m=e.apply(o,n)}function s(e){return w=e,g=setTimeout(c,t),S?r(e):m}function l(e){var n=e-v;return void 0===v||n>=t||n<0||O&&e-w>=p}function c(){var e=_();return l(e)?d(e):void(g=setTimeout(c,function(e){var n=t-(e-v);return O?b(n,p-(e-w)):n}(e)))}function d(e){return g=void 0,x&&h?r(e):(h=f=void 0,m)}function u(){var e=_(),n=l(e);if(h=arguments,f=this,v=e,n){if(void 0===g)return s(v);if(O)return g=setTimeout(c,t),r(v)}return void 0===g&&(g=setTimeout(c,t)),m}var h,f,p,m,g,v,w=0,S=!1,O=!1,x=!0;if("function"!=typeof e)throw new TypeError(a);return t=i(t)||0,n(o)&&(S=!!o.leading,p=(O="maxWait"in o)?y(i(o.maxWait)||0,t):p,x="trailing"in o?!!o.trailing:x),u.cancel=function(){void 0!==g&&clearTimeout(g),w=0,h=v=f=g=void 0},u.flush=function(){return void 0===g?m:d(_())},u}}).call(t,function(){return this}())},function(e,t){"use strict";function n(e){var t=void 0,o=void 0;for(t=0;te.position?e.node.classList.add("aos-animate"):void 0!==o&&("false"===o||!n&&"true"!==o)&&e.node.classList.remove("aos-animate")}(e,o+n,t)}))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=function(e){return e&&e.__esModule?e:{default:e}}(n(12));t.default=function(e,t){return e.forEach((function(e,n){e.node.classList.add("aos-init"),e.position=(0,o.default)(e.node,t.offset)})),e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=function(e){return e&&e.__esModule?e:{default:e}}(n(13));t.default=function(e,t){var n=0,i=0,r=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)&&(i=parseInt(a.offset)),a.anchor&&document.querySelectorAll(a.anchor)&&(e=document.querySelectorAll(a.anchor)[0]),n=(0,o.default)(e).top,a.anchorPlacement){case"top-bottom":break;case"center-bottom":n+=e.offsetHeight/2;break;case"bottom-bottom":n+=e.offsetHeight;break;case"top-center":n+=r/2;break;case"bottom-center":n+=r/2+e.offsetHeight;break;case"center-center":n+=r/2+e.offsetHeight/2;break;case"top-top":n+=r;break;case"bottom-top":n+=e.offsetHeight+r;break;case"center-top":n+=e.offsetHeight/2+r}return a.anchorPlacement||a.offset||isNaN(t)||(i=t),n+i}},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default=function(e){for(var t=0,n=0;e&&!isNaN(e.offsetLeft)&&!isNaN(e.offsetTop);)t+=e.offsetLeft-("BODY"!=e.tagName?e.scrollLeft:0),n+=e.offsetTop-("BODY"!=e.tagName?e.scrollTop:0),e=e.offsetParent;return{top:n,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}}))}}])})),function(e){e.fn.extend({slimScroll:function(n){var o=e.extend({width:"auto",height:"250px",size:"7px",color:"#000",position:"right",distance:"1px",start:"top",opacity:.4,alwaysVisible:!1,disableFadeOut:!1,railVisible:!1,railColor:"#333",railOpacity:.2,railDraggable:!0,railClass:"slimScrollRail",barClass:"slimScrollBar",wrapperClass:"slimScrollDiv",allowPageScroll:!1,wheelStep:20,touchScrollStep:200,borderRadius:"7px",railBorderRadius:"7px"},n);return this.each((function(){var i,r,a,s,l,c,d,u,h="
",f=!1,p=e(this);if(p.parent().hasClass(o.wrapperClass)){var m=p.scrollTop();if(w=p.siblings("."+o.barClass),_=p.siblings("."+o.railClass),k(),e.isPlainObject(n)){if("height"in n&&"auto"==n.height){p.parent().css("height","auto"),p.css("height","auto");var g=p.parent().parent().height();p.parent().css("height",g),p.css("height",g)}else if("height"in n){var v=n.height;p.parent().css("height",v),p.css("height",v)}if("scrollTo"in n)m=parseInt(o.scrollTo);else if("scrollBy"in n)m+=parseInt(o.scrollBy);else if("destroy"in n)return w.remove(),_.remove(),void p.unwrap();x(m,!1,!0)}}else if(!e.isPlainObject(n)||!("destroy"in n)){o.height="auto"==o.height?p.parent().height():o.height;var y=e(h).addClass(o.wrapperClass).css({position:"relative",overflow:"hidden",width:o.width,height:o.height});p.css({overflow:"hidden",width:o.width,height:o.height});var b,_=e(h).addClass(o.railClass).css({width:o.size,height:"100%",position:"absolute",top:0,display:o.alwaysVisible&&o.railVisible?"block":"none","border-radius":o.railBorderRadius,background:o.railColor,opacity:o.railOpacity,zIndex:90}),w=e(h).addClass(o.barClass).css({background:o.color,width:o.size,position:"absolute",top:0,opacity:o.opacity,display:o.alwaysVisible?"block":"none","border-radius":o.borderRadius,BorderRadius:o.borderRadius,MozBorderRadius:o.borderRadius,WebkitBorderRadius:o.borderRadius,zIndex:99}),S="right"==o.position?{right:o.distance}:{left:o.distance};_.css(S),w.css(S),p.wrap(y),p.parent().append(w),p.parent().append(_),o.railDraggable&&w.bind("mousedown",(function(n){var o=e(document);return a=!0,t=parseFloat(w.css("top")),pageY=n.pageY,o.bind("mousemove.slimscroll",(function(e){currTop=t+e.pageY-pageY,w.css("top",currTop),x(0,w.position().top,!1)})),o.bind("mouseup.slimscroll",(function(e){a=!1,C(),o.unbind(".slimscroll")})),!1})).bind("selectstart.slimscroll",(function(e){return e.stopPropagation(),e.preventDefault(),!1})),_.hover((function(){j()}),(function(){C()})),w.hover((function(){r=!0}),(function(){r=!1})),p.hover((function(){i=!0,j(),C()}),(function(){i=!1,C()})),p.bind("touchstart",(function(e,t){e.originalEvent.touches.length&&(l=e.originalEvent.touches[0].pageY)})),p.bind("touchmove",(function(e){(f||e.originalEvent.preventDefault(),e.originalEvent.touches.length)&&(x((l-e.originalEvent.touches[0].pageY)/o.touchScrollStep,!0),l=e.originalEvent.touches[0].pageY)})),k(),"bottom"===o.start?(w.css({top:p.outerHeight()-w.outerHeight()}),x(0,!0)):"top"!==o.start&&(x(e(o.start).position().top,null,!0),o.alwaysVisible||w.hide()),b=this,window.addEventListener?(b.addEventListener("DOMMouseScroll",O,!1),b.addEventListener("mousewheel",O,!1)):document.attachEvent("onmousewheel",O)}function O(t){if(i){var n=0;(t=t||window.event).wheelDelta&&(n=-t.wheelDelta/120),t.detail&&(n=t.detail/3);var r=t.target||t.srcTarget||t.srcElement;e(r).closest("."+o.wrapperClass).is(p.parent())&&x(n,!0),t.preventDefault&&!f&&t.preventDefault(),f||(t.returnValue=!1)}}function x(e,t,n){f=!1;var i=e,r=p.outerHeight()-w.outerHeight();if(t&&(i=parseInt(w.css("top"))+e*parseInt(o.wheelStep)/100*w.outerHeight(),i=Math.min(Math.max(i,0),r),i=e>0?Math.ceil(i):Math.floor(i),w.css({top:i+"px"})),i=(d=parseInt(w.css("top"))/(p.outerHeight()-w.outerHeight()))*(p[0].scrollHeight-p.outerHeight()),n){var a=(i=e)/p[0].scrollHeight*p.outerHeight();a=Math.min(Math.max(a,0),r),w.css({top:a+"px"})}p.scrollTop(i),p.trigger("slimscrolling",~~i),j(),C()}function k(){c=Math.max(p.outerHeight()/p[0].scrollHeight*p.outerHeight(),30),w.css({height:c+"px"});var e=c==p.outerHeight()?"none":"block";w.css({display:e})}function j(){if(k(),clearTimeout(s),d==~~d){if(f=o.allowPageScroll,u!=d){var e=0==~~d?"top":"bottom";p.trigger("slimscroll",e)}}else f=!1;u=d,c>=p.outerHeight()?f=!0:(w.stop(!0,!0).fadeIn("fast"),o.railVisible&&_.stop(!0,!0).fadeIn("fast"))}function C(){o.alwaysVisible||(s=setTimeout((function(){o.disableFadeOut&&i||r||a||(w.fadeOut("slow"),_.fadeOut("slow"))}),1e3))}})),this}}),e.fn.extend({slimscroll:e.fn.slimScroll})}(jQuery),function(e,t,n,o){var i="ontouchstart"in n,r=function(){var e=n.createElement("div"),o=n.documentElement;if(!("pointerEvents"in e.style))return!1;e.style.pointerEvents="auto",e.style.pointerEvents="x",o.appendChild(e);var i=t.getComputedStyle&&"auto"===t.getComputedStyle(e,"").pointerEvents;return o.removeChild(e),!!i}(),a={listNodeName:"ol",itemNodeName:"li",rootClass:"dd",listClass:"dd-list",itemClass:"dd-item",dragClass:"dd-dragel",handleClass:"dd-handle",collapsedClass:"dd-collapsed",placeClass:"dd-placeholder",noDragClass:"dd-nodrag",emptyClass:"dd-empty",expandBtnHTML:'',collapseBtnHTML:'',group:0,maxDepth:5,threshold:20};function s(t,o){this.w=e(n),this.el=e(t),this.options=e.extend({},a,o),this.init()}s.prototype={init:function(){var n=this;n.reset(),n.el.data("nestable-group",this.options.group),n.placeEl=e('
'),e.each(this.el.find(n.options.itemNodeName),(function(t,o){n.setParent(e(o))})),n.el.on("click","button",(function(t){if(!n.dragEl){var o=e(t.currentTarget),i=o.data("action"),r=o.parent(n.options.itemNodeName);"collapse"===i&&n.collapseItem(r),"expand"===i&&n.expandItem(r)}}));var o=function(t){var o=e(t.target);if(!o.hasClass(n.options.handleClass)){if(o.closest("."+n.options.noDragClass).length)return;o=o.closest("."+n.options.handleClass)}o.length&&!n.dragEl&&(n.isTouch=/^touch/.test(t.type),n.isTouch&&1!==t.touches.length||(t.preventDefault(),n.dragStart(t.touches?t.touches[0]:t)))},r=function(e){n.dragEl&&(e.preventDefault(),n.dragMove(e.touches?e.touches[0]:e))},a=function(e){n.dragEl&&(e.preventDefault(),n.dragStop(e.touches?e.touches[0]:e))};i&&(n.el[0].addEventListener("touchstart",o,!1),t.addEventListener("touchmove",r,!1),t.addEventListener("touchend",a,!1),t.addEventListener("touchcancel",a,!1)),n.el.on("mousedown",o),n.w.on("mousemove",r),n.w.on("mouseup",a)},serialize:function(){var t=this;return step=function(n,o){var i=[];return n.children(t.options.itemNodeName).each((function(){var n=e(this),r=e.extend({},n.data()),a=n.children(t.options.listNodeName);a.length&&(r.children=step(a,o+1)),i.push(r)})),i},step(t.el.find(t.options.listNodeName).first(),0)},serialise:function(){return this.serialize()},reset:function(){this.mouse={offsetX:0,offsetY:0,startX:0,startY:0,lastX:0,lastY:0,nowX:0,nowY:0,distX:0,distY:0,dirAx:0,dirX:0,dirY:0,lastDirX:0,lastDirY:0,distAxX:0,distAxY:0},this.isTouch=!1,this.moving=!1,this.dragEl=null,this.dragRootEl=null,this.dragDepth=0,this.hasNewRoot=!1,this.pointEl=null},expandItem:function(e){e.removeClass(this.options.collapsedClass),e.children('[data-action="expand"]').hide(),e.children('[data-action="collapse"]').show(),e.children(this.options.listNodeName).show()},collapseItem:function(e){e.children(this.options.listNodeName).length&&(e.addClass(this.options.collapsedClass),e.children('[data-action="collapse"]').hide(),e.children('[data-action="expand"]').show(),e.children(this.options.listNodeName).hide())},expandAll:function(){var t=this;t.el.find(t.options.itemNodeName).each((function(){t.expandItem(e(this))}))},collapseAll:function(){var t=this;t.el.find(t.options.itemNodeName).each((function(){t.collapseItem(e(this))}))},setParent:function(t){t.children(this.options.listNodeName).length&&(t.prepend(e(this.options.expandBtnHTML)),t.prepend(e(this.options.collapseBtnHTML))),t.children('[data-action="expand"]').hide()},unsetParent:function(e){e.removeClass(this.options.collapsedClass),e.children("[data-action]").remove(),e.children(this.options.listNodeName).remove()},dragStart:function(t){var i=this.mouse,r=e(t.target),a=r.closest(this.options.itemNodeName);this.placeEl.css("height",a.height()),i.offsetX=t.offsetX!==o?t.offsetX:t.pageX-r.offset().left,i.offsetY=t.offsetY!==o?t.offsetY:t.pageY-r.offset().top,i.startX=i.lastX=t.pageX,i.startY=i.lastY=t.pageY,this.dragRootEl=this.el,this.dragEl=e(n.createElement(this.options.listNodeName)).addClass(this.options.listClass+" "+this.options.dragClass),this.dragEl.css("width",a.width()),a.after(this.placeEl),a[0].parentNode.removeChild(a[0]),a.appendTo(this.dragEl),e(n.body).append(this.dragEl),this.dragEl.css({left:t.pageX-i.offsetX,top:t.pageY-i.offsetY});var s,l,c=this.dragEl.find(this.options.itemNodeName);for(s=0;sthis.dragDepth&&(this.dragDepth=l)},dragStop:function(e){var t=this.dragEl.children(this.options.itemNodeName).first();t[0].parentNode.removeChild(t[0]),this.placeEl.replaceWith(t),this.dragEl.remove(),this.el.trigger("change"),this.hasNewRoot&&this.dragRootEl.trigger("change"),this.reset()},dragMove:function(o){var i,a,s,l=this.options,c=this.mouse;this.dragEl.css({left:o.pageX-c.offsetX,top:o.pageY-c.offsetY}),c.lastX=c.nowX,c.lastY=c.nowY,c.nowX=o.pageX,c.nowY=o.pageY,c.distX=c.nowX-c.lastX,c.distY=c.nowY-c.lastY,c.lastDirX=c.dirX,c.lastDirY=c.dirY,c.dirX=0===c.distX?0:c.distX>0?1:-1,c.dirY=0===c.distY?0:c.distY>0?1:-1;var d=Math.abs(c.distX)>Math.abs(c.distY)?1:0;if(!c.moving)return c.dirAx=d,void(c.moving=!0);c.dirAx!==d?(c.distAxX=0,c.distAxY=0):(c.distAxX+=Math.abs(c.distX),0!==c.dirX&&c.dirX!==c.lastDirX&&(c.distAxX=0),c.distAxY+=Math.abs(c.distY),0!==c.dirY&&c.dirY!==c.lastDirY&&(c.distAxY=0)),c.dirAx=d,c.dirAx&&c.distAxX>=l.threshold&&(c.distAxX=0,s=this.placeEl.prev(l.itemNodeName),c.distX>0&&s.length&&!s.hasClass(l.collapsedClass)&&(i=s.find(l.listNodeName).last(),this.placeEl.parents(l.listNodeName).length+this.dragDepth<=l.maxDepth&&(i.length?(i=s.children(l.listNodeName).last()).append(this.placeEl):((i=e("<"+l.listNodeName+"/>").addClass(l.listClass)).append(this.placeEl),s.append(i),this.setParent(s)))),c.distX<0&&(this.placeEl.next(l.itemNodeName).length||(a=this.placeEl.parent(),this.placeEl.closest(l.itemNodeName).after(this.placeEl),a.children().length||this.unsetParent(a.parent()))));var u=!1;if(r||(this.dragEl[0].style.visibility="hidden"),this.pointEl=e(n.elementFromPoint(o.pageX-n.body.scrollLeft,o.pageY-(t.pageYOffset||n.documentElement.scrollTop))),r||(this.dragEl[0].style.visibility="visible"),this.pointEl.hasClass(l.handleClass)&&(this.pointEl=this.pointEl.parent(l.itemNodeName)),this.pointEl.hasClass(l.emptyClass))u=!0;else if(!this.pointEl.length||!this.pointEl.hasClass(l.itemClass))return;var h=this.pointEl.closest("."+l.rootClass),f=this.dragRootEl.data("nestable-id")!==h.data("nestable-id");if(!c.dirAx||f||u){if(f&&l.group!==h.data("nestable-group"))return;if(this.dragDepth-1+this.pointEl.parents(l.listNodeName).length>l.maxDepth)return;var p=o.pageY'),f&&(this.dragRootEl=h,this.hasNewRoot=this.el[0]!==this.dragRootEl[0])}}},e.fn.nestable=function(t){var n=this;return this.each((function(){var o=e(this).data("nestable");o?"string"==typeof t&&"function"==typeof o[t]&&(n=o[t]()):(e(this).data("nestable",new s(this,t)),e(this).data("nestable-id",(new Date).getTime()))})),n||this}}(window.jQuery||window.Zepto,window,document),function(e){"use strict";var t="Vendor Jaralax";e.SOW.vendor.jarallax={init:function(n,o){var i=e.SOW.helper.__selector(n),r=e.SOW.helper.check_var(o);if(this.selector=i[0],this.collection=i[1],this.selector_orig=i[2],this.config=null!==r?e.extend({},this.config,r):this.config,""!=n&&jQuery(this.selector).length<1)return null;if("function"!=typeof jarallax){var a=e.SOW.helper.vendorLogicPaths("jarallax");return""==a.path_js?(e.SOW.helper.consoleLog("Vendor Missing : "+t),null):(e.SOW.helper.loadScript([a.path_js],!1,!0).done((function(){return"function"!=typeof jarallax?(e.SOW.helper.consoleLog("Vendor Missing : "+t),null):(e.SOW.vendor.jarallax.init(n,o),null)})),null)}return e.SOW.vendor.jarallax.destroy(this.selector),jarallax(document.querySelectorAll(this.selector)),e.SOW.helper.consoleLog("Init : "+t),e(this.selector)},destroy:function(e){jarallax(document.querySelectorAll(e),"destroy")}}}(jQuery),function(e){"use strict";var t="Vendor Sticky Kit";e.SOW.vendor.sticky_kit={config:{},collection:e(),init:function(n,o){var i=e.SOW.helper.__selector(n),r=e.SOW.helper.check_var(o);if(this.selector=i[0],this.collection=i[1],this.selector_orig=i[2],this.config=null!==r?e.extend({},this.config,r):this.config,""!=n&&jQuery(this.selector).length<1)return null;if(!jQuery().stick_in_parent){var a=e.SOW.helper.vendorLogicPaths("sticky_kit");return""==a.path_js?(e.SOW.helper.consoleLog("Vendor Missing : "+t),null):(e.SOW.helper.loadScript([a.path_js],!1,!0).done((function(){return jQuery().stick_in_parent?(e.SOW.vendor.sticky_kit.init(n,o),null):(e.SOW.helper.consoleLog("Vendor Missing : "+t),null)})),null)}return e.SOW.helper.consoleLog("Init : "+t),jQuery(window).resize((function(){setTimeout((function(){!0===e.SOW.globals.is_mobile?jQuery(this.selector).each((function(){e(this).removeClass("js-stickified").trigger("sticky_kit:detach")})):e.SOW.vendor.sticky_kit.process(this.selector)}),450)})),e.SOW.vendor.sticky_kit.process(this.selector),e(this.selector)},process:function(t){!0!==e.SOW.globals.is_mobile&&jQuery(t).not(".js-stickified").addClass("js-stickified").each((function(){var t=jQuery(this),n=t.data("sticky-kit-offset")||0;n<1&&(n=15,(e.SOW.globals.elBody.hasClass("header-sticky")||e.SOW.globals.elBody.hasClass("header-scroll-reveal")||e.SOW.globals.elBody.hasClass("header-over"))&&(n=(e.SOW.globals.elHeader.outerHeight()||0)+n)),t.stick_in_parent({offset_top:Number(n)})}))}}}(jQuery),function(e){"use strict";var t="Vendor Sortable";e.SOW.vendor.sortable={config:{dataIdAttr:"data-id",handle:".sortable-handle",animation:150,ghostClass:"bg-primary-soft",chosenClass:"bg-white-alt",swapClass:"bg-warning-soft",filter:".js-ignore",headers:"",crossDomain:""},collection:e(),init:function(n,o){if(""!=n&&jQuery(n).length<1)return null;if("function"!=typeof Sortable){var i=e.SOW.helper.vendorLogicPaths("sortable");return""==i.path_js?(e.SOW.helper.consoleLog("Vendor Missing : "+t),null):(e.SOW.helper.loadScript([i.path_js],!1,!0).done((function(){return"function"!=typeof Sortable?(e.SOW.helper.consoleLog("Vendor Missing : "+t),null):(e.SOW.vendor.sortable.init(n,o),null)})),null)}var r=e.SOW.helper.__selector(n),a=e.SOW.helper.check_var(o);return this.selector=r[0],this.collection=r[1],this.config=null!==a?e.extend({},this.config,a):this.config,e.SOW.helper.consoleLog("Init : "+t),this.selector?this.collection.each((function(){e.SOW.vendor.sortable.process(e(this))})):(e.SOW.vendor.sortable.process(e(".sortable")),e(".sortable"))},process:function(t){if(!t.hasClass("js-sortablified")){var n=t.attr("id")||"",o=t.data("shared-group")||"",i=t.data("pull-mode")||"",r=t.data("put-denied")||"false",a=t.data("sortable-type")||"",s=t.data("sort-disable")||"false",l=t.data("sort-swap")||"false",c=t.data("swap-treshold")||"",d=jQuery(e.SOW.vendor.sortable.config.handle,t).length||0;if(t.addClass("js-sortablified"),""==n){n="strand_"+e.SOW.helper.randomStr(3);t.attr("id",n)}var u={dataIdAttr:e.SOW.vendor.sortable.config.dataIdAttr||"data-id",handle:d>0?e.SOW.vendor.sortable.config.handle:null,animation:e.SOW.vendor.sortable.config.animation,ghostClass:e.SOW.vendor.sortable.config.ghostClass,chosenClass:e.SOW.vendor.sortable.config.chosenClass,swapClass:e.SOW.vendor.sortable.config.swapClass,filter:e.SOW.vendor.sortable.config.filter,onUpdate:function(n){var o=f.toArray();e.SOW.vendor.sortable.sortable__update_order(t,o)}};""!=o&&(""==i?u.group=o:""!=i&&(u.group={name:o,pull:i,put:r+""!="true"})),s+""=="true"&&(u.sort=!1),""!=c&&(u.swapThreshold=swapThreshold),"nested"==a.toLowerCase()&&(u.group="nested",u.fallbackOnBody=!0,u.swapThreshold=.65),l+""=="true"&&(u.swap=!0);var h=document.getElementById(n),f=new Sortable(h,u)}},sortable__update_order:function(t,n){var o=t.data("ajax-update-params")||"",i=t.data("ajax-update-url")||"",r=t.data("ajax-update-identifier")||"",a=t.data("update-toast-success")||"Order Saved!",s=t.data("update-toast-position")||"bottom-center";if(""!=i){var l=new FormData;if(l.append("action","reorder"),l.append("ajax","true"),l.append("identifier",r),""!=o)for(var c=e.SOW.helper.params_parse(o),d=0;d1.5&&(t.width=t.width/n,t.height=t.height/n)},loop:e.SOW.vendor.fancybox.config.loop,infobar:e.SOW.vendor.fancybox.config.infobar,buttons:["close"],protect:e.SOW.vendor.fancybox.config.protect,image:{preload:!1},hash:!1,animationEffect:"zoom",animationDuration:366,transitionEffect:e.SOW.vendor.fancybox.config.transitionEffect,transitionDuration:e.SOW.vendor.fancybox.config.transitionDuration,spinnerTpl:'
',btnTpl:{download:'',zoom:'',close:'',arrowLeft:'',arrowRight:'',smallBtn:''},smallBtn:!1}),e.SOW.helper.consoleLog("Init : "+t),null}}}(jQuery),function(e){"use strict";var t="Vendor Cocoen (Image Comparision)";window.cocoenInit=!1,e.SOW.vendor.cocoen={config:{},collection:e(),init:function(n,o){if(""!=n&&jQuery(n).length<1)return null;if("function"!=typeof Cocoen){var i=e.SOW.helper.vendorLogicPaths("cocoen");return""==i.path_js?(e.SOW.helper.consoleLog("Vendor Missing : "+t),null):(e.SOW.helper.loadScript([i.path_js],!1,!0).done((function(){return"function"!=typeof Cocoen?(e.SOW.helper.consoleLog("Vendor Missing : "+t),null):(e.SOW.vendor.cocoen.init(n,o),null)})),null)}return"function"==typeof Cocoen?(jQuery(n).each((function(){var t=jQuery(this);if(!t.hasClass("js-cocoened")){t.addClass("js-cocoened");var n="rand_"+e.SOW.helper.randomStr(3,"L");t.addClass(n),new Cocoen(document.querySelector("."+n))}})),e.SOW.helper.consoleLog("Init : "+t),null):void 0}}}(jQuery),function(e){"use strict";var t="Vendor Photoswipe";e.SOW.vendor.photoswipe={config:{defaults:{galleryOpen:function(e){},showHideOpacity:!1,history:!1,captionEl:!1,shareEl:!1,tapToClose:!1,tapToToggleControls:!1,escKey:!0,barsSize:{top:0,bottom:0}}},init:function(n,o){var i=e.SOW.helper.__selector(n),r=e.SOW.helper.check_var(o);if(this.selector=i[0],this.collection=i[1],this.config=null!==r?e.extend({},this.config,r):this.config,""!=n&&jQuery(this.selector).length<1)return null;if("function"!=typeof PhotoSwipe){var a=e.SOW.helper.vendorLogicPaths("photoswipe");return""==a.path_js?(e.SOW.helper.consoleLog("Vendor Missing : "+t),null):(e.SOW.helper.loadScript([a.path_js],!1,!0).done((function(){return"function"!=typeof PhotoSwipe?(e.SOW.helper.consoleLog("Vendor Missing : "+t),null):(e.SOW.vendor.photoswipe.init(n,o),null)})),null)}return e.SOW.vendor.photoswipe.photoswipe_tpl(),e.SOW.helper.consoleLog("Init : "+t),e.SOW.vendor.photoswipe.process(this.selector)},process:function(t){var n=jQuery(".pswp[role='dialog']")[0],o={},i="abcdefghijklmnopqrstuvwxyz".split(""),r=[],a=[];e(t).not(".js-photoswapified").addClass("js-photoswapified").each((function(){var t=e(this),n=t.attr("href"),r=t.attr("title"),s=t.data("photoswipe")||t.data("group"),l=s?s.replace(/[a-z]/gi,(function(e){return i.indexOf(e.toLowerCase())+1})):e.SOW.helper.randomStr(3,"N");n&&(t.attr("data-group-id",l),s&&(void 0===a[l]&&(a[l]=0),t.attr("data-index",a[l]++)),void 0===o[l]&&(o[l]=[]),o[l].push({src:n,title:r,w:0,h:0}))})),e(t).off().on("click",(function(t){t.preventDefault();var i=e(this),a=i.attr("href")||"",s=i.data("group-id")||0,l=i.data("index")||0,c=i.attr("data-history")||"false",d=i.attr("data-shareEl")||"false",u=i.attr("data-captionEl")||"false",h=i.attr("data-tapToClose")||"false",f=i.attr("data-tapToToggleControls")||"false",p=i.attr("data-showHideOpacity")||"true",m=i.attr("data-mainClass")||"",g=!1;if((a.match(/(youtube.com)/)||a.match(/(youtu.be)/)||a.match(/(vimeo.com)/)||a.match(/(.mp4)/)||a.match(/(.ogv)/))&&(g=!0),!0===g)return"object"==typeof e.SOW.core.ajax_modal&&(i.off().removeClass("photoswipe js-photoswapified").addClass("js-onload").attr("data-ajax-modal-delay","0").attr("data-ajax-modal-type","video").attr("data-ajax-modal-size","modal-xl").attr("data-ajax-modal-centered","true"),e.SOW.core.ajax_modal.attach(i)),!1;var v=e.SOW.vendor.photoswipe.config.defaults;function y(e,t){if(0==t.w&&0==t.h){var n=new Image;n.onload=function(){t.w=this.width,t.h=this.height,t.needsUpdate=!0,r[s].updateSize(!0)},n.src=t.src}}v.mainClass=m,v.index=l,""!=p&&(v.showHideOpacity=p+""=="true"),""!=c&&(v.history=c+""=="true"),""!=u&&(v.captionEl=u+""=="true"),""!=d&&(v.shareEl=d+""=="true"),""!=h&&(v.tapToClose=h+""=="true"),""!=f&&(v.tapToToggleControls=f+""=="true"),"object"==typeof barsSize&&(v.barsSize=barsSize),r[s]=new PhotoSwipe(n,PhotoSwipeUI_Default,o[s],v),r[s].init(),r[s].listen("initialZoomInEnd",(function(){v.galleryOpen(r[s])})),r[s].listen("imageLoadComplete",(function(e,t){y(e,t)})),r[s].listen("gettingData",(function(e,t){y(e,t)})),r[s].listen("resize",(function(e,t){})),e.SOW.vendor.photoswipe.photoswipe_style(i)}))},photoswipe_style:function(e){var t="bg-secondary text-white";if(e.hasClass("photoswipe-secondary"))t="bg-secondary text-white";else if(e.hasClass("photoswipe-dark"))t="bg-dark text-white";else if(e.hasClass("photoswipe-white"))t="bg-white text-dark";else if(e.hasClass("photoswipe-dark"))t="bg-dark text-white";else if(e.hasClass("photoswipe-primary"))t="bg-primary text-white";else if(e.hasClass("photoswipe-success"))t="bg-success text-white";else if(e.hasClass("photoswipe-danger"))t="bg-danger text-white";else if(e.hasClass("photoswipe-warning"))t="bg-warning text-white";else if(e.hasClass("photoswipe-info"))t="bg-info text-white";else if(e.hasClass("photoswipe-pink"))t="bg-pink text-white";else if(e.hasClass("photoswipe-purple"))t="bg-purple text-white";else if(e.hasClass("photoswipe-indigo"))t="bg-indigo text-white";jQuery(".pswp__button--custom").removeClass("bg-white bg-dark bg-primary bg-secondary bg-success bg-danger bg-warning bg-info bg-pink bg-purple bg-indigo text-dark text-white"),jQuery(".pswp__button--custom").addClass(t)},photoswipe_tpl:function(){var t='\x3c!-- Root element of PhotoSwipe. Must have class pswp. --\x3e';e.SOW.globals.elBody.append(t)}}}(jQuery),function(e){"use strict";var t="Vendor Swiper";window.swiperInst=[],e.SOW.vendor.swiper={config:{init:!0,direction:"horizontal",spaceBetween:15,slidesPerView:1,slidesPerGroup:1,slidesPerColumn:1,centeredSlides:!1,effect:"slide",grabCursor:!1,freeMode:!1,loop:!1,autoHeight:!1,mousewheel:!1,speed:600,parallax:!0,lazy:!1,zoom:!1,keyboard:{enabled:!0},autoplay:{delay:4500,disableOnInteraction:!1},coverflowEffect:{rotate:50,stretch:0,depth:100,modifier:1,slideShadows:!0},cubeEffect:{shadow:!0,slideShadows:!0,shadowOffset:20,shadowScale:.94},pagination:{el:".swiper-pagination",type:"bullets",dynamicBullets:!0,clickable:!0},scrollbar:{el:".swiper-scrollbar",hide:!0},navigation:{nextEl:".swiper-button-next",prevEl:".swiper-button-prev"}},collection:e(),init:function(n,o){if(""!=n&&jQuery(n).length<1)return null;if("function"!=typeof Swiper){var i=e.SOW.helper.vendorLogicPaths("swiper");return""==i.path_js?(e.SOW.helper.consoleLog("Vendor Missing : "+t),null):(e.SOW.helper.loadScript([i.path_js],!1,!0).done((function(){return"function"!=typeof Swiper?(e.SOW.helper.consoleLog("Vendor Missing : "+t),null):(e.SOW.vendor.swiper.init(n,o),null)})),null)}var r=e.SOW.helper.__selector(n),a=e.SOW.helper.check_var(o);return this.selector=r[0],this.collection=r[1],this.config=null!==a?e.extend({},this.config,a):this.config,"rtl"==e.SOW.globals.direction&&jQuery(this.selector).attr("dir","rtl"),e.SOW.helper.consoleLog("Init : "+t),this.selector?this.collection.each((function(){e.SOW.vendor.swiper.process(e(this))})):(e.SOW.vendor.swiper.process(e(".swiper-container")),e(".swiper-container"))},process:function(t){if(!t.hasClass("js-swiperified")){var n=t.attr("id")||"",o=t.data("swiper")||"",i=t.data("swiper-link")||"",r=e.SOW.vendor.swiper.config;"object"==typeof o&&("object"==typeof o.pagination&&(o.pagination=e.extend({},r.pagination,o.pagination)),"bullets"!=r.pagination&&(r.pagination.dynamicBullets=!1),e.extend(r,o)),""==n&&(n="rand_"+e.SOW.helper.randomStr(3),t.attr("id",n)),jQuery(".swiper-button-next","#"+n).addClass("swiper-button-next-"+n),jQuery(".swiper-button-prev","#"+n).addClass("swiper-button-prev-"+n),jQuery(".swiper-pagination","#"+n).addClass("swiper-pagination-"+n),r.navigation.nextEl=".swiper-button-next-"+n,r.navigation.prevEl=".swiper-button-prev-"+n,r.pagination.el=".swiper-pagination-"+n,r.slidesPerView>"1"&&(r.effect="slide"),!jQuery("#"+n).hasClass(".js-ignore")&&jQuery(".swiper-slide","#"+n).length<2&&(r.pagination={},r.navigation={},r.loop=!1,jQuery(".swiper-button-next","#"+n).remove(),jQuery(".swiper-button-prev","#"+n).remove(),jQuery(".swiper-pagination","#"+n).remove()),""!=i&&("object"!=typeof r.thumbs&&(r.thumbs={}),r.thumbs.swiper=window.swiperInst[i]),jQuery(".swiper-wrapper","#"+n).removeClass("no-gutters gutters-xs gutters-sm gutters-md gutters-xs row"),jQuery(".swiper-slide","#"+n).removeClass("hide hide-force col col-3 col-4 col-6 col-md-3 col-md-4 col-md-6 col-lg-3 col-lg-4 col-lg-6 col-xl-3 col-xl-4 col-xl-6 col-5th col-md-5th col-lg-5th col-xl-5th"),window.swiperInst[n]=new Swiper("#"+n,r),t.addClass("js-swiperified"),""!=i&&setTimeout((function(){window.swiperInst[i].update(),window.swiperInst[n].update()}),700)}}}}(jQuery),function(e){"use strict";var t="Vendor Leaflet [Map]";e.SOW.vendor.leaflet={maps:[],init:function(n,o){if(""!=n&&jQuery(n).length<1)return null;if("undefined"==typeof L){var i=e.SOW.helper.vendorLogicPaths("leaflet");return""==i.path_js?(e.SOW.helper.consoleLog("Vendor Missing : "+t),null):(e.SOW.helper.loadScript([i.path_js],!1,!0).done((function(){return"undefined"==typeof L?(e.SOW.helper.consoleLog("Vendor Missing : "+t),null):(e.SOW.vendor.leaflet.init(n,o),null)})),null)}var r=e.SOW.helper.__selector(n);return this.selector=r[0]||".map-leaflet",jQuery(this.selector).each((function(){e.SOW.vendor.leaflet.map_openstreet(e(this))})),e.SOW.helper.consoleLog("Init : "+t),e(this.selector)},map_openstreet:function(t){if(!t.hasClass("js-leafletified")){var n=t.attr("id")||"",o=t.data("map-json")||"",i=t.data("map-tile")||"",r=t.data("map-tile-custom")||"",a=t.data("map-zoom")||9,s=[];if(t.addClass("js-leafletified"),"object"==typeof o){if(""==n){n="map_"+e.SOW.helper.randomStr(3);t.attr("id",n)}var l=L.icon({iconUrl:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAApCAMAAAD3TXL8AAAB5lBMVEVHcEwtbZk5hLcubZgubZkyeak4fq8zbaEwcqEtcqQubZsvbpoyaZYua5cubJcubJcubJgtbZk+h7ovbp01eqwtbJovbpo3gbc0d6gydKZHjsEubJk2gLIwb58tbJk2frQua5dIkcREjL43g7RGkMIvb5wubJctbJktbJkzd6o0eKc/hrU4grgzd6gxdKMzdqcxdKQ1dqY2frA2frA4gbQ4gbU2frA3gbQ3grc2fbA2fbA1e6s9grQ1fKw+hbw5g7g5g7c2g7YwdJ88grX///8uhctHmNEhesk/ks8rgssshMtElc8ogMoxh8wpgcpFl9A2jM0whswlfsoeeMkmf8o2ic4jfMpClM9Bk88ziM05jc5Dk9E0isxJltJZotU6js5AkNBEjMBKmNIzhM1Un9U8kc47f687i89XoNROm9Madcj8/f5JmdE2gb5SntM/isVQmcxLlc8rgMwwerdLlMpDjMQ5eKU3dqNCib0+jtAwcZ5cpNROlspQndNHldJfptdHkctHi7tChbNFlNGPtc5ek7igwNZDh7i2zt7e6fE8h8Q6hcJWntEvg8wyfbtTnM8xhM44i81Lm9E4grZKkcVJgqo1e6zB1eJunb2FrcnR3+qrxdeBrMqXudFQirRYoNAwgMg+hbuAcFJ8AAAARHRSTlMA7/hT+BP2AfYIzEsNh2Zyeen09/YY/i729v/0+PbkHlv6+Cf5g0Ld1jxx9oyvwOfx9EfwzNJRgni0vlv6Zf7o5EKA+QUIjyQAAAJISURBVBgZdcCFQuIAGADgnxxht2d313XnHHjKOeWmbpONGp1hBnZnXFe86W1MDjA+SFGUvipVwBUNnS/PpQXS8xedpZAOeShtDDHLy8sLx3XSBwgkITV3Cw4Y+9KZ72zJzvwuuNcAF25XNi4EsKTAQl3lfUhQ3AkxvuEUHxNS1oDgUb1rUIQNilz1j4H3ROnCxnk+O+Ni7L5xHuZSPgNQFy26J3jug1XHJ8fq8dIEz71YpIY2pV3Ps4YcP3a9uxuORaueZ1e2QXuHm+O4icDaFirYcQTGOY5zd7RDlwXjOG74wy8vmrB5C+M4DrN0QU+MZlnWNPsVFf3ctrIsS8d6oDempyjKtL2BirbWrBRF6WO90G2hcRynLZuo6MvsOo7jtKUbmp7GcRxnw9OfUcG3mTCH43j8zWvQ9lknebRl5rsX9e5Mz65P8qx9WiguCZ+SJEnEp6bnP87PTJkIkiRPwyXFAJq/ZoNgzrQytWIyGwTm5xoAkKnihpEEwkkYRgSGuEoGAGpJkOrPRAXzEeBlF9FvM/TTZbkgKJYHiYF0RFCugITsMvO7NAPm8mwQKeR75FAKsVeRBReayueG3icNzanyICmrYt82mkTuS7LgvzyVc3RMNOpU5UKKWuI/0Ylsfoka0uSqnGM6wZhTlQPp1Pn+Q6Pg0J+vhgw5VYTOaDTqiKocyIRUH0U8Hk/kqBqBS2oLbUaP0VZYC5chLdGIJxJtQeAKWaFNZ5PL4CqkNXoSbYXraOV/5Fq4lmZeA9drLmmGG+RBmn9TM85gFMKHmQAAAABJRU5ErkJggg==",shadowUrl:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACkAAAApCAQAAAACach9AAACMUlEQVR4Ae3ShY7jQBAE0Aoz/f9/HTMzhg1zrdKUrJbdx+Kd2nD8VNudfsL/Th///dyQN2TH6f3y/BGpC379rV+S+qqetBOxImNQXL8JCAr2V4iMQXHGNJxeCfZXhSRBcQMfvkOWUdtfzlLgAENmZDcmo2TVmt8OSM2eXxBp3DjHSMFutqS7SbmemzBiR+xpKCNUIRkdkkYxhAkyGoBvyQFEJEefwSmmvBfJuJ6aKqKWnAkvGZOaZXTUgFqYULWNSHUckZuR1HIIimUExutRxwzOLROIG4vKmCKQt364mIlhSyzAf1m9lHZHJZrlAOMMztRRiKimp/rpdJDc9Awry5xTZCte7FHtuS8wJgeYGrex28xNTd086Dik7vUMscQOa8y4DoGtCCSkAKlNwpgNtphjrC6MIHUkR6YWxxs6Sc5xqn222mmCRFzIt8lEdKx+ikCtg91qS2WpwVfBelJCiQJwvzixfI9cxZQWgiSJelKnwBElKYtDOb2MFbhmUigbReQBV0Cg4+qMXSxXSyGUn4UbF8l+7qdSGnTC0XLCmahIgUHLhLOhpVCtw4CzYXvLQWQbJNmxoCsOKAxSgBJno75avolkRw8iIAFcsdc02e9iyCd8tHwmeSSoKTowIgvscSGZUOA7PuCN5b2BX9mQM7S0wYhMNU74zgsPBj3HU7wguAfnxxjFQGBE6pwN+GjME9zHY7zGp8wVxMShYX9NXvEWD3HbwJf4giO4CFIQxXScH1/TM+04kkBiAAAAAElFTkSuQmCC",iconSize:[25,41],shadowSize:[41,41],iconAnchor:[10,40],shadowAnchor:[10,39],popupAnchor:[3,-26]});switch(i){case"gray":var c="https://server.arcgisonline.com/ArcGIS/rest/services/Canvas/World_Light_Gray_Base/MapServer/tile/{z}/{y}/{x}";break;case"carto":c="https://{s}.basemaps.cartocdn.com/light_all/{z}/{x}/{y}{r}.png";break;case"voyager":c="https://{s}.basemaps.cartocdn.com/rastertiles/voyager/{z}/{x}/{y}{r}.png";break;case"hot":c="https://{s}.tile.openstreetmap.fr/hot/{z}/{x}/{y}.png";break;default:c="https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png"}if(""!=r)c=r;var d=new L.TileLayer(c,{minZoom:3,maxZoom:18,attribution:'© OpenStreetMap contributors'}),u=[],h=e.SOW.helper.randomStr(3,"L");s[n]=new L.Map(n),s[n].addLayer(d),s[n].attributionControl.setPrefix('Leaflet');for(var f=0;f"+g+"
")).openPopup()}e.SOW.vendor.leaflet.maps[n]=s[n]}else"object"==typeof e.SOW.core.toast?e.SOW.core.toast.show("danger","","Map Error: Invalid Json!","top-center",0,!0):alert("[404] Unexpected internal error!")}}}}(jQuery),function(e){"use strict";e.SOW.vendor.aos={config:{duration:700,easing:"ease-in-out-sine",once:!0},init:function(t,n){if("undefined"==typeof AOS){var o=e.SOW.helper.vendorLogicPaths("aos");return""==o.path_js?(e.SOW.helper.consoleLog("Vendor Missing : Vendor AOS"),null):(e.SOW.helper.loadScript([o.path_js],!1,!0).done((function(){return"undefined"==typeof AOS?(e.SOW.helper.consoleLog("Vendor Missing : Vendor AOS"),null):(e.SOW.vendor.aos.init(t,n),null)})),null)}var i=e.SOW.helper.check_var(n);this.config=null!==i?e.extend({},this.config,i):this.config,AOS.init(e.SOW.vendor.aos.config),window.MutationObserver||AOS.refreshHard()}}}(jQuery),function(e){"use strict";var t="Vendor Slimscroll";e.SOW.vendor.slimscroll={config:{height:"100%",color:"#444",size:"3px",railColor:"#ccc",railOpacity:.5,alwaysVisible:!1,railVisible:!0,position:"ltr"==e.SOW.globals.direction?"right":"left",distance:"0",wheelStep:10,allowPageScroll:!1,disableFadeOut:!1},collection:e(),init:function(n,o){if(""!=n&&jQuery(n).length<1)return null;if(!jQuery().slimScroll){var i=e.SOW.helper.vendorLogicPaths("slimscroll");return""==i.path_js?(e.SOW.helper.consoleLog("Vendor Missing : "+t),null):(e.SOW.helper.loadScript([i.path_js],!1,!0).done((function(){return jQuery().slimScroll?(e.SOW.vendor.slimscroll.init(n,o),null):(e.SOW.helper.consoleLog("Vendor Missing : "+t),null)})),null)}if(!0!==e.SOW.globals.is_mobile){var r=e.SOW.helper.__selector(n),a=e.SOW.helper.check_var(o);return this.selector=r[0],this.config=null!==a?e.extend({},this.config,a):this.config,e(this.selector).slimScroll({height:this.config.height,color:this.config.color,size:this.config.size,railColor:this.config.railColor,railOpacity:this.config.railOpacity,alwaysVisible:this.config.alwaysVisible,railVisible:this.config.railVisible,position:this.config.position,distance:this.config.distance,wheelStep:this.config.wheelStep,allowPageScroll:this.config.allowPageScroll,disableFadeOut:this.config.disableFadeOut}),e.SOW.helper.consoleLog("Init : "+t),e(this.selector)}e.SOW.helper.consoleLog("Mobile disabled : "+t)},destroy:function(t){e(t).slimScroll({destroy:!0})}}}(jQuery),function(e){"use strict";var t="Vendor Nestable";window.nestableLastUpdate={},e.SOW.vendor.nestable={config:{group:0,maxDepth:6,listNodeName:"ol",itemNodeName:"li",rootClass:"dd",listClass:"dd-list",itemClass:"dd-item",dragClass:"dd-dragel",handleClass:"dd-handle",collapsedClass:"dd-collapsed",placeClass:"dd-placeholder",noDragClass:"dd-nodrag",emptyClass:"dd-empty",expandBtnHTML:'',collapseBtnHTML:'',maxDepth:5,threshold:0,headers:"",crossDomain:"",method:"POST",contentType:"application/x-www-form-urlencoded; charset=UTF-8",dataType:"",headers:"",crossDomain:"",data_params:{ajax:"true"}},collection:e(),init:function(n,o){if(""!=n&&jQuery(n).length<1)return null;if(!jQuery().nestable){var i=e.SOW.helper.vendorLogicPaths("nestable");return""==i.path_js?(e.SOW.helper.consoleLog("Vendor Missing : "+t),null):(e.SOW.helper.loadScript([i.path_js],!1,!0).done((function(){return jQuery().nestable?(e.SOW.vendor.nestable.init(n,o),null):(e.SOW.helper.consoleLog("Vendor Missing : "+t),null)})),null)}var r=e.SOW.helper.__selector(n),a=e.SOW.helper.check_var(o);return this.selector=r[0],this.collection=r[1],this.selector_orig=r[2],this.config=null!==a?e.extend({},this.config,a):this.config,window.nestableLastUpdate={},e.SOW.helper.consoleLog("Init : "+t),this.selector?this.collection.each((function(){e.SOW.vendor.nestable.process(e(this))})):(e.SOW.vendor.nestable.process(e(".nestable")),e(".nestable"))},process:function(t){if(!t.hasClass("js-nestablified")){var n=t.attr("id")||"",o=(t.data("nestable-delete-with-childs"),t.data("nestable-max-depth")||6),i=e.SOW.helper.randomStr(3,"N"),r=t.data("nestable-group")||i,a=e.SOW.vendor.nestable.config;t.addClass("js-nestablified"),a.group=r,a.maxDepth=Number(o)||6,""==n&&(n="rand_"+i,t.attr("id",n)),e("#"+n).nestable(a).on("change",(function(o){var i=window.JSON.stringify(t.nestable("serialize"));jQuery("textarea",t).val(i),window.nestableLastUpdate[n]!=i&&e.SOW.vendor.nestable.updateOrder(t,o),window.nestableLastUpdate[n]=i}));var s=window.JSON.stringify(t.nestable("serialize"));jQuery("textarea",t).val(s),window.nestableLastUpdate[n]=s,e.SOW.vendor.nestable.removeItem(t)}},updateOrder:function(t,n){var o=t.data("ajax-update-params")||"",i=t.data("ajax-update-url")||"",r=t.data("ajax-update-method")||e.SOW.vendor.nestable.config.method,a=t.data("update-toast-success")||"Order Saved!",s=t.data("update-toast-position")||"bottom-center",l=e.SOW.vendor.nestable.config.data_params;if(""!=i){var c=n.length?n:e(n.target),d=window.JSON.stringify(c.nestable("serialize")),u=JSON.parse(d);if(""!=o)for(var h=e.SOW.helper.params_parse(o),f=0;f
')},error:function(n,o,i){"object"==typeof e.SOW.core.toast?e.SOW.core.toast.show("danger","404 Error","Unexpected Internal error!",s,0,!0):alert("[404] Unexpected internal error!"),jQuery(".nestableOverlayLoading",t).remove()},success:function(n){e.SOW.helper.consoleLog(n),jQuery(".nestableOverlayLoading",t).remove(),"object"==typeof e.SOW.core.toast&&e.SOW.core.toast.show("success","",a,s,1500,!0),e.SOW.vendor.nestable.removeItem(t)}})}},removeItem:function(t){var n=t.data("update-delete-with-childs")||"false",o=t.data("update-delete-with-childs-error")||"Move or delete childs first!",i=t.data("update-toast-position")||"bottom-center",r=t.data("update-delete-params")||"",a=t.data("ajax-update-method")||e.SOW.vendor.nestable.config.method,s=t.data("ajax-update-url")||"",l=t.data("update-delete-confirm-first")||"false",c="object"==typeof e.SOW.core.ajax_confirm?e.SOW.core.ajax_confirm.__selector():"",d=c.replace(".",""),u=e.SOW.vendor.nestable.config.data_params,h=t.data("ajax-confirm-size")||"",f=t.data("ajax-confirm-centered")||"",p=t.data("ajax-confirm-callback-function")||"",m=t.data("ajax-confirm-type")||"",g=t.data("ajax-confirm-mode")||"",v=t.data("ajax-confirm-method")||"",y=t.data("ajax-confirm-title")||"",b=t.data("ajax-confirm-body")||"",_=t.data("ajax-confirm-btn-yes-text")||"",w=t.data("ajax-confirm-btn-yes-class")||"",S=t.data("ajax-confirm-btn-yes-icon")||"",O=t.data("ajax-confirm-btn-no-text")||"",x=t.data("ajax-confirm-btn-no-class")||"",k=t.data("ajax-confirm-btn-no-icon")||"";jQuery("a.nestable-del",t).off().on("click",(function(j){j.preventDefault();var C=jQuery(this),E=C.closest("li"),T=E.attr("data-id"),D=C.attr("href")||"#",W=C.data("href")||"",A=C.data("href2")||"",M=[];if("#"==D&&""==D&&"javascript:;"==D&&(C.attr("href","#"),C.attr("data-href2",D)),""!=W){D=W;C.removeAttr("data-href"),C.attr("data-href2",D)}if(""!=A)D=A;if("#"==D||""==D||"javascript:;"==D){var L=D;D=s}if(n+""=="false"&&jQuery("ol.dd-list",E).length>0)return"object"==typeof e.SOW.core.toast?(e.SOW.core.toast.destroy(),e.SOW.core.toast.show("danger","",o,i,4e3,!0)):alert(o),void C.removeClass("js-ajax-modal js-modalified");if(C.hasClass("nestable-ajax-modal"))"object"==typeof e.SOW.core.ajax_modal?e.SOW.core.ajax_modal.attach(C,0):alert("[SOW : Ajax Modal] plugin not found!");else if("object"==typeof e.SOW.core.ajax_confirm){if(l+""=="true"&&!C.hasClass(d)&&!C.hasClass("js-confirmed"))return C.attr("data-ajax-confirm-size",h),C.attr("data-ajax-confirm-centered",f),C.attr("data-ajax-confirm-callback-function",p),C.attr("data-ajax-confirm-type",m),C.attr("data-ajax-confirm-mode",g),C.attr("data-ajax-confirm-method",v),C.attr("data-ajax-confirm-title",y),C.attr("data-ajax-confirm-body",b),C.attr("data-ajax-confirm-btn-yes-text",_),C.attr("data-ajax-confirm-btn-yes-class",w),C.attr("data-ajax-confirm-btn-yes-icon",S),C.attr("data-ajax-confirm-btn-no-text",O),C.attr("data-ajax-confirm-btn-no-class",x),C.attr("data-ajax-confirm-btn-no-icon",k),C.addClass(d+" js-nestable-confirmation-pending"),e.SOW.core.ajax_confirm.init(c),e.SOW.core.ajax_confirm.ajax_confirm(C),C.trigger("click"),void setTimeout((function(){C.removeClass(d),jQuery("#sow_ajax_confirm .btn-confirm-yes").not("js-nestablified").addClass("js-nestablified").on("click",(function(e){e.preventDefault(),C.addClass("js-confirmed"),C.removeClass("js-nestable-confirmation-pending"),C.removeClass(d),C.trigger("click")}))}),100)}else{if(!1===confirm(b))return;C.addClass("js-confirmed")}if(!C.hasClass("js-nestable-confirmation-pending")&&(l+""!="true"||C.hasClass("js-confirmed"))){if(""!=r)for(var P=e.SOW.helper.params_parse(r),N=0;N')},error:function(n,o,i){"object"==typeof e.SOW.core.toast?e.SOW.core.toast.show("danger","404 Error","Unexpected Internal error!","bottom-center",0,!0):alert("[404] Unexpected internal error!"),jQuery(".nestableOverlayLoading",t).remove()},success:function(n){e.SOW.helper.consoleLog(n),jQuery(".nestableOverlayLoading",t).remove(),E.addClass("bg-danger-soft transition-all-ease-150"),setTimeout((function(){var e=C.closest("ol.dd-list"),t=e.closest("li.dd-item");E.fadeOut(150,(function(){E.remove(),jQuery(".dd-item",e).length<1&&(jQuery("button",t).remove(),e.remove())}))}),150),"#"!=L&&""!=L&&"javascript:;"!=L||e.SOW.helper.consoleLog('[Nestable Delete Item] : [ajax-update-method] used to POST data because href="'+D+'"')}})}}))}}}(jQuery),function(e){"use strict";var t="Vendor FullCalendar";window.fullCalendarInstance={},e.SOW.vendor.fullcalendar={config:{plugins:["interaction","dayGrid","timeGrid","list","bootstrap","googleCalendar"],kickBsPlugin:function(e){e=e||"primary";"object"==typeof FullCalendarBootstrap&&(FullCalendarBootstrap.BootstrapTheme.prototype.baseIconClass="m-0 fi",FullCalendarBootstrap.BootstrapTheme.prototype.iconOverrideOption="smartyAwesopme",FullCalendarBootstrap.BootstrapTheme.prototype.iconOverrideCustomButtonOption="smartyAwesopme",FullCalendarBootstrap.BootstrapTheme.prototype.iconOverridePrefix="fi-",FullCalendarBootstrap.BootstrapTheme.prototype.iconClasses={close:"fi-close",prev:"fi-arrow-left",next:"fi-arrow-right",prevYear:"fi-arrow-left",nextYear:"fi-arrow-right"},FullCalendarBootstrap.BootstrapTheme.prototype.classes.popover="card card-"+e,FullCalendarBootstrap.BootstrapTheme.prototype.classes.button="btn btn-"+e+" btn-sm",FullCalendarBootstrap.BootstrapTheme.prototype.classes.listView="card card-"+e)},headers:"",crossDomain:"",method:"GET",contentType:"application/x-www-form-urlencoded; charset=UTF-8",dataType:"",headers:"",crossDomain:"",data_params:{ajax:"true"}},collection:e(),init:function(n,o){if(""!=n&&jQuery(n).length<1)return null;if("object"!=typeof FullCalendar){var i=e.SOW.helper.vendorLogicPaths("fullcalendar");return""==i.path_js?(e.SOW.helper.consoleLog("Vendor Missing : "+t),null):(e.SOW.helper.loadScript([i.path_js],!1,!0).done((function(){return"object"!=typeof FullCalendar?(e.SOW.helper.consoleLog("Vendor Missing : "+t),null):(e.SOW.vendor.fullcalendar.init(n,o),null)})),null)}var r=e.SOW.helper.__selector(n),a=e.SOW.helper.check_var(o);return this.selector=r[0],this.collection=r[1],this.selector_orig=r[2],this.config=null!==a?e.extend({},this.config,a):this.config,jQuery(this.selector).length<1?null:("object"==typeof FullCalendarBootstrap&&e.SOW.vendor.fullcalendar.config.kickBsPlugin("primary"),e.SOW.helper.consoleLog("Init : "+t),this.selector?this.collection.each((function(){e.SOW.vendor.fullcalendar.process(e(this))})):(e.SOW.vendor.fullcalendar.process(e(".fullcalendar")),e(".fullcalendar")))},process:function(t){var n=t.attr("id")||"",o=t.data("fullcalendar-plugins")||"",i=t.data("fullcalendar-default-view")||"dayGridMonth",r=t.data("fullcalendar-modal-size")||"modal-lg",a=t.attr("data-fullcalendar-event-create-modal")||!0,s=t.data("fullcalendar-modal-event-create")||"",l=t.attr("data-fullcalendar-event-edit-modal")||!0,c=t.data("fullcalendar-modal-event-edit")||"",d=t.data("fullcalendar-date-click")||"",u=t.data("fullcalendar-modal-date-click-modal")||"",h=t.data("fullcalendar-custom")||"",f=t.data("fullcalendar-extend")||"",p=t.data("fullcalendar-source-json-url")||"",m=t.data("fullcalendar-source-json-inline")||"",g=t.data("fullcalendar-source-object")||"",v=t.data("fullcalendar-lang-btn")||"",y=t.data("fullcalendar-header")||"",b=t.attr("data-fullcalendar-editable")||!1,_=t.data("fullcalendar-time-format")||"",w=t.data("fullcalendar-default-date")||"now",S=t.data("fullcalendar-timezone")||"local",O=t.data("fullcalendar-google-apikey")||"";t.data("fullcalendar-google-event-sources");""==n&&(n="rand_"+e.SOW.helper.randomStr(3,"N"),t.attr("id",n)),"object"!=typeof p&&(p=!1),"object"!=typeof m&&(m=null),"object"==typeof window[g]&&(m=window[g]);b=b+""=="true";if("object"!=typeof v)v={today:"today",month:"month",week:"week",day:"day",list:"list"};if("object"!=typeof y)y={left:"prev,next, today, customAddEventButton",center:"title",right:"dayGridMonth,timeGridWeek,timeGridDay,listWeek"};if("object"!=typeof _)_={hour:"numeric",minute:"2-digit",meridiem:"short"};w="today"==w||"now"==w?new Date:new Date(w);var x={plugins:"object"==typeof o?o:e.SOW.vendor.fullcalendar.config.plugins,editable:b,eventLimit:!0,locale:"en",themeSystem:"bootstrap",defaultView:i||"dayGridMonth",defaultDate:w,dir:e.SOW.globals.direction,timeZone:S,eventTimeFormat:_,buttonText:v,header:y,customButtons:{customAddEventButton:{text:"+",click:function(t){!0===b&&(a+""=="true"?""!=s&&"object"==typeof e.SOW.core.ajax_modal&&(e.SOW.helper.consoleLog(s,"color:#cccccc"),e.SOW.core.ajax_modal.createFromThinAir(s,r,"true","static",(function(){setTimeout((function(){if(""==(t=jQuery("#event_id").attr("id")||"")){var t=(new Date).getTime();jQuery("#event_id").attr("id",t)}jQuery(".btn-fullcalendar-add").on("click",(function(o){e.SOW.vendor.fullcalendar.eventCreate(n,t)}))}),250)}))):""!=s&&(window.location=s))}}},googleCalendarApiKey:O||null,events:"object"==typeof m&&m,eventSources:"object"==typeof p&&p,eventClick:function(t){!0===b&&(l+""=="true"?(t.jsEvent.preventDefault(),t.event.url,""!=c&&"object"==typeof e.SOW.core.ajax_modal&&(e.SOW.helper.consoleLog(c+t.event.id,"color:#cccccc"),e.SOW.core.ajax_modal.createFromThinAir(c+t.event.id,r,"true","static",(function(){setTimeout((function(){if(e.SOW.vendor.fullcalendar.eventGet(t,n),""==(o=jQuery("#event_id").attr("id")||"")){var o=(new Date).getTime();jQuery("#event_id").attr("id",o)}jQuery(".btn-fullcalendar-edit").on("click",(function(i){e.SOW.vendor.fullcalendar.eventEdit(t,n,o)})),jQuery(".btn-fullcalendar-remove").on("click",(function(e){t.event.remove()}))}),450)})))):""!=c&&(window.location=c+t.event.id))},dateClick:function(t){!0===b&&("modal"==d&&""!=u?"object"==typeof e.SOW.core.ajax_modal&&(e.SOW.helper.consoleLog(u+t.dateStr,"color:#cccccc"),e.SOW.core.ajax_modal.createFromThinAir(u+t.dateStr,r,"true","static",(function(){setTimeout((function(){var o=new Date,i=o.getHours(),r=o.getMinutes();i<10&&(i="0"+i),r<10&&(r="0"+r);var a=i+":"+r;if(jQuery("#start").val(t.dateStr+" "+a),jQuery("#start").attr("data-date-start",t.dateStr+" "+a),""==(s=jQuery("#event_id").attr("id")||"")){var s=(new Date).getTime();jQuery("#event_id").attr("id",s)}jQuery(".btn-fullcalendar-add").on("click",(function(t){e.SOW.vendor.fullcalendar.eventCreate(n,s)}))}),250)}))):"redirect"==d&&""!=u&&(window.location=u+t.dateStr))},eventRender:function(e){jQuery("#"+n+" .fc-toolbar #fc_smarty_custom_range").length<1?jQuery("#"+n+" .fc-toolbar h2").wrap(''):jQuery("#"+n+" #fc_smarty_custom_range").hasClass("js-tangepickified")||jQuery("#"+n+" #fc_smarty_custom_range").on("click",(function(e){e.preventDefault()}))},eventResize:function(t){if(!0===b){var o=t.event.start.toISOString(),i=t.event.end?t.event.end.toISOString():t.event.start.toISOString();e.SOW.vendor.fullcalendar.ajaxReq(c,n,t.event.id,o,i,"resize")}},eventDrop:function(t){if(!0===b){var o=t.event.start.toISOString(),i=t.event.end?t.event.end.toISOString():t.event.start.toISOString();e.SOW.vendor.fullcalendar.ajaxReq(c,n,t.event.id,o,i,"drag")}}},k=(x="object"==typeof window[f]?e.extend({},x,window[f]):x,document.getElementById(n));if("object"==typeof window[h])x={themeSystem:"bootstrap",defaultView:i||"dayGridMonth",defaultDate:new Date,dir:e.SOW.globals.direction,header:{left:"prev,next, today",center:"title",right:"dayGridMonth,timeGridWeek,timeGridDay,listWeek"}},x=e.extend({},x,window[h]);window.fullCalendarInstance[n]=new FullCalendar.Calendar(k,x),window.fullCalendarInstance[n].render()},ajaxReq:function(t,n,o,i,r,a){if(""!=t){var s=jQuery("#"+n).data("ajax-method")||e.SOW.vendor.fullcalendar.config.method,l=jQuery("#"+n).data("toast-success")||"Sucessfully Updated!",c=jQuery("#"+n).data("toast-position")||"top-center",d=(e.SOW.vendor.fullcalendar.config.data_params,t+o+"&start="+i+"&end="+r+"&action="+a+"&ajax=true");jQuery.ajax({url:d,data:null,type:s,contentType:e.SOW.vendor.fullcalendar.config.contentType,dataType:e.SOW.vendor.fullcalendar.config.dataType,headers:e.SOW.vendor.fullcalendar.config.headers,crossDomain:e.SOW.vendor.fullcalendar.config.crossDomain,beforeSend:function(){},error:function(t,n,o){"object"==typeof e.SOW.core.toast?e.SOW.core.toast.show("danger","404 Error","Unexpected Internal error!",c,0,!0):alert("[404] Unexpected internal error!")},success:function(t){e.SOW.helper.consoleLog(d),setTimeout((function(){"object"==typeof e.SOW.core.toast&&e.SOW.core.toast.show("success","",l,c,1300,!0)}),150)}})}},dateFormat:function(e){if(!e)return null;if("function"==typeof moment)return moment(e,"YYYY-MM-DD HH:mm").format("YYYY-MM-DD HH:mm");var t=new Date(e),n=(n=t.getTimezoneOffset()/60)>0?n/60:0,o=t.getMonth()+1,i=t.getDate(),r=t.getHours()+n,a=t.getMinutes();return o<10&&(o="0"+o),i<10&&(i="0"+i),r<10&&(r="0"+r),a<10&&(a="0"+a),t.getFullYear()+"-"+o+"-"+i+" "+r+":"+a},eventCreate:function(t,n){var o=jQuery("#start").val(),i=jQuery("#end").val()||null,r=jQuery("#startRecur").val()||null,a=jQuery("#endRecur").val()||null,s=jQuery("#daysOfWeek").val()||null;if(!jQuery("#recurrent_enable").is(":checked"))r=null,a=null,s=null;o=o?o.replace(" ","T")+":00":o,i=i?i.replace(" ","T")+":00":i,r=r?r.replace(" ","T")+":00":r,a=a?a.replace(" ","T")+":00":a;window.fullCalendarInstance[t].addEvent({id:n,title:jQuery("#title").val(),start:o,end:i,allDay:!i,description:jQuery("#description").val(),className:jQuery("#className").val(),startRecur:r,endRecur:a,daysOfWeek:s,editable:!0,startEditable:!0,durationEditable:!0,resourceEditable:!0}),e.SOW.vendor.fullcalendar.refetchEvents(t)},eventEdit:function(t,n,o){var i=jQuery("#start").val(),r=jQuery("#end").val()||null,a=jQuery("#startRecur").val()||null,s=jQuery("#endRecur").val()||null,l=jQuery("#className").val()||"",c=jQuery("#daysOfWeek").val()||null;if(!jQuery("#recurrent_enable").is(":checked"))a=null,s=null,c=null;if(i)i=i.replace(" ","T")+":00";if(r)r=r.replace(" ","T")+":00";if(a){a=a.replace(" ","T")+":00";t.event.setProp("startRecur",a)}if(s){s=s.replace(" ","T")+":00";t.event.setProp("endRecur",s)}t.event.setProp("daysOfWeek",c),t.event.setStart(i),t.event.setEnd(r),t.event.setAllDay(!r),t.event.setProp("title",jQuery("#title").val()),t.event.setProp("className",l.split(" ")),t.event.setExtendedProp("description",jQuery("#description").val()),e.SOW.vendor.fullcalendar.refetchEvents(n)},eventGet:function(t,n){var o=t.event.start||"",i=t.event.end||null,r=void 0!==t.event._def.recurringDef?t.event._def.recurringDef.typeData.startRecur:null,a=void 0!==t.event._def.recurringDef?t.event._def.recurringDef.typeData.endRecur:null,s=void 0!==t.event._def.recurringDef?t.event._def.recurringDef.typeData.daysOfWeek:null,l=t.event._def.ui.classNames.join(" ")||null;if(s&&s.length>0){jQuery("#recurrent_enable").trigger("click");for(var c=0;c'+t.event.url+""),jQuery("#title").val(t.event.title||""),jQuery("#url").val(t.event.url||""),""!=l&&(jQuery("#className").val(l),jQuery("#info_className").addClass(l),"object"==typeof e.SOW.vendor.bootstrap_select&&e.SOW.vendor.bootstrap_select.refresh("#className"))},refetchEvents:function(e){"object"==typeof window.fullCalendarInstance[e]&&window.fullCalendarInstance[e].refetchEvents()}}}(jQuery),function(e){"use strict";var t="Vendor Datepicker";e.SOW.vendor.datepicker={config:{headers:"",crossDomain:"",method:"POST",contentType:"application/x-www-form-urlencoded; charset=UTF-8",dataType:"",headers:"",crossDomain:"",data_params:{ajax:"true"}},collection:e(),init:function(n,o){if(""!=n&&jQuery(n).length<1)return null;if(!jQuery().datepicker){var i=e.SOW.helper.vendorLogicPaths("datepicker");return""==i.path_js?(e.SOW.helper.consoleLog("Vendor Missing : "+t),null):(e.SOW.helper.loadScript([i.path_js],!1,!0).done((function(){return jQuery().datepicker?(e.SOW.vendor.datepicker.init(n,o),null):(e.SOW.helper.consoleLog("Vendor Missing : "+t),null)})),null)}var r=e.SOW.helper.__selector(n),a=e.SOW.helper.check_var(o);return this.selector=r[0],this.collection=r[1],this.selector_orig=r[2],this.config=null!==a?e.extend({},this.config,a):this.config,e.SOW.helper.consoleLog("Init : "+t),this.selector?this.collection.each((function(){e.SOW.vendor.datepicker.process(e(this))})):(e.SOW.vendor.datepicker.process(e(".datepicker")),e(".datepicker"))},process:function(t){if(!t.hasClass("js-datepickified")){""!=t.attr("href")&&t.on("click",(function(e){e.preventDefault()}));var n=t.data("id")||"",o=t.data("lang")||"en",i=(i=t.data("format")||"mm/dd/yyyy").toLowerCase(),r=t.data("date-start")||-1/0,a=t.data("date-end")||1/0,s=t.attr("data-changeMonth")||!0,l=t.attr("data-today-btn")||!0,c=t.attr("data-show-weeks")||!0,d=t.attr("data-autoclose")||!0,u=t.attr("data-today-highlight")||!0,h=t.attr("data-clear-btn")||!1,f=t.attr("data-showWeekDays")||!0,p=t.attr("data-enableOnReadonly")||!1,m=t.attr("data-daysOfWeekDisabled")||"",g=t.attr("data-daysOfWeekHighlighted")||"",v=t.attr("data-datesDisabled")||"",y=t.attr("data-zIndexOffset")||10,b=(t.attr("data-showOnFocus"),t.attr("data-title")||""),_=t.attr("data-quick-locale")||"",w=t.attr("data-layout-rounded")||!1;if("today"==r||"now"==r?r=new Date:r!=-1/0&&""!=r.trim()&&(r=new Date(r)),"today"!=a&&"now"!=a||(r=new Date),""==n){n="rand_"+e.SOW.helper.randomStr(3);t.attr("id",n)}if(""!=t.attr("href")){var S=r;S==-1/0&&(S=new Date(r));var O={};if(O.dd=S.getDate(),O.mm=S.getMonth()+1,O.yyyy=S.getFullYear(),-1!==i.indexOf("/"))var x=i.split("/"),k="/";else if(-1!==i.indexOf("-"))x=i.split("-"),k="-";else if(-1!==i.indexOf("."))x=i.split("."),k=".";else if(-1!==i.indexOf(","))x=i.split(","),k=",";else if(-1!==i.indexOf(" "))x=i.split(" "),k=" ";var j=O[x[0]]+k+O[x[1]]+k+O[x[2]];t.text(j)}"object"==typeof _&&(e.fn.datepicker.dates.en=_),"object"==typeof m&&(m=m.toString()),"object"==typeof g&&(g=g.toString()),"object"==typeof v&&(v=v.toString()),t.addClass("js-datepickified").datepicker({language:o,format:i,rtl:"rtl"==e.SOW.globals.direction,startDate:r,endDate:a,changeMonth:s+""=="true",todayBtn:l+""=="true"?"linked":null,calendarWeeks:c+""=="true",autoclose:d+""=="true",todayHighlight:u+""=="true",clearBtn:h+""=="true",enableOnReadonly:p+""=="true",daysOfWeekDisabled:m,daysOfWeekHighlighted:g,datesDisabled:v,title:b,showOnFocus:s+""=="true",zIndexOffset:Number(y)||10,showWeekDays:f+""=="true",templates:{leftArrow:"rtl"==e.SOW.globals.direction?'':'',rightArrow:"rtl"==e.SOW.globals.direction?'':''},dates:{en:{days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],daysShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],daysMin:["Su","Mo","Tu","We","Th","Fr","Sa"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],monthsShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],today:"Today",clear:"Clear",titleFormat:"MM yyyy"}}}).click((function(t){setTimeout((function(){e(".datepicker-dropdown").addClass("animate-none"),w+""=="true"&&e(".datepicker-dropdown").addClass("datepicker-rounded")}),200)})).on("changeDate",(function(n){var o=n.date;e.SOW.vendor.datepicker.updateAjax(t,o,i)})).data("datepicker")}},updateAjax:function(t,n,o){var i=t.data("ajax-method")||e.SOW.vendor.datepicker.config.method,r=t.data("ajax-url")||"",a=t.data("ajax-params")||"",s=t.data("toast-success")||"Sucessfully Updated!",l=t.data("toast-position")||"top-center",c=t.data("id")||"",d=e.SOW.vendor.datepicker.config.data_params;if(""!=r){var u=new Date(n),h={};if(h.dd=u.getDate(),h.mm=u.getMonth()+1,h.yyyy=u.getFullYear(),h.dd<10&&(h.dd="0"+h.dd),h.mm<10&&(h.mm="0"+h.mm),-1!==o.indexOf("/"))var f=o.split("/"),p="/";else if(-1!==o.indexOf("-"))f=o.split("-"),p="-";else if(-1!==o.indexOf("."))f=o.split("."),p=".";else if(-1!==o.indexOf(","))f=o.split(","),p=",";else if(-1!==o.indexOf(" "))f=o.split(" "),p=" ";var m=h[f[0]]+p+h[f[1]]+p+h[f[2]];if(""!=a)for(var g=e.SOW.helper.params_parse(a),v=0;v'),l+""=="true"&&(s="true"),n[x]=Pickr.create({el:"."+k,theme:i,default:h,position:a,showAlways:s+""=="true",inline:l+""=="true",appClass:c,useAsButton:d+""=="true",defaultRepresentation:u,swatches:e.SOW.vendor.colorpicker.config.classic.swatches,components:{preview:!0,opacity:!0,hue:!0,interaction:{hex:g+""!="false",rgba:v+""!="false",hsla:y+""!="false",hsva:b+""!="false",cmyk:_+""!="false",input:w+""!="false",clear:S+""!="false",save:O+""!="false"}},strings:{save:f,clear:p,cancel:m}}).on("init",(function(e){jQuery(".pcr-result, .pcr-type, .pcr-save, .pcr-clear").addClass("rounded"),jQuery(".pcr-save").on("click",(function(){var e=jQuery(this).parents(".pcr-interaction"),t=jQuery(".pcr-result",e).val();jQuery(".pcr-result-final").val(t)}))})).on("hide",(function(n){if(O+""=="false"){var i=jQuery(".pcr-result").val();e.SOW.vendor.colorpicker.updateAjax(t,i),o&&(jQuery("input"+o).val(i),jQuery("div"+o+", span"+o).text(i))}})).on("show",(function(e,t){if(r+""=="true"){var n=jQuery(".pcr-result").val();o&&(jQuery("input"+o).val(n),jQuery("div"+o+", span"+o).text(n))}})).on("save",(function(n,i){setTimeout((function(){var n=jQuery(".pcr-result-final").val();e.SOW.vendor.colorpicker.updateAjax(t,n),o&&(jQuery("input"+o).val(n),jQuery("div"+o+", span"+o).text(n)),jQuery(".pcr-result-final").val("")}),200)})).on("clear",(function(e){o&&(jQuery("input"+o).val(""),jQuery("div"+o+", span"+o).text(""))})).on("change",(function(n,i){if(r+""=="true"){var a=jQuery(".pcr-result").val();window.afterPickChange&&clearTimeout(window.afterPickChange),window.afterPickChange=setTimeout((function(){e.SOW.vendor.colorpicker.updateAjax(t,a)}),1500),o&&(jQuery("input"+o).val(a),jQuery("div"+o+", span"+o).text(a))}})).on("changestop",(function(e){})).on("cancel",(function(e){})).on("swatchselect",(function(e,t){})),n[x]}},updateAjax:function(t,n){var o=t.data("ajax-method")||e.SOW.vendor.colorpicker.config.method,i=t.data("ajax-url")||"",r=t.data("ajax-params")||"",a=t.data("toast-success")||"Sucessfully Updated!",s=t.data("toast-position")||"top-center",l=t.data("id")||"",c=e.SOW.vendor.colorpicker.config.data_params;if(""!=i){if(""!=r)for(var d=e.SOW.helper.params_parse(r),u=0;u0||(jQuery("body").append('
'),jQuery("#forceColorPickrInit>div").addClass(t),e.SOW.vendor.colorpicker.init(this.selector_orig)),t},__selector:function(){return this.selector_orig}}}(jQuery),function(e){"use strict";var t="Vendor Flot Chart";e.SOW.vendor.flot={config:{headers:"",crossDomain:"",method:"GET",dataType:"json",headers:"",crossDomain:"",data_params:{ajax:"true"}},collection:e(),init:function(n,o){if(""!=n&&jQuery(n).length<1)return null;if(!jQuery().plot){var i=e.SOW.helper.vendorLogicPaths("flot");return""==i.path_js?(e.SOW.helper.consoleLog("Vendor Missing : "+t),null):(e.SOW.helper.loadScript([i.path_js],!1,!0).done((function(){return jQuery().plot?(e.SOW.vendor.flot.init(n,o),null):(e.SOW.helper.consoleLog("Vendor Missing : "+t),null)})),null)}var r=e.SOW.helper.__selector(n),a=e.SOW.helper.check_var(o);return this.selector=r[0],this.collection=r[1],this.selector_orig=r[2],this.config=null!==a?e.extend({},this.config,a):this.config,e.SOW.helper.consoleLog("Init : "+t),e.SOW.vendor.flot.btnSave_bind(),this.selector?this.collection.each((function(){e.SOW.vendor.flot.process(e(this))})):(e.SOW.vendor.flot.process(e(".flot")),e(".flot"))},process:function(t){if(!t.hasClass("js-plotified")){t.addClass("js-plotified");var n=t.data("flot-custom-data")||"",o=t.data("flot-custom-options")||"",i=t.attr("data-flot-id")||"";""==i&&(i="rand_"+e.SOW.helper.randomStr(3,"N"),t.attr("id",i),t.attr("data-flot-id",i));var r=t.data("flot-label-1")||"Plot 1",a=t.data("flot-label-2")||"Plot 2",s=t.data("flot-label-3")||"Plot 3",l=t.data("flot-color-1")||"#6595b4",c=t.data("flot-color-2")||"#FF0000",d=t.data("flot-color-3")||"#FF0000",u=t.data("flot-border-color")||"#eaeaea",h=t.data("flot-type")||"fill",f=t.data("ajax-url")||"",p=t.data("flot-click")||"",m=t.data("flot-click-url")||"",g=t.data("flot-modal-size")||"modal-md",v=t.data("flot-modal-backdrop")||"",y=t.data("flot-modal-centered")||"false",b=(b=t.attr("data-flot-data-1"))?JSON.parse(b):null,_=(_=t.attr("data-flot-data-2"))?JSON.parse(_):null,w=(w=t.attr("data-flot-data-3"))?JSON.parse(w):null,S=t.data("flot-fill-2")||"false",O=t.data("flot-fill-3")||"false",x=t.data("flot-pie-data")||"",k=t.attr("data-flot-legend-show")||"true",j=(j=t.attr("data-flot-ticks"))?JSON.parse(j):null;if(""!=p&&t.bind("plotclick",(function(t,n,o){if(o){if(m+="&val_x="+o.datapoint[0]+"&val_y="+o.datapoint[1]+"&pos_x="+n.x+"&pos_y="+n.y,e.SOW.helper.consoleLog(m),"url"==p)return void(window.location=m);"callback"==p&&"function"==typeof flot_callback?flot_callback(t,n,o):"object"==typeof e.SOW.core.ajax_modal&&"modal"==p&&e.SOW.core.ajax_modal.createFromThinAir(m,g,y,v,(function(){setTimeout((function(){jQuery("#val_x").val(o.datapoint[0]),jQuery("#val_y").val(o.datapoint[1]),jQuery(".val_x").text(o.datapoint[0]),jQuery(".val_y").text(o.datapoint[1]),jQuery("#pos_x").val(n.x),jQuery("#pos_y").val(n.y),jQuery(".pos_x").text(n.x),jQuery(".pos_y").text(n.y),"function"==typeof flot_callback&&flot_callback(t,n,o)}),450)}))}})),""==n||""==o)if("object"!=typeof x){if(b)var C=[{data:b,label:r,lines:{show:"bar"!=h},points:{show:"bar"!=h},color:l}];if(_)C=[{data:b,label:r,lines:{show:"bar"!=h},points:{show:"bar"!=h},color:l},{data:_,label:a,lines:{show:"bar"!=h,fill:S+""=="true"},points:{show:"bar"!=h},color:c}];if(w)C=[{data:b,label:r,lines:{show:"bar"!=h},points:{show:"bar"!=h},color:l},{data:_,label:a,lines:{show:"bar"!=h,fill:S+""=="true"},points:{show:"bar"!=h},color:c},{data:w,label:s,lines:{show:"bar"!=h,fill:O+""=="true"},points:{show:"bar"!=h},color:d}];var E={grid:{mouseActiveRadius:"pie"==h?0:30,hoverable:!0,clickable:!0,borderWidth:0,tickColor:"pie"==h?null:u,borderColor:"pie"==h?null:u},tooltip:!0,tooltipOpts:{content:function(e,t,n,o){return e+": "+n+""},dateFormat:"%y-%0m-%0d",defaultTheme:!0},xaxis:{ticks:j,tickLength:5,mode:"time"},legend:{show:k+""=="true",noColumns:1,labelFormatter:null},series:{pie:{show:"pie"==h},bars:{show:"bar"==h,lineWidth:0,align:"center",barWidth:.5},lines:{show:"bar"!=h,lineWidth:1,fill:!0,fillColor:{colors:[{opacity:.1},{opacity:.15}]}},shadowSize:0,highlightColor:.5},selection:{mode:"x"}};f?e.SOW.vendor.flot.flotAjax(t,i,E):window[i]=jQuery.plot(t,C,E)}else window[i]=jQuery.plot(t,x,{grid:{hoverable:!0,clickable:!0},series:{pie:{show:!0},lines:{show:!0},shadowSize:0,highlightColor:.5},legend:{show:k+""!="false",noColumns:1,labelFormatter:null},tooltip:!0,tooltipOpts:{content:function(e,t,n,o){return e+": "+n+""},dateFormat:"%y-%0m-%0d",defaultTheme:!0}});else window[i]=jQuery.plot(t,flot_custom[n],flot_custom[o])}},flotAjax:function(t,n,o){var i=t.data("ajax-method")||e.SOW.vendor.flot.config.method,r=t.data("ajax-dataType")||e.SOW.vendor.flot.config.dataType,a=t.data("ajax-url")||"",s=t.data("ajax-params")||"",l=t.data("id")||"",c=t.data("ajax-update-interval")||0,d=e.SOW.vendor.flot.config.data_params;if(""!=a){if(""!=s)for(var u=e.SOW.helper.params_parse(s),h=0;hy.options.scales.yAxes[0].ticks.max&&(y.options.scales.yAxes[0].ticks.max=y.data.datasets[b].data[_]+10);y.data.datasets[b].borderColor=y.data.datasets[b].backgroundColor,y.data.datasets[b].pointHoverRadius=4,y.data.datasets[b].pointHoverBorderWidth=12,y.data.datasets[b].borderWidth=1,y.data.datasets[b].pointBackgroundColor=y.data.datasets[b].backgroundColor,y.data.datasets[b].pointBorderColor=y.data.datasets[b].backgroundColor,y.data.datasets[b].pointHoverBorderColor=y.data.datasets[b].backgroundColor,l+""=="false"&&!0===y.data.datasets[b].fill&&(y.data.datasets[b].pointBackgroundColor="rgba(133, 133, 145, 0)",y.data.datasets[b].pointBorderColor="rgba(133, 133, 145, 0)",y.data.datasets[b].pointHoverBackgroundColor="rgba(133, 133, 145, 0)",y.data.datasets[b].pointHoverBorderColor="rgba(133, 133, 145, 0)",y.data.datasets[b].borderWidth=0,y.data.datasets[b].borderColor="rgba(133, 133, 145, 0)",y.options.elements.point.radius=0),l+""=="false"&&(y.options.elements.point.radius=0),!1===y.data.datasets[b].fill&&(y.data.datasets[b].borderWidth=""!=h?Number(h):3)}v=y}else if("pie"==y.type||"doughnut"==y.type){var w=[],S=[],O=[];for(b=0;b0&&o.submit((function(){""==t.val()?t.parent().find("div.medium-editor").addClass("is-invalid"):t.parent().find("div.medium-editor").removeClass("is-invalid").addClass("is-valid")}))}var i=t.attr("id")||"",r=t.data("lng-save")||"Save",a=t.data("lng-clear")||"Clear",s=t.data("lng-cancel")||"Cancel",l=t.data("lng-link")||"Paste or type a link",c=t.attr("data-btn-picker")||"true",d=t.attr("data-btn-bold")||"true",u=t.attr("data-btn-italic")||"true",h=t.attr("data-btn-underline")||"true",f=t.attr("data-btn-link")||"true",p=t.attr("data-btn-h1")||"true",m=t.attr("data-btn-h2")||"true",g=t.attr("data-btn-h3")||"true",v=t.attr("data-btn-h4")||"true",y=t.attr("data-btn-h5")||"true",b=t.attr("data-btn-h6")||"true",_=t.attr("data-btn-unordered")||"true",w=t.attr("data-btn-ordered")||"true";if(""==i){i="rand_"+e.SOW.helper.randomStr(3);t.attr("id",i)}if(t.addClass("js-mediumified"),n[i],"object"!=typeof e.SOW.vendor.colorpicker)c="false";if(c+""=="true"){var S;if("function"!=typeof Pickr)var O=e.SOW.vendor.colorpicker.forceInit();var x=new(MediumEditor.extensions.button.extend({name:"colorPicker",action:"applyForeColor",aria:"color picker",contentDefault:'',init:function(){this.button=this.document.createElement("button"),this.button.classList.add("medium-editor-action"),this.button.innerHTML='',this.button,this.on(this.button,"click",this.handleClick.bind(this))},handleClick:function(e){S=n[i].exportSelection(),jQuery(this.button).prepend(''),setTimeout((function(){window[i]=Pickr.create({el:"."+O,theme:"nano",default:void 0!==window[i].lastColor?window[i].lastColor:"#121212",showAlways:!0,inline:!1,position:"bottom-middle",useAsButton:!0,defaultRepresentation:"HEXA",closeWithKey:"Escape",autoReposition:!0,swatches:["rgba(244, 67, 54, 1)","rgba(233, 30, 99, 1)","rgba(156, 39, 176, 1)","rgba(103, 58, 183, 1)","rgba(63, 81, 181, 1)","rgba(33, 150, 243, 1)","rgba(3, 169, 244, 1)","rgba(0, 188, 212, 1)","rgba(0, 150, 136, 1)","rgba(76, 175, 80, 1)","rgba(139, 195, 74, 1)","rgba(205, 220, 57, 1)","rgba(255, 235, 59, 1)","rgba(255, 193, 7, 1)"],components:{palette:!0,preview:!0,opacity:!0,hue:!0,interaction:{hex:!0,rgba:!0,hsla:!1,hsva:!1,cmyk:!1,input:!0,clear:!0,save:!0}},strings:{save:r,clear:a,cancel:s}}).on("init",(function(e){jQuery(".pcr-result, .pcr-type, .pcr-save, .pcr-clear").addClass("rounded")})).on("hide",(function(e){})).on("show",(function(e,t){jQuery(".pcr-app:not(.pcr-save):not(.pcr-cancel):not(.pcr-clear)").on("click",(function(e){e.preventDefault(),e.stopPropagation()})),jQuery(document).on("click",(function(){window[i].hide()}))})).on("save",(function(e,t){window[i].getColor().toHEXA().join(",");var n=window[i].getColor().toHEXA().toString();E(n),window[i].lastColor=n,window[i].hide()})).on("clear",(function(e){E("")})).on("change",(function(e,t){})).on("changestop",(function(e){})).on("cancel",(function(e){})).on("swatchselect",(function(e,t){}))}),100),e.preventDefault(),e.stopPropagation();var t=this.getAction();t&&this.execAction(t)}}));function E(e){var t=e;x.base.importSelection(S),x.document.execCommand("styleWithCSS",!1,!0),""==e?x.document.execCommand("RemoveFormat"):x.document.execCommand("foreColor",!1,t)}}var k=[{name:"colorPicker"}];d+""=="true"&&k.push({name:"bold",contentDefault:"B"}),u+""=="true"&&k.push({name:"italic",contentDefault:"I"}),h+""=="true"&&k.push({name:"underline",contentDefault:"U"}),f+""=="true"&&k.push({name:"anchor",contentDefault:''}),p+""=="true"&&k.push("h1"),m+""=="true"&&k.push("h2"),g+""=="true"&&k.push("h3"),v+""=="true"&&k.push("h4"),y+""=="true"&&k.push("h5"),b+""=="true"&&k.push("h6"),_+""=="true"&&k.push({name:"unorderedlist",contentDefault:''}),w+""=="true"&&k.push({name:"orderedlist",contentDefault:''});var j={autoLink:!0,imageDragging:!1,targetBlank:!1,placeholder:!1,anchor:{linkValidation:!1,targetCheckbox:!1,placeholderText:l,targetCheckboxText:"Open in new window"},anchorPreview:{hideDelay:300},toolbar:{buttons:k},extensions:{colorPicker:c+""=="true"?x:null}};if(jQuery(".modal.show").length>0){if(""==(C=jQuery(".modal.show").attr("id")||"")){var C="rand_"+e.SOW.helper.randomStr(3);jQuery(".modal.show").attr("id",C)}j.elementsContainer=document.getElementById(C)}n[i]=new MediumEditor(this.selector_orig,j)}}}}(jQuery),function(e){"use strict";var t="Vendor Markdown Editor",n=[];e.SOW.vendor.markdowneditor={config:{},collection:e(),init:function(n,o){if(""!=n&&jQuery(n).length<1)return null;if("function"!=typeof EasyMDE){var i=e.SOW.helper.vendorLogicPaths("markdowneditor");return""==i.path_js?(e.SOW.helper.consoleLog("Vendor Missing : "+t),null):(e.SOW.helper.loadScript([i.path_js],!1,!0).done((function(){return"function"!=typeof EasyMDE?(e.SOW.helper.consoleLog("Vendor Missing : "+t),null):(e.SOW.vendor.markdowneditor.init(n,o),null)})),null)}var r=e.SOW.helper.__selector(n),a=e.SOW.helper.check_var(o);return this.selector=r[0],this.collection=r[1],this.selector_orig=r[2],this.config=null!==a?e.extend({},this.config,a):this.config,e.SOW.helper.consoleLog("Init : "+t),this.selector?this.collection.each((function(){e.SOW.vendor.markdowneditor.process(e(this))})):(e.SOW.vendor.markdowneditor.process(e(".markdown-editor")),e(".markdown-editor"))},process:function(t){if(!t.hasClass("js-markdownified")){var o=t.attr("id")||"",i=t.data("toolbar")||"",r=t.data("status")||"",a=t.data("autosaved-ignore-if-content-present")||"false",s=t.data("lng-placeholder")||"",l=t.data("lng-prompt-url")||"Type your URL:",c=t.attr("data-min-height")||"500px",d=t.attr("data-autofocus")||"false",u=t.attr("data-spellcheck")||"false",h=t.attr("data-autosave")||"false",f=t.attr("data-autosave-delay")||1e3,p=t.attr("data-prompt-urls")||"true",m=t.val()||"";if(""==o){o="rand_"+e.SOW.helper.randomStr(3);t.attr("id",o)}t.addClass("js-markdownified"),n[o],n[o]=new EasyMDE({element:document.getElementById(o),autoDownloadFontAwesome:!0,forceSync:!0,autofocus:d+""=="true",autosave:{enabled:h+""=="true",uniqueId:"MESaved_"+o,delay:Number(f)},minHeight:c,spellChecker:u+""=="true",showIcons:!1,status:"object"==typeof r&&r,placeholder:s,toolbar:"object"==typeof i?i:["bold","italic","strikethrough","|","heading-1","heading-2","heading-3","|","image","link","|","unordered-list","ordered-list","quote","|","preview"],promptURLs:p+""=="true",promptTexts:{image:l,link:l}}),m.length>0&&a+""=="true"&&(n[o].value(m),t.val(m))}}}}(jQuery),function(e){"use strict";var t="Vendor Summernote Editor",n=[];e.SOW.vendor.summernoteeditor={config:{},collection:e(),init:function(n,o){if(""!=n&&jQuery(n).length<1)return null;if(!jQuery().summernote){var i=e.SOW.helper.vendorLogicPaths("summernoteeditor");return""==i.path_js?(e.SOW.helper.consoleLog("Vendor Missing : "+t),null):(e.SOW.helper.loadScript([i.path_js],!1,!0).done((function(){return jQuery().summernote?(e.SOW.vendor.summernoteeditor.init(n,o),null):(e.SOW.helper.consoleLog("Vendor Missing : "+t),null)})),null)}var r=e.SOW.helper.__selector(n),a=e.SOW.helper.check_var(o);return this.selector=r[0],this.collection=r[1],this.selector_orig=r[2],this.config=null!==a?e.extend({},this.config,a):this.config,e.SOW.helper.consoleLog("Init : "+t),this.selector?this.collection.each((function(){e.SOW.vendor.summernoteeditor.process(e(this))})):(e.SOW.vendor.summernoteeditor.process(e(".summernote-editor")),e(".summernote-editor"))},process:function(t){if(!t.hasClass("js-summernotefied")){var o=t.data("placeholder")||"Type here...",i=t.data("min-height")||300,r=t.data("max-height")||1500,a=t.attr("data-focus")||"false",s=t.data("lang")||"en-US",l=t.data("ajax-url")||"",c=t.data("ajax-params")||"",d=t.data("toolbar")||"",u=t.attr("id")||"",h=t.data("summernote-config")||"",f=t.data("extend")||"";if(""==u){u="rand_"+e.SOW.helper.randomStr(3);t.attr("id",u)}var p={placeholder:o,minHeight:i,maxHeight:r,focus:a+""=="true",lang:""!=s?s:"en-US",popover:{image:[["image",["resizeFull","resizeHalf","resizeQuarter","resizeNone"]],["float",["floatLeft","floatRight","floatNone"]],["remove",["removeMedia"]]],link:[["link",["linkDialogShow","unlink"]]],table:[["add",["addRowDown","addRowUp","addColLeft","addColRight"]],["delete",["deleteRow","deleteCol","deleteTable"]]],air:[["color",["color"]],["font",["bold","underline","clear"]],["para",["ul","paragraph"]],["table",["table"]],["insert",["link","picture"]]]},callbacks:{onImageUpload:""!=l?function(t,n,o){for(var i=t.length-1;i>=0;i--)e.SOW.vendor.summernoteeditor.ajaxUpload(l,t[i],this,c)}:null}};if("object"==typeof d&&d.length&&(p.toolbar=d),"object"==typeof toolbarStyleTags&&toolbarStyleTags.length&&(p.styleTags=toolbarStyleTags),"object"==typeof h)p="object"==typeof h?e.extend({},p,h):p;if("object"==typeof window[f])p="object"==typeof window[f]?e.extend({},p,window[f]):p;return n[u],n[u]=t.addClass("js-summernotefied").summernote(p)}},ajaxUpload:function(t,n,o,i){if(""!=t){var r=new FormData;if(r.append("file",n),r.append("ajax","true"),i&&""!=i)for(var a=e.SOW.helper.params_parse(i),s=0;s'),document.getElementById("tx_"+i).value=document.getElementById(n).children[0].innerHTML;let r=!1;window.quillEditor[n].on("editor-change",(function(t){if("text-change"==t&&(document.getElementById("tx_"+i).value=document.getElementById(n).children[0].innerHTML),r)return;let o=document.getElementById(n),a=o.querySelectorAll("img"),s=o.getAttribute("data-ajax-url");o.getAttribute("data-ajax-params");""!=s&&a.forEach((function(t){let n=t.getAttribute("src");if(n&&"d"===n[0]){let o="_ajax/demo.summernote.php",i="";e.SOW.vendor.quilleditor.ajaxUpload(o,n,t,i),r=!0}}))}))}))},b64toBlob:function(e,t,n){t=t||"",n=n||512;let o=atob(e),i=[];for(let e=0;e',p=t.data("lng-csv")||"CSV",m=t.data("lng-pdf")||"PDF",g=t.data("lng-xls")||"XLS",v=t.data("lng-copy")||"Copy",y=t.data("lng-print")||"Print",b=t.data("lng-all")||"All",_=t.attr("data-column-search")||"false",w=t.attr("data-row-reorder")||"false",S=t.attr("data-col-reorder")||"false",O=t.attr("data-responsive")||"true",x=t.attr("data-header-fixed")||"false",k=t.attr("data-select-onclick")||"false",j=t.attr("data-main-search")||"true",C=t.attr("data-enable-paging")||"true",E=t.attr("data-enable-col-sorting")||"true",T=t.attr("data-autofill")||"false",D=t.attr("data-group")||"false",W=t.attr("data-custom")||"false",A=t.attr("data-custom-config")||null,M=t.attr("data-items-per-page")||15,L=t.attr("data-enable-column-visibility")||"true",P=t.attr("data-enable-export")||"true";if(t.addClass("js-datatableified"),""==o){o="rand_"+e.SOW.helper.randomStr(3);t.attr("id",o)}if(n[o],W+""!="true"){_+""=="true"&&!1===e.SOW.globals.is_mobile&&(jQuery("#"+o+" thead tr").clone(!0).appendTo("#"+o+" thead"),jQuery("#"+o+" thead tr:eq(1) th").each((function(e){jQuery(this).text();jQuery(this).html(''),jQuery("input",this).on("keyup change",(function(){n[o].column(e).search()!==this.value&&n[o].column(e).search(this.value).draw()}))})));var N={rowReorder:w+""=="true"&&{selector:"tr td:not(:first-child)"},colReorder:S+""=="true",fixedHeader:x+""=="true",select:k+""=="true",orderCellsTop:!0,ordering:E+""=="true",paging:C+""=="true",searching:j+""=="true",pageLength:Number(M),lengthMenu:[[10,15,30,50,100,-1],[10,15,30,50,100,b]],autoFill:T+""!="false"&&{focus:T},oLanguage:{oAria:{sSortAscending:d||"",sSortDescending:u||""},oPaginate:{sFirst:'',sLast:'',sNext:'',sPrevious:''},sEmptyTable:i||"",sInfo:r||"",sInfoEmpty:"",sInfoFiltered:"",sInfoPostFix:"",sDecimal:"",sThousands:",",sLengthMenu:"_MENU_",sLoadingRecords:a||"",sProcessing:s||"",sSearch:"",sSearchPlaceholder:l||"",sUrl:"",sZeroRecords:c||""},dom:"<'row mb-3'<'col-sm-12 col-md-6 d-flex align-items-center justify-content-start'f l><'col-sm-12 col-md-6 d-flex align-items-center justify-content-end'B>><'row'<'col-sm-12'tr>><'row'<'col-sm-12 col-md-5'i><'col-sm-12 col-md-7'p>>",buttons:[]};L+""=="true"&&N.buttons.push({extend:"colvis",text:h,titleAttr:h,className:"btn-sm btn-light"}),P+""=="true"&&N.buttons.push({extend:"collection",text:f,className:"btn-sm btn-light py-2",buttons:[{extend:"csvHtml5",text:p},{extend:"pdfHtml5",text:m},{extend:"excelHtml5",text:g},{extend:"copyHtml5",text:v},{extend:"print",text:y}]}),D+""=="true"&&(N.pageLength=15,N.order=[[2,"desc"]],N.rowGroup={dataSrc:2}),O+""=="true"?N.responsive=!0:O+""=="extended"&&(N.responsive={details:{display:e.fn.dataTable.Responsive.display.modal({header:function(e){var t=e.data();return"Details for "+t[0]+" "+t[1]}}),renderer:e.fn.dataTable.Responsive.renderer.tableAll({tableClass:"table table-responsive"})}}),"object"==typeof(A=e.SOW.helper.jsonParse(A))&&(N=e.extend({},N,A)),"object"==typeof dataTableExtend&&(N=e.extend({},N,dataTableExtend));var I=e.SOW.helper.vendorLogicPaths("datatables");""!=I.path_js&&(I.path_js=I.path_js.replace("datatables.min","pdfmake.min"),e.SOW.helper.loadScript([I.path_js],!1,!0).done((function(){n[o]=t.DataTable(N),e.SOW.vendor.datatables.clickEvents(n[o])})))}}},clickEvents:function(e){if(!t)var t=jQuery("#event_log");e.on("key",(function(e,n,o,i,r){t.prepend('
Key press  '+o+" • "+i.data()+"
")})).on("key-focus",(function(e,n,o){t.prepend('
Item click  '+o.data()+"
")})).on("key-blur",(function(e,n,o){t.prepend('
Item blur  '+o.data()+"
")}))},miscOptions:function(){var t=e.SOW.globals.elHeader.outerHeight();e("head").append('")}}}(jQuery),function(e){"use strict";var t="Vendor Prism [Code Highlighter]";e.SOW.vendor.prismjs={config:{NormalizeWhitespace:{"remove-trailing":!0,"remove-indent":!0,"left-trim":!0,"right-trim":!0,indent:0,"remove-initial-line-feed":!1,"tabs-to-spaces":2,"spaces-to-tabs":2}},collection:e(),init:function(n,o){if(""!=n&&jQuery(n).length<1)return null;if("object"!=typeof Prism){window.Prism=window.Prism||{},window.Prism.manual=!0;var i=e.SOW.helper.vendorLogicPaths("prismjs");return""==i.path_js?(e.SOW.helper.consoleLog("Vendor Missing : "+t),null):(e.SOW.helper.loadScript([i.path_js],!1,!0).done((function(){return"object"!=typeof Prism?(e.SOW.helper.consoleLog("Vendor Missing : "+t),null):(Prism.plugins.NormalizeWhitespace.setDefaults(e.SOW.vendor.prismjs.config.NormalizeWhitespace),e.SOW.vendor.prismjs.init(n,o),null)})),null)}var r=e.SOW.helper.__selector(n),a=e.SOW.helper.check_var(o);this.selector=r[0],this.collection=r[1],this.selector_orig=r[2],this.config=null!==a?e.extend({},this.config,a):this.config,e.SOW.helper.consoleLog("Init : "+t),e.SOW.vendor.prismjs.process()},process:function(){jQuery("pre.xdebug-var-dump").addClass("language-php"),"object"==typeof Prism&&setTimeout((function(){Prism.highlightAll()}),50)}}}(jQuery),function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):e.moment=t()}(this,(function(){"use strict";var e,t;function n(){return e.apply(null,arguments)}function o(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function i(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function r(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function a(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;var t;for(t in e)if(r(e,t))return!1;return!0}function s(e){return void 0===e}function l(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function c(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function d(e,t){var n,o=[],i=e.length;for(n=0;n>>0;for(t=0;t0)for(n=0;n=0?n?"+":"":"-")+Math.pow(10,Math.max(0,i)).toString().substr(1)+o}var D=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,W=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,A={},M={};function L(e,t,n,o){var i=o;"string"==typeof o&&(i=function(){return this[o]()}),e&&(M[e]=i),t&&(M[t[0]]=function(){return T(i.apply(this,arguments),t[1],t[2])}),n&&(M[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function P(e,t){return e.isValid()?(t=N(t,e.localeData()),A[t]=A[t]||function(e){var t,n,o,i=e.match(D);for(t=0,n=i.length;t=0&&W.test(e);)e=e.replace(W,o),W.lastIndex=0,n-=1;return e}var I={};function Y(e,t){var n=e.toLowerCase();I[n]=I[n+"s"]=I[t]=e}function R(e){return"string"==typeof e?I[e]||I[e.toLowerCase()]:void 0}function V(e){var t,n,o={};for(n in e)r(e,n)&&(t=R(n))&&(o[t]=e[n]);return o}var Q={};function H(e,t){Q[e]=t}function F(e){return e%4==0&&e%100!=0||e%400==0}function $(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function B(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=$(t)),n}function z(e,t){return function(o){return null!=o?(q(this,e,o),n.updateOffset(this,t),this):U(this,e)}}function U(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function q(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&F(e.year())&&1===e.month()&&29===e.date()?(n=B(n),e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),_e(n,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](n))}var G,X=/\d/,Z=/\d\d/,K=/\d{3}/,J=/\d{4}/,ee=/[+-]?\d{6}/,te=/\d\d?/,ne=/\d\d\d\d?/,oe=/\d\d\d\d\d\d?/,ie=/\d{1,3}/,re=/\d{1,4}/,ae=/[+-]?\d{1,6}/,se=/\d+/,le=/[+-]?\d+/,ce=/Z|[+-]\d\d:?\d\d/gi,de=/Z|[+-]\d\d(?::?\d\d)?/gi,ue=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i;function he(e,t,n){G[e]=j(t)?t:function(e,o){return e&&n?n:t}}function fe(e,t){return r(G,e)?G[e](t._strict,t._locale):new RegExp(pe(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(e,t,n,o,i){return t||n||o||i}))))}function pe(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}G={};var me={};function ge(e,t){var n,o,i=t;for("string"==typeof e&&(e=[e]),l(t)&&(i=function(e,n){n[t]=B(e)}),o=e.length,n=0;n68?1900:2e3)};var We=z("FullYear",!0);function Ae(e,t,n,o,i,r,a){var s;return e<100&&e>=0?(s=new Date(e+400,t,n,o,i,r,a),isFinite(s.getFullYear())&&s.setFullYear(e)):s=new Date(e,t,n,o,i,r,a),s}function Me(e){var t,n;return e<100&&e>=0?((n=Array.prototype.slice.call(arguments))[0]=e+400,t=new Date(Date.UTC.apply(null,n)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function Le(e,t,n){var o=7+t-n;return-((7+Me(e,0,o).getUTCDay()-t)%7)+o-1}function Pe(e,t,n,o,i){var r,a,s=1+7*(t-1)+(7+n-o)%7+Le(e,o,i);return s<=0?a=De(r=e-1)+s:s>De(e)?(r=e+1,a=s-De(e)):(r=e,a=s),{year:r,dayOfYear:a}}function Ne(e,t,n){var o,i,r=Le(e.year(),t,n),a=Math.floor((e.dayOfYear()-r-1)/7)+1;return a<1?o=a+Ie(i=e.year()-1,t,n):a>Ie(e.year(),t,n)?(o=a-Ie(e.year(),t,n),i=e.year()+1):(i=e.year(),o=a),{week:o,year:i}}function Ie(e,t,n){var o=Le(e,t,n),i=Le(e+1,t,n);return(De(e)-o+i)/7}L("w",["ww",2],"wo","week"),L("W",["WW",2],"Wo","isoWeek"),Y("week","w"),Y("isoWeek","W"),H("week",5),H("isoWeek",5),he("w",te),he("ww",te,Z),he("W",te),he("WW",te,Z),ve(["w","ww","W","WW"],(function(e,t,n,o){t[o.substr(0,1)]=B(e)}));function Ye(e,t){return e.slice(t,7).concat(e.slice(0,t))}L("d",0,"do","day"),L("dd",0,0,(function(e){return this.localeData().weekdaysMin(this,e)})),L("ddd",0,0,(function(e){return this.localeData().weekdaysShort(this,e)})),L("dddd",0,0,(function(e){return this.localeData().weekdays(this,e)})),L("e",0,0,"weekday"),L("E",0,0,"isoWeekday"),Y("day","d"),Y("weekday","e"),Y("isoWeekday","E"),H("day",11),H("weekday",11),H("isoWeekday",11),he("d",te),he("e",te),he("E",te),he("dd",(function(e,t){return t.weekdaysMinRegex(e)})),he("ddd",(function(e,t){return t.weekdaysShortRegex(e)})),he("dddd",(function(e,t){return t.weekdaysRegex(e)})),ve(["dd","ddd","dddd"],(function(e,t,n,o){var i=n._locale.weekdaysParse(e,o,n._strict);null!=i?t.d=i:f(n).invalidWeekday=e})),ve(["d","e","E"],(function(e,t,n,o){t[o]=B(e)}));var Re="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Ve="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Qe="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),He=ue,Fe=ue,$e=ue;function Be(e,t,n){var o,i,r,a=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],o=0;o<7;++o)r=h([2e3,1]).day(o),this._minWeekdaysParse[o]=this.weekdaysMin(r,"").toLocaleLowerCase(),this._shortWeekdaysParse[o]=this.weekdaysShort(r,"").toLocaleLowerCase(),this._weekdaysParse[o]=this.weekdays(r,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(i=be.call(this._weekdaysParse,a))?i:null:"ddd"===t?-1!==(i=be.call(this._shortWeekdaysParse,a))?i:null:-1!==(i=be.call(this._minWeekdaysParse,a))?i:null:"dddd"===t?-1!==(i=be.call(this._weekdaysParse,a))||-1!==(i=be.call(this._shortWeekdaysParse,a))||-1!==(i=be.call(this._minWeekdaysParse,a))?i:null:"ddd"===t?-1!==(i=be.call(this._shortWeekdaysParse,a))||-1!==(i=be.call(this._weekdaysParse,a))||-1!==(i=be.call(this._minWeekdaysParse,a))?i:null:-1!==(i=be.call(this._minWeekdaysParse,a))||-1!==(i=be.call(this._weekdaysParse,a))||-1!==(i=be.call(this._shortWeekdaysParse,a))?i:null}function ze(){function e(e,t){return t.length-e.length}var t,n,o,i,r,a=[],s=[],l=[],c=[];for(t=0;t<7;t++)n=h([2e3,1]).day(t),o=pe(this.weekdaysMin(n,"")),i=pe(this.weekdaysShort(n,"")),r=pe(this.weekdays(n,"")),a.push(o),s.push(i),l.push(r),c.push(o),c.push(i),c.push(r);a.sort(e),s.sort(e),l.sort(e),c.sort(e),this._weekdaysRegex=new RegExp("^("+c.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+a.join("|")+")","i")}function Ue(){return this.hours()%12||12}function qe(e,t){L(e,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)}))}function Ge(e,t){return t._meridiemParse}L("H",["HH",2],0,"hour"),L("h",["hh",2],0,Ue),L("k",["kk",2],0,(function(){return this.hours()||24})),L("hmm",0,0,(function(){return""+Ue.apply(this)+T(this.minutes(),2)})),L("hmmss",0,0,(function(){return""+Ue.apply(this)+T(this.minutes(),2)+T(this.seconds(),2)})),L("Hmm",0,0,(function(){return""+this.hours()+T(this.minutes(),2)})),L("Hmmss",0,0,(function(){return""+this.hours()+T(this.minutes(),2)+T(this.seconds(),2)})),qe("a",!0),qe("A",!1),Y("hour","h"),H("hour",13),he("a",Ge),he("A",Ge),he("H",te),he("h",te),he("k",te),he("HH",te,Z),he("hh",te,Z),he("kk",te,Z),he("hmm",ne),he("hmmss",oe),he("Hmm",ne),he("Hmmss",oe),ge(["H","HH"],3),ge(["k","kk"],(function(e,t,n){var o=B(e);t[3]=24===o?0:o})),ge(["a","A"],(function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e})),ge(["h","hh"],(function(e,t,n){t[3]=B(e),f(n).bigHour=!0})),ge("hmm",(function(e,t,n){var o=e.length-2;t[3]=B(e.substr(0,o)),t[4]=B(e.substr(o)),f(n).bigHour=!0})),ge("hmmss",(function(e,t,n){var o=e.length-4,i=e.length-2;t[3]=B(e.substr(0,o)),t[4]=B(e.substr(o,2)),t[5]=B(e.substr(i)),f(n).bigHour=!0})),ge("Hmm",(function(e,t,n){var o=e.length-2;t[3]=B(e.substr(0,o)),t[4]=B(e.substr(o))})),ge("Hmmss",(function(e,t,n){var o=e.length-4,i=e.length-2;t[3]=B(e.substr(0,o)),t[4]=B(e.substr(o,2)),t[5]=B(e.substr(i))}));var Xe=z("Hours",!0);var Ze,Ke={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:we,monthsShort:Se,week:{dow:0,doy:6},weekdays:Re,weekdaysMin:Qe,weekdaysShort:Ve,meridiemParse:/[ap]\.?m?\.?/i},Je={},et={};function tt(e,t){var n,o=Math.min(e.length,t.length);for(n=0;n0;){if(o=ot(i.slice(0,t).join("-")))return o;if(n&&n.length>=t&&tt(i,n)>=t-1)break;t--}r++}return Ze}(e)}function st(e){var t,n=e._a;return n&&-2===f(e).overflow&&(t=n[1]<0||n[1]>11?1:n[2]<1||n[2]>_e(n[0],n[1])?2:n[3]<0||n[3]>24||24===n[3]&&(0!==n[4]||0!==n[5]||0!==n[6])?3:n[4]<0||n[4]>59?4:n[5]<0||n[5]>59?5:n[6]<0||n[6]>999?6:-1,f(e)._overflowDayOfYear&&(t<0||t>2)&&(t=2),f(e)._overflowWeeks&&-1===t&&(t=7),f(e)._overflowWeekday&&-1===t&&(t=8),f(e).overflow=t),e}var lt=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,ct=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,dt=/Z|[+-]\d\d(?::?\d\d)?/,ut=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],ht=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],ft=/^\/?Date\((-?\d+)/i,pt=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,mt={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function gt(e){var t,n,o,i,r,a,s=e._i,l=lt.exec(s)||ct.exec(s),c=ut.length,d=ht.length;if(l){for(f(e).iso=!0,t=0,n=c;t7)&&(l=!0)):(r=e._locale._week.dow,a=e._locale._week.doy,c=Ne(xt(),r,a),n=bt(t.gg,e._a[0],c.year),o=bt(t.w,c.week),null!=t.d?((i=t.d)<0||i>6)&&(l=!0):null!=t.e?(i=t.e+r,(t.e<0||t.e>6)&&(l=!0)):i=r);o<1||o>Ie(n,r,a)?f(e)._overflowWeeks=!0:null!=l?f(e)._overflowWeekday=!0:(s=Pe(n,o,i,r,a),e._a[0]=s.year,e._dayOfYear=s.dayOfYear)}(e),null!=e._dayOfYear&&(a=bt(e._a[0],i[0]),(e._dayOfYear>De(a)||0===e._dayOfYear)&&(f(e)._overflowDayOfYear=!0),o=Me(a,0,e._dayOfYear),e._a[1]=o.getUTCMonth(),e._a[2]=o.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=s[t]=i[t];for(;t<7;t++)e._a[t]=s[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[3]&&0===e._a[4]&&0===e._a[5]&&0===e._a[6]&&(e._nextDay=!0,e._a[3]=0),e._d=(e._useUTC?Me:Ae).apply(null,s),r=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[3]=24),e._w&&void 0!==e._w.d&&e._w.d!==r&&(f(e).weekdayMismatch=!0)}}function wt(e){if(e._f!==n.ISO_8601)if(e._f!==n.RFC_2822){e._a=[],f(e).empty=!0;var t,o,i,r,a,s,l,c=""+e._i,d=c.length,u=0;for(l=(i=N(e._f,e._locale).match(D)||[]).length,t=0;t0&&f(e).unusedInput.push(a),c=c.slice(c.indexOf(o)+o.length),u+=o.length),M[r]?(o?f(e).empty=!1:f(e).unusedTokens.push(r),ye(r,o,e)):e._strict&&!o&&f(e).unusedTokens.push(r);f(e).charsLeftOver=d-u,c.length>0&&f(e).unusedInput.push(c),e._a[3]<=12&&!0===f(e).bigHour&&e._a[3]>0&&(f(e).bigHour=void 0),f(e).parsedDateParts=e._a.slice(0),f(e).meridiem=e._meridiem,e._a[3]=function(e,t,n){var o;if(null==n)return t;return null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?((o=e.isPM(n))&&t<12&&(t+=12),o||12!==t||(t=0),t):t}(e._locale,e._a[3],e._meridiem),null!==(s=f(e).era)&&(e._a[0]=e._locale.erasConvertYear(s,e._a[0])),_t(e),st(e)}else yt(e);else gt(e)}function St(e){var t=e._i,r=e._f;return e._locale=e._locale||at(e._l),null===t||void 0===r&&""===t?m({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),_(t)?new b(st(t)):(c(t)?e._d=t:o(r)?function(e){var t,n,o,i,r,a,s=!1,l=e._f.length;if(0===l)return f(e).invalidFormat=!0,void(e._d=new Date(NaN));for(i=0;ithis?this:e:m()}));function Ct(e,t){var n,i;if(1===t.length&&o(t[0])&&(t=t[0]),!t.length)return xt();for(n=t[0],i=1;i=0?new Date(e+400,t,n)-on:new Date(e,t,n).valueOf()}function sn(e,t,n){return e<100&&e>=0?Date.UTC(e+400,t,n)-on:Date.UTC(e,t,n)}function ln(e,t){return t.erasAbbrRegex(e)}function cn(){var e,t,n=[],o=[],i=[],r=[],a=this.eras();for(e=0,t=a.length;e(r=Ie(e,o,i))&&(t=r),hn.call(this,e,t,n,o,i))}function hn(e,t,n,o,i){var r=Pe(e,t,n,o,i),a=Me(r.year,0,r.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}L("N",0,0,"eraAbbr"),L("NN",0,0,"eraAbbr"),L("NNN",0,0,"eraAbbr"),L("NNNN",0,0,"eraName"),L("NNNNN",0,0,"eraNarrow"),L("y",["y",1],"yo","eraYear"),L("y",["yy",2],0,"eraYear"),L("y",["yyy",3],0,"eraYear"),L("y",["yyyy",4],0,"eraYear"),he("N",ln),he("NN",ln),he("NNN",ln),he("NNNN",(function(e,t){return t.erasNameRegex(e)})),he("NNNNN",(function(e,t){return t.erasNarrowRegex(e)})),ge(["N","NN","NNN","NNNN","NNNNN"],(function(e,t,n,o){var i=n._locale.erasParse(e,o,n._strict);i?f(n).era=i:f(n).invalidEra=e})),he("y",se),he("yy",se),he("yyy",se),he("yyyy",se),he("yo",(function(e,t){return t._eraYearOrdinalRegex||se})),ge(["y","yy","yyy","yyyy"],0),ge(["yo"],(function(e,t,n,o){var i;n._locale._eraYearOrdinalRegex&&(i=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[0]=n._locale.eraYearOrdinalParse(e,i):t[0]=parseInt(e,10)})),L(0,["gg",2],0,(function(){return this.weekYear()%100})),L(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),dn("gggg","weekYear"),dn("ggggg","weekYear"),dn("GGGG","isoWeekYear"),dn("GGGGG","isoWeekYear"),Y("weekYear","gg"),Y("isoWeekYear","GG"),H("weekYear",1),H("isoWeekYear",1),he("G",le),he("g",le),he("GG",te,Z),he("gg",te,Z),he("GGGG",re,J),he("gggg",re,J),he("GGGGG",ae,ee),he("ggggg",ae,ee),ve(["gggg","ggggg","GGGG","GGGGG"],(function(e,t,n,o){t[o.substr(0,2)]=B(e)})),ve(["gg","GG"],(function(e,t,o,i){t[i]=n.parseTwoDigitYear(e)})),L("Q",0,"Qo","quarter"),Y("quarter","Q"),H("quarter",7),he("Q",X),ge("Q",(function(e,t){t[1]=3*(B(e)-1)})),L("D",["DD",2],"Do","date"),Y("date","D"),H("date",9),he("D",te),he("DD",te,Z),he("Do",(function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient})),ge(["D","DD"],2),ge("Do",(function(e,t){t[2]=B(e.match(te)[0])}));var fn=z("Date",!0);L("DDD",["DDDD",3],"DDDo","dayOfYear"),Y("dayOfYear","DDD"),H("dayOfYear",4),he("DDD",ie),he("DDDD",K),ge(["DDD","DDDD"],(function(e,t,n){n._dayOfYear=B(e)})),L("m",["mm",2],0,"minute"),Y("minute","m"),H("minute",14),he("m",te),he("mm",te,Z),ge(["m","mm"],4);var pn=z("Minutes",!1);L("s",["ss",2],0,"second"),Y("second","s"),H("second",15),he("s",te),he("ss",te,Z),ge(["s","ss"],5);var mn,gn,vn=z("Seconds",!1);for(L("S",0,0,(function(){return~~(this.millisecond()/100)})),L(0,["SS",2],0,(function(){return~~(this.millisecond()/10)})),L(0,["SSS",3],0,"millisecond"),L(0,["SSSS",4],0,(function(){return 10*this.millisecond()})),L(0,["SSSSS",5],0,(function(){return 100*this.millisecond()})),L(0,["SSSSSS",6],0,(function(){return 1e3*this.millisecond()})),L(0,["SSSSSSS",7],0,(function(){return 1e4*this.millisecond()})),L(0,["SSSSSSSS",8],0,(function(){return 1e5*this.millisecond()})),L(0,["SSSSSSSSS",9],0,(function(){return 1e6*this.millisecond()})),Y("millisecond","ms"),H("millisecond",16),he("S",ie,X),he("SS",ie,Z),he("SSS",ie,K),mn="SSSS";mn.length<=9;mn+="S")he(mn,se);function yn(e,t){t[6]=B(1e3*("0."+e))}for(mn="S";mn.length<=9;mn+="S")ge(mn,yn);gn=z("Milliseconds",!1),L("z",0,0,"zoneAbbr"),L("zz",0,0,"zoneName");var bn=b.prototype;function _n(e){return e}bn.add=Bt,bn.calendar=function(e,t){1===arguments.length&&(arguments[0]?qt(arguments[0])?(e=arguments[0],t=void 0):Gt(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));var o=e||xt(),i=Pt(o,this).startOf("day"),r=n.calendarFormat(this,i)||"sameElse",a=t&&(j(t[r])?t[r].call(this,o):t[r]);return this.format(a||this.localeData().calendar(r,this,xt(o)))},bn.clone=function(){return new b(this)},bn.diff=function(e,t,n){var o,i,r;if(!this.isValid())return NaN;if(!(o=Pt(e,this)).isValid())return NaN;switch(i=6e4*(o.utcOffset()-this.utcOffset()),t=R(t)){case"year":r=Xt(this,o)/12;break;case"month":r=Xt(this,o);break;case"quarter":r=Xt(this,o)/3;break;case"second":r=(this-o)/1e3;break;case"minute":r=(this-o)/6e4;break;case"hour":r=(this-o)/36e5;break;case"day":r=(this-o-i)/864e5;break;case"week":r=(this-o-i)/6048e5;break;default:r=this-o}return n?r:$(r)},bn.endOf=function(e){var t,o;if(void 0===(e=R(e))||"millisecond"===e||!this.isValid())return this;switch(o=this._isUTC?sn:an,e){case"year":t=o(this.year()+1,0,1)-1;break;case"quarter":t=o(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=o(this.year(),this.month()+1,1)-1;break;case"week":t=o(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=o(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=o(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=nn-rn(t+(this._isUTC?0:this.utcOffset()*tn),nn)-1;break;case"minute":t=this._d.valueOf(),t+=tn-rn(t,tn)-1;break;case"second":t=this._d.valueOf(),t+=en-rn(t,en)-1}return this._d.setTime(t),n.updateOffset(this,!0),this},bn.format=function(e){e||(e=this.isUtc()?n.defaultFormatUtc:n.defaultFormat);var t=P(this,e);return this.localeData().postformat(t)},bn.from=function(e,t){return this.isValid()&&(_(e)&&e.isValid()||xt(e).isValid())?Vt({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},bn.fromNow=function(e){return this.from(xt(),e)},bn.to=function(e,t){return this.isValid()&&(_(e)&&e.isValid()||xt(e).isValid())?Vt({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},bn.toNow=function(e){return this.to(xt(),e)},bn.get=function(e){return j(this[e=R(e)])?this[e]():this},bn.invalidAt=function(){return f(this).overflow},bn.isAfter=function(e,t){var n=_(e)?e:xt(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=R(t)||"millisecond")?this.valueOf()>n.valueOf():n.valueOf()9999?P(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):j(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",P(n,"Z")):P(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},bn.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e,t,n,o="moment",i="";return this.isLocal()||(o=0===this.utcOffset()?"moment.utc":"moment.parseZone",i="Z"),e="["+o+'("]',t=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY","-MM-DD[T]HH:mm:ss.SSS",n=i+'[")]',this.format(e+t+"-MM-DD[T]HH:mm:ss.SSS"+n)},"undefined"!=typeof Symbol&&null!=Symbol.for&&(bn[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),bn.toJSON=function(){return this.isValid()?this.toISOString():null},bn.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},bn.unix=function(){return Math.floor(this.valueOf()/1e3)},bn.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},bn.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},bn.eraName=function(){var e,t,n,o=this.localeData().eras();for(e=0,t=o.length;ethis.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},bn.isLocal=function(){return!!this.isValid()&&!this._isUTC},bn.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},bn.isUtc=It,bn.isUTC=It,bn.zoneAbbr=function(){return this._isUTC?"UTC":""},bn.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},bn.dates=S("dates accessor is deprecated. Use date instead.",fn),bn.months=S("months accessor is deprecated. Use month instead",Ee),bn.years=S("years accessor is deprecated. Use year instead",We),bn.zone=S("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",(function(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()})),bn.isDSTShifted=S("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",(function(){if(!s(this._isDSTShifted))return this._isDSTShifted;var e,t={};return y(t,this),(t=St(t))._a?(e=t._isUTC?h(t._a):xt(t._a),this._isDSTShifted=this.isValid()&&function(e,t,n){var o,i=Math.min(e.length,t.length),r=Math.abs(e.length-t.length),a=0;for(o=0;o0):this._isDSTShifted=!1,this._isDSTShifted}));var wn=E.prototype;function Sn(e,t,n,o){var i=at(),r=h().set(o,t);return i[n](r,e)}function On(e,t,n){if(l(e)&&(t=e,e=void 0),e=e||"",null!=t)return Sn(e,t,n,"month");var o,i=[];for(o=0;o<12;o++)i[o]=Sn(e,o,n,"month");return i}function xn(e,t,n,o){"boolean"==typeof e?(l(t)&&(n=t,t=void 0),t=t||""):(n=t=e,e=!1,l(t)&&(n=t,t=void 0),t=t||"");var i,r=at(),a=e?r._week.dow:0,s=[];if(null!=n)return Sn(t,(n+a)%7,o,"day");for(i=0;i<7;i++)s[i]=Sn(t,(i+a)%7,o,"day");return s}wn.calendar=function(e,t,n){var o=this._calendar[e]||this._calendar.sameElse;return j(o)?o.call(t,n):o},wn.longDateFormat=function(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(D).map((function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e})).join(""),this._longDateFormat[e])},wn.invalidDate=function(){return this._invalidDate},wn.ordinal=function(e){return this._ordinal.replace("%d",e)},wn.preparse=_n,wn.postformat=_n,wn.relativeTime=function(e,t,n,o){var i=this._relativeTime[n];return j(i)?i(e,t,n,o):i.replace(/%d/i,e)},wn.pastFuture=function(e,t){var n=this._relativeTime[e>0?"future":"past"];return j(n)?n(t):n.replace(/%s/i,t)},wn.set=function(e){var t,n;for(n in e)r(e,n)&&(j(t=e[n])?this[n]=t:this["_"+n]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},wn.eras=function(e,t){var o,i,r,a=this._eras||at("en")._eras;for(o=0,i=a.length;o=0)return l[o]},wn.erasConvertYear=function(e,t){var o=e.since<=e.until?1:-1;return void 0===t?n(e.since).year():n(e.since).year()+(t-e.offset)*o},wn.erasAbbrRegex=function(e){return r(this,"_erasAbbrRegex")||cn.call(this),e?this._erasAbbrRegex:this._erasRegex},wn.erasNameRegex=function(e){return r(this,"_erasNameRegex")||cn.call(this),e?this._erasNameRegex:this._erasRegex},wn.erasNarrowRegex=function(e){return r(this,"_erasNarrowRegex")||cn.call(this),e?this._erasNarrowRegex:this._erasRegex},wn.months=function(e,t){return e?o(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||Oe).test(t)?"format":"standalone"][e.month()]:o(this._months)?this._months:this._months.standalone},wn.monthsShort=function(e,t){return e?o(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[Oe.test(t)?"format":"standalone"][e.month()]:o(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},wn.monthsParse=function(e,t,n){var o,i,r;if(this._monthsParseExact)return je.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),o=0;o<12;o++){if(i=h([2e3,o]),n&&!this._longMonthsParse[o]&&(this._longMonthsParse[o]=new RegExp("^"+this.months(i,"").replace(".","")+"$","i"),this._shortMonthsParse[o]=new RegExp("^"+this.monthsShort(i,"").replace(".","")+"$","i")),n||this._monthsParse[o]||(r="^"+this.months(i,"")+"|^"+this.monthsShort(i,""),this._monthsParse[o]=new RegExp(r.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[o].test(e))return o;if(n&&"MMM"===t&&this._shortMonthsParse[o].test(e))return o;if(!n&&this._monthsParse[o].test(e))return o}},wn.monthsRegex=function(e){return this._monthsParseExact?(r(this,"_monthsRegex")||Te.call(this),e?this._monthsStrictRegex:this._monthsRegex):(r(this,"_monthsRegex")||(this._monthsRegex=ke),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},wn.monthsShortRegex=function(e){return this._monthsParseExact?(r(this,"_monthsRegex")||Te.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(r(this,"_monthsShortRegex")||(this._monthsShortRegex=xe),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},wn.week=function(e){return Ne(e,this._week.dow,this._week.doy).week},wn.firstDayOfYear=function(){return this._week.doy},wn.firstDayOfWeek=function(){return this._week.dow},wn.weekdays=function(e,t){var n=o(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"];return!0===e?Ye(n,this._week.dow):e?n[e.day()]:n},wn.weekdaysMin=function(e){return!0===e?Ye(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},wn.weekdaysShort=function(e){return!0===e?Ye(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},wn.weekdaysParse=function(e,t,n){var o,i,r;if(this._weekdaysParseExact)return Be.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),o=0;o<7;o++){if(i=h([2e3,1]).day(o),n&&!this._fullWeekdaysParse[o]&&(this._fullWeekdaysParse[o]=new RegExp("^"+this.weekdays(i,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[o]=new RegExp("^"+this.weekdaysShort(i,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[o]=new RegExp("^"+this.weekdaysMin(i,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[o]||(r="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[o]=new RegExp(r.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[o].test(e))return o;if(n&&"ddd"===t&&this._shortWeekdaysParse[o].test(e))return o;if(n&&"dd"===t&&this._minWeekdaysParse[o].test(e))return o;if(!n&&this._weekdaysParse[o].test(e))return o}},wn.weekdaysRegex=function(e){return this._weekdaysParseExact?(r(this,"_weekdaysRegex")||ze.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(r(this,"_weekdaysRegex")||(this._weekdaysRegex=He),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},wn.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(r(this,"_weekdaysRegex")||ze.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(r(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Fe),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},wn.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(r(this,"_weekdaysRegex")||ze.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(r(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=$e),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},wn.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},wn.meridiem=function(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"},it("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===B(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),n.lang=S("moment.lang is deprecated. Use moment.locale instead.",it),n.langData=S("moment.langData is deprecated. Use moment.localeData instead.",at);var kn=Math.abs;function jn(e,t,n,o){var i=Vt(t,n);return e._milliseconds+=o*i._milliseconds,e._days+=o*i._days,e._months+=o*i._months,e._bubble()}function Cn(e){return e<0?Math.floor(e):Math.ceil(e)}function En(e){return 4800*e/146097}function Tn(e){return 146097*e/4800}function Dn(e){return function(){return this.as(e)}}var Wn=Dn("ms"),An=Dn("s"),Mn=Dn("m"),Ln=Dn("h"),Pn=Dn("d"),Nn=Dn("w"),In=Dn("M"),Yn=Dn("Q"),Rn=Dn("y");function Vn(e){return function(){return this.isValid()?this._data[e]:NaN}}var Qn=Vn("milliseconds"),Hn=Vn("seconds"),Fn=Vn("minutes"),$n=Vn("hours"),Bn=Vn("days"),zn=Vn("months"),Un=Vn("years");var qn=Math.round,Gn={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Xn(e,t,n,o,i){return i.relativeTime(t||1,!!n,e,o)}var Zn=Math.abs;function Kn(e){return(e>0)-(e<0)||+e}function Jn(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n,o,i,r,a,s,l=Zn(this._milliseconds)/1e3,c=Zn(this._days),d=Zn(this._months),u=this.asSeconds();return u?(e=$(l/60),t=$(e/60),l%=60,e%=60,n=$(d/12),d%=12,o=l?l.toFixed(3).replace(/\.?0+$/,""):"",i=u<0?"-":"",r=Kn(this._months)!==Kn(u)?"-":"",a=Kn(this._days)!==Kn(u)?"-":"",s=Kn(this._milliseconds)!==Kn(u)?"-":"",i+"P"+(n?r+n+"Y":"")+(d?r+d+"M":"")+(c?a+c+"D":"")+(t||e||l?"T":"")+(t?s+t+"H":"")+(e?s+e+"M":"")+(l?s+o+"S":"")):"P0D"}var eo=Tt.prototype;return eo.isValid=function(){return this._isValid},eo.abs=function(){var e=this._data;return this._milliseconds=kn(this._milliseconds),this._days=kn(this._days),this._months=kn(this._months),e.milliseconds=kn(e.milliseconds),e.seconds=kn(e.seconds),e.minutes=kn(e.minutes),e.hours=kn(e.hours),e.months=kn(e.months),e.years=kn(e.years),this},eo.add=function(e,t){return jn(this,e,t,1)},eo.subtract=function(e,t){return jn(this,e,t,-1)},eo.as=function(e){if(!this.isValid())return NaN;var t,n,o=this._milliseconds;if("month"===(e=R(e))||"quarter"===e||"year"===e)switch(t=this._days+o/864e5,n=this._months+En(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(Tn(this._months)),e){case"week":return t/7+o/6048e5;case"day":return t+o/864e5;case"hour":return 24*t+o/36e5;case"minute":return 1440*t+o/6e4;case"second":return 86400*t+o/1e3;case"millisecond":return Math.floor(864e5*t)+o;default:throw new Error("Unknown unit "+e)}},eo.asMilliseconds=Wn,eo.asSeconds=An,eo.asMinutes=Mn,eo.asHours=Ln,eo.asDays=Pn,eo.asWeeks=Nn,eo.asMonths=In,eo.asQuarters=Yn,eo.asYears=Rn,eo.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*B(this._months/12):NaN},eo._bubble=function(){var e,t,n,o,i,r=this._milliseconds,a=this._days,s=this._months,l=this._data;return r>=0&&a>=0&&s>=0||r<=0&&a<=0&&s<=0||(r+=864e5*Cn(Tn(s)+a),a=0,s=0),l.milliseconds=r%1e3,e=$(r/1e3),l.seconds=e%60,t=$(e/60),l.minutes=t%60,n=$(t/60),l.hours=n%24,a+=$(n/24),s+=i=$(En(a)),a-=Cn(Tn(i)),o=$(s/12),s%=12,l.days=a,l.months=s,l.years=o,this},eo.clone=function(){return Vt(this)},eo.get=function(e){return e=R(e),this.isValid()?this[e+"s"]():NaN},eo.milliseconds=Qn,eo.seconds=Hn,eo.minutes=Fn,eo.hours=$n,eo.days=Bn,eo.weeks=function(){return $(this.days()/7)},eo.months=zn,eo.years=Un,eo.humanize=function(e,t){if(!this.isValid())return this.localeData().invalidDate();var n,o,i=!1,r=Gn;return"object"==typeof e&&(t=e,e=!1),"boolean"==typeof e&&(i=e),"object"==typeof t&&(r=Object.assign({},Gn,t),null!=t.s&&null==t.ss&&(r.ss=t.s-1)),o=function(e,t,n,o){var i=Vt(e).abs(),r=qn(i.as("s")),a=qn(i.as("m")),s=qn(i.as("h")),l=qn(i.as("d")),c=qn(i.as("M")),d=qn(i.as("w")),u=qn(i.as("y")),h=r<=n.ss&&["s",r]||r0,h[4]=o,Xn.apply(null,h)}(this,!i,r,n=this.localeData()),i&&(o=n.pastFuture(+this,o)),n.postformat(o)},eo.toISOString=Jn,eo.toString=Jn,eo.toJSON=Jn,eo.locale=Zt,eo.localeData=Jt,eo.toIsoString=S("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Jn),eo.lang=Kt,L("X",0,0,"unix"),L("x",0,0,"valueOf"),he("x",le),he("X",/[+-]?\d+(\.\d{1,3})?/),ge("X",(function(e,t,n){n._d=new Date(1e3*parseFloat(e))})),ge("x",(function(e,t,n){n._d=new Date(B(e))})),n.version="2.29.4",e=xt,n.fn=bn,n.min=function(){var e=[].slice.call(arguments,0);return Ct("isBefore",e)},n.max=function(){var e=[].slice.call(arguments,0);return Ct("isAfter",e)},n.now=function(){return Date.now?Date.now():+new Date},n.utc=h,n.unix=function(e){return xt(1e3*e)},n.months=function(e,t){return On(e,t,"months")},n.isDate=c,n.locale=it,n.invalid=m,n.duration=Vt,n.isMoment=_,n.weekdays=function(e,t,n){return xn(e,t,n,"weekdays")},n.parseZone=function(){return xt.apply(null,arguments).parseZone()},n.localeData=at,n.isDuration=Dt,n.monthsShort=function(e,t){return On(e,t,"monthsShort")},n.weekdaysMin=function(e,t,n){return xn(e,t,n,"weekdaysMin")},n.defineLocale=rt,n.updateLocale=function(e,t){if(null!=t){var n,o,i=Ke;null!=Je[e]&&null!=Je[e].parentLocale?Je[e].set(C(Je[e]._config,t)):(null!=(o=ot(e))&&(i=o._config),t=C(i,t),null==o&&(t.abbr=e),(n=new E(t)).parentLocale=Je[e],Je[e]=n),it(e)}else null!=Je[e]&&(null!=Je[e].parentLocale?(Je[e]=Je[e].parentLocale,e===it()&&it(e)):null!=Je[e]&&delete Je[e]);return Je[e]},n.locales=function(){return O(Je)},n.weekdaysShort=function(e,t,n){return xn(e,t,n,"weekdaysShort")},n.normalizeUnits=R,n.relativeTimeRounding=function(e){return void 0===e?qn:"function"==typeof e&&(qn=e,!0)},n.relativeTimeThreshold=function(e,t){return void 0!==Gn[e]&&(void 0===t?Gn[e]:(Gn[e]=t,"s"===e&&(Gn.ss=t-1),!0))},n.calendarFormat=function(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"},n.prototype=bn,n.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},n})),function(e,t){if("function"==typeof define&&define.amd)define([],t);else if("undefined"!=typeof exports)t();else{t(),e.FileSaver={}}}(this,(function(){"use strict";var e="object"==typeof window&&window.window===window?window:"object"==typeof self&&self.self===self?self:"object"==typeof global&&global.global===global?global:void 0;function t(e,t,n){var o=new XMLHttpRequest;o.open("GET",e),o.responseType="blob",o.onload=function(){r(o.response,t,n)},o.onerror=function(){console.error("could not download file")},o.send()}function n(e){var t=new XMLHttpRequest;t.open("HEAD",e,!1);try{t.send()}catch(e){}return t.status>=200&&t.status<=299}function o(e){try{e.dispatchEvent(new MouseEvent("click"))}catch(n){var t=document.createEvent("MouseEvents");t.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),e.dispatchEvent(t)}}var i=e.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),r=e.saveAs||("object"!=typeof window||window!==e?function(){}:"download"in HTMLAnchorElement.prototype&&!i?function(i,r,a){var s=e.URL||e.webkitURL,l=document.createElement("a");r=r||i.name||"download",l.download=r,l.rel="noopener","string"==typeof i?(l.href=i,l.origin!==location.origin?n(l.href)?t(i,r,a):o(l,l.target="_blank"):o(l)):(l.href=s.createObjectURL(i),setTimeout((function(){s.revokeObjectURL(l.href)}),4e4),setTimeout((function(){o(l)}),0))}:"msSaveOrOpenBlob"in navigator?function(e,i,r){if(i=i||e.name||"download","string"==typeof e)if(n(e))t(e,i,r);else{var a=document.createElement("a");a.href=e,a.target="_blank",setTimeout((function(){o(a)}))}else navigator.msSaveOrOpenBlob(function(e,t){return void 0===t?t={autoBom:!1}:"object"!=typeof t&&(console.warn("Deprecated: Expected third argument to be a object"),t={autoBom:!t}),t.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(e.type)?new Blob([String.fromCharCode(65279),e],{type:e.type}):e}(e,r),i)}:function(n,o,r,a){if((a=a||open("","_blank"))&&(a.document.title=a.document.body.innerText="downloading..."),"string"==typeof n)return t(n,o,r);var s="application/octet-stream"===n.type,l=/constructor/i.test(e.HTMLElement)||e.safari,c=/CriOS\/[\d]+/.test(navigator.userAgent);if((c||s&&l||i)&&"undefined"!=typeof FileReader){var d=new FileReader;d.onloadend=function(){var e=d.result;e=c?e:e.replace(/^data:[^;]*;/,"data:attachment/file;"),a?a.location.href=e:location=e,a=null},d.readAsDataURL(n)}else{var u=e.URL||e.webkitURL,h=u.createObjectURL(n);a?a.location=h:location.href=h,a=null,setTimeout((function(){u.revokeObjectURL(h)}),4e4)}});e.saveAs=r.saveAs=r,"undefined"!=typeof module&&(module.exports=r)})),$.SOW.config["vendor:external_css"]||($.SOW.config["vendor:external_css"]=[]),$.SOW.config["vendor:external_css"].vendor=["flickity","fancybox","cocoen","photoswipe","swiper","leaflet","fullcalendar","datepicker","daterangepicker","colorpicker","flot","chartjs","mediumeditor","markdowneditor","summernoteeditor","quilleditor","datatables","prismjs"],$.SOW.config.autoinit.jarallax=["$.SOW.vendor.jarallax.init",".jarallax",null,!0],$.SOW.config.autoinit.sticky_kit=["$.SOW.vendor.sticky_kit.init",".sticky-kit",null,!0],$.SOW.config.autoinit.sortable=["$.SOW.vendor.sortable.init",".sortable",null,!0],$.SOW.config.autoinit.typed=["$.SOW.vendor.typed.init",".typed",null,!0],$.SOW.config.autoinit.flickity=["$.SOW.vendor.flickity.init","div[data-flickity]",null,!0],$.SOW.config.autoinit.fancybox=["$.SOW.vendor.fancybox.init","a.fancybox",null,!0],$.SOW.config.autoinit.cocoen=["$.SOW.vendor.cocoen.init","figure.cocoen",null,!0],$.SOW.config.autoinit.photoswipe=["$.SOW.vendor.photoswipe.init","a.photoswipe",{showHideOpacity:!1,history:!1,captionEl:!1,shareEl:!1,tapToClose:!1,tapToToggleControls:!1,escKey:!0,barsSize:{top:0,bottom:0}},!0],$.SOW.config.autoinit.swiper=["$.SOW.vendor.swiper.init",".swiper-container",null,!0],$.SOW.config.autoinit.leaflet=["$.SOW.vendor.leaflet.init",".map-leaflet",null,!0],$.SOW.config.autoinit.aos=["$.SOW.vendor.aos.init","null",null,!0],$.SOW.config.autoinit.slimscroll=["$.SOW.vendor.slimscroll.init",".slimscroll",{height:"100%",color:"#444",size:"3px",railColor:"#ccc",railOpacity:.5,alwaysVisible:!1,railVisible:!0,distance:"0",wheelStep:10,allowPageScroll:!1,disableFadeOut:!1},!0],$.SOW.config.autoinit.nestable=["$.SOW.vendor.nestable.init",".nestable",null,!0],$.SOW.config.autoinit.fullcalendar=["$.SOW.vendor.fullcalendar.init",".fullcalendar",{plugins:["interaction","dayGrid","timeGrid","list","bootstrap","googleCalendar"],editable:!0,eventLimit:!0,locale:"en",themeSystem:"bootstrap",defaultView:"dayGridMonth",defaultDate:"2022-10-20T19:54:06.978Z",timeZone:"UTC",header:{left:"prev,next today, addEventButton",center:"title",right:"dayGridMonth,timeGridWeek,timeGridDay,listWeek"},buttonText:{today:"today",month:"month",week:"week",day:"day",list:"list"},eventTimeFormat:{hour:"numeric",minute:"2-digit",meridiem:"short"}},!0],$.SOW.config.autoinit.datepicker=["$.SOW.vendor.datepicker.init",".datepicker",null,!0],$.SOW.config.autoinit.daterangepicker=["$.SOW.vendor.daterangepicker.init",".rangepicker",null,!0],$.SOW.config.autoinit.colorpicker=["$.SOW.vendor.colorpicker.init",".colorpicker",{classic:{swatches:["rgba(244, 67, 54, 1)","rgba(233, 30, 99, 0.95)","rgba(156, 39, 176, 0.9)","rgba(103, 58, 183, 0.85)","rgba(63, 81, 181, 0.8)","rgba(33, 150, 243, 0.75)","rgba(3, 169, 244, 0.7)","rgba(0, 188, 212, 0.7)","rgba(0, 150, 136, 0.75)","rgba(76, 175, 80, 0.8)","rgba(139, 195, 74, 0.85)","rgba(205, 220, 57, 0.9)","rgba(255, 235, 59, 0.95)","rgba(255, 193, 7, 1)"]},monolith:{swatches:["rgba(244, 67, 54, 1)","rgba(233, 30, 99, 0.95)","rgba(156, 39, 176, 0.9)","rgba(103, 58, 183, 0.85)","rgba(63, 81, 181, 0.8)","rgba(33, 150, 243, 0.75)","rgba(3, 169, 244, 0.7)"]},nano:{swatches:["rgba(244, 67, 54, 1)","rgba(233, 30, 99, 0.95)","rgba(156, 39, 176, 0.9)","rgba(103, 58, 183, 0.85)","rgba(63, 81, 181, 0.8)","rgba(33, 150, 243, 0.75)","rgba(3, 169, 244, 0.7)"]},interaction:{hex:!0,rgba:!0,hsla:!1,hsva:!1,cmyk:!1,input:!0,clear:!0,save:!0}},!0],$.SOW.config.autoinit.flot=["$.SOW.vendor.flot.init",".flot-chart",null,!0],$.SOW.config.autoinit.easypie=["$.SOW.vendor.easypie.init",".easypie",null,!0],$.SOW.config.autoinit.chartjs=["$.SOW.vendor.chartjs.init",".chartjs",null,!0],$.SOW.config.autoinit.mediumeditor=["$.SOW.vendor.mediumeditor.init",".medium-editor",null,!0],$.SOW.config.autoinit.markdowneditor=["$.SOW.vendor.markdowneditor.init",".markdown-editor",null,!0],$.SOW.config.autoinit.summernoteeditor=["$.SOW.vendor.summernoteeditor.init",".summernote-editor",null,!0],$.SOW.config.autoinit.quilleditor=["$.SOW.vendor.quilleditor.init",".quill-editor",null,!0],$.SOW.config.autoinit.datatables=["$.SOW.vendor.datatables.init",".table-datatable",null,!0],$.SOW.config.autoinit.prismjs=["$.SOW.vendor.prismjs.init","pre",null,!0],$.SOW.config["vendor:external_js"]||($.SOW.config["vendor:external_js"]=[]),$.SOW.config["vendor:external_js"].vendor=["flickity","fancybox","cocoen","photoswipe","swiper","leaflet","fullcalendar","datepicker","daterangepicker","colorpicker","flot","easypie","chartjs","mediumeditor","markdowneditor","summernoteeditor","quilleditor","datatables","prismjs","pdfmake"];