PageSourceSearch

https://www.sram.com/common/bundles/v-639257081186710284/main.js

js sram.com collected 2026-09-24 08:53:01 UTC 1,053,641 bytes, 2 lines download raw bytes

1/*! For license information please see main.js.LICENSE.txt */
2!function(){var e={800:function(e,t,n){var r=n(974),i=n(755),o=function(e){this.namespace="Collapse",this.$element=e,this.classParent="collapse",this.classParentMobileOnly="collapse--mobile",this.classParentOpen="collapse--open",this.classTrigger="collapse-trigger",this.$trigger=e.find("."+this.classTrigger),this.isMobileOnly=this.$element.hasClass(this.classParentMobileOnly),this.isMobile=!1,this.init()};o.prototype={init:function(){var e=this;r.register("screen and (max-width:1024px)",{match:function(){e.isMobile=!0},unmatch:function(){e.isMobile=!1,e.isMobileOnly&&e.$element.removeClass(this.classParentOpen)}}),e.$trigger.length&&e.$trigger.on("click."+e.namespace,(function(t){t.preventDefault(),!e.isMobile&&e.isMobileOnly||(e.$element.hasClass(e.classParentOpen)?e.$element.removeClass(e.classParentOpen):e.$element.addClass(e.classParentOpen))}))}},i((function(){var e=i(".collapse");0!=e.length&&e.each((function(){new o(i(this))}))}))},515:function(e,t,n){var r=n(755);r((function(){r("#storemapper");var e=setInterval((function(){var n=r("#storemapper-left");if(n.length){clearInterval(e);var i=r("#dealer-locator-title");t(n,i),r(window).resize((function(){t(n,i)}))}}),100);function t(e,t){e.css("padding-top",t.height()+38+"px")}}))},816:function(e,t,n){var r=n(755);r((function(){var e=r(".hero-carousel-slides").children().length;r(".hero-carousel-arrows-pager-total").text(e),r(".hero-carousel .hero-carousel-slides").slick({arrows:!0,appendArrows:r(".hero-carousel-arrows"),dots:!0,appendDots:r(".hero-carousel"),dotsClass:"hero-carousel-dots",infinite:!0,fade:!0,cssEase:"linear",autoplay:!0,autoplaySpeed:7e3}),r(".hero-carousel .hero-carousel-slides").on("beforeChange",(function(e,t,n,i){r(".hero-carousel-arrows-pager-current").text(i+1)}))}))},420:function(e,t,n){var r=n(755),i=function(e){this.$element=e,this.classImg="image-gallery-img",this.classImgActive=this.classImg+"--active",this.classNav="image-gallery-navigation-item",this.classNavActive=this.classNav+"--active",this.$imgs=this.$element.find("."+this.classImg),this.$thumbnails=this.$element.find("."+this.classNav),this.init()};i.prototype={init:function(){var e=this;e.$thumbnails.on("click touchend",(function(t){t.preventDefault();var n=r(this),i=n.attr("rel");e.$imgs.removeClass(e.classImgActive),e.$element.find("#"+i).addClass(e.classImgActive),e.$thumbnails.removeClass(e.classNavActive),n.addClass(e.classNavActive)}))}},r((function(){var e=r(".image-gallery");0!=e.length&&e.each((function(){new i(r(this))}))}))},303:function(e,t,n){var r=n(755),i=function(e){this.namespace="JobListing",this.$container=e,this.$body=r("body"),this.$header=r(".header"),this.$btnRefine=r("#btn-refine"),this.$filterContainer=r("#filter-container"),this.$clearAllBtn=r("#btn-clear-all"),this.$filterCheckboxes=e.find('.listing-filters input[type="checkbox"]'),this.$filterToggles=e.find("a.listing-filters-toggle"),this.$mobileCloseBtns=e.find("#btn-filters-close, #btn-done-top, #btn-done-bottom"),this.$items=e.find(".job-listing-item"),this.$emptyMsg=e.find("#job-listing-empty"),this.cssToggleOpen="listing-filters-section-content--open",this.cssMenuOpen="menu-open",this.cssFilterMenuOpen="listing-filters--open",this.init()};i.prototype={init:function(){var e=this;e.$filterCheckboxes.on("click."+e.namespace,(function(t){e.updateFilters()})),e.$filterToggles.on("click."+e.namespace,(function(t){t.preventDefault();var n=r(this),i=n.parent();i.hasClass(e.cssToggleOpen)?(i.removeClass(e.cssToggleOpen),n.html(n.data("more"))):(i.addClass(e.cssToggleOpen),n.html(n.data("less")))})),e.$btnRefine.on("click."+e.namespace,(function(t){t.preventDefault(),e.$filterContainer.addClass(e.cssFilterMenuOpen),e.$filterContainer.css("top",r(window).scrollTop()+"px"),e.$body.addClass(e.cssMenuOpen),e.$header.css("z-index","1")})),e.$mobileCloseBtns.on("click."+e.namespace,(function(t){t.preventDefault(),e.$filterContainer.removeClass(e.cssFilterMenuOpen),e.$body.removeClass(e.cssMenuOpen),e.$header.css("z-index","10")})),e.$clearAllBtn.on("click."+e.namespace,(function(t){t.preventDefault(),e.$filterCheckboxes.prop("checked",!1),r("li.listing-breadcrumbs--tag").remove(),e.updateFilters()}))},updateFilters:function(){var e=this,t=[],n=[];e.$filterCheckboxes.filter(":checked").each((function(){var e=r(this),i=e.attr("value").split("|")[0];"dept"===e.attr("name")?t.push(i):"loc"===e.attr("name")&&n.push(i)})),e.$emptyMsg.hide(),e.$items.hide(),0===t.length&&0===n.length?e.$items.show():t.length>0&&n.length>0?e.$items.each((function(){var e=r(this),i=e.attr("data-loc").split("|"),o=t.includes(e.attr("data-dept")),a=i.some((function(e){return n.indexOf(e)>=0}));o&&a&&e.show()})):(r.each(t,(function(t,n){e.$items.filter('div[data-dept*="'+n+'"]').show()})),r.each(n,(function(t,n){e.$items.filter('div[data-loc*="'+n+'"]').show()}))),0===e.$items.filter(":visible").length&&e.$emptyMsg.show()}},r((function(){var e=r("#job-listing");0!=e.length&&new i(e)}))},900:function(e,t,n){var r=n(755),i=function(e){this.namespace="LifeListing",this.$form=e,this.$storyList=r("#life-listing-list"),this.$loadMoreBtn=r("#btn-load-more"),this.rootFormAction=this.$form.attr("action"),this.type=this.$form.data("type"),this.page=0,this.init()};i.prototype={init:function(){var e=this;e.$loadMoreBtn.on("click."+e.namespace,(function(t){t.preventDefault(),e.loadMoreStories()}))}
2,loadMoreStories:function(){var e=this;r.ajax({contentType:"application/json; charset=utf-8",url:e.rootFormAction+"/LoadStories",method:"GET",dataType:"json",traditional:!0,data:{page:e.page+1,type:e.type},success:function(t){e.page=e.page+1,e.$storyList.append(t.Stories),t.HasMoreProducts||e.$loadMoreBtn.parent().remove()},error:function(e,t,n){}})}},r((function(){var e=r("#life-listing-form");0!=e.length&&new i(e)}))},88:function(e,t,n){var r=n(755),i=function e(t,n){return this.options=r.extend(e.defaults,n),this.$modal=r(t),this.$body=r("body"),this.contentType="",this.$innerWrapper=this.$modal.find(".inner-wrapper"),this.closeOnBgClick=this.options.closeOnBgClick,this.loading=!1,this._bindEvents(),this};i.defaults={triggerSelector:".modal-trigger",closeButtonClass:"btn-close-modal",closeOnBgClick:!0,transitionSpeed:300,preventAjaxCaching:!1,centerVertically:!1},i.prototype={_bindEvents:function(){var e=this;e.$body.on("click",e.options.triggerSelector,(function(t){t.preventDefault(),e.$trigger=r(this);var n=r(this).attr("href");e.show(n),"IMG"===t.target.tagName&&setTimeout((function(){var e=t.target.id;document.querySelectorAll("#".concat(e))[1].scrollIntoView()}),20)})),e.$modal.on("click","."+e.options.closeButtonClass,(function(t){t.preventDefault(),e.hide()})),e.$modal.on("click",(function(t){e.options.closeOnBgClick&&"modal"==t.target.id&&e.hide()})),r(document).keyup((function(t){27===t.keyCode&&e.$modal.hasClass("show")&&e.hide()})),r(window).resize((function(){e._isActive()&&e.options.centerVertically&&e.centerVertically()}))},_isActive:function(){return this.$modal.hasClass("show")},disableBgClick:function(e){this.closeOnBgClick=!1},enableBgClick:function(e){this.closeOnBgClick=!0},show:function(e){var t=this;t._isActive()&&t.hideContent(),t.loading||(t.loading=!0,"#"==e.substr(0,1)?t.loadInlineContent(e):t.loadAjaxContent(e))},_afterShow:function(){var e=this;e.$body.addClass("modal-open"),e.$modal.show(),setTimeout((function(){e.$modal.addClass("show")}),10),e.options.centerVertically&&e.centerVertically(),e.$modal.$trgger=e.$trigger,e.$modal.trigger("shown",[e.$trigger]),e.loading=!1},hide:function(){var e=this;e.$body.removeClass("modal-open"),e.$modal.removeClass("show"),e.closeOnBgClick=e.options.closeOnBgClick,e.$modal.hide(),e.hideContent(),e.$modal.trigger("hidden")},hideContent:function(){var e=this;"inline"===e.$modal.data("contentType")?e.$body.append(e.$innerWrapper.children(".modal-content")):e.$innerWrapper.find(".modal-content").remove()},loadInlineContent:function(e){var t=this;t.$modal.data("contentType","inline"),t.$innerWrapper.append(r(e)),t._afterShow()},loadAjaxContent:function(e){var t=this;t.$modal.data("contentType","ajax"),r.ajax({url:e,dataType:"html",cache:!t.preventAjaxCaching,success:function(e){t.$innerWrapper.append(e),t._afterShow()}})},centerVertically:function(){var e=window.innerHeight,t=this.$innerWrapper.outerHeight();this.$innerWrapper.removeAttr("style"),e>t?this.$innerWrapper.css({"margin-top":(e-t)/2+"px","max-height":"none"}):this.$innerWrapper.css({"max-height":e+"px","margin-top":0})}},r((function(){var e=r("#modal");e.length&&new i(e)}))},296:function(e,t,n){var r=n(755),i=function(e){this.namespace="NewsletterInline",this.$container=e,this.$submitBtn=r("#newsletter-inline-submit"),this.$emailBox=r("#newsletter-inline-email"),this.$items=r("#newsletter-inline-items"),this.$messaging=r("#newsletter-inline-messaging"),this.emailRegex=/^([a-zA-Z0-9_.+-])+\@(([a-zA-Z0-9-])+\.)+([a-zA-Z0-9]{2,4})+$/,this.cssClassError="footer-newsletter-message--error",this.cssClassSuccess="newsletter-message--success",this.init()};i.prototype={init:function(){var e=this;e.$submitBtn.on("click."+e.namespace,(function(t){t.preventDefault(),e.submit()}))},submit:function(){var e=this,t=e.$emailBox.val(),n=e.$items.find(".newsletter-inline-checkbox:checked, .newsletter-inline-preselected").map((function(){return parseInt(r(this).val(),10)})).get();e.hideMessaging(),n.length?e.isEmail(t)?r.ajax({contentType:"application/json; charset=utf-8",url:"/api/newsletter/subscribe",method:"POST",dataType:"json",traditional:!0,data:JSON.stringify({email:t,newsletterId:n}),success:function(t){t.Success?(e.$emailBox.val(""),e.$items.find(".newsletter-inline-checkbox:checked").prop("checked",!1),e.showMessaging(t.Message,!1),setTimeout((function(){e.$messaging[0].classList.add("newsletter-message--fading"),setTimeout((function(){e.hideMessaging(),e.$messaging[0].classList.remove("newsletter-message--fading")}),500)}),5e3)):e.showMessaging(t.Message,!0)},error:function(t,n,r){e.showMessaging("An error has occured with your submission. Please try again later.",!0)}}):e.showMessaging("Please enter a valid email address.",!0):e.showMessaging("Please select at least one newsletter.",!0)},showMessaging:function(e,t){var n=this;n.$messaging.html(e),t?n.$messaging.addClass(n.cssClassError).removeClass(n.cssClassSuccess):n.$messaging.addClass(n.cssClassSuccess).removeClass(n.cssClassError),n.$messaging.slideDown(300)},hideMessaging:function(){this.$messaging.slideUp(300)},isEmail:function(e){return this.emailRegex.test(e)}},r((function(){var e=r("#newsletter-signup-inline");0!=e.length&&new i(e)}))},479:function(e,t,n){var r=n(755),i=function(e){this.namespace="Newsletter",this.$container=e,this.$modal=r("#newsletter-modal"),this.$closeBtn=r("#close"),this.$submitBtn=r("#newsletter-submit"),this.$emailBox=r("#newsletter-email"),this.$sectionBox=r("#newsletter-section"),this.$subsectionBox=r("#newsletter-subsection"),this.$messaging=r("#newsletter-messaging"),this.emailRegex=/^([a-zA-Z0-9_.+-])+\@(([a-zA-Z0-9-])+\.)+([a-zA-Z0-9]{2,4})+$/,this.cssClassError="footer-newsletter-message--error",this.init()};i.prototype={init:function(){var e=this;r.getJSON("/api/newsletter/list",(function(t){var n=r("#newsletter-items"),i={marketing:n.data("title-marketing"),"ride-type":n.data("title-ride-type")},o={};r.each(t,(function(e,t){var n=t.Group||"marketing";o[n]||(o[n]=[]),o[n].push(t)})),r("#newsletter-submit").prop("disabled",!0),["ride-type","marketing"].forEach((function(t){var n=o[t];if(n&&0!==n.length){n.sort(e.newsletterCompare);var a=document.createDocumentFragment(),s=document.createElement("h4");s.setAttribute("class","newsletter-group-title"),s.appendChild(document.createTextNode(i[t])),a.appendChild(s),r.each(n,(function(e,t){var n=t.Name,r=t.Id,i=document.createElement("label");i.setAttribute("for",r),i.appendChild(document.createTextNode(n));var o=document.createElement("input");o.setAttribute("type","checkbox"),o.setAttribute("id",r),o.setAttribute("class","newsletterCheckBox"),o.setAttribute("value",n);var s=document.createElement("p");s.setAttribute("class","flex"),s.appendChild(o),s.appendChild(i),a.appendChild(s)})),r("#newsletter-items").append(a)}}))})),e.$closeBtn.click((function(){event.preventDefault(),r("#newsletter-signup").trigger("reset"),r(".footer-newsletter-message").hide(),r("#newsletter-modal").hide()})),e.$submitBtn.on("click."+e.namespace,(function(t){t.preventDefault(),e.submit()})),e.$emailBox.on("focus",(function(){r(this).removeClass("error"),e.hideMessaging()})).on("blur",(function(){var t=r(this);""==t.val()||e.isEmail(t.val())||(t.addClass("error"),e.showMessaging("Please enter a valid email address.",!0))})),r("#newsletter-items").on("change",".newsletterCheckBox",(function(){var e=r(".newsletterCheckBox");r("#newsletter-submit").prop("disabled",e.filter(":checked").length<1)}))},submit:function(){var e=this,t=e.$emailBox.val(),n=Array.from(document.querySelectorAll("#newsletter-items .newsletterCheckBox:checked")).map((function(e){return e.id}));e.hideMessaging(),e.isEmail(t)?r.ajax({contentType:"application/json; charset=utf-8",url:"/api/newsletter/subscribe",method:"POST",dataType:"json",traditional:!0,data:JSON.stringify({email:t,newsletterId:n}),success:function(t){t.Success?(e.closeSignup(),vApp.$emit("snackbar:show",{msg:t.Message,err:!1})):(e.showMessaging(t.Message,!0),vApp.$emit("snackbar:show",{msg:t.Message,err:!0}))},error:function(t,n,r){e.showMessaging("An error has occured with your submission. Please try again later.",!0)}}):e.showMessaging("Please enter a valid email address.",!0)},showMessaging:function(e,t){var n=this;n.$messaging.html(e),t?n.$messaging.addClass(n.cssClassError):n.$messaging.removeClass(n.cssClassError),n.$messaging.show()},hideMessaging:function(){this.$messaging.hide()},isEmail:function(e){return this.emailRegex.test(e)},closeSignup:function(){this.$modal.hide()},newsletterCompare:function(e,t){return e.Name<t.Name?-1:e.Name>t.Name?1:0}},r((function(){var e=r("#newsletter-signup");0!=e.length&&new i(e)}))},160:function(e,t,n){var r=n(755),i=function(e){this.$element=e,this.$document=r(document),this.$window=r
2(window),this.classContentDiv="overview-feature-promo-container",this.classContentDivShow=this.classContentDiv+"--show",this.$video=this.$element.find("video"),this.$content=this.$element.find("."+this.classContentDiv),this.videoStarted=!1,this.init()};i.prototype={init:function(){var e=this;e.$document.on("scroll",(function(){e.scrollHandler(e)})),e.$window.resize((function(){e.setHeight()})),e.elementBottomInView()&&(e.playVideo(),e.setHeight())},scrollHandler:function(e){e.setHeight(),e.videoStarted||e.elementBottomInView()&&e.playVideo()},playVideo:function(){var e=this;e.videoStarted=!0,e.$video.length&&e.$video.get(0).play(),e.$content.addClass(this.classContentDivShow),setTimeout((function(){e.$content.find("> *").addClass("show")}),750)},setHeight:function(){var e=this;e.$video.length&&e.$element.height(e.$video.height())},elementBottomInView:function(){var e=this,t=e.$element.offset().top+e.$element.outerHeight();return e.$window.scrollTop()+e.$window.height()>=t}},r((function(){var e=r(".overview-feature-promo");0!=e.length&&e.each((function(){new i(r(this))}))}))},304:function(e,t,n){var r=n(755),i=n(974);r((function(){var e=r(".product-detail-overview-readmore-more"),t=r(".product-detail-overview-readmore-less");r(".product-detail-overview-readmore").on("click",(function(){r(this).find(e).toggle(),r(this).find(t).toggle(),r(this).prev().toggleClass("show-all")})),i.register("screen and (max-width:1024px)",{match:function(){var n=3*parseInt(r(".product-detail-overview-description-text").css("line-height"));n>=r(".product-detail-overview-description-text").height()?(e.first().hide(),t.first().hide()):r(".product-detail-overview-description-text").css("max-height",n),r(".product-detail-overview-list ul li").length<=3&&(e.last().hide(),t.last().hide())},unmatch:function(){r(".product-detail-overview-description-text").css("max-height","none")}})}))},571:function(e,t,n){var r=n(974);function i(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,a,s=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=o.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,i=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw i}}return s}}(e,t)||o(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(e,t){if(e){if("string"==typeof e)return a(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?a(e,t):void 0}}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var s,l=function(e){this.linkContainer=e.querySelector("ul.page-navigation-links"),this.linkContainerDropdownToggle=e.querySelector("div.page-navigation-collpase"),this.navContainer=e,this.initialPosition=0,this.mobile=!1,this.navLinks=[],this.navSections=[],this.init()};l.prototype={init:function(){var e=this,t=i(e.buildNavLinks(),2);e.navLinks=t[0],e.navSections=t[1],document.addEventListener("resize",(function(){e.checkLinkStatus(),e.initialPosition=e.navContainer.offsetTop})),document.addEventListener("scroll",(function(){e.checkLinkStatus()})),e.linkContainerDropdownToggle.addEventListener("click",(function(){e.toggleMobileNav()})),r.register("screen and (max-width:1024px)",{match:function(){e.mobile=!0},unmatch:function(){e.mobile=!1,e.collapseMobileNav()}}),e.initialPosition=e.navContainer.offsetTop,e.checkLinkStatus()},checkLinkStatus:function(){var e=this;e.navLinks.forEach((function(e){return e.classList.remove("active")}));var t,n=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=o(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}
2}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,s=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return s=e.done,e},e:function(e){l=!0,a=e},f:function(){try{s||null==n.return||n.return()}finally{if(l)throw a}}}}(Array.from(e.navSections).reverse());try{for(n.s();!(t=n.n()).done;){var r=t.value;if(r.offsetParent&&r.getBoundingClientRect().top<=100)return void e.linkContainer.querySelector("a[data-section-number='".concat(r.dataset.sectionNumber,"']")).classList.add("active")}}catch(e){n.e(e)}finally{n.f()}e.mobile&&e.navLinks[0].classList.add("active")},toggleMobileNav:function(){this.linkContainer.classList.toggle("page-navigation-links--expand"),this.linkContainerDropdownToggle.classList.toggle("page-navigation-collpase--expand")},collapseMobileNav:function(){this.linkContainerDropdownToggle.classList.remove("page-navigation-collpase--expand"),this.linkContainer.classList.remove("page-navigation-links--expand")},buildNavLinks:function(){var e=this,t=document.querySelectorAll("div[data-nav-name]"),n=e.linkContainer.querySelector(".page-navigation-links--cta"),r=[];return t.forEach((function(t,i){var o=t.dataset.navName,a=document.createElement("a");a.setAttribute("title",o),a.setAttribute("href","#"),a.text=o,t.dataset.sectionNumber=i,a.dataset.sectionNumber=i,a.addEventListener("click",(function(t){t.preventDefault();var n=document.querySelector("div[data-section-number='".concat(t.target.dataset.sectionNumber,"']"));n&&(window.scrollTo({top:n.getBoundingClientRect().top+window.pageYOffset-e.navContainer.clientHeight,behavior:"smooth"}),e.mobile&&e.collapseMobileNav())})),t.dataset.navClass&&t.dataset.navClass.split(" ").forEach((function(e){return a.classList.add(e)}));var s=document.createElement("li");s.appendChild(a),e.linkContainer.insertBefore(s,n),r.push(a)})),[r,t]}},(s=document.querySelector("#page-navigation"))&&new l(s)},871:function(e,t,n){var r,i=n(755);function o(e){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o(e)}function a(e,t,n){return(t=function(e){var t=function(e,t){if("object"!==o(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==o(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===o(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var s="product-detail-gallery-navigation-thumbnails-active",l=[{breakpoint:1024,settings:(r={vertical:!0,verticalSwiping:!0},a(r,"vertical",!0),a(r,"arrows",!0),a(r,"slidesToShow",5),a(r,"slidesToScroll",1),r)},{breakpoint:768,settings:{swipeToSlide:!0,slidesToShow:7}},{breakpoint:640,settings:{slidesToShow:6,swipeToSlide:!0}},{breakpoint:480,settings:{slidesToShow:5,swipeToSlide:!0}},{breakpoint:0,settings:{slidesToShow:4,swipeToSlide:!0}}],c={mobileFirst:!0,arrows:!1,nextArrow:i(".product-detail-gallery-navigation-arrow--next"),prevArrow:i(".product-detail-gallery-navigation-arrow--prev"),infinite:!1,responsive:l};i((function(){var e=i(".product-banner-gallery").find(".product-swatches a"),t=i("#color-label");i(".product-detail-gallery-navigation-thumbnails").slick(c),i(".product-detail-gallery-navigation-thumbnails li").on("click",(function(){var n=i(this);n.addClass(s),n.siblings().removeClass(s),i(".product-detail-gallery-item--active").removeClass("product-detail-gallery-item--active"),i("#"+n.attr("rel")).addClass("product-detail-gallery-item--active");var r=n.data("color");if(r.length){var o=i('.product-swatches a[data-color="'+r+'"]');e.removeClass("selected"),o.addClass("selected"),t.length&&t.text(i(o[0]).text())}})),i("a.product-detail-gallery-item-play").on("click",(function(){var e=i(this).attr("rel");setTimeout((function(){window.players[e].playVideo()}),500)})),e.length&&e.on("click",(function(n){n.preventDefault();var r=i(this);r.hasClass("selected")||(e.removeClass("selected"),r.addClass("selected"),t.length&&t.text(r.text()));var o=r.data("color"),a=i('.product-detail-gallery-navigation-thumbnails li[data-color="'+o+'"]');a.addClass(s),a.siblings().removeClass(s),i(".product-detail-gallery-item--active").removeClass("product-detail-gallery-item--active"),i("#"+a.attr("rel")).addClass("product-detail-gallery-item--active")}))}))},982:function(e,t,n){var r=n(755),i=function(e){this.$element=e,this.classSection="product-highlight-carousel-item",this.classSectionActive=this.classSection+"--active",this.classLink="product-highlight-carousel-nav-link",this.classLinkActive=this.classLink+"--active",this.$allSections=e.find("."+this.classSection),this.$allLinks=e.find("."+this.classLink),this.$prevArrow=e.find("#product-highlight-carousel-sidebar-previous"),this.$nextArrow=e.find("#product-highlight-carousel-sidebar-next"),this.$label=e.find("#product-highlight-carousel-sidebar-label"),this.init()};i.prototype={init:function(){var e=this;e.$allSections.first().addClass(e.classSectionActive),e.$allLinks.first().addClass(e.classLinkActive),e.$allLinks.on("click",(function(t){t.preventDefault();var n=r("#"+r(this).attr("rel")).index();e.setActiveSection(n)})),e.$prevArrow.on("click",(function(){var t=e.$allSections.filter("."+e.classSectionActive).index();--t<0&&(t=e.$allSections.length-1),e.setActiveSection(t)})),e.$nextArrow.on("click",(function(){var t=e.$allSections.filter("."+e.classSectionActive).index();++t===e.$allSections.length&&(t=0),e.setActiveSection(t)}))},setActiveSection:function(e){var t=this;t.$allLinks.removeClass(t.classLinkActive),t.$allLinks.eq(e).addClass(t.classLinkActive),t.$allSections.removeClass(t.classSectionActive),t.$allSections.eq(e).addClass(t.classSectionActive),t.$label.text("0"+(e+1))}},r((function(){var e=r(".product-highlight-carousel");0!=e.length&&e.each((function(){new i(r(this))}))}))},612:function(e,t,n){var r=n(755),i=function(e,t){this.namespace="ProductListing",this.$form=e,this.$document=r(document),this.$body=r("body"),this.$header=r(".header"),this.$container=r("#product-listing-content"),this.$productList=r("#product-list"),this.$loadMoreBtn=r("#btn-product-load-more"),this.$productC
2ountText=r("#product-count"),this.$productFilters=r("#product-filters"),this.$breadcrumbs=r("#product-listing-breadcrumbs, #product-listing-filters-selected"),this.$btnRefine=r("#btn-product-refine"),this.$filterContainer=r("#product-filter-container"),this.$clearAllBtn=r("#btn-product-clear-all"),this.$filterCheckboxes=e.find('.listing-filters input[type="checkbox"]'),this.$filterULs=e.find(".listing-filters-section ul"),this.$sortBys=e.find("select.sort-dropdown"),this.$filterToggles=e.find("a.listing-filters-toggle"),this.$mobileCloseBtns=e.find("#btn-product-filters-close, #btn-product-done-top, #btn-product-done-bottom"),this.page=1,this.perPage=15,this.implicitFilters=this.$form.data("implicitfilters"),this.publishingSite=this.$form.data("publishingsite"),this.serviceSection=this.$form.data("servicesection"),this.rootFormAction=this.$form.attr("action"),this.sortByLabel=r(this.$sortBys[0]).data("label"),this.sort="Relevancy",this.searchTerm=this.getUrlParameter("t"),this.baseUrl=location.protocol+"//"+location.host+location.pathname,this.isSearchPage=t,this.cssCheckboxDisabled="custom-checkbox--disabled",this.cssToggleOpen="listing-filters-section-content--open",this.cssMenuOpen="menu-open",this.cssFilterMenuOpen="listing-filters--open",this.cssAjaxLoading="listing--loading",this.init()};i.prototype={init:function(){var e=this;"scrollRestoration"in window.history&&(window.history.scrollRestoration="manual"),e.$loadMoreBtn.on("click."+e.namespace,(function(t){t.preventDefault(),e.loadMoreProducts()})),e.$filterCheckboxes.on("click."+e.namespace,(function(t){e.updateFilters()})),e.$sortBys.on("change."+e.namespace,(function(t){var n=r(this);e.updateSort(n.val(),n.find("option:selected").data("label"))})),e.$filterToggles.on("click."+e.namespace,(function(t){t.preventDefault();var n=r(this),i=n.parent();i.hasClass(e.cssToggleOpen)?(i.removeClass(e.cssToggleOpen),n.html(n.data("more"))):(i.addClass(e.cssToggleOpen),n.html(n.data("less")))})),e.$document.on("click."+e.namespace,"li.listing-breadcrumbs--tag a",(function(t){t.preventDefault();var n=r(this);r("#"+n.data("filterid")).prop("checked",!1),n.parent().remove(),e.updateFilters()})),e.$btnRefine.on("click."+e.namespace,(function(t){t.preventDefault(),e.$filterContainer.addClass(e.cssFilterMenuOpen),e.$filterContainer.css("top",r(window).scrollTop()+"px"),e.$body.addClass(e.cssMenuOpen),e.$header.css("z-index","1")})),e.$mobileCloseBtns.on("click."+e.namespace,(function(t){t.preventDefault(),e.$filterContainer.removeClass(e.cssFilterMenuOpen),e.$body.removeClass(e.cssMenuOpen),e.$header.css("z-index","10")})),e.$clearAllBtn.on("click."+e.namespace,(function(t){t.preventDefault(),e.$filterCheckboxes.prop("checked",!1),r("li.listing-breadcrumbs--tag").remove(),e.updateFilters()})),e.$filterULs.each((function(){var e=r(this);if(e.children().length<=5)e.css("max-height","none");else{for(var t=0,n=0;n<5;n++)t+=e.children().eq(n).outerHeight(!0);e.css("max-height",t+"px")}})),e.$document.on("click."+e.namespace,".product-swatches a",(function(e){e.preventDefault();var t=r(this);if(!t.hasClass("selected")){var n=t.parents(".product-listing-item");n.find(".product-swatches a").removeClass("selected"),n.find(".product-listing-item-image").removeClass("product-listing-item-image--selected"),n.find('.product-listing-item-image[data-color="'+t.data("color")+'"]').addClass("product-listing-item-image--selected"),t.addClass("selected")}}));var t=e.getUrlParameter("filters");if(t.length){var n=parseInt(e.getUrlParameter("page"),10);e.page=n&&n>=1?n:1,e.sort=e.getUrlParameter("sort");var i=t.split(",");e.setSelectedFilters(i);var o={filters:i,sort:e.sort,page:e.page,searchTerm:e.searchTerm};e.loadProducts(o,!1),window.history.replaceState(o,document.title,e.buildStateUrl(o))}else{var a={filters:[],sort:e.sort,page:e.page,searchTerm:e.searchTerm};e.isSearchPage||window.history.replaceState(a,document.title,e.buildStateUrl(a))}e.isSearchPage||r(window).on("popstate."+e.namespace,(function(t){var n=t.originalEvent.state;if(n){e.page=1,e.sort=n.sort,e.searchTerm=n.searchTerm,e.setSelectedFilters(n.filters);var r={filters:e.getSelectedFilters(),sort:e.sort,page:e.page,searchTerm:e.searchTerm};e.loadProducts(r,!1),window.scrollTo(0,0)}}))}
2,loadMoreProducts:function(){var e=this;if(1===e.page&&!e.isSearchPage){var t=e.getState();window.history.pushState(t,document.title,e.buildStateUrl(t))}e.page=e.page+1;var n=e.getState();e.loadProducts(n,!0)},updateFilters:function(){var e=this;e.page=1;var t=e.getNewState();e.loadProducts(t,!1)},updateSort:function(e,t){var n=this;n.$sortBys.val(""),n.$sortBys.find("option:first").html(n.sortByLabel+" "+t),n.sort=e,n.page=1;var r=n.getNewState();n.loadProducts(r,!1)},loadProducts:function(e,t){var n=this;e.implicitFilters=n.implicitFilters,e.publishingSite=n.publishingSite,e.serviceSection=n.serviceSection,n.$container.addClass(n.cssAjaxLoading),r.ajax({contentType:"application/json; charset=utf-8",url:n.rootFormAction+"/LoadProducts",method:"GET",dataType:"json",traditional:!0,data:e,success:function(e){n.toggleShowMoreButton(e.HasMoreProducts),n.$productCountText.html(e.TotalProducts),n.updateProductList(e.Products,t),n.updateBreadcrumbs(e.SelectedFilterBreadcrumbHtml),n.$filterCheckboxes.not(":checked").each((function(){var t=r(this);n.arrayIncludes(e.AvailableFilters,t.attr("id"))?(t.attr("disabled",!1),t.parent().removeClass(n.cssCheckboxDisabled)):(t.attr("disabled",!0),t.parent().addClass(n.cssCheckboxDisabled))})),setTimeout((function(){n.$container.removeClass(n.cssAjaxLoading)}),800)},error:function(e,t,r){n.$container.removeClass(n.cssAjaxLoading)}})},updateProductList:function(e,t){var n=this;if(t||n.$productList.html(""),e.length)for(var r=function(t){/Edge\/|Trident\/|MSIE /.test(window.navigator.userAgent)?n.$productList.append(e[t]):setTimeout((function(){n.$productList.append(e[t])}),50*t)},i=0;i<e.length;i++)r(i)},toggleShowMoreButton:function(e){e?this.$loadMoreBtn.show():this.$loadMoreBtn.hide()},updateBreadcrumbs:function(e){this.$breadcrumbs.find("li.listing-breadcrumbs--tag").remove(),this.$breadcrumbs.append(e)},getUrlParameter:function(e){e=e.replace(/[\[]/,"\\[").replace(/[\]]/,"\\]");var t=new RegExp("[\\?&]"+e+"=([^&#]*)").exec(location.search);return null===t?"":decodeURIComponent(t[1].replace(/\+/g," "))},setSelectedFilters:function(e){this.$filterCheckboxes.prop("checked",!1);for(var t=0;t<e.length;t++){this.$filterCheckboxes.filter('[value="'+e[t]+'"]').prop("checked",!0)}},getSelectedFilters:function(){var e=[];return this.$filterCheckboxes.filter(":checked").each((function(){e.push(r(this).attr("value"))})),e},getState:function(){var e=this;return{filters:e.getSelectedFilters(),sort:e.sort,page:e.page,searchTerm:e.searchTerm}},getNewState:function(){var e=this,t=e.getState();return e.isSearchPage||window.history.pushState(t,document.title,e.buildStateUrl(t)),t},buildStateUrl:function(e){var t=this.baseUrl+"?filters="+e.filters.join(",")+"&sort="+e.sort;return e.searchTerm.length&&(t+="&t="+e.searchTerm),t},arrayIncludes:function(e,t){for(var n=0;n<e.length;n++)if(e[n]===t)return!0;return!1}},r((function(){var e=r("#product-listing-form"),t=0!=r("#search-results").length;0!=e.length&&new i(e,t)}))},390:function(e,t,n){var r=n(755),i=n(974);r((function(){var e=r(".responsive-background");e.length&&i.register("screen and (max-width:768px)",{match:function(){e.each((function(){var e=r(this);void 0!==e.data("mobile-background")&&e.data("mobile-background").length?e.attr("style",e.data("mobile-background")):void 0!==e.data("background")&&e.data("background").length&&e.attr("style",e.data("background"))}))},unmatch:function(){e.each((function(){var e=r(this);void 0!==e.data("background")&&e.data("background").length?e.attr("style",e.data("background")):void 0!==e.data("mobile-background")&&e.data("mobile-background").length&&e.attr("style",e.data("mobile-background"))}))}})}))},484:function(e,t,n){var r=n(755),i=function(e){this.namespace="SearchResults",this.$element=e,this.$tabTriggers=r("#search-results-tabs").find("a"),this.$allTabs=r("#product-listing-content, #service-listing-content, #site-listing-content"),this.init()};i.prototype={init:function(){var e=this;e.$tabTriggers.on("click."+e.namespace,(function(t){t.preventDefault();var n=r(this),i=n.attr("rel");e.$allTabs.hide(),e.$tabTriggers.removeClass("active"),r("#"+i).show(),n.addClass("active")}))}},r((function(){0!=r("#search-results").length&&new i(r(this))}))},85:function(){function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e(t)}function t(t,n){for(var r=0;r<n.length;r++){var i=n[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,(o=i.key,a=void 0,a=function(t,n){if("object"!==e(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var i=r.call(t,n||"default");if("object"!==e(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(t)}(o,"string"),"symbol"===e(a)?a:String(a)),i)}var o,a}new(function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.assignTopicId(),this.initializeFirstTab(),this.bindAll(
2)}var n,r,i;return n=e,(r=[{key:"assignTopicId",value:function(){var e=document.querySelectorAll(".segmented-topic-content"),t=document.querySelectorAll(".segmented-topic-nav-btn");e.forEach((function(e,t){e.setAttribute("id","topics-".concat(t))})),t.forEach((function(e,t){e.setAttribute("data-topic","topics-".concat(t)),e.setAttribute("aria-controls","topics-".concat(t))}))}},{key:"initializeFirstTab",value:function(){var e=document.querySelector(".segmented-topic-nav-btn"),t=document.querySelector(".segmented-topic-content");e&&t&&(e.classList.add("active"),t.classList.add("active"))}},{key:"clearActiveStates",value:function(){document.querySelectorAll("[data-topic]").forEach((function(e){e.classList.remove("active");var t=e.getAttribute("data-topic");document.getElementById(t).classList.remove("active")}))}},{key:"changeActiveState",value:function(e){this.clearActiveStates(),e.target.classList.add("active");var t=e.currentTarget.getAttribute("data-topic");document.getElementById(t).classList.add("active")}},{key:"bindAll",value:function(){var e=this;document.querySelectorAll("[data-topic]").forEach((function(t){t.addEventListener("click",e.changeActiveState.bind(e),!1)}))}}])&&t(n.prototype,r),i&&t(n,i),Object.defineProperty(n,"prototype",{writable:!1}),e}())},945:function(e,t,n){var r=n(755),i=function(e){this.namespace="SerialLookup",this.$form=e,this.$submitBtn=r("#btn-spec-table-search"),this.$input=r("#input-spec-table-search"),this.$specTable=r("#spec-table"),this.$errorBox=r("#spec-table-search-error"),this.$fieldWrapper=this.$input.parents(".field"),this.rootFormAction=this.$form.attr("action"),this.modelId=this.$form.data("modelid"),this.init()};i.prototype={init:function(){var e=this,t=new URLSearchParams(window.location.search).get("t");e.$form.on("submit",(function(t){t.preventDefault();var n=e.$input.val();n.length?e.doLookup(n):e.renderError("Serial number is required.")})),e.$submitBtn.on("click."+e.namespace,(function(t){t.preventDefault();var n=e.$input.val();n.length?e.doLookup(n):e.renderError("Serial number is required.")})),t&&t.length&&(e.$input.val(t),e.$form.trigger("submit"))},doLookup:function(e){var t=this,n=window.location.search;t.clearError(),r.ajax({contentType:"application/json; charset=utf-8",url:t.rootFormAction.replace(n,"")+"/PartIdentifierLookup"+n,method:"POST",dataType:"json",traditional:!0,data:JSON.stringify({partIdentifier:e,modelId:t.modelId}),success:function(e){e.Success?t.$specTable.html(e.SpecHtml):t.renderError(e.ErrorMessage)},error:function(e,n,r){t.renderError("This serial you entered was not found.")}})},renderError:function(e){var t=this;t.$fieldWrapper.hasClass("error")||t.$fieldWrapper.addClass("error"),t.$errorBox.html(e)},clearError:function(){this.$fieldWrapper.removeClass("error"),this.$errorBox.html("")}},r((function(){var e=r("#spec-table-search");0!=e.length&&new i(e)}))},677:function(e,t,n){var r=n(755),i={infinite:!0,slidesToShow:3,slidesToScroll:3,mobileFirst:!0,arrows:!0,responsive:[{breakpoint:1024,settings:{slidesToShow:3,slidesToScroll:1}},{breakpoint:768,settings:{slidesToShow:2,slidesToScroll:1}},{breakpoint:0,settings:{slidesToShow:1,slidesToScroll:1}}]};r((function(){r(".three-up .three-up-carousel-container").each((function(){var e=r(this),t=e.closest(".three-up"),n=e.children().length;(i.nextArrow=t.find(".carousel-arrows-arrow--next"),i.prevArrow=t.find(".carousel-arrows-arrow--prev"),e.slick(i),window.IntersectionObserver)&&new IntersectionObserver((function(t){t.forEach((function(t){t.isIntersecting&&e.width()>0&&e.slick("setPosition")}))})).observe(this);if(0!=t.find(".carousel-arrows--alt").length){var o="/ ";o+=n<10?"0":"",o+=n,t.find(".carousel-arrows--alt-pager-total").text(o),e.on("beforeChange",(function(e,n,r,i){var o=i<11?"0":"";o+=i+1+" ",t.find(".carousel-arrows--alt-pager-current").html(o)}))}}))}))},696:function(e,t,n){var r=n(755),i={infinite:!1,mobileFirst:!0,arrows:!0,responsive:[{breakpoint:1024,settings:{slidesToShow:4,slidesToScroll:1,arrows:!0}},{breakpoint:640,settings:{slidesToShow:2.5,slidesToScroll:1,arrows:!1}},{breakpoint:480,settings:{slidesToShow:2.5,slidesToScroll:1,centerMode:!0,arrows:!1}
2},{breakpoint:0,settings:{slidesToShow:2.5,slidesToScroll:1,arrows:!1}}]},o=!0;r((function(){var e=r("#video-gallery-navigation-thumbnails li");i.nextArrow=e.parent().parent().find(".video-gallery-navigation-arrow--next"),i.prevArrow=e.parent().parent().find(".video-gallery-navigation-arrow--prev"),e.parent().slick(i),e.first().addClass("active"),r("#video-gallery-navigation-thumbnails").on("beforeChange",(function(e,t,n,r){o=!1})).on("afterChange",(function(e,t){o=!0}));r("#video-gallery-player-frame");e.on("click",(function(t){var n=r(this);if(o&&!n.hasClass("active")&&(e.removeClass("active"),n.addClass("active"),null!=window.videoGalleryPlayer)){var i=n.attr("rel");window.videoGalleryPlayer.loadVideoById(i)}}))}))},951:function(e,t,n){var r=n(755),i=document.createElement("script");i.src="https://www.youtube.com/iframe_api";var o=document.getElementsByTagName("script")[0];o.parentNode.insertBefore(i,o),window.players=[],window.videoGalleryPlayer=null,window.onYouTubeIframeAPIReady=function(){r(".product-banner-gallery-video").length&&r(".product-banner-gallery-video").each((function(){var e=r(this).attr("rel"),t=r(this).attr("id");window.players[e]=new YT.Player(t,{events:{}})}));var e=document.getElementById("video-gallery-player-frame");e&&(window.videoGalleryPlayer=new YT.Player("video-gallery-player-frame",{videoId:e.getAttribute("videoId"),playerVars:{enablejsapi:1,autoplay:0,origin:"https://sram.com",title:e.getAttribute("videoId")},events:{}}))}},107:function(e,t,n){var r,i,o,a,s=n(755);function l(e){return l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},l(e)}a=function(e){"use strict";function t(t){return!t||void 0!==t.allowPageScroll||void 0===t.swipe&&void 0===t.swipeStatus||(t.allowPageScroll=u),void 0!==t.click&&void 0===t.tap&&(t.tap=t.click),t||(t={}),t=e.extend({},e.fn.swipe.defaults,t),this.each((function(){var r=e(this),i=r.data(I);i||(i=new n(this,t),r.data(I,i))}))}function n(t,n){function O(t){if(!(!0===Ae.data(I+"_intouch")||e(t.target).closest(n.excludedElements,Ae).length>0)){var s=t.originalEvent?t.originalEvent:t;if(!s.pointerType||"mouse"!=s.pointerType||0!=n.fallbackToMouseEvents){var l,c=s.touches,u=c?c[0]:s;return _e=C,c?Te=c.length:!1!==n.preventDefaultEvents&&t.preventDefault(),fe=0,pe=null,ge=null,Ce=null,me=0,ye=0,ve=0,we=1,be=0,(d={})[r]=ne(r),d[i]=ne(i),d[o]=ne(o),d[a]=ne(a),Se=d,Z(),J(0,u),!c||Te===n.fingers||n.fingers===w||U()?(xe=ae(),2==Te&&(J(1,c[1]),ye=ve=ie(Ee[0].start,Ee[1].start)),(n.swipeStatus||n.pinchStatus)&&(l=L(s,_e))):l=!1,!1===l?(L(s,_e=_),l):(n.hold&&(Ne=setTimeout(e.proxy((function(){Ae.trigger("hold",[s.target]),n.hold&&(l=n.hold.call(Ae,s,s.target))}),this),n.longTapThreshold)),K(!0),null)}}var d}function M(t){var l,h,f=t.originalEvent?t.originalEvent:t;if(_e!==A&&_e!==_&&!Q()){var p,g=f.touches,m=ee(g?g[0]:f);if(Ie=ae(),g&&(Te=g.length),n.hold&&clearTimeout(Ne),_e=S,2==Te&&(0==ye?(J(1,g[1]),ye=ve=ie(Ee[0].start,Ee[1].start)):(ee(g[1]),ve=ie(Ee[0].end,Ee[1].end),Ee[0].end,Ee[1].end,Ce=we<1?c:s),we=(ve/ye*1).toFixed(2),be=Math.abs(ye-ve)),Te===n.fingers||n.fingers===w||!g||U()){if(pe=oe(m.start,m.end),function(e,t){if(!1!==n.preventDefaultEvents)if(n.allowPageScroll===u)e.preventDefault();else{var s=n.allowPageScroll===d;switch(t){case r:(n.swipeLeft&&s||!s&&n.allowPageScroll!=y)&&e.preventDefault();break;case i:(n.swipeRight&&s||!s&&n.allowPageScroll!=y)&&e.preventDefault();break;case o:(n.swipeUp&&s||!s&&n.allowPageScroll!=v)&&e.preventDefault();break;case a:(n.swipeDown&&s||!s&&n.allowPageScroll!=v)&&e.preventDefault()}}}(t,ge=oe(m.last,m.end)),l=m.start,h=m.end,fe=Math.round(Math.sqrt(Math.pow(h.x-l.x,2)+Math.pow(h.y-l.y,2))),me=re(),function(e,t){e!=u&&(t=Math.max(t,te(e)),Se[e].distance=t)}(pe,fe),p=L(f,_e),!n.triggerOnTouchEnd||n.triggerOnTouchLeave){var b=!0;if(n.triggerOnTouchLeave){var C=function(t){var n=(t=e(t)).offset(),r={left:n.left,right:n.left+t.outerWidth(),top:n.top,bottom:n.top+t.outerHeight()};return r}(this);b=function(e,t){return e.x>t.left&&e.x<t.right&&e.y>t.top&&e.y<t.bottom}(m.end,C)}!n.triggerOnTouchEnd&&b?_e=R(S):n.triggerOnTouchLeave&&!b&&(_e=R(A)),_e!=_&&_e!=A||L(f,_e)}}else L(f,_e=_);!1===p&&L(f,_e=_)}}function D(e){var t=e.originalEvent?e.originalEvent:e,r=t.touches;if(r){if(r.length&&!Q())return function(e){Oe=ae(),Me=e.touches.length+1}(t),!0;if(r.length&&Q())return!0}return Q()&&(Te=Me),Ie=ae(),me=re(),B()||!j()?L(t,_e=_):n.triggerOnTouchEnd||!1===n.triggerOnTouchEnd&&_e===S?(!1!==n.preventDefaultEvents&&e.preventDefault(),L(t,_e=A)):!n.triggerOnTouchEnd&&q()?$(t,_e=A,p):_e===S&&L(t,_e=_),K(!1),null}function k(){Te=0,Ie=0,xe=0,ye=0,ve=0,we=1,Z(),K(!1)}function N(e){var t=e.originalEvent?e.originalEvent:e;n.triggerOnTouchLeave&&L(t,_e=R(A))}function P(){Ae.unbind(le,O),Ae.unbind(he,k),Ae.unbind(ce,M),Ae.unbind(ue,D),de&&Ae.unbind(de,N),K(!1)}function R(e){var t=e,r=F(),i=j(),o=B();return!r||o?t=_:!i||e!=S||n.triggerOnTouchEnd&&!n.triggerOnTouchLeave?!i&&e==A&&n.triggerOnTouchLeave&&(t=_):t=A,t}function L(e,t){var r,i=e.touches;return(!(!z()||!V())||V())&&(r=$(e,t,h)),(!(!H()||!U())||U())&&!1!==r&&(r=$(e,t,f)),X()&&Y()&&!1!==r?r=$(e,t,g):me>n.longTapThreshold&&fe<b&&n.longTap&&!1!==r?r=$(e,t,m):!(1!==Te&&T||!(isNaN(fe)||fe<n.threshold)||!q())&&!1!==r&&(r=$(e,t,p)),t===_&&k(),t===A&&(i&&i.length||k()),r}function $(t,l,u){var d;if(u==h){if(Ae.trigger("swipeStatus",[l,pe||null,fe||0,me||0,Te,Ee,ge]),n.swipeStatus&&!1===(d=n.swipeStatus.call(Ae,t,l,pe||null,fe||0,me||0,Te,Ee,ge)))return!1;if(l==A&&z()){if(clearTimeout(ke),clearTimeout(Ne),Ae.trigger("swipe",[pe,fe,me,Te,Ee,ge]),n.swipe&&!1===(d=n.swipe.call(Ae,t,pe,fe,me,Te,Ee,ge)))return!1;switch(pe){case r:Ae.trigger("swipeLeft",[pe,fe,me,Te,Ee,ge]),n.swipeLeft&&(d=n.swipeLeft.call(Ae,t,pe,fe,me,Te,Ee,ge));break;case i:Ae.trigger("swipeRight",[pe,fe,me,Te,Ee,ge]),n.swipeRight&&(d=n.swipeRight.call(Ae,t,pe,fe,me,Te,Ee,ge));break;case o:Ae.trigger("swipeUp",[pe,fe,me,Te,Ee,ge]),n.swipeUp&&(d=n.swipeUp.call(Ae,t,pe,fe,me,Te,Ee,ge));break;case a:Ae.trigger("swipeDown",[pe,fe,me,Te,Ee,ge]),n.swipeDown&&(d=n.swipeDown.call(Ae,t,pe,fe,me,Te,Ee,ge))}}}if(u==f){if(Ae.trigger("pinchStatus",[l,Ce||null,be||0,me||0,Te,we,Ee]),n.pinchStatus&&!1===(d=n.pinchStatus.call(Ae,t,l,Ce||null,be||0,me||0,Te,we,Ee)))return!1;if(l==A&&H())switch(Ce){case s:Ae.trigger("pinchIn",[Ce||null,be||0,me||0,Te,we,Ee]),n.pinchIn&&(d=n.pinchIn.call(Ae,t,Ce||null,be||0,me||0,Te,we,Ee));break;case c:Ae.trigger("pinchOut",[Ce||null,be||0,me||0,Te,we,Ee]),n.pinchOut&&(d=n.pinchOut.call(Ae,t,Ce||null,be||0,me||0,Te,we,Ee))}}return u==p?l!==_&&l!==A||(clearTimeout(ke),clearTimeout(Ne),Y()&&!X()?(De=ae(),ke=setTimeout(e.proxy((function(){De=null,Ae.trigger("tap",[t.target]),n.tap&&
2(d=n.tap.call(Ae,t,t.target))}),this),n.doubleTapThreshold)):(De=null,Ae.trigger("tap",[t.target]),n.tap&&(d=n.tap.call(Ae,t,t.target)))):u==g?l!==_&&l!==A||(clearTimeout(ke),clearTimeout(Ne),De=null,Ae.trigger("doubletap",[t.target]),n.doubleTap&&(d=n.doubleTap.call(Ae,t,t.target))):u==m&&(l!==_&&l!==A||(clearTimeout(ke),De=null,Ae.trigger("longtap",[t.target]),n.longTap&&(d=n.longTap.call(Ae,t,t.target)))),d}function j(){var e=!0;return null!==n.threshold&&(e=fe>=n.threshold),e}function B(){var e=!1;return null!==n.cancelThreshold&&null!==pe&&(e=te(pe)-fe>=n.cancelThreshold),e}function F(){return!(n.maxTimeThreshold&&me>=n.maxTimeThreshold)}function H(){var e=W(),t=G(),r=null===n.pinchThreshold||be>=n.pinchThreshold;return e&&t&&r}function U(){return!!(n.pinchStatus||n.pinchIn||n.pinchOut)}function z(){var e=F(),t=j(),n=W(),r=G();return!B()&&r&&n&&t&&e}function V(){return!!(n.swipe||n.swipeStatus||n.swipeLeft||n.swipeRight||n.swipeUp||n.swipeDown)}function W(){return Te===n.fingers||n.fingers===w||!T}function G(){return 0!==Ee[0].end.x}
2function q(){return!!n.tap}function Y(){return!!n.doubleTap}function X(){if(null==De)return!1;var e=ae();return Y()&&e-De<=n.doubleTapThreshold}function Z(){Oe=0,Me=0}function Q(){var e=!1;return Oe&&ae()-Oe<=n.fingerReleaseThreshold&&(e=!0),e}function K(e){Ae&&(!0===e?(Ae.bind(ce,M),Ae.bind(ue,D),de&&Ae.bind(de,N)):(Ae.unbind(ce,M,!1),Ae.unbind(ue,D,!1),de&&Ae.unbind(de,N,!1)),Ae.data(I+"_intouch",!0===e))}function J(e,t){var n={start:{x:0,y:0},last:{x:0,y:0},end:{x:0,y:0}};return n.start.x=n.last.x=n.end.x=t.pageX||t.clientX,n.start.y=n.last.y=n.end.y=t.pageY||t.clientY,Ee[e]=n,n}function ee(e){var t=void 0!==e.identifier?e.identifier:0,n=function(e){return Ee[e]||null}(t);return null===n&&(n=J(t,e)),n.last.x=n.end.x,n.last.y=n.end.y,n.end.x=e.pageX||e.clientX,n.end.y=e.pageY||e.clientY,n}function te(e){if(Se[e])return Se[e].distance}function ne(e){return{direction:e,distance:0}}function re(){return Ie-xe}function ie(e,t){var n=Math.abs(e.x-t.x),r=Math.abs(e.y-t.y);return Math.round(Math.sqrt(n*n+r*r))}function oe(e,t){if(s=t,(n=e).x==s.x&&n.y==s.y)return u;var n,s,l=function(e,t){var n=e.x-t.x,r=t.y-e.y,i=Math.atan2(r,n),o=Math.round(180*i/Math.PI);return o<0&&(o=360-Math.abs(o)),o}(e,t);return l<=45&&l>=0||l<=360&&l>=315?r:l>=135&&l<=225?i:l>45&&l<135?a:o}function ae(){return(new Date).getTime()}n=e.extend({},n);var se=T||x||!n.fallbackToMouseEvents,le=se?x?E?"MSPointerDown":"pointerdown":"touchstart":"mousedown",ce=se?x?E?"MSPointerMove":"pointermove":"touchmove":"mousemove",ue=se?x?E?"MSPointerUp":"pointerup":"touchend":"mouseup",de=se?x?"mouseleave":null:"mouseleave",he=x?E?"MSPointerCancel":"pointercancel":"touchcancel",fe=0,pe=null,ge=null,me=0,ye=0,ve=0,we=1,be=0,Ce=0,Se=null,Ae=e(t),_e="start",Te=0,Ee={},xe=0,Ie=0,Oe=0,Me=0,De=0,ke=null,Ne=null;try{Ae.bind(le,O),Ae.bind(he,k)}catch(t){e.error("events not supported "+le+","+he+" on jQuery.swipe")}this.enable=function(){return this.disable(),Ae.bind(le,O),Ae.bind(he,k),Ae},this.disable=function(){return P(),Ae},this.destroy=function(){P(),Ae.data(I,null),Ae=null},this.option=function(t,r){if("object"==l(t))n=e.extend(n,t);else if(void 0!==n[t]){if(void 0===r)return n[t];n[t]=r}else{if(!t)return n;e.error("Option "+t+" does not exist on jQuery.swipe.options")}return null}}var r="left",i="right",o="up",a="down",s="in",c="out",u="none",d="auto",h="swipe",f="pinch",p="tap",g="doubletap",m="longtap",y="horizontal",v="vertical",w="all",b=10,C="start",S="move",A="end",_="cancel",T="ontouchstart"in window,E=window.navigator.msPointerEnabled&&!window.PointerEvent&&!T,x=(window.PointerEvent||window.navigator.msPointerEnabled)&&!T,I="TouchSwipe";e.fn.swipe=function(n){var r=e(this),i=r.data(I);if(i&&"string"==typeof n){if(i[n])return i[n].apply(i,Array.prototype.slice.call(arguments,1));e.error("Method "+n+" does not exist on jQuery.swipe")}else if(i&&"object"==l(n))i.option.apply(i,arguments);else if(!(i||"object"!=l(n)&&n))return t.apply(this,arguments);return r},e.fn.swipe.version="1.6.18",e.fn.swipe.defaults={fingers:1,threshold:75,cancelThreshold:null,pinchThreshold:20,maxTimeThreshold:null,fingerReleaseThreshold:250,longTapThreshold:500,doubleTapThreshold:200,swipe:null,swipeLeft:null,swipeRight:null,swipeUp:null,swipeDown:null,swipeStatus:null,pinchIn:null,pinchOut:null,pinchStatus:null,click:null,tap:null,doubleTap:null,longTap:null,hold:null,triggerOnTouchEnd:!0,triggerOnTouchLeave:!1,allowPageScroll:"auto",fallbackToMouseEvents:!0,excludedElements:".noSwipe",preventDefaultEvents:!0},e.fn.swipe.phases={PHASE_START:C,PHASE_MOVE:S,PHASE_END:A,PHASE_CANCEL:_},e.fn.swipe.directions={LEFT:r,RIGHT:i,UP:o,DOWN:a,IN:s,OUT:c},e.fn.swipe.pageScroll={NONE:u,HORIZONTAL:y,VERTICAL:v,AUTO:d},e.fn.swipe.fingers={ONE:1,TWO:2,THREE:3,FOUR:4,FIVE:5,ALL:w}},n.amdO.jQuery?(i=[n(755)],void 0===(o="function"==typeof(r=a)?r.apply(t,i):r)||(e.exports=o)):a(e.exports?n(755):s)},868:function(e,t,n){var r=n(755);!function(){"use strict";function e(r){if(!r)throw new Error("No options passed to Waypoint constructor");if(!r.element)throw new Error("No element option passed to Waypoint constructor");if(!r.handler)throw new Error("No handler option passed to Waypoint constructor");
vendor: 4,242 bytes, line 2
2this.key="waypoint-"+t,this.options=e.Adapter.extend({},e.defaults,r),this.element=this.options.element,this.adapter=new e.Adapter(this.element),this.callback=r.handler,this.axis=this.options.horizontal?"horizontal":"vertical",this.enabled=this.options.enabled,this.triggerPoint=null,this.group=e.Group.findOrCreate({name:this.options.group,axis:this.axis}),this.context=e.Context.findOrCreateByElement(this.options.context),e.offsetAliases[this.options.offset]&&(this.options.offset=e.offsetAliases[this.options.offset]),this.group.add(this),this.context.add(this),n[this.key]=this,t+=1}var t=0,n={};e.prototype.queueTrigger=function(e){this.group.queueTrigger(this,e)},e.prototype.trigger=function(e){this.enabled&&this.callback&&this.callback.apply(this,e)},e.prototype.destroy=function(){this.context.remove(this),this.group.remove(this),delete n[this.key]},e.prototype.disable=function(){return this.enabled=!1,this},e.prototype.enable=function(){return this.context.refresh(),this.enabled=!0,this},e.prototype.next=function(){return this.group.next(this)},e.prototype.previous=function(){return this.group.previous(this)},e.invokeAll=function(e){var t=[];for(var r in n)t.push(n[r]);for(var i=0,o=t.length;o>i;i++)t[i][e]()},e.destroyAll=function(){e.invokeAll("destroy")},e.disableAll=function(){e.invokeAll("disable")},e.enableAll=function(){e.invokeAll("enable")},e.refreshAll=function(){e.Context.refreshAll()},e.viewportHeight=function(){return window.innerHeight||document.documentElement.clientHeight},e.viewportWidth=function(){return document.documentElement.clientWidth},e.adapters=[],e.defaults={context:window,continuous:!0,enabled:!0,group:"default",horizontal:!1,offset:0},e.offsetAliases={"bottom-in-view":function(){return this.context.innerHeight()-this.adapter.outerHeight()},"right-in-view":function(){return this.context.innerWidth()-this.adapter.outerWidth()}},window.Waypoint=e}(),function(){"use strict";function e(e){window.setTimeout(e,1e3/60)}function t(e){this.element=e,this.Adapter=i.Adapter,this.adapter=new this.Adapter(e),this.key="waypoint-context-"+n,this.didScroll=!1,this.didResize=!1,this.oldScroll={x:this.adapter.scrollLeft(),y:this.adapter.scrollTop()},this.waypoints={vertical:{},horizontal:{}},e.waypointContextKey=this.key,r[e.waypointContextKey]=this,n+=1,this.createThrottledScrollHandler(),this.createThrottledResizeHandler()}var n=0,r={},i=window.Waypoint,o=window.onload;t.prototype.add=function(e){var t=e.options.horizontal?"horizontal":"vertical";this.waypoints[t][e.key]=e,this.refresh()},t.prototype.checkEmpty=function(){var e=this.Adapter.isEmptyObject(this.waypoints.horizontal),t=this.Adapter.isEmptyObject(this.waypoints.vertical);e&&t&&(this.adapter.off(".waypoints"),delete r[this.key])},t.prototype.createThrottledResizeHandler=function(){function e(){t.handleResize(),t.didResize=!1}var t=this;this.adapter.on("resize.waypoints",(function(){t.didResize||(t.didResize=!0,i.requestAnimationFrame(e))}))},t.prototype.createThrottledScrollHandler=function(){function e(){t.handleScroll(),t.didScroll=!1}var t=this;this.adapter.on("scroll.waypoints",(function(){(!t.didScroll||i.isTouch)&&(t.didScroll=!0,i.requestAnimationFrame(e))}))},t.prototype.handleResize=function(){i.Context.refreshAll()},t.prototype.handleScroll=function(){var e={},t={horizontal:{newScroll:this.adapter.scrollLeft(),oldScroll:this.oldScroll.x,forward:"right",backward:"left"},vertical:{newScroll:this.adapter.scrollTop(),oldScroll:this.oldScroll.y,forward:"down",backward:"up"}};for(var n in t){var r=t[n],i=r.newScroll>r.oldScroll?r.forward:r.backward;for(var o in this.waypoints[n]){var a=this.waypoints[n][o],s=r.oldScroll<a.triggerPoint,l=r.newScroll>=a.triggerPoint;(s&&l||!s&&!l)&&(a.queueTrigger(i),e[a.group.id]=a.group)}}for(var c in e)e[c].flushTriggers();this.oldScroll={x:t.horizontal.newScroll,y:t.vertical.newScroll}},t.prototype.innerHeight=function(){return this.element==this.element.window?i.viewportHeight():this.adapter.innerHeight()},t.prototype.remove=function(e){delete this.waypoints[e.axis][e.key],this.checkEmpty()},t.prototype.innerWidth=function(){return this.element==this.element.window?i.viewportWidth():this.adapter.innerWidth()},t.prototype.destroy=function(){var e=[];
2for(var t in this.waypoints)for(var n in this.waypoints[t])e.push(this.waypoints[t][n]);for(var r=0,i=e.length;i>r;r++)e[r].destroy()},t.prototype.refresh=function(){var e,t=this.element==this.element.window,n=t?void 0:this.adapter.offset(),r={};for(var o in this.handleScroll(),e={horizontal:{contextOffset:t?0:n.left,contextScroll:t?0:this.oldScroll.x,contextDimension:this.innerWidth(),oldScroll:this.oldScroll.x,forward:"right",backward:"left",offsetProp:"left"},vertical:{contextOffset:t?0:n.top,contextScroll:t?0:this.oldScroll.y,contextDimension:this.innerHeight(),oldScroll:this.oldScroll.y,forward:"down",backward:"up",offsetProp:"top"}}){var a=e[o];for(var s in this.waypoints[o]){var l,c,u,d,h=this.waypoints[o][s],f=h.options.offset,p=h.triggerPoint,g=0,m=null==p;h.element!==h.element.window&&(g=h.adapter.offset()[a.offsetProp]),"function"==typeof f?f=f.apply(h):"string"==typeof f&&(f=parseFloat(f),h.options.offset.indexOf("%")>-1&&(f=Math.ceil(a.contextDimension*f/100))),l=a.contextScroll-a.contextOffset,h.triggerPoint=g+l-f,c=p<a.oldScroll,u=h.triggerPoint>=a.oldScroll,d=!c&&!u,!m&&(c&&u)?(h.queueTrigger(a.backward),r[h.group.id]=h.group):(!m&&d||m&&a.oldScroll>=h.triggerPoint)&&(h.queueTrigger(a.forward),r[h.group.id]=h.group)}}return i.requestAnimationFrame((function(){for(var e in r)r[e].flushTriggers()})),this},t.findOrCreateByElement=function(e){return t.findByElement(e)||new t(e)},t.refreshAll=function(){for(var e in r)r[e].refresh()},t.findByElement=function(e){return r[e.waypointContextKey]},window.onload=function(){o&&o(),t.refreshAll()},i.requestAnimationFrame=function(t){(window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||e).call(window,t)},i.Context=t}(),function(){"use strict";function e(e,t){return e.triggerPoint-t.triggerPoint}function t(e,t){return t.triggerPoint-e.triggerPoint}function n(e){this.name=e.name,this.axis=e.axis,this.id=this.name+"-"+this.axis,this.waypoints=[],this.clearTriggerQueues(),r[this.axis][this.name]=this}var r={vertical:{},horizontal:{}},i=window.Waypoint;n.prototype.add=function(e){this.waypoints.push(e)},n.prototype.clearTriggerQueues=function(){this.triggerQueues={up:[],down:[],left:[],right:[]}},n.prototype.flushTriggers=function(){for(var n in this.triggerQueues){var r=this.triggerQueues[n],i="up"===n||"left"===n;r.sort(i?t:e);for(var o=0,a=r.length;a>o;o+=1){var s=r[o];(s.options.continuous||o===r.length-1)&&s.trigger([n])}}this.clearTriggerQueues()},n.prototype.next=function(t){this.waypoints.sort(e);var n=i.Adapter.inArray(t,this.waypoints);return n===this.waypoints.length-1?null:this.waypoints[n+1]},n.prototype.previous=function(t){this.waypoints.sort(e);var n=i.Adapter.inArray(t,this.waypoints);return n?this.waypoints[n-1]:null},n.prototype.queueTrigger=function(e,t){this.triggerQueues[t].push(e)},n.prototype.remove=function(e){var t=i.Adapter.inArray(e,this.waypoints);t>-1&&this.waypoints.splice(t,1)},n.prototype.first=function(){return this.waypoints[0]},n.prototype.last=function(){return this.waypoints[this.waypoints.length-1]},n.findOrCreate=function(e){return r[e.axis][e.name]||new n(e)},i.Group=n}(),function(){"use strict";function e(e){this.$element=t(e)}var t=r,n=window.Waypoint;t.each(["innerHeight","innerWidth","off","offset","on","outerHeight","outerWidth","scrollLeft","scrollTop"],(function(t,n){e.prototype[n]=function(){var e=Array.prototype.slice.call(arguments);return this.$element[n].apply(this.$element,e)}})),t.each(["extend","inArray","isEmptyObject"],(function(n,r){e[r]=t[r]})),n.adapters.push({name:"jquery",Adapter:e}),n.Adapter=e}(),function(){"use strict";function e(e){return function(){var n=[],r=arguments[0];return e.isFunction(arguments[0])&&((r=e.extend({},arguments[1])).handler=arguments[0]),this.each((function(){var i=e.extend({},r,{element:this});"string"==typeof i.context&&(i.context=e(this).closest(i.context)[0]),n.push(new t(i))})),n}}var t=window.Waypoint;r&&(r.fn.waypoint=e(r)),window.Zepto&&(window.Zepto.fn.waypoint=e(window.Zepto))}()},54:function(e,t,n){var r,i,o;function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}!function(s){"use strict";i=[n(755)],r=function(e){var t=window.Slick||{};(t=function(){var t=0;return function(n,r){var i,o=this;o.defaults={accessibility:!0,adaptiveHeight:!1,appendArrows:e(n),appendDots:e(n),arrows:!0,asNavFor:null,prevArrow:'<button class="slick-prev" aria-label="Previous" type="button">Previous</button>',nextArrow:'<button class="slick-next" aria-label="Next" type="button">Next</button>',autoplay:!1,autoplaySpeed:3e3,centerMode:!1,centerPadding:"50px",cssEase:"ease",customPaging:function(t,n){return e('<button type="button" />').text(n+1)},dots:!1,dotsClass:"slick-dots",draggable:!0,easing:"linear",edgeFriction:.35,fade:!1,focusOnSelect:!1,focusOnChange:!1,infinite:!0,initialSlide:0,lazyLoad:"ondemand",mobileFirst:!1,pauseOnHover:!0,pauseOnFocus:!0,pauseOnDotsHover:!1,respondTo:"window",responsive:null,rows:1,rtl:!1,slide:"",slidesPerRow:1,slidesToShow:1,slidesToScroll:1,speed:500,swipe:!0,swipeToSlide:!1,touchMove:!0,touchThreshold:5,useCSS:!0,useTransform:!0,variableWidth:!1,vertical:!1,verticalSwiping:!1,waitForAnimate:!0,zIndex:1e3},o.initials={animating:!1,dragging:!1,autoPlayTimer:null,currentDirection:0,currentLeft:null,currentSlide:0,direction:1,$dots:null,listWidth:null,listHeight:null,loadIndex:0,$nextArrow:null,$prevArrow:null,scrolling:!1,slideCount:null,slideWidth:null,$slideTrack:null,$slides:null,
vendor: 10,034 bytes, line 2
2sliding:!1,slideOffset:0,swipeLeft:null,swiping:!1,$list:null,touchObject:{},transformsEnabled:!1,unslicked:!1},e.extend(o,o.initials),o.activeBreakpoint=null,o.animType=null,o.animProp=null,o.breakpoints=[],o.breakpointSettings=[],o.cssTransitions=!1,o.focussed=!1,o.interrupted=!1,o.hidden="hidden",o.paused=!0,o.positionProp=null,o.respondTo=null,o.rowCount=1,o.shouldClick=!0,o.$slider=e(n),o.$slidesCache=null,o.transformType=null,o.transitionType=null,o.visibilityChange="visibilitychange",o.windowWidth=0,o.windowTimer=null,i=e(n).data("slick")||{},o.options=e.extend({},o.defaults,r,i),o.currentSlide=o.options.initialSlide,o.originalSettings=o.options,void 0!==document.mozHidden?(o.hidden="mozHidden",o.visibilityChange="mozvisibilitychange"):void 0!==document.webkitHidden&&(o.hidden="webkitHidden",o.visibilityChange="webkitvisibilitychange"),o.autoPlay=e.proxy(o.autoPlay,o),o.autoPlayClear=e.proxy(o.autoPlayClear,o),o.autoPlayIterator=e.proxy(o.autoPlayIterator,o),o.changeSlide=e.proxy(o.changeSlide,o),o.clickHandler=e.proxy(o.clickHandler,o),o.selectHandler=e.proxy(o.selectHandler,o),o.setPosition=e.proxy(o.setPosition,o),o.swipeHandler=e.proxy(o.swipeHandler,o),o.dragHandler=e.proxy(o.dragHandler,o),o.keyHandler=e.proxy(o.keyHandler,o),o.instanceUid=t++,o.htmlExpr=/^(?:\s*(<[\w\W]+>)[^>]*)$/,o.registerBreakpoints(),o.init(!0)}}()).prototype.activateADA=function(){this.$slideTrack.find(".slick-active").attr({"aria-hidden":"false"}).find("a, input, button, select").attr({tabindex:"0"})},t.prototype.addSlide=t.prototype.slickAdd=function(t,n,r){var i=this;if("boolean"==typeof n)r=n,n=null;else if(n<0||n>=i.slideCount)return!1;i.unload(),"number"==typeof n?0===n&&0===i.$slides.length?e(t).appendTo(i.$slideTrack):r?e(t).insertBefore(i.$slides.eq(n)):e(t).insertAfter(i.$slides.eq(n)):!0===r?e(t).prependTo(i.$slideTrack):e(t).appendTo(i.$slideTrack),i.$slides=i.$slideTrack.children(this.options.slide),i.$slideTrack.children(this.options.slide).detach(),i.$slideTrack.append(i.$slides),i.$slides.each((function(t,n){e(n).attr("data-slick-index",t)})),i.$slidesCache=i.$slides,i.reinit()},t.prototype.animateHeight=function(){var e=this;if(1===e.options.slidesToShow&&!0===e.options.adaptiveHeight&&!1===e.options.vertical){var t=e.$slides.eq(e.currentSlide).outerHeight(!0);e.$list.animate({height:t},e.options.speed)}},t.prototype.animateSlide=function(t,n){var r={},i=this;i.animateHeight(),!0===i.options.rtl&&!1===i.options.vertical&&(t=-t),!1===i.transformsEnabled?!1===i.options.vertical?i.$slideTrack.animate({left:t},i.options.speed,i.options.easing,n):i.$slideTrack.animate({top:t},i.options.speed,i.options.easing,n):!1===i.cssTransitions?(!0===i.options.rtl&&(i.currentLeft=-i.currentLeft),e({animStart:i.currentLeft}).animate({animStart:t},{duration:i.options.speed,easing:i.options.easing,step:function(e){e=Math.ceil(e),!1===i.options.vertical?(r[i.animType]="translate("+e+"px, 0px)",i.$slideTrack.css(r)):(r[i.animType]="translate(0px,"+e+"px)",i.$slideTrack.css(r))},complete:function(){n&&n.call()}})):(i.applyTransition(),t=Math.ceil(t),!1===i.options.vertical?r[i.animType]="translate3d("+t+"px, 0px, 0px)":r[i.animType]="translate3d(0px,"+t+"px, 0px)",i.$slideTrack.css(r),n&&setTimeout((function(){i.disableTransition(),n.call()}),i.options.speed))},t.prototype.getNavTarget=function(){var t=this,n=t.options.asNavFor;return n&&null!==n&&(n=e(n).not(t.$slider)),n},t.prototype.asNavFor=function(t){var n=this.getNavTarget();null!==n&&"object"==a(n)&&n.each((function(){var n=e(this).slick("getSlick");n.unslicked||n.slideHandler(t,!0)}))},t.prototype.applyTransition=function(e){var t=this,n={};!1===t.options.fade?n[t.transitionType]=t.transformType+" "+t.options.speed+"ms "+t.options.cssEase:n[t.transitionType]="opacity "+t.options.speed+"ms "+t.options.cssEase,!1===t.options.fade?t.$slideTrack.css(n):t.$slides.eq(e).css(n)},t.prototype.autoPlay=function(){var e=this;e.autoPlayClear(),e.slideCount>e.options.slidesToShow&&(e.autoPlayTimer=setInterval(e.autoPlayIterator,e.options.autoplaySpeed))},t.prototype.autoPlayClear=function(){var e=this;e.autoPlayTimer&&clearInterval(e.autoPlayTimer)},t.prototype.autoPlayIterator=function(){var e=this,t=e.currentSlide+e.options.slidesToScroll;e.paused||e.interrupted||e.focussed||(!1===e.options.infinite&&(1===e.direction&&e.currentSlide+1===e.slideCount-1?e.direction=0:0===e.direction&&(t=e.currentSlide-e.options.slidesToScroll,e.currentSlide-1==0&&(e.direction=1))),e.slideHandler(t))},t.prototype.buildArrows=function(){var t=this;!0===t.options.arrows&&(t.$prevArrow=e(t.options.prevArrow).addClass("slick-arrow"),t.$nextArrow=e(t.options.nextArrow).addClass("slick-arrow"),t.slideCount>t.options.slidesToShow?(t.$prevArrow.removeClass("slick-hidden").removeAttr("aria-hidden tabindex"),t.$nextArrow.removeClass("slick-hidden").removeAttr("aria-hidden tabindex"),t.htmlExpr.test(t.options.prevArrow)&&t.$prevArrow.prependTo(t.options.appendArrows),t.htmlExpr.test(t.options.nextArrow)&&t.$nextArrow.appendTo(t.options.appendArrows),!0!==t.options.infinite&&t.$prevArrow.addClass("slick-disabled").attr("aria-disabled","true")):t.$prevArrow.add(t.$nextArrow).addClass("slick-hidden").attr({"aria-disabled":"true",tabindex:"-1"}))},t.prototype.buildDots=function(){var t,n,r=this;if(!0===r.options.dots){for(r.$slider.addClass("slick-dotted"),n=e("<ul />").addClass(r.options.dotsClass),t=0;t<=r.getDotCount();t+=1)n.append(e("<li />").append(r.options.customPaging.call(this,r,t)));r.$dots=n.appendTo(r.options.appendDots),r.$dots.find("li").first().addClass("slick-active")}},t.prototype.buildOut=function(){var t=this;t.$slides=t.$slider.children(t.options.slide+":not(.slick-cloned)").addClass("slick-slide"),t.slideCount=t.$slides.length,t.$slides.each((function(t,n){e(n).attr("data-slick-index",t).data("originalStyling",e(n).attr("style")||"")})),t.$slider.addClass("slick-slider"),t.$slideTrack=0===t.slideCount?e('<div class="slick-track"/>').appendTo(t.$slider):t.$slides.wrapAll('<div class="slick-track"/>').parent(),t.$list=t.$slideTrack.wrap('<div class="slick-list"/>').parent(),t.$slideTrack.css("opacity",0),!0!==t.options.centerMode&&!0!==t.options.swipeToSlide||(t.options.slidesToScroll=1),e("img[data-lazy]",t.$slider).not("[src]").addClass("slick-loading"),t.setupInfinite(),t.buildArrows(),t.buildDots(),t.updateDots(),t.setSlideClasses("number"==typeof t.currentSlide?t.currentSlide:0),!0===t.options.draggable&&t.$list.addClass("draggable")},t.prototype.buildRows=function(){var e,t,n,r,i,o,a,s=this;if(r=document.createDocumentFragment(),o=s.$slider.children(),s.options.rows>1){for(a=s.options.slidesPerRow*s.options.rows,i=Math.ceil(o.length/a),e=0;e<i;e++){var l=document.createElement("div");for(t=0;t<s.options.rows;t++){var c=document.createElement("div");for(n=0;n<s.options.slidesPerRow;n++){var u=e*a+(t*s.options.slidesPerRow+n);o.get(u)&&c.appendChild(o.get(u))}l.appendChild(c)}r.appendChild(l)}s.$slider.empty().append(r),s.$slider.children().children().children().css({width:100/s.options.slidesPerRow+"%",display:"inline-block"})}},t.prototype.checkResponsive=function(t,n){var r,i,o,a=this,s=!1,l=a.$slider.width(),c=window.innerWidth||e(window).width();if("window"===a.respondTo?o=c:"slider"===a.respondTo?o=l:"min"===a.respondTo&&(o=Math.min(c,l)),a.options.responsive&&a.options.responsive.length&&null!==a.options.responsive){for(r in i=null,a.breakpoints)a.breakpoints.hasOwnProperty(r)&&(!1===a.originalSettings.mobileFirst?o<a.breakpoints[r]&&(i=a.breakpoints[r]):o>a.breakpoints[r]&&(i=a.breakpoints[r]));null!==i?null!==a.activeBreakpoint?(i!==a.activeBreakpoint||n)&&(a.activeBreakpoint=i,"unslick"===a.breakpointSettings[i]?a.unslick(i):(a.options=e.extend({},a.originalSettings,a.breakpointSettings[i]),!0===t&&(a.currentSlide=a.options.initialSlide),a.refresh(t)),s=i):(a.activeBreakpoint=i,"unslick"===a.breakpointSettings[i]?a.unslick(i):(a.options=e.extend({},a.originalSettings,a.breakpointSettings[i]),!0===t&&(a.currentSlide=a.options.initialSlide),a.refresh(t)),s=i):null!==a.activeBreakpoint&&(a.activeBreakpoint=null,a.options=a.originalSettings,!0===t&&(a.currentSlide=a.options.initialSlide),a.refresh(t),s=i),t||!1===s||a.$slider.trigger("breakpoint",[a,s])}},t.prototype.changeSlide=function(t,n){var r,i,o=this,a=e(t.currentTarget);switch(a.is("a")&&t.preventDefault(),a.is("li")||(a=a.closest("li")),r=o.slideCount%o.options.slidesToScroll!=0?0:(o.slideCount-o.currentSlide)%o.options.slidesToScroll,t.data.message){case"previous":i=0===r?o.options.slidesToScroll:o.options.slidesToShow-r,o.slideCount>o.options.slidesToShow&&o.slideHandler(o.currentSlide-i,!1,n);break;case"next":i=0===r?o.options.slidesToScroll:r,o.slideCount>o.options.slidesToShow&&o.slideHandler(o.currentSlide+i,!1,n);break;case"index":var s=0===t.data.index?0:t.data.index||a.index()*o.options.slidesToScroll;o.slideHandler(o.checkNavigable(s),!1,n),a.children().trigger("focus");break;default:return}},t.prototype.checkNavigable=function(e){var t,n;if(n=0,e>(t=this.getNavigableIndexes())[t.length-1])e=t[t.length-1];else for(var r in t){if(e<t[r]){e=n;break}n=t[r]}return e},t.prototype.cleanUpEvents=function(){var t=this;t.options.dots&&null!==t.$dots&&(e("li",t.$dots).off("click.slick",t.changeSlide).off("mouseenter.slick",e.proxy(t.interrupt,t,!0)).off("mouseleave.slick",e.proxy(t.interrupt,t,!1)),!0===t.options.accessibility&&t.$dots.off("keydown.slick",t.keyHandler)),t.$slider.off("focus.slick blur.slick"),!0===t.options.arrows&&t.slideCount>t.options.slidesToShow&&(t.$prevArrow&&t.$prevArrow.off("click.slick",t.changeSlide),t.$nextArrow&&t.$nextArrow.off("click.slick",t.changeSlide),!0===t.options.accessibility&&(t.$prevArrow&&t.$prevArrow.off("keydown.slick",t.keyHandler),t.$nextArrow&&t.$nextArrow.off("keydown.slick",t.keyHandler))),t.$list.off("touchstart.slick mousedown.slick",t.swipeHandler),t.$list.off("touchmove.slick mousemove.slick",t.swipeHandler),t.$list.off("touchend.slick mouseup.slick",t.swipeHandler),t.$list.off("touchcancel.slick mouseleave.
2slick",t.swipeHandler),t.$list.off("click.slick",t.clickHandler),e(document).off(t.visibilityChange,t.visibility),t.cleanUpSlideEvents(),!0===t.options.accessibility&&t.$list.off("keydown.slick",t.keyHandler),!0===t.options.focusOnSelect&&e(t.$slideTrack).children().off("click.slick",t.selectHandler),e(window).off("orientationchange.slick.slick-"+t.instanceUid,t.orientationChange),e(window).off("resize.slick.slick-"+t.instanceUid,t.resize),e("[draggable!=true]",t.$slideTrack).off("dragstart",t.preventDefault),e(window).off("load.slick.slick-"+t.instanceUid,t.setPosition)},t.prototype.cleanUpSlideEvents=function(){var t=this;t.$list.off("mouseenter.slick",e.proxy(t.interrupt,t,!0)),t.$list.off("mouseleave.slick",e.proxy(t.interrupt,t,!1))},t.prototype.cleanUpRows=function(){var e,t=this;t.options.rows>1&&((e=t.$slides.children().children()).removeAttr("style"),t.$slider.empty().append(e))},t.prototype.clickHandler=function(e){!1===this.shouldClick&&(e.stopImmediatePropagation(),e.stopPropagation(),e.preventDefault())},t.prototype.destroy=function(t){var n=this;n.autoPlayClear(),n.touchObject={},n.cleanUpEvents(),e(".slick-cloned",n.$slider).detach(),n.$dots&&n.$dots.remove(),n.$prevArrow&&n.$prevArrow.length&&(n.$prevArrow.removeClass("slick-disabled slick-arrow slick-hidden").removeAttr("aria-hidden aria-disabled tabindex").css("display",""),n.htmlExpr.test(n.options.prevArrow)&&n.$prevArrow.remove()),n.$nextArrow&&n.$nextArrow.length&&(n.$nextArrow.removeClass("slick-disabled slick-arrow slick-hidden").removeAttr("aria-hidden aria-disabled tabindex").css("display",""),n.htmlExpr.test(n.options.nextArrow)&&n.$nextArrow.remove()),n.$slides&&(n.$slides.removeClass("slick-slide slick-active slick-center slick-visible slick-current").removeAttr("aria-hidden").removeAttr("data-slick-index").each((function(){e(this).attr("style",e(this).data("originalStyling"))})),n.$slideTrack.children(this.options.slide).detach(),n.$slideTrack.detach(),n.$list.detach(),n.$slider.append(n.$slides)),n.cleanUpRows(),n.$slider.removeClass("slick-slider"),n.$slider.removeClass("slick-initialized"),n.$slider.removeClass("slick-dotted"),n.unslicked=!0,t||n.$slider.trigger("destroy",[n])},t.prototype.disableTransition=function(e){var t=this,n={};n[t.transitionType]="",!1===t.options.fade?t.$slideTrack.css(n):t.$slides.eq(e).css(n)},t.prototype.fadeSlide=function(e,t){var n=this;!1===n.cssTransitions?(n.$slides.eq(e).css({zIndex:n.options.zIndex}),n.$slides.eq(e).animate({opacity:1},n.options.speed,n.options.easing,t)):(n.applyTransition(e),n.$slides.eq(e).css({opacity:1,zIndex:n.options.zIndex}),t&&setTimeout((function(){n.disableTransition(e),t.call()}),n.options.speed))},t.prototype.fadeSlideOut=function(e){var t=this;!1===t.cssTransitions?t.$slides.eq(e).animate({opacity:0,zIndex:t.options.zIndex-2},t.options.speed,t.options.easing):(t.applyTransition(e),t.$slides.eq(e).css({opacity:0,zIndex:t.options.zIndex-2}))},t.prototype.filterSlides=t.prototype.slickFilter=function(e){var t=this;null!==e&&(t.$slidesCache=t.$slides,t.unload(),t.$slideTrack.children(this.options.slide).detach(),t.$slidesCache.filter(e).appendTo(t.$slideTrack),t.reinit())},t.prototype.focusHandler=function(){var t=this;t.$slider.off("focus.slick blur.slick").on("focus.slick blur.slick","*",(function(n){n.stopImmediatePropagation();var r=e(this);setTimeout((function(){t.options.pauseOnFocus&&(t.focussed=r.is(":focus"),t.autoPlay())}),0)}))},t.prototype.getCurrent=t.prototype.slickCurrentSlide=function(){return this.currentSlide},t.prototype.getDotCount=function(){var e=this,t=0,n=0,r=0;if(!0===e.options.infinite)if(e.slideCount<=e.options.slidesToShow)++r;else for(;t<e.slideCount;)++r,t=n+e.options.slidesToScroll,n+=e.options.slidesToScroll<=e.options.slidesToShow?e.options.slidesToScroll:e.options.slidesToShow;else if(!0===e.options.centerMode)r=e.slideCount;else if(e.options.asNavFor)for(;t<e.slideCount;)++r,t=n+e.options.slidesToScroll,n+=e.options.slidesToScroll<=e.options.slidesToShow?e.options.slidesToScroll:e.options.slidesToShow;else r=1+Math.ceil((e.slideCount-e.options.slidesToShow)/e.options.slidesToScroll);return r-1},t.prototype.getLeft=function(e){var t,n,r,i,o=this,a=0;return o.slideOffset=0,n=o.$slides.first().outerHeight(!0),!0===o.options.infinite?(o.slideCount>o.options.slidesToShow&&(o.slideOffset=o.slideWidth*o.options.slidesToShow*-1,i=-1,!0===o.options.vertical&&!0===o.options.centerMode&&(2===o.options.slidesToShow?i=-1.5:1===o.options.slidesToShow&&(i=-2)),a=n*o.options.slidesToShow*i),o.slideCount%o.options.slidesToScroll!=0&&e+o.options.slidesToScroll>o.slideCount&&o.slideCount>o.options.slidesToShow&&(e>o.slideCount?(o.slideOffset=(o.options.slidesToShow-(e-o.slideCount))*o.slideWidth*-1,a=(o.options.slidesToShow-(e-o.slideCount))*n*-1):(o.slideOffset=o.slideCount%o.options.slidesToScroll*o.slideWidth*-1,a=o.slideCount%o.options.slidesToScroll*n*-1))):e+o.options.slidesToShow>o.slideCount&&(o.slideOffset=(e+o.options.slidesToShow-o.slideCount)*o.slideWidth,a=(e+o.options.slidesToShow-o.slideCount)*n),o.slideCount<=o.options.slidesToShow&&(o.slideOffset=0,a=0),!0===o.options.centerMode&&o.slideCount<=o.options.slidesToShow?o.slideOffset=o.slideWidth*Math.floor(o.options.slidesToShow)/2-o.slideWidth*o.slideCount/2:!0===o.options.centerMode&&!0===o.options.infinite?o.slideOffset+=o.slideWidth*Math.floor(o.options.slidesToShow/2)-o.slideWidth:!0===o.options.centerMode&&(o.slideOffset=0,o.slideOffset+=o.slideWidth*Math.floor(o.options.slidesToShow/2)),t=!1===o.options.vertical?e*o.slideWidth*-1+o.slideOffset:e*n*-1+a,!0===o.options.variableWidth&&(r=o.slideCount<=o.options.slidesToShow||!1===o.options.infinite?o.$slideTrack.children(".slick-slide").eq(e):o.$slideTrack.children(".slick-slide").eq(e+o.options.slidesToShow),t=!0===o.options.rtl?r[0]?-1*(o.$slideTrack.width()-r[0].offsetLeft-r.width()):0:r[0]?-1*r[0].offsetLeft:0,!0===o.options.centerMode&&(r=o.slideCount<=o.options.slidesToShow||!1===o.options.infinite?o.$slideTrack.children(".slick-slide").eq(e):o.$slideTrack.children(".slick-slide").eq(e+o.options.slidesToShow+1),t=!0===o.options.rtl?r[0]?-1*(o.$slideTrack.width()-r[0].offsetLeft-r.width()):0:r[0]?-1*r[0].offsetLeft:0,t+=(o.$list.width()-r.outerWidth())/2)),t},t.prototype.getOption=t.prototype.slickGetOption=function(e){return this.options[e]},t.prototype.getNavigableIndexes=function(){var e,t=this,n=0,r=0,i=[];for(!1===t.options.infinite?e=t.slideCount:(n=-1*t.options.slidesToScroll,r=-1*t.options.slidesToScroll,e=2*t.slideCount);n<e;)i.push(n),n=r+t.options.slidesToScroll,r+=t.options.slidesToScroll<=t.options.slidesToShow?t.options.slidesToScroll:t.options.slidesToShow;return i},t.prototype.getSlick=function(){return this},t.prototype.getSlideCount=function(){var t,n,r=this;return n=!0===r.options.centerMode?r.slideWidth*Math.floor(r.options.slidesToShow/2):0,!0===r.options.swipeToSlide?(r.$slideTrack.find(".slick-slide").each((function(i,o){if(o.offsetLeft-n+e(o
2).outerWidth()/2>-1*r.swipeLeft)return t=o,!1})),Math.abs(e(t).attr("data-slick-index")-r.currentSlide)||1):r.options.slidesToScroll},t.prototype.goTo=t.prototype.slickGoTo=function(e,t){this.changeSlide({data:{message:"index",index:parseInt(e)}},t)},t.prototype.init=function(t){var n=this;e(n.$slider).hasClass("slick-initialized")||(e(n.$slider).addClass("slick-initialized"),n.buildRows(),n.buildOut(),n.setProps(),n.startLoad(),n.loadSlider(),n.initializeEvents(),n.updateArrows(),n.updateDots(),n.checkResponsive(!0),n.focusHandler()),t&&n.$slider.trigger("init",[n]),!0===n.options.accessibility&&n.initADA(),n.options.autoplay&&(n.paused=!1,n.autoPlay())},t.prototype.initADA=function(){var t=this,n=Math.ceil(t.slideCount/t.options.slidesToShow),r=t.getNavigableIndexes().filter((function(e){return e>=0&&e<t.slideCount}));t.$slides.add(t.$slideTrack.find(".slick-cloned")).attr({"aria-hidden":"true",tabindex:"-1"}).find("a, input, button, select").attr({tabindex:"-1"}),null!==t.$dots&&(t.$slides.not(t.$slideTrack.find(".slick-cloned")).each((function(n){var i=r.indexOf(n);e(this).attr({role:"tabpanel",id:"slick-slide"+t.instanceUid+n,tabindex:-1}),-1!==i&&e(this).attr({"aria-describedby":"slick-slide-control"+t.instanceUid+i})})),t.$dots.attr("role","tablist").find("li").each((function(i){var o=r[i];e(this).attr({role:"presentation"}),e(this).find("button").first().attr({role:"tab",id:"slick-slide-control"+t.instanceUid+i,"aria-controls":"slick-slide"+t.instanceUid+o,"aria-label":i+1+" of "+n,"aria-selected":null,tabindex:"-1"})})).eq(t.currentSlide).find("button").attr({"aria-selected":"true",tabindex:"0"}).end());for(var i=t.currentSlide,o=i+t.options.slidesToShow;i<o;i++)t.$slides.eq(i).attr("tabindex",0);t.activateADA()},t.prototype.initArrowEvents=function(){var e=this;!0===e.options.arrows&&e.slideCount>e.options.slidesToShow&&(e.$prevArrow.off("click.slick").on("click.slick",{message:"previous"},e.changeSlide),e.$nextArrow.off("click.slick").on("click.slick",{message:"next"},e.changeSlide),!0===e.options.accessibility&&(e.$prevArrow.on("keydown.slick",e.keyHandler),e.$nextArrow.on("keydown.slick",e.keyHandler)))},t.prototype.initDotEvents=function(){var t=this;!0===t.options.dots&&(e("li",t.$dots).on("click.slick",{message:"index"},t.changeSlide),!0===t.options.accessibility&&t.$dots.on("keydown.slick",t.keyHandler)),!0===t.options.dots&&!0===t.options.pauseOnDotsHover&&e("li",t.$dots).on("mouseenter.slick",e.proxy(t.interrupt,t,!0)).on("mouseleave.slick",e.proxy(t.interrupt,t,!1))},t.prototype.initSlideEvents=function(){var t=this;t.options.pauseOnHover&&(t.$list.on("mouseenter.slick",e.proxy(t.interrupt,t,!0)),t.$list.on("mouseleave.slick",e.proxy(t.interrupt,t,!1)))},t.prototype.initializeEvents=function(){var t=this;t.initArrowEvents(),t.initDotEvents(),t.initSlideEvents(),t.$list.on("touchstart.slick mousedown.slick",{action:"start"},t.swipeHandler),t.$list.on("touchmove.slick mousemove.slick",{action:"move"},t.swipeHandler),t.$list.on("touchend.slick mouseup.slick",{action:"end"}
2,t.swipeHandler),t.$list.on("touchcancel.slick mouseleave.slick",{action:"end"},t.swipeHandler),t.$list.on("click.slick",t.clickHandler),e(document).on(t.visibilityChange,e.proxy(t.visibility,t)),!0===t.options.accessibility&&t.$list.on("keydown.slick",t.keyHandler),!0===t.options.focusOnSelect&&e(t.$slideTrack).children().on("click.slick",t.selectHandler),e(window).on("orientationchange.slick.slick-"+t.instanceUid,e.proxy(t.orientationChange,t)),e(window).on("resize.slick.slick-"+t.instanceUid,e.proxy(t.resize,t)),e("[draggable!=true]",t.$slideTrack).on("dragstart",t.preventDefault),e(window).on("load.slick.slick-"+t.instanceUid,t.setPosition),e(t.setPosition)},t.prototype.initUI=function(){var e=this;!0===e.options.arrows&&e.slideCount>e.options.slidesToShow&&(e.$prevArrow.show(),e.$nextArrow.show()),!0===e.options.dots&&e.slideCount>e.options.slidesToShow&&e.$dots.show()},t.prototype.keyHandler=function(e){var t=this;e.target.tagName.match("TEXTAREA|INPUT|SELECT")||(37===e.keyCode&&!0===t.options.accessibility?t.changeSlide({data:{message:!0===t.options.rtl?"next":"previous"}}):39===e.keyCode&&!0===t.options.accessibility&&t.changeSlide({data:{message:!0===t.options.rtl?"previous":"next"}}))},t.prototype.lazyLoad=function(){function t(t){e("img[data-lazy]",t).each((function(){var t=e(this),n=e(this).attr("data-lazy"),r=e(this).attr("data-srcset"),i=e(this).attr("data-sizes")||o.$slider.attr("data-sizes"),a=document.createElement("img");a.onload=function(){t.animate({opacity:0}
vendor: 7,124 bytes, line 2
2,100,(function(){r&&(t.attr("srcset",r),i&&t.attr("sizes",i)),t.attr("src",n).animate({opacity:1},200,(function(){t.removeAttr("data-lazy data-srcset data-sizes").removeClass("slick-loading")})),o.$slider.trigger("lazyLoaded",[o,t,n])}))},a.onerror=function(){t.removeAttr("data-lazy").removeClass("slick-loading").addClass("slick-lazyload-error"),o.$slider.trigger("lazyLoadError",[o,t,n])},a.src=n}))}var n,r,i,o=this;if(!0===o.options.centerMode?!0===o.options.infinite?i=(r=o.currentSlide+(o.options.slidesToShow/2+1))+o.options.slidesToShow+2:(r=Math.max(0,o.currentSlide-(o.options.slidesToShow/2+1)),i=o.options.slidesToShow/2+1+2+o.currentSlide):(r=o.options.infinite?o.options.slidesToShow+o.currentSlide:o.currentSlide,i=Math.ceil(r+o.options.slidesToShow),!0===o.options.fade&&(r>0&&r--,i<=o.slideCount&&i++)),n=o.$slider.find(".slick-slide").slice(r,i),"anticipated"===o.options.lazyLoad)for(var a=r-1,s=i,l=o.$slider.find(".slick-slide"),c=0;c<o.options.slidesToScroll;c++)a<0&&(a=o.slideCount-1),n=(n=n.add(l.eq(a))).add(l.eq(s)),a--,s++;t(n),o.slideCount<=o.options.slidesToShow?t(o.$slider.find(".slick-slide")):o.currentSlide>=o.slideCount-o.options.slidesToShow?t(o.$slider.find(".slick-cloned").slice(0,o.options.slidesToShow)):0===o.currentSlide&&t(o.$slider.find(".slick-cloned").slice(-1*o.options.slidesToShow))},t.prototype.loadSlider=function(){var e=this;e.setPosition(),e.$slideTrack.css({opacity:1}),e.$slider.removeClass("slick-loading"),e.initUI(),"progressive"===e.options.lazyLoad&&e.progressiveLazyLoad()},t.prototype.next=t.prototype.slickNext=function(){this.changeSlide({data:{message:"next"}})},t.prototype.orientationChange=function(){var e=this;e.checkResponsive(),e.setPosition()},t.prototype.pause=t.prototype.slickPause=function(){var e=this;e.autoPlayClear(),e.paused=!0},t.prototype.play=t.prototype.slickPlay=function(){var e=this;e.autoPlay(),e.options.autoplay=!0,e.paused=!1,e.focussed=!1,e.interrupted=!1},t.prototype.postSlide=function(t){var n=this;n.unslicked||(n.$slider.trigger("afterChange",[n,t]),n.animating=!1,n.slideCount>n.options.slidesToShow&&n.setPosition(),n.swipeLeft=null,n.options.autoplay&&n.autoPlay(),!0===n.options.accessibility&&(n.initADA(),n.options.focusOnChange&&e(n.$slides.get(n.currentSlide)).attr("tabindex",0).focus()))},t.prototype.prev=t.prototype.slickPrev=function(){this.changeSlide({data:{message:"previous"}})},t.prototype.preventDefault=function(e){e.preventDefault()},t.prototype.progressiveLazyLoad=function(t){t=t||1;var n,r,i,o,a,s=this,l=e("img[data-lazy]",s.$slider);l.length?(n=l.first(),r=n.attr("data-lazy"),i=n.attr("data-srcset"),o=n.attr("data-sizes")||s.$slider.attr("data-sizes"),(a=document.createElement("img")).onload=function(){i&&(n.attr("srcset",i),o&&n.attr("sizes",o)),n.attr("src",r).removeAttr("data-lazy data-srcset data-sizes").removeClass("slick-loading"),!0===s.options.adaptiveHeight&&s.setPosition(),s.$slider.trigger("lazyLoaded",[s,n,r]),s.progressiveLazyLoad()},a.onerror=function(){t<3?setTimeout((function(){s.progressiveLazyLoad(t+1)}),500):(n.removeAttr("data-lazy").removeClass("slick-loading").addClass("slick-lazyload-error"),s.$slider.trigger("lazyLoadError",[s,n,r]),s.progressiveLazyLoad())},a.src=r):s.$slider.trigger("allImagesLoaded",[s])},t.prototype.refresh=function(t){var n,r,i=this;r=i.slideCount-i.options.slidesToShow,!i.options.infinite&&i.currentSlide>r&&(i.currentSlide=r),i.slideCount<=i.options.slidesToShow&&(i.currentSlide=0),n=i.currentSlide,i.destroy(!0),e.extend(i,i.initials,{currentSlide:n}),i.init(),t||i.changeSlide({data:{message:"index",index:n}},!1)},t.prototype.registerBreakpoints=function(){var t,n,r,i=this,o=i.options.responsive||null;if("array"===e.type(o)&&o.length){for(t in i.respondTo=i.options.respondTo||"window",o)if(r=i.breakpoints.length-1,o.hasOwnProperty(t)){for(n=o[t].breakpoint;r>=0;)i.breakpoints[r]&&i.breakpoints[r]===n&&i.breakpoints.splice(r,1),r--;i.breakpoints.push(n),i.breakpointSettings[n]=o[t].settings}i.breakpoints.sort((function(e,t){return i.options.mobileFirst?e-t:t-e}))}},t.prototype.reinit=function(){var t=this;t.$slides=t.$slideTrack.children(t.options.slide).addClass("slick-slide"),t.slideCount=t.$slides.length,t.currentSlide>=t.slideCount&&0!==t.currentSlide&&(t.currentSlide=t.currentSlide-t.options.slidesToScroll),t.slideCount<=t.options.slidesToShow&&(t.currentSlide=0),t.registerBreakpoints(),t.setProps(),t.setupInfinite(),t.buildArrows(),t.updateArrows(),t.initArrowEvents(),t.buildDots(),t.updateDots(),t.initDotEvents(),t.cleanUpSlideEvents(),t.initSlideEvents(),t.checkResponsive(!1,!0),!0===t.options.focusOnSelect&&e(t.$slideTrack).children().on("click.slick",t.selectHandler),t.setSlideClasses("number"==typeof t.currentSlide?t.currentSlide:0),t.setPosition(),t.focusHandler(),t.paused=!t.options.autoplay,t.autoPlay(),t.$slider.trigger("reInit",[t])},t.prototype.resize=function(){var t=this;e(window).width()!==t.windowWidth&&(clearTimeout(t.windowDelay),t.windowDelay=window.setTimeout((function(){t.windowWidth=e(window).width(),t.checkResponsive(),t.unslicked||t.setPosition()}),50))},t.prototype.removeSlide=t.prototype.slickRemove=function(e,t,n){var r=this;if(e="boolean"==typeof e?!0===(t=e)?0:r.slideCount-1:!0===t?--e:e,r.slideCount<1||e<0||e>r.slideCount-1)return!1;r.unload(),!0===n?r.$slideTrack.children().remove():r.$slideTrack.children(this.options.slide).eq(e).remove(),r.$slides=r.$slideTrack.children(this.options.slide),r.$slideTrack.children(this.options.slide).detach(),r.$slideTrack.append(r.$slides),r.$slidesCache=r.$slides,r.reinit()},t.prototype.setCSS=function(e){var t,n,r=this,i={};!0===r.options.rtl&&(e=-e),t="left"==r.positionProp?Math.ceil(e)+"px":"0px",n="top"==r.positionProp?Math.ceil(e)+"px":"0px",i[r.positionProp]=e,!1===r.transformsEnabled?r.$slideTrack.css(i):(i={},!1===r.cssTransitions?(i[r.animType]="translate("+t+", "+n+")",r.$slideTrack.css(i)):(i[r.animType]="translate3d("+t+", "+n+", 0px)",r.$slideTrack.css(i)))},t.prototype.setDimensions=function(){var e=this;!1===e.options.vertical?!0===e.options.centerMode&&e.$list.css({padding:"0px "+e.options.centerPadding}):(e.$list.height(e.$slides.first().outerHeight(!0)*e.options.slidesToShow),!0===e.options.centerMode&&e.$list.css({padding:e.options.centerPadding+" 0px"})),e.listWidth=e.$list.width(),e.listHeight=e.$list.height(),!1===e.options.vertical&&!1===e.options.variableWidth?(e.slideWidth=Math.ceil(e.listWidth/e.options.slidesToShow),e.$slideTrack.width(Math.ceil(e.slideWidth*e.$slideTrack.children(".slick-slide").length))):!0===e.options.variableWidth?e.$slideTrack.width(5e3*e.slideCount):(e.slideWidth=Math.ceil(e.listWidth),e.$slideTrack.height(Math.ceil(e.$slides.first().outerHeight(!0)*e.$slideTrack.children(".slick-slide").length)));var t=e.$slides.first().outerWidth(!0)-e.$slides.first().width();!1===e.options.variableWidth&&e.$slideTrack.children(".slick-slide").width(e.slideWidth-t)},t.prototype.setFade=function(){var t,n=this;n.$slides.each((function(r,i){t=n.slideWidth*r*-1,!0===n.options.rtl?e(i).css({position:"relative",right:t,top:0,zIndex:n.options.zIndex-2,opacity:0}
2):e(i).css({position:"relative",left:t,top:0,zIndex:n.options.zIndex-2,opacity:0})})),n.$slides.eq(n.currentSlide).css({zIndex:n.options.zIndex-1,opacity:1})},t.prototype.setHeight=function(){var e=this;if(1===e.options.slidesToShow&&!0===e.options.adaptiveHeight&&!1===e.options.vertical){var t=e.$slides.eq(e.currentSlide).outerHeight(!0);e.$list.css("height",t)}},t.prototype.setOption=t.prototype.slickSetOption=function(){var t,n,r,i,o,a=this,s=!1;if("object"===e.type(arguments[0])?(r=arguments[0],s=arguments[1],o="multiple"):"string"===e.type(arguments[0])&&(r=arguments[0],i=arguments[1],s=arguments[2],"responsive"===arguments[0]&&"array"===e.type(arguments[1])?o="responsive":void 0!==arguments[1]&&(o="single")),"single"===o)a.options[r]=i;else if("multiple"===o)e.each(r,(function(e,t){a.options[e]=t}));else if("responsive"===o)for(n in i)if("array"!==e.type(a.options.responsive))a.options.responsive=[i[n]];else{for(t=a.options.responsive.length-1;t>=0;)a.options.responsive[t].breakpoint===i[n].breakpoint&&a.options.responsive.splice(t,1),t--;a.options.responsive.push(i[n])}s&&(a.unload(),a.reinit())},t.prototype.setPosition=function(){var e=this;e.setDimensions(),e.setHeight(),!1===e.options.fade?e.setCSS(e.getLeft(e.currentSlide)):e.setFade(),e.$slider.trigger("setPosition",[e])},t.prototype.setProps=function(){var e=this,t=document.body.style;e.positionProp=!0===e.options.vertical?"top":"left","top"===e.positionProp?e.$slider.addClass("slick-vertical"):e.$slider.removeClass("slick-vertical"),void 0===t.WebkitTransition&&void 0===t.MozTransition&&void 0===t.msTransition||!0===e.options.useCSS&&(e.cssTransitions=!0),e.options.fade&&("number"==typeof e.options.zIndex?e.options.zIndex<3&&(e.options.zIndex=3):e.options.zIndex=e.defaults.zIndex),void 0!==t.OTransform&&(e.animType="OTransform",e.transformType="-o-transform",e.transitionType="OTransition",void 0===t.perspectiveProperty&&void 0===t.webkitPerspective&&(e.animType=!1)),void 0!==t.MozTransform&&(e.animType="MozTransform",e.transformType="-moz-transform",e.transitionType="MozTransition",void 0===t.perspectiveProperty&&void 0===t.MozPerspective&&(e.animType=!1)),void 0!==t.webkitTransform&&(e.animType="webkitTransform",e.transformType="-webkit-transform",e.transitionType="webkitTransition",void 0===t.perspectiveProperty&&void 0===t.webkitPerspective&&(e.animType=!1)),void 0!==t.msTransform&&(e.animType="msTransform",e.transformType="-ms-transform",e.transitionType="msTransition",void 0===t.msTransform&&(e.animType=!1)),void 0!==t.transform&&!1!==e.animType&&(e.animType="transform",e.transformType="transform",e.transitionType="transition"),e.transformsEnabled=e.options.useTransform&&null!==e.animType&&!1!==e.animType},t.prototype.setSlideClasses=function(e){var t,n,r,i,o=this;if(n=o.$slider.find(".slick-slide").removeClass("slick-active slick-center slick-current").attr("aria-hidden","true"),o.$slides.eq(e).addClass("slick-current"),!0===o.options.centerMode){var a=o.options.slidesToShow%2==0?1:0;t=Math.floor(o.options.slidesToShow/2),!0===o.options.infinite&&(e>=t&&e<=o.slideCount-1-t?o.$slides.slice(e-t+a,e+t+1).addClass("slick-active").attr("aria-hidden","false"):(r=o.options.slidesToShow+e,n.slice(r-t+1+a,r+t+2).addClass("slick-active").attr("aria-hidden","false")),0===e?n.eq(n.length-1-o.options.slidesToShow).addClass("slick-center"):e===o.slideCount-1&&n.eq(o.options.slidesToShow).addClass("slick-center")),o.$slides.eq(e).addClass("slick-center")}else e>=0&&e<=o.slideCount-o.options.slidesToShow?o.$slides.slice(e,e+o.options.slidesToShow).addClass("slick-active").attr("aria-hidden","false"):n.length<=o.options.slidesToShow?n.addClass("slick-active").attr("aria-hidden","false"):(i=o.slideCount%o.options.slidesToShow,r=!0===o.options.infinite?o.options.slidesToShow+e:e,o.options.slidesToShow==o.options.slidesToScroll&&o.slideCount-e<o.options.slidesToShow?n.slice(r-(o.options.slidesToShow-i),r+i).addClass("slick-active").attr("aria-hidden","false"):n.slice(r,r+o.options.slidesToShow).addClass("slick-active").attr("aria-hidden","false"));"ondemand"!==o.options.lazyLoad&&"anticipated"!==o.options.lazyLoad||o.lazyLoad()},t.prototype.setupInfinite=function(){var t,n,r,i=this;if(!0===i.options.fade&&(i.options.centerMode=!1),!0===i.options.infinite&&!1===i.options.fade&&(n=null,i.slideCount>i.options.slidesToShow)){for(r=!0===i.options.centerMode?i.options.slidesToShow+1:i.options.slidesToShow,t=i.slideCount;t>i.slideCount-r;t-=1)n=t-1,e(i.$slides[n]).clone(!0).attr("id","").attr("data-slick-index",n-i.slideCount).prependTo(i.$slideTrack).addClass("slick-cloned");for(t=0;t<r+i.slideCount;t+=1)n=t,e(i.$slides[n]).clone(!0).attr("id","").attr("data-slick-index",n+i.slideCount).appendTo(i.$slideTrack).addClass("slick-cloned");i.$slideTrack.find(".slick-cloned").find("[id]").each((function(){e(this).attr("id","")}))}},t.prototype.interrupt=function(e){var t=this;e||t.autoPlay(),t.interrupted=e},t.prototype.selectHandler=function(t){var n=this,r=e(t.target).is(".slick-slide")?e(t.target):e(t.target).parents(".slick-slide"),i=parseInt(r.attr("data-slick-index"));i||(i=0),n.slideCount<=n.options.slidesToShow?n.slideHandler(i,!1,!0):n.slideHandler(i)},t.prototype.slideHandler=function(e,t,n){var r,i,o,a,s,l=null,c=this;if(t=t||!1,!(!0===c.animating&&!0===c.options.waitForAnimate||!0===c.options.fade&&c.currentSlide===e))if(!1===t&&c.asNavFor(e),r=e,l=c.getLeft(r),a=c.getLeft(c.
2currentSlide),c.currentLeft=null===c.swipeLeft?a:c.swipeLeft,!1===c.options.infinite&&!1===c.options.centerMode&&(e<0||e>c.getDotCount()*c.options.slidesToScroll))!1===c.options.fade&&(r=c.currentSlide,!0!==n?c.animateSlide(a,(function(){c.postSlide(r)})):c.postSlide(r));else if(!1===c.options.infinite&&!0===c.options.centerMode&&(e<0||e>c.slideCount-c.options.slidesToScroll))!1===c.options.fade&&(r=c.currentSlide,!0!==n?c.animateSlide(a,(function(){c.postSlide(r)})):c.postSlide(r));else{if(c.options.autoplay&&clearInterval(c.autoPlayTimer),i=r<0?c.slideCount%c.options.slidesToScroll!=0?c.slideCount-c.slideCount%c.options.slidesToScroll:c.slideCount+r:r>=c.slideCount?c.slideCount%c.options.slidesToScroll!=0?0:r-c.slideCount:r,c.animating=!0,c.$slider.trigger("beforeChange",[c,c.currentSlide,i]),o=c.currentSlide,c.currentSlide=i,c.setSlideClasses(c.currentSlide),c.options.asNavFor&&(s=(s=c.getNavTarget()).slick("getSlick")).slideCount<=s.options.slidesToShow&&s.setSlideClasses(c.currentSlide),c.updateDots(),c.updateArrows(),!0===c.options.fade)return!0!==n?(c.fadeSlideOut(o),c.fadeSlide(i,(function(){c.postSlide(i)}))):c.postSlide(i),void c.animateHeight();!0!==n?c.animateSlide(l,(function(){c.postSlide(i)})):c.postSlide(i)}},t.prototype.startLoad=function(){var e=this;!0===e.options.arrows&&e.slideCount>e.options.slidesToShow&&(e.$prevArrow.hide(),e.$nextArrow.hide()),!0===e.options.dots&&e.slideCount>e.options.slidesToShow&&e.$dots.hide(),e.$slider.addClass("slick-loading")},t.prototype.swipeDirection=function(){var e,t,n,r,i=this;return e=i.touchObject.startX-i.touchObject.curX,t=i.touchObject.startY-i.touchObject.curY,n=Math.atan2(t,e),(r=Math.round(180*n/Math.PI))<0&&(r=360-Math.abs(r)),r<=45&&r>=0||r<=360&&r>=315?!1===i.options.rtl?"left":"right":r>=135&&r<=225?!1===i.options.rtl?"right":"left":!0===i.options.verticalSwiping?r>=35&&r<=135?"down":"up":"vertical"},t.prototype.swipeEnd=function(e){var t,n,r=this;if(r.dragging=!1,r.swiping=!1,r.scrolling)return r.scrolling=!1,!1;if(r.interrupted=!1,r.shouldClick=!(r.touchObject.swipeLength>10),void 0===r.touchObject.curX)return!1;if(!0===r.touchObject.edgeHit&&r.$slider.trigger("edge",[r,r.swipeDirection()]),r.touchObject.swipeLength>=r.touchObject.minSwipe){switch(n=r.swipeDirection()){case"left":case"down":t=r.options.swipeToSlide?r.checkNavigable(r.currentSlide+r.getSlideCount()):r.currentSlide+r.getSlideCount(),r.currentDirection=0;break;case"right":case"up":t=r.options.swipeToSlide?r.checkNavigable(r.currentSlide-r.getSlideCount()):r.currentSlide-r.getSlideCount(),r.currentDirection=1}"vertical"!=n&&(r.slideHandler(t),r.touchObject={},r.$slider.trigger("swipe",[r,n]))}else r.touchObject.startX!==r.touchObject.curX&&(r.slideHandler(r.currentSlide),r.touchObject={})},t.prototype.swipeHandler=function(e){var t=this;if(!(!1===t.options.swipe||"ontouchend"in document&&!1===t.options.swipe||!1===t.options.draggable&&-1!==e.type.indexOf("mouse")))switch(t.touchObject.fingerCount=e.originalEvent&&void 0!==e.originalEvent.touches?e.originalEvent.touches.length:1,t.touchObject.minSwipe=t.listWidth/t.options.touchThreshold,!0===t.options.verticalSwiping&&(t.touchObject.minSwipe=t.listHeight/t.options.touchThreshold),e.data.action){case"start":t.swipeStart(e);break;case"move":t.swipeMove(e);break;case"end":t.swipeEnd(e)}},t.prototype.swipeMove=function(e){var t,n,r,i,o,a,s=this;return o=void 0!==e.originalEvent?e.originalEvent.touches:null,!(!s.dragging||s.scrolling||o&&1!==o.length)&&(t=s.getLeft(s.currentSlide),s.touchObject.curX=void 0!==o?o[0].pageX:e.clientX,s.touchObject.curY=void 0!==o?o[0].pageY:e.clientY,s.touchObject.swipeLength=Math.round(Math.sqrt(Math.pow(s.touchObject.curX-s.touchObject.startX,2))),a=Math.round(Math.sqrt(Math.pow(s.touchObject.curY-s.touchObject.startY,2))),!s.options.verticalSwiping&&!s.swiping&&a>4?(s.scrolling=!0,!1):(!0===s.options.verticalSwiping&&(s.touchObject.swipeLength=a),n=s.swipeDirection(),void 0!==e.originalEvent&&s.touchObject.swipeLength>4&&(s.swiping=!0,e.preventDefault()),i=(!1===s.options.rtl?1:-1)*(s.touchObject.curX>s.touchObject.startX?1:-1),!0===s.options.verticalSwiping&&(i=s.touchObject.curY>s.touchObject.startY?1:-1),r=s.touchObject.swipeLength,s.touchObject.edgeHit=!1,!1===s.options.infinite&&(0===s.currentSlide&&"right"===n||s.currentSlide>=s.getDotCount()&&"left"===n)&&(r=s.touchObject.swipeLength*s.options.edgeFriction,s.touchObject.edgeHit=!0),!1===s.options.vertical?s.swipeLeft=t+r*i:s.swipeLeft=t+r*(s.$list.height()/s.listWidth)*i,!0===s.options.verticalSwiping&&(s.swipeLeft=t+r*i),!0!==s.options.fade&&!1!==s.options.touchMove&&(!0===s.animating?(s.swipeLeft=null,!1):void s.setCSS(s.swipeLeft))))},t.prototype.swipeStart=function(e){var t,n=this;if(n.interrupted=!0,1!==n.touchObject.fingerCount||n.slideCount<=n.options.slidesToShow)return n.touchObject={},!1;void 0!==e.originalEvent&&void 0!==e.originalEvent.touches&&(t=e.originalEvent.touches[0]),n.touchObject.startX=n.touchObject.curX=void 0!==t?t.pageX:e.clientX,n.touchObject.startY=n.touchObject.curY=void 0!==t?t.pageY:e.clientY,n.dragging=!0},t.prototype.unfilterSlides=t.prototype.slickUnfilter=function(){var e=this;null!==e.$slidesCache&&(e.unload(),e.$slideTrack.children(this.options.slide).detach(),e.$slidesCache.appendTo(e.$slideTrack),e.reinit())},t.prototype.unload=function(){var t=this;e(".slick-cloned",t.$slider).remove(),t.$dots&&t.$dots.remove(),t.$prevArrow&&t.htmlExpr.test(t.options.prevArrow)&&t.$prevArrow.remove(),t.$nextArrow&&t.htmlExpr.test(t.options.nextArrow)&&t.$nextArrow.remove(),t.$slides.removeClass("slick-slide slick-active slick-visible slick-current").attr("aria-hidden","true").css("width","")}
2,t.prototype.unslick=function(e){var t=this;t.$slider.trigger("unslick",[t,e]),t.destroy()},t.prototype.updateArrows=function(){var e=this;Math.floor(e.options.slidesToShow/2),!0===e.options.arrows&&e.slideCount>e.options.slidesToShow&&!e.options.infinite&&(e.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false"),e.$nextArrow.removeClass("slick-disabled").attr("aria-disabled","false"),0===e.currentSlide?(e.$prevArrow.addClass("slick-disabled").attr("aria-disabled","true"),e.$nextArrow.removeClass("slick-disabled").attr("aria-disabled","false")):(e.currentSlide>=e.slideCount-e.options.slidesToShow&&!1===e.options.centerMode||e.currentSlide>=e.slideCount-1&&!0===e.options.centerMode)&&(e.$nextArrow.addClass("slick-disabled").attr("aria-disabled","true"),e.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false")))},t.prototype.updateDots=function(){var e=this;null!==e.$dots&&(e.$dots.find("li").removeClass("slick-active").end(),e.$dots.find("li").eq(Math.floor(e.currentSlide/e.options.slidesToScroll)).addClass("slick-active"))},t.prototype.visibility=function(){var e=this;e.options.autoplay&&(document[e.hidden]?e.interrupted=!0:e.interrupted=!1)},e.fn.slick=function(){var e,n,r=this,i=arguments[0],o=Array.prototype.slice.call(arguments,1),s=r.length;for(e=0;e<s;e++)if("object"==a(i)||void 0===i?r[e].slick=new t(r[e],i):n=r[e].slick[i].apply(r[e].slick,o),void 0!==n)return n;return r}},void 0===(o="function"==typeof r?r.apply(t,i):r)||(e.exports=o)}()},606:function(e,t,n){var r,i,o;!function(a){"use strict";i=[n(755)],void 0===(o="function"==typeof(r=function(e){function t(e,t){for(var n,r=e.split(";"),i=t.split(" "),o="",a=0,s=r.length;a<s;a++){n=!0;for(var l=0,c=i.length;l<c;l++)""!==r[a]&&-1===r[a].indexOf(i[l])||(n=!1);n&&(o+=r[a]+"; ")}return o}e.fn.bigSlide=function(n){var r=this,i=e.extend({menu:"#menu",push:".push",shrink:".shrink",hiddenThin:".hiddenThin",side:"left",menuWidth:"15.625em",semiOpenMenuWidth:"4em",speed:"300",state:"closed",activeBtn:"active",easyClose:!1,saveState:!1,semiOpenStatus:!1,semiOpenScreenWidth:480,beforeOpen:function(){},afterOpen:function(){},beforeClose:function(){},afterClose:function(){}},n),o="transition -o-transition -ms-transition -moz-transitions webkit-transition "+i.side,a={menuCSSDictionary:o+" position top bottom height width",pushCSSDictionary:o,state:i.state},s={init:function(){l.init()},_destroy:function(){return l._destroy(),delete r.bigSlideAPI,r},changeState:function(){"closed"===a.state?a.state="open":a.state="closed"},setState:function(e){a.state=e},getState:function(){return a.state}},l={init:function(){this.$menu=e(i.menu),this.$push=e(i.push),this.$shrink=e(i.shrink),this.$hiddenThin=e(i.hiddenThin),this.width=i.menuWidth,this.semiOpenMenuWidth=i.semiOpenMenuWidth;var t={position:"fixed",top:"0",bottom:"0",height:"100%"},n={"-webkit-transition":i.side+" "+i.speed+"ms ease","-moz-transition":i.side+" "+i.speed+"ms ease","-ms-transition":i.side+" "+i.speed+"ms ease","-o-transition":i.side+" "+i.speed+"ms ease",transition:i.side+" "+i.speed+"ms ease"},o={"-webkit-transition":"all "+i.speed+"ms ease","-moz-transition":"all "+i.speed+"ms ease","-ms-transition":"all "+i.speed+"ms ease","-o-transition":"all "+i.speed+"ms ease",transition:"all "+i.speed+"ms ease"},a=!1;t[i.side]="-"+i.menuWidth,t.width=i.menuWidth;var c="closed";i.saveState&&(c=localStorage.getItem("bigSlide-savedState"))||(c=i.state),s.setState(c),this.$menu.css(t);var u=e(window).width();"closed"===c?i.semiOpenStatus&&u>i.semiOpenScreenWidth?(this.$hiddenThin.hide(),this.$menu.css(i.side,"0"),this.$menu.css("width",this.semiOpenMenuWidth),this.$push.css(i.side,this.semiOpenMenuWidth),this.$shrink.css({width:"calc(100% - "+this.semiOpenMenuWidth+")"}),this.$menu.addClass("semiOpen")):this.$push.css(i.side,"0"):"open"===c&&(this.$menu.css(i.side,"0"),this.$push.css(i.side,this.width),this.$shrink.css({width:"calc(100% - "+this.width+")"}),r.addClass(i.activeBtn));var d=this;r.on("click.bigSlide touchstart.bigSlide",(function(e){a||(d.$menu.css(n),d.$push.css(n),d.$shrink.css(o),a=!0),e.preventDefault(),"open"===s.get
2State()?l.toggleClose():l.toggleOpen()})),i.semiOpenStatus&&e(window).resize((function(){e(window).width()>i.semiOpenScreenWidth?"closed"===s.getState()&&(d.$hiddenThin.hide(),d.$menu.css({width:d.semiOpenMenuWidth}),d.$menu.css(i.side,"0"),d.$push.css(i.side,d.semiOpenMenuWidth),d.$shrink.css({width:"calc(100% - "+d.semiOpenMenuWidth+")"}),d.$menu.addClass("semiOpen")):(d.$menu.removeClass("semiOpen"),"closed"===s.getState()&&(d.$menu.css(i.side,"-"+d.width).css({width:d.width}),d.$push.css(i.side,"0"),d.$shrink.css("width","100%"),d.$hiddenThin.show()))})),i.easyClose&&e(document).on("click.bigSlide",(function(t){e(t.target).parents().addBack().is(r)||e(t.target).closest(i.menu).length||"open"!==s.getState()||l.toggleClose()}))},_destroy:function(){this.$menu.each((function(){var n=e(this);n.attr("style",t(n.attr("style"),a.menuCSSDictionary).trim())})),this.$push.each((function(){var n=e(this);n.attr("style",t(n.attr("style"),a.pushCSSDictionary).trim())})),this.$shrink.each((function(){var n=e(this);n.attr("style",t(n.attr("style"),a.pushCSSDictionary).trim())})),r.removeClass(i.activeBtn).off("click.bigSlide touchstart.bigSlide"),this.$menu=null,this.$push=null,this.$shrink=null,localStorage.removeItem("bigSlide-savedState")},toggleOpen:function(){i.beforeOpen(),s.changeState(),l.applyOpenStyles(),r.addClass(i.activeBtn),i.afterOpen(),i.saveState&&localStorage.setItem("bigSlide-savedState","open")},toggleClose:function(){i.beforeClose(),s.changeState(),l.applyClosedStyles(),r.removeClass(i.activeBtn),i.afterClose(),i.saveState&&localStorage.setItem("bigSlide-savedState","closed")},applyOpenStyles:function(){var t=e(window).width();i.semiOpenStatus&&t>i.semiOpenScreenWidth?(this.$hiddenThin.show(),this.$menu.animate({width:this.width},{duration:Math.abs(i.speed-100),easing:"linear"}),this.$push.css(i.side,this.width),this.$shrink.css({width:"calc(100% - "+this.width+")"}),this.$menu.removeClass("semiOpen")):(this.$menu.css(i.side,"0"),this.$push.css(i.side,this.width),this.$shrink.css({width:"calc(100% - "+this.width+")"}))},applyClosedStyles:function(){var t=e(window).width();i.semiOpenStatus&&t>i.semiOpenScreenWidth?(this.$hiddenThin.hide(),this.$menu.animate({width:this.semiOpenMenuWidth},{duration:Math.abs(i.speed-100),easing:"linear"}),this.$push.css(i.side,this.semiOpenMenuWidth),this.$shrink.css({width:"calc(100% - "+this.semiOpenMenuWidth+")"}),this.$menu.addClass("semiOpen")):(this.$menu.css(i.side,"-"+this.width),this.$push.css(i.side,"0"),this.$shrink.css("width","100%"))}};return s.init(),this.bigSlideAPI={settings:i,model:a,controller:s,view:l,destroy:s._destroy},this}})?r.apply(t,i):r)||(e.exports=o)}()},988:function(e,t,n){var r=n(981),i=n(665).each;function o(e,t){this.query=e,this.isUnconditional=t,this.handlers=[],this.mql=window.matchMedia(e);var n=this;this.listener=function(e){n.mql=e.currentTarget||e,n.assess()},this.mql.addListener(this.listener)}o.prototype={constuctor:o,addHandler:function(e){var t=new r(e);this.handlers.push(t),this.matches()&&t.on()},removeHandler:function(e){var t=this.handlers;i(t,(function(n,r){if(n.equals(e))return n.destroy(),!t.splice(r,1)}))},matches:function(){return this.mql.matches||this.isUnconditional},clear:function(){i(this.handlers,(function(e){e.destroy()})),this.mql.removeListener(this.listener),this.handlers.length=0},assess:function(){var e=this.matches()?"on":"off";i(this.handlers,(function(t){t[e]()}))}},e.exports=o},177:function(e,t,n){var r=n(988),i=n(665),o=i.each,a=i.isFunction,s=i.isArray;function l(){if(!window.matchMedia)throw new Error("matchMedia n
2ot present, legacy browsers require a polyfill");this.queries={},this.browserIsIncapable=!window.matchMedia("only all").matches}l.prototype={constructor:l,register:function(e,t,n){var i=this.queries,l=n&&this.browserIsIncapable;return i[e]||(i[e]=new r(e,l)),a(t)&&(t={match:t}),s(t)||(t=[t]),o(t,(function(t){a(t)&&(t={match:t}),i[e].addHandler(t)})),this},unregister:function(e,t){var n=this.queries[e];return n&&(t?n.removeHandler(t):(n.clear(),delete this.queries[e])),this}},e.exports=l},981:function(e){function t(e){this.options=e,!e.deferSetup&&this.setup()}t.prototype={constructor:t,setup:function(){this.options.setup&&this.options.setup(),this.initialised=!0},on:function(){!this.initialised&&this.setup(),this.options.match&&this.options.match()},off:function(){this.options.unmatch&&this.options.unmatch()},destroy:function(){this.options.destroy?this.options.destroy():this.off()},equals:function(e){return this.options===e||this.options.match===e}},e.exports=t},665:function(e){e.exports={isFunction:function(e){return"function"==typeof e},isArray:function(e){return"[object Array]"===Object.prototype.toString.apply(e)},each:function(e,t){for(var n=0,r=e.length;n<r&&!1!==t(e[n],n);n++);}}},974:function(e,t,n){var r=n(177);e.exports=new r},508:function(e){var t;"undefined"!=typeof self&&self,t=function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:r})},n.r=function(e){Object.defineProperty(e,"__esModule",{value:!0})},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=0)}({
2"./dist/icons.json":
vendor: 43,804 bytes, line 2
2function(e){e.exports={activity:'<polyline points="22 12 18 12 15 21 9 3 6 12 2 12"></polyline>',airplay:'<path d="M5 17H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2h-1"></path><polygon points="12 15 17 21 7 21 12 15"></polygon>',"alert-circle":'<circle cx="12" cy="12" r="10"></circle><line x1="12" y1="8" x2="12" y2="12"></line><line x1="12" y1="16" x2="12.01" y2="16"></line>',"alert-octagon":'<polygon points="7.86 2 16.14 2 22 7.86 22 16.14 16.14 22 7.86 22 2 16.14 2 7.86 7.86 2"></polygon><line x1="12" y1="8" x2="12" y2="12"></line><line x1="12" y1="16" x2="12.01" y2="16"></line>',"alert-triangle":'<path d="M10.29 3.86L1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0z"></path><line x1="12" y1="9" x2="12" y2="13"></line><line x1="12" y1="17" x2="12.01" y2="17"></line>',"align-center":'<line x1="18" y1="10" x2="6" y2="10"></line><line x1="21" y1="6" x2="3" y2="6"></line><line x1="21" y1="14" x2="3" y2="14"></line><line x1="18" y1="18" x2="6" y2="18"></line>',"align-justify":'<line x1="21" y1="10" x2="3" y2="10"></line><line x1="21" y1="6" x2="3" y2="6"></line><line x1="21" y1="14" x2="3" y2="14"></line><line x1="21" y1="18" x2="3" y2="18"></line>',"align-left":'<line x1="17" y1="10" x2="3" y2="10"></line><line x1="21" y1="6" x2="3" y2="6"></line><line x1="21" y1="14" x2="3" y2="14"></line><line x1="17" y1="18" x2="3" y2="18"></line>',"align-right":'<line x1="21" y1="10" x2="7" y2="10"></line><line x1="21" y1="6" x2="3" y2="6"></line><line x1="21" y1="14" x2="3" y2="14"></line><line x1="21" y1="18" x2="7" y2="18"></line>',anchor:'<circle cx="12" cy="5" r="3"></circle><line x1="12" y1="22" x2="12" y2="8"></line><path d="M5 12H2a10 10 0 0 0 20 0h-3"></path>',aperture:'<circle cx="12" cy="12" r="10"></circle><line x1="14.31" y1="8" x2="20.05" y2="17.94"></line><line x1="9.69" y1="8" x2="21.17" y2="8"></line><line x1="7.38" y1="12" x2="13.12" y2="2.06"></line><line x1="9.69" y1="16" x2="3.95" y2="6.06"></line><line x1="14.31" y1="16" x2="2.83" y2="16"></line><line x1="16.62" y1="12" x2="10.88" y2="21.94"></line>',archive:'<polyline points="21 8 21 21 3 21 3 8"></polyline><rect x="1" y="3" width="22" height="5"></rect><line x1="10" y1="12" x2="14" y2="12"></line>',"arrow-down-circle":'<circle cx="12" cy="12" r="10"></circle><polyline points="8 12 12 16 16 12"></polyline><line x1="12" y1="8" x2="12" y2="16"></line>',"arrow-down-left":'<line x1="17" y1="7" x2="7" y2="17"></line><polyline points="17 17 7 17 7 7"></polyline>',"arrow-down-right":'<line x1="7" y1="7" x2="17" y2="17"></line><polyline points="17 7 17 17 7 17"></polyline>',"arrow-down":'<line x1="12" y1="5" x2="12" y2="19"></line><polyline points="19 12 12 19 5 12"></polyline>',"arrow-left-circle":'<circle cx="12" cy="12" r="10"></circle><polyline points="12 8 8 12 12 16"></polyline><line x1="16" y1="12" x2="8" y2="12"></line>',"arrow-left":'<line x1="19" y1="12" x2="5" y2="12"></line><polyline points="12 19 5 12 12 5"></polyline>',"arrow-right-circle":'<circle cx="12" cy="12" r="10"></circle><polyline points="12 16 16 12 12 8"></polyline><line x1="8" y1="12" x2="16" y2="12"></line>',"arrow-right":'<line x1="5" y1="12" x2="19" y2="12"></line><polyline points="12 5 19 12 12 19"></polyline>',"arrow-up-circle":'<circle cx="12" cy="12" r="10"></circle><polyline points="16 12 12 8 8 12"></polyline><line x1="12" y1="16" x2="12" y2="8"></line>',"arrow-up-left":'<line x1="17" y1="17" x2="7" y2="7"></line><polyline points="7 17 7 7 17 7"></polyline>',"arrow-up-right":'<line x1="7" y1="17" x2="17" y2="7"></line><polyline points="7 7 17 7 17 17"></polyline>',"arrow-up":'<line x1="12" y1="19" x2="12" y2="5"></line><polyline points="5 12 12 5 19 12"></polyline>',"at-sign":'<circle cx="12" cy="12" r="4"></circle><path d="M16 8v5a3 3 0 0 0 6 0v-1a10 10 0 1 0-3.92 7.94"></path>',award:'<circle cx="12" cy="8" r="7"></circle><polyline points="8.21 13.89 7 23 12 20 17 23 15.79 13.88"></polyline>',"bar-chart-2":'<line x1="18" y1="20" x2="18" y2="10"></line><line x1="12" y1="20" x2="12" y2="4"></line><line x1="6" y1="20" x2="6" y2="14"></line>',"bar-chart":'<line x1="12" y1="20" x2="12" y2="10"></line><line x1="18" y1="20" x2="18" y2="4"></line><line x1="6" y1="20" x2="6" y2="16"></line>',"battery-charging":'<path d="M5 18H3a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h3.19M15 6h2a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2h-3.19"></path><line x1="23" y1="13" x2="23" y2="11"></line><polyline points="11 6 7 12 13 12 9 18"></polyline>',battery:'<rect x="1" y="6" width="18" height="12" rx="2" ry="2"></rect><line x1="23" y1="13" x2="23" y2="11"></line>',"bell-off":'<path d="M13.73 21a2 2 0 0 1-3.46 0"></path><path d="M18.63 13A17.89 17.89 0 0 1 18 8"></path><path d="M6.26 6.26A5.86 5.86 0 0 0 6 8c0 7-3 9-3 9h14"></path><path d="M18 8a6 6 0 0 0-9.33-5"></path><line x1="1" y1="1" x2="23" y2="23"></line>',bell:'<path d="M18 8A6 6 0 0 0 6 8c0 7-3 9-3 9h18s-3-2-3-9"></path><path d="M13.73 21a2 2 0 0 1-3.46 0"></path>',bluetooth:'<polyline points="6.5 6.5 17.5 17.5 12 23 12 1 17.5 6.5 6.5 17.5"></polyline>',bold:'<path d="M6 4h8a4 4 0 0 1 4 4 4 4 0 0 1-4 4H6z"></path><path d="M6 12h9a4 4 0 0 1 4 4 4 4 0 0 1-4 4H6z"></path>',"book-open":'<path d="M2 3h6a4 4 0 0 1 4 4v14a3 3 0 0 0-3-3H2z"></path><path d="M22 3h-6a4 4 0 0 0-4 4v14a3 3 0 0 1 3-3h7z"></path>',book:'<path d="M4 19.5A2.5 2.5 0 0 1 6.5 17H20"></path><path d="M6.5 2H20v20H6.5A2.5 2.5 0 0 1 4 19.5v-15A2.5 2.5 0 0 1 6.5 2z"></path>',bookmark:'<path d="M19 21l-7-5-7 5V5a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2z"></path>',box:'<path d="M21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16z"></path><polyline points="3.27 6.96 12 12.01 20.73 6.96"></polyline><line x1="12" y1="22.08" x2="12" y2="12"></line>',briefcase:'<rect x="2" y="7" width="20" height="14" rx="2" ry="2"></rect><path d="M16 21V5a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v16"></path>',calendar:'<rect x="3" y="4" width="18" height="18" rx="2" ry="2"></rect><line x1="16" y1="2" x2="16" y2="6"></line><line x1="8" y1="2" x2="8" y2="6"></line><line x1="3" y1="10" x2="21" y2="10"></line>',"camera-off":'<line x1="1" y1="1" x2="23" y2="23"></line><path d="M21 21H3a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h3m3-3h6l2 3h4a2 2 0 0 1 2 2v9.34m-7.72-2.06a4 4 0 1 1-5.56-5.56"></path>',camera:'<path d="M23 19a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h4l2-3h6l2 3h4a2 2 0 0 1 2 2z"></path><circle cx="12" cy="13" r="4"></circle>',cast:'<path d="M2 16.1A5 5 0 0 1 5.9 20M2 12.05A9 9 0 0 1 9.95 20M2 8V6a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2h-6"></path><line x1="2" y1="20" x2="2.01" y2="20"></line>',"check-circle":'<path d="M22 11.08V12a10 10 0 1 1-5.93-9.14"></path><polyline points="22 4 12 14.01 9 11.01"></polyline>',"check-square":'<polyline points="9 11 12 14 22 4"></polyline><path d="M21 12v7a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h11"></path>',check:'<polyline points="20 6 9 17 4 12"></polyline>',"chevron-down":'<polyline points="6 9 12 15 18 9"></polyline>',"chevron-left":'<polyline points="15 18 9 12 15 6"></polyline>',"chevron-right":'<polyline points="9 18 15 12 9 6"></polyline>',"chevron-up":'<polyline points="18 15 12 9 6 15"></polyline>',"chevrons-down":'<polyline points="7 13 12 18 17 13"></polyline><polyline points="7 6 12 11 17 6"></polyline>',"chevrons-left":'<polyline points="11 17 6 12 11 7"></polyline><polyline points="18 17 13 12 18 7"></polyline>',"chevrons-right":'<polyline points="13 17 18 12 13 7"></polyline><polyline points="6 17 11 12 6 7"></polyline>',"chevrons-up":'<polyline points="17 11 12 6 7 11"></polyline><polyline points="17 18 12 13 7 18"></polyline>',chrome:'<circle cx="12" cy="12" r="10"></circle><circle cx="12" cy="12" r="4"></circle><line x1="21.17" y1="8" x2="12" y2="8"></line><line x1="3.95" y1="6.06" x2="8.54" y2="14"></line><line x1="10.88" y1="21.94" x2="15.46" y2="14"></line>',circle:'<circle cx="12" cy="12" r="10"></circle>',clipboard:'<path d="M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2"></path><rect x="8" y="2" width="8" height="4" rx="1" ry="1"></rect>',clock:'<circle cx="12" cy="12" r="10"></circle><polyline points="12 6 12 12 16 14"></polyline>',"cloud-drizzle":'<line x1="8" y1="19" x2="8" y2="21"></line><line x1="8" y1="13" x2="8" y2="15"></line><line x1="16" y1="19" x2="16" y2="21"></line><line x1="16" y1="13" x2="16" y2="15"></line><line x1="12" y1="21" x2="12" y2="23"></line><line x1="12" y1="15" x2="12" y2="17"></line><path d="M20 16.58A5 5 0 0 0 18 7h-1.26A8 8 0 1 0 4 15.25"></path>',"cloud-lightning":'<path d="M19 16.9A5 5 0 0 0 18 7h-1.26a8 8 0 1 0-11.62 9"></path><polyline points="13 11 9 17 15 17 11 23"></polyline>',"cloud-off":'<path d="M22.61 16.95A5 5 0 0 0 18 10h-1.26a8 8 0 0 0-7.05-6M5 5a8 8 0 0 0 4 15h9a5 5 0 0 0 1.7-.3"></path><line x1="1" y1="1" x2="23" y2="23"></line>',"cloud-rain":'<line x1="16" y1="13" x2="16" y2="21"></line><line x1="8" y1="13" x2="8" y2="21"></line><line x1="12" y1="15" x2="12" y2="23"></line><path d="M20 16.58A5 5 0 0 0 18 7h-1.26A8 8 0 1 0 4 15.25"></path>',"cloud-snow":'<path d="M20 17.58A5 5 0 0 0 18 8h-1.26A8 8 0 1 0 4 16.25"></path><line x1="8" y1="16" x2="8.01" y2="16"></line><line x1="8" y1="20" x2="8.01" y2="20"></line><line x1="12" y1="18" x2="12.01" y2="18"></line><line x1="12" y1="22" x2="12.01" y2="22"></line><line x1="16" y1="16" x2="16.01" y2="16"></line><line x1="16" y1="20" x2="16.01" y2="20"></line>',cloud:'<path d="M18 10h-1.26A8 8 0 1 0 9 20h9a5 5 0 0 0 0-10z"></path>',code:'<polyline points="16 18 22 12 16 6"></polyline><polyline points="8 6 2 12 8 18"></polyline>',codepen:'<polygon points="12 2 22 8.5 22 15.5 12 22 2 15.5 2 8.5 12 2"></polygon><line x1="12" y1="22" x2="12" y2="15.5"></line><polyline points="22 8.5 12 15.5 2 8.5"></polyline><polyline points="2 15.5 12 8.5 22 15.5"></polyline><line x1="12" y1="2" x2="12" y2="8.5"></line>',codesandbox:'<path d="M21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16z"></path><polyline points="7.5 4.21 12 6.81 16.5 4.21"></polyline><polyline points="7.5 19.79 7.5 14.6 3 12"></polyline><polyline points="21 12 16.5 14.6 16.5 19.79"></polyline><polyline points="3.27 6.96 12 12.01 20.73 6.96"></polyline><line x1="12" y1="22.08" x2="12" y2="12"></line>',coffee:'<path d="M18 8h1a4 4 0 0 1 0 8h-1"></path><path d="M2 8h16v9a4 4 0 0 1-4 4H6a4 4 0 0 1-4-4V8z"></path><line x1="6" y1="1" x2="6" y2="4"></line><line x1="10" y1="1" x2="10" y2="4"></line><line x1="14" y1="1" x2="14" y2="4"></line>',columns:'<path d="M12 3h7a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-7m0-18H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h7m0-18v18"></path>',command:'<path d="M18 3a3 3 0 0 0-3 3v12a3 3 0 0 0 3 3 3 3 0 0 0 3-3 3 3 0 0 0-3-3H6a3 3 0 0 0-3 3 3 3 0 0 0 3 3 3 3 0 0 0 3-3V6a3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3h12a3 3 0 0 0 3-3 3 3 0 0 0-3-3z"></path>',compass:'<circle cx="12" cy="12" r="10"></circle><polygon points="16.24 7.76 14.12 14.12 7.76 16.24 9.88 9.88 16.24 7.76"></polygon>',copy:'<rect x="9" y="9" width="13" height="13" rx="2" ry="2"></rect><path d="M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"></path>',"corner-down-left":'<polyline points="9 10 4 15 9 20"></polyline><path d="M20 4v7a4 4 0 0 1-4 4H4"></path>',"corner-down-right":'<polyline points="15 10 20 15 15 20"></polyline><path d="M4 4v7a4 4 0 0 0 4 4h12"></path>',"corner-left-down":'<polyline points="14 15 9 20 4 15"></polyline><path d="M20 4h-7a4 4 0 0 0-4 4v12"></path>',"corner-left-up":'<polyline points="14 9 9 4 4 9"></polyline><path d="M20 20h-7a4 4 0 0 1-4-4V4"></path>',"corner-right-down":'<polyline points="10 15 15 20 20 15"></polyline><path d="M4 4h7a4 4 0 0 1 4 4v12"></path>',"corner-right-up":'<polyline points="10 9 15 4 20 9"></polyline><path d="M4 20h7a4 4 0 0 0 4-4V4"></path>',"corner-up-left":'<polyline points="9 14 4 9 9 4"></polyline><path d="M20 20v-7a4 4 0 0 0-4-4H4"></path>',"corner-up-right":'<polyline points="15 14 20 9 15 4"></polyline><path d="M4 20v-7a4 4 0 0 1 4-4h12"></path>',cpu:'<rect x="4" y="4" width="16" height="16" rx="2" ry="2"></rect><rect x="9" y="9" width="6" height="6"></rect><line x1="9" y1="1" x2="9" y2="4"></line><line x1="15" y1="1" x2="15" y2="4"></line><line x1="9" y1="20" x2="9" y2="23"></line><line x1="15" y1="20" x2="15" y2="23"></line><line x1="20" y1="9" x2="23" y2="9"></line><line x1="20" y1="14" x2="23" y2="14"></line><line x1="1" y1="9" x2="4" y2="9"></line><line x1="1" y1="14" x2="4" y2="14"></line>',"credit-card":'<rect x="1" y="4" width="22" height="16" rx="2" ry="2"></rect><line x1="1" y1="10" x2="23" y2="10"></line>',crop:'<path d="M6.13 1L6 16a2 2 0 0 0 2 2h15"></path><path d="M1 6.13L16 6a2 2 0 0 1 2 2v15"></path>',crosshair:'<circle cx="12" cy="12" r="10"></circle><line x1="22" y1="12" x2="18" y2="12"></line><line x1="6" y1="12" x2="2" y2="12"></line><line x1="12" y1="6" x2="12" y2="2"></line><line x1="12" y1="22" x2="12" y2="18"></line>',database:'<ellipse cx="12" cy="5" rx="9" ry="3"></ellipse><path d="M21 12c0 1.66-4 3-9 3s-9-1.34-9-3"></path><path d="M3 5v14c0 1.66 4 3 9 3s9-1.34 9-3V5"></path>',delete:'<path d="M21 4H8l-7 8 7 8h13a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2z"></path><line x1="18" y1="9" x2="12" y2="15"></line><line x1="12" y1="9" x2="18" y2="15"></line>',disc:'<circle cx="12" cy="12" r="10"></circle><circle cx="12" cy="12" r="3"></circle>',"divide-circle":'<line x1="8" y1="12" x2="16" y2="12"></line><line x1="12" y1="16" x2="12" y2="16"></line><line x1="12" y1="8" x2="12" y2="8"></line><circle cx="12" cy="12" r="10"></circle>',"divide-square":'<rect x="3" y="3" width="18" height="18" rx="2" ry="2"></rect><line x1="8" y1="12" x2="16" y2="12"></line><line x1="12" y1="16" x2="12" y2="16"></line><line x1="12" y1="8" x2="12" y2="8"></line>',divide:'<circle cx="12" cy="6" r="2"></circle><line x1="5" y1="12" x2="19" y2="12"></line><circle cx="12" cy="18" r="2"></circle>',"dollar-sign":'<line x1="12" y1="1" x2="12" y2="23"></line><path d="M17 5H9.5a3.5 3.5 0 0 0 0 7h5a3.5 3.5 0 0 1 0 7H6"></path>',"download-cloud":'<polyline points="8 17 12 21 16 17"></polyline><line x1="12" y1="12" x2="12" y2="21"></line><path d="M20.88 18.09A5 5 0 0 0 18 9h-1.26A8 8 0 1 0 3 16.29"></path>',download:'<path d="M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"></path><polyline points="7 10 12 15 17 10"></polyline><line x1="12" y1="15" x2="12" y2="3"></line>',dribbble:'<circle cx="12" cy="12" r="10"></circle><path d="M8.56 2.75c4.37 6.03 6.02 9.42 8.03 17.72m2.54-15.38c-3.72 4.35-8.94 5.66-16.88 5.85m19.5 1.9c-3.5-.93-6.63-.82-8.94 0-2.58.92-5.01 2.86-7.44 6.32"></path>',droplet:'<path d="M12 2.69l5.66 5.66a8 8 0 1 1-11.31 0z"></path>',"edit-2":'<path d="M17 3a2.828 2.828 0 1 1 4 4L7.5 20.5 2 22l1.5-5.5L17 3z"></path>',"edit-3":'<path d="M12 20h9"></path><path d="M16.5 3.5a2.121 2.121 0 0 1 3 3L7 19l-4 1 1-4L16.5 3.5z"></path>',edit:'<path d="M11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7"></path><path d="M18.5 2.5a2.121 2.121 0 0 1 3 3L12 15l-4 1 1-4 9.5-9.5z"></path>',"external-link":'<path d="M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"></path><polyline points="15 3 21 3 21 9"></polyline><line x1="10" y1="14" x2="21" y2="3"></line>',"eye-off":'<path d="M17.94 17.94A10.07 10.07 0 0 1 12 20c-7 0-11-8-11-8a18.45 18.45 0 0 1 5.06-5.94M9.9 4.24A9.12 9.12 0 0 1 12 4c7 0 11 8 11 8a18.5 18.5 0 0 1-2.16 3.19m-6.72-1.07a3 3 0 1 1-4.24-4.24"></path><line x1="1" y1="1" x2="23" y2="23"></line>',eye:'<path d="M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z"></path><circle cx="12" cy="12" r="3"></circle>',facebook:'<path d="M18 2h-3a5 5 0 0 0-5 5v3H7v4h3v8h4v-8h3l1-4h-4V7a1 1 0 0 1 1-1h3z"></path>',"fast-forward":'<polygon points="13 19 22 12 13 5 13 19"></polygon><polygon points="2 19 11 12 2 5 2 19"></polygon>',feather:'<path d="M20.24 12.24a6 6 0 0 0-8.49-8.49L5 10.5V19h8.5z"></path><line x1="16" y1="8" x2="2" y2="22"></line><line x1="17.5" y1="15" x2="9" y2="15"></line>',figma:'<path d="M5 5.5A3.5 3.5 0 0 1 8.5 2H12v7H8.5A3.5 3.5 0 0 1 5 5.5z"></path><path d="M12 2h3.5a3.5 3.5 0 1 1 0 7H12V2z"></path><path d="M12 12.5a3.5 3.5 0 1 1 7 0 3.5 3.5 0 1 1-7 0z"></path><path d="M5 19.5A3.5 3.5 0 0 1 8.5 16H12v3.5a3.5 3.5 0 1 1-7 0z"></path><path d="M5 12.5A3.5 3.5 0 0 1 8.5 9H12v7H8.5A3.5 3.5 0 0 1 5 12.5z"></path>',"file-minus":'<path d="M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z"></path><polyline points="14 2 14 8 20 8"></polyline><line x1="9" y1="15" x2="15" y2="15"></line>',"file-plus":'<path d="M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z"></path><polyline points="14 2 14 8 20 8"></polyline><line x1="12" y1="18" x2="12" y2="12"></line><line x1="9" y1="15" x2="15" y2="15"></line>',"file-text":'<path d="M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z"></path><polyline points="14 2 14 8 20 8"></polyline><line x1="16" y1="13" x2="8" y2="13"></line><line x1="16" y1="17" x2="8" y2="17"></line><polyline points="10 9 9 9 8 9"></polyline>',file:'<path d="M13 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V9z"></path><polyline points="13 2 13 9 20 9"></polyline>',film:'<rect x="2" y="2" width="20" height="20" rx="2.18" ry="2.18"></rect><line x1="7" y1="2" x2="7" y2="22"></line><line x1="17" y1="2" x2="17" y2="22"></line><line x1="2" y1="12" x2="22" y2="12"></line><line x1="2" y1="7" x2="7" y2="7"></line><line x1="2" y1="17" x2="7" y2="17"></line><line x1="17" y1="17" x2="22" y2="17"></line><line x1="17" y1="7" x2="22" y2="7"></line>',filter:'<polygon points="22 3 2 3 10 12.46 10 19 14 21 14 12.46 22 3"></polygon>',flag:'<path d="M4 15s1-1 4-1 5 2 8 2 4-1 4-1V3s-1 1-4 1-5-2-8-2-4 1-4 1z"></path><line x1="4" y1="22" x2="4" y2="15"></line>',"folder-minus":'<path d="M22 19a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h5l2 3h9a2 2 0 0 1 2 2z"></path><line x1="9" y1="14" x2="15" y2="14"></line>',"folder-plus":'<path d="M22 19a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h5l2 3h9a2 2 0 0 1 2 2z"></path><line x1="12" y1="11" x2="12" y2="17"></line><line x1="9" y1="14" x2="15" y2="14"></line>',folder:'<path d="M22 19a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h5l2 3h9a2 2 0 0 1 2 2z"></path>',framer:'<path d="M5 16V9h14V2H5l14 14h-7m-7 0l7 7v-7m-7 0h7"></path>',frown:'<circle cx="12" cy="12" r="10"></circle><path d="M16 16s-1.5-2-4-2-4 2-4 2"></path><line x1="9" y1="9" x2="9.01" y2="9"></line><line x1="15" y1="9" x2="15.01" y2="9"></line>',gift:'<polyline points="20 12 20 22 4 22 4 12"></polyline><rect x="2" y="7" width="20" height="5"></rect><line x1="12" y1="22" x2="12" y2="7"></line><path d="M12 7H7.5a2.5 2.5 0 0 1 0-5C11 2 12 7 12 7z"></path><path d="M12 7h4.5a2.5 2.5 0 0 0 0-5C13 2 12 7 12 7z"></path>',"git-branch":'<line x1="6" y1="3" x2="6" y2="15"></line><circle cx="18" cy="6" r="3"></circle><circle cx="6" cy="18" r="3"></circle><path d="M18 9a9 9 0 0 1-9 9"></path>',"git-commit":'<circle cx="12" cy="12" r="4"></circle><line x1="1.05" y1="12" x2="7" y2="12"></line><line x1="17.01" y1="12" x2="22.96" y2="12"></line>',"git-merge":'<circle cx="18" cy="18" r="3"></circle><circle cx="6" cy="6" r="3"></circle><path d="M6 21V9a9 9 0 0 0 9 9"></path>',"git-pull-request":'<circle cx="18" cy="18" r="3"></circle><circle cx="6" cy="6" r="3"></circle><path d="M13 6h3a2 2 0 0 1 2 2v7"></path><line x1="6" y1="9" x2="6" y2="21"></line>',github:'<path d="M9 19c-5 1.5-5-2.5-7-3m14 6v-3.87a3.37 3.37 0 0 0-.94-2.61c3.14-.35 6.44-1.54 6.44-7A5.44 5.44 0 0 0 20 4.77 5.07 5.07 0 0 0 19.91 1S18.73.65 16 2.48a13.38 13.38 0 0 0-7 0C6.27.65 5.09 1 5.09 1A5.07 5.07 0 0 0 5 4.77a5.44 5.44 0 0 0-1.5 3.78c0 5.42 3.3 6.61 6.44 7A3.37 3.37 0 0 0 9 18.13V22"></path>',gitlab:'<path d="M22.65 14.39L12 22.13 1.35 14.39a.84.84 0 0 1-.3-.94l1.22-3.78 2.44-7.51A.42.42 0 0 1 4.82 2a.43.43 0 0 1 .58 0 .42.42 0 0 1 .11.18l2.44 7.49h8.1l2.44-7.51A.42.42 0 0 1 18.6 2a.43.43 0 0 1 .58 0 .42.42 0 0 1 .11.18l2.44 7.51L23 13.45a.84.84 0 0 1-.35.94z"></path>',globe:'<circle cx="12" cy="12" r="10"></circle><line x1="2" y1="12" x2="22" y2="12"></line><path d="M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z"></path>',grid:'<rect x="3" y="3" width="7" height="7"></rect><rect x="14" y="3" width="7" height="7"></rect><rect x="14" y="14" width="7" height="7"></rect><rect x="3" y="14" width="7" height="7"></rect>',"hard-drive":'<line x1="22" y1="12" x2="2" y2="12"></line><path d="M5.45 5.11L2 12v6a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-6l-3.45-6.89A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11z"></path><line x1="6" y1="16" x2="6.01" y2="16"></line><line x1="10" y1="16" x2="10.01" y2="16"></line>',hash:'<line x1="4" y1="9" x2="20" y2="9"></line><line x1="4" y1="15" x2="20" y2="15"></line><line x1="10" y1="3" x2="8" y2="21"></line><line x1="16" y1="3" x2="14" y2="21"></line>',headphones:'<path d="M3 18v-6a9 9 0 0 1 18 0v6"></path><path d="M21 19a2 2 0 0 1-2 2h-1a2 2 0 0 1-2-2v-3a2 2 0 0 1 2-2h3zM3 19a2 2 0 0 0 2 2h1a2 2 0 0 0 2-2v-3a2 2 0 0 0-2-2H3z"></path>',heart:'<path d="M20.84 4.61a5.5 5.5 0 0 0-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 0 0-7.78 7.78l1.06 1.06L12 21.23l7.78-7.78 1.06-1.06a5.5 5.5 0 0 0 0-7.78z"></path>',"help-circle":'<circle cx="12" cy="12" r="10"></circle><path d="M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3"></path><line x1="12" y1="17" x2="12.01" y2="17"></line>',hexagon:'<path d="M21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16z"></path>',home:'<path d="M3 9l9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z"></path><polyline points="9 22 9 12 15 12 15 22"></polyline>',image:'<rect x="3" y="3" width="18" height="18" rx="2" ry="2"></rect><circle cx="8.5" cy="8.5" r="1.5"></circle><polyline points="21 15 16 10 5 21"></polyline>',inbox:'<polyline points="22 12 16 12 14 15 10 15 8 12 2 12"></polyline><path d="M5.45 5.11L2 12v6a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-6l-3.45-6.89A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11z"></path>',info:'<circle cx="12" cy="12" r="10"></circle><line x1="12" y1="16" x2="12" y2="12"></line><line x1="12" y1="8" x2="12.01" y2="8"></line>',instagram:'<rect x="2" y="2" width="20" height="20" rx="5" ry="5"></rect><path d="M16 11.37A4 4 0 1 1 12.63 8 4 4 0 0 1 16 11.37z"></path><line x1="17.5" y1="6.5" x2="17.51" y2="6.5"></line>',italic:'<line x1="19" y1="4" x2="10" y2="4"></line><line x1="14" y1="20" x2="5" y2="20"></line><line x1="15" y1="4" x2="9" y2="20"></line>',key:'<path d="M21 2l-2 2m-7.61 7.61a5.5 5.5 0 1 1-7.778 7.778 5.5 5.5 0 0 1 7.777-7.777zm0 0L15.5 7.5m0 0l3 3L22 7l-3-3m-3.5 3.5L19 4"></path>',layers:'<polygon points="12 2 2 7 12 12 22 7 12 2"></polygon><polyline points="2 17 12 22 22 17"></polyline><polyline points="2 12 12 17 22 12"></polyline>',layout:'<rect x="3" y="3" width="18" height="18" rx="2" ry="2"></rect><line x1="3" y1="9" x2="21" y2="9"></line><line x1="9" y1="21" x2="9" y2="9"></line>',"life-buoy":'<circle cx="12" cy="12" r="10"></circle><circle cx="12" cy="12" r="4"></circle><line x1="4.93" y1="4.93" x2="9.17" y2="9.17"></line><line x1="14.83" y1="14.83" x2="19.07" y2="19.07"></line><line x1="14.83" y1="9.17" x2="19.07" y2="4.93"></line><line x1="14.83" y1="9.17" x2="18.36" y2="5.64"></line><line x1="4.93" y1="19.07" x2="9.17" y2="14.83"></line>',"link-2":'<path d="M15 7h3a5 5 0 0 1 5 5 5 5 0 0 1-5 5h-3m-6 0H6a5 5 0 0 1-5-5 5 5 0 0 1 5-5h3"></path><line x1="8" y1="12" x2="16" y2="12"></line>',link:'<path d="M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"></path><path d="M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"></path>',linkedin:'<path d="M16 8a6 6 0 0 1 6 6v7h-4v-7a2 2 0 0 0-2-2 2 2 0 0 0-2 2v7h-4v-7a6 6 0 0 1 6-6z"></path><rect x="2" y="9" width="4" height="12"></rect><circle cx="4" cy="4" r="2"></circle>',list:'<line x1="8" y1="6" x2="21" y2="6"></line><line x1="8" y1="12" x2="21" y2="12"></line><line x1="8" y1="18" x2="21" y2="18"></line><line x1="3" y1="6" x2="3.01" y2="6"></line><line x1="3" y1="12" x2="3.01" y2="12"></line><line x1="3" y1="18" x2="3.01" y2="18"></line>',loader:'<line x1="12" y1="2" x2="12" y2="6"></line><line x1="12" y1="18" x2="12" y2="22"></line><line x1="4.93" y1="4.93" x2="7.76" y2="7.76"></line><line x1="16.24" y1="16.24" x2="19.07" y2="19.07"></line><line x1="2" y1="12" x2="6" y2="12"></line><line x1="18" y1="12" x2="22" y2="12"></line><line x1="4.93" y1="19.07" x2="7.76" y2="16.24"></line><line x1="16.24" y1="7.76" x2="19.07" y2="4.93"></line>',lock:'<rect x="3" y="11" width="18" height="11" rx="2" ry="2"></rect><path d="M7 11V7a5 5 0 0 1 10 0v4"></path>',"log-in":'<path d="M15 3h4a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-4"></path><polyline points="10 17 15 12 10 7"></polyline><line x1="15" y1="12" x2="3" y2="12"></line>',"log-out":'<path d="M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4"></path><polyline points="16 17 21 12 16 7"></polyline><line x1="21" y1="12" x2="9" y2="12"></line>',mail:'<path d="M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z"></path><polyline points="22,6 12,13 2,6"></polyline>',"map-pin":'<path d="M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z"></path><circle cx="12" cy="10" r="3"></circle>',map:'<polygon points="1 6 1 22 8 18 16 22 23 18 23 2 16 6 8 2 1 6"></polygon><line x1="8" y1="2" x2="8" y2="18"></line><line x1="16" y1="6" x2="16" y2="22"></line>',"maximize-2":'<polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" y1="3" x2="14" y2="10"></line><line x1="3" y1="21" x2="10" y2="14"></line>',maximize:'<path d="M8 3H5a2 2 0 0 0-2 2v3m18 0V5a2 2 0 0 0-2-2h-3m0 18h3a2 2 0 0 0 2-2v-3M3 16v3a2 2 0 0 0 2 2h3"></path>',meh:'<circle cx="12" cy="12" r="10"></circle><line x1="8" y1="15" x2="16" y2="15"></line><line x1="9" y1="9" x2="9.01" y2="9"></line><line x1="15" y1="9" x2="15.01" y2="9"></line>',menu:'<line x1="3" y1="12" x2="21" y2="12"></line><line x1="3" y1="6" x2="21" y2="6"></line><line x1="3" y1="18" x2="21" y2="18"></line>',"message-circle":'<path d="M21 11.5a8.38 8.38 0 0 1-.9 3.8 8.5 8.5 0 0 1-7.6 4.7 8.38 8.38 0 0 1-3.8-.9L3 21l1.9-5.7a8.38 8.38 0 0 1-.9-3.8 8.5 8.5 0 0 1 4.7-7.6 8.38 8.38 0 0 1 3.8-.9h.5a8.48 8.48 0 0 1 8 8v.5z"></path>',"message-square":'<path d="M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z"></path>',"mic-off":'<line x1="1" y1="1" x2="23" y2="23"></line><path d="M9 9v3a3 3 0 0 0 5.12 2.12M15 9.34V4a3 3 0 0 0-5.94-.6"></path><path d="M17 16.95A7 7 0 0 1 5 12v-2m14 0v2a7 7 0 0 1-.11 1.23"></path><line x1="12" y1="19" x2="12" y2="23"></line><line x1="8" y1="23" x2="16" y2="23"></line>',mic:'<path d="M12 1a3 3 0 0 0-3 3v8a3 3 0 0 0 6 0V4a3 3 0 0 0-3-3z"></path><path d="M19 10v2a7 7 0 0 1-14 0v-2"></path><line x1="12" y1="19" x2="12" y2="23"></line><line x1="8" y1="23" x2="16" y2="23"></line>',"minimize-2":'<polyline points="4 14 10 14 10 20"></polyline><polyline points="20 10 14 10 14 4"></polyline><line x1="14" y1="10" x2="21" y2="3"></line><line x1="3" y1="21" x2="10" y2="14"></line>',minimize:'<path d="M8 3v3a2 2 0 0 1-2 2H3m18 0h-3a2 2 0 0 1-2-2V3m0 18v-3a2 2 0 0 1 2-2h3M3 16h3a2 2 0 0 1 2 2v3"></path>',"minus-circle":'<circle cx="12" cy="12" r="10"></circle><line x1="8" y1="12" x2="16" y2="12"></line>',"minus-square":'<rect x="3" y="3" width="18" height="18" rx="2" ry="2"></rect><line x1="8" y1="12" x2="16" y2="12"></line>',minus:'<line x1="5" y1="12" x2="19" y2="12"></line>',monitor:'<rect x="2" y="3" width="20" height="14" rx="2" ry="2"></rect><line x1="8" y1="21" x2="16" y2="21"></line><line x1="12" y1="17" x2="12" y2="21"></line>',moon:'<path d="M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z"></path>',"more-horizontal":'<circle cx="12" cy="12" r="1"></circle><circle cx="19" cy="12" r="1"></circle><circle cx="5" cy="12" r="1"></circle>',"more-vertical":'<circle cx="12" cy="12" r="1"></circle><circle cx="12" cy="5" r="1"></circle><circle cx="12" cy="19" r="1"></circle>',"mouse-pointer":'<path d="M3 3l7.07 16.97 2.51-7.39 7.39-2.51L3 3z"></path><path d="M13 13l6 6"></path>',move:'<polyline points="5 9 2 12 5 15"></polyline><polyline points="9 5 12 2 15 5"></polyline><polyline points="15 19 12 22 9 19"></polyline><polyline points="19 9 22 12 19 15"></polyline><line x1="2" y1="12" x2="22" y2="12"></line><line x1="12" y1="2" x2="12" y2="22"></line>',music:'<path d="M9 18V5l12-2v13"></path><circle cx="6" cy="18" r="3"></circle><circle cx="18" cy="16" r="3"></circle>',"navigation-2":'<polygon points="12 2 19 21 12 17 5 21 12 2"></polygon>',navigation:'<polygon points="3 11 22 2 13 21 11 13 3 11"></polygon>',octagon:'<polygon points="7.86 2 16.14 2 22 7.86 22 16.14 16.14 22 7.86 22 2 16.14 2 7.86 7.86 2"></polygon>',package:'<line x1="16.5" y1="9.4" x2="7.5" y2="4.21"></line><path d="M21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16z"></path><polyline points="3.27 6.96 12 12.01 20.73 6.96"></polyline><line x1="12" y1="22.08" x2="12" y2="12"></line>',paperclip:'<path d="M21.44 11.05l-9.19 9.19a6 6 0 0 1-8.49-8.49l9.19-9.19a4 4 0 0 1 5.66 5.66l-9.2 9.19a2 2 0 0 1-2.83-2.83l8.49-8.48"></path>',"pause-circle":'<circle cx="12" cy="12" r="10"></circle><line x1="10" y1="15" x2="10" y2="9"></line><line x1="14" y1="15" x2="14" y2="9"></line>',pause:'<rect x="6" y="4" width="4" height="16"></rect><rect x="14" y="4" width="4" height="16"></rect>',"pen-tool":'<path d="M12 19l7-7 3 3-7 7-3-3z"></path><path d="M18 13l-1.5-7.5L2 2l3.5 14.5L13 18l5-5z"></path><path d="M2 2l7.586 7.586"></path><circle cx="11" cy="11" r="2"></circle>',percent:'<line x1="19" y1="5" x2="5" y2="19"></line><circle cx="6.5" cy="6.5" r="2.5"></circle><circle cx="17.5" cy="17.5" r="2.5"></circle>',"phone-call":'<path d="M15.05 5A5 5 0 0 1 19 8.95M15.05 1A9 9 0 0 1 23 8.94m-1 7.98v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z"></path>',"phone-forwarded":'<polyline points="19 1 23 5 19 9"></polyline><line x1="15" y1="5" x2="23" y2="5"></line><path d="M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z"></path>',"phone-incoming":'<polyline points="16 2 16 8 22 8"></polyline><line x1="23" y1="1" x2="16" y2="8"></line><path d="M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z"></path>',"phone-missed":'<line x1="23" y1="1" x2="17" y2="7"></line><line x1="17" y1="1" x2="23" y2="7"></line><path d="M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z"></path>',"phone-off":'<path d="M10.68 13.31a16 16 0 0 0 3.41 2.6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7 2 2 0 0 1 1.72 2v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.42 19.42 0 0 1-3.33-2.67m-2.67-3.34a19.79 19.79 0 0 1-3.07-8.63A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91"></path><line x1="23" y1="1" x2="1" y2="23"></line>',"phone-outgoing":'<polyline points="23 7 23 1 17 1"></polyline><line x1="16" y1="8" x2="23" y2="1"></line><path d="M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z"></path>',phone:'<path d="M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z"></path>',"pie-chart":'<path d="M21.21 15.89A10 10 0 1 1 8 2.83"></path><path d="M22 12A10 10 0 0 0 12 2v10z"></path>',"play-circle":'<circle cx="12" cy="12" r="10"></circle><polygon points="10 8 16 12 10 16 10 8"></polygon>',play:'<polygon points="5 3 19 12 5 21 5 3"></polygon>',"plus-circle":'<circle cx="12" cy="12" r="10"></circle><line x1="12" y1="8" x2="12" y2="16"></line><line x1="8" y1="12" x2="16" y2="12"></line>',"plus-square":'<rect x="3" y="3" width="18" height="18" rx="2" ry="2"></rect><line x1="12" y1="8" x2="12" y2="16"></line><line x1="8" y1="12" x2="16" y2="12"></line>',plus:'<line x1="12" y1="5" x2="12" y2="19"></line><line x1="5" y1="12" x2="19" y2="12"></line>',pocket:'<path d="M4 3h16a2 2 0 0 1 2 2v6a10 10 0 0 1-10 10A10 10 0 0 1 2 11V5a2 2 0 0 1 2-2z"></path><polyline points="8 10 12 14 16 10"></polyline>',power:'<path d="M18.36 6.64a9 9 0 1 1-12.73 0"></path><line x1="12" y1="2" x2="12" y2="12"></line>',printer:'<polyline points="6 9 6 2 18 2 18 9"></polyline><path d="M6 18H4a2 2 0 0 1-2-2v-5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v5a2 2 0 0 1-2 2h-2"></path><rect x="6" y="14" width="12" height="8"></rect>',radio:'<circle cx="12" cy="12" r="2"></circle><path d="M16.24 7.76a6 6 0 0 1 0 8.49m-8.48-.01a6 6 0 0 1 0-8.49m11.31-2.82a10 10 0 0 1 0 14.14m-14.14 0a10 10 0 0 1 0-14.14"></path>',"refresh-ccw":'<polyline points="1 4 1 10 7 10"></polyline><polyline points="23 20 23 14 17 14"></polyline><path d="M20.49 9A9 9 0 0 0 5.64 5.64L1 10m22 4l-4.64 4.36A9 9 0 0 1 3.51 15"></path>',"refresh-cw":'<polyline points="23 4 23 10 17 10"></polyline><polyline points="1 20 1 14 7 14"></polyline><path d="M3.51 9a9 9 0 0 1 14.85-3.36L23 10M1 14l4.64 4.36A9 9 0 0 0 20.49 15"></path>',repeat:'<polyline points="17 1 21 5 17 9"></polyline><path d="M3 11V9a4 4 0 0 1 4-4h14"></path><polyline points="7 23 3 19 7 15"></polyline><path d="M21 13v2a4 4 0 0 1-4 4H3"></path>',rewind:'<polygon points="11 19 2 12 11 5 11 19"></polygon><polygon points="22 19 13 12 22 5 22 19"></polygon>',"rotate-ccw":'<polyline points="1 4 1 10 7 10"></polyline><path d="M3.51 15a9 9 0 1 0 2.13-9.36L1 10"></path>',"rotate-cw":'<polyline points="23 4 23 10 17 10"></polyline><path d="M20.49 15a9 9 0 1 1-2.12-9.36L23 10"></path>',rss:'<path d="M4 11a9 9 0 0 1 9 9"></path><path d="M4 4a16 16 0 0 1 16 16"></path><circle cx="5" cy="19" r="1"></circle>',save:'<path d="M19 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h11l5 5v11a2 2 0 0 1-2 2z"></path><polyline points="17 21 17 13 7 13 7 21"></polyline><polyline points="7 3 7 8 15 8"></polyline>',scissors:'<circle cx="6" cy="6" r="3"></circle><circle cx="6" cy="18" r="3"></circle><line x1="20" y1="4" x2="8.12" y2="15.88"></line><line x1="14.47" y1="14.48" x2="20" y2="20"></line><line x1="8.12" y1="8.12" x2="12" y2="12"></line>',search:'<circle cx="11" cy="11" r="8"></circle><line x1="21" y1="21" x2="16.65" y2="16.65"></line>',send:'<line x1="22" y1="2" x2="11" y2="13"></line><polygon points="22 2 15 22 11 13 2 9 22 2"></polygon>',server:'<rect x="2" y="2" width="20" height="8" rx="2" ry="2"></rect><rect x="2" y="14" width="20" height="8" rx="2" ry="2"></rect><line x1="6" y1="6" x2="6.01" y2="6"></line><line x1="6" y1="18" x2="6.01" y2="18"></line>',settings:'<circle cx="12" cy="12" r="3"></circle><path d="M19.4 15a1.65 1.65 0 0 0 .33 1.82l.06.06a2 2 0 0 1 0 2.83 2 2 0 0 1-2.83 0l-.06-.06a1.65 1.65 0 0 0-1.82-.33 1.65 1.65 0 0 0-1 1.51V21a2 2 0 0 1-2 2 2 2 0 0 1-2-2v-.09A1.65 1.65 0 0 0 9 19.4a1.65 1.65 0 0 0-1.82.33l-.06.06a2 2 0 0 1-2.83 0 2 2 0 0 1 0-2.83l.06-.06a1.65 1.65 0 0 0 .33-1.82 1.65 1.65 0 0 0-1.51-1H3a2 2 0 0 1-2-2 2 2 0 0 1 2-2h.09A1.65 1.65 0 0 0 4.6 9a1.65 1.65 0 0 0-.33-1.82l-.06-.06a2 2 0 0 1 0-2.83 2 2 0 0 1 2.83 0l.06.06a1.65 1.65 0 0 0 1.82.33H9a1.65 1.65 0 0 0 1-1.51V3a2 2 0 0 1 2-2 2 2 0 0 1 2 2v.09a1.65 1.65 0 0 0 1 1.51 1.65 1.65 0 0 0 1.82-.33l.06-.06a2 2 0 0 1 2.83 0 2 2 0 0 1 0 2.83l-.06.06a1.65 1.65 0 0 0-.33 1.82V9a1.65 1.65 0 0 0 1.51 1H21a2 2 0 0 1 2 2 2 2 0 0 1-2 2h-.09a1.65 1.65 0 0 0-1.51 1z"></path>',"share-2":'<circle cx="18" cy="5" r="3"></circle><circle cx="6" cy="12" r="3"></circle><circle cx="18" cy="19" r="3"></circle><line x1="8.59" y1="13.51" x2="15.42" y2="17.49"></line><line x1="15.41" y1="6.51" x2="8.59" y2="10.49"></line>',share:'<path d="M4 12v8a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-8"></path><polyline points="16 6 12 2 8 6"></polyline><line x1="12" y1="2" x2="12" y2="15"></line>',"shield-off":'<path d="M19.69 14a6.9 6.9 0 0 0 .31-2V5l-8-3-3.16 1.18"></path><path d="M4.73 4.73L4 5v7c0 6 8 10 8 10a20.29 20.29 0 0 0 5.62-4.38"></path><line x1="1" y1="1" x2="23" y2="23"></line>',shield:'<path d="M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z"></path>',"shopping-bag":'<path d="M6 2L3 6v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V6l-3-4z"></path><line x1="3" y1="6" x2="21" y2="6"></line><path d="M16 10a4 4 0 0 1-8 0"></path>',"shopping-cart":'<circle cx="9" cy="21" r="1"></circle><circle cx="20" cy="21" r="1"></circle><path d="M1 1h4l2.68 13.39a2 2 0 0 0 2 1.61h9.72a2 2 0 0 0 2-1.61L23 6H6"></path>',shuffle:'<polyline points="16 3 21 3 21 8"></polyline><line x1="4" y1="20" x2="21" y2="3"></line><polyline points="21 16 21 21 16 21"></polyline><line x1="15" y1="15" x2="21" y2="21"></line><line x1="4" y1="4" x2="9" y2="9"></line>',sidebar:'<rect x="3" y="3" width="18" height="18" rx="2" ry="2"></rect><line x1="9" y1="3" x2="9" y2="21"></line>',"skip-back":'<polygon points="19 20 9 12 19 4 19 20"></polygon><line x1="5" y1="19" x2="5" y2="5"></line>',"skip-forward":'<polygon points="5 4 15 12 5 20 5 4"></polygon><line x1="19" y1="5" x2="19" y2="19"></line>',slack:'<path d="M14.5 10c-.83 0-1.5-.67-1.5-1.5v-5c0-.83.67-1.5 1.5-1.5s1.5.67 1.5 1.5v5c0 .83-.67 1.5-1.5 1.5z"></path><path d="M20.5 10H19V8.5c0-.83.67-1.5 1.5-1.5s1.5.67 1.5 1.5-.67 1.5-1.5 1.5z"></path><path d="M9.5 14c.83 0 1.5.67 1.5 1.5v5c0 .83-.67 1.5-1.5 1.5S8 21.33 8 20.5v-5c0-.83.67-1.5 1.5-1.5z"></path><path d="M3.5 14H5v1.5c0 .83-.67 1.5-1.5 1.5S2 16.33 2 15.5 2.67 14 3.5 14z"></path><path d="M14 14.5c0-.83.67-1.5 1.5-1.5h5c.83 0 1.5.67 1.5 1.5s-.67 1.5-1.5 1.5h-5c-.83 0-1.5-.67-1.5-1.5z"></path><path d="M15.5 19H14v1.5c0 .83.67 1.5 1.5 1.5s1.5-.67 1.5-1.5-.67-1.5-1.5-1.5z"></path><path d="M10 9.5C10 8.67 9.33 8 8.5 8h-5C2.67 8 2 8.67 2 9.5S2.67 11 3.5 11h5c.83 0 1.5-.67 1.5-1.5z"></path><path d="M8.5 5H10V3.5C10 2.67 9.33 2 8.5 2S7 2.67 7 3.5 7.67 5 8.5 5z"></path>',slash:'<circle cx="12" cy="12" r="10"></circle><line x1="4.93" y1="4.93" x2="19.07" y2="19.07"></line>',sliders:'<line x1="4" y1="21" x2="4" y2="14"></line><line x1="4" y1="10" x2="4" y2="3"></line><line x1="12" y1="21" x2="12" y2="12"></line><line x1="12" y1="8" x2="12" y2="3"></line><line x1="20" y1="21" x2="20" y2="16"></line><line x1="20" y1="12" x2="20" y2="3"></line><line x1="1" y1="14" x2="7" y2="14"></line><line x1="9" y1="8" x2="15" y2="8"></line><line x1="17" y1="16" x2="23" y2="16"></line>',smartphone:'<rect x="5" y="2" width="14" height="20" rx="2" ry="2"></rect><line x1="12" y1="18" x2="12.01" y2="18"></line>',smile:'<circle cx="12" cy="12" r="10"></circle><path d="M8 14s1.5 2 4 2 4-2 4-2"></path><line x1="9" y1="9" x2="9.01" y2="9"></line><line x1="15" y1="9" x2="15.01" y2="9"></line>',speaker:'<rect x="4" y="2" width="16" height="20" rx="2" ry="2"></rect><circle cx="12" cy="14" r="4"></circle><line x1="12" y1="6" x2="12.01" y2="6"></line>',square:'<rect x="3" y="3" width="18" height="18" rx="2" ry="2"></rect>',star:'<polygon points="12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2"></polygon>',"stop-circle":'<circle cx="12" cy="12" r="10"></circle><rect x="9" y="9" width="6" height="6"></rect>',sun:'<circle cx="12" cy="12" r="5"></circle><line x1="12" y1="1" x2="12" y2="3"></line><line x1="12" y1="21" x2="12" y2="23"></line><line x1="4.22" y1="4.22" x2="5.64" y2="5.64"></line><line x1="18.36" y1="18.36" x2="19.78" y2="19.78"></line><line x1="1" y1="12" x2="3" y2="12"></line><line x1="21" y1="12" x2="23" y2="12"></line><line x1="4.22" y1="19.78" x2="5.64" y2="18.36"></line><line x1="18.36" y1="5.64" x2="19.78" y2="4.22"></line>',sunrise:'<path d="M17 18a5 5 0 0 0-10 0"></path><line x1="12" y1="2" x2="12" y2="9"></line><line x1="4.22" y1="10.22" x2="5.64" y2="11.64"></line><line x1="1" y1="18" x2="3" y2="18"></line><line x1="21" y1="18" x2="23" y2="18"></line><line x1="18.36" y1="11.64" x2="19.78" y2="10.22"></line><line x1="23" y1="22" x2="1" y2="22"></line><polyline points="8 6 12 2 16 6"></polyline>',sunset:'<path d="M17 18a5 5 0 0 0-10 0"></path><line x1="12" y1="9" x2="12" y2="2"></line><line x1="4.22" y1="10.22" x2="5.64" y2="11.64"></line><line x1="1" y1="18" x2="3" y2="18"></line><line x1="21" y1="18" x2="23" y2="18"></line><line x1="18.36" y1="11.64" x2="19.78" y2="10.22"></line><line x1="23" y1="22" x2="1" y2="22"></line><polyline points="16 5 12 9 8 5"></polyline>',table:'<path d="M9 3H5a2 2 0 0 0-2 2v4m6-6h10a2 2 0 0 1 2 2v4M9 3v18m0 0h10a2 2 0 0 0 2-2V9M9 21H5a2 2 0 0 1-2-2V9m0 0h18"></path>',tablet:'<rect x="4" y="2" width="16" height="20" rx="2" ry="2"></rect><line x1="12" y1="18" x2="12.01" y2="18"></line>',tag:'<path d="M20.59 13.41l-7.17 7.17a2 2 0 0 1-2.83 0L2 12V2h10l8.59 8.59a2 2 0 0 1 0 2.82z"></path><line x1="7" y1="7" x2="7.01" y2="7"></line>',target:'<circle cx="12" cy="12" r="10"></circle><circle cx="12" cy="12" r="6"></circle><circle cx="12" cy="12" r="2"></circle>',terminal:'<polyline points="4 17 10 11 4 5"></polyline><line x1="12" y1="19" x2="20" y2="19"></line>',thermometer:'<path d="M14 14.76V3.5a2.5 2.5 0 0 0-5 0v11.26a4.5 4.5 0 1 0 5 0z"></path>',"thumbs-down":'<path d="M10 15v4a3 3 0 0 0 3 3l4-9V2H5.72a2 2 0 0 0-2 1.7l-1.38 9a2 2 0 0 0 2 2.3zm7-13h2.67A2.31 2.31 0 0 1 22 4v7a2.31 2.31 0 0 1-2.33 2H17"></path>',"thumbs-up":'<path d="M14 9V5a3 3 0 0 0-3-3l-4 9v11h11.28a2 2 0 0 0 2-1.7l1.38-9a2 2 0 0 0-2-2.3zM7 22H4a2 2 0 0 1-2-2v-7a2 2 0 0 1 2-2h3"></path>',"toggle-left":'<rect x="1" y="5" width="22" height="14" rx="7" ry="7"></rect><circle cx="8" cy="12" r="3"></circle>',"toggle-right":'<rect x="1" y="5" width="22" height="14" rx="7" ry="7"></rect><circle cx="16" cy="12" r="3"></circle>',tool:'<path d="M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.77-3.77a6 6 0 0 1-7.94 7.94l-6.91 6.91a2.12 2.12 0 0 1-3-3l6.91-6.91a6 6 0 0 1 7.94-7.94l-3.76 3.76z"></path>',"trash-2":'<polyline points="3 6 5 6 21 6"></polyline><path d="M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6m3 0V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2"></path><line x1="10" y1="11" x2="10" y2="17"></line><line x1="14" y1="11" x2="14" y2="17"></line>',trash:'<polyline points="3 6 5 6 21 6"></polyline><path d="M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6m3 0V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2"></path>',trello:'<rect x="3" y="3" width="18" height="18" rx="2" ry="2"></rect><rect x="7" y="7" width="3" height="9"></rect><rect x="14" y="7" width="3" height="5"></rect>',"trending-down":'<polyline points="23 18 13.5 8.5 8.5 13.5 1 6"></polyline><polyline points="17 18 23 18 23 12"></polyline>',"trending-up":'<polyline points="23 6 13.5 15.5 8.5 10.5 1 18"></polyline><polyline points="17 6 23 6 23 12"></polyline>',triangle:'<path d="M10.29 3.86L1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0z"></path>',truck:'<rect x="1" y="3" width="15" height="13"></rect><polygon points="16 8 20 8 23 11 23 16 16 16 16 8"></polygon><circle cx="5.5" cy="18.5" r="2.5"></circle><circle cx="18.5" cy="18.5" r="2.5"></circle>',tv:'<rect x="2" y="7" width="20" height="15" rx="2" ry="2"></rect><polyline points="17 2 12 7 7 2"></polyline>',twitch:'<path d="M21 2H3v16h5v4l4-4h5l4-4V2z
2M11 11V7M16 11V7"></path>',twitter:'<path d="M23 3a10.9 10.9 0 0 1-3.14 1.53 4.48 4.48 0 0 0-7.86 3v1A10.66 10.66 0 0 1 3 4s-4 9 5 13a11.64 11.64 0 0 1-7 2c9 5 20 0 20-11.5a4.5 4.5 0 0 0-.08-.83A7.72 7.72 0 0 0 23 3z"></path>',type:'<polyline points="4 7 4 4 20 4 20 7"></polyline><line x1="9" y1="20" x2="15" y2="20"></line><line x1="12" y1="4" x2="12" y2="20"></line>',umbrella:'<path d="M23 12a11.05 11.05 0 0 0-22 0zm-5 7a3 3 0 0 1-6 0v-7"></path>',underline:'<path d="M6 3v7a6 6 0 0 0 6 6 6 6 0 0 0 6-6V3"></path><line x1="4" y1="21" x2="20" y2="21"></line>',unlock:'<rect x="3" y="11" width="18" height="11" rx="2" ry="2"></rect><path d="M7 11V7a5 5 0 0 1 9.9-1"></path>',"upload-cloud":'<polyline points="16 16 12 12 8 16"></polyline><line x1="12" y1="12" x2="12" y2="21"></line><path d="M20.39 18.39A5 5 0 0 0 18 9h-1.26A8 8 0 1 0 3 16.3"></path><polyline points="16 16 12 12 8 16"></polyline>',upload:'<path d="M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"></path><polyline points="17 8 12 3 7 8"></polyline><line x1="12" y1="3" x2="12" y2="15"></line>',"user-check":'<path d="M16 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2"></path><circle cx="8.5" cy="7" r="4"></circle><polyline points="17 11 19 13 23 9"></polyline>',"user-minus":'<path d="M16 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2"></path><circle cx="8.5" cy="7" r="4"></circle><line x1="23" y1="11" x2="17" y2="11"></line>',"user-plus":'<path d="M16 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2"></path><circle cx="8.5" cy="7" r="4"></circle><line x1="20" y1="8" x2="20" y2="14"></line><line x1="23" y1="11" x2="17" y2="11"></line>',"user-x":'<path d="M16 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2"></path><circle cx="8.5" cy="7" r="4"></circle><line x1="18" y1="8" x2="23" y2="13"></line><line x1="23" y1="8" x2="18" y2="13"></line>',user:'<path d="M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2"></path><circle cx="12" cy="7" r="4"></circle>',users:'<path d="M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2"></path><circle cx="9" cy="7" r="4"></circle><path d="M23 21v-2a4 4 0 0 0-3-3.87"></path><path d="M16 3.13a4 4 0 0 1 0 7.75"></path>',"video-off":'<path d="M16 16v1a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2V7a2 2 0 0 1 2-2h2m5.66 0H14a2 2 0 0 1 2 2v3.34l1 1L23 7v10"></path><line x1="1" y1="1" x2="23" y2="23"></line>',video:'<polygon points="23 7 16 12 23 17 23 7"></polygon><rect x="1" y="5" width="15" height="14" rx="2" ry="2"></rect>',voicemail:'<circle cx="5.5" cy="11.5" r="4.5"></circle><circle cx="18.5" cy="11.5" r="4.5"></circle><line x1="5.5" y1="16" x2="18.5" y2="16"></line>',"volume-1":'<polygon points="11 5 6 9 2 9 2 15 6 15 11 19 11 5"></polygon><path d="M15.54 8.46a5 5 0 0 1 0 7.07"></path>',"volume-2":'<polygon points="11 5 6 9 2 9 2 15 6 15 11 19 11 5"></polygon><path d="M19.07 4.93a10 10 0 0 1 0 14.14M15.54 8.46a5 5 0 0 1 0 7.07"></path>',"volume-x":'<polygon points="11 5 6 9 2 9 2 15 6 15 11 19 11 5"></polygon><line x1="23" y1="9" x2="17" y2="15"></line><line x1="17" y1="9" x2="23" y2="15"></line>',volume:'<polygon points="11 5 6 9 2 9 2 15 6 15 11 19 11 5"></polygon>',watch:'<circle cx="12" cy="12" r="7"></circle><polyline points="12 9 12 12 13.5 13.5"></polyline><path d="M16.51 17.35l-.35 3.83a2 2 0 0 1-2 1.82H9.83a2 2 0 0 1-2-1.82l-.35-3.83m.01-10.7l.35-3.83A2 2 0 0 1 9.83 1h4.35a2 2 0 0 1 2 1.82l.35 3.83"></path>',"wifi-off":'<line x1="1" y1="1" x2="23" y2="23"></line><path d="M16.72 11.06A10.94 10.94 0 0 1 19 12.55"></path><path d="M5 12.55a10.94 10.94 0 0 1 5.17-2.39"></path><path d="M10.71 5.05A16 16 0 0 1 22.58 9"></path><path d="M1.42 9a15.91 15.91 0 0 1 4.7-2.88"></path><path d="M8.53 16.11a6 6 0 0 1 6.95 0"></path><line x1="12" y1="20" x2="12.01" y2="20"></line>',wifi:'<path d="M5 12.55a11 11 0 0 1 14.08 0"></path><path d="M1.42 9a16 16 0 0 1 21.16 0"></path><path d="M8.53 16.11a6 6 0 0 1 6.95 0"></path><line x1="12" y1="20" x2="12.01" y2="20"></line>',wind:'<path d="M9.59 4.59A2 2 0 1 1 11 8H2m10.59 11.41A2 2 0 1 0 14 16H2m15.73-8.27A2.5 2.5 0 1 1 19.5 12H2"></path>',"x-circle":'<circle cx="12" cy="12" r="10"></circle><line x1="15" y1="9" x2="9" y2="15"></line><line x1="9" y1="9" x2="15" y2="15"></line>',"x-octagon":'<polygon points="7.86 2 16.14 2 22 7.86 22 16.14 16.14 22 7.86 22 2 16.14 2 7.86 7.86 2"></polygon><line x1="15" y1="9" x2="9" y2="15"></line><line x1="9" y1="9" x2="15" y2="15"></line>',"x-square":'<rect x="3" y="3" width="18" height="18" rx="2" ry="2"></rect><line x1="9" y1="9" x2="15" y2="15"></line><line x1="15" y1="9" x2="9" y2="15"></line>',x:'<line x1="18" y1="6" x2="6" y2="18"></line><line x1="6" y1="6" x2="18" y2="18"></line>',youtube:'<path d="M22.54 6.42a2.78 2.78 0 0 0-1.94-2C18.88 4 12 4 12 4s-6.88 0-8.6.46a2.78 2.78 0 0 0-1.94 2A29 29 0 0 0 1 11.75a29 29 0 0 0 .46 5.33A2.78 2.78 0 0 0 3.4 19c1.72.46 8.6.46 8.6.46s6.88 0 8.6-.46a2.78 2.78 0 0 0 1.94-2 29 29 0 0 0 .46-5.25 29 29 0 0 0-.46-5.33z"></path><polygon points="9.75 15.02 15.5 11.75 9.75 8.48 9.75 15.02"></polygon>',"zap-off":'<polyline points="12.41 6.75 13 2 10.57 4.92"></polyline><polyline points="18.57 12.91 21 10 15.66 10"></polyline><polyline points="8 8 3 14 12 14 11 22 16 16"></polyline><line x1="1" y1="1" x2="23" y2="23"></line>',zap:'<polygon points="13 2 3 14 12 14 11 22 21 10 12 10 13 2"></polygon>',"zoom-in":'<circle cx="11" cy="11" r="8"></circle><line x1="21" y1="21" x2="16.65" y2="16.65"></line>
2<line x1="11" y1="8" x2="11" y2="14"></line><line x1="8" y1="11" x2="14" y2="11"></line>',"zoom-out":'<circle cx="11" cy="11" r="8"></circle><line x1="21" y1="21" x2="16.65" y2="16.65"></line><line x1="8" y1="11" x2="14" y2="11"></line>'}},
vendor: 771 bytes, line 2
2"./node_modules/classnames/dedupe.js":function(e,t,n){var r;!function(){"use strict";var n=function(){function e(){}function t(e,t){for(var n=t.length,r=0;r<n;++r)i(e,t[r])}e.prototype=Object.create(null);var n={}.hasOwnProperty,r=/\s+/;function i(e,i){if(i){var o=typeof i;"string"===o?function(e,t){for(var n=t.split(r),i=n.length,o=0;o<i;++o)e[n[o]]=!0}(e,i):Array.isArray(i)?t(e,i):"object"===o?function(e,t){for(var r in t)n.call(t,r)&&(e[r]=!!t[r])}(e,i):"number"===o&&function(e,t){e[t]=!0}(e,i)}}return function(){for(var n=arguments.length,r=Array(n),i=0;i<n;i++)r[i]=arguments[i];var o=new e;t(o,r);var a=[];for(var s in o)o[s]&&a.push(s);return a.join(" ")}}();void 0!==e&&e.exports?e.exports=n:void 0===(r=function(){return n}.apply(t,[]))||(e.exports=r)}()},
vendor: 245 bytes, line 2
2"./node_modules/core-js/es/array/from.js":function(e,t,n){n("./node_modules/core-js/modules/es.string.iterator.js"),n("./node_modules/core-js/modules/es.array.from.js");var r=n("./node_modules/core-js/internals/path.js");e.exports=r.Array.from},
vendor: 168 bytes, line 2
2"./node_modules/core-js/internals/a-function.js":function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e}},
vendor: 210 bytes, line 2
2"./node_modules/core-js/internals/an-object.js":function(e,t,n){var r=n("./node_modules/core-js/internals/is-object.js");e.exports=function(e){if(!r(e))throw TypeError(String(e)+" is not an object");return e}},
vendor: 894 bytes, line 2
2"./node_modules/core-js/internals/array-from.js":function(e,t,n){"use strict";var r=n("./node_modules/core-js/internals/bind-context.js"),i=n("./node_modules/core-js/internals/to-object.js"),o=n("./node_modules/core-js/internals/call-with-safe-iteration-closing.js"),a=n("./node_modules/core-js/internals/is-array-iterator-method.js"),s=n("./node_modules/core-js/internals/to-length.js"),l=n("./node_modules/core-js/internals/create-property.js"),c=n("./node_modules/core-js/internals/get-iterator-method.js");e.exports=function(e){var t,n,u,d,h=i(e),f="function"==typeof this?this:Array,p=arguments.length,g=p>1?arguments[1]:void 0,m=void 0!==g,y=0,v=c(h);if(m&&(g=r(g,p>2?arguments[2]:void 0,2)),null==v||f==Array&&a(v))for(n=new f(t=s(h.length));t>y;y++)l(n,y,m?g(h[y],y):h[y]);else for(d=v.call(h),n=new f;!(u=d.next()).done;y++)l(n,y,m?o(d,g,[u.value,y],!0):u.value);return n.length=y,n}},
vendor: 451 bytes, line 2
2"./node_modules/core-js/internals/array-includes.js":function(e,t,n){var r=n("./node_modules/core-js/internals/to-indexed-object.js"),i=n("./node_modules/core-js/internals/to-length.js"),o=n("./node_modules/core-js/internals/to-absolute-index.js");e.exports=function(e){return function(t,n,a){var s,l=r(t),c=i(l.length),u=o(a,c);if(e&&n!=n){for(;c>u;)if((s=l[u++])!=s)return!0}else for(;c>u;u++)if((e||u in l)&&l[u]===n)return e||u||0;return!e&&-1}}},
vendor: 431 bytes, line 2
2"./node_modules/core-js/internals/bind-context.js":function(e,t,n){var r=n("./node_modules/core-js/internals/a-function.js");e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 0:return function(){return e.call(t)};case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,i){return e.call(t,n,r,i)}}return function(){return e.apply(t,arguments)}}},
vendor: 266 bytes, line 2
2"./node_modules/core-js/internals/call-with-safe-iteration-closing.js":function(e,t,n){var r=n("./node_modules/core-js/internals/an-object.js");e.exports=function(e,t,n,i){try{return i?t(r(n)[0],n[1]):t(n)}catch(t){var o=e.return;throw void 0!==o&&r(o.call(e)),t}}},
vendor: 469 bytes, line 2
2"./node_modules/core-js/internals/check-correctness-of-iteration.js":function(e,t,n){var r=n("./node_modules/core-js/internals/well-known-symbol.js")("iterator"),i=!1;try{var o=0,a={next:function(){return{done:!!o++}},return:function(){i=!0}};a[r]=function(){return this},Array.from(a,(function(){throw 2}))}catch(e){}e.exports=function(e,t){if(!t&&!i)return!1;var n=!1;try{var o={};o[r]=function(){return{next:function(){return{done:n=!0}}}},e(o)}catch(e){}return n}},
vendor: 135 bytes, line 2
2"./node_modules/core-js/internals/classof-raw.js":function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},
vendor: 474 bytes, line 2
2"./node_modules/core-js/internals/classof.js":function(e,t,n){var r=n("./node_modules/core-js/internals/classof-raw.js"),i=n("./node_modules/core-js/internals/well-known-symbol.js")("toStringTag"),o="Arguments"==r(function(){return arguments}());e.exports=function(e){var t,n,a;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),i))?n:o?r(t):"Object"==(a=r(t))&&"function"==typeof t.callee?"Arguments":a}},
vendor: 436 bytes, line 2
2"./node_modules/core-js/internals/copy-constructor-properties.js":function(e,t,n){var r=n("./node_modules/core-js/internals/has.js"),i=n("./node_modules/core-js/internals/own-keys.js"),o=n("./node_modules/core-js/internals/object-get-own-property-descriptor.js"),a=n("./node_modules/core-js/internals/object-define-property.js");e.exports=function(e,t){for(var n=i(t),s=a.f,l=o.f,c=0;c<n.length;c++){var u=n[c];r(e,u)||s(e,u,l(t,u))}}},
vendor: 254 bytes, line 2
2"./node_modules/core-js/internals/correct-prototype-getter.js":function(e,t,n){var r=n("./node_modules/core-js/internals/fails.js");e.exports=!r((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},
vendor: 550 bytes, line 2
2"./node_modules/core-js/internals/create-iterator-constructor.js":function(e,t,n){"use strict";var r=n("./node_modules/core-js/internals/iterators-core.js").IteratorPrototype,i=n("./node_modules/core-js/internals/object-create.js"),o=n("./node_modules/core-js/internals/create-property-descriptor.js"),a=n("./node_modules/core-js/internals/set-to-string-tag.js"),s=n("./node_modules/core-js/internals/iterators.js"),l=function(){return this};e.exports=function(e,t,n){var c=t+" Iterator";return e.prototype=i(r,{next:o(1,n)}),a(e,c,!1,!0),s[c]=l,e}},
vendor: 175 bytes, line 2
2"./node_modules/core-js/internals/create-property-descriptor.js":function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},
vendor: 348 bytes, line 2
2"./node_modules/core-js/internals/create-property.js":function(e,t,n){"use strict";var r=n("./node_modules/core-js/internals/to-primitive.js"),i=n("./node_modules/core-js/internals/object-define-property.js"),o=n("./node_modules/core-js/internals/create-property-descriptor.js");e.exports=function(e,t,n){var a=r(t);a in e?i.f(e,a,o(0,n)):e[a]=n}},
vendor: 1,564 bytes, line 2
2"./node_modules/core-js/internals/define-iterator.js":function(e,t,n){"use strict";var r=n("./node_modules/core-js/internals/export.js"),i=n("./node_modules/core-js/internals/create-iterator-constructor.js"),o=n("./node_modules/core-js/internals/object-get-prototype-of.js"),a=n("./node_modules/core-js/internals/object-set-prototype-of.js"),s=n("./node_modules/core-js/internals/set-to-string-tag.js"),l=n("./node_modules/core-js/internals/hide.js"),c=n("./node_modules/core-js/internals/redefine.js"),u=n("./node_modules/core-js/internals/well-known-symbol.js"),d=n("./node_modules/core-js/internals/is-pure.js"),h=n("./node_modules/core-js/internals/iterators.js"),f=n("./node_modules/core-js/internals/iterators-core.js"),p=f.IteratorPrototype,g=f.BUGGY_SAFARI_ITERATORS,m=u("iterator"),y="keys",v="values",w="entries",b=function(){return this};e.exports=function(e,t,n,u,f,C,S){i(n,t,u);var A,_,T,E=function(e){if(e===f&&D)return D;if(!g&&e in O)return O[e];switch(e){case y:case v:case w:return function(){return new n(this,e)}}return function(){return new n(this)}},x=t+" Iterator",I=!1,O=e.prototype,M=O[m]||O["@@iterator"]||f&&O[f],D=!g&&M||E(f),k="Array"==t&&O.entries||M;if(k&&(A=o(k.call(new e)),p!==Object.prototype&&A.next&&(d||o(A)===p||(a?a(A,p):"function"!=typeof A[m]&&l(A,m,b)),s(A,x,!0,!0),d&&(h[x]=b))),f==v&&M&&M.name!==v&&(I=!0,D=function(){return M.call(this)}),d&&!S||O[m]===D||l(O,m,D),h[t]=D,f)if(_={values:E(v),keys:C?D:E(y),entries:E(w)},S)for(T in _)(g||I||!(T in O))&&c(O,T,_[T]);else r({target:t,proto:!0,forced:g||I},_);return _}},
vendor: 217 bytes, line 2
2"./node_modules/core-js/internals/descriptors.js":function(e,t,n){var r=n("./node_modules/core-js/internals/fails.js");e.exports=!r((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},
vendor: 280 bytes, line 2
2"./node_modules/core-js/internals/document-create-element.js":function(e,t,n){var r=n("./node_modules/core-js/internals/global.js"),i=n("./node_modules/core-js/internals/is-object.js"),o=r.document,a=i(o)&&i(o.createElement);e.exports=function(e){return a?o.createElement(e):{}}},
vendor: 187 bytes, line 2
2"./node_modules/core-js/internals/enum-bug-keys.js":function(e,t){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},
vendor: 785 bytes, line 2
2"./node_modules/core-js/internals/export.js":function(e,t,n){var r=n("./node_modules/core-js/internals/global.js"),i=n("./node_modules/core-js/internals/object-get-own-property-descriptor.js").f,o=n("./node_modules/core-js/internals/hide.js"),a=n("./node_modules/core-js/internals/redefine.js"),s=n("./node_modules/core-js/internals/set-global.js"),l=n("./node_modules/core-js/internals/copy-constructor-properties.js"),c=n("./node_modules/core-js/internals/is-forced.js");e.exports=function(e,t){var n,u,d,h,f,p=e.target,g=e.global,m=e.stat;if(n=g?r:m?r[p]||s(p,{}):(r[p]||{}).prototype)for(u in t){if(h=t[u],d=e.noTargetGet?(f=i(n,u))&&f.value:n[u],!c(g?u:p+(m?".":"#")+u,e.forced)&&void 0!==d){if(typeof h==typeof d)continue;l(h,d)}(e.sham||d&&d.sham)&&o(h,"sham",!0),a(n,u,h,e)}}},
vendor: 117 bytes, line 2
2"./node_modules/core-js/internals/fails.js":function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},
vendor: 187 bytes, line 2
2"./node_modules/core-js/internals/function-to-string.js":function(e,t,n){var r=n("./node_modules/core-js/internals/shared.js");e.exports=r("native-function-to-string",Function.toString)},
vendor: 328 bytes, line 2
2"./node_modules/core-js/internals/get-iterator-method.js":function(e,t,n){var r=n("./node_modules/core-js/internals/classof.js"),i=n("./node_modules/core-js/internals/iterators.js"),o=n("./node_modules/core-js/internals/well-known-symbol.js")("iterator");e.exports=function(e){if(null!=e)return e[o]||e["@@iterator"]||i[r(e)]}},
vendor: 336 bytes, line 2
2"./node_modules/core-js/internals/global.js":function(e,t,n){(function(t){var n="object",r=function(e){return e&&e.Math==Math&&e};e.exports=r(typeof globalThis==n&&globalThis)||r(typeof window==n&&window)||r(typeof self==n&&self)||r(typeof t==n&&t)||Function("return this")()}).call(this,n("./node_modules/webpack/buildin/global.js"))},
vendor: 125 bytes, line 2
2"./node_modules/core-js/internals/has.js":function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},
vendor: 78 bytes, line 2
2"./node_modules/core-js/internals/hidden-keys.js":function(e,t){e.exports={}},
vendor: 340 bytes, line 2
2"./node_modules/core-js/internals/hide.js":function(e,t,n){var r=n("./node_modules/core-js/internals/descriptors.js"),i=n("./node_modules/core-js/internals/object-define-property.js"),o=n("./node_modules/core-js/internals/create-property-descriptor.js");e.exports=r?function(e,t,n){return i.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},
vendor: 154 bytes, line 2
2"./node_modules/core-js/internals/html.js":function(e,t,n){var r=n("./node_modules/core-js/internals/global.js").document;e.exports=r&&r.documentElement},
vendor: 352 bytes, line 2
2"./node_modules/core-js/internals/ie8-dom-define.js":function(e,t,n){var r=n("./node_modules/core-js/internals/descriptors.js"),i=n("./node_modules/core-js/internals/fails.js"),o=n("./node_modules/core-js/internals/document-create-element.js");e.exports=!r&&!i((function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},
vendor: 323 bytes, line 2
2"./node_modules/core-js/internals/indexed-object.js":function(e,t,n){var r=n("./node_modules/core-js/internals/fails.js"),i=n("./node_modules/core-js/internals/classof-raw.js"),o="".split;e.exports=r((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==i(e)?o.call(e,""):Object(e)}:Object},
vendor: 962 bytes, line 2
2"./node_modules/core-js/internals/internal-state.js":function(e,t,n){var r,i,o,a=n("./node_modules/core-js/internals/native-weak-map.js"),s=n("./node_modules/core-js/internals/global.js"),l=n("./node_modules/core-js/internals/is-object.js"),c=n("./node_modules/core-js/internals/hide.js"),u=n("./node_modules/core-js/internals/has.js"),d=n("./node_modules/core-js/internals/shared-key.js"),h=n("./node_modules/core-js/internals/hidden-keys.js"),f=s.WeakMap;if(a){var p=new f,g=p.get,m=p.has,y=p.set;r=function(e,t){return y.call(p,e,t),t},i=function(e){return g.call(p,e)||{}},o=function(e){return m.call(p,e)}}else{var v=d("state");h[v]=!0,r=function(e,t){return c(e,v,t),t},i=function(e){return u(e,v)?e[v]:{}},o=function(e){return u(e,v)}}e.exports={set:r,get:i,has:o,enforce:function(e){return o(e)?i(e):r(e,{})},getterFor:function(e){return function(t){var n;if(!l(t)||(n=i(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}}}},
vendor: 298 bytes, line 2
2"./node_modules/core-js/internals/is-array-iterator-method.js":function(e,t,n){var r=n("./node_modules/core-js/internals/well-known-symbol.js"),i=n("./node_modules/core-js/internals/iterators.js"),o=r("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(i.Array===e||a[o]===e)}},
vendor: 349 bytes, line 2
2"./node_modules/core-js/internals/is-forced.js":function(e,t,n){var r=n("./node_modules/core-js/internals/fails.js"),i=/#|\.prototype\./,o=function(e,t){var n=s[a(e)];return n==c||n!=l&&("function"==typeof t?r(t):!!t)},a=o.normalize=function(e){return String(e).replace(i,".").toLowerCase()},s=o.data={},l=o.NATIVE="N",c=o.POLYFILL="P";e.exports=o},
vendor: 141 bytes, line 2
2"./node_modules/core-js/internals/is-object.js":function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},
vendor: 74 bytes, line 2
2"./node_modules/core-js/internals/is-pure.js":function(e,t){e.exports=!1},
vendor: 581 bytes, line 2
2"./node_modules/core-js/internals/iterators-core.js":function(e,t,n){"use strict";var r,i,o,a=n("./node_modules/core-js/internals/object-get-prototype-of.js"),s=n("./node_modules/core-js/internals/hide.js"),l=n("./node_modules/core-js/internals/has.js"),c=n("./node_modules/core-js/internals/well-known-symbol.js"),u=n("./node_modules/core-js/internals/is-pure.js"),d=c("iterator"),h=!1;[].keys&&("next"in(o=[].keys())?(i=a(a(o)))!==Object.prototype&&(r=i):h=!0),null==r&&(r={}),u||l(r,d)||s(r,d,(function(){return this})),e.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:h}},
vendor: 76 bytes, line 2
2"./node_modules/core-js/internals/iterators.js":function(e,t){e.exports={}},
vendor: 206 bytes, line 2
2"./node_modules/core-js/internals/native-symbol.js":function(e,t,n){var r=n("./node_modules/core-js/internals/fails.js");e.exports=!!Object.getOwnPropertySymbols&&!r((function(){return!String(Symbol())}))},
vendor: 261 bytes, line 2
2"./node_modules/core-js/internals/native-weak-map.js":function(e,t,n){var r=n("./node_modules/core-js/internals/global.js"),i=n("./node_modules/core-js/internals/function-to-string.js"),o=r.WeakMap;e.exports="function"==typeof o&&/native code/.test(i.call(o))},
vendor: 910 bytes, line 2
2"./node_modules/core-js/internals/object-create.js":function(e,t,n){var r=n("./node_modules/core-js/internals/an-object.js"),i=n("./node_modules/core-js/internals/object-define-properties.js"),o=n("./node_modules/core-js/internals/enum-bug-keys.js"),a=n("./node_modules/core-js/internals/hidden-keys.js"),s=n("./node_modules/core-js/internals/html.js"),l=n("./node_modules/core-js/internals/document-create-element.js"),c=n("./node_modules/core-js/internals/shared-key.js")("IE_PROTO"),u="prototype",d=function(){},h=function(){var e,t=l("iframe"),n=o.length,r="script",i="java"+r+":";for(t.style.display="none",s.appendChild(t),t.src=String(i),(e=t.contentWindow.document).open(),e.write("<"+r+">document.F=Object</"+r+">"),e.close(),h=e.F;n--;)delete h[u][o[n]];return h()};e.exports=Object.create||function(e,t){var n;return null!==e?(d[u]=r(e),n=new d,d[u]=null,n[c]=e):n=h(),void 0===t?n:i(n,t)},a[c]=!0},
vendor: 436 bytes, line 2
2"./node_modules/core-js/internals/object-define-properties.js":function(e,t,n){var r=n("./node_modules/core-js/internals/descriptors.js"),i=n("./node_modules/core-js/internals/object-define-property.js"),o=n("./node_modules/core-js/internals/an-object.js"),a=n("./node_modules/core-js/internals/object-keys.js");e.exports=r?Object.defineProperties:function(e,t){o(e);for(var n,r=a(t),s=r.length,l=0;s>l;)i.f(e,n=r[l++],t[n]);return e}},
vendor: 511 bytes, line 2
2"./node_modules/core-js/internals/object-define-property.js":function(e,t,n){var r=n("./node_modules/core-js/internals/descriptors.js"),i=n("./node_modules/core-js/internals/ie8-dom-define.js"),o=n("./node_modules/core-js/internals/an-object.js"),a=n("./node_modules/core-js/internals/to-primitive.js"),s=Object.defineProperty;t.f=r?s:function(e,t,n){if(o(e),t=a(t,!0),o(n),i)try{return s(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},
vendor: 661 bytes, line 2
2"./node_modules/core-js/internals/object-get-own-property-descriptor.js":function(e,t,n){var r=n("./node_modules/core-js/internals/descriptors.js"),i=n("./node_modules/core-js/internals/object-property-is-enumerable.js"),o=n("./node_modules/core-js/internals/create-property-descriptor.js"),a=n("./node_modules/core-js/internals/to-indexed-object.js"),s=n("./node_modules/core-js/internals/to-primitive.js"),l=n("./node_modules/core-js/internals/has.js"),c=n("./node_modules/core-js/internals/ie8-dom-define.js"),u=Object.getOwnPropertyDescriptor;t.f=r?u:function(e,t){if(e=a(e),t=s(t,!0),c)try{return u(e,t)}catch(e){}if(l(e,t))return o(!i.f.call(e,t),e[t])}},
vendor: 298 bytes, line 2
2"./node_modules/core-js/internals/object-get-own-property-names.js":function(e,t,n){var r=n("./node_modules/core-js/internals/object-keys-internal.js"),i=n("./node_modules/core-js/internals/enum-bug-keys.js").concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,i)}},
vendor: 118 bytes, line 2
2"./node_modules/core-js/internals/object-get-own-property-symbols.js":function(e,t){t.f=Object.getOwnPropertySymbols},
vendor: 525 bytes, line 2
2"./node_modules/core-js/internals/object-get-prototype-of.js":function(e,t,n){var r=n("./node_modules/core-js/internals/has.js"),i=n("./node_modules/core-js/internals/to-object.js"),o=n("./node_modules/core-js/internals/shared-key.js"),a=n("./node_modules/core-js/internals/correct-prototype-getter.js"),s=o("IE_PROTO"),l=Object.prototype;e.exports=a?Object.getPrototypeOf:function(e){return e=i(e),r(e,s)?e[s]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?l:null}},
vendor: 456 bytes, line 2
2"./node_modules/core-js/internals/object-keys-internal.js":function(e,t,n){var r=n("./node_modules/core-js/internals/has.js"),i=n("./node_modules/core-js/internals/to-indexed-object.js"),o=n("./node_modules/core-js/internals/array-includes.js"),a=n("./node_modules/core-js/internals/hidden-keys.js"),s=o(!1);e.exports=function(e,t){var n,o=i(e),l=0,c=[];for(n in o)!r(a,n)&&r(o,n)&&c.push(n);for(;t.length>l;)r(o,n=t[l++])&&(~s(c,n)||c.push(n));return c}},
vendor: 242 bytes, line 2
2"./node_modules/core-js/internals/object-keys.js":function(e,t,n){var r=n("./node_modules/core-js/internals/object-keys-internal.js"),i=n("./node_modules/core-js/internals/enum-bug-keys.js");e.exports=Object.keys||function(e){return r(e,i)}},
vendor: 245 bytes, line 2
2"./node_modules/core-js/internals/object-property-is-enumerable.js":function(e,t,n){"use strict";var r={}.propertyIsEnumerable,i=Object.getOwnPropertyDescriptor,o=i&&!r.call({1:2},1);t.f=o?function(e){var t=i(this,e);return!!t&&t.enumerable}:r},
vendor: 432 bytes, line 2
2"./node_modules/core-js/internals/object-set-prototype-of.js":function(e,t,n){var r=n("./node_modules/core-js/internals/validate-set-prototype-of-arguments.js");e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(n,[]),t=n instanceof Array}catch(e){}return function(n,i){return r(n,i),t?e.call(n,i):n.__proto__=i,n}}():void 0)},
vendor: 416 bytes, line 2
2"./node_modules/core-js/internals/own-keys.js":function(e,t,n){var r=n("./node_modules/core-js/internals/global.js"),i=n("./node_modules/core-js/internals/object-get-own-property-names.js"),o=n("./node_modules/core-js/internals/object-get-own-property-symbols.js"),a=n("./node_modules/core-js/internals/an-object.js"),s=r.Reflect;e.exports=s&&s.ownKeys||function(e){var t=i.f(a(e)),n=o.f;return n?t.concat(n(e)):t}},
vendor: 118 bytes, line 2
2"./node_modules/core-js/internals/path.js":function(e,t,n){e.exports=n("./node_modules/core-js/internals/global.js")},
vendor: 929 bytes, line 2
2"./node_modules/core-js/internals/redefine.js":function(e,t,n){var r=n("./node_modules/core-js/internals/global.js"),i=n("./node_modules/core-js/internals/shared.js"),o=n("./node_modules/core-js/internals/hide.js"),a=n("./node_modules/core-js/internals/has.js"),s=n("./node_modules/core-js/internals/set-global.js"),l=n("./node_modules/core-js/internals/function-to-string.js"),c=n("./node_modules/core-js/internals/internal-state.js"),u=c.get,d=c.enforce,h=String(l).split("toString");i("inspectSource",(function(e){return l.call(e)})),(e.exports=function(e,t,n,i){var l=!!i&&!!i.unsafe,c=!!i&&!!i.enumerable,u=!!i&&!!i.noTargetGet;"function"==typeof n&&("string"!=typeof t||a(n,"name")||o(n,"name",t),d(n).source=h.join("string"==typeof t?t:"")),e!==r?(l?!u&&e[t]&&(c=!0):delete e[t],c?e[t]=n:o(e,t,n)):c?e[t]=n:s(t,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&u(this).source||l.call(this)}))},
vendor: 164 bytes, line 2
2"./node_modules/core-js/internals/require-object-coercible.js":function(e,t){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},
vendor: 231 bytes, line 2
2"./node_modules/core-js/internals/set-global.js":function(e,t,n){var r=n("./node_modules/core-js/internals/global.js"),i=n("./node_modules/core-js/internals/hide.js");e.exports=function(e,t){try{i(r,e,t)}catch(n){r[e]=t}return t}},
vendor: 356 bytes, line 2
2"./node_modules/core-js/internals/set-to-string-tag.js":function(e,t,n){var r=n("./node_modules/core-js/internals/object-define-property.js").f,i=n("./node_modules/core-js/internals/has.js"),o=n("./node_modules/core-js/internals/well-known-symbol.js")("toStringTag");e.exports=function(e,t,n){e&&!i(e=n?e:e.prototype,o)&&r(e,o,{configurable:!0,value:t})}},
vendor: 227 bytes, line 2
2"./node_modules/core-js/internals/shared-key.js":function(e,t,n){var r=n("./node_modules/core-js/internals/shared.js"),i=n("./node_modules/core-js/internals/uid.js"),o=r("keys");e.exports=function(e){return o[e]||(o[e]=i(e))}},
vendor: 435 bytes, line 2
2"./node_modules/core-js/internals/shared.js":function(e,t,n){var r=n("./node_modules/core-js/internals/global.js"),i=n("./node_modules/core-js/internals/set-global.js"),o=n("./node_modules/core-js/internals/is-pure.js"),a="__core-js_shared__",s=r[a]||i(a,{});(e.exports=function(e,t){return s[e]||(s[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.1.3",mode:o?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},
vendor: 431 bytes, line 2
2"./node_modules/core-js/internals/string-at.js":function(e,t,n){var r=n("./node_modules/core-js/internals/to-integer.js"),i=n("./node_modules/core-js/internals/require-object-coercible.js");e.exports=function(e,t,n){var o,a,s=String(i(e)),l=r(t),c=s.length;return l<0||l>=c?n?"":void 0:(o=s.charCodeAt(l))<55296||o>56319||l+1===c||(a=s.charCodeAt(l+1))<56320||a>57343?n?s.charAt(l):o:n?s.slice(l,l+2):a-56320+(o-55296<<10)+65536}},
vendor: 216 bytes, line 2
2"./node_modules/core-js/internals/to-absolute-index.js":function(e,t,n){var r=n("./node_modules/core-js/internals/to-integer.js"),i=Math.max,o=Math.min;e.exports=function(e,t){var n=r(e);return n<0?i(n+t,0):o(n,t)}},
vendor: 241 bytes, line 2
2"./node_modules/core-js/internals/to-indexed-object.js":function(e,t,n){var r=n("./node_modules/core-js/internals/indexed-object.js"),i=n("./node_modules/core-js/internals/require-object-coercible.js");e.exports=function(e){return r(i(e))}},
vendor: 150 bytes, line 2
2"./node_modules/core-js/internals/to-integer.js":function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},
vendor: 195 bytes, line 2
2"./node_modules/core-js/internals/to-length.js":function(e,t,n){var r=n("./node_modules/core-js/internals/to-integer.js"),i=Math.min;e.exports=function(e){return e>0?i(r(e),9007199254740991):0}},
vendor: 180 bytes, line 2
2"./node_modules/core-js/internals/to-object.js":function(e,t,n){var r=n("./node_modules/core-js/internals/require-object-coercible.js");e.exports=function(e){return Object(r(e))}},
vendor: 427 bytes, line 2
2"./node_modules/core-js/internals/to-primitive.js":function(e,t,n){var r=n("./node_modules/core-js/internals/is-object.js");e.exports=function(e,t){if(!r(e))return e;var n,i;if(t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;if("function"==typeof(n=e.valueOf)&&!r(i=n.call(e)))return i;if(!t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;throw TypeError("Can't convert object to primitive value")}},
vendor: 170 bytes, line 2
2"./node_modules/core-js/internals/uid.js":function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+r).toString(36))}},
vendor: 308 bytes, line 2
2"./node_modules/core-js/internals/validate-set-prototype-of-arguments.js":function(e,t,n){var r=n("./node_modules/core-js/internals/is-object.js"),i=n("./node_modules/core-js/internals/an-object.js");e.exports=function(e,t){if(i(e),!r(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype")}},
vendor: 376 bytes, line 2
2"./node_modules/core-js/internals/well-known-symbol.js":function(e,t,n){var r=n("./node_modules/core-js/internals/global.js"),i=n("./node_modules/core-js/internals/shared.js"),o=n("./node_modules/core-js/internals/uid.js"),a=n("./node_modules/core-js/internals/native-symbol.js"),s=r.Symbol,l=i("wks");e.exports=function(e){return l[e]||(l[e]=a&&s[e]||(a?s:o)("Symbol."+e))}},
vendor: 322 bytes, line 2
2"./node_modules/core-js/modules/es.array.from.js":function(e,t,n){var r=n("./node_modules/core-js/internals/export.js"),i=n("./node_modules/core-js/internals/array-from.js");r({target:"Array",stat:!0,forced:!n("./node_modules/core-js/internals/check-correctness-of-iteration.js")((function(e){Array.from(e)}))},{from:i})},
vendor: 523 bytes, line 2
2"./node_modules/core-js/modules/es.string.iterator.js":function(e,t,n){"use strict";var r=n("./node_modules/core-js/internals/string-at.js"),i=n("./node_modules/core-js/internals/internal-state.js"),o=n("./node_modules/core-js/internals/define-iterator.js"),a="String Iterator",s=i.set,l=i.getterFor(a);o(String,"String",(function(e){s(this,{type:a,string:String(e),index:0})}),(function(){var e,t=l(this),n=t.string,i=t.index;return i>=n.length?{value:void 0,done:!0}:(e=r(n,i,!0),t.index+=e.length,{value:e,done:!1})}))},
vendor: 202 bytes, line 2
2"./node_modules/webpack/buildin/global.js":function(e,t){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(e){"object"==typeof window&&(n=window)}e.exports=n},
2"./src/default-attrs.json":function(e){e.exports={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":2,"stroke-linecap":"round","stroke-linejoin":"round"}},
vendor: 1,315 bytes, line 2
2"./src/icon.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=s(n("./node_modules/classnames/dedupe.js")),a=s(n("./src/default-attrs.json"));function s(e){return e&&e.__esModule?e:{default:e}}var l=function(){function e(t,n){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.name=t,this.contents=n,this.tags=i,this.attrs=r({},a.default,{class:"feather feather-"+t})}return i(e,[{key:"toSvg",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return"<svg "+function(e){return Object.keys(e).map((function(t){return t+'="'+e[t]+'"'})).join(" ")}(r({},this.attrs,e,{class:(0,o.default)(this.attrs.class,e.class)}))+">"+this.contents+"</svg>"}},{key:"toString",value:function(){return this.contents}}]),e}();t.default=l},
2"./src/icons.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=a(n("./src/icon.js")),i=a(n("./dist/icons.json")),o=a(n("./src/tags.json"));function a(e){return e&&e.__esModule?e:{default:e}}t.default=Object.keys(i.default).map((function(e){return new r.default(e,i.default[e],o.default[e])})).reduce((function(e,t){return e[t.name]=t,e}),{})},
2"./src/index.js":function(e,t,n){"use strict";var r=a(n("./src/icons.js")),i=a(n("./src/to-svg.js")),o=a(n("./src/replace.js"));function a(e){return e&&e.__esModule?e:{default:e}}e.exports={icons:r.default,toSvg:i.default,replace:o.default}},
2"./src/replace.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=a(n("./node_modules/classnames/dedupe.js")),o=a(n("./src/icons.js"));function a(e){return e&&e.__esModule?e:{default:e}}t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if("undefined"==typeof document)throw new Error("`feather.replace()` only works in a browser environment.");var t=document.querySelectorAll("[data-feather]");Array.from(t).forEach((function(t){return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=function(e){return Array.from(e.attributes).reduce((function(e,t){return e[t.name]=t.value,e}),{})}(e),a=n["data-feather"];delete n["data-feather"];var s=o.default[a].toSvg(r({},t,n,{class:(0,i.default)(t.class,n.class)})),l=(new DOMParser).parseFromString(s,"image/svg+xml").querySelector("svg");e.parentNode.replaceChild(l,e)}(t,e)}))}},
vendor: 5,782 bytes, line 2
2"./src/tags.json":function(e){e.exports={activity:["pulse","health","action","motion"],airplay:["stream","cast","mirroring"],"alert-circle":["warning","alert","danger"],"alert-octagon":["warning","alert","danger"],"alert-triangle":["warning","alert","danger"],"align-center":["text alignment","center"],"align-justify":["text alignment","justified"],"align-left":["text alignment","left"],"align-right":["text alignment","right"],anchor:[],archive:["index","box"],"at-sign":["mention","at","email","message"],award:["achievement","badge"],aperture:["camera","photo"],"bar-chart":["statistics","diagram","graph"],"bar-chart-2":["statistics","diagram","graph"],battery:["power","electricity"],"battery-charging":["power","electricity"],bell:["alarm","notification","sound"],"bell-off":["alarm","notification","silent"],bluetooth:["wireless"],"book-open":["read","library"],book:["read","dictionary","booklet","magazine","library"],bookmark:["read","clip","marker","tag"],box:["cube"],briefcase:["work","bag","baggage","folder"],calendar:["date"],camera:["photo"],cast:["chromecast","airplay"],"chevron-down":["expand"],"chevron-up":["collapse"],circle:["off","zero","record"],clipboard:["copy"],clock:["time","watch","alarm"],"cloud-drizzle":["weather","shower"],"cloud-lightning":["weather","bolt"],"cloud-rain":["weather"],"cloud-snow":["weather","blizzard"],cloud:["weather"],codepen:["logo"],codesandbox:["logo"],code:["source","programming"],coffee:["drink","cup","mug","tea","cafe","hot","beverage"],columns:["layout"],command:["keyboard","cmd","terminal","prompt"],compass:["navigation","safari","travel","direction"],copy:["clone","duplicate"],"corner-down-left":["arrow","return"],"corner-down-right":["arrow"],"corner-left-down":["arrow"],"corner-left-up":["arrow"],"corner-right-down":["arrow"],"corner-right-up":["arrow"],"corner-up-left":["arrow"],"corner-up-right":["arrow"],cpu:["processor","technology"],"credit-card":["purchase","payment","cc"],crop:["photo","image"],crosshair:["aim","target"],database:["storage","memory"],delete:["remove"],disc:["album","cd","dvd","music"],"dollar-sign":["currency","money","payment"],droplet:["water"],edit:["pencil","change"],"edit-2":["pencil","change"],"edit-3":["pencil","change"],eye:["view","watch"],"eye-off":["view","watch","hide","hidden"],"external-link":["outbound"],facebook:["logo","social"],"fast-forward":["music"],figma:["logo","design","tool"],"file-minus":["delete","remove","erase"],"file-plus":["add","create","new"],"file-text":["data","txt","pdf"],film:["movie","video"],filter:["funnel","hopper"],flag:["report"],"folder-minus":["directory"],"folder-plus":["directory"],folder:["directory"],framer:["logo","design","tool"],frown:["emoji","face","bad","sad","emotion"],gift:["present","box","birthday","party"],"git-branch":["code","version control"],"git-commit":["code","version control"],"git-merge":["code","version control"],"git-pull-request":["code","version control"],github:["logo","version control"],gitlab:["logo","version control"],globe:["world","browser","language","translate"],"hard-drive":["computer","server","memory","data"],hash:["hashtag","number","pound"],headphones:["music","audio","sound"],heart:["like","love","emotion"],"help-circle":["question mark"],hexagon:["shape","node.js","logo"],home:["house","living"],image:["picture"],inbox:["email"],instagram:["logo","camera"],key:["password","login","authentication","secure"],layers:["stack"],layout:["window","webpage"],"life-buoy":["help","life ring","support"],link:["chain","url"],"link-2":["chain","url"],linkedin:["logo","social media"],list:["options"],lock:["security","password","secure"],"log-in":["sign in","arrow","enter"],"log-out":["sign out","arrow","exit"],mail:["email","message"],"map-pin":["location","navigation","travel","marker"],map:["location","navigation","travel"],maximize:["fullscreen"],"maximize-2":["fullscreen","arrows","expand"],meh:["emoji","face","neutral","emotion"],menu:["bars","navigation","hamburger"],"message-circle":["comment","chat"],"message-square":["comment","chat"],"mic-off":["record","sound","mute"],mic:["record","sound","listen"],minimize:["exit fullscreen","close"],"minimize-2":["exit fullscreen","arrows","close"],minus:["subtract"],monitor:["tv","screen","display"],moon:["dark","night"],"more-horizontal":["ellipsis"],"more-vertical":["ellipsis"],"mouse-pointer":["arrow","cursor"],move:["arrows"],music:["note"],navigation:["location","travel"],"navigation-2":["location","travel"],octagon:["stop"],package:["box","container"],paperclip:["attachment"],pause:["music","stop"],"pause-circle":["music","audio","stop"],"pen-tool":["vector","drawing"],percent:["discount"],"phone-call":["ring"],"phone-forwarded":["call"],"phone-incoming":["call"],"phone-missed":["call"],"phone-off":["call","mute"],"phone-outgoing":["call"],phone:["call"],play:["music","start"],"pie-chart":["statistics","diagram"],"play-circle":["music","start"],plus:["add","new"],"plus-circle":["add","new"],"plus-square":["add","new"],pocket:["logo","save"],power:["on","off"],printer:["fax","office","device"],radio:["signal"],"refresh-cw":["synchronise","arrows"],"refresh-ccw":["arrows"],repeat:["loop","arrows"],rewind:["music"],"rotate-ccw":["arrow"],"rotate-cw":["arrow"],rss:["feed","subscribe"],save:["floppy disk"],scissors:["cut"],search:["find","magnifier","magnifying glass"],send:["message","mail","email","paper airplane","paper aeroplane"],settings:["cog","edit","gear","preferences"],"share-2":["network","connections"],shield:["security","secure"],"shield-off":["security","insecure"],"shopping-bag":["ecommerce","cart","purchase","store"],"shopping-cart":["ecommerce","cart","purchase","store"],shuffle:["music"],"skip-back":["music"],"skip-forward":["music"],slack:["logo"],slash:["ban","
2no"],sliders:["settings","controls"],smartphone:["cellphone","device"],smile:["emoji","face","happy","good","emotion"],speaker:["audio","music"],star:["bookmark","favorite","like"],"stop-circle":["media","music"],sun:["brightness","weather","light"],sunrise:["weather","time","morning","day"],sunset:["weather","time","evening","night"],tablet:["device"],tag:["label"],target:["logo","bullseye"],terminal:["code","command line","prompt"],thermometer:["temperature","celsius","fahrenheit","weather"],"thumbs-down":["dislike","bad","emotion"],"thumbs-up":["like","good","emotion"],"toggle-left":["on","off","switch"],"toggle-right":["on","off","switch"],tool:["settings","spanner"],trash:["garbage","delete","remove","bin"],"trash-2":["garbage","delete","remove","bin"],triangle:["delta"],truck:["delivery","van","shipping","transport","lorry"],tv:["television","stream"],twitch:["logo"],twitter:["logo","social"],type:["text"],umbrella:["rain","weather"],unlock:["security"],"user-check":["followed","subscribed"],"user-minus":["delete","remove","unfollow","unsubscribe"],"user-plus":["new","add","create","follow","subscribe"],"user-x":["delete","remove","unfollow","unsubscribe","unavailable"],user:["person","account"],users:["group"],"video-off":["camera","movie","film"],video:["camera","movie","film"],voicemail:["phone"],volume:["music","sound","mute"],"volume-1":["music","sound"],"volume-2":["music","sound"],"volume-x":["music","sound","mute"],watch:["clock","time"],"wifi-off":["disabled"],wifi:["connection","signal","wireless"],wind:["weather","air"],"x-circle":["cancel","close","delete","remove","times","clear"],"x-octagon":["delete","stop","alert","warning","times","clear"],"x-square":["cancel","close","delete","remove","times","clear"],x:["cancel","close","delete","remove","times","clear"],youtube:["logo","video","play"],"zap-off":["flash","camera","lightning"],zap:["flash","camera","lightning"],"zoom-in":["magnifying glass"],"zoom-out":["magnifying glass"]}},
2"./src/to-svg.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=n("./src/icons.js"),o=(r=i)&&r.__esModule?r:{default:r};t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!e)throw new Error("The required `key` (icon name) parameter is missing.");if(!o.default[e])throw new Error("No icon matching '"+e+"'. See the complete list of icons at https://feathericons.com");return o.default[e].toSvg(t)}}
vendor: 4,165 bytes, line 2
2,0:function(e,t,n){n("./node_modules/core-js/es/array/from.js"),e.exports=n("./src/index.js")}})},e.exports=t()},817:function(e,t,n){!function(e){"use strict";function t(e){return null==e}var r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};function i(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}function o(e,t){var n=Object.setPrototypeOf;n?n(e,t):e.__proto__=t}function a(e,t){void 0===t&&(t=e.constructor);var n=Error.captureStackTrace;n&&n(e,t)}var s,l=function(e){function t(t){var n=this.constructor,r=e.call(this,t)||this;return Object.defineProperty(r,"name",{value:n.name,enumerable:!1}),o(r,n.prototype),a(r),r}return i(t,e),t}(Error);class c extends l{constructor(e=void 0){super(e),this.message=e}getKind(){return this.constructor.kind}}c.kind="Exception";class u extends c{}u.kind="ArgumentException";class d extends c{}d.kind="IllegalArgumentException";class h{constructor(e){if(this.binarizer=e,null===e)throw new d("Binarizer must be non-null.")}getWidth(){return this.binarizer.getWidth()}getHeight(){return this.binarizer.getHeight()}getBlackRow(e,t){return this.binarizer.getBlackRow(e,t)}getBlackMatrix(){return null!==this.matrix&&void 0!==this.matrix||(this.matrix=this.binarizer.getBlackMatrix()),this.matrix}isCropSupported(){return this.binarizer.getLuminanceSource().isCropSupported()}crop(e,t,n,r){const i=this.binarizer.getLuminanceSource().crop(e,t,n,r);return new h(this.binarizer.createBinarizer(i))}isRotateSupported(){return this.binarizer.getLuminanceSource().isRotateSupported()}rotateCounterClockwise(){const e=this.binarizer.getLuminanceSource().rotateCounterClockwise();return new h(this.binarizer.createBinarizer(e))}rotateCounterClockwise45(){const e=this.binarizer.getLuminanceSource().rotateCounterClockwise45();return new h(this.binarizer.createBinarizer(e))}toString(){try{return this.getBlackMatrix().toString()}catch(e){return""}}}class f extends c{static getChecksumInstance(){return new f}}f.kind="ChecksumException";class p{constructor(e){this.source=e}getLuminanceSource(){return this.source}getWidth(){return this.source.getWidth()}getHeight(){return this.source.getHeight()}}class g{static arraycopy(e,t,n,r,i){for(;i--;)n[r++]=e[t++]}static currentTimeMillis(){return Date.now()}}class m extends c{}m.kind="IndexOutOfBoundsException";class y extends m{constructor(e=void 0,t=void 0){super(t),this.index=e,this.message=t}}y.kind="ArrayIndexOutOfBoundsException";class v{static fill(e,t){for(let n=0,r=e.length;n<r;n++)e[n]=t}static fillWithin(e,t,n,r){v.rangeCheck(e.length,t,n);for(let i=t;i<n;i++)e[i]=r}static rangeCheck(e,t,n){if(t>n)throw new d("fromIndex("+t+") > toIndex("+n+")");if(t<0)throw new y(t);if(n>e)throw new y(n)}static asList(...e){return e}static create(e,t,n){return Array.from({length:e}).map((e=>Array.from({length:t}).fill(n)))}static createInt32Array(e,t,n){return Array.from({length:e}).map((e=>Int32Array.from({length:t}).fill(n)))}static equals(e,t){if(!e)return!1;if(!t)return!1;if(!e.length)return!1;if(!t.length)return!1;if(e.length!==t.length)return!1;for(let n=0,r=e.length;n<r;n++)if(e[n]!==t[n])return!1;return!0}static hashCode(e){if(null===e)return 0;let t=1;for(const n of e)t=31*t+n;return t}static fillUint8Array(e,t){for(let n=0;n!==e.length;n++)e[n]=t}static copyOf(e,t){return e.slice(0,t)}static copyOfUint8Array(e,t){if(e.length<=t){const n=new Uint8Array(t);return n.set(e),n}return e.slice(0,t)}static copyOfRange(e,t,n){const r=n-t,i=new Int32Array(r);return g.arraycopy(e,t,i,0,r),i}static binarySearch(e,t,n){void 0===n&&(n=v.numberComparator);let r=0,i=e.length-1;for(;r<=i;){const o=i+r>>1,a=n(t,e[o]);if(a>0)r=o+1;else{if(!(a<0))return o;i=o-1}}return-r-1}static numberComparator(e,t){return e-t}}class w{static numberOfTrailingZeros(e){let t;if(0===e)return 32;let n=31;return t=e<<16,0!==t&&(n-=16,e=t),t=e<<8,0!==t&&(n-=8,e=t),t=e<<4,0!==t&&(n-=4,e=t),t=e<<2,0!==t&&(n-=2,e=t),n-(e<<1>>>31)}static numberOfLeadingZeros(e){if(0===e)return 32;let t=1;return e>>>16==0&&(t+=16,e<<=16),e>>>
vendor: 4,197 bytes, line 2
224==0&&(t+=8,e<<=8),e>>>28==0&&(t+=4,e<<=4),e>>>30==0&&(t+=2,e<<=2),t-=e>>>31,t}static toHexString(e){return e.toString(16)}static toBinaryString(e){return String(parseInt(String(e),2))}static bitCount(e){return e=(e=(858993459&(e-=e>>>1&1431655765))+(e>>>2&858993459))+(e>>>4)&252645135,e+=e>>>8,63&(e+=e>>>16)}static truncDivision(e,t){return Math.trunc(e/t)}static parseInt(e,t=void 0){return parseInt(e,t)}}w.MIN_VALUE_32_BITS=-2147483648,w.MAX_VALUE=Number.MAX_SAFE_INTEGER;class b{constructor(e,t){void 0===e?(this.size=0,this.bits=new Int32Array(1)):(this.size=e,this.bits=null==t?b.makeArray(e):t)}getSize(){return this.size}getSizeInBytes(){return Math.floor((this.size+7)/8)}ensureCapacity(e){if(e>32*this.bits.length){const t=b.makeArray(e);g.arraycopy(this.bits,0,t,0,this.bits.length),this.bits=t}}get(e){return 0!=(this.bits[Math.floor(e/32)]&1<<(31&e))}set(e){this.bits[Math.floor(e/32)]|=1<<(31&e)}flip(e){this.bits[Math.floor(e/32)]^=1<<(31&e)}getNextSet(e){const t=this.size;if(e>=t)return t;const n=this.bits;let r=Math.floor(e/32),i=n[r];i&=~((1<<(31&e))-1);const o=n.length;for(;0===i;){if(++r===o)return t;i=n[r]}const a=32*r+w.numberOfTrailingZeros(i);return a>t?t:a}getNextUnset(e){const t=this.size;if(e>=t)return t;const n=this.bits;let r=Math.floor(e/32),i=~n[r];i&=~((1<<(31&e))-1);const o=n.length;for(;0===i;){if(++r===o)return t;i=~n[r]}const a=32*r+w.numberOfTrailingZeros(i);return a>t?t:a}setBulk(e,t){this.bits[Math.floor(e/32)]=t}setRange(e,t){if(t<e||e<0||t>this.size)throw new d;if(t===e)return;t--;const n=Math.floor(e/32),r=Math.floor(t/32),i=this.bits;for(let o=n;o<=r;o++){const a=(2<<(o<r?31:31&t))-(1<<(o>n?0:31&e));i[o]|=a}}clear(){const e=this.bits.length,t=this.bits;for(let n=0;n<e;n++)t[n]=0}isRange(e,t,n){if(t<e||e<0||t>this.size)throw new d;if(t===e)return!0;t--;const r=Math.floor(e/32),i=Math.floor(t/32),o=this.bits;for(let a=r;a<=i;a++){const s=(2<<(a<i?31:31&t))-(1<<(a>r?0:31&e))&4294967295;if((o[a]&s)!==(n?s:0))return!1}return!0}appendBit(e){this.ensureCapacity(this.size+1),e&&(this.bits[Math.floor(this.size/32)]|=1<<(31&this.size)),this.size++}appendBits(e,t){if(t<0||t>32)throw new d("Num bits must be between 0 and 32");this.ensureCapacity(this.size+t);for(let n=t;n>0;n--)this.appendBit(1==(e>>n-1&1))}appendBitArray(e){const t=e.size;this.ensureCapacity(this.size+t);for(let n=0;n<t;n++)this.appendBit(e.get(n))}xor(e){if(this.size!==e.size)throw new d("Sizes don't match");const t=this.bits;for(let n=0,r=t.length;n<r;n++)t[n]^=e.bits[n]}toBytes(e,t,n,r){for(let i=0;i<r;i++){let r=0;for(let t=0;t<8;t++)this.get(e)&&(r|=1<<7-t),e++;t[n+i]=r}}getBitArray(){return this.bits}reverse(){const e=new Int32Array(this.bits.length),t=Math.floor((this.size-1)/32),n=t+1,r=this.bits;for(let i=0;i<n;i++){let n=r[i];n=n>>1&1431655765|(1431655765&n)<<1,n=n>>2&858993459|(858993459&n)<<2,n=n>>4&252645135|(252645135&n)<<4,n=n>>8&16711935|(16711935&n)<<8,n=n>>16&65535|(65535&n)<<16,e[t-i]=n}if(this.size!==32*n){const t=32*n-this.size;let r=e[0]>>>t;for(let i=1;i<n;i++){const n=e[i];r|=n<<32-t,e[i-1]=r,r=n>>>t}e[n-1]=r}this.bits=e}static makeArray(e){return new Int32Array(Math.floor((e+31)/32))}equals(e){if(!(e instanceof b))return!1;const t=e;return this.size===t.size&&v.equals(this.bits,t.bits)}hashCode(){return 31*this.size+v.hashCode(this.bits)}toString(){let e="";for(let t=0,n=this.size;t<n;t++)0==(7&t)&&(e+=" "),e+=this.get(t)?"X":".";return e}clone(){return new b(this.size,this.bits.slice())}}!function(e){e[e.OTHER=0]="OTHER",e[e.PURE_BARCODE=1]="PURE_BARCODE",e[e.POSSIBLE_FORMATS=2]="POSSIBLE_FORMATS",e[e.TRY_HARDER=3]="TRY_HARDER",e[e.CHARACTER_SET=4]="CHARACTER_SET",e[e.ALLOWED_LENGTHS=5]="ALLOWED_LENGTHS",e[e.ASSUME_CODE_39_CHECK_DIGIT=6]="ASSUME_CODE_39_CHECK_DIGIT",e[e.ASSUME_GS1=7]="ASSUME_GS1",e[e.RETURN_CODABAR_START_END=8]="RETURN_CODABAR_START_END",e[e.NEED_RESULT_POINT_CALLBACK=9]="NEED_RESULT_POINT_CALLBACK",e[e.ALLOWED_EAN_EXTENSIONS=10]="ALLOWED_EAN_EXTENSIONS"}(s||(s={}));var C,S=s;class A extends c{static getFormatInstance(){return new A}}A.kind="FormatException",function(e){e[e.Cp437=0]="Cp437",e[e.ISO8859_1=1]="ISO8859_1",e[e.ISO8859_2=2]="ISO8859_2",e[e.ISO8859_3=3]="ISO8859_3",e[e.ISO8859_4
vendor: 34,558 bytes, line 2
2=4]="ISO8859_4",e[e.ISO8859_5=5]="ISO8859_5",e[e.ISO8859_6=6]="ISO8859_6",e[e.ISO8859_7=7]="ISO8859_7",e[e.ISO8859_8=8]="ISO8859_8",e[e.ISO8859_9=9]="ISO8859_9",e[e.ISO8859_10=10]="ISO8859_10",e[e.ISO8859_11=11]="ISO8859_11",e[e.ISO8859_13=12]="ISO8859_13",e[e.ISO8859_14=13]="ISO8859_14",e[e.ISO8859_15=14]="ISO8859_15",e[e.ISO8859_16=15]="ISO8859_16",e[e.SJIS=16]="SJIS",e[e.Cp1250=17]="Cp1250",e[e.Cp1251=18]="Cp1251",e[e.Cp1252=19]="Cp1252",e[e.Cp1256=20]="Cp1256",e[e.UnicodeBigUnmarked=21]="UnicodeBigUnmarked",e[e.UTF8=22]="UTF8",e[e.ASCII=23]="ASCII",e[e.Big5=24]="Big5",e[e.GB18030=25]="GB18030",e[e.EUC_KR=26]="EUC_KR"}(C||(C={}));class _{constructor(e,t,n,...r){this.valueIdentifier=e,this.name=n,this.values="number"==typeof t?Int32Array.from([t]):t,this.otherEncodingNames=r,_.VALUE_IDENTIFIER_TO_ECI.set(e,this),_.NAME_TO_ECI.set(n,this);const i=this.values;for(let e=0,t=i.length;e!==t;e++){const t=i[e];_.VALUES_TO_ECI.set(t,this)}for(const e of r)_.NAME_TO_ECI.set(e,this)}getValueIdentifier(){return this.valueIdentifier}getName(){return this.name}getValue(){return this.values[0]}static getCharacterSetECIByValue(e){if(e<0||e>=900)throw new A("incorect value");const t=_.VALUES_TO_ECI.get(e);if(void 0===t)throw new A("incorect value");return t}static getCharacterSetECIByName(e){const t=_.NAME_TO_ECI.get(e);if(void 0===t)throw new A("incorect value");return t}equals(e){if(!(e instanceof _))return!1;const t=e;return this.getName()===t.getName()}}_.VALUE_IDENTIFIER_TO_ECI=new Map,_.VALUES_TO_ECI=new Map,_.NAME_TO_ECI=new Map,_.Cp437=new _(C.Cp437,Int32Array.from([0,2]),"Cp437"),_.ISO8859_1=new _(C.ISO8859_1,Int32Array.from([1,3]),"ISO-8859-1","ISO88591","ISO8859_1"),_.ISO8859_2=new _(C.ISO8859_2,4,"ISO-8859-2","ISO88592","ISO8859_2"),_.ISO8859_3=new _(C.ISO8859_3,5,"ISO-8859-3","ISO88593","ISO8859_3"),_.ISO8859_4=new _(C.ISO8859_4,6,"ISO-8859-4","ISO88594","ISO8859_4"),_.ISO8859_5=new _(C.ISO8859_5,7,"ISO-8859-5","ISO88595","ISO8859_5"),_.ISO8859_6=new _(C.ISO8859_6,8,"ISO-8859-6","ISO88596","ISO8859_6"),_.ISO8859_7=new _(C.ISO8859_7,9,"ISO-8859-7","ISO88597","ISO8859_7"),_.ISO8859_8=new _(C.ISO8859_8,10,"ISO-8859-8","ISO88598","ISO8859_8"),_.ISO8859_9=new _(C.ISO8859_9,11,"ISO-8859-9","ISO88599","ISO8859_9"),_.ISO8859_10=new _(C.ISO8859_10,12,"ISO-8859-10","ISO885910","ISO8859_10"),_.ISO8859_11=new _(C.ISO8859_11,13,"ISO-8859-11","ISO885911","ISO8859_11"),_.ISO8859_13=new _(C.ISO8859_13,15,"ISO-8859-13","ISO885913","ISO8859_13"),_.ISO8859_14=new _(C.ISO8859_14,16,"ISO-8859-14","ISO885914","ISO8859_14"),_.ISO8859_15=new _(C.ISO8859_15,17,"ISO-8859-15","ISO885915","ISO8859_15"),_.ISO8859_16=new _(C.ISO8859_16,18,"ISO-8859-16","ISO885916","ISO8859_16"),_.SJIS=new _(C.SJIS,20,"SJIS","Shift_JIS"),_.Cp1250=new _(C.Cp1250,21,"Cp1250","windows-1250"),_.Cp1251=new _(C.Cp1251,22,"Cp1251","windows-1251"),_.Cp1252=new _(C.Cp1252,23,"Cp1252","windows-1252"),_.Cp1256=new _(C.Cp1256,24,"Cp1256","windows-1256"),_.UnicodeBigUnmarked=new _(C.UnicodeBigUnmarked,25,"UnicodeBigUnmarked","UTF-16BE","UnicodeBig"),_.UTF8=new _(C.UTF8,26,"UTF8","UTF-8"),_.ASCII=new _(C.ASCII,Int32Array.from([27,170]),"ASCII","US-ASCII"),_.Big5=new _(C.Big5,28,"Big5"),_.GB18030=new _(C.GB18030,29,"GB18030","GB2312","EUC_CN","GBK"),_.EUC_KR=new _(C.EUC_KR,30,"EUC_KR","EUC-KR");class T extends c{}T.kind="UnsupportedOperationException";class E{static decode(e,t){const n=this.encodingName(t);return this.customDecoder?this.customDecoder(e,n):"undefined"==typeof TextDecoder||this.shouldDecodeOnFallback(n)?this.decodeFallback(e,n):new TextDecoder(n).decode(e)}static shouldDecodeOnFallback(e){return!E.isBrowser()&&"ISO-8859-1"===e}static encode(e,t){const n=this.encodingName(t);return this.customEncoder?this.customEncoder(e,n):"undefined"==typeof TextEncoder?this.encodeFallback(e):(new TextEncoder).encode(e)}static isBrowser(){return"undefined"!=typeof window&&"[object Window]"==={}.toString.call(window)}static encodingName(e){return"string"==typeof e?e:e.getName()}static encodingCharacterSet(e){return e instanceof _?e:_.getCharacterSetECIByName(e)}static decodeFallback(e,t){const n=this.encodingCharacterSet(t);if(E.isDecodeFallbackSupported(n)){let t="";for(let n=0,r=e.length;n<r;n++){let r=e[n].toString(16);r.length<2&&(r="0"+r),t+="%"+r}return decodeURIComponent(t)}if(n.equals(_.UnicodeBigUnmarked))return String.fromCharCode.apply(null,new Uint16Array(e.buffer));throw new T(`Encoding ${this.encodingName(t)} not supported by fallback.`)}static isDecodeFallbackSupported(e){return e.equals(_.UTF8)||e.equals(_.ISO8859_1)||e.equals(_.ASCII)}static encodeFallback(e){const t=btoa(unescape(encodeURIComponent(e))).split(""),n=[];for(let e=0;e<t.length;e++)n.push(t[e].charCodeAt(0));return new Uint8Array(n)}}class x{static castAsNonUtf8Char(e,t=null){const n=t?t.getName():this.ISO88591;return E.decode(new Uint8Array([e]),n)}static guessEncoding(e,t){if(null!=t&&void 0!==t.get(S.CHARACTER_SET))return t.get(S.CHARACTER_SET).toString();const n=e.length;let r=!0,i=!0,o=!0,a=0,s=0,l=0,c=0,u=0,d=0,h=0,f=0,p=0,g=0,m=0;const y=e.length>3&&239===e[0]&&187===e[1]&&191===e[2];for(let t=0;t<n&&(r||i||o);t++){const n=255&e[t];o&&(a>0?0==(128&n)?o=!1:a--:0!=(128&n)&&(0==(64&n)?o=!1:(a++,0==(32&n)?s++:(a++,0==(16&n)?l++:(a++,0==(8&n)?c++:o=!1))))),r&&(n>127&&n<160?r=!1:n>159&&(n<192||215===n||247===n)&&m++),i&&(u>0?n<64||127===n||n>252?i=!1:u--:128===n||160===n||n>239?i=!1:n>160&&n<224?(d++,f=0,h++,h>p&&(p=h)):n>127?(u++,h=0,f++,f>g&&(g=f)):(h=0,f=0))}return o&&a>0&&(o=!1),i&&u>0&&(i=!1),o&&(y||s+l+c>0)?x.UTF8:i&&(x.ASSUME_SHIFT_JIS||p>=3||g>=3)?x.SHIFT_JIS:r&&i?2===p&&2===d||10*m>=n?x.SHIFT_JIS:x.ISO88591:r?x.ISO88591:i?x.SHIFT_JIS:o?x.UTF8:x.PLATFORM_DEFAULT_ENCODING}static format(e,...t){let n=-1;function r(e,r,i,o,a,s){if("%%"===e)return"%";if(void 0===t[++n])return;e=o?parseInt(o.substr(1)):void 0;let l,c=a?parseInt(a.substr(1)):void 0;switch(s){case"s":l=t[n];break;case"c":l=t[n][0];break;case"f":l=parseFloat(t[n]).toFixed(e);break;case"p":l=parseFloat(t[n]).toPrecision(e);break;case"e":l=parseFloat(t[n]).toExponential(e);break;case"x":l=parseInt(t[n]).toString(c||16);break;case"d":l=parseFloat(parseInt(t[n],c||10).toPrecision(e)).toFixed(0)}l="object"==typeof l?JSON.stringify(l):(+l).toString(c);let u=parseInt(i),d=i&&i[0]+""=="0"?"0":" ";for(;l.length<u;)l=void 0!==r?l+d:d+l;return l}let i=/%(-)?(0?[0-9]+)?([.][0-9]+)?([#][0-9]+)?([scfpexd%])/g;return e.replace(i,r)}static getBytes(e,t){return E.encode(e,t)}static getCharCode(e,t=0){return e.charCodeAt(t)}static getCharAt(e){return String.fromCharCode(e)}}x.SHIFT_JIS=_.SJIS.getName(),x.GB2312="GB2312",x.ISO88591=_.ISO8859_1.getName(),x.EUC_JP="EUC_JP",x.UTF8=_.UTF8.getName(),x.PLATFORM_DEFAULT_ENCODING=x.UTF8,x.ASSUME_SHIFT_JIS=!1;class I{constructor(e=""){this.value=e}enableDecoding(e){return this.encoding=e,this}append(e){return"string"==typeof e?this.value+=e.toString():this.encoding?this.value+=x.castAsNonUtf8Char(e,this.encoding):this.value+=String.fromCharCode(e),this}appendChars(e,t,n){for(let r=t;t<t+n;r++)this.append(e[r]);return this}length(){return this.value.length}charAt(e){return this.value.charAt(e)}deleteCharAt(e){this.value=this.value.substr(0,e)+this.value.substring(e+1)}setCharAt(e,t){this.value=this.value.substr(0,e)+t+this.value.substr(e+1)}substring(e,t){return this.value.substring(e,t)}setLengthToZero(){this.value=""}toString(){return this.value}insert(e,t){this.value=this.value.substr(0,e)+t+this.value.substr(e+t.length)}}class O{constructor(e,t,n,r){if(this.width=e,this.height=t,this.rowSize=n,this.bits=r,null==t&&(t=e),this.height=t,e<1||t<1)throw new d("Both dimensions must be greater than 0");null==n&&(n=Math.floor((e+31)/32)),this.rowSize=n,null==r&&(this.bits=new Int32Array(this.rowSize*this.height))}static parseFromBooleanArray(e){const t=e.length,n=e[0].length,r=new O(n,t);for(let i=0;i<t;i++){const t=e[i];for(let e=0;e<n;e++)t[e]&&r.set(e,i)}return r}static parseFromString(e,t,n){if(null===e)throw new d("stringRepresentation cannot be null");const r=new Array(e.length);let i=0,o=0,a=-1,s=0,l=0;for(;l<e.length;)if("\n"===e.charAt(l)||"\r"===e.charAt(l)){if(i>o){if(-1===a)a=i-o;else if(i-o!==a)throw new d("row lengths do not match");o=i,s++}l++}else if(e.substring(l,l+t.length)===t)l+=t.length,r[i]=!0,i++;else{if(e.substring(l,l+n.length)!==n)throw new d("illegal character encountered: "+e.substring(l));l+=n.length,r[i]=!1,i++}if(i>o){if(-1===a)a=i-o;else if(i-o!==a)throw new d("row lengths do not match");s++}const c=new O(a,s);for(let e=0;e<i;e++)r[e]&&c.set(Math.floor(e%a),Math.floor(e/a));return c}get(e,t){const n=t*this.rowSize+Math.floor(e/32);return 0!=(this.bits[n]>>>(31&e)&1)}set(e,t){const n=t*this.rowSize+Math.floor(e/32);this.bits[n]|=1<<(31&e)&4294967295}unset(e,t){const n=t*this.rowSize+Math.floor(e/32);this.bits[n]&=~(1<<(31&e)&4294967295)}flip(e,t){const n=t*this.rowSize+Math.floor(e/32);this.bits[n]^=1<<(31&e)&4294967295}xor(e){if(this.width!==e.getWidth()||this.height!==e.getHeight()||this.rowSize!==e.getRowSize())throw new d("input matrix dimensions do not match");const t=new b(Math.floor(this.width/32)+1),n=this.rowSize,r=this.bits;for(let i=0,o=this.height;i<o;i++){const o=i*n,a=e.getRow(i,t).getBitArray();for(let e=0;e<n;e++)r[o+e]^=a[e]}}clear(){const e=this.bits,t=e.length;for(let n=0;n<t;n++)e[n]=0}setRegion(e,t,n,r){if(t<0||e<0)throw new d("Left and top must be nonnegative");if(r<1||n<1)throw new d("Height and width must be at least 1");const i=e+n,o=t+r;if(o>this.height||i>this.width)throw new d("The region must fit inside the matrix");const a=this.rowSize,s=this.bits;for(let n=t;n<o;n++){const t=n*a;for(let n=e;n<i;n++)s[t+Math.floor(n/32)]|=1<<(31&n)&4294967295}}getRow(e,t){null==t||t.getSize()<this.width?t=new b(this.width):t.clear();const n=this.rowSize,r=this.bits,i=e*n;for(let e=0;e<n;e++)t.setBulk(32*e,r[i+e]);return t}setRow(e,t){g.arraycopy(t.getBitArray(),0,this.bits,e*this.rowSize,this.rowSize)}rotate180(){const e=this.getWidth(),t=this.getHeight();let n=new b(e),r=new b(e);for(let e=0,i=Math.floor((t+1)/2);e<i;e++)n=this.getRow(e,n),r=this.getRow(t-1-e,r),n.reverse(),r.reverse(),this.setRow(e,r),this.setRow(t-1-e,n)}getEnclosingRectangle(){const e=this.width,t=this.height,n=this.rowSize,r=this.bits;let i=e,o=t,a=-1,s=-1;for(let e=0;e<t;e++)for(let t=0;t<n;t++){const l=r[e*n+t];if(0!==l){if(e<o&&(o=e),e>s&&(s=e),32*t<i){let e=0;for(;0==(l<<31-e&4294967295);)e++;32*t+e<i&&(i=32*t+e)}if(32*t+31>a){let e=31;for(;l>>>e==0;)e--;32*t+e>a&&(a=32*t+e)}}}return a<i||s<o?null:Int32Array.from([i,o,a-i+1,s-o+1])}getTopLeftOnBit(){const e=this.rowSize,t=this.bits;let n=0;for(;n<t.length&&0===t[n];)n++;if(n===t.length)return null;const r=n/e;let i=n%e*32;const o=t[n];let a=0;for(;0==(o<<31-a&4294967295);)a++;return i+=a,Int32Array.from([i,r])}getBottomRightOnBit(){const e=this.rowSize,t=this.bits;let n=t.length-1;for(;n>=0&&0===t[n];)n--;if(n<0)return null;const r=Math.floor(n/e);let i=32*Math.floor(n%e);const o=t[n];let a=31;for(;o>>>a==0;)a--;return i+=a,Int32Array.from([i,r])}getWidth(){return this.width}getHeight(){return this.height}getRowSize(){return this.rowSize}equals(e){if(!(e instanceof O))return!1;const t=e;return this.width===t.width&&this.height===t.height&&this.rowSize===t.rowSize&&v.equals(this.bits,t.bits)}hashCode(){let e=this.width;return e=31*e+this.width,e=31*e+this.height,e=31*e+this.rowSize,e=31*e+v.hashCode(this.bits),e}toString(e="X ",t="  ",n="\n"){return this.buildToString(e,t,n)}buildToString(e,t,n){let r=new I;for(let i=0,o=this.height;i<o;i++){for(let n=0,o=this.width;n<o;n++)r.append(this.get(n,i)?e:t);r.append(n)}return r.toString()}clone(){return new O(this.width,this.height,this.rowSize,this.bits.slice())}}class M extends c{static getNotFoundInstance(){return new M}}M.kind="NotFoundException";class D extends p{constructor(e){super(e),this.luminances=D.EMPTY,this.buckets=new Int32Array(D.LUMINANCE_BUCKETS)}getBlackRow(e,t){const n=this.getLuminanceSource(),r=n.getWidth();null==t||t.getSize()<r?t=new b(r):t.clear(),this.initArrays(r);const i=n.getRow(e,this.luminances),o=this.buckets;for(let e=0;e<r;e++)o[(255&i[e])>>D.LUMINANCE_SHIFT]++;const a=D.estimateBlackPoint(o);if(r<3)for(let e=0;e<r;e++)(255&i[e])<a&&t.set(e);else{let e=255&i[0],n=255&i[1];for(let o=1;o<r-1;o++){const r=255&i[o+1];(4*n-e-r)/2<a&&t.set(o),e=n,n=r}}return t}getBlackMatrix(){const e=this.getLuminanceSource(),t=e.getWidth(),n=e.getHeight(),r=new O(t,n);this.initArrays(t);const i=this.buckets;for(let r=1;r<5;r++){const o=Math.floor(n*r/5),a=e.getRow(o,this.luminances),s=Math.floor(4*t/5);for(let e=Math.floor(t/5);e<s;e++)i[(255&a[e])>>D.LUMINANCE_SHIFT]++}const o=D.estimateBlackPoint(i),a=e.getMatrix();for(let e=0;e<n;e++){const n=e*t;for(let i=0;i<t;i++)(255&a[n+i])<o&&r.set(i,e)}return r}createBinarizer(e){return new D(e)}initArrays(e){this.luminances.length<e&&(this.luminances=new Uint8ClampedArray(e));const t=this.buckets;for(let e=0;e<D.LUMINANCE_BUCKETS;e++)t[e]=0}static estimateBlackPoint(e){const t=e.length;let n=0,r=0,i=0;for(let o=0;o<t;o++)e[o]>i&&(r=o,i=e[o]),e[o]>n&&(n=e[o]);let o=0,a=0;for(let n=0;n<t;n++){const t=n-r,i=e[n]*t*t;i>a&&(o=n,a=i)}if(r>o){const e=r;r=o,o=e}if(o-r<=t/16)throw new M;let s=o-1,l=-1;for(let t=o-1;t>r;t--){const i=t-r,a=i*i*(o-t)*(n-e[t]);a>l&&(s=t,l=a)}return s<<D.LUMINANCE_SHIFT}}D.LUMINANCE_BITS=5,D.LUMINANCE_SHIFT=8-D.LUMINANCE_BITS,D.LUMINANCE_BUCKETS=1<<D.LUMINANCE_BITS,D.EMPTY=Uint8ClampedArray.from([0]);class k extends D{constructor(e){super(e),this.matrix=null}getBlackMatrix(){if(null!==this.matrix)return this.matrix;const e=this.getLuminanceSource(),t=e.getWidth(),n=e.getHeight();if(t>=k.MINIMUM_DIMENSION&&n>=k.MINIMUM_DIMENSION){const r=e.getMatrix();let i=t>>k.BLOCK_SIZE_POWER;0!=(t&k.BLOCK_SIZE_MASK)&&i++;let o=n>>k.BLOCK_SIZE_POWER;0!=(n&k.BLOCK_SIZE_MASK)&&o++;const a=k.calculateBlackPoints(r,i,o,t,n),s=new O(t,n);k.calculateThresholdForBlock(r,i,o,t,n,a,s),this.matrix=s}else this.matrix=super.getBlackMatrix();return this.matrix}createBinarizer(e){return new k(e)}static calculateThresholdForBlock(e,t,n,r,i,o,a){const s=i-k.BLOCK_SIZE,l=r-k.BLOCK_SIZE;for(let i=0;i<n;i++){let c=i<<k.BLOCK_SIZE_POWER;c>s&&(c=s);const u=k.cap(i,2,n-3);for(let n=0;n<t;n++){let i=n<<k.BLOCK_SIZE_POWER;i>l&&(i=l);const s=k.cap(n,2,t-3);let d=0;for(let e=-2;e<=2;e++){const t=o[u+e];d+=t[s-2]+t[s-1]+t[s]+t[s+1]+t[s+2]}const h=d/25;k.thresholdBlock(e,i,c,h,r,a)}}}static cap(e,t,n){return e<t?t:e>n?n:e}static thresholdBlock(e,t,n,r,i,o){for(let a=0,s=n*i+t;a<k.BLOCK_SIZE;a++,s+=i)for(let i=0;i<k.BLOCK_SIZE;i++)(255&e[s+i])<=r&&o.set(t+i,n+a)}static calculateBlackPoints(e,t,n,r,i){const o=i-k.BLOCK_SIZE,a=r-k.BLOCK_SIZE,s=new Array(n);for(let i=0;i<n;i++){s[i]=new Int32Array(t);let n=i<<k.BLOCK_SIZE_POWER;n>o&&(n=o);for(let o=0;o<t;o++){let t=o<<k.BLOCK_SIZE_POWER;t>a&&(t=a);let l=0,c=255,u=0;for(let i=0,o=n*r+t;i<k.BLOCK_SIZE;i++,o+=r){for(let t=0;t<k.BLOCK_SIZE;t++){const n=255&e[o+t];l+=n,n<c&&(c=n),n>u&&(u=n)}if(u-c>k.MIN_DYNAMIC_RANGE)for(i++,o+=r;i<k.BLOCK_SIZE;i++,o+=r)for(let t=0;t<k.BLOCK_SIZE;t++)l+=255&e[o+t]}let d=l>>2*k.BLOCK_SIZE_POWER;if(u-c<=k.MIN_DYNAMIC_RANGE&&(d=c/2,i>0&&o>0)){const e=(s[i-1][o]+2*s[i][o-1]+s[i-1][o-1])/4;c<e&&(d=e)}s[i][o]=d}}return s}}k.BLOCK_SIZE_POWER=3,k.BLOCK_SIZE=1<<k.BLOCK_SIZE_POWER,k.BLOCK_SIZE_MASK=k.BLOCK_SIZE-1,k.MINIMUM_DIMENSION=5*k.BLOCK_SIZE,k.MIN_DYNAMIC_RANGE=24;class N{constructor(e,t){this.width=e,this.height=t}getWidth(){return this.width}getHeight(){return this.height}isCropSupported(){return!1}crop(e,t,n,r){throw new T("This luminance source does not support cropping.")}isRotateSupported(){return!1}rotateCounterClockwise(){throw new T("This luminance source does not support rotation by 90 degrees.")}rotateCounterClockwise45(){throw new T("This luminance source does not support rotation by 45 degrees.")}toString(){const e=new Uint8ClampedArray(this.width);let t=new I;for(let n=0;n<this.height;n++){const r=this.getRow(n,e);for(let e=0;e<this.width;e++){const n=255&r[e];let i;i=n<64?"#":n<128?"+":n<192?".":" ",t.append(i)}t.append("\n")}return t.toString()}}class P extends N{constructor(e){super(e.getWidth(),e.getHeight()),this.delegate=e}getRow(e,t){const n=this.delegate.getRow(e,t),r=this.getWidth();for(let e=0;e<r;e++)n[e]=255-(255&n[e]);return n}getMatrix(){const e=this.delegate.getMatrix(),t=this.getWidth()*this.getHeight(),n=new Uint8ClampedArray(t);for(let r=0;r<t;r++)n[r]=255-(255&e[r]);return n}isCropSupported(){return this.delegate.isCropSupported()}crop(e,t,n,r){return new P(this.delegate.crop(e,t,n,r))}isRotateSupported(){return this.delegate.isRotateSupported()}invert(){return this.delegate}rotateCounterClockwise(){return new P(this.delegate.rotateCounterClockwise())}rotateCounterClockwise45(){return new P(this.delegate.rotateCounterClockwise45())}}class R extends N{constructor(e){super(e.width,e.height),this.canvas=e,this.tempCanvasElement=null,this.buffer=R.makeBufferFromCanvasImageData(e)}static makeBufferFromCanvasImageData(e){const t=e.getContext("2d").getImageData(0,0,e.width,e.height);return R.toGrayscaleBuffer(t.data,e.width,e.height)}static toGrayscaleBuffer(e,t,n){const r=new Uint8ClampedArray(t*n);for(let t=0,n=0,i=e.length;t<i;t+=4,n++){let i;i=0===e[t+3]?255:306*e[t]+601*e[t+1]+117*e[t+2]+512>>10,r[n]=i}return r}getRow(e,t){if(e<0||e>=this.getHeight())throw new d("Requested row is outside the image: "+e);const n=this.getWidth(),r=e*n;return null===t?t=this.buffer.slice(r,r+n):(t.length<n&&(t=new Uint8ClampedArray(n)),t.set(this.buffer.slice(r,r+n))),t}getMatrix(){return this.buffer}isCropSupported(){return!0}crop(e,t,n,r){return super.crop(e,t,n,r),this}isRotateSupported(){return!0}rotateCounterClockwise(){return this.rotate(-90),this}rotateCounterClockwise45(){return this.rotate(-45),this}getTempCanvasElement(){if(null===this.tempCanvasElement){const e=this.canvas.ownerDocument.createElement("canvas");e.width=this.canvas.width,e.height=this.canvas.height,this.tempCanvasElement=e}return this.tempCanvasElement}rotate(e){const t=this.getTempCanvasElement(),n=t.getContext("2d"),r=e*R.DEGREE_TO_RADIANS,i=this.canvas.width,o=this.canvas.height,a=Math.ceil(Math.abs(Math.cos(r))*i+Math.abs(Math.sin(r))*o),s=Math.ceil(Math.abs(Math.sin(r))*i+Math.abs(Math.cos(r))*o);return t.width=a,t.height=s,n.translate(a/2,s/2),n.rotate(r),n.drawImage(this.canvas,i/-2,o/-2),this.buffer=R.makeBufferFromCanvasImageData(t),this}invert(){return new P(this)}}R.DEGREE_TO_RADIANS=Math.PI/180;class L{constructor(e,t,n){this.deviceId=e,this.label=t,this.kind="videoinput",this.groupId=n||void 0}toJSON(){return{kind:this.kind,groupId:this.groupId,deviceId:this.deviceId,label:this.label}}}var $,j=(globalThis||n.g||self||window?(globalThis||n.g||self||window||void 0).__awaiter:void 0)||function(e,t,n,r){function i(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function a(e){try{l(r.next(e))}catch(e){o(e)}}function s(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){e.done?n(e.value):i(e.value).then(a,s)}l((r=r.apply(e,t||[])).next())}))};class B{constructor(e,t=500,n){this.reader=e,this.timeBetweenScansMillis=t,this._hints=n,this._stopContinuousDecode=!1,this._stopAsyncDecode=!1,this._timeBetweenDecodingAttempts=0}get hasNavigator(){return"undefined"!=typeof navigator}get isMediaDevicesSuported(){return this.hasNavigator&&!!navigator.mediaDevices}get canEnumerateDevices(){return!(!this.isMediaDevicesSuported||!navigator.mediaDevices.enumerateDevices)}get timeBetweenDecodingAttempts(){return this._timeBetweenDecodingAttempts}set timeBetweenDecodingAttempts(e){this._timeBetweenDecodingAttempts=e<0?0:e}set hints(e){this._hints=e||null}get hints(){return this._hints}listVideoInputDevices(){return j(this,void 0,void 0,(function*(){if(!this.hasNavigator)throw new Error("Can't enumerate devices, navigator is not present.");if(!this.canEnumerateDevices)throw new Error("Can't enumerate devices, method not supported.");const e=yield navigator.mediaDevices.enumerateDevices(),t=[];for(const n of e){const e="video"===n.kind?"videoinput":n.kind;if("videoinput"!==e)continue;const r={deviceId:n.deviceId||n.id,label:n.label||`Video device ${t.length+1}`,kind:e,groupId:n.groupId};t.push(r)}return t}))}getVideoInputDevices(){return j(this,void 0,void 0,(function*(){return(yield this.listVideoInputDevices()).map((e=>new L(e.deviceId,e.label)))}))}findDeviceById(e){return j(this,void 0,void 0,(function*(){const t=yield this.listVideoInputDevices();return t?t.find((t=>t.deviceId===e)):null}))}decodeFromInputVideoDevice(e,t){return j(this,void 0,void 0,(function*(){return yield this.decodeOnceFromVideoDevice(e,t)}))}decodeOnceFromVideoDevice(e,t){return j(this,void 0,void 0,(function*(){let n;this.reset(),n=e?{deviceId:{exact:e}}:{facingMode:"environment"};const r={video:n};return yield this.decodeOnceFromConstraints(r,t)}))}decodeOnceFromConstraints(e,t){return j(this,void 0,void 0,(function*(){const n=yield navigator.mediaDevices.getUserMedia(e);return yield this.decodeOnceFromStream(n,t)}))}decodeOnceFromStream(e,t){return j(this,void 0,void 0,(function*(){this.reset();const n=yield this.attachStreamToVideo(e,t);return yield this.decodeOnce(n)}))}decodeFromInputVideoDeviceContinuously(e,t,n){return j(this,void 0,void 0,(function*(){return yield this.decodeFromVideoDevice(e,t,n)}))}decodeFromVideoDevice(e,t,n){return j(this,void 0,void 0,(function*(){let r;r=e?{deviceId:{exact:e}}:{facingMode:"environment"};const i={video:r};return yield this.decodeFromConstraints(i,t,n)}))}decodeFromConstraints(e,t,n){return j(this,void 0,void 0,(function*(){const r=yield navigator.mediaDevices.getUserMedia(e);return yield this.decodeFromStream(r,t,n)}))}decodeFromStream(e,t,n){return j(this,void 0,void 0,(function*(){this.reset();const r=yield this.attachStreamToVideo(e,t);return yield this.decodeContinuously(r,n)}))}stopAsyncDecode(){this._stopAsyncDecode=!0}stopContinuousDecode(){this._stopContinuousDecode=!0}attachStreamToVideo(e,t){return j(this,void 0,void 0,(function*(){const n=this.prepareVideoElement(t);return this.addVideoSource(n,e),this.videoElement=n,this.stream=e,yield this.playVideoOnLoadAsync(n),n}))}playVideoOnLoadAsync(e){return new Promise(((t,n)=>this.playVideoOnLoad(e,(()=>t()))))}playVideoOnLoad(e,t){this.videoEndedListener=()=>this.stopStreams(),this.videoCanPlayListener=()=>this.tryPlayVideo(e),e.addEventListener("ended",this.videoEndedListener),e.addEventListener("canplay",this.videoCanPlayListener),e.addEventListener("playing",t),this.tryPlayVideo(e)}isVideoPlaying(e){return e.currentTime>0&&!e.paused&&!e.ended&&e.readyState>2}tryPlayVideo(e){return j(this,void 0,void 0,(function*(){if(!this.isVideoPlaying(e))try{yield e.play()}catch(e){}}))}getMediaElement(e,t){const n=document.getElementById(e);if(!n)throw new u(`element with id '${e}' not found`);if(n.nodeName.toLowerCase()!==t.toLowerCase())throw new u(`element with id '${e}' must be an ${t} element`);return n}decodeFromImage(e,t){if(!e&&!t)throw new u("either imageElement with a src set or an url must be provided");return t&&!e?this.decodeFromImageUrl(t):this.decodeFromImageElement(e)}decodeFromVideo(e,t){if(!e&&!t)throw new u("Either an element with a src set or an URL must be provided");return t&&!e?this.decodeFromVideoUrl(t):this.decodeFromVideoElement(e)}decodeFromVideoContinuously(e,t,n){if(void 0===e&&void 0===t)throw new u("Either an element with a src set or an URL must be provided");return t&&!e?this.decodeFromVideoUrlContinuously(t,n):this.decodeFromVideoElementContinuously(e,n)}decodeFromImageElement(e){if(!e)throw new u("An image element must be provided.");this.reset();const t=this.prepareImageElement(e);let n;return this.imageElement=t,n=this.isImageLoaded(t)?this.decodeOnce(t,!1,!0):this._decodeOnLoadImage(t),n}decodeFromVideoElement(e){const t=this._decodeFromVideoElementSetup(e);return this._decodeOnLoadVideo(t)}decodeFromVideoElementContinuously(e,t){const n=this._decodeFromVideoElementSetup(e);return this._decodeOnLoadVideoContinuously(n,t)}_decodeFromVideoElementSetup(e){if(!e)throw new u("A video element must be provided.");this.reset();const t=this.prepareVideoElement(e);return this.videoElement=t,t}decodeFromImageUrl(e){if(!e)throw new u("An URL must be provided.");this.reset();const t=this.prepareImageElement();this.imageElement=t;const n=this._decodeOnLoadImage(t);return t.src=e,n}decodeFromVideoUrl(e){if(!e)throw new u("An URL must be provided.");this.reset();const t=this.prepareVideoElement(),n=this.decodeFromVideoElement(t);return t.src=e,n}decodeFromVideoUrlContinuously(e,t){if(!e)throw new u("An URL must be provided.");this.reset();const n=this.prepareVideoElement(),r=this.decodeFromVideoElementContinuously(n,t);return n.src=e,r}_decodeOnLoadImage(e){return new Promise(((t,n)=>{this.imageLoadedListener=()=>this.decodeOnce(e,!1,!0).then(t,n),e.addEventListener("load",this.imageLoadedListener)}))}_decodeOnLoadVideo(e){return j(this,void 0,void 0,(function*(){return yield this.playVideoOnLoadAsync(e),yield this.decodeOnce(e)}))}_decodeOnLoadVideoContinuously(e,t){return j(this,void 0,void 0,(function*(){yield this.playVideoOnLoadAsync(e),this.decodeContinuously(e,t)}))}isImageLoaded(e){return!!e.complete&&0!==e.naturalWidth}prepareImageElement(e){let t;return void 0===e&&(t=document.createElement("img"),t.width=200,t.height=200),"string"==typeof e&&(t=this.getMediaElement(e,"img")),e instanceof HTMLImageElement&&(t=e),t}prepareVideoElement(e){let t;return e||"undefined"==typeof document||(t=document.createElement("video"),t.width=200,t.height=200),"string"==typeof e&&(t=this.getMediaElement(e,"video")),e instanceof HTMLVideoElement&&(t=e),t.setAttribute("autoplay","true"),t.setAttribute("muted","true"),t.setAttribute("playsinline","true"),t}decodeOnce(e,t=!0,n=!0){this._stopAsyncDecode=!1;const r=(i,o)=>{if(this._stopAsyncDecode)return o(new M("Video stream has ended before any code could be detected.")),void(this._stopAsyncDecode=void 0);try{i(this.decode(e))}catch(e){if(t&&e instanceof M||(e instanceof f||e instanceof A)&&n)return setTimeout(r,this._timeBetweenDecodingAttempts,i,o);o(e)}};return new Promise(((e,t)=>r(e,t)))}decodeContinuously(e,t){this._stopContinuousDecode=!1;const n=()=>{if(this._stopContinuousDecode)this._stopContinuousDecode=void 0;else try{const r=this.decode(e);t(r,null),setTimeout(n,this.timeBetweenScansMillis)}catch(e){t(null,e),(e instanceof f||e instanceof A||e instanceof M)&&setTimeout(n,this._timeBetweenDecodingAttempts)}};n()}decode(e){const t=this.createBinaryBitmap(e);return this.decodeBitmap(t)}_isHTMLVideoElement(e){return 0!==e.videoWidth}drawFrameOnCanvas(e,t,n){t||(t={sx:0,sy:0,sWidth:e.videoWidth,sHeight:e.videoHeight,dx:0,dy:0,dWidth:e.videoWidth,dHeight:e.videoHeight}),n||(n=this.captureCanvasContext),n.drawImage(e,t.sx,t.sy,t.sWidth,t.sHeight,t.dx,t.dy,t.dWidth,t.dHeight)}drawImageOnCanvas(e,t,n=this.captureCanvasContext){t||(t={sx:0,sy:0,sWidth:e.naturalWidth,sHeight:e.naturalHeight,dx:0,dy:0,dWidth:e.naturalWidth,dHeight:e.naturalHeight}),n||(n=this.captureCanvasContext),n.drawImage(e,t.sx,t.sy,t.sWidth,t.sHeight,t.dx,t.dy,t.dWidth,t.dHeight)}createBinaryBitmap(e){this.getCaptureCanvasContext(e),this._isHTMLVideoElement(e)?this.drawFrameOnCanvas(e):this.drawImageOnCanvas(e);const t=this.getCaptureCanvas(e),n=new R(t),r=new k(n);return new h(r)}getCaptureCanvasContext(e){if(!this.captureCanvasContext){const t=this.getCaptureCanvas(e).getContext("2d");this.captureCanvasContext=t}return this.captureCanvasContext}getCaptureCanvas(e){if(!this.captureCanvas){const t=this.createCaptureCanvas(e);this.captureCanvas=t}return this.captureCanvas}decodeBitmap(e){return this.reader.decode(e,this._hints)}createCaptureCanvas(e){if("undefined"==typeof document)return this._destroyCaptureCanvas(),null;const t=document.createElement("canvas");let n,r;return void 0!==e&&(e instanceof HTMLVideoElement?(n=e.videoWidth,r=e.videoHeight):e instanceof HTMLImageElement&&(n=e.naturalWidth||e.width,r=e.naturalHeight||e.height)),t.style.width=n+"px",t.style.height=r+"px",t.width=n,t.height=r,t}stopStreams(){this.stream&&(this.stream.getVideoTracks().forEach((e=>e.stop())),this.stream=void 0),!1===this._stopAsyncDecode&&this.stopAsyncDecode(),!1===this._stopContinuousDecode&&this.stopContinuousDecode()}reset(){this.stopStreams(),this._destroyVideoElement(),this._destroyImageElement(),this._destroyCaptureCanvas()}_destroyVideoElement(){this.videoElement&&(void 0!==this.videoEndedListener&&this.videoElement.removeEventListener("ended",this.videoEndedListener),void 0!==this.videoPlayingEventListener&&this.videoElement.removeEventListener("playing",this.videoPlayingEventListener),void 0!==this.videoCanPlayListener&&this.videoElement.removeEventListener("loadedmetadata",this.videoCanPlayListener),this.cleanVideoSource(this.videoElement),this.videoElement=void 0)}_destroyImageElement(){this.imageElement&&(void 0!==this.imageLoadedListener&&this.imageElement.removeEventListener("load",this.imageLoadedListener),this.imageElement.src=void 0,this.imageElement.removeAttribute("src"),this.imageElement=void 0)}_destroyCaptureCanvas(){this.captureCanvasContext=void 0,this.captureCanvas=void 0}addVideoSource(e,t){try{e.srcObject=t}catch(n){e.src=URL.createObjectURL(t)}}cleanVideoSource(e){try{e.srcObject=null}catch(t){e.src=""}this.videoElement.removeAttribute("src")}}class F{constructor(e,t,n=(null==t?0:8*t.length),r,i,o=g.currentTimeMillis()){this.text=e,this.rawBytes=t,this.numBits=n,this.resultPoints=r,this.format=i,this.timestamp=o,this.text=e,this.rawBytes=t,this.numBits=null==n?null==t?0:8*t.length:n,this.resultPoints=r,this.format=i,this.resultMetadata=null,this.timestamp=null==o?g.currentTimeMillis():o}getText(){return this.text}getRawBytes(){return this.rawBytes}getNumBits(){return this.numBits}getResultPoints(){return this.resultPoints}getBarcodeFormat(){return this.format}getResultMetadata(){return this.resultMetadata}putMetadata(e,t){null===this.resultMetadata&&(this.resultMetadata=new Map),this.resultMetadata.set(e,t)}putAllMetadata(e){null!==e&&(null===this.resultMetadata?this.resultMetadata=e:this.resultMetadata=new Map(e))}addResultPoints(e){const t=this.resultPoints;if(null===t)this.resultPoints=e;else if(null!==e&&e.length>0){const n=new Array(t.length+e.length);g.arraycopy(t,0,n,0,t.length),g.arraycopy(e,0,n,t.length,e.length),this.resultPoints=n}}getTimestamp(){return this.timestamp}toString(){return this.text}}!function(e){e[e.AZTEC=0]="AZTEC",e[e.CODABAR=1]="CODABAR",e[e.CODE_39=2]="CODE_39",e[e.CODE_93=3]="CODE_93",e[e.CODE_128=4]="CODE_128",e[e.DATA_MATRIX=5]="DATA_MATRIX",e[e.EAN_8=6]="EAN_8",e[e.EAN_13=7]="EAN_13",e[e.ITF=8]="ITF",e[e.MAXICODE=9]="MAXICODE",e[e.PDF_417=10]="PDF_417",e[e.QR_CODE=11]="QR_CODE",e[e.RSS_14=12]="RSS_14",e[e.RSS_EXPANDED=13]="RSS_EXPANDED",e[e.UPC_A=14]="UPC_A",e[e.UPC_E=15]="UPC_E",e[e.UPC_EAN_EXTENSION=16]="UPC_EAN_EXTENSION"}($||($={}));var H,U=$;!function(e){e[e.OTHER=0]="OTHER",e[e.ORIENTATION=1]="ORIENTATION",e[e.BYTE_SEGMENTS=2]="BYTE_SEGMENTS",e[e.ERROR_CORRECTION_LEVEL=3]="ERROR_CORRECTION_LEVEL",e[e.ISSUE_NUMBER=4]="ISSUE_NUMBER",e[e.SUGGESTED_PRICE=5]="SUGGESTED_PRICE",e[e.POSSIBLE_COUNTRY=6]="POSSIBLE_COUNTRY",e[e.UPC_EAN_EXTENSION=7]="UPC_EAN_EXTENSION",e[e.PDF417_EXTRA_METADATA=8]="PDF417_EXTRA_METADATA",e[e.STRUCTURED_APPEND_SEQUENCE=9]="STRUCTURED_APPEND_SEQUENCE",e[e.STRUCTURED_APPEND_PARITY=10]="STRUCTURED_APPEND_PARITY"}(H||(H={}));var z,V,W,G,q,Y,X=H;class Z{constructor(e,t,n,r,i=-1,o=-1){this.rawBytes=e,this.text=t,this.byteSegments=n,this.ecLevel=r,this.structuredAppendSequenceNumber=i,this.structuredAppendParity=o,this.numBits=null==e?0:8*e.length}getRawBytes(){return this.rawBytes}getNumBits(){return this.numBits}setNumBits(e){this.numBits=e}getText(){return this.text}getByteSegments(){return this.byteSegments}getECLevel(){return this.ecLevel}getErrorsCorrected(){return this.errorsCorrected}setErrorsCorrected(e){this.errorsCorrected=e}getErasures(){return this.erasures}setErasures(e){this.erasures=e}getOther(){return this.other}setOther(e){this.other=e}hasStructuredAppend(){return this.structuredAppendParity>=0&&this.structuredAppendSequenceNumber>=0}getStructuredAppendParity(){return this.structuredAppendParity}getStructuredAppendSequenceNumber(){return this.structuredAppendSequenceNumber}}class Q{exp(e){return this.expTable[e]}log(e){if(0===e)throw new d;return this.logTable[e]}static addOrSubtract(e,t){return e^t}}class K{constructor(e,t){if(0===t.length)throw new d;this.field=e;const n=t.length;if(n>1&&0===t[0]){let e=1;for(;e<n&&0===t[e];)e++;e===n?this.coefficients=Int32Array.from([0]):(this.coefficients=new Int32Array(n-e),g.arraycopy(t,e,this.coefficients,0,this.coefficients.length))}else this.coefficients=t}getCoefficients(){return this.coefficients}getDegree(){return this.coefficients.length-1}isZero(){return 0===this.coefficients[0]}getCoefficient(e){return this.coefficients[this.coefficients.length-1-e]}evaluateAt(e){if(0===e)return this.getCoefficient(0);const t=this.coefficients;let n;if(1===e){n=0;for(let e=0,r=t.length;e!==r;e++){const r=t[e];n=Q.addOrSubtract(n,r)}return n}n=t[0];const r=t.length,i=this.field;for(let o=1;o<r;o++)n=Q.addOrSubtract(i.multiply(e,n),t[o]);return n}addOrSubtract(e){if(!this.field.equals(e.field))throw new d("GenericGFPolys do not have same GenericGF field");if(this.isZero())return e;if(e.isZero())return this;let t=this.coefficients,n=e.coefficients;if(t.length>n.length){const e=t;t=n,n=e}let r=new Int32Array(n.length);const i=n.length-t.length;g.arraycopy(n,0,r,0,i);for(let e=i;e<n.length;e++)r[e]=Q.addOrSubtract(t[e-i],n[e]);return new K(this.field,r)}multiply(e){if(!this.field.equals(e.field))throw new d("GenericGFPolys do not have same GenericGF field");if(this.isZero()||e.isZero())return this.field.getZero();const t=this.coefficients,n=t.length,r=e.coefficients,i=r.length,o=new Int32Array(n+i-1),a=this.field;for(let e=0;e<n;e++){const n=t[e];for(let t=0;t<i;t++)o[e+t]=Q.addOrSubtract(o[e+t],a.multiply(n,r[t]))}return new K(a,o)}multiplyScalar(e){if(0===e)return this.field.getZero();if(1===e)return this;const t=this.coefficients.length,n=this.field,r=new Int32Array(t),i=this.coefficients;for(let o=0;o<t;o++)r[o]=n.multiply(i[o],e);return new K(n,r)}multiplyByMonomial(e,t){if(e<0)throw new d;if(0===t)return this.field.getZero();const n=this.coefficients,r=n.length,i=new Int32Array(r+e),o=this.field;for(let e=0;e<r;e++)i[e]=o.multiply(n[e],t);return new K(o,i)}divide(e){if(!this.field.equals(e.field))throw new d("GenericGFPolys do n
2ot have same GenericGF field");if(e.isZero())throw new d("Divide by 0");const t=this.field;let n=t.getZero(),r=this;const i=e.getCoefficient(e.getDegree()),o=t.inverse(i);for(;r.getDegree()>=e.getDegree()&&!r.isZero();){const i=r.getDegree()-e.getDegree(),a=t.multiply(r.getCoefficient(r.getDegree()),o),s=e.multiplyByMonomial(i,a),l=t.buildMonomial(i,a);n=n.addOrSubtract(l),r=r.addOrSubtract(s)}return[n,r]}toString(){let e="";for(let t=this.getDegree();t>=0;t--){let n=this.getCoefficient(t);if(0!==n){if(n<0?(e+=" - ",n=-n):e.length>0&&(e+=" + "),0===t||1!==n){const t=this.field.log(n);0===t?e+="1":1===t?e+="a":(e+="a^",e+=t)}0!==t&&(1===t?e+="x":(e+="x^",e+=t))}}return e}}class J extends c{}J.kind="ArithmeticException";class ee extends Q{constructor(e,t,n){super(),this.primitive=e,this.size=t,this.generatorBase=n;const r=new Int32Array(t);let i=1;for(let n=0;n<t;n++)r[n]=i,i*=2,i>=t&&(i^=e,i&=t-1);this.expTable=r;const o=new Int32Array(t);for(let e=0;e<t-1;e++)o[r[e]]=e;this.logTable=o,this.zero=new K(this,Int32Array.from([0])),this.one=new K(this,Int32Array.from([1]))}getZero(){return this.zero}getOne(){return this.one}buildMonomial(e,t){if(e<0)throw new d;if(0===t)return this.zero;const n=new Int32Array(e+1);return n[0]=t,new K(this,n)}inverse(e){if(0===e)throw new J;return this.expTable[this.size-this.logTable[e]-1]}multiply(e,t){return 0===e||0===t?0:this.expTable[(this.logTable[e]+this.logTable[t])%(this.size-1)]}getSize(){return this.size}getGeneratorBase(){return this.generatorBase}toString(){return"GF(0x"+w.toHexString(this.primitive)+","+this.size+")"}equals(e){return e===this}}ee.AZTEC_DATA_12=new ee(4201,4096,1),ee.AZTEC_DATA_10=new ee(1033,1024,1),ee.AZTEC_DATA_6=new ee(67,64,1),ee.AZTEC_PARAM=new ee(19,16,1),ee.QR_CODE_FIELD_256=new ee(285,256,0),ee.DATA_MATRIX_FIELD_256=new ee(301,256,1),ee.AZTEC_DATA_8=ee.DATA_MATRIX_FIELD_256,ee.MAXICODE_FIELD_64=ee.AZTEC_DATA_6;class te extends c{}te.kind="ReedSolomonException";class ne extends c{}ne.kind="IllegalStateException";class re{constructor(e){this.field=e}decode(e,t){const n=this.field,r=new K(n,e),i=new Int32Array(t);let o=!0;for(let e=0;e<t;e++){const t=r.evaluateAt(n.exp(e+n.getGeneratorBase()));i[i.length-1-e]=t,0!==t&&(o=!1)}if(o)return;const a=new K(n,i),s=this.runEuclideanAlgorithm(n.buildMonomial(t,1),a,t),l=s[0],c=s[1],u=this.findErrorLocations(l),d=this.findErrorMagnitudes(c,u);for(let t=0;t<u.length;t++){const r=e.length-1-n.log(u[t]);if(r<0)throw new te("Bad error location");e[r]=ee.addOrSubtract(e[r],d[t])}}runEuclideanAlgorithm(e,t,n){if(e.getDegree()<t.getDegree()){const n=e;e=t,t=n}const r=this.field;let i=e,o=t,a=r.getZero(),s=r.getOne();for(;o.getDegree()>=(n/2|0);){let e=i,t=a;if(i=o,a=s,i.isZero())throw new te("r_{i-1} was zero");o=e;let n=r.getZero();const l=i.getCoefficient(i.getDegree()),c=r.inverse(l);for(;o.getDegree()>=i.getDegree()&&!o.isZero();){const e=o.getDegree()-i.getDegree(),t=r.multiply(o.getCoefficient(o.getDegree()),c);n=n.addOrSubtract(r.buildMonomial(e,t)),o=o.addOrSubtract(i.multiplyByMonomial(e,t))}if(s=n.multiply(a).addOrSubtract(t),o.getDegree()>=i.getDegree())throw new ne("Division algorithm failed to reduce polynomial?")}const l=s.getCoefficient(0);if(0===l)throw new te("sigmaTilde(0) was zero");const c=r.inverse(l);return[s.multiplyScalar(c),o.multiplyScalar(c)]}findErrorLocations(e){const t=e.getDegree();if(1===t)return Int32Array.from([e.getCoefficient(1)]);const n=new Int32Array(t);let r=0;const i=this.field;for(let o=1;o<i.getSize()&&r<t;o++)0===e.evaluateAt(o)&&(n[r]=i.inverse(o),r++);if(r!==t)throw new te("Error locator degree does not match number of roots");return n}findErrorMagnitudes(e,t){const n=t.length,r=new Int32Array(n),i=this.field;for(let o=0;o<n;o++){const a=i.inverse(t[o]);let s=1;for(let e=0;e<n;e++)if(o!==e){const n=i.multiply(t[e],a),r=0==(1&n)?1|n:-2&n;s=i.multiply(s,r)}r[o]=i.multiply(e.evaluateAt(a),i.inverse(s)),0!==i.getGeneratorBase()&&(r[o]=i.multiply(r[o],a))}return r}}!function(e){e[e.UPPER=0]="UPPER",e[e.LOWER=1]="LOWER",e[e.MIXED=2]="MIXED",e[e.DIGIT=3]="DIGIT",e[e.PUNCT=4]="PUNCT",e[e.BINARY=5]="BINARY"}(z||(z={}));class ie{decode(e){this.ddata=e;let t=e.getBits(),n=this.extractBits(t),r=this.correctBits(n),i=ie.convertBoolArrayToByteArray(r),o=ie.getEncodedData(r),a=new Z(i,o,null,
vendor: 102,286 bytes, line 2
2null);return a.setNumBits(r.length),a}static highLevelDecode(e){return this.getEncodedData(e)}static getEncodedData(e){let t=e.length,n=z.UPPER,r=z.UPPER,i="",o=0;for(;o<t;)if(r===z.BINARY){if(t-o<5)break;let a=ie.readCode(e,o,5);if(o+=5,0===a){if(t-o<11)break;a=ie.readCode(e,o,11)+31,o+=11}for(let n=0;n<a;n++){if(t-o<8){o=t;break}const n=ie.readCode(e,o,8);i+=x.castAsNonUtf8Char(n),o+=8}r=n}else{let a=r===z.DIGIT?4:5;if(t-o<a)break;let s=ie.readCode(e,o,a);o+=a;let l=ie.getCharacter(r,s);l.startsWith("CTRL_")?(n=r,r=ie.getTable(l.charAt(5)),"L"===l.charAt(6)&&(n=r)):(i+=l,r=n)}return i}static getTable(e){switch(e){case"L":return z.LOWER;case"P":return z.PUNCT;case"M":return z.MIXED;case"D":return z.DIGIT;case"B":return z.BINARY;default:return z.UPPER}}static getCharacter(e,t){switch(e){case z.UPPER:return ie.UPPER_TABLE[t];case z.LOWER:return ie.LOWER_TABLE[t];case z.MIXED:return ie.MIXED_TABLE[t];case z.PUNCT:return ie.PUNCT_TABLE[t];case z.DIGIT:return ie.DIGIT_TABLE[t];default:throw new ne("Bad table")}}correctBits(e){let t,n;this.ddata.getNbLayers()<=2?(n=6,t=ee.AZTEC_DATA_6):this.ddata.getNbLayers()<=8?(n=8,t=ee.AZTEC_DATA_8):this.ddata.getNbLayers()<=22?(n=10,t=ee.AZTEC_DATA_10):(n=12,t=ee.AZTEC_DATA_12);let r=this.ddata.getNbDatablocks(),i=e.length/n;if(i<r)throw new A;let o=e.length%n,a=new Int32Array(i);for(let t=0;t<i;t++,o+=n)a[t]=ie.readCode(e,o,n);try{new re(t).decode(a,i-r)}catch(e){throw new A(e)}let s=(1<<n)-1,l=0;for(let e=0;e<r;e++){let t=a[e];if(0===t||t===s)throw new A;1!==t&&t!==s-1||l++}let c=new Array(r*n-l),u=0;for(let e=0;e<r;e++){let t=a[e];if(1===t||t===s-1)c.fill(t>1,u,u+n-1),u+=n-1;else for(let e=n-1;e>=0;--e)c[u++]=0!=(t&1<<e)}return c}extractBits(e){let t=this.ddata.isCompact(),n=this.ddata.getNbLayers(),r=(t?11:14)+4*n,i=new Int32Array(r),o=new Array(this.totalBitsInLayer(n,t));if(t)for(let e=0;e<i.length;e++)i[e]=e;else{let e=r+1+2*w.truncDivision(w.truncDivision(r,2)-1,15),t=r/2,n=w.truncDivision(e,2);for(let e=0;e<t;e++){let r=e+w.truncDivision(e,15);i[t-e-1]=n-r-1,i[t+e]=n+r+1}}for(let a=0,s=0;a<n;a++){let l=4*(n-a)+(t?9:12),c=2*a,u=r-1-c;for(let t=0;t<l;t++){let n=2*t;for(let r=0;r<2;r++)o[s+n+r]=e.get(i[c+r],i[c+t]),o[s+2*l+n+r]=e.get(i[c+t],i[u-r]),o[s+4*l+n+r]=e.get(i[u-r],i[u-t]),o[s+6*l+n+r]=e.get(i[u-t],i[c+r])}s+=8*l}return o}static readCode(e,t,n){let r=0;for(let i=t;i<t+n;i++)r<<=1,e[i]&&(r|=1);return r}static readByte(e,t){let n=e.length-t;return n>=8?ie.readCode(e,t,8):ie.readCode(e,t,n)<<8-n}static convertBoolArrayToByteArray(e){let t=new Uint8Array((e.length+7)/8);for(let n=0;n<t.length;n++)t[n]=ie.readByte(e,8*n);return t}totalBitsInLayer(e,t){return((t?88:112)+16*e)*e}}ie.UPPER_TABLE=["CTRL_PS"," ","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","CTRL_LL","CTRL_ML","CTRL_DL","CTRL_BS"],ie.LOWER_TABLE=["CTRL_PS"," ","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","CTRL_US","CTRL_ML","CTRL_DL","CTRL_BS"],ie.MIXED_TABLE=["CTRL_PS"," ","\\1","\\2","\\3","\\4","\\5","\\6","\\7","\b","\t","\n","\\13","\f","\r","\\33","\\34","\\35","\\36","\\37","@","\\","^","_","`","|","~","\\177","CTRL_LL","CTRL_UL","CTRL_PL","CTRL_BS"],ie.PUNCT_TABLE=["","\r","\r\n",". ",", ",": ","!",'"',"#","$","%","&","'","(",")","*","+",",","-",".","/",":",";","<","=",">","?","[","]","{","}","CTRL_UL"],ie.DIGIT_TABLE=["CTRL_PS"," ","0","1","2","3","4","5","6","7","8","9",",",".","CTRL_UL","CTRL_US"];class oe{constructor(){}static round(e){return NaN===e?0:e<=Number.MIN_SAFE_INTEGER?Number.MIN_SAFE_INTEGER:e>=Number.MAX_SAFE_INTEGER?Number.MAX_SAFE_INTEGER:e+(e<0?-.5:.5)|0}static distance(e,t,n,r){const i=e-n,o=t-r;return Math.sqrt(i*i+o*o)}static sum(e){let t=0;for(let n=0,r=e.length;n!==r;n++)t+=e[n];return t}}class ae{static floatToIntBits(e){return e}}ae.MAX_VALUE=Number.MAX_SAFE_INTEGER;class se{constructor(e,t){this.x=e,this.y=t}getX(){return this.x}getY(){return this.y}equals(e){if(e instanceof se){const t=e;return this.x===t.x&&this.y===t.y}return!1}hashCode(){return 31*ae.floatToIntBits(this.x)+ae.floatToIntBits(this.y)}toString(){return"("+this.x+","+this.y+")"}static orderBestPatterns(e){const t=this.distance(e[0],e[1]),n=this.distance(e[1],e[2]),r=this.distance(e[0],e[2]);let i,o,a;if(n>=t&&n>=r?(o=e[0],i=e[1],a=e[2]):r>=n&&r>=t?(o=e[1],i=e[0],a=e[2]):(o=e[2],i=e[0],a=e[1]),this.crossProductZ(i,o,a)<0){const e=i;i=a,a=e}e[0]=i,e[1]=o,e[2]=a}static distance(e,t){return oe.distance(e.x,e.y,t.x,t.y)}static crossProductZ(e,t,n){const r=t.x,i=t.y;return(n.x-r)*(e.y-i)-(n.y-i)*(e.x-r)}}class le{constructor(e,t){this.bits=e,this.points=t}getBits(){return this.bits}getPoints(){return this.points}}class ce extends le{constructor(e,t,n,r,i){super(e,t),this.compact=n,this.nbDatablocks=r,this.nbLayers=i}getNbLayers(){return this.nbLayers}getNbDatablocks(){return this.nbDatablocks}isCompact(){return this.compact}}class ue{constructor(e,t,n,r){this.image=e,this.height=e.getHeight(),this.width=e.getWidth(),null==t&&(t=ue.INIT_SIZE),null==n&&(n=e.getWidth()/2|0),null==r&&(r=e.getHeight()/2|0);const i=t/2|0;if(this.leftInit=n-i,this.rightInit=n+i,this.upInit=r-i,this.downInit=r+i,this.upInit<0||this.leftInit<0||this.downInit>=this.height||this.rightInit>=this.width)throw new M}detect(){let e=this.leftInit,t=this.rightInit,n=this.upInit,r=this.downInit,i=!1,o=!0,a=!1,s=!1,l=!1,c=!1,u=!1;const d=this.width,h=this.height;for(;o;){o=!1;let f=!0;for(;(f||!s)&&t<d;)f=this.containsBlackPoint(n,r,t,!1),f?(t++,o=!0,s=!0):s||t++;if(t>=d){i=!0;break}let p=!0;for(;(p||!l)&&r<h;)p=this.containsBlackPoint(e,t,r,!0),p?(r++,o=!0,l=!0):l||r++;if(r>=h){i=!0;break}let g=!0;for(;(g||!c)&&e>=0;)g=this.containsBlackPoint(n,r,e,!1),g?(e--,o=!0,c=!0):c||e--;if(e<0){i=!0;break}let m=!0;for(;(m||!u)&&n>=0;)m=this.containsBlackPoint(e,t,n,!0),m?(n--,o=!0,u=!0):u||n--;if(n<0){i=!0;break}o&&(a=!0)}if(!i&&a){const i=t-e;let o=null;for(let t=1;null===o&&t<i;t++)o=this.getBlackPointOnSegment(e,r-t,e+t,r);if(null==o)throw new M;let a=null;for(let t=1;null===a&&t<i;t++)a=this.getBlackPointOnSegment(e,n+t,e+t,n);if(null==a)throw new M;let s=null;for(let e=1;null===s&&e<i;e++)s=this.getBlackPointOnSegment(t,n+e,t-e,n);if(null==s)throw new M;let l=null;for(let e=1;null===l&&e<i;e++)l=this.getBlackPointOnSegment(t,r-e,t-e,r);if(null==l)throw new M;return this.centerEdges(l,o,s,a)}throw new M}getBlackPointOnSegment(e,t,n,r){const i=oe.round(oe.distance(e,t,n,r)),o=(n-e)/i,a=(r-t)/i,s=this.image;for(let n=0;n<i;n++){const r=oe.round(e+n*o),i=oe.round(t+n*a);if(s.get(r,i))return new se(r,i)}return null}centerEdges(e,t,n,r){const i=e.getX(),o=e.getY(),a=t.getX(),s=t.getY(),l=n.getX(),c=n.getY(),u=r.getX(),d=r.getY(),h=ue.CORR;return i<this.width/2?[new se(u-h,d+h),new se(a+h,s+h),new se(l-h,c-h),new se(i+h,o-h)]:[new se(u+h,d+h),new se(a+h,s-h),new se(l-h,c+h),new se(i-h,o-h)]}containsBlackPoint(e,t,n,r){const i=this.image;if(r){for(let r=e;r<=t;r++)if(i.get(r,n))return!0}else for(let r=e;r<=t;r++)if(i.get(n,r))return!0;return!1}}ue.INIT_SIZE=10,ue.CORR=1;class de{static checkAndNudgePoints(e,t){const n=e.getWidth(),r=e.getHeight();let i=!0;for(let e=0;e<t.length&&i;e+=2){const o=Math.floor(t[e]),a=Math.floor(t[e+1]);if(o<-1||o>n||a<-1||a>r)throw new M;i=!1,-1===o?(t[e]=0,i=!0):o===n&&(t[e]=n-1,i=!0),-1===a?(t[e+1]=0,i=!0):a===r&&(t[e+1]=r-1,i=!0)}i=!0;for(let e=t.length-2;e>=0&&i;e-=2){const o=Math.floor(t[e]),a=Math.floor(t[e+1]);if(o<-1||o>n||a<-1||a>r)throw new M;i=!1,-1===o?(t[e]=0,i=!0):o===n&&(t[e]=n-1,i=!0),-1===a?(t[e+1]=0,i=!0):a===r&&(t[e+1]=r-1,i=!0)}}}class he{constructor(e,t,n,r,i,o,a,s,l){this.a11=e,this.a21=t,this.a31=n,this.a12=r,this.a22=i,this.a32=o,this.a13=a,this.a23=s,this.a33=l}static quadrilateralToQuadrilateral(e,t,n,r,i,o,a,s,l,c,u,d,h,f,p,g){const m=he.quadrilateralToSquare(e,t,n,r,i,o,a,s);return he.squareToQuadrilateral(l,c,u,d,h,f,p,g).times(m)}transformPoints(e){const t=e.length,n=this.a11,r=this.a12,i=this.a13,o=this.a21,a=this.a22,s=this.a23,l=this.a31,c=this.a32,u=this.a33;for(let d=0;d<t;d+=2){const t=e[d],h=e[d+1],f=i*t+s*h+u;e[d]=(n*t+o*h+l)/f,e[d+1]=(r*t+a*h+c)/f}}transformPointsWithValues(e,t){const n=this.a11,r=this.a12,i=this.a13,o=this.a21,a=this.a22,s=this.a23,l=this.a31,c=this.a32,u=this.a33,d=e.length;for(let h=0;h<d;h++){const d=e[h],f=t[h],p=i*d+s*f+u;e[h]=(n*d+o*f+l)/p,t[h]=(r*d+a*f+c)/p}}static squareToQuadrilateral(e,t,n,r,i,o,a,s){const l=e-n+i-a,c=t-r+o-s;if(0===l&&0===c)return new he(n-e,i-n,e,r-t,o-r,t,0,0,1);{const u=n-i,d=a-i,h=r-o,f=s-o,p=u*f-d*h,g=(l*f-d*c)/p,m=(u*c-l*h)/p;return new he(n-e+g*n,a-e+m*a,e,r-t+g*r,s-t+m*s,t,g,m,1)}}static quadrilateralToSquare(e,t,n,r,i,o,a,s){return he.squareToQuadrilateral(e,t,n,r,i,o,a,s).buildAdjoint()}buildAdjoint(){return new he(this.a22*this.a33-this.a23*this.a32,this.a23*this.a31-this.a21*this.a33,this.a21*this.a32-this.a22*this.a31,this.a13*this.a32-this.a12*this.a33,this.a11*this.a33-this.a13*this.a31,this.a12*this.a31-this.a11*this.a32,this.a12*this.a23-this.a13*this.a22,this.a13*this.a21-this.a11*this.a23,this.a11*this.a22-this.a12*this.a21)}times(e){return new he(this.a11*e.a11+this.a21*e.a12+this.a31*e.a13,this.a11*e.a21+this.a21*e.a22+this.a31*e.a23,this.a11*e.a31+this.a21*e.a32+this.a31*e.a33,this.a12*e.a11+this.a22*e.a12+this.a32*e.a13,this.a12*e.a21+this.a22*e.a22+this.a32*e.a23,this.a12*e.a31+this.a22*e.a32+this.a32*e.a33,this.a13*e.a11+this.a23*e.a12+this.a33*e.a13,this.a13*e.a21+this.a23*e.a22+this.a33*e.a23,this.a13*e.a31+this.a23*e.a32+this.a33*e.a33)}}class fe extends de{sampleGrid(e,t,n,r,i,o,a,s,l,c,u,d,h,f,p,g,m,y,v){const w=he.quadrilateralToQuadrilateral(r,i,o,a,s,l,c,u,d,h,f,p,g,m,y,v);return this.sampleGridWithTransform(e,t,n,w)}sampleGridWithTransform(e,t,n,r){if(t<=0||n<=0)throw new M;const i=new O(t,n),o=new Float32Array(2*t);for(let t=0;t<n;t++){const n=o.length,a=t+.5;for(let e=0;e<n;e+=2)o[e]=e/2+.5,o[e+1]=a;r.transformPoints(o),de.checkAndNudgePoints(e,o);try{for(let r=0;r<n;r+=2)e.get(Math.floor(o[r]),Math.floor(o[r+1]))&&i.set(r/2,t)}catch(e){throw new M}}return i}}class pe{static setGridSampler(e){pe.gridSampler=e}static getInstance(){return pe.gridSampler}}pe.gridSampler=new fe;class ge{constructor(e,t){this.x=e,this.y=t}toResultPoint(){return new se(this.getX(),this.getY())}getX(){return this.x}getY(){return this.y}}class me{constructor(e){this.EXPECTED_CORNER_BITS=new Int32Array([3808,476,2107,1799]),this.image=e}detect(){return this.detectMirror(!1)}detectMirror(e){let t=this.getMatrixCenter(),n=this.getBullsEyeCorners(t);if(e){let e=n[0];n[0]=n[2],n[2]=e}this.extractParameters(n);let r=this.sampleGrid(this.image,n[this.shift%4],n[(this.shift+1)%4],n[(this.shift+2)%4],n[(this.shift+3)%4]),i=this.getMatrixCornerPoints(n);return new ce(r,i,this.compact,this.nbDataBlocks,this.nbLayers)}extractParameters(e){if(!(this.isValidPoint(e[0])&&this.isValidPoint(e[1])&&this.isValidPoint(e[2])&&this.isValidPoint(e[3])))throw new M;let t=2*this.nbCenterLayers,n=new Int32Array([this.sampleLine(e[0],e[1],t),this.sampleLine(e[1],e[2],t),this.sampleLine(e[2],e[3],t),this.sampleLine(e[3],e[0],t)]);this.shift=this.getRotation(n,t);let r=0;for(let e=0;e<4;e++){let t=n[(this.shift+e)%4];this.compact?(r<<=7,r+=t>>1&127):(r<<=10,r+=(t>>2&992)+(t>>1&31))}let i=this.getCorrectedParameterData(r,this.compact);this.compact?(this.nbLayers=1+(i>>6),this.nbDataBlocks=1+(63&i)):(this.nbLayers=1+(i>>11),this.nbDataBlocks=1+(2047&i))}getRotation(e,t){let n=0;e.forEach(((e,r,i)=>{n=(e>>t-2<<1)+(1&e)+(n<<3)})),n=((1&n)<<11)+(n>>1);for(let e=0;e<4;e++)if(w.bitCount(n^this.EXPECTED_CORNER_BITS[e])<=2)return e;throw new M}getCorrectedParameterData(e,t){let n,r;t?(n=7,r=2):(n=10,r=4);let i=n-r,o=new Int32Array(n);for(let t=n-1;t>=0;--t)o[t]=15&e,e>>=4;try{new re(ee.AZTEC_PARAM).decode(o,i)}catch(e){throw new M}let a=0;for(let e=0;e<r;e++)a=(a<<4)+o[e];return a}getBullsEyeCorners(e){let t=e,n=e,r=e,i=e,o=!0;for(this.nbCenterLayers=1;this.nbCenterLayers<9;this.nbCenterLayers++){let e=this.getFirstDifferent(t,o,1,-1),a=this.getFirstDifferent(n,o,1,1),s=this.getFirstDifferent(r,o,-1,1),l=this.getFirstDifferent(i,o,-1,-1);if(this.nbCenterLayers>2){let n=this.distancePoint(l,e)*this.nbCenterLayers/(this.distancePoint(i,t)*(this.nbCenterLayers+2));if(n<.75||n>1.25||!this.isWhiteOrBlackRectangle(e,a,s,l))break}t=e,n=a,r=s,i=l,o=!o}if(5!==this.nbCenterLayers&&7!==this.nbCenterLayers)throw new M;this.compact=5===this.nbCenterLayers;let a=new se(t.getX()+.5,t.getY()-.5),s=new se(n.getX()+.5,n.getY()+.5),l=new se(r.getX()-.5,r.getY()+.5),c=new se(i.getX()-.5,i.getY()-.5);return this.expandSquare([a,s,l,c],2*this.nbCenterLayers-3,2*this.nbCenterLayers)}getMatrixCenter(){let e,t,n,r;try{let i=new ue(this.image).detect();e=i[0],t=i[1],n=i[2],r=i[3]}catch(i){let o=this.image.getWidth()/2,a=this.image.getHeight()/2;e=this.getFirstDifferent(new ge(o+7,a-7),!1,1,-1).toResultPoint(),t=this.getFirstDifferent(new ge(o+7,a+7),!1,1,1).toResultPoint(),n=this.getFirstDifferent(new ge(o-7,a+7),!1,-1,1).toResultPoint(),r=this.getFirstDifferent(new ge(o-7,a-7),!1,-1,-1).toResultPoint()}let i=oe.round((e.getX()+r.getX()+t.getX()+n.getX())/4),o=oe.round((e.getY()+r.getY()+t.getY()+n.getY())/4);try{let a=new ue(this.image,15,i,o).detect();e=a[0],t=a[1],n=a[2],r=a[3]}catch(a){e=this.getFirstDifferent(new ge(i+7,o-7),!1,1,-1).toResultPoint(),t=this.getFirstDifferent(new ge(i+7,o+7),!1,1,1).toResultPoint(),n=this.getFirstDifferent(new ge(i-7,o+7),!1,-1,1).toResultPoint(),r=this.getFirstDifferent(new ge(i-7,o-7),!1,-1,-1).toResultPoint()}return i=oe.round((e.getX()+r.getX()+t.getX()+n.getX())/4),o=oe.round((e.getY()+r.getY()+t.getY()+n.getY())/4),new ge(i,o)}getMatrixCornerPoints(e){return this.expandSquare(e,2*this.nbCenterLayers,this.getDimension())}sampleGrid(e,t,n,r,i){let o=pe.getInstance(),a=this.getDimension(),s=a/2-this.nbCenterLayers,l=a/2+this.nbCenterLayers;return o.sampleGrid(e,a,a,s,s,l,s,l,l,s,l,t.getX(),t.getY(),n.getX(),n.getY(),r.getX(),r.getY(),i.getX(),i.getY())}sampleLine(e,t,n){let r=0,i=this.distanceResultPoint(e,t),o=i/n,a=e.getX(),s=e.getY(),l=o*(t.getX()-e.getX())/i,c=o*(t.getY()-e.getY())/i;for(let e=0;e<n;e++)this.image.get(oe.round(a+e*l),oe.round(s+e*c))&&(r|=1<<n-e-1);return r}isWhiteOrBlackRectangle(e,t,n,r){let i=3;e=new ge(e.getX()-i,e.getY()+i),t=new ge(t.getX()-i,t.getY()-i),n=new ge(n.getX()+i,n.getY()-i),r=new ge(r.getX()+i,r.getY()+i);let o=this.getColor(r,e);if(0===o)return!1;let a=this.getColor(e,t);return a===o&&(a=this.getColor(t,n),a===o&&(a=this.getColor(n,r),a===o))}getColor(e,t){let n=this.distancePoint(e,t),r=(t.getX()-e.getX())/n,i=(t.getY()-e.getY())/n,o=0,a=e.getX(),s=e.getY(),l=this.image.get(e.getX(),e.getY()),c=Math.ceil(n);for(let e=0;e<c;e++)a+=r,s+=i,this.image.get(oe.round(a),oe.round(s))!==l&&o++;let u=o/n;return u>.1&&u<.9?0:u<=.1===l?1:-1}getFirstDifferent(e,t,n,r){let i=e.getX()+n,o=e.getY()+r;for(;this.isValid(i,o)&&this.image.get(i,o)===t;)i+=n,o+=r;for(i-=n,o-=r;this.isValid(i,o)&&this.image.get(i,o)===t;)i+=n;for(i-=n;this.isValid(i,o)&&this.image.get(i,o)===t;)o+=r;return o-=r,new ge(i,o)}expandSquare(e,t,n){let r=n/(2*t),i=e[0].getX()-e[2].getX(),o=e[0].getY()-e[2].getY(),a=(e[0].getX()+e[2].getX())/2,s=(e[0].getY()+e[2].getY())/2,l=new se(a+r*i,s+r*o),c=new se(a-r*i,s-r*o);return i=e[1].getX()-e[3].getX(),o=e[1].getY()-e[3].getY(),a=(e[1].getX()+e[3].getX())/2,s=(e[1].getY()+e[3].getY())/2,[l,new se(a+r*i,s+r*o),c,new se(a-r*i,s-r*o)]}isValid(e,t){return e>=0&&e<this.image.getWidth()&&t>0&&t<this.image.getHeight()}isValidPoint(e){let t=oe.round(e.getX()),n=oe.round(e.getY());return this.isValid(t,n)}distancePoint(e,t){return oe.distance(e.getX(),e.getY(),t.getX(),t.getY())}distanceResultPoint(e,t){return oe.distance(e.getX(),e.getY(),t.getX(),t.getY())}getDimension(){return this.compact?4*this.nbLayers+11:this.nbLayers<=4?4*this.nbLayers+15:4*this.nbLayers+2*(w.truncDivision(this.nbLayers-4,8)+1)+15}}class ye{decode(e,t=null){let n=null,r=new me(e.getBlackMatrix()),i=null,o=null;try{let e=r.detectMirror(!1);i=e.getPoints(),this.reportFoundResultPoints(t,i),o=(new ie).decode(e)}catch(e){n=e}if(null==o)try{let e=r.detectMirror(!0);i=e.getPoints(),this.reportFoundResultPoints(t,i),o=(new ie).decode(e)}catch(e){if(null!=n)throw n;throw e}let a=new F(o.getText(),o.getRawBytes(),o.getNumBits(),i,U.AZTEC,g.currentTimeMillis()),s=o.getByteSegments();null!=s&&a.putMetadata(X.BYTE_SEGMENTS,s);let l=o.getECLevel();return null!=l&&a.putMetadata(X.ERROR_CORRECTION_LEVEL,l),a}reportFoundResultPoints(e,t){if(null!=e){let n=e.get(S.NEED_RESULT_POINT_CALLBACK);null!=n&&t.forEach(((e,t,r)=>{n.foundPossibleResultPoint(e)}))}}reset(){}}class ve extends B{constructor(e=500){super(new ye,e)}}class we{decode(e,t){try{return this.doDecode(e,t)}catch(n){if(t&&!0===t.get(S.TRY_HARDER)&&e.isRotateSupported()){const n=e.rotateCounterClockwise(),r=this.doDecode(n,t),i=r.getResultMetadata();let o=270;null!==i&&!0===i.get(X.ORIENTATION)&&(o+=i.get(X.ORIENTATION)%360),r.putMetadata(X.ORIENTATION,o);const a=r.getResultPoints();if(null!==a){const e=n.getHeight();for(let t=0;t<a.length;t++)a[t]=new se(e-a[t].getY()-1,a[t].getX())}return r}throw new M}}reset(){}doDecode(e,t){const n=e.getWidth(),r=e.getHeight();let i=new b(n);const o=t&&!0===t.get(S.TRY_HARDER),a=Math.max(1,r>>(o?8:5));let s;s=o?r:15;const l=Math.trunc(r/2);for(let o=0;o<s;o++){const s=Math.trunc((o+1)/2),c=l+a*(0==(1&o)?s:-s);if(c<0||c>=r)break;try{i=e.getBlackRow(c,i)}catch(e){continue}for(let e=0;e<2;e++){if(1===e&&(i.reverse(),t&&!0===t.get(S.NEED_RESULT_POINT_CALLBACK))){const e=new Map;t.forEach(((t,n)=>e.set(n,t))),e.delete(S.NEED_RESULT_POINT_CALLBACK),t=e}try{const r=this.decodeRow(c,i,t);if(1===e){r.putMetadata(X.ORIENTATION,180);const e=r.getResultPoints();null!==e&&(e[0]=new se(n-e[0].getX()-1,e[0].getY()),e[1]=new se(n-e[1].getX()-1,e[1].getY()))}return r}catch(e){}}}throw new M}static recordPattern(e,t,n){const r=n.length;for(let e=0;e<r;e++)n[e]=0;const i=e.getSize();if(t>=i)throw new M;let o=!e.get(t),a=0,s=t;for(;s<i;){if(e.get(s)!==o)n[a]++;else{if(++a===r)break;n[a]=1,o=!o}s++}if(a!==r&&(a!==r-1||s!==i))throw new M}static recordPatternInReverse(e,t,n){let r=n.length,i=e.get(t);for(;t>0&&r>=0;)e.get(--t)!==i&&(r--,i=!i);if(r>=0)throw new M;we.recordPattern(e,t+1,n)}static patternMatchVariance(e,t,n){const r=e.length;let i=0,o=0;for(let n=0;n<r;n++)i+=e[n],o+=t[n];if(i<o)return Number.POSITIVE_INFINITY;const a=i/o;n*=a;let s=0;for(let i=0;i<r;i++){const r=e[i],o=t[i]*a,l=r>o?r-o:o-r;if(l>n)return Number.POSITIVE_INFINITY;s+=l}return s/i}}class be extends we{static findStartPattern(e){const t=e.getSize(),n=e.getNextSet(0);let r=0,i=Int32Array.from([0,0,0,0,0,0]),o=n,a=!1;const s=6;for(let l=n;l<t;l++)if(e.get(l)!==a)i[r]++;else{if(r===s-1){let t=be.MAX_AVG_VARIANCE,n=-1;for(let e=be.CODE_START_A;e<=be.CODE_START_C;e++){const r=we.patternMatchVariance(i,be.CODE_PATTERNS[e],be.MAX_INDIVIDUAL_VARIANCE);r<t&&(t=r,n=e)}if(n>=0&&e.isRange(Math.max(0,o-(l-o)/2),o,!1))return Int32Array.from([o,l,n]);o+=i[0]+i[1],i=i.slice(2,i.length-1),i[r-1]=0,i[r]=0,r--}else r++;i[r]=1,a=!a}throw new M}static decodeCode(e,t,n){we.recordPattern(e,n,t);let r=be.MAX_AVG_VARIANCE,i=-1;for(let e=0;e<be.CODE_PATTERNS.length;e++){const n=be.CODE_PATTERNS[e],o=this.patternMatchVariance(t,n,be.MAX_INDIVIDUAL_VARIANCE);o<r&&(r=o,i=e)}if(i>=0)return i;throw new M}decodeRow(e,t,n){const r=n&&!0===n.get(S.ASSUME_GS1),i=be.findStartPattern(t),o=i[2];let a=0;const s=new Uint8Array(20);let l;switch(s[a++]=o,o){case be.CODE_START_A:l=be.CODE_CODE_A;break;case be.CODE_START_B:l=be.CODE_CODE_B;break;case be.CODE_START_C:l=be.CODE_CODE_C;break;default:throw new A}let c=!1,u=!1,d="",h=i[0],p=i[1];const g=Int32Array.from([0,0,0,0,0,0]);let m=0,y=0,v=o,w=0,b=!0,C=!1,_=!1;for(;!c;){const e=u;switch(u=!1,m=y,y=be.decodeCode(t,g,p),s[a++]=y,y!==be.CODE_STOP&&(b=!0),y!==be.CODE_STOP&&(w++,v+=w*y),h=p,p+=g.reduce(((e,t)=>e+t),0),y){case be.CODE_START_A:case be.CODE_START_B:case be.CODE_START_C:throw new A}switch(l){case be.CODE_CODE_A:if(y<64)d+=_===C?String.fromCharCode(" ".charCodeAt(0)+y):String.fromCharCode(" ".charCodeAt(0)+y+128),_=!1;else if(y<96)d+=_===C?String.fromCharCode(y-64):String.fromCharCode(y+64),_=!1;else switch(y!==be.CODE_STOP&&(b=!1),y){case be.CODE_FNC_1:r&&(0===d.length?d+="]C1":d+=String.fromCharCode(29));break;case be.CODE_FNC_2:case be.CODE_FNC_3:break;case be.CODE_FNC_4_A:!C&&_?(C=!0,_=!1):C&&_?(C=!1,_=!1):_=!0;break;case be.CODE_SHIFT:u=!0,l=be.CODE_CODE_B;break;case be.CODE_CODE_B:l=be.CODE_CODE_B;break;case be.CODE_CODE_C:l=be.CODE_CODE_C;break;case be.CODE_STOP:c=!0}break;case be.CODE_CODE_B:if(y<96)d+=_===C?String.fromCharCode(" ".charCodeAt(0)+y):String.fromCharCode(" ".charCodeAt(0)+y+128),_=!1;else switch(y!==be.CODE_STOP&&(b=!1),y){case be.CODE_FNC_1:r&&(0===d.length?d+="]C1":d+=String.fromCharCode(29));break;case be.CODE_FNC_2:case be.CODE_FNC_3:break;case be.CODE_FNC_4_B:!C&&_?(C=!0,_=!1):C&&_?(C=!1,_=!1):_=!0;break;case be.CODE_SHIFT:u=!0,l=be.CODE_CODE_A;break;case be.CODE_CODE_A:l=be.CODE_CODE_A;break;case be.CODE_CODE_C:l=be.CODE_CODE_C;break;case be.CODE_STOP:c=!0}break;case be.CODE_CODE_C:if(y<100)y<10&&(d+="0"),d+=y;else switch(y!==be.CODE_STOP&&(b=!1),y){case be.CODE_FNC_1:r&&(0===d.length?d+="]C1":d+=String.fromCharCode(29));break;case be.CODE_CODE_A:l=be.CODE_CODE_A;break;case be.CODE_CODE_B:l=be.CODE_CODE_B;break;case be.CODE_STOP:c=!0}}e&&(l=l===be.CODE_CODE_A?be.CODE_CODE_B:be.CODE_CODE_A)}const T=p-h;if(p=t.getNextUnset(p),!t.isRange(p,Math.min(t.getSize(),p+(p-h)/2),!1))throw new M;if(v-=w*m,v%103!==m)throw new f;const E=d.length;if(0===E)throw new M;E>0&&b&&(d=l===be.CODE_CODE_C?d.substring(0,E-2):d.substring(0,E-1));const x=(i[1]+i[0])/2,I=h+T/2,O=s.length,D=new Uint8Array(O);for(let e=0;e<O;e++)D[e]=s[e];const k=[new se(x,e),new se(I,e)];return new F(d,D,0,k,U.CODE_128,(new Date).getTime())}}be.CODE_PATTERNS=[Int32Array.from([2,1,2,2,2,2]),Int32Array.from([2,2,2,1,2,2]),Int32Array.from([2,2,2,2,2,1]),Int32Array.from([1,2,1,2,2,3]),Int32Array.from([1,2,1,3,2,2]),Int32Array.from([1,3,1,2,2,2]),Int32Array.from([1,2,2,2,1,3]),Int32Array.from([1,2,2,3,1,2]),Int32Array.from([1,3,2,2,1,2]),Int32Array.from([2,2,1,2,1,3]),Int32Array.from([2,2,1,3,1,2]),Int32Array.from([2,3,1,2,1,2]),Int32Array.from([1,1,2,2,3,2]),Int32Array.from([1,2,2,1,3,2]),Int32Array.from([1,2,2,2,3,1]),Int32Array.from([1,1,3,2,2,2]),Int32Array.from([1,2,3,1,2,2]),Int32Array.from([1,2,3,2,2,1]),Int32Array.from([2,2,3,2,1,1]),Int32Array.from([2,2,1,1,3,2]),Int32Array.from([2,2,1,2,3,1]),Int32Array.from([2,1,3,2,1,2]),Int32Array.from([2,2,3,1,1,2]),Int32Array.from([3,1,2,1,3,1]),Int32Array.from([3,1,1,2,2,2]),Int32Array.from([3,2,1,1,2,2]),Int32Array.from([3,2,1,2,2,1]),Int32Array.from([3,1,2,2,1,2]),Int32Array.from([3,2,2,1,1,2]),Int32Array.from([3,2,2,2,1,1]),Int32Array.from([2,1,2,1,2,3]),Int32Array.from([2,1,2,3,2,1]),Int32Array.from([2,3,2,1,2,1]),Int32Array.from([1,1,1,3,2,3]),Int32Array.from([1,3,1,1,2,3]),Int32Array.from([1,3,1,3,2,1]),Int32Array.from([1,1,2,3,1,3]),Int32Array.from([1,3,2,1,1,3]),Int32Array.from([1,3,2,3,1,1]),Int32Array.from([2,1,1,3,1,3]),Int32Array.from([2,3,1,1,1,3]),Int32Array.from([2,3,1,3,1,1]),Int32Array.from([1,1,2,1,3,3]),Int32Array.from([1,1,2,3,3,1]),Int32Array.from([1,3,2,1,3,1]),Int32Array.from([1,1,3,1,2,3]),Int32Array.from([1,1,3,3,2,1]),Int32Array.from([1,3,3,1,2,1]),Int32Array.from([3,1,3,1,2,1]),Int32Array.from([2,1,1,3,3,1]),Int32Array.from([2,3,1,1,3,1]),Int32Array.from([2,1,3,1,1,3]),Int32Array.from([2,1,3,3,1,1]),Int32Array.from([2,1,3,1,3,1]),Int32Array.from([3,1,1,1,2,3]),Int32Array.from([3,1,1,3,2,1]),Int32Array.from([3,3,1,1,2,1]),Int32Array.from([3,1,2,1,1,3]),Int32Array.from([3,1,2,3,1,1]),Int32Array.from([3,3,2,1,1,1]),Int32Array.from([3,1,4,1,1,1]),Int32Array.from([2,2,1,4,1,1]),Int32Array.from([4,3,1,1,1,1]),Int32Array.from([1,1,1,2,2,4]),Int32Array.from([1,1,1,4,2,2]),Int32Array.from([1,2,1,1,2,4]),Int32Array.from([1,2,1,4,2,1]),Int32Array.from([1,4,1,1,2,2]),Int32Array.from([1,4,1,2,2,1]),Int32Array.from([1,1,2,2,1,4]),Int32Array.from([1,1,2,4,1,2]),Int32Array.from([1,2,2,1,1,4]),Int32Array.from([1,2,2,4,1,1]),Int32Array.from([1,4,2,1,1,2]),Int32Array.from([1,4,2,2,1,1]),Int32Array.from([2,4,1,2,1,1]),Int32Array.from([2,2,1,1,1,4]),Int32Array.from([4,1,3,1,1,1]),Int32Array.from([2,4,1,1,1,2]),Int32Array.from([1,3,4,1,1,1]),Int32Array.from([1,1,1,2,4,2]),Int32Array.from([1,2,1,1,4,2]),Int32Array.from([1,2,1,2,4,1]),Int32Array.from([1,1,4,2,1,2]),Int32Array.from([1,2,4,1,1,2]),Int32Array.from([1,2,4,2,1,1]),Int32Array.from([4,1,1,2,1,2]),Int32Array.from([4,2,1,1,1,2]),Int32Array.from([4,2,1,2,1,1]),Int32Array.from([2,1,2,1,4,1]),Int32Array.from([2,1,4,1,2,1]),Int32Array.from([4,1,2,1,2,1]),Int32Array.from([1,1,1,1,4,3]),Int32Array.from([1,1,1,3,4,1]),Int32Array.from([1,3,1,1,4,1]),Int32Array.from([1,1,4,1,1,3]),Int32Array.from([1,1,4,3,1,1]),Int32Array.from([4,1,1,1,1,3]),Int32Array.from([4,1,1,3,1,1]),Int32Array.from([1,1,3,1,4,1]),Int32Array.from([1,1,4,1,3,1]),Int32Array.from([3,1,1,1,4,1]),Int32Array.from([4,1,1,1,3,1]),Int32Array.from([2,1,1,4,1,2]),Int32Array.from([2,1,1,2,1,4]),Int32Array.from([2,1,1,2,3,2]),Int32Array.from([2,3,3,1,1,1,2])],be.MAX_AVG_VARIANCE=.25,be.MAX_INDIVIDUAL_VARIANCE=.7,be.CODE_SHIFT=98,be.CODE_CODE_C=99,be.CODE_CODE_B=100,be.CODE_CODE_A=101,be.CODE_FNC_1=102,be.CODE_FNC_2=97,be.CODE_FNC_3=96,be.CODE_FNC_4_A=101,be.CODE_FNC_4_B=100,be.CODE_START_A=103,be.CODE_START_B=104,be.CODE_START_C=105,be.CODE_STOP=106;class Ce extends we{constructor(e=!1,t=!1){super(),this.usingCheckDigit=e,this.extendedMode=t,this.decodeRowResult="",this.counters=new Int32Array(9)}decodeRow(e,t,n){let r=this.counters;r.fill(0),this.decodeRowResult="";let i,o,a=Ce.findAsteriskPattern(t,r),s=t.getNextSet(a[1]),l=t.getSize();do{Ce.recordPattern(t,s,r);let e=Ce.toNarrowWidePattern(r);if(e<0)throw new M;i=Ce.patternToChar(e),this.decodeRowResult+=i,o=s;for(let e of r)s+=e;s=t.getNextSet(s)}while("*"!==i);this.decodeRowResult=this.decodeRowResult.substring(0,this.decodeRowResult.length-1);let c,u=0;for(let e of r)u+=e;if(s!==l&&2*(s-o-u)<u)throw new M;if(this.usingCheckDigit){let e=this.decodeRowResult.length-1,t=0;for(let n=0;n<e;n++)t+=Ce.ALPHABET_STRING.indexOf(this.decodeRowResult.charAt(n));if(this.decodeRowResult.charAt(e)!==Ce.ALPHABET_STRING.charAt(t%43))throw new f;this.decodeRowResult=this.decodeRowResult.substring(0,e)}if(0===this.decodeRowResult.length)throw new M;c=this.extendedMode?Ce.decodeExtended(this.decodeRowResult):this.decodeRowResult;let d=(a[1]+a[0])/2,h=o+u/2;return new F(c,null,0,[new se(d,e),new se(h,e)],U.CODE_39,(new Date).getTime())}static findAsteriskPattern(e,t){let n=e.getSize(),r=e.getNextSet(0),i=0,o=r,a=!1,s=t.length;for(let l=r;l<n;l++)if(e.get(l)!==a)t[i]++;else{if(i===s-1){if(this.toNarrowWidePattern(t)===Ce.ASTERISK_ENCODING&&e.isRange(Math.max(0,o-Math.floor((l-o)/2)),o,!1))return[o,l];o+=t[0]+t[1],t.copyWithin(0,2,2+i-1),t[i-1]=0,t[i]=0,i--}else i++;t[i]=1,a=!a}throw new M}static toNarrowWidePattern(e){let t,n=e.length,r=0;do{let i=2147483647;for(let t of e)t<i&&t>r&&(i=t);r=i,t=0;let o=0,a=0;for(let i=0;i<n;i++){let s=e[i];s>r&&(a|=1<<n-1-i,t++,o+=s)}if(3===t){for(let i=0;i<n&&t>0;i++){let n=e[i];if(n>r&&(t--,2*n>=o))return-1}return a}}while(t>3);return-1}static patternToChar(e){for(let t=0;t<Ce.CHARACTER_ENCODINGS.length;t++)if(Ce.CHARACTER_ENCODINGS[t]===e)return Ce.ALPHABET_STRING.charAt(t);if(e===Ce.ASTERISK_ENCODING)return"*";throw new M}static decodeExtended(e){let t=e.length,n="";for(let r=0;r<t;r++){let t=e.charAt(r);if("+"===t||"$"===t||"%"===t||"/"===t){let i=e.charAt(r+1),o="\0";switch(t){case"+":if(!(i>="A"&&i<="Z"))throw new A;o=String.fromCharCode(i.charCodeAt(0)+32);break;case"$":if(!(i>="A"&&i<="Z"))throw new A;o=String.fromCharCode(i.charCodeAt(0)-64);break;case"%":if(i>="A"&&i<="E")o=String.fromCharCode(i.charCodeAt(0)-38);else if(i>="F"&&i<="J")o=String.fromCharCode(i.charCodeAt(0)-11);else if(i>="K"&&i<="O")o=String.fromCharCode(i.charCodeAt(0)+16);else if(i>="P"&&i<="T")o=String.fromCharCode(i.charCodeAt(0)+43);else if("U"===i)o="\0";else if("V"===i)o="@";else if("W"===i)o="`";else{if("X"!==i&&"Y"!==i&&"Z"!==i)throw new A;o="�"}break;case"/":if(i>="A"&&i<="O")o=String.fromCharCode(i.charCodeAt(0)-32);else{if("Z"!==i)throw new A;o=":"}}n+=o,r++}else n+=t}return n}}Ce.ALPHABET_STRING="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ-. $/+%",Ce.CHARACTER_ENCODINGS=[52,289,97,352,49,304,112,37,292,100,265,73,328,25,280,88,13,268,76,28,259,67,322,19,274,82,7,262,70,22,385,193,448,145,400,208,133,388,196,168,162,138,42],Ce.ASTERISK_ENCODING=148;class Se extends we{constructor(){super(...arguments),this.narrowLineWidth=-1}decodeRow(e,t,n){let r=this.decodeStart(t),i=this.decodeEnd(t),o=new I;Se.decodeMiddle(t,r[1],i[0],o);let a=o.toString(),s=null;null!=n&&(s=n.get(S.ALLOWED_LENGTHS)),null==s&&(s=Se.DEFAULT_ALLOWED_LENGTHS);let l=a.length,c=!1,u=0;for(let e of s){if(l===e){c=!0;break}e>u&&(u=e)}if(!c&&l>u&&(c=!0),!c)throw new A;const d=[new se(r[1],e),new se(i[0],e)];return new F(a,null,0,d,U.ITF,(new Date).getTime())}static decodeMiddle(e,t,n,r){let i=new Int32Array(10),o=new Int32Array(5),a=new Int32Array(5);for(i.fill(0),o.fill(0),a.fill(0);t<n;){we.recordPattern(e,t,i);for(let e=0;e<5;e++){let t=2*e;o[e]=i[t],a[e]=i[t+1]}let n=Se.decodeDigit(o);r.append(n.toString()),n=this.decodeDigit(a),r.append(n.toString()),i.forEach((function(e){t+=e}))}}decodeStart(e){let t=Se.skipWhiteSpace(e),n=Se.findGuardPattern(e,t,Se.START_PATTERN);return this.narrowLineWidth=(n[1]-n[0])/4,this.validateQuietZone(e,n[0]),n}validateQuietZone(e,t){let n=10*this.narrowLineWidth;n=n<t?n:t;for(let r=t-1;n>0&&r>=0&&!e.get(r);r--)n--;if(0!==n)throw new M}static skipWhiteSpace(e){const t=e.getSize(),n=e.getNextSet(0);if(n===t)throw new M;return n}decodeEnd(e){e.reverse();try{let t,n=Se.skipWhiteSpace(e);try{t=Se.findGuardPattern(e,n,Se.END_PATTERN_REVERSED[0])}catch(r){r instanceof M&&(t=Se.findGuardPattern(e,n,Se.END_PATTERN_REVERSED[1]))}this.validateQuietZone(e,t[0]);let r=t[0];return t[0]=e.getSize()-t[1],t[1]=e.getSize()-r,t}finally{e.reverse()}}static findGuardPattern(e,t,n){let r=n.length,i=new Int32Array(r),o=e.getSize(),a=!1,s=0,l=t;i.fill(0);for(let c=t;c<o;c++)if(e.get(c)!==a)i[s]++;else{if(s===r-1){if(we.patternMatchVariance(i,n,Se.MAX_INDIVIDUAL_VARIANCE)<Se.MAX_AVG_VARIANCE)return[l,c];l+=i[0]+i[1],g.arraycopy(i,2,i,0,s-1),i[s-1]=0,i[s]=0,s--}else s++;i[s]=1,a=!a}throw new M}static decodeDigit(e){let t=Se.MAX_AVG_VARIANCE,n=-1,r=Se.PATTERNS.length;for(let i=0;i<r;i++){let r=Se.PATTERNS[i],o=we.patternMatchVariance(e,r,Se.MAX_INDIVIDUAL_VARIANCE);o<t?(t=o,n=i):o===t&&(n=-1)}if(n>=0)return n%10;throw new M}}Se.PATTERNS=[Int32Array.from([1,1,2,2,1]),Int32Array.from([2,1,1,1,2]),Int32Array.from([1,2,1,1,2]),Int32Array.from([2,2,1,1,1]),Int32Array.from([1,1,2,1,2]),Int32Array.from([2,1,2,1,1]),Int32Array.from([1,2,2,1,1]),Int32Array.from([1,1,1,2,2]),Int32Array.from([2,1,1,2,1]),Int32Array.from([1,2,1,2,1]),Int32Array.from([1,1,3,3,1]),Int32Array.from([3,1,1,1,3]),Int32Array.from([1,3,1,1,3]),Int32Array.from([3,3,1,1,1]),Int32Array.from([1,1,3,1,3]),Int32Array.from([3,1,3,1,1]),Int32Array.from([1,3,3,1,1]),Int32Array.from([1,1,1,3,3]),Int32Array.from([3,1,1,3,1]),Int32Array.from([1,3,1,3,1])],Se.MAX_AVG_VARIANCE=.38,Se.MAX_INDIVIDUAL_VARIANCE=.5,Se.DEFAULT_ALLOWED_LENGTHS=[6,8,10,12,14],Se.START_PATTERN=Int32Array.from([1,1,1,1]),Se.END_PATTERN_REVERSED=[Int32Array.from([1,1,2]),Int32Array.from([1,1,3])];class Ae extends we{constructor(){super(...arguments),this.decodeRowStringBuffer=""}static findStartGuardPattern(e){let t,n=!1,r=0,i=Int32Array.from([0,0,0]);for(;!n;){i=Int32Array.from([0,0,0]),t=Ae.findGuardPattern(e,r,!1,this.START_END_PATTERN,i);let o=t[0];r=t[1];let a=o-(r-o);a>=0&&(n=e.isRange(a,o,!1))}return t}static checkChecksum(e){return Ae.checkStandardUPCEANChecksum(e)}static checkStandardUPCEANChecksum(e){let t=e.length;if(0===t)return!1;let n=parseInt(e.charAt(t-1),10);return Ae.getStandardUPCEANChecksum(e.substring(0,t-1))===n}static getStandardUPCEANChecksum(e){let t=e.length,n=0;for(let r=t-1;r>=0;r-=2){let t=e.charAt(r).charCodeAt(0)-"0".charCodeAt(0);if(t<0||t>9)throw new A;n+=t}n*=3;for(let r=t-2;r>=0;r-=2){let t=e.charAt(r).charCodeAt(0)-"0".charCodeAt(0);if(t<0||t>9)throw new A;n+=t}return(1e3-n)%10}static decodeEnd(e,t){return Ae.findGuardPattern(e,t,!1,Ae.START_END_PATTERN,new Int32Array(Ae.START_END_PATTERN.length).fill(0))}static findGuardPatternWithoutCounters(e,t,n,r){return this.findGuardPattern(e,t,n,r,new Int32Array(r.length))}static findGuardPattern(e,t,n,r,i){let o=e.getSize(),a=0,s=t=n?e.getNextUnset(t):e.getNextSet(t),l=r.length,c=n;for(let n=t;n<o;n++)if(e.get(n)!==c)i[a]++;else{if(a===l-1){if(we.patternMatchVariance(i,r,Ae.MAX_INDIVIDUAL_VARIANCE)<Ae.MAX_AVG_VARIANCE)return Int32Array.from([s,n]);s+=i[0]+i[1];let e=i.slice(2,i.length-1);for(let t=0;t<a-1;t++)i[t]=e[t];i[a-1]=0,i[a]=0,a--}else a++;i[a]=1,c=!c}throw new M}static decodeDigit(e,t,n,r){this.recordPattern(e,n,t);let i=this.MAX_AVG_VARIANCE,o=-1,a=r.length;for(let e=0;e<a;e++){let n=r[e],a=we.patternMatchVariance(t,n,Ae.MAX_INDIVIDUAL_VARIANCE);a<i&&(i=a,o=e)}if(o>=0)return o;throw new M}}Ae.MAX_AVG_VARIANCE=.48,Ae.MAX_INDIVIDUAL_VARIANCE=.7,Ae.START_END_PATTERN=Int32Array.from([1,1,1]),Ae.MIDDLE_PATTERN=Int32Array.from([1,1,1,1,1]),Ae.END_PATTERN=Int32Array.from([1,1,1,1,1,1]),Ae.L_PATTERNS=[Int32Array.from([3,2,1,1]),Int32Array.from([2,2,2,1]),Int32Array.from([2,1,2,2]),Int32Array.from([1,4,1,1]),Int32Array.from([1,1,3,2]),Int32Array.from([1,2,3,1]),Int32Array.from([1,1,1,4]),Int32Array.from([1,3,1,2]),Int32Array.from([1,2,1,3]),Int32Array.from([3,1,1,2])];class _e{constructor(){this.CHECK_DIGIT_ENCODINGS=[24,20,18,17,12,6,3,10,9,5],this.decodeMiddleCounters=Int32Array.from([0,0,0,0]),this.decodeRowStringBuffer=""}decodeRow(e,t,n){let r=this.decodeRowStringBuffer,i=this.decodeMiddle(t,n,r),o=r.toString(),a=_e.parseExtensionString(o),s=[new se((n[0]+n[1])/2,e),new se(i,e)],l=new F(o,null,0,s,U.UPC_EAN_EXTENSION,(new Date).getTime());return null!=a&&l.putAllMetadata(a),l}decodeMiddle(e,t,n){let r=this.decodeMiddleCounters;r[0]=0,r[1]=0,r[2]=0,r[3]=0;let i=e.getSize(),o=t[1],a=0;for(let t=0;t<5&&o<i;t++){let i=Ae.decodeDigit(e,r,o,Ae.L_AND_G_PATTERNS);n+=String.fromCharCode("0".charCodeAt(0)+i%10);for(let e of r)o+=e;i>=10&&(a|=1<<4-t),4!==t&&(o=e.getNextSet(o),o=e.getNextUnset(o))}if(5!==n.length)throw new M;let s=this.determineCheckDigit(a);if(_e.extensionChecksum(n.toString())!==s)throw new M;return o}static extensionChecksum(e){let t=e.length,n=0;for(let r=t-2;r>=0;r-=2)n+=e.charAt(r).charCodeAt(0)-"0".charCodeAt(0);n*=3;for(let r=t-1;r>=0;r-=2)n+=e.charAt(r).charCodeAt(0)-"0".charCodeAt(0);return n*=3,n%10}determineCheckDigit(e){for(let t=0;t<10;t++)if(e===this.CHECK_DIGIT_ENCODINGS[t])return t;throw new M}static parseExtensionString(e){if(5!==e.length)return null;let t=_e.parseExtension5String(e);return null==t?null:new Map([[X.SUGGESTED_PRICE,t]])}static parseExtension5String(e){let t;switch(e.charAt(0)){case"0":t="£";break;case"5":t="$";break;case"9":switch(e){case"90000":return null;case"99991":return"0.00";case"99990":return"Used"}t="";break;default:t=""}let n=parseInt(e.substring(1)),r=n%100;return t+(n/100).toString()+"."+(r<10?"0"+r:r.toString())}}class Te{constructor(){this.decodeMiddleCounters=Int32Array.from([0,0,0,0]),this.decodeRowStringBuffer=""}decodeRow(e,t,n){let r=this.decodeRowStringBuffer,i=this.decodeMiddle(t,n,r),o=r.toString(),a=Te.parseExtensionString(o),s=[new se((n[0]+n[1])/2,e),new se(i,e)],l=new F(o,null,0,s,U.UPC_EAN_EXTENSION,(new Date).getTime());return null!=a&&l.putAllMetadata(a),l}decodeMiddle(e,t,n){let r=this.decodeMiddleCounters;r[0]=0,r[1]=0,r[2]=0,r[3]=0;let i=e.getSize(),o=t[1],a=0;for(let t=0;t<2&&o<i;t++){let i=Ae.decodeDigit(e,r,o,Ae.L_AND_G_PATTERNS);n+=String.fromCharCode("0".charCodeAt(0)+i%10);for(let e of r)o+=e;i>=10&&(a|=1<<1-t),1!==t&&(o=e.getNextSet(o),o=e.getNextUnset(o))}if(2!==n.length)throw new M;if(parseInt(n.toString())%4!==a)throw new M;return o}static parseExtensionString(e){return 2!==e.length?null:new Map([[X.ISSUE_NUMBER,parseInt(e)]])}}class Ee{static decodeRow(e,t,n){let r=Ae.findGuardPattern(t,n,!1,this.EXTENSION_START_PATTERN,new Int32Array(this.EXTENSION_START_PATTERN.length).fill(0));try{return(new _e).decodeRow(e,t,r)}catch(n){return(new Te).decodeRow(e,t,r)}}}Ee.EXTENSION_START_PATTERN=Int32Array.from([1,1,2]);class xe extends Ae{constructor(){super(),this.decodeRowStringBuffer="",xe.L_AND_G_PATTERNS=xe.L_PATTERNS.map((e=>Int32Array.from(e)));for(let e=10;e<20;e++){let t=xe.L_PATTERNS[e-10],n=new Int32Array(t.length);for(let e=0;e<t.length;e++)n[e]=t[t.length-e-1];xe.L_AND_G_PATTERNS[e]=n}}decodeRow(e,t,n){let r=xe.findStartGuardPattern(t),i=null==n?null:n.get(S.NEED_RESULT_POINT_CALLBACK);if(null!=i){const t=new se((r[0]+r[1])/2,e);i.foundPossibleResultPoint(t)}let o=this.decodeMiddle(t,r,this.decodeRowStringBuffer),a=o.rowOffset,s=o.resultString;if(null!=i){const t=new se(a,e);i.foundPossibleResultPoint(t)}let l=this.decodeEnd(t,a);if(null!=i){const t=new se((l[0]+l[1])/2,e);i.foundPossibleResultPoint(t)}let c=l[1],u=c+(c-l[0]);if(u>=t.getSize()||!t.isRange(c,u,!1))throw new M;let d=s.toString();if(d.length<8)throw new A;if(!xe.checkChecksum(d))throw new f;let h=(r[1]+r[0])/2,p=(l[1]+l[0])/2,g=this.getBarcodeFormat(),m=[new se(h,e),new se(p,e)],y=new F(d,null,0,m,g,(new Date).getTime()),v=0;try{let n=Ee.decodeRow(e,t,l[1]);y.putMetadata(X.UPC_EAN_EXTENSION,n.getText()),y.putAllMetadata(n.getResultMetadata()),y.addResultPoints(n.getResultPoints()),v=n.getText().length}catch(e){}let w=null==n?null:n.get(S.ALLOWED_EAN_EXTENSIONS);if(null!=w){let e=!1;for(let t in w)if(v.toString()===t){e=!0;break}if(!e)throw new M}return y}decodeEnd(e,t){return xe.findGuardPattern(e,t,!1,xe.START_END_PATTERN,new Int32Array(xe.START_END_PATTERN.length).fill(0))}static checkChecksum(e){return xe.checkStandardUPCEANChecksum(e)}static checkStandardUPCEANChecksum(e){let t=e.length;if(0===t)return!1;let n=parseInt(e.charAt(t-1),10);return xe.getStandardUPCEANChecksum(e.substring(0,t-1))===n}static getStandardUPCEANChecksum(e){let t=e.length,n=0;for(let r=t-1;r>=0;r-=2){let t=e.charAt(r).charCodeAt(0)-"0".charCodeAt(0);if(t<0||t>9)throw new A;n+=t}n*=3;for(let r=t-2;r>=0;r-=2){let t=e.charAt(r).charCodeAt(0)-"0".charCodeAt(0);if(t<0||t>9)throw new A;n+=t}return(1e3-n)%10}}class Ie extends xe{constructor(){super(),this.decodeMiddleCounters=Int32Array.from([0,0,0,0])}decodeMiddle(e,t,n){let r=this.decodeMiddleCounters;r[0]=0,r[1]=0,r[2]=0,r[3]=0;let i=e.getSize(),o=t[1],a=0;for(let t=0;t<6&&o<i;t++){let i=xe.decodeDigit(e,r,o,xe.L_AND_G_PATTERNS);n+=String.fromCharCode("0".charCodeAt(0)+i%10);for(let e of r)o+=e;i>=10&&(a|=1<<5-t)}n=Ie.determineFirstDigit(n,a),o=xe.findGuardPattern(e,o,!0,xe.MIDDLE_PATTERN,new Int32Array(xe.MIDDLE_PATTERN.length).fill(0))[1];for(let t=0;t<6&&o<i;t++){let t=xe.decodeDigit(e,r,o,xe.L_PATTERNS);n+=String.fromCharCode("0".charCodeAt(0)+t);for(let e of r)o+=e}return{rowOffset:o,resultString:n}}getBarcodeFormat(){return U.EAN_13}static determineFirstDigit(e,t){for(let n=0;n<10;n++)if(t===this.FIRST_DIGIT_ENCODINGS[n])return e=String.fromCharCode("0".charCodeAt(0)+n)+e;throw new M}}Ie.FIRST_DIGIT_ENCODINGS=[0,11,13,14,19,25,28,21,22,26];class Oe extends xe{constructor(){super(),this.decodeMiddleCounters=Int32Array.from([0,0,0,0])}decodeMiddle(e,t,n){const r=this.decodeMiddleCounters;r[0]=0,r[1]=0,r[2]=0,r[3]=0;let i=e.getSize(),o=t[1];for(let t=0;t<4&&o<i;t++){let t=xe.decodeDigit(e,r,o,xe.L_PATTERNS);n+=String.fromCharCode("0".charCodeAt(0)+t);for(let e of r)o+=e}o=xe.findGuardPattern(e,o,!0,xe.MIDDLE_PATTERN,new Int32Array(xe.MIDDLE_PATTERN.length).fill(0))[1];for(let t=0;t<4&&o<i;t++){let t=xe.decodeDigit(e,r,o,xe.L_PATTERNS);n+=String.fromCharCode("0".charCodeAt(0)+t);for(let e of r)o+=e}return{rowOffset:o,resultString:n}}getBarcodeFormat(){return U.EAN_8}}class Me extends xe{constructor(){super(...arguments),this.ean13Reader=new Ie}getBarcodeFormat(){return U.UPC_A}decode(e,t){return this.maybeReturnResult(this.ean13Reader.decode(e))}decodeRow(e,t,n){return this.maybeReturnResult(this.ean13Reader.decodeRow(e,t,n))}decodeMiddle(e,t,n){return this.ean13Reader.decodeMiddle(e,t,n)}maybeReturnResult(e){let t=e.getText();if("0"===t.charAt(0)){let n=new F(t.substring(1),null,null,e.getResultPoints(),U.UPC_A);return null!=e.getResultMetadata()&&n.putAllMetadata(e.getResultMetadata()),n}throw new M}reset(){this.ean13Reader.reset()}}class De extends xe{constructor(){super(),this.decodeMiddleCounters=new Int32Array(4)}decodeMiddle(e,t,n){const r=this.decodeMiddleCounters.map((e=>e));r[0]=0,r[1]=0,r[2]=0,r[3]=0;const i=e.getSize();let o=t[1],a=0;for(let t=0;t<6&&o<i;t++){const i=De.decodeDigit(e,r,o,De.L_AND_G_PATTERNS);n+=String.fromCharCode("0".charCodeAt(0)+i%10);for(let e of r)o+=e;i>=10&&(a|=1<<5-t)}return{rowOffset:o,resultString:De.determineNumSysAndCheckDigit(n,a)}}decodeEnd(e,t){return De.findGuardPatternWithoutCounters(e,t,!0,De.MIDDLE_END_PATTERN)}checkChecksum(e){return xe.checkChecksum(De.convertUPCEtoUPCA(e))}static determineNumSysAndCheckDigit(e,t){for(let n=0;n<=1;n++)for(let r=0;r<10;r++)if(t===this.NUMSYS_AND_CHECK_DIGIT_PATTERNS[n][r])return String.fromCharCode("0".charCodeAt(0)+n)+e+String.fromCharCode("0".charCodeAt(0)+r);throw M.getNotFoundInstance()}getBarcodeFormat(){return U.UPC_E}static convertUPCEtoUPCA(e){const t=e.slice(1,7).split("").map((e=>e.charCodeAt(0))),n=new I;n.append(e.charAt(0));let r=t[5];switch(r){case 0:case 1:case 2:n.appendChars(t,0,2),n.append(r),n.append("0000"),n.appendChars(t,2,3);break;case 3:n.appendChars(t,0,3),n.append("00000"),n.appendChars(t,3,2);break;case 4:n.appendChars(t,0,4),n.append("00000"),n.append(t[4]);break;default:n.appendChars(t,0,5),n.append("0000"),n.append(r)}return e.length>=8&&n.append(e.charAt(7)),n.toString()}}De.MIDDLE_END_PATTERN=Int32Array.from([1,1,1,1,1,1]),De.NUMSYS_AND_CHECK_DIGIT_PATTERNS=[Int32Array.from([56,52,50,49,44,38,35,42,41,37]),Int32Array.from([7,11,13,14,19,25,28,21,22,26])];class ke extends we{constructor(e){super();let n=null==e?null:e.get(S.POSSIBLE_FORMATS),r=[];t(n)?(r.push(new Ie),r.push(new Me),r.push(new Oe),r.push(new De)):(n.indexOf(U.EAN_13)>-1&&r.push(new Ie),n.indexOf(U.UPC_A)>-1&&r.push(new Me),n.indexOf(U.EAN_8)>-1&&r.push(new Oe),n.indexOf(U.UPC_E)>-1&&r.push(new De)),this.readers=r}decodeRow(e,t,n){for(let r of this.readers)try{const i=r.decodeRow(e,t,n),o=i.getBarcodeFormat()===U.EAN_13&&"0"===i.getText().charAt(0),a=null==n?null:n.get(S.POSSIBLE_FORMATS),s=null==a||a.includes(U.UPC_A);if(o&&s){const e=i.getRawBytes(),t=new F(i.getText().substring(1),e,e?e.length:null,i.getResultPoints(),U.UPC_A);return t.putAllMetadata(i.getResultMetadata()),t}return i}catch(e){}throw new M}reset(){for(let e of this.readers)e.reset()}}class Ne extends we{constructor(){super(),this.decodeFinderCounters=new Int32Array(4),this.dataCharacterCounters=new Int32Array(8),this.oddRoundingErrors=new Array(4),this.evenRoundingErrors=new Array(4),this.oddCounts=new Array(this.dataCharacterCounters.length/2),this.evenCounts=new Array(this.dataCharacterCounters.length/2)}getDecodeFinderCounters(){return this.decodeFinderCounters}getDataCharacterCounters(){return this.dataCharacterCounters}getOddRoundingErrors(){return this.oddRoundingErrors}getEvenRoundingErrors(){return this.evenRoundingErrors}getOddCounts(){return this.oddCounts}getEvenCounts(){return this.evenCounts}parseFinderValue(e,t){for(let n=0;n<t.length;n++)if(we.patternMatchVariance(e,t[n],Ne.MAX_INDIVIDUAL_VARIANCE)<Ne.MAX_AVG_VARIANCE)return n;throw new M}static count(e){return oe.sum(new Int32Array(e))}static increment(e,t){let n=0,r=t[0];for(let i=1;i<e.length;i++)t[i]>r&&(r=t[i],n=i);e[n]++}static decrement(e,t){let n=0,r=t[0];for(let i=1;i<e.length;i++)t[i]<r&&(r=t[i],n=i);e[n]--}static isFinderPattern(e){let t=e[0]+e[1],n=t/(t+e[2]+e[3]);if(n>=Ne.MIN_FINDER_PATTERN_RATIO&&n<=Ne.MAX_FINDER_PATTERN_RATIO){let t=Number.MAX_SAFE_INTEGER,n=Number.MIN_SAFE_INTEGER;for(let r of e)r>n&&(n=r),r<t&&(t=r);return n<10*t}return!1}}Ne.MAX_AVG_VARIANCE=.2,Ne.MAX_INDIVIDUAL_VARIANCE=.45,Ne.MIN_FINDER_PATTERN_RATIO=9.5/12,Ne.MAX_FINDER_PATTERN_RATIO=12.5/14;class Pe{constructor(e,t){this.value=e,this.checksumPortion=t}getValue(){return this.value}getChecksumPortion(){return this.checksumPortion}toString(){return this.value+"("+this.checksumPortion+")"}equals(e){if(!(e instanceof Pe))return!1;const t=e;return this.value===t.value&&this.checksumPortion===t.checksumPortion}hashCode(){return this.value^this.checksumPortion}}class Re{constructor(e,t,n,r,i){this.value=e,this.startEnd=t,this.value=e,this.startEnd=t,this.resultPoints=new Array,this.resultPoints.push(new se(n,i)),this.resultPoints.push(new se(r,i))}getValue(){return this.value}getStartEnd(){return this.startEnd}getResultPoints(){return this.resultPoints}equals(e){if(!(e instanceof Re))return!1;const t=e;return this.value===t.value}hashCode(){return this.value}}class Le{constructor(){}static getRSSvalue(e,t,n){let r=0;for(let t of e)r+=t;let i=0,o=0,a=e.length;for(let s=0;s<a-1;s++){let l;for(l=1,o|=1<<s;l<e[s];l++,o&=~(1<<s)){let e=Le.combins(r-l-1,a-s-2);if(n&&0===o&&r-l-(a-s-1)>=a-s-1&&(e-=Le.combins(r-l-(a-s),a-s-2)),a-s-1>1){let n=0;for(let e=r-l-(a-s-2);e>t;e--)n+=Le.combins(r-l-e-1,a-s-3);e-=n*(a-1-s)}else r-l>t&&e--;i+=e}r-=l}return i}static combins(e,t){let n,r;e-t>t?(r=t,n=e-t):(r=e-t,n=t);let i=1,o=1;for(let t=e;t>n;t--)i*=t,o<=r&&(i/=o,o++);for(;o<=r;)i/=o,o++;return i}}class $e{static buildBitArray(e){let t=2*e.length-1;null==e[e.length-1].getRightChar()&&(t-=1);let n=new b(12*t),r=0,i=e[0].getRightChar().getValue();for(let e=11;e>=0;--e)0!=(i&1<<e)&&n.set(r),r++;for(let t=1;t<e.length;++t){let i=e[t],o=i.getLeftChar().getValue();for(let e=11;e>=0;--e)0!=(o&1<<e)&&n.set(r),r++;if(null!=i.getRightChar()){let e=i.getRightChar().getValue();for(let t=11;t>=0;--t)0!=(e&1<<t)&&n.set(r),r++}}return n}}class je{constructor(e,t){t?this.decodedInformation=null:(this.finished=e,this.decodedInformation=t)}getDecodedInformation(){return this.decodedInformation}isFinished(){return this.finished}}class Be{constructor(e){this.newPosition=e}getNewPosition(){return this.newPosition}}class Fe extends Be{constructor(e,t){super(e),this.value=t}getValue(){return this.value}isFNC1(){return this.value===Fe.FNC1}}Fe.FNC1="$";class He extends Be{constructor(e,t,n){super(e),n?(this.remaining=!0,this.remainingValue=this.remainingValue):(this.remaining=!1,this.remainingValue=0),this.newString=t}getNewString(){return this.newString}isRemaining(){return this.remaining}getRemainingValue(){return this.remainingValue}}class Ue extends Be{constructor(e,t,n){if(super(e),t<0||t>10||n<0||n>10)throw new A;this.firstDigit=t,this.secondDigit=n}getFirstDigit(){return this.firstDigit}getSecondDigit(){return this.secondDigit}getValue(){return 10*this.firstDigit+this.secondDigit}isFirstDigitFNC1(){return this.firstDigit===Ue.FNC1}isSecondDigitFNC1(){return this.secondDigit===Ue.FNC1}isAnyFNC1(){return this.firstDigit===Ue.FNC1||this.secondDigit===Ue.FNC1}}Ue.FNC1=10;class ze{constructor(){}static parseFieldsInGeneralPurpose(e){if(!e)return null;if(e.length<2)throw new M;let t=e.substring(0,2);for(let n of ze.TWO_DIGIT_DATA_LENGTH)if(n[0]===t)return n[1]===ze.VARIABLE_LENGTH?ze.processVariableAI(2,n[2],e):ze.processFixedAI(2,n[1],e);if(e.length<3)throw new M;let n=e.substring(0,3);for(let t of ze.THREE_DIGIT_DATA_LENGTH)if(t[0]===n)return t[1]===ze.VARIABLE_LENGTH?ze.processVariableAI(3,t[2],e):ze.processFixedAI(3,t[1],e);for(let t of ze.THREE_DIGIT_PLUS_DIGIT_DATA_LENGTH)if(t[0]===n)return t[1]===ze.VARIABLE_LENGTH?ze.processVariableAI(4,t[2],e):ze.processFixedAI(4,t[1],e);if(e.length<4)throw new M;let r=e.substring(0,4);for(let t of ze.FOUR_DIGIT_DATA_LENGTH)if(t[0]===r)return t[1]===ze.VARIABLE_LENGTH?ze.processVariableAI(4,t[2],e):ze.processFixedAI(4,t[1],e);throw new M}static processFixedAI(e,t,n){if(n.length<e)throw new M;let r=n.substring(0,e);if(n.length<e+t)throw new M;let i=n.substring(e,e+t),o=n.substring(e+t),a="("+r+")"+i,s=ze.parseFieldsInGeneralPurpose(o);return null==s?a:a+s}static processVariableAI(e,t,n){let r,i=n.substring(0,e);r=n.length<e+t?n.length:e+t;let o=n.substring(e,r),a=n.substring(r),s="("+i+")"+o,l=ze.parseFieldsInGeneralPurpose(a);return null==l?s:s+l}}ze.VARIABLE_LENGTH=[],ze.TWO_DIGIT_DATA_LENGTH=[["00",18],["01",14],["02",14],["10",ze.VARIABLE_LENGTH,20],["11",6],["12",6],["13",6],["15",6],["17",6],["20",2],["21",ze.VARIABLE_LENGTH,20],["22",ze.VARIABLE_LENGTH,29],["30",ze.VARIABLE_LENGTH,8],["37",ze.VARIABLE_LENGTH,8],["90",ze.VARIABLE_LENGTH,30],["91",ze.VARIABLE_LENGTH,30],["92",ze.VARIABLE_LENGTH,30],["93",ze.VARIABLE_LENGTH,30],["94",ze.VARIABLE_LENGTH,30],["95",ze.VARIABLE_LENGTH,30],["96",ze.VARIABLE_LENGTH,30],["97",ze.VARIABLE_LENGTH,3],["98",ze.VARIABLE_LENGTH,30],["99",ze.VARIABLE_LENGTH,30]],ze.THREE_DIGIT_DATA_LENGTH=[["240",ze.VARIABLE_LENGTH,30],["241",ze.VARIABLE_LENGTH,30],["242",ze.VARIABLE_LENGTH,6],["250",ze.VARIABLE_LENGTH,30],["251",ze.VARIABLE_LENGTH,30],["253",ze.VARIABLE_LENGTH,17],["254",ze.VARIABLE_LENGTH,20],["400",ze.VARIABLE_LENGTH,30],["401",ze.VARIABLE_LENGTH,30],["402",17],["403",ze.VARIABLE_LENGTH,30],["410",13],["411",13],["412",13],["413",13],["414",13],["420",ze.VARIABLE_LENGTH,20],["421",ze.VARIABLE_LENGTH,15],["422",3],["423",ze.VARIABLE_LENGTH,15],["424",3],["425",3],["426",3]],ze.THREE_DIGIT_PLUS_DIGIT_DATA_LENGTH=[["310",6],["311",6],["312",6],["313",6],["314",6],["315",6],["316",6],["320",6],["321",6],["322",6],["323",6],["324",6],["325",6],["326",6],["327",6],["328",6],["329",6],["330",6],["331",6],["332",6],["333",6],["334",6],["335",6],["336",6],["340",6],["341",6],["342",6],["343",6],["344",6],["345",6],["346",6],["347",6],["348",6],["349",6],["350",6],["351",6],["352",6],["353",6],["354",6],["355",6],["356",6],["357",6],["360",6],["361",6],["362",6],["363",6],["364",6],["365",6],["366",6],["367",6],["368",6],["369",6],["390",ze.VARIABLE_LENGTH,15],["391",ze.VARIABLE_LENGTH,18],["392",ze.VARIABLE_LENGTH,15],["393",ze.VARIABLE_LENGTH,18],["703",ze.VARIABLE_LENGTH,30]],ze.FOUR_DIGIT_DATA_LENGTH=[["7001",13],["7002",ze.VARIABLE_LENGTH,30],["7003",10],["8001",14],["8002",ze.VARIABLE_LENGTH,20],["8003",ze.VARIABLE_LENGTH,30],["8004",ze.VARIABLE_LENGTH,30],["8005",6],["8006",18],["8007",ze.VARIABLE_LENGTH,30],["8008",ze.VARIABLE_LENGTH,12],["8018",18],["8020",ze.VARIABLE_LENGTH,25],["8100",6],["8101",10],["8102",2],["8110",ze.VARIABLE_LENGTH,70],["8200",ze.VARIABLE_LENGTH,70]];class Ve{constructor(e){this.buffer=new I,this.information=e}decodeAllCodes(e,t){let n=t,r=null;for(;;){let t=this.decodeGeneralPurposeField(n,r),i=ze.parseFieldsInGeneralPurpose(t.getNewString());if(null!=i&&e.append(i),r=t.isRemaining()?""+t.getRemainingValue():null,n===t.getNewPosition())break;n=t.getNewPosition()}return e.toString()}isStillNumeric(e){if(e+7>this.information.getSize())return e+4<=this.information.getSize();for(let t=e;t<e+3;++t)if(this.information.get(t))return!0;return this.information.get(e+3)}decodeNumeric(e){if(e+7>this.information.getSize()){let t=this.extractNumericValueFromBitArray(e,4);return new Ue(this.information.getSize(),0===t?Ue.FNC1:t-1,Ue.FNC1)}let t=this.extractNumericValueFromBitArray(e,7);return new Ue(e+7,(t-8)/11,(t-8)%11)}extractNumericValueFromBitArray(e,t){return Ve.extractNumericValueFromBitArray(this.information,e,t)}static extractNumericValueFromBitArray(e,t,n){let r=0;for(let i=0;i<n;++i)e.get(t+i)&&(r|=1<<n-i-1);return r}decodeGeneralPurposeField(e,t){this.buffer.setLengthToZero(),null!=t&&this.buffer.append(t),this.current.setPosition(e);let n=this.parseBlocks();return null!=n&&n.isRemaining()?new He(this.current.getPosition(),this.buffer.toString(),n.getRemainingValue()):new He(this.current.getPosition(),this.buffer.toString())}parseBlocks(){let e,t;do{let n=this.current.getPosition();if(this.current.isAlpha()?(t=this.parseAlphaBlock(),e=t.isFinished()):this.current.isIsoIec646()?(t=this.parseIsoIec646Block(),e=t.isFinished()):(t=this.parseNumericBlock(),e=t.isFinished()),n===this.current.getPosition()&&!e)break}while(!e);return t.getDecodedInformation()}parseNumericBlock(){for(;this.isStillNumeric(this.current.getPosition());){let e=this.decodeNumeric(this.current.getPosition());if(this.current.setPosition(e.getNewPosition()),e.isFirstDigitFNC1()){let t;return t=e.isSecondDigitFNC1()?new He(this.current.getPosition(),this.buffer.toString()):new He(this.current.getPosition(),this.buffer.toString(),e.getSecondDigit()),new je(!0,t)}if(this.buffer.append(e.getFirstDigit()),e.isSecondDigitFNC1()){let e=new He(this.current.getPosition(),this.buffer.toString());return new je(!0,e)}this.buffer.append(e.getSecondDigit())}return this.isNumericToAlphaNumericLatch(this.current.getPosition())&&(this.current.setAlpha(),this.current.incrementPosition(4)),new je(!1)}parseIsoIec646Block(){for(;this.isStillIsoIec646(this.current.getPosition());){let e=this.decodeIsoIec646(this.current.getPosition());if(this.current.setPosition(e.getNewPosition()),e.isFNC1()){let e=new He(this.current.getPosition(),this.buffer.toString());return new je(!0,e)}this.buffer.append(e.getValue())}return this.isAlphaOr646ToNumericLatch(this.current.getPosition())?(this.current.incrementPosition(3),this.current.setNumeric()):this.isAlphaTo646ToAlphaLatch(this.current.getPosition())&&(this.current.getPosition()+5<this.information.getSize()?this.current.incrementPosition(5):this.current.setPosition(this.information.getSize()),this.current.setAlpha()),new je(!1)}parseAlphaBlock(){for(;this.isStillAlpha(this.current.getPosition());){let e=this.decodeAlphanumeric(this.current.getPosition());if(this.current.setPosition(e.getNewPosition()),e.isFNC1()){let e=new He(this.current.getPosition(),this.buffer.toString());return new je(!0,e)}this.buffer.append(e.getValue())}return this.isAlphaOr646ToNumericLatch(this.current.getPosition())?(this.current.incrementPosition(3),this.current.setNumeric()):this.isAlphaTo646ToAlphaLatch(this.current.getPosition())&&(this.current.getPosition()+5<this.information.getSize()?this.current.incrementPosition(5):this.current.setPosition(this.information.getSize()),this.current.setIsoIec646()),new je(!1)}isStillIsoIec646(e){if(e+5>this.information.getSize())return!1;let t=this.extractNumericValueFromBitArray(e,5);if(t>=5&&t<16)return!0;if(e+7>this.information.getSize())return!1;let n=this.extractNumericValueFromBitArray(e,7);if(n>=64&&n<116)return!0;if(e+8>this.information.getSize())return!1;let r=this.extractNumericValueFromBitArray(e,8);return r>=232&&r<253}decodeIsoIec646(e){let t=this.extractNumericValueFromBitArray(e,5);if(15===t)return new Fe(e+5,Fe.FNC1);if(t>=5&&t<15)return new Fe(e+5,"0"+(t-5));let n,r=this.extractNumericValueFromBitArray(e,7);if(r>=64&&r<90)return new Fe(e+7,""+(r+1));if(r>=90&&r<116)return new Fe(e+7,""+(r+7));switch(this.extractNumericValueFromBitArray(e,8)){case 232:n="!";break;case 233:n='"';break;case 234:n="%";break;case 235:n="&";break;case 236:n="'";break;case 237:n="(";break;case 238:n=")";break;case 239:n="*";break;case 240:n="+";break;case 241:n=",";break;case 242:n="-";break;case 243:n=".";break;case 244:n="/";break;case 245:n=":";break;case 246:n=";";break;case 247:n="<";break;case 248:n="=";break;case 249:n=">";break;case 250:n="?";break;case 251:n="_";break;case 252:n=" ";break;default:throw new A}return new Fe(e+8,n)}isStillAlpha(e){if(e+5>this.information.getSize())return!1;let t=this.extractNumericValueFromBitArray(e,5);if(t>=5&&t<16)return!0;if(e+6>this.information.getSize())return!1;let n=this.extractNumericValueFromBitArray(e,6);return n>=16&&n<63}decodeAlphanumeric(e){let t=this.extractNumericValueFromBitArray(e,5);if(15===t)return new Fe(e+5,Fe.FNC1);if(t>=5&&t<15)return new Fe(e+5,"0"+(t-5));let n,r=this.extractNumericValueFromBitArray(e,6);if(r>=32&&r<58)return new Fe(e+6,""+(r+33));switch(r){case 58:n="*";break;case 59:n=",";break;case 60:n="-";break;case 61:n=".";break;case 62:n="/";break;default:throw new ne("Decoding invalid alphanumeric value: "+r)}return new Fe(e+6,n)}isAlphaTo646ToAlphaLatch(e){if(e+1>this.information.getSize())return!1;for(let t=0;t<5&&t+e<this.information.getSize();++t)if(2===t){if(!this.information.get(e+2))return!1}else if(this.information.get(e+t))return!1;return!0}isAlphaOr646ToNumericLatch(e){if(e+3>this.information.getSize())return!1;for(let t=e;t<e+3;++t)if(this.information.get(t))return!1;return!0}isNumericToAlphaNumericLatch(e){if(e+1>this.information.getSize())return!1;for(let t=0;t<4&&t+e<this.information.getSize();++t)if(this.information.get(e+t))return!1;return!0}}class We{constructor(e){this.information=e,this.generalDecoder=new Ve(e)}getInformation(){return this.information}getGeneralDecoder(){return this.generalDecoder}}class Ge extends We{constructor(e){super(e)}encodeCompressedGtin(e,t){e.append("(01)");let n=e.length();e.append("9"),this.encodeCompressedGtinWithoutAI(e,t,n)}encodeCompressedGtinWithoutAI(e,t,n){for(let n=0;n<4;++n){let r=this.getGeneralDecoder().extractNumericValueFromBitArray(t+10*n,10);r/100==0&&e.append("0"),r/10==0&&e.append("0"),e.append(r)}Ge.appendCheckDigit(e,n)}static appendCheckDigit(e,t){let n=0;for(let r=0;r<13;r++){let i=e.charAt(r+t).charCodeAt(0)-"0".charCodeAt(0);n+=0==(1&r)?3*i:i}n=10-n%10,10===n&&(n=0),e.append(n)}}Ge.GTIN_SIZE=40;class qe extends Ge{constructor(e){super(e)}parseInformation(){let e=new I;e.append("(01)");let t=e.length(),n=this.getGeneralDecoder().extractNumericValueFromBitArray(qe.HEADER_SIZE,4);return e.append(n),this.encodeCompressedGtinWithoutAI(e,qe.HEADER_SIZE+4,t),this.getGeneralDecoder().decodeAllCodes(e,qe.HEADER_SIZE+44)}}qe.HEADER_SIZE=4;class Ye extends We{constructor(e){super(e)}parseInformation(){let e=new I;return this.getGeneralDecoder().decodeAllCodes(e,Ye.HEADER_SIZE)}}Ye.HEADER_SIZE=5;class Xe extends Ge{constructor(e){super(e)}encodeCompressedWeight(e,t,n){let r=this.getGeneralDecoder().extractNumericValueFromBitArray(t,n);this.addWeightCode(e,r);let i=this.checkWeight(r),o=1e5;for(let t=0;t<5;++t)i/o==0&&e.append("0"),o/=10;e.append(i)}}class Ze extends Xe{constructor(e){super(e)}parseInformation(){if(this.getInformation().getSize()!=Ze.HEADER_SIZE+Xe.GTIN_SIZE+Ze.WEIGHT_SIZE)throw new M;let e=new I;return this.encodeCompressedGtin(e,Ze.HEADER_SIZE),this.encodeCompressedWeight(e,Ze.HEADER_SIZE+Xe.GTIN_SIZE,Ze.WEIGHT_SIZE),e.toString()}}Ze.HEADER_SIZE=5,Ze.WEIGHT_SIZE=15;class Qe extends Ze{constructor(e){super(e)}addWeightCode(e,t){e.append("(3103)")}checkWeight(e){return e}}class Ke extends Ze{constructor(e){super(e)}addWeightCode(e,t){t<1e4?e.append("(3202)"):e.append("(3203)")}checkWeight(e){return e<1e4?e:e-1e4}}class Je extends Ge{constructor(e){super(e)}parseInformation(){if(this.getInformation().getSize()<Je.HEADER_SIZE+Ge.GTIN_SIZE)throw new M;let e=new I;this.encodeCompressedGtin(e,Je.HEADER_SIZE);let t=this.getGeneralDecoder().extractNumericValueFromBitArray(Je.HEADER_SIZE+Ge.GTIN_SIZE,Je.LAST_DIGIT_SIZE);e.append("(392"),e.append(t),e.append(")");let n=this.getGeneralDecoder().decodeGeneralPurposeField(Je.HEADER_SIZE+Ge.GTIN_SIZE+Je.LAST_DIGIT_SIZE,null);return e.append(n.getNewString()),e.toString()}}Je.HEADER_SIZE=8,Je.LAST_DIGIT_SIZE=2;class et extends Ge{constructor(e){super(e)}parseInformation(){if(this.getInformation().getSize()<et.HEADER_SIZE+Ge.GTIN_SIZE)throw new M;let e=new I;this.encodeCompressedGtin(e,et.HEADER_SIZE);let t=this.getGeneralDecoder().extractNumericValueFromBitArray(et.HEADER_SIZE+Ge.GTIN_SIZE,et.LAST_DIGIT_SIZE);e.append("(393"),e.append(t),e.append(")");let n=this.getGeneralDecoder().extractNumericValueFromBitArray(et.HEADER_SIZE+Ge.GTIN_SIZE+et.LAST_DIGIT_SIZE,et.FIRST_THREE_DIGITS_SIZE);n/100==0&&e.append("0"),n/10==0&&e.append("0"),e.append(n);let r=this.getGeneralDecoder().decodeGeneralPurposeField(et.HEADER_SIZE+Ge.GTIN_SIZE+et.LAST_DIGIT_SIZE+et.FIRST_THREE_DIGITS_SIZE,null);return e.append(r.getNewString()),e.toString()}}et.HEADER_SIZE=8,et.LAST_DIGIT_SIZE=2,et.FIRST_THREE_DIGITS_SIZE=10;class tt extends Xe{constructor(e,t,n){super(e),this.dateCode=n,this.firstAIdigits=t}parseInformation(){if(this.getInformation().getSize()!=tt.HEADER_SIZE+tt.GTIN_SIZE+tt.WEIGHT_SIZE+tt.DATE_SIZE)throw new M;let e=new I;return this.encodeCompressedGtin(e,tt.HEADER_SIZE),this.encodeCompressedWeight(e,tt.HEADER_SIZE+tt.GTIN_SIZE,tt.WEIGHT_SIZE),this.encodeCompressedDate(e,tt.HEADER_SIZE+tt.GTIN_SIZE+tt.WEIGHT_SIZE),e.toString()}encodeCompressedDate(e,t){let n=this.getGeneralDecoder().extractNumericValueFromBitArray(t,tt.DATE_SIZE);if(38400==n)return;e.append("("),e.append(this.dateCode),e.append(")");let r=n%32;n/=32;let i=n%12+1;n/=12;let o=n;o/10==0&&e.append("0"),e.append(o),i/10==0&&e.append("0"),e.append(i),r/10==0&&e.append("0"),e.append(r)}addWeightCode(e,t){e.append("("),e.append(this.firstAIdigits),e.append(t/1e5),e.append(")")}checkWeight(e){return e%1e5}}function nt(e){try{if(e.get(1))return new qe(e);if(!e.get(2))return new Ye(e);switch(Ve.extractNumericValueFromBitArray(e,1,4)){case 4:return new Qe(e);case 5:return new Ke(e)}switch(Ve.extractNumericValueFromBitArray(e,1,5)){case 12:return new Je(e);case 13:return new et(e)}switch(Ve.extractNumericValueFromBitArray(e,1,7)){case 56:return new tt(e,"310","11");case 57:return new tt(e,"320","11");case 58:return new tt(e,"310","13");case 59:return new tt(e,"320","13");case 60:return new tt(e,"310","15");case 61:return new tt(e,"320","15");case 62:return new tt(e,"310","17");case 63:return new tt(e,"320","17")}}catch(t){throw new ne("unknown decoder: "+e)}}tt.HEADER_SIZE=8,tt.WEIGHT_SIZE=20,tt.DATE_SIZE=16;class rt{constructor(e,t,n,r){this.leftchar=e,this.rightchar=t,this.finderpattern=n,this.maybeLast=r}mayBeLast(){return this.maybeLast}getLeftChar(){return this.leftchar}getRightChar(){return this.rightchar}getFinderPattern(){return this.finderpattern}mustBeLast(){return null==this.rightchar}toString(){return"[ "+this.leftchar+", "+this.rightchar+" : "+(null==this.finderpattern?"null":this.finderpattern.getValue())+" ]"}static equals(e,t){return e instanceof rt&&rt.equalsOrNull(e.leftchar,t.leftchar)&&rt.equalsOrNull(e.rightchar,t.rightchar)&&rt.equalsOrNull(e.finderpattern,t.finderpattern)}static equalsOrNull(e,t){return null===e?null===t:rt.equals(e,t)}hashCode(){return this.leftchar.getValue()^this.rightchar.getValue()^this.finderpattern.getValue()}}class it{constructor(e,t,n){this.pairs=e,this.rowNumber=t,this.wasReversed=n}getPairs(){return this.pairs}getRowNumber(){return this.rowNumber}isReversed(){return this.wasReversed}isEquivalent(e){return this.checkEqualitity(this,e)}toString(){return"{ "+this.pairs+" }"}equals(e,t){return e instanceof it&&this.checkEqualitity(e,t)&&e.wasReversed===t.wasReversed}checkEqualitity(e,t){if(!e||!t)return;let n;return e.forEach(((e,r)=>{t.forEach((t=>{e.getLeftChar().getValue()===t.getLeftChar().getValue()&&e.getRightChar().getValue()===t.getRightChar().getValue()&&e.getFinderPatter().getValue()===t.getFinderPatter().getValue()&&(n=!0)}))})),n}}class ot extends Ne{constructor(e){super(...arguments),this.pairs=new Array(ot.MAX_PAIRS),this.rows=new Array,this.startEnd=[2],this.verbose=!0===e}decodeRow(e,t,n){this.pairs.length=0,this.startFromEven=!1;try{return ot.constructResult(this.decodeRow2pairs(e,t))}catch(e){this.verbose}return this.pairs.length=0,this.startFromEven=!0,ot.constructResult(this.decodeRow2pairs(e,t))}reset(){this.pairs.length=0,this.rows.length=0}decodeRow2pairs(e,t){let n,r=!1;for(;!r;)try{this.pairs.push(this.retrieveNextPair(t,this.pairs,e))}catch(e){if(e instanceof M){if(!this.pairs.length)throw new M;r=!0}}if(this.checkChecksum())return this.pairs;if(n=!!this.rows.length,this.storeRow(e,!1),n){let e=this.checkRowsBoolean(!1);if(null!=e)return e;if(e=this.checkRowsBoolean(!0),null!=e)return e}throw new M}checkRowsBoolean(e){if(this.rows.length>25)return this.rows.length=0,null;this.pairs.length=0,e&&(this.rows=this.rows.reverse());let t=null;try{t=this.checkRows(new Array,0)}catch(e){this.verbose}return e&&(this.rows=this.rows.reverse()),t}checkRows(e,t){for(let n=t;n<this.rows.length;n++){let t=this.rows[n];this.pairs.length=0;for(let t of e)this.pairs.push(t.getPairs());if(this.pairs.push(t.getPairs()),!ot.isValidSequence(this.pairs))continue;if(this.checkChecksum())return this.pairs;let r=new Array(e);r.push(t);try{return this.checkRows(r,n+1)}catch(e){this.verbose}}throw new M}static isValidSequence(e){for(let t of ot.FINDER_PATTERN_SEQUENCES){if(e.length>t.length)continue;let n=!0;for(let r=0;r<e.length;r++)if(e[r].getFinderPattern().getValue()!=t[r]){n=!1;break}if(n)return!0}return!1}storeRow(e,t){let n=0,r=!1,i=!1;for(;n<this.rows.length;){let t=this.rows[n];if(t.getRowNumber()>e){i=t.isEquivalent(this.pairs);break}r=t.isEquivalent(this.pairs),n++}i||r||ot.isPartialRow(this.pairs,this.rows)||(this.rows.push(n,new it(this.pairs,e,t)),this.removePartialRows(this.pairs,this.rows))}removePartialRows(e,t){for(let n of t)if(n.getPairs().length!==e.length)for(let t of n.getPairs())for(let n of e)if(rt.equals(t,n))break}static isPartialRow(e,t){for(let n of t){let t=!0;for(let r of e){let e=!1;for(let t of n.getPairs())if(r.equals(t)){e=!0;break}if(!e){t=!1;break}}if(t)return!0}return!1}getRows(){return this.rows}static constructResult(e){let t=nt($e.buildBitArray(e)).parseInformation(),n=e[0].getFinderPattern().getResultPoints(),r=e[e.length-1].getFinderPattern().getResultPoints(),i=[n[0],n[1],r[0],r[1]];return new F(t,null,null,i,U.RSS_EXPANDED,null)}checkChecksum(){let e=this.pairs.get(0),t=e.getLeftChar(),n=e.getRightChar();if(null==n)return!1;let r=n.getChecksumPortion(),i=2;for(let e=1;e<this.pairs.size();++e){let t=this.pairs.get(e);r+=t.getLeftChar().getChecksumPortion(),i++;let n=t.getRightChar();null!=n&&(r+=n.getChecksumPortion(),i++)}return r%=211,211*(i-4)+r==t.getValue()}static getNextSecondBar(e,t){let n;return e.get(t)?(n=e.getNextUnset(t),n=e.getNextSet(n)):(n=e.getNextSet(t),n=e.getNextUnset(n)),n}retrieveNextPair(e,t,n){let r,i=t.length%2==0;this.startFromEven&&(i=!i);let o=!0,a=-1;do{this.findNextPair(e,t,a),r=this.parseFoundFinderPattern(e,n,i),null==r?a=ot.getNextSecondBar(e,this.startEnd[0]):o=!1}while(o);let s,l=this.decodeDataCharacter(e,r,i,!0);if(!this.isEmptyPair(t)&&t[t.length-1].mustBeLast())throw new M;try{s=this.decodeDataCharacter(e,r,i,!1)}catch(e){s=null,this.verbose}return new rt(l,s,r,!0)}isEmptyPair(e){return 0===e.length}findNextPair(e,t,n){let r=this.getDecodeFinderCounters();r[0]=0,r[1]=0,r[2]=0,r[3]=0;let i,o=e.getSize();i=n>=0?n:this.isEmptyPair(t)?0:t[t.length-1].getFinderPattern().getStartEnd()[1];let a=t.length%2!=0;this.startFromEven&&(a=!a);let s=!1;for(;i<o&&(s=!e.get(i),s);)i++;let l=0,c=i;for(let t=i;t<o;t++)if(e.get(t)!=s)r[l]++;else{if(3==l){if(a&&ot.reverseCounters(r),ot.isFinderPattern(r))return this.startEnd[0]=c,void(this.startEnd[1]=t);a&&ot.reverseCounters(r),c+=r[0]+r[1],r[0]=r[2],r[1]=r[3],r[2]=0,r[3]=0,l--}else l++;r[l]=1,s=!s}throw new M}static reverseCounters(e){let t=e.length;for(let n=0;n<t/2;++n){let r=e[n];e[n]=e[t-n-1],e[t-n-1]=r}}parseFoundFinderPattern(e,t,n){let r,i,o;if(n){let t=this.startEnd[0]-1;for(;t>=0&&!e.get(t);)t--;t++,r=this.startEnd[0]-t,i=t,o=this.startEnd[1]}else i=this.startEnd[0],o=e.getNextUnset(this.startEnd[1]+1),r=o-this.startEnd[1];let a,s=this.getDecodeFinderCounters();g.arraycopy(s,0,s,1,s.length-1),s[0]=r;try{a=this.parseFinderValue(s,ot.FINDER_PATTERNS)}catch(e){return null}return new Re(a,[i,o],i,o,t)}decodeDataCharacter(e,t,n,r){let i=this.getDataCharacterCounters();for(let e=0;e<i.length;e++)i[e]=0;if(r)ot.recordPatternInReverse(e,t.getStartEnd()[0],i);else{ot.recordPattern(e,t.getStartEnd()[1],i);for(let e=0,t=i.length-1;e<t;e++,t--){let n=i[e];i[e]=i[t],i[t]=n}}let o=17,a=oe.sum(new Int32Array(i))/o,s=(t.getStartEnd()[1]-t.getStartEnd()[0])/15;if(Math.abs(a-s)/s>.3)throw new M;let l=this.getOddCounts(),c=this.getEvenCounts(),u=this.getOddRoundingErrors(),d=this.getEvenRoundingErrors();for(let e=0;e<i.length;e++){let t=1*i[e]/a,n=t+.5;if(n<1){if(t<.3)throw new M;n=1}else if(n>8){if(t>8.7)throw new M;n=8}let r=e/2;0==(1&e)?(l[r]=n,u[r]=t-n):(c[r]=n,d[r]=t-n)}this.adjustOddEvenCounts(o);let h=4*t.getValue()+(n?0:2)+(r?0:1)-1,f=0,p=0;for(let e=l.length-1;e>=0;e--){if(ot.isNotA1left(t,n,r)){let t=ot.WEIGHTS[h][2*e];p+=l[e]*t}f+=l[e]}let g=0;for(let e=c.length-1;e>=0;e--)if(ot.isNotA1left(t,n,r)){let t=ot.WEIGHTS[h][2*e+1];g+=c[e]*t}let m=p+g;if(0!=(1&f)||f>13||f<4)throw new M;let y=(13-f)/2,v=ot.SYMBOL_WIDEST[y],w=9-v,b=Le.getRSSvalue(l,v,!0),C=Le.getRSSvalue(c,w,!1),S=ot.EVEN_TOTAL_SUBSET[y],A=ot.GSUM[y];return new Pe(b*S+C+A,m)}static isNotA1left(e,t,n){return!(0==e.getValue()&&t&&n)}adjustOddEvenCounts(e){let t=oe.sum(new Int32Array(this.getOddCounts())),n=oe.sum(new Int32Array(this.getEvenCounts())),r=!1,i=!1;t>13?i=!0:t<4&&(r=!0);let o=!1,a=!1;n>13?a=!0:n<4&&(o=!0);let s=t+n-e,l=1==(1&t),c=0==(1&n);if(1==s)if(l){if(c)throw new M;i=!0}else{if(!c)throw new M;a=!0}else if(-1==s)if(l){if(c)throw new M;r=!0}else{if(!c)throw new M;o=!0}else{if(0!=s)throw new M;if(l){if(!c)throw new M;t<n?(r=!0,a=!0):(i=!0,o=!0)}else if(c)throw new M}if(r){if(i)throw new M;ot.increment(this.getOddCounts(),this.getOddRoundingErrors())}if(i&&ot.decrement(this.getOddCounts(),this.getOddRoundingErrors()),o){if(a)throw new M;ot.increment(this.getEvenCounts(),this.getOddRoundingErrors())}a&&ot.decrement(this.getEvenCounts(),this.getEvenRoundingErrors())}}ot.SYMBOL_WIDEST=[7,5,4,3,1],ot.EVEN_TOTAL_SUBSET=[4,20,52,104,204],ot.GSUM=[0,348,1388,2948,3988],ot.FINDER_PATTERNS=[Int32Array.from([1,8,4,1]),Int32Array.from([3,6,4,1]),Int32Array.from([3,4,6,1]),Int32Array.from([3,2,8,1]),Int32Array.from([2,6,5,1]),Int32Array.from([2,2,9,1])],ot.WEIGHTS=[[1,3,9,27,81,32,96,77],[20,60,180,118,143,7,21,63],[189,145,13,39,117,140,209,205],[193,157,49,147,19,57,171,91],[62,186,136,197,169,85,44,132],[185,133,188,142,4,12,36,108],[113,128,173,97,80,29,87,50],[150,28,84,41,123,158,52,156],[46,138,203,187,139,206,196,166],[76,17,51,153,37,111,122,155],[43,129,176,106,107,110,119,146],[16,48,144,10,30,90,59,177],[109,116,137,200,178,112,125,164],[70,210,208,202,184,130,179,115],[134,191,151,31,93,68,204,190],[148,22,66,198,172,94,71,2],[6,18,54,162,64,192,154,40],[120,149,25,75,14,42,126,167],[79,26,78,23,69,207,199,175],[103,98,83,38,114,131,182,124],[161,61,183,127,170,88,53,159],[55,165,73,8,24,72,5,15],[45,135,194,160,58,174,100,89]],ot.FINDER_PAT_A=0,ot.FINDER_PAT_B=1,ot.FINDER_PAT_C=2,ot.FINDER_PAT_D=3,ot.FINDER_PAT_E=4,ot.FINDER_PAT_F=5,ot.FINDER_PATTERN_SEQUENCES=[[ot.FINDER_PAT_A,ot.FINDER_PAT_A],[ot.FINDER_PAT_A,ot.FINDER_PAT_B,ot.FINDER_PAT_B],[ot.FINDER_PAT_A,ot.FINDER_PAT_C,ot.FINDER_PAT_B,ot.FINDER_PAT_D],[ot.FINDER_PAT_A,ot.FINDER_PAT_E,ot.FINDER_PAT_B,ot.FINDER_PAT_D,ot.FINDER_PAT_C],[ot.FINDER_PAT_A,ot.FINDER_PAT_E,ot.FINDER_PAT_B,ot.FINDER_PAT_D,ot.FINDER_PAT_D,ot.FINDER_PAT_F],[ot.FINDER_PAT_A,ot.FINDER_PAT_E,ot.FINDER_PAT_B,ot.FINDER_PAT_D,ot.FINDER_PAT_E,ot.FINDER_PAT_F,ot.FINDER_PAT_F],[ot.FINDER_PAT_A,ot.FINDER_PAT_A,ot.FINDER_PAT_B,ot.FINDER_PAT_B,ot.FINDER_PAT_C,ot.FINDER_PAT_C,ot.FINDER_PAT_D,ot.FINDER_PAT_D],[ot.FINDER_PAT_A,ot.FINDER_PAT_A,ot.FINDER_PAT_B,ot.FINDER_PAT_B,ot.FINDER_PAT_C,ot.FINDER_PAT_C,ot.FINDER_PAT_D,ot.FINDER_PAT_E,ot.FINDER_PAT_E],[ot.FINDER_PAT_A,ot.FINDER_PAT_A,ot.FINDER_PAT_B,ot.FINDER_PAT_B,ot.FINDER_PAT_C,ot.FINDER_PAT_C,ot.FINDER_PAT_D,ot.FINDER_PAT_E,ot.FINDER_PAT_F,ot.FINDER_PAT_F],[ot.FINDER_PAT_A,ot.FINDER_PAT_A,ot.FINDER_PAT_B,ot.FINDER_PAT_B,ot.FINDER_PAT_C,ot.FINDER_PAT_D,ot.FINDER_PAT_D,ot.FINDER_PAT_E,ot.FINDER_PAT_E,ot.FINDER_PAT_F,ot.FINDER_PAT_F]],ot.MAX_PAIRS=11;class at extends Pe{constructor(e,t,n){super(e,t),this.count=0,this.finderPattern=n}getFinderPattern(){return this.finderPattern}getCount(){return this.count}incrementCount(){this.count++}}class st extends Ne{constructor(){super(...arguments),this.possibleLeftPairs=[],this.possibleRightPairs=[]}decodeRow(e,t,n){const r=this.decodePair(t,!1,e,n);st.addOrTally(this.possibleLeftPairs,r),t.reverse();let i=this.decodePair(t,!0,e,n);st.addOrTally(this.possibleRightPairs,i),t.reverse();for(let e of this.possibleLeftPairs)if(e.getCount()>1)for(let t of this.possibleRightPairs)if(t.getCount()>1&&st.checkChecksum(e,t))return st.constructResult(e,t);throw new M}static addOrTally(e,t){if(null==t)return;let n=!1;for(let r of e)if(r.getValue()===t.getValue()){r.incrementCount(),n=!0;break}n||e.push(t)}reset(){this.possibleLeftPairs.length=0,this.possibleRightPairs.length=0}static constructResult(e,t){let n=4537077*e.getValue()+t.getValue(),r=new String(n).toString(),i=new I;for(let e=13-r.length;e>0;e--)i.append("0");i.append(r);let o=0;for(let e=0;e<13;e++){let t=i.charAt(e).charCodeAt(0)-"0".charCodeAt(0);o+=0==(1&e)?3*t:t}o=10-o%10,10===o&&(o=0),i.append(o.toString());let a=e.getFinderPattern().getResultPoints(),s=t.getFinderPattern().getResultPoints();return new F(i.toString(),null,0,[a[0],a[1],s[0],s[1]],U.RSS_14,(new Date).getTime())}static checkChecksum(e,t){let n=(e.getChecksumPortion()+16*t.getChecksumPortion())%79,r=9*e.getFinderPattern().getValue()+t.getFinderPattern().getValue();return r>72&&r--,r>8&&r--,n===r}decodePair(e,t,n,r){try{let i=this.findFinderPattern(e,t),o=this.parseFoundFinderPattern(e,n,t,i),a=null==r?null:r.get(S.NEED_RESULT_POINT_CALLBACK);if(null!=a){let r=(i[0]+i[1])/2;t&&(r=e.getSize()-1-r),a.foundPossibleResultPoint(new se(r,n))}let s=this.decodeDataCharacter(e,o,!0),l=this.decodeDataCharacter(e,o,!1);return new at(1597*s.getValue()+l.getValue(),s.getChecksumPortion()+4*l.getChecksumPortion(),o)}catch(e){return null}}decodeDataCharacter(e,t,n){let r=this.getDataCharacterCounters();for(let e=0;e<r.length;e++)r[e]=0;if(n)we.recordPatternInReverse(e,t.getStartEnd()[0],r);else{we.recordPattern(e,t.getStartEnd()[1]+1,r);for(let e=0,t=r.length-1;e<t;e++,t--){let n=r[e];r[e]=r[t],r[t]=n}}let i=n?16:15,o=oe.sum(new Int32Array(r))/i,a=this.getOddCounts(),s=this.getEvenCounts(),l=this.getOddRoundingErrors(),c=this.getEvenRoundingErrors();for(let e=0;e<r.length;e++){let t=r[e]/o,n=Math.floor(t+.5);n<1?n=1:n>8&&(n=8);let i=Math.floor(e/2);0==(1&e)?(a[i]=n,l[i]=t-n):(s[i]=n,c[i]=t-n)}this.adjustOddEvenCounts(n,i);let u=0,d=0;for(let e=a.length-1;e>=0;e--)d*=9,d+=a[e],u+=a[e];let h=0,f=0;for(let e=s.length-1;e>=0;e--)h*=9,h+=s[e],f+=s[e];let p=d+3*h;if(n){if(0!=(1&u)||u>12||u<4)throw new M;let e=(12-u)/2,t=st.OUTSIDE_ODD_WIDEST[e],n=9-t,r=Le.getRSSvalue(a,t,!1),i=Le.getRSSvalue(s,n,!0),o=st.OUTSIDE_EVEN_TOTAL_SUBSET[e],l=st.OUTSIDE_GSUM[e];return new Pe(r*o+i+l,p)}{if(0!=(1&f)||f>10||f<4)throw new M;let e=(10-f)/2,t=st.INSIDE_ODD_WIDEST[e],n=9-t,r=Le.getRSSvalue(a,t,!0),i=Le.getRSSvalue(s,n,!1),o=st.INSIDE_ODD_TOTAL_SUBSET[e],l=st.INSIDE_GSUM[e];return new Pe(i*o+r+l,p)}}findFinderPattern(e,t){let n=this.getDecodeFinderCounters();n[0]=0,n[1]=0,n[2]=0,n[3]=0;let r=e.getSize(),i=!1,o=0;for(;o<r&&(i=!e.get(o),t!==i);)o++;let a=0,s=o;for(let t=o;t<r;t++)if(e.get(t)!==i)n[a]++;else{if(3===a){if(Ne.isFinderPattern(n))return[s,t];s+=n[0]+n[1],n[0]=n[2],n[1]=n[3],n[2]=0,n[3]=0,a--}else a++;n[a]=1,i=!i}throw new M}parseFoundFinderPattern(e,t,n,r){let i=e.get(r[0]),o=r[0]-1;for(;o>=0&&i!==e.get(o);)o--;o++;const a=r[0]-o,s=this.getDecodeFinderCounters(),l=new Int32Array(s.length);g.arraycopy(s,0,l,1,s.length-1),l[0]=a;const c=this.parseFinderValue(l,st.FINDER_PATTERNS);let u=o,d=r[1];return n&&(u=e.getSize()-1-u,d=e.getSize()-1-d),new Re(c,[o,r[1]],u,d,t)}adjustOddEvenCounts(e,t){let n=oe.sum(new Int32Array(this.getOddCounts())),r=oe.sum(new Int32Array(this.getEvenCounts())),i=!1,o=!1,a=!1,s=!1;e?(n>12?o=!0:n<4&&(i=!0),r>12?s=!0:r<4&&(a=!0)):(n>11?o=!0:n<5&&(i=!0),r>10?s=!0:r<4&&(a=!0));let l=n+r-t,c=(1&n)==(e?1:0),u=1==(1&r);if(1===l)if(c){if(u)throw new M;o=!0}else{if(!u)throw new M;s=!0}else if(-1===l)if(c){if(u)throw new M;i=!0}else{if(!u)throw new M;a=!0}else{if(0!==l)throw new M;if(c){if(!u)throw new M;n<r?(i=!0,s=!0):(o=!0,a=!0)}else if(u)throw new M}if(i){if(o)throw new M;Ne.increment(this.getOddCounts(),this.getOddRoundingErrors())}if(o&&Ne.decrement(this.getOddCounts(),this.getOddRoundingErrors()),a){if(s)throw new M;Ne.increment(this.getEvenCounts(),this.getOddRoundingErrors())}s&&Ne.decrement(this.getEvenCounts(),this.getEvenRoundingErrors())}}st.OUTSIDE_EVEN_TOTAL_SUBSET=[1,10,34,70,126],st.INSIDE_ODD_TOTAL_SUBSET=[4,20,48,81],st.OUTSIDE_GSUM=[0,161,961,2015,2715],st.INSIDE_GSUM=[0,336,1036,1516],st.OUTSIDE_ODD_WIDEST=[8,6,4,3,1],st.INSIDE_ODD_WIDEST=[2,4,6,8],st.FINDER_PATTERNS=[Int32Array.from([3,8,2,1]),Int32Array.from([3,5,5,1]),Int32Array.from([3,3,7,1]),Int32Array.from([3,1,9,1]),Int32Array.from([2,7,4,1]),Int32Array.from([2,5,6,1]),Int32Array.from([2,3,8,1]),Int32Array.from([1,5,7,1]),Int32Array.from([1,3,9,1])];class lt extends we{constructor(e,t){super(),this.readers=[],this.verbose=!0===t;const n=e?e.get(S.POSSIBLE_FORMATS):null,r=e&&void 0!==e.get(S.ASSUME_CODE_39_CHECK_DIGIT);n?((n.includes(U.EAN_13)||n.includes(U.UPC_A)||n.includes(U.EAN_8)||n.includes(U.UPC_E))&&this.readers.push(new ke(e)),n.includes(U.CODE_39)&&this.readers.push(new Ce(r)),n.includes(U.CODE_128)&&this.readers.push(new be),n.includes(U.ITF)&&this.readers.push(new Se),n.includes(U.RSS_14)&&this.readers.push(new st),n.includes(U.RSS_EXPANDED)&&this.readers.push(new ot(this.verbose))):(this.readers.push(new ke(e)),this.readers.push(new Ce),this.readers.push(new ke(e)),this.readers.push(new be),this.readers.push(new Se),this.readers.push(new st),this.readers.push(new ot(this.verbose)))}decodeRow(e,t,n){for(let r=0;r<this.readers.length;r++)try{return this.readers[r].decodeRow(e,t,n)}catch(e){}throw new M}reset(){this.readers.forEach((e=>e.reset()))}}class ct extends B{constructor(e=500,t){super(new lt(t),e,t)}}class ut{constructor(e,t,n){this.ecCodewords=e,this.ecBlocks=[t],n&&this.ecBlocks.push(n)}getECCodewords(){return this.ecCodewords}getECBlocks(){return this.ecBlocks}}class dt{constructor(e,t){this.count=e,this.dataCodewords=t}getCount(){return this.count}getDataCodewords(){return this.dataCodewords}}class ht{constructor(e,t,n,r,i,o){this.versionNumber=e,this.symbolSizeRows=t,this.symbolSizeColumns=n,this.dataRegionSizeRows=r,this.dataRegionSizeColumns=i,this.ecBlocks=o;let a=0;const s=o.getECCodewords(),l=o.getECBlocks();for(let e of l)a+=e.getCount()*(e.getDataCodewords()+s);this.totalCodewords=a}getVersionNumber(){return this.versionNumber}getSymbolSizeRows(){return this.symbolSizeRows}getSymbolSizeColumns(){return this.symbolSizeColumns}getDataRegionSizeRows(){return this.dataRegionSizeRows}getDataRegionSizeColumns(){return this.dataRegionSizeColumns}getTotalCodewords(){return this.totalCodewords}getECBlocks(){return this.ecBlocks}static getVersionForDimensions(e,t){if(0!=(1&e)||0!=(1&t))throw new A;for(let n of ht.VERSIONS)if(n.symbolSizeRows===e&&n.symbolSizeColumns===t)return n;throw new A}toString(){return""+this.versionNumber}static buildVersions(){return[new ht(1,10,10,8,8,new ut(5,new dt(1,3))),new ht(2,12,12,10,10,new ut(7,new dt(1,5))),new ht(3,14,14,12,12,new ut(10,new dt(1,8))),new ht(4,16,16,14,14,new ut(12,new dt(1,12))),new ht(5,18,18,16,16,new ut(14,new dt(1,18))),new ht(6,20,20,18,18,new ut(18,new dt(1,22))),new ht(7,22,22,20,20,new ut(20,new dt(1,30))),new ht(8,24,24,22,22,new ut(24,new dt(1,36))),new ht(9,26,26,24,24,new ut(28,new dt(1,44))),new ht(10,32,32,14,14,new ut(36,new dt(1,62))),new ht(11,36,36,16,16,new ut(42,new dt(1,86))),new ht(12,40,40,18,18,new ut(48,new dt(1,114))),new ht(13,44,44,20,20,new ut(56,new dt(1,144))),new ht(14,48,48,22,22,new ut(68,new dt(1,174))),new ht(15,52,52,24,24,new ut(42,new dt(2,102))),new ht(16,64,64,14,14,new ut(56,new dt(2,140))),new ht(17,72,72,16,16,new ut(36,new dt(4,92))),new ht(18,80,80,18,18,new ut(48,new dt(4,114))),new ht(19,88,88,20,20,new ut(56,new dt(4,144))),new ht(20,96,96,22,22,new ut(68,new dt(4,174))),new ht(21,104,104,24,24,new ut(56,new dt(6,136))),new ht(22,120,120,18,18,new ut(68,new dt(6,175))),new ht(23,132,132,20,20,new ut(62,new dt(8,163))),new ht(24,144,144,22,22,new ut(62,new dt(8,156),new dt(2,155))),new ht(25,8,18,6,16,new ut(7,new dt(1,5))),new ht(26,8,32,6,14,new ut(11,new dt(1,10))),new ht(27,12,26,10,24,new ut(14,new dt(1,16))),new ht(28,12,36,10,16,new ut(18,new dt(1,22))),new ht(29,16,36,14,16,new ut(24,new dt(1,32))),new ht(30,16,48,14,22,new ut(28,new dt(1,49)))]}}ht.VERSIONS=ht.buildVersions();class ft{constructor(e){const t=e.getHeight();if(t<8||t>144||0!=(1&t))throw new A;this.version=ft.readVersion(e),this.mappingBitMatrix=this.extractDataRegion(e),this.readMappingMatrix=new O(this.mappingBitMatrix.getWidth(),this.mappingBitMatrix.getHeight())}getVersion(){return this.version}static readVersion(e){const t=e.getHeight(),n=e.getWidth();return ht.getVersionForDimensions(t,n)}readCodewords(){const e=new Int8Array(this.version.getTotalCodewords());let t=0,n=4,r=0;const i=this.mappingBitMatrix.getHeight(),o=this.mappingBitMatrix.getWidth();let a=!1,s=!1,l=!1,c=!1;do{if(n!==i||0!==r||a)if(n!==i-2||0!==r||0==(3&o)||s)if(n!==i+4||2!==r||0!=(7&o)||l)if(n!==i-2||0!==r||4!=(7&o)||c){do{n<i&&r>=0&&!this.readMappingMatrix.get(r,n)&&(e[t++]=255&this.readUtah(n,r,i,o)),n-=2,r+=2}while(n>=0&&r<o);n+=1,r+=3;do{n>=0&&r<o&&!this.readMappingMatrix.get(r,n)&&(e[t++]=255&this.readUtah(n,r,i,o)),n+=2,r-=2}while(n<i&&r>=0);n+=3,r+=1}else e[t++]=255&this.readCorner4(i,o),n-=2,r+=2,c=!0;else e[t++]=255&this.readCorner3(i,o),n-=2,r+=2,l=!0;else e[t++]=255&this.readCorner2(i,o),n-=2,r+=2,s=!0;else e[t++]=255&this.readCorner1(i,o),n-=2,r+=2,a=!0}while(n<i||r<o);if(t!==this.version.getTotalCodewords())throw new A;return e}readModule(e,t,n,r){return e<0&&(e+=n,t+=4-(n+4&7)),t<0&&(t+=r,e+=4-(r+4&7)),this.readMappingMatrix.set(t,e),this.mappingBitMatrix.get(t,e)}readUtah(e,t,n,r){let i=0;return this.readModule(e-2,t-2,n,r)&&(i|=1),i<<=1,this.readModule(e-2,t-1,n,r)&&(i|=1),i<<=1,this.readModule(e-1,t-2,n,r)&&(i|=1),i<<=1,this.readModule(e-1,t-1,n,r)&&(i|=1),i<<=1,this.readModule(e-1,t,n,r)&&(i|=1),i<<=1,this.readModule(e,t-2,n,r)&&(i|=1),i<<=1,this.readModule(e,t-1,n,r)&&(i|=1),i<<=1,this.readModule(e,t,n,r)&&(i|=1),i}readCorner1(e,t){let n=0;return this.readModule(e-1,0,e,t)&&(n|=1),n<<=1,this.readModule(e-1,1,e,t)&&(n|=1),n<<=1,this.readModule(e-1,2,e,t)&&(n|=1),n<<=1,this.readModule(0,t-2,e,t)&&(n|=1),n<<=1,this.readModule(0,t-1,e,t)&&(n|=1),n<<=1,this.readModule(1,t-1,e,t)&&(n|=1),n<<=1,this.readModule(2,t-1,e,t)&&(n|=1),n<<=1,this.readModule(3,t-1,e,t)&&(n|=1),n}readCorner2(e,t){let n=0;return this.readModule(e-3,0,e,t)&&(n|=1),n<<=1,this.readModule(e-2,0,e,t)&&(n|=1),n<<=1,this.readModule(e-1,0,e,t)&&(n|=1),n<<=1,this.readModule(0,t-4,e,t)&&(n|=1),n<<=1,this.readModule(0,t-3,e,t)&&(n|=1),n<<=1,this.readModule(0,t-2,e,t)&&(n|=1),n<<=1,this.readModule(0,t-1,e,t)&&(n|=1),n<<=1,this.readModule(1,t-1,e,t)&&(n|=1),n}readCorner3(e,t){let n=0;return this.readModule(e-1,0,e,t)&&(n|=1),n<<=1,this.readModule(e-1,t-1,e,t)&&(n|=1),n<<=1,this.readModule(0,t-3,e,t)&&(n|=1),n<<=1,this.readModule(0,t-2,e,t)&&(n|=1),n<<=1,this.readModule(0,t-1,e,t)&&(n|=1),n<<=1,this.readModule(1,t-3,e,t)&&(n|=1),n<<=1,this.readModule(1,t-2,e,t)&&(n|=1),n<<=1,this.readModule(1,t-1,e,t)&&(n|=1),n}readCorner4(e,t){let n=0;return this.readModule(e-3,0,e,t)&&(n|=1),n<<=1,this.readModule(e-2,0,e,t)&&(n|=1),n<<=1,this.readModule(e-1,0,e,t)&&(n|=1),n<<=1,this.readModule(0,t-2,e,t)&&(n|=1),n<<=1,this.readModule(0,t-1,e,t)&&(n|=1),n<<=1,this.readModule(1,t-1,e,t)&&(n|=1),n<<=1,this.readModule(2,t-1,e,t)&&(n|=1),n<<=1,this.readModule(3,t-1,e,t)&&(n|=1),n}extractDataRegion(e){const t=this.version.getSymbolSizeRows(),n=this.version.getSymbolSizeColumns();if(e.getHeight()!==t)throw new d("Dimension of bitMatrix must match the version size");const r=this.version.getDataRegionSizeRows(),i=this.version.getDataRegionSizeColumns(),o=t/r|0,a=n/i|0,s=new O(a*i,o*r);for(let t=0;t<o;++t){const n=t*r;for(let o=0;o<a;++o){const a=o*i;for(let l=0;l<r;++l){const c=t*(r+2)+1+l,u=n+l;for(let t=0;t<i;++t){const n=o*(i+2)+1+t;if(e.get(n,c)){const e=a+t;s.set(e,u)}}}}}return s}}class pt{constructor(e,t){this.numDataCodewords=e,this.codewords=t}static getDataBlocks(e,t){const n=t.getECBlocks();let r=0;const i=n.getECBlocks();for(let e of i)r+=e.getCount();const o=new Array(r);let a=0;for(let e of i)for(let t=0;t<e.getCount();t++){const t=e.getDataCodewords(),r=n.getECCodewords()+t;o[a++]=new pt(t,new Uint8Array(r))}const s=o[0].codewords.length-n.getECCodewords(),l=s-1;let c=0;for(let t=0;t<l;t++)for(let n=0;n<a;n++)o[n].codewords[t]=e[c++];const u=24===t.getVersionNumber(),h=u?8:a;for(let t=0;t<h;t++)o[t].codewords[s-1]=e[c++];const f=o[0].codewords.length;for(let t=s;t<f;t++)for(let n=0;n<a;n++){const r=u?(n+8)%a:n,i=u&&r>7?t-1:t;o[r].codewords[i]=e[c++]}if(c!==e.length)throw new d;return o}getNumDataCodewords(){return this.numDataCodewords}getCodewords(){return this.codewords}}class gt{constructor(e){this.bytes=e,this.byteOffset=0,this.bitOffset=0}getBitOffset(){return this.bitOffset}getByteOffset(){return this.byteOffset}readBits(e){if(e<1||e>32||e>this.available())throw new d(""+e);let t=0,n=this.bitOffset,r=this.byteOffset;const i=this.bytes;if(n>0){const o=8-n,a=e<o?e:o,s=o-a,l=255>>8-a<<s;t=(i[r]&l)>>s,e-=a,n+=a,8===n&&(n=0,r++)}if(e>0){for(;e>=8;)t=t<<8|255&i[r],r++,e-=8;if(e>0){const o=8-e,a=255>>o<<o;t=t<<e|(i[r]&a)>>o,n+=e}}return this.bitOffset=n,this.byteOffset=r,t}available(){return 8*(this.bytes.length-this.byteOffset)-this.bitOffset}}!function(e){e[e.PAD_ENCODE=0]="PAD_ENCODE",e[e.ASCII_ENCODE=1]="ASCII_ENCODE",e[e.C40_ENCODE=2]="C40_ENCODE",e[e.TEXT_ENCODE=3]="TEXT_ENCODE",e[e.ANSIX12_ENCODE=4]="ANSIX12_ENCODE",e[e.EDIFACT_ENCODE=5]="EDIFACT_ENCODE",e[e.BASE256_ENCODE=6]="BASE256_ENCODE"}(V||(V={}));class mt{static decode(e){const t=new gt(e),n=new I,r=new I,i=new Array;let o=V.ASCII_ENCODE;do{if(o===V.ASCII_ENCODE)o=this.decodeAsciiSegment(t,n,r);else{switch(o){case V.C40_ENCODE:this.decodeC40Segment(t,n);break;case V.TEXT_ENCODE:this.decodeTextSegment(t,n);break;case V.ANSIX12_ENCODE:this.decodeAnsiX12Segment(t,n);break;case V.EDIFACT_ENCODE:this.decodeEdifactSegment(t,n);break;case V.BASE256_ENCODE:this.decodeBase256Segment(t,n,i);break;default:throw new A}o=V.ASCII_ENCODE}}while(o!==V.PAD_ENCODE&&t.available()>0);return r.length()>0&&n.append(r.toString()),new Z(e,n.toString(),0===i.length?null:i,null)}static decodeAsciiSegment(e,t,n){let r=!1;do{let i=e.readBits(8);if(0===i)throw new A;if(i<=128)return r&&(i+=128),t.append(String.fromCharCode(i-1)),V.ASCII_ENCODE;if(129===i)return V.PAD_ENCODE;if(i<=229){const e=i-130;e<10&&t.append("0"),t.append(""+e)}else switch(i){case 230:return V.C40_ENCODE;case 231:return V.BASE256_ENCODE;case 232:t.append(String.fromCharCode(29));break;case 233:case 234:case 241:break;case 235:r=!0;break;case 236:t.append("[)>�05�"),n.insert(0,"��");break;case 237:t.append("[)>�06�"),n.insert(0,"��");break;case 238:return V.ANSIX12_ENCODE;case 239:return V.TEXT_ENCODE;case 240:return V.EDIFACT_ENCODE;default:if(254!==i||0!==e.available())throw new A}}while(e.available()>0);return V.ASCII_ENCODE}static decodeC40Segment(e,t){let n=!1;const r=[];let i=0;do{if(8===e.available())return;const o=e.readBits(8);if(254===o)return;this.parseTwoBytes(o,e.readBits(8),r);for(let e=0;e<3;e++){const o=r[e];switch(i){case 0:if(o<3)i=o+1;else{if(!(o<this.C40_BASIC_SET_CHARS.length))throw new A;{const e=this.C40_BASIC_SET_CHARS[o];n?(t.append(String.fromCharCode(e.charCodeAt(0)+128)),n=!1):t.append(e)}}break;case 1:n?(t.append(String.fromCharCode(o+128)),n=!1):t.append(String.fromCharCode(o)),i=0;break;case 2:if(o<this.C40_SHIFT2_SET_CHARS.length){const e=this.C40_SHIFT2_SET_CHARS[o];n?(t.append(String.fromCharCode(e.charCodeAt(0)+128)),n=!1):t.append(e)}else switch(o){case 27:t.append(String.fromCharCode(29));break;case 30:n=!0;break;default:throw new A}i=0;break;case 3:n?(t.append(String.fromCharCode(o+224)),n=!1):t.append(String.fromCharCode(o+96)),i=0;break;default:throw new A}}}while(e.available()>0)}static decodeTextSegment(e,t){let n=!1,r=[],i=0;do{if(8===e.available())return;const o=e.readBits(8);if(254===o)return;this.parseTwoBytes(o,e.readBits(8),r);for(let e=0;e<3;e++){const o=r[e];switch(i){case 0:if(o<3)i=o+1;else{if(!(o<this.TEXT_BASIC_SET_CHARS.length))throw new A;{const e=this.TEXT_BASIC_SET_CHARS[o];n?(t.append(String.fromCharCode(e.charCodeAt(0)+128)),n=!1):t.append(e)}}break;case 1:n?(t.append(String.fromCharCode(o+128)),n=!1):t.append(String.fromCharCode(o)),i=0;break;case 2:if(o<this.TEXT_SHIFT2_SET_CHARS.length){const e=this.TEXT_SHIFT2_SET_CHARS[o];n?(t.append(String.fromCharCode(e.charCodeAt(0)+128)),n=!1):t.append(e)}else switch(o){case 27:t.append(String.fromCharCode(29));break;case 30:n=!0;break;default:throw new A}i=0;break;case 3:if(!(o<this.TEXT_SHIFT3_SET_CHARS.length))throw new A;{const e=this.TEXT_SHIFT3_SET_CHARS[o];n?(t.append(String.fromCharCode(e.charCodeAt(0)+128)),n=!1):t.append(e),i=0}break;default:throw new A}}}while(e.available()>0)}static decodeAnsiX12Segment(e,t){const n=[];do{if(8===e.available())return;const r=e.readBits(8);if(254===r)return;this.parseTwoBytes(r,e.readBits(8),n);for(let e=0;e<3;e++){const r=n[e];switch(r){case 0:t.append("\r");break;case 1:t.append("*");break;case 2:t.append(">");break;case 3:t.append(" ");break;default:if(r<14)t.append(String.fromCharCode(r+44));else{if(!(r<40))throw new A;t.append(String.fromCharCode(r+51))}}}}while(e.available()>0)}static parseTwoBytes(e,t,n){let r=(e<<8)+t-1,i=Math.floor(r/1600);n[0]=i,r-=1600*i,i=Math.floor(r/40),n[1]=i,n[2]=r-40*i}static decodeEdifactSegment(e,t){do{if(e.available()<=16)return;for(let n=0;n<4;n++){let n=e.readBits(6);if(31===n){const t=8-e.getBitOffset();return void(8!==t&&e.readBits(t))}0==(32&n)&&(n|=64),t.append(String.fromCharCode(n))}}while(e.available()>0)}static decodeBase256Segment(e,t,n){let r=1+e.getByteOffset();const i=this.unrandomize255State(e.readBits(8),r++);let o;if(o=0===i?e.available()/8|0:i<250?i:250*(i-249)+this.unrandomize255State(e.readBits(8),r++),o<0)throw new A;const a=new Uint8Array(o);for(let t=0;t<o;t++){if(e.available()<8)throw new A;a[t]=this.unrandomize255State(e.readBits(8),r++)}n.push(a);try{t.append(E.decode(a,x.ISO88591))}catch(e){throw new ne("Platform does not support required encoding: "+e.message)}}static unrandomize255State(e,t){const n=e-(149*t%255+1);return n>=0?n:n+256}}mt.C40_BASIC_SET_CHARS=["*","*","*"," ","0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"],mt.C40_SHIFT2_SET_CHARS=["!",'"',"#","$","%","&","'","(",")","*","+",",","-",".","/",":",";","<","=",">","?","@","[","\\","]","^","_"],mt.TEXT_BASIC_SET_CHARS=["*","*","*"," ","0","1","2","3","4","5","6","7","8","9","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z"],mt.TEXT_SHIFT2_SET_CHARS=mt.C40_SHIFT2_SET_CHARS,mt.TEXT_SHIFT3_SET_CHARS=["`","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","{","|","}","~",String.fromCharCode(127)];class yt{constructor(){this.rsDecoder=new re(ee.DATA_MATRIX_FIELD_256)}decode(e){const t=new ft(e),n=t.getVersion(),r=t.readCodewords(),i=pt.getDataBlocks(r,n);let o=0;for(let e of i)o+=e.getNumDataCodewords();const a=new Uint8Array(o),s=i.length;for(let e=0;e<s;e++){const t=i[e],n=t.getCodewords(),r=t.getNumDataCodewords();this.correctErrors(n,r);for(let t=0;t<r;t++)a[t*s+e]=n[t]}return mt.decode(a)}correctErrors(e,t){const n=new Int32Array(e);try{this.rsDecoder.decode(n,e.length-t)}catch(e){throw new f}for(let r=0;r<t;r++)e[r]=n[r]}}class vt{constructor(e){this.image=e,this.rectangleDetector=new ue(this.image)}detect(){const e=this.rectangleDetector.detect();let t=this.detectSolid1(e);if(t=this.detectSolid2(t),t[3]=this.correctTopRight(t),!t[3])throw new M;t=this.shiftToModuleCenter(t);const n=t[0],r=t[1],i=t[2],o=t[3];let a=this.transitionsBetween(n,o)+1,s=this.transitionsBetween(i,o)+1;1==(1&a)&&(a+=1),1==(1&s)&&(s+=1),4*a<7*s&&4*s<7*a&&(a=s=Math.max(a,s));let l=vt.sampleGrid(this.image,n,r,i,o,a,s);return new le(l,[n,r,i,o])}static shiftPoint(e,t,n){let r=(t.getX()-e.getX())/(n+1),i=(t.getY()-e.getY())/(n+1);return new se(e.getX()+r,e.getY()+i)}static moveAway(e,t,n){let r=e.getX(),i=e.getY();return r<t?r-=1:r+=1,i<n?i-=1:i+=1,new se(r,i)}detectSolid1(e){let t=e[0],n=e[1],r=e[3],i=e[2],o=this.transitionsBetween(t,n),a=this.transitionsBetween(n,r),s=this.transitionsBetween(r,i),l=this.transitionsBetween(i,t),c=o,u=[i,t,n,r];return c>a&&(c=a,u[0]=t,u[1]=n,u[2]=r,u[3]=i),c>s&&(c=s,u[0]=n,u[1]=r,u[2]=i,u[3]=t),c>l&&(u[0]=r,u[1]=i,u[2]=t,u[3]=n),u}detectSolid2(e){let t=e[0],n=e[1],r=e[2],i=e[3],o=this.transitionsBetween(t,i),a=vt.shiftPoint(n,r,4*(o+1)),s=vt.shiftPoint(r,n,4*(o+1));return this.transitionsBetween(a,t)<this.transitionsBetween(s,i)?(e[0]=t,e[1]=n,e[2]=r,e[3]=i):(e[0]=n,e[1]=r,e[2]=i,e[3]=t),e}correctTopRight(e){let t=e[0],n=e[1],r=e[2],i=e[3],o=this.transitionsBetween(t,i),a=this.transitionsBetween(n,i),s=vt.shiftPoint(t,n,4*(a+1)),l=vt.shiftPoint(r,n,4*(o+1));o=this.transitionsBetween(s,i),a=this.transitionsBetween(l,i);let c=new se(i.getX()+(r.getX()-n.getX())/(o+1),i.getY()+(r.getY()-n.getY())/(o+1)),u=new se(i.getX()+(t.getX()-n.getX())/(a+1),i.getY()+(t.getY()-n.getY())/(a+1));return this.isValid(c)?this.isValid(u)?this.transitionsBetween(s,c)+this.transitionsBetween(l,c)>this.transitionsBetween(s,u)+this.transitionsBetween(l,u)?c:u:c:this.isValid(u)?u:null}shiftToModuleCenter(e){let t=e[0],n=e[1],r=e[2],i=e[3],o=this.transitionsBetween(t,i)+1,a=this.transitionsBetween(r,i)+1,s=vt.shiftPoint(t,n,4*a),l=vt.shiftPoint(r,n,4*o);o=this.transitionsBetween(s,i)+1,a=this.transitionsBetween(l,i)+1,1==(1&o)&&(o+=1),1==(1&a)&&(a+=1);let c,u,d=(t.getX()+n.getX()+r.getX()+i.getX())/4,h=(t.getY()+n.getY()+r.getY()+i.getY())/4;return t=vt.moveAway(t,d,h),n=vt.moveAway(n,d,h),r=vt.moveAway(r,d,h),i=vt.moveAway(i,d,h),s=vt.shiftPoint(t,n,4*a),s=vt.shiftPoint(s,i,4*o),c=vt.shiftPoint(n,t,4*a),c=vt.shiftPoint(c,r,4*o),l=vt.shiftPoint(r,i,4*a),l=vt.shiftPoint(l,n,4*o),u=vt.shiftPoint(i,r,4*a),u=vt.shiftPoint(u,t,4*o),[s,c,l,u]}isValid(e){return e.getX()>=0&&e.getX()<this.image.getWidth()&&e.getY()>0&&e.getY()<this.image.getHeight()}static sampleGrid(e,t,n,r,i,o,a){return pe.getInstance().sampleGrid(e,o,a,.5,.5,o-.5,.5,o-.5,a-.5,.5,a-.5,t.getX(),t.getY(),i.getX(),i.getY(),r.getX(),r.getY(),n.getX(),n.getY())}transitionsBetween(e,t){let n=Math.trunc(e.getX()),r=Math.trunc(e.getY()),i=Math.trunc(t.getX()),o=Math.trunc(t.getY()),a=Math.abs(o-r)>Math.abs(i-n);if(a){let e=n;n=r,r=e,e=i,i=o,o=e}let s=Math.abs(i-n),l=Math.abs(o-r),c=-s/2,u=r<o?1:-1,d=n<i?1:-1,h=0,f=this.image.get(a?r:n,a?n:r);for(let e=n,t=r;e!==i;e+=d){let n=this.image.get(a?t:e,a?e:t);if(n!==f&&(h++,f=n),c+=l,c>0){if(t===o)break;t+=u,c-=s}}return h}}class wt{constructor(){this.decoder=new yt}decode(e,t=null){let n,r;if(null!=t&&t.has(S.PURE_BARCODE)){const t=wt.extractPureBits(e.getBlackMatrix());n=this.decoder.decode(t),r=wt.NO_POINTS}else{const t=new vt(e.getBlackMatrix()).detect();n=this.decoder.decode(t.getBits()),r=t.getPoints()}const i=n.getRawBytes(),o=new F(n.getText(),i,8*i.length,r,U.DATA_MATRIX,g.currentTimeMillis()),a=n.getByteSegments();null!=a&&o.putMetadata(X.BYTE_SEGMENTS,a);const s=n.getECLevel();return null!=s&&o.putMetadata(X.ERROR_CORRECTION_LEVEL,s),o}reset(){}static extractPureBits(e){const t=e.getTopLeftOnBit(),n=e.getBottomRightOnBit();if(null==t||null==n)throw new M;const r=this.moduleSize(t,e);let i=t[1];const o=n[1];let a=t[0];const s=(n[0]-a+1)/r,l=(o-i+1)/r;if(s<=0||l<=0)throw new M;const c=r/2;i+=c,a+=c;const u=new O(s,l);for(let t=0;t<l;t++){const n=i+t*r;for(let i=0;i<s;i++)e.get(a+i*r,n)&&u.set(i,t)}return u}static moduleSize(e,t){const n=t.getWidth();let r=e[0];const i=e[1];for(;r<n&&t.get(r,i);)r++;if(r===n)throw new M;const o=r-e[0];if(0===o)throw new M;return o}}wt.NO_POINTS=[];class bt extends B{constructor(e=500){super(new wt,e)}}!function(e){e[e.L=0]="L",e[e.M=1]="M",e[e.Q=2]="Q",e[e.H=3]="H"}(W||(W={}));class Ct{constructor(e,t,n){this.value=e,this.stringValue=t,this.bits=n,Ct.FOR_BITS.set(n,this),Ct.FOR_VALUE.set(e,this)}getValue(){return this.value}getBits(){return this.bits}static fromString(e){switch(e){case"L":return Ct.L;case"M":return Ct.M;case"Q":return Ct.Q;case"H":return Ct.H;default:throw new u(e+"not available")}}toString(){return this.stringValue}equals(e){if(!(e instanceof Ct))return!1;const t=e;return this.value===t.value}static forBits(e){if(e<0||e>=Ct.FOR_BITS.size)throw new d;return Ct.FOR_BITS.get(e)}}Ct.FOR_BITS=new Map,Ct.FOR_VALUE=new Map,Ct.L=new Ct(W.L,"L",1),Ct.M=new Ct(W.M,"M",0),Ct.Q=new Ct(W.Q,"Q",3),Ct.H=new Ct(W.H,"H",2);class St{constructor(e){this.errorCorrectionLevel=Ct.forBits(e>>3&3),this.dataMask=7&e}static numBitsDiffering(e,t){return w.bitCount(e^t)}static decodeFormatInformation(e,t){const n=St.doDecodeFormatInformation(e,t);return null!==n?n:St.doDecodeFormatInformation(e^St.FORMAT_INFO_MASK_QR,t^St.FORMAT_INFO_MASK_QR)}static doDecodeFormatInformation(e,t){let n=Number.MAX_SAFE_INTEGER,r=0;for(const i of St.FORMAT_INFO_DECODE_LOOKUP){const o=i[0];if(o===e||o===t)return new St(i[1]);let a=St.numBitsDiffering(e,o);a<n&&(r=i[1],n=a),e!==t&&(a=St.numBitsDiffering(t,o),a<n&&(r=i[1],n=a))}return n<=3?new St(r):null}getErrorCorrectionLevel(){return this.errorCorrectionLevel}getDataMask(){return this.dataMask}hashCode(){return this.errorCorrectionLevel.getBits()<<3|this.dataMask}equals(e){if(!(e instanceof St))return!1;const t=e;return this.errorCorrectionLevel===t.errorCorrectionLevel&&this.dataMask===t.dataMask}}St.FORMAT_INFO_MASK_QR=21522,St.FORMAT_INFO_DECODE_LOOKUP=[Int32Array.from([21522,0]),Int32Array.from([20773,1]),Int32Array.from([24188,2]),Int32Array.from([23371,3]),Int32Array.from([17913,4]),Int32Array.from([16590,5]),Int32Array.from([20375,6]),Int32Array.from([19104,7]),Int32Array.from([30660,8]),Int32Array.from([29427,9]),Int32Array.from([32170,10]),Int32Array.from([30877,11]),Int32Array.from([26159,12]),Int32Array.from([25368,13]),Int32Array.from([27713,14]),Int32Array.from([26998,15]),Int32Array.from([5769,16]),Int32Array.from([5054,17]),Int32Array.from([7399,18]),Int32Array.from([6608,19]),Int32Array.from([1890,20]),Int32Array.from([597,21]),Int32Array.from([3340,22]),Int32Array.from([2107,23]),Int32Array.from([13663,24]),Int32Array.from([12392,25]),Int32Array.from([16177,26]),Int32Array.from([14854,27]),Int32Array.from([9396,28]),Int32Array.from([8579,29]),Int32Array.from([11994,30]),Int32Array.from([11245,31])];class At{constructor(e,...t){this.ecCodewordsPerBlock=e,this.ecBlocks=t}getECCodewordsPerBlock(){return this.ecCodewordsPerBlock}getNumBlocks(){let e=0;const t=this.ecBlocks;for(const n of t)e+=n.getCount();return e}getTotalECCodewords(){return this.ecCodewordsPerBlock*this.getNumBlocks()}getECBlocks(){return this.ecBlocks}}class _t{constructor(e,t){this.count=e,this.dataCodewords=t}getCount(){return this.count}getDataCodewords(){return this.dataCodewords}}class Tt{constructor(e,t,...n){this.versionNumber=e,this.alignmentPatternCenters=t,this.ecBlocks=n;let r=0;const i=n[0].getECCodewordsPerBlock(),o=n[0].getECBlocks();for(const e of o)r+=e.getCount()*(e.getDataCodewords()+i);this.totalCodewords=r}getVersionNumber(){return this.versionNumber}getAlignmentPatternCenters(){return this.alignmentPatternCenters}getTotalCodewords(){return this.totalCodewords}getDimensionForVersion(){return 17+4*this.versionNumber}getECBlocksForLevel(e){return this.ecBlocks[e.getValue()]}static getProvisionalVersionForDimension(e){if(e%4!=1)throw new A;try{return this.getVersionForNumber((e-17)/4)}catch(e){throw new A}}static getVersionForNumber(e){if(e<1||e>40)throw new d;return Tt.VERSIONS[e-1]}static decodeVersionInformation(e){let t=Number.MAX_SAFE_INTEGER,n=0;for(let r=0;r<Tt.VERSION_DECODE_INFO.length;r++){const i=Tt.VERSION_DECODE_INFO[r];if(i===e)return Tt.getVersionForNumber(r+7);const o=St.numBitsDiffering(e,i);o<t&&(n=r+7,t=o)}return t<=3?Tt.getVersionForNumber(n):null}buildFunctionPattern(){const e=this.getDimensionForVersion(),t=new O(e);t.setRegion(0,0,9,9),t.setRegion(e-8,0,8,9),t.setRegion(0,e-8,9,8);const n=this.alignmentPatternCenters.length;for(let e=0;e<n;e++){const r=this.alignmentPatternCenters[e]-2;for(let i=0;i<n;i++)0===e&&(0===i||i===n-1)||e===n-1&&0===i||t.setRegion(this.alignmentPatternCenters[i]-2,r,5,5)}return t.setRegion(6,9,1,e-17),t.setRegion(9,6,e-17,1),this.versionNumber>6&&(t.setRegion(e-11,0,3,6),t.setRegion(0,e-11,6,3)),t}toString(){return""+this.versionNumber}}Tt.VERSION_DECODE_INFO=Int32Array.from([31892,34236,39577,42195,48118,51042,55367,58893,63784,68472,70749,76311,79154,84390,87683,92361,96236,102084,102881,110507,110734,117786,119615,126325,127568,133589,136944,141498,145311,150283,152622,158308,161089,167017]),Tt.VERSIONS=[new Tt(1,new Int32Array(0),new At(7,new _t(1,19)),new At(10,new _t(1,16)),new At(13,new _t(1,13)),new At(17,new _t(1,9))),new Tt(2,Int32Array.from([6,18]),new At(10,new _t(1,34)),new At(16,new _t(1,28)),new At(22,new _t(1,22)),new At(28,new _t(1,16))),new Tt(3,Int32Array.from([6,22]),new At(15,new _t(1,55)),new At(26,new _t(1,44)),new At(18,new _t(2,17)),new At(22,new _t(2,13))),new Tt(4,Int32Array.from([6,26]),new At(20,new _t(1,80)),new At(18,new _t(2,32)),new At(26,new _t(2,24)),new At(16,new _t(4,9))),new Tt(5,Int32Array.from([6,30]),new At(26,new _t(1,108)),new At(24,new _t(2,43)),new At(18,new _t(2,15),new _t(2,16)),new At(22,new _t(2,11),new _t(2,12))),new Tt(6,Int32Array.from([6,34]),new At(18,new _t(2,68)),new At(16,new _t(4,27)),new At(24,new _t(4,19)),new At(28,new _t(4,15))),new Tt(7,Int32Array.from([6,22,38]),new At(20,new _t(2,78)),new At(18,new _t(4,31)),new At(18,new _t(2,14),new _t(4,15)),new At(26,new _t(4,13),new _t(1,14))),new Tt(8,Int32Array.from([6,24,42]),new At(24,new _t(2,97)),new At(22,new _t(2,38),new _t(2,39)),new At(22,new _t(4,18),new _t(2,19)),new At(26,new _t(4,14),new _t(2,15))),new Tt(9,Int32Array.from([6,26,46]),new At(30,new _t(2,116)),new At(22,new _t(3,36),new _t(2,37)),new At(20,new _t(4,16),new _t(4,17)
2),new At(24,new _t(4,12),new _t(4,13))),new Tt(10,Int32Array.from([6,28,50]),new At(18,new _t(2,68),new _t(2,69)),new At(26,new _t(4,43),new _t(1,44)),new At(24,new _t(6,19),new _t(2,20)),new At(28,new _t(6,15),new _t(2,16))),new Tt(11,Int32Array.from([6,30,54]),new At(20,new _t(4,81)),new At(30,new _t(1,50),new _t(4,51)),new At(28,new _t(4,22),new _t(4,23)),new At(24,new _t(3,12),new _t(8,13))),new Tt(12,Int32Array.from([6,32,58]),new At(24,new _t(2,92),new _t(2,93)),new At(22,new _t(6,36),new _t(2,37)),new At(26,new _t(4,20),new _t(6,21)),new At(28,new _t(7,14),new _t(4,15))),new Tt(13,Int32Array.from([6,34,62]),new At(26,new _t(4,107)),new At(22,new _t(8,37),new _t(1,38)),new At(24,new _t(8,20),new _t(4,21)),new At(22,new _t(12,11),new _t(4,12))),new Tt(14,Int32Array.from([6,26,46,66]),new At(30,new _t(3,115),new _t(1,116)),new At(24,new _t(4,40),new _t(5,41)),new At(20,new _t(11,16),new _t(5,17)),new At(24,new _t(11,12),new _t(5,13))),new Tt(15,Int32Array.from([6,26,48,70]),new At(22,new _t(5,87),new _t(1,88)),new At(24,new _t(5,41),new _t(5,42)),new At(30,new _t(5,24),new _t(7,25)),new At(24,new _t(11,12),new _t(7,13))),new Tt(16,Int32Array.from([6,26,50,74]),new At(24,new _t(5,98),new _t(1,99)),new At(28,new _t(7,45),new _t(3,46)),new At(24,new _t(15,19),new _t(2,20)),new At(30,new _t(3,15),new _t(13,16))),new Tt(17,Int32Array.from([6,30,54,78]),new At(28,new _t(1,107),new _t(5,108)),new At(28,new _t(10,46),new _t(1,47)),new At(28,new _t(1,22),new _t(15,23)),new At(28,new _t(2,14),new _t(17,15))),new Tt(18,Int32Array.from([6,30,56,82]),new At(30,new _t(5,120),new _t(1,121)),new At(26,new _t(9,43),new _t(4,44)),new At(28,new _t(17,22),new _t(1,23)),new At(28,new _t(2,14),new _t(19,15))),new Tt(19,Int32Array.from([6,30,58,86]),new At(28,new _t(3,113),new _t(4,114)),new At(26,new _t(3,44),new _t(11,45)),new At(26,new _t(17,21),new _t(4,22)),new At(26,new _t(9,13),new _t(16,14))),new Tt(20,Int32Array.from([6,34,62,90]),new At(28,new _t(3,107),new _t(5,108)),new At(26,new _t(3,41),new _t(13,42)),new At(30,new _t(15,24),new _t(5,25)),new At(28,new _t(15,15),new _t(10,16))),new Tt(21,Int32Array.from([6,28,50,72,94]),new At(28,new _t(4,116),new _t(4,117)),new At(26,new _t(17,42)),new At(28,new _t(17,22),new _t(6,23)),new At(30,new _t(19,16),new _t(6,17))),new Tt(22,Int32Array.from([6,26,50,74,98]),new At(28,new _t(2,111),new _t(7,112)),new At(28,new _t(17,46)),new At(30,new _t(7,24),new _t(16,25)),new At(24,new _t(34,13))),new Tt(23,Int32Array.from([6,30,54,78,102]),new At(30,new _t(4,121),new _t(5,122)),new At(28,new _t(4,47),new _t(14,48)),new At(30,new _t(11,24),new _t(14,25)),new At(30,new _t(16,15),new _t(14,16))),new Tt(24,Int32Array.from([6,28,54,80,106]),new At(30,new _t(6,117),new _t(4,118)),new At(28,new _t(6,45),new _t(14,46)),new At(30,new _t(11,24),new _t(16,25)),new At(30,new _t(30,16),new _t(2,17))),new Tt(25,Int32Array.from([6,32,58,84,110]),new At(26,new _t(8,106),new _t(4,107)),new At(28,new _t(8,47),new _t(13,48)),new At(30,new _t(7,24),new _t(22,25)),new At(30,new _t(22,15),new _t(13,16))),new Tt(26,Int32Array.from([6,30,58,86,114]),new At(28,new _t(10,114),new _t(2,115)),new At(28,new _t(19,46),new _t(4,47)),new At(28,new _t(28,22),new _t(6,23)),new At(30,new _t(33,16),new _t(4,17))),new Tt(27,Int32Array.from([6,34,62,90,118]),new At(30,new _t(8,122),new _t(4,123)),new At(28,new _t(22,45),new _t(3,46)),new At(30,new _t(8,23),new _t(26,24)),new At(30,new _t(12,15),new _t(28,16))),new Tt(28,Int32Array.from([6,26,50,74,98,122]),new At(30,new _t(3,117),new _t(10,118)),new At(28,new _t(3,45),new _t(23,46)),new At(30,new _t(4,24),new _t(31,25)),new At(30,new _t(11,15),new _t(31,16))),new Tt(29,Int32Array.from([6,30,54,78,102,126]),new At(30,new _t(7,116),new _t(7,117)),new At(28,new _t(21,45),new _t(7,46)),new At(30,new _t(1,23),new _t(37,24)),new At(30,new _t(19,15),new _t(26,16))),new Tt(30,Int32Array.from([6,26,52,78,104,130]),new At(30,new _t(5,115),new _t(10,116)),new At(28,new _t(19,47),new _t(10,48)),new At(30,new _t(15,24),new _t(25,25)),new At(30,new _t(23,15),new _t(25,16))),new Tt(31,Int32Array.from([6,30,56,82,108,134]),new At(30,new _t(13,115),new _t(3,116)),new At(28,new _t(2,46),new _t(29,47)),new At(30,new _t(42,24),new _t(1,25)),new At(30,new _t(23,15),new _t(28,16))),new Tt(32,Int32Array.from([6,34,60,86,112,138]),new At(30,new _t(17,115)),new At(28,new _t(10,46),new _t(23,47)),new At(30,new _t(10,24),new _t(35,25)),new At(30,new _t(19,15),new _t(35,16))),new Tt(33,Int32Array.from([6,30,58,86,114,142]),new At(30,new _t(17,115),new _t(1,116)),new At(28,new _t(14,46),new _t(21,47)),new At(30,new _t(29,24),new _t(19,25)),new At(30,new _t(11,15),new _t(46,16))),new Tt(34,Int32Array.from([6,34,62,90,118,146]),new At(30,new _t(13,115),new _t(6,116)),new At(28,new _t(14,46),new _t(23,47)),new At(30,new _t(44,24),new _t(7,25)),new At(30,new _t(59,16),new _t(1,17))),new Tt(35,Int32Array.from([6,30,54,78,102,126,150]),new At(30,new _t(12,121),new _t(7,122)),new At(28,new _t(12,47),new _t(26,48)),new At(30,new _t(39,24),new _t(14,25)),new At(30,new _t(22,15),new _t(41,16))),new Tt(36,Int32Array.from([6,24,50,76,102,128,154]),new At(30,new _t(6,121),new _t(14,122)),new At(28,new _t(6,47),new _t(34,48)),new At(30,new _t(46,24),new _t(10,25)),new At(30,new _t(2,15),new _t(64,16))
vendor: 25,356 bytes, line 2
2),new Tt(37,Int32Array.from([6,28,54,80,106,132,158]),new At(30,new _t(17,122),new _t(4,123)),new At(28,new _t(29,46),new _t(14,47)),new At(30,new _t(49,24),new _t(10,25)),new At(30,new _t(24,15),new _t(46,16))),new Tt(38,Int32Array.from([6,32,58,84,110,136,162]),new At(30,new _t(4,122),new _t(18,123)),new At(28,new _t(13,46),new _t(32,47)),new At(30,new _t(48,24),new _t(14,25)),new At(30,new _t(42,15),new _t(32,16))),new Tt(39,Int32Array.from([6,26,54,82,110,138,166]),new At(30,new _t(20,117),new _t(4,118)),new At(28,new _t(40,47),new _t(7,48)),new At(30,new _t(43,24),new _t(22,25)),new At(30,new _t(10,15),new _t(67,16))),new Tt(40,Int32Array.from([6,30,58,86,114,142,170]),new At(30,new _t(19,118),new _t(6,119)),new At(28,new _t(18,47),new _t(31,48)),new At(30,new _t(34,24),new _t(34,25)),new At(30,new _t(20,15),new _t(61,16)))],function(e){e[e.DATA_MASK_000=0]="DATA_MASK_000",e[e.DATA_MASK_001=1]="DATA_MASK_001",e[e.DATA_MASK_010=2]="DATA_MASK_010",e[e.DATA_MASK_011=3]="DATA_MASK_011",e[e.DATA_MASK_100=4]="DATA_MASK_100",e[e.DATA_MASK_101=5]="DATA_MASK_101",e[e.DATA_MASK_110=6]="DATA_MASK_110",e[e.DATA_MASK_111=7]="DATA_MASK_111"}(G||(G={}));class Et{constructor(e,t){this.value=e,this.isMasked=t}unmaskBitMatrix(e,t){for(let n=0;n<t;n++)for(let r=0;r<t;r++)this.isMasked(n,r)&&e.flip(r,n)}}Et.values=new Map([[G.DATA_MASK_000,new Et(G.DATA_MASK_000,((e,t)=>0==(e+t&1)))],[G.DATA_MASK_001,new Et(G.DATA_MASK_001,((e,t)=>0==(1&e)))],[G.DATA_MASK_010,new Et(G.DATA_MASK_010,((e,t)=>t%3==0))],[G.DATA_MASK_011,new Et(G.DATA_MASK_011,((e,t)=>(e+t)%3==0))],[G.DATA_MASK_100,new Et(G.DATA_MASK_100,((e,t)=>0==(Math.floor(e/2)+Math.floor(t/3)&1)))],[G.DATA_MASK_101,new Et(G.DATA_MASK_101,((e,t)=>e*t%6==0))],[G.DATA_MASK_110,new Et(G.DATA_MASK_110,((e,t)=>e*t%6<3))],[G.DATA_MASK_111,new Et(G.DATA_MASK_111,((e,t)=>0==(e+t+e*t%3&1)))]]);class xt{constructor(e){const t=e.getHeight();if(t<21||1!=(3&t))throw new A;this.bitMatrix=e}readFormatInformation(){if(null!==this.parsedFormatInfo&&void 0!==this.parsedFormatInfo)return this.parsedFormatInfo;let e=0;for(let t=0;t<6;t++)e=this.copyBit(t,8,e);e=this.copyBit(7,8,e),e=this.copyBit(8,8,e),e=this.copyBit(8,7,e);for(let t=5;t>=0;t--)e=this.copyBit(8,t,e);const t=this.bitMatrix.getHeight();let n=0;const r=t-7;for(let e=t-1;e>=r;e--)n=this.copyBit(8,e,n);for(let e=t-8;e<t;e++)n=this.copyBit(e,8,n);if(this.parsedFormatInfo=St.decodeFormatInformation(e,n),null!==this.parsedFormatInfo)return this.parsedFormatInfo;throw new A}readVersion(){if(null!==this.parsedVersion&&void 0!==this.parsedVersion)return this.parsedVersion;const e=this.bitMatrix.getHeight(),t=Math.floor((e-17)/4);if(t<=6)return Tt.getVersionForNumber(t);let n=0;const r=e-11;for(let t=5;t>=0;t--)for(let i=e-9;i>=r;i--)n=this.copyBit(i,t,n);let i=Tt.decodeVersionInformation(n);if(null!==i&&i.getDimensionForVersion()===e)return this.parsedVersion=i,i;n=0;for(let t=5;t>=0;t--)for(let i=e-9;i>=r;i--)n=this.copyBit(t,i,n);if(i=Tt.decodeVersionInformation(n),null!==i&&i.getDimensionForVersion()===e)return this.parsedVersion=i,i;throw new A}copyBit(e,t,n){return(this.isMirror?this.bitMatrix.get(t,e):this.bitMatrix.get(e,t))?n<<1|1:n<<1}readCodewords(){const e=this.readFormatInformation(),t=this.readVersion(),n=Et.values.get(e.getDataMask()),r=this.bitMatrix.getHeight();n.unmaskBitMatrix(this.bitMatrix,r);const i=t.buildFunctionPattern();let o=!0;const a=new Uint8Array(t.getTotalCodewords());let s=0,l=0,c=0;for(let e=r-1;e>0;e-=2){6===e&&e--;for(let t=0;t<r;t++){const n=o?r-1-t:t;for(let t=0;t<2;t++)i.get(e-t,n)||(c++,l<<=1,this.bitMatrix.get(e-t,n)&&(l|=1),8===c&&(a[s++]=l,c=0,l=0))}o=!o}if(s!==t.getTotalCodewords())throw new A;return a}remask(){if(null===this.parsedFormatInfo)return;const e=Et.values[this.parsedFormatInfo.getDataMask()],t=this.bitMatrix.getHeight();e.unmaskBitMatrix(this.bitMatrix,t)}setMirror(e){this.parsedVersion=null,this.parsedFormatInfo=null,this.isMirror=e}mirror(){const e=this.bitMatrix;for(let t=0,n=e.getWidth();t<n;t++)for(let n=t+1,r=e.getHeight();n<r;n++)e.get(t,n)!==e.get(n,t)&&(e.flip(n,t),e.flip(t,n))}}class It{constructor(e,t){this.numDataCodewords=e,this.codewords=t}static getDataBlocks(e,t,n){if(e.length!==t.getTotalCodewords())throw new d;const r=t.getECBlocksForLevel(n);let i=0;const o=r.getECBlocks();for(const e of o)i+=e.getCount();const a=new Array(i);let s=0;for(const e of o)for(let t=0;t<e.getCount();t++){const t=e.getDataCodewords(),n=r.getECCodewordsPerBlock()+t;a[s++]=new It(t,new Uint8Array(n))}const l=a[0].codewords.length;let c=a.length-1;for(;c>=0&&a[c].codewords.length!==l;)c--;c++;const u=l-r.getECCodewordsPerBlock();let h=0;for(let t=0;t<u;t++)for(let n=0;n<s;n++)a[n].codewords[t]=e[h++];for(let t=c;t<s;t++)a[t].codewords[u]=e[h++];const f=a[0].codewords.length;for(let t=u;t<f;t++)for(let n=0;n<s;n++){const r=n<c?t:t+1;a[n].codewords[r]=e[h++]}return a}getNumDataCodewords(){return this.numDataCodewords}getCodewords(){return this.codewords}}!function(e){e[e.TERMINATOR=0]="TERMINATOR",e[e.NUMERIC=1]="NUMERIC",e[e.ALPHANUMERIC=2]="ALPHANUMERIC",e[e.STRUCTURED_APPEND=3]="STRUCTURED_APPEND",e[e.BYTE=4]="BYTE",e[e.ECI=5]="ECI",e[e.KANJI=6]="KANJI",e[e.FNC1_FIRST_POSITION=7]="FNC1_FIRST_POSITION",e[e.FNC1_SECOND_POSITION=8]="FNC1_SECOND_POSITION",e[e.HANZI=9]="HANZI"}(q||(q={}));class Ot{constructor(e,t,n,r){this.value=e,this.stringValue=t,this.characterCountBitsForVersions=n,this.bits=r,Ot.FOR_BITS.set(r,this),Ot.FOR_VALUE.set(e,this)}static forBits(e){const t=Ot.FOR_BITS.get(e);if(void 0===t)throw new d;return t}getCharacterCountBits(e){const t=e.getVersionNumber();let n;return n=t<=9?0:t<=26?1:2,this.characterCountBitsForVersions[n]}getValue(){return this.value}getBits(){return this.bits}equals(e){if(!(e instanceof Ot))return!1;const t=e;return this.value===t.value}toString(){return this.stringValue}}Ot.FOR_BITS=new Map,Ot.FOR_VALUE=new Map,Ot.TERMINATOR=new Ot(q.TERMINATOR,"TERMINATOR",Int32Array.from([0,0,0]),0),Ot.NUMERIC=new Ot(q.NUMERIC,"NUMERIC",Int32Array.from([10,12,14]),1),Ot.ALPHANUMERIC=new Ot(q.ALPHANUMERIC,"ALPHANUMERIC",Int32Array.from([9,11,13]),2),Ot.STRUCTURED_APPEND=new Ot(q.STRUCTURED_APPEND,"STRUCTURED_APPEND",Int32Array.from([0,0,0]),3),Ot.BYTE=new Ot(q.BYTE,"BYTE",Int32Array.from([8,16,16]),4),Ot.ECI=new Ot(q.ECI,"ECI",Int32Array.from([0,0,0]),7),Ot.KANJI=new Ot(q.KANJI,"KANJI",Int32Array.from([8,10,12]),8),Ot.FNC1_FIRST_POSITION=new Ot(q.FNC1_FIRST_POSITION,"FNC1_FIRST_POSITION",Int32Array.from([0,0,0]),5),Ot.FNC1_SECOND_POSITION=new Ot(q.FNC1_SECOND_POSITION,"FNC1_SECOND_POSITION",Int32Array.from([0,0,0]),9),Ot.HANZI=new Ot(q.HANZI,"HANZI",Int32Array.from([8,10,12]),13);class Mt{static decode(e,t,n,r){const i=new gt(e);let o=new I;const a=new Array;let s=-1,l=-1;try{let e,n=null,c=!1;do{if(i.available()<4)e=Ot.TERMINATOR;else{const t=i.readBits(4);e=Ot.forBits(t)}switch(e){case Ot.TERMINATOR:break;case Ot.FNC1_FIRST_POSITION:case Ot.FNC1_SECOND_POSITION:c=!0;break;case Ot.STRUCTURED_APPEND:if(i.available()<16)throw new A;s=i.readBits(8),l=i.readBits(8);break;case Ot.ECI:const u=Mt.parseECIValue(i);if(n=_.getCharacterSetECIByValue(u),null===n)throw new A;break;case Ot.HANZI:const d=i.readBits(4),h=i.readBits(e.getCharacterCountBits(t));d===Mt.GB2312_SUBSET&&Mt.decodeHanziSegment(i,o,h);break;default:const f=i.readBits(e.getCharacterCountBits(t));switch(e){case Ot.NUMERIC:Mt.decodeNumericSegment(i,o,f);break;case Ot.ALPHANUMERIC:Mt.decodeAlphanumericSegment(i,o,f,c);break;case Ot.BYTE:Mt.decodeByteSegment(i,o,f,n,a,r);break;case Ot.KANJI:Mt.decodeKanjiSegment(i,o,f);break;default:throw new A}}}while(e!==Ot.TERMINATOR)}catch(e){throw new A}return new Z(e,o.toString(),0===a.length?null:a,null===n?null:n.toString(),s,l)}static decodeHanziSegment(e,t,n){if(13*n>e.available())throw new A;const r=new Uint8Array(2*n);let i=0;for(;n>0;){const t=e.readBits(13);let o=t/96<<8&4294967295|t%96;o+=o<959?41377:42657,r[i]=o>>8&255,r[i+1]=255&o,i+=2,n--}try{t.append(E.decode(r,x.GB2312))}catch(e){throw new A(e)}}static decodeKanjiSegment(e,t,n){if(13*n>e.available())throw new A;const r=new Uint8Array(2*n);let i=0;for(;n>0;){const t=e.readBits(13);let o=t/192<<8&4294967295|t%192;o+=o<7936?33088:49472,r[i]=o>>8,r[i+1]=o,i+=2,n--}try{t.append(E.decode(r,x.SHIFT_JIS))}catch(e){throw new A(e)}}static decodeByteSegment(e,t,n,r,i,o){if(8*n>e.available())throw new A;const a=new Uint8Array(n);for(let t=0;t<n;t++)a[t]=e.readBits(8);let s;s=null===r?x.guessEncoding(a,o):r.getName();try{t.append(E.decode(a,s))}catch(e){throw new A(e)}i.push(a)}static toAlphaNumericChar(e){if(e>=Mt.ALPHANUMERIC_CHARS.length)throw new A;return Mt.ALPHANUMERIC_CHARS[e]}static decodeAlphanumericSegment(e,t,n,r){const i=t.length();for(;n>1;){if(e.available()<11)throw new A;const r=e.readBits(11);t.append(Mt.toAlphaNumericChar(Math.floor(r/45))),t.append(Mt.toAlphaNumericChar(r%45)),n-=2}if(1===n){if(e.available()<6)throw new A;t.append(Mt.toAlphaNumericChar(e.readBits(6)))}if(r)for(let e=i;e<t.length();e++)"%"===t.charAt(e)&&(e<t.length()-1&&"%"===t.charAt(e+1)?t.deleteCharAt(e+1):t.setCharAt(e,String.fromCharCode(29)))}static decodeNumericSegment(e,t,n){for(;n>=3;){if(e.available()<10)throw new A;const r=e.readBits(10);if(r>=1e3)throw new A;t.append(Mt.toAlphaNumericChar(Math.floor(r/100))),t.append(Mt.toAlphaNumericChar(Math.floor(r/10)%10)),t.append(Mt.toAlphaNumericChar(r%10)),n-=3}if(2===n){if(e.available()<7)throw new A;const n=e.readBits(7);if(n>=100)throw new A;t.append(Mt.toAlphaNumericChar(Math.floor(n/10))),t.append(Mt.toAlphaNumericChar(n%10))}else if(1===n){if(e.available()<4)throw new A;const n=e.readBits(4);if(n>=10)throw new A;t.append(Mt.toAlphaNumericChar(n))}}static parseECIValue(e){const t=e.readBits(8);if(0==(128&t))return 127&t;if(128==(192&t))return(63&t)<<8&4294967295|e.readBits(8);if(192==(224&t))return(31&t)<<16&4294967295|e.readBits(16);throw new A}}Mt.ALPHANUMERIC_CHARS="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-./:",Mt.GB2312_SUBSET=1;class Dt{constructor(e){this.mirrored=e}isMirrored(){return this.mirrored}applyMirroredCorrection(e){if(!this.mirrored||null===e||e.length<3)return;const t=e[0];e[0]=e[2],e[2]=t}}class kt{constructor(){this.rsDecoder=new re(ee.QR_CODE_FIELD_256)}decodeBooleanArray(e,t){return this.decodeBitMatrix(O.parseFromBooleanArray(e),t)}decodeBitMatrix(e,t){const n=new xt(e);let r=null;try{return this.decodeBitMatrixParser(n,t)}catch(e){r=e}try{n.remask(),n.setMirror(!0),n.readVersion(),n.readFormatInformation(),n.mirror();const e=this.decodeBitMatrixParser(n,t);return e.setOther(new Dt(!0)),e}catch(e){if(null!==r)throw r;throw e}}decodeBitMatrixParser(e,t){const n=e.readVersion(),r=e.readFormatInformation().getErrorCorrectionLevel(),i=e.readCodewords(),o=It.getDataBlocks(i,n,r);let a=0;for(const e of o)a+=e.getNumDataCodewords();const s=new Uint8Array(a);let l=0;for(const e of o){const t=e.getCodewords(),n=e.getNumDataCodewords();this.correctErrors(t,n);for(let e=0;e<n;e++)s[l++]=t[e]}return Mt.decode(s,n,r,t)}correctErrors(e,t){const n=new Int32Array(e);try{this.rsDecoder.decode(n,e.length-t)}catch(e){throw new f}for(let r=0;r<t;r++)e[r]=n[r]}}class Nt extends se{constructor(e,t,n){super(e,t),this.estimatedModuleSize=n}aboutEquals(e,t,n){if(Math.abs(t-this.getY())<=e&&Math.abs(n-this.getX())<=e){const t=Math.abs(e-this.estimatedModuleSize);return t<=1||t<=this.estimatedModuleSize}return!1}combineEstimate(e,t,n){const r=(this.getX()+t)/2,i=(this.getY()+e)/2,o=(this.estimatedModuleSize+n)/2;return new Nt(r,i,o)}}class Pt{constructor(e,t,n,r,i,o,a){this.image=e,this.startX=t,this.startY=n,this.width=r,this.height=i,this.moduleSize=o,this.resultPointCallback=a,this.possibleCenters=[],this.crossCheckStateCount=new Int32Array(3)}find(){const e=this.startX,t=this.height,n=e+this.width,r=this.startY+t/2,i=new Int32Array(3),o=this.image;for(let a=0;a<t;a++){const t=r+(0==(1&a)?Math.floor((a+1)/2):-Math.floor((a+1)/2));i[0]=0,i[1]=0,i[2]=0;let s=e;for(;s<n&&!o.get(s,t);)s++;let l=0;for(;s<n;){if(o.get(s,t))if(1===l)i[1]++;else if(2===l){if(this.foundPatternCross(i)){const e=this.handlePossibleCenter(i,t,s);if(null!==e)return e}i[0]=i[2],i[1]=1,i[2]=0,l=1}else i[++l]++;else 1===l&&l++,i[l]++;s++}if(this.foundPatternCross(i)){const e=this.handlePossibleCenter(i,t,n);if(null!==e)return e}}if(0!==this.possibleCenters.length)return this.possibleCenters[0];throw new M}static centerFromEnd(e,t){return t-e[2]-e[1]/2}foundPatternCross(e){const t=this.moduleSize,n=t/2;for(let r=0;r<3;r++)if(Math.abs(t-e[r])>=n)return!1;return!0}crossCheckVertical(e,t,n,r){const i=this.image,o=i.getHeight(),a=this.crossCheckStateCount;a[0]=0,a[1]=0,a[2]=0;let s=e;for(;s>=0&&i.get(t,s)&&a[1]<=n;)a[1]++,s--;if(s<0||a[1]>n)return NaN;for(;s>=0&&!i.get(t,s)&&a[0]<=n;)a[0]++,s--;if(a[0]>n)return NaN;for(s=e+1;s<o&&i.get(t,s)&&a[1]<=n;)a[1]++,s++;if(s===o||a[1]>n)return NaN;for(;s<o&&!i.get(t,s)&&a[2]<=n;)a[2]++,s++;if(a[2]>n)return NaN;const l=a[0]+a[1]+a[2];return 5*Math.abs(l-r)>=2*r?NaN:this.foundPatternCross(a)?Pt.centerFromEnd(a,s):NaN}handlePossibleCenter(e,t,n){const r=e[0]+e[1]+e[2],i=Pt.centerFromEnd(e,n),o=this.crossCheckVertical(t,i,2*e[1],r);if(!isNaN(o)){const t=(e[0]+e[1]+e[2])/3;for(const e of this.possibleCenters)if(e.aboutEquals(t,o,i))return e.combineEstimate(o,i,t);const n=new Nt(i,o,t);this.possibleCenters.push(n),null!==this.resultPointCallback&&void 0!==this.resultPointCallback&&this.resultPointCallback.foundPossibleResultPoint(n)}return null}}class Rt extends se{constructor(e,t,n,r){super(e,t),this.estimatedModuleSize=n,this.count=r,void 0===r&&(this.count=1)}getEstimatedModuleSize(){return this.estimatedModuleSize}getCount(){return this.count}aboutEquals(e,t,n){if(Math.abs(t-this.getY())<=e&&Math.abs(n-this.getX())<=e){const t=Math.abs(e-this.estimatedModuleSize);return t<=1||t<=this.estimatedModuleSize}return!1}combineEstimate(e,t,n){const r=this.count+1,i=(this.count*this.getX()+t)/r,o=(this.count*this.getY()+e)/r,a=(this.count*this.estimatedModuleSize+n)/r;return new Rt(i,o,a,r)}}class Lt{constructor(e){this.bottomLeft=e[0],this.topLeft=e[1],this.topRight=e[2]}getBottomLeft(){return this.bottomLeft}getTopLeft(){return this.topLeft}getTopRight(){return this.topRight}}class $t{constructor(e,t){this.image=e,this.resultPointCallback=t,this.possibleCenters=[],this.crossCheckStateCount=new Int32Array(5),this.resultPointCallback=t}getImage(){return this.image}getPossibleCenters(){return this.possibleCenters}find(e){const t=null!=e&&void 0!==e.get(S.TRY_HARDER),n=null!=e&&void 0!==e.get(S.PURE_BARCODE),r=this.image,i=r.getHeight(),o=r.getWidth();let a=Math.floor(3*i/(4*$t.MAX_MODULES));(a<$t.MIN_SKIP||t)&&(a=$t.MIN_SKIP);let s=!1;const l=new Int32Array(5);for(let e=a-1;e<i&&!s;e+=a){l[0]=0,l[1]=0,l[2]=0,l[3]=0,l[4]=0;let t=0;for(let i=0;i<o;i++)if(r.get(i,e))1==(1&t)&&t++,l[t]++;else if(0==(1&t))if(4===t)if($t.foundPatternCross(l)){if(!0!==this.handlePossibleCenter(l,e,i,n)){l[0]=l[2],l[1]=l[3],l[2]=l[4],l[3]=1,l[4]=0,t=3;continue}if(a=2,!0===this.hasSkipped)s=this.haveMultiplyConfirmedCenters();else{const t=this.findRowSkip();t>l[2]&&(e+=t-l[2]-a,i=o-1)}t=0,l[0]=0,l[1]=0,l[2]=0,l[3]=0,l[4]=0}else l[0]=l[2],l[1]=l[3],l[2]=l[4],l[3]=1,l[4]=0,t=3;else l[++t]++;else l[t]++;$t.foundPatternCross(l)&&!0===this.handlePossibleCenter(l,e,o,n)&&(a=l[0],this.hasSkipped&&(s=this.haveMultiplyConfirmedCenters()))}const c=this.selectBestPatterns();return se.orderBestPatterns(c),new Lt(c)}static centerFromEnd(e,t){return t-e[4]-e[3]-e[2]/2}static foundPatternCross(e){let t=0;for(let n=0;n<5;n++){const r=e[n];if(0===r)return!1;t+=r}if(t<7)return!1;const n=t/7,r=n/2;return Math.abs(n-e[0])<r&&Math.abs(n-e[1])<r&&Math.abs(3*n-e[2])<3*r&&Math.abs(n-e[3])<r&&Math.abs(n-e[4])<r}getCrossCheckStateCount(){const e=this.crossCheckStateCount;return e[0]=0,e[1]=0,e[2]=0,e[3]=0,e[4]=0,e}crossCheckDiagonal(e,t,n,r){const i=this.getCrossCheckStateCount();let o=0;const a=this.image;for(;e>=o&&t>=o&&a.get(t-o,e-o);)i[2]++,o++;if(e<o||t<o)return!1;for(;e>=o&&t>=o&&!a.get(t-o,e-o)&&i[1]<=n;)i[1]++,o++;if(e<o||t<o||i[1]>n)return!1;for(;e>=o&&t>=o&&a.get(t-o,e-o)&&i[0]<=n;)i[0]++,o++;if(i[0]>n)return!1;const s=a.getHeight(),l=a.getWidth();for(o=1;e+o<s&&t+o<l&&a.get(t+o,e+o);)i[2]++,o++;if(e+o>=s||t+o>=l)return!1;for(;e+o<s&&t+o<l&&!a.get(t+o,e+o)&&i[3]<n;)i[3]++,o++;if(e+o>=s||t+o>=l||i[3]>=n)return!1;for(;e+o<s&&t+o<l&&a.get(t+o,e+o)&&i[4]<n;)i[4]++,o++;if(i[4]>=n)return!1;const c=i[0]+i[1]+i[2]+i[3]+i[4];return Math.abs(c-r)<2*r&&$t.foundPatternCross(i)}crossCheckVertical(e,t,n,r){const i=this.image,o=i.getHeight(),a=this.getCrossCheckStateCount();let s=e;for(;s>=0&&i.get(t,s);)a[2]++,s--;if(s<0)return NaN;for(;s>=0&&!i.get(t,s)&&a[1]<=n;)a[1]++,s--;if(s<0||a[1]>n)return NaN;for(;s>=0&&i.get(t,s)&&a[0]<=n;)a[0]++,s--;if(a[0]>n)return NaN;for(s=e+1;s<o&&i.get(t,s);)a[2]++,s++;if(s===o)return NaN;for(;s<o&&!i.get(t,s)&&a[3]<n;)a[3]++,s++;if(s===o||a[3]>=n)return NaN;for(;s<o&&i.get(t,s)&&a[4]<n;)a[4]++,s++;if(a[4]>=n)return NaN;const l=a[0]+a[1]+a[2]+a[3]+a[4];return 5*Math.abs(l-r)>=2*r?NaN:$t.foundPatternCross(a)?$t.centerFromEnd(a,s):NaN}crossCheckHorizontal(e,t,n,r){const i=this.image,o=i.getWidth(),a=this.getCrossCheckStateCount();let s=e;for(;s>=0&&i.get(s,t);)a[2]++,s--;if(s<0)return NaN;for(;s>=0&&!i.get(s,t)&&a[1]<=n;)a[1]++,s--;if(s<0||a[1]>n)return NaN;for(;s>=0&&i.get(s,t)&&a[0]<=n;)a[0]++,s--;if(a[0]>n)return NaN;for(s=e+1;s<o&&i.get(s,t);)a[2]++,s++;if(s===o)return NaN;for(;s<o&&!i.get(s,t)&&a[3]<n;)a[3]++,s++;if(s===o||a[3]>=n)return NaN;for(;s<o&&i.get(s,t)&&a[4]<n;)a[4]++,s++;if(a[4]>=n)return NaN;const l=a[0]+a[1]+a[2]+a[3]+a[4];return 5*Math.abs(l-r)>=r?NaN:$t.foundPatternCross(a)?$t.centerFromEnd(a,s):NaN}handlePossibleCenter(e,t,n,r){const i=e[0]+e[1]+e[2]+e[3]+e[4];let o=$t.centerFromEnd(e,n),a=this.crossCheckVertical(t,Math.floor(o),e[2],i);if(!isNaN(a)&&(o=this.crossCheckHorizontal(Math.floor(o),Math.floor(a),e[2],i),!isNaN(o)&&(!r||this.crossCheckDiagonal(Math.floor(a),Math.floor(o),e[2],i)))){const e=i/7;let t=!1;const n=this.possibleCenters;for(let r=0,i=n.length;r<i;r++){const i=n[r];if(i.aboutEquals(e,a,o)){n[r]=i.combineEstimate(a,o,e),t=!0;break}}if(!t){const t=new Rt(o,a,e);n.push(t),null!==this.resultPointCallback&&void 0!==this.resultPointCallback&&this.resultPointCallback.foundPossibleResultPoint(t)}return!0}return!1}findRowSkip(){if(this.possibleCenters.length<=1)return 0;let e=null;for(const t of this.possibleCenters)if(t.getCount()>=$t.CENTER_QUORUM){if(null!=e)return this.hasSkipped=!0,Math.floor((Math.abs(e.getX()-t.getX())-Math.abs(e.getY()-t.getY()))/2);e=t}return 0}haveMultiplyConfirmedCenters(){let e=0,t=0;const n=this.possibleCenters.length;for(const n of this.possibleCenters)n.getCount()>=$t.CENTER_QUORUM&&(e++,t+=n.getEstimatedModuleSize());if(e<3)return!1;const r=t/n;let i=0;for(const e of this.possibleCenters)i+=Math.abs(e.getEstimatedModuleSize()-r);return i<=.05*t}selectBestPatterns(){const e=this.possibleCenters.length;if(e<3)throw new M;const t=this.possibleCenters;let n;if(e>3){let r=0,i=0;for(const e of this.possibleCenters){const t=e.getEstimatedModuleSize();r+=t,i+=t*t}n=r/e;let o=Math.sqrt(i/e-n*n);t.sort(((e,t)=>{const r=Math.abs(t.getEstimatedModuleSize()-n),i=Math.abs(e.getEstimatedModuleSize()-n);return r<i?-1:r>i?1:0}));const a=Math.max(.2*n,o);for(let e=0;e<t.length&&t.length>3;e++){const r=t[e];Math.abs(r.getEstimatedModuleSize()-n)>a&&(t.splice(e,1),e--)}}if(t.length>3){let e=0;for(const n of t)e+=n.getEstimatedModuleSize();n=e/t.length,t.sort(((e,t)=>{if(t.getCount()===e.getCount()){const r=Math.abs(t.getEstimatedModuleSize()-n),i=Math.abs(e.getEstimatedModuleSize()-n);return r<i?1:r>i?-1:0}return t.getCount()-e.getCount()})),t.splice(3)}return[t[0],t[1],t[2]]}}$t.CENTER_QUORUM=2,$t.MIN_SKIP=3,$t.MAX_MODULES=57;class jt{constructor(e){this.image=e}getImage(){return this.image}getResultPointCallback(){return this.resultPointCallback}detect(e){this.resultPointCallback=null==e?null:e.get(S.NEED_RESULT_POINT_CALLBACK);const t=new $t(this.image,this.resultPointCallback).find(e);return this.processFinderPatternInfo(t)}processFinderPatternInfo(e){const t=e.getTopLeft(),n=e.getTopRight(),r=e.getBottomLeft(),i=this.calculateModuleSize(t,n,r);if(i<1)throw new M("No pattern found in proccess finder.");const o=jt.computeDimension(t,n,r,i),a=Tt.getProvisionalVersionForDimension(o),s=a.getDimensionForVersion()-7;let l=null;if(a.getAlignmentPatternCenters().length>0){const e=n.getX()-t.getX()+r.getX(),o=n.getY()-t.getY()+r.getY(),a=1-3/s,c=Math.floor(t.getX()+a*(e-t.getX())),u=Math.floor(t.getY()+a*(o-t.getY()));for(let e=4;e<=16;e<<=1)try{l=this.findAlignmentInRegion(i,c,u,e);break}catch(e){if(!(e instanceof M))throw e}}const c=jt.createTransform(t,n,r,l,o),u=jt.sampleGrid(this.image,c,o);let d;return d=null===l?[r,t,n]:[r,t,n,l],new le(u,d)}static createTransform(e,t,n,r,i){const o=i-3.5;let a,s,l,c;return null!==r?(a=r.getX(),s=r.getY(),l=o-3,c=l):(a=t.getX()-e.getX()+n.getX(),s=t.getY()-e.getY()+n.getY(),l=o,c=o),he.quadrilateralToQuadrilateral(3.5,3.5,o,3.5,l,c,3.5,o,e.getX(),e.getY(),t.getX(),t.getY(),a,s,n.getX(),n.getY())}static sampleGrid(e,t,n){return pe.getInstance().sampleGridWithTransform(e,n,n,t)}static computeDimension(e,t,n,r){const i=oe.round(se.distance(e,t)/r),o=oe.round(se.distance(e,n)/r);let a=Math.floor((i+o)/2)+7;switch(3&a){case 0:a++;break;case 2:a--;break;case 3:throw new M("Dimensions could be not found.")}return a}calculateModuleSize(e,t,n){return(this.calculateModuleSizeOneWay(e,t)+this.calculateModuleSizeOneWay(e,n))/2}calculateModuleSizeOneWay(e,t){const n=this.sizeOfBlackWhiteBlackRunBothWays(Math.floor(e.getX()),Math.floor(e.getY()),Math.floor(t.getX()),Math.floor(t.getY())),r=this.sizeOfBlackWhiteBlackRunBothWays(Math.floor(t.getX()),Math.floor(t.getY()),Math.floor(e.getX()),Math.floor(e.getY()));return isNaN(n)?r/7:isNaN(r)?n/7:(n+r)/14}sizeOfBlackWhiteBlackRunBothWays(e,t,n,r){let i=this.sizeOfBlackWhiteBlackRun(e,t,n,r),o=1,a=e-(n-e);a<0?(o=e/(e-a),a=0):a>=this.image.getWidth()&&(o=(this.image.getWidth()-1-e)/(a-e),a=this.image.getWidth()-1);let s=Math.floor(t-(r-t)*o);return o=1,s<0?(o=t/(t-s),s=0):s>=this.image.getHeight()&&(o=(this.image.getHeight()-1-t)/(s-t),s=this.image.getHeight()-1),a=Math.floor(e+(a-e)*o),i+=this.sizeOfBlackWhiteBlackRun(e,t,a,s),i-1}sizeOfBlackWhiteBlackRun(e,t,n,r){const i=Math.abs(r-t)>Math.abs(n-e);if(i){let i=e;e=t,t=i,i=n,n=r,r=i}const o=Math.abs(n-e),a=Math.abs(r-t);let s=-o/2;const l=e<n?1:-1,c=t<r?1:-1;let u=0;const d=n+l;for(let n=e,h=t;n!==d;n+=l){const l=i?h:n,d=i?n:h;if(1===u===this.image.get(l,d)){if(2===u)return oe.distance(n,h,e,t);u++}if(s+=a,s>0){if(h===r)break;h+=c,s-=o}}return 2===u?oe.distance(n+l,r,e,t):NaN}findAlignmentInRegion(e,t,n,r){const i=Math.floor(r*e),o=Math.max(0,t-i),a=Math.min(this.image.getWidth()-1,t+i);if(a-o<3*e)throw new M("Alignment top exceeds estimated module size.");const s=Math.max(0,n-i),l=Math.min(this.image.getHeight()-1,n+i);if(l-s<3*e)throw new M("Alignment bottom exceeds estimated module size.");return new Pt(this.image,o,s,a-o,l-s,e,this.resultPointCallback).find()}}class Bt{constructor(){this.decoder=new kt}getDecoder(){return this.decoder}decode(e,t){let n,r;if(null!=t&&void 0!==t.get(S.PURE_BARCODE)){const i=Bt.extractPureBits(e.getBlackMatrix());n=this.decoder.decodeBitMatrix(i,t),r=Bt.NO_POINTS}else{const i=new jt(e.getBlackMatrix()).detect(t);n=this.decoder.decodeBitMatrix(i.getBits(),t),r=i.getPoints()}n.getOther()instanceof Dt&&n.getOther().applyMirroredCorrection(r);const i=new F(n.getText(),n.getRawBytes(),void 0,r,U.QR_CODE,void 0),o=n.getByteSegments();null!==o&&i.putMetadata(X.BYTE_SEGMENTS,o);const a=n.getECLevel();return null!==a&&i.putMetadata(X.ERROR_CORRECTION_LEVEL,a),n.hasStructuredAppend()&&(i.putMetadata(X.STRUCTURED_APPEND_SEQUENCE,n.getStructuredAppendSequenceNumber()),i.putMetadata(X.STRUCTURED_APPEND_PARITY,n.getStructuredAppendParity())),i}reset(){}static extractPureBits(e){const t=e.getTopLeftOnBit(),n=e.getBottomRightOnBit();if(null===t||null===n)throw new M;const r=this.moduleSize(t,e);let i=t[1],o=n[1],a=t[0],s=n[0];if(a>=s||i>=o)throw new M;if(o-i!=s-a&&(s=a+(o-i),s>=e.getWidth()))throw new M;const l=Math.round((s-a+1)/r),c=Math.round((o-i+1)/r);if(l<=0||c<=0)throw new M;if(c!==l)throw new M;const u=Math.floor(r/2);i+=u,a+=u;const d=a+Math.floor((l-1)*r)-s;if(d>0){if(d>u)throw new M;a-=d}const h=i+Math.floor((c-1)*r)-o;if(h>0){if(h>u)throw new M;i-=h}const f=new O(l,c);for(let t=0;t<c;t++){const n=i+Math.floor(t*r);for(let i=0;i<l;i++)e.get(a+Math.floor(i*r),n)&&f.set(i,t)}return f}static moduleSize(e,t){const n=t.getHeight(),r=t.getWidth();let i=e[0],o=e[1],a=!0,s=0;for(;i<r&&o<n;){if(a!==t.get(i,o)){if(5==++s)break;a=!a}i++,o++}if(i===r||o===n)throw new M;return(i-e[0])/7}}Bt.NO_POINTS=new Array;class Ft{PDF417Common(){}static getBitCountSum(e){return oe.sum(e)}static toIntArray(e){if(null==e||!e.length)return Ft.EMPTY_INT_ARRAY;const t=new Int32Array(e.length);let n=0;for(const r of e)t[n++]=r;return t}static getCodeword(e){const t=v.binarySearch(Ft.SYMBOL_TABLE,262143&e);return t<0?-1:(Ft.CODEWORD_TABLE[t]-1)%Ft.NUMBER_OF_CODEWORDS}}Ft.NUMBER_OF_CODEWORDS=929,Ft.MAX_CODEWORDS_IN_BARCODE=Ft.NUMBER_OF_CODEWORDS-1,Ft.MIN_ROWS_IN_BARCODE=3,Ft.MAX_ROWS_IN_BARCODE=90,Ft.MODULES_IN_CODEWORD=17,Ft.MODULES_IN_STOP_PATTERN=18,Ft.BARS_IN_MODULE=8,Ft.EMPTY_INT_ARRAY=new Int32Array([]),Ft
vendor: 18,272 bytes, line 2
2.SYMBOL_TABLE=Int32Array.from([66142,66170,66206,66236,66290,66292,66350,66382,66396,66454,66470,66476,66594,66600,66614,66626,66628,66632,66640,66654,66662,66668,66682,66690,66718,66720,66748,66758,66776,66798,66802,66804,66820,66824,66832,66846,66848,66876,66880,66936,66950,66956,66968,66992,67006,67022,67036,67042,67044,67048,67062,67118,67150,67164,67214,67228,67256,67294,67322,67350,67366,67372,67398,67404,67416,67438,67474,67476,67490,67492,67496,67510,67618,67624,67650,67656,67664,67678,67686,67692,67706,67714,67716,67728,67742,67744,67772,67782,67788,67800,67822,67826,67828,67842,67848,67870,67872,67900,67904,67960,67974,67992,68016,68030,68046,68060,68066,68068,68072,68086,68104,68112,68126,68128,68156,68160,68216,68336,68358,68364,68376,68400,68414,68448,68476,68494,68508,68536,68546,68548,68552,68560,68574,68582,68588,68654,68686,68700,68706,68708,68712,68726,68750,68764,68792,68802,68804,68808,68816,68830,68838,68844,68858,68878,68892,68920,68976,68990,68994,68996,69e3,69008,69022,69024,69052,69062,69068,69080,69102,69106,69108,69142,69158,69164,69190,69208,69230,69254,69260,69272,69296,69310,69326,69340,69386,69394,69396,69410,69416,69430,69442,69444,69448,69456,69470,69478,69484,69554,69556,69666,69672,69698,69704,69712,69726,69754,69762,69764,69776,69790,69792,69820,69830,69836,69848,69870,69874,69876,69890,69918,69920,69948,69952,70008,70022,70040,70064,70078,70094,70108,70114,70116,70120,70134,70152,70174,70176,70264,70384,70412,70448,70462,70496,70524,70542,70556,70584,70594,70600,70608,70622,70630,70636,70664,70672,70686,70688,70716,70720,70776,70896,71136,71180,71192,71216,71230,71264,71292,71360,71416,71452,71480,71536,71550,71554,71556,71560,71568,71582,71584,71612,71622,71628,71640,71662,71726,71732,71758,71772,71778,71780,71784,71798,71822,71836,71864,71874,71880,71888,71902,71910,71916,71930,71950,71964,71992,72048,72062,72066,72068,72080,72094,72096,72124,72134,72140,72152,72174,72178,72180,72206,72220,72248,72304,72318,72416,72444,72456,72464,72478,72480,72508,72512,72568,72588,72600,72624,72638,72654,72668,72674,72676,72680,72694,72726,72742,72748,72774,72780,72792,72814,72838,72856,72880,72894,72910,72924,72930,72932,72936,72950,72966,72972,72984,73008,73022,73056,73084,73102,73116,73144,73156,73160,73168,73182,73190,73196,73210,73226,73234,73236,73250,73252,73256,73270,73282,73284,73296,73310,73318,73324,73346,73348,73352,73360,73374,73376,73404,73414,73420,73432,73454,73498,73518,73522,73524,73550,73564,73570,73572,73576,73590,73800,73822,73858,73860,73872,73886,73888,73916,73944,73970,73972,73992,74014,74016,74044,74048,74104,74118,74136,74160,74174,74210,74212,74216,74230,74244,74256,74270,74272,74360,74480,74502,74508,74544,74558,74592,74620,74638,74652,74680,74690,74696,74704,74726,74732,74782,74784,74812,74992,75232,75288,75326,75360,75388,75456,75512,75576,75632,75646,75650,75652,75664,75678,75680,75708,75718,75724,75736,75758,75808,75836,75840,75896,76016,76256,76736,76824,76848,76862,76896,76924,76992,77048,77296,77340,77368,77424,77438,77536,77564,77572,77576,77584,77600,77628,77632,77688,77702,77708,77720,77744,77758,77774,77788,77870,77902,77916,77922,77928,77966,77980,78008,78018,78024,78032,78046,78060,78074,78094,78136,78192,78206,78210,78212,78224,78238,78240,78268,78278,78284,78296,78322,78324,78350,78364,78448,78462,78560,78588,78600,78622,78624,78652,78656,78712,78726,78744,78768,78782,78798,78812,78818,78820,78824,78838,78862,78876,78904,78960,78974,79072,79100,79296,79352,79368,79376,79390,79392,79420,79424,79480,79600,79628,79640,79664,79678,79712,79740,79772,79800,79810,79812,79816,79824,79838,79846,79852,79894,79910,79916,79942,79948,79960,79982,79988,80006,80024,80048,80062,80078,80092,80098,80100,80104,80134,80140,80176,80190,80224,80252,80270,80284,80312,80328,80336,80350,80358,80364,80378,80390,80396,80408,80432,80446,80480,80508,80576,80632,80654,80668,80696,80752,80766,80776,80784,80798,80800,80828,80844,80856,80878,80882,80884,80914,80916,80930,80932,80936,80950,80962,80968,80976,80990,80998,81004,81026,81028,81040,81054,81056,81084,81094,81100,81112,81134,81154,81156,81160,81168,81182,81184,81212,81216,81272,81286,81292,81304,81328,81342,81358,81372,81380,81384,81398,81434,81454,81458,81460,81486,81500,81506,81508,81512,81526,81550,81564,81592,81602,81604,81608,81616,81630,81638,81644,81702,81708,81722,81734,81740,81752,81774,81778,81780,82050,82078,82080,82108,82180,82184,82192,82206,82208,82236,82240,82296,82316,82328,82352,82366,82402,82404,82408,82440,82448,82462,82464,82492,82496,82552,82672,82694,82700,82712,82736,82750,82784,82812,82830,82882,82884,82888,82896,82918,82924,82952,82960,82974,82976,83004,83008,83064,83184,83424,83468,83480,83504,83518,83552,83580,83648,83704,83740,83768,83824,83838,83842,83844,83848,83856,83872,83900,83910,83916,83928,83950,83984,84e3,84028,84032,84088,84208,84448,84928,85040,85054,85088,85116,85184,85240,85488,85560,85616,85630,85728,85756,85764,85768,85776,85790,85792,85820,85824,85880,85894,85900,85912,85936,85966,85980,86048,86080,86136,86256,86496,86976,88160,88188,88256,88312,88560,89056,89200,89214,89312,89340,89536,89592,89608,89616,89632,89664,89720,89840,89868,89880,89904,89952,89980,89998,90012,90040,90190,90204,90254,90268,90296,90306,90308,90312,90334,90382,90396,90424,90480,90494,90500,90504,90512,90526,90528,90556,90566,90572,90584,90610,90612,90638,90652,90680,90736,90750,90848,90876,90884,90888,90896,90910,90912,90940,90944,91e3,91014,91020,91032,91056,91070,91086,91100,91106,91108,91112,91126,91150,91164,91192,91248,91262,91360,91388,91584,91640,91664,91678,91680,91708,91712,91768,91888,91928,91952,91966,92e3,92028,92046,92060,92088,92098,92100,92104,92112,92126,92134,92140,92188,92216,92272,92384,92412,92608,92664,93168,93200,93214,93216,93244,93248,93304,93424,93664,93720,93744,93758,93792,93820,93888,93944,93980,94008,94064,94078,94084,94088,94096,94110,94112,94140,94150,94156,94168,94246,94252,94278,94284,94296,94318,94342,94348,94360,94384,94398,94414,94428,94440,94470,94476,94488,94512,94526,94560,94588,94606,94620,94648,94658,94660,94664,94672,94686,94694,94700,94714,94726,94732,94744,94768,94782,94816,94844,94912,94968,94990,95004,95032,95088,95102,95112,95120,95134,95136,95164,95180,95192,95214,95218,95220,95244,95256,95280,95294,95328,95356,95424,95480,95728,95758,95772,95800,95856,95870,95968,95996,96008,96016,96030,96032,96060,96064,96120,96152,96176,96190,96220,96226,96228,96232,96290,96292,96296,96310,96322,96324,96328,96336,96350,96358,96364,96386,96388,96392,96400,96414,96416,96444,96454,96460,96472,96494,96498,96500,96514,96516,96520,96528,96542,96544,96572,96576,96632,96646,96652,96664,96688,96702,96718,96732,96738,96740,96744,96758,96772,96776,96784,96798,96800,96828,96832,96888,97008,97030,97036,97048,97072,97086,97120,97148,97166,97180,97208,97220,97224,97232,97246,97254,97260,97326,97330,97332,97358,97372,97378,97380,97384,97398,97422,97436,97464,97474,97476,97480,97488,97502,97510,97516,97550,97564,97592,97648,97666,97668,97672,97680,97694,97696,97724,97734,97740,97752,97774,97830,97836,97850,97862,97868,97880,97902,97906,97908,97926,97932,97944,97968,97998,98012,98018,98020,98024,98038,98618,98674,98676,98838,98854,98874,98892,98904,98926,98930,98932,98968,99006,99042,99044,99048,99062,99166,99194,99246,99286,99350,99366,99372,99386,99398,99416,99438,99442,99444,99462,99504,99518,99534,99548,99554,99556,99560,99574,99590,99596,99608,99632,99646,99680,99708,99726,99740,99768,99778,99780,99784,99792,99806,99814,99820,99834,99858,99860,99874,99880,99894,99906,99920,99934,99962,99970,99972,99976,99984,99998,1e5,100028,100038,100044,100056,100078,100082,100084,100142,100174,100188,100246,100262,100268,100306,100308,100390,100396,100410,100422,100428,100440,100462,100466,100468,100486,100504,100528,100542,100558,100572,100578,100580,100584,100598,100620,100656,100670,100704,100732,100750,100792,100802,100808,100816,100830,100838,100844,100858,100888,100912,100926,100960,100988,101056,101112,101148,101176,101232,101246,101250,101252,101256,101264,101278,101280,101308,101318,101324,101336,101358,101362,101364,101410,101412,101416,101430,101442,101448,101456,101470,101478,101498,101506,101508,101520,101534,101536,101564,101580,101618,101620,101636,101640,101648,101662,101664,101692,101696,101752,101766,101784,101838,101858,101860,101864,101934,101938,101940,101966,101980,101986,101988,101992,102030,102044,102072,102082,102084,102088,102096,102138,102166,102182,102188,102214,102220,102232,102254,102282,102290,102292,102306,102308,102312,102326,102444,102458,102470,102476,102488,102514,102516,102534,102552,102576,102590,102606,102620,102626,102632,102646,102662,102668,102704,102718,102752,102780,102798,102812,102840,102850,102856,102864,102878,102886,102892,102906,102936,102974,103008,103036,103104,103160,103224,103280,103294,103298,103300,103312,103326,103328,103356,103366,103372,103384,103406,103410,103412,103472,103486,103520,103548,103616,103672,103920,103992,104048,104062,104160,104188,104194,104196,104200,104208,104224,104252,104256,104312,104326,104332,104344,104368,104382,104398,104412,104418,104420,104424,104482,104484,104514,104520,104528,104542,104550,104570,104578,104580,104592,104606,104608,104636,104652,104690,104692,104706,104712,104734,104736,104764,104768,104824,104838,104856,104910,104930,104932,104936,104968,104976,104990,104992,105020,105024,105080,105200,105240,105278,105312,105372,105410,105412,105416,105424,105446,105518,105524,105550,105564,105570,105572,105576,105614,105628,105656,105666,105672,105680,105702,105722,105742,105756,105784,105840,105854,105858,105860,105864,105872,105888,105932,105970,105972,106006,106022,106028,106054,106060,106072,106100,106118,106124,106136,106160,106174,106190,106210,106212,106216,106250,106258,106260,106274,106276,106280,106306,106308,106312,106320,106334,106348,106394,106414,106418,106420,106566,106572,106610,106612,106630,106636,106648,106672,106686,106722,106724,106728,106742,106758,106764,106776,106800,106814,106848,106876,106894,106908,106936,106946,106948,106952,106960,106974,106982,106988,107032,107056,107070,107104,107132,107200,107256,107292,107320,107376,107390,107394,107396,107400,107408,107422,107424,107452,107462,107468,107480,107502,107506,107508,107544,107568,107582,107616,107644,107712,107768,108016,108060,108088,108144,108158,108256,108284,108290,108292,108296,108304,108318,108320,108348,108352,108408,108422,108428,108440,108464,108478,108494,108508,108514,108516,108520,108592,108640,108668,108736,108792,109040,109536,109680,109694,109792,109820,110016,110072,110084,110088,110096,110112,110140,110144,110200,110320,110342,110348,110360,110384,110398,110432,110460,110478,110492,110520,110532,110536,110544,110558,110658,110686,110714,110722,110724,110728,110736,110750,110752,110780,110796,110834,110836,110850,110852,110856,110864,110878,110880,110908,110912,110968,110982,111e3,111054,111074,111076,111080,111108,111112,111120,111134,111136,111164,111168,111224,111344,111372,111422,111456,111516,111554,111556,111560,111568,111590,111632,111646,111648,111676,111680,111736,111856,112096,112152,112224,112252,112320,112440,112514,112516,112520,112528,112542,112544,112588,112686,112718,112732,112782,112796,112824,112834,112836,112840,112848,112870,112890,112910,112924,112952,113008,113022,113026,113028,113032,113040,113054,113056,113100,113138,113140,113166,113180,113208,113264,113278,113376,113404,113416,113424,113440,113468,113472,113560,113614,113634,113636,113640,113686,113702,113708,113734,113740,113752,113778,113780,113798,113804,113816,113840,113854,113870,113890,113892,113896,113926,113932,113944,113968,113982,114016,114044,114076,114114,114116,114120,114128,114150,114170,114194,114196,114210,114212,114216,114242,114244,114248,114256,114270,114278,114306,114308,114312,114320,114334,114336,114364,114380,114420,114458,114478,114482,114484,114510,114524,114530,114532,114536,114842,114866,114868,114970,114994,114996,115042,115044,115048,115062,115130,115226,115250,115252,115278,115292,115298,115300,115304,115318,115342,115394,115396,115400,115408,115422,115430,115436,115450,115478,115494,115514,115526,115532,115570,115572,115738,115758,115762,115764,115790,115804,115810,115812,115816,115830,115854,115868,115896,115906,115912,115920,115934,115942,115948,115962,115996,116024,116080,116094,116098,116100,116104,116112,116126,116128,116156,116166,116172,116184,116206,116210,116212,116246,116262,116268,116282,116294,116300,116312,116334,116338,116340,116358,116364,116376,116400,116414,116430,116444,116450,116452,116456,116498,116500,116514,116520,116534,116546,116548,116552,116560,116574,116582,116588,116602,116654,116694,116714,116762,116782,116786,116788,116814,116828,116834,116836,116840,116854,116878,116892,116920,116930,116936,116944,116958,116966,116972,116986,117006,117048,117104,117118,117122,117124,117136,117150,117152,117180,117190,117196,117208,117230,117234,117236,117304,117360,117374,117472,117500,117506,117508,117512,117520,117536,117564,117568,117624,117638,117644,117656,117680,117694,117710,117724,117730,117732,117736,117750,117782,117798,117804,117818,117830,117848,117874,117876,117894,117936,117950,117966,117986,117988,117992,118022,118028,118040,118064,118078,118112,118140,118172,118210,118212,118216,118224,118238,118246,118266,118306,118312,118338,118352,118366,118374,118394,118402,118404,118408,118416,118430,118432,118460,118476,118514,118516,118574,118578,118580,118606,118620,118626,118628,118632,118678,118694,118700,118730,118738,118740,118830,118834,118836,118862,118876,118882,118884,118888,118902,118926,118940,118968,118978,118980,118984,118992,119006,119014,119020,119034,119068,119096,119152,119166,119170,119172,119176,119184,119198,119200,119228,119238,119244,119256,119278,119282,119284,119324,119352,119408,119422,119520,119548,119554,119556,119560,119568,119582,119584,119612,119616,119672,119686,119692,119704,119728,119742,119758,119772,119778,119780,119784,119798,119920,119934,120032,120060,120256,120312,120324,120328,120336,120352,120384,120440,120560,120582,120588,120600,120624,120638,120672,120700,120718,120732,120760,120770,120772,120776,120784,120798,120806,120812,120870,120876,120890,120902,120908,120920,120946,120948,120966,120972,120984,121008,121022,121038,121058,121060,121064,121078,121100,121112,121136,121150,121184,121212,121244,121282,121284,121288,121296,121318,121338,121356,121368,121392,121406,121440,121468,121536,121592,121656,121730,121732,121736,121744,121758,121760,121804,121842,121844,121890,121922,121924,121928,121936,121950,121958,121978,121986,121988,121992,122e3,122014,122016,122044,122060,122098,122100,122116,122120,122128,122142,122144,122172,122176,122232,122246,122264,122318,122338,122340,122344,122414,122418,122420,122446,122460,122466,122468,122472,122510,122524,122552,122562,122564,122568,122576,122598,122618,122646,122662,122668,122694,122700,122712,122738,122740,122762,122770,122772,122786,122788,122792,123018,123026,123028,123042,123044,123048,123062,123098,123146,123154,123156,123170,123172,123176,123190,123202,123204,123208,123216,123238,123244,123258,123290,123314,123316,123402,123410,123412,123426,123428,123432,123446,123458,123464,123472,123486,123494,123500,123514,123522,123524,123528,123536,123552,123580,123590,123596,123608,123630,123634,123636,123674,123698,123700,123740,123746,123748,123752,123834,123914,123922,123924,123938,123944,123958,123970,123976,123984,123998,124006,124012,124026,124034,124036,124048,124062,124064,124092,124102,124108,124120,124142,124146,124148,124162,124164,124168,124176,124190,124192,124220,124224,124280,124294,124300,124312,124336,124350,124366,124380,124386,124388,124392,124406,124442,124462,124466,124468,124494,124508,124514,124520,124558,124572,124600,124610,124612,124616,124624,124646,124666,124694,124710,124716,124730,124742,124748,124760,124786,124788,124818,124820,124834,124836,124840,124854,124946,124948,124962,124964,124968,124982,124994,124996,125e3,125008,125022,125030,125036,125050,125058,125060,125064,125072,125086,125088,125116,125126,125132,125144,125166,125170,125172,125186,125188,125192,125200,125216,125244,125248,125304,125318,125324,125336,125360,125374,125390,125404,125410,125412,125416,125430,125444,125448,125456,125472,125504,125560,125680,125702,125708,125720,125744,125758,125792,125820,125838,125852,125880,125890,125892,125896,125904,125918,125926,125932,125978,125998,126002,126004,126030,126044,126050,126052,126056,126094,126108,126136,126146,126148,126152,126160,126182,126202,126222,126236,126264,126320,126334,126338,126340,126344,126352,126366,126368,126412,126450,126452,126486,126502,126508,126522,126534,126540,126552,126574,126578,126580,126598,126604,126616,126640,126654,126670,126684,126690,126692,126696,126738,126754,126756,126760,126774,126786,126788,126792,126800,126814,126822,126828,126842,126894,126898,126900,126934,127126,127142,127148,127162,127178,127186,127188,127254,127270,127276,127290,127302,127308,127320,127342,127346,127348,127370,127378,127380,127394,127396,127400,127450,127510,127526,127532,127546,127558,127576,127598,127602,127604,127622,127628,127640,127664,127678,127694,127708,127714,127716,127720,127734,127754,127762,127764,127778,127784,127810,127812,127816,127824,127838,127846,127866,127898,127918,127922,127924,128022,128038,128044,128058,128070,128076,128088,128110,128114,128116,128134,128140,128152,128176,128190,128206,128220,128226,128228,128232,128246,128262,128268,128280,128304,128318,128352,128380,128398,128412,128440,128450,128452,128456,128464,128478,128486,128492,128506,128522,128530,128532,128546,128548,128552,128566,128578,128580,128584,128592,128606,128614,128634,128642,128644,128648,128656,128670,128672,128700,128716,128754,128756,128794,128814,128818,128820,128846,128860,128866,128868,128872,128886,128918,128934,128940,128954,128978,128980,129178,129198,129202,129204,129238,129258,129306,129326,129330,129332,129358,129372,129378,129380,129384,129398,129430,129446,129452,129466,129482,129490,129492,129562,129582,129586,129588,129614,129628,129634,129636,129640,129654,129678,129692,129720,129730,129732,129736,129744,129758,129766,129772,129814,129830,129836,129850,129862,129868,129880,129902,129906,129908,129930,129938,129940,129954,129956,129960,129974,130010]),
2Ft
vendor: 12,867 bytes, line 2
2.CODEWORD_TABLE=Int32Array.from([2627,1819,2622,2621,1813,1812,2729,2724,2723,2779,2774,2773,902,896,908,868,865,861,859,2511,873,871,1780,835,2493,825,2491,842,837,844,1764,1762,811,810,809,2483,807,2482,806,2480,815,814,813,812,2484,817,816,1745,1744,1742,1746,2655,2637,2635,2626,2625,2623,2628,1820,2752,2739,2737,2728,2727,2725,2730,2785,2783,2778,2777,2775,2780,787,781,747,739,736,2413,754,752,1719,692,689,681,2371,678,2369,700,697,694,703,1688,1686,642,638,2343,631,2341,627,2338,651,646,643,2345,654,652,1652,1650,1647,1654,601,599,2322,596,2321,594,2319,2317,611,610,608,606,2324,603,2323,615,614,612,1617,1616,1614,1612,616,1619,1618,2575,2538,2536,905,901,898,909,2509,2507,2504,870,867,864,860,2512,875,872,1781,2490,2489,2487,2485,1748,836,834,832,830,2494,827,2492,843,841,839,845,1765,1763,2701,2676,2674,2653,2648,2656,2634,2633,2631,2629,1821,2638,2636,2770,2763,2761,2750,2745,2753,2736,2735,2733,2731,1848,2740,2738,2786,2784,591,588,576,569,566,2296,1590,537,534,526,2276,522,2274,545,542,539,548,1572,1570,481,2245,466,2242,462,2239,492,485,482,2249,496,494,1534,1531,1528,1538,413,2196,406,2191,2188,425,419,2202,415,2199,432,430,427,1472,1467,1464,433,1476,1474,368,367,2160,365,2159,362,2157,2155,2152,378,377,375,2166,372,2165,369,2162,383,381,379,2168,1419,1418,1416,1414,385,1411,384,1423,1422,1420,1424,2461,802,2441,2439,790,786,783,794,2409,2406,2403,750,742,738,2414,756,753,1720,2367,2365,2362,2359,1663,693,691,684,2373,680,2370,702,699,696,704,1690,1687,2337,2336,2334,2332,1624,2329,1622,640,637,2344,634,2342,630,2340,650,648,645,2346,655,653,1653,1651,1649,1655,2612,2597,2595,2571,2568,2565,2576,2534,2529,2526,1787,2540,2537,907,904,900,910,2503,2502,2500,2498,1768,2495,1767,2510,2508,2506,869,866,863,2513,876,874,1782,2720,2713,2711,2697,2694,2691,2702,2672,2670,2664,1828,2678,2675,2647,2646,2644,2642,1823,2639,1822,2654,2652,2650,2657,2771,1855,2765,2762,1850,1849,2751,2749,2747,2754,353,2148,344,342,336,2142,332,2140,345,1375,1373,306,2130,299,2128,295,2125,319,314,311,2132,1354,1352,1349,1356,262,257,2101,253,2096,2093,274,273,267,2107,263,2104,280,278,275,1316,1311,1308,1320,1318,2052,202,2050,2044,2040,219,2063,212,2060,208,2055,224,221,2066,1260,1258,1252,231,1248,229,1266,1264,1261,1268,155,1998,153,1996,1994,1991,1988,165,164,2007,162,2006,159,2003,2e3,172,171,169,2012,166,2010,1186,1184,1182,1179,175,1176,173,1192,1191,1189,1187,176,1194,1193,2313,2307,2305,592,589,2294,2292,2289,578,572,568,2297,580,1591,2272,2267,2264,1547,538,536,529,2278,525,2275,547,544,541,1574,1571,2237,2235,2229,1493,2225,1489,478,2247,470,2244,465,2241,493,488,484,2250,498,495,1536,1533,1530,1539,2187,2186,2184,2182,1432,2179,1430,2176,1427,414,412,2197,409,2195,405,2193,2190,426,424,421,2203,418,2201,431,429,1473,1471,1469,1466,434,1477,1475,2478,2472,2470,2459,2457,2454,2462,803,2437,2432,2429,1726,2443,2440,792,789,785,2401,2399,2393,1702,2389,1699,2411,2408,2405,745,741,2415,758,755,1721,2358,2357,2355,2353,1661,2350,1660,2347,1657,2368,2366,2364,2361,1666,690,687,2374,683,2372,701,698,705,1691,1689,2619,2617,2610,2608,2605,2613,2593,2588,2585,1803,2599,2596,2563,2561,2555,1797,2551,1795,2573,2570,2567,2577,2525,2524,2522,2520,1786,2517,1785,2514,1783,2535,2533,2531,2528,1788,2541,2539,906,903,911,2721,1844,2715,2712,1838,1836,2699,2696,2693,2703,1827,1826,1824,2673,2671,2669,2666,1829,2679,2677,1858,1857,2772,1854,1853,1851,1856,2766,2764,143,1987,139,1986,135,133,131,1984,128,1983,125,1981,138,137,136,1985,1133,1132,1130,112,110,1974,107,1973,104,1971,1969,122,121,119,117,1977,114,1976,124,1115,1114,1112,1110,1117,1116,84,83,1953,81,1952,78,1950,1948,1945,94,93,91,1959,88,1958,85,1955,99,97,95,1961,1086,1085,1083,1081,1078,100,1090,1089,1087,1091,49,47,1917,44,1915,1913,1910,1907,59,1926,56,1925,53,1922,1919,66,64,1931,61,1929,1042,1040,1038,71,1035,70,1032,68,1048,1047,1045,1043,1050,1049,12,10,1869,1867,1864,1861,21,1880,19,1877,1874,1871,28,1888,25,1886,22,1883,982,980,977,974,32,30,991,989,987,984,34,995,994,992,2151,2150,2147,2146,2144,356,355,354,2149,2139,2138,2136,2134,1359,343,341,338,2143,335,2141,348,347,346,1376,1374,2124,2123,2121,2119,1326,2116,1324,310,308,305,2131,302,2129,298,2127,320,318,316,313,2133,322,321,1355,1353,1351,1357,2092,2091,2089,2087,1276,2084,1274,2081,1271,259,2102,256,2100,252,2098,2095,272,269,2108,266,2106,281,279,277,1317,1315,1313,1310,282,1321,1319,2039,2037,2035,2032,1203,2029,1200,1197,207,2053,205,2051,201,2049,2046,2043,220,218,2064,215,2062,211,2059,228,226,223,2069,1259,1257,1254,232,1251,230,1267,1265,1263,2316,2315,2312,2311,2309,2314,2304,2303,2301,2299,1593,2308,2306,590,2288,2287,2285,2283,1578,2280,1577,2295,2293,2291,579,577,574,571,2298,582,581,1592,2263,2262,2260,2258,1545,2255,1544,2252,1541,2273,2271,2269,2266,1550,535,532,2279,528,2277,546,543,549,1575,1573,2224,2222,2220,1486,2217,1485,2214,1482,1479,2238,2236,2234,2231,1496,2228,1492,480,477,2248,473,2246,469,2243,490,487,2251,497,1537,1535,1532,2477,2476,2474,2479,2469,2468,2466,2464,1730,2473,2471,2453,2452,2450,2448,1729,2445,1728,2460,2458,2456,2463,805,804,2428,2427,2425,2423,1725,2420,1724,2417,1722,2438,2436,2434,2431,1727,2444,2442,793,791,788,795,2388,2386,2384,1697,2381,1696,2378,1694,1692,2402,2400,2398,2395,1703,2392,1701,2412,2410,2407,751,748,744,2416,759,757,1807,2620,2618,1806,1805,2611,2609,2607,2614,1802,1801,1799,2594,2592,2590,2587,1804,2600,2598,1794,1793,1791,1789,2564,2562,2560,2557,1798,2554,1796,2574,2572,2569,2578,1847,1846,2722,1843,1842,1840,1845,2716,2714,1835,1834,1832,1830,1839,1837,2700,2698,2695,2704,1817,1811,1810,897,862,1777,829,826,838,1760,1758,808,2481,1741,1740,1738,1743,2624,1818,2726,2776,782,740,737,1715,686,679,695,1682,1680,639,628,2339,647,644,1645,1643,1640,1648,602,600,597,595,2320,593,2318,609,607,604,1611,1610,1608,1606,613,1615,1613,2328,926,924,892,886,899,857,850,2505,1778,824,823,821,819,2488,818,2486,833,831,828,840,1761,1759,2649,2632,2630,2746,2734,2732,2782,2781,570,567,1587,531,527,523,540,1566,1564,476,467,463,2240,486,483,1524,1521,1518,1529,411,403,2192,399,2189,423,416,1462,1457,1454,428,1468,1465,2210,366,363,2158,360,2156,357,2153,376,373,370,2163,1410,1409,1407,1405,382,1402,380,1417,1415,1412,1421,2175,2174,777,774,771,784,732,725,722,2404,743,1716,676,674,668,2363,665,2360,685,1684,1681,626,624,622,2335,620,2333,617,2330,641,635,649,1646,1644,1642,2566,928,925,2530,2527,894,891,888,2501,2499,2496,858,856,854,851,1779,2692,2668,2665,2645,2643,2640,2651,2768,2759,2757,2744,2743,2741,2748,352,1382,340,337,333,1371,1369,307,300,296,2126,315,312,1347,1342,1350,261,258,250,2097,246,2094,271,268,264,1306,1301,1298,276,1312,1309,2115,203,2048,195,2045,191,2041,213,209,2056,1246,1244,1238,225,1234,222,1256,1253,1249,1262,2080,2079,154,1997,150,1995,147,1992,1989,163,160,2004,156,2001,1175,1174,1172,1170,1167,170,1164,167,1185,1183,1180,1177,174,1190,1188,2025,2024,2022,587,586,564,559,556,2290,573,1588,520,518,512,2268,508,2265,530,1568,1565,461,457,2233,450,2230,446,2226,479,471,489,1526,1523,1520,397,395,2185,392,2183,389,2180,2177,410,2194,402,422,1463,1461,1459,1456,1470,2455,799,2433,2430,779,776,773,2397,2394,2390,734,728,724,746,1717,2356,2354,2351,2348,1658,677,675,673,670,667,688,1685,1683,2606,2589,2586,2559,2556,2552,927,2523,2521,2518,2515,1784,2532,895,893,890,2718,2709,2707,2689,2687,2684,2663,2662,2660,2658,1825,2667,2769,1852,2760,2758,142,141,1139,1138,134,132,129,126,1982,1129,1128,1126,1131,113,111,108,105,1972,101,1970,120,118,115,1109,1108,1106,1104,123,1113,1111,82,79,1951,75,1949,72,1946,92,89,86,1956,1077,1076,1074,1072,98,1069,96,1084,1082,1079,1088,1968,1967,48,45,1916,42,1914,39,1911,1908,60,57,54,1923,50,1920,1031,1030,1028,1026,67,1023,65,1020,62,1041,1039,1036,1033,69,1046,1044,1944,1943,1941,11,9,1868,7,1865,1862,1859,20,1878,16,1875,13,1872,970,968,966,963,29,960,26,23,983,981,978,975,33,971,31,990,988,985,1906,1904,1902,993,351,2145,1383,331,330,328,326,2137,323,2135,339,1372,1370,294,293,291,289,2122,286,2120,283,2117,309,303,317,1348,1346,1344,245,244,242,2090,239,2088,236,2085,2082,260,2099,249,270,1307,1305,1303,1300,1314,189,2038,186,2036,183,2033,2030,2026,206,198,2047,194,216,1247,1245,1243,1240,227,1237,1255,2310,2302,2300,2286,2284,2281,565,563,561,558,575,1589,2261,2259,2256,2253,1542,521,519,517,514,2270,511,533,1569,1567,2223,2221,2218,2215,1483,2211,1480,459,456,453,2232,449,474,491,1527,1525,1522,2475,2467,2465,2451,2449,2446,801,800,2426,2424,2421,2418,1723,2435,780,778,775,2387,2385,2382,2379,1695,2375,1693,2396,735,733,730,727,749,1718,2616,2615,2604,2603,2601,2584,2583,2581,2579,1800,2591,2550,2549,2547,2545,1792,2542,1790,2558,929,2719,1841,2710,2708,1833,1831,2690,2688,2686,1815,1809,1808,1774,1756,1754,1737,1736,1734,1739,1816,1711,1676,1674,633,629,1638,1636,1633,1641,598,1605,1604,1602,1600,605,1609,1607,2327,887,853,1775,822,820,1757,1755,1584,524,1560,1558,468,464,1514,1511,1508,1519,408,404,400,1452,1447,1444,417,1458,1455,2208,364,361,358,2154,1401,1400,1398,1396,374,1393,371,1408,1406,1403,1413,2173,2172,772,726,723,1712,672,669,666,682,1678,1675,625,623,621,618,2331,636,632,1639,1637,1635,920,918,884,880,889,849,848,847,846,2497,855,852,1776,2641,2742,2787,1380,334,1367,1365,301,297,1340,1338,1335,1343,255,251,247,1296,1291,1288,265,1302,1299,2113,204,196,192,2042,1232,1230,1224,214,1220,210,1242,1239,1235,1250,2077,2075,151,148,1993,144,1990,1163,1162,1160,1158,1155,161,1152,157,1173,1171,1168,1165,168,1181,1178,2021,2020,2018,2023,585,560,557,1585,516,509,1562,1559,458,447,2227,472,1516,1513,1510,398,396,393,390,2181,386,2178,407,1453,1451,1449,1446,420,1460,2209,769,764,720,712,2391,729,1713,664,663,661,659,2352,656,2349,671,1679,1677,2553,922,919,2519,2516,885,883,881,2685,2661,2659,2767,2756,2755,140,1137,1136,130,127,1125,1124,1122,1127,109,106,102,1103,1102,1100,1098,116,1107,1105,1980,80,76,73,1947,1068,1067,1065,1063,90,1060,87,1075,1073,1070,1080,1966,1965,46,43,40,1912,36,1909,1019,1018,1016,1014,58,1011,55,1008,51,1029,1027,1024,1021,63,1037,1034,1940,1939,1937,1942,8,1866,4,1863,1,1860,956,954,952,949,946,17,14,969,967,964,961,27,957,24,979,976,972,1901,1900,1898,1896,986,1905,1903,350,349,1381,329,327,324,1368,1366,292,290,287,284,2118,304,1341,1339,1337,1345,243,240,237,2086,233,2083,254,1297,1295,1293,1290,1304,2114,190,187,184,2034,180,2031,177,2027,199,1233,1231,1229,1226,217,1223,1241,2078,2076,584,555,554,552,550,2282,562,1586,507,506,504,502,2257,499,2254,515,1563,1561,445,443,441,2219,438,2216,435,2212,460,454,475,1517,1515,1512,2447,798,797,2422,2419,770,768,766,2383,2380,2376,721,719,717,714,731,1714,2602,2582,2580,2548,2546,2543,923,921,2717,2706,2705,2683,2682,2680,1771,1752,1750,1733,1732,1731,1735,1814,1707,1670,1668,1631,1629,1626,1634,1599,1598,1596,1594,1603,1601,2326,1772,1753,1751,1581,1554,1552,1504,1501,1498,1509,1442,1437,1434,401,1448,1445,2206,1392,1391,1389,1387,1384,359,1399,1397,1394,1404,2171,2170,1708,1672,1669,619,1632,1630,1628,1773,1378,1363,1361,1333,1328,1336,1286,1281,1278,248,1292,1289,2111,1218,1216,1210,197,1206,193,1228,1225,1221,1236,2073,2071,1151,1150,1148,1146,152,1143,149,1140,145,1161,1159,1156,1153,158,1169,1166,2017,2016,2014,2019,1582,510,1556,1553,452,448,1506,1500,394,391,387,1443,1441,1439,1436,1450,2207,765,716,713,1709,662,660,657,1673,1671,916,914,879,878,877,882,1135,1134,1121,1120,1118,1123,1097,1096,1094,1092,103,1101,1099,1979,1059,1058,1056,1054,77,1051,74,1066,1064,1061,1071,1964,1963,1007,1006,1004,1002,999,41,996,37,1017,1015,1012,1009,52,1025,1022,1936,1935,1933,1938,942,940,938,935,932,5,2,955,953,950,947,18,943,15,965,962,958,1895,1894,1892,1890,973,1899,1897,1379,325,1364,1362,288,285,1334,1332,1330,241,238,234,1287,1285,1283,1280,1294,2112,188,185,181,178,2028,1219,1217,1215,1212,200,1209,1227,2074,2072,583,553,551,1583,505,503,500,513,1557,1555,444,442,439,436,2213,455,451,1507,1505,1502,796,763,762,760,767,711,710,708,706,2377,718,715,1710,2544,917,915,2681,1627,1597,1595,2325,1769,1749,1747,1499,1438,1435,2204,1390,1388,1385,1395,2169,2167,1704,1665,1662,1625,1623,1620,1770,1329,1282,1279,2109,1214,1207,1222,2068,2065,1149,1147,1144,1141,146,1157,1154,2013,2011,2008,2015,1579,1549,1546,1495,1487,1433,1431,1428,1425,388,1440,2205,1705,658,1667,1664,1119,1095,1093,1978,1057,1055,1052,1062,1962,1960,1005,1003,1e3,997,38,1013,1010,1932,1930,1927,1934,941,939,936,933,6,930,3,951,948,944,1889,1887,1884,1881,959,1893,1891,35,1377,1360,1358,1327,1325,1322,1331,1277,1275,1272,1269,235,1284,2110,1205,1204,1201,1198,182,1195,179,1213,2070,2067,1580,501,1551,1548,440,437,1497,1494,1490,1503,761,709,707,1706,913,912,2198,1386,2164,2161,1621,1766,2103,1208,2058,2054,1145,1142,2005,2002,1999,2009,1488,1429,1426,2200,1698,1659,1656,1975,1053,1957,1954,1001,998,1924,1921,1918,1928,937,934,931,1879,1876,1873,1870,945,1885,1882,1323,1273,1270,2105,1202,1199,1196,1211,2061,2057,1576,1543,1540,1484,1481,1478,1491,1700]);class 
vendor: 77,795 bytes, line 2
2Ht{constructor(e,t){this.bits=e,this.points=t}getBits(){return this.bits}getPoints(){return this.points}}class Ut{static detectMultiple(e,t,n){let r=e.getBlackMatrix(),i=Ut.detect(n,r);return i.length||(r=r.clone(),r.rotate180(),i=Ut.detect(n,r)),new Ht(r,i)}static detect(e,t){const n=new Array;let r=0,i=0,o=!1;for(;r<t.getHeight();){const a=Ut.findVertices(t,r,i);if(null!=a[0]||null!=a[3]){if(o=!0,n.push(a),!e)break;null!=a[2]?(i=Math.trunc(a[2].getX()),r=Math.trunc(a[2].getY())):(i=Math.trunc(a[4].getX()),r=Math.trunc(a[4].getY()))}else{if(!o)break;o=!1,i=0;for(const e of n)null!=e[1]&&(r=Math.trunc(Math.max(r,e[1].getY()))),null!=e[3]&&(r=Math.max(r,Math.trunc(e[3].getY())));r+=Ut.ROW_STEP}}return n}static findVertices(e,t,n){const r=e.getHeight(),i=e.getWidth(),o=new Array(8);return Ut.copyToResult(o,Ut.findRowsWithPattern(e,r,i,t,n,Ut.START_PATTERN),Ut.INDEXES_START_PATTERN),null!=o[4]&&(n=Math.trunc(o[4].getX()),t=Math.trunc(o[4].getY())),Ut.copyToResult(o,Ut.findRowsWithPattern(e,r,i,t,n,Ut.STOP_PATTERN),Ut.INDEXES_STOP_PATTERN),o}static copyToResult(e,t,n){for(let r=0;r<n.length;r++)e[n[r]]=t[r]}static findRowsWithPattern(e,t,n,r,i,o){const a=new Array(4);let s=!1;const l=new Int32Array(o.length);for(;r<t;r+=Ut.ROW_STEP){let t=Ut.findGuardPattern(e,i,r,n,!1,o,l);if(null!=t){for(;r>0;){const a=Ut.findGuardPattern(e,i,--r,n,!1,o,l);if(null==a){r++;break}t=a}a[0]=new se(t[0],r),a[1]=new se(t[1],r),s=!0;break}}let c=r+1;if(s){let r=0,i=Int32Array.from([Math.trunc(a[0].getX()),Math.trunc(a[1].getX())]);for(;c<t;c++){const t=Ut.findGuardPattern(e,i[0],c,n,!1,o,l);if(null!=t&&Math.abs(i[0]-t[0])<Ut.MAX_PATTERN_DRIFT&&Math.abs(i[1]-t[1])<Ut.MAX_PATTERN_DRIFT)i=t,r=0;else{if(r>Ut.SKIPPED_ROW_COUNT_MAX)break;r++}}c-=r+1,a[2]=new se(i[0],c),a[3]=new se(i[1],c)}return c-r<Ut.BARCODE_MIN_HEIGHT&&v.fill(a,null),a}static findGuardPattern(e,t,n,r,i,o,a){v.fillWithin(a,0,a.length,0);let s=t,l=0;for(;e.get(s,n)&&s>0&&l++<Ut.MAX_PIXEL_DRIFT;)s--;let c=s,u=0,d=o.length;for(let t=i;c<r;c++)if(e.get(c,n)!==t)a[u]++;else{if(u===d-1){if(Ut.patternMatchVariance(a,o,Ut.MAX_INDIVIDUAL_VARIANCE)<Ut.MAX_AVG_VARIANCE)return new Int32Array([s,c]);s+=a[0]+a[1],g.arraycopy(a,2,a,0,u-1),a[u-1]=0,a[u]=0,u--}else u++;a[u]=1,t=!t}return u===d-1&&Ut.patternMatchVariance(a,o,Ut.MAX_INDIVIDUAL_VARIANCE)<Ut.MAX_AVG_VARIANCE?new Int32Array([s,c-1]):null}static patternMatchVariance(e,t,n){let r=e.length,i=0,o=0;for(let n=0;n<r;n++)i+=e[n],o+=t[n];if(i<o)return 1/0;let a=i/o;n*=a;let s=0;for(let i=0;i<r;i++){let r=e[i],o=t[i]*a,l=r>o?r-o:o-r;if(l>n)return 1/0;s+=l}return s/i}}Ut.INDEXES_START_PATTERN=Int32Array.from([0,4,1,5]),Ut.INDEXES_STOP_PATTERN=Int32Array.from([6,2,7,3]),Ut.MAX_AVG_VARIANCE=.42,Ut.MAX_INDIVIDUAL_VARIANCE=.8,Ut.START_PATTERN=Int32Array.from([8,1,1,1,1,1,1,3]),Ut.STOP_PATTERN=Int32Array.from([7,1,1,3,1,1,1,2,1]),Ut.MAX_PIXEL_DRIFT=3,Ut.MAX_PATTERN_DRIFT=5,Ut.SKIPPED_ROW_COUNT_MAX=25,Ut.ROW_STEP=5,Ut.BARCODE_MIN_HEIGHT=10;class zt{constructor(e,t){if(0===t.length)throw new d;this.field=e;let n=t.length;if(n>1&&0===t[0]){let e=1;for(;e<n&&0===t[e];)e++;e===n?this.coefficients=new Int32Array([0]):(this.coefficients=new Int32Array(n-e),g.arraycopy(t,e,this.coefficients,0,this.coefficients.length))}else this.coefficients=t}getCoefficients(){return this.coefficients}getDegree(){return this.coefficients.length-1}isZero(){return 0===this.coefficients[0]}getCoefficient(e){return this.coefficients[this.coefficients.length-1-e]}evaluateAt(e){if(0===e)return this.getCoefficient(0);if(1===e){let e=0;for(let t of this.coefficients)e=this.field.add(e,t);return e}let t=this.coefficients[0],n=this.coefficients.length;for(let r=1;r<n;r++)t=this.field.add(this.field.multiply(e,t),this.coefficients[r]);return t}add(e){if(!this.field.equals(e.field))throw new d("ModulusPolys do not have same ModulusGF field");if(this.isZero())return e;if(e.isZero())return this;let t=this.coefficients,n=e.coefficients;if(t.length>n.length){let e=t;t=n,n=e}let r=new Int32Array(n.length),i=n.length-t.length;g.arraycopy(n,0,r,0,i);for(let e=i;e<n.length;e++)r[e]=this.field.add(t[e-i],n[e]);return new zt(this.field,r)}subtract(e){if(!this.field.equals(e.field))throw new d("ModulusPolys do not have same ModulusGF field");return e.isZero()?this:this.add(e.negative())}multiply(e){return e instanceof zt?this.multiplyOther(e):this.multiplyScalar(e)}multiplyOther(e){if(!this.field.equals(e.field))throw new d("ModulusPolys do not have same ModulusGF field");if(this.isZero()||e.isZero())return new zt(this.field,new Int32Array([0]));let t=this.coefficients,n=t.length,r=e.coefficients,i=r.length,o=new Int32Array(n+i-1);for(let e=0;e<n;e++){let n=t[e];for(let t=0;t<i;t++)o[e+t]=this.field.add(o[e+t],this.field.multiply(n,r[t]))}return new zt(this.field,o)}negative(){let e=this.coefficients.length,t=new Int32Array(e);for(let n=0;n<e;n++)t[n]=this.field.subtract(0,this.coefficients[n]);return new zt(this.field,t)}multiplyScalar(e){if(0===e)return new zt(this.field,new Int32Array([0]));if(1===e)return this;let t=this.coefficients.length,n=new Int32Array(t);for(let r=0;r<t;r++)n[r]=this.field.multiply(this.coefficients[r],e);return new zt(this.field,n)}multiplyByMonomial(e,t){if(e<0)throw new d;if(0===t)return new zt(this.field,new Int32Array([0]));let n=this.coefficients.length,r=new Int32Array(n+e);for(let e=0;e<n;e++)r[e]=this.field.multiply(this.coefficients[e],t);return new zt(this.field,r)}toString(){let e=new I;for(let t=this.getDegree();t>=0;t--){let n=this.getCoefficient(t);0!==n&&(n<0?(e.append(" - "),n=-n):e.length()>0&&e.append(" + "),0!==t&&1===n||e.append(n),0!==t&&(1===t?e.append("x"):(e.append("x^"),e.append(t))))}return e.toString()}}class Vt{add(e,t){return(e+t)%this.modulus}subtract(e,t){return(this.modulus+e-t)%this.modulus}exp(e){return this.expTable[e]}log(e){if(0===e)throw new d;return this.logTable[e]}inverse(e){if(0===e)throw new J;return this.expTable[this.modulus-this.logTable[e]-1]}multiply(e,t){return 0===e||0===t?0:this.expTable[(this.logTable[e]+this.logTable[t])%(this.modulus-1)]}getSize(){return this.modulus}equals(e){return e===this}}class Wt extends Vt{constructor(e,t){super(),this.modulus=e,this.expTable=new Int32Array(e),this.logTable=new Int32Array(e);let n=1;for(let r=0;r<e;r++)this.expTable[r]=n,n=n*t%e;for(let t=0;t<e-1;t++)this.logTable[this.expTable[t]]=t;this.zero=new zt(this,new Int32Array([0])),this.one=new zt(this,new Int32Array([1]))}getZero(){return this.zero}getOne(){return this.one}buildMonomial(e,t){if(e<0)throw new d;if(0===t)return this.zero;let n=new Int32Array(e+1);return n[0]=t,new zt(this,n)}}Wt.PDF417_GF=new Wt(Ft.NUMBER_OF_CODEWORDS,3);class Gt{constructor(){this.field=Wt.PDF417_GF}decode(e,t,n){let r=new zt(this.field,e),i=new Int32Array(t),o=!1;for(let e=t;e>0;e--){let n=r.evaluateAt(this.field.exp(e));i[t-e]=n,0!==n&&(o=!0)}if(!o)return 0;let a=this.field.getOne();if(null!=n)for(const t of n){let n=this.field.exp(e.length-1-t),r=new zt(this.field,new Int32Array([this.field.subtract(0,n),1]));a=a.multiply(r)}let s=new zt(this.field,i),l=this.runEuclideanAlgorithm(this.field.buildMonomial(t,1),s,t),c=l[0],u=l[1],d=this.findErrorLocations(c),h=this.findErrorMagnitudes(u,c,d);for(let t=0;t<d.length;t++){let n=e.length-1-this.field.log(d[t]);if(n<0)throw f.getChecksumInstance();e[n]=this.field.subtract(e[n],h[t])}return d.length}runEuclideanAlgorithm(e,t,n){if(e.getDegree()<t.getDegree()){let n=e;e=t,t=n}let r=e,i=t,o=this.field.getZero(),a=this.field.getOne();for(;i.getDegree()>=Math.round(n/2);){let e=r,t=o;if(r=i,o=a,r.isZero())throw f.getChecksumInstance();i=e;let n=this.field.getZero(),s=r.getCoefficient(r.getDegree()),l=this.field.inverse(s);for(;i.getDegree()>=r.getDegree()&&!i.isZero();){let e=i.getDegree()-r.getDegree(),t=this.field.multiply(i.getCoefficient(i.getDegree()),l);n=n.add(this.field.buildMonomial(e,t)),i=i.subtract(r.multiplyByMonomial(e,t))}a=n.multiply(o).subtract(t).negative()}let s=a.getCoefficient(0);if(0===s)throw f.getChecksumInstance();let l=this.field.inverse(s);return[a.multiply(l),i.multiply(l)]}findErrorLocations(e){let t=e.getDegree(),n=new Int32Array(t),r=0;for(let i=1;i<this.field.getSize()&&r<t;i++)0===e.evaluateAt(i)&&(n[r]=this.field.inverse(i),r++);if(r!==t)throw f.getChecksumInstance();return n}findErrorMagnitudes(e,t,n){let r=t.getDegree(),i=new Int32Array(r);for(let e=1;e<=r;e++)i[r-e]=this.field.multiply(e,t.getCoefficient(e));let o=new zt(this.field,i),a=n.length,s=new Int32Array(a);for(let t=0;t<a;t++){let r=this.field.inverse(n[t]),i=this.field.subtract(0,e.evaluateAt(r)),a=this.field.inverse(o.evaluateAt(r));s[t]=this.field.multiply(i,a)}return s}}class qt{constructor(e,t,n,r,i){e instanceof qt?this.constructor_2(e):this.constructor_1(e,t,n,r,i)}constructor_1(e,t,n,r,i){const o=null==t||null==n,a=null==r||null==i;if(o&&a)throw new M;o?(t=new se(0,r.getY()),n=new se(0,i.getY())):a&&(r=new se(e.getWidth()-1,t.getY()),i=new se(e.getWidth()-1,n.getY())),this.image=e,this.topLeft=t,this.bottomLeft=n,this.topRight=r,this.bottomRight=i,this.minX=Math.trunc(Math.min(t.getX(),n.getX())),this.maxX=Math.trunc(Math.max(r.getX(),i.getX())),this.minY=Math.trunc(Math.min(t.getY(),r.getY())),this.maxY=Math.trunc(Math.max(n.getY(),i.getY()))}constructor_2(e){this.image=e.image,this.topLeft=e.getTopLeft(),this.bottomLeft=e.getBottomLeft(),this.topRight=e.getTopRight(),this.bottomRight=e.getBottomRight(),this.minX=e.getMinX(),this.maxX=e.getMaxX(),this.minY=e.getMinY(),this.maxY=e.getMaxY()}static merge(e,t){return null==e?t:null==t?e:new qt(e.image,e.topLeft,e.bottomLeft,t.topRight,t.bottomRight)}addMissingRows(e,t,n){let r=this.topLeft,i=this.bottomLeft,o=this.topRight,a=this.bottomRight;if(e>0){let t=n?this.topLeft:this.topRight,i=Math.trunc(t.getY()-e);i<0&&(i=0);let a=new se(t.getX(),i);n?r=a:o=a}if(t>0){let e=n?this.bottomLeft:this.bottomRight,r=Math.trunc(e.getY()+t);r>=this.image.getHeight()&&(r=this.image.getHeight()-1);let o=new se(e.getX(),r);n?i=o:a=o}return new qt(this.image,r,i,o,a)}getMinX(){return this.minX}getMaxX(){return this.maxX}getMinY(){return this.minY}getMaxY(){return this.maxY}getTopLeft(){return this.topLeft}getTopRight(){return this.topRight}getBottomLeft(){return this.bottomLeft}getBottomRight(){return this.bottomRight}}class Yt{constructor(e,t,n,r){this.columnCount=e,this.errorCorrectionLevel=r,this.rowCountUpperPart=t,this.rowCountLowerPart=n,this.rowCount=t+n}getColumnCount(){return this.columnCount}getErrorCorrectionLevel(){return this.errorCorrectionLevel}getRowCount(){return this.rowCount}getRowCountUpperPart(){return this.rowCountUpperPart}getRowCountLowerPart(){return this.rowCountLowerPart}}class Xt{constructor(){this.buffer=""}static form(e,t){let n=-1;function r(e,r,i,o,a,s){if("%%"===e)return"%";if(void 0===t[++n])return;e=o?parseInt(o.substr(1)):void 0;let l,c=a?parseInt(a.substr(1)):void 0;switch(s){case"s":l=t[n];break;case"c":l=t[n][0];break;case"f":l=parseFloat(t[n]).toFixed(e);break;case"p":l=parseFloat(t[n]).toPrecision(e);break;case"e":l=parseFloat(t[n]).toExponential(e);break;case"x":l=parseInt(t[n]).toString(c||16);break;case"d":l=parseFloat(parseInt(t[n],c||10).toPrecision(e)).toFixed(0)}l="object"==typeof l?JSON.stringify(l):(+l).toString(c);let u=parseInt(i),d=i&&i[0]+""=="0"?"0":" ";for(;l.length<u;)l=void 0!==r?l+d:d+l;return l}let i=/%(-)?(0?[0-9]+)?([.][0-9]+)?([#][0-9]+)?([scfpexd%])/g;return e.replace(i,r)}format(e,...t){this.buffer+=Xt.form(e,t)}toString(){return this.buffer}}class Zt{constructor(e){this.boundingBox=new qt(e),this.codewords=new Array(e.getMaxY()-e.getMinY()+1)}getCodewordNearby(e){let t=this.getCodeword(e);if(null!=t)return t;for(let n=1;n<Zt.MAX_NEARBY_DISTANCE;n++){let r=this.imageRowToCodewordIndex(e)-n;if(r>=0&&(t=this.codewords[r],null!=t))return t;if(r=this.imageRowToCodewordIndex(e)+n,r<this.codewords.length&&(t=this.codewords[r],null!=t))return t}return null}imageRowToCodewordIndex(e){return e-this.boundingBox.getMinY()}setCodeword(e,t){this.codewords[this.imageRowToCodewordIndex(e)]=t}getCodeword(e){return this.codewords[this.imageRowToCodewordIndex(e)]}getBoundingBox(){return this.boundingBox}getCodewords(){return this.codewords}toString(){const e=new Xt;let t=0;for(const n of this.codewords)null!=n?e.format("%3d: %3d|%3d%n",t++,n.getRowNumber(),n.getValue()):e.format("%3d:    |   %n",t++);return e.toString()}}Zt.MAX_NEARBY_DISTANCE=5;class Qt{constructor(){this.values=new Map}setValue(e){e=Math.trunc(e);let t=this.values.get(e);null==t&&(t=0),t++,this.values.set(e,t)}getValue(){let e=-1,t=new Array;for(const[n,r]of this.values.entries()){const i={getKey:()=>n,getValue:()=>r};i.getValue()>e?(e=i.getValue(),t=[],t.push(i.getKey())):i.getValue()===e&&t.push(i.getKey())}return Ft.toIntArray(t)}getConfidence(e){return this.values.get(e)}}class Kt extends Zt{constructor(e,t){super(e),this._isLeft=t}setRowNumbers(){for(let e of this.getCodewords())null!=e&&e.setRowNumberAsRowIndicatorColumn()}adjustCompleteIndicatorColumnRowNumbers(e){let t=this.getCodewords();this.setRowNumbers(),this.removeIncorrectCodewords(t,e);let n=this.getBoundingBox(),r=this._isLeft?n.getTopLeft():n.getTopRight(),i=this._isLeft?n.getBottomLeft():n.getBottomRight(),o=this.imageRowToCodewordIndex(Math.trunc(r.getY())),a=this.imageRowToCodewordIndex(Math.trunc(i.getY())),s=-1,l=1,c=0;for(let n=o;n<a;n++){if(null==t[n])continue;let r=t[n],i=r.getRowNumber()-s;if(0===i)c++;else if(1===i)l=Math.max(l,c),c=1,s=r.getRowNumber();else if(i<0||r.getRowNumber()>=e.getRowCount()||i>n)t[n]=null;else{let e;e=l>2?(l-2)*i:i;let o=e>=n;for(let r=1;r<=e&&!o;r++)o=null!=t[n-r];o?t[n]=null:(s=r.getRowNumber(),c=1)}}}getRowHeights(){let e=this.getBarcodeMetadata();if(null==e)return null;this.adjustIncompleteIndicatorColumnRowNumbers(e);let t=new Int32Array(e.getRowCount());for(let e of this.getCodewords())if(null!=e){let n=e.getRowNumber();if(n>=t.length)continue;t[n]++}return t}adjustIncompleteIndicatorColumnRowNumbers(e){let t=this.getBoundingBox(),n=this._isLeft?t.getTopLeft():t.getTopRight(),r=this._isLeft?t.getBottomLeft():t.getBottomRight(),i=this.imageRowToCodewordIndex(Math.trunc(n.getY())),o=this.imageRowToCodewordIndex(Math.trunc(r.getY())),a=this.getCodewords(),s=-1;for(let t=i;t<o;t++){if(null==a[t])continue;let n=a[t];n.setRowNumberAsRowIndicatorColumn();let r=n.getRowNumber()-s;0===r||(1===r?s=n.getRowNumber():n.getRowNumber()>=e.getRowCount()?a[t]=null:s=n.getRowNumber())}}getBarcodeMetadata(){let e=this.getCodewords(),t=new Qt,n=new Qt,r=new Qt,i=new Qt;for(let o of e){if(null==o)continue;o.setRowNumberAsRowIndicatorColumn();let e=o.getValue()%30,a=o.getRowNumber();switch(this._isLeft||(a+=2),a%3){case 0:n.setValue(3*e+1);break;case 1:i.setValue(e/3),r.setValue(e%3);break;case 2:t.setValue(e+1)}}if(0===t.getValue().length||0===n.getValue().length||0===r.getValue().length||0===i.getValue().length||t.getValue()[0]<1||n.getValue()[0]+r.getValue()[0]<Ft.MIN_ROWS_IN_BARCODE||n.getValue()[0]+r.getValue()[0]>Ft.MAX_ROWS_IN_BARCODE)return null;let o=new Yt(t.getValue()[0],n.getValue()[0],r.getValue()[0],i.getValue()[0]);return this.removeIncorrectCodewords(e,o),o}removeIncorrectCodewords(e,t){for(let n=0;n<e.length;n++){let r=e[n];if(null==e[n])continue;let i=r.getValue()%30,o=r.getRowNumber();if(o>t.getRowCount())e[n]=null;else switch(this._isLeft||(o+=2),o%3){case 0:3*i+1!==t.getRowCountUpperPart()&&(e[n]=null);break;case 1:Math.trunc(i/3)===t.getErrorCorrectionLevel()&&i%3===t.getRowCountLowerPart()||(e[n]=null);break;case 2:i+1!==t.getColumnCount()&&(e[n]=null)}}}isLeft(){return this._isLeft}toString(){return"IsLeft: "+this._isLeft+"\n"+super.toString()}}class Jt{constructor(e,t){this.ADJUST_ROW_NUMBER_SKIP=2,this.barcodeMetadata=e,this.barcodeColumnCount=e.getColumnCount(),this.boundingBox=t,this.detectionResultColumns=new Array(this.barcodeColumnCount+2)}getDetectionResultColumns(){this.adjustIndicatorColumnRowNumbers(this.detectionResultColumns[0]),this.adjustIndicatorColumnRowNumbers(this.detectionResultColumns[this.barcodeColumnCount+1]);let e,t=Ft.MAX_CODEWORDS_IN_BARCODE;do{e=t,t=this.adjustRowNumbersAndGetCount()}while(t>0&&t<e);return this.detectionResultColumns}adjustIndicatorColumnRowNumbers(e){null!=e&&e.adjustCompleteIndicatorColumnRowNumbers(this.barcodeMetadata)}adjustRowNumbersAndGetCount(){let e=this.adjustRowNumbersByRow();if(0===e)return 0;for(let e=1;e<this.barcodeColumnCount+1;e++){let t=this.detectionResultColumns[e].getCodewords();for(let n=0;n<t.length;n++)null!=t[n]&&(t[n].hasValidRowNumber()||this.adjustRowNumbers(e,n,t))}return e}adjustRowNumbersByRow(){return this.adjustRowNumbersFromBothRI(),this.adjustRowNumbersFromLRI()+this.adjustRowNumbersFromRRI()}adjustRowNumbersFromBothRI(){if(null==this.detectionResultColumns[0]||null==this.detectionResultColumns[this.barcodeColumnCount+1])return;let e=this.detectionResultColumns[0].getCodewords(),t=this.detectionResultColumns[this.barcodeColumnCount+1].getCodewords();for(let n=0;n<e.length;n++)if(null!=e[n]&&null!=t[n]&&e[n].getRowNumber()===t[n].getRowNumber())for(let t=1;t<=this.barcodeColumnCount;t++){let r=this.detectionResultColumns[t].getCodewords()[n];null!=r&&(r.setRowNumber(e[n].getRowNumber()),r.hasValidRowNumber()||(this.detectionResultColumns[t].getCodewords()[n]=null))}}adjustRowNumbersFromRRI(){if(null==this.detectionResultColumns[this.barcodeColumnCount+1])return 0;let e=0,t=this.detectionResultColumns[this.barcodeColumnCount+1].getCodewords();for(let n=0;n<t.length;n++){if(null==t[n])continue;let r=t[n].getRowNumber(),i=0;for(let t=this.barcodeColumnCount+1;t>0&&i<this.ADJUST_ROW_NUMBER_SKIP;t--){let o=this.detectionResultColumns[t].getCodewords()[n];null!=o&&(i=Jt.adjustRowNumberIfValid(r,i,o),o.hasValidRowNumber()||e++)}}return e}adjustRowNumbersFromLRI(){if(null==this.detectionResultColumns[0])return 0;let e=0,t=this.detectionResultColumns[0].getCodewords();for(let n=0;n<t.length;n++){if(null==t[n])continue;let r=t[n].getRowNumber(),i=0;for(let t=1;t<this.barcodeColumnCount+1&&i<this.ADJUST_ROW_NUMBER_SKIP;t++){let o=this.detectionResultColumns[t].getCodewords()[n];null!=o&&(i=Jt.adjustRowNumberIfValid(r,i,o),o.hasValidRowNumber()||e++)}}return e}static adjustRowNumberIfValid(e,t,n){return null==n||n.hasValidRowNumber()||(n.isValidRowNumber(e)?(n.setRowNumber(e),t=0):++t),t}adjustRowNumbers(e,t,n){if(!this.detectionResultColumns[e-1])return;let r=n[t],i=this.detectionResultColumns[e-1].getCodewords(),o=i;null!=this.detectionResultColumns[e+1]&&(o=this.detectionResultColumns[e+1].getCodewords());let a=new Array(14);a[2]=i[t],a[3]=o[t],t>0&&(a[0]=n[t-1],a[4]=i[t-1],a[5]=o[t-1]),t>1&&(a[8]=n[t-2],a[10]=i[t-2],a[11]=o[t-2]),t<n.length-1&&(a[1]=n[t+1],a[6]=i[t+1],a[7]=o[t+1]),t<n.length-2&&(a[9]=n[t+2],a[12]=i[t+2],a[13]=o[t+2]);for(let e of a)if(Jt.adjustRowNumber(r,e))return}static adjustRowNumber(e,t){return!(null==t||!t.hasValidRowNumber()||t.getBucket()!==e.getBucket()||(e.setRowNumber(t.getRowNumber()),0))}getBarcodeColumnCount(){return this.barcodeColumnCount}getBarcodeRowCount(){return this.barcodeMetadata.getRowCount()}getBarcodeECLevel(){return this.barcodeMetadata.getErrorCorrectionLevel()}setBoundingBox(e){this.boundingBox=e}getBoundingBox(){return this.boundingBox}setDetectionResultColumn(e,t){this.detectionResultColumns[e]=t}getDetectionResultColumn(e){return this.detectionResultColumns[e]}toString(){let e=this.detectionResultColumns[0];null==e&&(e=this.detectionResultColumns[this.barcodeColumnCount+1]);let t=new Xt;for(let n=0;n<e.getCodewords().length;n++){t.format("CW %3d:",n);for(let e=0;e<this.barcodeColumnCount+2;e++){if(null==this.detectionResultColumns[e]){t.format("    |   ");continue}let r=this.detectionResultColumns[e].getCodewords()[n];null!=r?t.format(" %3d|%3d",r.getRowNumber(),r.getValue()):t.format("    |   ")}t.format("%n")}return t.toString()}}class en{constructor(e,t,n,r){this.rowNumber=en.BARCODE_ROW_UNKNOWN,this.startX=Math.trunc(e),this.endX=Math.trunc(t),this.bucket=Math.trunc(n),this.value=Math.trunc(r)}hasValidRowNumber(){return this.isValidRowNumber(this.rowNumber)}isValidRowNumber(e){return e!==en.BARCODE_ROW_UNKNOWN&&this.bucket===e%3*3}setRowNumberAsRowIndicatorColumn(){this.rowNumber=Math.trunc(3*Math.trunc(this.value/30)+Math.trunc(this.bucket/3))}getWidth(){return this.endX-this.startX}getStartX(){return this.startX}getEndX(){return this.endX}getBucket(){return this.bucket}getValue(){return this.value}getRowNumber(){return this.rowNumber}setRowNumber(e){this.rowNumber=e}toString(){return this.rowNumber+"|"+this.value}}en.BARCODE_ROW_UNKNOWN=-1;class tn{static initialize(){for(let e=0;e<Ft.SYMBOL_TABLE.length;e++){let t=Ft.SYMBOL_TABLE[e],n=1&t;for(let r=0;r<Ft.BARS_IN_MODULE;r++){let i=0;for(;(1&t)===n;)i+=1,t>>=1;n=1&t,tn.RATIOS_TABLE[e]||(tn.RATIOS_TABLE[e]=new Array(Ft.BARS_IN_MODULE)),tn.RATIOS_TABLE[e][Ft.BARS_IN_MODULE-r-1]=Math.fround(i/Ft.MODULES_IN_CODEWORD)}}this.bSymbolTableReady=!0}static getDecodedValue(e){let t=tn.getDecodedCodewordValue(tn.sampleBitCounts(e));return-1!==t?t:tn.getClosestDecodedValue(e)}static sampleBitCounts(e){let t=oe.sum(e),n=new Int32Array(Ft.BARS_IN_MODULE),r=0,i=0;for(let o=0;o<Ft.MODULES_IN_CODEWORD;o++){let a=t/(2*Ft.MODULES_IN_CODEWORD)+o*t/Ft.MODULES_IN_CODEWORD;i+e[r]<=a&&(i+=e[r],r++),n[r]++}return n}static getDecodedCodewordValue(e){let t=tn.getBitValue(e);return-1===Ft.getCodeword(t)?-1:t}static getBitValue(e){let t=0;for(let n=0;n<e.length;n++)for(let r=0;r<e[n];r++)t=t<<1|(n%2==0?1:0);return Math.trunc(t)}static getClosestDecodedValue(e){let t=oe.sum(e),n=new Array(Ft.BARS_IN_MODULE);if(t>1)for(let r=0;r<n.length;r++)n[r]=Math.fround(e[r]/t);let r=ae.MAX_VALUE,i=-1;this.bSymbolTableReady||tn.initialize();for(let e=0;e<tn.RATIOS_TABLE.length;e++){let t=0,o=tn.RATIOS_TABLE[e];for(let e=0;e<Ft.BARS_IN_MODULE;e++){let i=Math.fround(o[e]-n[e]);if(t+=Math.fround(i*i),t>=r)break}t<r&&(r=t,i=Ft.SYMBOL_TABLE[e])}return i}}tn.bSymbolTableReady=!1,tn.RATIOS_TABLE=new Array(Ft.SYMBOL_TABLE.length).map((e=>new Array(Ft.BARS_IN_MODULE)));class nn{constructor(){this.segmentCount=-1,this.fileSize=-1,this.timestamp=-1,this.checksum=-1}getSegmentIndex(){return this.segmentIndex}setSegmentIndex(e){this.segmentIndex=e}getFileId(){return this.fileId}setFileId(e){this.fileId=e}getOptionalData(){return this.optionalData}setOptionalData(e){this.optionalData=e}isLastSegment(){return this.lastSegment}setLastSegment(e){this.lastSegment=e}getSegmentCount(){return this.segmentCount}setSegmentCount(e){this.segmentCount=e}getSender(){return this.sender||null}setSender(e){this.sender=e}getAddressee(){return this.addressee||null}setAddressee(e){this.addressee=e}getFileName(){return this.fileName}setFileName(e){this.fileName=e}getFileSize(){return this.fileSize}setFileSize(e){this.fileSize=e}getChecksum(){return this.checksum}setChecksum(e){this.checksum=e}getTimestamp(){return this.timestamp}setTimestamp(e){this.timestamp=e}}class rn{static parseLong(e,t=void 0){return parseInt(e,t)}}class on extends c{}on.kind="NullPointerException";class an{writeBytes(e){this.writeBytesOffset(e,0,e.length)}writeBytesOffset(e,t,n){if(null==e)throw new on;if(t<0||t>e.length||n<0||t+n>e.length||t+n<0)throw new m;if(0!==n)for(let r=0;r<n;r++)this.write(e[t+r])}flush(){}close(){}}class sn extends c{}class ln extends an{constructor(e=32){if(super(),this.count=0,e<0)throw new d("Negative initial size: "+e);this.buf=new Uint8Array(e)}ensureCapacity(e){e-this.buf.length>0&&this.grow(e)}grow(e){let t=this.buf.length<<1;if(t-e<0&&(t=e),t<0){if(e<0)throw new sn;t=w.MAX_VALUE}this.buf=v.copyOfUint8Array(this.buf,t)}write(e){this.ensureCapacity(this.count+1),this.buf[this.count]=e,this.count+=1}writeBytesOffset(e,t,n){if(t<0||t>e.length||n<0||t+n-e.length>0)throw new m;this.ensureCapacity(this.count+n),g.arraycopy(e,t,this.buf,this.count,n),this.count+=n}writeTo(e){e.writeBytesOffset(this.buf,0,this.count)}reset(){this.count=0}toByteArray(){return v.copyOfUint8Array(this.buf,this.count)}size(){return this.count}toString(e){return e?"string"==typeof e?this.toString_string(e):this.toString_number(e):this.toString_void()}toString_void(){return new String(this.buf).toString()}toString_string(e){return new String(this.buf).toString()}toString_number(e){return new String(this.buf).toString()}close(){}}function cn(){if("undefined"!=typeof window)return window.BigInt||null;if(void 0!==n.g)return n.g.BigInt||null;if("undefined"!=typeof self)return self.BigInt||null;throw new Error("Can't search globals for BigInt!")}let un;function dn(e){if(void 0===un&&(un=cn()),null===un)throw new Error("BigInt is not supported!");return un(e)}function hn(){let e=[];e[0]=dn(1);let t=dn(900);e[1]=t;for(let n=2;n<16;n++)e[n]=e[n-1]*t;return e}!function(e){e[e.ALPHA=0]="ALPHA",e[e.LOWER=1]="LOWER",e[e.MIXED=2]="MIXED",e[e.PUNCT=3]="PUNCT",e[e.ALPHA_SHIFT=4]="ALPHA_SHIFT",e[e.PUNCT_SHIFT=5]="PUNCT_SHIFT"}(Y||(Y={}));class fn{static decode(e,t){let n=new I(""),r=_.ISO8859_1;n.enableDecoding(r);let i=1,o=e[i++],a=new nn;for(;i<e[0];){switch(o){case fn.TEXT_COMPACTION_MODE_LATCH:i=fn.textCompaction(e,i,n);break;case fn.BYTE_COMPACTION_MODE_LATCH:case fn.BYTE_COMPACTION_MODE_LATCH_6:i=fn.byteCompaction(o,e,r,i,n);break;case fn.MODE_SHIFT_TO_BYTE_COMPACTION_MODE:n.append(e[i++]);break;case fn.NUMERIC_COMPACTION_MODE_LATCH:i=fn.numericCompaction(e,i,n);break;case fn.ECI_CHARSET:_.getCharacterSetECIByValue(e[i++]);break;case fn.ECI_GENERAL_PURPOSE:i+=2;break;case fn.ECI_USER_DEFINED:i++;break;case fn.BEGIN_MACRO_PDF417_CONTROL_BLOCK:i=fn.decodeMacroBlock(e,i,a);break;case fn.BEGIN_MACRO_PDF417_OPTIONAL_FIELD:case fn.MACRO_PDF417_TERMINATOR:throw new A;default:i--,i=fn.textCompaction(e,i,n)}if(!(i<e.length))throw A.getFormatInstance();o=e[i++]}if(0===n.length())throw A.getFormatInstance();let s=new Z(null,n.toString(),null,t);return s.setOther(a),s}static decodeMacroBlock(e,t,n){if(t+fn.NUMBER_OF_SEQUENCE_CODEWORDS>e[0])throw A.getFormatInstance();let r=new Int32Array(fn.NUMBER_OF_SEQUENCE_CODEWORDS);for(let n=0;n<fn.NUMBER_OF_SEQUENCE_CODEWORDS;n++,t++)r[n]=e[t];n.setSegmentIndex(w.parseInt(fn.decodeBase900toBase10(r,fn.NUMBER_OF_SEQUENCE_CODEWORDS)));let i=new I;t=fn.textCompaction(e,t,i),n.setFileId(i.toString());let o=-1;for(e[t]===fn.BEGIN_MACRO_PDF417_OPTIONAL_FIELD&&(o=t+1);t<e[0];)switch(e[t]){case fn.BEGIN_MACRO_PDF417_OPTIONAL_FIELD:switch(e[++t]){case fn.MACRO_PDF417_OPTIONAL_FIELD_FILE_NAME:let r=new I;t=fn.textCompaction(e,t+1,r),n.setFileName(r.toString());break;case fn.MACRO_PDF417_OPTIONAL_FIELD_SENDER:let i=new I;t=fn.textCompaction(e,t+1,i),n.setSender(i.toString());break;case fn.MACRO_PDF417_OPTIONAL_FIELD_ADDRESSEE:let o=new I;t=fn.textCompaction(e,t+1,o),n.setAddressee(o.toString());break;case fn.MACRO_PDF417_OPTIONAL_FIELD_SEGMENT_COUNT:let a=new I;t=fn.numericCompaction(e,t+1,a),n.setSegmentCount(w.parseInt(a.toString()));break;case fn.MACRO_PDF417_OPTIONAL_FIELD_TIME_STAMP:let s=new I;t=fn.numericCompaction(e,t+1,s),n.setTimestamp(rn.parseLong(s.toString()));break;case fn.MACRO_PDF417_OPTIONAL_FIELD_CHECKSUM:let l=new I;t=fn.numericCompaction(e,t+1,l),n.setChecksum(w.parseInt(l.toString()));break;case fn.MACRO_PDF417_OPTIONAL_FIELD_FILE_SIZE:let c=new I;t=fn.numericCompaction(e,t+1,c),n.setFileSize(rn.parseLong(c.toString()));break;default:throw A.getFormatInstance()}break;case fn.MACRO_PDF417_TERMINATOR:t++,n.setLastSegment(!0);break;default:throw A.getFormatInstance()}if(-1!==o){let r=t-o;n.isLastSegment()&&r--,n.setOptionalData(v.copyOfRange(e,o,o+r))}return t}static textCompaction(e,t,n){let r=new Int32Array(2*(e[0]-t)),i=new Int32Array(2*(e[0]-t)),o=0,a=!1;for(;t<e[0]&&!a;){let n=e[t++];if(n<fn.TEXT_COMPACTION_MODE_LATCH)r[o]=n/30,r[o+1]=n%30,o+=2;else switch(n){case fn.TEXT_COMPACTION_MODE_LATCH:r[o++]=fn.TEXT_COMPACTION_MODE_LATCH;break;case fn.BYTE_COMPACTION_MODE_LATCH:case fn.BYTE_COMPACTION_MODE_LATCH_6:case fn.NUMERIC_COMPACTION_MODE_LATCH:case fn.BEGIN_MACRO_PDF417_CONTROL_BLOCK:case fn.BEGIN_MACRO_PDF417_OPTIONAL_FIELD:case fn.MACRO_PDF417_TERMINATOR:t--,a=!0;break;case fn.MODE_SHIFT_TO_BYTE_COMPACTION_MODE:r[o]=fn.MODE_SHIFT_TO_BYTE_COMPACTION_MODE,n=e[t++],i[o]=n,o++}}return fn.decodeTextCompaction(r,i,o,n),t}static decodeTextCompaction(e,t,n,r){let i=Y.ALPHA,o=Y.ALPHA,a=0;for(;a<n;){let n=e[a],s="";switch(i){case Y.ALPHA:if(n<26)s=String.fromCharCode(65+n);else switch(n){case 26:s=" ";break;case fn.LL:i=Y.LOWER;break;case fn.ML:i=Y.MIXED;break;case fn.PS:o=i,i=Y.PUNCT_SHIFT;break;case fn.MODE_SHIFT_TO_BYTE_COMPACTION_MODE:r.append(t[a]);break;case fn.TEXT_COMPACTION_MODE_LATCH:i=Y.ALPHA}break;case Y.LOWER:if(n<26)s=String.fromCharCode(97+n);else switch(n){case 26:s=" ";break;case fn.AS:o=i,i=Y.ALPHA_SHIFT;break;case fn.ML:i=Y.MIXED;break;case fn.PS:o=i,i=Y.PUNCT_SHIFT;break;case fn.MODE_SHIFT_TO_BYTE_COMPACTION_MODE:r.append(t[a]);break;case fn.TEXT_COMPACTION_MODE_LATCH:i=Y.ALPHA}break;case Y.MIXED:if(n<fn.PL)s=fn.MIXED_CHARS[n];else switch(n){case fn.PL:i=Y.PUNCT;break;case 26:s=" ";break;case fn.LL:i=Y.LOWER;break;case fn.AL:i=Y.ALPHA;break;case fn.PS:o=i,i=Y.PUNCT_SHIFT;break;case fn.MODE_SHIFT_TO_BYTE_COMPACTION_MODE:r.append(t[a]);break;case fn.TEXT_COMPACTION_MODE_LATCH:i=Y.ALPHA}break;case Y.PUNCT:if(n<fn.PAL)s=fn.PUNCT_CHARS[n];else switch(n){case fn.PAL:i=Y.ALPHA;break;case fn.MODE_SHIFT_TO_BYTE_COMPACTION_MODE:r.append(t[a]);break;case fn.TEXT_COMPACTION_MODE_LATCH:i=Y.ALPHA}break;case Y.ALPHA_SHIFT:if(i=o,n<26)s=String.fromCharCode(65+n);else switch(n){case 26:s=" ";break;case fn.TEXT_COMPACTION_MODE_LATCH:i=Y.ALPHA}break;case Y.PUNCT_SHIFT:if(i=o,n<fn.PAL)s=fn.PUNCT_CHARS[n];else switch(n){case fn.PAL:i=Y.ALPHA;break;case fn.MODE_SHIFT_TO_BYTE_COMPACTION_MODE:r.append(t[a]);break;case fn.TEXT_COMPACTION_MODE_LATCH:i=Y.ALPHA}}""!==s&&r.append(s),a++}}static byteCompaction(e,t,n,r,i){let o=new ln,a=0,s=0,l=!1;switch(e){case fn.BYTE_COMPACTION_MODE_LATCH:let e=new Int32Array(6),n=t[r++];for(;r<t[0]&&!l;)switch(e[a++]=n,s=900*s+n,n=t[r++],n){case fn.TEXT_COMPACTION_MODE_LATCH:case fn.BYTE_COMPACTION_MODE_LATCH:case fn.NUMERIC_COMPACTION_MODE_LATCH:case fn.BYTE_COMPACTION_MODE_LATCH_6:case fn.BEGIN_MACRO_PDF417_CONTROL_BLOCK:case fn.BEGIN_MACRO_PDF417_OPTIONAL_FIELD:case fn.MACRO_PDF417_TERMINATOR:r--,l=!0;break;default:if(a%5==0&&a>0){for(let e=0;e<6;++e)o.write(Number(dn(s)>>dn(8*(5-e))));s=0,a=0}}r===t[0]&&n<fn.TEXT_COMPACTION_MODE_LATCH&&(e[a++]=n);for(let t=0;t<a;t++)o.write(e[t]);break;case fn.BYTE_COMPACTION_MODE_LATCH_6:for(;r<t[0]&&!l;){let e=t[r++];if(e<fn.TEXT_COMPACTION_MODE_LATCH)a++,s=900*s+e;else switch(e){case fn.TEXT_COMPACTION_MODE_LATCH:case fn.BYTE_COMPACTION_MODE_LATCH:case fn.NUMERIC_COMPACTION_MODE_LATCH:case fn.BYTE_COMPACTION_MODE_LATCH_6:case fn.BEGIN_MACRO_PDF417_CONTROL_BLOCK:case fn.BEGIN_MACRO_PDF417_OPTIONAL_FIELD:case fn.MACRO_PDF417_TERMINATOR:r--,l=!0}if(a%5==0&&a>0){for(let e=0;e<6;++e)o.write(Number(dn(s)>>dn(8*(5-e))));s=0,a=0}}}return i.append(E.decode(o.toByteArray(),n)),r}static numericCompaction(e,t,n){let r=0,i=!1,o=new Int32Array(fn.MAX_NUMERIC_CODEWORDS);for(;t<e[0]&&!i;){let a=e[t++];if(t===e[0]&&(i=!0),a<fn.TEXT_COMPACTION_MODE_LATCH)o[r]=a,r++;else switch(a){case fn.TEXT_COMPACTION_MODE_LATCH:case fn.BYTE_COMPACTION_MODE_LATCH:case fn.BYTE_COMPACTION_MODE_LATCH_6:case fn.BEGIN_MACRO_PDF417_CONTROL_BLOCK:case fn.BEGIN_MACRO_PDF417_OPTIONAL_FIELD:case fn.MACRO_PDF417_TERMINATOR:t--,i=!0}(r%fn.MAX_NUMERIC_CODEWORDS==0||a===fn.NUMERIC_COMPACTION_MODE_LATCH||i)&&r>0&&(n.append(fn.decodeBase900toBase10(o,r)),r=0)}return t}static decodeBase900toBase10(e,t){let n=dn(0);for(let r=0;r<t;r++)n+=fn.EXP900[t-r-1]*dn(e[r]);let r=n.toString();if("1"!==r.charAt(0))throw new A;return r.substring(1)}}fn.TEXT_COMPACTION_MODE_LATCH=900,fn.BYTE_COMPACTION_MODE_LATCH=901,fn.NUMERIC_COMPACTION_MODE_LATCH=902,fn.BYTE_COMPACTION_MODE_LATCH_6=924,fn.ECI_USER_DEFINED=925,fn.ECI_GENERAL_PURPOSE=926,fn.ECI_CHARSET=927,fn.BEGIN_MACRO_PDF417_CONTROL_BLOCK=928,fn.BEGIN_MACRO_PDF417_OPTIONAL_FIELD=923,fn.MACRO_PDF417_TERMINATOR=922,fn.MODE_SHIFT_TO_BYTE_COMPACTION_MODE=913,fn.MAX_NUMERIC_CODEWORDS=15,fn.MACRO_PDF417_OPTIONAL_FIELD_FILE_NAME=0,fn.MACRO_PDF417_OPTIONAL_FIELD_SEGMENT_COUNT=1,fn.MACRO_PDF417_OPTIONAL_FIELD_TIME_STAMP=2,fn.MACRO_PDF417_OPTIONAL_FIELD_SENDER=3,fn.MACRO_PDF417_OPTIONAL_FIELD_ADDRESSEE=4,fn.MACRO_PDF417_OPTIONAL_FIELD_FILE_SIZE=5,fn.MACRO_PDF417_OPTIONAL_FIELD_CHECKSUM=6,fn.PL=25,fn.LL=27,fn.AS=27,fn.ML=28,fn.AL=28,fn.PS=29,fn.PAL=29,fn.PUNCT_CHARS=";<>@[\\]_`~!\r\t,:\n-.$/\"|*()?{}'",fn.MIXED_CHARS="0123456789&\r\t,:#-.$/+%*=^",fn.EXP900=cn()?hn():[],fn.NUMBER_OF_SEQUENCE_CODEWORDS=2;class pn{constructor(){}static decode(e,t,n,r,i,o,a){let s,l=new qt(e,t,n,r,i),c=null,u=null;for(let n=!0;;n=!1){if(null!=t&&(c=pn.getRowIndicatorColumn(e,l,t,!0,o,a)),null!=r&&(u=pn.getRowIndicatorColumn(e,l,r,!1,o,a)),s=pn.merge(c,u),null==s)throw M.getNotFoundInstance();let i=s.getBoundingBox();if(!n||null==i||!(i.getMinY()<l.getMinY()||i.getMaxY()>l.getMaxY()))break;l=i}s.setBoundingBox(l);let d=s.getBarcodeColumnCount()+1;s.setDetectionResultColumn(0,c),s.setDetectionResultColumn(d,u);let h=null!=c;for(let t=1;t<=d;t++){let n,r=h?t:d-t;if(void 0!==s.getDetectionResultColumn(r))continue;n=0===r||r===d?new Kt(l,0===r):new Zt(l),s.setDetectionResultColumn(r,n);let i=-1,c=i;for(let t=l.getMinY();t<=l.getMaxY();t++){if(i=pn.getStartColumn(s,r,t,h),i<0||i>l.getMaxX()){if(-1===c)continue;i=c}let u=pn.detectCodeword(e,l.getMinX(),l.getMaxX(),h,i,t,o,a);null!=u&&(n.setCodeword(t,u),c=i,o=Math.min(o,u.getWidth()),a=Math.max(a,u.getWidth()))}}return pn.createDecoderResult(s)}static merge(e,t){if(null==e&&null==t)return null;let n=pn.getBarcodeMetadata(e,t);if(null==n)return null;let r=qt.merge(pn.adjustBoundingBox(e),pn.adjustBoundingBox(t));return new Jt(n,r)}static adjustBoundingBox(e){if(null==e)return null;let t=e.getRowHeights();if(null==t)return null;let n=pn.getMax(t),r=0;for(let e of t)if(r+=n-e,e>0)break;let i=e.getCodewords();for(let e=0;r>0&&null==i[e];e++)r--;let o=0;for(let e=t.length-1;e>=0&&(o+=n-t[e],!(t[e]>0));e--);for(let e=i.length-1;o>0&&null==i[e];e--)o--;return e.getBoundingBox().addMissingRows(r,o,e.isLeft())}static getMax(e){let t=-1;for(let n of e)t=Math.max(t,n);return t}static getBarcodeMetadata(e,t){let n,r;return null==e||null==(n=e.getBarcodeMetadata())?null==t?null:t.getBarcodeMetadata():null==t||null==(r=t.getBarcodeMetadata())?n:n.getColumnCount()!==r.getColumnCount()&&n.getErrorCorrectionLevel()!==r.getErrorCorrectionLevel()&&n.getRowCount()!==r.getRowCount()?null:n}static getRowIndicatorColumn(e,t,n,r,i,o){let a=new Kt(t,r);for(let s=0;s<2;s++){let l=0===s?1:-1,c=Math.trunc(Math.trunc(n.getX()));for(let s=Math.trunc(Math.trunc(n.getY()));s<=t.getMaxY()&&s>=t.getMinY();s+=l){let t=pn.detectCodeword(e,0,e.getWidth(),r,c,s,i,o);null!=t&&(a.setCodeword(s,t),c=r?t.getStartX():t.getEndX())}}return a}static adjustCodewordCount(e,t){let n=t[0][1],r=n.getValue(),i=e.getBarcodeColumnCount()*e.getBarcodeRowCount()-pn.getNumberOfECCodeWords(e.getBarcodeECLevel());if(0===r.length){if(i<1||i>Ft.MAX_CODEWORDS_IN_BARCODE)throw M.getNotFoundInstance();n.setValue(i)}else r[0]!==i&&n.setValue(i)}static createDecoderResult(e){let t=pn.createBarcodeMatrix(e);pn.adjustCodewordCount(e,t);let n=new Array,r=new Int32Array(e.getBarcodeRowCount()*e.getBarcodeColumnCount()),i=[],o=new Array;for(let a=0;a<e.getBarcodeRowCount();a++)for(let s=0;s<e.getBarcodeColumnCount();s++){let l=t[a][s+1].getValue(),c=a*e.getBarcodeColumnCount()+s;0===l.length?n.push(c):1===l.length?r[c]=l[0]:(o.push(c),i.push(l))}let a=new Array(i.length);for(let e=0;e<a.length;e++)a[e]=i[e];return pn.createDecoderResultFromAmbiguousValues(e.getBarcodeECLevel(),r,Ft.toIntArray(n),Ft.toIntArray(o),a)}static createDecoderResultFromAmbiguousValues(e,t,n,r,i){let o=new Int32Array(r.length),a=100;for(;a-- >0;){for(let e=0;e<o.length;e++)t[r[e]]=i[e][o[e]];try{return pn.decodeCodewords(t,e,n)}catch(e){if(!(e instanceof f))throw e}if(0===o.length)throw f.getChecksumInstance();for(let e=0;e<o.length;e++){if(o[e]<i[e].length-1){o[e]++;break}if(o[e]=0,e===o.length-1)throw f.getChecksumInstance()}}throw f.getChecksumInstance()}static createBarcodeMatrix(e){let t=Array.from({length:e.getBarcodeRowCount()},(()=>new Array(e.getBarcodeColumnCount()+2)));for(let e=0;e<t.length;e++)for(let n=0;n<t[e].length;n++)t[e][n]=new Qt;let n=0;for(let r of e.getDetectionResultColumns()){if(null!=r)for(let e of r.getCodewords())if(null!=e){let r=e.getRowNumber();if(r>=0){if(r>=t.length)continue;t[r][n].setValue(e.getValue())}}n++}return t}static isValidBarcodeColumn(e,t){return t>=0&&t<=e.getBarcodeColumnCount()+1}static getStartColumn(e,t,n,r){let i=r?1:-1,o=null;if(pn.isValidBarcodeColumn(e,t-i)&&(o=e.getDetectionResultColumn(t-i).getCodeword(n)),null!=o)return r?o.getEndX():o.getStartX();if(o=e.getDetectionResultColumn(t).getCodewordNearby(n),null!=o)return r?o.getStartX():o.getEndX();if(pn.isValidBarcodeColumn(e,t-i)&&(o=e.getDetectionResultColumn(t-i).getCodewordNearby(n)),null!=o)return r?o.getEndX():o.getStartX();let a=0;for(;pn.isValidBarcodeColumn(e,t-i);){t-=i;for(let n of e.getDetectionResultColumn(t).getCodewords())if(null!=n)return(r?n.getEndX():n.getStartX())+i*a*(n.getEndX()-n.getStartX());a++}return r?e.getBoundingBox().getMinX():e.getBoundingBox().getMaxX()}static detectCodeword(e,t,n,r,i,o,a,s){i=pn.adjustCodewordStartColumn(e,t,n,r,i,o);let l,c=pn.getModuleBitCount(e,t,n,r,i,o);if(null==c)return null;let u=oe.sum(c);if(r)l=i+u;else{for(let e=0;e<c.length/2;e++){let t=c[e];c[e]=c[c.length-1-e],c[c.length-1-e]=t}l=i,i=l-u}if(!pn.checkCodewordSkew(u,a,s))return null;let d=tn.getDecodedValue(c),h=Ft.getCodeword(d);return-1===h?null:new en(i,l,pn.getCodewordBucketNumber(d),h)}static getModuleBitCount(e,t,n,r,i,o){let a=i,s=new Int32Array(8),l=0,c=r?1:-1,u=r;for(;(r?a<n:a>=t)&&l<s.length;)e.get(a,o)===u?(s[l]++,a+=c):(l++,u=!u);return l===s.length||a===(r?n:t)&&l===s.length-1?s:null}static getNumberOfECCodeWords(e){return 2<<e}static adjustCodewordStartColumn(e,t,n,r,i,o){let a=i,s=r?-1:1;for(let l=0;l<2;l++){for(;(r?a>=t:a<n)&&r===e.get(a,o);){if(Math.abs(i-a)>pn.CODEWORD_SKEW_SIZE)return i;a+=s}s=-s,r=!r}return a}static checkCodewordSkew(e,t,n){return t-pn.CODEWORD_SKEW_SIZE<=e&&e<=n+pn.CODEWORD_SKEW_SIZE}static decodeCodewords(e,t,n){if(0===e.length)throw A.getFormatInstance();let r=1<<t+1,i=pn.correctErrors(e,n,r);pn.verifyCodewordCount(e,r);let o=fn.decode(e,""+t);return o.setErrorsCorrected(i),o.setErasures(n.length),o}static correctErrors(e,t,n){if(null!=t&&t.length>n/2+pn.MAX_ERRORS||n<0||n>pn.MAX_EC_CODEWORDS)throw f.getChecksumInstance();return pn.errorCorrection.decode(e,n,t)}static verifyCodewordCount(e,t){if(e.length<4)throw A.getFormatInstance();let n=e[0];if(n>e.length)throw A.getFormatInstance();if(0===n){if(!(t<e.length))throw A.getFormatInstance();e[0]=e.length-t}}static getBitCountForCodeword(e){let t=new Int32Array(8),n=0,r=t.length-1;for(;!((1&e)!==n&&(n=1&e,r--,r<0));)t[r]++,e>>=1;return t}static getCodewordBucketNumber(e){return e instanceof Int32Array?this.getCodewordBucketNumber_Int32Array(e):this.getCodewordBucketNumber_number(e)}static getCodewordBucketNumber_number(e){return pn.getCodewordBucketNumber(pn.getBitCountForCodeword(e))}static getCodewordBucketNumber_Int32Array(e){return(e[0]-e[2]+e[4]-e[6]+9)%9}static toString(e){let t=new Xt;for(let n=0;n<e.length;n++){t.format("Row %2d: ",n);for(let r=0;r<e[n].length;r++){let i=e[n][r];0===i.getValue().length?t.format("        ",null):t.format("%4d(%2d)",i.getValue()[0],i.getConfidence(i.getValue()[0]))}t.format("%n")}return t.toString()}}pn.CODEWORD_SKEW_SIZE=2,pn.MAX_ERRORS=3,pn.MAX_EC_CODEWORDS=512,pn.errorCorrection=new Gt;class gn{decode(e,t=null){let n=gn.decode(e,t,!1);if(null==n||0===n.length||null==n[0])throw M.getNotFoundInstance();return n[0]}decodeMultiple(e,t=null){try{return gn.decode(e,t,!0)}catch(e){if(e instanceof A||e instanceof f)throw M.getNotFoundInstance();throw e}}static decode(e,t,n){const r=new Array,i=Ut.detectMultiple(e,t,n);for(const e of i.getPoints()){const t=pn.decode(i.getBits(),e[4],e[5],e[6],e[7],gn.getMinCodewordWidth(e),gn.getMaxCodewordWidth(e)),n=new F(t.getText(),t.getRawBytes(),void 0,e,U.PDF_417);n.putMetadata(X.ERROR_CORRECTION_LEVEL,t.getECLevel());const o=t.getOther();null!=o&&n.putMetadata(X.PDF417_EXTRA_METADATA,o),r.push(n)}return r.map((e=>e))}static getMaxWidth(e,t){return null==e||null==t?0:Math.trunc(Math.abs(e.getX()-t.getX()))}static getMinWidth(e,t){return null==e||null==t?w.MAX_VALUE:Math.trunc(Math.abs(e.getX()-t.getX()))}static getMaxCodewordWidth(e){return Math.floor(Math.max(Math.max(gn.getMaxWidth(e[0],e[4]),gn.getMaxWidth(e[6],e[2])*Ft.MODULES_IN_CODEWORD/Ft.MODULES_IN_STOP_PATTERN),Math.max(gn.getMaxWidth(e[1],e[5]),gn.getMaxWidth(e[7],e[3])*Ft.MODULES_IN_CODEWORD/Ft.MODULES_IN_STOP_PATTERN)))}static getMinCodewordWidth(e){return Math.floor(Math.min(Math.min(gn.getMinWidth(e[0],e[4]),gn.getMinWidth(e[6],e[2])*Ft.MODULES_IN_CODEWORD/Ft.MODULES_IN_STOP_PATTERN),Math.min(gn.getMinWidth(e[1],e[5]),gn.getMinWidth(e[7],e[3])*Ft.MODULES_IN_CODEWORD/Ft.MODULES_IN_STOP_PATTERN)))}reset(){}}class mn extends c{}mn.kind="ReaderException";class yn{constructor(e,t){this.verbose=!0===e,t&&this.setHints(t)}decode(e,t){return t&&this.setHints(t),this.decodeInternal(e)}decodeWithState(e){return null!==this.readers&&void 0!==this.readers||this.setHints(null),this.decodeInternal(e)}setHints(e){this.hints=e;const n=!t(e)&&!0===e.get(S.TRY_HARDER),r=t(e)?null:e.get(S.POSSIBLE_FORMATS),i=new Array;if(!t(r)){const t=r.some((e=>e===U.UPC_A||e===U.UPC_E||e===U.EAN_13||e===U.EAN_8||e===U.CODABAR||e===U.CODE_39||e===U.CODE_93||e===U.CODE_128||e===U.ITF||e===U.RSS_14||e===U.RSS_EXPANDED));t&&!n&&i.push(new lt(e,this.verbose)),r.includes(U.QR_CODE)&&i.push(new Bt),r.includes(U.DATA_MATRIX)&&i.push(new wt),r.includes(U.AZTEC)&&i.push(new ye),r.includes(U.PDF_417)&&i.push(new gn),t&&n&&i.push(new lt(e,this.verbose))}0===i.length&&(n||i.push(new lt(e,this.verbose)),i.push(new Bt),i.push(new wt),i.push(new ye),i.push(new gn),n&&i.push(new lt(e,this.verbose))),this.readers=i}reset(){if(null!==this.readers)for(const e of this.readers)e.reset()}decodeInternal(e){if(null===this.readers)throw new mn("No readers where selected, nothing can be read.");for(const t of this.readers)try{return t.decode(e,this.hints)}catch(e){if(e instanceof mn)continue}throw new M("No MultiFormat Readers were able to detect the code.")}}class vn extends B{constructor(e=null,t=500){const n=new yn;n.setHints(e),super(n,t)}decodeBitmap(e){return this.reader.decodeWithState(e)}}class wn extends B{constructor(e=500){super(new gn,e)}}class bn extends B{constructor(e=500){super(new Bt,e)}}var Cn;!function(e){e[e.ERROR_CORRECTION=0]="ERROR_CORRECTION",e[e.CHARACTER_SET=1]="CHARACTER_SET",e[e.DATA_MATRIX_SHAPE=2]="DATA_MATRIX_SHAPE",e[e.MIN_SIZE=3]="MIN_SIZE",e[e.MAX_SIZE=4]="MAX_SIZE",e[e.MARGIN=5]="MARGIN",e[e.PDF417_COMPACT=6]="PDF417_COMPACT",e[e.PDF417_COMPACTION=7]="PDF417_COMPACTION",e[e.PDF417_DIMENSIONS=8]="PDF417_DIMENSIONS",e[e.AZTEC_LAYERS=9]="AZTEC_LAYERS",e[e.QR_VERSION=10]="QR_VERSION"}(Cn||(Cn={}));var Sn=Cn;class An{constructor(e){this.field=e,this.cachedGenerators=[],this.cachedGenerators.push(new K(e,Int32Array.from([1])))}buildGenerator(e){const t=this.cachedGenerators;if(e>=t.length){let n=t[t.length-1];const r=this.field;for(let i=t.length;i<=e;i++){const e=n.multiply(new K(r,Int32Array.from([1,r.exp(i-1+r.getGeneratorBase())])));t.push(e),n=e}}return t[e]}encode(e,t){if(0===t)throw new d("No error correction bytes");const n=e.length-t;if(n<=0)throw new d("No data bytes provided");const r=this.buildGenerator(t),i=new Int32Array(n);g.arraycopy(e,0,i,0,n);let o=new K(this.field,i);o=o.multiplyByMonomial(t,1);const a=o.divide(r)[1].getCoefficients(),s=t-a.length;for(let t=0;t<s;t++)e[n+t]=0;g.arraycopy(a,0,e,n+s,a.length)}}class _n{constructor(){}static applyMaskPenaltyRule1(e){return _n.applyMaskPenaltyRule1Internal(e,!0)+_n.applyMaskPenaltyRule1Internal(e,!1)}static applyMaskPenaltyRule2(e){let t=0;const n=e.getArray(),r=e.getWidth(),i=e.getHeight();for(let e=0;e<i-1;e++){const i=n[e];for(let o=0;o<r-1;o++){const r=i[o];r===i[o+1]&&r===n[e+1][o]&&r===n[e+1][o+1]&&t++}}return _n.N2*t}static applyMaskPenaltyRule3(e){let t=0;const n=e.getArray(),r=e.getWidth(),i=e.getHeight();for(let e=0;e<i;e++)for(let o=0;o<r;o++){const a=n[e];o+6<r&&1===a[o]&&0===a[o+1]&&1===a[o+2]&&1===a[o+3]&&1===a[o+4]&&0===a[o+5]&&1===a[o+6]&&(_n.isWhiteHorizontal(a,o-4,o)||_n.isWhiteHorizontal(a,o+7,o+11))&&t++,e+6<i&&1===n[e][o]&&0===n[e+1][o]&&1===n[e+2][o]&&1===n[e+3][o]&&1===n[e+4][o]&&0===n[e+5][o]&&1===n[e+6][o]&&(_n.isWhiteVertical(n,o,e-4,e)||_n.isWhiteVertical(n,o,e+7,e+11))&&t++}return t*_n.N3}static isWhiteHorizontal(e,t,n){t=Math.max(t,0),n=Math.min(n,e.length);for(let r=t;r<n;r++)if(1===e[r])return!1;return!0}static isWhiteVertical(e,t,n,r){n=Math.max(n,0),r=Math.min(r,e.length);for(let i=n;i<r;i++)if(1===e[i][t])return!1;return!0}static applyMaskPenaltyRule4(e){let t=0;const n=e.getArray(),r=e.getWidth(),i=e.getHeight();for(let e=0;e<i;e++){const i=n[e];for(let e=0;e<r;e++)1===i[e]&&t++}const o=e.getHeight()*e.getWidth();return Math.floor(10*Math.abs(2*t-o)/o)*_n.N4}static getDataMaskBit(e,t,n){let r,i;switch(e){case 0:r=n+t&1;break;case 1:r=1&n;break;case 2:r=t%3;break;case 3:r=(n+t)%3;break;case 4:r=Math.floor(n/2)+Math.floor(t/3)&1;break;case 5:i=n*t,r=(1&i)+i%3;break;case 6:i=n*t,r=(1&i)+i%3&1;break;case 7:i=n*t,r=i%3+(n+t&1)&1;break;default:throw new d("Invalid mask pattern: "+e)}return 0===r}static applyMaskPenaltyRule1Internal(e,t){let n=0;const r=t?e.getHeight():e.getWidth(),i=t?e.getWidth():e.getHeight(),o=e.getArray();for(let e=0;e<r;e++){let r=0,a=-1;for(let s=0;s<i;s++){const i=t?o[e][s]:o[s][e];i===a?r++:(r>=5&&(n+=_n.N1+(r-5)),r=1,a=i)}r>=5&&(n+=_n.N1+(r-5))}return n}}_n.N1=3,_n.N2=3,_n.N3=40,_n.N4=10;class Tn{constructor(e,t){this.width=e,this.height=t;const n=new Array(t);for(let r=0;r!==t;r++)n[r]=new Uint8Array(e);this.bytes=n}getHeight(){return this.height}getWidth(){return this.width}get(e,t){return this.bytes[t][e]}getArray(){return this.bytes}setNumber(e,t,n){this.bytes[t][e]=n}setBoolean(e,t,n){this.bytes[t][e]=n?1:0}clear(e){for(const t of this.bytes)v.fill(t,e)}equals(e){if(!(e instanceof Tn))return!1;const t=e;if(this.width!==t.width)return!1;if(this.height!==t.height)return!1;for(let e=0,n=this.height;e<n;++e){const n=this.bytes[e],r=t.bytes[e];for(let e=0,t=this.width;e<t;++e)if(n[e]!==r[e])return!1}return!0}toString(){const e=new I;for(let t=0,n=this.height;t<n;++t){const n=this.bytes[t];for(let t=0,r=this.width;t<r;++t)switch(n[t]){case 0:e.append(" 0");break;case 1:e.append(" 1");break;default:e.append("  ")}e.append("\n")}return e.toString()}}class En{constructor(){this.maskPattern=-1}getMode(){return this.mode}getECLevel(){return this.ecLevel}getVersion(){return this.version}getMaskPattern(){return this.maskPattern}getMatrix(){return this.matrix}toString(){const e=new I;return e.append("<<\n"),e.append(" mode: "),e.append(this.mode?this.mode.toString():"null"),e.append("\n ecLevel: "),e.append(this.ecLevel?this.ecLevel.toString():"null"),e.append("\n version: "),e.append(this.version?this.version.toString():"null"),e.append("\n maskPattern: "),e.append(this.maskPattern.toString()),this.matrix?(e.append("\n matrix:\n"),e.append(this.matrix.toString())):e.append("\n matrix: null\n"),e.append(">>\n"),e.toString()}setMode(e){this.mode=e}setECLevel(e){this.ecLevel=e}setVersion(e){this.version=e}setMaskPattern(e){this.maskPattern=e}setMatrix(e){this.matrix=e}static isValidMaskPattern(e){return e>=0&&e<En.NUM_MASK_PATTERNS}}En.NUM_MASK_PATTERNS=8;class xn extends c{}xn.kind="WriterException";class In{constructor(){}static clearMatrix(e){e.clear(255)}static buildMatrix(e,t,n,r,i){In.clearMatrix(i),In.embedBasicPatterns(n,i),In.embedTypeInfo(t,r,i),In.maybeEmbedVersionInfo(n,i),In.embedDataBits(e,r,i)}static embedBasicPatterns(e,t){In.embedPositionDetectionPatternsAndSeparators(t),In.embedDarkDotAtLeftBottomCorner(t),In.maybeEmbedPositionAdjustmentPatterns(e,t),In.embedTimingPatterns(t)}static embedTypeInfo(e,t,n){const r=new b;In.makeTypeInfoBits(e,t,r);for(let e=0,t=r.getSize();e<t;++e){const t=r.get(r.getSize()-1-e),i=In.TYPE_INFO_COORDINATES[e],o=i[0],a=i[1];if(n.setBoolean(o,a,t),e<8){const r=n.getWidth()-e-1,i=8;n.setBoolean(r,i,t)}else{const r=8,i=n.getHeight()-7+(e-8);n.setBoolean(r,i,t)}}}static maybeEmbedVersionInfo(e,t){if(e.getVersionNumber()<7)return;const n=new b;In.makeVersionInfoBits(e,n);let r=17;for(let e=0;e<6;++e)for(let i=0;i<3;++i){const o=n.get(r);r--,t.setBoolean(e,t.getHeight()-11+i,o),t.setBoolean(t.getHeight()-11+i,e,o)}}static embedDataBits(e,t,n){let r=0,i=-1,o=n.getWidth()-1,a=n.getHeight()-1;for(;o>0;){for(6===o&&(o-=1);a>=0&&a<n.getHeight();){for(let i=0;i<2;++i){const s=o-i;if(!In.isEmpty(n.get(s,a)))continue;let l;r<e.getSize()?(l=e.get(r),++r):l=!1,255!==t&&_n.getDataMaskBit(t,s,a)&&(l=!l),n.setBoolean(s,a,l)}a+=i}i=-i,a+=i,o-=2}if(r!==e.getSize())throw new xn("Not all bits consumed: "+r+"/"+e.getSize())}static findMSBSet(e){return 32-w.numberOfLeadingZeros(e)}static calculateBCHCode(e,t){if(0===t)throw new d("0 polynomial");const n=In.findMSBSet(t);for(e<<=n-1;In.findMSBSet(e)>=n;)e^=t<<In.findMSBSet(e)-n;return e}static makeTypeInfoBits(e,t,n){if(!En.isValidMaskPattern(t))throw new xn("Invalid mask pattern");const r=e.getBits()<<3|t;n.appendBits(r,5);const i=In.calculateBCHCode(r,In.TYPE_INFO_POLY);n.appendBits(i,10);const o=new b;if(o.appendBits(In.TYPE_INFO_MASK_PATTERN,15),n.xor(o),15!==n.getSize())throw new xn("should not happen but we got: "+n.getSize())}static makeVersionInfoBits(e,t){t.appendBits(e.getVersionNumber(),6);const n=In.calculateBCHCode(e.getVersionNumber(),In.VERSION_INFO_POLY);if(t.appendBits(n,12),18!==t.getSize())throw new xn("should not happen but we got: "+t.getSize())}static isEmpty(e){return 255===e}static embedTimingPatterns(e){for(let t=8;t<e.getWidth()-8;++t){const n=(t+1)%2;In.isEmpty(e.get(t,6))&&e.setNumber(t,6,n),In.isEmpty(e.get(6,t))&&e.setNumber(6,t,n)}}static embedDarkDotAtLeftBottomCorner(e){if(0===e.get(8,e.getHeight()-8))throw new xn;e.setNumber(8,e.getHeight()-8,1)}static embedHorizontalSeparationPattern(e,t,n){for(let r=0;r<8;++r){if(!In.isEmpty(n.get(e+r,t)))throw new xn;n.setNumber(e+r,t,0)}}static embedVerticalSeparationPattern(e,t,n){for(let r=0;r<7;++r){if(!In.isEmpty(n.get(e,t+r)))throw new xn;n.setNumber(e,t+r,0)}}static embedPositionAdjustmentPattern(e,t,n){for(let r=0;r<5;++r){const i=In.POSITION_ADJUSTMENT_PATTERN[r];for(let o=0;o<5;++o)n.setNumber(e+o,t+r,i[o])}}static embedPositionDetectionPattern(e,t,n){for(let r=0;r<7;++r){const i=In.POSITION_DETECTION_PATTERN[r];for(let o=0;o<7;++o)n.setNumber(e+o,t+r,i[o])}}static embedPositionDetectionPatternsAndSeparators(e){const t=In.POSITION_DETECTION_PATTERN[0].length;In.embedPositionDetectionPattern(0,0,e),In.embedPositionDetectionPattern(e.getWidth()-t,0,e),In.embedPositionDetectionPattern(0,e.getWidth()-t,e);const n=8;In.embedHorizontalSeparationPattern(0,n-1,e),In.embedHorizontalSeparationPattern(e.getWidth()-n,n-1,e),In.embedHorizontalSeparationPattern(0,e.getWidth()-n,e);const r=7;In.embedVerticalSeparationPattern(r,0,e),In.embedVerticalSeparationPattern(e.getHeight()-r-1,0,e),In.embedVerticalSeparationPattern(r,e.getHeight()-r,e)}static maybeEmbedPositionAdjustmentPatterns(e,t){if(e.getVersionNumber()<2)return;const n=e.getVersionNumber()-1,r=In.POSITION_ADJUSTMENT_PATTERN_COORDINATE_TABLE[n];for(let e=0,n=r.length;e!==n;e++){const i=r[e];if(i>=0)for(let e=0;e!==n;e++){const n=r[e];n>=0&&In.isEmpty(t.get(n,i))&&In.embedPositionAdjustmentPattern(n-2,i-2,t)}}}}In.POSITION_DETECTION_PATTERN=Array.from([Int32Array.from([1,1,1,1,1,1,1]),Int32Array.from([1,0,0,0,0,0,1]),Int32Array.from([1,0,1,1,1,0,1]),Int32Array.from([1,0,1,1,1,0,1]),Int32Array.from([1,0,1,1,1,0,1]),Int32Array.from([1,0,0,0,0,0,1]),Int32Array.from([1,1,1,1,1,1,1])]),In.POSITION_ADJUSTMENT_PATTERN=Array.from([Int32Array.from([1,1,1,1,1]),Int32Array.from([1,0,0,0,1]),Int32Array.from([1,0,1,0,1]),Int32Array.from([1,0,0,0,1]),Int32Array.from([1,1,1,1,1])]),In.POSITION_ADJUSTMENT_PATTERN_COORDINATE_TABLE=Array.from([Int32Array.from([-1,-1,-1,-1,-1,-1,-1]),Int32Array.from([6,18,-1,-1,-1,-1,-1]),Int32Array.from([6,22,-1,-1,-1,-1,-1]),Int32Array.from([6,26,-1,-1,-1,-1,-1]),Int32Array.from([6,30,-1,-1,-1,-1,-1]),Int32Array.from([6,34,-1,-1,-1,-1,-1]),Int32Array.from([6,22,38,-1,-1,-1,-1]),Int32Array.from([6,24,42,-1,-1,-1,-1]),Int32Array.from([6,26,46,-1,-1,-1,-1]),Int32Array.from([6,28,50,-1,-1,-1,-1]),Int32Array.from([6,30,54,-1,-1,-1,-1]),Int32Array.from([6,32,58,-1,-1,-1,-1]),Int32Array.from([6,34,62,-1,-1,-1,-1]),Int32Array.from([6,26,46,66,-1,-1,-1]),Int32Array.from([6,26,48,70,-1,-1,-1]),Int32Array.from([6,26,50,74,-1,-1,-1]),Int32Array.from([6,30,54,78,-1,-1,-1]),Int32Array.from([6,30,56,82,-1,-1,-1]),Int32Array.from([6,30,58,86,-1,-1,-1]),Int32Array.from([6,34,62,90,-1,-1,-1]),Int32Array.from([6,28,50,72,94,-1,-1]),Int32Array.from([6,26,50,74,98,-1,-1]),Int32Array.from([6,30,54,78,102,-1,-1]),Int32Array.from([6,28,54,80,106,-1,-1]),Int32Array.from([6,32,58,84,110,-1,-1]),Int32Array.from([6,30,58,86,114,-1,-1]),Int32Array.from([6,34,62,90,118,-1,-1]),Int32Array.from([6,26,50,74,98,122,-1]),Int32Array.from([6,30,54,78,102,126,-1]),Int32Array.from([6,26,52,78,104,130,-1]),Int32Array.from([6,30,56,82,108,134,-1]),Int32Array.from([6,34,60,86,112,138,-1]),Int32Array.from([6,30,58,86,114,142,-1]),Int32Array.from([6,34,62,90,118,146,-1]),Int32Array.from([6,30,54,78,102,126,150]),Int32Array.from([6,24,50,76,102,128,154]),Int32Array.from([6,28,54,80,106,132,158]),Int32Array.from([6,32,58,84,110,136,162]),Int32Array.from([6,26,54,82,110,138,166]),Int32Array.from([6,30,58,86,114,142,170])]),In.TYPE_INFO_COORDINATES=Array.from([Int32Array.from([8,0]),Int32Array.from([8,1]),Int32Array.from([8,2]),Int32Array.from([8,3]),Int32Array.from([8,4]),Int32Array.from([8,5]),Int32Array.from([8,7]),Int32Array.from([8,8]),Int32Array.from([7,8]),Int32Array.from([5,8]),Int32Array.from([4,8]),Int32Array.from([3,8]),Int32Array.from([2,8]),Int32Array.from([1,8]),Int32Array.from([0,8])]),In.VERSION_INFO_POLY=7973,In.TYPE_INFO_POLY=1335,In.TYPE_INFO_MASK_PATTERN=21522;class On{constructor(e,t){this.dataBytes=e,this.errorCorrectionBytes=t}getDataBytes(){return this.dataBytes}getErrorCorrectionBytes(){return this.errorCorrectionBytes}}class Mn{constructor(){}static calculateMaskPenalty(e){return _n.applyMaskPenaltyRule1(e)+_n.applyMaskPenaltyRule2(e)+_n.applyMaskPenaltyRule3(e)+_n.applyMaskPenaltyRule4(e)}static encode(e,t,n=null){let r=Mn.DEFAULT_BYTE_MODE_ENCODING;const i=null!==n&&void 0!==n.get(Sn.CHARACTER_SET);i&&(r=n.get(Sn.CHARACTER_SET).toString());const o=this.chooseMode(e,r),a=new b;if(o===Ot.BYTE&&(i||Mn.DEFAULT_BYTE_MODE_ENCODING!==r)){const e=_.getCharacterSetECIByName(r);void 0!==e&&this.appendECI(e,a)}this.appendModeInfo(o,a);const s=new b;let l;if(this.appendBytes(e,o,s,r),null!==n&&void 0!==n.get(Sn.QR_VERSION)){const e=Number.parseInt(n.get(Sn.QR_VERSION).toString(),10);l=Tt.getVersionForNumber(e);const r=this.calculateBitsNeeded(o,a,s,l);if(!this.willFit(r,l,t))throw new xn("Data too big for requested version")}else l=this.recommendVersion(t,o,a,s);const c=new b;c.appendBitArray(a);const u=o===Ot.BYTE?s.getSizeInBytes():e.length;this.appendLengthInfo(u,l,o,c),c.appendBitArray(s);const d=l.getECBlocksForLevel(t),h=l.getTotalCodewords()-d.getTotalECCodewords();this.terminateBits(h,c);const f=this.interleaveWithECBytes(c,l.getTotalCodewords(),h,d.getNumBlocks()),p=new En;p.setECLevel(t),p.setMode(o),p.setVersion(l);const g=l.getDimensionForVersion(),m=new Tn(g,g),y=this.chooseMaskPattern(f,t,l,m);return p.setMaskPattern(y),In.buildMatrix(f,t,l,y,m),p.setMatrix(m),p}static recommendVersion(e,t,n,r){const i=this.calculateBitsNeeded(t,n,r,Tt.getVersionForNumber(1)),o=this.chooseVersion(i,e),a=this.calculateBitsNeeded(t,n,r,o);return this.chooseVersion(a,e)}static calculateBitsNeeded(e,t,n,r){return t.getSize()+e.getCharacterCountBits(r)+n.getSize()}static getAlphanumericCode(e){return e<Mn.ALPHANUMERIC_TABLE.length?Mn.ALPHANUMERIC_TABLE[e]:-1}static chooseMode(e,t=null){if(_.SJIS.getName()===t&&this.isOnlyDoubleByteKanji(e))return Ot.KANJI;let n=!1,r=!1;for(let t=0,i=e.length;t<i;++t){const i=e.charAt(t);if(Mn.isDigit(i))n=!0;else{if(-1===this.getAlphanumericCode(i.charCodeAt(0)))return Ot.BYTE;r=!0}}return r?Ot.ALPHANUMERIC:n?Ot.NUMERIC:Ot.BYTE}static isOnlyDoubleByteKanji(e){let t;try{t=E.encode(e,_.SJIS)}catch(e){return!1}const n=t.length;if(n%2!=0)return!1;for(let e=0;e<n;e+=2){const n=255&t[e];if((n<129||n>159)&&(n<224||n>235))return!1}return!0}static chooseMaskPattern(e,t,n,r){let i=Number.MAX_SAFE_INTEGER,o=-1;for(let a=0;a<En.NUM_MASK_PATTERNS;a++){In.buildMatrix(e,t,n,a,r);let s=this.calculateMaskPenalty(r);s<i&&(i=s,o=a)}return o}static chooseVersion(e,t){for(let n=1;n<=40;n++){const r=Tt.getVersionForNumber(n);if(Mn.willFit(e,r,t))return r}throw new xn("Data too big")}static willFit(e,t,n){return t.getTotalCodewords()-t.getECBlocksForLevel(n).getTotalECCodewords()>=(e+7)/8}static terminateBits(e,t){const n=8*e;if(t.getSize()>n)throw new xn("data bits cannot fit in the QR Code"+t.getSize()+" > "+n);for(let e=0;e<4&&t.getSize()<n;++e)t.appendBit(!1);const r=7&t.getSize();if(r>0)for(let e=r;e<8;e++)t.appendBit(!1);const i=e-t.getSizeInBytes();for(let e=0;e<i;++e)t.appendBits(0==(1&e)?236:17,8);if(t.getSize()!==n)throw new xn("Bits size does not equal capacity")}static getNumDataBytesAndNumECBytesForBlockID(e,t,n,r,i,o){if(r>=n)throw new xn("Block ID too large");const a=e%n,s=n-a,l=Math.floor(e/n),c=l+1,u=Math.floor(t/n),d=u+1,h=l-u,f=c-d;if(h!==f)throw new xn("EC bytes mismatch");if(n!==s+a)throw new xn("RS blocks mismatch");if(e!==(u+h)*s+(d+f)*a)throw new xn("Total bytes mismatch");r<s?(i[0]=u,o[0]=h):(i[0]=d,o[0]=f)}static interleaveWithECBytes(e,t,n,r){if(e.getSizeInBytes()!==n)throw new xn("Number of bits and data bytes does not match");let i=0,o=0,a=0;const s=new Array;for(let l=0;l<r;++l){const c=new Int32Array(1),u=new Int32Array(1);Mn.getNumDataBytesAndNumECBytesForBlockID(t,n,r,l,c,u);const d=c[0],h=new Uint8Array(d);e.toBytes(8*i,h,0,d);const f=Mn.generateECBytes(h,u[0]);s.push(new On(h,f)),o=Math.max(o,d),a=Math.max(a,f.length),i+=c[0]}if(n!==i)throw new xn("Data bytes does not match offset");const l=new b;for(let e=0;e<o;++e)for(const t of s){const n=t.getDataBytes();e<n.length&&l.appendBits(n[e],8)}for(let e=0;e<a;++e)for(const t of s){const n=t.getErrorCorrectionBytes();e<n.length&&l.appendBits(n[e],8)}if(t!==l.getSizeInBytes())throw new xn("Interleaving error: "+t+" and "+l.getSizeInBytes()+" differ.");return l}static generateECBytes(e,t){const n=e.length,r=new Int32Array(n+t);for(let t=0;t<n;t++)r[t]=255&e[t];new An(ee.QR_CODE_FIELD_256).encode(r,t);const i=new Uint8Array(t);for(let e=0;e<t;e++)i[e]=r[n+e];return i}static appendModeInfo(e,t){t.appendBits(e.getBits(),4)}static appendLengthInfo(e,t,n,r){const i=n.getCharacterCountBits(t);if(e>=1<<i)throw new xn(e+" is bigger than "+((1<<i)-1));r.appendBits(e,i)}static appendBytes(e,t,n,r){switch(t){case Ot.NUMERIC:Mn.appendNumericBytes(e,n);break;case Ot.ALPHANUMERIC:Mn.appendAlphanumericBytes(e,n);break;case Ot.BYTE:Mn.append8BitBytes(e,n,r);break;case Ot.KANJI:Mn.appendKanjiBytes(e,n);break;default:throw new xn("Invalid mode: "+t)}}static getDigit(e){return e.charCodeAt(0)-48}static isDigit(e){const t=Mn.getDigit(e);return t>=0&&t<=9}static appendNumericBytes(e,t){const n=e.length;let r=0;for(;r<n;){const i=Mn.getDigit(e.charAt(r));if(r+2<n){const n=Mn.getDigit(e.charAt(r+1)),o=Mn.getDigit(e.charAt(r+2));t.appendBits(100*i+10*n+o,10),r+=3}else if(r+1<n){const n=Mn.getDigit(e.charAt(r+1));t.appendBits(10*i+n,7),r+=2}else t.appendBits(i,4),r++}}static appendAlphanumericBytes(e,t){const n=e.length;let r=0;for(;r<n;){const i=Mn.getAlphanumericCode(e.charCodeAt(r));if(-1===i)throw new xn;if(r+1<n){const n=Mn.getAlphanumericCode(e.charCodeAt(r+1));if(-1===n)throw new xn;t.appendBits(45*i+n,11),r+=2}else t.appendBits(i,6),r++}}static append8BitBytes(e,t,n){let r;try{r=E.encode(e,n)}catch(e){throw new xn(e)}for(let e=0,n=r.length;e!==n;e++){const n=r[e];t.appendBits(n,8)}}static appendKanjiBytes(e,t){let n;try{n=E.encode(e,_.SJIS)}catch(e){throw new xn(e)}const r=n.length;for(let e=0;e<r;e+=2){const r=(255&n[e])<<8&4294967295|255&n[e+1];let i=-1;if(r>=33088&&r<=40956?i=r-33088:r>=57408&&r<=60351&&(i=r-49472),-1===i)throw new xn("Invalid byte sequence");const o=192*(i>>8)+(255&i);t.appendBits(o,13)}}static appendECI(e,t){t.appendBits(Ot.ECI.getBits(),4),t.appendBits(e.getValue(),8)}}Mn.ALPHANUMERIC_TABLE=Int32Array.from([-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,36,-1,-1,-1,37,38,-1,-1,-1,-1,39,40,-1,41,42,43,0,1,2,3,4,5,6,7,8,9,44,-1,-1,-1,-1,-1,-1,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,-1,-1,-1,-1,-1]),Mn.DEFAULT_BYTE_MODE_ENCODING=_.UTF8.getName();class Dn{write(e,t,n,r=null){if(0===e.length)throw new d("Found empty contents");if(t<0||n<0)throw new d("Requested dimensions are too small: "+t+"x"+n);let i=Ct.L,o=Dn.QUIET_ZONE_SIZE;null!==r&&(void 0!==r.get(Sn.ERROR_CORRECTION)&&(i=Ct.fromString(r.get(Sn.ERROR_CORRECTION).toString())),void 0!==r.get(Sn.MARGIN)&&(o=Number.parseInt(r.get(Sn.MARGIN).toString(),10)));const a=Mn.encode(e,i,r);return this.renderResult(a,t,n,o)}writeToDom(e,t,n,r,i=null){"string"==typeof e&&(e=document.querySelector(e));const o=this.write(t,n,r,i);e&&e.appendChild(o)}renderResult(e,t,n,r){const i=e.getMatrix();if(null===i)throw new ne;const o=i.getWidth(),a=i.getHeight(),s=o+2*r,l=a+2*r,c=Math.max(t,s),u=Math.max(n,l),d=Math.min(Math.floor(c/s),Math.floor(u/l)),h=Math.floor((c-o*d)/2),f=Math.floor((u-a*d)/2),p=this.createSVGElement(c,u);for(let e=0,t=f;e<a;e++,t+=d)for(let n=0,r=h;n<o;n++,r+=d)if(1===i.get(n,e)){const e=this.createSvgRectElement(r,t,d,d);p.appendChild(e)}return p}createSVGElement(e,t){const n=document.createElementNS(Dn.SVG_NS,"svg");return n.setAttributeNS(null,"height",e.toString()),n.setAttributeNS(null,"width",t.toString()),n}createSvgRectElement(e,t,n,r){const i=document.createElementNS(Dn.SVG_NS,"rect");return i.setAttributeNS(null,"x",e.toString()),i.setAttributeNS(null,"y",t.toString()),i.setAttributeNS(null,"height",n.toString()),i.setAttributeNS(null,"width",r.toString()),i.setAttributeNS(null,"fill","#000000"),i}}Dn.QUIET_ZONE_SIZE=4,Dn.SVG_NS="http://www.w3.org/2000/svg";class kn{encode(e,t,n,r,i){if(0===e.length)throw new d("Found empty contents");if(t!==U.QR_CODE)throw new d("Can only encode QR_CODE, but got "+t);if(n<0||r<0)throw new d(`Requested dimensions are too small: ${n}x${r}`);let o=Ct.L,a=kn.QUIET_ZONE_SIZE;null!==i&&(void 0!==i.get(Sn.ERROR_CORRECTION)&&(o=Ct.fromString(i.get(Sn.ERROR_CORRECTION).toString())),void 0!==i.get(Sn.MARGIN)&&(a=Number.parseInt(i.get(Sn.MARGIN).toString(),10)));const s=Mn.encode(e,o,i);return kn.renderResult(s,n,r,a)}static renderResult(e,t,n,r){const i=e.getMatrix();if(null===i)throw new ne;const o=i.getWidth(),a=i.getHeight(),s=o+2*r,l=a+2*r,c=Math.max(t,s),u=Math.max(n,l),d=Math.min(Math.floor(c/s),Math.floor(u/l)),h=Math.floor((c-o*d)/2),f=Math.floor((u-a*d)/2),p=new O(c,u);for(let e=0,t=f;e<a;e++,t+=d)for(let n=0,r=h;n<o;n++,r+=d)1===i.get(n,e)&&p.setRegion(r,t,d,d);return p}}kn.QUIET_ZONE_SIZE=4;class Nn{encode(e,t,n,r,i){let o;if(t!==U.QR_CODE)throw new d("No encoder available for format "+t);return o=new kn,o.encode(e,t,n,r,i)}}class Pn extends N{constructor(e,t,n,r,i,o,a,s){if(super(o,a),this.yuvData=e,this.dataWidth=t,this.dataHeight=n,this.left=r,this.top=i,r+o>t||i+a>n)throw new d("Crop rectangle does not fit within image data.");s&&this.reverseHorizontal(o,a)}getRow(e,t){if(e<0||e>=this.getHeight())throw new d("Requested row is outside the image: "+e);const n=this.getWidth();(null==t||t.length<n)&&(t=new Uint8ClampedArray(n));const r=(e+this.top)*this.dataWidth+this.left;return g.arraycopy(this.yuvData,r,t,0,n),t}getMatrix(){const e=this.getWidth(),t=this.getHeight();if(e===this.dataWidth&&t===this.dataHeight)return this.yuvData;const n=e*t,r=new Uint8ClampedArray(n);let i=this.top*this.dataWidth+this.left;if(e===this.dataWidth)return g.arraycopy(this.yuvData,i,r,0,n),r;for(let n=0;n<t;n++){const t=n*e;g.arraycopy(this.yuvData,i,r,t,e),i+=this.dataWidth}return r}isCropSupported(){return!0}crop(e,t,n,r){return new Pn(this.yuvData,this.dataWidth,this.dataHeight,this.left+e,this.top+t,n,r,!1)}renderThumbnail(){const e=this.getWidth()/Pn.THUMBNAIL_SCALE_FACTOR,t=this.getHeight()/Pn.THUMBNAIL_SCALE_FACTOR,n=new Int32Array(e*t),r=this.yuvData;let i=this.top*this.dataWidth+this.left;for(let o=0;o<t;o++){const t=o*e;for(let o=0;o<e;o++){const e=255&r[i+o*Pn.THUMBNAIL_SCALE_FACTOR];n[t+o]=4278190080|65793*e}i+=this.dataWidth*Pn.THUMBNAIL_SCALE_FACTOR}return n}getThumbnailWidth(){return this.getWidth()/Pn.THUMBNAIL_SCALE_FACTOR}getThumbnailHeight(){return this.getHeight()/Pn.THUMBNAIL_SCALE_FACTOR}reverseHorizontal(e,t){const n=this.yuvData;for(let r=0,i=this.top*this.dataWidth+this.left;r<t;r++,i+=this.dataWidth){const t=i+e/2;for(let r=i,o=i+e-1;r<t;r++,o--){const e=n[r];n[r]=n[o],n[o]=e}}}invert(){return new P(this)}}Pn.THUMBNAIL_SCALE_FACTOR=2;class Rn extends N{constructor(e,t,n,r,i,o,a){if(super(t,n),this.dataWidth=r,this.dataHeight=i,this.left=o,this.top=a,4===e.BYTES_PER_ELEMENT){const r=t*n,i=new Uint8ClampedArray(r);for(let t=0;t<r;t++){const n=e[t],r=n>>16&255,o=n>>7&510,a=255&n;i[t]=(r+o+a)/4&255}this.luminances=i}else this.luminances=e;if(void 0===r&&(this.dataWidth=t),void 0===i&&(this.dataHeight=n),void 0===o&&(this.left=0),void 0===a&&(this.top=0),this.left+t>this.dataWidth||this.top+n>this.dataHeight)throw new d("Crop rectangle does not fit within image data.")}getRow(e,t){if(e<0||e>=this.getHeight())throw new d("Requested row is outside the image: "+e);const n=this.getWidth();(null==t||t.length<n)&&(t=new Uint8ClampedArray(n));const r=(e+this.top)*this.dataWidth+this.left;return g.arraycopy(this.luminances,r,t,0,n),t}getMatrix(){const e=this.getWidth(),t=this.getHeight();if(e===this.dataWidth&&t===this.dataHeight)return this.luminances;const n=e*t,r=new Uint8ClampedArray(n);let i=this.top*this.dataWidth+this.left;if(e===this.dataWidth)return g.arraycopy(this.luminances,i,r,0,n),r;for(let n=0;n<t;n++){const t=n*e;g.arraycopy(this.luminances,i,r,t,e),i+=this.dataWidth}return r}isCropSupported(){return!0}crop(e,t,n,r){return new Rn(this.luminances,n,r,this.dataWidth,this.dataHeight,this.left+e,this.top+t)}invert(){return new P(this)}}class Ln extends _{static forName(e){return this.getCharacterSetECIByName(e)}}class $n{}$n.ISO_8859_1=_.ISO8859_1;class jn{isCompact(){return this.compact}setCompact(e){this.compact=e}getSize(){return this.size}setSize(e){this.size=e}getLayers(){return this.layers}setLayers(e){this.layers=e}getCodeWords(){return this.codeWords}setCodeWords(e){this.codeWords=e}getMatrix(){return this.matrix}setMatrix(e){this.matrix=e}}class Bn{static singletonList(e){return[e]}static min(e,t){return e.sort(t)[0]}}class Fn{constructor(e){this.previous=e}getPrevious(){return this.previous}}class Hn extends Fn{constructor(e,t,n){super(e),this.value=t,this.bitCount=n}appendTo(e,t){e.appendBits(this.value,this.bitCount)}add(e,t){return new Hn(this,e,t)}addBinaryShift(e,t){return new Hn(this,e,t)}toString(){let e=this.value&(1<<this.bitCount)-1;return e|=1<<this.bitCount,"<"+w.toBinaryString(e|1<<this.bitCount).substring(1)+">"}}class Un extends Hn{constructor(e,t,n){super(e,0,0),this.binaryShiftStart=t,this.binaryShiftByteCount=n}appendTo(e,t){for(let n=0;n<this.binaryShiftByteCount;n++)(0===n||31===n&&this.binaryShiftByteCount<=62)&&(e.appendBits(31,5),this.binaryShiftByteCount>62?e.appendBits(this.binaryShiftByteCount-31,16):0===n?e.appendBits(Math.min(this.binaryShiftByteCount,31),5):e.appendBits(this.binaryShiftByteCount-31,5)),e.appendBits(t[this.binaryShiftStart+n],8)}addBinaryShift(e,t){return new Un(this,e,t)}toString(){return"<"+this.binaryShiftStart+"::"+(this.binaryShiftStart+this.binaryShiftByteCount-1)+">"}}function zn(e,t,n){return new Un(e,t,n)}function Vn(e,t,n){return new Hn(e,t,n)}const Wn=["UPPER","LOWER","DIGIT","MIXED","PUNCT"],Gn=0,qn=1,Yn=2,Xn=3,Zn=4,Qn=new Hn(null,0,0),Kn=[Int32Array.from([0,327708,327710,327709,656318]),Int32Array.from([590318,0,327710,327709,656318]),Int32Array.from([262158,590300,0,590301,932798]),Int32Array.from([327709,327708,656318,0,327710]),Int32Array.from([327711,656380,656382,656381,0])];function Jn(e){for(let t of e)v.fill(t,-1);return e[Gn][Zn]=0,e[qn][Zn]=0,e[qn][Gn]=28,e[Xn][Zn]=0,e[Yn][Zn]=0,e[Yn][Gn]=15,e}const er=Jn(v.createInt32Array(6,6));class tr{constructor(e,t,n,r){this.token=e,this.mode=t,this.binaryShiftByteCount=n,this.bitCount=r}getMode(){return this.mode}getToken(){return this.token}getBinaryShiftByteCount(){return this.binaryShiftByteCount}getBitCount(){return this.bitCount}latchAndAppend(e,t){let n=this.bitCount,r=this.token;if(e!==this.mode){let t=Kn[this.mode][e];r=Vn(r,65535&t,t>>16),n+=t>>16}let i=e===Yn?4:5;return r=Vn(r,t,i),new tr(r,e,0,n+i)}shiftAndAppend(e,t){let n=this.token,r=this.mode===Yn?4:5;return n=Vn(n,er[this.mode][e],r),n=Vn(n,t,5),new tr(n,this.mode,0,this.bitCount+r+5)}addBinaryShiftChar(e){let t=this.token,n=this.mode,r=this.bitCount;if(this.mode===Zn||this.mode===Yn){let e=Kn[n][Gn];t=Vn(t,65535&e,e>>16),r+=e>>16,n=Gn}let i=0===this.binaryShiftByteCount||31===this.binaryShiftByteCount?18:62===this.binaryShiftByteCount?9:8,o=new tr(t,n,this.binaryShiftByteCount+1,r+i);return 2078===o.binaryShiftByteCount&&(o=o.endBinaryShift(e+1)),o}endBinaryShift(e){if(0===this.binaryShiftByteCount)return this;let t=this.token;return t=zn(t,e-this.binaryShiftByteCount,this.binaryShiftByteCount),new tr(t,this.mode,0,this.bitCount)}isBetterThanOrEqualTo(e){let t=this.bitCount+(Kn[this.mode][e.mode]>>16);return this.binaryShiftByteCount<e.binaryShiftByteCount?t+=tr.calculateBinaryShiftCost(e)-tr.calculateBinaryShiftCost(this):this.binaryShiftByteCount>e.binaryShiftByteCount&&e.binaryShiftByteCount>0&&(t+=10),t<=e.bitCount}toBitArray(e){let t=[];for(let n=this.endBinaryShift(e.length).token;null!==n;n=n.getPrevious())t.unshift(n);let n=new b;for(const r of t)r.appendTo(n,e);return n}toString(){return x.format("%s bits=%d bytes=%d",Wn[this.mode],this.bitCount,this.binaryShiftByteCount)}static calculateBinaryShiftCost(e){return e.binaryShiftByteCount>62?21:e.binaryShiftByteCount>31?20:e.binaryShiftByteCount>0?10:0}}function nr(e){const t=x.getCharCode(" "),n=x.getCharCode("."),r=x.getCharCode(",");e[Gn][t]=1;const i=x.getCharCode("Z"),o=x.getCharCode("A");for(let t=o;t<=i;t++)e[Gn][t]=t-o+2;e[qn][t]=1;const a=x.getCharCode("z"),s=x.getCharCode("a");for(let t=s;t<=a;t++)e[qn][t]=t-s+2;e[Yn][t]=1;const l=x.getCharCode("9"),c=x.getCharCode("0");for(let t=c;t<=l;t++)e[Yn][t]=t-c+2;e[Yn][r]=12,e[Yn][n]=13;const u=["\0"," ","�","�","�","�","�","�","�","\b","\t","\n","\v","\f","\r","�","�","�","�","�","@","\\","^","_","`","|","~","�"];for(let t=0;t<u.length;t++)e[Xn][x.getCharCode(u[t])]=t;const d=["\0","\r","\0","\0","\0","\0","!","'","#","$","%","&","'","(",")","*","+",",","-",".","/",":",";","<","=",">","?","[","]","{","}"];for(let t=0;t<d.length;t++)x.getCharCode(d[t])>0&&(e[Zn][x.getCharCode(d[t])]=t);return e}tr.INITIAL_STATE=new tr(Qn,Gn,0,0);const rr=nr(v.createInt32Array(5,256));class ir{constructor(e){this.text=e}encode(){const e=x.getCharCode(" "),t=x.getCharCode("\n");let n=Bn.singletonList(tr.INITIAL_STATE);for(let r=0;r<this.text.length;r++){let i,o=r+1<this.text.length?this.text[r+1]:0;switch(this.text[r]){case x.getCharCode("\r"):i=o===t?2:0;break;case x.getCharCode("."):i=o===e?3:0;break;case x.getCharCode(","):i=o===e?4:0;break;case x.getCharCode(":"):i=o===e?5:0;break;default:i=0}i>0?(n=ir.updateStateListForPair(n,r,i),r++):n=this.updateStateListForChar(n,r)}return Bn.min(n,((e,t)=>e.getBitCount()-t.getBitCount())).toBitArray(this.text)}updateStateListForChar(e,t){const n=[];for(let r of e)this.updateStateForChar(r,t,n);return ir.simplifyStates(n)}updateStateForChar(e,t,n){let r=255&this.text[t],i=rr[e.getMode()][r]>0,o=null;for(let a=0;a<=Zn;a++){let s=rr[a][r];if(s>0){if(null==o&&(o=e.endBinaryShift(t)),!i||a===e.getMode()||a===Yn){const e=o.latchAndAppend(a,s);n.push(e)}if(!i&&er[e.getMode()][a]>=0){const e=o.shiftAndAppend(a,s);n.push(e)}}}if(e.getBinaryShiftByteCount()>0||0===rr[e.getMode()][r]){let r=e.addBinaryShiftChar(t);n.push(r)}}static updateStateListForPair(e,t,n){const r=[];for(let i of e)this.updateStateForPair(i,t,n,r);return this.simplifyStates(r)}static updateStateForPair(e,t,n,r){let i=e.endBinaryShift(t);if(r.push(i.latchAndAppend(Zn,n)),e.getMode()!==Zn&&r.push(i.shiftAndAppend(Zn,n)),3===n||4===n){let e=i.latchAndAppend(Yn,16-n).latchAndAppend(Yn,1);r.push(e)}if(e.getBinaryShiftByteCount()>0){let n=e.addBinaryShiftChar(t).addBinaryShiftChar(t+1);r.push(n)}}static simplifyStates(e){let t=[];for(const n of e){let e=!0;for(const r of t){if(r.isBetterThanOrEqualTo(n)){e=!1;break}n.isBetterThanOrEqualTo(r)&&(t=t.filter((e=>e!==r)))}e&&t.push(n)}return t}}class or{constructor(){}static encodeBytes(e){return or.encode(e,or.DEFAULT_EC_PERCENT,or.DEFAULT_AZTEC_LAYERS)}static encode(e,t,n){let r,i,o,a,s,l=new ir(e).encode(),c=w.truncDivision(l.getSize()*t,100)+11,u=l.getSize()+c;if(n!==or.DEFAULT_AZTEC_LAYERS){if(r=n<0,i=Math.abs(n),i>(r?or.MAX_NB_BITS_COMPACT:or.MAX_NB_BITS))throw new d(x.format("Illegal value %s for layers",n));o=or.totalBitsInLayer(i,r),a=or.WORD_SIZE[i];let e=o-o%a;if(s=or.stuffBits(l,a),s.getSize()+c>e)throw new d("Data to large for user specified layer");if(r&&s.getSize()>64*a)throw new d("Data to large for user specified layer")}else{a=0,s=null;for(let e=0;;e++){if(e>or.MAX_NB_BITS)throw new d("Data too large for an Aztec code");if(r=e<=3,i=r?e+1:e,o=or.totalBitsInLayer(i,r),u>o)continue;null!=s&&a===or.WORD_SIZE[i]||(a=or.WORD_SIZE[i],s=or.stuffBits(l,a));let t=o-o%a;if(!(r&&s.getSize()>64*a)&&s.getSize()+c<=t)break}}let h,f=or.generateCheckWords(s,o,a),p=s.getSize()/a,g=or.generateModeMessage(r,i,p),m=(r?11:14)+4*i,y=new Int32Array(m);if(r){h=m;for(let e=0;e<y.length;e++)y[e]=e}else{h=m+1+2*w.truncDivision(w.truncDivision(m,2)-1,15);let e=w.truncDivision(m,2),t=w.truncDivision(h,2);for(let n=0;n<e;n++){let r=n+w.truncDivision(n,15);y[e-n-1]=t-r-1,y[e+n]=t+r+1}}let v=new O(h);for(let e=0,t=0;e<i;e++){let n=4*(i-e)+(r?9:12);for(let r=0;r<n;r++){let i=2*r;for(let o=0;o<2;o++)f.get(t+i+o)&&v.set(y[2*e+o],y[2*e+r]),f.get(t+2*n+i+o)&&v.set(y[2*e+r],y[m-1-2*e-o]),f.get(t+4*n+i+o)&&v.set(y[m-1-2*e-o],y[m-1-2*e-r]),f.get(t+6*n+i+o)&&v.set(y[m-1-2*e-r],y[2*e+o])}t+=8*n}if(or.drawModeMessage(v,r,h,g),r)or.drawBullsEye(v,w.truncDivision(h,2),5);else{or.drawBullsEye(v,w.truncDivision(h,2),7);for(let e=0,t=0;e<w.truncDivision(m,2)-1;e+=15,t+=16)for(let e=1&w.truncDivision(h,2);e<h;e+=2)v.set(w.truncDivision(h,2)-t,e),v.set(w.truncDivision(h,2)+t,e),v.set(e,w.truncDivision(h,2)-t),v.set(e,w.truncDivision(h,2)+t)}let b=new jn;return b.setCompact(r),b.setSize(h),b.setLayers(i),b.setCodeWords(p),b.setMatrix(v),b}static drawBullsEye(e,t,n){for(let r=0;r<n;r+=2)for(let n=t-r;n<=t+r;n++)e.set(n,t-r),e.set(n,t+r),e.set(t-r,n),e.set(t+r,n);e.set(t-n,t-n),e.set(t-n+1,t-n),e.set(t-n,t-n+1),e.set(t+n,t-n),e.set(t+n,t-n+1),e.set(t+n,t+n-1)}static generateModeMessage(e,t,n){let r=new b;return e?(r.appendBits(t-1,2),r.appendBits(n-1,6),r=or.generateCheckWords(r,28,4)):(r.appendBits(t-1,5),r.appendBits(n-1,11),r=or.generateCheckWords(r,40,4)),r}static drawModeMessage(e,t,n,r){let i=w.truncDivision(n,2);if(t)for(let t=0;t<7;t++){let n=i-3+t;r.get(t)&&e.set(n,i-5),r.get(t+7)&&e.set(i+5,n),r.get(20-t)&&e.set(n,i+5),r.get(27-t)&&e.set(i-5,n)}else for(let t=0;t<10;t++){let n=i-5+t+w.truncDivision(t,5);r.get(t)&&e.set(n,i-7),r.get(t+10)&&e.set(i+7,n),r.get(29-t)&&e.set(n,i+7),r.get(39-t)&&e.set(i-7,n)}}static generateCheckWords(e,t,n){let r=e.getSize()/n,i=new An(or.getGF(n)),o=w.truncDivision(t,n),a=or.bitsToWords(e,n,o);i.encode(a,o-r);let s=t%n,l=new b;l.appendBits(0,s);for(const e of Array.from(a))l.appendBits(e,n);return l}static bitsToWords(e,t,n){let r,i,o=new Int32Array(n);for(r=0,i=e.getSize()/t;r<i;r++){let n=0;for(let i=0;i<t;i++)n|=e.get(r*t+i)?1<<t-i-1:0;o[r]=n}return o}static getGF(e){switch(e){case 4:return ee.AZTEC_PARAM;case 6:return ee.AZTEC_DATA_6;case 8:return ee.AZTEC_DATA_8;case 10:return ee.AZTEC_DATA_10;case 12:return ee.AZTEC_DATA_12;default:throw new d("Unsupported word size "+e)}}static stuffBits(e,t){let n=new b,r=e.getSize(),i=(1<<t)-2;for(let o=0;o<r;o+=t){let a=0;for(let n=0;n<t;n++)(o+n>=r||e.get(o+n))&&(a|=1<<t-1-n);(a&i)===i?(n.appendBits(a&i,t),o--):0==(a&i)?(n.appendBits(1|a,t),o--):n.appendBits(a,t)}return n}static totalBitsInLayer(e,t){return((t?88:112)+16*e)*e}}or.DEFAULT_EC_PERCENT=33,or.DEFAULT_AZTEC_LAYERS=0,or.MAX_NB_BITS=32,or.MAX_NB_BITS_COMPACT=4,or.WORD_SIZE=Int32Array.from([4,6,6,8,8,8,8,8,8,10,10,10,10,10,10,10,10,10,10,10,10,10,10,12,12,12,12,12,12,12,12,12,12]);class ar{encode(e,t,n,r){return this.encodeWithHints(e,t,n,r,null)}encodeWithHints(e,t,n,r,i){let o=$n.ISO_8859_1,a=or.DEFAULT_EC_PERCENT,s=or.DEFAULT_AZTEC_LAYERS;return null!=i&&(i.has(Sn.CHARACTER_SET)&&(o=Ln.forName(i.get(Sn.CHARACTER_SET).toString())),i.has(Sn.ERROR_CORRECTION)&&(a=w.parseInt(i.get(Sn.ERROR_CORRECTION).toString())),i.has(Sn.AZTEC_LAYERS)&&(s=w.parseInt(i.get(Sn.AZTEC_LAYERS).toString()))),ar.encodeLayers(e,t,n,r,o,a,s)}static encodeLayers(e,t,n,r,i,o,a){if(t!==U.AZTEC)throw new d("Can only encode AZTEC, but got "+t);let s=or.encode(x.getBytes(e,i),o,a);return ar.renderResult(s,n,r)}static renderResult(e,t,n){let r=e.getMatrix();if(null==r)throw new ne;
vendor: 88,748 bytes, line 2
2let i=r.getWidth(),o=r.getHeight(),a=Math.max(t,i),s=Math.max(n,o),l=Math.min(a/i,s/o),c=(a-i*l)/2,u=(s-o*l)/2,d=new O(a,s);for(let e=0,t=u;e<o;e++,t+=l)for(let n=0,o=c;n<i;n++,o+=l)r.get(n,e)&&d.setRegion(o,t,l,l);return d}}e.AbstractExpandedDecoder=We,e.ArgumentException=u,e.ArithmeticException=J,e.AztecCode=jn,e.AztecCodeReader=ye,e.AztecCodeWriter=ar,e.AztecDecoder=ie,e.AztecDetector=me,e.AztecDetectorResult=ce,e.AztecEncoder=or,e.AztecHighLevelEncoder=ir,e.AztecPoint=ge,e.BarcodeFormat=U,e.Binarizer=p,e.BinaryBitmap=h,e.BitArray=b,e.BitMatrix=O,e.BitSource=gt,e.BrowserAztecCodeReader=ve,e.BrowserBarcodeReader=ct,e.BrowserCodeReader=B,e.BrowserDatamatrixCodeReader=bt,e.BrowserMultiFormatReader=vn,e.BrowserPDF417Reader=wn,e.BrowserQRCodeReader=bn,e.BrowserQRCodeSvgWriter=Dn,e.CharacterSetECI=_,e.ChecksumException=f,e.Code128Reader=be,e.Code39Reader=Ce,e.DataMatrixDecodedBitStreamParser=mt,e.DataMatrixReader=wt,e.DecodeHintType=S,e.DecoderResult=Z,e.DefaultGridSampler=fe,e.DetectorResult=le,e.EAN13Reader=Ie,e.EncodeHintType=Sn,e.Exception=c,e.FormatException=A,e.GenericGF=ee,e.GenericGFPoly=K,e.GlobalHistogramBinarizer=D,e.GridSampler=de,e.GridSamplerInstance=pe,e.HTMLCanvasElementLuminanceSource=R,e.HybridBinarizer=k,e.ITFReader=Se,e.IllegalArgumentException=d,e.IllegalStateException=ne,e.InvertedLuminanceSource=P,e.LuminanceSource=N,e.MathUtils=oe,e.MultiFormatOneDReader=lt,e.MultiFormatReader=yn,e.MultiFormatWriter=Nn,e.NotFoundException=M,e.OneDReader=we,e.PDF417DecodedBitStreamParser=fn,e.PDF417DecoderErrorCorrection=Gt,e.PDF417Reader=gn,e.PDF417ResultMetadata=nn,e.PerspectiveTransform=he,e.PlanarYUVLuminanceSource=Pn,e.QRCodeByteMatrix=Tn,e.QRCodeDataMask=Et,e.QRCodeDecodedBitStreamParser=Mt,e.QRCodeDecoderErrorCorrectionLevel=Ct,e.QRCodeDecoderFormatInformation=St,e.QRCodeEncoder=Mn,e.QRCodeEncoderQRCode=En,e.QRCodeMaskUtil=_n,e.QRCodeMatrixUtil=In,e.QRCodeMode=Ot,e.QRCodeReader=Bt,e.QRCodeVersion=Tt,e.QRCodeWriter=kn,e.RGBLuminanceSource=Rn,e.RSS14Reader=st,e.RSSExpandedReader=ot,e.ReaderException=mn,e.ReedSolomonDecoder=re,e.ReedSolomonEncoder=An,e.ReedSolomonException=te,e.Result=F,e.ResultMetadataType=X,e.ResultPoint=se,e.StringUtils=x,e.UnsupportedOperationException=T,e.VideoInputDevice=L,e.WhiteRectangleDetector=ue,e.WriterException=xn,e.ZXingArrays=v,e.ZXingCharset=Ln,e.ZXingInteger=w,e.ZXingStandardCharsets=$n,e.ZXingStringBuilder=I,e.ZXingStringEncoding=E,e.ZXingSystem=g,e.createAbstractExpandedDecoder=nt,Object.defineProperty(e,"__esModule",{value:!0})}(t)},755:function(e,t){var n;!function(t,n){"use strict";"object"==typeof e.exports?e.exports=t.document?n(t,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return n(e)}:n(t)}("undefined"!=typeof window?window:this,(function(r,i){"use strict";var o=[],a=Object.getPrototypeOf,s=o.slice,l=o.flat?function(e){return o.flat.call(e)}:function(e){return o.concat.apply([],e)},c=o.push,u=o.indexOf,d={},h=d.toString,f=d.hasOwnProperty,p=f.toString,g=p.call(Object),m={},y=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType&&"function"!=typeof e.item},v=function(e){return null!=e&&e===e.window},w=r.document,b={type:!0,src:!0,nonce:!0,noModule:!0};function C(e,t,n){var r,i,o=(n=n||w).createElement("script");if(o.text=e,t)for(r in b)(i=t[r]||t.getAttribute&&t.getAttribute(r))&&o.setAttribute(r,i);n.head.appendChild(o).parentNode.removeChild(o)}function S(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?d[h.call(e)]||"object":typeof e}var A="3.7.1",_=/HTML$/i,T=function(e,t){return new T.fn.init(e,t)};function E(e){var t=!!e&&"length"in e&&e.length,n=S(e);return!y(e)&&!v(e)&&("array"===n||0===t||"number"==typeof t&&t>0&&t-1 in e)}function x(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}T.fn=T.prototype={jquery:A,constructor:T,length:0,toArray:function(){return s.call(this)},get:function(e){return null==e?s.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=T.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return T.each(this,e)},map:function(e){return this.pushStack(T.map(this,(function(t,n){return e.call(t,n,t)})))},slice:function(){return this.pushStack(s.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(T.grep(this,(function(e,t){return(t+1)%2})))},odd:function(){return this.pushStack(T.grep(this,(function(e,t){return t%2})))},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(n>=0&&n<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:c,sort:o.sort,splice:o.splice},T.extend=T.fn.extend=function(){var e,t,n,r,i,o,a=arguments[0]||{},s=1,l=arguments.length,c=!1;for("boolean"==typeof a&&(c=a,a=arguments[s]||{},s++),"object"==typeof a||y(a)||(a={}),s===l&&(a=this,s--);s<l;s++)if(null!=(e=arguments[s]))for(t in e)r=e[t],"__proto__"!==t&&a!==r&&(c&&r&&(T.isPlainObject(r)||(i=Array.isArray(r)))?(n=a[t],o=i&&!Array.isArray(n)?[]:i||T.isPlainObject(n)?n:{},i=!1,a[t]=T.extend(c,o,r)):void 0!==r&&(a[t]=r));return a},T.extend({expando:"jQuery"+(A+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){var t,n;return!(!e||"[object Object]"!==h.call(e))&&(!(t=a(e))||"function"==typeof(n=f.call(t,"constructor")&&t.constructor)&&p.call(n)===g)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},globalEval:function(e,t,n){C(e,{nonce:t&&t.nonce},n)},each:function(e,t){var n,r=0;if(E(e))for(n=e.length;r<n&&!1!==t.call(e[r],r,e[r]);r++);else for(r in e)if(!1===t.call(e[r],r,e[r]))break;return e},text:function(e){var t,n="",r=0,i=e.nodeType;if(!i)for(;t=e[r++];)n+=T.text(t);return 1===i||11===i?e.textContent:9===i?e.documentElement.textContent:3===i||4===i?e.nodeValue:n},makeArray:function(e,t){var n=t||[];return null!=e&&(E(Object(e))?T.merge(n,"string"==typeof e?[e]:e):c.call(n,e)),n},inArray:function(e,t,n){return null==t?-1:u.call(t,e,n)},isXMLDoc:function(e){var t=e&&e.namespaceURI,n=e&&(e.ownerDocument||e).documentElement;return!_.test(t||n&&n.nodeName||"HTML")},merge:function(e,t){for(var n=+t.length,r=0,i=e.length;r<n;r++)e[i++]=t[r];return e.length=i,e},grep:function(e,t,n){for(var r=[],i=0,o=e.length,a=!n;i<o;i++)!t(e[i],i)!==a&&r.push(e[i]);return r},map:function(e,t,n){var r,i,o=0,a=[];if(E(e))for(r=e.length;o<r;o++)null!=(i=t(e[o],o,n))&&a.push(i);else for(o in e)null!=(i=t(e[o],o,n))&&a.push(i);return l(a)},guid:1,support:m}),"function"==typeof Symbol&&(T.fn[Symbol.iterator]=o[Symbol.iterator]),T.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),(function(e,t){d["[object "+t+"]"]=t.toLowerCase()}));var I=o.pop,O=o.sort,M=o.splice,D="[\\x20\\t\\r\\n\\f]",k=new RegExp("^"+D+"+|((?:^|[^\\\\])(?:\\\\.)*)"+D+"+$","g");T.contains=function(e,t){var n=t&&t.parentNode;return e===n||!(!n||1!==n.nodeType||!(e.contains?e.contains(n):e.compareDocumentPosition&&16&e.compareDocumentPosition(n)))};var N=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g;function P(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e}T.escapeSelector=function(e){return(e+"").replace(N,P)};var R=w,L=c;!function(){var e,t,n,i,a,l,c,d,h,p,g=L,y=T.expando,v=0,w=0,b=ee(),C=ee(),S=ee(),A=ee(),_=function(e,t){return e===t&&(a=!0),0},E="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",N="(?:\\\\[\\da-fA-F]{1,6}"+D+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",P="\\["+D+"*("+N+")(?:"+D+"*([*^$|!~]?=)"+D+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+N+"))|)"+D+"*\\]",$=":("+N+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+P+")*)|.*)\\)|)",j=new RegExp(D+"+","g"),B=new RegExp("^"+D+"*,"+D+"*"),F=new RegExp("^"+D+"*([>+~]|"+D+")"+D+"*"),H=new RegExp(D+"|>"),U=new RegExp($),z=new RegExp("^"+N+"$"),V={ID:new RegExp("^#("+N+")"),CLASS:new RegExp("^\\.("+N+")"),TAG:new RegExp("^("+N+"|[*])"),ATTR:new RegExp("^"+P),PSEUDO:new RegExp("^"+$),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+D+"*(even|odd|(([+-]|)(\\d*)n|)"+D+"*(?:([+-]|)"+D+"*(\\d+)|))"+D+"*\\)|)","i"),bool:new RegExp("^(?:"+E+")$","i"),needsContext:new RegExp("^"+D+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+D+"*((?:-\\d)?\\d*)"+D+"*\\)|)(?=[^-]|$)","i")},W=/^(?:input|select|textarea|button)$/i,G=/^h\d$/i,q=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,Y=/[+~]/,X=new RegExp("\\\\[\\da-fA-F]{1,6}"+D+"?|\\\\([^\\r\\n\\f])","g"),Z=function(e,t){var n="0x"+e.slice(1)-65536;return t||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},Q=function(){le()},K=he((function(e){return!0===e.disabled&&x(e,"fieldset")}),{dir:"parentNode",next:"legend"});try{g.apply(o=s.call(R.childNodes),R.childNodes),o[R.childNodes.length].nodeType}catch(e){g={apply:function(e,t){L.apply(e,s.call(t))},call:function(e){L.apply(e,s.call(arguments,1))}}}function J(e,t,n,r){var i,o,a,s,c,u,f,p=t&&t.ownerDocument,v=t?t.nodeType:9;if(n=n||[],"string"!=typeof e||!e||1!==v&&9!==v&&11!==v)return n;if(!r&&(le(t),t=t||l,d)){if(11!==v&&(c=q.exec(e)))if(i=c[1]){if(9===v){if(!(a=t.getElementById(i)))return n;if(a.id===i)return g.call(n,a),n}else if(p&&(a=p.getElementById(i))&&J.contains(t,a)&&a.id===i)return g.call(n,a),n}else{if(c[2])return g.apply(n,t.getElementsByTagName(e)),n;if((i=c[3])&&t.getElementsByClassName)return g.apply(n,t.getElementsByClassName(i)),n}if(!(A[e+" "]||h&&h.test(e))){if(f=e,p=t,1===v&&(H.test(e)||F.test(e))){for((p=Y.test(e)&&se(t.parentNode)||t)==t&&m.scope||((s=t.getAttribute("id"))?s=T.escapeSelector(s):t.setAttribute("id",s=y)),o=(u=ue(e)).length;o--;)u[o]=(s?"#"+s:":scope")+" "+de(u[o]);f=u.join(",")}try{return g.apply(n,p.querySelectorAll(f)),n}catch(t){A(e,!0)}finally{s===y&&t.removeAttribute("id")}}}return ve(e.replace(k,"$1"),t,n,r)}function ee(){var e=[];return function n(r,i){return e.push(r+" ")>t.cacheLength&&delete n[e.shift()],n[r+" "]=i}}function te(e){return e[y]=!0,e}function ne(e){var t=l.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function re(e){return function(t){return x(t,"input")&&t.type===e}}function ie(e){return function(t){return(x(t,"input")||x(t,"button"))&&t.type===e}}function oe(e){return function(t){return"form"in t?t.parentNode&&!1===t.disabled?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&K(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function ae(e){return te((function(t){return t=+t,te((function(n,r){for(var i,o=e([],n.length,t),a=o.length;a--;)n[i=o[a]]&&(n[i]=!(r[i]=n[i]))}))}))}function se(e){return e&&void 0!==e.getElementsByTagName&&e}function le(e){var n,r=e?e.ownerDocument||e:R;return r!=l&&9===r.nodeType&&r.documentElement?(c=(l=r).documentElement,d=!T.isXMLDoc(l),p=c.matches||c.webkitMatchesSelector||c.msMatchesSelector,c.msMatchesSelector&&R!=l&&(n=l.defaultView)&&n.top!==n&&n.addEventListener("unload",Q),m.getById=ne((function(e){return c.appendChild(e).id=T.expando,!l.getElementsByName||!l.getElementsByName(T.expando).length})),m.disconnectedMatch=ne((function(e){return p.call(e,"*")})),m.scope=ne((function(){return l.querySelectorAll(":scope")})),m.cssHas=ne((function(){try{return l.querySelector(":has(*,:jqfake)"),!1}catch(e){return!0}})),m.getById?(t.filter.ID=function(e){var t=e.replace(X,Z);return function(e){return e.getAttribute("id")===t}},t.find.ID=function(e,t){if(void 0!==t.getElementById&&d){var n=t.getElementById(e);return n?[n]:[]}}):(t.filter.ID=function(e){var t=e.replace(X,Z);return function(e){var n=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}},t.find.ID=function(e,t){if(void 0!==t.getElementById&&d){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];for(i=t.getElementsByName(e),r=0;o=i[r++];)if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),t.find.TAG=function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):t.querySelectorAll(e)},t.find.CLASS=function(e,t){if(void 0!==t.getElementsByClassName&&d)return t.getElementsByClassName(e)},h=[],ne((function(e){var t;c.appendChild(e).innerHTML="<a id='"+y+"' href='' disabled='disabled'></a><select id='"+y+"-\r\\' disabled='disabled'><option selected=''></option></select>",e.querySelectorAll("[selected]").length||h.push("\\["+D+"*(?:value|"+E+")"),e.querySelectorAll("[id~="+y+"-]").length||h.push("~="),e.querySelectorAll("a#"+y+"+*").length||h.push(".#.+[+~]"),e.querySelectorAll(":checked").length||h.push(":checked"),(t=l.createElement("input")).setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),c.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&h.push(":enabled",":disabled"),(t=l.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||h.push("\\["+D+"*name"+D+"*="+D+"*(?:''|\"\")")})),m.cssHas||h.push(":has"),h=h.length&&new RegExp(h.join("|")),_=function(e,t){if(e===t)return a=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!m.sortDetached&&t.compareDocumentPosition(e)===n?e===l||e.ownerDocument==R&&J.contains(R,e)?-1:t===l||t.ownerDocument==R&&J.contains(R,t)?1:i?u.call(i,e)-u.call(i,t):0:4&n?-1:1)},l):l}for(e in J.matches=function(e,t){return J(e,null,null,t)},J.matchesSelector=function(e,t){if(le(e),d&&!A[t+" "]&&(!h||!h.test(t)))try{var n=p.call(e,t);if(n||m.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){A(t,!0)}return J(t,l,null,[e]).length>0},J.contains=function(e,t){return(e.ownerDocument||e)!=l&&le(e),T.contains(e,t)},J.attr=function(e,n){(e.ownerDocument||e)!=l&&le(e);var r=t.attrHandle[n.toLowerCase()],i=r&&f.call(t.attrHandle,n.toLowerCase())?r(e,n,!d):void 0;return void 0!==i?i:e.getAttribute(n)},J.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},T.uniqueSort=function(e){var t,n=[],r=0,o=0;if(a=!m.sortStable,i=!m.sortStable&&s.call(e,0),O.call(e,_),a){for(;t=e[o++];)t===e[o]&&(r=n.push(o));for(;r--;)M.call(e,n[r],1)}return i=null,e},T.fn.uniqueSort=function(){return this.pushStack(T.uniqueSort(s.apply(this)))},t=T.expr={cacheLength:50,createPseudo:te,match:V,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(X,Z),e[3]=(e[3]||e[4]||e[5]||"").replace(X,Z),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||J.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&J.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return V.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&U.test(n)&&(t=ue(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(X,Z).toLowerCase();return"*"===e?function(){return!0}:function(e){return x(e,t)}},CLASS:function(e){var t=b[e+" "];return t||(t=new RegExp("(^|"+D+")"+e+"("+D+"|$)"))&&b(e,(function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")}))},ATTR:function(e,t,n){return function(r){var i=J.attr(r,e);return null==i?"!="===t:!t||(i+="","="===t?i===n:"!="===t?i!==n:"^="===t?n&&0===i.indexOf(n):"*="===t?n&&i.indexOf(n)>-1:"$="===t?n&&i.slice(-n.length)===n:"~="===t?(" "+i.replace(j," ")+" ").indexOf(n)>-1:"|="===t&&(i===n||i.slice(0,n.length+1)===n+"-"))}},CHILD:function(e,t,n,r,i){var o="nth"!==e.slice(0,3),a="last"!==e.slice(-4),s="of-type"===t;return 1===r&&0===i?function(e){return!!e.parentNode}:function(t,n,l){var c,u,d,h,f,p=o!==a?"nextSibling":"previousSibling",g=t.parentNode,m=s&&t.nodeName.toLowerCase(),w=!l&&!s,b=!1;if(g){if(o){for(;p;){for(d=t;d=d[p];)if(s?x(d,m):1===d.nodeType)return!1;f=p="only"===e&&!f&&"nextSibling"}return!0}if(f=[a?g.firstChild:g.lastChild],a&&w){for(b=(h=(c=(u=g[y]||(g[y]={}))[e]||[])[0]===v&&c[1])&&c[2],d=h&&g.childNodes[h];d=++h&&d&&d[p]||(b=h=0)||f.pop();)if(1===d.nodeType&&++b&&d===t){u[e]=[v,h,b];break}}else if(w&&(b=h=(c=(u=t[y]||(t[y]={}))[e]||[])[0]===v&&c[1]),!1===b)for(;(d=++h&&d&&d[p]||(b=h=0)||f.pop())&&(!(s?x(d,m):1===d.nodeType)||!++b||(w&&((u=d[y]||(d[y]={}))[e]=[v,b]),d!==t)););return(b-=i)===r||b%r==0&&b/r>=0}}},PSEUDO:function(e,n){var r,i=t.pseudos[e]||t.setFilters[e.toLowerCase()]||J.error("unsupported pseudo: "+e);return i[y]?i(n):i.length>1?(r=[e,e,"",n],t.setFilters.hasOwnProperty(e.toLowerCase())?te((function(e,t){for(var r,o=i(e,n),a=o.length;a--;)e[r=u.call(e,o[a])]=!(t[r]=o[a])})):function(e){return i(e,0,r)}):i}},pseudos:{not:te((function(e){var t=[],n=[],r=ye(e.replace(k,"$1"));return r[y]?te((function(e,t,n,i){for(var o,a=r(e,null,i,[]),s=e.length;s--;)(o=a[s])&&(e[s]=!(t[s]=o))})):function(e,i,o){return t[0]=e,r(t,null,o,n),t[0]=null,!n.pop()}})),has:te((function(e){return function(t){return J(e,t).length>0}})),contains:te((function(e){return e=e.replace(X,Z),function(t){return(t.textContent||T.text(t)).indexOf(e)>-1}})),lang:te((function(e){return z.test(e||"")||J.error("unsupported lang: "+e),e=e.replace(X,Z).toLowerCase(),function(t){var n;do{if(n=d?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(n=n.toLowerCase())===e||0===n.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}})),target:function(e){var t=r.location&&r.location.hash;return t&&t.slice(1)===e.id},root:function(e){return e===c},focus:function(e){return e===function(){try{return l.activeElement}catch(e){}}()&&l.hasFocus()&&!!(e.type||e.href||~e.tabIndex)},enabled:oe(!1),disabled:oe(!0),checked:function(e){return x(e,"input")&&!!e.checked||x(e,"option")&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!t.pseudos.empty(e)},header:function(e){return G.test(e.nodeName)},input:function(e){return W.test(e.nodeName)},button:function(e){return x(e,"input")&&"button"===e.type||x(e,"button")},text:function(e){var t;return x(e,"input")&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:ae((function(){return[0]})),last:ae((function(e,t){return[t-1]})),eq:ae((function(e,t,n){return[n<0?n+t:n]})),even:ae((function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e})),odd:ae((function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e})),lt:ae((function(e,t,n){var r;for(r=n<0?n+t:n>t?t:n;--r>=0;)e.push(r);return e})),gt:ae((function(e,t,n){for(var r=n<0?n+t:n;++r<t;)e.push(r);return e}))}},t.pseudos.nth=t.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})t.pseudos[e]=re(e);for(e in{submit:!0,reset:!0})t.pseudos[e]=ie(e);function ce(){}function ue(e,n){var r,i,o,a,s,l,c,u=C[e+" "];if(u)return n?0:u.slice(0);for(s=e,l=[],c=t.preFilter;s;){for(a in r&&!(i=B.exec(s))||(i&&(s=s.slice(i[0].length)||s),l.push(o=[])),r=!1,(i=F.exec(s))&&(r=i.shift(),o.push({value:r,type:i[0].replace(k," ")}),s=s.slice(r.length)),t.filter)!(i=V[a].exec(s))||c[a]&&!(i=c[a](i))||(r=i.shift(),o.push({value:r,type:a,matches:i}),s=s.slice(r.length));if(!r)break}return n?s.length:s?J.error(e):C(e,l).slice(0)}function de(e){for(var t=0,n=e.length,r="";t<n;t++)r+=e[t].value;return r}function he(e,t,n){var r=t.dir,i=t.next,o=i||r,a=n&&"parentNode"===o,s=w++;return t.first?function(t,n,i){for(;t=t[r];)if(1===t.nodeType||a)return e(t,n,i);return!1}:function(t,n,l){var c,u,d=[v,s];if(l){for(;t=t[r];)if((1===t.nodeType||a)&&e(t,n,l))return!0}else for(;t=t[r];)if(1===t.nodeType||a)if(u=t[y]||(t[y]={}),i&&x(t,i))t=t[r]||t;else{if((c=u[o])&&c[0]===v&&c[1]===s)return d[2]=c[2];if(u[o]=d,d[2]=e(t,n,l))return!0}return!1}}function fe(e){return e.length>1?function(t,n,r){for(var i=e.length;i--;)if(!e[i](t,n,r))return!1;return!0}:e[0]}function pe(e,t,n,r,i){for(var o,a=[],s=0,l=e.length,c=null!=t;s<l;s++)(o=e[s])&&(n&&!n(o,r,i)||(a.push(o),c&&t.push(s)));return a}function ge(e,t,n,r,i,o){return r&&!r[y]&&(r=ge(r)),i&&!i[y]&&(i=ge(i,o)),te((function(o,a,s,l){var c,d,h,f,p=[],m=[],y=a.length,v=o||function(e,t,n){for(var r=0,i=t.length;r<i;r++)J(e,t[r],n);return n}(t||"*",s.nodeType?[s]:s,[]),w=!e||!o&&t?v:pe(v,p,e,s,l);if(n?n(w,f=i||(o?e:y||r)?[]:a,s,l):f=w,r)for(c=pe(f,m),r(c,[],s,l),d=c.length;d--;)(h=c[d])&&(f[m[d]]=!(w[m[d]]=h));if(o){if(i||e){if(i){for(c=[],d=f.length;d--;)(h=f[d])&&c.push(w[d]=h);i(null,f=[],c,l)}for(d=f.length;d--;)(h=f[d])&&(c=i?u.call(o,h):p[d])>-1&&(o[c]=!(a[c]=h))}}else f=pe(f===a?f.splice(y,f.length):f),i?i(null,a,f,l):g.apply(a,f)}))}function me(e){for(var r,i,o,a=e.length,s=t.relative[e[0].type],l=s||t.relative[" "],c=s?1:0,d=he((function(e){return e===r}),l,!0),h=he((function(e){return u.call(r,e)>-1}),l,!0),f=[function(e,t,i){var o=!s&&(i||t!=n)||((r=t).nodeType?d(e,t,i):h(e,t,i));return r=null,o}];c<a;c++)if(i=t.relative[e[c].type])f=[he(fe(f),i)];else{if((i=t.filter[e[c].type].apply(null,e[c].matches))[y]){for(o=++c;o<a&&!t.relative[e[o].type];o++);return ge(c>1&&fe(f),c>1&&de(e.slice(0,c-1).concat({value:" "===e[c-2].type?"*":""})).replace(k,"$1"),i,c<o&&me(e.slice(c,o)),o<a&&me(e=e.slice(o)),o<a&&de(e))}f.push(i)}return fe(f)}function ye(e,r){var i,o=[],a=[],s=S[e+" "];if(!s){for(r||(r=ue(e)),i=r.length;i--;)(s=me(r[i]))[y]?o.push(s):a.push(s);s=S(e,function(e,r){var i=r.length>0,o=e.length>0,a=function(a,s,c,u,h){var f,p,m,y=0,w="0",b=a&&[],C=[],S=n,A=a||o&&t.find.TAG("*",h),_=v+=null==S?1:Math.random()||.1,E=A.length;for(h&&(n=s==l||s||h);w!==E&&null!=(f=A[w]);w++){if(o&&f){for(p=0,s||f.ownerDocument==l||(le(f),c=!d);m=e[p++];)if(m(f,s||l,c)){g.call(u,f);break}h&&(v=_)}i&&((f=!m&&f)&&y--,a&&b.push(f))}if(y+=w,i&&w!==y){for(p=0;m=r[p++];)m(b,C,s,c);if(a){if(y>0)for(;w--;)b[w]||C[w]||(C[w]=I.call(u));C=pe(C)}g.apply(u,C),h&&!a&&C.length>0&&y+r.length>1&&T.uniqueSort(u)}return h&&(v=_,n=S),b};return i?te(a):a}(a,o)),s.selector=e}return s}function ve(e,n,r,i){var o,a,s,l,c,u="function"==typeof e&&e,h=!i&&ue(e=u.selector||e);if(r=r||[],1===h.length){if((a=h[0]=h[0].slice(0)).length>2&&"ID"===(s=a[0]).type&&9===n.nodeType&&d&&t.relative[a[1].type]){if(!(n=(t.find.ID(s.matches[0].replace(X,Z),n)||[])[0]))return r;u&&(n=n.parentNode),e=e.slice(a.shift().value.length)}for(o=V.needsContext.test(e)?0:a.length;o--&&(s=a[o],!t.relative[l=s.type]);)if((c=t.find[l])&&(i=c(s.matches[0].replace(X,Z),Y.test(a[0].type)&&se(n.parentNode)||n))){if(a.splice(o,1),!(e=i.length&&de(a)))return g.apply(r,i),r;break}}return(u||ye(e,h))(i,n,!d,r,!n||Y.test(e)&&se(n.parentNode)||n),r}ce.prototype=t.filters=t.pseudos,t.setFilters=new ce,m.sortStable=y.split("").sort(_).join("")===y,le(),m.sortDetached=ne((function(e){return 1&e.compareDocumentPosition(l.createElement("fieldset"))})),T.find=J,T.expr[":"]=T.expr.pseudos,T.unique=T.uniqueSort,J.compile=ye,J.select=ve,J.setDocument=le,J.tokenize=ue,J.escape=T.escapeSelector,J.getText=T.text,J.isXML=T.isXMLDoc,J.selectors=T.expr,J.support=T.support,J.uniqueSort=T.uniqueSort}();var $=function(e,t,n){for(var r=[],i=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(i&&T(e).is(n))break;r.push(e)}return r},j=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},B=T.expr.match.needsContext,F=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function H(e,t,n){return y(t)?T.grep(e,(function(e,r){return!!t.call(e,r,e)!==n})):t.nodeType?T.grep(e,(function(e){return e===t!==n})):"string"!=typeof t?T.grep(e,(function(e){return u.call(t,e)>-1!==n})):T.filter(t,e,n)}T.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?T.find.matchesSelector(r,e)?[r]:[]:T.find.matches(e,T.grep(t,(function(e){return 1===e.nodeType})))},T.fn.extend({find:function(e){var t,n,r=this.length,i=this;if("string"!=typeof e)return this.pushStack(T(e).filter((function(){for(t=0;t<r;t++)if(T.contains(i[t],this))return!0})));for(n=this.pushStack([]),t=0;t<r;t++)T.find(e,i[t],n);return r>1?T.uniqueSort(n):n},filter:function(e){return this.pushStack(H(this,e||[],!1))},not:function(e){return this.pushStack(H(this,e||[],!0))},is:function(e){return!!H(this,"string"==typeof e&&B.test(e)?T(e):e||[],!1).length}});var U,z=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(T.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||U,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:z.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof T?t[0]:t,T.merge(this,T.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:w,!0)),F.test(r[1])&&T.isPlainObject(t))for(r in t)y(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(i=w.getElementById(r[2]))&&(this[0]=i,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):y(e)?void 0!==n.ready?n.ready(e):e(T):T.makeArray(e,this)}).prototype=T.fn,U=T(w);var V=/^(?:parents|prev(?:Until|All))/,W={children:!0,contents:!0,next:!0,prev:!0};function G(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}T.fn.extend({has:function(e){var t=T(e,this),n=t.length;return this.filter((function(){for(var e=0;e<n;e++)if(T.contains(this,t[e]))return!0}))},closest:function(e,t){var n,r=0,i=this.length,o=[],a="string"!=typeof e&&T(e);if(!B.test(e))for(;r<i;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(a?a.index(n)>-1:1===n.nodeType&&T.find.matchesSelector(n,e))){o.push(n);break}return this.pushStack(o.length>1?T.uniqueSort(o):o)},index:function(e){return e?"string"==typeof e?u.call(T(e),this[0]):u.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(T.uniqueSort(T.merge(this.get(),T(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),T.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return $(e,"parentNode")},parentsUntil:function(e,t,n){return $(e,"parentNode",n)},next:function(e){return G(e,"nextSibling")},prev:function(e){return G(e,"previousSibling")},nextAll:function(e){return $(e,"nextSibling")},prevAll:function(e){return $(e,"previousSibling")},nextUntil:function(e,t,n){return $(e,"nextSibling",n)},prevUntil:function(e,t,n){return $(e,"previousSibling",n)},siblings:function(e){return j((e.parentNode||{}).firstChild,e)},children:function(e){return j(e.firstChild)},contents:function(e){return null!=e.contentDocument&&a(e.contentDocument)?e.contentDocument:(x(e,"template")&&(e=e.content||e),T.merge([],e.childNodes))}},(function(e,t){T.fn[e]=function(n,r){var i=T.map(this,t,n);return"Until"!==e.slice(-5)&&(r=n),r&&"string"==typeof r&&(i=T.filter(r,i)),this.length>1&&(W[e]||T.uniqueSort(i),V.test(e)&&i.reverse()),this.pushStack(i)}}));var q=/[^\x20\t\r\n\f]+/g;function Y(e){return e}function X(e){throw e}function Z(e,t,n,r){var i;try{e&&y(i=e.promise)?i.call(e).done(t).fail(n):e&&y(i=e.then)?i.call(e,t,n):t.apply(void 0,[e].slice(r))}catch(e){n.apply(void 0,[e])}}T.Callbacks=function(e){e="string"==typeof e?function(e){var t={};return T.each(e.match(q)||[],(function(e,n){t[n]=!0})),t}(e):T.extend({},e);var t,n,r,i,o=[],a=[],s=-1,l=function(){for(i=i||e.once,r=t=!0;a.length;s=-1)for(n=a.shift();++s<o.length;)!1===o[s].apply(n[0],n[1])&&e.stopOnFalse&&(s=o.length,n=!1);e.memory||(n=!1),t=!1,i&&(o=n?[]:"")},c={add:function(){return o&&(n&&!t&&(s=o.length-1,a.push(n)),function t(n){T.each(n,(function(n,r){y(r)?e.unique&&c.has(r)||o.push(r):r&&r.length&&"string"!==S(r)&&t(r)}))}(arguments),n&&!t&&l()),this},remove:function(){return T.each(arguments,(function(e,t){for(var n;(n=T.inArray(t,o,n))>-1;)o.splice(n,1),n<=s&&s--})),this},has:function(e){return e?T.inArray(e,o)>-1:o.length>0},empty:function(){return o&&(o=[]),this},disable:function(){return i=a=[],o=n="",this},disabled:function(){return!o},lock:function(){return i=a=[],n||t||(o=n=""),this},locked:function(){return!!i},fireWith:function(e,n){return i||(n=[e,(n=n||[]).slice?n.slice():n],a.push(n),t||l()),this},fire:function(){return c.fireWith(this,arguments),this},fired:function(){return!!r}};return c},T.extend({Deferred:function(e){var t=[["notify","progress",T.Callbacks("memory"),T.Callbacks("memory"),2],["resolve","done",T.Callbacks("once memory"),T.Callbacks("once memory"),0,"resolved"],["reject","fail",T.Callbacks("once memory"),T.Callbacks("once memory"),1,"rejected"]],n="pending",i={state:function(){return n},always:function(){return o.done(arguments).fail(arguments),this},catch:function(e){return i.then(null,e)},pipe:function(){var e=arguments;return T.Deferred((function(n){T.each(t,(function(t,r){var i=y(e[r[4]])&&e[r[4]];o[r[1]]((function(){var e=i&&i.apply(this,arguments);e&&y(e.promise)?e.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[r[0]+"With"](this,i?[e]:arguments)}))})),e=null})).promise()},then:function(e,n,i){var o=0;function a(e,t,n,i){return function(){var s=this,l=arguments,c=function(){var r,c;if(!(e<o)){if((r=n.apply(s,l))===t.promise())throw new TypeError("Thenable self-resolution");c=r&&("object"==typeof r||"function"==typeof r)&&r.then,y(c)?i?c.call(r,a(o,t,Y,i),a(o,t,X,i)):(o++,c.call(r,a(o,t,Y,i),a(o,t,X,i),a(o,t,Y,t.notifyWith))):(n!==Y&&(s=void 0,l=[r]),(i||t.resolveWith)(s,l))}},u=i?c:function(){try{c()}catch(r){T.Deferred.exceptionHook&&T.Deferred.exceptionHook(r,u.error),e+1>=o&&(n!==X&&(s=void 0,l=[r]),t.rejectWith(s,l))}};e?u():(T.Deferred.getErrorHook?u.error=T.Deferred.getErrorHook():T.Deferred.getStackHook&&(u.error=T.Deferred.getStackHook()),r.setTimeout(u))}}return T.Deferred((function(r){t[0][3].add(a(0,r,y(i)?i:Y,r.notifyWith)),t[1][3].add(a(0,r,y(e)?e:Y)),t[2][3].add(a(0,r,y(n)?n:X))})).promise()},promise:function(e){return null!=e?T.extend(e,i):i}},o={};return T.each(t,(function(e,r){var a=r[2],s=r[5];i[r[1]]=a.add,s&&a.add((function(){n=s}),t[3-e][2].disable,t[3-e][3].disable,t[0][2].lock,t[0][3].lock),a.add(r[3].fire),o[r[0]]=function(){return o[r[0]+"With"](this===o?void 0:this,arguments),this},o[r[0]+"With"]=a.fireWith})),i.promise(o),e&&e.call(o,o),o},when:function(e){var t=arguments.length,n=t,r=Array(n),i=s.call(arguments),o=T.Deferred(),a=function(e){return function(n){r[e]=this,i[e]=arguments.length>1?s.call(arguments):n,--t||o.resolveWith(r,i)}};if(t<=1&&(Z(e,o.done(a(n)).resolve,o.reject,!t),"pending"===o.state()||y(i[n]&&i[n].then)))return o.then();for(;n--;)Z(i[n],a(n),o.reject);return o.promise()}});var Q=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;T.Deferred.exceptionHook=function(e,t){r.console&&r.console.warn&&e&&Q.test(e.name)&&r.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},T.readyException=function(e){r.setTimeout((function(){throw e}))};var K=T.Deferred();function J(){w.removeEventListener("DOMContentLoaded",J),r.removeEventListener("load",J),T.ready()}T.fn.ready=function(e){return K.then(e).catch((function(e){T.readyException(e)})),this},T.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--T.readyWait:T.isReady)||(T.isReady=!0,!0!==e&&--T.readyWait>0||K.resolveWith(w,[T]))}}),T.ready.then=K.then,"complete"===w.readyState||"loading"!==w.readyState&&!w.documentElement.doScroll?r.setTimeout(T.ready):(w.addEventListener("DOMContentLoaded",J),r.addEventListener("load",J));var ee=function(e,t,n,r,i,o,a){var s=0,l=e.length,c=null==n;if("object"===S(n))for(s in i=!0,n)ee(e,t,s,n[s],!0,o,a);else if(void 0!==r&&(i=!0,y(r)||(a=!0),c&&(a?(t.call(e,r),t=null):(c=t,t=function(e,t,n){return c.call(T(e),n)})),t))for(;s<l;s++)t(e[s],n,a?r:r.call(e[s],s,t(e[s],n)));return i?e:c?t.call(e):l?t(e[0],n):o},te=/^-ms-/,ne=/-([a-z])/g;function re(e,t){return t.toUpperCase()}function ie(e){return e.replace(te,"ms-").replace(ne,re)}var oe=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};function ae(){this.expando=T.expando+ae.uid++}ae.uid=1,ae.prototype={cache:function(e){var t=e[this.expando];return t||(t={},oe(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var r,i=this.cache(e);if("string"==typeof t)i[ie(t)]=n;else for(r in t)i[ie(r)]=t[r];return i},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][ie(t)]},access:function(e,t,n){return void 0===t||t&&"string"==typeof t&&void 0===n?this.get(e,t):(this.set(e,t,n),void 0!==n?n:t)},remove:function(e,t){var n,r=e[this.expando];if(void 0!==r){if(void 0!==t){n=(t=Array.isArray(t)?t.map(ie):(t=ie(t))in r?[t]:t.match(q)||[]).length;for(;n--;)delete r[t[n]]}(void 0===t||T.isEmptyObject(r))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return void 0!==t&&!T.isEmptyObject(t)}};var se=new ae,le=new ae,ce=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,ue=/[A-Z]/g;function de(e,t,n){var r;if(void 0===n&&1===e.nodeType)if(r="data-"+t.replace(ue,"-$&").toLowerCase(),"string"==typeof(n=e.getAttribute(r))){try{n=function(e){return"true"===e||"false"!==e&&("null"===e?null:e===+e+""?+e:ce.test(e)?JSON.parse(e):e)}(n)}catch(e){}le.set(e,t,n)}else n=void 0;return n}T.extend({hasData:function(e){return le.hasData(e)||se.hasData(e)},data:function(e,t,n){return le.access(e,t,n)},removeData:function(e,t){le.remove(e,t)},_data:function(e,t,n){return se.access(e,t,n)},_removeData:function(e,t){se.remove(e,t)}}),T.fn.extend({data:function(e,t){var n,r,i,o=this[0],a=o&&o.attributes;if(void 0===e){if(this.length&&(i=le.get(o),1===o.nodeType&&!se.get(o,"hasDataAttrs"))){for(n=a.length;n--;)a[n]&&0===(r=a[n].name).indexOf("data-")&&(r=ie(r.slice(5)),de(o,r,i[r]));se.set(o,"hasDataAttrs",!0)}return i}return"object"==typeof e?this.each((function(){le.set(this,e)})):ee(this,(function(t){var n;if(o&&void 0===t)return void 0!==(n=le.get(o,e))||void 0!==(n=de(o,e))?n:void 0;this.each((function(){le.set(this,e,t)}))}),null,t,arguments.length>1,null,!0)},removeData:function(e){return this.each((function(){le.remove(this,e)}))}}),T.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=se.get(e,t),n&&(!r||Array.isArray(n)?r=se.access(e,t,T.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=T.queue(e,t),r=n.length,i=n.shift(),o=T._queueHooks(e,t);"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===t&&n.unshift("inprogress"),delete o.stop,i.call(e,(function(){T.dequeue(e,t)}),o)),!r&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return se.get(e,n)||se.access(e,n,{empty:T.Callbacks("once memory").add((function(){se.remove(e,[t+"queue",n])}))})}}),T.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length<n?T.queue(this[0],e):void 0===t?this:this.each((function(){var n=T.queue(this,e,t);T._queueHooks(this,e),"fx"===e&&"inprogress"!==n[0]&&T.dequeue(this,e)}))},dequeue:function(e){return this.each((function(){T.dequeue(this,e)}))},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,r=1,i=T.Deferred(),o=this,a=this.length,s=function(){--r||i.resolveWith(o,[o])};for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";a--;)(n=se.get(o[a],e+"queueHooks"))&&n.empty&&(r++,n.empty.add(s));return s(),i.promise(t)}});var he=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,fe=new RegExp("^(?:([+-])=|)("+he+")([a-z%]*)$","i"),pe=["Top","Right","Bottom","Left"],ge=w.documentElement,me=function(e){return T.contains(e.ownerDocument,e)},ye={composed:!0};ge.getRootNode&&(me=function(e){return T.contains(e.ownerDocument,e)||e.getRootNode(ye)===e.ownerDocument});var ve=function(e,t){return"none"===(e=t||e).style.display||""===e.style.display&&me(e)&&"none"===T.css(e,"display")};function we(e,t,n,r){var i,o,a=20,s=r?function(){return r.cur()}:function(){return T.css(e,t,"")},l=s(),c=n&&n[3]||(T.cssNumber[t]?"":"px"),u=e.nodeType&&(T.cssNumber[t]||"px"!==c&&+l)&&fe.exec(T.css(e,t));if(u&&u[3]!==c){for(l/=2,c=c||u[3],u=+l||1;a--;)T.style(e,t,u+c),(1-o)*(1-(o=s()/l||.5))<=0&&(a=0),u/=o;u*=2,T.style(e,t,u+c),n=n||[]}return n&&(u=+u||+l||0,i=n[1]?u+(n[1]+1)*n[2]:+n[2],r&&(r.unit=c,r.start=u,r.end=i)),i}var be={};function Ce(e){var t,n=e.ownerDocument,r=e.nodeName,i=be[r];return i||(t=n.body.appendChild(n.createElement(r)),i=T.css(t,"display"),t.parentNode.removeChild(t),"none"===i&&(i="block"),be[r]=i,i)}function Se(e,t){for(var n,r,i=[],o=0,a=e.length;o<a;o++)(r=e[o]).style&&(n=r.style.display,t?("none"===n&&(i[o]=se.get(r,"display")||null,i[o]||(r.style.display="")),""===r.style.display&&ve(r)&&(i[o]=Ce(r))):"none"!==n&&(i[o]="none",se.set(r,"display",n)));for(o=0;o<a;o++)null!=i[o]&&(e[o].style.display=i[o]);return e}T.fn.extend({show:function(){return Se(this,!0)},hide:function(){return Se(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each((function(){ve(this)?T(this).show():T(this).hide()}))}});var Ae,_e,Te=/^(?:checkbox|radio)$/i,Ee=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,xe=/^$|^module$|\/(?:java|ecma)script/i;Ae=w.createDocumentFragment().appendChild(w.createElement("div")),(_e=w.createElement("input")).setAttribute("type","radio"),_e.setAttribute("checked","checked"),_e.setAttribute("name","t"),Ae.appendChild(_e),m.checkClone=Ae.cloneNode(!0).cloneNode(!0).lastChild.checked,Ae.innerHTML="<textarea>x</textarea>",m.noCloneChecked=!!Ae.cloneNode(!0).lastChild.defaultValue,Ae.innerHTML="<option></option>",m.option=!!Ae.lastChild;var Ie={thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};function Oe(e,t){var n;return n=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&x(e,t)?T.merge([e],n):n}function Me(e,t){for(var n=0,r=e.length;n<r;n++)se.set(e[n],"globalEval",!t||se.get(t[n],"globalEval"))}Ie.tbody=Ie.tfoot=Ie.colgroup=Ie.caption=Ie.thead,Ie.th=Ie.td,m.option||(Ie.optgroup=Ie.option=[1,"<select multiple='multiple'>","</select>"]);var De=/<|&#?\w+;/;function ke(e,t,n,r,i){for(var o,a,s,l,c,u,d=t.createDocumentFragment(),h=[],f=0,p=e.length;f<p;f++)if((o=e[f])||0===o)if("object"===S(o))T.merge(h,o.nodeType?[o]:o);else if(De.test(o)){for(a=a||d.appendChild(t.createElement("div")),s=(Ee.exec(o)||["",""])[1].toLowerCase(),l=Ie[s]||Ie._default,a.innerHTML=l[1]+T.htmlPrefilter(o)+l[2],u=l[0];u--;)a=a.lastChild;T.merge(h,a.childNodes),(a=d.firstChild).textContent=""}else h.push(t.createTextNode(o));for(d.textContent="",f=0;o=h[f++];)if(r&&T.inArray(o,r)>-1)i&&i.push(o);else if(c=me(o),a=Oe(d.appendChild(o),"script"),c&&Me(a),n)for(u=0;o=a[u++];)xe.test(o.type||"")&&n.push(o);return d}var Ne=/^([^.]*)(?:\.(.+)|)/;function Pe(){return!0}function Re(){return!1}function Le(e,t,n,r,i,o){var a,s;if("object"==typeof t){for(s in"string"!=typeof n&&(r=r||n,n=void 0),t)Le(e,s,n,r,t[s],o);return e}if(null==r&&null==i?(i=n,r=n=void 0):null==i&&("string"==typeof n?(i=r,r=void 0):(i=r,r=n,n=void 0)),!1===i)i=Re;else if(!i)return e;return 1===o&&(a=i,i=function(e){return T().off(e),a.apply(this,arguments)},i.guid=a.guid||(a.guid=T.guid++)),e.each((function(){T.event.add(this,t,i,r,n)}))}function $e(e,t,n){n?(se.set(e,t,!1),T.event.add(e,t,{namespace:!1,handler:function(e){var n,r=se.get(this,t);if(1&e.isTrigger&&this[t]){if(r)(T.event.special[t]||{}).delegateType&&e.stopPropagation();else if(r=s.call(arguments),se.set(this,t,r),this[t](),n=se.get(this,t),se.set(this,t,!1),r!==n)return e.stopImmediatePropagation(),e.preventDefault(),n}else r&&(se.set(this,t,T.event.trigger(r[0],r.slice(1),this)),e.stopPropagation(),e.isImmediatePropagationStopped=Pe)}})):void 0===se.get(e,t)&&T.event.add(e,t,Pe)}T.event={global:{},add:function(e,t,n,r,i){var o,a,s,l,c,u,d,h,f,p,g,m=se.get(e);if(oe(e))for(n.handler&&(n=(o=n).handler,i=o.selector),i&&T.find.matchesSelector(ge,i),n.guid||(n.guid=T.guid++),(l=m.events)||(l=m.events=Object.create(null)),(a=m.handle)||(a=m.handle=function(t){return void 0!==T&&T.event.triggered!==t.type?T.event.dispatch.apply(e,arguments):void 0}),c=(t=(t||"").match(q)||[""]).length;c--;)f=g=(s=Ne.exec(t[c])||[])[1],p=(s[2]||"").split(".").sort(),f&&(d=T.event.special[f]||{},f=(i?d.delegateType:d.bindType)||f,d=T.event.special[f]||{},u=T.extend({type:f,origType:g,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&T.expr.match.needsContext.test(i),namespace:p.join(".")},o),(h=l[f])||((h=l[f]=[]).delegateCount=0,d.setup&&!1!==d.setup.call(e,r,p,a)||e.addEventListener&&e.addEventListener(f,a)),d.add&&(d.add.call(e,u),u.handler.guid||(u.handler.guid=n.guid)),i?h.splice(h.delegateCount++,0,u):h.push(u),T.event.global[f]=!0)},remove:function(e,t,n,r,i){var o,a,s,l,c,u,d,h,f,p,g,m=se.hasData(e)&&se.get(e);if(m&&(l=m.events)){for(c=(t=(t||"").match(q)||[""]).length;c--;)if(f=g=(s=Ne.exec(t[c])||[])[1],p=(s[2]||"").split(".").sort(),f){for(d=T.event.special[f]||{},h=l[f=(r?d.delegateType:d.bindType)||f]||[],s=s[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=o=h.length;o--;)u=h[o],!i&&g!==u.origType||n&&n.guid!==u.guid||s&&!s.test(u.namespace)||r&&r!==u.selector&&("**"!==r||!u.selector)||(h.splice(o,1),u.selector&&h.delegateCount--,d.remove&&d.remove.call(e,u));a&&!h.length&&(d.teardown&&!1!==d.teardown.call(e,p,m.handle)||T.removeEvent(e,f,m.handle),delete l[f])}else for(f in l)T.event.remove(e,f+t[c],n,r,!0);T.isEmptyObject(l)&&se.remove(e,"handle events")}},dispatch:function(e){var t,n,r,i,o,a,s=new Array(arguments.length),l=T.event.fix(e),c=(se.get(this,"events")||Object.create(null))[l.type]||[],u=T.event.special[l.type]||{};for(s[0]=l,t=1;t<arguments.length;t++)s[t]=arguments[t];if(l.delegateTarget=this,!u.preDispatch||!1!==u.preDispatch.call(this,l)){for(a=T.event.handlers.call(this,l,c),t=0;(i=a[t++])&&!l.isPropagationStopped();)for(l.currentTarget=i.elem,n=0;(o=i.handlers[n++])&&!l.isImmediatePropagationStopped();)l.rnamespace&&!1!==o.namespace&&!l.rnamespace.test(o.namespace)||(l.handleObj=o,l.data=o.data,void 0!==(r=((T.event.special[o.origType]||{}).handle||o.handler).apply(i.elem,s))&&!1===(l.result=r)&&(l.preventDefault(),l.stopPropagation()));return u.postDispatch&&u.postDispatch.call(this,l),l.result}},handlers:function(e,t){var n,r,i,o,a,s=[],l=t.delegateCount,c=e.target;if(l&&c.nodeType&&!("click"===e.type&&e.button>=1))for(;c!==this;c=c.parentNode||this)if(1===c.nodeType&&("click"!==e.type||!0!==c.disabled)){for(o=[],a={},n=0;n<l;n++)void 0===a[i=(r=t[n]).selector+" "]&&(a[i]=r.needsContext?T(i,this).index(c)>-1:T.find(i,this,null,[c]).length),a[i]&&o.push(r);o.length&&s.push({elem:c,handlers:o})}return c=this,l<t.length&&s.push({elem:c,handlers:t.slice(l)}),s},addProp:function(e,t){Object.defineProperty(T.Event.prototype,e,{enumerable:!0,configurable:!0,get:y(t)?function(){if(this.originalEvent)return t(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[e]},set:function(t){Object.defineProperty(this,e,{enumerable:!0,configurable:!0,writable:!0,value:t})}})},fix:function(e){return e[T.expando]?e:new T.Event(e)},special:{load:{noBubble:!0},click:{setup:function(e){var t=this||e;return Te.test(t.type)&&t.click&&x(t,"input")&&$e(t,"click",!0),!1},trigger:function(e){var t=this||e;return Te.test(t.type)&&t.click&&x(t,"input")&&$e(t,"click"),!0},_default:function(e){var t=e.target;return Te.test(t.type)&&t.click&&x(t,"input")&&se.get(t,"click")||x(t,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},T.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},T.Event=function(e,t){if(!(this instanceof T.Event))return new T.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?Pe:Re,this.target=e.target&&3===e.target.nodeType?e.target.parentNode:e.target,this.currentTarget=e.currentTarget,this.relatedTarget=e.relatedTarget):this.type=e,t&&T.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[T.expando]=!0},T.Event.prototype={constructor:T.Event,isDefaultPrevented:Re,isPropagationStopped:Re,isImmediatePropagationStopped:Re,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=Pe,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=Pe,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=Pe,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},T.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:!0},T.event.addProp),T.each({focus:"focusin",blur:"focusout"},(function(e,t){function n(e){if(w.documentMode){var n=se.get(this,"handle"),r=T.event.fix(e);r.type="focusin"===e.type?"focus":"blur",r.isSimulated=!0,n(e),r.target===r.currentTarget&&n(r)}else T.event.simulate(t,e.target,T.event.fix(e))}T.event.special[e]={setup:function(){var r;if($e(this,e,!0),!w.documentMode)return!1;(r=se.get(this,t))||this.addEventListener(t,n),se.set(this,t,(r||0)+1)},trigger:function(){return $e(this,e),!0},teardown:function(){var e;if(!w.documentMode)return!1;(e=se.get(this,t)-1)?se.set(this,t,e):(this.removeEventListener(t,n),se.remove(this,t))},_default:function(t){return se.get(t.target,e)},delegateType:t},T.event.special[t]={setup:function(){var r=this.ownerDocument||this.document||this,i=w.documentMode?this:r,o=se.get(i,t);o||(w.documentMode?this.addEventListener(t,n):r.addEventListener(e,n,!0)),se.set(i,t,(o||0)+1)},teardown:function(){var r=this.ownerDocument||this.document||this,i=w.documentMode?this:r,o=se.get(i,t)-1;o?se.set(i,t,o):(w.documentMode?this.removeEventListener(t,n):r.removeEventListener(e,n,!0),se.remove(i,t))}}})),T.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},(function(e,t){T.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,r=e.relatedTarget,i=e.handleObj;return r&&(r===this||T.contains(this,r))||(e.type=i.origType,n=i.handler.apply(this,arguments),e.type=t),n}}})),T.fn.extend({on:function(e,t,n,r){return Le(this,e,t,n,r)},one:function(e,t,n,r){return Le(this,e,t,n,r,1)},off:function(e,t,n){var r,i;if(e&&e.preventDefault&&e.handleObj)return r=e.handleObj,T(e.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"==typeof e){for(i in e)this.off(i,t,e[i]);return this}return!1!==t&&"function"!=typeof t||(n=t,t=void 0),!1===n&&(n=Re),this.each((function(){T.event.remove(this,e,n,t)}))}});var je=/<script|<style|<link/i,Be=/checked\s*(?:[^=]|=\s*.checked.)/i,Fe=/^\s*<!\[CDATA\[|\]\]>\s*$/g;function He(e,t){return x(e,"table")&&x(11!==t.nodeType?t:t.firstChild,"tr")&&T(e).children("tbody")[0]||e}function Ue(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function ze(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Ve(e,t){var n,r,i,o,a,s;if(1===t.nodeType){if(se.hasData(e)&&(s=se.get(e).events))for(i in se.remove(t,"handle events"),s)for(n=0,r=s[i].length;n<r;n++)T.event.add(t,i,s[i][n]);le.hasData(e)&&(o=le.access(e),a=T.extend({},o),le.set(t,a))}}function We(e,t){var n=t.nodeName.toLowerCase();"input"===n&&Te.test(e.type)?t.checked=e.checked:"input"!==n&&"textarea"!==n||(t.defaultValue=e.defaultValue)}function Ge(e,t,n,r){t=l(t);var i,o,a,s,c,u,d=0,h=e.length,f=h-1,p=t[0],g=y(p);if(g||h>1&&"string"==typeof p&&!m.checkClone&&Be.test(p))return e.each((function(i){var o=e.eq(i);g&&(t[0]=p.call(this,i,o.html())),Ge(o,t,n,r)}));if(h&&(o=(i=ke(t,e[0].ownerDocument,!1,e,r)).firstChild,1===i.childNodes.length&&(i=o),o||r)){for(s=(a=T.map(Oe(i,"script"),Ue)).length;d<h;d++)c=i,d!==f&&(c=T.clone(c,!0,!0),s&&T.merge(a,Oe(c,"script"))),n.call(e[d],c,d);if(s)for(u=a[a.length-1].ownerDocument,T.map(a,ze),d=0;d<s;d++)c=a[d],xe.test(c.type||"")&&!se.access(c,"globalEval")&&T.contains(u,c)&&(c.src&&"module"!==(c.type||"").toLowerCase()?T._evalUrl&&!c.noModule&&T._evalUrl(c.src,{nonce:c.nonce||c.getAttribute("nonce")},u):C(c.textContent.replace(Fe,""),c,u))}return e}function qe(e,t,n){for(var r,i=t?T.filter(t,e):e,o=0;null!=(r=i[o]);o++)n||1!==r.nodeType||T.cleanData(Oe(r)),r.parentNode&&(n&&me(r)&&Me(Oe(r,"script")),r.parentNode.removeChild(r));return e}T.extend({htmlPrefilter:function(e){return e},clone:function(e,t,n){var r,i,o,a,s=e.cloneNode(!0),l=me(e);if(!(m.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||T.isXMLDoc(e)))for(a=Oe(s),r=0,i=(o=Oe(e)).length;r<i;r++)We(o[r],a[r]);if(t)if(n)for(o=o||Oe(e),a=a||Oe(s),r=0,i=o.length;r<i;r++)Ve(o[r],a[r]);else Ve(e,s);return(a=Oe(s,"script")).length>0&&Me(a,!l&&Oe(e,"script")),s},cleanData:function(e){for(var t,n,r,i=T.event.special,o=0;void 0!==(n=e[o]);o++)if(oe(n)){if(t=n[se.expando]){if(t.events)for(r in t.events)i[r]?T.event.remove(n,r):T.removeEvent(n,r,t.handle);n[se.expando]=void 0}n[le.expando]&&(n[le.expando]=void 0)}}}),T.fn.extend({detach:function(e){return qe(this,e,!0)},remove:function(e){return qe(this,e)},text:function(e){return ee(this,(function(e){return void 0===e?T.text(this):this.empty().each((function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)}))}),null,e,arguments.length)},append:function(){return Ge(this,arguments,(function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||He(this,e).appendChild(e)}))},prepend:function(){return Ge(this,arguments,(function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=He(this,e);t.insertBefore(e,t.firstChild)}}))},before:function(){return Ge(this,arguments,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this)}))},after:function(){return Ge(this,arguments,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)}))},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(T.cleanData(Oe(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map((function(){return T.clone(this,e,t)}))},html:function(e){return ee(this,(function(e){var t=this[0]||{},n=0,r=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!je.test(e)&&!Ie[(Ee.exec(e)||["",""])[1].toLowerCase()]){e=T.htmlPrefilter(e);try{for(;n<r;n++)1===(t=this[n]||{}).nodeType&&(T.cleanData(Oe(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)}),null,e,arguments.length)},replaceWith:function(){var e=[];return Ge(this,arguments,(function(t){var n=this.parentNode;T.inArray(this,e)<0&&(T.cleanData(Oe(this)),n&&n.replaceChild(t,this))}),e)}}),T.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},(function(e,t){T.fn[e]=function(e){for(var n,r=[],i=T(e),o=i.length-1,a=0;a<=o;a++)n=a===o?this:this.clone(!0),T(i[a])[t](n),c.apply(r,n.get());return this.pushStack(r)}}));var Ye=new RegExp("^("+he+")(?!px)[a-z%]+$","i"),Xe=/^--/,Ze=function(e){var t=e.ownerDocument.defaultView;return t&&t.opener||(t=r),t.getComputedStyle(e)},Qe=function(e,t,n){var r,i,o={};for(i in t)o[i]=e.style[i],e.style[i]=t[i];for(i in r=n.call(e),t)e.style[i]=o[i];return r},Ke=new RegExp(pe.join("|"),"i");function Je(e,t,n){var r,i,o,a,s=Xe.test(t),l=e.style;return(n=n||Ze(e))&&(a=n.getPropertyValue(t)||n[t],s&&a&&(a=a.replace(k,"$1")||void 0),""!==a||me(e)||(a=T.style(e,t)),!m.pixelBoxStyles()&&Ye.test(a)&&Ke.test(t)&&(r=l.width,i=l.minWidth,o=l.maxWidth,l.minWidth=l.maxWidth=l.width=a,a=n.width,l.width=r,l.minWidth=i,l.maxWidth=o)),void 0!==a?a+"":a}function et(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}!function(){function e(){if(u){c.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",u.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",ge.appendChild(c).appendChild(u);var e=r.getComputedStyle(u);n="1%"!==e.top,l=12===t(e.marginLeft),u.style.right="60%",a=36===t(e.right),i=36===t(e.width),u.style.position="absolute",o=12===t(u.offsetWidth/3),ge.removeChild(c),u=null}}function t(e){return Math.round(parseFloat(e))}var n,i,o,a,s,l,c=w.createElement("div"),u=w.createElement("div");u.style&&(u.style.backgroundClip="content-box",u.cloneNode(!0).style.backgroundClip="",m.clearCloneStyle="content-box"===u.style.backgroundClip,T.extend(m,{boxSizingReliable:function(){return e(),i},pixelBoxStyles:function(){return e(),a},pixelPosition:function(){return e(),n},reliableMarginLeft:function(){return e(),l},scrollboxSize:function(){return e(),o},reliableTrDimensions:function(){var e,t,n,i;return null==s&&(e=w.createElement("table"),t=w.createElement("tr"),n=w.createElement("div"),e.style.cssText="position:absolute;left:-11111px;border-collapse:separate",t.style.cssText="box-sizing:content-box;border:1px solid",t.style.height="1px",n.style.height="9px",n.style.display="block",ge.appendChild(e).appendChild(t).appendChild(n),i=r.getComputedStyle(t),s=parseInt(i.height,10)+parseInt(i.borderTopWidth,10)+parseInt(i.borderBottomWidth,10)===t.offsetHeight,ge.removeChild(e)),s}}))}();var tt=["Webkit","Moz","ms"],nt=w.createElement("div").style,rt={};function it(e){var t=T.cssProps[e]||rt[e];return t||(e in nt?e:rt[e]=function(e){for(var t=e[0].toUpperCase()+e.slice(1),n=tt.length;n--;)if((e=tt[n]+t)in nt)return e}(e)||e)}var ot=/^(none|table(?!-c[ea]).+)/,at={position:"absolute",visibility:"hidden",display:"block"},st={letterSpacing:"0",fontWeight:"400"};function lt(e,t,n){var r=fe.exec(t);return r?Math.max(0,r[2]-(n||0))+(r[3]||"px"):t}function ct(e,t,n,r,i,o){var a="width"===t?1:0,s=0,l=0,c=0;if(n===(r?"border":"content"))return 0;for(;a<4;a+=2)"margin"===n&&(c+=T.css(e,n+pe[a],!0,i)),r?("content"===n&&(l-=T.css(e,"padding"+pe[a],!0,i)),"margin"!==n&&(l-=T.css(e,"border"+pe[a]+"Width",!0,i))):(l+=T.css(e,"padding"+pe[a],!0,i),"padding"!==n?l+=T.css(e,"border"+pe[a]+"Width",!0,i):s+=T.css(e,"border"+pe[a]+"Width",!0,i));return!r&&o>=0&&(l+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-o-l-s-.5))||0),l+c}function ut(e,t,n){var r=Ze(e),i=(!m.boxSizingReliable()||n)&&"border-box"===T.css(e,"boxSizing",!1,r),o=i,a=Je(e,t,r),s="offset"+t[0].toUpperCase()+t.slice(1);if(Ye.test(a)){if(!n)return a;a="auto"}return(!m.boxSizingReliable()&&i||!m.reliableTrDimensions()&&x(e,"tr")||"auto"===a||!parseFloat(a)&&"inline"===T.css(e,"display",!1,r))&&e.getClientRects().length&&(i="border-box"===T.css(e,"boxSizing",!1,r),(o=s in e)&&(a=e[s])),(a=parseFloat(a)||0)+ct(e,t,n||(i?"border":"content"),o,r,a)+"px"}function dt(e,t,n,r,i){return new dt.prototype.init(e,t,n,r,i)}T.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=Je(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,aspectRatio:!0,borderImageSlice:!0,columnCount:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,scale:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeMiterlimit:!0,strokeOpacity:!0},cssProps:{},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var i,o,a,s=ie(t),l=Xe.test(t),c=e.style;if(l||(t=it(s)),a=T.cssHooks[t]||T.cssHooks[s],void 0===n)return a&&"get"in a&&void 0!==(i=a.get(e,!1,r))?i:c[t];"string"===(o=typeof n)&&(i=fe.exec(n))&&i[1]&&(n=we(e,t,i),o="number"),null!=n&&n==n&&("number"!==o||l||(n+=i&&i[3]||(T.cssNumber[s]?"":"px")),m.clearCloneStyle||""!==n||0!==t.indexOf("background")||(c[t]="inherit"),a&&"set"in a&&void 0===(n=a.set(e,n,r))||(l?c.setProperty(t,n):c[t]=n))}},css:function(e,t,n,r){var i,o,a,s=ie(t);return Xe.test(t)||(t=it(s)),(a=T.cssHooks[t]||T.cssHooks[s])&&"get"in a&&(i=a.get(e,!0,n)),void 0===i&&(i=Je(e,t,r)),"normal"===i&&t in st&&(i=st[t]),""===n||n?(o=parseFloat(i),!0===n||isFinite(o)?o||0:i):i}}),T.each(["height","width"],(function(e,t){T.cssHooks[t]={get:function(e,n,r){if(n)return!ot.test(T.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?ut(e,t,r):Qe(e,at,(function(){return ut(e,t,r)}))},set:function(e,n,r){var i,o=Ze(e),a=!m.scrollboxSize()&&"absolute"===o.position,s=(a||r)&&"border-box"===T.css(e,"boxSizing",!1,o),l=r?ct(e,t,r,s,o):0;return s&&a&&(l-=Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(o[t])-ct(e,t,"border",!1,o)-.5)),l&&(i=fe.exec(n))&&"px"!==(i[3]||"px")&&(e.style[t]=n,n=T.css(e,t)),lt(0,n,l)}}})),T.cssHooks.marginLeft=et(m.reliableMarginLeft,(function(e,t){if(t)return(parseFloat(Je(e,"marginLeft"))||e.getBoundingClientRect().left-Qe(e,{marginLeft:0},(function(){return e.getBoundingClientRect().left})))+"px"})),T.each({margin:"",padding:"",border:"Width"},(function(e,t){T.cssHooks[e+t]={expand:function(n){for(var r=0,i={},o="string"==typeof n?n.split(" "):[n];r<4;r++)i[e+pe[r]+t]=o[r]||o[r-2]||o[0];return i}},"margin"!==e&&(T.cssHooks[e+t].set=lt)})),T.fn.extend({css:function(e,t){return ee(this,(function(e,t,n){var r,i,o={},a=0;if(Array.isArray(t)){for(r=Ze(e),i=t.length;a<i;a++)o[t[a]]=T.css(e,t[a],!1,r);return o}return void 0!==n?T.style(e,t,n):T.css(e,t)}),e,t,arguments.length>1)}}),T.Tween=dt,dt.prototype={constructor:dt,init:function(e,t,n,r,i,o){this.elem=e,this.prop=n,this.easing=i||T.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=o||(T.cssNumber[n]?"":"px")},cur:function(){var e=dt.propHooks[this.prop];return e&&e.get?e.get(this):dt.propHooks._default.get(this)},run:function(e){var t,n=dt.propHooks[this.prop];return this.options.duration?this.pos=t=T.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):dt.propHooks._default.set(this),this}},dt.prototype.init.prototype=dt.prototype,dt.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=T.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){T.fx.step[e.prop]?T.fx.step[e.prop](e):1!==e.elem.nodeType||!T.cssHooks[e.prop]&&null==e.elem.style[it(e.prop)]?e.elem[e.prop]=e.now:T.style(e.elem,e.prop,e.now+e.unit)}}},dt.propHooks.scrollTop=dt.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},T.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},T.fx=dt.prototype.init,T.fx.step={};var ht,ft,pt=/^(?:toggle|show|hide)$/,gt=/queueHooks$/;function mt(){ft&&(!1===w.hidden&&r.requestAnimationFrame?r.requestAnimationFrame(mt):r.setTimeout(mt,T.fx.interval),T.fx.tick())}function yt(){return r.setTimeout((function(){ht=void 0})),ht=Date.now()}function vt(e,t){var n,r=0,i={height:e};for(t=t?1:0;r<4;r+=2-t)i["margin"+(n=pe[r])]=i["padding"+n]=e;return t&&(i.opacity=i.width=e),i}function wt(e,t,n){for(var r,i=(bt.tweeners[t]||[]).concat(bt.tweeners["*"]),o=0,a=i.length;o<a;o++)if(r=i[o].call(n,t,e))return r}function bt(e,t,n){var r,i,o=0,a=bt.prefilters.length,s=T.Deferred().always((function(){delete l.elem})),l=function(){if(i)return!1;for(var t=ht||yt(),n=Math.max(0,c.startTime+c.duration-t),r=1-(n/c.duration||0),o=0,a=c.tweens.length;o<a;o++)c.tweens[o].run(r);return s.notifyWith(e,[c,r,n]),r<1&&a?n:(a||s.notifyWith(e,[c,1,0]),s.resolveWith(e,[c]),!1)},c=s.promise({elem:e,props:T.extend({},t),opts:T.extend(!0,{specialEasing:{},easing:T.easing._default},n),originalProperties:t,originalOptions:n,startTime:ht||yt(),duration:n.duration,tweens:[],createTween:function(t,n){var r=T.Tween(e,c.opts,t,n,c.opts.specialEasing[t]||c.opts.easing);return c.tweens.push(r),r},stop:function(t){var n=0,r=t?c.tweens.length:0;if(i)return this;for(i=!0;n<r;n++)c.tweens[n].run(1);return t?(s.notifyWith(e,[c,1,0]),s.resolveWith(e,[c,t])):s.rejectWith(e,[c,t]),this}}),u=c.props;for(!function(e,t){var n,r,i,o,a;for(n in e)if(i=t[r=ie(n)],o=e[n],Array.isArray(o)&&(i=o[1],o=e[n]=o[0]),n!==r&&(e[r]=o,delete e[n]),(a=T.cssHooks[r])&&"expand"in a)for(n in o=a.expand(o),delete e[r],o)n in e||(e[n]=o[n],t[n]=i);else t[r]=i}(u,c.opts.specialEasing);o<a;o++)if(r=bt.prefilters[o].call(c,e,u,c.opts))return y(r.stop)&&(T._queueHooks(c.elem,c.opts.queue).stop=r.stop.bind(r)),r;return T.map(u,wt,c),y(c.opts.start)&&c.opts.start.call(e,c),c.progress(c.opts.progress).done(c.opts.done,c.opts.complete).fail(c.opts.fail).always(c.opts.always),T.fx.timer(T.extend(l,{elem:e,anim:c,queue:c.opts.queue})),c}T.Animation=T.extend(bt,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return we(n.elem,e,fe.exec(t),n),n}]},tweener:function(e,t){y(e)?(t=e,e=["*"]):e=e.match(q);for(var n,r=0,i=e.length;r<i;r++)n=e[r],bt.tweeners[n]=bt.tweeners[n]||[],bt.tweeners[n].unshift(t)},prefilters:[function(e,t,n){var r,i,o,a,s,l,c,u,d="width"in t||"height"in t,h=this,f={},p=e.style,g=e.nodeType&&ve(e),m=se.get(e,"fxshow");for(r in n.queue||(null==(a=T._queueHooks(e,"fx")).unqueued&&(a.unqueued=0,s=a.empty.fire,a.empty.fire=function(){a.unqueued||s()}),a.unqueued++,h.always((function(){h.always((function(){a.unqueued--,T.queue(e,"fx").length||a.empty.fire()}))}))),t)if(i=t[r],pt.test(i)){if(delete t[r],o=o||"toggle"===i,i===(g?"hide":"show")){if("show"!==i||!m||void 0===m[r])continue;g=!0}f[r]=m&&m[r]||T.style(e,r)}if((l=!T.isEmptyObject(t))||!T.isEmptyObject(f))for(r in d&&1===e.nodeType&&(n.overflow=[p.overflow,p.overflowX,p.overflowY],null==(c=m&&m.display)&&(c=se.get(e,"display")),"none"===(u=T.css(e,"display"))&&(c?u=c:(Se([e],!0),c=e.style.display||c,u=T.css(e,"display"),Se([e]))),("inline"===u||"inline-block"===u&&null!=c)&&"none"===T.css(e,"float")&&(l||(h.done((function(){p.display=c})),null==c&&(u=p.display,c="none"===u?"":u)),p.display="inline-block")),n.overflow&&(p.overflow="hidden",h.always((function(){p.overflow=n.overflow[0],p.overflowX=n.overflow[1],p.overflowY=n.overflow[2]}))),l=!1,f)l||(m?"hidden"in m&&(g=m.hidden):m=se.access(e,"fxshow",{display:c}),o&&(m.hidden=!g),g&&Se([e],!0),h.done((function(){for(r in g||Se([e]),se.remove(e,"fxshow"),f)T.style(e,r,f[r])}))),l=wt(g?m[r]:0,r,h),r in m||(m[r]=l.start,g&&(l.end=l.start,l.start=0))}],prefilter:function(e,t){t?bt.prefilters.unshift(e):bt.prefilters.push(e)}}),T.speed=function(e,t,n){var r=e&&"object"==typeof e?T.extend({},e):{complete:n||!n&&t||y(e)&&e,duration:e,easing:n&&t||t&&!y(t)&&t};return T.fx.off?r.duration=0:"number"!=typeof r.duration&&(r.duration in T.fx.speeds?r.duration=T.fx.speeds[r.duration]:r.duration=T.fx.speeds._default),null!=r.queue&&!0!==r.queue||(r.queue="fx"),r.old=r.complete,r.complete=function(){y(r.old)&&r.old.call(this),r.queue&&T.dequeue(this,r.queue)},r},T.fn.extend({fadeTo:function(e,t,n,r){return this.filter(ve).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(e,t,n,r){var i=T.isEmptyObject(e),o=T.speed(t,n,r),a=function(){var t=bt(this,T.extend({},e),o);(i||se.get(this,"finish"))&&t.stop(!0)};return a.finish=a,i||!1===o.queue?this.each(a):this.queue(o.queue,a)},stop:function(e,t,n){var r=function(e){var t=e.stop;delete e.stop,t(n)};return"string"!=typeof e&&(n=t,t=e,e=void 0),t&&this.queue(e||"fx",[]),this.each((function(){var t=!0,i=null!=e&&e+"queueHooks",o=T.timers,a=se.get(this);if(i)a[i]&&a[i].stop&&r(a[i]);else for(i in a)a[i]&&a[i].stop&&gt.test(i)&&r(a[i]);for(i=o.length;i--;)o[i].elem!==this||null!=e&&o[i].queue!==e||(o[i].anim.stop(n),t=!1,o.splice(i,1));!t&&n||T.dequeue(this,e)}))},finish:function(e){return!1!==e&&(e=e||"fx"),this.each((function(){var t,n=se.get(this),r=n[e+"queue"],i=n[e+"queueHooks"],o=T.timers,a=r?r.length:0;for(n.finish=!0,T.queue(this,e,[]),i&&i.stop&&i.stop.call(this,!0),t=o.length;t--;)o[t].elem===this&&o[t].queue===e&&(o[t].anim.stop(!0),o.splice(t,1));for(t=0;t<a;t++)r[t]&&r[t].finish&&r[t].finish.call(this);delete n.finish}))}}),T.each(["toggle","show","hide"],(function(e,t){var n=T.fn[t];T.fn[t]=function(e,r,i){return null==e||"boolean"==typeof e?n.apply(this,arguments):this.animate(vt(t,!0),e,r,i)}})),T.each({slideDown:vt("show"),slideUp:vt("hide"),slideToggle:vt("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},(function(e,t){T.fn[e]=function(e,n,r){return this.animate(t,e,n,r)}})),T.timers=[],T.fx.tick=function(){var e,t=0,n=T.timers;for(ht=Date.now();t<n.length;t++)(e=n[t])()||n[t]!==e||n.splice(t--,1);n.length||T.fx.stop(),ht=void 0},T.fx.timer=function(e){T.timers.push(e),T.fx.start()},T.fx.interval=13,T.fx.start=function(){ft||(ft=!0,mt())},T.fx.stop=function(){ft=null},T.fx.speeds={slow:600,fast:200,_default:400},T.fn.delay=function(e,t){return e=T.fx&&T.fx.speeds[e]||e,t=t||"fx",this.queue(t,(function(t,n){var i=r.setTimeout(t,e);n.stop=function(){r.clearTimeout(i)}}))},function(){var e=w.createElement("input"),t=w.createElement("select").appendChild(w.createElement("option"));e.type="checkbox",m.checkOn=""!==e.value,m.optSelected=t.selected,(e=w.createElement("input")).value="t",e.type="radio",m.radioValue="t"===e.value}();var Ct,St=T.expr.attrHandle;T.fn.extend({attr:function(e,t){return ee(this,T.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each((function(){T.removeAttr(this,e)}))}}),T.extend({attr:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return void 0===e.getAttribute?T.prop(e,t,n):(1===o&&T.isXMLDoc(e)||(i=T.attrHooks[t.toLowerCase()]||(T.expr.match.bool.test(t)?Ct:void 0)),void 0!==n?null===n?void T.removeAttr(e,t):i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:(e.setAttribute(t,n+""),n):i&&"get"in i&&null!==(r=i.get(e,t))?r:null==(r=T.find.attr(e,t))?void 0:r)},attrHooks:{type:{set:function(e,t){if(!m.radioValue&&"radio"===t&&x(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,r=0,i=t&&t.match(q);if(i&&1===e.nodeType)for(;n=i[r++];)e.removeAttribute(n)}}),Ct={set:function(e,t,n){return!1===t?T.removeAttr(e,n):e.setAttribute(n,n),n}},T.each(T.expr.match.bool.source.match(/\w+/g),(function(e,t){var n=St[t]||T.find.attr;St[t]=function(e,t,r){var i,o,a=t.toLowerCase();return r||(o=St[a],St[a]=i,i=null!=n(e,t,r)?a:null,St[a]=o),i}}));var At=/^(?:input|select|textarea|button)$/i,_t=/^(?:a|area)$/i;function Tt(e){return(e.match(q)||[]).join(" ")}function Et(e){return e.getAttribute&&e.getAttribute("class")||""}function xt(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(q)||[]}T.fn.extend({prop:function(e,t){return ee(this,T.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each((function(){delete this[T.propFix[e]||e]}))}}),T.extend({prop:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&T.isXMLDoc(e)||(t=T.propFix[t]||t,i=T.propHooks[t]),void 0!==n?i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:e[t]=n:i&&"get"in i&&null!==(r=i.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=T.find.attr(e,"tabindex");return t?parseInt(t,10):At.test(e.nodeName)||_t.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),m.optSelected||(T.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),T.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],(function(){T.propFix[this.toLowerCase()]=this})),T.fn.extend({addClass:function(e){var t,n,r,i,o,a;return y(e)?this.each((function(t){T(this).addClass(e.call(this,t,Et(this)))})):(t=xt(e)).length?this.each((function(){if(r=Et(this),n=1===this.nodeType&&" "+Tt(r)+" "){for(o=0;o<t.length;o++)i=t[o],n.indexOf(" "+i+" ")<0&&(n+=i+" ");a=Tt(n),r!==a&&this.setAttribute("class",a)}})):this},removeClass:function(e){var t,n,r,i,o,a;return y(e)?this.each((function(t){T(this).removeClass(e.call(this,t,Et(this)))})):arguments.length?(t=xt(e)).length?this.each((function(){if(r=Et(this),n=1===this.nodeType&&" "+Tt(r)+" "){for(o=0;o<t.length;o++)for(i=t[o];n.indexOf(" "+i+" ")>-1;)n=n.replace(" "+i+" "," ");a=Tt(n),r!==a&&this.setAttribute("class",a)}})):this:this.attr("class","")},toggleClass:function(e,t){var n,r,i,o,a=typeof e,s="string"===a||Array.isArray(e);return y(e)?this.each((function(n){T(this).toggleClass(e.call(this,n,Et(this),t),t)})):"boolean"==typeof t&&s?t?this.addClass(e):this.removeClass(e):(n=xt(e),this.each((function(){if(s)for(o=T(this),i=0;i<n.length;i++)r=n[i],o.hasClass(r)?o.removeClass(r):o.addClass(r);else void 0!==e&&"boolean"!==a||((r=Et(this))&&se.set(this,"__className__",r),this.setAttribute&&this.setAttribute("class",r||!1===e?"":se.get(this,"__className__")||""))})))},hasClass:function(e){var t,n,r=0;for(t=" "+e+" ";n=this[r++];)if(1===n.nodeType&&(" "+Tt(Et(n))+" ").indexOf(t)>-1)return!0;return!1}});var It=/\r/g;T.fn.extend({val:function(e){var t,n,r,i=this[0];return arguments.length?(r=y(e),this.each((function(n){var i;1===this.nodeType&&(null==(i=r?e.call(this,n,T(this).val()):e)?i="":"number"==typeof i?i+="":Array.isArray(i)&&(i=T.map(i,(function(e){return null==e?"":e+""}))),(t=T.valHooks[this.type]||T.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,i,"value")||(this.value=i))}))):i?(t=T.valHooks[i.type]||T.valHooks[i.nodeName.toLowerCase()])&&"get"in t&&void 0!==(n=t.get(i,"value"))?n:"string"==typeof(n=i.value)?n.replace(It,""):null==n?"":n:void 0}}),T.extend({valHooks:{option:{get:function(e){var t=T.find.attr(e,"value");return null!=t?t:Tt(T.text(e))}},select:{get:function(e){var t,n,r,i=e.options,o=e.selectedIndex,a="select-one"===e.type,s=a?null:[],l=a?o+1:i.length;for(r=o<0?l:a?o:0;r<l;r++)if(((n=i[r]).selected||r===o)&&!n.disabled&&(!n.parentNode.disabled||!x(n.parentNode,"optgroup"))){if(t=T(n).val(),a)return t;s.push(t)}return s},set:function(e,t){for(var n,r,i=e.options,o=T.makeArray(t),a=i.length;a--;)((r=i[a]).selected=T.inArray(T.valHooks.option.get(r),o)>-1)&&(n=!0);return n||(e.selectedIndex=-1),o}}}}),T.each(["radio","checkbox"],(function(){T.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=T.inArray(T(e).val(),t)>-1}},m.checkOn||(T.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})}));var Ot=r.location,Mt={guid:Date.now()},Dt=/\?/;T.parseXML=function(e){var t,n;if(!e||"string"!=typeof e)return null;try{t=(new r.DOMParser).parseFromString(e,"text/xml")}catch(e){}return n=t&&t.getElementsByTagName("parsererror")[0],t&&!n||T.error("Invalid XML: "+(n?T.map(n.childNodes,(function(e){return e.textContent})).join("\n"):e)),t};var kt=/^(?:focusinfocus|focusoutblur)$/,Nt=function(e){e.stopPropagation()};T.extend(T.event,{trigger:function(e,t,n,i){var o,a,s,l,c,u,d,h,p=[n||w],g=f.call(e,"type")?e.type:e,m=f.call(e,"namespace")?e.namespace.split("."):[];if(a=h=s=n=n||w,3!==n.nodeType&&8!==n.nodeType&&!kt.test(g+T.event.triggered)&&(g.indexOf(".")>-1&&(m=g.split("."),g=m.shift(),m.sort()),c=g.indexOf(":")<0&&"on"+g,(e=e[T.expando]?e:new T.Event(g,"object"==typeof e&&e)).isTrigger=i?2:3,e.namespace=m.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+m.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=n),t=null==t?[e]:T.makeArray(t,[e]),d=T.event.special[g]||{},i||!d.trigger||!1!==d.trigger.apply(n,t))){if(!i&&!d.noBubble&&!v(n)){for(l=d.delegateType||g,kt.test(l+g)||(a=a.parentNode);a;a=a.parentNode)p.push(a),s=a;s===(n.ownerDocument||w)&&p.push(s.defaultView||s.parentWindow||r)}for(o=0;(a=p[o++])&&!e.isPropagationStopped();)h=a,e.type=o>1?l:d.bindType||g,(u=(se.get(a,"events")||Object.create(null))[e.type]&&se.get(a,"handle"))&&u.apply(a,t),(u=c&&a[c])&&u.apply&&oe(a)&&(e.result=u.apply(a,t),!1===e.result&&e.preventDefault());return e.type=g,i||e.isDefaultPrevented()||d._default&&!1!==d._default.apply(p.pop(),t)||!oe(n)||c&&y(n[g])&&!v(n)&&((s=n[c])&&(n[c]=null),T.event.triggered=g,e.isPropagationStopped()&&h.addEventListener(g,Nt),n[g](),e.isPropagationStopped()&&h.removeEventListener(g,Nt),T.event.triggered=void 0,s&&(n[c]=s)),e.result}},simulate:function(e,t,n){var r=T.extend(new T.Event,n,{type:e,isSimulated:!0});T.event.trigger(r,null,t)}}),T.fn.extend({trigger:function(e,t){return this.each((function(){T.event.trigger(e,t,this)}))},triggerHandler:function(e,t){var n=this[0];if(n)return T.event.trigger(e,t,n,!0)}});var Pt=/\[\]$/,Rt=/\r?\n/g,Lt=/^(?:submit|button|image|reset|file)$/i,$t=/^(?:input|select|textarea|keygen)/i;function jt(e,t,n,r){var i;if(Array.isArray(t))T.each(t,(function(t,i){n||Pt.test(e)?r(e,i):jt(e+"["+("object"==typeof i&&null!=i?t:"")+"]",i,n,r)}));else if(n||"object"!==S(t))r(e,t);else for(i in t)jt(e+"["+i+"]",t[i],n,r)}T.param=function(e,t){var n,r=[],i=function(e,t){var n=y(t)?t():t;r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(null==e)return"";if(Array.isArray(e)||e.jquery&&!T.isPlainObject(e))T.each(e,(function(){i(this.name,this.value)}));else for(n in e)jt(n,e[n],t,i);return r.join("&")},T.fn.extend({serialize:function(){return T.param(this.serializeArray())},serializeArray:function(){return this.map((function(){var e=T.prop(this,"elements");return e?T.makeArray(e):this})).filter((function(){var e=this.type;return this.name&&!T(this).is(":disabled")&&$t.test(this.nodeName)&&!Lt.test(e)&&(this.checked||!Te.test(e))})).map((function(e,t){var n=T(this).val();return null==n?null:Array.isArray(n)?T.map(n,(function(e){return{name:t.name,value:e.replace(Rt,"\r\n")}})):{name:t.name,value:n.replace(Rt,"\r\n")}})).get()}});var Bt=/%20/g,Ft=/#.*$/,Ht=/([?&])_=[^&]*/,Ut=/^(.*?):[ \t]*([^\r\n]*)$/gm,zt=/^(?:GET|HEAD)$/,Vt=/^\/\//,Wt={},Gt={},qt="*/".concat("*"),Yt=w.createElement("a");function Xt(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var r,i=0,o=t.toLowerCase().match(q)||[];if(y(n))for(;r=o[i++];)"+"===r[0]?(r=r.slice(1)||"*",(e[r]=e[r]||[]).unshift(n)):(e[r]=e[r]||[]).push(n)}}function Zt(e,t,n,r){var i={},o=e===Gt;function a(s){var l;return i[s]=!0,T.each(e[s]||[],(function(e,s){var c=s(t,n,r);return"string"!=typeof c||o||i[c]?o?!(l=c):void 0:(t.dataTypes.unshift(c),a(c),!1)})),l}return a(t.dataTypes[0])||!i["*"]&&a("*")}function Qt(e,t){var n,r,i=T.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((i[n]?e:r||(r={}))[n]=t[n]);return r&&T.extend(!0,e,r),e}Yt.href=Ot.href,T.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Ot.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(Ot.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":qt,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":T.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?Qt(Qt(e,T.ajaxSettings),t):Qt(T.ajaxSettings,e)},ajaxPrefilter:Xt(Wt),ajaxTransport:Xt(Gt),ajax:function(e,t){"object"==typeof e&&(t=e,e=void 0),t=t||{};var n,i,o,a,s,l,c,u,d,h,f=T.ajaxSetup({},t),p=f.context||f,g=f.context&&(p.nodeType||p.jquery)?T(p):T.event,m=T.Deferred(),y=T.Callbacks("once memory"),v=f.statusCode||{},b={},C={},S="canceled",A={readyState:0,getResponseHeader:function(e){var t;if(c){if(!a)for(a={};t=Ut.exec(o);)a[t[1].toLowerCase()+" "]=(a[t[1].toLowerCase()+" "]||[]).concat(t[2]);t=a[e.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return c?o:null},setRequestHeader:function(e,t){return null==c&&(e=C[e.toLowerCase()]=C[e.toLowerCase()]||e,b[e]=t),this},overrideMimeType:function(e){return null==c&&(f.mimeType=e),this},statusCode:function(e){var t;if(e)if(c)A.always(e[A.status]);else for(t in e)v[t]=[v[t],e[t]];return this},abort:function(e){var t=e||S;return n&&n.abort(t),_(0,t),this}};if(m.promise(A),f.url=((e||f.url||Ot.href)+"").replace(Vt,Ot.protocol+"//"),f.type=t.method||t.type||f.method||f.type,f.dataTypes=(f.dataType||"*").toLowerCase().match(q)||[""],null==f.crossDomain){l=w.createElement("a");try{l.href=f.url,l.href=l.href,f.crossDomain=Yt.protocol+"//"+Yt.host!=l.protocol+"//"+l.host}catch(e){f.crossDomain=!0}}if(f.data&&f.processData&&"string"!=typeof f.data&&(f.data=T.param(f.data,f.traditional)),Zt(Wt,f,t,A),c)return A;for(d in(u=T.event&&f.global)&&0==T.active++&&T.event.trigger("ajaxStart"),f.type=f.type.toUpperCase(),f.hasContent=!zt.test(f.type),i=f.url.replace(Ft,""),f.hasContent?f.data&&f.processData&&0===(f.contentType||"").indexOf("application/x-www-form-urlencoded")&&(f.data=f.data.replace(Bt,"+")):(h=f.url.slice(i.length),f.data&&(f.processData||"string"==typeof f.data)&&(i+=(Dt.test(i)?"&":"?")+f.data,delete f.data),!1===f.cache&&(i=i.replace(Ht,"$1"),h=(Dt.test(i)?"&":"?")+"_="+Mt.guid+++h),f.url=i+h),f.ifModified&&(T.lastModified[i]&&A.setRequestHeader("If-Modified-Since",T.lastModified[i]),T.etag[i]&&A.setRequestHeader("If-None-Match",T.etag[i])),(f.data&&f.hasContent&&!1!==f.contentType||t.contentType)&&A.setRequestHeader("Content-Type",f.contentType),A.setRequestHeader("Accept",f.dataTypes[0]&&f.accepts[f.dataTypes[0]]?f.accepts[f.dataTypes[0]]+("*"!==f.dataTypes[0]?", "+qt+"; q=0.01":""):f.accepts["*"]),f.headers)A.setRequestHeader(d,f.headers[d]);if(f.beforeSend&&(!1===f.beforeSend.call(p,A,f)||c))return A.abort();if(S="abort",y.add(f.complete),A.done(f.success),A.fail(f.error),n=Zt(Gt,f,t,A)){if(A.readyState=1,u&&g.trigger("ajaxSend",[A,f]),c)return A;f.async&&f.timeout>0&&(s=r.setTimeout((function(){A.abort("timeout")}),f.timeout));try{c=!1,n.send(b,_)}catch(e){if(c)throw e;_(-1,e)}}else _(-1,"No Transport");function _(e,t,a,l){var d,h,w,b,C,S=t;c||(c=!0,s&&r.clearTimeout(s),n=void 0,o=l||"",A.readyState=e>0?4:0,d=e>=200&&e<300||304===e,a&&(b=function(e,t,n){for(var r,i,o,a,s=e.contents,l=e.dataTypes;"*"===l[0];)l.shift(),void 0===r&&(r=e.mimeType||t.getResponseHeader("Content-Type"));if(r)for(i in s)if(s[i]&&s[i].test(r)){l.unshift(i);break}if(l[0]in n)o=l[0];else{for(i in n){if(!l[0]||e.converters[i+" "+l[0]]){o=i;break}a||(a=i)}o=o||a}if(o)return o!==l[0]&&l.unshift(o),n[o]}(f,A,a)),!d&&T.inArray("script",f.dataTypes)>-1&&T.inArray("json",f.dataTypes)<0&&(f.converters["text script"]=function(){}),b=function(e,t,n,r){var i,o,a,s,l,c={},u=e.dataTypes.slice();if(u[1])for(a in e.converters)c[a.toLowerCase()]=e.converters[a];for(o=u.shift();o;)if(e.responseFields[o]&&(n[e.responseFields[o]]=t),!l&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),l=o,o=u.shift())if("*"===o)o=l;else if("*"!==l&&l!==o){if(!(a=c[l+" "+o]||c["* "+o]))for(i in c)if((s=i.split(" "))[1]===o&&(a=c[l+" "+s[0]]||c["* "+s[0]])){!0===a?a=c[i]:!0!==c[i]&&(o=s[0],u.unshift(s[1]));break}if(!0!==a)if(a&&e.throws)t=a(t);else try{t=a(t)}catch(e){return{state:"parsererror",error:a?e:"No conversion from "+l+" to "+o}}}return{state:"success",data:t}}(f,b,A,d),d?(f.ifModified&&((C=A.getResponseHeader("Last-Modified"))&&(T.lastModified[i]=C),(C=A.getResponseHeader("etag"))&&(T.etag[i]=C)),204===e||"HEAD"===f.type?S="nocontent":304===e?S="notmodified":(S=b.state,h=b.data,d=!(w=b.error))):(w=S,!e&&S||(S="error",e<0&&(e=0))),A.status=e,A.statusText=(t||S)+"",d?m.resolveWith(p,[h,S,A]):m.rejectWith(p,[A,S,w]),A.statusCode(v),v=void 0,u&&g.trigger(d?"ajaxSuccess":"ajaxError",[A,f,d?h:w]),y.fireWith(p,[A,S]),u&&(g.trigger("ajaxComplete",[A,f]),--T.active||T.event.trigger("ajaxStop")))}return A},getJSON:function(e,t,n){return T.get(e,t,n,"json")},getScript:function(e,t){return T.get(e,void 0,t,"script")}}),T.each(["get","post"],(function(e,t){T[t]=function(e,n,r,i){return y(n)&&(i=i||r,r=n,n=void 0),T.ajax(T.extend({url:e,type:t,dataType:i,data:n,success:r},T.isPlainObject(e)&&e))}})),T.ajaxPrefilter((function(e){var t;for(t in e.headers)"content-type"===t.toLowerCase()&&(e.contentType=e.headers[t]||"")})),T._evalUrl=function(e,t,n){return T.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){T.globalEval(e,t,n)}})},T.fn.extend({wrapAll:function(e){var t;return this[0]&&(y(e)&&(e=e.call(this[0])),t=T(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map((function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e})).append(this)),this},wrapInner:function(e){return y(e)?this.each((function(t){T(this).wrapInner(e.call(this,t))})):this.each((function(){var t=T(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)}))},wrap:function(e){var t=y(e);return this.each((function(n){T(this).wrapAll(t?e.call(this,n):e)}))},unwrap:function(e){return this.parent(e).not("body").each((function(){T(this).replaceWith(this.childNodes)})),this}}),T.expr.pseudos.hidden=function(e){return!T.expr.pseudos.visible(e)},T.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},T.ajaxSettings.xhr=function(){try{return new r.XMLHttpRequest}catch(e){}};var Kt={0:200,1223:204},Jt=T.ajaxSettings.xhr();m.cors=!!Jt&&"withCredentials"in Jt,m.ajax=Jt=!!Jt,T.ajaxTransport((function(e){var t,n;if(m.cors||Jt&&!e.crossDomain)return{send:function(i,o){var a,s=e.xhr();if(s.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(a in e.xhrFields)s[a]=e.xhrFields[a];for(a in e.mimeType&&s.overrideMimeType&&s.overrideMimeType(e.mimeType),e.crossDomain||i["X-Requested-With"]||(i["X-Requested-With"]="XMLHttpRequest"),i)s.setRequestHeader(a,i[a]);t=function(e){return function(){t&&(t=n=s.onload=s.onerror=s.onabort=s.ontimeout=s.onreadystatechange=null,"abort"===e?s.abort():"error"===e?"number"!=typeof s.status?o(0,"error"):o(s.status,s.statusText):o(Kt[s.status]||s.status,s.statusText,"text"!==(s.responseType||"text")||"string"!=typeof s.responseText?{binary:s.response}:{text:s.responseText},s.getAllResponseHeaders()))}},s.onload=t(),n=s.onerror=s.ontimeout=t("error"),void 0!==s.onabort?s.onabort=n:s.onreadystatechange=function(){4===s.readyState&&r.setTimeout((function(){t&&n()}))},t=t("abort");try{s.send(e.hasContent&&e.data||null)}catch(e){if(t)throw e}},abort:function(){t&&t()}}})),T.ajaxPrefilter((function(e){e.crossDomain&&(e.contents.script=!1)})),T.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return T.globalEval(e),e}}}),T.ajaxPrefilter("script",(function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")})),T.ajaxTransport("script",(function(e){var t,n;if(e.crossDomain||e.scriptAttrs)return{send:function(r,i){t=T("<script>").attr(e.scriptAttrs||{}).prop({charset:e.scriptCharset,src:e.url}).on("load error",n=function(e){t.remove(),n=null,e&&i("error"===e.type?404:200,e.type)}),w.head.appendChild(t[0])},abort:function(){n&&n()}}}));var en,tn=[],nn=/(=)\?(?=&|$)|\?\?/;T.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=tn.pop()||T.expando+"_"+Mt.guid++;return this[e]=!0,e}}),T.ajaxPrefilter("json jsonp",(function(e,t,n){var i,o,a,s=!1!==e.jsonp&&(nn.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&nn.test(e.data)&&"data");if(s||"jsonp"===e.dataTypes[0])return i=e.jsonpCallback=y(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,s?e[s]=e[s].replace(nn,"$1"+i):!1!==e.jsonp&&(e.url+=(Dt.test(e.url)?"&":"?")+e.jsonp+"="+i),e.converters["script json"]=function(){return a||T.error(i+" was not called"),a[0]},e.dataTypes[0]="json",o=r[i],r[i]=function(){a=arguments},n.always((function(){void 0===o?T(r).removeProp(i):r[i]=o,e[i]&&(e.jsonpCallback=t.jsonpCallback,tn.push(i)),a&&y(o)&&o(a[0]),a=o=void 0})),"script"})),m.createHTMLDocument=((en=w.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===en.childNodes.length),T.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(m.createHTMLDocument?((r=(t=w.implementation.createHTMLDocument("")).createElement("base")).href=w.location.href,t.head.appendChild(r)):t=w),o=!n&&[],(i=F.exec(e))?[t.createElement(i[1])]:(i=ke([e],t,o),o&&o.length&&T(o).remove(),T.merge([],i.childNodes)));var r,i,o},T.fn.load=function(e,t,n){var r,i,o,a=this,s=e.indexOf(" ");return s>-1&&(r=Tt(e.slice(s)),e=e.slice(0,s)),y(t)?(n=t,t=void 0):t&&"object"==typeof t&&(i="POST"),a.length>0&&T.ajax({url:e,type:i||"GET",dataType:"html",data:t}).done((function(e){o=arguments,a.html(r?T("<div>").append(T.parseHTML(e)).find(r):e)})).always(n&&function(e,t){a.each((function(){n.apply(this,o||[e.responseText,t,e])}))}),this},T.expr.pseudos.animated=function(e){return T.grep(T.timers,(function(t){return e===t.elem})).length},T.offset={setOffset:function(e,t,n){var r,i,o,a,s,l,c=T.css(e,"position"),u=T(e),d={};"static"===c&&(e.style.position="relative"),s=u.offset(),o=T.css(e,"top"),l=T.css(e,"left"),("absolute"===c||"fixed"===c)&&(o+l).indexOf("auto")>-1?(a=(r=u.position()).top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(l)||0),y(t)&&(t=t.call(e,n,T.extend({},s))),null!=t.top&&(d.top=t.top-s.top+a),null!=t.left&&(d.left=t.left-s.left+i),"using"in t?t.using.call(e,d):u.css(d)}},T.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each((function(t){T.offset.setOffset(this,e,t)}));var t,n,r=this[0];return r?r.getClientRects().length?(t=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:t.top+n.pageYOffset,left:t.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,r=this[0],i={top:0,left:0};if("fixed"===T.css(r,"position"))t=r.getBoundingClientRect();else{for(t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;e&&(e===n.body||e===n.documentElement)&&"static"===T.css(e,"position");)e=e.parentNode;e&&e!==r&&1===e.nodeType&&((i=T(e).offset()).top+=T.css(e,"borderTopWidth",!0),i.left+=T.css(e,"borderLeftWidth",!0))}return{top:t.top-i.top-T.css(r,"marginTop",!0),left:t.left-i.left-T.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map((function(){for(var e=this.offsetParent;e&&"static"===T.css(e,"position");)e=e.offsetParent;return e||ge}))}}),T.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},(function(e,t){var n="pageYOffset"===t;T.fn[e]=function(r){return ee(this,(function(e,r,i){var o;if(v(e)?o=e:9===e.nodeType&&(o=e.defaultView),void 0===i)return o?o[t]:e[r];o?o.scrollTo(n?o.pageXOffset:i,n?i:o.pageYOffset):e[r]=i}),e,r,arguments.length)}})),T.each(["top","left"],(function(e,t){T.cssHooks[t]=et(m.pixelPosition,(function(e,n){if(n)return n=Je(e,t),Ye.test(n)?T(e).position()[t]+"px":n}))})),T.each({Height:"height",Width:"width"},(function(e,t){T.each({padding:"inner"+e,content:t,"":"outer"+e},(function(n,r){T.fn[r]=function(i,o){var a=arguments.length&&(n||"boolean"!=typeof i),s=n||(!0===i||!0===o?"margin":"border");return ee(this,(function(t,n,i){var o;return v(t)?0===r.indexOf("outer")?t["inner"+e]:t.document.documentElement["client"+e]:9===t.nodeType?(o=t.documentElement,Math.max(t.body["scroll"+e],o["scroll"+e],t.body["offset"+e],o["offset"+e],o["client"+e])):void 0===i?T.css(t,n,s):T.style(t,n,i,s)}),t,a?i:void 0,a)}}))})),T.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],(function(e,t){T.fn[t]=function(e){return this.on(t,e)}})),T.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},hover:function(e,t){return this.on("mouseenter",e).on("mouseleave",t||e)}}),T.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),(function(e,t){T.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}}));
2var rn=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;T.proxy=function(e,t){var n,r,i;if("string"==typeof t&&(n=e[t],t=e,e=n),y(e))return r=s.call(arguments,2),i=function(){return e.apply(t||this,r.concat(s.call(arguments)))},i.guid=e.guid=e.guid||T.guid++,i},T.holdReady=function(e){e?T.readyWait++:T.ready(!0)},T.isArray=Array.isArray,T.parseJSON=JSON.parse,T.nodeName=x,T.isFunction=y,T.isWindow=v,T.camelCase=ie,T.type=S,T.now=Date.now,T.isNumeric=function(e){var t=T.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},T.trim=function(e){return null==e?"":(e+"").replace(rn,"$1")},void 0===(n=function(){return T}.apply(t,[]))||(e.exports=n);var on=r.jQuery,an=r.$;return T.noConflict=function(e){return r.$===T&&(r.$=an),e&&r.jQuery===T&&(r.jQuery=on),T},void 0===i&&(r.jQuery=r.$=T),T}))},486:function(e,t,n){var r;e=n.nmd(e),function(){var i,o="Expected a function",a="__lodash_hash_undefined__",s="__lodash_placeholder__",l=16,c=32,u=64,d=128,h=256,f=1/0,p=9007199254740991,g=NaN,m=4294967295,y=[["ary",d],["bind",1],["bindKey",2],["curry",8],["curryRight",l],["flip",512],["partial",c],["partialRight",u],["rearg",h]],v="[object Arguments]",w="[object Array]",b="[object Boolean]",C="[object Date]",S="[object Error]",A="[object Function]",_="[object GeneratorFunction]",T="[object Map]",E="[object Number]",x="[object Object]",I="[object Promise]",O="[object RegExp]",M="[object Set]",D="[object String]",k="[object Symbol]",N="[object WeakMap]",P="[object ArrayBuffer]",R="[object DataView]",L="[object Float32Array]",$="[object Float64Array]",j="[object Int8Array]",B="[object Int16Array]",F="[object Int32Array]",H="[object Uint8Array]",U="[object Uint8ClampedArray]",z="[object Uint16Array]",V="[object Uint32Array]",W=/\b__p \+= '';/g,G=/\b(__p \+=) '' \+/g,q=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Y=/&(?:amp|lt|gt|quot|#39);/g,X=/[&<>"']/g,Z=RegExp(Y.source),Q=RegExp(X.source),K=/<%-([\s\S]+?)%>/g,J=/<%([\s\S]+?)%>/g,ee=/<%=([\s\S]+?)%>/g,te=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,ne=/^\w*$/,re=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,ie=/[\\^$.*+?()[\]{}|]/g,oe=RegExp(ie.source),ae=/^\s+/,se=/\s/,le=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,ce=/\{\n\/\* \[wrapped with (.+)\] \*/,ue=/,? & /,de=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,he=/[()=,{}\[\]\/\s]/,fe=/\\(\\)?/g,pe=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,ge=/\w*$/,me=/^[-+]0x[0-9a-f]+$/i,ye=/^0b[01]+$/i,ve=/^\[object .+?Constructor\]$/,we=/^0o[0-7]+$/i,be=/^(?:0|[1-9]\d*)$/,Ce=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u01
vendor: 5,848 bytes, line 2
27f]/g,Se=/($^)/,Ae=/['\n\r\u2028\u2029\\]/g,_e="\\ud800-\\udfff",Te="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",Ee="\\u2700-\\u27bf",xe="a-z\\xdf-\\xf6\\xf8-\\xff",Ie="A-Z\\xc0-\\xd6\\xd8-\\xde",Oe="\\ufe0e\\ufe0f",Me="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",De="['’]",ke="["+_e+"]",Ne="["+Me+"]",Pe="["+Te+"]",Re="\\d+",Le="["+Ee+"]",$e="["+xe+"]",je="[^"+_e+Me+Re+Ee+xe+Ie+"]",Be="\\ud83c[\\udffb-\\udfff]",Fe="[^"+_e+"]",He="(?:\\ud83c[\\udde6-\\uddff]){2}",Ue="[\\ud800-\\udbff][\\udc00-\\udfff]",ze="["+Ie+"]",Ve="\\u200d",We="(?:"+$e+"|"+je+")",Ge="(?:"+ze+"|"+je+")",qe="(?:['’](?:d|ll|m|re|s|t|ve))?",Ye="(?:['’](?:D|LL|M|RE|S|T|VE))?",Xe="(?:"+Pe+"|"+Be+")"+"?",Ze="["+Oe+"]?",Qe=Ze+Xe+("(?:"+Ve+"(?:"+[Fe,He,Ue].join("|")+")"+Ze+Xe+")*"),Ke="(?:"+[Le,He,Ue].join("|")+")"+Qe,Je="(?:"+[Fe+Pe+"?",Pe,He,Ue,ke].join("|")+")",et=RegExp(De,"g"),tt=RegExp(Pe,"g"),nt=RegExp(Be+"(?="+Be+")|"+Je+Qe,"g"),rt=RegExp([ze+"?"+$e+"+"+qe+"(?="+[Ne,ze,"$"].join("|")+")",Ge+"+"+Ye+"(?="+[Ne,ze+We,"$"].join("|")+")",ze+"?"+We+"+"+qe,ze+"+"+Ye,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Re,Ke].join("|"),"g"),it=RegExp("["+Ve+_e+Te+Oe+"]"),ot=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,at=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],st=-1,lt={};lt[L]=lt[$]=lt[j]=lt[B]=lt[F]=lt[H]=lt[U]=lt[z]=lt[V]=!0,lt[v]=lt[w]=lt[P]=lt[b]=lt[R]=lt[C]=lt[S]=lt[A]=lt[T]=lt[E]=lt[x]=lt[O]=lt[M]=lt[D]=lt[N]=!1;var ct={};ct[v]=ct[w]=ct[P]=ct[R]=ct[b]=ct[C]=ct[L]=ct[$]=ct[j]=ct[B]=ct[F]=ct[T]=ct[E]=ct[x]=ct[O]=ct[M]=ct[D]=ct[k]=ct[H]=ct[U]=ct[z]=ct[V]=!0,ct[S]=ct[A]=ct[N]=!1;var ut={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},dt=parseFloat,ht=parseInt,ft="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,pt="object"==typeof self&&self&&self.Object===Object&&self,gt=ft||pt||Function("return this")(),mt=t&&!t.nodeType&&t,yt=mt&&e&&!e.nodeType&&e,vt=yt&&yt.exports===mt,wt=vt&&ft.process,bt=function(){try{var e=yt&&yt.require&&yt.require("util").types;return e||wt&&wt.binding&&wt.binding("util")}catch(e){}}(),Ct=bt&&bt.isArrayBuffer,St=bt&&bt.isDate,At=bt&&bt.isMap,_t=bt&&bt.isRegExp,Tt=bt&&bt.isSet,Et=bt&&bt.isTypedArray;function xt(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function It(e,t,n,r){for(var i=-1,o=null==e?0:e.length;++i<o;){var a=e[i];t(r,a,n(a),e)}return r}function Ot(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e}function Mt(e,t){for(var n=null==e?0:e.length;n--&&!1!==t(e[n],n,e););return e}function Dt(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(!t(e[n],n,e))return!1;return!0}function kt(e,t){for(var n=-1,r=null==e?0:e.length,i=0,o=[];++n<r;){var a=e[n];t(a,n,e)&&(o[i++]=a)}return o}function Nt(e,t){return!!(null==e?0:e.length)&&zt(e,t,0)>-1}function Pt(e,t,n){for(var r=-1,i=null==e?0:e.length;++r<i;)if(n(t,e[r]))return!0;return!1}function Rt(e,t){for(var n=-1,r=null==e?0:e.length,i=Array(r);++n<r;)i[n]=t(e[n],n,e);return i}function Lt(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e}function $t(e,t,n,r){var i=-1,o=null==e?0:e.length;for(r&&o&&(n=e[++i]);++i<o;)n=t(n,e[i],i,e);return n}function jt(e,t,n,r){var i=null==e?0:e.length;for(r&&i&&(n=e[--i]);i--;)n=t(n,e[i],i,e);return n}function Bt(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}var Ft=qt("length");function Ht(e,t,n){var r;return n(e,(function(e,n,i){if(t(e,n,i))return r=n,!1})),r}function Ut(e,t,n,r){for(var i=e.length,o=n+(r?1:-1);r?o--:++o<i;)if(t(e[o],o,e))return o;return-1}function zt(e,t,n){return t==t?function(e,t,n){var r=n-1,i=e.length;for(;++r<i;)if(e[r]===t)return r;return-1}(e,t,n):Ut(e,Wt,n)}function Vt(e,t,n,r){for(var i=n-1,o=e.length;++i<o;)if(r(e[i],t))return i;return-1}function Wt(e){return e!=e}function Gt(e,t){var n=null==e?0:e.length;return n?Zt(e,t)/n:g}function qt(e){return function(t){return null==t?i:t[e]}}function Yt(e){return function(t){return null==e?i:e[t]}}function Xt(e,t,n,r,i){return i(e,(function(e,i,o){n=r?(r=!1,e):t(n,e,i,o)})),n}function Zt(e,t){for(var n,r=-1,o=e.length;++r<o;){var a=t(e[r]);a!==i&&(n=n===i?a:n+a)}return n}function Qt(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}function Kt(e){return e?e.slice(0,mn(e)+1).replace(ae,""):e}function Jt(e){return function(t){return e(t)}}function en(e,t){return Rt(t,(function(t){return e[t]}))}function tn(e,t){return e.has(t)}function nn(e,t){for(var n=-1,r=e.length;++n<r&&zt(t,e[n],0)>-1;);return n}function rn(e,t){for(var n=e.length;n--&&zt(t,e[n],0)>-1;);return n}var on=Yt({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"
2c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"}),an=Yt({"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"});function sn(e){return"\\"+ut[e]}function ln(e){return it.test(e)}function cn(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}function un(e,t){return function(n){return e(t(n))}}function dn(e,t){for(var n=-1,r=e.length,i=0,o=[];++n<r;){var a=e[n];a!==t&&a!==s||(e[n]=s,o[i++]=n)}return o}function hn(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}function fn(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=[e,e]})),n}function pn(e){return ln(e)?function(e){var t=nt.lastIndex=0;for(;nt.test(e);)++t;return t}(e):Ft(e)}function gn(e){return ln(e)?function(e){return e.match(nt)||[]}(e):function(e){return e.split("")}(e)}function mn(e){for(var t=e.length;t--&&se.test(e.charAt(t)););return t}var yn=Yt({"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"});var vn=function e(t){var n,r=(t=null==t?gt:vn.defaults(gt.Object(),t,vn.pick(gt,at))).Array,se=t.Date,_e=t.Error,Te=t.Function,Ee=t.Math,xe=t.Object,Ie=t.RegExp,Oe=t.String,Me=t.TypeError,De=r.prototype,ke=Te.prototype,Ne=xe.prototype,Pe=t["__core-js_shared__"],Re=ke.toString,Le=Ne.hasOwnProperty,$e=0,je=(n=/[^.]+$/.exec(Pe&&Pe.keys&&Pe.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"",Be=Ne.toString,Fe=Re.call(xe),He=gt._,Ue=Ie("^"+Re.call(Le).replace(ie,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),ze=vt?t.Buffer:i,Ve=t.Symbol,We=t.Uint8Array,Ge=ze?ze.allocUnsafe:i,qe=un(xe.getPrototypeOf,xe),Ye=xe.create,Xe=Ne.propertyIsEnumerable,Ze=De.splice,Qe=Ve?Ve.isConcatSpreadable:i,Ke=Ve?Ve.iterator:i,Je=Ve?Ve.toStringTag:i,nt=function(){try{var e=fo(xe,"defineProperty");return e({},"",{}),e}catch(e){}}(),it=t.clearTimeout!==gt.clearTimeout&&t.clearTimeout,ut=se&&se.now!==gt.Date.now&&se.now,ft=t.setTimeout!==gt.setTimeout&&t.setTimeout,pt=Ee.ceil,mt=Ee.floor,yt=xe.getOwnPropertySymbols,wt=ze?ze.isBuffer:i,bt=t.isFinite,Ft=De.join,Yt=un(xe.keys,xe),wn=Ee.max,bn=Ee.min,Cn=se.now,Sn=t.parseInt,An=Ee.random,_n=De.reverse,Tn=fo(t,"DataView"),En=fo(t,"Map"),xn=fo(t,"Promise"),In=fo(t,"Set"),On=fo(t,"WeakMap"),Mn=fo(xe,"create"),Dn=On&&new On,kn={},Nn=Bo(Tn),Pn=Bo(En),Rn=Bo(xn),Ln=Bo(In),$n=Bo(On),jn=Ve?Ve.prototype:i,Bn=jn?jn.valueOf:i,Fn=jn?jn.toString:i;function Hn(e){if(ns(e)&&!Wa(e)&&!(e instanceof Wn)){if(e instanceof Vn)return e;if(Le.call(e,"__wrapped__"))return Fo(e)}return new Vn(e)}var Un=function(){function e(){}return function(t){if(!ts(t))return{};if(Ye)return Ye(t);e.prototype=t;var n=new e;return e.prototype=i,n}}();function zn(){}function Vn(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=i}function Wn(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=m,this.__views__=[]}function Gn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function qn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Yn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Xn(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new Yn;++t<n;)this.add(e[t])}function Zn(e){var t=this.__data__=new qn(e);this.size=t.size}function Qn(e,t){var n=Wa(e),r=!n&&Va(e),i=!n&&!r&&Xa(e),o=!n&&!r&&!i&&us(e),a=n||r||i||o,s=a?Qt(e.length,Oe):[],l=s.length;for(var c in e)!t&&!Le.call(e,c)||a&&("length"==c||i&&("offset"==c||"parent"==c)||o&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||bo(c,l))||s.push(c);return s}function Kn(e){var t=e.length;return t?e[Xr(0,t-1)]:i}function Jn(e,t){return Lo(Mi(e),lr(t,0,e.length))}function er(e){return Lo(Mi(e))}function tr(e,t,n){(n!==i&&!Ha(e[t],n)||n===i&&!(t in e))&&ar(e,t,n)}function nr(e,t,n){var r=e[t];Le.call(e,t)&&Ha(r,n)&&(n!==i||t in e)||ar(e,t,n)}function rr(e,t){for(var n=e.length;n--;)if(Ha(e[n][0],t))return n;return-1}function ir(e,t,n,r){return fr(e,(function(e,i,o){t(r,e,n(e),o)})),r}function or(e,t){return e&&Di(t,ks(t),e)}
vendor: 13,038 bytes, line 2
2function ar(e,t,n){"__proto__"==t&&nt?nt(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function sr(e,t){for(var n=-1,o=t.length,a=r(o),s=null==e;++n<o;)a[n]=s?i:xs(e,t[n]);return a}function lr(e,t,n){return e==e&&(n!==i&&(e=e<=n?e:n),t!==i&&(e=e>=t?e:t)),e}function cr(e,t,n,r,o,a){var s,l=1&t,c=2&t,u=4&t;if(n&&(s=o?n(e,r,o,a):n(e)),s!==i)return s;if(!ts(e))return e;var d=Wa(e);if(d){if(s=function(e){var t=e.length,n=new e.constructor(t);t&&"string"==typeof e[0]&&Le.call(e,"index")&&(n.index=e.index,n.input=e.input);return n}(e),!l)return Mi(e,s)}else{var h=mo(e),f=h==A||h==_;if(Xa(e))return _i(e,l);if(h==x||h==v||f&&!o){if(s=c||f?{}:vo(e),!l)return c?function(e,t){return Di(e,go(e),t)}(e,function(e,t){return e&&Di(t,Ns(t),e)}(s,e)):function(e,t){return Di(e,po(e),t)}(e,or(s,e))}else{if(!ct[h])return o?e:{};s=function(e,t,n){var r=e.constructor;switch(t){case P:return Ti(e);case b:case C:return new r(+e);case R:return function(e,t){var n=t?Ti(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}(e,n);case L:case $:case j:case B:case F:case H:case U:case z:case V:return Ei(e,n);case T:return new r;case E:case D:return new r(e);case O:return function(e){var t=new e.constructor(e.source,ge.exec(e));return t.lastIndex=e.lastIndex,t}(e);case M:return new r;case k:return i=e,Bn?xe(Bn.call(i)):{}}var i}(e,h,l)}}a||(a=new Zn);var p=a.get(e);if(p)return p;a.set(e,s),ss(e)?e.forEach((function(r){s.add(cr(r,t,n,r,e,a))})):rs(e)&&e.forEach((function(r,i){s.set(i,cr(r,t,n,i,e,a))}));var g=d?i:(u?c?oo:io:c?Ns:ks)(e);return Ot(g||e,(function(r,i){g&&(r=e[i=r]),nr(s,i,cr(r,t,n,i,e,a))})),s}function ur(e,t,n){var r=n.length;if(null==e)return!r;for(e=xe(e);r--;){var o=n[r],a=t[o],s=e[o];if(s===i&&!(o in e)||!a(s))return!1}return!0}function dr(e,t,n){if("function"!=typeof e)throw new Me(o);return ko((function(){e.apply(i,n)}),t)}function hr(e,t,n,r){var i=-1,o=Nt,a=!0,s=e.length,l=[],c=t.length;if(!s)return l;n&&(t=Rt(t,Jt(n))),r?(o=Pt,a=!1):t.length>=200&&(o=tn,a=!1,t=new Xn(t));e:for(;++i<s;){var u=e[i],d=null==n?u:n(u);if(u=r||0!==u?u:0,a&&d==d){for(var h=c;h--;)if(t[h]===d)continue e;l.push(u)}else o(t,d,r)||l.push(u)}return l}Hn.templateSettings={escape:K,evaluate:J,interpolate:ee,variable:"",imports:{_:Hn}},Hn.prototype=zn.prototype,Hn.prototype.constructor=Hn,Vn.prototype=Un(zn.prototype),Vn.prototype.constructor=Vn,Wn.prototype=Un(zn.prototype),Wn.prototype.constructor=Wn,Gn.prototype.clear=function(){this.__data__=Mn?Mn(null):{},this.size=0},Gn.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},Gn.prototype.get=function(e){var t=this.__data__;if(Mn){var n=t[e];return n===a?i:n}return Le.call(t,e)?t[e]:i},Gn.prototype.has=function(e){var t=this.__data__;return Mn?t[e]!==i:Le.call(t,e)},Gn.prototype.set=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=Mn&&t===i?a:t,this},qn.prototype.clear=function(){this.__data__=[],this.size=0},qn.prototype.delete=function(e){var t=this.__data__,n=rr(t,e);return!(n<0)&&(n==t.length-1?t.pop():Ze.call(t,n,1),--this.size,!0)},qn.prototype.get=function(e){var t=this.__data__,n=rr(t,e);return n<0?i:t[n][1]},qn.prototype.has=function(e){return rr(this.__data__,e)>-1},qn.prototype.set=function(e,t){var n=this.__data__,r=rr(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},Yn.prototype.clear=function(){this.size=0,this.__data__={hash:new Gn,map:new(En||qn),string:new Gn}},Yn.prototype.delete=function(e){var t=uo(this,e).delete(e);return this.size-=t?1:0,t},Yn.prototype.get=function(e){return uo(this,e).get(e)},Yn.prototype.has=function(e){return uo(this,e).has(e)},Yn.prototype.set=function(e,t){var n=uo(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},Xn.prototype.add=Xn.prototype.push=function(e){return this.__data__.set(e,a),this},Xn.prototype.has=function(e){return this.__data__.has(e)},Zn.prototype.clear=function(){this.__data__=new qn,this.size=0},Zn.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},Zn.prototype.get=function(e){return this.__data__.get(e)},Zn.prototype.has=function(e){return this.__data__.has(e)},Zn.prototype.set=function(e,t){var n=this.__data__;if(n instanceof qn){var r=n.__data__;if(!En||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new Yn(r)}return n.set(e,t),this.size=n.size,this};var fr=Pi(Cr),pr=Pi(Sr,!0);function gr(e,t){var n=!0;return fr(e,(function(e,r,i){return n=!!t(e,r,i)})),n}function mr(e,t,n){for(var r=-1,o=e.length;++r<o;){var a=e[r],s=t(a);if(null!=s&&(l===i?s==s&&!cs(s):n(s,l)))var l=s,c=a}return c}function yr(e,t){var n=[];return fr(e,(function(e,r,i){t(e,r,i)&&n.push(e)})),n}function vr(e,t,n,r,i){var o=-1,a=e.length;for(n||(n=wo),i||(i=[]);++o<a;){var s=e[o];t>0&&n(s)?t>1?vr(s,t-1,n,r,i):Lt(i,s):r||(i[i.length]=s)}return i}var wr=Ri(),br=Ri(!0);function Cr(e,t){return e&&wr(e,t,ks)}function Sr(e,t){return e&&br(e,t,ks)}function Ar(e,t){return kt(t,(function(t){return Ka(e[t])}))}function _r(e,t){for(var n=0,r=(t=bi(t,e)).length;null!=e&&n<r;)e=e[jo(t[n++])];return n&&n==r?e:i}function Tr(e,t,n){var r=t(e);return Wa(e)?r:Lt(r,n(e))}function Er(e){return null==e?e===i?"[object Undefined]":"[object Null]":Je&&Je in xe(e)?function(e){var t=Le.call(e,Je),n=e[Je];try{e[Je]=i;var r=!0}catch(e){}var o=Be.call(e);r&&(t?e[Je]=n:delete e[Je]);return o}(e):function(e){return Be.call(e)}(e)}function xr(e,t){return e>t}function Ir(e,t){return null!=e&&Le.call(e,t)}function Or(e,t){return null!=e&&t in xe(e)}function Mr(e,t,n){for(var o=n?Pt:Nt,a=e[0].length,s=e.length,l=s,c=r(s),u=1/0,d=[];l--;){var h=e[l];l&&t&&(h=Rt(h,Jt(t))),u=bn(h.length,u),c[l]=!n&&(t||a>=120&&h.length>=120)?new Xn(l&&h):i}h=e[0];var f=-1,p=c[0];e:for(;++f<a&&d.length<u;){var g=h[f],m=t?t(g):g;if(g=n||0!==g?g:0,!(p?tn(p,m):o(d,m,n))){for(l=s;--l;){var y=c[l];if(!(y?tn(y,m):o(e[l],m,n)))continue e}p&&p.push(m),d.push(g)}}return d}function Dr(e,t,n){var r=null==(e=Oo(e,t=bi(t,e)))?e:e[jo(Qo(t))];return null==r?i:xt(r,e,n)}function kr(e){return ns(e)&&Er(e)==v}function Nr(e,t,n,r,o){return e===t||(null==e||null==t||!ns(e)&&!ns(t)?e!=e&&t!=t:function(e,t,n,r,o,a){var s=Wa(e),l=Wa(t),c=s?w:mo(e),u=l?w:mo(t),d=(c=c==v?x:c)==x,h=(u=u==v?x:u)==x,f=c==u;if(f&&Xa(e)){if(!Xa(t))return!1;s=!0,d=!1}if(f&&!d)return a||(a=new Zn),s||us(e)?no(e,t,n,r,o,a):function(e,t,n,r,i,o,a){switch(n){case R:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case P:return!(e.byteLength!=t.byteLength||!o(new We(e),new We(t)));case b:case C:case E:return Ha(+e,+t);case S:return e.name==t.name&&e.message==t.message;case O:case D:return e==t+"";case T:var s=cn;case M:var l=1&r;if(s||(s=hn),e.size!=t.size&&!l)return!1;var c=a.get(e);if(c)return c==t;r|=2,a.set(e,t);var u=no(s(e),s(t),r,i,o,a);return a.delete(e),u;case k:if(Bn)return Bn.call(e)==Bn.call(t)}return!1}(e,t,c,n,r,o,a);if(!(1&n)){var p=d&&Le.call(e,"__wrapped__"),g=h&&Le.call(t,"__wrapped__");if(p||g){var m=p?e.value():e,y=g?t.value():t;return a||(a=new Zn),o(m,y,n,r,a)}}if(!f)return!1;return a||(a=new Zn),function(e,t,n,r,o,a){var s=1&n,l=io(e),c=l.length,u=io(t),d=u.length;if(c!=d&&!s)return!1;var h=c;for(;h--;){var f=l[h];if(!(s?f in t:Le.call(t,f)))return!1}var p=a.get(e),g=a.get(t);if(p&&g)return p==t&&g==e;var m=!0;a.set(e,t),a.set(t,e);var y=s;for(;++h<c;){var v=e[f=l[h]],w=t[f];if(r)var b=s?r(w,v,f,t,e,a):r(v,w,f,e,t,a);if(!(b===i?v===w||o(v,w,n,r,a):b)){m=!1;break}y||(y="constructor"==f)}if(m&&!y){var C=e.constructor,S=t.constructor;C==S||!("constructor"in e)||!("constructor"in t)||"function"==typeof C&&C instanceof C&&"function"==typeof S&&S instanceof S||(m=!1)}return a.delete(e),a.delete(t),m}(e,t,n,r,o,a)}(e,t,n,r,Nr,o))}function Pr(e,t,n,r){var o=n.length,a=o,s=!r;if(null==e)return!a;for(e=xe(e);o--;){var l=n[o];if(s&&l[2]?l[1]!==e[l[0]]:!(l[0]in e))return!1}for(;++o<a;){var c=(l=n[o])[0],u=e[c],d=l[1];if(s&&l[2]){if(u===i&&!(c in e))return!1}else{var h=new Zn;if(r)var f=r(u,d,c,e,t,h);if(!(f===i?Nr(d,u,3,r,h):f))return!1}}return!0}function Rr(e){return!(!ts(e)||(t=e,je&&je in t))&&(Ka(e)?Ue:ve).test(Bo(e));var t}function Lr(e){return"function"==typeof e?e:null==e?il:"object"==typeof e?Wa(e)?Ur(e[0],e[1]):Hr(e):fl(e)}function $r(e){if(!To(e))return Yt(e);var t=[];for(var n in xe(e))Le.call(e,n)&&"constructor"!=n&&t.push(n);return t}function jr(e){if(!ts(e))return function(e){var t=[];if(null!=e)for(var n in xe(e))t.push(n);return t}(e);var t=To(e),n=[];for(var r in e)("constructor"!=r||!t&&Le.call(e,r))&&n.push(r);return n}function Br(e,t){return e<t}function Fr(e,t){var n=-1,i=qa(e)?r(e.length):[];return fr(e,(function(e,r,o){i[++n]=t(e,r,o)})),i}function Hr(e){var t=ho(e);return 1==t.length&&t[0][2]?xo(t[0][0],t[0][1]):function(n){return n===e||Pr(n,e,t)}}function Ur(e,t){return So(e)&&Eo(t)?xo(jo(e),t):function(n){var r=xs(n,e);return r===i&&r===t?Is(n,e):Nr(t,r,3)}}function zr(e,t,n,r,o){e!==t&&wr(t,(function(a,s){if(o||(o=new Zn),ts(a))!function(e,t,n,r,o,a,s){var l=Mo(e,n),c=Mo(t,n),u=s.get(c);if(u)return void tr(e,n,u);var d=a?a(l,c,n+"",e,t,s):i,h=d===i;if(h){var f=Wa(c),p=!f&&Xa(c),g=!f&&!p&&us(c);d=c,f||p||g?Wa(l)?d=l:Ya(l)?d=Mi(l):p?(h=!1,d=_i(c,!0)):g?(h=!1,d=Ei(c,!0)):d=[]:os(c)||Va(c)?(d=l,Va(l)?d=vs(l):ts(l)&&!Ka(l)||(d=vo(c))):h=!1}h&&(s.set(c,d),o(d,c,r,a,s),s.delete(c));tr(e,n,d)}(e,t,s,n,zr,r,o);else{var l=r?r(Mo(e,s),a,s+"",e,t,o):i;l===i&&(l=a),tr(e,s,l)}}),Ns)}function Vr(e,t){var n=e.length;if(n)return bo(t+=t<0?n:0,n)?e[t]:i}function Wr(e,t,n){t=t.length?Rt(t,(function(e){return Wa(e)?function(t){return _r(t,1===e.length?e[0]:e)}:e})):[il];var r=-1;t=Rt(t,Jt(co()));var i=Fr(e,(function(e,n,i){var o=Rt(t,(function(t){return t(e)}));return{criteria:o,index:++r,value:e}}));return function(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e}(i,(function(e,t){return function(e,t,n){var r=-1,i=e.criteria,o=t.criteria,a=i.length,s=n.length;for(;++r<a;){var l=xi(i[r],o[r]);if(l)return r>=s?l:l*("desc"==n[r]?-1:1)}return e.index-t.index}(e,t,n)}))}function Gr(e,t,n){for(var r=-1,i=t.length,o={};++r<i;){var a=t[r],s=_r(e,a);n(s,a)&&ei(o,bi(a,e),s)}return o}function qr(e,t,n,r){var i=r?Vt:zt,o=-1,a=t.length,s=e;for(e===t&&(t=Mi(t)),n&&(s=Rt(e,Jt(n)));++o<a;)for(var l=0,c=t[o],u=n?n(c):c;(l=i(s,u,l,r))>-1;)s!==e&&Ze.call(s,l,1),Ze.call(e,l,1);return e}function Yr(e,t){for(var n=e?t.length:0,r=n-1;n--;){var i=t[n];if(n==r||i!==o){var o=i;bo(i)?Ze.call(e,i,1):hi(e,i)}}return e}function Xr(e,t){return e+mt(An()*(t-e+1))}function Zr(e,t){var n="";if(!e||t<1||t>p)return n;do{t%2&&(n+=e),(t=mt(t/2))&&(e+=e)}while(t);return n}function Qr(e,t){return No(Io(e,t,il),e+"")}function Kr(e){return Kn(Hs(e))}function Jr(e,t){var n=Hs(e);return Lo(n,lr(t,0,n.length))}function ei(e,t,n,r){if(!ts(e))return e;for(var o=-1,a=(t=bi(t,e)).length,s=a-1,l=e;null!=l&&++o<a;){var c=jo(t[o]),u=n;if("__proto__"===c||"constructor"===c||"prototype"===c)return e;if(o!=s){var d=l[c];(u=r?r(d,c,l):i)===i&&(u=ts(d)?d:bo(t[o+1])?[]:{})}nr(l,c,u),l=l[c]}return e}var ti=Dn?function(e,t){return Dn.set(e,t),e}:il,ni=nt?function(e,t){return nt(e,"toString",{configurable:!0,enumerable:!1,value:tl(t),writable:!0})}:il;function ri(e){return Lo(Hs(e))}function ii(e,t,n){var i=-1,o=e.length;t<0&&(t=-t>o?0:o+t),(n=n>o?o:n)<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var a=r(o);++i<o;)a[i]=e[i+t];return a}function oi(e,t){var n;return fr(e,(function(e,r,i){return!(n=t(e,r,i))})),!!n}function ai(e,t,n){var r=0,i=null==e?r:e.length;if("number"==typeof t&&t==t&&i<=2147483647){for(;r<i;){var o=r+i>>>1,a=e[o];null!==a&&!cs(a)&&(n?a<=t:a<t)?r=o+1:i=o}return i}return si(e,t,il,n)}function si(e,t,n,r){var o=0,a=null==e?0:e.length;if(0===a)return 0;for(var s=(t=n(t))!=t,l=null===t,c=cs(t),u=t===i;o<a;){var d=mt((o+a)/2),h=n(e[d]),f=h!==i,p=null===h,g=h==h,m=cs(h);if(s)var y=r||g;else y=u?g&&(r||f):l?g&&f&&(r||!p):c?g&&f&&!p&&(r||!m):!p&&!m&&(r?h<=t:h<t);y?o=d+1:a=d}return bn(a,4294967294)}function li(e,t){for(var n=-1,r=e.length,i=0,o=[];++n<r;){var a=e[n],s=t?t(a):a;if(!n||!Ha(s,l)){var l=s;o[i++]=0===a?0:a}}return o}function ci(e){return"number"==typeof e?e:cs(e)?g:+e}function ui(e){if("string"==typeof e)return e;if(Wa(e))return Rt(e,ui)+"";if(cs(e))return Fn?Fn.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function di(e,t,n){var r=-1,i=Nt,o=e.length,a=!0,s=[],l=s;if(n)a=!1,i=Pt;else if(o>=200){var c=t?null:Zi(e);if(c)return hn(c);a=!1,i=tn,l=new Xn}else l=t?[]:s;e:for(;++r<o;){var u=e[r],d=t?t(u):u;if(u=n||0!==u?u:0,a&&d==d){for(var h=l.length;h--;)if(l[h]===d)continue e;t&&l.push(d),s.push(u)}else i(l,d,n)||(l!==s&&l.push(d),s.push(u))}return s}function hi(e,t){return null==(e=Oo(e,t=bi(t,e)))||delete e[jo(Qo(t))]}function fi(e,t,n,r){return ei(e,t,n(_r(e,t)),r)}function pi(e,t,n,r){for(var i=e.length,o=r?i:-1;(r?o--:++o<i)&&t(e[o],o,e););return n?ii(e,r?0:o,r?o+1:i):ii(e,r?o+1:0,r?i:o)}function gi(e,t){var n=e;return n instanceof Wn&&(n=n.value()),$t(t,(function(e,t){return t.func.apply(t.thisArg,Lt([e],t.args))}),n)}
vendor: 4,466 bytes, line 2
2function mi(e,t,n){var i=e.length;if(i<2)return i?di(e[0]):[];for(var o=-1,a=r(i);++o<i;)for(var s=e[o],l=-1;++l<i;)l!=o&&(a[o]=hr(a[o]||s,e[l],t,n));return di(vr(a,1),t,n)}function yi(e,t,n){for(var r=-1,o=e.length,a=t.length,s={};++r<o;){var l=r<a?t[r]:i;n(s,e[r],l)}return s}function vi(e){return Ya(e)?e:[]}function wi(e){return"function"==typeof e?e:il}function bi(e,t){return Wa(e)?e:So(e,t)?[e]:$o(ws(e))}var Ci=Qr;function Si(e,t,n){var r=e.length;return n=n===i?r:n,!t&&n>=r?e:ii(e,t,n)}var Ai=it||function(e){return gt.clearTimeout(e)};function _i(e,t){if(t)return e.slice();var n=e.length,r=Ge?Ge(n):new e.constructor(n);return e.copy(r),r}function Ti(e){var t=new e.constructor(e.byteLength);return new We(t).set(new We(e)),t}function Ei(e,t){var n=t?Ti(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function xi(e,t){if(e!==t){var n=e!==i,r=null===e,o=e==e,a=cs(e),s=t!==i,l=null===t,c=t==t,u=cs(t);if(!l&&!u&&!a&&e>t||a&&s&&c&&!l&&!u||r&&s&&c||!n&&c||!o)return 1;if(!r&&!a&&!u&&e<t||u&&n&&o&&!r&&!a||l&&n&&o||!s&&o||!c)return-1}return 0}function Ii(e,t,n,i){for(var o=-1,a=e.length,s=n.length,l=-1,c=t.length,u=wn(a-s,0),d=r(c+u),h=!i;++l<c;)d[l]=t[l];for(;++o<s;)(h||o<a)&&(d[n[o]]=e[o]);for(;u--;)d[l++]=e[o++];return d}function Oi(e,t,n,i){for(var o=-1,a=e.length,s=-1,l=n.length,c=-1,u=t.length,d=wn(a-l,0),h=r(d+u),f=!i;++o<d;)h[o]=e[o];for(var p=o;++c<u;)h[p+c]=t[c];for(;++s<l;)(f||o<a)&&(h[p+n[s]]=e[o++]);return h}function Mi(e,t){var n=-1,i=e.length;for(t||(t=r(i));++n<i;)t[n]=e[n];return t}function Di(e,t,n,r){var o=!n;n||(n={});for(var a=-1,s=t.length;++a<s;){var l=t[a],c=r?r(n[l],e[l],l,n,e):i;c===i&&(c=e[l]),o?ar(n,l,c):nr(n,l,c)}return n}function ki(e,t){return function(n,r){var i=Wa(n)?It:ir,o=t?t():{};return i(n,e,co(r,2),o)}}function Ni(e){return Qr((function(t,n){var r=-1,o=n.length,a=o>1?n[o-1]:i,s=o>2?n[2]:i;for(a=e.length>3&&"function"==typeof a?(o--,a):i,s&&Co(n[0],n[1],s)&&(a=o<3?i:a,o=1),t=xe(t);++r<o;){var l=n[r];l&&e(t,l,r,a)}return t}))}function Pi(e,t){return function(n,r){if(null==n)return n;if(!qa(n))return e(n,r);for(var i=n.length,o=t?i:-1,a=xe(n);(t?o--:++o<i)&&!1!==r(a[o],o,a););return n}}function Ri(e){return function(t,n,r){for(var i=-1,o=xe(t),a=r(t),s=a.length;s--;){var l=a[e?s:++i];if(!1===n(o[l],l,o))break}return t}}function Li(e){return function(t){var n=ln(t=ws(t))?gn(t):i,r=n?n[0]:t.charAt(0),o=n?Si(n,1).join(""):t.slice(1);return r[e]()+o}}function $i(e){return function(t){return $t(Ks(Vs(t).replace(et,"")),e,"")}}function ji(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var n=Un(e.prototype),r=e.apply(n,t);return ts(r)?r:n}}function Bi(e){return function(t,n,r){var o=xe(t);if(!qa(t)){var a=co(n,3);t=ks(t),n=function(e){return a(o[e],e,o)}}var s=e(t,n,r);return s>-1?o[a?t[s]:s]:i}}function Fi(e){return ro((function(t){var n=t.length,r=n,a=Vn.prototype.thru;for(e&&t.reverse();r--;){var s=t[r];if("function"!=typeof s)throw new Me(o);if(a&&!l&&"wrapper"==so(s))var l=new Vn([],!0)}for(r=l?r:n;++r<n;){var c=so(s=t[r]),u="wrapper"==c?ao(s):i;l=u&&Ao(u[0])&&424==u[1]&&!u[4].length&&1==u[9]?l[so(u[0])].apply(l,u[3]):1==s.length&&Ao(s)?l[c]():l.thru(s)}return function(){var e=arguments,r=e[0];if(l&&1==e.length&&Wa(r))return l.plant(r).value();for(var i=0,o=n?t[i].apply(this,e):r;++i<n;)o=t[i].call(this,o);return o}}))}function Hi(e,t,n,o,a,s,l,c,u,h){var f=t&d,p=1&t,g=2&t,m=24&t,y=512&t,v=g?i:ji(e);return function d(){for(var w=arguments.length,b=r(w),C=w;C--;)b[C]=arguments[C];if(m)var S=lo(d),A=function(e,t){for(var n=e.length,r=0;n--;)e[n]===t&&++r;return r}(b,S);if(o&&(b=Ii(b,o,a,m)),s&&(b=Oi(b,s,l,m)),w-=A,m&&w<h){var _=dn(b,S);return Yi(e,t,Hi,d.placeholder,n,b,_,c,u,h-w)}var T=p?n:this,E=g?T[e]:e;return w=b.length,c?b=function(e,t){var n=e.length,r=bn(t.length,n),o=Mi(e);for(;r--;){var a=t[r];e[r]=bo(a,n)?o[a]:i}return e}(b,c):y&&w>1&&b.reverse(),f&&u<w&&(b.length=u),this&&this!==gt&&this instanceof d&&(E=v||ji(E)),E.apply(T,b)}}function Ui(e,t){return function(n,r){return function(e,t,n,r){return Cr(e,(function(e,i,o){t(r,n(e),i,o)})),r}(n,e,t(r),{})}}function zi(e,t){return function(n,r){var o;if(n===i&&r===i)return t;
vendor: 24,389 bytes, line 2
2if(n!==i&&(o=n),r!==i){if(o===i)return r;"string"==typeof n||"string"==typeof r?(n=ui(n),r=ui(r)):(n=ci(n),r=ci(r)),o=e(n,r)}return o}}function Vi(e){return ro((function(t){return t=Rt(t,Jt(co())),Qr((function(n){var r=this;return e(t,(function(e){return xt(e,r,n)}))}))}))}function Wi(e,t){var n=(t=t===i?" ":ui(t)).length;if(n<2)return n?Zr(t,e):t;var r=Zr(t,pt(e/pn(t)));return ln(t)?Si(gn(r),0,e).join(""):r.slice(0,e)}function Gi(e){return function(t,n,o){return o&&"number"!=typeof o&&Co(t,n,o)&&(n=o=i),t=ps(t),n===i?(n=t,t=0):n=ps(n),function(e,t,n,i){for(var o=-1,a=wn(pt((t-e)/(n||1)),0),s=r(a);a--;)s[i?a:++o]=e,e+=n;return s}(t,n,o=o===i?t<n?1:-1:ps(o),e)}}function qi(e){return function(t,n){return"string"==typeof t&&"string"==typeof n||(t=ys(t),n=ys(n)),e(t,n)}}function Yi(e,t,n,r,o,a,s,l,d,h){var f=8&t;t|=f?c:u,4&(t&=~(f?u:c))||(t&=-4);var p=[e,t,o,f?a:i,f?s:i,f?i:a,f?i:s,l,d,h],g=n.apply(i,p);return Ao(e)&&Do(g,p),g.placeholder=r,Po(g,e,t)}function Xi(e){var t=Ee[e];return function(e,n){if(e=ys(e),(n=null==n?0:bn(gs(n),292))&&bt(e)){var r=(ws(e)+"e").split("e");return+((r=(ws(t(r[0]+"e"+(+r[1]+n)))+"e").split("e"))[0]+"e"+(+r[1]-n))}return t(e)}}var Zi=In&&1/hn(new In([,-0]))[1]==f?function(e){return new In(e)}:cl;function Qi(e){return function(t){var n=mo(t);return n==T?cn(t):n==M?fn(t):function(e,t){return Rt(t,(function(t){return[t,e[t]]}))}(t,e(t))}}function Ki(e,t,n,a,f,p,g,m){var y=2&t;if(!y&&"function"!=typeof e)throw new Me(o);var v=a?a.length:0;if(v||(t&=-97,a=f=i),g=g===i?g:wn(gs(g),0),m=m===i?m:gs(m),v-=f?f.length:0,t&u){var w=a,b=f;a=f=i}var C=y?i:ao(e),S=[e,t,n,a,f,w,b,p,g,m];if(C&&function(e,t){var n=e[1],r=t[1],i=n|r,o=i<131,a=r==d&&8==n||r==d&&n==h&&e[7].length<=t[8]||384==r&&t[7].length<=t[8]&&8==n;if(!o&&!a)return e;1&r&&(e[2]=t[2],i|=1&n?0:4);var l=t[3];if(l){var c=e[3];e[3]=c?Ii(c,l,t[4]):l,e[4]=c?dn(e[3],s):t[4]}(l=t[5])&&(c=e[5],e[5]=c?Oi(c,l,t[6]):l,e[6]=c?dn(e[5],s):t[6]);(l=t[7])&&(e[7]=l);r&d&&(e[8]=null==e[8]?t[8]:bn(e[8],t[8]));null==e[9]&&(e[9]=t[9]);e[0]=t[0],e[1]=i}(S,C),e=S[0],t=S[1],n=S[2],a=S[3],f=S[4],!(m=S[9]=S[9]===i?y?0:e.length:wn(S[9]-v,0))&&24&t&&(t&=-25),t&&1!=t)A=8==t||t==l?function(e,t,n){var o=ji(e);return function a(){for(var s=arguments.length,l=r(s),c=s,u=lo(a);c--;)l[c]=arguments[c];var d=s<3&&l[0]!==u&&l[s-1]!==u?[]:dn(l,u);return(s-=d.length)<n?Yi(e,t,Hi,a.placeholder,i,l,d,i,i,n-s):xt(this&&this!==gt&&this instanceof a?o:e,this,l)}}(e,t,m):t!=c&&33!=t||f.length?Hi.apply(i,S):function(e,t,n,i){var o=1&t,a=ji(e);return function t(){for(var s=-1,l=arguments.length,c=-1,u=i.length,d=r(u+l),h=this&&this!==gt&&this instanceof t?a:e;++c<u;)d[c]=i[c];for(;l--;)d[c++]=arguments[++s];return xt(h,o?n:this,d)}}(e,t,n,a);else var A=function(e,t,n){var r=1&t,i=ji(e);return function t(){return(this&&this!==gt&&this instanceof t?i:e).apply(r?n:this,arguments)}}(e,t,n);return Po((C?ti:Do)(A,S),e,t)}function Ji(e,t,n,r){return e===i||Ha(e,Ne[n])&&!Le.call(r,n)?t:e}function eo(e,t,n,r,o,a){return ts(e)&&ts(t)&&(a.set(t,e),zr(e,t,i,eo,a),a.delete(t)),e}function to(e){return os(e)?i:e}function no(e,t,n,r,o,a){var s=1&n,l=e.length,c=t.length;if(l!=c&&!(s&&c>l))return!1;var u=a.get(e),d=a.get(t);if(u&&d)return u==t&&d==e;var h=-1,f=!0,p=2&n?new Xn:i;for(a.set(e,t),a.set(t,e);++h<l;){var g=e[h],m=t[h];if(r)var y=s?r(m,g,h,t,e,a):r(g,m,h,e,t,a);if(y!==i){if(y)continue;f=!1;break}if(p){if(!Bt(t,(function(e,t){if(!tn(p,t)&&(g===e||o(g,e,n,r,a)))return p.push(t)}))){f=!1;break}}else if(g!==m&&!o(g,m,n,r,a)){f=!1;break}}return a.delete(e),a.delete(t),f}function ro(e){return No(Io(e,i,Go),e+"")}function io(e){return Tr(e,ks,po)}function oo(e){return Tr(e,Ns,go)}var ao=Dn?function(e){return Dn.get(e)}:cl;function so(e){for(var t=e.name+"",n=kn[t],r=Le.call(kn,t)?n.length:0;r--;){var i=n[r],o=i.func;if(null==o||o==e)return i.name}return t}function lo(e){return(Le.call(Hn,"placeholder")?Hn:e).placeholder}function co(){var e=Hn.iteratee||ol;return e=e===ol?Lr:e,arguments.length?e(arguments[0],arguments[1]):e}function uo(e,t){var n,r,i=e.__data__;return("string"==(r=typeof(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?i["string"==typeof t?"string":"hash"]:i.map}function ho(e){for(var t=ks(e),n=t.length;n--;){var r=t[n],i=e[r];t[n]=[r,i,Eo(i)]}return t}function fo(e,t){var n=function(e,t){return null==e?i:e[t]}(e,t);return Rr(n)?n:i}var po=yt?function(e){return null==e?[]:(e=xe(e),kt(yt(e),(function(t){return Xe.call(e,t)})))}:ml,go=yt?function(e){for(var t=[];e;)Lt(t,po(e)),e=qe(e);return t}:ml,mo=Er;function yo(e,t,n){for(var r=-1,i=(t=bi(t,e)).length,o=!1;++r<i;){var a=jo(t[r]);if(!(o=null!=e&&n(e,a)))break;e=e[a]}return o||++r!=i?o:!!(i=null==e?0:e.length)&&es(i)&&bo(a,i)&&(Wa(e)||Va(e))}function vo(e){return"function"!=typeof e.constructor||To(e)?{}:Un(qe(e))}function wo(e){return Wa(e)||Va(e)||!!(Qe&&e&&e[Qe])}function bo(e,t){var n=typeof e;return!!(t=null==t?p:t)&&("number"==n||"symbol"!=n&&be.test(e))&&e>-1&&e%1==0&&e<t}function Co(e,t,n){if(!ts(n))return!1;var r=typeof t;return!!("number"==r?qa(n)&&bo(t,n.length):"string"==r&&t in n)&&Ha(n[t],e)}function So(e,t){if(Wa(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!cs(e))||(ne.test(e)||!te.test(e)||null!=t&&e in xe(t))}function Ao(e){var t=so(e),n=Hn[t];if("function"!=typeof n||!(t in Wn.prototype))return!1;if(e===n)return!0;var r=ao(n);return!!r&&e===r[0]}(Tn&&mo(new Tn(new ArrayBuffer(1)))!=R||En&&mo(new En)!=T||xn&&mo(xn.resolve())!=I||In&&mo(new In)!=M||On&&mo(new On)!=N)&&(mo=function(e){var t=Er(e),n=t==x?e.constructor:i,r=n?Bo(n):"";if(r)switch(r){case Nn:return R;case Pn:return T;case Rn:return I;case Ln:return M;case $n:return N}return t});var _o=Pe?Ka:yl;function To(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||Ne)}function Eo(e){return e==e&&!ts(e)}function xo(e,t){return function(n){return null!=n&&(n[e]===t&&(t!==i||e in xe(n)))}}function Io(e,t,n){return t=wn(t===i?e.length-1:t,0),function(){for(var i=arguments,o=-1,a=wn(i.length-t,0),s=r(a);++o<a;)s[o]=i[t+o];o=-1;for(var l=r(t+1);++o<t;)l[o]=i[o];return l[t]=n(s),xt(e,this,l)}}function Oo(e,t){return t.length<2?e:_r(e,ii(t,0,-1))}function Mo(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}var Do=Ro(ti),ko=ft||function(e,t){return gt.setTimeout(e,t)},No=Ro(ni);function Po(e,t,n){var r=t+"";return No(e,function(e,t){var n=t.length;if(!n)return e;var r=n-1;return t[r]=(n>1?"& ":"")+t[r],t=t.join(n>2?", ":" "),e.replace(le,"{\n/* [wrapped with "+t+"] */\n")}(r,function(e,t){return Ot(y,(function(n){var r="_."+n[0];t&n[1]&&!Nt(e,r)&&e.push(r)})),e.sort()}(function(e){var t=e.match(ce);return t?t[1].split(ue):[]}(r),n)))}function Ro(e){var t=0,n=0;return function(){var r=Cn(),o=16-(r-n);if(n=r,o>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(i,arguments)}}function Lo(e,t){var n=-1,r=e.length,o=r-1;for(t=t===i?r:t;++n<t;){var a=Xr(n,o),s=e[a];e[a]=e[n],e[n]=s}return e.length=t,e}var $o=function(e){var t=Ra(e,(function(e){return 500===n.size&&n.clear(),e})),n=t.cache;return t}((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(re,(function(e,n,r,i){t.push(r?i.replace(fe,"$1"):n||e)})),t}));function jo(e){if("string"==typeof e||cs(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function Bo(e){if(null!=e){try{return Re.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function Fo(e){if(e instanceof Wn)return e.clone();var t=new Vn(e.__wrapped__,e.__chain__);return t.__actions__=Mi(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}var Ho=Qr((function(e,t){return Ya(e)?hr(e,vr(t,1,Ya,!0)):[]})),Uo=Qr((function(e,t){var n=Qo(t);return Ya(n)&&(n=i),Ya(e)?hr(e,vr(t,1,Ya,!0),co(n,2)):[]})),zo=Qr((function(e,t){var n=Qo(t);return Ya(n)&&(n=i),Ya(e)?hr(e,vr(t,1,Ya,!0),i,n):[]}));function Vo(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=null==n?0:gs(n);return i<0&&(i=wn(r+i,0)),Ut(e,co(t,3),i)}function Wo(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=r-1;return n!==i&&(o=gs(n),o=n<0?wn(r+o,0):bn(o,r-1)),Ut(e,co(t,3),o,!0)}function Go(e){return(null==e?0:e.length)?vr(e,1):[]}function qo(e){return e&&e.length?e[0]:i}var Yo=Qr((function(e){var t=Rt(e,vi);return t.length&&t[0]===e[0]?Mr(t):[]})),Xo=Qr((function(e){var t=Qo(e),n=Rt(e,vi);return t===Qo(n)?t=i:n.pop(),n.length&&n[0]===e[0]?Mr(n,co(t,2)):[]})),Zo=Qr((function(e){var t=Qo(e),n=Rt(e,vi);return(t="function"==typeof t?t:i)&&n.pop(),n.length&&n[0]===e[0]?Mr(n,i,t):[]}));function Qo(e){var t=null==e?0:e.length;return t?e[t-1]:i}var Ko=Qr(Jo);function Jo(e,t){return e&&e.length&&t&&t.length?qr(e,t):e}var ea=ro((function(e,t){var n=null==e?0:e.length,r=sr(e,t);return Yr(e,Rt(t,(function(e){return bo(e,n)?+e:e})).sort(xi)),r}));function ta(e){return null==e?e:_n.call(e)}var na=Qr((function(e){return di(vr(e,1,Ya,!0))})),ra=Qr((function(e){var t=Qo(e);return Ya(t)&&(t=i),di(vr(e,1,Ya,!0),co(t,2))})),ia=Qr((function(e){var t=Qo(e);return t="function"==typeof t?t:i,di(vr(e,1,Ya,!0),i,t)}));function oa(e){if(!e||!e.length)return[];var t=0;return e=kt(e,(function(e){if(Ya(e))return t=wn(e.length,t),!0})),Qt(t,(function(t){return Rt(e,qt(t))}))}function aa(e,t){if(!e||!e.length)return[];var n=oa(e);return null==t?n:Rt(n,(function(e){return xt(t,i,e)}))}var sa=Qr((function(e,t){return Ya(e)?hr(e,t):[]})),la=Qr((function(e){return mi(kt(e,Ya))})),ca=Qr((function(e){var t=Qo(e);return Ya(t)&&(t=i),mi(kt(e,Ya),co(t,2))})),ua=Qr((function(e){var t=Qo(e);return t="function"==typeof t?t:i,mi(kt(e,Ya),i,t)})),da=Qr(oa);var ha=Qr((function(e){var t=e.length,n=t>1?e[t-1]:i;return n="function"==typeof n?(e.pop(),n):i,aa(e,n)}));function fa(e){var t=Hn(e);return t.__chain__=!0,t}function pa(e,t){return t(e)}var ga=ro((function(e){var t=e.length,n=t?e[0]:0,r=this.__wrapped__,o=function(t){return sr(t,e)};return!(t>1||this.__actions__.length)&&r instanceof Wn&&bo(n)?((r=r.slice(n,+n+(t?1:0))).__actions__.push({func:pa,args:[o],thisArg:i}),new Vn(r,this.__chain__).thru((function(e){return t&&!e.length&&e.push(i),e}))):this.thru(o)}));var ma=ki((function(e,t,n){Le.call(e,n)?++e[n]:ar(e,n,1)}));var ya=Bi(Vo),va=Bi(Wo);function wa(e,t){return(Wa(e)?Ot:fr)(e,co(t,3))}function ba(e,t){return(Wa(e)?Mt:pr)(e,co(t,3))}var Ca=ki((function(e,t,n){Le.call(e,n)?e[n].push(t):ar(e,n,[t])}));var Sa=Qr((function(e,t,n){var i=-1,o="function"==typeof t,a=qa(e)?r(e.length):[];return fr(e,(function(e){a[++i]=o?xt(t,e,n):Dr(e,t,n)})),a})),Aa=ki((function(e,t,n){ar(e,n,t)}));function _a(e,t){return(Wa(e)?Rt:Fr)(e,co(t,3))}var Ta=ki((function(e,t,n){e[n?0:1].push(t)}),(function(){return[[],[]]}));var Ea=Qr((function(e,t){if(null==e)return[];var n=t.length;return n>1&&Co(e,t[0],t[1])?t=[]:n>2&&Co(t[0],t[1],t[2])&&(t=[t[0]]),Wr(e,vr(t,1),[])})),xa=ut||function(){return gt.Date.now()};function Ia(e,t,n){return t=n?i:t,t=e&&null==t?e.length:t,Ki(e,d,i,i,i,i,t)}function Oa(e,t){var n;if("function"!=typeof t)throw new Me(o);return e=gs(e),function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=i),n}}var Ma=Qr((function(e,t,n){var r=1;if(n.length){var i=dn(n,lo(Ma));r|=c}return Ki(e,r,t,n,i)})),Da=Qr((function(e,t,n){var r=3;if(n.length){var i=dn(n,lo(Da));r|=c}return Ki(t,r,e,n,i)}));function ka(e,t,n){var r,a,s,l,c,u,d=0,h=!1,f=!1,p=!0;if("function"!=typeof e)throw new Me(o);function g(t){var n=r,o=a;return r=a=i,d=t,l=e.apply(o,n)}function m(e){var n=e-u;return u===i||n>=t||n<0||f&&e-d>=s}function y(){var e=xa();if(m(e))return v(e);c=ko(y,function(e){var n=t-(e-u);return f?bn(n,s-(e-d)):n}(e))}function v(e){return c=i,p&&r?g(e):(r=a=i,l)}function w(){var e=xa(),n=m(e);if(r=arguments,a=this,u=e,n){if(c===i)return function(e){return d=e,c=ko(y,t),h?g(e):l}(u);if(f)return Ai(c),c=ko(y,t),g(u)}return c===i&&(c=ko(y,t)),l}return t=ys(t)||0,ts(n)&&(h=!!n.leading,s=(f="maxWait"in n)?wn(ys(n.maxWait)||0,t):s,p="trailing"in n?!!n.trailing:p),w.cancel=function(){c!==i&&Ai(c),d=0,r=u=a=c=i},w.flush=function(){return c===i?l:v(xa())},w}var Na=Qr((function(e,t){return dr(e,1,t)})),Pa=Qr((function(e,t,n){return dr(e,ys(t)||0,n)}));function Ra(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new Me(o);var n=function(){var r=arguments,i=t?t.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var a=e.apply(this,r);return n.cache=o.set(i,a)||o,a};return n.cache=new(Ra.Cache||Yn),n}function La(e){if("function"!=typeof e)throw new Me(o);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}Ra.Cache=Yn;var $a=Ci((function(e,t){var n=(t=1==t.length&&Wa(t[0])?Rt(t[0],Jt(co())):Rt(vr(t,1),Jt(co()))).length;return Qr((function(r){for(var i=-1,o=bn(r.length,n);++i<o;)r[i]=t[i].call(this,r[i]);return xt(e,this,r)}))})),ja=Qr((function(e,t){var n=dn(t,lo(ja));return Ki(e,c,i,t,n)})),Ba=Qr((function(e,t){var n=dn(t,lo(Ba));return Ki(e,u,i,t,n)})),Fa=ro((function(e,t){return Ki(e,h,i,i,i,t)}));function Ha(e,t){return e===t||e!=e&&t!=t}var Ua=qi(xr),za=qi((function(e,t){return e>=t})),Va=kr(function(){return arguments}())?kr:function(e){return ns(e)&&Le.call(e,"callee")&&!Xe.call(e,"callee")},Wa=r.isArray,Ga=Ct?Jt(Ct):function(e){return ns(e)&&Er(e)==P};function qa(e){return null!=e&&es(e.length)&&!Ka(e)}function Ya(e){return ns(e)&&qa(e)}var Xa=wt||yl,Za=St?Jt(St):function(e){return ns(e)&&Er(e)==C};function Qa(e){if(!ns(e))return!1;var t=Er(e);return t==S||"[object DOMException]"==t||"string"==typeof e.message&&"string"==typeof e.name&&!os(e)}function Ka(e){if(!ts(e))return!1;var t=Er(e);return t==A||t==_||"[object AsyncFunction]"==t||"[object Proxy]"==t}function Ja(e){return"number"==typeof e&&e==gs(e)}function es(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=p}function ts(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function ns(e){return null!=e&&"object"==typeof e}var rs=At?Jt(At):function(e){return ns(e)&&mo(e)==T};function is(e){return"number"==typeof e||ns(e)&&Er(e)==E}function os(e){if(!ns(e)||Er(e)!=x)return!1;var t=qe(e);if(null===t)return!0;var n=Le.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&Re.call(n)==Fe}var as=_t?Jt(_t):function(e){return ns(e)&&Er(e)==O};var ss=Tt?Jt(Tt):function(e){return ns(e)&&mo(e)==M};function ls(e){return"string"==typeof e||!Wa(e)&&ns(e)&&Er(e)==D}function cs(e){return"symbol"==typeof e||ns(e)&&Er(e)==k}var us=Et?Jt(Et):function(e){return ns(e)&&es(e.length)&&!!lt[Er(e)]};var ds=qi(Br),hs=qi((function(e,t){return e<=t}));function fs(e){if(!e)return[];if(qa(e))return ls(e)?gn(e):Mi(e);if(Ke&&e[Ke])return function(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}(e[Ke]());var t=mo(e);return(t==T?cn:t==M?hn:Hs)(e)}function ps(e){return e?(e=ys(e))===f||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}function gs(e){var t=ps(e),n=t%1;return t==t?n?t-n:t:0}function ms(e){return e?lr(gs(e),0,m):0}function ys(e){if("number"==typeof e)return e;if(cs(e))return g;if(ts(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=ts(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=Kt(e);var n=ye.test(e);return n||we.test(e)?ht(e.slice(2),n?2:8):me.test(e)?g:+e}function vs(e){return Di(e,Ns(e))}function ws(e){return null==e?"":ui(e)}var bs=Ni((function(e,t){if(To(t)||qa(t))Di(t,ks(t),e);else for(var n in t)Le.call(t,n)&&nr(e,n,t[n])})),Cs=Ni((function(e,t){Di(t,Ns(t),e)})),Ss=Ni((function(e,t,n,r){Di(t,Ns(t),e,r)})),As=Ni((function(e,t,n,r){Di(t,ks(t),e,r)})),_s=ro(sr);var Ts=Qr((function(e,t){e=xe(e);var n=-1,r=t.length,o=r>2?t[2]:i;for(o&&Co(t[0],t[1],o)&&(r=1);++n<r;)for(var a=t[n],s=Ns(a),l=-1,c=s.length;++l<c;){var u=s[l],d=e[u];(d===i||Ha(d,Ne[u])&&!Le.call(e,u))&&(e[u]=a[u])}return e})),Es=Qr((function(e){return e.push(i,eo),xt(Rs,i,e)}));function xs(e,t,n){var r=null==e?i:_r(e,t);return r===i?n:r}function Is(e,t){return null!=e&&yo(e,t,Or)}var Os=Ui((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=Be.call(t)),e[t]=n}),tl(il)),Ms=Ui((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=Be.call(t)),Le.call(e,t)?e[t].push(n):e[t]=[n]}),co),Ds=Qr(Dr);function ks(e){return qa(e)?Qn(e):$r(e)}function Ns(e){return qa(e)?Qn(e,!0):jr(e)}var Ps=Ni((function(e,t,n){zr(e,t,n)})),Rs=Ni((function(e,t,n,r){zr(e,t,n,r)})),Ls=ro((function(e,t){var n={};if(null==e)return n;var r=!1;t=Rt(t,(function(t){return t=bi(t,e),r||(r=t.length>1),t})),Di(e,oo(e),n),r&&(n=cr(n,7,to));for(var i=t.length;i--;)hi(n,t[i]);return n}));var $s=ro((function(e,t){return null==e?{}:function(e,t){return Gr(e,t,(function(t,n){return Is(e,n)}))}(e,t)}));function js(e,t){if(null==e)return{};var n=Rt(oo(e),(function(e){return[e]}));return t=co(t),Gr(e,n,(function(e,n){return t(e,n[0])}))}var Bs=Qi(ks),Fs=Qi(Ns);function Hs(e){return null==e?[]:en(e,ks(e))}var Us=$i((function(e,t,n){return t=t.toLowerCase(),e+(n?zs(t):t)}));function zs(e){return Qs(ws(e).toLowerCase())}function Vs(e){return(e=ws(e))&&e.replace(Ce,on).replace(tt,"")}var Ws=$i((function(e,t,n){return e+(n?"-":"")+t.toLowerCase()})),Gs=$i((function(e,t,n){return e+(n?" ":"")+t.toLowerCase()})),qs=Li("toLowerCase");var Ys=$i((function(e,t,n){return e+(n?"_":"")+t.toLowerCase()}));var Xs=$i((function(e,t,n){return e+(n?" ":"")+Qs(t)}));var Zs=$i((function(e,t,n){return e+(n?" ":"")+t.toUpperCase()})),Qs=Li("toUpperCase");function Ks(e,t,n){return e=ws(e),(t=n?i:t)===i?function(e){return ot.test(e)}(e)?function(e){return e.match(rt)||[]}(e):function(e){return e.match(de)||[]}(e):e.match(t)||[]}var Js=Qr((function(e,t){try{return xt(e,i,t)}catch(e){return Qa(e)?e:new _e(e)}})),el=ro((function(e,t){return Ot(t,(function(t){t=jo(t),ar(e,t,Ma(e[t],e))})),e}));function tl(e){return function(){return e}}var nl=Fi(),rl=Fi(!0);function il(e){return e}function ol(e){return Lr("function"==typeof e?e:cr(e,1))}var al=Qr((function(e,t){return function(n){return Dr(n,e,t)}})),sl=Qr((function(e,t){return function(n){return Dr(e,n,t)}}));function ll(e,t,n){var r=ks(t),i=Ar(t,r);null!=n||ts(t)&&(i.length||!r.length)||(n=t,t=e,e=this,i=Ar(t,ks(t)));var o=!(ts(n)&&"chain"in n&&!n.chain),a=Ka(e);return Ot(i,(function(n){var r=t[n];e[n]=r,a&&(e.prototype[n]=function(){var t=this.__chain__;if(o||t){var n=e(this.__wrapped__);return(n.__actions__=Mi(this.__actions__)).push({func:r,args:arguments,thisArg:e}),n.__chain__=t,n}return r.apply(e,Lt([this.value()],arguments))})})),e}function cl(){}var ul=Vi(Rt),dl=Vi(Dt),hl=Vi(Bt);function fl(e){return So(e)?qt(jo(e)):function(e){return function(t){return _r(t,e)}}(e)}var pl=Gi(),gl=Gi(!0);function ml(){return[]}function yl(){return!1}var vl=zi((function(e,t){return e+t}),0),wl=Xi("ceil"),bl=zi((function(e,t){return e/t}),1),Cl=Xi("floor");var Sl,Al=zi((function(e,t){return e*t}),1),_l=Xi("round"),Tl=zi((function(e,t){return e-t}),0);return Hn.after=function(e,t){if("function"!=typeof t)throw new Me(o);return e=gs(e),function(){if(--e<1)return t.apply(this,arguments)}},Hn.ary=Ia,Hn.assign=bs,Hn.assignIn=Cs,Hn.assignInWith=Ss,Hn.assignWith=As,Hn.at=_s,Hn.before=Oa,Hn.bind=Ma,Hn.bindAll=el,Hn.bindKey=Da,Hn.castArray=function(){if(!arguments.length)return[];var e=arguments[0];return Wa(e)?e:[e]},Hn.chain=fa,Hn.chunk=function(e,t,n){t=(n?Co(e,t,n):t===i)?1:wn(gs(t),0);var o=null==e?0:e.length;if(!o||t<1)return[];for(var a=0,s=0,l=r(pt(o/t));a<o;)l[s++]=ii(e,a,a+=t);return l},Hn.compact=function(e){for(var t=-1,n=null==e?0:e.length,r=0,i=[];++t<n;){var o=e[t];o&&(i[r++]=o)}return i},Hn.concat=function(){var e=arguments.length;if(!e)return[];for(var t=r(e-1),n=arguments[0],i=e;i--;)t[i-1]=arguments[i];return Lt(Wa(n)?Mi(n):[n],vr(t,1))},Hn.cond=function(e){var t=null==e?0:e.length,n=co();return e=t?Rt(e,(function(e){if("function"!=typeof e[1])throw new Me(o);return[n(e[0]),e[1]]})):[],Qr((function(n){for(var r=-1;++r<t;){var i=e[r];if(xt(i[0],this,n))return xt(i[1],this,n)}}))},Hn.conforms=function(e){return function(e){var t=ks(e);return function(n){return ur(n,e,t)}}(cr(e,1))},Hn.constant=tl,Hn.countBy=ma,Hn.create=function(e,t){var n=Un(e);return null==t?n:or(n,t)},Hn.curry=function e(t,n,r){var o=Ki(t,8,i,i,i,i,i,n=r?i:n);return o.placeholder=e.placeholder,o},Hn.curryRight=function e(t,n,r){var o=Ki(t,l,i,i,i,i,i,n=r?i:n);return o.placeholder=e.placeholder,o},Hn.debounce=ka,Hn.defaults=Ts,Hn.defaultsDeep=Es,Hn.defer=Na,Hn.delay=Pa,Hn.difference=Ho,Hn.differenceBy=Uo,Hn.differenceWith=zo,Hn.drop=function(e,t,n){var r=null==e?0:e.length;return r?ii(e,(t=n||t===i?1:gs(t))<0?0:t,r):[]},Hn.dropRight=function(e,t,n){var r=null==e?0:e.length;return r?ii(e,0,(t=r-(t=n||t===i?1:gs(t)))<0?0:t):[]},Hn.dropRightWhile=function(e,t){return e&&e.length?pi(e,co(t,3),!0,!0):[]},Hn.dropWhile=function(e,t){return e&&e.length?pi(e,co(t,3),!0):[]},Hn.fill=function(e,t,n,r){var o=null==e?0:e.length;return o?(n&&"number"!=typeof n&&Co(e,t,n)&&(n=0,r=o),function(e,t,n,r){var o=e.length;for((n=gs(n))<0&&(n=-n>o?0:o+n),(r=r===i||r>o?o:gs(r))<0&&(r+=o),r=n>r?0:ms(r);n<r;)e[n++]=t;return e}(e,t,n,r)):[]},Hn.filter=function(e,t){return(Wa(e)?kt:yr)(e,co(t,3))},Hn.flatMap=function(e,t){return vr(_a(e,t),1)},Hn.flatMapDeep=function(e,t){return vr(_a(e,t),f)},Hn.flatMapDepth=function(e,t,n){return n=n===i?1:gs(n),vr(_a(e,t),n)},Hn.flatten=Go,Hn.flattenDeep=function(e){return(null==e?0:e.length)?vr(e,f):[]},Hn.flattenDepth=function(e,t){return(null==e?0:e.length)?vr(e,t=t===i?1:gs(t)):[]},Hn.flip=function(e){return Ki(e,512)},Hn.flow=nl,Hn.flowRight=rl,Hn.fromPairs=function(e){for(var t=-1,n=null==e?0:e.length,r={};++t<n;){var i=e[t];r[i[0]]=i[1]}return r},Hn.functions=function(e){return null==e?[]:Ar(e,ks(e))},Hn.functionsIn=function(e){return null==e?[]:Ar(e,Ns(e))},Hn.groupBy=Ca,Hn.initial=function(e){return(null==e?0:e.length)?ii(e,0,-1):[]},Hn.intersection=Yo,Hn.intersectionBy=Xo,Hn.intersectionWith=Zo,Hn.invert=Os,Hn.invertBy=Ms,Hn.invokeMap=Sa,Hn.iteratee=ol,Hn.keyBy=Aa,Hn.keys=ks,Hn.keysIn=Ns,Hn.map=_a,Hn.mapKeys=function(e,t){var n={};return t=co(t,3),Cr(e,(function(e,r,i){ar(n,t(e,r,i),e)})),n},Hn.mapValues=function(e,t){var n={};return t=co(t,3),Cr(e,(function(e,r,i){ar(n,r,t(e,r,i))})),n},Hn.matches=function(e){return Hr(cr(e,1))},Hn.matchesProperty=function(e,t){return Ur(e,cr(t,1))},Hn.memoize=Ra,Hn.merge=Ps,Hn.mergeWith=Rs,Hn.method=al,Hn.methodOf=sl,Hn.mixin=ll,Hn.negate=La,Hn.nthArg=function(e){return e=gs(e),Qr((function(t){return Vr(t,e)}))},Hn.omit=Ls,Hn.omitBy=function(e,t){return js(e,La(co(t)))},Hn.once=function(e){return Oa(2,e)},Hn.orderBy=function(e,t,n,r){return null==e?[]:(Wa(t)||(t=null==t?[]:[t]),Wa(n=r?i:n)||(n=null==n?[]:[n]),Wr(e,t,n))},Hn.over=ul,Hn.overArgs=$a,Hn.overEvery=dl,Hn.overSome=hl,Hn.partial=ja,Hn.partialRight=Ba,Hn.partition=Ta,Hn.pick=$s,Hn.pickBy=js,Hn.property=fl,Hn.propertyOf=function(e){return function(t){return null==e?i:_r(e,t)}},Hn.pull=Ko,Hn.pullAll=Jo,Hn.pullAllBy=function(e,t,n){return e&&e.length&&t&&t.length?qr(e,t,co(n,2)):e},Hn.pullAllWith=function(e,t,n){return e&&e.length&&t&&t.length?qr(e,t,i,n):e},Hn.pullAt=ea,Hn.range=pl,Hn.rangeRight=gl,Hn.rearg=Fa,Hn.reject=function(e,t){return(Wa(e)?kt:yr)(e,La(co(t,3)))},Hn.remove=function(e,t){var n=[];if(!e||!e.length)return n;var r=-1,i=[],o=e.length;for(t=co(t,3);++r<o;){var a=e[r];t(a,r,e)&&(n.push(a),i.push(r))}return Yr(e,i),n},Hn.rest=function(e,t){if("function"!=typeof e)throw new Me(o);return Qr(e,t=t===i?t:gs(t))},Hn.reverse=ta,Hn.sampleSize=function(e,t,n){return t=(n?Co(e,t,n):t===i)?1:gs(t),(Wa(e)?Jn:Jr)(e,t)},Hn.set=function(e,t,n){return null==e?e:ei(e,t,n)},Hn.setWith=function(e,t,n,r){return r="function"==typeof r?r:i,null==e?e:ei(e,t,n,r)},Hn.shuffle=function(e){return(Wa(e)?er:ri)(e)},Hn.slice=function(e,t,n){var r=null==e?0:e.length;return r?(n&&"number"!=typeof n&&Co(e,t,n)?(t=0,n=r):(t=null==t?0:gs(t),n=n===i?r:gs(n)),ii(e,t,n)):[]},Hn.sortBy=Ea,Hn.sortedUniq=function(e){return e&&e.length?li(e):[]},Hn.sortedUniqBy=function(e,t){return e&&e.length?li(e,co(t,2)):[]},Hn.split=function(e,t,n){return n&&"number"!=typeof n&&Co(e,t,n)&&(t=n=i),(n=n===i?m:n>>>0)?(e=ws(e))&&("string"==typeof t||null!=t&&!as(t))&&!(t=ui(t))&&ln(e)?Si(gn(e),0,n):e.split(t,n):[]},Hn.spread=function(e,t){if("function"!=typeof e)throw new Me(o);return t=null==t?0:wn(gs(t),0),Qr((function(n){var r=n[t],i=Si(n,0,t);return r&&Lt(i,r),xt(e,this,i)}))},Hn.tail=function(e){var t=null==e?0:e.length;return t?ii(e,1,t):[]}
vendor: 4,775 bytes, line 2
2,Hn.take=function(e,t,n){return e&&e.length?ii(e,0,(t=n||t===i?1:gs(t))<0?0:t):[]},Hn.takeRight=function(e,t,n){var r=null==e?0:e.length;return r?ii(e,(t=r-(t=n||t===i?1:gs(t)))<0?0:t,r):[]},Hn.takeRightWhile=function(e,t){return e&&e.length?pi(e,co(t,3),!1,!0):[]},Hn.takeWhile=function(e,t){return e&&e.length?pi(e,co(t,3)):[]},Hn.tap=function(e,t){return t(e),e},Hn.throttle=function(e,t,n){var r=!0,i=!0;if("function"!=typeof e)throw new Me(o);return ts(n)&&(r="leading"in n?!!n.leading:r,i="trailing"in n?!!n.trailing:i),ka(e,t,{leading:r,maxWait:t,trailing:i})},Hn.thru=pa,Hn.toArray=fs,Hn.toPairs=Bs,Hn.toPairsIn=Fs,Hn.toPath=function(e){return Wa(e)?Rt(e,jo):cs(e)?[e]:Mi($o(ws(e)))},Hn.toPlainObject=vs,Hn.transform=function(e,t,n){var r=Wa(e),i=r||Xa(e)||us(e);if(t=co(t,4),null==n){var o=e&&e.constructor;n=i?r?new o:[]:ts(e)&&Ka(o)?Un(qe(e)):{}}return(i?Ot:Cr)(e,(function(e,r,i){return t(n,e,r,i)})),n},Hn.unary=function(e){return Ia(e,1)},Hn.union=na,Hn.unionBy=ra,Hn.unionWith=ia,Hn.uniq=function(e){return e&&e.length?di(e):[]},Hn.uniqBy=function(e,t){return e&&e.length?di(e,co(t,2)):[]},Hn.uniqWith=function(e,t){return t="function"==typeof t?t:i,e&&e.length?di(e,i,t):[]},Hn.unset=function(e,t){return null==e||hi(e,t)},Hn.unzip=oa,Hn.unzipWith=aa,Hn.update=function(e,t,n){return null==e?e:fi(e,t,wi(n))},Hn.updateWith=function(e,t,n,r){return r="function"==typeof r?r:i,null==e?e:fi(e,t,wi(n),r)},Hn.values=Hs,Hn.valuesIn=function(e){return null==e?[]:en(e,Ns(e))},Hn.without=sa,Hn.words=Ks,Hn.wrap=function(e,t){return ja(wi(t),e)},Hn.xor=la,Hn.xorBy=ca,Hn.xorWith=ua,Hn.zip=da,Hn.zipObject=function(e,t){return yi(e||[],t||[],nr)},Hn.zipObjectDeep=function(e,t){return yi(e||[],t||[],ei)},Hn.zipWith=ha,Hn.entries=Bs,Hn.entriesIn=Fs,Hn.extend=Cs,Hn.extendWith=Ss,ll(Hn,Hn),Hn.add=vl,Hn.attempt=Js,Hn.camelCase=Us,Hn.capitalize=zs,Hn.ceil=wl,Hn.clamp=function(e,t,n){return n===i&&(n=t,t=i),n!==i&&(n=(n=ys(n))==n?n:0),t!==i&&(t=(t=ys(t))==t?t:0),lr(ys(e),t,n)},Hn.clone=function(e){return cr(e,4)},Hn.cloneDeep=function(e){return cr(e,5)},Hn.cloneDeepWith=function(e,t){return cr(e,5,t="function"==typeof t?t:i)},Hn.cloneWith=function(e,t){return cr(e,4,t="function"==typeof t?t:i)},Hn.conformsTo=function(e,t){return null==t||ur(e,t,ks(t))},Hn.deburr=Vs,Hn.defaultTo=function(e,t){return null==e||e!=e?t:e},Hn.divide=bl,Hn.endsWith=function(e,t,n){e=ws(e),t=ui(t);var r=e.length,o=n=n===i?r:lr(gs(n),0,r);return(n-=t.length)>=0&&e.slice(n,o)==t},Hn.eq=Ha,Hn.escape=function(e){return(e=ws(e))&&Q.test(e)?e.replace(X,an):e},Hn.escapeRegExp=function(e){return(e=ws(e))&&oe.test(e)?e.replace(ie,"\\$&"):e},Hn.every=function(e,t,n){var r=Wa(e)?Dt:gr;return n&&Co(e,t,n)&&(t=i),r(e,co(t,3))},Hn.find=ya,Hn.findIndex=Vo,Hn.findKey=function(e,t){return Ht(e,co(t,3),Cr)},Hn.findLast=va,Hn.findLastIndex=Wo,Hn.findLastKey=function(e,t){return Ht(e,co(t,3),Sr)},Hn.floor=Cl,Hn.forEach=wa,Hn.forEachRight=ba,Hn.forIn=function(e,t){return null==e?e:wr(e,co(t,3),Ns)},Hn.forInRight=function(e,t){return null==e?e:br(e,co(t,3),Ns)},Hn.forOwn=function(e,t){return e&&Cr(e,co(t,3))},Hn.forOwnRight=function(e,t){return e&&Sr(e,co(t,3))},Hn.get=xs,Hn.gt=Ua,Hn.gte=za,Hn.has=function(e,t){return null!=e&&yo(e,t,Ir)},Hn.hasIn=Is,Hn.head=qo,Hn.identity=il,Hn.includes=function(e,t,n,r){e=qa(e)?e:Hs(e),n=n&&!r?gs(n):0;var i=e.length;return n<0&&(n=wn(i+n,0)),ls(e)?n<=i&&e.indexOf(t,n)>-1:!!i&&zt(e,t,n)>-1},Hn.indexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=null==n?0:gs(n);return i<0&&(i=wn(r+i,0)),zt(e,t,i)},Hn.inRange=function(e,t,n){return t=ps(t),n===i?(n=t,t=0):n=ps(n),function(e,t,n){return e>=bn(t,n)&&e<wn(t,n)}(e=ys(e),t,n)},Hn.invoke=Ds,Hn.isArguments=Va,Hn.isArray=Wa,Hn.isArrayBuffer=Ga,Hn.isArrayLike=qa,Hn.isArrayLikeObject=Ya,Hn.isBoolean=function(e){return!0===e||!1===e||ns(e)&&Er(e)==b},Hn.isBuffer=Xa,Hn.isDate=Za,Hn.isElement=function(e){return ns(e)&&1===e.nodeType&&!os(e)},Hn.isEmpty=function(e){if(null==e)return!0;if(qa(e)&&(Wa(e)||"string"==typeof e||"function"==typeof e.splice||Xa(e)||us(e)||Va(e)))return!e.length;var t=mo(e);if(t==T||t==M)return!e.size;if(To(e))return!$r(e).length;for(var n in e)if(Le.call(e,n))return!1;return!0},Hn.isEqual=function(e,t){return Nr(e,t)},Hn.isEqualWith=function(e,t,n){var r=(n="function"==typeof n?n:i)?n(e,t):i;return r===i?Nr(e,t,i,n):!!r},Hn.isError=Qa,Hn.isFinite=function(e){return"number"==typeof e&&bt(e)},Hn.isFunction=Ka,Hn.isInteger=Ja,Hn.isLength=es,Hn.isMap=rs,Hn.isMatch=function(e,t){return e===t||Pr(e,t,ho(t))},Hn.isMatchWith=function(e,t,n){return n="function"==typeof n?n:i,Pr(e,t,ho(t),n)},Hn.isNaN=function(e){return is(e)&&e!=+e},Hn.isNative=function(e){if(_o(e))throw new _e("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return Rr(e)}
vendor: 4,696 bytes, line 2
2,Hn.isNil=function(e){return null==e},Hn.isNull=function(e){return null===e},Hn.isNumber=is,Hn.isObject=ts,Hn.isObjectLike=ns,Hn.isPlainObject=os,Hn.isRegExp=as,Hn.isSafeInteger=function(e){return Ja(e)&&e>=-9007199254740991&&e<=p},Hn.isSet=ss,Hn.isString=ls,Hn.isSymbol=cs,Hn.isTypedArray=us,Hn.isUndefined=function(e){return e===i},Hn.isWeakMap=function(e){return ns(e)&&mo(e)==N},Hn.isWeakSet=function(e){return ns(e)&&"[object WeakSet]"==Er(e)},Hn.join=function(e,t){return null==e?"":Ft.call(e,t)},Hn.kebabCase=Ws,Hn.last=Qo,Hn.lastIndexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=r;return n!==i&&(o=(o=gs(n))<0?wn(r+o,0):bn(o,r-1)),t==t?function(e,t,n){for(var r=n+1;r--;)if(e[r]===t)return r;return r}(e,t,o):Ut(e,Wt,o,!0)},Hn.lowerCase=Gs,Hn.lowerFirst=qs,Hn.lt=ds,Hn.lte=hs,Hn.max=function(e){return e&&e.length?mr(e,il,xr):i},Hn.maxBy=function(e,t){return e&&e.length?mr(e,co(t,2),xr):i},Hn.mean=function(e){return Gt(e,il)},Hn.meanBy=function(e,t){return Gt(e,co(t,2))},Hn.min=function(e){return e&&e.length?mr(e,il,Br):i},Hn.minBy=function(e,t){return e&&e.length?mr(e,co(t,2),Br):i},Hn.stubArray=ml,Hn.stubFalse=yl,Hn.stubObject=function(){return{}},Hn.stubString=function(){return""},Hn.stubTrue=function(){return!0},Hn.multiply=Al,Hn.nth=function(e,t){return e&&e.length?Vr(e,gs(t)):i},Hn.noConflict=function(){return gt._===this&&(gt._=He),this},Hn.noop=cl,Hn.now=xa,Hn.pad=function(e,t,n){e=ws(e);var r=(t=gs(t))?pn(e):0;if(!t||r>=t)return e;var i=(t-r)/2;return Wi(mt(i),n)+e+Wi(pt(i),n)},Hn.padEnd=function(e,t,n){e=ws(e);var r=(t=gs(t))?pn(e):0;return t&&r<t?e+Wi(t-r,n):e},Hn.padStart=function(e,t,n){e=ws(e);var r=(t=gs(t))?pn(e):0;return t&&r<t?Wi(t-r,n)+e:e},Hn.parseInt=function(e,t,n){return n||null==t?t=0:t&&(t=+t),Sn(ws(e).replace(ae,""),t||0)},Hn.random=function(e,t,n){if(n&&"boolean"!=typeof n&&Co(e,t,n)&&(t=n=i),n===i&&("boolean"==typeof t?(n=t,t=i):"boolean"==typeof e&&(n=e,e=i)),e===i&&t===i?(e=0,t=1):(e=ps(e),t===i?(t=e,e=0):t=ps(t)),e>t){var r=e;e=t,t=r}if(n||e%1||t%1){var o=An();return bn(e+o*(t-e+dt("1e-"+((o+"").length-1))),t)}return Xr(e,t)},Hn.reduce=function(e,t,n){var r=Wa(e)?$t:Xt,i=arguments.length<3;return r(e,co(t,4),n,i,fr)},Hn.reduceRight=function(e,t,n){var r=Wa(e)?jt:Xt,i=arguments.length<3;return r(e,co(t,4),n,i,pr)},Hn.repeat=function(e,t,n){return t=(n?Co(e,t,n):t===i)?1:gs(t),Zr(ws(e),t)},Hn.replace=function(){var e=arguments,t=ws(e[0]);return e.length<3?t:t.replace(e[1],e[2])},Hn.result=function(e,t,n){var r=-1,o=(t=bi(t,e)).length;for(o||(o=1,e=i);++r<o;){var a=null==e?i:e[jo(t[r])];a===i&&(r=o,a=n),e=Ka(a)?a.call(e):a}return e},Hn.round=_l,Hn.runInContext=e,Hn.sample=function(e){return(Wa(e)?Kn:Kr)(e)},Hn.size=function(e){if(null==e)return 0;if(qa(e))return ls(e)?pn(e):e.length;var t=mo(e);return t==T||t==M?e.size:$r(e).length},Hn.snakeCase=Ys,Hn.some=function(e,t,n){var r=Wa(e)?Bt:oi;return n&&Co(e,t,n)&&(t=i),r(e,co(t,3))},Hn.sortedIndex=function(e,t){return ai(e,t)},Hn.sortedIndexBy=function(e,t,n){return si(e,t,co(n,2))},Hn.sortedIndexOf=function(e,t){var n=null==e?0:e.length;if(n){var r=ai(e,t);if(r<n&&Ha(e[r],t))return r}return-1},Hn.sortedLastIndex=function(e,t){return ai(e,t,!0)},Hn.sortedLastIndexBy=function(e,t,n){return si(e,t,co(n,2),!0)},Hn.sortedLastIndexOf=function(e,t){if(null==e?0:e.length){var n=ai(e,t,!0)-1;if(Ha(e[n],t))return n}return-1},Hn.startCase=Xs,Hn.startsWith=function(e,t,n){return e=ws(e),n=null==n?0:lr(gs(n),0,e.length),t=ui(t),e.slice(n,n+t.length)==t},Hn.subtract=Tl,Hn.sum=function(e){return e&&e.length?Zt(e,il):0},Hn.sumBy=function(e,t){return e&&e.length?Zt(e,co(t,2)):0},Hn.template=function(e,t,n){var r=Hn.templateSettings;n&&Co(e,t,n)&&(t=i),e=ws(e),t=Ss({},t,r,Ji);var o,a,s=Ss({},t.imports,r.imports,Ji),l=ks(s),c=en(s,l),u=0,d=t.interpolate||Se,h="__p += '",f=Ie((t.escape||Se).source+"|"+d.source+"|"+(d===ee?pe:Se).source+"|"+(t.evaluate||Se).source+"|$","g"),p="//# sourceURL="+(Le.call(t,"sourceURL")?(t.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++st+"]")+"\n";e.replace(f,(function(t,n,r,i,s,l){return r||(r=i),h+=e.slice(u,l).replace(Ae,sn),n&&(o=!0,h+="' +\n__e("+n+") +\n'"),s&&(a=!0,h+="';\n"+s+";\n__p += '"),r&&(h+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),u=l+t.length,t})),h+="';\n";var g=Le.call(t,"variable")&&t.variable;if(g){if(he.test(g))throw new _e("Invalid `variable` option passed into `_.template`")}else h="with (obj) {\n"+h+"\n}\n";h=(a?h.replace(W,""):h).replace(G,"$1").replace(q,"$1;"),h="function("+(g||"obj")+") {\n"+(g?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(o?", __e = _.escape":"")+(a?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";
2\n")+h+"return __p\n}";var m=Js((function(){return Te(l,p+"return "+h).apply(i,c)}));if(m.source=h,Qa(m))throw m;return m},Hn.times=function(e,t){if((e=gs(e))<1||e>p)return[];var n=m,r=bn(e,m);t=co(t),e-=m;for(var i=Qt(r,t);++n<e;)t(n);return i},Hn.toFinite=ps,Hn.toInteger=gs,Hn.toLength=ms,Hn.toLower=function(e){return ws(e).toLowerCase()},Hn.toNumber=ys,Hn.toSafeInteger=function(e){return e?lr(gs(e),-9007199254740991,p):0===e?e:0},Hn.toString=ws,Hn.toUpper=function(e){return ws(e).toUpperCase()},Hn.trim=function(e,t,n){if((e=ws(e))&&(n||t===i))return Kt(e);if(!e||!(t=ui(t)))return e;var r=gn(e),o=gn(t);return Si(r,nn(r,o),rn(r,o)+1).join("")},Hn.trimEnd=function(e,t,n){if((e=ws(e))&&(n||t===i))return e.slice(0,mn(e)+1);if(!e||!(t=ui(t)))return e;var r=gn(e);return Si(r,0,rn(r,gn(t))+1).join("")},Hn.trimStart=function(e,t,n){if((e=ws(e))&&(n||t===i))return e.replace(ae,"");if(!e||!(t=ui(t)))return e;var r=gn(e);return Si(r,nn(r,gn(t))).join("")},Hn.truncate=function(e,t){var n=30,r="...";if(ts(t)){var o="separator"in t?t.separator:o;n="length"in t?gs(t.length):n,r="omission"in t?ui(t.omission):r}var a=(e=ws(e)).length;if(ln(e)){var s=gn(e);a=s.length}if(n>=a)return e;var l=n-pn(r);if(l<1)return r;var c=s?Si(s,0,l).join(""):e.slice(0,l);if(o===i)return c+r;if(s&&(l+=c.length-l),as(o)){if(e.slice(l).search(o)){var u,d=c;for(o.global||(o=Ie(o.source,ws(ge.exec(o))+"g")),o.lastIndex=0;u=o.exec(d);)var h=u.index;c=c.slice(0,h===i?l:h)}}else if(e.indexOf(ui(o),l)!=l){var f=c.lastIndexOf(o);f>-1&&(c=c.slice(0,f))}return c+r},Hn.unescape=function(e){return(e=ws(e))&&Z.test(e)?e.replace(Y,yn):e},Hn.uniqueId=function(e){var t=++$e;return ws(e)+t},Hn.upperCase=Zs,Hn.upperFirst=Qs,Hn.each=wa,Hn.eachRight=ba,Hn.first=qo,ll(Hn,(Sl={},Cr(Hn,(function(e,t){Le.call(Hn.prototype,t)||(Sl[t]=e)})),Sl),{chain:!1}),Hn.VERSION="4.17.21",Ot(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(e){Hn[e].placeholder=Hn})),Ot(["drop","take"],(function(e,t){Wn.prototype[e]=function(n){n=n===i?1:wn(gs(n),0);var r=this.__filtered__&&!t?new Wn(this):this.clone();return r.__filtered__?r.__takeCount__=bn(n,r.__takeCount__):r.__views__.push({size:bn(n,m),type:e+(r.__dir__<0?"Right":"")}),r},Wn.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}})),Ot(["filter","map","takeWhile"],(function(e,t){var n=t+1,r=1==n||3==n;Wn.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:co(e,3),type:n}),t.__filtered__=t.__filtered__||r,t}})),Ot(["head","last"],(function(e,t){var n="take"+(t?"Right":"");Wn.prototype[e]=function(){return this[n](1).value()[0]}})),Ot(["initial","tail"],(function(e,t){var n="drop"+(t?"":"Right");Wn.prototype[e]=function(){return this.__filtered__?new Wn(this):this[n](1)}})),Wn.prototype.compact=function(){return this.filter(il)},Wn.prototype.find=function(e){return this.filter(e).head()},Wn.prototype.findLast=function(e){return this.reverse().find(e)},Wn.prototype.invokeMap=Qr((function(e,t){return"function"==typeof e?new Wn(this):this.map((function(n){return Dr(n,e,t)}))})),Wn.prototype.reject=function(e){return this.filter(La(co(e)))},Wn.prototype.slice=function(e,t){e=gs(e);var n=this;return n.__filtered__&&(e>0||t<0)?new Wn(n):(e<0?n=n.takeRight(-e):e&&(n=n.drop(e)),t!==i&&(n=(t=gs(t))<0?n.dropRight(-t):n.take(t-e)),n)},Wn.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},Wn.prototype.toArray=function(){return this.take(m)},Cr(Wn.prototype,(function(e,t){var n=/^(?:filter|find|map|reject)|While$/.test(t),r=/^(?:head|last)$/.test(t),o=Hn[r?"take"+("last"==t?"Right":""):t],a=r||/^find/.test(t);o&&(Hn.prototype[t]=function(){var t=this.__wrapped__,s=r?[1]:arguments,l=t instanceof Wn,c=s[0],u=l||Wa(t),d=function(e){var t=o.apply(Hn,Lt([e],s));return r&&h?t[0]:t};u&&n&&"function"==typeof c&&1!=c.length&&(l=u=!1);var h=this.__chain__,f=!!this.__actions__.length,p=a&&!h,g=l&&!f;if(!a&&u){t=g?t:new Wn(this);var m=e.apply(t,s);return m.__actions__.push({func:pa,args:[d],thisArg:i}),new Vn(m,h)}return p&&g?e.apply(this,s):(m=this.thru(d),p?r?m.value()[0]:m.value():m)})})),Ot(["pop","push","shift","sort","splice","unshift"],(function(e){var t=De[e],n=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",r=/^(?:pop|shift)$/.test(e);Hn.prototype[e]=function(){var e=arguments;if(r&&!this.__chain__){var i=this.value();return t.apply(Wa(i)?i:[],e)}return this[n]((function(n){return t.apply(Wa(n)?n:[],e)}))}})),Cr(Wn.prototype,(function(e,t){var n=Hn[t];if(n){var r=n.name+"";Le.call(kn,r)||(kn[r]=[]),kn[r].push({name:t,func:n})}})),kn[Hi(i,2).name]=[{name:"wrapper",func:i}],Wn.prototype.clone=function(){var e=new Wn(this.__wrapped__);return e.__actions__=Mi(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=Mi(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=Mi(this.__views__),e},Wn.prototype.reverse=function(){if(this.__filtered__){var e=new Wn(this);e.__dir__=-1,e.__filtered__=!0}else(e=this.clone()).__dir__*=-1;return e},Wn.prototype.value=function(){var e=this.__wrapped__.value(),t=this.__dir__,n=Wa(e),r=t
2<0,i=n?e.length:0,o=function(e,t,n){var r=-1,i=n.length;for(;++r<i;){var o=n[r],a=o.size;switch(o.type){case"drop":e+=a;break;case"dropRight":t-=a;break;case"take":t=bn(t,e+a);break;case"takeRight":e=wn(e,t-a)}}return{start:e,end:t}}(0,i,this.__views__),a=o.start,s=o.end,l=s-a,c=r?s:a-1,u=this.__iteratees__,d=u.length,h=0,f=bn(l,this.__takeCount__);if(!n||!r&&i==l&&f==l)return gi(e,this.__actions__);var p=[];e:for(;l--&&h<f;){for(var g=-1,m=e[c+=t];++g<d;){var y=u[g],v=y.iteratee,w=y.type,b=v(m);if(2==w)m=b;else if(!b){if(1==w)continue e;break e}}p[h++]=m}return p},Hn.prototype.at=ga,Hn.prototype.chain=function(){return fa(this)},Hn.prototype.commit=function(){return new Vn(this.value(),this.__chain__)},Hn.prototype.next=function(){this.__values__===i&&(this.__values__=fs(this.value()));var e=this.__index__>=this.__values__.length;return{done:e,value:e?i:this.__values__[this.__index__++]}},Hn.prototype.plant=function(e){for(var t,n=this;n instanceof zn;){var r=Fo(n);r.__index__=0,r.__values__=i,t?o.__wrapped__=r:t=r;var o=r;n=n.__wrapped__}return o.__wrapped__=e,t},Hn.prototype.reverse=function(){var e=this.__wrapped__;if(e instanceof Wn){var t=e;return this.__actions__.length&&(t=new Wn(this)),(t=t.reverse()).__actions__.push({func:pa,args:[ta],thisArg:i}),new Vn(t,this.__chain__)}return this.thru(ta)},Hn.prototype.toJSON=Hn.prototype.valueOf=Hn.prototype.value=function(){return gi(this.__wrapped__,this.__actions__)},Hn.prototype.first=Hn.prototype.head,Ke&&(Hn.prototype[Ke]=function(){return this}),Hn}();gt._=vn,(r=function(){return vn}.call(t,n,t,e))===i||(e.exports=r)}.call(this)},666:function(e){var t=function(e){"use strict";var t,n=Object.prototype,r=n.hasOwnProperty,i=Object.defineProperty||function(e,t,n){e[t]=n.value},o="function"==typeof Symbol?Symbol:{},a=o.iterator||"@@iterator",s=o.asyncIterator||"@@asyncIterator",l=o.toStringTag||"@@toStringTag";function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,n){return e[t]=n}}function u(e,t,n,r){var o=t&&t.prototype instanceof y?t:y,a=Object.create(o.prototype),s=new M(r||[]);return i(a,"_invoke",{value:E(e,n,s)}),a}function d(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=u;var h="suspendedStart",f="suspendedYield",p="executing",g="completed",m={};function y(){}function v(){}function w(){}var b={};c(b,a,(function(){return this}));var C=Object.getPrototypeOf,S=C&&C(C(D([])));S&&S!==n&&r.call(S,a)&&(b=S);var A=w.prototype=y.prototype=Object.create(b);function _(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function T(e,t){function n(i,o,a,s){var l=d(e[i],e,o);if("throw"!==l.type){var c=l.arg,u=c.value;return u&&"object"==typeof u&&r.call(u,"__await")?t.resolve(u.__await).then((function(e){n("next",e,a,s)}),(function(e){n("throw",e,a,s)})):t.resolve(u).then((function(e){c.value=e,a(c)}),(function(e){return n("throw",e,a,s)}))}s(l.arg)}var o;i(this,"_invoke",{value:function(e,r){function i(){return new t((function(t,i){n(e,r,t,i)}))}return o=o?o.then(i,i):i()}})}function E(e,t,n){var r=h;return function(i,o){if(r===p)throw new Error("Generator is already running");if(r===g){if("throw"===i)throw o;return k()}for(n.method=i,n.arg=o;;){var a=n.delegate;if(a){var s=x(a,n);if(s){if(s===m)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===h)throw r=g,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=p;var l=d(e,t,n);if("normal"===l.type){if(r=n.done?g:f,l.arg===m)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r=g,n.method="throw",n.arg=l.arg)}}}function x(e,n){var r=n.method,i=e.iterator[r];if(i===t)return n.delegate=null,"throw"===r&&e.iterator.return&&(n.method="return",n.arg=t,x(e,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),m;var o=d(i,e.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,m;var a=o.arg;return a?a.done?(n[e.resultName]=a.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,m):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,m)}function I(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 O(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function M(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(I,this),this.reset(!0)}function D(e){if(e){var n=e[a];if(n)return n.call(e);
2if("function"==typeof e.next)return e;if(!isNaN(e.length)){var i=-1,o=function n(){for(;++i<e.length;)if(r.call(e,i))return n.value=e[i],n.done=!1,n;return n.value=t,n.done=!0,n};return o.next=o}}return{next:k}}function k(){return{value:t,done:!0}}return v.prototype=w,i(A,"constructor",{value:w,configurable:!0}),i(w,"constructor",{value:v,configurable:!0}),v.displayName=c(w,l,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===v||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,w):(e.__proto__=w,c(e,l,"GeneratorFunction")),e.prototype=Object.create(A),e},e.awrap=function(e){return{__await:e}},_(T.prototype),c(T.prototype,s,(function(){return this})),e.AsyncIterator=T,e.async=function(t,n,r,i,o){void 0===o&&(o=Promise);var a=new T(u(t,n,r,i),o);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},_(A),c(A,l,"Generator"),c(A,a,(function(){return this})),c(A,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},e.values=D,M.prototype={constructor:M,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(O),!e)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function i(r,i){return s.type="throw",s.arg=e,n.next=r,i&&(n.method="next",n.arg=t),!!i}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],s=a.completion;if("root"===a.tryLoc)return i("end");if(a.tryLoc<=this.prev){var l=r.call(a,"catchLoc"),c=r.call(a,"finallyLoc");if(l&&c){if(this.prev<a.catchLoc)return i(a.catchLoc,!0);if(this.prev<a.finallyLoc)return i(a.finallyLoc)}else if(l){if(this.prev<a.catchLoc)return i(a.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return i(a.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var i=this.tryEntries[n];if(i.tryLoc<=this.prev&&r.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=e,a.arg=t,o?(this.method="next",this.next=o.finallyLoc,m):this.complete(a)},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),m},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),O(n),m}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;O(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:D(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),m}},e}(e.exports);try{regeneratorRuntime=t}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=t:Function("r","regeneratorRuntime = r")(t)}},934:function(e,t,n){e.exports=function(){"use strict";var e=Object.freeze({}),t=Array.isArray;function r(e){return null==e}function i(e){return null!=e}function o(e){return!0===e}function a(e){return"string"==typeof e||"number"==typeof e||"symbol"==typeof e||"boolean"==typeof e}function s(e){return"function"==typeof e}function l(e){return null!==e&&"object"==typeof e}var c=Object.prototype.toString;function u(e){return"[object Object]"===c.call(e)}function d(e){var t=parseFloat(String(e));return t>=0&&Math.floor(t)===t&&isFinite(e)}function h(e){return i(e)&&"function"==typeof e.then&&"function"==typeof e.catch}function f(e){return null==e?"":Array.isArray(e)||u(e)&&e.toString===c?JSON.stringify(e,null,2):String(e)}function p(e){var t=parseFloat(e);return isNaN(t)?e:t}function g(e,t){for(var n=Object.create(null),r=e.split(","),i=0;i<r.length;i++)n[r[i]]=!0;return t?function(e){return n[e.toLowerCase()]}:function(e){return n[e]}}var m=g("slot,component",!0),y=g("key,ref,slot,slot-scope,is");function v(e,t){var n=e.length;if(n){if(t===e[n-1])return void(e.length=n-1);var r=e.indexOf(t);if(r>-1)return e.splice(r,1)}}var w=Object.prototype.hasOwnProperty;function b(e,t){return w.call(e,t)}function C(e){var t=Object.create(null);return function(n){return t[n]||(t[n]=e(n))}}var S=/-(\w)/g,A=C((function(e){return e.replace(S,(function(e,t){return t?t.toUpperCase():""}))})),_=C((function(e){return e.charAt(0).toUpperCase()+e.slice(1)})),T=/\B([A-Z])/g,E=C((function(e){return e.replace(T,"-$1").toLowerCase()})),x=Function.prototype.bind?function(e,t){return e.bind(t)}:function(e,t){function n(n){var r=arguments.length;return r?r>1?e.apply(t,arguments):e.call(t,n):e.call(t)}return n._length=e.length,n};function I(e,t){t=t||0;for(var n=e.length-t,r=new Array(n);n--;)r[n]=e[n+t];return r}function O(e,t){for(var n in t)e[n]=t[n];return e}function M(e){for(var t={},n=0;n<e.length;n++)e[n]&&O(t,e[n]);return t}function D(e,t,n){}var k=function(e,t,n){return!1},N=function(e){return e};function P(e,t){if(e===t)return!0;var n=l(e),r=l(t);if(!n||!r)return!n&&!r&&String(e)===String(t);try{var i=Array.isArray(e),o=Array.isArray(t);if(i&&o)return e.length===t.length&&e.every((function(e,n){return P(e,t[n])}));if(e instanceof Date&&t instanceof Date)return e.getTime()===t.getTime();if(i||o)return!1;var a=Object.keys(e),s=Object.keys(t);return a.length===s.length&&a.every((function(n){return P(e[n],t[n])}))}catch(e){return!1}}function R(e,t){for(var n=0;n<e.length;n++)if(P(e[n],t))return n;return-1}function L(e){var t=!1;return function(){t||(t=!0,e.apply(this,arguments))}}function $(e,t){return e===t?0===e&&1/e!=1/t:e==e||t==t}var j="data-server-rendered",B=["component","directive","filter"],F=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated","errorCaptured","
2serverPrefetch","renderTracked","renderTriggered"],H={optionMergeStrategies:Object.create(null),silent:!1,productionTip:!1,devtools:!1,performance:!1,errorHandler:null,warnHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:k,isReservedAttr:k,isUnknownElement:k,getTagNamespace:D,parsePlatformTagName:N,mustUseProp:k,async:!0,_lifecycleHooks:F},U=/a-zA-Z\u00B7\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u037D\u037F-\u1FFF\u200C-\u200D\u203F-\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD/;function z(e){var t=(e+"").charCodeAt(0);return 36===t||95===t}function V(e,t,n,r){Object.defineProperty(e,t,{value:n,enumerable:!!r,writable:!0,configurable:!0})}var W=new RegExp("[^".concat(U.source,".$_\\d]")),G="__proto__"in{},q="undefined"!=typeof window,Y=q&&window.navigator.userAgent.toLowerCase(),X=Y&&/msie|trident/.test(Y),Z=Y&&Y.indexOf("msie 9.0")>0,Q=Y&&Y.indexOf("edge/")>0;Y&&Y.indexOf("android");var K=Y&&/iphone|ipad|ipod|ios/.test(Y);Y&&/chrome\/\d+/.test(Y),Y&&/phantomjs/.test(Y);var J,ee=Y&&Y.match(/firefox\/(\d+)/),te={}.watch,ne=!1;if(q)try{var re={};Object.defineProperty(re,"passive",{get:function(){ne=!0}}),window.addEventListener("test-passive",null,re)}catch(e){}var ie=function(){return void 0===J&&(J=!q&&void 0!==n.g&&n.g.process&&"server"===n.g.process.env.VUE_ENV),J},oe=q&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function ae(e){return"function"==typeof e&&/native code/.test(e.toString())}var se,le="undefined"!=typeof Symbol&&ae(Symbol)&&"undefined"!=typeof Reflect&&ae(Reflect.ownKeys);se="undefined"!=typeof Set&&ae(Set)?Set:function(){function e(){this.set=Object.create(null)}return e.prototype.has=function(e){return!0===this.set[e]},e.prototype.add=function(e){this.set[e]=!0},e.prototype.clear=function(){this.set=Object.create(null)},e}();var ce=null;function ue(e){void 0===e&&(e=null),e||ce&&ce._scope.off(),ce=e,e&&e._scope.on()}var de=function(){function e(e,t,n,r,i,o,a,s){this.tag=e,this.data=t,this.children=n,this.text=r,this.elm=i,this.ns=void 0,this.context=o,this.fnContext=void 0,this.fnOptions=void 0,this.fnScopeId=void 0,this.key=t&&t.key,this.componentOptions=a,this.componentInstance=void 0,this.parent=void 0,this.raw=!1,this.isStatic=!1,this.isRootInsert=!0,this.isComment=!1,this.isCloned=!1,this.isOnce=!1,this.asyncFactory=s,this.asyncMeta=void 0,this.isAsyncPlaceholder=!1}return Object.defineProperty(e.prototype,"child",{get:function(){return this.componentInstance},enumerable:!1,configurable:!0}),e}(),he=function(e){void 0===e&&(e="");var t=new de;return t.text=e,t.isComment=!0,t};function fe(e){return new de(void 0,void 0,void 0,String(e))}function pe(e){var t=new de(e.tag,e.data,e.children&&e.children.slice(),e.text,e.elm,e.context,e.componentOptions,e.asyncFactory);return t.ns=e.ns,t.isStatic=e.isStatic,t.key=e.key,t.isComment=e.isComment,t.fnContext=e.fnContext,t.fnOptions=e.fnOptions,t.fnScopeId=e.fnScopeId,t.asyncMeta=e.asyncMeta,t.isCloned=!0,t}var ge=0,me=[],ye=function(){function e(){this._pending=!1,this.id=ge++,this.subs=[]}return e.prototype.addSub=function(e){this.subs.push(e)},e.prototype.removeSub=function(e){this.subs[this.subs.indexOf(e)]=null,this._pending||(this._pending=!0,me.push(this))}
2,e.prototype.depend=function(t){e.target&&e.target.addDep(this)},e.prototype.notify=function(e){for(var t=this.subs.filter((function(e){return e})),n=0,r=t.length;n<r;n++)t[n].update()},e}();ye.target=null;var ve=[];function we(e){ve.push(e),ye.target=e}function be(){ve.pop(),ye.target=ve[ve.length-1]}var Ce=Array.prototype,Se=Object.create(Ce);["push","pop","shift","unshift","splice","sort","reverse"].forEach((function(e){var t=Ce[e];V(Se,e,(function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];var i,o=t.apply(this,n),a=this.__ob__;switch(e){case"push":case"unshift":i=n;break;case"splice":i=n.slice(2)}return i&&a.observeArray(i),a.dep.notify(),o}))}));var Ae=Object.getOwnPropertyNames(Se),_e={},Te=!0;function Ee(e){Te=e}var xe={notify:D,depend:D,addSub:D,removeSub:D},Ie=function(){function e(e,n,r){if(void 0===n&&(n=!1),void 0===r&&(r=!1),this.value=e,this.shallow=n,this.mock=r,this.dep=r?xe:new ye,this.vmCount=0,V(e,"__ob__",this),t(e)){if(!r)if(G)e.__proto__=Se;else for(var i=0,o=Ae.length;i<o;i++)V(e,s=Ae[i],Se[s]);n||this.observeArray(e)}else{var a=Object.keys(e);for(i=0;i<a.length;i++){var s;Me(e,s=a[i],_e,void 0,n,r)}}}return e.prototype.observeArray=function(e){for(var t=0,n=e.length;t<n;t++)Oe(e[t],!1,this.mock)},e}();function Oe(e,n,r){return e&&b(e,"__ob__")&&e.__ob__ instanceof Ie?e.__ob__:!Te||!r&&ie()||!t(e)&&!u(e)||!Object.isExtensible(e)||e.__v_skip||Fe(e)||e instanceof de?void 0:new Ie(e,n,r)}function Me(e,n,r,i,o,a){var s=new ye,l=Object.getOwnPropertyDescriptor(e,n);if(!l||!1!==l.configurable){var c=l&&l.get,u=l&&l.set;c&&!u||r!==_e&&2!==arguments.length||(r=e[n]);var d=!o&&Oe(r,!1,a);return Object.defineProperty(e,n,{enumerable:!0,configurable:!0,get:function(){var n=c?c.call(e):r;return ye.target&&(s.depend(),d&&(d.dep.depend(),t(n)&&Ne(n))),Fe(n)&&!o?n.value:n},set:function(t){var n=c?c.call(e):r;if($(n,t)){if(u)u.call(e,t);else{if(c)return;if(!o&&Fe(n)&&!Fe(t))return void(n.value=t);r=t}d=!o&&Oe(t,!1,a),s.notify()}}}),s}}function De(e,n,r){if(!je(e)){var i=e.__ob__;return t(e)&&d(n)?(e.length=Math.max(e.length,n),e.splice(n,1,r),i&&!i.shallow&&i.mock&&Oe(r,!1,!0),r):n in e&&!(n in Object.prototype)?(e[n]=r,r):e._isVue||i&&i.vmCount?r:i?(Me(i.value,n,r,void 0,i.shallow,i.mock),i.dep.notify(),r):(e[n]=r,r)}}function ke(e,n){if(t(e)&&d(n))e.splice(n,1);else{var r=e.__ob__;e._isVue||r&&r.vmCount||je(e)||b(e,n)&&(delete e[n],r&&r.dep.notify())}}function Ne(e){for(var n=void 0,r=0,i=e.length;r<i;r++)(n=e[r])&&n.__ob__&&n.__ob__.dep.depend(),t(n)&&Ne(n)}function Pe(e){return Re(e,!0),V(e,"__v_isShallow",!0),e}function Re(e,t){je(e)||Oe(e,t,ie())}function Le(e){return je(e)?Le(e.__v_raw):!(!e||!e.__ob__)}function $e(e){return!(!e||!e.__v_isShallow)}function je(e){return!(!e||!e.__v_isReadonly)}var Be="__v_isRef";function Fe(e){return!(!e||!0!==e.__v_isRef)}function He(e,t){if(Fe(e))return e;var n={};return V(n,Be,!0),V(n,"__v_isShallow",t),V(n,"dep",Me(n,"value",e,null,t,ie())),n}function Ue(e,t,n){Object.defineProperty(e,n,{enumerable:!0,configurable:!0,get:function(){var e=t[n];if(Fe(e))return e.value;var r=e&&e.__ob__;return r&&r.dep.depend(),e},set:function(e){var r=t[n];Fe(r)&&!Fe(e)?r.value=e:t[n]=e}})}function ze(e,t,n){var r=e[t];if(Fe(r))return r;var i={get value(){var r=e[t];return void 0===r?n:r},set value(n){e[t]=n}};return V(i,Be,!0),i}function Ve(e){return We(e,!1)}function We(e,t){if(!u(e))return e;if(je(e))return e;var n=t?"__v_rawToShallowReadonly":"__v_rawToReadonly",r=e[n];if(r)return r;var i=Object.create(Object.getPrototypeOf(e));V(e,n,i),V(i,"__v_isReadonly",!0),V(i,"__v_raw",e),Fe(e)&&V(i,Be,!0),(t||$e(e))&&V(i,"__v_isShallow",!0);for(var o=Object.keys(e),a=0;a<o.length;a++)Ge(i,e,o[a],t);return i}function Ge(e,t,n,r){Object.defineProperty(e,n,{enumerable:!0,configurable:!0,get:function(){var e=t[n];return r||!u(e)?e:Ve(e)},set:function(){}})}var qe=C((function(e){var t="&"===e.charAt(0),n="~"===(e=t?e.slice(1):e).charAt(0),r="!"===(e=n?e.slice(1):e).charAt(0);return{name:e=r?e.slice(1):e,once:n,capture:r,passive:t}}));function Ye(e,n){function r(){var e=r.fns;if(!t(e))return pn(e,null,arguments,n,"v-on handler");for(var i=e.slice(),o=0;o<i.length;o++)pn(i[o],null,arguments,n,"v-on handler")}return r.fns=e,r}function Xe(e,t,n,i,a,s){var l,c,u,d;for(l in e)c=e[l],u=t[l],d=qe(l),r(c)||(r(u)?(r(c.fns)&&(c=e[l]=Ye(c,s)),o(d.once)&&(c=e[l]=a(d.name,c,d.capture)),n(d.name,c,d.capture,d.passive,d.params)):c!==u&&(u.fns=c,e[l]=u));for(l in t)r(e[l])&&i((d=qe(l)).name,t[l],d.capture)}function Ze(e,t,n){var a;e instanceof de&&(e=e.data.hook||(e.data.hook={}));var s=e[t];function l(){n.apply(this,arguments),v(a.fns,l)}r(s)?a=Ye([l]):i(s.fns)&&o(s.merged)?(a=s).fns.push(l):a=Ye([s,l]),a.merged=!0,e[t]=a}function Qe(e,t,n,r,o){if(i(t)){if(b(t,n))return e[n]=t[n],o||delete t[n],!0;if(b(t,r))return e[n]=t[r],o||delete t[r],!0}return!1}function Ke(e){return a(e)?[fe(e)]:t(e)?et(e):void 0}function Je(e){return i(e)&&i(e.text)&&!1===e.isComment}function et(e,n){var s,l,c,u,d=[];for(s=0;s<e.length;s++)r(l=e[s])||"boolean"==typeof l||(u=d[c=d.length-1],t(l)?l.length>0&&(Je((l=et(l,"".concat(n||"","_").concat(s)))[0])&&Je(u)&&(d[c]=fe(u.text+l[0].text),l.shift()),d.push.apply(d,l)):a(l)?Je(u)?d[c]=fe(u.text+l):""!==l&&d.push(fe(l)):Je(l)&&Je(u)?d[c]=fe(u.text+l.text):(o(e._isVList)&&i(l.tag)&&r(l.key)&&i(n)&&(l.key="__vlist".concat(n,"_").concat(s,"__")),d.push(l)));return d}function tt(e,n,r,c,u,d){return(t(r)||a(r))&&(u=c,c=r,r=void 0),o(d)&&(u=2),function(e,n,r,o,a){if(i(r)&&i(r.__ob__))return he();if(i(r)&&i(r.is)&&(n=r.is),!n)return he();var c,u;if(t(o)&&s(o[0])&&((r=r||{}).scopedSlots={default:o[0]},o.length=0),2===a?o=Ke(o):1===a&&(o=function(e){for(var n=0;n<e.length;n++)if(t(e[n]))return Array.prototype.concat.apply([],e);return e}(o)),"string"==typeof n){var d=void 0;u=e.$vnode&&e.$vnode.ns||H.getTagNamespace(n),c=H.isReservedTag(n)?new de(H.parsePlatformTagName(n),r,o,void 0,void 0,e):r&&r.pre||!i(d=br(e.$options,"components",n))?new de(n,r,o,void 0,void 0,e):ur(d,r,e,o,n)}else c=ur(n,r,e,o);return t(c)?c:i(c)?(i(u)&&nt(c,u),i(r)&&function(e){l(e.style)&&zn(e.style),l(e.class)&&zn(e.class)}(r),c):he()}(e,n,r,c,u)}function nt(e,t,n){if(e.ns=t,"foreignObject"===e.tag&&(t=void 0,n=!0),i(e.children))for(var a=0,s=e.children.length;a<s;a++){var l=e.children[a];i(l.tag)&&(r(l.ns)||o(n)&&"svg"!==l.tag)&&nt(l,t,n)}}function rt(e,n){var r,o,a,s,c=null;if(t(e)||"string"==typeof e)for(c=new Array(e.length),r=0,o=e.length;r<o;r++)c[r]=n(e[r],r);else if("number"==typeof e)for(c=new Array(e),r=0;r<e;r++)c[r]=n(r+1,r);else if(l(e))if(le&&e[Symbol.iterator]){c=[];for(var u=e[Symbol.iterator](),d=u.next();!d.done;)c.push(n(d.value,c.length)),d=u.next()}else for(a=Object.keys(e),c=new Array(a.length),r=0,o=a.length;r<o;r++)s=a[r],c[r]=n(e[s],s,r);return i(c)||(c=[]),c._isVList=!0,c}function it(e,t,n,r){var i,o=this.$scopedSlots[e];o?(n=n||{},r&&(n=O(O({},r),n)),i=o(n)||(s(t)?t():t)):i=this.$slots[e]||(s(t)?t():t);var a=n&&n.slot;return a?this.$createElement("template",{slot:a},i):i}function ot(e){return br(this.$options,"filters",e)||N}function at(e,n){return t(e)?-1===e.indexOf(n):e!==n}function st(e,t,n,r,i){var o=H.keyCodes[t]||n;return i&&r&&!H.keyCodes[t]?at(i,r):o?at(o,e):r?E(r)!==t:void 0===e}function lt(e,n,r,i,o){if(r&&l(r)){t(r)&&(r=M(r));var a=void 0,s=function(t){if("class"===t||"style"===t||y(t))a=e;else{var s=e.attrs&&e.attrs.type;a=i||H.mustUseProp(n,s,t)?e.domProps||(e.domProps={}):e.attrs||(e.attrs={})}var l=A(t),c=E(t);l in a||c in a||(a[t]=r[t],o&&((e.on||(e.on={}))["update:".concat(t)]=function(e){r[t]=e}))};for(var c in r)s(c)}return e}function ct(e,t){var n=this._staticTrees||(this._staticTrees=[]),r=n[e];return r&&!t||dt(r=n[e]=this.$options.staticRenderFns[e].call(this._renderProxy,this._c,this),"__static__".concat(e),!1),r}function ut(e,t,n){return dt(e,"__once__".concat(t).concat(n?"_".concat(n):""),!0),e}function dt(e,n,r){if(t(e))for(var i=0;i<e.length;i++)e[i]&&"string"!=typeof e[i]&&ht(e[i],"".concat(n,"_").concat(i),r);else ht(e,n,r)}function ht(e,t,n){e.isStatic=!0,e.key=t,e.isOnce=n}function ft(e,t){if(t&&u(t)){var n=e.on=e.on?O({},e.on):{};for(var r in t){var i=n[r],o=t[r];n[r]=i?[].concat(i,o):o}}return e}function pt(e,n,r,i){n=n||{$stable:!r};for(var o=0;o<e.length;o++){var a=e[o];t(a)?pt(a,n,r):a&&(a.proxy&&(a.fn.proxy=!0),n[a.key]=a.fn)}return i&&(n.$key=i),n}function gt(e,t){for(var n=0;n<t.length;n+=2){var r=t[n];"string"==typeof r&&r&&(e[t[n]]=t[n+1])}return e}function mt(e,t){return"string"==typeof e?t+e:e}function yt(e){e._o=ut,e._n=p,e._s=f,e._l=rt,e._t=it,e._q=P,e._i=R,e._m=ct,e._f=ot,e._k=st,e._b=lt,e._v=fe,e._e=he,e._u=pt,e._g=ft,e._d=gt,e._p=mt}function vt(e,t){if(!e||!e.length)return{};for(var n={},r=0,i=e.length;r<i;r++){var o=e[r],a=o.data;if(a&&a.attrs&&a.attrs.slot&&delete a.attrs.slot,o.context!==t&&o.fnContext!==t||!a||null==a.slot)(n.default||(n.default=[])).push(o);else{var s=a.slot,l=n[s]||(n[s]=[]);"template"===o.tag?l.push.apply(l,o.children||[]):l.push(o)}}for(var c in n)n[c].every(wt)&&delete n[c];return n}function wt(e){return e.isComment&&!e.asyncFactory||" "===e.text}function bt(e){return e.isComment&&e.asyncFactory}function Ct(t,n,r,i){var o,a=Object.keys(r).length>0,s=n?!!n.$stable:!a,l=n&&n.$key;if(n){if(n._normalized)return n._normalized;if(s&&i&&i!==e&&l===i.$key&&!a&&!i.$hasNormal)return i;for(var c in o={},n)n[c]&&"$"!==c[0]&&(o[c]=St(t,r,c,n[c]))}else o={};for(var u in r)u in o||(o[u]=At(r,u));return n&&Object.isExtensible(n)&&(n._normalized=o),V(o,"$stable",s),V(o,"$key",l),V(o,"$hasNormal",a),o}function St(e,n,r,i){var o=function(){var n=ce;ue(e);var r=arguments.length?i.apply(null,arguments):i({}),o=(r=r&&"object"==typeof r&&!t(r)?[r]:Ke(r))&&r[0];return ue(n),r&&(!o||1===r.length&&o.isComment&&!bt(o))?void 0:r};return i.proxy&&Object.defineProperty(n,r,{get:o,enumerable:!0,configurable:!0}),o}function At(e,t){return function(){return e[t]}}function _t(t){return{get attrs(){if(!t._attrsProxy){var n=t._attrsProxy={};V(n,"_v_attr_proxy",!0),Tt(n,t.$attrs,e,t,"$attrs")}return t._attrsProxy},get listeners(){return t._listenersProxy||Tt(t._listenersProxy={},t.$listeners,e,t,"$listeners"),t._listenersProxy},get slots(){return function(e){return e._slotsProxy||xt(e._slotsProxy={},e.$scopedSlots),e._slotsProxy}(t)},emit:x(t.$emit,t),expose:function(e){e&&Object.keys(e).forEach((function(n){return Ue(t,e,n)}
2))}}}function Tt(e,t,n,r,i){var o=!1;for(var a in t)a in e?t[a]!==n[a]&&(o=!0):(o=!0,Et(e,a,r,i));for(var a in e)a in t||(o=!0,delete e[a]);return o}function Et(e,t,n,r){Object.defineProperty(e,t,{enumerable:!0,configurable:!0,get:function(){return n[r][t]}})}function xt(e,t){for(var n in t)e[n]=t[n];for(var n in e)n in t||delete e[n]}function It(){var e=ce;return e._setupContext||(e._setupContext=_t(e))}var Ot,Mt,Dt=null;function kt(e,t){return(e.__esModule||le&&"Module"===e[Symbol.toStringTag])&&(e=e.default),l(e)?t.extend(e):e}function Nt(e){if(t(e))for(var n=0;n<e.length;n++){var r=e[n];if(i(r)&&(i(r.componentOptions)||bt(r)))return r}}function Pt(e,t){Ot.$on(e,t)}function Rt(e,t){Ot.$off(e,t)}function Lt(e,t){var n=Ot;return function r(){null!==t.apply(null,arguments)&&n.$off(e,r)}}function $t(e,t,n){Ot=e,Xe(t,n||{},Pt,Rt,Lt,e),Ot=void 0}var jt=function(){function e(e){void 0===e&&(e=!1),this.detached=e,this.active=!0,this.effects=[],this.cleanups=[],this.parent=Mt,!e&&Mt&&(this.index=(Mt.scopes||(Mt.scopes=[])).push(this)-1)}return e.prototype.run=function(e){if(this.active){var t=Mt;try{return Mt=this,e()}finally{Mt=t}}},e.prototype.on=function(){Mt=this},e.prototype.off=function(){Mt=this.parent},e.prototype.stop=function(e){if(this.active){var t=void 0,n=void 0;for(t=0,n=this.effects.length;t<n;t++)this.effects[t].teardown();for(t=0,n=this.cleanups.length;t<n;t++)this.cleanups[t]();if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].stop(!0);if(!this.detached&&this.parent&&!e){var r=this.parent.scopes.pop();r&&r!==this&&(this.parent.scopes[this.index]=r,r.index=this.index)}this.parent=void 0,this.active=!1}},e}();function Bt(){return Mt}var Ft=null;function Ht(e){var t=Ft;return Ft=e,function(){Ft=t}}function Ut(e){for(;e&&(e=e.$parent);)if(e._inactive)return!0;return!1}function zt(e,t){if(t){if(e._directInactive=!1,Ut(e))return}else if(e._directInactive)return;if(e._inactive||null===e._inactive){e._inactive=!1;for(var n=0;n<e.$children.length;n++)zt(e.$children[n]);Wt(e,"activated")}}function Vt(e,t){if(!(t&&(e._directInactive=!0,Ut(e))||e._inactive)){e._inactive=!0;for(var n=0;n<e.$children.length;n++)Vt(e.$children[n]);Wt(e,"deactivated")}}function Wt(e,t,n,r){void 0===r&&(r=!0),we();var i=ce,o=Bt();r&&ue(e);var a=e.$options[t],s="".concat(t," hook");if(a)for(var l=0,c=a.length;l<c;l++)pn(a[l],e,n||null,e,s);e._hasHookEvent&&e.$emit("hook:"+t),r&&(ue(i),o&&o.on()),be()}var Gt=[],qt=[],Yt={},Xt=!1,Zt=!1,Qt=0,Kt=0,Jt=Date.now;if(q&&!X){var en=window.performance;en&&"function"==typeof en.now&&Jt()>document.createEvent("Event").timeStamp&&(Jt=function(){return en.now()})}var tn=function(e,t){if(e.post){if(!t.post)return 1}else if(t.post)return-1;return e.id-t.id};function nn(){var e,t;for(Kt=Jt(),Zt=!0,Gt.sort(tn),Qt=0;Qt<Gt.length;Qt++)(e=Gt[Qt]).before&&e.before(),t=e.id,Yt[t]=null,e.run();var n=qt.slice(),r=Gt.slice();Qt=Gt.length=qt.length=0,Yt={},Xt=Zt=!1,function(e){for(var t=0;t<e.length;t++)e[t]._inactive=!0,zt(e[t],!0)}(n),function(e){for(var t=e.length;t--;){var n=e[t],r=n.vm;r&&r._watcher===n&&r._isMounted&&!r._isDestroyed&&Wt(r,"updated")}}(r),function(){for(var e=0;e<me.length;e++){var t=me[e];t.subs=t.subs.filter((function(e){return e})),t._pending=!1}me.length=0}(),oe&&H.devtools&&oe.emit("flush")}function rn(e){var t=e.id;if(null==Yt[t]&&(e!==ye.target||!e.noRecurse)){if(Yt[t]=!0,Zt){for(var n=Gt.length-1;n>Qt&&Gt[n].id>e.id;)n--;Gt.splice(n+1,0,e)}else Gt.push(e);Xt||(Xt=!0,En(nn))}}var on="watcher",an="".concat(on," callback"),sn="".concat(on," getter"),ln="".concat(on," cleanup");function cn(e,t){return dn(e,null,{flush:"post"})}var un={};function dn(n,r,i){var o=void 0===i?e:i,a=o.immediate,l=o.deep,c=o.flush,u=void 0===c?"pre":c;o.onTrack,o.onTrigger;var d,h,f=ce,p=function(e,t,n){return void 0===n&&(n=null),pn(e,null,n,f,t)},g=!1,m=!1;if(Fe(n)?(d=function(){return n.value},g=$e(n)):Le(n)?(d=function(){return n.__ob__.dep.depend(),n},l=!0):t(n)?(m=!0,g=n.some((function(e){return Le(e)||$e(e)})),d=function(){return n.map((function(e){return Fe(e)?e.value:Le(e)?zn(e):s(e)?p(e,sn):void 0}))}):d=s(n)?r?function(){return p(n,sn)}:function(){if(!f||!f._isDestroyed)return h&&h(),p(n,on,[v])}:D,r&&l){var y=d;d=function(){return zn(y())}}var v=function(e){h=w.onStop=function(){p(e,ln)}};if(ie())return v=D,r?a&&p(r,an,[d(),m?[]:void 0,v]):d(),D;var w=new Gn(ce,d,D,{lazy:!0});w.noRecurse=!r;var b=m?[]:un;return w.run=function(){if(w.active)if(r){var e=w.get();(l||g||(m?e.some((function(e,t){return $(e,b[t])})):$(e,b)))&&(h&&h(),p(r,an,[e,b===un?void 0:b,v]),b=e)}else w.get()},"sync"===u?w.update=w.run:"post"===u?(w.post=!0,w.update=function(){return rn(w)}):w.update=function(){if(f&&f===ce&&!f._isMounted){var e=f._preWatchers||
2(f._preWatchers=[]);e.indexOf(w)<0&&e.push(w)}else rn(w)},r?a?w.run():b=w.get():"post"===u&&f?f.$once("hook:mounted",(function(){return w.get()})):w.get(),function(){w.teardown()}}function hn(e){var t=e._provided,n=e.$parent&&e.$parent._provided;return n===t?e._provided=Object.create(n):t}function fn(e,t,n){we();try{if(t)for(var r=t;r=r.$parent;){var i=r.$options.errorCaptured;if(i)for(var o=0;o<i.length;o++)try{if(!1===i[o].call(r,e,t,n))return}catch(e){gn(e,r,"errorCaptured hook")}}gn(e,t,n)}finally{be()}}function pn(e,t,n,r,i){var o;try{(o=n?e.apply(t,n):e.call(t))&&!o._isVue&&h(o)&&!o._handled&&(o.catch((function(e){return fn(e,r,i+" (Promise/async)")})),o._handled=!0)}catch(e){fn(e,r,i)}return o}function gn(e,t,n){if(H.errorHandler)try{return H.errorHandler.call(null,e,t,n)}catch(t){t!==e&&mn(t)}mn(e)}function mn(e,t,n){if(!q||"undefined"==typeof console)throw e}var yn,vn=!1,wn=[],bn=!1;function Cn(){bn=!1;var e=wn.slice(0);wn.length=0;for(var t=0;t<e.length;t++)e[t]()}if("undefined"!=typeof Promise&&ae(Promise)){var Sn=Promise.resolve();yn=function(){Sn.then(Cn),K&&setTimeout(D)},vn=!0}else if(X||"undefined"==typeof MutationObserver||!ae(MutationObserver)&&"[object MutationObserverConstructor]"!==MutationObserver.toString())yn="undefined"!=typeof setImmediate&&ae(setImmediate)?function(){setImmediate(Cn)}:function(){setTimeout(Cn,0)};else{var An=1,_n=new MutationObserver(Cn),Tn=document.createTextNode(String(An));_n.observe(Tn,{characterData:!0}),yn=function(){An=(An+1)%2,Tn.data=String(An)},vn=!0}function En(e,t){var n;if(wn.push((function(){if(e)try{e.call(t)}catch(e){fn(e,t,"nextTick")}else n&&n(t)})),bn||(bn=!0,yn()),!e&&"undefined"!=typeof Promise)return new Promise((function(e){n=e}))}function xn(e){return function(t,n){if(void 0===n&&(n=ce),n)return function(e,t,n){var r=e.$options;r[t]=mr(r[t],n)}(n,e,t)}}var In=xn("beforeMount"),On=xn("mounted"),Mn=xn("beforeUpdate"),Dn=xn("updated"),kn=xn("beforeDestroy"),Nn=xn("destroyed"),Pn=xn("activated"),Rn=xn("deactivated"),Ln=xn("serverPrefetch"),$n=xn("renderTracked"),jn=xn("renderTriggered"),Bn=xn("errorCaptured"),Fn="2.7.15",Hn=Object.freeze({__proto__:null,version:Fn,defineComponent:function(e){return e},ref:function(e){return He(e,!1)},shallowRef:function(e){return He(e,!0)},isRef:Fe,toRef:ze,toRefs:function(e){var n=t(e)?new Array(e.length):{};for(var r in e)n[r]=ze(e,r);return n},unref:function(e){return Fe(e)?e.value:e},proxyRefs:function(e){if(Le(e))return e;for(var t={},n=Object.keys(e),r=0;r<n.length;r++)Ue(t,e,n[r]);return t},customRef:function(e){var t=new ye,n=e((function(){t.depend()}),(function(){t.notify()})),r=n.get,i=n.set,o={get value(){return r()},set value(e){i(e)}};return V(o,Be,!0),o},triggerRef:function(e){e.dep&&e.dep.notify()},reactive:function(e){return Re(e,!1),e},isReactive:Le,isReadonly:je,isShallow:$e,isProxy:function(e){return Le(e)||je(e)},shallowReactive:Pe,markRaw:function(e){return Object.isExtensible(e)&&V(e,"__v_skip",!0),e},toRaw:function e(t){var n=t&&t.__v_raw;return n?e(n):t},readonly:Ve,shallowReadonly:function(e){return We(e,!0)},computed:function(e,t){var n,r,i=s(e);i?(n=e,r=D):(n=e.get,r=e.set);var o=ie()?null:new Gn(ce,n,D,{lazy:!0}),a={effect:o,get value(){return o?(o.dirty&&o.evaluate(),ye.target&&o.depend(),o.value):n()},set value(e){r(e)}};return V(a,Be,!0),V(a,"__v_isReadonly",i),a},watch:function(e,t,n){return dn(e,t,n)},watchEffect:function(e,t){return dn(e,null,t)},watchPostEffect:cn,watchSyncEffect:function(e,t){return dn(e,null,{flush:"sync"})},EffectScope:jt,effectScope:function(e){return new jt(e)},onScopeDispose:function(e){Mt&&Mt.cleanups.push(e)},getCurrentScope:Bt,provide:function(e,t){ce&&(hn(ce)[e]=t)},inject:function(e,t,n){void 0===n&&(n=!1);var r=ce;if(r){var i=r.$parent&&r.$parent._provided;if(i&&e in i)return i[e];if(arguments.length>1)return n&&s(t)?t.call(r):t}},h:function(e,t,n){return tt(ce,e,t,n,2,!0)},getCurrentInstance:function(){return ce&&{proxy:ce}},useSlots:function(){return It().slots},useAttrs:function(){return It().attrs},useListeners:function(){return It().listeners},mergeDefaults:function(e,n){var r=t(e)?e.reduce((function(e,t){return e[t]={},e}),{}):e;for(var i in n){var o=r[i];o?t(o)||s(o)?r[i]={type:o,default:n[i]}:o.default=n[i]:null===o&&(r[i]={default:n[i]})}return r},nextTick:En,set:De,del:ke,useCssModule:function(t){return e},useCssVars:function(e){if(q){var t=ce;t&&cn((function(){var n=t.$el,r=e(t,t._setupProxy);if(n&&1===n.nodeType){var i=n.style;for(var o in r)i.setProperty("--".concat(o),r[o])}}))}},defineAsyncComponent:function(e){s(e)&&(e={loader:e});var t=e.loader,n=e.loadingComponent,r=e.errorComponent,i=e.delay,o=void 0===i?200:i,a=e.timeout;e.suspensible;var l=e.onError,c=null,u=0,d=function(){var e;return c||(e=c=t().catch((function(e){if(e=e instanceof Error?e:new Error(String(e)),l)return new Promise((function(t,n){l(e,(function(){return t((u++,c=null,d()))}),(function(){return n(e)}),u+1)}));throw e}
2)).then((function(t){return e!==c&&c?c:(t&&(t.__esModule||"Module"===t[Symbol.toStringTag])&&(t=t.default),t)})))};return function(){return{component:d(),delay:o,timeout:a,error:r,loading:n}}},onBeforeMount:In,onMounted:On,onBeforeUpdate:Mn,onUpdated:Dn,onBeforeUnmount:kn,onUnmounted:Nn,onActivated:Pn,onDeactivated:Rn,onServerPrefetch:Ln,onRenderTracked:$n,onRenderTriggered:jn,onErrorCaptured:function(e,t){void 0===t&&(t=ce),Bn(e,t)}}),Un=new se;function zn(e){return Vn(e,Un),Un.clear(),e}function Vn(e,n){var r,i,o=t(e);if(!(!o&&!l(e)||e.__v_skip||Object.isFrozen(e)||e instanceof de)){if(e.__ob__){var a=e.__ob__.dep.id;if(n.has(a))return;n.add(a)}if(o)for(r=e.length;r--;)Vn(e[r],n);else if(Fe(e))Vn(e.value,n);else for(r=(i=Object.keys(e)).length;r--;)Vn(e[i[r]],n)}}var Wn=0,Gn=function(){function e(e,t,n,r,i){!function(e,t){void 0===t&&(t=Mt),t&&t.active&&t.effects.push(e)}(this,Mt&&!Mt._vm?Mt:e?e._scope:void 0),(this.vm=e)&&i&&(e._watcher=this),r?(this.deep=!!r.deep,this.user=!!r.user,this.lazy=!!r.lazy,this.sync=!!r.sync,this.before=r.before):this.deep=this.user=this.lazy=this.sync=!1,this.cb=n,this.id=++Wn,this.active=!0,this.post=!1,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new se,this.newDepIds=new se,this.expression="",s(t)?this.getter=t:(this.getter=function(e){if(!W.test(e)){var t=e.split(".");return function(e){for(var n=0;n<t.length;n++){if(!e)return;e=e[t[n]]}return e}}}(t),this.getter||(this.getter=D)),this.value=this.lazy?void 0:this.get()}return e.prototype.get=function(){var e;we(this);var t=this.vm;try{e=this.getter.call(t,t)}catch(e){if(!this.user)throw e;fn(e,t,'getter for watcher "'.concat(this.expression,'"'))}finally{this.deep&&zn(e),be(),this.cleanupDeps()}return e},e.prototype.addDep=function(e){var t=e.id;this.newDepIds.has(t)||(this.newDepIds.add(t),this.newDeps.push(e),this.depIds.has(t)||e.addSub(this))},e.prototype.cleanupDeps=function(){for(var e=this.deps.length;e--;){var t=this.deps[e];this.newDepIds.has(t.id)||t.removeSub(this)}var n=this.depIds;this.depIds=this.newDepIds,this.newDepIds=n,this.newDepIds.clear(),n=this.deps,this.deps=this.newDeps,this.newDeps=n,this.newDeps.length=0},e.prototype.update=function(){this.lazy?this.dirty=!0:this.sync?this.run():rn(this)},e.prototype.run=function(){if(this.active){var e=this.get();if(e!==this.value||l(e)||this.deep){var t=this.value;if(this.value=e,this.user){var n='callback for watcher "'.concat(this.expression,'"');pn(this.cb,this.vm,[e,t],this.vm,n)}else this.cb.call(this.vm,e,t)}}},e.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1}
2,e.prototype.depend=function(){for(var e=this.deps.length;e--;)this.deps[e].depend()},e.prototype.teardown=function(){if(this.vm&&!this.vm._isBeingDestroyed&&v(this.vm._scope.effects,this),this.active){for(var e=this.deps.length;e--;)this.deps[e].removeSub(this);this.active=!1,this.onStop&&this.onStop()}},e}(),qn={enumerable:!0,configurable:!0,get:D,set:D};function Yn(e,t,n){qn.get=function(){return this[t][n]},qn.set=function(e){this[t][n]=e},Object.defineProperty(e,n,qn)}function Xn(e){var n=e.$options;if(n.props&&function(e,t){var n=e.$options.propsData||{},r=e._props=Pe({}),i=e.$options._propKeys=[];e.$parent&&Ee(!1);var o=function(o){i.push(o);var a=Cr(o,t,n,e);Me(r,o,a),o in e||Yn(e,"_props",o)};for(var a in t)o(a);Ee(!0)}(e,n.props),function(e){var t=e.$options,n=t.setup;if(n){var r=e._setupContext=_t(e);ue(e),we();var i=pn(n,null,[e._props||Pe({}),r],e,"setup");if(be(),ue(),s(i))t.render=i;else if(l(i))if(e._setupState=i,i.__sfc){var o=e._setupProxy={};for(var a in i)"__sfc"!==a&&Ue(o,i,a)}else for(var a in i)z(a)||Ue(e,i,a)}}(e),n.methods&&function(e,t){for(var n in e.$options.props,t)e[n]="function"!=typeof t[n]?D:x(t[n],e)}(e,n.methods),n.data)!function(e){var t=e.$options.data;u(t=e._data=s(t)?function(e,t){we();try{return e.call(t,t)}catch(e){return fn(e,t,"data()"),{}}finally{be()}}(t,e):t||{})||(t={});var n=Object.keys(t),r=e.$options.props;e.$options.methods;for(var i=n.length;i--;){var o=n[i];r&&b(r,o)||z(o)||Yn(e,"_data",o)}var a=Oe(t);a&&a.vmCount++}(e);else{var r=Oe(e._data={});r&&r.vmCount++}n.computed&&function(e,t){var n=e._computedWatchers=Object.create(null),r=ie();for(var i in t){var o=t[i],a=s(o)?o:o.get;r||(n[i]=new Gn(e,a||D,D,Zn)),i in e||Qn(e,i,o)}}(e,n.computed),n.watch&&n.watch!==te&&function(e,n){for(var r in n){var i=n[r];if(t(i))for(var o=0;o<i.length;o++)er(e,r,i[o]);else er(e,r,i)}}(e,n.watch)}var Zn={lazy:!0};function Qn(e,t,n){var r=!ie();s(n)?(qn.get=r?Kn(t):Jn(n),qn.set=D):(qn.get=n.get?r&&!1!==n.cache?Kn(t):Jn(n.get):D,qn.set=n.set||D),Object.defineProperty(e,t,qn)}function Kn(e){return function(){var t=this._computedWatchers&&this._computedWatchers[e];if(t)return t.dirty&&t.evaluate(),ye.target&&t.depend(),t.value}}function Jn(e){return function(){return e.call(this,this)}}function er(e,t,n,r){return u(n)&&(r=n,n=n.handler),"string"==typeof n&&(n=e[n]),e.$watch(t,n,r)}function tr(e,t){if(e){for(var n=Object.create(null),r=le?Reflect.ownKeys(e):Object.keys(e),i=0;i<r.length;i++){var o=r[i];if("__ob__"!==o){var a=e[o].from;if(a in t._provided)n[o]=t._provided[a];else if("default"in e[o]){var l=e[o].default;n[o]=s(l)?l.call(t):l}}}return n}}var nr=0;function rr(e){var t=e.options;if(e.super){var n=rr(e.super);if(n!==e.superOptions){e.superOptions=n;var r=function(e){var t,n=e.options,r=e.sealedOptions;for(var i in n)n[i]!==r[i]&&(t||(t={}),t[i]=n[i]);return t}(e);r&&O(e.extendOptions,r),(t=e.options=wr(n,e.extendOptions)).name&&(t.components[t.name]=e)}}return t}function ir(n,r,i,a,s){var l,c=this,u=s.options;b(a,"_uid")?(l=Object.create(a))._original=a:(l=a,a=a._original);var d=o(u._compiled),h=!d;this.data=n,this.props=r,this.children=i,this.parent=a,this.listeners=n.on||e,this.injections=tr(u.inject,a),this.slots=function(){return c.$slots||Ct(a,n.scopedSlots,c.$slots=vt(i,a)),c.$slots},Object.defineProperty(this,"scopedSlots",{enumerable:!0,get:function(){return Ct(a,n.scopedSlots,this.slots())}}),d&&(this.$options=u,this.$slots=this.slots(),this.$scopedSlots=Ct(a,n.scopedSlots,this.$slots)),u._scopeId?this._c=function(e,n,r,i){var o=tt(l,e,n,r,i,h);return o&&!t(o)&&(o.fnScopeId=u._scopeId,o.fnContext=a),o}:this._c=function(e,t,n,r){return tt(l,e,t,n,r,h)}}function or(e,t,n,r,i){var o=pe(e);return o.fnContext=n,o.fnOptions=r,t.slot&&((o.data||(o.data={})).slot=t.slot),o}function ar(e,t){for(var n in t)e[A(n)]=t[n]}function sr(e){return e.name||e.__name||e._componentTag}yt(ir.prototype);var lr={init:function(e,t){if(e.componentInstance&&!e.componentInstance._isDestroyed&&e.data.keepAlive){var n=e;lr.prepatch(n,n)}else(e.componentInstance=function(e,t){var n={_isComponent:!0,_parentVnode:e,parent:t},r=e.data.inlineTemplate;return i(r)&&(n.render=r.render,n.staticRenderFns=r.staticRenderFns),new e.componentOptions.Ctor(n)}(e,Ft)).$mount(t?e.elm:void 0,t)},prepatch:function(t,n){var r=n.componentOptions;!function(t,n,r,i,o){var a=i.data.scopedSlots,s=t.$scopedSlots,l=!!(a&&!a.$stable||s!==e&&!s.$stable||a&&t.$scopedSlots.$key!==a.$key||!a&&t.$scopedSlots.$key),c=!!(o||t.$options._renderChildren||l),u=t.$vnode;t.$options._parentVnode=i,t.$vnode=i,t._vnode&&(t._vnode.parent=i),t.$options._renderChildren=o;var d=i.data.attrs||e;t._attrsProxy&&Tt(t._attrsProxy,d,u.data&&u.data.attrs||e,t,"$attrs")&&(c=!0),t.$attrs=d,r=r||e;var h=t.$options._parentListeners;if(t._listenersProxy&&Tt(t._listenersProxy,r,h||e,t,"$listeners"),t.$listeners=t.$options._parentListeners=r,$t(t,r,h),n&&t.$options.props){Ee(!1);for(var f=t._props,p=t.$options._propKeys||[],g=0;g<p.length;g++){var m=p[g],y=t.$options.props;f[m]=Cr(m,y,n,t)}Ee(!0),t.$options.propsData=n}c&&(t.$slots=vt(o,i.context),t.$forceUpdate())}(n.componentInstance=t.componentInstance,r.propsData,r.listeners,n,r.children)},insert:function(e){var t,n=e.context,r=e.componentInstance;r._isMounted||(r._isMounted=!0,Wt(r,"mounted")),e.data.keepAlive&&(n._isMounted?((t=r)._inactive=!1,qt.push(t)):zt(r,!0))},destroy:function(e){var t=e.componentInstance;t._isDestroyed||(e.data.keepAlive?Vt(t,!0):t.$destroy())}},cr=Object.keys(lr);function ur(n,a,s,c,u){if(!r(n)){var d=s.$options._base;if(l(n)&&(n=d.extend(n)),"function"==typeof n){var f;if(r(n.cid)&&(n=function(e,t){if(o(e.error)&&i(e.errorComp))return e.errorComp;if(i(e.resolved))return e.resolved;var n=Dt;if(n&&i(e.owners)&&-1===e.owners.indexOf(n)&&e.owners.push(n),o(e.loading)&&i(e.loadingComp))return e.loadingComp;if(n&&!i(e.owners)){var a=e.owners=[n],s=!0,c=null,u=null;n.$on("hook:destroyed",(function(){return v(a,n)}));var d=function(e){for(var t=0,n=a.length;t<n;t++)a[t].$forceUpdate();e&&(a.length=0,null!==c&&(clearTimeout(c),c=null),null!==u&&(clearTimeout(u),u=null))},f=L((function(n){e.resolved=kt(n,t),s?a.length=0:d(!0)})),p=L((function(t){i(e.errorComp)&&(e.error=!0,d(!0))})),g=e(f,p);return l(g)&&(h(g)?r(e.resolved)&&g.then(f,p):h(g.component)&&(g.component.then(f,p),i(g.error)&&(e.errorComp=kt(g.error,t)),i(g.loading)&&(e.loadingComp=kt(g.loading,t),0===g.delay?e.loading=!0:c=setTimeout((function(){c=null,r(e.resolved)&&r(e.error)&&(e.loading=!0,d(!1))}),g.delay||200)),i(g.timeout)&&(u=setTimeout((function(){u=null,r(e.resolved)&&p(null)}),g.timeout)))),s=!1,e.loading?e.loadingComp:e.resolved}}(f=n,d),void 0===n))return function(e,t,n,r,i){var o=he();return o.asyncFactory=e,o.asyncMeta={data:t,context:n,children:r,tag:i},o}(f,a,s,c,u);a=a||{},rr(n),i(a.model)&&function(e,n){var r=e.model&&e.model.prop||"value",o=e.model&&e.model.event||"input";(n.attrs||(n.attrs={}))[r]=n.model.value;var a=n.on||(n.on={}),s=a[o],l=n.model.callback;i(s)?(t(s)?-1===s.indexOf(l):s!==l)&&(a[o]=[l].concat(s)):a[o]=l}(n.options,a);var p=function(e,t,n){var o=t.options.props;if(!r(o)){var a={},s=e.attrs,l=e.props;if(i(s)||i(l))for(var c in o){var u=E(c);Qe(a,l,c,u,!0)||Qe(a,s,c,u,!1)}return a}}(a,n);if(o(n.options.functional))return function(n,r,o,a,s){var l=n.options,c={},u=l.props;
2if(i(u))for(var d in u)c[d]=Cr(d,u,r||e);else i(o.attrs)&&ar(c,o.attrs),i(o.props)&&ar(c,o.props);var h=new ir(o,c,s,a,n),f=l.render.call(null,h._c,h);if(f instanceof de)return or(f,o,h.parent,l);if(t(f)){for(var p=Ke(f)||[],g=new Array(p.length),m=0;m<p.length;m++)g[m]=or(p[m],o,h.parent,l);return g}}(n,p,a,s,c);var g=a.on;if(a.on=a.nativeOn,o(n.options.abstract)){var m=a.slot;a={},m&&(a.slot=m)}!function(e){for(var t=e.hook||(e.hook={}),n=0;n<cr.length;n++){var r=cr[n],i=t[r],o=lr[r];i===o||i&&i._merged||(t[r]=i?dr(o,i):o)}}(a);var y=sr(n.options)||u;return new de("vue-component-".concat(n.cid).concat(y?"-".concat(y):""),a,void 0,void 0,void 0,s,{Ctor:n,propsData:p,listeners:g,tag:u,children:c},f)}}}function dr(e,t){var n=function(n,r){e(n,r),t(n,r)};return n._merged=!0,n}var hr=D,fr=H.optionMergeStrategies;function pr(e,t,n){if(void 0===n&&(n=!0),!t)return e;for(var r,i,o,a=le?Reflect.ownKeys(t):Object.keys(t),s=0;s<a.length;s++)"__ob__"!==(r=a[s])&&(i=e[r],o=t[r],n&&b(e,r)?i!==o&&u(i)&&u(o)&&pr(i,o):De(e,r,o));return e}function gr(e,t,n){return n?function(){var r=s(t)?t.call(n,n):t,i=s(e)?e.call(n,n):e;return r?pr(r,i):i}:t?e?function(){return pr(s(t)?t.call(this,this):t,s(e)?e.call(this,this):e)}:t:e}function mr(e,n){var r=n?e?e.concat(n):t(n)?n:[n]:e;return r?function(e){for(var t=[],n=0;n<e.length;n++)-1===t.indexOf(e[n])&&t.push(e[n]);return t}(r):r}function yr(e,t,n,r){var i=Object.create(e||null);return t?O(i,t):i}fr.data=function(e,t,n){return n?gr(e,t,n):t&&"function"!=typeof t?e:gr(e,t)},F.forEach((function(e){fr[e]=mr})),B.forEach((function(e){fr[e+"s"]=yr})),fr.watch=function(e,n,r,i){if(e===te&&(e=void 0),n===te&&(n=void 0),!n)return Object.create(e||null);if(!e)return n;var o={};for(var a in O(o,e),n){var s=o[a],l=n[a];s&&!t(s)&&(s=[s]),o[a]=s?s.concat(l):t(l)?l:[l]}return o},fr.props=fr.methods=fr.inject=fr.computed=function(e,t,n,r){if(!e)return t;var i=Object.create(null);return O(i,e),t&&O(i,t),i},fr.provide=function(e,t){return e?function(){var n=Object.create(null);return pr(n,s(e)?e.call(this):e),t&&pr(n,s(t)?t.call(this):t,!1),n}:t};var vr=function(e,t){return void 0===t?e:t};function wr(e,n,r){if(s(n)&&(n=n.options),function(e,n){var r=e.props;if(r){var i,o,a={};if(t(r))for(i=r.length;i--;)"string"==typeof(o=r[i])&&(a[A(o)]={type:null});else if(u(r))for(var s in r)o=r[s],a[A(s)]=u(o)?o:{type:o};e.props=a}}(n),function(e,n){var r=e.inject;if(r){var i=e.inject={};if(t(r))for(var o=0;o<r.length;o++)i[r[o]]={from:r[o]};else if(u(r))for(var a in r){var s=r[a];i[a]=u(s)?O({from:a},s):{from:s}}}}(n),function(e){var t=e.directives;if(t)for(var n in t){var r=t[n];s(r)&&(t[n]={bind:r,update:r})}}(n),!n._base&&(n.extends&&(e=wr(e,n.extends,r)),n.mixins))for(var i=0,o=n.mixins.length;i<o;i++)e=wr(e,n.mixins[i],r);var a,l={};for(a in e)c(a);for(a in n)b(e,a)||c(a);function c(t){var i=fr[t]||vr;l[t]=i(e[t],n[t],r,t)}return l}function br(e,t,n,r){if("string"==typeof n){var i=e[t];if(b(i,n))return i[n];var o=A(n);if(b(i,o))return i[o];var a=_(o);return b(i,a)?i[a]:i[n]||i[o]||i[a]}}function Cr(e,t,n,r){var i=t[e],o=!b(n,e),a=n[e],l=Tr(Boolean,i.type);if(l>-1)if(o&&!b(i,"default"))a=!1;else if(""===a||a===E(e)){var c=Tr(String,i.type);(c<0||l<c)&&(a=!0)}if(void 0===a){a=function(e,t,n){if(b(t,"default")){var r=t.default;return e&&e.$options.propsData&&void 0===e.$options.propsData[n]&&void 0!==e._props[n]?e._props[n]:s(r)&&"Function"!==Ar(t.type)?r.call(e):r}}(r,i,e);var u=Te;Ee(!0),Oe(a),Ee(u)}return a}var Sr=/^\s*function (\w+)/;function Ar(e){var t=e&&e.toString().match(Sr);return t?t[1]:""}function _r(e,t){return Ar(e)===Ar(t)}function Tr(e,n){if(!t(n))return _r(n,e)?0:-1;for(var r=0,i=n.length;r<i;r++)if(_r(n[r],e))return r;return-1}function Er(e){this._init(e)}function xr(e){e.cid=0;var t=1;e.extend=function(e){e=e||{};var n=this,r=n.cid,i=e._Ctor||(e._Ctor={});if(i[r])return i[r];var o=sr(e)||sr(n.options),a=function(e){this._init(e)};return(a.prototype=Object.create(n.prototype)).constructor=a,a.cid=t++,a.options=wr(n.options,e),a.super=n,a.options.props&&function(e){var t=e.options.props;for(var n in t)Yn(e.prototype,"_props",n)}(a),a.options.computed&&function(e){var t=e.options.computed;for(var n in t)Qn(e.prototype,n,t[n])}(a),a.extend=n.extend,a.mixin=n.mixin,a.use=n.use,B.forEach((function(e){a[e]=n[e]})),o&&(a.options.components[o]=a),a.superOptions=n.options,a.extendOptions=e,a.sealedOptions=O({},a.options),i[r]=a,a}}function Ir(e){return e&&(sr(e.Ctor.options)||e.tag)}function Or(e,n){return t(e)?e.indexOf(n)>-1:"string"==typeof e?e.split(",").indexOf(n)>-1:(r=e,"[object RegExp]"===c.call(r)&&e.test(n));var r}function Mr(e,t){var n=e.cache,r=e.keys,i=e._vnode;for(var o in n){var a=n[o];if(a){var s=a.name;s&&!t(s)&&Dr(n,o,r,i)}}}function Dr(e,t,n,r){var i=e[t];!i||r&&i.tag===r.tag||i.componentInstance.$destroy(),e[t]=null,v(n,t)}!function(t){t.prototype._init=function(t){var n=this;n._uid=nr++,n._isVue=!0,n.__v_skip=!0,n._scope=new jt(!0),n._scope._vm=!0,t&&t._isComponent?function(e,t){var n=e.$options=Object.create(e.constructor.options),r=t._parentVnode;n.parent=t.parent,n._parentVnode=r;var i=r.componentOptions;n.propsData=i.propsData,n._parentListeners=i.listeners,n._renderChildren=i.children,n._componentTag=i.tag,t.render&&(n.render=t.render,n.staticRenderFns=t.staticRenderFns)}(n,t):n.$options=wr(rr(n.constructor),t||{},n),n._renderProxy=n,n._self=n,function(e){var t=e.$options,n=t.parent;if(n&&!t.abstract){for(;n.$options.abstract&&n.$parent;)n=n.$parent;n.$children.push(e)}e.$parent=n,e.$root=n?n.$root:e,e.$children=[],e.$refs={},e._provided=n?n._provided:Object.create(null),e._watcher=null,e._inactive=null,e._directInactive=!1,e._isMounted=!1,e._isDestroyed=!1,e._isBeingDestroyed=!1}(n),function(e){e._events=Object.create(null),e._hasHookEvent=!1;var t=e.$options._parentListeners;t&&$t(e,t)}(n),function(t){t._vnode=null,t._staticTrees=null;var n=t.$options,r=t.$vnode=n._parentVnode,i=r&&r.context;t.$slots=vt(n._renderChildren,i),t.$scopedSlots=r?Ct(t.$parent,r.data.scopedSlots,t.$slots):e,t._c=function(e,n,r,i){return tt(t,e,n,r,i,!1)},t.$createElement=function(e,n,r,i){return tt(t,e,n,r,i,!0)};var o=r&&r.data;Me(t,"$attrs",o&&o.attrs||e,null,!0),Me(t,"$listeners",n._parentListeners||e,null,!0)}(n),Wt(n,"beforeCreate",void 0,!1),function(e){var t=tr(e.$options.inject,e);t&&(Ee(!1),Object.keys(t).forEach((function(n){Me(e,n,t[n])})),Ee(!0))}(n),Xn(n),function(e){var t=e.$options.provide;if(t){var n=s(t)?t.call(e):t;if(!l(n))return;for(var r=hn(e),i=le?Reflect.ownKeys(n):Object.keys(n),o=0;o<i.length;o++){var a=i[o];Object.defineProperty(r,a,Object.getOwnPropertyDescriptor(n,a))}}}(n),Wt(n,"created"),n.$options.el&&n.$mount(n.$options.el)}}(Er),function(e){var t={get:function(){return this._data}},n={get:function(){return this._props}};Object.defineProperty(e.prototype,"$data",t),Object.defineProperty(e.prototype,"$props",n),e.prototype.$set=De,e.prototype.$delete=ke,e.prototype.$watch=function(e,t,n){var r=this;if(u(t))return er(r,e,t,n);(n=n||{}).user=!0;var i=new Gn(r,e,t,n);if(n.immediate){var o='callback for immediate watcher "'.concat(i.expression,'"');we(),pn(t,r,[i.value],r,o),be()}return function(){i.teardown()}}}(Er),function(e){var n=/^hook:/;e.prototype.$on=function(e,r){var i=this;if(t(e))for(var o=0,a=e.length;o<a;o++)i.$on(e[o],r);else(i._events[e]||(i._events[e]=[])).push(r),n.test(e)&&(i._hasHookEvent=!0);return i},e.prototype.$once=function(e,t){var n=this;function r(){n.$off(e,r),t.apply(n,arguments)}return r.fn=t,n.$on(e,r),n},e.prototype.$off=function(e,n){var r=this;if(!arguments.length)return r._events=Object.create(null),r;if(t(e)){for(var i=0,o=e.length;i<o;i++)r.$off(e[i],n);return r}var a,s=r._events[e];if(!s)return r;if(!n)return r._events[e]=null,r;for(var l=s.length;l--;)if((a=s[l])===n||a.fn===n){s.splice(l,1);break}return r},e.prototype.$emit=function(e){var t=this,n=t._events[e];if(n){n=n.length>1?I(n):n;
2for(var r=I(arguments,1),i='event handler for "'.concat(e,'"'),o=0,a=n.length;o<a;o++)pn(n[o],t,r,t,i)}return t}}(Er),function(e){e.prototype._update=function(e,t){var n=this,r=n.$el,i=n._vnode,o=Ht(n);n._vnode=e,n.$el=i?n.__patch__(i,e):n.__patch__(n.$el,e,t,!1),o(),r&&(r.__vue__=null),n.$el&&(n.$el.__vue__=n);for(var a=n;a&&a.$vnode&&a.$parent&&a.$vnode===a.$parent._vnode;)a.$parent.$el=a.$el,a=a.$parent},e.prototype.$forceUpdate=function(){this._watcher&&this._watcher.update()},e.prototype.$destroy=function(){var e=this;if(!e._isBeingDestroyed){Wt(e,"beforeDestroy"),e._isBeingDestroyed=!0;var t=e.$parent;!t||t._isBeingDestroyed||e.$options.abstract||v(t.$children,e),e._scope.stop(),e._data.__ob__&&e._data.__ob__.vmCount--,e._isDestroyed=!0,e.__patch__(e._vnode,null),Wt(e,"destroyed"),e.$off(),e.$el&&(e.$el.__vue__=null),e.$vnode&&(e.$vnode.parent=null)}}}(Er),function(e){yt(e.prototype),e.prototype.$nextTick=function(e){return En(e,this)},e.prototype._render=function(){var e,n=this,r=n.$options,i=r.render,o=r._parentVnode;o&&n._isMounted&&(n.$scopedSlots=Ct(n.$parent,o.data.scopedSlots,n.$slots,n.$scopedSlots),n._slotsProxy&&xt(n._slotsProxy,n.$scopedSlots)),n.$vnode=o;try{ue(n),Dt=n,e=i.call(n._renderProxy,n.$createElement)}catch(t){fn(t,n,"render"),e=n._vnode}finally{Dt=null,ue()}return t(e)&&1===e.length&&(e=e[0]),e instanceof de||(e=he()),e.parent=o,e}}(Er);var kr=[String,RegExp,Array],Nr={name:"keep-alive",abstract:!0,props:{include:kr,exclude:kr,max:[String,Number]},methods:{cacheVNode:function(){var e=this,t=e.cache,n=e.keys,r=e.vnodeToCache,i=e.keyToCache;if(r){var o=r.tag,a=r.componentInstance,s=r.componentOptions;t[i]={name:Ir(s),tag:o,componentInstance:a},n.push(i),this.max&&n.length>parseInt(this.max)&&Dr(t,n[0],n,this._vnode),this.vnodeToCache=null}}},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){for(var e in this.cache)Dr(this.cache,e,this.keys)},mounted:function(){var e=this;this.cacheVNode(),this.$watch("include",(function(t){Mr(e,(function(e){return Or(t,e)}))}
2)),this.$watch("exclude",(function(t){Mr(e,(function(e){return!Or(t,e)}))}))},updated:function(){this.cacheVNode()},render:function(){var e=this.$slots.default,t=Nt(e),n=t&&t.componentOptions;if(n){var r=Ir(n),i=this.include,o=this.exclude;if(i&&(!r||!Or(i,r))||o&&r&&Or(o,r))return t;var a=this.cache,s=this.keys,l=null==t.key?n.Ctor.cid+(n.tag?"::".concat(n.tag):""):t.key;a[l]?(t.componentInstance=a[l].componentInstance,v(s,l),s.push(l)):(this.vnodeToCache=t,this.keyToCache=l),t.data.keepAlive=!0}return t||e&&e[0]}},Pr={KeepAlive:Nr};!function(e){var t={get:function(){return H}};Object.defineProperty(e,"config",t),e.util={warn:hr,extend:O,mergeOptions:wr,defineReactive:Me},e.set=De,e.delete=ke,e.nextTick=En,e.observable=function(e){return Oe(e),e},e.options=Object.create(null),B.forEach((function(t){e.options[t+"s"]=Object.create(null)})),e.options._base=e,O(e.options.components,Pr),function(e){e.use=function(e){var t=this._installedPlugins||(this._installedPlugins=[]);if(t.indexOf(e)>-1)return this;var n=I(arguments,1);return n.unshift(this),s(e.install)?e.install.apply(e,n):s(e)&&e.apply(null,n),t.push(e),this}}(e),function(e){e.mixin=function(e){return this.options=wr(this.options,e),this}}(e),xr(e),function(e){B.forEach((function(t){e[t]=function(e,n){return n?("component"===t&&u(n)&&(n.name=n.name||e,n=this.options._base.extend(n)),"directive"===t&&s(n)&&(n={bind:n,update:n}),this.options[t+"s"][e]=n,n):this.options[t+"s"][e]}}))}(e)}(Er),Object.defineProperty(Er.prototype,"$isServer",{get:ie}),Object.defineProperty(Er.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(Er,"FunctionalRenderContext",{value:ir}),Er.version=Fn;var Rr=g("style,class"),Lr=g("input,textarea,option,select,progress"),$r=function(e,t,n){return"value"===n&&Lr(e)&&"button"!==t||"selected"===n&&"option"===e||"checked"===n&&"input"===e||"muted"===n&&"video"===e},jr=g("contenteditable,draggable,spellcheck"),Br=g("events,caret,typing,plaintext-only"),Fr=g("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,truespeed,typemustmatch,visible"),Hr="http://www.w3.org/1999/xlink",Ur=function(e){return":"===e.charAt(5)&&"xlink"===e.slice(0,5)},zr=function(e){return Ur(e)?e.slice(6,e.length):""},Vr=function(e){return null==e||!1===e};function Wr(e){for(var t=e.data,n=e,r=e;i(r.componentInstance);)(r=r.componentInstance._vnode)&&r.data&&(t=Gr(r.data,t));for(;i(n=n.parent);)n&&n.data&&(t=Gr(t,n.data));return function(e,t){return i(e)||i(t)?qr(e,Yr(t)):""}(t.staticClass,t.class)}function Gr(e,t){return{staticClass:qr(e.staticClass,t.staticClass),class:i(e.class)?[e.class,t.class]:t.class}}function qr(e,t){return e?t?e+" "+t:e:t||""}function Yr(e){return Array.isArray(e)?function(e){for(var t,n="",r=0,o=e.length;r<o;r++)i(t=Yr(e[r]))&&""!==t&&(n&&(n+=" "),n+=t);return n}(e):l(e)?function(e){var t="";for(var n in e)e[n]&&(t&&(t+=" "),t+=n);return t}(e):"string"==typeof e?e:""}var Xr={svg:"http://www.w3.org/2000/svg",math:"http://www.w3.org/1998/Math/MathML"},Zr=g("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,hgroup,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,rtc,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,menuitem,summary,content,element,shadow,template,blockquote,iframe,tfoot"),Qr=g("svg,animate,circle,clippath,cursor,defs,desc,ellipse,filter,font-face,foreignobject,g,glyph,image,line,marker,mask,missing-glyph,path,pattern,polygon,polyline,rect,switch,symbol,text,textpath,tspan,use,view",!0),Kr=function(e){return Zr(e)||Qr(e)};function Jr(e){return Qr(e)?"svg":"math"===e?"math":void 0}var ei=Object.create(null),ti=g("text,number,password,search,email,tel,url");function ni(e){return"string"==typeof e?document.querySelector(e)||document.createElement("div"):e}var ri=Object.freeze({__proto__:null,createElement:function(e,t){var n=document.createElement(e);return"select"!==e||t.data&&t.data.attrs&&void 0!==t.data.attrs.multiple&&n.setAttribute("multiple","multiple"),n},createElementNS:function(e,t){return document.createElementNS(Xr[e],t)},createTextNode:function(e){return document.createTextNode(e)},createComment:function(e){return document.createComment(e)},insertBefore:function(e,t,n){e.insertBefore(t,n)},removeChild:function(e,t){e.removeChild(t)},appendChild:function(e,t){e.appendChild(t)},parentNode:function(e){return e.parentNode},nextSibling:function(e){return e.nextSibling},tagName:function(e){return e.tagName},setTextContent:function(e,t){e.textContent=t},setStyleScope:function(e,t){e.setAttribute(t,"")}}),ii={create:function(e,t){oi(t)},update:function(e,t){e.data.ref!==t.data.ref&&(oi(e,!0),oi(t))},destroy:function(e){oi(e,!0)}};function oi(e,n){var r=e.data.ref;if(i(r)){var o=e.context,a=e.componentInstance||e.elm,l=n?null:a,c=n?void 0:a;if(s(r))pn(r,o,[l],o,"template ref function");else{var u=e.data.refInFor,d="string"==typeof r||"number"==typeof r,h=Fe(r),f=o.$refs;if(d||h)if(u){var p=d?f[r]:r.value;n?t(p)&&v(p,a):t(p)?p.includes(a)||p.push(a):d?(f[r]=[a],ai(o,r,f[r])):r.value=[a]}else if(d){if(n&&f[r]!==a)return;f[r]=c,ai(o,r,l)}else if(h){if(n&&r.value!==a)return;r.value=l}}}}function ai(e,t,n){var r=e._setupState;r&&b(r,t)&&(Fe(r[t])?r[t].value=n:r[t]=n)}var si=new de("",{},[]),li=["create","activate","update","remove","destroy"];function ci(e,t){return e.key===t.key&&e.asyncFactory===t.asyncFactory&&(e.tag===t.tag&&e.isComment===t.isComment&&i(e.data)===i(t.data)&&function(e,t){if("input"!==e.tag)return!0;var n,r=i(n=e.data)&&i(n=n.attrs)&&n.type,o=i(n=t.data)&&i(n=n.attrs)&&n.type;return r===o||ti(r)&&ti(o)}(e,t)||o(e.isAsyncPlaceholder)&&r(t.asyncFactory.error))}
2function ui(e,t,n){var r,o,a={};for(r=t;r<=n;++r)i(o=e[r].key)&&(a[o]=r);return a}var di={create:hi,update:hi,destroy:function(e){hi(e,si)}};function hi(e,t){(e.data.directives||t.data.directives)&&function(e,t){var n,r,i,o=e===si,a=t===si,s=pi(e.data.directives,e.context),l=pi(t.data.directives,t.context),c=[],u=[];for(n in l)r=s[n],i=l[n],r?(i.oldValue=r.value,i.oldArg=r.arg,mi(i,"update",t,e),i.def&&i.def.componentUpdated&&u.push(i)):(mi(i,"bind",t,e),i.def&&i.def.inserted&&c.push(i));if(c.length){var d=function(){for(var n=0;n<c.length;n++)mi(c[n],"inserted",t,e)};o?Ze(t,"insert",d):d()}if(u.length&&Ze(t,"postpatch",(function(){for(var n=0;n<u.length;n++)mi(u[n],"componentUpdated",t,e)})),!o)for(n in s)l[n]||mi(s[n],"unbind",e,e,a)}(e,t)}var fi=Object.create(null);function pi(e,t){var n,r,i=Object.create(null);if(!e)return i;for(n=0;n<e.length;n++){if((r=e[n]).modifiers||(r.modifiers=fi),i[gi(r)]=r,t._setupState&&t._setupState.__sfc){var o=r.def||br(t,"_setupState","v-"+r.name);r.def="function"==typeof o?{bind:o,update:o}:o}r.def=r.def||br(t.$options,"directives",r.name)}return i}function gi(e){return e.rawName||"".concat(e.name,".").concat(Object.keys(e.modifiers||{}).join("."))}function mi(e,t,n,r,i){var o=e.def&&e.def[t];if(o)try{o(n.elm,e,n,r,i)}catch(r){fn(r,n.context,"directive ".concat(e.name," ").concat(t," hook"))}}var yi=[ii,di];function vi(e,t){var n=t.componentOptions;if(!(i(n)&&!1===n.Ctor.options.inheritAttrs||r(e.data.attrs)&&r(t.data.attrs))){var a,s,l=t.elm,c=e.data.attrs||{},u=t.data.attrs||{};for(a in(i(u.__ob__)||o(u._v_attr_proxy))&&(u=t.data.attrs=O({},u)),u)s=u[a],c[a]!==s&&wi(l,a,s,t.data.pre);for(a in(X||Q)&&u.value!==c.value&&wi(l,"value",u.value),c)r(u[a])&&(Ur(a)?l.removeAttributeNS(Hr,zr(a)):jr(a)||l.removeAttribute(a))}}function wi(e,t,n,r){r||e.tagName.indexOf("-")>-1?bi(e,t,n):Fr(t)?Vr(n)?e.removeAttribute(t):(n="allowfullscreen"===t&&"EMBED"===e.tagName?"true":t,e.setAttribute(t,n)):jr(t)?e.setAttribute(t,function(e,t){return Vr(t)||"false"===t?"false":"contenteditable"===e&&Br(t)?t:"true"}(t,n)):Ur(t)?Vr(n)?e.removeAttributeNS(Hr,zr(t)):e.setAttributeNS(Hr,t,n):bi(e,t,n)}function bi(e,t,n){if(Vr(n))e.removeAttribute(t);else{if(X&&!Z&&"TEXTAREA"===e.tagName&&"placeholder"===t&&""!==n&&!e.__ieph){var r=function(t){t.stopImmediatePropagation(),e.removeEventListener("input",r)};e.addEventListener("input",r),e.__ieph=!0}e.setAttribute(t,n)}}var Ci={create:vi,update:vi};function Si(e,t){var n=t.elm,o=t.data,a=e.data;if(!(r(o.staticClass)&&r(o.class)&&(r(a)||r(a.staticClass)&&r(a.class)))){var s=Wr(t),l=n._transitionClasses;i(l)&&(s=qr(s,Yr(l))),s!==n._prevClass&&(n.setAttribute("class",s),n._prevClass=s)}}var Ai,_i,Ti,Ei,xi,Ii,Oi={create:Si,update:Si},Mi=/[\w).+\-_$\]]/;function Di(e){var t,n,r,i,o,a=!1,s=!1,l=!1,c=!1,u=0,d=0,h=0,f=0;for(r=0;r<e.length;r++)if(n=t,t=e.charCodeAt(r),a)39===t&&92!==n&&(a=!1);else if(s)34===t&&92!==n&&(s=!1);else if(l)96===t&&92!==n&&(l=!1);else if(c)47===t&&92!==n&&(c=!1);else if(124!==t||124===e.charCodeAt(r+1)||124===e.charCodeAt(r-1)||u||d||h){switch(t){case 34:s=!0;break;case 39:a=!0;break;case 96:l=!0;break;case 40:h++;break;case 41:h--;break;case 91:d++;break;case 93:d--;break;case 123:u++;break;case 125:u--}if(47===t){for(var p=r-1,g=void 0;p>=0&&" "===(g=e.charAt(p));p--);g&&Mi.test(g)||(c=!0)}}else void 0===i?(f=r+1,i=e.slice(0,r).trim()):m();function m(){(o||(o=[])).push(e.slice(f,r).trim()),f=r+1}if(void 0===i?i=e.slice(0,r).trim():0!==f&&m(),o)for(r=0;r<o.length;r++)i=ki(i,o[r]);return i}function ki(e,t){var n=t.indexOf("(");if(n<0)return'_f("'.concat(t,'")(').concat(e,")");var r=t.slice(0,n),i=t.slice(n+1);return'_f("'.concat(r,'")(').concat(e).concat(")"!==i?","+i:i)}function Ni(e,t){}function Pi(e,t){return e?e.map((function(e){return e[t]})).filter((function(e){return e})):[]}function Ri(e,t,n,r,i){(e.props||(e.props=[])).push(Vi({name:t,value:n,dynamic:i},r)),e.plain=!1}function Li(e,t,n,r,i){(i?e.dynamicAttrs||(e.dynamicAttrs=[]):e.attrs||(e.attrs=[])).push(Vi({name:t,value:n,dynamic:i},r)),e.plain=!1}
2function $i(e,t,n,r){e.attrsMap[t]=n,e.attrsList.push(Vi({name:t,value:n},r))}function ji(e,t,n,r,i,o,a,s){(e.directives||(e.directives=[])).push(Vi({name:t,rawName:n,value:r,arg:i,isDynamicArg:o,modifiers:a},s)),e.plain=!1}function Bi(e,t,n){return n?"_p(".concat(t,',"').concat(e,'")'):e+t}function Fi(t,n,r,i,o,a,s,l){var c;(i=i||e).right?l?n="(".concat(n,")==='click'?'contextmenu':(").concat(n,")"):"click"===n&&(n="contextmenu",delete i.right):i.middle&&(l?n="(".concat(n,")==='click'?'mouseup':(").concat(n,")"):"click"===n&&(n="mouseup")),i.capture&&(delete i.capture,n=Bi("!",n,l)),i.once&&(delete i.once,n=Bi("~",n,l)),i.passive&&(delete i.passive,n=Bi("&",n,l)),i.native?(delete i.native,c=t.nativeEvents||(t.nativeEvents={})):c=t.events||(t.events={});var u=Vi({value:r.trim(),dynamic:l},s);i!==e&&(u.modifiers=i);var d=c[n];Array.isArray(d)?o?d.unshift(u):d.push(u):c[n]=d?o?[u,d]:[d,u]:u,t.plain=!1}function Hi(e,t,n){var r=Ui(e,":"+t)||Ui(e,"v-bind:"+t);if(null!=r)return Di(r);if(!1!==n){var i=Ui(e,t);if(null!=i)return JSON.stringify(i)}}function Ui(e,t,n){var r;if(null!=(r=e.attrsMap[t]))for(var i=e.attrsList,o=0,a=i.length;o<a;o++)if(i[o].name===t){i.splice(o,1);break}return n&&delete e.attrsMap[t],r}function zi(e,t){for(var n=e.attrsList,r=0,i=n.length;r<i;r++){var o=n[r];if(t.test(o.name))return n.splice(r,1),o}}function Vi(e,t){return t&&(null!=t.start&&(e.start=t.start),null!=t.end&&(e.end=t.end)),e}function Wi(e,t,n){var r=n||{},i=r.number,o="$$v",a=o;r.trim&&(a="(typeof ".concat(o," === 'string'")+"? ".concat(o,".trim()")+": ".concat(o,")")),i&&(a="_n(".concat(a,")"));var s=Gi(t,a);e.model={value:"(".concat(t,")"),expression:JSON.stringify(t),callback:"function (".concat(o,") {").concat(s,"}")}}function Gi(e,t){var n=function(e){if(e=e.trim(),Ai=e.length,e.indexOf("[")<0||e.lastIndexOf("]")<Ai-1)return(Ei=e.lastIndexOf("."))>-1?{exp:e.slice(0,Ei),key:'"'+e.slice(Ei+1)+'"'}:{exp:e,key:null};for(_i=e,Ei=xi=Ii=0;!Yi();)Xi(Ti=qi())?Qi(Ti):91===Ti&&Zi(Ti);return{exp:e.slice(0,xi),key:e.slice(xi+1,Ii)}}(e);return null===n.key?"".concat(e,"=").concat(t):"$set(".concat(n.exp,", ").concat(n.key,", ").concat(t,")")}function qi(){return _i.charCodeAt(++Ei)}function Yi(){return Ei>=Ai}function Xi(e){return 34===e||39===e}function Zi(e){var t=1;for(xi=Ei;!Yi();)if(Xi(e=qi()))Qi(e);else if(91===e&&t++,93===e&&t--,0===t){Ii=Ei;break}}function Qi(e){for(var t=e;!Yi()&&(e=qi())!==t;);}var Ki,Ji="__r";function eo(e,t,n){var r=Ki;return function i(){null!==t.apply(null,arguments)&&ro(e,i,n,r)}}var to=vn&&!(ee&&Number(ee[1])<=53);function no(e,t,n,r){if(to){var i=Kt,o=t;t=o._wrapper=function(e){if(e.target===e.currentTarget||e.timeStamp>=i||e.timeStamp<=0||e.target.ownerDocument!==document)return o.apply(this,arguments)}}Ki.addEventListener(e,t,ne?{capture:n,passive:r}:n)}function ro(e,t,n,r){(r||Ki).removeEventListener(e,t._wrapper||t,n)}function io(e,t){if(!r(e.data.on)||!r(t.data.on)){var n=t.data.on||{},o=e.data.on||{};Ki=t.elm||e.elm,function(e){if(i(e.__r)){var t=X?"change":"input";e[t]=[].concat(e.__r,e[t]||[]),delete e.__r}i(e.__c)&&(e.change=[].concat(e.__c,e.change||[]),delete e.__c)}(n),Xe(n,o,no,ro,eo,t.context),Ki=void 0}}var oo,ao={create:io,update:io,destroy:function(e){return io(e,si)}};function so(e,t){if(!r(e.data.domProps)||!r(t.data.domProps)){var n,a,s=t.elm,l=e.data.domProps||{},c=t.data.domProps||{};for(n in(i(c.__ob__)||o(c._v_attr_proxy))&&(c=t.data.domProps=O({},c)),l)n in c||(s[n]="");for(n in c){if(a=c[n],"textContent"===n||"innerHTML"===n){if(t.children&&(t.children.length=0),a===l[n])continue;1===s.childNodes.length&&s.removeChild(s.childNodes[0])}if("value"===n&&"PROGRESS"!==s.tagName){s._value=a;var u=r(a)?"":String(a);lo(s,u)&&(s.value=u)}else if("innerHTML"===n&&Qr(s.tagName)&&r(s.innerHTML)){(oo=oo||document.createElement("div")).innerHTML="<svg>".concat(a,"</svg>");for(var d=oo.firstChild;s.firstChild;)s.removeChild(s.firstChild);for(;d.firstChild;)s.appendChild(d.firstChild)}else if(a!==l[n])try{s[n]=a}catch(e){}}}}function lo(e,t){return!e.composing&&("OPTION"===e.tagName||function(e,t){var n=!0;try{n=document.activeElement!==e}catch(e){}return n&&e.value!==t}(e,t)||function(e,t){var n=e.value,r=e._vModifiers;if(i(r)){if(r.number)return p(n)!==p(t);if(r.trim)return n.trim()!==t.trim()}return n!==t}(e,t))}var co={create:so,update:so},uo=C((function(e){var t={},n=/:(.+)/;return e.split(/;(?![^(]*\))/g).forEach((function(e){if(e){var r=e.split(n);r.length>1&&(t[r[0].trim()]=r[1].trim())}})),t}));function ho(e){var t=fo(e.style);return e.staticStyle?O(e.staticStyle,t):t}function fo(e){return Array.isArray(e)?M(e):"string"==typeof e?uo(e):e}var po,go=/^--/,mo=/\s*!important$/,yo=function(e,t,n){if(go.test(t))e.style.setProperty(t,n);else if(mo.test(n))e.style.setProperty(E(t),n.replace(mo,""),"important");else{var r=wo(t);if(Array.isArray(n))for(var i=0,o=n.length;i<o;i++)e.style[r]=n[i];else e.style[r]=n}},vo=["Webkit","Moz","ms"],wo=C((function(e){if(po=po||document.createElement("div").style,"filter"!==(e=A(e))&&e in po)return e;for(var t=e.charAt(0).toUpperCase()+e.slice(1),n=0;n<vo.length;n++){var r=vo[n]+t;if(r in po)return r}}));function bo(e,t){var n=t.data,o=e.data;if(!(r(n.staticStyle)&&r(n.style)&&r(o.staticStyle)&&r(o.style))){var a,s,l=t.elm,c=o.staticStyle,u=o.normalizedStyle||o.style||{},d=c||u,h=fo(t.data.style)||{};t.data.normalizedStyle=i(h.__ob__)?O({},h):h;var f=function(e,t){for(var n,r={},i=e;i.componentInstance;)(i=i.componentInstance._vnode)&&i.data&&(n=ho(i.data))&&O(r,n);(n=ho(e.data))&&O(r,n);for(var o=e;o=o.parent;)o.data&&(n=ho(o.data))&&O(r,n);return r}(t);for(s in d)r(f[s])&&yo(l,s,"");for(s in f)(a=f[s])!==d[s]&&yo(l,s,null==a?"":a)}}var Co={create:bo,update:bo},So=/\s+/;function Ao(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>
vendor: 11,090 bytes, line 2
2-1?t.split(So).forEach((function(t){return e.classList.add(t)})):e.classList.add(t);else{var n=" ".concat(e.getAttribute("class")||""," ");n.indexOf(" "+t+" ")<0&&e.setAttribute("class",(n+t).trim())}}function _o(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(So).forEach((function(t){return e.classList.remove(t)})):e.classList.remove(t),e.classList.length||e.removeAttribute("class");else{for(var n=" ".concat(e.getAttribute("class")||""," "),r=" "+t+" ";n.indexOf(r)>=0;)n=n.replace(r," ");(n=n.trim())?e.setAttribute("class",n):e.removeAttribute("class")}}function To(e){if(e){if("object"==typeof e){var t={};return!1!==e.css&&O(t,Eo(e.name||"v")),O(t,e),t}return"string"==typeof e?Eo(e):void 0}}var Eo=C((function(e){return{enterClass:"".concat(e,"-enter"),enterToClass:"".concat(e,"-enter-to"),enterActiveClass:"".concat(e,"-enter-active"),leaveClass:"".concat(e,"-leave"),leaveToClass:"".concat(e,"-leave-to"),leaveActiveClass:"".concat(e,"-leave-active")}})),xo=q&&!Z,Io="transition",Oo="animation",Mo="transition",Do="transitionend",ko="animation",No="animationend";xo&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(Mo="WebkitTransition",Do="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(ko="WebkitAnimation",No="webkitAnimationEnd"));var Po=q?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(e){return e()};function Ro(e){Po((function(){Po(e)}))}function Lo(e,t){var n=e._transitionClasses||(e._transitionClasses=[]);n.indexOf(t)<0&&(n.push(t),Ao(e,t))}function $o(e,t){e._transitionClasses&&v(e._transitionClasses,t),_o(e,t)}function jo(e,t,n){var r=Fo(e,t),i=r.type,o=r.timeout,a=r.propCount;if(!i)return n();var s=i===Io?Do:No,l=0,c=function(){e.removeEventListener(s,u),n()},u=function(t){t.target===e&&++l>=a&&c()};setTimeout((function(){l<a&&c()}),o+1),e.addEventListener(s,u)}var Bo=/\b(transform|all)(,|$)/;function Fo(e,t){var n,r=window.getComputedStyle(e),i=(r[Mo+"Delay"]||"").split(", "),o=(r[Mo+"Duration"]||"").split(", "),a=Ho(i,o),s=(r[ko+"Delay"]||"").split(", "),l=(r[ko+"Duration"]||"").split(", "),c=Ho(s,l),u=0,d=0;return t===Io?a>0&&(n=Io,u=a,d=o.length):t===Oo?c>0&&(n=Oo,u=c,d=l.length):d=(n=(u=Math.max(a,c))>0?a>c?Io:Oo:null)?n===Io?o.length:l.length:0,{type:n,timeout:u,propCount:d,hasTransform:n===Io&&Bo.test(r[Mo+"Property"])}}function Ho(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max.apply(null,t.map((function(t,n){return Uo(t)+Uo(e[n])})))}function Uo(e){return 1e3*Number(e.slice(0,-1).replace(",","."))}function zo(e,t){var n=e.elm;i(n._leaveCb)&&(n._leaveCb.cancelled=!0,n._leaveCb());var o=To(e.data.transition);if(!r(o)&&!i(n._enterCb)&&1===n.nodeType){for(var a=o.css,c=o.type,u=o.enterClass,d=o.enterToClass,h=o.enterActiveClass,f=o.appearClass,g=o.appearToClass,m=o.appearActiveClass,y=o.beforeEnter,v=o.enter,w=o.afterEnter,b=o.enterCancelled,C=o.beforeAppear,S=o.appear,A=o.afterAppear,_=o.appearCancelled,T=o.duration,E=Ft,x=Ft.$vnode;x&&x.parent;)E=x.context,x=x.parent;var I=!E._isMounted||!e.isRootInsert;if(!I||S||""===S){var O=I&&f?f:u,M=I&&m?m:h,D=I&&g?g:d,k=I&&C||y,N=I&&s(S)?S:v,P=I&&A||w,R=I&&_||b,$=p(l(T)?T.enter:T),j=!1!==a&&!Z,B=Go(N),F=n._enterCb=L((function(){j&&($o(n,D),$o(n,M)),F.cancelled?(j&&$o(n,O),R&&R(n)):P&&P(n),n._enterCb=null}));e.data.show||Ze(e,"insert",(function(){var t=n.parentNode,r=t&&t._pending&&t._pending[e.key];r&&r.tag===e.tag&&r.elm._leaveCb&&r.elm._leaveCb(),N&&N(n,F)})),k&&k(n),j&&(Lo(n,O),Lo(n,M),Ro((function(){$o(n,O),F.cancelled||(Lo(n,D),B||(Wo($)?setTimeout(F,$):jo(n,c,F)))}))),e.data.show&&(t&&t(),N&&N(n,F)),j||B||F()}}}function Vo(e,t){var n=e.elm;i(n._enterCb)&&(n._enterCb.cancelled=!0,n._enterCb());var o=To(e.data.transition);if(r(o)||1!==n.nodeType)return t();if(!i(n._leaveCb)){var a=o.css,s=o.type,c=o.leaveClass,u=o.leaveToClass,d=o.leaveActiveClass,h=o.beforeLeave,f=o.leave,g=o.afterLeave,m=o.leaveCancelled,y=o.delayLeave,v=o.duration,w=!1!==a&&!Z,b=Go(f),C=p(l(v)?v.leave:v),S=n._leaveCb=L((function(){n.parentNode&&n.parentNode._pending&&(n.parentNode._pending[e.key]=null),w&&($o(n,u),$o(n,d)),S.cancelled?(w&&$o(n,c),m&&m(n)):(t(),g&&g(n)),n._leaveCb=null}));y?y(A):A()}function A(){S.cancelled||(!e.data.show&&n.parentNode&&((n.parentNode._pending||(n.parentNode._pending={}))[e.key]=e),h&&h(n),w&&(Lo(n,c),Lo(n,d),Ro((function(){$o(n,c),S.cancelled||(Lo(n,u),b||(Wo(C)?setTimeout(S,C):jo(n,s,S)))}))),f&&f(n,S),w||b||S())}}function Wo(e){return"number"==typeof e&&!isNaN(e)}function Go(e){if(r(e))return!1;var t=e.fns;return i(t)?Go(Array.isArray(t)?t[0]:t):(e._length||e.length)>1}function qo(e,t){!0!==t.data.show&&zo(t)}var Yo=function(e){var n,s,l={},c=e.modules,u=e.nodeOps;for(n=0;n<li.length;++n)for(l[li[n]]=[],s=0;s<c.length;++s)i(c[s][li[n]])&&l[li[n]].push(c[s][li[n]]);function d(e){var t=u.parentNode(e);i(t)&&u.removeChild(t,e)}function h(e,t,n,r,a,s,c){if(i(e.elm)&&i(s)&&(e=s[c]=pe(e)),e.isRootInsert=!a,!function(e,t,n,r){var a=e.data;if(i(a)){var s=i(e.componentInstance)&&a.keepAlive;if(i(a=a.hook)&&i(a=a.init)&&a(e,!1),i(e.componentInstance))return f(e,t),p(n,e.elm,r),o(s)&&function(e,t,n,r){for(var o,a=e;a.componentInstance;)if(i(o=(a=a.componentInstance._vnode).data)&&i(o=o.transition)){for(o=0;o<l.activate.length;++o)l.activate[o](si,a);t.push(a);break}p(n,e.elm,r)}(e,t,n,r),!0}}(e,t,n,r)){var d=e.data,h=e.children,g=e.tag;i(g)?(e.elm=e.ns?u.createElementNS(e.ns,g):u.createElement(g,e),w(e),m(e,h,t),i(d)&&v(e,t),p(n,e.elm,r)):o(e.isComment)?(e.elm=u.createComment(e.text),p(n,e.elm,r)):(e.elm=u.createTextNode(e.text),p(n,e.elm,r))}}function f(e,t){i(e.data.pendingInsert)&&(t.push.apply(t,e.data.pendingInsert),e.data.pendingInsert=null),e.elm=e.componentInstance.$el,y(e)?(v(e,t),w(e)):(oi(e),t.push(e))}function p(e,t,n){i(e)&&(i(n)?u.parentNode(n)===e&&u.insertBefore(e,t,n):u.appendChild(e,t))}function m(e,n,r){if(t(n))for(var i=0;i<n.length;++i)h(n[i],r,e.elm,null,!0,n,i);else a(e.text)&&u.appendChild(e.elm,u.createTextNode(String(e.text)))}function y(e){for(;e.componentInstance;)e=e.componentInstance._vnode;return i(e.tag)}function v(e,t){for(var r=0;r<l.create.length;++r)l.create[r](si,e);i(n=e.data.hook)&&(i(n.create)&&n.create(si,e),i(n.insert)&&t.push(e))}function w(e){var t;if(i(t=e.fnScopeId))u.setStyleScope(e.elm,t);else for(var n=e;n;)i(t=n.context)&&i(t=t.$options._scopeId)&&u.setStyleScope(e.elm,t),n=n.parent;i(t=Ft)&&t!==e.context&&t!==e.fnContext&&i(t=t.$options._scopeId)&&u.setStyleScope(e.elm,t)}function b(e,t,n,r,i,o){for(;r<=i;++r)h(n[r],o,e,t,!1,n,r)}function C(e){var t,n,r=e.data;if(i(r))for(i(t=r.hook)&&i(t=t.destroy)&&t(e),t=0;t<l.destroy.length;++t)l.destroy[t](e);if(i(t=e.children))for(n=0;n<e.children.length;++n)C(e.children[n])}function S(e,t,n){for(;t<=n;++t){var r=e[t];i(r)&&(i(r.tag)?(A(r),C(r)):d(r.elm))}}function A(e,t){if(i(t)||i(e.data)){var n,r=l.remove.length+1;for(i(t)?t.listeners+=r:t=function(e,t){function n(){0==--n.listeners&&d(e)}return n.listeners=t,n}(e.elm,r),i(n=e.componentInstance)&&i(n=n._vnode)&&i(n.data)&&A(n,t),n=0;n<l.remove.length;++n)l.remove[n](e,t);i(n=e.data.hook)&&i(n=n.remove)?n(e,t):t()}else d(e.elm)}function _(e,t,n,r){for(var o=n;o<r;o++){var a=t[o];if(i(a)&&ci(e,a))return o}}function T(e,t,n,a,s,c){if(e!==t){i(t.elm)&&i(a)&&(t=a[s]=pe(t));var d=t.elm=e.elm;if(o(e.isAsyncPlaceholder))i(t.asyncFactory.resolved)?I(e.elm,t,n):t.isAsyncPlaceholder=!0;else if(o(t.isStatic)&&o(e.isStatic)&&t.key===e.key&&(o(t.isCloned)||o(t.isOnce)))t.componentInstance=e.componentInstance;else{var f,p=t.data;i(p)&&i(f=p.hook)&&i(f=f.prepatch)&&f(e,t);var g=e.children,m=t.children;if(i(p)&&y(t)){for(f=0;f<l.update.length;++f)l.update[f](e,t);i(f=p.hook)&&i(f=f.update)&&f(e,t)}r(t.text)?i(g)&&i(m)?g!==m&&function(e,t,n,o,a){for(var s,l,c,d=0,f=0,p=t.length-1,g=t[0],m=t[p],y=n.length-1,v=n[0],w=n[y],C=!a;d<=p&&f<=y;)r(g)?g=t[++d]:r(m)?m=t[--p]:ci(g,v)?(T(g,v,o,n,f),g=t[++d],v=n[++f]):ci(m,w)?(T(m,w,o,n,y),m=t[--p],w=n[--y]):ci(g,w)?(T(g,w,o,n,y),C&&u.insertBefore(e,g.elm,u.nextSibling(m.elm)),g=t[++d],w=n[--y]):ci(m,v)?(T(m,v,o,n,f),C&&u.insertBefore(e,m.elm,g.elm),m=t[--p],v=n[++f]):(r(s)&&(s=ui(t,d,p)),r(l=i(v.key)?s[v.key]:_(v,t,d,p))?h(v,o,e,g.elm,!1,n,f):ci(c=t[l],v)?(T(c,v,o,n,f),t[l]=void 0,C&&u.insertBefore(e,c.elm,g.elm)):h(v,o,e,g.elm,!1,n,f),v=n[++f]);d>p?b(e,r(n[y+1])?null:n[y+1].elm,n,f,y,o):f>y&&S(t,d,p)}(d,g,m,n,c):i(m)?(i(e.text)&&u.setTextContent(d,""),b(d,null,m,0,m.length-1,n)):i(g)?S(g,0,g.length-1):i(e.text)&&u.setTextContent(d,""):e.text!==t.text&&u.setTextContent(d,t.text),i(p)&&i(f=p.hook)&&i(f=f.postpatch)&&f(e,t)}}}function E(e,t,n){if(o(n)&&i(e.parent))e.parent.data.pendingInsert=t;else for(var r=0;r<t.length;++r)t[r].data.hook.insert(t[r])}var x=g("attrs,class,staticClass,staticStyle,key");function I(e,t,n,r){var a,s=t.tag,l=t.data,c=t.children;if(r=r||l&&l.pre,t.elm=e,o(t.isComment)&&i(t.asyncFactory))return t.isAsyncPlaceholder=!0,!0;if(i(l)&&(i(a=l.hook)&&i(a=a.init)&&a(t,!0),i(a=t.componentInstance)))return f(t,n),!0;if(i(s)){if(i(c))if(e.hasChildNodes())if(i(a=l)&&i(a=a.domProps)&&i(a=a.innerHTML)){if(a!==e.innerHTML)return!1}else{for(var u=!0,d=e.firstChild,h=0;h<c.length;h++){if(!d||!I(d,c[h],n,r)){u=!1;break}d=d.nextSibling}if(!u||d)return!1}else m(t,c,n);if(i(l)){var p=!1;for(var g in l)if(!x(g)){p=!0,v(t,n);break}!p&&l.class&&zn(l.class)}}else e.data!==t.text&&(e.data=t.text);return!0}return function(e,t,n,a){if(!r(t)){var s,c=!1,d=[];if(r(e))c=!0,h(t,d);else{var f=i(e.nodeType);if(!f&&ci(e,t))T(e,t,d,null,null,a);else{if(f){if(1===e.nodeType&&e.hasAttribute(j)&&(e.removeAttribute(j),n=!0),o(n)&&I(e,t,d))return E(t,d,!0),e;s=e,e=new de(u.tagName(s).toLowerCase(),{},[],void 0,s)}var p=e.elm,g=u.parentNode(p);if(h(t,d,p._leaveCb?null:g,u.nextSibling(p)),i(t.parent))for(var m=t.parent,v=y(t);m;){for(var w=0;w<l.destroy.length;++w)l.destroy[w](m);if(m.elm=t.elm,v){for(var b=0;b<l.create.length;++b)l.create[b](si,m);var A=m.data.hook.insert;if(A.merged)for(var _=A.fns.slice(1),x=0;x<_.length;x++)_[x]()}else oi(m);m=m.parent}i(g)?S([e],0,0):i(e.tag)&&C(e)}}return E(t,d,c),t.elm}i(e)&&C(e)}}({nodeOps:ri,modules:[Ci,Oi,ao,co,Co,q?{create:qo,activate:qo,remove:function(e,t){!0!==e.data.show?Vo(e,t):t()}}:{}].concat(yi)});Z&&document.addEventListener("selectionchange",(function(){var e=document.activeElement;e&&e.vmodel&&na(e,"input")}));var Xo={inserted:function(e,t,n,r){"select"===n.tag?(r.elm&&!r.elm._vOptions?Ze(n,"postpatch",(function(){Xo.componentUpdated(e,t,n)})):Zo(e,t,n.context),e._vOptions=[].map.call(e.options,Jo)):("textarea"===n.tag||ti(e.type))&&(e._vModifiers=t.modifiers,t.modifiers.lazy||(e.addEventListener("compositionstart",ea),e.addEventListener("compositionend",ta),e.addEventListener("change",ta),Z&&(e.vmodel=!0)))},componentUpdated:function(e,t,n){if("select"===n.tag){Zo(e,t,n.context);var r=e._vOptions,i=e._vOptions=[].map.call(e.options,Jo);i.some((function(e,t){return!P(e,r[t])}))&&(e.multiple?t.value.some((function(e){return Ko(e,i)})):t.value!==t.oldValue&&Ko(t.value,i))&&na(e,"change")}}};
2function Zo(e,t,n){Qo(e,t),(X||Q)&&setTimeout((function(){Qo(e,t)}),0)}function Qo(e,t,n){var r=t.value,i=e.multiple;if(!i||Array.isArray(r)){for(var o,a,s=0,l=e.options.length;s<l;s++)if(a=e.options[s],i)o=R(r,Jo(a))>-1,a.selected!==o&&(a.selected=o);else if(P(Jo(a),r))return void(e.selectedIndex!==s&&(e.selectedIndex=s));i||(e.selectedIndex=-1)}}function Ko(e,t){return t.every((function(t){return!P(t,e)}))}function Jo(e){return"_value"in e?e._value:e.value}function ea(e){e.target.composing=!0}function ta(e){e.target.composing&&(e.target.composing=!1,na(e.target,"input"))}function na(e,t){var n=document.createEvent("HTMLEvents");n.initEvent(t,!0,!0),e.dispatchEvent(n)}function ra(e){return!e.componentInstance||e.data&&e.data.transition?e:ra(e.componentInstance._vnode)}var ia={bind:function(e,t,n){var r=t.value,i=(n=ra(n)).data&&n.data.transition,o=e.__vOriginalDisplay="none"===e.style.display?"":e.style.display;r&&i?(n.data.show=!0,zo(n,(function(){e.style.display=o}))):e.style.display=r?o:"none"},update:function(e,t,n){var r=t.value;!r!=!t.oldValue&&((n=ra(n)).data&&n.data.transition?(n.data.show=!0,r?zo(n,(function(){e.style.display=e.__vOriginalDisplay})):Vo(n,(function(){e.style.display="none"}))):e.style.display=r?e.__vOriginalDisplay:"none")},unbind:function(e,t,n,r,i){i||(e.style.display=e.__vOriginalDisplay)}},oa={model:Xo,show:ia},aa={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function sa(e){var t=e&&e.componentOptions;return t&&t.Ctor.options.abstract?sa(Nt(t.children)):e}function la(e){var t={},n=e.$options;for(var r in n.propsData)t[r]=e[r];var i=n._parentListeners;for(var r in i)t[A(r)]=i[r];return t}function ca(e,t){if(/\d-keep-alive$/.test(t.tag))return e("keep-alive",{props:t.componentOptions.propsData})}var ua=function(e){return e.tag||bt(e)},da=function(e){return"show"===e.name},ha={name:"transition",props:aa,abstract:!0,render:function(e){var t=this,n=this.$slots.default;if(n&&(n=n.filter(ua)).length){var r=this.mode,i=n[0];if(function(e){for(;e=e.parent;)if(e.data.transition)return!0}(this.$vnode))return i;var o=sa(i);if(!o)return i;if(this._leaving)return ca(e,i);var s="__transition-".concat(this._uid,"-");o.key=null==o.key?o.isComment?s+"comment":s+o.tag:a(o.key)?0===String(o.key).indexOf(s)?o.key:s+o.key:o.key;var l=(o.data||(o.data={})).transition=la(this),c=this._vnode,u=sa(c);if(o.data.directives&&o.data.directives.some(da)&&(o.data.show=!0),u&&u.data&&!function(e,t){return t.key===e.key&&t.tag===e.tag}(o,u)&&!bt(u)&&(!u.componentInstance||!u.componentInstance._vnode.isComment)){var d=u.data.transition=O({},l);if("out-in"===r)return this._leaving=!0,Ze(d,"afterLeave",(function(){t._leaving=!1,t.$forceUpdate()})),ca(e,i);if("in-out"===r){if(bt(o))return c;var h,f=function(){h()};Ze(l,"afterEnter",f),Ze(l,"enterCancelled",f),Ze(d,"delayLeave",(function(e){h=e}))}}return i}}},fa=O({tag:String,moveClass:String},aa);delete fa.mode;var pa={props:fa,beforeMount:function(){var e=this,t=this._update;this._update=function(n,r){var i=Ht(e);e.__patch__(e._vnode,e.kept,!1,!0),e._vnode=e.kept,i(),t.call(e,n,r)}},render:function(e){for(var t=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),r=this.prevChildren=this.children,i=this.$slots.default||[],o=this.children=[],a=la(this),s=0;s<i.length;s++)(u=i[s]).tag&&null!=u.key&&0!==String(u.key).indexOf("__vlist")&&(o.push(u),n[u.key]=u,(u.data||(u.data={})).transition=a);if(r){var l=[],c=[];for(s=0;s<r.length;s++){var u;(u=r[s]).data.transition=a,u.data.pos=u.elm.getBoundingClientRect(),n[u.key]?l.push(u):c.push(u)}this.kept=e(t,null,l),this.removed=c}return e(t,null,o)},updated:function(){var e=this.prevChildren,t=this.moveClass||(this.name||"v")+"-move";e.length&&this.hasMove(e[0].elm,t)&&(e.forEach(ga),e.forEach(ma),e.forEach(ya),this._reflow=document.body.offsetHeight,e.forEach((function(e){if(e.data.moved){var n=e.elm,r=n.style;Lo(n,t),r.transform=r.WebkitTransform=r.transitionDuration="",n.addEventListener(
2Do,n._moveCb=function e(r){r&&r.target!==n||r&&!/transform$/.test(r.propertyName)||(n.removeEventListener(Do,e),n._moveCb=null,$o(n,t))})}})))},methods:{hasMove:function(e,t){if(!xo)return!1;if(this._hasMove)return this._hasMove;var n=e.cloneNode();e._transitionClasses&&e._transitionClasses.forEach((function(e){_o(n,e)})),Ao(n,t),n.style.display="none",this.$el.appendChild(n);var r=Fo(n);return this.$el.removeChild(n),this._hasMove=r.hasTransform}}};function ga(e){e.elm._moveCb&&e.elm._moveCb(),e.elm._enterCb&&e.elm._enterCb()}function ma(e){e.data.newPos=e.elm.getBoundingClientRect()}function ya(e){var t=e.data.pos,n=e.data.newPos,r=t.left-n.left,i=t.top-n.top;if(r||i){e.data.moved=!0;var o=e.elm.style;o.transform=o.WebkitTransform="translate(".concat(r,"px,").concat(i,"px)"),o.transitionDuration="0s"}}var va={Transition:ha,TransitionGroup:pa};Er.config.mustUseProp=$r,Er.config.isReservedTag=Kr,Er.config.isReservedAttr=Rr,Er.config.getTagNamespace=Jr,Er.config.isUnknownElement=function(e){if(!q)return!0;if(Kr(e))return!1;if(e=e.toLowerCase(),null!=ei[e])return ei[e];var t=document.createElement(e);return e.indexOf("-")>-1?ei[e]=t.constructor===window.HTMLUnknownElement||t.constructor===window.HTMLElement:ei[e]=/HTMLUnknownElement/.test(t.toString())},O(Er.options.directives,oa),O(Er.options.components,va),Er.prototype.__patch__=q?Yo:D,Er.prototype.$mount=function(e,t){return function(e,t,n){var r;e.$el=t,e.$options.render||(e.$options.render=he),Wt(e,"beforeMount"),r=function(){e._update(e._render(),n)},new Gn(e,r,D,{before:function(){e._isMounted&&!e._isDestroyed&&Wt(e,"beforeUpdate")}},!0),n=!1;var i=e._preWatchers;if(i)for(var o=0;o<i.length;o++)i[o].run();return null==e.$vnode&&(e._isMounted=!0,Wt(e,"mounted")),e}(this,e=e&&q?ni(e):void 0,t)},q&&setTimeout((function(){H.devtools&&oe&&oe.emit("init",Er)}),0);var wa,ba=/\{\{((?:.|\r?\n)+?)\}\}/g,Ca=/[-.*+?^${}()|[\]\/\\]/g,Sa=C((function(e){var t=e[0].replace(Ca,"\\$&"),n=e[1].replace(Ca,"\\$&");return new RegExp(t+"((?:.|\\n)+?)"+n,"g")})),Aa={staticKeys:["staticClass"],transformNode:function(e,t){t.warn;var n=Ui(e,"class");n&&(e.staticClass=JSON.stringify(n.replace(/\s+/g," ").trim()));var r=Hi(e,"class",!1);r&&(e.classBinding=r)},genData:function(e){var t="";return e.staticClass&&(t+="staticClass:".concat(e.staticClass,",")),e.classBinding&&(t+="class:".concat(e.classBinding,",")),t}},_a={staticKeys:["staticStyle"],transformNode:function(e,t){t.warn;var n=Ui(e,"style");n&&(e.staticStyle=JSON.stringify(uo(n)));var r=Hi(e,"style",!1);r&&(e.styleBinding=r)},genData:function(e){var t="";return e.staticStyle&&(t+="staticStyle:".concat(e.staticStyle,",")),e.styleBinding&&(t+="style:(".concat(e.styleBinding,"),")),t}},Ta=function(e){return(wa=wa||document.createElement("div")).innerHTML=e,wa.textContent},Ea=g("area,base,br,col,embed,frame,hr,img,input,isindex,keygen,link,meta,param,source,track,wbr"),xa=g("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr,source"),Ia=g("address,article,aside,base,blockquote,body,caption,col,colgroup,dd,details,dialog,div,dl,dt,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,head,header,hgroup,hr,html,legend,li,menuitem,meta,optgroup,option,param,rp,rt,source,style,summary,tbody,td,tfoot,th,thead,title,tr,track"),Oa=/^\s*([^\s"'<>\/=]+)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,Ma=/^\s*((?:v-[\w-]+:|@|:|#)\[[^=]+?\][^\s"'<>\/=]*)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,Da="[a-zA-Z_][\\-\\.0-9_a-zA-Z".concat(U.source,"]*"),ka="((?:".concat(Da,"\\:)?").concat(Da,")"),Na=new RegExp("^<".concat(ka)),Pa=/^\s*(\/?)>/,Ra=new RegExp("^<\\/".concat(ka,"[^>]*>")),La=/^<!DOCTYPE [^>]+>/i,$a=/^<!\--/,ja=/^<!\[/,Ba=g("script,style,textarea",!0),Fa={},Ha={"&lt;":"<","&gt;":">","&quot;":'"',"&amp;":"&","&#10;":"\n","&#9;":"\t","&#39;":"'"},Ua=/&(?:lt|gt|quot|amp|#39);/g,za=/&(?:lt|gt|quot|amp|#39|#10|#9);/g,Va=g("pre,textarea",!0),Wa=function(e,t){return e&&Va(e)&&"\n"===t[0]};function Ga(e,t){var n=t?za:Ua;return e.replace(n,(function(e){return Ha[e]}))}function qa(e,t){for(var n,r,i=[],o=t.expectHTML,a=t.isUnaryTag||k,s=t.canBeLeftOpenTag||k,l=0,c=function(){if(n=e,r&&Ba(r)){var c=0,h=r.toLowerCase(),f=Fa[h]||(Fa[h]=new RegExp("([\\s\\S]*?)(</"+h+"[^>]*>)","i"));S=e.replace(f,(function(e,n,r){return c=r.length,Ba(h)||"noscript"===h||(n=n.replace(/<!\--([\s\S]*?)-->/g,"$1").replace(/<!\[CDATA\[([\s\S]*?)]]>/g,"$1")),Wa(h,n)&&(n=n.slice(1)),t.chars&&t.chars(n),""})),l+=e.length-S.length,e=S,d(h,l-c,l)}else{var p=e.indexOf("<");if(0===p){if($a.test(e)){var g=e.indexOf("--\x3e");
2if(g>=0)return t.shouldKeepComment&&t.comment&&t.comment(e.substring(4,g),l,l+g+3),u(g+3),"continue"}if(ja.test(e)){var m=e.indexOf("]>");if(m>=0)return u(m+2),"continue"}var y=e.match(La);if(y)return u(y[0].length),"continue";var v=e.match(Ra);if(v){var w=l;return u(v[0].length),d(v[1],w,l),"continue"}var b=function(){var t=e.match(Na);if(t){var n={tagName:t[1],attrs:[],start:l};u(t[0].length);for(var r=void 0,i=void 0;!(r=e.match(Pa))&&(i=e.match(Ma)||e.match(Oa));)i.start=l,u(i[0].length),i.end=l,n.attrs.push(i);if(r)return n.unarySlash=r[1],u(r[0].length),n.end=l,n}}();if(b)return function(e){var n=e.tagName,l=e.unarySlash;o&&("p"===r&&Ia(n)&&d(r),s(n)&&r===n&&d(n));for(var c=a(n)||!!l,u=e.attrs.length,h=new Array(u),f=0;f<u;f++){var p=e.attrs[f],g=p[3]||p[4]||p[5]||"",m="a"===n&&"href"===p[1]?t.shouldDecodeNewlinesForHref:t.shouldDecodeNewlines;h[f]={name:p[1],value:Ga(g,m)}}c||(i.push({tag:n,lowerCasedTag:n.toLowerCase(),attrs:h,start:e.start,end:e.end}),r=n),t.start&&t.start(n,h,c,e.start,e.end)}(b),Wa(b.tagName,e)&&u(1),"continue"}var C=void 0,S=void 0,A=void 0;if(p>=0){for(S=e.slice(p);!(Ra.test(S)||Na.test(S)||$a.test(S)||ja.test(S)||(A=S.indexOf("<",1))<0);)p+=A,S=e.slice(p);C=e.substring(0,p)}p<0&&(C=e),C&&u(C.length),t.chars&&C&&t.chars(C,l-C.length,l)}if(e===n)return t.chars&&t.chars(e),"break"};e&&"break"!==c(););function u(t){l+=t,e=e.substring(t)}function d(e,n,o){var a,s;if(null==n&&(n=l),null==o&&(o=l),e)for(s=e.toLowerCase(),a=i.length-1;a>=0&&i[a].lowerCasedTag!==s;a--);else a=0;if(a>=0){for(var c=i.length-1;c>=a;c--)t.end&&t.end(i[c].tag,n,o);i.length=a,r=a&&i[a-1].tag}else"br"===s?t.start&&t.start(e,[],!0,n,o):"p"===s&&(t.start&&t.start(e,[],!1,n,o),t.end&&t.end(e,n,o))}d()}var Ya,Xa,Za,Qa,Ka,Ja,es,ts,ns=/^@|^v-on:/,rs=/^v-|^@|^:|^#/,is=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,os=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,as=/^\(|\)$/g,ss=/^\[.*\]$/,ls=/:(.*)$/,cs=/^:|^\.|^v-bind:/,us=/\.[^.\]]+(?=[^\]]*$)/g,ds=/^v-slot(:|$)|^#/,hs=/[\r\n]/,fs=/[ \f\t\r\n]+/g,ps=C(Ta),gs="_empty_";function ms(e,t,n){return{type:1,tag:e,attrsList:t,attrsMap:As(t),rawAttrsMap:{},parent:n,children:[]}}function ys(e,t){Ya=t.warn||Ni,Ja=t.isPreTag||k,es=t.mustUseProp||k,ts=t.getTagNamespace||k,t.isReservedTag,Za=Pi(t.modules,"transformNode"),Qa=Pi(t.modules,"preTransformNode"),Ka=Pi(t.modules,"postTransformNode"),Xa=t.delimiters;var n,r,i=[],o=!1!==t.preserveWhitespace,a=t.whitespace,s=!1,l=!1;function c(e){if(u(e),s||e.processed||(e=vs(e,t)),i.length||e===n||n.if&&(e.elseif||e.else)&&bs(n,{exp:e.elseif,block:e}),r&&!e.forbidden)if(e.elseif||e.else)a=e,c=function(e){for(var t=e.length;t--;){if(1===e[t].type)return e[t];e.pop()}}(r.children),c&&c.if&&bs(c,{exp:a.elseif,block:a});else{if(e.slotScope){var o=e.slotTarget||'"default"';(r.scopedSlots||(r.scopedSlots={}))[o]=e}r.children.push(e),e.parent=r}var a,c;e.children=e.children.filter((function(e){return!e.slotScope})),u(e),e.pre&&(s=!1),Ja(e.tag)&&(l=!1);for(var d=0;d<Ka.length;d++)Ka[d](e,t)}function u(e){if(!l)for(var t=void 0;(t=e.children[e.children.length-1])&&3===t.type&&" "===t.text;)e.children.pop()}return qa(e,{warn:Ya,expectHTML:t.expectHTML,isUnaryTag:t.isUnaryTag,canBeLeftOpenTag:t.canBeLeftOpenTag,shouldDecodeNewlines:t.shouldDecodeNewlines,shouldDecodeNewlinesForHref:t.shouldDecodeNewlinesForHref,shouldKeepComment:t.comments,outputSourceRange:t.outputSourceRange,start:function(e,o,a,u,d){var h=r&&r.ns||ts(e);X&&"svg"===h&&(o=function(e){for(var t=[],n=0;n<e.length;n++){var r=e[n];_s.test(r.name)||(r.name=r.name.replace(Ts,""),t.push(r))}return t}(o));var f,p=ms(e,o,r);h&&(p.ns=h),"style"!==(f=p).tag&&("script"!==f.tag||f.attrsMap.type&&"text/javascript"!==f.attrsMap.type)||ie()||(p.forbidden=!0);for(var g=0;g<Qa.length;g++)p=Qa[g](p,t)||p;s||(function(e){null!=Ui(e,"v-pre")&&(e.pre=!0)}(p),p.pre&&(s=!0)),Ja(p.tag)&&(l=!0),s?function(e){var t=e.attrsList,n=t.length;if(n)for(var r=e.attrs=new Array(n),i=0;i<n;i++)r[i]={name:t[i].name,value:JSON.stringify(t[i].value)},null!=t[i].start&&(r[i].start=t[i].start,r[i].end=t[i].end);else e.pre||(e.plain=!0)}(p):p.processed||(ws(p),function(e){var t=Ui(e,"v-if");if(t)e.if=t,bs(e,{exp:t,block:e});else{null!=Ui(e,"v-else")&&(e.else=!0);var n=Ui(e,"v-else-if");n&&(e.elseif=n)}}(p),function(e){null!=Ui(e,"v-once")&&(e.once=!0)}(p)),n||(n=p),a?c(p):(r=p,i.push(p))},end:function(e,t,n){var o=i[i.length-1];i.length-=1,r=i[i.length-1],c(o)},chars:function(e,t,n){if(r&&(!X||"textarea"!==r.tag||r.attrsMap.placeholder!==e)){var i,c=r.children;if(e=l||e.trim()?"script"===(i=r).tag||"style"===i.tag?e:ps(e):c.length?a?"condense"===a&&hs.test(e)?"":" ":o?" ":"":""){l||"condense"!==a||(e=e.replace(fs," "));var u=void 0,d=void 0;!s&&" "!==e&&(u=function(e,t){var n=t?Sa(t):ba;
2if(n.test(e)){for(var r,i,o,a=[],s=[],l=n.lastIndex=0;r=n.exec(e);){(i=r.index)>l&&(s.push(o=e.slice(l,i)),a.push(JSON.stringify(o)));var c=Di(r[1].trim());a.push("_s(".concat(c,")")),s.push({"@binding":c}),l=i+r[0].length}return l<e.length&&(s.push(o=e.slice(l)),a.push(JSON.stringify(o))),{expression:a.join("+"),tokens:s}}}(e,Xa))?d={type:2,expression:u.expression,tokens:u.tokens,text:e}:" "===e&&c.length&&" "===c[c.length-1].text||(d={type:3,text:e}),d&&c.push(d)}}},comment:function(e,t,n){if(r){var i={type:3,text:e,isComment:!0};r.children.push(i)}}}),n}function vs(e,t){var n,r;(r=Hi(n=e,"key"))&&(n.key=r),e.plain=!e.key&&!e.scopedSlots&&!e.attrsList.length,function(e){var t=Hi(e,"ref");t&&(e.ref=t,e.refInFor=function(e){for(var t=e;t;){if(void 0!==t.for)return!0;t=t.parent}return!1}(e))}(e),function(e){var t;"template"===e.tag?(t=Ui(e,"scope"),e.slotScope=t||Ui(e,"slot-scope")):(t=Ui(e,"slot-scope"))&&(e.slotScope=t);var n,r=Hi(e,"slot");if(r&&(e.slotTarget='""'===r?'"default"':r,e.slotTargetDynamic=!(!e.attrsMap[":slot"]&&!e.attrsMap["v-bind:slot"]),"template"===e.tag||e.slotScope||Li(e,"slot",r,function(e,t){return e.rawAttrsMap[":"+t]||e.rawAttrsMap["v-bind:"+t]||e.rawAttrsMap[t]}(e,"slot"))),"template"===e.tag){if(n=zi(e,ds)){var i=Cs(n),o=i.name,a=i.dynamic;e.slotTarget=o,e.slotTargetDynamic=a,e.slotScope=n.value||gs}}else if(n=zi(e,ds)){var s=e.scopedSlots||(e.scopedSlots={}),l=Cs(n),c=l.name,u=(a=l.dynamic,s[c]=ms("template",[],e));u.slotTarget=c,u.slotTargetDynamic=a,u.children=e.children.filter((function(e){if(!e.slotScope)return e.parent=u,!0})),u.slotScope=n.value||gs,e.children=[],e.plain=!1}
vendor: 1,713 bytes, line 2
2}(e),function(e){"slot"===e.tag&&(e.slotName=Hi(e,"name"))}(e),function(e){var t;(t=Hi(e,"is"))&&(e.component=t),null!=Ui(e,"inline-template")&&(e.inlineTemplate=!0)}(e);for(var i=0;i<Za.length;i++)e=Za[i](e,t)||e;return function(e){var t,n,r,i,o,a,s,l,c=e.attrsList;for(t=0,n=c.length;t<n;t++)if(r=i=c[t].name,o=c[t].value,rs.test(r))if(e.hasBindings=!0,(a=Ss(r.replace(rs,"")))&&(r=r.replace(us,"")),cs.test(r))r=r.replace(cs,""),o=Di(o),(l=ss.test(r))&&(r=r.slice(1,-1)),a&&(a.prop&&!l&&"innerHtml"===(r=A(r))&&(r="innerHTML"),a.camel&&!l&&(r=A(r)),a.sync&&(s=Gi(o,"$event"),l?Fi(e,'"update:"+('.concat(r,")"),s,null,!1,0,c[t],!0):(Fi(e,"update:".concat(A(r)),s,null,!1,0,c[t]),E(r)!==A(r)&&Fi(e,"update:".concat(E(r)),s,null,!1,0,c[t])))),a&&a.prop||!e.component&&es(e.tag,e.attrsMap.type,r)?Ri(e,r,o,c[t],l):Li(e,r,o,c[t],l);else if(ns.test(r))r=r.replace(ns,""),(l=ss.test(r))&&(r=r.slice(1,-1)),Fi(e,r,o,a,!1,0,c[t],l);else{var u=(r=r.replace(rs,"")).match(ls),d=u&&u[1];l=!1,d&&(r=r.slice(0,-(d.length+1)),ss.test(d)&&(d=d.slice(1,-1),l=!0)),ji(e,r,i,o,d,l,a,c[t])}else Li(e,r,JSON.stringify(o),c[t]),!e.component&&"muted"===r&&es(e.tag,e.attrsMap.type,r)&&Ri(e,r,"true",c[t])}(e),e}function ws(e){var t;if(t=Ui(e,"v-for")){var n=function(e){var t=e.match(is);if(t){var n={};n.for=t[2].trim();var r=t[1].trim().replace(as,""),i=r.match(os);return i?(n.alias=r.replace(os,"").trim(),n.iterator1=i[1].trim(),i[2]&&(n.iterator2=i[2].trim())):n.alias=r,n}}(t);n&&O(e,n)}}function bs(e,t){e.ifConditions||(e.ifConditions=[]),e.ifConditions.push(t)}function Cs(e){var t=e.name.replace(ds,"");return t||"#"!==e.name[0]&&(t="default"),ss.test(t)?{name:t.slice(1,-1),dynamic:!0}:{name:'"'.concat(t,'"'),dynamic:!1}
2}function Ss(e){var t=e.match(us);if(t){var n={};return t.forEach((function(e){n[e.slice(1)]=!0})),n}}function As(e){for(var t={},n=0,r=e.length;n<r;n++)t[e[n].name]=e[n].value;return t}var _s=/^xmlns:NS\d+/,Ts=/^NS\d+:/;function Es(e){return ms(e.tag,e.attrsList.slice(),e.parent)}var xs,Is,Os=[Aa,_a,{preTransformNode:function(e,t){if("input"===e.tag){var n=e.attrsMap;if(!n["v-model"])return;var r=void 0;if((n[":type"]||n["v-bind:type"])&&(r=Hi(e,"type")),n.type||r||!n["v-bind"]||(r="(".concat(n["v-bind"],").type")),r){var i=Ui(e,"v-if",!0),o=i?"&&(".concat(i,")"):"",a=null!=Ui(e,"v-else",!0),s=Ui(e,"v-else-if",!0),l=Es(e);ws(l),$i(l,"type","checkbox"),vs(l,t),l.processed=!0,l.if="(".concat(r,")==='checkbox'")+o,bs(l,{exp:l.if,block:l});var c=Es(e);Ui(c,"v-for",!0),$i(c,"type","radio"),vs(c,t),bs(l,{exp:"(".concat(r,")==='radio'")+o,block:c});var u=Es(e);return Ui(u,"v-for",!0),$i(u,":type",r),vs(u,t),bs(l,{exp:i,block:u}),a?l.else=!0:s&&(l.elseif=s),l}}}}],Ms={model:function(e,t,n){var r=t.value,i=t.modifiers,o=e.tag,a=e.attrsMap.type;
2if(e.component)return Wi(e,r,i),!1;if("select"===o)!function(e,t,n){var r=n&&n.number,i='Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = "_value" in o ? o._value : o.value;'+"return ".concat(r?"_n(val)":"val","})"),o="$event.target.multiple ? $$selectedVal : $$selectedVal[0]",a="var $$selectedVal = ".concat(i,";");Fi(e,"change",a="".concat(a," ").concat(Gi(t,o)),null,!0)}(e,r,i);else if("input"===o&&"checkbox"===a)!function(e,t,n){var r=n&&n.number,i=Hi(e,"value")||"null",o=Hi(e,"true-value")||"true",a=Hi(e,"false-value")||"false";Ri(e,"checked","Array.isArray(".concat(t,")")+"?_i(".concat(t,",").concat(i,")>-1")+("true"===o?":(".concat(t,")"):":_q(".concat(t,",").concat(o,")"))),Fi(e,"change","var $$a=".concat(t,",")+"$$el=$event.target,"+"$$c=$$el.checked?(".concat(o,"):(").concat(a,");")+"if(Array.isArray($$a)){"+"var $$v=".concat(r?"_n("+i+")":i,",")+"$$i=_i($$a,$$v);"+"if($$el.checked){$$i<0&&(".concat(Gi(t,"$$a.concat([$$v])"),")}")+"else{$$i>-1&&(".concat(Gi(t,"$$a.slice(0,$$i).concat($$a.slice($$i+1))"),")}")+"}else{".concat(Gi(t,"$$c"),"}"),null,!0)}(e,r,i);else if("input"===o&&"radio"===a)!function(e,t,n){var r=n&&n.number,i=Hi(e,"value")||"null";i=r?"_n(".concat(i,")"):i,Ri(e,"checked","_q(".concat(t,",").concat(i,")")),Fi(e,"change",Gi(t,i),null,!0)}(e,r,i);else if("input"===o||"textarea"===o)!function(e,t,n){var r=e.attrsMap.type,i=n||{},o=i.lazy,a=i.number,s=i.trim,l=!o&&"range"!==r,c=o?"change":"range"===r?Ji:"input",u="$event.target.value";s&&(u="$event.target.value.trim()"),a&&(u="_n(".concat(u,")"));var d=Gi(t,u);l&&(d="if($event.target.composing)return;".concat(d)),Ri(e,"value","(".concat(t,")")),Fi(e,c,d,null,!0),(s||a)&&Fi(e,"blur","$forceUpdate()")}(e,r,i);
2else if(!H.isReservedTag(o))return Wi(e,r,i),!1;return!0},text:function(e,t){t.value&&Ri(e,"textContent","_s(".concat(t.value,")"),t)},html:function(e,t){t.value&&Ri(e,"innerHTML","_s(".concat(t.value,")"),t)}},Ds={expectHTML:!0,modules:Os,directives:Ms,isPreTag:function(e){return"pre"===e},isUnaryTag:Ea,mustUseProp:$r,canBeLeftOpenTag:xa,isReservedTag:Kr,getTagNamespace:Jr,staticKeys:function(e){return e.reduce((function(e,t){return e.concat(t.staticKeys||[])}),[]).join(",")}(Os)},ks=C((function(e){return g("type,tag,attrsList,attrsMap,plain,parent,children,attrs,start,end,rawAttrsMap"+(e?","+e:""))}));function Ns(e,t){e&&(xs=ks(t.staticKeys||""),Is=t.isReservedTag||k,Ps(e),Rs(e,!1))}function Ps(e){if(e.static=function(e){return 2!==e.type&&(3===e.type||!(!e.pre&&(e.hasBindings||e.if||e.for||m(e.tag)||!Is(e.tag)||function(e){for(;e.parent;){if("template"!==(e=e.parent).tag)return!1;if(e.for)return!0}return!1}(e)||!Object.keys(e).every(xs))))}(e),1===e.type){if(!Is(e.tag)&&"slot"!==e.tag&&null==e.attrsMap["inline-template"])return;for(var t=0,n=e.children.length;t<n;t++){var r=e.children[t];Ps(r),r.static||(e.static=!1)}if(e.ifConditions)for(t=1,n=e.ifConditions.length;t<n;t++){var i=e.ifConditions[t].block;Ps(i),i.static||(e.static=!1)}}}function Rs(e,t){if(1===e.type){if((e.static||e.once)&&(e.staticInFor=t),e.static&&e.children.length&&(1!==e.children.length||3!==e.children[0].type))return void(e.staticRoot=!0);if(e.staticRoot=!1,e.children)for(var n=0,r=e.children.length;n<r;n++)Rs(e.children[n],t||!!e.for);if(e.ifConditions)for(n=1,r=e.ifConditions.length;n<r;n++)Rs(e.ifConditions[n].block,t)}}var Ls=/^([\w$_]+|\([^)]*?\))\s*=>|^function(?:\s+[\w$]+)?\s*\(/,$s=/\([^)]*?\);*$/,js=/^[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\['[^']*?']|\["[^"]*?"]|\[\d+]|\[[A-Za-z_$][\w$]*])*$/,Bs={esc:27,tab:9,enter:13,space:32,up:38,left:37,right:39,down:40,delete:[8,46]},Fs={esc:["Esc","Escape"],tab:"Tab",enter:"Enter",space:[" ","Spacebar"],up:["Up","ArrowUp"],left:["Left","ArrowLeft"],right:["Right","ArrowRight"],down:["Down","ArrowDown"],delete:["Backspace","Delete","Del"]},Hs=function(e){return"if(".concat(e,")return null;")},Us={stop:"$event.stopPropagation();",prevent:"$event.preventDefault();",self:Hs("$event.target !== $event.currentTarget"),ctrl:Hs("!$event.ctrlKey"),shift:Hs("!$event.shiftKey"),alt:Hs("!$event.altKey"),meta:Hs("!$event.metaKey"),left:Hs("'button' in $event && $event.button !== 0"),middle:Hs("'button' in $event && $event.button !== 1"),right:Hs("'button' in $event && $event.button !== 2")};function zs(e,t){var n=t?"nativeOn:":"on:",r="",i="";for(var o in e){var a=Vs(e[o]);e[o]&&e[o].dynamic?i+="".concat(o,",").concat(a,","):r+='"'.concat(o,'":').concat(a,",")}return r="{".concat(r.slice(0,-1),"}"),i?n+"_d(".concat(r,",[").concat(i.slice(0,-1),"])"):n+r}function Vs(e){if(!e)return"function(){}";if(Array.isArray(e))return"[".concat(e.map((function(e){return Vs(e)})).join(","),"]");var t=js.test(e.value),n=Ls.test(e.value),r=js.test(e.value.replace($s,""));if(e.modifiers){var i="",o="",a=[],s=function(t){if(Us[t])o+=Us[t],Bs[t]&&a.push(t);else if("exact"===t){var n=e.modifiers;o+=Hs(["ctrl","shift","alt","meta"].filter((function(e){return!n[e]})).map((function(e){return"$event.".concat(e,"Key")})).join("||"))}else a.push(t)};for(var l in e.modifiers)s(l);a.length&&(i+=function(e){return"if(!$event.type.indexOf('key')&&"+"".concat(e.map(Ws).join("&&"),")return null;")}(a)),o&&(i+=o);var c=t?"return ".concat(e.value,".apply(null, arguments)"):n?"return (".concat(e.value,").apply(null, arguments)"):r?"return ".concat(e.value):e.value;return"function($event){".concat(i).concat(c,"}")}return t||n?e.value:"function($event){".concat(r?"return ".concat(e.value):e.value,"}")}function Ws(e){var t=parseInt(e,10);if(t)return"$event.keyCode!==".concat(t);var n=Bs[e],r=Fs[e];return"_k($event.keyCode,"+"".concat(JSON.stringify(e),",")+"".concat(JSON.stringify(n),",")+"$event.key,"+"".concat(JSON.stringify(r))+")"}var Gs={on:function(e,t){e.wrapListeners=function(e){return"_g(".concat(e,",").concat(t.value,")")}},bind:function(e,t){e.wrapData=function(n){return"_b(".concat(n,",'").concat(e.tag,"',").concat(t.value,",").concat(t.modifiers&&t.modifiers.prop?"true":"false").concat(t.modifiers&&t.modifiers.sync?",true":"",")")}},cloak:D},qs=function(e){this.options=e,this.warn=e.warn||Ni,this.transforms=Pi(e.modules,"transformCode"),this.dataGenFns=Pi(e.modules,"genData"),this.directives=O(O({},Gs),e.directives);var t=e.isReservedTag||k;this.maybeComponent=function(e){return!!e.component||!t(e.tag)},this.onceId=0,this.staticRenderFns=[],this.pre=!1};function Ys(e,t){var n=new qs(t),r=e?"script"===e.tag?"null":Xs(e,n):'_c("div")';return{render:"with(this){return ".concat(r,"}"),staticRenderFns:n.staticRenderFns}}function Xs(e,t){if(e.parent&&(e.pre=e.pre||e.parent.pre),e.staticRoot&&!e.staticProcessed)return Zs(e,t);if(e.once&&!e.onceProcessed)return Qs(e,t);if(e.for&&!e.forProcessed)return el(e,t);if(e.if&&!e.ifProcessed)return Ks(e,t);if("template"!==e.tag||e.slotTarget||t.pre){if("slot"===e.tag)return function(e,t){var n=e.slotName||'"default"',r=il(e,t),i="_t(".concat(n).concat(r?",function(){return ".concat(r,"}"):""),o=e.attrs||e.dynamicAttrs?sl((e.attrs||[]).concat(e.dynamicAttrs||[]).map((function(e){return{name:A(e.name),value:e.value,dynamic:e.dynamic}}))):null,a=e.attrsMap["v-bind"];return!o&&!a||r||(i+=",null"),o&&(i+=",".concat(o)),a&&(i+="".concat(o?"":",null",",").concat(a)),i+")"}(e,t);var n=void 0;if(e.component)n=function(e,t,n){var r=t.inlineTemplate?null:il(t,n,!0);return"_c(".concat(e,",").concat(tl(t,n)).concat(r?",".concat(r):"",")")}(e.component,e,t);else{var r=void 0,i=t.maybeComponent(e);(!e.plain||e.pre&&i)&&(r=tl(e,t));var o=void 0,a=t.options.bindings;i&&a&&!1!==a.__isScriptSetup&&(o=function(e,t){var n=A(t),r=_(n),i=function(i){return e[t]===i?t:e[n]===i?n:e[r]===i?r:void 0},o=i("setup-const")||i("setup-reactive-const");if(o)return o;var a=i("setup-let")||i("setup-ref")||i("setup-maybe-ref");return a||void 0}(a,e.tag)),o||(o="'".concat(e.tag,"'"));var s=e.inlineTemplate?null:il(e,t,!0);n="_c(".concat(o).concat(r?",".concat(r):"").concat(s?",".concat(s):"",")")}for(var l=0;l<t.transforms.length;l++)n=t.transforms[l](e,n);return n}return il(e,t)||"void 0"}function Zs(e,t){e.staticProcessed=!0;var n=t.pre;return e.pre&&(t.pre=e.pre),t.staticRenderFns.push("with(this){return ".concat(Xs(e,t),"}")),t.pre=n,"_m(".concat(t.staticRenderFns.length-1).concat(e.staticInFor?",true":"",")")}function Qs(e,t){if(e.onceProcessed=!0,e.if&&!e.ifProcessed)return Ks(e,t);if(e.staticInFor){for(var n="",r=e.parent;r;){if(r.for){n=r.key;break}r=r.parent}return n?"_o(".concat(Xs(e,t),",").concat(t.onceId++,",").concat(n,")"):Xs(e,t)}return Zs(e,t)}function Ks(e,t,n,r){return e.ifProcessed=!0,Js(e.ifConditions.slice(),t,n,r)}function Js(e,t,n,r){if(!e.length)return r||"_e()";var i=e.shift();return i.exp?"(".concat(i.exp,")?").concat(o(i.block),":").concat(Js(e,t,n,r)):"".concat(o(i.block));function o(e){return n?n(e,t):e.once?Qs(e,t):Xs(e,t)}}function el(e,t,n,r){var i=e.for,o=e.alias,a=e.iterator1?",".concat(e.iterator1):"",s=e.iterator2?",".concat(e.iterator2):"";return e.forProcessed=!0,"".concat(r||"_l","((").concat(i,"),")+"function(".concat(o).concat(a).concat(s,"){")+"return ".concat((n||Xs)(e,t))+"})"}function tl(e,t){var n="{",r=function(e,t){var n=e.directives;if(n){var r,i,o,a,s="directives:[",l=!1;for(r=0,i=n.length;r<i;r++){o=n[r],a=!0;var c=t.directives[o.name];c&&(a=!!c(e,o,t.warn)),a&&(l=!0,s+='{name:"'.concat(o.name,'",rawName:"').concat(o.rawName,'"').concat(o.value?",value:(".concat(o.value,"),expression:").concat(JSON.stringify(o.value)):"").concat(o.arg?",arg:".concat(o.isDynamicArg?o.arg:'"'.concat(o.arg,'"')):"").
2concat(o.modifiers?",modifiers:".concat(JSON.stringify(o.modifiers)):"","},"))}return l?s.slice(0,-1)+"]":void 0}}(e,t);r&&(n+=r+","),e.key&&(n+="key:".concat(e.key,",")),e.ref&&(n+="ref:".concat(e.ref,",")),e.refInFor&&(n+="refInFor:true,"),e.pre&&(n+="pre:true,"),e.component&&(n+='tag:"'.concat(e.tag,'",'));for(var i=0;i<t.dataGenFns.length;i++)n+=t.dataGenFns[i](e);if(e.attrs&&(n+="attrs:".concat(sl(e.attrs),",")),e.props&&(n+="domProps:".concat(sl(e.props),",")),e.events&&(n+="".concat(zs(e.events,!1),",")),e.nativeEvents&&(n+="".concat(zs(e.nativeEvents,!0),",")),e.slotTarget&&!e.slotScope&&(n+="slot:".concat(e.slotTarget,",")),e.scopedSlots&&(n+="".concat(function(e,t,n){var r=e.for||Object.keys(t).some((function(e){var n=t[e];return n.slotTargetDynamic||n.if||n.for||nl(n)})),i=!!e.if;if(!r)for(var o=e.parent;o;){if(o.slotScope&&o.slotScope!==gs||o.for){r=!0;break}o.if&&(i=!0),o=o.parent}var a=Object.keys(t).map((function(e){return rl(t[e],n)})).join(",");return"scopedSlots:_u([".concat(a,"]").concat(r?",null,true":"").concat(!r&&i?",null,false,".concat(function(e){for(var t=5381,n=e.length;n;)t=33*t^e.charCodeAt(--n);return t>>>0}(a)):"",")")}(e,e.scopedSlots,t),",")),e.model&&(n+="model:{value:".concat(e.model.value,",callback:").concat(e.model.callback,",expression:").concat(e.model.expression,"},")),e.inlineTemplate){var o=function(e,t){var n=e.children[0];if(n&&1===n.type){var r=Ys(n,t.options);return"inlineTemplate:{render:function(){".concat(r.render,"},staticRenderFns:[").concat(r.staticRenderFns.map((function(e){return"function(){".concat(e,"}")})).join(","),"]}")}}(e,t);o&&(n+="".concat(o,","))}return n=n.replace(/,$/,"")+"}",e.dynamicAttrs&&(n="_b(".concat(n,',"').concat(e.tag,'",').concat(sl(e.dynamicAttrs),")")),e.wrapData&&(n=e.wrapData(n)),e.wrapListeners&&(n=e.wrapListeners(n)),n}function nl(e){return 1===e.type&&("slot"===e.tag||e.children.some(nl))}function rl(e,t){var n=e.attrsMap["slot-scope"];if(e.if&&!e.ifProcessed&&!n)return Ks(e,t,rl,"null");if(e.for&&!e.forProcessed)return el(e,t,rl);var r=e.slotScope===gs?"":String(e.slotScope),i="function(".concat(r,"){")+"return ".concat("template"===e.tag?e.if&&n?"(".concat(e.if,")?").concat(il(e,t)||"undefined",":undefined"):il(e,t)||"undefined":Xs(e,t),"}"),o=r?"":",proxy:true";return"{key:".concat(e.slotTarget||'"default"',",fn:").concat(i).concat(o,"}")}function il(e,t,n,r,i){var o=e.children;if(o.length){var a=o[0];if(1===o.length&&a.for&&"template"!==a.tag&&"slot"!==a.tag){var s=n?t.maybeComponent(a)?",1":",0":"";return"".concat((r||Xs)(a,t)).concat(s)}var l=n?function(e,t){for(var n=0,r=0;r<e.length;r++){var i=e[r];if(1===i.type){if(ol(i)||i.ifConditions&&i.ifConditions.some((function(e){return ol(e.block)}))){n=2;break}(t(i)||i.ifConditions&&i.ifConditions.some((function(e){return t(e.block)})))&&(n=1)}}return n}(o,t.maybeComponent):0,c=i||al;return"[".concat(o.map((function(e){return c(e,t)})).join(","),"]").concat(l?",".concat(l):"")}}function ol(e){return void 0!==e.for||"template"===e.tag||"slot"===e.tag}function al(e,t){return 1===e.type?Xs(e,t):3===e.type&&e.isComment?function(e){return"_e(".concat(JSON.stringify(e.text),")")}(e):function(e){return"_v(".concat(2===e.type?e.expression:ll(JSON.stringify(e.text)),")")}(e)}function sl(e){for(var t="",n="",r=0;r<e.length;r++){var i=e[r],o=ll(i.value);i.dynamic?n+="".concat(i.name,",").concat(o,","):t+='"'.concat(i.name,'":').concat(o,",")}return t="{".concat(t.slice(0,-1),"}"),n?"_d(".concat(t,",[").concat(n.slice(0,-1),"])"):t}function ll(e){return e.replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")}function cl(e,t){try{return new Function(e)}catch(n){return t.push({err:n,code:e}),D}}function ul(e){var t=Object.create(null);return function(n,r,i){(r=O({},r)).warn,delete r.warn;var o=r.delimiters?String(r.delimiters)+n:n;if(t[o])return t[o];var a=e(n,r),s={},l=[];return s.render=cl(a.render,l),s.staticRenderFns=a.staticRenderFns.map((function(e){return cl(e,l)})),t[o]=s}}new RegExp("\\b"+"do,if,for,let,new,try,var,case,else,with,await,break,catch,class,const,super,throw,while,yield,delete,export,import,return,switch,default,extends,finally,continue,debugger,function,arguments".split(",").join("\\b|\\b")+"\\b"),new RegExp("\\b"+"delete,typeof,void".split(",").join("\\s*\\([^\\)]*\\)|\\b")+"\\s*\\([^\\)]*\\)");var dl,hl,fl=(dl=function(e,t){var n=ys(e.trim(),t);!1!==t.optimize&&Ns(n,t);var r=Ys(n,t);return{ast:n,render:r.render,staticRenderFns:r.staticRenderFns}},function(e){function t(t,n){var r=Object.create(e),i=[],o=[];if(n)for(var a in n.modules&&(r.modules=(e.modules||[]).concat(n.modules)),n.directives&&(r.directives=O(Object.create(e.directives||null),n.directives)),n)"modules"!==a&&"directives"!==a&&(r[a]=n[a]);r.warn=function(e,t,n){(n?o:i).push(e)};var s=dl(t.trim(),r);return s.errors=i,s.tips=o,s}return{compile:t,compileToFunctions:ul(t)}}
2),pl=fl(Ds).compileToFunctions;function gl(e){return(hl=hl||document.createElement("div")).innerHTML=e?'<a href="\n"/>':'<div a="\n"/>',hl.innerHTML.indexOf("&#10;")>0}var ml=!!q&&gl(!1),yl=!!q&&gl(!0),vl=C((function(e){var t=ni(e);return t&&t.innerHTML})),wl=Er.prototype.$mount;return Er.prototype.$mount=function(e,t){if((e=e&&ni(e))===document.body||e===document.documentElement)return this;var n=this.$options;if(!n.render){var r=n.template;if(r)if("string"==typeof r)"#"===r.charAt(0)&&(r=vl(r));else{if(!r.nodeType)return this;r=r.innerHTML}else e&&(r=function(e){if(e.outerHTML)return e.outerHTML;var t=document.createElement("div");return t.appendChild(e.cloneNode(!0)),t.innerHTML}(e));if(r){var i=pl(r,{outputSourceRange:!1,shouldDecodeNewlines:ml,shouldDecodeNewlinesForHref:yl,delimiters:n.delimiters,comments:n.comments},this),o=i.render,a=i.staticRenderFns;n.render=o,n.staticRenderFns=a}}return wl.call(this,e,t)},Er.compile=pl,O(Er,Hn),Er.effect=function(e,t){var n=new Gn(ce,e,D,{sync:!0});t&&(n.update=function(){t((function(){return n.run()}))})},Er}()}},t={};function n(r){var i=t[r];if(void 0!==i)return i.exports;var o=t[r]={id:r,loaded:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.loaded=!0,o.exports}n.amdO={},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},n.d=function(e,t){for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.nmd=function(e){return e.paths=[],e.children||(e.children=[]),e},function(){"use strict";var e=n(755),t=n.n(e),r=n(486),i=n(508),o=n.n(i),a=(n(606),n(107),n(868),n(54),n(934)),s=n.n(a),l=new(s())({});n.g.vApp=l;var c,u=n(755);l.$on("address:getRegions",(c={active:!1},function(e){var t=e&&e.countryCode;if(!c.active)return l.$emit("loadingBar:show"),u.ajax({url:"/api/region/list/".concat(t),type:"GET",contentType:"application/json",dataType:"json"}).then((function(e){c.active=!1,c.cart=e,l.$emit("address:getRegions:then",e),l.$emit("loadingBar:hide")}))}));var d=n(755);function h(e){return h="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},h(e)}function f(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?f(Object(n),!0).forEach((function(t){g(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):f(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function g(e,t,n){return(t=function(e){var t=function(e,t){if("object"!==h(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==h(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===h(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}l.$on("buywidget:post",function(){var e={active:!1};return function(t){var n=t.buildCfg,r=t.filters;if(n&&!e.active)return e.active=!0,l.$emit("loadingBar:show"),d.ajax({url:"/api/buywidget/".concat(n.Adv?"adv":"simple"),type:"POST",contentType:"application/json",dataType:"json",data:JSON.stringify(p(p({},n),{},{Filters:r||[]}))}).then((function(t){e.active=!1,e.cart=t,l.$emit("buywidget:post:then",t),l.$emit("loadingBar:hide")})).catch((function(t){e.active=!1,l.$emit("buywidget:post:catch",t),l.$emit("loadingBar:hide")}))}}());var m=n(755);function y(e){return function(e){if(Array.isArray(e))return v(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return v(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return v(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function v(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}l.$on("cart:getCart",function(){var e={active:!1};return function(t){var n=t&&t.cartName;
2if(!e.active)return l.$emit("loadingBar:show"),m.ajax({url:"/api/cart/".concat(n||"Default"),type:"GET",contentType:"application/json",dataType:"json"}).then((function(t){e.active=!1,e.cart=t,l.$emit("cart:getCart".concat(n?":"+n:"",":then"),t),l.$emit("loadingBar:hide")}))}}()),l.$on("cart:getCartItemCount",function(){var e={active:!1};return function(t){var n=t&&t.cartName;if(!e.active)return l.$emit("loadingBar:show"),m.ajax({url:"/api/cart/cartItemCount/".concat(n||"Default"),type:"GET",contentType:"application/json",dataType:"json"}).then((function(t){e.active=!1,l.$emit("cart:getCartItemCount".concat(n?":"+n:"",":then"),t),l.$emit("loadingBar:hide")}))}}()),l.$on("cart:postCart",function(){var e={active:!1};return function(t){var n=t.skuCode,r=t.skuCodes,i=t.modelCode,o=t.qty,a=t.cartName,s=void 0===a?"Default":a,c=t.specifications;if((n||r)&&!_.isNil(o)&&!_.isNil(s)&&!e.active)return e.active=!0,l.$emit("loadingBar:show"),m.ajax({url:r?"/api/cart/link/".concat("Default"===s?o:1,"/").concat(s,"?").concat(m.param({skuCode:y(r)})):"/api/cart/".concat(n,"/").concat(o,"/").concat(s),type:"POST",contentType:"application/json",dataType:"json",data:JSON.stringify({specifications:c&&y(c),modelCode:i})}).then((function(t){e.active=!1,l.$emit("cart:postCart:then",t),l.$emit("loadingBar:hide"),_.delay((function(){return l.$emit("snackbar:show",{msg:_.get(snackbarCfg,"addToCartThen.".concat("Default"===s?"cart":"Service"===s?"service":"wishlist"))})}))})).catch((function(t){e.active=!1,l.$emit("cart:postCart:catch",t),l.$emit("loadingBar:hide"),_.delay((function(){return l.$emit("snackbar:show",{msg:_.get(snackbarCfg,"addToCartCatch.".concat("Default"===s?"cart":"Service"===s?"service":"wishlist")),err:!0})}))}))}}()),l.$on("cart:putCart",function(){var e={active:!1};return function(t){var n=t.skuCode,r=t.skuCodes,i=t.modelCode,o=t.linkId,a=t.qty,s=t.cartName,c=void 0===s?"Default":s;if((n||r||o)&&!_.isNil(a)&&!_.isNil(c)&&!e.active)return e.active=!0,l.$emit("loadingBar:show"),m.ajax({url:o?"/api/cart/link/".concat(a,"/").concat(c,"?").concat(m.param({skuCode:y(r),modelCode:i,linkId:o})):"/api/cart/".concat(n,"/").concat(a,"/").concat(c),type:"PUT",contentType:"application/json",dataType:"json"}).then((function(t){e.active=!1,l.$emit("cart:putCart:then",t),l.$emit("loadingBar:hide"),l.$emit("snackbar:show",{msg:_.get(snackbarCfg,"updateCartThen.".concat("Default"===c?"cart":"wishlist"))})})).catch((function(t){e.active=!1,l.$emit("cart:putCart:catch",t),l.$emit("loadingBar:hide"),l.$emit("snackbar:show",{msg:_.get(snackbarCfg,"updateCartCatch.".concat("Default"===c?"cart":"wishlist")),err:!0})}))}}()),l.$on("cart:putServiceCart",function(){var e={active:!1};return function(t){var n=t.skuCode,r=t.problemDescription,i=t.serialNumber,o=t.genericPart,a=t.serialFGCode,s=t.serialModelCode,c=t.serialModelName;if(!(_.isNil(n)||_.isNil(i)||_.isNil(o)||e.active))return e.active=!0,l.$emit("loadingBar:show"),m.ajax({url:"/api/cart/serviceCart",type:"PUT",contentType:"application/json",dataType:"json",data:JSON.stringify({serviceFGCode:n,problemDescription:r,serialNumber:i,genericPart:o,serialFGCode:a,serialModelCode:s,serialModelName:c})}).then((function(t){e.active=!1,l.$emit("cart:putServiceCart:then",t),l.$emit("loadingBar:hide"),_.delay((function(){return l.$emit("snackbar:show",{msg:_.get(snackbarCfg,"putServiceCartThen")})}))})).catch((function(t){e.active=!1,l.$emit("cart:putServiceCart:catch",t),l.$emit("loadingBar:hide"),_.delay((function(){return l.$emit("snackbar:show",{msg:_.get(snackbarCfg,"putServiceCartCatch"),err:!0})}))}))}}()),l.$on("cart:putServiceCartImages",function(){var e={active:!1};return function(t){var n=t.data;if(!_.isNil(n)&&!e.active)return e.active=!0,l.$emit("loadingBar:show"),m.ajax({url:"/api/cart/serviceCart/images",type:"PUT",dataType:"html",processData:!1,contentType:!1,data:n}).then((function(t){e.active=!1,l.$emit("cart:putServiceCartImages:then",t),l.$emit("loadingBar:hide"),_.delay((function(){return l.$emit("snackbar:show",{msg:_.get(snackbarCfg,"putServiceCartImagesThen")})}))})).catch((function(t){e.active=!1,l.$emit("cart:putServiceCartImages:catch",t),l.$emit("loadingBar:hide"),_.delay((function(){return l.$emit("snackbar:show",{msg:_.get(snackbarCfg,"putServiceCartImagesCatch"),err:!0})}))}))}}()),l.$on("cart:transferCart",function(){var e={active:!1};return function(){if(!e.active)return e.active=!0,l.$emit("loadingBar:sh
2ow"),m.ajax({url:"/api/cart/transfercart",type:"PATCH",contentType:"application/json",dataType:"json"}).then((function(t){e.active=!1,l.$emit("cart:transferCart:then",t),l.$emit("loadingBar:hide"),l.$emit("snackbar:show",{msg:_.get(snackbarCfg,"addToCartThen.cart")})})).catch((function(t){e.active=!1,l.$emit("cart:transferCart:catch",t),l.$emit("loadingBar:hide"),l.$emit("snackbar:show",{msg:_.get(snackbarCfg,"addToCartCatch.cart"),err:!0})}))}}()),l.$on("cart:transferLine",function(){var e={active:!1};return function(t){var n=t.skuCode,r=t.cartName,i=void 0===r?"Default":r;if(n&&!_.isNil(i)&&!e.active)return e.active=!0,l.$emit("loadingBar:show"),m.ajax({url:"/api/cart/transferline/".concat(n),type:"PATCH",contentType:"application/json",dataType:"json"}).then((function(t){e.active=!1,l.$emit("cart:transferLine:then",t),l.$emit("loadingBar:hide"),l.$emit("snackbar:show",{msg:_.get(snackbarCfg,"addToCartThen.".concat("Default"===i?"cart":"wishlist"))})})).catch((function(t){e.active=!1,l.$emit("cart:transferLine:catch",t),l.$emit("loadingBar:hide"),l.$emit("snackbar:show",{msg:_.get(snackbarCfg,"addToCartCatch.".concat("Default"===i?"cart":"wishlist")),err:!0})}))}}());var w=n(755);function b(e){return b="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},b(e)}function C(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function S(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?C(Object(n),!0).forEach((function(t){A(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):C(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function A(e,t,n){return(t=function(e){var t=function(e,t){if("object"!==b(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==b(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===b(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}l.$on("checkout:getAddress",function(){var e={active:!1};return function(t){var n=t.isShipping;if(!e.active)return e.active=!0,l.$emit("loadingBar:show"),w.ajax({url:"/api/checkout/getAddress/".concat(n),type:"GET",contentType:"application/json",dataType:"json"}).then((function(t){e.active=!1,l.$emit("checkout:getAddress:then",t),l.$emit("loadingBar:hide")})).catch((function(t){e.active=!1,l.$emit("checkout:getAddress:catch",t),l.$emit("loadingBar:hide")}))}}()),l.$on("checkout:postAddress",function(){var e={active:!1};return function(t){var n=t.data,r=t.cartName,i=void 0===r?"Default":r;if(n&&!e.active)return e.active=!0,l.$emit("loadingBar:show"),w.ajax({url:"/api/checkout/saveAddress/".concat(i),type:"POST",contentType:"application/json",dataType:"json",data:JSON.stringify(S({},n))}).then((function(t){if(e.active=!1,l.$emit("checkout:postAddress:then",t),l.$emit("loadingBar:hide"),n.Subscribe)return l.$emit("snackbar:show",{msg:_.get(snackbarCfg,"postAddressSubscribeThen")});l.$emit("snackbar:show",{msg:_.get(snackbarCfg,"postAddressThen")})})).catch((function(t){e.active=!1,l.$emit("checkout:postAddress:catch",t),l.$emit("loadingBar:hide"),l.$emit("snackbar:show",{msg:_.get(snackbarCfg,"postAddressCatch"),err:!0})}))}}());var T=n(755);l.$on("cart:postPayment",function(){var e={active:!1};return function(t){var n=t.tokenId,r=t.expiry,i=t.amount,o=t.address,a=t.cartName,s=void 0===a?"Default":a;if(n){if(r&&i&&o&&!e.active)return e.active=!0,l.$emit("loadingBar:show"),T.ajax({url:"/api/cart/attachCardPayment/".concat(s),type:"POST",contentType:"application/json",dataType:"json",data:JSON.stringify({TokenId:n,Expiry:r,Amount:i,BillingAddress:o})}).then((function(t){e.active=!1,l.$emit("cart:postPayment:then",t),l.$emit("loadingBar:hide"),l.$emit("snackbar:show",{msg:_.get(snackbarCfg,"postPaymentThen")})})).catch((function(t){e.active=!1,l.$emit("cart:postPayment:catch",t),l.$emit("loadingBar:hide"),l.$emit("snackbar:show",{msg:_.get(snackbarCfg,"postPaymentCatch"),err:!0})}))}else l.$emit("snackbar:show",{msg:_.get(snackbarCfg,"postPaymentTokenCatch"),err:!0})}}()),l.$on("cart:postPaypal",function(){var e={active:!1};return function(t){var n=t.orderId,r=t.authCode,i=t.cardHolder,o=t.amount,a=t.eligibility,s=t.eligibilityType,c=t.authorization,u=t.cartName,d=void 0===u?"Default":u;if(n){if(r&&o&&!e.active)return e.active=!0,l.$emit("loadingBar:sh
2ow"),T.ajax({url:"/api/cart/attachPayPalPayment/".concat(d),type:"POST",contentType:"application/json",dataType:"json",data:JSON.stringify({OrderId:n,AuthorizationCode:r,Amount:+o,CardHolder:i,Eligibility:a,EligibilityType:s,AuthorizationResponse:JSON.stringify(c||{})})}).then((function(t){e.active=!1,l.$emit("cart:postPaypal:then",t),l.$emit("loadingBar:hide"),l.$emit("snackbar:show",{msg:_.get(snackbarCfg,"postPaymentThen")})})).catch((function(t){e.active=!1,l.$emit("cart:postPaypal:catch",t),l.$emit("loadingBar:hide"),l.$emit("snackbar:show",{msg:_.get(snackbarCfg,"postPaymentCatch"),err:!0})}))}else l.$emit("snackbar:show",{msg:_.get(snackbarCfg,"postPaypalTokenCatch"),err:!0})}}()),l.$on("checkout:postShipping",function(){var e={active:!1};return function(t){var n=t.shippingId,r=t.cartName,i=void 0===r?"Default":r;if(n&&!e.active)return e.active=!0,l.$emit("loadingBar:show"),T.ajax({url:"/api/checkout/saveShipping/".concat(i),type:"POST",contentType:"application/json",dataType:"json",data:JSON.stringify({ShippingId:n})}).then((function(t){e.active=!1,l.$emit("checkout:postShipping:then",t),l.$emit("loadingBar:hide"),l.$emit("snackbar:show",{msg:_.get(snackbarCfg,"postShippingThen")})})).catch((function(t){e.active=!1,l.$emit("checkout:postShipping:catch",t),l.$emit("loadingBar:hide"),l.$emit("snackbar:show",{msg:_.get(snackbarCfg,"postShippingCatch"),err:!0})}))}}()),l.$on("cart:postSubmit",function(){var e={active:!1};return function(t){var n=t.cartName,r=void 0===n?"Default":n;if(!_.isNil(r)&&!e.active)return e.active=!0,l.$emit("loadingBar:show"),T.ajax({url:"/api/cart/submit/".concat(r),type:"POST",contentType:"application/json",dataType:"json"}).then((function(t){e.active=!1,l.$emit("cart:postSubmit:then",t),l.$emit("loadingBar:hide"),l.$emit("snackbar:show",{msg:_.get(snackbarCfg,"postSubmitThen")})})).catch((function(t){e.active=!1,l.$emit("cart:postSubmit:catch",t),l.$emit("loadingBar:hide"),l.$emit("snackbar:show",{msg:_.get(snackbarCfg,"postSubmitCatch"),err:!0})}))}}()),l.$on("checkout:postPromo",function(){var e={active:!1};return function(t){var n=t.promoCode,r=t.cartName,i=void 0===r?"Default":r;if(n&&!e.active)return e.active=!0,l.$emit("loadingBar:show"),T.ajax({url:"/api/checkout/applyPromo/".concat(n,"/").concat(i),type:"POST",contentType:"application/json",dataType:"json"}).then((function(t){e.active=!1,l.$emit("checkout:postPromo:then",t),l.$emit("loadingBar:hide"),l.$emit("snackbar:show",{msg:_.get(snackbarCfg,"postPromoThen")})})).catch((function(t){e.active=!1,l.$emit("checkout:postPromo:catch",t),l.$emit("loadingBar:hide"),l.$emit("snackbar:show",{msg:_.get(snackbarCfg,"postPromoCatch"),err:!0})}))}}()),l.$on("checkout:deletePromo",function(){var e={active:!1};return function(t){var n=t.promoCode,r=t.cartName,i=void 0===r?"Default":r;if(n&&!e.active)return e.active=!0,l.$emit("loadingBar:show"),T.ajax({url:"/api/checkout/removepromo/".concat(n,"/").concat(i),type:"DELETE",contentType:"application/json",dataType:"json"}).then((function(t){e.active=!1,l.$emit("checkout:deletePromo:then",t),l.$emit("loadingBar:hide"),l.$emit("snackbar:show",{msg:_.get(snackbarCfg,"deletePromoThen")})})).catch((function(t){e.active=!1,l.$emit("checkout:deletePromo:catch",t),l.$emit("loadingBar:hide"),l.$emit("snackbar:show",{msg:_.get(snackbarCfg,"deletePromoCatch"),err:!0})}))}}());var E=n(755);function x(e){return x="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},x(e)}function I(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function O(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?I(Object(n),!0).forEach((function(t){M(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):I(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function M(e,t,n){return(t=function(e){var t=function(e,t){if("object"!==x(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==x(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===x(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}l.$on("checkout:paymentSource",function(){var e={active:!1};return function(t){var n=t.data,r=t.cartName,i=void 0===r?"Default":r;
2if(!e.active)return e.active=!0,l.$emit("loadingBar:show"),E.ajax({url:"/api/checkout/paymentSource/".concat(i),type:"POST",contentType:"application/json",dataType:"json",data:JSON.stringify(O({},n))}).then((function(t){e.active=!1,l.$emit("checkout:paymentSource:then",t),l.$emit("loadingBar:hide")})).catch((function(t){e.active=!1,l.$emit("checkout:paymentSource:catch",t),l.$emit("loadingBar:hide"),l.$emit("snackbar:show",{msg:_.get(snackbarCfg,"paymentSourceCatch"),err:!0})}))}}()),l.$on("checkout:postPayment",function(){var e={active:!1};return function(t){var n=t.amount,r=t.address,i=t.cartName,o=void 0===i?"Default":i;if(n&&r&&!e.active)return e.active=!0,l.$emit("loadingBar:show"),E.ajax({url:"/api/checkout/attachCardPayment/".concat(o),type:"POST",contentType:"application/json",dataType:"json",data:JSON.stringify({Amount:n,BillingAddress:r})}).then((function(t){e.active=!1,l.$emit("checkout:postPayment:then",t),l.$emit("loadingBar:hide"),l.$emit("snackbar:show",{msg:_.get(snackbarCfg,"postPaymentThen")})})).catch((function(t){e.active=!1,l.$emit("checkout:postPayment:catch",t),l.$emit("loadingBar:hide"),l.$emit("snackbar:show",{msg:_.get(snackbarCfg,"postPaymentCatch"),err:!0})}))}}()),l.$on("checkout:postPaypal",function(){var e={active:!1};return function(t){var n=t.orderId,r=t.cardHolder,i=t.amount,o=t.authorization,a=t.cartName,s=void 0===a?"Default":a;if(n){if(i&&!e.active)return e.active=!0,l.$emit("loadingBar:show"),E.ajax({url:"/api/checkout/attachPayPalPayment/".concat(s),type:"POST",contentType:"application/json",dataType:"json",data:JSON.stringify({OrderId:n,Amount:+i,CardHolder:r,AuthorizationResponse:JSON.stringify(o||{})})}).then((function(t){e.active=!1,l.$emit("checkout:postPaypal:then",t),l.$emit("loadingBar:hide"),l.$emit("snackbar:show",{msg:_.get(snackbarCfg,"postPaymentThen")})})).catch((function(t){e.active=!1,l.$emit("checkout:postPaypal:catch",t),l.$emit("loadingBar:hide"),l.$emit("snackbar:show",{msg:_.get(snackbarCfg,"postPaymentCatch"),err:!0})}))}else l.$emit("snackbar:show",{msg:_.get(snackbarCfg,"postPaypalTokenCatch"),err:!0})}}()),l.$on("checkout:postSubmit",function(){var e={active:!1};return function(t){var n=t.cartName,r=void 0===n?"Default":n;if(!_.isNil(r)&&!e.active)return e.active=!0,l.$emit("loadingBar:show"),E.ajax({url:"/api/checkout/submit/".concat(r),type:"POST",contentType:"application/json",dataType:"json"}).then((function(t){e.active=!1,l.$emit("checkout:postSubmit:then",t),l.$emit("loadingBar:hide"),l.$emit("snackbar:show",{msg:_.get(snackbarCfg,"postSubmitThen")})})).catch((function(t){e.active=!1,l.$emit("checkout:postSubmit:catch",t),l.$emit("loadingBar:hide"),l.$emit("snackbar:show",{msg:_.get(snackbarCfg,"postSubmitCatch"),err:!0})}))}}());var D=n(755);function k(e){return k="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},k(e)}function N(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function P(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?N(Object(n),!0).forEach((function(t){R(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):N(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function R(e,t,n){return(t=function(e){var t=function(e,t){if("object"!==k(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==k(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===k(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}l.$on("myaccount:getCustomerInfo",function(){var e={active:!1};return function(){if(!e.active)return e.active=!0,l.$emit("loadingBar:sh
2ow"),D.ajax({url:"/api/myaccount/getCustomerInfo",type:"GET",contentType:"application/json",dataType:"json"}).then((function(t){e.active=!1,l.$emit("myaccount:getCustomerInfo:then",t),l.$emit("loadingBar:hide")})).catch((function(t){e.active=!1,l.$emit("myaccount:getCustomerInfo:catch",t),l.$emit("loadingBar:hide")}))}}()),l.$on("myaccount:saveCustomerInfo",function(){var e={active:!1};return function(t){var n=t.data;if(n&&!e.active)return e.active=!0,l.$emit("loadingBar:show"),D.ajax({url:"/api/myaccount/saveCustomerInfo",type:"PUT",contentType:"application/json",dataType:"json",data:JSON.stringify(P({},n))}).then((function(t){e.active=!1,l.$emit("myaccount:saveCustomerInfo:then",t),l.$emit("loadingBar:hide"),l.$emit("snackbar:show",{msg:_.get(snackbarCfg,"saveCustomerInfoThen")})})).catch((function(t){e.active=!1,l.$emit("myaccount:saveCustomerInfo:catch",t),l.$emit("loadingBar:hide"),l.$emit("snackbar:show",{msg:_.get(snackbarCfg,"saveCustomerInfoCatch"),err:!0})}))}}()),l.$on("myaccount:getAddresses",function(){var e={active:!1};return function(){if(!e.active)return e.active=!0,l.$emit("loadingBar:show"),D.ajax({url:"/api/myaccount/getAddresses",type:"GET",contentType:"application/json",dataType:"json"}).then((function(t){e.active=!1,l.$emit("myaccount:getAddresses:then",t),l.$emit("loadingBar:hide")})).catch((function(t){e.active=!1,l.$emit("myaccount:getAddresses:catch",t),l.$emit("loadingBar:hide")}))}}()),l.$on("myaccount:saveAddress",function(){var e={active:!1};return function(t){var n=t.data;if(n&&!e.active)return e.active=!0,l.$emit("loadingBar:show"),D.ajax({url:"/api/myaccount/saveAddress",type:"PUT",contentType:"application/json",dataType:"json",data:JSON.stringify(P({},n))}).then((function(t){e.active=!1,l.$emit("myaccount:saveAddress:then",t),l.$emit("loadingBar:hide"),l.$emit("snackbar:show",{msg:_.get(snackbarCfg,"saveAddressThen")})})).catch((function(t){e.active=!1,l.$emit("myaccount:saveAddress:catch",t),l.$emit("loadingBar:hide"),l.$emit("snackbar:show",{msg:_.get(snackbarCfg,400===t.status?"saveAddressValidationCatch":"saveAddressCatch"),err:!0})}))}}()),l.$on("myaccount:deleteAddress",function(){var e={active:!1};return function(t){var n=t.id;if(!e.active)return e.active=!0,l.$emit("loadingBar:show"),D.ajax({url:"/api/myaccount/deleteAddress/".concat(n),type:"DELETE",contentType:"application/json",dataType:"json"}).then((function(t){e.active=!1,l.$emit("myaccount:deleteAddress:then",t),l.$emit("loadingBar:hide"),l.$emit("snackbar:show",{msg:_.get(snackbarCfg,"deleteAddressThen")})})).catch((function(t){e.active=!1,l.$emit("myaccount:deleteAddress:catch",t),l.$emit("loadingBar:hide"),l.$emit("snackbar:show",{msg:_.get(snackbarCfg,"deleteAddressCatch"),err:!0})}))}}()),l.$on("order:getShippingMethods",function(){var e={active:!1};return function(){if(!e.active)return e.active=!0,l.$emit("loadingBar:show"),D.ajax({url:"/api/order/shippingMethods",type:"GET",contentType:"application/json",dataType:"json"}).then((function(t){e.active=!1,l.$emit("order:getShippingMethods:then",t),l.$emit("loadingBar:hide")})).catch((function(t){e.active=!1,l.$emit("order:getShippingMethods:catch",t),l.$emit("loadingBar:hide")}))}}()),l.$on("order:getOrders",function(){var e={active:!1};return function(t){if(!e.active){e.active=!0,l.$emit("loadingBar:show");var n="",r=_.get(t,"orderType"),i=_.get(t,"serviceStatus");return _.isNil(r)||(n+="?orderType=".concat(r),_.isNil(i)||(n+="&serviceStatus=".concat(i))),D.ajax({url:"/api/order/list/".concat(_.get(t,"page",1)).concat(n),type:"GET",contentType:"application/json",dataType:"json"}).then((function(t){e.active=!1,l.$emit("order:getOrders".concat(r?":"+r:"",":then"),t),l.$emit("loadingBar:hide")})).catch((function(t){e.active=!1,l.$emit("order:getOrders".concat(r?":"+r:"",":catch"),t),l.$emit("loadingBar:hide")}))}}}()),l.$on("order:getOrder",function(){var e={active:!1};return function(t){var n=_.get(t,"pon"),r=_.get(t,"son");if((n||r)&&!e.active)return e.active=!0,l.$emit("loadingBar:show"),D.ajax({url:n?"/api/order/".concat(n):"/api/order/service/".concat(r),type:"GET",contentType:"application/json",dataType:"json"}).then((function(t){e.active=!1,l.$emit("order:getOrder:then",t),l.$emit("loadingBar:hide")})).catch((function(t){e.active=!1,l.$emit("order:getOrder:catch",t),l.$emit("loadingBar:hide")}))}}()),l.$on("order:cancelOrder",function(){var e={active:!1};return function(t){var n=t.purchaseOrderNumber;
2if(n&&!e.active)return e.active=!0,l.$emit("loadingBar:show"),D.ajax({url:"/api/order/".concat(n,"/cancel"),type:"PUT",contentType:"application/json",dataType:"json"}).then((function(t){e.active=!1,l.$emit("order:cancelOrder:then",t),l.$emit("loadingBar:hide"),l.$emit("snackbar:show",{msg:_.get(snackbarCfg,"cancelOrderThen")})})).catch((function(t){e.active=!1,l.$emit("order:cancelOrder:catch",t),l.$emit("loadingBar:hide"),l.$emit("snackbar:show",{msg:_.get(snackbarCfg,"cancelOrderCatch"),err:!0})}))}}()),l.$on("serviceOrder:offerings",function(){var e={active:!1};return function(t){var n=t.data;if(n&&!e.active)return e.active=!0,l.$emit("loadingBar:show"),D.ajax({url:"/api/serviceorder/offerings",type:"POST",contentType:"application/json",dataType:"json",data:JSON.stringify(P({},n))}).then((function(t){e.active=!1,l.$emit("serviceOrder:offerings:then",t),l.$emit("loadingBar:hide")})).catch((function(t){e.active=!1,l.$emit("serviceOrder:offerings:catch",t),l.$emit("loadingBar:hide"),l.$emit("snackbar:show",{msg:_.get(t,"responseJSON.detail",_.get(snackbarCfg,"offeringsCatch")),err:!0})}))}}()),l.$on("serviceOrder:addMessage",function(){var e={active:!1};return function(t){var n=t.data,r=t.pon;if(n&&r&&!e.active)return e.active=!0,l.$emit("loadingBar:show"),D.ajax({url:"/api/serviceorder/addmessage/".concat(r),type:"POST",contentType:"application/json",dataType:"json",data:JSON.stringify(P({},n))}).then((function(t){e.active=!1,l.$emit("serviceOrder:addMessage:then",t),l.$emit("loadingBar:hide"),l.$emit("snackbar:show",{msg:_.get(snackbarCfg,"addMessageThen")})})).catch((function(t){e.active=!1,l.$emit("serviceOrder:addMessage:catch",t),l.$emit("loadingBar:hide"),l.$emit("snackbar:show",{msg:_.get(t,"responseJSON.detail",_.get(snackbarCfg,"addMessageCatch")),err:!0})}))}}()),l.$on("gtm:dataLayer",(function(e){var t=e.event,n=e.ecommerce,r={};t&&(r.event=t),n&&(dataLayer.push({ecommerce:null}),r.ecommerce=n),dataLayer.push(r)})),l.$on("fbq:track",(function(e){var t=e.event,n=e.options;fbq("track",t,n)}));vApp.$on("analytics:cart",(function(e){var t=e.action,n=e.cartType,r=e.items,i=[].concat(null!=r?r:[]);if(i.length){var o="wishlist"==n.toLowerCase()?"wishlist":"cart",a="add"===t?"add_to_".concat(o):"remove_from_".concat(o);vApp.$emit("gtm:dataLayer",{event:a,ecommerce:{currency:i[0].currencyCode,value:i.reduce((function(e,t){return e+parseFloat(t.priceDecimal)*t.quantityChange}),0),items:i.map((function(e){var t;return{item_name:null!==(t=e.name)&&void 0!==t?t:e.fgCode,item_id:e.modelCode,currency:e.currencyCode,price:e.priceDecimal,item_brand:e.brand,item_category:"",item_variant:e.fgCode,quantity:e.quantityChange}}))}})}})),vApp.$on("analytics:cart",(function(e){var t=e.cartType,n=e.action,r=e.items,i=[].concat(null!=r?r:[]);if(i.length){var o="wishlist"==t.toLowerCase()?"Wishlist":"Cart",a=function(e){var t;return{item_name:null!==(t=e.name)&&void 0!==t?t:e.fgCode,item_id:e.modelCode,currency:e.currencyCode,price:e.price,item_brand:e.brand,item_category:"",item_variant:e.fgCode,quantity:e.quantityChange}};"add"===n?vApp.$emit("gtm:dataLayer",{event:"addTo".concat(o),ecommerce:{currencyCode:i[0].currencyCode,add:i.map(a)}}):vApp.$emit("gtm:dataLayer",{event:"removeFrom".concat(o),ecommerce:{currencyCode:i[0].currencyCode,remove:i.map(a)}})}})),vApp.$on("analytics:cart",(function(e){var t=e.cartType,n=e.action,r=e.items;[].concat(null!=r?r:[]).length&&"wishlist"!=t.toLowerCase()&&("add"===n?vApp.$emit("fbq:track",{event:"AddToCart"}):"remove"===n&&vApp.$emit("fbq:track",{event:"RemoveFromCart"}))})),vApp.$on("analytics:purchase",(function(e){vApp.$emit("gtm:dataLayer",{event:"transaction",ecommerce:{purchase:{actionField:{id:e.OrderMeta.PurchaseorderNumber,revenue:e.Total,tax:e.TaxTotal,shipping:e.ShippingTotal,coupon:e.DiscountTotal},products:e.Items.map((function(e){var t;return{name:e.DisplayName,id:e.ModelCode,price:null!==(t=e.LinkedPlacedPrice)&&void 0!==t?t:e.PlacedPrice,brand:e.Brand,category:"",variant:e.Code,quantity:e.Quantity}}))}}})})),vApp.$on("analytics:purchase",(function(e){vApp.$emit("gtm:dataLayer",{event:"purchase",ecommerce:{transaction_id:e.OrderMeta.PurchaseorderNumber,value:e.Total,tax:e.TaxTotal,shipping:e.ShippingTotal,currency:e.Currency,discount:e.DiscountTotal,items:e.Items.map((function(e){var t;return{item_name:e.DisplayName,item_id:e.ModelCode,price:null!==(t=e.LinkedPlacedPrice)&&void 0!==t?t:e.PlacedPrice,currency:e.Currency,item_brand:e.Brand,category:"",item_variant:e.Code,quantity:e.Quantity}}))}})})),vApp.$on("analytics:purchase",(function(e){vApp.$emit("fbq:track",{event:"Purchase",options:{value:e.Total,currency:e.Currency}})})),vApp.$on("analytics:checkout",(function(e){vApp.$emit("gtm:dataLayer",{event:"checkout",ecommerce:{checkout:{actionField:{step:1,option:"CHECKOUT"},products:e.Items.map((function(e){return{name:e.DisplayName,id:e.ModelCode,price:e.PlacedPrice,brand:e.Brand,category:"",variant:e.Code,quantity:e.Quantity}}))}}})})),vApp.$on("analytics:checkout",(function(e){vApp.$emit("gtm:dataLayer",{event:"begin_checkout",ecommerce:{items:e.Items.map((function(e){return{item_name:e.DisplayName,item_id:e.ModelCode,price:e.PlacedPrice,item_brand:e.Brand,currency:e.Currency,item_variant:e.Code,quantity:e.Quantity}}))}})})),vApp.$on("analytics:checkout",(function(e){vApp.$emit("fbq:track",{event:"InitiateCheckout"})})),vApp.$on("analytics:checkout:payment",(function(e){var t=e.paymentType,n=e.cart;dataLayer.push({event:"add_payment_info",ecommerce:{currency:n.Currency,value:n.Total,payment_type:t,items:n.Items.map((function(e){return{item_name:e.DisplayName,item_id:e.ModelCode,price:e.PlacedPrice,item_brand:e.Brand,currency:e.Currency,item_variant:e.Code,quantity:e.Quantity}}))}})})),vApp.$on("analytics:checkout:shipping",(function(e){var t=e.method,n=e.cart;vApp.$emit("gtm:dataLayer",{event:"add_shipping_info",ecommerce:{currency:n.Currency,value:n.Total,shipping_tier:t.Name,items:n.Items.map((function(e){return{item_name:e.DisplayName,item_id:e.ModelCode,price:e.PlacedPrice,item_brand:e.Brand,currency:e.Currency,item_variant:e.Code,quantity:e.Quantity}}))}})}));var L=n(755);L((function(){var e=".v-loading-bar";if(L(e).length){var t=new(s())({el:e,name:e,data:{data:{},state:{show:!1}},methods:{},mounted:function(){var e=this;
2vApp.$on("loadingBar:show",(function(){e.$data.state.show=!0,r.delay((function(){return e.$data.state.show=!1}),1e4)})),vApp.$on("loadingBar:hide",(function(){e.$data.state.show=!1}))},beforeDestroyed:function(){vApp.$off("loadingBar:show"),vApp.$off("loadingBar:hide")}});n.g.vLoadingBar=t}}));var $=n(755);$((function(){var e=".v-snackbar";if($(e).length){var t=new(s())({el:e,name:e,data:{data:{msg:""},state:{show:!1,error:!1}},methods:{},mounted:function(){var e=this;vApp.$on("snackbar:show",(function(t){var n=t.msg,i=t.err;e.$data.data.msg=n||r.get(snackbarCfg,"fallbackMsg"),e.$data.state.err=i,e.$data.state.show=!0,r.delay((function(){return e.$data.state.show=!1}),3e3)}))},beforeDestroyed:function(){vApp.$off("snackbar:show")}});n.g.vSnackbar=t}}));var j=n(755);function B(e){return B="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},B(e)}function F(e){return function(e){if(Array.isArray(e))return H(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return H(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return H(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function H(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function U(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function z(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?U(Object(n),!0).forEach((function(t){V(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):U(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function V(e,t,n){return(t=function(e){var t=function(e,t){if("object"!==B(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==B(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===B(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}j((function(){var e=".v-account";if(j(e).length){var t=new(s())({el:e,name:e,data:{data:{order:{},orders:{},serviceOrders:{},cart:{},account:{},addresses:[],listAddresses:[],regions:[],currentCountryCode:"",offerings:[],proofOfPurchase:{},productImages:[],genericPart:"",serialFGCode:"",serialModelCode:"",serialModelName:""},state:{view:"OVERVIEW",addressView:"LIST",requestStep:1,serialHelp:!1,fields:{errors:{}}}},methods:{onInvalid:function(e,t){this.$data.state.fields.errors=z(z({},this.$data.state.fields.errors),{},V({},t.target.name,t.target.validationMessage)),vApp.$emit("snackbar:show",{msg:r.get(snackbarCfg,"formOnInvalid"),err:!0})},onChange:function(e,t){var n=j(t.target),i=r.reduce(n.serializeArray(),(function(e,t){return r.set(e,t.name,t.value),e}),{});if("REQUESTS"===e)this.$data.data.serviceStatus=i.ServiceStatus||"ALL",vApp.$emit("order:getOrders",{orderType:"ServiceOrder",serviceStatus:this.$data.data.serviceStatus});this.$data.state.fields.errors=z(z({},this.$data.state.fields.errors),{},V({},t.target.name,""))},onSubmit:function(e,t){var n=this;t.preventDefault();var i=j(t.target),o=r.reduce(i.serializeArray(),(function(e,t){return r.set(e,t.name,t.value),e}),{});switch(e){case"ADDRESS":vApp.$on("myaccount:saveAddress:then",(function(){n.$off("myaccount:saveAddress:then"),vApp.$emit("myaccount:getAddresses"),n.$data.state.addressView="LIST"})),vApp.$emit("myaccount:saveAddress",{data:o});break;case"ACCOUNT":vApp.$on("myaccount:saveCustomerInfo:then",(function(){n.$off("myaccount:saveCustomerInfo:then"),vApp.$emit("myaccount:getCustomerInfo"),n.$data.state.view="ADDRESSES",n.$data.state.addressView="LIST"})),vApp.$emit("myaccount:saveCustomerInfo",{data:o});break;case"REQUEST":if(2===this.$data.state.requestStep)return vApp.$on("cart:putServiceCart:then",(function(){n.$off("cart:putServiceCart:then"),n.$data.state.requestStep=3})),vApp.$on("cart:putServiceCart:catch",(function(){n.$off("cart:putServiceCart:catch")})),vApp.$emit("cart:putServiceCart",{skuCode:o.Code,problemDescription:o.Description,serialNumber:o.Seri
2al,genericPart:this.$data.data.genericPart,serialFGCode:this.$data.data.serialFGCode,serialModelCode:this.$data.data.serialModelCode,serialModelName:this.$data.data.serialModelName});if(3===this.$data.state.requestStep){vApp.$on("cart:putServiceCartImages:then",(function(){n.$off("cart:putServiceCartImages:then"),window.location.href="".concat(j(".v-account").data("checkoutpath"),"?cartName=Service")})),vApp.$on("cart:putServiceCartImages:catch",(function(){n.$off("cart:putServiceCartImages:catch")}));var a=new FormData(i.get(0));a.delete("Serial"),a.delete("Description");var s=!r.isEmpty(i.find("[name=ProofOfPurchase]").get(0).files),l=!r.isEmpty(i.find("[name=ProductImages]").get(0).files);return!s&&a.delete("ProofOfPurchase"),!l&&a.delete("ProductImages"),s||l?vApp.$emit("cart:putServiceCartImages",{data:a}):window.location.href="".concat(j(".v-account").data("checkoutpath"),"?cartName=Service")}vApp.$on("serviceOrder:offerings:then",(function(e){n.$off("serviceOrder:offerings:then"),n.$data.data.offerings=e.Offerings,n.$data.data.genericPart=e.GenericPart,n.$data.data.serialFGCode=e.SerialFGCode,n.$data.data.serialModelCode=e.SerialModelCode,n.$data.data.serialModelName=e.SerialModelName,n.$data.state.requestStep=2})),vApp.$on("serviceOrder:offerings:catch",(function(e){n.$off("serviceOrder:offerings:catch"),"INVALID_SERIAL"===e.responseJSON.title?n.$data.state.serialHelp=!0:n.$data.state.serialHelp=!1})),vApp.$emit("serviceOrder:offerings",{data:o});break;case"REQUEST_DETAIL":var c=r.get(this.$data,"data.order.OrderMeta.PurchaseorderNumber");vApp.$on("serviceOrder:addMessage:then",(function(e){n.$off("serviceOrder:addMessage:then"),n.onClickDetail({PurchaseorderNumber:c},null,"REQUEST_DETAIL")})),vApp.$on("serviceOrder:addMessage:catch",(function(){n.$off("serviceOrder:addMessage:catch")})),vApp.$emit("serviceOrder:addMessage",{data:o,pon:c})}},onClickView:function(e,t,n,i){var o=this;t.preventDefault(),this.$data.state.view=e,("ORDERS"===e||"REQUESTS"===e)&&vApp.$emit("order:getOrders",{orderType:"REQUESTS"===e?"ServiceOrder":void 0,serviceStatus:"REQUESTS"===e?"ALL":void 0}),r.delay((function(){return j("html, body").animate({scrollTop:j("#header").offset().top},500,"linear")}),0),r.delay((function(){return o.onClickAccount()}),0),n&&i&&r.delay((function(){return o.onClickAddress(n,t,i)}),0)},onClickPage:function(e,t){t.preventDefault();var n=this.$data.state.view,r="REQUESTS"===n?this.$data.data.serviceOrders:this.$data.data.orders,i=r.Page;switch(e){case"PREV":i=i>1?i-1:i;break;case"NEXT":i=i>=r.PageTotal?i:i+1;break;default:i=e}r.Page!==i&&vApp.$emit("order:getOrders",{page:i,orderType:"REQUESTS"===n?"ServiceOrder":void 0,serviceStatus:"REQUESTS"===n?this.$data.data.serviceStatus:void 0})},onClickDetail:function(e,t){var n=this,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"ORDER_DETAIL";t&&t.preventDefault(),vApp.$on("order:getOrder:then",(function(e){vApp.$off("order:getOrder:then"),e.OrderMeta=r.chain(e).get("OrderMeta").thru((function(e){return z(z({},e),{},{PurchaseDate:new Date(e.PurchaseDate).toLocaleDateString()})})).value(),e.ServiceImages=r.chain(e).get("ServiceImages").thru((function(t){if(t)return z(z({},t),{},{ProofOfPurchase:t.ProofOfPurchase&&"/api/order/serviceimages/".concat(e.OrderMeta.PurchaseorderNumber,"/").concat(t.ProofOfPurchase),Image1:t.Image1&&"/api/order/serviceimages/".concat(e.OrderMeta.PurchaseorderNumber,"/").concat(t.Image1),Image2:t.Image2&&"/api/order/serviceimages/".concat(e.OrderMeta.PurchaseorderNumber,"/").concat(t.Image2),Image3:t.Image3&&"/api/order/serviceimages/".concat(e.OrderMeta.PurchaseorderNumber,"/").concat(t.Image3)})})).value(),e.Communication=r.chain(e).get("Communication").map((function(e){if(e)return z(z({},e),{},{date:new Date(e.date).toLocaleDateString(),time:new Date("".concat(e.date," ").concat(e.time)).toLocaleTimeString()})})).value(),n.$data.data.order=z({},e),n.$data.state.view=i}));var o={};r.set(o,"REQUEST_DETAIL"===i?"son":"pon",e.PurchaseorderNumber),vApp.$emit("order:getOrder",o)},onClickRemove:function(e,t){t.preventDefault(),vApp.$on("myaccount:deleteAddress:then",(function(){vApp.$emit("myaccount:getAddreses")})),vApp.$emit("myaccount:deleteAddress",{id:e.Id})},onClickDefault:function(e,t){var n=this;t.preventDefault(),vApp.$on("myaccount:saveAddress:then",(function(){n.$off("myaccount:saveAddress:then"),vApp.$emit("myaccount:getAddresses")})),e.IsDefault=!0,vApp.$emit("myaccount:saveAddress",{data:e})},onClickTransferCart:function(e){e.preventDefault(),vApp.$emit("cart:transferCart");var t=r.chain(this.$data).get("data.cart.Items").map((function(e){var t,n;return{name:e.DisplayName,modelCode:e.ModelCode,fgCode:e.Code,price:null!==(t=e.LinkedPlacedPriceFormatted)&&void 0!==t?t:e.PlacedPriceFormatted,priceDecimal:null!==(n=e.LinkedPlacedPrice)&&void 0!==n?n:e.PlacedPrice,brand:e.Brand,quantityChange:e.Quantity}}
2)).value();vApp.$emit("analytics:cart",{action:"add",cartType:"cart",items:t}),vApp.$emit("analytics:cart",{action:"remove",cartType:"wishlist",items:t})},onClickTransferLine:function(e,t){var n,r;t.preventDefault(),vApp.$emit("cart:transferLine",{skuCode:e.Code}),vApp.$emit("cart:getCartItemCount",{cartName:"Wishlist"});var i={name:e.DisplayName,modelCode:e.ModelCode,fgCode:e.Code,price:null!==(n=e.LinkedPlacedPriceFormatted)&&void 0!==n?n:e.PlacedPriceFormatted,priceDecimal:null!==(r=e.LinkedPlacedPrice)&&void 0!==r?r:e.PlacedPrice,brand:e.Brand,quantityChange:e.Quantity};vApp.$emit("analytics:cart",{action:"add",cartType:"cart",items:i}),vApp.$emit("analytics:cart",{action:"remove",cartType:"wishlist",items:i})},onClickCartRemove:function(e,t){var n,i;t.preventDefault();var o=r.chain(e).get("LinkedItems").reduce((function(e,t){return e.concat(t.Code)}),[e.Code]).value();vApp.$emit("cart:putCart",{skuCode:e.Code,skuCodes:o,modelCode:e.ModelCode,linkId:e.LinkId,qty:0,cartName:"Wishlist"}),vApp.$emit("cart:getCartItemCount",{cartName:"Wishlist"}),vApp.$emit("analytics:cart",{action:"remove",cartType:"wishlist",items:{name:e.DisplayName,modelCode:e.ModelCode,fgCode:e.Code,price:null!==(n=e.LinkedPlacedPriceFormatted)&&void 0!==n?n:e.PlacedPriceFormatted,priceDecimal:null!==(i=e.LinkedPlacedPrice)&&void 0!==i?i:e.PlacedPrice,brand:e.Brand,quantityChange:e.Quantity}})},onClickAccount:function(){var e=j(".js-account");r.chain(this.$data).get("data.account").each((function(t,n){e.find("[name=".concat(n,"]")).val(t).trigger("blur")})).value()},onClickAddress:function(e,t,n){var i=this;t.preventDefault();var o=j(".js-address");n||o.find(":input").val("").trigger("blur"),r.each(n,(function(e,t){o.find("[name=".concat(t,"]")).val(e).trigger("blur")})),this.$data.state.addressView=e;var a=j("[name=CountryCode]").val();r.set(this.$data.data,"currentCountryCode",a),vApp.$on("address:getRegions:then",(function(e){vApp.$off("address:getRegions:then"),r.set(i.$data.data,"regions",e||[]),n&&r.delay((function(){return j("#regioncode").val(n.RegionCode)}),0)})),vApp.$emit("address:getRegions",{countryCode:a||n.CountryCode})},onClickCancel:function(e,t){t.preventDefault(),vApp.$emit("order:cancelOrder",{purchaseOrderNumber:e.PurchaseorderNumber})},onChangeCountryCode:function(e){var t=this,n=e.target.value;r.set(this.$data.data,"currentCountryCode",n),vApp.$on("address:getRegions:then",(function(e){vApp.$off("address:getRegions:then"),r.set(t.$data.data,"regions",e||[])})),vApp.$emit("address:getRegions",{countryCode:n})},onChangeFile:function(e,t){var n=this,i=r.get(t.target,"files",[]);if("ProofOfPurchase"===e){var o=r.find(i,(function(e){return e.size>1e7}));if(r.set(n.$data,"state.fields.errors.ProofOfPurchase",void 0),o)return void vApp.$emit("snackbar:show",{msg:r.get(snackbarCfg,"filesSizeInvalid"),err:!0});if(r.find(i,(function(e){return!/^[a-zA-Z0-9-_]+$/.test(r.chain(e).get("name").split(".").first().value())})))return void vApp.$emit("snackbar:show",{msg:r.get(snackbarCfg,"filesNameInvalid"),err:!0})}if("ProductImages"===e){if(r.set(n.$data,"state.fields.errors.ProofOfPurchase",void 0),i.length>3)return void vApp.$emit("snackbar:show",{msg:r.get(snackbarCfg,"formOnInvalid"),err:!0});if(r.find(i,(function(e){return e.size>1e7})))return void vApp.$emit("snackbar:show",{msg:r.get(snackbarCfg,"filesSizeInvalid"),err:!0});if(r.find(i,(function(e){return!/^[a-zA-Z0-9-_]+$/.test(r.chain(e).get("name").split(".").first().value())})))return void vApp.$emit("snackbar:show",{msg:r.get(snackbarCfg,"filesNameInvalid"),err:!0});var a=r.chain(i).map((function(e){return e.name})).uniq().value();if(i.length!==a.length)return void vApp.$emit("snackbar:show",{msg:r.get(snackbarCfg,"filesUniqInvalid"),err:!0})}if(FileReader){var s=[];r.each(i,(function(t){var i=new FileReader;i.onload=function(){s.push(i.result);var t=r.camelCase(e);r.set(n.$data.data,t,s)},i.readAsDataURL(t)}))}}},mounted:function(){var e=this;vApp.$on("order:getOrders:then",(function(t){for(var n=r.reduce(t.Orders,(function(e,t){return e.concat(z(z({},t),{},{PurchaseDate:new Date(t.PurchaseDate).toLocaleDateString(),DisplayStatus:r.startCase(t.DisplayStatus)}))}),[]),i=[],o=1;o<=t.PageTotal;o++)i.push(o);r.set(e.$data,"data.orders",z(z({},t),{},{pages:i,Orders:n}))})),vApp.$on("order:getOrders:ServiceOrder:then",(function(t){for(var n=r.reduce(t.Orders,(function(e,t){return e.concat(z(z({},t),{},{PurchaseDate:new Date(t.PurchaseDate).toLocaleDateString(),DisplayStatus:r.startCase(t.DisplayStatus)}))}),[]),i=[],o=1;o<=t.PageTotal;o++)i.push(o);r.set(e.$data,"data.serviceOrders",z(z({},t),{},{pages:i,Orders:n}))})),vApp.$on("order:cancelOrder:then",(function(){vApp.$emit("order:getOrders")})),vApp.$on("myaccount:getAddresses:then",(function(t){r.set(e.$data,"data.addresses",F(t)),r.set(e.$data,"data.listAddresses",r.take(F(t),2))})),vApp.$on("myaccount:getCustomerInfo:then",(function(t){r.set(e.$data,"data.account",z({},t))})),vApp.$on("cart:getCart:Wishlist:then",(function(t){r.set(e.$data,"data.cart",z({},t))})),vApp.$on("cart:transferCart:then",(function(){vApp.$emit("cart:getCart",{cartName:"Wishlist"}),vApp.$emit("cart:getCart"),vApp.$emit("cart:getCartItemCount",{cartName:"Wishlist"}),vApp.$emit("cart:getCartItemCount")})),vApp.$on("cart:transferLine:then",(function(){vApp.$emit("cart:getCart",{cartName:"Wishlist"}),vApp.$emit("cart:getCart"),vApp.$emit("cart:getCartItemCount",{cartName:"Wishlist"}),vApp.$emit("cart:getCartItemCount")})),vApp.$on("cart:putCart:then",(function(){vApp.$emit("cart:getCart",{cartName:"Wishlist"}),vApp.$emit("cart:getCartItemCount",{cartName:"Wishlist"})})),vApp.$emit("order:getOrders"),vApp.$emit("myaccount:getAddresses"),vApp.$emit("myaccount:getCustomerInfo"),vApp.$emit("cart:getCart",{cartName:"Wishlist"}),r.includes(window.location.href,"#wishlist")&&this.onClickView("WISHLIST",{preventDefault:function(){}}),r.includes(window.location.href,"#request-add")&&this.onClickView("REQUEST_ADD",{preventDefault:function(){}})},beforeDestroyed:function(){vApp.$off("orders:getOrders:then"),vApp.$off("orders:getOrders:ServiceOrder:then"),vApp.$off("orders:cancelOrder:then"),vApp.$off("myaccount:getAddresses"),vApp.off("cart:transferCart:then"),vApp.off("cart:transferLine:then"),vApp.$off("cart:getCart"),vApp.$off("cart:getCartItemCount"),vApp.$off("cart:putCart")}});n.g.vAccount=t}}));var W=n(755);function G(e){return G="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},G(e)}function q(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Y(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
2t%2?q(Object(n),!0).forEach((function(t){X(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):q(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function X(e,t,n){return(t=function(e){var t=function(e,t){if("object"!==G(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==G(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===G(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Z=function(){var e=".v-cart-cfg";if(W(e).length){var t=r.get(window,"buildCfg");if(t){var i=new(s())({el:e,name:e,data:{data:{qty:1,buildCfg:Y({},t)},state:{hasCfg:!1,hasInventory:!1,inventoryLeadTime:""}},computed:{formattedInventoryLeadTime:function(){return new Date(this.$data.state.inventoryLeadTime).toLocaleDateString()}},methods:{onClickCfg:function(e,t){t.preventDefault(),l.$emit("cart:buildCfg",{cartName:e})},onChangeCartQuantity:function(e,t){switch(e){case"MINUS":this.$data.data.qty=this.$data.data.qty>1?this.$data.data.qty-1:1;break;case"PLUS":this.$data.data.qty=this.$data.data.qty+1;break;case"INPUT":this.$data.data.qty=t.target.value}},onClickAddToCart:function(e){e.preventDefault();var t="";t=this.$data.data.buildCfg.DropDowns.length?r.chain(this.$data).get("data.buildCfg.DropDowns").cloneDeep().filter((function(e){return!!r.find(e.Options,(function(e){return e.isSelected}))})).map((function(e){return{DisplayName:e.DisplayName,Value:r.chain(e.Options).filter((function(e){return e.isSelected})).map((function(e){return e.displayName})).first().value()}})).value():r.chain(this.$data).get("data.buildCfg.FGs[0].FGSpecs").cloneDeep().map((function(e){return{DisplayName:e.DisplayName,Value:e.Value}})).value(),l.$emit("cart:postCart",{skuCode:this.$data.data.buildCfg.FGCode,skuCodes:this.$data.data.buildCfg.FGCodes,qty:this.$data.data.qty,cartName:"Default",specifications:t}),l.$emit("cart:getCartItemCount"),l.$emit("analytics:cart",{action:"add",cartType:"cart",items:{currencyCode:this.$data.data.buildCfg.Currency,fgCode:this.$data.data.buildCfg.FGCode,modelCode:this.$data.data.buildCfg.ModelCode,price:this.$data.data.buildCfg.Price,priceDecimal:this.$data.data.buildCfg.PriceDecimal,currency:this.$data.data.buildCfg.Currency,brand:this.$data.data.buildCfg.Brand,quantityChange:this.$data.data.qty}})},onClickAddToWishlist:function(e){e.preventDefault();var t="";t=this.$data.data.buildCfg.DropDowns.length?r.chain(this.$data).get("data.buildCfg.DropDowns").cloneDeep().filter((function(e){return!!r.find(e.Options,(function(e){return e.isSelected}))})).map((function(e){return{DisplayName:e.DisplayName,Value:r.chain(e.Options).filter((function(e){return e.isSelected})).map((function(e){return e.displayName})).first().value()}})).value():r.chain(this.$data).get("data.buildCfg.FGs[0].FGSpecs").cloneDeep().map((function(e){return{DisplayName:e.DisplayName,Value:e.Value}})).value(),l.$emit("cart:postCart",{skuCode:this.$data.data.buildCfg.FGCode,skuCodes:this.$data.data.buildCfg.FGCodes,qty:this.$data.data.qty,cartName:"Wishlist",specifications:t}),l.$emit("cart:getCartItemCount",{cartName:"Wishlist"}),l.$emit("analytics:cart",{action:"add",cartType:"wishlist",items:{currencyCode:this.$data.data.buildCfg.Currency,fgCode:this.$data.data.buildCfg.FGCode,modelCode:this.$data.data.buildCfg.ModelCode,price:this.$data.data.buildCfg.Price,priceDecimal:this.$data.data.buildCfg.PriceDecimal,currency:this.$data.data.buildCfg.Currency,brand:this.$data.data.buildCfg.Brand,quantityChange:this.$data.data.qty}})}},mounted:function(){var e=this;l.$on("buywidget:post:then",(function(t){var n=Y(Y({},e.$data.data.buildCfg),t),i=!r.chain(t).get("DropDowns").isEmpty().value()||t.IsReadyToAddToCart;!i&&W(".product-title").addClass("d-none"),i&&W(".js-image-gallery").removeClass("col-12").addClass("col-7 col-md-12 col-sm-12 col-xs-12"),i&&W(".js-aside").removeClass("d-none").addClass("col-5 col-md-12 col-sm-12 col-xs-12"),i&&W(".js-b2c-link").removeClass("d-none"),i&&W(".js-power-reviews").removeClass("d-none"),r.set(e.$data,"data.buildCfg",n),r.set(e.$data,"state.hasCfg",i),r.set(e.$data,"state.hasInventory",n.IsInventoryAvailable),r.set(e.$data,"state.inventoryLeadTime",n.InventoryLeadTime)})),l.$on("buywidget:post:catch",(function(t){r.set(e.$data,"state.hasCfg",!1),e.$data.data.buildCfg.CommerceUrl&&W(".js-aside").removeClass("d-none").addClass("col-5 col-md-12 col-sm-12 col-xs-12")}));var t=r.get(this.$data,"data.buildCfg");l.$emit("buywidget:post",{buildCfg:t})},beforeDestroyed:function(){l.$off("buywidget:post:then")}});n.g.vCartCfg=i}}},Q=n(755);function K(e){return K="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},K(e)}function J(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ee(e,t,n){return(t=function(e){var t=function(e,t){if("object"!==K(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==K(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===K(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var te=function(){var e=".v-cart";if(Q(e).length){var t=Q("[data-currency-switch-message]").data("currencySwitchMessage");t&&l.$emit("snackbar:show",{msg:t,err:!0});var i=Q("[data-is-currently-under-maintenance]").data("isCurrentlyUnderMaintenance"),o=new(s())({el:e,name:e,data:{data:{cart:{}},state:{isEmpty:!0,isCurrentlyUnderMaintenance:i}}
2,methods:{onChangeCartQuantity:function(e,t,n){var i,o;n.preventDefault();var a,s,c,u=r.chain(t).get("LinkedItems").reduce((function(e,t){return e.concat(t.Code)}),[t.Code]).value();switch(e){case"MINUS":a=t.Quantity>0?t.Quantity-1:1,c=1,s="remove";break;case"PLUS":a=t.Quantity+1,s="add",c=1;break;case"INPUT":(a=n.target.value)>t.Quantity?(s="add",c=a-t.Quantity):(s="remove",c=t.Quantity-a)}l.$emit("cart:putCart",{skuCode:t.Code,skuCodes:u,modelCode:t.ModelCode,linkId:t.LinkId,qty:a}),l.$emit("analytics:cart",{action:s,cartType:"cart",items:{name:t.DisplayName,fgCode:t.Code,modelCode:t.ModelCode,price:null!==(i=t.LinkedPlacedPriceFormatted)&&void 0!==i?i:t.PlacedPriceFormatted,priceDecimal:null!==(o=t.LinkedPlacedPrice)&&void 0!==o?o:t.PlacedPrice,currencyCode:t.Currency,brand:t.Brand,quantityChange:c}})},onClickCartRemove:function(e,t){var n,i;t.preventDefault();var o=r.chain(e).get("LinkedItems").reduce((function(e,t){return e.concat(t.Code)}),[e.Code]).value();l.$emit("cart:putCart",{skuCode:e.Code,skuCodes:o,modelCode:e.ModelCode,linkId:e.LinkId,qty:0}),l.$emit("cart:getCartItemCount"),l.$emit("analytics:cart",{action:"remove",cartType:"cart",items:{name:e.DisplayName,fgCode:e.Code,modelCode:e.ModelCode,price:null!==(n=e.LinkedPlacedPriceFormatted)&&void 0!==n?n:e.PlacedPriceFormatted,priceDecimal:null!==(i=e.LinkedPlacedPrice)&&void 0!==i?i:e.PlacedPrice,currencyCode:e.Currency,brand:e.Brand,quantityChange:e.Quantity}})},onClickBack:function(e){e.preventDefault(),window.location="/"},onClickCheckout:function(e){l.$emit("analytics:checkout",this.$data.data.cart)}},mounted:function(){var e=this;l.$on("cart:getCart:then",(function(t){r.set(e.$data,"data.cart",function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?J(Object(n),!0).forEach((function(t){ee(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):J(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},t)),r.set(e.$data,"state.isEmpty",!t.TotalItems)})),l.$on("cart:putCart:then",(function(e){l.$emit("cart:getCart"),l.$emit("cart:getCartItemCount")})),l.$emit("cart:getCart")},beforeDestroyed:function(){l.$off("cart:getCart:then"),l.$off("cart:putCart:then")}});n.g.vCart=o}},ne=n(755);function re(e){return re="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},re(e)}function ie(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function oe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ie(Object(n),!0).forEach((function(t){ae(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ie(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ae(e,t,n){return(t=function(e){var t=function(e,t){if("object"!==re(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==re(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===re(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var se=function(){var e=".v-cart-build-cfg";if(ne(e).length){var t=r.get(window,"buildCfg");if(t){var i=new(s())({el:e,name:e,data:{data:{qty:1,cartName:"Default",buildCfg:oe({},t)},state:{prevBuildCfg:!1,showBuildCfg:!1,enableCart:!1,hasInventory:!1,inventoryLeadTime:""}},computed:{formattedInventoryLeadTime:function(){return new Date(this.$data.state.inventoryLeadTime).toLocaleDateString()}},methods:{onClickClose:function(e){this.$data.state.showBuildCfg=!1},onClickCfg:function(e,t){t.preventDefault(),this.data.cartName=e},onClickOpt:function(e,t,n){n.preventDefault();var i=t?t.displayName:n.target.value;r.chain(e).get("Options").each((function(e){e.isSelected=e.displayName===i&&!e.isSelected}
2)).value();var o=r.get(this.$data,"data.buildCfg"),a=r.chain(this.$data).get("data.buildCfg.DropDowns").cloneDeep().filter((function(t){return t.DropDownIndex<=e.DropDownIndex&&(t.IsAlreadyOwnSelected||!!r.find(t.Options,(function(e){return e.isSelected})))})).map((function(e){return e.Options=r.chain(e.Options).filter((function(e){return e.isSelected})).map((function(e){return e.displayName})).value(),e.IsSelected=!0,e.IsEnabled=!0,e})).value();l.$emit("buywidget:post",{buildCfg:o,filters:a})},onClickOwn:function(e,t){t.preventDefault(),e.IsAlreadyOwnSelected=!e.IsAlreadyOwnSelected;var n=r.get(this.$data,"data.buildCfg"),i=r.chain(this.$data).get("data.buildCfg.DropDowns").cloneDeep().filter((function(t){return t.DropDownIndex<=e.DropDownIndex&&(t.IsAlreadyOwnSelected||!!r.find(t.Options,(function(e){return e.isSelected})))})).map((function(e){return e.Options=r.chain(e.Options).filter((function(e){return e.isSelected})).map((function(e){return e.displayName})).value(),e.IsSelected=!0,e.IsEnabled=!0,e})).value();l.$emit("buywidget:post",{buildCfg:n,filters:i})},onChangeCartQuantity:function(e,t){switch(e){case"MINUS":this.$data.data.qty=this.$data.data.qty>1?this.$data.data.qty-1:1;break;case"PLUS":this.$data.data.qty=this.$data.data.qty+1;break;case"INPUT":this.$data.data.qty=t.target.value}},onClickAddToCart:function(e){e.preventDefault();var t="";t=this.$data.data.buildCfg.DropDowns.length?r.chain(this.$data).get("data.buildCfg.DropDowns").cloneDeep().filter((function(e){return!!r.find(e.Options,(function(e){return e.isSelected}))})).map((function(e){return{DisplayName:e.DisplayName,Value:r.chain(e.Options).filter((function(e){return e.isSelected})).map((function(e){return e.displayName})).first().value()}})).value():r.chain(this.$data).get("data.buildCfg.FGs[0].FGSpecs").cloneDeep().map((function(e){return{DisplayName:e.DisplayName,Value:e.Value}})).value(),l.$emit("cart:postCart",{skuCode:this.$data.data.buildCfg.FGCode,skuCodes:this.$data.data.buildCfg.FGCodes,modelCode:this.$data.data.buildCfg.ModelCode,qty:this.$data.data.qty,cartName:this.$data.data.cartName,specifications:t}),l.$emit("cart:getCartItemCount"),l.$emit("analytics:cart",{action:"add",cartType:this.$data.data.cartName,items:{currencyCode:this.$data.data.buildCfg.Currency,fgCode:this.$data.data.buildCfg.FGCode,modelCode:this.$data.data.buildCfg.ModelCode,price:this.$data.data.buildCfg.Price,priceDecimal:this.$data.data.buildCfg.PriceDecimal,currency:this.$data.data.buildCfg.Currency,brand:this.$data.data.buildCfg.Brand,quantityChange:this.$data.data.qty}})},onClickAddToWishlist:function(e){if(e.preventDefault(),this.$data.data.buildCfg.IsReadyToAddToCart){var t="";t=this.$data.data.buildCfg.DropDowns.length?r.chain(this.$data).get("data.buildCfg.DropDowns").cloneDeep().filter((function(e){return!!r.find(e.Options,(function(e){return e.isSelected}))})).map((function(e){return{DisplayName:e.DisplayName,Value:r.chain(e.Options).filter((function(e){return e.isSelected})).map((function(e){return e.displayName})).first().value()}})).value():r.chain(this.$data).get("data.buildCfg.FGs[0].FGSpecs").cloneDeep().map((function(e){return{DisplayName:e.DisplayName,Value:e.Value}})).value(),l.$emit("cart:postCart",{skuCode:this.$data.data.buildCfg.FGCode,skuCodes:this.$data.data.buildCfg.FGCodes,qty:this.$data.data.qty,cartName:"Wishlist",specifications:t}),l.$emit("cart:getCartItemCount",{cartName:"Wishlist"}),l.$emit("analytics:cart",{action:"add",cartType:"wishlist",items:{currencyCode:this.$data.data.buildCfg.Currency,fgCode:this.$data.data.buildCfg.FGCode,modelCode:this.$data.data.buildCfg.ModelCode,price:this.$data.data.buildCfg.Price,priceDecimal:this.$data.data.buildCfg.PriceDecimal,currency:this.$data.data.buildCfg.Currency,brand:this.$data.data.buildCfg.Brand,quantityChange:this.$data.data.qty}})}}},mounted:function(){var e=this;l.$on("cart:buildCfg",(function(t){var n=t.cartName;e.$data.data.cartName=n,e.$data.state.showBuildCfg=!0,e.$data.state.prevBuildCfg=!0,l.$emit("fbq:track",{event:"CustomizeProduct"})})),l.$on("buywidget:post:then",(function(t){var n=oe(oe({},e.$data.data.buildCfg),t),i=r.chain(n).get("DropDowns").filter({IsSingleChoice:!1}).map((function(t){return t.Options=r.chain(e.$data).get("data.buildCfg.DropDowns").map((function(e){return t.IsSelected?e:t})).find((function(e){return e.DropDownIndex===t.DropDownIndex})).get("Options",t.Options).map((function(e){return{displayName:e.displayName||e,isSelected:t.IsSelected&&r.includes(t.Options,e.displayName||e)}}
2)).value(),t})).value();r.set(n,"DropDowns",i),r.set(e.$data,"data.buildCfg",n),r.set(e.$data,"state.enableCart",n.IsReadyToAddToCart&&(n.IsInventoryAvailable||n.IsInventorySoon)),r.set(e.$data,"state.hasInventory",n.IsInventoryAvailable),r.set(e.$data,"state.inventoryLeadTime",n.InventoryLeadTime)})),l.$on("cart:postCart:then",(function(){e.$data.state.showBuildCfg=!1,l.$emit("buywidget:post",{buildCfg:e.$data.data.buildCfg,filters:[]}),l.$emit("cart:getCart"),l.$emit("cart:getCart",{cartName:"Wishlist"}),l.$emit("cart:getCartItemCount"),l.$emit("cart:getCartItemCount",{cartName:"Wishlist"})}));var t=r.get(this.$data,"data.buildCfg");l.$emit("buywidget:post",{buildCfg:t})},beforeDestroyed:function(){l.$off("cart:buildCfg"),l.$off("buywidget:post:then"),l.$off("cart:postCart:then")}});n.g.vCartBuildCfg=i}}},le=n(755);function ce(e){return ce="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ce(e)}function ue(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function de(e,t,n){return(t=function(e){var t=function(e,t){if("object"!==ce(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==ce(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===ce(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var he=function(){var e=".v-cart-wishlist-header";if(le(e).length){var t=new(s())({el:e,name:e,data:{data:{cartItemCount:{}},state:{isEmpty:!0}},mounted:function(){var e=this;l.$on("cart:getCartItemCount:Wishlist:then",(function(t){r.set(e.$data,"data.cartItemCount",function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ue(Object(n),!0).forEach((function(t){de(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ue(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},t)),r.set(e.$data,"state.isEmpty",!t.TotalItems)})),l.$emit("cart:getCartItemCount",{cartName:"Wishlist"})},beforeDestroyed:function(){l.$off("cart:getCartItemCount:Wishlist:then")}});n.g.vCartIcon=t}},fe=n(755);function pe(e){return pe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},pe(e)}function ge(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function me(e,t,n){return(t=function(e){var t=function(e,t){if("object"!==pe(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==pe(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===pe(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ye=function(){var e=".v-cart-header-mobile";if(fe(e).length){var t=new(s())({el:e,name:e,data:{data:{cartItemCount:{}},state:{isEmpty:!0}},mounted:function(){var e=this;l.$on("cart:getCartItemCount:then",(function(t){r.set(e.$data,"data.cartItemCount",function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ge(Object(n),!0).forEach((function(t){me(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ge(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},t)),r.set(e.$data,"state.isEmpty",!t.TotalItems)})),l.$emit("cart:getCartItemCount")},beforeDestroyed:function(){l.$off("cart:getCartItemCount:then")}});n.g.vCartIcon=t}},ve=n(755);function we(e){return we="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},we(e)}function be(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Ce(e,t,n){return(t=function(e){var t=function(e,t){if("object"!==we(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==we(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===we(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Se=function(){var e=".v-cart-header";if(ve(e).length){var t=new(s())({el:e,name:e,data:{data:{cartItemCount:{}},state:{isEmpty:!0}},mounted:function(){var e=this;l.$on("cart:getCartItemCount:then",(function(t){r.set(e.$data,"data.cartItemCount",function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
vendor: 4,724 bytes, line 2
2t%2?be(Object(n),!0).forEach((function(t){Ce(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):be(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},t)),r.set(e.$data,"state.isEmpty",!t.TotalItems)})),l.$emit("cart:getCartItemCount")},beforeDestroyed:function(){l.$off("cart:getCartItemCount:then")}});n.g.vCartIcon=t}},Ae=function(e){"loading"!==document.readyState?e():document.addEventListener("DOMContentLoaded",(function t(){e(),document.removeEventListener("DOMContentLoaded",t)}))};[Z,te,se,he,ye,Se].forEach((function(e){return Ae(e)}));n(800),n(515),n(816),n(420),n(303),n(900),n(88),n(479),n(296),n(160),n(304),n(571),n(871),n(982),n(612),n(666);function _e(e){return _e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_e(e)}function Te(){Te=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,i=Object.defineProperty||function(e,t,n){e[t]=n.value},o="function"==typeof Symbol?Symbol:{},a=o.iterator||"@@iterator",s=o.asyncIterator||"@@asyncIterator",l=o.toStringTag||"@@toStringTag";function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,n){return e[t]=n}}function u(e,t,n,r){var o=t&&t.prototype instanceof y?t:y,a=Object.create(o.prototype),s=new M(r||[]);return i(a,"_invoke",{value:E(e,n,s)}),a}function d(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=u;var h="suspendedStart",f="suspendedYield",p="executing",g="completed",m={};function y(){}function v(){}function w(){}var b={};c(b,a,(function(){return this}));var C=Object.getPrototypeOf,S=C&&C(C(D([])));S&&S!==n&&r.call(S,a)&&(b=S);var A=w.prototype=y.prototype=Object.create(b);function _(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function T(e,t){function n(i,o,a,s){var l=d(e[i],e,o);if("throw"!==l.type){var c=l.arg,u=c.value;return u&&"object"==_e(u)&&r.call(u,"__await")?t.resolve(u.__await).then((function(e){n("next",e,a,s)}),(function(e){n("throw",e,a,s)})):t.resolve(u).then((function(e){c.value=e,a(c)}),(function(e){return n("throw",e,a,s)}))}s(l.arg)}var o;i(this,"_invoke",{value:function(e,r){function i(){return new t((function(t,i){n(e,r,t,i)}))}return o=o?o.then(i,i):i()}})}function E(t,n,r){var i=h;return function(o,a){if(i===p)throw new Error("Generator is already running");if(i===g){if("throw"===o)throw a;return{value:e,done:!0}}for(r.method=o,r.arg=a;;){var s=r.delegate;if(s){var l=x(s,r);if(l){if(l===m)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(i===h)throw i=g,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);i=p;var c=d(t,n,r);if("normal"===c.type){if(i=r.done?g:f,c.arg===m)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(i=g,r.method="throw",r.arg=c.arg)}}}function x(t,n){var r=n.method,i=t.iterator[r];if(i===e)return n.delegate=null,"throw"===r&&t.iterator.return&&(n.method="return",n.arg=e,x(t,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),m;var o=d(i,t.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,m;var a=o.arg;return a?a.done?(n[t.resultName]=a.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,m):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,m)}function I(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 O(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function M(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(I,this),this.reset(!0)}function D(t){if(t||""===t){var n=t[a];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,o=function n(){for(;++i<t.length;)if(r.call(t,i))return n.value=t[i],n.done=!1,n;return n.value=e,n.done=!0,n};return o.next=o}}throw new TypeError(_e(t)+" is not iterable")}return v.prototype=w,i(A,"constructor",{value:w,configurable:!0}),i(w,"constructor",{value:v,configurable:!0}),v.displayName=c(w,l,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===v||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,w):(e.__proto__=w,
vendor: 4,868 bytes, line 2
2c(e,l,"GeneratorFunction")),e.prototype=Object.create(A),e},t.awrap=function(e){return{__await:e}},_(T.prototype),c(T.prototype,s,(function(){return this})),t.AsyncIterator=T,t.async=function(e,n,r,i,o){void 0===o&&(o=Promise);var a=new T(u(e,n,r,i),o);return t.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},_(A),c(A,l,"Generator"),c(A,a,(function(){return this})),c(A,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},t.values=D,M.prototype={constructor:M,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(O),!t)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function i(r,i){return s.type="throw",s.arg=t,n.next=r,i&&(n.method="next",n.arg=e),!!i}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],s=a.completion;if("root"===a.tryLoc)return i("end");if(a.tryLoc<=this.prev){var l=r.call(a,"catchLoc"),c=r.call(a,"finallyLoc");if(l&&c){if(this.prev<a.catchLoc)return i(a.catchLoc,!0);if(this.prev<a.finallyLoc)return i(a.finallyLoc)}else if(l){if(this.prev<a.catchLoc)return i(a.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return i(a.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var i=this.tryEntries[n];if(i.tryLoc<=this.prev&&r.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=e,a.arg=t,o?(this.method="next",this.next=o.finallyLoc,m):this.complete(a)},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),m},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),O(n),m}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;O(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:D(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),m}},t}function Ee(e,t,n,r,i,o,a){try{var s=e[o](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,i)}function xe(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function a(e){Ee(o,r,i,a,s,"next",e)}function s(e){Ee(o,r,i,a,s,"throw",e)}a(void 0)}))}}var Ie,Oe,Me;function De(){return ke.apply(this,arguments)}function ke(){return(ke=xe(Te().mark((function e(){var t;return Te().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,fetch("/ProductRegistration/GetProductInformation?"+new URLSearchParams({serialNumber:document.getElementById("serialNumberInput").value}).toString(),{method:"GET",credentials:"same-origin",headers:{"Content-Type":"application/json"}});case 2:return t=e.sent,e.next=5,t.json();case 5:Pe(e.sent);case 8:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function Ne(){""!==Me.value.trim()&&Me.value.length>0?Ie.removeAttribute("disabled"):Ie.setAttribute("disabled",!0)}function Pe(e){if(null==e.ProductName){document.querySelector("#SerialNumberError").style.display="block",document.querySelector("#registration-error-blurb").style.display="block",document.querySelector("#registration-contact-us").style.display="block";var t=document.getElementById("product-serial-number");Me=document.getElementById("serialNumberInput"),t.classList.add("error"),Me.classList.add("error")}else{var n=document.getElementById("product-serial-number");Me=document.getElementById("serialNumberInput"),n.classList.remove("error"),Me.classList.remove("error"),document.querySelector("#SerialNumberError").style.display="none",document.querySelector("#registration-error-blurb").style.display="none",document.querySelector("#registration-contact-us").style.display="none";var r=document.querySelector("#product-info-modal"),i=document.querySelector("#productImage");document.querySelector("#product-name").innerText=e.ProductName,document.querySelector("#serial-number").innerText=Me.value;var o='<img src = "'.concat(e.ImageUri,'" alt = "').concat(e.ProductName,'"/>
2');i.innerHTML=o,r.style.display="block"}}function Re(){return Le.apply(this,arguments)}function Le(){return(Le=xe(Te().mark((function e(){return Te().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:location.href="/ProductRegistration/RegisterProduct?serialNumber="+Me.value;case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}Ae((function(){Me=document.querySelector("#serialNumberInput"),Oe=document.querySelector("#registerProduct"),(Ie=document.querySelector("#getProductInfoBtn"))&&Me&&Oe&&(Me.addEventListener("keyup",Ne),Ie.addEventListener("click",De),Oe.addEventListener("click",Re))}));n(390),n(484),n(85),n(945);function $e(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,a,s=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=o.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,i=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw i}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return je(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return je(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function je(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Be(){var e=document.querySelectorAll('[data-analytic-track="true"]');e.length>0&&e.forEach((function(e){e.addEventListener("click",(function(t){var n=e.dataset;delete n.analyticTrack;var r={};for(var i in n)r[i]=n[i];document.getElementById("service-listing-form")&&(r.selectedFilters=function(){var e=document.querySelectorAll('input[type = "checkbox"]:checked'),t=[];e.forEach((function(e){t.push(e.value)}));var n={};return t.forEach((function(e){var t=$e(e.split("|"),2),r=t[0],i=t[1];n[r]?n[r].push(i):n[r]=[i]})),n}());var o={event:"assetInteraction",asset:r};dataLayer.push(o)}))}))}!function(e){e((function(){e("#service-notice-close").on("click",(function(t){t.preventDefault(),e(this).parent().remove()})),Be()}))}(n(755));var Fe=n(755),He=function(e,t){this.namespace="ServiceListing",this.$form=e,this.$document=Fe(document),this.$body=Fe("body"),this.$header=Fe(".header"),this.$container=Fe("#service-listing-content"),this.$mediaTable=Fe("#media-list"),this.$productFilters=Fe("#media-filters"),this.$breadcrumbs=Fe("#media-listing-breadcrumbs, #media-listing-filters-selected"),this.$btnRefine=Fe("#btn-media-refine"),this.$filterContainer=Fe("#media-filter-container"),this.$clearAllBtn=Fe("#btn-media-clear-all"),this.$filterCheckboxes=e.find('.listing-filters input[type="checkbox"]'),this.$filterULs=e.find(".listing-filters-section ul"),this.$sortBys=e.find("select.sort-dropdown"),this.$filterToggles=e.find("a.listing-filters-toggle"),this.$mobileCloseBtns=e.find("#btn-media-filters-close, #btn-media-done-top, #btn-media-done-bottom"),this.$pageCounter=e.find("#service-current-page"),this.$pageTotal=e.find("#service-total-pages"),this.$nextPageBtn=e.find("#service-next-page"),this.$prevPageBtn=e.find("#service-prev-page"),this.$pagingContainer=e.find("#service-paging"),this.$showRecentCheck=e.find("#service-listing-recent-checkbox"),this.page=1,this.totalPages=parseInt(this.$pageTotal.html()),this.showRecent=!1,this.baseUrl=location.protocol+"//"+location.host+location.pathname,this.isSearchPage=t,this.implicitFilters=this.$form.data("implicitfilters"),this.rootFormAction=this.$form.attr("action"),this.cssCheckboxDisabled="custom-checkbox--disabled",this.cssToggleOpen="listing-filters-section-content--open",this.cssMenuOpen="menu-open",this.cssFilterMenuOpen="listing-filters--open",this.cssAjaxLoading="listing--loading",this.cssPagingDisabled="paging-arrow--disabled",this.init()};He.prototype={init:function(){var e=this;"scrollRestoration"in window.history&&(window.history.scrollRestoration="manual"),e.$prevPageBtn.on("click."+e.namespace,(function(t){t.preventDefault(),1!=e.page&&e.loadPage(e.page-1)})),e.$nextPageBtn.on("click."+e.namespace,(function(t){t.preventDefault(),e.page<e.totalPages&&e.loadPage(e.page+1)})),e.$showRecentCheck.on("click."+e.namespace,(function(t){e.showRecent=e.$showRecentCheck.is(":checked"),e.updateFilters()})),e.$filterCheckboxes.on("click."+e.namespace,(function(t){e.updateFilters()})),e.$filterULs.each((function(){var e=Fe(this);if(e.children().length<=5)e.css("max-height","none");else{for(var t=0,n=0;n<5;n++)t+=e.children().eq(n).outerHeight(!0);e.css("max-height",t+"px")}})),e.$filterToggles.on("click."+e.namespace,(function(t){t.preventDefault();var n=Fe(this),r=n.parent();r.hasClass(e.cssToggleOpen)?(r.removeClass(e.cssToggleOpen),n.html(n.data("more"))):(r.addClass(e.cssToggleOpen),n.html(n.data("less")))})),e.$document.on("click."+e.namespace,"li.listing-breadcrumbs--tag a",(function(t){t.preventDefault();var n=Fe(this);Fe("#"+n.data("filterid")).prop("checked",!1),n.parent().remove(),e.updateFilters()})),e.$btnRefine.on("click."+e.namespace,(function(t){t.preventDefault(),e.$filterContainer.addClass(e.cssFilterMenuOpen),e.$filterContainer.css("top",Fe(window).scrollTop()+"px"),e.$body.addClass(e.cssMenuOpen),e.$header.css("z-index","1")})),e.$mobileCloseBtns.on("click."+e.namespace,(function(t){t.preventDefault(),e.$filterContainer.removeClass(e.cssFilterMenuOpen),e.$body.removeClass(e.cssMenuOpen),e.$header.css("z-index","10")})),e.$clearAllBtn.on("click."+e.namespace,(function(t){t.preventDefault(),e.$filterCheckboxes.prop("checked",!1),Fe("li.listing-breadcrumbs--tag").remove(),e.updateFilters()}));var t=e.getUrlParameter("filters");if(t.length){var n=parseInt(e.getUrlParameter("page"),10);e.page=n&&n>=1?n:1,e.showRecent=e.getUrlParameter("showRecent");var r=t.split(",");e.setSelectedFilters(r);var i={filters:r,showRecent:e.showRecent,page:e.page};e.loadMedia(i,!1),window.history.replaceState(i,document.title,e.buildStateUrl(i))}else{var o={filters:[],showRecent:e.showRecent,page:e.page};e.isSearchPage||window.history.replaceState(o,document.title,e.buildStateUrl(o))}e.isSearchPage||Fe(window).on("popstate."+e.namespace,(function(t){var n=t.originalEvent.state;if(n){e.page=1,e.showRecent=n.showRecent,e.setSelectedFilters(n.filters);var r={filters:e.getSelectedFilters(),showRecent:e.showRecent,page:e.page};e.loadMedia(r),window.scrollTo(0,0)}}))},loadPage:function(e){var t=this;if(1===t.page&&!t.isSearchPage){var n=t.getState();window.history.pushState(n,document.title,t.buildStateUrl(n))}t.page=e;var r=t.getState();t.loadMedia(r)},updateFilters:function(){var e=this;e.page=1;var t=e.getNewState();e.loadMedia(t)},loadMedia:function(e){var t=this;e.implicitFilters=t.implicitFilters,t.$container.addClass(t.cssAjaxLoading),Fe.ajax({contentType:"application/json; charset=utf-8",url:t.rootFormAction+"/LoadMedia",method:"GET",dataType:"json",traditional:!0,data:e,success:function(e){t.updatePaging(e.TotalPages),t.updateMediaTable(e.Media,Be),t.updateBreadcrumbs(e.SelectedFilterBreadcrumbHtml),t.$container.removeClass(t.cssAjaxLoading),t.$filterCheckboxes.not(":checked").each((function(){var n=Fe(this);t.arrayIncludes(e.AvailableFilters,n.attr("id"))?(n.attr("disabled",!1),n.parent().removeClass(t.cssCheckboxDisabled)):(n.attr("disabled",!0),n.parent().addClass(t.cssCheckboxDisabled))}))},error:function(e,n,r){t.$container.removeClass(t.cssAjaxLoading)}})},updateMediaTable:function(e,t){this.$mediaTable.html(e),t&&t()},updatePaging:function(e){var t=this;t.totalPages=e,1==e?t.$pagingContainer.hide():(t.$pagingContainer.show(),t.$pageCounter.html(t.page<10?"0"+t.page:t.page),t.$pageTotal.html(e<10?"0"+e:e)),1==t.page?t.$prevPageBtn.addClass(t.cssPagingDisabled):t.$prevPageBtn.removeClass(t.cssPagingDisabled),t.page==t.totalPages?t.$nextPageBtn.addClass(t.cssPagingDisabled):t.$nextPageBtn.removeClass(t.cssPagingDisabled)},updateBreadcrumbs:function(e){this.$breadcrumbs.find("li.listing-breadcrumbs--tag").remove(),this.$breadcrumbs.append(e)},getUrlParameter:function(e){e=e.replace(/[\[]/,"\\[").replace(/[\]]/,"\\]");var t=new RegExp("[\\?&]"+e+"=([^&#]*)").exec(location.search);return null===t?"":decodeURIComponent(t[1].replace(/\+/g," "))},setSelectedFilters:function(e){this.$filterCheckboxes.prop("checked",!1);for(var t=0;t<e.length;t++){this.$filterCheckboxes.filter('[value="'+e[t]+'"]').prop("checked",!0)}},getSelectedFilters:function(){var e=[];return this.$filterCheckboxes.filter(":checked").each((function(){e.push(Fe(this).attr("value"))})),e},getState:function(){var e=this;return{filters:e.getSelectedFilters(),showRecent:e.showRecent,page:e.page}},getNewState:function(){var e=this,t=e.getState();return e.isSearchPage||window.history.pushState(t,document.title,e.buildStateUrl(t)),t},buildStateUrl:function(e){return this.baseUrl+"?filters="+e.filters.join(",")+"&showRecent="+e.showRecent},arrayIncludes:function(e,t){for(var n=0;n<e.length;n++)if(e[n]===t)return!0;return!1}},Fe((function(){var e=Fe("#service-listing-form"),t=0!=Fe("#search-results").length;0!=e.length&&new He(e,t)}));var Ue=n(755),ze={methods:{l10n:function(e){return this.l10nStrings&&this.l10nStrings[e]?this.l10nStrings[e]:e}}};s().component("service-prodsearch-results-list-component",{props:{results:{type:function(){return[]}}},methods:{fixupImageUrl:function(e){var t=new URL(e,window.location.origin),n=new URLSearchParams(t.search);return n.set("width",50),n.set("height",50),t.search=n,t}},template:'\n        <div class="service-prodsearch-results-list">\n            <a v-for="result in results" :href="result.url" :title="result.name">\n                <div>\n                    <img :src="fixupImageUrl(result.image)" :alt="result.name" width="50" height="50" onerror="this.onerror=null;this.src=\'/common/img/image-not-found.png\';" >\n                </div>\n                <p>{{ result.name }}<br><span class="sku">{{ result.code }}</span></p>\n            </a>\n        </div>\n        '}),s().component("service-prodsearch-nav-dropdown-component",{mixins:[ze],props:{l10nStrings:Object,name:{type:String},options:{type:function(){return[]}},selected:{type:String},filterText:{type:String}},computed:{showSearch:function(){return this.options&&this.options.length>12},filteredFilters:function(){var e=this;return this.filterText?this.options.filter((function(t){return t.toLowerCase().indexOf(e.filterText.toLowerCase())>-1})):this.options}},watch:{selected:function(e,t){this.filterText="",this.$emit("item-selected",{value:e})}},data:function(){return{isOpen:!1}},methods:{toggle:function(){this.isOpen=!this.isOpen},closeToggle:function(){this.isOpen=!1},select:function(e){this.selected=e,this.closeToggle()},clearSelection:function(){this.selected="",this.filterText=""}},template:'\n        <li v-click-outside="closeToggle" class="service-prodsearch-nav-item--series service-prodsearch-filter" :class="{ \'service-prodsearch-nav-filtergroup--open\': isOpen }">\n            <a @click.prevent="toggle" data-value="" class="service-prodsearch-nav-filtergroup" :title="name + \' \' + l10n(\'Link\')">{{ name }}: <span class="selection">{{ selected ? selected : l10n("Select") }}</span></a>   \n            <div id="filter-series" class="service-prodsearch-nav-dropdown-wrapper">\n                <div class="service-prodsearch-nav-dropdown">\n                    <div v-if="showSearch" class="service-prodsearch-nav-dropdown-search">\n                        <input type="text" name="t" class="service-prodsearch-nav-dropdown-searchinput" v-model:value="filterText" :placeholder="l10n(\'Search\') + \' \' + n
2ame">\n                    </div>\n                    <div class="service-prodsearch-nav-dropdown-content" v-if="filteredFilters">\n                        <a v-for="filter in filteredFilters"  class="service-prodsearch-nav-filter" :title="filter" @click.prevent="select(filter)">{{filter}}</a>\n                        <a @click.prevent="clearSelection" class="service-prodsearch-nav-dropdown-clear" title="l10n(\'Clear\')">{{ l10n(\'Clear\') }}</a>\n                        <p v-show="!filteredFilters" class="service-prodsearch-nav-dropdown-noresults">{{ l10n(\'There are no items matching your search term.\') }}</p>\n                    </div>\n                </div>\n            </div>\n        </li>\n\t'}),s().directive("click-outside",{bind:function(e,t,n){e.clickOutsideHandler=function(r){r&&e!=r.target&&!e.contains(r.target)&&n.context[t.expression](r)},document.body.addEventListener("click",e.clickOutsideHandler)},unbind:function(e){document.body.removeEventListener("click",e.clickOutsideHandler)}}),document.getElementById("service-prodsearch-block")&&Ue((function(){var e="#service-prodsearch-block";Ue(e)&&new(s())({el:e,name:e,mixins:[ze],data:function(){return{page:1,loading:!1,l10nStrings:function(){return[]},brandDropdown:{options:function(){return[]},selected:"",filterText:""},categoryDropdown:{options:function(){return[]},selected:"",filterText:""},seriesDropdown:{options:function(){return[]},selected:"",filterText:""},results:{page:1,products:function(){return[]},resultsPerPage:0,totalPages:0,totalResults:0}}},methods:{fetchData:function(){var e=this,t=new URLSearchParams;this.page&&t.append("page",this.page),this.brandDropdown.selected&&t.append("brand",this.brandDropdown.selected),this.categoryDropdown.selected&&t.append("category",this.categoryDropdown.selected),this.seriesDropdown.selected&&t.append("series",this.seriesDropdown.selected),this.loading=!0,fetch("/api/service/browse?"+t).then((function(e){return e.json()})).then((function(t){t.results&&(e.page=t.results.page,e.results=t.results),e.brandDropdown.options=t.facets.brands,e.categoryDropdown.options=t.facets.categories,e.seriesDropdown.options=t.facets.series,e.loading=!1}))},brandSelected:function(e){this.brandDropdown.selected=e.value,this.fetchData()},categorySelected:function(e){this.categoryDropdown.selected=e.value,this.fetchData()},seriesSelected:function(e){this.seriesDropdown.selected=e.value,this.fetchData()},nextPage:function(){this.page<this.results.totalPages&&(this.page=this.page+1,this.fetchData())},previousPage:function(){this.page>1&&(this.page=this.page-1,this.fetchData())},clearAll:function(){this.brandDropdown.selected="",this.brandDropdown.filterText="",this.categoryDropdown.selected="",this.categoryDropdown.filterText="",this.seriesDropdown.selected="",this.seriesDropdown.filterText="",this.results=""},addLeadingZero:function(e){return e<10?"0"+e:""+e}},mounted:function(){this.l10nStrings=JSON.parse(this.$el.dataset.l10nStrings),this.fetchData()}})}));n(677),n(696);function Ve(e){return null!==e&&"object"==typeof e&&"constructor"in e&&e.constructor===Object}function We(e={},t={}){Object.keys(t).forEach((n=>{void 0===e[n]?e[n]=t[n]:Ve(t[n])&&Ve(e[n])&&Object.keys(t[n]).length>0&&We(e[n],t[n])}))}const Ge={body:{},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector(){return null},querySelectorAll(){return[]},getElementById(){return null},createEvent(){return{initEvent(){}}},createElement(){return{children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName(){return[]}}},createElementNS(){return{}},importNode(){return null},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function qe(){const e="undefined"!=typeof document?document:{};return We(e,Ge),e}const Ye={document:Ge,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState(){},pushState(){},go(){},back(){}},CustomEvent:function(){return this},addEventListener(){},removeEventListener(){},getComputedStyle(){return{getPropertyValue(){return""}}},Image(){},Date(){},screen:{},setTimeout(){}
2,clearTimeout(){},matchMedia(){return{}},requestAnimationFrame(e){return"undefined"==typeof setTimeout?(e(),null):setTimeout(e,0)},cancelAnimationFrame(e){"undefined"!=typeof setTimeout&&clearTimeout(e)}};function Xe(){const e="undefined"!=typeof window?window:{};return We(e,Ye),e}class Ze extends Array{constructor(e){"number"==typeof e?super(e):(super(...e||[]),function(e){const t=e.__proto__;Object.defineProperty(e,"__proto__",{get(){return t},set(e){t.__proto__=e}})}(this))}}function Qe(e=[]){const t=[];return e.forEach((e=>{Array.isArray(e)?t.push(...Qe(e)):t.push(e)})),t}function Ke(e,t){return Array.prototype.filter.call(e,t)}function Je(e,t){const n=Xe(),r=qe();let i=[];if(!t&&e instanceof Ze)return e;if(!e)return new Ze(i);if("string"==typeof e){const n=e.trim();if(n.indexOf("<")>=0&&n.indexOf(">")>=0){let e="div";0===n.indexOf("<li")&&(e="ul"),0===n.indexOf("<tr")&&(e="tbody"),0!==n.indexOf("<td")&&0!==n.indexOf("<th")||(e="tr"),0===n.indexOf("<tbody")&&(e="table"),0===n.indexOf("<option")&&(e="select");const t=r.createElement(e);t.innerHTML=n;for(let e=0;e<t.childNodes.length;e+=1)i.push(t.childNodes[e])}else i=function(e,t){if("string"!=typeof e)return[e];const n=[],r=t.querySelectorAll(e);for(let e=0;e<r.length;e+=1)n.push(r[e]);return n}(e.trim(),t||r)}else if(e.nodeType||e===n||e===r)i.push(e);else if(Array.isArray(e)){if(e instanceof Ze)return e;i=e}return new Ze(function(e){const t=[];for(let n=0;n<e.length;n+=1)-1===t.indexOf(e[n])&&t.push(e[n]);return t}(i))}Je.fn=Ze.prototype;const et="resize scroll".split(" ");function tt(e){return function(...t){if(void 0===t[0]){for(let t=0;t<this.length;t+=1)et.indexOf(e)<0&&(e in this[t]?this[t][e]():Je(this[t]).trigger(e));return this}return this.on(e,...t)}}tt("click"),tt("blur"),tt("focus"),tt("focusin"),tt("focusout"),tt("keyup"),tt("keydown"),tt("keypress"),tt("submit"),tt("change"),tt("mousedown"),tt("mousemove"),tt("mouseup"),tt("mouseenter"),tt("mouseleave"),tt("mouseout"),tt("mouseover"),tt("touchstart"),tt("touchend"),tt("touchmove"),tt("resize"),tt("scroll");const nt={addClass:function(...e){const t=Qe(e.map((e=>e.split(" "))));return this.forEach((e=>{e.classList.add(...t)})),this},removeClass:function(...e){const t=Qe(e.map((e=>e.split(" "))));return this.forEach((e=>{e.classList.remove(...t)})),this},hasClass:function(...e){const t=Qe(e.map((e=>e.split(" "))));return Ke(this,(e=>t.filter((t=>e.classList.contains(t))).length>0)).length>0},toggleClass:function(...e){const t=Qe(e.map((e=>e.split(" "))));this.forEach((e=>{t.forEach((t=>{e.classList.toggle(t)}))}))},attr:function(e,t){if(1===arguments.length&&"string"==typeof e)return this[0]?this[0].getAttribute(e):void 0;for(let n=0;n<this.length;n+=1)if(2===arguments.length)this[n].setAttribute(e,t);else for(const t in e)this[n][t]=e[t],this[n].setAttribute(t,e[t]);return this},removeAttr:function(e){for(let t=0;t<this.length;t+=1)this[t].removeAttribute(e);return this},transform:function(e){for(let t=0;t<this.length;t+=1)this[t].style.transform=e;return this},transition:function(e){for(let t=0;t<this.length;t+=1)this[t].style.transitionDuration="string"!=typeof e?`${e}ms`:e;return this},on:function(...e){let[t,n,r,i]=e;function o(e){const t=e.target;if(!t)return;const i=e.target.dom7EventData||[];if(i.indexOf(e)<0&&i.unshift(e),Je(t).is(n))r.apply(t,i);else{const e=Je(t).parents();for(let t=0;t<e.length;t+=1)Je(e[t]).is(n)&&r.apply(e[t],i)}}function a(e){const t=e&&e.target&&e.target.dom7EventData||[];t.indexOf(e)<0&&t.unshift(e),r.apply(this,t)}"function"==typeof e[1]&&([t,r,i]=e,n=void 0),i||(i=!1);const s=t.split(" ");let l;for(let e=0;e<this.length;e+=1){const t=this[e];if(n)for(l=0;l<s.length;l+=1){const e=s[l];t.dom7LiveListeners||(t.dom7LiveListeners={}),t.dom7LiveListeners[e]||(t.dom7LiveListeners[e]=[]),t.dom7LiveListeners[e].push({listener:r,proxyListener:o}),t.addEventListener(e,o,i)}else for(l=0;l<s.length;l+=1){const e=s[l];t.dom7Listeners||(t.dom7Listeners={}),t.dom7Listeners[e]||(t.dom7Listeners[e]=[]),t.dom7Listeners[e].push({listener:r,proxyListener:a}),t.addEventListener(e,a,i)}}return this},off:function(...e){let[t,n,r,i]=e;"function"==typeof e[1]&&([t,r,i]=e,n=void 0),i||(i=!1);const o=t.split(" ");for(let e=0;e<o.length;e+=1){const t=o[e];for(let e=0;e<this.length;e+=1){const o=this[e];let a;if(!n&&o.dom7Listeners?a=o.dom7Listeners[t]:n&&o.dom7LiveListeners&&(a=o.dom7LiveListeners[t]),a&&a.length)for(let e=a.length-1;e>=0;e-=1){const n=a[e];r&&n.listener===r||r&&n.listener&&n.listener.dom7proxy&&n.listener.dom7proxy===r?(o.removeEventListener(t,n.proxyListener,i),a.splice(e,1)):r||(o.removeEventListener(t,n.proxyListener,i),a.splice(e,1))}}}return this},trigger:function(...e){const t=Xe(),n=e[0].split(" "),r=e[1];for(let i=0;i<n.length;i+=1){const o=n[i];for(let n=0;n<this.length;n+=1){const i=this[n];if(t.CustomEvent){const n=new t.CustomEvent(o,{detail:r,bubbles:!0,cancelable:!0});i.dom7EventData=e.filter(((e,t)=>t>0)),i.dispatchEvent(n),i.dom7EventData=[],delete i.dom7EventData}}}return this},transitionEnd:function(e){const t=this;return e&&t.on("transitionend",(function n(r){r.target===this&&(e.call(this,r),t.off("transitionend",n))})),this},outerWidth:function(e){if(this.length>0){if(e){const e=this.styles();return this[0].offsetWidth+parseFloat(e.getPropertyValue("margin-right"))+
2parseFloat(e.getPropertyValue("margin-left"))}return this[0].offsetWidth}return null},outerHeight:function(e){if(this.length>0){if(e){const e=this.styles();return this[0].offsetHeight+parseFloat(e.getPropertyValue("margin-top"))+parseFloat(e.getPropertyValue("margin-bottom"))}return this[0].offsetHeight}return null},styles:function(){const e=Xe();return this[0]?e.getComputedStyle(this[0],null):{}},offset:function(){if(this.length>0){const e=Xe(),t=qe(),n=this[0],r=n.getBoundingClientRect(),i=t.body,o=n.clientTop||i.clientTop||0,a=n.clientLeft||i.clientLeft||0,s=n===e?e.scrollY:n.scrollTop,l=n===e?e.scrollX:n.scrollLeft;return{top:r.top+s-o,left:r.left+l-a}}return null},css:function(e,t){const n=Xe();let r;if(1===arguments.length){if("string"!=typeof e){for(r=0;r<this.length;r+=1)for(const t in e)this[r].style[t]=e[t];return this}if(this[0])return n.getComputedStyle(this[0],null).getPropertyValue(e)}if(2===arguments.length&&"string"==typeof e){for(r=0;r<this.length;r+=1)this[r].style[e]=t;return this}return this},each:function(e){return e?(this.forEach(((t,n)=>{e.apply(t,[t,n])})),this):this},html:function(e){if(void 0===e)return this[0]?this[0].innerHTML:null;for(let t=0;t<this.length;t+=1)this[t].innerHTML=e;return this},text:function(e){if(void 0===e)return this[0]?this[0].textContent.trim():null;for(let t=0;t<this.length;t+=1)this[t].textContent=e;return this},is:function(e){const t=Xe(),n=qe(),r=this[0];let i,o;if(!r||void 0===e)return!1;if("string"==typeof e){if(r.matches)return r.matches(e);if(r.webkitMatchesSelector)return r.webkitMatchesSelector(e);if(r.msMatchesSelector)return r.msMatchesSelector(e);for(i=Je(e),o=0;o<i.length;o+=1)if(i[o]===r)return!0;return!1}if(e===n)return r===n;if(e===t)return r===t;if(e.nodeType||e instanceof Ze){for(i=e.nodeType?[e]:e,o=0;o<i.length;o+=1)if(i[o]===r)return!0;return!1}return!1},index:function(){let e,t=this[0];if(t){for(e=0;null!==(t=t.previousSibling);)1===t.nodeType&&(e+=1);return e}},eq:function(e){if(void 0===e)return this;const t=this.length;if(e>t-1)return Je([]);if(e<0){const n=t+e;return Je(n<0?[]:[this[n]])}return Je([this[e]])},append:function(...e){let t;const n=qe();for(let r=0;r<e.length;r+=1){t=e[r];for(let e=0;e<this.length;e+=1)if("string"==typeof t){const r=n.createElement("div");for(r.innerHTML=t;r.firstChild;)this[e].appendChild(r.firstChild)}else if(t instanceof Ze)for(let n=0;n<t.length;n+=1)this[e].appendChild(t[n]);else this[e].appendChild(t)}return this},prepend:function(e){const t=qe();let n,r;for(n=0;n<this.length;n+=1)if("string"==typeof e){const i=t.createElement("div");for(i.innerHTML=e,r=i.childNodes.length-1;r>=0;r-=1)this[n].insertBefore(i.childNodes[r],this[n].childNodes[0])}else if(e instanceof Ze)for(r=0;r<e.length;r+=1)this[n].insertBefore(e[r],this[n].childNodes[0]);else this[n].insertBefore(e,this[n].childNodes[0]);return this},next:function(e){return this.length>0?e?this[0].nextElementSibling&&Je(this[0].nextElementSibling).is(e)?Je([this[0].nextElementSibling]):Je([]):this[0].nextElementSibling?Je([this[0].nextElementSibling]):Je([]):Je([])},nextAll:function(e){const t=[];let n=this[0];if(!n)return Je([]);for(;n.nextElementSibling;){const r=n.nextElementSibling;e?Je(r).is(e)&&t.push(r):t.push(r),n=r}return Je(t)},prev:function(e){if(this.length>0){const t=this[0];return e?t.previousElementSibling&&Je(t.previousElementSibling).is(e)?Je([t.previousElementSibling]):Je([]):t.previousElementSibling?Je([t.previousElementSibling]):Je([])}return Je([])},prevAll:function(e){const t=[];let n=this[0];if(!n)return Je([]);for(;n.previousElementSibling;){const r=n.previousElementSibling;e?Je(r).is(e)&&t.push(r):t.push(r),n=r}return Je(t)},parent:function(e){const t=[];for(let n=0;n<this.length;n+=1)null!==this[n].parentNode&&(e?Je(this[n].parentNode).is(e)&&t.push(this[n].parentNode):t.push(this[n].parentNode));return Je(t)},parents:function(e){const t=[];for(let n=0;n<this.length;n+=1){let r=this[n].parentNode;for(;r;)e?Je(r).is(e)&&t.push(r):t.push(r),r=r.parentNode}return Je(t)},closest:function(e){let t=this;return void 0===e?Je([]):(t.is(e)||(t=t.parents(e).eq(0)),t)},find:function(e){const t=[];for(let n=0;n<this.length;n+=1){const r=this[n].querySelectorAll(e);for(let e=0;e<r.length;e+=1)t.push(r[e])}return Je(t)},children:function(e){const t=[];for(let n=0;n<this.length;n+=1){const r=this[n].children;for(let n=0;n<r.length;n+=1)e&&!Je(r[n]).is(e)||t.push(r[n])}return Je(t)},filter:function(e){return Je(Ke(this,e))},remove:function(){for(let e=0;e<this.length;e+=1)this[e].parentNode&&this[e].parentNode.removeChild(this[e]);return this}};Object.keys(nt).forEach((e=>
vendor: 5,194 bytes, line 2
2{Object.defineProperty(Je.fn,e,{value:nt[e],writable:!0})}));var rt=Je;function it(e,t=0){return setTimeout(e,t)}function ot(){return Date.now()}function at(e,t="x"){const n=Xe();let r,i,o;const a=function(e){const t=Xe();let n;return t.getComputedStyle&&(n=t.getComputedStyle(e,null)),!n&&e.currentStyle&&(n=e.currentStyle),n||(n=e.style),n}(e);return n.WebKitCSSMatrix?(i=a.transform||a.webkitTransform,i.split(",").length>6&&(i=i.split(", ").map((e=>e.replace(",","."))).join(", ")),o=new n.WebKitCSSMatrix("none"===i?"":i)):(o=a.MozTransform||a.OTransform||a.MsTransform||a.msTransform||a.transform||a.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),r=o.toString().split(",")),"x"===t&&(i=n.WebKitCSSMatrix?o.m41:16===r.length?parseFloat(r[12]):parseFloat(r[4])),"y"===t&&(i=n.WebKitCSSMatrix?o.m42:16===r.length?parseFloat(r[13]):parseFloat(r[5])),i||0}function st(e){return"object"==typeof e&&null!==e&&e.constructor&&"Object"===Object.prototype.toString.call(e).slice(8,-1)}function lt(...e){const t=Object(e[0]),n=["__proto__","constructor","prototype"];for(let i=1;i<e.length;i+=1){const o=e[i];if(null!=o&&(r=o,!("undefined"!=typeof window&&void 0!==window.HTMLElement?r instanceof HTMLElement:r&&(1===r.nodeType||11===r.nodeType)))){const e=Object.keys(Object(o)).filter((e=>n.indexOf(e)<0));for(let n=0,r=e.length;n<r;n+=1){const r=e[n],i=Object.getOwnPropertyDescriptor(o,r);void 0!==i&&i.enumerable&&(st(t[r])&&st(o[r])?o[r].__swiper__?t[r]=o[r]:lt(t[r],o[r]):!st(t[r])&&st(o[r])?(t[r]={},o[r].__swiper__?t[r]=o[r]:lt(t[r],o[r])):t[r]=o[r])}}}var r;return t}function ct(e,t,n){e.style.setProperty(t,n)}function ut({swiper:e,targetPosition:t,side:n}){const r=Xe(),i=-e.translate;let o,a=null;const s=e.params.speed;e.wrapperEl.style.scrollSnapType="none",r.cancelAnimationFrame(e.cssModeFrameID);const l=t>i?"next":"prev",c=(e,t)=>"next"===l&&e>=t||"prev"===l&&e<=t,u=()=>{o=(new Date).getTime(),null===a&&(a=o);const l=Math.max(Math.min((o-a)/s,1),0),d=.5-Math.cos(l*Math.PI)/2;let h=i+d*(t-i);if(c(h,t)&&(h=t),e.wrapperEl.scrollTo({[n]:h}),c(h,t))return e.wrapperEl.style.overflow="hidden",e.wrapperEl.style.scrollSnapType="",setTimeout((()=>{e.wrapperEl.style.overflow="",e.wrapperEl.scrollTo({[n]:h})})),void r.cancelAnimationFrame(e.cssModeFrameID);e.cssModeFrameID=r.requestAnimationFrame(u)};u()}let dt,ht,ft;function pt(){return dt||(dt=function(){const e=Xe(),t=qe();return{smoothScroll:t.documentElement&&"scrollBehavior"in t.documentElement.style,touch:!!("ontouchstart"in e||e.DocumentTouch&&t instanceof e.DocumentTouch),passiveListener:function(){let t=!1;try{const n=Object.defineProperty({},"passive",{get(){t=!0}});e.addEventListener("testPassiveListener",null,n)}catch(e){}return t}(),gestures:"ongesturestart"in e}}()),dt}function gt(e={}){return ht||(ht=function({userAgent:e}={}){const t=pt(),n=Xe(),r=n.navigator.platform,i=e||n.navigator.userAgent,o={ios:!1,android:!1},a=n.screen.width,s=n.screen.height,l=i.match(/(Android);?[\s\/]+([\d.]+)?/);let c=i.match(/(iPad).*OS\s([\d_]+)/);const u=i.match(/(iPod)(.*OS\s([\d_]+))?/),d=!c&&i.match(/(iPhone\sOS|iOS)\s([\d_]+)/),h="Win32"===r;let f="MacIntel"===r;return!c&&f&&t.touch&&["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"].indexOf(`${a}x${s}`)>=0&&(c=i.match(/(Version)\/([\d.]+)/),c||(c=[0,1,"13_0_0"]),f=!1),l&&!h&&(o.os="android",o.android=!0),(c||d||u)&&(o.os="ios",o.ios=!0),o}(e)),ht}function mt(){return ft||(ft=function(){const e=Xe();return{isSafari:function(){const t=e.navigator.userAgent.toLowerCase();return t.indexOf("safari")>=0&&t.indexOf("chrome")<0&&t.indexOf("android")<0}(),isWebView:/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(e.navigator.userAgent)}}()),ft}var yt={on(e,t,n){const r=this;if(!r.eventsListeners||r.destroyed)return r;if("function"!=typeof t)return r;const i=n?"unshift":"push";return e.split(" ").forEach((e=>{r.eventsListeners[e]||(r.eventsListeners[e]=[]),r.eventsListeners[e][i](t)})),r},once(e,t,n){const r=this;if(!r.eventsListeners||r.destroyed)return r;if("function"!=typeof t)return r;function i(...n){r.off(e,i),i.__emitterProxy&&delete i.__emitterProxy,t.apply(r,n)}return i.__emitterProxy=t,r.on(e,i,n)},onAny(e,t){const n=this;if(!n.eventsListeners||n.destroyed)return n;if("function"!=typeof e)return n;const r=t?"unshift":"push";return n.eventsAnyListeners.indexOf(e)<0&&n.eventsAnyListeners[r](e),n},offAny(e){const t=this;if(!t.eventsListeners||t.destroyed)return t;if(!t.eventsAnyListeners)return t;const n=t.eventsAnyListeners.indexOf(e);return n>=0&&t.eventsAnyListeners.splice(n,1),t},off(e,t){const n=this;return!n.eventsListeners||n.destroyed?n:n.eventsListeners?(e.split(" ").forEach((e=>{void 0===t?n.eventsListeners[e]=[]:n.eventsListeners[e]&&n.eventsListeners[e].forEach(((r,i)=>{(r===t||r.__emitterProxy&&r.__emitterProxy===t)&&n.eventsListeners[e].splice(i,1)}))})),n):n},emit(...e){const t=this;if(!t.eventsListeners||t.destroyed)return t;if(!t.eventsListeners)return t;let n,r,i;"string"==typeof e[0]||Array.isArray(e[0])?(n=e[0],r=e.slice(1,e.length),i=t):(n=e[0].events,r=e[0].data,i=e[0].context||t),r.unshift(i);
2return(Array.isArray(n)?n:n.split(" ")).forEach((e=>{t.eventsAnyListeners&&t.eventsAnyListeners.length&&t.eventsAnyListeners.forEach((t=>{t.apply(i,[e,...r])})),t.eventsListeners&&t.eventsListeners[e]&&t.eventsListeners[e].forEach((e=>{e.apply(i,r)}))})),t}};var vt={updateSize:function(){const e=this;let t,n;const r=e.$el;t=void 0!==e.params.width&&null!==e.params.width?e.params.width:r[0].clientWidth,n=void 0!==e.params.height&&null!==e.params.height?e.params.height:r[0].clientHeight,0===t&&e.isHorizontal()||0===n&&e.isVertical()||(t=t-parseInt(r.css("padding-left")||0,10)-parseInt(r.css("padding-right")||0,10),n=n-parseInt(r.css("padding-top")||0,10)-parseInt(r.css("padding-bottom")||0,10),Number.isNaN(t)&&(t=0),Number.isNaN(n)&&(n=0),Object.assign(e,{width:t,height:n,size:e.isHorizontal()?t:n}))},updateSlides:function(){const e=this;function t(t){return e.isHorizontal()?t:{width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"}[t]}function n(e,n){return parseFloat(e.getPropertyValue(t(n))||0)}const r=e.params,{$wrapperEl:i,size:o,rtlTranslate:a,wrongRTL:s}=e,l=e.virtual&&r.virtual.enabled,c=l?e.virtual.slides.length:e.slides.length,u=i.children(`.${e.params.slideClass}`),d=l?e.virtual.slides.length:u.length;let h=[];const f=[],p=[];let g=r.slidesOffsetBefore;"function"==typeof g&&(g=r.slidesOffsetBefore.call(e));let m=r.slidesOffsetAfter;"function"==typeof m&&(m=r.slidesOffsetAfter.call(e));const y=e.snapGrid.length,v=e.slidesGrid.length;let w=r.spaceBetween,b=-g,C=0,S=0;if(void 0===o)return;"string"==typeof w&&w.indexOf("%")>=0&&(w=parseFloat(w.replace("%",""))/100*o),e.virtualSize=-w,a?u.css({marginLeft:"",marginBottom:"",marginTop:""}):u.css({marginRight:"",marginBottom:"",marginTop:""}),r.centeredSlides&&r.cssMode&&(ct(e.wrapperEl,"--swiper-centered-offset-before",""),ct(e.wrapperEl,"--swiper-centered-offset-after",""));const A=r.grid&&r.grid.rows>1&&e.grid;let _;A&&e.grid.initSlides(d);const T="auto"===r.slidesPerView&&r.breakpoints&&Object.keys(r.breakpoints).filter((e=>void 0!==r.breakpoints[e].slidesPerView)).length>0;for(let i=0;i<d;i+=1){_=0;const a=u.eq(i);if(A&&e.grid.updateSlide(i,a,d,t),"none"!==a.css("display")){if("auto"===r.slidesPerView){T&&(u[i].style[t("width")]="");const o=getComputedStyle(a[0]),s=a[0].style.transform,l=a[0].style.webkitTransform;if(s&&(a[0].style.transform="none"),l&&(a[0].style.webkitTransform="none"),r.roundLengths)_=e.isHorizontal()?a.outerWidth(!0):a.outerHeight(!0);else{const e=n(o,"width"),t=n(o,"padding-left"),r=n(o,"padding-right"),i=n(o,"margin-left"),s=n(o,"margin-right"),l=o.getPropertyValue("box-sizing");if(l&&"border-box"===l)_=e+i+s;else{const{clientWidth:n,offsetWidth:o}=a[0];_=e+t+r+i+s+(o-n)}}s&&(a[0].style.transform=s),l&&(a[0].style.webkitTransform=l),r.roundLengths&&(_=Math.floor(_))}else _=(o-(r.slidesPerView-1)*w)/r.slidesPerView,r.roundLengths&&(_=Math.floor(_)),u[i]&&(u[i].style[t("width")]=`${_}px`);u[i]&&(u[i].swiperSlideSize=_),p.push(_),r.centeredSlides?(b=b+_/2+C/2+w,0===C&&0!==i&&(b=b-o/2-w),0===i&&(b=b-o/2-w),Math.abs(b)<.001&&(b=0),r.roundLengths&&(b=Math.floor(b)),S%r.slidesPerGroup==0&&h.push(b),f.push(b)):(r.roundLengths&&(b=Math.floor(b)),(S-Math.min(e.params.slidesPerGroupSkip,S))%e.params.slidesPerGroup==0&&h.push(b),f.push(b),b=b+_+w),e.virtualSize+=_+w,C=_,S+=1}}if(e.virtualSize=Math.max(e.virtualSize,o)+m,a&&s&&("slide"===r.effect||"coverflow"===r.effect)&&i.css({width:`${e.virtualSize+r.spaceBetween}px`}),r.setWrapperSize&&i.css({[t("width")]:`${e.virtualSize+r.spaceBetween}px`}),A&&e.grid.updateWrapperSize(_,h,t),!r.centeredSlides){const t=[];for(let n=0;n<h.length;n+=1){let i=h[n];r.roundLengths&&(i=Math.floor(i)),h[n]<=e.virtualSize-o&&t.push(i)}h=t,Math.floor(e.virtualSize-o)-Math.floor(h[h.length-1])>1&&h.push(e.virtualSize-o)}if(0===h.length&&(h=[0]),0!==r.spaceBetween){const n=e.isHorizontal()&&a?"marginLeft":t("marginRight");u.filter(((e,t)=>!r.cssMode||t!==u.length-1)).css({[n]:`${w}px`})}
2if(r.centeredSlides&&r.centeredSlidesBounds){let e=0;p.forEach((t=>{e+=t+(r.spaceBetween?r.spaceBetween:0)})),e-=r.spaceBetween;const t=e-o;h=h.map((e=>e<0?-g:e>t?t+m:e))}if(r.centerInsufficientSlides){let e=0;if(p.forEach((t=>{e+=t+(r.spaceBetween?r.spaceBetween:0)})),e-=r.spaceBetween,e<o){const t=(o-e)/2;h.forEach(((e,n)=>{h[n]=e-t})),f.forEach(((e,n)=>{f[n]=e+t}))}}if(Object.assign(e,{slides:u,snapGrid:h,slidesGrid:f,slidesSizesGrid:p}),r.centeredSlides&&r.cssMode&&!r.centeredSlidesBounds){ct(e.wrapperEl,"--swiper-centered-offset-before",-h[0]+"px"),ct(e.wrapperEl,"--swiper-centered-offset-after",e.size/2-p[p.length-1]/2+"px");const t=-e.snapGrid[0],n=-e.slidesGrid[0];e.snapGrid=e.snapGrid.map((e=>e+t)),e.slidesGrid=e.slidesGrid.map((e=>e+n))}if(d!==c&&e.emit("slidesLengthChange"),h.length!==y&&(e.params.watchOverflow&&e.checkOverflow(),e.emit("snapGridLengthChange")),f.length!==v&&e.emit("slidesGridLengthChange"),r.watchSlidesProgress&&e.updateSlidesOffset(),!(l||r.cssMode||"slide"!==r.effect&&"fade"!==r.effect)){const t=`${r.containerModifierClass}backface-hidden`,n=e.$el.hasClass(t);d<=r.maxBackfaceHiddenSlides?n||e.$el.addClass(t):n&&e.$el.removeClass(t)}},updateAutoHeight:function(e){const t=this,n=[],r=t.virtual&&t.params.virtual.enabled;let i,o=0;"number"==typeof e?t.setTransition(e):!0===e&&t.setTransition(t.params.speed);const a=e=>r?t.slides.filter((t=>parseInt(t.getAttribute("data-swiper-slide-index"),10)===e))[0]:t.slides.eq(e)[0];if("auto"!==t.params.slidesPerView&&t.params.slidesPerView>1)if(t.params.centeredSlides)(t.visibleSlides||rt([])).each((e=>{n.push(e)}));else for(i=0;i<Math.ceil(t.params.slidesPerView);i+=1){const e=t.activeIndex+i;if(e>t.slides.length&&!r)break;n.push(a(e))}else n.push(a(t.activeIndex));for(i=0;i<n.length;i+=1)if(void 0!==n[i]){const e=n[i].offsetHeight;o=e>o?e:o}(o||0===o)&&t.$wrapperEl.css("height",`${o}px`)},updateSlidesOffset:function(){const e=this,t=e.slides;for(let n=0;n<t.length;n+=1)t[n].swiperSlideOffset=e.isHorizontal()?t[n].offsetLeft:t[n].offsetTop},updateSlidesProgress:function(e=this&&this.translate||0){const t=this,n=t.params,{slides:r,rtlTranslate:i,snapGrid:o}=t;if(0===r.length)return;void 0===r[0].swiperSlideOffset&&t.updateSlidesOffset();let a=-e;i&&(a=e),r.removeClass(n.slideVisibleClass),t.visibleSlidesIndexes=[],t.visibleSlides=[];for(let e=0;e<r.length;e+=1){const s=r[e];let l=s.swiperSlideOffset;n.cssMode&&n.centeredSlides&&(l-=r[0].swiperSlideOffset);const c=(a+(n.centeredSlides?t.minTranslate():0)-l)/(s.swiperSlideSize+n.spaceBetween),u=(a-o[0]+(n.centeredSlides?t.minTranslate():0)-l)/(s.swiperSlideSize+n.spaceBetween),d=-(a-l),h=d+t.slidesSizesGrid[e];(d>=0&&d<t.size-1||h>1&&h<=t.size||d<=0&&h>=t.size)&&(t.visibleSlides.push(s),t.visibleSlidesIndexes.push(e),r.eq(e).addClass(n.slideVisibleClass)),s.progress=i?-c:c,s.originalProgress=i?-u:u}t.visibleSlides=rt(t.visibleSlides)},updateProgress:function(e){const t=this;if(void 0===e){const n=t.rtlTranslate?-1:1;e=t&&t.translate&&t.translate*n||0}const n=t.params,r=t.maxTranslate()-t.minTranslate();let{progress:i,isBeginning:o,isEnd:a}=t;const s=o,l=a;0===r?(i=0,o=!0,a=!0):(i=(e-t.minTranslate())/r,o=i<=0,a=i>=1),Object.assign(t,{progress:i,isBeginning:o,isEnd:a}),(n.watchSlidesProgress||n.centeredSlides&&n.autoHeight)&&t.updateSlidesProgress(e),o&&!s&&t.emit("reachBeginning toEdge"),a&&!l&&t.emit("reachEnd toEdge"),(s&&!o||l&&!a)&&t.emit("fromEdge"),t.emit("progress",i)},updateSlidesClasses:function(){const e=this,{slides:t,params:n,$wrapperEl:r,activeIndex:i,realIndex:o}=e,a=e.virtual&&n.virtual.enabled;let s;t.removeClass(`${n.slideActiveClass} ${n.slideNextClass} ${n.slidePrevClass} ${n.slideDuplicateActiveClass} ${n.slideDuplicateNextClass} ${n.slideDuplicatePrevClass}`),s=a?e.$wrapperEl.find(`.${n.slideClass}[data-swiper-slide-index="${i}"]`):t.eq(i),s.addClass(n.slideActiveClass),n.loop&&(s.hasClass(n.slideDuplicateClass)?r.children(`.${n.slideClass}:not(.${n.slideDuplicateClass})[data-swiper-slide-index="${o}"]`).addClass(n.slideDuplicateActiveClass):r.children(`.${n.slideClass}.${n.slideDuplicateClass}[data-swiper-slide-index="${o}"]`).addClass(n.slideDuplicateActiveClass));let l=s.nextAll(`.${n.slideClass}`).eq(0).addClass(n.slideNextClass);
2n.loop&&0===l.length&&(l=t.eq(0),l.addClass(n.slideNextClass));let c=s.prevAll(`.${n.slideClass}`).eq(0).addClass(n.slidePrevClass);n.loop&&0===c.length&&(c=t.eq(-1),c.addClass(n.slidePrevClass)),n.loop&&(l.hasClass(n.slideDuplicateClass)?r.children(`.${n.slideClass}:not(.${n.slideDuplicateClass})[data-swiper-slide-index="${l.attr("data-swiper-slide-index")}"]`).addClass(n.slideDuplicateNextClass):r.children(`.${n.slideClass}.${n.slideDuplicateClass}[data-swiper-slide-index="${l.attr("data-swiper-slide-index")}"]`).addClass(n.slideDuplicateNextClass),c.hasClass(n.slideDuplicateClass)?r.children(`.${n.slideClass}:not(.${n.slideDuplicateClass})[data-swiper-slide-index="${c.attr("data-swiper-slide-index")}"]`).addClass(n.slideDuplicatePrevClass):r.children(`.${n.slideClass}.${n.slideDuplicateClass}[data-swiper-slide-index="${c.attr("data-swiper-slide-index")}"]`).addClass(n.slideDuplicatePrevClass)),e.emitSlidesClasses()},updateActiveIndex:function(e){const t=this,n=t.rtlTranslate?t.translate:-t.translate,{slidesGrid:r,snapGrid:i,params:o,activeIndex:a,realIndex:s,snapIndex:l}=t;let c,u=e;if(void 0===u){for(let e=0;e<r.length;e+=1)void 0!==r[e+1]?n>=r[e]&&n<r[e+1]-(r[e+1]-r[e])/2?u=e:n>=r[e]&&n<r[e+1]&&(u=e+1):n>=r[e]&&(u=e);o.normalizeSlideIndex&&(u<0||void 0===u)&&(u=0)}if(i.indexOf(n)>=0)c=i.indexOf(n);else{const e=Math.min(o.slidesPerGroupSkip,u);c=e+Math.floor((u-e)/o.slidesPerGroup)}if(c>=i.length&&(c=i.length-1),u===a)return void(c!==l&&(t.snapIndex=c,t.emit("snapIndexChange")));const d=parseInt(t.slides.eq(u).attr("data-swiper-slide-index")||u,10);Object.assign(t,{snapIndex:c,realIndex:d,previousIndex:a,activeIndex:u}),t.emit("activeIndexChange"),t.emit("snapIndexChange"),s!==d&&t.emit("realIndexChange"),(t.initialized||t.params.runCallbacksOnInit)&&t.emit("slideChange")},updateClickedSlide:function(e){const t=this,n=t.params,r=rt(e).closest(`.${n.slideClass}`)[0];let i,o=!1;if(r)for(let e=0;e<t.slides.length;e+=1)if(t.slides[e]===r){o=!0,i=e;break}if(!r||!o)return t.clickedSlide=void 0,void(t.clickedIndex=void 0);t.clickedSlide=r,t.virtual&&t.params.virtual.enabled?t.clickedIndex=parseInt(rt(r).attr("data-swiper-slide-index"),10):t.clickedIndex=i,n.slideToClickedSlide&&void 0!==t.clickedIndex&&t.clickedIndex!==t.activeIndex&&t.slideToClickedSlide()}};var wt={getTranslate:function(e=(this.isHorizontal()?"x":"y")){const{params:t,rtlTranslate:n,translate:r,$wrapperEl:i}=this;if(t.virtualTranslate)return n?-r:r;if(t.cssMode)return r;let o=at(i[0],e);return n&&(o=-o),o||0},setTranslate:function(e,t){const n=this,{rtlTranslate:r,params:i,$wrapperEl:o,wrapperEl:a,progress:s}=n;let l,c=0,u=0;n.isHorizontal()?c=r?-e:e:u=e,i.roundLengths&&(c=Math.floor(c),u=Math.floor(u)),i.cssMode?a[n.isHorizontal()?"scrollLeft":"scrollTop"]=n.isHorizontal()?-c:-u:i.virtualTranslate||o.transform(`translate3d(${c}px, ${u}px, 0px)`),n.previousTranslate=n.translate,n.translate=n.isHorizontal()?c:u;const d=n.maxTranslate()-n.minTranslate();l=0===d?0:(e-n.minTranslate())/d,l!==s&&n.updateProgress(e),n.emit("setTranslate",n.translate,t)},minTranslate:function(){return-this.snapGrid[0]},maxTranslate:function(){return-this.snapGrid[this.snapGrid.length-1]},translateTo:function(e=0,t=this.params.speed,n=!0,r=!0,i){const o=this,{params:a,wrapperEl:s}=o;if(o.animating&&a.preventInteractionOnTransition)return!1;const l=o.minTranslate(),c=o.maxTranslate();let u;if(u=r&&e>l?l:r&&e<c?c:e,o.updateProgress(u),a.cssMode){const e=o.isHorizontal();if(0===t)s[e?"scrollLeft":"scrollTop"]=-u;else{if(!o.support.smoothScroll)return ut({swiper:o,targetPosition:-u,side:e?"left":"top"}),!0;s.scrollTo({[e?"left":"top"]:-u,behavior:"smooth"})}return!0}return 0===t?(o.setTransition(0),o.setTranslate(u),n&&(o.emit("beforeTransitionStart",t,i),o.emit("transitionEnd"))):(o.setTransition(t),o.setTranslate(u),n&&(o.emit("beforeTransitionStart",t,i),o.emit("transitionStart")),o.animating||(o.animating=!0,o.onTranslateToWrapperTransitionEnd||(o.onTranslateToWrapperTransitionEnd=function(e){o&&!o.destroyed&&e.target===this&&(o.$wrapperEl[0].removeEventListener("transitionend",o.onTranslateToWrapperTransitionEnd),o.$wrapperEl[0].removeEventListener("webkitTransitionEnd",o.onTranslateToWrapperTransitionEnd),o.onTranslateToWrapperTransitionEnd=null,delete o.onTranslateToWrapperTransitionEnd,n&&o.emit("transitionEnd"))}),o.$wrapperEl[0].addEventListener("transitionend",o.onTranslateToWrapperTransitionEnd),o.$wrapperEl[0].addEventListener("webkitTransitionEnd",o.onTranslateToWrapperTransitionEnd))),!0}};function bt({swiper:e,runCallbacks:t,direction:n,step:r}){const{activeIndex:i,previousIndex:o}=e;let a=n;if(a||(a=i>o?"next":i<o?"prev":"reset"),e.emit(`transition${r}`),t&&i!==o){if("reset"===a)return void e.emit(`slideResetTransition${r}`);e.emit(`slideChangeTransition${r}`),"next"===a?e.emit(`slideNextTransition${r}`):e.emit(`slidePrevTransition${r}`)}}var Ct={slideTo:function(e=0,t=this.params.speed,n=!0,r,i){if("number"!=typeof e&&"string"!=typeof e)throw new Error(`The 'index' argument cannot have type other than 'number' or 'string'. [${typeof e}] given.`);if("string"==typeof e){const t=parseInt(e,10);if(!isFinite(t))throw new Error(`The passed-in 'index' (string) couldn't be converted to 'number'. [${e}] given.`);e=t}const o=this;let a=e;a<0&&(a=0);const{params:s,snapGrid:l,slidesGrid:c,previousIndex:u,activeIndex:d,rtlTranslate:h,wrapperEl:f,enabled:p}=o;if(o.animating&&s.preventInteractionOnTransition||!p&&!r&&!i)return!1;const g=Math.min(o.params.slidesPerGroupSkip,a);let m=g+Math.floor((a-g)/o.params.slidesPerGroup);m>=l.length&&(m=l.length-1);const y=-l[m];if(s.normalizeSlideIndex)for(let e=0;e<c.length;e+=1){const t=-Math.floor(100*y),n=Math.floor(100*c[e]),r=Math.floor(100*c[e+1]);void 0!==c[e+1]?t>=n&&t<r-(r-n)/2?a=e:t>=n&&t<r&&(a=e+1):t>=n&&(a=e)}if(o.initialized&&a!==d){if(!o.allowSlideNext&&y<o.translate&&y<o.minTranslate())return!1;if(!o.allowSlidePrev&&y>o.translate&&y>o.maxTranslate()&&(d||0)!==a)return!1}let v;if(a!==(u||0)&&n&&o.emit("beforeSlideChangeStart"),o.updateProgress(y),v=a>d?"next":a<d?"prev":"reset",h&&-y===o.translate||!h&&y===o.translate)return o.updateActiveIndex(a),s.autoHeight&&o.updateAutoHeight(),o.updateSlidesClasses(),"slide"!==s.effect&&o.setTranslate(y),"reset"!==v&&(o.transitionStart(n,v),o.transitionEnd(n,v)),!1;if(s.cssMode){const e=o.isHorizontal(),n=h?y:-y;if(0===t){const t=o.virtual&&o.params.virtual.enabled;t&&(o.wrapperEl.style.scrollSnapType="none",o._immediateVirtual=!0),f[e?"scrollLeft":"scrollTop"]=n,t&&requestAnimationFrame((()=>{o.wrapperEl.style.scrollSnapType="",o._swiperImmediateVirtual=!1}))}else{if(!o.support.smoothScroll)return ut({swiper:o,targetPosition:n,side:e?"left"
2:"top"}),!0;f.scrollTo({[e?"left":"top"]:n,behavior:"smooth"})}return!0}return o.setTransition(t),o.setTranslate(y),o.updateActiveIndex(a),o.updateSlidesClasses(),o.emit("beforeTransitionStart",t,r),o.transitionStart(n,v),0===t?o.transitionEnd(n,v):o.animating||(o.animating=!0,o.onSlideToWrapperTransitionEnd||(o.onSlideToWrapperTransitionEnd=function(e){o&&!o.destroyed&&e.target===this&&(o.$wrapperEl[0].removeEventListener("transitionend",o.onSlideToWrapperTransitionEnd),o.$wrapperEl[0].removeEventListener("webkitTransitionEnd",o.onSlideToWrapperTransitionEnd),o.onSlideToWrapperTransitionEnd=null,delete o.onSlideToWrapperTransitionEnd,o.transitionEnd(n,v))}),o.$wrapperEl[0].addEventListener("transitionend",o.onSlideToWrapperTransitionEnd),o.$wrapperEl[0].addEventListener("webkitTransitionEnd",o.onSlideToWrapperTransitionEnd)),!0},slideToLoop:function(e=0,t=this.params.speed,n=!0,r){if("string"==typeof e){const t=parseInt(e,10);if(!isFinite(t))throw new Error(`The passed-in 'index' (string) couldn't be converted to 'number'. [${e}] given.`);e=t}const i=this;let o=e;return i.params.loop&&(o+=i.loopedSlides),i.slideTo(o,t,n,r)},slideNext:function(e=this.params.speed,t=!0,n){const r=this,{animating:i,enabled:o,params:a}=r;if(!o)return r;let s=a.slidesPerGroup;"auto"===a.slidesPerView&&1===a.slidesPerGroup&&a.slidesPerGroupAuto&&(s=Math.max(r.slidesPerViewDynamic("current",!0),1));const l=r.activeIndex<a.slidesPerGroupSkip?1:s;if(a.loop){if(i&&a.loopPreventsSlide)return!1;r.loopFix(),r._clientLeft=r.$wrapperEl[0].clientLeft}return a.rewind&&r.isEnd?r.slideTo(0,e,t,n):r.slideTo(r.activeIndex+l,e,t,n)},slidePrev:function(e=this.params.speed,t=!0,n){const r=this,{params:i,animating:o,snapGrid:a,slidesGrid:s,rtlTranslate:l,enabled:c}=r;if(!c)return r;if(i.loop){if(o&&i.loopPreventsSlide)return!1;r.loopFix(),r._clientLeft=r.$wrapperEl[0].clientLeft}function u(e){return e<0?-Math.floor(Math.abs(e)):Math.floor(e)}const d=u(l?r.translate:-r.translate),h=a.map((e=>u(e)));let f=a[h.indexOf(d)-1];if(void 0===f&&i.cssMode){let e;a.forEach(((t,n)=>{d>=t&&(e=n)})),void 0!==e&&(f=a[e>0?e-1:e])}let p=0;if(void 0!==f&&(p=s.indexOf(f),p<0&&(p=r.activeIndex-1),"auto"===i.slidesPerView&&1===i.slidesPerGroup&&i.slidesPerGroupAuto&&(p=p-r.slidesPerViewDynamic("previous",!0)+1,p=Math.max(p,0))),i.rewind&&r.isBeginning){const i=r.params.virtual&&r.params.virtual.enabled&&r.virtual?r.virtual.slides.length-1:r.slides.length-1;return r.slideTo(i,e,t,n)}return r.slideTo(p,e,t,n)},slideReset:function(e=this.params.speed,t=!0,n){return this.slideTo(this.activeIndex,e,t,n)},slideToClosest:function(e=this.params.speed,t=!0,n,r=.5){const i=this;let o=i.activeIndex;const a=Math.min(i.params.slidesPerGroupSkip,o),s=a+Math.floor((o-a)/i.params.slidesPerGroup),l=i.rtlTranslate?i.translate:-i.translate;if(l>=i.snapGrid[s]){const e=i.snapGrid[s];l-e>(i.snapGrid[s+1]-e)*r&&(o+=i.params.slidesPerGroup)}else{const e=i.snapGrid[s-1];l-e<=(i.snapGrid[s]-e)*r&&(o-=i.params.slidesPerGroup)}return o=Math.max(o,0),o=Math.min(o,i.slidesGrid.length-1),i.slideTo(o,e,t,n)},slideToClickedSlide:function(){const e=this,{params:t,$wrapperEl:n}=e,r="auto"===t.slidesPerView?e.slidesPerViewDynamic():t.slidesPerView;let i,o=e.clickedIndex;if(t.loop){if(e.animating)return;i=parseInt(rt(e.clickedSlide).attr("data-swiper-slide-index"),10),t.centeredSlides?o<e.loopedSlides-r/2||o>e.slides.length-e.loopedSlides+r/2?(e.loopFix(),o=n.children(`.${t.slideClass}[data-swiper-slide-index="${i}"]:not(.${t.slideDuplicateClass})`).eq(0).index(),it((()=>{e.slideTo(o)}))):e.slideTo(o):o>e.slides.length-r?(e.loopFix(),o=n.children(`.${t.slideClass}[data-swiper-slide-index="${i}"]:not(.${t.slideDuplicateClass})`).eq(0).index(),it((()=>{e.slideTo(o)}))):e.slideTo(o)}else e.slideTo(o)}};var St={loopCreate:function(){const e=this,t=qe(),{params:n,$wrapperEl:r}=e,i=r.children().length>0?rt(r.children()[0].parentNode):r;i.children(`.${n.slideClass}.${n.slideDuplicateClass}`).remove();let o=i.children(`.${n.slideClass}`);if(n.loopFillGroupWithBlank){const e=n.slidesPerGroup-o.length%n.slidesPerGroup;if(e!==n.slidesPerGroup){for(let r=0;r<e;r+=1){const e=rt(t.createElement("div")).addClass(`${n.slideClass} ${n.slideBlankClass}`);i.append(e)}o=i.children(`.${n.slideClass}`)}}"auto"!==n.slidesPerView||n.loopedSlides||(n.loopedSlides=o.length),e.loopedSlides=Math.ceil(parseFloat(n.loopedSlides||n.slidesPerView,10)),e.loopedSlides+=n.loopAdditionalSlides,e.loopedSlides>o.length&&e.params.loopedSlidesLimit&&(e.loopedSlides=o.length);const a=[],s=[];o.each(((e,t)=>{rt(e).attr("data-swiper-slide-index",t)}));for(let t=0;t<e.loopedSlides;t+=1){const e=t-Math.floor(t/o.length)*o.length;s.push(o.eq(e)[0]),a.unshift(o.eq(o.length-e-1)[0])}for(let e=0;e<s.length;e+=1)i.append(rt(s[e].cloneNode(!0)).addClass(n.slideDuplicateClass));for(let e=a.length-1;e>=0;e-=1)i.prepend(rt(a[e].cloneNode(!0)).addClass(n.slideDuplicateClass))},loopFix:function(){const e=this;e.emit("beforeLoopFix");const{activeIndex:t,slides:n,loopedSlides:r,allowSlidePrev:i,allowSlideNext:o,snapGrid:a,rtlTranslate:s}=e;let l;e.allowSlidePrev=!0,e.allowSlideNext=!0;const c=-a[t]-e.getTranslate();if(t<r){l=n.length-3*r+t,l+=r;e.slideTo(l,0,!1,!0)&&0!==c&&e.setTranslate((s?-e.translate:e.translate)-c)}else if(t>=n.length-r){l=-n.length+t+r,l+=r;e.slideTo(l,0,!1,!0)&&0!==c&&e.setTranslate((s?-e.translate:e.translate)-c)}e.allowSlidePrev=i,e.allowSlideNext=o,e.emit("loopFix")},loopDestroy:function(){const{$wrapperEl:e,params:t,slides:n}=this;e.children(`.${t.slideClass}.${t.slideDuplicateClass},.${t.slideClass}.${t.slideBlankClass}`).remove(),n.removeAttr("data-swiper-slide-index")}};function At(e){const t=this,n=qe(),r=Xe(),i=t.touchEventsData,{params:o,touches:a,enabled:s}=t;if(!s)return;if(t.animating&&o.preventInteractionOnTransition)return;!t.animating&&o.cssMode&&o.loop&&t.loopFix();let l=e;l.originalEvent&&(l=l.originalEvent);let c=rt(l.target);if("wrapper"===o.touchEventsTarget&&!c.closest(t.wrapperEl).length)return;if(i.isTouchEvent="touchstart"===l.type,!i.isTouchEvent&&"which"in l&&3===l.which)return;if(!i.isTouchEvent&&"button"in l&&l.button>0)return;if(i.isTouched&&i.isMoved)return;const u=!!o.noSwipingClass&&""!==o.noSwipingClass,d=e.composedPath?e.composedPath():e.path;u&&l.target&&l.target.shadowRoot&&d&&(c=rt(d[0]));const h=o.noSwipingSelector?o.noSwipingSelector:`.${o.noSwipingClass}`,f=!(!l.target||!l.target.shadowRoot);if(o.noSwiping&&(f?function(e,t=this){return function t(n){if(!n||n===qe()||n===Xe())return null;n.assignedSlot&&(n=n.assignedSlot);const r=n.closest(e);return r||n.getRootNode?r||t(n.getRootNode().host):null}(t)}(h,c[0]):c.closest(h)[0]))return void(t.allowClick=!0);if(o.swipeHandler&&!c.closest(o.swipeHandler)[0])return;a.currentX="touchstart"===l.type?l.targetTouches[0].pageX:l.pageX,a.currentY="touchstart"===l.type?l.targetTouches[0].pageY:l.pageY;const p=a.currentX,g=a.currentY,m=o.edgeSwipeDetection||o.iOSEdgeSwipeDetection,y=o.edgeSwipeThreshold||o.iOSEdgeSwipeThreshold;if(m&&(p<=y||p>=r.innerWidth-y)){if("prevent"!==m)return;e.preventDefault()}if(Object.assign(i,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),a.startX=p,a.startY=g,i.touchStartTime=ot(),t.allowClick=!0,t.updateSize(),t.swipeDirection=void 0,o.threshold>0&&(i.allowThresholdMove=!1),"touchstart"!==l.type){let e=!0;c.is(i.focusableElements)&&(e=!1,"SELECT"===c[0].nodeName&&(i.isTouched=!1)),n.activeElement&&rt(n.activeElement).is(i.focusableElements)&&n.activeElement!==c[0]&&n.activeElement.blur();const r=e&&t.allowTouchMove&&o.touchStartPreventDefault;!o.touchStartForcePreventDefault&&!r||c[0].isContentEditable||l.preventDefault()}t.params.freeMode&&t.params.freeMode.enabled&&t.freeMode&&t.animating&&!o.cssMode&&t.freeMode.onTouchStart(),t.emit("touchStart",l)}function _t(e){const t=qe(),n=this,r=n.touchEventsData,{params:i,touches:o,rtlTranslate:a,enabled:s}=n;if(!s)return;let l=e;if(l.originalEvent&&(l=l.originalEvent),!r.isTouched)return void(r.startMoving&&r.isScrolling&&n.emit("touchMoveOpposite",l));if(r.isTouchEvent&&"touchmove"!==l.type)return;const c="touchmove"===l.type&&l.targetTouches&&(l.targetTouches[0]||l.changedTouches[0]),u="touchmove"===l.type?c.pageX:l.pageX,d="touchmove"===l.type?c.pageY:l.pageY;if(l.preventedByNestedSwiper)return o.startX=u,void(o.startY=d);if(!n.allowTouchMove)return rt(l.target).is(r.focusableElements)||(n.allowClick=!1),void(r.isTouched&&(Object.assign(o,{startX:u,startY:d,currentX:u,currentY:d}),r.touchStartTime=ot()));if(r.isTouchEvent&&i.touchReleaseOnEdges&&!i.loop)if(n.isVertical()){if(d<o.startY&&n.translate<=n.maxTranslate()||d>o.startY&&n.translate>=n.minTranslate())return r.isTouched=!1,void(r.isMoved=!1)}else if(u<o.startX&&n.translate<=n.maxTranslate()||u>o.startX&&n.translate>=n.minTranslate())return;if(r.isTouchEvent&&t.activeElement&&l.target===t.activeElement&&rt(l.target).is(r.focusableElements))return r.isMoved=!0,void(n.allowClick=!1);if(r.allowTouchCallbacks&&n.emit("touchMove",l),l.targetTouches&&l.targetTouches.length>1)return;o.currentX=u,o.currentY=d;const h=o.currentX-o.startX,f=o.currentY-o.startY;if(n.params.threshold&&Math.sqrt(h**2+f**2)<n.params.threshold)return;if(void 0===r.isScrolling){let e;n.isHorizontal()&&o.currentY===o.startY||n.isVertical()&&o.currentX===o.startX?r.isScrolling=!1:h*h+f*f>=25&&(e=180*Math.atan2(Math.abs(f),Math.abs(h))/Math.PI,r.isScrolling=n.isHorizontal()?e>i.touchAngle:90-e>i.touchAngle)}if(r.isScrolling&&n.emit("touchMoveOpposite",l),void 0===r.startMoving&&(o.currentX===o.startX&&o.currentY===o.startY||(r.startMoving=!0)),r.isScrolling)return void(r.isTouched=!1);if(!r.startMoving)return;n.allowClick=!1,!i.cssMode&&l.cancelable&&l.preventDefault(),i.touchMoveStopPropagation&&!i.nested&&l.stopPropagation(),r.isMoved||(i.loop&&!i.cssMode&&n.loopFix(),r.startTranslate=n.getTranslate(),n.setTransition(0),n.animating&&n.$wrapperEl.trigger("webkitTransitionEnd transitionend"),r.allowMomentumBounce
2=!1,!i.grabCursor||!0!==n.allowSlideNext&&!0!==n.allowSlidePrev||n.setGrabCursor(!0),n.emit("sliderFirstMove",l)),n.emit("sliderMove",l),r.isMoved=!0;let p=n.isHorizontal()?h:f;o.diff=p,p*=i.touchRatio,a&&(p=-p),n.swipeDirection=p>0?"prev":"next",r.currentTranslate=p+r.startTranslate;let g=!0,m=i.resistanceRatio;if(i.touchReleaseOnEdges&&(m=0),p>0&&r.currentTranslate>n.minTranslate()?(g=!1,i.resistance&&(r.currentTranslate=n.minTranslate()-1+(-n.minTranslate()+r.startTranslate+p)**m)):p<0&&r.currentTranslate<n.maxTranslate()&&(g=!1,i.resistance&&(r.currentTranslate=n.maxTranslate()+1-(n.maxTranslate()-r.startTranslate-p)**m)),g&&(l.preventedByNestedSwiper=!0),!n.allowSlideNext&&"next"===n.swipeDirection&&r.currentTranslate<r.startTranslate&&(r.currentTranslate=r.startTranslate),!n.allowSlidePrev&&"prev"===n.swipeDirection&&r.currentTranslate>r.startTranslate&&(r.currentTranslate=r.startTranslate),n.allowSlidePrev||n.allowSlideNext||(r.currentTranslate=r.startTranslate),i.threshold>0){if(!(Math.abs(p)>i.threshold||r.allowThresholdMove))return void(r.currentTranslate=r.startTranslate);
2if(!r.allowThresholdMove)return r.allowThresholdMove=!0,o.startX=o.currentX,o.startY=o.currentY,r.currentTranslate=r.startTranslate,void(o.diff=n.isHorizontal()?o.currentX-o.startX:o.currentY-o.startY)}i.followFinger&&!i.cssMode&&((i.freeMode&&i.freeMode.enabled&&n.freeMode||i.watchSlidesProgress)&&(n.updateActiveIndex(),n.updateSlidesClasses()),n.params.freeMode&&i.freeMode.enabled&&n.freeMode&&n.freeMode.onTouchMove(),n.updateProgress(r.currentTranslate),n.setTranslate(r.currentTranslate))}function Tt(e){const t=this,n=t.touchEventsData,{params:r,touches:i,rtlTranslate:o,slidesGrid:a,enabled:s}=t;if(!s)return;let l=e;if(l.originalEvent&&(l=l.originalEvent),n.allowTouchCallbacks&&t.emit("touchEnd",l),n.allowTouchCallbacks=!1,!n.isTouched)return n.isMoved&&r.grabCursor&&t.setGrabCursor(!1),n.isMoved=!1,void(n.startMoving=!1);r.grabCursor&&n.isMoved&&n.isTouched&&(!0===t.allowSlideNext||!0===t.allowSlidePrev)&&t.setGrabCursor(!1);const c=ot(),u=c-n.touchStartTime;if(t.allowClick){const e=l.path||l.composedPath&&l.composedPath();t.updateClickedSlide(e&&e[0]||l.target),t.emit("tap click",l),u<300&&c-n.lastClickTime<300&&t.emit("doubleTap doubleClick",l)}if(n.lastClickTime=ot(),it((()=>{t.destroyed||(t.allowClick=!0)})),!n.isTouched||!n.isMoved||!t.swipeDirection||0===i.diff||n.currentTranslate===n.startTranslate)return n.isTouched=!1,n.isMoved=!1,void(n.startMoving=!1);let d;if(n.isTouched=!1,n.isMoved=!1,n.startMoving=!1,d=r.followFinger?o?t.translate:-t.translate:-n.currentTranslate,r.cssMode)return;if(t.params.freeMode&&r.freeMode.enabled)return void t.freeMode.onTouchEnd({currentPos:d});let h=0,f=t.slidesSizesGrid[0];for(let e=0;e<a.length;e+=e<r.slidesPerGroupSkip?1:r.slidesPerGroup){const t=e<r.slidesPerGroupSkip-1?1:r.slidesPerGroup;void 0!==a[e+t]?d>=a[e]&&d<a[e+t]&&(h=e,f=a[e+t]-a[e]):d>=a[e]&&(h=e,f=a[a.length-1]-a[a.length-2])}let p=null,g=null;r.rewind&&(t.isBeginning?g=t.params.virtual&&t.params.virtual.enabled&&t.virtual?t.virtual.slides.length-1:t.slides.length-1:t.isEnd&&(p=0));const m=(d-a[h])/f,y=h<r.slidesPerGroupSkip-1?1:r.slidesPerGroup;if(u>r.longSwipesMs){if(!r.longSwipes)return void t.slideTo(t.activeIndex);"next"===t.swipeDirection&&(m>=r.longSwipesRatio?t.slideTo(r.rewind&&t.isEnd?p:h+y):t.slideTo(h)),"prev"===t.swipeDirection&&(m>1-r.longSwipesRatio?t.slideTo(h+y):null!==g&&m<0&&Math.abs(m)>r.longSwipesRatio?t.slideTo(g):t.slideTo(h))}else{if(!r.shortSwipes)return void t.slideTo(t.activeIndex);t.navigation&&(l.target===t.navigation.nextEl||l.target===t.navigation.prevEl)?l.target===t.navigation.nextEl?t.slideTo(h+y):t.slideTo(h):("next"===t.swipeDirection&&t.slideTo(null!==p?p:h+y),"prev"===t.swipeDirection&&t.slideTo(null!==g?g:h))}}function Et(){const e=this,{params:t,el:n}=e;if(n&&0===n.offsetWidth)return;t.breakpoints&&e.setBreakpoint();const{allowSlideNext:r,allowSlidePrev:i,snapGrid:o}=e;e.allowSlideNext=!0,e.allowSlidePrev=!0,e.updateSize(),e.updateSlides(),e.updateSlidesClasses(),("auto"===t.slidesPerView||t.slidesPerView>1)&&e.isEnd&&!e.isBeginning&&!e.params.centeredSlides?e.slideTo(e.slides.length-1,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0),e.autoplay&&e.autoplay.running&&e.autoplay.paused&&e.autoplay.run(),e.allowSlidePrev=i,e.allowSlideNext=r,e.params.watchOverflow&&o!==e.snapGrid&&e.checkOverflow()}function xt(e){const t=this;t.enabled&&(t.allowClick||(t.params.preventClicks&&e.preventDefault(),t.params.preventClicksPropagation&&t.animating&&(e.stopPropagation(),e.stopImmediatePropagation())))}function It(){const e=this,{wrapperEl:t,rtlTranslate:n,enabled:r}=e;if(!r)return;let i;e.previousTranslate=e.translate,e.isHorizontal()?e.translate=-t.scrollLeft:e.translate=-t.scrollTop,0===e.translate&&(e.translate=0),e.updateActiveIndex(),e.updateSlidesClasses();const o=e.maxTranslate()-e.minTranslate();i=0===o?0:(e.translate-e.minTranslate())/o,i!==e.progress&&e.updateProgress(n?-e.translate:e.translate),e.emit("setTranslate",e.translate,!1)}let Ot=!1;function Mt(){}const Dt=(e,t)=>{const n=qe(),{params:r,touchEvents:i,el:o,wrapperEl:a,device:s,support:l}=e,c=!!r.nested,u="on"===t?"addEventListener":"removeEventListener",d=t;if(l.touch){const t=!("touchstart"!==i.start||!l.passiveListener||!r.passiveListeners)&&{passive:!0,capture:!1};o[u](i.start,e.onTouchStart,t),o[u](i.move,e.onTouchMove,l.passiveListener?{passive:!1,capture:c}
2:c),o[u](i.end,e.onTouchEnd,t),i.cancel&&o[u](i.cancel,e.onTouchEnd,t)}else o[u](i.start,e.onTouchStart,!1),n[u](i.move,e.onTouchMove,c),n[u](i.end,e.onTouchEnd,!1);(r.preventClicks||r.preventClicksPropagation)&&o[u]("click",e.onClick,!0),r.cssMode&&a[u]("scroll",e.onScroll),r.updateOnWindowResize?e[d](s.ios||s.android?"resize orientationchange observerUpdate":"resize observerUpdate",Et,!0):e[d]("observerUpdate",Et,!0)};var kt={attachEvents:function(){const e=this,t=qe(),{params:n,support:r}=e;e.onTouchStart=At.bind(e),e.onTouchMove=_t.bind(e),e.onTouchEnd=Tt.bind(e),n.cssMode&&(e.onScroll=It.bind(e)),e.onClick=xt.bind(e),r.touch&&!Ot&&(t.addEventListener("touchstart",Mt),Ot=!0),Dt(e,"on")},detachEvents:function(){Dt(this,"off")}};const Nt=(e,t)=>e.grid&&t.grid&&t.grid.rows>1;var Pt={setBreakpoint:function(){const e=this,{activeIndex:t,initialized:n,loopedSlides:r=0,params:i,$el:o}=e,a=i.breakpoints;if(!a||a&&0===Object.keys(a).length)return;const s=e.getBreakpoint(a,e.params.breakpointsBase,e.el);if(!s||e.currentBreakpoint===s)return;const l=(s in a?a[s]:void 0)||e.originalParams,c=Nt(e,i),u=Nt(e,l),d=i.enabled;c&&!u?(o.removeClass(`${i.containerModifierClass}grid ${i.containerModifierClass}grid-column`),e.emitContainerClasses()):!c&&u&&(o.addClass(`${i.containerModifierClass}grid`),(l.grid.fill&&"column"===l.grid.fill||!l.grid.fill&&"column"===i.grid.fill)&&o.addClass(`${i.containerModifierClass}grid-column`),e.emitContainerClasses()),["navigation","pagination","scrollbar"].forEach((t=>{const n=i[t]&&i[t].enabled,r=l[t]&&l[t].enabled;n&&!r&&e[t].disable(),!n&&r&&e[t].enable()}));const h=l.direction&&l.direction!==i.direction,f=i.loop&&(l.slidesPerView!==i.slidesPerView||h);h&&n&&e.changeDirection(),lt(e.params,l);const p=e.params.enabled;Object.assign(e,{allowTouchMove:e.params.allowTouchMove,allowSlideNext:e.params.allowSlideNext,allowSlidePrev:e.params.allowSlidePrev}),d&&!p?e.disable():!d&&p&&e.enable(),e.currentBreakpoint=s,e.emit("_beforeBreakpoint",l),f&&n&&(e.loopDestroy(),e.loopCreate(),e.updateSlides(),e.slideTo(t-r+e.loopedSlides,0,!1)),e.emit("breakpoint",l)},getBreakpoint:function(e,t="window",n){if(!e||"container"===t&&!n)return;let r=!1;const i=Xe(),o="window"===t?i.innerHeight:n.clientHeight,a=Object.keys(e).map((e=>{if("string"==typeof e&&0===e.indexOf("@")){const t=parseFloat(e.substr(1));return{value:o*t,point:e}}return{value:e,point:e}}));a.sort(((e,t)=>parseInt(e.value,10)-parseInt(t.value,10)));for(let e=0;e<a.length;e+=1){const{point:o,value:s}=a[e];"window"===t?i.matchMedia(`(min-width: ${s}px)`).matches&&(r=o):s<=n.clientWidth&&(r=o)}return r||"max"}};var Rt={addClasses:function(){const e=this,{classNames:t,params:n,rtl:r,$el:i,device:o,support:a}=e,s=function(e,t){const n=[];return e.forEach((e=>{"object"==typeof e?Object.keys(e).forEach((r=>{e[r]&&n.push(t+r)})):"string"==typeof e&&n.push(t+e)})),n}(["initialized",n.direction,{"pointer-events":!a.touch},{"free-mode":e.params.freeMode&&n.freeMode.enabled},{autoheight:n.autoHeight},{rtl:r},{grid:n.grid&&n.grid.rows>1},{"grid-column":n.grid&&n.grid.rows>1&&"column"===n.grid.fill},{android:o.android},{ios:o.ios},{"css-mode":n.cssMode},{centered:n.cssMode&&n.centeredSlides},{"watch-progress":n.watchSlidesProgress}],n.containerModifierClass);t.push(...s),i.addClass([...t].join(" ")),e.emitContainerClasses()},removeClasses:function(){const{$el:e,classNames:t}=this;e.removeClass(t.join(" ")),this.emitContainerClasses()}};var Lt={init:!0,direction:"horizontal",touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,enabled:!0,focusableElements:"input, select, option, textarea, button, video, label",width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",spaceBetween:0,slidesPerView:1,slidesPerGroup:1,slidesPerGroupSkip:0,slidesPerGroupAuto:!1,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:0,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,preloadImages:!0,updateOnImagesReady:!0,loop:!1,loopAdditionalSlides:0,loopedSlides:null,loopedSlidesLimit:!0,loopFillGroupWithBlank:!1,loopPreventsSlide:!0,rewind:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,maxBackfaceHiddenSlides:10,containerModifierClass:"swiper-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-invisible-blank",slideActiveClass:"swiper-slide-active",slideDuplicateActiveClass:"swiper-slide-duplicate-active",slideVisibleClass:"swiper-slide-visible",slideDuplicateClass:"swiper-slide-duplicate",slideNextClass:"swiper-slide-next",slideDuplicateNextClass:"swiper-slide-duplicate-next",slidePrevClass:"swiper-slide-prev",slideDuplicatePrevClass:"swiper-slide-duplicate-prev",wrapperClass:"swiper-wrapper",runCallbacksOnInit:!0,_emitClasses:!1};function $t(e,t){return function(n={}){const r=Object.keys(n)[0],i=n[r];"object"==typeof i&&null!==i?(["navigation","pagination","scrollbar"].indexOf(r)>=0&&!0===e[r]&&(e[r]={auto:!0}),r in e&&"enabled"in i?(!0===e[r]&&(e[r]={enabled:!0}),"object"!=typeof e[r]||"enabled"in e[r]||(e[r].enabled=!0),e[r]||(e[r]={enabled:!1}),lt(t,n)):lt(t,n)):lt(t,n)}}const jt={eventsEmitter:yt,update:vt,translate:wt,transition:{setTransition:function(e,t){const n=this;n.params.cssMode||n.$wrapperEl.transition(e),n.emit("setTransition",e,t)},transitionStart:function(e=!0,t){const n=this,{params:r}=n;r.cssMode||(r.autoHeight&&n.updateAutoHeight(),bt({swiper:n,runCallbacks:e,direction:t,step:"Start"}))},transitionEnd:function(e=!0,t){const n=this,{params:r}=n;n.animating=!1,r.cssMode||(n.setTransition(0),bt({swiper:n,runCallbacks:e,direction:t,step:"End"}))}},slide:Ct,loop:St,grabCursor:{setGrabCursor:function(e){const t=this;
2if(t.support.touch||!t.params.simulateTouch||t.params.watchOverflow&&t.isLocked||t.params.cssMode)return;const n="container"===t.params.touchEventsTarget?t.el:t.wrapperEl;n.style.cursor="move",n.style.cursor=e?"grabbing":"grab"},unsetGrabCursor:function(){const e=this;e.support.touch||e.params.watchOverflow&&e.isLocked||e.params.cssMode||(e["container"===e.params.touchEventsTarget?"el":"wrapperEl"].style.cursor="")}},events:kt,breakpoints:Pt,checkOverflow:{checkOverflow:function(){const e=this,{isLocked:t,params:n}=e,{slidesOffsetBefore:r}=n;if(r){const t=e.slides.length-1,n=e.slidesGrid[t]+e.slidesSizesGrid[t]+2*r;e.isLocked=e.size>n}else e.isLocked=1===e.snapGrid.length;!0===n.allowSlideNext&&(e.allowSlideNext=!e.isLocked),!0===n.allowSlidePrev&&(e.allowSlidePrev=!e.isLocked),t&&t!==e.isLocked&&(e.isEnd=!1),t!==e.isLocked&&e.emit(e.isLocked?"lock":"unlock")}},classes:Rt,images:{loadImage:function(e,t,n,r,i,o){const a=Xe();let s;function l(){o&&o()}rt(e).parent("picture")[0]||e.complete&&i?l():t?(s=new a.Image,s.onload=l,s.onerror=l,r&&(s.sizes=r),n&&(s.srcset=n),t&&(s.src=t)):l()},preloadImages:function(){const e=this;function t(){null!=e&&e&&!e.destroyed&&(void 0!==e.imagesLoaded&&(e.imagesLoaded+=1),e.imagesLoaded===e.imagesToLoad.length&&(e.params.updateOnImagesReady&&e.update(),e.emit("imagesReady")))}e.imagesToLoad=e.$el.find("img");for(let n=0;n<e.imagesToLoad.length;n+=1){const r=e.imagesToLoad[n];e.loadImage(r,r.currentSrc||r.getAttribute("src"),r.srcset||r.getAttribute("srcset"),r.sizes||r.getAttribute("sizes"),!0,t)}}}},Bt={};class Ft{constructor(...e){let t,n;if(1===e.length&&e[0].constructor&&"Object"===Object.prototype.toString.call(e[0]).slice(8,-1)?n=e[0]:[t,n]=e,n||(n={}),n=lt({},n),t&&!n.el&&(n.el=t),n.el&&rt(n.el).length>1){const e=[];return rt(n.el).each((t=>{const r=lt({},n,{el:t});e.push(new Ft(r))})),e}const r=this;r.__swiper__=!0,r.support=pt(),r.device=gt({userAgent:n.userAgent}),r.browser=mt(),r.eventsListeners={},r.eventsAnyListeners=[],r.modules=[...r.__modules__],n.modules&&Array.isArray(n.modules)&&r.modules.push(...n.modules);const i={};r.modules.forEach((e=>{e({swiper:r,extendParams:$t(n,i),on:r.on.bind(r),once:r.once.bind(r),off:r.off.bind(r),emit:r.emit.bind(r)})}));const o=lt({},Lt,i);return r.params=lt({},o,Bt,n),r.originalParams=lt({},r.params),r.passedParams=lt({}
2,n),r.params&&r.params.on&&Object.keys(r.params.on).forEach((e=>{r.on(e,r.params.on[e])})),r.params&&r.params.onAny&&r.onAny(r.params.onAny),r.$=rt,Object.assign(r,{enabled:r.params.enabled,el:t,classNames:[],slides:rt(),slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal(){return"horizontal"===r.params.direction},isVertical(){return"vertical"===r.params.direction},activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,allowSlideNext:r.params.allowSlideNext,allowSlidePrev:r.params.allowSlidePrev,touchEvents:function(){const e=["touchstart","touchmove","touchend","touchcancel"],t=["pointerdown","pointermove","pointerup"];return r.touchEventsTouch={start:e[0],move:e[1],end:e[2],cancel:e[3]},r.touchEventsDesktop={start:t[0],move:t[1],end:t[2]},r.support.touch||!r.params.simulateTouch?r.touchEventsTouch:r.touchEventsDesktop}(),touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,focusableElements:r.params.focusableElements,lastClickTime:ot(),clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,isTouchEvent:void 0,startMoving:void 0},allowClick:!0,allowTouchMove:r.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),r.emit("_swiper"),r.params.init&&r.init(),r}enable(){const e=this;e.enabled||(e.enabled=!0,e.params.grabCursor&&e.setGrabCursor(),e.emit("enable"))}disable(){const e=this;e.enabled&&(e.enabled=!1,e.params.grabCursor&&e.unsetGrabCursor(),e.emit("disable"))}setProgress(e,t){const n=this;e=Math.min(Math.max(e,0),1);const r=n.minTranslate(),i=(n.maxTranslate()-r)*e+r;n.translateTo(i,void 0===t?0:t),n.updateActiveIndex(),n.updateSlidesClasses()}emitContainerClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const t=e.el.className.split(" ").filter((t=>0===t.indexOf("swiper")||0===t.indexOf(e.params.containerModifierClass)));e.emit("_containerClasses",t.join(" "))}getSlideClasses(e){const t=this;return t.destroyed?"":e.className.split(" ").filter((e=>0===e.indexOf("swiper-slide")||0===e.indexOf(t.params.slideClass))).join(" ")}emitSlidesClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const t=[];e.slides.each((n=>{const r=e.getSlideClasses(n);t.push({slideEl:n,classNames:r}),e.emit("_slideClass",n,r)})),e.emit("_slideClasses",t)}slidesPerViewDynamic(e="current",t=!1){const{params:n,slides:r,slidesGrid:i,slidesSizesGrid:o,size:a,activeIndex:s}=this;let l=1;if(n.centeredSlides){let e,t=r[s].swiperSlideSize;for(let n=s+1;n<r.length;n+=1)r[n]&&!e&&(t+=r[n].swiperSlideSize,l+=1,t>a&&(e=!0));for(let n=s-1;n>=0;n-=1)r[n]&&!e&&(t+=r[n].swiperSlideSize,l+=1,t>a&&(e=!0))}else if("current"===e)for(let e=s+1;e<r.length;e+=1){(t?i[e]+o[e]-i[s]<a:i[e]-i[s]<a)&&(l+=1)}else for(let e=s-1;e>=0;e-=1){i[s]-i[e]<a&&(l+=1)}return l}update(){const e=this;if(!e||e.destroyed)return;const{snapGrid:t,params:n}=e;function r(){const t=e.rtlTranslate?-1*e.translate:e.translate,n=Math.min(Math.max(t,e.maxTranslate()),e.minTranslate());e.setTranslate(n),e.updateActiveIndex(),e.updateSlidesClasses()}let i;n.breakpoints&&e.setBreakpoint(),e.updateSize(),e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),e.params.freeMode&&e.params.freeMode.enabled?(r(),e.params.autoHeight&&e.updateAutoHeight()):(i=("auto"===e.params.slidesPerView||e.params.slidesPerView>1)&&e.isEnd&&!e.params.centeredSlides?e.slideTo(e.slides.length-1,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0),i||r()),n.watchOverflow&&t!==e.snapGrid&&e.checkOverflow(),e.emit("update")}changeDirection(e,t=!0){const n=this,r=n.params.direction;return e||(e="horizontal"===r?"vertical":"horizontal"),e===r||"horizontal"!==e&&"vertical"!==e||(n.$el.removeClass(`${n.params.containerModifierClass}${r}`).addClass(`${n.params.containerModifierClass}${e}`),n.emitContainerClasses(),n.params.direction=e,n.slides.each((t=>{"vertical"===e?t.style.width="":t.style.height=""})),n.emit("changeDirection"),t&&n.update()),n}changeLanguageDirection(e){const t=this;t.rtl&&"rtl"===e||!t.rtl&&"ltr"===e||(t.rtl="rtl"===e,t.rtlTranslate="horizontal"===t.params.direction&&t.rtl,t.rtl?(t.$el.addClass(`${t.params.containerModifierClass}rtl`),t.el.dir="rtl"):(t.$el.removeClass(`${t.params.containerModifierClass}
2rtl`),t.el.dir="ltr"),t.update())}mount(e){const t=this;if(t.mounted)return!0;const n=rt(e||t.params.el);if(!(e=n[0]))return!1;e.swiper=t;const r=()=>`.${(t.params.wrapperClass||"").trim().split(" ").join(".")}`;let i=(()=>{if(e&&e.shadowRoot&&e.shadowRoot.querySelector){const t=rt(e.shadowRoot.querySelector(r()));return t.children=e=>n.children(e),t}return n.children?n.children(r()):rt(n).children(r())})();if(0===i.length&&t.params.createElements){const e=qe().createElement("div");i=rt(e),e.className=t.params.wrapperClass,n.append(e),n.children(`.${t.params.slideClass}`).each((e=>{i.append(e)}))}return Object.assign(t,{$el:n,el:e,$wrapperEl:i,wrapperEl:i[0],mounted:!0,rtl:"rtl"===e.dir.toLowerCase()||"rtl"===n.css("direction"),rtlTranslate:"horizontal"===t.params.direction&&("rtl"===e.dir.toLowerCase()||"rtl"===n.css("direction")),wrongRTL:"-webkit-box"===i.css("display")}),!0}init(e){const t=this;if(t.initialized)return t;return!1===t.mount(e)||(t.emit("beforeInit"),t.params.breakpoints&&t.setBreakpoint(),t.addClasses(),t.params.loop&&t.loopCreate(),t.updateSize(),t.updateSlides(),t.params.watchOverflow&&t.checkOverflow(),t.params.grabCursor&&t.enabled&&t.setGrabCursor(),t.params.preloadImages&&t.preloadImages(),t.params.loop?t.slideTo(t.params.initialSlide+t.loopedSlides,0,t.params.runCallbacksOnInit,!1,!0):t.slideTo(t.params.initialSlide,0,t.params.runCallbacksOnInit,!1,!0),t.attachEvents(),t.initialized=!0,t.emit("init"),t.emit("afterInit")),t}destroy(e=!0,t=!0){const n=this,{params:r,$el:i,$wrapperEl:o,slides:a}=n;return void 0===n.params||n.destroyed||(n.emit("beforeDestroy"),n.initialized=!1,n.detachEvents(),r.loop&&n.loopDestroy(),t&&(n.removeClasses(),i.removeAttr("style"),o.removeAttr("style"),a&&a.length&&a.removeClass([r.slideVisibleClass,r.slideActiveClass,r.slideNextClass,r.slidePrevClass].join(" ")).removeAttr("style").removeAttr("data-swiper-slide-index")),n.emit("destroy"),Object.keys(n.eventsListeners).forEach((e=>{n.off(e)})),!1!==e&&(n.$el[0].swiper=null,function(e){const t=e;Object.keys(t).forEach((e=>{try{t[e]=null}catch(e){}try{delete t[e]}catch(e){}}))}(n)),n.destroyed=!0),null}static extendDefaults(e){lt(Bt,e)}static get extendedDefaults(){return Bt}static get defaults(){return Lt}static installModule(e){Ft.prototype.__modules__||(Ft.prototype.__modules__=[]);const t=Ft.prototype.__modules__;"function"==typeof e&&t.indexOf(e)<0&&t.push(e)}static use(e){return Array.isArray(e)?(e.forEach((e=>Ft.installModule(e))),Ft):(Ft.installModule(e),Ft)}}Object.keys(jt).forEach((e=>{Object.keys(jt[e]).forEach((t=>{Ft.prototype[t]=jt[e][t]}))})),Ft.use([function({swiper:e,on:t,emit:n}){const r=Xe();let i=null,o=null;const a=()=>{e&&!e.destroyed&&e.initialized&&(n("beforeResize"),n("resize"))},s=()=>{e&&!e.destroyed&&e.initialized&&n("orientationchange")};t("init",(()=>{e.params.resizeObserver&&void 0!==r.ResizeObserver?e&&!e.destroyed&&e.initialized&&(i=new ResizeObserver((t=>{o=r.requestAnimationFrame((()=>{const{width:n,height:r}=e;let i=n,o=r;t.forEach((({contentBoxSize:t,contentRect:n,target:r})=>{r&&r!==e.el||(i=n?n.width:(t[0]||t).inlineSize,o=n?n.height:(t[0]||t).blockSize)})),i===n&&o===r||a()}))})),i.observe(e.el)):(r.addEventListener("resize",a),r.addEventListener("orientationchange",s))})),t("destroy",(()=>{o&&r.cancelAnimationFrame(o),i&&i.unobserve&&e.el&&(i.unobserve(e.el),i=null),r.removeEventListener("resize",a),r.removeEventListener("orientationchange",s)}))},function({swiper:e,extendParams:t,on:n,emit:r}){const i=[],o=Xe(),a=(e,t={})=>{const n=new(o.MutationObserver||o.WebkitMutationObserver)((e=>{if(1===e.length)return void r("observerUpdate",e[0]);const t=function(){r("observerUpdate",e[0])};o.requestAnimationFrame?o.requestAnimationFrame(t):o.setTimeout(t,0)}));n.observe(e,{attributes:void 0===t.attributes||t.attributes,childList:void 0===t.childList||t.childList,characterData:void 0===t.characterData||t.characterData}),i.push(n)};t({observer:!1,observeParents:!1,observeSlideChildren:!1}),n("init",(()=>{if(e.params.observer){if(e.params.observeParents){const t=e.$el.parents();for(let e=0;e<t.length;e+=1)a(t[e])}a(e.$el[0],{childList:e.params.observeSlideChildren}),a(e.$wrapperEl[0],{attributes:!1})}})),n("destroy",(()=>
2{i.forEach((e=>{e.disconnect()})),i.splice(0,i.length)}))}]);var Ht=Ft;function Ut({swiper:e,extendParams:t,on:n,emit:r}){function i(t){let n;return t&&(n=rt(t),e.params.uniqueNavElements&&"string"==typeof t&&n.length>1&&1===e.$el.find(t).length&&(n=e.$el.find(t))),n}function o(t,n){const r=e.params.navigation;t&&t.length>0&&(t[n?"addClass":"removeClass"](r.disabledClass),t[0]&&"BUTTON"===t[0].tagName&&(t[0].disabled=n),e.params.watchOverflow&&e.enabled&&t[e.isLocked?"addClass":"removeClass"](r.lockClass))}function a(){if(e.params.loop)return;const{$nextEl:t,$prevEl:n}=e.navigation;o(n,e.isBeginning&&!e.params.rewind),o(t,e.isEnd&&!e.params.rewind)}function s(t){t.preventDefault(),(!e.isBeginning||e.params.loop||e.params.rewind)&&(e.slidePrev(),r("navigationPrev"))}function l(t){t.preventDefault(),(!e.isEnd||e.params.loop||e.params.rewind)&&(e.slideNext(),r("navigationNext"))}function c(){const t=e.params.navigation;if(e.params.navigation=function(e,t,n,r){const i=qe();return e.params.createElements&&Object.keys(r).forEach((o=>{if(!n[o]&&!0===n.auto){let a=e.$el.children(`.${r[o]}`)[0];a||(a=i.createElement("div"),a.className=r[o],e.$el.append(a)),n[o]=a,t[o]=a}})),n}(e,e.originalParams.navigation,e.params.navigation,{nextEl:"swiper-button-next",prevEl:"swiper-button-prev"}),!t.nextEl&&!t.prevEl)return;const n=i(t.nextEl),r=i(t.prevEl);n&&n.length>0&&n.on("click",l),r&&r.length>0&&r.on("click",s),Object.assign(e.navigation,{$nextEl:n,nextEl:n&&n[0],$prevEl:r,prevEl:r&&r[0]}),e.enabled||(n&&n.addClass(t.lockClass),r&&r.addClass(t.lockClass))}function u(){const{$nextEl:t,$prevEl:n}=e.navigation;t&&t.length&&(t.off("click",l),t.removeClass(e.params.navigation.disabledClass)),n&&n.length&&(n.off("click",s),n.removeClass(e.params.navigation.disabledClass))}t({navigation:{nextEl:null,prevEl:null,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock",navigationDisabledClass:"swiper-navigation-disabled"}}),e.navigation={nextEl:null,$nextEl:null,prevEl:null,$prevEl:null},n("init",(()=>{!1===e.params.navigation.enabled?d():(c(),a())})),n("toEdge fromEdge lock unlock",(()=>{a()})),n("destroy",(()=>{u()})),n("enable disable",(()=>{const{$nextEl:t,$prevEl:n}=e.navigation;t&&t[e.enabled?"removeClass":"addClass"](e.params.navigation.lockClass),n&&n[e.enabled?"removeClass":"addClass"](e.params.navigation.lockClass)})),n("click",((t,n)=>{const{$nextEl:i,$prevEl:o}=e.navigation,a=n.target;if(e.params.navigation.hideOnClick&&!rt(a).is(o)&&!rt(a).is(i)){if(e.pagination&&e.params.pagination&&e.params.pagination.clickable&&(e.pagination.el===a||e.pagination.el.contains(a)))return;let t;i?t=i.hasClass(e.params.navigation.hiddenClass):o&&(t=o.hasClass(e.params.navigation.hiddenClass)),r(!0===t?"navigationShow":"navigationHide"),i&&i.toggleClass(e.params.navigation.hiddenClass),o&&o.toggleClass(e.params.navigation.hiddenClass)}}));const d=()=>{e.$el.addClass(e.params.navigation.navigationDisabledClass),u()};Object.assign(e.navigation,{enable:()=>{e.$el.removeClass(e.params.navigation.navigationDisabledClass),c(),a()},disable:d,update:a,init:c,destroy:u})}function zt(e=""){return`.${e.trim().replace(/([\.:!\/])/g,"\\$1").replace(/ /g,".")}`}function Vt({swiper:e,extendParams:t,on:n}){t({a11y:{enabled:!0,notificationClass:"swiper-notification",prevSlideMessage:"Previous slide",nextSlideMessage:"Next slide",firstSlideMessage:"This is the first slide",lastSlideMessage:"This is the last slide",paginationBulletMessage:"Go to slide {{index}}",slideLabelMessage:"{{index}} / {{slidesLength}}",containerMessage:null,containerRoleDescriptionMessage:null,itemRoleDescriptionMessage:null,slideRole:"group",id:null}}),e.a11y={clicked:!1};let r=null;function i(e){const t=r;0!==t.length&&(t.html(""),t.html(e))}function o(e){e.attr("tabIndex","0")}function a(e){e.attr("tabIndex","-1")}function s(e,t){e.attr("role",t)}function l(e,t){e.attr("aria-roledescription",t)}function c(e,t){e.attr("aria-label",t)}function u(e){e.attr("aria-disabled",!0)}function d(e){e.attr("aria-disabled",!1)}function h(t){if(13!==t.keyCode&&32!==t.keyCode)return;const n=e.params.a11y,r=rt(t.target);e.navigation&&e.navigation.$nextEl&&r.is(e.navigation.$nextEl)&&(e.isEnd&&!e.params.loop||e.slideNext(),e.isEnd?i(n.lastSlideMessage):i(n.nextSlideMessage)),e.navigation&&e.navigation.$prevEl&&r.is(e.navigation.$prevEl)&&(e.isBeginning&&!e.params.loop||e.slidePrev(),e.isBeginning?i(n.firstSlideMessage):i(n.prevSlideMessage)),e.pagination&&r.is(zt(e.params.pagination.bulletClass))&&r[0].click()}function f(){return e.pagination&&e.pagination.bullets&&e.pagination.bullets.length}function p(){return f()&&e.params.pagination.clickable}const g=(e,t,n)=>
2{o(e),"BUTTON"!==e[0].tagName&&(s(e,"button"),e.on("keydown",h)),c(e,n),function(e,t){e.attr("aria-controls",t)}(e,t)},m=()=>{e.a11y.clicked=!0},y=()=>{requestAnimationFrame((()=>{requestAnimationFrame((()=>{e.destroyed||(e.a11y.clicked=!1)}))}))},v=t=>{if(e.a11y.clicked)return;const n=t.target.closest(`.${e.params.slideClass}`);if(!n||!e.slides.includes(n))return;const r=e.slides.indexOf(n)===e.activeIndex,i=e.params.watchSlidesProgress&&e.visibleSlides&&e.visibleSlides.includes(n);r||i||t.sourceCapabilities&&t.sourceCapabilities.firesTouchEvents||(e.isHorizontal()?e.el.scrollLeft=0:e.el.scrollTop=0,e.slideTo(e.slides.indexOf(n),0))},w=()=>{const t=e.params.a11y;t.itemRoleDescriptionMessage&&l(rt(e.slides),t.itemRoleDescriptionMessage),t.slideRole&&s(rt(e.slides),t.slideRole);const n=e.params.loop?e.slides.filter((t=>!t.classList.contains(e.params.slideDuplicateClass))).length:e.slides.length;t.slideLabelMessage&&e.slides.each(((r,i)=>{const o=rt(r),a=e.params.loop?parseInt(o.attr("data-swiper-slide-index"),10):i;c(o,t.slideLabelMessage.replace(/\{\{index\}\}/,a+1).replace(/\{\{slidesLength\}\}/,n))}))},b=()=>{const t=e.params.a11y;e.$el.append(r);const n=e.$el;t.containerRoleDescriptionMessage&&l(n,t.containerRoleDescriptionMessage),t.containerMessage&&c(n,t.containerMessage);const i=e.$wrapperEl,o=t.id||i.attr("id")||`swiper-wrapper-${function(e=16){return"x".repeat(e).replace(/x/g,(()=>Math.round(16*Math.random()).toString(16)))}(16)}`,a=e.params.autoplay&&e.params.autoplay.enabled?"off":"polite";var s;let u,d;s=o,i.attr("id",s),function(e,t){e.attr("aria-live",t)}(i,a),w(),e.navigation&&e.navigation.$nextEl&&(u=e.navigation.$nextEl),e.navigation&&e.navigation.$prevEl&&(d=e.navigation.$prevEl),u&&u.length&&g(u,o,t.nextSlideMessage),d&&d.length&&g(d,o,t.prevSlideMessage),p()&&e.pagination.$el.on("keydown",zt(e.params.pagination.bulletClass),h),e.$el.on("focus",v,!0),e.$el.on("pointerdown",m,!0),e.$el.on("pointerup",y,!0)};n("beforeInit",(()=>{r=rt(`<span class="${e.params.a11y.notificationClass}" aria-live="assertive" aria-atomic="true"></span>`)})),n("afterInit",(()=>{e.params.a11y.enabled&&b()})),n("slidesLengthChange snapGridLengthChange slidesGridLengthChange",(()=>{e.params.a11y.enabled&&w()})),n("fromEdge toEdge afterInit lock unlock",(()=>{e.params.a11y.enabled&&function(){if(e.params.loop||e.params.rewind||!e.navigation)return;const{$nextEl:t,$prevEl:n}=e.navigation;n&&n.length>0&&(e.isBeginning?(u(n),a(n)):(d(n),o(n))),t&&t.length>0&&(e.isEnd?(u(t),a(t)):(d(t),o(t)))}()})),n("paginationUpdate",(()=>{e.params.a11y.enabled&&function(){const t=e.params.a11y;f()&&e.pagination.bullets.each((n=>{const r=rt(n);e.params.pagination.clickable&&(o(r),e.params.pagination.renderBullet||(s(r,"button"),c(r,t.paginationBulletMessage.replace(/\{\{index\}\}/,r.index()+1)))),r.is(`.${e.params.pagination.bulletActiveClass}`)?r.attr("aria-current","true"):r.removeAttr("aria-current")}))}()})),n("destroy",(()=>{e.params.a11y.enabled&&function(){let t,n;r&&r.length>0&&r.remove(),e.navigation&&e.navigation.$nextEl&&(t=e.navigation.$nextEl),e.navigation&&e.navigation.$prevEl&&(n=e.navigation.$prevEl),t&&t.off("keydown",h),n&&n.off("keydown",h),p()&&e.pagination.$el.off("keydown",zt(e.params.pagination.bulletClass),h),e.$el.off("focus",v,!0),e.$el.off("pointerdown",m,!0),e.$el.off("pointerup",y,!0)}()}))}var Wt={modules:[Ut,Vt],slidesPerView:"auto",spaceBetween:26,a11y:{prevSlideMessage:"Previous slide",nextSlideMessage:"Next slide"},paginationElement:"button",keyboard:{enabled:!0},navigation:{},on:{reachEnd:function(){this.el.classList.remove("shadow-right")},reachBeginning:function(){this.el.classList.remove("shadow-left")},fromEdge:function(){this.el.classList.add("shadow-right"),this.el.classList.add("shadow-left")}}};Ae((function(){var e=Array.from(document.querySelectorAll(".video-slider-container"));if(e)for(var t=0;t<e.length;t++){e[t].setAttribute("id","swiper-".concat(t)),e[t].querySelector(".swiper-button-prev").classList.add("swiper-button-prev-".concat(t)),e[t].querySelector(".swiper-button-next").classList.add("swiper-button-next-".concat(t)),Wt.navigation.nextEl=".swiper-button-next-".concat(t),Wt.navigation.prevEl=".swiper-button-prev-".concat(t);new Ht("#swiper-".concat(t," .swiper"),Wt)}}));for(var Gt=Array.from(document.querySelectorAll(".slider-item-video")),qt=function(){var e=Xt[Yt];e.addEventListener("click",(function(t){return Qt(t,e)})),e.addEventListener("keydown",(function(t){return Qt(t,e)}))},Yt=0,Xt=Gt;Yt<Xt.length;Yt++)qt();var Zt=new Event("card-click",{bubbles:!0,detail:"detail"});function Qt(e,t){"Space"!==e.code&&"Enter"!==e.code||t.dispatchEvent(Zt),"click"===e.type&&t.dispatchEvent(Zt)}document.addEventListener("card-click",(function(e){return function(e){Jt.setAttribute("aria-modal","true"),Jt.setAttribute("style","display:block;");var t=e.target.dataset,n='<div class="video-slider-modal-content"><div id="video-slider-modal-player"></div></div>';Jt.innerHTML=n,Kt=window.videoSliderplayer=new YT.Player("video-slider-modal-player",{videoId:t.videoId,playerVars:{enablejsapi:1,autoplay:1,origin:"https://sram.com"},events:{}}),document.addEventListener("keydown",tn),Jt.addEventListener("click",en)}(e)}));var Kt,Jt=document.createElement("div");function en(e){Kt.stopVideo(),nn(Jt)}function tn(e){"Escape"===e.code&&(Kt.stopVideo(),nn(Jt))}function nn(e){e.removeAttribute("aria-modal"),e.setAttribute("style","display: none;"),e.removeEventListener("click",en),document.removeEventListener("keydown",tn)}Jt.setAttribute("style","display:none;"),Jt.setAttribute("id","video-swiper-modal"),document.body.appendChild(Jt);var rn={modules:[Ut,Vt],slidesPerView:"auto",spaceBetween:20,a11y:{prevSlideMessage:"Previous slide",nextSlideMessage:"Next slide"},paginationElement:"button",keyboard:{enabled:!0},navigation:{},on:{reachEnd:function(){this.el.classList.remove("shadow-right")},reachBeginning:function(){this.el.classList.remove("shadow-left")},fromEdge:function(){this.el.classList.add("shadow-right"),this.el.classList.add("shadow-left")}}};Ae((function(){var e=Array.from(document.querySelectorAll(".multipromo-slider-container"));if(e)for(var t=0;t<e.length;t++){e[t].setAttribute("id","multipromo-swiper-".concat(t)),e[t].querySelector(".multipromo-swiper-button-prev").classList.add("multipromo-swiper-button-prev-".concat(t)),e[t].querySelector(".multipromo-swiper-button-next").classList.add("multipromo-swiper-button-next-".concat(t)),rn.navigation.nextEl=".multipromo-swiper-button-next-".concat(t),rn.navigation.prevEl=".multipromo-swiper-button-prev-".concat(t);new Ht("#multipromo-swiper-".concat(t," .swiper"),rn)}}));n(951);var on=n(755);function an(e){return an="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},an(e)}function sn(e){return function(e){if(Array.isArray(e))return ln(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return ln(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ln(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ln(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function cn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function un(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
vendor: 4,664 bytes, line 2
2t%2?cn(Object(n),!0).forEach((function(t){dn(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):cn(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function dn(e,t,n){return(t=function(e){var t=function(e,t){if("object"!==an(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==an(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===an(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function hn(e){return hn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},hn(e)}function fn(){fn=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,i=Object.defineProperty||function(e,t,n){e[t]=n.value},o="function"==typeof Symbol?Symbol:{},a=o.iterator||"@@iterator",s=o.asyncIterator||"@@asyncIterator",l=o.toStringTag||"@@toStringTag";function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,n){return e[t]=n}}function u(e,t,n,r){var o=t&&t.prototype instanceof y?t:y,a=Object.create(o.prototype),s=new M(r||[]);return i(a,"_invoke",{value:E(e,n,s)}),a}function d(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=u;var h="suspendedStart",f="suspendedYield",p="executing",g="completed",m={};function y(){}function v(){}function w(){}var b={};c(b,a,(function(){return this}));var C=Object.getPrototypeOf,S=C&&C(C(D([])));S&&S!==n&&r.call(S,a)&&(b=S);var A=w.prototype=y.prototype=Object.create(b);function _(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function T(e,t){function n(i,o,a,s){var l=d(e[i],e,o);if("throw"!==l.type){var c=l.arg,u=c.value;return u&&"object"==hn(u)&&r.call(u,"__await")?t.resolve(u.__await).then((function(e){n("next",e,a,s)}),(function(e){n("throw",e,a,s)})):t.resolve(u).then((function(e){c.value=e,a(c)}),(function(e){return n("throw",e,a,s)}))}s(l.arg)}var o;i(this,"_invoke",{value:function(e,r){function i(){return new t((function(t,i){n(e,r,t,i)}))}return o=o?o.then(i,i):i()}})}function E(t,n,r){var i=h;return function(o,a){if(i===p)throw new Error("Generator is already running");if(i===g){if("throw"===o)throw a;return{value:e,done:!0}}for(r.method=o,r.arg=a;;){var s=r.delegate;if(s){var l=x(s,r);if(l){if(l===m)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(i===h)throw i=g,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);i=p;var c=d(t,n,r);if("normal"===c.type){if(i=r.done?g:f,c.arg===m)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(i=g,r.method="throw",r.arg=c.arg)}}}function x(t,n){var r=n.method,i=t.iterator[r];if(i===e)return n.delegate=null,"throw"===r&&t.iterator.return&&(n.method="return",n.arg=e,x(t,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),m;var o=d(i,t.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,m;var a=o.arg;return a?a.done?(n[t.resultName]=a.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,m):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,m)}function I(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 O(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function M(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(I,this),this.reset(!0)}function D(t){if(t||""===t){var n=t[a];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,o=function n(){for(;++i<t.length;)if(r.call(t,i))return n.value=t[i],n.done=!1,n;return n.value=e,n.done=!0,n};return o.next=o}}throw new TypeError(hn(t)+" is not iterable")}return v.prototype=w,i(A,"constructor",{value:w,configurable:!0}),i(w,"constructor",{value:v,configurable:!0}),v.displayName=c(w,l,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===v||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,w):(e.__proto__=w,
2c(e,l,"GeneratorFunction")),e.prototype=Object.create(A),e},t.awrap=function(e){return{__await:e}},_(T.prototype),c(T.prototype,s,(function(){return this})),t.AsyncIterator=T,t.async=function(e,n,r,i,o){void 0===o&&(o=Promise);var a=new T(u(e,n,r,i),o);return t.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},_(A),c(A,l,"Generator"),c(A,a,(function(){return this})),c(A,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},t.values=D,M.prototype={constructor:M,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(O),!t)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function i(r,i){return s.type="throw",s.arg=t,n.next=r,i&&(n.method="next",n.arg=e),!!i}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],s=a.completion;if("root"===a.tryLoc)return i("end");if(a.tryLoc<=this.prev){var l=r.call(a,"catchLoc"),c=r.call(a,"finallyLoc");if(l&&c){if(this.prev<a.catchLoc)return i(a.catchLoc,!0);if(this.prev<a.finallyLoc)return i(a.finallyLoc)}else if(l){if(this.prev<a.catchLoc)return i(a.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return i(a.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var i=this.tryEntries[n];if(i.tryLoc<=this.prev&&r.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=e,a.arg=t,o?(this.method="next",this.next=o.finallyLoc,m):this.complete(a)},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),m},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),O(n),m}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;O(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:D(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),m}},t}function pn(e,t,n,r,i,o,a){try{var s=e[o](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,i)}function gn(e){return mn.apply(this,arguments)}function mn(){var e;return e=fn().mark((function e(t){var n,r,i;return fn().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,n=new URLSearchParams(t),e.next=4,fetch("/api/seatpostfit/calc?".concat(n.toString()));case 4:return r=e.sent,e.next=7,r.json();case 7:return i=e.sent,e.abrupt("return",i);case 12:e.prev=12,e.t0=e.catch(0);case 15:case"end":return e.stop()}}),e,null,[[0,12]])})),mn=function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function a(e){pn(o,r,i,a,s,"next",e)}function s(e){pn(o,r,i,a,s,"throw",e)}a(void 0)}))},mn.apply(this,arguments)}on((function(){var e=".v-worldpay-checkout";if(on(e).length){var t=new(s())({el:e,name:e,data:{data:{cartName:"Default",steps:["INFO","SHIPPING","PAYMENT","CONFIRMATION"],step:{INFO:2,SHIPPING:3,BILLING:4,PAYMENT:4,PAYPAL:4,CONFIRMATION:5},methods:[],cart:{},account:{},address:{shipping:{},billing:{},regions:{shipping:[],billing:[]}},order:{}},state:{step:"INFO",fields:{errors:{}},type:"CC",hasDiff:!1,hasBA:!1,isEmpty:!0}},methods:{isComplete:function(e){var t=r.indexOf(this.$data.data.steps,e)<r.indexOf(this.$data.data.steps,this.$data.state.step);return t},onInvalid:function(e,t){this.$data.state.fields.errors=un(un({},this.$data.state.fields.errors),{},dn({},t.target.name,t.target.validationMessage)),vApp.$emit("snackbar:show",{msg:r.get(snackbarCfg,"formOnInvalid"),err:!0})},onChange:function(e,t){this.$data.state.fields.errors=un(un({},this.$data.state.fields.errors),{},dn({},t.target.name,""))},onChangeCountryCode:function(e,t){var n=this,i=t.target.value;vApp.$on("address:getRegions:then",(function(t){vApp.$off("address:getRegions:then"),r.set(n.$data.data,"address.regions.".concat(e),t||[])})),vApp.$emit("address:getRegions",{countryCode:i})},onSubmit:function(e,t,n){var i=this;n.preventDefault();var o=r.reduce(on(n.target).serializeArray(),(function(e,t){return r.set(e,t.name,t.value),e}),{});this.$on("checkout:submitStep:then",(function(){i.$off("checkout:submitStep:then"),i.$data.state.step=t})),this.$emit("checkout:submitStep",{step:e,data:o})},onChangeType:function(e,t){r.set(this.$data,"state.type",e),r.set(this.$data,"state.hasBA",!1),r.set(this.$data,"state.hasDiff",!1),on("#worldpaydiv").empty()},onChangeDiff:function(e,t){r.set(this.$data,"state.hasDiff",e),r.set(this.$data,"state.hasBA",!e),on("#worldpaydiv").empty();var n=on("js-billing-address");r.chain(this.$data).get("data.address.billing").each((function(e,t){n.find("[name=".concat(t,"]")).val(e).trigger("blur")}
2)).value(),e||this.onSubmit("BILLING","PAYMENT",t)},onClickStep:function(e,t){t.preventDefault(),this.$data.state.step=e},onClickRemove:function(e,t){t.preventDefault(),vApp.$emit("checkout:deletePromo",{promoCode:e.Code,cartName:this.$data.data.cartName})},setupPayment:function(e){var t={iframeHelperURL:e.HelperURL,url:e.PaymentURL,type:"iframe",inject:"immediate",target:"worldpaydiv",accessibility:!0,debug:!0,language:e.LanguageCode,country:e.CountryCode,resultCallback:this.onPaymentComplete,successURL:"",cancelURL:"",failureURL:"",pendingURL:"",errorURL:"",customisation:{fonts:{family:["Helvetica","Arial"]},buttons:{color:"#fff",backgroundColor:"#e51937",border:{style:"solid",color:"#e51937",width:"1px",radius:"0px"}}}};(new WPCL.Library).setup(t)},onPaymentComplete:function(e){var t=this,n=e.order.status;if("success"===n){this.$on("checkout:submitStep:then",(function(){t.$off("checkout:submitStep:then"),t.$data.state.step="CONFIRMATION"}));var i=e;this.$emit("checkout:submitStep",{step:"PAYMENT",data:i})}else"cancelled_by_shopper"===n&&(on("#worldpaydiv").empty(),r.set(this.$data,"state.hasBA",!1),r.set(this.$data,"state.step","INFO"))},onTrackCheckout:function(){vApp.$emit("analytics:purchase",this.$data.data.order);try{var e=window.location.href,t={merchantUserId:"",marketingOptIn:!0,userEmail:this.$data.data.order.OrderMeta.Email,userFirstName:this.$data.data.address.shipping.FirstName,userLastName:this.$data.data.address.shipping.LastName,orderId:this.$data.data.order.OrderMeta.PurchaseorderNumber,orderItems:r.chain(this.$data).get("data.order.Items").map((function(e){return{page_id:e.ModelCode,page_id_variant:e.Code,product_name:e.DisplayName,quantity:e.Quantity,unit_price:e.LinkedTotal||e.Total}})).value()},n=on("[data-powerreviews-payload]").data("powerreviewsPayload");t=r.chain(n).map((function(e){return r.chain(e).keys().reduce((function(t,n){var i="_locale"===n?n:r.camelCase(n);return r.set(t,i,r.get(e,n)),t}),{}).value()})).reduce((function(t,n){return-1===e.indexOf("/".concat(n._locale,"/"))?t:r.assign({},n,t)}),t).value(),POWERREVIEWS.tracker.createTracker({merchantGroupId:t.merchantGroupId}).trackCheckout(t)}catch(e){}}},mounted:function(){var e=this,t=on("#checkout").data("ppenv"),n=r.chain(window.location.search).replace("?","").split("&").reduce((function(e,t){var n=r.split(t,"=");return r.set(e,r.get(n,0),r.get(n,1)),e}),{}).get("cartName","Default").value();this.$data.data.cartName=n,paypal.Button.render({env:t,client:{sandbox:"ARL-sgnfeNVpivMHFfbFNyvxPLdzBMDN4jRt9W4xRzX77pyGzSHoSqnz2wKkdKUODoe-cCg4jCrg6LCf",production:"AWjg2m-xOVy_euyzAJqWc_c8X9s5NuYaHlbl9IDQr9c_Z7Bu7h27JUdM8RstsOQBoZ7h6g8TjJlknDpG"},locale:"en_US",style:{size:"large",color:"gold",shape:"rect"},funding:dn({disallowed:[paypal.FUNDING.CREDIT]},"disallowed",[paypal.FUNDING.VENMO]),commit:!0,payment:function(t,n){return n.payment.create({payment:{intent:"order",payer:{payment_method:"paypal"},transactions:[{amount:{total:e.$data.data.cart.Total,currency:e.$data.data.cart.Currency},item_list:{shipping_address:{recipient_name:e.$data.data.address.shipping.FirstName+" "+e.$data.data.address.shipping.LastName,line1:e.$data.data.address.shipping.Line1,line2:e.$data.data.address.shipping.Line2,city:e.$data.data.address.shipping.City,country_code:e.$data.data.address.shipping.CountryCode,postal_code:e.$data.data.address.shipping.PostalCode,phone:e.$data.data.address.shipping.DaytimePhoneNumber,state:e.$data.data.address.shipping.RegionCode}}}],application_context:{shipping_preference:"SET_PROVIDED_ADDRESS"}}})},onAuthorize:function(t,r){return r.payment.execute().then((function(t){var r=t.transactions[0].related_resources[0].order.id;e.$on("checkout:submitStep:then",(function(){e.$off("checkout:submitStep:then"),e.onTrackCheckout(),e.$data.state.step="CONFIRMATION"})),e.$emit("checkout:submitStep",{step:"PAYPAL",data:{orderId:r,cardHolder:t.payer.payer_info.first_name+" "+t.payer.payer_info.last_name,amount:t.transactions[0].amount.total,authorization:t,cartName:n}})}))},onError:function(e){vApp.$emit("snackbar:show",{msg:r.get(snackbarCfg,"postPaypalCatch"),err:!0})}},"#paypal-button-container"),this.$on("checkout:submitStep:then",(function(){on("html, body").animate({scrollTop:0})})),this.$on("checkout:submitStep",(function(t){var i=t.step,o=t.data;switch(i){case"INFO":vApp.$on("checkout:postAddress:then",(function(){vApp.$off("checkout:postAddress:then"),vApp.$off("checkout:postAddress:catch"),e.$emit("checkout:submitStep:then")})),vApp.$on("checkout:postAddress:catch",(function(e){vApp.$off("checkout:postAddress:then"),vApp.$off("checkout:postAddress:catch")})),r.set(e.$data,"data.address.shipping",un({},o)),vApp.$emit("checkout:postAddress",{data:o,cartName:n});break;case"SHIPPING":vApp.$on("checkout:postShipping:then",(function(){vApp.$off("checkout:postShipping:then"),vApp.$off("checkout:postShipping:catch"),vApp.$emit("cart:getCart",{cartName:n}),vApp.$emit("fbq:track",{event:"AddShippingInfo"}),e.$emit("checkout:submitStep:then")})),vApp.$on("checkout:postShipping:catch",(function(e){vApp.$off("checkout:postShipping:then"),vApp.$off("checkout:postShipping:catch")}));var a=r.find(e.$data.data.methods,(function(e){return e.ShippingId==o.Shipping}));r.set(a,"selected",!0),r.set(e.$data,"data.method",a),vApp.$emit("checkout:postShipping",{shippingId:a.ShippingId,cartName:n}),vApp.$emit("analytics:checkout:shipping",{method:a,cart:e.$data.data.cart});break;case"PROMO":vApp.$on("checkout:postPromo:then",(function(){vApp.$off("checkout:postPromo:then"),vApp.$off("checkout:postPromo:catch"),vApp.$emit("cart:getCart",{cartName:n})})),vApp.$on("checkout:postPromo:catch",(function(e){vApp.$off("checkout:postPromo:then"),vApp.$off("checkout:postPromo:catch")})),vApp.$emit("checkout:postPromo",{promoCode:o.PromoCode,cartName:n});break;case"BILLING":var s=e.$data.state.hasDiff?un({},o):un(un({},e.$data.data.address.shipping),{},{IsShipping:"false"});s.Email=e.$data.data.address.shipping.Email,o=s,r.set(e.$data,"data.address.billing",s),r.set(e.$data,"state.hasBA",!0),vApp.$on("checkout:paymentSource:then",(function(t){vApp.$off("checkout:paymentSource:then"),e.setupPayment(t)})),vApp.$emit("checkout:paymentSource",{data:o,cartName:n});break;case"PAYMENT":vApp.$on("checkout:postAddress:then",(function(){vApp.$off("checkout:postAddress:then"),vApp.$off("checkout:postAddress:then"),e.$emit("checkout:submitStep:then")})),vApp.$on("checkout:postAddress:catch",(function(e){vApp.$off("checkout:postAddress:then"),vApp.$off("checkout:postAddress:catch")})),vApp.$on("checkout:postPayment:then",(function(){vApp.$off("checkout:postPayment:then"),vApp.$off("checkout:postPayment:catch"),vApp.$emit("fbq:track",{event:"AddPaymentInfo"}),vApp.$emit("checkout:postSubmit",{cartName:n})})),vApp.$on("checkout:postPayment:catch",(function(e){vApp.$off("checkout:postPayment:then"),vApp.$off("checkout:postPayment:catch")})),vApp.$on("checkout:postSubmit:then",(function(t){vApp.$off("checkout:postSubmit:then"),vApp.$off("checkout:postSubmit:catch"),e.$data.data.order=un({},t),e.onTrackCheckout(),e.$emit("checkout:submitStep:then")})),vApp.$on("checkout:postSubmit:catch",(function(e){vApp.$off("checkout:postSubmit:then"),vApp.$off("checkout:postSubmit:catch")}));var l=e.$data.state.hasDiff?un({},e.$data.data.address.billing):un(un({},e.$data.data.address.shipping),{},{IsShipping:"false"});r.set(e.$data,"data.address.billing",l),vApp.$emit("checkout:postPayment",{amount:e.$data.data.cart.Total,address:l,cartName:n}),vApp.$emit("analytics:checkout:payment",{paymentType:"Credit Card",cart:e.$data.data.cart});break;case"PAYPAL":vApp.$on("checkout:postPaypal:then",(function(){vApp.$off("checkout:postPaypal:then"),vApp.$off("checkout:postPaypal:catch"),vApp.$emit("fbq:track",{event:"AddPaymentInfo"}),vApp.$emit("checkout:postSubmit",{cartName:n})})),vApp.$on("checkout:postPaypal:catch",(function(e){vApp.$off("checkout:postPaypal:then"),vApp.$off("checkout:postPaypal:catch")})),vApp.$on("checkout:postSubmit:then",(function(t){vApp.$off("checkout:postSubmit:then"),vApp.$off("checkout:postSubmit:catch"),e.$data.data.order=un({},t),e.$emit("checkout:submitStep:then"),e.trackCheckout()})),vApp.$on("checkout:postSubmit:catch",(function(e){vApp.$off("checkout:postSubmit:then"),vApp.$off("checkout:postSubmit:catch")})),vApp.$emit("checkout:postPaypal",un(un({},o),{},{cartName:n})),vApp.$emit("analytics:checkout:payment",{paymentType:"PayPal",cart:e.$data.data.cart})}vApp.$emit("gtm:dataLayer",{event:"checkout",ecommerce:{checkout:{actionField:{step:e.$data.data.step[i],option:i},products:e.$data.data.cart.Items.map((function(e){return{name:e.DisplayName,id:e.ModelCode,price:e.PlacedPrice,brand:e.Brand,category:"",variant:e.Code,quantity:e.Quantity}}))}}})})),vApp.$on("checkout:deletePromo:then",(function(e){vApp.$emit("cart:getCart:".concat(n,":then"),e)})),vApp.$on("cart:getCart:".concat(n,":then"),(function(t){r.set(e.$data,"data.cart",un({},t)),r.set(e.$data,"state.isEmpty",!t.TotalItems)})),vApp.$on("order:getShippingMethods:then",(function(t){t&&r.set(e.$data,"data.methods",sn(t))})),vApp.$on("myaccount:getCustomerInfo:then",(function(t){if(r.set(e.$data,"data.account",un({},t)),t.Email){var n=on(".js-shipping-address").find("[name=Email]");n.prop("readonly",!0),n.val(t.Email).trigger("blur")}})),vApp.$on("checkout:getAddress:then",(function(t){var n=on("[name=CountryCode]").val();if(t&&(!t.IsShipping||n===t.CountryCode)){r.set(e.$data.data,"address.".concat(t.IsShipping?"shipping":"billing"),t);var i=on(".js-".concat(t.IsShipping?"shipping":"billing","-address"));r.each(t,(function(t,n){"Email"===n&&e.$data.data.account.Email||i.find("[name=".concat(n,"]")).val(t).trigger("blur")}))}vApp.$on("address:getRegions:then",(function(i){vApp.$off("address:getRegions:then"),r.set(e.$data.data,"address.regions.".concat(n||t.IsShipping?"shipping":"billing"),i||[]),r.delay((function(){return on("".concat(t.IsShipping?"#regioncode":"#regi
2oncode-2")).val(t.RegionCode)}),0)})),vApp.$emit("address:getRegions",{countryCode:n||t.CountryCode})})),vApp.$emit("cart:getCart",{cartName:n}),vApp.$emit("order:getShippingMethods"),vApp.$emit("myaccount:getCustomerInfo"),vApp.$emit("checkout:getAddress",{isShipping:!0}),vApp.$emit("checkout:getAddress",{isShipping:!1})},beforeDestroyed:function(){on(window).off("resize"),window.removeEventListener("message"),vApp.$off("cart:getCart:then"),vApp.$off("order:getShippingMethods:then"),vApp.$off("myaccount:getCustomerInfo:then"),vApp.$off("checkout:getAddress:then")}});n.g.vCheckout=t}}));var yn=function(e,t){navigator.clipboard.writeText(e).then((function(){var e=t.innerHTML;t.innerHTML="<svg role='img' aria-label='Copy' class='copy-checkmark'><use xmlns:xlink='http://www.w3.org/1999/xlink' xlink:href='#svg-checkmark'></use></svg>",setTimeout((function(){t.innerHTML=e}),3e3)})).catch((function(e){}))},vn=function(e,t){return e.replace(/{{(.*?)}}/g,(function(e,n){return(n=n.trim())in t?t[n]:e}))};function wn(e){var t={event:"seatpostCalculated",seatpostData:e};dataLayer.push(t)}function bn(e){var t=document.getSelection().toString();t&&(e.preventDefault(),dataLayer.push({event:"seatpostPartCopiedFromKeyboard",seatpostData:{selectedText:t}}),e.clipboardData.setData("text/plain",t))}function Cn(e){var t=e.target.closest(".seatpost-part").querySelector(".seatpost-part-recommendation").dataset,n={event:"seatpostPartCoppied",seatpostData:{partCopied:t.fgCode,postLongestOrShortest:t.shortestOrLongest}};dataLayer.push(n)}function Sn(e){var t=e.target.closest(".seatpost-part").querySelector(".seatpost-part-recommendation").dataset,n={event:"buyNowSeatpost",seatpostData:{partBuyNow:t.fgCode,postLongestOrShortest:t.shortestOrLongest}};dataLayer.push(n)}function An(e){dataLayer.push({event:"seatpostBuyNowGeneric"})}function _n(e){var t=e.cloneNode(!0),n=e.offsetWidth,r=e.clientHeight;return e.style.width="".concat(n,"px"),e.style.height="".concat(r,"px"),e.classList.add("button-loader"),e.innerHTML='\n    <svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"\n         width="30px" height="30px" viewBox="0 0 40 40" enable-background="new 0 0 40 40" xml:space="preserve">\n      <path opacity="0.2" fill="#fff" d="M20.201,5.169c-8.254,0-14.946,6.692-14.946,14.946c0,8.255,6.692,14.946,14.946,14.946\n          s14.946-6.691,14.946-14.946C35.146,11.861,28.455,5.169,20.201,5.169z M20.201,31.749c-6.425,0-11.634-5.208-11.634-11.634\n          c0-6.425,5.209-11.634,11.634-11.634c6.425,0,11.633,5.209,11.633,11.634C31.834,26.541,26.626,31.749,20.201,31.749z"/>\n      <path fill="#fff" d="M26.013,10.047l1.654-2.866c-2.198-1.272-4.743-2.012-7.466-2.012h0v3.312h0\n          C22.32,8.481,24.301,9.057,26.013,10.047z">\n        <animateTransform attributeType="xml"\n            attributeName="transform"\n            type="rotate"\n            from="0 20 20"\n            to="360 20 20"\n            dur="0.5s"\n            repeatCount="indefinite"/>\n      </path>\n    </svg>',function(){return e.replaceWith(t)}}function Tn(e){return Tn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Tn(e)}function En(){En=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,i=Object.defineProperty||function(e,t,n){e[t]=n.value},o="function"==typeof Symbol?Symbol:{},a=o.iterator||"@@iterator",s=o.asyncIterator||"@@asyncIterator",l=o.toStringTag||"@@toStringTag";function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,n){return e[t]=n}}function u(e,t,n,r){var o=t&&t.prototype instanceof y?t:y,a=Object.create(o.prototype),s=new M(r||[]);return i(a,"_invoke",{value:E(e,n,s)}),a}function d(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=u;var h="suspendedStart",f="suspendedYield",p="executing",g="completed",m={};function y(){}function v(){}function w(){}var b={};c(b,a,(function(){return this}));var C=Object.getPrototypeOf,S=C&&C(C(D([])));S&&S!==n&&r.call(S,a)&&(b=S);var A=w.prototype=y.prototype=Object.create(b);function _(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}
vendor: 4,573 bytes, line 2
2))}function T(e,t){function n(i,o,a,s){var l=d(e[i],e,o);if("throw"!==l.type){var c=l.arg,u=c.value;return u&&"object"==Tn(u)&&r.call(u,"__await")?t.resolve(u.__await).then((function(e){n("next",e,a,s)}),(function(e){n("throw",e,a,s)})):t.resolve(u).then((function(e){c.value=e,a(c)}),(function(e){return n("throw",e,a,s)}))}s(l.arg)}var o;i(this,"_invoke",{value:function(e,r){function i(){return new t((function(t,i){n(e,r,t,i)}))}return o=o?o.then(i,i):i()}})}function E(t,n,r){var i=h;return function(o,a){if(i===p)throw new Error("Generator is already running");if(i===g){if("throw"===o)throw a;return{value:e,done:!0}}for(r.method=o,r.arg=a;;){var s=r.delegate;if(s){var l=x(s,r);if(l){if(l===m)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(i===h)throw i=g,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);i=p;var c=d(t,n,r);if("normal"===c.type){if(i=r.done?g:f,c.arg===m)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(i=g,r.method="throw",r.arg=c.arg)}}}function x(t,n){var r=n.method,i=t.iterator[r];if(i===e)return n.delegate=null,"throw"===r&&t.iterator.return&&(n.method="return",n.arg=e,x(t,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),m;var o=d(i,t.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,m;var a=o.arg;return a?a.done?(n[t.resultName]=a.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,m):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,m)}function I(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 O(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function M(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(I,this),this.reset(!0)}function D(t){if(t||""===t){var n=t[a];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,o=function n(){for(;++i<t.length;)if(r.call(t,i))return n.value=t[i],n.done=!1,n;return n.value=e,n.done=!0,n};return o.next=o}}throw new TypeError(Tn(t)+" is not iterable")}return v.prototype=w,i(A,"constructor",{value:w,configurable:!0}),i(w,"constructor",{value:v,configurable:!0}),v.displayName=c(w,l,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===v||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,w):(e.__proto__=w,c(e,l,"GeneratorFunction")),e.prototype=Object.create(A),e},t.awrap=function(e){return{__await:e}},_(T.prototype),c(T.prototype,s,(function(){return this})),t.AsyncIterator=T,t.async=function(e,n,r,i,o){void 0===o&&(o=Promise);var a=new T(u(e,n,r,i),o);return t.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},_(A),c(A,l,"Generator"),c(A,a,(function(){return this})),c(A,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},t.values=D,M.prototype={constructor:M,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(O),!t)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function i(r,i){return s.type="throw",s.arg=t,n.next=r,i&&(n.method="next",n.arg=e),!!i}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],s=a.completion;if("root"===a.tryLoc)return i("end");if(a.tryLoc<=this.prev){var l=r.call(a,"catchLoc"),c=r.call(a,"finallyLoc");if(l&&c){if(this.prev<a.catchLoc)return i(a.catchLoc,!0);if(this.prev<a.finallyLoc)return i(a.finallyLoc)}else if(l){if(this.prev<a.catchLoc)return i(a.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return i(a.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var i=this.tryEntries[n];if(i.tryLoc<=this.prev&&r.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);
2var a=o?o.completion:{};return a.type=e,a.arg=t,o?(this.method="next",this.next=o.finallyLoc,m):this.complete(a)},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),m},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),O(n),m}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;O(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:D(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),m}},t}function xn(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,a,s=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=o.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,i=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw i}}return s}}(e,t)||On(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function In(e){return function(e){if(Array.isArray(e))return Mn(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||On(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function On(e,t){if(e){if("string"==typeof e)return Mn(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Mn(e,t):void 0}}function Mn(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Dn(e,t,n,r,i,o,a){try{var s=e[o](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,i)}var kn,Nn,Pn,Rn=document.querySelector("#seatpost-tool-block");function Ln(e){return $n.apply(this,arguments)}function $n(){var e;return e=En().mark((function e(t){var n,r,i,o,a,s,l,c;return En().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.preventDefault(),n=t.target.querySelector("button"),r=_n(n),i=new FormData(t.target),e.next=6,gn(i);case 6:if(0!==(o=e.sent).length){e.next=12;break}return r(),Un(),zn(),e.abrupt("return");case 12:a=Fn(o),s=xn(a,2),l=s[0],c=s[1],Hn({shortestPost:l,longestPost:c}),r(),wn(Object.fromEntries(i.entries())),jn(),Nn.scrollIntoView(!0);case 19:case"end":return e.stop()}}),e)})),$n=function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function a(e){Dn(o,r,i,a,s,"next",e)}function s(e){Dn(o,r,i,a,s,"throw",e)}a(void 0)}))},$n.apply(this,arguments)}function jn(){Rn.querySelector("#calculate-another-post").addEventListener("click",Bn,{once:!0});var e=Rn.querySelectorAll(".copy-to-clipboard");e.forEach((function(e){e.addEventListener("click",(function(e){var t=e.target.closest(".seatpost-part").querySelector(".seatpost-part-recommendation").dataset.fgCode;yn(t,e.target.closest(".copy-to-clipboard"))}))})),function(e){e.addEventListener("copy",bn),e.querySelectorAll(".copy-to-clipboard").forEach((function(e){return e.addEventListener("click",Cn)}));var t=e.querySelectorAll("a.seatpost-buy-now-inline");t.length>0&&t.forEach((function(e){return e.addEventListener("click",Sn)}))}(Nn)}function Bn(e){e.preventDefault(),Nn.removeEventListener("copy",bn),Nn.innerHTML="",document.querySelector("#seatpost-tool-title").scrollIntoView(!0)}function Fn(e){var t=In(e).sort((function(e,t){return e.OverallLength-t.OverallLength}));return[t[0],t[t.length-1]]}function Hn(e){var t=e.shortestPost,n=e.longestPost;Nn.innerHTML="";var r=Rn.querySelector("#seatpost-results-template").content.cloneNode(!0),i=r.querySelector(".seatpost-items-area");function o(e,t){var n,r=Rn.querySelector("#seatpost-results-item").
2content.cloneNode(!0),i=r.querySelector(".seatpost-type-title").dataset,o=r.querySelector(".seatpost-type-title"),a=r.querySelector(".seatpost-length-diameter-text");t?(o.textContent=i.shortest,a.textContent=vn(a.dataset.shortestText,e)):(o.textContent=i.longest,a.textContent=vn(a.dataset.longestText,e)),null===(n=r.querySelector("a"))||void 0===n||n.setAttribute("href",e.ShopdotSiteUrl);var s=r.querySelector(".seatpost-length-diameter");s.textContent=vn(s.textContent,e);var l=r.querySelector(".seatpost-part-recommendation");return l.dataset.fgCode=e.FgCode,l.dataset.shortestOrLongest=t?"shortest":"longest",l.textContent="".concat(e.FgCode," - ").concat(e.Description),r}t.OverallLength===n.OverallLength?i.appendChild(o(n,!1)):(i.appendChild(o(n,!1)),i.appendChild(o(t,!0))),Nn.appendChild(r)}function Un(){Nn.innerHTML="";var e=document.querySelector("#no-results-template").content.cloneNode(!0);Nn.appendChild(e)}function zn(){Nn.querySelector("#empty-result-reset").addEventListener("click",(function(e){e.preventDefault(),Nn.innerHTML=""}))}Ae((function(){var e;Rn&&(kn=Rn.querySelector("form"),Nn=Rn.querySelector("#output"),kn.addEventListener("submit",Ln),null==(e=document.getElementById("buy-now-generic"))||e.addEventListener("click",An))})),Ae((function(){var e=document.querySelectorAll("[data-accordion]");if(!e.length)return;(function(){var e=document.querySelectorAll(".accordion-item");if(e.length>0)for(var t=0;t<e.length;t++){var n=e[t].querySelector(".accordion-trigger"),r=e[t].querySelector(".accordion-panel");null==n||n.setAttribute("aria-controls","panel-".concat(t)),null==n||n.setAttribute("id","accordion-".concat(t)),null==r||r.setAttribute("id","panel-".concat(t))}})(),e.forEach((function(e){e.querySelectorAll(".accordion-trigger").forEach((function(e){e.addEventListener("click",(function(e){var t=e.currentTarget,n=t.closest(".accordion-item");if(n){var r=n.querySelector(".accordion-panel");if(r)"true"===t.getAttribute("aria-expanded")?(t.setAttribute("aria-expanded","false"),function(e){if(e.hidden)return;function t(){e.hidden=!0}e.style.height=e.scrollHeight+"px",requestAnimationFrame((function(){e.style.height="0px"})),e.addEventListener("transitionend",t,{once:!0})}(r)):(t.setAttribute("aria-expanded","true"),function(e){e.hidden=!1;var t=e.scrollHeight;function n(){e.style.height="auto"}e.style.height="0px",requestAnimationFrame((function(){e.style.height=t+"px"})),e.addEventListener("transitionend",n,{once:!0})}(r))}}))}))}))})),function(e){e[e.QR_CODE=0]="QR_CODE",e[e.AZTEC=1]="AZTEC",e[e.CODABAR=2]="CODABAR",e[e.CODE_39=3]="CODE_39",e[e.CODE_93=4]="CODE_93",e[e.CODE_128=5]="CODE_128",e[e.DATA_MATRIX=6]="DATA_MATRIX",e[e.MAXICODE=7]="MAXICODE",e[e.ITF=8]="ITF",e[e.EAN_13=9]="EAN_13",e[e.EAN_8=10]="EAN_8",e[e.PDF_417=11]="PDF_417",e[e.RSS_14=12]="RSS_14",e[e.RSS_EXPANDED=13]="RSS_EXPANDED",e[e.UPC_A=14]="UPC_A",e[e.UPC_E=15]="UPC_E",e[e.UPC_EAN_EXTENSION=16]="UPC_EAN_EXTENSION"}(Pn||(Pn={}));var Vn,Wn,Gn=new Map([[Pn.QR_CODE,"QR_CODE"],[Pn.AZTEC,"AZTEC"],[Pn.CODABAR,"CODABAR"],[Pn.CODE_39,"CODE_39"],[Pn.CODE_93,"CODE_93"],[Pn.CODE_128,"CODE_128"],[Pn.DATA_MATRIX,"DATA_MATRIX"],[Pn.MAXICODE,"MAXICODE"],[Pn.ITF,"ITF"],[Pn.EAN_13,"EAN_13"],[Pn.EAN_8,"EAN_8"],[Pn.PDF_417,"PDF_417"],[Pn.RSS_14,"RSS_14"],[Pn.RSS_EXPANDED,"RSS_EXPANDED"],[Pn.UPC_A,"UPC_A"],[Pn.UPC_E,"UPC_E"],[Pn.UPC_EAN_EXTENSION,"UPC_EAN_EXTENSION"]]);function qn(e){return Object.values(Pn).includes(e)}!function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.URL=1]="URL"}(Vn||(Vn={})),function(e){e[e.SCAN_TYPE_CAMERA=0]="SCAN_TYPE_CAMERA",e[e.SCAN_TYPE_FILE=1]="SCAN_TYPE_FILE"}(Wn||(Wn={}));var Yn,Xn=function(){function e(){}return e.GITHUB_PROJECT_URL="https://github.com/mebjas/html5-qrcode",e.SCAN_DEFAULT_FPS=2,e.DEFAULT_DISABLE_FLIP=!1,e.DEFAULT_REMEMBER_LAST_CAMERA_USED=!0,e.DEFAULT_SUPPORTED_SCAN_TYPE=[Wn.SCAN_TYPE_CAMERA,Wn.SCAN_TYPE_FILE],e}(),Zn=function(){function e(e,t){this.format=e,this.formatName=t}return e.prototype.toString=function(){return this.formatName},e.create=function(t){if(!Gn.has(t))throw"".concat(t," not in html5QrcodeSupportedFormatsTextMap");return new e(t,Gn.get(t))},e}(),Qn=function(){function e(){}return e.createFromText=function(e){return{decodedText:e,result:{text:e}}},e.createFromQrcodeResult=function(e){return{decodedText:e.text,result:e}},e}();!function(e){e[e.UNKWOWN_ERROR=0]="UNKWOWN_ERROR",e[e.IMPLEMENTATION_ERROR=1]="IMPLEMENTATION_ERROR",e[e.NO_CODE_FOUND_ERROR=2]="NO_CODE_FOUND_ERROR"}(Yn||(Yn={}));var Kn=function(){function e(){}return e.createFrom=function(e){return{errorMessage:e,type:Yn.UNKWOWN_ERROR}},e}(),Jn=function(){function e(e){this.verbose=e}return e.prototype.log=function(e){this.verbose},e.prototype.warn=function(e){this.verbose},e.prototype.logError=function(e,t){this.verbose},e.prototype.logErrors=function(e){if(0===e.length)throw"Logger#logError called without arguments";this.verbose},e}();function er(e){return null==e}var tr,nr,rr=function(){function e(){}return e.codeParseError=function(e){return"QR code parse error, error = ".concat(e)},e.errorGettingUserMedia=function(e){return"Error getting userMedia, error = ".concat(e)},e.onlyDeviceSupportedError=function(){return"The device doesn't support navigator.mediaDevices , only supported cameraIdOrConfig in this case is deviceId parameter (string)."},e.cameraStreamingNotSupported=function(){return"Camera streaming not supported by the browser."},e.unableToQuerySupportedDevices=function(){return"Unable to query supported devices, unknown error."},e.insecureContextCameraQueryError=function(){return"Camera access is only supported in secure context like https or localhost."},e.scannerPaused=function(){return"Scanner paused"},e}(),ir=function(){function e(){}return e.scanningStatus=function(){return"Scanning"},e.idleStatus=function(){return"Idle"},e.errorStatus=function(){return"Error"},e.permissionStatus=function(){return"Permission"},e.noCameraFoundErrorStatus=function(){return"No Cameras"},e.lastMatch=function(e){return"Last Match: ".concat(e)},e.codeScannerTitle=function(){return"Code Scanner"},e.cameraPermissionTitle=function(){return"Request Camera Permissions"},e.cameraPermissionRequesting=function(){return"Requesting camera permissions..."},e.noCameraFound=function(){return"No camera found"},e.scanButtonStopScanningText=function(){return"Stop Scanning"}
vendor: 5,484 bytes, line 2
2,e.scanButtonStartScanningText=function(){return"Start Scanning"},e.torchOnButton=function(){return"Switch On Torch"},e.torchOffButton=function(){return"Switch Off Torch"},e.torchOnFailedMessage=function(){return"Failed to turn on torch"},e.torchOffFailedMessage=function(){return"Failed to turn off torch"},e.scanButtonScanningStarting=function(){return"Launching Camera..."},e.textIfCameraScanSelected=function(){return"Scan an Image File"},e.textIfFileScanSelected=function(){return"Scan using camera directly"},e.selectCamera=function(){return"Select Camera"},e.fileSelectionChooseImage=function(){return"Choose Image"},e.fileSelectionChooseAnother=function(){return"Choose Another"},e.fileSelectionNoImageSelected=function(){return"No image choosen"},e.anonymousCameraPrefix=function(){return"Anonymous Camera"},e.dragAndDropMessage=function(){return"Or drop an image to scan"},e.dragAndDropMessageOnlyImages=function(){return"Or drop an image to scan (other files not supported)"},e.zoom=function(){return"zoom"},e.loadingImage=function(){return"Loading image..."},e.cameraScanAltText=function(){return"Camera based scan"},e.fileScanAltText=function(){return"Fule based scan"},e}(),or=function(){function e(){}return e.poweredBy=function(){return"Powered by "},e.reportIssues=function(){return"Report issues"},e}(),ar=function(){function e(){}return e.isMediaStreamConstraintsValid=function(e,t){if("object"!=typeof e){var n=typeof e;return t.logError("videoConstraints should be of type object, the "+"object passed is of type ".concat(n,"."),!0),!1}for(var r=new Set(["autoGainControl","channelCount","echoCancellation","latency","noiseSuppression","sampleRate","sampleSize","volume"]),i=0,o=Object.keys(e);i<o.length;i++){var a=o[i];if(r.has(a))return t.logError("".concat(a," is not supported videoConstaints."),!0),!1}return!0},e}(),sr=n(817),lr=function(){function e(e,t,n){if(this.formatMap=new Map([[Pn.QR_CODE,sr.BarcodeFormat.QR_CODE],[Pn.AZTEC,sr.BarcodeFormat.AZTEC],[Pn.CODABAR,sr.BarcodeFormat.CODABAR],[Pn.CODE_39,sr.BarcodeFormat.CODE_39],[Pn.CODE_93,sr.BarcodeFormat.CODE_93],[Pn.CODE_128,sr.BarcodeFormat.CODE_128],[Pn.DATA_MATRIX,sr.BarcodeFormat.DATA_MATRIX],[Pn.MAXICODE,sr.BarcodeFormat.MAXICODE],[Pn.ITF,sr.BarcodeFormat.ITF],[Pn.EAN_13,sr.BarcodeFormat.EAN_13],[Pn.EAN_8,sr.BarcodeFormat.EAN_8],[Pn.PDF_417,sr.BarcodeFormat.PDF_417],[Pn.RSS_14,sr.BarcodeFormat.RSS_14],[Pn.RSS_EXPANDED,sr.BarcodeFormat.RSS_EXPANDED],[Pn.UPC_A,sr.BarcodeFormat.UPC_A],[Pn.UPC_E,sr.BarcodeFormat.UPC_E],[Pn.UPC_EAN_EXTENSION,sr.BarcodeFormat.UPC_EAN_EXTENSION]]),this.reverseFormatMap=this.createReverseFormatMap(),!sr)throw"Use html5qrcode.min.js without edit, ZXing not found.";this.verbose=t,this.logger=n;var r=this.createZXingFormats(e),i=new Map;i.set(sr.DecodeHintType.POSSIBLE_FORMATS,r),i.set(sr.DecodeHintType.TRY_HARDER,!1),this.hints=i}return e.prototype.decodeAsync=function(e){var t=this;return new Promise((function(n,r){try{n(t.decode(e))}catch(e){r(e)}}))},e.prototype.decode=function(e){var t=new sr.MultiFormatReader(this.verbose,this.hints),n=new sr.HTMLCanvasElementLuminanceSource(e),r=new sr.BinaryBitmap(new sr.HybridBinarizer(n)),i=t.decode(r);return{text:i.text,format:Zn.create(this.toHtml5QrcodeSupportedFormats(i.format)),debugData:this.createDebugData()}},e.prototype.createReverseFormatMap=function(){var e=new Map;return this.formatMap.forEach((function(t,n,r){e.set(t,n)})),e},e.prototype.toHtml5QrcodeSupportedFormats=function(e){if(!this.reverseFormatMap.has(e))throw"reverseFormatMap doesn't have ".concat(e);return this.reverseFormatMap.get(e)},e.prototype.createZXingFormats=function(e){for(var t=[],n=0,r=e;n<r.length;n++){var i=r[n];this.formatMap.has(i)?t.push(this.formatMap.get(i)):this.logger.logError("".concat(i," is not supported by")+"ZXingHtml5QrcodeShim")}return t},e.prototype.createDebugData=function(){return{decoderName:"zxing-js"}},e}(),cr=function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{l(r.next(e))}catch(e){o(e)}}function s(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){e.done?i(e.value):function(e){return e instanceof n?e:new n((function(t){t(e)}))}(e.value).then(a,s)}l((r=r.apply(e,t||[])).next())}))},ur=function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(s){return function(l){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;o&&(o=0,s[0]&&(a=0)),a;)try{if(n=1,r&&(i=2&s[0]?r.return:s[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,s[1])).done)return i;switch(r=0,i&&(s=[2&s[0],i.value]),s[0]){case 0:case 1:i=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,r=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!(i=a.trys,(i=i.length>0&&i[i.length-1])||6!==s[0]&&2!==s[0])){a=0;continue}if(3===s[0]&&(!i||s[1]>i[0]&&s[1]<i[3])){a.label=s[1];break}if(6===s[0]&&a.label<i[1]){a.label=i[1],i=s;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(s);break}i[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(e){s=[6,e],r=0}finally{n=i=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,l])}}},dr=function(){function e(t,n,r){if(this.formatMap=new Map([[Pn.QR_CODE,"qr_code"],[Pn.AZTEC,"aztec"],[Pn.CODABAR,"codabar"],[Pn.CODE_39,"code_39"],[Pn.CODE_93,"code_93"],[Pn.CODE_128,"code_
2128"],[Pn.DATA_MATRIX,"data_matrix"],[Pn.ITF,"itf"],[Pn.EAN_13,"ean_13"],[Pn.EAN_8,"ean_8"],[Pn.PDF_417,"pdf417"],[Pn.UPC_A,"upc_a"],[Pn.UPC_E,"upc_e"]]),this.reverseFormatMap=this.createReverseFormatMap(),!e.isSupported())throw"Use html5qrcode.min.js without edit, Use BarcodeDetectorDelegate only if it isSupported();";this.verbose=n,this.logger=r;var i=this.createBarcodeDetectorFormats(t);if(this.detector=new BarcodeDetector(i),!this.detector)throw"BarcodeDetector detector not supported"}return e.isSupported=function(){return"BarcodeDetector"in window&&void 0!==new BarcodeDetector({formats:["qr_code"]})},e.prototype.decodeAsync=function(e){return cr(this,void 0,void 0,(function(){var t,n;return ur(this,(function(r){switch(r.label){case 0:return[4,this.detector.detect(e)];case 1:if(!(t=r.sent())||0===t.length)throw"No barcode or QR code detected.";return[2,{text:(n=this.selectLargestBarcode(t)).rawValue,format:Zn.create(this.toHtml5QrcodeSupportedFormats(n.format)),debugData:this.createDebugData()}]}}))}))},e.prototype.selectLargestBarcode=function(e){for(var t=null,n=0,r=0,i=e;r<i.length;r++){var o=i[r],a=o.boundingBox.width*o.boundingBox.height;a>n&&(n=a,t=o)}if(!t)throw"No largest barcode found";return t},e.prototype.createBarcodeDetectorFormats=function(e){for(var t=[],n=0,r=e;n<r.length;n++){var i=r[n];this.formatMap.has(i)?t.push(this.formatMap.get(i)):this.logger.warn("".concat(i," is not supported by")+"BarcodeDetectorDelegate")}return{formats:t}},e.prototype.toHtml5QrcodeSupportedFormats=function(e){if(!this.reverseFormatMap.has(e))throw"reverseFormatMap doesn't have ".concat(e);return this.reverseFormatMap.get(e)},e.prototype.createReverseFormatMap=function(){var e=new Map;return this.formatMap.forEach((function(t,n,r){e.set(t,n)})),e},e.prototype.createDebugData=function(){return{decoderName:"BarcodeDetector"}},e}(),hr=function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{l(r.next(e))}catch(e){o(e)}}function s(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){e.done?i(e.value):function(e){return e instanceof n?e:new n((function(t){t(e)}))}(e.value).then(a,s)}l((r=r.apply(e,t||[])).next())}))},fr=function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(s){return function(l){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;o&&(o=0,s[0]&&(a=0)),a;)try{if(n=1,r&&(i=2&s[0]?r.return:s[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,s[1])).done)return i;switch(r=0,i&&(s=[2&s[0],i.value]),s[0]){case 0:case 1:i=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,r=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!(i=a.trys,(i=i.length>0&&i[i.length-1])||6!==s[0]&&2!==s[0])){a=0;continue}if(3===s[0]&&(!i||s[1]>i[0]&&s[1]<i[3])){a.label=s[1];break}if(6===s[0]&&a.label<i[1]){a.label=i[1],i=s;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(s);break}i[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(e){s=[6,e],r=0}finally{n=i=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,l])}}},pr=function(){function e(e,t,n,r){this.EXECUTIONS_TO_REPORT_PERFORMANCE=100,this.executions=0,this.executionResults=[],this.wasPrimaryDecoderUsedInLastDecode=!1,this.verbose=n,t&&dr.isSupported()?(this.primaryDecoder=new dr(e,n,r),this.secondaryDecoder=new lr(e,n,r)):this.primaryDecoder=new lr(e,n,r)}return e.prototype.decodeAsync=function(e){return hr(this,void 0,void 0,(function(){var t;return fr(this,(function(n){switch(n.label){case 0:t=performance.now(),n.label=1;case 1:return n.trys.push([1,,3,4]),[4,this.getDecoder().decodeAsync(e)];case 2:return[2,n.sent()];case 3:return this.possiblyLogPerformance(t),[7];case 4:return[2]}}
vendor: 17,111 bytes, line 2
2))}))},e.prototype.decodeRobustlyAsync=function(e){return hr(this,void 0,void 0,(function(){var t,n;return fr(this,(function(r){switch(r.label){case 0:t=performance.now(),r.label=1;case 1:return r.trys.push([1,3,4,5]),[4,this.primaryDecoder.decodeAsync(e)];case 2:return[2,r.sent()];case 3:if(n=r.sent(),this.secondaryDecoder)return[2,this.secondaryDecoder.decodeAsync(e)];throw n;case 4:return this.possiblyLogPerformance(t),[7];case 5:return[2]}}))}))},e.prototype.getDecoder=function(){return this.secondaryDecoder?!1===this.wasPrimaryDecoderUsedInLastDecode?(this.wasPrimaryDecoderUsedInLastDecode=!0,this.primaryDecoder):(this.wasPrimaryDecoderUsedInLastDecode=!1,this.secondaryDecoder):this.primaryDecoder},e.prototype.possiblyLogPerformance=function(e){if(this.verbose){var t=performance.now()-e;this.executionResults.push(t),this.executions++,this.possiblyFlushPerformanceReport()}},e.prototype.possiblyFlushPerformanceReport=function(){if(!(this.executions<this.EXECUTIONS_TO_REPORT_PERFORMANCE)){for(var e=0,t=0,n=this.executionResults;t<n.length;t++){e+=n[t]}this.executionResults.length;this.executions=0,this.executionResults=[]}},e}(),gr=(tr=function(e,t){return tr=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},tr(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}tr(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),mr=function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{l(r.next(e))}catch(e){o(e)}}function s(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){e.done?i(e.value):function(e){return e instanceof n?e:new n((function(t){t(e)}))}(e.value).then(a,s)}l((r=r.apply(e,t||[])).next())}))},yr=function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(s){return function(l){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;o&&(o=0,s[0]&&(a=0)),a;)try{if(n=1,r&&(i=2&s[0]?r.return:s[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,s[1])).done)return i;switch(r=0,i&&(s=[2&s[0],i.value]),s[0]){case 0:case 1:i=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,r=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!(i=a.trys,(i=i.length>0&&i[i.length-1])||6!==s[0]&&2!==s[0])){a=0;continue}if(3===s[0]&&(!i||s[1]>i[0]&&s[1]<i[3])){a.label=s[1];break}if(6===s[0]&&a.label<i[1]){a.label=i[1],i=s;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(s);break}i[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(e){s=[6,e],r=0}finally{n=i=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,l])}}},vr=function(){function e(e,t){this.name=e,this.track=t}return e.prototype.isSupported=function(){return!!this.track.getCapabilities&&this.name in this.track.getCapabilities()},e.prototype.apply=function(e){var t={};t[this.name]=e;var n={advanced:[t]};return this.track.applyConstraints(n)},e.prototype.value=function(){var e=this.track.getSettings();return this.name in e?e[this.name]:null},e}(),wr=function(e){function t(t,n){return e.call(this,t,n)||this}return gr(t,e),t.prototype.min=function(){return this.getCapabilities().min},t.prototype.max=function(){return this.getCapabilities().max},t.prototype.step=function(){return this.getCapabilities().step},t.prototype.apply=function(e){var t={};t[this.name]=e;var n={advanced:[t]};return this.track.applyConstraints(n)},t.prototype.getCapabilities=function(){this.failIfNotSupported();var e=this.track.getCapabilities()[this.name];return{min:e.min,max:e.max,step:e.step}},t.prototype.failIfNotSupported=function(){if(!this.isSupported())throw new Error("".concat(this.name," capability not supported"))},t}(vr),br=function(e){function t(t){return e.call(this,"zoom",t)||this}return gr(t,e),t}(wr),Cr=function(e){function t(t){return e.call(this,"torch",t)||this}return gr(t,e),t}(vr),Sr=function(){function e(e){this.track=e}return e.prototype.zoomFeature=function(){return new br(this.track)},e.prototype.torchFeature=function(){return new Cr(this.track)},e}(),Ar=function(){function e(e,t,n){this.isClosed=!1,this.parentElement=e,this.mediaStream=t,this.callbacks=n,this.surface=this.createVideoElement(this.parentElement.clientWidth),e.append(this.surface)}return e.prototype.createVideoElement=function(e){var t=document.createElement("video");return t.style.width="".concat(e,"px"),t.style.display="block",t.muted=!0,t.setAttribute("muted","true"),t.playsInline=!0,t},e.prototype.setupSurface=function(){var e=this;this.surface.onabort=function(){throw"RenderedCameraImpl video surface onabort() called"},this.surface.onerror=function(){throw"RenderedCameraImpl video surface onerror() called"};var t=function(){var n=e.surface.clientWidth,r=e.surface.clientHeight;e.callbacks.onRenderSurfaceReady(n,r),e.surface.removeEventListener("playing",t)};this.surface.addEventListener("playing",t),this.surface.srcObject=this.mediaStream,this.surface.play()},e.create=function(t,n,r,i){return mr(this,void 0,void 0,(function(){var o,a;return yr(this,(function(s){switch(s.label){case 0:return o=new e(t,n,i),r.aspectRatio?(a={aspectRatio:r.aspectRatio},[4,o.getFirstTrackOrFail().applyConstraints(a)]):[3,2];case 1:s.sent(),s.label=2;case 2:return o.setupSurface(),[2,o]}}))}))},e.prototype.failIfClosed=function(){if(this.isClosed)throw"The RenderedCamera has already been closed."},e.prototype.getFirstTrackOrFail=function(){if(this.failIfClosed(),0===this.mediaStream.getVideoTracks().length)throw"No video tracks found";return this.mediaStream.getVideoTracks()[0]},e.prototype.pause=function(){this.failIfClosed(),this.surface.pause()},e.prototype.resume=function(e){this.failIfClosed();var t=this,n=function(){setTimeout(e,200),t.surface.removeEventListener("playing",n)};this.surface.addEventListener("playing",n),this.surface.play()},e.prototype.isPaused=function(){return this.failIfClosed(),this.surface.paused},e.prototype.getSurface=function(){return this.failIfClosed(),this.surface},e.prototype.getRunningTrackCapabilities=function(){return this.getFirstTrackOrFail().getCapabilities()},e.prototype.getRunningTrackSettings=function(){return this.getFirstTrackOrFail().getSettings()},e.prototype.applyVideoConstraints=function(e){return mr(this,void 0,void 0,(function(){return yr(this,(function(t){if("aspectRatio"in e)throw"Changing 'aspectRatio' in run-time is not yet supported.";return[2,this.getFirstTrackOrFail().applyConstraints(e)]}))}))},e.prototype.close=function(){if(this.isClosed)return Promise.resolve();var e=this;return new Promise((function(t,n){var r=e.mediaStream.getVideoTracks().length,i=0;e.mediaStream.getVideoTracks().forEach((function(n){e.mediaStream.removeTrack(n),n.stop(),++i>=r&&(e.isClosed=!0,e.parentElement.removeChild(e.surface),t())}))}))},e.prototype.getCapabilities=function(){return new Sr(this.getFirstTrackOrFail())},e}(),_r=function(){function e(e){this.mediaStream=e}return e.prototype.render=function(e,t,n){return mr(this,void 0,void 0,(function(){return yr(this,(function(r){return[2,Ar.create(e,this.mediaStream,t,n)]}))}))},e.create=function(t){return mr(this,void 0,void 0,(function(){var n;return yr(this,(function(r){switch(r.label){case 0:if(!navigator.mediaDevices)throw"navigator.mediaDevices not supported";return n={audio:!1,video:t},[4,navigator.mediaDevices.getUserMedia(n)];case 1:return[2,new e(r.sent())]}}))}))},e}(),Tr=function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{l(r.next(e))}catch(e){o(e)}}function s(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){e.done?i(e.value):function(e){return e instanceof n?e:new n((function(t){t(e)}))}(e.value).then(a,s)}l((r=r.apply(e,t||[])).next())}))},Er=function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(s){return function(l){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;o&&(o=0,s[0]&&(a=0)),a;)try{if(n=1,r&&(i=2&s[0]?r.return:s[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,s[1])).done)return i;switch(r=0,i&&(s=[2&s[0],i.value]),s[0]){case 0:case 1:i=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,r=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!(i=a.trys,(i=i.length>0&&i[i.length-1])||6!==s[0]&&2!==s[0])){a=0;continue}if(3===s[0]&&(!i||s[1]>i[0]&&s[1]<i[3])){a.label=s[1];break}if(6===s[0]&&a.label<i[1]){a.label=i[1],i=s;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(s);break}i[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(e){s=[6,e],r=0}finally{n=i=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,l])}}},xr=function(){function e(){}return e.failIfNotSupported=function(){return Tr(this,void 0,void 0,(function(){return Er(this,(function(t){if(!navigator.mediaDevices)throw"navigator.mediaDevices not supported";return[2,new e]}))}))},e.prototype.create=function(e){return Tr(this,void 0,void 0,(function(){return Er(this,(function(t){return[2,_r.create(e)]}))}))},e}(),Ir=function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{l(r.next(e))}catch(e){o(e)}}function s(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){e.done?i(e.value):function(e){return e instanceof n?e:new n((function(t){t(e)}))}(e.value).then(a,s)}l((r=r.apply(e,t||[])).next())}))},Or=function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(s){return function(l){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;o&&(o=0,s[0]&&(a=0)),a;)try{if(n=1,r&&(i=2&s[0]?r.return:s[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,s[1])).done)return i;switch(r=0,i&&(s=[2&s[0],i.value]),s[0]){case 0:case 1:i=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,r=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!(i=a.trys,(i=i.length>0&&i[i.length-1])||6!==s[0]&&2!==s[0])){a=0;continue}if(3===s[0]&&(!i||s[1]>i[0]&&s[1]<i[3])){a.label=s[1];break}if(6===s[0]&&a.label<i[1]){a.label=i[1],i=s;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(s);break}i[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(e){s=[6,e],r=0}finally{n=i=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,l])}}},Mr=function(){function e(){}return e.retrieve=function(){if(navigator.mediaDevices)return e.getCamerasFromMediaDevices();var t=MediaStreamTrack;return MediaStreamTrack&&t.getSources?e.getCamerasFromMediaStreamTrack():e.rejectWithError()},e.rejectWithError=function(){var t=rr.unableToQuerySupportedDevices();return e.isHttpsOrLocalhost()||(t=rr.insecureContextCameraQueryError()),Promise.reject(t)},e.isHttpsOrLocalhost=function(){if("https:"===location.protocol)return!0;var e=location.host.split(":")[0];return"127.0.0.1"===e||"localhost"===e},e.getCamerasFromMediaDevices=function(){return Ir(this,void 0,void 0,(function(){var e,t,n,r,i,o,a;return Or(this,(function(s){switch(s.label){case 0:return e=function(e){for(var t=0,n=e.getVideoTracks();t<n.length;t++){var r=n[t];r.enabled=!1,r.stop(),e.removeTrack(r)}},[4,navigator.mediaDevices.getUserMedia({audio:!1,video:!0})];case 1:return t=s.sent(),[4,navigator.mediaDevices.enumerateDevices()];case 2:for(n=s.sent(),r=[],i=0,o=n;i<o.length;i++)"videoinput"===(a=o[i]).kind&&r.push({id:a.deviceId,label:a.label});return e(t),[2,r]}}))}))},e.getCamerasFromMediaStreamTrack=function(){return new Promise((function(e,t){MediaStreamTrack.getSources((function(t){for(var n=[],r=0,i=t;r<i.length;r++){var o=i[r];"video"===o.kind&&n.push({id:o.id,label:o.label})}e(n)}))}))},e}();!function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.NOT_STARTED=1]="NOT_STARTED",e[e.SCANNING=2]="SCANNING",e[e.PAUSED=3]="PAUSED"}(nr||(nr={}));var Dr,kr=function(){function e(){this.state=nr.NOT_STARTED,this.onGoingTransactionNewState=nr.UNKNOWN}return e.prototype.directTransition=function(e){this.failIfTransitionOngoing(),this.validateTransition(e),this.state=e},e.prototype.startTransition=function(e){return this.failIfTransitionOngoing(),this.validateTransition(e),this.onGoingTransactionNewState=e,this},e.prototype.execute=function(){if(this.onGoingTransactionNewState===nr.UNKNOWN)throw"Transaction is already cancelled, cannot execute().";var e=this.onGoingTransactionNewState;this.onGoingTransactionNewState=nr.UNKNOWN,this.directTransition(e)},e.prototype.cancel=function(){if(this.onGoingTransactionNewState===nr.UNKNOWN)throw"Transaction is already cancelled, cannot cancel().";this.onGoingTransactionNewState=nr.UNKNOWN},e.prototype.getState=function(){return this.state},e.prototype.failIfTransitionOngoing=function(){if(this.onGoingTransactionNewState!==nr.UNKNOWN)throw"Cannot transition to a new state, already under transition"},e.prototype.validateTransition=function(e){switch(this.state){case nr.UNKNOWN:throw"Transition from unknown is not allowed";case nr.NOT_STARTED:this.failIfNewStateIs(e,[nr.PAUSED]);case nr.SCANNING:case nr.PAUSED:}},e.prototype.failIfNewStateIs=function(e,t){for(var n=0,r=t;n<r.length;n++){if(e===r[n])throw"Cannot transition from ".concat(this.state," to ").concat(e)}},e}(),Nr=function(){function e(e){this.stateManager=e}return e.prototype.startTransition=function(e){return this.stateManager.startTransition(e)},e.prototype.directTransition=function(e){this.stateManager.directTransition(e)},e.prototype.getState=function(){return this.stateManager.getState()},e.prototype.canScanFile=function(){return this.stateManager.getState()===nr.NOT_STARTED},e.prototype.isScanning=function(){return this.stateManager.getState()!==nr.NOT_STARTED},e.prototype.isStrictlyScanning=function(){return this.stateManager.getState()===nr.SCANNING},e.prototype.isPaused=function(){return this.stateManager.getState()===nr.PAUSED},e}(),Pr=function(){function e(){}return e.create=function(){return new Nr(new kr)},e}(),Rr=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Lr=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Rr(t,e),t.DEFAULT_WIDTH=300,t.DEFAULT_WIDTH_OFFSET=2,t.FILE_SCAN_MIN_HEIGHT=300,t.FILE_SCAN_HIDDEN_CANVAS_PADDING=100,t.MIN_QR_BOX_SIZE=50,t.SHADED_LEFT=1,t.SHADED_RIGHT=2,t.SHADED_TOP=3,t.SHADED_BOTTOM=4,t.SHADED_REGION_ELEMENT_ID="qr-shaded-region",t.VERBOSE=!1,t.BORDER_SHADER_DEFAULT_COLOR="#ffffff",t.BORDER_SHADER_MATCH_COLOR="rgb(90, 193, 56)",t}(Xn),$r=function(){function e(e,t){this.logger=t,this.fps=Lr.SCAN_DEFAULT_FPS,e?(e.fps&&(this.fps=e.fps),this.disableFlip=!0===e.disableFlip,this.qrbox=e.qrbox,this.aspectRatio=e.aspectRatio,this.videoConstraints=e.videoConstraints):this.disableFlip=Lr.DEFAULT_DISABLE_FLIP}return e.prototype.isMediaStreamConstraintsValid=function(){return this.videoConstraints?ar.isMediaStreamConstraintsValid(this.videoConstraints,this.logger):(this.logger.logError("Empty videoConstraints",!0),!1)},e.prototype.isShadedBoxEnabled=function(){return!er(this.qrbox)},e.create=function(t,n){return new e(t,n)},e}(),jr=function(){function e(e,t){if(this.element=null,this.canvasElement=null,this.scannerPausedUiElement=null,this.hasBorderShaders=null,this.borderShaders=null,this.qrMatch=null,this.renderedCamera=null,this.qrRegion=null,this.context=null,this.lastScanImageFile=null,this.isScanning=!1,!document.getElementById(e))throw"HTML Element with id=".concat(e," not found");var n;this.elementId=e,this.verbose=!1,"boolean"==typeof t?this.verbose=!0===t:t&&(n=t,this.verbose=!0===n.verbose,n.experimentalFeatures),this.logger=new Jn(this.verbose),this.qrcode=new pr(this.getSupportedFormats(t),this.getUseBarCodeDetectorIfSupported(n),this.verbose,this.logger),this.foreverScanTimeout,this.shouldScan=!0,this.stateManagerProxy=Pr.create()}return e.prototype.start=function(e,t,n,r){var i,o=this;if(!e)throw"cameraIdOrConfig is required";if(!n||"function"!=typeof n)throw"qrCodeSuccessCallback is required and should be a function.";i=r||(this.verbose?this.logger.log:function(){});var a=$r.create(t,this.logger);this.clearElement();var s=!1;a.videoConstraints&&(a.isMediaStreamConstraintsValid()?s=!0:this.logger.logError("'videoConstraints' is not val
2id 'MediaStreamConstraints, it will be ignored.'",!0));var l=s,c=document.getElementById(this.elementId);c.clientWidth?c.clientWidth:Lr.DEFAULT_WIDTH;c.style.position="relative",this.shouldScan=!0,this.element=c;var u=this,d=this.stateManagerProxy.startTransition(nr.SCANNING);return new Promise((function(t,r){var s=l?a.videoConstraints:u.createVideoConstraints(e);if(!s)return d.cancel(),void r("videoConstraints should be defined");var c={};l&&!a.aspectRatio||(c.aspectRatio=a.aspectRatio);var h={onRenderSurfaceReady:function(e,t){u.setupUi(e,t,a),u.isScanning=!0,u.foreverScan(a,n,i)}};xr.failIfNotSupported().then((function(e){e.create(s).then((function(e){return e.render(o.element,c,h).then((function(e){u.renderedCamera=e,d.execute(),t(null)})).catch((function(e){d.cancel(),r(e)}))})).catch((function(e){d.cancel(),r(rr.errorGettingUserMedia(e))}))})).catch((function(e){d.cancel(),r(rr.cameraStreamingNotSupported())}))}))},e.prototype.pause=function(e){if(!this.stateManagerProxy.isStrictlyScanning())throw"Cannot pause, scanner is not scanning.";this.stateManagerProxy.directTransition(nr.PAUSED),this.showPausedState(),(er(e)||!0!==e)&&(e=!1),e&&this.renderedCamera&&this.renderedCamera.pause()},e.prototype.resume=function(){if(!this.stateManagerProxy.isPaused())throw"Cannot result, scanner is not paused.";if(!this.renderedCamera)throw"renderedCamera doesn't exist while trying resume()";var e=this,t=function(){e.stateManagerProxy.directTransition(nr.SCANNING),e.hidePausedState()};this.renderedCamera.isPaused()?this.renderedCamera.resume((function(){t()})):t()},e.prototype.getState=function(){return this.stateManagerProxy.getState()},e.prototype.stop=function(){var e=this;if(!this.stateManagerProxy.isScanning())throw"Cannot stop, scanner is not running or paused.";var t=this.stateManagerProxy.startTransition(nr.NOT_STARTED);this.shouldScan=!1,this.foreverScanTimeout&&clearTimeout(this.foreverScanTimeout);var n=this;return this.renderedCamera.close().then((function(){return n.renderedCamera=null,n.element&&(n.element.removeChild(n.canvasElement),n.canvasElement=null),function(){if(e.element){var t=document.getElementById(Lr.SHADED_REGION_ELEMENT_ID);t&&e.element.removeChild(t)}}(),n.qrRegion&&(n.qrRegion=null),n.context&&(n.context=null),t.execute(),n.hidePausedState(),n.isScanning=!1,Promise.resolve()}))},e.prototype.scanFile=function(e,t){return this.scanFileV2(e,t).then((function(e){return e.decodedText}))},e.prototype.scanFileV2=function(e,t){var n=this;if(!(e&&e instanceof File))throw"imageFile argument is mandatory and should be instance of File. Use 'event.target.files[0]'.";if(er(t)&&(t=!0),!this.stateManagerProxy.canScanFile())throw"Cannot start file scan - ongoing camera scan";return new Promise((function(r,i){n.possiblyCloseLastScanImageFile(),n.clearElement(),n.lastScanImageFile=URL.createObjectURL(e);var o=new Image;o.onload=function(){var e=o.width,a=o.height,s=document.getElementById(n.elementId),l=s.clientWidth?s.clientWidth:Lr.DEFAULT_WIDTH,c=Math.max(s.clientHeight?s.clientHeight:a,Lr.FILE_SCAN_MIN_HEIGHT),u=n.computeCanvasDrawConfig(e,a,l,c);if(t){var d=n.createCanvasElement(l,c,"qr-canvas-visible");d.style.display="inline-block",s.appendChild(d);var h=d.getContext("2d");if(!h)throw"Unable to get 2d context from canvas";h.canvas.width=l,h.canvas.height=c,h.drawImage(o,0,0,e,a,u.x,u.y,u.width,u.height)}var f=Lr.FILE_SCAN_HIDDEN_CANVAS_PADDING,p=Math.max(o.width,u.width),g=Math.max(o.height,u.height),m=p+2*f,y=g+2*f,v=n.createCanvasElement(m,y);s.appendChild(v);var w=v.getContext("2d");if(!w)throw"Unable to get 2d context from canvas";w.canvas.width=m,w.canvas.height=y,w.drawImage(o,0,0,e,a,f,f,p,g);try{n.qrcode.decodeRobustlyAsync(v).then((function(e){r(Qn.createFromQrcodeResult(e))})).catch(i)}catch(e){i("QR code parse error, error = ".concat(e))}},o.onerror=i,o.onabort=i,o.onstalled=i,o.onsuspend=i,o.src=URL.createObjectURL(e)}))},e.prototype.clear=function(){this.clearElement()},e.getCameras=function(){return Mr.retrieve()},e.prototype.getRunningTrackCapabilities=function(){return this.getRenderedCameraOrFail().getRunningTrackCapabilities()},e.prototype.getRunningTrackSettings=function(){return this.getRenderedCameraOrFail().getRunningTrackSettings()},e.prototype.getRunningTrackCameraCapabilities=function(){return this.getRenderedCameraOrFail().getCapabilities()},e.prototype.applyVideoConstraints=function(e){if(!e)throw"videoConstaints is required argument.";if(!ar.isMediaStreamConstraintsValid(e,this.logger))throw"invalid videoConstaints passed, check logs for more details";return this.getRenderedCameraOrFail().applyVideoConstraints(e)},e.prototype.getRenderedCameraOrFail=function(){if(null==this.renderedCamera)throw"Scanning is not in running state, call this API only when QR code scanning using camera is in running state.";return this.renderedCamera}
vendor: 9,565 bytes, line 2
2,e.prototype.getSupportedFormats=function(e){var t=[Pn.QR_CODE,Pn.AZTEC,Pn.CODABAR,Pn.CODE_39,Pn.CODE_93,Pn.CODE_128,Pn.DATA_MATRIX,Pn.MAXICODE,Pn.ITF,Pn.EAN_13,Pn.EAN_8,Pn.PDF_417,Pn.RSS_14,Pn.RSS_EXPANDED,Pn.UPC_A,Pn.UPC_E,Pn.UPC_EAN_EXTENSION];if(!e||"boolean"==typeof e)return t;if(!e.formatsToSupport)return t;if(!Array.isArray(e.formatsToSupport))throw"configOrVerbosityFlag.formatsToSupport should be undefined or an array.";if(0===e.formatsToSupport.length)throw"Atleast 1 formatsToSupport is needed.";for(var n=[],r=0,i=e.formatsToSupport;r<i.length;r++){var o=i[r];qn(o)?n.push(o):this.logger.warn("Invalid format: ".concat(o," passed in config, ignoring."))}if(0===n.length)throw"None of formatsToSupport match supported values.";return n},e.prototype.getUseBarCodeDetectorIfSupported=function(e){if(er(e))return!0;if(!er(e.useBarCodeDetectorIfSupported))return!1!==e.useBarCodeDetectorIfSupported;if(er(e.experimentalFeatures))return!0;var t=e.experimentalFeatures;return!!er(t.useBarCodeDetectorIfSupported)||!1!==t.useBarCodeDetectorIfSupported},e.prototype.validateQrboxSize=function(e,t,n){var r=this,i=n.qrbox;this.validateQrboxConfig(i);var o,a=this.toQrdimensions(e,t,i),s=function(e){if(e<Lr.MIN_QR_BOX_SIZE)throw"minimum size of 'config.qrbox' dimension value is"+" ".concat(Lr.MIN_QR_BOX_SIZE,"px.")};s(a.width),s(a.height),a.width=((o=a.width)>e&&(r.logger.warn("`qrbox.width` or `qrbox` is larger than the width of the root element. The width will be truncated to the width of root element."),o=e),o)},e.prototype.validateQrboxConfig=function(e){if("number"!=typeof e&&"function"!=typeof e&&(void 0===e.width||void 0===e.height))throw"Invalid instance of QrDimensions passed for 'config.qrbox'. Both 'width' and 'height' should be set."},e.prototype.toQrdimensions=function(e,t,n){if("number"==typeof n)return{width:n,height:n};if("function"==typeof n)try{return n(e,t)}catch(e){throw new Error("qrbox config was passed as a function but it failed with unknown error"+e)}return n},e.prototype.setupUi=function(e,t,n){n.isShadedBoxEnabled()&&this.validateQrboxSize(e,t,n);var r=er(n.qrbox)?{width:e,height:t}:n.qrbox;this.validateQrboxConfig(r);var i=this.toQrdimensions(e,t,r);i.height>t&&this.logger.warn("[Html5Qrcode] config.qrbox has height that isgreater than the height of the video stream. Shading will be ignored");var o=n.isShadedBoxEnabled()&&i.height<=t,a={x:0,y:0,width:e,height:t},s=o?this.getShadedRegionBounds(e,t,i):a,l=this.createCanvasElement(s.width,s.height),c=l.getContext("2d",{willReadFrequently:!0});c.canvas.width=s.width,c.canvas.height=s.height,this.element.append(l),o&&this.possiblyInsertShadingElement(this.element,e,t,i),this.createScannerPausedUiElement(this.element),this.qrRegion=s,this.context=c,this.canvasElement=l},e.prototype.createScannerPausedUiElement=function(e){var t=document.createElement("div");t.innerText=rr.scannerPaused(),t.style.display="none",t.style.position="absolute",t.style.top="0px",t.style.zIndex="1",t.style.background="rgba(9, 9, 9, 0.46)",t.style.color="#FFECEC",t.style.textAlign="center",t.style.width="100%",e.appendChild(t),this.scannerPausedUiElement=t},e.prototype.scanContext=function(e,t){var n=this;return this.stateManagerProxy.isPaused()?Promise.resolve(!1):this.qrcode.decodeAsync(this.canvasElement).then((function(t){return e(t.text,Qn.createFromQrcodeResult(t)),n.possiblyUpdateShaders(!0),!0})).catch((function(e){n.possiblyUpdateShaders(!1);var r=rr.codeParseError(e);return t(r,Kn.createFrom(r)),!1}))},e.prototype.foreverScan=function(e,t,n){var r=this;if(this.shouldScan&&this.renderedCamera){var i=this.renderedCamera.getSurface(),o=i.videoWidth/i.clientWidth,a=i.videoHeight/i.clientHeight;if(!this.qrRegion)throw"qrRegion undefined when localMediaStream is ready.";var s=this.qrRegion.width*o,l=this.qrRegion.height*a,c=this.qrRegion.x*o,u=this.qrRegion.y*a;this.context.drawImage(i,c,u,s,l,0,0,this.qrRegion.width,this.qrRegion.height);var d=function(){r.foreverScanTimeout=setTimeout((function(){r.foreverScan(e,t,n)}),r.getTimeoutFps(e.fps))};this.scanContext(t,n).then((function(i){i||!0===e.disableFlip?d():(r.context.translate(r.context.canvas.width,0),r.context.scale(-1,1),r.scanContext(t,n).finally((function(){d()})))})).catch((function(e){r.logger.logError("Error happend while scanning context",e),d()}))}},e.prototype.createVideoConstraints=function(e){if("string"==typeof e)return{deviceId:{exact:e}};if("object"==typeof e){var t="facingMode",n="deviceId",r={user:!0,environment:!0},i="exact",o=function(e){if(e in r)return!0;throw"config has invalid 'facingMode' value = "+"'".concat(e,"'")},a=Object.keys(e);if(1!==a.length)throw"'cameraIdOrConfig' object should have exactly 1 key,"+" if passed as an object, found ".concat(a.length," keys");var s=Object.keys(e)[0];if(s!==t&&s!==n)throw"Only '".concat(t,"' and '").concat(n,"' ")+" are supported for 'cameraIdOrConfig'";if(s!==t){var l=e.deviceId;if("string"==typeof l)return{deviceId:l};if("object"==typeof l){if(i in l)return{deviceId:{exact:l["".concat(i)]}};throw"'deviceId' should be string or object with"+" ".concat(i," as key.")}throw"Invalid type of 'deviceId' = ".concat(typeof l)}var c=e.facingMode;if("string"==typeof c){if(o(c))return{facingMode:c}}else{if("object"!=typeof c)throw"Invalid type of 'facingMode' = ".concat(typeof c);if(!(i in c))throw"'facingMode' should be string or object with"+" ".concat(i," as key.");if(o(c["".concat(i)]))return{facingMode:{exact:c["".concat(i)]}}}}throw"Invalid type of 'cameraIdOrConfig' = ".concat(typeof e)},e.prototype.computeCanvasDrawConfig=function(e,t,n,r){if(e<=n&&t<=r)return{x:(n-e)/2,y:(r-t)/2,width:e,height:t};var i=e,o=t;return e>n&&(t*=n/e,e=n),t>r&&(e*=r/t,t=r),this.logger.log("Image downsampled from "+"".concat(i,"X").concat(o)+" to ".concat(e,"X").concat(t,".")),this.computeCanvasDrawConfig(e,t,n,r)},e.prototype.clearElement=function(){if(this.stateManagerProxy.isScanning())throw"Cannot clear while scan is ongoing, close it first.";var e=document.getElementById(this.elementId);e&&(e.innerHTML="")},e.prototype.possiblyUpdateShaders=function(e){this.qrMatch!==e&&(this.hasBorderShaders&&this.borderShaders&&this.borderShaders.length&&this.borderShaders.forEach((function(t){t.style.backgroundColor=e?Lr.BORDER_SHADER_MATCH_COLOR:Lr.BORDER_SHADER_DEFAULT_COLOR})),this.qrMatch=e)},e.prototype.possiblyCloseLastScanImageFile=function(){this.lastScanImageFile&&(URL.revokeObjectURL(this.lastScanImageFile),this.lastScanImageFile=null)},e.prototype.createCanvasElement=function(e,t,n){var r=e,i=t,o=document.createElement("canvas");return o.style.width="".concat(r,"px"),o.style.height="".concat(i,"px"),o.style.display="none",o.id=er(n)?"qr-canvas":n,o},e.prototype.getShadedRegionBounds=function(e,t,n){if(n.width>e||n.height>t)throw"'config.qrbox' dimensions should not be greater than the dimensions of the root HTML element.";return{x:(e-n.width)/2,y:(t-n.height)/2,width:n.width,height:n.height}},e.prototype.possiblyInsertShadingElement=function(e,t,n,r){if(!(t-r.width<1||n-r.height<1)){var i=document.createElement("div");i.style.position="absolute";var o=(t-r.width)/2,a=(n-r.height)/2;if(i.style.borderLeft="".concat(o,"px solid rgba(0, 0, 0, 0.48)"),i.style.borderRight="".concat(o,"px solid rgba(0, 0, 0, 0.48)"),i.style.borderTop="".concat(a,"px solid rgba(0, 0, 0, 0.48)"),i.style.borderBottom="".concat(a,"px solid rgba(0, 0, 0, 0.48)"),i.style.boxSizing="border-box",i.style.top="0px",i.style.bottom="0px",i.style.left="0px",i.style.right="0px",i.id="".concat(Lr.SHADED_REGION_ELEMENT_ID),t-r.width<11||n-r.height<11)this.hasBorderShaders=!1;else{var s=40;this.insertShaderBorders(i,s,5,-5,null,0,!0),this.insertShaderBorders(i,s,5,-5,null,0,!1),this.insertShaderBorders(i,s,5,null,-5,0,!0),this.insertShaderBorders(i,s,5,null,-5,0,!1),this.insertShaderBorders(i,5,45,-5,null,-5,!0),this.insertShaderBorders(i,5,45,null,-5,-5,!0),this.insertShaderBorders(i,5,45,-5,null,-5,!1),this.insertShaderBorders(i,5,45,null,-5,-5,!1),this.hasBorderShaders=!0}e.append(i)}},e.prototype.insertShaderBorders=function(e,t,n,r,i,o,a){var s=document.createElement("div");s.style.position="absolute",s.style.backgroundColor=Lr.BORDER_SHADER_DEFAULT_COLOR,s.style.width="".concat(t,"px"),s.style.height="".concat(n,"px"),null!==r&&(s.style.top="".concat(r,"px")),null!==i&&(s.style.bottom="".concat(i,"px")),a?s.style.left="".concat(o,"px"):s.style.right="".concat(o,"px"),this.borderShaders||(this.borderShaders=[]),this.borderShaders.push(s),e.appendChild(s)},e.prototype.showPausedState=function(){if(!this.scannerPausedUiElement)throw"[internal error] scanner paused UI element not found";this.scannerPausedUiElement.style.display="block"},e.prototype.hidePausedState=function(){if(!this.scannerPausedUiElement)throw"[internal error] scanner paused UI element not found";this.scannerPausedUiElement.style.display="none"},e.prototype.getTimeoutFps=function(e){return 1e3/e},e}(),Br="data:image/svg+xml;base64,",Fr=Br+"PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzNzEuNjQzIDM3MS42NDMiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDM3MS42NDMgMzcxLjY0MyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+PHBhdGggZD0iTTEwNS4wODQgMzguMjcxaDE2My43Njh2MjBIMTA1LjA4NHoiLz48cGF0aCBkPSJNMzExLjU5NiAxOTAuMTg5Yy03LjQ0MS05LjM0Ny0xOC40MDMtMTYuMjA2LTMyLjc0My0yMC41MjJWMzBjMC0xNi41NDItMTMuNDU4LTMwLTMwLTMwSDEyNS4wODRjLTE2LjU0MiAwLTMwIDEzLjQ1OC0zMCAzMHYxMjAuMTQzaC04LjI5NmMtMTYuNTQyIDAtMzAgMTMuNDU4LTMwIDMwdjEuMzMzYTI5LjgwNCAyOS44MDQgMCAwIDAgNC42MDMgMTUuOTM5Yy03LjM0IDUuNDc0LTEyLjEwMyAxNC4yMjEtMTIuMTAzIDI0LjA2MXYxLjMzM2MwI
2DkuODQgNC43NjMgMTguNTg3IDEyLjEwMyAyNC4wNjJhMjkuODEgMjkuODEgMCAwIDAtNC42MDMgMTUuOTM4djEuMzMzYzAgMTYuNTQyIDEzLjQ1OCAzMCAzMCAzMGg4LjMyNGMuNDI3IDExLjYzMSA3LjUwMyAyMS41ODcgMTcuNTM0IDI2LjE3Ny45MzEgMTAuNTAzIDQuMDg0IDMwLjE4NyAxNC43NjggNDUuNTM3YTkuOTg4IDkuOTg4IDAgMCAwIDguMjE2IDQuMjg4IDkuOTU4IDkuOTU4IDAgMCAwIDUuNzA0LTEuNzkzYzQuNTMzLTMuMTU1IDUuNjUtOS4zODggMi40OTUtMTMuOTIxLTYuNzk4LTkuNzY3LTkuNjAyLTIyLjYwOC0xMC43Ni0zMS40aDgyLjY4NWMuMjcyLjQxNC41NDUuODE4LjgxNSAxLjIxIDMuMTQyIDQuNTQxIDkuMzcyIDUuNjc5IDEzLjkxMyAyLjUzNCA0LjU0Mi0zLjE0MiA1LjY3Ny05LjM3MSAyLjUzNS0xMy45MTMtMTEuOTE5LTE3LjIyOS04Ljc4Ny0zNS44ODQgOS41ODEtNTcuMDEyIDMuMDY3LTIuNjUyIDEyLjMwNy0xMS43MzIgMTEuMjE3LTI0LjAzMy0uODI4LTkuMzQzLTcuMTA5LTE3LjE5NC0xOC42NjktMjMuMzM3YTkuODU3IDkuODU3IDAgMCAwLTEuMDYxLS40ODZjLS40NjYtLjE4Mi0xMS40MDMtNC41NzktOS43NDEtMTUuNzA2IDEuMDA3LTYuNzM3IDE0Ljc2OC04LjI3MyAyMy43NjYtNy42NjYgMjMuMTU2IDEuNTY5IDM5LjY5OCA3LjgwMyA0Ny44MzYgMTguMDI2IDUuNzUyIDcuMjI1IDcuNjA3IDE2LjYyMyA1LjY3MyAyOC43MzMtLjQxMyAyLjU4NS0uODI0IDUuMjQxLTEuMjQ1IDcuOTU5LTUuNzU2IDM3LjE5NC0xMi45MTkgODMuNDgzLTQ5Ljg3IDExNC42NjEtNC4yMjEgMy41NjEtNC43NTYgOS44Ny0xLjE5NCAxNC4wOTJhOS45OCA5Ljk4IDAgMCAwIDcuNjQ4IDMuNTUxIDkuOTU1IDkuOTU1IDAgMCAwIDYuNDQ0LTIuMzU4YzQyLjY3Mi0zNi4wMDUgNTAuODAyLTg4LjUzMyA1Ni43MzctMTI2Ljg4OC40MTUtMi42ODQuODIxLTUuMzA5IDEuMjI5LTcuODYzIDIuODM0LTE3LjcyMS0uNDU1LTMyLjY0MS05Ljc3Mi00NC4zNDV6bS0yMzIuMzA4IDQyLjYyYy01LjUxNCAwLTEwLTQuNDg2LTEwLTEwdi0xLjMzM2MwLTUuNTE0IDQuNDg2LTEwIDEwLTEwaDE1djIxLjMzM2gtMTV6bS0yLjUtNTIuNjY2YzAtNS41MTQgNC40ODYtMTAgMTAtMTBoNy41djIxLjMzM2gtNy41Yy01LjUxNCAwLTEwLTQuNDg2LTEwLTEwdi0xLjMzM3ptMTcuNSA5My45OTloLTcuNWMtNS41MTQgMC0xMC00LjQ4Ni0xMC0xMHYtMS4zMzNjMC01LjUxNCA0LjQ4Ni0xMCAxMC0xMGg3LjV2MjEuMzMzem0zMC43OTYgMjguODg3Yy01LjUxNCAwLTEwLTQuNDg2LTEwLTEwdi04LjI3MWg5MS40NTdjLS44NTEgNi42NjgtLjQzNyAxMi43ODcuNzMxIDE4LjI3MWgtODIuMTg4em03OS40ODItMTEzLjY5OGMtMy4xMjQgMjAuOTA2IDEyLjQyNyAzMy4xODQgMjEuNjI1IDM3LjA0IDUuNDQxIDIuOTY4IDcuNTUxIDUuNjQ3IDcuNzAxIDcuMTg4LjIxIDIuMTUtMi41NTMgNS42ODQtNC40NzcgNy4yNTEtLjQ4Mi4zNzgtLjkyOS44LTEuMzM1IDEuMjYxLTYuOTg3IDcuOTM2LTExLjk4MiAxNS41Mi0xNS40MzIgMjIuNjg4aC05Ny41NjRWMzBjMC01LjUxNCA0LjQ4Ni0xMCAxMC0xMGgxMjMuNzY5YzUuNTE0IDAgMTAgNC40ODYgMTAgMTB2MTM1LjU3OWMtMy4wMzItLjM4MS02LjE1LS42OTQtOS4zODktLjkxNC0yNS4xNTktMS42OTQtNDIuMzcgNy43NDgtNDQuODk4IDI0LjY2NnoiLz48cGF0aCBkPSJNMTc5LjEyOSA4My4xNjdoLTI0LjA2YTUgNSAwIDAgMC01IDV2MjQuMDYxYTUgNSAwIDAgMCA1IDVoMjQuMDZhNSA1IDAgMCAwIDUtNVY4OC4xNjdhNSA1IDAgMCAwLTUtNXpNMTcyLjYyOSAxNDIuODZoLTEyLjU2VjEzMC44YTUgNSAwIDEgMC0xMCAwdjE3LjA2MWE1IDUgMCAwIDAgNSA1aDE3LjU2YTUgNSAwIDEgMCAwLTEwLjAwMXpNMjE2LjU2OCA4My4xNjdoLTI0LjA2YTUgNSAwIDAgMC01IDV2MjQuMDYxYTUgNSAwIDAgMCA1IDVoMjQuMDZhNSA1IDAgMCAwIDUtNVY4OC4xNjdhNSA1IDAgMCAwLTUtNXptLTUgMjQuMDYxaC0xNC4wNlY5My4xNjdoMTQuMDZ2MTQuMDYxek0yMTEuNjY5IDEyNS45MzZIMTk3LjQxYTUgNSAwIDAgMC01IDV2MTQuMjU3YTUgNSAwIDAgMCA1IDVoMTQuMjU5YTUgNSAwIDAgMCA1LTV2LTE0LjI1N2E1IDUgMCAwIDAtNS01eiIvPjwvc3ZnPg==",Hr=Br+"PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA1OS4wMTggNTkuMDE4IiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCA1OS4wMTggNTkuMDE4IiB4bWw6c3BhY2U9InByZXNlcnZlIj48cGF0aCBkPSJtNTguNzQxIDU0LjgwOS01Ljk2OS02LjI0NGExMC43NCAxMC43NCAwIDAgMCAyLjgyLTcuMjVjMC01Ljk1My00Ljg0My0xMC43OTYtMTAuNzk2LTEwLjc5NlMzNCAzNS4zNjEgMzQgNDEuMzE0IDM4Ljg0MyA1Mi4xMSA0NC43OTYgNTIuMTFjMi40NDEgMCA0LjY4OC0uODI0IDYuNDk5LTIuMTk2bDYuMDAxIDYuMjc3YS45OTguOTk4IDAgMCAwIDEuNDE0LjAzMiAxIDEgMCAwIDAgLjAzMS0xLjQxNHpNMzYgNDEuMzE0YzAtNC44NSAzLjk0Ni04Ljc5NiA4Ljc5Ni04Ljc5NnM4Ljc5NiAzLjk0NiA4Ljc5NiA4Ljc5Ni0zLjk0NiA4Ljc5Ni04Ljc5NiA4Ljc5NlMzNiA0Ni4xNjQgMzYgNDEuMzE0ek0xMC40MzEgMTYuMDg4YzAgMy4wNyAyLjQ5OCA1LjU2OCA1LjU2OSA1LjU2OHM1LjU2OS0yLjQ5OCA1LjU2OS01LjU2OGMwLTMuMDcxLTIuNDk4LTUuNTY5LTUuNTY5LTUuNTY5cy01LjU2OSAyLjQ5OC01LjU2OSA1LjU2OXptOS4xMzggMGMwIDEuOTY4LTEuNjAyIDMuNTY4LTMuNTY5IDMuNTY4cy0zLjU2OS0xLjYwMS0zLjU2OS0zLjU2OCAxLjYwMi0zLjU2OSAzLjU2OS0zLjU2OSAzLjU2OSAxLjYwMSAzLjU2OSAzLjU2OXoiLz48cGF0aCBkPSJtMzAuODgyIDI4Ljk4NyA5LjE4LTEwLjA1NCAxMS4yNjIgMTAuMzIzYTEgMSAwIDAgMCAxLjM1MS0xLjQ3NWwtMTItMTFhMSAxIDAgMCAwLTEuNDE0LjA2M2wtOS43OTQgMTAuNzI3LTQuNzQzLTQuNzQzYTEuMDAzIDEuMDAzIDAgMCAwLTEuMzY4LS4wNDRMNi4zMzkgMzcuNzY4YTEgMSAwIDEgMCAxLjMyMiAxLjUwMWwxNi4zMTMtMTQuMzYyIDcuMzE5IDcuMzE4YS45OTkuOTk5IDAgMSAwIDEuNDE0LTEuNDE0bC0xLjgyNS0xLjgyNHoiLz48cGF0aCBkPSJNMzAgNDYuNTE4SDJ2LTQyaDU0djI4YTEgMSAwIDEgMCAyIDB2LTI5YTEgMSAwIDAgMC0xLTFIMWExIDEgMCAwIDAtMSAxdjQ0YTEgMSAwIDAgMCAxIDFoMjlhMSAxIDAgMSAwIDAtMnoiLz48L3N2Zz4=",Ur=Br+"PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA0NjAgNDYwIiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCA0NjAgNDYwIiB4bWw6c3BhY2U9InByZXNlcnZlIj48cGF0aCBkPSJNMjMwIDBDMTAyLjk3NSAwIDAgMTAyLjk3NSAwIDIzMHMxMDIuOTc1IDIzMCAyMzAgMjMwIDIzMC0x
2MDIuOTc0IDIzMC0yMzBTMzU3LjAyNSAwIDIzMCAwem0zOC4zMzMgMzc3LjM2YzAgOC42NzYtNy4wMzQgMTUuNzEtMTUuNzEgMTUuNzFoLTQzLjEwMWMtOC42NzYgMC0xNS43MS03LjAzNC0xNS43MS0xNS43MVYyMDIuNDc3YzAtOC42NzYgNy4wMzMtMTUuNzEgMTUuNzEtMTUuNzFoNDMuMTAxYzguNjc2IDAgMTUuNzEgNy4wMzMgMTUuNzEgMTUuNzFWMzc3LjM2ek0yMzAgMTU3Yy0yMS41MzkgMC0zOS0xNy40NjEtMzktMzlzMTcuNDYxLTM5IDM5LTM5IDM5IDE3LjQ2MSAzOSAzOS0xNy40NjEgMzktMzkgMzl6Ii8+PC9zdmc+",zr=function(){function e(){}return e.createDefault=function(){return{hasPermission:!1,lastUsedCameraId:null}},e}(),Vr=function(){function e(){this.data=zr.createDefault();var t=localStorage.getItem(e.LOCAL_STORAGE_KEY);t?this.data=JSON.parse(t):this.reset()}return e.prototype.hasCameraPermissions=function(){return this.data.hasPermission},e.prototype.getLastUsedCameraId=function(){return this.data.lastUsedCameraId},e.prototype.setHasPermission=function(e){this.data.hasPermission=e,this.flush()},e.prototype.setLastUsedCameraId=function(e){this.data.lastUsedCameraId=e,this.flush()},e.prototype.resetLastUsedCameraId=function(){this.data.lastUsedCameraId=null,this.flush()},e.prototype.reset=function(){this.data=zr.createDefault(),this.flush()},e.prototype.flush=function(){localStorage.setItem(e.LOCAL_STORAGE_KEY,JSON.stringify(this.data))},e.LOCAL_STORAGE_KEY="HTML5_QRCODE_DATA",e}(),Wr=function(){function e(){this.infoDiv=document.createElement("div")}return e.prototype.renderInto=function(e){this.infoDiv.style.position="absolute",this.infoDiv.style.top="10px",this.infoDiv.style.right="10px",this.infoDiv.style.zIndex="2",this.infoDiv.style.display="none",this.infoDiv.style.padding="5pt",this.infoDiv.style.border="1px solid #171717",this.infoDiv.style.fontSize="10pt",this.infoDiv.style.background="rgb(0 0 0 / 69%)",this.infoDiv.style.borderRadius="5px",this.infoDiv.style.textAlign="center",this.infoDiv.style.fontWeight="400",this.infoDiv.style.color="white",this.infoDiv.innerText=or.poweredBy();var t=document.createElement("a");t.innerText="ScanApp",t.href="https://scanapp.org",t.target="new",t.style.color="white",this.infoDiv.appendChild(t);var n=document.createElement("br"),r=document.createElement("br");this.infoDiv.appendChild(n),this.infoDiv.appendChild(r);var i=document.createElement("a");i.innerText=or.reportIssues(),i.href="https://github.com/mebjas/html5-qrcode/issues",i.target="new",i.style.color="white",this.infoDiv.appendChild(i),e.appendChild(this.infoDiv)},e.prototype.show=function(){this.infoDiv.style.display="block"},e.prototype.hide=function(){this.infoDiv.style.display="none"},e}(),Gr=function(){function e(e,t){this.isShowingInfoIcon=!0,this.onTapIn=e,this.onTapOut=t,this.infoIcon=document.createElement("img")}return e.prototype.renderInto=function(e){var t=this;this.infoIcon.alt="Info icon",this.infoIcon.src=Ur,this.infoIcon.style.position="absolute",this.infoIcon.style.top="4px",this.infoIcon.style.right="4px",this.infoIcon.style.opacity="0.6",this.infoIcon.style.cursor="pointer",this.infoIcon.style.zIndex="2",this.infoIcon.style.width="16px",this.infoIcon.style.height="16px",this.infoIcon.onmouseover=function(e){return t.onHoverIn()},this.infoIcon.onmouseout=function(e){return t.onHoverOut()},this.infoIcon.onclick=function(e){return t.onClick()},e.appendChild(this.infoIcon)},e.prototype.onHoverIn=function(){this.isShowingInfoIcon&&(this.infoIcon.style.opacity="1")},e.prototype.onHoverOut=function(){this.isShowingInfoIcon&&(this.infoIcon.style.opacity="0.6")},e.prototype.onClick=function(){this.isShowingInfoIcon?(this.isShowingInfoIcon=!1,this.onTapIn(),this.infoIcon.src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAAQgAAAEIBarqQRAAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAAE1SURBVDiNfdI7S0NBEAXgLya1otFgpbYSbISAgpXYi6CmiH9KCAiChaVga6OiWPgfRDQ+0itaGVNosXtluWwcuMzePfM4M3sq8lbHBubwg1dc4m1E/J/N4ghDPOIsfk/4xiEao5KX0McFljN4C9d4QTPXuY99jP3DsIoDPGM6BY5i5yI5R7O4q+ImFkJY2DCh3cAH2klyB+9J1xUMMAG7eCh1a+Mr+k48b5diXrFVwwLuS+BJ9MfR7+G0FHOHhTHhnXNWS87VDF4pcnfQK4Ep7XScNLmPTZgURNKKYENYWDpzW1BhscS1WHS8CDgURFJQrWcoF3c13KKbgg1BYQfy8xZWEzTTw1QZbAoKu8FqJnktdu5hcVSHmchiILzzuaDQvjBzV2m8yohCE1jHfPx/xhU+y4G/D75ELlRJsSYAAAAASUVORK5CYII=",this.infoIcon.style.opacity="1"):(this.isShowingInfoIcon=!0,this.onTapOut(),this.infoIcon.src=Ur,this.infoIcon.style.opacity="0.6")},e}(),qr=function(){function e(){var e=this;this.infoDiv=new Wr,this.infoIcon=new Gr((function(){e.infoDiv.show()}),(function(){e.infoDiv.hide()}))}return e.prototype.renderInto=function(e){this.infoDiv.renderInto(e),this.infoIcon.renderInto(e)},e}
vendor: 28,115 bytes, line 2
2(),Yr=function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{l(r.next(e))}catch(e){o(e)}}function s(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){e.done?i(e.value):function(e){return e instanceof n?e:new n((function(t){t(e)}))}(e.value).then(a,s)}l((r=r.apply(e,t||[])).next())}))},Xr=function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(s){return function(l){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;o&&(o=0,s[0]&&(a=0)),a;)try{if(n=1,r&&(i=2&s[0]?r.return:s[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,s[1])).done)return i;switch(r=0,i&&(s=[2&s[0],i.value]),s[0]){case 0:case 1:i=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,r=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!(i=a.trys,(i=i.length>0&&i[i.length-1])||6!==s[0]&&2!==s[0])){a=0;continue}if(3===s[0]&&(!i||s[1]>i[0]&&s[1]<i[3])){a.label=s[1];break}if(6===s[0]&&a.label<i[1]){a.label=i[1],i=s;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(s);break}i[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(e){s=[6,e],r=0}finally{n=i=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,l])}}},Zr=function(){function e(){}return e.hasPermissions=function(){return Yr(this,void 0,void 0,(function(){var e,t,n,r;return Xr(this,(function(i){switch(i.label){case 0:return[4,navigator.mediaDevices.enumerateDevices()];case 1:for(e=i.sent(),t=0,n=e;t<n.length;t++)if("videoinput"===(r=n[t]).kind&&r.label)return[2,!0];return[2,!1]}}))}))},e}(),Qr=function(){function e(e){this.supportedScanTypes=this.validateAndReturnScanTypes(e)}return e.prototype.getDefaultScanType=function(){return this.supportedScanTypes[0]},e.prototype.hasMoreThanOneScanType=function(){return this.supportedScanTypes.length>1},e.prototype.isCameraScanRequired=function(){for(var t=0,n=this.supportedScanTypes;t<n.length;t++){var r=n[t];if(e.isCameraScanType(r))return!0}return!1},e.isCameraScanType=function(e){return e===Wn.SCAN_TYPE_CAMERA},e.isFileScanType=function(e){return e===Wn.SCAN_TYPE_FILE},e.prototype.validateAndReturnScanTypes=function(e){if(!e||0===e.length)return Xn.DEFAULT_SUPPORTED_SCAN_TYPE;var t=Xn.DEFAULT_SUPPORTED_SCAN_TYPE.length;if(e.length>t)throw"Max ".concat(t," values expected for ")+"supportedScanTypes";for(var n=0,r=e;n<r.length;n++){var i=r[n];if(!Xn.DEFAULT_SUPPORTED_SCAN_TYPE.includes(i))throw"Unsupported scan type ".concat(i)}return e},e}(),Kr=function(){function e(){}return e.ALL_ELEMENT_CLASS="html5-qrcode-element",e.CAMERA_PERMISSION_BUTTON_ID="html5-qrcode-button-camera-permission",e.CAMERA_START_BUTTON_ID="html5-qrcode-button-camera-start",e.CAMERA_STOP_BUTTON_ID="html5-qrcode-button-camera-stop",e.TORCH_BUTTON_ID="html5-qrcode-button-torch",e.CAMERA_SELECTION_SELECT_ID="html5-qrcode-select-camera",e.FILE_SELECTION_BUTTON_ID="html5-qrcode-button-file-selection",e.ZOOM_SLIDER_ID="html5-qrcode-input-range-zoom",e.SCAN_TYPE_CHANGE_ANCHOR_ID="html5-qrcode-anchor-scan-type-change",e.TORCH_BUTTON_CLASS_TORCH_ON="html5-qrcode-button-torch-on",e.TORCH_BUTTON_CLASS_TORCH_OFF="html5-qrcode-button-torch-off",e}(),Jr=function(){function e(){}return e.createElement=function(e,t){var n=document.createElement(e);return n.id=t,n.classList.add(Kr.ALL_ELEMENT_CLASS),"button"===e&&n.setAttribute("type","button"),n},e}(),ei=function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{l(r.next(e))}catch(e){o(e)}}function s(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){e.done?i(e.value):function(e){return e instanceof n?e:new n((function(t){t(e)}))}(e.value).then(a,s)}l((r=r.apply(e,t||[])).next())}))},ti=function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(s){return function(l){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;o&&(o=0,s[0]&&(a=0)),a;)try{if(n=1,r&&(i=2&s[0]?r.return:s[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,s[1])).done)return i;switch(r=0,i&&(s=[2&s[0],i.value]),s[0]){case 0:case 1:i=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,r=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!(i=a.trys,(i=i.length>0&&i[i.length-1])||6!==s[0]&&2!==s[0])){a=0;continue}if(3===s[0]&&(!i||s[1]>i[0]&&s[1]<i[3])){a.label=s[1];break}if(6===s[0]&&a.label<i[1]){a.label=i[1],i=s;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(s);break}i[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(e){s=[6,e],r=0}finally{n=i=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,l])}}},ni=function(){function e(e,t,n){this.isTorchOn=!1,this.torchCapability=e,this.buttonController=t,this.onTorchActionFailureCallback=n}return e.prototype.isTorchEnabled=function(){return this.isTorchOn},e.prototype.flipState=function(){return ei(this,void 0,void 0,(function(){var e,t;return ti(this,(function(n){switch(n.label){case 0:this.buttonController.disable(),e=!this.isTorchOn,n.label=1;case 1:return n.trys.push([1,3,,4]),[4,this.torchCapability.apply(e)];case 2:return n.sent(),this.updateUiBasedOnLatestSettings(this.torchCapability.value(),e),[3,4];case 3:return t=n.sent(),this.propagateFailure(e,t),this.buttonController.enable(),[3,4];case 4:return[2]}}))}))},e.prototype.updateUiBasedOnLatestSettings=function(e,t){e===t?(this.buttonController.setText(t?ir.torchOffButton():ir.torchOnButton()),this.isTorchOn=t):this.propagateFailure(t),this.buttonController.enable()},e.prototype.propagateFailure=function(e,t){var n=e?ir.torchOnFailedMessage():ir.torchOffFailedMessage();t&&(n+="; Error = "+t),this.onTorchActionFailureCallback(n)},e.prototype.reset=function(){this.isTorchOn=!1},e}(),ri=function(){function e(e,t){this.onTorchActionFailureCallback=t,this.torchButton=Jr.createElement("button",Kr.TORCH_BUTTON_ID),this.torchController=new ni(e,this,t)}return e.prototype.render=function(e,t){var n=this;this.torchButton.innerText=ir.torchOnButton(),this.torchButton.style.display=t.display,this.torchButton.style.marginLeft=t.marginLeft;var r=this;this.torchButton.addEventListener("click",(function(e){return ei(n,void 0,void 0,(function(){return ti(this,(function(e){switch(e.label){case 0:return[4,r.torchController.flipState()];case 1:return e.sent(),r.torchController.isTorchEnabled()?(r.torchButton.classList.remove(Kr.TORCH_BUTTON_CLASS_TORCH_OFF),r.torchButton.classList.add(Kr.TORCH_BUTTON_CLASS_TORCH_ON)):(r.torchButton.classList.remove(Kr.TORCH_BUTTON_CLASS_TORCH_ON),r.torchButton.classList.add(Kr.TORCH_BUTTON_CLASS_TORCH_OFF)),[2]}}))}))})),e.appendChild(this.torchButton)},e.prototype.updateTorchCapability=function(e){this.torchController=new ni(e,this,this.onTorchActionFailureCallback)},e.prototype.getTorchButton=function(){return this.torchButton},e.prototype.hide=function(){this.torchButton.style.display="none"},e.prototype.show=function(){this.torchButton.style.display="inline-block"},e.prototype.disable=function(){this.torchButton.disabled=!0},e.prototype.enable=function(){this.torchButton.disabled=!1},e.prototype.setText=function(e){this.torchButton.innerText=e},e.prototype.reset=function(){this.torchButton.innerText=ir.torchOnButton(),this.torchController.reset()},e.create=function(t,n,r,i){var o=new e(n,i);return o.render(t,r),o},e}(),ii=function(){function e(e,t,n){this.fileBasedScanRegion=this.createFileBasedScanRegion(),this.fileBasedScanRegion.style.display=t?"block":"none",e.appendChild(this.fileBasedScanRegion);var r=document.createElement("label");r.setAttribute("for",this.getFileScanInputId()),r.style.display="inline-block",this.fileBasedScanRegion.appendChild(r),this.fileSelectionButton=Jr.createElement("button",Kr.FILE_SELECTION_BUTTON_ID),this.setInitialValueToButton(),this.fileSelectionButton.addEventListener("click",(function(e){r.click()})),r.append(this.fileSelectionButton),this.fileScanInput=Jr.createElement("input",this.getFileScanInputId()),this.fileScanInput.type="file",this.fileScanInput.accept="image/*",this.fileScanInput.style.display="none",r.appendChild(this.fileScanInput);var i=this;this.fileScanInput.addEventListener("change",(function(e){if(null!=e&&null!=e.target){var t=e.target;if(!t.files||0!==t.files.length){var r=t.files[0],o=r.name;i.setImageNameToButton(o),n(r)}}}));var o=this.createDragAndDropMessage();this.fileBasedScanRegion.appendChild(o),this.fileBasedScanRegion.addEventListener("dragenter",(function(e){i.fileBasedScanRegion.style.border=i.fileBasedScanRegionActiveBorder(),e.stopPropagation(),e.preventDefault()})),this.fileBasedScanRegion.addEventListener("dragleave",(function(e){i.fileBasedScanRegion.style.border=i.fileBasedScanRegionDefaultBorder(),e.stopPropagation(),e.preventDefault()})),this.fileBasedScanRegion.addEventListener("dragover",(function(e){i.fileBasedScanRegion.style.border=i.fileBasedScanRegionActiveBorder(),e.stopPropagation(),e.preventDefault()})),this.fileBasedScanRegion.addEventListener("drop",(function(e){e.stopPropagation(),e.preventDefault(),i.fileBasedScanRegion.style.border=i.fileBasedScanRegionDefaultBorder();var t=e.dataTransfer;if(t){var r=t.files;if(!r||0===r.length)return;for(var a=!1,s=0;s<r.length;++s){var l=r.item(s);if(l){if(l.type.match(/image.*/)){a=!0;var c=l.name;i.setImageNameToButton(c),n(l),o.innerText=ir.dragAndDropMessage();break}}}a||(o.innerText=ir.dragAndDropMessageOnlyImages())}}))}return e.prototype.hide=function(){this.fileBasedScanRegion.style.display="none",this.fileScanInput.disabled=!0},e.prototype.show=function(){this.fileBasedScanRegion.style.display="block",this.fileScanInput.disabled=!1},e.prototype.isShowing=function(){return"block"===this.fileBasedScanRegion.style.display},e.prototype.resetValue=function(){this.fileScanInput.value="",this.setInitialValueToButton()},e.prototype.createFileBasedScanRegion=function(){var e=document.createElement("div");return e.style.textAlign="center",e.style.margin="auto",e.style.width="80%",e.style.maxWidth="600px",e.style.border=this.fileBasedScanRegionDefaultBorder(),e.style.padding="10px",e.style.marginBottom="10px",e},e.prototype.fileBasedScanRegionDefaultBorder=function(){return"6px dashed #ebebeb"},e.prototype.fileBasedScanRegionActiveBorder=function(){return"6px dashed rgb(153 151 151)"},e.prototype.createDragAndDropMessage=function(){var e=document.createElement("div");return e.innerText=ir.dragAndDropMessage(),e.style.fontWeight="400",e},e.prototype.setImageNameToButton=function(e){if(e.length>20){var t=e.substring(0,8),n=e.length,r=e.substring(n-8,n);e="".concat(t,"....").concat(r)}var i=ir.fileSelectionChooseAnother()+" - "+e;this.fileSelectionButton.innerText=i},e.prototype.setInitialValueToButton=function(){var e=ir.fileSelectionChooseImage()+" - "+ir.fileSelectionNoImageSelected();this.fileSelectionButton.innerText=e},e.prototype.getFileScanInputId=function(){return"html5-qrcode-private-filescan-input"},e.create=function(t,n,r){return new e(t,n,r)},e}(),oi=function(){function e(e){this.selectElement=Jr.createElement("select",Kr.CAMERA_SELECTION_SELECT_ID),this.cameras=e,this.options=[]}return e.prototype.render=function(e){var t=document.createElement("span");t.style.marginRight="10px";var n=this.cameras.length;if(0===n)throw new Error("No cameras found");if(1===n)t.style.display="none";else{var r=ir.selectCamera();t.innerText="".concat(r," (").concat(this.cameras.length,")  ")}for(var i=1,o=0,a=this.cameras;o<a.length;o++){var s=a[o],l=s.id,c=null==s.label?l:s.label;c&&""!==c||(c=[ir.anonymousCameraPrefix(),i++].join(" "));var u=document.createElement("option");u.value=l,u.innerText=c,this.options.push(u),this.selectElement.appendChild(u)}t.appendChild(this.selectElement),e.appendChild(t)},e.prototype.disable=function(){this.selectElement.disabled=!0},e.prototype.isDisabled=function(){return!0===this.selectElement.disabled},e.prototype.enable=function(){this.selectElement.disabled=!1},e.prototype.getValue=function(){return this.selectElement.value},e.prototype.hasValue=function(e){for(var t=0,n=this.options;t<n.length;t++){if(n[t].value===e)return!0}return!1},e.prototype.setValue=function(e){if(!this.hasValue(e))throw new Error("".concat(e," is not present in the camera list."));this.selectElement.value=e},e.prototype.hasSingleItem=function(){return 1===this.cameras.length},e.prototype.numCameras=function(){return this.cameras.length},e.create=function(t,n){var r=new e(n);return r.render(t),r},e}(),ai=function(){function e(){this.onChangeCallback=null,this.zoomElementContainer=document.createElement("div"),this.rangeInput=Jr.createElement("input",Kr.ZOOM_SLIDER_ID),this.rangeInput.type="range",this.rangeText=document.createElement("span"),this.rangeInput.min="1",this.rangeInput.max="5",this.rangeInput.value="1",this.rangeInput.step="0.1"}return e.prototype.render=function(e,t){this.zoomElementContainer.style.display=t?"block":"none",this.zoomElementContainer.style.padding="5px 10px",this.zoomElementContainer.style.textAlign="center",e.appendChild(this.zoomElementContainer),this.rangeInput.style.display="inline-block",this.rangeInput.style.width="50%",this.rangeInput.style.height="5px",this.rangeInput.style.background="#d3d3d3",this.rangeInput.style.outline="none",this.rangeInput.style.opacity="0.7";var n=ir.zoom();this.rangeText.innerText="".concat(this.rangeInput.value,"x ").concat(n),this.rangeText.style.marginRight="10px";var r=this;this.rangeInput.addEventListener("input",(function(){return r.onValueChange()})),this.rangeInput.addEventListener("change",(function(){return r.onValueChange()})),this.zoomElementContainer.appendChild(this.rangeInput),this.zoomElementContainer.appendChild(this.rangeText)},e.prototype.onValueChange=function(){var e=ir.zoom();this.rangeText.innerText="".concat(this.rangeInput.value,"x ").concat(e),this.onChangeCallback&&this.onChangeCallback(parseFloat(this.rangeInput.value))},e.prototype.setValues=function(e,t,n,r){this.rangeInput.min=e.toString(),this.rangeInput.max=t.toString(),this.rangeInput.step=r.toString(),this.rangeInput.value=n.toString(),this.onValueChange()},e.prototype.show=function(){this.zoomElementContainer.style.display="block"},e.prototype.hide=function(){this.zoomElementContainer.style.display="none"},e.prototype.setOnCameraZoomValueChangeCallback=function(e){this.onChangeCallback=e},e.prototype.removeOnCameraZoomValueChangeCallback=function(){this.onChangeCallback=null},e.create=function(t,n){var r=new e;return r.render(t,n),r},e}();!function(e){e[e.STATUS_DEFAULT=0]="STATUS_DEFAULT",e[e.STATUS_SUCCESS=1]="STATUS_SUCCESS",e[e.STATUS_WARNING=2]="STATUS_WARNING",e[e.STATUS_REQUESTING_PERMISSION=3]="STATUS_REQUESTING_PERMISSION"}(Dr||(Dr={}));!function(){function e(e,t,n){if(this.lastMatchFound=null,this.cameraScanImage=null,this.fileScanImage=null,this.fileSelectionUi=null,this.elementId=e,this.config=this.createConfig(t),this.verbose=!0===n,!document.getElementById(e))throw"HTML Element with id=".concat(e," not found");this.scanTypeSelector=new Qr(this.config.supportedScanTypes),this.currentScanType=this.scanTypeSelector.getDefaultScanType(),this.sectionSwapAllowed=!0,this.logger=new Jn(this.verbose),this.persistedDataManager=new Vr,!0!==t.rememberLastUsedCamera&&this.persistedDataManager.reset()}e.prototype.render=function(e,t){var n=this;this.lastMatchFound=null,this.qrCodeSuccessCallback=function(t,r){if(e)e(t,r);else{if(n.lastMatchFound===t)return;n.lastMatchFound=t,n.setHeaderMessage(ir.lastMatch(t),Dr.STATUS_SUCCESS)}},this.qrCodeErrorCallback=function(e,n){t&&t(e,n)};var r,i,o=document.getElementById(this.elementId);if(!o)throw"HTML Element with id=".concat(this.elementId," not found");o.innerHTML="",this.createBasicLayout(o),this.html5Qrcode=new jr(this.getScanRegionId(),(r=this.config,i=this.verbose,{formatsToSupport:r.formatsToSupport,useBarCodeDetectorIfSupported:r.useBarCodeDetectorIfSupported,experimentalFeatures:r.experimentalFeatures,verbose:i}))},e.prototype.pause=function(e){(er(e)||!0!==e)&&(e=!1),this.getHtml5QrcodeOrFail().pause(e)},e.prototype.resume=function(){this.getHtml5QrcodeOrFail().resume()},e.prototype.getState=function(){return this.getHtml5QrcodeOrFail().getState()},e.prototype.clear=function(){var e=this,t=function(){var t=document.getElementById(e.elementId);t&&(t.innerHTML="",e.resetBasicLayout(t))};return this.html5Qrcode?new Promise((function(n,r){e.html5Qrcode?e.html5Qrcode.isScanning?e.html5Qrcode.stop().then((function(r){e.html5Qrcode?(e.html5Qrcode.clear(),t(),n()):n()})).catch((function(t){e.verbose&&e.logger.logError("Unable to stop qrcode scanner",t),r(t)})):(e.html5Qrcode.clear(),t(),n()):n()})):Promise.resolve()},e.prototype.getRunningTrackCapabilities=function(){return this.getHtml5QrcodeOrFail().getRunningTrackCapabilities()},e.prototype.getRunningTrackSettings=function(){return this.getHtml5QrcodeOrFail().getRunningTrackSettings()},e.prototype.applyVideoConstraints=function(e){return this.getHtml5QrcodeOrFail().applyVideoConstraints(e)},e.prototype.getHtml5QrcodeOrFail=function(){if(!this.html5Qrcode)throw"Code scanner not initialized.";return this.html5Qrcode},e.prototype.createConfig=function(e){return e?(e.fps||(e.fps=Xn.SCAN_DEFAULT_FPS),e.rememberLastUsedCamera!==!Xn.DEFAULT_REMEMBER_LAST_CAMERA_USED&&(e.rememberLastUsedCamera=Xn.DEFAULT_REMEMBER_LAST_CAMERA_USED),e.supportedScanTypes||(e.supportedScanTypes=Xn.DEFAULT_SUPPORTED_SCAN_TYPE),e):{fps:Xn.SCAN_DEFAULT_FPS,rememberLastUsedCamera:Xn.DEFAULT_REMEMBER_LAST_CAMERA_USED,supportedScanTypes:Xn.DEFAULT_SUPPORTED_SCAN_TYPE}},e.prototype.createBasicLayout=function(e){e.style.position="relative",e.style.padding="0px",e.style.border="1px solid silver",this.createHeader(e);var t=document.createElement("div"),n=this.getScanRegionId();t.id=n,t.style.width="100%",t.style.minHeight="100px",t.style.textAlign="center",e.appendChild(t),Qr.isCameraScanType(this.currentScanType)?this.insertCameraScanImageToScanRegion():this.insertFileScanImageToScanRegion();var r=document.createElement("div"),i=this.getDashboardId();r.id=i,r.style.width="100%",e.appendChild(r),this.setupInitialDashboard(r)},e.prototype.resetBasicLayout=function(e){e.style.border="none"},e.prototype.setupInitialDashboard=function(e){this.createSection(e),this.createSectionControlPanel(),this.scanTypeSelector.hasMoreThanOneScanType()&&this.createSectionSwap()},e.prototype.createHeader=function(e){var t=document.createElement("div");t.style.textAlign="left",t.style.margin="0px",e.appendChild(t),(new qr).renderInto(t);var n=document.createElement("div");n.id=this.getHeaderMessageContainerId(),n.style.display="none",n.style.textAlign="center",n.style.fontSize="14px",n.style.padding="2px 10px",n.style.margin="4px",n.style.borderTop="1px solid #f6f6f6",t.appendChild(n)},e.prototype.createSection=function(e){var t=document.createElement("div");t.id=this.getDashboardSectionId(),t.style.width="100%",t.style.padding="10px 0px 10px 0px",t.style.textAlign="left",e.appendChild(t)},e.prototype.createCameraListUi=function(e,t,n){var r=this;r.showHideScanTypeSwapLink(!1),r.setHeaderMessage(ir.cameraPermissionRequesting());var i=function(){n||r.createPermissionButton(e,t)};jr.getCameras().then((function(n){r.persistedDataManager.setHasPermission(!0),r.showHideScanTypeSwapLink(!0),r.resetHeaderMessage(),n&&n.length>0?(e.removeChild(t),r.renderCameraSelection(n)):(r.setHeaderMessage(ir.noCameraFound(),Dr.STATUS_WARNING),i())})).catch((function(e){r.persistedDataManager.setHasPermission(!1),n?n.disabled=!1:i(),r.setHeaderMessage(e,Dr.STATUS_WARNING),r.showHideScanTypeSwapLink(!0)}))},e.prototype.createPermissionButton=function(e,t){var n=this,r=Jr.createElement("button",this.getCameraPermissionButtonId());r.innerText=ir.cameraPermissionTitle(),r.addEventListener("click",(function(){r.disabled=!0,n.createCameraListUi(e,t,r)})),t.appendChild(r)},e.prototype.createPermissionsUi=function(e,t){var n=this;Qr.isCameraScanType(this.currentScanType)&&this.persistedDataManager.hasCameraPermissions()?Zr.hasPermissions().then((function(r){r?n.createCameraListUi(e,t):(n.persistedDataManager.setHasPermission(!1),n.createPermissionButton(e,t))})).catch((function(r){n.persistedDataManager.setHasPermission(!1),n.createPermissionButton(e,t)})):this.createPermissionButton(e,t)},e.prototype.createSectionControlPanel=function(){var e=document.getElementById(this.getDashboardSectionId()),t=document.createElement("div");e.appendChild(t);var n=document.createElement("div");n.id=this.getDashboardSectionCameraScanRegionId(),n.style.display=Qr.isCameraScanType(this.currentScanType)?"block":"none",t.appendChild(n);var r=document.createElement("div");r.style.textAlign="center",n.appendChild(r),this.scanTypeSelector.isCameraScanRequired()&&this.createPermissionsUi(n,r),this.renderFileScanUi(t)},e.prototype.renderFileScanUi=function(e){var t=Qr.isFileScanType(this.currentScanType),n=this;this.fileSelectionUi=ii.create(e,t,(function(e){if(!n.html5Qrcode)throw"html5Qrcode not defined";Qr.isFileScanType(n.currentScanType)&&(n.setHeaderMessage(ir.loadingImage()),n.html5Qrcode.scanFileV2(e,!0).then((function(e){n.resetHeaderMessage(),n.qrCodeSuccessCallback(e.decodedText,e)})).catch((function(e){n.setHeaderMessage(e,Dr.STATUS_WARNING),n.qrCodeErrorCallback(e,Kn.createFrom(e))})))}))},e.prototype.renderCameraSelection=function(e){var t=this,n=this,r=document.getElementById(this.getDashboardSectionCameraScanRegionId());r.style.textAlign="center";var i=ai.create(r,!1),o=oi.create(r,e),a=document.createElement("span"),s=Jr.createElement("button",Kr.CAMERA_START_BUTTON_ID);s.innerText=ir.scanButtonStartScanningText(),a.appendChild(s);var l,c=Jr.createElement("button",Kr.CAMERA_STOP_BUTTON_ID);c.innerText=ir.scanButtonStopScanningText(),c.style.display="none",c.disabled=!0,a.appendChild(c);r.appendChild(a);var u=function(e){e||(s.style.display="none"),s.innerText=ir.scanButtonStartScanningText(),s.style.opacity="1",s.disabled=!1,e&&(s.style.display="inline-block")};if(s.addEventListener("click",(function(e){s.innerText=ir.scanButtonScanningStarting(),o.disable(),s.disabled=!0,s.style.opacity="0.5",t.scanTypeSelector.hasMoreThanOneScanType()&&n.showHideScanTypeSwapLink(!1),n.resetHeaderMessage();var r,d=o.getValue();n.persistedDataManager.setLastUsedCameraId(d),n.html5Qrcode.start(d,(r=n.config,{fps:r.fps,qrbox:r.qrbox,aspectRatio:r.aspectRatio,disableFlip:r.disableFlip,videoConstraints:r.videoConstraints}),n.qrCodeSuccessCallback,n.qrCodeErrorCallback).then((function(e){c.disabled=!1,c.style.display="inline-block",u(!1);var r=n.html5Qrcode.getRunningTrackCameraCapabilities();!0===t.config.showTorchButtonIfSupported&&function(e){e.torchFeature().isSupported()?(l?l.updateTorchCapability(e.torchFeature()):l=ri.create(a,e.torchFeature(),{display:"none",marginLeft:"5px"},(function(e){n.setHeaderMessage(e,Dr.STATUS_WARNING)})),l.show()):l&&l.hide()}(r),!0===t.config.showZoomSliderIfSupported&&function(e){var n=e.zoomFeature();if(n.isSupported()){i.setOnCameraZoomValueChangeCallback((function(e){n.apply(e)}));var r=1;t.config.defaultZoomValueIfSupported&&(r=t.config.defaultZoomValueIfSupported),r=function(e,t,n){return e>n?n:e<t?t:e}(r,n.min(),n.max()),i.setValues(n.min(),n.max(),r,n.step()),i.show()}}(r)})).catch((function(e){n.showHideScanTypeSwapLink(!0),o.enable(),u(!0),n.setHeaderMessage(e,Dr.STATUS_WARNING)}))})),o.hasSingleItem()&&s.click(),c.addEventListener("click",(function(e){if(!n.html5Qrcode)throw"html5Qrcode not defined";c.disabled=!0,n.html5Qrcode.stop().then((function(e){t.scanTypeSelector.hasMoreThanOneScanType()&&n.showHideScanTypeSwapLink(!0),o.enable(),s.disabled=!1,c.style.display="none",s.style.display="inline-block",l&&(l.reset(),l.hide()),i.removeOnCameraZoomValueChangeCallback(),i.hide(),n.insertCameraScanImageToScanRegion()})).catch((function(e){c.disabled=!1,n.setHeaderMessage(e,Dr.STATUS_WARNING)}))})),n.persistedDataManager.getLastUsedCameraId()){var d=n.persistedDataManager.getLastUsedCameraId();o.hasValue(d)?(o.setValue(d),s.click()):n.persistedDataManager.resetLastUsedCameraId()}},e.prototype.createSectionSwap=function(){var e=this,t=ir.textIfCameraScanSelected(),n=ir.textIfFileScanSelected(),r=document.getElementById(this.getDashboardSectionId()),i=document.createElement("div");i.style.textAlign="center";var o=Jr.createElement("span",this.getDashboardSectionSwapLinkId());o.style.textDecoration="underline",o.style.cursor="pointer",o.innerText=Qr.isCameraScanType(this.currentScanType)?t:n,o.addEventListener("click",(function(){e.sectionSwapAllowed?(e.resetHeaderMessage(),e.fileSelectionUi.resetValue(),e.sectionSwapAllowed=!1,Qr.isCameraScanType(e.currentScanType)?(e.clearScanRegion(),e.getCameraScanRegion().style.display="none",e.fileSelectionUi.show(),o.innerText=n,e.currentScanType=Wn.SCAN_TYPE_FILE,e.insertFileScanImageToScanRegion()):(e.clearScanRegion(),e.getCameraScanRegion().style.display="block",e.fileSelectionUi.hide(),o.innerText=t,e.currentScanType=Wn.SCAN_TYPE_CAMERA,e.insertCameraScanImageToScanRegion(),e.startCameraScanIfPermissionExistsOnSwap()),e.sectionSwapAllowed=!0):e.verbose&&e.logger.logError("Section swap called when not allowed")})),i.appendChild(o),r.appendChild(i)},e.prototype.startCameraScanIfPermissionExistsOnSwap=function(){var e=this,t=this;this.persistedDataManager.hasCameraPermissions()&&Zr.hasPermissions().then((function(n){if(n){var r=document.getElementById(t.getCameraPermissionButtonId());if(!r)throw e.logger.logError("Permission button not found, fail;"),"Permission button not found";r.click()}else t.persistedDataManager.setHasPermission(!1)})).catch((function(e){t.persistedDataManager.setHasPermission(!1)}))},e.prototype.resetHeaderMessage=function(){document.getElementById(this.getHeaderMessageContainerId()).style.display="none"},e.prototype.setHeaderMessage=function(e,t){t||(t=Dr.STATUS_DEFAULT);var n=this.getHeaderMessageDiv();switch(n.innerText=e,n.style.display="block",t){case Dr.STATUS_SUCCESS:n.style.background="rgba(106, 175, 80, 0.26)",n.style.color="#477735";break;case Dr.STATUS_WARNING:n.style.background="rgba(203, 36, 49, 0.14)",n.style.color="#cb2431";break;case Dr.STATUS_DEFAULT:default:n.style.background="rgba(0, 0, 0, 0)",n.style.color="rgb(17, 17, 17)"}},e.prototype.showHideScanTypeSwapLink=function(e){this.scanTypeSelector.hasMoreThanOneScanType()&&(!0!==e&&(e=!1),this.sectionSwapAllowed=e,this.getDashboardSectionSwapLink().style.display=e?"inline-block":"none")},e.prototype.insertCameraScanImageToScanRegion=function(){var e=this,t=document.getElementById(this.getScanRegionId());if(this.cameraScanImage)return t.innerHTML="<br>",void t.appendChild(this.cameraScanImage);this.cameraScanImage=new Image,this.cameraScanImage.onload=function(n){t.innerHTML="<br>",t.appendChild(e.cameraScanImage)},this.cameraScanImage.width=64,this.cameraScanImage.style.opacity="0.8",this.cameraScanImage.src=Fr,this.cameraScanImage.alt=ir.cameraScanAltText()},e.prototype.insertFileScanImageToScanRegion=function(){var e=this,t=document.getElementById(this.getScanRegionId());if(this.fileScanImage)return t.innerHTML="<br>",void t.appendChild(this.fileScanImage);this.fileScanImage=new Image,this.fileScanImage.onload=function(n){t.innerHTML="<br>",t.appendChild(e.fileScanImage)},this.fileScanImage.width=64,this.fileScanImage.style.opacity="0.8",this.fileScanImage.src=Hr,this.fileScanImage.alt=ir.fileScanAltText()},e.prototype.clearScanRegion=function(){document.getElementById(this.getScanRegionId()).innerHTML=""},e.prototype.getDashboardSectionId=function(){return"".concat(this.elementId,"__dashboard_section")},e.prototype.getDashboardSectionCameraScanRegionId=function(){return"".concat(this.elementId,"__dashboard_section_csr")},e.prototype.getDashboardSectionSwapLinkId=function(){return Kr.SCAN_TYPE_CHANGE_ANCHOR_ID},e.prototype.getScanRegionId=function(){return"".concat(this.elementId,"__scan_regi
2on")},e.prototype.getDashboardId=function(){return"".concat(this.elementId,"__dashboard")},e.prototype.getHeaderMessageContainerId=function(){return"".concat(this.elementId,"__header_message")},e.prototype.getCameraPermissionButtonId=function(){return Kr.CAMERA_PERMISSION_BUTTON_ID},e.prototype.getCameraScanRegion=function(){return document.getElementById(this.getDashboardSectionCameraScanRegionId())},e.prototype.getDashboardSectionSwapLink=function(){return document.getElementById(this.getDashboardSectionSwapLinkId())},e.prototype.getHeaderMessageDiv=function(){return document.getElementById(this.getHeaderMessageContainerId())}}();var si,li,ci,ui,di,hi,fi=function(){var e=window.innerWidth,t=window.innerHeight;return{deviceSize:{width:e,height:t,aspectRatio:e/t}}}();fi.deviceSize;function pi(e,t){e instanceof HTMLElement&&("boolean"!=typeof t&&(t=Boolean(t)),e.classList.toggle("hide",!t),e.setAttribute("aria-hidden",!t))}function gi(e){var t=document.querySelector(e);return t}if(document.querySelector("#reader")){var mi=(si=gi("#reader"),li=new jr(si.id,!0),ci="",ui=!1,di=function(e,t){if(e.startsWith("http://")||e.startsWith("https://")){var n=e.split("?")[0].split("/").pop();if(n){ci=n;var r=new CustomEvent("serialNumber",{detail:ci});document.dispatchEvent(r),ui=!0,li.stop()}}},hi={fps:10,qrbox:{width:300,height:300},aspectRatio:1},{start:function(){return li.start({facingMode:(e=navigator.userAgent,/android/.test(e)||/iPad|iPhone|iPod/.test(e)?"environment":"user")},hi,di,(function(e){}));var e},stop:function(){return li.stop()},serialNumber:function(){return ci},hasResult:function(){return ui}}),yi=mi.start,vi=mi.stop,wi=gi("#startQrScannerButton"),bi=gi("#serialNumberInput"),Ci=gi("#close-qr-reader-btn"),Si=gi("#getProductInfoBtn"),Ai=gi("#serial-number-container"),_i=gi("#qrcode-scanner-modal");bi&&wi&&Si&&Ai&&_i&&document.addEventListener("serialNumber",(function(e){var t=e.detail;bi.value=t,pi(wi,!0),pi(bi,!1),Si.removeAttribute("disabled"),pi(Ai,!0),pi(_i,!1)})),wi&&wi.addEventListener("click",(function(){yi(),bi.value="",pi(wi,!1),pi(bi,!1),pi(Ai,!1),pi(_i,!0),Si.setAttribute("disabled",!0)})),Ci&&Ci.addEventListener("click",(function(){pi(wi,!0),pi(bi,!0),bi.value="",pi(Ai,!0),pi(_i,!1),Si.setAttribute("disabled",!0),vi()}))}var Ti=n(974),Ei=n(755);n.g.$=n.g.jQuery=t(),window.feather=o(),function(e){e((function(){var t=e("html, body"),n=e("body"),i=e(window),a=e("header"),s=e(".header-wrapper"),l=e("#header-search-trigger, #mobile-search-toggle"),c=e("#header-search-cancel"),u=e("#header-search"),d=e("#header-search-input"),h="menu-open",f="header--menuopen",p="header--submenuopen",g="header-megamenu-section-wrapper--open",m="header-search--open",y=e(".header-megamenu-section-title"),v=e(".header-megamenu-section-wrapper"),w=e(".header-megamenu-section-back");e("#mobile-menu-toggle").on("click",(function(e){e.preventDefault(),a.hasClass(f)?(a.removeClass(f),n.removeClass(h)):(a.addClass(f),n.addClass(h))})),Ti.register("screen and (max-width:1024px)",{match:function(){y.on("click.header",(function(t){t.preventDefault();var n=e(this).next();n.hasClass(g)||(v.removeClass(g),n.addClass(g),a.addClass(p),s.scrollTop(0))}))},unmatch:function(){y.off("click.header"),v.removeClass(g),v.removeClass(g),a.removeClass(p)}}),w.on("click",(function(e){e.preventDefault(),v.removeClass(g),a.removeClass(p)})),l.on("click",(function(e){e.preventDefault(),u.addClass(m),l.addClass("active"),d.focus()})),c.on("click",(function(e){e.preventDefault(),u.removeClass(m),l.removeClass("active")}));var b=e(".localization-menu"),C="localization-menu--active";Ti.register("screen and (max-width:1024px)",{match:function(){b.on("click",(function(){var t=e(this);t.hasClass(C)?t.removeClass(C):t.addClass(C)}))},unmatch:function(){b.on("click",(function(){}))}}),e(document).on("focus","input:not([type=radio], [type=checkbox]), textarea",(function(){e(this).parents(".field").addClass("focus")})).on("blur","input:not([type=radio], [type=checkbox]), textarea",(function(){var t=e(this),n=t.parents(".field");if(n.removeClass("focus"),""==t.val())return n.removeClass("has-value");n.addClass("has-value")})),e('a[href^="#"]').on("click",(function(n){n.preventDefault();var r=e(this).attr("href").substring(1);if(r.length){var o=e("a[name="+r+"]");if(o.length){var a=i.scrollTop();window.location.hash=r,t.scrollTop(a);var s=o.offset().top;t.animate({scrollTop:s-45},500)}}})),e(".contact-us-section").each((function(){var t=e(this),n=0;t.find(".contact-us-section-column header").each((function(){var t=e(this).height();n=t>n?t:n})),n+="px",t.find(".contact-us-section-column header").css({height:n})}
2)),e(".contact-us").length&&e(".content").removeClass("content");!function e(){o().replace(),r.delay((function(){return e()}),500)}()}))}(Ei)}()}();

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.