silverstripe-webpack/app/client/dist/js/app.js
2020-12-28 06:37:21 +07:00

2 lines
278 KiB
JavaScript

/*! For license information please see app.js.LICENSE.txt */
!function(){var h={999:function(h,g,v){var y={"./bg.png":817,"./original.png":327,"./original2.png":450,"./photo1.png":634,"./photo2.jpg":63,"./photo3.svg":682,"app/client/src/img/bg.png":817,"app/client/src/img/original.png":327,"app/client/src/img/original2.png":450,"app/client/src/img/photo1.png":634,"app/client/src/img/photo2.jpg":63,"app/client/src/img/photo3.svg":682,"bg.png":817,"img/bg.png":817,"img/original.png":327,"img/original2.png":450,"img/photo1.png":634,"img/photo2.jpg":63,"img/photo3.svg":682,"original.png":327,"original2.png":450,"photo1.png":634,"photo2.jpg":63,"photo3.svg":682};function webpackContext(h){var g=webpackContextResolve(h);return v(g)}function webpackContextResolve(h){if(!v.o(y,h)){var g=new Error("Cannot find module '"+h+"'");throw g.code="MODULE_NOT_FOUND",g}return y[h]}webpackContext.keys=function webpackContextKeys(){return Object.keys(y)},webpackContext.resolve=webpackContextResolve,h.exports=webpackContext,webpackContext.id=999},154:function(){function _gaLt(h){if("function"===typeof ga){for(var g=h.srcElement||h.target;g&&("undefined"==typeof g.tagName||"a"!=g.tagName.toLowerCase()||!g.href);)g=g.parentNode;if(g&&g.href){var v=g.href;if(-1==v.indexOf(location.host)&&!v.match(/^javascript:/i)){var y=!(!g.target||g.target.match(/^_(self|parent|top)$/i))&&g.target;ga("send","event","Outgoing Links",v,document.location.pathname+document.location.search,{hitCallback:function hitBack(h,g){g?window.open(h,g):window.location.href=h}(v,y)}),h.preventDefault?h.preventDefault():h.returnValue=!1}}}}var h=window;h.addEventListener?h.addEventListener("load",(function(){document.body.addEventListener("click",_gaLt,!1)}),!1):h.attachEvent&&h.attachEvent("onload",(function(){document.body.attachEvent("onclick",_gaLt)}))},567:function(h,g,v){var y,b,w,C;function _typeof(h){return(_typeof="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function _typeof(h){return typeof h}:function _typeof(h){return h&&"function"===typeof Symbol&&h.constructor===Symbol&&h!==Symbol.prototype?"symbol":typeof h})(h)}h=v.nmd(h),C=function(){return function(h){function t(v){if(g[v])return g[v].exports;var y=g[v]={exports:{},id:v,loaded:!1};return h[v].call(y.exports,y,y.exports,t),y.loaded=!0,y.exports}var g={};return t.m=h,t.c=g,t.p="dist/",t(0)}([function(h,g,v){"use strict";function o(h){return h&&h.__esModule?h:{default:h}}var y=Object.assign||function(h){for(var g=1;g<arguments.length;g++){var v=arguments[g];for(var y in v)Object.prototype.hasOwnProperty.call(v,y)&&(h[y]=v[y])}return h},b=(o(v(1)),v(6)),w=o(b),C=o(v(7)),T=o(v(8)),A=o(v(9)),k=o(v(10)),D=o(v(11)),P=o(v(14)),R=[],N=!1,U={offset:120,delay:0,easing:"ease",duration:400,disable:!1,once:!1,startEvent:"DOMContentLoaded",throttleDelay:99,debounceDelay:50,disableMutationObserver:!1},q=function j(){var h=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(h&&(N=!0),N)return R=(0,D.default)(R,U),(0,k.default)(R,U.once),R},z=function O(){R=(0,P.default)(),q()};h.exports={init:function _(h){U=y(U,h),R=(0,P.default)();var g=document.all&&!window.atob;return function S(h){return!0===h||"mobile"===h&&A.default.mobile()||"phone"===h&&A.default.phone()||"tablet"===h&&A.default.tablet()||"function"==typeof h&&!0===h()}(U.disable)||g?function M(){R.forEach((function(h,g){h.node.removeAttribute("data-aos"),h.node.removeAttribute("data-aos-easing"),h.node.removeAttribute("data-aos-duration"),h.node.removeAttribute("data-aos-delay")}))}():(U.disableMutationObserver||T.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 '),U.disableMutationObserver=!0),document.querySelector("body").setAttribute("data-aos-easing",U.easing),document.querySelector("body").setAttribute("data-aos-duration",U.duration),document.querySelector("body").setAttribute("data-aos-delay",U.delay),"DOMContentLoaded"===U.startEvent&&["complete","interactive"].indexOf(document.readyState)>-1?q(!0):"load"===U.startEvent?window.addEventListener(U.startEvent,(function(){q(!0)})):document.addEventListener(U.startEvent,(function(){q(!0)})),window.addEventListener("resize",(0,C.default)(q,U.debounceDelay,!0)),window.addEventListener("orientationchange",(0,C.default)(q,U.debounceDelay,!0)),window.addEventListener("scroll",(0,w.default)((function(){(0,k.default)(R,U.once)}),U.throttleDelay)),U.disableMutationObserver||T.default.ready("[data-aos]",z),R)},refresh:q,refreshHard:z}},function(h,g){},,,,,function(h,g){(function(g){"use strict";function n(h,g,v){function o(g){var v=b,y=w;return b=w=void 0,D=g,T=h.apply(y,v)}function r(h){return D=h,A=setTimeout(f,g),P?o(h):T}function c(h){var v=h-k;return void 0===k||v>=g||v<0||R&&h-D>=C}function f(){var h=B();return c(h)?d(h):void(A=setTimeout(f,function a(h){var v=g-(h-k);return R?z(v,C-(h-D)):v}(h)))}function d(h){return A=void 0,N&&b?o(h):(b=w=void 0,T)}function m(){var h=B(),v=c(h);if(b=arguments,w=this,k=h,v){if(void 0===A)return r(k);if(R)return A=setTimeout(f,g),o(k)}return void 0===A&&(A=setTimeout(f,g)),T}var b,w,C,T,A,k,D=0,P=!1,R=!1,N=!0;if("function"!=typeof h)throw new TypeError(y);return g=u(g)||0,i(v)&&(P=!!v.leading,C=(R="maxWait"in v)?q(u(v.maxWait)||0,g):C,N="trailing"in v?!!v.trailing:N),m.cancel=function l(){void 0!==A&&clearTimeout(A),D=0,b=k=w=A=void 0},m.flush=function p(){return void 0===A?T:d(B())},m}function i(h){var g="undefined"==typeof h?"undefined":v(h);return!!h&&("object"==g||"function"==g)}function a(h){return"symbol"==("undefined"==typeof h?"undefined":v(h))||function r(h){return!!h&&"object"==("undefined"==typeof h?"undefined":v(h))}(h)&&U.call(h)==w}function u(h){if("number"==typeof h)return h;if(a(h))return b;if(i(h)){var g="function"==typeof h.valueOf?h.valueOf():h;h=i(g)?g+"":g}if("string"!=typeof h)return 0===h?h:+h;h=h.replace(C,"");var v=A.test(h);return v||k.test(h)?D(h.slice(2),v?2:8):T.test(h)?b:+h}var v="function"==typeof Symbol&&"symbol"==_typeof(Symbol.iterator)?function(h){return _typeof(h)}:function(h){return h&&"function"==typeof Symbol&&h.constructor===Symbol&&h!==Symbol.prototype?"symbol":_typeof(h)},y="Expected a function",b=NaN,w="[object Symbol]",C=/^\s+|\s+$/g,T=/^[-+]0x[0-9a-f]+$/i,A=/^0b[01]+$/i,k=/^0o[0-7]+$/i,D=parseInt,P="object"==("undefined"==typeof g?"undefined":v(g))&&g&&g.Object===Object&&g,R="object"==("undefined"==typeof self?"undefined":v(self))&&self&&self.Object===Object&&self,N=P||R||Function("return this")(),U=Object.prototype.toString,q=Math.max,z=Math.min,B=function O(){return N.Date.now()};h.exports=function o(h,g,v){var b=!0,w=!0;if("function"!=typeof h)throw new TypeError(y);return i(v)&&(b="leading"in v?!!v.leading:b,w="trailing"in v?!!v.trailing:w),n(h,g,{leading:b,maxWait:g,trailing:w})}}).call(g,function(){return this}())},function(h,g){(function(g){"use strict";function o(h){var g="undefined"==typeof h?"undefined":v(h);return!!h&&("object"==g||"function"==g)}function r(h){return"symbol"==("undefined"==typeof h?"undefined":v(h))||function i(h){return!!h&&"object"==("undefined"==typeof h?"undefined":v(h))}(h)&&U.call(h)==w}function a(h){if("number"==typeof h)return h;if(r(h))return b;if(o(h)){var g="function"==typeof h.valueOf?h.valueOf():h;h=o(g)?g+"":g}if("string"!=typeof h)return 0===h?h:+h;h=h.replace(C,"");var v=A.test(h);return v||k.test(h)?D(h.slice(2),v?2:8):T.test(h)?b:+h}var v="function"==typeof Symbol&&"symbol"==_typeof(Symbol.iterator)?function(h){return _typeof(h)}:function(h){return h&&"function"==typeof Symbol&&h.constructor===Symbol&&h!==Symbol.prototype?"symbol":_typeof(h)},y="Expected a function",b=NaN,w="[object Symbol]",C=/^\s+|\s+$/g,T=/^[-+]0x[0-9a-f]+$/i,A=/^0b[01]+$/i,k=/^0o[0-7]+$/i,D=parseInt,P="object"==("undefined"==typeof g?"undefined":v(g))&&g&&g.Object===Object&&g,R="object"==("undefined"==typeof self?"undefined":v(self))&&self&&self.Object===Object&&self,N=P||R||Function("return this")(),U=Object.prototype.toString,q=Math.max,z=Math.min,B=function j(){return N.Date.now()};h.exports=function n(h,g,v){function i(g){var v=b,y=w;return b=w=void 0,D=g,T=h.apply(y,v)}function r(h){return D=h,A=setTimeout(f,g),P?i(h):T}function s(h){var v=h-k;return void 0===k||v>=g||v<0||R&&h-D>=C}function f(){var h=B();return s(h)?d(h):void(A=setTimeout(f,function u(h){var v=g-(h-k);return R?z(v,C-(h-D)):v}(h)))}function d(h){return A=void 0,N&&b?i(h):(b=w=void 0,T)}function m(){var h=B(),v=s(h);if(b=arguments,w=this,k=h,v){if(void 0===A)return r(k);if(R)return A=setTimeout(f,g),i(k)}return void 0===A&&(A=setTimeout(f,g)),T}var b,w,C,T,A,k,D=0,P=!1,R=!1,N=!0;if("function"!=typeof h)throw new TypeError(y);return g=a(g)||0,o(v)&&(P=!!v.leading,C=(R="maxWait"in v)?q(a(v.maxWait)||0,g):C,N="trailing"in v?!!v.trailing:N),m.cancel=function l(){void 0!==A&&clearTimeout(A),D=0,b=k=w=A=void 0},m.flush=function p(){return void 0===A?T:d(B())},m}}).call(g,function(){return this}())},function(h,g){"use strict";function n(h){var g=void 0,v=void 0;for(g=0;g<h.length;g+=1){if((v=h[g]).dataset&&v.dataset.aos)return!0;if(v.children&&n(v.children))return!0}return!1}function o(){return window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver}function a(h){h&&h.forEach((function(h){var g=Array.prototype.slice.call(h.addedNodes),y=Array.prototype.slice.call(h.removedNodes);if(n(g.concat(y)))return v()}))}Object.defineProperty(g,"__esModule",{value:!0});var v=function u(){};g.default={isSupported:function i(){return!!o()},ready:function r(h,g){var y=window.document,b=new(o())(a);v=g,b.observe(y.documentElement,{childList:!0,subtree:!0,removedNodes:!0})}}},function(h,g){"use strict";function o(){return navigator.userAgent||navigator.vendor||window.opera||""}Object.defineProperty(g,"__esModule",{value:!0});var v=function(){function e(h,g){for(var v=0;v<g.length;v++){var y=g[v];y.enumerable=y.enumerable||!1,y.configurable=!0,"value"in y&&(y.writable=!0),Object.defineProperty(h,y.key,y)}}return function(h,g,v){return g&&e(h.prototype,g),v&&e(h,v),h}}(),y=/(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,b=/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,w=/(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,C=/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,T=function(){function e(){!function n(h,g){if(!(h instanceof g))throw new TypeError("Cannot call a class as a function")}(this,e)}return v(e,[{key:"phone",value:function value(){var h=o();return!(!y.test(h)&&!b.test(h.substr(0,4)))}},{key:"mobile",value:function value(){var h=o();return!(!w.test(h)&&!C.test(h.substr(0,4)))}},{key:"tablet",value:function value(){return this.mobile()&&!this.phone()}}]),e}();g.default=new T},function(h,g){"use strict";Object.defineProperty(g,"__esModule",{value:!0}),g.default=function o(h,g){var o=window.pageYOffset,v=window.innerHeight;h.forEach((function(h,y){!function n(h,g,v){var y=h.node.getAttribute("data-aos-once");g>h.position?h.node.classList.add("aos-animate"):"undefined"!=typeof y&&("false"===y||!v&&"true"!==y)&&h.node.classList.remove("aos-animate")}(h,v+o,g)}))}},function(h,g,v){"use strict";Object.defineProperty(g,"__esModule",{value:!0});var y=function o(h){return h&&h.__esModule?h:{default:h}}(v(12));g.default=function a(h,g){return h.forEach((function(h,v){h.node.classList.add("aos-init"),h.position=(0,y.default)(h.node,g.offset)})),h}},function(h,g,v){"use strict";Object.defineProperty(g,"__esModule",{value:!0});var y=function o(h){return h&&h.__esModule?h:{default:h}}(v(13));g.default=function a(h,g){var v=0,b=0,w=window.innerHeight,a={offset:h.getAttribute("data-aos-offset"),anchor:h.getAttribute("data-aos-anchor"),anchorPlacement:h.getAttribute("data-aos-anchor-placement")};switch(a.offset&&!isNaN(a.offset)&&(b=parseInt(a.offset)),a.anchor&&document.querySelectorAll(a.anchor)&&(h=document.querySelectorAll(a.anchor)[0]),v=(0,y.default)(h).top,a.anchorPlacement){case"top-bottom":break;case"center-bottom":v+=h.offsetHeight/2;break;case"bottom-bottom":v+=h.offsetHeight;break;case"top-center":v+=w/2;break;case"bottom-center":v+=w/2+h.offsetHeight;break;case"center-center":v+=w/2+h.offsetHeight/2;break;case"top-top":v+=w;break;case"bottom-top":v+=h.offsetHeight+w;break;case"center-top":v+=h.offsetHeight/2+w}return a.anchorPlacement||a.offset||isNaN(g)||(b=g),v+b}},function(h,g){"use strict";Object.defineProperty(g,"__esModule",{value:!0}),g.default=function n(h){for(var g=0,n=0;h&&!isNaN(h.offsetLeft)&&!isNaN(h.offsetTop);)g+=h.offsetLeft-("BODY"!=h.tagName?h.scrollLeft:0),n+=h.offsetTop-("BODY"!=h.tagName?h.scrollTop:0),h=h.offsetParent;return{top:n,left:g}}},function(h,g){"use strict";Object.defineProperty(g,"__esModule",{value:!0}),g.default=function n(h){return h=h||document.querySelectorAll("[data-aos]"),Array.prototype.map.call(h,(function(h){return{node:h}}))}}])},"object"==_typeof(g)&&"object"==_typeof(h)?h.exports=C():(b=[],void 0===(w="function"===typeof(y=C)?y.apply(g,b):y)||(h.exports=w))},807:function(h,g,v){var y,b,w,C;function _typeof(h){return(_typeof="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function _typeof(h){return typeof h}:function _typeof(h){return h&&"function"===typeof Symbol&&h.constructor===Symbol&&h!==Symbol.prototype?"symbol":typeof h})(h)}C=function($,h){"use strict";function _interopDefaultLegacy(h){return h&&"object"===_typeof(h)&&"default"in h?h:{default:h}}var g=_interopDefaultLegacy($),v=_interopDefaultLegacy(h);function _defineProperties(h,g){for(var v=0;v<g.length;v++){var y=g[v];y.enumerable=y.enumerable||!1,y.configurable=!0,"value"in y&&(y.writable=!0),Object.defineProperty(h,y.key,y)}}var y="bs.alert",b=g.default.fn.alert,w=function(){function Alert(h){this._element=h}var h=Alert.prototype;return h.close=function close(h){var g=this._element;h&&(g=this._getRootElement(h)),this._triggerCloseEvent(g).isDefaultPrevented()||this._removeElement(g)},h.dispose=function dispose(){g.default.removeData(this._element,y),this._element=null},h._getRootElement=function _getRootElement(h){var y=v.default.getSelectorFromElement(h),b=!1;return y&&(b=document.querySelector(y)),b||(b=g.default(h).closest(".alert")[0]),b},h._triggerCloseEvent=function _triggerCloseEvent(h){var v=g.default.Event("close.bs.alert");return g.default(h).trigger(v),v},h._removeElement=function _removeElement(h){var y=this;if(g.default(h).removeClass("show"),g.default(h).hasClass("fade")){var b=v.default.getTransitionDurationFromElement(h);g.default(h).one(v.default.TRANSITION_END,(function(g){return y._destroyElement(h,g)})).emulateTransitionEnd(b)}else this._destroyElement(h)},h._destroyElement=function _destroyElement(h){g.default(h).detach().trigger("closed.bs.alert").remove()},Alert._jQueryInterface=function _jQueryInterface(h){return this.each((function(){var v=g.default(this),b=v.data(y);b||(b=new Alert(this),v.data(y,b)),"close"===h&&b[h](this)}))},Alert._handleDismiss=function _handleDismiss(h){return function(g){g&&g.preventDefault(),h.close(this)}},function _createClass(h,g,v){return g&&_defineProperties(h.prototype,g),v&&_defineProperties(h,v),h}(Alert,null,[{key:"VERSION",get:function get(){return"4.5.3"}}]),Alert}();return g.default(document).on("click.bs.alert.data-api",'[data-dismiss="alert"]',w._handleDismiss(new w)),g.default.fn.alert=w._jQueryInterface,g.default.fn.alert.Constructor=w,g.default.fn.alert.noConflict=function(){return g.default.fn.alert=b,w._jQueryInterface},w},"object"===_typeof(g)?h.exports=C(v(609),v(803)):(b=[v(609),v(803)],void 0===(w="function"===typeof(y=C)?y.apply(g,b):y)||(h.exports=w))},173:function(h,g,v){var y,b,w,C;function _typeof(h){return(_typeof="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function _typeof(h){return typeof h}:function _typeof(h){return h&&"function"===typeof Symbol&&h.constructor===Symbol&&h!==Symbol.prototype?"symbol":typeof h})(h)}C=function($){"use strict";function _interopDefaultLegacy(h){return h&&"object"===_typeof(h)&&"default"in h?h:{default:h}}var h=_interopDefaultLegacy($);function _defineProperties(h,g){for(var v=0;v<g.length;v++){var y=g[v];y.enumerable=y.enumerable||!1,y.configurable=!0,"value"in y&&(y.writable=!0),Object.defineProperty(h,y.key,y)}}var g="button",v="bs.button",y=h.default.fn[g],b="active",w='[data-toggle^="button"]',C='input:not([type="hidden"])',T=".btn",A=function(){function Button(h){this._element=h,this.shouldAvoidTriggerChange=!1}var g=Button.prototype;return g.toggle=function toggle(){var g=!0,v=!0,y=h.default(this._element).closest('[data-toggle="buttons"]')[0];if(y){var w=this._element.querySelector(C);if(w){if("radio"===w.type)if(w.checked&&this._element.classList.contains(b))g=!1;else{var T=y.querySelector(".active");T&&h.default(T).removeClass(b)}g&&("checkbox"!==w.type&&"radio"!==w.type||(w.checked=!this._element.classList.contains(b)),this.shouldAvoidTriggerChange||h.default(w).trigger("change")),w.focus(),v=!1}}this._element.hasAttribute("disabled")||this._element.classList.contains("disabled")||(v&&this._element.setAttribute("aria-pressed",!this._element.classList.contains(b)),g&&h.default(this._element).toggleClass(b))},g.dispose=function dispose(){h.default.removeData(this._element,v),this._element=null},Button._jQueryInterface=function _jQueryInterface(g,y){return this.each((function(){var b=h.default(this),w=b.data(v);w||(w=new Button(this),b.data(v,w)),w.shouldAvoidTriggerChange=y,"toggle"===g&&w[g]()}))},function _createClass(h,g,v){return g&&_defineProperties(h.prototype,g),v&&_defineProperties(h,v),h}(Button,null,[{key:"VERSION",get:function get(){return"4.5.3"}}]),Button}();return h.default(document).on("click.bs.button.data-api",w,(function(g){var v=g.target,y=v;if(h.default(v).hasClass("btn")||(v=h.default(v).closest(T)[0]),!v||v.hasAttribute("disabled")||v.classList.contains("disabled"))g.preventDefault();else{var b=v.querySelector(C);if(b&&(b.hasAttribute("disabled")||b.classList.contains("disabled")))return void g.preventDefault();"INPUT"!==y.tagName&&"LABEL"===v.tagName||A._jQueryInterface.call(h.default(v),"toggle","INPUT"===y.tagName)}})).on("focus.bs.button.data-api blur.bs.button.data-api",w,(function(g){var v=h.default(g.target).closest(T)[0];h.default(v).toggleClass("focus",/^focus(in)?$/.test(g.type))})),h.default(window).on("load.bs.button.data-api",(function(){for(var h=[].slice.call(document.querySelectorAll('[data-toggle="buttons"] .btn')),g=0,v=h.length;g<v;g++){var y=h[g],w=y.querySelector(C);w.checked||w.hasAttribute("checked")?y.classList.add(b):y.classList.remove(b)}for(var T=0,A=(h=[].slice.call(document.querySelectorAll('[data-toggle="button"]'))).length;T<A;T++){var k=h[T];"true"===k.getAttribute("aria-pressed")?k.classList.add(b):k.classList.remove(b)}})),h.default.fn[g]=A._jQueryInterface,h.default.fn[g].Constructor=A,h.default.fn[g].noConflict=function(){return h.default.fn[g]=y,A._jQueryInterface},A},"object"===_typeof(g)?h.exports=C(v(609)):(b=[v(609)],void 0===(w="function"===typeof(y=C)?y.apply(g,b):y)||(h.exports=w))},146:function(h,g,v){var y,b,w,C;function _typeof(h){return(_typeof="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function _typeof(h){return typeof h}:function _typeof(h){return h&&"function"===typeof Symbol&&h.constructor===Symbol&&h!==Symbol.prototype?"symbol":typeof h})(h)}C=function($,h){"use strict";function _interopDefaultLegacy(h){return h&&"object"===_typeof(h)&&"default"in h?h:{default:h}}var g=_interopDefaultLegacy($),v=_interopDefaultLegacy(h);function _extends(){return(_extends=Object.assign||function(h){for(var g=1;g<arguments.length;g++){var v=arguments[g];for(var y in v)Object.prototype.hasOwnProperty.call(v,y)&&(h[y]=v[y])}return h}).apply(this,arguments)}function _defineProperties(h,g){for(var v=0;v<g.length;v++){var y=g[v];y.enumerable=y.enumerable||!1,y.configurable=!0,"value"in y&&(y.writable=!0),Object.defineProperty(h,y.key,y)}}var y="carousel",b="bs.carousel",w="."+b,C=g.default.fn[y],T={interval:5e3,keyboard:!0,slide:!1,pause:"hover",wrap:!0,touch:!0},A={interval:"(number|boolean)",keyboard:"boolean",slide:"(boolean|string)",pause:"(string|boolean)",wrap:"boolean",touch:"boolean"},k="next",D="prev",P="slid"+w,R="active",N=".active.carousel-item",U={TOUCH:"touch",PEN:"pen"},q=function(){function Carousel(h,g){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(g),this._element=h,this._indicatorsElement=this._element.querySelector(".carousel-indicators"),this._touchSupported="ontouchstart"in document.documentElement||navigator.maxTouchPoints>0,this._pointerEvent=Boolean(window.PointerEvent||window.MSPointerEvent),this._addEventListeners()}var h=Carousel.prototype;return h.next=function next(){this._isSliding||this._slide(k)},h.nextWhenVisible=function nextWhenVisible(){var h=g.default(this._element);!document.hidden&&h.is(":visible")&&"hidden"!==h.css("visibility")&&this.next()},h.prev=function prev(){this._isSliding||this._slide(D)},h.pause=function pause(h){h||(this._isPaused=!0),this._element.querySelector(".carousel-item-next, .carousel-item-prev")&&(v.default.triggerTransitionEnd(this._element),this.cycle(!0)),clearInterval(this._interval),this._interval=null},h.cycle=function cycle(h){h||(this._isPaused=!1),this._interval&&(clearInterval(this._interval),this._interval=null),this._config.interval&&!this._isPaused&&(this._interval=setInterval((document.visibilityState?this.nextWhenVisible:this.next).bind(this),this._config.interval))},h.to=function to(h){var v=this;this._activeElement=this._element.querySelector(N);var y=this._getItemIndex(this._activeElement);if(!(h>this._items.length-1||h<0))if(this._isSliding)g.default(this._element).one(P,(function(){return v.to(h)}));else{if(y===h)return this.pause(),void this.cycle();var b=h>y?k:D;this._slide(b,this._items[h])}},h.dispose=function dispose(){g.default(this._element).off(w),g.default.removeData(this._element,b),this._items=null,this._config=null,this._element=null,this._interval=null,this._isPaused=null,this._isSliding=null,this._activeElement=null,this._indicatorsElement=null},h._getConfig=function _getConfig(h){return h=_extends({},T,h),v.default.typeCheckConfig(y,h,A),h},h._handleSwipe=function _handleSwipe(){var h=Math.abs(this.touchDeltaX);if(!(h<=40)){var g=h/this.touchDeltaX;this.touchDeltaX=0,g>0&&this.prev(),g<0&&this.next()}},h._addEventListeners=function _addEventListeners(){var h=this;this._config.keyboard&&g.default(this._element).on("keydown.bs.carousel",(function(g){return h._keydown(g)})),"hover"===this._config.pause&&g.default(this._element).on("mouseenter.bs.carousel",(function(g){return h.pause(g)})).on("mouseleave.bs.carousel",(function(g){return h.cycle(g)})),this._config.touch&&this._addTouchEventListeners()},h._addTouchEventListeners=function _addTouchEventListeners(){var h=this;if(this._touchSupported){var v=function start(g){h._pointerEvent&&U[g.originalEvent.pointerType.toUpperCase()]?h.touchStartX=g.originalEvent.clientX:h._pointerEvent||(h.touchStartX=g.originalEvent.touches[0].clientX)},y=function end(g){h._pointerEvent&&U[g.originalEvent.pointerType.toUpperCase()]&&(h.touchDeltaX=g.originalEvent.clientX-h.touchStartX),h._handleSwipe(),"hover"===h._config.pause&&(h.pause(),h.touchTimeout&&clearTimeout(h.touchTimeout),h.touchTimeout=setTimeout((function(g){return h.cycle(g)}),500+h._config.interval))};g.default(this._element.querySelectorAll(".carousel-item img")).on("dragstart.bs.carousel",(function(h){return h.preventDefault()})),this._pointerEvent?(g.default(this._element).on("pointerdown.bs.carousel",(function(h){return v(h)})),g.default(this._element).on("pointerup.bs.carousel",(function(h){return y(h)})),this._element.classList.add("pointer-event")):(g.default(this._element).on("touchstart.bs.carousel",(function(h){return v(h)})),g.default(this._element).on("touchmove.bs.carousel",(function(g){return function move(g){g.originalEvent.touches&&g.originalEvent.touches.length>1?h.touchDeltaX=0:h.touchDeltaX=g.originalEvent.touches[0].clientX-h.touchStartX}(g)})),g.default(this._element).on("touchend.bs.carousel",(function(h){return y(h)})))}},h._keydown=function _keydown(h){if(!/input|textarea/i.test(h.target.tagName))switch(h.which){case 37:h.preventDefault(),this.prev();break;case 39:h.preventDefault(),this.next()}},h._getItemIndex=function _getItemIndex(h){return this._items=h&&h.parentNode?[].slice.call(h.parentNode.querySelectorAll(".carousel-item")):[],this._items.indexOf(h)},h._getItemByDirection=function _getItemByDirection(h,g){var v=h===k,y=h===D,b=this._getItemIndex(g),w=this._items.length-1;if((y&&0===b||v&&b===w)&&!this._config.wrap)return g;var C=(b+(h===D?-1:1))%this._items.length;return-1===C?this._items[this._items.length-1]:this._items[C]},h._triggerSlideEvent=function _triggerSlideEvent(h,v){var y=this._getItemIndex(h),b=this._getItemIndex(this._element.querySelector(N)),w=g.default.Event("slide.bs.carousel",{relatedTarget:h,direction:v,from:b,to:y});return g.default(this._element).trigger(w),w},h._setActiveIndicatorElement=function _setActiveIndicatorElement(h){if(this._indicatorsElement){var v=[].slice.call(this._indicatorsElement.querySelectorAll(".active"));g.default(v).removeClass(R);var y=this._indicatorsElement.children[this._getItemIndex(h)];y&&g.default(y).addClass(R)}},h._slide=function _slide(h,y){var b,w,C,T=this,A=this._element.querySelector(N),D=this._getItemIndex(A),U=y||A&&this._getItemByDirection(h,A),q=this._getItemIndex(U),z=Boolean(this._interval);if(h===k?(b="carousel-item-left",w="carousel-item-next",C="left"):(b="carousel-item-right",w="carousel-item-prev",C="right"),U&&g.default(U).hasClass(R))this._isSliding=!1;else if(!this._triggerSlideEvent(U,C).isDefaultPrevented()&&A&&U){this._isSliding=!0,z&&this.pause(),this._setActiveIndicatorElement(U);var B=g.default.Event(P,{relatedTarget:U,direction:C,from:D,to:q});if(g.default(this._element).hasClass("slide")){g.default(U).addClass(w),v.default.reflow(U),g.default(A).addClass(b),g.default(U).addClass(b);var W=parseInt(U.getAttribute("data-interval"),10);W?(this._config.defaultInterval=this._config.defaultInterval||this._config.interval,this._config.interval=W):this._config.interval=this._config.defaultInterval||this._config.interval;var Y=v.default.getTransitionDurationFromElement(A);g.default(A).one(v.default.TRANSITION_END,(function(){g.default(U).removeClass(b+" "+w).addClass(R),g.default(A).removeClass("active "+w+" "+b),T._isSliding=!1,setTimeout((function(){return g.default(T._element).trigger(B)}),0)})).emulateTransitionEnd(Y)}else g.default(A).removeClass(R),g.default(U).addClass(R),this._isSliding=!1,g.default(this._element).trigger(B);z&&this.cycle()}},Carousel._jQueryInterface=function _jQueryInterface(h){return this.each((function(){var v=g.default(this).data(b),y=_extends({},T,g.default(this).data());"object"===_typeof(h)&&(y=_extends({},y,h));var w="string"===typeof h?h:y.slide;if(v||(v=new Carousel(this,y),g.default(this).data(b,v)),"number"===typeof h)v.to(h);else if("string"===typeof w){if("undefined"===typeof v[w])throw new TypeError('No method named "'+w+'"');v[w]()}else y.interval&&y.ride&&(v.pause(),v.cycle())}))},Carousel._dataApiClickHandler=function _dataApiClickHandler(h){var y=v.default.getSelectorFromElement(this);if(y){var w=g.default(y)[0];if(w&&g.default(w).hasClass("carousel")){var C=_extends({},g.default(w).data(),g.default(this).data()),T=this.getAttribute("data-slide-to");T&&(C.interval=!1),Carousel._jQueryInterface.call(g.default(w),C),T&&g.default(w).data(b).to(T),h.preventDefault()}}},function _createClass(h,g,v){return g&&_defineProperties(h.prototype,g),v&&_defineProperties(h,v),h}(Carousel,null,[{key:"VERSION",get:function get(){return"4.5.3"}},{key:"Default",get:function get(){return T}}]),Carousel}();return g.default(document).on("click.bs.carousel.data-api","[data-slide], [data-slide-to]",q._dataApiClickHandler),g.default(window).on("load.bs.carousel.data-api",(function(){for(var h=[].slice.call(document.querySelectorAll('[data-ride="carousel"]')),v=0,y=h.length;v<y;v++){var b=g.default(h[v]);q._jQueryInterface.call(b,b.data())}})),g.default.fn[y]=q._jQueryInterface,g.default.fn[y].Constructor=q,g.default.fn[y].noConflict=function(){return g.default.fn[y]=C,q._jQueryInterface},q},"object"===_typeof(g)?h.exports=C(v(609),v(803)):(b=[v(609),v(803)],void 0===(w="function"===typeof(y=C)?y.apply(g,b):y)||(h.exports=w))},171:function(h,g,v){var y,b,w,C;function _typeof(h){return(_typeof="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function _typeof(h){return typeof h}:function _typeof(h){return h&&"function"===typeof Symbol&&h.constructor===Symbol&&h!==Symbol.prototype?"symbol":typeof h})(h)}C=function($,h){"use strict";function _interopDefaultLegacy(h){return h&&"object"===_typeof(h)&&"default"in h?h:{default:h}}var g=_interopDefaultLegacy($),v=_interopDefaultLegacy(h);function _extends(){return(_extends=Object.assign||function(h){for(var g=1;g<arguments.length;g++){var v=arguments[g];for(var y in v)Object.prototype.hasOwnProperty.call(v,y)&&(h[y]=v[y])}return h}).apply(this,arguments)}function _defineProperties(h,g){for(var v=0;v<g.length;v++){var y=g[v];y.enumerable=y.enumerable||!1,y.configurable=!0,"value"in y&&(y.writable=!0),Object.defineProperty(h,y.key,y)}}var y="collapse",b="bs.collapse",w=g.default.fn[y],C={toggle:!0,parent:""},T={toggle:"boolean",parent:"(string|element)"},A="show",k="collapse",D="collapsing",P="collapsed",R="width",N='[data-toggle="collapse"]',U=function(){function Collapse(h,g){this._isTransitioning=!1,this._element=h,this._config=this._getConfig(g),this._triggerArray=[].slice.call(document.querySelectorAll('[data-toggle="collapse"][href="#'+h.id+'"],[data-toggle="collapse"][data-target="#'+h.id+'"]'));for(var y=[].slice.call(document.querySelectorAll(N)),b=0,w=y.length;b<w;b++){var C=y[b],T=v.default.getSelectorFromElement(C),A=[].slice.call(document.querySelectorAll(T)).filter((function(g){return g===h}));null!==T&&A.length>0&&(this._selector=T,this._triggerArray.push(C))}this._parent=this._config.parent?this._getParent():null,this._config.parent||this._addAriaAndCollapsedClass(this._element,this._triggerArray),this._config.toggle&&this.toggle()}var h=Collapse.prototype;return h.toggle=function toggle(){g.default(this._element).hasClass(A)?this.hide():this.show()},h.show=function show(){var h,y,w=this;if(!this._isTransitioning&&!g.default(this._element).hasClass(A)&&(this._parent&&0===(h=[].slice.call(this._parent.querySelectorAll(".show, .collapsing")).filter((function(h){return"string"===typeof w._config.parent?h.getAttribute("data-parent")===w._config.parent:h.classList.contains(k)}))).length&&(h=null),!(h&&(y=g.default(h).not(this._selector).data(b))&&y._isTransitioning))){var C=g.default.Event("show.bs.collapse");if(g.default(this._element).trigger(C),!C.isDefaultPrevented()){h&&(Collapse._jQueryInterface.call(g.default(h).not(this._selector),"hide"),y||g.default(h).data(b,null));var T=this._getDimension();g.default(this._element).removeClass(k).addClass(D),this._element.style[T]=0,this._triggerArray.length&&g.default(this._triggerArray).removeClass(P).attr("aria-expanded",!0),this.setTransitioning(!0);var R="scroll"+(T[0].toUpperCase()+T.slice(1)),N=v.default.getTransitionDurationFromElement(this._element);g.default(this._element).one(v.default.TRANSITION_END,(function complete(){g.default(w._element).removeClass(D).addClass("collapse show"),w._element.style[T]="",w.setTransitioning(!1),g.default(w._element).trigger("shown.bs.collapse")})).emulateTransitionEnd(N),this._element.style[T]=this._element[R]+"px"}}},h.hide=function hide(){var h=this;if(!this._isTransitioning&&g.default(this._element).hasClass(A)){var y=g.default.Event("hide.bs.collapse");if(g.default(this._element).trigger(y),!y.isDefaultPrevented()){var b=this._getDimension();this._element.style[b]=this._element.getBoundingClientRect()[b]+"px",v.default.reflow(this._element),g.default(this._element).addClass(D).removeClass("collapse show");var w=this._triggerArray.length;if(w>0)for(var C=0;C<w;C++){var T=this._triggerArray[C],R=v.default.getSelectorFromElement(T);null!==R&&(g.default([].slice.call(document.querySelectorAll(R))).hasClass(A)||g.default(T).addClass(P).attr("aria-expanded",!1))}this.setTransitioning(!0),this._element.style[b]="";var N=v.default.getTransitionDurationFromElement(this._element);g.default(this._element).one(v.default.TRANSITION_END,(function complete(){h.setTransitioning(!1),g.default(h._element).removeClass(D).addClass(k).trigger("hidden.bs.collapse")})).emulateTransitionEnd(N)}}},h.setTransitioning=function setTransitioning(h){this._isTransitioning=h},h.dispose=function dispose(){g.default.removeData(this._element,b),this._config=null,this._parent=null,this._element=null,this._triggerArray=null,this._isTransitioning=null},h._getConfig=function _getConfig(h){return(h=_extends({},C,h)).toggle=Boolean(h.toggle),v.default.typeCheckConfig(y,h,T),h},h._getDimension=function _getDimension(){return g.default(this._element).hasClass(R)?R:"height"},h._getParent=function _getParent(){var h,y=this;v.default.isElement(this._config.parent)?(h=this._config.parent,"undefined"!==typeof this._config.parent.jquery&&(h=this._config.parent[0])):h=document.querySelector(this._config.parent);var b='[data-toggle="collapse"][data-parent="'+this._config.parent+'"]',w=[].slice.call(h.querySelectorAll(b));return g.default(w).each((function(h,g){y._addAriaAndCollapsedClass(Collapse._getTargetFromElement(g),[g])})),h},h._addAriaAndCollapsedClass=function _addAriaAndCollapsedClass(h,v){var y=g.default(h).hasClass(A);v.length&&g.default(v).toggleClass(P,!y).attr("aria-expanded",y)},Collapse._getTargetFromElement=function _getTargetFromElement(h){var g=v.default.getSelectorFromElement(h);return g?document.querySelector(g):null},Collapse._jQueryInterface=function _jQueryInterface(h){return this.each((function(){var v=g.default(this),y=v.data(b),w=_extends({},C,v.data(),"object"===_typeof(h)&&h?h:{});if(!y&&w.toggle&&"string"===typeof h&&/show|hide/.test(h)&&(w.toggle=!1),y||(y=new Collapse(this,w),v.data(b,y)),"string"===typeof h){if("undefined"===typeof y[h])throw new TypeError('No method named "'+h+'"');y[h]()}}))},function _createClass(h,g,v){return g&&_defineProperties(h.prototype,g),v&&_defineProperties(h,v),h}(Collapse,null,[{key:"VERSION",get:function get(){return"4.5.3"}},{key:"Default",get:function get(){return C}}]),Collapse}();return g.default(document).on("click.bs.collapse.data-api",N,(function(h){"A"===h.currentTarget.tagName&&h.preventDefault();var y=g.default(this),w=v.default.getSelectorFromElement(this),C=[].slice.call(document.querySelectorAll(w));g.default(C).each((function(){var h=g.default(this),v=h.data(b)?"toggle":y.data();U._jQueryInterface.call(h,v)}))})),g.default.fn[y]=U._jQueryInterface,g.default.fn[y].Constructor=U,g.default.fn[y].noConflict=function(){return g.default.fn[y]=w,U._jQueryInterface},U},"object"===_typeof(g)?h.exports=C(v(609),v(803)):(b=[v(609),v(803)],void 0===(w="function"===typeof(y=C)?y.apply(g,b):y)||(h.exports=w))},66:function(h,g,v){var y,b,w,C;function _typeof(h){return(_typeof="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function _typeof(h){return typeof h}:function _typeof(h){return h&&"function"===typeof Symbol&&h.constructor===Symbol&&h!==Symbol.prototype?"symbol":typeof h})(h)}C=function($,h){"use strict";function _interopDefaultLegacy(h){return h&&"object"===_typeof(h)&&"default"in h?h:{default:h}}var g=_interopDefaultLegacy($),v=_interopDefaultLegacy(h);function _extends(){return(_extends=Object.assign||function(h){for(var g=1;g<arguments.length;g++){var v=arguments[g];for(var y in v)Object.prototype.hasOwnProperty.call(v,y)&&(h[y]=v[y])}return h}).apply(this,arguments)}function _defineProperties(h,g){for(var v=0;v<g.length;v++){var y=g[v];y.enumerable=y.enumerable||!1,y.configurable=!0,"value"in y&&(y.writable=!0),Object.defineProperty(h,y.key,y)}}var y="modal",b="bs.modal",w=".bs.modal",C=g.default.fn.modal,T={backdrop:!0,keyboard:!0,focus:!0,show:!0},A={backdrop:"(boolean|string)",keyboard:"boolean",focus:"boolean",show:"boolean"},k="hidden.bs.modal",D="show.bs.modal",P="focusin.bs.modal",R="resize.bs.modal",N="click.dismiss.bs.modal",U="keydown.dismiss.bs.modal",q="mousedown.dismiss.bs.modal",z="modal-open",B="fade",W="show",Y="modal-static",Q=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",V=".sticky-top",G=function(){function Modal(h,g){this._config=this._getConfig(g),this._element=h,this._dialog=h.querySelector(".modal-dialog"),this._backdrop=null,this._isShown=!1,this._isBodyOverflowing=!1,this._ignoreBackdropClick=!1,this._isTransitioning=!1,this._scrollbarWidth=0}var h=Modal.prototype;return h.toggle=function toggle(h){return this._isShown?this.hide():this.show(h)},h.show=function show(h){var v=this;if(!this._isShown&&!this._isTransitioning){g.default(this._element).hasClass(B)&&(this._isTransitioning=!0);var y=g.default.Event(D,{relatedTarget:h});g.default(this._element).trigger(y),this._isShown||y.isDefaultPrevented()||(this._isShown=!0,this._checkScrollbar(),this._setScrollbar(),this._adjustDialog(),this._setEscapeEvent(),this._setResizeEvent(),g.default(this._element).on(N,'[data-dismiss="modal"]',(function(h){return v.hide(h)})),g.default(this._dialog).on(q,(function(){g.default(v._element).one("mouseup.dismiss.bs.modal",(function(h){g.default(h.target).is(v._element)&&(v._ignoreBackdropClick=!0)}))})),this._showBackdrop((function(){return v._showElement(h)})))}},h.hide=function hide(h){var y=this;if(h&&h.preventDefault(),this._isShown&&!this._isTransitioning){var b=g.default.Event("hide.bs.modal");if(g.default(this._element).trigger(b),this._isShown&&!b.isDefaultPrevented()){this._isShown=!1;var w=g.default(this._element).hasClass(B);if(w&&(this._isTransitioning=!0),this._setEscapeEvent(),this._setResizeEvent(),g.default(document).off(P),g.default(this._element).removeClass(W),g.default(this._element).off(N),g.default(this._dialog).off(q),w){var C=v.default.getTransitionDurationFromElement(this._element);g.default(this._element).one(v.default.TRANSITION_END,(function(h){return y._hideModal(h)})).emulateTransitionEnd(C)}else this._hideModal()}}},h.dispose=function dispose(){[window,this._element,this._dialog].forEach((function(h){return g.default(h).off(w)})),g.default(document).off(P),g.default.removeData(this._element,b),this._config=null,this._element=null,this._dialog=null,this._backdrop=null,this._isShown=null,this._isBodyOverflowing=null,this._ignoreBackdropClick=null,this._isTransitioning=null,this._scrollbarWidth=null},h.handleUpdate=function handleUpdate(){this._adjustDialog()},h._getConfig=function _getConfig(h){return h=_extends({},T,h),v.default.typeCheckConfig(y,h,A),h},h._triggerBackdropTransition=function _triggerBackdropTransition(){var h=this;if("static"===this._config.backdrop){var y=g.default.Event("hidePrevented.bs.modal");if(g.default(this._element).trigger(y),y.isDefaultPrevented())return;var b=this._element.scrollHeight>document.documentElement.clientHeight;b||(this._element.style.overflowY="hidden"),this._element.classList.add(Y);var w=v.default.getTransitionDurationFromElement(this._dialog);g.default(this._element).off(v.default.TRANSITION_END),g.default(this._element).one(v.default.TRANSITION_END,(function(){h._element.classList.remove(Y),b||g.default(h._element).one(v.default.TRANSITION_END,(function(){h._element.style.overflowY=""})).emulateTransitionEnd(h._element,w)})).emulateTransitionEnd(w),this._element.focus()}else this.hide()},h._showElement=function _showElement(h){var y=this,b=g.default(this._element).hasClass(B),w=this._dialog?this._dialog.querySelector(".modal-body"):null;this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE||document.body.appendChild(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),g.default(this._dialog).hasClass("modal-dialog-scrollable")&&w?w.scrollTop=0:this._element.scrollTop=0,b&&v.default.reflow(this._element),g.default(this._element).addClass(W),this._config.focus&&this._enforceFocus();var C=g.default.Event("shown.bs.modal",{relatedTarget:h}),T=function transitionComplete(){y._config.focus&&y._element.focus(),y._isTransitioning=!1,g.default(y._element).trigger(C)};if(b){var A=v.default.getTransitionDurationFromElement(this._dialog);g.default(this._dialog).one(v.default.TRANSITION_END,T).emulateTransitionEnd(A)}else T()},h._enforceFocus=function _enforceFocus(){var h=this;g.default(document).off(P).on(P,(function(v){document!==v.target&&h._element!==v.target&&0===g.default(h._element).has(v.target).length&&h._element.focus()}))},h._setEscapeEvent=function _setEscapeEvent(){var h=this;this._isShown?g.default(this._element).on(U,(function(g){h._config.keyboard&&27===g.which?(g.preventDefault(),h.hide()):h._config.keyboard||27!==g.which||h._triggerBackdropTransition()})):this._isShown||g.default(this._element).off(U)},h._setResizeEvent=function _setResizeEvent(){var h=this;this._isShown?g.default(window).on(R,(function(g){return h.handleUpdate(g)})):g.default(window).off(R)},h._hideModal=function _hideModal(){var h=this;this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._showBackdrop((function(){g.default(document.body).removeClass(z),h._resetAdjustments(),h._resetScrollbar(),g.default(h._element).trigger(k)}))},h._removeBackdrop=function _removeBackdrop(){this._backdrop&&(g.default(this._backdrop).remove(),this._backdrop=null)},h._showBackdrop=function _showBackdrop(h){var y=this,b=g.default(this._element).hasClass(B)?B:"";if(this._isShown&&this._config.backdrop){if(this._backdrop=document.createElement("div"),this._backdrop.className="modal-backdrop",b&&this._backdrop.classList.add(b),g.default(this._backdrop).appendTo(document.body),g.default(this._element).on(N,(function(h){y._ignoreBackdropClick?y._ignoreBackdropClick=!1:h.target===h.currentTarget&&y._triggerBackdropTransition()})),b&&v.default.reflow(this._backdrop),g.default(this._backdrop).addClass(W),!h)return;if(!b)return void h();var w=v.default.getTransitionDurationFromElement(this._backdrop);g.default(this._backdrop).one(v.default.TRANSITION_END,h).emulateTransitionEnd(w)}else if(!this._isShown&&this._backdrop){g.default(this._backdrop).removeClass(W);var C=function callbackRemove(){y._removeBackdrop(),h&&h()};if(g.default(this._element).hasClass(B)){var T=v.default.getTransitionDurationFromElement(this._backdrop);g.default(this._backdrop).one(v.default.TRANSITION_END,C).emulateTransitionEnd(T)}else C()}else h&&h()},h._adjustDialog=function _adjustDialog(){var h=this._element.scrollHeight>document.documentElement.clientHeight;!this._isBodyOverflowing&&h&&(this._element.style.paddingLeft=this._scrollbarWidth+"px"),this._isBodyOverflowing&&!h&&(this._element.style.paddingRight=this._scrollbarWidth+"px")},h._resetAdjustments=function _resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""},h._checkScrollbar=function _checkScrollbar(){var h=document.body.getBoundingClientRect();this._isBodyOverflowing=Math.round(h.left+h.right)<window.innerWidth,this._scrollbarWidth=this._getScrollbarWidth()},h._setScrollbar=function _setScrollbar(){var h=this;if(this._isBodyOverflowing){var v=[].slice.call(document.querySelectorAll(Q)),y=[].slice.call(document.querySelectorAll(V));g.default(v).each((function(v,y){var b=y.style.paddingRight,w=g.default(y).css("padding-right");g.default(y).data("padding-right",b).css("padding-right",parseFloat(w)+h._scrollbarWidth+"px")})),g.default(y).each((function(v,y){var b=y.style.marginRight,w=g.default(y).css("margin-right");g.default(y).data("margin-right",b).css("margin-right",parseFloat(w)-h._scrollbarWidth+"px")}));var b=document.body.style.paddingRight,w=g.default(document.body).css("padding-right");g.default(document.body).data("padding-right",b).css("padding-right",parseFloat(w)+this._scrollbarWidth+"px")}g.default(document.body).addClass(z)},h._resetScrollbar=function _resetScrollbar(){var h=[].slice.call(document.querySelectorAll(Q));g.default(h).each((function(h,v){var y=g.default(v).data("padding-right");g.default(v).removeData("padding-right"),v.style.paddingRight=y||""}));var v=[].slice.call(document.querySelectorAll(".sticky-top"));g.default(v).each((function(h,v){var y=g.default(v).data("margin-right");"undefined"!==typeof y&&g.default(v).css("margin-right",y).removeData("margin-right")}));var y=g.default(document.body).data("padding-right");g.default(document.body).removeData("padding-right"),document.body.style.paddingRight=y||""},h._getScrollbarWidth=function _getScrollbarWidth(){var h=document.createElement("div");h.className="modal-scrollbar-measure",document.body.appendChild(h);var g=h.getBoundingClientRect().width-h.clientWidth;return document.body.removeChild(h),g},Modal._jQueryInterface=function _jQueryInterface(h,v){return this.each((function(){var y=g.default(this).data(b),w=_extends({},T,g.default(this).data(),"object"===_typeof(h)&&h?h:{});if(y||(y=new Modal(this,w),g.default(this).data(b,y)),"string"===typeof h){if("undefined"===typeof y[h])throw new TypeError('No method named "'+h+'"');y[h](v)}else w.show&&y.show(v)}))},function _createClass(h,g,v){return g&&_defineProperties(h.prototype,g),v&&_defineProperties(h,v),h}(Modal,null,[{key:"VERSION",get:function get(){return"4.5.3"}},{key:"Default",get:function get(){return T}}]),Modal}();return g.default(document).on("click.bs.modal.data-api",'[data-toggle="modal"]',(function(h){var y,w=this,C=v.default.getSelectorFromElement(this);C&&(y=document.querySelector(C));var T=g.default(y).data(b)?"toggle":_extends({},g.default(y).data(),g.default(this).data());"A"!==this.tagName&&"AREA"!==this.tagName||h.preventDefault();var A=g.default(y).one(D,(function(h){h.isDefaultPrevented()||A.one(k,(function(){g.default(w).is(":visible")&&w.focus()}))}));G._jQueryInterface.call(g.default(y),T,this)})),g.default.fn.modal=G._jQueryInterface,g.default.fn.modal.Constructor=G,g.default.fn.modal.noConflict=function(){return g.default.fn.modal=C,G._jQueryInterface},G},"object"===_typeof(g)?h.exports=C(v(609),v(803)):(b=[v(609),v(803)],void 0===(w="function"===typeof(y=C)?y.apply(g,b):y)||(h.exports=w))},563:function(h,g,v){var y,b,w,C;function _typeof(h){return(_typeof="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function _typeof(h){return typeof h}:function _typeof(h){return h&&"function"===typeof Symbol&&h.constructor===Symbol&&h!==Symbol.prototype?"symbol":typeof h})(h)}C=function($,h){"use strict";function _interopDefaultLegacy(h){return h&&"object"===_typeof(h)&&"default"in h?h:{default:h}}var g=_interopDefaultLegacy($),v=_interopDefaultLegacy(h);function _defineProperties(h,g){for(var v=0;v<g.length;v++){var y=g[v];y.enumerable=y.enumerable||!1,y.configurable=!0,"value"in y&&(y.writable=!0),Object.defineProperty(h,y.key,y)}}function _extends(){return(_extends=Object.assign||function(h){for(var g=1;g<arguments.length;g++){var v=arguments[g];for(var y in v)Object.prototype.hasOwnProperty.call(v,y)&&(h[y]=v[y])}return h}).apply(this,arguments)}var y="popover",b="bs.popover",w="."+b,C=g.default.fn[y],T=new RegExp("(^|\\s)bs-popover\\S+","g"),A=_extends({},v.default.Default,{placement:"right",trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>'}),k=_extends({},v.default.DefaultType,{content:"(string|element|function)"}),D={HIDE:"hide"+w,HIDDEN:"hidden"+w,SHOW:"show"+w,SHOWN:"shown"+w,INSERTED:"inserted"+w,CLICK:"click"+w,FOCUSIN:"focusin"+w,FOCUSOUT:"focusout"+w,MOUSEENTER:"mouseenter"+w,MOUSELEAVE:"mouseleave"+w},P=function(h){function Popover(){return h.apply(this,arguments)||this}!function _inheritsLoose(h,g){h.prototype=Object.create(g.prototype),h.prototype.constructor=h,h.__proto__=g}(Popover,h);var v=Popover.prototype;return v.isWithContent=function isWithContent(){return this.getTitle()||this._getContent()},v.addAttachmentClass=function addAttachmentClass(h){g.default(this.getTipElement()).addClass("bs-popover-"+h)},v.getTipElement=function getTipElement(){return this.tip=this.tip||g.default(this.config.template)[0],this.tip},v.setContent=function setContent(){var h=g.default(this.getTipElement());this.setElementContent(h.find(".popover-header"),this.getTitle());var v=this._getContent();"function"===typeof v&&(v=v.call(this.element)),this.setElementContent(h.find(".popover-body"),v),h.removeClass("fade show")},v._getContent=function _getContent(){return this.element.getAttribute("data-content")||this.config.content},v._cleanTipClass=function _cleanTipClass(){var h=g.default(this.getTipElement()),v=h.attr("class").match(T);null!==v&&v.length>0&&h.removeClass(v.join(""))},Popover._jQueryInterface=function _jQueryInterface(h){return this.each((function(){var v=g.default(this).data(b),y="object"===_typeof(h)?h:null;if((v||!/dispose|hide/.test(h))&&(v||(v=new Popover(this,y),g.default(this).data(b,v)),"string"===typeof h)){if("undefined"===typeof v[h])throw new TypeError('No method named "'+h+'"');v[h]()}}))},function _createClass(h,g,v){return g&&_defineProperties(h.prototype,g),v&&_defineProperties(h,v),h}(Popover,null,[{key:"VERSION",get:function get(){return"4.5.3"}},{key:"Default",get:function get(){return A}},{key:"NAME",get:function get(){return y}},{key:"DATA_KEY",get:function get(){return b}},{key:"Event",get:function get(){return D}},{key:"EVENT_KEY",get:function get(){return w}},{key:"DefaultType",get:function get(){return k}}]),Popover}(v.default);return g.default.fn[y]=P._jQueryInterface,g.default.fn[y].Constructor=P,g.default.fn[y].noConflict=function(){return g.default.fn[y]=C,P._jQueryInterface},P},"object"===_typeof(g)?h.exports=C(v(609),v(366)):(b=[v(609),v(366)],void 0===(w="function"===typeof(y=C)?y.apply(g,b):y)||(h.exports=w))},490:function(h,g,v){var y,b,w,C;function _typeof(h){return(_typeof="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function _typeof(h){return typeof h}:function _typeof(h){return h&&"function"===typeof Symbol&&h.constructor===Symbol&&h!==Symbol.prototype?"symbol":typeof h})(h)}C=function($,h){"use strict";function _interopDefaultLegacy(h){return h&&"object"===_typeof(h)&&"default"in h?h:{default:h}}var g=_interopDefaultLegacy($),v=_interopDefaultLegacy(h);function _extends(){return(_extends=Object.assign||function(h){for(var g=1;g<arguments.length;g++){var v=arguments[g];for(var y in v)Object.prototype.hasOwnProperty.call(v,y)&&(h[y]=v[y])}return h}).apply(this,arguments)}function _defineProperties(h,g){for(var v=0;v<g.length;v++){var y=g[v];y.enumerable=y.enumerable||!1,y.configurable=!0,"value"in y&&(y.writable=!0),Object.defineProperty(h,y.key,y)}}var y="scrollspy",b="bs.scrollspy",w="."+b,C=g.default.fn[y],T={offset:10,method:"auto",target:""},A={offset:"number",method:"string",target:"(string|element)"},k="active",D=".nav, .list-group",P=".nav-link",R="position",N=function(){function ScrollSpy(h,v){var y=this;this._element=h,this._scrollElement="BODY"===h.tagName?window:h,this._config=this._getConfig(v),this._selector=this._config.target+" .nav-link,"+this._config.target+" .list-group-item,"+this._config.target+" .dropdown-item",this._offsets=[],this._targets=[],this._activeTarget=null,this._scrollHeight=0,g.default(this._scrollElement).on("scroll.bs.scrollspy",(function(h){return y._process(h)})),this.refresh(),this._process()}var h=ScrollSpy.prototype;return h.refresh=function refresh(){var h=this,y=this._scrollElement===this._scrollElement.window?"offset":R,b="auto"===this._config.method?y:this._config.method,w=b===R?this._getScrollTop():0;this._offsets=[],this._targets=[],this._scrollHeight=this._getScrollHeight(),[].slice.call(document.querySelectorAll(this._selector)).map((function(h){var y,C=v.default.getSelectorFromElement(h);if(C&&(y=document.querySelector(C)),y){var T=y.getBoundingClientRect();if(T.width||T.height)return[g.default(y)[b]().top+w,C]}return null})).filter((function(h){return h})).sort((function(h,g){return h[0]-g[0]})).forEach((function(g){h._offsets.push(g[0]),h._targets.push(g[1])}))},h.dispose=function dispose(){g.default.removeData(this._element,b),g.default(this._scrollElement).off(w),this._element=null,this._scrollElement=null,this._config=null,this._selector=null,this._offsets=null,this._targets=null,this._activeTarget=null,this._scrollHeight=null},h._getConfig=function _getConfig(h){if("string"!==typeof(h=_extends({},T,"object"===_typeof(h)&&h?h:{})).target&&v.default.isElement(h.target)){var b=g.default(h.target).attr("id");b||(b=v.default.getUID(y),g.default(h.target).attr("id",b)),h.target="#"+b}return v.default.typeCheckConfig(y,h,A),h},h._getScrollTop=function _getScrollTop(){return this._scrollElement===window?this._scrollElement.pageYOffset:this._scrollElement.scrollTop},h._getScrollHeight=function _getScrollHeight(){return this._scrollElement.scrollHeight||Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)},h._getOffsetHeight=function _getOffsetHeight(){return this._scrollElement===window?window.innerHeight:this._scrollElement.getBoundingClientRect().height},h._process=function _process(){var h=this._getScrollTop()+this._config.offset,g=this._getScrollHeight(),v=this._config.offset+g-this._getOffsetHeight();if(this._scrollHeight!==g&&this.refresh(),h>=v){var y=this._targets[this._targets.length-1];this._activeTarget!==y&&this._activate(y)}else{if(this._activeTarget&&h<this._offsets[0]&&this._offsets[0]>0)return this._activeTarget=null,void this._clear();for(var b=this._offsets.length;b--;)this._activeTarget!==this._targets[b]&&h>=this._offsets[b]&&("undefined"===typeof this._offsets[b+1]||h<this._offsets[b+1])&&this._activate(this._targets[b])}},h._activate=function _activate(h){this._activeTarget=h,this._clear();var v=this._selector.split(",").map((function(g){return g+'[data-target="'+h+'"],'+g+'[href="'+h+'"]'})),y=g.default([].slice.call(document.querySelectorAll(v.join(","))));y.hasClass("dropdown-item")?(y.closest(".dropdown").find(".dropdown-toggle").addClass(k),y.addClass(k)):(y.addClass(k),y.parents(D).prev(".nav-link, .list-group-item").addClass(k),y.parents(D).prev(".nav-item").children(P).addClass(k)),g.default(this._scrollElement).trigger("activate.bs.scrollspy",{relatedTarget:h})},h._clear=function _clear(){[].slice.call(document.querySelectorAll(this._selector)).filter((function(h){return h.classList.contains(k)})).forEach((function(h){return h.classList.remove(k)}))},ScrollSpy._jQueryInterface=function _jQueryInterface(h){return this.each((function(){var v=g.default(this).data(b),y="object"===_typeof(h)&&h;if(v||(v=new ScrollSpy(this,y),g.default(this).data(b,v)),"string"===typeof h){if("undefined"===typeof v[h])throw new TypeError('No method named "'+h+'"');v[h]()}}))},function _createClass(h,g,v){return g&&_defineProperties(h.prototype,g),v&&_defineProperties(h,v),h}(ScrollSpy,null,[{key:"VERSION",get:function get(){return"4.5.3"}},{key:"Default",get:function get(){return T}}]),ScrollSpy}();return g.default(window).on("load.bs.scrollspy.data-api",(function(){for(var h=[].slice.call(document.querySelectorAll('[data-spy="scroll"]')),v=h.length;v--;){var y=g.default(h[v]);N._jQueryInterface.call(y,y.data())}})),g.default.fn[y]=N._jQueryInterface,g.default.fn[y].Constructor=N,g.default.fn[y].noConflict=function(){return g.default.fn[y]=C,N._jQueryInterface},N},"object"===_typeof(g)?h.exports=C(v(609),v(803)):(b=[v(609),v(803)],void 0===(w="function"===typeof(y=C)?y.apply(g,b):y)||(h.exports=w))},890:function(h,g,v){var y,b,w,C;function _typeof(h){return(_typeof="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function _typeof(h){return typeof h}:function _typeof(h){return h&&"function"===typeof Symbol&&h.constructor===Symbol&&h!==Symbol.prototype?"symbol":typeof h})(h)}C=function($,h){"use strict";function _interopDefaultLegacy(h){return h&&"object"===_typeof(h)&&"default"in h?h:{default:h}}var g=_interopDefaultLegacy($),v=_interopDefaultLegacy(h);function _defineProperties(h,g){for(var v=0;v<g.length;v++){var y=g[v];y.enumerable=y.enumerable||!1,y.configurable=!0,"value"in y&&(y.writable=!0),Object.defineProperty(h,y.key,y)}}var y="bs.tab",b=g.default.fn.tab,w="active",C="fade",T="show",A=".active",k="> li > .active",D=function(){function Tab(h){this._element=h}var h=Tab.prototype;return h.show=function show(){var h=this;if(!(this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE&&g.default(this._element).hasClass(w)||g.default(this._element).hasClass("disabled"))){var y,b,C=g.default(this._element).closest(".nav, .list-group")[0],T=v.default.getSelectorFromElement(this._element);if(C){var D="UL"===C.nodeName||"OL"===C.nodeName?k:A;b=(b=g.default.makeArray(g.default(C).find(D)))[b.length-1]}var P=g.default.Event("hide.bs.tab",{relatedTarget:this._element}),R=g.default.Event("show.bs.tab",{relatedTarget:b});if(b&&g.default(b).trigger(P),g.default(this._element).trigger(R),!R.isDefaultPrevented()&&!P.isDefaultPrevented()){T&&(y=document.querySelector(T)),this._activate(this._element,C);var N=function complete(){var v=g.default.Event("hidden.bs.tab",{relatedTarget:h._element}),y=g.default.Event("shown.bs.tab",{relatedTarget:b});g.default(b).trigger(v),g.default(h._element).trigger(y)};y?this._activate(y,y.parentNode,N):N()}}},h.dispose=function dispose(){g.default.removeData(this._element,y),this._element=null},h._activate=function _activate(h,y,b){var w=this,D=(!y||"UL"!==y.nodeName&&"OL"!==y.nodeName?g.default(y).children(A):g.default(y).find(k))[0],P=b&&D&&g.default(D).hasClass(C),R=function complete(){return w._transitionComplete(h,D,b)};if(D&&P){var N=v.default.getTransitionDurationFromElement(D);g.default(D).removeClass(T).one(v.default.TRANSITION_END,R).emulateTransitionEnd(N)}else R()},h._transitionComplete=function _transitionComplete(h,y,b){if(y){g.default(y).removeClass(w);var A=g.default(y.parentNode).find("> .dropdown-menu .active")[0];A&&g.default(A).removeClass(w),"tab"===y.getAttribute("role")&&y.setAttribute("aria-selected",!1)}if(g.default(h).addClass(w),"tab"===h.getAttribute("role")&&h.setAttribute("aria-selected",!0),v.default.reflow(h),h.classList.contains(C)&&h.classList.add(T),h.parentNode&&g.default(h.parentNode).hasClass("dropdown-menu")){var k=g.default(h).closest(".dropdown")[0];if(k){var D=[].slice.call(k.querySelectorAll(".dropdown-toggle"));g.default(D).addClass(w)}h.setAttribute("aria-expanded",!0)}b&&b()},Tab._jQueryInterface=function _jQueryInterface(h){return this.each((function(){var v=g.default(this),b=v.data(y);if(b||(b=new Tab(this),v.data(y,b)),"string"===typeof h){if("undefined"===typeof b[h])throw new TypeError('No method named "'+h+'"');b[h]()}}))},function _createClass(h,g,v){return g&&_defineProperties(h.prototype,g),v&&_defineProperties(h,v),h}(Tab,null,[{key:"VERSION",get:function get(){return"4.5.3"}}]),Tab}();return g.default(document).on("click.bs.tab.data-api",'[data-toggle="tab"], [data-toggle="pill"], [data-toggle="list"]',(function(h){h.preventDefault(),D._jQueryInterface.call(g.default(this),"show")})),g.default.fn.tab=D._jQueryInterface,g.default.fn.tab.Constructor=D,g.default.fn.tab.noConflict=function(){return g.default.fn.tab=b,D._jQueryInterface},D},"object"===_typeof(g)?h.exports=C(v(609),v(803)):(b=[v(609),v(803)],void 0===(w="function"===typeof(y=C)?y.apply(g,b):y)||(h.exports=w))},366:function(h,g,v){var y,b,w,C;function _typeof(h){return(_typeof="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function _typeof(h){return typeof h}:function _typeof(h){return h&&"function"===typeof Symbol&&h.constructor===Symbol&&h!==Symbol.prototype?"symbol":typeof h})(h)}C=function($,h,g){"use strict";function _interopDefaultLegacy(h){return h&&"object"===_typeof(h)&&"default"in h?h:{default:h}}var v=_interopDefaultLegacy($),y=_interopDefaultLegacy(h),b=_interopDefaultLegacy(g),w=["background","cite","href","itemtype","longdesc","poster","src","xlink:href"],C={"*":["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:[]},T=/^(?:(?:https?|mailto|ftp|tel|file):|[^#&/:?]*(?:[#/?]|$))/gi,A=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[\d+/a-z]+=*$/i;function sanitizeHtml(h,g,v){if(0===h.length)return h;if(v&&"function"===typeof v)return v(h);for(var y=(new window.DOMParser).parseFromString(h,"text/html"),b=Object.keys(g),C=[].slice.call(y.body.querySelectorAll("*")),k=function _loop(h,v){var y=C[h],k=y.nodeName.toLowerCase();if(-1===b.indexOf(y.nodeName.toLowerCase()))return y.parentNode.removeChild(y),"continue";var D=[].slice.call(y.attributes),P=[].concat(g["*"]||[],g[k]||[]);D.forEach((function(h){(function allowedAttribute(h,g){var v=h.nodeName.toLowerCase();if(-1!==g.indexOf(v))return-1===w.indexOf(v)||Boolean(h.nodeValue.match(T)||h.nodeValue.match(A));for(var y=g.filter((function(h){return h instanceof RegExp})),b=0,C=y.length;b<C;b++)if(v.match(y[b]))return!0;return!1})(h,P)||y.removeAttribute(h.nodeName)}))},D=0,P=C.length;D<P;D++)k(D);return y.body.innerHTML}function _extends(){return(_extends=Object.assign||function(h){for(var g=1;g<arguments.length;g++){var v=arguments[g];for(var y in v)Object.prototype.hasOwnProperty.call(v,y)&&(h[y]=v[y])}return h}).apply(this,arguments)}function _defineProperties(h,g){for(var v=0;v<g.length;v++){var y=g[v];y.enumerable=y.enumerable||!1,y.configurable=!0,"value"in y&&(y.writable=!0),Object.defineProperty(h,y.key,y)}}var k="tooltip",D="bs.tooltip",P="."+D,R=v.default.fn[k],N=new RegExp("(^|\\s)bs-tooltip\\S+","g"),U=["sanitize","whiteList","sanitizeFn"],q={animation:"boolean",template:"string",title:"(string|element|function)",trigger:"string",delay:"(number|object)",html:"boolean",selector:"(string|boolean)",placement:"(string|function)",offset:"(number|string|function)",container:"(string|element|boolean)",fallbackPlacement:"(string|array)",boundary:"(string|element)",sanitize:"boolean",sanitizeFn:"(null|function)",whiteList:"object",popperConfig:"(null|object)"},z={AUTO:"auto",TOP:"top",RIGHT:"right",BOTTOM:"bottom",LEFT:"left"},B={animation:!0,template:'<div class="tooltip" role="tooltip"><div class="arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,selector:!1,placement:"top",offset:0,container:!1,fallbackPlacement:"flip",boundary:"scrollParent",sanitize:!0,sanitizeFn:null,whiteList:C,popperConfig:null},W="show",Y="out",Q={HIDE:"hide"+P,HIDDEN:"hidden"+P,SHOW:"show"+P,SHOWN:"shown"+P,INSERTED:"inserted"+P,CLICK:"click"+P,FOCUSIN:"focusin"+P,FOCUSOUT:"focusout"+P,MOUSEENTER:"mouseenter"+P,MOUSELEAVE:"mouseleave"+P},V="fade",G="show",X="hover",K="focus",J=function(){function Tooltip(h,g){if("undefined"===typeof y.default)throw new TypeError("Bootstrap's tooltips require Popper.js (https://popper.js.org/)");this._isEnabled=!0,this._timeout=0,this._hoverState="",this._activeTrigger={},this._popper=null,this.element=h,this.config=this._getConfig(g),this.tip=null,this._setListeners()}var h=Tooltip.prototype;return h.enable=function enable(){this._isEnabled=!0},h.disable=function disable(){this._isEnabled=!1},h.toggleEnabled=function toggleEnabled(){this._isEnabled=!this._isEnabled},h.toggle=function toggle(h){if(this._isEnabled)if(h){var g=this.constructor.DATA_KEY,y=v.default(h.currentTarget).data(g);y||(y=new this.constructor(h.currentTarget,this._getDelegateConfig()),v.default(h.currentTarget).data(g,y)),y._activeTrigger.click=!y._activeTrigger.click,y._isWithActiveTrigger()?y._enter(null,y):y._leave(null,y)}else{if(v.default(this.getTipElement()).hasClass(G))return void this._leave(null,this);this._enter(null,this)}},h.dispose=function dispose(){clearTimeout(this._timeout),v.default.removeData(this.element,this.constructor.DATA_KEY),v.default(this.element).off(this.constructor.EVENT_KEY),v.default(this.element).closest(".modal").off("hide.bs.modal",this._hideModalHandler),this.tip&&v.default(this.tip).remove(),this._isEnabled=null,this._timeout=null,this._hoverState=null,this._activeTrigger=null,this._popper&&this._popper.destroy(),this._popper=null,this.element=null,this.config=null,this.tip=null},h.show=function show(){var h=this;if("none"===v.default(this.element).css("display"))throw new Error("Please use show on visible elements");var g=v.default.Event(this.constructor.Event.SHOW);if(this.isWithContent()&&this._isEnabled){v.default(this.element).trigger(g);var w=b.default.findShadowRoot(this.element),C=v.default.contains(null!==w?w:this.element.ownerDocument.documentElement,this.element);if(g.isDefaultPrevented()||!C)return;var T=this.getTipElement(),A=b.default.getUID(this.constructor.NAME);T.setAttribute("id",A),this.element.setAttribute("aria-describedby",A),this.setContent(),this.config.animation&&v.default(T).addClass(V);var k="function"===typeof this.config.placement?this.config.placement.call(this,T,this.element):this.config.placement,D=this._getAttachment(k);this.addAttachmentClass(D);var P=this._getContainer();v.default(T).data(this.constructor.DATA_KEY,this),v.default.contains(this.element.ownerDocument.documentElement,this.tip)||v.default(T).appendTo(P),v.default(this.element).trigger(this.constructor.Event.INSERTED),this._popper=new y.default(this.element,T,this._getPopperConfig(D)),v.default(T).addClass(G),"ontouchstart"in document.documentElement&&v.default(document.body).children().on("mouseover",null,v.default.noop);var R=function complete(){h.config.animation&&h._fixTransition();var g=h._hoverState;h._hoverState=null,v.default(h.element).trigger(h.constructor.Event.SHOWN),g===Y&&h._leave(null,h)};if(v.default(this.tip).hasClass(V)){var N=b.default.getTransitionDurationFromElement(this.tip);v.default(this.tip).one(b.default.TRANSITION_END,R).emulateTransitionEnd(N)}else R()}},h.hide=function hide(h){var g=this,y=this.getTipElement(),w=v.default.Event(this.constructor.Event.HIDE),C=function complete(){g._hoverState!==W&&y.parentNode&&y.parentNode.removeChild(y),g._cleanTipClass(),g.element.removeAttribute("aria-describedby"),v.default(g.element).trigger(g.constructor.Event.HIDDEN),null!==g._popper&&g._popper.destroy(),h&&h()};if(v.default(this.element).trigger(w),!w.isDefaultPrevented()){if(v.default(y).removeClass(G),"ontouchstart"in document.documentElement&&v.default(document.body).children().off("mouseover",null,v.default.noop),this._activeTrigger.click=!1,this._activeTrigger.focus=!1,this._activeTrigger.hover=!1,v.default(this.tip).hasClass(V)){var T=b.default.getTransitionDurationFromElement(y);v.default(y).one(b.default.TRANSITION_END,C).emulateTransitionEnd(T)}else C();this._hoverState=""}},h.update=function update(){null!==this._popper&&this._popper.scheduleUpdate()},h.isWithContent=function isWithContent(){return Boolean(this.getTitle())},h.addAttachmentClass=function addAttachmentClass(h){v.default(this.getTipElement()).addClass("bs-tooltip-"+h)},h.getTipElement=function getTipElement(){return this.tip=this.tip||v.default(this.config.template)[0],this.tip},h.setContent=function setContent(){var h=this.getTipElement();this.setElementContent(v.default(h.querySelectorAll(".tooltip-inner")),this.getTitle()),v.default(h).removeClass("fade show")},h.setElementContent=function setElementContent(h,g){"object"!==_typeof(g)||!g.nodeType&&!g.jquery?this.config.html?(this.config.sanitize&&(g=sanitizeHtml(g,this.config.whiteList,this.config.sanitizeFn)),h.html(g)):h.text(g):this.config.html?v.default(g).parent().is(h)||h.empty().append(g):h.text(v.default(g).text())},h.getTitle=function getTitle(){var h=this.element.getAttribute("data-original-title");return h||(h="function"===typeof this.config.title?this.config.title.call(this.element):this.config.title),h},h._getPopperConfig=function _getPopperConfig(h){var g=this;return _extends({},{placement:h,modifiers:{offset:this._getOffset(),flip:{behavior:this.config.fallbackPlacement},arrow:{element:".arrow"},preventOverflow:{boundariesElement:this.config.boundary}},onCreate:function onCreate(h){h.originalPlacement!==h.placement&&g._handlePopperPlacementChange(h)},onUpdate:function onUpdate(h){return g._handlePopperPlacementChange(h)}},this.config.popperConfig)},h._getOffset=function _getOffset(){var h=this,g={};return"function"===typeof this.config.offset?g.fn=function(g){return g.offsets=_extends({},g.offsets,h.config.offset(g.offsets,h.element)||{}),g}:g.offset=this.config.offset,g},h._getContainer=function _getContainer(){return!1===this.config.container?document.body:b.default.isElement(this.config.container)?v.default(this.config.container):v.default(document).find(this.config.container)},h._getAttachment=function _getAttachment(h){return z[h.toUpperCase()]},h._setListeners=function _setListeners(){var h=this;this.config.trigger.split(" ").forEach((function(g){if("click"===g)v.default(h.element).on(h.constructor.Event.CLICK,h.config.selector,(function(g){return h.toggle(g)}));else if("manual"!==g){var y=g===X?h.constructor.Event.MOUSEENTER:h.constructor.Event.FOCUSIN,b=g===X?h.constructor.Event.MOUSELEAVE:h.constructor.Event.FOCUSOUT;v.default(h.element).on(y,h.config.selector,(function(g){return h._enter(g)})).on(b,h.config.selector,(function(g){return h._leave(g)}))}})),this._hideModalHandler=function(){h.element&&h.hide()},v.default(this.element).closest(".modal").on("hide.bs.modal",this._hideModalHandler),this.config.selector?this.config=_extends({},this.config,{trigger:"manual",selector:""}):this._fixTitle()},h._fixTitle=function _fixTitle(){var h=_typeof(this.element.getAttribute("data-original-title"));(this.element.getAttribute("title")||"string"!==h)&&(this.element.setAttribute("data-original-title",this.element.getAttribute("title")||""),this.element.setAttribute("title",""))},h._enter=function _enter(h,g){var y=this.constructor.DATA_KEY;(g=g||v.default(h.currentTarget).data(y))||(g=new this.constructor(h.currentTarget,this._getDelegateConfig()),v.default(h.currentTarget).data(y,g)),h&&(g._activeTrigger["focusin"===h.type?K:X]=!0),v.default(g.getTipElement()).hasClass(G)||g._hoverState===W?g._hoverState=W:(clearTimeout(g._timeout),g._hoverState=W,g.config.delay&&g.config.delay.show?g._timeout=setTimeout((function(){g._hoverState===W&&g.show()}),g.config.delay.show):g.show())},h._leave=function _leave(h,g){var y=this.constructor.DATA_KEY;(g=g||v.default(h.currentTarget).data(y))||(g=new this.constructor(h.currentTarget,this._getDelegateConfig()),v.default(h.currentTarget).data(y,g)),h&&(g._activeTrigger["focusout"===h.type?K:X]=!1),g._isWithActiveTrigger()||(clearTimeout(g._timeout),g._hoverState=Y,g.config.delay&&g.config.delay.hide?g._timeout=setTimeout((function(){g._hoverState===Y&&g.hide()}),g.config.delay.hide):g.hide())},h._isWithActiveTrigger=function _isWithActiveTrigger(){for(var h in this._activeTrigger)if(this._activeTrigger[h])return!0;return!1},h._getConfig=function _getConfig(h){var g=v.default(this.element).data();return Object.keys(g).forEach((function(h){-1!==U.indexOf(h)&&delete g[h]})),"number"===typeof(h=_extends({},this.constructor.Default,g,"object"===_typeof(h)&&h?h:{})).delay&&(h.delay={show:h.delay,hide:h.delay}),"number"===typeof h.title&&(h.title=h.title.toString()),"number"===typeof h.content&&(h.content=h.content.toString()),b.default.typeCheckConfig(k,h,this.constructor.DefaultType),h.sanitize&&(h.template=sanitizeHtml(h.template,h.whiteList,h.sanitizeFn)),h},h._getDelegateConfig=function _getDelegateConfig(){var h={};if(this.config)for(var g in this.config)this.constructor.Default[g]!==this.config[g]&&(h[g]=this.config[g]);return h},h._cleanTipClass=function _cleanTipClass(){var h=v.default(this.getTipElement()),g=h.attr("class").match(N);null!==g&&g.length&&h.removeClass(g.join(""))},h._handlePopperPlacementChange=function _handlePopperPlacementChange(h){this.tip=h.instance.popper,this._cleanTipClass(),this.addAttachmentClass(this._getAttachment(h.placement))},h._fixTransition=function _fixTransition(){var h=this.getTipElement(),g=this.config.animation;null===h.getAttribute("x-placement")&&(v.default(h).removeClass(V),this.config.animation=!1,this.hide(),this.show(),this.config.animation=g)},Tooltip._jQueryInterface=function _jQueryInterface(h){return this.each((function(){var g=v.default(this),y=g.data(D),b="object"===_typeof(h)&&h;if((y||!/dispose|hide/.test(h))&&(y||(y=new Tooltip(this,b),g.data(D,y)),"string"===typeof h)){if("undefined"===typeof y[h])throw new TypeError('No method named "'+h+'"');y[h]()}}))},function _createClass(h,g,v){return g&&_defineProperties(h.prototype,g),v&&_defineProperties(h,v),h}(Tooltip,null,[{key:"VERSION",get:function get(){return"4.5.3"}},{key:"Default",get:function get(){return B}},{key:"NAME",get:function get(){return k}},{key:"DATA_KEY",get:function get(){return D}},{key:"Event",get:function get(){return Q}},{key:"EVENT_KEY",get:function get(){return P}},{key:"DefaultType",get:function get(){return q}}]),Tooltip}();return v.default.fn[k]=J._jQueryInterface,v.default.fn[k].Constructor=J,v.default.fn[k].noConflict=function(){return v.default.fn[k]=R,J._jQueryInterface},J},"object"===_typeof(g)?h.exports=C(v(609),v(562),v(803)):(b=[v(609),v(562),v(803)],void 0===(w="function"===typeof(y=C)?y.apply(g,b):y)||(h.exports=w))},803:function(h,g,v){var y,b,w,C;function _typeof(h){return(_typeof="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function _typeof(h){return typeof h}:function _typeof(h){return h&&"function"===typeof Symbol&&h.constructor===Symbol&&h!==Symbol.prototype?"symbol":typeof h})(h)}C=function($){"use strict";function _interopDefaultLegacy(h){return h&&"object"===_typeof(h)&&"default"in h?h:{default:h}}var h=_interopDefaultLegacy($),g="transitionend";function transitionEndEmulator(g){var y=this,b=!1;return h.default(this).one(v.TRANSITION_END,(function(){b=!0})),setTimeout((function(){b||v.triggerTransitionEnd(y)}),g),this}var v={TRANSITION_END:"bsTransitionEnd",getUID:function getUID(h){do{h+=~~(1e6*Math.random())}while(document.getElementById(h));return h},getSelectorFromElement:function getSelectorFromElement(h){var g=h.getAttribute("data-target");if(!g||"#"===g){var v=h.getAttribute("href");g=v&&"#"!==v?v.trim():""}try{return document.querySelector(g)?g:null}catch(y){return null}},getTransitionDurationFromElement:function getTransitionDurationFromElement(g){if(!g)return 0;var v=h.default(g).css("transition-duration"),y=h.default(g).css("transition-delay"),b=parseFloat(v),w=parseFloat(y);return b||w?(v=v.split(",")[0],y=y.split(",")[0],1e3*(parseFloat(v)+parseFloat(y))):0},reflow:function reflow(h){return h.offsetHeight},triggerTransitionEnd:function triggerTransitionEnd(v){h.default(v).trigger(g)},supportsTransitionEnd:function supportsTransitionEnd(){return Boolean(g)},isElement:function isElement(h){return(h[0]||h).nodeType},typeCheckConfig:function typeCheckConfig(h,g,y){for(var b in y)if(Object.prototype.hasOwnProperty.call(y,b)){var w=y[b],C=g[b],T=C&&v.isElement(C)?"element":null===(A=C)||"undefined"===typeof A?""+A:{}.toString.call(A).match(/\s([a-z]+)/i)[1].toLowerCase();if(!new RegExp(w).test(T))throw new Error(h.toUpperCase()+': Option "'+b+'" provided type "'+T+'" but expected type "'+w+'".')}var A},findShadowRoot:function findShadowRoot(h){if(!document.documentElement.attachShadow)return null;if("function"===typeof h.getRootNode){var g=h.getRootNode();return g instanceof ShadowRoot?g:null}return h instanceof ShadowRoot?h:h.parentNode?v.findShadowRoot(h.parentNode):null},jQueryDetection:function jQueryDetection(){if("undefined"===typeof h.default)throw new TypeError("Bootstrap's JavaScript requires jQuery. jQuery must be included before Bootstrap's JavaScript.");var g=h.default.fn.jquery.split(" ")[0].split(".");if(g[0]<2&&g[1]<9||1===g[0]&&9===g[1]&&g[2]<1||g[0]>=4)throw new Error("Bootstrap's JavaScript requires at least jQuery v1.9.1 but less than v4.0.0")}};return v.jQueryDetection(),function setTransitionEndSupport(){h.default.fn.emulateTransitionEnd=transitionEndEmulator,h.default.event.special[v.TRANSITION_END]=function getSpecialTransitionEndEvent(){return{bindType:g,delegateType:g,handle:function handle(g){if(h.default(g.target).is(this))return g.handleObj.handler.apply(this,arguments)}}}()}(),v},"object"===_typeof(g)?h.exports=C(v(609)):(b=[v(609)],void 0===(w="function"===typeof(y=C)?y.apply(g,b):y)||(h.exports=w))},494:function(h,g,v){var y;function _typeof(h){return(_typeof="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function _typeof(h){return typeof h}:function _typeof(h){return h&&"function"===typeof Symbol&&h.constructor===Symbol&&h!==Symbol.prototype?"symbol":typeof h})(h)}!function(b,w,C,T){"use strict";var A,k=["","webkit","Moz","MS","ms","o"],D=w.createElement("div"),P=Math.round,R=Math.abs,N=Date.now;function setTimeoutContext(h,g,v){return setTimeout(bindFn(h,v),g)}function invokeArrayArg(h,g,v){return!!Array.isArray(h)&&(each(h,v[g],v),!0)}function each(h,g,v){var y;if(h)if(h.forEach)h.forEach(g,v);else if(h.length!==T)for(y=0;y<h.length;)g.call(v,h[y],y,h),y++;else for(y in h)h.hasOwnProperty(y)&&g.call(v,h[y],y,h)}function deprecate(h,g,v){var y="DEPRECATED METHOD: "+g+"\n"+v+" AT \n";return function(){var g=new Error("get-stack-trace"),v=g&&g.stack?g.stack.replace(/^[^\(]+?[\n$]/gm,"").replace(/^\s+at\s+/gm,"").replace(/^Object.<anonymous>\s*\(/gm,"{anonymous}()@"):"Unknown Stack Trace",w=b.console&&(b.console.warn||b.console.log);return w&&w.call(b.console,y,v),h.apply(this,arguments)}}A="function"!==typeof Object.assign?function assign(h){if(h===T||null===h)throw new TypeError("Cannot convert undefined or null to object");for(var g=Object(h),v=1;v<arguments.length;v++){var y=arguments[v];if(y!==T&&null!==y)for(var b in y)y.hasOwnProperty(b)&&(g[b]=y[b])}return g}:Object.assign;var U=deprecate((function extend(h,g,v){for(var y=Object.keys(g),b=0;b<y.length;)(!v||v&&h[y[b]]===T)&&(h[y[b]]=g[y[b]]),b++;return h}),"extend","Use `assign`."),q=deprecate((function merge(h,g){return U(h,g,!0)}),"merge","Use `assign`.");function inherit(h,g,v){var y,b=g.prototype;(y=h.prototype=Object.create(b)).constructor=h,y._super=b,v&&A(y,v)}function bindFn(h,g){return function boundFn(){return h.apply(g,arguments)}}function boolOrFn(h,g){return"function"==_typeof(h)?h.apply(g&&g[0]||T,g):h}function ifUndefined(h,g){return h===T?g:h}function addEventListeners(h,g,v){each(splitStr(g),(function(g){h.addEventListener(g,v,!1)}))}function removeEventListeners(h,g,v){each(splitStr(g),(function(g){h.removeEventListener(g,v,!1)}))}function hasParent(h,g){for(;h;){if(h==g)return!0;h=h.parentNode}return!1}function inStr(h,g){return h.indexOf(g)>-1}function splitStr(h){return h.trim().split(/\s+/g)}function inArray(h,g,v){if(h.indexOf&&!v)return h.indexOf(g);for(var y=0;y<h.length;){if(v&&h[y][v]==g||!v&&h[y]===g)return y;y++}return-1}function toArray(h){return Array.prototype.slice.call(h,0)}function uniqueArray(h,g,v){for(var y=[],b=[],w=0;w<h.length;){var C=g?h[w][g]:h[w];inArray(b,C)<0&&y.push(h[w]),b[w]=C,w++}return v&&(y=g?y.sort((function sortUniqueArray(h,v){return h[g]>v[g]})):y.sort()),y}function prefixed(h,g){for(var v,y,b=g[0].toUpperCase()+g.slice(1),w=0;w<k.length;){if((y=(v=k[w])?v+b:g)in h)return y;w++}return T}var z=1;function getWindowForElement(h){var g=h.ownerDocument||h;return g.defaultView||g.parentWindow||b}var B="ontouchstart"in b,W=prefixed(b,"PointerEvent")!==T,Y=B&&/mobile|tablet|ip(ad|hone|od)|android/i.test(navigator.userAgent),Q="touch",V="mouse",G=24,X=["x","y"],K=["clientX","clientY"];function Input(h,g){var v=this;this.manager=h,this.callback=g,this.element=h.element,this.target=h.options.inputTarget,this.domHandler=function(g){boolOrFn(h.options.enable,[h])&&v.handler(g)},this.init()}function inputHandler(h,g,v){var y=v.pointers.length,b=v.changedPointers.length,w=1&g&&y-b===0,C=12&g&&y-b===0;v.isFirst=!!w,v.isFinal=!!C,w&&(h.session={}),v.eventType=g,function computeInputData(h,g){var v=h.session,y=g.pointers,b=y.length;v.firstInput||(v.firstInput=simpleCloneInputData(g));b>1&&!v.firstMultiple?v.firstMultiple=simpleCloneInputData(g):1===b&&(v.firstMultiple=!1);var w=v.firstInput,C=v.firstMultiple,A=C?C.center:w.center,k=g.center=getCenter(y);g.timeStamp=N(),g.deltaTime=g.timeStamp-w.timeStamp,g.angle=getAngle(A,k),g.distance=getDistance(A,k),function computeDeltaXY(h,g){var v=g.center,y=h.offsetDelta||{},b=h.prevDelta||{},w=h.prevInput||{};1!==g.eventType&&4!==w.eventType||(b=h.prevDelta={x:w.deltaX||0,y:w.deltaY||0},y=h.offsetDelta={x:v.x,y:v.y});g.deltaX=b.x+(v.x-y.x),g.deltaY=b.y+(v.y-y.y)}(v,g),g.offsetDirection=getDirection(g.deltaX,g.deltaY);var D=getVelocity(g.deltaTime,g.deltaX,g.deltaY);g.overallVelocityX=D.x,g.overallVelocityY=D.y,g.overallVelocity=R(D.x)>R(D.y)?D.x:D.y,g.scale=C?function getScale(h,g){return getDistance(g[0],g[1],K)/getDistance(h[0],h[1],K)}(C.pointers,y):1,g.rotation=C?function getRotation(h,g){return getAngle(g[1],g[0],K)+getAngle(h[1],h[0],K)}(C.pointers,y):0,g.maxPointers=v.prevInput?g.pointers.length>v.prevInput.maxPointers?g.pointers.length:v.prevInput.maxPointers:g.pointers.length,function computeIntervalInputData(h,g){var v,y,b,w,C=h.lastInterval||g,A=g.timeStamp-C.timeStamp;if(8!=g.eventType&&(A>25||C.velocity===T)){var k=g.deltaX-C.deltaX,D=g.deltaY-C.deltaY,P=getVelocity(A,k,D);y=P.x,b=P.y,v=R(P.x)>R(P.y)?P.x:P.y,w=getDirection(k,D),h.lastInterval=g}else v=C.velocity,y=C.velocityX,b=C.velocityY,w=C.direction;g.velocity=v,g.velocityX=y,g.velocityY=b,g.direction=w}(v,g);var P=h.element;hasParent(g.srcEvent.target,P)&&(P=g.srcEvent.target);g.target=P}(h,v),h.emit("hammer.input",v),h.recognize(v),h.session.prevInput=v}function simpleCloneInputData(h){for(var g=[],v=0;v<h.pointers.length;)g[v]={clientX:P(h.pointers[v].clientX),clientY:P(h.pointers[v].clientY)},v++;return{timeStamp:N(),pointers:g,center:getCenter(g),deltaX:h.deltaX,deltaY:h.deltaY}}function getCenter(h){var g=h.length;if(1===g)return{x:P(h[0].clientX),y:P(h[0].clientY)};for(var v=0,y=0,b=0;b<g;)v+=h[b].clientX,y+=h[b].clientY,b++;return{x:P(v/g),y:P(y/g)}}function getVelocity(h,g,v){return{x:g/h||0,y:v/h||0}}function getDirection(h,g){return h===g?1:R(h)>=R(g)?h<0?2:4:g<0?8:16}function getDistance(h,g,v){v||(v=X);var y=g[v[0]]-h[v[0]],b=g[v[1]]-h[v[1]];return Math.sqrt(y*y+b*b)}function getAngle(h,g,v){v||(v=X);var y=g[v[0]]-h[v[0]],b=g[v[1]]-h[v[1]];return 180*Math.atan2(b,y)/Math.PI}Input.prototype={handler:function handler(){},init:function init(){this.evEl&&addEventListeners(this.element,this.evEl,this.domHandler),this.evTarget&&addEventListeners(this.target,this.evTarget,this.domHandler),this.evWin&&addEventListeners(getWindowForElement(this.element),this.evWin,this.domHandler)},destroy:function destroy(){this.evEl&&removeEventListeners(this.element,this.evEl,this.domHandler),this.evTarget&&removeEventListeners(this.target,this.evTarget,this.domHandler),this.evWin&&removeEventListeners(getWindowForElement(this.element),this.evWin,this.domHandler)}};var J={mousedown:1,mousemove:2,mouseup:4},Z="mousedown",ee="mousemove mouseup";function MouseInput(){this.evEl=Z,this.evWin=ee,this.pressed=!1,Input.apply(this,arguments)}inherit(MouseInput,Input,{handler:function MEhandler(h){var g=J[h.type];1&g&&0===h.button&&(this.pressed=!0),2&g&&1!==h.which&&(g=4),this.pressed&&(4&g&&(this.pressed=!1),this.callback(this.manager,g,{pointers:[h],changedPointers:[h],pointerType:V,srcEvent:h}))}});var te={pointerdown:1,pointermove:2,pointerup:4,pointercancel:8,pointerout:8},ne={2:Q,3:"pen",4:V,5:"kinect"},oe="pointerdown",ie="pointermove pointerup pointercancel";function PointerEventInput(){this.evEl=oe,this.evWin=ie,Input.apply(this,arguments),this.store=this.manager.session.pointerEvents=[]}b.MSPointerEvent&&!b.PointerEvent&&(oe="MSPointerDown",ie="MSPointerMove MSPointerUp MSPointerCancel"),inherit(PointerEventInput,Input,{handler:function PEhandler(h){var g=this.store,v=!1,y=h.type.toLowerCase().replace("ms",""),b=te[y],w=ne[h.pointerType]||h.pointerType,C=w==Q,T=inArray(g,h.pointerId,"pointerId");1&b&&(0===h.button||C)?T<0&&(g.push(h),T=g.length-1):12&b&&(v=!0),T<0||(g[T]=h,this.callback(this.manager,b,{pointers:g,changedPointers:[h],pointerType:w,srcEvent:h}),v&&g.splice(T,1))}});var re={touchstart:1,touchmove:2,touchend:4,touchcancel:8},ae="touchstart",se="touchstart touchmove touchend touchcancel";function SingleTouchInput(){this.evTarget=ae,this.evWin=se,this.started=!1,Input.apply(this,arguments)}function normalizeSingleTouches(h,g){var v=toArray(h.touches),y=toArray(h.changedTouches);return 12&g&&(v=uniqueArray(v.concat(y),"identifier",!0)),[v,y]}inherit(SingleTouchInput,Input,{handler:function TEhandler(h){var g=re[h.type];if(1===g&&(this.started=!0),this.started){var v=normalizeSingleTouches.call(this,h,g);12&g&&v[0].length-v[1].length===0&&(this.started=!1),this.callback(this.manager,g,{pointers:v[0],changedPointers:v[1],pointerType:Q,srcEvent:h})}}});var le={touchstart:1,touchmove:2,touchend:4,touchcancel:8},ce="touchstart touchmove touchend touchcancel";function TouchInput(){this.evTarget=ce,this.targetIds={},Input.apply(this,arguments)}function getTouches(h,g){var v=toArray(h.touches),y=this.targetIds;if(3&g&&1===v.length)return y[v[0].identifier]=!0,[v,v];var b,w,C=toArray(h.changedTouches),T=[],A=this.target;if(w=v.filter((function(h){return hasParent(h.target,A)})),1===g)for(b=0;b<w.length;)y[w[b].identifier]=!0,b++;for(b=0;b<C.length;)y[C[b].identifier]&&T.push(C[b]),12&g&&delete y[C[b].identifier],b++;return T.length?[uniqueArray(w.concat(T),"identifier",!0),T]:void 0}inherit(TouchInput,Input,{handler:function MTEhandler(h){var g=le[h.type],v=getTouches.call(this,h,g);v&&this.callback(this.manager,g,{pointers:v[0],changedPointers:v[1],pointerType:Q,srcEvent:h})}});function TouchMouseInput(){Input.apply(this,arguments);var h=bindFn(this.handler,this);this.touch=new TouchInput(this.manager,h),this.mouse=new MouseInput(this.manager,h),this.primaryTouch=null,this.lastTouches=[]}function recordTouches(h,g){1&h?(this.primaryTouch=g.changedPointers[0].identifier,setLastTouch.call(this,g)):12&h&&setLastTouch.call(this,g)}function setLastTouch(h){var g=h.changedPointers[0];if(g.identifier===this.primaryTouch){var v={x:g.clientX,y:g.clientY};this.lastTouches.push(v);var y=this.lastTouches;setTimeout((function removeLastTouch(){var h=y.indexOf(v);h>-1&&y.splice(h,1)}),2500)}}function isSyntheticEvent(h){for(var g=h.srcEvent.clientX,v=h.srcEvent.clientY,y=0;y<this.lastTouches.length;y++){var b=this.lastTouches[y],w=Math.abs(g-b.x),C=Math.abs(v-b.y);if(w<=25&&C<=25)return!0}return!1}inherit(TouchMouseInput,Input,{handler:function TMEhandler(h,g,v){var y=v.pointerType==Q,b=v.pointerType==V;if(!(b&&v.sourceCapabilities&&v.sourceCapabilities.firesTouchEvents)){if(y)recordTouches.call(this,g,v);else if(b&&isSyntheticEvent.call(this,v))return;this.callback(h,g,v)}},destroy:function destroy(){this.touch.destroy(),this.mouse.destroy()}});var ue=prefixed(D.style,"touchAction"),de=ue!==T,fe="compute",pe="auto",he="manipulation",ge="none",me="pan-x",ve="pan-y",ye=function getTouchActionProps(){if(!de)return!1;var h={},g=b.CSS&&b.CSS.supports;return["auto","manipulation","pan-y","pan-x","pan-x pan-y","none"].forEach((function(v){h[v]=!g||b.CSS.supports("touch-action",v)})),h}();function TouchAction(h,g){this.manager=h,this.set(g)}TouchAction.prototype={set:function set(h){h==fe&&(h=this.compute()),de&&this.manager.element.style&&ye[h]&&(this.manager.element.style[ue]=h),this.actions=h.toLowerCase().trim()},update:function update(){this.set(this.manager.options.touchAction)},compute:function compute(){var h=[];return each(this.manager.recognizers,(function(g){boolOrFn(g.options.enable,[g])&&(h=h.concat(g.getTouchAction()))})),function cleanTouchActions(h){if(inStr(h,ge))return ge;var g=inStr(h,me),v=inStr(h,ve);if(g&&v)return ge;if(g||v)return g?me:ve;if(inStr(h,he))return he;return pe}(h.join(" "))},preventDefaults:function preventDefaults(h){var g=h.srcEvent,v=h.offsetDirection;if(this.manager.session.prevented)g.preventDefault();else{var y=this.actions,b=inStr(y,ge)&&!ye.none,w=inStr(y,ve)&&!ye["pan-y"],C=inStr(y,me)&&!ye["pan-x"];if(b){var T=1===h.pointers.length,A=h.distance<2,k=h.deltaTime<250;if(T&&A&&k)return}if(!C||!w)return b||w&&6&v||C&&v&G?this.preventSrc(g):void 0}},preventSrc:function preventSrc(h){this.manager.session.prevented=!0,h.preventDefault()}};var _e=32;function Recognizer(h){this.options=A({},this.defaults,h||{}),this.id=function uniqueId(){return z++}(),this.manager=null,this.options.enable=ifUndefined(this.options.enable,!0),this.state=1,this.simultaneous={},this.requireFail=[]}function stateStr(h){return 16&h?"cancel":8&h?"end":4&h?"move":2&h?"start":""}function directionStr(h){return 16==h?"down":8==h?"up":2==h?"left":4==h?"right":""}function getRecognizerByNameIfManager(h,g){var v=g.manager;return v?v.get(h):h}function AttrRecognizer(){Recognizer.apply(this,arguments)}function PanRecognizer(){AttrRecognizer.apply(this,arguments),this.pX=null,this.pY=null}function PinchRecognizer(){AttrRecognizer.apply(this,arguments)}function PressRecognizer(){Recognizer.apply(this,arguments),this._timer=null,this._input=null}function RotateRecognizer(){AttrRecognizer.apply(this,arguments)}function SwipeRecognizer(){AttrRecognizer.apply(this,arguments)}function TapRecognizer(){Recognizer.apply(this,arguments),this.pTime=!1,this.pCenter=!1,this._timer=null,this._input=null,this.count=0}function Hammer(h,g){return(g=g||{}).recognizers=ifUndefined(g.recognizers,Hammer.defaults.preset),new Manager(h,g)}Recognizer.prototype={defaults:{},set:function set(h){return A(this.options,h),this.manager&&this.manager.touchAction.update(),this},recognizeWith:function recognizeWith(h){if(invokeArrayArg(h,"recognizeWith",this))return this;var g=this.simultaneous;return g[(h=getRecognizerByNameIfManager(h,this)).id]||(g[h.id]=h,h.recognizeWith(this)),this},dropRecognizeWith:function dropRecognizeWith(h){return invokeArrayArg(h,"dropRecognizeWith",this)||(h=getRecognizerByNameIfManager(h,this),delete this.simultaneous[h.id]),this},requireFailure:function requireFailure(h){if(invokeArrayArg(h,"requireFailure",this))return this;var g=this.requireFail;return-1===inArray(g,h=getRecognizerByNameIfManager(h,this))&&(g.push(h),h.requireFailure(this)),this},dropRequireFailure:function dropRequireFailure(h){if(invokeArrayArg(h,"dropRequireFailure",this))return this;h=getRecognizerByNameIfManager(h,this);var g=inArray(this.requireFail,h);return g>-1&&this.requireFail.splice(g,1),this},hasRequireFailures:function hasRequireFailures(){return this.requireFail.length>0},canRecognizeWith:function canRecognizeWith(h){return!!this.simultaneous[h.id]},emit:function emit(h){var g=this,v=this.state;function emit(v){g.manager.emit(v,h)}v<8&&emit(g.options.event+stateStr(v)),emit(g.options.event),h.additionalEvent&&emit(h.additionalEvent),v>=8&&emit(g.options.event+stateStr(v))},tryEmit:function tryEmit(h){if(this.canEmit())return this.emit(h);this.state=_e},canEmit:function canEmit(){for(var h=0;h<this.requireFail.length;){if(!(33&this.requireFail[h].state))return!1;h++}return!0},recognize:function recognize(h){var g=A({},h);if(!boolOrFn(this.options.enable,[this,g]))return this.reset(),void(this.state=_e);56&this.state&&(this.state=1),this.state=this.process(g),30&this.state&&this.tryEmit(g)},process:function process(h){},getTouchAction:function getTouchAction(){},reset:function reset(){}},inherit(AttrRecognizer,Recognizer,{defaults:{pointers:1},attrTest:function attrTest(h){var g=this.options.pointers;return 0===g||h.pointers.length===g},process:function process(h){var g=this.state,v=h.eventType,y=6&g,b=this.attrTest(h);return y&&(8&v||!b)?16|g:y||b?4&v?8|g:2&g?4|g:2:_e}}),inherit(PanRecognizer,AttrRecognizer,{defaults:{event:"pan",threshold:10,pointers:1,direction:30},getTouchAction:function getTouchAction(){var h=this.options.direction,g=[];return 6&h&&g.push(ve),h&G&&g.push(me),g},directionTest:function directionTest(h){var g=this.options,v=!0,y=h.distance,b=h.direction,w=h.deltaX,C=h.deltaY;return b&g.direction||(6&g.direction?(b=0===w?1:w<0?2:4,v=w!=this.pX,y=Math.abs(h.deltaX)):(b=0===C?1:C<0?8:16,v=C!=this.pY,y=Math.abs(h.deltaY))),h.direction=b,v&&y>g.threshold&&b&g.direction},attrTest:function attrTest(h){return AttrRecognizer.prototype.attrTest.call(this,h)&&(2&this.state||!(2&this.state)&&this.directionTest(h))},emit:function emit(h){this.pX=h.deltaX,this.pY=h.deltaY;var g=directionStr(h.direction);g&&(h.additionalEvent=this.options.event+g),this._super.emit.call(this,h)}}),inherit(PinchRecognizer,AttrRecognizer,{defaults:{event:"pinch",threshold:0,pointers:2},getTouchAction:function getTouchAction(){return[ge]},attrTest:function attrTest(h){return this._super.attrTest.call(this,h)&&(Math.abs(h.scale-1)>this.options.threshold||2&this.state)},emit:function emit(h){if(1!==h.scale){var g=h.scale<1?"in":"out";h.additionalEvent=this.options.event+g}this._super.emit.call(this,h)}}),inherit(PressRecognizer,Recognizer,{defaults:{event:"press",pointers:1,time:251,threshold:9},getTouchAction:function getTouchAction(){return[pe]},process:function process(h){var g=this.options,v=h.pointers.length===g.pointers,y=h.distance<g.threshold,b=h.deltaTime>g.time;if(this._input=h,!y||!v||12&h.eventType&&!b)this.reset();else if(1&h.eventType)this.reset(),this._timer=setTimeoutContext((function(){this.state=8,this.tryEmit()}),g.time,this);else if(4&h.eventType)return 8;return _e},reset:function reset(){clearTimeout(this._timer)},emit:function emit(h){8===this.state&&(h&&4&h.eventType?this.manager.emit(this.options.event+"up",h):(this._input.timeStamp=N(),this.manager.emit(this.options.event,this._input)))}}),inherit(RotateRecognizer,AttrRecognizer,{defaults:{event:"rotate",threshold:0,pointers:2},getTouchAction:function getTouchAction(){return[ge]},attrTest:function attrTest(h){return this._super.attrTest.call(this,h)&&(Math.abs(h.rotation)>this.options.threshold||2&this.state)}}),inherit(SwipeRecognizer,AttrRecognizer,{defaults:{event:"swipe",threshold:10,velocity:.3,direction:30,pointers:1},getTouchAction:function getTouchAction(){return PanRecognizer.prototype.getTouchAction.call(this)},attrTest:function attrTest(h){var g,v=this.options.direction;return 30&v?g=h.overallVelocity:6&v?g=h.overallVelocityX:v&G&&(g=h.overallVelocityY),this._super.attrTest.call(this,h)&&v&h.offsetDirection&&h.distance>this.options.threshold&&h.maxPointers==this.options.pointers&&R(g)>this.options.velocity&&4&h.eventType},emit:function emit(h){var g=directionStr(h.offsetDirection);g&&this.manager.emit(this.options.event+g,h),this.manager.emit(this.options.event,h)}}),inherit(TapRecognizer,Recognizer,{defaults:{event:"tap",pointers:1,taps:1,interval:300,time:250,threshold:9,posThreshold:10},getTouchAction:function getTouchAction(){return[he]},process:function process(h){var g=this.options,v=h.pointers.length===g.pointers,y=h.distance<g.threshold,b=h.deltaTime<g.time;if(this.reset(),1&h.eventType&&0===this.count)return this.failTimeout();if(y&&b&&v){if(4!=h.eventType)return this.failTimeout();var w=!this.pTime||h.timeStamp-this.pTime<g.interval,C=!this.pCenter||getDistance(this.pCenter,h.center)<g.posThreshold;if(this.pTime=h.timeStamp,this.pCenter=h.center,C&&w?this.count+=1:this.count=1,this._input=h,0===this.count%g.taps)return this.hasRequireFailures()?(this._timer=setTimeoutContext((function(){this.state=8,this.tryEmit()}),g.interval,this),2):8}return _e},failTimeout:function failTimeout(){return this._timer=setTimeoutContext((function(){this.state=_e}),this.options.interval,this),_e},reset:function reset(){clearTimeout(this._timer)},emit:function emit(){8==this.state&&(this._input.tapCount=this.count,this.manager.emit(this.options.event,this._input))}}),Hammer.VERSION="2.0.7",Hammer.defaults={domEvents:!1,touchAction:fe,enable:!0,inputTarget:null,inputClass:null,preset:[[RotateRecognizer,{enable:!1}],[PinchRecognizer,{enable:!1},["rotate"]],[SwipeRecognizer,{direction:6}],[PanRecognizer,{direction:6},["swipe"]],[TapRecognizer],[TapRecognizer,{event:"doubletap",taps:2},["tap"]],[PressRecognizer]],cssProps:{userSelect:"none",touchSelect:"none",touchCallout:"none",contentZooming:"none",userDrag:"none",tapHighlightColor:"rgba(0,0,0,0)"}};function Manager(h,g){this.options=A({},Hammer.defaults,g||{}),this.options.inputTarget=this.options.inputTarget||h,this.handlers={},this.session={},this.recognizers=[],this.oldCssProps={},this.element=h,this.input=function createInputInstance(h){return new(h.options.inputClass||(W?PointerEventInput:Y?TouchInput:B?TouchMouseInput:MouseInput))(h,inputHandler)}(this),this.touchAction=new TouchAction(this,this.options.touchAction),toggleCssProps(this,!0),each(this.options.recognizers,(function(h){var g=this.add(new h[0](h[1]));h[2]&&g.recognizeWith(h[2]),h[3]&&g.requireFailure(h[3])}),this)}function toggleCssProps(h,g){var v,y=h.element;y.style&&(each(h.options.cssProps,(function(b,w){v=prefixed(y.style,w),g?(h.oldCssProps[v]=y.style[v],y.style[v]=b):y.style[v]=h.oldCssProps[v]||""})),g||(h.oldCssProps={}))}Manager.prototype={set:function set(h){return A(this.options,h),h.touchAction&&this.touchAction.update(),h.inputTarget&&(this.input.destroy(),this.input.target=h.inputTarget,this.input.init()),this},stop:function stop(h){this.session.stopped=h?2:1},recognize:function recognize(h){var g=this.session;if(!g.stopped){var v;this.touchAction.preventDefaults(h);var y=this.recognizers,b=g.curRecognizer;(!b||b&&8&b.state)&&(b=g.curRecognizer=null);for(var w=0;w<y.length;)v=y[w],2===g.stopped||b&&v!=b&&!v.canRecognizeWith(b)?v.reset():v.recognize(h),!b&&14&v.state&&(b=g.curRecognizer=v),w++}},get:function get(h){if(h instanceof Recognizer)return h;for(var g=this.recognizers,v=0;v<g.length;v++)if(g[v].options.event==h)return g[v];return null},add:function add(h){if(invokeArrayArg(h,"add",this))return this;var g=this.get(h.options.event);return g&&this.remove(g),this.recognizers.push(h),h.manager=this,this.touchAction.update(),h},remove:function remove(h){if(invokeArrayArg(h,"remove",this))return this;if(h=this.get(h)){var g=this.recognizers,v=inArray(g,h);-1!==v&&(g.splice(v,1),this.touchAction.update())}return this},on:function on(h,g){if(h!==T&&g!==T){var v=this.handlers;return each(splitStr(h),(function(h){v[h]=v[h]||[],v[h].push(g)})),this}},off:function off(h,g){if(h!==T){var v=this.handlers;return each(splitStr(h),(function(h){g?v[h]&&v[h].splice(inArray(v[h],g),1):delete v[h]})),this}},emit:function emit(h,g){this.options.domEvents&&function triggerDomEvent(h,g){var v=w.createEvent("Event");v.initEvent(h,!0,!0),v.gesture=g,g.target.dispatchEvent(v)}(h,g);var v=this.handlers[h]&&this.handlers[h].slice();if(v&&v.length){g.type=h,g.preventDefault=function(){g.srcEvent.preventDefault()};for(var y=0;y<v.length;)v[y](g),y++}},destroy:function destroy(){this.element&&toggleCssProps(this,!1),this.handlers={},this.session={},this.input.destroy(),this.element=null}},A(Hammer,{INPUT_START:1,INPUT_MOVE:2,INPUT_END:4,INPUT_CANCEL:8,STATE_POSSIBLE:1,STATE_BEGAN:2,STATE_CHANGED:4,STATE_ENDED:8,STATE_RECOGNIZED:8,STATE_CANCELLED:16,STATE_FAILED:_e,DIRECTION_NONE:1,DIRECTION_LEFT:2,DIRECTION_RIGHT:4,DIRECTION_UP:8,DIRECTION_DOWN:16,DIRECTION_HORIZONTAL:6,DIRECTION_VERTICAL:G,DIRECTION_ALL:30,Manager:Manager,Input:Input,TouchAction:TouchAction,TouchInput:TouchInput,MouseInput:MouseInput,PointerEventInput:PointerEventInput,TouchMouseInput:TouchMouseInput,SingleTouchInput:SingleTouchInput,Recognizer:Recognizer,AttrRecognizer:AttrRecognizer,Tap:TapRecognizer,Pan:PanRecognizer,Swipe:SwipeRecognizer,Pinch:PinchRecognizer,Rotate:RotateRecognizer,Press:PressRecognizer,on:addEventListeners,off:removeEventListeners,each:each,merge:q,extend:U,assign:A,inherit:inherit,bindFn:bindFn,prefixed:prefixed}),("undefined"!==typeof b?b:"undefined"!==typeof self?self:{}).Hammer=Hammer,(y=function(){return Hammer}.call(g,v,g,h))===T||(h.exports=y)}(window,document)},570:function(h,g,v){var y,b,w;b=[v(609),v(494)],void 0===(w="function"===typeof(y=function($,h){function hammerify(g,v){var y=$(g);y.data("hammer")||y.data("hammer",new h(y[0],v))}var g;$.fn.hammer=function(h){return this.each((function(){hammerify(this,h)}))},h.Manager.prototype.emit=(g=h.Manager.prototype.emit,function(h,v){g.call(this,h,v),$(this.element).trigger({type:h,gesture:v})})})?y.apply(g,b):y)||(h.exports=w)},376:function(h,g,v){var y,b,w;!function(C){"use strict";b=[v(609)],void 0===(w="function"===typeof(y=function($){var h,g,v={interval:100,sensitivity:6,timeout:0},y=0,b=function track(v){h=v.pageX,g=v.pageY},w=function compare(v,y,w,C){if(Math.sqrt((w.pX-h)*(w.pX-h)+(w.pY-g)*(w.pY-g))<C.sensitivity)return y.off(w.event,b),delete w.timeoutId,w.isActive=!0,v.pageX=h,v.pageY=g,delete w.pX,delete w.pY,C.over.apply(y[0],[v]);w.pX=h,w.pY=g,w.timeoutId=setTimeout((function(){compare(v,y,w,C)}),C.interval)},C=function delay(h,g,v,y){var b=g.data("hoverIntent");return b&&delete b[v.id],y.apply(g[0],[h])};$.fn.hoverIntent=function(h,g,T){var A=y++,k=$.extend({},v);$.isPlainObject(h)?(k=$.extend(k,h),$.isFunction(k.out)||(k.out=k.over)):k=$.isFunction(g)?$.extend(k,{over:h,out:g,selector:T}):$.extend(k,{over:h,out:h,selector:g});var D=function handleHover(h){var g=$.extend({},h),v=$(this),y=v.data("hoverIntent");y||v.data("hoverIntent",y={});var T=y[A];T||(y[A]=T={id:A}),T.timeoutId&&(T.timeoutId=clearTimeout(T.timeoutId));var D=T.event="mousemove.hoverIntent.hoverIntent"+A;if("mouseenter"===h.type){if(T.isActive)return;T.pX=g.pageX,T.pY=g.pageY,v.off(D,b).on(D,b),T.timeoutId=setTimeout((function(){w(g,v,T,k)}),k.interval)}else{if(!T.isActive)return;v.off(D,b),T.timeoutId=setTimeout((function(){C(g,v,T,k.out)}),k.timeout)}};return this.on({"mouseenter.hoverIntent":D,"mouseleave.hoverIntent":D},k.selector)}})?y.apply(g,b):y)||(h.exports=w)}()},562:function(h,g,v){"use strict";v.r(g);var y="undefined"!==typeof window&&"undefined"!==typeof document&&"undefined"!==typeof navigator,b=function(){for(var h=["Edge","Trident","Firefox"],g=0;g<h.length;g+=1)if(y&&navigator.userAgent.indexOf(h[g])>=0)return 1;return 0}();var w=y&&window.Promise?function microtaskDebounce(h){var g=!1;return function(){g||(g=!0,window.Promise.resolve().then((function(){g=!1,h()})))}}:function taskDebounce(h){var g=!1;return function(){g||(g=!0,setTimeout((function(){g=!1,h()}),b))}};function isFunction(h){return h&&"[object Function]"==={}.toString.call(h)}function getStyleComputedProperty(h,g){if(1!==h.nodeType)return[];var v=h.ownerDocument.defaultView.getComputedStyle(h,null);return g?v[g]:v}function getParentNode(h){return"HTML"===h.nodeName?h:h.parentNode||h.host}function getScrollParent(h){if(!h)return document.body;switch(h.nodeName){case"HTML":case"BODY":return h.ownerDocument.body;case"#document":return h.body}var g=getStyleComputedProperty(h),v=g.overflow,y=g.overflowX,b=g.overflowY;return/(auto|scroll|overlay)/.test(v+b+y)?h:getScrollParent(getParentNode(h))}function getReferenceNode(h){return h&&h.referenceNode?h.referenceNode:h}var C=y&&!(!window.MSInputMethodContext||!document.documentMode),T=y&&/MSIE 10/.test(navigator.userAgent);function isIE(h){return 11===h?C:10===h?T:C||T}function getOffsetParent(h){if(!h)return document.documentElement;for(var g=isIE(10)?document.body:null,v=h.offsetParent||null;v===g&&h.nextElementSibling;)v=(h=h.nextElementSibling).offsetParent;var y=v&&v.nodeName;return y&&"BODY"!==y&&"HTML"!==y?-1!==["TH","TD","TABLE"].indexOf(v.nodeName)&&"static"===getStyleComputedProperty(v,"position")?getOffsetParent(v):v:h?h.ownerDocument.documentElement:document.documentElement}function getRoot(h){return null!==h.parentNode?getRoot(h.parentNode):h}function findCommonOffsetParent(h,g){if(!h||!h.nodeType||!g||!g.nodeType)return document.documentElement;var v=h.compareDocumentPosition(g)&Node.DOCUMENT_POSITION_FOLLOWING,y=v?h:g,b=v?g:h,w=document.createRange();w.setStart(y,0),w.setEnd(b,0);var C=w.commonAncestorContainer;if(h!==C&&g!==C||y.contains(b))return function isOffsetContainer(h){var g=h.nodeName;return"BODY"!==g&&("HTML"===g||getOffsetParent(h.firstElementChild)===h)}(C)?C:getOffsetParent(C);var T=getRoot(h);return T.host?findCommonOffsetParent(T.host,g):findCommonOffsetParent(h,getRoot(g).host)}function getScroll(h){var g=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top",v="top"===g?"scrollTop":"scrollLeft",y=h.nodeName;if("BODY"===y||"HTML"===y){var b=h.ownerDocument.documentElement,w=h.ownerDocument.scrollingElement||b;return w[v]}return h[v]}function includeScroll(h,g){var v=arguments.length>2&&void 0!==arguments[2]&&arguments[2],y=getScroll(g,"top"),b=getScroll(g,"left"),w=v?-1:1;return h.top+=y*w,h.bottom+=y*w,h.left+=b*w,h.right+=b*w,h}function getBordersSize(h,g){var v="x"===g?"Left":"Top",y="Left"===v?"Right":"Bottom";return parseFloat(h["border"+v+"Width"])+parseFloat(h["border"+y+"Width"])}function getSize(h,g,v,y){return Math.max(g["offset"+h],g["scroll"+h],v["client"+h],v["offset"+h],v["scroll"+h],isIE(10)?parseInt(v["offset"+h])+parseInt(y["margin"+("Height"===h?"Top":"Left")])+parseInt(y["margin"+("Height"===h?"Bottom":"Right")]):0)}function getWindowSizes(h){var g=h.body,v=h.documentElement,y=isIE(10)&&getComputedStyle(v);return{height:getSize("Height",g,v,y),width:getSize("Width",g,v,y)}}var A=function classCallCheck(h,g){if(!(h instanceof g))throw new TypeError("Cannot call a class as a function")},k=function(){function defineProperties(h,g){for(var v=0;v<g.length;v++){var y=g[v];y.enumerable=y.enumerable||!1,y.configurable=!0,"value"in y&&(y.writable=!0),Object.defineProperty(h,y.key,y)}}return function(h,g,v){return g&&defineProperties(h.prototype,g),v&&defineProperties(h,v),h}}(),D=function defineProperty(h,g,v){return g in h?Object.defineProperty(h,g,{value:v,enumerable:!0,configurable:!0,writable:!0}):h[g]=v,h},P=Object.assign||function(h){for(var g=1;g<arguments.length;g++){var v=arguments[g];for(var y in v)Object.prototype.hasOwnProperty.call(v,y)&&(h[y]=v[y])}return h};function getClientRect(h){return P({},h,{right:h.left+h.width,bottom:h.top+h.height})}function getBoundingClientRect(h){var g={};try{if(isIE(10)){g=h.getBoundingClientRect();var v=getScroll(h,"top"),y=getScroll(h,"left");g.top+=v,g.left+=y,g.bottom+=v,g.right+=y}else g=h.getBoundingClientRect()}catch(P){}var b={left:g.left,top:g.top,width:g.right-g.left,height:g.bottom-g.top},w="HTML"===h.nodeName?getWindowSizes(h.ownerDocument):{},C=w.width||h.clientWidth||b.width,T=w.height||h.clientHeight||b.height,A=h.offsetWidth-C,k=h.offsetHeight-T;if(A||k){var D=getStyleComputedProperty(h);A-=getBordersSize(D,"x"),k-=getBordersSize(D,"y"),b.width-=A,b.height-=k}return getClientRect(b)}function getOffsetRectRelativeToArbitraryNode(h,g){var v=arguments.length>2&&void 0!==arguments[2]&&arguments[2],y=isIE(10),b="HTML"===g.nodeName,w=getBoundingClientRect(h),C=getBoundingClientRect(g),T=getScrollParent(h),A=getStyleComputedProperty(g),k=parseFloat(A.borderTopWidth),D=parseFloat(A.borderLeftWidth);v&&b&&(C.top=Math.max(C.top,0),C.left=Math.max(C.left,0));var P=getClientRect({top:w.top-C.top-k,left:w.left-C.left-D,width:w.width,height:w.height});if(P.marginTop=0,P.marginLeft=0,!y&&b){var R=parseFloat(A.marginTop),N=parseFloat(A.marginLeft);P.top-=k-R,P.bottom-=k-R,P.left-=D-N,P.right-=D-N,P.marginTop=R,P.marginLeft=N}return(y&&!v?g.contains(T):g===T&&"BODY"!==T.nodeName)&&(P=includeScroll(P,g)),P}function getViewportOffsetRectRelativeToArtbitraryNode(h){var g=arguments.length>1&&void 0!==arguments[1]&&arguments[1],v=h.ownerDocument.documentElement,y=getOffsetRectRelativeToArbitraryNode(h,v),b=Math.max(v.clientWidth,window.innerWidth||0),w=Math.max(v.clientHeight,window.innerHeight||0),C=g?0:getScroll(v),T=g?0:getScroll(v,"left"),A={top:C-y.top+y.marginTop,left:T-y.left+y.marginLeft,width:b,height:w};return getClientRect(A)}function isFixed(h){var g=h.nodeName;if("BODY"===g||"HTML"===g)return!1;if("fixed"===getStyleComputedProperty(h,"position"))return!0;var v=getParentNode(h);return!!v&&isFixed(v)}function getFixedPositionOffsetParent(h){if(!h||!h.parentElement||isIE())return document.documentElement;for(var g=h.parentElement;g&&"none"===getStyleComputedProperty(g,"transform");)g=g.parentElement;return g||document.documentElement}function getBoundaries(h,g,v,y){var b=arguments.length>4&&void 0!==arguments[4]&&arguments[4],w={top:0,left:0},C=b?getFixedPositionOffsetParent(h):findCommonOffsetParent(h,getReferenceNode(g));if("viewport"===y)w=getViewportOffsetRectRelativeToArtbitraryNode(C,b);else{var T=void 0;"scrollParent"===y?"BODY"===(T=getScrollParent(getParentNode(g))).nodeName&&(T=h.ownerDocument.documentElement):T="window"===y?h.ownerDocument.documentElement:y;var A=getOffsetRectRelativeToArbitraryNode(T,C,b);if("HTML"!==T.nodeName||isFixed(C))w=A;else{var k=getWindowSizes(h.ownerDocument),D=k.height,P=k.width;w.top+=A.top-A.marginTop,w.bottom=D+A.top,w.left+=A.left-A.marginLeft,w.right=P+A.left}}var R="number"===typeof(v=v||0);return w.left+=R?v:v.left||0,w.top+=R?v:v.top||0,w.right-=R?v:v.right||0,w.bottom-=R?v:v.bottom||0,w}function getArea(h){return h.width*h.height}function computeAutoPlacement(h,g,v,y,b){var w=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===h.indexOf("auto"))return h;var C=getBoundaries(v,y,w,b),T={top:{width:C.width,height:g.top-C.top},right:{width:C.right-g.right,height:C.height},bottom:{width:C.width,height:C.bottom-g.bottom},left:{width:g.left-C.left,height:C.height}},A=Object.keys(T).map((function(h){return P({key:h},T[h],{area:getArea(T[h])})})).sort((function(h,g){return g.area-h.area})),k=A.filter((function(h){var g=h.width,y=h.height;return g>=v.clientWidth&&y>=v.clientHeight})),D=k.length>0?k[0].key:A[0].key,R=h.split("-")[1];return D+(R?"-"+R:"")}function getReferenceOffsets(h,g,v){var y=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,b=y?getFixedPositionOffsetParent(g):findCommonOffsetParent(g,getReferenceNode(v));return getOffsetRectRelativeToArbitraryNode(v,b,y)}function getOuterSizes(h){var g=h.ownerDocument.defaultView.getComputedStyle(h),v=parseFloat(g.marginTop||0)+parseFloat(g.marginBottom||0),y=parseFloat(g.marginLeft||0)+parseFloat(g.marginRight||0);return{width:h.offsetWidth+y,height:h.offsetHeight+v}}function getOppositePlacement(h){var g={left:"right",right:"left",bottom:"top",top:"bottom"};return h.replace(/left|right|bottom|top/g,(function(h){return g[h]}))}function getPopperOffsets(h,g,v){v=v.split("-")[0];var y=getOuterSizes(h),b={width:y.width,height:y.height},w=-1!==["right","left"].indexOf(v),C=w?"top":"left",T=w?"left":"top",A=w?"height":"width",k=w?"width":"height";return b[C]=g[C]+g[A]/2-y[A]/2,b[T]=v===T?g[T]-y[k]:g[getOppositePlacement(T)],b}function find(h,g){return Array.prototype.find?h.find(g):h.filter(g)[0]}function runModifiers(h,g,v){return(void 0===v?h:h.slice(0,function findIndex(h,g,v){if(Array.prototype.findIndex)return h.findIndex((function(h){return h[g]===v}));var y=find(h,(function(h){return h[g]===v}));return h.indexOf(y)}(h,"name",v))).forEach((function(h){h.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var v=h.function||h.fn;h.enabled&&isFunction(v)&&(g.offsets.popper=getClientRect(g.offsets.popper),g.offsets.reference=getClientRect(g.offsets.reference),g=v(g,h))})),g}function update(){if(!this.state.isDestroyed){var h={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};h.offsets.reference=getReferenceOffsets(this.state,this.popper,this.reference,this.options.positionFixed),h.placement=computeAutoPlacement(this.options.placement,h.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),h.originalPlacement=h.placement,h.positionFixed=this.options.positionFixed,h.offsets.popper=getPopperOffsets(this.popper,h.offsets.reference,h.placement),h.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",h=runModifiers(this.modifiers,h),this.state.isCreated?this.options.onUpdate(h):(this.state.isCreated=!0,this.options.onCreate(h))}}function isModifierEnabled(h,g){return h.some((function(h){var v=h.name;return h.enabled&&v===g}))}function getSupportedPropertyName(h){for(var g=[!1,"ms","Webkit","Moz","O"],v=h.charAt(0).toUpperCase()+h.slice(1),y=0;y<g.length;y++){var b=g[y],w=b?""+b+v:h;if("undefined"!==typeof document.body.style[w])return w}return null}function destroy(){return this.state.isDestroyed=!0,isModifierEnabled(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.position="",this.popper.style.top="",this.popper.style.left="",this.popper.style.right="",this.popper.style.bottom="",this.popper.style.willChange="",this.popper.style[getSupportedPropertyName("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function getWindow(h){var g=h.ownerDocument;return g?g.defaultView:window}function attachToScrollParents(h,g,v,y){var b="BODY"===h.nodeName,w=b?h.ownerDocument.defaultView:h;w.addEventListener(g,v,{passive:!0}),b||attachToScrollParents(getScrollParent(w.parentNode),g,v,y),y.push(w)}function setupEventListeners(h,g,v,y){v.updateBound=y,getWindow(h).addEventListener("resize",v.updateBound,{passive:!0});var b=getScrollParent(h);return attachToScrollParents(b,"scroll",v.updateBound,v.scrollParents),v.scrollElement=b,v.eventsEnabled=!0,v}function enableEventListeners(){this.state.eventsEnabled||(this.state=setupEventListeners(this.reference,this.options,this.state,this.scheduleUpdate))}function disableEventListeners(){this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=function removeEventListeners(h,g){return getWindow(h).removeEventListener("resize",g.updateBound),g.scrollParents.forEach((function(h){h.removeEventListener("scroll",g.updateBound)})),g.updateBound=null,g.scrollParents=[],g.scrollElement=null,g.eventsEnabled=!1,g}(this.reference,this.state))}function isNumeric(h){return""!==h&&!isNaN(parseFloat(h))&&isFinite(h)}function setStyles(h,g){Object.keys(g).forEach((function(v){var y="";-1!==["width","height","top","right","bottom","left"].indexOf(v)&&isNumeric(g[v])&&(y="px"),h.style[v]=g[v]+y}))}var R=y&&/Firefox/i.test(navigator.userAgent);function isModifierRequired(h,g,v){var y=find(h,(function(h){return h.name===g})),b=!!y&&h.some((function(h){return h.name===v&&h.enabled&&h.order<y.order}));if(!b){var w="`"+g+"`",C="`"+v+"`";console.warn(C+" modifier is required by "+w+" modifier in order to work, be sure to include it before "+w+"!")}return b}var N=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],U=N.slice(3);function clockwise(h){var g=arguments.length>1&&void 0!==arguments[1]&&arguments[1],v=U.indexOf(h),y=U.slice(v+1).concat(U.slice(0,v));return g?y.reverse():y}var q="flip",z="clockwise",B="counterclockwise";function parseOffset(h,g,v,y){var b=[0,0],w=-1!==["right","left"].indexOf(y),C=h.split(/(\+|\-)/).map((function(h){return h.trim()})),T=C.indexOf(find(C,(function(h){return-1!==h.search(/,|\s/)})));C[T]&&-1===C[T].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var A=/\s*,\s*|\s+/,k=-1!==T?[C.slice(0,T).concat([C[T].split(A)[0]]),[C[T].split(A)[1]].concat(C.slice(T+1))]:[C];return(k=k.map((function(h,y){var b=(1===y?!w:w)?"height":"width",C=!1;return h.reduce((function(h,g){return""===h[h.length-1]&&-1!==["+","-"].indexOf(g)?(h[h.length-1]=g,C=!0,h):C?(h[h.length-1]+=g,C=!1,h):h.concat(g)}),[]).map((function(h){return function toValue(h,g,v,y){var b=h.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),w=+b[1],C=b[2];if(!w)return h;if(0===C.indexOf("%")){var T=void 0;switch(C){case"%p":T=v;break;case"%":case"%r":default:T=y}return getClientRect(T)[g]/100*w}if("vh"===C||"vw"===C)return("vh"===C?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*w;return w}(h,b,g,v)}))}))).forEach((function(h,g){h.forEach((function(v,y){isNumeric(v)&&(b[g]+=v*("-"===h[y-1]?-1:1))}))})),b}var W={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function onCreate(){},onUpdate:function onUpdate(){},modifiers:{shift:{order:100,enabled:!0,fn:function shift(h){var g=h.placement,v=g.split("-")[0],y=g.split("-")[1];if(y){var b=h.offsets,w=b.reference,C=b.popper,T=-1!==["bottom","top"].indexOf(v),A=T?"left":"top",k=T?"width":"height",R={start:D({},A,w[A]),end:D({},A,w[A]+w[k]-C[k])};h.offsets.popper=P({},C,R[y])}return h}},offset:{order:200,enabled:!0,fn:function offset(h,g){var v=g.offset,y=h.placement,b=h.offsets,w=b.popper,C=b.reference,T=y.split("-")[0],A=void 0;return A=isNumeric(+v)?[+v,0]:parseOffset(v,w,C,T),"left"===T?(w.top+=A[0],w.left-=A[1]):"right"===T?(w.top+=A[0],w.left+=A[1]):"top"===T?(w.left+=A[0],w.top-=A[1]):"bottom"===T&&(w.left+=A[0],w.top+=A[1]),h.popper=w,h},offset:0},preventOverflow:{order:300,enabled:!0,fn:function preventOverflow(h,g){var v=g.boundariesElement||getOffsetParent(h.instance.popper);h.instance.reference===v&&(v=getOffsetParent(v));var y=getSupportedPropertyName("transform"),b=h.instance.popper.style,w=b.top,C=b.left,T=b[y];b.top="",b.left="",b[y]="";var A=getBoundaries(h.instance.popper,h.instance.reference,g.padding,v,h.positionFixed);b.top=w,b.left=C,b[y]=T,g.boundaries=A;var k=g.priority,R=h.offsets.popper,N={primary:function primary(h){var v=R[h];return R[h]<A[h]&&!g.escapeWithReference&&(v=Math.max(R[h],A[h])),D({},h,v)},secondary:function secondary(h){var v="right"===h?"left":"top",y=R[v];return R[h]>A[h]&&!g.escapeWithReference&&(y=Math.min(R[v],A[h]-("right"===h?R.width:R.height))),D({},v,y)}};return k.forEach((function(h){var g=-1!==["left","top"].indexOf(h)?"primary":"secondary";R=P({},R,N[g](h))})),h.offsets.popper=R,h},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function keepTogether(h){var g=h.offsets,v=g.popper,y=g.reference,b=h.placement.split("-")[0],w=Math.floor,C=-1!==["top","bottom"].indexOf(b),T=C?"right":"bottom",A=C?"left":"top",k=C?"width":"height";return v[T]<w(y[A])&&(h.offsets.popper[A]=w(y[A])-v[k]),v[A]>w(y[T])&&(h.offsets.popper[A]=w(y[T])),h}},arrow:{order:500,enabled:!0,fn:function arrow(h,g){var v;if(!isModifierRequired(h.instance.modifiers,"arrow","keepTogether"))return h;var y=g.element;if("string"===typeof y){if(!(y=h.instance.popper.querySelector(y)))return h}else if(!h.instance.popper.contains(y))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),h;var b=h.placement.split("-")[0],w=h.offsets,C=w.popper,T=w.reference,A=-1!==["left","right"].indexOf(b),k=A?"height":"width",P=A?"Top":"Left",R=P.toLowerCase(),N=A?"left":"top",U=A?"bottom":"right",q=getOuterSizes(y)[k];T[U]-q<C[R]&&(h.offsets.popper[R]-=C[R]-(T[U]-q)),T[R]+q>C[U]&&(h.offsets.popper[R]+=T[R]+q-C[U]),h.offsets.popper=getClientRect(h.offsets.popper);var z=T[R]+T[k]/2-q/2,B=getStyleComputedProperty(h.instance.popper),W=parseFloat(B["margin"+P]),Y=parseFloat(B["border"+P+"Width"]),Q=z-h.offsets.popper[R]-W-Y;return Q=Math.max(Math.min(C[k]-q,Q),0),h.arrowElement=y,h.offsets.arrow=(D(v={},R,Math.round(Q)),D(v,N,""),v),h},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function flip(h,g){if(isModifierEnabled(h.instance.modifiers,"inner"))return h;if(h.flipped&&h.placement===h.originalPlacement)return h;var v=getBoundaries(h.instance.popper,h.instance.reference,g.padding,g.boundariesElement,h.positionFixed),y=h.placement.split("-")[0],b=getOppositePlacement(y),w=h.placement.split("-")[1]||"",C=[];switch(g.behavior){case q:C=[y,b];break;case z:C=clockwise(y);break;case B:C=clockwise(y,!0);break;default:C=g.behavior}return C.forEach((function(T,A){if(y!==T||C.length===A+1)return h;y=h.placement.split("-")[0],b=getOppositePlacement(y);var k=h.offsets.popper,D=h.offsets.reference,R=Math.floor,N="left"===y&&R(k.right)>R(D.left)||"right"===y&&R(k.left)<R(D.right)||"top"===y&&R(k.bottom)>R(D.top)||"bottom"===y&&R(k.top)<R(D.bottom),U=R(k.left)<R(v.left),q=R(k.right)>R(v.right),z=R(k.top)<R(v.top),B=R(k.bottom)>R(v.bottom),W="left"===y&&U||"right"===y&&q||"top"===y&&z||"bottom"===y&&B,Y=-1!==["top","bottom"].indexOf(y),Q=!!g.flipVariations&&(Y&&"start"===w&&U||Y&&"end"===w&&q||!Y&&"start"===w&&z||!Y&&"end"===w&&B),V=!!g.flipVariationsByContent&&(Y&&"start"===w&&q||Y&&"end"===w&&U||!Y&&"start"===w&&B||!Y&&"end"===w&&z),G=Q||V;(N||W||G)&&(h.flipped=!0,(N||W)&&(y=C[A+1]),G&&(w=function getOppositeVariation(h){return"end"===h?"start":"start"===h?"end":h}(w)),h.placement=y+(w?"-"+w:""),h.offsets.popper=P({},h.offsets.popper,getPopperOffsets(h.instance.popper,h.offsets.reference,h.placement)),h=runModifiers(h.instance.modifiers,h,"flip"))})),h},behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:function inner(h){var g=h.placement,v=g.split("-")[0],y=h.offsets,b=y.popper,w=y.reference,C=-1!==["left","right"].indexOf(v),T=-1===["top","left"].indexOf(v);return b[C?"left":"top"]=w[v]-(T?b[C?"width":"height"]:0),h.placement=getOppositePlacement(g),h.offsets.popper=getClientRect(b),h}},hide:{order:800,enabled:!0,fn:function hide(h){if(!isModifierRequired(h.instance.modifiers,"hide","preventOverflow"))return h;var g=h.offsets.reference,v=find(h.instance.modifiers,(function(h){return"preventOverflow"===h.name})).boundaries;if(g.bottom<v.top||g.left>v.right||g.top>v.bottom||g.right<v.left){if(!0===h.hide)return h;h.hide=!0,h.attributes["x-out-of-boundaries"]=""}else{if(!1===h.hide)return h;h.hide=!1,h.attributes["x-out-of-boundaries"]=!1}return h}},computeStyle:{order:850,enabled:!0,fn:function computeStyle(h,g){var v=g.x,y=g.y,b=h.offsets.popper,w=find(h.instance.modifiers,(function(h){return"applyStyle"===h.name})).gpuAcceleration;void 0!==w&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var C=void 0!==w?w:g.gpuAcceleration,T=getOffsetParent(h.instance.popper),A=getBoundingClientRect(T),k={position:b.position},D=function getRoundedOffsets(h,g){var v=h.offsets,y=v.popper,b=v.reference,w=Math.round,C=Math.floor,T=function noRound(h){return h},A=w(b.width),k=w(y.width),D=-1!==["left","right"].indexOf(h.placement),P=-1!==h.placement.indexOf("-"),R=g?D||P||A%2===k%2?w:C:T,N=g?w:T;return{left:R(A%2===1&&k%2===1&&!P&&g?y.left-1:y.left),top:N(y.top),bottom:N(y.bottom),right:R(y.right)}}(h,window.devicePixelRatio<2||!R),N="bottom"===v?"top":"bottom",U="right"===y?"left":"right",q=getSupportedPropertyName("transform"),z=void 0,B=void 0;if(B="bottom"===N?"HTML"===T.nodeName?-T.clientHeight+D.bottom:-A.height+D.bottom:D.top,z="right"===U?"HTML"===T.nodeName?-T.clientWidth+D.right:-A.width+D.right:D.left,C&&q)k[q]="translate3d("+z+"px, "+B+"px, 0)",k[N]=0,k[U]=0,k.willChange="transform";else{var W="bottom"===N?-1:1,Y="right"===U?-1:1;k[N]=B*W,k[U]=z*Y,k.willChange=N+", "+U}var Q={"x-placement":h.placement};return h.attributes=P({},Q,h.attributes),h.styles=P({},k,h.styles),h.arrowStyles=P({},h.offsets.arrow,h.arrowStyles),h},gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:function applyStyle(h){return setStyles(h.instance.popper,h.styles),function setAttributes(h,g){Object.keys(g).forEach((function(v){!1!==g[v]?h.setAttribute(v,g[v]):h.removeAttribute(v)}))}(h.instance.popper,h.attributes),h.arrowElement&&Object.keys(h.arrowStyles).length&&setStyles(h.arrowElement,h.arrowStyles),h},onLoad:function applyStyleOnLoad(h,g,v,y,b){var w=getReferenceOffsets(b,g,h,v.positionFixed),C=computeAutoPlacement(v.placement,w,g,h,v.modifiers.flip.boundariesElement,v.modifiers.flip.padding);return g.setAttribute("x-placement",C),setStyles(g,{position:v.positionFixed?"fixed":"absolute"}),v},gpuAcceleration:void 0}}},Y=function(){function Popper(h,g){var v=this,y=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};A(this,Popper),this.scheduleUpdate=function(){return requestAnimationFrame(v.update)},this.update=w(this.update.bind(this)),this.options=P({},Popper.Defaults,y),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=h&&h.jquery?h[0]:h,this.popper=g&&g.jquery?g[0]:g,this.options.modifiers={},Object.keys(P({},Popper.Defaults.modifiers,y.modifiers)).forEach((function(h){v.options.modifiers[h]=P({},Popper.Defaults.modifiers[h]||{},y.modifiers?y.modifiers[h]:{})})),this.modifiers=Object.keys(this.options.modifiers).map((function(h){return P({name:h},v.options.modifiers[h])})).sort((function(h,g){return h.order-g.order})),this.modifiers.forEach((function(h){h.enabled&&isFunction(h.onLoad)&&h.onLoad(v.reference,v.popper,v.options,h,v.state)})),this.update();var b=this.options.eventsEnabled;b&&this.enableEventListeners(),this.state.eventsEnabled=b}return k(Popper,[{key:"update",value:function update$$1(){return update.call(this)}},{key:"destroy",value:function destroy$$1(){return destroy.call(this)}},{key:"enableEventListeners",value:function enableEventListeners$$1(){return enableEventListeners.call(this)}},{key:"disableEventListeners",value:function disableEventListeners$$1(){return disableEventListeners.call(this)}}]),Popper}();Y.Utils=("undefined"!==typeof window?window:v.g).PopperUtils,Y.placements=N,Y.Defaults=W,g.default=Y},971:function(h,g,v){var y,b,w,$=v(609);function _typeof(h){return(_typeof="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function _typeof(h){return typeof h}:function _typeof(h){return h&&"function"===typeof Symbol&&h.constructor===Symbol&&h!==Symbol.prototype?"symbol":typeof h})(h)}b=[v(609)],void 0===(w="function"===typeof(y=function(jQuery){var h=function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var h=jQuery.fn.select2.amd;var g,v,y;return h&&h.requirejs||(h?v=h:h={},function(h){var b,w,C,T,A={},k={},D={},P={},R=Object.prototype.hasOwnProperty,N=[].slice,U=/\.js$/;function hasProp(h,g){return R.call(h,g)}function normalize(h,g){var v,y,b,w,C,T,A,k,P,R,N,q=g&&g.split("/"),z=D.map,B=z&&z["*"]||{};if(h){for(C=(h=h.split("/")).length-1,D.nodeIdCompat&&U.test(h[C])&&(h[C]=h[C].replace(U,"")),"."===h[0].charAt(0)&&q&&(h=q.slice(0,q.length-1).concat(h)),P=0;P<h.length;P++)if("."===(N=h[P]))h.splice(P,1),P-=1;else if(".."===N){if(0===P||1===P&&".."===h[2]||".."===h[P-1])continue;P>0&&(h.splice(P-1,2),P-=2)}h=h.join("/")}if((q||B)&&z){for(P=(v=h.split("/")).length;P>0;P-=1){if(y=v.slice(0,P).join("/"),q)for(R=q.length;R>0;R-=1)if((b=z[q.slice(0,R).join("/")])&&(b=b[y])){w=b,T=P;break}if(w)break;!A&&B&&B[y]&&(A=B[y],k=P)}!w&&A&&(w=A,T=k),w&&(v.splice(0,T,w),h=v.join("/"))}return h}function makeRequire(g,v){return function(){var y=N.call(arguments,0);return"string"!==typeof y[0]&&1===y.length&&y.push(null),w.apply(h,y.concat([g,v]))}}function makeNormalize(h){return function(g){return normalize(g,h)}}function makeLoad(h){return function(g){A[h]=g}}function callDep(g){if(hasProp(k,g)){var v=k[g];delete k[g],P[g]=!0,b.apply(h,v)}if(!hasProp(A,g)&&!hasProp(P,g))throw new Error("No "+g);return A[g]}function splitPrefix(h){var g,v=h?h.indexOf("!"):-1;return v>-1&&(g=h.substring(0,v),h=h.substring(v+1,h.length)),[g,h]}function makeRelParts(h){return h?splitPrefix(h):[]}function makeConfig(h){return function(){return D&&D.config&&D.config[h]||{}}}C=function makeMap(h,g){var v,y=splitPrefix(h),b=y[0],w=g[1];return h=y[1],b&&(v=callDep(b=normalize(b,w))),b?h=v&&v.normalize?v.normalize(h,makeNormalize(w)):normalize(h,w):(b=(y=splitPrefix(h=normalize(h,w)))[0],h=y[1],b&&(v=callDep(b))),{f:b?b+"!"+h:h,n:h,pr:b,p:v}},T={require:function require(h){return makeRequire(h)},exports:function exports(h){var g=A[h];return"undefined"!==typeof g?g:A[h]={}},module:function module(h){return{id:h,uri:"",exports:A[h],config:makeConfig(h)}}},b=function main(g,v,y,b){var w,D,R,N,U,q,z,B=[],W=_typeof(y);if(q=makeRelParts(b=b||g),"undefined"===W||"function"===W){for(v=!v.length&&y.length?["require","exports","module"]:v,U=0;U<v.length;U+=1)if("require"===(D=(N=C(v[U],q)).f))B[U]=T.require(g);else if("exports"===D)B[U]=T.exports(g),z=!0;else if("module"===D)w=B[U]=T.module(g);else if(hasProp(A,D)||hasProp(k,D)||hasProp(P,D))B[U]=callDep(D);else{if(!N.p)throw new Error(g+" missing "+D);N.p.load(N.n,makeRequire(b,!0),makeLoad(D),{}),B[U]=A[D]}R=y?y.apply(A[g],B):void 0,g&&(w&&w.exports!==h&&w.exports!==A[g]?A[g]=w.exports:R===h&&z||(A[g]=R))}else g&&(A[g]=y)},g=v=w=function req(g,v,y,A,k){if("string"===typeof g)return T[g]?T[g](v):callDep(C(g,makeRelParts(v)).f);if(!g.splice){if((D=g).deps&&w(D.deps,D.callback),!v)return;v.splice?(g=v,v=y,y=null):g=h}return v=v||function(){},"function"===typeof y&&(y=A,A=k),A?b(h,g,v,y):setTimeout((function(){b(h,g,v,y)}),4),w},w.config=function(h){return w(h)},g._defined=A,(y=function define(h,g,v){if("string"!==typeof h)throw new Error("See almond README: incorrect module build, no module name");g.splice||(v=g,g=[]),hasProp(A,h)||hasProp(k,h)||(k[h]=[h,g,v])}).amd={jQuery:!0}}(),h.requirejs=g,h.require=v,h.define=y),h.define("almond",(function(){})),h.define("jquery",[],(function(){var h=jQuery||$;return null==h&&console&&console.error&&console.error("Select2: An instance of jQuery or a jQuery-compatible library was not found. Make sure that you are including jQuery before Select2 on your web page."),h})),h.define("select2/utils",["jquery"],(function($){var h={};function getMethods(h){var g=h.prototype,v=[];for(var y in g)"function"===typeof g[y]&&"constructor"!==y&&v.push(y);return v}h.Extend=function(h,g){var v={}.hasOwnProperty;function BaseConstructor(){this.constructor=h}for(var y in g)v.call(g,y)&&(h[y]=g[y]);return BaseConstructor.prototype=g.prototype,h.prototype=new BaseConstructor,h.__super__=g.prototype,h},h.Decorate=function(h,g){var v=getMethods(g),y=getMethods(h);function DecoratedClass(){var v=Array.prototype.unshift,y=g.prototype.constructor.length,b=h.prototype.constructor;y>0&&(v.call(arguments,h.prototype.constructor),b=g.prototype.constructor),b.apply(this,arguments)}function ctr(){this.constructor=DecoratedClass}g.displayName=h.displayName,DecoratedClass.prototype=new ctr;for(var b=0;b<y.length;b++){var w=y[b];DecoratedClass.prototype[w]=h.prototype[w]}for(var C=function calledMethod(h){var v=function originalMethod(){};h in DecoratedClass.prototype&&(v=DecoratedClass.prototype[h]);var y=g.prototype[h];return function(){return Array.prototype.unshift.call(arguments,v),y.apply(this,arguments)}},T=0;T<v.length;T++){var A=v[T];DecoratedClass.prototype[A]=C(A)}return DecoratedClass};var g=function Observable(){this.listeners={}};g.prototype.on=function(h,g){this.listeners=this.listeners||{},h in this.listeners?this.listeners[h].push(g):this.listeners[h]=[g]},g.prototype.trigger=function(h){var g=Array.prototype.slice,v=g.call(arguments,1);this.listeners=this.listeners||{},null==v&&(v=[]),0===v.length&&v.push({}),v[0]._type=h,h in this.listeners&&this.invoke(this.listeners[h],g.call(arguments,1)),"*"in this.listeners&&this.invoke(this.listeners["*"],arguments)},g.prototype.invoke=function(h,g){for(var v=0,y=h.length;v<y;v++)h[v].apply(this,g)},h.Observable=g,h.generateChars=function(h){for(var g="",v=0;v<h;v++)g+=Math.floor(36*Math.random()).toString(36);return g},h.bind=function(h,g){return function(){h.apply(g,arguments)}},h._convertData=function(h){for(var g in h){var v=g.split("-"),y=h;if(1!==v.length){for(var b=0;b<v.length;b++){var w=v[b];(w=w.substring(0,1).toLowerCase()+w.substring(1))in y||(y[w]={}),b==v.length-1&&(y[w]=h[g]),y=y[w]}delete h[g]}}return h},h.hasScroll=function(h,g){var v=$(g),y=g.style.overflowX,b=g.style.overflowY;return(y!==b||"hidden"!==b&&"visible"!==b)&&("scroll"===y||"scroll"===b||v.innerHeight()<g.scrollHeight||v.innerWidth()<g.scrollWidth)},h.escapeMarkup=function(h){var g={"\\":"&#92;","&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#47;"};return"string"!==typeof h?h:String(h).replace(/[&<>"'\/\\]/g,(function(h){return g[h]}))},h.appendMany=function(h,g){if("1.7"===$.fn.jquery.substr(0,3)){var v=$();$.map(g,(function(h){v=v.add(h)})),g=v}h.append(g)},h.__cache={};var v=0;return h.GetUniqueElementId=function(h){var g=h.getAttribute("data-select2-id");return null==g&&(h.id?(g=h.id,h.setAttribute("data-select2-id",g)):(h.setAttribute("data-select2-id",++v),g=v.toString())),g},h.StoreData=function(g,v,y){var b=h.GetUniqueElementId(g);h.__cache[b]||(h.__cache[b]={}),h.__cache[b][v]=y},h.GetData=function(g,v){var y=h.GetUniqueElementId(g);return v?h.__cache[y]&&null!=h.__cache[y][v]?h.__cache[y][v]:$(g).data(v):h.__cache[y]},h.RemoveData=function(g){var v=h.GetUniqueElementId(g);null!=h.__cache[v]&&delete h.__cache[v],g.removeAttribute("data-select2-id")},h})),h.define("select2/results",["jquery","./utils"],(function($,h){function Results(h,g,v){this.$element=h,this.data=v,this.options=g,Results.__super__.constructor.call(this)}return h.Extend(Results,h.Observable),Results.prototype.render=function(){var h=$('<ul class="select2-results__options" role="listbox"></ul>');return this.options.get("multiple")&&h.attr("aria-multiselectable","true"),this.$results=h,h},Results.prototype.clear=function(){this.$results.empty()},Results.prototype.displayMessage=function(h){var g=this.options.get("escapeMarkup");this.clear(),this.hideLoading();var v=$('<li role="alert" aria-live="assertive" class="select2-results__option"></li>'),y=this.options.get("translations").get(h.message);v.append(g(y(h.args))),v[0].className+=" select2-results__message",this.$results.append(v)},Results.prototype.hideMessages=function(){this.$results.find(".select2-results__message").remove()},Results.prototype.append=function(h){this.hideLoading();var g=[];if(null!=h.results&&0!==h.results.length){h.results=this.sort(h.results);for(var v=0;v<h.results.length;v++){var y=h.results[v],b=this.option(y);g.push(b)}this.$results.append(g)}else 0===this.$results.children().length&&this.trigger("results:message",{message:"noResults"})},Results.prototype.position=function(h,g){g.find(".select2-results").append(h)},Results.prototype.sort=function(h){return this.options.get("sorter")(h)},Results.prototype.highlightFirstItem=function(){var h=this.$results.find(".select2-results__option[aria-selected]"),g=h.filter("[aria-selected=true]");g.length>0?g.first().trigger("mouseenter"):h.first().trigger("mouseenter"),this.ensureHighlightVisible()},Results.prototype.setClasses=function(){var g=this;this.data.current((function(v){var y=$.map(v,(function(h){return h.id.toString()}));g.$results.find(".select2-results__option[aria-selected]").each((function(){var g=$(this),v=h.GetData(this,"data"),b=""+v.id;null!=v.element&&v.element.selected||null==v.element&&$.inArray(b,y)>-1?g.attr("aria-selected","true"):g.attr("aria-selected","false")}))}))},Results.prototype.showLoading=function(h){this.hideLoading();var g={disabled:!0,loading:!0,text:this.options.get("translations").get("searching")(h)},v=this.option(g);v.className+=" loading-results",this.$results.prepend(v)},Results.prototype.hideLoading=function(){this.$results.find(".loading-results").remove()},Results.prototype.option=function(g){var v=document.createElement("li");v.className="select2-results__option";var y={role:"option","aria-selected":"false"},b=window.Element.prototype.matches||window.Element.prototype.msMatchesSelector||window.Element.prototype.webkitMatchesSelector;for(var w in(null!=g.element&&b.call(g.element,":disabled")||null==g.element&&g.disabled)&&(delete y["aria-selected"],y["aria-disabled"]="true"),null==g.id&&delete y["aria-selected"],null!=g._resultId&&(v.id=g._resultId),g.title&&(v.title=g.title),g.children&&(y.role="group",y["aria-label"]=g.text,delete y["aria-selected"]),y){var C=y[w];v.setAttribute(w,C)}if(g.children){var T=$(v),A=document.createElement("strong");A.className="select2-results__group",$(A),this.template(g,A);for(var k=[],D=0;D<g.children.length;D++){var P=g.children[D],R=this.option(P);k.push(R)}var N=$("<ul></ul>",{class:"select2-results__options select2-results__options--nested"});N.append(k),T.append(A),T.append(N)}else this.template(g,v);return h.StoreData(v,"data",g),v},Results.prototype.bind=function(g,v){var y=this,b=g.id+"-results";this.$results.attr("id",b),g.on("results:all",(function(h){y.clear(),y.append(h.data),g.isOpen()&&(y.setClasses(),y.highlightFirstItem())})),g.on("results:append",(function(h){y.append(h.data),g.isOpen()&&y.setClasses()})),g.on("query",(function(h){y.hideMessages(),y.showLoading(h)})),g.on("select",(function(){g.isOpen()&&(y.setClasses(),y.options.get("scrollAfterSelect")&&y.highlightFirstItem())})),g.on("unselect",(function(){g.isOpen()&&(y.setClasses(),y.options.get("scrollAfterSelect")&&y.highlightFirstItem())})),g.on("open",(function(){y.$results.attr("aria-expanded","true"),y.$results.attr("aria-hidden","false"),y.setClasses(),y.ensureHighlightVisible()})),g.on("close",(function(){y.$results.attr("aria-expanded","false"),y.$results.attr("aria-hidden","true"),y.$results.removeAttr("aria-activedescendant")})),g.on("results:toggle",(function(){var h=y.getHighlightedResults();0!==h.length&&h.trigger("mouseup")})),g.on("results:select",(function(){var g=y.getHighlightedResults();if(0!==g.length){var v=h.GetData(g[0],"data");"true"==g.attr("aria-selected")?y.trigger("close",{}):y.trigger("select",{data:v})}})),g.on("results:previous",(function(){var h=y.getHighlightedResults(),g=y.$results.find("[aria-selected]"),v=g.index(h);if(!(v<=0)){var b=v-1;0===h.length&&(b=0);var w=g.eq(b);w.trigger("mouseenter");var C=y.$results.offset().top,T=w.offset().top,A=y.$results.scrollTop()+(T-C);0===b?y.$results.scrollTop(0):T-C<0&&y.$results.scrollTop(A)}})),g.on("results:next",(function(){var h=y.getHighlightedResults(),g=y.$results.find("[aria-selected]"),v=g.index(h)+1;if(!(v>=g.length)){var b=g.eq(v);b.trigger("mouseenter");var w=y.$results.offset().top+y.$results.outerHeight(!1),C=b.offset().top+b.outerHeight(!1),T=y.$results.scrollTop()+C-w;0===v?y.$results.scrollTop(0):C>w&&y.$results.scrollTop(T)}})),g.on("results:focus",(function(h){h.element.addClass("select2-results__option--highlighted")})),g.on("results:message",(function(h){y.displayMessage(h)})),$.fn.mousewheel&&this.$results.on("mousewheel",(function(h){var g=y.$results.scrollTop(),v=y.$results.get(0).scrollHeight-g+h.deltaY,b=h.deltaY>0&&g-h.deltaY<=0,w=h.deltaY<0&&v<=y.$results.height();b?(y.$results.scrollTop(0),h.preventDefault(),h.stopPropagation()):w&&(y.$results.scrollTop(y.$results.get(0).scrollHeight-y.$results.height()),h.preventDefault(),h.stopPropagation())})),this.$results.on("mouseup",".select2-results__option[aria-selected]",(function(g){var v=$(this),b=h.GetData(this,"data");"true"!==v.attr("aria-selected")?y.trigger("select",{originalEvent:g,data:b}):y.options.get("multiple")?y.trigger("unselect",{originalEvent:g,data:b}):y.trigger("close",{})})),this.$results.on("mouseenter",".select2-results__option[aria-selected]",(function(g){var v=h.GetData(this,"data");y.getHighlightedResults().removeClass("select2-results__option--highlighted"),y.trigger("results:focus",{data:v,element:$(this)})}))},Results.prototype.getHighlightedResults=function(){return this.$results.find(".select2-results__option--highlighted")},Results.prototype.destroy=function(){this.$results.remove()},Results.prototype.ensureHighlightVisible=function(){var h=this.getHighlightedResults();if(0!==h.length){var g=this.$results.find("[aria-selected]").index(h),v=this.$results.offset().top,y=h.offset().top,b=this.$results.scrollTop()+(y-v),w=y-v;b-=2*h.outerHeight(!1),g<=2?this.$results.scrollTop(0):(w>this.$results.outerHeight()||w<0)&&this.$results.scrollTop(b)}},Results.prototype.template=function(h,g){var v=this.options.get("templateResult"),y=this.options.get("escapeMarkup"),b=v(h,g);null==b?g.style.display="none":"string"===typeof b?g.innerHTML=y(b):$(g).append(b)},Results})),h.define("select2/keys",[],(function(){return{BACKSPACE:8,TAB:9,ENTER:13,SHIFT:16,CTRL:17,ALT:18,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,DELETE:46}})),h.define("select2/selection/base",["jquery","../utils","../keys"],(function($,h,g){function BaseSelection(h,g){this.$element=h,this.options=g,BaseSelection.__super__.constructor.call(this)}return h.Extend(BaseSelection,h.Observable),BaseSelection.prototype.render=function(){var g=$('<span class="select2-selection" role="combobox" aria-haspopup="true" aria-expanded="false"></span>');return this._tabindex=0,null!=h.GetData(this.$element[0],"old-tabindex")?this._tabindex=h.GetData(this.$element[0],"old-tabindex"):null!=this.$element.attr("tabindex")&&(this._tabindex=this.$element.attr("tabindex")),g.attr("title",this.$element.attr("title")),g.attr("tabindex",this._tabindex),g.attr("aria-disabled","false"),this.$selection=g,g},BaseSelection.prototype.bind=function(h,v){var y=this,b=h.id+"-results";this.container=h,this.$selection.on("focus",(function(h){y.trigger("focus",h)})),this.$selection.on("blur",(function(h){y._handleBlur(h)})),this.$selection.on("keydown",(function(h){y.trigger("keypress",h),h.which===g.SPACE&&h.preventDefault()})),h.on("results:focus",(function(h){y.$selection.attr("aria-activedescendant",h.data._resultId)})),h.on("selection:update",(function(h){y.update(h.data)})),h.on("open",(function(){y.$selection.attr("aria-expanded","true"),y.$selection.attr("aria-owns",b),y._attachCloseHandler(h)})),h.on("close",(function(){y.$selection.attr("aria-expanded","false"),y.$selection.removeAttr("aria-activedescendant"),y.$selection.removeAttr("aria-owns"),y.$selection.trigger("focus"),y._detachCloseHandler(h)})),h.on("enable",(function(){y.$selection.attr("tabindex",y._tabindex),y.$selection.attr("aria-disabled","false")})),h.on("disable",(function(){y.$selection.attr("tabindex","-1"),y.$selection.attr("aria-disabled","true")}))},BaseSelection.prototype._handleBlur=function(h){var g=this;window.setTimeout((function(){document.activeElement==g.$selection[0]||$.contains(g.$selection[0],document.activeElement)||g.trigger("blur",h)}),1)},BaseSelection.prototype._attachCloseHandler=function(g){$(document.body).on("mousedown.select2."+g.id,(function(g){var v=$(g.target).closest(".select2");$(".select2.select2-container--open").each((function(){this!=v[0]&&h.GetData(this,"element").select2("close")}))}))},BaseSelection.prototype._detachCloseHandler=function(h){$(document.body).off("mousedown.select2."+h.id)},BaseSelection.prototype.position=function(h,g){g.find(".selection").append(h)},BaseSelection.prototype.destroy=function(){this._detachCloseHandler(this.container)},BaseSelection.prototype.update=function(h){throw new Error("The `update` method must be defined in child classes.")},BaseSelection.prototype.isEnabled=function(){return!this.isDisabled()},BaseSelection.prototype.isDisabled=function(){return this.options.get("disabled")},BaseSelection})),h.define("select2/selection/single",["jquery","./base","../utils","../keys"],(function($,h,g,v){function SingleSelection(){SingleSelection.__super__.constructor.apply(this,arguments)}return g.Extend(SingleSelection,h),SingleSelection.prototype.render=function(){var h=SingleSelection.__super__.render.call(this);return h.addClass("select2-selection--single"),h.html('<span class="select2-selection__rendered"></span><span class="select2-selection__arrow" role="presentation"><b role="presentation"></b></span>'),h},SingleSelection.prototype.bind=function(h,g){var v=this;SingleSelection.__super__.bind.apply(this,arguments);var y=h.id+"-container";this.$selection.find(".select2-selection__rendered").attr("id",y).attr("role","textbox").attr("aria-readonly","true"),this.$selection.attr("aria-labelledby",y),this.$selection.on("mousedown",(function(h){1===h.which&&v.trigger("toggle",{originalEvent:h})})),this.$selection.on("focus",(function(h){})),this.$selection.on("blur",(function(h){})),h.on("focus",(function(g){h.isOpen()||v.$selection.trigger("focus")}))},SingleSelection.prototype.clear=function(){var h=this.$selection.find(".select2-selection__rendered");h.empty(),h.removeAttr("title")},SingleSelection.prototype.display=function(h,g){var v=this.options.get("templateSelection");return this.options.get("escapeMarkup")(v(h,g))},SingleSelection.prototype.selectionContainer=function(){return $("<span></span>")},SingleSelection.prototype.update=function(h){if(0!==h.length){var g=h[0],v=this.$selection.find(".select2-selection__rendered"),y=this.display(g,v);v.empty().append(y);var b=g.title||g.text;b?v.attr("title",b):v.removeAttr("title")}else this.clear()},SingleSelection})),h.define("select2/selection/multiple",["jquery","./base","../utils"],(function($,h,g){function MultipleSelection(h,g){MultipleSelection.__super__.constructor.apply(this,arguments)}return g.Extend(MultipleSelection,h),MultipleSelection.prototype.render=function(){var h=MultipleSelection.__super__.render.call(this);return h.addClass("select2-selection--multiple"),h.html('<ul class="select2-selection__rendered"></ul>'),h},MultipleSelection.prototype.bind=function(h,v){var y=this;MultipleSelection.__super__.bind.apply(this,arguments),this.$selection.on("click",(function(h){y.trigger("toggle",{originalEvent:h})})),this.$selection.on("click",".select2-selection__choice__remove",(function(h){if(!y.isDisabled()){var v=$(this).parent(),b=g.GetData(v[0],"data");y.trigger("unselect",{originalEvent:h,data:b})}}))},MultipleSelection.prototype.clear=function(){var h=this.$selection.find(".select2-selection__rendered");h.empty(),h.removeAttr("title")},MultipleSelection.prototype.display=function(h,g){var v=this.options.get("templateSelection");return this.options.get("escapeMarkup")(v(h,g))},MultipleSelection.prototype.selectionContainer=function(){return $('<li class="select2-selection__choice"><span class="select2-selection__choice__remove" role="presentation">&times;</span></li>')},MultipleSelection.prototype.update=function(h){if(this.clear(),0!==h.length){for(var v=[],y=0;y<h.length;y++){var b=h[y],w=this.selectionContainer(),C=this.display(b,w);w.append(C);var T=b.title||b.text;T&&w.attr("title",T),g.StoreData(w[0],"data",b),v.push(w)}var A=this.$selection.find(".select2-selection__rendered");g.appendMany(A,v)}},MultipleSelection})),h.define("select2/selection/placeholder",["../utils"],(function(h){function Placeholder(h,g,v){this.placeholder=this.normalizePlaceholder(v.get("placeholder")),h.call(this,g,v)}return Placeholder.prototype.normalizePlaceholder=function(h,g){return"string"===typeof g&&(g={id:"",text:g}),g},Placeholder.prototype.createPlaceholder=function(h,g){var v=this.selectionContainer();return v.html(this.display(g)),v.addClass("select2-selection__placeholder").removeClass("select2-selection__choice"),v},Placeholder.prototype.update=function(h,g){var v=1==g.length&&g[0].id!=this.placeholder.id;if(g.length>1||v)return h.call(this,g);this.clear();var y=this.createPlaceholder(this.placeholder);this.$selection.find(".select2-selection__rendered").append(y)},Placeholder})),h.define("select2/selection/allowClear",["jquery","../keys","../utils"],(function($,h,g){function AllowClear(){}return AllowClear.prototype.bind=function(h,g,v){var y=this;h.call(this,g,v),null==this.placeholder&&this.options.get("debug")&&window.console&&console.error&&console.error("Select2: The `allowClear` option should be used in combination with the `placeholder` option."),this.$selection.on("mousedown",".select2-selection__clear",(function(h){y._handleClear(h)})),g.on("keypress",(function(h){y._handleKeyboardClear(h,g)}))},AllowClear.prototype._handleClear=function(h,v){if(!this.isDisabled()){var y=this.$selection.find(".select2-selection__clear");if(0!==y.length){v.stopPropagation();var b=g.GetData(y[0],"data"),w=this.$element.val();this.$element.val(this.placeholder.id);var C={data:b};if(this.trigger("clear",C),C.prevented)this.$element.val(w);else{for(var T=0;T<b.length;T++)if(C={data:b[T]},this.trigger("unselect",C),C.prevented)return void this.$element.val(w);this.$element.trigger("input").trigger("change"),this.trigger("toggle",{})}}}},AllowClear.prototype._handleKeyboardClear=function(g,v,y){y.isOpen()||v.which!=h.DELETE&&v.which!=h.BACKSPACE||this._handleClear(v)},AllowClear.prototype.update=function(h,v){if(h.call(this,v),!(this.$selection.find(".select2-selection__placeholder").length>0||0===v.length)){var y=this.options.get("translations").get("removeAllItems"),b=$('<span class="select2-selection__clear" title="'+y()+'">&times;</span>');g.StoreData(b[0],"data",v),this.$selection.find(".select2-selection__rendered").prepend(b)}},AllowClear})),h.define("select2/selection/search",["jquery","../utils","../keys"],(function($,h,g){function Search(h,g,v){h.call(this,g,v)}return Search.prototype.render=function(h){var g=$('<li class="select2-search select2-search--inline"><input class="select2-search__field" type="search" tabindex="-1" autocomplete="off" autocorrect="off" autocapitalize="none" spellcheck="false" role="searchbox" aria-autocomplete="list" /></li>');this.$searchContainer=g,this.$search=g.find("input");var v=h.call(this);return this._transferTabIndex(),v},Search.prototype.bind=function(v,y,b){var w=this,C=y.id+"-results";v.call(this,y,b),y.on("open",(function(){w.$search.attr("aria-controls",C),w.$search.trigger("focus")})),y.on("close",(function(){w.$search.val(""),w.$search.removeAttr("aria-controls"),w.$search.removeAttr("aria-activedescendant"),w.$search.trigger("focus")})),y.on("enable",(function(){w.$search.prop("disabled",!1),w._transferTabIndex()})),y.on("disable",(function(){w.$search.prop("disabled",!0)})),y.on("focus",(function(h){w.$search.trigger("focus")})),y.on("results:focus",(function(h){h.data._resultId?w.$search.attr("aria-activedescendant",h.data._resultId):w.$search.removeAttr("aria-activedescendant")})),this.$selection.on("focusin",".select2-search--inline",(function(h){w.trigger("focus",h)})),this.$selection.on("focusout",".select2-search--inline",(function(h){w._handleBlur(h)})),this.$selection.on("keydown",".select2-search--inline",(function(v){if(v.stopPropagation(),w.trigger("keypress",v),w._keyUpPrevented=v.isDefaultPrevented(),v.which===g.BACKSPACE&&""===w.$search.val()){var y=w.$searchContainer.prev(".select2-selection__choice");if(y.length>0){var b=h.GetData(y[0],"data");w.searchRemoveChoice(b),v.preventDefault()}}})),this.$selection.on("click",".select2-search--inline",(function(h){w.$search.val()&&h.stopPropagation()}));var T=document.documentMode,A=T&&T<=11;this.$selection.on("input.searchcheck",".select2-search--inline",(function(h){A?w.$selection.off("input.search input.searchcheck"):w.$selection.off("keyup.search")})),this.$selection.on("keyup.search input.search",".select2-search--inline",(function(h){if(A&&"input"===h.type)w.$selection.off("input.search input.searchcheck");else{var v=h.which;v!=g.SHIFT&&v!=g.CTRL&&v!=g.ALT&&v!=g.TAB&&w.handleSearch(h)}}))},Search.prototype._transferTabIndex=function(h){this.$search.attr("tabindex",this.$selection.attr("tabindex")),this.$selection.attr("tabindex","-1")},Search.prototype.createPlaceholder=function(h,g){this.$search.attr("placeholder",g.text)},Search.prototype.update=function(h,g){var v=this.$search[0]==document.activeElement;this.$search.attr("placeholder",""),h.call(this,g),this.$selection.find(".select2-selection__rendered").append(this.$searchContainer),this.resizeSearch(),v&&this.$search.trigger("focus")},Search.prototype.handleSearch=function(){if(this.resizeSearch(),!this._keyUpPrevented){var h=this.$search.val();this.trigger("query",{term:h})}this._keyUpPrevented=!1},Search.prototype.searchRemoveChoice=function(h,g){this.trigger("unselect",{data:g}),this.$search.val(g.text),this.handleSearch()},Search.prototype.resizeSearch=function(){this.$search.css("width","25px");var h="";h=""!==this.$search.attr("placeholder")?this.$selection.find(".select2-selection__rendered").width():.75*(this.$search.val().length+1)+"em",this.$search.css("width",h)},Search})),h.define("select2/selection/eventRelay",["jquery"],(function($){function EventRelay(){}return EventRelay.prototype.bind=function(h,g,v){var y=this,b=["open","opening","close","closing","select","selecting","unselect","unselecting","clear","clearing"],w=["opening","closing","selecting","unselecting","clearing"];h.call(this,g,v),g.on("*",(function(h,g){if(-1!==$.inArray(h,b)){g=g||{};var v=$.Event("select2:"+h,{params:g});y.$element.trigger(v),-1!==$.inArray(h,w)&&(g.prevented=v.isDefaultPrevented())}}))},EventRelay})),h.define("select2/translation",["jquery","require"],(function($,h){function Translation(h){this.dict=h||{}}return Translation.prototype.all=function(){return this.dict},Translation.prototype.get=function(h){return this.dict[h]},Translation.prototype.extend=function(h){this.dict=$.extend({},h.all(),this.dict)},Translation._cache={},Translation.loadPath=function(g){if(!(g in Translation._cache)){var v=h(g);Translation._cache[g]=v}return new Translation(Translation._cache[g])},Translation})),h.define("select2/diacritics",[],(function(){return{"\u24b6":"A","\uff21":"A","\xc0":"A","\xc1":"A","\xc2":"A","\u1ea6":"A","\u1ea4":"A","\u1eaa":"A","\u1ea8":"A","\xc3":"A","\u0100":"A","\u0102":"A","\u1eb0":"A","\u1eae":"A","\u1eb4":"A","\u1eb2":"A","\u0226":"A","\u01e0":"A","\xc4":"A","\u01de":"A","\u1ea2":"A","\xc5":"A","\u01fa":"A","\u01cd":"A","\u0200":"A","\u0202":"A","\u1ea0":"A","\u1eac":"A","\u1eb6":"A","\u1e00":"A","\u0104":"A","\u023a":"A","\u2c6f":"A","\ua732":"AA","\xc6":"AE","\u01fc":"AE","\u01e2":"AE","\ua734":"AO","\ua736":"AU","\ua738":"AV","\ua73a":"AV","\ua73c":"AY","\u24b7":"B","\uff22":"B","\u1e02":"B","\u1e04":"B","\u1e06":"B","\u0243":"B","\u0182":"B","\u0181":"B","\u24b8":"C","\uff23":"C","\u0106":"C","\u0108":"C","\u010a":"C","\u010c":"C","\xc7":"C","\u1e08":"C","\u0187":"C","\u023b":"C","\ua73e":"C","\u24b9":"D","\uff24":"D","\u1e0a":"D","\u010e":"D","\u1e0c":"D","\u1e10":"D","\u1e12":"D","\u1e0e":"D","\u0110":"D","\u018b":"D","\u018a":"D","\u0189":"D","\ua779":"D","\u01f1":"DZ","\u01c4":"DZ","\u01f2":"Dz","\u01c5":"Dz","\u24ba":"E","\uff25":"E","\xc8":"E","\xc9":"E","\xca":"E","\u1ec0":"E","\u1ebe":"E","\u1ec4":"E","\u1ec2":"E","\u1ebc":"E","\u0112":"E","\u1e14":"E","\u1e16":"E","\u0114":"E","\u0116":"E","\xcb":"E","\u1eba":"E","\u011a":"E","\u0204":"E","\u0206":"E","\u1eb8":"E","\u1ec6":"E","\u0228":"E","\u1e1c":"E","\u0118":"E","\u1e18":"E","\u1e1a":"E","\u0190":"E","\u018e":"E","\u24bb":"F","\uff26":"F","\u1e1e":"F","\u0191":"F","\ua77b":"F","\u24bc":"G","\uff27":"G","\u01f4":"G","\u011c":"G","\u1e20":"G","\u011e":"G","\u0120":"G","\u01e6":"G","\u0122":"G","\u01e4":"G","\u0193":"G","\ua7a0":"G","\ua77d":"G","\ua77e":"G","\u24bd":"H","\uff28":"H","\u0124":"H","\u1e22":"H","\u1e26":"H","\u021e":"H","\u1e24":"H","\u1e28":"H","\u1e2a":"H","\u0126":"H","\u2c67":"H","\u2c75":"H","\ua78d":"H","\u24be":"I","\uff29":"I","\xcc":"I","\xcd":"I","\xce":"I","\u0128":"I","\u012a":"I","\u012c":"I","\u0130":"I","\xcf":"I","\u1e2e":"I","\u1ec8":"I","\u01cf":"I","\u0208":"I","\u020a":"I","\u1eca":"I","\u012e":"I","\u1e2c":"I","\u0197":"I","\u24bf":"J","\uff2a":"J","\u0134":"J","\u0248":"J","\u24c0":"K","\uff2b":"K","\u1e30":"K","\u01e8":"K","\u1e32":"K","\u0136":"K","\u1e34":"K","\u0198":"K","\u2c69":"K","\ua740":"K","\ua742":"K","\ua744":"K","\ua7a2":"K","\u24c1":"L","\uff2c":"L","\u013f":"L","\u0139":"L","\u013d":"L","\u1e36":"L","\u1e38":"L","\u013b":"L","\u1e3c":"L","\u1e3a":"L","\u0141":"L","\u023d":"L","\u2c62":"L","\u2c60":"L","\ua748":"L","\ua746":"L","\ua780":"L","\u01c7":"LJ","\u01c8":"Lj","\u24c2":"M","\uff2d":"M","\u1e3e":"M","\u1e40":"M","\u1e42":"M","\u2c6e":"M","\u019c":"M","\u24c3":"N","\uff2e":"N","\u01f8":"N","\u0143":"N","\xd1":"N","\u1e44":"N","\u0147":"N","\u1e46":"N","\u0145":"N","\u1e4a":"N","\u1e48":"N","\u0220":"N","\u019d":"N","\ua790":"N","\ua7a4":"N","\u01ca":"NJ","\u01cb":"Nj","\u24c4":"O","\uff2f":"O","\xd2":"O","\xd3":"O","\xd4":"O","\u1ed2":"O","\u1ed0":"O","\u1ed6":"O","\u1ed4":"O","\xd5":"O","\u1e4c":"O","\u022c":"O","\u1e4e":"O","\u014c":"O","\u1e50":"O","\u1e52":"O","\u014e":"O","\u022e":"O","\u0230":"O","\xd6":"O","\u022a":"O","\u1ece":"O","\u0150":"O","\u01d1":"O","\u020c":"O","\u020e":"O","\u01a0":"O","\u1edc":"O","\u1eda":"O","\u1ee0":"O","\u1ede":"O","\u1ee2":"O","\u1ecc":"O","\u1ed8":"O","\u01ea":"O","\u01ec":"O","\xd8":"O","\u01fe":"O","\u0186":"O","\u019f":"O","\ua74a":"O","\ua74c":"O","\u0152":"OE","\u01a2":"OI","\ua74e":"OO","\u0222":"OU","\u24c5":"P","\uff30":"P","\u1e54":"P","\u1e56":"P","\u01a4":"P","\u2c63":"P","\ua750":"P","\ua752":"P","\ua754":"P","\u24c6":"Q","\uff31":"Q","\ua756":"Q","\ua758":"Q","\u024a":"Q","\u24c7":"R","\uff32":"R","\u0154":"R","\u1e58":"R","\u0158":"R","\u0210":"R","\u0212":"R","\u1e5a":"R","\u1e5c":"R","\u0156":"R","\u1e5e":"R","\u024c":"R","\u2c64":"R","\ua75a":"R","\ua7a6":"R","\ua782":"R","\u24c8":"S","\uff33":"S","\u1e9e":"S","\u015a":"S","\u1e64":"S","\u015c":"S","\u1e60":"S","\u0160":"S","\u1e66":"S","\u1e62":"S","\u1e68":"S","\u0218":"S","\u015e":"S","\u2c7e":"S","\ua7a8":"S","\ua784":"S","\u24c9":"T","\uff34":"T","\u1e6a":"T","\u0164":"T","\u1e6c":"T","\u021a":"T","\u0162":"T","\u1e70":"T","\u1e6e":"T","\u0166":"T","\u01ac":"T","\u01ae":"T","\u023e":"T","\ua786":"T","\ua728":"TZ","\u24ca":"U","\uff35":"U","\xd9":"U","\xda":"U","\xdb":"U","\u0168":"U","\u1e78":"U","\u016a":"U","\u1e7a":"U","\u016c":"U","\xdc":"U","\u01db":"U","\u01d7":"U","\u01d5":"U","\u01d9":"U","\u1ee6":"U","\u016e":"U","\u0170":"U","\u01d3":"U","\u0214":"U","\u0216":"U","\u01af":"U","\u1eea":"U","\u1ee8":"U","\u1eee":"U","\u1eec":"U","\u1ef0":"U","\u1ee4":"U","\u1e72":"U","\u0172":"U","\u1e76":"U","\u1e74":"U","\u0244":"U","\u24cb":"V","\uff36":"V","\u1e7c":"V","\u1e7e":"V","\u01b2":"V","\ua75e":"V","\u0245":"V","\ua760":"VY","\u24cc":"W","\uff37":"W","\u1e80":"W","\u1e82":"W","\u0174":"W","\u1e86":"W","\u1e84":"W","\u1e88":"W","\u2c72":"W","\u24cd":"X","\uff38":"X","\u1e8a":"X","\u1e8c":"X","\u24ce":"Y","\uff39":"Y","\u1ef2":"Y","\xdd":"Y","\u0176":"Y","\u1ef8":"Y","\u0232":"Y","\u1e8e":"Y","\u0178":"Y","\u1ef6":"Y","\u1ef4":"Y","\u01b3":"Y","\u024e":"Y","\u1efe":"Y","\u24cf":"Z","\uff3a":"Z","\u0179":"Z","\u1e90":"Z","\u017b":"Z","\u017d":"Z","\u1e92":"Z","\u1e94":"Z","\u01b5":"Z","\u0224":"Z","\u2c7f":"Z","\u2c6b":"Z","\ua762":"Z","\u24d0":"a","\uff41":"a","\u1e9a":"a","\xe0":"a","\xe1":"a","\xe2":"a","\u1ea7":"a","\u1ea5":"a","\u1eab":"a","\u1ea9":"a","\xe3":"a","\u0101":"a","\u0103":"a","\u1eb1":"a","\u1eaf":"a","\u1eb5":"a","\u1eb3":"a","\u0227":"a","\u01e1":"a","\xe4":"a","\u01df":"a","\u1ea3":"a","\xe5":"a","\u01fb":"a","\u01ce":"a","\u0201":"a","\u0203":"a","\u1ea1":"a","\u1ead":"a","\u1eb7":"a","\u1e01":"a","\u0105":"a","\u2c65":"a","\u0250":"a","\ua733":"aa","\xe6":"ae","\u01fd":"ae","\u01e3":"ae","\ua735":"ao","\ua737":"au","\ua739":"av","\ua73b":"av","\ua73d":"ay","\u24d1":"b","\uff42":"b","\u1e03":"b","\u1e05":"b","\u1e07":"b","\u0180":"b","\u0183":"b","\u0253":"b","\u24d2":"c","\uff43":"c","\u0107":"c","\u0109":"c","\u010b":"c","\u010d":"c","\xe7":"c","\u1e09":"c","\u0188":"c","\u023c":"c","\ua73f":"c","\u2184":"c","\u24d3":"d","\uff44":"d","\u1e0b":"d","\u010f":"d","\u1e0d":"d","\u1e11":"d","\u1e13":"d","\u1e0f":"d","\u0111":"d","\u018c":"d","\u0256":"d","\u0257":"d","\ua77a":"d","\u01f3":"dz","\u01c6":"dz","\u24d4":"e","\uff45":"e","\xe8":"e","\xe9":"e","\xea":"e","\u1ec1":"e","\u1ebf":"e","\u1ec5":"e","\u1ec3":"e","\u1ebd":"e","\u0113":"e","\u1e15":"e","\u1e17":"e","\u0115":"e","\u0117":"e","\xeb":"e","\u1ebb":"e","\u011b":"e","\u0205":"e","\u0207":"e","\u1eb9":"e","\u1ec7":"e","\u0229":"e","\u1e1d":"e","\u0119":"e","\u1e19":"e","\u1e1b":"e","\u0247":"e","\u025b":"e","\u01dd":"e","\u24d5":"f","\uff46":"f","\u1e1f":"f","\u0192":"f","\ua77c":"f","\u24d6":"g","\uff47":"g","\u01f5":"g","\u011d":"g","\u1e21":"g","\u011f":"g","\u0121":"g","\u01e7":"g","\u0123":"g","\u01e5":"g","\u0260":"g","\ua7a1":"g","\u1d79":"g","\ua77f":"g","\u24d7":"h","\uff48":"h","\u0125":"h","\u1e23":"h","\u1e27":"h","\u021f":"h","\u1e25":"h","\u1e29":"h","\u1e2b":"h","\u1e96":"h","\u0127":"h","\u2c68":"h","\u2c76":"h","\u0265":"h","\u0195":"hv","\u24d8":"i","\uff49":"i","\xec":"i","\xed":"i","\xee":"i","\u0129":"i","\u012b":"i","\u012d":"i","\xef":"i","\u1e2f":"i","\u1ec9":"i","\u01d0":"i","\u0209":"i","\u020b":"i","\u1ecb":"i","\u012f":"i","\u1e2d":"i","\u0268":"i","\u0131":"i","\u24d9":"j","\uff4a":"j","\u0135":"j","\u01f0":"j","\u0249":"j","\u24da":"k","\uff4b":"k","\u1e31":"k","\u01e9":"k","\u1e33":"k","\u0137":"k","\u1e35":"k","\u0199":"k","\u2c6a":"k","\ua741":"k","\ua743":"k","\ua745":"k","\ua7a3":"k","\u24db":"l","\uff4c":"l","\u0140":"l","\u013a":"l","\u013e":"l","\u1e37":"l","\u1e39":"l","\u013c":"l","\u1e3d":"l","\u1e3b":"l","\u017f":"l","\u0142":"l","\u019a":"l","\u026b":"l","\u2c61":"l","\ua749":"l","\ua781":"l","\ua747":"l","\u01c9":"lj","\u24dc":"m","\uff4d":"m","\u1e3f":"m","\u1e41":"m","\u1e43":"m","\u0271":"m","\u026f":"m","\u24dd":"n","\uff4e":"n","\u01f9":"n","\u0144":"n","\xf1":"n","\u1e45":"n","\u0148":"n","\u1e47":"n","\u0146":"n","\u1e4b":"n","\u1e49":"n","\u019e":"n","\u0272":"n","\u0149":"n","\ua791":"n","\ua7a5":"n","\u01cc":"nj","\u24de":"o","\uff4f":"o","\xf2":"o","\xf3":"o","\xf4":"o","\u1ed3":"o","\u1ed1":"o","\u1ed7":"o","\u1ed5":"o","\xf5":"o","\u1e4d":"o","\u022d":"o","\u1e4f":"o","\u014d":"o","\u1e51":"o","\u1e53":"o","\u014f":"o","\u022f":"o","\u0231":"o","\xf6":"o","\u022b":"o","\u1ecf":"o","\u0151":"o","\u01d2":"o","\u020d":"o","\u020f":"o","\u01a1":"o","\u1edd":"o","\u1edb":"o","\u1ee1":"o","\u1edf":"o","\u1ee3":"o","\u1ecd":"o","\u1ed9":"o","\u01eb":"o","\u01ed":"o","\xf8":"o","\u01ff":"o","\u0254":"o","\ua74b":"o","\ua74d":"o","\u0275":"o","\u0153":"oe","\u01a3":"oi","\u0223":"ou","\ua74f":"oo","\u24df":"p","\uff50":"p","\u1e55":"p","\u1e57":"p","\u01a5":"p","\u1d7d":"p","\ua751":"p","\ua753":"p","\ua755":"p","\u24e0":"q","\uff51":"q","\u024b":"q","\ua757":"q","\ua759":"q","\u24e1":"r","\uff52":"r","\u0155":"r","\u1e59":"r","\u0159":"r","\u0211":"r","\u0213":"r","\u1e5b":"r","\u1e5d":"r","\u0157":"r","\u1e5f":"r","\u024d":"r","\u027d":"r","\ua75b":"r","\ua7a7":"r","\ua783":"r","\u24e2":"s","\uff53":"s","\xdf":"s","\u015b":"s","\u1e65":"s","\u015d":"s","\u1e61":"s","\u0161":"s","\u1e67":"s","\u1e63":"s","\u1e69":"s","\u0219":"s","\u015f":"s","\u023f":"s","\ua7a9":"s","\ua785":"s","\u1e9b":"s","\u24e3":"t","\uff54":"t","\u1e6b":"t","\u1e97":"t","\u0165":"t","\u1e6d":"t","\u021b":"t","\u0163":"t","\u1e71":"t","\u1e6f":"t","\u0167":"t","\u01ad":"t","\u0288":"t","\u2c66":"t","\ua787":"t","\ua729":"tz","\u24e4":"u","\uff55":"u","\xf9":"u","\xfa":"u","\xfb":"u","\u0169":"u","\u1e79":"u","\u016b":"u","\u1e7b":"u","\u016d":"u","\xfc":"u","\u01dc":"u","\u01d8":"u","\u01d6":"u","\u01da":"u","\u1ee7":"u","\u016f":"u","\u0171":"u","\u01d4":"u","\u0215":"u","\u0217":"u","\u01b0":"u","\u1eeb":"u","\u1ee9":"u","\u1eef":"u","\u1eed":"u","\u1ef1":"u","\u1ee5":"u","\u1e73":"u","\u0173":"u","\u1e77":"u","\u1e75":"u","\u0289":"u","\u24e5":"v","\uff56":"v","\u1e7d":"v","\u1e7f":"v","\u028b":"v","\ua75f":"v","\u028c":"v","\ua761":"vy","\u24e6":"w","\uff57":"w","\u1e81":"w","\u1e83":"w","\u0175":"w","\u1e87":"w","\u1e85":"w","\u1e98":"w","\u1e89":"w","\u2c73":"w","\u24e7":"x","\uff58":"x","\u1e8b":"x","\u1e8d":"x","\u24e8":"y","\uff59":"y","\u1ef3":"y","\xfd":"y","\u0177":"y","\u1ef9":"y","\u0233":"y","\u1e8f":"y","\xff":"y","\u1ef7":"y","\u1e99":"y","\u1ef5":"y","\u01b4":"y","\u024f":"y","\u1eff":"y","\u24e9":"z","\uff5a":"z","\u017a":"z","\u1e91":"z","\u017c":"z","\u017e":"z","\u1e93":"z","\u1e95":"z","\u01b6":"z","\u0225":"z","\u0240":"z","\u2c6c":"z","\ua763":"z","\u0386":"\u0391","\u0388":"\u0395","\u0389":"\u0397","\u038a":"\u0399","\u03aa":"\u0399","\u038c":"\u039f","\u038e":"\u03a5","\u03ab":"\u03a5","\u038f":"\u03a9","\u03ac":"\u03b1","\u03ad":"\u03b5","\u03ae":"\u03b7","\u03af":"\u03b9","\u03ca":"\u03b9","\u0390":"\u03b9","\u03cc":"\u03bf","\u03cd":"\u03c5","\u03cb":"\u03c5","\u03b0":"\u03c5","\u03ce":"\u03c9","\u03c2":"\u03c3","\u2019":"'"}})),h.define("select2/data/base",["../utils"],(function(h){function BaseAdapter(h,g){BaseAdapter.__super__.constructor.call(this)}return h.Extend(BaseAdapter,h.Observable),BaseAdapter.prototype.current=function(h){throw new Error("The `current` method must be defined in child classes.")},BaseAdapter.prototype.query=function(h,g){throw new Error("The `query` method must be defined in child classes.")},BaseAdapter.prototype.bind=function(h,g){},BaseAdapter.prototype.destroy=function(){},BaseAdapter.prototype.generateResultId=function(g,v){var y=g.id+"-result-";return y+=h.generateChars(4),null!=v.id?y+="-"+v.id.toString():y+="-"+h.generateChars(4),y},BaseAdapter})),h.define("select2/data/select",["./base","../utils","jquery"],(function(h,g,$){function SelectAdapter(h,g){this.$element=h,this.options=g,SelectAdapter.__super__.constructor.call(this)}return g.Extend(SelectAdapter,h),SelectAdapter.prototype.current=function(h){var g=[],v=this;this.$element.find(":selected").each((function(){var h=$(this),y=v.item(h);g.push(y)})),h(g)},SelectAdapter.prototype.select=function(h){var g=this;if(h.selected=!0,$(h.element).is("option"))return h.element.selected=!0,void this.$element.trigger("input").trigger("change");if(this.$element.prop("multiple"))this.current((function(v){var y=[];(h=[h]).push.apply(h,v);for(var b=0;b<h.length;b++){var w=h[b].id;-1===$.inArray(w,y)&&y.push(w)}g.$element.val(y),g.$element.trigger("input").trigger("change")}));else{var v=h.id;this.$element.val(v),this.$element.trigger("input").trigger("change")}},SelectAdapter.prototype.unselect=function(h){var g=this;if(this.$element.prop("multiple")){if(h.selected=!1,$(h.element).is("option"))return h.element.selected=!1,void this.$element.trigger("input").trigger("change");this.current((function(v){for(var y=[],b=0;b<v.length;b++){var w=v[b].id;w!==h.id&&-1===$.inArray(w,y)&&y.push(w)}g.$element.val(y),g.$element.trigger("input").trigger("change")}))}},SelectAdapter.prototype.bind=function(h,g){var v=this;this.container=h,h.on("select",(function(h){v.select(h.data)})),h.on("unselect",(function(h){v.unselect(h.data)}))},SelectAdapter.prototype.destroy=function(){this.$element.find("*").each((function(){g.RemoveData(this)}))},SelectAdapter.prototype.query=function(h,g){var v=[],y=this;this.$element.children().each((function(){var g=$(this);if(g.is("option")||g.is("optgroup")){var b=y.item(g),w=y.matches(h,b);null!==w&&v.push(w)}})),g({results:v})},SelectAdapter.prototype.addOptions=function(h){g.appendMany(this.$element,h)},SelectAdapter.prototype.option=function(h){var v;h.children?(v=document.createElement("optgroup")).label=h.text:void 0!==(v=document.createElement("option")).textContent?v.textContent=h.text:v.innerText=h.text,void 0!==h.id&&(v.value=h.id),h.disabled&&(v.disabled=!0),h.selected&&(v.selected=!0),h.title&&(v.title=h.title);var y=$(v),b=this._normalizeItem(h);return b.element=v,g.StoreData(v,"data",b),y},SelectAdapter.prototype.item=function(h){var v={};if(null!=(v=g.GetData(h[0],"data")))return v;if(h.is("option"))v={id:h.val(),text:h.text(),disabled:h.prop("disabled"),selected:h.prop("selected"),title:h.prop("title")};else if(h.is("optgroup")){v={text:h.prop("label"),children:[],title:h.prop("title")};for(var y=h.children("option"),b=[],w=0;w<y.length;w++){var C=$(y[w]),T=this.item(C);b.push(T)}v.children=b}return(v=this._normalizeItem(v)).element=h[0],g.StoreData(h[0],"data",v),v},SelectAdapter.prototype._normalizeItem=function(h){h!==Object(h)&&(h={id:h,text:h});var g={selected:!1,disabled:!1};return null!=(h=$.extend({},{text:""},h)).id&&(h.id=h.id.toString()),null!=h.text&&(h.text=h.text.toString()),null==h._resultId&&h.id&&null!=this.container&&(h._resultId=this.generateResultId(this.container,h)),$.extend({},g,h)},SelectAdapter.prototype.matches=function(h,g){return this.options.get("matcher")(h,g)},SelectAdapter})),h.define("select2/data/array",["./select","../utils","jquery"],(function(h,g,$){function ArrayAdapter(h,g){this._dataToConvert=g.get("data")||[],ArrayAdapter.__super__.constructor.call(this,h,g)}return g.Extend(ArrayAdapter,h),ArrayAdapter.prototype.bind=function(h,g){ArrayAdapter.__super__.bind.call(this,h,g),this.addOptions(this.convertToOptions(this._dataToConvert))},ArrayAdapter.prototype.select=function(h){var g=this.$element.find("option").filter((function(g,v){return v.value==h.id.toString()}));0===g.length&&(g=this.option(h),this.addOptions(g)),ArrayAdapter.__super__.select.call(this,h)},ArrayAdapter.prototype.convertToOptions=function(h){var v=this,y=this.$element.find("option"),b=y.map((function(){return v.item($(this)).id})).get(),w=[];function onlyItem(h){return function(){return $(this).val()==h.id}}for(var C=0;C<h.length;C++){var T=this._normalizeItem(h[C]);if($.inArray(T.id,b)>=0){var A=y.filter(onlyItem(T)),k=this.item(A),D=$.extend(!0,{},T,k),P=this.option(D);A.replaceWith(P)}else{var R=this.option(T);if(T.children){var N=this.convertToOptions(T.children);g.appendMany(R,N)}w.push(R)}}return w},ArrayAdapter})),h.define("select2/data/ajax",["./array","../utils","jquery"],(function(h,g,$){function AjaxAdapter(h,g){this.ajaxOptions=this._applyDefaults(g.get("ajax")),null!=this.ajaxOptions.processResults&&(this.processResults=this.ajaxOptions.processResults),AjaxAdapter.__super__.constructor.call(this,h,g)}return g.Extend(AjaxAdapter,h),AjaxAdapter.prototype._applyDefaults=function(h){var g={data:function data(h){return $.extend({},h,{q:h.term})},transport:function transport(h,g,v){var y=$.ajax(h);return y.then(g),y.fail(v),y}};return $.extend({},g,h,!0)},AjaxAdapter.prototype.processResults=function(h){return h},AjaxAdapter.prototype.query=function(h,g){var v=this;null!=this._request&&($.isFunction(this._request.abort)&&this._request.abort(),this._request=null);var y=$.extend({type:"GET"},this.ajaxOptions);function request(){var b=y.transport(y,(function(y){var b=v.processResults(y,h);v.options.get("debug")&&window.console&&console.error&&(b&&b.results&&$.isArray(b.results)||console.error("Select2: The AJAX results did not return an array in the `results` key of the response.")),g(b)}),(function(){(!("status"in b)||0!==b.status&&"0"!==b.status)&&v.trigger("results:message",{message:"errorLoading"})}));v._request=b}"function"===typeof y.url&&(y.url=y.url.call(this.$element,h)),"function"===typeof y.data&&(y.data=y.data.call(this.$element,h)),this.ajaxOptions.delay&&null!=h.term?(this._queryTimeout&&window.clearTimeout(this._queryTimeout),this._queryTimeout=window.setTimeout(request,this.ajaxOptions.delay)):request()},AjaxAdapter})),h.define("select2/data/tags",["jquery"],(function($){function Tags(h,g,v){var y=v.get("tags"),b=v.get("createTag");void 0!==b&&(this.createTag=b);var w=v.get("insertTag");if(void 0!==w&&(this.insertTag=w),h.call(this,g,v),$.isArray(y))for(var C=0;C<y.length;C++){var T=y[C],A=this._normalizeItem(T),k=this.option(A);this.$element.append(k)}}return Tags.prototype.query=function(h,g,v){var y=this;function wrapper(h,b){for(var w=h.results,C=0;C<w.length;C++){var T=w[C],A=null!=T.children&&!wrapper({results:T.children},!0);if((T.text||"").toUpperCase()===(g.term||"").toUpperCase()||A)return!b&&(h.data=w,void v(h))}if(b)return!0;var k=y.createTag(g);if(null!=k){var D=y.option(k);D.attr("data-select2-tag",!0),y.addOptions([D]),y.insertTag(w,k)}h.results=w,v(h)}this._removeOldTags(),null!=g.term&&null==g.page?h.call(this,g,wrapper):h.call(this,g,v)},Tags.prototype.createTag=function(h,g){var v=$.trim(g.term);return""===v?null:{id:v,text:v}},Tags.prototype.insertTag=function(h,g,v){g.unshift(v)},Tags.prototype._removeOldTags=function(h){this.$element.find("option[data-select2-tag]").each((function(){this.selected||$(this).remove()}))},Tags})),h.define("select2/data/tokenizer",["jquery"],(function($){function Tokenizer(h,g,v){var y=v.get("tokenizer");void 0!==y&&(this.tokenizer=y),h.call(this,g,v)}return Tokenizer.prototype.bind=function(h,g,v){h.call(this,g,v),this.$search=g.dropdown.$search||g.selection.$search||v.find(".select2-search__field")},Tokenizer.prototype.query=function(h,g,v){var y=this;function createAndSelect(h){var g=y._normalizeItem(h);if(!y.$element.find("option").filter((function(){return $(this).val()===g.id})).length){var v=y.option(g);v.attr("data-select2-tag",!0),y._removeOldTags(),y.addOptions([v])}select(g)}function select(h){y.trigger("select",{data:h})}g.term=g.term||"";var b=this.tokenizer(g,this.options,createAndSelect);b.term!==g.term&&(this.$search.length&&(this.$search.val(b.term),this.$search.trigger("focus")),g.term=b.term),h.call(this,g,v)},Tokenizer.prototype.tokenizer=function(h,g,v,y){for(var b=v.get("tokenSeparators")||[],w=g.term,C=0,T=this.createTag||function(h){return{id:h.term,text:h.term}};C<w.length;){var A=w[C];if(-1!==$.inArray(A,b)){var k=w.substr(0,C),D=T($.extend({},g,{term:k}));null!=D?(y(D),w=w.substr(C+1)||"",C=0):C++}else C++}return{term:w}},Tokenizer})),h.define("select2/data/minimumInputLength",[],(function(){function MinimumInputLength(h,g,v){this.minimumInputLength=v.get("minimumInputLength"),h.call(this,g,v)}return MinimumInputLength.prototype.query=function(h,g,v){g.term=g.term||"",g.term.length<this.minimumInputLength?this.trigger("results:message",{message:"inputTooShort",args:{minimum:this.minimumInputLength,input:g.term,params:g}}):h.call(this,g,v)},MinimumInputLength})),h.define("select2/data/maximumInputLength",[],(function(){function MaximumInputLength(h,g,v){this.maximumInputLength=v.get("maximumInputLength"),h.call(this,g,v)}return MaximumInputLength.prototype.query=function(h,g,v){g.term=g.term||"",this.maximumInputLength>0&&g.term.length>this.maximumInputLength?this.trigger("results:message",{message:"inputTooLong",args:{maximum:this.maximumInputLength,input:g.term,params:g}}):h.call(this,g,v)},MaximumInputLength})),h.define("select2/data/maximumSelectionLength",[],(function(){function MaximumSelectionLength(h,g,v){this.maximumSelectionLength=v.get("maximumSelectionLength"),h.call(this,g,v)}return MaximumSelectionLength.prototype.bind=function(h,g,v){var y=this;h.call(this,g,v),g.on("select",(function(){y._checkIfMaximumSelected()}))},MaximumSelectionLength.prototype.query=function(h,g,v){var y=this;this._checkIfMaximumSelected((function(){h.call(y,g,v)}))},MaximumSelectionLength.prototype._checkIfMaximumSelected=function(h,g){var v=this;this.current((function(h){var y=null!=h?h.length:0;v.maximumSelectionLength>0&&y>=v.maximumSelectionLength?v.trigger("results:message",{message:"maximumSelected",args:{maximum:v.maximumSelectionLength}}):g&&g()}))},MaximumSelectionLength})),h.define("select2/dropdown",["jquery","./utils"],(function($,h){function Dropdown(h,g){this.$element=h,this.options=g,Dropdown.__super__.constructor.call(this)}return h.Extend(Dropdown,h.Observable),Dropdown.prototype.render=function(){var h=$('<span class="select2-dropdown"><span class="select2-results"></span></span>');return h.attr("dir",this.options.get("dir")),this.$dropdown=h,h},Dropdown.prototype.bind=function(){},Dropdown.prototype.position=function(h,g){},Dropdown.prototype.destroy=function(){this.$dropdown.remove()},Dropdown})),h.define("select2/dropdown/search",["jquery","../utils"],(function($,h){function Search(){}return Search.prototype.render=function(h){var g=h.call(this),v=$('<span class="select2-search select2-search--dropdown"><input class="select2-search__field" type="search" tabindex="-1" autocomplete="off" autocorrect="off" autocapitalize="none" spellcheck="false" role="searchbox" aria-autocomplete="list" /></span>');return this.$searchContainer=v,this.$search=v.find("input"),g.prepend(v),g},Search.prototype.bind=function(h,g,v){var y=this,b=g.id+"-results";h.call(this,g,v),this.$search.on("keydown",(function(h){y.trigger("keypress",h),y._keyUpPrevented=h.isDefaultPrevented()})),this.$search.on("input",(function(h){$(this).off("keyup")})),this.$search.on("keyup input",(function(h){y.handleSearch(h)})),g.on("open",(function(){y.$search.attr("tabindex",0),y.$search.attr("aria-controls",b),y.$search.trigger("focus"),window.setTimeout((function(){y.$search.trigger("focus")}),0)})),g.on("close",(function(){y.$search.attr("tabindex",-1),y.$search.removeAttr("aria-controls"),y.$search.removeAttr("aria-activedescendant"),y.$search.val(""),y.$search.trigger("blur")})),g.on("focus",(function(){g.isOpen()||y.$search.trigger("focus")})),g.on("results:all",(function(h){null!=h.query.term&&""!==h.query.term||(y.showSearch(h)?y.$searchContainer.removeClass("select2-search--hide"):y.$searchContainer.addClass("select2-search--hide"))})),g.on("results:focus",(function(h){h.data._resultId?y.$search.attr("aria-activedescendant",h.data._resultId):y.$search.removeAttr("aria-activedescendant")}))},Search.prototype.handleSearch=function(h){if(!this._keyUpPrevented){var g=this.$search.val();this.trigger("query",{term:g})}this._keyUpPrevented=!1},Search.prototype.showSearch=function(h,g){return!0},Search})),h.define("select2/dropdown/hidePlaceholder",[],(function(){function HidePlaceholder(h,g,v,y){this.placeholder=this.normalizePlaceholder(v.get("placeholder")),h.call(this,g,v,y)}return HidePlaceholder.prototype.append=function(h,g){g.results=this.removePlaceholder(g.results),h.call(this,g)},HidePlaceholder.prototype.normalizePlaceholder=function(h,g){return"string"===typeof g&&(g={id:"",text:g}),g},HidePlaceholder.prototype.removePlaceholder=function(h,g){for(var v=g.slice(0),y=g.length-1;y>=0;y--){var b=g[y];this.placeholder.id===b.id&&v.splice(y,1)}return v},HidePlaceholder})),h.define("select2/dropdown/infiniteScroll",["jquery"],(function($){function InfiniteScroll(h,g,v,y){this.lastParams={},h.call(this,g,v,y),this.$loadingMore=this.createLoadingMore(),this.loading=!1}return InfiniteScroll.prototype.append=function(h,g){this.$loadingMore.remove(),this.loading=!1,h.call(this,g),this.showLoadingMore(g)&&(this.$results.append(this.$loadingMore),this.loadMoreIfNeeded())},InfiniteScroll.prototype.bind=function(h,g,v){var y=this;h.call(this,g,v),g.on("query",(function(h){y.lastParams=h,y.loading=!0})),g.on("query:append",(function(h){y.lastParams=h,y.loading=!0})),this.$results.on("scroll",this.loadMoreIfNeeded.bind(this))},InfiniteScroll.prototype.loadMoreIfNeeded=function(){var h=$.contains(document.documentElement,this.$loadingMore[0]);!this.loading&&h&&this.$results.offset().top+this.$results.outerHeight(!1)+50>=this.$loadingMore.offset().top+this.$loadingMore.outerHeight(!1)&&this.loadMore()},InfiniteScroll.prototype.loadMore=function(){this.loading=!0;var h=$.extend({},{page:1},this.lastParams);h.page++,this.trigger("query:append",h)},InfiniteScroll.prototype.showLoadingMore=function(h,g){return g.pagination&&g.pagination.more},InfiniteScroll.prototype.createLoadingMore=function(){var h=$('<li class="select2-results__option select2-results__option--load-more"role="option" aria-disabled="true"></li>'),g=this.options.get("translations").get("loadingMore");return h.html(g(this.lastParams)),h},InfiniteScroll})),h.define("select2/dropdown/attachBody",["jquery","../utils"],(function($,h){function AttachBody(h,g,v){this.$dropdownParent=$(v.get("dropdownParent")||document.body),h.call(this,g,v)}return AttachBody.prototype.bind=function(h,g,v){var y=this;h.call(this,g,v),g.on("open",(function(){y._showDropdown(),y._attachPositioningHandler(g),y._bindContainerResultHandlers(g)})),g.on("close",(function(){y._hideDropdown(),y._detachPositioningHandler(g)})),this.$dropdownContainer.on("mousedown",(function(h){h.stopPropagation()}))},AttachBody.prototype.destroy=function(h){h.call(this),this.$dropdownContainer.remove()},AttachBody.prototype.position=function(h,g,v){g.attr("class",v.attr("class")),g.removeClass("select2"),g.addClass("select2-container--open"),g.css({position:"absolute",top:-999999}),this.$container=v},AttachBody.prototype.render=function(h){var g=$("<span></span>"),v=h.call(this);return g.append(v),this.$dropdownContainer=g,g},AttachBody.prototype._hideDropdown=function(h){this.$dropdownContainer.detach()},AttachBody.prototype._bindContainerResultHandlers=function(h,g){if(!this._containerResultsHandlersBound){var v=this;g.on("results:all",(function(){v._positionDropdown(),v._resizeDropdown()})),g.on("results:append",(function(){v._positionDropdown(),v._resizeDropdown()})),g.on("results:message",(function(){v._positionDropdown(),v._resizeDropdown()})),g.on("select",(function(){v._positionDropdown(),v._resizeDropdown()})),g.on("unselect",(function(){v._positionDropdown(),v._resizeDropdown()})),this._containerResultsHandlersBound=!0}},AttachBody.prototype._attachPositioningHandler=function(g,v){var y=this,b="scroll.select2."+v.id,w="resize.select2."+v.id,C="orientationchange.select2."+v.id,T=this.$container.parents().filter(h.hasScroll);T.each((function(){h.StoreData(this,"select2-scroll-position",{x:$(this).scrollLeft(),y:$(this).scrollTop()})})),T.on(b,(function(g){var v=h.GetData(this,"select2-scroll-position");$(this).scrollTop(v.y)})),$(window).on(b+" "+w+" "+C,(function(h){y._positionDropdown(),y._resizeDropdown()}))},AttachBody.prototype._detachPositioningHandler=function(g,v){var y="scroll.select2."+v.id,b="resize.select2."+v.id,w="orientationchange.select2."+v.id;this.$container.parents().filter(h.hasScroll).off(y),$(window).off(y+" "+b+" "+w)},AttachBody.prototype._positionDropdown=function(){var h=$(window),g=this.$dropdown.hasClass("select2-dropdown--above"),v=this.$dropdown.hasClass("select2-dropdown--below"),y=null,b=this.$container.offset();b.bottom=b.top+this.$container.outerHeight(!1);var w={height:this.$container.outerHeight(!1)};w.top=b.top,w.bottom=b.top+w.height;var C={height:this.$dropdown.outerHeight(!1)},T={top:h.scrollTop(),bottom:h.scrollTop()+h.height()},A=T.top<b.top-C.height,k=T.bottom>b.bottom+C.height,D={left:b.left,top:w.bottom},P=this.$dropdownParent;"static"===P.css("position")&&(P=P.offsetParent());var R={top:0,left:0};($.contains(document.body,P[0])||P[0].isConnected)&&(R=P.offset()),D.top-=R.top,D.left-=R.left,g||v||(y="below"),k||!A||g?!A&&k&&g&&(y="below"):y="above",("above"==y||g&&"below"!==y)&&(D.top=w.top-R.top-C.height),null!=y&&(this.$dropdown.removeClass("select2-dropdown--below select2-dropdown--above").addClass("select2-dropdown--"+y),this.$container.removeClass("select2-container--below select2-container--above").addClass("select2-container--"+y)),this.$dropdownContainer.css(D)},AttachBody.prototype._resizeDropdown=function(){var h={width:this.$container.outerWidth(!1)+"px"};this.options.get("dropdownAutoWidth")&&(h.minWidth=h.width,h.position="relative",h.width="auto"),this.$dropdown.css(h)},AttachBody.prototype._showDropdown=function(h){this.$dropdownContainer.appendTo(this.$dropdownParent),this._positionDropdown(),this._resizeDropdown()},AttachBody})),h.define("select2/dropdown/minimumResultsForSearch",[],(function(){function countResults(h){for(var g=0,v=0;v<h.length;v++){var y=h[v];y.children?g+=countResults(y.children):g++}return g}function MinimumResultsForSearch(h,g,v,y){this.minimumResultsForSearch=v.get("minimumResultsForSearch"),this.minimumResultsForSearch<0&&(this.minimumResultsForSearch=1/0),h.call(this,g,v,y)}return MinimumResultsForSearch.prototype.showSearch=function(h,g){return!(countResults(g.data.results)<this.minimumResultsForSearch)&&h.call(this,g)},MinimumResultsForSearch})),h.define("select2/dropdown/selectOnClose",["../utils"],(function(h){function SelectOnClose(){}return SelectOnClose.prototype.bind=function(h,g,v){var y=this;h.call(this,g,v),g.on("close",(function(h){y._handleSelectOnClose(h)}))},SelectOnClose.prototype._handleSelectOnClose=function(g,v){if(v&&null!=v.originalSelect2Event){var y=v.originalSelect2Event;if("select"===y._type||"unselect"===y._type)return}var b=this.getHighlightedResults();if(!(b.length<1)){var w=h.GetData(b[0],"data");null!=w.element&&w.element.selected||null==w.element&&w.selected||this.trigger("select",{data:w})}},SelectOnClose})),h.define("select2/dropdown/closeOnSelect",[],(function(){function CloseOnSelect(){}return CloseOnSelect.prototype.bind=function(h,g,v){var y=this;h.call(this,g,v),g.on("select",(function(h){y._selectTriggered(h)})),g.on("unselect",(function(h){y._selectTriggered(h)}))},CloseOnSelect.prototype._selectTriggered=function(h,g){var v=g.originalEvent;v&&(v.ctrlKey||v.metaKey)||this.trigger("close",{originalEvent:v,originalSelect2Event:g})},CloseOnSelect})),h.define("select2/i18n/en",[],(function(){return{errorLoading:function errorLoading(){return"The results could not be loaded."},inputTooLong:function inputTooLong(h){var g=h.input.length-h.maximum,v="Please delete "+g+" character";return 1!=g&&(v+="s"),v},inputTooShort:function inputTooShort(h){return"Please enter "+(h.minimum-h.input.length)+" or more characters"},loadingMore:function loadingMore(){return"Loading more results\u2026"},maximumSelected:function maximumSelected(h){var g="You can only select "+h.maximum+" item";return 1!=h.maximum&&(g+="s"),g},noResults:function noResults(){return"No results found"},searching:function searching(){return"Searching\u2026"},removeAllItems:function removeAllItems(){return"Remove all items"}}})),h.define("select2/defaults",["jquery","require","./results","./selection/single","./selection/multiple","./selection/placeholder","./selection/allowClear","./selection/search","./selection/eventRelay","./utils","./translation","./diacritics","./data/select","./data/array","./data/ajax","./data/tags","./data/tokenizer","./data/minimumInputLength","./data/maximumInputLength","./data/maximumSelectionLength","./dropdown","./dropdown/search","./dropdown/hidePlaceholder","./dropdown/infiniteScroll","./dropdown/attachBody","./dropdown/minimumResultsForSearch","./dropdown/selectOnClose","./dropdown/closeOnSelect","./i18n/en"],(function($,h,g,v,y,b,w,C,T,A,k,D,P,R,N,U,q,z,B,W,Y,Q,V,G,X,K,J,Z,ee){function Defaults(){this.reset()}return Defaults.prototype.apply=function(k){if(null==(k=$.extend(!0,{},this.defaults,k)).dataAdapter){if(null!=k.ajax?k.dataAdapter=N:null!=k.data?k.dataAdapter=R:k.dataAdapter=P,k.minimumInputLength>0&&(k.dataAdapter=A.Decorate(k.dataAdapter,z)),k.maximumInputLength>0&&(k.dataAdapter=A.Decorate(k.dataAdapter,B)),k.maximumSelectionLength>0&&(k.dataAdapter=A.Decorate(k.dataAdapter,W)),k.tags&&(k.dataAdapter=A.Decorate(k.dataAdapter,U)),null==k.tokenSeparators&&null==k.tokenizer||(k.dataAdapter=A.Decorate(k.dataAdapter,q)),null!=k.query){var D=h(k.amdBase+"compat/query");k.dataAdapter=A.Decorate(k.dataAdapter,D)}if(null!=k.initSelection){var ee=h(k.amdBase+"compat/initSelection");k.dataAdapter=A.Decorate(k.dataAdapter,ee)}}if(null==k.resultsAdapter&&(k.resultsAdapter=g,null!=k.ajax&&(k.resultsAdapter=A.Decorate(k.resultsAdapter,G)),null!=k.placeholder&&(k.resultsAdapter=A.Decorate(k.resultsAdapter,V)),k.selectOnClose&&(k.resultsAdapter=A.Decorate(k.resultsAdapter,J))),null==k.dropdownAdapter){if(k.multiple)k.dropdownAdapter=Y;else{var te=A.Decorate(Y,Q);k.dropdownAdapter=te}if(0!==k.minimumResultsForSearch&&(k.dropdownAdapter=A.Decorate(k.dropdownAdapter,K)),k.closeOnSelect&&(k.dropdownAdapter=A.Decorate(k.dropdownAdapter,Z)),null!=k.dropdownCssClass||null!=k.dropdownCss||null!=k.adaptDropdownCssClass){var ne=h(k.amdBase+"compat/dropdownCss");k.dropdownAdapter=A.Decorate(k.dropdownAdapter,ne)}k.dropdownAdapter=A.Decorate(k.dropdownAdapter,X)}if(null==k.selectionAdapter){if(k.multiple?k.selectionAdapter=y:k.selectionAdapter=v,null!=k.placeholder&&(k.selectionAdapter=A.Decorate(k.selectionAdapter,b)),k.allowClear&&(k.selectionAdapter=A.Decorate(k.selectionAdapter,w)),k.multiple&&(k.selectionAdapter=A.Decorate(k.selectionAdapter,C)),null!=k.containerCssClass||null!=k.containerCss||null!=k.adaptContainerCssClass){var oe=h(k.amdBase+"compat/containerCss");k.selectionAdapter=A.Decorate(k.selectionAdapter,oe)}k.selectionAdapter=A.Decorate(k.selectionAdapter,T)}k.language=this._resolveLanguage(k.language),k.language.push("en");for(var ie=[],re=0;re<k.language.length;re++){var ae=k.language[re];-1===ie.indexOf(ae)&&ie.push(ae)}return k.language=ie,k.translations=this._processTranslations(k.language,k.debug),k},Defaults.prototype.reset=function(){function stripDiacritics(h){function match(h){return D[h]||h}return h.replace(/[^\u0000-\u007E]/g,match)}function matcher(h,g){if(""===$.trim(h.term))return g;if(g.children&&g.children.length>0){for(var v=$.extend(!0,{},g),y=g.children.length-1;y>=0;y--)null==matcher(h,g.children[y])&&v.children.splice(y,1);return v.children.length>0?v:matcher(h,v)}var b=stripDiacritics(g.text).toUpperCase(),w=stripDiacritics(h.term).toUpperCase();return b.indexOf(w)>-1?g:null}this.defaults={amdBase:"./",amdLanguageBase:"./i18n/",closeOnSelect:!0,debug:!1,dropdownAutoWidth:!1,escapeMarkup:A.escapeMarkup,language:{},matcher:matcher,minimumInputLength:0,maximumInputLength:0,maximumSelectionLength:0,minimumResultsForSearch:0,selectOnClose:!1,scrollAfterSelect:!1,sorter:function sorter(h){return h},templateResult:function templateResult(h){return h.text},templateSelection:function templateSelection(h){return h.text},theme:"default",width:"resolve"}},Defaults.prototype.applyFromElement=function(h,g){var v=h.language,y=this.defaults.language,b=g.prop("lang"),w=g.closest("[lang]").prop("lang"),C=Array.prototype.concat.call(this._resolveLanguage(b),this._resolveLanguage(v),this._resolveLanguage(y),this._resolveLanguage(w));return h.language=C,h},Defaults.prototype._resolveLanguage=function(h){if(!h)return[];if($.isEmptyObject(h))return[];if($.isPlainObject(h))return[h];var g;g=$.isArray(h)?h:[h];for(var v=[],y=0;y<g.length;y++)if(v.push(g[y]),"string"===typeof g[y]&&g[y].indexOf("-")>0){var b=g[y].split("-")[0];v.push(b)}return v},Defaults.prototype._processTranslations=function(h,g){for(var v=new k,y=0;y<h.length;y++){var b=new k,w=h[y];if("string"===typeof w)try{b=k.loadPath(w)}catch(C){try{w=this.defaults.amdLanguageBase+w,b=k.loadPath(w)}catch(T){g&&window.console&&console.warn&&console.warn('Select2: The language file for "'+w+'" could not be automatically loaded. A fallback will be used instead.')}}else b=$.isPlainObject(w)?new k(w):w;v.extend(b)}return v},Defaults.prototype.set=function(h,g){var v={};v[$.camelCase(h)]=g;var y=A._convertData(v);$.extend(!0,this.defaults,y)},new Defaults})),h.define("select2/options",["require","jquery","./defaults","./utils"],(function(h,$,g,v){function Options(y,b){if(this.options=y,null!=b&&this.fromElement(b),null!=b&&(this.options=g.applyFromElement(this.options,b)),this.options=g.apply(this.options),b&&b.is("input")){var w=h(this.get("amdBase")+"compat/inputData");this.options.dataAdapter=v.Decorate(this.options.dataAdapter,w)}}return Options.prototype.fromElement=function(h){var g=["select2"];null==this.options.multiple&&(this.options.multiple=h.prop("multiple")),null==this.options.disabled&&(this.options.disabled=h.prop("disabled")),null==this.options.dir&&(h.prop("dir")?this.options.dir=h.prop("dir"):h.closest("[dir]").prop("dir")?this.options.dir=h.closest("[dir]").prop("dir"):this.options.dir="ltr"),h.prop("disabled",this.options.disabled),h.prop("multiple",this.options.multiple),v.GetData(h[0],"select2Tags")&&(this.options.debug&&window.console&&console.warn&&console.warn('Select2: The `data-select2-tags` attribute has been changed to use the `data-data` and `data-tags="true"` attributes and will be removed in future versions of Select2.'),v.StoreData(h[0],"data",v.GetData(h[0],"select2Tags")),v.StoreData(h[0],"tags",!0)),v.GetData(h[0],"ajaxUrl")&&(this.options.debug&&window.console&&console.warn&&console.warn("Select2: The `data-ajax-url` attribute has been changed to `data-ajax--url` and support for the old attribute will be removed in future versions of Select2."),h.attr("ajax--url",v.GetData(h[0],"ajaxUrl")),v.StoreData(h[0],"ajax-Url",v.GetData(h[0],"ajaxUrl")));var y={};function upperCaseLetter(h,g){return g.toUpperCase()}for(var b=0;b<h[0].attributes.length;b++){var w=h[0].attributes[b].name,C="data-";if(w.substr(0,C.length)==C){var T=w.substring(C.length),A=v.GetData(h[0],T);y[T.replace(/-([a-z])/g,upperCaseLetter)]=A}}$.fn.jquery&&"1."==$.fn.jquery.substr(0,2)&&h[0].dataset&&(y=$.extend(!0,{},h[0].dataset,y));var k=$.extend(!0,{},v.GetData(h[0]),y);for(var D in k=v._convertData(k))$.inArray(D,g)>-1||($.isPlainObject(this.options[D])?$.extend(this.options[D],k[D]):this.options[D]=k[D]);return this},Options.prototype.get=function(h){return this.options[h]},Options.prototype.set=function(h,g){this.options[h]=g},Options})),h.define("select2/core",["jquery","./options","./utils","./keys"],(function($,h,g,v){var y=function Select2(v,y){null!=g.GetData(v[0],"select2")&&g.GetData(v[0],"select2").destroy(),this.$element=v,this.id=this._generateId(v),y=y||{},this.options=new h(y,v),Select2.__super__.constructor.call(this);var b=v.attr("tabindex")||0;g.StoreData(v[0],"old-tabindex",b),v.attr("tabindex","-1");var w=this.options.get("dataAdapter");this.dataAdapter=new w(v,this.options);var C=this.render();this._placeContainer(C);var T=this.options.get("selectionAdapter");this.selection=new T(v,this.options),this.$selection=this.selection.render(),this.selection.position(this.$selection,C);var A=this.options.get("dropdownAdapter");this.dropdown=new A(v,this.options),this.$dropdown=this.dropdown.render(),this.dropdown.position(this.$dropdown,C);var k=this.options.get("resultsAdapter");this.results=new k(v,this.options,this.dataAdapter),this.$results=this.results.render(),this.results.position(this.$results,this.$dropdown);var D=this;this._bindAdapters(),this._registerDomEvents(),this._registerDataEvents(),this._registerSelectionEvents(),this._registerDropdownEvents(),this._registerResultsEvents(),this._registerEvents(),this.dataAdapter.current((function(h){D.trigger("selection:update",{data:h})})),v.addClass("select2-hidden-accessible"),v.attr("aria-hidden","true"),this._syncAttributes(),g.StoreData(v[0],"select2",this),v.data("select2",this)};return g.Extend(y,g.Observable),y.prototype._generateId=function(h){return"select2-"+(null!=h.attr("id")?h.attr("id"):null!=h.attr("name")?h.attr("name")+"-"+g.generateChars(2):g.generateChars(4)).replace(/(:|\.|\[|\]|,)/g,"")},y.prototype._placeContainer=function(h){h.insertAfter(this.$element);var g=this._resolveWidth(this.$element,this.options.get("width"));null!=g&&h.css("width",g)},y.prototype._resolveWidth=function(h,g){var v=/^width:(([-+]?([0-9]*\.)?[0-9]+)(px|em|ex|%|in|cm|mm|pt|pc))/i;if("resolve"==g){var y=this._resolveWidth(h,"style");return null!=y?y:this._resolveWidth(h,"element")}if("element"==g){var b=h.outerWidth(!1);return b<=0?"auto":b+"px"}if("style"==g){var w=h.attr("style");if("string"!==typeof w)return null;for(var C=w.split(";"),T=0,A=C.length;T<A;T+=1){var k=C[T].replace(/\s/g,"").match(v);if(null!==k&&k.length>=1)return k[1]}return null}return"computedstyle"==g?window.getComputedStyle(h[0]).width:g},y.prototype._bindAdapters=function(){this.dataAdapter.bind(this,this.$container),this.selection.bind(this,this.$container),this.dropdown.bind(this,this.$container),this.results.bind(this,this.$container)},y.prototype._registerDomEvents=function(){var h=this;this.$element.on("change.select2",(function(){h.dataAdapter.current((function(g){h.trigger("selection:update",{data:g})}))})),this.$element.on("focus.select2",(function(g){h.trigger("focus",g)})),this._syncA=g.bind(this._syncAttributes,this),this._syncS=g.bind(this._syncSubtree,this),this.$element[0].attachEvent&&this.$element[0].attachEvent("onpropertychange",this._syncA);var v=window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver;null!=v?(this._observer=new v((function(g){h._syncA(),h._syncS(null,g)})),this._observer.observe(this.$element[0],{attributes:!0,childList:!0,subtree:!1})):this.$element[0].addEventListener&&(this.$element[0].addEventListener("DOMAttrModified",h._syncA,!1),this.$element[0].addEventListener("DOMNodeInserted",h._syncS,!1),this.$element[0].addEventListener("DOMNodeRemoved",h._syncS,!1))},y.prototype._registerDataEvents=function(){var h=this;this.dataAdapter.on("*",(function(g,v){h.trigger(g,v)}))},y.prototype._registerSelectionEvents=function(){var h=this,g=["toggle","focus"];this.selection.on("toggle",(function(){h.toggleDropdown()})),this.selection.on("focus",(function(g){h.focus(g)})),this.selection.on("*",(function(v,y){-1===$.inArray(v,g)&&h.trigger(v,y)}))},y.prototype._registerDropdownEvents=function(){var h=this;this.dropdown.on("*",(function(g,v){h.trigger(g,v)}))},y.prototype._registerResultsEvents=function(){var h=this;this.results.on("*",(function(g,v){h.trigger(g,v)}))},y.prototype._registerEvents=function(){var h=this;this.on("open",(function(){h.$container.addClass("select2-container--open")})),this.on("close",(function(){h.$container.removeClass("select2-container--open")})),this.on("enable",(function(){h.$container.removeClass("select2-container--disabled")})),this.on("disable",(function(){h.$container.addClass("select2-container--disabled")})),this.on("blur",(function(){h.$container.removeClass("select2-container--focus")})),this.on("query",(function(g){h.isOpen()||h.trigger("open",{}),this.dataAdapter.query(g,(function(v){h.trigger("results:all",{data:v,query:g})}))})),this.on("query:append",(function(g){this.dataAdapter.query(g,(function(v){h.trigger("results:append",{data:v,query:g})}))})),this.on("keypress",(function(g){var y=g.which;h.isOpen()?y===v.ESC||y===v.TAB||y===v.UP&&g.altKey?(h.close(g),g.preventDefault()):y===v.ENTER?(h.trigger("results:select",{}),g.preventDefault()):y===v.SPACE&&g.ctrlKey?(h.trigger("results:toggle",{}),g.preventDefault()):y===v.UP?(h.trigger("results:previous",{}),g.preventDefault()):y===v.DOWN&&(h.trigger("results:next",{}),g.preventDefault()):(y===v.ENTER||y===v.SPACE||y===v.DOWN&&g.altKey)&&(h.open(),g.preventDefault())}))},y.prototype._syncAttributes=function(){this.options.set("disabled",this.$element.prop("disabled")),this.isDisabled()?(this.isOpen()&&this.close(),this.trigger("disable",{})):this.trigger("enable",{})},y.prototype._isChangeMutation=function(h,g){var v=!1,y=this;if(!h||!h.target||"OPTION"===h.target.nodeName||"OPTGROUP"===h.target.nodeName){if(g)if(g.addedNodes&&g.addedNodes.length>0)for(var b=0;b<g.addedNodes.length;b++)g.addedNodes[b].selected&&(v=!0);else g.removedNodes&&g.removedNodes.length>0?v=!0:$.isArray(g)&&$.each(g,(function(h,g){if(y._isChangeMutation(h,g))return v=!0,!1}));else v=!0;return v}},y.prototype._syncSubtree=function(h,g){var v=this._isChangeMutation(h,g),y=this;v&&this.dataAdapter.current((function(h){y.trigger("selection:update",{data:h})}))},y.prototype.trigger=function(h,g){var v=y.__super__.trigger,b={open:"opening",close:"closing",select:"selecting",unselect:"unselecting",clear:"clearing"};if(void 0===g&&(g={}),h in b){var w=b[h],C={prevented:!1,name:h,args:g};if(v.call(this,w,C),C.prevented)return void(g.prevented=!0)}v.call(this,h,g)},y.prototype.toggleDropdown=function(){this.isDisabled()||(this.isOpen()?this.close():this.open())},y.prototype.open=function(){this.isOpen()||this.isDisabled()||this.trigger("query",{})},y.prototype.close=function(h){this.isOpen()&&this.trigger("close",{originalEvent:h})},y.prototype.isEnabled=function(){return!this.isDisabled()},y.prototype.isDisabled=function(){return this.options.get("disabled")},y.prototype.isOpen=function(){return this.$container.hasClass("select2-container--open")},y.prototype.hasFocus=function(){return this.$container.hasClass("select2-container--focus")},y.prototype.focus=function(h){this.hasFocus()||(this.$container.addClass("select2-container--focus"),this.trigger("focus",{}))},y.prototype.enable=function(h){this.options.get("debug")&&window.console&&console.warn&&console.warn('Select2: The `select2("enable")` method has been deprecated and will be removed in later Select2 versions. Use $element.prop("disabled") instead.'),null!=h&&0!==h.length||(h=[!0]);var g=!h[0];this.$element.prop("disabled",g)},y.prototype.data=function(){this.options.get("debug")&&arguments.length>0&&window.console&&console.warn&&console.warn('Select2: Data can no longer be set using `select2("data")`. You should consider setting the value instead using `$element.val()`.');var h=[];return this.dataAdapter.current((function(g){h=g})),h},y.prototype.val=function(h){if(this.options.get("debug")&&window.console&&console.warn&&console.warn('Select2: The `select2("val")` method has been deprecated and will be removed in later Select2 versions. Use $element.val() instead.'),null==h||0===h.length)return this.$element.val();var g=h[0];$.isArray(g)&&(g=$.map(g,(function(h){return h.toString()}))),this.$element.val(g).trigger("input").trigger("change")},y.prototype.destroy=function(){this.$container.remove(),this.$element[0].detachEvent&&this.$element[0].detachEvent("onpropertychange",this._syncA),null!=this._observer?(this._observer.disconnect(),this._observer=null):this.$element[0].removeEventListener&&(this.$element[0].removeEventListener("DOMAttrModified",this._syncA,!1),this.$element[0].removeEventListener("DOMNodeInserted",this._syncS,!1),this.$element[0].removeEventListener("DOMNodeRemoved",this._syncS,!1)),this._syncA=null,this._syncS=null,this.$element.off(".select2"),this.$element.attr("tabindex",g.GetData(this.$element[0],"old-tabindex")),this.$element.removeClass("select2-hidden-accessible"),this.$element.attr("aria-hidden","false"),g.RemoveData(this.$element[0]),this.$element.removeData("select2"),this.dataAdapter.destroy(),this.selection.destroy(),this.dropdown.destroy(),this.results.destroy(),this.dataAdapter=null,this.selection=null,this.dropdown=null,this.results=null},y.prototype.render=function(){var h=$('<span class="select2 select2-container"><span class="selection"></span><span class="dropdown-wrapper" aria-hidden="true"></span></span>');return h.attr("dir",this.options.get("dir")),this.$container=h,this.$container.addClass("select2-container--"+this.options.get("theme")),g.StoreData(h[0],"element",this.$element),h},y})),h.define("jquery-mousewheel",["jquery"],(function($){return $})),h.define("jquery.select2",["jquery","jquery-mousewheel","./select2/core","./select2/defaults","./select2/utils"],(function($,h,g,v,y){if(null==$.fn.select2){var b=["open","close","destroy"];$.fn.select2=function(h){if("object"===_typeof(h=h||{}))return this.each((function(){var v=$.extend(!0,{},h);new g($(this),v)})),this;if("string"===typeof h){var v,w=Array.prototype.slice.call(arguments,1);return this.each((function(){var g=y.GetData(this,"select2");null==g&&window.console&&console.error&&console.error("The select2('"+h+"') method was called on an element that is not using Select2."),v=g[h].apply(g,w)})),$.inArray(h,b)>-1?this:v}throw new Error("Invalid arguments for Select2: "+h)}}return null==$.fn.select2.defaults&&($.fn.select2.defaults=v),g})),{define:h.define,require:h.require}}(),g=h.require("jquery.select2");return jQuery.fn.select2.amd=h,g})?y.apply(g,b):y)||(h.exports=w)},508:function(h,g,v){var y,b;window.Element&&!Element.prototype.closest&&(Element.prototype.closest=function(h){var g,v=(this.document||this.ownerDocument).querySelectorAll(h),y=this;do{for(g=v.length;0<=--g&&v.item(g)!==y;);}while(g<0&&(y=y.parentElement));return y}),function(){function e(h,g){g=g||{bubbles:!1,cancelable:!1,detail:void 0};var v=document.createEvent("CustomEvent");return v.initCustomEvent(h,g.bubbles,g.cancelable,g.detail),v}"function"!=typeof window.CustomEvent&&(e.prototype=window.Event.prototype,window.CustomEvent=e)}(),function(){for(var h=0,g=["ms","moz","webkit","o"],v=0;v<g.length&&!window.requestAnimationFrame;++v)window.requestAnimationFrame=window[g[v]+"RequestAnimationFrame"],window.cancelAnimationFrame=window[g[v]+"CancelAnimationFrame"]||window[g[v]+"CancelRequestAnimationFrame"];window.requestAnimationFrame||(window.requestAnimationFrame=function(g,v){var y=(new Date).getTime(),b=Math.max(0,16-(y-h)),w=window.setTimeout((function(){g(y+b)}),b);return h=y+b,w}),window.cancelAnimationFrame||(window.cancelAnimationFrame=function(h){clearTimeout(h)})}(),b="undefined"!=typeof v.g?v.g:"undefined"!=typeof window?window:this,void 0===(y=function(){return function(h){"use strict";var g={ignore:"[data-scroll-ignore]",header:null,topOnEmptyHash:!0,speed:500,speedAsDuration:!1,durationMax:null,durationMin:null,clip:!0,offset:0,easing:"easeInOutCubic",customEasing:null,updateURL:!0,popstate:!0,emitEvents:!0},v=function I(){var h={};return Array.prototype.forEach.call(arguments,(function(g){for(var v in g){if(!g.hasOwnProperty(v))return;h[v]=g[v]}})),h},y=function r(h){"#"===h.charAt(0)&&(h=h.substr(1));for(var g,v=String(h),y=v.length,b=-1,r="",w=v.charCodeAt(0);++b<y;){if(0===(g=v.charCodeAt(b)))throw new InvalidCharacterError("Invalid character: the input contains U+0000.");r+=1<=g&&g<=31||127==g||0===b&&48<=g&&g<=57||1===b&&48<=g&&g<=57&&45===w?"\\"+g.toString(16)+" ":128<=g||45===g||95===g||48<=g&&g<=57||65<=g&&g<=90||97<=g&&g<=122?v.charAt(b):"\\"+v.charAt(b)}return"#"+r},b=function F(){return Math.max(document.body.scrollHeight,document.documentElement.scrollHeight,document.body.offsetHeight,document.documentElement.offsetHeight,document.body.clientHeight,document.documentElement.clientHeight)},w=function L(g){return g?(v=g,parseInt(h.getComputedStyle(v).height,10)+g.offsetTop):0;var v},C=function x(g,v,y){0===g&&document.body.focus(),y||(g.focus(),document.activeElement!==g&&(g.setAttribute("tabindex","-1"),g.focus(),g.style.outline="none"),h.scrollTo(0,v))},T=function H(g,v,y,b){if(v.emitEvents&&"function"==typeof h.CustomEvent){var w=new CustomEvent(g,{bubbles:!0,detail:{anchor:y,toggle:b}});document.dispatchEvent(w)}};return function(A,k){var D,P,R,N,U={cancelScroll:function(h){cancelAnimationFrame(N),N=null,h||T("scrollCancel",D)},animateScroll:function(y,A,k){U.cancelScroll();var P=v(D||g,k||{}),q="[object Number]"===Object.prototype.toString.call(y),z=q||!y.tagName?null:y;if(q||z){var B=h.pageYOffset;P.header&&!R&&(R=document.querySelector(P.header));var W,Y,Q,V,G,X,K,J,Z=w(R),ee=q?y:function(g,v,y,w){var C=0;if(g.offsetParent)for(;C+=g.offsetTop,g=g.offsetParent;);return C=Math.max(C-v-y,0),w&&(C=Math.min(C,b()-h.innerHeight)),C}(z,Z,parseInt("function"==typeof P.offset?P.offset(y,A):P.offset,10),P.clip),te=ee-B,ne=b(),oe=0,ie=(W=te,Q=(Y=P).speedAsDuration?Y.speed:Math.abs(W/1e3*Y.speed),Y.durationMax&&Q>Y.durationMax?Y.durationMax:Y.durationMin&&Q<Y.durationMin?Y.durationMin:parseInt(Q,10)),re=function E(g){var v,b,w;V||(V=g),oe+=g-V,X=B+te*(b=G=1<(G=0===ie?0:oe/ie)?1:G,"easeInQuad"===(v=P).easing&&(w=b*b),"easeOutQuad"===v.easing&&(w=b*(2-b)),"easeInOutQuad"===v.easing&&(w=b<.5?2*b*b:(4-2*b)*b-1),"easeInCubic"===v.easing&&(w=b*b*b),"easeOutCubic"===v.easing&&(w=--b*b*b+1),"easeInOutCubic"===v.easing&&(w=b<.5?4*b*b*b:(b-1)*(2*b-2)*(2*b-2)+1),"easeInQuart"===v.easing&&(w=b*b*b*b),"easeOutQuart"===v.easing&&(w=1- --b*b*b*b),"easeInOutQuart"===v.easing&&(w=b<.5?8*b*b*b*b:1-8*--b*b*b*b),"easeInQuint"===v.easing&&(w=b*b*b*b*b),"easeOutQuint"===v.easing&&(w=1+--b*b*b*b*b),"easeInOutQuint"===v.easing&&(w=b<.5?16*b*b*b*b*b:1+16*--b*b*b*b*b),v.customEasing&&(w=v.customEasing(b)),w||b),h.scrollTo(0,Math.floor(X)),function(g,v){var b=h.pageYOffset;if(g==v||b==v||(B<v&&h.innerHeight+b)>=ne)return U.cancelScroll(!0),C(y,v,q),T("scrollStop",P,y,A),!(N=V=null)}(X,ee)||(N=h.requestAnimationFrame(E),V=g)};0===h.pageYOffset&&h.scrollTo(0,0),K=y,J=P,q||history.pushState&&J.updateURL&&history.pushState({smoothScroll:JSON.stringify(J),anchor:K.id},document.title,K===document.documentElement?"#top":"#"+K.id),"matchMedia"in h&&h.matchMedia("(prefers-reduced-motion)").matches?C(y,Math.floor(ee),!1):(T("scrollStart",P,y,A),U.cancelScroll(!0),h.requestAnimationFrame(re))}}},q=function t(g){if(!g.defaultPrevented&&!(0!==g.button||g.metaKey||g.ctrlKey||g.shiftKey)&&"closest"in g.target&&(P=g.target.closest(A))&&"a"===P.tagName.toLowerCase()&&!g.target.closest(D.ignore)&&P.hostname===h.location.hostname&&P.pathname===h.location.pathname&&/#/.test(P.href)){var t,v;try{t=y(decodeURIComponent(P.hash))}catch(g){t=y(P.hash)}if("#"===t){if(!D.topOnEmptyHash)return;v=document.documentElement}else v=document.querySelector(t);(v=v||"#top"!==t?v:document.documentElement)&&(g.preventDefault(),function(g){if(history.replaceState&&g.updateURL&&!history.state){var v=h.location.hash;v=v||"",history.replaceState({smoothScroll:JSON.stringify(g),anchor:v||h.pageYOffset},document.title,v||h.location.href)}}(D),U.animateScroll(v,P))}},z=function n(h){if(null!==history.state&&history.state.smoothScroll&&history.state.smoothScroll===JSON.stringify(D)){var g=history.state.anchor;"string"==typeof g&&g&&!(g=document.querySelector(y(history.state.anchor)))||U.animateScroll(g,null,{updateURL:!1})}};return U.destroy=function(){D&&(document.removeEventListener("click",q,!1),h.removeEventListener("popstate",z,!1),U.cancelScroll(),N=R=P=D=null)},function(){if(!("querySelector"in document&&"addEventListener"in h&&"requestAnimationFrame"in h&&"closest"in h.Element.prototype))throw"Smooth Scroll: This browser does not support the required JavaScript methods and browser APIs.";U.destroy(),D=v(g,k||{}),R=D.header?document.querySelector(D.header):null,document.addEventListener("click",q,!1),D.updateURL&&D.popstate&&h.addEventListener("popstate",z,!1)}(),U}}(b)}.apply(g,[]))||(h.exports=y)},682:function(h,g,v){"use strict";v.r(g),g.default="../fonts/photo3.svg"},817:function(h){h.exports="../img/bg.png"},327:function(h){h.exports="../img/original.png"},450:function(h){h.exports="../img/original2.png"},634:function(h){h.exports="../img/photo1.png"},63:function(h){h.exports="../img/photo2.jpg"},761:function(h){function webpackEmptyContext(h){var g=new Error("Cannot find module '"+h+"'");throw g.code="MODULE_NOT_FOUND",g}webpackEmptyContext.keys=function(){return[]},webpackEmptyContext.resolve=webpackEmptyContext,webpackEmptyContext.id=761,h.exports=webpackEmptyContext},609:function(h){"use strict";h.exports=jQuery}},g={};function __webpack_require__(v){if(g[v])return g[v].exports;var y=g[v]={id:v,loaded:!1,exports:{}};return h[v].call(y.exports,y,y.exports,__webpack_require__),y.loaded=!0,y.exports}__webpack_require__.n=function(h){var g=h&&h.__esModule?function(){return h.default}:function(){return h};return __webpack_require__.d(g,{a:g}),g},__webpack_require__.d=function(h,g){for(var v in g)__webpack_require__.o(g,v)&&!__webpack_require__.o(h,v)&&Object.defineProperty(h,v,{enumerable:!0,get:g[v]})},__webpack_require__.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(h){if("object"===typeof window)return window}}(),__webpack_require__.o=function(h,g){return Object.prototype.hasOwnProperty.call(h,g)},__webpack_require__.r=function(h){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(h,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(h,"__esModule",{value:!0})},__webpack_require__.nmd=function(h){return h.paths=[],h.children||(h.children=[]),h},function(){"use strict";__webpack_require__(803),__webpack_require__(807),__webpack_require__(173),__webpack_require__(146),__webpack_require__(171);var $,h,g,v,y=__webpack_require__(609),b=__webpack_require__.n(y),w={AJAX:"ajax-load",AJAXMAIN:"ajax-main-load",MAININIT:"main-init",TABHIDDEN:"tab-hidden",TABFOCUSED:"tab-focused",OFFLINE:"offline",ONLINE:"online",BACKONLINE:"back-online",TOUCHENABLE:"touch-enabled",TOUCHDISABLED:"touch-disabled",LOADED:"load",SWIPELEFT:"swipeleft panleft",SWIPERIGHT:"swiperight panright",ALLERTAPPEARED:"alert-appeared",ALERTREMOVED:"alert-removed",LODEDANDREADY:"load-ready",LAZYIMAGEREADY:"image-lazy-bg-loaded",LAZYIMAGESREADY:"images-lazy-loaded",MAPLOADED:"map-loaded",MAPAPILOADED:"map-api-loaded",MAPMARKERCLICK:"map-marker-click",MAPPOPUPCLOSE:"map-popup-close",SCROLL:"scroll",RESIZE:"resize",CAROUSEL_READY:"bs.carousel.ready",SET_TARGET_UPDATE:"set-target-update",RESTORE_FIELD:"restore-field",FORM_INIT_BASICS:"form-basics",FORM_INIT_STEPPED:"form-init-stepped",FORM_INIT_VALIDATE:"form-init-validate",FORM_INIT_VALIDATE_FIELD:"form-init-validate-field",FORM_INIT_STORAGE:"form-init-storage",FORM_VALIDATION_FAILED:"form-validation-failed",FORM_STEPPED_NEW_STEP:"form-new-step",FORM_STEPPED_FIRST_STEP:"form-first-step",FORM_STEPPED_LAST_STEP:"form-last-step",FORM_FIELDS:"input,textarea,select"},C=($=b(),h=window,g=document,v="ShrinkUI",console.log("".concat(v,": init")),$(h).on("".concat(v,".init ").concat(w.LOADED," ").concat(w.SCROLL," ").concat(w.RESIZE),(function(){if(!$("#Navigation > .navbar-collapse").hasClass("show")){var h=$("#SiteWideMessage").height();h||(h=0);var v=$("#SiteWideOffline").height();v||(v=0);var y=$("#Header").height();y||(y=0);var b=h+v+y;$(g).scrollTop()>b?$("body").addClass("shrink"):$("body").removeClass("shrink")}})),C);__webpack_require__(376);function _typeof(h){return(_typeof="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function _typeof(h){return typeof h}:function _typeof(h){return h&&"function"===typeof Symbol&&h.constructor===Symbol&&h!==Symbol.prototype?"symbol":typeof h})(h)}function _defineProperties(h,g){for(var v=0;v<g.length;v++){var y=g[v];y.enumerable=y.enumerable||!1,y.configurable=!0,"value"in y&&(y.writable=!0),Object.defineProperty(h,y.key,y)}}function _setPrototypeOf(h,g){return(_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(h,g){return h.__proto__=g,h})(h,g)}function _createSuper(h){var g=function _isNativeReflectConstruct(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(h){return!1}}();return function _createSuperInternal(){var v,y=_getPrototypeOf(h);if(g){var b=_getPrototypeOf(this).constructor;v=Reflect.construct(y,arguments,b)}else v=y.apply(this,arguments);return _possibleConstructorReturn(this,v)}}function _possibleConstructorReturn(h,g){return!g||"object"!==_typeof(g)&&"function"!==typeof g?_assertThisInitialized(h):g}function _assertThisInitialized(h){if(void 0===h)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return h}function _getPrototypeOf(h){return(_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(h){return h.__proto__||Object.getPrototypeOf(h)})(h)}var T={init:function init(){return function(h){!function _inherits(h,g){if("function"!==typeof g&&null!==g)throw new TypeError("Super expression must either be null or a function");h.prototype=Object.create(g&&g.prototype,{constructor:{value:h,writable:!0,configurable:!0}}),g&&_setPrototypeOf(h,g)}(GoogleMapsHtmlOverlay,google.maps.OverlayView);var g=_createSuper(GoogleMapsHtmlOverlay);function GoogleMapsHtmlOverlay(h){var v;!function _classCallCheck(h,g){if(!(h instanceof g))throw new TypeError("Cannot call a class as a function")}(this,GoogleMapsHtmlOverlay);var y=_assertThisInitialized(v=g.call(this));return y.setMap(h.map),y.position=h.position,y.html=h.html?h.html:'<div class="mapboxgl-marker"><i class="marker-icon fas fa-map-marker-alt"></i></div>',y.divClass=h.divClass,y.align=h.align,y.isDebugMode=h.debug,y.onClick=h.onClick,y.onMouseOver=h.onMouseOver,y.isBoolean=function(h){return"boolean"===typeof h},y.isNotUndefined=function(h){return"undefined"!==typeof h},y.hasContent=function(h){return h.length>0},y.isString=function(h){return"string"===typeof h},y.isFunction=function(h){return"function"===typeof h},v}return function _createClass(h,g,v){return g&&_defineProperties(h.prototype,g),v&&_defineProperties(h,v),h}(GoogleMapsHtmlOverlay,[{key:"onAdd",value:function onAdd(){var h=this;h.div=document.createElement("div"),h.div.style.position="absolute",h.isNotUndefined(h.divClass)&&h.hasContent(h.divClass)&&(h.div.className=h.divClass),h.isNotUndefined(h.html)&&h.hasContent(h.html)&&h.isString(h.html)&&(h.div.innerHTML=h.html),h.isBoolean(h.isDebugMode)&&h.isDebugMode&&(h.div.className="debug-mode",h.div.innerHTML='<div style="height: 10px; width: 10px; background: red; border-radius: 100%;"></div><div style="position: absolute; top: 5px; padding: 5px; width: 130px; text-align: center; font-size: 18px; text-transform: uppercase; font-weight: bolder; background: red; color: white; font-family: Arial;">Debug mode</div>',h.div.setAttribute("style","position: absolute;border: 5px dashed red;height: 150px;width: 150px;display: flex;justify-content: center;align-items: center;")),h.getPanes().overlayMouseTarget.appendChild(h.div),google.maps.event.addDomListener(h.div,"click",(function(g){google.maps.event.trigger(h,"click"),h.isFunction(h.onClick)&&h.onClick(),g.stopPropagation()})),google.maps.event.addDomListener(h.div,"mouseover",(function(g){google.maps.event.trigger(h,"mouseover"),h.isFunction(h.onMouseOver)&&h.onMouseOver(),g.stopPropagation()}))}},{key:"draw",value:function draw(){var h=this,g=b()(h.div).find(".mapboxgl-marker,.marker-pin,.mapboxgl-popup,.popup");g.length||(g=b()(h.div));var v=h.getProjection().fromLatLngToDivPixel(new google.maps.LatLng(h.position)),y={y:void 0,x:void 0},w=g.outerWidth(),C=g.outerHeight();switch(Array.isArray(h.align)?h.align.join(" "):""){case"left top":y.y=C,y.x=w;break;case"left center":y.y=C/2,y.x=w;break;case"left bottom":y.y=0,y.x=w;break;case"center top":y.y=C,y.x=w/2;break;case"center center":y.y=C/2,y.x=w/2;break;case"center bottom":y.y=0,y.x=w/2;break;case"right top":y.y=C,y.x=0;break;case"right center":y.y=C/2,y.x=0;break;case"right bottom":y.y=0,y.x=0;break;default:y.y=C/2,y.x=w/2}h.div.style.top="".concat(v.y-y.y,"px"),h.div.style.left="".concat(v.x-y.x,"px")}},{key:"getPosition",value:function getPosition(){return this.position}},{key:"getDiv",value:function getDiv(){return this.div}},{key:"setPosition",value:function setPosition(h,g){var v=this;v.position=h,v.align=g,v.draw()}}]),GoogleMapsHtmlOverlay}()}};function _map_google_defineProperties(h,g){for(var v=0;v<g.length;v++){var y=g[v];y.enumerable=y.enumerable||!1,y.configurable=!0,"value"in y&&(y.writable=!0),Object.defineProperty(h,y.key,y)}}var A={ENVS:["xs","sm","md","lg","xl","xxl","xxxl"],MAP_DRIVER:function($){return function(){function GoogleMapsDriver(){!function _map_google_classCallCheck(h,g){if(!(h instanceof g))throw new TypeError("Cannot call a class as a function")}(this,GoogleMapsDriver)}return function _map_google_createClass(h,g,v){return g&&_map_google_defineProperties(h.prototype,g),v&&_map_google_defineProperties(h,v),h}(GoogleMapsDriver,[{key:"getName",value:function getName(){return"GoogleMapsDriver"}},{key:"init",value:function init(h){var g=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],v=this,y=window;v.$el=h,v.config=g,v.markers=[],y["init".concat(v.getName())]=function(){v.googleApiLoaded()},$("body").append('<script async defer src="https://maps.googleapis.com/maps/api/js?key='.concat(g.key,"&callback=init").concat(v.getName(),'"><\/script>'))}},{key:"googleApiLoaded",value:function googleApiLoaded(){var h=this,g=h.$el,v=h.config,y=g.find(".mapAPI-map"),b=v.mapZoom?v.mapZoom:10,C=v.center?{lat:v.center[1],lng:v.center[0]}:{lat:0,lng:0},A=v.style?v.style:null;console.log("".concat(h.getName(),": API is loaded")),h.MarkerUI=T.init($),h.map=new google.maps.Map(y[0],{zoom:b,center:C,fullscreenControl:!0,styles:A}),h.default_zoom=b,y.addClass("mapboxgl-map"),h.popup=new h.MarkerUI({map:h.map,align:["center","top"],divClass:"mapboxgl-popup popup mapboxgl-popup-anchor-bottom d-none",html:'<div class="mapboxgl-popup-tip"></div><div class="mapboxgl-popup-content"><div class="mapboxgl-popup-close-button" type="button" aria-label="Close popup">\xd7</div><div class="html"></div></div>'}),h.geocoder=new google.maps.Geocoder,g.trigger(w.MAPAPILOADED)}},{key:"addMarker",value:function addMarker(h,g){var v=this,y={lat:h[1],lng:h[0]},b=new v.MarkerUI({position:y,map:v.map,align:["center","top"],html:'<div class="mapboxgl-marker"><div id="Marker'.concat(g.id,'" data-id="').concat(g.id,'" class="marker">').concat(g.icon,"</div></div>"),onClick:function onClick(){var h=$("#Marker".concat(g.id));v.showPopup(y,g.content),h.trigger(w.MAPMARKERCLICK)}});return v.markers.push(b),b}},{key:"showPopup",value:function showPopup(h,g){var v=this,y=$(v.popup.getDiv());v.config.flyToMarker&&(v.map.setCenter(h),v.config.noZoom||v.map.setZoom(18)),y.css({opacity:"0"}),y.removeClass("d-none"),y.find(".mapboxgl-popup-content .html").html(g),y.find(".mapboxgl-popup-close-button").on("click",(function(h){h.preventDefault(),v.hidePopup()})),v.popup.setPosition(h,["center","top"]),y.css({"margin-top":"-1rem",opacity:"1"})}},{key:"hidePopup",value:function hidePopup(){var h=this;$(h.popup.getDiv()).addClass("d-none"),h.config.noRestoreBounds&&!h.config.flyToBounds||h.restoreBounds(),h.$el.trigger(w.MAPPOPUPCLOSE)}},{key:"geocode",value:function geocode(h,g){var v=this;v.geocoder.geocode({address:h},(function(h,y){if("OK"===y)return"function"===typeof g&&g(h),h;console.error("".concat(v.getName(),": Geocode was not successful for the following reason: ").concat(y))}))}},{key:"reverseGeocode",value:function reverseGeocode(h,g){var v=this;v.geocoder.geocode({location:latlng},(function(h,y){if("OK"===y)return"function"===typeof g&&g(h),h;console.error("".concat(v.getName(),": Reverse Geocoding was not successful for the following reason: ").concat(y))}))}},{key:"addGeoJson",value:function addGeoJson(h){var g=this,v=(h.geojson.features[0].geometry.coordinates,new google.maps.LatLngBounds);h.geojson.features.forEach((function(y){var b=y.id,w=y.geometry.coordinates,C=y.properties.content;g.addMarker(w,{id:b,content:C,icon:y.icon,flyToMarker:h.flyToMarker}),v.extend({lat:w[1],lng:w[0]})})),g.markers.length>1?g.map.fitBounds(v,{padding:30}):g.markers[0]&&g.map.setCenter(g.markers[0].getPosition()),g.default_bounds=v,g.default_zoom=g.map.getZoom()}},{key:"getMap",value:function getMap(){return this.map}},{key:"getPopup",value:function getPopup(){return this.popup}},{key:"restoreBounds",value:function restoreBounds(){var h=this;h.default_bounds&&h.markers.length>1?h.map.fitBounds(h.default_bounds,{padding:30}):(h.markers[0]&&h.map.setCenter(h.markers[0].getPosition()),h.restoreZoom())}},{key:"restoreZoom",value:function restoreZoom(){this.map.setZoom(this.default_zoom)}}]),GoogleMapsDriver}()}(b())};function _toConsumableArray(h){return function _arrayWithoutHoles(h){if(Array.isArray(h))return _arrayLikeToArray(h)}(h)||function _iterableToArray(h){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(h))return Array.from(h)}(h)||function _unsupportedIterableToArray(h,g){if(!h)return;if("string"===typeof h)return _arrayLikeToArray(h,g);var v=Object.prototype.toString.call(h).slice(8,-1);"Object"===v&&h.constructor&&(v=h.constructor.name);if("Map"===v||"Set"===v)return Array.from(h);if("Arguments"===v||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(v))return _arrayLikeToArray(h,g)}(h)||function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _arrayLikeToArray(h,g){(null==g||g>h.length)&&(g=h.length);for(var v=0,y=new Array(g);v<g;v++)y[v]=h[v];return y}function _events_router_typeof(h){return(_events_router_typeof="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function _typeof(h){return typeof h}:function _typeof(h){return h&&"function"===typeof Symbol&&h.constructor===Symbol&&h!==Symbol.prototype?"symbol":typeof h})(h)}function _events_router_defineProperties(h,g){for(var v=0;v<g.length;v++){var y=g[v];y.enumerable=y.enumerable||!1,y.configurable=!0,"value"in y&&(y.writable=!0),Object.defineProperty(h,y.key,y)}}!function($){var h=$.fn.on,g=$.fn.off,v=window,y=$(v),b=(document,$("body"),function(){function EventsUI(){!function _events_router_classCallCheck(h,g){if(!(h instanceof g))throw new TypeError("Cannot call a class as a function")}(this,EventsUI)}return function _events_router_createClass(h,g,v){return g&&_events_router_defineProperties(h.prototype,g),v&&_events_router_defineProperties(h,v),h}(EventsUI,null,[{key:"process",value:function process(h,g){var v=h;g[0];switch(void 0!==_events_router_typeof(h)?$(h).prop("tagName"):null){case"HTML":case"BODY":v=y}return[v,g]}}]),EventsUI}());$.fn.on=function(){var g=b.process(this,arguments);return h.apply.apply(h,_toConsumableArray(g))},$.fn.off=function(){var h=b.process(this,arguments);return g.apply.apply(g,_toConsumableArray(h))};var w=$.fn.scrollTop;$.fn.scrollTop=function(){var h=this,g=arguments,v=void 0!==_events_router_typeof(h)?$(h).prop("tagName"):null;switch(v){case"HTML":case"BODY":h=y}return w.apply(h,g)}}(b());function _ui_spinner_defineProperties(h,g){for(var v=0;v<g.length;v++){var y=g[v];y.enumerable=y.enumerable||!1,y.configurable=!0,"value"in y&&(y.writable=!0),Object.defineProperty(h,y.key,y)}}var k=function($){return function(){function SpinnerUI(){!function _ui_spinner_classCallCheck(h,g){if(!(h instanceof g))throw new TypeError("Cannot call a class as a function")}(this,SpinnerUI)}return function _ui_spinner_createClass(h,g,v){return g&&_ui_spinner_defineProperties(h.prototype,g),v&&_ui_spinner_defineProperties(h,v),h}(SpinnerUI,null,[{key:"show",value:function show(h){$("#PageLoading").show(0,h)}},{key:"hide",value:function hide(h){$("#PageLoading").hide("slow",h)}}]),SpinnerUI}()}(b());function _ui_ajax_typeof(h){return(_ui_ajax_typeof="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function _typeof(h){return typeof h}:function _typeof(h){return h&&"function"===typeof Symbol&&h.constructor===Symbol&&h!==Symbol.prototype?"symbol":typeof h})(h)}function _ui_ajax_defineProperties(h,g){for(var v=0;v<g.length;v++){var y=g[v];y.enumerable=y.enumerable||!1,y.configurable=!0,"value"in y&&(y.writable=!0),Object.defineProperty(h,y.key,y)}}var D=function($){var h=window,g=document,v=$("html"),y=$("body"),b="jsAjaxUI",C=b,T=function(){function AjaxUI(h){!function _ui_ajax_classCallCheck(h,g){if(!(h instanceof g))throw new TypeError("Cannot call a class as a function")}(this,AjaxUI),this._element=h;var g=$(this._element);g.addClass("".concat(b,"-active")),g.bind("click",(function(h){h.preventDefault();var g=$(this);$(".ajax").each((function(){var h=$(this);h.removeClass("active"),h.parents(".nav-item").removeClass("active")})),g.addClass("loading"),AjaxUI.load(g.attr("href"),(function(){g.removeClass("loading"),g.parents(".nav-item").addClass("active"),g.addClass("active")}))}))}return function _ui_ajax_createClass(h,g,v){return g&&_ui_ajax_defineProperties(h.prototype,g),v&&_ui_ajax_defineProperties(h,v),h}(AjaxUI,[{key:"dispose",value:function dispose(){$(this._element).removeClass("".concat(b,"-active")),$.removeData(this._element,C),this._element=null}}],[{key:"load",value:function load(g,v){k.show((function(){y.removeClass("loaded")})),h.MainUI.updateLocation(g);var w=h.URLDetails.base+h.URLDetails.relative.substring(1);w!==h.location.href&&h.history.pushState({ajax:!0,page:w},document.title,w),$.ajax({sync:!1,async:!0,url:g,dataType:"json",method:"GET",cache:!1,error:function error(v){console.warn("".concat(b,": AJAX request failure: ").concat(v.statusText)),h.location.href=g,"function"===typeof h.ga&&h.ga("send","event","error","AJAX ERROR",v.statusText)},success:function success(g,y,b){AjaxUI.process(g,b,v),"function"===typeof h.ga&&(h.ga("set",{page:h.URLDetails.relative+h.URLDetails.hash,title:b.getResponseHeader("X-Title")}),h.ga("send","pageview"))}})}},{key:"process",value:function process(v,C,T){var A=this,k=C.getResponseHeader("X-Include-CSS").split(",")||[],D=C.getResponseHeader("X-Include-JS").split(",")||[];if("object"===_ui_ajax_typeof(v.regions))for(var P in v.regions)"string"===typeof v.regions[P]&&AjaxUI.replaceRegion(v.regions[P],P);$('link[type="text/css"]').each((function(){var h=k.indexOf($(this).attr("href"));h>-1?k.splice(h,1):y.data("unload-blocked")||(console.log("".concat(b,": Unloading | ").concat($(this).attr("href"))),$(this).remove())})),$('script[type="text/javascript"]').each((function(){var h=D.indexOf($(this).attr("src"));h>-1?D.splice(h,1):y.data("unload-blocked")||(console.log("".concat(b,": Unloading | ").concat($(this).attr("src"))),$(this).remove())})),this.preload(k).then((function(){var C=$("head");k.forEach((function(h){C.append('<link rel="stylesheet" type="text/css" href="'.concat(h,'" />'))})),A.preload(D,"script").then((function(){if(D.forEach((function(h){y.append('<script type="text/javascript" charset="UTF-8" src="'.concat(h,'"><\/script>'))})),console.log("".concat(b,": New page is loaded!")),"object"===_ui_ajax_typeof(v.events))for(var C in v.events)$(g).trigger(C,[v.events[C]]);"undefined"!==typeof T&&T(),$(h).trigger(w.AJAX)}))}))}},{key:"preload",value:function preload(h){var g=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"text",v=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],y=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(!h.length)return $.Deferred().resolve().promise();var b=[];return h.forEach((function(h,w){var C=$.Deferred();$.ajax({dataType:g,cache:v,url:h}).always((function(){C.resolve(),y&&y(w,h)})),b.push(C)})),$.when.apply($,b)}},{key:"replaceRegion",value:function replaceRegion(h,g){var v=$('[data-ajax-region="'.concat(g,'"]'));v.length?v.empty().append(h):console.warn("".concat(b,": Region returned without class or id!"))}},{key:"_jQueryInterface",value:function _jQueryInterface(){return this.each((function(){var h=$(this),g=h.data(C);g||(g=new AjaxUI(this),h.data(C,g))}))}}]),AjaxUI}();return $.fn[b]=T._jQueryInterface,$.fn[b].Constructor=T,$.fn[b].noConflict=function(){return $.fn[b]=JQUERY_NO_CONFLICT,T._jQueryInterface},$(".ajax").ready((function(){$(".ajax").jsAjaxUI()})),$(g).on("layoutRefresh",(function(h,y){g.title=y.Title,v.attr("class",""),y.ClassName&&v.addClass(y.ClassName)})),h.onpopstate=function(v){var y=$('a[href^="'.concat(g.location,'"]'));null!==v.state&&v.state.ajax?(console.log("".concat(b,": GOBACK (AJAX state)")),T.load(v.state.page)):y.length&&y.hasClass("ajax")?(console.log("".concat(b,": GOBACK (AJAX link)")),y.trigger("click")):g.location.href!==h.location.href&&(console.log("".concat(b,": GOBACK (HTTP)")),h.location.href=g.location)},$.ajaxPrefilter((function(h,g,v){v.opts=h,$.xhrPool.requests[v.opts.url]=v})),$.xhrPool={requests:{},paused:!1,pauseAll:function pauseAll(){$.xhrPool.paused=!0},restoreAll:function restoreAll(){for(var h in $.xhrPool.requests){var g=$.xhrPool.requests[h];$.ajax(g.opts),console.log("".concat(b,": AJAX request is restored (").concat(g.opts.url,")"))}$.xhrPool.paused=!1}},$.ajaxSetup({beforeSend:function beforeSend(h){},complete:function complete(h){$.xhrPool.paused||delete $.xhrPool.requests[h.opts.url]}}),y.on("".concat(w.OFFLINE),(function(){$.xhrPool.pauseAll()})),y.on("".concat(w.BACKONLINE),(function(){$.xhrPool.restoreAll()})),T}(b());__webpack_require__(971);function _ui_form_fields_defineProperties(h,g){for(var v=0;v<g.length;v++){var y=g[v];y.enumerable=y.enumerable||!1,y.configurable=!0,"value"in y&&(y.writable=!0),Object.defineProperty(h,y.key,y)}}var P=function($){var h="jsFormFieldUI",g=h,v=$("html, body"),y=function(){function FormFieldUI(v){!function _ui_form_fields_classCallCheck(h,g){if(!(h instanceof g))throw new TypeError("Cannot call a class as a function")}(this,FormFieldUI);var y=this;return y.$el=$(v),y.shown=!0,y.$el.data(g,y),y.vals={val:y.$el.val(),checked:y.$el.is(":checked")},y.$el.parents(".optionset").not(".field").removeClass("collapse"),y.$collapse=y.$el.parents(".field.collapse").not(".composite").first(),y.$collapse.length&&(y.$el.removeClass("collapse"),y.$collapse.on("show.bs.collapse",(function(h){y.show()})),y.$collapse.on("hidden.bs.collapse",(function(h){y.hide()}))),y.$el.addClass("".concat(h,"-active")),y}return function _ui_form_fields_createClass(h,g,v){return g&&_ui_form_fields_defineProperties(h.prototype,g),v&&_ui_form_fields_defineProperties(h,v),h}(FormFieldUI,[{key:"dispose",value:function dispose(){var v=this.$el;v.removeClass("".concat(h,"-active")),$.removeData(v[0],g)}},{key:"show",value:function show(){var g=this,v=g.$el;g.restore(),g.shown=!0,v.trigger("shown.".concat(h))}},{key:"hide",value:function hide(){var g=this,v=g.$el;g.wipe(),g.shown=!1,v.trigger("hidden.".concat(h))}},{key:"wipe",value:function wipe(){var h=this.$el;this.vals={name:h.attr("name"),val:h.val(),checked:h.is(":checked")},h.val(""),h.prop("checked",!1)}},{key:"restore",value:function restore(){var h=this,g=h.$el,v=h.vals.checked;g.val(h.vals.val),g.prop("checked",v)}},{key:"addMessage",value:function addMessage(h){var g=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,y=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],b=this,w=b.$el.closest(".field");if(w.addClass("has-message"),h&&w.append('<div class="message alert '.concat(g,'">').concat(h,"</div>")),y){var C=w.offset().top;w.focus(),v.scrollTop(C-100)}}},{key:"removeMessages",value:function removeMessages(){var h=this.$el.closest(".field");h.removeClass("has-message"),h.find(".message").remove()}}],[{key:"_jQueryInterface",value:function _jQueryInterface(){return this.each((function(){var h=$(this),v=h.data(g);v||(v=new FormFieldUI(this),h.data(g,v))}))}}]),FormFieldUI}();return $.fn[h]=y._jQueryInterface,$.fn[h].Constructor=y,$.fn[h].noConflict=function(){return $.fn[h]=JQUERY_NO_CONFLICT,y._jQueryInterface},y}(b());function _ui_form_basics_defineProperties(h,g){for(var v=0;v<g.length;v++){var y=g[v];y.enumerable=y.enumerable||!1,y.configurable=!0,"value"in y&&(y.writable=!0),Object.defineProperty(h,y.key,y)}}!function($){var h="jsFormBasics",g=h,v=($("html, body"),window),y=(document,function(){function FormBasics(v){!function _ui_form_basics_classCallCheck(h,g){if(!(h instanceof g))throw new TypeError("Cannot call a class as a function")}(this,FormBasics);var y=$(v);this._el=v,this.dispose(),console.log("".concat(h,": init")),y.data(g,this);var b=y.find(w.FORM_FIELDS);b.each((function(h,g){new P(g)})),y.find("select:not([readonly])").not(".no-select2").each((function(h,g){$(g).select2()})),b.each((function(h,g){var v=$(g);(v.hasClass("required")||v.attr("aria-required"))&&v.closest(".field").addClass("required")}));var C=y.find('input[type="radio"]');C.each((function(h,g){var v=$(g);v.is(":checked")&&v.parents(".radio").addClass("checked")})),C.on("change",(function(h){var g=$(h.currentTarget),v=g.parents(".radio");v.siblings(".radio").each((function(h,g){var v=$(g);v.find("input").is(":checked")||v.removeClass("checked")})),g.is(":checked")&&v.addClass("checked")})),y.on("submit",(function(h){setTimeout((function(){y.find(".error").length||k.show()}),100)})),y.addClass("".concat(h,"-active")),y.trigger(w.FORM_INIT_BASICS)}return function _ui_form_basics_createClass(h,g,v){return g&&_ui_form_basics_defineProperties(h.prototype,g),v&&_ui_form_basics_defineProperties(h,v),h}(FormBasics,[{key:"dispose",value:function dispose(){console.log("".concat(h,": dispose"));var v=this,y=$(v._el);y.find("select:not([readonly])").not(".no-select2").each((function(h,g){var v=$(g);v.hasClass("select2-hidden-accessible")&&v.select2("destroy")})),$.removeData(v._el,g),v._el=null,y.removeClass("".concat(h,"-active"))}}],[{key:"_jQueryInterface",value:function _jQueryInterface(){var h=this;return this.each((function(){var v=$(h),y=v.data(g);y||(y=new FormBasics(h),v.data(g,y))}))}}]),FormBasics}());$.fn[h]=y._jQueryInterface,$.fn[h].Constructor=y,$.fn[h].noConflict=function(){return $.fn[h]=JQUERY_NO_CONFLICT,y._jQueryInterface};$(v).on("".concat(h,".init ").concat(w.AJAX," ").concat(w.LOADED),(function(){!function init(){$("form").jsFormBasics()}()}))}(b());function _ui_header_footer_defineProperties(h,g){for(var v=0;v<g.length;v++){var y=g[v];y.enumerable=y.enumerable||!1,y.configurable=!0,"value"in y&&(y.writable=!0),Object.defineProperty(h,y.key,y)}}!function($){document;var h=window,g=$("html,body"),v="HeaderUI",y=("js".concat(v),function(){function HeaderUI(){!function _ui_header_footer_classCallCheck(h,g){if(!(h instanceof g))throw new TypeError("Cannot call a class as a function")}(this,HeaderUI)}return function _ui_header_footer_createClass(h,g,v){return g&&_ui_header_footer_defineProperties(h.prototype,g),v&&_ui_header_footer_defineProperties(h,v),h}(HeaderUI,null,[{key:"init",value:function init(){this.dispose(),console.log("".concat(v,": init"));var h=$("#Header,.js".concat(v));!function updateHeader(){var v=h.height();g.scrollTop()>v?g.addClass("shrink"):g.removeClass("shrink")}();var y=function updateFooter(h,g){var v=$(g),y=v.height();v.css("height",y),v.css("margin-top",-y),v.siblings(".wrapper").css("padding-bottom",y)};$(".footer,.jsFooterUI").css("height","auto"),setTimeout((function(){$(".footer,.jsFooterUI").each(y)}),500)}},{key:"dispose",value:function dispose(){console.log("".concat(v,": dispose")),g.removeClass("shrink"),$("#Header,.js".concat(v,",.footer,.jsFooterUI,.wrapper")).attr("css","")}}]),HeaderUI}());$(h).on("".concat(w.AJAX," ").concat(w.LOADED),(function(){y.init()})),$(h).on("".concat(w.RESIZE),(function(){setTimeout((function(){y.init()}),200)})),h.HeaderUI=new y}(b());var R=__webpack_require__(508);function _main_toConsumableArray(h){return function _main_arrayWithoutHoles(h){if(Array.isArray(h))return _main_arrayLikeToArray(h)}(h)||function _main_iterableToArray(h){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(h))return Array.from(h)}(h)||function _main_unsupportedIterableToArray(h,g){if(!h)return;if("string"===typeof h)return _main_arrayLikeToArray(h,g);var v=Object.prototype.toString.call(h).slice(8,-1);"Object"===v&&h.constructor&&(v=h.constructor.name);if("Map"===v||"Set"===v)return Array.from(h);if("Arguments"===v||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(v))return _main_arrayLikeToArray(h,g)}(h)||function _main_nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _main_arrayLikeToArray(h,g){(null==g||g>h.length)&&(g=h.length);for(var v=0,y=new Array(g);v<g;v++)y[v]=h[v];return y}function _main_defineProperties(h,g){for(var v=0;v<g.length;v++){var y=g[v];y.enumerable=y.enumerable||!1,y.configurable=!0,"value"in y&&(y.writable=!0),Object.defineProperty(h,y.key,y)}}var N=__webpack_require__.n(R)()(),U=function($){var h=window,g=$(h),v=document,y=$("body"),b="MainUI";console.clear(),console.info("%cUI Kit ".concat("@a2nt/ss-bootstrap-ui-webpack-boilerplate"," ").concat("2.7.0"),"color:yellow;font-size:14px"),console.info("%c".concat("@a2nt/meta-lightbox"," ").concat("2.7.1"),"color:yellow;font-size:12px"),console.info("%chttps://github.com/a2nt/webpack-bootstrap-ui-kit by ".concat("Tony Air <tony@twma.pro>"),"color:yellow;font-size:10px"),console.groupCollapsed("Events"),Object.keys(w).forEach((function(h){console.info("".concat(h,": ").concat(w[h]))})),console.groupEnd("Events"),console.groupCollapsed("Consts"),Object.keys(A).forEach((function(h){console.info("".concat(h,": ").concat(A[h]))})),console.groupEnd("Events"),console.groupCollapsed("Init"),console.time("init"),g.on("".concat(w.LODEDANDREADY),(function(){console.groupEnd("Init"),console.timeEnd("init"),console.time("Post-init"),console.groupCollapsed("Post-init")}));var C,T=$("#AlertNotify"),P=$("#SiteWideMessage");v.addEventListener("visibilitychange",(function(){"hidden"===v.visibilityState?(console.log("".concat(b,": Tab: hidden")),y.addClass("is-hidden"),y.trigger(w.TABHIDDEN),g.trigger(w.TABHIDDEN)):(console.log("".concat(b,": Tab: focused")),y.removeClass("is-hidden"),y.trigger(w.TABFOCUSED),g.trigger(w.TABFOCUSED))}));var R=!1,U=function sessionPing(){R||y.hasClass("is-offline")||(console.log("".concat(b,": session ping")),R=!0,$.ajax({sync:!1,async:!0,cache:!1,url:"/Security/ping",global:!1,type:"POST",complete:function complete(h,g){z(),"success"!==g&&(console.warn("".concat(b,": ping failed")),clearInterval(C),C=null),R=!1}}))},q=!1,z=function updateOnlineStatus(){if(!q)return q=!0,"undefined"!==typeof navigator.onLine&&(navigator.onLine?(C||(C=setInterval(U,3e5)),y.hasClass("is-offline")?(U(),console.log("".concat(b,": is back online")),y.trigger(w.BACKONLINE)):console.log("".concat(b,": Online")),y.addClass("is-online"),y.removeClass("is-offline"),y.trigger(w.ONLINE),g.trigger(w.ONLINE),q=!1,!0):(console.log("".concat(b,": Offline")),clearInterval(C),C=null,y.addClass("is-offline"),y.removeClass("is-online"),y.trigger(w.OFFLINE),g.trigger(w.OFFLINE),q=!1,!0))};h.addEventListener("".concat(w.OFFLINE),(function(){z()}),!1),h.addEventListener("".concat(w.ONLINE),(function(){z()}),!1),g.on("".concat(w.LOADED," ").concat(w.AJAX),(function(){z()}));h.URLDetails={base:$("base").attr("href"),relative:"/",hash:""};var B=!1,W=function setTouchScreen(v){h.IsTouchScreen===v||B||(B=!0,h.IsTouchScreen=v,$.support.touch=h.IsTouchScreen,v?(console.log("".concat(b,": Touch screen enabled")),y.trigger(w.TOUCHENABLE),g.trigger(w.TOUCHENABLE)):(console.log("".concat(b,": Touch screen disabled")),y.trigger(w.TOUCHDISABLED),g.trigger(w.TOUCHDISABLED)),setTimeout((function(){B=!1}),200))};W("ontouchstart"in window||navigator.msMaxTouchPoints>0),v.addEventListener("touchmove",(function(){W(!0)})),v.addEventListener("touchstart",(function(){W(!0)}));var Y=function(){function MainUI(){!function _main_classCallCheck(h,g){if(!(h instanceof g))throw new TypeError("Cannot call a class as a function")}(this,MainUI)}return function _main_createClass(h,g,v){return g&&_main_defineProperties(h.prototype,g),v&&_main_defineProperties(h,v),h}(MainUI,null,[{key:"init",value:function init(){var C=this;C.dispose(),console.log("".concat(b,": init")),C.updateLocation(),"caches"in h&&$("a.offline").addClass("offline-available"),C.loadImages(),C.detectBootstrapScreenSize(),$('a.external,a[rel="external"]').attr("target","_blank"),$(".js-scrollTo").on("click",(function(h){console.log("".concat(b,": .js-scrollTo")),h.preventDefault(),function ScrollTo(h,g){N.animateScroll(v.querySelector(g),h,{speed:500,offset:-20})}(h.currentTarget,$(h.currentTarget).attr("data-target"))})),$("[data-extfont]").length&&(console.log("".concat(b,": loading external fonts [data-extfont]")),$.getScript("//ajax.googleapis.com/ajax/libs/webfont/1/webfont.js",(function(){var g=[];$("[data-extfont]").each((function(h,v){g[h]=$(v).attr("data-extfont")})),h.WebFont.load({google:{families:g}})}))),$("[data-set-target]").on("click",(function(h){console.log("".concat(b,": [data-set-target]"));var g=$(h.currentTarget),v=$(g.data("set-target"));v.length&&(v.each((function(h,v){var y=$(v),b=y.prop("tagName").toLowerCase();"input"===b||"select"===b?y.val(g.data("set-val")):y.hasClass("field")||y.text(g.data("set-val"))})),g.trigger(w.SET_TARGET_UPDATE),v.closest("form").trigger(w.SET_TARGET_UPDATE))})),$(".a[data-href]").on("click",(function(g){console.log("".concat(b,": js link processing .a[data-href]"));var v=$(g.currentTarget),y=v.data("href");y.length||(console.warn("".concat(b,": .a[data-href] | Missing data-href")),console.warn(v)),h.location.assign(y)})),k.hide((function(){y.addClass("loaded")})),h.URLDetails.hash.indexOf("printpage")>-1&&h.print(),y.data(b,C),g.removeClass("lock-main-init")}},{key:"detectBootstrapScreenSize",value:function detectBootstrapScreenSize(){var h=$('<div class="env-test"></div>'),v=_main_toConsumableArray(A.ENVS);y.append(h);var w=v.shift();v=v.reverse();for(var C=0;C<v.length;++C){var T=v[C];if(h.addClass("d-".concat(T,"-none")),h.is(":hidden")){w=T;break}}h.remove(),y.removeClass(v),y.addClass(w);var k=!0;return g.width()>g.height()?(y.removeClass("portrait"),y.addClass("landscape")):(k=!1,y.removeClass("landscape"),y.addClass("portrait")),console.log("".concat(b,": screen size detected ").concat(w," | landscape ").concat(k)),w}},{key:"updateLocation",value:function updateLocation(g){var v=g||h.location.href,y=(v=v.replace(h.URLDetails.base,"/")).indexOf("#");h.URLDetails.relative=v.split("#")[0],h.URLDetails.hash=y>=0?v.substr(v.indexOf("#")):""}},{key:"alert",value:function alert(h,v){P.fadeOut("fast"),P.html('<div class="page-alert"><div class="alert alert-'.concat(v,'"><i class="close" data-dismiss="alert">&times;</i>').concat(h,"</div></div>")),P.find(".page-alert").alert(),P.find('.close[data-dismiss="alert"]').click((function(){P.fadeOut("slow",(function(){P.find(".page-alert").alert("close")}))})),P.fadeIn("slow"),T.length&&T[0].play(),g.trigger("".concat(w.ALLERTAPPEARED))}},{key:"alertHide",value:function alertHide(){0!==P.length&&P.fadeOut("slow",(function(){P.find(".alert").alert("close")})),T.length&&"undefined"!==typeof T[0].stop&&T[0].stop(),g.trigger("".concat(w.ALLERTREMOVED))}},{key:"loadImages",value:function loadImages(){var h=y.find("img").not(".loaded"),v=[],C=[];h.each((function(h,g){var y=$(g),b=y.attr("src"),T=y.data("lazy-src");y.hasClass("loaded")||(b&&b.length&&v.push(b),T&&T.length&&(C.push(T),y.addClass("loading"),D.preload([T]).then((function(){y.attr("src",T),y.on("".concat(w.LOADED),(function(){y.addClass("loaded"),y.removeClass("loading"),y.trigger("".concat(w.LAZYIMAGEREADY))}))}))))})),y.find("[data-lazy-bg]").not(".loaded").each((function(h,g){var v=$(g),y=v.data("lazy-bg");v.hasClass("loaded")||y&&y.length&&(C.push(y),v.addClass("loading"),D.preload([y]).then((function(){v.css({"background-image":"url(".concat(y,")")}),v.addClass("loaded"),v.removeClass("loading"),v.trigger("".concat(w.LAZYIMAGEREADY))})))})),y.find("[data-src-replace]").not(".loaded").each((function(h,g){var v=$(g),y=v.data("src-replace");v.hasClass("loaded")||y&&y.length&&(v.addClass("loaded"),v.attr("src",y))})),D.preload(v).then((function(){g.trigger("images-loaded"),D.preload(C).then((function(){console.log("".concat(b,": All images are loaded!")),setTimeout((function(){g.trigger("".concat(w.LAZYIMAGESREADY)),console.groupEnd("Post-init"),console.timeEnd("Post-init")}),100)}))}))}},{key:"dispose",value:function dispose(){console.log("".concat(b,": dispose"))}}]),MainUI}();return g.on("".concat(w.MAININIT," ").concat(w.AJAX," ").concat(w.AJAXMAIN," ").concat(w.LOADED),(function(){g.hasClass("lock-main-init")?console.warn("".concat(b,": locked")):(g.addClass("lock-main-init"),Y.init())})),g.on("".concat(w.RESIZE),(function(){Y.detectBootstrapScreenSize()})),g.on("beforeunload unload",(function(){k.show((function(){y.removeClass("loaded")}))})),$('[target="_blank"],.external').on("click submit",(function(h){if($(h.currentTarget).is('[data-toggle="lightbox"],[data-lightbox-gallery]'))return!1;console.log("".concat(b,": External link")),setTimeout((function(){k.hide((function(){y.addClass("loaded")}))}),1e3)})),h.MainUI=Y,Y}(b());function _ui_hover_defineProperties(h,g){for(var v=0;v<g.length;v++){var y=g[v];y.enumerable=y.enumerable||!1,y.configurable=!0,"value"in y&&(y.writable=!0),Object.defineProperty(h,y.key,y)}}(function($){var h=window,g=(document,$("html"),$("body"),"jsHoverUI"),v=g,y=function(){function HoverUI(v){!function _ui_hover_classCallCheck(h,g){if(!(h instanceof g))throw new TypeError("Cannot call a class as a function")}(this,HoverUI),console.log("".concat(g,": init"));var y=this,b=$(v);y.$el=b;var w=b.parents(".nav-item, .dropdown");w=w&&w.length?w.first():null,y.$parent=w;var C=b.data("target");if(!(C=(C=C&&C.length?C:null)||(w?w.find(".dropdown-menu").first():null))||!C.length)return console.warn("".concat(g,": Missing target for:")),void console.warn(b);y.$target=C;var T=w||b;y.$triger=T,$('[data-toggle="dropdown"]').on("click touch",(function(h){console.log("".concat(g,": dropdown click-touch")),y.hide()})),h.isTouch||T.hoverIntent({sensitivity:10,interval:50,over:function over(){y.show()},out:function out(){y.hide()}}),b.off("click touch"),b.on("click touch",(function(v){var w=U.detectBootstrapScreenSize();console.log("".concat(g,": click-touch size: ").concat(w)),("xs"===w||!b.data("allow-click")||h.IsTouchScreen&&!b.data("allow-touch-click"))&&(console.log("".concat(g,": click-touch prevent click")),v.stopPropagation(),v.preventDefault()),y.isShown()?y.hide():y.show()})),b.data(g,y),T.addClass("".concat(g,"-active"))}return function _ui_hover_createClass(h,g,v){return g&&_ui_hover_defineProperties(h.prototype,g),v&&_ui_hover_defineProperties(h,v),h}(HoverUI,[{key:"isShown",value:function isShown(){return this.$target.hasClass("show")}},{key:"show",value:function show(){this.$el.parents(".dropdown").not(".active").each((function(h,g){var v=$(g);v.find(".dropdown").removeClass("show"),v.addClass("show")})),this.$target.addClass("show")}},{key:"hide",value:function hide(){var h=this.$target;h.removeClass("show"),h.find(".dropdown-menu").removeClass("show"),h.parent(".dropdown").removeClass("show")}},{key:"dispose",value:function dispose(){var h=this,y=h.$el;console.log("".concat(g,": dispose")),h.$triger.removeClass("".concat(g,"-active")),$.removeData(y,v),h.$el=null,h.$parent=null,h.$target=null,h.$triger=null}}],[{key:"_jQueryInterface",value:function _jQueryInterface(){return this.each((function(){var h=$(this),g=h.data(v);g||(g=new HoverUI(this),h.data(v,g))}))}}]),HoverUI}();$.fn[g]=y._jQueryInterface,$.fn[g].Constructor=y,$.fn[g].noConflict=function(){return $.fn[g]=JQUERY_NO_CONFLICT,y._jQueryInterface},$('[data-toggle="hover"]').ready((function(){$('[data-toggle="hover"]').jsHoverUI()})),$('[data-toggle="dropdown"]').on("click touch",(function(h){h.preventDefault();var g=$(h.currentTarget).parent(".dropdown");g.parent().find(".dropdown, .dropdown-menu").removeClass("show"),g.hasClass("show")?(g.removeClass("show"),g.find(".dropdown-menu").removeClass("show")):(g.addClass("show"),g.find(".dropdown-menu").addClass("show"))}))})(b()),__webpack_require__(494),__webpack_require__(570);function _ui_carousel_defineProperties(h,g){for(var v=0;v<g.length;v++){var y=g[v];y.enumerable=y.enumerable||!1,y.configurable=!0,"value"in y&&(y.writable=!0),Object.defineProperty(h,y.key,y)}}!function($){var h="CarouselUI",g=function(){function CarouselUI(){!function _ui_carousel_classCallCheck(h,g){if(!(h instanceof g))throw new TypeError("Cannot call a class as a function")}(this,CarouselUI)}return function _ui_carousel_createClass(h,g,v){return g&&_ui_carousel_defineProperties(h.prototype,g),v&&_ui_carousel_defineProperties(h,v),h}(CarouselUI,null,[{key:"each",value:function each(g){$("js".concat(h,", .js-carousel")).each((function(h,v){g(h,$(v))}))}},{key:"init",value:function init(){this.dispose(),console.log("".concat(h,": init")),this.each((function(g,v){var y=$(v),b="Carousel".concat(g);y.attr("id",b),y.data("id",g);var C=$(v).find(".carousel-item").length;if(C){if(y.data("indicators")){var T=$('<ol class="carousel-indicators"></ol>');T.append('<li data-target="#'.concat(b,'" data-slide-to="0" class="active"></li>'));for(var A=1;A<C;A++)T.append('<li data-target="#'.concat(b,'" data-slide-to="').concat(A,'"></li>'));y.prepend(T)}y.data("arrows")&&(y.prepend('<i class="carousel-control-prev" data-target="#'.concat(b,'" role="button" data-slide="prev"><i class="fas fa-chevron-left" aria-hidden="true"></i><i class="sr-only">Previous</i></i>')),y.prepend('<i class="carousel-control-next" data-target="#'.concat(b,'" role="button" data-slide="next"><i class="fas fa-chevron-right" aria-hidden="true"></i><i class="sr-only">Next</i></i>'))),y.carousel();var k=y.find('iframe[src^="https://www.youtube.com/embed/"]');y.on("slide.bs.carousel",(function(){k.length&&k.each((function(h,g){var v=$(g);try{v.data("player",new YT.Player(g,{events:{onReady:function onReady(){v.data("player").pauseVideo()}}})),v.data("player").pauseVideo()}catch(g){}}))})),y.find(".carousel-control-prev").on("click",(function(h){h.preventDefault(),y.carousel("prev")})),y.find(".carousel-control-next").on("click",(function(h){h.preventDefault(),y.carousel("next")})),y.hammer().bind(w.SWIPELEFT,(function(h){$(event.target).carousel("next")})),y.hammer().bind(w.SWIPERIGHT,(function(h){$(event.target).carousel("prev")})),y.addClass("js".concat(h,"-active")),y.trigger(w.CAROUSEL_READY)}}))}},{key:"dispose",value:function dispose(){this.each((function(h,g){$(g).carousel("dispose")}))}}]),CarouselUI}();$(window).on("".concat(w.LODEDANDREADY),(function(){g.init()}))}(b());function _ui_menu_defineProperties(h,g){for(var v=0;v<g.length;v++){var y=g[v];y.enumerable=y.enumerable||!1,y.configurable=!0,"value"in y&&(y.writable=!0),Object.defineProperty(h,y.key,y)}}(function($){var h="jsSlidingMenu",g=h,v=function(){function SlidingMenu(g){!function _ui_menu_classCallCheck(h,g){if(!(h instanceof g))throw new TypeError("Cannot call a class as a function")}(this,SlidingMenu),console.log("".concat(h,": init")),this._element=g;var v=$(this._element);v.addClass("".concat(h,"-active")),$(window).on("keyup",(function(h){27===h.which&&v.find('.is-open[data-toggle="offcanvas"]').click()}))}return function _ui_menu_createClass(h,g,v){return g&&_ui_menu_defineProperties(h.prototype,g),v&&_ui_menu_defineProperties(h,v),h}(SlidingMenu,[{key:"dispose",value:function dispose(){console.log("".concat(h,": dispose")),$(this._element).removeClass("".concat(h,"-active")),$.removeData(this._element,g),this._element=null}}],[{key:"_jQueryInterface",value:function _jQueryInterface(){return this.each((function(){var h=$(this),v=h.data(g);v||(v=new SlidingMenu(this),h.data(g,v))}))}}]),SlidingMenu}();$.fn[h]=v._jQueryInterface,$.fn[h].Constructor=v,$.fn[h].noConflict=function(){return $.fn[h]=JQUERY_NO_CONFLICT,v._jQueryInterface},$(".ui.".concat(h)).ready((function(){$(".ui.".concat(h)).jsSlidingMenu()}))})(b()),__webpack_require__(66),__webpack_require__(366),__webpack_require__(563),__webpack_require__(490),__webpack_require__(890);function _ui_sidebar_defineProperties(h,g){for(var v=0;v<g.length;v++){var y=g[v];y.enumerable=y.enumerable||!1,y.configurable=!0,"value"in y&&(y.writable=!0),Object.defineProperty(h,y.key,y)}}!function($){document;var h=window,g=$("body"),v="SidebarUI",y="js".concat(v),b="".concat(y,"__inner"),C=function(){function SidebarUI(){!function _ui_sidebar_classCallCheck(h,g){if(!(h instanceof g))throw new TypeError("Cannot call a class as a function")}(this,SidebarUI)}return function _ui_sidebar_createClass(h,g,v){return g&&_ui_sidebar_defineProperties(h.prototype,g),v&&_ui_sidebar_defineProperties(h,v),h}(SidebarUI,null,[{key:"init",value:function init(){if(this.dispose(),$(".".concat(y)).length){console.log("".concat(v,": init ..."));var h=$(".".concat("content-holder"))[0],C=$(".".concat(y)),T=$(".".concat(b));C.addClass("".concat(y,"-active")),g.on("".concat(w.SCROLL," ").concat(w.RESIZE),(function(v){var y=parseInt(h.offsetTop)+0,b=parseInt(h.offsetHeight)-0,w=C[0].offsetWidth,A=parseInt(g.scrollTop());y>=A?T.attr("style",""):A>=y+b-T[0].offsetHeight?T.attr("style","position:absolute;bottom:".concat(0,"px")):T.attr("style","position:fixed;top:".concat(0,"px;width:").concat(w,"px"))}))}}},{key:"dispose",value:function dispose(){console.log("".concat(v,": dispose"))}}]),SidebarUI}();$(h).on("".concat(v,".init ").concat(w.LODEDANDREADY),(function(){C.init()})),h.SidebarUI=new C}(b());function _ui_form_validate_field_defineProperties(h,g){for(var v=0;v<g.length;v++){var y=g[v];y.enumerable=y.enumerable||!1,y.configurable=!0,"value"in y&&(y.writable=!0),Object.defineProperty(h,y.key,y)}}var q=function($){var h="jsFormValidateField",g=h,v=$("body"),y="jsFormFieldUI",b=function(){function FormValidateField(v){!function _ui_form_validate_field_classCallCheck(h,g){if(!(h instanceof g))throw new TypeError("Cannot call a class as a function")}(this,FormValidateField);var y=this,b=$(v);y.$el=b,y._actions=b.parents("form").children(".btn-toolbar,.form-actions"),b.data(g,this),b.attr("novalidate","novalidate"),b.on("change focusout",(function(h){y.validate(!1)})),b.addClass("".concat(h,"-active")),b.trigger(w.FORM_INIT_VALIDATE_FIELD)}return function _ui_form_validate_field_createClass(h,g,v){return g&&_ui_form_validate_field_defineProperties(h.prototype,g),v&&_ui_form_validate_field_defineProperties(h,v),h}(FormValidateField,[{key:"dispose",value:function dispose(){ui.$el.removeClass("".concat(h,"-active")),$.removeData(ui.$el[0],g),ui.$el=null}},{key:"validate",value:function validate(){var g=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],v=this,y=v.$el,b=(y.closest(".field"),y.data("".concat(h,"-extra"))),w=!0,C=null,T=y.val();v.$el[0].checkValidity()||(w=!1,console.warn("".concat(h,": Browser check validity is failed #").concat(y.attr("id"))));var A=T;"function"===typeof y.inputmask&&(A=y.inputmask("unmaskedvalue")),!y.hasClass("required")||A.length&&A.trim().length&&(!v.isHtml(T)||$(A).text().length)||(w=!1,console.warn("".concat(h,": Required field is missing #").concat(y.attr("id")))),y.hasClass("url")&&A.length&&!v.valideURL(A)&&(w=!1,C="Invalid URL: URL must start with http:// or https://. For example: https://your-domain.com/bla-bla/?p1=b&p2=a#tag",console.warn("".concat(h,": Wrong URL #").concat(y.attr("id"))));var k=y.attr("maxlength");A.length&&k&&k.length&&A.length>k&&(w=!1,C="The value is limited to ".concat(k," chars"),console.warn("".concat(h,": Too long value #").concat(y.attr("id"))));var D=y.attr("minlength");return A.length&&D&&D.length&&A.length<D&&(w=!1,C="The value should contain more than ".concat(D," chars"),console.warn("".concat(h,": Too short value #").concat(y.attr("id")))),this.removeError(),b&&b.forEach((function(g){var v=g(y);w=w&&v,v||(console.log(g),console.warn("".concat(h,": Extra check is failed #").concat(y.attr("id"))))})),!!w||(this.setError(g,C),!1)}},{key:"isHtml",value:function isHtml(h){var g=(new DOMParser).parseFromString(h,"text/html");return Array.from(g.body.childNodes).some((function(h){return 1===h.nodeType}))}},{key:"valideURL",value:function valideURL(h){var g;try{g=new URL(h)}catch(v){return!1}return"http:"===g.protocol||"https:"===g.protocol}},{key:"setError",value:function setError(){var h=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],g=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,b=this,w=b.$el.data(y),C=b.$el.closest(".field"),T=v.scrollTop(),A=C[0].getBoundingClientRect().top,k=4*parseInt(C.css("font-size"));b.removeError(),C.addClass("error"),g?w.addMessage(g,"alert-error alert-danger",h):A&&h&&(C.focus(),v.scrollTop(T+A-k))}},{key:"removeError",value:function removeError(){this.$el.data(y);var h=this.$el.closest(".field");h.removeClass("error"),h.removeClass("holder-error"),h.removeClass("holder-validation"),h.find(".alert-error").remove()}}],[{key:"_jQueryInterface",value:function _jQueryInterface(){return this.each((function(){var h=$(this),v=h.data(g);v||(v=new FormValidateField(this),h.data(g,v))}))}}]),FormValidateField}();return $.fn[h]=b._jQueryInterface,$.fn[h].Constructor=b,$.fn[h].noConflict=function(){return $.fn[h]=JQUERY_NO_CONFLICT,b._jQueryInterface},b}(b());function _ui_form_validate_defineProperties(h,g){for(var v=0;v<g.length;v++){var y=g[v];y.enumerable=y.enumerable||!1,y.configurable=!0,"value"in y&&(y.writable=!0),Object.defineProperty(h,y.key,y)}}!function($){var h="jsFormValidate",g=h,v=($("html, body"),function(){function FormValidate(v){!function _ui_form_validate_classCallCheck(h,g){if(!(h instanceof g))throw new TypeError("Cannot call a class as a function")}(this,FormValidate);var y=this,b=$(v),C=b.find("input,textarea,select");y._element=v,y.$element=b,b.data(g,this),y._fields=C,y._stepped_form=b.data("jsSteppedForm"),b.attr("novalidate","novalidate"),b.on(w.FORM_INIT_STEPPED,(function(){y._stepped_form=b.data("jsSteppedForm")})),C.each((function(h,g){"combobox"!==$(g).attr("role")&&new q(g)})),b.on("submit",(function(h){y.validate(!0,(function(){if(h.preventDefault(),y._stepped_form){var g=b.find(".error").first();g.length&&y._stepped_form.step(g.parents(".step"))}b.trigger(w.FORM_VALIDATION_FAILED)}))})),b.addClass("".concat(h,"-active")),b.trigger(w.FORM_INIT_VALIDATE)}return function _ui_form_validate_createClass(h,g,v){return g&&_ui_form_validate_defineProperties(h.prototype,g),v&&_ui_form_validate_defineProperties(h,v),h}(FormValidate,[{key:"dispose",value:function dispose(){$(this._element).removeClass("".concat(h,"-active")),$.removeData(this._element,g),this._element=null}},{key:"validate",value:function validate(){var g=arguments.length>1&&void 0!==arguments[1]&&arguments[1];console.log("".concat(h,": checking the form ..."));var v=this,y=!0;return v._fields.filter(":visible").each((function(h,b){var w=$(b).data("jsFormValidateField");if(w&&!w.validate())return k.hide(),v.$element.addClass("error"),g&&g(),y=!1,!1})),y}}],[{key:"_jQueryInterface",value:function _jQueryInterface(){return this.each((function(){var h=$(this),v=h.data(g);v||(v=new FormValidate(this),h.data(g,v))}))}}]),FormValidate}());$.fn[h]=v._jQueryInterface,$.fn[h].Constructor=v,$.fn[h].noConflict=function(){return $.fn[h]=JQUERY_NO_CONFLICT,v._jQueryInterface},$(window).on("".concat(h,".init ").concat(w.AJAX," ").concat(w.LOADED),(function(){$("form").each((function(h,g){var v=$(g);if(v.hasClass("no-validation"))return!0;v.jsFormValidate()}))}))}(b());function _ui_form_storage_defineProperties(h,g){for(var v=0;v<g.length;v++){var y=g[v];y.enumerable=y.enumerable||!1,y.configurable=!0,"value"in y&&(y.writable=!0),Object.defineProperty(h,y.key,y)}}!function($){var h="jsFormStorage",g=h,v=window.localStorage,y=function(){function FormStorage(y){!function _ui_form_storage_classCallCheck(h,g){if(!(h instanceof g))throw new TypeError("Cannot call a class as a function")}(this,FormStorage),console.log("".concat(h,": init"));var b=$(y),C=b.find("input, textarea, select"),T=function setRangeValues(h){var g=$(h);g.siblings(".value").text(g.val())};this._element=y,b.data(g,this),b.addClass("".concat(h,"-active")),C.each((function(g,y){var b=$(y),C=b.attr("id"),T=b.attr("type"),A=v.getItem(h+C);if("file"===T)return!0;C&&A&&T&&(!T||"checkbox"!==T&&"radio"!==T?b.val(A):b.prop("checked",A)),b.trigger(w.RESTORE_FIELD)})),$('input[type="range"]').each((function(h,g){T(g)})),b.trigger(w.RESTORE_FIELD),$('input[type="range"]').on("change",(function(h){T(h.currentTarget)})),C.on("change",(function(g){var y=$(g.currentTarget),b=y.attr("id"),w=y.attr("type");if(y.hasClass("no-storage"))return!0;var C=y.val();!w||"checkbox"!==w&&"radio"!==w||(C=!!y.is(":checked")),b&&w&&"password"!==w&&v.setItem(h+b,C)})),b.on("submit",(function(){b.data(g).clear()})),b.find(".btn-toolbar,.form-actions").children('button,[type="submit"],[type="clear"]').on("click",(function(){b.data(g).clear()})),b.addClass("".concat(h,"-active")),b.trigger(w.FORM_INIT_STORAGE)}return function _ui_form_storage_createClass(h,g,v){return g&&_ui_form_storage_defineProperties(h.prototype,g),v&&_ui_form_storage_defineProperties(h,v),h}(FormStorage,[{key:"dispose",value:function dispose(){$(this._element).removeClass("".concat(h,"-active")),$.removeData(this._element,g),this._element=null}},{key:"clear",value:function clear(){v.clear()}}],[{key:"_jQueryInterface",value:function _jQueryInterface(){if("undefined"!==typeof window.localStorage)return this.each((function(){var h=$(this),v=h.data(g);v||(v=new FormStorage(this),h.data(g,v))}))}}]),FormStorage}();$.fn[h]=y._jQueryInterface,$.fn[h].Constructor=y,$.fn[h].noConflict=function(){return $.fn[h]=JQUERY_NO_CONFLICT,y._jQueryInterface},$(window).on("".concat(w.AJAX," ").concat(w.LOADED),(function(){$("form").each((function(h,g){var v=$(g);if(v.hasClass("no-storage"))return!0;v.jsFormStorage()}))}))}(b());function _ui_nocaptcha_defineProperties(h,g){for(var v=0;v<g.length;v++){var y=g[v];y.enumerable=y.enumerable||!1,y.configurable=!0,"value"in y&&(y.writable=!0),Object.defineProperty(h,y.key,y)}}!function($){var h=window,g=(document,$("body"),"NoCaptcha"),v=function(){function NoCaptcha(){!function _ui_nocaptcha_classCallCheck(h,g){if(!(h instanceof g))throw new TypeError("Cannot call a class as a function")}(this,NoCaptcha)}return function _ui_nocaptcha_createClass(h,g,v){return g&&_ui_nocaptcha_defineProperties(h.prototype,g),v&&_ui_nocaptcha_defineProperties(h,v),h}(NoCaptcha,null,[{key:"init",value:function init(){this.dispose(),console.log("".concat(g,": init")),this.renderCaptcha()}},{key:"dispose",value:function dispose(){console.log("".concat(g,": dispose"))}},{key:"renderCaptcha",value:function renderCaptcha(){console.log("".concat(g,": Rendering Captcha")),"undefined"===typeof grecaptcha&&console.log("".concat(g,": Captcha API isn't available yet"));var h=$(".g-recaptcha"),v=function submitListener(h){var g=$(h.currentTarget).find(".g-recaptcha");grecaptcha.execute(g.data("widgetid"))};h.each((function(h,g){var y=$(g);if(!y.data("widgetid")){var b=y.data("form")?$("#".concat(y.data("form"))):y.parents("form"),w=grecaptcha.render(g,y.data());y.data("widgetid",w),"invisible"!==y.data("size")||y.data("callback")||(grecaptcha.execute(w),b.on("submit",v))}}))}}]),NoCaptcha}();$(h).on("".concat(w.AJAX),(function(){v.init()})),h.NoCaptcha=v,h.noCaptchaFieldRender=v.renderCaptcha}(b());function _ui_video_preview_defineProperties(h,g){for(var v=0;v<g.length;v++){var y=g[v];y.enumerable=y.enumerable||!1,y.configurable=!0,"value"in y&&(y.writable=!0),Object.defineProperty(h,y.key,y)}}!function($){var h="jsVideoPreviewUI",g=h,v=(window,document,function(){function VideoPreviewUI(v){!function _ui_video_preview_classCallCheck(h,g){if(!(h instanceof g))throw new TypeError("Cannot call a class as a function")}(this,VideoPreviewUI);var y=this;y.$_el=$(v),y.innerHTML=y.$_el[0].innerHTML,y.$_el.data(g,this);var b,w=y.$_el.attr("href")||y.$_el.data("href");if(b=w.match(/(youtube|youtube-nocookie|youtu|vimeo)\.(com|be)\/(watch\?v=([\w-]+)|([\w-]+))/)){var C;if("youtube"!==b[1]&&"youtube-nocookie"!==b[1]&&"youtu"!==b[1]||(C=function YouTubeGetID(g){var v=g.split(/(vi\/|v%3D|v=|\/v\/|youtu\.be\/|\/embed\/)/);return console.log("".concat(h,": ").concat(v)),void 0!==v[2]?v[2].split(/[^0-9a-z_-]/i)[0]:v[0]}(w)),"vimeo"==b[1])return C=b[3],y.$_el.addClass("loading"),void $.ajax({type:"GET",url:"https://vimeo.com/api/v2/video/".concat(C,".json"),jsonp:"callback",dataType:"jsonp",success:function success(h){var g=h[0].thumbnail_large;y.show(g),y.$_el.removeClass("loading")}});C&&y.show("//i3.ytimg.com/vi/".concat(C,"/0.jpg"))}}return function _ui_video_preview_createClass(h,g,v){return g&&_ui_video_preview_defineProperties(h.prototype,g),v&&_ui_video_preview_defineProperties(h,v),h}(VideoPreviewUI,[{key:"show",value:function show(h){this.$_el[0].innerHTML="",this.$_el.append('<img src="'.concat(h,'" alt="Video" />'))}}],[{key:"dispose",value:function dispose(){console.log("".concat(h,": dispose")),ui.$_el[0].innerHTML=ui.innerHTML}},{key:"_jQueryInterface",value:function _jQueryInterface(){return this.each((function(h,v){var y=$(v),b=y.data(g);b||(b=new VideoPreviewUI(v),y.data(g,b))}))}}]),VideoPreviewUI}());$.fn[h]=v._jQueryInterface,$.fn[h].Constructor=v,$.fn[h].noConflict=function(){return $.fn[h]=JQUERY_NO_CONFLICT,v._jQueryInterface},$(window).on("".concat(w.LODEDANDREADY),(function(){console.log("".concat(h,": init")),$('[data-video-preview="true"]').each((function(h,g){$(g).jsVideoPreviewUI()}))}))}(b());var z="ajax-load",B="back-online",W="load";function meta_lightbox_typeof(h){return(meta_lightbox_typeof="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function _typeof(h){return typeof h}:function _typeof(h){return h&&"function"===typeof Symbol&&h.constructor===Symbol&&h!==Symbol.prototype?"symbol":typeof h})(h)}function meta_lightbox_defineProperties(h,g){for(var v=0;v<g.length;v++){var y=g[v];y.enumerable=y.enumerable||!1,y.configurable=!0,"value"in y&&(y.writable=!0),Object.defineProperty(h,y.key,y)}}!function($){var h=window,g=$(h),v=document,y=$("body"),b="MetaLightboxUI",w='<div class="meta-lightbox-error"><div class="alert alert-error alert-danger">Connection failure.</div></div>',C=function(){function MetaLightboxUI(){!function meta_lightbox_classCallCheck(h,g){if(!(h instanceof g))throw new TypeError("Cannot call a class as a function")}(this,MetaLightboxUI)}return function meta_lightbox_createClass(h,g,v){return g&&meta_lightbox_defineProperties(h.prototype,g),v&&meta_lightbox_defineProperties(h,v),h}(MetaLightboxUI,null,[{key:"init",value:function init(){console.log("".concat(b,": init ..."));var h=this;h.isMSIE=0;try{h.isHidpi=h.is_hdpi()}catch(g){console.log("".concat(b,": catch"))}$(".js".concat(b,',[data-toggle="lightbox"],[data-lightbox-gallery]')).on("click",(function(g){g.preventDefault(),g.stopPropagation();var v=$(g.currentTarget);h.show(v)})),$(".js".concat(b,"-close-inline")).on("click",(function(h){$(h.currentTarget).parents(".meta-lightbox-overlay").removeClass("meta-lightbox-open")}))}},{key:"is_hdpi",value:function is_hdpi(){console.log("".concat(b,": isHidpi"));return h.devicePixelRatio>1||h.matchMedia&&h.matchMedia("(-webkit-min-device-pixel-ratio: 1.5), (min--moz-device-pixel-ratio: 1.5), (-o-min-device-pixel-ratio: 3/2), (min-resolution: 1.5dppx)").matches}},{key:"show",value:function show(h){console.log("".concat(b,": show"));var g=this;if(g.constructLightbox()){var v=g.$content;if(v){if(y.addClass("meta-lightbox-body-effect-fade"),g.process(v,h),h.data("lightbox-gallery")){var w=$('[data-lightbox-gallery="'.concat(h.data("lightbox-gallery"),'"]'));1===w.length?$(".meta-lightbox-nav").hide():$(".meta-lightbox-nav").show(),$(".meta-lightbox-prev").off("click").on("click",(function(v){v.preventDefault();var y=w.index(h),b=w.eq(y-1);b.length||(b=w.last()),setTimeout((function(){g.show(b)}),10)})),$(".meta-lightbox-next").off("click").on("click",(function(v){v.preventDefault();var y=w.index(h),b=w.eq(y+1);b.length||(b=w.first()),setTimeout((function(){g.show(b)}),10)}))}setTimeout((function(){g.$overlay.addClass("meta-lightbox-open")}),1)}}}},{key:"constructLightbox",value:function constructLightbox(){console.log("".concat(b,": constructLightbox"));var h=this,g=$("<div>",{class:"meta-lightbox-overlay meta-lightbox-theme-default meta-lightbox-effect-fade"}),v=$("<div>",{class:"meta-lightbox-wrap"}),w=$("<div>",{class:"meta-lightbox-content"}),C=$('<a href="#" class="meta-lightbox-nav meta-lightbox-prev"><i class="fas fa fa-chevron-left"></i> <span class="sr-only">Previous</span></a><a href="#" class="meta-lightbox-nav meta-lightbox-next"><i class="fa fas fa-chevron-right"></i> <span class="sr-only">Next</span></a>'),T=$('<a href="#" class="meta-lightbox-close fas fa fa-times" title="Close"><span class="sr-only">Close</span></a>'),A=$("<div>",{class:"meta-lightbox-title-wrap"});return h.$overlay||(h.isMSIE&&g.addClass("meta-lightbox-ie"),v.append(w),v.append(A),g.append(v),g.append(C),g.append(T),y.append(g),g.on("click",(function(g){g.preventDefault(),h.hide()})),T.on("click",(function(g){g.preventDefault(),h.hide()})),h.$overlay=g,h.$content=w,h.$title=A),h.$overlay}},{key:"setTitle",value:function setTitle(h){this.$title.html(h)}},{key:"process",value:function process(y,C){console.log("".concat(b,": process"));var T=this,A=C.attr("href")&&C.attr("href").length?C.attr("href"):C.data("href");T.$content.attr("class","meta-lightbox-content"),T.$content.addClass(C.data("lightbox-class")),A.length||(console.log(C),console.error("".concat(b,": href(attr/data) is missing")));var k=$("#PageLoading .loading-spinner"),D=k.length?k.clone():"";if(T.$content.append(D).addClass("meta-lightbox-loading"),A.match(/\.(jpeg|jpg|gif|png|svg)$/i)){$.ajax({url:A,success:function success(){var h=$("<img>",{src:A}),v=$('<div class="meta-lightbox-image"></div>'),b=$('<span class="meta-lightbox-zoom-wrapper"></span>');b.append(h),v.append(b),v.css({"line-height":"".concat(y.height(),"px"),height:"".concat(y.height(),"px")}),g.resize((function(){v.css({"line-height":"".concat(y.height(),"px"),height:"".concat(y.height(),"px")})})),"undefined"!==typeof b.zoom?b.zoom():b.addClass("no-zoom"),T.$content.html(v),T.contentLoaded()},error:function error(h,g){var v=$(w);T.$content.html(v),T.contentLoaded()}});var P=C.data("title")?C.data("title"):C.attr("title");T.setTitle(P),"function"===typeof ga&&ga("send","event","meta","Image Click",A)}else if(A.match(/(youtube|youtube-nocookie|youtu|vimeo)\.(com|be)\/(watch\?v=([\w-]+)|([\w-]+))/)){var R,N=A.match(/(youtube|youtube-nocookie|youtu|vimeo)\.(com|be)\/(watch\?v=([\w-]+)|([\w-]+))/),U="meta-lightbox-video";if("youtube"==N[1]&&(R="https://www.youtube.com/embed/".concat(N[4]),U="".concat(U," meta-lightbox-youtube")),"youtu"==N[1]&&(R="https://www.youtube.com/embed/".concat(N[3]),U="".concat(U," meta-lightbox-youtube")),"youtube-nocookie"==N[1]&&(R="https://www.youtube-nocookie.com/embed/".concat(N[4]),U="".concat(U," meta-lightbox-youtube")),"vimeo"==N[1]&&(R="https://player.vimeo.com/video/".concat(N[3]),U="".concat(U," meta-lightbox-vimeo")),!R)return console.warn("".concat(b,": Video loading bad URL")),!1;if(!T.loadIframe(R,U))return C.addClass("meta-offline"),!1;C.removeClass("meta-offline");var q=C.data("title")?C.data("title"):C.attr("title");T.setTitle(q),"function"===typeof ga&&ga("send","event","meta","Video Click",N)}else if("#"==A.substring(0,1))$(A).length?(wrap=$('<div class="meta-lightbox-inline" />'),wrap.append($(A).clone().show()),wrap.outerHeight()<T.$content.height()&&wrap.css({position:"relative",top:"50%","margin-top":"".concat(-wrap.outerHeight()/2,"px")}),g.resize((function(){wrap.outerHeight()<T.$content.height()&&wrap.css({position:"relative",top:"50%","margin-top":"".concat(-wrap.outerHeight()/2,"px")})})),T.$content.html(wrap),T.contentLoaded()):(wrap=$(w),T.$content.html(wrap),T.contentLoaded()),$(".meta-lightbox-title-wrap").html(""),"function"===typeof ga&&ga("send","event","meta","inline HTML click",A);else{if(C.data("force-iframe"))return console.log("".concat(b,": IFrame forced")),T.loadIframe(A,"meta-lightbox-iframe-content")?(C.removeClass("meta-offline"),!0):(C.addClass("meta-offline"),!1);console.log("".concat(b,": loading AJAX")),$.ajax({sync:!1,async:!0,url:A,dataType:"html",method:"GET",cache:!1,statusCode:{404:function _(){console.log("".concat(b,": page not found")),h.location.href=url},302:function _(){console.log("".concat(b,": redirect 302")),h.location.href=url}},error:function error(h,g){console.log("".concat(b,": AJAX request failure.").concat(h.statusText));var v=$(w);T.$content.html(v),T.contentLoaded(),"function"===typeof ga&&ga("send","event","error","AJAX ERROR",h.statusText)},success:function success(g,y,w){console.log("".concat(b,": AJAX success"));try{var C=$.parseJSON(g);if("object"===meta_lightbox_typeof(C)){if(console.log("".concat(b,": AJAX JSON")),"object"===meta_lightbox_typeof(C.regions)&&"undefinded"!==typeof C.regions.LayoutAjax){var A=$('<div class="meta-lightbox-ajax" />');A.html(C.regions.LayoutAjax),T.$content.html(A),T.contentLoaded()}var k=w.getResponseHeader("X-Title"),D=w.getResponseHeader("X-Link");k&&k.length&&D&&D.length&&D!==h.location.href&&D.substring(0,D.indexOf("#"))!==h.location.href.replace($("base").attr("href"),"/")&&($(".meta-lightbox-ajax").data("curr-title",v.title),$(".meta-lightbox-ajax").data("curr-link",h.location.href),"undefined"!==typeof h.localStorage&&"/"!==D&&h.localStorage.setItem("current-page",D),v.URL!==D&&v.URL!==$("base").attr("href")+D&&v.URL!=="".concat($("base").attr("href"),"/").concat(D)&&h.history.pushState({title:k,page:D,ajax:"true"},k,D),$(".meta-lightbox-title-wrap").html(""),"function"===typeof ga&&(ga("set",{page:D.replace($("base").attr("href"),""),title:k}),ga("send","pageview")))}}catch(R){console.log("".concat(b,": AJAX HTML"));var P=$('<div class="meta-lightbox-ajax" />');P.append(g),T.$content.html(P),T.contentLoaded()}T.contentLoaded()}})}}},{key:"loadIframe",value:function loadIframe(h,g){var v=this,w=$("<iframe>",{src:h,class:g,frameborder:0,vspace:0,hspace:0,scrolling:"auto",allowtransparency:"true"});return console.log("".concat(b,": loading iframe")),y.append('<div id="MetaIFramePreload" class="hidden d-none iframe-preload" style="display:none"></div>'),$("#MetaIFramePreload").html(w),w.on("load",(function(){if(y.hasClass("is-offline"))return console.warn("".concat(b,": Unable to load iframe offline")),!1;v.finishIFrameLoading()})),w}},{key:"finishIFrameLoading",value:function finishIFrameLoading(){var h=this,g=$("#MetaIFramePreload");if(!g.length)return console.warn("".concat(b,": iframe preload not found")),!1;var v=g.find("iframe");if(!v.length)return console.warn("".concat(b,": iframe preload > iframe not found")),!1;console.log("".concat(b,": the iframe was loaded")),g.html(""),g.remove(),h.$content.addClass("iframe-delay"),h.$content.html(v),h.contentLoaded(),setTimeout((function(){h.$content.removeClass("iframe-delay")}),1e3)}},{key:"contentLoaded",value:function contentLoaded(){var h=this;h.$content.removeClass("meta-lightbox-loading"),$(".meta-lightbox-content .js".concat(b,',.meta-lightbox-content [data-toggle="lightbox"],.meta-lightbox-content [data-lightbox-gallery]')).on("click",(function(g){g.preventDefault(),g.stopPropagation();var v=$(g.currentTarget);h.show(v)})),$(".js".concat(b,"-close")).on("click",(function(g){g.preventDefault(),h.hide()})),setTimeout((function(){g.trigger("meta-lightbox-loaded")}),1),setTimeout((function(){y.addClass("meta-lightbox-body-effect-fade")}),600)}},{key:"hide",value:function hide(g){var b=this.$overlay,w=$(".meta-lightbox-ajax").data("curr-title"),C=$(".meta-lightbox-ajax").data("curr-link");w&&C&&("undefined"!==typeof h.localStorage&&"/"!==C&&h.localStorage.setItem("current-page",C),v.URL!==C&&v.URL!==$("base").attr("href")+C&&v.URL!=="".concat($("base").attr("href"),"/").concat(C)&&h.history.replaceState({title:w,page:C,ajax:"true"},w,C)),b.removeClass("meta-lightbox-open"),y.removeClass("meta-lightbox-body-effect-fade"),$(".meta-lightbox-content .meta-lightbox-zoom-wrapper").trigger("zoom.destroy"),this.isMSIE&&(b.find("iframe").attr("src"," "),b.find("iframe").remove()),$(".meta-lightbox-prev").off("click"),$(".meta-lightbox-next").off("click"),$(".meta-lightbox-content").empty(),y.removeClass("meta-lightbox-body-effect-fade")}}]),MetaLightboxUI}();g.on("MetaLightboxUI.init ".concat(z," ").concat(W),(function(){C.init()})),g.on("".concat(B),(function(){$(".meta-offline").removeClass("meta-offline"),console.log("".concat(b,": reloading iframe")),C.finishIFrameLoading();var h=$(".meta-lightbox-content iframe");h.length&&h.attr("src",h.attr("src"))})),h.MetaLightboxUI=C}(b());var Y=__webpack_require__(567),Q=__webpack_require__.n(Y);function _layout_defineProperties(h,g){for(var v=0;v<g.length;v++){var y=g[v];y.enumerable=y.enumerable||!1,y.configurable=!0,"value"in y&&(y.writable=!0),Object.defineProperty(h,y.key,y)}}(function($){var h=window,g=$(h),v=(document,$("body")),y="LayoutUI",b=function(){function LayoutUI(){!function _layout_classCallCheck(h,g){if(!(h instanceof g))throw new TypeError("Cannot call a class as a function")}(this,LayoutUI)}return function _layout_createClass(h,g,v){return g&&_layout_defineProperties(h.prototype,g),v&&_layout_defineProperties(h,v),h}(LayoutUI,null,[{key:"init",value:function init(){this.dispose(),console.log("".concat(y,": init")),Q().init(),g.trigger(w.LODEDANDREADY),v.append('<link href="https://fonts.googleapis.com/css?family=Open+Sans:300,400,400i,700,700i&display=swap" rel="stylesheet" />')}},{key:"dispose",value:function dispose(){console.log("".concat(y,": dispose"))}}]),LayoutUI}();g.on("".concat(y,".init ").concat(w.AJAX," ").concat(w.LOADED),(function(){b.init()})),h.LayoutUI=b})(b()),__webpack_require__(154);if("serviceWorker"in navigator){var V=(document.getElementsByTagName("base")[0]||{}).href,G=(document.querySelector('meta[name="swversion"]')||{}).content;V&&navigator.serviceWorker.register("".concat(V,"sw.js?v=").concat(G)).then((function(){console.log("Service Worker Registered")}))}function importAll(h){return h.keys().map(h)}importAll(__webpack_require__(999)),importAll(__webpack_require__(761))}()}();