silverstripe-webpack/app/client/dist/js/sample.js
2022-11-01 22:16:18 +02:00

2 lines
80 KiB
JavaScript

/*! For license information please see sample.js.LICENSE.txt */
!function(){var t={103:function(t,o,a){var i={"./bg.png":239,"./logo.png":142,"./logo.svg":219,"./original.png":410,"./original2.png":417,"./photo1.png":272,"./photo2.jpg":919,"./photo3.svg":420,"app/client/src/img/bg.png":239,"app/client/src/img/logo.png":142,"app/client/src/img/logo.svg":219,"app/client/src/img/original.png":410,"app/client/src/img/original2.png":417,"app/client/src/img/photo1.png":272,"app/client/src/img/photo2.jpg":919,"app/client/src/img/photo3.svg":420,"bg.png":239,"img/bg.png":239,"img/logo.png":142,"img/logo.svg":219,"img/original.png":410,"img/original2.png":417,"img/photo1.png":272,"img/photo2.jpg":919,"img/photo3.svg":420,"logo.png":142,"logo.svg":219,"original.png":410,"original2.png":417,"photo1.png":272,"photo2.jpg":919,"photo3.svg":420};function webpackContext(t){var o=webpackContextResolve(t);return a(o)}function webpackContextResolve(t){if(!a.o(i,t)){var o=new Error("Cannot find module '"+t+"'");throw o.code="MODULE_NOT_FOUND",o}return i[t]}webpackContext.keys=function webpackContextKeys(){return Object.keys(i)},webpackContext.resolve=webpackContextResolve,t.exports=webpackContext,webpackContext.id=103},370:function(t,o,a){"use strict";var i={APOLLO_ERROR:"apollo-error",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",DOMLOADED:"DOMContentLoaded",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=(function(t){var o="_main.visibility",a=document,c=a.body;a.addEventListener("visibilitychange",(function(){"hidden"===a.visibilityState?(console.log("".concat(o,": Tab: hidden")),c.classList.add("is-hidden"),c.classList.remove("is-focused"),t.dispatchEvent(new Event(i.TABHIDDEN))):(console.log("".concat(o,": Tab: focused")),c.classList.add("is-focused"),c.classList.remove("is-hidden"),t.dispatchEvent(new Event(i.TABFOCUSED)))}))}(window),function(t){var o,a,c="_main.touch",l=document,u=l.body,d=function SET_TOUCH_SCREEN(l,d){a||d===o||(l?(console.log("".concat(c,": Touch screen enabled")),u.classList.add("is-touch"),u.classList.remove("is-mouse"),t.dispatchEvent(new Event(i.TOUCHENABLE))):(console.log("".concat(c,": Touch screen disabled")),u.classList.add("is-mouse"),u.classList.remove("is-touch"),t.dispatchEvent(new Event(i.TOUCHDISABLED))),o=d,a||(a=setTimeout((function(){clearTimeout(a),a=null}),500)))};d("ontouchstart"in t||navigator.MaxTouchPoints>0||navigator.msMaxTouchPoints>0||t.matchMedia("(hover: none)").matches,"init"),l.addEventListener("touchend",(function(t){var o=!1;"click"!==t.type&&(o=!0),d(o,"click-touchend")})),l.addEventListener("click",(function(t){var o=!1;"click"!==t.type&&(o=!0),d(o,"click-touchend")}))}(window),{ENVS:["xs","sm","md","lg","xl","xxl","xxxl"]});function _toConsumableArray(t){return function _arrayWithoutHoles(t){if(Array.isArray(t))return _arrayLikeToArray(t)}(t)||function _iterableToArray(t){if("undefined"!==typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function _unsupportedIterableToArray(t,o){if(!t)return;if("string"===typeof t)return _arrayLikeToArray(t,o);var a=Object.prototype.toString.call(t).slice(8,-1);"Object"===a&&t.constructor&&(a=t.constructor.name);if("Map"===a||"Set"===a)return Array.from(t);if("Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a))return _arrayLikeToArray(t,o)}(t)||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(t,o){(null==o||o>t.length)&&(o=t.length);for(var a=0,i=new Array(o);a<o;a++)i[a]=t[a];return i}(function(t){var o=document,a=o.body,l=function detectCSSScreenSize(){var i,l=o.createElement("div");l.className="env-test",a.appendChild(l);var u=_toConsumableArray(c.ENVS).reverse(),d=u.shift();(i=a.classList).remove.apply(i,_toConsumableArray(u));for(var p=0;p<u.length;++p){var y=u[p];if(l.classList.add("d-".concat(y,"-none")),"none"===t.getComputedStyle(l).display){d=y,a.classList.add("".concat(d));break}}var v=!0;return t.innerWidth>t.innerHeight?(a.classList.add("landscape"),a.classList.remove("portrait")):(v=!1,a.classList.add("portrait"),a.classList.remove("landscape")),console.log("".concat("_main.css-screen-size",": screen size detected ").concat(d," | landscape ").concat(v)),a.removeChild(l),d};t.detectCSSScreenSize=l,t.addEventListener("".concat(i.LOADED),l),t.addEventListener("".concat(i.RESIZE),l)})(window),a(444);function _defineProperties(t,o){for(var a=0;a<o.length;a++){var i=o[a];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}var l="_main.loading-spinner",u=document.getElementById("PageLoading"),d=function(){function SpinnerUI(){!function _classCallCheck(t,o){if(!(t instanceof o))throw new TypeError("Cannot call a class as a function")}(this,SpinnerUI)}return function _createClass(t,o,a){return o&&_defineProperties(t.prototype,o),a&&_defineProperties(t,a),Object.defineProperty(t,"prototype",{writable:!1}),t}(SpinnerUI,null,[{key:"show",value:function show(){console.log("".concat(l,": show")),u.classList.remove("d-none")}},{key:"hide",value:function hide(){console.log("".concat(l,": hide")),u.classList.add("d-none")}}]),SpinnerUI}();function main_defineProperties(t,o){for(var a=0;a<o.length;a++){var i=o[a];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}!function(t){var o=document.body;console.info("%cUI Kit ".concat("@a2nt/ss-bootstrap-ui-webpack-boilerplate-react"," ").concat("4.8.1"),"color:yellow;font-size:14px"),console.info("%c".concat("@a2nt/meta-lightbox-js"," ").concat("4.2.3"),"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.info("%cENV: ".concat("production"),"color:green;font-size:10px"),console.groupCollapsed("Events"),Object.keys(i).forEach((function(t){console.info("".concat(t,": ").concat(i[t]))})),console.groupEnd("Events"),console.groupCollapsed("Consts"),Object.keys(c).forEach((function(t){console.info("".concat(t,": ").concat(c[t]))})),console.groupEnd("Events"),console.groupCollapsed("Init"),console.time("init");var a=function(){function MainUI(){!function main_classCallCheck(t,o){if(!(t instanceof o))throw new TypeError("Cannot call a class as a function")}(this,MainUI)}return function main_createClass(t,o,a){return o&&main_defineProperties(t.prototype,o),a&&main_defineProperties(t,a),Object.defineProperty(t,"prototype",{writable:!1}),t}(MainUI,null,[{key:"init",value:function init(){t.history.replaceState({landing:t.location.href},document.title,t.location.href),this.loaded()}},{key:"loaded",value:function loaded(){console.log("".concat("_main",": loaded"))}}]),MainUI}(),l=function documentInit(){a.init(),o.classList.add("loaded"),d.hide(),console.groupEnd("init"),console.timeEnd("init"),t.addEventListener("".concat(i.LOADED),(function(o){t.dispatchEvent(new Event(i.LODEDANDREADY))}))};"loading"===document.readyState?document.addEventListener("".concat(i.DOMLOADED),l):l(),t.addEventListener("".concat(i.AJAX),(function(){a.loaded()})),t.MainUI=a}(window);var p="ajax-load",y="load-ready";function window_toConsumableArray(t){return function window_arrayWithoutHoles(t){if(Array.isArray(t))return window_arrayLikeToArray(t)}(t)||function window_iterableToArray(t){if("undefined"!==typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function window_unsupportedIterableToArray(t,o){if(!t)return;if("string"===typeof t)return window_arrayLikeToArray(t,o);var a=Object.prototype.toString.call(t).slice(8,-1);"Object"===a&&t.constructor&&(a=t.constructor.name);if("Map"===a||"Set"===a)return Array.from(t);if("Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a))return window_arrayLikeToArray(t,o)}(t)||function window_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 window_arrayLikeToArray(t,o){(null==o||o>t.length)&&(o=t.length);for(var a=0,i=new Array(o);a<o;a++)i[a]=t[a];return i}function window_classCallCheck(t,o){if(!(t instanceof o))throw new TypeError("Cannot call a class as a function")}function window_defineProperties(t,o){for(var a=0;a<o.length;a++){var i=o[a];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function _defineProperty(t,o,a){return o in t?Object.defineProperty(t,o,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[o]=a,t}var v=window,g=function(){function MetaWindow(){var t=this,o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{shown:!1},i=arguments.length>1?arguments[1]:void 0;window_classCallCheck(this,MetaWindow),_defineProperty(this,"state",{content:"",type:["empty"],shown:!1,loading:!1,error:!1,embed:!1,collections:[],current:null,target:null,extraClass:null}),_defineProperty(this,"show",(function(){var o=t;console.log("".concat(o.name,": show")),o.setState({shown:!0}),v.dispatchEvent(new Event("{ui.name}.show"))})),_defineProperty(this,"hide",(function(){var o=t;console.log("".concat(o.name,": hide")),o.setState({shown:!1}),v.dispatchEvent(new Event("{ui.name}.hide"))})),_defineProperty(this,"next",(function(){var o=t,a=o.state.current.getAttribute("data-gallery"),i=o._currIndex();i<o.state.collections[a].length-1?i++:i=0,o.state.collections[a][i].click(),console.log("".concat(o.name,": next")),v.dispatchEvent(new Event("{ui.name}.next"))})),_defineProperty(this,"prev",(function(){var o=t,a=o.state.current.getAttribute("data-gallery"),i=o._currIndex();i>0?i--:i=o.state.collections[a].length-1,o.state.collections[a][i].click(),console.log("".concat(o.name,": prev")),v.dispatchEvent(new Event("{ui.name}.prev"))})),_defineProperty(this,"reset",(function(){t.setState({content:"",type:["empty"],shown:!1,loading:!1,error:!1,embed:!1})})),_defineProperty(this,"load",(function(o){var a=t;a.reset(),a.setState({loading:!0}),a.show(),window.fetch(o).then((function(t){var i=t.headers.get("content-type");console.log(t),console.log("".concat(a.name,": response content-type: ").concat(i));switch(i){case"image/jpeg":case"image/png":case"image/svg+xml":case"image/bmp":case"image/gif":case"image/tiff":case"image/webp":case"image/jpg":case"image/svg":t.arrayBuffer().then((function(t){a.setContent('<img src="data:'.concat(i,";base64,").concat(a._imageEncode(t),'" />'),"meta-".concat(a.name,"--image"))}));break;case"application/json":case"application/ld+json":case"application/json; charset=UTF-8":a.setContent("".concat((!1).Content),["meta-".concat(a.name,"--text"),"meta-".concat(a.name,"--html"),"meta-".concat(a.name,"--json")]);break;case"video/mp4":a.setContent('<video controls autoplay><source src="'.concat(o,'" type="video/mp4">Your browser does not support the video tag.</video>'),["meta-".concat(a.name,"--image"),"meta-".concat(a.name,"--video")]);break;case"text/html":case"application/xhtml+xml":case"text/plain":case"text/html; charset=UTF-8":case"application/xhtml+xml; charset=UTF-8":case"text/plain; charset=UTF-8":a.setContent(t.data,["meta-".concat(a.name,"--text"),"meta-".concat(a.name,"--html"),"meta-".concat(a.name,"--pajax")]);break;default:console.warn("".concat(a.name,": Unknown response content-type!"))}v.dispatchEvent(new Event("{ui.name}.loaded"))})).catch((function(t){console.error(t);var o="";if(t.response)switch(t.response.status){case 404:o="Not Found.";break;case 500:o="Server issue, please try again latter.";break;default:o="Something went wrong."}else t.request?o="No response received":console.warn("Error",t.message);a.setState({error:o}),v.dispatchEvent(new Event("{ui.name}.error"))})).then((function(){a.setState({loading:!1}),setTimeout((function(){a.state.current.classList.remove("loading")}),1e3)}))})),_defineProperty(this,"_currIndex",(function(){var o=t,a=o.state.current,i=a.getAttribute("data-gallery");return o.state.collections[i].indexOf(a)})),_defineProperty(this,"embed",(function(o){var a=t;console.log("".concat(a.name,": embed")),a.reset(),a.setState({embed:o,loading:!1,type:["meta-".concat(a.name,"--embed"),"meta-".concat(a.name,"--video")]}),a.show()})),_defineProperty(this,"setCaption",(function(o){var a=t;console.log("".concat(a.name,": setCaption")),a.state.caption=o})),_defineProperty(this,"addExtraClass",(function(o){var a=t;o&&o.length&&(console.log("".concat(a.name,": addExtraClass(").concat(o,")")),a.state.extraClass=o)})),_defineProperty(this,"getCaption",(function(){return t.state.caption})),_defineProperty(this,"_imageEncode",(function(t){var o="";return[].slice.call(new Uint8Array(t)).forEach((function(t){o+=String.fromCharCode(t)})),window.btoa(o)})),_defineProperty(this,"setContent",(function(o,a){var i=t;console.log("".concat(i.name,": setContent"));var c=a||["meta-".concat(i.name,"--html"),"meta-".concat(i.name,"--text")];Array.isArray(c)||(c=a.split(" ")),i.setState({content:o,type:c})})),_defineProperty(this,"getHtml",(function(){var o=t;if(o.state.embed){var i=a(281)(o.state.embed);o.state.content='<iframe width="600" height="380" src="'.concat(i,'" frameborder="0"></iframe>')}return o.state.content}));var c=this;switch(c.name=c.constructor.name,console.log("".concat(c.name,": init")),c.setState(o),i){case"show":case"hide":c.hide()}v.dispatchEvent(new Event("{ui.name}.init"))}return function window_createClass(t,o,a){return o&&window_defineProperties(t.prototype,o),a&&window_defineProperties(t,a),Object.defineProperty(t,"prototype",{writable:!1}),t}(MetaWindow,[{key:"cleanLinks",value:function cleanLinks(){document.querySelectorAll('[data-toggle="lightbox"]').forEach((function(t){t.classList.remove("loading")}))}},{key:"collectGaleries",value:function collectGaleries(t){var o=this;t&&(o.state.collections[t]=[],document.querySelectorAll('[data-toggle="lightbox"][data-gallery="'.concat(t,'"]')).forEach((function(a){o.state.collections[t].push(a)})))}},{key:"toggle",value:function toggle(t){var o=this;o.cleanLinks();var a=t.getAttribute("href")||t.getAttribute("data-href"),i=t.getAttribute("data-embed");t.classList.add("loading"),o.state.current=t;var c=t.getAttribute("data-title");c&&o.setCaption(c),i?o.embed(a):o.load(a),o.addExtraClass(t.getAttribute("data-lightbox-class"))}},{key:"init",value:function init(){var t=this;console.log("MetaWindow: [links] init"),document.querySelectorAll('[data-toggle="lightbox"],[data-gallery]').forEach((function(o){var a=o.getAttribute("data-gallery");t.collectGaleries(a),o.addEventListener("click",(function(o){o.preventDefault(),console.log("MetaWindow: [link] click");var a=o.currentTarget;t.toggle(a)}))}))}},{key:"setState",value:function setState(t){var o=this;o.state=Object.assign({},o.state,t),o.render()}},{key:"render",value:function render(){var t,o=this,a=o.name,i=o.state.current;o.state.target.innerHTML="";var c=document.createElement("div");c.classList.add("meta-".concat(a)),(t=c.classList).add.apply(t,window_toConsumableArray(o.state.type)),o.state.target.append(c);var l=document.createElement("div");l.classList.add("meta-".concat(a,"-overlay")),o.state.shown&&l.classList.add("meta-".concat(a,"-overlay--open")),o.state.loading&&l.classList.add("meta-".concat(a,"-overlay--loading")),o.state.error&&l.classList.add("meta-".concat(a,"-overlay--error")),c.append(l);var u=document.createElement("div");u.classList.add("meta-content"),l.append(u);var d=document.createElement("button");if(d.classList.add("meta-nav","meta-close","a"),d.innerHTML='<i class="icon fa fas fa-times"></i> <span class="visually-hidden">Close</span>',d.addEventListener("click",(function(t){t.preventDefault(),o.hide()})),u.append(d),i){var p=i.getAttribute("data-gallery");if(p&&o.state.collections[p].length>1){var y=document.createElement("nav");y.classList.add("meta-navs");var v=document.createElement("button");v.classList.add("meta-nav","meta-nav-arrow","meta-nav-arrow__prev","a"),v.innerHTML='<i class="icon fa fas fa-chevron-left"></i> <span class="visually-hidden">Previous</span>',v.addEventListener("click",(function(t){t.preventDefault(),o.prev()})),y.append(v);var g=document.createElement("button");g.classList.add("meta-nav","meta-nav-arrow","meta-nav-arrow__next","a"),g.innerHTML='<i class="icon fa fas fa-chevron-right"></i> <span class="visually-hidden">Next</span>',g.addEventListener("click",(function(t){t.preventDefault(),o.next()})),y.append(g),u.append(y)}}var m=document.createElement("section");if(m.classList.add("meta-wrap","typography"),o.state.extraClass&&m.classList.add(o.state.extraClass),m.innerHTML=o.getHtml(),u.append(m),o.state.error){var h=document.createElement("div");h.classList.add("meta-error"),h.innerHTML=o.state.error,u.append(h)}else if(o.state.caption){var b=document.createElement("div");b.classList.add("meta-caption"),b.innerHTML=o.getCaption(),u.append(b)}return"undefined"!==typeof window.FontAwesome&&window.FontAwesome.dom.i2svg(),o}}]),MetaWindow}(),m=g,h=document.getElementById("MetaLightboxApp");h||console.log("MetaWindow: missing container #MetaLightboxApp");var b=function init(){var t=window.MetaWindow;"undefined"===typeof t&&(t=new m({target:h}),window.MetaWindow=t),t.init()};window.addEventListener("".concat(y),b),window.addEventListener("".concat(p),b),window.addEventListener("MetaWindow.initLinks",b);function _createForOfIteratorHelper(t,o){var a="undefined"!==typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!a){if(Array.isArray(t)||(a=function util_unsupportedIterableToArray(t,o){if(!t)return;if("string"===typeof t)return util_arrayLikeToArray(t,o);var a=Object.prototype.toString.call(t).slice(8,-1);"Object"===a&&t.constructor&&(a=t.constructor.name);if("Map"===a||"Set"===a)return Array.from(t);if("Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a))return util_arrayLikeToArray(t,o)}(t))||o&&t&&"number"===typeof t.length){a&&(t=a);var i=0,c=function F(){};return{s:c,n:function n(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function e(t){throw t},f:c}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var l,u=!0,d=!1;return{s:function s(){a=a.call(t)},n:function n(){var t=a.next();return u=t.done,t},e:function e(t){d=!0,l=t},f:function f(){try{u||null==a.return||a.return()}finally{if(d)throw l}}}}function util_arrayLikeToArray(t,o){(null==o||o>t.length)&&(o=t.length);for(var a=0,i=new Array(o);a<o;a++)i[a]=t[a];return i}function _typeof(t){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_typeof(t)}var _="transitionend",w=function toType(t){return null===t||void 0===t?"".concat(t):Object.prototype.toString.call(t).match(/\s([a-z]+)/i)[1].toLowerCase()},E=function getSelector(t){var o=t.getAttribute("data-bs-target");if(!o||"#"===o){var a=t.getAttribute("href");if(!a||!a.includes("#")&&!a.startsWith("."))return null;a.includes("#")&&!a.startsWith("#")&&(a="#".concat(a.split("#")[1])),o=a&&"#"!==a?a.trim():null}return o},A=function getSelectorFromElement(t){var o=E(t);return o&&document.querySelector(o)?o:null},O=function getElementFromSelector(t){var o=E(t);return o?document.querySelector(o):null},S=function getTransitionDurationFromElement(t){if(!t)return 0;var o=window.getComputedStyle(t),a=o.transitionDuration,i=o.transitionDelay,c=Number.parseFloat(a),l=Number.parseFloat(i);return c||l?(a=a.split(",")[0],i=i.split(",")[0],1e3*(Number.parseFloat(a)+Number.parseFloat(i))):0},L=function triggerTransitionEnd(t){t.dispatchEvent(new Event(_))},C=function isElement(t){return!(!t||"object"!==_typeof(t))&&("undefined"!==typeof t.jquery&&(t=t[0]),"undefined"!==typeof t.nodeType)},k=function getElement(t){return C(t)?t.jquery?t[0]:t:"string"===typeof t&&t.length>0?document.querySelector(t):null},T=function isVisible(t){if(!C(t)||0===t.getClientRects().length)return!1;var o="visible"===getComputedStyle(t).getPropertyValue("visibility"),a=t.closest("details:not([open])");if(!a)return o;if(a!==t){var i=t.closest("summary");if(i&&i.parentNode!==a)return!1;if(null===i)return!1}return o},P=function reflow(t){t.offsetHeight},I=function getjQuery(){return window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null},j=[],x=function isRTL(){return"rtl"===document.documentElement.dir},D=function defineJQueryPlugin(t){!function onDOMContentLoaded(t){"loading"===document.readyState?(j.length||document.addEventListener("DOMContentLoaded",(function(){var t,o=_createForOfIteratorHelper(j);try{for(o.s();!(t=o.n()).done;)(0,t.value)()}catch(a){o.e(a)}finally{o.f()}})),j.push(t)):t()}((function(){var $=I();if($){var o=t.NAME,a=$.fn[o];$.fn[o]=t.jQueryInterface,$.fn[o].Constructor=t,$.fn[o].noConflict=function(){return $.fn[o]=a,t.jQueryInterface}}}))},N=function execute(t){"function"===typeof t&&t()},R=function executeAfterTransition(t,o){var a=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(a){var i=5,c=S(o)+i,l=!1,u=function handler(a){a.target===o&&(l=!0,o.removeEventListener(_,handler),N(t))};o.addEventListener(_,u),setTimeout((function(){l||L(o)}),c)}else N(t)},M=function getNextActiveElement(t,o,a,i){var c=t.length,l=t.indexOf(o);return-1===l?!a&&i?t[c-1]:t[0]:(l+=a?1:-1,i&&(l=(l+c)%c),t[Math.max(0,Math.min(l,c-1))])};function _slicedToArray(t,o){return function _arrayWithHoles(t){if(Array.isArray(t))return t}(t)||function _iterableToArrayLimit(t,o){var a=null==t?null:"undefined"!==typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null==a)return;var i,c,l=[],u=!0,d=!1;try{for(a=a.call(t);!(u=(i=a.next()).done)&&(l.push(i.value),!o||l.length!==o);u=!0);}catch(p){d=!0,c=p}finally{try{u||null==a.return||a.return()}finally{if(d)throw c}}return l}(t,o)||event_handler_unsupportedIterableToArray(t,o)||function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function event_handler_createForOfIteratorHelper(t,o){var a="undefined"!==typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!a){if(Array.isArray(t)||(a=event_handler_unsupportedIterableToArray(t))||o&&t&&"number"===typeof t.length){a&&(t=a);var i=0,c=function F(){};return{s:c,n:function n(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function e(t){throw t},f:c}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var l,u=!0,d=!1;return{s:function s(){a=a.call(t)},n:function n(){var t=a.next();return u=t.done,t},e:function e(t){d=!0,l=t},f:function f(){try{u||null==a.return||a.return()}finally{if(d)throw l}}}}function event_handler_unsupportedIterableToArray(t,o){if(t){if("string"===typeof t)return event_handler_arrayLikeToArray(t,o);var a=Object.prototype.toString.call(t).slice(8,-1);return"Object"===a&&t.constructor&&(a=t.constructor.name),"Map"===a||"Set"===a?Array.from(t):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?event_handler_arrayLikeToArray(t,o):void 0}}function event_handler_arrayLikeToArray(t,o){(null==o||o>t.length)&&(o=t.length);for(var a=0,i=new Array(o);a<o;a++)i[a]=t[a];return i}var H=/[^.]*(?=\..*)\.|.*/,U=/\..*/,q=/::\d+$/,z={},B=1,W={mouseenter:"mouseover",mouseleave:"mouseout"},Y=new Set(["click","dblclick","mouseup","mousedown","contextmenu","mousewheel","DOMMouseScroll","mouseover","mouseout","mousemove","selectstart","selectend","keydown","keypress","keyup","orientationchange","touchstart","touchmove","touchend","touchcancel","pointerdown","pointermove","pointerup","pointerleave","pointercancel","gesturestart","gesturechange","gestureend","focus","blur","change","reset","select","submit","focusin","focusout","load","unload","beforeunload","resize","move","DOMContentLoaded","readystatechange","error","abort","scroll"]);function makeEventUid(t,o){return o&&"".concat(o,"::").concat(B++)||t.uidEvent||B++}function getElementEvents(t){var o=makeEventUid(t);return t.uidEvent=o,z[o]=z[o]||{},z[o]}function findHandler(t,o){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return Object.values(t).find((function(t){return t.callable===o&&t.delegationSelector===a}))}function normalizeParameters(t,o,a){var i="string"===typeof o,c=i?a:o||a,l=getTypeEvent(t);return Y.has(l)||(l=t),[i,c,l]}function addHandler(t,o,a,i,c){if("string"===typeof o&&t){var l=_slicedToArray(normalizeParameters(o,a,i),3),u=l[0],d=l[1],p=l[2];if(o in W){d=function wrapFunction(t){return function(o){if(!o.relatedTarget||o.relatedTarget!==o.delegateTarget&&!o.delegateTarget.contains(o.relatedTarget))return t.call(this,o)}}(d)}var y=getElementEvents(t),v=y[p]||(y[p]={}),g=findHandler(v,d,u?a:null);if(g)g.oneOff=g.oneOff&&c;else{var m=makeEventUid(d,o.replace(H,"")),h=u?function bootstrapDelegationHandler(t,o,a){return function handler(i){for(var c=t.querySelectorAll(o),l=i.target;l&&l!==this;l=l.parentNode){var u,d=event_handler_createForOfIteratorHelper(c);try{for(d.s();!(u=d.n()).done;)if(u.value===l)return hydrateObj(i,{delegateTarget:l}),handler.oneOff&&X.off(t,i.type,o,a),a.apply(l,[i])}catch(p){d.e(p)}finally{d.f()}}}}(t,a,d):function bootstrapHandler(t,o){return function handler(a){return hydrateObj(a,{delegateTarget:t}),handler.oneOff&&X.off(t,a.type,o),o.apply(t,[a])}}(t,d);h.delegationSelector=u?a:null,h.callable=d,h.oneOff=c,h.uidEvent=m,v[m]=h,t.addEventListener(p,h,u)}}}function removeHandler(t,o,a,i,c){var l=findHandler(o[a],i,c);l&&(t.removeEventListener(a,l,Boolean(c)),delete o[a][l.uidEvent])}function removeNamespacedHandlers(t,o,a,i){for(var c=o[a]||{},l=0,u=Object.keys(c);l<u.length;l++){var d=u[l];if(d.includes(i)){var p=c[d];removeHandler(t,o,a,p.callable,p.delegationSelector)}}}function getTypeEvent(t){return t=t.replace(U,""),W[t]||t}var X={on:function on(t,o,a,i){addHandler(t,o,a,i,!1)},one:function one(t,o,a,i){addHandler(t,o,a,i,!0)},off:function off(t,o,a,i){if("string"===typeof o&&t){var c=_slicedToArray(normalizeParameters(o,a,i),3),l=c[0],u=c[1],d=c[2],p=d!==o,y=getElementEvents(t),v=y[d]||{},g=o.startsWith(".");if("undefined"===typeof u){if(g)for(var m=0,h=Object.keys(y);m<h.length;m++){removeNamespacedHandlers(t,y,h[m],o.slice(1))}for(var b=0,_=Object.keys(v);b<_.length;b++){var w=_[b],E=w.replace(q,"");if(!p||o.includes(E)){var A=v[w];removeHandler(t,y,d,A.callable,A.delegationSelector)}}}else{if(!Object.keys(v).length)return;removeHandler(t,y,d,u,l?a:null)}}},trigger:function trigger(t,o,a){if("string"!==typeof o||!t)return null;var $=I(),i=null,c=!0,l=!0,u=!1;o!==getTypeEvent(o)&&$&&(i=$.Event(o,a),$(t).trigger(i),c=!i.isPropagationStopped(),l=!i.isImmediatePropagationStopped(),u=i.isDefaultPrevented());var d=new Event(o,{bubbles:c,cancelable:!0});return d=hydrateObj(d,a),u&&d.preventDefault(),l&&t.dispatchEvent(d),d.defaultPrevented&&i&&i.preventDefault(),d}};function hydrateObj(t,o){for(var a=function _loop(){var o=_slicedToArray(c[i],2),a=o[0],l=o[1];try{t[a]=l}catch(u){Object.defineProperty(t,a,{configurable:!0,get:function get(){return l}})}},i=0,c=Object.entries(o||{});i<c.length;i++)a();return t}var K=X;function selector_engine_toConsumableArray(t){return function selector_engine_arrayWithoutHoles(t){if(Array.isArray(t))return selector_engine_arrayLikeToArray(t)}(t)||function selector_engine_iterableToArray(t){if("undefined"!==typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function selector_engine_unsupportedIterableToArray(t,o){if(!t)return;if("string"===typeof t)return selector_engine_arrayLikeToArray(t,o);var a=Object.prototype.toString.call(t).slice(8,-1);"Object"===a&&t.constructor&&(a=t.constructor.name);if("Map"===a||"Set"===a)return Array.from(t);if("Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a))return selector_engine_arrayLikeToArray(t,o)}(t)||function selector_engine_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 selector_engine_arrayLikeToArray(t,o){(null==o||o>t.length)&&(o=t.length);for(var a=0,i=new Array(o);a<o;a++)i[a]=t[a];return i}var V={find:function find(t){var o,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document.documentElement;return(o=[]).concat.apply(o,selector_engine_toConsumableArray(Element.prototype.querySelectorAll.call(a,t)))},findOne:function findOne(t){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document.documentElement;return Element.prototype.querySelector.call(o,t)},children:function children(t,o){var a;return(a=[]).concat.apply(a,selector_engine_toConsumableArray(t.children)).filter((function(t){return t.matches(o)}))},parents:function parents(t,o){for(var parents=[],a=t.parentNode.closest(o);a;)parents.push(a),a=a.parentNode.closest(o);return parents},prev:function prev(t,o){for(var a=t.previousElementSibling;a;){if(a.matches(o))return[a];a=a.previousElementSibling}return[]},next:function next(t,o){for(var next=t.nextElementSibling;next;){if(next.matches(o))return[next];next=next.nextElementSibling}return[]},focusableChildren:function focusableChildren(t){var o=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map((function(t){return"".concat(t,':not([tabindex^="-"])')})).join(",");return this.find(o,t).filter((function(t){return!function isDisabled(t){return!t||t.nodeType!==Node.ELEMENT_NODE||!!t.classList.contains("disabled")||("undefined"!==typeof t.disabled?t.disabled:t.hasAttribute("disabled")&&"false"!==t.getAttribute("disabled"))}(t)&&T(t)}))}},J=V,G=new Map,Q=function set(t,o,a){G.has(t)||G.set(t,new Map);var i=G.get(t);i.has(o)||0===i.size?i.set(o,a):console.error("Bootstrap doesn't allow more than one instance per element. Bound instance: ".concat(Array.from(i.keys())[0],"."))},Z=function get(t,o){return G.has(t)&&G.get(t).get(o)||null},ee=function remove(t,o){if(G.has(t)){var a=G.get(t);a.delete(o),0===a.size&&G.delete(t)}};function manipulator_createForOfIteratorHelper(t,o){var a="undefined"!==typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!a){if(Array.isArray(t)||(a=function manipulator_unsupportedIterableToArray(t,o){if(!t)return;if("string"===typeof t)return manipulator_arrayLikeToArray(t,o);var a=Object.prototype.toString.call(t).slice(8,-1);"Object"===a&&t.constructor&&(a=t.constructor.name);if("Map"===a||"Set"===a)return Array.from(t);if("Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a))return manipulator_arrayLikeToArray(t,o)}(t))||o&&t&&"number"===typeof t.length){a&&(t=a);var i=0,c=function F(){};return{s:c,n:function n(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function e(t){throw t},f:c}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var l,u=!0,d=!1;return{s:function s(){a=a.call(t)},n:function n(){var t=a.next();return u=t.done,t},e:function e(t){d=!0,l=t},f:function f(){try{u||null==a.return||a.return()}finally{if(d)throw l}}}}function manipulator_arrayLikeToArray(t,o){(null==o||o>t.length)&&(o=t.length);for(var a=0,i=new Array(o);a<o;a++)i[a]=t[a];return i}function normalizeData(t){if("true"===t)return!0;if("false"===t)return!1;if(t===Number(t).toString())return Number(t);if(""===t||"null"===t)return null;if("string"!==typeof t)return t;try{return JSON.parse(decodeURIComponent(t))}catch(o){return t}}function normalizeDataKey(t){return t.replace(/[A-Z]/g,(function(t){return"-".concat(t.toLowerCase())}))}var te={setDataAttribute:function setDataAttribute(t,o,a){t.setAttribute("data-bs-".concat(normalizeDataKey(o)),a)},removeDataAttribute:function removeDataAttribute(t,o){t.removeAttribute("data-bs-".concat(normalizeDataKey(o)))},getDataAttributes:function getDataAttributes(t){if(!t)return{};var o,a={},i=Object.keys(t.dataset).filter((function(t){return t.startsWith("bs")&&!t.startsWith("bsConfig")})),c=manipulator_createForOfIteratorHelper(i);try{for(c.s();!(o=c.n()).done;){var l=o.value,u=l.replace(/^bs/,"");a[u=u.charAt(0).toLowerCase()+u.slice(1,u.length)]=normalizeData(t.dataset[l])}}catch(d){c.e(d)}finally{c.f()}return a},getDataAttribute:function getDataAttribute(t,o){return normalizeData(t.getAttribute("data-bs-".concat(normalizeDataKey(o))))}};function config_typeof(t){return config_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},config_typeof(t)}function ownKeys(t,o){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);o&&(i=i.filter((function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable}))),a.push.apply(a,i)}return a}function _objectSpread(t){for(var o=1;o<arguments.length;o++){var a=null!=arguments[o]?arguments[o]:{};o%2?ownKeys(Object(a),!0).forEach((function(o){config_defineProperty(t,o,a[o])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(a)):ownKeys(Object(a)).forEach((function(o){Object.defineProperty(t,o,Object.getOwnPropertyDescriptor(a,o))}))}return t}function config_defineProperty(t,o,a){return o in t?Object.defineProperty(t,o,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[o]=a,t}function config_defineProperties(t,o){for(var a=0;a<o.length;a++){var i=o[a];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}var ne=function(){function Config(){!function config_classCallCheck(t,o){if(!(t instanceof o))throw new TypeError("Cannot call a class as a function")}(this,Config)}return function config_createClass(t,o,a){return o&&config_defineProperties(t.prototype,o),a&&config_defineProperties(t,a),Object.defineProperty(t,"prototype",{writable:!1}),t}(Config,[{key:"_getConfig",value:function _getConfig(t){return t=this._mergeConfigObj(t),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}},{key:"_configAfterMerge",value:function _configAfterMerge(t){return t}},{key:"_mergeConfigObj",value:function _mergeConfigObj(t,o){var a=C(o)?te.getDataAttribute(o,"config"):{};return _objectSpread(_objectSpread(_objectSpread(_objectSpread({},this.constructor.Default),"object"===config_typeof(a)?a:{}),C(o)?te.getDataAttributes(o):{}),"object"===config_typeof(t)?t:{})}},{key:"_typeCheckConfig",value:function _typeCheckConfig(t){for(var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.constructor.DefaultType,a=0,i=Object.keys(o);a<i.length;a++){var c=i[a],l=o[c],u=t[c],d=C(u)?"element":w(u);if(!new RegExp(l).test(d))throw new TypeError("".concat(this.constructor.NAME.toUpperCase(),': Option "').concat(c,'" provided type "').concat(d,'" but expected type "').concat(l,'".'))}}}],[{key:"Default",get:function get(){return{}}},{key:"DefaultType",get:function get(){return{}}},{key:"NAME",get:function get(){throw new Error('You have to implement the static method "NAME", for each component!')}}]),Config}(),re=ne;function base_component_typeof(t){return base_component_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},base_component_typeof(t)}function base_component_createForOfIteratorHelper(t,o){var a="undefined"!==typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!a){if(Array.isArray(t)||(a=function base_component_unsupportedIterableToArray(t,o){if(!t)return;if("string"===typeof t)return base_component_arrayLikeToArray(t,o);var a=Object.prototype.toString.call(t).slice(8,-1);"Object"===a&&t.constructor&&(a=t.constructor.name);if("Map"===a||"Set"===a)return Array.from(t);if("Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a))return base_component_arrayLikeToArray(t,o)}(t))||o&&t&&"number"===typeof t.length){a&&(t=a);var i=0,c=function F(){};return{s:c,n:function n(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function e(t){throw t},f:c}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var l,u=!0,d=!1;return{s:function s(){a=a.call(t)},n:function n(){var t=a.next();return u=t.done,t},e:function e(t){d=!0,l=t},f:function f(){try{u||null==a.return||a.return()}finally{if(d)throw l}}}}function base_component_arrayLikeToArray(t,o){(null==o||o>t.length)&&(o=t.length);for(var a=0,i=new Array(o);a<o;a++)i[a]=t[a];return i}function base_component_defineProperties(t,o){for(var a=0;a<o.length;a++){var i=o[a];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function _setPrototypeOf(t,o){return _setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function _setPrototypeOf(t,o){return t.__proto__=o,t},_setPrototypeOf(t,o)}function _createSuper(t){var o=function _isNativeReflectConstruct(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function _createSuperInternal(){var a,i=_getPrototypeOf(t);if(o){var c=_getPrototypeOf(this).constructor;a=Reflect.construct(i,arguments,c)}else a=i.apply(this,arguments);return _possibleConstructorReturn(this,a)}}function _possibleConstructorReturn(t,o){if(o&&("object"===base_component_typeof(o)||"function"===typeof o))return o;if(void 0!==o)throw new TypeError("Derived constructors may only return object or undefined");return _assertThisInitialized(t)}function _assertThisInitialized(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function _getPrototypeOf(t){return _getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function _getPrototypeOf(t){return t.__proto__||Object.getPrototypeOf(t)},_getPrototypeOf(t)}var oe=function(t){!function _inherits(t,o){if("function"!==typeof o&&null!==o)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(o&&o.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),o&&_setPrototypeOf(t,o)}(BaseComponent,t);var o=_createSuper(BaseComponent);function BaseComponent(t,a){var i;return function base_component_classCallCheck(t,o){if(!(t instanceof o))throw new TypeError("Cannot call a class as a function")}(this,BaseComponent),i=o.call(this),(t=k(t))?(i._element=t,i._config=i._getConfig(a),Q(i._element,i.constructor.DATA_KEY,_assertThisInitialized(i)),i):_possibleConstructorReturn(i)}return function base_component_createClass(t,o,a){return o&&base_component_defineProperties(t.prototype,o),a&&base_component_defineProperties(t,a),Object.defineProperty(t,"prototype",{writable:!1}),t}(BaseComponent,[{key:"dispose",value:function dispose(){ee(this._element,this.constructor.DATA_KEY),K.off(this._element,this.constructor.EVENT_KEY);var t,o=base_component_createForOfIteratorHelper(Object.getOwnPropertyNames(this));try{for(o.s();!(t=o.n()).done;){this[t.value]=null}}catch(a){o.e(a)}finally{o.f()}}},{key:"_queueCallback",value:function _queueCallback(t,o){var a=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];R(t,o,a)}},{key:"_getConfig",value:function _getConfig(t){return t=this._mergeConfigObj(t,this._element),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}}],[{key:"getInstance",value:function getInstance(t){return Z(k(t),this.DATA_KEY)}},{key:"getOrCreateInstance",value:function getOrCreateInstance(t){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.getInstance(t)||new this(t,"object"===base_component_typeof(o)?o:null)}},{key:"VERSION",get:function get(){return"5.2.2"}},{key:"DATA_KEY",get:function get(){return"bs.".concat(this.NAME)}},{key:"EVENT_KEY",get:function get(){return".".concat(this.DATA_KEY)}},{key:"eventName",value:function eventName(t){return"".concat(t).concat(this.EVENT_KEY)}}]),BaseComponent}(re),ae=oe;function collapse_typeof(t){return collapse_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},collapse_typeof(t)}function collapse_createForOfIteratorHelper(t,o){var a="undefined"!==typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!a){if(Array.isArray(t)||(a=function collapse_unsupportedIterableToArray(t,o){if(!t)return;if("string"===typeof t)return collapse_arrayLikeToArray(t,o);var a=Object.prototype.toString.call(t).slice(8,-1);"Object"===a&&t.constructor&&(a=t.constructor.name);if("Map"===a||"Set"===a)return Array.from(t);if("Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a))return collapse_arrayLikeToArray(t,o)}(t))||o&&t&&"number"===typeof t.length){a&&(t=a);var i=0,c=function F(){};return{s:c,n:function n(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function e(t){throw t},f:c}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var l,u=!0,d=!1;return{s:function s(){a=a.call(t)},n:function n(){var t=a.next();return u=t.done,t},e:function e(t){d=!0,l=t},f:function f(){try{u||null==a.return||a.return()}finally{if(d)throw l}}}}function collapse_arrayLikeToArray(t,o){(null==o||o>t.length)&&(o=t.length);for(var a=0,i=new Array(o);a<o;a++)i[a]=t[a];return i}function collapse_defineProperties(t,o){for(var a=0;a<o.length;a++){var i=o[a];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function collapse_setPrototypeOf(t,o){return collapse_setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function _setPrototypeOf(t,o){return t.__proto__=o,t},collapse_setPrototypeOf(t,o)}function collapse_createSuper(t){var o=function collapse_isNativeReflectConstruct(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function _createSuperInternal(){var a,i=collapse_getPrototypeOf(t);if(o){var c=collapse_getPrototypeOf(this).constructor;a=Reflect.construct(i,arguments,c)}else a=i.apply(this,arguments);return collapse_possibleConstructorReturn(this,a)}}function collapse_possibleConstructorReturn(t,o){if(o&&("object"===collapse_typeof(o)||"function"===typeof o))return o;if(void 0!==o)throw new TypeError("Derived constructors may only return object or undefined");return function collapse_assertThisInitialized(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function collapse_getPrototypeOf(t){return collapse_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function _getPrototypeOf(t){return t.__proto__||Object.getPrototypeOf(t)},collapse_getPrototypeOf(t)}var ie=".".concat("bs.collapse"),ce="show".concat(ie),se="shown".concat(ie),le="hide".concat(ie),ue="hidden".concat(ie),fe="click".concat(ie).concat(".data-api"),de="show",pe="collapse",ye="collapsing",ve=":scope .".concat(pe," .").concat(pe),ge='[data-bs-toggle="collapse"]',me={parent:null,toggle:!0},he={parent:"(null|element)",toggle:"boolean"},be=function(t){!function collapse_inherits(t,o){if("function"!==typeof o&&null!==o)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(o&&o.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),o&&collapse_setPrototypeOf(t,o)}(Collapse,t);var o=collapse_createSuper(Collapse);function Collapse(t,a){var i;!function collapse_classCallCheck(t,o){if(!(t instanceof o))throw new TypeError("Cannot call a class as a function")}(this,Collapse),(i=o.call(this,t,a))._isTransitioning=!1,i._triggerArray=[];var c,l=collapse_createForOfIteratorHelper(J.find(ge));try{for(l.s();!(c=l.n()).done;){var u=c.value,d=A(u),p=J.find(d).filter((function(t){return t===i._element}));null!==d&&p.length&&i._triggerArray.push(u)}}catch(y){l.e(y)}finally{l.f()}return i._initializeChildren(),i._config.parent||i._addAriaAndCollapsedClass(i._triggerArray,i._isShown()),i._config.toggle&&i.toggle(),i}return function collapse_createClass(t,o,a){return o&&collapse_defineProperties(t.prototype,o),a&&collapse_defineProperties(t,a),Object.defineProperty(t,"prototype",{writable:!1}),t}(Collapse,[{key:"toggle",value:function toggle(){this._isShown()?this.hide():this.show()}},{key:"show",value:function show(){var t=this;if(!this._isTransitioning&&!this._isShown()){var o=[];if(this._config.parent&&(o=this._getFirstLevelChildren(".collapse.show, .collapse.collapsing").filter((function(o){return o!==t._element})).map((function(t){return Collapse.getOrCreateInstance(t,{toggle:!1})}))),!o.length||!o[0]._isTransitioning)if(!K.trigger(this._element,ce).defaultPrevented){var a,i=collapse_createForOfIteratorHelper(o);try{for(i.s();!(a=i.n()).done;){a.value.hide()}}catch(d){i.e(d)}finally{i.f()}var c=this._getDimension();this._element.classList.remove(pe),this._element.classList.add(ye),this._element.style[c]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;var l=c[0].toUpperCase()+c.slice(1),u="scroll".concat(l);this._queueCallback((function complete(){t._isTransitioning=!1,t._element.classList.remove(ye),t._element.classList.add(pe,de),t._element.style[c]="",K.trigger(t._element,se)}),this._element,!0),this._element.style[c]="".concat(this._element[u],"px")}}}},{key:"hide",value:function hide(){var t=this;if(!this._isTransitioning&&this._isShown()&&!K.trigger(this._element,le).defaultPrevented){var o=this._getDimension();this._element.style[o]="".concat(this._element.getBoundingClientRect()[o],"px"),P(this._element),this._element.classList.add(ye),this._element.classList.remove(pe,de);var a,i=collapse_createForOfIteratorHelper(this._triggerArray);try{for(i.s();!(a=i.n()).done;){var c=a.value,l=O(c);l&&!this._isShown(l)&&this._addAriaAndCollapsedClass([c],!1)}}catch(u){i.e(u)}finally{i.f()}this._isTransitioning=!0;this._element.style[o]="",this._queueCallback((function complete(){t._isTransitioning=!1,t._element.classList.remove(ye),t._element.classList.add(pe),K.trigger(t._element,ue)}),this._element,!0)}}},{key:"_isShown",value:function _isShown(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this._element;return t.classList.contains(de)}},{key:"_configAfterMerge",value:function _configAfterMerge(t){return t.toggle=Boolean(t.toggle),t.parent=k(t.parent),t}},{key:"_getDimension",value:function _getDimension(){return this._element.classList.contains("collapse-horizontal")?"width":"height"}},{key:"_initializeChildren",value:function _initializeChildren(){if(this._config.parent){var t,o=collapse_createForOfIteratorHelper(this._getFirstLevelChildren(ge));try{for(o.s();!(t=o.n()).done;){var a=t.value,i=O(a);i&&this._addAriaAndCollapsedClass([a],this._isShown(i))}}catch(c){o.e(c)}finally{o.f()}}}},{key:"_getFirstLevelChildren",value:function _getFirstLevelChildren(t){var o=J.find(ve,this._config.parent);return J.find(t,this._config.parent).filter((function(t){return!o.includes(t)}))}},{key:"_addAriaAndCollapsedClass",value:function _addAriaAndCollapsedClass(t,o){if(t.length){var a,i=collapse_createForOfIteratorHelper(t);try{for(i.s();!(a=i.n()).done;){var c=a.value;c.classList.toggle("collapsed",!o),c.setAttribute("aria-expanded",o)}}catch(l){i.e(l)}finally{i.f()}}}}],[{key:"Default",get:function get(){return me}},{key:"DefaultType",get:function get(){return he}},{key:"NAME",get:function get(){return"collapse"}},{key:"jQueryInterface",value:function jQueryInterface(t){var o={};return"string"===typeof t&&/show|hide/.test(t)&&(o.toggle=!1),this.each((function(){var a=Collapse.getOrCreateInstance(this,o);if("string"===typeof t){if("undefined"===typeof a[t])throw new TypeError('No method named "'.concat(t,'"'));a[t]()}}))}}]),Collapse}(ae);K.on(document,fe,ge,(function(t){("A"===t.target.tagName||t.delegateTarget&&"A"===t.delegateTarget.tagName)&&t.preventDefault();var o,a=A(this),i=collapse_createForOfIteratorHelper(J.find(a));try{for(i.s();!(o=i.n()).done;){var c=o.value;be.getOrCreateInstance(c,{toggle:!1}).toggle()}}catch(l){i.e(l)}finally{i.f()}})),D(be);!function(t){var o="js-dropdown",a=["active","active-dropdown"],c=function HideAll(){document.querySelectorAll(".dropdown-menu").forEach((function(t,o){var i;(i=t.closest(".dropdown").classList).remove.apply(i,a),t.classList.remove("show")}))},l=function Show(t){var o;t.stopPropagation();var i=t.currentTarget;(o=i.classList).add.apply(o,a),i.querySelector(".dropdown-menu").classList.add("show")},u=function Hide(t){var o;t.stopPropagation();var i=t.currentTarget;(o=i.classList).remove.apply(o,a),i.querySelector(".dropdown-menu").classList.remove("show")},d=function init(){console.log("".concat(o,": init"));var t=document.querySelectorAll(".".concat(o,',[data-bs-toggle="dropdown"]')),a=document.querySelectorAll('[data-bs-toggle="hover"]'),i=function attachClickEvents(t){t.addEventListener("click",(function(t){t.preventDefault(),function Toggle(t){c(),t.querySelector(".dropdown-menu").classList.toggle("show")}(t.currentTarget.closest(".dropdown"))})),t.classList.add("".concat(o,"-active"))};document.addEventListener("click",(function(t){var o=!1,a=t.path||t.composedPath&&t.composedPath();a||console.warn("Browser does not provide event path to hide dropdowns on outside click"),a.forEach((function(t,a){o||(t===document&&c(),t.classList&&t.classList.contains("dropdown-toggle")&&(o=!0))}))})),a.forEach((function(t,a){!function attachHoverEvents(t){t.addEventListener("mouseover",l,!1),t.addEventListener("mouseleave",u,!1),t.classList.add("".concat(o,"-active"))}(t.closest(".dropdown"))})),t.forEach((function(t,o){i(t)}))};t.addEventListener("".concat(i.LODEDANDREADY),d),t.addEventListener("".concat(i.AJAX),d)}(window);function swipe_typeof(t){return swipe_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},swipe_typeof(t)}function swipe_defineProperties(t,o){for(var a=0;a<o.length;a++){var i=o[a];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function swipe_setPrototypeOf(t,o){return swipe_setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function _setPrototypeOf(t,o){return t.__proto__=o,t},swipe_setPrototypeOf(t,o)}function swipe_createSuper(t){var o=function swipe_isNativeReflectConstruct(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function _createSuperInternal(){var a,i=swipe_getPrototypeOf(t);if(o){var c=swipe_getPrototypeOf(this).constructor;a=Reflect.construct(i,arguments,c)}else a=i.apply(this,arguments);return swipe_possibleConstructorReturn(this,a)}}function swipe_possibleConstructorReturn(t,o){if(o&&("object"===swipe_typeof(o)||"function"===typeof o))return o;if(void 0!==o)throw new TypeError("Derived constructors may only return object or undefined");return function swipe_assertThisInitialized(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function swipe_getPrototypeOf(t){return swipe_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function _getPrototypeOf(t){return t.__proto__||Object.getPrototypeOf(t)},swipe_getPrototypeOf(t)}var _e,we=".bs.swipe",Ee="touchstart".concat(we),Ae="touchmove".concat(we),Oe="touchend".concat(we),Se="pointerdown".concat(we),Le="pointerup".concat(we),Ce={endCallback:null,leftCallback:null,rightCallback:null},ke={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"},Te=function(t){!function swipe_inherits(t,o){if("function"!==typeof o&&null!==o)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(o&&o.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),o&&swipe_setPrototypeOf(t,o)}(Swipe,t);var o=swipe_createSuper(Swipe);function Swipe(t,a){var i;return function swipe_classCallCheck(t,o){if(!(t instanceof o))throw new TypeError("Cannot call a class as a function")}(this,Swipe),(i=o.call(this))._element=t,t&&Swipe.isSupported()?(i._config=i._getConfig(a),i._deltaX=0,i._supportPointerEvents=Boolean(window.PointerEvent),i._initEvents(),i):swipe_possibleConstructorReturn(i)}return function swipe_createClass(t,o,a){return o&&swipe_defineProperties(t.prototype,o),a&&swipe_defineProperties(t,a),Object.defineProperty(t,"prototype",{writable:!1}),t}(Swipe,[{key:"dispose",value:function dispose(){K.off(this._element,we)}},{key:"_start",value:function _start(t){this._supportPointerEvents?this._eventIsPointerPenTouch(t)&&(this._deltaX=t.clientX):this._deltaX=t.touches[0].clientX}},{key:"_end",value:function _end(t){this._eventIsPointerPenTouch(t)&&(this._deltaX=t.clientX-this._deltaX),this._handleSwipe(),N(this._config.endCallback)}},{key:"_move",value:function _move(t){this._deltaX=t.touches&&t.touches.length>1?0:t.touches[0].clientX-this._deltaX}},{key:"_handleSwipe",value:function _handleSwipe(){var t=Math.abs(this._deltaX);if(!(t<=40)){var o=t/this._deltaX;this._deltaX=0,o&&N(o>0?this._config.rightCallback:this._config.leftCallback)}}},{key:"_initEvents",value:function _initEvents(){var t=this;this._supportPointerEvents?(K.on(this._element,Se,(function(o){return t._start(o)})),K.on(this._element,Le,(function(o){return t._end(o)})),this._element.classList.add("pointer-event")):(K.on(this._element,Ee,(function(o){return t._start(o)})),K.on(this._element,Ae,(function(o){return t._move(o)})),K.on(this._element,Oe,(function(o){return t._end(o)})))}},{key:"_eventIsPointerPenTouch",value:function _eventIsPointerPenTouch(t){return this._supportPointerEvents&&("pen"===t.pointerType||"touch"===t.pointerType)}}],[{key:"Default",get:function get(){return Ce}},{key:"DefaultType",get:function get(){return ke}},{key:"NAME",get:function get(){return"swipe"}},{key:"isSupported",value:function isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}}]),Swipe}(re),Pe=Te;function carousel_typeof(t){return carousel_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},carousel_typeof(t)}function carousel_createForOfIteratorHelper(t,o){var a="undefined"!==typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!a){if(Array.isArray(t)||(a=function carousel_unsupportedIterableToArray(t,o){if(!t)return;if("string"===typeof t)return carousel_arrayLikeToArray(t,o);var a=Object.prototype.toString.call(t).slice(8,-1);"Object"===a&&t.constructor&&(a=t.constructor.name);if("Map"===a||"Set"===a)return Array.from(t);if("Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a))return carousel_arrayLikeToArray(t,o)}(t))||o&&t&&"number"===typeof t.length){a&&(t=a);var i=0,c=function F(){};return{s:c,n:function n(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function e(t){throw t},f:c}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var l,u=!0,d=!1;return{s:function s(){a=a.call(t)},n:function n(){var t=a.next();return u=t.done,t},e:function e(t){d=!0,l=t},f:function f(){try{u||null==a.return||a.return()}finally{if(d)throw l}}}}function carousel_arrayLikeToArray(t,o){(null==o||o>t.length)&&(o=t.length);for(var a=0,i=new Array(o);a<o;a++)i[a]=t[a];return i}function carousel_defineProperties(t,o){for(var a=0;a<o.length;a++){var i=o[a];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function _get(){return _get="undefined"!==typeof Reflect&&Reflect.get?Reflect.get.bind():function _get(t,o,a){var i=_superPropBase(t,o);if(i){var c=Object.getOwnPropertyDescriptor(i,o);return c.get?c.get.call(arguments.length<3?t:a):c.value}},_get.apply(this,arguments)}function _superPropBase(t,o){for(;!Object.prototype.hasOwnProperty.call(t,o)&&null!==(t=carousel_getPrototypeOf(t)););return t}function carousel_setPrototypeOf(t,o){return carousel_setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function _setPrototypeOf(t,o){return t.__proto__=o,t},carousel_setPrototypeOf(t,o)}function carousel_createSuper(t){var o=function carousel_isNativeReflectConstruct(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function _createSuperInternal(){var a,i=carousel_getPrototypeOf(t);if(o){var c=carousel_getPrototypeOf(this).constructor;a=Reflect.construct(i,arguments,c)}else a=i.apply(this,arguments);return carousel_possibleConstructorReturn(this,a)}}function carousel_possibleConstructorReturn(t,o){if(o&&("object"===carousel_typeof(o)||"function"===typeof o))return o;if(void 0!==o)throw new TypeError("Derived constructors may only return object or undefined");return function carousel_assertThisInitialized(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function carousel_getPrototypeOf(t){return carousel_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function _getPrototypeOf(t){return t.__proto__||Object.getPrototypeOf(t)},carousel_getPrototypeOf(t)}function carousel_defineProperty(t,o,a){return o in t?Object.defineProperty(t,o,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[o]=a,t}var Ie=".".concat("bs.carousel"),je=".data-api",xe="next",De="prev",Ne="left",Re="right",Me="slide".concat(Ie),Fe="slid".concat(Ie),He="keydown".concat(Ie),Ue="mouseenter".concat(Ie),qe="mouseleave".concat(Ie),ze="dragstart".concat(Ie),Be="load".concat(Ie).concat(je),We="click".concat(Ie).concat(je),Ye="carousel",Xe="active",Ke="carousel-item-end",Ve="carousel-item-start",Je="carousel-item-next",Ge="carousel-item-prev",Qe=".active",$e=".carousel-item",Ze=(carousel_defineProperty(_e={},"ArrowLeft",Re),carousel_defineProperty(_e,"ArrowRight",Ne),_e),et={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},tt={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"},nt=function(t){!function carousel_inherits(t,o){if("function"!==typeof o&&null!==o)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(o&&o.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),o&&carousel_setPrototypeOf(t,o)}(Carousel,t);var o=carousel_createSuper(Carousel);function Carousel(t,a){var i;return function carousel_classCallCheck(t,o){if(!(t instanceof o))throw new TypeError("Cannot call a class as a function")}(this,Carousel),(i=o.call(this,t,a))._interval=null,i._activeElement=null,i._isSliding=!1,i.touchTimeout=null,i._swipeHelper=null,i._indicatorsElement=J.findOne(".carousel-indicators",i._element),i._addEventListeners(),i._config.ride===Ye&&i.cycle(),i}return function carousel_createClass(t,o,a){return o&&carousel_defineProperties(t.prototype,o),a&&carousel_defineProperties(t,a),Object.defineProperty(t,"prototype",{writable:!1}),t}(Carousel,[{key:"next",value:function next(){this._slide(xe)}},{key:"nextWhenVisible",value:function nextWhenVisible(){!document.hidden&&T(this._element)&&this.next()}},{key:"prev",value:function prev(){this._slide(De)}},{key:"pause",value:function pause(){this._isSliding&&L(this._element),this._clearInterval()}},{key:"cycle",value:function cycle(){var t=this;this._clearInterval(),this._updateInterval(),this._interval=setInterval((function(){return t.nextWhenVisible()}),this._config.interval)}},{key:"_maybeEnableCycle",value:function _maybeEnableCycle(){var t=this;this._config.ride&&(this._isSliding?K.one(this._element,Fe,(function(){return t.cycle()})):this.cycle())}},{key:"to",value:function to(t){var o=this,a=this._getItems();if(!(t>a.length-1||t<0))if(this._isSliding)K.one(this._element,Fe,(function(){return o.to(t)}));else{var i=this._getItemIndex(this._getActive());if(i!==t){var c=t>i?xe:De;this._slide(c,a[t])}}}},{key:"dispose",value:function dispose(){this._swipeHelper&&this._swipeHelper.dispose(),_get(carousel_getPrototypeOf(Carousel.prototype),"dispose",this).call(this)}},{key:"_configAfterMerge",value:function _configAfterMerge(t){return t.defaultInterval=t.interval,t}},{key:"_addEventListeners",value:function _addEventListeners(){var t=this;this._config.keyboard&&K.on(this._element,He,(function(o){return t._keydown(o)})),"hover"===this._config.pause&&(K.on(this._element,Ue,(function(){return t.pause()})),K.on(this._element,qe,(function(){return t._maybeEnableCycle()}))),this._config.touch&&Pe.isSupported()&&this._addTouchEventListeners()}},{key:"_addTouchEventListeners",value:function _addTouchEventListeners(){var t,o=this,a=carousel_createForOfIteratorHelper(J.find(".carousel-item img",this._element));try{for(a.s();!(t=a.n()).done;){var i=t.value;K.on(i,ze,(function(t){return t.preventDefault()}))}}catch(l){a.e(l)}finally{a.f()}var c={leftCallback:function leftCallback(){return o._slide(o._directionToOrder(Ne))},rightCallback:function rightCallback(){return o._slide(o._directionToOrder(Re))},endCallback:function endCallBack(){"hover"===o._config.pause&&(o.pause(),o.touchTimeout&&clearTimeout(o.touchTimeout),o.touchTimeout=setTimeout((function(){return o._maybeEnableCycle()}),500+o._config.interval))}};this._swipeHelper=new Pe(this._element,c)}},{key:"_keydown",value:function _keydown(t){if(!/input|textarea/i.test(t.target.tagName)){var o=Ze[t.key];o&&(t.preventDefault(),this._slide(this._directionToOrder(o)))}}},{key:"_getItemIndex",value:function _getItemIndex(t){return this._getItems().indexOf(t)}},{key:"_setActiveIndicatorElement",value:function _setActiveIndicatorElement(t){if(this._indicatorsElement){var o=J.findOne(Qe,this._indicatorsElement);o.classList.remove(Xe),o.removeAttribute("aria-current");var a=J.findOne('[data-bs-slide-to="'.concat(t,'"]'),this._indicatorsElement);a&&(a.classList.add(Xe),a.setAttribute("aria-current","true"))}}},{key:"_updateInterval",value:function _updateInterval(){var t=this._activeElement||this._getActive();if(t){var o=Number.parseInt(t.getAttribute("data-bs-interval"),10);this._config.interval=o||this._config.defaultInterval}}},{key:"_slide",value:function _slide(t){var o=this,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(!this._isSliding){var i=this._getActive(),c=t===xe,l=a||M(this._getItems(),i,c,this._config.wrap);if(l!==i){var u=this._getItemIndex(l),d=function triggerEvent(a){return K.trigger(o._element,a,{relatedTarget:l,direction:o._orderToDirection(t),from:o._getItemIndex(i),to:u})},p=d(Me);if(!p.defaultPrevented&&i&&l){var y=Boolean(this._interval);this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(u),this._activeElement=l;var v=c?Ve:Ke,g=c?Je:Ge;l.classList.add(g),P(l),i.classList.add(v),l.classList.add(v);var m=function completeCallBack(){l.classList.remove(v,g),l.classList.add(Xe),i.classList.remove(Xe,g,v),o._isSliding=!1,d(Fe)};this._queueCallback(m,i,this._isAnimated()),y&&this.cycle()}}}}},{key:"_isAnimated",value:function _isAnimated(){return this._element.classList.contains("slide")}},{key:"_getActive",value:function _getActive(){return J.findOne(".active.carousel-item",this._element)}},{key:"_getItems",value:function _getItems(){return J.find($e,this._element)}},{key:"_clearInterval",value:function _clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}},{key:"_directionToOrder",value:function _directionToOrder(t){return x()?t===Ne?De:xe:t===Ne?xe:De}},{key:"_orderToDirection",value:function _orderToDirection(t){return x()?t===De?Ne:Re:t===De?Re:Ne}}],[{key:"Default",get:function get(){return et}},{key:"DefaultType",get:function get(){return tt}},{key:"NAME",get:function get(){return"carousel"}},{key:"jQueryInterface",value:function jQueryInterface(t){return this.each((function(){var o=Carousel.getOrCreateInstance(this,t);if("number"!==typeof t){if("string"===typeof t){if(void 0===o[t]||t.startsWith("_")||"constructor"===t)throw new TypeError('No method named "'.concat(t,'"'));o[t]()}}else o.to(t)}))}}]),Carousel}(ae);K.on(document,We,"[data-bs-slide], [data-bs-slide-to]",(function(t){var o=O(this);if(o&&o.classList.contains(Ye)){t.preventDefault();var a=nt.getOrCreateInstance(o),i=this.getAttribute("data-bs-slide-to");if(i)return a.to(i),void a._maybeEnableCycle();if("next"===te.getDataAttribute(this,"slide"))return a.next(),void a._maybeEnableCycle();a.prev(),a._maybeEnableCycle()}})),K.on(window,Be,(function(){var t,o=carousel_createForOfIteratorHelper(J.find('[data-bs-ride="carousel"]'));try{for(o.s();!(t=o.n()).done;){var a=t.value;nt.getOrCreateInstance(a)}}catch(i){o.e(i)}finally{o.f()}})),D(nt);var rt=nt;(function(t){var o="js-carousel",a=function init(){console.log("".concat(o,": init")),document.querySelectorAll(".".concat(o)).forEach((function(a,i){var c=!!a.dataset.bsInterval&&parseInt(a.dataset.bsInterval),l=new rt(a,{interval:c});a.ui=l;var u=a.querySelectorAll(".carousel-item"),d=parseInt(u.length);if(a.dataset.bsArrows){var p=document.createElement("button");p.classList.add("carousel-control-next"),p.setAttribute("type","button"),p.setAttribute("aria-label","Next Slide"),p.setAttribute("data-bs-target",a.getAttribute("id")),p.setAttribute("data-bs-slide","next"),p.addEventListener("click",(function(t){l.next()})),p.innerHTML='<span class="carousel-control-next-icon" aria-hidden="true"></span><span class="visually-hidden">Next</span>',a.appendChild(p);var y=document.createElement("button");y.setAttribute("type","button"),y.setAttribute("aria-label","Previous Slide"),y.classList.add("carousel-control-prev"),y.setAttribute("data-bs-target",a.getAttribute("id")),y.setAttribute("data-bs-slide","prev"),y.addEventListener("click",(function(t){l.prev()})),y.innerHTML='<span class="carousel-control-prev-icon" aria-hidden="true"></span><span class="visually-hidden">Previous</span>',a.appendChild(y)}if(a.dataset.bsIndicators&&function(){var t=document.createElement("div");t.classList.add("carousel-indicators");for(var o=0;o<d;){var i=document.createElement("button");i.setAttribute("type","button"),i.setAttribute("aria-label","Slide to #".concat(o+1)),0===o&&i.classList.add("active"),i.setAttribute("data-bs-target",a.getAttribute("id")),i.setAttribute("data-bs-slide-to",o),i.addEventListener("click",(function(o){var a=o.target;l.to(a.getAttribute("data-bs-slide-to")),t.querySelectorAll(".active").forEach((function(t){t.classList.remove("active")})),a.classList.add("active")})),t.appendChild(i),o++}a.appendChild(t),a.addEventListener("slide.bs.carousel",(function(t){a.querySelectorAll(".carousel-indicators .active").forEach((function(t){t.classList.remove("active")})),a.querySelectorAll('.carousel-indicators [data-bs-slide-to="'.concat(t.to,'"]')).forEach((function(t){t.classList.add("active")}))}))}(),a.classList.contains("carousel-multislide")){var v=a.querySelector(".carousel-inner");u.forEach((function(t,o){var a=t.cloneNode(!0);a.classList.remove("active"),v.appendChild(a)})),u=a.querySelectorAll(".carousel-item"),d=parseInt(u.length),v.style.left="0px";var g=function getNumToDisplay(o){var a=t.detectCSSScreenSize(),i=parseInt(o.dataset["length".concat(t.globalF.ucwords(a))]);return i||(i=parseInt(o.dataset.length)),Math.min(i,d)},m=new t.ResizeObserver((function calculate(t){var a=t[0],i=a.target,c=(a.contentRect,i.querySelector(".carousel-inner-container").clientWidth),p=g(i),y=c/p;i.dataset.itemWidth=y,i.dataset.numToDisplay=p,v.style.width="".concat(d*y,"px"),u.forEach((function(t,o){t.style.width="".concat(y,"px")})),d===p&&(i.classList.add("".concat(o,"-no-slide")),l.pause())}));m.observe(a);var h=function resetPosition(){v.style.transition="none",v.classList.add("no-transition"),v.style.left="0px",setTimeout((function(){v.style.transition="",v.classList.remove("no-transition"),v.querySelectorAll(".carousel-item").forEach((function(t){t.classList.remove("active")})),v.querySelector(".carousel-item:first-child").classList.add("active")}),1e3)};a.addEventListener("slide.bs.carousel",(function(t){var i=g(a);if(console.log(".".concat(o,": ").concat(t.to," ").concat(d/2)),d-i<t.to)return t.preventDefault(),void h();switch(t.direction){case"left":case"right":v.style.left="".concat(-t.to*a.dataset.itemWidth,"px")}d/2===t.to&&h()})),a.classList.add("".concat(o,"-multislide-active"))}else 1===u.length&&a.classList.add("".concat(o,"-no-slide"));c&&a.ui.cycle(),a.dataset.ui=a.ui,a.classList.add("".concat(o,"-active")),a.dispatchEvent(new Event("".concat(o,"-ready")))}))};t.addEventListener("".concat(i.LODEDANDREADY),a),t.addEventListener("".concat(i.AJAX),a)})(window),function(t){var o="js-captcha",a=function init(){console.log("".concat(o,": init"));var a=function submitListener(t){console.log("".concat(o,": Validating Captcha ..."));t.currentTarget.querySelectorAll(".".concat(o,", .g-recaptcha")).forEach((function(t){grecaptcha.execute(t.dataset.widgetid)}))},i=function attachCaptcha(){console.log("".concat(o,": Rendering Captcha ..."));var i=document.querySelectorAll(".".concat(o,", .g-recaptcha")),c=t.grecaptcha;i.forEach((function(t,i){if(!t.dataset.widgetid&&""===t.innerHTML){var l=t.closest(l),u=c.render(t,t.dataset);t.dataset.widgetid=u,"invisible"!==t.dataset.size||t.dataset.callback||(c.execute(u),l.addEventListener("submit",a)),t.classList.add("".concat(o,"-active")),t.dispatchEvent(new Event("".concat(o,"-ready")))}}))};document.querySelectorAll(".g-recaptcha").length?function loadScript(a){"undefined"!==typeof t.grecaptcha&&a(),console.log("".concat(o,": Loading Captcha API ..."));var i=document.createElement("script");i.id="captchaAPI",i.src="https://www.google.com/recaptcha/api.js?render=explicit&hl=".concat(document.querySelector("html").getAttribute("lang").substr(0,2)),i.async=!0,i.onload=function(){console.log("".concat(o,": Captcha API is loaded.")),a()},document.body.append(i)}(i):console.log("".concat(o,": No Captcha fields.")),t.noCaptchaFieldRender=i};t.addEventListener("".concat(i.LODEDANDREADY),a),t.addEventListener("".concat(i.AJAX),a)}(window),function(t){var o="js-password",a=function init(){var t;console.log("".concat(o,": init"));var a=function show(o){o.setAttribute("type","text"),t=setTimeout((function(){i(o)}),3e3)},i=function hide(o){o.setAttribute("type","password"),t&&clearTimeout(t)};document.querySelectorAll("".concat(o,"-show, .show-password")).forEach((function(t){t.classList.contains("".concat(o,"-active"))||(t.addEventListener("click",(function(t){var o=t.currentTarget.closest(".field").querySelector("input");o&&function toggle(t){"password"===t.getAttribute("type")?a(t):i(t)}(o)})),t.classList.add("".concat(o,"-active")))}))};t.addEventListener("".concat(i.LODEDANDREADY),a),t.addEventListener("".concat(i.AJAX),a)}(window);function redaxios_module_typeof(t){return redaxios_module_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},redaxios_module_typeof(t)}var ot=function e(t){function n(t,o,a){var i,c={};if(Array.isArray(t))return t.concat(o);for(i in t)c[a?i.toLowerCase():i]=t[i];for(i in o){var l=a?i.toLowerCase():i,u=o[i];c[l]=l in c&&"object"==redaxios_module_typeof(u)?n(c[l],u,"headers"==l):u}return c}function r(o,a,i,c,l){var u="string"!=typeof o?(a=o).url:o,d={config:a},p=n(t,a),y={};c=c||p.data,(p.transformRequest||[]).map((function(t){c=t(c,p.headers)||c})),p.auth&&(y.authorization=p.auth),c&&"object"==redaxios_module_typeof(c)&&"function"!=typeof c.append&&"function"!=typeof c.text&&(c=JSON.stringify(c),y["content-type"]="application/json");try{y[p.xsrfHeaderName]=decodeURIComponent(document.cookie.match(RegExp("(^|; )"+p.xsrfCookieName+"=([^;]*)"))[2])}catch(o){}return p.baseURL&&(u=u.replace(/^(?!.*\/\/)\/?/,p.baseURL+"/")),p.params&&(u+=(~u.indexOf("?")?"&":"?")+(p.paramsSerializer?p.paramsSerializer(p.params):new URLSearchParams(p.params))),(p.fetch||fetch)(u,{method:(i||p.method||"get").toUpperCase(),body:c,headers:n(p.headers,y,!0),credentials:p.withCredentials?"include":l}).then((function(t){for(var o in t)"function"!=typeof t[o]&&(d[o]=t[o]);return"stream"==p.responseType?(d.data=t.body,d):t[p.responseType||"text"]().then((function(t){d.data=t,d.data=JSON.parse(t)})).catch(Object).then((function(){return(p.validateStatus?p.validateStatus(t.status):t.ok)?d:Promise.reject(d)}))}))}return t=t||{},r.request=r,r.get=function(t,o){return r(t,o,"get")},r.delete=function(t,o){return r(t,o,"delete")},r.head=function(t,o){return r(t,o,"head")},r.options=function(t,o){return r(t,o,"options")},r.post=function(t,o,a){return r(t,a,"post",o)},r.put=function(t,o,a){return r(t,a,"put",o)},r.patch=function(t,o,a){return r(t,a,"patch",o)},r.all=Promise.all.bind(Promise),r.spread=function(t){return t.apply.bind(t,t)},r.CancelToken="function"==typeof AbortController?AbortController:Object,r.defaults=t,r.create=e,r}();!function(t){var o,a="main.online",c=document,l=c.body,u=c.querySelector('meta[name="ping"]'),d=!1,p=function UPDATE_ONLINE_STATUS(c){d||(d=!0,c?(l.classList.contains("is-offline")?(console.log("".concat(a,": back Online")),t.dispatchEvent(new Event(i.BACKONLINE))):(console.log("".concat(a,": Online")),t.dispatchEvent(new Event(i.ONLINE))),l.classList.add("is-online"),l.classList.remove("is-offline"),u&&!o&&(console.log("".concat(a,": SESSION_PING is active")),o=setInterval(v,3e5))):(console.log("".concat(a,": Offline")),l.classList.add("is-offline"),l.classList.remove("is-online"),clearInterval(o),o=null,t.dispatchEvent(new Event(i.OFFLINE))),d=!1)},y=!1,v=function SESSION_PING(){if(!y&&!l.classList.contains("is-offline")){var t=u.getAttribute("content");console.log("".concat(a,": session ping")),y=!0,ot.post(t,{}).then((function(t){y=!1,p(!0)})).catch((function(t){console.error(t),console.warn("".concat(a,": SESSION_PING failed")),y=!1,p(!1)}))}},g=function navigatorStateUpdate(){"undefined"!==typeof navigator.onLine&&(navigator.onLine?p(!0):p(!1))};t.addEventListener("".concat(i.OFFLINE),(function(){p(!1)})),t.addEventListener("".concat(i.ONLINE),(function(){p(!0)})),t.addEventListener("".concat(i.LOADED),g),t.addEventListener("".concat(i.AJAX),g)}(window);function image_defineProperties(t,o){for(var a=0;a<o.length;a++){var i=o[a];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}var at="ajax.models.image",it=document.querySelector('meta[name="api_static_domain"]'),ct=it?it.getAttribute("content"):"".concat(window.location.protocol,"//").concat(window.location.host);console.log("".concat(at," [static url]: ").concat(ct));var st=function(){function ImageObject(){!function image_classCallCheck(t,o){if(!(t instanceof o))throw new TypeError("Cannot call a class as a function")}(this,ImageObject)}return function image_createClass(t,o,a){return o&&image_defineProperties(t.prototype,o),a&&image_defineProperties(t,a),Object.defineProperty(t,"prototype",{writable:!1}),t}(ImageObject,[{key:"load",value:function load(t,o){var a=t.startsWith("http")?t:ct+t;return o&&(o.classList.add("loading"),o.classList.remove("loading__network-error")),new Promise((function(t,i){ot.get(a,{responseType:"blob"}).then((function(a){var i=new window.FileReader;i.readAsDataURL(a.data),i.onload=function(){var a=i.result;o&&(o.classList.remove("loading"),o.classList.add("loading__success")),t(a)}})).catch((function(t){console.warn(t);var c="";if(t.response){switch(t.response.status){case 404:c="Not Found.";break;case 500:c="Server issue, please try again latter.";break;default:c="Something went wrong."}console.error("".concat(at," [").concat(a,"]: ").concat(c))}else t.request?(c="No response received",console.error("".concat(at," [").concat(a,"]: ").concat(c))):console.error("".concat(at," [").concat(a,"]: ").concat(t.message));o&&(o.classList.remove("loading"),o.classList.add("loading__network-error"),o.classList.add("empty")),i(t)}))}))}}]),ImageObject}();(function(t){var o=document,a=function loadLazyImages(){console.log("".concat("main.lazy-images",": Load lazy images")),o.querySelectorAll("[data-lazy-src]").forEach((function(t){t.classList.remove("empty"),(new st).load(t.getAttribute("data-lazy-src"),t).then((function(o){t.setAttribute("src",o)})).catch((function(){t.classList.add("empty")}))})),o.querySelectorAll("[data-lazy-bg]").forEach((function(t){t.classList.remove("empty"),(new st).load(t.getAttribute("data-lazy-bg"),t).then((function(o){t.style.backgroundImage="url(".concat(o,")")})).catch((function(o){t.classList.add("empty")}))}))};t.addEventListener("".concat(i.LODEDANDREADY),a),t.addEventListener("".concat(i.AJAX),a)})(window),function(t){var o="_layout",a=document;t.addEventListener("".concat(i.LODEDANDREADY),(function(){!function initFonts(){console.log("".concat(o,": initFonts"));var t=a.createElement("link");t.rel="stylesheet",t.type="text/css",t.media="all",t.href="https://fonts.googleapis.com/css?family=Roboto:ital,wght@0,400;0,700;1,400&display=swap",a.getElementsByTagName("head")[0].appendChild(t)}(),function initAnalytics(){console.log("".concat(o,": initAnalytics"))}()}))}(window);function importAll(t){return t.keys().map(t)}if(importAll(a(103)),importAll(a(499)),"serviceWorker"in navigator){var lt=(document.getElementsByTagName("base")[0]||{}).href,ut=(document.querySelector('meta[name="swversion"]')||{}).content;lt&&navigator.serviceWorker.register("".concat(lt,"sw.js?v=").concat(ut)).then((function(){console.log("Service Worker Registered")}))}},444:function(t){var o={getParents:function(t,o){for(var a=[],i=t;i&&i!==document;)o?i.matches(o)&&a.push(i):a.push(i),i=i.parentNode;return a},ucwords:function(t){var o=t.toLowerCase(),a=o.split(" ");o="";for(var i=0;i<a.length;i++){var c=a[i];c=c.charAt(0).toUpperCase()+c.slice(1),i>0&&(o="".concat(o," ")),o+=c}return o}};window.globalF=o,t.exports=o,t.exports.default=o},281:function(t){"use strict";t.exports=function makeYoutubeEmbed(t){if("string"===typeof t){var o=function getId(t){var o=t.match(/^.*(youtu.be\/|v\/|u\/\w\/|embed\/|watch\?v=|\&v=)([^#\&\?]*).*/);if(o&&11==o[2].length)return o[2]}(t);return o?"//www.youtube.com/embed/"+o:void 0}}},239:function(t){t.exports="../img/bg.png"},142:function(t){t.exports="../img/logo.png"},219:function(t){t.exports="../img/logo.svg"},410:function(t){t.exports="../img/original.png"},417:function(t){t.exports="../img/original2.png"},272:function(t){t.exports="../img/photo1.png"},919:function(t){t.exports="../img/photo2.jpg"},420:function(t){t.exports="../img/photo3.svg"},499:function(t){function webpackEmptyContext(t){var o=new Error("Cannot find module '"+t+"'");throw o.code="MODULE_NOT_FOUND",o}webpackEmptyContext.keys=function(){return[]},webpackEmptyContext.resolve=webpackEmptyContext,webpackEmptyContext.id=499,t.exports=webpackEmptyContext}},o={};function __webpack_require__(a){var i=o[a];if(void 0!==i)return i.exports;var c=o[a]={exports:{}};return t[a](c,c.exports,__webpack_require__),c.exports}__webpack_require__.o=function(t,o){return Object.prototype.hasOwnProperty.call(t,o)},function(){"use strict";__webpack_require__(370)}()}();