phcthemes_admin_panel_pack 5.0.0 → 5.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (129) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/javascripts/smarty/core.js +28154 -0
  3. data/app/assets/javascripts/smarty/core.min.js +2 -0
  4. data/app/assets/javascripts/smarty/core.sow_builder.js +84 -0
  5. data/app/assets/javascripts/smarty/core.sow_builder.min.js +1 -0
  6. data/app/assets/javascripts/smarty/phcthemes_admin_panel_pack_smarty.js +3 -0
  7. data/app/assets/javascripts/smarty/vendor.chartjs.js +20776 -0
  8. data/app/assets/javascripts/smarty/vendor.chartjs.min.js +1 -0
  9. data/app/assets/javascripts/smarty/vendor.cocoen.js +1 -0
  10. data/app/assets/javascripts/smarty/vendor.cocoen.min.js +1 -0
  11. data/app/assets/javascripts/smarty/vendor.colorpicker.js +3 -0
  12. data/app/assets/javascripts/smarty/vendor.colorpicker.min.js +1 -0
  13. data/app/assets/javascripts/smarty/vendor.datatables.js +42928 -0
  14. data/app/assets/javascripts/smarty/vendor.datatables.min.js +1 -0
  15. data/app/assets/javascripts/smarty/vendor.datepicker.js +2039 -0
  16. data/app/assets/javascripts/smarty/vendor.datepicker.min.js +1 -0
  17. data/app/assets/javascripts/smarty/vendor.daterangepicker.js +1578 -0
  18. data/app/assets/javascripts/smarty/vendor.daterangepicker.min.js +1 -0
  19. data/app/assets/javascripts/smarty/vendor.easypie.js +364 -0
  20. data/app/assets/javascripts/smarty/vendor.easypie.min.js +1 -0
  21. data/app/assets/javascripts/smarty/vendor.fancybox.js +5632 -0
  22. data/app/assets/javascripts/smarty/vendor.fancybox.min.js +1 -0
  23. data/app/assets/javascripts/smarty/vendor.flickity.js +4597 -0
  24. data/app/assets/javascripts/smarty/vendor.flickity.min.js +1 -0
  25. data/app/assets/javascripts/smarty/vendor.flot.js +11921 -0
  26. data/app/assets/javascripts/smarty/vendor.flot.min.js +1 -0
  27. data/app/assets/javascripts/smarty/vendor.fullcalendar.js +14597 -0
  28. data/app/assets/javascripts/smarty/vendor.fullcalendar.min.js +1 -0
  29. data/app/assets/javascripts/smarty/vendor.leaflet.js +6 -0
  30. data/app/assets/javascripts/smarty/vendor.leaflet.min.js +1 -0
  31. data/app/assets/javascripts/smarty/vendor.markdowneditor.js +7 -0
  32. data/app/assets/javascripts/smarty/vendor.markdowneditor.min.js +1 -0
  33. data/app/assets/javascripts/smarty/vendor.mediumeditor.js +7893 -0
  34. data/app/assets/javascripts/smarty/vendor.mediumeditor.min.js +1 -0
  35. data/app/assets/javascripts/smarty/vendor.pdfmake.js +79493 -0
  36. data/app/assets/javascripts/smarty/vendor.pdfmake.min.js +1 -0
  37. data/app/assets/javascripts/smarty/vendor.photoswipe.js +4595 -0
  38. data/app/assets/javascripts/smarty/vendor.photoswipe.min.js +1 -0
  39. data/app/assets/javascripts/smarty/vendor.prismjs.js +7219 -0
  40. data/app/assets/javascripts/smarty/vendor.prismjs.min.js +1 -0
  41. data/app/assets/javascripts/smarty/vendor.quilleditor.js +11562 -0
  42. data/app/assets/javascripts/smarty/vendor.quilleditor.min.js +1 -0
  43. data/app/assets/javascripts/smarty/vendor.sparkline.js +3068 -0
  44. data/app/assets/javascripts/smarty/vendor.sparkline.min.js +1 -0
  45. data/app/assets/javascripts/smarty/vendor.summernoteeditor.js +10235 -0
  46. data/app/assets/javascripts/smarty/vendor.summernoteeditor.min.js +1 -0
  47. data/app/assets/javascripts/smarty/vendor.swiper.js +9899 -0
  48. data/app/assets/javascripts/smarty/vendor.swiper.min.js +1 -0
  49. data/app/assets/javascripts/smarty/vendor_bundle.js +30514 -0
  50. data/app/assets/javascripts/smarty/vendor_bundle.min.js +2 -0
  51. data/app/assets/stylesheets/smarty/default/phcthemes_admin_panel_pack_smarty.scss +7 -0
  52. data/app/assets/stylesheets/smarty/theme/css/core.css +20170 -0
  53. data/app/assets/stylesheets/smarty/theme/css/core.min.css +2 -0
  54. data/app/assets/stylesheets/smarty/theme/css/vendor.chartjs.css +55 -0
  55. data/app/assets/stylesheets/smarty/theme/css/vendor.chartjs.min.css +1 -0
  56. data/app/assets/stylesheets/smarty/theme/css/vendor.cocoen.css +59 -0
  57. data/app/assets/stylesheets/smarty/theme/css/vendor.cocoen.min.css +1 -0
  58. data/app/assets/stylesheets/smarty/theme/css/vendor.colorpicker.css +1196 -0
  59. data/app/assets/stylesheets/smarty/theme/css/vendor.colorpicker.min.css +1 -0
  60. data/app/assets/stylesheets/smarty/theme/css/vendor.datatables.css +1258 -0
  61. data/app/assets/stylesheets/smarty/theme/css/vendor.datatables.min.css +1 -0
  62. data/app/assets/stylesheets/smarty/theme/css/vendor.datepicker.css +173 -0
  63. data/app/assets/stylesheets/smarty/theme/css/vendor.datepicker.min.css +1 -0
  64. data/app/assets/stylesheets/smarty/theme/css/vendor.daterangepicker.css +545 -0
  65. data/app/assets/stylesheets/smarty/theme/css/vendor.daterangepicker.min.css +1 -0
  66. data/app/assets/stylesheets/smarty/theme/css/vendor.fancybox.css +927 -0
  67. data/app/assets/stylesheets/smarty/theme/css/vendor.fancybox.min.css +1 -0
  68. data/app/assets/stylesheets/smarty/theme/css/vendor.flickity.css +263 -0
  69. data/app/assets/stylesheets/smarty/theme/css/vendor.flickity.min.css +1 -0
  70. data/app/assets/stylesheets/smarty/theme/css/vendor.flot.css +17 -0
  71. data/app/assets/stylesheets/smarty/theme/css/vendor.flot.min.css +1 -0
  72. data/app/assets/stylesheets/smarty/theme/css/vendor.fullcalendar.css +1685 -0
  73. data/app/assets/stylesheets/smarty/theme/css/vendor.fullcalendar.min.css +1 -0
  74. data/app/assets/stylesheets/smarty/theme/css/vendor.leaflet.css +653 -0
  75. data/app/assets/stylesheets/smarty/theme/css/vendor.leaflet.min.css +1 -0
  76. data/app/assets/stylesheets/smarty/theme/css/vendor.markdowneditor.css +7 -0
  77. data/app/assets/stylesheets/smarty/theme/css/vendor.markdowneditor.min.css +1 -0
  78. data/app/assets/stylesheets/smarty/theme/css/vendor.mediumeditor.css +308 -0
  79. data/app/assets/stylesheets/smarty/theme/css/vendor.mediumeditor.min.css +1 -0
  80. data/app/assets/stylesheets/smarty/theme/css/vendor.photoswipe.css +436 -0
  81. data/app/assets/stylesheets/smarty/theme/css/vendor.photoswipe.min.css +1 -0
  82. data/app/assets/stylesheets/smarty/theme/css/vendor.prismjs.css +364 -0
  83. data/app/assets/stylesheets/smarty/theme/css/vendor.prismjs.min.css +1 -0
  84. data/app/assets/stylesheets/smarty/theme/css/vendor.quilleditor.css +953 -0
  85. data/app/assets/stylesheets/smarty/theme/css/vendor.quilleditor.min.css +1 -0
  86. data/app/assets/stylesheets/smarty/theme/css/vendor.summernoteeditor.css +710 -0
  87. data/app/assets/stylesheets/smarty/theme/css/vendor.summernoteeditor.min.css +1 -0
  88. data/app/assets/stylesheets/smarty/theme/css/vendor.swiper.css +762 -0
  89. data/app/assets/stylesheets/smarty/theme/css/vendor.swiper.min.css +1 -0
  90. data/app/assets/stylesheets/smarty/theme/css/vendor_bundle.css +168 -0
  91. data/app/assets/stylesheets/smarty/theme/css/vendor_bundle.min.css +2 -0
  92. data/app/assets/stylesheets/smarty/theme/fonts/flaticon/Flaticon.eot +0 -0
  93. data/app/assets/stylesheets/smarty/theme/fonts/flaticon/Flaticon.svg +250 -0
  94. data/app/assets/stylesheets/smarty/theme/fonts/flaticon/Flaticon.ttf +0 -0
  95. data/app/assets/stylesheets/smarty/theme/fonts/flaticon/Flaticon.woff +0 -0
  96. data/app/assets/stylesheets/smarty/theme/fonts/flaticon/Flaticon.woff2 +0 -0
  97. data/app/assets/stylesheets/smarty/theme/fonts/summernote.eot +0 -0
  98. data/app/assets/stylesheets/smarty/theme/fonts/summernote.hash +1 -0
  99. data/app/assets/stylesheets/smarty/theme/fonts/summernote.ttf +0 -0
  100. data/app/assets/stylesheets/smarty/theme/fonts/summernote.woff +0 -0
  101. data/app/assets/stylesheets/smarty/theme/fonts/summernote.woff2 +0 -0
  102. data/app/assets/stylesheets/smarty/theme/images/credit_card/2co.svg +1 -0
  103. data/app/assets/stylesheets/smarty/theme/images/credit_card/amazon.svg +1 -0
  104. data/app/assets/stylesheets/smarty/theme/images/credit_card/amazon_pay_logo.svg +1 -0
  105. data/app/assets/stylesheets/smarty/theme/images/credit_card/american_express.svg +1 -0
  106. data/app/assets/stylesheets/smarty/theme/images/credit_card/apple_pay.svg +1 -0
  107. data/app/assets/stylesheets/smarty/theme/images/credit_card/bitcoin.svg +1 -0
  108. data/app/assets/stylesheets/smarty/theme/images/credit_card/dinners_club.svg +1 -0
  109. data/app/assets/stylesheets/smarty/theme/images/credit_card/discover.svg +1 -0
  110. data/app/assets/stylesheets/smarty/theme/images/credit_card/ebay.svg +1 -0
  111. data/app/assets/stylesheets/smarty/theme/images/credit_card/jcb.svg +1 -0
  112. data/app/assets/stylesheets/smarty/theme/images/credit_card/mastercard.svg +1 -0
  113. data/app/assets/stylesheets/smarty/theme/images/credit_card/paypal.svg +1 -0
  114. data/app/assets/stylesheets/smarty/theme/images/credit_card/paypal_logo.svg +1 -0
  115. data/app/assets/stylesheets/smarty/theme/images/credit_card/shopify.svg +1 -0
  116. data/app/assets/stylesheets/smarty/theme/images/credit_card/skrill.svg +1 -0
  117. data/app/assets/stylesheets/smarty/theme/images/credit_card/switch.svg +1 -0
  118. data/app/assets/stylesheets/smarty/theme/images/credit_card/visa.svg +1 -0
  119. data/app/assets/stylesheets/smarty/theme/images/credit_card/western_union.svg +1 -0
  120. data/app/assets/stylesheets/smarty/theme/images/flags.png +0 -0
  121. data/app/assets/stylesheets/smarty/theme/images/logo/logo_dark.svg +2 -0
  122. data/app/assets/stylesheets/smarty/theme/images/logo/logo_light.svg +2 -0
  123. data/app/assets/stylesheets/smarty/theme/images/logo/logo_sm.svg +1 -0
  124. data/app/assets/stylesheets/smarty/theme/images/manifest/icon_192x192.png +0 -0
  125. data/app/assets/stylesheets/smarty/theme/images/manifest/icon_512x512.png +0 -0
  126. data/app/assets/stylesheets/smarty/theme/images/manifest/manifest.json +20 -0
  127. data/app/assets/stylesheets/smarty/theme/images/masks/shape-line-lense.svg +1 -0
  128. data/lib/phcthemes_admin_panel_pack/version.rb +1 -1
  129. metadata +128 -2
