yelda-webchat 1.1.3 → 1.1.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define("YeldaChat",[],t):"object"==typeof exports?exports.YeldaChat=t():e.YeldaChat=t()}(window,function(){return(r={},o.m=i={"+KpT":function(e,t,i){e.exports=function o(n,a,s){function l(i,e){if(!a[i]){if(!n[i]){if(u)return u(i,!0);var t=new Error("Cannot find module '"+i+"'");throw t.code="MODULE_NOT_FOUND",t}var r=a[i]={exports:{}};n[i][0].call(r.exports,function(e){var t=n[i][1][e];return l(t||e)},r,r.exports,o,n,a,s)}return a[i].exports}for(var u=!1,e=0;e<s.length;e++)l(s[e]);return l}({1:[function(e,t,i){!function(e,t){if(0,void 0!==i)t();else{t(),e.lgZoom={}}}(this,function(){"use strict";var t=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&(e[r]=i[r])}return e},i={scale:1,zoom:!0,actualSize:!0,enableZoomAfter:300,useLeftForZoom:function(){var e=false,t=navigator.userAgent.match(/Chrom(e|ium)\/([0-9]+)\./);if(t&&parseInt(t[2],10)<54){e=true}return e}()},e=function(e){return this.el=e,this.core=window.lgData[this.el.getAttribute("lg-uid")],this.core.s=t({},i,this.core.s),this.core.s.zoom&&this.core.doCss()&&(this.init(),this.zoomabletimeout=!1,this.pageX=window.innerWidth/2,this.pageY=window.innerHeight/2+(document.documentElement.scrollTop||document.body.scrollTop)),this};e.prototype.init=function(){var l=this,e='<button aria-label="Zoom in" id="lg-zoom-in" class="lg-icon"></button><button aria-label="Zoom out" id="lg-zoom-out" class="lg-icon"></button>';l.core.s.actualSize&&(e+='<button aria-label="Actual size" id="lg-actual-size" class="lg-icon"></button>'),l.core.s.useLeftForZoom?utils.addClass(l.core.outer,"lg-use-left-for-zoom"):utils.addClass(l.core.outer,"lg-use-transition-for-zoom"),this.core.outer.querySelector(".lg-toolbar").insertAdjacentHTML("beforeend",e),utils.on(l.core.el,"onSlideItemLoad.lgtmzoom",function(e){var t=l.core.s.enableZoomAfter+e.detail.delay;utils.hasClass(document.body,"lg-from-hash")&&e.detail.delay?t=0:utils.removeClass(document.body,"lg-from-hash"),l.zoomabletimeout=setTimeout(function(){utils.addClass(l.core.___slide[e.detail.index],"lg-zoomable")},t+30)});var a=1,t=function(e){var t,i,r=l.core.outer.querySelector(".lg-current .lg-image"),o=(window.innerWidth-r.clientWidth)/2,n=(window.innerHeight-r.clientHeight)/2+(document.documentElement.scrollTop||document.body.scrollTop);t=l.pageX-o,i=l.pageY-n;var a=(e-1)*t,s=(e-1)*i;utils.setVendor(r,"Transform","scale3d("+e+", "+e+", 1)"),r.setAttribute("data-scale",e),l.core.s.useLeftForZoom?(r.parentElement.style.left=-a+"px",r.parentElement.style.top=-s+"px"):utils.setVendor(r.parentElement,"Transform","translate3d(-"+a+"px, -"+s+"px, 0)"),r.parentElement.setAttribute("data-x",a),r.parentElement.setAttribute("data-y",s)},s=function(){1<a?utils.addClass(l.core.outer,"lg-zoomed"):l.resetZoom(),a<1&&(a=1),t(a)},r=function(e,t,i,r){var o,n=t.clientWidth;o=l.core.s.dynamic?l.core.s.dynamicEl[i].width||t.naturalWidth||n:l.core.items[i].getAttribute("data-width")||t.naturalWidth||n,utils.hasClass(l.core.outer,"lg-zoomed")?a=1:n<o&&(a=o/n||2),r?(l.pageX=window.innerWidth/2,l.pageY=window.innerHeight/2+(document.documentElement.scrollTop||document.body.scrollTop)):(l.pageX=e.pageX||e.targetTouches[0].pageX,l.pageY=e.pageY||e.targetTouches[0].pageY),s(),setTimeout(function(){utils.removeClass(l.core.outer,"lg-grabbing"),utils.addClass(l.core.outer,"lg-grab")},10)},o=!1;utils.on(l.core.el,"onAferAppendSlide.lgtmzoom",function(e){var t=e.detail.index,i=l.core.___slide[t].querySelector(".lg-image");l.core.isTouch||utils.on(i,"dblclick",function(e){r(e,i,t)}),l.core.isTouch&&utils.on(i,"touchstart",function(e){o?(clearTimeout(o),o=null,r(e,i,t)):o=setTimeout(function(){o=null},300),e.preventDefault()})}),utils.on(window,"resize.lgzoom scroll.lgzoom orientationchange.lgzoom",function(){l.pageX=window.innerWidth/2,l.pageY=window.innerHeight/2+(document.documentElement.scrollTop||document.body.scrollTop),t(a)}),utils.on(document.getElementById("lg-zoom-out"),"click.lg",function(){l.core.outer.querySelector(".lg-current .lg-image")&&(a-=l.core.s.scale,s())}),utils.on(document.getElementById("lg-zoom-in"),"click.lg",function(){l.core.outer.querySelector(".lg-current .lg-image")&&(a+=l.core.s.scale,s())}),utils.on(document.getElementById("lg-actual-size"),"click.lg",function(e){r(e,l.core.___slide[l.core.index].querySelector(".lg-image"),l.core.index,!0)}),utils.on(l.core.el,"onBeforeSlide.lgtm",function(){a=1,l.resetZoom()}),l.core.isTouch||l.zoomDrag(),l.core.isTouch&&l.zoomSwipe()},e.prototype.resetZoom=function(){utils.removeClass(this.core.outer,"lg-zoomed");for(var e=0;e<this.core.___slide.length;e++)this.core.___slide[e].querySelector(".lg-img-wrap")&&(this.core.___slide[e].querySelector(".lg-img-wrap").removeAttribute("style"),this.core.___slide[e].querySelector(".lg-img-wrap").removeAttribute("data-x"),this.core.___slide[e].querySelector(".lg-img-wrap").removeAttribute("data-y"));for(var t=0;t<this.core.___slide.length;t++)this.core.___slide[t].querySelector(".lg-image")&&(this.core.___slide[t].querySelector(".lg-image").removeAttribute("style"),this.core.___slide[t].querySelector(".lg-image").removeAttribute("data-scale"));this.pageX=window.innerWidth/2,this.pageY=window.innerHeight/2+(document.documentElement.scrollTop||document.body.scrollTop)},e.prototype.zoomSwipe=function(){for(var o=this,n={},a={},s=!1,l=!1,u=!1,e=0;e<o.core.___slide.length;e++)utils.on(o.core.___slide[e],"touchstart.lg",function(e){if(utils.hasClass(o.core.outer,"lg-zoomed")){var t=o.core.___slide[o.core.index].querySelector(".lg-object");u=t.offsetHeight*t.getAttribute("data-scale")>o.core.outer.querySelector(".lg").clientHeight,((l=t.offsetWidth*t.getAttribute("data-scale")>o.core.outer.querySelector(".lg").clientWidth)||u)&&(e.preventDefault(),n={x:e.targetTouches[0].pageX,y:e.targetTouches[0].pageY})}});for(var t=0;t<o.core.___slide.length;t++)utils.on(o.core.___slide[t],"touchmove.lg",function(e){if(utils.hasClass(o.core.outer,"lg-zoomed")){var t,i,r=o.core.___slide[o.core.index].querySelector(".lg-img-wrap");e.preventDefault(),s=!0,a={x:e.targetTouches[0].pageX,y:e.targetTouches[0].pageY},utils.addClass(o.core.outer,"lg-zoom-dragging"),i=u?-Math.abs(r.getAttribute("data-y"))+(a.y-n.y):-Math.abs(r.getAttribute("data-y")),t=l?-Math.abs(r.getAttribute("data-x"))+(a.x-n.x):-Math.abs(r.getAttribute("data-x")),(15<Math.abs(a.x-n.x)||15<Math.abs(a.y-n.y))&&(o.core.s.useLeftForZoom?(r.style.left=t+"px",r.style.top=i+"px"):utils.setVendor(r,"Transform","translate3d("+t+"px, "+i+"px, 0)"))}});for(var i=0;i<o.core.___slide.length;i++)utils.on(o.core.___slide[i],"touchend.lg",function(){utils.hasClass(o.core.outer,"lg-zoomed")&&s&&(s=!1,utils.removeClass(o.core.outer,"lg-zoom-dragging"),o.touchendZoom(n,a,l,u))})},e.prototype.zoomDrag=function(){for(var o=this,n={},a={},s=!1,l=!1,u=!1,c=!1,e=0;e<o.core.___slide.length;e++)utils.on(o.core.___slide[e],"mousedown.lgzoom",function(e){var t=o.core.___slide[o.core.index].querySelector(".lg-object");c=t.offsetHeight*t.getAttribute("data-scale")>o.core.outer.querySelector(".lg").clientHeight,u=t.offsetWidth*t.getAttribute("data-scale")>o.core.outer.querySelector(".lg").clientWidth,utils.hasClass(o.core.outer,"lg-zoomed")&&utils.hasClass(e.target,"lg-object")&&(u||c)&&(e.preventDefault(),n={x:e.pageX,y:e.pageY},s=!0,o.core.outer.scrollLeft+=1,--o.core.outer.scrollLeft,utils.removeClass(o.core.outer,"lg-grab"),utils.addClass(o.core.outer,"lg-grabbing"))});utils.on(window,"mousemove.lgzoom",function(e){if(s){var t,i,r=o.core.___slide[o.core.index].querySelector(".lg-img-wrap");l=!0,a={x:e.pageX,y:e.pageY},utils.addClass(o.core.outer,"lg-zoom-dragging"),i=c?-Math.abs(r.getAttribute("data-y"))+(a.y-n.y):-Math.abs(r.getAttribute("data-y")),t=u?-Math.abs(r.getAttribute("data-x"))+(a.x-n.x):-Math.abs(r.getAttribute("data-x")),o.core.s.useLeftForZoom?(r.style.left=t+"px",r.style.top=i+"px"):utils.setVendor(r,"Transform","translate3d("+t+"px, "+i+"px, 0)")}}),utils.on(window,"mouseup.lgzoom",function(e){s&&(s=!1,utils.removeClass(o.core.outer,"lg-zoom-dragging"),!l||n.x===a.x&&n.y===a.y||(a={x:e.pageX,y:e.pageY},o.touchendZoom(n,a,u,c)),l=!1),utils.removeClass(o.core.outer,"lg-grabbing"),utils.addClass(o.core.outer,"lg-grab")})},e.prototype.touchendZoom=function(e,t,i,r){var o=this,n=o.core.___slide[o.core.index].querySelector(".lg-img-wrap"),a=o.core.___slide[o.core.index].querySelector(".lg-object"),s=-Math.abs(n.getAttribute("data-x"))+(t.x-e.x),l=-Math.abs(n.getAttribute("data-y"))+(t.y-e.y),u=(o.core.outer.querySelector(".lg").clientHeight-a.offsetHeight)/2,c=Math.abs(a.offsetHeight*Math.abs(a.getAttribute("data-scale"))-o.core.outer.querySelector(".lg").clientHeight+u),d=(o.core.outer.querySelector(".lg").clientWidth-a.offsetWidth)/2,f=Math.abs(a.offsetWidth*Math.abs(a.getAttribute("data-scale"))-o.core.outer.querySelector(".lg").clientWidth+d);(15<Math.abs(t.x-e.x)||15<Math.abs(t.y-e.y))&&(r&&(l<=-c?l=-c:-u<=l&&(l=-u)),i&&(s<=-f?s=-f:-d<=s&&(s=-d)),r?n.setAttribute("data-y",Math.abs(l)):l=-Math.abs(n.getAttribute("data-y")),i?n.setAttribute("data-x",Math.abs(s)):s=-Math.abs(n.getAttribute("data-x")),o.core.s.useLeftForZoom?(n.style.left=s+"px",n.style.top=l+"px"):utils.setVendor(n,"Transform","translate3d("+s+"px, "+l+"px, 0)"))},e.prototype.destroy=function(){var e=this;utils.off(e.core.el,".lgzoom"),utils.off(window,".lgzoom");for(var t=0;t<e.core.___slide.length;t++)utils.off(e.core.___slide[t],".lgzoom");utils.off(e.core.el,".lgtmzoom"),e.resetZoom(),clearTimeout(e.zoomabletimeout),e.zoomabletimeout=!1},window.lgModules.zoom=e})},{}]},{},[1])(1)},"14Xm":function(e,t,i){e.exports=i("u938")},"1AmZ":function(e,t,i){"use strict";i.r(t);var r=i("14Xm"),o=i.n(r),n=i("D3Ub"),a=i.n(n),s=i("4d7F"),l=i.n(s),u=i("QbLZ"),c=i.n(u),d=i("iCc5"),f=i.n(d),T=i("V7oC"),h=i.n(T),b=(i("c39r"),i("xsZ3")),S=i.n(b),m=(i("RolN"),i("yu08"),i("+KpT"),i("5vGx"),i("Wdqn"),i("fb6B"),i("8SHQ")),g=i.n(m);function p(){f()(this,p)}var v=new(h()(p,[{key:"updateQueryStringParameter",value:function(e,t,i){var r=new RegExp("([?&])"+t+"=.*?(&|$)","i"),o=-1!==e.indexOf("?")?"&":"?";return e.match(r)?e.replace(r,"$1"+t+"="+i+"$2"):e+o+t+"="+i}},{key:"getUrlVars",value:function(e){var r={};return e.replace(/[?&]+([^=&]+)=([^&]*)/gi,function(e,t,i){r[t]=i}),r}},{key:"getUrlParam",value:function(e,t,i){var r=1<arguments.length&&void 0!==t?t:"",o=2<arguments.length&&void 0!==i?i:window.location.href,n=r;return-1<o.indexOf(e)&&(n=this.getUrlVars(o)[e]),n||r}},{key:"createContainer",value:function(){if(!this.parentContainer)return null;if(this.webChatContainer)return!0;var e=this.parentContainer===document.body?"yelda_container":"yelda_container inner";this.webChatContainer=document.createElement("div"),this.webChatContainer.setAttribute("id","yelda_container"),this.webChatContainer.setAttribute("class",e),this.parentContainer.appendChild(this.webChatContainer)}},{key:"addAssistantBubbleText",value:function(){this.webChatContainer&&this.webchatSettings&&this.webchatSettings.bubbleText&&(this.assistantBubbleText=document.createElement("span"),this.assistantBubbleText.setAttribute("id","yelda_assistant_bubble_text"),this.assistantBubbleText.innerText=this.webchatSettings.bubbleText,this.assistantBubbleText.addEventListener("click",this.openChat),this.webChatContainer.appendChild(this.assistantBubbleText))}},{key:"addAssistantImage",value:function(){if(this.webChatContainer||(this.webChatContainer=document.getElementById("yelda_container")),null!==document.getElementById("yelda_assistant_img")){if(!this.bubbleContainer)return;document.getElementById("yelda_assistant_img").remove()}this.assistantImage=document.createElement("div"),this.bubbleContainer&&(this.assistantImage=this.bubbleContainer),this.assistantImage.setAttribute("id","yelda_assistant_img"),this.assistantImage.setAttribute("class","yelda_assistant_img default"),this.assistantImage.innerHTML='<i class="fas fa-comment"></i>',this.assistantImage.addEventListener("click",this.openChat),this.updateAssistantImageWithAssistantSettings()}},{key:"addAssistantImageToWebChatContainer",value:function(){this.bubbleContainer?this.webChatContainer=this.assistantImage.parentElement:this.webChatContainer.appendChild(this.assistantImage)}},{key:"updateAssistantImageWithAssistantSettings",value:function(){if(this.webChatContainer)if(this.webchatSettings){var e=!!this.webchatSettings.hasOwnProperty("isVoiceFirstUI")&&this.webchatSettings.isVoiceFirstUI,t=this.webchatSettings.image&&this.webchatSettings.image.url,i=this.webchatSettings.hasOwnProperty("isDefaultStyle")&&!this.webchatSettings.isDefaultStyle;if(e)return this.iframeContainer.classList.add("voiceFirstUI"),this.openChat(),void(this.assistantImage=null);if(i&&t){var r=null!==new S.a(navigator.userAgent).mobile()&&this.webchatSettings.mobileImage&&this.webchatSettings.mobileImage.url?this.webchatSettings.mobileImage.url:t;this.assistantImage.classList.remove("default","custom"),this.assistantImage.innerHTML='<img src="'+r+'" alt="assistant">',this.assistantImage.classList.add("custom"),this.addAssistantImageToWebChatContainer()}else this.addAssistantImageToWebChatContainer()}else this.addAssistantImageToWebChatContainer()}},{key:"createWebChatURL",value:function(e){var t=e.chatUrl;return t=this.updateQueryStringParameter(t,"assistantId",e.assistantId),t=this.updateQueryStringParameter(t,"assistantSlug",e.assistantSlug),t=this.updateQueryStringParameter(t,"locale",e.locale),t=this.updateQueryStringParameter(t,"location",e.location),e.platformSimulated&&(t=this.updateQueryStringParameter(t,"platformSimulated",e.platformSimulated)),e.hasOwnProperty("canBeClosed")&&(t=this.updateQueryStringParameter(t,"canBeClosed",e.canBeClosed)),e.hasOwnProperty("shouldBeOpened")&&(t=this.updateQueryStringParameter(t,"shouldBeOpened",e.shouldBeOpened)),e.isAdmin&&(t=this.updateQueryStringParameter(t,"isAdmin",e.isAdmin)),e.isStartBtn&&(t=this.updateQueryStringParameter(t,"isStartBtn",e.isAdmin&&e.isStartBtn)),e.isDemo&&(t=this.updateQueryStringParameter(t,"isDemo",e.isDemo)),e.hasOwnProperty(g.a.YELDA_PARAMETER)&&(t=this.updateQueryStringParameter(t,g.a.YELDA_PARAMETER,e[g.a.YELDA_PARAMETER])),t}},{key:"createWebChatFrame",value:function(e,t){if(this.webChatContainer||(this.webChatContainer=document.getElementsByClassName("yelda_container")[0]),!this.iframeContainer){var i="yelda_iframe_container";this.iframeContainer=document.createElement("div"),this.iframeContainer.setAttribute("id","yelda_iframe_container"),this.parentContainer!==document.body&&(i+=" inner"),(t.shouldBeOpened||t.isStartBtn)&&t.hasOwnProperty("canBeClosed")&&!t.canBeClosed?i+=" y_active":this.iframeContainer.style.cssText="display: none;",this.iframeContainer.setAttribute("class",i),this.webChatContainer.appendChild(this.iframeContainer)}var r=void 0;return this.webChatIframe?r=document.getElementById("web_chat_frame"):((r=document.createElement("iframe")).src=e,r.id="web_chat_frame",r.name="frame",r.style.border="0",r.setAttribute("allow","microphone;"),r.setAttribute("allowfullscreen","true"),r.setAttribute("webkitallowfullscreen","true"),r.setAttribute("mozallowfullscreen","true"),this.iframeContainer.appendChild(r)),r}},{key:"getSharedUrlProperties",value:function(e){return{facebookShareUrl:e,twitterShareUrl:e,pinterestShareUrl:e}}},{key:"getImageProperties",value:function(e){return c()({src:e,href:e},this.getSharedUrlProperties(e))}},{key:"getVideoProperties",value:function(e){var t=e.urls.reduce(function(e,t){return e+'<source src="'+t+'"></source>'},"");return c()({html:'<video class="lg-video-object lg-html5" controls="true" preload="none">'+t+"</video>",href:e.urls[0]},e.cover&&{poster:e.cover},this.getSharedUrlProperties(e.urls[0]))}},{key:"messageListener",value:function(e){if("closeChat"!==e.data&&"closeChat"!==e.message)if("openChat"!==e.data&&"openChat"!==e.message)if(e.data&&e.data.event&&"openLightGallery"===e.data.event){if(!e.data.mediaSources||!e.data.mediaSources.length)return;this.handleLightGallery(e.data)}else e.data&&e.data.event&&"isSendingMessage"===e.data.event&&e.data.hasOwnProperty("data")&&window.dispatchEvent(new CustomEvent("isSendingMessage",{detail:e.data.data}));else this.openChat();else this.closeChat()}},{key:"handleLightGallery",value:function(e){var i=this,t=document.getElementById("lightgallery");t||((t=document.createElement("div")).id="lightgallery",document.getElementById("yelda_iframe_container").appendChild(t));var r=e.mediaSources.map(function(e){var t={};return"string"==typeof e?t=i.getImageProperties(e):e.urls&&e.urls.length&&(t=i.getImageProperties(e)),c()({tweetText:"",pinterestText:""},t)});window.lightGallery(t,{googlePlus:!1,dynamic:!0,dynamicEl:r,index:e.index||0}),t.addEventListener("onCloseAfter",function(){t.remove()})}},{key:"closeChat",value:function(){var e=document.getElementById("yelda_assistant_img");null!==e&&(e.style.display="inline-block");var t=document.getElementById("yelda_iframe_container");null!==t&&(t.classList.remove("y_active"),t.style.display="none")}},{key:"openChat",value:function(){var e=document.getElementById("yelda_assistant_img");null!==e&&(e.style.display="none");var t=document.getElementById("yelda_iframe_container");null!==t&&(t.style.display="block",t.classList.add("y_active")),document.getElementById("web_chat_frame").contentWindow.postMessage("openChat","*")}},{key:"toggleFrameListener",value:function(e){var t=0<arguments.length&&void 0!==e&&e,i=!window.addEventListener,r=i?"onmessage":"message",o=window[t?i?"detachEvent":"removeEventListener":i?"attachEvent":"addEventListener"];this.messageListenerBind||(this.messageListenerBind=this.messageListener.bind(this)),o(r,this.messageListenerBind)}},{key:"loadCssAsync",value:function(){var e=document.getElementsByTagName("head")[0],t=document.createElement("link");t.rel="stylesheet",t.type="text/css",t.crossorigin="anonymous",t.href="https://yelda-webchat.s3.eu-west-3.amazonaws.com/css/yeldaWebchatInjector.min.css",t.media="all",e.appendChild(t)}},{key:"setUpChatIFrame",value:function(e){var t=this.createWebChatURL(e);this.webChatIframe=this.createWebChatFrame(t,e)}},{key:"resetChat",value:function(i){var t,r=this;return new l.a((t=a()(o.a.mark(function e(t){return o.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(r.unLoadChat(),i)return e.next=4,r.setupChat(i);e.next=4;break;case 4:t();case 5:case"end":return e.stop()}},e,r)})),function(e){return t.apply(this,arguments)}))}},{key:"updateAssistantData",value:function(e,t){return e.settingId&&t&&t.assistantSlug&&(e.assistantId=t.assistantId,e.assistantSlug=t.assistantSlug,e.locale=t.locale),e}},{key:"setAssistantUrl",value:function(e,t){return e?e.replace(/\/$/,""):("https://"+(g.a.REGEX_HOST.STAGING.test(t)?g.a.HOST.STAGING:g.a.HOST.PRODUCTION)).replace(/\/$/,"")}},{key:"formatData",value:function(e){var t=e.chatPath||"/chat";e.assistantUrl=this.setAssistantUrl(e.assistantUrl,window.location.href),e.chatPath=t.replace(/^\//,""),e.chatUrl=e.assistantUrl+"/"+e.chatPath,e.locale=e.locale||"fr_FR",e.isAdmin=!!e.isAdmin,e.isStartBtn=!!e.isStartBtn,e.isDemo=!!e.isDemo,e.location=encodeURIComponent(window.location.href),e.hasOwnProperty("shouldBeOpened")&&(e.shouldBeOpened=!!e.shouldBeOpened);var i=this.getUrlParam(g.a.YELDA_PARAMETER,null);return i&&""!==i&&(e[g.a.YELDA_PARAMETER]=i),e.hasOwnProperty("canBeClosed")&&(e.canBeClosed=!!e.canBeClosed),this.parentContainer=document.body,this.bubbleContainer=null,this.bubbleContainerClone=null,e.bubbleContainerChildId&&document.getElementById(e.bubbleContainerChildId)&&(this.bubbleContainer=document.getElementById(e.bubbleContainerChildId).parentElement,this.bubbleContainer&&(this.bubbleContainerClone=document.getElementById(e.bubbleContainerChildId).parentElement.cloneNode(!0))),e.parentContainerId&&document.getElementById(e.parentContainerId)&&(this.parentContainer=document.getElementById(e.parentContainerId),e.canBeClosed=e.hasOwnProperty("canBeClosed")?e.canBeClosed:g.a.CAN_BE_CLOSED_WITH_PARENT_ID),e}},{key:"isStyleSheetLoaded",value:function(){var e=document.styleSheets,t=!1;if(void 0!==e&&e.length)e:for(var i=0;i<e.length;i++){var r=document.styleSheets[i];try{var o=r.cssRules;if(void 0!==o)for(var n=0;n<o.length;n++)if(void 0!==o[n].selectorText&&".yelda_assistant_img"===o[n].selectorText){t=!0;break e}}catch(e){continue}}return t}},{key:"getAssistantSettingsUrl",value:function(e){return e.settingId?e.assistantUrl+"/assistants/settings/"+e.settingId+"/chatBubble":e.assistantUrl+"/assistants/"+e.assistantId+"/chatBubble/"+e.locale}},{key:"getAssistantSettings",value:function(o){var n=this;return new l.a(function(t,i){try{var r=new XMLHttpRequest,e=n.getAssistantSettingsUrl(o);r.open("GET",e),r.send(),r.onreadystatechange=function(){if(4===r.readyState){var e=r.responseText?JSON.parse(r.responseText).data:null;t(e)}}}catch(e){i()}})}},{key:"setupChat",value:function(i){var t,r=this;return new l.a((t=a()(o.a.mark(function e(t){return o.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(document.getElementById("yelda_container")||document.getElementById("yelda_iframe_container"))return e.abrupt("return",t());e.next=2;break;case 2:if(r.webChatContainer=null,r.iframeContainer=null,r.webChatIframe=null,r.webchatSettings=null,void 0!==(i=r.formatData(i)).settingId||void 0!==i.assistantId&&void 0!==i.assistantSlug){e.next=9;break}return e.abrupt("return",t());case 9:return r.assistantId=i.assistantId,r.locale=i.locale,r.settingId=i.settingId,e.prev=12,e.next=15,r.getAssistantSettings(i);case 15:r.webchatSettings=e.sent,i=r.updateAssistantData(i,r.webchatSettings),e.next=22;break;case 19:e.prev=19,e.t0=e.catch(12),r.webchatSettings=null;case 22:return r.loadChat(i),e.abrupt("return",t());case 24:case"end":return e.stop()}},e,r,[[12,19]])})),function(e){return t.apply(this,arguments)}))}},{key:"shouldChatBeLoaded",value:function(e,t){if(t&&t.bubbleContainerChildId&&(!document.getElementById(t.bubbleContainerChildId)||!document.getElementById(t.bubbleContainerChildId).parentElement))return!1;if(!e)return!0;var i=window.location.hostname;return!!g.a.ALWAYS_ALLOWED_SITES_REGEX.test(i)||!(e.hasOwnProperty("isActivated")&&!e.isActivated)}},{key:"isDataOutdated",value:function(e,t){var i=t.settingId,r=t.assistantId,o=t.locale;return!(!e.settingId||e.settingId===i)||!(e.settingId||e.assistantId===r&&e.locale===o)}},{key:"loadChat",value:function(e){if(!this.isDataOutdated(e,this))if(this.shouldChatBeLoaded(this.webchatSettings,e)){if(this.isStyleSheetLoaded()||this.loadCssAsync(),!document.body||!this.parentContainer)return console.warn("document.body is not ready, please use yelda.init instead of yelda.setupChat or move the code in the page body"),null;this.createContainer(),this.setUpChatIFrame(e),e.hasOwnProperty("canBeClosed")&&!e.canBeClosed||(this.addAssistantImage(),this.addAssistantBubbleText()),this.toggleFrameListener()}else this.unLoadChat()}},{key:"unLoadChat",value:function(){this.toggleFrameListener(!0),this.assistantImage&&(this.bubbleContainer?(this.assistantImage.removeAttribute("id","yelda_assistant_img"),this.assistantImage.removeAttribute("class","yelda_assistant_img default"),this.assistantImage.removeEventListener("click",this.openChat),this.assistantImage.replaceWith(this.bubbleContainerClone)):this.removeElement("yelda_assistant_img")),this.assistantBubbleText&&this.removeElement("yelda_assistant_bubble_text"),this.iframeContainer&&this.removeElement("yelda_iframe_container"),this.webChatContainer&&this.removeElement("yelda_container"),this.assistantBubbleText=null,this.bubbleContainerClone=null,this.bubbleContainer=null,this.assistantImage=null,this.iframeContainer=null,this.webChatIframe=null,this.webChatContainer=null,this.parentContainer=null,this.webchatSettings=null}},{key:"removeElement",value:function(e){document.getElementById(e)&&document.getElementById(e).remove()}},{key:"init",value:function(i){var t,r=this;return new l.a((t=a()(o.a.mark(function e(t){return o.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(void 0!==i.settingId||void 0!==i.assistantId&&void 0!==i.assistantSlug){e.next=2;break}return e.abrupt("return",t());case 2:if("complete"===document.readyState)return e.next=5,r.setupChat(i);e.next=6;break;case 5:return e.abrupt("return",t());case 6:window.onload=a()(o.a.mark(function e(){return o.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,r.setupChat(i);case 2:return e.abrupt("return",t());case 3:case"end":return e.stop()}},e,r)}));case 7:case"end":return e.stop()}},e,r)})),function(e){return t.apply(this,arguments)}))}},{key:"sendMessageToChat",value:function(e){var t=document.getElementById("web_chat_frame");t&&(this.openChat(),t.contentWindow.postMessage({event:"sendUserMessage",data:e}))}}]),p);"undefined"!=typeof window&&(window.yeldaChat=v),t.default=v},"29s/":function(e,t,i){var r=i("WEpk"),o=i("5T2Y"),n="__core-js_shared__",a=o[n]||(o[n]={});(e.exports=function(e,t){return a[e]||(a[e]=void 0!==t?t:{})})("versions",[]).push({version:r.version,mode:i("uOPS")?"pure":"global",copyright:"© 2018 Denis Pushkarev (zloirock.ru)"})},"2GTP":function(e,t,i){var n=i("eaoh");e.exports=function(r,o,e){if(n(r),void 0===o)return r;switch(e){case 1:return function(e){return r.call(o,e)};case 2:return function(e,t){return r.call(o,e,t)};case 3:return function(e,t,i){return r.call(o,e,t,i)}}return function(){return r.apply(o,arguments)}}},"2faE":function(e,t,i){var r=i("5K7Z"),o=i("eUtF"),n=i("G8Mo"),a=Object.defineProperty;t.f=i("jmDH")?Object.defineProperty:function(e,t,i){if(r(e),t=n(t,!0),r(i),o)try{return a(e,t,i)}catch(e){}if("get"in i||"set"in i)throw TypeError("Accessors not supported!");return"value"in i&&(e[t]=i.value),e}},"4d7F":function(e,t,i){e.exports={default:i("aW7e"),__esModule:!0}},"5K7Z":function(e,t,i){var r=i("93I4");e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},"5T2Y":function(e,t){var i=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=i)},"5vGx":function(e,t,i){e.exports=function o(n,a,s){function l(i,e){if(!a[i]){if(!n[i]){if(u)return u(i,!0);var t=new Error("Cannot find module '"+i+"'");throw t.code="MODULE_NOT_FOUND",t}var r=a[i]={exports:{}};n[i][0].call(r.exports,function(e){var t=n[i][1][e];return l(t||e)},r,r.exports,o,n,a,s)}return a[i].exports}for(var u=!1,e=0;e<s.length;e++)l(s[e]);return l}({1:[function(e,t,i){!function(e,t){if(0,void 0!==i)t();else{t(),e.lgVideo={}}}(this,function(){"use strict";var t=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&(e[r]=i[r])}return e},i={videoMaxWidth:"855px",youtubePlayerParams:!1,vimeoPlayerParams:!1,dailymotionPlayerParams:!1,vkPlayerParams:!1,videojs:!1,videojsOptions:{}},e=function(e){return this.el=e,this.core=window.lgData[this.el.getAttribute("lg-uid")],this.core.s=t({},i,this.core.s),this.videoLoaded=!1,this.init(),this};e.prototype.init=function(){var u=this;utils.on(u.core.el,"hasVideo.lgtm",function(e){if(u.core.___slide[e.detail.index].querySelector(".lg-video").insertAdjacentHTML("beforeend",u.loadVideo(e.detail.src,"lg-object",!0,e.detail.index,e.detail.html)),e.detail.html)if(u.core.s.videojs)try{videojs(u.core.___slide[e.detail.index].querySelector(".lg-html5"),u.core.s.videojsOptions,function(){u.videoLoaded||this.play()})}catch(e){console.error("Make sure you have included videojs")}else u.core.___slide[e.detail.index].querySelector(".lg-html5").play()}),utils.on(u.core.el,"onAferAppendSlide.lgtm",function(e){u.core.___slide[e.detail.index].querySelector(".lg-video-cont")&&(u.core.___slide[e.detail.index].querySelector(".lg-video-cont").style.maxWidth=u.core.s.videoMaxWidth,u.videoLoaded=!0)});var t=function(i){if(utils.hasClass(i.querySelector(".lg-object"),"lg-has-poster")&&"none"!==i.querySelector(".lg-object").style.display)if(utils.hasClass(i,"lg-has-video")){var e=i.querySelector(".lg-youtube"),t=i.querySelector(".lg-vimeo"),r=i.querySelector(".lg-dailymotion"),o=i.querySelector(".lg-html5");if(e)e.contentWindow.postMessage('{"event":"command","func":"playVideo","args":""}',"*");else if(t)try{$f(t).api("play")}catch(e){console.error("Make sure you have included froogaloop2 js")}else if(r)r.contentWindow.postMessage("play","*");else if(o)if(u.core.s.videojs)try{videojs(o).play()}catch(e){console.error("Make sure you have included videojs")}else o.play();utils.addClass(i,"lg-video-playing")}else{var n,a;utils.addClass(i,"lg-video-playing"),utils.addClass(i,"lg-has-video");var s=function(e,t){if(i.querySelector(".lg-video").insertAdjacentHTML("beforeend",u.loadVideo(e,"",!1,u.core.index,t)),t)if(u.core.s.videojs)try{videojs(u.core.___slide[u.core.index].querySelector(".lg-html5"),u.core.s.videojsOptions,function(){this.play()})}catch(e){console.error("Make sure you have included videojs")}else u.core.___slide[u.core.index].querySelector(".lg-html5").play()};a=u.core.s.dynamic?(n=u.core.s.dynamicEl[u.core.index].src,u.core.s.dynamicEl[u.core.index].html):(n=u.core.items[u.core.index].getAttribute("href")||u.core.items[u.core.index].getAttribute("data-src"),u.core.items[u.core.index].getAttribute("data-html")),s(n,a);var l=i.querySelector(".lg-object");i.querySelector(".lg-video").appendChild(l),utils.hasClass(i.querySelector(".lg-video-object"),"lg-html5")||(utils.removeClass(i,"lg-complete"),utils.on(i.querySelector(".lg-video-object"),"load.lg error.lg",function(){utils.addClass(i,"lg-complete")}))}};if(u.core.doCss()&&1<u.core.items.length&&(u.core.s.enableSwipe&&u.core.isTouch||u.core.s.enableDrag&&!u.core.isTouch))utils.on(u.core.el,"onSlideClick.lgtm",function(){var e=u.core.___slide[u.core.index];t(e)});else for(var e=0;e<u.core.___slide.length;e++)!function(e){utils.on(u.core.___slide[e],"click.lg",function(){t(u.core.___slide[e])})}(e);utils.on(u.core.el,"onBeforeSlide.lgtm",function(e){var t,i=u.core.___slide[e.detail.prevIndex],r=i.querySelector(".lg-youtube"),o=i.querySelector(".lg-vimeo"),n=i.querySelector(".lg-dailymotion"),a=i.querySelector(".lg-vk"),s=i.querySelector(".lg-html5");if(r)r.contentWindow.postMessage('{"event":"command","func":"pauseVideo","args":""}',"*");else if(o)try{$f(o).api("pause")}catch(e){console.error("Make sure you have included froogaloop2 js")}else if(n)n.contentWindow.postMessage("pause","*");else if(s)if(u.core.s.videojs)try{videojs(s).pause()}catch(e){console.error("Make sure you have included videojs")}else s.pause();a&&a.setAttribute("src",a.getAttribute("src").replace("&autoplay","&noplay")),t=u.core.s.dynamic?u.core.s.dynamicEl[e.detail.index].src:u.core.items[e.detail.index].getAttribute("href")||u.core.items[e.detail.index].getAttribute("data-src");var l=u.core.isVideo(t,e.detail.index)||{};(l.youtube||l.vimeo||l.dailymotion||l.vk)&&utils.addClass(u.core.outer,"lg-hide-download")}),utils.on(u.core.el,"onAfterSlide.lgtm",function(e){utils.removeClass(u.core.___slide[e.detail.prevIndex],"lg-video-playing")})},e.prototype.loadVideo=function(e,t,i,r,o){var n,a="",s=1,l="",u=this.core.isVideo(e,r)||{};i&&(s=this.videoLoaded?0:1),n=this.core.s.dynamic?this.core.s.dynamicEl[r].title:this.core.items[r].getAttribute("title");var c=this.core.items[r].querySelector("img");if(c&&(n=n||c.getAttribute("alt")),n=n?'title="'+n+'"':"",u.youtube)l="?wmode=opaque&autoplay="+s+"&enablejsapi=1",this.core.s.youtubePlayerParams&&(l=l+"&"+utils.param(this.core.s.youtubePlayerParams)),a='<iframe class="lg-video-object lg-youtube '+t+'" '+n+' width="560" height="315" src="//www.youtube.com/embed/'+u.youtube[1]+l+'" frameborder="0" allowfullscreen></iframe>';else if(u.vimeo)l="?autoplay="+s+"&api=1",this.core.s.vimeoPlayerParams&&(l=l+"&"+utils.param(this.core.s.vimeoPlayerParams)),a='<iframe class="lg-video-object lg-vimeo '+t+'" '+n+' width="560" height="315" src="//player.vimeo.com/video/'+u.vimeo[1]+l+'" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe>';else if(u.dailymotion)l="?wmode=opaque&autoplay="+s+"&api=postMessage",this.core.s.dailymotionPlayerParams&&(l=l+"&"+utils.param(this.core.s.dailymotionPlayerParams)),a='<iframe class="lg-video-object lg-dailymotion '+t+'" '+n+' width="560" height="315" src="//www.dailymotion.com/embed/video/'+u.dailymotion[1]+l+'" frameborder="0" allowfullscreen></iframe>';else if(u.html5){var d=o.substring(0,1);"."!==d&&"#"!==d||(o=document.querySelector(o).innerHTML),a=o}else u.vk&&(l="&autoplay="+s,this.core.s.vkPlayerParams&&(l=l+"&"+utils.param(this.core.s.vkPlayerParams)),a='<iframe class="lg-video-object lg-vk '+t+'" '+n+' width="560" height="315" src="http://vk.com/video_ext.php?'+u.vk[1]+l+'" frameborder="0" allowfullscreen></iframe>');return a},e.prototype.destroy=function(){this.videoLoaded=!1},window.lgModules.video=e})},{}]},{},[1])(1)},"5vMV":function(e,t,i){var a=i("B+OT"),s=i("NsO/"),l=i("W070")(!1),u=i("VVlx")("IE_PROTO");e.exports=function(e,t){var i,r=s(e),o=0,n=[];for(i in r)i!=u&&a(r,i)&&n.push(i);for(;t.length>o;)a(r,i=t[o++])&&(~l(n,i)||n.push(i));return n}},"8SHQ":function(e,t){e.exports={CAN_BE_CLOSED_WITH_PARENT_ID:!1,YELDA_PARAMETER:"yparam",DEFAULT_PUBLICATION_STATUS:!0,ALWAYS_ALLOWED_SITES_REGEX:/^([a-z-]*.yelda.ai|localhost|0.0.0.0|127.0.0.1)$/,REGEX_HOST:{STAGING:/staging.yelda.ai/},HOST:{PRODUCTION:"app.yelda.ai",STAGING:"staging.yelda.ai"}}},"8gHz":function(e,t,i){var o=i("5K7Z"),n=i("eaoh"),a=i("UWiX")("species");e.exports=function(e,t){var i,r=o(e).constructor;return void 0===r||null==(i=o(r)[a])?t:n(i)}},"93I4":function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},"B+OT":function(e,t){var i={}.hasOwnProperty;e.exports=function(e,t){return i.call(e,t)}},B9Yq:function(e,t){e.exports=function(){throw new Error("define cannot be used indirect")}},D3Ub:function(e,t,i){"use strict";t.__esModule=!0;var r,o=i("4d7F"),l=(r=o)&&r.__esModule?r:{default:r};t.default=function(e){return function(){var s=e.apply(this,arguments);return new l.default(function(n,a){return function t(e,i){try{var r=s[e](i),o=r.value}catch(e){return void a(e)}if(!r.done)return l.default.resolve(o).then(function(e){t("next",e)},function(e){t("throw",e)});n(o)}("next")})}}},D8kY:function(e,t,i){var r=i("Ojgd"),o=Math.max,n=Math.min;e.exports=function(e,t){return(e=r(e))<0?o(e+t,0):n(e,t)}},EXMj:function(e,t){e.exports=function(e,t,i,r){if(!(e instanceof t)||void 0!==r&&r in e)throw TypeError(i+": incorrect invocation!");return e}},FlQf:function(e,t,i){"use strict";var r=i("ccE7")(!0);i("MPFp")(String,"String",function(e){this._t=String(e),this._i=0},function(){var e,t=this._t,i=this._i;return i>=t.length?{value:void 0,done:!0}:(e=r(t,i),this._i+=e.length,{value:e,done:!1})})},FpHa:function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},G8Mo:function(e,t,i){var o=i("93I4");e.exports=function(e,t){if(!o(e))return e;var i,r;if(t&&"function"==typeof(i=e.toString)&&!o(r=i.call(e)))return r;if("function"==typeof(i=e.valueOf)&&!o(r=i.call(e)))return r;if(!t&&"function"==typeof(i=e.toString)&&!o(r=i.call(e)))return r;throw TypeError("Can't convert object to primitive value")}},Hsns:function(e,t,i){var r=i("93I4"),o=i("5T2Y").document,n=r(o)&&r(o.createElement);e.exports=function(e){return n?o.createElement(e):{}}},JB68:function(e,t,i){var r=i("Jes0");e.exports=function(e){return Object(r(e))}},"JMW+":function(e,t,i){"use strict";function r(){}function d(e){var t;return!(!S(e)||"function"!=typeof(t=e.then))&&t}function o(c,i){if(!c._n){c._n=!0;var r=c._c;P(function(){for(var l=c._v,u=1==c._s,e=0,t=function(e){var t,i,r,o=u?e.ok:e.fail,n=e.resolve,a=e.reject,s=e.domain;try{o?(u||(2==c._h&&N(c),c._h=1),!0===o?t=l:(s&&s.enter(),t=o(l),s&&(s.exit(),r=!0)),t===e.promise?a(w("Promise-chain cycle")):(i=d(t))?i.call(t,n,a):n(t)):a(l)}catch(e){s&&!r&&s.exit(),a(e)}};r.length>e;)t(r[e++]);c._c=[],c._n=!1,i&&!c._h&&O(c)})}}function n(e){var t=this;t._d||(t._d=!0,(t=t._w||t)._v=e,t._s=2,t._a||(t._a=t._c.slice()),o(t,!0))}var a,s,l,u,c=i("uOPS"),f=i("5T2Y"),T=i("2GTP"),h=i("QMMT"),b=i("Y7ZC"),S=i("93I4"),m=i("eaoh"),g=i("EXMj"),p=i("oioR"),v=i("8gHz"),A=i("QXhf").set,P=i("q6LJ")(),y=i("ZW5q"),M=i("RDmV"),C=i("vBP9"),G=i("zXhZ"),B="Promise",w=f.TypeError,E=f.process,H=E&&E.versions,_=H&&H.v8||"",I=f[B],x="process"==h(E),D=s=y.f,L=!!function(){try{var e=I.resolve(1),t=(e.constructor={})[i("UWiX")("species")]=function(e){e(r,r)};return(x||"function"==typeof PromiseRejectionEvent)&&e.then(r)instanceof t&&0!==_.indexOf("6.6")&&-1===C.indexOf("Chrome/66")}catch(e){}}(),O=function(n){A.call(f,function(){var e,t,i,r=n._v,o=V(n);if(o&&(e=M(function(){x?E.emit("unhandledRejection",r,n):(t=f.onunhandledrejection)?t({promise:n,reason:r}):(i=f.console)&&i.error&&i.error("Unhandled promise rejection",r)}),n._h=x||V(n)?2:1),n._a=void 0,o&&e.e)throw e.v})},V=function(e){return 1!==e._h&&0===(e._a||e._c).length},N=function(t){A.call(f,function(){var e;x?E.emit("rejectionHandled",t):(e=f.onrejectionhandled)&&e({promise:t,reason:t._v})})},k=function(e){var i,r=this;if(!r._d){r._d=!0,r=r._w||r;try{if(r===e)throw w("Promise can't be resolved itself");(i=d(e))?P(function(){var t={_w:r,_d:!1};try{i.call(e,T(k,t,1),T(n,t,1))}catch(e){n.call(t,e)}}):(r._v=e,r._s=1,o(r,!1))}catch(e){n.call({_w:r,_d:!1},e)}}};L||(I=function(e){g(this,I,B,"_h"),m(e),a.call(this);try{e(T(k,this,1),T(n,this,1))}catch(e){n.call(this,e)}},(a=function(){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=i("XJU/")(I.prototype,{then:function(e,t){var i=D(v(this,I));return i.ok="function"!=typeof e||e,i.fail="function"==typeof t&&t,i.domain=x?E.domain:void 0,this._c.push(i),this._a&&this._a.push(i),this._s&&o(this,!1),i.promise},catch:function(e){return this.then(void 0,e)}}),l=function(){var e=new a;this.promise=e,this.resolve=T(k,e,1),this.reject=T(n,e,1)},y.f=D=function(e){return e===I||e===u?new l(e):s(e)}),b(b.G+b.W+b.F*!L,{Promise:I}),i("RfKB")(I,B),i("TJWN")(B),u=i("WEpk")[B],b(b.S+b.F*!L,B,{reject:function(e){var t=D(this);return(0,t.reject)(e),t.promise}}),b(b.S+b.F*(c||!L),B,{resolve:function(e){return G(c&&this===u?I:this,e)}}),b(b.S+b.F*!(L&&i("TuGD")(function(e){I.all(e).catch(r)})),B,{all:function(e){var a=this,t=D(a),s=t.resolve,l=t.reject,i=M(function(){var r=[],o=0,n=1;p(e,!1,function(e){var t=o++,i=!1;r.push(void 0),n++,a.resolve(e).then(function(e){i||(i=!0,r[t]=e,--n||s(r))},l)}),--n||s(r)});return i.e&&l(i.v),t.promise},race:function(e){var t=this,i=D(t),r=i.reject,o=M(function(){p(e,!1,function(e){t.resolve(e).then(i.resolve,r)})});return o.e&&r(o.v),i.promise}})},Jes0:function(e,t){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},KUxP:function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},M1xp:function(e,t,i){var r=i("a0xu");e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},MCSJ:function(e,t){e.exports=function(e,t,i){var r=void 0===i;switch(t.length){case 0:return r?e():e.call(i);case 1:return r?e(t[0]):e.call(i,t[0]);case 2:return r?e(t[0],t[1]):e.call(i,t[0],t[1]);case 3:return r?e(t[0],t[1],t[2]):e.call(i,t[0],t[1],t[2]);case 4:return r?e(t[0],t[1],t[2],t[3]):e.call(i,t[0],t[1],t[2],t[3])}return e.apply(i,t)}},MPFp:function(e,t,i){"use strict";function p(){return this}var v=i("uOPS"),A=i("Y7ZC"),P=i("kTiW"),y=i("NegM"),M=i("SBuE"),C=i("j2DC"),G=i("RfKB"),B=i("U+KD"),w=i("UWiX")("iterator"),E=!([].keys&&"next"in[].keys()),H="values";e.exports=function(e,t,i,r,o,n,a){C(i,t,r);function s(e){if(!E&&e in h)return h[e];switch(e){case"keys":case H:return function(){return new i(this,e)}}return function(){return new i(this,e)}}var l,u,c,d=t+" Iterator",f=o==H,T=!1,h=e.prototype,b=h[w]||h["@@iterator"]||o&&h[o],S=b||s(o),m=o?f?s("entries"):S:void 0,g="Array"==t&&h.entries||b;if(g&&(c=B(g.call(new e)))!==Object.prototype&&c.next&&(G(c,d,!0),v||"function"==typeof c[w]||y(c,w,p)),f&&b&&b.name!==H&&(T=!0,S=function(){return b.call(this)}),v&&!a||!E&&!T&&h[w]||y(h,w,S),M[t]=S,M[d]=p,o)if(l={values:f?S:s(H),keys:n?S:s("keys"),entries:m},a)for(u in l)u in h||P(h,u,l[u]);else A(A.P+A.F*(E||T),t,l);return l}},MvwC:function(e,t,i){var r=i("5T2Y").document;e.exports=r&&r.documentElement},NV0k:function(e,t){t.f={}.propertyIsEnumerable},NegM:function(e,t,i){var r=i("2faE"),o=i("rr1i");e.exports=i("jmDH")?function(e,t,i){return r.f(e,t,o(1,i))}:function(e,t,i){return e[t]=i,e}},"NsO/":function(e,t,i){var r=i("M1xp"),o=i("Jes0");e.exports=function(e){return r(o(e))}},NwJ3:function(e,t,i){var r=i("SBuE"),o=i("UWiX")("iterator"),n=Array.prototype;e.exports=function(e){return void 0!==e&&(r.Array===e||n[o]===e)}},Ojgd:function(e,t){var i=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(0<e?r:i)(e)}},P2sY:function(e,t,i){e.exports={default:i("UbbE"),__esModule:!0}},PBE1:function(e,t,i){"use strict";var r=i("Y7ZC"),o=i("WEpk"),n=i("5T2Y"),a=i("8gHz"),s=i("zXhZ");r(r.P+r.R,"Promise",{finally:function(t){var i=a(this,o.Promise||n.Promise),e="function"==typeof t;return this.then(e?function(e){return s(i,t()).then(function(){return e})}:t,e?function(e){return s(i,t()).then(function(){throw e})}:t)}})},"Q/yX":function(e,t,i){"use strict";var r=i("Y7ZC"),o=i("ZW5q"),n=i("RDmV");r(r.S,"Promise",{try:function(e){var t=o.f(this),i=n(e);return(i.e?t.reject:t.resolve)(i.v),t.promise}})},QMMT:function(e,t,i){var o=i("a0xu"),n=i("UWiX")("toStringTag"),a="Arguments"==o(function(){return arguments}());e.exports=function(e){var t,i,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(i=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),n))?i:a?o(t):"Object"==(r=o(t))&&"function"==typeof t.callee?"Arguments":r}},QXhf:function(e,t,i){function r(){var e=+this;if(p.hasOwnProperty(e)){var t=p[e];delete p[e],t()}}function o(e){r.call(e.data)}var n,a,s,l=i("2GTP"),u=i("MCSJ"),c=i("MvwC"),d=i("Hsns"),f=i("5T2Y"),T=f.process,h=f.setImmediate,b=f.clearImmediate,S=f.MessageChannel,m=f.Dispatch,g=0,p={},v="onreadystatechange";h&&b||(h=function(e){for(var t=[],i=1;i<arguments.length;)t.push(arguments[i++]);return p[++g]=function(){u("function"==typeof e?e:Function(e),t)},n(g),g},b=function(e){delete p[e]},"process"==i("a0xu")(T)?n=function(e){T.nextTick(l(r,e,1))}:m&&m.now?n=function(e){m.now(l(r,e,1))}:S?(s=(a=new S).port2,a.port1.onmessage=o,n=l(s.postMessage,s,1)):f.addEventListener&&"function"==typeof postMessage&&!f.importScripts?(n=function(e){f.postMessage(e+"","*")},f.addEventListener("message",o,!1)):n=v in d("script")?function(e){c.appendChild(d("script"))[v]=function(){c.removeChild(this),r.call(e)}}:function(e){setTimeout(l(r,e,1),0)}),e.exports={set:h,clear:b}},QbLZ:function(e,t,i){"use strict";t.__esModule=!0;var r,o=i("P2sY"),n=(r=o)&&r.__esModule?r:{default:r};t.default=n.default||function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&(e[r]=i[r])}return e}},RDmV:function(e,t){e.exports=function(e){try{return{e:!1,v:e()}}catch(e){return{e:!0,v:e}}}},"RU/L":function(e,t,i){i("Rqdy");var r=i("WEpk").Object;e.exports=function(e,t,i){return r.defineProperty(e,t,i)}},RfKB:function(e,t,i){var r=i("2faE").f,o=i("B+OT"),n=i("UWiX")("toStringTag");e.exports=function(e,t,i){e&&!o(e=i?e:e.prototype,n)&&r(e,n,{configurable:!0,value:t})}},RolN:function(e,t,i){var r,o,n;o=[i("x8jq")],void 0===(n="function"==typeof(r=function(e){"use strict";var g=t(e);function t(e){return e&&e.__esModule?e:{default:e}}var i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var r in i){if(Object.prototype.hasOwnProperty.call(i,r)){e[r]=i[r]}}}return e};(function(){if(typeof window.CustomEvent==="function"){return false}function e(e,t){t=t||{bubbles:false,cancelable:false,detail:undefined};var i=document.createEvent("CustomEvent");i.initCustomEvent(e,t.bubbles,t.cancelable,t.detail);return i}e.prototype=window.Event.prototype;window.CustomEvent=e})(),window.utils=g.default,window.lgData={uid:0},window.lgModules={};var r={mode:"lg-slide",cssEasing:"ease",easing:"linear",speed:600,height:"100%",width:"100%",addClass:"",startClass:"lg-start-zoom",backdropDuration:150,hideBarsDelay:6e3,useLeft:false,ariaLabelledby:"",ariaDescribedby:"",closable:true,loop:true,escKey:true,keyPress:true,controls:true,slideEndAnimatoin:true,hideControlOnEnd:false,mousewheel:false,getCaptionFromTitleOrAlt:true,appendSubHtmlTo:".lg-sub-html",subHtmlSelectorRelative:false,preload:1,showAfterLoad:true,selector:"",selectWithin:"",nextHtml:"",prevHtml:"",index:false,iframeMaxWidth:"100%",download:true,counter:true,appendCounterTo:".lg-toolbar",swipeThreshold:50,enableSwipe:true,enableDrag:true,dynamic:false,dynamicEl:[],galleryId:1};function o(e,t){this.el=e;this.s=i({},r,t);if(this.s.dynamic&&this.s.dynamicEl!=="undefined"&&this.s.dynamicEl.constructor===Array&&!this.s.dynamicEl.length){throw"When using dynamic mode, you must also define dynamicEl as an Array."}this.modules={};this.lGalleryOn=false;this.lgBusy=false;this.hideBartimeout=false;this.isTouch="ontouchstart"in document.documentElement;if(this.s.slideEndAnimatoin){this.s.hideControlOnEnd=false}this.items=[];if(this.s.dynamic){this.items=this.s.dynamicEl}else{if(this.s.selector==="this"){this.items.push(this.el)}else if(this.s.selector!==""){if(this.s.selectWithin){this.items=document.querySelector(this.s.selectWithin).querySelectorAll(this.s.selector)}else{this.items=this.el.querySelectorAll(this.s.selector)}}else{this.items=this.el.children}}this.___slide="";this.outer="";this.init();return this}o.prototype.init=function(){var i=this;if(i.s.preload>i.items.length){i.s.preload=i.items.length}var e=window.location.hash;if(e.indexOf("lg="+this.s.galleryId)>0){i.index=parseInt(e.split("&slide=")[1],10);g.default.addClass(document.body,"lg-from-hash");if(!g.default.hasClass(document.body,"lg-on")){g.default.addClass(document.body,"lg-on");setTimeout(function(){i.build(i.index)})}}if(i.s.dynamic){g.default.trigger(this.el,"onBeforeOpen");i.index=i.s.index||0;if(!g.default.hasClass(document.body,"lg-on")){g.default.addClass(document.body,"lg-on");setTimeout(function(){i.build(i.index)})}}else{for(var t=0;t<i.items.length;t++){(function(t){g.default.on(i.items[t],"click.lgcustom",function(e){e.preventDefault();g.default.trigger(i.el,"onBeforeOpen");i.index=i.s.index||t;if(!g.default.hasClass(document.body,"lg-on")){i.build(i.index);g.default.addClass(document.body,"lg-on")}})})(t)}}},o.prototype.build=function(e){var t=this;t.structure();for(var i in window.lgModules){t.modules[i]=new window.lgModules[i](t.el)}t.slide(e,false,false);if(t.s.keyPress){t.keyPress()}if(t.items.length>1){t.arrow();setTimeout(function(){t.enableDrag();t.enableSwipe()},50);if(t.s.mousewheel){t.mousewheel()}}t.counter();t.closeGallery();g.default.trigger(t.el,"onAfterOpen");g.default.on(t.outer,"mousemove.lg click.lg touchstart.lg",function(){g.default.removeClass(t.outer,"lg-hide-items");clearTimeout(t.hideBartimeout);t.hideBartimeout=setTimeout(function(){g.default.addClass(t.outer,"lg-hide-items")},t.s.hideBarsDelay)})},o.prototype.structure=function(){var e="";var t="";var i=0;var r="";var o;var n=this;document.body.insertAdjacentHTML("beforeend",'<div class="lg-backdrop"></div>');g.default.setVendor(document.querySelector(".lg-backdrop"),"TransitionDuration",this.s.backdropDuration+"ms");for(i=0;i<this.items.length;i++){e+='<div class="lg-item"></div>'}if(this.s.controls&&this.items.length>1){t='<div class="lg-actions">'+'<button aria-label="Previous slide" class="lg-prev lg-icon">'+this.s.prevHtml+"</button>"+'<button aria-label="Next slide" class="lg-next lg-icon">'+this.s.nextHtml+"</button>"+"</div>"}if(this.s.appendSubHtmlTo===".lg-sub-html"){r='<div role="status" aria-live="polite" class="lg-sub-html"></div>'}var a=this.s.ariaLabelledby?'aria-labelledby="'+this.s.ariaLabelledby+'"':"";var s=this.s.ariaDescribedby?'aria-describedby="'+this.s.ariaDescribedby+'"':"";o='<div tabindex="-1" aria-modal="true" '+a+" "+s+' role="dialog" class="lg-outer '+this.s.addClass+" "+this.s.startClass+'">'+'<div class="lg" style="width:'+this.s.width+"; height:"+this.s.height+'">'+'<div class="lg-inner">'+e+"</div>"+'<div class="lg-toolbar group">'+'<button aria-label="Close gallery" class="lg-close lg-icon"></button>'+"</div>"+t+r+"</div>"+"</div>";document.body.insertAdjacentHTML("beforeend",o);this.outer=document.querySelector(".lg-outer");this.outer.focus();this.___slide=this.outer.querySelectorAll(".lg-item");if(this.s.useLeft){g.default.addClass(this.outer,"lg-use-left");this.s.mode="lg-slide"}else{g.default.addClass(this.outer,"lg-use-css3")}n.setTop();g.default.on(window,"resize.lg orientationchange.lg",function(){setTimeout(function(){n.setTop()},100)});g.default.addClass(this.___slide[this.index],"lg-current");if(this.doCss()){g.default.addClass(this.outer,"lg-css3")}else{g.default.addClass(this.outer,"lg-css");this.s.speed=0}g.default.addClass(this.outer,this.s.mode);if(this.s.enableDrag&&this.items.length>1){g.default.addClass(this.outer,"lg-grab")}if(this.s.showAfterLoad){g.default.addClass(this.outer,"lg-show-after-load")}if(this.doCss()){var l=this.outer.querySelector(".lg-inner");g.default.setVendor(l,"TransitionTimingFunction",this.s.cssEasing);g.default.setVendor(l,"TransitionDuration",this.s.speed+"ms")}setTimeout(function(){g.default.addClass(document.querySelector(".lg-backdrop"),"in")});setTimeout(function(){g.default.addClass(n.outer,"lg-visible")},this.s.backdropDuration);if(this.s.download){this.outer.querySelector(".lg-toolbar").insertAdjacentHTML("beforeend",'<a id="lg-download" aria-label="Download" target="_blank" download class="lg-download lg-icon"></a>')}this.prevScrollTop=document.documentElement.scrollTop||document.body.scrollTop},o.prototype.setTop=function(){if(this.s.height!=="100%"){var e=window.innerHeight;var t=(e-parseInt(this.s.height,10))/2;var i=this.outer.querySelector(".lg");if(e>=parseInt(this.s.height,10)){i.style.top=t+"px"}else{i.style.top="0px"}}},o.prototype.doCss=function(){var e=function e(){var t=["transition","MozTransition","WebkitTransition","OTransition","msTransition","KhtmlTransition"];var i=document.documentElement;var r=0;for(r=0;r<t.length;r++){if(t[r]in i.style){return true}}};if(e()){return true}return false},o.prototype.isVideo=function(e,t){var i;if(this.s.dynamic){i=this.s.dynamicEl[t].html}else{i=this.items[t].getAttribute("data-html")}if(!e&&i){return{html5:true}}var r=e.match(/\/\/(?:www\.)?youtu(?:\.be|be\.com|be-nocookie\.com)\/(?:watch\?v=|embed\/)?([a-z0-9\-\_\%]+)/i);var o=e.match(/\/\/(?:www\.)?vimeo.com\/([0-9a-z\-_]+)/i);var n=e.match(/\/\/(?:www\.)?dai.ly\/([0-9a-z\-_]+)/i);var a=e.match(/\/\/(?:www\.)?(?:vk\.com|vkontakte\.ru)\/(?:video_ext\.php\?)(.*)/i);if(r){return{youtube:r}}else if(o){return{vimeo:o}}else if(n){return{dailymotion:n}}else if(a){return{vk:a}}},o.prototype.counter=function(){if(this.s.counter){this.outer.querySelector(this.s.appendCounterTo).insertAdjacentHTML("beforeend",'<div id="lg-counter" role="status" aria-live="polite"><span id="lg-counter-current">'+(parseInt(this.index,10)+1)+'</span> / <span id="lg-counter-all">'+this.items.length+"</span></div>")}},o.prototype.addHtml=function(e){var t=null;var i;if(this.s.dynamic){t=this.s.dynamicEl[e].subHtml}else{i=this.items[e];t=i.getAttribute("data-sub-html");if(this.s.getCaptionFromTitleOrAlt&&!t){t=i.getAttribute("title");if(t&&i.querySelector("img")){t=i.querySelector("img").getAttribute("alt")}}}if(typeof t!=="undefined"&&t!==null){var r=t.substring(0,1);if(r==="."||r==="#"){if(this.s.subHtmlSelectorRelative&&!this.s.dynamic){t=i.querySelector(t).innerHTML}else{t=document.querySelector(t).innerHTML}}}else{t=""}if(this.s.appendSubHtmlTo===".lg-sub-html"){this.outer.querySelector(this.s.appendSubHtmlTo).innerHTML=t}else{this.___slide[e].insertAdjacentHTML("beforeend",t)}if(typeof t!=="undefined"&&t!==null){if(t===""){g.default.addClass(this.outer.querySelector(this.s.appendSubHtmlTo),"lg-empty-html")}else{g.default.removeClass(this.outer.querySelector(this.s.appendSubHtmlTo),"lg-empty-html")}}g.default.trigger(this.el,"onAfterAppendSubHtml",{index:e})},o.prototype.preload=function(e){var t=1;var i=1;for(t=1;t<=this.s.preload;t++){if(t>=this.items.length-e){break}this.loadContent(e+t,false,0)}for(i=1;i<=this.s.preload;i++){if(e-i<0){break}this.loadContent(e-i,false,0)}},o.prototype.loadContent=function(t,e,i){var r=this;var o=false;var n;var l;var a;var s;var u;var c;var d;var f=function e(t){var i=[];var r=[];for(var o=0;o<t.length;o++){var n=t[o].split(" ");if(n[0]===""){n.splice(0,1)}r.push(n[0]);i.push(n[1])}var a=window.innerWidth;for(var s=0;s<i.length;s++){if(parseInt(i[s],10)>a){l=r[s];break}}};if(r.s.dynamic){if(r.s.dynamicEl[t].poster){o=true;a=r.s.dynamicEl[t].poster}c=r.s.dynamicEl[t].html;l=r.s.dynamicEl[t].src;d=r.s.dynamicEl[t].alt;if(r.s.dynamicEl[t].responsive){var T=r.s.dynamicEl[t].responsive.split(",");f(T)}s=r.s.dynamicEl[t].srcset;u=r.s.dynamicEl[t].sizes}else{if(r.items[t].getAttribute("data-poster")){o=true;a=r.items[t].getAttribute("data-poster")}c=r.items[t].getAttribute("data-html");l=r.items[t].getAttribute("href")||r.items[t].getAttribute("data-src");d=r.items[t].getAttribute("title");if(r.items[t].querySelector("img")){d=d||r.items[t].querySelector("img").getAttribute("alt")}if(r.items[t].getAttribute("data-responsive")){var h=r.items[t].getAttribute("data-responsive").split(",");f(h)}s=r.items[t].getAttribute("data-srcset");u=r.items[t].getAttribute("data-sizes")}var b=false;if(r.s.dynamic){if(r.s.dynamicEl[t].iframe){b=true}}else{if(r.items[t].getAttribute("data-iframe")==="true"){b=true}}var S=r.isVideo(l,t);if(!g.default.hasClass(r.___slide[t],"lg-loaded")){if(b){r.___slide[t].insertAdjacentHTML("afterbegin",'<div class="lg-video-cont" style="max-width:'+r.s.iframeMaxWidth+'"><div class="lg-video"><iframe class="lg-object" frameborder="0" src="'+l+'" allowfullscreen="true"></iframe></div></div>')}else if(o){var m="";if(S&&S.youtube){m="lg-has-youtube"}else if(S&&S.vimeo){m="lg-has-vimeo"}else{m="lg-has-html5"}r.___slide[t].insertAdjacentHTML("beforeend",'<div class="lg-video-cont '+m+' "><div class="lg-video"><span class="lg-video-play"></span><img class="lg-object lg-has-poster" src="'+a+'" /></div></div>')}else if(S){r.___slide[t].insertAdjacentHTML("beforeend",'<div class="lg-video-cont "><div class="lg-video"></div></div>');g.default.trigger(r.el,"hasVideo",{index:t,src:l,html:c})}else{d=d?'alt="'+d+'"':"";r.___slide[t].insertAdjacentHTML("beforeend",'<div class="lg-img-wrap"><img class="lg-object lg-image" '+d+' src="'+l+'" /></div>')}g.default.trigger(r.el,"onAferAppendSlide",{index:t});n=r.___slide[t].querySelector(".lg-object");if(u){n.setAttribute("sizes",u)}if(s){n.setAttribute("srcset",s);try{picturefill({elements:[n[0]]})}catch(e){console.error("Make sure you have included Picturefill version 2")}}if(this.s.appendSubHtmlTo!==".lg-sub-html"){r.addHtml(t)}g.default.addClass(r.___slide[t],"lg-loaded")}g.default.on(r.___slide[t].querySelector(".lg-object"),"load.lg error.lg",function(){var e=0;if(i&&!g.default.hasClass(document.body,"lg-from-hash")){e=i}setTimeout(function(){g.default.addClass(r.___slide[t],"lg-complete");g.default.trigger(r.el,"onSlideItemLoad",{index:t,delay:i||0})},e)});if(S&&S.html5&&!o){g.default.addClass(r.___slide[t],"lg-complete")}if(e===true){if(!g.default.hasClass(r.___slide[t],"lg-complete")){g.default.on(r.___slide[t].querySelector(".lg-object"),"load.lg error.lg",function(){r.preload(t)})}else{r.preload(t)}}},o.prototype.slide=function(e,t,i){var r=0;for(var o=0;o<this.___slide.length;o++){if(g.default.hasClass(this.___slide[o],"lg-current")){r=o;break}}var n=this;if(n.lGalleryOn&&r===e){return}var a=this.___slide.length;var s=n.lGalleryOn?this.s.speed:0;var l=false;var u=false;if(!n.lgBusy){if(this.s.download){var c;if(n.s.dynamic){c=n.s.dynamicEl[e].downloadUrl!==false&&(n.s.dynamicEl[e].downloadUrl||n.s.dynamicEl[e].src)}else{c=n.items[e].getAttribute("data-download-url")!=="false"&&(n.items[e].getAttribute("data-download-url")||n.items[e].getAttribute("href")||n.items[e].getAttribute("data-src"))}if(c){document.getElementById("lg-download").setAttribute("href",c);g.default.removeClass(n.outer,"lg-hide-download")}else{g.default.addClass(n.outer,"lg-hide-download")}}g.default.trigger(n.el,"onBeforeSlide",{prevIndex:r,index:e,fromTouch:t,fromThumb:i});n.lgBusy=true;clearTimeout(n.hideBartimeout);if(this.s.appendSubHtmlTo===".lg-sub-html"){setTimeout(function(){n.addHtml(e)},s)}this.arrowDisable(e);if(!t){g.default.addClass(n.outer,"lg-no-trans");for(var d=0;d<this.___slide.length;d++){g.default.removeClass(this.___slide[d],"lg-prev-slide");g.default.removeClass(this.___slide[d],"lg-next-slide")}if(e<r){u=true;if(e===0&&r===a-1&&!i){u=false;l=true}}else if(e>r){l=true;if(e===a-1&&r===0&&!i){u=true;l=false}}if(u){g.default.addClass(this.___slide[e],"lg-prev-slide");g.default.addClass(this.___slide[r],"lg-next-slide")}else if(l){g.default.addClass(this.___slide[e],"lg-next-slide");g.default.addClass(this.___slide[r],"lg-prev-slide")}setTimeout(function(){g.default.removeClass(n.outer.querySelector(".lg-current"),"lg-current");g.default.addClass(n.___slide[e],"lg-current");g.default.removeClass(n.outer,"lg-no-trans")},50)}else{var f=e-1;var T=e+1;if(e===0&&r===a-1){T=0;f=a-1}else if(e===a-1&&r===0){T=0;f=a-1}g.default.removeClass(n.outer.querySelector(".lg-prev-slide"),"lg-prev-slide");g.default.removeClass(n.outer.querySelector(".lg-current"),"lg-current");g.default.removeClass(n.outer.querySelector(".lg-next-slide"),"lg-next-slide");g.default.addClass(n.___slide[f],"lg-prev-slide");g.default.addClass(n.___slide[T],"lg-next-slide");g.default.addClass(n.___slide[e],"lg-current")}if(n.lGalleryOn){setTimeout(function(){n.loadContent(e,true,0)},this.s.speed+50);setTimeout(function(){n.lgBusy=false;g.default.trigger(n.el,"onAfterSlide",{prevIndex:r,index:e,fromTouch:t,fromThumb:i})},this.s.speed)}else{n.loadContent(e,true,n.s.backdropDuration);n.lgBusy=false;g.default.trigger(n.el,"onAfterSlide",{prevIndex:r,index:e,fromTouch:t,fromThumb:i})}n.lGalleryOn=true;if(this.s.counter){if(document.getElementById("lg-counter-current")){document.getElementById("lg-counter-current").innerHTML=e+1}}}},o.prototype.goToNextSlide=function(e){var t=this;if(!t.lgBusy){if(t.index+1<t.___slide.length){t.index++;g.default.trigger(t.el,"onBeforeNextSlide",{index:t.index});t.slide(t.index,e,false)}else{if(t.s.loop){t.index=0;g.default.trigger(t.el,"onBeforeNextSlide",{index:t.index});t.slide(t.index,e,false)}else if(t.s.slideEndAnimatoin){g.default.addClass(t.outer,"lg-right-end");setTimeout(function(){g.default.removeClass(t.outer,"lg-right-end")},400)}}}},o.prototype.goToPrevSlide=function(e){var t=this;if(!t.lgBusy){if(t.index>0){t.index--;g.default.trigger(t.el,"onBeforePrevSlide",{index:t.index,fromTouch:e});t.slide(t.index,e,false)}else{if(t.s.loop){t.index=t.items.length-1;g.default.trigger(t.el,"onBeforePrevSlide",{index:t.index,fromTouch:e});t.slide(t.index,e,false)}else if(t.s.slideEndAnimatoin){g.default.addClass(t.outer,"lg-left-end");setTimeout(function(){g.default.removeClass(t.outer,"lg-left-end")},400)}}}},o.prototype.keyPress=function(){var t=this;if(this.items.length>1){g.default.on(window,"keyup.lg",function(e){if(t.items.length>1){if(e.keyCode===37){e.preventDefault();t.goToPrevSlide()}if(e.keyCode===39){e.preventDefault();t.goToNextSlide()}}})}g.default.on(window,"keydown.lg",function(e){if(t.s.escKey===true&&e.keyCode===27){e.preventDefault();if(!g.default.hasClass(t.outer,"lg-thumb-open")){t.destroy()}else{g.default.removeClass(t.outer,"lg-thumb-open")}}})},o.prototype.arrow=function(){var e=this;g.default.on(this.outer.querySelector(".lg-prev"),"click.lg",function(){e.goToPrevSlide()});g.default.on(this.outer.querySelector(".lg-next"),"click.lg",function(){e.goToNextSlide()})},o.prototype.arrowDisable=function(e){if(!this.s.loop&&this.s.hideControlOnEnd){var t=this.outer.querySelector(".lg-next");var i=this.outer.querySelector(".lg-prev");if(e+1<this.___slide.length){t.removeAttribute("disabled");g.default.removeClass(t,"disabled")}else{t.setAttribute("disabled","disabled");g.default.addClass(t,"disabled")}if(e>0){i.removeAttribute("disabled");g.default.removeClass(i,"disabled")}else{i.setAttribute("disabled","disabled");g.default.addClass(i,"disabled")}}},o.prototype.setTranslate=function(e,t,i){if(this.s.useLeft){e.style.left=t}else{g.default.setVendor(e,"Transform","translate3d("+t+"px, "+i+"px, 0px)")}},o.prototype.touchMove=function(e,t){var i=t-e;if(Math.abs(i)>15){g.default.addClass(this.outer,"lg-dragging");this.setTranslate(this.___slide[this.index],i,0);this.setTranslate(document.querySelector(".lg-prev-slide"),-this.___slide[this.index].clientWidth+i,0);this.setTranslate(document.querySelector(".lg-next-slide"),this.___slide[this.index].clientWidth+i,0)}},o.prototype.touchEnd=function(t){var i=this;if(i.s.mode!=="lg-slide"){g.default.addClass(i.outer,"lg-slide")}for(var e=0;e<this.___slide.length;e++){if(!g.default.hasClass(this.___slide[e],"lg-current")&&!g.default.hasClass(this.___slide[e],"lg-prev-slide")&&!g.default.hasClass(this.___slide[e],"lg-next-slide")){this.___slide[e].style.opacity="0"}}setTimeout(function(){g.default.removeClass(i.outer,"lg-dragging");if(t<0&&Math.abs(t)>i.s.swipeThreshold){i.goToNextSlide(true)}else if(t>0&&Math.abs(t)>i.s.swipeThreshold){i.goToPrevSlide(true)}else if(Math.abs(t)<5){g.default.trigger(i.el,"onSlideClick")}for(var e=0;e<i.___slide.length;e++){i.___slide[e].removeAttribute("style")}});setTimeout(function(){if(!g.default.hasClass(i.outer,"lg-dragging")&&i.s.mode!=="lg-slide"){g.default.removeClass(i.outer,"lg-slide")}},i.s.speed+100)},o.prototype.enableSwipe=function(){var t=this;var i=0;var r=0;var o=false;if(t.s.enableSwipe&&t.isTouch&&t.doCss()){for(var e=0;e<t.___slide.length;e++){g.default.on(t.___slide[e],"touchstart.lg",function(e){if(!g.default.hasClass(t.outer,"lg-zoomed")&&!t.lgBusy){e.preventDefault();t.manageSwipeClass();i=e.targetTouches[0].pageX}})}for(var n=0;n<t.___slide.length;n++){g.default.on(t.___slide[n],"touchmove.lg",function(e){if(!g.default.hasClass(t.outer,"lg-zoomed")){e.preventDefault();r=e.targetTouches[0].pageX;t.touchMove(i,r);o=true}})}for(var a=0;a<t.___slide.length;a++){g.default.on(t.___slide[a],"touchend.lg",function(){if(!g.default.hasClass(t.outer,"lg-zoomed")){if(o){o=false;t.touchEnd(r-i)}else{g.default.trigger(t.el,"onSlideClick")}}})}}},o.prototype.enableDrag=function(){var t=this;var i=0;var r=0;var o=false;var n=false;if(t.s.enableDrag&&!t.isTouch&&t.doCss()){for(var e=0;e<t.___slide.length;e++){g.default.on(t.___slide[e],"mousedown.lg",function(e){if(!g.default.hasClass(t.outer,"lg-zoomed")){if(g.default.hasClass(e.target,"lg-object")||g.default.hasClass(e.target,"lg-video-play")){e.preventDefault();if(!t.lgBusy){t.manageSwipeClass();i=e.pageX;o=true;t.outer.scrollLeft+=1;t.outer.scrollLeft-=1;g.default.removeClass(t.outer,"lg-grab");g.default.addClass(t.outer,"lg-grabbing");g.default.trigger(t.el,"onDragstart")}}}})}g.default.on(window,"mousemove.lg",function(e){if(o){n=true;r=e.pageX;t.touchMove(i,r);g.default.trigger(t.el,"onDragmove")}});g.default.on(window,"mouseup.lg",function(e){if(n){n=false;t.touchEnd(r-i);g.default.trigger(t.el,"onDragend")}else if(g.default.hasClass(e.target,"lg-object")||g.default.hasClass(e.target,"lg-video-play")){g.default.trigger(t.el,"onSlideClick")}if(o){o=false;g.default.removeClass(t.outer,"lg-grabbing");g.default.addClass(t.outer,"lg-grab")}})}},o.prototype.manageSwipeClass=function(){var e=this.index+1;var t=this.index-1;var i=this.___slide.length;if(this.s.loop){if(this.index===0){t=i-1}else if(this.index===i-1){e=0}}for(var r=0;r<this.___slide.length;r++){g.default.removeClass(this.___slide[r],"lg-next-slide");g.default.removeClass(this.___slide[r],"lg-prev-slide")}if(t>-1){g.default.addClass(this.___slide[t],"lg-prev-slide")}g.default.addClass(this.___slide[e],"lg-next-slide")},o.prototype.mousewheel=function(){var t=this;g.default.on(t.outer,"mousewheel.lg",function(e){if(!e.deltaY){return}if(e.deltaY>0){t.goToPrevSlide()}else{t.goToNextSlide()}e.preventDefault()})},o.prototype.closeGallery=function(){var t=this;var i=false;g.default.on(this.outer.querySelector(".lg-close"),"click.lg",function(){t.destroy()});if(t.s.closable){g.default.on(t.outer,"mousedown.lg",function(e){if(g.default.hasClass(e.target,"lg-outer")||g.default.hasClass(e.target,"lg-item")||g.default.hasClass(e.target,"lg-img-wrap")){i=true}else{i=false}});g.default.on(t.outer,"mouseup.lg",function(e){if(g.default.hasClass(e.target,"lg-outer")||g.default.hasClass(e.target,"lg-item")||g.default.hasClass(e.target,"lg-img-wrap")&&i){if(!g.default.hasClass(t.outer,"lg-dragging")){t.destroy()}}})}},o.prototype.destroy=function(e){var t=this;if(!e){g.default.trigger(t.el,"onBeforeClose")}document.body.scrollTop=t.prevScrollTop;document.documentElement.scrollTop=t.prevScrollTop;if(e){if(!t.s.dynamic){for(var i=0;i<this.items.length;i++){g.default.off(this.items[i],".lg");g.default.off(this.items[i],".lgcustom")}}var r=t.el.getAttribute("lg-uid");delete window.lgData[r];t.el.removeAttribute("lg-uid")}g.default.off(this.el,".lgtm");for(var o in window.lgModules){if(t.modules[o]){t.modules[o].destroy(e)}}this.lGalleryOn=false;clearTimeout(t.hideBartimeout);this.hideBartimeout=false;g.default.off(window,".lg");g.default.removeClass(document.body,"lg-on");g.default.removeClass(document.body,"lg-from-hash");if(t.outer){g.default.removeClass(t.outer,"lg-visible")}g.default.removeClass(document.querySelector(".lg-backdrop"),"in");setTimeout(function(){try{if(t.outer){t.outer.parentNode.removeChild(t.outer)}if(document.querySelector(".lg-backdrop")){document.querySelector(".lg-backdrop").parentNode.removeChild(document.querySelector(".lg-backdrop"))}if(!e){g.default.trigger(t.el,"onCloseAfter")}t.el.focus()}catch(e){}},t.s.backdropDuration+50)},window.lightGallery=function(e,t){if(!e){return}try{if(!e.getAttribute("lg-uid")){var i="lg"+window.lgData.uid++;window.lgData[i]=new o(e,t);e.setAttribute("lg-uid",i)}else{try{window.lgData[e.getAttribute("lg-uid")].init()}catch(e){console.error("lightGallery has not initiated properly")}}}catch(e){console.error("lightGallery has not initiated properly")}}})?r.apply(t,o):r)||(e.exports=n)},Rqdy:function(e,t,i){var r=i("Y7ZC");r(r.S+r.F*!i("jmDH"),"Object",{defineProperty:i("2faE").f})},SBuE:function(e,t){e.exports={}},SEkw:function(e,t,i){e.exports={default:i("RU/L"),__esModule:!0}},TJWN:function(e,t,i){"use strict";var r=i("5T2Y"),o=i("WEpk"),n=i("2faE"),a=i("jmDH"),s=i("UWiX")("species");e.exports=function(e){var t="function"==typeof o[e]?o[e]:r[e];a&&t&&!t[s]&&n.f(t,s,{configurable:!0,get:function(){return this}})}},TuGD:function(e,t,i){var n=i("UWiX")("iterator"),a=!1;try{var r=[7][n]();r.return=function(){a=!0},Array.from(r,function(){throw 2})}catch(e){}e.exports=function(e,t){if(!t&&!a)return!1;var i=!1;try{var r=[7],o=r[n]();o.next=function(){return{done:i=!0}},r[n]=function(){return o},e(r)}catch(e){}return i}},"U+KD":function(e,t,i){var r=i("B+OT"),o=i("JB68"),n=i("VVlx")("IE_PROTO"),a=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=o(e),r(e,n)?e[n]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?a:null}},UO39:function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},UWiX:function(e,t,i){var r=i("29s/")("wks"),o=i("YqAc"),n=i("5T2Y").Symbol,a="function"==typeof n;(e.exports=function(e){return r[e]||(r[e]=a&&n[e]||(a?n:o)("Symbol."+e))}).store=r},UbbE:function(e,t,i){i("o8NH"),e.exports=i("WEpk").Object.assign},V7oC:function(e,t,i){"use strict";t.__esModule=!0;var r,o=i("SEkw"),n=(r=o)&&r.__esModule?r:{default:r};function a(e,t){for(var i=0;i<t.length;i++){var r=t[i];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),(0,n.default)(e,r.key,r)}}t.default=function(e,t,i){return t&&a(e.prototype,t),i&&a(e,i),e}},VVlx:function(e,t,i){var r=i("29s/")("keys"),o=i("YqAc");e.exports=function(e){return r[e]||(r[e]=o(e))}},W070:function(e,t,i){var l=i("NsO/"),u=i("tEej"),c=i("D8kY");e.exports=function(s){return function(e,t,i){var r,o=l(e),n=u(o.length),a=c(i,n);if(s&&t!=t){for(;a<n;)if((r=o[a++])!=r)return!0}else for(;a<n;a++)if((s||a in o)&&o[a]===t)return s||a||0;return!s&&-1}}},WEpk:function(e,t){var i=e.exports={version:"2.6.1"};"number"==typeof __e&&(__e=i)},Wdqn:function(e,t,i){e.exports=function o(n,a,s){function l(i,e){if(!a[i]){if(!n[i]){if(u)return u(i,!0);var t=new Error("Cannot find module '"+i+"'");throw t.code="MODULE_NOT_FOUND",t}var r=a[i]={exports:{}};n[i][0].call(r.exports,function(e){var t=n[i][1][e];return l(t||e)},r,r.exports,o,n,a,s)}return a[i].exports}for(var u=!1,e=0;e<s.length;e++)l(s[e]);return l}({1:[function(e,t,i){!function(e,t){if(0,void 0!==i)t();else{t(),e.lgShare={}}}(this,function(){"use strict";var t=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&(e[r]=i[r])}return e},i={share:!0,facebook:!0,facebookDropdownText:"Facebook",twitter:!0,twitterDropdownText:"Twitter",googlePlus:!0,googlePlusDropdownText:"GooglePlus",pinterest:!0,pinterestDropdownText:"Pinterest"};var e=function(e){return this.el=e,this.core=window.lgData[this.el.getAttribute("lg-uid")],this.core.s=t({},i,this.core.s),this.core.s.share&&this.init(),this};e.prototype.init=function(){var t=this,e='<button aria-label="Share" aria-haspopup="true" aria-expanded="false" id="lg-share" class="lg-icon"><ul class="lg-dropdown" style="position: absolute;">';e+=t.core.s.facebook?'<li><a id="lg-share-facebook" target="_blank"><span class="lg-icon"></span><span class="lg-dropdown-text">'+this.core.s.facebookDropdownText+"</span></a></li>":"",e+=t.core.s.twitter?'<li><a id="lg-share-twitter" target="_blank"><span class="lg-icon"></span><span class="lg-dropdown-text">'+this.core.s.twitterDropdownText+"</span></a></li>":"",e+=t.core.s.googlePlus?'<li><a id="lg-share-googleplus" target="_blank"><span class="lg-icon"></span><span class="lg-dropdown-text">'+this.core.s.googlePlusDropdownText+"</span></a></li>":"",e+=t.core.s.pinterest?'<li><a id="lg-share-pinterest" target="_blank"><span class="lg-icon"></span><span class="lg-dropdown-text">'+this.core.s.pinterestDropdownText+"</span></a></li>":"",e+="</ul></button>",this.core.outer.querySelector(".lg-toolbar").insertAdjacentHTML("beforeend",e),this.core.outer.querySelector(".lg").insertAdjacentHTML("beforeend",'<div id="lg-dropdown-overlay"></div>');var i=document.getElementById("lg-share");utils.on(i,"click.lg",function(){utils.hasClass(t.core.outer,"lg-dropdown-active")?(utils.removeClass(t.core.outer,"lg-dropdown-active"),i.setAttribute("aria-expanded",!1)):(utils.addClass(t.core.outer,"lg-dropdown-active"),i.setAttribute("aria-expanded",!0))}),utils.on(document.getElementById("lg-dropdown-overlay"),"click.lg",function(){utils.removeClass(t.core.outer,"lg-dropdown-active"),i.setAttribute("aria-expanded",!1)}),utils.on(t.core.el,"onAfterSlide.lgtm",function(e){setTimeout(function(){t.core.s.facebook&&document.getElementById("lg-share-facebook").setAttribute("href","https://www.facebook.com/sharer/sharer.php?u="+t.getSharePropsUrl(e.detail.index,"data-facebook-share-url")),t.core.s.twitter&&document.getElementById("lg-share-twitter").setAttribute("href","https://twitter.com/intent/tweet?text="+t.getShareProps(e.detail.index,"data-tweet-text")+"&url="+t.getSharePropsUrl(e.detail.index,"data-twitter-share-url")),t.core.s.googlePlus&&document.getElementById("lg-share-googleplus").setAttribute("href","https://plus.google.com/share?url="+t.getSharePropsUrl(e.detail.index,"data-googleplus-share-url")),t.core.s.pinterest&&document.getElementById("lg-share-pinterest").setAttribute("href","http://www.pinterest.com/pin/create/button/?url="+t.getSharePropsUrl(e.detail.index,"data-pinterest-share-url")+"&media="+encodeURIComponent(t.getShareProps(e.detail.index,"href")||t.getShareProps(e.detail.index,"data-src"))+"&description="+t.getShareProps(e.detail.index,"data-pinterest-text"))},100)})},e.prototype.getSharePropsUrl=function(e,t){var i=this.getShareProps(e,t);return i=i||window.location.href,encodeURIComponent(i)},e.prototype.getShareProps=function(e,t){var i="";return this.core.s.dynamic?i=this.core.items[e][function(e){return e.toLowerCase().replace(/-(.)/g,function(e,t){return t.toUpperCase()})}(t.replace("data-",""))]:this.core.items[e].getAttribute(t)&&(i=this.core.items[e].getAttribute(t)),i},e.prototype.destroy=function(){},window.lgModules.share=e})},{}]},{},[1])(1)},"XJU/":function(e,t,i){var o=i("NegM");e.exports=function(e,t,i){for(var r in t)i&&e[r]?e[r]=t[r]:o(e,r,t[r]);return e}},Y7ZC:function(e,t,i){var b=i("5T2Y"),S=i("WEpk"),m=i("2GTP"),g=i("NegM"),p=i("B+OT"),v="prototype",A=function(e,t,i){var r,o,n,a=e&A.F,s=e&A.G,l=e&A.S,u=e&A.P,c=e&A.B,d=e&A.W,f=s?S:S[t]||(S[t]={}),T=f[v],h=s?b:l?b[t]:(b[t]||{})[v];for(r in s&&(i=t),i)(o=!a&&h&&void 0!==h[r])&&p(f,r)||(n=o?h[r]:i[r],f[r]=s&&"function"!=typeof h[r]?i[r]:c&&o?m(n,b):d&&h[r]==n?function(r){function e(e,t,i){if(this instanceof r){switch(arguments.length){case 0:return new r;case 1:return new r(e);case 2:return new r(e,t)}return new r(e,t,i)}return r.apply(this,arguments)}return e[v]=r[v],e}(n):u&&"function"==typeof n?m(Function.call,n):n,u&&((f.virtual||(f.virtual={}))[r]=n,e&A.R&&T&&!T[r]&&g(T,r,n)))};A.F=1,A.G=2,A.S=4,A.P=8,A.B=16,A.W=32,A.U=64,A.R=128,e.exports=A},YqAc:function(e,t){var i=0,r=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++i+r).toString(36))}},ZW5q:function(e,t,i){"use strict";var o=i("eaoh");function r(e){var i,r;this.promise=new e(function(e,t){if(void 0!==i||void 0!==r)throw TypeError("Bad Promise constructor");i=e,r=t}),this.resolve=o(i),this.reject=o(r)}e.exports.f=function(e){return new r(e)}},a0xu:function(e,t){var i={}.toString;e.exports=function(e){return i.call(e).slice(8,-1)}},aW7e:function(e,t,i){i("wgeU"),i("FlQf"),i("bBy9"),i("JMW+"),i("PBE1"),i("Q/yX"),e.exports=i("WEpk").Promise},bBy9:function(e,t,i){i("w2d+");for(var r=i("5T2Y"),o=i("NegM"),n=i("SBuE"),a=i("UWiX")("toStringTag"),s="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),l=0;l<s.length;l++){var u=s[l],c=r[u],d=c&&c.prototype;d&&!d[a]&&o(d,a,u),n[u]=n.Array}},c39r:function(e,t,i){},ccE7:function(e,t,i){var l=i("Ojgd"),u=i("Jes0");e.exports=function(s){return function(e,t){var i,r,o=String(u(e)),n=l(t),a=o.length;return n<0||a<=n?s?"":void 0:(i=o.charCodeAt(n))<55296||56319<i||n+1===a||(r=o.charCodeAt(n+1))<56320||57343<r?s?o.charAt(n):i:s?o.slice(n,n+2):r-56320+(i-55296<<10)+65536}}},eUtF:function(e,t,i){e.exports=!i("jmDH")&&!i("KUxP")(function(){return 7!=Object.defineProperty(i("Hsns")("div"),"a",{get:function(){return 7}}).a})},eaoh:function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},fNZA:function(e,t,i){var r=i("QMMT"),o=i("UWiX")("iterator"),n=i("SBuE");e.exports=i("WEpk").getIteratorMethod=function(e){if(null!=e)return e[o]||e["@@iterator"]||n[r(e)]}},fb6B:function(e,t,i){},fpC5:function(e,t,i){var a=i("2faE"),s=i("5K7Z"),l=i("w6GO");e.exports=i("jmDH")?Object.defineProperties:function(e,t){s(e);for(var i,r=l(t),o=r.length,n=0;n<o;)a.f(e,i=r[n++],t[i]);return e}},hDam:function(e,t){e.exports=function(){}},iCc5:function(e,t,i){"use strict";t.__esModule=!0,t.default=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},j2DC:function(e,t,i){"use strict";var r=i("oVml"),o=i("rr1i"),n=i("RfKB"),a={};i("NegM")(a,i("UWiX")("iterator"),function(){return this}),e.exports=function(e,t,i){e.prototype=r(a,{next:o(1,i)}),n(e,t+" Iterator")}},jmDH:function(e,t,i){e.exports=!i("KUxP")(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},kTiW:function(e,t,i){e.exports=i("NegM")},kwZ1:function(e,t,i){"use strict";var f=i("w6GO"),T=i("mqlF"),h=i("NV0k"),b=i("JB68"),S=i("M1xp"),o=Object.assign;e.exports=!o||i("KUxP")(function(){var e={},t={},i=Symbol(),r="abcdefghijklmnopqrst";return e[i]=7,r.split("").forEach(function(e){t[e]=e}),7!=o({},e)[i]||Object.keys(o({},t)).join("")!=r})?function(e,t){for(var i=b(e),r=arguments.length,o=1,n=T.f,a=h.f;o<r;)for(var s,l=S(arguments[o++]),u=n?f(l).concat(n(l)):f(l),c=u.length,d=0;d<c;)a.call(l,s=u[d++])&&(i[s]=l[s]);return i}:o},ls82:function(I,e){!function(e){"use strict";var l,t=Object.prototype,u=t.hasOwnProperty,i="function"==typeof Symbol?Symbol:{},o=i.iterator||"@@iterator",r=i.asyncIterator||"@@asyncIterator",n=i.toStringTag||"@@toStringTag",a="object"==typeof I,s=e.regeneratorRuntime;if(s)a&&(I.exports=s);else{(s=e.regeneratorRuntime=a?I.exports:{}).wrap=p;var d="suspendedStart",f="suspendedYield",T="executing",h="completed",b={},c={};c[o]=function(){return this};var S=Object.getPrototypeOf,m=S&&S(S(H([])));m&&m!==t&&u.call(m,o)&&(c=m);var g=y.prototype=A.prototype=Object.create(c);P.prototype=g.constructor=y,y.constructor=P,y[n]=P.displayName="GeneratorFunction",s.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===P||"GeneratorFunction"===(t.displayName||t.name))},s.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,y):(e.__proto__=y,n in e||(e[n]="GeneratorFunction")),e.prototype=Object.create(g),e},s.awrap=function(e){return{__await:e}},M(C.prototype),C.prototype[r]=function(){return this},s.AsyncIterator=C,s.async=function(e,t,i,r){var o=new C(p(e,t,i,r));return s.isGeneratorFunction(t)?o:o.next().then(function(e){return e.done?e.value:o.next()})},M(g),g[n]="Generator",g[o]=function(){return this},g.toString=function(){return"[object Generator]"},s.keys=function(i){var r=[];for(var e in i)r.push(e);return r.reverse(),function e(){for(;r.length;){var t=r.pop();if(t in i)return e.value=t,e.done=!1,e}return e.done=!0,e}},s.values=H,E.prototype={constructor:E,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=l,this.done=!1,this.delegate=null,this.method="next",this.arg=l,this.tryEntries.forEach(w),!e)for(var t in this)"t"===t.charAt(0)&&u.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=l)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(i){if(this.done)throw i;var r=this;function e(e,t){return n.type="throw",n.arg=i,r.next=e,t&&(r.method="next",r.arg=l),!!t}for(var t=this.tryEntries.length-1;0<=t;--t){var o=this.tryEntries[t],n=o.completion;if("root"===o.tryLoc)return e("end");if(o.tryLoc<=this.prev){var a=u.call(o,"catchLoc"),s=u.call(o,"finallyLoc");if(a&&s){if(this.prev<o.catchLoc)return e(o.catchLoc,!0);if(this.prev<o.finallyLoc)return e(o.finallyLoc)}else if(a){if(this.prev<o.catchLoc)return e(o.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return e(o.finallyLoc)}}}},abrupt:function(e,t){for(var i=this.tryEntries.length-1;0<=i;--i){var r=this.tryEntries[i];if(r.tryLoc<=this.prev&&u.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var o=r;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var n=o?o.completion:{};return n.type=e,n.arg=t,o?(this.method="next",this.next=o.finallyLoc,b):this.complete(n)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),b},finish:function(e){for(var t=this.tryEntries.length-1;0<=t;--t){var i=this.tryEntries[t];if(i.finallyLoc===e)return this.complete(i.completion,i.afterLoc),w(i),b}},catch:function(e){for(var t=this.tryEntries.length-1;0<=t;--t){var i=this.tryEntries[t];if(i.tryLoc===e){var r=i.completion;if("throw"===r.type){var o=r.arg;w(i)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,i){return this.delegate={iterator:H(e),resultName:t,nextLoc:i},"next"===this.method&&(this.arg=l),b}}}function p(e,t,i,r){var n,a,s,l,o=t&&t.prototype instanceof A?t:A,u=Object.create(o.prototype),c=new E(r||[]);return u._invoke=(n=e,a=i,s=c,l=d,function(e,t){if(l===T)throw new Error("Generator is already running");if(l===h){if("throw"===e)throw t;return _()}for(s.method=e,s.arg=t;;){var i=s.delegate;if(i){var r=G(i,s);if(r){if(r===b)continue;return r}}if("next"===s.method)s.sent=s._sent=s.arg;else if("throw"===s.method){if(l===d)throw l=h,s.arg;s.dispatchException(s.arg)}else"return"===s.method&&s.abrupt("return",s.arg);l=T;var o=v(n,a,s);if("normal"===o.type){if(l=s.done?h:f,o.arg===b)continue;return{value:o.arg,done:s.done}}"throw"===o.type&&(l=h,s.method="throw",s.arg=o.arg)}}),u}function v(e,t,i){try{return{type:"normal",arg:e.call(t,i)}}catch(e){return{type:"throw",arg:e}}}function A(){}function P(){}function y(){}function M(e){["next","throw","return"].forEach(function(t){e[t]=function(e){return this._invoke(t,e)}})}function C(l){var t;this._invoke=function(i,r){function e(){return new Promise(function(e,t){!function t(e,i,r,o){var n=v(l[e],l,i);if("throw"!==n.type){var a=n.arg,s=a.value;return s&&"object"==typeof s&&u.call(s,"__await")?Promise.resolve(s.__await).then(function(e){t("next",e,r,o)},function(e){t("throw",e,r,o)}):Promise.resolve(s).then(function(e){a.value=e,r(a)},o)}o(n.arg)}(i,r,e,t)})}return t=t?t.then(e,e):e()}}function G(e,t){var i=e.iterator[t.method];if(i===l){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=l,G(e,t),"throw"===t.method))return b;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return b}var r=v(i,e.iterator,t.arg);if("throw"===r.type)return t.method="throw",t.arg=r.arg,t.delegate=null,b;var o=r.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=l),t.delegate=null,b):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,b)}function B(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function w(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function E(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(B,this),this.reset(!0)}function H(t){if(t){var e=t[o];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,r=function e(){for(;++i<t.length;)if(u.call(t,i))return e.value=t[i],e.done=!1,e;return e.value=l,e.done=!0,e};return r.next=r}}return{next:_}}function _(){return{value:l,done:!0}}}(function(){return this}()||Function("return this")())},mqlF:function(e,t){t.f=Object.getOwnPropertySymbols},o8NH:function(e,t,i){var r=i("Y7ZC");r(r.S+r.F,"Object",{assign:i("kwZ1")})},oVml:function(e,t,r){function o(){}var n=r("5K7Z"),a=r("fpC5"),s=r("FpHa"),l=r("VVlx")("IE_PROTO"),u="prototype",c=function(){var e,t=r("Hsns")("iframe"),i=s.length;for(t.style.display="none",r("MvwC").appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write("<script>document.F=Object<\/script>"),e.close(),c=e.F;i--;)delete c[u][s[i]];return c()};e.exports=Object.create||function(e,t){var i;return null!==e?(o[u]=n(e),i=new o,o[u]=null,i[l]=e):i=c(),void 0===t?i:a(i,t)}},oioR:function(e,t,i){var f=i("2GTP"),T=i("sNwI"),h=i("NwJ3"),b=i("5K7Z"),S=i("tEej"),m=i("fNZA"),g={},p={};(t=e.exports=function(e,t,i,r,o){var n,a,s,l,u=o?function(){return e}:m(e),c=f(i,r,t?2:1),d=0;if("function"!=typeof u)throw TypeError(e+" is not iterable!");if(h(u)){for(n=S(e.length);d<n;d++)if((l=t?c(b(a=e[d])[0],a[1]):c(e[d]))===g||l===p)return l}else for(s=u.call(e);!(a=s.next()).done;)if((l=T(s,c,a.value,t))===g||l===p)return l}).BREAK=g,t.RETURN=p},q6LJ:function(e,t,i){var s=i("5T2Y"),l=i("QXhf").set,u=s.MutationObserver||s.WebKitMutationObserver,c=s.process,d=s.Promise,f="process"==i("a0xu")(c);e.exports=function(){function e(){var e,t;for(f&&(e=c.domain)&&e.exit();i;){t=i.fn,i=i.next;try{t()}catch(e){throw i?o():r=void 0,e}}r=void 0,e&&e.enter()}var i,r,o;if(f)o=function(){c.nextTick(e)};else if(!u||s.navigator&&s.navigator.standalone)if(d&&d.resolve){var t=d.resolve(void 0);o=function(){t.then(e)}}else o=function(){l.call(s,e)};else{var n=!0,a=document.createTextNode("");new u(e).observe(a,{characterData:!0}),o=function(){a.data=n=!n}}return function(e){var t={fn:e,next:void 0};r&&(r.next=t),i||(i=t,o()),r=t}}},rr1i:function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},sNwI:function(e,t,i){var n=i("5K7Z");e.exports=function(t,e,i,r){try{return r?e(n(i)[0],i[1]):e(i)}catch(e){var o=t.return;throw void 0!==o&&n(o.call(t)),e}}},tEej:function(e,t,i){var r=i("Ojgd"),o=Math.min;e.exports=function(e){return 0<e?o(r(e),9007199254740991):0}},u938:function(e,t,i){var r=function(){return this}()||Function("return this")(),o=r.regeneratorRuntime&&0<=Object.getOwnPropertyNames(r).indexOf("regeneratorRuntime"),n=o&&r.regeneratorRuntime;if(r.regeneratorRuntime=void 0,e.exports=i("ls82"),o)r.regeneratorRuntime=n;else try{delete r.regeneratorRuntime}catch(e){r.regeneratorRuntime=void 0}},uOPS:function(e,t){e.exports=!0},vBP9:function(e,t,i){var r=i("5T2Y").navigator;e.exports=r&&r.userAgent||""},"w2d+":function(e,t,i){"use strict";var r=i("hDam"),o=i("UO39"),n=i("SBuE"),a=i("NsO/");e.exports=i("MPFp")(Array,"Array",function(e,t){this._t=a(e),this._i=0,this._k=t},function(){var e=this._t,t=this._k,i=this._i++;return!e||i>=e.length?(this._t=void 0,o(1)):o(0,"keys"==t?i:"values"==t?e[i]:[i,e[i]])},"values"),n.Arguments=n.Array,r("keys"),r("values"),r("entries")},w6GO:function(e,t,i){var r=i("5vMV"),o=i("FpHa");e.exports=Object.keys||function(e){return r(e,o)}},wgeU:function(e,t){},x8jq:function(e,t,i){var r,o,n;o=[t],void 0===(n="function"==typeof(r=function(e){"use strict";Object.defineProperty(e,"__esModule",{value:true});var s={getAttribute:function e(t,i){return t[i]},setAttribute:function e(t,i,r){t[i]=r},wrap:function e(t,i){if(!t){return}var r=document.createElement("div");r.className=i;t.parentNode.insertBefore(r,t);t.parentNode.removeChild(t);r.appendChild(t)},addClass:function e(t,i){if(!t){return}if(t.classList){t.classList.add(i)}else{t.className+=" "+i}},removeClass:function e(t,i){if(!t){return}if(t.classList){t.classList.remove(i)}else{t.className=t.className.replace(new RegExp("(^|\\b)"+i.split(" ").join("|")+"(\\b|$)","gi")," ")}},hasClass:function e(t,i){if(t.classList){return t.classList.contains(i)}else{return new RegExp("(^| )"+i+"( |$)","gi").test(t.className)}},setVendor:function e(t,i,r){if(!t){return}t.style[i.charAt(0).toLowerCase()+i.slice(1)]=r;t.style["webkit"+i]=r;t.style["moz"+i]=r;t.style["ms"+i]=r;t.style["o"+i]=r},trigger:function e(t,i){var r=arguments.length>2&&arguments[2]!==undefined?arguments[2]:null;if(!t){return}var o=new CustomEvent(i,{detail:r});t.dispatchEvent(o)},Listener:{uid:0},on:function e(i,t,r){var o=this;if(!i){return}t.split(" ").forEach(function(e){var t=o.getAttribute(i,"lg-event-uid")||"";s.Listener.uid++;t+="&"+s.Listener.uid;o.setAttribute(i,"lg-event-uid",t);s.Listener[e+s.Listener.uid]=r;i.addEventListener(e.split(".")[0],r,false)})},off:function e(t,i){if(!t){return}var r=this.getAttribute(t,"lg-event-uid");if(r){r=r.split("&");for(var o=0;o<r.length;o++){if(r[o]){var n=i+r[o];if(n.substring(0,1)==="."){for(var a in s.Listener){if(s.Listener.hasOwnProperty(a)){if(a.split(".").indexOf(n.split(".")[1])>-1){t.removeEventListener(a.split(".")[0],s.Listener[a]);this.setAttribute(t,"lg-event-uid",this.getAttribute(t,"lg-event-uid").replace("&"+r[o],""));delete s.Listener[a]}}}}else{t.removeEventListener(n.split(".")[0],s.Listener[n]);this.setAttribute(t,"lg-event-uid",this.getAttribute(t,"lg-event-uid").replace("&"+r[o],""));delete s.Listener[n]}}}}},param:function e(t){return Object.keys(t).map(function(e){return encodeURIComponent(e)+"="+encodeURIComponent(t[e])}).join("&")}};e.default=s})?r.apply(t,o):r)||(e.exports=n)},xsZ3:function(t,e,i){
1
+ !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define("YeldaChat",[],t):"object"==typeof exports?exports.YeldaChat=t():e.YeldaChat=t()}(window,function(){return(r={},o.m=i={"+KpT":function(e,t,i){e.exports=function o(n,a,s){function l(i,e){if(!a[i]){if(!n[i]){if(u)return u(i,!0);var t=new Error("Cannot find module '"+i+"'");throw t.code="MODULE_NOT_FOUND",t}var r=a[i]={exports:{}};n[i][0].call(r.exports,function(e){var t=n[i][1][e];return l(t||e)},r,r.exports,o,n,a,s)}return a[i].exports}for(var u=!1,e=0;e<s.length;e++)l(s[e]);return l}({1:[function(e,t,i){!function(e,t){if(0,void 0!==i)t();else{t(),e.lgZoom={}}}(this,function(){"use strict";var t=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&(e[r]=i[r])}return e},i={scale:1,zoom:!0,actualSize:!0,enableZoomAfter:300,useLeftForZoom:function(){var e=false,t=navigator.userAgent.match(/Chrom(e|ium)\/([0-9]+)\./);if(t&&parseInt(t[2],10)<54){e=true}return e}()},e=function(e){return this.el=e,this.core=window.lgData[this.el.getAttribute("lg-uid")],this.core.s=t({},i,this.core.s),this.core.s.zoom&&this.core.doCss()&&(this.init(),this.zoomabletimeout=!1,this.pageX=window.innerWidth/2,this.pageY=window.innerHeight/2+(document.documentElement.scrollTop||document.body.scrollTop)),this};e.prototype.init=function(){var l=this,e='<button aria-label="Zoom in" id="lg-zoom-in" class="lg-icon"></button><button aria-label="Zoom out" id="lg-zoom-out" class="lg-icon"></button>';l.core.s.actualSize&&(e+='<button aria-label="Actual size" id="lg-actual-size" class="lg-icon"></button>'),l.core.s.useLeftForZoom?utils.addClass(l.core.outer,"lg-use-left-for-zoom"):utils.addClass(l.core.outer,"lg-use-transition-for-zoom"),this.core.outer.querySelector(".lg-toolbar").insertAdjacentHTML("beforeend",e),utils.on(l.core.el,"onSlideItemLoad.lgtmzoom",function(e){var t=l.core.s.enableZoomAfter+e.detail.delay;utils.hasClass(document.body,"lg-from-hash")&&e.detail.delay?t=0:utils.removeClass(document.body,"lg-from-hash"),l.zoomabletimeout=setTimeout(function(){utils.addClass(l.core.___slide[e.detail.index],"lg-zoomable")},t+30)});var a=1,t=function(e){var t,i,r=l.core.outer.querySelector(".lg-current .lg-image"),o=(window.innerWidth-r.clientWidth)/2,n=(window.innerHeight-r.clientHeight)/2+(document.documentElement.scrollTop||document.body.scrollTop);t=l.pageX-o,i=l.pageY-n;var a=(e-1)*t,s=(e-1)*i;utils.setVendor(r,"Transform","scale3d("+e+", "+e+", 1)"),r.setAttribute("data-scale",e),l.core.s.useLeftForZoom?(r.parentElement.style.left=-a+"px",r.parentElement.style.top=-s+"px"):utils.setVendor(r.parentElement,"Transform","translate3d(-"+a+"px, -"+s+"px, 0)"),r.parentElement.setAttribute("data-x",a),r.parentElement.setAttribute("data-y",s)},s=function(){1<a?utils.addClass(l.core.outer,"lg-zoomed"):l.resetZoom(),a<1&&(a=1),t(a)},r=function(e,t,i,r){var o,n=t.clientWidth;o=l.core.s.dynamic?l.core.s.dynamicEl[i].width||t.naturalWidth||n:l.core.items[i].getAttribute("data-width")||t.naturalWidth||n,utils.hasClass(l.core.outer,"lg-zoomed")?a=1:n<o&&(a=o/n||2),r?(l.pageX=window.innerWidth/2,l.pageY=window.innerHeight/2+(document.documentElement.scrollTop||document.body.scrollTop)):(l.pageX=e.pageX||e.targetTouches[0].pageX,l.pageY=e.pageY||e.targetTouches[0].pageY),s(),setTimeout(function(){utils.removeClass(l.core.outer,"lg-grabbing"),utils.addClass(l.core.outer,"lg-grab")},10)},o=!1;utils.on(l.core.el,"onAferAppendSlide.lgtmzoom",function(e){var t=e.detail.index,i=l.core.___slide[t].querySelector(".lg-image");l.core.isTouch||utils.on(i,"dblclick",function(e){r(e,i,t)}),l.core.isTouch&&utils.on(i,"touchstart",function(e){o?(clearTimeout(o),o=null,r(e,i,t)):o=setTimeout(function(){o=null},300),e.preventDefault()})}),utils.on(window,"resize.lgzoom scroll.lgzoom orientationchange.lgzoom",function(){l.pageX=window.innerWidth/2,l.pageY=window.innerHeight/2+(document.documentElement.scrollTop||document.body.scrollTop),t(a)}),utils.on(document.getElementById("lg-zoom-out"),"click.lg",function(){l.core.outer.querySelector(".lg-current .lg-image")&&(a-=l.core.s.scale,s())}),utils.on(document.getElementById("lg-zoom-in"),"click.lg",function(){l.core.outer.querySelector(".lg-current .lg-image")&&(a+=l.core.s.scale,s())}),utils.on(document.getElementById("lg-actual-size"),"click.lg",function(e){r(e,l.core.___slide[l.core.index].querySelector(".lg-image"),l.core.index,!0)}),utils.on(l.core.el,"onBeforeSlide.lgtm",function(){a=1,l.resetZoom()}),l.core.isTouch||l.zoomDrag(),l.core.isTouch&&l.zoomSwipe()},e.prototype.resetZoom=function(){utils.removeClass(this.core.outer,"lg-zoomed");for(var e=0;e<this.core.___slide.length;e++)this.core.___slide[e].querySelector(".lg-img-wrap")&&(this.core.___slide[e].querySelector(".lg-img-wrap").removeAttribute("style"),this.core.___slide[e].querySelector(".lg-img-wrap").removeAttribute("data-x"),this.core.___slide[e].querySelector(".lg-img-wrap").removeAttribute("data-y"));for(var t=0;t<this.core.___slide.length;t++)this.core.___slide[t].querySelector(".lg-image")&&(this.core.___slide[t].querySelector(".lg-image").removeAttribute("style"),this.core.___slide[t].querySelector(".lg-image").removeAttribute("data-scale"));this.pageX=window.innerWidth/2,this.pageY=window.innerHeight/2+(document.documentElement.scrollTop||document.body.scrollTop)},e.prototype.zoomSwipe=function(){for(var o=this,n={},a={},s=!1,l=!1,u=!1,e=0;e<o.core.___slide.length;e++)utils.on(o.core.___slide[e],"touchstart.lg",function(e){if(utils.hasClass(o.core.outer,"lg-zoomed")){var t=o.core.___slide[o.core.index].querySelector(".lg-object");u=t.offsetHeight*t.getAttribute("data-scale")>o.core.outer.querySelector(".lg").clientHeight,((l=t.offsetWidth*t.getAttribute("data-scale")>o.core.outer.querySelector(".lg").clientWidth)||u)&&(e.preventDefault(),n={x:e.targetTouches[0].pageX,y:e.targetTouches[0].pageY})}});for(var t=0;t<o.core.___slide.length;t++)utils.on(o.core.___slide[t],"touchmove.lg",function(e){if(utils.hasClass(o.core.outer,"lg-zoomed")){var t,i,r=o.core.___slide[o.core.index].querySelector(".lg-img-wrap");e.preventDefault(),s=!0,a={x:e.targetTouches[0].pageX,y:e.targetTouches[0].pageY},utils.addClass(o.core.outer,"lg-zoom-dragging"),i=u?-Math.abs(r.getAttribute("data-y"))+(a.y-n.y):-Math.abs(r.getAttribute("data-y")),t=l?-Math.abs(r.getAttribute("data-x"))+(a.x-n.x):-Math.abs(r.getAttribute("data-x")),(15<Math.abs(a.x-n.x)||15<Math.abs(a.y-n.y))&&(o.core.s.useLeftForZoom?(r.style.left=t+"px",r.style.top=i+"px"):utils.setVendor(r,"Transform","translate3d("+t+"px, "+i+"px, 0)"))}});for(var i=0;i<o.core.___slide.length;i++)utils.on(o.core.___slide[i],"touchend.lg",function(){utils.hasClass(o.core.outer,"lg-zoomed")&&s&&(s=!1,utils.removeClass(o.core.outer,"lg-zoom-dragging"),o.touchendZoom(n,a,l,u))})},e.prototype.zoomDrag=function(){for(var o=this,n={},a={},s=!1,l=!1,u=!1,c=!1,e=0;e<o.core.___slide.length;e++)utils.on(o.core.___slide[e],"mousedown.lgzoom",function(e){var t=o.core.___slide[o.core.index].querySelector(".lg-object");c=t.offsetHeight*t.getAttribute("data-scale")>o.core.outer.querySelector(".lg").clientHeight,u=t.offsetWidth*t.getAttribute("data-scale")>o.core.outer.querySelector(".lg").clientWidth,utils.hasClass(o.core.outer,"lg-zoomed")&&utils.hasClass(e.target,"lg-object")&&(u||c)&&(e.preventDefault(),n={x:e.pageX,y:e.pageY},s=!0,o.core.outer.scrollLeft+=1,--o.core.outer.scrollLeft,utils.removeClass(o.core.outer,"lg-grab"),utils.addClass(o.core.outer,"lg-grabbing"))});utils.on(window,"mousemove.lgzoom",function(e){if(s){var t,i,r=o.core.___slide[o.core.index].querySelector(".lg-img-wrap");l=!0,a={x:e.pageX,y:e.pageY},utils.addClass(o.core.outer,"lg-zoom-dragging"),i=c?-Math.abs(r.getAttribute("data-y"))+(a.y-n.y):-Math.abs(r.getAttribute("data-y")),t=u?-Math.abs(r.getAttribute("data-x"))+(a.x-n.x):-Math.abs(r.getAttribute("data-x")),o.core.s.useLeftForZoom?(r.style.left=t+"px",r.style.top=i+"px"):utils.setVendor(r,"Transform","translate3d("+t+"px, "+i+"px, 0)")}}),utils.on(window,"mouseup.lgzoom",function(e){s&&(s=!1,utils.removeClass(o.core.outer,"lg-zoom-dragging"),!l||n.x===a.x&&n.y===a.y||(a={x:e.pageX,y:e.pageY},o.touchendZoom(n,a,u,c)),l=!1),utils.removeClass(o.core.outer,"lg-grabbing"),utils.addClass(o.core.outer,"lg-grab")})},e.prototype.touchendZoom=function(e,t,i,r){var o=this,n=o.core.___slide[o.core.index].querySelector(".lg-img-wrap"),a=o.core.___slide[o.core.index].querySelector(".lg-object"),s=-Math.abs(n.getAttribute("data-x"))+(t.x-e.x),l=-Math.abs(n.getAttribute("data-y"))+(t.y-e.y),u=(o.core.outer.querySelector(".lg").clientHeight-a.offsetHeight)/2,c=Math.abs(a.offsetHeight*Math.abs(a.getAttribute("data-scale"))-o.core.outer.querySelector(".lg").clientHeight+u),d=(o.core.outer.querySelector(".lg").clientWidth-a.offsetWidth)/2,T=Math.abs(a.offsetWidth*Math.abs(a.getAttribute("data-scale"))-o.core.outer.querySelector(".lg").clientWidth+d);(15<Math.abs(t.x-e.x)||15<Math.abs(t.y-e.y))&&(r&&(l<=-c?l=-c:-u<=l&&(l=-u)),i&&(s<=-T?s=-T:-d<=s&&(s=-d)),r?n.setAttribute("data-y",Math.abs(l)):l=-Math.abs(n.getAttribute("data-y")),i?n.setAttribute("data-x",Math.abs(s)):s=-Math.abs(n.getAttribute("data-x")),o.core.s.useLeftForZoom?(n.style.left=s+"px",n.style.top=l+"px"):utils.setVendor(n,"Transform","translate3d("+s+"px, "+l+"px, 0)"))},e.prototype.destroy=function(){var e=this;utils.off(e.core.el,".lgzoom"),utils.off(window,".lgzoom");for(var t=0;t<e.core.___slide.length;t++)utils.off(e.core.___slide[t],".lgzoom");utils.off(e.core.el,".lgtmzoom"),e.resetZoom(),clearTimeout(e.zoomabletimeout),e.zoomabletimeout=!1},window.lgModules.zoom=e})},{}]},{},[1])(1)},"14Xm":function(e,t,i){e.exports=i("u938")},"1AmZ":function(e,t,i){"use strict";i.r(t);var r=i("14Xm"),o=i.n(r),n=i("D3Ub"),a=i.n(n),s=i("4d7F"),l=i.n(s),u=i("QbLZ"),c=i.n(u),d=i("iCc5"),T=i.n(d),f=i("V7oC"),h=i.n(f),b=(i("c39r"),i("xsZ3")),S=i.n(b),m=(i("RolN"),i("yu08"),i("+KpT"),i("5vGx"),i("Wdqn"),i("fb6B"),i("8SHQ")),g=i.n(m);function p(){T()(this,p)}var v=new(h()(p,[{key:"updateQueryStringParameter",value:function(e,t,i){var r=new RegExp("([?&])"+t+"=.*?(&|$)","i"),o=-1!==e.indexOf("?")?"&":"?";return e.match(r)?e.replace(r,"$1"+t+"="+i+"$2"):e+o+t+"="+i}},{key:"getUrlVars",value:function(e){var r={};return e.replace(/[?&]+([^=&]+)=([^&]*)/gi,function(e,t,i){r[t]=i}),r}},{key:"getUrlParam",value:function(e,t,i){var r=1<arguments.length&&void 0!==t?t:"",o=2<arguments.length&&void 0!==i?i:window.location.href,n=r;return-1<o.indexOf(e)&&(n=this.getUrlVars(o)[e]),n||r}},{key:"createContainer",value:function(){if(!this.parentContainer)return null;if(this.webChatContainer)return!0;var e=this.parentContainer===document.body?"yelda_container":"yelda_container inner";this.webChatContainer=document.createElement("div"),this.webChatContainer.setAttribute("id","yelda_container"),this.webChatContainer.setAttribute("class",e),this.parentContainer.appendChild(this.webChatContainer)}},{key:"addAssistantBubbleText",value:function(e){var t=0<arguments.length&&void 0!==e?e:null;t=t||this.webchatSettings&&this.webchatSettings.bubbleText,this.webChatContainer&&t&&(this.removeElement("yelda_assistant_bubble_text"),this.assistantBubbleText=document.createElement("span"),this.assistantBubbleText.setAttribute("id","yelda_assistant_bubble_text"),this.assistantBubbleText.innerText=t,this.addCloseButtonForBubbleText(),this.assistantBubbleText.addEventListener("click",this.openChat.bind(this)),this.webChatContainer.appendChild(this.assistantBubbleText))}},{key:"addCloseButtonForBubbleText",value:function(){var e=document.createElement("a");e.setAttribute("class","bubbleCloseButton"),e.setAttribute("id","yelda_assistant_bubble_text_close"),e.setAttribute("href","#"),e.innerHTML="&times;",e.onclick=this.closeBubbleText.bind(this),this.assistantBubbleText.prepend(e)}},{key:"closeBubbleText",value:function(e){e.preventDefault(),e.stopPropagation(),this.removeElement("yelda_assistant_bubble_text"),this.assistantBubbleText=null}},{key:"addAssistantImage",value:function(){if(this.webChatContainer||(this.webChatContainer=document.getElementById("yelda_container")),null!==document.getElementById("yelda_assistant_img")){if(!this.bubbleContainer)return;document.getElementById("yelda_assistant_img").remove()}this.assistantImage=document.createElement("div"),this.bubbleContainer&&(this.assistantImage=this.bubbleContainer),this.assistantImage.setAttribute("id","yelda_assistant_img"),this.assistantImage.setAttribute("class","yelda_assistant_img default"),this.assistantImage.innerHTML='<i class="fas fa-comment"></i>',this.assistantImage.addEventListener("click",this.openChat.bind(this)),this.updateAssistantImageWithAssistantSettings()}},{key:"addAssistantImageToWebChatContainer",value:function(){this.bubbleContainer?this.webChatContainer=this.assistantImage.parentElement:this.webChatContainer.appendChild(this.assistantImage)}},{key:"updateAssistantImageWithAssistantSettings",value:function(){if(this.webChatContainer)if(this.webchatSettings){var e=!!this.webchatSettings.hasOwnProperty("isVoiceFirstUI")&&this.webchatSettings.isVoiceFirstUI,t=this.webchatSettings.image&&this.webchatSettings.image.url,i=this.webchatSettings.hasOwnProperty("isDefaultStyle")&&!this.webchatSettings.isDefaultStyle;if(e)return this.iframeContainer.classList.add("voiceFirstUI"),this.openChat(),void(this.assistantImage=null);if(i&&t){var r=null!==new S.a(navigator.userAgent).mobile()&&this.webchatSettings.mobileImage&&this.webchatSettings.mobileImage.url?this.webchatSettings.mobileImage.url:t;this.assistantImage.classList.remove("default","custom"),this.assistantImage.innerHTML='<img src="'+r+'" alt="assistant">',this.assistantImage.classList.add("custom"),this.addAssistantImageToWebChatContainer()}else this.addAssistantImageToWebChatContainer()}else this.addAssistantImageToWebChatContainer()}},{key:"createWebChatURL",value:function(e){var t=e.chatUrl;return t=this.updateQueryStringParameter(t,"assistantId",e.assistantId),t=this.updateQueryStringParameter(t,"assistantSlug",e.assistantSlug),t=this.updateQueryStringParameter(t,"locale",e.locale),t=this.updateQueryStringParameter(t,"location",e.location),e.platformSimulated&&(t=this.updateQueryStringParameter(t,"platformSimulated",e.platformSimulated)),e.hasOwnProperty("canBeClosed")&&(t=this.updateQueryStringParameter(t,"canBeClosed",e.canBeClosed)),e.hasOwnProperty("shouldBeOpened")&&(t=this.updateQueryStringParameter(t,"shouldBeOpened",e.shouldBeOpened)),e.isAdmin&&(t=this.updateQueryStringParameter(t,"isAdmin",e.isAdmin)),e.isStartBtn&&(t=this.updateQueryStringParameter(t,"isStartBtn",e.isAdmin&&e.isStartBtn)),e.isDemo&&(t=this.updateQueryStringParameter(t,"isDemo",e.isDemo)),e.hasOwnProperty(g.a.YELDA_PARAMETER)&&(t=this.updateQueryStringParameter(t,g.a.YELDA_PARAMETER,e[g.a.YELDA_PARAMETER])),t}},{key:"createWebChatFrame",value:function(e,t){if(this.webChatContainer||(this.webChatContainer=document.getElementsByClassName("yelda_container")[0]),!this.iframeContainer){var i="yelda_iframe_container";this.iframeContainer=document.createElement("div"),this.iframeContainer.setAttribute("id","yelda_iframe_container"),this.parentContainer!==document.body&&(i+=" inner"),(t.shouldBeOpened||t.isStartBtn)&&t.hasOwnProperty("canBeClosed")&&!t.canBeClosed?i+=" y_active":this.iframeContainer.style.cssText="display: none;",this.iframeContainer.setAttribute("class",i),this.webChatContainer.appendChild(this.iframeContainer)}var r=void 0;return this.webChatIframe?r=document.getElementById("web_chat_frame"):((r=document.createElement("iframe")).src=e,r.id="web_chat_frame",r.name="frame",r.style.border="0",r.setAttribute("allow","microphone;"),r.setAttribute("allowfullscreen","true"),r.setAttribute("webkitallowfullscreen","true"),r.setAttribute("mozallowfullscreen","true"),this.iframeContainer.appendChild(r)),r}},{key:"getSharedUrlProperties",value:function(e){return{facebookShareUrl:e,twitterShareUrl:e,pinterestShareUrl:e}}},{key:"getImageProperties",value:function(e){return c()({src:e,href:e},this.getSharedUrlProperties(e))}},{key:"getVideoProperties",value:function(e){var t=e.urls.reduce(function(e,t){return e+'<source src="'+t+'"></source>'},"");return c()({html:'<video class="lg-video-object lg-html5" controls="true" preload="none">'+t+"</video>",href:e.urls[0]},e.cover&&{poster:e.cover},this.getSharedUrlProperties(e.urls[0]))}},{key:"messageListener",value:function(e){var t=e.data||e.message;if(t)if(t.event)switch(t.event){case g.a.FRAME_EVENT_TYPES.RECEIVED.OPEN_LIGHT_GALLERY:if(!t.mediaSources||!t.mediaSources.length)return;this.handleLightGallery(t);break;case g.a.FRAME_EVENT_TYPES.RECEIVED.IS_SENDING_MESSAGE:t.hasOwnProperty("data")&&window.dispatchEvent(new CustomEvent("isSendingMessage",{detail:t.data}));break;case g.a.FRAME_EVENT_TYPES.RECEIVED.ADD_MINIMAL_NOTIFICATION_TEXT:this.configurationData.hasOwnProperty("canBeClosed")&&!this.configurationData.canBeClosed||this.addAssistantBubbleText(t.text)}else switch(t){case g.a.FRAME_EVENT_TYPES.RECEIVED.OPEN_CHAT:this.openChat();break;case g.a.FRAME_EVENT_TYPES.RECEIVED.CLOSE_CHAT:this.closeChat();break;case g.a.FRAME_EVENT_TYPES.RECEIVED.ABSTAIN_LEAVE_VIEWPORT:this.listenLeaveViewport(!0);break;case g.a.FRAME_EVENT_TYPES.RECEIVED.LISTEN_LEAVE_VIEWPORT:this.listenLeaveViewport();break;case g.a.FRAME_EVENT_TYPES.RECEIVED.LISTEN_URL_UPDATE:this.listenUrlUpdate();break;case g.a.FRAME_EVENT_TYPES.RECEIVED.ABSTAIN_URL_UPDATE:this.listenUrlUpdate(!0);break;case g.a.FRAME_EVENT_TYPES.RECEIVED.ADD_BUBBLE_TEXT:this.configurationData.hasOwnProperty("canBeClosed")&&!this.configurationData.canBeClosed||this.addAssistantBubbleText()}}},{key:"handleLightGallery",value:function(e){var i=this,t=document.getElementById("lightgallery");t||((t=document.createElement("div")).id="lightgallery",document.getElementById("yelda_iframe_container").appendChild(t));var r=e.mediaSources.map(function(e){var t={};return"string"==typeof e?t=i.getImageProperties(e):e.urls&&e.urls.length&&(t=i.getImageProperties(e)),c()({tweetText:"",pinterestText:""},t)});window.lightGallery(t,{googlePlus:!1,dynamic:!0,dynamicEl:r,index:e.index||0}),t.addEventListener("onCloseAfter",function(){t.remove()})}},{key:"closeChat",value:function(){var e=document.getElementById("yelda_assistant_img");null!==e&&(e.style.display="inline-block");var t=document.getElementById("yelda_iframe_container");null!==t&&(t.classList.remove("y_active"),t.style.display="none")}},{key:"openChat",value:function(){var e=document.getElementById("yelda_assistant_img");null!==e&&(e.style.display="none");var t=document.getElementById("yelda_iframe_container");null!==t&&(t.style.display="block",t.classList.add("y_active")),this.assistantBubbleText&&(this.assistantBubbleText=null),this.removeElement("yelda_assistant_bubble_text"),document.getElementById("web_chat_frame").contentWindow.postMessage(g.a.FRAME_EVENT_TYPES.SENT.OPEN_CHAT,"*")}},{key:"toggleFrameListener",value:function(e){var t=0<arguments.length&&void 0!==e&&e,i=!window.addEventListener,r=i?"onmessage":"message",o=window[t?i?"detachEvent":"removeEventListener":i?"attachEvent":"addEventListener"];this.messageListenerBind||(this.messageListenerBind=this.messageListener.bind(this)),o(r,this.messageListenerBind)}},{key:"loadCssAsync",value:function(){var e=document.getElementsByTagName("head")[0],t=document.createElement("link");t.rel="stylesheet",t.type="text/css",t.crossorigin="anonymous",t.href="https://yelda-webchat.s3.eu-west-3.amazonaws.com/css/yeldaWebchatInjector.min.css",t.media="all",e.appendChild(t)}},{key:"setUpChatIFrame",value:function(e){var t=this.createWebChatURL(e);this.webChatIframe=this.createWebChatFrame(t,e)}},{key:"resetChat",value:function(i){var t,r=this;return new l.a((t=a()(o.a.mark(function e(t){return o.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(r.unLoadChat(),i)return e.next=4,r.setupChat(i);e.next=4;break;case 4:t();case 5:case"end":return e.stop()}},e,r)})),function(e){return t.apply(this,arguments)}))}},{key:"updateAssistantData",value:function(e,t){return e.settingId&&t&&t.assistantSlug&&(e.assistantId=t.assistantId,e.assistantSlug=t.assistantSlug,e.locale=t.locale),e}},{key:"setAssistantUrl",value:function(e,t){return e?e.replace(/\/$/,""):("https://"+(g.a.REGEX_HOST.STAGING.test(t)?g.a.HOST.STAGING:g.a.HOST.PRODUCTION)).replace(/\/$/,"")}},{key:"formatData",value:function(e){var t=e.chatPath||"/chat";e.assistantUrl=this.setAssistantUrl(e.assistantUrl,window.location.href),e.chatPath=t.replace(/^\//,""),e.chatUrl=e.assistantUrl+"/"+e.chatPath,e.locale=e.locale||"fr_FR",e.isAdmin=!!e.isAdmin,e.isStartBtn=!!e.isStartBtn,e.isDemo=!!e.isDemo,e.location=encodeURIComponent(window.location.href),e.hasOwnProperty("shouldBeOpened")&&(e.shouldBeOpened=!!e.shouldBeOpened);var i=this.getUrlParam(g.a.YELDA_PARAMETER,null);return i&&""!==i&&(e[g.a.YELDA_PARAMETER]=i),e.hasOwnProperty("canBeClosed")&&(e.canBeClosed=!!e.canBeClosed),this.parentContainer=document.body,this.bubbleContainer=null,this.bubbleContainerClone=null,e.bubbleContainerChildId&&document.getElementById(e.bubbleContainerChildId)&&(this.bubbleContainer=document.getElementById(e.bubbleContainerChildId).parentElement,this.bubbleContainer&&(this.bubbleContainerClone=document.getElementById(e.bubbleContainerChildId).parentElement.cloneNode(!0))),e.parentContainerId&&document.getElementById(e.parentContainerId)&&(this.parentContainer=document.getElementById(e.parentContainerId),e.canBeClosed=e.hasOwnProperty("canBeClosed")?e.canBeClosed:g.a.CAN_BE_CLOSED_WITH_PARENT_ID),e}},{key:"isStyleSheetLoaded",value:function(){var e=document.styleSheets,t=!1;if(void 0!==e&&e.length)e:for(var i=0;i<e.length;i++){var r=document.styleSheets[i];try{var o=r.cssRules;if(void 0!==o)for(var n=0;n<o.length;n++)if(void 0!==o[n].selectorText&&".yelda_assistant_img"===o[n].selectorText){t=!0;break e}}catch(e){continue}}return t}},{key:"getAssistantSettingsUrl",value:function(e){return e.settingId?e.assistantUrl+"/assistants/settings/"+e.settingId+"/chatBubble":e.assistantUrl+"/assistants/"+e.assistantId+"/chatBubble/"+e.locale}},{key:"getAssistantSettings",value:function(o){var n=this;return new l.a(function(t,i){try{var r=new XMLHttpRequest,e=n.getAssistantSettingsUrl(o);r.open("GET",e),r.send(),r.onreadystatechange=function(){if(4===r.readyState){var e=r.responseText?JSON.parse(r.responseText).data:null;t(e)}}}catch(e){i()}})}},{key:"setupChat",value:function(i){var t,r=this;return new l.a((t=a()(o.a.mark(function e(t){return o.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(document.getElementById("yelda_container")||document.getElementById("yelda_iframe_container"))return e.abrupt("return",t());e.next=2;break;case 2:if(r.webChatContainer=null,r.iframeContainer=null,r.webChatIframe=null,r.webchatSettings=null,void 0!==(i=r.formatData(i)).settingId||void 0!==i.assistantId&&void 0!==i.assistantSlug){e.next=9;break}return e.abrupt("return",t());case 9:return r.assistantId=i.assistantId,r.locale=i.locale,r.settingId=i.settingId,e.prev=12,e.next=15,r.getAssistantSettings(i);case 15:r.webchatSettings=e.sent,i=r.updateAssistantData(i,r.webchatSettings),e.next=22;break;case 19:e.prev=19,e.t0=e.catch(12),r.webchatSettings=null;case 22:return r.listenLeaveViewport(!0),r.listenUrlUpdate(!0),r.loadChat(i),r.configurationData=i,e.abrupt("return",t());case 27:case"end":return e.stop()}},e,r,[[12,19]])})),function(e){return t.apply(this,arguments)}))}},{key:"shouldChatBeLoaded",value:function(e,t){if(t&&t.bubbleContainerChildId&&(!document.getElementById(t.bubbleContainerChildId)||!document.getElementById(t.bubbleContainerChildId).parentElement))return!1;if(!e)return!0;var i=window.location.hostname;return!!g.a.ALWAYS_ALLOWED_SITES_REGEX.test(i)||!(e.hasOwnProperty("isActivated")&&!e.isActivated)}},{key:"isDataOutdated",value:function(e,t){var i=t.settingId,r=t.assistantId,o=t.locale;return!(!e.settingId||e.settingId===i)||!(e.settingId||e.assistantId===r&&e.locale===o)}},{key:"loadChat",value:function(e){if(!this.isDataOutdated(e,this))if(this.shouldChatBeLoaded(this.webchatSettings,e)){if(this.isStyleSheetLoaded()||this.loadCssAsync(),!document.body||!this.parentContainer)return console.warn("document.body is not ready, please use yelda.init instead of yelda.setupChat or move the code in the page body"),null;this.createContainer(),this.setUpChatIFrame(e),e.hasOwnProperty("canBeClosed")&&!e.canBeClosed||this.addAssistantImage(),this.toggleFrameListener()}else this.unLoadChat()}},{key:"unLoadChat",value:function(){this.toggleFrameListener(!0),this.assistantImage&&(this.bubbleContainer?(this.assistantImage.removeAttribute("id","yelda_assistant_img"),this.assistantImage.removeAttribute("class","yelda_assistant_img default"),this.assistantImage.removeEventListener("click",this.openChat.bind(this)),this.assistantImage.replaceWith(this.bubbleContainerClone)):this.removeElement("yelda_assistant_img")),this.assistantBubbleText&&this.removeElement("yelda_assistant_bubble_text"),this.iframeContainer&&this.removeElement("yelda_iframe_container"),this.webChatContainer&&this.removeElement("yelda_container"),this.assistantBubbleText=null,this.bubbleContainerClone=null,this.bubbleContainer=null,this.assistantImage=null,this.iframeContainer=null,this.webChatIframe=null,this.webChatContainer=null,this.parentContainer=null,this.webchatSettings=null}},{key:"removeElement",value:function(e){document.getElementById(e)&&document.getElementById(e).remove()}},{key:"init",value:function(i){var t,r=this;return new l.a((t=a()(o.a.mark(function e(t){return o.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(void 0!==i.settingId||void 0!==i.assistantId&&void 0!==i.assistantSlug){e.next=2;break}return e.abrupt("return",t());case 2:if("complete"===document.readyState)return e.next=5,r.setupChat(i);e.next=6;break;case 5:return e.abrupt("return",t());case 6:window.onload=a()(o.a.mark(function e(){return o.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,r.setupChat(i);case 2:return e.abrupt("return",t());case 3:case"end":return e.stop()}},e,r)}));case 7:case"end":return e.stop()}},e,r)})),function(e){return t.apply(this,arguments)}))}},{key:"sendMessageToChat",value:function(e){var t=document.getElementById("web_chat_frame");t&&(this.openChat(),t.contentWindow.postMessage({event:g.a.FRAME_EVENT_TYPES.SENT.SEND_USER_MESSAGE,data:e}))}},{key:"listenUrlUpdate",value:function(e){var t=this;if(0<arguments.length&&void 0!==e&&e&&this.urlObserver)return this.urlObserver.disconnect(),void(this.urlObserver=null);try{this.previousUrl="",this.urlObserver=new MutationObserver(function(){location.href!==t.previousUrl&&(t.previousUrl=location.href,t.urlUpdateListener())}),this.urlObserver.observe(document,{childList:!0,subtree:!0})}catch(e){console.warn("listenUrlUpdate error",e)}}},{key:"urlUpdateListener",value:function(){var e=document.getElementById("web_chat_frame");e&&e.contentWindow.postMessage({event:g.a.FRAME_EVENT_TYPES.SENT.URL_UPDATE,data:window.location.href},"*")}},{key:"listenLeaveViewport",value:function(e){var t=0<arguments.length&&void 0!==e&&e;if(null===new S.a(navigator.userAgent).mobile()){var i=window[t?"removeEventListener":"addEventListener"];this.viewportListenerBind||(this.viewportListenerBind=this.viewportListener.bind(this)),i("mouseout",this.viewportListenerBind)}}},{key:"viewportListener",value:function(e){e.toElement||e.relatedTarget||document.getElementById("web_chat_frame").contentWindow.postMessage({event:g.a.FRAME_EVENT_TYPES.SENT.LEAVE_VIEWPORT},"*")}}]),p);"undefined"!=typeof window&&(window.yeldaChat=v),t.default=v},"29s/":function(e,t,i){var r=i("WEpk"),o=i("5T2Y"),n="__core-js_shared__",a=o[n]||(o[n]={});(e.exports=function(e,t){return a[e]||(a[e]=void 0!==t?t:{})})("versions",[]).push({version:r.version,mode:i("uOPS")?"pure":"global",copyright:"© 2018 Denis Pushkarev (zloirock.ru)"})},"2GTP":function(e,t,i){var n=i("eaoh");e.exports=function(r,o,e){if(n(r),void 0===o)return r;switch(e){case 1:return function(e){return r.call(o,e)};case 2:return function(e,t){return r.call(o,e,t)};case 3:return function(e,t,i){return r.call(o,e,t,i)}}return function(){return r.apply(o,arguments)}}},"2faE":function(e,t,i){var r=i("5K7Z"),o=i("eUtF"),n=i("G8Mo"),a=Object.defineProperty;t.f=i("jmDH")?Object.defineProperty:function(e,t,i){if(r(e),t=n(t,!0),r(i),o)try{return a(e,t,i)}catch(e){}if("get"in i||"set"in i)throw TypeError("Accessors not supported!");return"value"in i&&(e[t]=i.value),e}},"4d7F":function(e,t,i){e.exports={default:i("aW7e"),__esModule:!0}},"5K7Z":function(e,t,i){var r=i("93I4");e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},"5T2Y":function(e,t){var i=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=i)},"5vGx":function(e,t,i){e.exports=function o(n,a,s){function l(i,e){if(!a[i]){if(!n[i]){if(u)return u(i,!0);var t=new Error("Cannot find module '"+i+"'");throw t.code="MODULE_NOT_FOUND",t}var r=a[i]={exports:{}};n[i][0].call(r.exports,function(e){var t=n[i][1][e];return l(t||e)},r,r.exports,o,n,a,s)}return a[i].exports}for(var u=!1,e=0;e<s.length;e++)l(s[e]);return l}({1:[function(e,t,i){!function(e,t){if(0,void 0!==i)t();else{t(),e.lgVideo={}}}(this,function(){"use strict";var t=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&(e[r]=i[r])}return e},i={videoMaxWidth:"855px",youtubePlayerParams:!1,vimeoPlayerParams:!1,dailymotionPlayerParams:!1,vkPlayerParams:!1,videojs:!1,videojsOptions:{}},e=function(e){return this.el=e,this.core=window.lgData[this.el.getAttribute("lg-uid")],this.core.s=t({},i,this.core.s),this.videoLoaded=!1,this.init(),this};e.prototype.init=function(){var u=this;utils.on(u.core.el,"hasVideo.lgtm",function(e){if(u.core.___slide[e.detail.index].querySelector(".lg-video").insertAdjacentHTML("beforeend",u.loadVideo(e.detail.src,"lg-object",!0,e.detail.index,e.detail.html)),e.detail.html)if(u.core.s.videojs)try{videojs(u.core.___slide[e.detail.index].querySelector(".lg-html5"),u.core.s.videojsOptions,function(){u.videoLoaded||this.play()})}catch(e){console.error("Make sure you have included videojs")}else u.core.___slide[e.detail.index].querySelector(".lg-html5").play()}),utils.on(u.core.el,"onAferAppendSlide.lgtm",function(e){u.core.___slide[e.detail.index].querySelector(".lg-video-cont")&&(u.core.___slide[e.detail.index].querySelector(".lg-video-cont").style.maxWidth=u.core.s.videoMaxWidth,u.videoLoaded=!0)});var t=function(i){if(utils.hasClass(i.querySelector(".lg-object"),"lg-has-poster")&&"none"!==i.querySelector(".lg-object").style.display)if(utils.hasClass(i,"lg-has-video")){var e=i.querySelector(".lg-youtube"),t=i.querySelector(".lg-vimeo"),r=i.querySelector(".lg-dailymotion"),o=i.querySelector(".lg-html5");if(e)e.contentWindow.postMessage('{"event":"command","func":"playVideo","args":""}',"*");else if(t)try{$f(t).api("play")}catch(e){console.error("Make sure you have included froogaloop2 js")}else if(r)r.contentWindow.postMessage("play","*");else if(o)if(u.core.s.videojs)try{videojs(o).play()}catch(e){console.error("Make sure you have included videojs")}else o.play();utils.addClass(i,"lg-video-playing")}else{var n,a;utils.addClass(i,"lg-video-playing"),utils.addClass(i,"lg-has-video");var s=function(e,t){if(i.querySelector(".lg-video").insertAdjacentHTML("beforeend",u.loadVideo(e,"",!1,u.core.index,t)),t)if(u.core.s.videojs)try{videojs(u.core.___slide[u.core.index].querySelector(".lg-html5"),u.core.s.videojsOptions,function(){this.play()})}catch(e){console.error("Make sure you have included videojs")}else u.core.___slide[u.core.index].querySelector(".lg-html5").play()};a=u.core.s.dynamic?(n=u.core.s.dynamicEl[u.core.index].src,u.core.s.dynamicEl[u.core.index].html):(n=u.core.items[u.core.index].getAttribute("href")||u.core.items[u.core.index].getAttribute("data-src"),u.core.items[u.core.index].getAttribute("data-html")),s(n,a);var l=i.querySelector(".lg-object");i.querySelector(".lg-video").appendChild(l),utils.hasClass(i.querySelector(".lg-video-object"),"lg-html5")||(utils.removeClass(i,"lg-complete"),utils.on(i.querySelector(".lg-video-object"),"load.lg error.lg",function(){utils.addClass(i,"lg-complete")}))}};if(u.core.doCss()&&1<u.core.items.length&&(u.core.s.enableSwipe&&u.core.isTouch||u.core.s.enableDrag&&!u.core.isTouch))utils.on(u.core.el,"onSlideClick.lgtm",function(){var e=u.core.___slide[u.core.index];t(e)});else for(var e=0;e<u.core.___slide.length;e++)!function(e){utils.on(u.core.___slide[e],"click.lg",function(){t(u.core.___slide[e])})}(e);utils.on(u.core.el,"onBeforeSlide.lgtm",function(e){var t,i=u.core.___slide[e.detail.prevIndex],r=i.querySelector(".lg-youtube"),o=i.querySelector(".lg-vimeo"),n=i.querySelector(".lg-dailymotion"),a=i.querySelector(".lg-vk"),s=i.querySelector(".lg-html5");if(r)r.contentWindow.postMessage('{"event":"command","func":"pauseVideo","args":""}',"*");else if(o)try{$f(o).api("pause")}catch(e){console.error("Make sure you have included froogaloop2 js")}else if(n)n.contentWindow.postMessage("pause","*");else if(s)if(u.core.s.videojs)try{videojs(s).pause()}catch(e){console.error("Make sure you have included videojs")}else s.pause();a&&a.setAttribute("src",a.getAttribute("src").replace("&autoplay","&noplay")),t=u.core.s.dynamic?u.core.s.dynamicEl[e.detail.index].src:u.core.items[e.detail.index].getAttribute("href")||u.core.items[e.detail.index].getAttribute("data-src");var l=u.core.isVideo(t,e.detail.index)||{};(l.youtube||l.vimeo||l.dailymotion||l.vk)&&utils.addClass(u.core.outer,"lg-hide-download")}),utils.on(u.core.el,"onAfterSlide.lgtm",function(e){utils.removeClass(u.core.___slide[e.detail.prevIndex],"lg-video-playing")})},e.prototype.loadVideo=function(e,t,i,r,o){var n,a="",s=1,l="",u=this.core.isVideo(e,r)||{};if(i&&(s=this.videoLoaded?0:1),this.core.s.dynamic)n=this.core.s.dynamicEl[r].title;else{n=this.core.items[r].getAttribute("title");var c=this.core.items[r].querySelector("img");c&&(n=n||c.getAttribute("alt"))}if(n=n?'title="'+n+'"':"",u.youtube)l="?wmode=opaque&autoplay="+s+"&enablejsapi=1",this.core.s.youtubePlayerParams&&(l=l+"&"+utils.param(this.core.s.youtubePlayerParams)),a='<iframe class="lg-video-object lg-youtube '+t+'" '+n+' width="560" height="315" src="//www.youtube.com/embed/'+u.youtube[1]+l+'" frameborder="0" allowfullscreen></iframe>';else if(u.vimeo)l="?autoplay="+s+"&api=1",this.core.s.vimeoPlayerParams&&(l=l+"&"+utils.param(this.core.s.vimeoPlayerParams)),a='<iframe class="lg-video-object lg-vimeo '+t+'" '+n+' width="560" height="315" src="//player.vimeo.com/video/'+u.vimeo[1]+l+'" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe>';else if(u.dailymotion)l="?wmode=opaque&autoplay="+s+"&api=postMessage",this.core.s.dailymotionPlayerParams&&(l=l+"&"+utils.param(this.core.s.dailymotionPlayerParams)),a='<iframe class="lg-video-object lg-dailymotion '+t+'" '+n+' width="560" height="315" src="//www.dailymotion.com/embed/video/'+u.dailymotion[1]+l+'" frameborder="0" allowfullscreen></iframe>';else if(u.html5){var d=o.substring(0,1);"."!==d&&"#"!==d||(o=document.querySelector(o).innerHTML),a=o}else u.vk&&(l="&autoplay="+s,this.core.s.vkPlayerParams&&(l=l+"&"+utils.param(this.core.s.vkPlayerParams)),a='<iframe class="lg-video-object lg-vk '+t+'" '+n+' width="560" height="315" src="http://vk.com/video_ext.php?'+u.vk[1]+l+'" frameborder="0" allowfullscreen></iframe>');return a},e.prototype.destroy=function(){this.videoLoaded=!1},window.lgModules.video=e})},{}]},{},[1])(1)},"5vMV":function(e,t,i){var a=i("B+OT"),s=i("NsO/"),l=i("W070")(!1),u=i("VVlx")("IE_PROTO");e.exports=function(e,t){var i,r=s(e),o=0,n=[];for(i in r)i!=u&&a(r,i)&&n.push(i);for(;t.length>o;)a(r,i=t[o++])&&(~l(n,i)||n.push(i));return n}},"8SHQ":function(e,t){e.exports={CAN_BE_CLOSED_WITH_PARENT_ID:!1,YELDA_PARAMETER:"yparam",DEFAULT_PUBLICATION_STATUS:!0,ALWAYS_ALLOWED_SITES_REGEX:/^([a-z-]*.yelda.ai|localhost|0.0.0.0|127.0.0.1)$/,REGEX_HOST:{STAGING:/staging.yelda.ai/},HOST:{PRODUCTION:"app.yelda.ai",STAGING:"staging.yelda.ai"},FRAME_EVENT_TYPES:{SENT:{OPEN_CHAT:"openChat",LEAVE_VIEWPORT:"leaveViewPort",SEND_USER_MESSAGE:"sendUserMessage",URL_UPDATE:"urlUpdate"},RECEIVED:{OPEN_CHAT:"openChat",CLOSE_CHAT:"closeChat",ABSTAIN_LEAVE_VIEWPORT:"abstainLeaveViewport",OPEN_LIGHT_GALLERY:"openLightGallery",IS_SENDING_MESSAGE:"isSendingMessage",LISTEN_LEAVE_VIEWPORT:"listenLeaveViewport",LISTEN_URL_UPDATE:"listenUrlUpdate",ABSTAIN_URL_UPDATE:"abstainUrlUpdate",ADD_BUBBLE_TEXT:"addBubbleText",ADD_MINIMAL_NOTIFICATION_TEXT:"addMinimalNotificationText"}}}},"8gHz":function(e,t,i){var o=i("5K7Z"),n=i("eaoh"),a=i("UWiX")("species");e.exports=function(e,t){var i,r=o(e).constructor;return void 0===r||null==(i=o(r)[a])?t:n(i)}},"93I4":function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},"B+OT":function(e,t){var i={}.hasOwnProperty;e.exports=function(e,t){return i.call(e,t)}},B9Yq:function(e,t){e.exports=function(){throw new Error("define cannot be used indirect")}},D3Ub:function(e,t,i){"use strict";t.__esModule=!0;var r,o=i("4d7F"),l=(r=o)&&r.__esModule?r:{default:r};t.default=function(e){return function(){var s=e.apply(this,arguments);return new l.default(function(n,a){return function t(e,i){try{var r=s[e](i),o=r.value}catch(e){return void a(e)}if(!r.done)return l.default.resolve(o).then(function(e){t("next",e)},function(e){t("throw",e)});n(o)}("next")})}}},D8kY:function(e,t,i){var r=i("Ojgd"),o=Math.max,n=Math.min;e.exports=function(e,t){return(e=r(e))<0?o(e+t,0):n(e,t)}},EXMj:function(e,t){e.exports=function(e,t,i,r){if(!(e instanceof t)||void 0!==r&&r in e)throw TypeError(i+": incorrect invocation!");return e}},FlQf:function(e,t,i){"use strict";var r=i("ccE7")(!0);i("MPFp")(String,"String",function(e){this._t=String(e),this._i=0},function(){var e,t=this._t,i=this._i;return i>=t.length?{value:void 0,done:!0}:(e=r(t,i),this._i+=e.length,{value:e,done:!1})})},FpHa:function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},G8Mo:function(e,t,i){var o=i("93I4");e.exports=function(e,t){if(!o(e))return e;var i,r;if(t&&"function"==typeof(i=e.toString)&&!o(r=i.call(e)))return r;if("function"==typeof(i=e.valueOf)&&!o(r=i.call(e)))return r;if(!t&&"function"==typeof(i=e.toString)&&!o(r=i.call(e)))return r;throw TypeError("Can't convert object to primitive value")}},Hsns:function(e,t,i){var r=i("93I4"),o=i("5T2Y").document,n=r(o)&&r(o.createElement);e.exports=function(e){return n?o.createElement(e):{}}},JB68:function(e,t,i){var r=i("Jes0");e.exports=function(e){return Object(r(e))}},"JMW+":function(e,t,i){"use strict";function r(){}function d(e){var t;return!(!S(e)||"function"!=typeof(t=e.then))&&t}function o(c,i){if(!c._n){c._n=!0;var r=c._c;P(function(){for(var l=c._v,u=1==c._s,e=0,t=function(e){var t,i,r,o=u?e.ok:e.fail,n=e.resolve,a=e.reject,s=e.domain;try{o?(u||(2==c._h&&N(c),c._h=1),!0===o?t=l:(s&&s.enter(),t=o(l),s&&(s.exit(),r=!0)),t===e.promise?a(B("Promise-chain cycle")):(i=d(t))?i.call(t,n,a):n(t)):a(l)}catch(e){s&&!r&&s.exit(),a(e)}};r.length>e;)t(r[e++]);c._c=[],c._n=!1,i&&!c._h&&O(c)})}}function n(e){var t=this;t._d||(t._d=!0,(t=t._w||t)._v=e,t._s=2,t._a||(t._a=t._c.slice()),o(t,!0))}var a,s,l,u,c=i("uOPS"),T=i("5T2Y"),f=i("2GTP"),h=i("QMMT"),b=i("Y7ZC"),S=i("93I4"),m=i("eaoh"),g=i("EXMj"),p=i("oioR"),v=i("8gHz"),A=i("QXhf").set,P=i("q6LJ")(),y=i("ZW5q"),M=i("RDmV"),C=i("vBP9"),E=i("zXhZ"),G="Promise",B=T.TypeError,w=T.process,_=w&&w.versions,H=_&&_.v8||"",I=T[G],x="process"==h(w),D=s=y.f,L=!!function(){try{var e=I.resolve(1),t=(e.constructor={})[i("UWiX")("species")]=function(e){e(r,r)};return(x||"function"==typeof PromiseRejectionEvent)&&e.then(r)instanceof t&&0!==H.indexOf("6.6")&&-1===C.indexOf("Chrome/66")}catch(e){}}(),O=function(n){A.call(T,function(){var e,t,i,r=n._v,o=V(n);if(o&&(e=M(function(){x?w.emit("unhandledRejection",r,n):(t=T.onunhandledrejection)?t({promise:n,reason:r}):(i=T.console)&&i.error&&i.error("Unhandled promise rejection",r)}),n._h=x||V(n)?2:1),n._a=void 0,o&&e.e)throw e.v})},V=function(e){return 1!==e._h&&0===(e._a||e._c).length},N=function(t){A.call(T,function(){var e;x?w.emit("rejectionHandled",t):(e=T.onrejectionhandled)&&e({promise:t,reason:t._v})})},k=function(e){var i,r=this;if(!r._d){r._d=!0,r=r._w||r;try{if(r===e)throw B("Promise can't be resolved itself");(i=d(e))?P(function(){var t={_w:r,_d:!1};try{i.call(e,f(k,t,1),f(n,t,1))}catch(e){n.call(t,e)}}):(r._v=e,r._s=1,o(r,!1))}catch(e){n.call({_w:r,_d:!1},e)}}};L||(I=function(e){g(this,I,G,"_h"),m(e),a.call(this);try{e(f(k,this,1),f(n,this,1))}catch(e){n.call(this,e)}},(a=function(){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=i("XJU/")(I.prototype,{then:function(e,t){var i=D(v(this,I));return i.ok="function"!=typeof e||e,i.fail="function"==typeof t&&t,i.domain=x?w.domain:void 0,this._c.push(i),this._a&&this._a.push(i),this._s&&o(this,!1),i.promise},catch:function(e){return this.then(void 0,e)}}),l=function(){var e=new a;this.promise=e,this.resolve=f(k,e,1),this.reject=f(n,e,1)},y.f=D=function(e){return e===I||e===u?new l(e):s(e)}),b(b.G+b.W+b.F*!L,{Promise:I}),i("RfKB")(I,G),i("TJWN")(G),u=i("WEpk")[G],b(b.S+b.F*!L,G,{reject:function(e){var t=D(this);return(0,t.reject)(e),t.promise}}),b(b.S+b.F*(c||!L),G,{resolve:function(e){return E(c&&this===u?I:this,e)}}),b(b.S+b.F*!(L&&i("TuGD")(function(e){I.all(e).catch(r)})),G,{all:function(e){var a=this,t=D(a),s=t.resolve,l=t.reject,i=M(function(){var r=[],o=0,n=1;p(e,!1,function(e){var t=o++,i=!1;r.push(void 0),n++,a.resolve(e).then(function(e){i||(i=!0,r[t]=e,--n||s(r))},l)}),--n||s(r)});return i.e&&l(i.v),t.promise},race:function(e){var t=this,i=D(t),r=i.reject,o=M(function(){p(e,!1,function(e){t.resolve(e).then(i.resolve,r)})});return o.e&&r(o.v),i.promise}})},Jes0:function(e,t){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},KUxP:function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},M1xp:function(e,t,i){var r=i("a0xu");e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},MCSJ:function(e,t){e.exports=function(e,t,i){var r=void 0===i;switch(t.length){case 0:return r?e():e.call(i);case 1:return r?e(t[0]):e.call(i,t[0]);case 2:return r?e(t[0],t[1]):e.call(i,t[0],t[1]);case 3:return r?e(t[0],t[1],t[2]):e.call(i,t[0],t[1],t[2]);case 4:return r?e(t[0],t[1],t[2],t[3]):e.call(i,t[0],t[1],t[2],t[3])}return e.apply(i,t)}},MPFp:function(e,t,i){"use strict";function p(){return this}var v=i("uOPS"),A=i("Y7ZC"),P=i("kTiW"),y=i("NegM"),M=i("SBuE"),C=i("j2DC"),E=i("RfKB"),G=i("U+KD"),B=i("UWiX")("iterator"),w=!([].keys&&"next"in[].keys()),_="values";e.exports=function(e,t,i,r,o,n,a){C(i,t,r);function s(e){if(!w&&e in h)return h[e];switch(e){case"keys":case _:return function(){return new i(this,e)}}return function(){return new i(this,e)}}var l,u,c,d=t+" Iterator",T=o==_,f=!1,h=e.prototype,b=h[B]||h["@@iterator"]||o&&h[o],S=b||s(o),m=o?T?s("entries"):S:void 0,g="Array"==t&&h.entries||b;if(g&&(c=G(g.call(new e)))!==Object.prototype&&c.next&&(E(c,d,!0),v||"function"==typeof c[B]||y(c,B,p)),T&&b&&b.name!==_&&(f=!0,S=function(){return b.call(this)}),v&&!a||!w&&!f&&h[B]||y(h,B,S),M[t]=S,M[d]=p,o)if(l={values:T?S:s(_),keys:n?S:s("keys"),entries:m},a)for(u in l)u in h||P(h,u,l[u]);else A(A.P+A.F*(w||f),t,l);return l}},MvwC:function(e,t,i){var r=i("5T2Y").document;e.exports=r&&r.documentElement},NV0k:function(e,t){t.f={}.propertyIsEnumerable},NegM:function(e,t,i){var r=i("2faE"),o=i("rr1i");e.exports=i("jmDH")?function(e,t,i){return r.f(e,t,o(1,i))}:function(e,t,i){return e[t]=i,e}},"NsO/":function(e,t,i){var r=i("M1xp"),o=i("Jes0");e.exports=function(e){return r(o(e))}},NwJ3:function(e,t,i){var r=i("SBuE"),o=i("UWiX")("iterator"),n=Array.prototype;e.exports=function(e){return void 0!==e&&(r.Array===e||n[o]===e)}},Ojgd:function(e,t){var i=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(0<e?r:i)(e)}},P2sY:function(e,t,i){e.exports={default:i("UbbE"),__esModule:!0}},PBE1:function(e,t,i){"use strict";var r=i("Y7ZC"),o=i("WEpk"),n=i("5T2Y"),a=i("8gHz"),s=i("zXhZ");r(r.P+r.R,"Promise",{finally:function(t){var i=a(this,o.Promise||n.Promise),e="function"==typeof t;return this.then(e?function(e){return s(i,t()).then(function(){return e})}:t,e?function(e){return s(i,t()).then(function(){throw e})}:t)}})},"Q/yX":function(e,t,i){"use strict";var r=i("Y7ZC"),o=i("ZW5q"),n=i("RDmV");r(r.S,"Promise",{try:function(e){var t=o.f(this),i=n(e);return(i.e?t.reject:t.resolve)(i.v),t.promise}})},QMMT:function(e,t,i){var o=i("a0xu"),n=i("UWiX")("toStringTag"),a="Arguments"==o(function(){return arguments}());e.exports=function(e){var t,i,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(i=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),n))?i:a?o(t):"Object"==(r=o(t))&&"function"==typeof t.callee?"Arguments":r}},QXhf:function(e,t,i){function r(){var e=+this;if(p.hasOwnProperty(e)){var t=p[e];delete p[e],t()}}function o(e){r.call(e.data)}var n,a,s,l=i("2GTP"),u=i("MCSJ"),c=i("MvwC"),d=i("Hsns"),T=i("5T2Y"),f=T.process,h=T.setImmediate,b=T.clearImmediate,S=T.MessageChannel,m=T.Dispatch,g=0,p={},v="onreadystatechange";h&&b||(h=function(e){for(var t=[],i=1;i<arguments.length;)t.push(arguments[i++]);return p[++g]=function(){u("function"==typeof e?e:Function(e),t)},n(g),g},b=function(e){delete p[e]},"process"==i("a0xu")(f)?n=function(e){f.nextTick(l(r,e,1))}:m&&m.now?n=function(e){m.now(l(r,e,1))}:S?(s=(a=new S).port2,a.port1.onmessage=o,n=l(s.postMessage,s,1)):T.addEventListener&&"function"==typeof postMessage&&!T.importScripts?(n=function(e){T.postMessage(e+"","*")},T.addEventListener("message",o,!1)):n=v in d("script")?function(e){c.appendChild(d("script"))[v]=function(){c.removeChild(this),r.call(e)}}:function(e){setTimeout(l(r,e,1),0)}),e.exports={set:h,clear:b}},QbLZ:function(e,t,i){"use strict";t.__esModule=!0;var r,o=i("P2sY"),n=(r=o)&&r.__esModule?r:{default:r};t.default=n.default||function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&(e[r]=i[r])}return e}},RDmV:function(e,t){e.exports=function(e){try{return{e:!1,v:e()}}catch(e){return{e:!0,v:e}}}},"RU/L":function(e,t,i){i("Rqdy");var r=i("WEpk").Object;e.exports=function(e,t,i){return r.defineProperty(e,t,i)}},RfKB:function(e,t,i){var r=i("2faE").f,o=i("B+OT"),n=i("UWiX")("toStringTag");e.exports=function(e,t,i){e&&!o(e=i?e:e.prototype,n)&&r(e,n,{configurable:!0,value:t})}},RolN:function(e,t,i){var r,o,n;o=[i("x8jq")],void 0===(n="function"==typeof(r=function(e){"use strict";var g=t(e);function t(e){return e&&e.__esModule?e:{default:e}}var i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var r in i){if(Object.prototype.hasOwnProperty.call(i,r)){e[r]=i[r]}}}return e};(function(){if(typeof window.CustomEvent==="function"){return false}function e(e,t){t=t||{bubbles:false,cancelable:false,detail:undefined};var i=document.createEvent("CustomEvent");i.initCustomEvent(e,t.bubbles,t.cancelable,t.detail);return i}e.prototype=window.Event.prototype;window.CustomEvent=e})(),window.utils=g.default,window.lgData={uid:0},window.lgModules={};var r={mode:"lg-slide",cssEasing:"ease",easing:"linear",speed:600,height:"100%",width:"100%",addClass:"",startClass:"lg-start-zoom",backdropDuration:150,hideBarsDelay:6e3,useLeft:false,ariaLabelledby:"",ariaDescribedby:"",closable:true,loop:true,escKey:true,keyPress:true,controls:true,slideEndAnimatoin:true,hideControlOnEnd:false,mousewheel:false,getCaptionFromTitleOrAlt:true,appendSubHtmlTo:".lg-sub-html",subHtmlSelectorRelative:false,preload:1,showAfterLoad:true,selector:"",selectWithin:"",nextHtml:"",prevHtml:"",index:false,iframeMaxWidth:"100%",download:true,counter:true,appendCounterTo:".lg-toolbar",swipeThreshold:50,enableSwipe:true,enableDrag:true,dynamic:false,dynamicEl:[],galleryId:1};function o(e,t){this.el=e;this.s=i({},r,t);if(this.s.dynamic&&this.s.dynamicEl!=="undefined"&&this.s.dynamicEl.constructor===Array&&!this.s.dynamicEl.length){throw"When using dynamic mode, you must also define dynamicEl as an Array."}this.modules={};this.lGalleryOn=false;this.lgBusy=false;this.hideBartimeout=false;this.isTouch="ontouchstart"in document.documentElement;if(this.s.slideEndAnimatoin){this.s.hideControlOnEnd=false}this.items=[];if(this.s.dynamic){this.items=this.s.dynamicEl}else{if(this.s.selector==="this"){this.items.push(this.el)}else if(this.s.selector!==""){if(this.s.selectWithin){this.items=document.querySelector(this.s.selectWithin).querySelectorAll(this.s.selector)}else{this.items=this.el.querySelectorAll(this.s.selector)}}else{this.items=this.el.children}}this.___slide="";this.outer="";this.init();return this}o.prototype.init=function(){var i=this;if(i.s.preload>i.items.length){i.s.preload=i.items.length}var e=window.location.hash;if(e.indexOf("lg="+this.s.galleryId)>0){i.index=parseInt(e.split("&slide=")[1],10);g.default.addClass(document.body,"lg-from-hash");if(!g.default.hasClass(document.body,"lg-on")){g.default.addClass(document.body,"lg-on");setTimeout(function(){i.build(i.index)})}}if(i.s.dynamic){g.default.trigger(this.el,"onBeforeOpen");i.index=i.s.index||0;if(!g.default.hasClass(document.body,"lg-on")){g.default.addClass(document.body,"lg-on");setTimeout(function(){i.build(i.index)})}}else{for(var t=0;t<i.items.length;t++){(function(t){g.default.on(i.items[t],"click.lgcustom",function(e){e.preventDefault();g.default.trigger(i.el,"onBeforeOpen");i.index=i.s.index||t;if(!g.default.hasClass(document.body,"lg-on")){i.build(i.index);g.default.addClass(document.body,"lg-on")}})})(t)}}},o.prototype.build=function(e){var t=this;t.structure();for(var i in window.lgModules){t.modules[i]=new window.lgModules[i](t.el)}t.slide(e,false,false);if(t.s.keyPress){t.keyPress()}if(t.items.length>1){t.arrow();setTimeout(function(){t.enableDrag();t.enableSwipe()},50);if(t.s.mousewheel){t.mousewheel()}}t.counter();t.closeGallery();g.default.trigger(t.el,"onAfterOpen");g.default.on(t.outer,"mousemove.lg click.lg touchstart.lg",function(){g.default.removeClass(t.outer,"lg-hide-items");clearTimeout(t.hideBartimeout);t.hideBartimeout=setTimeout(function(){g.default.addClass(t.outer,"lg-hide-items")},t.s.hideBarsDelay)})},o.prototype.structure=function(){var e="";var t="";var i=0;var r="";var o;var n=this;document.body.insertAdjacentHTML("beforeend",'<div class="lg-backdrop"></div>');g.default.setVendor(document.querySelector(".lg-backdrop"),"TransitionDuration",this.s.backdropDuration+"ms");for(i=0;i<this.items.length;i++){e+='<div class="lg-item"></div>'}if(this.s.controls&&this.items.length>1){t='<div class="lg-actions">'+'<button aria-label="Previous slide" class="lg-prev lg-icon">'+this.s.prevHtml+"</button>"+'<button aria-label="Next slide" class="lg-next lg-icon">'+this.s.nextHtml+"</button>"+"</div>"}if(this.s.appendSubHtmlTo===".lg-sub-html"){r='<div role="status" aria-live="polite" class="lg-sub-html"></div>'}var a=this.s.ariaLabelledby?'aria-labelledby="'+this.s.ariaLabelledby+'"':"";var s=this.s.ariaDescribedby?'aria-describedby="'+this.s.ariaDescribedby+'"':"";o='<div tabindex="-1" aria-modal="true" '+a+" "+s+' role="dialog" class="lg-outer '+this.s.addClass+" "+this.s.startClass+'">'+'<div class="lg" style="width:'+this.s.width+"; height:"+this.s.height+'">'+'<div class="lg-inner">'+e+"</div>"+'<div class="lg-toolbar group">'+'<button aria-label="Close gallery" class="lg-close lg-icon"></button>'+"</div>"+t+r+"</div>"+"</div>";document.body.insertAdjacentHTML("beforeend",o);this.outer=document.querySelector(".lg-outer");this.outer.focus();this.___slide=this.outer.querySelectorAll(".lg-item");if(this.s.useLeft){g.default.addClass(this.outer,"lg-use-left");this.s.mode="lg-slide"}else{g.default.addClass(this.outer,"lg-use-css3")}n.setTop();g.default.on(window,"resize.lg orientationchange.lg",function(){setTimeout(function(){n.setTop()},100)});g.default.addClass(this.___slide[this.index],"lg-current");if(this.doCss()){g.default.addClass(this.outer,"lg-css3")}else{g.default.addClass(this.outer,"lg-css");this.s.speed=0}g.default.addClass(this.outer,this.s.mode);if(this.s.enableDrag&&this.items.length>1){g.default.addClass(this.outer,"lg-grab")}if(this.s.showAfterLoad){g.default.addClass(this.outer,"lg-show-after-load")}if(this.doCss()){var l=this.outer.querySelector(".lg-inner");g.default.setVendor(l,"TransitionTimingFunction",this.s.cssEasing);g.default.setVendor(l,"TransitionDuration",this.s.speed+"ms")}setTimeout(function(){g.default.addClass(document.querySelector(".lg-backdrop"),"in")});setTimeout(function(){g.default.addClass(n.outer,"lg-visible")},this.s.backdropDuration);if(this.s.download){this.outer.querySelector(".lg-toolbar").insertAdjacentHTML("beforeend",'<a id="lg-download" aria-label="Download" target="_blank" download class="lg-download lg-icon"></a>')}this.prevScrollTop=document.documentElement.scrollTop||document.body.scrollTop},o.prototype.setTop=function(){if(this.s.height!=="100%"){var e=window.innerHeight;var t=(e-parseInt(this.s.height,10))/2;var i=this.outer.querySelector(".lg");if(e>=parseInt(this.s.height,10)){i.style.top=t+"px"}else{i.style.top="0px"}}},o.prototype.doCss=function(){var e=function e(){var t=["transition","MozTransition","WebkitTransition","OTransition","msTransition","KhtmlTransition"];var i=document.documentElement;var r=0;for(r=0;r<t.length;r++){if(t[r]in i.style){return true}}};if(e()){return true}return false},o.prototype.isVideo=function(e,t){var i;if(this.s.dynamic){i=this.s.dynamicEl[t].html}else{i=this.items[t].getAttribute("data-html")}if(!e&&i){return{html5:true}}var r=e.match(/\/\/(?:www\.)?youtu(?:\.be|be\.com|be-nocookie\.com)\/(?:watch\?v=|embed\/)?([a-z0-9\-\_\%]+)/i);var o=e.match(/\/\/(?:www\.)?vimeo.com\/([0-9a-z\-_]+)/i);var n=e.match(/\/\/(?:www\.)?dai.ly\/([0-9a-z\-_]+)/i);var a=e.match(/\/\/(?:www\.)?(?:vk\.com|vkontakte\.ru)\/(?:video_ext\.php\?)(.*)/i);if(r){return{youtube:r}}else if(o){return{vimeo:o}}else if(n){return{dailymotion:n}}else if(a){return{vk:a}}},o.prototype.counter=function(){if(this.s.counter){this.outer.querySelector(this.s.appendCounterTo).insertAdjacentHTML("beforeend",'<div id="lg-counter" role="status" aria-live="polite"><span id="lg-counter-current">'+(parseInt(this.index,10)+1)+'</span> / <span id="lg-counter-all">'+this.items.length+"</span></div>")}},o.prototype.addHtml=function(e){var t=null;var i;if(this.s.dynamic){t=this.s.dynamicEl[e].subHtml}else{i=this.items[e];t=i.getAttribute("data-sub-html");if(this.s.getCaptionFromTitleOrAlt&&!t){t=i.getAttribute("title");if(t&&i.querySelector("img")){t=i.querySelector("img").getAttribute("alt")}}}if(typeof t!=="undefined"&&t!==null){var r=t.substring(0,1);if(r==="."||r==="#"){if(this.s.subHtmlSelectorRelative&&!this.s.dynamic){t=i.querySelector(t).innerHTML}else{t=document.querySelector(t).innerHTML}}}else{t=""}if(this.s.appendSubHtmlTo===".lg-sub-html"){this.outer.querySelector(this.s.appendSubHtmlTo).innerHTML=t}else{this.___slide[e].insertAdjacentHTML("beforeend",t)}if(typeof t!=="undefined"&&t!==null){if(t===""){g.default.addClass(this.outer.querySelector(this.s.appendSubHtmlTo),"lg-empty-html")}else{g.default.removeClass(this.outer.querySelector(this.s.appendSubHtmlTo),"lg-empty-html")}}g.default.trigger(this.el,"onAfterAppendSubHtml",{index:e})},o.prototype.preload=function(e){var t=1;var i=1;for(t=1;t<=this.s.preload;t++){if(t>=this.items.length-e){break}this.loadContent(e+t,false,0)}for(i=1;i<=this.s.preload;i++){if(e-i<0){break}this.loadContent(e-i,false,0)}},o.prototype.loadContent=function(t,e,i){var r=this;var o=false;var n;var l;var a;var s;var u;var c;var d;var T=function e(t){var i=[];var r=[];for(var o=0;o<t.length;o++){var n=t[o].split(" ");if(n[0]===""){n.splice(0,1)}r.push(n[0]);i.push(n[1])}var a=window.innerWidth;for(var s=0;s<i.length;s++){if(parseInt(i[s],10)>a){l=r[s];break}}};if(r.s.dynamic){if(r.s.dynamicEl[t].poster){o=true;a=r.s.dynamicEl[t].poster}c=r.s.dynamicEl[t].html;l=r.s.dynamicEl[t].src;d=r.s.dynamicEl[t].alt;if(r.s.dynamicEl[t].responsive){var f=r.s.dynamicEl[t].responsive.split(",");T(f)}s=r.s.dynamicEl[t].srcset;u=r.s.dynamicEl[t].sizes}else{if(r.items[t].getAttribute("data-poster")){o=true;a=r.items[t].getAttribute("data-poster")}c=r.items[t].getAttribute("data-html");l=r.items[t].getAttribute("href")||r.items[t].getAttribute("data-src");d=r.items[t].getAttribute("title");if(r.items[t].querySelector("img")){d=d||r.items[t].querySelector("img").getAttribute("alt")}if(r.items[t].getAttribute("data-responsive")){var h=r.items[t].getAttribute("data-responsive").split(",");T(h)}s=r.items[t].getAttribute("data-srcset");u=r.items[t].getAttribute("data-sizes")}var b=false;if(r.s.dynamic){if(r.s.dynamicEl[t].iframe){b=true}}else{if(r.items[t].getAttribute("data-iframe")==="true"){b=true}}var S=r.isVideo(l,t);if(!g.default.hasClass(r.___slide[t],"lg-loaded")){if(b){r.___slide[t].insertAdjacentHTML("afterbegin",'<div class="lg-video-cont" style="max-width:'+r.s.iframeMaxWidth+'"><div class="lg-video"><iframe class="lg-object" frameborder="0" src="'+l+'" allowfullscreen="true"></iframe></div></div>')}else if(o){var m="";if(S&&S.youtube){m="lg-has-youtube"}else if(S&&S.vimeo){m="lg-has-vimeo"}else{m="lg-has-html5"}r.___slide[t].insertAdjacentHTML("beforeend",'<div class="lg-video-cont '+m+' "><div class="lg-video"><span class="lg-video-play"></span><img class="lg-object lg-has-poster" src="'+a+'" /></div></div>')}else if(S){r.___slide[t].insertAdjacentHTML("beforeend",'<div class="lg-video-cont "><div class="lg-video"></div></div>');g.default.trigger(r.el,"hasVideo",{index:t,src:l,html:c})}else{d=d?'alt="'+d+'"':"";r.___slide[t].insertAdjacentHTML("beforeend",'<div class="lg-img-wrap"><img class="lg-object lg-image" '+d+' src="'+l+'" /></div>')}g.default.trigger(r.el,"onAferAppendSlide",{index:t});n=r.___slide[t].querySelector(".lg-object");if(u){n.setAttribute("sizes",u)}if(s){n.setAttribute("srcset",s);try{picturefill({elements:[n[0]]})}catch(e){console.error("Make sure you have included Picturefill version 2")}}if(this.s.appendSubHtmlTo!==".lg-sub-html"){r.addHtml(t)}g.default.addClass(r.___slide[t],"lg-loaded")}g.default.on(r.___slide[t].querySelector(".lg-object"),"load.lg error.lg",function(){var e=0;if(i&&!g.default.hasClass(document.body,"lg-from-hash")){e=i}setTimeout(function(){g.default.addClass(r.___slide[t],"lg-complete");g.default.trigger(r.el,"onSlideItemLoad",{index:t,delay:i||0})},e)});if(S&&S.html5&&!o){g.default.addClass(r.___slide[t],"lg-complete")}if(e===true){if(!g.default.hasClass(r.___slide[t],"lg-complete")){g.default.on(r.___slide[t].querySelector(".lg-object"),"load.lg error.lg",function(){r.preload(t)})}else{r.preload(t)}}},o.prototype.slide=function(e,t,i){var r=0;for(var o=0;o<this.___slide.length;o++){if(g.default.hasClass(this.___slide[o],"lg-current")){r=o;break}}var n=this;if(n.lGalleryOn&&r===e){return}var a=this.___slide.length;var s=n.lGalleryOn?this.s.speed:0;var l=false;var u=false;if(!n.lgBusy){if(this.s.download){var c;if(n.s.dynamic){c=n.s.dynamicEl[e].downloadUrl!==false&&(n.s.dynamicEl[e].downloadUrl||n.s.dynamicEl[e].src)}else{c=n.items[e].getAttribute("data-download-url")!=="false"&&(n.items[e].getAttribute("data-download-url")||n.items[e].getAttribute("href")||n.items[e].getAttribute("data-src"))}if(c){document.getElementById("lg-download").setAttribute("href",c);g.default.removeClass(n.outer,"lg-hide-download")}else{g.default.addClass(n.outer,"lg-hide-download")}}g.default.trigger(n.el,"onBeforeSlide",{prevIndex:r,index:e,fromTouch:t,fromThumb:i});n.lgBusy=true;clearTimeout(n.hideBartimeout);if(this.s.appendSubHtmlTo===".lg-sub-html"){setTimeout(function(){n.addHtml(e)},s)}this.arrowDisable(e);if(!t){g.default.addClass(n.outer,"lg-no-trans");for(var d=0;d<this.___slide.length;d++){g.default.removeClass(this.___slide[d],"lg-prev-slide");g.default.removeClass(this.___slide[d],"lg-next-slide")}if(e<r){u=true;if(e===0&&r===a-1&&!i){u=false;l=true}}else if(e>r){l=true;if(e===a-1&&r===0&&!i){u=true;l=false}}if(u){g.default.addClass(this.___slide[e],"lg-prev-slide");g.default.addClass(this.___slide[r],"lg-next-slide")}else if(l){g.default.addClass(this.___slide[e],"lg-next-slide");g.default.addClass(this.___slide[r],"lg-prev-slide")}setTimeout(function(){g.default.removeClass(n.outer.querySelector(".lg-current"),"lg-current");g.default.addClass(n.___slide[e],"lg-current");g.default.removeClass(n.outer,"lg-no-trans")},50)}else{var T=e-1;var f=e+1;if(e===0&&r===a-1){f=0;T=a-1}else if(e===a-1&&r===0){f=0;T=a-1}g.default.removeClass(n.outer.querySelector(".lg-prev-slide"),"lg-prev-slide");g.default.removeClass(n.outer.querySelector(".lg-current"),"lg-current");g.default.removeClass(n.outer.querySelector(".lg-next-slide"),"lg-next-slide");g.default.addClass(n.___slide[T],"lg-prev-slide");g.default.addClass(n.___slide[f],"lg-next-slide");g.default.addClass(n.___slide[e],"lg-current")}if(n.lGalleryOn){setTimeout(function(){n.loadContent(e,true,0)},this.s.speed+50);setTimeout(function(){n.lgBusy=false;g.default.trigger(n.el,"onAfterSlide",{prevIndex:r,index:e,fromTouch:t,fromThumb:i})},this.s.speed)}else{n.loadContent(e,true,n.s.backdropDuration);n.lgBusy=false;g.default.trigger(n.el,"onAfterSlide",{prevIndex:r,index:e,fromTouch:t,fromThumb:i})}n.lGalleryOn=true;if(this.s.counter){if(document.getElementById("lg-counter-current")){document.getElementById("lg-counter-current").innerHTML=e+1}}}},o.prototype.goToNextSlide=function(e){var t=this;if(!t.lgBusy){if(t.index+1<t.___slide.length){t.index++;g.default.trigger(t.el,"onBeforeNextSlide",{index:t.index});t.slide(t.index,e,false)}else{if(t.s.loop){t.index=0;g.default.trigger(t.el,"onBeforeNextSlide",{index:t.index});t.slide(t.index,e,false)}else if(t.s.slideEndAnimatoin){g.default.addClass(t.outer,"lg-right-end");setTimeout(function(){g.default.removeClass(t.outer,"lg-right-end")},400)}}}},o.prototype.goToPrevSlide=function(e){var t=this;if(!t.lgBusy){if(t.index>0){t.index--;g.default.trigger(t.el,"onBeforePrevSlide",{index:t.index,fromTouch:e});t.slide(t.index,e,false)}else{if(t.s.loop){t.index=t.items.length-1;g.default.trigger(t.el,"onBeforePrevSlide",{index:t.index,fromTouch:e});t.slide(t.index,e,false)}else if(t.s.slideEndAnimatoin){g.default.addClass(t.outer,"lg-left-end");setTimeout(function(){g.default.removeClass(t.outer,"lg-left-end")},400)}}}},o.prototype.keyPress=function(){var t=this;if(this.items.length>1){g.default.on(window,"keyup.lg",function(e){if(t.items.length>1){if(e.keyCode===37){e.preventDefault();t.goToPrevSlide()}if(e.keyCode===39){e.preventDefault();t.goToNextSlide()}}})}g.default.on(window,"keydown.lg",function(e){if(t.s.escKey===true&&e.keyCode===27){e.preventDefault();if(!g.default.hasClass(t.outer,"lg-thumb-open")){t.destroy()}else{g.default.removeClass(t.outer,"lg-thumb-open")}}})},o.prototype.arrow=function(){var e=this;g.default.on(this.outer.querySelector(".lg-prev"),"click.lg",function(){e.goToPrevSlide()});g.default.on(this.outer.querySelector(".lg-next"),"click.lg",function(){e.goToNextSlide()})},o.prototype.arrowDisable=function(e){if(!this.s.loop&&this.s.hideControlOnEnd){var t=this.outer.querySelector(".lg-next");var i=this.outer.querySelector(".lg-prev");if(e+1<this.___slide.length){t.removeAttribute("disabled");g.default.removeClass(t,"disabled")}else{t.setAttribute("disabled","disabled");g.default.addClass(t,"disabled")}if(e>0){i.removeAttribute("disabled");g.default.removeClass(i,"disabled")}else{i.setAttribute("disabled","disabled");g.default.addClass(i,"disabled")}}},o.prototype.setTranslate=function(e,t,i){if(this.s.useLeft){e.style.left=t}else{g.default.setVendor(e,"Transform","translate3d("+t+"px, "+i+"px, 0px)")}},o.prototype.touchMove=function(e,t){var i=t-e;if(Math.abs(i)>15){g.default.addClass(this.outer,"lg-dragging");this.setTranslate(this.___slide[this.index],i,0);this.setTranslate(document.querySelector(".lg-prev-slide"),-this.___slide[this.index].clientWidth+i,0);this.setTranslate(document.querySelector(".lg-next-slide"),this.___slide[this.index].clientWidth+i,0)}},o.prototype.touchEnd=function(t){var i=this;if(i.s.mode!=="lg-slide"){g.default.addClass(i.outer,"lg-slide")}for(var e=0;e<this.___slide.length;e++){if(!g.default.hasClass(this.___slide[e],"lg-current")&&!g.default.hasClass(this.___slide[e],"lg-prev-slide")&&!g.default.hasClass(this.___slide[e],"lg-next-slide")){this.___slide[e].style.opacity="0"}}setTimeout(function(){g.default.removeClass(i.outer,"lg-dragging");if(t<0&&Math.abs(t)>i.s.swipeThreshold){i.goToNextSlide(true)}else if(t>0&&Math.abs(t)>i.s.swipeThreshold){i.goToPrevSlide(true)}else if(Math.abs(t)<5){g.default.trigger(i.el,"onSlideClick")}for(var e=0;e<i.___slide.length;e++){i.___slide[e].removeAttribute("style")}});setTimeout(function(){if(!g.default.hasClass(i.outer,"lg-dragging")&&i.s.mode!=="lg-slide"){g.default.removeClass(i.outer,"lg-slide")}},i.s.speed+100)},o.prototype.enableSwipe=function(){var t=this;var i=0;var r=0;var o=false;if(t.s.enableSwipe&&t.isTouch&&t.doCss()){for(var e=0;e<t.___slide.length;e++){g.default.on(t.___slide[e],"touchstart.lg",function(e){if(!g.default.hasClass(t.outer,"lg-zoomed")&&!t.lgBusy){e.preventDefault();t.manageSwipeClass();i=e.targetTouches[0].pageX}})}for(var n=0;n<t.___slide.length;n++){g.default.on(t.___slide[n],"touchmove.lg",function(e){if(!g.default.hasClass(t.outer,"lg-zoomed")){e.preventDefault();r=e.targetTouches[0].pageX;t.touchMove(i,r);o=true}})}for(var a=0;a<t.___slide.length;a++){g.default.on(t.___slide[a],"touchend.lg",function(){if(!g.default.hasClass(t.outer,"lg-zoomed")){if(o){o=false;t.touchEnd(r-i)}else{g.default.trigger(t.el,"onSlideClick")}}})}}},o.prototype.enableDrag=function(){var t=this;var i=0;var r=0;var o=false;var n=false;if(t.s.enableDrag&&!t.isTouch&&t.doCss()){for(var e=0;e<t.___slide.length;e++){g.default.on(t.___slide[e],"mousedown.lg",function(e){if(!g.default.hasClass(t.outer,"lg-zoomed")){if(g.default.hasClass(e.target,"lg-object")||g.default.hasClass(e.target,"lg-video-play")){e.preventDefault();if(!t.lgBusy){t.manageSwipeClass();i=e.pageX;o=true;t.outer.scrollLeft+=1;t.outer.scrollLeft-=1;g.default.removeClass(t.outer,"lg-grab");g.default.addClass(t.outer,"lg-grabbing");g.default.trigger(t.el,"onDragstart")}}}})}g.default.on(window,"mousemove.lg",function(e){if(o){n=true;r=e.pageX;t.touchMove(i,r);g.default.trigger(t.el,"onDragmove")}});g.default.on(window,"mouseup.lg",function(e){if(n){n=false;t.touchEnd(r-i);g.default.trigger(t.el,"onDragend")}else if(g.default.hasClass(e.target,"lg-object")||g.default.hasClass(e.target,"lg-video-play")){g.default.trigger(t.el,"onSlideClick")}if(o){o=false;g.default.removeClass(t.outer,"lg-grabbing");g.default.addClass(t.outer,"lg-grab")}})}},o.prototype.manageSwipeClass=function(){var e=this.index+1;var t=this.index-1;var i=this.___slide.length;if(this.s.loop){if(this.index===0){t=i-1}else if(this.index===i-1){e=0}}for(var r=0;r<this.___slide.length;r++){g.default.removeClass(this.___slide[r],"lg-next-slide");g.default.removeClass(this.___slide[r],"lg-prev-slide")}if(t>-1){g.default.addClass(this.___slide[t],"lg-prev-slide")}g.default.addClass(this.___slide[e],"lg-next-slide")},o.prototype.mousewheel=function(){var t=this;g.default.on(t.outer,"mousewheel.lg",function(e){if(!e.deltaY){return}if(e.deltaY>0){t.goToPrevSlide()}else{t.goToNextSlide()}e.preventDefault()})},o.prototype.closeGallery=function(){var t=this;var i=false;g.default.on(this.outer.querySelector(".lg-close"),"click.lg",function(){t.destroy()});if(t.s.closable){g.default.on(t.outer,"mousedown.lg",function(e){if(g.default.hasClass(e.target,"lg-outer")||g.default.hasClass(e.target,"lg-item")||g.default.hasClass(e.target,"lg-img-wrap")){i=true}else{i=false}});g.default.on(t.outer,"mouseup.lg",function(e){if(g.default.hasClass(e.target,"lg-outer")||g.default.hasClass(e.target,"lg-item")||g.default.hasClass(e.target,"lg-img-wrap")&&i){if(!g.default.hasClass(t.outer,"lg-dragging")){t.destroy()}}})}},o.prototype.destroy=function(e){var t=this;if(!e){g.default.trigger(t.el,"onBeforeClose")}document.body.scrollTop=t.prevScrollTop;document.documentElement.scrollTop=t.prevScrollTop;if(e){if(!t.s.dynamic){for(var i=0;i<this.items.length;i++){g.default.off(this.items[i],".lg");g.default.off(this.items[i],".lgcustom")}}var r=t.el.getAttribute("lg-uid");delete window.lgData[r];t.el.removeAttribute("lg-uid")}g.default.off(this.el,".lgtm");for(var o in window.lgModules){if(t.modules[o]){t.modules[o].destroy(e)}}this.lGalleryOn=false;clearTimeout(t.hideBartimeout);this.hideBartimeout=false;g.default.off(window,".lg");g.default.removeClass(document.body,"lg-on");g.default.removeClass(document.body,"lg-from-hash");if(t.outer){g.default.removeClass(t.outer,"lg-visible")}g.default.removeClass(document.querySelector(".lg-backdrop"),"in");setTimeout(function(){try{if(t.outer){t.outer.parentNode.removeChild(t.outer)}if(document.querySelector(".lg-backdrop")){document.querySelector(".lg-backdrop").parentNode.removeChild(document.querySelector(".lg-backdrop"))}if(!e){g.default.trigger(t.el,"onCloseAfter")}t.el.focus()}catch(e){}},t.s.backdropDuration+50)},window.lightGallery=function(e,t){if(!e){return}try{if(!e.getAttribute("lg-uid")){var i="lg"+window.lgData.uid++;window.lgData[i]=new o(e,t);e.setAttribute("lg-uid",i)}else{try{window.lgData[e.getAttribute("lg-uid")].init()}catch(e){console.error("lightGallery has not initiated properly")}}}catch(e){console.error("lightGallery has not initiated properly")}}})?r.apply(t,o):r)||(e.exports=n)},Rqdy:function(e,t,i){var r=i("Y7ZC");r(r.S+r.F*!i("jmDH"),"Object",{defineProperty:i("2faE").f})},SBuE:function(e,t){e.exports={}},SEkw:function(e,t,i){e.exports={default:i("RU/L"),__esModule:!0}},TJWN:function(e,t,i){"use strict";var r=i("5T2Y"),o=i("WEpk"),n=i("2faE"),a=i("jmDH"),s=i("UWiX")("species");e.exports=function(e){var t="function"==typeof o[e]?o[e]:r[e];a&&t&&!t[s]&&n.f(t,s,{configurable:!0,get:function(){return this}})}},TuGD:function(e,t,i){var n=i("UWiX")("iterator"),a=!1;try{var r=[7][n]();r.return=function(){a=!0},Array.from(r,function(){throw 2})}catch(e){}e.exports=function(e,t){if(!t&&!a)return!1;var i=!1;try{var r=[7],o=r[n]();o.next=function(){return{done:i=!0}},r[n]=function(){return o},e(r)}catch(e){}return i}},"U+KD":function(e,t,i){var r=i("B+OT"),o=i("JB68"),n=i("VVlx")("IE_PROTO"),a=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=o(e),r(e,n)?e[n]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?a:null}},UO39:function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},UWiX:function(e,t,i){var r=i("29s/")("wks"),o=i("YqAc"),n=i("5T2Y").Symbol,a="function"==typeof n;(e.exports=function(e){return r[e]||(r[e]=a&&n[e]||(a?n:o)("Symbol."+e))}).store=r},UbbE:function(e,t,i){i("o8NH"),e.exports=i("WEpk").Object.assign},V7oC:function(e,t,i){"use strict";t.__esModule=!0;var r,o=i("SEkw"),n=(r=o)&&r.__esModule?r:{default:r};function a(e,t){for(var i=0;i<t.length;i++){var r=t[i];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),(0,n.default)(e,r.key,r)}}t.default=function(e,t,i){return t&&a(e.prototype,t),i&&a(e,i),e}},VVlx:function(e,t,i){var r=i("29s/")("keys"),o=i("YqAc");e.exports=function(e){return r[e]||(r[e]=o(e))}},W070:function(e,t,i){var l=i("NsO/"),u=i("tEej"),c=i("D8kY");e.exports=function(s){return function(e,t,i){var r,o=l(e),n=u(o.length),a=c(i,n);if(s&&t!=t){for(;a<n;)if((r=o[a++])!=r)return!0}else for(;a<n;a++)if((s||a in o)&&o[a]===t)return s||a||0;return!s&&-1}}},WEpk:function(e,t){var i=e.exports={version:"2.6.1"};"number"==typeof __e&&(__e=i)},Wdqn:function(e,t,i){e.exports=function o(n,a,s){function l(i,e){if(!a[i]){if(!n[i]){if(u)return u(i,!0);var t=new Error("Cannot find module '"+i+"'");throw t.code="MODULE_NOT_FOUND",t}var r=a[i]={exports:{}};n[i][0].call(r.exports,function(e){var t=n[i][1][e];return l(t||e)},r,r.exports,o,n,a,s)}return a[i].exports}for(var u=!1,e=0;e<s.length;e++)l(s[e]);return l}({1:[function(e,t,i){!function(e,t){if(0,void 0!==i)t();else{t(),e.lgShare={}}}(this,function(){"use strict";var t=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&(e[r]=i[r])}return e},i={share:!0,facebook:!0,facebookDropdownText:"Facebook",twitter:!0,twitterDropdownText:"Twitter",googlePlus:!0,googlePlusDropdownText:"GooglePlus",pinterest:!0,pinterestDropdownText:"Pinterest"};var e=function(e){return this.el=e,this.core=window.lgData[this.el.getAttribute("lg-uid")],this.core.s=t({},i,this.core.s),this.core.s.share&&this.init(),this};e.prototype.init=function(){var t=this,e='<button aria-label="Share" aria-haspopup="true" aria-expanded="false" id="lg-share" class="lg-icon"><ul class="lg-dropdown" style="position: absolute;">';e+=t.core.s.facebook?'<li><a id="lg-share-facebook" target="_blank"><span class="lg-icon"></span><span class="lg-dropdown-text">'+this.core.s.facebookDropdownText+"</span></a></li>":"",e+=t.core.s.twitter?'<li><a id="lg-share-twitter" target="_blank"><span class="lg-icon"></span><span class="lg-dropdown-text">'+this.core.s.twitterDropdownText+"</span></a></li>":"",e+=t.core.s.googlePlus?'<li><a id="lg-share-googleplus" target="_blank"><span class="lg-icon"></span><span class="lg-dropdown-text">'+this.core.s.googlePlusDropdownText+"</span></a></li>":"",e+=t.core.s.pinterest?'<li><a id="lg-share-pinterest" target="_blank"><span class="lg-icon"></span><span class="lg-dropdown-text">'+this.core.s.pinterestDropdownText+"</span></a></li>":"",e+="</ul></button>",this.core.outer.querySelector(".lg-toolbar").insertAdjacentHTML("beforeend",e),this.core.outer.querySelector(".lg").insertAdjacentHTML("beforeend",'<div id="lg-dropdown-overlay"></div>');var i=document.getElementById("lg-share");utils.on(i,"click.lg",function(){utils.hasClass(t.core.outer,"lg-dropdown-active")?(utils.removeClass(t.core.outer,"lg-dropdown-active"),i.setAttribute("aria-expanded",!1)):(utils.addClass(t.core.outer,"lg-dropdown-active"),i.setAttribute("aria-expanded",!0))}),utils.on(document.getElementById("lg-dropdown-overlay"),"click.lg",function(){utils.removeClass(t.core.outer,"lg-dropdown-active"),i.setAttribute("aria-expanded",!1)}),utils.on(t.core.el,"onAfterSlide.lgtm",function(e){setTimeout(function(){t.core.s.facebook&&document.getElementById("lg-share-facebook").setAttribute("href","https://www.facebook.com/sharer/sharer.php?u="+t.getSharePropsUrl(e.detail.index,"data-facebook-share-url")),t.core.s.twitter&&document.getElementById("lg-share-twitter").setAttribute("href","https://twitter.com/intent/tweet?text="+t.getShareProps(e.detail.index,"data-tweet-text")+"&url="+t.getSharePropsUrl(e.detail.index,"data-twitter-share-url")),t.core.s.googlePlus&&document.getElementById("lg-share-googleplus").setAttribute("href","https://plus.google.com/share?url="+t.getSharePropsUrl(e.detail.index,"data-googleplus-share-url")),t.core.s.pinterest&&document.getElementById("lg-share-pinterest").setAttribute("href","http://www.pinterest.com/pin/create/button/?url="+t.getSharePropsUrl(e.detail.index,"data-pinterest-share-url")+"&media="+encodeURIComponent(t.getShareProps(e.detail.index,"href")||t.getShareProps(e.detail.index,"data-src"))+"&description="+t.getShareProps(e.detail.index,"data-pinterest-text"))},100)})},e.prototype.getSharePropsUrl=function(e,t){var i=this.getShareProps(e,t);return i=i||window.location.href,encodeURIComponent(i)},e.prototype.getShareProps=function(e,t){var i="";return this.core.s.dynamic?i=this.core.items[e][function(e){return e.toLowerCase().replace(/-(.)/g,function(e,t){return t.toUpperCase()})}(t.replace("data-",""))]:this.core.items[e].getAttribute(t)&&(i=this.core.items[e].getAttribute(t)),i},e.prototype.destroy=function(){},window.lgModules.share=e})},{}]},{},[1])(1)},"XJU/":function(e,t,i){var o=i("NegM");e.exports=function(e,t,i){for(var r in t)i&&e[r]?e[r]=t[r]:o(e,r,t[r]);return e}},Y7ZC:function(e,t,i){var b=i("5T2Y"),S=i("WEpk"),m=i("2GTP"),g=i("NegM"),p=i("B+OT"),v="prototype",A=function(e,t,i){var r,o,n,a=e&A.F,s=e&A.G,l=e&A.S,u=e&A.P,c=e&A.B,d=e&A.W,T=s?S:S[t]||(S[t]={}),f=T[v],h=s?b:l?b[t]:(b[t]||{})[v];for(r in s&&(i=t),i)(o=!a&&h&&void 0!==h[r])&&p(T,r)||(n=o?h[r]:i[r],T[r]=s&&"function"!=typeof h[r]?i[r]:c&&o?m(n,b):d&&h[r]==n?function(r){function e(e,t,i){if(this instanceof r){switch(arguments.length){case 0:return new r;case 1:return new r(e);case 2:return new r(e,t)}return new r(e,t,i)}return r.apply(this,arguments)}return e[v]=r[v],e}(n):u&&"function"==typeof n?m(Function.call,n):n,u&&((T.virtual||(T.virtual={}))[r]=n,e&A.R&&f&&!f[r]&&g(f,r,n)))};A.F=1,A.G=2,A.S=4,A.P=8,A.B=16,A.W=32,A.U=64,A.R=128,e.exports=A},YqAc:function(e,t){var i=0,r=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++i+r).toString(36))}},ZW5q:function(e,t,i){"use strict";var o=i("eaoh");function r(e){var i,r;this.promise=new e(function(e,t){if(void 0!==i||void 0!==r)throw TypeError("Bad Promise constructor");i=e,r=t}),this.resolve=o(i),this.reject=o(r)}e.exports.f=function(e){return new r(e)}},a0xu:function(e,t){var i={}.toString;e.exports=function(e){return i.call(e).slice(8,-1)}},aW7e:function(e,t,i){i("wgeU"),i("FlQf"),i("bBy9"),i("JMW+"),i("PBE1"),i("Q/yX"),e.exports=i("WEpk").Promise},bBy9:function(e,t,i){i("w2d+");for(var r=i("5T2Y"),o=i("NegM"),n=i("SBuE"),a=i("UWiX")("toStringTag"),s="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),l=0;l<s.length;l++){var u=s[l],c=r[u],d=c&&c.prototype;d&&!d[a]&&o(d,a,u),n[u]=n.Array}},c39r:function(e,t,i){},ccE7:function(e,t,i){var l=i("Ojgd"),u=i("Jes0");e.exports=function(s){return function(e,t){var i,r,o=String(u(e)),n=l(t),a=o.length;return n<0||a<=n?s?"":void 0:(i=o.charCodeAt(n))<55296||56319<i||n+1===a||(r=o.charCodeAt(n+1))<56320||57343<r?s?o.charAt(n):i:s?o.slice(n,n+2):r-56320+(i-55296<<10)+65536}}},eUtF:function(e,t,i){e.exports=!i("jmDH")&&!i("KUxP")(function(){return 7!=Object.defineProperty(i("Hsns")("div"),"a",{get:function(){return 7}}).a})},eaoh:function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},fNZA:function(e,t,i){var r=i("QMMT"),o=i("UWiX")("iterator"),n=i("SBuE");e.exports=i("WEpk").getIteratorMethod=function(e){if(null!=e)return e[o]||e["@@iterator"]||n[r(e)]}},fb6B:function(e,t,i){},fpC5:function(e,t,i){var a=i("2faE"),s=i("5K7Z"),l=i("w6GO");e.exports=i("jmDH")?Object.defineProperties:function(e,t){s(e);for(var i,r=l(t),o=r.length,n=0;n<o;)a.f(e,i=r[n++],t[i]);return e}},hDam:function(e,t){e.exports=function(){}},iCc5:function(e,t,i){"use strict";t.__esModule=!0,t.default=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},j2DC:function(e,t,i){"use strict";var r=i("oVml"),o=i("rr1i"),n=i("RfKB"),a={};i("NegM")(a,i("UWiX")("iterator"),function(){return this}),e.exports=function(e,t,i){e.prototype=r(a,{next:o(1,i)}),n(e,t+" Iterator")}},jmDH:function(e,t,i){e.exports=!i("KUxP")(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},kTiW:function(e,t,i){e.exports=i("NegM")},kwZ1:function(e,t,i){"use strict";var T=i("w6GO"),f=i("mqlF"),h=i("NV0k"),b=i("JB68"),S=i("M1xp"),o=Object.assign;e.exports=!o||i("KUxP")(function(){var e={},t={},i=Symbol(),r="abcdefghijklmnopqrst";return e[i]=7,r.split("").forEach(function(e){t[e]=e}),7!=o({},e)[i]||Object.keys(o({},t)).join("")!=r})?function(e,t){for(var i=b(e),r=arguments.length,o=1,n=f.f,a=h.f;o<r;)for(var s,l=S(arguments[o++]),u=n?T(l).concat(n(l)):T(l),c=u.length,d=0;d<c;)a.call(l,s=u[d++])&&(i[s]=l[s]);return i}:o},ls82:function(I,e){!function(e){"use strict";var l,t=Object.prototype,u=t.hasOwnProperty,i="function"==typeof Symbol?Symbol:{},o=i.iterator||"@@iterator",r=i.asyncIterator||"@@asyncIterator",n=i.toStringTag||"@@toStringTag",a="object"==typeof I,s=e.regeneratorRuntime;if(s)a&&(I.exports=s);else{(s=e.regeneratorRuntime=a?I.exports:{}).wrap=p;var d="suspendedStart",T="suspendedYield",f="executing",h="completed",b={},c={};c[o]=function(){return this};var S=Object.getPrototypeOf,m=S&&S(S(_([])));m&&m!==t&&u.call(m,o)&&(c=m);var g=y.prototype=A.prototype=Object.create(c);P.prototype=g.constructor=y,y.constructor=P,y[n]=P.displayName="GeneratorFunction",s.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===P||"GeneratorFunction"===(t.displayName||t.name))},s.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,y):(e.__proto__=y,n in e||(e[n]="GeneratorFunction")),e.prototype=Object.create(g),e},s.awrap=function(e){return{__await:e}},M(C.prototype),C.prototype[r]=function(){return this},s.AsyncIterator=C,s.async=function(e,t,i,r){var o=new C(p(e,t,i,r));return s.isGeneratorFunction(t)?o:o.next().then(function(e){return e.done?e.value:o.next()})},M(g),g[n]="Generator",g[o]=function(){return this},g.toString=function(){return"[object Generator]"},s.keys=function(i){var r=[];for(var e in i)r.push(e);return r.reverse(),function e(){for(;r.length;){var t=r.pop();if(t in i)return e.value=t,e.done=!1,e}return e.done=!0,e}},s.values=_,w.prototype={constructor:w,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=l,this.done=!1,this.delegate=null,this.method="next",this.arg=l,this.tryEntries.forEach(B),!e)for(var t in this)"t"===t.charAt(0)&&u.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=l)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(i){if(this.done)throw i;var r=this;function e(e,t){return n.type="throw",n.arg=i,r.next=e,t&&(r.method="next",r.arg=l),!!t}for(var t=this.tryEntries.length-1;0<=t;--t){var o=this.tryEntries[t],n=o.completion;if("root"===o.tryLoc)return e("end");if(o.tryLoc<=this.prev){var a=u.call(o,"catchLoc"),s=u.call(o,"finallyLoc");if(a&&s){if(this.prev<o.catchLoc)return e(o.catchLoc,!0);if(this.prev<o.finallyLoc)return e(o.finallyLoc)}else if(a){if(this.prev<o.catchLoc)return e(o.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return e(o.finallyLoc)}}}},abrupt:function(e,t){for(var i=this.tryEntries.length-1;0<=i;--i){var r=this.tryEntries[i];if(r.tryLoc<=this.prev&&u.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var o=r;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var n=o?o.completion:{};return n.type=e,n.arg=t,o?(this.method="next",this.next=o.finallyLoc,b):this.complete(n)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),b},finish:function(e){for(var t=this.tryEntries.length-1;0<=t;--t){var i=this.tryEntries[t];if(i.finallyLoc===e)return this.complete(i.completion,i.afterLoc),B(i),b}},catch:function(e){for(var t=this.tryEntries.length-1;0<=t;--t){var i=this.tryEntries[t];if(i.tryLoc===e){var r=i.completion;if("throw"===r.type){var o=r.arg;B(i)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,i){return this.delegate={iterator:_(e),resultName:t,nextLoc:i},"next"===this.method&&(this.arg=l),b}}}function p(e,t,i,r){var n,a,s,l,o=t&&t.prototype instanceof A?t:A,u=Object.create(o.prototype),c=new w(r||[]);return u._invoke=(n=e,a=i,s=c,l=d,function(e,t){if(l===f)throw new Error("Generator is already running");if(l===h){if("throw"===e)throw t;return H()}for(s.method=e,s.arg=t;;){var i=s.delegate;if(i){var r=E(i,s);if(r){if(r===b)continue;return r}}if("next"===s.method)s.sent=s._sent=s.arg;else if("throw"===s.method){if(l===d)throw l=h,s.arg;s.dispatchException(s.arg)}else"return"===s.method&&s.abrupt("return",s.arg);l=f;var o=v(n,a,s);if("normal"===o.type){if(l=s.done?h:T,o.arg===b)continue;return{value:o.arg,done:s.done}}"throw"===o.type&&(l=h,s.method="throw",s.arg=o.arg)}}),u}function v(e,t,i){try{return{type:"normal",arg:e.call(t,i)}}catch(e){return{type:"throw",arg:e}}}function A(){}function P(){}function y(){}function M(e){["next","throw","return"].forEach(function(t){e[t]=function(e){return this._invoke(t,e)}})}function C(l){var t;this._invoke=function(i,r){function e(){return new Promise(function(e,t){!function t(e,i,r,o){var n=v(l[e],l,i);if("throw"!==n.type){var a=n.arg,s=a.value;return s&&"object"==typeof s&&u.call(s,"__await")?Promise.resolve(s.__await).then(function(e){t("next",e,r,o)},function(e){t("throw",e,r,o)}):Promise.resolve(s).then(function(e){a.value=e,r(a)},o)}o(n.arg)}(i,r,e,t)})}return t=t?t.then(e,e):e()}}function E(e,t){var i=e.iterator[t.method];if(i===l){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=l,E(e,t),"throw"===t.method))return b;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return b}var r=v(i,e.iterator,t.arg);if("throw"===r.type)return t.method="throw",t.arg=r.arg,t.delegate=null,b;var o=r.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=l),t.delegate=null,b):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,b)}function G(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function B(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function w(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(G,this),this.reset(!0)}function _(t){if(t){var e=t[o];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,r=function e(){for(;++i<t.length;)if(u.call(t,i))return e.value=t[i],e.done=!1,e;return e.value=l,e.done=!0,e};return r.next=r}}return{next:H}}function H(){return{value:l,done:!0}}}(function(){return this}()||Function("return this")())},mqlF:function(e,t){t.f=Object.getOwnPropertySymbols},o8NH:function(e,t,i){var r=i("Y7ZC");r(r.S+r.F,"Object",{assign:i("kwZ1")})},oVml:function(e,t,r){function o(){}var n=r("5K7Z"),a=r("fpC5"),s=r("FpHa"),l=r("VVlx")("IE_PROTO"),u="prototype",c=function(){var e,t=r("Hsns")("iframe"),i=s.length;for(t.style.display="none",r("MvwC").appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write("<script>document.F=Object<\/script>"),e.close(),c=e.F;i--;)delete c[u][s[i]];return c()};e.exports=Object.create||function(e,t){var i;return null!==e?(o[u]=n(e),i=new o,o[u]=null,i[l]=e):i=c(),void 0===t?i:a(i,t)}},oioR:function(e,t,i){var T=i("2GTP"),f=i("sNwI"),h=i("NwJ3"),b=i("5K7Z"),S=i("tEej"),m=i("fNZA"),g={},p={};(t=e.exports=function(e,t,i,r,o){var n,a,s,l,u=o?function(){return e}:m(e),c=T(i,r,t?2:1),d=0;if("function"!=typeof u)throw TypeError(e+" is not iterable!");if(h(u)){for(n=S(e.length);d<n;d++)if((l=t?c(b(a=e[d])[0],a[1]):c(e[d]))===g||l===p)return l}else for(s=u.call(e);!(a=s.next()).done;)if((l=f(s,c,a.value,t))===g||l===p)return l}).BREAK=g,t.RETURN=p},q6LJ:function(e,t,i){var s=i("5T2Y"),l=i("QXhf").set,u=s.MutationObserver||s.WebKitMutationObserver,c=s.process,d=s.Promise,T="process"==i("a0xu")(c);e.exports=function(){function e(){var e,t;for(T&&(e=c.domain)&&e.exit();i;){t=i.fn,i=i.next;try{t()}catch(e){throw i?o():r=void 0,e}}r=void 0,e&&e.enter()}var i,r,o;if(T)o=function(){c.nextTick(e)};else if(!u||s.navigator&&s.navigator.standalone)if(d&&d.resolve){var t=d.resolve(void 0);o=function(){t.then(e)}}else o=function(){l.call(s,e)};else{var n=!0,a=document.createTextNode("");new u(e).observe(a,{characterData:!0}),o=function(){a.data=n=!n}}return function(e){var t={fn:e,next:void 0};r&&(r.next=t),i||(i=t,o()),r=t}}},rr1i:function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},sNwI:function(e,t,i){var n=i("5K7Z");e.exports=function(t,e,i,r){try{return r?e(n(i)[0],i[1]):e(i)}catch(e){var o=t.return;throw void 0!==o&&n(o.call(t)),e}}},tEej:function(e,t,i){var r=i("Ojgd"),o=Math.min;e.exports=function(e){return 0<e?o(r(e),9007199254740991):0}},u938:function(e,t,i){var r=function(){return this}()||Function("return this")(),o=r.regeneratorRuntime&&0<=Object.getOwnPropertyNames(r).indexOf("regeneratorRuntime"),n=o&&r.regeneratorRuntime;if(r.regeneratorRuntime=void 0,e.exports=i("ls82"),o)r.regeneratorRuntime=n;else try{delete r.regeneratorRuntime}catch(e){r.regeneratorRuntime=void 0}},uOPS:function(e,t){e.exports=!0},vBP9:function(e,t,i){var r=i("5T2Y").navigator;e.exports=r&&r.userAgent||""},"w2d+":function(e,t,i){"use strict";var r=i("hDam"),o=i("UO39"),n=i("SBuE"),a=i("NsO/");e.exports=i("MPFp")(Array,"Array",function(e,t){this._t=a(e),this._i=0,this._k=t},function(){var e=this._t,t=this._k,i=this._i++;return!e||i>=e.length?(this._t=void 0,o(1)):o(0,"keys"==t?i:"values"==t?e[i]:[i,e[i]])},"values"),n.Arguments=n.Array,r("keys"),r("values"),r("entries")},w6GO:function(e,t,i){var r=i("5vMV"),o=i("FpHa");e.exports=Object.keys||function(e){return r(e,o)}},wgeU:function(e,t){},x8jq:function(e,t,i){var r,o,n;o=[t],void 0===(n="function"==typeof(r=function(e){"use strict";Object.defineProperty(e,"__esModule",{value:true});var s={getAttribute:function e(t,i){return t[i]},setAttribute:function e(t,i,r){t[i]=r},wrap:function e(t,i){if(!t){return}var r=document.createElement("div");r.className=i;t.parentNode.insertBefore(r,t);t.parentNode.removeChild(t);r.appendChild(t)},addClass:function e(t,i){if(!t){return}if(t.classList){t.classList.add(i)}else{t.className+=" "+i}},removeClass:function e(t,i){if(!t){return}if(t.classList){t.classList.remove(i)}else{t.className=t.className.replace(new RegExp("(^|\\b)"+i.split(" ").join("|")+"(\\b|$)","gi")," ")}},hasClass:function e(t,i){if(t.classList){return t.classList.contains(i)}else{return new RegExp("(^| )"+i+"( |$)","gi").test(t.className)}},setVendor:function e(t,i,r){if(!t){return}t.style[i.charAt(0).toLowerCase()+i.slice(1)]=r;t.style["webkit"+i]=r;t.style["moz"+i]=r;t.style["ms"+i]=r;t.style["o"+i]=r},trigger:function e(t,i){var r=arguments.length>2&&arguments[2]!==undefined?arguments[2]:null;if(!t){return}var o=new CustomEvent(i,{detail:r});t.dispatchEvent(o)},Listener:{uid:0},on:function e(i,t,r){var o=this;if(!i){return}t.split(" ").forEach(function(e){var t=o.getAttribute(i,"lg-event-uid")||"";s.Listener.uid++;t+="&"+s.Listener.uid;o.setAttribute(i,"lg-event-uid",t);s.Listener[e+s.Listener.uid]=r;i.addEventListener(e.split(".")[0],r,false)})},off:function e(t,i){if(!t){return}var r=this.getAttribute(t,"lg-event-uid");if(r){r=r.split("&");for(var o=0;o<r.length;o++){if(r[o]){var n=i+r[o];if(n.substring(0,1)==="."){for(var a in s.Listener){if(s.Listener.hasOwnProperty(a)){if(a.split(".").indexOf(n.split(".")[1])>-1){t.removeEventListener(a.split(".")[0],s.Listener[a]);this.setAttribute(t,"lg-event-uid",this.getAttribute(t,"lg-event-uid").replace("&"+r[o],""));delete s.Listener[a]}}}}else{t.removeEventListener(n.split(".")[0],s.Listener[n]);this.setAttribute(t,"lg-event-uid",this.getAttribute(t,"lg-event-uid").replace("&"+r[o],""));delete s.Listener[n]}}}}},param:function e(t){return Object.keys(t).map(function(e){return encodeURIComponent(e)+"="+encodeURIComponent(t[e])}).join("&")}};e.default=s})?r.apply(t,o):r)||(e.exports=n)},xsZ3:function(t,e,i){
2
2
  /*!mobile-detect v1.4.4 2019-09-21*/
3
3
  /*!@license Copyright 2013, Heinrich Goebl, License: MIT, see https://github.com/hgoebl/mobile-detect.js*/
4
4
  var d;!function(){if(true&&t.exports){return function(e){t.exports=e()}}else if(true){return i("B9Yq")}else{}}()(function(){"use strict";var s,l={mobileDetectRules:{phones:{iPhone:"\\biPhone\\b|\\biPod\\b",BlackBerry:"BlackBerry|\\bBB10\\b|rim[0-9]+|\\b(BBA100|BBB100|BBD100|BBE100|BBF100|STH100)\\b-[0-9]+",HTC:"HTC|HTC.*(Sensation|Evo|Vision|Explorer|6800|8100|8900|A7272|S510e|C110e|Legend|Desire|T8282)|APX515CKT|Qtek9090|APA9292KT|HD_mini|Sensation.*Z710e|PG86100|Z715e|Desire.*(A8181|HD)|ADR6200|ADR6400L|ADR6425|001HT|Inspire 4G|Android.*\\bEVO\\b|T-Mobile G1|Z520m|Android [0-9.]+; Pixel",Nexus:"Nexus One|Nexus S|Galaxy.*Nexus|Android.*Nexus.*Mobile|Nexus 4|Nexus 5|Nexus 6",Dell:"Dell[;]? (Streak|Aero|Venue|Venue Pro|Flash|Smoke|Mini 3iX)|XCD28|XCD35|\\b001DL\\b|\\b101DL\\b|\\bGS01\\b",Motorola:"Motorola|DROIDX|DROID BIONIC|\\bDroid\\b.*Build|Android.*Xoom|HRI39|MOT-|A1260|A1680|A555|A853|A855|A953|A955|A956|Motorola.*ELECTRIFY|Motorola.*i1|i867|i940|MB200|MB300|MB501|MB502|MB508|MB511|MB520|MB525|MB526|MB611|MB612|MB632|MB810|MB855|MB860|MB861|MB865|MB870|ME501|ME502|ME511|ME525|ME600|ME632|ME722|ME811|ME860|ME863|ME865|MT620|MT710|MT716|MT720|MT810|MT870|MT917|Motorola.*TITANIUM|WX435|WX445|XT300|XT301|XT311|XT316|XT317|XT319|XT320|XT390|XT502|XT530|XT531|XT532|XT535|XT603|XT610|XT611|XT615|XT681|XT701|XT702|XT711|XT720|XT800|XT806|XT860|XT862|XT875|XT882|XT883|XT894|XT901|XT907|XT909|XT910|XT912|XT928|XT926|XT915|XT919|XT925|XT1021|\\bMoto E\\b|XT1068|XT1092|XT1052",Samsung:"\\bSamsung\\b|SM-G950F|SM-G955F|SM-G9250|GT-19300|SGH-I337|BGT-S5230|GT-B2100|GT-B2700|GT-B2710|GT-B3210|GT-B3310|GT-B3410|GT-B3730|GT-B3740|GT-B5510|GT-B5512|GT-B5722|GT-B6520|GT-B7300|GT-B7320|GT-B7330|GT-B7350|GT-B7510|GT-B7722|GT-B7800|GT-C3010|GT-C3011|GT-C3060|GT-C3200|GT-C3212|GT-C3212I|GT-C3262|GT-C3222|GT-C3300|GT-C3300K|GT-C3303|GT-C3303K|GT-C3310|GT-C3322|GT-C3330|GT-C3350|GT-C3500|GT-C3510|GT-C3530|GT-C3630|GT-C3780|GT-C5010|GT-C5212|GT-C6620|GT-C6625|GT-C6712|GT-E1050|GT-E1070|GT-E1075|GT-E1080|GT-E1081|GT-E1085|GT-E1087|GT-E1100|GT-E1107|GT-E1110|GT-E1120|GT-E1125|GT-E1130|GT-E1160|GT-E1170|GT-E1175|GT-E1180|GT-E1182|GT-E1200|GT-E1210|GT-E1225|GT-E1230|GT-E1390|GT-E2100|GT-E2120|GT-E2121|GT-E2152|GT-E2220|GT-E2222|GT-E2230|GT-E2232|GT-E2250|GT-E2370|GT-E2550|GT-E2652|GT-E3210|GT-E3213|GT-I5500|GT-I5503|GT-I5700|GT-I5800|GT-I5801|GT-I6410|GT-I6420|GT-I7110|GT-I7410|GT-I7500|GT-I8000|GT-I8150|GT-I8160|GT-I8190|GT-I8320|GT-I8330|GT-I8350|GT-I8530|GT-I8700|GT-I8703|GT-I8910|GT-I9000|GT-I9001|GT-I9003|GT-I9010|GT-I9020|GT-I9023|GT-I9070|GT-I9082|GT-I9100|GT-I9103|GT-I9220|GT-I9250|GT-I9300|GT-I9305|GT-I9500|GT-I9505|GT-M3510|GT-M5650|GT-M7500|GT-M7600|GT-M7603|GT-M8800|GT-M8910|GT-N7000|GT-S3110|GT-S3310|GT-S3350|GT-S3353|GT-S3370|GT-S3650|GT-S3653|GT-S3770|GT-S3850|GT-S5210|GT-S5220|GT-S5229|GT-S5230|GT-S5233|GT-S5250|GT-S5253|GT-S5260|GT-S5263|GT-S5270|GT-S5300|GT-S5330|GT-S5350|GT-S5360|GT-S5363|GT-S5369|GT-S5380|GT-S5380D|GT-S5560|GT-S5570|GT-S5600|GT-S5603|GT-S5610|GT-S5620|GT-S5660|GT-S5670|GT-S5690|GT-S5750|GT-S5780|GT-S5830|GT-S5839|GT-S6102|GT-S6500|GT-S7070|GT-S7200|GT-S7220|GT-S7230|GT-S7233|GT-S7250|GT-S7500|GT-S7530|GT-S7550|GT-S7562|GT-S7710|GT-S8000|GT-S8003|GT-S8500|GT-S8530|GT-S8600|SCH-A310|SCH-A530|SCH-A570|SCH-A610|SCH-A630|SCH-A650|SCH-A790|SCH-A795|SCH-A850|SCH-A870|SCH-A890|SCH-A930|SCH-A950|SCH-A970|SCH-A990|SCH-I100|SCH-I110|SCH-I400|SCH-I405|SCH-I500|SCH-I510|SCH-I515|SCH-I600|SCH-I730|SCH-I760|SCH-I770|SCH-I830|SCH-I910|SCH-I920|SCH-I959|SCH-LC11|SCH-N150|SCH-N300|SCH-R100|SCH-R300|SCH-R351|SCH-R400|SCH-R410|SCH-T300|SCH-U310|SCH-U320|SCH-U350|SCH-U360|SCH-U365|SCH-U370|SCH-U380|SCH-U410|SCH-U430|SCH-U450|SCH-U460|SCH-U470|SCH-U490|SCH-U540|SCH-U550|SCH-U620|SCH-U640|SCH-U650|SCH-U660|SCH-U700|SCH-U740|SCH-U750|SCH-U810|SCH-U820|SCH-U900|SCH-U940|SCH-U960|SCS-26UC|SGH-A107|SGH-A117|SGH-A127|SGH-A137|SGH-A157|SGH-A167|SGH-A177|SGH-A187|SGH-A197|SGH-A227|SGH-A237|SGH-A257|SGH-A437|SGH-A517|SGH-A597|SGH-A637|SGH-A657|SGH-A667|SGH-A687|SGH-A697|SGH-A707|SGH-A717|SGH-A727|SGH-A737|SGH-A747|SGH-A767|SGH-A777|SGH-A797|SGH-A817|SGH-A827|SGH-A837|SGH-A847|SGH-A867|SGH-A877|SGH-A887|SGH-A897|SGH-A927|SGH-B100|SGH-B130|SGH-B200|SGH-B220|SGH-C100|SGH-C110|SGH-C120|SGH-C130|SGH-C140|SGH-C160|SGH-C170|SGH-C180|SGH-C200|SGH-C207|SGH-C210|SGH-C225|SGH-C230|SGH-C417|SGH-C450|SGH-D307|SGH-D347|SGH-D357|SGH-D407|SGH-D415|SGH-D780|SGH-D807|SGH-D980|SGH-E105|SGH-E200|SGH-E315|SGH-E316|SGH-E317|SGH-E335|SGH-E590|SGH-E635|SGH-E715|SGH-E890|SGH-F300|SGH-F480|SGH-I200|SGH-I300|SGH-I320|SGH-I550|SGH-I577|SGH-I600|SGH-I607|SGH-I617|SGH-I627|SGH-I637|SGH-I677|SGH-I700|SGH-I717|SGH-I727|SGH-i747M|SGH-I777|SGH-I780|SGH-I827|SGH-I847|SGH-I857|SGH-I896|SGH-I897|SGH-I900|SGH-I907|SGH-I917|SGH-I927|SGH-I937|SGH-I997|SGH-J150|SGH-J200|SGH-L170|SGH-L700|SGH-M110|SGH-M150|SGH-M200|SGH-N105|SGH-N500|SGH-N600|SGH-N620|SGH-N625|SGH-N700|SGH-N710|SGH-P107|SGH-P207|SGH-P300|SGH-P310|SGH-P520|SGH-P735|SGH-P777|SGH-Q105|SGH-R210|SGH-R220|SGH-R225|SGH-S105|SGH-S307|SGH-T109|SGH-T119|SGH-T139|SGH-T209|SGH-T219|SGH-T229|SGH-T239|SGH-T249|SGH-T259|SGH-T309|SGH-T319|SGH-T329|SGH-T339|SGH-T349|SGH-T359|SGH-T369|SGH-T379|SGH-T409|SGH-T429|SGH-T439|SGH-T459|SGH-T469|SGH-T479|SGH-T499|SGH-T509|SGH-T519|SGH-T539|SGH-T559|SGH-T589|SGH-T609|SGH-T619|SGH-T629|SGH-T639|SGH-T659|SGH-T669|SGH-T679|SGH-T709|SGH-T719|SGH-T729|SGH-T739|SGH-T746|SGH-T749|SGH-T759|SGH-T769|SGH-T809|SGH-T819|SGH-T839|SGH-T919|SGH-T929|SGH-T939|SGH-T959|SGH-T989|SGH-U100|SGH-U200|SGH-U800|SGH-V205|SGH-V206|SGH-X100|SGH-X105|SGH-X120|SGH-X140|SGH-X426|SGH-X427|SGH-X475|SGH-X495|SGH-X497|SGH-X507|SGH-X600|SGH-X610|SGH-X620|SGH-X630|SGH-X700|SGH-X820|SGH-X890|SGH-Z130|SGH-Z150|SGH-Z170|SGH-ZX10|SGH-ZX20|SHW-M110|SPH-A120|SPH-A400|SPH-A420|SPH-A460|SPH-A500|SPH-A560|SPH-A600|SPH-A620|SPH-A660|SPH-A700|SPH-A740|SPH-A760|SPH-A790|SPH-A800|SPH-A820|SPH-A840|SPH-A880|SPH-A900|SPH-A940|SPH-A960|SPH-D600|SPH-D700|SPH-D710|SPH-D720|SPH-I300|SPH-I325|SPH-I330|SPH-I350|SPH-I500|SPH-I600|SPH-I700|SPH-L700|SPH-M100|SPH-M220|SPH-M240|SPH-M300|SPH-M305|SPH-M320|SPH-M330|SPH-M350|SPH-M360|SPH-M370|SPH-M380|SPH-M510|SPH-M540|SPH-M550|SPH-M560|SPH-M570|SPH-M580|SPH-M610|SPH-M620|SPH-M630|SPH-M800|SPH-M810|SPH-M850|SPH-M900|SPH-M910|SPH-M920|SPH-M930|SPH-N100|SPH-N200|SPH-N240|SPH-N300|SPH-N400|SPH-Z400|SWC-E100|SCH-i909|GT-N7100|GT-N7105|SCH-I535|SM-N900A|SGH-I317|SGH-T999L|GT-S5360B|GT-I8262|GT-S6802|GT-S6312|GT-S6310|GT-S5312|GT-S5310|GT-I9105|GT-I8510|GT-S6790N|SM-G7105|SM-N9005|GT-S5301|GT-I9295|GT-I9195|SM-C101|GT-S7392|GT-S7560|GT-B7610|GT-I5510|GT-S7582|GT-S7530E|GT-I8750|SM-G9006V|SM-G9008V|SM-G9009D|SM-G900A|SM-G900D|SM-G900F|SM-G900H|SM-G900I|SM-G900J|SM-G900K|SM-G900L|SM-G900M|SM-G900P|SM-G900R4|SM-G900S|SM-G900T|SM-G900V|SM-G900W8|SHV-E160K|SCH-P709|SCH-P729|SM-T2558|GT-I9205|SM-G9350|SM-J120F|SM-G920F|SM-G920V|SM-G930F|SM-N910C|SM-A310F|GT-I9190|SM-J500FN|SM-G903F|SM-J330F",LG:"\\bLG\\b;|LG[- ]?(C800|C900|E400|E610|E900|E-900|F160|F180K|F180L|F180S|730|855|L160|LS740|LS840|LS970|LU6200|MS690|MS695|MS770|MS840|MS870|MS910|P500|P700|P705|VM696|AS680|AS695|AX840|C729|E970|GS505|272|C395|E739BK|E960|L55C|L75C|LS696|LS860|P769BK|P350|P500|P509|P870|UN272|US730|VS840|VS950|LN272|LN510|LS670|LS855|LW690|MN270|MN510|P509|P769|P930|UN200|UN270|UN510|UN610|US670|US740|US760|UX265|UX840|VN271|VN530|VS660|VS700|VS740|VS750|VS910|VS920|VS930|VX9200|VX11000|AX840A|LW770|P506|P925|P999|E612|D955|D802|MS323|M257)|LM-G710",Sony:"SonyST|SonyLT|SonyEricsson|SonyEricssonLT15iv|LT18i|E10i|LT28h|LT26w|SonyEricssonMT27i|C5303|C6902|C6903|C6906|C6943|D2533",Asus:"Asus.*Galaxy|PadFone.*Mobile",NokiaLumia:"Lumia [0-9]{3,4}",Micromax:"Micromax.*\\b(A210|A92|A88|A72|A111|A110Q|A115|A116|A110|A90S|A26|A51|A35|A54|A25|A27|A89|A68|A65|A57|A90)\\b",Palm:"PalmSource|Palm",Vertu:"Vertu|Vertu.*Ltd|Vertu.*Ascent|Vertu.*Ayxta|Vertu.*Constellation(F|Quest)?|Vertu.*Monika|Vertu.*Signature",Pantech:"PANTECH|IM-A850S|IM-A840S|IM-A830L|IM-A830K|IM-A830S|IM-A820L|IM-A810K|IM-A810S|IM-A800S|IM-T100K|IM-A725L|IM-A780L|IM-A775C|IM-A770K|IM-A760S|IM-A750K|IM-A740S|IM-A730S|IM-A720L|IM-A710K|IM-A690L|IM-A690S|IM-A650S|IM-A630K|IM-A600S|VEGA PTL21|PT003|P8010|ADR910L|P6030|P6020|P9070|P4100|P9060|P5000|CDM8992|TXT8045|ADR8995|IS11PT|P2030|P6010|P8000|PT002|IS06|CDM8999|P9050|PT001|TXT8040|P2020|P9020|P2000|P7040|P7000|C790",Fly:"IQ230|IQ444|IQ450|IQ440|IQ442|IQ441|IQ245|IQ256|IQ236|IQ255|IQ235|IQ245|IQ275|IQ240|IQ285|IQ280|IQ270|IQ260|IQ250",Wiko:"KITE 4G|HIGHWAY|GETAWAY|STAIRWAY|DARKSIDE|DARKFULL|DARKNIGHT|DARKMOON|SLIDE|WAX 4G|RAINBOW|BLOOM|SUNSET|GOA(?!nna)|LENNY|BARRY|IGGY|OZZY|CINK FIVE|CINK PEAX|CINK PEAX 2|CINK SLIM|CINK SLIM 2|CINK +|CINK KING|CINK PEAX|CINK SLIM|SUBLIM",iMobile:"i-mobile (IQ|i-STYLE|idea|ZAA|Hitz)",SimValley:"\\b(SP-80|XT-930|SX-340|XT-930|SX-310|SP-360|SP60|SPT-800|SP-120|SPT-800|SP-140|SPX-5|SPX-8|SP-100|SPX-8|SPX-12)\\b",Wolfgang:"AT-B24D|AT-AS50HD|AT-AS40W|AT-AS55HD|AT-AS45q2|AT-B26D|AT-AS50Q",Alcatel:"Alcatel",Nintendo:"Nintendo (3DS|Switch)",Amoi:"Amoi",INQ:"INQ",OnePlus:"ONEPLUS",GenericPhone:"Tapatalk|PDA;|SAGEM|\\bmmp\\b|pocket|\\bpsp\\b|symbian|Smartphone|smartfon|treo|up.browser|up.link|vodafone|\\bwap\\b|nokia|Series40|Series60|S60|SonyEricsson|N900|MAUI.*WAP.*Browser"},tablets:{iPad:"iPad|iPad.*Mobile",NexusTablet:"Android.*Nexus[\\s]+(7|9|10)",GoogleTablet:"Android.*Pixel C",SamsungTablet:"SAMSUNG.*Tablet|Galaxy.*Tab|SC-01C|GT-P1000|GT-P1003|GT-P1010|GT-P3105|GT-P6210|GT-P6800|GT-P6810|GT-P7100|GT-P7300|GT-P7310|GT-P7500|GT-P7510|SCH-I800|SCH-I815|SCH-I905|SGH-I957|SGH-I987|SGH-T849|SGH-T859|SGH-T869|SPH-P100|GT-P3100|GT-P3108|GT-P3110|GT-P5100|GT-P5110|GT-P6200|GT-P7320|GT-P7511|GT-N8000|GT-P8510|SGH-I497|SPH-P500|SGH-T779|SCH-I705|SCH-I915|GT-N8013|GT-P3113|GT-P5113|GT-P8110|GT-N8010|GT-N8005|GT-N8020|GT-P1013|GT-P6201|GT-P7501|GT-N5100|GT-N5105|GT-N5110|SHV-E140K|SHV-E140L|SHV-E140S|SHV-E150S|SHV-E230K|SHV-E230L|SHV-E230S|SHW-M180K|SHW-M180L|SHW-M180S|SHW-M180W|SHW-M300W|SHW-M305W|SHW-M380K|SHW-M380S|SHW-M380W|SHW-M430W|SHW-M480K|SHW-M480S|SHW-M480W|SHW-M485W|SHW-M486W|SHW-M500W|GT-I9228|SCH-P739|SCH-I925|GT-I9200|GT-P5200|GT-P5210|GT-P5210X|SM-T311|SM-T310|SM-T310X|SM-T210|SM-T210R|SM-T211|SM-P600|SM-P601|SM-P605|SM-P900|SM-P901|SM-T217|SM-T217A|SM-T217S|SM-P6000|SM-T3100|SGH-I467|XE500|SM-T110|GT-P5220|GT-I9200X|GT-N5110X|GT-N5120|SM-P905|SM-T111|SM-T2105|SM-T315|SM-T320|SM-T320X|SM-T321|SM-T520|SM-T525|SM-T530NU|SM-T230NU|SM-T330NU|SM-T900|XE500T1C|SM-P605V|SM-P905V|SM-T337V|SM-T537V|SM-T707V|SM-T807V|SM-P600X|SM-P900X|SM-T210X|SM-T230|SM-T230X|SM-T325|GT-P7503|SM-T531|SM-T330|SM-T530|SM-T705|SM-T705C|SM-T535|SM-T331|SM-T800|SM-T700|SM-T537|SM-T807|SM-P907A|SM-T337A|SM-T537A|SM-T707A|SM-T807A|SM-T237|SM-T807P|SM-P607T|SM-T217T|SM-T337T|SM-T807T|SM-T116NQ|SM-T116BU|SM-P550|SM-T350|SM-T550|SM-T9000|SM-P9000|SM-T705Y|SM-T805|GT-P3113|SM-T710|SM-T810|SM-T815|SM-T360|SM-T533|SM-T113|SM-T335|SM-T715|SM-T560|SM-T670|SM-T677|SM-T377|SM-T567|SM-T357T|SM-T555|SM-T561|SM-T713|SM-T719|SM-T813|SM-T819|SM-T580|SM-T355Y?|SM-T280|SM-T817A|SM-T820|SM-W700|SM-P580|SM-T587|SM-P350|SM-P555M|SM-P355M|SM-T113NU|SM-T815Y|SM-T585|SM-T285|SM-T825|SM-W708|SM-T835|SM-T830|SM-T837V|SM-T720|SM-T510|SM-T387V",Kindle:"Kindle|Silk.*Accelerated|Android.*\\b(KFOT|KFTT|KFJWI|KFJWA|KFOTE|KFSOWI|KFTHWI|KFTHWA|KFAPWI|KFAPWA|WFJWAE|KFSAWA|KFSAWI|KFASWI|KFARWI|KFFOWI|KFGIWI|KFMEWI)\\b|Android.*Silk/[0-9.]+ like Chrome/[0-9.]+ (?!Mobile)",SurfaceTablet:"Windows NT [0-9.]+; ARM;.*(Tablet|ARMBJS)",HPTablet:"HP Slate (7|8|10)|HP ElitePad 900|hp-tablet|EliteBook.*Touch|HP 8|Slate 21|HP SlateBook 10",AsusTablet:"^.*PadFone((?!Mobile).)*$|Transformer|TF101|TF101G|TF300T|TF300TG|TF300TL|TF700T|TF700KL|TF701T|TF810C|ME171|ME301T|ME302C|ME371MG|ME370T|ME372MG|ME172V|ME173X|ME400C|Slider SL101|\\bK00F\\b|\\bK00C\\b|\\bK00E\\b|\\bK00L\\b|TX201LA|ME176C|ME102A|\\bM80TA\\b|ME372CL|ME560CG|ME372CG|ME302KL| K010 | K011 | K017 | K01E |ME572C|ME103K|ME170C|ME171C|\\bME70C\\b|ME581C|ME581CL|ME8510C|ME181C|P01Y|PO1MA|P01Z|\\bP027\\b|\\bP024\\b|\\bP00C\\b",BlackBerryTablet:"PlayBook|RIM Tablet",HTCtablet:"HTC_Flyer_P512|HTC Flyer|HTC Jetstream|HTC-P715a|HTC EVO View 4G|PG41200|PG09410",MotorolaTablet:"xoom|sholest|MZ615|MZ605|MZ505|MZ601|MZ602|MZ603|MZ604|MZ606|MZ607|MZ608|MZ609|MZ615|MZ616|MZ617",NookTablet:"Android.*Nook|NookColor|nook browser|BNRV200|BNRV200A|BNTV250|BNTV250A|BNTV400|BNTV600|LogicPD Zoom2",AcerTablet:"Android.*; \\b(A100|A101|A110|A200|A210|A211|A500|A501|A510|A511|A700|A701|W500|W500P|W501|W501P|W510|W511|W700|G100|G100W|B1-A71|B1-710|B1-711|A1-810|A1-811|A1-830)\\b|W3-810|\\bA3-A10\\b|\\bA3-A11\\b|\\bA3-A20\\b|\\bA3-A30",ToshibaTablet:"Android.*(AT100|AT105|AT200|AT205|AT270|AT275|AT300|AT305|AT1S5|AT500|AT570|AT700|AT830)|TOSHIBA.*FOLIO",LGTablet:"\\bL-06C|LG-V909|LG-V900|LG-V700|LG-V510|LG-V500|LG-V410|LG-V400|LG-VK810\\b",FujitsuTablet:"Android.*\\b(F-01D|F-02F|F-05E|F-10D|M532|Q572)\\b",PrestigioTablet:"PMP3170B|PMP3270B|PMP3470B|PMP7170B|PMP3370B|PMP3570C|PMP5870C|PMP3670B|PMP5570C|PMP5770D|PMP3970B|PMP3870C|PMP5580C|PMP5880D|PMP5780D|PMP5588C|PMP7280C|PMP7280C3G|PMP7280|PMP7880D|PMP5597D|PMP5597|PMP7100D|PER3464|PER3274|PER3574|PER3884|PER5274|PER5474|PMP5097CPRO|PMP5097|PMP7380D|PMP5297C|PMP5297C_QUAD|PMP812E|PMP812E3G|PMP812F|PMP810E|PMP880TD|PMT3017|PMT3037|PMT3047|PMT3057|PMT7008|PMT5887|PMT5001|PMT5002",LenovoTablet:"Lenovo TAB|Idea(Tab|Pad)( A1|A10| K1|)|ThinkPad([ ]+)?Tablet|YT3-850M|YT3-X90L|YT3-X90F|YT3-X90X|Lenovo.*(S2109|S2110|S5000|S6000|K3011|A3000|A3500|A1000|A2107|A2109|A1107|A5500|A7600|B6000|B8000|B8080)(-|)(FL|F|HV|H|)|TB-X103F|TB-X304X|TB-X304F|TB-X304L|TB-X505F|TB-X505L|TB-X505X|TB-X605F|TB-X605L|TB-8703F|TB-8703X|TB-8703N|TB-8704N|TB-8704F|TB-8704X|TB-8704V|TB-7304F|TB-7304I|TB-7304X|Tab2A7-10F|Tab2A7-20F|TB2-X30L|YT3-X50L|YT3-X50F|YT3-X50M|YT-X705F|YT-X703F|YT-X703L|YT-X705L|YT-X705X|TB2-X30F|TB2-X30L|TB2-X30M|A2107A-F|A2107A-H|TB3-730F|TB3-730M|TB3-730X|TB-7504F|TB-7504X",DellTablet:"Venue 11|Venue 8|Venue 7|Dell Streak 10|Dell Streak 7",YarvikTablet:"Android.*\\b(TAB210|TAB211|TAB224|TAB250|TAB260|TAB264|TAB310|TAB360|TAB364|TAB410|TAB411|TAB420|TAB424|TAB450|TAB460|TAB461|TAB464|TAB465|TAB467|TAB468|TAB07-100|TAB07-101|TAB07-150|TAB07-151|TAB07-152|TAB07-200|TAB07-201-3G|TAB07-210|TAB07-211|TAB07-212|TAB07-214|TAB07-220|TAB07-400|TAB07-485|TAB08-150|TAB08-200|TAB08-201-3G|TAB08-201-30|TAB09-100|TAB09-211|TAB09-410|TAB10-150|TAB10-201|TAB10-211|TAB10-400|TAB10-410|TAB13-201|TAB274EUK|TAB275EUK|TAB374EUK|TAB462EUK|TAB474EUK|TAB9-200)\\b",MedionTablet:"Android.*\\bOYO\\b|LIFE.*(P9212|P9514|P9516|S9512)|LIFETAB",ArnovaTablet:"97G4|AN10G2|AN7bG3|AN7fG3|AN8G3|AN8cG3|AN7G3|AN9G3|AN7dG3|AN7dG3ST|AN7dG3ChildPad|AN10bG3|AN10bG3DT|AN9G2",IntensoTablet:"INM8002KP|INM1010FP|INM805ND|Intenso Tab|TAB1004",IRUTablet:"M702pro",MegafonTablet:"MegaFon V9|\\bZTE V9\\b|Android.*\\bMT7A\\b",EbodaTablet:"E-Boda (Supreme|Impresspeed|Izzycomm|Essential)",AllViewTablet:"Allview.*(Viva|Alldro|City|Speed|All TV|Frenzy|Quasar|Shine|TX1|AX1|AX2)",ArchosTablet:"\\b(101G9|80G9|A101IT)\\b|Qilive 97R|Archos5|\\bARCHOS (70|79|80|90|97|101|FAMILYPAD|)(b|c|)(G10| Cobalt| TITANIUM(HD|)| Xenon| Neon|XSK| 2| XS 2| PLATINUM| CARBON|GAMEPAD)\\b",AinolTablet:"NOVO7|NOVO8|NOVO10|Novo7Aurora|Novo7Basic|NOVO7PALADIN|novo9-Spark",NokiaLumiaTablet:"Lumia 2520",SonyTablet:"Sony.*Tablet|Xperia Tablet|Sony Tablet S|SO-03E|SGPT12|SGPT13|SGPT114|SGPT121|SGPT122|SGPT123|SGPT111|SGPT112|SGPT113|SGPT131|SGPT132|SGPT133|SGPT211|SGPT212|SGPT213|SGP311|SGP312|SGP321|EBRD1101|EBRD1102|EBRD1201|SGP351|SGP341|SGP511|SGP512|SGP521|SGP541|SGP551|SGP621|SGP641|SGP612|SOT31|SGP771|SGP611|SGP612|SGP712",PhilipsTablet:"\\b(PI2010|PI3000|PI3100|PI3105|PI3110|PI3205|PI3210|PI3900|PI4010|PI7000|PI7100)\\b",CubeTablet:"Android.*(K8GT|U9GT|U10GT|U16GT|U17GT|U18GT|U19GT|U20GT|U23GT|U30GT)|CUBE U8GT",CobyTablet:"MID1042|MID1045|MID1125|MID1126|MID7012|MID7014|MID7015|MID7034|MID7035|MID7036|MID7042|MID7048|MID7127|MID8042|MID8048|MID8127|MID9042|MID9740|MID9742|MID7022|MID7010",MIDTablet:"M9701|M9000|M9100|M806|M1052|M806|T703|MID701|MID713|MID710|MID727|MID760|MID830|MID728|MID933|MID125|MID810|MID732|MID120|MID930|MID800|MID731|MID900|MID100|MID820|MID735|MID980|MID130|MID833|MID737|MID960|MID135|MID860|MID736|MID140|MID930|MID835|MID733|MID4X10",MSITablet:"MSI \\b(Primo 73K|Primo 73L|Primo 81L|Primo 77|Primo 93|Primo 75|Primo 76|Primo 73|Primo 81|Primo 91|Primo 90|Enjoy 71|Enjoy 7|Enjoy 10)\\b",SMiTTablet:"Android.*(\\bMID\\b|MID-560|MTV-T1200|MTV-PND531|MTV-P1101|MTV-PND530)",RockChipTablet:"Android.*(RK2818|RK2808A|RK2918|RK3066)|RK2738|RK2808A",FlyTablet:"IQ310|Fly Vision",bqTablet:"Android.*(bq)?.*\\b(Elcano|Curie|Edison|Maxwell|Kepler|Pascal|Tesla|Hypatia|Platon|Newton|Livingstone|Cervantes|Avant|Aquaris ([E|M]10|M8))\\b|Maxwell.*Lite|Maxwell.*Plus",HuaweiTablet:"MediaPad|MediaPad 7 Youth|IDEOS S7|S7-201c|S7-202u|S7-101|S7-103|S7-104|S7-105|S7-106|S7-201|S7-Slim|M2-A01L|BAH-L09|BAH-W09|AGS-L09|CMR-AL19",NecTablet:"\\bN-06D|\\bN-08D",PantechTablet:"Pantech.*P4100",BronchoTablet:"Broncho.*(N701|N708|N802|a710)",VersusTablet:"TOUCHPAD.*[78910]|\\bTOUCHTAB\\b",ZyncTablet:"z1000|Z99 2G|z930|z990|z909|Z919|z900",PositivoTablet:"TB07STA|TB10STA|TB07FTA|TB10FTA",NabiTablet:"Android.*\\bNabi",KoboTablet:"Kobo Touch|\\bK080\\b|\\bVox\\b Build|\\bArc\\b Build",DanewTablet:"DSlide.*\\b(700|701R|702|703R|704|802|970|971|972|973|974|1010|1012)\\b",TexetTablet:"NaviPad|TB-772A|TM-7045|TM-7055|TM-9750|TM-7016|TM-7024|TM-7026|TM-7041|TM-7043|TM-7047|TM-8041|TM-9741|TM-9747|TM-9748|TM-9751|TM-7022|TM-7021|TM-7020|TM-7011|TM-7010|TM-7023|TM-7025|TM-7037W|TM-7038W|TM-7027W|TM-9720|TM-9725|TM-9737W|TM-1020|TM-9738W|TM-9740|TM-9743W|TB-807A|TB-771A|TB-727A|TB-725A|TB-719A|TB-823A|TB-805A|TB-723A|TB-715A|TB-707A|TB-705A|TB-709A|TB-711A|TB-890HD|TB-880HD|TB-790HD|TB-780HD|TB-770HD|TB-721HD|TB-710HD|TB-434HD|TB-860HD|TB-840HD|TB-760HD|TB-750HD|TB-740HD|TB-730HD|TB-722HD|TB-720HD|TB-700HD|TB-500HD|TB-470HD|TB-431HD|TB-430HD|TB-506|TB-504|TB-446|TB-436|TB-416|TB-146SE|TB-126SE",PlaystationTablet:"Playstation.*(Portable|Vita)",TrekstorTablet:"ST10416-1|VT10416-1|ST70408-1|ST702xx-1|ST702xx-2|ST80208|ST97216|ST70104-2|VT10416-2|ST10216-2A|SurfTab",PyleAudioTablet:"\\b(PTBL10CEU|PTBL10C|PTBL72BC|PTBL72BCEU|PTBL7CEU|PTBL7C|PTBL92BC|PTBL92BCEU|PTBL9CEU|PTBL9CUK|PTBL9C)\\b",AdvanTablet:"Android.* \\b(E3A|T3X|T5C|T5B|T3E|T3C|T3B|T1J|T1F|T2A|T1H|T1i|E1C|T1-E|T5-A|T4|E1-B|T2Ci|T1-B|T1-D|O1-A|E1-A|T1-A|T3A|T4i)\\b ",DanyTechTablet:"Genius Tab G3|Genius Tab S2|Genius Tab Q3|Genius Tab G4|Genius Tab Q4|Genius Tab G-II|Genius TAB GII|Genius TAB GIII|Genius Tab S1",GalapadTablet:"Android.*\\bG1\\b(?!\\))",MicromaxTablet:"Funbook|Micromax.*\\b(P250|P560|P360|P362|P600|P300|P350|P500|P275)\\b",KarbonnTablet:"Android.*\\b(A39|A37|A34|ST8|ST10|ST7|Smart Tab3|Smart Tab2)\\b",AllFineTablet:"Fine7 Genius|Fine7 Shine|Fine7 Air|Fine8 Style|Fine9 More|Fine10 Joy|Fine11 Wide",PROSCANTablet:"\\b(PEM63|PLT1023G|PLT1041|PLT1044|PLT1044G|PLT1091|PLT4311|PLT4311PL|PLT4315|PLT7030|PLT7033|PLT7033D|PLT7035|PLT7035D|PLT7044K|PLT7045K|PLT7045KB|PLT7071KG|PLT7072|PLT7223G|PLT7225G|PLT7777G|PLT7810K|PLT7849G|PLT7851G|PLT7852G|PLT8015|PLT8031|PLT8034|PLT8036|PLT8080K|PLT8082|PLT8088|PLT8223G|PLT8234G|PLT8235G|PLT8816K|PLT9011|PLT9045K|PLT9233G|PLT9735|PLT9760G|PLT9770G)\\b",YONESTablet:"BQ1078|BC1003|BC1077|RK9702|BC9730|BC9001|IT9001|BC7008|BC7010|BC708|BC728|BC7012|BC7030|BC7027|BC7026",ChangJiaTablet:"TPC7102|TPC7103|TPC7105|TPC7106|TPC7107|TPC7201|TPC7203|TPC7205|TPC7210|TPC7708|TPC7709|TPC7712|TPC7110|TPC8101|TPC8103|TPC8105|TPC8106|TPC8203|TPC8205|TPC8503|TPC9106|TPC9701|TPC97101|TPC97103|TPC97105|TPC97106|TPC97111|TPC97113|TPC97203|TPC97603|TPC97809|TPC97205|TPC10101|TPC10103|TPC10106|TPC10111|TPC10203|TPC10205|TPC10503",GUTablet:"TX-A1301|TX-M9002|Q702|kf026",PointOfViewTablet:"TAB-P506|TAB-navi-7-3G-M|TAB-P517|TAB-P-527|TAB-P701|TAB-P703|TAB-P721|TAB-P731N|TAB-P741|TAB-P825|TAB-P905|TAB-P925|TAB-PR945|TAB-PL1015|TAB-P1025|TAB-PI1045|TAB-P1325|TAB-PROTAB[0-9]+|TAB-PROTAB25|TAB-PROTAB26|TAB-PROTAB27|TAB-PROTAB26XL|TAB-PROTAB2-IPS9|TAB-PROTAB30-IPS9|TAB-PROTAB25XXL|TAB-PROTAB26-IPS10|TAB-PROTAB30-IPS10",OvermaxTablet:"OV-(SteelCore|NewBase|Basecore|Baseone|Exellen|Quattor|EduTab|Solution|ACTION|BasicTab|TeddyTab|MagicTab|Stream|TB-08|TB-09)|Qualcore 1027",HCLTablet:"HCL.*Tablet|Connect-3G-2.0|Connect-2G-2.0|ME Tablet U1|ME Tablet U2|ME Tablet G1|ME Tablet X1|ME Tablet Y2|ME Tablet Sync",DPSTablet:"DPS Dream 9|DPS Dual 7",VistureTablet:"V97 HD|i75 3G|Visture V4( HD)?|Visture V5( HD)?|Visture V10",CrestaTablet:"CTP(-)?810|CTP(-)?818|CTP(-)?828|CTP(-)?838|CTP(-)?888|CTP(-)?978|CTP(-)?980|CTP(-)?987|CTP(-)?988|CTP(-)?989",MediatekTablet:"\\bMT8125|MT8389|MT8135|MT8377\\b",ConcordeTablet:"Concorde([ ]+)?Tab|ConCorde ReadMan",GoCleverTablet:"GOCLEVER TAB|A7GOCLEVER|M1042|M7841|M742|R1042BK|R1041|TAB A975|TAB A7842|TAB A741|TAB A741L|TAB M723G|TAB M721|TAB A1021|TAB I921|TAB R721|TAB I720|TAB T76|TAB R70|TAB R76.2|TAB R106|TAB R83.2|TAB M813G|TAB I721|GCTA722|TAB I70|TAB I71|TAB S73|TAB R73|TAB R74|TAB R93|TAB R75|TAB R76.1|TAB A73|TAB A93|TAB A93.2|TAB T72|TAB R83|TAB R974|TAB R973|TAB A101|TAB A103|TAB A104|TAB A104.2|R105BK|M713G|A972BK|TAB A971|TAB R974.2|TAB R104|TAB R83.3|TAB A1042",ModecomTablet:"FreeTAB 9000|FreeTAB 7.4|FreeTAB 7004|FreeTAB 7800|FreeTAB 2096|FreeTAB 7.5|FreeTAB 1014|FreeTAB 1001 |FreeTAB 8001|FreeTAB 9706|FreeTAB 9702|FreeTAB 7003|FreeTAB 7002|FreeTAB 1002|FreeTAB 7801|FreeTAB 1331|FreeTAB 1004|FreeTAB 8002|FreeTAB 8014|FreeTAB 9704|FreeTAB 1003",VoninoTablet:"\\b(Argus[ _]?S|Diamond[ _]?79HD|Emerald[ _]?78E|Luna[ _]?70C|Onyx[ _]?S|Onyx[ _]?Z|Orin[ _]?HD|Orin[ _]?S|Otis[ _]?S|SpeedStar[ _]?S|Magnet[ _]?M9|Primus[ _]?94[ _]?3G|Primus[ _]?94HD|Primus[ _]?QS|Android.*\\bQ8\\b|Sirius[ _]?EVO[ _]?QS|Sirius[ _]?QS|Spirit[ _]?S)\\b",ECSTablet:"V07OT2|TM105A|S10OT1|TR10CS1",StorexTablet:"eZee[_']?(Tab|Go)[0-9]+|TabLC7|Looney Tunes Tab",VodafoneTablet:"SmartTab([ ]+)?[0-9]+|SmartTabII10|SmartTabII7|VF-1497|VFD 1400",EssentielBTablet:"Smart[ ']?TAB[ ]+?[0-9]+|Family[ ']?TAB2",RossMoorTablet:"RM-790|RM-997|RMD-878G|RMD-974R|RMT-705A|RMT-701|RME-601|RMT-501|RMT-711",iMobileTablet:"i-mobile i-note",TolinoTablet:"tolino tab [0-9.]+|tolino shine",AudioSonicTablet:"\\bC-22Q|T7-QC|T-17B|T-17P\\b",AMPETablet:"Android.* A78 ",SkkTablet:"Android.* (SKYPAD|PHOENIX|CYCLOPS)",TecnoTablet:"TECNO P9|TECNO DP8D",JXDTablet:"Android.* \\b(F3000|A3300|JXD5000|JXD3000|JXD2000|JXD300B|JXD300|S5800|S7800|S602b|S5110b|S7300|S5300|S602|S603|S5100|S5110|S601|S7100a|P3000F|P3000s|P101|P200s|P1000m|P200m|P9100|P1000s|S6600b|S908|P1000|P300|S18|S6600|S9100)\\b",iJoyTablet:"Tablet (Spirit 7|Essentia|Galatea|Fusion|Onix 7|Landa|Titan|Scooby|Deox|Stella|Themis|Argon|Unique 7|Sygnus|Hexen|Finity 7|Cream|Cream X2|Jade|Neon 7|Neron 7|Kandy|Scape|Saphyr 7|Rebel|Biox|Rebel|Rebel 8GB|Myst|Draco 7|Myst|Tab7-004|Myst|Tadeo Jones|Tablet Boing|Arrow|Draco Dual Cam|Aurix|Mint|Amity|Revolution|Finity 9|Neon 9|T9w|Amity 4GB Dual Cam|Stone 4GB|Stone 8GB|Andromeda|Silken|X2|Andromeda II|Halley|Flame|Saphyr 9,7|Touch 8|Planet|Triton|Unique 10|Hexen 10|Memphis 4GB|Memphis 8GB|Onix 10)",FX2Tablet:"FX2 PAD7|FX2 PAD10",XoroTablet:"KidsPAD 701|PAD[ ]?712|PAD[ ]?714|PAD[ ]?716|PAD[ ]?717|PAD[ ]?718|PAD[ ]?720|PAD[ ]?721|PAD[ ]?722|PAD[ ]?790|PAD[ ]?792|PAD[ ]?900|PAD[ ]?9715D|PAD[ ]?9716DR|PAD[ ]?9718DR|PAD[ ]?9719QR|PAD[ ]?9720QR|TelePAD1030|Telepad1032|TelePAD730|TelePAD731|TelePAD732|TelePAD735Q|TelePAD830|TelePAD9730|TelePAD795|MegaPAD 1331|MegaPAD 1851|MegaPAD 2151",ViewsonicTablet:"ViewPad 10pi|ViewPad 10e|ViewPad 10s|ViewPad E72|ViewPad7|ViewPad E100|ViewPad 7e|ViewSonic VB733|VB100a",VerizonTablet:"QTAQZ3|QTAIR7|QTAQTZ3|QTASUN1|QTASUN2|QTAXIA1",OdysTablet:"LOOX|XENO10|ODYS[ -](Space|EVO|Xpress|NOON)|\\bXELIO\\b|Xelio10Pro|XELIO7PHONETAB|XELIO10EXTREME|XELIOPT2|NEO_QUAD10",CaptivaTablet:"CAPTIVA PAD",IconbitTablet:"NetTAB|NT-3702|NT-3702S|NT-3702S|NT-3603P|NT-3603P|NT-0704S|NT-0704S|NT-3805C|NT-3805C|NT-0806C|NT-0806C|NT-0909T|NT-0909T|NT-0907S|NT-0907S|NT-0902S|NT-0902S",TeclastTablet:"T98 4G|\\bP80\\b|\\bX90HD\\b|X98 Air|X98 Air 3G|\\bX89\\b|P80 3G|\\bX80h\\b|P98 Air|\\bX89HD\\b|P98 3G|\\bP90HD\\b|P89 3G|X98 3G|\\bP70h\\b|P79HD 3G|G18d 3G|\\bP79HD\\b|\\bP89s\\b|\\bA88\\b|\\bP10HD\\b|\\bP19HD\\b|G18 3G|\\bP78HD\\b|\\bA78\\b|\\bP75\\b|G17s 3G|G17h 3G|\\bP85t\\b|\\bP90\\b|\\bP11\\b|\\bP98t\\b|\\bP98HD\\b|\\bG18d\\b|\\bP85s\\b|\\bP11HD\\b|\\bP88s\\b|\\bA80HD\\b|\\bA80se\\b|\\bA10h\\b|\\bP89\\b|\\bP78s\\b|\\bG18\\b|\\bP85\\b|\\bA70h\\b|\\bA70\\b|\\bG17\\b|\\bP18\\b|\\bA80s\\b|\\bA11s\\b|\\bP88HD\\b|\\bA80h\\b|\\bP76s\\b|\\bP76h\\b|\\bP98\\b|\\bA10HD\\b|\\bP78\\b|\\bP88\\b|\\bA11\\b|\\bA10t\\b|\\bP76a\\b|\\bP76t\\b|\\bP76e\\b|\\bP85HD\\b|\\bP85a\\b|\\bP86\\b|\\bP75HD\\b|\\bP76v\\b|\\bA12\\b|\\bP75a\\b|\\bA15\\b|\\bP76Ti\\b|\\bP81HD\\b|\\bA10\\b|\\bT760VE\\b|\\bT720HD\\b|\\bP76\\b|\\bP73\\b|\\bP71\\b|\\bP72\\b|\\bT720SE\\b|\\bC520Ti\\b|\\bT760\\b|\\bT720VE\\b|T720-3GE|T720-WiFi",OndaTablet:"\\b(V975i|Vi30|VX530|V701|Vi60|V701s|Vi50|V801s|V719|Vx610w|VX610W|V819i|Vi10|VX580W|Vi10|V711s|V813|V811|V820w|V820|Vi20|V711|VI30W|V712|V891w|V972|V819w|V820w|Vi60|V820w|V711|V813s|V801|V819|V975s|V801|V819|V819|V818|V811|V712|V975m|V101w|V961w|V812|V818|V971|V971s|V919|V989|V116w|V102w|V973|Vi40)\\b[\\s]+|V10 \\b4G\\b",JaytechTablet:"TPC-PA762",BlaupunktTablet:"Endeavour 800NG|Endeavour 1010",DigmaTablet:"\\b(iDx10|iDx9|iDx8|iDx7|iDxD7|iDxD8|iDsQ8|iDsQ7|iDsQ8|iDsD10|iDnD7|3TS804H|iDsQ11|iDj7|iDs10)\\b",EvolioTablet:"ARIA_Mini_wifi|Aria[ _]Mini|Evolio X10|Evolio X7|Evolio X8|\\bEvotab\\b|\\bNeura\\b",LavaTablet:"QPAD E704|\\bIvoryS\\b|E-TAB IVORY|\\bE-TAB\\b",AocTablet:"MW0811|MW0812|MW0922|MTK8382|MW1031|MW0831|MW0821|MW0931|MW0712",MpmanTablet:"MP11 OCTA|MP10 OCTA|MPQC1114|MPQC1004|MPQC994|MPQC974|MPQC973|MPQC804|MPQC784|MPQC780|\\bMPG7\\b|MPDCG75|MPDCG71|MPDC1006|MP101DC|MPDC9000|MPDC905|MPDC706HD|MPDC706|MPDC705|MPDC110|MPDC100|MPDC99|MPDC97|MPDC88|MPDC8|MPDC77|MP709|MID701|MID711|MID170|MPDC703|MPQC1010",CelkonTablet:"CT695|CT888|CT[\\s]?910|CT7 Tab|CT9 Tab|CT3 Tab|CT2 Tab|CT1 Tab|C820|C720|\\bCT-1\\b",WolderTablet:"miTab \\b(DIAMOND|SPACE|BROOKLYN|NEO|FLY|MANHATTAN|FUNK|EVOLUTION|SKY|GOCAR|IRON|GENIUS|POP|MINT|EPSILON|BROADWAY|JUMP|HOP|LEGEND|NEW AGE|LINE|ADVANCE|FEEL|FOLLOW|LIKE|LINK|LIVE|THINK|FREEDOM|CHICAGO|CLEVELAND|BALTIMORE-GH|IOWA|BOSTON|SEATTLE|PHOENIX|DALLAS|IN 101|MasterChef)\\b",MediacomTablet:"M-MPI10C3G|M-SP10EG|M-SP10EGP|M-SP10HXAH|M-SP7HXAH|M-SP10HXBH|M-SP8HXAH|M-SP8MXA",MiTablet:"\\bMI PAD\\b|\\bHM NOTE 1W\\b",NibiruTablet:"Nibiru M1|Nibiru Jupiter One",NexoTablet:"NEXO NOVA|NEXO 10|NEXO AVIO|NEXO FREE|NEXO GO|NEXO EVO|NEXO 3G|NEXO SMART|NEXO KIDDO|NEXO MOBI",LeaderTablet:"TBLT10Q|TBLT10I|TBL-10WDKB|TBL-10WDKBO2013|TBL-W230V2|TBL-W450|TBL-W500|SV572|TBLT7I|TBA-AC7-8G|TBLT79|TBL-8W16|TBL-10W32|TBL-10WKB|TBL-W100",UbislateTablet:"UbiSlate[\\s]?7C",PocketBookTablet:"Pocketbook",KocasoTablet:"\\b(TB-1207)\\b",HisenseTablet:"\\b(F5281|E2371)\\b",Hudl:"Hudl HT7S3|Hudl 2",TelstraTablet:"T-Hub2",GenericTablet:"Android.*\\b97D\\b|Tablet(?!.*PC)|BNTV250A|MID-WCDMA|LogicPD Zoom2|\\bA7EB\\b|CatNova8|A1_07|CT704|CT1002|\\bM721\\b|rk30sdk|\\bEVOTAB\\b|M758A|ET904|ALUMIUM10|Smartfren Tab|Endeavour 1010|Tablet-PC-4|Tagi Tab|\\bM6pro\\b|CT1020W|arc 10HD|\\bTP750\\b|\\bQTAQZ3\\b|WVT101|TM1088|KT107"},oss:{AndroidOS:"Android",BlackBerryOS:"blackberry|\\bBB10\\b|rim tablet os",PalmOS:"PalmOS|avantgo|blazer|elaine|hiptop|palm|plucker|xiino",SymbianOS:"Symbian|SymbOS|Series60|Series40|SYB-[0-9]+|\\bS60\\b",WindowsMobileOS:"Windows CE.*(PPC|Smartphone|Mobile|[0-9]{3}x[0-9]{3})|Windows Mobile|Windows Phone [0-9.]+|WCE;",WindowsPhoneOS:"Windows Phone 10.0|Windows Phone 8.1|Windows Phone 8.0|Windows Phone OS|XBLWP7|ZuneWP7|Windows NT 6.[23]; ARM;",iOS:"\\biPhone.*Mobile|\\biPod|\\biPad|AppleCoreMedia",iPadOS:"CPU OS 13",MeeGoOS:"MeeGo",MaemoOS:"Maemo",JavaOS:"J2ME/|\\bMIDP\\b|\\bCLDC\\b",webOS:"webOS|hpwOS",badaOS:"\\bBada\\b",BREWOS:"BREW"},uas:{Chrome:"\\bCrMo\\b|CriOS|Android.*Chrome/[.0-9]* (Mobile)?",Dolfin:"\\bDolfin\\b",Opera:"Opera.*Mini|Opera.*Mobi|Android.*Opera|Mobile.*OPR/[0-9.]+$|Coast/[0-9.]+",Skyfire:"Skyfire",Edge:"Mobile Safari/[.0-9]* Edge",IE:"IEMobile|MSIEMobile",Firefox:"fennec|firefox.*maemo|(Mobile|Tablet).*Firefox|Firefox.*Mobile|FxiOS",Bolt:"bolt",TeaShark:"teashark",Blazer:"Blazer",Safari:"Version.*Mobile.*Safari|Safari.*Mobile|MobileSafari",WeChat:"\\bMicroMessenger\\b",UCBrowser:"UC.*Browser|UCWEB",baiduboxapp:"baiduboxapp",baidubrowser:"baidubrowser",DiigoBrowser:"DiigoBrowser",Mercury:"\\bMercury\\b",ObigoBrowser:"Obigo",NetFront:"NF-Browser",GenericBrowser:"NokiaBrowser|OviBrowser|OneBrowser|TwonkyBeamBrowser|SEMC.*Browser|FlyFlow|Minimo|NetFront|Novarra-Vision|MQQBrowser|MicroMessenger",PaleMoon:"Android.*PaleMoon|Mobile.*PaleMoon"},props:{Mobile:"Mobile/[VER]",Build:"Build/[VER]",Version:"Version/[VER]",VendorID:"VendorID/[VER]",iPad:"iPad.*CPU[a-z ]+[VER]",iPhone:"iPhone.*CPU[a-z ]+[VER]",iPod:"iPod.*CPU[a-z ]+[VER]",Kindle:"Kindle/[VER]",Chrome:["Chrome/[VER]","CriOS/[VER]","CrMo/[VER]"],Coast:["Coast/[VER]"],Dolfin:"Dolfin/[VER]",Firefox:["Firefox/[VER]","FxiOS/[VER]"],Fennec:"Fennec/[VER]",Edge:"Edge/[VER]",IE:["IEMobile/[VER];","IEMobile [VER]","MSIE [VER];","Trident/[0-9.]+;.*rv:[VER]"],NetFront:"NetFront/[VER]",NokiaBrowser:"NokiaBrowser/[VER]",Opera:[" OPR/[VER]","Opera Mini/[VER]","Version/[VER]"],"Opera Mini":"Opera Mini/[VER]","Opera Mobi":"Version/[VER]",UCBrowser:["UCWEB[VER]","UC.*Browser/[VER]"],MQQBrowser:"MQQBrowser/[VER]",MicroMessenger:"MicroMessenger/[VER]",baiduboxapp:"baiduboxapp/[VER]",baidubrowser:"baidubrowser/[VER]",SamsungBrowser:"SamsungBrowser/[VER]",Iron:"Iron/[VER]",Safari:["Version/[VER]","Safari/[VER]"],Skyfire:"Skyfire/[VER]",Tizen:"Tizen/[VER]",Webkit:"webkit[ /][VER]",PaleMoon:"PaleMoon/[VER]",Gecko:"Gecko/[VER]",Trident:"Trident/[VER]",Presto:"Presto/[VER]",Goanna:"Goanna/[VER]",iOS:" \\bi?OS\\b [VER][ ;]{1}",Android:"Android [VER]",BlackBerry:["BlackBerry[\\w]+/[VER]","BlackBerry.*Version/[VER]","Version/[VER]"],BREW:"BREW [VER]",Java:"Java/[VER]","Windows Phone OS":["Windows Phone OS [VER]","Windows Phone [VER]"],"Windows Phone":"Windows Phone [VER]","Windows CE":"Windows CE/[VER]","Windows NT":"Windows NT [VER]",Symbian:["SymbianOS/[VER]","Symbian/[VER]"],webOS:["webOS/[VER]","hpwOS/[VER];"]},utils:{Bot:"Googlebot|facebookexternalhit|Google-AMPHTML|s~amp-validator|AdsBot-Google|Google Keyword Suggestion|Facebot|YandexBot|YandexMobileBot|bingbot|ia_archiver|AhrefsBot|Ezooms|GSLFbot|WBSearchBot|Twitterbot|TweetmemeBot|Twikle|PaperLiBot|Wotbox|UnwindFetchor|Exabot|MJ12bot|YandexImages|TurnitinBot|Pingdom|contentkingapp",MobileBot:"Googlebot-Mobile|AdsBot-Google-Mobile|YahooSeeker/M1A1-R2D2",DesktopMode:"WPDesktop",TV:"SonyDTV|HbbTV",WebKit:"(webkit)[ /]([\\w.]+)",Console:"\\b(Nintendo|Nintendo WiiU|Nintendo 3DS|Nintendo Switch|PLAYSTATION|Xbox)\\b",Watch:"SM-V700"}},detectMobileBrowsers:{fullPattern:/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i,shortPattern:/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i,tabletPattern:/android|ipad|playbook|silk/i}},u=Object.prototype.hasOwnProperty;function t(e,t){return null!=e&&null!=t&&e.toLowerCase()===t.toLowerCase()}function i(e,t){var i,r,o=e.length;if(!o||!t)return!1;for(i=t.toLowerCase(),r=0;r<o;++r)if(i===e[r].toLowerCase())return!0;return!1}function c(e){for(var t in e)u.call(e,t)&&(e[t]=new RegExp(e[t],"i"))}function a(e,t){this.ua=(e||"").substr(0,500),this._cache={},this.maxPhoneWidth=t||600}return l.FALLBACK_PHONE="UnknownPhone",l.FALLBACK_TABLET="UnknownTablet",l.FALLBACK_MOBILE="UnknownMobile",s="isArray"in Array?Array.isArray:function(e){return"[object Array]"===Object.prototype.toString.call(e)},function(){var e,t,i,r,o,n,a=l.mobileDetectRules;for(e in a.props)if(u.call(a.props,e)){for(t=a.props[e],s(t)||(t=[t]),o=t.length,r=0;r<o;++r)0<=(n=(i=t[r]).indexOf("[VER]"))&&(i=i.substring(0,n)+"([\\w._\\+]+)"+i.substring(n+5)),t[r]=new RegExp(i,"i");a.props[e]=t}c(a.oss),c(a.phones),c(a.tablets),c(a.uas),c(a.utils),a.oss0={WindowsPhoneOS:a.oss.WindowsPhoneOS,WindowsMobileOS:a.oss.WindowsMobileOS}}(),l.findMatch=function(e,t){for(var i in e)if(u.call(e,i)&&e[i].test(t))return i;return null},l.findMatches=function(e,t){var i=[];for(var r in e)u.call(e,r)&&e[r].test(t)&&i.push(r);return i},l.getVersionStr=function(e,t){var i,r,o,n,a=l.mobileDetectRules.props;if(u.call(a,e))for(o=(i=a[e]).length,r=0;r<o;++r)if(null!==(n=i[r].exec(t)))return n[1];return null},l.getVersion=function(e,t){var i=l.getVersionStr(e,t);return i?l.prepareVersionNo(i):NaN},l.prepareVersionNo=function(e){var t;return 1===(t=e.split(/[a-z._ \/\-]/i)).length&&(e=t[0]),1<t.length&&(e=t[0]+".",t.shift(),e+=t.join("")),Number(e)},l.isMobileFallback=function(e){return l.detectMobileBrowsers.fullPattern.test(e)||l.detectMobileBrowsers.shortPattern.test(e.substr(0,4))},l.isTabletFallback=function(e){return l.detectMobileBrowsers.tabletPattern.test(e)},l.prepareDetectionCache=function(e,t,i){if(e.mobile===d){var r,o,n;if(o=l.findMatch(l.mobileDetectRules.tablets,t))return e.mobile=e.tablet=o,void(e.phone=null);if(r=l.findMatch(l.mobileDetectRules.phones,t))return e.mobile=e.phone=r,void(e.tablet=null);l.isMobileFallback(t)?(n=a.isPhoneSized(i))===d?(e.mobile=l.FALLBACK_MOBILE,e.tablet=e.phone=null):n?(e.mobile=e.phone=l.FALLBACK_PHONE,e.tablet=null):(e.mobile=e.tablet=l.FALLBACK_TABLET,e.phone=null):l.isTabletFallback(t)?(e.mobile=e.tablet=l.FALLBACK_TABLET,e.phone=null):e.mobile=e.tablet=e.phone=null}},l.mobileGrade=function(e){var t=null!==e.mobile();return e.os("iOS")&&4.3<=e.version("iPad")||e.os("iOS")&&3.1<=e.version("iPhone")||e.os("iOS")&&3.1<=e.version("iPod")||2.1<e.version("Android")&&e.is("Webkit")||7<=e.version("Windows Phone OS")||e.is("BlackBerry")&&6<=e.version("BlackBerry")||e.match("Playbook.*Tablet")||1.4<=e.version("webOS")&&e.match("Palm|Pre|Pixi")||e.match("hp.*TouchPad")||e.is("Firefox")&&12<=e.version("Firefox")||e.is("Chrome")&&e.is("AndroidOS")&&4<=e.version("Android")||e.is("Skyfire")&&4.1<=e.version("Skyfire")&&e.is("AndroidOS")&&2.3<=e.version("Android")||e.is("Opera")&&11<e.version("Opera Mobi")&&e.is("AndroidOS")||e.is("MeeGoOS")||e.is("Tizen")||e.is("Dolfin")&&2<=e.version("Bada")||(e.is("UC Browser")||e.is("Dolfin"))&&2.3<=e.version("Android")||e.match("Kindle Fire")||e.is("Kindle")&&3<=e.version("Kindle")||e.is("AndroidOS")&&e.is("NookTablet")||11<=e.version("Chrome")&&!t||5<=e.version("Safari")&&!t||4<=e.version("Firefox")&&!t||7<=e.version("MSIE")&&!t||10<=e.version("Opera")&&!t?"A":e.os("iOS")&&e.version("iPad")<4.3||e.os("iOS")&&e.version("iPhone")<3.1||e.os("iOS")&&e.version("iPod")<3.1||e.is("Blackberry")&&5<=e.version("BlackBerry")&&e.version("BlackBerry")<6||5<=e.version("Opera Mini")&&e.version("Opera Mini")<=6.5&&(2.3<=e.version("Android")||e.is("iOS"))||e.match("NokiaN8|NokiaC7|N97.*Series60|Symbian/3")||11<=e.version("Opera Mobi")&&e.is("SymbianOS")?"B":(e.version("BlackBerry")<5||e.match("MSIEMobile|Windows CE.*Mobile")||e.version("Windows Mobile"),"C")},l.detectOS=function(e){return l.findMatch(l.mobileDetectRules.oss0,e)||l.findMatch(l.mobileDetectRules.oss,e)},l.getDeviceSmallerSide=function(){return window.screen.width<window.screen.height?window.screen.width:window.screen.height},a.prototype={constructor:a,mobile:function(){return l.prepareDetectionCache(this._cache,this.ua,this.maxPhoneWidth),this._cache.mobile},phone:function(){return l.prepareDetectionCache(this._cache,this.ua,this.maxPhoneWidth),this._cache.phone},tablet:function(){return l.prepareDetectionCache(this._cache,this.ua,this.maxPhoneWidth),this._cache.tablet},userAgent:function(){return this._cache.userAgent===d&&(this._cache.userAgent=l.findMatch(l.mobileDetectRules.uas,this.ua)),this._cache.userAgent},userAgents:function(){return this._cache.userAgents===d&&(this._cache.userAgents=l.findMatches(l.mobileDetectRules.uas,this.ua)),this._cache.userAgents},os:function(){return this._cache.os===d&&(this._cache.os=l.detectOS(this.ua)),this._cache.os},version:function(e){return l.getVersion(e,this.ua)},versionStr:function(e){return l.getVersionStr(e,this.ua)},is:function(e){return i(this.userAgents(),e)||t(e,this.os())||t(e,this.phone())||t(e,this.tablet())||i(l.findMatches(l.mobileDetectRules.utils,this.ua),e)},match:function(e){return e instanceof RegExp||(e=new RegExp(e,"i")),e.test(this.ua)},isPhoneSized:function(e){return a.isPhoneSized(e||this.maxPhoneWidth)},mobileGrade:function(){return this._cache.grade===d&&(this._cache.grade=l.mobileGrade(this)),this._cache.grade}},"undefined"!=typeof window&&window.screen?a.isPhoneSized=function(e){return e<0?d:l.getDeviceSmallerSide()<=e}:a.isPhoneSized=function(){},a._impl=l,a.version="1.4.4 2019-09-21",a})},yu08:function(e,t,i){e.exports=function o(n,a,s){function l(i,e){if(!a[i]){if(!n[i]){if(u)return u(i,!0);var t=new Error("Cannot find module '"+i+"'");throw t.code="MODULE_NOT_FOUND",t}var r=a[i]={exports:{}};n[i][0].call(r.exports,function(e){var t=n[i][1][e];return l(t||e)},r,r.exports,o,n,a,s)}return a[i].exports}for(var u=!1,e=0;e<s.length;e++)l(s[e]);return l}({1:[function(e,t,i){!function(e,t){if(0,void 0!==i)t();else{t(),e.lgFullscreen={}}}(this,function(){"use strict";var t=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&(e[r]=i[r])}return e},i={fullScreen:!0};function r(){return document.fullscreenElement||document.mozFullScreenElement||document.webkitFullscreenElement||document.msFullscreenElement}var e=function(e){return this.el=e,this.core=window.lgData[this.el.getAttribute("lg-uid")],this.core.s=t({},i,this.core.s),this.init(),this};e.prototype.init=function(){var e="";if(this.core.s.fullScreen){if(!(document.fullscreenEnabled||document.webkitFullscreenEnabled||document.mozFullScreenEnabled||document.msFullscreenEnabled))return;e='<button aria-label="Toggle fullscreen" class="lg-fullscreen lg-icon"></button>',this.core.outer.querySelector(".lg-toolbar").insertAdjacentHTML("beforeend",e),this.fullScreen()}},e.prototype.requestFullscreen=function(){var e=document.documentElement;e.requestFullscreen?e.requestFullscreen():e.msRequestFullscreen?e.msRequestFullscreen():e.mozRequestFullScreen?e.mozRequestFullScreen():e.webkitRequestFullscreen&&e.webkitRequestFullscreen()},e.prototype.exitFullscreen=function(){document.exitFullscreen?document.exitFullscreen():document.msExitFullscreen?document.msExitFullscreen():document.mozCancelFullScreen?document.mozCancelFullScreen():document.webkitExitFullscreen&&document.webkitExitFullscreen()},e.prototype.fullScreen=function(){var e=this;utils.on(document,"fullscreenchange.lgfullscreen webkitfullscreenchange.lgfullscreen mozfullscreenchange.lgfullscreen MSFullscreenChange.lgfullscreen",function(){utils.hasClass(e.core.outer,"lg-fullscreen-on")?utils.removeClass(e.core.outer,"lg-fullscreen-on"):utils.addClass(e.core.outer,"lg-fullscreen-on")}),utils.on(this.core.outer.querySelector(".lg-fullscreen"),"click.lg",function(){r()?e.exitFullscreen():e.requestFullscreen()})},e.prototype.destroy=function(){r()&&this.exitFullscreen(),utils.off(document,".lgfullscreen")},window.lgModules.fullscreen=e})},{}]},{},[1])(1)},zXhZ:function(e,t,i){var r=i("5K7Z"),o=i("93I4"),n=i("ZW5q");e.exports=function(e,t){if(r(e),o(t)&&t.constructor===e)return t;var i=n.f(e);return(0,i.resolve)(t),i.promise}}},o.c=r,o.d=function(e,t,i){o.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(t,e){if(1&e&&(t=o(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(o.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)o.d(i,r,function(e){return t[e]}.bind(null,r));return i},o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p="",o(o.s="1AmZ")).default;function o(e){if(r[e])return r[e].exports;var t=r[e]={i:e,l:!1,exports:{}};return i[e].call(t.exports,t,t.exports,o),t.l=!0,t.exports}var i,r});