silverstripe-webpack/app/client/dist/js/sample.js
2021-08-09 20:05:28 +02:00

1 line
70 KiB
JavaScript

!function(){var e={779:function(e,t,n){var r={"./bg.png":870,"./logo.png":205,"./logo.svg":338,"./original.png":187,"./original2.png":72,"./photo1.png":756,"./photo2.jpg":785,"./photo3.svg":602,"app/client/src/img/bg.png":870,"app/client/src/img/logo.png":205,"app/client/src/img/logo.svg":338,"app/client/src/img/original.png":187,"app/client/src/img/original2.png":72,"app/client/src/img/photo1.png":756,"app/client/src/img/photo2.jpg":785,"app/client/src/img/photo3.svg":602,"bg.png":870,"img/bg.png":870,"img/logo.png":205,"img/logo.svg":338,"img/original.png":187,"img/original2.png":72,"img/photo1.png":756,"img/photo2.jpg":785,"img/photo3.svg":602,"logo.png":205,"logo.svg":338,"original.png":187,"original2.png":72,"photo1.png":756,"photo2.jpg":785,"photo3.svg":602};function webpackContext(e){var t=webpackContextResolve(e);return n(t)}function webpackContextResolve(e){if(!n.o(r,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return r[e]}webpackContext.keys=function webpackContextKeys(){return Object.keys(r)},webpackContext.resolve=webpackContextResolve,e.exports=webpackContext,webpackContext.id=779},954:function(e,t,n){"use strict";var r={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",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"},o={ENVS:["xs","sm","md","lg","xl","xxl","xxxl"]};(function(e){var t="_main.visibility",n=document,o=n.body;n.addEventListener("visibilitychange",(function(){"hidden"===n.visibilityState?(console.log("".concat(t,": Tab: hidden")),o.classList.add("is-hidden"),o.classList.remove("is-focused"),e.dispatchEvent(new Event(r.TABHIDDEN))):(console.log("".concat(t,": Tab: focused")),o.classList.add("is-focused"),o.classList.remove("is-hidden"),e.dispatchEvent(new Event(r.TABFOCUSED)))}))})(window),function(e){var t,n,o="_main.touch",a=document,i=a.body,s=function SET_TOUCH_SCREEN(a,s){n||s===t||(a?(console.log("".concat(o,": Touch screen enabled")),i.classList.add("is-touch"),i.classList.remove("is-mouse"),e.dispatchEvent(new Event(r.TOUCHENABLE))):(console.log("".concat(o,": Touch screen disabled")),i.classList.add("is-mouse"),i.classList.remove("is-touch"),e.dispatchEvent(new Event(r.TOUCHDISABLED))),t=s,n||(n=setTimeout((function(){clearTimeout(n),n=null}),500)))};s("ontouchstart"in e||navigator.MaxTouchPoints>0||navigator.msMaxTouchPoints>0||e.matchMedia("(hover: none)").matches,"init"),a.addEventListener("touchend",(function(e){var t=!1;"click"!==e.type&&(t=!0),s(t,"click-touchend")})),a.addEventListener("click",(function(e){var t=!1;"click"!==e.type&&(t=!0),s(t,"click-touchend")}))}(window);function _toConsumableArray(e){return function _arrayWithoutHoles(e){if(Array.isArray(e))return _arrayLikeToArray(e)}(e)||function _iterableToArray(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function _unsupportedIterableToArray(e,t){if(!e)return;if("string"===typeof e)return _arrayLikeToArray(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _arrayLikeToArray(e,t)}(e)||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(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}!function(e){var t=document,n=t.body,a=function detectCSSScreenSize(){var r,a=t.createElement("div");a.className="env-test",n.appendChild(a);var i=_toConsumableArray(o.ENVS).reverse(),s=i.shift();(r=n.classList).remove.apply(r,_toConsumableArray(i));for(var c=0;c<i.length;++c){var l=i[c];if(a.classList.add("d-".concat(l,"-none")),"none"===e.getComputedStyle(a).display){s=l,n.classList.add("".concat(s));break}}var u=!0;return e.innerWidth>e.innerHeight?(n.classList.add("landscape"),n.classList.remove("portrait")):(u=!1,n.classList.add("portrait"),n.classList.remove("landscape")),console.log("".concat("_main.css-screen-size",": screen size detected ").concat(s," | landscape ").concat(u)),n.removeChild(a),s};e.addEventListener("".concat(r.LOADED),a),e.addEventListener("".concat(r.RESIZE),a)}(window);function _defineProperties(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var a="_main.loading-spinner",i=document,s=(i.body,i.getElementById("PageLoading")),c=function(){function SpinnerUI(){!function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,SpinnerUI)}return function _createClass(e,t,n){return t&&_defineProperties(e.prototype,t),n&&_defineProperties(e,n),e}(SpinnerUI,null,[{key:"show",value:function show(){console.log("".concat(a,": show")),s.classList.remove("d-none")}},{key:"hide",value:function hide(){console.log("".concat(a,": hide")),s.classList.add("d-none")}}]),SpinnerUI}();function main_defineProperties(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}!function(e){var t=document,n=t.body;console.info("%cUI Kit ".concat("@a2nt/ss-bootstrap-ui-webpack-boilerplate-react"," ").concat("4.1.7"),"color:yellow;font-size:14px"),console.info("%c".concat("@a2nt/meta-lightbox-js"," ").concat("4.0.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.info("%cENV: ".concat("production"),"color:green;font-size:10px"),console.groupCollapsed("Events"),Object.keys(r).forEach((function(e){console.info("".concat(e,": ").concat(r[e]))})),console.groupEnd("Events"),console.groupCollapsed("Consts"),Object.keys(o).forEach((function(e){console.info("".concat(e,": ").concat(o[e]))})),console.groupEnd("Events"),console.groupCollapsed("Init"),console.time("init");var a=function(){function MainUI(){!function main_classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,MainUI)}return function main_createClass(e,t,n){return t&&main_defineProperties(e.prototype,t),n&&main_defineProperties(e,n),e}(MainUI,null,[{key:"init",value:function init(){e.history.replaceState({landing:e.location.href},t.title,e.location.href),this.loaded()}},{key:"loaded",value:function loaded(){console.log("".concat("_main",": loaded"))}}]),MainUI}();e.addEventListener("".concat(r.LOADED),(function(){a.init(),n.classList.add("loaded"),c.hide(),console.groupEnd("init"),console.timeEnd("init"),e.dispatchEvent(new Event(r.LODEDANDREADY))})),e.addEventListener("".concat(r.AJAX),(function(){a.loaded()})),e.MainUI=a}(window);var l="ajax-load",u="load";function _window_defineProperties(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function _defineProperty(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var f=window,d=n(617),p=new(function(){function MetaWindow(e){var t=this;!function _window_classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,MetaWindow),_defineProperty(this,"state",{content:"",type:[],shown:!1,loading:!1,error:!1,embed:!1,collections:[],current:null,target:null}),_defineProperty(this,"show",(function(){var e=t;console.log("".concat(e.name,": show")),e.setState({shown:!0}),f.dispatchEvent(new Event("{ui.name}.show"))})),_defineProperty(this,"hide",(function(){var e=t;console.log("".concat(e.name,": hide")),e.setState({shown:!1}),f.dispatchEvent(new Event("{ui.name}.hide"))})),_defineProperty(this,"next",(function(){var e=t,n=e.state.current.getAttribute("data-gallery"),r=e._currIndex();r<e.state.collections[n].length-1?r++:r=0,e.state.collections[n][r].click(),console.log("".concat(e.name,": next")),f.dispatchEvent(new Event("{ui.name}.next"))})),_defineProperty(this,"prev",(function(){var e=t,n=e.state.current.getAttribute("data-gallery"),r=e._currIndex();r>0?r--:r=e.state.collections[n].length-1,e.state.collections[n][r].click(),console.log("".concat(e.name,": prev")),f.dispatchEvent(new Event("{ui.name}.prev"))})),_defineProperty(this,"reset",(function(){t.setState({content:"",type:[],shown:!1,loading:!1,error:!1,embed:!1})})),_defineProperty(this,"load",(function(e){var n=t,r=n.axios;n.reset(),n.setState({loading:!0}),n.show(),r.get(e,{responseType:"arraybuffer"}).then((function(e){console.log("".concat(n.name,": response content-type: ").concat(e.headers["content-type"]));switch(e.headers["content-type"]){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":n.setContent('<img src="data:'.concat(e.headers["content-type"],";base64,").concat(n._imageEncode(e.data),'" />'),"image");break;case"application/json":case"application/ld+json":case"application/json; charset=UTF-8":n.setContent("".concat((!1).Content),"text html json");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":n.setContent(n._abToString(e.data),"text html pajax");break;default:console.warn("".concat(n.name,": Unknown response content-type!"))}f.dispatchEvent(new Event("{ui.name}.loaded"))})).catch((function(e){console.error(e);var t="";if(e.response)switch(e.response.status){case 404:t="Not Found.";break;case 500:t="Server issue, please try again latter.";break;default:t="Something went wrong."}else e.request?t="No response received":console.warn("Error",e.message);n.setState({error:t}),f.dispatchEvent(new Event("{ui.name}.error"))})).then((function(){n.setState({loading:!1})}))})),_defineProperty(this,"_currIndex",(function(){var e=t,n=e.state.current,r=n.getAttribute("data-gallery");return e.state.collections[r].indexOf(n)})),_defineProperty(this,"embed",(function(e){var n=t;console.log("".concat(n.name,": embed")),n.reset(),n.setState({embed:e,loading:!1,type:["embed","video"]}),n.show()})),_defineProperty(this,"setCaption",(function(e){var n=t;console.log("".concat(n.name,": setCaption")),n.state.caption=e})),_defineProperty(this,"getCaption",(function(){return t.state.caption})),_defineProperty(this,"_abToString",(function(e){return String.fromCharCode.apply(null,new Uint8Array(e))})),_defineProperty(this,"_imageEncode",(function(e){new Uint8Array(e);return btoa([].reduce.call(new Uint8Array(e),(function(e,t){return e+String.fromCharCode(t)}),""))})),_defineProperty(this,"setContent",(function(e,n){var r=t;console.log("".concat(r.name,": setContent"));var o=n||["html","text"];Array.isArray(o)||(o=n.split(" ")),r.setState({content:e,type:o})})),_defineProperty(this,"getHtml",(function(){return t.state.content}));var n=this;n.name=n.constructor.name,console.log("".concat(n.name,": init")),n.axios=d,f.dispatchEvent(new Event("{ui.name}.init"))}return function _window_createClass(e,t,n){return t&&_window_defineProperties(e.prototype,t),n&&_window_defineProperties(e,n),e}(MetaWindow,[{key:"init",value:function init(e){var t=this;console.log("MetaWindow: [links] init"),t.state.target=e,t.state.collections={},document.querySelectorAll('[data-toggle="lightbox"],[data-gallery="${gallery}"]').forEach((function(e){var n=e.getAttribute("data-gallery");n&&(t.state.collections[n]=[],document.querySelectorAll('[data-toggle="lightbox"][data-gallery="'.concat(n,'"]')).forEach((function(e){t.state.collections[n].push(e)}))),e.addEventListener("click",(function(e){e.preventDefault(),console.log("MetaWindow: [link] click");var n=e.currentTarget,r=n.getAttribute("href")||n.getAttribute("data-href"),o=n.getAttribute("data-embed");t.state.current=n,o?t.embed(r):t.load(r);var a=n.getAttribute("data-title");a&&t.setCaption(a)}))}))}},{key:"setState",value:function setState(e){var t=this;t.state=Object.assign({},t.state,e),t.render()}},{key:"render",value:function render(){var e=this,t=e.name,n=e.state.current;e.state.target.innerHTML="";var r=document.createElement("div");r.classList.add("meta-".concat(t),"meta-".concat(t,"__").concat(e.state.type.join(" meta-".concat(t,"__")))),e.state.target.append(r);var o=document.createElement("div");o.classList.add("meta-".concat(t,"-overlay")),e.state.shown&&o.classList.add("meta-".concat(t,"-overlay__open")),e.state.loading&&o.classList.add("meta-".concat(t,"-overlay__loading")),e.state.error&&o.classList.add("meta-".concat(t,"-overlay__error")),r.append(o);var a=document.createElement("div");a.classList.add("meta-content"),o.append(a);var i=document.createElement("button");if(i.classList.add("meta-nav","meta-close","a"),i.innerHTML='<i class="icon fa fas fa-times"></i> <span class="visually-hidden">Close</span>',i.addEventListener("click",(function(t){t.preventDefault(),e.hide()})),a.append(i),n){var s=n.getAttribute("data-gallery");if(s&&e.state.collections[s].length>1){var c=document.createElement("nav");c.classList.add("meta-navs");var l=document.createElement("button");l.classList.add("meta-nav","meta-nav-arrow","meta-nav-arrow__prev","a"),l.innerHTML='<i class="icon fa fas fa-chevron-left"></i> <span class="visually-hidden">Previous</span>',l.addEventListener("click",(function(t){t.preventDefault(),e.prev()})),c.append(l);var u=document.createElement("button");u.classList.add("meta-nav","meta-nav-arrow","meta-nav-arrow__prev","a"),u.innerHTML='<i class="icon fa fas fa-chevron-right"></i> <span class="visually-hidden">Next</span>',u.addEventListener("click",(function(t){t.preventDefault(),e.next()})),c.append(u),a.append(c)}}if(e.state.embed)'<section class="meta-wrap typography"><Embed url={ui.state.embed} providers={[...defaultProviders, InstagramProvider]} LoadingFallbackElement=<div className="meta-spinner_embed"> ... Loading ... </div></section>';else{var f=document.createElement("section");f.classList.add("meta-wrap","typography"),f.innerHTML=e.getHtml(),a.append(f)}if(e.state.error){var d=document.createElement("div");d.classList.add("meta-error"),d.innerHTML=e.state.error,a.append(d)}else if(e.state.caption){var p=document.createElement("div");p.classList.add("meta-caption"),p.innerHTML=e.getCaption(),a.append(p)}return e}}]),MetaWindow}()),h=document.getElementById("MetaLightboxApp");h||console.log("MetaWindow: missing container");var m=function init(){p.init(h)};window.addEventListener("".concat(u),m),window.addEventListener("".concat(l),m),window.addEventListener("MetaWindow.initLinks",m);function _typeof(e){return(_typeof="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function _typeof(e){return typeof e}:function _typeof(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var g="transitionend",v=function getSelector(e){var t=e.getAttribute("data-bs-target");if(!t||"#"===t){var n=e.getAttribute("href");if(!n||!n.includes("#")&&!n.startsWith("."))return null;n.includes("#")&&!n.startsWith("#")&&(n="#".concat(n.split("#")[1])),t=n&&"#"!==n?n.trim():null}return t},y=function getSelectorFromElement(e){var t=v(e);return t&&document.querySelector(t)?t:null},_=function getElementFromSelector(e){var t=v(e);return t?document.querySelector(t):null},b=function getTransitionDurationFromElement(e){if(!e)return 0;var t=window.getComputedStyle(e),n=t.transitionDuration,r=t.transitionDelay,o=Number.parseFloat(n),a=Number.parseFloat(r);return o||a?(n=n.split(",")[0],r=r.split(",")[0],1e3*(Number.parseFloat(n)+Number.parseFloat(r))):0},E=function triggerTransitionEnd(e){e.dispatchEvent(new Event(g))},w=function isElement(e){return!(!e||"object"!==_typeof(e))&&("undefined"!==typeof e.jquery&&(e=e[0]),"undefined"!==typeof e.nodeType)},A=function getElement(e){return w(e)?e.jquery?e[0]:e:"string"===typeof e&&e.length>0?document.querySelector(e):null},S=function typeCheckConfig(e,t,n){Object.keys(n).forEach((function(r){var o=n[r],a=t[r],i=a&&w(a)?"element":function toType(e){return null===e||void 0===e?"".concat(e):{}.toString.call(e).match(/\s([a-z]+)/i)[1].toLowerCase()}(a);if(!new RegExp(o).test(i))throw new TypeError("".concat(e.toUpperCase(),': Option "').concat(r,'" provided type "').concat(i,'" but expected type "').concat(o,'".'))}))},O=function isVisible(e){return!(!w(e)||0===e.getClientRects().length)&&"visible"===getComputedStyle(e).getPropertyValue("visibility")},L=function reflow(e){e.offsetHeight},C=function getjQuery(){var jQuery=window.jQuery;return jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?jQuery:null},x=[],T=function isRTL(){return"rtl"===document.documentElement.dir},k=function defineJQueryPlugin(e){!function onDOMContentLoaded(e){"loading"===document.readyState?(x.length||document.addEventListener("DOMContentLoaded",(function(){x.forEach((function(e){return e()}))})),x.push(e)):e()}((function(){var $=C();if($){var t=e.NAME,n=$.fn[t];$.fn[t]=e.jQueryInterface,$.fn[t].Constructor=e,$.fn[t].noConflict=function(){return $.fn[t]=n,e.jQueryInterface}}}))},P=function execute(e){"function"===typeof e&&e()},I=function executeAfterTransition(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(n){var r=5,o=b(t)+r,a=!1,i=function handler(n){n.target===t&&(a=!0,t.removeEventListener(g,handler),P(e))};t.addEventListener(g,i),setTimeout((function(){a||E(t)}),o)}else P(e)},j=new Map,D=function set(e,t,n){j.has(e)||j.set(e,new Map);var r=j.get(e);r.has(t)||0===r.size?r.set(t,n):console.error("Bootstrap doesn't allow more than one instance per element. Bound instance: ".concat(Array.from(r.keys())[0],"."))},N=function get(e,t){return j.has(e)&&j.get(e).get(t)||null},R=function remove(e,t){if(j.has(e)){var n=j.get(e);n.delete(t),0===n.size&&j.delete(e)}};function _slicedToArray(e,t){return function _arrayWithHoles(e){if(Array.isArray(e))return e}(e)||function _iterableToArrayLimit(e,t){var n=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,a=[],i=!0,s=!1;try{for(n=n.call(e);!(i=(r=n.next()).done)&&(a.push(r.value),!t||a.length!==t);i=!0);}catch(c){s=!0,o=c}finally{try{i||null==n.return||n.return()}finally{if(s)throw o}}return a}(e,t)||function event_handler_unsupportedIterableToArray(e,t){if(!e)return;if("string"===typeof e)return event_handler_arrayLikeToArray(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return event_handler_arrayLikeToArray(e,t)}(e,t)||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_arrayLikeToArray(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var M=/[^.]*(?=\..*)\.|.*/,U=/\..*/,B=/::\d+$/,q={},F=1,H={mouseenter:"mouseover",mouseleave:"mouseout"},z=/^(mouseenter|mouseleave)/i,V=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 getUidEvent(e,t){return t&&"".concat(t,"::").concat(F++)||e.uidEvent||F++}function getEvent(e){var t=getUidEvent(e);return e.uidEvent=t,q[t]=q[t]||{},q[t]}function findHandler(e,t){for(var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=Object.keys(e),o=0,a=r.length;o<a;o++){var i=e[r[o]];if(i.originalHandler===t&&i.delegationSelector===n)return i}return null}function normalizeParams(e,t,n){var r="string"===typeof t,o=r?n:t,a=getTypeEvent(e);return V.has(a)||(a=e),[r,o,a]}function addHandler(e,t,n,r,o){if("string"===typeof t&&e){if(n||(n=r,r=null),z.test(t)){var a=function wrapFn(e){return function(t){if(!t.relatedTarget||t.relatedTarget!==t.delegateTarget&&!t.delegateTarget.contains(t.relatedTarget))return e.call(this,t)}};r?r=a(r):n=a(n)}var i=_slicedToArray(normalizeParams(t,n,r),3),s=i[0],c=i[1],l=i[2],u=getEvent(e),f=u[l]||(u[l]={}),d=findHandler(f,c,s?n:null);if(d)d.oneOff=d.oneOff&&o;else{var p=getUidEvent(c,t.replace(M,"")),h=s?function bootstrapDelegationHandler(e,t,n){return function handler(r){for(var o=e.querySelectorAll(t),a=r.target;a&&a!==this;a=a.parentNode)for(var i=o.length;i--;)if(o[i]===a)return r.delegateTarget=a,handler.oneOff&&W.off(e,r.type,t,n),n.apply(a,[r]);return null}}(e,n,r):function bootstrapHandler(e,t){return function handler(n){return n.delegateTarget=e,handler.oneOff&&W.off(e,n.type,t),t.apply(e,[n])}}(e,n);h.delegationSelector=s?n:null,h.originalHandler=c,h.oneOff=o,h.uidEvent=p,f[p]=h,e.addEventListener(l,h,s)}}}function removeHandler(e,t,n,r,o){var a=findHandler(t[n],r,o);a&&(e.removeEventListener(n,a,Boolean(o)),delete t[n][a.uidEvent])}function getTypeEvent(e){return e=e.replace(U,""),H[e]||e}var W={on:function on(e,t,n,r){addHandler(e,t,n,r,!1)},one:function one(e,t,n,r){addHandler(e,t,n,r,!0)},off:function off(e,t,n,r){if("string"===typeof t&&e){var o=_slicedToArray(normalizeParams(t,n,r),3),a=o[0],i=o[1],s=o[2],c=s!==t,l=getEvent(e),u=t.startsWith(".");if("undefined"===typeof i){u&&Object.keys(l).forEach((function(n){!function removeNamespacedHandlers(e,t,n,r){var o=t[n]||{};Object.keys(o).forEach((function(a){if(a.includes(r)){var i=o[a];removeHandler(e,t,n,i.originalHandler,i.delegationSelector)}}))}(e,l,n,t.slice(1))}));var f=l[s]||{};Object.keys(f).forEach((function(n){var r=n.replace(B,"");if(!c||t.includes(r)){var o=f[n];removeHandler(e,l,s,o.originalHandler,o.delegationSelector)}}))}else{if(!l||!l[s])return;removeHandler(e,l,s,i,a?n:null)}}},trigger:function trigger(e,t,n){if("string"!==typeof t||!e)return null;var r,$=C(),o=getTypeEvent(t),a=t!==o,i=V.has(o),s=!0,c=!0,l=!1,u=null;return a&&$&&(r=$.Event(t,n),$(e).trigger(r),s=!r.isPropagationStopped(),c=!r.isImmediatePropagationStopped(),l=r.isDefaultPrevented()),i?(u=document.createEvent("HTMLEvents")).initEvent(o,s,!0):u=new CustomEvent(t,{bubbles:s,cancelable:!0}),"undefined"!==typeof n&&Object.keys(n).forEach((function(e){Object.defineProperty(u,e,{get:function get(){return n[e]}})})),l&&u.preventDefault(),c&&e.dispatchEvent(u),u.defaultPrevented&&"undefined"!==typeof r&&r.preventDefault(),u}},X=W;function normalizeData(e){return"true"===e||"false"!==e&&(e===Number(e).toString()?Number(e):""===e||"null"===e?null:e)}function normalizeDataKey(e){return e.replace(/[A-Z]/g,(function(e){return"-".concat(e.toLowerCase())}))}var K={setDataAttribute:function setDataAttribute(e,t,n){e.setAttribute("data-bs-".concat(normalizeDataKey(t)),n)},removeDataAttribute:function removeDataAttribute(e,t){e.removeAttribute("data-bs-".concat(normalizeDataKey(t)))},getDataAttributes:function getDataAttributes(e){if(!e)return{};var t={};return Object.keys(e.dataset).filter((function(e){return e.startsWith("bs")})).forEach((function(n){var r=n.replace(/^bs/,"");r=r.charAt(0).toLowerCase()+r.slice(1,r.length),t[r]=normalizeData(e.dataset[n])})),t},getDataAttribute:function getDataAttribute(e,t){return normalizeData(e.getAttribute("data-bs-".concat(normalizeDataKey(t))))},offset:function offset(e){var t=e.getBoundingClientRect();return{top:t.top+window.pageYOffset,left:t.left+window.pageXOffset}},position:function position(e){return{top:e.offsetTop,left:e.offsetLeft}}};function selector_engine_toConsumableArray(e){return function selector_engine_arrayWithoutHoles(e){if(Array.isArray(e))return selector_engine_arrayLikeToArray(e)}(e)||function selector_engine_iterableToArray(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function selector_engine_unsupportedIterableToArray(e,t){if(!e)return;if("string"===typeof e)return selector_engine_arrayLikeToArray(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return selector_engine_arrayLikeToArray(e,t)}(e)||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(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var Y={find:function find(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document.documentElement;return(t=[]).concat.apply(t,selector_engine_toConsumableArray(Element.prototype.querySelectorAll.call(n,e)))},findOne:function findOne(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document.documentElement;return Element.prototype.querySelector.call(t,e)},children:function children(e,t){var n;return(n=[]).concat.apply(n,selector_engine_toConsumableArray(e.children)).filter((function(e){return e.matches(t)}))},parents:function parents(e,t){for(var parents=[],n=e.parentNode;n&&n.nodeType===Node.ELEMENT_NODE&&3!==n.nodeType;)n.matches(t)&&parents.push(n),n=n.parentNode;return parents},prev:function prev(e,t){for(var n=e.previousElementSibling;n;){if(n.matches(t))return[n];n=n.previousElementSibling}return[]},next:function next(e,t){for(var next=e.nextElementSibling;next;){if(next.matches(t))return[next];next=next.nextElementSibling}return[]},focusableChildren:function focusableChildren(e){var t=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map((function(e){return"".concat(e,':not([tabindex^="-"])')})).join(", ");return this.find(t,e).filter((function(e){return!function isDisabled(e){return!e||e.nodeType!==Node.ELEMENT_NODE||!!e.classList.contains("disabled")||("undefined"!==typeof e.disabled?e.disabled:e.hasAttribute("disabled")&&"false"!==e.getAttribute("disabled"))}(e)&&O(e)}))}};function base_component_typeof(e){return(base_component_typeof="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function _typeof(e){return typeof e}:function _typeof(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function base_component_defineProperties(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var J=function(){function BaseComponent(e){!function base_component_classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,BaseComponent),(e=A(e))&&(this._element=e,D(this._element,this.constructor.DATA_KEY,this))}return function base_component_createClass(e,t,n){return t&&base_component_defineProperties(e.prototype,t),n&&base_component_defineProperties(e,n),e}(BaseComponent,[{key:"dispose",value:function dispose(){var e=this;R(this._element,this.constructor.DATA_KEY),X.off(this._element,this.constructor.EVENT_KEY),Object.getOwnPropertyNames(this).forEach((function(t){e[t]=null}))}},{key:"_queueCallback",value:function _queueCallback(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];I(e,t,n)}}],[{key:"getInstance",value:function getInstance(e){return N(A(e),this.DATA_KEY)}},{key:"getOrCreateInstance",value:function getOrCreateInstance(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.getInstance(e)||new this(e,"object"===base_component_typeof(t)?t:null)}},{key:"VERSION",get:function get(){return"5.1.0"}},{key:"NAME",get:function get(){throw new Error('You have to implement the static method "NAME", for each component!')}},{key:"DATA_KEY",get:function get(){return"bs.".concat(this.NAME)}},{key:"EVENT_KEY",get:function get(){return".".concat(this.DATA_KEY)}}]),BaseComponent}();function collapse_typeof(e){return(collapse_typeof="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function _typeof(e){return typeof e}:function _typeof(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ownKeys(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function _objectSpread(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ownKeys(Object(n),!0).forEach((function(t){collapse_defineProperty(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ownKeys(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function collapse_defineProperty(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function collapse_defineProperties(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function _setPrototypeOf(e,t){return(_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(e,t){return e.__proto__=t,e})(e,t)}function _createSuper(e){var t=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(e){return!1}}();return function _createSuperInternal(){var n,r=_getPrototypeOf(e);if(t){var o=_getPrototypeOf(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return _possibleConstructorReturn(this,n)}}function _possibleConstructorReturn(e,t){return!t||"object"!==collapse_typeof(t)&&"function"!==typeof t?function _assertThisInitialized(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function _getPrototypeOf(e){return(_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var G="collapse",Q="bs.collapse",Z=".".concat(Q),ee={toggle:!0,parent:null},te={toggle:"boolean",parent:"(null|element)"},ne="show".concat(Z),re="shown".concat(Z),oe="hide".concat(Z),ae="hidden".concat(Z),ie="click".concat(Z).concat(".data-api"),se="show",ce="collapse",le="collapsing",ue="collapsed",fe='[data-bs-toggle="collapse"]',de=function(e){!function _inherits(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_setPrototypeOf(e,t)}(Collapse,e);var t=_createSuper(Collapse);function Collapse(e,n){var r;!function collapse_classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,Collapse),(r=t.call(this,e))._isTransitioning=!1,r._config=r._getConfig(n),r._triggerArray=[];for(var o=Y.find(fe),a=0,i=o.length;a<i;a++){var s=o[a],c=y(s),l=Y.find(c).filter((function(e){return e===r._element}));null!==c&&l.length&&(r._selector=c,r._triggerArray.push(s))}return r._initializeChildren(),r._config.parent||r._addAriaAndCollapsedClass(r._triggerArray,r._isShown()),r._config.toggle&&r.toggle(),r}return function collapse_createClass(e,t,n){return t&&collapse_defineProperties(e.prototype,t),n&&collapse_defineProperties(e,n),e}(Collapse,[{key:"toggle",value:function toggle(){this._isShown()?this.hide():this.show()}},{key:"show",value:function show(){var e=this;if(!this._isTransitioning&&!this._isShown()){var t,n=[];if(this._config.parent){var r=Y.find(".".concat(ce," .").concat(ce),this._config.parent);n=Y.find(".show, .collapsing",this._config.parent).filter((function(e){return!r.includes(e)}))}var o=Y.findOne(this._selector);if(n.length){var a=n.find((function(e){return o!==e}));if((t=a?Collapse.getInstance(a):null)&&t._isTransitioning)return}if(!X.trigger(this._element,ne).defaultPrevented){n.forEach((function(e){o!==e&&Collapse.getOrCreateInstance(e,{toggle:!1}).hide(),t||D(e,Q,null)}));var i=this._getDimension();this._element.classList.remove(ce),this._element.classList.add(le),this._element.style[i]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;var s=i[0].toUpperCase()+i.slice(1),c="scroll".concat(s);this._queueCallback((function complete(){e._isTransitioning=!1,e._element.classList.remove(le),e._element.classList.add(ce,se),e._element.style[i]="",X.trigger(e._element,re)}),this._element,!0),this._element.style[i]="".concat(this._element[c],"px")}}}},{key:"hide",value:function hide(){var e=this;if(!this._isTransitioning&&this._isShown()&&!X.trigger(this._element,oe).defaultPrevented){var t=this._getDimension();this._element.style[t]="".concat(this._element.getBoundingClientRect()[t],"px"),L(this._element),this._element.classList.add(le),this._element.classList.remove(ce,se);for(var n=this._triggerArray.length,r=0;r<n;r++){var o=this._triggerArray[r],a=_(o);a&&!this._isShown(a)&&this._addAriaAndCollapsedClass([o],!1)}this._isTransitioning=!0;this._element.style[t]="",this._queueCallback((function complete(){e._isTransitioning=!1,e._element.classList.remove(le),e._element.classList.add(ce),X.trigger(e._element,ae)}),this._element,!0)}}},{key:"_isShown",value:function _isShown(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this._element;return e.classList.contains(se)}},{key:"_getConfig",value:function _getConfig(e){return(e=_objectSpread(_objectSpread(_objectSpread({},ee),K.getDataAttributes(this._element)),e)).toggle=Boolean(e.toggle),e.parent=A(e.parent),S(G,e,te),e}},{key:"_getDimension",value:function _getDimension(){return this._element.classList.contains("collapse-horizontal")?"width":"height"}},{key:"_initializeChildren",value:function _initializeChildren(){var e=this;if(this._config.parent){var t=Y.find(".".concat(ce," .").concat(ce),this._config.parent);Y.find(fe,this._config.parent).filter((function(e){return!t.includes(e)})).forEach((function(t){var n=_(t);n&&e._addAriaAndCollapsedClass([t],e._isShown(n))}))}}},{key:"_addAriaAndCollapsedClass",value:function _addAriaAndCollapsedClass(e,t){e.length&&e.forEach((function(e){t?e.classList.remove(ue):e.classList.add(ue),e.setAttribute("aria-expanded",t)}))}}],[{key:"Default",get:function get(){return ee}},{key:"NAME",get:function get(){return G}},{key:"jQueryInterface",value:function jQueryInterface(e){return this.each((function(){var t={};"string"===typeof e&&/show|hide/.test(e)&&(t.toggle=!1);var n=Collapse.getOrCreateInstance(this,t);if("string"===typeof e){if("undefined"===typeof n[e])throw new TypeError('No method named "'.concat(e,'"'));n[e]()}}))}}]),Collapse}(J);X.on(document,ie,fe,(function(e){("A"===e.target.tagName||e.delegateTarget&&"A"===e.delegateTarget.tagName)&&e.preventDefault();var t=y(this);Y.find(t).forEach((function(e){de.getOrCreateInstance(e,{toggle:!1}).toggle()}))})),k(de);var pe;function carousel_typeof(e){return(carousel_typeof="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function _typeof(e){return typeof e}:function _typeof(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function carousel_ownKeys(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function carousel_objectSpread(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?carousel_ownKeys(Object(n),!0).forEach((function(t){carousel_defineProperty(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):carousel_ownKeys(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function carousel_defineProperties(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function carousel_setPrototypeOf(e,t){return(carousel_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(e,t){return e.__proto__=t,e})(e,t)}function carousel_createSuper(e){var t=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(e){return!1}}();return function _createSuperInternal(){var n,r=carousel_getPrototypeOf(e);if(t){var o=carousel_getPrototypeOf(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return carousel_possibleConstructorReturn(this,n)}}function carousel_possibleConstructorReturn(e,t){return!t||"object"!==carousel_typeof(t)&&"function"!==typeof t?function carousel_assertThisInitialized(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function carousel_getPrototypeOf(e){return(carousel_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function carousel_defineProperty(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var he="carousel",me=".".concat("bs.carousel"),ge=".data-api",ve={interval:5e3,keyboard:!0,slide:!1,pause:"hover",wrap:!0,touch:!0},ye={interval:"(number|boolean)",keyboard:"boolean",slide:"(boolean|string)",pause:"(string|boolean)",wrap:"boolean",touch:"boolean"},_e="next",be="prev",Ee="left",we="right",Ae=(carousel_defineProperty(pe={},"ArrowLeft",we),carousel_defineProperty(pe,"ArrowRight",Ee),pe),Se="slide".concat(me),Oe="slid".concat(me),Le="keydown".concat(me),Ce="mouseenter".concat(me),xe="mouseleave".concat(me),Te="touchstart".concat(me),ke="touchmove".concat(me),Pe="touchend".concat(me),Ie="pointerdown".concat(me),je="pointerup".concat(me),De="dragstart".concat(me),Ne="load".concat(me).concat(ge),Re="click".concat(me).concat(ge),Me="active",Ue=".active.carousel-item",Be="touch",qe=function(e){!function carousel_inherits(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&carousel_setPrototypeOf(e,t)}(Carousel,e);var t=carousel_createSuper(Carousel);function Carousel(e,n){var r;return function carousel_classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,Carousel),(r=t.call(this,e))._items=null,r._interval=null,r._activeElement=null,r._isPaused=!1,r._isSliding=!1,r.touchTimeout=null,r.touchStartX=0,r.touchDeltaX=0,r._config=r._getConfig(n),r._indicatorsElement=Y.findOne(".carousel-indicators",r._element),r._touchSupported="ontouchstart"in document.documentElement||navigator.maxTouchPoints>0,r._pointerEvent=Boolean(window.PointerEvent),r._addEventListeners(),r}return function carousel_createClass(e,t,n){return t&&carousel_defineProperties(e.prototype,t),n&&carousel_defineProperties(e,n),e}(Carousel,[{key:"next",value:function next(){this._slide(_e)}},{key:"nextWhenVisible",value:function nextWhenVisible(){!document.hidden&&O(this._element)&&this.next()}},{key:"prev",value:function prev(){this._slide(be)}},{key:"pause",value:function pause(e){e||(this._isPaused=!0),Y.findOne(".carousel-item-next, .carousel-item-prev",this._element)&&(E(this._element),this.cycle(!0)),clearInterval(this._interval),this._interval=null}},{key:"cycle",value:function cycle(e){e||(this._isPaused=!1),this._interval&&(clearInterval(this._interval),this._interval=null),this._config&&this._config.interval&&!this._isPaused&&(this._updateInterval(),this._interval=setInterval((document.visibilityState?this.nextWhenVisible:this.next).bind(this),this._config.interval))}},{key:"to",value:function to(e){var t=this;this._activeElement=Y.findOne(Ue,this._element);var n=this._getItemIndex(this._activeElement);if(!(e>this._items.length-1||e<0))if(this._isSliding)X.one(this._element,Oe,(function(){return t.to(e)}));else{if(n===e)return this.pause(),void this.cycle();var r=e>n?_e:be;this._slide(r,this._items[e])}}},{key:"_getConfig",value:function _getConfig(e){return e=carousel_objectSpread(carousel_objectSpread(carousel_objectSpread({},ve),K.getDataAttributes(this._element)),"object"===carousel_typeof(e)?e:{}),S(he,e,ye),e}},{key:"_handleSwipe",value:function _handleSwipe(){var e=Math.abs(this.touchDeltaX);if(!(e<=40)){var t=e/this.touchDeltaX;this.touchDeltaX=0,t&&this._slide(t>0?we:Ee)}}},{key:"_addEventListeners",value:function _addEventListeners(){var e=this;this._config.keyboard&&X.on(this._element,Le,(function(t){return e._keydown(t)})),"hover"===this._config.pause&&(X.on(this._element,Ce,(function(t){return e.pause(t)})),X.on(this._element,xe,(function(t){return e.cycle(t)}))),this._config.touch&&this._touchSupported&&this._addTouchEventListeners()}},{key:"_addTouchEventListeners",value:function _addTouchEventListeners(){var e=this,t=function start(t){!e._pointerEvent||"pen"!==t.pointerType&&t.pointerType!==Be?e._pointerEvent||(e.touchStartX=t.touches[0].clientX):e.touchStartX=t.clientX},n=function end(t){!e._pointerEvent||"pen"!==t.pointerType&&t.pointerType!==Be||(e.touchDeltaX=t.clientX-e.touchStartX),e._handleSwipe(),"hover"===e._config.pause&&(e.pause(),e.touchTimeout&&clearTimeout(e.touchTimeout),e.touchTimeout=setTimeout((function(t){return e.cycle(t)}),500+e._config.interval))};Y.find(".carousel-item img",this._element).forEach((function(e){X.on(e,De,(function(e){return e.preventDefault()}))})),this._pointerEvent?(X.on(this._element,Ie,(function(e){return t(e)})),X.on(this._element,je,(function(e){return n(e)})),this._element.classList.add("pointer-event")):(X.on(this._element,Te,(function(e){return t(e)})),X.on(this._element,ke,(function(t){return function move(t){e.touchDeltaX=t.touches&&t.touches.length>1?0:t.touches[0].clientX-e.touchStartX}(t)})),X.on(this._element,Pe,(function(e){return n(e)})))}},{key:"_keydown",value:function _keydown(e){if(!/input|textarea/i.test(e.target.tagName)){var t=Ae[e.key];t&&(e.preventDefault(),this._slide(t))}}},{key:"_getItemIndex",value:function _getItemIndex(e){return this._items=e&&e.parentNode?Y.find(".carousel-item",e.parentNode):[],this._items.indexOf(e)}},{key:"_getItemByOrder",value:function _getItemByOrder(e,t){var n=e===_e;return function getNextActiveElement(e,t,n,r){var o=e.indexOf(t);if(-1===o)return e[!n&&r?e.length-1:0];var a=e.length;return o+=n?1:-1,r&&(o=(o+a)%a),e[Math.max(0,Math.min(o,a-1))]}(this._items,t,n,this._config.wrap)}},{key:"_triggerSlideEvent",value:function _triggerSlideEvent(e,t){var n=this._getItemIndex(e),r=this._getItemIndex(Y.findOne(Ue,this._element));return X.trigger(this._element,Se,{relatedTarget:e,direction:t,from:r,to:n})}},{key:"_setActiveIndicatorElement",value:function _setActiveIndicatorElement(e){if(this._indicatorsElement){var t=Y.findOne(".active",this._indicatorsElement);t.classList.remove(Me),t.removeAttribute("aria-current");for(var n=Y.find("[data-bs-target]",this._indicatorsElement),r=0;r<n.length;r++)if(Number.parseInt(n[r].getAttribute("data-bs-slide-to"),10)===this._getItemIndex(e)){n[r].classList.add(Me),n[r].setAttribute("aria-current","true");break}}}},{key:"_updateInterval",value:function _updateInterval(){var e=this._activeElement||Y.findOne(Ue,this._element);if(e){var t=Number.parseInt(e.getAttribute("data-bs-interval"),10);t?(this._config.defaultInterval=this._config.defaultInterval||this._config.interval,this._config.interval=t):this._config.interval=this._config.defaultInterval||this._config.interval}}},{key:"_slide",value:function _slide(e,t){var n=this,r=this._directionToOrder(e),o=Y.findOne(Ue,this._element),a=this._getItemIndex(o),i=t||this._getItemByOrder(r,o),s=this._getItemIndex(i),c=Boolean(this._interval),l=r===_e,u=l?"carousel-item-start":"carousel-item-end",f=l?"carousel-item-next":"carousel-item-prev",d=this._orderToDirection(r);if(i&&i.classList.contains(Me))this._isSliding=!1;else if(!this._isSliding&&!this._triggerSlideEvent(i,d).defaultPrevented&&o&&i){this._isSliding=!0,c&&this.pause(),this._setActiveIndicatorElement(i),this._activeElement=i;var p=function triggerSlidEvent(){X.trigger(n._element,Oe,{relatedTarget:i,direction:d,from:a,to:s})};if(this._element.classList.contains("slide")){i.classList.add(f),L(i),o.classList.add(u),i.classList.add(u);this._queueCallback((function completeCallBack(){i.classList.remove(u,f),i.classList.add(Me),o.classList.remove(Me,f,u),n._isSliding=!1,setTimeout(p,0)}),o,!0)}else o.classList.remove(Me),i.classList.add(Me),this._isSliding=!1,p();c&&this.cycle()}}},{key:"_directionToOrder",value:function _directionToOrder(e){return[we,Ee].includes(e)?T()?e===Ee?be:_e:e===Ee?_e:be:e}},{key:"_orderToDirection",value:function _orderToDirection(e){return[_e,be].includes(e)?T()?e===be?Ee:we:e===be?we:Ee:e}}],[{key:"Default",get:function get(){return ve}},{key:"NAME",get:function get(){return he}},{key:"carouselInterface",value:function carouselInterface(e,t){var n=Carousel.getOrCreateInstance(e,t),r=n._config;"object"===carousel_typeof(t)&&(r=carousel_objectSpread(carousel_objectSpread({},r),t));var o="string"===typeof t?t:r.slide;if("number"===typeof t)n.to(t);else if("string"===typeof o){if("undefined"===typeof n[o])throw new TypeError('No method named "'.concat(o,'"'));n[o]()}else r.interval&&r.ride&&(n.pause(),n.cycle())}},{key:"jQueryInterface",value:function jQueryInterface(e){return this.each((function(){Carousel.carouselInterface(this,e)}))}},{key:"dataApiClickHandler",value:function dataApiClickHandler(e){var t=_(this);if(t&&t.classList.contains("carousel")){var n=carousel_objectSpread(carousel_objectSpread({},K.getDataAttributes(t)),K.getDataAttributes(this)),r=this.getAttribute("data-bs-slide-to");r&&(n.interval=!1),Carousel.carouselInterface(t,n),r&&Carousel.getInstance(t).to(r),e.preventDefault()}}}]),Carousel}(J);X.on(document,Re,"[data-bs-slide], [data-bs-slide-to]",qe.dataApiClickHandler),X.on(window,Ne,(function(){for(var e=Y.find('[data-bs-ride="carousel"]'),t=0,n=e.length;t<n;t++)qe.carouselInterface(e[t],qe.getInstance(e[t]))})),k(qe);var Fe=qe,He=(function(e){var t="js-carousel",n=function init(){console.log("".concat(t,": init")),document.querySelectorAll(".".concat(t)).forEach((function(e,n){var r=new Fe(e);if(e.dataset.bsArrows){var o=document.createElement("button");o.classList.add("carousel-control-next"),o.setAttribute("type","button"),o.setAttribute("aria-label","Next Slide"),o.setAttribute("data-bs-target",e.getAttribute("id")),o.setAttribute("data-bs-slide","next"),o.addEventListener("click",(function(e){r.next()})),o.innerHTML='<span class="carousel-control-next-icon" aria-hidden="true"></span><span class="visually-hidden">Next</span>',e.appendChild(o);var a=document.createElement("button");a.setAttribute("type","button"),a.setAttribute("aria-label","Previous Slide"),a.classList.add("carousel-control-prev"),a.setAttribute("data-bs-target",e.getAttribute("id")),a.setAttribute("data-bs-slide","prev"),a.addEventListener("click",(function(e){r.prev()})),a.innerHTML='<span class="carousel-control-prev-icon" aria-hidden="true"></span><span class="visually-hidden">Previous</span>',e.appendChild(a)}e.dataset.bsIndicators&&function(){var t=document.createElement("div");t.classList.add("carousel-indicators");for(var n=e.querySelectorAll(".carousel-item"),o=0;o<n.length;){var a=document.createElement("button");a.setAttribute("type","button"),a.setAttribute("aria-label","Slide to #".concat(o+1)),0==o&&a.classList.add("active"),a.setAttribute("data-bs-target",e.getAttribute("id")),a.setAttribute("data-bs-slide-to",o),a.addEventListener("click",(function(e){var n=e.target;r.to(n.getAttribute("data-bs-slide-to")),t.querySelectorAll(".active").forEach((function(e){e.classList.remove("active")})),n.classList.add("active")})),t.appendChild(a),o++}e.appendChild(t),e.addEventListener("slide.bs.carousel",(function(t){e.querySelectorAll(".carousel-indicators .active").forEach((function(e){e.classList.remove("active")})),e.querySelectorAll('.carousel-indicators [data-bs-slide-to="'.concat(t.to,'"]')).forEach((function(e){e.classList.add("active")}))}))}(),e.classList.add("".concat(t,"-active"))}))};e.addEventListener("".concat(r.LODEDANDREADY),n),e.addEventListener("".concat(r.AJAX),n)}(window),n(617)),ze=(function(e){var t,n="main.online",o=document,a=o.body,i=o.querySelector('meta[name="ping"]'),s=!1,c=function UPDATE_ONLINE_STATUS(o){s||(s=!0,o?(a.classList.contains("is-offline")?(console.log("".concat(n,": back Online")),e.dispatchEvent(new Event(r.BACKONLINE))):(console.log("".concat(n,": Online")),e.dispatchEvent(new Event(r.ONLINE))),a.classList.add("is-online"),a.classList.remove("is-offline"),i&&!t&&(console.log("".concat(n,": SESSION_PING is active")),t=setInterval(u,3e5))):(console.log("".concat(n,": Offline")),a.classList.add("is-offline"),a.classList.remove("is-online"),clearInterval(t),t=null,e.dispatchEvent(new Event(r.OFFLINE))),s=!1)},l=!1,u=function SESSION_PING(){if(!l&&!a.classList.contains("is-offline")){var e=i.getAttribute("content");console.log("".concat(n,": session ping")),l=!0,He.post(e,{}).then((function(e){l=!1,c(!0)})).catch((function(e){console.error(e),console.warn("".concat(n,": SESSION_PING failed")),l=!1,c(!1)}))}},f=function navigatorStateUpdate(){"undefined"!==typeof navigator.onLine&&(navigator.onLine?c(!0):c(!1))};e.addEventListener("".concat(r.OFFLINE),(function(){c(!1)})),e.addEventListener("".concat(r.ONLINE),(function(){c(!0)})),e.addEventListener("".concat(r.LOADED),f),e.addEventListener("".concat(r.AJAX),f)}(window),n(617));(function(e){var t="main.lazy-images",n=document,o=(n.body,document.querySelector('meta[name="api_static_domain"]')),a=o?o.getAttribute("content"):"".concat(window.location.protocol,"//").concat(window.location.host);console.log("".concat(t," [static url]: ").concat(a));var i=function loadLazyImages(){console.log("".concat(t,": Load lazy images")),n.querySelectorAll("[data-lazy-src]").forEach((function(e){e.classList.remove("empty"),e.classList.add("loading"),e.classList.remove("loading__network-error");var n=e.getAttribute("data-lazy-src"),r=n.startsWith("http")?n:a+n;ze.get(r,{responseType:"blob"}).then((function(t){var n=new FileReader;n.readAsDataURL(t.data),n.onload=function(){var t=n.result;e.setAttribute("src",t),e.classList.remove("loading"),e.classList.add("loading__success")}})).catch((function(n){if(n.response){switch(n.response.status){case 404:msg="Not Found.";break;case 500:msg="Server issue, please try again latter.";break;default:msg="Something went wrong."}console.error("".concat(t," [").concat(r,"]: ").concat(msg))}else n.request?(msg="No response received",console.error("".concat(t," [").concat(r,"]: ").concat(msg))):console.error("".concat(t," [").concat(r,"]: ").concat(n.message));e.classList.remove("loading"),e.classList.add("loading__network-error"),e.classList.add("empty")}))}))};e.addEventListener("".concat(r.LODEDANDREADY),i),e.addEventListener("".concat(r.AJAX),i)})(window),function(e){var t="_layout",n=document;n.body;e.addEventListener("".concat(r.LOADED),(function(){!function init_fonts(){console.log("".concat(t,": init_fonts"));var e=n.createElement("link");e.rel="stylesheet",e.type="text/css",e.media="all",e.href="https://fonts.googleapis.com/css?family=Roboto:ital,wght@0,400;0,700;1,400&display=swap",n.getElementsByTagName("head")[0].appendChild(e)}()}))}(window);function importAll(e){return e.keys().map(e)}importAll(n(779)),importAll(n(429));if("serviceWorker"in navigator){var Ve=(document.getElementsByTagName("base")[0]||{}).href,We=(document.querySelector('meta[name="swversion"]')||{}).content;Ve&&navigator.serviceWorker.register("".concat(Ve,"sw.js?v=").concat(We)).then((function(){console.log("Service Worker Registered")}))}},617:function(e,t,n){e.exports=n(15)},693:function(e,t,n){"use strict";var r=n(469),o=n(58),a=n(520),i=n(498),s=n(128),c=n(179),l=n(122),u=n(828);e.exports=function xhrAdapter(e){return new Promise((function dispatchXhrRequest(t,n){var f=e.data,d=e.headers;r.isFormData(f)&&delete d["Content-Type"];var p=new XMLHttpRequest;if(e.auth){var h=e.auth.username||"",m=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";d.Authorization="Basic "+btoa(h+":"+m)}var g=s(e.baseURL,e.url);if(p.open(e.method.toUpperCase(),i(g,e.params,e.paramsSerializer),!0),p.timeout=e.timeout,p.onreadystatechange=function handleLoad(){if(p&&4===p.readyState&&(0!==p.status||p.responseURL&&0===p.responseURL.indexOf("file:"))){var r="getAllResponseHeaders"in p?c(p.getAllResponseHeaders()):null,a={data:e.responseType&&"text"!==e.responseType?p.response:p.responseText,status:p.status,statusText:p.statusText,headers:r,config:e,request:p};o(t,n,a),p=null}},p.onabort=function handleAbort(){p&&(n(u("Request aborted",e,"ECONNABORTED",p)),p=null)},p.onerror=function handleError(){n(u("Network Error",e,null,p)),p=null},p.ontimeout=function handleTimeout(){var t="timeout of "+e.timeout+"ms exceeded";e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),n(u(t,e,"ECONNABORTED",p)),p=null},r.isStandardBrowserEnv()){var v=(e.withCredentials||l(g))&&e.xsrfCookieName?a.read(e.xsrfCookieName):void 0;v&&(d[e.xsrfHeaderName]=v)}if("setRequestHeader"in p&&r.forEach(d,(function setRequestHeader(e,t){"undefined"===typeof f&&"content-type"===t.toLowerCase()?delete d[t]:p.setRequestHeader(t,e)})),r.isUndefined(e.withCredentials)||(p.withCredentials=!!e.withCredentials),e.responseType)try{p.responseType=e.responseType}catch(y){if("json"!==e.responseType)throw y}"function"===typeof e.onDownloadProgress&&p.addEventListener("progress",e.onDownloadProgress),"function"===typeof e.onUploadProgress&&p.upload&&p.upload.addEventListener("progress",e.onUploadProgress),e.cancelToken&&e.cancelToken.promise.then((function onCanceled(e){p&&(p.abort(),n(e),p=null)})),f||(f=null),p.send(f)}))}},15:function(e,t,n){"use strict";var r=n(469),o=n(86),a=n(647),i=n(194);function createInstance(e){var t=new a(e),n=o(a.prototype.request,t);return r.extend(n,a.prototype,t),r.extend(n,t),n}var s=createInstance(n(39));s.Axios=a,s.create=function create(e){return createInstance(i(s.defaults,e))},s.Cancel=n(27),s.CancelToken=n(795),s.isCancel=n(711),s.all=function all(e){return Promise.all(e)},s.spread=n(759),s.isAxiosError=n(514),e.exports=s,e.exports.default=s},27:function(e){"use strict";function Cancel(e){this.message=e}Cancel.prototype.toString=function toString(){return"Cancel"+(this.message?": "+this.message:"")},Cancel.prototype.__CANCEL__=!0,e.exports=Cancel},795:function(e,t,n){"use strict";var r=n(27);function CancelToken(e){if("function"!==typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise((function promiseExecutor(e){t=e}));var n=this;e((function cancel(e){n.reason||(n.reason=new r(e),t(n.reason))}))}CancelToken.prototype.throwIfRequested=function throwIfRequested(){if(this.reason)throw this.reason},CancelToken.source=function source(){var e;return{token:new CancelToken((function executor(t){e=t})),cancel:e}},e.exports=CancelToken},711:function(e){"use strict";e.exports=function isCancel(e){return!(!e||!e.__CANCEL__)}},647:function(e,t,n){"use strict";var r=n(469),o=n(498),a=n(425),i=n(202),s=n(194);function Axios(e){this.defaults=e,this.interceptors={request:new a,response:new a}}Axios.prototype.request=function request(e){"string"===typeof e?(e=arguments[1]||{}).url=arguments[0]:e=e||{},(e=s(this.defaults,e)).method?e.method=e.method.toLowerCase():this.defaults.method?e.method=this.defaults.method.toLowerCase():e.method="get";var t=[i,void 0],n=Promise.resolve(e);for(this.interceptors.request.forEach((function unshiftRequestInterceptors(e){t.unshift(e.fulfilled,e.rejected)})),this.interceptors.response.forEach((function pushResponseInterceptors(e){t.push(e.fulfilled,e.rejected)}));t.length;)n=n.then(t.shift(),t.shift());return n},Axios.prototype.getUri=function getUri(e){return e=s(this.defaults,e),o(e.url,e.params,e.paramsSerializer).replace(/^\?/,"")},r.forEach(["delete","get","head","options"],(function forEachMethodNoData(e){Axios.prototype[e]=function(t,n){return this.request(s(n||{},{method:e,url:t,data:(n||{}).data}))}})),r.forEach(["post","put","patch"],(function forEachMethodWithData(e){Axios.prototype[e]=function(t,n,r){return this.request(s(r||{},{method:e,url:t,data:n}))}})),e.exports=Axios},425:function(e,t,n){"use strict";var r=n(469);function InterceptorManager(){this.handlers=[]}InterceptorManager.prototype.use=function use(e,t){return this.handlers.push({fulfilled:e,rejected:t}),this.handlers.length-1},InterceptorManager.prototype.eject=function eject(e){this.handlers[e]&&(this.handlers[e]=null)},InterceptorManager.prototype.forEach=function forEach(e){r.forEach(this.handlers,(function forEachHandler(t){null!==t&&e(t)}))},e.exports=InterceptorManager},128:function(e,t,n){"use strict";var r=n(35),o=n(403);e.exports=function buildFullPath(e,t){return e&&!r(t)?o(e,t):t}},828:function(e,t,n){"use strict";var r=n(587);e.exports=function createError(e,t,n,o,a){var i=new Error(e);return r(i,t,n,o,a)}},202:function(e,t,n){"use strict";var r=n(469),o=n(905),a=n(711),i=n(39);function throwIfCancellationRequested(e){e.cancelToken&&e.cancelToken.throwIfRequested()}e.exports=function dispatchRequest(e){return throwIfCancellationRequested(e),e.headers=e.headers||{},e.data=o(e.data,e.headers,e.transformRequest),e.headers=r.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),r.forEach(["delete","get","head","post","put","patch","common"],(function cleanHeaderConfig(t){delete e.headers[t]})),(e.adapter||i.adapter)(e).then((function onAdapterResolution(t){return throwIfCancellationRequested(e),t.data=o(t.data,t.headers,e.transformResponse),t}),(function onAdapterRejection(t){return a(t)||(throwIfCancellationRequested(e),t&&t.response&&(t.response.data=o(t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))}},587:function(e){"use strict";e.exports=function enhanceError(e,t,n,r,o){return e.config=t,n&&(e.code=n),e.request=r,e.response=o,e.isAxiosError=!0,e.toJSON=function toJSON(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code}},e}},194:function(e,t,n){"use strict";var r=n(469);e.exports=function mergeConfig(e,t){t=t||{};var n={},o=["url","method","data"],a=["headers","auth","proxy","params"],i=["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","timeoutMessage","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","decompress","maxContentLength","maxBodyLength","maxRedirects","transport","httpAgent","httpsAgent","cancelToken","socketPath","responseEncoding"],s=["validateStatus"];function getMergedValue(e,t){return r.isPlainObject(e)&&r.isPlainObject(t)?r.merge(e,t):r.isPlainObject(t)?r.merge({},t):r.isArray(t)?t.slice():t}function mergeDeepProperties(o){r.isUndefined(t[o])?r.isUndefined(e[o])||(n[o]=getMergedValue(void 0,e[o])):n[o]=getMergedValue(e[o],t[o])}r.forEach(o,(function valueFromConfig2(e){r.isUndefined(t[e])||(n[e]=getMergedValue(void 0,t[e]))})),r.forEach(a,mergeDeepProperties),r.forEach(i,(function defaultToConfig2(o){r.isUndefined(t[o])?r.isUndefined(e[o])||(n[o]=getMergedValue(void 0,e[o])):n[o]=getMergedValue(void 0,t[o])})),r.forEach(s,(function merge(r){r in t?n[r]=getMergedValue(e[r],t[r]):r in e&&(n[r]=getMergedValue(void 0,e[r]))}));var c=o.concat(a).concat(i).concat(s),l=Object.keys(e).concat(Object.keys(t)).filter((function filterAxiosKeys(e){return-1===c.indexOf(e)}));return r.forEach(l,mergeDeepProperties),n}},58:function(e,t,n){"use strict";var r=n(828);e.exports=function settle(e,t,n){var o=n.config.validateStatus;n.status&&o&&!o(n.status)?t(r("Request failed with status code "+n.status,n.config,null,n.request,n)):e(n)}},905:function(e,t,n){"use strict";var r=n(469);e.exports=function transformData(e,t,n){return r.forEach(n,(function transform(n){e=n(e,t)})),e}},39:function(e,t,n){"use strict";var r=n(469),o=n(877),a={"Content-Type":"application/x-www-form-urlencoded"};function setContentTypeIfUnset(e,t){!r.isUndefined(e)&&r.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var i={adapter:function getDefaultAdapter(){var e;return("undefined"!==typeof XMLHttpRequest||"undefined"!==typeof process&&"[object process]"===Object.prototype.toString.call(process))&&(e=n(693)),e}(),transformRequest:[function transformRequest(e,t){return o(t,"Accept"),o(t,"Content-Type"),r.isFormData(e)||r.isArrayBuffer(e)||r.isBuffer(e)||r.isStream(e)||r.isFile(e)||r.isBlob(e)?e:r.isArrayBufferView(e)?e.buffer:r.isURLSearchParams(e)?(setContentTypeIfUnset(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):r.isObject(e)?(setContentTypeIfUnset(t,"application/json;charset=utf-8"),JSON.stringify(e)):e}],transformResponse:[function transformResponse(e){if("string"===typeof e)try{e=JSON.parse(e)}catch(t){}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function validateStatus(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};r.forEach(["delete","get","head"],(function forEachMethodNoData(e){i.headers[e]={}})),r.forEach(["post","put","patch"],(function forEachMethodWithData(e){i.headers[e]=r.merge(a)})),e.exports=i},86:function(e){"use strict";e.exports=function bind(e,t){return function wrap(){for(var n=new Array(arguments.length),r=0;r<n.length;r++)n[r]=arguments[r];return e.apply(t,n)}}},498:function(e,t,n){"use strict";var r=n(469);function encode(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}e.exports=function buildURL(e,t,n){if(!t)return e;var o;if(n)o=n(t);else if(r.isURLSearchParams(t))o=t.toString();else{var a=[];r.forEach(t,(function serialize(e,t){null!==e&&"undefined"!==typeof e&&(r.isArray(e)?t+="[]":e=[e],r.forEach(e,(function parseValue(e){r.isDate(e)?e=e.toISOString():r.isObject(e)&&(e=JSON.stringify(e)),a.push(encode(t)+"="+encode(e))})))})),o=a.join("&")}if(o){var i=e.indexOf("#");-1!==i&&(e=e.slice(0,i)),e+=(-1===e.indexOf("?")?"?":"&")+o}return e}},403:function(e){"use strict";e.exports=function combineURLs(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},520:function(e,t,n){"use strict";var r=n(469);e.exports=r.isStandardBrowserEnv()?function standardBrowserEnv(){return{write:function write(e,t,n,o,a,i){var s=[];s.push(e+"="+encodeURIComponent(t)),r.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),r.isString(o)&&s.push("path="+o),r.isString(a)&&s.push("domain="+a),!0===i&&s.push("secure"),document.cookie=s.join("; ")},read:function read(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function remove(e){this.write(e,"",Date.now()-864e5)}}}():{write:function write(){},read:function read(){return null},remove:function remove(){}}},35:function(e){"use strict";e.exports=function isAbsoluteURL(e){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(e)}},514:function(e){"use strict";function _typeof(e){return(_typeof="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function _typeof(e){return typeof e}:function _typeof(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}e.exports=function isAxiosError(e){return"object"===_typeof(e)&&!0===e.isAxiosError}},122:function(e,t,n){"use strict";var r=n(469);e.exports=r.isStandardBrowserEnv()?function standardBrowserEnv(){var e,t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function resolveURL(e){var r=e;return t&&(n.setAttribute("href",r),r=n.href),n.setAttribute("href",r),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return e=resolveURL(window.location.href),function isURLSameOrigin(t){var n=r.isString(t)?resolveURL(t):t;return n.protocol===e.protocol&&n.host===e.host}}():function isURLSameOrigin(){return!0}},877:function(e,t,n){"use strict";var r=n(469);e.exports=function normalizeHeaderName(e,t){r.forEach(e,(function processHeader(n,r){r!==t&&r.toUpperCase()===t.toUpperCase()&&(e[t]=n,delete e[r])}))}},179:function(e,t,n){"use strict";var r=n(469),o=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];e.exports=function parseHeaders(e){var t,n,a,i={};return e?(r.forEach(e.split("\n"),(function parser(e){if(a=e.indexOf(":"),t=r.trim(e.substr(0,a)).toLowerCase(),n=r.trim(e.substr(a+1)),t){if(i[t]&&o.indexOf(t)>=0)return;i[t]="set-cookie"===t?(i[t]?i[t]:[]).concat([n]):i[t]?i[t]+", "+n:n}})),i):i}},759:function(e){"use strict";e.exports=function spread(e){return function wrap(t){return e.apply(null,t)}}},469:function(e,t,n){"use strict";function _typeof(e){return(_typeof="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function _typeof(e){return typeof e}:function _typeof(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var r=n(86),o=Object.prototype.toString;function isArray(e){return"[object Array]"===o.call(e)}function isUndefined(e){return"undefined"===typeof e}function isObject(e){return null!==e&&"object"===_typeof(e)}function isPlainObject(e){if("[object Object]"!==o.call(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}function isFunction(e){return"[object Function]"===o.call(e)}function forEach(e,t){if(null!==e&&"undefined"!==typeof e)if("object"!==_typeof(e)&&(e=[e]),isArray(e))for(var n=0,r=e.length;n<r;n++)t.call(null,e[n],n,e);else for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.call(null,e[o],o,e)}e.exports={isArray:isArray,isArrayBuffer:function isArrayBuffer(e){return"[object ArrayBuffer]"===o.call(e)},isBuffer:function isBuffer(e){return null!==e&&!isUndefined(e)&&null!==e.constructor&&!isUndefined(e.constructor)&&"function"===typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)},isFormData:function isFormData(e){return"undefined"!==typeof FormData&&e instanceof FormData},isArrayBufferView:function isArrayBufferView(e){return"undefined"!==typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&e.buffer instanceof ArrayBuffer},isString:function isString(e){return"string"===typeof e},isNumber:function isNumber(e){return"number"===typeof e},isObject:isObject,isPlainObject:isPlainObject,isUndefined:isUndefined,isDate:function isDate(e){return"[object Date]"===o.call(e)},isFile:function isFile(e){return"[object File]"===o.call(e)},isBlob:function isBlob(e){return"[object Blob]"===o.call(e)},isFunction:isFunction,isStream:function isStream(e){return isObject(e)&&isFunction(e.pipe)},isURLSearchParams:function isURLSearchParams(e){return"undefined"!==typeof URLSearchParams&&e instanceof URLSearchParams},isStandardBrowserEnv:function isStandardBrowserEnv(){return("undefined"===typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&("undefined"!==typeof window&&"undefined"!==typeof document)},forEach:forEach,merge:function merge(){var e={};function assignValue(t,n){isPlainObject(e[n])&&isPlainObject(t)?e[n]=merge(e[n],t):isPlainObject(t)?e[n]=merge({},t):isArray(t)?e[n]=t.slice():e[n]=t}for(var t=0,n=arguments.length;t<n;t++)forEach(arguments[t],assignValue);return e},extend:function extend(e,t,n){return forEach(t,(function assignValue(t,o){e[o]=n&&"function"===typeof t?r(t,n):t})),e},trim:function trim(e){return e.replace(/^\s*/,"").replace(/\s*$/,"")},stripBOM:function stripBOM(e){return 65279===e.charCodeAt(0)&&(e=e.slice(1)),e}}},870:function(e){e.exports="../img/bg.png"},205:function(e){e.exports="../img/logo.png"},338:function(e){e.exports="../img/logo.svg"},187:function(e){e.exports="../img/original.png"},72:function(e){e.exports="../img/original2.png"},756:function(e){e.exports="../img/photo1.png"},785:function(e){e.exports="../img/photo2.jpg"},602:function(e){e.exports="../img/photo3.svg"},429:function(e){function webpackEmptyContext(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}webpackEmptyContext.keys=function(){return[]},webpackEmptyContext.resolve=webpackEmptyContext,webpackEmptyContext.id=429,e.exports=webpackEmptyContext}},t={};function __webpack_require__(n){var r=t[n];if(void 0!==r)return r.exports;var o=t[n]={exports:{}};return e[n](o,o.exports,__webpack_require__),o.exports}__webpack_require__.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},function(){"use strict";__webpack_require__(954)}()}();