@@ -0,0 +1,2 @@
1
+ /*! Vendors v5.0.0 */
2
+ !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))},a=e=>!(!e||"object"!=typeof e)&&(void 0!==e.jquery&&(e=e[0]),void 0!==e.nodeType),r=e=>a(e)?e.jquery?e[0]:e:"string"==typeof e&&e.length>0?document.querySelector(e):null,s=(e,t,n)=>{Object.keys(n).forEach((o=>{const i=n[o],r=t[o],s=r&&a(r)?"element":null==(l=r)?`${l}`:{}.toString.call(l).match(/\s([a-z]+)/i)[1].toLowerCase();var l;if(!new RegExp(i).test(s))throw new TypeError(`${e.toUpperCase()}: Option "${o}" provided type "${s}" but expected type "${i}".`)}))},l=e=>!(!a(e)||0===e.getClientRects().length)&&"visible"===getComputedStyle(e).getPropertyValue("visibility"),c=e=>!e||e.nodeType!==Node.ELEMENT_NODE||(!!e.classList.contains("disabled")||(void 0!==e.disabled?e.disabled:e.hasAttribute("disabled")&&"false"!==e.getAttribute("disabled"))),d=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?d(e.parentNode):null},u=()=>{},h=e=>{e.offsetHeight},f=()=>{const{jQuery:e}=window;return e&&!document.body.hasAttribute("data-bs-no-jquery")?e:null},p=[],m=()=>"rtl"===document.documentElement.dir,g=e=>{var t;t=()=>{const t=f();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?(p.length||document.addEventListener("DOMContentLoaded",(()=>{p.forEach((e=>e()))})),p.push(t)):t()},v=e=>{"function"==typeof e&&e()},y=(t,n,o=!0)=>{if(!o)return void v(t);const a=(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 r=!1;const s=({target:o})=>{o===n&&(r=!0,n.removeEventListener(e,s),v(t))};n.addEventListener(e,s),setTimeout((()=>{r||i(n)}),a)},b=(e,t,n,o)=>{let i=e.indexOf(t);if(-1===i)return e[!n&&o?e.length-1:0];const a=e.length;return i+=n?1:-1,o&&(i=(i+a)%a),e[Math.max(0,Math.min(i,a-1))]},_=/[^.]*(?=\..*)\.|.*/,w=/\..*/,S=/::\d+$/,O={};let x=1;const k={mouseenter:"mouseover",mouseleave:"mouseout"},j=/^(mouseenter|mouseleave)/i,E=new Set(["click","dblclick","mouseup","mousedown","contextmenu","mousewheel","DOMMouseScroll","mouseover","mouseout","mousemove","selectstart","selectend","keydown","keypress","keyup","orientationchange","touchstart","touchmove","touchend","touchcancel","pointerdown","pointermove","pointerup","pointerleave","pointercancel","gesturestart","gesturechange","gestureend","focus","blur","change","reset","select","submit","focusin","focusout","load","unload","beforeunload","resize","move","DOMContentLoaded","readystatechange","error","abort","scroll"]);function C(e,t){return t&&`${t}::${x++}`||e.uidEvent||x++}function D(e){const t=C(e);return e.uidEvent=t,O[t]=O[t]||{},O[t]}function T(e,t,n=null){const o=Object.keys(e);for(let i=0,a=o.length;i<a;i++){const a=e[o[i]];if(a.originalHandler===t&&a.delegationSelector===n)return a}return null}function W(e,t,n){const o="string"==typeof t,i=o?n:t;let a=L(e);return E.has(a)||(a=e),[o,i,a]}function A(e,t,n,o,i){if("string"!=typeof t||!e)return;if(n||(n=o,o=null),j.test(t)){const e=e=>function(t){if(!t.relatedTarget||t.relatedTarget!==t.delegateTarget&&!t.delegateTarget.contains(t.relatedTarget))return e.call(this,t)};o?o=e(o):n=e(n)}const[a,r,s]=W(t,n,o),l=D(e),c=l[s]||(l[s]={}),d=T(c,r,a?n:null);if(d)return void(d.oneOff=d.oneOff&&i);const u=C(r,t.replace(_,"")),h=a?function(e,t,n){return function o(i){const a=e.querySelectorAll(t);for(let{target:r}=i;r&&r!==this;r=r.parentNode)for(let s=a.length;s--;)if(a[s]===r)return i.delegateTarget=r,o.oneOff&&N.off(e,i.type,t,n),n.apply(r,[i]);return null}}(e,n,o):function(e,t){return function n(o){return o.delegateTarget=e,n.oneOff&&N.off(e,o.type,t),t.apply(e,[o])}}(e,n);h.delegationSelector=a?n:null,h.originalHandler=r,h.oneOff=i,h.uidEvent=u,c[u]=h,e.addEventListener(s,h,a)}function M(e,t,n,o,i){const a=T(t[n],o,i);a&&(e.removeEventListener(n,a,Boolean(i)),delete t[n][a.uidEvent])}function L(e){return e=e.replace(w,""),k[e]||e}const N={on(e,t,n,o){A(e,t,n,o,!1)},one(e,t,n,o){A(e,t,n,o,!0)},off(e,t,n,o){if("string"!=typeof t||!e)return;const[i,a,r]=W(t,n,o),s=r!==t,l=D(e),c=t.startsWith(".");if(void 0!==a){if(!l||!l[r])return;return void M(e,l,r,a,i?n:null)}c&&Object.keys(l).forEach((n=>{!function(e,t,n,o){const i=t[n]||{};Object.keys(i).forEach((a=>{if(a.includes(o)){const o=i[a];M(e,t,n,o.originalHandler,o.delegationSelector)}}))}(e,l,n,t.slice(1))}));const d=l[r]||{};Object.keys(d).forEach((n=>{const o=n.replace(S,"");if(!s||t.includes(o)){const t=d[n];M(e,l,r,t.originalHandler,t.delegationSelector)}}))},trigger(e,t,n){if("string"!=typeof t||!e)return null;const o=f(),i=L(t),a=t!==i,r=E.has(i);let s,l=!0,c=!0,d=!1,u=null;return a&&o&&(s=o.Event(t,n),o(e).trigger(s),l=!s.isPropagationStopped(),c=!s.isImmediatePropagationStopped(),d=s.isDefaultPrevented()),r?(u=document.createEvent("HTMLEvents"),u.initEvent(i,l,!0)):u=new CustomEvent(t,{bubbles:l,cancelable:!0}),void 0!==n&&Object.keys(n).forEach((e=>{Object.defineProperty(u,e,{get:()=>n[e]})})),d&&u.preventDefault(),c&&e.dispatchEvent(u),u.defaultPrevented&&void 0!==s&&s.preventDefault(),u}},P=new Map,I={set(e,t,n){P.has(e)||P.set(e,new Map);const o=P.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)=>P.has(e)&&P.get(e).get(t)||null,remove(e,t){if(!P.has(e))return;const n=P.get(e);n.delete(t),0===n.size&&P.delete(e)}};class Y{constructor(e){(e=r(e))&&(this._element=e,I.set(this._element,this.constructor.DATA_KEY,this))}dispose(){I.remove(this._element,this.constructor.DATA_KEY),N.off(this._element,this.constructor.EVENT_KEY),Object.getOwnPropertyNames(this).forEach((e=>{this[e]=null}))}_queueCallback(e,t,n=!0){y(e,t,n)}static getInstance(e){return I.get(r(e),this.DATA_KEY)}static getOrCreateInstance(e,t={}){return this.getInstance(e)||new this(e,"object"==typeof t?t:null)}static get VERSION(){return"5.1.3"}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}}const R=(e,t="hide")=>{const n=`click.dismiss${e.EVENT_KEY}`,i=e.NAME;N.on(document,n,`[data-bs-dismiss="${i}"]`,(function(n){if(["A","AREA"].includes(this.tagName)&&n.preventDefault(),c(this))return;const a=o(this)||this.closest(`.${i}`);e.getOrCreateInstance(a)[t]()}))};class H extends Y{static get NAME(){return"alert"}close(){if(N.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(),N.trigger(this._element,"closed.bs.alert"),this.dispose()}static jQueryInterface(e){return this.each((function(){const t=H.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)}}))}}R(H,"close"),g(H);const Q='[data-bs-toggle="button"]';class V extends Y{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=V.getOrCreateInstance(this);"toggle"===e&&t[e]()}))}}function F(e){return"true"===e||"false"!==e&&(e===Number(e).toString()?Number(e):""===e||"null"===e?null:e)}function B(e){return e.replace(/[A-Z]/g,(e=>`-${e.toLowerCase()}`))}N.on(document,"click.bs.button.data-api",Q,(e=>{e.preventDefault();const t=e.target.closest(Q);V.getOrCreateInstance(t).toggle()})),g(V);const $={setDataAttribute(e,t,n){e.setAttribute(`data-bs-${B(t)}`,n)},removeDataAttribute(e,t){e.removeAttribute(`data-bs-${B(t)}`)},getDataAttributes(e){if(!e)return{};const t={};return Object.keys(e.dataset).filter((e=>e.startsWith("bs"))).forEach((n=>{let o=n.replace(/^bs/,"");o=o.charAt(0).toLowerCase()+o.slice(1,o.length),t[o]=F(e.dataset[n])})),t},getDataAttribute:(e,t)=>F(e.getAttribute(`data-bs-${B(t)}`)),offset(e){const t=e.getBoundingClientRect();return{top:t.top+window.pageYOffset,left:t.left+window.pageXOffset}},position:e=>({top:e.offsetTop,left:e.offsetLeft})},z={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;for(;o&&o.nodeType===Node.ELEMENT_NODE&&3!==o.nodeType;)o.matches(t)&&n.push(o),o=o.parentNode;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=>!c(e)&&l(e)))}},U="carousel",q={interval:5e3,keyboard:!0,slide:!1,pause:"hover",wrap:!0,touch:!0},G={interval:"(number|boolean)",keyboard:"boolean",slide:"(boolean|string)",pause:"(string|boolean)",wrap:"boolean",touch:"boolean"},X="next",K="prev",Z="left",J="right",ee={ArrowLeft:J,ArrowRight:Z},te="slid.bs.carousel",ne="active",oe=".active.carousel-item";class ie extends Y{constructor(e,t){super(e),this._items=null,this._interval=null,this._activeElement=null,this._isPaused=!1,this._isSliding=!1,this.touchTimeout=null,this.touchStartX=0,this.touchDeltaX=0,this._config=this._getConfig(t),this._indicatorsElement=z.findOne(".carousel-indicators",this._element),this._touchSupported="ontouchstart"in document.documentElement||navigator.maxTouchPoints>0,this._pointerEvent=Boolean(window.PointerEvent),this._addEventListeners()}static get Default(){return q}static get NAME(){return U}next(){this._slide(X)}nextWhenVisible(){!document.hidden&&l(this._element)&&this.next()}prev(){this._slide(K)}pause(e){e||(this._isPaused=!0),z.findOne(".carousel-item-next, .carousel-item-prev",this._element)&&(i(this._element),this.cycle(!0)),clearInterval(this._interval),this._interval=null}cycle(e){e||(this._isPaused=!1),this._interval&&(clearInterval(this._interval),this._interval=null),this._config&&this._config.interval&&!this._isPaused&&(this._updateInterval(),this._interval=setInterval((document.visibilityState?this.nextWhenVisible:this.next).bind(this),this._config.interval))}to(e){this._activeElement=z.findOne(oe,this._element);const t=this._getItemIndex(this._activeElement);if(e>this._items.length-1||e<0)return;if(this._isSliding)return void N.one(this._element,te,(()=>this.to(e)));if(t===e)return this.pause(),void this.cycle();const n=e>t?X:K;this._slide(n,this._items[e])}_getConfig(e){return e={...q,...$.getDataAttributes(this._element),..."object"==typeof e?e:{}},s(U,e,G),e}_handleSwipe(){const e=Math.abs(this.touchDeltaX);if(e<=40)return;const t=e/this.touchDeltaX;this.touchDeltaX=0,t&&this._slide(t>0?J:Z)}_addEventListeners(){this._config.keyboard&&N.on(this._element,"keydown.bs.carousel",(e=>this._keydown(e))),"hover"===this._config.pause&&(N.on(this._element,"mouseenter.bs.carousel",(e=>this.pause(e))),N.on(this._element,"mouseleave.bs.carousel",(e=>this.cycle(e)))),this._config.touch&&this._touchSupported&&this._addTouchEventListeners()}_addTouchEventListeners(){const e=e=>this._pointerEvent&&("pen"===e.pointerType||"touch"===e.pointerType),t=t=>{e(t)?this.touchStartX=t.clientX:this._pointerEvent||(this.touchStartX=t.touches[0].clientX)},n=e=>{this.touchDeltaX=e.touches&&e.touches.length>1?0:e.touches[0].clientX-this.touchStartX},o=t=>{e(t)&&(this.touchDeltaX=t.clientX-this.touchStartX),this._handleSwipe(),"hover"===this._config.pause&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout((e=>this.cycle(e)),500+this._config.interval))};z.find(".carousel-item img",this._element).forEach((e=>{N.on(e,"dragstart.bs.carousel",(e=>e.preventDefault()))})),this._pointerEvent?(N.on(this._element,"pointerdown.bs.carousel",(e=>t(e))),N.on(this._element,"pointerup.bs.carousel",(e=>o(e))),this._element.classList.add("pointer-event")):(N.on(this._element,"touchstart.bs.carousel",(e=>t(e))),N.on(this._element,"touchmove.bs.carousel",(e=>n(e))),N.on(this._element,"touchend.bs.carousel",(e=>o(e))))}_keydown(e){if(/input|textarea/i.test(e.target.tagName))return;const t=ee[e.key];t&&(e.preventDefault(),this._slide(t))}_getItemIndex(e){return this._items=e&&e.parentNode?z.find(".carousel-item",e.parentNode):[],this._items.indexOf(e)}_getItemByOrder(e,t){const n=e===X;return b(this._items,t,n,this._config.wrap)}_triggerSlideEvent(e,t){const n=this._getItemIndex(e),o=this._getItemIndex(z.findOne(oe,this._element));return N.trigger(this._element,"slide.bs.carousel",{relatedTarget:e,direction:t,from:o,to:n})}_setActiveIndicatorElement(e){if(this._indicatorsElement){const t=z.findOne(".active",this._indicatorsElement);t.classList.remove(ne),t.removeAttribute("aria-current");const n=z.find("[data-bs-target]",this._indicatorsElement);for(let t=0;t<n.length;t++)if(Number.parseInt(n[t].getAttribute("data-bs-slide-to"),10)===this._getItemIndex(e)){n[t].classList.add(ne),n[t].setAttribute("aria-current","true");break}}}_updateInterval(){const e=this._activeElement||z.findOne(oe,this._element);if(!e)return;const t=Number.parseInt(e.getAttribute("data-bs-interval"),10);t?(this._config.defaultInterval=this._config.defaultInterval||this._config.interval,this._config.interval=t):this._config.interval=this._config.defaultInterval||this._config.interval}_slide(e,t){const n=this._directionToOrder(e),o=z.findOne(oe,this._element),i=this._getItemIndex(o),a=t||this._getItemByOrder(n,o),r=this._getItemIndex(a),s=Boolean(this._interval),l=n===X,c=l?"carousel-item-start":"carousel-item-end",d=l?"carousel-item-next":"carousel-item-prev",u=this._orderToDirection(n);if(a&&a.classList.contains(ne))return void(this._isSliding=!1);if(this._isSliding)return;if(this._triggerSlideEvent(a,u).defaultPrevented)return;if(!o||!a)return;this._isSliding=!0,s&&this.pause(),this._setActiveIndicatorElement(a),this._activeElement=a;const f=()=>{N.trigger(this._element,te,{relatedTarget:a,direction:u,from:i,to:r})};if(this._element.classList.contains("slide")){a.classList.add(d),h(a),o.classList.add(c),a.classList.add(c);const e=()=>{a.classList.remove(c,d),a.classList.add(ne),o.classList.remove(ne,d,c),this._isSliding=!1,setTimeout(f,0)};this._queueCallback(e,o,!0)}else o.classList.remove(ne),a.classList.add(ne),this._isSliding=!1,f();s&&this.cycle()}_directionToOrder(e){return[J,Z].includes(e)?m()?e===Z?K:X:e===Z?X:K:e}_orderToDirection(e){return[X,K].includes(e)?m()?e===K?Z:J:e===K?J:Z:e}static carouselInterface(e,t){const n=ie.getOrCreateInstance(e,t);let{_config:o}=n;"object"==typeof t&&(o={...o,...t});const i="string"==typeof t?t:o.slide;if("number"==typeof t)n.to(t);else if("string"==typeof i){if(void 0===n[i])throw new TypeError(`No method named "${i}"`);n[i]()}else o.interval&&o.ride&&(n.pause(),n.cycle())}static jQueryInterface(e){return this.each((function(){ie.carouselInterface(this,e)}))}static dataApiClickHandler(e){const t=o(this);if(!t||!t.classList.contains("carousel"))return;const n={...$.getDataAttributes(t),...$.getDataAttributes(this)},i=this.getAttribute("data-bs-slide-to");i&&(n.interval=!1),ie.carouselInterface(t,n),i&&ie.getInstance(t).to(i),e.preventDefault()}}N.on(document,"click.bs.carousel.data-api","[data-bs-slide], [data-bs-slide-to]",ie.dataApiClickHandler),N.on(window,"load.bs.carousel.data-api",(()=>{const e=z.find('[data-bs-ride="carousel"]');for(let t=0,n=e.length;t<n;t++)ie.carouselInterface(e[t],ie.getInstance(e[t]))})),g(ie);const ae="collapse",re="bs.collapse",se={toggle:!0,parent:null},le={toggle:"boolean",parent:"(null|element)"},ce="show",de="collapse",ue="collapsing",he="collapsed",fe=":scope .collapse .collapse",pe='[data-bs-toggle="collapse"]';class me extends Y{constructor(e,t){super(e),this._isTransitioning=!1,this._config=this._getConfig(t),this._triggerArray=[];const o=z.find(pe);for(let e=0,t=o.length;e<t;e++){const t=o[e],i=n(t),a=z.find(i).filter((e=>e===this._element));null!==i&&a.length&&(this._selector=i,this._triggerArray.push(t))}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return se}static get NAME(){return ae}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let e,t=[];if(this._config.parent){const e=z.find(fe,this._config.parent);t=z.find(".collapse.show, .collapse.collapsing",this._config.parent).filter((t=>!e.includes(t)))}const n=z.findOne(this._selector);if(t.length){const o=t.find((e=>n!==e));if(e=o?me.getInstance(o):null,e&&e._isTransitioning)return}if(N.trigger(this._element,"show.bs.collapse").defaultPrevented)return;t.forEach((t=>{n!==t&&me.getOrCreateInstance(t,{toggle:!1}).hide(),e||I.set(t,re,null)}));const o=this._getDimension();this._element.classList.remove(de),this._element.classList.add(ue),this._element.style[o]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const i=`scroll${o[0].toUpperCase()+o.slice(1)}`;this._queueCallback((()=>{this._isTransitioning=!1,this._element.classList.remove(ue),this._element.classList.add(de,ce),this._element.style[o]="",N.trigger(this._element,"shown.bs.collapse")}),this._element,!0),this._element.style[o]=`${this._element[i]}px`}hide(){if(this._isTransitioning||!this._isShown())return;if(N.trigger(this._element,"hide.bs.collapse").defaultPrevented)return;const e=this._getDimension();this._element.style[e]=`${this._element.getBoundingClientRect()[e]}px`,h(this._element),this._element.classList.add(ue),this._element.classList.remove(de,ce);const t=this._triggerArray.length;for(let e=0;e<t;e++){const t=this._triggerArray[e],n=o(t);n&&!this._isShown(n)&&this._addAriaAndCollapsedClass([t],!1)}this._isTransitioning=!0;this._element.style[e]="",this._queueCallback((()=>{this._isTransitioning=!1,this._element.classList.remove(ue),this._element.classList.add(de),N.trigger(this._element,"hidden.bs.collapse")}),this._element,!0)}_isShown(e=this._element){return e.classList.contains(ce)}_getConfig(e){return(e={...se,...$.getDataAttributes(this._element),...e}).toggle=Boolean(e.toggle),e.parent=r(e.parent),s(ae,e,le),e}_getDimension(){return this._element.classList.contains("collapse-horizontal")?"width":"height"}_initializeChildren(){if(!this._config.parent)return;const e=z.find(fe,this._config.parent);z.find(pe,this._config.parent).filter((t=>!e.includes(t))).forEach((e=>{const t=o(e);t&&this._addAriaAndCollapsedClass([e],this._isShown(t))}))}_addAriaAndCollapsedClass(e,t){e.length&&e.forEach((e=>{t?e.classList.remove(he):e.classList.add(he),e.setAttribute("aria-expanded",t)}))}static jQueryInterface(e){return this.each((function(){const t={};"string"==typeof e&&/show|hide/.test(e)&&(t.toggle=!1);const n=me.getOrCreateInstance(this,t);if("string"==typeof e){if(void 0===n[e])throw new TypeError(`No method named "${e}"`);n[e]()}}))}}N.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);z.find(t).forEach((e=>{me.getOrCreateInstance(e,{toggle:!1}).toggle()}))})),g(me);var ge="top",ve="bottom",ye="right",be="left",_e="auto",we=[ge,ve,ye,be],Se="start",Oe="end",xe="clippingParents",ke="viewport",je="popper",Ee="reference",Ce=we.reduce((function(e,t){return e.concat([t+"-"+Se,t+"-"+Oe])}),[]),De=[].concat(we,[_e]).reduce((function(e,t){return e.concat([t,t+"-"+Se,t+"-"+Oe])}),[]),Te="beforeRead",We="read",Ae="afterRead",Me="beforeMain",Le="main",Ne="afterMain",Pe="beforeWrite",Ie="write",Ye="afterWrite",Re=[Te,We,Ae,Me,Le,Ne,Pe,Ie,Ye];function He(e){return e?(e.nodeName||"").toLowerCase():null}function Qe(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function Ve(e){return e instanceof Qe(e).Element||e instanceof Element}function Fe(e){return e instanceof Qe(e).HTMLElement||e instanceof HTMLElement}function Be(e){return"undefined"!=typeof ShadowRoot&&(e instanceof Qe(e).ShadowRoot||e instanceof ShadowRoot)}const $e={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];Fe(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]||{},a=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});Fe(o)&&He(o)&&(Object.assign(o.style,a),Object.keys(i).forEach((function(e){o.removeAttribute(e)})))}))}},requires:["computeStyles"]};function ze(e){return e.split("-")[0]}function Ue(e,t){var n=e.getBoundingClientRect();return{width:n.width/1,height:n.height/1,top:n.top/1,right:n.right/1,bottom:n.bottom/1,left:n.left/1,x:n.left/1,y:n.top/1}}function qe(e){var t=Ue(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 Ge(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&Be(n)){var o=t;do{if(o&&e.isSameNode(o))return!0;o=o.parentNode||o.host}while(o)}return!1}function Xe(e){return Qe(e).getComputedStyle(e)}function Ke(e){return["table","td","th"].indexOf(He(e))>=0}function Ze(e){return((Ve(e)?e.ownerDocument:e.document)||window.document).documentElement}function Je(e){return"html"===He(e)?e:e.assignedSlot||e.parentNode||(Be(e)?e.host:null)||Ze(e)}function et(e){return Fe(e)&&"fixed"!==Xe(e).position?e.offsetParent:null}function tt(e){for(var t=Qe(e),n=et(e);n&&Ke(n)&&"static"===Xe(n).position;)n=et(n);return n&&("html"===He(n)||"body"===He(n)&&"static"===Xe(n).position)?t:n||function(e){var t=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");if(-1!==navigator.userAgent.indexOf("Trident")&&Fe(e)&&"fixed"===Xe(e).position)return null;for(var n=Je(e);Fe(n)&&["html","body"].indexOf(He(n))<0;){var o=Xe(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 nt(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}var ot=Math.max,it=Math.min,at=Math.round;function rt(e,t,n){return ot(e,it(t,n))}function st(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function lt(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}const ct={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,o=e.name,i=e.options,a=n.elements.arrow,r=n.modifiersData.popperOffsets,s=ze(n.placement),l=nt(s),c=[be,ye].indexOf(s)>=0?"height":"width";if(a&&r){var d=function(e,t){return st("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:lt(e,we))}(i.padding,n),u=qe(a),h="y"===l?ge:be,f="y"===l?ve:ye,p=n.rects.reference[c]+n.rects.reference[l]-r[l]-n.rects.popper[c],m=r[l]-n.rects.reference[l],g=tt(a),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=rt(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)))&&Ge(t.elements.popper,o)&&(t.elements.arrow=o)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function dt(e){return e.split("-")[1]}var ut={top:"auto",right:"auto",bottom:"auto",left:"auto"};function ht(e){var t,n=e.popper,o=e.popperRect,i=e.placement,a=e.variation,r=e.offsets,s=e.position,l=e.gpuAcceleration,c=e.adaptive,d=e.roundOffsets,u=!0===d?function(e){var t=e.x,n=e.y,o=window.devicePixelRatio||1;return{x:at(at(t*o)/o)||0,y:at(at(n*o)/o)||0}}(r):"function"==typeof d?d(r):r,h=u.x,f=void 0===h?0:h,p=u.y,m=void 0===p?0:p,g=r.hasOwnProperty("x"),v=r.hasOwnProperty("y"),y=be,b=ge,_=window;if(c){var w=tt(n),S="clientHeight",O="clientWidth";w===Qe(n)&&"static"!==Xe(w=Ze(n)).position&&"absolute"===s&&(S="scrollHeight",O="scrollWidth"),w=w,i!==ge&&(i!==be&&i!==ye||a!==Oe)||(b=ve,m-=w[S]-o.height,m*=l?1:-1),i!==be&&(i!==ge&&i!==ve||a!==Oe)||(y=ye,f-=w[O]-o.width,f*=l?1:-1)}var x,k=Object.assign({position:s},c&&ut);return l?Object.assign({},k,((x={})[b]=v?"0":"",x[y]=g?"0":"",x.transform=(_.devicePixelRatio||1)<=1?"translate("+f+"px, "+m+"px)":"translate3d("+f+"px, "+m+"px, 0)",x)):Object.assign({},k,((t={})[b]=v?m+"px":"",t[y]=g?f+"px":"",t.transform="",t))}const ft={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,o=n.gpuAcceleration,i=void 0===o||o,a=n.adaptive,r=void 0===a||a,s=n.roundOffsets,l=void 0===s||s,c={placement:ze(t.placement),variation:dt(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:i};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,ht(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:r,roundOffsets:l})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,ht(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 pt={passive:!0};const mt={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,o=e.options,i=o.scroll,a=void 0===i||i,r=o.resize,s=void 0===r||r,l=Qe(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return a&&c.forEach((function(e){e.addEventListener("scroll",n.update,pt)})),s&&l.addEventListener("resize",n.update,pt),function(){a&&c.forEach((function(e){e.removeEventListener("scroll",n.update,pt)})),s&&l.removeEventListener("resize",n.update,pt)}},data:{}};var gt={left:"right",right:"left",bottom:"top",top:"bottom"};function vt(e){return e.replace(/left|right|bottom|top/g,(function(e){return gt[e]}))}var yt={start:"end",end:"start"};function bt(e){return e.replace(/start|end/g,(function(e){return yt[e]}))}function _t(e){var t=Qe(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function wt(e){return Ue(Ze(e)).left+_t(e).scrollLeft}function St(e){var t=Xe(e),n=t.overflow,o=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+i+o)}function Ot(e){return["html","body","#document"].indexOf(He(e))>=0?e.ownerDocument.body:Fe(e)&&St(e)?e:Ot(Je(e))}function xt(e,t){var n;void 0===t&&(t=[]);var o=Ot(e),i=o===(null==(n=e.ownerDocument)?void 0:n.body),a=Qe(o),r=i?[a].concat(a.visualViewport||[],St(o)?o:[]):o,s=t.concat(r);return i?s:s.concat(xt(Je(r)))}function kt(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function jt(e,t){return t===ke?kt(function(e){var t=Qe(e),n=Ze(e),o=t.visualViewport,i=n.clientWidth,a=n.clientHeight,r=0,s=0;return o&&(i=o.width,a=o.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(r=o.offsetLeft,s=o.offsetTop)),{width:i,height:a,x:r+wt(e),y:s}}(e)):Fe(t)?function(e){var t=Ue(e);return t.top=t.top+e.clientTop,t.left=t.left+e.clientLeft,t.bottom=t.top+e.clientHeight,t.right=t.left+e.clientWidth,t.width=e.clientWidth,t.height=e.clientHeight,t.x=t.left,t.y=t.top,t}(t):kt(function(e){var t,n=Ze(e),o=_t(e),i=null==(t=e.ownerDocument)?void 0:t.body,a=ot(n.scrollWidth,n.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),r=ot(n.scrollHeight,n.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),s=-o.scrollLeft+wt(e),l=-o.scrollTop;return"rtl"===Xe(i||n).direction&&(s+=ot(n.clientWidth,i?i.clientWidth:0)-a),{width:a,height:r,x:s,y:l}}(Ze(e)))}function Et(e,t,n){var o="clippingParents"===t?function(e){var t=xt(Je(e)),n=["absolute","fixed"].indexOf(Xe(e).position)>=0&&Fe(e)?tt(e):e;return Ve(n)?t.filter((function(e){return Ve(e)&&Ge(e,n)&&"body"!==He(e)})):[]}(e):[].concat(t),i=[].concat(o,[n]),a=i[0],r=i.reduce((function(t,n){var o=jt(e,n);return t.top=ot(o.top,t.top),t.right=it(o.right,t.right),t.bottom=it(o.bottom,t.bottom),t.left=ot(o.left,t.left),t}),jt(e,a));return r.width=r.right-r.left,r.height=r.bottom-r.top,r.x=r.left,r.y=r.top,r}function Ct(e){var t,n=e.reference,o=e.element,i=e.placement,a=i?ze(i):null,r=i?dt(i):null,s=n.x+n.width/2-o.width/2,l=n.y+n.height/2-o.height/2;switch(a){case ge:t={x:s,y:n.y-o.height};break;case ve:t={x:s,y:n.y+n.height};break;case ye:t={x:n.x+n.width,y:l};break;case be:t={x:n.x-o.width,y:l};break;default:t={x:n.x,y:n.y}}var c=a?nt(a):null;if(null!=c){var d="y"===c?"height":"width";switch(r){case Se:t[c]=t[c]-(n[d]/2-o[d]/2);break;case Oe:t[c]=t[c]+(n[d]/2-o[d]/2)}}return t}function Dt(e,t){void 0===t&&(t={});var n=t,o=n.placement,i=void 0===o?e.placement:o,a=n.boundary,r=void 0===a?xe:a,s=n.rootBoundary,l=void 0===s?ke:s,c=n.elementContext,d=void 0===c?je:c,u=n.altBoundary,h=void 0!==u&&u,f=n.padding,p=void 0===f?0:f,m=st("number"!=typeof p?p:lt(p,we)),g=d===je?Ee:je,v=e.rects.popper,y=e.elements[h?g:d],b=Et(Ve(y)?y:y.contextElement||Ze(e.elements.popper),r,l),_=Ue(e.elements.reference),w=Ct({reference:_,element:v,strategy:"absolute",placement:i}),S=kt(Object.assign({},v,w)),O=d===je?S:_,x={top:b.top-O.top+m.top,bottom:O.bottom-b.bottom+m.bottom,left:b.left-O.left+m.left,right:O.right-b.right+m.right},k=e.modifiersData.offset;if(d===je&&k){var j=k[i];Object.keys(x).forEach((function(e){var t=[ye,ve].indexOf(e)>=0?1:-1,n=[ge,ve].indexOf(e)>=0?"y":"x";x[e]+=j[n]*t}))}return x}function Tt(e,t){void 0===t&&(t={});var n=t,o=n.placement,i=n.boundary,a=n.rootBoundary,r=n.padding,s=n.flipVariations,l=n.allowedAutoPlacements,c=void 0===l?De:l,d=dt(o),u=d?s?Ce:Ce.filter((function(e){return dt(e)===d})):we,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]=Dt(e,{placement:n,boundary:i,rootBoundary:a,padding:r})[ze(n)],t}),{});return Object.keys(f).sort((function(e,t){return f[e]-f[t]}))}const Wt={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,a=void 0===i||i,r=n.altAxis,s=void 0===r||r,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=ze(g),y=l||(v===g||!p?[vt(g)]:function(e){if(ze(e)===_e)return[];var t=vt(e);return[bt(e),t,bt(t)]}(g)),b=[g].concat(y).reduce((function(e,n){return e.concat(ze(n)===_e?Tt(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<b.length;k++){var j=b[k],E=ze(j),C=dt(j)===Se,D=[ge,ve].indexOf(E)>=0,T=D?"width":"height",W=Dt(t,{placement:j,boundary:d,rootBoundary:u,altBoundary:h,padding:c}),A=D?C?ye:be:C?ve:ge;_[T]>w[T]&&(A=vt(A));var M=vt(A),L=[];if(a&&L.push(W[E]<=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 N=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"},P=p?3:1;P>0;P--){if("break"===N(P))break}t.placement!==x&&(t.modifiersData[o]._skip=!0,t.placement=x,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function At(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 Mt(e){return[ge,ye,ve,be].some((function(t){return e[t]>=0}))}const Lt={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,a=t.modifiersData.preventOverflow,r=Dt(t,{elementContext:"reference"}),s=Dt(t,{altBoundary:!0}),l=At(r,o),c=At(s,i,a),d=Mt(l),u=Mt(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 Nt={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,o=e.name,i=n.offset,a=void 0===i?[0,0]:i,r=De.reduce((function(e,n){return e[n]=function(e,t,n){var o=ze(e),i=[be,ge].indexOf(o)>=0?-1:1,a="function"==typeof n?n(Object.assign({},t,{placement:e})):n,r=a[0],s=a[1];return r=r||0,s=(s||0)*i,[be,ye].indexOf(o)>=0?{x:s,y:r}:{x:r,y:s}}(n,t.rects,a),e}),{}),s=r[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]=r}};const Pt={name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=Ct({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}};const It={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,o=e.name,i=n.mainAxis,a=void 0===i||i,r=n.altAxis,s=void 0!==r&&r,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=Dt(t,{boundary:l,rootBoundary:c,padding:u,altBoundary:d}),v=ze(t.placement),y=dt(t.placement),b=!y,_=nt(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={x:0,y:0};if(S){if(a||s){var E="y"===_?ge:be,C="y"===_?ve:ye,D="y"===_?"height":"width",T=S[_],W=S[_]+g[E],A=S[_]-g[C],M=f?-x[D]/2:0,L=y===Se?O[D]:x[D],N=y===Se?-x[D]:-O[D],P=t.elements.arrow,I=f&&P?qe(P):{width:0,height:0},Y=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},R=Y[E],H=Y[C],Q=rt(0,O[D],I[D]),V=b?O[D]/2-M-Q-R-k:L-Q-R-k,F=b?-O[D]/2+M+Q+H+k:N+Q+H+k,B=t.elements.arrow&&tt(t.elements.arrow),$=B?"y"===_?B.clientTop||0:B.clientLeft||0:0,z=t.modifiersData.offset?t.modifiersData.offset[t.placement][_]:0,U=S[_]+V-z-$,q=S[_]+F-z;if(a){var G=rt(f?it(W,U):W,T,f?ot(A,q):A);S[_]=G,j[_]=G-T}if(s){var X="x"===_?ge:be,K="x"===_?ve:ye,Z=S[w],J=Z+g[X],ee=Z-g[K],te=rt(f?it(J,U):J,Z,f?ot(ee,q):ee);S[w]=te,j[w]=te-Z}}t.modifiersData[o]=j}},requiresIfExists:["offset"]};function Yt(e,t,n){void 0===n&&(n=!1);var o=Fe(t);Fe(t)&&function(e){var t=e.getBoundingClientRect(),n=t.width/e.offsetWidth||1,o=t.height/e.offsetHeight||1}(t);var i,a,r=Ze(t),s=Ue(e),l={scrollLeft:0,scrollTop:0},c={x:0,y:0};return(o||!o&&!n)&&(("body"!==He(t)||St(r))&&(l=(i=t)!==Qe(i)&&Fe(i)?{scrollLeft:(a=i).scrollLeft,scrollTop:a.scrollTop}:_t(i)),Fe(t)?((c=Ue(t)).x+=t.clientLeft,c.y+=t.clientTop):r&&(c.x=wt(r))),{x:s.left+l.scrollLeft-c.x,y:s.top+l.scrollTop-c.y,width:s.width,height:s.height}}function Rt(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 Ht={placement:"bottom",modifiers:[],strategy:"absolute"};function Qt(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some((function(e){return!(e&&"function"==typeof e.getBoundingClientRect)}))}function Vt(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,o=void 0===n?[]:n,i=t.defaultOptions,a=void 0===i?Ht:i;return function(e,t,n){void 0===n&&(n=a);var i,r,s={placement:"bottom",orderedModifiers:[],options:Object.assign({},Ht,a),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},l=[],c=!1,d={state:s,setOptions:function(n){var i="function"==typeof n?n(s.options):n;u(),s.options=Object.assign({},a,s.options,i),s.scrollParents={reference:Ve(e)?xt(e):e.contextElement?xt(e.contextElement):[],popper:xt(t)};var r,c,h=function(e){var t=Rt(e);return Re.reduce((function(e,n){return e.concat(t.filter((function(e){return e.phase===n})))}),[])}((r=[].concat(o,s.options.modifiers),c=r.reduce((function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e}),{}),Object.keys(c).map((function(e){return c[e]}))));return s.orderedModifiers=h.filter((function(e){return e.enabled})),s.orderedModifiers.forEach((function(e){var t=e.name,n=e.options,o=void 0===n?{}:n,i=e.effect;if("function"==typeof i){var a=i({state:s,name:t,instance:d,options:o}),r=function(){};l.push(a||r)}})),d.update()},forceUpdate:function(){if(!c){var e=s.elements,t=e.reference,n=e.popper;if(Qt(t,n)){s.rects={reference:Yt(t,tt(n),"fixed"===s.options.strategy),popper:qe(n)},s.reset=!1,s.placement=s.options.placement,s.orderedModifiers.forEach((function(e){return s.modifiersData[e.name]=Object.assign({},e.data)}));for(var o=0;o<s.orderedModifiers.length;o++)if(!0!==s.reset){var i=s.orderedModifiers[o],a=i.fn,r=i.options,l=void 0===r?{}:r,u=i.name;"function"==typeof a&&(s=a({state:s,options:l,name:u,instance:d})||s)}else s.reset=!1,o=-1}}},update:(i=function(){return new Promise((function(e){d.forceUpdate(),e(s)}))},function(){return r||(r=new Promise((function(e){Promise.resolve().then((function(){r=void 0,e(i())}))}))),r}),destroy:function(){u(),c=!0}};if(!Qt(e,t))return d;function u(){l.forEach((function(e){return e()})),l=[]}return d.setOptions(n).then((function(e){!c&&n.onFirstUpdate&&n.onFirstUpdate(e)})),d}}var Ft=Vt(),Bt=Vt({defaultModifiers:[mt,Pt,ft,$e]}),$t=Vt({defaultModifiers:[mt,Pt,ft,$e,Nt,Wt,It,ct,Lt]});const zt=Object.freeze({__proto__:null,popperGenerator:Vt,detectOverflow:Dt,createPopperBase:Ft,createPopper:$t,createPopperLite:Bt,top:ge,bottom:ve,right:ye,left:be,auto:_e,basePlacements:we,start:Se,end:Oe,clippingParents:xe,viewport:ke,popper:je,reference:Ee,variationPlacements:Ce,placements:De,beforeRead:Te,read:We,afterRead:Ae,beforeMain:Me,main:Le,afterMain:Ne,beforeWrite:Pe,write:Ie,afterWrite:Ye,modifierPhases:Re,applyStyles:$e,arrow:ct,computeStyles:ft,eventListeners:mt,flip:Wt,hide:Lt,offset:Nt,popperOffsets:Pt,preventOverflow:It}),Ut="dropdown",qt="Escape",Gt="Space",Xt="ArrowUp",Kt="ArrowDown",Zt=new RegExp("ArrowUp|ArrowDown|Escape"),Jt="click.bs.dropdown.data-api",en="keydown.bs.dropdown.data-api",tn="show",nn='[data-bs-toggle="dropdown"]',on=".dropdown-menu",an=m()?"top-end":"top-start",rn=m()?"top-start":"top-end",sn=m()?"bottom-end":"bottom-start",ln=m()?"bottom-start":"bottom-end",cn=m()?"left-start":"right-start",dn=m()?"right-start":"left-start",un={offset:[0,2],boundary:"clippingParents",reference:"toggle",display:"dynamic",popperConfig:null,autoClose:!0},hn={offset:"(array|string|function)",boundary:"(string|element)",reference:"(string|element|object)",display:"string",popperConfig:"(null|object|function)",autoClose:"(boolean|string)"};class fn extends Y{constructor(e,t){super(e),this._popper=null,this._config=this._getConfig(t),this._menu=this._getMenuElement(),this._inNavbar=this._detectNavbar()}static get Default(){return un}static get DefaultType(){return hn}static get NAME(){return Ut}toggle(){return this._isShown()?this.hide():this.show()}show(){if(c(this._element)||this._isShown(this._menu))return;const e={relatedTarget:this._element};if(N.trigger(this._element,"show.bs.dropdown",e).defaultPrevented)return;const t=fn.getParentFromElement(this._element);this._inNavbar?$.setDataAttribute(this._menu,"popper","none"):this._createPopper(t),"ontouchstart"in document.documentElement&&!t.closest(".navbar-nav")&&[].concat(...document.body.children).forEach((e=>N.on(e,"mouseover",u))),this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(tn),this._element.classList.add(tn),N.trigger(this._element,"shown.bs.dropdown",e)}hide(){if(c(this._element)||!this._isShown(this._menu))return;const e={relatedTarget:this._element};this._completeHide(e)}dispose(){this._popper&&this._popper.destroy(),super.dispose()}update(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}_completeHide(e){N.trigger(this._element,"hide.bs.dropdown",e).defaultPrevented||("ontouchstart"in document.documentElement&&[].concat(...document.body.children).forEach((e=>N.off(e,"mouseover",u))),this._popper&&this._popper.destroy(),this._menu.classList.remove(tn),this._element.classList.remove(tn),this._element.setAttribute("aria-expanded","false"),$.removeDataAttribute(this._menu,"popper"),N.trigger(this._element,"hidden.bs.dropdown",e))}_getConfig(e){if(e={...this.constructor.Default,...$.getDataAttributes(this._element),...e},s(Ut,e,this.constructor.DefaultType),"object"==typeof e.reference&&!a(e.reference)&&"function"!=typeof e.reference.getBoundingClientRect)throw new TypeError(`${Ut.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return e}_createPopper(e){if(void 0===zt)throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");let t=this._element;"parent"===this._config.reference?t=e:a(this._config.reference)?t=r(this._config.reference):"object"==typeof this._config.reference&&(t=this._config.reference);const n=this._getPopperConfig(),o=n.modifiers.find((e=>"applyStyles"===e.name&&!1===e.enabled));this._popper=$t(t,this._menu,n),o&&$.setDataAttribute(this._menu,"popper","static")}_isShown(e=this._element){return e.classList.contains(tn)}_getMenuElement(){return z.next(this._element,on)[0]}_getPlacement(){const e=this._element.parentNode;if(e.classList.contains("dropend"))return cn;if(e.classList.contains("dropstart"))return dn;const t="end"===getComputedStyle(this._menu).getPropertyValue("--bs-position").trim();return e.classList.contains("dropup")?t?rn:an:t?ln:sn}_detectNavbar(){return null!==this._element.closest(".navbar")}_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}_getPopperConfig(){const e={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return"static"===this._config.display&&(e.modifiers=[{name:"applyStyles",enabled:!1}]),{...e,..."function"==typeof this._config.popperConfig?this._config.popperConfig(e):this._config.popperConfig}}_selectMenuItem({key:e,target:t}){const n=z.find(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",this._menu).filter(l);n.length&&b(n,t,e===Kt,!n.includes(t)).focus()}static jQueryInterface(e){return this.each((function(){const t=fn.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(e&&(2===e.button||"keyup"===e.type&&"Tab"!==e.key))return;const t=z.find(nn);for(let n=0,o=t.length;n<o;n++){const o=fn.getInstance(t[n]);if(!o||!1===o._config.autoClose)continue;if(!o._isShown())continue;const i={relatedTarget:o._element};if(e){const t=e.composedPath(),n=t.includes(o._menu);if(t.includes(o._element)||"inside"===o._config.autoClose&&!n||"outside"===o._config.autoClose&&n)continue;if(o._menu.contains(e.target)&&("keyup"===e.type&&"Tab"===e.key||/input|select|option|textarea|form/i.test(e.target.tagName)))continue;"click"===e.type&&(i.clickEvent=e)}o._completeHide(i)}}static getParentFromElement(e){return o(e)||e.parentNode}static dataApiKeydownHandler(e){if(/input|textarea/i.test(e.target.tagName)?e.key===Gt||e.key!==qt&&(e.key!==Kt&&e.key!==Xt||e.target.closest(on)):!Zt.test(e.key))return;const t=this.classList.contains(tn);if(!t&&e.key===qt)return;if(e.preventDefault(),e.stopPropagation(),c(this))return;const n=this.matches(nn)?this:z.prev(this,nn)[0],o=fn.getOrCreateInstance(n);if(e.key!==qt)return e.key===Xt||e.key===Kt?(t||o.show(),void o._selectMenuItem(e)):void(t&&e.key!==Gt||fn.clearMenus());o.hide()}}N.on(document,en,nn,fn.dataApiKeydownHandler),N.on(document,en,on,fn.dataApiKeydownHandler),N.on(document,Jt,fn.clearMenus),N.on(document,"keyup.bs.dropdown.data-api",fn.clearMenus),N.on(document,Jt,nn,(function(e){e.preventDefault(),fn.getOrCreateInstance(this).toggle()})),g(fn);const pn=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",mn=".sticky-top";class gn{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,"paddingRight",(t=>t+e)),this._setElementAttributes(pn,"paddingRight",(t=>t+e)),this._setElementAttributes(mn,"marginRight",(t=>t-e))}_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)[t];e.style[t]=`${n(Number.parseFloat(i))}px`}))}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,"paddingRight"),this._resetElementAttributes(pn,"paddingRight"),this._resetElementAttributes(mn,"marginRight")}_saveInitialAttribute(e,t){const n=e.style[t];n&&$.setDataAttribute(e,t,n)}_resetElementAttributes(e,t){this._applyManipulationCallback(e,(e=>{const n=$.getDataAttribute(e,t);void 0===n?e.style.removeProperty(t):($.removeDataAttribute(e,t),e.style[t]=n)}))}_applyManipulationCallback(e,t){a(e)?t(e):z.find(e,this._element).forEach(t)}isOverflowing(){return this.getWidth()>0}}const vn={className:"modal-backdrop",isVisible:!0,isAnimated:!1,rootElement:"body",clickCallback:null},yn={className:"string",isVisible:"boolean",isAnimated:"boolean",rootElement:"(element|string)",clickCallback:"(function|null)"},bn="backdrop",_n="show",wn="mousedown.bs.backdrop";class Sn{constructor(e){this._config=this._getConfig(e),this._isAppended=!1,this._element=null}show(e){this._config.isVisible?(this._append(),this._config.isAnimated&&h(this._getElement()),this._getElement().classList.add(_n),this._emulateAnimation((()=>{v(e)}))):v(e)}hide(e){this._config.isVisible?(this._getElement().classList.remove(_n),this._emulateAnimation((()=>{this.dispose(),v(e)}))):v(e)}_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}_getConfig(e){return(e={...vn,..."object"==typeof e?e:{}}).rootElement=r(e.rootElement),s(bn,e,yn),e}_append(){this._isAppended||(this._config.rootElement.append(this._getElement()),N.on(this._getElement(),wn,(()=>{v(this._config.clickCallback)})),this._isAppended=!0)}dispose(){this._isAppended&&(N.off(this._element,wn),this._element.remove(),this._isAppended=!1)}_emulateAnimation(e){y(e,this._getElement(),this._config.isAnimated)}}const On={trapElement:null,autofocus:!0},xn={trapElement:"element",autofocus:"boolean"},kn=".bs.focustrap",jn="backward";class En{constructor(e){this._config=this._getConfig(e),this._isActive=!1,this._lastTabNavDirection=null}activate(){const{trapElement:e,autofocus:t}=this._config;this._isActive||(t&&e.focus(),N.off(document,kn),N.on(document,"focusin.bs.focustrap",(e=>this._handleFocusin(e))),N.on(document,"keydown.tab.bs.focustrap",(e=>this._handleKeydown(e))),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,N.off(document,kn))}_handleFocusin(e){const{target:t}=e,{trapElement:n}=this._config;if(t===document||t===n||n.contains(t))return;const o=z.focusableChildren(n);0===o.length?n.focus():this._lastTabNavDirection===jn?o[o.length-1].focus():o[0].focus()}_handleKeydown(e){"Tab"===e.key&&(this._lastTabNavDirection=e.shiftKey?jn:"forward")}_getConfig(e){return e={...On,..."object"==typeof e?e:{}},s("focustrap",e,xn),e}}const Cn="modal",Dn=".bs.modal",Tn="Escape",Wn={backdrop:!0,keyboard:!0,focus:!0},An={backdrop:"(boolean|string)",keyboard:"boolean",focus:"boolean"},Mn="hidden.bs.modal",Ln="show.bs.modal",Nn="resize.bs.modal",Pn="click.dismiss.bs.modal",In="keydown.dismiss.bs.modal",Yn="mousedown.dismiss.bs.modal",Rn="modal-open",Hn="show",Qn="modal-static";class Vn extends Y{constructor(e,t){super(e),this._config=this._getConfig(t),this._dialog=z.findOne(".modal-dialog",this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._ignoreBackdropClick=!1,this._isTransitioning=!1,this._scrollBar=new gn}static get Default(){return Wn}static get NAME(){return Cn}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){if(this._isShown||this._isTransitioning)return;N.trigger(this._element,Ln,{relatedTarget:e}).defaultPrevented||(this._isShown=!0,this._isAnimated()&&(this._isTransitioning=!0),this._scrollBar.hide(),document.body.classList.add(Rn),this._adjustDialog(),this._setEscapeEvent(),this._setResizeEvent(),N.on(this._dialog,Yn,(()=>{N.one(this._element,"mouseup.dismiss.bs.modal",(e=>{e.target===this._element&&(this._ignoreBackdropClick=!0)}))})),this._showBackdrop((()=>this._showElement(e))))}hide(){if(!this._isShown||this._isTransitioning)return;if(N.trigger(this._element,"hide.bs.modal").defaultPrevented)return;this._isShown=!1;const e=this._isAnimated();e&&(this._isTransitioning=!0),this._setEscapeEvent(),this._setResizeEvent(),this._focustrap.deactivate(),this._element.classList.remove(Hn),N.off(this._element,Pn),N.off(this._dialog,Yn),this._queueCallback((()=>this._hideModal()),this._element,e)}dispose(){[window,this._dialog].forEach((e=>N.off(e,Dn))),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new Sn({isVisible:Boolean(this._config.backdrop),isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new En({trapElement:this._element})}_getConfig(e){return e={...Wn,...$.getDataAttributes(this._element),..."object"==typeof e?e:{}},s(Cn,e,An),e}_showElement(e){const t=this._isAnimated(),n=z.findOne(".modal-body",this._dialog);this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE||document.body.append(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.scrollTop=0,n&&(n.scrollTop=0),t&&h(this._element),this._element.classList.add(Hn);this._queueCallback((()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,N.trigger(this._element,"shown.bs.modal",{relatedTarget:e})}),this._dialog,t)}_setEscapeEvent(){this._isShown?N.on(this._element,In,(e=>{this._config.keyboard&&e.key===Tn?(e.preventDefault(),this.hide()):this._config.keyboard||e.key!==Tn||this._triggerBackdropTransition()})):N.off(this._element,In)}_setResizeEvent(){this._isShown?N.on(window,Nn,(()=>this._adjustDialog())):N.off(window,Nn)}_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(Rn),this._resetAdjustments(),this._scrollBar.reset(),N.trigger(this._element,Mn)}))}_showBackdrop(e){N.on(this._element,Pn,(e=>{this._ignoreBackdropClick?this._ignoreBackdropClick=!1:e.target===e.currentTarget&&(!0===this._config.backdrop?this.hide():"static"===this._config.backdrop&&this._triggerBackdropTransition())})),this._backdrop.show(e)}_isAnimated(){return this._element.classList.contains("fade")}_triggerBackdropTransition(){if(N.trigger(this._element,"hidePrevented.bs.modal").defaultPrevented)return;const{classList:e,scrollHeight:t,style:n}=this._element,o=t>document.documentElement.clientHeight;!o&&"hidden"===n.overflowY||e.contains(Qn)||(o||(n.overflowY="hidden"),e.add(Qn),this._queueCallback((()=>{e.remove(Qn),o||this._queueCallback((()=>{n.overflowY=""}),this._dialog)}),this._dialog),this._element.focus())}_adjustDialog(){const e=this._element.scrollHeight>document.documentElement.clientHeight,t=this._scrollBar.getWidth(),n=t>0;(!n&&e&&!m()||n&&!e&&m())&&(this._element.style.paddingLeft=`${t}px`),(n&&!e&&!m()||!n&&e&&m())&&(this._element.style.paddingRight=`${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)}}))}}N.on(document,"click.bs.modal.data-api",'[data-bs-toggle="modal"]',(function(e){const t=o(this);["A","AREA"].includes(this.tagName)&&e.preventDefault(),N.one(t,Ln,(e=>{e.defaultPrevented||N.one(t,Mn,(()=>{l(this)&&this.focus()}))}));const n=z.findOne(".modal.show");n&&Vn.getInstance(n).hide();Vn.getOrCreateInstance(t).toggle(this)})),R(Vn),g(Vn);const Fn="offcanvas",Bn={backdrop:!0,keyboard:!0,scroll:!1},$n={backdrop:"boolean",keyboard:"boolean",scroll:"boolean"},zn="show",Un=".offcanvas.show",qn="hidden.bs.offcanvas";class Gn extends Y{constructor(e,t){super(e),this._config=this._getConfig(t),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get NAME(){return Fn}static get Default(){return Bn}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){if(this._isShown)return;if(N.trigger(this._element,"show.bs.offcanvas",{relatedTarget:e}).defaultPrevented)return;this._isShown=!0,this._element.style.visibility="visible",this._backdrop.show(),this._config.scroll||(new gn).hide(),this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(zn);this._queueCallback((()=>{this._config.scroll||this._focustrap.activate(),N.trigger(this._element,"shown.bs.offcanvas",{relatedTarget:e})}),this._element,!0)}hide(){if(!this._isShown)return;if(N.trigger(this._element,"hide.bs.offcanvas").defaultPrevented)return;this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.remove(zn),this._backdrop.hide();this._queueCallback((()=>{this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._element.style.visibility="hidden",this._config.scroll||(new gn).reset(),N.trigger(this._element,qn)}),this._element,!0)}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_getConfig(e){return e={...Bn,...$.getDataAttributes(this._element),..."object"==typeof e?e:{}},s(Fn,e,$n),e}_initializeBackDrop(){return new Sn({className:"offcanvas-backdrop",isVisible:this._config.backdrop,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:()=>this.hide()})}_initializeFocusTrap(){return new En({trapElement:this._element})}_addEventListeners(){N.on(this._element,"keydown.dismiss.bs.offcanvas",(e=>{this._config.keyboard&&"Escape"===e.key&&this.hide()}))}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)}}))}}N.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(),c(this))return;N.one(t,qn,(()=>{l(this)&&this.focus()}));const n=z.findOne(Un);n&&n!==t&&Gn.getInstance(n).hide();Gn.getOrCreateInstance(t).toggle(this)})),N.on(window,"load.bs.offcanvas.data-api",(()=>z.find(Un).forEach((e=>Gn.getOrCreateInstance(e).show())))),R(Gn),g(Gn);const Xn=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),Kn=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^#&/:?]*(?:[#/?]|$))/i,Zn=/^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();if(t.includes(n))return!Xn.has(n)||Boolean(Kn.test(e.nodeValue)||Zn.test(e.nodeValue));const o=t.filter((e=>e instanceof RegExp));for(let e=0,t=o.length;e<t;e++)if(o[e].test(n))return!0;return!1},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:[]};function to(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(let e=0,n=i.length;e<n;e++){const n=i[e],o=n.nodeName.toLowerCase();if(!Object.keys(t).includes(o)){n.remove();continue}const a=[].concat(...n.attributes),r=[].concat(t["*"]||[],t[o]||[]);a.forEach((e=>{Jn(e,r)||n.removeAttribute(e.nodeName)}))}return o.body.innerHTML}const no="tooltip",oo=new Set(["sanitize","allowList","sanitizeFn"]),io={animation:"boolean",template:"string",title:"(string|element|function)",trigger:"string",delay:"(number|object)",html:"boolean",selector:"(string|boolean)",placement:"(string|function)",offset:"(array|string|function)",container:"(string|element|boolean)",fallbackPlacements:"array",boundary:"(string|element)",customClass:"(string|function)",sanitize:"boolean",sanitizeFn:"(null|function)",allowList:"object",popperConfig:"(null|object|function)"},ao={AUTO:"auto",TOP:"top",RIGHT:m()?"left":"right",BOTTOM:"bottom",LEFT:m()?"right":"left"},ro={animation:!0,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,selector:!1,placement:"top",offset:[0,0],container:!1,fallbackPlacements:["top","right","bottom","left"],boundary:"clippingParents",customClass:"",sanitize:!0,sanitizeFn:null,allowList:eo,popperConfig:null},so={HIDE:"hide.bs.tooltip",HIDDEN:"hidden.bs.tooltip",SHOW:"show.bs.tooltip",SHOWN:"shown.bs.tooltip",INSERTED:"inserted.bs.tooltip",CLICK:"click.bs.tooltip",FOCUSIN:"focusin.bs.tooltip",FOCUSOUT:"focusout.bs.tooltip",MOUSEENTER:"mouseenter.bs.tooltip",MOUSELEAVE:"mouseleave.bs.tooltip"},lo="fade",co="show",uo="show",ho="out",fo=".tooltip-inner",po=".modal",mo="hide.bs.modal",go="hover",vo="focus";class yo extends Y{constructor(e,t){if(void 0===zt)throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");super(e),this._isEnabled=!0,this._timeout=0,this._hoverState="",this._activeTrigger={},this._popper=null,this._config=this._getConfig(t),this.tip=null,this._setListeners()}static get Default(){return ro}static get NAME(){return no}static get Event(){return so}static get DefaultType(){return io}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(e){if(this._isEnabled)if(e){const t=this._initializeOnDelegatedTarget(e);t._activeTrigger.click=!t._activeTrigger.click,t._isWithActiveTrigger()?t._enter(null,t):t._leave(null,t)}else{if(this.getTipElement().classList.contains(co))return void this._leave(null,this);this._enter(null,this)}}dispose(){clearTimeout(this._timeout),N.off(this._element.closest(po),mo,this._hideModalHandler),this.tip&&this.tip.remove(),this._disposePopper(),super.dispose()}show(){if("none"===this._element.style.display)throw new Error("Please use show on visible elements");if(!this.isWithContent()||!this._isEnabled)return;const e=N.trigger(this._element,this.constructor.Event.SHOW),t=d(this._element),n=null===t?this._element.ownerDocument.documentElement.contains(this._element):t.contains(this._element);if(e.defaultPrevented||!n)return;"tooltip"===this.constructor.NAME&&this.tip&&this.getTitle()!==this.tip.querySelector(fo).innerHTML&&(this._disposePopper(),this.tip.remove(),this.tip=null);const o=this.getTipElement(),i=(e=>{do{e+=Math.floor(1e6*Math.random())}while(document.getElementById(e));return e})(this.constructor.NAME);o.setAttribute("id",i),this._element.setAttribute("aria-describedby",i),this._config.animation&&o.classList.add(lo);const a="function"==typeof this._config.placement?this._config.placement.call(this,o,this._element):this._config.placement,r=this._getAttachment(a);this._addAttachmentClass(r);const{container:s}=this._config;I.set(o,this.constructor.DATA_KEY,this),this._element.ownerDocument.documentElement.contains(this.tip)||(s.append(o),N.trigger(this._element,this.constructor.Event.INSERTED)),this._popper?this._popper.update():this._popper=$t(this._element,o,this._getPopperConfig(r)),o.classList.add(co);const l=this._resolvePossibleFunction(this._config.customClass);l&&o.classList.add(...l.split(" ")),"ontouchstart"in document.documentElement&&[].concat(...document.body.children).forEach((e=>{N.on(e,"mouseover",u)}));const c=this.tip.classList.contains(lo);this._queueCallback((()=>{const e=this._hoverState;this._hoverState=null,N.trigger(this._element,this.constructor.Event.SHOWN),e===ho&&this._leave(null,this)}),this.tip,c)}hide(){if(!this._popper)return;const e=this.getTipElement();if(N.trigger(this._element,this.constructor.Event.HIDE).defaultPrevented)return;e.classList.remove(co),"ontouchstart"in document.documentElement&&[].concat(...document.body.children).forEach((e=>N.off(e,"mouseover",u))),this._activeTrigger.click=!1,this._activeTrigger.focus=!1,this._activeTrigger.hover=!1;const t=this.tip.classList.contains(lo);this._queueCallback((()=>{this._isWithActiveTrigger()||(this._hoverState!==uo&&e.remove(),this._cleanTipClass(),this._element.removeAttribute("aria-describedby"),N.trigger(this._element,this.constructor.Event.HIDDEN),this._disposePopper())}),this.tip,t),this._hoverState=""}update(){null!==this._popper&&this._popper.update()}isWithContent(){return Boolean(this.getTitle())}getTipElement(){if(this.tip)return this.tip;const e=document.createElement("div");e.innerHTML=this._config.template;const t=e.children[0];return this.setContent(t),t.classList.remove(lo,co),this.tip=t,this.tip}setContent(e){this._sanitizeAndSetContent(e,this.getTitle(),fo)}_sanitizeAndSetContent(e,t,n){const o=z.findOne(n,e);t||!o?this.setElementContent(o,t):o.remove()}setElementContent(e,t){if(null!==e)return a(t)?(t=r(t),void(this._config.html?t.parentNode!==e&&(e.innerHTML="",e.append(t)):e.textContent=t.textContent)):void(this._config.html?(this._config.sanitize&&(t=to(t,this._config.allowList,this._config.sanitizeFn)),e.innerHTML=t):e.textContent=t)}getTitle(){const e=this._element.getAttribute("data-bs-original-title")||this._config.title;return this._resolvePossibleFunction(e)}updateAttachment(e){return"right"===e?"end":"left"===e?"start":e}_initializeOnDelegatedTarget(e,t){return t||this.constructor.getOrCreateInstance(e.delegateTarget,this._getDelegateConfig())}_getOffset(){const{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:"onChange",enabled:!0,phase:"afterWrite",fn:e=>this._handlePopperPlacementChange(e)}],onFirstUpdate:e=>{e.options.placement!==e.placement&&this._handlePopperPlacementChange(e)}};return{...t,..."function"==typeof this._config.popperConfig?this._config.popperConfig(t):this._config.popperConfig}}_addAttachmentClass(e){this.getTipElement().classList.add(`${this._getBasicClassPrefix()}-${this.updateAttachment(e)}`)}_getAttachment(e){return ao[e.toUpperCase()]}_setListeners(){this._config.trigger.split(" ").forEach((e=>{if("click"===e)N.on(this._element,this.constructor.Event.CLICK,this._config.selector,(e=>this.toggle(e)));else if("manual"!==e){const t=e===go?this.constructor.Event.MOUSEENTER:this.constructor.Event.FOCUSIN,n=e===go?this.constructor.Event.MOUSELEAVE:this.constructor.Event.FOCUSOUT;N.on(this._element,t,this._config.selector,(e=>this._enter(e))),N.on(this._element,n,this._config.selector,(e=>this._leave(e)))}})),this._hideModalHandler=()=>{this._element&&this.hide()},N.on(this._element.closest(po),mo,this._hideModalHandler),this._config.selector?this._config={...this._config,trigger:"manual",selector:""}:this._fixTitle()}_fixTitle(){const e=this._element.getAttribute("title"),t=typeof this._element.getAttribute("data-bs-original-title");(e||"string"!==t)&&(this._element.setAttribute("data-bs-original-title",e||""),!e||this._element.getAttribute("aria-label")||this._element.textContent||this._element.setAttribute("aria-label",e),this._element.setAttribute("title",""))}_enter(e,t){t=this._initializeOnDelegatedTarget(e,t),e&&(t._activeTrigger["focusin"===e.type?vo:go]=!0),t.getTipElement().classList.contains(co)||t._hoverState===uo?t._hoverState=uo:(clearTimeout(t._timeout),t._hoverState=uo,t._config.delay&&t._config.delay.show?t._timeout=setTimeout((()=>{t._hoverState===uo&&t.show()}),t._config.delay.show):t.show())}_leave(e,t){t=this._initializeOnDelegatedTarget(e,t),e&&(t._activeTrigger["focusout"===e.type?vo:go]=t._element.contains(e.relatedTarget)),t._isWithActiveTrigger()||(clearTimeout(t._timeout),t._hoverState=ho,t._config.delay&&t._config.delay.hide?t._timeout=setTimeout((()=>{t._hoverState===ho&&t.hide()}),t._config.delay.hide):t.hide())}_isWithActiveTrigger(){for(const e in this._activeTrigger)if(this._activeTrigger[e])return!0;return!1}_getConfig(e){const t=$.getDataAttributes(this._element);return Object.keys(t).forEach((e=>{oo.has(e)&&delete t[e]})),(e={...this.constructor.Default,...t,..."object"==typeof e&&e?e:{}}).container=!1===e.container?document.body:r(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()),s(no,e,this.constructor.DefaultType),e.sanitize&&(e.template=to(e.template,e.allowList,e.sanitizeFn)),e}_getDelegateConfig(){const e={};for(const t in this._config)this.constructor.Default[t]!==this._config[t]&&(e[t]=this._config[t]);return e}_cleanTipClass(){const e=this.getTipElement(),t=new RegExp(`(^|\\s)${this._getBasicClassPrefix()}\\S+`,"g"),n=e.getAttribute("class").match(t);null!==n&&n.length>0&&n.map((e=>e.trim())).forEach((t=>e.classList.remove(t)))}_getBasicClassPrefix(){return"bs-tooltip"}_handlePopperPlacementChange(e){const{state:t}=e;t&&(this.tip=t.elements.popper,this._cleanTipClass(),this._addAttachmentClass(this._getAttachment(t.placement)))}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null)}static jQueryInterface(e){return this.each((function(){const t=yo.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e]()}}))}}g(yo);const bo={...yo.Default,placement:"right",offset:[0,8],trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="popover-arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>'},_o={...yo.DefaultType,content:"(string|element|function)"},wo={HIDE:"hide.bs.popover",HIDDEN:"hidden.bs.popover",SHOW:"show.bs.popover",SHOWN:"shown.bs.popover",INSERTED:"inserted.bs.popover",CLICK:"click.bs.popover",FOCUSIN:"focusin.bs.popover",FOCUSOUT:"focusout.bs.popover",MOUSEENTER:"mouseenter.bs.popover",MOUSELEAVE:"mouseleave.bs.popover"};class So extends yo{static get Default(){return bo}static get NAME(){return"popover"}static get Event(){return wo}static get DefaultType(){return _o}isWithContent(){return this.getTitle()||this._getContent()}setContent(e){this._sanitizeAndSetContent(e,this.getTitle(),".popover-header"),this._sanitizeAndSetContent(e,this._getContent(),".popover-body")}_getContent(){return this._resolvePossibleFunction(this._config.content)}_getBasicClassPrefix(){return"bs-popover"}static jQueryInterface(e){return this.each((function(){const t=So.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e]()}}))}}g(So);const Oo="scrollspy",xo=".bs.scrollspy",ko={offset:10,method:"auto",target:""},jo={offset:"number",method:"string",target:"(string|element)"},Eo="dropdown-item",Co="active",Do=".nav-link",To=".nav-link, .list-group-item, .dropdown-item",Wo="position";class Ao extends Y{constructor(e,t){super(e),this._scrollElement="BODY"===this._element.tagName?window:this._element,this._config=this._getConfig(t),this._offsets=[],this._targets=[],this._activeTarget=null,this._scrollHeight=0,N.on(this._scrollElement,"scroll.bs.scrollspy",(()=>this._process())),this.refresh(),this._process()}static get Default(){return ko}static get NAME(){return Oo}refresh(){const e=this._scrollElement===this._scrollElement.window?"offset":Wo,t="auto"===this._config.method?e:this._config.method,o=t===Wo?this._getScrollTop():0;this._offsets=[],this._targets=[],this._scrollHeight=this._getScrollHeight();z.find(To,this._config.target).map((e=>{const i=n(e),a=i?z.findOne(i):null;if(a){const e=a.getBoundingClientRect();if(e.width||e.height)return[$[t](a).top+o,i]}return null})).filter((e=>e)).sort(((e,t)=>e[0]-t[0])).forEach((e=>{this._offsets.push(e[0]),this._targets.push(e[1])}))}dispose(){N.off(this._scrollElement,xo),super.dispose()}_getConfig(e){return(e={...ko,...$.getDataAttributes(this._element),..."object"==typeof e&&e?e:{}}).target=r(e.target)||document.documentElement,s(Oo,e,jo),e}_getScrollTop(){return this._scrollElement===window?this._scrollElement.pageYOffset:this._scrollElement.scrollTop}_getScrollHeight(){return this._scrollElement.scrollHeight||Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)}_getOffsetHeight(){return this._scrollElement===window?window.innerHeight:this._scrollElement.getBoundingClientRect().height}_process(){const e=this._getScrollTop()+this._config.offset,t=this._getScrollHeight(),n=this._config.offset+t-this._getOffsetHeight();if(this._scrollHeight!==t&&this.refresh(),e>=n){const e=this._targets[this._targets.length-1];this._activeTarget!==e&&this._activate(e)}else{if(this._activeTarget&&e<this._offsets[0]&&this._offsets[0]>0)return this._activeTarget=null,void this._clear();for(let t=this._offsets.length;t--;){this._activeTarget!==this._targets[t]&&e>=this._offsets[t]&&(void 0===this._offsets[t+1]||e<this._offsets[t+1])&&this._activate(this._targets[t])}}}_activate(e){this._activeTarget=e,this._clear();const t=To.split(",").map((t=>`${t}[data-bs-target="${e}"],${t}[href="${e}"]`)),n=z.findOne(t.join(","),this._config.target);n.classList.add(Co),n.classList.contains(Eo)?z.findOne(".dropdown-toggle",n.closest(".dropdown")).classList.add(Co):z.parents(n,".nav, .list-group").forEach((e=>{z.prev(e,".nav-link, .list-group-item").forEach((e=>e.classList.add(Co))),z.prev(e,".nav-item").forEach((e=>{z.children(e,Do).forEach((e=>e.classList.add(Co)))}))})),N.trigger(this._scrollElement,"activate.bs.scrollspy",{relatedTarget:e})}_clear(){z.find(To,this._config.target).filter((e=>e.classList.contains(Co))).forEach((e=>e.classList.remove(Co)))}static jQueryInterface(e){return this.each((function(){const t=Ao.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e]()}}))}}N.on(window,"load.bs.scrollspy.data-api",(()=>{z.find('[data-bs-spy="scroll"]').forEach((e=>new Ao(e)))})),g(Ao);const Mo="active",Lo="fade",No="show",Po=".active",Io=":scope > li > .active";class Yo extends Y{static get NAME(){return"tab"}show(){if(this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE&&this._element.classList.contains(Mo))return;let e;const t=o(this._element),n=this._element.closest(".nav, .list-group");if(n){const t="UL"===n.nodeName||"OL"===n.nodeName?Io:Po;e=z.find(t,n),e=e[e.length-1]}const i=e?N.trigger(e,"hide.bs.tab",{relatedTarget:this._element}):null;if(N.trigger(this._element,"show.bs.tab",{relatedTarget:e}).defaultPrevented||null!==i&&i.defaultPrevented)return;this._activate(this._element,n);const a=()=>{N.trigger(e,"hidden.bs.tab",{relatedTarget:this._element}),N.trigger(this._element,"shown.bs.tab",{relatedTarget:e})};t?this._activate(t,t.parentNode,a):a()}_activate(e,t,n){const o=(!t||"UL"!==t.nodeName&&"OL"!==t.nodeName?z.children(t,Po):z.find(Io,t))[0],i=n&&o&&o.classList.contains(Lo),a=()=>this._transitionComplete(e,o,n);o&&i?(o.classList.remove(No),this._queueCallback(a,e,!0)):a()}_transitionComplete(e,t,n){if(t){t.classList.remove(Mo);const e=z.findOne(":scope > .dropdown-menu .active",t.parentNode);e&&e.classList.remove(Mo),"tab"===t.getAttribute("role")&&t.setAttribute("aria-selected",!1)}e.classList.add(Mo),"tab"===e.getAttribute("role")&&e.setAttribute("aria-selected",!0),h(e),e.classList.contains(Lo)&&e.classList.add(No);let o=e.parentNode;if(o&&"LI"===o.nodeName&&(o=o.parentNode),o&&o.classList.contains("dropdown-menu")){const t=e.closest(".dropdown");t&&z.find(".dropdown-toggle",t).forEach((e=>e.classList.add(Mo))),e.setAttribute("aria-expanded",!0)}n&&n()}static jQueryInterface(e){return this.each((function(){const t=Yo.getOrCreateInstance(this);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e]()}}))}}N.on(document,"click.bs.tab.data-api",'[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',(function(e){if(["A","AREA"].includes(this.tagName)&&e.preventDefault(),c(this))return;Yo.getOrCreateInstance(this).show()})),g(Yo);const Ro="toast",Ho="hide",Qo="show",Vo="showing",Fo={animation:"boolean",autohide:"boolean",delay:"number"},Bo={animation:!0,autohide:!0,delay:5e3};class $o extends Y{constructor(e,t){super(e),this._config=this._getConfig(t),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get DefaultType(){return Fo}static get Default(){return Bo}static get NAME(){return Ro}show(){if(N.trigger(this._element,"show.bs.toast").defaultPrevented)return;this._clearTimeout(),this._config.animation&&this._element.classList.add("fade");this._element.classList.remove(Ho),h(this._element),this._element.classList.add(Qo),this._element.classList.add(Vo),this._queueCallback((()=>{this._element.classList.remove(Vo),N.trigger(this._element,"shown.bs.toast"),this._maybeScheduleHide()}),this._element,this._config.animation)}hide(){if(!this._element.classList.contains(Qo))return;if(N.trigger(this._element,"hide.bs.toast").defaultPrevented)return;this._element.classList.add(Vo),this._queueCallback((()=>{this._element.classList.add(Ho),this._element.classList.remove(Vo),this._element.classList.remove(Qo),N.trigger(this._element,"hidden.bs.toast")}),this._element,this._config.animation)}dispose(){this._clearTimeout(),this._element.classList.contains(Qo)&&this._element.classList.remove(Qo),super.dispose()}_getConfig(e){return e={...Bo,...$.getDataAttributes(this._element),..."object"==typeof e&&e?e:{}},s(Ro,e,this.constructor.DefaultType),e}_maybeScheduleHide(){this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout((()=>{this.hide()}),this._config.delay)))}_onInteraction(e,t){switch(e.type){case"mouseover":case"mouseout":this._hasMouseInteraction=t;break;case"focusin":case"focusout":this._hasKeyboardInteraction=t}if(t)return void this._clearTimeout();const n=e.relatedTarget;this._element===n||this._element.contains(n)||this._maybeScheduleHide()}_setListeners(){N.on(this._element,"mouseover.bs.toast",(e=>this._onInteraction(e,!0))),N.on(this._element,"mouseout.bs.toast",(e=>this._onInteraction(e,!1))),N.on(this._element,"focusin.bs.toast",(e=>this._onInteraction(e,!0))),N.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=$o.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e](this)}}))}}R($o),g($o);return{Alert:H,Button:V,Carousel:ie,Collapse:me,Dropdown:fn,Modal:Vn,Offcanvas:Gn,Popover:So,ScrollSpy:Ao,Tab:Yo,Toast:$o,Tooltip:yo}})),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),a=n(2);function r(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,a=[],r=!0,s=!1;try{for(n=n.call(e);!(r=(o=n.next()).done)&&(a.push(o.value),!t||a.length!==t);r=!0);}catch(e){s=!0,i=e}finally{try{r||null==n.return||n.return()}finally{if(s)throw i}}return a}(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);n<t;n++)o[n]=e[n];return o}function l(e){return l="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},l(e)}function c(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}var d,u,h=a.window.navigator,f=-1<h.userAgent.indexOf("MSIE ")||-1<h.userAgent.indexOf("Trident/")||-1<h.userAgent.indexOf("Edge/"),p=/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(h.userAgent),m=function(){for(var e="transform WebkitTransform MozTransform".split(" "),t=document.createElement("div"),n=0;n<e.length;n+=1)if(t&&void 0!==t.style[e[n]])return e[n];return!1}();function g(){p?(!d&&document.body&&((d=document.createElement("div")).style.cssText="position: fixed; top: -9999px; left: 0; height: 100vh; width: 0;",document.body.appendChild(d)),u=(d?d.clientHeight:0)||a.window.innerHeight||document.documentElement.clientHeight):u=a.window.innerHeight||document.documentElement.clientHeight}g(),a.window.addEventListener("resize",g),a.window.addEventListener("orientationchange",g),a.window.addEventListener("load",g),i()((function(){g()}));var v=[];function y(){v.length&&(v.forEach((function(e,t){var n=e.instance,o=e.oldData,i=n.$item.getBoundingClientRect(),r={width:i.width,height:i.height,top:i.top,bottom:i.bottom,wndW:a.window.innerWidth,wndH:u},s=!o||o.wndW!==r.wndW||o.wndH!==r.wndH||o.width!==r.width||o.height!==r.height,l=s||!o||o.top!==r.top||o.bottom!==r.bottom;v[t].oldData=r,s&&n.onResize(),l&&n.onScroll()})),a.window.requestAnimationFrame(y))}var b=0,_=function(){function e(t,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e);var o=this;o.instanceID=b,b+=1,o.$item=t,o.defaults={type:"scroll",speed:.5,imgSrc:null,imgElement:".jarallax-img",imgSize:"cover",imgPosition:"50% 50%",imgRepeat:"no-repeat",keepImg:!1,elementInViewport:null,zIndex:-100,disableParallax:!1,disableVideo:!1,videoSrc:null,videoStartTime:0,videoEndTime:0,videoVolume:0,videoLoop:!0,videoPlayOnlyVisible:!0,videoLazyLoading:!0,onScroll:null,onInit:null,onDestroy:null,onCoverImage:null};var i=o.$item.dataset||{},a={};if(Object.keys(i).forEach((function(e){var t=e.substr(0,1).toLowerCase()+e.substr(1);t&&void 0!==o.defaults[t]&&(a[t]=i[e])})),o.options=o.extend({},o.defaults,a,n),o.pureOptions=o.extend({},o.options),Object.keys(o.options).forEach((function(e){"true"===o.options[e]?o.options[e]=!0:"false"===o.options[e]&&(o.options[e]=!1)})),o.options.speed=Math.min(2,Math.max(-1,parseFloat(o.options.speed))),"string"==typeof o.options.disableParallax&&(o.options.disableParallax=new RegExp(o.options.disableParallax)),o.options.disableParallax instanceof RegExp){var s=o.options.disableParallax;o.options.disableParallax=function(){return s.test(h.userAgent)}}if("function"!=typeof o.options.disableParallax&&(o.options.disableParallax=function(){return!1}),"string"==typeof o.options.disableVideo&&(o.options.disableVideo=new RegExp(o.options.disableVideo)),o.options.disableVideo instanceof RegExp){var c=o.options.disableVideo;o.options.disableVideo=function(){return c.test(h.userAgent)}}"function"!=typeof o.options.disableVideo&&(o.options.disableVideo=function(){return!1});var d=o.options.elementInViewport;d&&"object"===l(d)&&void 0!==d.length&&(d=r(d,1)[0]);d instanceof Element||(d=null),o.options.elementInViewport=d,o.image={src:o.options.imgSrc||null,$container:null,useImgTag:!1,position:"fixed"},o.initImg()&&o.canInitParallax()&&o.init()}var t,n,o;return t=e,n=[{key:"css",value:function(e,t){return"string"==typeof t?a.window.getComputedStyle(e).getPropertyValue(t):(t.transform&&m&&(t[m]=t.transform),Object.keys(t).forEach((function(n){e.style[n]=t[n]})),e)}},{key:"extend",value:function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];return e=e||{},Object.keys(n).forEach((function(t){n[t]&&Object.keys(n[t]).forEach((function(o){e[o]=n[t][o]}))})),e}},{key:"getWindowData",value:function(){return{width:a.window.innerWidth||document.documentElement.clientWidth,height:u,y:document.documentElement.scrollTop}}},{key:"initImg",value:function(){var e=this,t=e.options.imgElement;return t&&"string"==typeof t&&(t=e.$item.querySelector(t)),t instanceof Element||(e.options.imgSrc?(t=new Image).src=e.options.imgSrc:t=null),t&&(e.options.keepImg?e.image.$item=t.cloneNode(!0):(e.image.$item=t,e.image.$itemParent=t.parentNode),e.image.useImgTag=!0),!(!e.image.$item&&(null===e.image.src&&(e.image.src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",e.image.bgImage=e.css(e.$item,"background-image")),!e.image.bgImage||"none"===e.image.bgImage))}},{key:"canInitParallax",value:function(){return m&&!this.options.disableParallax()}},{key:"init",value:function(){var e=this,t={position:"absolute",top:0,left:0,width:"100%",height:"100%",overflow:"hidden"},n={pointerEvents:"none",transformStyle:"preserve-3d",backfaceVisibility:"hidden",willChange:"transform,opacity"};if(!e.options.keepImg){var o=e.$item.getAttribute("style");if(o&&e.$item.setAttribute("data-jarallax-original-styles",o),e.image.useImgTag){var i=e.image.$item.getAttribute("style");i&&e.image.$item.setAttribute("data-jarallax-original-styles",i)}}if("static"===e.css(e.$item,"position")&&e.css(e.$item,{position:"relative"}),"auto"===e.css(e.$item,"z-index")&&e.css(e.$item,{zIndex:0}),e.image.$container=document.createElement("div"),e.css(e.image.$container,t),e.css(e.image.$container,{"z-index":e.options.zIndex}),f&&e.css(e.image.$container,{opacity:.9999}),e.image.$container.setAttribute("id","jarallax-container-".concat(e.instanceID)),e.$item.appendChild(e.image.$container),e.image.useImgTag?n=e.extend({"object-fit":e.options.imgSize,"object-position":e.options.imgPosition,"font-family":"object-fit: ".concat(e.options.imgSize,"; object-position: ").concat(e.options.imgPosition,";"),"max-width":"none"},t,n):(e.image.$item=document.createElement("div"),e.image.src&&(n=e.extend({"background-position":e.options.imgPosition,"background-size":e.options.imgSize,"background-repeat":e.options.imgRepeat,"background-image":e.image.bgImage||'url("'.concat(e.image.src,'")')},t,n))),"opacity"!==e.options.type&&"scale"!==e.options.type&&"scale-opacity"!==e.options.type&&1!==e.options.speed||(e.image.position="absolute"),"fixed"===e.image.position){var r=function(e){for(var t=[];null!==e.parentElement;)1===(e=e.parentElement).nodeType&&t.push(e);return t}(e.$item).filter((function(e){var t=a.window.getComputedStyle(e),n=t["-webkit-transform"]||t["-moz-transform"]||t.transform;return n&&"none"!==n||/(auto|scroll)/.test(t.overflow+t["overflow-y"]+t["overflow-x"])}));e.image.position=r.length?"absolute":"fixed"}n.position=e.image.position,e.css(e.image.$item,n),e.image.$container.appendChild(e.image.$item),e.onResize(),e.onScroll(!0),e.options.onInit&&e.options.onInit.call(e),"none"!==e.css(e.$item,"background-image")&&e.css(e.$item,{"background-image":"none"}),e.addToParallaxList()}},{key:"addToParallaxList",value:function(){v.push({instance:this}),1===v.length&&a.window.requestAnimationFrame(y)}},{key:"removeFromParallaxList",value:function(){var e=this;v.forEach((function(t,n){t.instance.instanceID===e.instanceID&&v.splice(n,1)}))}},{key:"destroy",value:function(){var e=this;e.removeFromParallaxList();var t=e.$item.getAttribute("data-jarallax-original-styles");if(e.$item.removeAttribute("data-jarallax-original-styles"),t?e.$item.setAttribute("style",t):e.$item.removeAttribute("style"),e.image.useImgTag){var n=e.image.$item.getAttribute("data-jarallax-original-styles");e.image.$item.removeAttribute("data-jarallax-original-styles"),n?e.image.$item.setAttribute("style",t):e.image.$item.removeAttribute("style"),e.image.$itemParent&&e.image.$itemParent.appendChild(e.image.$item)}e.$clipStyles&&e.$clipStyles.parentNode.removeChild(e.$clipStyles),e.image.$container&&e.image.$container.parentNode.removeChild(e.image.$container),e.options.onDestroy&&e.options.onDestroy.call(e),delete e.$item.jarallax}},{key:"clipContainer",value:function(){if("fixed"===this.image.position){var e=this,t=e.image.$container.getBoundingClientRect(),n=t.width,o=t.height;e.$clipStyles||(e.$clipStyles=document.createElement("style"),e.$clipStyles.setAttribute("type","text/css"),e.$clipStyles.setAttribute("id","jarallax-clip-".concat(e.instanceID)),(document.head||document.getElementsByTagName("head")[0]).appendChild(e.$clipStyles));var i="#jarallax-container-".concat(e.instanceID," {\n clip: rect(0 ").concat(n,"px ").concat(o,"px 0);\n clip: rect(0, ").concat(n,"px, ").concat(o,"px, 0);\n -webkit-clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);\n clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);\n }");e.$clipStyles.styleSheet?e.$clipStyles.styleSheet.cssText=i:e.$clipStyles.innerHTML=i}}},{key:"coverImage",value:function(){var e=this,t=e.image.$container.getBoundingClientRect(),n=t.height,o=e.options.speed,i="scroll"===e.options.type||"scroll-opacity"===e.options.type,a=0,r=n,s=0;return i&&(0>o?(a=o*Math.max(n,u),u<n&&(a-=o*(n-u))):a=o*(n+u),1<o?r=Math.abs(a-u):0>o?r=a/o+Math.abs(a):r+=(u-n)*(1-o),a/=2),e.parallaxScrollDistance=a,s=i?(u-r)/2:(n-r)/2,e.css(e.image.$item,{height:"".concat(r,"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:r,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,r={},s=n;if(t.options.elementInViewport&&(s=t.options.elementInViewport.getBoundingClientRect()),t.isElementInViewport=0<=s.bottom&&0<=s.right&&s.top<=u&&s.left<=a.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(i<u?g=1-(d||h)/i:c<=u?g=c/u:f<=u&&(g=f/u),"opacity"!==t.options.type&&"scale-opacity"!==t.options.type&&"scroll-opacity"!==t.options.type||(r.transform="translate3d(0,0,0)",r.opacity=g),"scale"===t.options.type||"scale-opacity"===t.options.type){var v=1;0>t.options.speed?v-=t.options.speed*g:v+=t.options.speed*(1-g),r.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),r.transform="translate3d(0,".concat(y,"px,0)")}t.css(t.image.$item,r),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,a=arguments.length,r=new Array(a>2?a-2:0),s=2;s<a;s++)r[s-2]=arguments[s];for(;i<o;i+=1)if("object"===l(t)||void 0===t?e[i].jarallax||(e[i].jarallax=new _(e[i],t)):e[i].jarallax&&(n=e[i].jarallax[t].apply(e[i].jarallax,r)),void 0!==n)return n;return e};w.constructor=_,t.default=w}},t={};function n(o){var i=t[o];if(void 0!==i)return i.exports;var a=t[o]={exports:{}};return e[o](a,a.exports,n),a.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),a=n(8);function r(e){return 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},r(e)}var s=i.window.jarallax;if(i.window.jarallax=a.default,i.window.jarallax.noConflict=function(){return i.window.jarallax=s,this},void 0!==i.jQuery){var l=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];Array.prototype.unshift.call(t,this);var o=a.default.apply(i.window,t);return"object"!==r(o)?o:this};l.constructor=a.default.constructor;var c=i.jQuery.fn.jarallax;i.jQuery.fn.jarallax=l,i.jQuery.fn.jarallax.noConflict=function(){return i.jQuery.fn.jarallax=c,this}}t()((function(){(0,a.default)(document.querySelectorAll("[data-jarallax]"))}))}()}(),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 m}});var o=n(2),i=n.n(o);function a(e){return 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},a(e)}function r(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function s(){this.doneCallbacks=[],this.failCallbacks=[]}s.prototype={execute:function(e,t){var n=e.length;for(t=Array.prototype.slice.call(t);n;)e[n-=1].apply(null,t)},resolve:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];this.execute(this.doneCallbacks,t)},reject:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];this.execute(this.failCallbacks,t)},done:function(e){this.doneCallbacks.push(e)},fail:function(e){this.failCallbacks.push(e)}};var l=0,c=0,d=0,u=0,h=0,f=new s,p=new s,m=function(){function e(t,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e);var o=this;o.url=t,o.options_default={autoplay:!1,loop:!1,mute:!1,volume:100,showControls:!0,accessibilityHidden:!1,startTime:0,endTime:0},o.options=o.extend({},o.options_default,n),void 0!==o.options.showContols&&(o.options.showControls=o.options.showContols,delete o.options.showContols),o.videoID=o.parseURL(t),o.videoID&&(o.ID=l,l+=1,o.loadAPI(),o.init())}var t,n,o;return t=e,n=[{key:"extend",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var o=t[0]||{};return Object.keys(t).forEach((function(e){t[e]&&Object.keys(t[e]).forEach((function(n){o[n]=t[e][n]}))})),o}},{key:"parseURL",value:function(e){var t,n,o,i,a=!(!(t=e.match(/.*(?:youtu.be\/|v\/|u\/\w\/|embed\/|watch\?v=)([^#\&\?]*).*/))||11!==t[1].length)&&t[1],r=function(e){var t=e.match(/https?:\/\/(?:www\.|player\.)?vimeo.com\/(?:channels\/(?:\w+\/)?|groups\/([^\/]*)\/videos\/|album\/(\d+)\/video\/|video\/|)(\d+)(?:$|\/|\?)/);return!(!t||!t[3])&&t[3]}(e),s=(n=e.split(/,(?=mp4\:|webm\:|ogv\:|ogg\:)/),o={},i=0,n.forEach((function(e){var t=e.match(/^(mp4|webm|ogv|ogg)\:(.*)/);t&&t[1]&&t[2]&&(o["ogv"===t[1]?"ogg":t[1]]=t[2],i=1)})),!!i&&o);return a?(this.type="youtube",a):r?(this.type="vimeo",r):!!s&&(this.type="local",s)}},{key:"isValid",value:function(){return!!this.videoID}},{key:"on",value:function(e,t){this.userEventsList=this.userEventsList||[],(this.userEventsList[e]||(this.userEventsList[e]=[])).push(t)}},{key:"off",value:function(e,t){var n=this;this.userEventsList&&this.userEventsList[e]&&(t?this.userEventsList[e].forEach((function(o,i){o===t&&(n.userEventsList[e][i]=!1)})):delete this.userEventsList[e])}},{key:"fire",value:function(e){for(var t=this,n=arguments.length,o=new Array(n>1?n-1:0),i=1;i<n;i++)o[i-1]=arguments[i];this.userEventsList&&void 0!==this.userEventsList[e]&&this.userEventsList[e].forEach((function(e){e&&e.apply(t,o)}))}},{key:"play",value:function(e){var t=this;t.player&&("youtube"===t.type&&t.player.playVideo&&(void 0!==e&&t.player.seekTo(e||0),i().YT.PlayerState.PLAYING!==t.player.getPlayerState()&&t.player.playVideo()),"vimeo"===t.type&&(void 0!==e&&t.player.setCurrentTime(e),t.player.getPaused().then((function(e){e&&t.player.play()}))),"local"===t.type&&(void 0!==e&&(t.player.currentTime=e),t.player.paused&&t.player.play()))}},{key:"pause",value:function(){var e=this;e.player&&("youtube"===e.type&&e.player.pauseVideo&&i().YT.PlayerState.PLAYING===e.player.getPlayerState()&&e.player.pauseVideo(),"vimeo"===e.type&&e.player.getPaused().then((function(t){t||e.player.pause()})),"local"===e.type&&(e.player.paused||e.player.pause()))}},{key:"mute",value:function(){var e=this;e.player&&("youtube"===e.type&&e.player.mute&&e.player.mute(),"vimeo"===e.type&&e.player.setVolume&&e.player.setVolume(0),"local"===e.type&&(e.$video.muted=!0))}},{key:"unmute",value:function(){var e=this;e.player&&("youtube"===e.type&&e.player.mute&&e.player.unMute(),"vimeo"===e.type&&e.player.setVolume&&e.player.setVolume(e.options.volume),"local"===e.type&&(e.$video.muted=!1))}},{key:"setVolume",value:function(){var e=arguments.length>0&&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 a=new XMLHttpRequest;a.open("GET","https://vimeo.com/api/v2/video/".concat(t.videoID,".json"),!0),a.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)}},a.send(),a=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 a,r;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),a||e.data!==i().YT.PlayerState.PLAYING||(a=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?r=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(r)},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,a;n=t.$video,o=t.videoID[e],i="video/".concat(e),(a=document.createElement("source")).src=o,a.type=i,n.appendChild(a)}))),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"===a(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&&r(t.prototype,n),o&&r(t,o),e}()},function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return r}});var o=n(5),i=n(2),a=n.n(i);function r(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:a().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,a=o*e.image.width/e.image.height,r=(t.container.width-a)/2,s=t.image.marginTop;t.container.width>a&&(o=(a=t.container.width)*e.image.height/e.image.width,r=0,s+=(t.image.height-o)/2),"IFRAME"===n&&(o+=400,s-=200),e.css(e.$video,{width:"".concat(a,"px"),marginLeft:"".concat(r,"px"),height:"".concat(o,"px"),marginTop:"".concat(s,"px")})}return t};var r=t.prototype.initImg;t.prototype.initImg=function(){var e=this,t=r.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 a=t[o]={exports:{}};return e[o](a,a.exports,n),a.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),a=n(1),r=n.n(a),s=n(6);i().VideoWorker=i().VideoWorker||e.default,(0,s.default)(),r()((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 a}});var o=n(2),i=n.n(o);function a(){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),a=0;a<o;a++)i[a]=arguments[a];if("element"!==t.options.type)return n.apply(t,i);switch(t.pureOptions.threshold=t.$item.getAttribute("data-threshold")||"",e){case"init":var r=t.pureOptions.speed.split(" ");t.options.speed=t.pureOptions.speed||0,t.options.speedY=r[0]?parseFloat(r[0]):0,t.options.speedX=r[1]?parseFloat(r[1]):0;var s=t.pureOptions.threshold.split(" ");t.options.thresholdY=s[0]?parseFloat(s[0]):null,t.options.thresholdX=s[1]?parseFloat(s[1]):null,n.apply(t,i);var l=t.$item.getAttribute("data-jarallax-original-styles");return l&&t.$item.setAttribute("style",l),!0;case"onResize":var c=t.css(t.$item,"transform");t.css(t.$item,{transform:""});var d=t.$item.getBoundingClientRect();t.itemData={width:d.width,height:d.height,y:d.top+t.getWindowData().y,x:d.left},t.css(t.$item,{transform:c});break;case"onScroll":var u=t.getWindowData(),h=(u.y+u.height/2-t.itemData.y-t.itemData.height/2)/(u.height/2),f=h*t.options.speedY,p=h*t.options.speedX,m=f,g=p;null!==t.options.thresholdY&&f>t.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 a=t[o]={exports:{}};return e[o](a,a.exports,n),a.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),a=n.n(i);(0,n(3).default)(),t()((function(){void 0!==a().jarallax&&a().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,a,r,s,l,c,d,u,h,f,p,m;for(null==n&&(n={}),h=n.sticky_class,r=n.inner_scrolling,u=n.recalc_every,d=n.parent,l=n.offset_top,s=n.spacer,a=n.bottoming,null==l&&(l=0),null==d&&(d=void 0),null==r&&(r=!0),null==h&&(h="is_stuck"),o=e(document),null==a&&(a=!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,E,C,D,T;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,(D=null!=s?s&&n.closest(s):e("<div />"))&&D.css("position",n.css("position")),(j=function(){var e,t,a;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(D),D.detach()),n.css({position:"",top:"",width:"",bottom:""}).removeClass(h),a=!0),m=n.offset().top-(parseInt(n.css("margin-top"),10)||0)-l,g=n.outerHeight(!0),v=n.css("float"),D&&D.css({width:c(n),height:g,display:n.css("display"),"vertical-align":n.css("vertical-align"),float:v}),a?T():void 0})(),g!==p)return S=void 0,x=l,C=u,T=function(){var e,c,d,_,E,T;if(!y)return d=!1,null!=C&&(C-=1)<=0&&(C=u,j(),d=!0),d||o.height()===O||(j(),d=!0),_=t.scrollTop(),null!=S&&(c=_-S),S=_,w?(a&&(E=_+g+x>p+f,b&&!E&&(b=!1,n.css({position:"fixed",bottom:"",top:x}).trigger("sticky_kit:unbottom"))),_<m&&(w=!1,x=l,null==s&&("left"!==v&&"right"!==v||n.insertAfter(D),D.detach()),e={position:"",width:"",top:""},n.css(e).removeClass(h).trigger("sticky_kit:unstick")),r&&(T=t.height(),g+l>T&&(b||(x-=c,x=Math.max(T-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(D),"left"!==v&&"right"!==v||D.append(n)),n.trigger("sticky_kit:stick")),w&&a&&(null==E&&(E=_+g+x>p+f),!b&&E)?(b=!0,"static"===k.css("position")&&k.css({position:"relative"}),n.css({position:"absolute",bottom:i,top:"auto"}).trigger("sticky_kit:bottom")):void 0},E=function(){return j(),T()},_=function(){if(y=!0,t.off("touchmove",T),t.off("scroll",T),t.off("resize",E),e(document.body).off("sticky_kit:recalc",E),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(D),D.remove()),n.removeClass(h)},t.on("touchmove",T),t.on("scroll",T),t.on("resize",E),e(document.body).on("sticky_kit:recalc",E),n.on("sticky_kit:detach",_),setTimeout(T,0)}},p=0,m=this.length;p<m;p++)i=this[p],f(e(i));return this}}.call(this),function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e=e||self).Sortable=t()}(this,(function(){"use strict";function e(t){return e="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},e(t)}function t(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function n(){return n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},n.apply(this,arguments)}function o(e){for(var n=1;n<arguments.length;n++){var o=null!=arguments[n]?arguments[n]:{},i=Object.keys(o);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(o).filter((function(e){return Object.getOwnPropertyDescriptor(o,e).enumerable})))),i.forEach((function(n){t(e,n,o[n])}))}return e}function i(e,t){if(null==e)return{};var n,o,i=function(e,t){if(null==e)return{};var n,o,i={},a=Object.keys(e);for(o=0;o<a.length;o++)n=a[o],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)n=a[o],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function a(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function r(e){if("undefined"!=typeof window&&window.navigator)return!!navigator.userAgent.match(e)}var s=r(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),l=r(/Edge/i),c=r(/firefox/i),d=r(/safari/i)&&!r(/chrome/i)&&!r(/android/i),u=r(/iP(ad|od|hone)/i),h=r(/chrome/i)&&r(/android/i),f={capture:!1,passive:!1};function p(e,t,n){e.addEventListener(t,n,!s&&f)}function m(e,t,n){e.removeEventListener(t,n,!s&&f)}function g(e,t){if(t){if(">"===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,a=o.length;if(n)for(;i<a;i++)n(o[i],i);return o}return[]}function k(){var e=document.scrollingElement;return e||document.documentElement}function j(e,t,n,o,i){if(e.getBoundingClientRect||e===window){var a,r,l,c,d,u,h;if(e!==window&&e!==k()?(r=(a=e.getBoundingClientRect()).top,l=a.left,c=a.bottom,d=a.right,u=a.height,h=a.width):(r=0,l=0,c=window.innerHeight,d=window.innerWidth,u=window.innerHeight,h=window.innerWidth),(t||n)&&e!==window&&(i=i||e.parentNode,!s))do{if(i&&i.getBoundingClientRect&&("none"!==S(i,"transform")||n&&"static"!==S(i,"position"))){var f=i.getBoundingClientRect();r-=f.top+parseInt(S(i,"border-top-width")),l-=f.left+parseInt(S(i,"border-left-width")),c=r+a.height,d=l+a.width;break}}while(i=i.parentNode);if(o&&e!==window){var p=O(i||e),m=p&&p.a,g=p&&p.d;p&&(c=(r/=g)+(u/=g),d=(l/=m)+(h/=m))}return{top:r,left:l,bottom:c,right:d,width:h,height:u}}}function E(e,t,n){for(var o=A(e,!0),i=j(e)[t];o;){var a=j(o)[n];if(!("top"===n||"left"===n?i>=a:i<=a))return o;if(o===k())break;o=A(o,!1)}return!1}function C(e,t,n){for(var o=0,i=0,a=e.children;i<a.length;){if("none"!==a[i].style.display&&a[i]!==Ie.ghost&&a[i]!==Ie.dragged&&y(a[i],n.draggable,e,!1)){if(o===t)return a[i];o++}i++}return null}function D(e,t){for(var n=e.lastElementChild;n&&(n===Ie.ghost||"none"===S(n,"display")||t&&!g(n,t));)n=n.previousElementSibling;return n||null}function T(e,t){var n=0;if(!e||!e.parentNode)return-1;for(;e=e.previousElementSibling;)"TEMPLATE"===e.nodeName.toUpperCase()||e===Ie.clone||t&&!g(e,t)||n++;return n}function W(e){var t=0,n=0,o=k();if(e)do{var i=O(e),a=i.a,r=i.d;t+=e.scrollLeft*a,n+=e.scrollTop*r}while(e!==o&&(e=e.parentNode));return[t,n]}function A(e,t){if(!e||!e.getBoundingClientRect)return k();var n=e,o=!1;do{if(n.clientWidth<n.scrollWidth||n.clientHeight<n.scrollHeight){var i=S(n);if(n.clientWidth<n.scrollWidth&&("auto"==i.overflowX||"scroll"==i.overflowX)||n.clientHeight<n.scrollHeight&&("auto"==i.overflowY||"scroll"==i.overflowY)){if(!n.getBoundingClientRect||n===document.body)return k();if(o||t)return n;o=!0}}}while(n=n.parentNode);return k()}function M(e,t){return Math.round(e.top)===Math.round(t.top)&&Math.round(e.left)===Math.round(t.left)&&Math.round(e.height)===Math.round(t.height)&&Math.round(e.width)===Math.round(t.width)}function L(e,t){return function(){if(!b){var n=arguments,o=this;1===n.length?e.call(o,n[0]):e.apply(o,n),b=setTimeout((function(){b=void 0}),t)}}}function N(e,t,n){e.scrollLeft+=t,e.scrollTop+=n}function P(e){var t=window.Polymer,n=window.jQuery||window.Zepto;return t&&t.dom?t.dom(e).cloneNode(!0):n?n(e).clone(!0)[0]:e.cloneNode(!0)}function I(e,t){S(e,"position","absolute"),S(e,"top",t.top),S(e,"left",t.left),S(e,"width",t.width),S(e,"height",t.height)}function Y(e){S(e,"position",""),S(e,"top",""),S(e,"left",""),S(e,"width",""),S(e,"height","")}var R="Sortable"+(new Date).getTime();function H(){var e,t=[];return{captureAnimationState:function(){(t=[],this.options.animation)&&[].slice.call(this.el.children).forEach((function(e){if("none"!==S(e,"display")&&e!==Ie.ghost){t.push({target:e,rect:j(e)});var n=o({},t[t.length-1].rect);if(e.thisAnimationDuration){var i=O(e,!0);i&&(n.top-=i.f,n.left-=i.e)}e.fromRect=n}}))},addAnimationState:function(e){t.push(e)},removeAnimationState:function(e){t.splice(function(e,t){for(var n in e)if(e.hasOwnProperty(n))for(var o in t)if(t.hasOwnProperty(o)&&t[o]===e[n][o])return Number(n);return-1}(t,{target:e}),1)},animateAll:function(n){var o=this;if(!this.options.animation)return clearTimeout(e),void("function"==typeof n&&n());var i=!1,a=0;t.forEach((function(e){var t=0,n=e.target,r=n.fromRect,s=j(n),l=n.prevFromRect,c=n.prevToRect,d=e.rect,u=O(n,!0);u&&(s.top-=u.f,s.left-=u.e),n.toRect=s,n.thisAnimationDuration&&M(l,s)&&!M(r,s)&&(d.top-s.top)/(d.left-s.left)==(r.top-s.top)/(r.left-s.left)&&(t=function(e,t,n,o){return Math.sqrt(Math.pow(t.top-e.top,2)+Math.pow(t.left-e.left,2))/Math.sqrt(Math.pow(t.top-n.top,2)+Math.pow(t.left-n.left,2))*o.animation}(d,l,c,o.options)),M(s,r)||(n.prevFromRect=r,n.prevToRect=s,t||(t=o.options.animation),o.animate(n,d,s,t)),t&&(i=!0,a=Math.max(a,t),clearTimeout(n.animationResetTimer),n.animationResetTimer=setTimeout((function(){n.animationTime=0,n.prevFromRect=null,n.fromRect=null,n.prevToRect=null,n.thisAnimationDuration=null}),t),n.thisAnimationDuration=t)})),clearTimeout(e),i?e=setTimeout((function(){"function"==typeof n&&n()}),a):"function"==typeof n&&n(),t=[]},animate:function(e,t,n,o){if(o){S(e,"transition",""),S(e,"transform","");var i=O(this.el),a=i&&i.a,r=i&&i.d,s=(t.left-n.left)/(a||1),l=(t.top-n.top)/(r||1);e.animatingX=!!s,e.animatingY=!!l,S(e,"transform","translate3d("+s+"px,"+l+"px,0)"),function(e){e.offsetWidth}(e),S(e,"transition","transform "+o+"ms"+(this.options.easing?" "+this.options.easing:"")),S(e,"transform","translate3d(0,0,0)"),"number"==typeof e.animated&&clearTimeout(e.animated),e.animated=setTimeout((function(){S(e,"transition",""),S(e,"transform",""),e.animated=!1,e.animatingX=!1,e.animatingY=!1}),o)}}}}var Q=[],V={initializeByDefault:!0},F={mount:function(e){for(var t in V)V.hasOwnProperty(t)&&!(t in e)&&(e[t]=V[t]);Q.push(e)},pluginEvent:function(e,t,n){var i=this;this.eventCanceled=!1,n.cancel=function(){i.eventCanceled=!0};var a=e+"Global";Q.forEach((function(i){t[i.pluginName]&&(t[i.pluginName][a]&&t[i.pluginName][a](o({sortable:t},n)),t.options[i.pluginName]&&t[i.pluginName][e]&&t[i.pluginName][e](o({sortable:t},n)))}))},initializePlugins:function(e,t,o,i){for(var a in Q.forEach((function(i){var a=i.pluginName;if(e.options[a]||i.initializeByDefault){var r=new i(e,t,e.options);r.sortable=e,r.options=e.options,e[a]=r,n(o,r.defaults)}})),e.options)if(e.options.hasOwnProperty(a)){var r=this.modifyOption(e,a,e.options[a]);void 0!==r&&(e.options[a]=r)}},getEventProperties:function(e,t){var o={};return Q.forEach((function(i){"function"==typeof i.eventProperties&&n(o,i.eventProperties.call(t[i.pluginName],e))})),o},modifyOption:function(e,t,n){var o;return Q.forEach((function(i){e[i.pluginName]&&i.optionListeners&&"function"==typeof i.optionListeners[t]&&(o=i.optionListeners[t].call(e[i.pluginName],n))})),o}};function B(e){var t=e.sortable,n=e.rootEl,i=e.name,a=e.targetEl,r=e.cloneEl,c=e.toEl,d=e.fromEl,u=e.oldIndex,h=e.newIndex,f=e.oldDraggableIndex,p=e.newDraggableIndex,m=e.originalEvent,g=e.putSortable,v=e.extraEventProperties;if(t=t||n&&n[R]){var y,b=t.options,_="on"+i.charAt(0).toUpperCase()+i.substr(1);!window.CustomEvent||s||l?(y=document.createEvent("Event")).initEvent(i,!0,!0):y=new CustomEvent(i,{bubbles:!0,cancelable:!0}),y.to=c||n,y.from=d||n,y.item=a||n,y.clone=r,y.oldIndex=u,y.newIndex=h,y.oldDraggableIndex=f,y.newDraggableIndex=p,y.originalEvent=m,y.pullMode=g?g.lastPutMode:void 0;var w=o({},v,F.getEventProperties(i,t));for(var S in w)y[S]=w[S];n&&n.dispatchEvent(y),b[_]&&b[_].call(t,y)}}var $=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=n.evt,r=i(n,["evt"]);F.pluginEvent.bind(Ie)(e,t,o({dragEl:U,parentEl:q,ghostEl:G,rootEl:X,nextEl:K,lastDownEl:Z,cloneEl:J,cloneHidden:ee,dragStarted:fe,putSortable:re,activeSortable:Ie.active,originalEvent:a,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:a})}},r))};function z(e){B(o({putSortable:re,cloneEl:J,targetEl:U,rootEl:X,oldIndex:te,oldDraggableIndex:oe,newIndex:ne,newDraggableIndex:ie},e))}var U,q,G,X,K,Z,J,ee,te,ne,oe,ie,ae,re,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,Ee=u,Ce=l||s?"cssFloat":"float",De=je&&!h&&!u&&"draggable"in document.createElement("div"),Te=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=C(e,0,t),a=C(e,1,t),r=i&&S(i),s=a&&S(a),l=r&&parseInt(r.marginLeft)+parseInt(r.marginRight)+j(i).width,c=s&&parseInt(s.marginLeft)+parseInt(s.marginRight)+j(a).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&&r.float&&"none"!==r.float){var d="left"===r.float?"left":"right";return!a||"both"!==s.clear&&s.clear!==d?"horizontal":"vertical"}return i&&("block"===r.display||"flex"===r.display||"table"===r.display||"grid"===r.display||l>=o&&"none"===n[Ce]||a&&"none"===n[Ce]&&l+c>o)?"vertical":"horizontal"},Ae=function(t){function n(e,t){return function(o,i,a,r){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,a,r),t)(o,i,a,r);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(){!Te&&G&&S(G,"display","none")},Le=function(){!Te&&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 Ne=function(e){if(U){e=e.touches?e.touches[0]:e;var t=(i=e.clientX,a=e.clientY,_e.some((function(e){if(!D(e)){var t=j(e),n=e[R].options.emptyInsertThreshold,o=i>=t.left-n&&i<=t.right+n,s=a>=t.top-n&&a<=t.bottom+n;return n&&o&&s?r=e:void 0}})),r);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,a,r},Pe=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 a in Ae(t),this)"_"===a.charAt(0)&&"function"==typeof this[a]&&(this[a]=this[a].bind(this));this.nativeDraggable=!t.forceFallback&&De,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,H())}function Ye(e,t,n,o,i,a,r,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=a||j(t),d.willInsertAfter=c,d.originalEvent=r,e.dispatchEvent(d),f&&(u=f.call(h,d,r)),u}function Re(e){e.draggable=!1}function He(){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 Ve(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,a=e.type,r=e.touches&&e.touches[0]||e.pointerType&&"touch"===e.pointerType&&e,s=(r||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(a)&&0!==e.button||o.disabled||l.isContentEditable||(s=y(s,o.draggable,n,!1))&&s.animated||Z===s)){if(te=T(s),oe=T(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}),$("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}),$("filter",t,{evt:e}),!0}))))return void(i&&e.cancelable&&e.preventDefault());o.handle&&!y(l,o.handle,n,!1)||this._prepareDragStart(e,r,s)}}},_prepareDragStart:function(e,t,n){var o,i=this,a=i.el,r=i.options,d=a.ownerDocument;if(n&&!U&&n.parentNode===a){var u=j(n);if(X=a,q=(U=n).parentNode,K=U.nextSibling,Z=n,ae=r.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(){$("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,r.chosenClass,!0))},r.ignore.split(",").forEach((function(e){x(U,e.trim(),Re)})),p(d,"dragover",Ne),p(d,"mousemove",Ne),p(d,"touchmove",Ne),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),$("delayStart",this,{evt:e}),!r.delay||r.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),r.supportPointer&&p(d,"pointermove",i._delayedDragTouchMoveHandler),i._dragStartTimer=setTimeout(o,r.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?Ve((function(){document.selection.empty()})):window.getSelection().removeAllRanges()}catch(e){}},_dragStarted:function(e,t){if(ye=!1,X&&U){$("dragStarted",this,{evt:t}),this.nativeDraggable&&p(document,"dragover",Pe);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,a=G&&O(G,!0),r=G&&a&&a.a,s=G&&a&&a.d,l=Ee&&ve&&W(ve),c=(i.clientX-se.clientX+o.x)/(r||1)+(l?l[0]-Oe[0]:0)/(r||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))<n)return;this._onDragStart(e,!0)}if(G){a?(a.e+=c-(ce||0),a.f+=d-(de||0)):a={a:1,b:0,c:0,d:1,e:c,f:d};var u="matrix(".concat(a.a,",").concat(a.b,",").concat(a.c,",").concat(a.d,",").concat(a.e,",").concat(a.f,")");S(G,"webkitTransform",u),S(G,"mozTransform",u),S(G,"msTransform",u),S(G,"transform",u),ce=c,de=d,le=i}e.cancelable&&e.preventDefault()}},_appendGhost:function(){if(!G){var e=this.options.fallbackOnBody?document.body:X,t=j(U,!0,Ee,!0,e),n=this.options;if(Ee){for(ve=e;"static"===S(ve,"position")&&"none"===S(ve,"transform")&&ve!==document;)ve=ve.parentNode;ve!==document.body&&ve!==document.documentElement?(ve===document&&(ve=k()),t.top+=ve.scrollTop,t.left+=ve.scrollLeft):ve=k(),Oe=W(ve)}w(G=U.cloneNode(!0),n.ghostClass,!1),w(G,n.fallbackClass,!0),w(G,n.dragClass,!0),S(G,"transition",""),S(G,"transform",""),S(G,"box-sizing","border-box"),S(G,"margin",0),S(G,"top",t.top),S(G,"left",t.left),S(G,"width",t.width),S(G,"height",t.height),S(G,"opacity","0.8"),S(G,"position",Ee?"absolute":"fixed"),S(G,"zIndex","100000"),S(G,"pointerEvents","none"),Ie.ghost=G,e.appendChild(G),S(G,"transform-origin",ue/parseInt(G.style.width)*100+"% "+he/parseInt(G.style.height)*100+"%")}},_onDragStart:function(e,t){var n=this,o=e.dataTransfer,i=n.options;$("dragStart",this,{evt:e}),Ie.eventCanceled?this._onDrop():($("setupClone",this),Ie.eventCanceled||((J=P(U)).draggable=!1,J.style["will-change"]="",this._hideClone(),w(J,this.options.chosenClass,!1),Ie.clone=J),n.cloneId=Ve((function(){$("clone",n),Ie.eventCanceled||(n.options.removeCloneOnHide||X.insertBefore(J,U),n._hideClone(),z({sortable:n,name:"clone"}))})),!t&&w(U,i.dragClass,!0),t?(be=!0,n._loopId=setInterval(n._emulateDragOver,50)):(m(document,"mouseup",n._onDrop),m(document,"touchend",n._onDrop),m(document,"touchcancel",n._onDrop),o&&(o.effectAllowed="move",i.setData&&i.setData.call(n,o,U)),p(document,"drop",n),S(U,"transform","translateZ(0)")),ye=!0,n._dragStartId=Ve(n._dragStarted.bind(n,t,e)),p(document,"selectstart",n),fe=!0,d&&S(document.body,"user-select","none"))},_onDragOver:function(e){var t,n,i,a,r=this.el,s=e.target,l=this.options,c=l.group,d=Ie.active,u=ae===c,h=l.sort,f=re||d,p=this,m=!1;if(!xe){if(void 0!==e.preventDefault&&e.cancelable&&e.preventDefault(),s=y(s,l.draggable,r,!0),I("dragOver"),Ie.eventCanceled)return m;if(U.contains(e.target)||s.animated&&s.animatingX&&s.animatingY||p._ignoreWhileAnimating===s)return H(!1);if(be=!1,d&&!l.disabled&&(u?h||(i=!X.contains(U)):re===this||(this.lastPutMode=ae.checkPull(this,d,U,e))&&c.checkPut(this,d,U,e))){if(a="vertical"===this._getDirection(e,s),t=j(U),I("dragOverValid"),Ie.eventCanceled)return m;if(i)return q=X,Y(),this._hideClone(),I("revert"),Ie.eventCanceled||(K?X.insertBefore(U,K):X.appendChild(U)),H(!0);var g=D(r,l.draggable);if(!g||function(e,t,n){var o=j(D(n.el,n.options.draggable)),i=10;return t?e.clientX>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,a,this)&&!g.animated){if(g===U)return H(!1);if(g&&r===e.target&&(s=g),s&&(n=j(s)),!1!==Ye(X,r,U,t,s,n,e,!!s))return Y(),r.appendChild(U),q=r,Q(),H(!0)}else if(s.parentNode===r){n=j(s);var v,b,_,O=U.parentNode!==r,x=!function(e,t,n){var o=n?e.left:e.top,i=n?e.right:e.bottom,a=n?e.width:e.height,r=n?t.left:t.top,s=n?t.right:t.bottom,l=n?t.width:t.height;return o===r||i===s||o+a/2===r+l/2}(U.animated&&U.toRect||t,s.animated&&s.toRect||n,a),k=a?"top":"left",C=E(s,"top","top")||E(U,"top","top"),W=C?C.scrollTop:void 0;if(pe!==s&&(b=n[k],we=!1,Se=!x&&l.invertSwap||O),v=function(e,t,n,o,i,a,r,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(!r)if(s&&ge<c*i){if(!we&&(1===me?l>d+c*a/2:l<u-c*a/2)&&(we=!0),we)h=!0;else if(1===me?l<d+ge:l>u-ge)return-me}else if(l>d+c*(1-i)/2&&l<u-c*(1-i)/2)return function(e){return T(U)<T(e)?1:-1}(t);if((h=h||r)&&(l<d+c*a/2||l>u-c*a/2))return l>d+c/2?1:-1;return 0}(e,s,n,a,x?1:l.swapThreshold,null==l.invertedSwapThreshold?l.swapThreshold:l.invertedSwapThreshold,Se,pe===s),0!==v){var A=T(U);do{A-=v,_=q.children[A]}while(_&&("none"===S(_,"display")||_===G))}if(0===v||_===s)return H(!1);pe=s,me=v;var M=s.nextElementSibling,L=!1,P=Ye(X,r,U,t,s,n,e,L=1===v);if(!1!==P)return 1!==P&&-1!==P||(L=1===P),xe=!0,setTimeout(He,30),Y(),L&&!M?r.appendChild(U):s.parentNode.insertBefore(U,L?M:s),C&&N(C,0,W-C.scrollTop),q=U.parentNode,void 0===b||Se||(ge=Math.abs(b-j(s)[k])),Q(),H(!0)}if(r.contains(U))return H(!1)}return!1}function I(l,c){$(l,p,o({evt:e,isOwner:u,axis:a?"vertical":"horizontal",revert:i,dragRect:t,targetRect:n,canSort:h,fromSortable:f,target:s,completed:H,onMove:function(n,o){return Ye(X,r,U,t,n,j(n),e,o)},changed:Q},c))}function Y(){I("dragOverAnimationCapture"),p.captureAnimationState(),p!==f&&f.captureAnimationState()}function H(t){return I("dragOverCompleted",{insertion:t}),t&&(u?d._hideClone():d._showClone(p),p!==f&&(w(U,re?re.options.ghostClass:d.options.ghostClass,!1),w(U,l.ghostClass,!0)),re!==p&&p!==Ie.active?re=p:p===Ie.active&&re&&(re=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===r&&!s.animated)&&(pe=null),l.dragoverBubble||e.rootEl||s===document||(U.parentNode[R]._isOutsideThisEl(e.target),!t&&Ne(e)),!l.dragoverBubble&&e.stopPropagation&&e.stopPropagation(),m=!0}function Q(){ne=T(U),ie=T(U,l.draggable),z({sortable:p,name:"change",toEl:r,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",Ne),m(document,"mousemove",Ne),m(document,"touchmove",Ne)},_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=T(U),ie=T(U,n.draggable),$("drop",this,{evt:e}),q=U&&U.parentNode,ne=T(U),ie=T(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||re&&"clone"!==re.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,re?re.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})),re&&re.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(){$("nulling",this),X=U=q=G=K=J=Z=ee=se=le=fe=ne=ie=te=oe=pe=me=re=ae=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,a=this.options;o<i;o++)y(e=n[o],a.draggable,this.el,!1)&&t.push(e.getAttribute(a.dataIdAttr)||Qe(e));return t},sort:function(e){var t={},n=this.el;this.toArray().forEach((function(e,o){var i=n.children[o];y(i,this.options.draggable,n,!1)&&(t[e]=i)}),this),e.forEach((function(e){t[e]&&(n.removeChild(t[e]),n.appendChild(t[e]))}))},save:function(){var e=this.options.store;e&&e.set&&e.set(this)},closest:function(e,t){return y(e,t||this.options.draggable,this.el,!1)},option:function(e,t){var n=this.options;if(void 0===t)return n[e];var o=F.modifyOption(this,e,t);n[e]=void 0!==o?o:t,"group"===e&&Ae(n)},destroy:function(){$("destroy",this);var e=this.el;e[R]=null,m(e,"mousedown",this._onTapStart),m(e,"touchstart",this._onTapStart),m(e,"pointerdown",this._onTapStart),this.nativeDraggable&&(m(e,"dragover",this),m(e,"dragenter",this)),Array.prototype.forEach.call(e.querySelectorAll("[draggable]"),(function(e){e.removeAttribute("draggable")})),this._onDrop(),this._disableDelayedDragEvents(),_e.splice(_e.indexOf(this.el),1),this.el=e=null},_hideClone:function(){if(!ee){if($("hideClone",this),Ie.eventCanceled)return;S(J,"display","none"),this.options.removeCloneOnHide&&J.parentNode&&J.parentNode.removeChild(J),ee=!0}},_showClone:function(e){if("clone"===e.lastPutMode){if(ee){if($("showClone",this),Ie.eventCanceled)return;X.contains(U)&&!this.options.group.revertClone?X.insertBefore(J,U):K?X.insertBefore(J,K):X.appendChild(J),this.options.group.revertClone&&this.animate(U,J),S(J,"display",""),ee=!1}}else this._hideClone()}},je&&p(document,"touchmove",(function(e){(Ie.active||ye)&&e.cancelable&&e.preventDefault()})),Ie.utils={on:p,off:m,css:S,find:x,is:function(e,t){return!!y(e,t,e,!1)},extend:function(e,t){if(e&&t)for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e},throttle:L,closest:y,toggleClass:w,clone:P,index:T,nextTick:Ve,cancelNextTick:Fe,detectDirection:We,getChild:C},Ie.get=function(e){return e[R]},Ie.mount=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];t[0].constructor===Array&&(t=t[0]),t.forEach((function(e){if(!e.prototype||!e.prototype.constructor)throw"Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(e));e.utils&&(Ie.utils=o({},Ie.utils,e.utils)),F.mount(e)}))},Ie.create=function(e,t){return new Ie(e,t)},Ie.version="1.10.2";var Be,$e,ze,Ue,qe,Ge,Xe=[],Ke=!1;function Ze(){Xe.forEach((function(e){clearInterval(e.pid)})),Xe=[]}function Je(){clearInterval(Ge)}var et,tt=L((function(e,t,n,o){if(t.scroll){var i,a=(e.touches?e.touches[0]:e).clientX,r=(e.touches?e.touches[0]:e).clientY,s=t.scrollSensitivity,l=t.scrollSpeed,c=k(),d=!1;$e!==n&&($e=n,Ze(),Be=t.scroll,i=t.scrollFn,!0===Be&&(Be=A(n,!0)));var u=0,h=Be;do{var f=h,p=j(f),m=p.top,g=p.bottom,v=p.left,y=p.right,b=p.width,_=p.height,w=void 0,O=void 0,x=f.scrollWidth,E=f.scrollHeight,C=S(f),D=f.scrollLeft,T=f.scrollTop;f===c?(w=b<x&&("auto"===C.overflowX||"scroll"===C.overflowX||"visible"===C.overflowX),O=_<E&&("auto"===C.overflowY||"scroll"===C.overflowY||"visible"===C.overflowY)):(w=b<x&&("auto"===C.overflowX||"scroll"===C.overflowX),O=_<E&&("auto"===C.overflowY||"scroll"===C.overflowY));var W=w&&(Math.abs(y-a)<=s&&D+b<x)-(Math.abs(v-a)<=s&&!!D),M=O&&(Math.abs(g-r)<=s&&T+_<E)-(Math.abs(m-r)<=s&&!!T);if(!Xe[u])for(var L=0;L<=u;L++)Xe[L]||(Xe[L]={});Xe[u].vx==W&&Xe[u].vy==M&&Xe[u].el===f||(Xe[u].el=f,Xe[u].vx=W,Xe[u].vy=M,clearInterval(Xe[u].pid),0==W&&0==M||(d=!0,Xe[u].pid=setInterval(function(){o&&0===this.layer&&Ie.active._onTouchMove(qe);var t=Xe[this.layer].vy?Xe[this.layer].vy*l:0,n=Xe[this.layer].vx?Xe[this.layer].vx*l:0;"function"==typeof i&&"continue"!==i.call(Ie.dragged.parentNode[R],n,t,e,qe,Xe[this.layer].el)||N(Xe[this.layer].el,n,t)}.bind({layer:u}),24))),u++}while(t.bubbleScroll&&h!==c&&(h=A(h,!1)));Ke=d}}),30),nt=function(e){var t=e.originalEvent,n=e.putSortable,o=e.dragEl,i=e.activeSortable,a=e.dispatchSortableEvent,r=e.hideGhostForTarget,s=e.unhideGhostForTarget;if(t){var l=n||i;r();var c=t.changedTouches&&t.changedTouches.length?t.changedTouches[0]:t,d=document.elementFromPoint(c.clientX,c.clientY);s(),l&&!l.el.contains(d)&&(a("spill"),this.onSpill({dragEl:o,putSortable:n}))}};function ot(){}function it(){}ot.prototype={startIndex:null,dragStart:function(e){var t=e.oldDraggableIndex;this.startIndex=t},onSpill:function(e){var t=e.dragEl,n=e.putSortable;this.sortable.captureAnimationState(),n&&n.captureAnimationState();var o=C(this.sortable.el,this.startIndex,this.options);o?this.sortable.el.insertBefore(t,o):this.sortable.el.appendChild(t),this.sortable.animateAll(),n&&n.animateAll()},drop:nt},n(ot,{pluginName:"revertOnSpill"}),it.prototype={onSpill:function(e){var t=e.dragEl,n=e.putSortable||this.sortable;n.captureAnimationState(),t.parentNode&&t.parentNode.removeChild(t),n.animateAll()},drop:nt},n(it,{pluginName:"removeOnSpill"});var at,rt,st,lt,ct,dt=[],ut=[],ht=!1,ft=!1,pt=!1;function mt(e,t){ut.forEach((function(n,o){var i=t.children[n.sortableIndex+(e?Number(o):0)];i?t.insertBefore(n,i):t.appendChild(n)}))}function gt(){dt.forEach((function(e){e!==st&&e.parentNode&&e.parentNode.removeChild(e)}))}return Ie.mount(new function(){function e(){for(var e in this.defaults={scroll:!0,scrollSensitivity:30,scrollSpeed:10,bubbleScroll:!0},this)"_"===e.charAt(0)&&"function"==typeof this[e]&&(this[e]=this[e].bind(this))}return e.prototype={dragStarted:function(e){var t=e.originalEvent;this.sortable.nativeDraggable?p(document,"dragover",this._handleAutoScroll):this.options.supportPointer?p(document,"pointermove",this._handleFallbackAutoScroll):t.touches?p(document,"touchmove",this._handleFallbackAutoScroll):p(document,"mousemove",this._handleFallbackAutoScroll)},dragOverCompleted:function(e){var t=e.originalEvent;this.options.dragOverBubble||t.rootEl||this._handleAutoScroll(t)},drop:function(){this.sortable.nativeDraggable?m(document,"dragover",this._handleAutoScroll):(m(document,"pointermove",this._handleFallbackAutoScroll),m(document,"touchmove",this._handleFallbackAutoScroll),m(document,"mousemove",this._handleFallbackAutoScroll)),Je(),Ze(),clearTimeout(b),b=void 0},nulling:function(){qe=$e=Be=Ke=Ge=ze=Ue=null,Xe.length=0},_handleFallbackAutoScroll:function(e){this._handleAutoScroll(e,!0)},_handleAutoScroll:function(e,t){var n=this,o=(e.touches?e.touches[0]:e).clientX,i=(e.touches?e.touches[0]:e).clientY,a=document.elementFromPoint(o,i);if(qe=e,t||l||s||d){tt(e,this.options,a,t);var r=A(a,!0);!Ke||Ge&&o===ze&&i===Ue||(Ge&&Je(),Ge=setInterval((function(){var a=A(document.elementFromPoint(o,i),!0);a!==r&&(r=a,Ze()),tt(e,n.options,a,t)}),10),ze=o,Ue=i)}else{if(!this.options.bubbleScroll||A(a,!0)===k())return void Ze();tt(e,this.options,A(a,!1),!1)}}},n(e,{pluginName:"scroll",initializeByDefault:!0})}),Ie.mount(it,ot),Ie.mount(new function(){function e(){this.defaults={swapClass:"sortable-swap-highlight"}}return e.prototype={dragStart:function(e){var t=e.dragEl;et=t},dragOverValid:function(e){var t=e.completed,n=e.target,o=e.onMove,i=e.activeSortable,a=e.changed,r=e.cancel;if(i.options.swap){var s=this.sortable.el,l=this.options;if(n&&n!==s){var c=et;!1!==o(n)?(w(n,l.swapClass,!0),et=n):et=null,c&&c!==et&&w(c,l.swapClass,!1)}a(),t(!0),r()}},drop:function(e){var t=e.activeSortable,n=e.putSortable,o=e.dragEl,i=n||this.sortable,a=this.options;et&&w(et,a.swapClass,!1),et&&(a.swap||n&&n.options.swap)&&o!==et&&(i.captureAnimationState(),i!==t&&t.captureAnimationState(),function(e,t){var n,o,i=e.parentNode,a=t.parentNode;if(!i||!a||i.isEqualNode(t)||a.isEqualNode(e))return;n=T(e),o=T(t),i.isEqualNode(a)&&n<o&&o++;i.insertBefore(t,i.children[n]),a.insertBefore(e,a.children[o])}(o,et),i.animateAll(),i!==t&&t.animateAll())},nulling:function(){et=null}},n(e,{pluginName:"swap",eventProperties:function(){return{swapItem:et}}})}),Ie.mount(new function(){function e(e){for(var t in this)"_"===t.charAt(0)&&"function"==typeof this[t]&&(this[t]=this[t].bind(this));e.options.supportPointer?p(document,"pointerup",this._deselectMultiDrag):(p(document,"mouseup",this._deselectMultiDrag),p(document,"touchend",this._deselectMultiDrag)),p(document,"keydown",this._checkKeyDown),p(document,"keyup",this._checkKeyUp),this.defaults={selectedClass:"sortable-selected",multiDragKey:null,setData:function(t,n){var o="";dt.length&&rt===e?dt.forEach((function(e,t){o+=(t?", ":"")+e.textContent})):o=n.textContent,t.setData("Text",o)}}}return e.prototype={multiDragKeyDown:!1,isMultiDrag:!1,delayStartGlobal:function(e){var t=e.dragEl;st=t},delayEnded:function(){this.isMultiDrag=~dt.indexOf(st)},setupClone:function(e){var t=e.sortable,n=e.cancel;if(this.isMultiDrag){for(var o=0;o<dt.length;o++)ut.push(P(dt[o])),ut[o].sortableIndex=dt[o].sortableIndex,ut[o].draggable=!1,ut[o].style["will-change"]="",w(ut[o],this.options.selectedClass,!1),dt[o]===st&&w(ut[o],this.options.chosenClass,!1);t._hideClone(),n()}},clone:function(e){var t=e.sortable,n=e.rootEl,o=e.dispatchSortableEvent,i=e.cancel;this.isMultiDrag&&(this.options.removeCloneOnHide||dt.length&&rt===t&&(mt(!0,n),o("clone"),i()))},showClone:function(e){var t=e.cloneNowShown,n=e.rootEl,o=e.cancel;this.isMultiDrag&&(mt(!1,n),ut.forEach((function(e){S(e,"display","")})),t(),ct=!1,o())},hideClone:function(e){var t=this,n=(e.sortable,e.cloneNowHidden),o=e.cancel;this.isMultiDrag&&(ut.forEach((function(e){S(e,"display","none"),t.options.removeCloneOnHide&&e.parentNode&&e.parentNode.removeChild(e)})),n(),ct=!0,o())},dragStartGlobal:function(e){e.sortable;!this.isMultiDrag&&rt&&rt.multiDrag._deselectMultiDrag(),dt.forEach((function(e){e.sortableIndex=T(e)})),dt=dt.sort((function(e,t){return e.sortableIndex-t.sortableIndex})),pt=!0},dragStarted:function(e){var t=this,n=e.sortable;if(this.isMultiDrag){if(this.options.sort&&(n.captureAnimationState(),this.options.animation)){dt.forEach((function(e){e!==st&&S(e,"position","absolute")}));var o=j(st,!1,!0,!0);dt.forEach((function(e){e!==st&&I(e,o)})),ft=!0,ht=!0}n.animateAll((function(){ft=!1,ht=!1,t.options.animation&&dt.forEach((function(e){Y(e)})),t.options.sort&&gt()}))}},dragOver:function(e){var t=e.target,n=e.completed,o=e.cancel;ft&&~dt.indexOf(t)&&(n(!1),o())},revert:function(e){var t=e.fromSortable,n=e.rootEl,o=e.sortable,i=e.dragRect;dt.length>1&&(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,a=e.parentEl,r=e.putSortable,s=this.options;if(o){if(n&&i._hideClone(),ht=!1,s.animation&&dt.length>1&&(ft||!n&&!i.options.sort&&!r)){var l=j(st,!1,!0,!0);dt.forEach((function(e){e!==st&&(I(e,l),a.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 a=O(st,!0);lt.top-=a.f,lt.left-=a.e}},dragOverAnimationComplete:function(){ft&&(ft=!1,gt())},drop:function(e){var t=e.originalEvent,n=e.rootEl,o=e.parentEl,i=e.sortable,a=e.dispatchSortableEvent,r=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),at=null,B({sortable:i,rootEl:n,name:"deselect",targetEl:st,originalEvt:t});else{if(dt.push(st),B({sortable:i,rootEl:n,name:"select",targetEl:st,originalEvt:t}),t.shiftKey&&at&&i.el.contains(at)){var u,h,f=T(at),p=T(st);if(~f&&~p&&f!==p)for(p>f?(h=f,u=p):(h=p,u=f+1);h<u;h++)~dt.indexOf(d[h])||(w(d[h],c.selectedClass,!0),dt.push(d[h]),B({sortable:i,rootEl:n,name:"select",targetEl:d[h],originalEvt:t}))}else at=st;rt=l}if(pt&&this.isMultiDrag){if((o[R].options.sort||o!==n)&&dt.length>1){var m=j(st),g=T(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++})),r===T(st))){var v=!1;dt.forEach((function(e){e.sortableIndex===T(e)||(v=!0)})),v&&a("update")}dt.forEach((function(e){Y(e)})),l.animateAll()}rt=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||rt!==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(),B({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)&&(rt&&rt!==t&&(rt.multiDrag._deselectMultiDrag(),rt=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?T(o,":not(."+e.options.selectedClass+")"):T(o),n.push({multiDragElement:o,index:i})})),{items:a(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;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}();var i=n(1),a=n(3),r=function(){function e(t,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),i.initializer.load(this,n,t),this.begin()}return o(e,[{key:"toggle",value:function(){this.pause.status?this.start():this.stop()}},{key:"stop",value:function(){this.typingComplete||this.pause.status||(this.toggleBlinking(!0),this.pause.status=!0,this.options.onStop(this.arrayPos,this))}},{key:"start",value:function(){this.typingComplete||this.pause.status&&(this.pause.status=!1,this.pause.typewrite?this.typewrite(this.pause.curString,this.pause.curStrPos):this.backspace(this.pause.curString,this.pause.curStrPos),this.options.onStart(this.arrayPos,this))}},{key:"destroy",value:function(){this.reset(!1),this.options.onDestroy(this)}},{key:"reset",value:function(){var e=arguments.length<=0||void 0===arguments[0]||arguments[0];clearInterval(this.timeout),this.replaceText(""),this.cursor&&this.cursor.parentNode&&(this.cursor.parentNode.removeChild(this.cursor),this.cursor=null),this.strPos=0,this.arrayPos=0,this.curLoop=0,e&&(this.insertCursor(),this.options.onReset(this),this.begin())}},{key:"begin",value:function(){var e=this;this.options.onBegin(this),this.typingComplete=!1,this.shuffleStringsIfNeeded(this),this.insertCursor(),this.bindInputFocusEvents&&this.bindFocusEvents(),this.timeout=setTimeout((function(){e.currentElContent&&0!==e.currentElContent.length?e.backspace(e.currentElContent,e.currentElContent.length):e.typewrite(e.strings[e.sequence[e.arrayPos]],e.strPos)}),this.startDelay)}},{key:"typewrite",value:function(e,t){var n=this;this.fadeOut&&this.el.classList.contains(this.fadeOutClass)&&(this.el.classList.remove(this.fadeOutClass),this.cursor&&this.cursor.classList.remove(this.fadeOutClass));var o=this.humanizer(this.typeSpeed),i=1;!0!==this.pause.status?this.timeout=setTimeout((function(){t=a.htmlParser.typeHtmlChars(e,t,n);var o=0,r=e.substr(t);if("^"===r.charAt(0)&&/^\^\d+/.test(r)){var s=1;s+=(r=/\d+/.exec(r)[0]).length,o=parseInt(r),n.temporaryPause=!0,n.options.onTypingPaused(n.arrayPos,n),e=e.substring(0,t)+e.substring(t+s),n.toggleBlinking(!0)}if("`"===r.charAt(0)){for(;"`"!==e.substr(t+i).charAt(0)&&(i++,!(t+i>e.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=a.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=r,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<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},i=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}();var a,r=n(2),s=(a=r)&&a.__esModule?a:{default:a},l=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}return i(e,[{key:"load",value:function(e,t,n){if(e.el="string"==typeof n?document.querySelector(n):n,e.options=o({},s.default,t),e.isInput="input"===e.el.tagName.toLowerCase(),e.attr=e.options.attr,e.bindInputFocusEvents=e.options.bindInputFocusEvents,e.showCursor=!e.isInput&&e.options.showCursor,e.cursorChar=e.options.cursorChar,e.cursorBlinking=!0,e.elContent=e.attr?e.el.getAttribute(e.attr):e.el.textContent,e.contentType=e.options.contentType,e.typeSpeed=e.options.typeSpeed,e.startDelay=e.options.startDelay,e.backSpeed=e.options.backSpeed,e.smartBackspace=e.options.smartBackspace,e.backDelay=e.options.backDelay,e.fadeOut=e.options.fadeOut,e.fadeOutClass=e.options.fadeOutClass,e.fadeOutDelay=e.options.fadeOutDelay,e.isPaused=!1,e.strings=e.options.strings.map((function(e){return e.trim()})),"string"==typeof e.options.stringsElement?e.stringsElement=document.querySelector(e.options.stringsElement):e.stringsElement=e.options.stringsElement,e.stringsElement){e.strings=[],e.stringsElement.style.display="none";var i=Array.prototype.slice.apply(e.stringsElement.children),a=i.length;if(a)for(var r=0;r<a;r+=1){var l=i[r];e.strings.push(l.innerHTML.trim())}}for(var r in e.strPos=0,e.arrayPos=0,e.stopNum=0,e.loop=e.options.loop,e.loopCount=e.options.loopCount,e.curLoop=0,e.shuffle=e.options.shuffle,e.sequence=[],e.pause={status:!1,typewrite:!0,curString:"",curStrPos:0},e.typingComplete=!1,e.strings)e.sequence[r]=r;e.currentElContent=this.getCurrentElContent(e),e.autoInsertCss=e.options.autoInsertCss,this.appendAnimationCss(e)}},{key:"getCurrentElContent",value:function(e){return e.attr?e.el.getAttribute(e.attr):e.isInput?e.el.value:"html"===e.contentType?e.el.innerHTML:e.el.textContent}},{key:"appendAnimationCss",value:function(e){var t="data-typed-js-css";if(e.autoInsertCss&&(e.showCursor||e.fadeOut)&&!document.querySelector("["+t+"]")){var n=document.createElement("style");n.type="text/css",n.setAttribute(t,!0);var o="";e.showCursor&&(o+="\n .typed-cursor{\n opacity: 1;\n }\n .typed-cursor.typed-cursor--blink{\n animation: typedjsBlink 0.7s infinite;\n -webkit-animation: typedjsBlink 0.7s infinite;\n animation: typedjsBlink 0.7s infinite;\n }\n @keyframes typedjsBlink{\n 50% { opacity: 0.0; }\n }\n @-webkit-keyframes typedjsBlink{\n 0% { opacity: 1; }\n 50% { opacity: 0.0; }\n 100% { opacity: 1; }\n }\n "),e.fadeOut&&(o+="\n .typed-fade-out{\n opacity: 0;\n transition: opacity .25s;\n }\n .typed-cursor.typed-cursor--blink.typed-fade-out{\n -webkit-animation: 0;\n animation: 0;\n }\n "),0!==n.length&&(n.innerHTML=o,document.body.appendChild(n))}}}]),e}();t.default=l;var c=new l;t.initializer=c},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={strings:["These are the default values...","You know what you should do?","Use your own!","Have a great day!"],stringsElement:null,typeSpeed:0,startDelay:0,backSpeed:0,smartBackspace:!0,shuffle:!1,backDelay:700,fadeOut:!1,fadeOutClass:"typed-fade-out",fadeOutDelay:500,loop:!1,loopCount:1/0,showCursor:!0,cursorChar:"|",autoInsertCss:!0,attr:null,bindInputFocusEvents:!1,contentType:"html",onBegin:function(e){},onComplete:function(e){},preStringTyped:function(e,t){},onStringTyped:function(e,t){},onLastStringBackspaced:function(e){},onTypingPaused:function(e,t){},onTypingResumed:function(e,t){},onReset:function(e){},onStop:function(e,t){},onStart:function(e,t){},onDestroy:function(e){}};t.default=n,e.exports=t.default},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}();var o=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}return n(e,[{key:"typeHtmlChars",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+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;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},a=(o(n(1)),n(6)),r=o(a),s=o(n(7)),l=o(n(8)),c=o(n(9)),d=o(n(10)),u=o(n(11)),h=o(n(14)),f=[],p=!1,m={offset:120,delay:0,easing:"ease",duration:400,disable:!1,once:!1,startEvent:"DOMContentLoaded",throttleDelay:99,debounceDelay:50,disableMutationObserver:!1},g=function(){var e=arguments.length>0&&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,r.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 r(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 r(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=a(t)||0,o(n)&&(S=!!n.leading,p=(O="maxWait"in n)?b(a(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":r(e);return!!e&&("object"==t||"function"==t)}function i(e){return"symbol"==(void 0===e?"undefined":r(e))||function(e){return!!e&&"object"==(void 0===e?"undefined":r(e))}(e)&&y.call(e)==c}function a(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 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},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":r(t))&&t&&t.Object===Object&&t,g="object"==("undefined"==typeof self?"undefined":r(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 a=!0,r=!0;if("function"!=typeof e)throw new TypeError(s);return o(i)&&(a="leading"in i?!!i.leading:a,r="trailing"in i?!!i.trailing:r),n(e,t,{leading:a,maxWait:t,trailing:r})}}).call(t,function(){return this}())},function(e,t){(function(t){"use strict";function n(e){var t=void 0===e?"undefined":a(e);return!!e&&("object"==t||"function"==t)}function o(e){return"symbol"==(void 0===e?"undefined":a(e))||function(e){return!!e&&"object"==(void 0===e?"undefined":a(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 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},r="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":a(t))&&t&&t.Object===Object&&t,m="object"==("undefined"==typeof self?"undefined":a(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 a(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?a(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?a(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),a(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(r);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;t<e.length;t+=1){if((o=e[t]).dataset&&o.dataset.aos)return!0;if(o.children&&n(o.children))return!0}return!1}function o(){return window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver}function i(e){e&&e.forEach((function(e){var t=Array.prototype.slice.call(e.addedNodes),o=Array.prototype.slice.call(e.removedNodes);if(n(t.concat(o)))return a()}))}Object.defineProperty(t,"__esModule",{value:!0});var a=function(){};t.default={isSupported:function(){return!!o()},ready:function(e,t){var n=window.document,r=new(o())(i);a=t,r.observe(n.documentElement,{childList:!0,subtree:!0,removedNodes:!0})}}},function(e,t){"use strict";function n(){return navigator.userAgent||navigator.vendor||window.opera||""}Object.defineProperty(t,"__esModule",{value:!0});var o=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),i=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i,a=/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i,r=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i,s=/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i,l=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}return o(e,[{key:"phone",value:function(){var e=n();return!(!i.test(e)&&!a.test(e.substr(0,4)))}},{key:"mobile",value:function(){var e=n();return!(!r.test(e)&&!s.test(e.substr(0,4)))}},{key:"tablet",value:function(){return this.mobile()&&!this.phone()}}]),e}();t.default=new l},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default=function(e,t){var n=window.pageYOffset,o=window.innerHeight;e.forEach((function(e,i){!function(e,t,n){var o=e.node.getAttribute("data-aos-once");t>e.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,a=window.innerHeight,r={offset:e.getAttribute("data-aos-offset"),anchor:e.getAttribute("data-aos-anchor"),anchorPlacement:e.getAttribute("data-aos-anchor-placement")};switch(r.offset&&!isNaN(r.offset)&&(i=parseInt(r.offset)),r.anchor&&document.querySelectorAll(r.anchor)&&(e=document.querySelectorAll(r.anchor)[0]),n=(0,o.default)(e).top,r.anchorPlacement){case"top-bottom":break;case"center-bottom":n+=e.offsetHeight/2;break;case"bottom-bottom":n+=e.offsetHeight;break;case"top-center":n+=a/2;break;case"bottom-center":n+=a/2+e.offsetHeight;break;case"center-center":n+=a/2+e.offsetHeight/2;break;case"top-top":n+=a;break;case"bottom-top":n+=e.offsetHeight+a;break;case"center-top":n+=e.offsetHeight/2+a}return r.anchorPlacement||r.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,a,r,s,l,c,d,u,h="<div></div>",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 r=!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){r=!1,E(),o.unbind(".slimscroll")})),!1})).bind("selectstart.slimscroll",(function(e){return e.stopPropagation(),e.preventDefault(),!1})),_.hover((function(){j()}),(function(){E()})),w.hover((function(){a=!0}),(function(){a=!1})),p.hover((function(){i=!0,j(),E()}),(function(){i=!1,E()})),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 a=t.target||t.srcTarget||t.srcElement;e(a).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,a=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),a),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 r=(i=e)/p[0].scrollHeight*p.outerHeight();r=Math.min(Math.max(r,0),a),w.css({top:r+"px"})}p.scrollTop(i),p.trigger("slimscrolling",~~i),j(),E()}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 E(){o.alwaysVisible||(s=setTimeout((function(){o.disableFadeOut&&i||a||r||(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,a=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}(),r={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:'<button data-action="expand" type="button">Expand</button>',collapseBtnHTML:'<button data-action="collapse" type="button">Collapse</button>',group:0,maxDepth:5,threshold:20};function s(t,o){this.w=e(n),this.el=e(t),this.options=e.extend({},r,o),this.init()}s.prototype={init:function(){var n=this;n.reset(),n.el.data("nestable-group",this.options.group),n.placeEl=e('<div class="'+n.options.placeClass+'"/>'),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"),a=o.parent(n.options.itemNodeName);"collapse"===i&&n.collapseItem(a),"expand"===i&&n.expandItem(a)}}));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)))},a=function(e){n.dragEl&&(e.preventDefault(),n.dragMove(e.touches?e.touches[0]:e))},r=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",a,!1),t.addEventListener("touchend",r,!1),t.addEventListener("touchcancel",r,!1)),n.el.on("mousedown",o),n.w.on("mousemove",a),n.w.on("mouseup",r)},serialize:function(){var t=this;return step=function(n,o){var i=[];return n.children(t.options.itemNodeName).each((function(){var n=e(this),a=e.extend({},n.data()),r=n.children(t.options.listNodeName);r.length&&(a.children=step(r,o+1)),i.push(a)})),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,a=e(t.target),r=a.closest(this.options.itemNodeName);this.placeEl.css("height",r.height()),i.offsetX=t.offsetX!==o?t.offsetX:t.pageX-a.offset().left,i.offsetY=t.offsetY!==o?t.offsetY:t.pageY-a.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",r.width()),r.after(this.placeEl),r[0].parentNode.removeChild(r[0]),r.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;s<c.length;s++)(l=e(c[s]).parents(this.options.listNodeName).length)>this.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,r,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||(r=this.placeEl.parent(),this.placeEl.closest(l.itemNodeName).after(this.placeEl),r.children().length||this.unsetParent(r.parent()))));var u=!1;if(a||(this.dragEl[0].style.visibility="hidden"),this.pointEl=e(n.elementFromPoint(o.pageX-n.body.scrollLeft,o.pageY-(t.pageYOffset||n.documentElement.scrollTop))),a||(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<this.pointEl.offset().top+this.pointEl.height()/2;r=this.placeEl.parent(),u?((i=e(n.createElement(l.listNodeName)).addClass(l.listClass)).append(this.placeEl),this.pointEl.replaceWith(i)):p?this.pointEl.before(this.placeEl):this.pointEl.after(this.placeEl),r.children().length||this.unsetParent(r.parent()),this.dragRootEl.find(l.itemNodeName).length||this.dragRootEl.append('<div class="'+l.emptyClass+'"/>'),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),a=e.SOW.helper.check_var(o);if(this.selector=i[0],this.collection=i[1],this.selector_orig=i[2],this.config=null!==a?e.extend({},this.config,a):this.config,""!=n&&jQuery(this.selector).length<1)return null;if("function"!=typeof jarallax){var r=e.SOW.helper.vendorLogicPaths("jarallax");return""==r.path_js?(e.SOW.helper.consoleLog("Vendor Missing : "+t),null):(e.SOW.helper.loadScript([r.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),a=e.SOW.helper.check_var(o);if(this.selector=i[0],this.collection=i[1],this.selector_orig=i[2],this.config=null!==a?e.extend({},this.config,a):this.config,""!=n&&jQuery(this.selector).length<1)return null;if(!jQuery().stick_in_parent){var r=e.SOW.helper.vendorLogicPaths("sticky_kit");return""==r.path_js?(e.SOW.helper.consoleLog("Vendor Missing : "+t),null):(e.SOW.helper.loadScript([r.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 a=e.SOW.helper.__selector(n),r=e.SOW.helper.check_var(o);return this.selector=a[0],this.collection=a[1],this.config=null!==r?e.extend({},this.config,r):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")||"",a=t.data("put-denied")||"false",r=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:a+""!="true"})),s+""=="true"&&(u.sort=!1),""!=c&&(u.swapThreshold=swapThreshold),"nested"==r.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")||"",a=t.data("ajax-update-identifier")||"",r=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",a),""!=o)for(var c=e.SOW.helper.params_parse(o),d=0;d<c.length;++d)l.append(c[d][0],c[d][1]);for(d=0;d<n.length;++d)l.append("items[]",n[d]);e.ajax({url:i,cache:!1,contentType:!1,processData:!1,data:l,type:"POST",headers:e.SOW.vendor.sortable.headers,crossDomain:e.SOW.vendor.sortable.crossDomain,beforeSend:function(){},success:function(t){e.SOW.helper.consoleLog(t),"object"==typeof e.SOW.core.toast&&""!=r&&e.SOW.core.toast.show("success","",r,s,1800,!0)},error:function(t){e.SOW.helper.consoleLog(t),"object"==typeof e.SOW.core.toast?e.SOW.core.toast.show("danger","","404 Server Error!",s,4e3,!0):alert("404 Server Error!")}})}}}}(jQuery),function(e){"use strict";var t="Vendor Typed.js";e.SOW.vendor.typed={config:{},collection:e(),init:function(n,o){if(""!=n&&jQuery(n).length<1)return null;if("function"!=typeof Typed){var i=e.SOW.helper.vendorLogicPaths("typed");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 Typed?(e.SOW.helper.consoleLog("Vendor Missing : "+t),null):(e.SOW.vendor.typed.init(n,o),null)})),null)}var a=e.SOW.helper.__selector(n),r=e.SOW.helper.check_var(o);return this.selector=a[0],this.collection=a[1],this.selector_orig=a[2],this.config=null!==r?e.extend({},this.config,r):this.config,e.SOW.helper.consoleLog("Init : "+t),this.selector?this.collection.each((function(){e.SOW.vendor.typed.process(e(this))})):(e.SOW.vendor.typed.process(e(".typed")),e(".typed"))},process:function(t){if(!t.hasClass("js-typified")){var n=t.data("typed-string")||"",o=t.data("typed-source")||"",i=t.data("typed-speed-forward")||"",a=t.data("typed-speed-back")||"",r=t.data("typed-back-delay")||"",s=t.data("typed-loop-times")||"infinite",l=t.data("typed-smart-backspace")||"true",c=t.data("typed-shuffle")||"false",d=t.data("typed-cursor")||"|",u=t.attr("id")||"";if(t.addClass("js-typified"),""==i&&(i=80),""==a&&(a=i/2),""!=n||""!=o){if(""==u){u="rand_"+e.SOW.helper.randomStr(3);t.attr("id",u)}var h={typeSpeed:i||80,backSpeed:a,backDelay:r||700,smartBackspace:l+""=="true",shuffle:c+""=="true",loop:"0"!=s,loopCount:"infinite"==s?9999:s,showCursor:""!=d,cursorChar:d};""!=o?h.stringsElement=o:h.strings=n.split("|");var f=t[0].nodeName.toLowerCase();"input"!==f&&"textarea"!==f&&"select"!==f||(h.attr="placeholder",h.bindInputFocusEvents=!0,h.showCursor=!1);new Typed("#"+u,h)}}}}}(jQuery),function(e){"use strict";var t="Vendor Flickity [Ajax Reinit]";e.SOW.vendor.flickity={init:function(n,o){if(""!=n&&jQuery(n).length<1)return null;if("function"!=typeof Flickity){var i=e.SOW.helper.vendorLogicPaths("flickity");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 Flickity?(e.SOW.helper.consoleLog("Vendor Missing : "+t),null):(e.SOW.vendor.flickity.init(n,o),null)})),null)}jQuery(n).not(".js-flickity").addClass("js-flickity");for(var a=document.querySelectorAll(".js-flickity"),r=0,s=a.length;r<s;r++){if(!Flickity.data(a[r])){var l=a[r].getAttribute("data-flickity");if(l)(c=JSON.parse(l)).rightToLeft="rtl"==e.SOW.globals.direction,new Flickity(a[r],c);else var c={rightToLeft:"rtl"==e.SOW.globals.direction};new Flickity(a[r],c)}}return e.SOW.helper.consoleLog("Init : "+t),null}}}(jQuery),function(e){"use strict";var t="Vendor Fancybox";e.SOW.vendor.fancybox={config:{loop:!0,infobar:!0,protect:!1,transitionEffect:"zoom-in-out",transitionDuration:250},init:function(n,o){if(n||(this.selector="a.fancybox"),""!=n&&jQuery(n).length<1)return null;if(!jQuery().fancybox){var i=e.SOW.helper.vendorLogicPaths("fancybox");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().fancybox?(e.SOW.vendor.fancybox.init(n,o),null):(e.SOW.helper.consoleLog("Vendor Missing : "+t),null)})),null)}var a=e.SOW.helper.__selector(n),r=e.SOW.helper.check_var(o);return this.selector=a[0],this.collection=a[1],this.config=null!==r?e.extend({},this.config,r):this.config,e(this.selector).not(".js-fancyvified").addClass("js-fancyvified").fancybox({beforeShow:function(e,t){var n=t.opts.$orig,o="bg-secondary text-white";if(n.hasClass("fancybox-secondary"))o="bg-secondary text-white";else if(n.hasClass("fancybox-dark"))o="bg-dark text-white";else if(n.hasClass("fancybox-white"))o="bg-white text-dark";else if(n.hasClass("fancybox-dark"))o="bg-dark text-white";else if(n.hasClass("fancybox-primary"))o="bg-primary text-white";else if(n.hasClass("fancybox-success"))o="bg-success text-white";else if(n.hasClass("fancybox-danger"))o="bg-danger text-white";else if(n.hasClass("fancybox-warning"))o="bg-warning text-white";else if(n.hasClass("fancybox-info"))o="bg-info text-white";else if(n.hasClass("fancybox-pink"))o="bg-pink text-white";else if(n.hasClass("fancybox-purple"))o="bg-purple text-white";else if(n.hasClass("fancybox-indigo"))o="bg-indigo text-white";jQuery("button.fancybox-button").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("button.fancybox-button:not(.fancybox-button--close)").addClass(o)},afterLoad:function(e,t){var n=window.devicePixelRatio||1;n>1.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:'<div class="position-fixed fixed-bottom w-100 mb-3 z-index-9999 text-center shadow-none"><span class="bg-white d-inline-block px-4 rounded-lg shadow-lg"><i class="'+e.SOW.config.sow__icon_loading+' fs--30 text-muted"></i></span></div>',btnTpl:{download:'<a download data-fancybox-download class="fancybox-button fancybox-button--download rounded-circle p-0 m-3 fi fi-arrow-download bg-white text-dark shadow-xlg" title="{{DOWNLOAD}}" href="javascript:;"></a>',zoom:'<button data-fancybox-zoom class="fancybox-button fancybox-button--zoom rounded-circle p-0 m-3 fi fi-search bg-white text-dark shadow-xlg" title="{{ZOOM}}"></button>',close:'<button data-fancybox-close class="fancybox-button fancybox-button--close rounded-circle p-0 m-3 '+e.SOW.config.sow__icon_close+' bg-transparent fs--35" title="{{CLOSE}}"></button>',arrowLeft:'<button data-fancybox-prev class="fancybox-button fancybox-button--arrow_left rounded-circle p-0 m-3 fi fi-arrow-left bg-white text-dark shadow-xlg" title="{{PREV}}"></button>',arrowRight:'<button data-fancybox-next class="fancybox-button fancybox-button--arrow_right rounded-circle p-0 m-3 fi fi-arrow-right bg-white text-dark shadow-xlg" title="{{NEXT}}"></button>',smallBtn:'<button type="button" data-fancybox-close class="fancybox-button fancybox-close-small rounded-circle p-0 '+e.SOW.config.sow__icon_close+' bg-white text-dark shadow-xlg" title="{{CLOSE}}"></button>'},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),a=e.SOW.helper.check_var(o);if(this.selector=i[0],this.collection=i[1],this.config=null!==a?e.extend({},this.config,a):this.config,""!=n&&jQuery(this.selector).length<1)return null;if("function"!=typeof PhotoSwipe){var r=e.SOW.helper.vendorLogicPaths("photoswipe");return""==r.path_js?(e.SOW.helper.consoleLog("Vendor Missing : "+t),null):(e.SOW.helper.loadScript([r.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(""),a=[],r=[];e(t).not(".js-photoswapified").addClass("js-photoswapified").each((function(){var t=e(this),n=t.attr("href"),a=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===r[l]&&(r[l]=0),t.attr("data-index",r[l]++)),void 0===o[l]&&(o[l]=[]),o[l].push({src:n,title:a,w:0,h:0}))})),e(t).off().on("click",(function(t){t.preventDefault();var i=e(this),r=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((r.match(/(youtube.com)/)||r.match(/(youtu.be)/)||r.match(/(vimeo.com)/)||r.match(/(.mp4)/)||r.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,a[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),a[s]=new PhotoSwipe(n,PhotoSwipeUI_Default,o[s],v),a[s].init(),a[s].listen("initialZoomInEnd",(function(){v.galleryOpen(a[s])})),a[s].listen("imageLoadComplete",(function(e,t){y(e,t)})),a[s].listen("gettingData",(function(e,t){y(e,t)})),a[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<div class="pswp" tabindex="-1" role="dialog" aria-hidden="true"><div class="pswp__bg"></div><div class="pswp__scroll-wrap"><div class="pswp__container"> <div class="pswp__item"></div><div class="pswp__item"></div><div class="pswp__item"></div></div> <div class="pswp__ui pswp__ui--hidden"><div class="pswp__top-bar"><div class="pswp__counter">\x3c!-- image container --\x3e</div> <div class="pswp__preloader pswp__preloader--active"><div class="pswp__preloader__icn"><div class="pswp__preloader__cut"><div class="pswp__preloader__donut"><div class="position-fixed fixed-bottom w-100 mb-3 z-index-9999 text-center shadow-none"><span class="bg-white d-inline-block px-4 rounded-lg shadow-lg"><i class="'+e.SOW.config.sow__icon_loading+' fs-1 text-muted"></i></span></div></div></div></div></div></div><div class="pswp__share-modal pswp__share-modal--hidden pswp__single-tap"><div class="pswp__share-tooltip"></div> </div><div class="pswp__caption"><div class="pswp__caption__center"></div></div></div> </div></div>';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 a=e.SOW.helper.__selector(n),r=e.SOW.helper.check_var(o);return this.selector=a[0],this.collection=a[1],this.config=null!==r?e.extend({},this.config,r):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")||"",a=e.SOW.vendor.swiper.config;"object"==typeof o&&("object"==typeof o.pagination&&(o.pagination=e.extend({},a.pagination,o.pagination)),"bullets"!=a.pagination&&(a.pagination.dynamicBullets=!1),e.extend(a,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),a.navigation.nextEl=".swiper-button-next-"+n,a.navigation.prevEl=".swiper-button-prev-"+n,a.pagination.el=".swiper-pagination-"+n,a.slidesPerView>"1"&&(a.effect="slide"),!jQuery("#"+n).hasClass(".js-ignore")&&jQuery(".swiper-slide","#"+n).length<2&&(a.pagination={},a.navigation={},a.loop=!1,jQuery(".swiper-button-next","#"+n).remove(),jQuery(".swiper-button-prev","#"+n).remove(),jQuery(".swiper-pagination","#"+n).remove()),""!=i&&("object"!=typeof a.thumbs&&(a.thumbs={}),a.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,a),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 a=e.SOW.helper.__selector(n);return this.selector=a[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")||"",a=t.data("map-tile-custom")||"",r=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(""!=a)c=a;var d=new L.TileLayer(c,{minZoom:3,maxZoom:18,attribution:'&copy; <a href="https://openstreetmap.org">OpenStreetMap</a> contributors'}),u=[],h=e.SOW.helper.randomStr(3,"L");s[n]=new L.Map(n),s[n].addLayer(d),s[n].attributionControl.setPrefix('<a href="https://leafletjs.com/">Leaflet</a>');for(var f=0;f<o.length;++f){var p=Number(o[f].map_lat)||0,m=Number(o[f].map_long)||0,g=(g=o[f].map_popup||"").replace(/`/g,'"');u[h]=L.marker([p,m],{icon:l}).addTo(s[n]),0==f&&s[n].setView(new L.LatLng(p,m),Number(r)),""!=g&&u[h].bindPopup(L.popup({maxWidth:300,autoClose:!1,autoPan:!1}).setContent("<div class='fs--14'>"+g+"</div>")).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 a=e.SOW.helper.__selector(n),r=e.SOW.helper.check_var(o);return this.selector=a[0],this.config=null!==r?e.extend({},this.config,r):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:'<button data-action="expand" type="button" aria-label="expand"></button>',collapseBtnHTML:'<button data-action="collapse" type="button" aria-label="collapse"></button>',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 a=e.SOW.helper.__selector(n),r=e.SOW.helper.check_var(o);return this.selector=a[0],this.collection=a[1],this.selector_orig=a[2],this.config=null!==r?e.extend({},this.config,r):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"),a=t.data("nestable-group")||i,r=e.SOW.vendor.nestable.config;t.addClass("js-nestablified"),r.group=a,r.maxDepth=Number(o)||6,""==n&&(n="rand_"+i,t.attr("id",n)),e("#"+n).nestable(r).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")||"",a=t.data("ajax-update-method")||e.SOW.vendor.nestable.config.method,r=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<h.length;++f)l[h[f][0]]=h[f][1];l.array=u,l.serialized=d,jQuery.ajax({url:i,data:l,type:a,contentType:e.SOW.vendor.nestable.config.contentType,dataType:e.SOW.vendor.nestable.config.dataType,headers:e.SOW.vendor.nestable.config.headers,crossDomain:e.SOW.vendor.nestable.config.crossDomain,beforeSend:function(){t.prepend('<div class="nestableOverlayLoading d-middle overlay-light overlay-opacity-5 absolute-full z-index-1"><i class="'+e.SOW.config.sow__icon_loading+' fs--30 text-muted"></i></div>')},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","",r,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",a=t.data("update-delete-params")||"",r=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 E=jQuery(this),C=E.closest("li"),D=C.attr("data-id"),T=E.attr("href")||"#",W=E.data("href")||"",A=E.data("href2")||"",M=[];if("#"==T&&""==T&&"javascript:;"==T&&(E.attr("href","#"),E.attr("data-href2",T)),""!=W){T=W;E.removeAttr("data-href"),E.attr("data-href2",T)}if(""!=A)T=A;if("#"==T||""==T||"javascript:;"==T){var L=T;T=s}if(n+""=="false"&&jQuery("ol.dd-list",C).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 E.removeClass("js-ajax-modal js-modalified");if(E.hasClass("nestable-ajax-modal"))"object"==typeof e.SOW.core.ajax_modal?e.SOW.core.ajax_modal.attach(E,0):alert("[SOW : Ajax Modal] plugin not found!");else if("object"==typeof e.SOW.core.ajax_confirm){if(l+""=="true"&&!E.hasClass(d)&&!E.hasClass("js-confirmed"))return E.attr("data-ajax-confirm-size",h),E.attr("data-ajax-confirm-centered",f),E.attr("data-ajax-confirm-callback-function",p),E.attr("data-ajax-confirm-type",m),E.attr("data-ajax-confirm-mode",g),E.attr("data-ajax-confirm-method",v),E.attr("data-ajax-confirm-title",y),E.attr("data-ajax-confirm-body",b),E.attr("data-ajax-confirm-btn-yes-text",_),E.attr("data-ajax-confirm-btn-yes-class",w),E.attr("data-ajax-confirm-btn-yes-icon",S),E.attr("data-ajax-confirm-btn-no-text",O),E.attr("data-ajax-confirm-btn-no-class",x),E.attr("data-ajax-confirm-btn-no-icon",k),E.addClass(d+" js-nestable-confirmation-pending"),e.SOW.core.ajax_confirm.init(c),e.SOW.core.ajax_confirm.ajax_confirm(E),E.trigger("click"),void setTimeout((function(){E.removeClass(d),jQuery("#sow_ajax_confirm .btn-confirm-yes").not("js-nestablified").addClass("js-nestablified").on("click",(function(e){e.preventDefault(),E.addClass("js-confirmed"),E.removeClass("js-nestable-confirmation-pending"),E.removeClass(d),E.trigger("click")}))}),100)}else{if(!1===confirm(b))return;E.addClass("js-confirmed")}if(!E.hasClass("js-nestable-confirmation-pending")&&(l+""!="true"||E.hasClass("js-confirmed"))){if(""!=a)for(var N=e.SOW.helper.params_parse(a),P=0;P<N.length;++P)u[N[P][0]]=N[P][1];jQuery("li",C).each((function(){M.push(jQuery(this).data("id")||0)})),u.id=D,u.childs=M,u.info='Info: `id` = the id to delete! `childs` = childs of this id! (if data-update-delete-with-childs="true")',jQuery.ajax({url:T,data:u,type:r,contentType:e.SOW.vendor.nestable.config.contentType,dataType:e.SOW.vendor.nestable.config.dataType,headers:e.SOW.vendor.nestable.config.headers,crossDomain:e.SOW.vendor.nestable.config.crossDomain,beforeSend:function(){t.prepend('<div class="nestableOverlayLoading d-middle overlay-light overlay-opacity-5 absolute-full z-index-1"><i class="'+e.SOW.config.sow__icon_loading+' fs--30 text-muted"></i></div>')},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(),C.addClass("bg-danger-soft transition-all-ease-150"),setTimeout((function(){var e=E.closest("ol.dd-list"),t=e.closest("li.dd-item");C.fadeOut(150,(function(){C.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="'+T+'"')}})}}))}}}(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 a=e.SOW.helper.__selector(n),r=e.SOW.helper.check_var(o);return this.selector=a[0],this.collection=a[1],this.selector_orig=a[2],this.config=null!==r?e.extend({},this.config,r):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",a=t.data("fullcalendar-modal-size")||"modal-lg",r=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&&(r+""=="true"?""!=s&&"object"==typeof e.SOW.core.ajax_modal&&(e.SOW.helper.consoleLog(s,"color:#cccccc"),e.SOW.core.ajax_modal.createFromThinAir(s,a,"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,a,"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,a,"true","static",(function(){setTimeout((function(){var o=new Date,i=o.getHours(),a=o.getMinutes();i<10&&(i="0"+i),a<10&&(a="0"+a);var r=i+":"+a;if(jQuery("#start").val(t.dateStr+" "+r),jQuery("#start").attr("data-date-start",t.dateStr+" "+r),""==(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('<a href="#" class="link-muted" id="fc_smarty_custom_range"></a>'):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,a,r){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="+a+"&action="+r+"&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(),a=t.getHours()+n,r=t.getMinutes();return o<10&&(o="0"+o),i<10&&(i="0"+i),a<10&&(a="0"+a),r<10&&(r="0"+r),t.getFullYear()+"-"+o+"-"+i+" "+a+":"+r},eventCreate:function(t,n){var o=jQuery("#start").val(),i=jQuery("#end").val()||null,a=jQuery("#startRecur").val()||null,r=jQuery("#endRecur").val()||null,s=jQuery("#daysOfWeek").val()||null;if(!jQuery("#recurrent_enable").is(":checked"))a=null,r=null,s=null;o=o?o.replace(" ","T")+":00":o,i=i?i.replace(" ","T")+":00":i,a=a?a.replace(" ","T")+":00":a,r=r?r.replace(" ","T")+":00":r;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:a,endRecur:r,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(),a=jQuery("#end").val()||null,r=jQuery("#startRecur").val()||null,s=jQuery("#endRecur").val()||null,l=jQuery("#className").val()||"",c=jQuery("#daysOfWeek").val()||null;if(!jQuery("#recurrent_enable").is(":checked"))r=null,s=null,c=null;if(i)i=i.replace(" ","T")+":00";if(a)a=a.replace(" ","T")+":00";if(r){r=r.replace(" ","T")+":00";t.event.setProp("startRecur",r)}if(s){s=s.replace(" ","T")+":00";t.event.setProp("endRecur",s)}t.event.setProp("daysOfWeek",c),t.event.setStart(i),t.event.setEnd(a),t.event.setAllDay(!a),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,a=void 0!==t.event._def.recurringDef?t.event._def.recurringDef.typeData.startRecur:null,r=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<s.length;c++)jQuery("#daysOfWeek option[value="+s[c]+"]").attr("selected","selected");"object"==typeof e.SOW.vendor.bootstrap_select&&e.SOW.vendor.bootstrap_select.refresh("#daysOfWeek")}var d=t.event._def.extendedProps?t.event._def.extendedProps:null;for(var u in d)jQuery("#"+u).val(d[u]),jQuery("#info_"+u).html(d[u]),jQuery("#info_"+u+" a").addClass("link-muted").attr("target","fullcalendar").attr("rel","noopener");o=e.SOW.vendor.fullcalendar.dateFormat(o),i=e.SOW.vendor.fullcalendar.dateFormat(i),a=e.SOW.vendor.fullcalendar.dateFormat(a),r=e.SOW.vendor.fullcalendar.dateFormat(r);jQuery("#start").val(o),jQuery("#start").attr("data-date-start",o),jQuery("#end").val(i),i&&jQuery("#end").attr("data-date-start",i),jQuery("#startRecur").val(a),jQuery("#endRecur").val(r),jQuery("#info_start").text(o||"–"),jQuery("#info_end").text(i||"–"),jQuery("#info_startRecur").text(a||"–"),jQuery("#info_endRecur").text(r||"–"),jQuery("#info_title").text(t.event.title||"–"),t.event.url&&jQuery("#info_url").html('<a class="link-muted" href="'+t.event.url+'" target="fullcalendar">'+t.event.url+"</a>"),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 a=e.SOW.helper.__selector(n),r=e.SOW.helper.check_var(o);return this.selector=a[0],this.collection=a[1],this.selector_orig=a[2],this.config=null!==r?e.extend({},this.config,r):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(),a=t.data("date-start")||-1/0,r=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"==a||"now"==a?a=new Date:a!=-1/0&&""!=a.trim()&&(a=new Date(a)),"today"!=r&&"now"!=r||(a=new Date),""==n){n="rand_"+e.SOW.helper.randomStr(3);t.attr("id",n)}if(""!=t.attr("href")){var S=a;S==-1/0&&(S=new Date(a));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:a,endDate:r,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?'<i class="fi fi-arrow-right"></i>':'<i class="fi fi-arrow-left"></i>',rightArrow:"rtl"==e.SOW.globals.direction?'<i class="fi fi-arrow-left"></i>':'<i class="fi fi-arrow-right"></i>'},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,a=t.data("ajax-url")||"",r=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(""!=a){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(""!=r)for(var g=e.SOW.helper.params_parse(r),v=0;v<g.length;++v)d[g[v][0]]=g[v][1];d.id=c,d.date_full=n,d.date_short=m,jQuery.ajax({url:a,data:d,type:i,contentType:e.SOW.vendor.datepicker.config.contentType,dataType:e.SOW.vendor.datepicker.config.dataType,headers:e.SOW.vendor.datepicker.config.headers,crossDomain:e.SOW.vendor.datepicker.config.crossDomain,beforeSend:function(){t.addClass("disabled").prop("disabled",!0).prop("readonly",!0)},error:function(n,o,i){"object"==typeof e.SOW.core.toast?e.SOW.core.toast.show("danger","404 Error","Unexpected Internal error!",l,0,!0):alert("[404] Unexpected internal error!"),t.removeClass("disabled").prop("disabled",!1).prop("readonly",!1)},success:function(n){t.removeClass("disabled").prop("disabled",!1).prop("readonly",!1),e.SOW.helper.consoleLog(n),setTimeout((function(){"object"==typeof e.SOW.core.toast&&e.SOW.core.toast.show("success","",s,l,1300,!0)}),150),""!=t.attr("href")&&t.text(m)}})}}}}(jQuery),function(e){"use strict";var t="Vendor Daterangepicker";e.SOW.vendor.daterangepicker={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().daterangepicker){var i=e.SOW.helper.vendorLogicPaths("daterangepicker");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().daterangepicker?(e.SOW.vendor.daterangepicker.init(n,o),null):(e.SOW.helper.consoleLog("Vendor Missing : "+t),null)})),null)}if("function"==typeof moment){var a=e.SOW.helper.__selector(n),r=e.SOW.helper.check_var(o);return this.selector=a[0],this.collection=a[1],this.selector_orig=a[2],this.config=null!==r?e.extend({},this.config,r):this.config,e.SOW.helper.consoleLog("Init : "+t),this.selector?this.collection.each((function(){e.SOW.vendor.daterangepicker.process(e(this))})):(e.SOW.vendor.daterangepicker.process(e(".rangepicker")),e(".rangepicker"))}e.SOW.helper.consoleLog("Dependencies Missing : moment.js [By: "+t+"]")},process:function(t){var n=this.selector_orig;t.hasClass("js-tangepickified")||setTimeout((function(){jQuery("a.btn-rangepicker-clear").on("click",(function(e){e.preventDefault(),jQuery(this).parent().find("input"+n).val("")}));var o=t.data("timepicker")||!1,i=t.data("timepicker-24h")||!1,a=t.data("timepicker-show-seconds")||!1,r=t.data("placement")||"",s=t.data("drops")||"down",l=t.data("disable-auto-update-input")||!1,c=t.data("single-datepicker")||!1,d=t.data("click-apply")||!1,u=t.data("date-start")||"",h=t.data("date-end")||moment(),f=t.data("interval-years")||"",p=t.data("quick-locale")||"",m=t.data("date-format")||moment.localeData().longDateFormat("L"),g=t.attr("data-ranges")||!1,v=t.data("custom-config")||"",y=t.data("layout-rounded")||!1,b=t.data("disable-past-dates")||!1,_=1982,w=2030;if(c+""=="true"?""==u&&(u=moment()):""==u&&(u=moment().subtract(29,"days")),"object"!=typeof v){g=g+""=="true"&&{Today:[moment(),moment()],Yesterday:[moment().subtract(1,"days"),moment().subtract(1,"days")],"Last 7 Days":[moment().subtract(6,"days"),moment()],"Last 30 Days":[moment().subtract(29,"days"),moment()],"This Month":[moment().startOf("month"),moment().endOf("month")],"Last Month":[moment().subtract(1,"month").startOf("month"),moment().subtract(1,"month").endOf("month")]};if("object"==typeof p&&!1!==g){g={};p.lang_today&&(g[p.lang_today]=[moment(),moment()]),p.lang_yday&&(g[p.lang_yday]=[moment().subtract(1,"days"),moment().subtract(1,"days")]),p.lang_7days&&(g[p.lang_7days]=[moment().subtract(6,"days"),moment()]),p.lang_30days&&(g[p.lang_30days]=[moment().subtract(29,"days"),moment()]),p.lang_tmonth&&(g[p.lang_tmonth]=[moment().startOf("month"),moment().endOf("month")]),p.lang_lmonth&&(g[p.lang_lmonth]=[moment().subtract(1,"month").startOf("month"),moment().subtract(1,"month").endOf("month")])}var S=!1;if(b+""=="true"){if(""==u)var O=moment()._d;else if("string"==typeof u)O=u;else O=u._d;S=moment(O,m).format(m)}if("object"==typeof f){var x=!0;_=f[0]||1982;w=f[1]||2030}var k={direction:e.SOW.globals.direction,opens:""!=r?r:"rtl"==e.SOW.globals.direction?"left":"right",autoUpdateInput:l+""!="true",singleDatePicker:c+""=="true",autoApply:c+""=="true"||d+""=="true",timePicker:o+""=="true",timePicker24Hour:i+""=="true",timePickerSeconds:a+""=="true",startDate:""!=u?u:null,endDate:""!=h?h:null,minDate:S,showDropdowns:!0===x,minYear:Number(_),maxYear:Number(w),ranges:g,drops:""==s?"down":s,locale:{customRangeLabel:"object"==typeof p&&p.lang_crange?p.lang_crange:"Custom Range",applyLabel:"object"==typeof p&&p.lang_apply?p.lang_apply:"Apply",cancelLabel:"object"==typeof p&&p.lang_cancel?p.lang_cancel:"Cancel",monthNames:"object"==typeof p&&"object"==typeof p.lang_months&&p.lang_months?p.lang_months:moment.monthsShort(),daysOfWeek:"object"==typeof p&&"object"==typeof p.lang_weekdays&&p.lang_weekdays?p.lang_weekdays:moment.weekdaysMin(),firstDay:moment.localeData().firstDayOfWeek(),format:m}}}var j=t.addClass("js-tangepickified").daterangepicker("object"==typeof v?v:k,(function(e,t,n){e.format(m),e.format(m)})).data("daterangepicker");!1!==y&&j.container.addClass("daterangepicker-rounded"),jQuery(".btn-default",j.container).removeClass("btn-default").addClass("bg-light"),t.on("apply.daterangepicker",(function(n,o){c+""=="true"?e(this).val(o.startDate.format(m)):e(this).val(o.startDate.format(m)+" - "+o.endDate.format(m));var i=o.startDate._d,a=o.endDate._d,r=o.startDate.format(m),s=o.endDate.format(m);e.SOW.vendor.daterangepicker.updateAjax(t,i,a,r,s)})),t.on("cancel.daterangepicker",(function(e,t){})),t.on("change.daterangepicker",(function(e,t){}))}),t.data("load-delay")||0)},updateAjax:function(t,n,o,i,a){var r=t.data("ajax-method")||e.SOW.vendor.daterangepicker.config.method,s=t.data("ajax-url")||"",l=t.data("ajax-params")||"",c=t.data("toast-success")||"Sucessfully Updated!",d=t.data("toast-position")||"top-center",u=t.data("id")||"",h=e.SOW.vendor.daterangepicker.config.data_params;if(""!=s){if(""!=l)for(var f=e.SOW.helper.params_parse(l),p=0;p<f.length;++p)h[f[p][0]]=f[p][1];h.id=u,h.date_start_full=n,h.date_end_full=o,h.date_start_short=i,h.date_end_short=a,jQuery.ajax({url:s,data:h,type:r,contentType:e.SOW.vendor.daterangepicker.config.contentType,dataType:e.SOW.vendor.daterangepicker.config.dataType,headers:e.SOW.vendor.daterangepicker.config.headers,crossDomain:e.SOW.vendor.daterangepicker.config.crossDomain,beforeSend:function(){t.addClass("disabled").prop("disabled",!0).prop("readonly",!0)},error:function(n,o,i){"object"==typeof e.SOW.core.toast?e.SOW.core.toast.show("danger","404 Error","Unexpected Internal error!",d,0,!0):alert("[404] Unexpected internal error!"),t.removeClass("disabled").prop("disabled",!1).prop("readonly",!1)},success:function(n){t.removeClass("disabled").prop("disabled",!1).prop("readonly",!1),e.SOW.helper.consoleLog(n),setTimeout((function(){"object"==typeof e.SOW.core.toast&&e.SOW.core.toast.show("success","",c,d,1300,!0)}),150)}})}}}}(jQuery),function(e){"use strict";var t="Vendor Color Picker",n=[];e.SOW.vendor.colorpicker={config:{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},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){var i=e.SOW.helper.__selector(n),a=e.SOW.helper.check_var(o);if(this.selector=i[0],this.collection=i[1],this.selector_orig=i[2],this.config=null!==a?e.extend({},this.config,a):this.config,""!=n&&jQuery(n).length<1)return null;if("function"!=typeof Pickr){var r=e.SOW.helper.vendorLogicPaths("colorpicker");return""==r.path_js?(e.SOW.helper.consoleLog("Vendor Missing : "+t),null):(e.SOW.helper.loadScript([r.path_js],!1,!0).done((function(){return"function"!=typeof Pickr?(e.SOW.helper.consoleLog("Vendor Missing : "+t),null):(e.SOW.vendor.colorpicker.init(n,o),null)})),null)}return e.SOW.helper.consoleLog("Init : "+t),this.selector?this.collection.each((function(){e.SOW.vendor.colorpicker.process(e(this))})):(e.SOW.vendor.colorpicker.process(e(".colorpicker")),e(".colorpicker"))},process:function(t){if(!t.hasClass("js-colorpickified")){var o=t.data("target")||t.data("bs-target")||"",i=t.data("theme")||"classic",a=t.data("live-update")||!1,r=t.data("position")||"bottom-middle",s=t.attr("data-show-always")||!1,l=t.attr("data-inline")||!1,c=t.data("app-class")||"rounded",d=t.attr("data-use-as-button")||!1,u=t.data("default")||"HEXA",h=t.data("color")||"#42445a",f=t.data("lng-save")||"Save",p=t.data("lng-clear")||"Clear",m=t.data("lng-cancel")||"Cancel",g=t.attr("data-hex")||e.SOW.vendor.colorpicker.config.interaction.hex,v=t.attr("data-rgba")||e.SOW.vendor.colorpicker.config.interaction.rgba,y=t.attr("data-hsla")||e.SOW.vendor.colorpicker.config.interaction.hsla,b=t.attr("data-hsva")||e.SOW.vendor.colorpicker.config.interaction.hsva,_=t.attr("data-cmyk")||e.SOW.vendor.colorpicker.config.interaction.cmyk,w=t.attr("data-input")||e.SOW.vendor.colorpicker.config.interaction.input,S=t.attr("data-clear")||e.SOW.vendor.colorpicker.config.interaction.clear,O=t.attr("data-save")||e.SOW.vendor.colorpicker.config.interaction.save;t.addClass("js-colorpickified");var x=e.SOW.helper.randomStr(3,"L"),k="rand_"+x;if(t.addClass(k),""==o)o="."+k;return jQuery("input.pcr-result-final").length<1&&jQuery("body").append('<input type="hidden" class="pcr-result-final" val="">'),l+""=="true"&&(s="true"),n[x]=Pickr.create({el:"."+k,theme:i,default:h,position:r,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(a+""=="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(a+""=="true"){var r=jQuery(".pcr-result").val();window.afterPickChange&&clearTimeout(window.afterPickChange),window.afterPickChange=setTimeout((function(){e.SOW.vendor.colorpicker.updateAjax(t,r)}),1500),o&&(jQuery("input"+o).val(r),jQuery("div"+o+", span"+o).text(r))}})).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")||"",a=t.data("ajax-params")||"",r=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(""!=a)for(var d=e.SOW.helper.params_parse(a),u=0;u<d.length;++u)c[d[u][0]]=d[u][1];c.id=l,c.color=n,jQuery.ajax({url:i,data:c,type:o,contentType:e.SOW.vendor.colorpicker.config.contentType,dataType:e.SOW.vendor.colorpicker.config.dataType,headers:e.SOW.vendor.colorpicker.config.headers,crossDomain:e.SOW.vendor.colorpicker.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!",s,0,!0):alert("[404] Unexpected internal error!")},success:function(t){e.SOW.helper.consoleLog(t),setTimeout((function(){"object"==typeof e.SOW.core.toast&&e.SOW.core.toast.show("success","",r,s,1300,!0)}),150)}})}},forceInit:function(){var t=this.selector_orig.replace(".","");return jQuery("#forceColorPickrInit").length>0||(jQuery("body").append('<div id="forceColorPickrInit" class="hide-force"><div class=""></div></div>'),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 a=e.SOW.helper.__selector(n),r=e.SOW.helper.check_var(o);return this.selector=a[0],this.collection=a[1],this.selector_orig=a[2],this.config=null!==r?e.extend({},this.config,r):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 a=t.data("flot-label-1")||"Plot 1",r=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 E=[{data:b,label:a,lines:{show:"bar"!=h},points:{show:"bar"!=h},color:l}];if(_)E=[{data:b,label:a,lines:{show:"bar"!=h},points:{show:"bar"!=h},color:l},{data:_,label:r,lines:{show:"bar"!=h,fill:S+""=="true"},points:{show:"bar"!=h},color:c}];if(w)E=[{data:b,label:a,lines:{show:"bar"!=h},points:{show:"bar"!=h},color:l},{data:_,label:r,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 C={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+": <b>"+n+"</b>"},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,C):window[i]=jQuery.plot(t,E,C)}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+": <b>"+n+"</b>"},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,a=t.data("ajax-dataType")||e.SOW.vendor.flot.config.dataType,r=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(""!=r){if(""!=s)for(var u=e.SOW.helper.params_parse(s),h=0;h<u.length;++h)d[u[h][0]]=u[h][1];d.id=l,jQuery.ajax({url:r,data:d,type:i,contentType:e.SOW.vendor.flot.config.contentType,dataType:a,headers:e.SOW.vendor.flot.config.headers,crossDomain:e.SOW.vendor.flot.config.crossDomain,cache:!1,beforeSend:function(){e.SOW.helper.consoleLog(r)},error:function(t,n,o){"object"==typeof e.SOW.core.toast?e.SOW.core.toast.show("danger","404 Error","Unexpected Internal error!","top-center",0,!0):alert("[404] Unexpected internal error!")},success:function(i){for(var a=[],r=0;r<i.length;r++)a.push(i[r]);window[n]=jQuery.plot(t,a,o),Number(c)<1||setTimeout((function(){e.SOW.vendor.flot.flotAjax(t,n,o)}),Number(c))}})}},btnSave_bind:function(e){jQuery("a.flot-save:not(.js-plotified)").addClass("js-plotified").on("click",(function(e){e.preventDefault();var t=jQuery(this),n=t.attr("data-flot-id")||"null",o=t.attr("data-file-name")||"graph";window[n].getCanvas().toBlob((function(e){saveAs(e,o+".png")}))}))}}}(jQuery),function(e){"use strict";var t="Vendor Easypie Chart";e.SOW.vendor.easypie={config:{},collection:e(),init:function(n,o){if(""!=n&&jQuery(n).length<1)return null;if(!jQuery().easyPieChart){var i=e.SOW.helper.vendorLogicPaths("easypie");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().easyPieChart?(e.SOW.vendor.easypie.init(n,o),null):(e.SOW.helper.consoleLog("Vendor Missing : "+t),null)})),null)}var a=e.SOW.helper.__selector(n),r=e.SOW.helper.check_var(o);return this.selector=a[0],this.collection=a[1],this.selector_orig=a[2],this.config=null!==r?e.extend({},this.config,r):this.config,e.SOW.helper.consoleLog("Init : "+t),this.selector?this.collection.each((function(){e.SOW.vendor.easypie.process(e(this))})):(e.SOW.vendor.easypie.process(e(".easypie")),e(".easypie"))},process:function(e){e.easyPieChart({})}}}(jQuery),function(e){"use strict";var t="Vendor Chart.js";e.SOW.vendor.chartjs={config:{data:{datasets:[]},options:{responsive:!0,maintainAspectRatio:!1,hover:{mode:"index"},legend:{display:!0,position:"top",rtl:"rtl"==e.SOW.globals.direction},elements:{point:{radius:3}},scales:{xAxes:[{display:!0,scaleLabel:{display:!1,labelString:"",fontSize:14},ticks:{display:!0,beginAtZero:!0,fontColor:"#999999",fontSize:13,padding:10},gridLines:!0}],yAxes:[{display:!0,scaleLabel:{display:!1,labelString:"",fontSize:14},gridLines:{color:"#dddddd",borderDash:[2,3],zeroLineBorderDash:[2,3],zeroLineWidth:1},ticks:{max:50,stepSize:10,display:!0,beginAtZero:!0,fontColor:"#999999",fontSize:13,padding:10}}]},title:{display:!1,text:"",fontSize:16},tooltips:{enabled:!0,intersect:!1,mode:"nearest",bodySpacing:5,yPadding:10,xPadding:15,caretPadding:0,displayColors:!1,backgroundColor:"#121212",titleFontColor:"#ffffff",cornerRadius:4,footerSpacing:0,titleSpacing:0,rtl:"rtl"==e.SOW.globals.direction},layout:{padding:{left:0,right:0,top:0,bottom:0}}}},collection:e(),init:function(n,o){var i=e.SOW.helper.__selector(n),a=e.SOW.helper.check_var(o);if(this.selector=i[0],this.collection=i[1],this.selector_orig=i[2],this.config=null!==a?e.extend({},this.config,a):this.config,""!=this.selector&&jQuery(this.selector).length<1)return null;if("function"!=typeof Chart){var r=e.SOW.helper.vendorLogicPaths("chartjs");return""==r.path_js?(e.SOW.helper.consoleLog("Vendor Missing : "+t),null):(e.SOW.helper.loadScript([r.path_js],!1,!0).done((function(){return"function"!=typeof Chart?(e.SOW.helper.consoleLog("Vendor Missing : "+t),null):(e.SOW.vendor.chartjs.init(n,o),null)})),null)}return e.SOW.helper.consoleLog("Init : "+t),e.SOW.vendor.chartjs.btnSave_bind(),this.selector?this.collection.each((function(){e.SOW.vendor.chartjs.process(e(this))})):(e.SOW.vendor.chartjs.process(e(".chartjs")),e(".chartjs"))},process:function(t){if(!t.hasClass("js-chartjsified")){t.addClass("js-chartjsified");var n=t.attr("id")||"",o=(t.data("quick"),t.data("chartjs")||""),i=t.data("custom")||"",a=t.data("chartjs-type")||"line",r=t.data("chartjs-labels")||"",s=t.attr("data-chartjs-grid")||"true",l=t.attr("data-chartjs-dots")||"true",c=t.attr("data-chartjs-tooltip")||"true",d=t.data("chartjs-title")||"",u=t.data("chartjs-xaxes-label")||"",h=t.data("chartjs-line-width")||"",f=t.data("chartjs-yaxes-label")||"",p=t.attr("data-chartjs-legend")||"true",m=t.data("chartjs-datasets")||"";if(""==n){n="rand_"+e.SOW.helper.randomStr(4,"N");t.attr("id",n)}var g="object"==typeof window[i]?window[i]:{},v="object"==typeof o?o:g;if(Chart.Legend.prototype.afterFit=function(){this.height=this.height+30},"object"==typeof m){var y={};if(y.type=a,"pie"!=y.type&&"doughnut"!=y.type){y.data={},y.options=e.SOW.vendor.chartjs.config.options,y.data.labels="object"==typeof r?r:null,y.data.datasets=m,y.options.scales.yAxes[0].ticks.max=0,y.options.legend.display=!0,p+""=="false"?y.options.legend.display=!1:p+""!="false"&&(p+""=="true"&&(p="top"),y.options.legend.position=p),y.options.title.display=!1,""!=d&&(y.options.title.display=!0,y.options.title.text=d),y.options.tooltips.enabled=!0,c+""=="false"&&(y.options.tooltips.enabled=!1),y.options.scales.xAxes[0].scaleLabel.display=!1,""!=u&&(y.options.scales.xAxes[0].scaleLabel.display=!0,y.options.scales.xAxes[0].scaleLabel.labelString=u),y.options.scales.yAxes[0].scaleLabel.display=!1,""!=f&&(y.options.scales.yAxes[0].scaleLabel.display=!0,y.options.scales.yAxes[0].scaleLabel.labelString=f),y.data.datasets[0].categoryPercentage=.35,y.data.datasets[0].barPercentage=.7,"bar"==y.type&&(y.data.datasets[0].categoryPercentage=.65,y.data.datasets[0].barPercentage=1),y.options.scales.xAxes[0].display=!0,y.options.scales.xAxes[0].gridLines=!0,y.options.scales.yAxes[0].display=!0,s+""=="false"?(y.options.scales.xAxes[0].display=!1,y.options.scales.xAxes[0].gridLines=!1,y.options.scales.yAxes[0].display=!1):s+""=="xAxes"?(y.options.scales.xAxes[0].display=!0,y.options.scales.xAxes[0].gridLines=!0,y.options.scales.yAxes[0].display=!1):s+""=="yAxes"&&(y.options.scales.xAxes[0].display=!1,y.options.scales.xAxes[0].gridLines=!1,y.options.scales.yAxes[0].display=!0);for(var b=0;b<y.data.datasets.length;b++){for(var _=0;_<y.data.datasets[b].data.length;_++)y.data.datasets[b].data[_]>y.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;b<m.length;b++)w.push(m[b][1]),S.push(m[b][2]),O.push(m[b][0]);v={type:y.type,legend:{display:!1,position:"top"},data:{datasets:[{data:w,backgroundColor:S,label:"Dataset 1"}],labels:O},options:{responsive:!0,maintainAspectRatio:!0,legend:{display:p+""!="false",position:p+""!="false"?p:"top"},tooltips:{enabled:c+""!="false",intersect:!1,mode:"nearest",bodySpacing:5,yPadding:10,xPadding:15,caretPadding:0,displayColors:!1,backgroundColor:"#121212",titleFontColor:"#ffffff",cornerRadius:4,footerSpacing:0,titleSpacing:0},title:{display:""!=d,text:d,fontSize:16}}}}}var x=document.getElementById(n).getContext("2d");window[n]=new Chart(x,v)}},btnSave_bind:function(){jQuery("a.chartjs-save:not(.js-chartjsified)").addClass("js-chartjsified").on("click",(function(t){t.preventDefault();var n=jQuery(this),o=n.attr("data-chartjs-id")||"null",i=n.attr("data-file-name")||"graph",a=document.getElementById(o);e.SOW.vendor.chartjs.fillCanvasBackgroundWithColor(a,"white"),a.toBlob((function(e){saveAs(e,i+".png")}))}))},fillCanvasBackgroundWithColor:function(e,t){const n=e.getContext("2d");n.save(),n.globalCompositeOperation="destination-over",n.fillStyle=t,n.fillRect(0,0,e.width,e.height),n.restore()}}}(jQuery),function(e){"use strict";var t="Vendor Medium Editor",n=[];e.SOW.vendor.mediumeditor={config:{},collection:e(),init:function(n,o){if(""!=n&&jQuery(n).length<1)return null;if("function"!=typeof MediumEditor){var i=e.SOW.helper.vendorLogicPaths("mediumeditor");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 MediumEditor?(e.SOW.helper.consoleLog("Vendor Missing : "+t),null):(e.SOW.vendor.mediumeditor.init(n,o),null)})),null)}var a=e.SOW.helper.__selector(n),r=e.SOW.helper.check_var(o);return this.selector=a[0],this.collection=a[1],this.selector_orig=a[2],this.config=null!==r?e.extend({},this.config,r):this.config,e.SOW.helper.consoleLog("Init : "+t),this.selector?this.collection.each((function(){e.SOW.vendor.mediumeditor.process(e(this))})):(e.SOW.vendor.mediumeditor.process(e(".medium-editor")),e(".medium-editor"))},process:function(t){if(!t.hasClass("js-mediumified")){if(t.attr("required")){var o=t.parents("form.bs-validate");o.length>0&&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")||"",a=t.data("lng-save")||"Save",r=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:'<i class="fi mdi-format_color_fill"></i>',init:function(){this.button=this.document.createElement("button"),this.button.classList.add("medium-editor-action"),this.button.innerHTML='<i class="fi mdi-format_color_fill"></i>',this.button,this.on(this.button,"click",this.handleClick.bind(this))},handleClick:function(e){S=n[i].exportSelection(),jQuery(this.button).prepend('<span class="'+O+'"></span>'),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:a,clear:r,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,n){window[i].getColor().toHEXA().join(",");var o=window[i].getColor().toHEXA().toString();t(o),window[i].lastColor=o,window[i].hide()})).on("clear",(function(e){t("")})).on("change",(function(e,t){})).on("changestop",(function(e){})).on("cancel",(function(e){})).on("swatchselect",(function(e,t){}))}),100),e.preventDefault(),e.stopPropagation();var o=this.getAction();o&&this.execAction(o)}}));function t(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>B</b>"}),u+""=="true"&&k.push({name:"italic",contentDefault:"<i>I</i>"}),h+""=="true"&&k.push({name:"underline",contentDefault:"<u>U</u>"}),f+""=="true"&&k.push({name:"anchor",contentDefault:'<i class="fi fi-link"></i>'}),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:'<i class="fi mdi-format_list_bulleted"></i>'}),w+""=="true"&&k.push({name:"orderedlist",contentDefault:'<i class="fi mdi-format_list_numbered"></i>'});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(""==(E=jQuery(".modal.show").attr("id")||"")){var E="rand_"+e.SOW.helper.randomStr(3);jQuery(".modal.show").attr("id",E)}j.elementsContainer=document.getElementById(E)}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 a=e.SOW.helper.__selector(n),r=e.SOW.helper.check_var(o);return this.selector=a[0],this.collection=a[1],this.selector_orig=a[2],this.config=null!==r?e.extend({},this.config,r):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")||"",a=t.data("status")||"",r=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 a&&a,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&&r+""=="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 a=e.SOW.helper.__selector(n),r=e.SOW.helper.check_var(o);return this.selector=a[0],this.collection=a[1],this.selector_orig=a[2],this.config=null!==r?e.extend({},this.config,r):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,a=t.data("max-height")||1500,r=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:a,focus:r+""=="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 a=new FormData;if(a.append("file",n),a.append("ajax","true"),i&&""!=i)for(var r=e.SOW.helper.params_parse(i),s=0;s<r.length;++s)a.append(r[s][0],r[s][1]);e.ajax({url:t,cache:!1,contentType:!1,processData:!1,data:a,type:"POST",beforeSend:function(){},error:function(t){e.SOW.helper.consoleLog(t),"object"==typeof e.SOW.core.toast?e.SOW.core.toast.show("danger","","404 Server Error!","center-top",4e3,!0):alert("404 Server Error!")},success:function(t){e.SOW.helper.consoleLog(t),e(o).summernote("editor.insertImage",t)}})}else e.SOW.helper.consoleLog("Summernote: Upload URL not provided!")}}}(jQuery),function(e){"use strict";var t="Vendor Quill Editor";window.quillEditor=[],e.SOW.vendor.quilleditor={config:{},collection:e(),init:function(n,o){if(""!=n&&jQuery(n).length<1)return null;if("function"!=typeof Quill){var i=e.SOW.helper.vendorLogicPaths("quilleditor");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 Quill?(e.SOW.helper.consoleLog("Vendor Missing : "+t),null):(e.SOW.vendor.quilleditor.init(n,o),null)})),null)}var a=e.SOW.helper.__selector(n),r=e.SOW.helper.check_var(o);return this.selector=a[0],this.collection=a[1],this.selector_orig=a[2],this.config=null!==r?e.extend({},this.config,r):this.config,e.SOW.helper.consoleLog("Init : "+t),e.SOW.vendor.quilleditor.process(".quill-editor")},process:function(t){document.querySelectorAll(t).forEach((function(t){if(t.classList.contains("js-quillified"))return;t.classList.add("js-quillified");let n=t.getAttribute("id")||"",o=t.getAttribute("data-quill-config"),i=t.getAttribute("data-textarea-name");""==n&&(n="rand_"+e.SOW.helper.randomStr(3),t.setAttribute("id",n));o=""==o?{modules:{toolbar:[[{header:[2,3,4,5,6,!1]}],["bold","italic","underline","strike"],[{color:[]},{background:[]}],[{script:"super"},{script:"sub"}],["blockquote","code-block"],[{list:"ordered"},{list:"bullet"},{indent:"-1"},{indent:"+1"}],[{align:[]}],["link","image","video"],["clean"]]},placeholder:"Type here..."}:e.SOW.helper.jsonParse(o),void 0===o.theme&&(o.theme="snow"),window.quillEditor[n]=new Quill(t,o),document.getElementById(n).insertAdjacentHTML("afterend",'<textarea id="tx_'+i+'" name="'+i+'" class="hide hide-force"></textarea>'),document.getElementById("tx_"+i).value=document.getElementById(n).children[0].innerHTML;let a=!1;window.quillEditor[n].on("editor-change",(function(t){if("text-change"==t&&(document.getElementById("tx_"+i).value=document.getElementById(n).children[0].innerHTML),a)return;let o=document.getElementById(n),r=o.querySelectorAll("img"),s=o.getAttribute("data-ajax-url");o.getAttribute("data-ajax-params");""!=s&&r.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),a=!0}}))}))}))},b64toBlob:function(e,t,n){t=t||"",n=n||512;let o=atob(e),i=[];for(let e=0;e<o.length;e+=n){let t=o.slice(e,e+n),a=new Array(t.length);for(let e=0;e<t.length;e++)a[e]=t.charCodeAt(e);i.push(new Uint8Array(a))}return new Blob(i,{type:t})},ajaxUpload:function(t,n,o,i){if(""==t)return void e.SOW.helper.consoleLog("Quill Editor: Upload URL not provided!");let a=n.split(";"),r=a[0].split(":")[1],s=a[1].split(",")[1],l=e.SOW.vendor.quilleditor.b64toBlob(s,r),c=new FormData;if(c.append("file",l),c.append("ajax","true"),i&&""!=i){let t=e.SOW.helper.params_parse(i);for(let e=0;e<t.length;++e)c.append(t[e][0],t[e][1])}e.ajax({url:t,cache:!1,contentType:!1,processData:!1,data:c,type:"POST",beforeSend:function(){},error:function(t){e.SOW.helper.consoleLog(t),"object"==typeof e.SOW.core.toast?e.SOW.core.toast.show("danger","","404 Server Error!","center-top",4e3,!0):alert("404 Server Error!")},success:function(t){e.SOW.helper.consoleLog(t),o.setAttribute("src",t),o.setAttribute("alt","img"),o.classList.add("img-fluid")}})}}}(jQuery),function(e){"use strict";var t="Vendor Datatables",n=[];e.SOW.vendor.datatables={config:{},collection:e(),init:function(n,o){var i=e.SOW.helper.__selector(n),a=e.SOW.helper.check_var(o);if(this.selector=i[0],this.collection=i[1],this.selector_orig=i[2],this.config=null!==a?e.extend({},this.config,a):this.config,""!=n&&jQuery(this.selector).length<1)return null;if(!jQuery().DataTable){var r=e.SOW.helper.vendorLogicPaths("datatables");return""==r.path_js?(e.SOW.helper.consoleLog("Vendor Missing : "+t),null):(e.SOW.helper.loadScript([r.path_js],!1,!0).done((function(){return jQuery().DataTable?(e.SOW.vendor.datatables.init(n,o),null):(e.SOW.helper.consoleLog("Vendor Missing : "+t),null)})),null)}return e.SOW.helper.consoleLog("Init : "+t),e.SOW.vendor.datatables.miscOptions(),this.selector?this.collection.each((function(){e.SOW.vendor.datatables.process(e(this))})):(e.SOW.vendor.datatables.process(e(".table-datatable")),e(".table-datatable"))},process:function(t){if(!t.hasClass("js-datatableified")){var o=t.attr("id")||"",i=t.data("lng-empty")||"No data available in table",a=t.data("lng-page-info")||"Showing _START_ to _END_ of _TOTAL_ entries",r=(t.data("lng-filtered"),t.data("lng-loading")||"Loading..."),s=t.data("lng-processing")||"Processing...",l=t.data("lng-search")||"Search...",c=t.data("lng-norecords")||"No matching records found",d=t.data("lng-sort-ascending")||": activate to sort column ascending",u=t.data("lng-sort-descending")||": activate to sort column descending",h=t.data("lng-column-visibility")||"Column Visibility",f=t.data("lng-export")||'<i class="fi fi-squared-dots fs-5 line-height-1"></i>',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",E=t.attr("data-enable-paging")||"true",C=t.attr("data-enable-col-sorting")||"true",D=t.attr("data-autofill")||"false",T=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",N=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('<input type="text" class="form-control form-control-sm" placeholder="'+l+'" />'),jQuery("input",this).on("keyup change",(function(){n[o].column(e).search()!==this.value&&n[o].column(e).search(this.value).draw()}))})));var P={rowReorder:w+""=="true"&&{selector:"tr td:not(:first-child)"},colReorder:S+""=="true",fixedHeader:x+""=="true",select:k+""=="true",orderCellsTop:!0,ordering:C+""=="true",paging:E+""=="true",searching:j+""=="true",pageLength:Number(M),lengthMenu:[[10,15,30,50,100,-1],[10,15,30,50,100,b]],autoFill:D+""!="false"&&{focus:D},oLanguage:{oAria:{sSortAscending:d||"",sSortDescending:u||""},oPaginate:{sFirst:'<i class="fi fi-arrow-start-full fs--13"></i>',sLast:'<i class="fi fi-arrow-end-full fs--13"></i>',sNext:'<i class="fi fi-arrow-end fs--13"></i>',sPrevious:'<i class="fi fi-arrow-start fs--13"></i>'},sEmptyTable:i||"",sInfo:a||"",sInfoEmpty:"",sInfoFiltered:"",sInfoPostFix:"",sDecimal:"",sThousands:",",sLengthMenu:"_MENU_",sLoadingRecords:r||"",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"&&P.buttons.push({extend:"colvis",text:h,titleAttr:h,className:"btn-sm btn-light"}),N+""=="true"&&P.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}]}),T+""=="true"&&(P.pageLength=15,P.order=[[2,"desc"]],P.rowGroup={dataSrc:2}),O+""=="true"?P.responsive=!0:O+""=="extended"&&(P.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))&&(P=e.extend({},P,A)),"object"==typeof dataTableExtend&&(P=e.extend({},P,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(P),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,a){t.prepend('<div class="clearfix"><span class="badge bg-warning">Key press</span>&nbsp; '+o+" &bull; "+i.data()+"</div>")})).on("key-focus",(function(e,n,o){t.prepend('<div class="clearfix"><span class="badge bg-primary">Item click</span>&nbsp; '+o.data()+"</div>")})).on("key-blur",(function(e,n,o){t.prepend('<div class="clearfix"><span class="badge bg-light">Item blur</span>&nbsp; '+o.data()+"</div>")}))},miscOptions:function(){var t=e.SOW.globals.elHeader.outerHeight();e("head").append('<style type="text/css">body.header-fixed table.dataTable.fixedHeader-floating { top: '+t+"px !important; }</style>")}}}(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 a=e.SOW.helper.__selector(n),r=e.SOW.helper.check_var(o);this.selector=a[0],this.collection=a[1],this.selector_orig=a[2],this.config=null!==r?e.extend({},this.config,r):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 a(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function r(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;var t;for(t in e)if(a(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=[];for(n=0;n<e.length;++n)o.push(t(e[n],n));return o}function u(e,t){for(var n in t)a(t,n)&&(e[n]=t[n]);return a(t,"toString")&&(e.toString=t.toString),a(t,"valueOf")&&(e.valueOf=t.valueOf),e}function h(e,t,n,o){return Ot(e,t,n,o,!0).utc()}function f(e){return null==e._pf&&(e._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}),e._pf}function p(e){if(null==e._isValid){var n=f(e),o=t.call(n.parsedDateParts,(function(e){return null!=e})),i=!isNaN(e._d.getTime())&&n.overflow<0&&!n.empty&&!n.invalidEra&&!n.invalidMonth&&!n.invalidWeekday&&!n.weekdayMismatch&&!n.nullInput&&!n.invalidFormat&&!n.userInvalidated&&(!n.meridiem||n.meridiem&&o);if(e._strict&&(i=i&&0===n.charsLeftOver&&0===n.unusedTokens.length&&void 0===n.bigHour),null!=Object.isFrozen&&Object.isFrozen(e))return i;e._isValid=i}return e._isValid}function m(e){var t=h(NaN);return null!=e?u(f(t),e):f(t).userInvalidated=!0,t}t=Array.prototype.some?Array.prototype.some:function(e){var t,n=Object(this),o=n.length>>>0;for(t=0;t<o;t++)if(t in n&&e.call(this,n[t],t,n))return!0;return!1};var g=n.momentProperties=[],v=!1;function y(e,t){var n,o,i;if(s(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),s(t._i)||(e._i=t._i),s(t._f)||(e._f=t._f),s(t._l)||(e._l=t._l),s(t._strict)||(e._strict=t._strict),s(t._tzm)||(e._tzm=t._tzm),s(t._isUTC)||(e._isUTC=t._isUTC),s(t._offset)||(e._offset=t._offset),s(t._pf)||(e._pf=f(t)),s(t._locale)||(e._locale=t._locale),g.length>0)for(n=0;n<g.length;n++)s(i=t[o=g[n]])||(e[o]=i);return e}function b(e){y(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===v&&(v=!0,n.updateOffset(this),v=!1)}function _(e){return e instanceof b||null!=e&&null!=e._isAMomentObject}function w(e){!1===n.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function S(e,t){var o=!0;return u((function(){if(null!=n.deprecationHandler&&n.deprecationHandler(null,e),o){var i,r,s,l=[];for(r=0;r<arguments.length;r++){if(i="","object"==typeof arguments[r]){for(s in i+="\n["+r+"] ",arguments[0])a(arguments[0],s)&&(i+=s+": "+arguments[0][s]+", ");i=i.slice(0,-2)}else i=arguments[r];l.push(i)}w(e+"\nArguments: "+Array.prototype.slice.call(l).join("")+"\n"+(new Error).stack),o=!1}return t.apply(this,arguments)}),t)}var O,x={};function k(e,t){null!=n.deprecationHandler&&n.deprecationHandler(e,t),x[e]||(w(t),x[e]=!0)}function j(e){return"undefined"!=typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function E(e,t){var n,o=u({},e);for(n in t)a(t,n)&&(i(e[n])&&i(t[n])?(o[n]={},u(o[n],e[n]),u(o[n],t[n])):null!=t[n]?o[n]=t[n]:delete o[n]);for(n in e)a(e,n)&&!a(t,n)&&i(e[n])&&(o[n]=u({},o[n]));return o}function C(e){null!=e&&this.set(e)}n.suppressDeprecationWarnings=!1,n.deprecationHandler=null,O=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)a(e,t)&&n.push(t);return n};function D(e,t,n){var o=""+Math.abs(e),i=t-o.length;return(e>=0?n?"+":"":"-")+Math.pow(10,Math.max(0,i)).toString().substr(1)+o}var T=/(\[[^\[]*\])|(\\)?([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 D(i.apply(this,arguments),t[1],t[2])}),n&&(M[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function N(e,t){return e.isValid()?(t=P(t,e.localeData()),A[t]=A[t]||function(e){var t,n,o,i=e.match(T);for(t=0,n=i.length;t<n;t++)M[i[t]]?i[t]=M[i[t]]:i[t]=(o=i[t]).match(/\[[\s\S]/)?o.replace(/^\[|\]$/g,""):o.replace(/\\/g,"");return function(t){var o,a="";for(o=0;o<n;o++)a+=j(i[o])?i[o].call(t,e):i[o];return a}}(t),A[t](e)):e.localeData().invalidDate()}function P(e,t){var n=5;function o(e){return t.longDateFormat(e)||e}for(W.lastIndex=0;n>=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 H(e){var t,n,o={};for(n in e)a(e,n)&&(t=R(n))&&(o[t]=e[n]);return o}var Q={};function V(e,t){Q[e]=t}function F(e){return e%4==0&&e%100!=0||e%400==0}function B(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function $(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=B(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=$(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/,K=/\d\d/,Z=/\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}/,ae=/\d{1,4}/,re=/[+-]?\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 a(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=t;for("string"==typeof e&&(e=[e]),l(t)&&(o=function(e,n){n[t]=$(e)}),n=0;n<e.length;n++)me[e[n]]=o}function ve(e,t){ge(e,(function(e,n,o,i){o._w=o._w||{},t(e,o._w,o,i)}))}function ye(e,t,n){null!=t&&a(me,e)&&me[e](t,n._a,n,e)}var be;function _e(e,t){if(isNaN(e)||isNaN(t))return NaN;var n,o=(t%(n=12)+n)%n;return e+=(t-o)/12,1===o?F(e)?29:28:31-o%7%2}be=Array.prototype.indexOf?Array.prototype.indexOf:function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1},L("M",["MM",2],"Mo",(function(){return this.month()+1})),L("MMM",0,0,(function(e){return this.localeData().monthsShort(this,e)})),L("MMMM",0,0,(function(e){return this.localeData().months(this,e)})),Y("month","M"),V("month",8),he("M",te),he("MM",te,K),he("MMM",(function(e,t){return t.monthsShortRegex(e)})),he("MMMM",(function(e,t){return t.monthsRegex(e)})),ge(["M","MM"],(function(e,t){t[1]=$(e)-1})),ge(["MMM","MMMM"],(function(e,t,n,o){var i=n._locale.monthsParse(e,o,n._strict);null!=i?t[1]=i:f(n).invalidMonth=e}));var we="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Se="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Oe=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,xe=ue,ke=ue;function je(e,t,n){var o,i,a,r=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],o=0;o<12;++o)a=h([2e3,o]),this._shortMonthsParse[o]=this.monthsShort(a,"").toLocaleLowerCase(),this._longMonthsParse[o]=this.months(a,"").toLocaleLowerCase();return n?"MMM"===t?-1!==(i=be.call(this._shortMonthsParse,r))?i:null:-1!==(i=be.call(this._longMonthsParse,r))?i:null:"MMM"===t?-1!==(i=be.call(this._shortMonthsParse,r))||-1!==(i=be.call(this._longMonthsParse,r))?i:null:-1!==(i=be.call(this._longMonthsParse,r))||-1!==(i=be.call(this._shortMonthsParse,r))?i:null}function Ee(e,t){var n;if(!e.isValid())return e;if("string"==typeof t)if(/^\d+$/.test(t))t=$(t);else if(!l(t=e.localeData().monthsParse(t)))return e;return n=Math.min(e.date(),_e(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n),e}function Ce(e){return null!=e?(Ee(this,e),n.updateOffset(this,!0),this):U(this,"Month")}function De(){function e(e,t){return t.length-e.length}var t,n,o=[],i=[],a=[];for(t=0;t<12;t++)n=h([2e3,t]),o.push(this.monthsShort(n,"")),i.push(this.months(n,"")),a.push(this.months(n,"")),a.push(this.monthsShort(n,""));for(o.sort(e),i.sort(e),a.sort(e),t=0;t<12;t++)o[t]=pe(o[t]),i[t]=pe(i[t]);for(t=0;t<24;t++)a[t]=pe(a[t]);this._monthsRegex=new RegExp("^("+a.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+o.join("|")+")","i")}function Te(e){return F(e)?366:365}L("Y",0,0,(function(){var e=this.year();return e<=9999?D(e,4):"+"+e})),L(0,["YY",2],0,(function(){return this.year()%100})),L(0,["YYYY",4],0,"year"),L(0,["YYYYY",5],0,"year"),L(0,["YYYYYY",6,!0],0,"year"),Y("year","y"),V("year",1),he("Y",le),he("YY",te,K),he("YYYY",ae,J),he("YYYYY",re,ee),he("YYYYYY",re,ee),ge(["YYYYY","YYYYYY"],0),ge("YYYY",(function(e,t){t[0]=2===e.length?n.parseTwoDigitYear(e):$(e)})),ge("YY",(function(e,t){t[0]=n.parseTwoDigitYear(e)})),ge("Y",(function(e,t){t[0]=parseInt(e,10)})),n.parseTwoDigitYear=function(e){return $(e)+($(e)>68?1900:2e3)};var We=z("FullYear",!0);function Ae(e,t,n,o,i,a,r){var s;return e<100&&e>=0?(s=new Date(e+400,t,n,o,i,a,r),isFinite(s.getFullYear())&&s.setFullYear(e)):s=new Date(e,t,n,o,i,a,r),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 Ne(e,t,n,o,i){var a,r,s=1+7*(t-1)+(7+n-o)%7+Le(e,o,i);return s<=0?r=Te(a=e-1)+s:s>Te(e)?(a=e+1,r=s-Te(e)):(a=e,r=s),{year:a,dayOfYear:r}}function Pe(e,t,n){var o,i,a=Le(e.year(),t,n),r=Math.floor((e.dayOfYear()-a-1)/7)+1;return r<1?o=r+Ie(i=e.year()-1,t,n):r>Ie(e.year(),t,n)?(o=r-Ie(e.year(),t,n),i=e.year()+1):(i=e.year(),o=r),{week:o,year:i}}function Ie(e,t,n){var o=Le(e,t,n),i=Le(e+1,t,n);return(Te(e)-o+i)/7}L("w",["ww",2],"wo","week"),L("W",["WW",2],"Wo","isoWeek"),Y("week","w"),Y("isoWeek","W"),V("week",5),V("isoWeek",5),he("w",te),he("ww",te,K),he("W",te),he("WW",te,K),ve(["w","ww","W","WW"],(function(e,t,n,o){t[o.substr(0,1)]=$(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"),V("day",11),V("weekday",11),V("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]=$(e)}));var Re="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),He="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Qe="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Ve=ue,Fe=ue,Be=ue;function $e(e,t,n){var o,i,a,r=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],o=0;o<7;++o)a=h([2e3,1]).day(o),this._minWeekdaysParse[o]=this.weekdaysMin(a,"").toLocaleLowerCase(),this._shortWeekdaysParse[o]=this.weekdaysShort(a,"").toLocaleLowerCase(),this._weekdaysParse[o]=this.weekdays(a,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(i=be.call(this._weekdaysParse,r))?i:null:"ddd"===t?-1!==(i=be.call(this._shortWeekdaysParse,r))?i:null:-1!==(i=be.call(this._minWeekdaysParse,r))?i:null:"dddd"===t?-1!==(i=be.call(this._weekdaysParse,r))||-1!==(i=be.call(this._shortWeekdaysParse,r))||-1!==(i=be.call(this._minWeekdaysParse,r))?i:null:"ddd"===t?-1!==(i=be.call(this._shortWeekdaysParse,r))||-1!==(i=be.call(this._weekdaysParse,r))||-1!==(i=be.call(this._minWeekdaysParse,r))?i:null:-1!==(i=be.call(this._minWeekdaysParse,r))||-1!==(i=be.call(this._weekdaysParse,r))||-1!==(i=be.call(this._shortWeekdaysParse,r))?i:null}function ze(){function e(e,t){return t.length-e.length}var t,n,o,i,a,r=[],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,"")),a=pe(this.weekdays(n,"")),r.push(o),s.push(i),l.push(a),c.push(o),c.push(i),c.push(a);r.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("^("+r.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)+D(this.minutes(),2)})),L("hmmss",0,0,(function(){return""+Ue.apply(this)+D(this.minutes(),2)+D(this.seconds(),2)})),L("Hmm",0,0,(function(){return""+this.hours()+D(this.minutes(),2)})),L("Hmmss",0,0,(function(){return""+this.hours()+D(this.minutes(),2)+D(this.seconds(),2)})),qe("a",!0),qe("A",!1),Y("hour","h"),V("hour",13),he("a",Ge),he("A",Ge),he("H",te),he("h",te),he("k",te),he("HH",te,K),he("hh",te,K),he("kk",te,K),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=$(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]=$(e),f(n).bigHour=!0})),ge("hmm",(function(e,t,n){var o=e.length-2;t[3]=$(e.substr(0,o)),t[4]=$(e.substr(o)),f(n).bigHour=!0})),ge("hmmss",(function(e,t,n){var o=e.length-4,i=e.length-2;t[3]=$(e.substr(0,o)),t[4]=$(e.substr(o,2)),t[5]=$(e.substr(i)),f(n).bigHour=!0})),ge("Hmm",(function(e,t,n){var o=e.length-2;t[3]=$(e.substr(0,o)),t[4]=$(e.substr(o))})),ge("Hmmss",(function(e,t,n){var o=e.length-4,i=e.length-2;t[3]=$(e.substr(0,o)),t[4]=$(e.substr(o,2)),t[5]=$(e.substr(i))}));var Xe=z("Hours",!0);var Ke,Ze={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:He,meridiemParse:/[ap]\.?m?\.?/i},Je={},et={};function tt(e,t){var n,o=Math.min(e.length,t.length);for(n=0;n<o;n+=1)if(e[n]!==t[n])return n;return o}function nt(e){return e?e.toLowerCase().replace("_","-"):e}function ot(e){var t=null;if(void 0===Je[e]&&"undefined"!=typeof module&&module&&module.exports)try{t=Ke._abbr,require("./locale/"+e),it(t)}catch(t){Je[e]=null}return Je[e]}function it(e,t){var n;return e&&((n=s(t)?rt(e):at(e,t))?Ke=n:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),Ke._abbr}function at(e,t){if(null!==t){var n,o=Ze;if(t.abbr=e,null!=Je[e])k("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),o=Je[e]._config;else if(null!=t.parentLocale)if(null!=Je[t.parentLocale])o=Je[t.parentLocale]._config;else{if(null==(n=ot(t.parentLocale)))return et[t.parentLocale]||(et[t.parentLocale]=[]),et[t.parentLocale].push({name:e,config:t}),null;o=n._config}return Je[e]=new C(E(o,t)),et[e]&&et[e].forEach((function(e){at(e.name,e.config)})),it(e),Je[e]}return delete Je[e],null}function rt(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return Ke;if(!o(e)){if(t=ot(e))return t;e=[e]}return function(e){for(var t,n,o,i,a=0;a<e.length;){for(t=(i=nt(e[a]).split("-")).length,n=(n=nt(e[a+1]))?n.split("-"):null;t>0;){if(o=ot(i.slice(0,t).join("-")))return o;if(n&&n.length>=t&&tt(i,n)>=t-1)break;t--}a++}return Ke}(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,a,r,s=e._i,l=lt.exec(s)||ct.exec(s);if(l){for(f(e).iso=!0,t=0,n=ut.length;t<n;t++)if(ut[t][1].exec(l[1])){i=ut[t][0],o=!1!==ut[t][2];break}if(null==i)return void(e._isValid=!1);if(l[3]){for(t=0,n=ht.length;t<n;t++)if(ht[t][1].exec(l[3])){a=(l[2]||" ")+ht[t][0];break}if(null==a)return void(e._isValid=!1)}if(!o&&null!=a)return void(e._isValid=!1);if(l[4]){if(!dt.exec(l[4]))return void(e._isValid=!1);r="Z"}e._f=i+(a||"")+(r||""),wt(e)}else e._isValid=!1}function vt(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function yt(e){var t,n,o,i,a,r,s,l,c=pt.exec(e._i.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));if(c){if(n=c[4],o=c[3],i=c[2],a=c[5],r=c[6],s=c[7],l=[vt(n),Se.indexOf(o),parseInt(i,10),parseInt(a,10),parseInt(r,10)],s&&l.push(parseInt(s,10)),t=l,!function(e,t,n){return!e||He.indexOf(e)===new Date(t[0],t[1],t[2]).getDay()||(f(n).weekdayMismatch=!0,n._isValid=!1,!1)}(c[1],t,e))return;e._a=t,e._tzm=function(e,t,n){if(e)return mt[e];if(t)return 0;var o=parseInt(n,10),i=o%100;return(o-i)/100*60+i}(c[8],c[9],c[10]),e._d=Me.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),f(e).rfc2822=!0}else e._isValid=!1}function bt(e,t,n){return null!=e?e:null!=t?t:n}function _t(e){var t,o,i,a,r,s=[];if(!e._d){for(i=function(e){var t=new Date(n.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}(e),e._w&&null==e._a[2]&&null==e._a[1]&&function(e){var t,n,o,i,a,r,s,l,c;null!=(t=e._w).GG||null!=t.W||null!=t.E?(a=1,r=4,n=bt(t.GG,e._a[0],Pe(xt(),1,4).year),o=bt(t.W,1),((i=bt(t.E,1))<1||i>7)&&(l=!0)):(a=e._locale._week.dow,r=e._locale._week.doy,c=Pe(xt(),a,r),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+a,(t.e<0||t.e>6)&&(l=!0)):i=a);o<1||o>Ie(n,a,r)?f(e)._overflowWeeks=!0:null!=l?f(e)._overflowWeekday=!0:(s=Ne(n,o,i,a,r),e._a[0]=s.year,e._dayOfYear=s.dayOfYear)}(e),null!=e._dayOfYear&&(r=bt(e._a[0],i[0]),(e._dayOfYear>Te(r)||0===e._dayOfYear)&&(f(e)._overflowDayOfYear=!0),o=Me(r,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),a=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!==a&&(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,a,r,s,l=""+e._i,c=l.length,d=0;for(i=P(e._f,e._locale).match(T)||[],t=0;t<i.length;t++)a=i[t],(o=(l.match(fe(a,e))||[])[0])&&((r=l.substr(0,l.indexOf(o))).length>0&&f(e).unusedInput.push(r),l=l.slice(l.indexOf(o)+o.length),d+=o.length),M[a]?(o?f(e).empty=!1:f(e).unusedTokens.push(a),ye(a,o,e)):e._strict&&!o&&f(e).unusedTokens.push(a);f(e).charsLeftOver=c-d,l.length>0&&f(e).unusedInput.push(l),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,a=e._f;return e._locale=e._locale||rt(e._l),null===t||void 0===a&&""===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(a)?function(e){var t,n,o,i,a,r,s=!1;if(0===e._f.length)return f(e).invalidFormat=!0,void(e._d=new Date(NaN));for(i=0;i<e._f.length;i++)a=0,r=!1,t=y({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[i],wt(t),p(t)&&(r=!0),a+=f(t).charsLeftOver,a+=10*f(t).unusedTokens.length,f(t).score=a,s?a<o&&(o=a,n=t):(null==o||a<o||r)&&(o=a,n=t,r&&(s=!0));u(e,n||t)}(e):a?wt(e):function(e){var t=e._i;s(t)?e._d=new Date(n.now()):c(t)?e._d=new Date(t.valueOf()):"string"==typeof t?function(e){var t=ft.exec(e._i);null===t?(gt(e),!1===e._isValid&&(delete e._isValid,yt(e),!1===e._isValid&&(delete e._isValid,e._strict?e._isValid=!1:n.createFromInputFallback(e)))):e._d=new Date(+t[1])}(e):o(t)?(e._a=d(t.slice(0),(function(e){return parseInt(e,10)})),_t(e)):i(t)?function(e){if(!e._d){var t=H(e._i),n=void 0===t.day?t.date:t.day;e._a=d([t.year,t.month,n,t.hour,t.minute,t.second,t.millisecond],(function(e){return e&&parseInt(e,10)})),_t(e)}}(e):l(t)?e._d=new Date(t):n.createFromInputFallback(e)}(e),p(e)||(e._d=null),e))}function Ot(e,t,n,a,s){var l,c={};return!0!==t&&!1!==t||(a=t,t=void 0),!0!==n&&!1!==n||(a=n,n=void 0),(i(e)&&r(e)||o(e)&&0===e.length)&&(e=void 0),c._isAMomentObject=!0,c._useUTC=c._isUTC=s,c._l=n,c._i=e,c._f=t,c._strict=a,(l=new b(st(St(c))))._nextDay&&(l.add(1,"d"),l._nextDay=void 0),l}function xt(e,t,n,o){return Ot(e,t,n,o,!1)}n.createFromInputFallback=S("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",(function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))})),n.ISO_8601=function(){},n.RFC_2822=function(){};var kt=S("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=xt.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:m()})),jt=S("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=xt.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:m()}));function Et(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<t.length;++i)t[i].isValid()&&!t[i][e](n)||(n=t[i]);return n}var Ct=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Dt(e){var t=H(e),n=t.year||0,o=t.quarter||0,i=t.month||0,r=t.week||t.isoWeek||0,s=t.day||0,l=t.hour||0,c=t.minute||0,d=t.second||0,u=t.millisecond||0;this._isValid=function(e){var t,n,o=!1;for(t in e)if(a(e,t)&&(-1===be.call(Ct,t)||null!=e[t]&&isNaN(e[t])))return!1;for(n=0;n<Ct.length;++n)if(e[Ct[n]]){if(o)return!1;parseFloat(e[Ct[n]])!==$(e[Ct[n]])&&(o=!0)}return!0}(t),this._milliseconds=+u+1e3*d+6e4*c+1e3*l*60*60,this._days=+s+7*r,this._months=+i+3*o+12*n,this._data={},this._locale=rt(),this._bubble()}function Tt(e){return e instanceof Dt}function Wt(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function At(e,t){L(e,0,0,(function(){var e=this.utcOffset(),n="+";return e<0&&(e=-e,n="-"),n+D(~~(e/60),2)+t+D(~~e%60,2)}))}At("Z",":"),At("ZZ",""),he("Z",de),he("ZZ",de),ge(["Z","ZZ"],(function(e,t,n){n._useUTC=!0,n._tzm=Lt(de,e)}));var Mt=/([\+\-]|\d\d)/gi;function Lt(e,t){var n,o,i=(t||"").match(e);return null===i?null:0===(o=60*(n=((i[i.length-1]||[])+"").match(Mt)||["-",0,0])[1]+$(n[2]))?0:"+"===n[0]?o:-o}function Nt(e,t){var o,i;return t._isUTC?(o=t.clone(),i=(_(e)||c(e)?e.valueOf():xt(e).valueOf())-o.valueOf(),o._d.setTime(o._d.valueOf()+i),n.updateOffset(o,!1),o):xt(e).local()}function Pt(e){return-Math.round(e._d.getTimezoneOffset())}function It(){return!!this.isValid()&&(this._isUTC&&0===this._offset)}n.updateOffset=function(){};var Yt=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Rt=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Ht(e,t){var n,o,i,r=e,s=null;return Tt(e)?r={ms:e._milliseconds,d:e._days,M:e._months}:l(e)||!isNaN(+e)?(r={},t?r[t]=+e:r.milliseconds=+e):(s=Yt.exec(e))?(n="-"===s[1]?-1:1,r={y:0,d:$(s[2])*n,h:$(s[3])*n,m:$(s[4])*n,s:$(s[5])*n,ms:$(Wt(1e3*s[6]))*n}):(s=Rt.exec(e))?(n="-"===s[1]?-1:1,r={y:Qt(s[2],n),M:Qt(s[3],n),w:Qt(s[4],n),d:Qt(s[5],n),h:Qt(s[6],n),m:Qt(s[7],n),s:Qt(s[8],n)}):null==r?r={}:"object"==typeof r&&("from"in r||"to"in r)&&(i=function(e,t){var n;if(!e.isValid()||!t.isValid())return{milliseconds:0,months:0};t=Nt(t,e),e.isBefore(t)?n=Vt(e,t):((n=Vt(t,e)).milliseconds=-n.milliseconds,n.months=-n.months);return n}(xt(r.from),xt(r.to)),(r={}).ms=i.milliseconds,r.M=i.months),o=new Dt(r),Tt(e)&&a(e,"_locale")&&(o._locale=e._locale),Tt(e)&&a(e,"_isValid")&&(o._isValid=e._isValid),o}function Qt(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function Vt(e,t){var n={};return n.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function Ft(e,t){return function(n,o){var i;return null===o||isNaN(+o)||(k(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),i=n,n=o,o=i),Bt(this,Ht(n,o),e),this}}function Bt(e,t,o,i){var a=t._milliseconds,r=Wt(t._days),s=Wt(t._months);e.isValid()&&(i=null==i||i,s&&Ee(e,U(e,"Month")+s*o),r&&q(e,"Date",U(e,"Date")+r*o),a&&e._d.setTime(e._d.valueOf()+a*o),i&&n.updateOffset(e,r||s))}Ht.fn=Dt.prototype,Ht.invalid=function(){return Ht(NaN)};var $t=Ft(1,"add"),zt=Ft(-1,"subtract");function Ut(e){return"string"==typeof e||e instanceof String}function qt(e){return _(e)||c(e)||Ut(e)||l(e)||function(e){var t=o(e),n=!1;t&&(n=0===e.filter((function(t){return!l(t)&&Ut(e)})).length);return t&&n}(e)||function(e){var t,n,o=i(e)&&!r(e),s=!1,l=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"];for(t=0;t<l.length;t+=1)n=l[t],s=s||a(e,n);return o&&s}(e)||null==e}function Gt(e){var t,n=i(e)&&!r(e),o=!1,s=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"];for(t=0;t<s.length;t+=1)o=o||a(e,s[t]);return n&&o}function Xt(e,t){if(e.date()<t.date())return-Xt(t,e);var n=12*(t.year()-e.year())+(t.month()-e.month()),o=e.clone().add(n,"months");return-(n+(t-o<0?(t-o)/(o-e.clone().add(n-1,"months")):(t-o)/(e.clone().add(n+1,"months")-o)))||0}function Kt(e){var t;return void 0===e?this._locale._abbr:(null!=(t=rt(e))&&(this._locale=t),this)}n.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",n.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var Zt=S("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",(function(e){return void 0===e?this.localeData():this.locale(e)}));function Jt(){return this._locale}var en=1e3,tn=6e4,nn=36e5,on=126227808e5;function an(e,t){return(e%t+t)%t}function rn(e,t,n){return e<100&&e>=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=[],a=[],r=this.eras();for(e=0,t=r.length;e<t;++e)o.push(pe(r[e].name)),n.push(pe(r[e].abbr)),i.push(pe(r[e].narrow)),a.push(pe(r[e].name)),a.push(pe(r[e].abbr)),a.push(pe(r[e].narrow));this._erasRegex=new RegExp("^("+a.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+o.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+n.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+i.join("|")+")","i")}function dn(e,t){L(0,[e,e.length],0,t)}function un(e,t,n,o,i){var a;return null==e?Pe(this,o,i).year:(t>(a=Ie(e,o,i))&&(t=a),hn.call(this,e,t,n,o,i))}function hn(e,t,n,o,i){var a=Ne(e,t,n,o,i),r=Me(a.year,0,a.dayOfYear);return this.year(r.getUTCFullYear()),this.month(r.getUTCMonth()),this.date(r.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"),V("weekYear",1),V("isoWeekYear",1),he("G",le),he("g",le),he("GG",te,K),he("gg",te,K),he("GGGG",ae,J),he("gggg",ae,J),he("GGGGG",re,ee),he("ggggg",re,ee),ve(["gggg","ggggg","GGGG","GGGGG"],(function(e,t,n,o){t[o.substr(0,2)]=$(e)})),ve(["gg","GG"],(function(e,t,o,i){t[i]=n.parseTwoDigitYear(e)})),L("Q",0,"Qo","quarter"),Y("quarter","Q"),V("quarter",7),he("Q",X),ge("Q",(function(e,t){t[1]=3*($(e)-1)})),L("D",["DD",2],"Do","date"),Y("date","D"),V("date",9),he("D",te),he("DD",te,K),he("Do",(function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient})),ge(["D","DD"],2),ge("Do",(function(e,t){t[2]=$(e.match(te)[0])}));var fn=z("Date",!0);L("DDD",["DDDD",3],"DDDo","dayOfYear"),Y("dayOfYear","DDD"),V("dayOfYear",4),he("DDD",ie),he("DDDD",Z),ge(["DDD","DDDD"],(function(e,t,n){n._dayOfYear=$(e)})),L("m",["mm",2],0,"minute"),Y("minute","m"),V("minute",14),he("m",te),he("mm",te,K),ge(["m","mm"],4);var pn=z("Minutes",!1);L("s",["ss",2],0,"second"),Y("second","s"),V("second",15),he("s",te),he("ss",te,K),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"),V("millisecond",16),he("S",ie,X),he("SS",ie,K),he("SSS",ie,Z),mn="SSSS";mn.length<=9;mn+="S")he(mn,se);function yn(e,t){t[6]=$(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=$t,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=Nt(o,this).startOf("day"),a=n.calendarFormat(this,i)||"sameElse",r=t&&(j(t[a])?t[a].call(this,o):t[a]);return this.format(r||this.localeData().calendar(a,this,xt(o)))},bn.clone=function(){return new b(this)},bn.diff=function(e,t,n){var o,i,a;if(!this.isValid())return NaN;if(!(o=Nt(e,this)).isValid())return NaN;switch(i=6e4*(o.utcOffset()-this.utcOffset()),t=R(t)){case"year":a=Xt(this,o)/12;break;case"month":a=Xt(this,o);break;case"quarter":a=Xt(this,o)/3;break;case"second":a=(this-o)/1e3;break;case"minute":a=(this-o)/6e4;break;case"hour":a=(this-o)/36e5;break;case"day":a=(this-o-i)/864e5;break;case"week":a=(this-o-i)/6048e5;break;default:a=this-o}return n?a:B(a)},bn.endOf=function(e){var t,o;if(void 0===(e=R(e))||"millisecond"===e||!this.isValid())return this;switch(o=this._isUTC?sn:rn,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-an(t+(this._isUTC?0:this.utcOffset()*tn),nn)-1;break;case"minute":t=this._d.valueOf(),t+=tn-an(t,tn)-1;break;case"second":t=this._d.valueOf(),t+=en-an(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=N(this,e);return this.localeData().postformat(t)},bn.from=function(e,t){return this.isValid()&&(_(e)&&e.isValid()||xt(e).isValid())?Ht({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())?Ht({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()<this.clone().startOf(t).valueOf())},bn.isBefore=function(e,t){var n=_(e)?e:xt(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=R(t)||"millisecond")?this.valueOf()<n.valueOf():this.clone().endOf(t).valueOf()<n.valueOf())},bn.isBetween=function(e,t,n,o){var i=_(e)?e:xt(e),a=_(t)?t:xt(t);return!!(this.isValid()&&i.isValid()&&a.isValid())&&(("("===(o=o||"()")[0]?this.isAfter(i,n):!this.isBefore(i,n))&&(")"===o[1]?this.isBefore(a,n):!this.isAfter(a,n)))},bn.isSame=function(e,t){var n,o=_(e)?e:xt(e);return!(!this.isValid()||!o.isValid())&&("millisecond"===(t=R(t)||"millisecond")?this.valueOf()===o.valueOf():(n=o.valueOf(),this.clone().startOf(t).valueOf()<=n&&n<=this.clone().endOf(t).valueOf()))},bn.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)},bn.isSameOrBefore=function(e,t){return this.isSame(e,t)||this.isBefore(e,t)},bn.isValid=function(){return p(this)},bn.lang=Zt,bn.locale=Kt,bn.localeData=Jt,bn.max=jt,bn.min=kt,bn.parsingFlags=function(){return u({},f(this))},bn.set=function(e,t){if("object"==typeof e){var n,o=function(e){var t,n=[];for(t in e)a(e,t)&&n.push({unit:t,priority:Q[t]});return n.sort((function(e,t){return e.priority-t.priority})),n}(e=H(e));for(n=0;n<o.length;n++)this[o[n].unit](e[o[n].unit])}else if(j(this[e=R(e)]))return this[e](t);return this},bn.startOf=function(e){var t,o;if(void 0===(e=R(e))||"millisecond"===e||!this.isValid())return this;switch(o=this._isUTC?sn:rn,e){case"year":t=o(this.year(),0,1);break;case"quarter":t=o(this.year(),this.month()-this.month()%3,1);break;case"month":t=o(this.year(),this.month(),1);break;case"week":t=o(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=o(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=o(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=an(t+(this._isUTC?0:this.utcOffset()*tn),nn);break;case"minute":t=this._d.valueOf(),t-=an(t,tn);break;case"second":t=this._d.valueOf(),t-=an(t,en)}return this._d.setTime(t),n.updateOffset(this,!0),this},bn.subtract=zt,bn.toArray=function(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]},bn.toObject=function(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}},bn.toDate=function(){return new Date(this.valueOf())},bn.toISOString=function(e){if(!this.isValid())return null;var t=!0!==e,n=t?this.clone().utc():this;return n.year()<0||n.year()>9999?N(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",N(n,"Z")):N(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;e<t;++e){if(n=this.clone().startOf("day").valueOf(),o[e].since<=n&&n<=o[e].until)return o[e].name;if(o[e].until<=n&&n<=o[e].since)return o[e].name}return""},bn.eraNarrow=function(){var e,t,n,o=this.localeData().eras();for(e=0,t=o.length;e<t;++e){if(n=this.clone().startOf("day").valueOf(),o[e].since<=n&&n<=o[e].until)return o[e].narrow;if(o[e].until<=n&&n<=o[e].since)return o[e].narrow}return""},bn.eraAbbr=function(){var e,t,n,o=this.localeData().eras();for(e=0,t=o.length;e<t;++e){if(n=this.clone().startOf("day").valueOf(),o[e].since<=n&&n<=o[e].until)return o[e].abbr;if(o[e].until<=n&&n<=o[e].since)return o[e].abbr}return""},bn.eraYear=function(){var e,t,o,i,a=this.localeData().eras();for(e=0,t=a.length;e<t;++e)if(o=a[e].since<=a[e].until?1:-1,i=this.clone().startOf("day").valueOf(),a[e].since<=i&&i<=a[e].until||a[e].until<=i&&i<=a[e].since)return(this.year()-n(a[e].since).year())*o+a[e].offset;return this.year()},bn.year=We,bn.isLeapYear=function(){return F(this.year())},bn.weekYear=function(e){return un.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},bn.isoWeekYear=function(e){return un.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},bn.quarter=bn.quarters=function(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},bn.month=Ce,bn.daysInMonth=function(){return _e(this.year(),this.month())},bn.week=bn.weeks=function(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")},bn.isoWeek=bn.isoWeeks=function(e){var t=Pe(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},bn.weeksInYear=function(){var e=this.localeData()._week;return Ie(this.year(),e.dow,e.doy)},bn.weeksInWeekYear=function(){var e=this.localeData()._week;return Ie(this.weekYear(),e.dow,e.doy)},bn.isoWeeksInYear=function(){return Ie(this.year(),1,4)},bn.isoWeeksInISOWeekYear=function(){return Ie(this.isoWeekYear(),1,4)},bn.date=fn,bn.day=bn.days=function(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=function(e,t){return"string"!=typeof e?e:isNaN(e)?"number"==typeof(e=t.weekdaysParse(e))?e:null:parseInt(e,10)}(e,this.localeData()),this.add(e-t,"d")):t},bn.weekday=function(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")},bn.isoWeekday=function(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=function(e,t){return"string"==typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7},bn.dayOfYear=function(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")},bn.hour=bn.hours=Xe,bn.minute=bn.minutes=pn,bn.second=bn.seconds=vn,bn.millisecond=bn.milliseconds=gn,bn.utcOffset=function(e,t,o){var i,a=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null!=e){if("string"==typeof e){if(null===(e=Lt(de,e)))return this}else Math.abs(e)<16&&!o&&(e*=60);return!this._isUTC&&t&&(i=Pt(this)),this._offset=e,this._isUTC=!0,null!=i&&this.add(i,"m"),a!==e&&(!t||this._changeInProgress?Bt(this,Ht(e-a,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,n.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?a:Pt(this)},bn.utc=function(e){return this.utcOffset(0,e)},bn.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(Pt(this),"m")),this},bn.parseZone=function(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var e=Lt(ce,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this},bn.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?xt(e).utcOffset():0,(this.utcOffset()-e)%60==0)},bn.isDST=function(){return this.utcOffset()>this.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",Ce),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),a=Math.abs(e.length-t.length),r=0;for(o=0;o<i;o++)(n&&e[o]!==t[o]||!n&&$(e[o])!==$(t[o]))&&r++;return r+a}(t._a,e.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}));var wn=C.prototype;function Sn(e,t,n,o){var i=rt(),a=h().set(o,t);return i[n](a,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,a=rt(),r=e?a._week.dow:0,s=[];if(null!=n)return Sn(t,(n+r)%7,o,"day");for(i=0;i<7;i++)s[i]=Sn(t,(i+r)%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(T).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)a(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,a,r=this._eras||rt("en")._eras;for(o=0,i=r.length;o<i;++o){if("string"==typeof r[o].since)a=n(r[o].since).startOf("day"),r[o].since=a.valueOf();switch(typeof r[o].until){case"undefined":r[o].until=1/0;break;case"string":a=n(r[o].until).startOf("day").valueOf(),r[o].until=a.valueOf()}}return r},wn.erasParse=function(e,t,n){var o,i,a,r,s,l=this.eras();for(e=e.toUpperCase(),o=0,i=l.length;o<i;++o)if(a=l[o].name.toUpperCase(),r=l[o].abbr.toUpperCase(),s=l[o].narrow.toUpperCase(),n)switch(t){case"N":case"NN":case"NNN":if(r===e)return l[o];break;case"NNNN":if(a===e)return l[o];break;case"NNNNN":if(s===e)return l[o]}else if([a,r,s].indexOf(e)>=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 a(this,"_erasAbbrRegex")||cn.call(this),e?this._erasAbbrRegex:this._erasRegex},wn.erasNameRegex=function(e){return a(this,"_erasNameRegex")||cn.call(this),e?this._erasNameRegex:this._erasRegex},wn.erasNarrowRegex=function(e){return a(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,a;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]||(a="^"+this.months(i,"")+"|^"+this.monthsShort(i,""),this._monthsParse[o]=new RegExp(a.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?(a(this,"_monthsRegex")||De.call(this),e?this._monthsStrictRegex:this._monthsRegex):(a(this,"_monthsRegex")||(this._monthsRegex=ke),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},wn.monthsShortRegex=function(e){return this._monthsParseExact?(a(this,"_monthsRegex")||De.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(a(this,"_monthsShortRegex")||(this._monthsShortRegex=xe),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},wn.week=function(e){return Pe(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,a;if(this._weekdaysParseExact)return $e.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]||(a="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[o]=new RegExp(a.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?(a(this,"_weekdaysRegex")||ze.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(a(this,"_weekdaysRegex")||(this._weekdaysRegex=Ve),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},wn.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(a(this,"_weekdaysRegex")||ze.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(a(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Fe),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},wn.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(a(this,"_weekdaysRegex")||ze.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(a(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Be),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===$(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.",rt);var kn=Math.abs;function jn(e,t,n,o){var i=Ht(t,n);return e._milliseconds+=o*i._milliseconds,e._days+=o*i._days,e._months+=o*i._months,e._bubble()}function En(e){return e<0?Math.floor(e):Math.ceil(e)}function Cn(e){return 4800*e/146097}function Dn(e){return 146097*e/4800}function Tn(e){return function(){return this.as(e)}}var Wn=Tn("ms"),An=Tn("s"),Mn=Tn("m"),Ln=Tn("h"),Nn=Tn("d"),Pn=Tn("w"),In=Tn("M"),Yn=Tn("Q"),Rn=Tn("y");function Hn(e){return function(){return this.isValid()?this._data[e]:NaN}}var Qn=Hn("milliseconds"),Vn=Hn("seconds"),Fn=Hn("minutes"),Bn=Hn("hours"),$n=Hn("days"),zn=Hn("months"),Un=Hn("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 Kn=Math.abs;function Zn(e){return(e>0)-(e<0)||+e}function Jn(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n,o,i,a,r,s,l=Kn(this._milliseconds)/1e3,c=Kn(this._days),d=Kn(this._months),u=this.asSeconds();return u?(e=B(l/60),t=B(e/60),l%=60,e%=60,n=B(d/12),d%=12,o=l?l.toFixed(3).replace(/\.?0+$/,""):"",i=u<0?"-":"",a=Zn(this._months)!==Zn(u)?"-":"",r=Zn(this._days)!==Zn(u)?"-":"",s=Zn(this._milliseconds)!==Zn(u)?"-":"",i+"P"+(n?a+n+"Y":"")+(d?a+d+"M":"")+(c?r+c+"D":"")+(t||e||l?"T":"")+(t?s+t+"H":"")+(e?s+e+"M":"")+(l?s+o+"S":"")):"P0D"}var eo=Dt.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+Cn(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(Dn(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=Nn,eo.asWeeks=Pn,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*$(this._months/12):NaN},eo._bubble=function(){var e,t,n,o,i,a=this._milliseconds,r=this._days,s=this._months,l=this._data;return a>=0&&r>=0&&s>=0||a<=0&&r<=0&&s<=0||(a+=864e5*En(Dn(s)+r),r=0,s=0),l.milliseconds=a%1e3,e=B(a/1e3),l.seconds=e%60,t=B(e/60),l.minutes=t%60,n=B(t/60),l.hours=n%24,r+=B(n/24),s+=i=B(Cn(r)),r-=En(Dn(i)),o=B(s/12),s%=12,l.days=r,l.months=s,l.years=o,this},eo.clone=function(){return Ht(this)},eo.get=function(e){return e=R(e),this.isValid()?this[e+"s"]():NaN},eo.milliseconds=Qn,eo.seconds=Vn,eo.minutes=Fn,eo.hours=Bn,eo.days=$n,eo.weeks=function(){return B(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,a=Gn;return"object"==typeof e&&(t=e,e=!1),"boolean"==typeof e&&(i=e),"object"==typeof t&&(a=Object.assign({},Gn,t),null!=t.s&&null==t.ss&&(a.ss=t.s-1)),o=function(e,t,n,o){var i=Ht(e).abs(),a=qn(i.as("s")),r=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=a<=n.ss&&["s",a]||a<n.s&&["ss",a]||r<=1&&["m"]||r<n.m&&["mm",r]||s<=1&&["h"]||s<n.h&&["hh",s]||l<=1&&["d"]||l<n.d&&["dd",l];return null!=n.w&&(h=h||d<=1&&["w"]||d<n.w&&["ww",d]),(h=h||c<=1&&["M"]||c<n.M&&["MM",c]||u<=1&&["y"]||["yy",u])[2]=t,h[3]=+e>0,h[4]=o,Xn.apply(null,h)}(this,!i,a,n=this.localeData()),i&&(o=n.pastFuture(+this,o)),n.postformat(o)},eo.toISOString=Jn,eo.toString=Jn,eo.toJSON=Jn,eo.locale=Kt,eo.localeData=Jt,eo.toIsoString=S("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Jn),eo.lang=Zt,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($(e))})),n.version="2.29.1",e=xt,n.fn=bn,n.min=function(){var e=[].slice.call(arguments,0);return Et("isBefore",e)},n.max=function(){var e=[].slice.call(arguments,0);return Et("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=Ht,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=rt,n.isDuration=Tt,n.monthsShort=function(e,t){return On(e,t,"monthsShort")},n.weekdaysMin=function(e,t,n){return xn(e,t,n,"weekdaysMin")},n.defineLocale=at,n.updateLocale=function(e,t){if(null!=t){var n,o,i=Ze;null!=Je[e]&&null!=Je[e].parentLocale?Je[e].set(E(Je[e]._config,t)):(null!=(o=ot(e))&&(i=o._config),t=E(i,t),null==o&&(t.abbr=e),(n=new C(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(){a(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),a=e.saveAs||("object"!=typeof window||window!==e?function(){}:"download"in HTMLAnchorElement.prototype&&!i?function(i,a,r){var s=e.URL||e.webkitURL,l=document.createElement("a");a=a||i.name||"download",l.download=a,l.rel="noopener","string"==typeof i?(l.href=i,l.origin!==location.origin?n(l.href)?t(i,a,r):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,a){if(i=i||e.name||"download","string"==typeof e)if(n(e))t(e,i,a);else{var r=document.createElement("a");r.href=e,r.target="_blank",setTimeout((function(){o(r)}))}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,a),i)}:function(n,o,a,r){if((r=r||open("","_blank"))&&(r.document.title=r.document.body.innerText="downloading..."),"string"==typeof n)return t(n,o,a);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;"),r?r.location.href=e:location=e,r=null},d.readAsDataURL(n)}else{var u=e.URL||e.webkitURL,h=u.createObjectURL(n);r?r.location=h:location.href=h,r=null,setTimeout((function(){u.revokeObjectURL(h)}),4e4)}});e.saveAs=a.saveAs=a,"undefined"!=typeof module&&(module.exports=a)})),$.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-01-10T00:53:43.232Z",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"];