1if((t=>{if(t.URL=t.URL||t.webkitURL,t.Blob&&t.URL)try{return new Blob}catch(t){}var o=t.BlobBuilder||t.WebKitBlobBuilder||t.MozBlobBuilder||(t=>{function a(t){return Object.prototype.toString.call(t).match(/^\[object\s(.*)\]$/)[1]}function e(){this.data=[]}function l(t,e,n){this.data=t,this.size=t.length,this.type=e,this.encoding=n}function c(t){this.code=this[this.name=t]}var n=e.prototype,i=l.prototype,u=t.FileReaderSync,r="NOT_FOUND_ERR SECURITY_ERR ABORT_ERR NOT_READABLE_ERR ENCODING_ERR NO_MODIFICATION_ALLOWED_ERR INVALID_STATE_ERR SYNTAX_ERR".split(" "),o=r.length,s=t.URL||t.webkitURL||t,p=s.createObjectURL,h=s.revokeObjectURL,d=s,f=t.btoa,m=t.atob,g=t.ArrayBuffer,v=t.Uint8Array;for(l.fake=i.fake=!0;o--;)c.prototype[r[o]]=o+1;return(d=s.createObjectURL?d:t.URL={}).createObjectURL=function(t){var e=t.type;return null===e&&(e="application/octet-stream"),t instanceof l?(e="data:"+e,"base64"===t.encoding?e+";base64,"+t.data:"URI"===t.encoding?e+","+decodeURIComponent(t.data):f?e+";base64,"+f(t.data):e+","+encodeURIComponent(t.data)):p?p.call(s,t):void 0},d.revokeObjectURL=function(t){"data:"!==t.substring(0,5)&&h&&h.call(s,t)},n.append=function(t){var e=this.data;if(v&&(t instanceof g||t instanceof v)){for(var n="",i=new v(t),r=0,o=i.length;r<o;r++)n+=String.fromCharCode(i[r]);e.push(n)}else if("Blob"===a(t)||"File"===a(t)){if(!u)throw new c("NOT_READABLE_ERR");var s=new u;e.push(s.readAsBinaryString(t))}else t instanceof l?"base64"===t.encoding&&m?e.push(m(t.data)):"URI"===t.encoding?e.push(decodeURIComponent(t.data)):"raw"===t.encoding&&e.push(t.data):("string"!=typeof t&&(t+=""),e.push(unescape(encodeURIComponent(t))))},n.getBlob=function(t){return arguments.length||(t=null),new l(this.data.join(""),t,"raw")},n.toString=function(){return"[object BlobBuilder]"},i.slice=function(t,e,n){var i=arguments.length;return i<3&&(n=null),new l(this.data.slice(t,1<i?e:this.data.length),n,this.encoding)},i.toString=function(){return"[object Blob]"},i.close=function(){this.size=this.data.length=0},e})(t);t.Blob=function(t,e){var e=e&&e.type||"",n=new o;if(t)for(var i=0,r=t.length;i<r;i++)n.append(t[i]);return n.getBlob(e)}})("undefined"!=typeof self&&self||"undefined"!=typeof window&&window||this.content||this),"undefined"==typeof jQuery)throw new Error("Bootstrap's JavaScript requires jQuery");(()=>{var t=jQuery.fn.jquery.split(" ")[0].split(".");if(t[0]<2&&t[1]<9||1==t[0]&&9==t[1]&&t[2]<1||3<t[0])throw new Error("Bootstrap's JavaScript requires jQuery version 1.9.1 or higher, but lower than version 4")})(),(i=>{i.fn.emulateTransitionEnd=function(t){var e=!1,n=this;return i(this).one("bsTransitionEnd",function(){e=!0}),setTimeout(function(){e||i(n).trigger(i.support.transition.end)},t),this},i(function(){i.support.transition=(()=>{var t,e=document.createElement("bootstrap"),n={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(t in n)if(void 0!==e.style[t])return{end:n[t]};return!1})(),i.support.transition&&(i.event.special.bsTransitionEnd={bindType:i.support.transition.end,delegateType:i.support.transition.end,handle:function(t){if(i(t.target).is(this))return t.handleObj.handler.apply(this,arguments)}})})})(jQuery),(o=>{function s(t){o(t).on("click",e,this.close)}var e='[data-dismiss="alert"]',t=(s.VERSION="3.4.1",s.TRANSITION_DURATION=150,s.prototype.close=function(t){var e=o(this),n=e.attr("data-target"),i=(n="#"===(n=n||(n=e.attr("href"))&&n.replace(/.*(?=#[^\s]*$)/,""))?[]:n,o(document).find(n));function r(){i.detach().trigger("closed.bs.alert").remove()}t&&t.preventDefault(),(i=i.length?i:e.closest(".alert")).trigger(t=o.Event("close.bs.alert")),t.isDefaultPrevented()||(i.removeClass("in"),o.support.transition&&i.hasClass("fade")?i.one("bsTransitionEnd",r).emulateTransitionEnd(s.TRANSITION_DURATION):r())},o.fn.alert);o.fn.alert=function(n){return this.each(function(){var t=o(this),e=t.data("bs.alert");e||t.data("bs.alert",e=new s(this)),"string"==typeof n&&e[n].call(t)})},o.fn.alert.Constructor=s,o.fn.alert.noConflict=function(){return o.fn.alert=t,this},o(document).on("click.bs.alert.data-api",e,s.prototype.close)})(jQuery),(o=>{function i(t,e){this.$element=o(t),this.options=o.extend({},i.DEFAULTS,e),this.isLoading=!1}function n(n){return this.each(function(){var t=o(this),e=t.data("bs.button");e||t.data("bs.button",e=new i(this,"object"==typeof n&&n)),"toggle"==n?e.toggle(
vendor: 4,289 bytes, line 1
1):n&&e.setState(n)})}i.VERSION="3.4.1",i.DEFAULTS={loadingText:"loading..."},i.prototype.setState=function(t){var e="disabled",n=this.$element,i=n.is("input")?"val":"html",r=n.data();t+="Text",null==r.resetText&&n.data("resetText",n[i]()),setTimeout(o.proxy(function(){n[i]((null==r[t]?this.options:r)[t]),"loadingText"==t?(this.isLoading=!0,n.addClass(e).attr(e,e).prop(e,!0)):this.isLoading&&(this.isLoading=!1,n.removeClass(e).removeAttr(e).prop(e,!1))},this),0)},i.prototype.toggle=function(){var t,e=!0,n=this.$element.closest('[data-toggle="buttons"]');n.length?("radio"==(t=this.$element.find("input")).prop("type")?(t.prop("checked")&&(e=!1),n.find(".active").removeClass("active"),this.$element.addClass("active")):"checkbox"==t.prop("type")&&(t.prop("checked")!==this.$element.hasClass("active")&&(e=!1),this.$element.toggleClass("active")),t.prop("checked",this.$element.hasClass("active")),e&&t.trigger("change")):(this.$element.attr("aria-pressed",!this.$element.hasClass("active")),this.$element.toggleClass("active"))};var t=o.fn.button;o.fn.button=n,o.fn.button.Constructor=i,o.fn.button.noConflict=function(){return o.fn.button=t,this},o(document).on("click.bs.button.data-api",'[data-toggle^="button"]',function(t){var e=o(t.target).closest(".btn");n.call(e,"toggle"),o(t.target).is('input[type="radio"], input[type="checkbox"]')||(t.preventDefault(),(e.is("input,button")?e:e.find("input:visible,button:visible").first()).trigger("focus"))}).on("focus.bs.button.data-api blur.bs.button.data-api",'[data-toggle^="button"]',function(t){o(t.target).closest(".btn").toggleClass("focus",/^focus(in)?$/.test(t.type))})})(jQuery),(c=>{function u(t,e){this.$element=c(t),this.$indicators=this.$element.find(".carousel-indicators"),this.options=e,this.paused=null,this.sliding=null,this.interval=null,this.$active=null,this.$items=null,this.options.keyboard&&this.$element.on("keydown.bs.carousel",c.proxy(this.keydown,this)),"hover"!=this.options.pause||"ontouchstart"in document.documentElement||this.$element.on("mouseenter.bs.carousel",c.proxy(this.pause,this)).on("mouseleave.bs.carousel",c.proxy(this.cycle,this))}function r(r){return this.each(function(){var t=c(this),e=t.data("bs.carousel"),n=c.extend({},u.DEFAULTS,t.data(),"object"==typeof r&&r),i="string"==typeof r?r:n.slide;e||t.data("bs.carousel",e=new u(this,n)),"number"==typeof r?e.to(r):i?e[i]():n.interval&&e.pause().cycle()})}function t(t){var e,n=c(this),i=(i=n.attr("href"))&&i.replace(/.*(?=#[^\s]+$)/,""),i=n.attr("data-target")||i;(i=c(document).find(i)).hasClass("carousel")&&(e=c.extend({},i.data(),n.data()),(n=n.attr("data-slide-to"))&&(e.interval=!1),r.call(i,e),n&&i.data("bs.carousel").to(n),t.preventDefault())}u.VERSION="3.4.1",u.TRANSITION_DURATION=600,u.DEFAULTS={interval:5e3,pause:"hover",wrap:!0,keyboard:!0},u.prototype.keydown=function(t){if(!/input|textarea/i.test(t.target.tagName)){switch(t.which){case 37:this.prev();break;case 39:this.next();break;default:return}t.preventDefault()}},u.prototype.cycle=function(t){return t||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(c.proxy(this.next,this),this.options.interval)),this},u.prototype.getItemIndex=function(t){return this.$items=t.parent().children(".item"),this.$items.index(t||this.$active)},u.prototype.getItemForDirection=function(t,e){var n=this.getItemIndex(e);return("prev"==t&&0===n||"next"==t&&n==this.$items.length-1)&&!this.options.wrap?e:(e=(n+("prev"==t?-1:1))%this.$items.length,this.$items.eq(e))},u.prototype.to=function(t){var e=this,n=this.getItemIndex(this.$active=this.$element.find(".item.active"));if(!(t>this.$items.length-1||t<0))return this.sliding?this.$element.one("slid.bs.carousel",function(){e.to(t)}):n==t?this.pause().cycle():this.slide(n<t?"next":"prev",this.$items.eq(t))},u.prototype.pause=function(t){return t||(this.paused=!0),this.$element.find(".next, .prev").length&&c.support.transition&&(this.$element.trigger(c.support.transition.end),this.cycle(!0)),this.interval=clearInterval(this.interval),this},u.prototype.next=function(){if(!this.sliding)return this.slide("next")},u.prototype.prev=function(){if(!this.sliding)return this.slide("prev")},u.prototype.slide=function(t,e){var n,i,r,o=this.$element.find(".
1item.active"),s=e||this.getItemForDirection(t,o),e=this.interval,a="next"==t?"left":"right",l=this;return s.hasClass("active")?this.sliding=!1:(n=s[0],i=c.Event("slide.bs.carousel",{relatedTarget:n,direction:a}),this.$element.trigger(i),i.isDefaultPrevented()?void 0:(this.sliding=!0,e&&this.pause(),this.$indicators.length&&(this.$indicators.find(".active").removeClass("active"),i=c(this.$indicators.children()[this.getItemIndex(s)]))&&i.addClass("active"),r=c.Event("slid.bs.carousel",{relatedTarget:n,direction:a}),c.support.transition&&this.$element.hasClass("slide")?(s.addClass(t),"object"==typeof s&&s.length&&s[0].offsetWidth,o.addClass(a),s.addClass(a),o.one("bsTransitionEnd",function(){s.removeClass([t,a].join(" ")).addClass("active"),o.removeClass(["active",a].join(" ")),l.sliding=!1,setTimeout(function(){l.$element.trigger(r)},0)}).emulateTransitionEnd(u.TRANSITION_DURATION)):(o.removeClass("active"),s.addClass("active"),this.sliding=!1,this.$element.trigger(r)),e&&this.cycle(),this))};var e=c.fn.carousel;c.fn.carousel=r,c.fn.carousel.Constructor=u,c.fn.carousel.noConflict=function(){return c.fn.carousel=e,this},c(document).on("click.bs.carousel.data-api","[data-slide]",t).on("click.bs.carousel.data-api","[data-slide-to]",t),c(window).on("load",function(){c('[data-ride="carousel"]').each(function(){var t=c(this);r.call(t,t.data())})})})(jQuery),(r=>{function o(t,e){this.$element=r(t),this.options=r.extend({},o.DEFAULTS,e),this.$trigger=r('[data-toggle="collapse"][href="#'+t.id+'"],[data-toggle="collapse"][data-target="#'+t.id+'"]'),this.transitioning=null,this.options.parent?this.$parent=this.getParent():this.addAriaAndCollapsedClass(this.$element,this.$trigger),this.options.toggle&&this.toggle()}function n(t){t=t.attr("data-target")||(t=t.attr("href"))&&t.replace(/.*(?=#[^\s]+$)/,"");return r(document).find(t)}function s(i){return this.each(function(){var t=r(this),e=t.data("bs.collapse"),n=r.extend({},o.DEFAULTS,t.data(),"object"==typeof i&&i);!e&&n.toggle&&/show|hide/.test(i)&&(n.toggle=!1),e||t.data("bs.collapse",e=new o(this,n)),"string"==typeof i&&e[i]()})}o.VERSION="3.4.1",o.TRANSITION_DURATION=350,o.DEFAULTS={toggle:!0},o.prototype.dimension=function(){return this.$element.hasClass("width")?"width":"height"},o.prototype.show=function(){if(!this.transitioning&&!this.$element.hasClass("in")){var t=this.$parent&&this.$parent.children(".panel").children(".in, .collapsing");if(!(t&&t.length&&(i=t.data("bs.collapse"))&&i.transitioning)){var e=r.Event("show.bs.collapse");if(this.$element.trigger(e),!e.isDefaultPrevented()){t&&t.length&&(s.call(t,"hide"),i||t.data("bs.collapse",null));var n=this.dimension(),e=(this.$element.removeClass("collapse").addClass("collapsing")[n](0).attr("aria-expanded",!0),this.$trigger.removeClass("collapsed").attr("aria-expanded",!0),this.transitioning=1,function(){this.$element.removeClass("collapsing").addClass("collapse in")[n](""),this.transitioning=0,this.$element.trigger("shown.bs.collapse")});if(!r.support.transition)return e.call(this);var i=r.camelCase(["scroll",n].join("-"));this.$element.one("bsTransitionEnd",r.proxy(e,this)).emulateTransitionEnd(o.TRANSITION_DURATION)[n](this.$element[0][i])}}}},o.prototype.hide=function(){if(!this.transitioning&&this.$element.hasClass("in")){var t=r.Event("hide.bs.collapse");if(this.$element.trigger(t),!t.isDefaultPrevented()){var t=this.dimension(),e=(this.$element[t](this.$element[t]())[0].offsetHeight,this.$element.addClass("collapsing").removeClass("collapse in").attr("aria-expanded",!1),this.$trigger.addClass("collapsed").attr("aria-expanded",!1),this.transitioning=1,function(){this.transitioning=0,this.$element.removeClass("collapsing").addClass("collapse").trigger("hidden.bs.collapse")});if(!r.support.transition)return e.call(this);this.$element[t](0).one("bsTransitionEnd",r.proxy(e,this)).emulateTransitionEnd(o.TRANSITION_DURATION)}}},o.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()},o.prototype.getParent=function(){return r(document).find(this.options.parent).find('[data-toggle="collapse"][data-parent="'+this.options.parent+'"]').each(r.proxy(function(t,e){e=r(e);this.addAriaAndCollapsedClass(n(e),e)},this)).end()},o.prototype.addAriaAndCollapsedClass=function(t,e){var n=t.hasClass("in");t.attr("aria-expanded",n),e.toggleClass("collapsed",!n).attr("aria-expanded",n)};var t=r.fn.collapse;r.fn.collapse=s,r.fn.collapse.Constructor=o,r.fn.collapse.noConflict=function(){return r.fn.collapse=t,this},r(document).on("click.bs.collapse.data-api",'[data-toggle="collapse"]',function(t){var e=r(this),t=(e.attr("data-target")||t.preventDefault(),n(e)),e=t.data("bs.collapse")?"toggle":e.data();s.call(t,e)})})(jQuery),(r=>{function i(t){r(t).on("click.bs.dropdown",this.toggle)}var o='[data-toggle="dropdown"]';function s(t){var e=t.attr("data-target"),e="#"!==(e=e||(e=t.attr("href"))&&/#[A-Za-z]/.test(e)&&e.replace(/.*(?=#[^\s]*$)/,""))?r(document).find(e):null;return e&&e.length?e:t.parent()}function a(i){i&&3===i.which||(r(".dropdown-backdrop").remove(),r(o).each(function(){var t=r(this),e=s(t),n={relatedTarget:this};!e.hasClass("open")||i&&"click"==i.type&&/input|textarea/i.test(i.target.tagName)&&r.contains(e[0],i.target)||(e.trigger(i=r.Event("hide.bs.dropdown",n)),i.isDefaultPrevented())||(t.attr("aria-expanded","fal
1se"),e.removeClass("open").trigger(r.Event("hidden.bs.dropdown",n)))}))}i.VERSION="3.4.1",i.prototype.toggle=function(t){var e=r(this);if(!e.is(".disabled, :disabled")){var n=s(e),i=n.hasClass("open");if(a(),!i){"ontouchstart"in document.documentElement&&!n.closest(".navbar-nav").length&&r(document.createElement("div")).addClass("dropdown-backdrop").insertAfter(r(this)).on("click",a);i={relatedTarget:this};if(n.trigger(t=r.Event("show.bs.dropdown",i)),t.isDefaultPrevented())return;e.trigger("focus").attr("aria-expanded","true"),n.toggleClass("open").trigger(r.Event("shown.bs.dropdown",i))}return!1}},i.prototype.keydown=function(t){if(/(38|40|27|32)/.test(t.which)&&!/input|textarea/i.test(t.target.tagName)){var e=r(this);if(t.preventDefault(),t.stopPropagation(),!e.is(".disabled, :disabled")){var n=s(e),i=n.hasClass("open");if(!i&&27!=t.which||i&&27==t.which)return 27==t.which&&n.find(o).trigger("focus"),e.trigger("click");i=n.find(".dropdown-menu li:not(.disabled):visible a");i.length&&(e=i.index(t.target),38==t.which&&0<e&&e--,40==t.which&&e<i.length-1&&e++,i.eq(e=~e?e:0).trigger("focus"))}}};var t=r.fn.dropdown;r.fn.dropdown=function(n){return this.each(function(){var t=r(this),e=t.data("bs.dropdown");e||t.data("bs.dropdown",e=new i(this)),"string"==typeof n&&e[n].call(t)})},r.fn.dropdown.Constructor=i,r.fn.dropdown.noConflict=function(){return r.fn.dropdown=t,this},r(document).on("click.bs.dropdown.data-api",a).on("click.bs.dropdown.data-api",".dropdown form",function(t){t.stopPropagation()}).on("click.bs.dropdown.data-api",o,i.prototype.toggle).on("keydown.bs.dropdown.data-api",o,i.prototype.keydown).on("keydown.bs.dropdown.data-api",".dropdown-menu",i.prototype.keydown)})(jQuery),(o=>{function s(t,e){this.options=e,this.$body=o(document.body),this.$element=o(t),this.$dialog=this.$element.find(".modal-dialog"),this.$backdrop=null,this.isShown=null,this.originalBodyPad=null,this.scrollbarWidth=0,this.ignoreBackdropClick=!1,this.fixedContent=".navbar-fixed-top, .navbar-fixed-bottom",this.options.remote&&this.$element.find(".modal-content").load(this.options.remote,o.proxy(function(){this.$element.trigger("loaded.bs.modal")},this))}function a(i,r){return this.each(function(){var t=o(this),e=t.data("bs.modal"),n=o.extend({},s.DEFAULTS,t.data(),"object"==typeof i&&i);e||t.data("bs.modal",e=new s(this,n)),"string"==typeof i?e[i](r):n.show&&e.show(r)})}s.VERSION="3.4.1",s.TRANSITION_DURATION=300,s.BACKDROP_TRANSITION_DURATION=150,s.DEFAULTS={backdrop:!0,keyboard:!0,show:!0},s.prototype.toggle=function(t){return this.isShown?this.hide():this.show(t)},s.prototype.show=function(n){var i=this,t=o.Event("show.bs.modal",{relatedTarget:n});this.$element.trigger(t),this.isShown||t.isDefaultPrevented()||(this.isShown=!0,this.checkScrollbar(),this.setScrollbar(),this.$body.addClass("modal-open"),this.escape(),this.resize(),this.$element.on("click.dismiss.bs.modal",'[data-dismiss="modal"]',o.proxy(this.hide,this)),this.$dialog.on("mousedown.dismiss.bs.modal",function(){i.$element.one("mouseup.dismiss.bs.modal",function(t){o(t.target).is(i.$element)&&(i.ignoreBackdropClick=!0)})}),this.backdrop(function(){var t=o.support.transition&&i.$element.hasClass("fade"),e=(i.$element.parent().length||i.$element.appendTo(i.$body),i.$element.show().scrollTop(0),i.adjustDialog(),t&&i.$element[0].offsetWidth,i.$element.addClass("in"),i.enforceFocus(),o.Event("shown.bs.modal",{relatedTarget:n}));t?i.$dialog.one("bsTransitionEnd",function(){i.$element.trigger("focus").trigger(e)}).emulateTransitionEnd(s.TRANSITION_DURATION):i.$element.trigger("focus").trigger(e)}))},s.prototype.hide=function(t){t&&t.preventDefault(),t=o.Event("hide.bs.modal"),this.$element.trigger(t),this.isShown&&!t.isDefaultPrevented()&&(this.isShown=!1,this.escape(),this.resize(),o(document).off("focusin.bs.modal"),this.$element.removeClass("in").off("click.dismiss.bs.modal").off("mouseup.dismiss.bs.modal"),this.$dialog.off("mousedown.dismiss.bs.modal"),o.support.transition&&this.$element.hasClass("fade")?this.$element.one("bsTransitionEnd",o.proxy(this.hideModal,this)).emulateTransitionEnd(s.TRANSITION_DURATION):this.hideModal())},s.prototype.enforceFocus=function(){o(document).off("focusin.bs.modal").on("focusin.bs.modal",o.proxy(function(t){document===t.target||this.$element[0]===t.target||this.$element.has(t.target).length||this.$element.trigger("focus")},this))},s.prototype.escape=function(){this.isShown&&this.options.keyboard?this.$element.on("key
1down.dismiss.bs.modal",o.proxy(function(t){27==t.which&&this.hide()},this)):this.isShown||this.$element.off("keydown.dismiss.bs.modal")},s.prototype.resize=function(){this.isShown?o(window).on("resize.bs.modal",o.proxy(this.handleUpdate,this)):o(window).off("resize.bs.modal")},s.prototype.hideModal=function(){var t=this;this.$element.hide(),this.backdrop(function(){t.$body.removeClass("modal-open"),t.resetAdjustments(),t.resetScrollbar(),t.$element.trigger("hidden.bs.modal")})},s.prototype.removeBackdrop=function(){this.$backdrop&&this.$backdrop.remove(),this.$backdrop=null},s.prototype.backdrop=function(t){var e,n=this,i=this.$element.hasClass("fade")?"fade":"";this.isShown&&this.options.backdrop?(e=o.support.transition&&i,this.$backdrop=o(document.createElement("div")).addClass("modal-backdrop "+i).appendTo(this.$body),this.$element.on("click.dismiss.bs.modal",o.proxy(function(t){this.ignoreBackdropClick?this.ignoreBackdropClick=!1:t.target===t.currentTarget&&("static"==this.options.backdrop?this.$element[0].focus():this.hide())},this)),e&&this.$backdrop[0].offsetWidth,this.$backdrop.addClass("in"),t&&(e?this.$backdrop.one("bsTransitionEnd",t).emulateTransitionEnd(s.BACKDROP_TRANSITION_DURATION):t())):!this.isShown&&this.$backdrop?(this.$backdrop.removeClass("in"),i=function(){n.removeBackdrop(),t&&t()},o.support.transition&&this.$element.hasClass("fade")?this.$backdrop.one("bsTransitionEnd",i).emulateTransitionEnd(s.BACKDROP_TRANSITION_DURATION):i()):t&&t()},s.prototype.handleUpdate=function(){this.adjustDialog()},s.prototype.adjustDialog=function(){var t=this.$element[0].scrollHeight>document.documentElement.clientHeight;this.$element.css({paddingLeft:!this.bodyIsOverflowing&&t?this.scrollbarWidth:"",paddingRight:this.bodyIsOverflowing&&!t?this.scrollbarWidth:""})},s.prototype.resetAdjustments=function(){this.$element.css({paddingLeft:"",paddingRight:""})},s.prototype.checkScrollbar=function(){var t,e=window.innerWidth;e||(e=(t=document.documentElement.getBoundingClientRect()).right-Math.abs(t.left)),this.bodyIsOverflowing=document.body.clientWidth<e,this.scrollbarWidth=this.measureScrollbar()},s.prototype.setScrollbar=function(){var t=parseInt(this.$body.css("padding-right")||0,10),r=(this.originalBodyPad=document.body.style.paddingRight||"",this.scrollbarWidth);this.bodyIsOverflowing&&(this.$body.css("padding-right",t+r),o(this.fixedContent).each(function(t,e){var n=e.style.paddingRight,i=o(e).css("padding-right");o(e).data("padding-right",n).css("padding-right",parseFloat(i)+r+"px")}))},s.prototype.resetScrollbar=function(){this.$body.css("padding-right",this.originalBodyPad),o(this.fixedContent).each(function(t,e){var n=o(e).data("padding-right");o(e).removeData("padding-right"),e.style.paddingRight=n||""})},s.prototype.measureScrollbar=function(){var t=document.createElement("div"),e=(t.className="modal-scrollbar-measure",this.$body.append(t),t.offsetWidth-t.clientWidth);return this.$body[0].removeChild(t),e};var t=o.fn.modal;o.fn.modal=a,o.fn.modal.Constructor=s,o.fn.modal.noConflict=function(){return o.fn.modal=t,this},o(document).on("click.bs.modal.data-api",'[data-toggle="modal"]',function(t){var e=o(this),n=e.attr("href"),i=e.attr("data-target")||n&&n.replace(/.*(?=#[^\s]+$)/,""),r=o(document).find(i),i=r.data("bs.modal")?"toggle":o.extend({remote:!/#/.test(n)&&n},r.data(),e.data());e.is("a")&&t.preventDefault(),r.one("show.bs.modal",function(t){t.isDefaultPrevented()||r.one("hidden.bs.modal",function(){e.is(":visible")&&e.trigger("focus")})}),a.call(r,i,this)})})(jQuery),(d=>{var i=["sanitize","whiteList","sanitizeFn"],f=["background","cite","href","itemtype","longdesc","poster","src","xlink:href"],m=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:/?#]*(?:[/?#]|$))/gi,g=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+/]+=*$/i;function r(t,e,n){if(0===t.length)return t;if(n&&"function"==typeof n)return n(t);if(!document.implementation||!document.implementation.createHTMLDocument)return t;n=document.implementation.createHTMLDocument("sanitization");n.body.innerHTML=t;for(var i=d.map(e,function(t,e){return e}),r=d(n.body).find("*"),o=0,s=r.length;o<s;o++){var a=r[o],l=a.nodeName.toLowerCase();if(-1!==d.inArray(l,i))for(var c=d.map(a.attributes,function(t){return t}),u=[].concat(e["*"]||[],e[l]||[]),p=0,h=c.length;p<h;p++)((t,e)=>{var n=t.nodeName.toLowerCase();if(-1!==d.inArray(n,e))return-1===d.inArray(n,f)||Boolean(t.nodeValue.match(m)||t.nodeValue.match(g));for(var i=d(e).filter(function(t,e){return e instanceof RegExp}),r=0,o=i.length;r<o;r++)if(n.match(i[r]))return 1})(c[p],u)||a.removeAttribute(c[p].nodeName);else a.parentNode.removeChild(a)}return n.body.innerHTML}function l(t,e){this.type=null,this.options=null,this.enabled=null,this.timeout=null,this.hoverState=null,this.$element=null,this.inState=null,this.init("tooltip",t,e)}l.VERSION="3.4.1",l.TRANSITION_DURATION=150,l.DEFAULTS={animation:!0,placement:"top",selector:!1,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,container:!1,viewport:{selector:"body",padding:0},sanitize:!0,sanitizeFn:null,whiteList:{"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]}},l.prototype.init=function(t,e,n){if(this.enabled=!0,this.type=t,this.$element=d(e),this.options=this.getOptions(n),this.$viewport=this.options.viewport&&d(document).find(d.isFunction(this.options.viewport)?this.options.viewport.call(this,this.$element):this.options.viewport.selector||this.options.viewport),this.inState={click:!1,hover:!1,focus:!1},this.$element[0]instanceof document.constructor&&!this.options.selector)throw new Error("`selector` option must be specified when initializing "+this.type+" on the window.document object!");for(var i=this.options.trigger.split(" "),r=i.length;r--;){var o,s=i[r];"click"==s?this.$element.on("click."+this.type,this.options.selector,d.proxy(this.toggle,this)):"manual"!=s&&(o="hover"==s?"mouseleave":"focusout",this.$element.on(("hover"==s?"mouseenter":"focusin")+"."+this.type,this.options.selector,d.proxy(this.enter,this)),this.$element.on(o+"."+this.type,this.options.selector,d.proxy(this.leave,this)))}this.options.selector?this._options=d.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},l.prototype.getDefaults=function(){return l.DEFAULTS},l.prototype.getOptions=function(t){var e,n=this.$element.data();for(e in n)n.hasOwnProperty(e)&&-1!==d.inArray(e,i)&&delete n[e];return(t=d.extend({},this.getDefaults(),n,t)).delay&&"number"==typeof t.delay&&(t.delay={show:t.delay,hide:t.delay}),t.sanitize&&(t.template=r(t.template,t.whiteList,t.sanitizeFn)),t},l.prototype.getDelegateOptions=function(){var n={},i=this.getDefaults();return this._options&&d.each(this._options,function(t,e){i[t]!=e&&(n[t]=e)}),n},l.prototype.enter=function(t){var e=t instanceof this.constructor?t:d(t.currentTarget).data("bs."+this.type);if(e||(e=new this.constructor(t.currentTarget,this.getDelegateOptions()),d(t.currentTarget).data("bs."+this.type,e)),t instanceof d.Event&&(e.inState["focusin"==t.type?"focu
1s":"hover"]=!0),e.tip().hasClass("in")||"in"==e.hoverState)e.hoverState="in";else{if(clearTimeout(e.timeout),e.hoverState="in",!e.options.delay||!e.options.delay.show)return e.show();e.timeout=setTimeout(function(){"in"==e.hoverState&&e.show()},e.options.delay.show)}},l.prototype.isInStateTrue=function(){for(var t in this.inState)if(this.inState[t])return!0;return!1},l.prototype.leave=function(t){var e=t instanceof this.constructor?t:d(t.currentTarget).data("bs."+this.type);if(e||(e=new this.constructor(t.currentTarget,this.getDelegateOptions()),d(t.currentTarget).data("bs."+this.type,e)),t instanceof d.Event&&(e.inState["focusout"==t.type?"focus":"hover"]=!1),!e.isInStateTrue()){if(clearTimeout(e.timeout),e.hoverState="out",!e.options.delay||!e.options.delay.hide)return e.hide();e.timeout=setTimeout(function(){"out"==e.hoverState&&e.hide()},e.options.delay.hide)}},l.prototype.show=function(){var e,t,n,i,r,o,s,a=d.Event("show.bs."+this.type);this.hasContent()&&this.enabled&&(this.$element.trigger(a),r=d.contains(this.$element[0].ownerDocument.documentElement,this.$element[0]),!a.isDefaultPrevented())&&r&&(a=(e=this).tip(),r=this.getUID(this.type),this.setContent(),a.attr("id",r),this.$element.attr("aria-describedby",r),this.options.animation&&a.addClass("fade"),r="function"==typeof this.options.placement?this.options.placement.call(this,a[0],this.$element[0]):this.options.placement,(s=(t=/\s?auto?\s?/i).test(r))&&(r=r.replace(t,"")||"top"),a.detach().css({top:0,left:0,display:"block"}).addClass(r).data("bs."+this.type,this),this.options.container?a.appendTo(d(document).find(this.options.container)):a.insertAfter(this.$element),this.$element.trigger("inserted.bs."+this.type),t=this.getPosition(),n=a[0].offsetWidth,i=a[0].offsetHeight,s&&(s=r,o=this.getPosition(this.$viewport),r="bottom"==r&&t.bottom+i>o.bottom?"top":"top"==r&&t.top-i<o.top?"bottom":"right"==r&&t.right+n>o.width?"left":"left"==r&&t.left-n<o.left?"right":r,a.removeClass(s).addClass(r)),o=this.getCalculatedOffset(r,t,n,i),this.applyPlacement(o,r),s=function(){var t=e.hoverState;e.$element.trigger("shown.bs."+e.type),e.hoverState=null,"out"==t&&e.leave(e)},d.support.transition&&this.$tip.hasClass("fade")?a.one("bsTransitionEnd",s).emulateTransitionEnd(l.TRANSITION_DURATION):s())},l.prototype.applyPlacement=function(t,e){var n=this.tip(),i=n[0].offsetWidth,r=n[0].offsetHeight,o=parseInt(n.css("margin-top"),10),s=parseInt(n.css("margin-left"),10),o=(isNaN(o)&&(o=0),isNaN(s)&&(s=0),t.top+=o,t.left+=s,d.offset.setOffset(n[0],d.extend({using:function(t){n.css({top:Math.round(t.top),left:Math.round(t.left)})}},t),0),n.addClass("in"),n[0].offsetWidth),s=n[0].offsetHeight,a=("top"==e&&s!=r&&(t.top=t.top+r-s),this.getViewportAdjustedDelta(e,t,o,s)),e=(a.left?t.left+=a.left:t.top+=a.top,/top|bottom/.test(e)),i=e?2*a.left-i+o:2*a.top-r+s,o=e?"offsetWidth":"offsetHeight";n.offset(t),this.replaceArrow(i,n[0][o],e)},l.prototype.replaceArrow=function(t,e,n){this.arrow().css(n?"left":"top",50*(1-t/e)+"%").css(n?"top":"left","")},l.prototype.setContent=function(){var t=this.tip(),e=this.getTitle();this.options.html?(this.options.sanitize&&(e=r(e,this.options.whiteList,this.options.sanitizeFn)),t.find(".tooltip-inner").html(e)):t.find(".tooltip-inner").text(e),t.removeClass("fade in top bottom left right")},l.prototype.hide=function(t){var e=this,n=d(this.$tip),i=d.Event("hide.bs."+this.type);function r(){"in"!=e.hoverState&&n.detach(),e.$element&&e.$element.removeAttr("aria-describedby").trigger("hidden.bs."+e.type),t&&t()}if(this.$element.trigger(i),!i.isDefaultPrevented())return n.removeClass("in"),d.support.transition&&n.hasClass("fade")?n.one("bsTransitionEnd",r).emulateTransitionEnd(l.TRANSITION_DURATION):r(),this.hoverState=null,this},l.prototype.fixTitle=function(){var t=this.$element;!t.attr("title")&&"string"==typeof t.attr("data-original-title")||t.attr("data-original-title",t.attr("title")||"").attr("title","")},l.prototype.hasContent=function(){return this.getTitle()},l.prototype.getPosition=function(t){var e=(t=t||this.$element)[0],n="BODY"==e.tagName,i=e.getBoundingClientRect(),e=(null==i.width&&(i=d.extend({},i,{width:i.right-i.left,height:i.bottom-i.top})),window.SVGElement&&e instanceof window.SVGElement),e=n?{top:0,left:0}:e?null:t.offset(),t={scroll:n?document.documentElement.scrollTop||document.body.scrollTop:t.scrollTop()},n=n?{width:d(window).width(),height:d(window).height()}:null;return d.extend({},i,t,n,e)},l.prototype.getCalculatedOffset=function(t,e,n,i){return"bottom"==t?{top:e.top+e.height,left:e.left+e.width/2-n/2}:"top"==t?{top:e.top-i,left:e.left+e.width/2-n/2}:"left"==t?{top:e.top+e.height/2-i/2,left:e.left-n}:{top:e.top+e.height/2-i/2,left:e.left+e.width}},l.prototype.getViewportAdjustedDelta=function(t,e,n,i){var r,o,s={top:0,left:0};return this.$viewport&&(r=this.options.viewport&&this.options.viewport.padding||0,o=this.getPosition(this.$viewport),/right|left/.test(t)?(t=e.top-r-o.scroll,i=e.top+r-o.scroll+i,t<o.top?s.top=o.top-t:i>o.top+o.height&&(s.top=o.top+o.height-i)):(t=e.left-r,i=e.left+r+n,t<o.left?s.left=o.left-t:i>
vendor: 5,103 bytes, line 1
1o.right&&(s.left=o.left+o.width-i))),s},l.prototype.getTitle=function(){var t=this.$element,e=this.options;return t.attr("data-original-title")||("function"==typeof e.title?e.title.call(t[0]):e.title)},l.prototype.getUID=function(t){for(;t+=~~(1e6*Math.random()),document.getElementById(t););return t},l.prototype.tip=function(){if(this.$tip||(this.$tip=d(this.options.template),1==this.$tip.length))return this.$tip;throw new Error(this.type+" `template` option must consist of exactly 1 top-level element!")},l.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},l.prototype.enable=function(){this.enabled=!0},l.prototype.disable=function(){this.enabled=!1},l.prototype.toggleEnabled=function(){this.enabled=!this.enabled},l.prototype.toggle=function(t){var e=this;t&&!(e=d(t.currentTarget).data("bs."+this.type))&&(e=new this.constructor(t.currentTarget,this.getDelegateOptions()),d(t.currentTarget).data("bs."+this.type,e)),t?(e.inState.click=!e.inState.click,e.isInStateTrue()?e.enter(e):e.leave(e)):e.tip().hasClass("in")?e.leave(e):e.enter(e)},l.prototype.destroy=function(){var t=this;clearTimeout(this.timeout),this.hide(function(){t.$element.off("."+t.type).removeData("bs."+t.type),t.$tip&&t.$tip.detach(),t.$tip=null,t.$arrow=null,t.$viewport=null,t.$element=null})},l.prototype.sanitizeHtml=function(t){return r(t,this.options.whiteList,this.options.sanitizeFn)};var t=d.fn.tooltip;d.fn.tooltip=function(i){return this.each(function(){var t=d(this),e=t.data("bs.tooltip"),n="object"==typeof i&&i;!e&&/destroy|hide/.test(i)||(e||t.data("bs.tooltip",e=new l(this,n)),"string"==typeof i&&e[i]())})},d.fn.tooltip.Constructor=l,d.fn.tooltip.noConflict=function(){return d.fn.tooltip=t,this}})(jQuery),(r=>{function o(t,e){this.init("popover",t,e)}if(!r.fn.tooltip)throw new Error("Popover requires tooltip.js");o.VERSION="3.4.1",o.DEFAULTS=r.extend({},r.fn.tooltip.Constructor.DEFAULTS,{placement:"right",trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="arrow"></div><h3 class="popover-title"></h3><div class="popover-content"></div></div>'}),((o.prototype=r.extend({},r.fn.tooltip.Constructor.prototype)).constructor=o).prototype.getDefaults=function(){return o.DEFAULTS},o.prototype.setContent=function(){var t,e=this.tip(),n=this.getTitle(),i=this.getContent();this.options.html?(t=typeof i,this.options.sanitize&&(n=this.sanitizeHtml(n),"string"==t)&&(i=this.sanitizeHtml(i)),e.find(".popover-title").html(n),e.find(".popover-content").children().detach().end()["string"==t?"html":"append"](i)):(e.find(".popover-title").text(n),e.find(".popover-content").children().detach().end().text(i)),e.removeClass("fade top bottom left right in"),e.find(".popover-title").html()||e.find(".popover-title").hide()},o.prototype.hasContent=function(){return this.getTitle()||this.getContent()},o.prototype.getContent=function(){var t=this.$element,e=this.options;return t.attr("data-content")||("function"==typeof e.content?e.content.call(t[0]):e.content)},o.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")};var t=r.fn.popover;r.fn.popover=function(i){return this.each(function(){var t=r(this),e=t.data("bs.popover"),n="object"==typeof i&&i;!e&&/destroy|hide/.test(i)||(e||t.data("bs.popover",e=new o(this,n)),"string"==typeof i&&e[i]())})},r.fn.popover.Constructor=o,r.fn.popover.noConflict=function(){return r.fn.popover=t,this}})(jQuery),(r=>{function i(t,e){this.$body=r(document.body),this.$scrollElement=r(t).is(document.body)?r(window):r(t),this.options=r.extend({},i.DEFAULTS,e),this.selector=(this.options.target||"")+" .nav li > a",this.offsets=[],this.targets=[],this.activeTarget=null,this.scrollHeight=0,this.$scrollElement.on("scroll.bs.scrollspy",r.proxy(this.process,this)),this.refresh(),this.process()}function e(n){return this.each(function(){var t=r(this),e=t.data("bs.scrollspy");e||t.data("bs.scrollspy",e=new i(this,"object"==typeof n&&n)),"string"==typeof n&&e[n]()})}i.VERSION="3.4.1",i.DEFAULTS={offset:10},i.prototype.getScrollHeight=function(){return this.$scrollElement[0].scrollHeight||Math.max(this.$body[0].scrollHeight,document.documentElement.scrollHeight)},i.prototype.refresh=function(){var t=this,n="offset",i=0;this.offsets=[],this.targets=[],this.scrollHeight=this.getScrollHeight(),r.isWindow(this.$scrollElement[0])||(n="position",i=this.$scrollElement.scrollTop()),this.$body.find(this.selector).map(function(){var t=r(this),t=t.data("target")||t.attr("href"),e=/^#./.test(t)&&r(t);return e&&e.length&&e.is(":visible")?[[e[n]().top+i,t]]:null}).sort(function(t,e){return t[0]-e[0]}).each(function(){t.offsets.push(this[0]),t.targets.push(this[1])})},i.prototype.process=function(){var t,e=this.$scrollElement.scrollTop()+this.options.offset,n=this.getScrollHeight(),i=this.options.offset+n-this.$scrollElement.height(),r=this.offsets,o=this.targets,s=this.activeTarget;if(this.scrollHeight!=n&&this.refresh(),i<=e)return s!=(t=o[o.length-1])&&this.activate(t);if(s&&e<r[0])return this.activeTarget=null,this.clear();for(t=r.length;t--;)s!=o[t]&&e>
1=r[t]&&(void 0===r[t+1]||e<r[t+1])&&this.activate(o[t])},i.prototype.activate=function(t){this.activeTarget=t,this.clear();t=this.selector+'[data-target="'+t+'"],'+this.selector+'[href="'+t+'"]',t=r(t).parents("li").addClass("active");(t=t.parent(".dropdown-menu").length?t.closest("li.dropdown").addClass("active"):t).trigger("activate.bs.scrollspy")},i.prototype.clear=function(){r(this.selector).parentsUntil(this.options.target,".active").removeClass("active")};var t=r.fn.scrollspy;r.fn.scrollspy=e,r.fn.scrollspy.Constructor=i,r.fn.scrollspy.noConflict=function(){return r.fn.scrollspy=t,this},r(window).on("load.bs.scrollspy.data-api",function(){r('[data-spy="scroll"]').each(function(){var t=r(this);e.call(t,t.data())})})})(jQuery),(s=>{function a(t){this.element=s(t)}function e(n){return this.each(function(){var t=s(this),e=t.data("bs.tab");e||t.data("bs.tab",e=new a(this)),"string"==typeof n&&e[n]()})}function t(t){t.preventDefault(),e.call(s(this),"show")}a.VERSION="3.4.1",a.TRANSITION_DURATION=150,a.prototype.show=function(){var t,e,n,i=this.element,r=i.closest("ul:not(.dropdown-menu)"),o=(o=i.data("target"))||(o=i.attr("href"))&&o.replace(/.*(?=#[^\s]*$)/,"");i.parent("li").hasClass("active")||(t=r.find(".active:last a"),e=s.Event("hide.bs.tab",{relatedTarget:i[0]}),n=s.Event("show.bs.tab",{relatedTarget:t[0]}),t.trigger(e),i.trigger(n),n.isDefaultPrevented())||e.isDefaultPrevented()||(n=s(document).find(o),this.activate(i.closest("li"),r),this.activate(n,n.parent(),function(){t.trigger({type:"hidden.bs.tab",relatedTarget:i[0]}),i.trigger({type:"shown.bs.tab",relatedTarget:t[0]})}))},a.prototype.activate=function(t,e,n){var i=e.find("> .active"),r=n&&s.support.transition&&(i.length&&i.hasClass("fade")||!!e.find("> .fade").length);function o(){i.removeClass("active").find("> .dropdown-menu > .active").removeClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!1),t.addClass("active").find('[data-toggle="tab"]').attr("aria-expanded",!0),r?(t[0].offsetWidth,t.addClass("in")):t.removeClass("fade"),t.parent(".dropdown-menu").length&&t.closest("li.dropdown").addClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!0),n&&n()}i.length&&r?i.one("bsTransitionEnd",o).emulateTransitionEnd(a.TRANSITION_DURATION):o(),i.removeClass("in")};var n=s.fn.tab;s.fn.tab=e,s.fn.tab.Constructor=a,s.fn.tab.noConflict=function(){return s.fn.tab=n,this},s(document).on("click.bs.tab.data-api",'[data-toggle="tab"]',t).on("click.bs.tab.data-api",'[data-toggle="pill"]',t)})(jQuery),(s=>{function a(t,e){this.options=s.extend({},a.DEFAULTS,e),e=this.options.target===a.DEFAULTS.target?s(this.options.target):s(document).find(this.options.target),this.$target=e.on("scroll.bs.affix.data-api",s.proxy(this.checkPosition,this)).on("click.bs.affix.data-api",s.proxy(this.checkPositionWithEventLoop,this)),this.$element=s(t),this.affixed=null,this.unpin=null,this.pinnedOffset=null,this.checkPosition()}function n(n){return this.each(function(){var t=s(this),e=t.data("bs.affix");e||t.data("bs.affix",e=new a(this,"object"==typeof n&&n)),"string"==typeof n&&e[n]()})}a.VERSION="3.4.1",a.RESET="affix affix-top affix-bottom",a.DEFAULTS={offset:0,target:window},a.prototype.getState=function(t,e,n,i){var r,o=this.$target.scrollTop(),s=this.$element.offset(),a=this.$target.height();return null!=n&&"top"==this.affixed?o<n&&"top":"bottom"==this.affixed?null!=n?!(o+this.unpin<=s.top)&&"bottom":!(o+a<=t-i)&&"bottom":(s=(r=null==this.affixed)?o:s.top,null!=n&&o<=n?"top":null!=i&&t-i<=s+(r?a:e)&&"bottom")},a.prototype.getPinnedOffset=function(){if(this.pinnedOffset)return this.pinnedOffset;this.$element.removeClass(a.RESET).addClass("affix");var t=this.$target.scrollTop(),e=this.$element.offset();return this.pinnedOffset=e.top-t},a.prototype.checkPositionWithEventLoop=function(){setTimeout(s.proxy(this.checkPosition,this),1)},a.prototype.checkPosition=function(){if(this.$element.is(":visible")){var t=this.$element.height(),e=this.options.offset,n=e.top,i=e.bottom,r=Math.max(s(document).height(),s(document.body).height()),e=("object"!=typeof e&&(i=n=e),"function"==typeof n&&(n=e.top(this.$element)),"function"==typeof i&&(i=e.bottom(this.$element)),this.get
1State(r,t,n,i));if(this.affixed!=e){null!=this.unpin&&this.$element.css("top","");var n="affix"+(e?"-"+e:""),o=s.Event(n+".bs.affix");if(this.$element.trigger(o),o.isDefaultPrevented())return;this.affixed=e,this.unpin="bottom"==e?this.getPinnedOffset():null,this.$element.removeClass(a.RESET).addClass(n).trigger(n.replace("affix","affixed")+".bs.affix")}"bottom"==e&&this.$element.offset({top:r-t-i})}};var t=s.fn.affix;s.fn.affix=n,s.fn.affix.Constructor=a,s.fn.affix.noConflict=function(){return s.fn.affix=t,this},s(window).on("load",function(){s('[data-spy="affix"]').each(function(){var t=s(this),e=t.data();e.offset=e.offset||{},null!=e.offsetBottom&&(e.offset.bottom=e.offsetBottom),null!=e.offsetTop&&(e.offset.top=e.offsetTop),n.call(t,e)})})})(jQuery);var saveAs=saveAs||"undefined"!=typeof navigator&&navigator.msSaveOrOpenBlob&&navigator.msSaveOrOpenBlob.bind(navigator)||(d=>{var f,n,m,g,v,y,o,b,_,w,t,x,i,e,r;if("undefined"==typeof navigator||!/MSIE [1-9]\./.test(navigator.userAgent))return f=d.document,n=d.URL||d.webkitURL||d,m=f.createElementNS("http://www.w3.org/1999/xhtml","a"),g=!d.externalHost&&"download"in m,v=d.webkitRequestFileSystem,y=d.requestFileSystem||v||d.mozRequestFileSystem,o=function(t){(d.setImmediate||d.setTimeout)(function(){throw t},0)},b="application/octet-stream",_=0,w=[],t=function(){for(var t=w.length;t--;){var e=w[t];"string"==typeof e?n.revokeObjectURL(e):e.remove()}w.length=0},x=function(t,e,n){for(var i=(e=[].concat(e)).length;i--;){var r=t["on"+e[i]];if("function"==typeof r)try{r.call(t,n||t)}catch(t){o(t)}}},r=function(t,e){return new i(t,e)},(e=(i=function(i,n){function r(){var e;!c&&t||(t=u(i)),s?s.location.href=t:navigator.userAgent.match(/7\.[\d\s\.]+Safari/)&&void 0!==window.FileReader&&i.size<=157286400?((e=new window.FileReader).readAsDataURL(i),e.onloadend=function(){var t=f.createElement("iframe");t.src=e.result,t.style.display="none",f.body.appendChild(t),p()},a.readyState=a.DONE,a.savedAs=a.SAVEDASUNKNOWN):(window.open(t,"_blank"),a.readyState=a.DONE,a.savedAs=a.SAVEDASBLOB,p())}function o(t){return function(){if(a.readyState!==a.DONE)return t.apply(this,arguments)}}var t,s,e,a=this,l=i.type,c=!1,u=function(){var t=(d.URL||d.webkitURL||d).createObjectURL(i);return w.push(t),t},p=function(){x(a,"writestart progress write writeend".split(" "))},h={create:!0,exclusive:!1};a.readyState=a.INIT,n=n||"download",g?(t=u(i),f=d.document,(m=f.createElementNS("http://www.w3.org/1999/xhtml","a")).href=t,m.download=n,(e=f.createEvent("MouseEvents")).initMouseEvent("click",!0,!1,d,0,0,0,0,0,!1,!1,!1,!1,0,null),m.dispatchEvent(e),a.readyState=a.DONE,a.savedAs=a.SAVEDASBLOB,p()):(d.chrome&&l&&l!==b&&(e=i.slice||i.webkitSlice,i=e.call(i,0,i.size,b),c=!0),v&&"download"!==n&&(n+=".download"),l!==b&&!v||(s=d),y?(_+=i.size,y(d.TEMPORARY,_,o(function(t){t.root.getDirectory("saved",h,o(function(t){function e(){t.getFile(n,h,o(function(n){n.createWriter(o(function(e){e.onwriteend=function(t){s.location.href=n.toURL(),w.push(n),a.readyState=a.DONE,a.savedAs=a.SAVEDASBLOB,x(a,"writeend",t)},e.onerror=function(){var t=e.error;t.code!==t.ABORT_ERR&&r()},"writestart progress write abort".split(" ").forEach(function(t){e["on"+t]=a["on"+t]}),e.write(i),a.abort=function(){e.abort(),a.readyState=a.DONE,a.savedAs=a.FAILED},a.readyState=a.WRITING}),r)}),r)}t.getFile(n,{create:!1},o(function(t){t.remove(),e()}),o(function(t){(t.code===t.NOT_FOUND_ERR?e:r)()}))}),r)}),r)):r())}).prototype).abort=function(){var t=this;t.readyState=t.DONE,t.savedAs=t.FAILED,x(t,"abort")},e.readyState=e.INIT=0,e.WRITING=1,e.DONE=2,e.FAILED=-1,e.SAVEDASBLOB=1,e.SAVEDASURI=2,e.SAVEDASUNKNOWN=3,e.error=e.onwritestart=e.onprogress=e.onwrite=e.onabort=e.onerror=e.onwriteend=null,d.addEventListener("unload",t,!1),r.unload=function(){t(),d.removeEventListener("unload",t,!1)},r})("undefined"!=typeof self&&self||"undefined"!=typeof window&&window||this.content);if("undefined"!=typeof module&&null!==module?module.exports=saveAs:"undefined"!=typeof define&&null!==define&&null!=define.amd?define([],function(){return saveAs}):"undefined"!=typeof Meteor&&(Meteor.saveAs=saveAs),((t,e)=>{"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exp
vendor: 8,502 bytes, line 1
1orts.Handlebars=e():t.Handlebars=e()})(this,function(){return i=[function(t,e,n){var i=n(1).default;e.__esModule=!0;var r=i(n(2)),o=i(n(21)),s=n(22),a=n(27),l=i(n(28)),c=i(n(25)),i=i(n(20)),u=r.default.create;function p(){var n=u();return n.compile=function(t,e){return a.compile(t,e,n)},n.precompile=function(t,e){return a.precompile(t,e,n)},n.AST=o.default,n.Compiler=a.Compiler,n.JavaScriptCompiler=l.default,n.Parser=s.parser,n.parse=s.parse,n}n=p();n.create=p,i.default(n),n.Visitor=c.default,n.default=n,e.default=n,t.exports=e.default},function(t,e){e.default=function(t){return t&&t.__esModule?t:{default:t}},e.__esModule=!0},function(t,e,n){var i=n(3).default,r=n(1).default;e.__esModule=!0;var o=i(n(4)),s=r(n(18)),a=r(n(6)),l=i(n(5)),c=i(n(19)),i=r(n(20));function u(){var e=new o.HandlebarsEnvironment;return l.extend(e,o),e.SafeString=s.default,e.Exception=a.default,e.Utils=l,e.escapeExpression=l.escapeExpression,e.VM=c,e.template=function(t){return c.template(t,e)},e}r=u();r.create=u,i.default(r),r.default=r,e.default=r,t.exports=e.default},function(t,e){e.default=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e},e.__esModule=!0},function(t,e,n){var i=n(1).default,r=(e.__esModule=!0,e.HandlebarsEnvironment=c,n(5)),o=i(n(6)),s=n(7),a=n(15),i=i(n(17)),l=(e.VERSION="4.0.5",e.COMPILER_REVISION=7,e.REVISION_CHANGES={1:"<= 1.0.rc.2",2:"== 1.0.0-rc.3",3:"== 1.0.0-rc.4",4:"== 1.x.x",5:"== 2.0.0-alpha.x",6:">= 2.0.0-beta.1",7:">= 4.0.0"},"[object Object]");function c(t,e,n){this.helpers=t||{},this.partials=e||{},this.decorators=n||{},s.registerDefaultHelpers(this),a.registerDefaultDecorators(this)}c.prototype={constructor:c,logger:i.default,log:i.default.log,registerHelper:function(t,e){if(r.toString.call(t)===l){if(e)throw new o.default("Arg not supported with multiple helpers");r.extend(this.helpers,t)}else this.helpers[t]=e},unregisterHelper:function(t){delete this.helpers[t]},registerPartial:function(t,e){if(r.toString.call(t)===l)r.extend(this.partials,t);else{if(void 0===e)throw new o.default('Attempting to register a partial called "'+t+'" as undefined');this.partials[t]=e}},unregisterPartial:function(t){delete this.partials[t]},registerDecorator:function(t,e){if(r.toString.call(t)===l){if(e)throw new o.default("Arg not supported with multiple decorators");r.extend(this.decorators,t)}else this.decorators[t]=e},unregisterDecorator:function(t){delete this.decorators[t]}};n=i.default.log;e.log=n,e.createFrame=r.createFrame,e.logger=i.default},function(t,e){e.__esModule=!0,e.extend=s,e.indexOf=function(t,e){for(var n=0,i=t.length;n<i;n++)if(t[n]===e)return n;return-1},e.escapeExpression=function(t){if("string"!=typeof t){if(t&&t.toHTML)return t.toHTML();if(null==t)return"";if(!t)return t+"";t=""+t}return r.test(t)?t.replace(i,o):t},e.isEmpty=function(t){return!t&&0!==t||!(!c(t)||0!==t.length)},e.createFrame=function(t){var e=s({},t);return e._parent=t,e},e.blockParams=function(t,e){return t.path=e,t},e.appendContextPath=function(t,e){return(t?t+".":"")+e};var n={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`","=":"="},i=/[&<>"'`=]/g,r=/[&<>"'`=]/;function o(t){return n[t]}function s(t){for(var e=1;e<arguments.length;e++)for(var n in arguments[e])Object.prototype.hasOwnProperty.call(arguments[e],n)&&(t[n]=arguments[e][n]);return t}var a=Object.prototype.toString,l=(e.toString=a,function(t){return"function"==typeof t}),c=(l(/x/)&&(e.isFunction=l=function(t){return"function"==typeof t&&"[object Function]"===a.call(t)}),e.isFunction=l,Array.isArray||function(t){return!(!t||"object"!=typeof t)&&"[object Array]"===a.call(t)});e.isArray=c},function(t,e){e.__esModule=!0;var s=["description","fileName","lineNumber","message","name","number","stack"];function a(t,e){for(var e=e&&e.loc,n=void 0,i=void 0,r=(e&&(t+=" - "+(n=e.start.line)+":"+(i=e.start.column)),Error.prototype.constructor.call(this,t)),o=0;o<s.length;o++)this[s[o]]=r[s[o]];Error.captureStackTrace&&Error.captureStackTrace(this,a),e&&(this.lineNumber=n,this.column=i)}a.prototype=new Error,e.default=a,t.exports=e.default},function(t,e,n){var i=n(1).default;e.__esModule=!0,e.registerDefaultHelpers=function(t){r.default(t),o.default(t),s.default(t),a.default(t),l.default(t),c.default(t),u.default(t)};var r=i(n(8)),o=i(n(9)),s=i(n(10)),a=i(n(11)),l=i(n(12)),c=i(n(13)),u=i(n(14))},function(t,e,n){e.__esModule=!0;var o=n(5);e.default=function(r){r.registerHelper("blockHelperMissing",function(t,e){var n=e.inverse,i=e.fn;return!0===t?i(this):!1===t||null==t?n(this):o.isArray(t)?0<t.length?(e.ids&&(e.ids=[e.name]),r.helpers.each(t,e)):n(this):(e.data&&e.ids&&((n=o.createFrame(e.data)).contextPath=o.appendContextPath(e.data.contextPath,e.name),e={data:n}),i(t,e))})},t.exports=e.default},function(t,e,n){var i=n(1).default,h=(e.__esModule=!0,n(5)),d=i(n(6));e.default=function(t){t.registerHelper("each",function(i,t){if(!t)throw new d.default("Must pass iterator to #each");var r=t.fn,e=t.inverse,n=0,o="",s=void 0,a=void 0;function l(t,e,n){s&&(s.key=t,s.index=e,s.first=0===e,s.last=!!n,a)&&(s.contextPath=a+t),o+=r(i[t],{data:s,blockParams:h.blockParams([i[t],t],[a+t,null])})}if(t.data&&t.ids&&(a=h.appendContextPath(t.data.contextPath,t.ids[0])+"."),h.isFunction(i)&&(i=i.call(this)),t.data&&(s=h.createFrame(t.data)),i&&"object"==typeof i)if(h.isArray(i))for(var c=i.length;n<c;n++)n in i&&l(n,n,n===i.length-1);else{var u,p=void 0;for(u in i)i.hasOwnProperty(u)&&(void 0!==p&&l(p,n-1),p=u,n++);void 0!==p&&l(p,n-1,!0)}return o=0===n?e(this):o})},t.exports=e.default},function(t,e,n){var i=n(1).default;e.__esModule=!0;var r=i(n(6));e.default=function(t){t.registerHelper("helperMissing",function(){if(1!==arguments.length)throw new r.default('Missing helper: "'+arguments[arguments.length-1].name+'"')})},t.exports=e.default},function(t,e,n){e.__esModule=!0;var i=n(5);e.default=function(n){n.registerHelper("if",function(t,e){return i.isFunction(t)&&(t=t.call(this)),!e.hash.includeZero&&!t||i.isEmpty(t)?e.inverse(this):e.fn(this)}),n.registerHelper("unless",function(t,e){return n.helpers.if.call(this,t,{fn:e.inverse,inverse:e.fn,hash:e.hash})})},t.exports=e.default},function(t,e){e.__esModule=!0,e.default=function(r){r.registerHelper("log",function(){for(var t=[void 0],e=arguments[arguments.length-1],n=0;n<arguments.length-1;n++)t.push(arguments[n]);var i=1;null!=e.hash.level?i=e.hash.level:e.data&&null!=e.data.level&&(i=e.data.level),t[0]=i,r.log.apply(r,t)})},t.exports=e.default},function(t,e){e.__esModule=!0,e.default=function(t){t.registerHelper("lookup",function(t,e){return t&&t[e]})},t.exports=e.default},function(t,e,n){e.__esModule=!0;var r=n(5);e.default=function(t){t.registerHelper("with",function(t,e){r.isFunction(t)&&(t=t.call(this));var n,i=e.fn;return r.isEmpty(t)?e.inverse(this):(n=e.data,e.data&&e.ids&&((n=r.createFrame(e.data)).contextPath=r.appendContextPath(e.data.contextPath,e.ids[0])),i(t,{data:n,blockParams:r.blockParams([t],[n&&n.contextPath])}))})},t.exports=e.default},function(t,e,n){var i=n(1).default;e.__esModule=!0,e.registerDefaultDecorators=function(t){r.default(t)};var r=i(n(16))},function(t,e,n){e.__esModule=!0;var s=n(5);e.default=function(t){t.registerDecorator("inline",function(i,r,o,t){var e=i;return r.partials||(r.partials={},e=function(t,e){var n=o.partials,t=(o.partials=s.extend({},n,r.partials),i(t,e));return o.partials=n,t}),r.partials[t.args[0]]=t.fn,e})},t.exports=e.default},function(t,e,n){e.__esModule=!0;var i=n(5),r={methodMap:["debug","info","warn","error"],level:"info",lookupLevel:function(t){var e;return t="string"==typeof t?0<=(e=i.indexOf(r.methodMap,t.toLowerCase()))?e:parseInt(t,10):t},log:function(t){if(t=r.lookupLevel(t),"undefined"!=typeof console&&r.lookupLevel(r.level)<=t){t=r.methodMap[t];console[t]||(t="log");for(var e=arguments.length,n=Array(1<e?e-1:0),i=1;i<e;i++)n[i-1]=arguments[i];console[t].apply(console,n)}}};e.default=r,t.exports=e.default},function(t,e){function n(t){this.string=t}e.__esModule=!0,n.prototype.toString=n.prototype.toHTML=function(){return""+this.string},e.default=n,t.exports=e.default},function(t,e,n){var i=n(3).default,r=n(1).default;e.__esModule=!0,e.checkRevision=function(t){var e=t&&t[0]||1,n=h.COMPILER_REVISION;if(e!==n)throw e<n?(n=h.REVISION_CHANGES[n],e=h.REVISION_CHANGES[e],new p.default("Template was precompiled with an older version of Handlebars than the current runtime. Please update your prec
1ompiler to a newer version ("+n+") or downgrade your runtime to an older version ("+e+").")):new p.default("Template was precompiled with a newer version of Handlebars than the current runtime. Please update your runtime to a newer version ("+t[1]+").")},e.template=function(a,l){if(!l)throw new p.default("No environment passed to template");if(!a||!a.main)throw new p.default("Unknown template object: "+typeof a);a.main.decorator=a.main_d,l.VM.checkRevision(a.compiler);var s={strict:function(t,e){if(e in t)return t[e];throw new p.default('"'+e+'" not defined in '+t)},lookup:function(t,e){for(var n=t.length,i=0;i<n;i++)if(t[i]&&null!=t[i][e])return t[i][e]},lambda:function(t,e){return"function"==typeof t?t.call(e):t},escapeExpression:u.escapeExpression,invokePartial:function(t,e,n){n.hash&&(e=u.extend({},e,n.hash),n.ids)&&(n.ids[0]=!0),t=l.VM.resolvePartial.call(this,t,e,n);var i=l.VM.invokePartial.call(this,t,e,n);if(null==i&&l.compile&&(n.partials[n.name]=l.compile(t,a.compilerOptions,l),i=n.partials[n.name](e,n)),null==i)throw new p.default("The partial "+n.name+" could not be compiled when running in runtime-only mode");if(n.indent){for(var r=i.split("\n"),o=0,s=r.length;o<s&&(r[o]||o+1!==s);o++)r[o]=n.indent+r[o];i=r.join("\n")}return i},fn:function(t){var e=a[t];return e.decorator=a[t+"_d"],e},programs:[],program:function(t,e,n,i,r){var o=this.programs[t],s=this.fn(t);return o=e||r||i||n?d(this,t,s,e,n,i,r):o||(this.programs[t]=d(this,t,s))},data:function(t,e){for(;t&&e--;)t=t._parent;return t},merge:function(t,e){var n=t||e;return n=t&&e&&t!==e?u.extend({},e,t):n},noop:l.VM.noop,compilerInfo:a.compiler};function c(t){var e=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],n=e.data,i=(c._setup(e),!e.partial&&a.useData&&(n=((t,e)=>(e&&"root"in e||((e=e?h.createFrame(e):{}).root=t),e))(t,n)),void 0),r=a.useBlockParams?[]:void 0;function o(t){return""+a.main(s,t,s.helpers,s.partials,n,r,i)}return a.useDepths&&(i=e.depths?t!==e.depths[0]?[t].concat(e.depths):e.depths:[t]),(o=f(a.main,o,s,e.depths||[],n,r))(t,e)}return c.isTop=!0,c._setup=function(t){t.partial?(s.helpers=t.helpers,s.partials=t.partials,s.decorators=t.decorators):(s.helpers=s.merge(t.helpers,l.helpers),a.usePartial&&(s.partials=s.merge(t.partials,l.partials)),(a.usePartial||a.useDecorators)&&(s.decorators=s.merge(t.decorators,l.decorators)))},c._child=function(t,e,n,i){if(a.useBlockParams&&!n)throw new p.default("must pass block params");if(a.useDepths&&!i)throw new p.default("must pass parent depths");return d(s,t,a[t],e,0,n,i)},c},e.wrapProgram=d,e.resolvePartial=function(t,e,n){t?t.call||n.name||(n.name=t,t=n.partials[t]):t="@partial-block"===n.name?n.data["partial-block"]:n.partials[n.name];return t},e.invokePartial=function(t,e,n){n.partial=!0,n.ids&&(n.data.contextPath=n.ids[0]||n.data.contextPath);var i=void 0;n.fn&&n.fn!==o&&(n.data=h.createFrame(n.data),(i=n.data["partial-block"]=n.fn).partials)&&(n.partials=u.extend({},n.partials,i.partials));void 0===t&&i&&(t=i);{if(void 0===t)throw new p.default("The partial "+n.name+" could not be found");if(t instanceof Function)return t(e,n)}},e.noop=o;var u=i(n(5)),p=r(n(6)),h=n(4);function d(i,t,r,o,e,s,a){function n(t){var e=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],n=a;return a&&t!==a[0]&&(n=[t].concat(a)),r(i,t,i.helpers,i.partials,e.data||o,s&&[e.blockParams].concat(s),n)}return(n=f(r,n,i,a,o,s)).program=t,n.depth=a?a.length:0,n.blockParams=e||0,n}function o(){return""}function f(t,e,n,i,r,o){return t.decorator&&(e=t.decorator(e,t={},n,i&&i[0],r,o,i),u.extend(e,t)),e}},function(t,e){!function(i){e.__esModule=!0,e.default=function(t){var e=void 0!==i?i:window,n=e.Handlebars;t.noConflict=function(){return e.Handlebars===t&&(e.Handlebars=n),t}},t.exports=e.default}.call(e,function(){return this}())},function(t,e){e.__esModule=!0;var n={helpers:{helperExpression:function(t){return"SubExpression"===t.type||("MustacheStatement"===t.type||"BlockStatement"===t.type)&&!!(t.params&&t.params.length||t.hash)},scopedId:function(t){return/^\.|this\b/.test(t.original)},simpleId:function(t){return 1===t.parts.length&&!n.helpers.scopedId(t)&&!t.depth}}};
1e.default=n,t.exports=e.default},function(t,e,n){var i=n(1).default,r=n(3).default;e.__esModule=!0,e.parse=function(t,e){if("Program"===t.type)return t;return(o.default.yy=a).locInfo=function(t){return new a.SourceLocation(e&&e.srcName,t)},new s.default(e).accept(o.default.parse(t))};var o=i(n(23)),s=i(n(24)),i=r(n(26)),r=n(5),a=(e.parser=o.default,{});r.extend(a,i)},function(t,e){(n={trace:function(){},yy:{},symbols_:{error:2,root:3,program:4,EOF:5,program_repetition0:6,statement:7,mustache:8,block:9,rawBlock:10,partial:11,partialBlock:12,content:13,COMMENT:14,CONTENT:15,openRawBlock:16,rawBlock_repetition_plus0:17,END_RAW_BLOCK:18,OPEN_RAW_BLOCK:19,helperName:20,openRawBlock_repetition0:21,openRawBlock_option0:22,CLOSE_RAW_BLOCK:23,openBlock:24,block_option0:25,closeBlock:26,openInverse:27,block_option1:28,OPEN_BLOCK:29,openBlock_repetition0:30,openBlock_option0:31,openBlock_option1:32,CLOSE:33,OPEN_INVERSE:34,openInverse_repetition0:35,openInverse_option0:36,openInverse_option1:37,openInverseChain:38,OPEN_INVERSE_CHAIN:39,openInverseChain_repetition0:40,openInverseChain_option0:41,openInverseChain_option1:42,inverseAndProgram:43,INVERSE:44,inverseChain:45,inverseChain_option0:46,OPEN_ENDBLOCK:47,OPEN:48,mustache_repetition0:49,mustache_option0:50,OPEN_UNESCAPED:51,mustache_repetition1:52,mustache_option1:53,CLOSE_UNESCAPED:54,OPEN_PARTIAL:55,partialName:56,partial_repetition0:57,partial_option0:58,openPartialBlock:59,OPEN_PARTIAL_BLOCK:60,openPartialBlock_repetition0:61,openPartialBlock_option0:62,param:63,sexpr:64,OPEN_SEXPR:65,sexpr_repetition0:66,sexpr_option0:67,CLOSE_SEXPR:68,hash:69,hash_repetition_plus0:70,hashSegment:71,ID:72,
vendor: 8,271 bytes, line 1
1EQUALS:73,blockParams:74,OPEN_BLOCK_PARAMS:75,blockParams_repetition_plus0:76,CLOSE_BLOCK_PARAMS:77,path:78,dataName:79,STRING:80,NUMBER:81,BOOLEAN:82,UNDEFINED:83,NULL:84,DATA:85,pathSegments:86,SEP:87,$accept:0,$end:1},terminals_:{2:"error",5:"EOF",14:"COMMENT",15:"CONTENT",18:"END_RAW_BLOCK",19:"OPEN_RAW_BLOCK",23:"CLOSE_RAW_BLOCK",29:"OPEN_BLOCK",33:"CLOSE",34:"OPEN_INVERSE",39:"OPEN_INVERSE_CHAIN",44:"INVERSE",47:"OPEN_ENDBLOCK",48:"OPEN",51:"OPEN_UNESCAPED",54:"CLOSE_UNESCAPED",55:"OPEN_PARTIAL",60:"OPEN_PARTIAL_BLOCK",65:"OPEN_SEXPR",68:"CLOSE_SEXPR",72:"ID",73:"EQUALS",75:"OPEN_BLOCK_PARAMS",77:"CLOSE_BLOCK_PARAMS",80:"STRING",81:"NUMBER",82:"BOOLEAN",83:"UNDEFINED",84:"NULL",85:"DATA",87:"SEP"},productions_:[0,[3,2],[4,1],[7,1],[7,1],[7,1],[7,1],[7,1],[7,1],[7,1],[13,1],[10,3],[16,5],[9,4],[9,4],[24,6],[27,6],[38,6],[43,2],[45,3],[45,1],[26,3],[8,5],[8,5],[11,5],[12,3],[59,5],[63,1],[63,1],[64,5],[69,1],[71,3],[74,3],[20,1],[20,1],[20,1],[20,1],[20,1],[20,1],[20,1],[56,1],[56,1],[79,2],[78,1],[86,3],[86,1],[6,0],[6,2],[17,1],[17,2],[21,0],[21,2],[22,0],[22,1],[25,0],[25,1],[28,0],[28,1],[30,0],[30,2],[31,0],[31,1],[32,0],[32,1],[35,0],[35,2],[36,0],[36,1],[37,0],[37,1],[40,0],[40,2],[41,0],[41,1],[42,0],[42,1],[46,0],[46,1],[49,0],[49,2],[50,0],[50,1],[52,0],[52,2],[53,0],[53,1],[57,0],[57,2],[58,0],[58,1],[61,0],[61,2],[62,0],[62,1],[66,0],[66,2],[67,0],[67,1],[70,1],[70,2],[76,1],[76,2]],performAction:function(t,e,n,i,r,o,s){var a=o.length-1;switch(r){case 1:return o[a-1];case 2:this.$=i.prepareProgram(o[a]);break;case 3:case 4:case 5:case 6:case 7:case 8:this.$=o[a];break;case 9:this.$={type:"CommentStatement",value:i.stripComment(o[a]),strip:i.stripFlags(o[a],o[a]),loc:i.locInfo(this._$)};break;case 10:this.$={type:"ContentStatement",original:o[a],value:o[a],loc:i.locInfo(this._$)};break;case 11:this.$=i.prepareRawBlock(o[a-2],o[a-1],o[a],this._$);break;case 12:this.$={path:o[a-3],params:o[a-2],hash:o[a-1]};break;case 13:this.$=i.prepareBlock(o[a-3],o[a-2],o[a-1],o[a],!1,this._$);break;case 14:this.$=i.prepareBlock(o[a-3],o[a-2],o[a-1],o[a],!0,this._$);break;case 15:this.$={open:o[a-5],path:o[a-4],params:o[a-3],hash:o[a-2],blockParams:o[a-1],strip:i.stripFlags(o[a-5],o[a])};break;case 16:case 17:this.$={path:o[a-4],params:o[a-3],hash:o[a-2],blockParams:o[a-1],strip:i.stripFlags(o[a-5],o[a])};break;case 18:this.$={strip:i.stripFlags(o[a-1],o[a-1]),program:o[a]};break;case 19:var l=i.prepareBlock(o[a-2],o[a-1],o[a],o[a],!1,this._$),l=i.prepareProgram([l],o[a-1].loc);l.chained=!0,this.$={strip:o[a-2].strip,program:l,chain:!0};break;case 20:this.$=o[a];break;case 21:this.$={path:o[a-1],strip:i.stripFlags(o[a-2],o[a])};break;case 22:case 23:this.$=i.prepareMustache(o[a-3],o[a-2],o[a-1],o[a-4],i.stripFlags(o[a-4],o[a]),this._$);break;case 24:this.$={type:"PartialStatement",name:o[a-3],params:o[a-2],hash:o[a-1],indent:"",strip:i.stripFlags(o[a-4],o[a]),loc:i.locInfo(this._$)};break;case 25:this.$=i.preparePartialBlock(o[a-2],o[a-1],o[a],this._$);break;case 26:this.$={path:o[a-3],params:o[a-2],hash:o[a-1],strip:i.stripFlags(o[a-4],o[a])};break;case 27:case 28:this.$=o[a];break;case 29:this.$={type:"SubExpression",path:o[a-3],params:o[a-2],hash:o[a-1],loc:i.locInfo(this._$)};break;case 30:this.$={type:"Hash",pairs:o[a],loc:i.locInfo(this._$)};break;case 31:this.$={type:"HashPair",key:i.id(o[a-2]),value:o[a],loc:i.locInfo(this._$)};break;case 32:this.$=i.id(o[a-1]);break;case 33:case 34:this.$=o[a];break;case 35:this.$={type:"StringLiteral",value:o[a],original:o[a],loc:i.locInfo(this._$)};break;case 36:this.$={type:"NumberLiteral",value:Number(o[a]),original:Number(o[a]),loc:i.locInfo(this._$)};break;case 37:this.$={type:"BooleanLiteral",value:"true"===o[a],original:"true"===o[a],loc:i.locInfo(this._$)};break;case 38:this.$={type:"UndefinedLiteral",original:void 0,value:void 0,loc:i.locInfo(this._$)};break;case 39:this.$={type:"NullLiteral",original:null,value:null,loc:i.locInfo(this._$)};break;case 40:case 41:this.$=o[a];break;case 42:this.$=i.preparePath(!0,o[a],this._$);break;case 43:this.$=i.preparePath(!1,o[a],this._$);break;case 44:o[a-2].push({part:i.id(o[a]),original:o[a],separator:o[a-1]}),this.$=o[a-2];break;case 45:this.$=[{part:i.id(o[a]),original:o[a]}];break;case 46:this.$=[];break;case 47:o[a-1].push(o[a]);break;case 48:this.$=[o[a]];break;case 49:o[a-1].push(o[a]);break;case 50:this.$=[];break;case 51:o[a-1].push(o[a]);break;case 58:this.$=[];break;case 59:o[a-1].push(o[a]);break;case 64:this.$=[];break;case 65:o[a-1].push(o[a]);break;case 70:this.$=[];break;case 71:o[a-1].push(o[a]);break;case 78:this.$=[];break;case 79:o[a-1].push(o[a]);break;case 82:this.$=[];break;case 83:o[a-1].push(o[a]);break;case 86:this.$=[];break;case 87:o[a-1].push(o[a]);break;case 90:this.$=[];break;case 91:o[a-1].push(o[a]);break;case 94:this.$=[];break;case 95:o[a-1].push(o[a]);break;case 98:this.$=[o[a]];break;case 99:o[a-1].push(o[a]);break;case 100:this.$=[o[a]];break;case 101:o[a-1].push(o[a])}},table:[{3:1,4:2,5:[2,46],6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{1:[3]},{5:[1,4]},{5:[2,2],7:5,8:6,9:7,10:8,11:9,12:10,13:11,14:[1,12],15:[1,20],16:17,19:[1,23],24:15,27:16,29:[1,21],34:[1,22],39:[2,2],44:[2,2],47:[2,2],48:[1,13],51:[1,14],55:[1,18],59:19,60:[1,24]},{1:[2,1]},{5:[2,47],14:[2,47],15:[2,47],19:[2,47],29:[2,47],34:[2,47],39:[2,47],44:[2,47],47:[2,47],48:[2,47],51:[2,47],55:[2,47],60:[2,47]},{5:[2,3],14:[2,3],15:[2,3],19:[2,3],29:[2,3],34:[2,3],39:[2,3],44:[2,3],47:[2,3],48:[2,3],51:[2,3],55:[2,3],60:[2,3]},{5:[2,4],14:[2,4],15:[2,4],19:[2,4],29:[2,4],34:[2,4],39:[2,4],44:[2,4],47:[2,4],48:[2,4],51:[2,4],55:[2,4],60:[2,4]},{5:[2,5],14:[2,5],15:[2,5],19:[2,5],29:[2,5],34:[2,5],39:[2,5],44:[2,5],47:[2,5],48:[2,5],51:[2,5],55:[2,5],60:[2,5]},{5:[2,6],14:[2,6],15:[2,6],19:[2,6],29:[2,6],34:[2,6],39:[2,6],44:[2,6],47:[2,6],48:[2,6],51:[2,6],55:[2,6],60:[2,6]},{5:[2,7],14:[2,7],15:[2,7],19:[2,7],29:[2,7],34:[2,7],39:[2,7],44:[2,7],47:[2,7],48:[2,7],51:[2,7],55:[2,7],60:[2,7]},{5:[2,8],14:[2,8],15:[2,8],19:[2,8],29:[2,8],34:[2,8],39:[2,8],44:[2,8],47:[2,8],48:[2,8],51:[2,8],55:[2,8],60:[2,8]},{5:[2,9],14:[2,9],15:[2,9],19:[2,9],29:[2,9],34:[2,9],39:[2,9],44:[2,9],47:[2,9],48:[2,9],51:[2,9],55:[2,9],60:[2,9]},{20:25,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:36,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{4:37,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],39:[2,46],44:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{4:38,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],44:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{13:40,15:[1,20],17:39},{20:42,56:41,64:43,65:[1,44],72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{4:45,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{5:[2,10],14:[2,10],15:[2,10],18:[2,10],19:[2,10],29:[2,10],34:[2,10],39:[2,10],44:[2,10],47:[2,10],48:[2,10],51:[2,10],55:[2,10],60:[2,10]},{20:46,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:47,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:48,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:42,56:49,64:43,65:[1,44],72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{33:[2,78],49:50,65:[2,78],72:[2,78],80:[2,78],81:[2,78],82:[2,78],83:[2,78],84:[2,78],85:[2,78]},{23:[2,33],33:[2,33],54:[2,33],65:[2,33],68:[2,33],72:[2,33],75:[2,33],80:[2,33],81:[2,33],82:[2,33],83:[2,33],84:[2,33],85:[2,33]},{23:[2,34],33:[2,34],54:[2,34],65:[2,34],68:[2,34],72:[2,34],75:[2,34],80:[2,34],81:[2,34],82:[2,34],83:[2,34],84:[2,34],85:[2,34]},{23:[2,35],33:[2,35],54:[2,35],65:[2,35],68:[2,35],72:[2,35],75:[2,35],80:[2,35],81:[2,35],82:[2,35],83:[2,35],84:[2,35],85:[2,35]},{23:[2,36],33:[2,36],54:[2,36],65:[2,36],68:[2,36],72:[2,36],75:[2,36],80:[2,36],81:[2,36],82:[2,36],83:[2,36],84:[2,36],85:[2,36]},{23:[2,37],33:[2,37],54:[2,37],65:[2,37],68:[2,37],72:[2,37],75:[2,37],80:[2,37],81:[2,37],82:[2,37],83:[2,37],84:[2,37
vendor: 4,137 bytes, line 1
1],85:[2,37]},{23:[2,38],33:[2,38],54:[2,38],65:[2,38],68:[2,38],72:[2,38],75:[2,38],80:[2,38],81:[2,38],82:[2,38],83:[2,38],84:[2,38],85:[2,38]},{23:[2,39],33:[2,39],54:[2,39],65:[2,39],68:[2,39],72:[2,39],75:[2,39],80:[2,39],81:[2,39],82:[2,39],83:[2,39],84:[2,39],85:[2,39]},{23:[2,43],33:[2,43],54:[2,43],65:[2,43],68:[2,43],72:[2,43],75:[2,43],80:[2,43],81:[2,43],82:[2,43],83:[2,43],84:[2,43],85:[2,43],87:[1,51]},{72:[1,35],86:52},{23:[2,45],33:[2,45],54:[2,45],65:[2,45],68:[2,45],72:[2,45],75:[2,45],80:[2,45],81:[2,45],82:[2,45],83:[2,45],84:[2,45],85:[2,45],87:[2,45]},{52:53,54:[2,82],65:[2,82],72:[2,82],80:[2,82],81:[2,82],82:[2,82],83:[2,82],84:[2,82],85:[2,82]},{25:54,38:56,39:[1,58],43:57,44:[1,59],45:55,47:[2,54]},{28:60,43:61,44:[1,59],47:[2,56]},{13:63,15:[1,20],18:[1,62]},{15:[2,48],18:[2,48]},{33:[2,86],57:64,65:[2,86],72:[2,86],80:[2,86],81:[2,86],82:[2,86],83:[2,86],84:[2,86],85:[2,86]},{33:[2,40],65:[2,40],72:[2,40],80:[2,40],81:[2,40],82:[2,40],83:[2,40],84:[2,40],85:[2,40]},{33:[2,41],65:[2,41],72:[2,41],80:[2,41],81:[2,41],82:[2,41],83:[2,41],84:[2,41],85:[2,41]},{20:65,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{26:66,47:[1,67]},{30:68,33:[2,58],65:[2,58],72:[2,58],75:[2,58],80:[2,58],81:[2,58],82:[2,58],83:[2,58],84:[2,58],85:[2,58]},{33:[2,64],35:69,65:[2,64],72:[2,64],75:[2,64],80:[2,64],81:[2,64],82:[2,64],83:[2,64],84:[2,64],85:[2,64]},{21:70,23:[2,50],65:[2,50],72:[2,50],80:[2,50],81:[2,50],82:[2,50],83:[2,50],84:[2,50],85:[2,50]},{33:[2,90],61:71,65:[2,90],72:[2,90],80:[2,90],81:[2,90],82:[2,90],83:[2,90],84:[2,90],85:[2,90]},{20:75,33:[2,80],50:72,63:73,64:76,65:[1,44],69:74,70:77,71:78,72:[1,79],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{72:[1,80]},{23:[2,42],33:[2,42],54:[2,42],65:[2,42],68:[2,42],72:[2,42],75:[2,42],80:[2,42],81:[2,42],82:[2,42],83:[2,42],84:[2,42],85:[2,42],87:[1,51]},{20:75,53:81,54:[2,84],63:82,64:76,65:[1,44],69:83,70:77,71:78,72:[1,79],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{26:84,47:[1,67]},{47:[2,55]},{4:85,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],39:[2,46],44:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{47:[2,20]},{20:86,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{4:87,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{26:88,47:[1,67]},{47:[2,57]},{5:[2,11],14:[2,11],15:[2,11],19:[2,11],29:[2,11],34:[2,11],39:[2,11],44:[2,11],47:[2,11],48:[2,11],51:[2,11],55:[2,11],60:[2,11]},{15:[2,49],18:[2,49]},{20:75,33:[2,88],58:89,63:90,64:76,65:[1,44],69:91,70:77,71:78,72:[1,79],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{65:[2,94],66:92,68:[2,94],72:[2,94],80:[2,94],81:[2,94],82:[2,94],83:[2,94],84:[2,94],85:[2,94]},{5:[2,25],14:[2,25],15:[2,25],19:[2,25],29:[2,25],34:[2,25],39:[2,25],44:[2,25],47:[2,25],48:[2,25],51:[2,25],55:[2,25],60:[2,25]},{20:93,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:75,31:94,33:[2,60],63:95,64:76,65:[1,44],69:96,70:77,71:78,72:[1,79],75:[2,60],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:75,33:[2,66],36:97,63:98,64:76,65:[1,44],69:99,70:77,71:78,72:[1,79],75:[2,66],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:75,22:100,23:[2,52],63:101,64:76,65:[1,44],69:102,70:77,71:78,72:[1,79],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:75,33:[2,92],62:103,63:104,64:76,65:[1,44],69:105,70:77,71:78,72:[1,79],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{33:[1,106]},{33:[2,79],65:[2,79],72:[2,79],80:[2,79],81:[2,79],82:[2,79],83:[2,79],84:[2,79],85:[2,79]},{33:[2,81]},{23:[2,27],33:[2,27],54:[2,27],65:[2,27],68:[2,27],72:[2,27],75:[2,27],80:[2,27],81:[2,27],82:[2,27],83:[2,27],84:[2,27],85:[2,27]},{23:[2,28],33:[2,28],54:[2,28],65:[2,28],68:[2,28],72:[2,28],75:[2,28],80:[2,28],81:[2,28],82:[2,28],83:[2,28],84:[2,28],85:[2,28]}
vendor: 18,295 bytes, line 1
1,{23:[2,30],33:[2,30],54:[2,30],68:[2,30],71:107,72:[1,108],75:[2,30]},{23:[2,98],33:[2,98],54:[2,98],68:[2,98],72:[2,98],75:[2,98]},{23:[2,45],33:[2,45],54:[2,45],65:[2,45],68:[2,45],72:[2,45],73:[1,109],75:[2,45],80:[2,45],81:[2,45],82:[2,45],83:[2,45],84:[2,45],85:[2,45],87:[2,45]},{23:[2,44],33:[2,44],54:[2,44],65:[2,44],68:[2,44],72:[2,44],75:[2,44],80:[2,44],81:[2,44],82:[2,44],83:[2,44],84:[2,44],85:[2,44],87:[2,44]},{54:[1,110]},{54:[2,83],65:[2,83],72:[2,83],80:[2,83],81:[2,83],82:[2,83],83:[2,83],84:[2,83],85:[2,83]},{54:[2,85]},{5:[2,13],14:[2,13],15:[2,13],19:[2,13],29:[2,13],34:[2,13],39:[2,13],44:[2,13],47:[2,13],48:[2,13],51:[2,13],55:[2,13],60:[2,13]},{38:56,39:[1,58],43:57,44:[1,59],45:112,46:111,47:[2,76]},{33:[2,70],40:113,65:[2,70],72:[2,70],75:[2,70],80:[2,70],81:[2,70],82:[2,70],83:[2,70],84:[2,70],85:[2,70]},{47:[2,18]},{5:[2,14],14:[2,14],15:[2,14],19:[2,14],29:[2,14],34:[2,14],39:[2,14],44:[2,14],47:[2,14],48:[2,14],51:[2,14],55:[2,14],60:[2,14]},{33:[1,114]},{33:[2,87],65:[2,87],72:[2,87],80:[2,87],81:[2,87],82:[2,87],83:[2,87],84:[2,87],85:[2,87]},{33:[2,89]},{20:75,63:116,64:76,65:[1,44],67:115,68:[2,96],69:117,70:77,71:78,72:[1,79],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{33:[1,118]},{32:119,33:[2,62],74:120,75:[1,121]},{33:[2,59],65:[2,59],72:[2,59],75:[2,59],80:[2,59],81:[2,59],82:[2,59],83:[2,59],84:[2,59],85:[2,59]},{33:[2,61],75:[2,61]},{33:[2,68],37:122,74:123,75:[1,121]},{33:[2,65],65:[2,65],72:[2,65],75:[2,65],80:[2,65],81:[2,65],82:[2,65],83:[2,65],84:[2,65],85:[2,65]},{33:[2,67],75:[2,67]},{23:[1,124]},{23:[2,51],65:[2,51],72:[2,51],80:[2,51],81:[2,51],82:[2,51],83:[2,51],84:[2,51],85:[2,51]},{23:[2,53]},{33:[1,125]},{33:[2,91],65:[2,91],72:[2,91],80:[2,91],81:[2,91],82:[2,91],83:[2,91],84:[2,91],85:[2,91]},{33:[2,93]},{5:[2,22],14:[2,22],15:[2,22],19:[2,22],29:[2,22],34:[2,22],39:[2,22],44:[2,22],47:[2,22],48:[2,22],51:[2,22],55:[2,22],60:[2,22]},{23:[2,99],33:[2,99],54:[2,99],68:[2,99],72:[2,99],75:[2,99]},{73:[1,109]},{20:75,63:126,64:76,65:[1,44],72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{5:[2,23],14:[2,23],15:[2,23],19:[2,23],29:[2,23],34:[2,23],39:[2,23],44:[2,23],47:[2,23],48:[2,23],51:[2,23],55:[2,23],60:[2,23]},{47:[2,19]},{47:[2,77]},{20:75,33:[2,72],41:127,63:128,64:76,65:[1,44],69:129,70:77,71:78,72:[1,79],75:[2,72],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{5:[2,24],14:[2,24],15:[2,24],19:[2,24],29:[2,24],34:[2,24],39:[2,24],44:[2,24],47:[2,24],48:[2,24],51:[2,24],55:[2,24],60:[2,24]},{68:[1,130]},{65:[2,95],68:[2,95],72:[2,95],80:[2,95],81:[2,95],82:[2,95],83:[2,95],84:[2,95],85:[2,95]},{68:[2,97]},{5:[2,21],14:[2,21],15:[2,21],19:[2,21],29:[2,21],34:[2,21],39:[2,21],44:[2,21],47:[2,21],48:[2,21],51:[2,21],55:[2,21],60:[2,21]},{33:[1,131]},{33:[2,63]},{72:[1,133],76:132},{33:[1,134]},{33:[2,69]},{15:[2,12]},{14:[2,26],15:[2,26],19:[2,26],29:[2,26],34:[2,26],47:[2,26],48:[2,26],51:[2,26],55:[2,26],60:[2,26]},{23:[2,31],33:[2,31],54:[2,31],68:[2,31],72:[2,31],75:[2,31]},{33:[2,74],42:135,74:136,75:[1,121]},{33:[2,71],65:[2,71],72:[2,71],75:[2,71],80:[2,71],81:[2,71],82:[2,71],83:[2,71],84:[2,71],85:[2,71]},{33:[2,73],75:[2,73]},{23:[2,29],33:[2,29],54:[2,29],65:[2,29],68:[2,29],72:[2,29],75:[2,29],80:[2,29],81:[2,29],82:[2,29],83:[2,29],84:[2,29],85:[2,29]},{14:[2,15],15:[2,15],19:[2,15],29:[2,15],34:[2,15],39:[2,15],44:[2,15],47:[2,15],48:[2,15],51:[2,15],55:[2,15],60:[2,15]},{72:[1,138],77:[1,137]},{72:[2,100],77:[2,100]},{14:[2,16],15:[2,16],19:[2,16],29:[2,16],34:[2,16],44:[2,16],47:[2,16],48:[2,16],51:[2,16],55:[2,16],60:[2,16]},{33:[1,139]},{33:[2,75]},{33:[2,32]},{72:[2,101],77:[2,101]},{14:[2,17],15:[2,17],19:[2,17],29:[2,17],34:[2,17],39:[2,17],44:[2,17],47:[2,17],48:[2,17],51:[2,17],55:[2,17],60:[2,17]}],defaultActions:{4:[2,1],55:[2,55],57:[2,20],61:[2,57],74:[2,81],83:[2,85],87:[2,18],91:[2,89],102:[2,53],105:[2,93],111:[2,19],112:[2,77],117:[2,97],120:[2,63],123:[2,69],124:[2,12],136:[2,75],137:[2,32]},parseError:function(t,e){throw new Error(t)},parse:function(t){var e=this,n=[0],i=[null],r=[],o=this.table,s="",a=0,l=0,c=0,u=(this.lexer.setInput(t),this.lexer.yy=this.yy,this.yy.lexer=this.lexer,void 0===(this.yy.parser=this).lexer.yylloc&&(this.lexer.yylloc={}),this.lexer.yylloc),p=(r.push(u),this.lexer.options&&this.lexer.options.ranges);"function"==typeof this.yy.parseError&&(this.parseError=this.yy.parseError);for(var h,d,f,m,g,v,y,b,_={};;){if(f=n[n.length-1],void 0===(m=this.defaultActions[f]||(null==h&&(w=void 0,h=w="number"!=typeof(w=e.lexer.lex()||1)&&e.symbols_[w]||w),o[f]&&o[f][h]))||!m.length||!m[0]){var w="";if(!c){for(g in b=[],o[f])this.terminals_[g]&&2<g&&b.push("'"+this.terminals_[g]+"'");w=this.lexer.showPosition?"Parse error on line "+(a+1)+":\n"+this.lexer.showPosition()+"\nExpecting "+b.join(", ")+", got '"+(this.terminals_[h]||h)+"'":"Parse error on line "+(a+1)+": Unexpected "+(1==h?"end of input":"'"+(this.terminals_[h]||h)+"'"),this.parseError(w,{text:this.lexer.match,token:this.terminals_[h]||h,line:this.lexer.yylineno,loc:u,expected:b})}}if(m[0]instanceof Array&&1<m.length)throw new Error("Parse Error: multiple actions possible at state: "+f+", token: "+h);switch(m[0]){case 1:n.push(h),i.push(this.lexer.yytext),r.push(this.lexer.yylloc),n.push(m[1]),h=null,d?(h=d,d=null):(l=this.lexer.yyleng,s=this.lexer.yytext,a=this.lexer.yylineno,u=this.lexer.yylloc,0<c&&c--);break;case 2:if(v=this.productions_[m[1]][1],_.$=i[i.length-v],_._$={first_line:r[r.length-(v||1)].first_line,last_line:r[r.length-1].last_line,first_column:r[r.length-(v||1)].first_column,last_column:r[r.length-1].last_column},p&&(_._$.range=[r[r.length-(v||1)].range[0],r[r.length-1].range[1]]),void 0!==(y=this.performAction.call(_,s,l,a,this.yy,m[1],i,r)))return y;v&&(n=n.slice(0,-1*v*2),i=i.slice(0,-1*v),r=r.slice(0,-1*v)),n.push(this.productions_[m[1]][0]),i.push(_.$),r.push(_._$),y=o[n[n.length-2]][n[n.length-1]],n.push(y);break;case 3:return!0}}return!0}}).lexer={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},setInput:function(t){return this._input=t,this._more=this._less=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,n=t.split(/(?:\r\n?|\n)/g),t=(this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e-1),this.offset-=e,this.match.split(/(?:\r\n?|\n)/g)),i=(this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1),this.yylloc.range);return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===t.length?this.yylloc.first_column:0)+t[t.length-n.length].length-n[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-e]),this},more:function(){return this._more=!0,this},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(20<t.length?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(20<t.length?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var t,e,n,i,r=this._currentRules(),o=0;o<r.length&&(!(e=this._input.match(this.rules[r[o]]))||t&&!(e[0].length>t[0].length)||(t=e,n=o,this.options.flex));o++);return t?((i=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=i.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:i?i[i.length-1].length-i[i.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],i=this.performAction.call(this,this.yy,this,r[n],this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),i||void 0):""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var t=this.next();return void 0!==t?t:this.lex()},begin:function(t){this.conditionStack.push(t)},popState:function(){return this.conditionStack.pop()},_currentRules:function(){return this.conditions[this.conditionStack[this.conditionStack.length-1]].rules},topState:function(){return this.conditionStack[this.conditionStack.length-2]},pushState:function(t){this.begin(t)},options:{},performAction:function(t,n,e,i){function r(t,e){return n.yytext=n.yytext.substr(t,n.yyleng-e)}switch(e){case 0:if("\\\\"===n.yytext.slice(-2)?(r(0,1),this.begin("mu")):"\\"===n.yytext.slice(-1)?(r(0,1),this.begin("emu")):this.begin("mu"),n.yytext)return 15;break;case 1:return 15;case 2:return this.popState(),15;case 3:return this.begin("raw"),15;case 4:return this.popState(),"raw"===this.conditionStack[this.conditionStack.length-1]?15:(n.yytext=n.yytext.substr(5,n.yyleng-9),"END_RAW_BLOCK");case 5:return 15;case 6:return this.popState(),14;case 7:return 65;case 8:return 68;case 9:return 19;case 10:return this.popState(),this.begin("raw"),23;case 11:return 55;case 12:return 60;case 13:return 29;case 14:return 47;case 15:case 16:return this.popState(),44;case 17:return 34;case 18:return 39;case 19:return 51;case 20:return 48;case 21:this.unput(n.yytext),this.popState(),this.begin("com");break;case 22:return this.popState(),14;case 23:return 48;case 24:return 73;case 25:case 26:return 72;case 27:return 87;case 28:break;case 29:return this.popState(),54;case 30:return this.popState(),33;case 31:return n.yytext=r(1,2).replace(/\\"/g,'"'),80;case 32:return n.yytext=r(1,2).replace(/\\'/g,"'"),80;case 33:return 85;case 34:case 35:return 82;case 36:return 83;case 37:return 84;case 38:return 81;case 39:return 75;case 40:return 77;case 41:return 72;case 42:return n.yytext=n.yytext.replace(/\\([\\\]])/g,"$1"),72;case 43:return"INVALID";case 44:return 5}},rules:[/^(?:[^\x00]*?(?=(\{\{)))/,/^(?:[^\x00]+)/,/^(?:[^\x00]{2,}?(?=(\{\{|\\\{\{|\\\\\{\{|$)))/,/^(?:\{\{\{\{(?=[^/]))/,/^(?:\{\{\{\{\/[^\s!"#%-,\.\/;->@\[-\^`\{-~]+(?=[=}\s\/.])\}\}\}\})/,/^(?:[^\x00]*?(?=(\{\{\{\{)))/,/^(?:[\s\S]*?--(~)?\}\})/,/^(?:\()/,/^(?:\))/,/^(?:\{\{\{\{)/,/^(?:\}\}\}\})/,/^(?:\{\{(~)?>)/,/^(?:\{\{(~)?#>)/,/^(?:\{\{(~)?#\*?)/,/^(?:\{\{(~)?\/)/,/^(?:\{\{(~)?\^\s*(~)?\}\})/,/^(?:\{\{(~)?\s*else\s*(~)?\}\})/,/^(?:\{\{(~)?\^)/,/^(?:\{\{(~)?\s*else\b)/,/^(?:\{\{(~)?\{)/,/^(?:\{\{(~)?&)/,/^(?:\{\{(~)?!--)/,/^(?:\{\{(~)?![\s\S]*?\}\})/,/^(?:\{\{(~)?\*?)/,/^(?:=)/,/^(?:\.\.)/,/^(?:\.(?=([=~}\s\/.)|])))/,/^(?:[\/.])/,/^(?:\s+)/,/^(?:\}(~)?\}\})/,/^(?:(~)?\}\})/,/^(?:"(\\["]|[^"])*")/,/^(?:'(\\[']|[^'])*')/,/^(?:@)/,/^(?:true(?=([~}\s)])))/,/^(?:false(?=([~}\s)])))/,/^(?:undefined(?=([~}\s)])))/,/^(?:null(?=([~}\s)])))/,/^(?:-?[0-9]+(?:\.[0-9]+)?(?=([~}\s)])))/,/^(?:as\s+\|)/,/^(?:\|)/,/^(?:([^\s!"#%-,\.\/;->@\[-\^`\{-~]+(?=([=~}\s\/.)|]))))/,/^(?:\[(\\\]|[^\]])*\])/,/^(?:.)/,/^(?:$)/],conditions:{mu:{rules:[7,8,9,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,36,37,38,39,40,41,42,43,44],inclusive:!1},emu:{rules:[2],inclusive:!1},com:{rules:[6],inclusive:!1},raw:{rules:[3,4,5],inclusive:!1},INITIAL:{rules:[0,1,44],inclusive:!0}}};var n=new((i.prototype=n).Parser=i);function i(){this.yy={}}e.__esModule=!0,e.default=n},function(t,e,n){var i=n(1).default;e.__esModule=!0;i=i(n(25));function r(){this.options=arguments.length<=0||void 0===arguments[0]?{}:arguments[0]}function h(t,e,n){var i=t[(e=void 0===e?t.length:e)-1];return i?"ContentStatement"===i.type?(t[e-2]||!n?/\r?\n\s*?$/:/(^|\r?\n)\s*?$/).test(i.original):void 0:n}function d(t,e,n){var i=t[(e=void 0===e?-1:e)+1];return i?"ContentStatement"===i.type?(t[e+2]||!n?/^\s*?\r?\n/:/^\s*?(\r?\n|$)/).test(i.original):void 0:n}function f(t,e,n){t=t[null==e?0:e+1];!t||"ContentStatement"!==t.type||!n&&t.rightStripped||(e=t.value,t.value=t.value.replace(n?/^\s+/:/^[ \t]*\r?\n?/,""),t.rightStripped=t.value!==e)}function m(t,e,n){t=t[null==e?t.length-1:e-1];if(t&&"ContentStatement"===t.type&&(n||!t.leftStripped))return e=t.value,t.value=t.value.replace(n?/\s+$/:/[ \t]+$/,""),t.leftStripped=t.value!==e,t.leftStripped}(r.prototype=new i.default).Program=function(t){for(var e=!this.options.ignoreStandalone,n=!this.isRootSeen,i=(this.isRootSeen=!0,t.body),r=0,o=i.length;r<o;r++){var s,a,l,c,u=i[r],p=this.accept(u);p&&(c=h(i,r,n),s=d(i,r,n),a=p.openStandalone&&c,l=p.closeStandalone&&s,c=p.inlineStandalone&&c&&s,p.close&&f(i,r,!0),p.open&&m(i,r,!0),e&&c&&(f(i,r),m(i,r))&&"PartialStatement"===u.type&&(u.indent=/([ \t]+$)/.exec(i[r-1].original)[1]),e&&a&&(f((u.program||u.inverse).body),m(i,r)),e)&&l&&(f(i,r),m((u.inverse||u.program).body))}return t},r.prototype.BlockStatement=r.prototype.DecoratorBlock=r.prototype.PartialBlockStatement=function(t){this.accept(t.program),this.accept(t.inverse);var e=t.program||t.inverse,n=t.program&&t.inverse,i=n,r=n;if(n&&n.chained)for(i=n.body[0].program;r.chained;)r=r.body[r.body.length-1].program;var o={open:t.openStrip.open,close:t.closeStrip.close,openStandalone:d(e.body),closeStandalone:h((i||e).body)};return t.openStrip.close&&f(e.body,null,!0),n?((n=t.inverseStrip).open&&m(e.body,null,!0),n.close&&f(i.body,null,!0),t.closeStrip.open&&m(r.body,null,!0),!this.options.ignoreStandalone&&h(e.body)&&d(i.body)&&(m(e.body),f(i.body))):t.closeStrip.open&&m(e.body,null,!0),o},r.prototype.Decorator=r.prototype.MustacheStatement=function(t){return t.strip},r.prototype.PartialStatement=r.prototype.CommentStatement=function(t){t=t.strip||{};return{inlineStandalone:!0,open:t.open,close:t.close}},e.default=r,t.exports=e.default},function(t,e,n){var i=n(1).default;e.__esModule=!0;var r=i(n(6));function o(){this.parents=[]}function s(t){this.acceptRequired(t,"path"),this.acceptArray(t.params),this.acceptKey(t,"hash")}function a(t){s.call(this,t),this.acceptKey(t,"program"),this.acceptKey(t,"inverse")}function l(t){this.acceptRequired(t,"name"),this.acceptArray(t.params),this.acceptKey(t,"hash")}o.prototype={constructor:o,mutating:!1,acceptKey:function(t,e){var n=this.accept(t[e]);if(this.mutating){if(n&&!o.prototype[n.type])throw new r.default('Unexpected node type "'+n.type+'" found when accepting '+e+" on "+t.type);t[e]=n}},acceptRequired:function(t,e){if(this.acceptKey(t,e),!t[e])throw new r.default(t.type+" requires "+e)},acceptArray:function(t){for(var e=0,n=t.length;e<n;e++)this.acceptKey(t,e),t[e]||(t.splice(e,1),e--,n--)},accept:function(t){if(t){if(!this[t.type])throw new r.default("Unknown type: "+t.type,t);this.current&&this.parents.unshift(this.current),this.current=t;var e=this[t.type](t);return this.current=this.parents.shift(),!this.mutating||e?e:!1!==e?t:void 0}},Program:function(t){this.acceptArray(t.body)},MustacheStatement:s,Decorator:s,BlockStatement:a,DecoratorBlock:a,PartialStatement:l,PartialBlockStatement:function(t){l.call(this,t),this.acceptKey(t,"program")},ContentStatement:function(){},CommentStatement:function(){},SubExpression:s,PathExpression:function(){},StringLiteral:function(){},NumberLiteral:function(){},BooleanLiteral:function(){},UndefinedLiteral:function(){},NullLiteral:function(){},Hash:function(t){this.acceptArray(t.pairs)},HashPair:function(t){this.acceptRequired(t,"value")}},e.default=o,t.exports=e.default},function(t,e,n){var i=n(1).default;e.__esModule=!0,e.SourceLocation=function(t,e){this.source=t,this.start={line:e.first_line,column:e.first_column},this.end={line:e.last_line,column:e.last_column}},e.id=function(t){return/^\[.*\]$/.test(t)?t.substr(1,t.length-2):t},e.stripFlags=function(t,e){return{open:"~"===t.charAt(2),close:"~"===e.charAt(e.length-3)}},e.stripComment=function(t){return t.replace(/^\{\{~?\!-?-?/,"").replace(/-?-?~?\}\}$/,"")},e.preparePath=function(t,e,n){n=this.locInfo(n);for(var i=t?"@":"",r=[],o=0,s=0,a=e.length;s<a;s++){var l=e[s].part,c=e[s].original!==l;if(i+=(e[s].separator||"")+l,c||".."!==l&&"."!==l&&"this"!==l)r.push(l);else{if(0<r.length)throw new u.default("Invalid path: "+i,{loc:n});".."===l&&(o++,0)}}return{type:"PathExpression",data:t,depth:o,parts:r,original:i,loc:n}},e.prepareMustache=function(t,e,n,i,r,o){var s=i.charAt(3)||i.charAt(2),s="{"!==s&&"&"!==s;return{type:/\*/.test(i)?"Decorator":"MustacheStatement",path:t,params:e,hash:n,escaped:s,strip:r,loc:this.locInfo(o)}},e.prepareRawBlock=function(t,e,n,i){c(t,n),i=this.locInfo(i);n={type:"Program",body:e,strip:{},loc:i};return{type:"BlockStatement",path:t.path,params:t.params,hash:t.hash,program:n,openStrip:{},inverseStrip:{},closeStrip:{},loc:i}},e.prepareBlock=function(t,e,n,i,r,o){i&&i.path&&c(t,i);var s=/\*/.test(t.open),a=void(e.blockParams=t.blockParams),l=void 0;if(n){if(s)throw new u.default("Unexpected inverse block on decorator",n);n.chain&&(n.program.body[0].closeStrip=i.strip),l=n.strip,a=n.program}r&&(r=a,a=e,e=r);return{type:s?"DecoratorBlock":"BlockStatement",path:t.path,params:t.params,hash:t.hash,program:e,inverse:a,openStrip:t.strip,inverseStrip:l,closeStrip:i&&i.strip,loc:this.locInfo(o)}},e.prepareProgram=function(t,e){{var n,i;!e&&t.length&&(n=t[0].loc,i=t[t.length-1].loc,n)&&i&&(e={source:n.source,start:{line:n.start.line,column:n.start.column},end:{line:i.end.line,column:i.end.column}})}return{type:"Program",body:t,strip:{},loc:e}}
vendor: 4,309 bytes, line 1
1,e.preparePartialBlock=function(t,e,n,i){return c(t,n),{type:"PartialBlockStatement",name:t.path,params:t.params,hash:t.hash,program:e,openStrip:t.strip,closeStrip:n&&n.strip,loc:this.locInfo(i)}};var u=i(n(6));function c(t,e){var n;if(e=e.path?e.path.original:e,t.path.original!==e)throw n={loc:t.path.loc},new u.default(t.path.original+" doesn't match "+e,n)}},function(t,e,n){var i=n(1).default;e.__esModule=!0,e.Compiler=l,e.precompile=function(t,e,n){if(null==t||"string"!=typeof t&&"Program"!==t.type)throw new s.default("You must pass a string or Handlebars AST to Handlebars.precompile. You passed "+t);"data"in(e=e||{})||(e.data=!0);e.compat&&(e.useDepths=!0);t=n.parse(t,e),t=(new n.Compiler).compile(t,e);return(new n.JavaScriptCompiler).compile(t,e)},e.compile=function(e,n,i){void 0===n&&(n={});if(null==e||"string"!=typeof e&&"Program"!==e.type)throw new s.default("You must pass a string or Handlebars AST to Handlebars.compile. You passed "+e);"data"in n||(n.data=!0);n.compat&&(n.useDepths=!0);var r=void 0;function o(){var t=i.parse(e,n),t=(new i.Compiler).compile(t,n),t=(new i.JavaScriptCompiler).compile(t,n,void 0,!0);return i.template(t)}function t(t,e){return(r=r||o()).call(this,t,e)}return t._setup=function(t){return(r=r||o())._setup(t)},t._child=function(t,e,n,i){return(r=r||o())._child(t,e,n,i)},t};var s=i(n(6)),o=n(5),r=i(n(21)),a=[].slice;function l(){}function c(t){var e;t.path.parts||(e=t.path,t.path={type:"PathExpression",data:!1,depth:0,parts:[e.original+""],original:e.original+"",loc:e.loc})}l.prototype={compiler:l,equals:function(t){var e=this.opcodes.length;if(t.opcodes.length!==e)return!1;for(var n=0;n<e;n++){var i=this.opcodes[n],r=t.opcodes[n];if(i.opcode!==r.opcode||!function t(e,n){if(e===n)return!0;if(o.isArray(e)&&o.isArray(n)&&e.length===n.length){for(var i=0;i<e.length;i++)if(!t(e[i],n[i]))return!1;return!0}}(i.args,r.args))return!1}for(e=this.children.length,n=0;n<e;n++)if(!this.children[n].equals(t.children[n]))return!1;return!0},guid:0,compile:function(t,e){this.sourceNode=[],this.opcodes=[],this.children=[],this.options=e,this.stringParams=e.stringParams,this.trackIds=e.trackIds,e.blockParams=e.blockParams||[];var n=e.knownHelpers;if(e.knownHelpers={helperMissing:!0,blockHelperMissing:!0,each:!0,if:!0,unless:!0,with:!0,log:!0,lookup:!0},n)for(var i in n)i in n&&(e.knownHelpers[i]=n[i]);return this.accept(t)},compileProgram:function(t){var t=(new this.compiler).compile(t,this.options),e=this.guid++;return this.usePartial=this.usePartial||t.usePartial,this.children[e]=t,this.useDepths=this.useDepths||t.useDepths,e},accept:function(t){if(!this[t.type])throw new s.default("Unknown type: "+t.type,t);this.sourceNode.unshift(t);t=this[t.type](t);return this.sourceNode.shift(),t},Program:function(t){this.options.blockParams.unshift(t.blockParams);for(var e=t.body,n=e.length,i=0;i<n;i++)this.accept(e[i]);return this.options.blockParams.shift(),this.isSimple=1===n,this.blockParams=t.blockParams?t.blockParams.length:0,this},BlockStatement:function(t){c(t);var e=t.program,n=t.inverse,e=e&&this.compileProgram(e),n=n&&this.compileProgram(n),i=this.classifySexpr(t);"helper"===i?this.helperSexpr(t,e,n):"simple"===i?(this.simpleSexpr(t),this.opcode("pushProgram",e),this.opcode("pushProgram",n),this.opcode("emptyHash"),this.opcode("blockValue",t.path.original)):(this.ambiguousSexpr(t,e,n),this.opcode("pushProgram",e),this.opcode("pushProgram",n),this.opcode("emptyHash"),this.opcode("ambiguousBlockValue")),this.opcode("append")},DecoratorBlock:function(t){var e=t.program&&this.compileProgram(t.program),e=this.setupFullMustacheParams(t,e,void 0),t=t.path;this.useDecorators=!0,this.opcode("registerDecorator",e.length,t.original)},PartialStatement:function(t){this.usePartial=!0;var e=(e=t.program)&&this.compileProgram(t.program),n=t.params;if(1<n.length)throw new s.default("Unsupported number of partial arguments: "+n.length,t);n.length||(this.options.explicitPartialContext?this.opcode("pushLiteral","undefined"):n.push({type:"PathExpression",parts:[],depth:0}));var n=t.name.original,i="SubExpression"===t.name.type,e=(i&&this.accept(t.name),this.setupFullMustacheParams(t,e,void 0,!0),t.indent||"");this.options.preventIndent&&e&&(this.opcode("appendContent",e),e=""),this.opcode("invokePartial",i,n,e),this.opcode("append")}
vendor: 4,450 bytes, line 1
1,PartialBlockStatement:function(t){this.PartialStatement(t)},MustacheStatement:function(t){this.SubExpression(t),t.escaped&&!this.options.noEscape?this.opcode("appendEscaped"):this.opcode("append")},Decorator:function(t){this.DecoratorBlock(t)},ContentStatement:function(t){t.value&&this.opcode("appendContent",t.value)},CommentStatement:function(){},SubExpression:function(t){c(t);var e=this.classifySexpr(t);"simple"===e?this.simpleSexpr(t):"helper"===e?this.helperSexpr(t):this.ambiguousSexpr(t)},ambiguousSexpr:function(t,e,n){var t=t.path,i=t.parts[0],r=null!=e||null!=n;this.opcode("getContext",t.depth),this.opcode("pushProgram",e),this.opcode("pushProgram",n),t.strict=!0,this.accept(t),this.opcode("invokeAmbiguous",i,r)},simpleSexpr:function(t){t=t.path;t.strict=!0,this.accept(t),this.opcode("resolvePossibleLambda")},helperSexpr:function(t,e,n){var e=this.setupFullMustacheParams(t,e,n),n=t.path,i=n.parts[0];if(this.options.knownHelpers[i])this.opcode("invokeKnownHelper",e.length,i);else{if(this.options.knownHelpersOnly)throw new s.default("You specified knownHelpersOnly, but used the unknown helper "+i,t);n.strict=!0,n.falsy=!0,this.accept(n),this.opcode("invokeHelper",e.length,n.original,r.default.helpers.simpleId(n))}},PathExpression:function(t){this.addDepth(t.depth),this.opcode("getContext",t.depth);var e=t.parts[0],n=r.default.helpers.scopedId(t),i=!t.depth&&!n&&this.blockParamIndex(e);i?this.opcode("lookupBlockParam",i,t.parts):e?t.data?(this.options.data=!0,this.opcode("lookupData",t.depth,t.parts,t.strict)):this.opcode("lookupOnContext",t.parts,t.falsy,t.strict,n):this.opcode("pushContext")},StringLiteral:function(t){this.opcode("pushString",t.value)},NumberLiteral:function(t){this.opcode("pushLiteral",t.value)},BooleanLiteral:function(t){this.opcode("pushLiteral",t.value)},UndefinedLiteral:function(){this.opcode("pushLiteral","undefined")},NullLiteral:function(){this.opcode("pushLiteral","null")},Hash:function(t){var e=t.pairs,n=0,i=e.length;for(this.opcode("pushHash");n<i;n++)this.pushParam(e[n].value);for(;n--;)this.opcode("assignToHash",e[n].key);this.opcode("popHash")},opcode:function(t){this.opcodes.push({opcode:t,args:a.call(arguments,1),loc:this.sourceNode[0].loc})},addDepth:function(t){t&&(this.useDepths=!0)},classifySexpr:function(t){var e=r.default.helpers.simpleId(t.path),n=e&&!!this.blockParamIndex(t.path.parts[0]),i=!n&&r.default.helpers.helperExpression(t),n=!n&&(i||e);return n&&!i&&(e=t.path.parts[0],(t=this.options).knownHelpers[e]?i=!0:t.knownHelpersOnly&&(n=!1)),i?"helper":n?"ambiguous":"simple"},pushParams:function(t){for(var e=0,n=t.length;e<n;e++)this.pushParam(t[e])},pushParam:function(t){var e,n,i=null!=t.value?t.value:t.original||"";this.stringParams?(i.replace&&(i=i.replace(/^(\.?\.\/)*/g,"").replace(/\//g,".")),t.depth&&this.addDepth(t.depth),this.opcode("getContext",t.depth||0),this.opcode("pushStringParam",i,t.type),"SubExpression"===t.type&&this.accept(t)):(this.trackIds&&(e=void 0,(e=!t.parts||r.default.helpers.scopedId(t)||t.depth?e:this.blockParamIndex(t.parts[0]))?(n=t.parts.slice(1).join("."),this.opcode("pushId","BlockParam",e,n)):((i=t.original||i).replace&&(i=i.replace(/^this(?:\.|$)/,"").replace(/^\.\//,"").replace(/^\.$/,"")),this.opcode("pushId",t.type,i))),this.accept(t))},setupFullMustacheParams:function(t,e,n,i){var r=t.params;return this.pushParams(r),this.opcode("pushProgram",e),this.opcode("pushProgram",n),t.hash?this.accept(t.hash):this.opcode("emptyHash",i),r},blockParamIndex:function(t){for(var e=0,n=this.options.blockParams.length;e<n;e++){var i=this.options.blockParams[e],r=i&&o.indexOf(i,t);if(i&&0<=r)return[e,r]}}}},function(t,e,n){var i=n(1).default,r=(e.__esModule=!0,n(4)),h=i(n(6)),o=n(5),s=i(n(29));function a(t){this.value=t}function l(){}l.prototype={nameLookup:function(t,e){return l.isValidJavaScriptVariableName(e)?[t,".",e]:[t,"[",JSON.stringify(e),"]"]},depthedLookup:function(t){return[this.aliasable("container.lookup"),'(depths, "',t,'")']},compilerInfo:function(){var t=r.COMPILER_REVISION;return[t,r.REVISION_CHANGES[t]]},appendToBuffer:function(t,e,n){return o.isArray(t)||(t=[t]),t=this.source.wrap(t,e),this.environment.isSimple?["return ",t,";"]:n?["buffer += ",t,";"]:(t.appendToBuffer=!0,t)},initializeBuffer:function(){return this.quotedString("")},compile:function(t,e,n,i){this.environment=t,this.options=e,this.stringParams=this.options.stringParams,this.trackIds=this.options.trackIds,this.prec
vendor: 6,666 bytes, line 1
1ompile=!i,this.name=this.environment.name,this.isChild=!!n,this.context=n||{decorators:[],programs:[],environments:[]},this.preamble(),this.stackSlot=0,this.stackVars=[],this.aliases={},this.registers={list:[]},this.hashes=[],this.compileStack=[],this.inlineStack=[],this.blockParams=[],this.compileChildren(t,e),this.useDepths=this.useDepths||t.useDepths||t.useDecorators||this.options.compat,this.useBlockParams=this.useBlockParams||t.useBlockParams;var r,o=t.opcodes,s=void 0,a=void 0,l=void 0;for(a=0,l=o.length;a<l;a++)r=o[a],this.source.currentLocation=r.loc,s=s||r.loc,this[r.opcode].apply(this,r.args);if(this.source.currentLocation=s,this.pushSource(""),this.stackSlot||this.inlineStack.length||this.compileStack.length)throw new h.default("Compile completed with content left on stack");this.decorators.isEmpty()?this.decorators=void 0:(this.useDecorators=!0,this.decorators.prepend("var decorators = container.decorators;\n"),this.decorators.push("return fn;"),i?this.decorators=Function.apply(this,["fn","props","container","depth0","data","blockParams","depths",this.decorators.merge()]):(this.decorators.prepend("function(fn, props, container, depth0, data, blockParams, depths) {\n"),this.decorators.push("}\n"),this.decorators=this.decorators.merge()));n=this.createFunctionContext(i);if(this.isChild)return n;for(var c={compiler:this.compilerInfo(),main:n},t=(this.decorators&&(c.main_d=this.decorators,c.useDecorators=!0),this.context),u=t.programs,p=t.decorators,a=0,l=u.length;a<l;a++)u[a]&&(c[a]=u[a],p[a])&&(c[a+"_d"]=p[a],c.useDecorators=!0);return this.environment.usePartial&&(c.usePartial=!0),this.options.data&&(c.useData=!0),this.useDepths&&(c.useDepths=!0),this.useBlockParams&&(c.useBlockParams=!0),this.options.compat&&(c.compat=!0),i?c.compilerOptions=this.options:(c.compiler=JSON.stringify(c.compiler),this.source.currentLocation={start:{line:1,column:0}},c=this.objectLiteral(c),e.srcName?(c=c.toStringWithSourceMap({file:e.destName})).map=c.map&&c.map.toString():c=c.toString()),c},preamble:function(){this.lastContext=0,this.source=new s.default(this.options.srcName),this.decorators=new s.default(this.options.srcName)},createFunctionContext:function(t){var e,n="",i=this.stackVars.concat(this.registers.list),r=(0<i.length&&(n+=", "+i.join(", ")),0);for(e in this.aliases){var o=this.aliases[e];this.aliases.hasOwnProperty(e)&&o.children&&1<o.referenceCount&&(n+=", alias"+ ++r+"="+e,o.children[0]="alias"+r)}var i=["container","depth0","helpers","partials","data"],s=((this.useBlockParams||this.useDepths)&&i.push("blockParams"),this.useDepths&&i.push("depths"),this.mergeSource(n));return t?(i.push(s),Function.apply(this,i)):this.source.wrap(["function(",i.join(","),") {\n ",s,"}"])},mergeSource:function(t){var e=this.environment.isSimple,n=!this.forceBuffer,i=void 0,r=void 0,o=void 0,s=void 0;return this.source.each(function(t){t.appendToBuffer?(o?t.prepend(" + "):o=t,s=t):(o&&(r?o.prepend("buffer += "):i=!0,s.add(";"),o=s=void 0),r=!0,e||(n=!1))}),n?o?(o.prepend("return "),s.add(";")):r||this.source.push('return "";'):(t+=", buffer = "+(i?"":this.initializeBuffer()),o?(o.prepend("return buffer + "),s.add(";")):this.source.push("return buffer;")),t&&this.source.prepend("var "+t.substring(2)+(i?"":";\n")),this.source.merge()},blockValue:function(t){var e=this.aliasable("helpers.blockHelperMissing"),n=[this.contextName(0)],t=(this.setupHelperArgs(t,0,n),this.popStack());n.splice(1,0,t),this.push(this.source.functionCall(e,"call",n))},ambiguousBlockValue:function(){var t=this.aliasable("helpers.blockHelperMissing"),e=[this.contextName(0)],n=(this.setupHelperArgs("",0,e,!0),this.flushInline(),this.topStack());e.splice(1,0,n),this.pushSource(["if (!",this.lastHelper,") { ",n," = ",this.source.functionCall(t,"call",e),"}"])},appendContent:function(t){this.pendingContent?t=this.pendingContent+t:this.pendingLocation=this.source.currentLocation,this.pendingContent=t},append:function(){var t;this.isInline()?(this.replaceStack(function(t){return[" != null ? ",t,' : ""']}),this.pushSource(this.appendToBuffer(this.popStack()))):(t=this.popStack(),this.pushSource(["if (",t," != null) { ",this.appendToBuffer(t,void 0,!0)," }"]),this.environment.isSimple&&this.pushSource(["else { ",this.appendToBuffer("''",void 0,!0)," }"]))},appendEscaped:function(){this.pushSource(this.appendToBuffer([this.aliasable("container.escapeExpression"),"(",this.popStack(),")"]))},getContext:function(t){this.lastContext=t},pushContext:function(){this.pushStackLiteral(this.contextName(this.lastContext))},lookupOnContext:function(t,e,n,i){var r=0;i||!this.options.compat||this.lastContext?this.pushContext():this.push(this.depthedLookup(t[r++])),this.resolvePath("context",t,r,e,n)},lookupBlockParam:function(t,e){this.useBlockParams=!0,this.push(["blockParams[",t[0],"][",t[1],"]"]),this.resolvePath("context",e,1)},lookupData:function(t,e,n){t?this.pushStackLiteral("container.data(data, "+t+")"):this.pushStackLiteral("data"),this.resolvePath("data",e,0,!0,n)},resolvePath:function(n,i,r,o,t){var s=this;if(this.options.strict||this.options.assumeObjects)this.push(((t,e,n,i)=>{var r=e.popStack(),o=0,s=n.length;for(t&&s--;o<s;o++)r=e.nameLookup(r,n[o],i);return t?[e.aliasable("container.strict"),"(",r,", ",e.quotedString(n[o]),")"]:r})(this.options.strict&&t,this,i,n));else for(var e=i.length;r<e;r++)this.replaceStack(function(t){var e=s.nameLookup(t,i[r],n);return o?[" && ",e]:[" != null ? ",e," : ",t]})},resolvePossibleLambda:function(){this.push([this.aliasable("container.lambda"),"(",this.popStack(),", ",this.contextName(0),")"])},pushStringParam:function(t,e){this.pushContext(),this.pushString(e),"SubExpression"!==e&&("string"==typeof t?this.pushString(t):this.pushStackLiteral(t))},emptyHash:function(t){this.trackIds&&this.push("{}"),this.stringParams&&(this.push("{}"),this.push("{}")),this.pushStackLiteral(t?"undefined":"{}")},pushHash:function(){this.hash&&this.hashes.push(this.hash),this.hash={values:[],types:[],contexts:[],ids:[]}},popHash:function(){var t=this.hash;this.hash=this.hashes.pop(),this.trackIds&&this.push(this.objectLiteral(t.ids)),this.stringParams&&(this.push(this.objectLiteral(t.contexts)),this.push(this.objectLiteral(t.types))),this.push(this.objectLiteral(t.values))},pushString:function(t){this.pushStackLiteral(this.quotedString(t))},pushLiteral:function(t){this.pushStackLiteral(t)},pushProgram:function(t){null!=t?this.pushStackLiteral(this.programExpression(t)):this.pushStackLiteral(null)},registerDecorator:function(t,e){var n=this.nameLookup("decorators",e,"decorator"),e=this.setupHelperArgs(e,t);this.decorators.push(["fn = ",this.decorators.functionCall(n,"",["f
1n","props","container",e])," || fn;"])},invokeHelper:function(t,e,n){var i=this.popStack(),t=this.setupHelper(t,e),e=n?[t.name," || "]:"",n=["("].concat(e,i);this.options.strict||n.push(" || ",this.aliasable("helpers.helperMissing")),n.push(")"),this.push(this.source.functionCall(n,"call",t.callParams))},invokeKnownHelper:function(t,e){t=this.setupHelper(t,e);this.push(this.source.functionCall(t.name,"call",t.callParams))},invokeAmbiguous:function(t,e){this.useRegister("helper");var n=this.popStack(),e=(this.emptyHash(),this.setupHelper(0,t,e)),t=["(","(helper = ",this.lastHelper=this.nameLookup("helpers",t,"helper")," || ",n,")"];this.options.strict||(t[0]="(helper = ",t.push(" != null ? helper : ",this.aliasable("helpers.helperMissing"))),this.push(["(",t,e.paramsInit?["),(",e.paramsInit]:[],"),","(typeof helper === ",this.aliasable('"function"')," ? ",this.source.functionCall("helper","call",e.callParams)," : helper))"])},invokePartial:function(t,e,n){var i=[],r=this.setupParams(e,1,i);t&&(e=this.popStack(),delete r.name),n&&(r.indent=JSON.stringify(n)),r.helpers="helpers",r.partials="partials",r.decorators="container.decorators",t?i.unshift(e):i.unshift(this.nameLookup("partials",e,"partial")),this.options.compat&&(r.depths="depths"),r=this.objectLiteral(r),i.push(r),this.push(this.source.functionCall("container.invokePartial","",i))},assignToHash:function(t){var e=this.popStack(),n=void 0,i=void 0,r=void 0,o=(this.trackIds&&(r=this.popStack()),this.stringParams&&(i=this.popStack(),n=this.popStack()),this.hash);n&&(o.contexts[t]=n),i&&(o.types[t]=i),r&&(o.ids[t]=r),o.values[t]=e},pushId:function(t,e,n){"BlockParam"===t?this.pushStackLiteral("blockParams["+e[0]+"].path["+e[1]+"]"+(n?" + "+JSON.stringify("."+n):"")):"PathExpression"===t?this.pushString(e):"SubExpression"===t?this.pushStackLiteral("true"):this.pushStackLiteral("null")},compiler:l,compileChildren:function(t,e){for(var n=t.children,i=void 0,r=void 0,o=0,s=n.length;o<s;o++){var i=n[o],r=new this.compiler,a=this.matchExistingProgram(i);null==a?(this.context.programs.push(""),a=this.context.programs.length,i.index=a,i.name="program"+a,this.context.programs[a]=r.compile(i,e,this.context,!this.precompile),this.context.decorators[a]=r.decorators,this.context.environments[a]=i,this.useDepths=this.useDepths||r.useDepths,this.useBlockParams=this.useBlockParams||r.useBlockParams):(i.index=a,i.name="program"+a,this.useDepths=this.useDepths||i.useDepths,this.useBlockParams=this.useBlockParams||i.useBlockParams)}},matchExistingProgram:function(t){for(var e=0,n=this.context.environments.length;e<n;e++){var i=this.context.environments[e];if(i&&i.equals(t))return e}},programExpression:function(t){t=this.environment.children[t],t=[t.index,"data",t.blockParams];return(this.useBlockParams||this.useDepths)&&t.push("blockParams"),this.useDepths&&t.push("depths"),"container.program("+t.join(", ")+")"},useRegister:function(t){this.registers[t]||(this.registers[t]=!0,this.registers.list.push(t))},push:function(t){return t instanceof a||(t=this.source.wrap(t)),this.inlineStack.push(t),t},pushStackLiteral:function(t){this.push(new a(t))},pushSource:function(t){this.pendingContent&&(this.source.push(this.appendToBuffer(this.source.quotedString(this.pendingContent),this.pendingLocation)),this.pendingContent=void 0),t&&this.source.push(t)},replaceStack:function(t){var e=["("],n=void 0,i=void 0,r=void 0;if(!this.isInline())throw new h.default("replaceStack on non-inline");var o=this.popStack(!0),s=(o instanceof a?(e=["(",n=[o.value]],r=!0):(i=!0,s=this.incrStack(),e=["((",this.push(s)," = ",o,")"],n=this.topStack()),t.call(this,n));r||this.popStack(),i&&this.stackSlot--,this.push(e.concat(s,")"))},incrStack:function(){return this.stackSlot++,this.stackSlot>this.stackVars.length&&this.stackVars.push("stack"+this.stackSlot),this.topStackName()},topStackName:function(){return"stack"+this.stackSlot},flushInline:function(){var t=this.inlineStack;this.inlineStack=[];for(var e=0,n=t.length;e<n;e++){var i,r=t[e];r instanceof a?this.compileStack.push(r):(i=this.incrStack(),this.pushSource([i," = ",r,";"]),this.compileStack.push(i))}},isInline:function(){return this.inlineStack.length},popStack:function(t){var e=this.isInline(),n=(e?this.inlineStack:this.compileStack).pop();if(!t&&n instanceof a)return n.value;if(!e){if(!this.stackSlot)throw new h.default("Invalid stack pop");this.stackSlot--}return n},topStack:function(){var t=this.isInline()?this.inlineStack:this.compileStack,t=t[t.length-1];return t instanceof a?t.value:t},contextName:function(t){return this.useDepths&&t?"depths["+t+"]":"depth"+t},quotedString:function(t){return this.source.quotedString(t)}
vendor: 5,396 bytes, line 1
1,objectLiteral:function(t){return this.source.objectLiteral(t)},aliasable:function(t){var e=this.aliases[t];return e?e.referenceCount++:((e=this.aliases[t]=this.source.wrap(t)).aliasable=!0,e.referenceCount=1),e},setupHelper:function(t,e,n){var i=[];return{params:i,paramsInit:this.setupHelperArgs(e,t,i,n),name:this.nameLookup("helpers",e,"helper"),callParams:[this.aliasable(this.contextName(0)+" != null ? "+this.contextName(0)+" : {}")].concat(i)}},setupParams:function(t,e,n){for(var i,r={},o=[],s=[],a=[],l=!n,t=(l&&(n=[]),r.name=this.quotedString(t),r.hash=this.popStack(),this.trackIds&&(r.hashIds=this.popStack()),this.stringParams&&(r.hashTypes=this.popStack(),r.hashContexts=this.popStack()),this.popStack()),c=this.popStack(),u=((c||t)&&(r.fn=c||"container.noop",r.inverse=t||"container.noop"),e);u--;)i=this.popStack(),n[u]=i,this.trackIds&&(a[u]=this.popStack()),this.stringParams&&(s[u]=this.popStack(),o[u]=this.popStack());return l&&(r.args=this.source.generateArray(n)),this.trackIds&&(r.ids=this.source.generateArray(a)),this.stringParams&&(r.types=this.source.generateArray(s),r.contexts=this.source.generateArray(o)),this.options.data&&(r.data="data"),this.useBlockParams&&(r.blockParams="blockParams"),r},setupHelperArgs:function(t,e,n,i){t=this.setupParams(t,e,n),t=this.objectLiteral(t);return i?(this.useRegister("options"),n.push("options"),["options=",t]):n?(n.push(t),""):t}};for(var c="break else new var case finally return void catch for switch while continue function this with default if throw delete in try do instanceof typeof abstract enum int short boolean export interface static byte extends long super char final native synchronized class float package throws const goto private transient debugger implements protected volatile double import public let yield await null true false".split(" "),u=l.RESERVED_WORDS={},p=0,d=c.length;p<d;p++)u[c[p]]=!0;l.isValidJavaScriptVariableName=function(t){return!l.RESERVED_WORDS[t]&&/^[a-zA-Z_$][0-9a-zA-Z_$]*$/.test(t)},e.default=l,t.exports=e.default},function(t,e,n){e.__esModule=!0;var s=n(5),i=void 0;function o(t,e,n){if(s.isArray(t)){for(var i=[],r=0,o=t.length;r<o;r++)i.push(e.wrap(t[r],n));return i}return"boolean"==typeof t||"number"==typeof t?t+"":t}function r(t){this.srcFile=t,this.source=[]}i||((i=function(t,e,n,i){this.src="",i&&this.add(i)}).prototype={add:function(t){s.isArray(t)&&(t=t.join("")),this.src+=t},prepend:function(t){s.isArray(t)&&(t=t.join("")),this.src=t+this.src},toStringWithSourceMap:function(){return{code:this.toString()}},toString:function(){return this.src}}),r.prototype={isEmpty:function(){return!this.source.length},prepend:function(t,e){this.source.unshift(this.wrap(t,e))},push:function(t,e){this.source.push(this.wrap(t,e))},merge:function(){var e=this.empty();return this.each(function(t){e.add([" ",t,"\n"])}),e},each:function(t){for(var e=0,n=this.source.length;e<n;e++)t(this.source[e])},empty:function(){var t=this.currentLocation||{start:{}};return new i(t.start.line,t.start.column,this.srcFile)},wrap:function(t){var e=arguments.length<=1||void 0===arguments[1]?this.currentLocation||{start:{}}:arguments[1];return t instanceof i?t:(t=o(t,this,e),new i(e.start.line,e.start.column,this.srcFile,t))},functionCall:function(t,e,n){return n=this.generateList(n),this.wrap([t,e?"."+e+"(":"(",n,")"])},quotedString:function(t){return'"'+(t+"").replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")+'"'},objectLiteral:function(t){var e,n,i=[];for(e in t)t.hasOwnProperty(e)&&"undefined"!==(n=o(t[e],this))&&i.push([this.quotedString(e),":",n]);var r=this.generateList(i);return r.prepend("{"),r.add("}"),r},generateList:function(t){for(var e=this.empty(),n=0,i=t.length;n<i;n++)n&&e.add(","),e.add(o(t[n],this));return e},generateArray:function(t){t=this.generateList(t);return t.prepend("["),t.add("]"),t}},e.default=r,t.exports=e.default}],r={},n.m=i,n.c=r,n.p="",n(0);function n(t){var e;return(r[t]||(e=r[t]={exports:{},id:t,loaded:!1},i[t].call(e.exports,e,e.exports,n),e.loaded=!0,e)).exports}var i,r}),((t,e)=>{"function"==typeof define&&define.amd?define("ev-emitter/ev-emitter",e):"object"==typeof module&&module.exports?module.exports=e():t.EvEmitter=e()})("undefined"!=typeof window?window:this,function(){function t(){}var e=t.prototype;return e.on=function(t,e){var n;if(t&&e)return-1==(n=(n=this._events=this._events||{})[t]=n[t]||[]).indexOf(e)&&n.push(e),this},e.once=function(t,e){var n;if(t&&e)return this.on(t,e),((n=this._onceEvents=this._onceEvents||{})[t]=n[t]||{})[e]=!0,this},e.off=function(t,e){t=this._events&&this._events[t];if(t&&t.length)return-1!=(e=t.indexOf(e))&&t.splice(e,1),this},e.emitEvent=function(t,e){var n=this._events&&this._events[t];if(n&&n.length){var i=0,r=n[i];e=e||[];for(var o=this._onceEvents&&this._onceEvents[t];r;){var s=o&&o[r];s&&(this.off(t,r),delete o[r]),r.apply(this,e),r=n[i+=s?0:1]}return this}},t}),((e,n)=>{"function"==typeof define&&define.amd?define(["ev-emitter/ev-emitter"],function(t){return n(e,t)}):"object"==typeof module&&module.exports?module.exports=n(e,require("ev-emitter")):e.imagesLoaded=n(e,e.EvEmitter)})(window,function(e,t){function i(t,e){for(var n in e)t[n]=e[n];return t}function r(t,e,n){return this instanceof r?("string"==typeof t&&(t=document.querySelectorAll(t)),this.elements=(t=>{var e=[];
1if(Array.isArray(t))e=t;else if("number"==typeof t.length)for(var n=0;n<t.length;n++)e.push(t[n]);else e.push(t);return e})(t),this.options=i({},this.options),"function"==typeof e?n=e:i(this.options,e),n&&this.on("always",n),this.getImages(),s&&(this.jqDeferred=new s.Deferred),void setTimeout(function(){this.check()}.bind(this))):new r(t,e,n)}function n(t){this.img=t}function o(t,e){this.url=t,this.element=e,this.img=new Image}var s=e.jQuery,a=e.console,l=((r.prototype=Object.create(t.prototype)).options={},r.prototype.getImages=function(){this.images=[],this.elements.forEach(this.addElementImages,this)},r.prototype.addElementImages=function(t){"IMG"==t.nodeName&&this.addImage(t),!0===this.options.background&&this.addElementBackgroundImages(t);var e=t.nodeType;if(e&&l[e]){for(var n=t.querySelectorAll("img"),i=0;i<n.length;i++){var r=n[i];this.addImage(r)}if("string"==typeof this.options.background)for(var o=t.querySelectorAll(this.options.background),i=0;i<o.length;i++){var s=o[i];this.addElementBackgroundImages(s)}}},{1:!0,9:!0,11:!0});return r.prototype.addElementBackgroundImages=function(t){var e=getComputedStyle(t);if(e)for(var n=/url\((['"])?(.*?)\1\)/gi,i=n.exec(e.backgroundImage);null!==i;){var r=i&&i[2];r&&this.addBackground(r,t),i=n.exec(e.backgroundImage)}},r.prototype.addImage=function(t){t=new n(t);this.images.push(t)},r.prototype.addBackground=function(t,e){t=new o(t,e);this.images.push(t)},r.prototype.check=function(){function e(t,e,n){setTimeout(function(){i.progress(t,e,n)})}var i=this;return this.progressedCount=0,this.hasAnyBroken=!1,this.images.length?void this.images.forEach(function(t){t.once("progress",e),t.check()}):void this.complete()},r.prototype.progress=function(t,e,n){this.progressedCount++,this.hasAnyBroken=this.hasAnyBroken||!t.isLoaded,this.emitEvent("progress",[this,t,e]),this.jqDeferred&&this.jqDeferred.notify&&this.jqDeferred.notify(this,t),this.progressedCount==this.images.length&&this.complete(),this.options.debug&&a&&a.log("progress: "+n,t,e)},r.prototype.complete=function(){var t=this.hasAnyBroken?"fail":"done";this.isComplete=!0,this.emitEvent(t,[this]),this.emitEvent("always",[this]),this.jqDeferred&&(t=this.hasAnyBroken?"reject":"resolve",this.jqDeferred[t](this))},(n.prototype=Object.create(t.prototype)).check=function(){return this.getIsImageComplete()?void this.confirm(0!==this.img.naturalWidth,"naturalWidth"):(this.proxyImage=new Image,this.proxyImage.addEventListener("load",this),this.proxyImage.addEventListener("error",this),this.img.addEventListener("load",this),this.img.addEventListener("error",this),void(this.proxyImage.src=this.img.src))},n.prototype.getIsImageComplete=function(){return this.img.complete&&void 0!==this.img.naturalWidth},n.prototype.confirm=function(t,e){this.isLoaded=t,this.emitEvent("progress",[this,this.img,e])},n.prototype.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},n.prototype.onload=function(){this.confirm(!0,"onload"),this.unbindEvents()},n.prototype.onerror=function(){this.confirm(!1,"onerror"),this.unbindEvents()},n.prototype.unbindEvents=function(){this.proxyImage.removeEventListener("load",this),this.proxyImage.removeEventListener("error",this),this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},(o.prototype=Object.create(n.prototype)).check=function(){this.img.addEventListener("load",this),this.img.addEventListener("error",this),this.img.src=this.url,this.getIsImageComplete()&&(this.confirm(0!==this.img.naturalWidth,"naturalWidth"),this.unbindEvents())},o.prototype.unbindEvents=function(){this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},o.prototype.confirm=function(t,e){this.isLoaded=t,this.emitEvent("progress",[this,this.element,e])},(r.makeJQueryPlugin=function(t){(t=t||e.jQuery)&&((s=t).fn.imagesLoaded=function(t,e){return new r(this,t,e).jqDeferred.promise(s(this))})})(),r}),((t,u)=>{var i,e=t.jQuery||t.Cowboy||(t.Cowboy={});e.throttle=i=function(r,o,s,a){var l,c=0;function t(){var t=this,e=+new Date-c,n=arguments;function i(){c=+new Date,s.apply(t,n)}a&&!l&&i(),l&&clearTimeout(l),a===u&&r<e?i():!0!==o&&(l=setTimeout(a?function(){l=u}:i,a===u?r-e:r))}return"boolean"!=typeof o&&(a=s,s=o,o=u),e.guid&&(t.guid=s.guid=s.guid||e.guid++),t},e.debounce=function(t,e,n){return n===u?i(t,e,!1):i(t,n,!1!==e)}})(this),((l,n)=>{function e(t,e){this.o=l.extend({},i,e),this.e=l(t),this.init()}var i={target:"next",mode:"words",speed:"slow",truncate:10,ellipsis:"...",effect:"fade",controlBtn:"",showText:"Show more",hideText:"Hide text",showClass:"show-class",hideClass:"hide-class",atStart:"hide",lockHide:!1,dynamic:!1,changeText:!1,beforeShow:null,afterShow:null,beforeHide:null,afterHide:null};e.prototype={init:function(){var t,e=this;e.mode=e.o.mode,e.remaining={},e.ctrlHtml=' <a href="#" data-ctrl class="'+(l.isFunction(e.o.controlBtn)?"":e.o.controlBtn)+'"></a>',l(e.e).each(function(){l(this).data("oCnt",e.e.html());var t=l.isFunction(e.o.atStart)?e.o.atStart.call(e.e):e.o.atStart;"hide"==(void 0!==e.e.attr("data-start")?e.e.attr("data-start"):t)?e.hide(e.e,0):e.show(e.e,0)}),l(n).on("resize",function(){e.o.dynamic&&"lines"==e.mode&&(clearTimeout(t),t=setTimeout(function(){e.reInit(e.e)},100))})},show:function(t,e){function n(){l.isFunction(i.o.afterShow)&&i.o.afterShow.call(i.e,i)}var i=this,r=l(t);void 0===e&&(e=i.o.speed);switch(l.isFunction(i.o.beforeShow)&&i.o.beforeShow.call(i.e,i),i.mode){case"chars":case"words":var o=r.height(),s=(r.html(r.data("tHTML")),r.height());r.height(o),r.animate({height:s},e,function(){r.height("auto"),n()}).removeClass(i.o.hideClass).addClass(i.o.showClass),r.data("tHTML",r.html());break;case"lines":0==r.children("div").length&&r.wrapInner("<div>");var a=r.children("div"),o=a.height(),s=a.html(r.data("oCnt")).css("height","").height();a.css("height",o),a.animate({height:s},e,function(){a.height("auto"),n()}),r.removeClass(i.o.hideClass).addClass(i.o.showClass);break;case"block":i.blockMode(r,"show",e,n)}if((i.status=1)==i.o.lockHide)return r.find("[data-ctrl]").remove(),"";"block"==i.mode?r.off("click.coll").on("click.coll",function(t){t.preventDefault(),i.hide(r)}):(0!=r.find("[data-ctrl]").length||l.isFunction(i.o.controlBtn)||r.append(i.ctrlHtml),i.ctrlBtn=l.isFunction(i.o.controlBtn)?i.o.controlBtn.call(i.e):l(r.find("[data-ctrl]")),i.ctrlBtn.off("click.coll").on("click.coll",function(t){t.preventDefault(),i.hide(r)}).html(i.o.hideText))},hide:function(t,e){var n=this,i=l(t),r=(void 0===e&&(e=n.o.speed),function(){l.isFunction(n.o.afterHide)&&n.o.afterHide.call(n.e,n)});switch(l.isFunction(n.o.beforeHide)&&n.o.beforeHide.call(n.e,n),i.find("[data-ctrl]").remove(),n.mode){case"chars":var o=l.trim(i.text());n.remaining.chars=o.length-n.o.truncate,o.length>n.o.truncate&&(i.data("tHTML",i.html()),o=n.pad(o.slice(0,n.o.truncate),o.slice(n.o.truncate,o.length)),i.html(o).removeClass(n.o.showClass).addClass(n.o.hideClass),r());break;case"words":o=(o=l.trim(i.text())).split(" "),n.remaining.words=o.length-n.o.truncate,o.length>n.o.truncate&&(i.data("tHTML",i.html()),o=n.pad(o.slice(0,n.o.truncate).join(" "),o.slice(n.o.truncate,o.length).join(" ")),i.html(o).removeClass(n.o.showClass).addClass(n.o.hideClass),r());break;case"lines":0==i.children("div").length&&i.wrapInner("<div>"),(o=i.children("div").css("height","")).html(o.text());var s=o.height();void 0===i.data("lHeight")?(temp=o.clone(),lHeight=temp.text("a").insertAfter(o).height(),i.data("lHeight",lHeight),o.next().remove()):lHeight=i.data("lHeight"),lines=s/lHeight,n.remaining.lines=lines-n.o.truncate,0<n.remaining.lines&&
1(o.css("overflow","hidden"),o.animate({height:lHeight*n.o.truncate},e).data("tHeight",s),i.removeClass(n.o.showClass).addClass(n.o.hideClass),0!=i.find("[data-ctrl]").length||l.isFunction(n.o.controlBtn)||i.append(n.ctrlHtml),r());break;case"block":n.blockMode(i,"hide",e,r)}n.status=0,"block"==n.mode?i.unbind("click.coll").bind("click.coll",function(t){t.preventDefault(),n.show(i)}):(n.ctrlBtn=l.isFunction(n.o.controlBtn)?n.o.controlBtn.call(n.e):l(i.find("[data-ctrl]")),n.ctrlBtn.off("click.coll").on("click.coll",function(t){t.preventDefault(),n.show(i)}).html(n.o.showText),o={chars:["character","characters"],words:["word","words"],lines:["lines","lines"]},r=(r=n.o.showText).replace("%s",n.remaining[n.mode]+(1==n.remaining[n.mode]?" "+o[n.mode][0]:" "+o[n.mode][1])),n.ctrlBtn.html(r))},pad:function(t,e){return t+'<span class="coll-ellipsis">'+this.o.ellipsis+"</span>"+(l.isFunction(this.o.ctrlBtn)?"":this.ctrlHtml)+'<span class="coll-hidden" style="display:none">'+e+"</span>"},blockMode:function(t,e,n,i){var r=["fadeOut","slideUp","fadeIn","slideDown"],o="fade"==this.o.effect?0:1,r="hide"==e?r[o]:r[2+o];l.isFunction(this.o.target)?this.o.target.call(this.e)[r](n,i):l.fn[this.o.target]&&l(t)[this.o.target]()[r](n,i),"show"==e?(t.removeClass(this.o.showClass).addClass(this.o.hideClass),this.o.changeText&&t.text(this.o.hideText)):(t.removeClass(this.o.hideClass).addClass(this.o.showClass),this.o.changeText&&t.text(this.o.showText))},reInit:function(t){t.find("[data-ctrl]").remove(),t.html(this.e.data("oCnt")),0==this.status?this.hide(t,0):this.show(t,0)}},l.fn.collapser=function(t){return this.each(function(){l.data(this,"collapser")||l.data(this,"collapser",new e(this,t))})}})(jQuery,window,document),((n,p,P,h)=>{function d(t){return t&&t.hasOwnProperty&&t instanceof P}function A(t){return f(t)&&0<t.indexOf("%")}function I(t,e){var n=parseInt(t,10)||0;return e&&A(t)&&(n=N.getViewport()[e]/100*n),Math.ceil(n)}function M(t,e){return I(t,e)+"px"}var i=P("html"),r=P(n),c=P(p),N=P.fancybox=function(){N.open.apply(this,arguments)},s=navigator.userAgent.match(/msie/i),o=null,a=p.createTouch!==h,f=function(t){return t&&"string"===P.type(t)};P.extend(N,{version:"2.1.5",defaults:{padding:15,margin:20,width:800,height:600,minWidth:100,minHeight:100,maxWidth:9999,maxHeight:9999,pixelRatio:1,autoSize:!0,autoHeight:!1,autoWidth:!1,autoResize:!0,autoCenter:!a,fitToView:!0,aspectRatio:!1,topRatio:.5,leftRatio:.5,scrolling:"auto",wrapCSS:"",arrows:!0,closeBtn:!0,closeClick:!1,nextClick:!1,mouseWheel:!0,autoPlay:!1,playSpeed:3e3,preload:3,modal:!1,loop:!0,ajax:{dataType:"html",headers:{"X-fancyBox":!0}},iframe:{scrolling:"auto",preload:!0},swf:{wmode:"transparent",allowfullscreen:"true",allowscriptaccess:"always"},keys:{next:{13:"left",34:"up",39:"left",40:"up"},prev:{8:"right",33:"down",37:"right",38:"down"},close:[27],play:[32],toggle:[70]},direction:{next:"left",prev:"right"},scrollOutside:!0,index:0,type:null,href:null,content:null,title:null,tpl:{wrap:'<div class="fancybox-wrap" tabIndex="-1"><div class="fancybox-skin"><div class="fancybox-outer"><div class="fancybox-inner"></div></div></div></div>',image:'<img class="fancybox-image" src="{href}" alt="" />',iframe:'<iframe id="fancybox-frame{rnd}" name="fancybox-frame{rnd}" class="fancybox-iframe" frameborder="0" vspace="0" hspace="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen'+(s?' allowtransparency="true"':"")+"></iframe>",error:'<p class="fancybox-error">The requested content cannot be loaded.<br/>Please try again later.</p>',closeBtn:'<a title="Close" class="fancybox-item fancybox-close" href="javascript:;"></a>',next:'<a title="Next" class="fancybox-nav fancybox-next" href="javascript:;"><span></span></a>',prev:'<a title="Previous" class="fancybox-nav fancybox-prev" href="javascript:;"><span></span></a>'},openEffect:"fade",openSpeed:250,openEasing:"swing",openOpacity:!0,openMethod:"zoomIn",closeEffect:"fade",closeSpeed:250,closeEasing:"swing",closeOpacity:!0,closeMethod:"zoomOut",nextEffect:"elastic",nextSpeed:250,nextEasing:"swing",nextMethod:"changeIn",prevEffect:"elastic",prevSpeed:250,prevEasing:"swing",prevMethod:"changeOut",helpers:{overlay:!0,title:!0},onCancel:P.noop,beforeLoad:P.noop,afterLoad:P.noop,beforeShow:P.noop,afterShow:P.noop,beforeChange:P.noop,beforeClose:P.noop,afterClose:P.noop},group:{},opts:{},previous:null,coming:null,current:null,isActive:!1,isOpen:!1,isOpened:!1,wrap:null,
vendor: 18,827 bytes, line 1
1skin:null,outer:null,inner:null,player:{timer:null,isActive:!1},ajaxLoad:null,imgPreload:null,transitions:{},helpers:{},open:function(c,u){if(c&&(P.isPlainObject(u)||(u={}),!1!==N.close(!0)))return P.isArray(c)||(c=d(c)?P(c).get():[c]),P.each(c,function(t,e){var n,i,r,o,s,a,l={};"object"===P.type(e)&&(e.nodeType&&(e=P(e)),d(e)?(l={href:e.data("fancybox-href")||e.attr("href"),title:e.data("fancybox-title")||e.attr("title"),isDom:!0,element:e},P.metadata&&P.extend(!0,l,e.metadata())):l=e),n=u.href||l.href||(f(e)?e:null),i=u.title!==h?u.title:l.title||"",!(o=(r=u.content||l.content)?"html":u.type||l.type)&&l.isDom&&(o=(o=e.data("fancybox-type"))||((s=e.prop("class").match(/fancybox\.(\w+)/))?s[1]:null)),f(n)&&(o||(N.isImage(n)?o="image":N.isSWF(n)?o="swf":"#"===n.charAt(0)?o="inline":f(e)&&(o="html",r=e)),"ajax"===o)&&(n=(s=n.split(/\s+/,2)).shift(),a=s.shift()),r||("inline"===o?n?r=P(p).find(f(n)?n.replace(/.*(?=#[^\s]+$)/,""):n):l.isDom&&(r=e):"html"===o?r=n:o||n||!l.isDom||(o="inline",r=e)),P.extend(l,{href:n,type:o,content:r,title:i,selector:a}),c[t]=l}),N.opts=P.extend(!0,{},N.defaults,u),u.keys!==h&&(N.opts.keys=!!u.keys&&P.extend({},N.defaults.keys,u.keys)),N.group=c,N._start(N.opts.index)},cancel:function(){var t=N.coming;t&&!1!==N.trigger("onCancel")&&(N.hideLoading(),N.ajaxLoad&&N.ajaxLoad.abort(),N.ajaxLoad=null,N.imgPreload&&(N.imgPreload.onload=N.imgPreload.onerror=null),t.wrap&&t.wrap.stop(!0,!0).trigger("onReset").remove(),N.coming=null,N.current||N._afterZoomOut(t))},close:function(t){N.cancel(),!1!==N.trigger("beforeClose")&&(N.unbindEvents(),N.isActive)&&(N.isOpen&&!0!==t?(N.isOpen=N.isOpened=!1,N.isClosing=!0,P(".fancybox-item, .fancybox-nav").remove(),N.wrap.stop(!0,!0).removeClass("fancybox-opened"),N.transitions[N.current.closeMethod]()):(P(".fancybox-wrap").stop(!0).trigger("onReset").remove(),N._afterZoomOut()))},play:function(t){function e(){i(),N.current&&N.player.isActive&&(N.player.timer=setTimeout(N.next,N.current.playSpeed))}function n(){i(),c.unbind(".player"),N.player.isActive=!1,N.trigger("onPlayEnd")}var i=function(){clearTimeout(N.player.timer)};!0===t||!N.player.isActive&&!1!==t?N.current&&(N.current.loop||N.current.index<N.group.length-1)&&(N.player.isActive=!0,c.bind({"onCancel.player beforeClose.player":n,"onUpdate.player":e,"beforeLoad.player":i}),e(),N.trigger("onPlayStart")):n()},next:function(t){var e=N.current;e&&(f(t)||(t=e.direction.next),N.jumpto(e.index+1,t,"next"))},prev:function(t){var e=N.current;e&&(f(t)||(t=e.direction.prev),N.jumpto(e.index-1,t,"prev"))},jumpto:function(t,e,n){var i=N.current;i&&(t=I(t),N.direction=e||i.direction[t>=i.index?"next":"prev"],N.router=n||"jumpto",i.loop&&(t<0&&(t=i.group.length+t%i.group.length),t%=i.group.length),i.group[t]!==h)&&(N.cancel(),N._start(t))},reposition:function(t,e){var n=N.current,i=n?n.wrap:null;i&&(e=N._getPosition(e),t&&"scroll"===t.type?(delete e.position,i.stop(!0,!0).animate(e,200)):(i.css(e),n.pos=P.extend({},n.dim,e)))},update:function(e){var n=e&&e.type,i=!n||"orientationchange"===n;i&&(clearTimeout(o),o=null),N.isOpen&&(o=o||setTimeout(function(){var t=N.current;t&&!N.isClosing&&(N.wrap.removeClass("fancybox-tmp"),(i||"load"===n||"resize"===n&&t.autoResize)&&N._setDimension(),"scroll"===n&&t.canShrink||N.reposition(e),N.trigger("onUpdate"),o=null)},i&&!a?0:300))},toggle:function(t){N.isOpen&&(N.current.fitToView="boolean"===P.type(t)?t:!N.current.fitToView,a&&(N.wrap.removeAttr("style").addClass("fancybox-tmp"),N.trigger("onUpdate")),N.update())},hideLoading:function(){c.unbind(".loading"),P("#fancybox-loading").remove()},showLoading:function(){var t,e;N.hideLoading(),t=P('<div id="fancybox-loading"><div></div></div>').click(N.cancel).appendTo("body"),c.bind("keydown.loading",function(t){27===(t.which||t.keyCode)&&(t.preventDefault(),N.cancel())}),N.defaults.fixed||(e=N.getViewport(),t.css({position:"absolute",top:.5*e.h+e.y,left:.5*e.w+e.x}))},getViewport:function(){var t=N.current&&N.current.locked||!1,e={x:r.scrollLeft(),y:r.scrollTop()};return t?(e.w=t[0].clientWidth,e.h=t[0].clientHeight):(e.w=a&&n.innerWidth?n.innerWidth:r.width(),e.h=a&&n.innerHeight?n.innerHeight:r.height()),e},unbindEvents:function(){N.wrap&&d(N.wrap)&&N.wrap.unbind(".fb"),c.unbind(".fb"),r.unbind(".fb")},bindEvents:function(){var e,l=N.current;l&&(r.bind("orientationchange.fb"+(a?"":" resize.fb")+(l.autoCenter&&!l.locked?" scroll.fb":""),N.update),(e=l.keys)&&c.bind("keydown.fb",function(n){var i=n.which||n.keyCode,t=n.target||n.srcElement;if(27===i&&N.coming)return!1;n.ctrlKey||n.altKey||n.shiftKey||n.metaKey||t&&(t.type||P(t).is("[contenteditable]"))||P.each(e,function(t,e){return 1<l.group.length&&e[i]!==h?(N[t](e[i]),n.preventDefault(),!1):-1<P.inArray(i,e)?(N[t](),n.preventDefault(),!1):void 0})}),P.fn.mousewheel)&&l.mouseWheel&&N.wrap.bind("mousewheel.fb",function(t,e,n,i){for(var r,o=t.target||null,s=P(o),a=!1;s.length&&!(a||s.is(".fancybox-skin")||s.is(".fancybox-wrap"));)a=(r=s[0])&&!(r.style.overflow&&"hidden"===r.style.overflow)&&(r.clientWidth&&r.scrollWidth>r.clientWidth||r.clientHeight&&r.scrollHeight>r.clientHeight),s=P(s).parent();0===e||a||1<N.group.length&&!l.canShrink&&(0<i||0<n?N.prev(0<i?"down":"left"):(i<0||n<0)&&N.next(i<0?"up":"right"),t.preventDefault())})},trigger:function(n,t){var e,i=t||N.coming||N.current;if(i){if(!1===(e=P.isFunction(i[n])?i[n].apply(i,Array.prototype.slice.call(arguments,1)):e))return!1;i.helpers&&P.each(i.helpers,function(t,e){e&&N.helpers[t]&&P.isFunction(N.helpers[t][n])&&N.helpers[t][n](P.extend(!0,{},N.helpers[t].defaults,e),i)}),c.trigger(n)}},isImage:function(t){return f(t)&&t.match(/(^data:image\/.*,)|(\.(jp(e|g|eg)|gif|png|bmp|webp|svg)((\?|#).*)?$)/i)},isSWF:function(t){return f(t)&&t.match(/\.(swf)((\?|#).*)?$/i)},_start:function(t){var e,n,i={};if(t=I(t),!(e=N.group[t]||null))return!1;if(e=(i=P.extend(!0,{},N.opts,e)).margin,n=i.padding,"number"===P.type(e)&&(i.margin=[e,e,e,e]),"number"===P.type(n)&&(i.padding=[n,n,n,n]),i.modal&&P.extend(!0,i,{closeBtn:!1,closeClick:!1,nextClick:!1,arrows:!1,mouseWheel:!1,keys:null,helpers:{overlay:{closeClick:!1}}}),i.autoSize&&(i.autoWidth=i.autoHeight=!0),"auto"===i.width&&(i.autoWidth=!0),"auto"===i.height&&(i.autoHeight=!0),i.group=N.group,i.index=t,N.coming=i,!1===N.trigger("beforeLoad"))N.coming=null;else{if(e=i.type,n=i.href,!e)return N.coming=null,!(!N.current||!N.router||"jumpto"===N.router)&&(N.current.index=t,N[N.router](N.direction));if(N.isActive=!0,"image"!==e&&"swf"!==e||(i.autoHeight=i.autoWidth=!1,i.scrolling="visible"),"image"===e&&(i.aspectRatio=!0),"iframe"===e&&a&&(i.scrolling="scroll"),i.wrap=P(i.tpl.wrap).addClass("fancybox-"+(a?"mobile":"desktop")+" fancybox-type-"+e+" fancybox-tmp "+i.wrapCSS).appendTo(i.parent||"body"),P.extend(i,{skin:P(".fancybox-skin",i.wrap),outer:P(".fancybox-outer",i.wrap),inner:P(".fancybox-inner",i.wrap)}),P.each(["Top","Right","Bottom","Left"],function(t,e){i.skin.css("padding"+e,M(i.padding[t]))}),N.trigger("onReady"),"inline"===e||"html"===e){if(!i.content||!i.content.length)return N._error("content")}else if(!n)return N._error("href");"image"===e?N._loadImage():"ajax"===e?N._loadAjax():"iframe"===e?N._loadIframe():N._afterLoad()}},_error:function(t){P.extend(N.coming,{type:"html",autoWidth:!0,autoHeight:!0,minWidth:0,minHeight:0,scrolling:"no",hasError:t,content:N.coming.tpl.error}),N._afterLoad()},_loadImage:function(){var t=N.imgPreload=new Image;t.onload=function(){this.onload=this.onerror=null,N.coming.width=this.width/N.opts.pixelRatio,N.coming.height=this.height/N.opts.pixelRatio,N._afterLoad()},t.onerror=function(){this.onload=this.onerror=null,N._error("image")},t.src=N.coming.href,!0!==t.complete&&N.showLoading()},_loadAjax:function(){var n=N.coming;N.showLoading(),N.ajaxLoad=P.ajax(P.extend({},n.ajax,{url:n.href,error:function(t,e){N.coming&&"abort"!==e?N._error("ajax",t):N.hideLoading()},success:function(t,e){"success"===e&&(n.content=t,N._afterLoad())}}))},_loadIframe:function(){var t=N.coming,e=P(P.parseHTML(t.tpl.iframe.replace(/\{rnd\}/g,(new Date).getTime()))).attr("scrolling",a?"auto":t.iframe.scrolling).attr("src",t.href);t.wrap.bind("onReset",function(){try{P(this).find("iframe").hide().attr("src","//about:blank").end().empty()}catch(t){}}),t.iframe.preload&&(N.showLoading(),e.one("load",function(){P(this).data("ready",1),a||P(this).bind("load.fb",N.update),P(this).parents(".fancybox-wrap").width("100%").removeClass("fancybox-tmp").show(),N._afterLoad()})),t.inner.append(e),t.content=e,t.iframe.preload||N._afterLoad()},_preloadImages:function(){for(var t,e=N.group,n=N.current,i=e.length,r=n.preload?Math.min(n.preload,i-1):0,o=1;o<=r;o+=1)"image"===(t=e[(n.index+o)%i]).type&&t.href&&((new Image).src=t.href)},_afterLoad:function(){var t,e,n,i=N.coming,r=N.current,o="fancybox-placeholder";if(N.hideLoading(),i&&!1!==N.isActive)if(!1===N.trigger("afterLoad",i,r))i.wrap.stop(!0).trigger("onReset").remove(),N.coming=null;else{switch(r&&(N.trigger("beforeChange",r),r.wrap.stop(!0).removeClass("fancybox-opened").find(".fancybox-item, .fancybox-nav").remove()),N.unbindEvents(),l=(t=i).content,e=i.type,i=i.scrolling,P.extend(N,{wrap:t.wrap,skin:t.skin,outer:t.outer,inner:t.inner,current:t,previous:r}),n=t.href,e){case"inline":case"ajax":case"html":t.selector?l=P("<div>").html(l).find(t.selector):d(l)&&(l.data(o)||l.data(o,P('<div class="'+o+'"></div>').insertAfter(l).hide()),l=l.show().detach(),t.wrap.bind("onReset",function(){P(this).find(l).length&&l.hide().replaceAll(l.data(o)).data(o,!1)}));break;case"image":l=t.tpl.image.replace("{href}",n);break;case"swf":var s=function(t){return P("<div/>").text(null==t?"":String(t)).html()},a=s(n),l='<object id="fancybox-swf" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="100%" height="100%"><param name="movie" value="'+a+'"></param>',c="";P.each(t.swf,function(t,e){t=s(t),e=s(e);l+='<param name="'+t+'" value="'+e+'"></param>',c+=" "+t+'="'+e+'"'}),l+='<embed src="'+a+'" type="application/x-shockwave-flash" width="100%" height="100%"'+c+"></embed></object>"}d(l)&&l.parent().is(t.inner)||t.inner.append(l),N.trigger("beforeShow"),t.inner.css("overflow","yes"===i?"scroll":"no"===i?"hidden":i),N._setDimension(),N.reposition(),N.isOpen=!1,N.coming=null,N.bindEvents(),N.isOpened?r.prevMethod&&N.transitions[r.prevMethod]():P(".fancybox-wrap").not(t.wrap).stop(!0).trigger("onReset").remove(),N.transitions[N.isOpened?t.nextMethod:t.openMethod](),N._preloadImages()}},_setDimension:function(){var t,e,n,i,r,o,s,a,l,c,u,p,h,d,f=N.getViewport(),m=0,g=N.wrap,v=N.skin,y=N.inner,b=N.current,_=b.width,w=b.height,x=b.minWidth,k=b.minHeight,T=b.maxWidth,C=b.maxHeight,S=b.scrolling,j=b.scrollOutside?b.scrollbarWidth:0,E=b.margin,O=I(E[1]+E[3]),E=I(E[0]+E[2]);if(g.add(v).add(y).width("auto").height("auto").removeClass("fancybox-tmp"),n=O+(t=I(v.outerWidth(!0)-v.width())),i=E+(e=I(v.outerHeight(!0)-v.height())),r=A(_)?(f.w-n)*I(_)/100:_,o=A(w)?(f.h-i)*I(w)/100:w,"iframe"===b.type){if(h=b.content,b.autoHeight&&1===h.data("ready"))try{h[0].contentWindow.document.location&&(y.width(r).height(9999),d=h.contents().find("body"),j&&d.css("overflow-x","hidden"),o=d.outerHeight(!0))}catch(t){}}else(b.autoWidth||b.autoHeight)&&(y.addClass("fancybox-tmp"),b.autoWidth||y.width(r),b.autoHeight||y.height(o),b.autoWidth&&(r=y.width()),b.autoHeight&&(o=y.height()),y.removeClass("fancybox-tmp"));if(_=I(r),w=I(o),a=r/o,x=I(A(x)?I(x,"w")-n:x),T=I(A(T)?I(T,"w")-n:T),k=I(A(k)?I(k,"h")-i:k),d=T,s=C=I(A(C)?I(C,"h")-i:C),b.fitToView&&(T=Math.min(f.w-n,T),C=Math.min(f.h-i,C)),u=f.w-O,p=f.h-E,b.aspectRatio?(w=(_=C<(w=T<_?I((_=T)/a):w)?I((w=C)*a):_)<x?I((_=x)/a):w)<k&&(_=I((w=k)*a)):(_=Math.max(x,Math.min(_,T)),b.autoHeight&&"iframe"!==b.type&&(y.width(_),w=y.height()),w=Math.max(k,Math.min(w,C))),b.fitToView)if(y.width(_).height(w),g.width(_+t),l=g.width(),c=g.height(),b.aspectRatio)for(;(u<l||p<c)&&x<_&&k<w&&!(19<m++);)w=Math.max(k,Math.min(C,w-10)),(_=I(w*a))<x&&(w=I((_=x)/a)),T<_&&(w=I((_=T)/a)),y.width(_).height(w),g.width(_+t),l=g.width(),c=g.height();else _=Math.max(x,Math.min(_,_-(l-u))),w=Math.max(k,Math.min(w,w-(c-p)));j&&"auto"===S&&w<o&&_+t+j<u&&(_+=j),y.width(_).height(w),g.width(_+t),l=g.width(),c=g.height(),n=(u<l||p<c)&&x<_&&k<w,i=b.aspectRatio?_<d&&w<s&&_<r&&w<o:(_<d||w<s)&&(_<r||w<o),P.extend(b,{dim:{width:M(l),height:M(c)},origWidth:r,origHeight:o,canShrink:n,canExpand:i,wPadding:t,hPadding:e,wrapSpace:c-v.outerHeight(!0),skinSpace:v.height()-w}),!h&&b.autoHeight&&k<w&&w<C&&!i&&y.height("auto")},_getPosition:function(t){var e=N.current,n=N.getViewport(),i=e.margin,r=N.wrap.width()+i[1]+i[3],o=N.wrap.height()+i[0]+i[2],i={position:"absolute",top:i[0],left:i[3]};return e.autoCenter&&e.fixed&&!t&&o<=n.h&&r<=n.w?i.position="fixed":e.locked||(i.top+=n.y,i.left+=n.x),i.top=M(Math.max(i.top,i.top+(n.h-o)*e.topRatio)),i.left=M(Math.max(i.left,i.left+(n.w-r)*e.leftRatio)),i},_afterZoomIn:function(){var e=N.current;e&&(N.isOpen=N.isOpened=!0,N.wrap.css("overflow","visible").addClass("fancybox-opened"),N.update(),(e.closeClick||e.nextClick&&1<N.group.length)&&N.inner.css("cursor","pointer").bind("click.fb",function(t){P(t.target).is("a")||P(t.target).parent().is("a")||(t.preventDefault(),N[e.closeClick?"close":"next"]())}),e.closeBtn&&P(e.tpl.closeBtn).appendTo(N.skin).bind("click.fb",function(t){t.preventDefault(),N.close()}),e.arrows&&1<N.group.length&&((e.loop||0<e.index)&&P(e.tpl.prev).appendTo(N.outer).bind("click.fb",N.prev),e.loop||e.index<N.group.length-1)&&P(e.tpl.next).appendTo(N.outer).bind("click.fb",N.next),N.trigger("afterShow"),e.loop||e.index!==e.group.length-1?N.opts.autoPlay&&!N.player.isActive&&(N.opts.autoPlay=!1,N.play()):N.play(!1))},_afterZoomOut:function(t){t=t||N.current,P(".fancybox-wrap").trigger("onReset").remove(),P.extend(N,{group:{},opts:{},router:!1,current:null,isActive:!1,isOpened:!1,isOpen:!1,isClosing:!1,wrap:null,skin:null,outer:null,inner:null}),N.trigger("afterClose",t)}}),N.transitions={getOrigPosition:function(){var t=N.current,e=t.element,n=t.orig,i={},r=50,o=50,s=t.hPadding,a=t.wPadding,l=N.getViewport();return!n&&t.isDom&&e.is(":visible")&&!(n=e.find("img:first")).length&&(n=e),d(n)?(i=n.offset(),n.is("img")&&(r=n.outerWidth(),o=n.outerHeight())):(i.top=l.y+(l.h-o)*t.topRatio,i.left=l.x+(l.w-r)*t.leftRatio),"fixed"!==N.wrap.css("position")&&!t.locked||(i.top-=l.y,i.left-=l.x),i={top:M(i.top-s*t.topRatio),left:M(i.left-a*t.leftRatio),width:M(r+a),height:M(o+s)}},step:function(t,e){var n=e.prop,i=N.current,r=i.wrapSpace,o=i.skinSpace;"width"!==n&&"height"!==n||(e=e.end===e.start?1:(t-e.start)/(e.end-e.start),N.isClosing&&(e=1-e),t=t-("width"===n?i.wPadding:i.hPadding),N.skin[n](I("width"===n?t:t-r*e)),N.inner[n](I("width"===n?t:t-r*e-o*e)))},zoomIn:function(){var t=N.current,e=t.pos,n=t.openEffect,i="elastic"===n,r=P.extend({opacity:1},e);delete r.position,i?(e=this.getOrigPosition(),t.openOpacity&&(e.opacity=.1)):"fade"===n&&(e.opacity=.1),N.wrap.css(e).animate(r,{duration:"none"===n?0:t.openSpeed,easing:t.openEasing,step:i?this.step:null,complete:N._afterZoomIn})},zoomOut:function(){var t=N.current,e=t.closeEffect,n="elastic"===e,i={opacity:.1};n&&(i=this.getOrigPosition(),t.closeOpacity)&&(i.opacity=.1),N.wrap.animate(i,{duration:"none"===e?0:t.closeSpeed,easing:t.closeEasing,step:n?this.step:null,complete:N._afterZoomOut})},changeIn:function(){var t,e=N.current,n=e.nextEffect,i=e.pos,r={opacity:1},o=N.direction;i.opacity=.1,"elastic"===n&&(t="down"===o||"up"===o?"top":"left","down"===o||"right"===o?(i[t]=M(I(i[t])-200),r[t]="+=200px"):(i[t]=M(I(i[t])+200),r[t]="-=200px")),"none"===n?N._afterZoomIn():N.wrap.css(i).animate(r,{duration:e.nextSpeed,easing:e.nextEasing,complete:N._afterZoomIn})},changeOut:function(){var t=N.previous,e=t.prevEffect,n={opacity:.1},i=N.direction;"elastic"===e&&(n["down"===i||"up"===i?"top":"left"]=("up"===i||"left"===i?"-":"+")+"=200px"),t.wrap.animate(n,{duration:"none"===e?0:t.prevSpeed,easing:t.prevEasing,complete:function(){P(this).trigger("onReset").remove()}})}},N.helpers.overlay={defaults:{closeClick:!0,speedOut:200,showEarly:!0,css:{},locked:!a,fixed:!0},overlay:null,fixed:!1,el:P("html"),create:function(t){t=P.extend({},this.defaults,t),this.overlay&&this.close(),this.overlay=P('<div class="fancybox-overlay"></div>').appendTo(P(p).find(N.coming?N.coming.parent:t.parent||"body")),this.fixed=!1,t.fixed&&N.defaults.fixed&&(this.overlay.addClass("fancybox-overlay-fixed"),this.fixed=!0)},open:function(t){var e=this;t=P.extend({},this.defaults,t),this.overlay?this.overlay.unbind(".overlay").width("auto").height("auto"):this.create(t),this.fixed||(r.bind("resize.overlay",P.proxy(this.update,this)),this.update()),t.closeClick&&this.overlay.bind("click.overlay",function(t){if(P(t.target).hasClass("fancybox-overlay"))return(N.isActive?N:e).close(),!1}),this.overlay.css(t.css).show()},close:function(){var t,e;r.unbind("resize.overlay"),this.el.hasClass("fancybox-lock")&&(P(".fancybox-margin").removeClass("fancybox-margin"),t=r.scrollTop(),e=r.scrollLeft(),this.el.removeClass("fancybox-lock"),r.scrollTop(t).scrollLeft(e)),P(".fancybox-overlay").remove().hide(),P.extend(this,{overlay:null,fixed:!1})},update:function(){var t,e="100%";this.overlay.width(e).height("100%"),s?(t=Math.max(p.documentElement.offsetWidth,p.body.offsetWidth),c.width()>t&&(e=c.width())):c.width()>r.width()&&(e=c.width()),this.overlay.width(e).height(c.height())},onReady:function(t,e){var n=this.overlay;P(".fancybox-overlay").stop(!0,!0),n||this.create(t),t.locked&&this.fixed&&e.fixed&&(n||(this.margin=c.height()>r.height()&&P("html").css("margin-right").replace("px","")),e.locked=this.overlay.append(e.wrap),e.fixed=!1),!0===t.showEarly&&this.beforeShow.apply(this,arguments)},beforeShow:function(t,e){var n;e.locked&&(!1!==this.margin&&(P("*").filter(function(){return"fixed"===P(this).css("position")&&!P(this).hasClass("fancybox-overlay")&&!P(this).hasClass("fancybox-wrap")}).addClass("fancybox-margin"),this.el.addClass("fancybox-margin")),e=r.scrollTop(),n=r.scrollLeft(),this.el.addClass("fancybox-lock"),r.scrollTop(e).scrollLeft(n)),this.open(t)},onUpdate:function(){this.fixed||this.update()},afterClose:function(t){this.overlay&&!N.coming&&this.overlay.fadeOut(t.speedOut,P.proxy(this.close,this))}},N.helpers.title={defaults:{type:"float",position:"bottom"},beforeShow:function(t){var e,n,i=N.current,r=i.title,o=t.type;if(P.isFunction(r)&&(r=r.call(i.element,i)),f(r)&&""!==P.trim(r)){switch((e=P("<div/>",{class:"fancybox-title fancybox-title-"+o+"-wrap"})).text(r),o){case"inside":n=N.skin;break;case"outside":n=N.wrap;break;case"over":n=N.inner;break;default:n=N.skin,e.appendTo("body"),s&&e.width(e.width()),e.wrapInner(P("<span/>",{class:"child"})),N.current.margin[2]+=Math.abs(I(e.css("margin-bottom")))}n=n&&n.jquery?n:n&&1===n.nodeType?P(n):N.skin,"top"===t.position?e.prepe
1ndTo(n):e.appendTo(n)}}},P.fn.fancybox=function(o){function t(t){var e,n,i=P(this).blur(),r=l;t.ctrlKey||t.altKey||t.shiftKey||t.metaKey||i.is(".fancybox-wrap")||(e=o.groupAttr||"data-fancybox-group",(n=i.attr(e))||(e="rel",n=i.get(0)[e]),n&&""!==n&&"nofollow"!==n&&(r=(i=(i=a.length?P(a):s).filter("["+e+'="'+n+'"]')).index(this)),o.index=r,!1!==N.open(i,o)&&t.preventDefault())}var s=P(this),a=this.selector||"",l=(o=o||{}).index||0;return a&&!1!==o.live?c.undelegate(a,"click.fb-start").delegate(a+":not('.fancybox-item, .fancybox-nav')","click.fb-start",t):s.unbind("click.fb-start").bind("click.fb-start",t),this.filter("[data-fancybox-start=1]").trigger("click"),this},c.ready(function(){var t,e;P.scrollbarWidth===h&&(P.scrollbarWidth=function(){var t=P('<div style="width:50px;height:50px;overflow:auto"><div/></div>').appendTo("body"),e=t.children(),e=e.innerWidth()-e.height(99).innerWidth();return t.remove(),e}),P.support.fixedPosition===h&&(P.support.fixedPosition=(t=P('<div style="position:fixed;top:20px;"></div>').appendTo("body"),e=20===t[0].offsetTop||15===t[0].offsetTop,t.remove(),e)),P.extend(N.defaults,{scrollbarWidth:P.scrollbarWidth(),fixed:P.support.fixedPosition,parent:P("body")}),t=P(n).width(),i.addClass("fancybox-lock-test"),e=P(n).width(),i.removeClass("fancybox-lock-test"),P("<style type='text/css'>.fancybox-margin{margin-right:"+(e-t)+"px;}</style>").appendTo("head")})})(window,document,jQuery),(p=>{var n=!0;p.flexslider=function(d,t){var e,f=p(d),s=(f.vars=p.extend({},p.flexslider.defaults,t),f.vars.namespace),m=window.navigator&&window.navigator.msPointerEnabled&&window.MSGesture,a=("ontouchstart"in window||m||window.DocumentTouch&&document instanceof DocumentTouch)&&f.vars.touch,o="click touchend MSPointerUp keyup",l="",g="vertical"===f.vars.direction,v=f.vars.reverse,y=0<f.vars.itemWidth,b="fade"===f.vars.animation,c=""!==f.vars.asNavFor,u={};p.data(d,"flexslider",f),u={init:function(){f.animating=!1,f.currentSlide=parseInt(f.vars.startAt||0,10),isNaN(f.currentSlide)&&(f.currentSlide=0),f.animatingTo=f.currentSlide,f.atEnd=0===f.currentSlide||f.currentSlide===f.last,f.containerSelector=f.vars.selector.substr(0,f.vars.selector.search(" ")),f.slides=p(f.vars.selector,f),f.container=p(f.containerSelector,f),f.count=f.slides.length,f.syncExists=0<p(f.vars.sync).length,"slide"===f.vars.animation&&(f.vars.animation="swing"),f.prop=g?"top":"marginLeft",f.args={},f.manualPause=!1,f.stopped=!1,f.started=!1,f.startTimeout=null,f.transitions=!f.vars.video&&!b&&f.vars.useCSS&&(()=>{var t,e=document.createElement("div"),n=["perspectiveProperty","WebkitPerspective","MozPerspective","OPerspective","msPerspective"];for(t in n)if(void 0!==e.style[n[t]])return f.pfx=n[t].replace("Perspective","").toLowerCase(),f.prop="-"+f.pfx+"-transform",!0;return!1})(),(f.ensureAnimationEnd="")!==f.vars.controlsContainer&&(f.controlsContainer=0<p(f.vars.controlsContainer).length&&p(f.vars.controlsContainer)),""!==f.vars.manualControls&&(f.manualControls=0<p(f.vars.manualControls).length&&p(f.vars.manualControls)),""!==f.vars.customDirectionNav&&(f.customDirectionNav=2===p(f.vars.customDirectionNav).length&&p(f.vars.customDirectionNav)),f.vars.randomize&&(f.slides.sort(function(){return Math.round(Math.random())-.5}),f.container.empty().append(f.slides)),f.doMath(),f.setup("init"),f.vars.controlNav&&u.controlNav.setup(),f.vars.directionNav&&u.directionNav.setup(),f.vars.keyboard&&(1===p(f.containerSelector).length||f.vars.multipleKeyboard)&&p(document).bind("keyup",function(t){var t=t.keyCode;f.animating||39!==t&&37!==t||(t=39===t?f.getTarget("next"):37===t&&f.getTarget("prev"),f.flexAnimate(t,f.vars.pauseOnAction))}),f.vars.mousewheel&&f.bind("mousewheel",function(t,e,n,i){t.preventDefault();t=e<0?f.getTarget("next"):f.getTarget("prev");f.flexAnimate(t,f.vars.pauseOnAction)}),f.vars.pausePlay&&u.pausePlay.setup(),f.vars.slideshow&&f.vars.pauseInvisible&&u.pauseInvisible.init(),f.vars.slideshow&&(f.vars.pauseOnHover&&f.hover(function(){f.manualPlay||f.manualPause||f.pause()},function(){f.manualPause||f.manualPlay||f.stopped||f.play()}),f.vars.pauseInvisible&&u.pauseInvisible.isHidden()||(0<f.vars.initDelay?f.startTimeout=setTimeout(f.play,f.vars.initDelay):f.play())),c&&u.asNav.setup(),a&&f.vars.touch&&u.touch(),b&&!f.vars.smoothHeight||p(window).bind("resize orientationchange focus",u.resize),f.find("img").attr("draggable","false"),setTimeout(function(){f.vars.start(f)},200)},asNav:{setup:function(){f.asNav=!0,f.animatingTo=Math.floor(f.currentSlide/f.move),f.currentItem=f.currentSlide,f.slides.removeClass(s+"active-slide").eq(f.currentItem).addClass(s+"active-slide"),m?(d._slider=f).slides.each(function(){var t=this;t._gesture=new MSGesture,(t._gesture.target=t).addEventListener("MSPointerDown",function(t){t.preventDefault(),t.currentTarget._gesture&&t.currentTarget._gesture.addPointer(t.pointerId)},!1),t.addEventListener("MSGestureTap",function(t){t.preventDefault();var t=p(this),e=t.index();p(f.vars.asNavFor).data("flexslider").animating||t.hasClass("active")||(f.direction=f.currentItem<e?"next":"prev",f.flexAnimate(e,f.vars.pauseOnAction,!1,!0,!0))})}):f.slides.on(o,function(t){t.preventDefault();var t=p(this),e=t.index();t.offset().left-p(f).scrollLeft()<=0&&t.hasClass(s+"active-slide")?f.flexAnimate(f.getTarget("prev"),!0):p(f.vars.asNavFor).data("flexslider").animating||t.hasClass(s+"active-slide")||(f.direction=f.currentItem<e?"next":"prev",f.flexAnimate(e,f.vars.pauseOnAction,!1,!0,!0))})}},controlNav:{setup:function(){f.manualControls?u.controlNav.setupManual():u.controlNav.setupPaging(
1)},setupPaging:function(){var t,e,n="thumbnails"===f.vars.controlNav?"control-thumbs":"control-paging",i=1;if(f.controlNavScaffold=p('<ol class="'+s+"control-nav "+s+n+'"></ol>'),1<f.pagingCount)for(var r=0;r<f.pagingCount;r++)void 0===(e=f.slides.eq(r)).attr("data-thumb-alt")&&e.attr("data-thumb-alt",""),altText=""!==e.attr("data-thumb-alt")?' alt="'+e.attr("data-thumb-alt")+'"':"",t="thumbnails"===f.vars.controlNav?'<img src="'+e.attr("data-thumb")+'"'+altText+"/>":'<a href="#">'+i+"</a>","thumbnails"===f.vars.controlNav&&!0===f.vars.thumbCaptions&&""!==(e=e.attr("data-thumbcaption"))&&void 0!==e&&(t+='<span class="'+s+'caption">'+e+"</span>"),f.controlNavScaffold.append("<li>"+t+"</li>"),i++;(f.controlsContainer?p(f.controlsContainer):f).append(f.controlNavScaffold),u.controlNav.set(),u.controlNav.active(),f.controlNavScaffold.delegate("a, img",o,function(t){var e,n;t.preventDefault(),""!==l&&l!==t.type||(e=p(this),n=f.controlNav.index(e),e.hasClass(s+"active"))||(f.direction=n>f.currentSlide?"next":"prev",f.flexAnimate(n,f.vars.pauseOnAction)),""===l&&(l=t.type),u.setToClearWatchedEvent()})},setupManual:function(){f.controlNav=f.manualControls,u.controlNav.active(),f.controlNav.bind(o,function(t){var e,n;t.preventDefault(),""!==l&&l!==t.type||(e=p(this),n=f.controlNav.index(e),e.hasClass(s+"active"))||(n>f.currentSlide?f.direction="next":f.direction="prev",f.flexAnimate(n,f.vars.pauseOnAction)),""===l&&(l=t.type),u.setToClearWatchedEvent()})},set:function(){var t="thumbnails"===f.vars.controlNav?"img":"a";f.controlNav=p("."+s+"control-nav li "+t,f.controlsContainer||f)},active:function(){f.controlNav.removeClass(s+"active").eq(f.animatingTo).addClass(s+"active")},update:function(t,e){1<f.pagingCount&&"add"===t?f.controlNavScaffold.append(p('<li><a href="#">'+f.count+"</a></li>")):(1===f.pagingCount?f.controlNavScaffold.find("li"):f.controlNav.eq(e).closest("li")).remove(),u.controlNav.set(),1<f.pagingCount&&f.pagingCount!==f.controlNav.length?f.update(e,t):u.controlNav.active()}},directionNav:{setup:function(){var t=p('<ul class="'+s+'direction-nav"><li class="'+s+'nav-prev"><a class="'+s+'prev" href="#">'+f.vars.prevText+'</a></li><li class="'+s+'nav-next"><a class="'+s+'next" href="#">'+f.vars.nextText+"</a></li></ul>");f.customDirectionNav?f.directionNav=f.customDirectionNav:f.controlsContainer?(p(f.controlsContainer).append(t),f.directionNav=p("."+s+"direction-nav li a",f.controlsContainer)):(f.append(t),f.directionNav=p("."+s+"direction-nav li a",f)),u.directionNav.update(),f.directionNav.bind(o,function(t){var e;t.preventDefault(),""!==l&&l!==t.type||(e=p(this).hasClass(s+"next")?f.getTarget("next"):f.getTarget("prev"),f.flexAnimate(e,f.vars.pauseOnAction)),""===l&&(l=t.type),u.setToClearWatchedEvent()})},update:function(){var t=s+"disabled";1===f.pagingCount?f.directionNav.addClass(t).attr("tabindex","-1"):f.vars.animationLoop?f.directionNav.removeClass(t).removeAttr("tabindex"):0===f.animatingTo?f.directionNav.removeClass(t).filter("."+s+"prev").addClass(t).attr("tabindex","-1"):f.animatingTo===f.last?f.directionNav.removeClass(t).filter("."+s+"next").addClass(t).attr("tabindex","-1"):f.directionNav.removeClass(t).removeAttr("tabindex")}},pausePlay:{setup:function(){var t=p('<div class="'+s+'pauseplay"><a href="#"></a></div>');f.controlsContainer?(f.controlsContainer.append(t),f.pausePlay=p("."+s+"pauseplay a",f.controlsContainer)):(f.append(t),f.pausePlay=p("."+s+"pauseplay a",f)),u.pausePlay.update(f.vars.slideshow?s+"pause":s+"play"),f.pausePlay.bind(o,function(t){t.preventDefault(),""!==l&&l!==t.type||(p(this).hasClass(s+"pause")?(f.manualPause=!0,f.manualPlay=!1,f.pause()):(f.manualPause=!1,f.manualPlay=!0,f.play())),""===l&&(l=t.type),u.setToClearWatchedEvent()})},update:function(t){"play"===t?f.pausePlay.removeClass(s+"pause").addClass(s+"play").html(f.vars.playText):f.pausePlay.removeClass(s+"play").addClass(s+"pause").html(f.vars.pauseText)}},touch:function(){var i,r,o,s,a,l,c,u,p=!1,e=0,n=0,h=0;m?(d.style.msTouchAction="none",d._gesture=new MSGesture,(d._gesture.target=d).addEventListener("MSPointerDown",function(t){t.stopPropagation(),f.animating?t.preventDefault():(f.pause(),d._gesture.addPointer(t.pointerId),h=0,s=g?f.h:f.w,l=Number(new Date),o=y&&v&&f.animatingTo===f.last?0:y&&v?f.limit-(f.itemW+f.vars.itemMargin)*f.move*f.animatingTo:y&&f.currentSlide===f.last?f.limit:y?(f.itemW+f.vars.itemMargin)*f.move*f.currentSlide:v?(f.last-f.currentSlide+f.cloneOffset)*s:(f.currentSlide+f.cloneOffset)*s)},!1),d._slider=f,d.addEventListener("MSGestureChange",function(t){t.stopPropagation();var e,n,i=t.target._slider;if(i)return e=-t.translationX,n=-t.translationY,a=h+=g?n:e,p=g?Math.abs(h)<Math.abs(-e):Math.abs(h)<Math.abs(-n),t.detail===t.MSGESTURE_FLAG_INERTIA?void setImmediate(function(){d._gesture.stop()}):void((!p||500<Number(new Date)-l)&&(t.preventDefault(),!b)&&i.transitions&&(i.vars.animationLoop||(a=h/(0===i.currentSlide&&h<0||i.currentSlide===i.last&&0<h?Math.abs(h)/s+2:1)),i.setProps(o+a,"setTouch")))},!1),d.addEventListener("MSGestureEnd",function(t){var e,n;t.stopPropagation(),(t=t.target._slider)&&(t.animatingTo!==t.currentSlide||p||null===a||(n=0<(e=v?-a:a)?t.getTarget("next"):t.getTarget("prev"),t.canAdvance(n)&&(Number(new Date)-l<550&&50<Math.abs(e)||Math.abs(e)>s/2)?t.flexAnimate(n,t.vars.pauseOnAction):b||t.flexAnimate(t.currentSlide,t.vars.pauseOnAction,!0)),o=a=r=i=null,h=0)},!1)):(c=function(t){e=t.touches[0].pageX,n=t.touches[0].pageY,a=g?i-n:i-e;(!(p=g?Math.abs(a)<Math.abs(e-r):Math.abs(a)<Math.abs(n-r))||500<Number(new Date)-l)&&(t.preventDefault(),!b)&&f.transitions&&(f.vars.animationLoop||(a/=0===f.currentSlide&&a<0||f.currentSlide===f.last&&0<a?Math.abs(a)/s+2:1),f.setProps(o+a,"setTouch"))},u=function(t){var e,n;d.removeEventListener("touchmove",c,!1),f.animatingTo!==f.currentSlide||p||null===a||(n=0<(e=v?-a:a)?f.getTarget("next"):f.getTarget("prev"),f.canAdvance(n)&&(Number(new Date)-l<550&&50<Math.abs(e)||Math.abs(e)>s/2)?f.flexAnimate(n,f.vars.pauseOnAction):b||f.flexAnimate(f.currentSlide,f.vars.pauseOnAction,!0)),d.removeEventListener("touchend",u,!1),o=a=r=i=null},d.addEventListener("touchstart",function(t){f.animating?t.preventDefault():!window.navigator.msPointerEnabled&&1!==t.touches.length||(f.pause(),s=g?f.h:f.w,l=Number(new Date),e=t.touches[0].pageX,n=t.touches[0].pageY,o=y&&v&&f.animatingTo===f.last?0:y&&v?f.limit-(f.itemW+f.vars.itemMargin)*f.move*f.animatingTo:y&&f.currentSlide===f.last?f.limit:y?(f.itemW+f.vars.itemMargin)*f.move*f.currentSlide:v?(f.last-f.currentSlide+f.cloneOffset)*s:(f.currentSlide+f.cloneOffset)*s,i=g?n:e,r=g?e:n,d.addEventListener("touchmove",c,!1),d.addEventListener("touchend",u,!1))},!1))},resize:function(){!f.animating&&f.is(":visible")&&(y||f.doMath(),b?u.smoothHeight():y?(f.slides.width(f.computedW),f.update(f.pagingCount),f.setProps()):g?(f.viewport.height(f.h),f.setProps(f.h,"setTotal")):(f.vars.smoothHeight&&u.smoothHeight(),f.newSlides.width(f.computedW),f.setProps(f.computedW,"setTotal")))},smoothHeight:function(t){var e;g&&!b||(e=b?f:f.viewport,t?e.animate({height:f.slides.eq(f.animatingTo).height()},t):e.height(f.slides.eq(f.animatingTo).height()))},sync:function(t){var e=p(f.vars.sync).data("flexslider"),n=f.animatingTo;switch(t){case"animate":e.flexAnimate(n,f.vars.pauseOnAction,!1,!0);break;case"play":e.playing||e.asNav||e.play();break;case"pause":e.pause()}},uniqueID:function(t){return t.filter("[id]").add(t.find("[id]")).each(function(){var t=p(this);t.attr("id",t.attr("id")+"_clone")}),t},pauseInvisible:{visProp:null,init:function(){var t=u.pauseInvisible.getHiddenProp();t&&(t=t.replace(/[H|h]idden/,"")+"visibilitychange",document.addEventListener(t,function(){u.pauseInvisible.isHidden()?f.startTimeout?clearTimeout(f.startTimeout):f.pause():!f.started&&0<f.vars.initDelay?setTimeout(f.play,f.vars.initDelay):f.play()}))},isHidden:function(){var t=u.pauseInvisible.getHiddenProp();return!!t&&document[t]},getHiddenProp:function(){var t=["webkit","moz","ms","o"];if("hidden"in document)return"hidden";for(var e=0;e<t.length;e++)if(t[e]+"Hidden"in document)return t[e]+"Hidden";return null}},setToClearWatchedEvent:function(){clearTimeout(e),e=setTimeout(function(){l=""},3e3)}},f.flexAnimate=function(t,e,n,i,r){if(f.vars.animationLoop||t===f.currentSlide||(f.direction=t>f.currentSlide?"next":"prev"),c&&1===f.pagingCount&&(f.direction=f.currentItem<t?"next":"prev"),!f.animating&&(f.canAdvance(t,r)||n)&&f.is(":visible")){if(c&&i){n=p(f.vars.asNavFor).data("flexslider");if(f.atEnd=0===t||t===f.count-1,n.flexAnimate(t,!0,!1,!0,r),f.direction=f.currentItem<t?"next":"prev",n.direction=f.direction,Math.ceil((t+1)/f.visible)-1===f.currentSlide||0===t)return f.currentItem=t,f.slides.removeClass(s+"active-slide").eq(t).addClass(s+"active-slide"),!1;f.currentItem=t,f.slides.removeClass(s+"active-slide").eq(t).addClass(s+"active-slide"),t=Math.floor(t/f.visible)}var o;f.animating=!0,f.animatingTo=t,e&&f.pause(),f.vars.before(f),f.syncExists&&!r&&u.sync("animate"),f.vars.controlNav&&u.controlNav.active(),y||f.slides.removeClass(s+"active-slide").eq(t).addClass(s+"active-slide"),f.atEnd=0===t||t===f.last,f.vars.directionNav&&u.directionNav.update(
vendor: 5,288 bytes, line 1
1),t===f.last&&(f.vars.end(f),f.vars.animationLoop||f.pause()),b?a?(f.slides.eq(f.currentSlide).css({opacity:0,zIndex:1}),f.slides.eq(t).css({opacity:1,zIndex:2}),f.wrapup(o)):(f.slides.eq(f.currentSlide).css({zIndex:1}).animate({opacity:0},f.vars.animationSpeed,f.vars.easing),f.slides.eq(t).css({zIndex:2}).animate({opacity:1},f.vars.animationSpeed,f.vars.easing,f.wrapup)):(o=g?f.slides.filter(":first").height():f.computedW,e=y?(i=f.vars.itemMargin,(n=(f.itemW+i)*f.move*f.animatingTo)>f.limit&&1!==f.visible?f.limit:n):0===f.currentSlide&&t===f.count-1&&f.vars.animationLoop&&"next"!==f.direction?v?(f.count+f.cloneOffset)*o:0:f.currentSlide===f.last&&0===t&&f.vars.animationLoop&&"prev"!==f.direction?v?0:(f.count+1)*o:v?(f.count-1-t+f.cloneOffset)*o:(t+f.cloneOffset)*o,f.setProps(e,"",f.vars.animationSpeed),f.transitions?(f.vars.animationLoop&&f.atEnd||(f.animating=!1,f.currentSlide=f.animatingTo),f.container.unbind("webkitTransitionEnd transitionend"),f.container.bind("webkitTransitionEnd transitionend",function(){clearTimeout(f.ensureAnimationEnd),f.wrapup(o)}),clearTimeout(f.ensureAnimationEnd),f.ensureAnimationEnd=setTimeout(function(){f.wrapup(o)},f.vars.animationSpeed+100)):f.container.animate(f.args,f.vars.animationSpeed,f.vars.easing,function(){f.wrapup(o)})),f.vars.smoothHeight&&u.smoothHeight(f.vars.animationSpeed)}},f.wrapup=function(t){b||y||(0===f.currentSlide&&f.animatingTo===f.last&&f.vars.animationLoop?f.setProps(t,"jumpEnd"):f.currentSlide===f.last&&0===f.animatingTo&&f.vars.animationLoop&&f.setProps(t,"jumpStart")),f.animating=!1,f.currentSlide=f.animatingTo,f.vars.after(f)},f.animateSlides=function(){!f.animating&&n&&f.flexAnimate(f.getTarget("next"))},f.pause=function(){clearInterval(f.animatedSlides),f.animatedSlides=null,f.playing=!1,f.vars.pausePlay&&u.pausePlay.update("play"),f.syncExists&&u.sync("pause")},f.play=function(){f.playing&&clearInterval(f.animatedSlides),f.animatedSlides=f.animatedSlides||setInterval(f.animateSlides,f.vars.slideshowSpeed),f.started=f.playing=!0,f.vars.pausePlay&&u.pausePlay.update("pause"),f.syncExists&&u.sync("play")},f.stop=function(){f.pause(),f.stopped=!0},f.canAdvance=function(t,e){var n=c?f.pagingCount-1:f.last;return!!e||c&&f.currentItem===f.count-1&&0===t&&"prev"===f.direction||!(c&&0===f.currentItem&&t===f.pagingCount-1&&"next"!==f.direction||t===f.currentSlide&&!c||!f.vars.animationLoop&&(f.atEnd&&0===f.currentSlide&&t===n&&"next"!==f.direction||f.atEnd&&f.currentSlide===n&&0===t&&"next"===f.direction))},f.getTarget=function(t){return"next"===(f.direction=t)?f.currentSlide===f.last?0:f.currentSlide+1:0===f.currentSlide?f.last:f.currentSlide-1},f.setProps=function(t,e,n){i=t||(f.itemW+f.vars.itemMargin)*f.move*f.animatingTo;var i,r=-1*(()=>{if(y)return"setTouch"===e?t:v&&f.animatingTo===f.last?0:v?f.limit-(f.itemW+f.vars.itemMargin)*f.move*f.animatingTo:f.animatingTo===f.last?f.limit:i;switch(e){case"setTotal":return v?(f.count-1-f.currentSlide+f.cloneOffset)*t:(f.currentSlide+f.cloneOffset)*t;case"setTouch":return t;case"jumpEnd":return v?t:f.count*t;case"jumpStart":return v?f.count*t:t;default:return t}})()+"px";f.transitions&&(r=g?"translate3d(0,"+r+",0)":"translate3d("+r+",0,0)",f.container.css("-"+f.pfx+"-transition-duration",n=void 0!==n?n/1e3+"s":"0s"),f.container.css("transition-duration",n)),f.args[f.prop]=r,!f.transitions&&void 0!==n||f.container.css(f.args),f.container.css("transform",r)},f.setup=function(t){var e,n;b?(f.slides.css({width:"100%",float:"left",marginRight:"-100%",position:"relative"}),"init"===t&&(a?f.slides.css({opacity:0,display:"block",webkitTransition:"opacity "+f.vars.animationSpeed/1e3+"s ease",zIndex:1}).eq(f.currentSlide).css({opacity:1,zIndex:2}):0==f.vars.fadeFirstSlide?f.slides.css({opacity:0,display:"block",zIndex:1}).eq(f.currentSlide).css({zIndex:2}).css({opacity:1}):f.slides.css({opacity:0,display:"block",zIndex:1}).eq(f.currentSlide).css({zIndex:2}).animate({opacity:1},f.vars.animationSpeed,f.vars.easing)),f.vars.smoothHeight&&u.smoothHeight()):("init"===t&&(f.viewport=p('<div class="'+s+'viewport"></div>').css({overflow:"hidden",position:"relative"}).appendTo(f).append(f.container),f.cloneCount=0,f.cloneOffset=0,v)&&(n=p.makeArray(f.slides).reverse(),f.slides=p(n),f.container.empty().append(f.slides)),f.vars.animationLoop&&!y&&(f.cloneCount=2,f.cloneOffset=1,"init"!==t&&f.container.find(".clone").remove(),f.container.append(u.uniqueID(f.slides.first().clone().addClass("clone")).attr("aria-hidden","true")).prepend(u.uniqueID(f.slides.last().clone().addClass("clone")).attr("aria-hidden","true"))),f.newSlides=p(f.vars.selector,f),e=v?f.count-1-f.currentSlide+f.cloneOffset:f.currentSlide+f.cloneOffset,g&&!y?(f.container.height(200*(f.count+f.cloneCount)+"%").css("position","absolute").width("100%"),setTimeout(function(){f.newSlides.css({display:"block"}),f.doMath(),f.viewport.height(f.h),f.setProps(e*f.h,"init")},"init"===t?100:0)):(f.container.width(200*(f.count+f.cloneCount)+"%"),f.setProps(e*f.computedW,"init"),setTimeout(function(){f.doMath(),f.newSlides.css({width:f.computedW,marginRight:f.computedM,float:"left",display:"block"}),f.vars.smoothHeight&&u.smoothHeight()},"init"===t?100:0))),y||f.slides.removeClass(s+"active-slide").eq(f.currentSlide).addClass(s+"active-slide"),f.vars.init(f)}
1,f.doMath=function(){var t=f.slides.first(),e=f.vars.itemMargin,n=f.vars.minItems,i=f.vars.maxItems;f.w=(void 0===f.viewport?f:f.viewport).width(),f.h=t.height(),f.boxPadding=t.outerWidth()-t.width(),y?(f.itemT=f.vars.itemWidth+e,f.itemM=e,f.minW=n?n*f.itemT:f.w,f.maxW=i?i*f.itemT-e:f.w,f.itemW=f.minW>f.w?(f.w-e*(n-1))/n:f.maxW<f.w?(f.w-e*(i-1))/i:f.vars.itemWidth>f.w?f.w:f.vars.itemWidth,f.visible=Math.floor(f.w/f.itemW),f.move=0<f.vars.move&&f.vars.move<f.visible?f.vars.move:f.visible,f.pagingCount=Math.ceil((f.count-f.visible)/f.move+1),f.last=f.pagingCount-1,f.limit=1===f.pagingCount?0:f.vars.itemWidth>f.w?f.itemW*(f.count-1)+e*(f.count-1):(f.itemW+e)*f.count-f.w-e):(f.itemW=f.w,f.itemM=e,f.pagingCount=f.count,f.last=f.count-1),f.computedW=f.itemW-f.boxPadding,f.computedM=f.itemM},f.update=function(t,e){f.doMath(),y||(t<f.currentSlide?f.currentSlide+=1:t<=f.currentSlide&&0!==t&&--f.currentSlide,f.animatingTo=f.currentSlide),f.vars.controlNav&&!f.manualControls&&("add"===e&&!y||f.pagingCount>f.controlNav.length?u.controlNav.update("add"):("remove"===e&&!y||f.pagingCount<f.controlNav.length)&&(y&&f.currentSlide>f.last&&(--f.currentSlide,--f.animatingTo),u.controlNav.update("remove",f.last))),f.vars.directionNav&&u.directionNav.update()},f.addSlide=function(t,e){t=p(t);f.count+=1,f.last=f.count-1,g&&v?void 0!==e?f.slides.eq(f.count-e).after(t):f.container.prepend(t):void 0!==e?f.slides.eq(e).before(t):f.container.append(t),f.update(e,"add"),f.slides=p(f.vars.selector+":not(.clone)",f),f.setup(),f.vars.added(f)},f.removeSlide=function(t){var e=isNaN(t)?f.slides.index(p(t)):t;--f.count,f.last=f.count-1,(isNaN(t)?p(t,f.slides):g&&v?f.slides.eq(f.last):f.slides.eq(t)).remove(),f.doMath(),f.update(e,"remove"),f.slides=p(f.vars.selector+":not(.clone)",f),f.setup(),f.vars.removed(f)},u.init()},p(window).blur(function(t){n=!1}).focus(function(t){n=!0}),p.flexslider.defaults={namespace:"flex-",selector:".slides > li",animation:"fade",easing:"swing",direction:"horizontal",reverse:!1,animationLoop:!0,smoothHeight:!1,startAt:0,slideshow:!0,slideshowSpeed:7e3,animationSpeed:600,initDelay:0,randomize:!1,fadeFirstSlide:!0,thumbCaptions:!1,pauseOnAction:!0,pauseOnHover:!1,pauseInvisible:!0,useCSS:!0,touch:!0,video:!1,controlNav:!0,directionNav:!0,prevText:"Previous",nextText:"Next",keyboard:!0,multipleKeyboard:!1,mousewheel:!1,pausePlay:!1,pauseText:"Pause",playText:"Play",controlsContainer:"",manualControls:"",customDirectionNav:"",sync:"",asNavFor:"",itemWidth:0,itemMargin:0,minItems:1,maxItems:0,move:0,allowOneSlide:!0,start:function(){},before:function(){},after:function(){},end:function(){},added:function(){},removed:function(){},init:function(){}},p.fn.flexslider=function(n){if("object"==typeof(n=void 0===n?{}:n))return this.each(function(){var t=p(this),e=n.selector||".slides > li",e=t.find(e);1===e.length&&!0===n.allowOneSlide||0===e.length?(e.fadeIn(400),n.start&&n.start(t)):void 0===t.data("flexslider")&&new p.flexslider(this,n)});var t=p(this).data("flexslider");switch(n){case"play":t.play();break;case"pause":t.pause();break;case"stop":t.stop();break;case"next":t.flexAnimate(t.getTarget("next"),!0);break;case"prev":case"previous":t.flexAnimate(t.getTarget("prev"),!0);break;default:"number"==typeof n&&t.flexAnimate(n,!0)}}})(jQuery),(t=>{"function"==typeof define&&define.amd?define(["jquery"],t):"undefined"!=typeof module&&module.exports?module.exports=t(require("jquery")):t(jQuery)})(function(s){function a(t){return parseFloat(t)||0}function l(t){var t=s(t),i=null,r=[];return t.each(function(){var t=s(this),e=t.offset().top-a(t.css("margin-top")),n=0<r.length?r[r.length-1]:null;null!==n&&Math.floor(Math.abs(i-e))<=1?r[r.length-1]=n.add(t):r.push(t),i=e}),r}function c(t){var e={byRow:!0,property:"height",target:null,remove:!1};return"object"==typeof t?s.extend(e,t):("boolean"==typeof t?e.byRow=t:"remove"===t&&(e.remove=!0),e)}function i(t){u._beforeUpdate&&u._beforeUpdate(t,u._groups),s.each(u._groups,function(){u._apply(this.elements,this.options)}),u._afterUpdate&&u._afterUpdate(t,u._groups)}var r=-1,o=-1,u=s.fn.matchHeight=function(t){var n,t=c(t);return t.remove?((n=this).css(t.property,""),s.each(u._groups,function(t,e){e.elements=e.elements.not(n)})):this.length<=1&&!t.target||(u._groups.push({elements:this,options:t}),u._apply(this,t)),this};u.version="master",u._groups=[],u._throttle=80,u._maintainScroll=!1,u._beforeUpdate=null,u._afterUpdate=null,u._rows=l,u._parse=a,u._parseOptions=c,u._apply=function(t,e){var r=c(e),e=s(t),t=[e],n=s(window).scrollTop(),i=s("html").outerHeight(!0),o=e.parents().filter(":hidden");return o.each(function(){var t=s(this);t.data("style-cache",t.attr("style"))}),o.css("display","block"),r.byRow&&!r.target&&(e.each(function(){var t=s(this),e=t.css("display");"inline-block"!==e&&"flex"!==e&&"inline-flex"!==e&&(e="block"),t.data("style-cache",t.attr("style")),t.css({display:e,"padding-top":"0","padding-bottom":"0","margin-top":"0","margin-bottom":"0","border-top-width":"0","border-bottom-width":"0",height:"100px",overflow:"hidden"})}),t=l(e),e.each(function(){var t=s(this);t.attr("style",t.data("style-cache")||"")})),s.each(t,function(t,e){var e=s(e),i=0;if(r.target)i=r.target.outerHeight(!1);else{if(r.byRow&&e.length<=1)return void e.css(r.property,"");e.each(function(){var t=s(this),e=t.attr("style"),n=t.css("display"),n={display:n="inline-block"!==n&&"flex"!==n&&"inline-flex"!==n?"block":n};n[r.property]="",t.css(n),t.outerHeight(!1)>i&&(i=t.outerHeight(!1)),e?t.attr("style",e):t.css("display","")})}e.each(function(){var t=s(this),e=0;r.target&&t.is(r.target)||("border-box"!==t.css("box-sizing")&&(e=(e+=a(t.css("border-top-width"))+a(t.css("border-bottom-width")))+(a(t.css("padding-top"))+a(t.css("padding-bottom")))),t.css(r.property,i-e+"px"))})}),o.each(function(){var t=s(this);t.attr("style",t.data("style-cache")||null)}),u._maintainScroll&&s(window).scrollTop(n/i*s("html").outerHeight(!0)),this},u._applyDataApi=function(){var n={};s("[data-match-height], [data-mh]").each(function(){var t=s(this),e=t.attr("data-mh")||t.attr("data-match-height");e in n?n[e]=n[e].add(t):n[e]=t}),s.each(n,function(){this.matchHeight(!0)})};u._update=function(t,e){if(e&&"resize"===e.type){var n=s(window).width();if(n===r)return;r=n}t?-1===o&&(o=setTimeout(function(){i(e),o=-1},u._throttle)):i(e)},s(u._applyDataApi),s(window).bind("load",function(t){u._update(!1,t)}),s(window).bind("resize orientationchange",function(t){u._update(!0,t)})}),(h=>{h.fn.pin=function(l){function n(){i(),t()}var a=0,c=[],u=!1,p=h(window),i=(l=l||{},function(){for(var t=0,e=c.length;t<e;t++){var n,i,r,o,s,a=c[t];l.minWidth&&p.width()<=l.minWidth?(a.parent().is(".pin-wrapper")&&a.unwrap(),a.css({width:"",top:"",position:""}),l.activeClass&&a.removeClass(l.activeClass),u=!0):(u=!1,n=l.containerSelector?a.closest(l.containerSelector):h(document.body),i=a.offset(),o=r=n.offset(),s=(a.parent().is(".pin-wrapper")||a.wrap("<div class='pin-wrapper'>"),h.extend({top:0,bottom:0},l.padding||{})),a.data("pin",{pad:s,from:(l.containerSelector?r:i).top-s.top,to:r.top+n.height()-a.outerHeight()-s.bottom,end:r.top+n.height(),parentTop:o.top}),a.css({width:a.parent().outerWidth()}),a.parent().css("height",a.outerHeight()))}}),t=function(){if(!u){a=p.scrollTop();for(var t=[],e=0,n=c.length;e<n;e++){var i,r,o=h(c[e]),s=o.data("pin");s&&(t.push(o),i=s.from-s.pad.bottom,r=s.to-s.pad.top,i+o.outerHeight()>s.end?o.css("position",""):i<a&&a<r?("fixed"!=o.css("position")&&o.css({top:s.pad.top}).css("position","fixed"),l.activeClass&&o.addClass(l.activeClass)):r<=a?(o.css({top:r-s.parentTop+s.pad.top}).css("position","absolute"),l.activeClass&&o.addClass(l.activeClass)):(o.css({position:"",top:""}),l.activeClass&&o.removeClass(l.activeClass)))}c=t}};return this.each(function(){var t=h(this),e=h(this).data("pin")||{};e&&e.update||(c.push(t),h("img",this).one("load",i),e.update=n,h(this).data("pin",e))}),p.scroll(t),p.resize(function(){i(),t()}),i(),p.on("load",n),this}})(jQuery),(t=>{"function"==typeof define&&define.amd?define(["jquery"],t):t("object"==typeof module&&module.exports?require("jquery"):jQuery)})(function(s){function a(t,e){var n=s(this);if(this.value===n.attr("placeholder")&&n.hasClass(c.customClass))if(this.value="",n.removeClass(c.customClass),n.data("placeholder-password")){if(n=n.hide().nextAll('input[type="password"]:first').show().attr("id",n.removeAttr("id").data("placeholder-id")),!0===t)return n[0].value=e;n.focus()}else this==l()&&this.select()}function o(e){var n,i,r,t=s(this),o=this.id;if(!e||"blur"!==e.type||!t.hasClass(c.customClass))if(""===this.value){if("password"===this.type){if(!t.data("placeholder-textinput")){try{n=t.clone().prop({type:"text"})}catch(t){n=s("<input>").attr(s.extend((e=this,i={},r=/^jQuery\d+$/,s.each(e.attributes,function(t,e){e.specified&&!r.test(e.name)&&(i[e.name]=e.value)}),i),{type:"text"}))}n.removeAttr("name").data({"placeholder-enabled":!0,"placeholder-password":t,"placeholder-id":o}).bind("focus.placeholder",a),t.data({"placeholder-textinput":n,"placeholder-id":o}).before(n)}this.value="",t=t.removeAttr("id").hide().prevAll('input[type="text"]:first').attr("id",t.data("placeholder-id")).show()}else{e=t.data("placeholder-password");e&&(e[0].value="",t.attr("id",t.data("placeholder-id")).show().nextAll('input[type="password"]:last').hide().removeAttr("id"))}t.addClass(c.customClass),t[0].value=t.attr("placeholder")}else t.removeClass(c.customClass)}function l(){try{return document.activeElement}catch(t){}}var t,e="[object OperaMini]"===Object.prototype.toString.call(window.operamini),n="placeholder"in document.createElement("input")&&!e&&!0,e="placeholder"in document.createElement("textarea")&&!e&&!0,i=s.valHooks,r=s.propHooks,c={};n&&e?((t=s.fn.placeholder=function(){return this}).input=!0,t.textarea=!0):((t=s.fn.placeholder=function(t){return c=s.extend({},{customClass:"placeholder"},t),this.filter((n?"textarea":":input")+"[placeholder]").not("."+c.customClass).not(":radio, :checkbox, [type=hidden]").bind({"focus.placeholder":a,"blur.placeholder":o}).data("placeholder-enabled",!0).trigger("blur.placeholder")}).input=n,t.textarea=e,t={get:function(t){var e=s(t),n=e.data("placeholder-password");return n?n[0].value:e.data("placeholder-enabled")&&e.hasClass(c.customClass)?"":t.value},set:function(t,e){var n,i,r=s(t);return""!==e&&(n=r.data("placeholder-textinput"),i=r.data("placeholder-password"),n?(a.call(n[0],!0,e)||(t.value=e),n[0].value=e):i&&(a.c
1all(t,!0,e)||(i[0].value=e),t.value=e)),r.data("placeholder-enabled")?""===e?(t.value=e,t!=l()&&o.call(t)):(r.hasClass(c.customClass)&&a.call(t),t.value=e):t.value=e,r}},n||(i.input=t,r.value=t),e||(i.textarea=t,r.value=t),s(function(){s(document).delegate("form","submit.placeholder",function(){var t=s("."+c.customClass,this).each(function(){a.call(this,!0,"")});setTimeout(function(){t.each(o)},10)})}),s(window).bind("beforeunload.placeholder",function(){var t=!0;try{"javascript:void(0)"===document.activeElement.toString()&&(t=!1)}catch(t){}t&&s("."+c.customClass).each(function(){this.value=""})}))}),(H=>{var z='<?xml version="1.0" encoding="utf-8"?><svg version="1.1"xmlns="http://www.w3.org/2000/svg"viewBox="0 12.705 512 486.59"x="0px" y="0px"xml:space="preserve"><polygon points="256.814,12.705 317.205,198.566 512.631,198.566 354.529,313.435 414.918,499.295 256.814,384.427 98.713,499.295 159.102,313.435 1,198.566 196.426,198.566 "/></svg>',a={starWidth:"32px",normalFill:"gray",ratedFill:"#f39c12",numStars:5,maxValue:5,precision:1,rating:0,fullStar:!1,halfStar:!1,readOnly:!1,spacing:"0px",multiColor:null,onInit:null,onChange:null,onSet:null},U={startColor:"#c0392b",endColor:"#f1c40f"};function V(t,e,n){return t===e?t=e:t===n&&(t=n),t}function q(t){return void 0!==t}var e=/^#([0-9a-f]{2})([0-9a-f]{2})([0-9a-f]{2})$/i,W=function(t){return e.test(t)?(t=e.exec(t),{r:parseInt(t[1],16),g:parseInt(t[2],16),b:parseInt(t[3],16)}):null};function K(t,e,n){n=n/100*(e-t);return n=1===(n=Math.round(t+n).toString(16)).length?"0"+n:n}function Q(o,a){this.node=o.get(0);var l,e,c,u,p,t,n=this,i=(o.empty().addClass("jq-ry-container"),H("<div/>").addClass("jq-ry-group-wrapper").appendTo(o)),h=H("<div/>").addClass("jq-ry-normal-group").addClass("jq-ry-group").appendTo(i),r=H("<div/>").addClass("jq-ry-rated-group").addClass("jq-ry-group").appendTo(i),d=0,s=a.rating,f=!1;function m(t){q(t)||(t=a.rating);var t=(s=t)/l,e=t*c;1<t&&(e+=(Math.ceil(t)-1)*p),w(a.ratedFill),r.css("width",e+"%")}function g(){t=e*a.numStars+u*(a.numStars-1),c=e/t*100,p=u/t*100,o.width(t),m()}function v(t){t=a.starWidth=t;return e=window.parseFloat(a.starWidth.replace("px","")),h.find("svg").attr({width:a.starWidth,height:t}),r.find("svg").attr({width:a.starWidth,height:t}),g(),o}function y(t){return a.spacing=t,u=parseFloat(a.spacing.replace("px","")),h.find("svg:not(:first-child)").css({"margin-left":t}),r.find("svg:not(:first-child)").css({"margin-left":t}),g(),o}function b(t){return a.normalFill=t,h.find("svg").attr({fill:a.normalFill}),o}var _=a.ratedFill;function w(t){var e,n;return a.multiColor?(e=(s-d)/a.maxValue*100,t=((t,e,n)=>{if(!t||!e)return null;n=q(n)?n:0,t=W(t),e=W(e);var i=K(t.r,e.r,n),r=K(t.b,e.b,n);return"#"+i+K(t.g,e.g,n)+r})((n=a.multiColor||{}).startColor||U.startColor,n.endColor||U.endColor,e)):_=t,a.ratedFill=t,r.find("svg").attr({fill:a.ratedFill}),o}function x(t){a.multiColor=t,w(t||_)}function k(t){a.numStars=t,l=a.maxValue/a.numStars,h.empty(),r.empty();for(var e=0;e<a.numStars;e++)h.append(H(z)),r.append(H(z));return v(a.starWidth),b(a.normalFill),y(a.spacing),m(),o}function T(t){return a.maxValue=t,l=a.maxValue/a.numStars,t<a.rating&&E(t),m(),o}function C(t){return a.precision=t,E(a.rating),o}function L(t){return a.halfStar=t,o}function R(t){return a.fullStar=t,o}function S(t){var e,n=h.offset().left,i=n+h.width(),r=a.maxValue,t=t.pageX,o=0;if(t<n)o=d;else if(i<t)o=r;else{var r=(t-n)/(i-n);if(0<u)for(var s=r*=100;0<s;)c<s?(o+=l,s-=c+p):(o+=s/c*l,s=0);else o=r*a.maxValue;i=(t=o)%l,n=l/2,r=a.halfStar,((e=a.fullStar)||r)&&(e||r&&n<i?t+=l-i:(t-=i,0<i&&(t+=n))),o=t}return o}function j(t){return a.readOnly=t,o.attr("readonly",!0),D(),t||(o.removeAttr("readonly"),o.on("mousemove",O).on("mouseenter",O).on("mouseleave",P).on("click",A).on("rateyo.init",I).on("rateyo.change",M).on("rateyo.set",N)),o}function E(t){var e=a.maxValue,n=("string"==typeof t&&("%"===t[t.length-1]&&(t=t.substr(0,t.length-1),T(e=100)),t=parseFloat(t)),t),i=d,r=e;if(i<=n&&n<=r)return t=parseFloat(t.toFixed(a.precision)),V(parseFloat(t),d,e),a.rating=t,m(),f&&o.trigger("rateyo.set",{rating:t}),o;throw Error("Invalid Rating, expected value between "+i+" and "+r)}function $(t){return a.onInit=t,o}function F(t){return a.onSet=t,o}function B(t){return a.onChange=t,o}function O(t){var t=S(t).toFixed(a.precision),e=a.maxValue;m(t=V(parseFloat(t),d,e)),o.trigger("rateyo.change",{rating:t})}function P(){m(),o.trigger("rateyo.change",{rating:a.rating})}function A(t){t=S(t).toFixed(a.precision),t=parseFloat(t);n.rating(t)}function I(t,e){a.onInit&&"function"==typeof a.onInit&&a.onInit.apply(this,[e.rating,n])}function M(t,e){a.onChange&&"function"==typeof a.onChange&&a.onChange.apply(this,[e.rating,n])}function N(t,e){a.onSet&&"function"==typeof a.onSet&&a.onSet.apply(this,[e.rating,n])}function D(){o.off("mousemove",O).off("mouseenter",O).off("mouseleave",P).off("click",A).off("rateyo.init",I).off("rateyo.change",M).off("rateyo.set",N)}this.rating=function(t){return q(t)?(E(t),o):a.rating},this.destroy=function(){var n,i;return a.readOnly||D(),Q.prototype.collection=(n=o.get(0),i=this.collection,H.each(i,function(t){var e;if(n===this.node)return e=i.slice(0,t),t=i.slice(t+1,i.length),i=e.concat(t),!1}),i),o.removeClass("jq-ry-container").children().remove(),o},this.method=function(t){if(!t)throw Error("Method name not specified!");var e;if(q(this[t]))return e=Array.prototype.slice.apply(arguments,[]).slice(1),this[t].apply(this,e);throw Error("Method "+t+" doesn't exist!")},this.option=function(t,e){if(!q(t))return a;var n;switch(t){case"starWidth":n=v;break;case"numStars":n=k;break;case"normalFill":n=b;break;case"ratedFill":n=w;break;case"multiColor":n=x;break;case"maxValue":n=T;break;case"precision":n=C;break;case"rating":n=E;break;case"halfStar":n=L;break;case"fullStar":n=R;break;case"readOnly":n=j;break;case"spacing":n=y;break;case"onInit":n=$;break;case"onSet":n=F;break;case"onChange":n=B;break;default:throw Error("No such option as "+t)}return q(e)?n(e):a[t]},k(a.numStars),j(a.readOnly),this.collection.push(this),this.rating(a.rating,!0),f=!0,o.trigger("rateyo.init",{rating:a.rating})}function l(t,e){var n;return H.each(e,function(){if(t===this.node)return n=this,!1}),n}Q.prototype.collection=[],window.RateYo=Q,H.fn.rateYo=function(){return function(t){var i=Q.prototype.collection,e=H(this);if(0===e.length)return e;var r,o,s,n=Array.prototype.slice.apply(arguments,[]);if(0===n.length)t=n[0]={};
1else{if(1!==n.length||"object"!=typeof n[0]){if(1<=n.length&&"string"==typeof n[0])return r=n[0],o=n.slice(1),s=[],H.each(e,function(t,e){e=l(e,i);if(!e)throw Error("Trying to set options before even initialization");var n=e[r];if(!n)throw Error("Method "+r+" does not exist!");n=n.apply(e,o);s.push(n)}),s=1===s.length?s[0]:s;throw Error("Invalid Arguments")}t=n[0]}return t=H.extend({},a,t),H.each(e,function(){if(!l(this,i))return new Q(H(this),H.extend({},t))})}.apply(this,Array.prototype.slice.apply(arguments,[]))}})(window.jQuery),(t=>{var e="function"==typeof define&&define.amd&&(define(["jquery"],t)||!0),n=!e&&"object"==typeof module&&"object"==typeof module.exports&&(module.exports=t);e||n||t()})(function(){return jQuery.reel||((R,vt,n,$)=>{var F,B,t,i,yt,o,H,bt,_t,wt,xt,kt,Tt,Ct,St,jt,z,U,Et,V,Ot,Pt,q,At,It,Mt,Nt,Dt,Lt,W,Rt,$t,Ft,Bt,Ht,zt,Ut,K,Vt,qt,Wt,Kt,Qt,Yt,Gt,Xt,Q,Y,Jt,G,X,Zt,te,ee,J,ne,ie,Z,re,oe,se,tt,ae,le,ce,ue,pe,he,et,de,fe,me,ge,ve,ye,be,nt,_e,we,xe,it,rt,ke,Te,Ce,ot,Se,st,at,lt,je,Ee,Oe,Pe,Ae,Ie,Me,Ne,De,Le,Re,$e,Fe,Be,ct,ut,pt,He,ze,r,Ue,Ve,qe,We,ht,Ke,s,e,Qe,Ye,Ge,Xe,a,Je,Ze,tn,en,nn,l;if(R)return!(t=R&&R().jquery.split(/\./))||+(u(t[0])+u(t[1])+u(t[2]||""))<10602?f("Too old jQuery library. Please upgrade your jQuery to version 1.6.2 or higher"):(F=R.reel={version:"1.3.0",def:{frame:1,frames:36,loops:!0,clickfree:!1,draggable:!0,scrollable:!0,steppable:!0,throwable:!0,wheelable:!0,orientable:!1,cw:!1,revolution:$,stitched:0,directional:!1,row:1,rows:0,rowlock:!1,framelock:!1,orbital:0,vertical:!1,inversed:!1,footage:6,spacing:0,horizontal:!0,suffix:"-reel",image:$,images:"",path:"",preload:"fidelity",shy:!1,speed:0,delay:0,timeout:2,duration:$,rebound:.5,entry:$,opening:0,brake:.23,velocity:0,tempo:36,laziness:6,cursor:$,hint:"",indicator:0,klass:"",preloader:2,area:$,attr:{},annotations:$,responsive:!1,graph:$,monitor:$},scan:function(){return R(mt(H)+":not("+mt(bt)+" > "+mt(H)+")").each(function(t,e){var e=R(e),n=e.data(),r=(n.images=h(n.images),{});R(mt(Tt)+"[data-for="+e.attr(ht)+"]").each(function(t,e){var e=R(e),n=e.data(),i=(n.x=d(h(n.x)),n.y=d(h(n.y)),e.attr(ht));n.node=e.removeData();r[i]=n}),n.annotations=r,e.removeData().reel(n)})},fn:{reel:function(){var D,L,t=arguments,e=R(this),n=e.data(),i=t[0]||{},r=t[1];return"object"!=typeof i?":"==i.slice(0,1)?e.trigger(i.slice(1),r):1==t.length?n[i]:(r!==$&&(F.normal[i]&&(r=F.normal[i](r,n)),n[i]===$?n[i]=r:n[i]!==r&&e.trigger(i+"Change",[$,n[i]=r])),e):(D=R.extend({},F.def,i),t=e.filter(Ke).unreel().filter(function(){var t=R(this),e=D.attr,n=e.src||t.attr(ye),i=e.width||t.attr(X)||t.width(),e=e.height||t.attr(st)||t.height();return n?!(!i||!e)||f("Dimension(s) of the target image unknown"):f("`src` attribute missing on target image")}),L=[],t.each(function(){var o,n,i,b=R(this),_=function(t,e){return b.reel(t,e)&&w(t)},w=function(t){return b.data(t)},x={setup:function(t){var e,n,i,r,o,s,a,l,c,u,p,h,d,f,m,g,v,y;b.hasClass(H)&&b.parent().hasClass(bt)||(_(oe,D),e={src:b.attr(ye),width:b.attr(st)||null,height:b.attr(X)||null,style:b.attr(it)||null,class:b.attr(zt)||null},n=b.attr(D.attr).attr(ye),g=_(ht,b.attr(ht)||b.attr(ht,H+"-"+ +new Date).attr(ht)),i=R.extend({},b.data()),r=_(J,D.images||[]),o=_(nt,D.stitched),s=!r.length||o,s=_(ue,D.responsive&&(!!yt||!s)),a=_(Ce,{}),v=D.loops,l=D.orbital,y=D.revolution,d=D.rows,m=_(Xt,Ot(D.footage,D.frames)),_(ge,D.spacing),c=_(st,+b.attr(st)||b.width()),u=_(X,+b.attr(X)||b.height()),p=_(me,D.shy),h=_(G,l&&m||d<=1&&r.length||D.frames),f=1<d||l,_(pe,sn("x",y)||o/2||2*c),_(he,f?sn("y",y)||(3<d?u:u/(5-d)):0),d=o?1:V(h/m),_(we,o-(v?0:c)),_(_e,0),f=un(g+D.suffix),m=(y=b.attr(zt))?y+ut:ct,v=R(ft(Ue),{id:f.substr(1),class:m+ut+bt+ut+jt+"0"}),g=b.wrap(v.addClass(D.klass)).addClass(H),L.push((y=g,F.instances.push(y[0])&&y)[0]),v=g.parent().bind(x.instance),_(ee,r.length?ct:D.image||n.replace(F.re.image,"$1"+D.suffix+".$2")),_(Ft,R(ft(Ue),{class:_t}).appendTo("body")),_(Nt,R()),_(Bt,[]),_(Y,null),_(Q,null),_(et,D.row),_(Te,0),_(fe,d),_(de,D.rowlock),_(Jt,D.framelock),_(Qt,_(Yt,_(Gt,0))),_(Rt,1/h),_(be,f),_(W,_(ve,D.speed)<0),_(ie,!1),_(ot,0),_(Se,D.vertical),_(tt,0),_(Kt,an(1,!D.cw&&!o)),_(Vt,{}),_(K,!1),_(qt,_(Wt,0)),_(ne,_(Zt,0)),_(le,!1),_(ce,!1),_(Z,!1),_($t,D.brake),_(Ht,!!l),_(rt,D.tempo/(F.lazy?D.laziness:1)),_(re,-1),_(ke,-1),_(Mt,D.annotations||v.unbind(mt(Mt))&&{}),_(ae,1),_(Lt,{attr:e,data:i}),D.steppable||v.unbind("up.steppable"),D.indicator||v.unbind(".indicator"),k(ct,{overflow:te,position:"relative"}),s||k(ct,{width:c,height:u}),s&&R.each(Xe,function(t,e){a[e]=w(e)}),k(pt+ut+mt(H),{display:ze}),k(mt(_t),{position:"fixed",left:gt(-100),top:gt(-100)},!0),k(mt(_t)+ut+Ke,{position:He,width:10,height:10},!0),B.bind(x.pool),b.trigger(p?"prepare":"setup"))},instance:{teardown:function(t){var e=b.data(Lt);b.parent().unbind(x.instance),w(me)?b.parent().unbind(Ut,l):w(it).remove()&&w(Nt).unbind(at),w(Ft).empty(),clearTimeout(n),clearTimeout(i),R(vt).unbind(Be,O),R(vt).unbind(at),B.unbind(x.pool),N.unbind(lt),b.siblings().unbind(at).remove(),S(),b.removeAttr("onloaded"),e=b.unbind(at).removeData().unwrap().attr(e.attr).data(e.data),F.instances=F.instances.not("#"+e.attr(ht)),b.attr(it)==ct&&b.removeAttr(it)},setup:function(t){var e=b.parent().append(m()),n=_(Nt,R(D.area||e)),i=1<D.rows,r=D.cursor,o=r==Ve?tn:r||Ze,r=r==Ve?en+ut+"!important":$;function s(t){return b.trigger("down",[ln(t).clientX,ln(t).clientY,t])&&t.give}k(ut+mt(H),{MozUserSelect:Qe,WebkitUserSelect:Qe,MozTransform:"translateZ(0)"}),b.unbind(Ut,l),n.bind($e,s).bind(D.clickfree?Pe:Oe,s).bind(D.wheelable?Ne:null,function(t,e){return!e||b.trigger("wheel",[e,t])&&t.give}).bind(Ee,function(){return!1}),k(ct,{cursor:rn(o)}),k(mt(St),{cursor:"wait"}),k(mt(Ct)+pt+mt(Ct)+" *",{cursor:rn(r||o)},!0),w(ue)&&(k(ut+mt(H),{width:"100%",height:Dt}),R(vt).bind(Be,O)),D.hint&&n.attr("title",D.hint),D.indicator&&e.append(g("x")),i&&D.indicator&&e.append(g("y")),D.monitor&&e.append(f=R(ft(Ue),{class:kt}))&&k(ut+mt(kt),{position:He,left:0,top:0})},preload:function(t){var e=b.parent(),n=w(J),i=!n.length,r=F.preload[D.preload]||F.preload[F.def.preload],o=i?[w(ee)]:r(n.slice(0),D,w),s=(o.length,_(tt,i?.5:0),0),a=w(Ft).empty(),l=[];for(e.addClass(St),_(it,w(it)||R("<"+it+' type="text/css">'+k.rules.join("\n")+"</"+it+">").prependTo(qe)),_(ie,!0),b.trigger("stop"),D.responsive&&P(),b.trigger("resize",!0);o.length;){var c=F.substitute(D.path+o.shift(),w);R(ft(Ke)).data(ye,c).appendTo(a).bind("load error abort",function(t){return"load"
1!=t.type&&b.trigger(t.type),!!e.parents(We).length&&b.trigger("preloaded")&&u()&&!1}),l.push(c)}function u(){var t=a.children(":not([src]):first");return t.attr(ye,t.data(ye))}setTimeout(function(){for(;++s<F.concurrent_requests;)u()},0),_(Bt,l),_(me,!1)},preloaded:function(t){var e=w(J).length||1,n=_(tt,Ot(w(tt)+1,e));1===n&&b.trigger("frameChange",[$,w(Y)]),n===e&&(b.parent().removeClass(St),b.trigger("loaded"))},loaded:function(t){1<w(J).length||b.css({backgroundImage:on(F.substitute(D.path+w(ee),w))}).attr({src:rn(Je)}),w(nt)&&b.attr({src:rn(Je)}),w(ce)||_(ot,D.velocity||0),_(ie,!1),s=!0},prepare:function(t){b.css("display",ze).parent().one(Ut,l)},opening:function(t){if(!D.opening)return b.trigger("openingDone");_(Z,!0),_(xe,!w(ve));var e=D.entry||D.speed,n=w(Q),i=D.opening;_(Q,n-e*i),_(re,V(i*dt(rt)))},openingDone:function(t){_(se,!1),_(Z,!1);var e=De+mt(Z);B.unbind(e,x.pool[e]),D.orientable&&R(vt).bind(je,function(t){return b.trigger("orient",[cn(t).alpha,cn(t).beta,cn(t).gamma,t])&&t.give}),0<D.delay?n=setTimeout(function(){b.trigger("play")},1e3*D.delay):b.trigger("play")},play:function(t,e){var e=e?_(ve,e):w(ve)*an(1,w(W)),n=D.duration,n=(n&&_(ke,V(n*dt(rt))),_(W,e<0),_(se,!!e));_(xe,!n);r()},reach:function(t,e,n){var i,r;e!=w(Y)&&(i=w(G),_(et,V(e/i)),r=_(Qt,w(Y)),e=_(Yt,e),r=_(Gt,F.math.distance(r,e,i)),n=q(n||w(ve))*an(1,r<0),b.trigger("play",n))},pause:function(t){u()},stop:function(t){var e=_(xe,!0);_(se,!e)},down:function(t,e,n,i){var r;function o(t){return b.trigger("up",[t])&&t.give}!D.clickfree&&i&&i.button!==$&&i.button!=nn||D.draggable&&(_(K,w(Y)),i=D.clickfree,_(ot,0),r=i?w(Nt):N,T=A(w(pe),e,n),u(),S(),p=0,R(We,N).addClass(Ct),r.bind(Fe+ut+Ie,function(t){return b.trigger("pan",[ln(t).clientX,ln(t).clientY,t])&&t.give}).bind(Re+ut+Le,o).bind(i?Ae:Me,o))},up:function(t,e){_(K,!1),_(le,!1);var n=D.throwable,i=q(j[0]+j[1])/60,n=_(ot,n?!0===n?i:Ot(n,i):0);c=n?1:0;u(),S(),R(We,N).removeClass(Ct),(D.clickfree?w(Nt):N).unbind(lt)},pan:function(t,e,n,i){if(D.draggable&&I){I=!1,u();var r,o=D.rows,s=D.orbital,a=!w(le)&&o<=1&&!s&&D.scrollable,l={x:e-T.x,y:n-T.y},c={x:q(l.x),y:q(l.y)};if(i&&a&&c.x<c.y)return i.give=!0;(0<c.x||0<c.y)&&(i&&(i.give=!1),p=Pt(c.x,c.y),T={x:e,y:n},a=w(pe),i=w(Vt),c=w(Se),w(Jt)||(r=_(Q,E(c?n-i.y:e-i.x,w(qt),a,w(ne),w(Zt),w(Kt),c?n-i.y:e-i.x)),_(le,w(le)||w(Y)!=w(K)),(l=C(c?l.y:l.x||0))&&_(W,l<0)),s&&w(Ht)&&(c=_(Se,q(n-i.y)>q(e-i.x)),i=A(a,e,n)),1<o&&!w(de)&&(l=w(he),s=w(Wt),_(Te,F.math.envelope(n-i.y,s,l,c=-s*l,c+l,-1))),r%1||D.loops||(i=A(a,e,n)))}},wheel:function(t,e,n){var i;e&&(h=!0,i=an(i=V(z.sqrt(q(e))/2),0<e),e=.0833*w(pe),A(e),i&&_(W,i<0),_(ot,0),_(Q,E(i,w(qt),e,w(ne),w(Zt),w(Kt))),n&&n.preventDefault(),n&&(n.give=!1),u(),b.trigger("up",[n]))},orient:function(t,e,n,i,r){I&&!o&&(d=!0,e=e/360,fraction=_(Q,+(D.stitched||D.cw?1-e:e).toFixed(2)),I=!1)},fractionChange:function(t,e,n){var i;e===$&&(e=1+Et(n/w(Rt)),n=1<D.rows,i=D.orbital,_(Ht,!!i&&(e<=i||e>=w(Xt)-i+2)),n&&(e+=(w(et)-1)*w(G)),e=_(Y,e))},tierChange:function(t,e,n){var i;e===$&&(e=_(et,U(It(n,1,D.rows))),n=w(G),i=w(Y)%n||n,i=_(Y,i+e*n-n))},rowChange:function(t,e,n){e===$&&M(Te,$,n,D.rows)},frameChange:function(t,e,n){var i,r,o,s,a,l,c,u,p,h;e===$&&(this.className=this.className.replace(F.re.frame_klass,jt+n),e=w(G),i=D.rows,r=D.path,u=((n-(p=n%e||e))/e+1-1)/(i-1),c=w(et),i?M(Te,u,c,i):w(Te),u=M(Q,$,p,e),p=w(Xt),D.orbital&&w(Se)&&(n=D.inversed?p+1-n:n,n+=p),e=w(nt),!(o=w(J)).length||e?(s=w(ge),a=w(st),l=w(X),e?(h=[gt(-_(_e,U(It(u,0,w(we)))%e)),gt(-(i<=1?0:(l+s)*(i-c)))],u=1<o.length&&o[c-1],e=F.substitute(r+u,w),u&&b.css("backgroundImage").search(e)<0&&b.css({backgroundImage:on(e)})):(c=D.horizontal,u=(u=n%p-1)<0?p-1:u,e=(Et((n-.1)/p)+(!(1<i)&&!w(W)&&D.directional?w(fe):0))*((c?l:a)+s),p=u*((c?a:l)+s),h=o.length?[0,0]:c?[gt(-p),gt(-e)]:[gt(-e),gt(-p)]),b.css({backgroundPosition:h.join(ut)}
1)):(w(ue)&&P(),w(tt)&&b.attr({src:pn(F.substitute(r+o[n-1],w))})))},"frameChange.reach":function(t,e,n){w(Yt)&&e===$&&(e=F.math.distance(w(Qt),n,w(G)),q(e)>=q(w(Gt)))&&(_(Y,_(Yt)),_(Yt,_(Gt,_(Qt,0))),b.trigger("stop"))},"imageChange imagesChange":function(t,e,n){b.trigger("preload")},"fractionChange.indicator":function(t,e,n){var i,r;D.indicator&&e===$&&(e=D.indicator,r=(i=D.orbital)&&w(Se)?w(X):w(st),i=i?w(Xt):D.images.length||w(G),i=V(r/i),n=U(It(n,0,r-=i)),n=!D.cw||w(nt)?n:r-n,g.$x.css(w(Se)?{left:0,top:gt(n),bottom:Dt,width:e,height:i}:{bottom:0,left:gt(n),top:Dt,width:i,height:e}))},"tierChange.indicator":function(t,e,n){var i,r;1<D.rows&&D.indicator&&e===$&&(e=w(X),i=D.indicator,r=V(e/D.rows),n=U(n*(e-=r)),g.$y.css({left:0,top:n,width:i,height:r}))},"setup.annotations":function(t){var o=b.parent();R.each(w(Mt),function(t,e){var n=(n=(n=typeof e.node==Ge?R(e.node):e.node||{}).jquery?n:R(ft(Ue),n)).attr({id:t}).addClass(Tt),i=e.image?R(ft(Ke),e.image):R(),r=e.link?R("<a/>",e.link).click(function(){b.trigger("up.annotations",{target:r})}):R();k("#"+t,{display:Qe,position:He},!0),e.image||e.link&&n.append(r),e.link||e.image&&n.append(i),e.link&&e.image&&n.append(r.append(i)),n.appendTo(o)})},"prepare.annotations":function(t){R.each(w(Mt),function(t,e){R("#"+t).hide()})},"frameChange.annotations":function(t,e,n){var l,c,u;w(tt)&&e===$&&(l=w(st),c=w(nt),u=w(_e),R.each(w(Mt),function(t,e){var t=R("#"+t),n=e.start||1,i=e.end,r=w(Y)-1,o=!!e.at&&"+"==e.at[r],r=e.at?r:r-n+1,s=typeof e.x!=Ye?e.x:e.x[r],a=typeof e.y!=Ye?e.y:e.y[r],e=s!==$&&a!==$&&(e.at?o:0<=r&&(!i||r<=i-n)),i=(c&&(o=c-l<s&&0<=u&&u<l,s=s<l&&c-l<u?s+c:s,s=o?s-c:s,s-=u),w(ue)&&(r=w(ae),s=s&&s*r,a=a&&a*r),{display:e?ze:Qe,left:gt(s),top:gt(a)});t.css(i)}))},"up.annotations":function(t,e){10<p||h||((e=R(e.target)).is("a")?e:e.parents("a")).attr("href")&&(p=10)},"up.steppable":function(t,e){p||h||b.trigger(w(Vt).x-b.offset().left>.5*w(st)?"stepRight":"stepLeft")},"stepLeft stepRight":function(t){u()},stepLeft:function(t){_(W,!1),_(Q,w(Q)-w(Rt)*w(Kt))},stepRight:function(t){_(W,!0),_(Q,w(Q)+w(Rt)*w(Kt))},stepUp:function(t){_(et,w(et)-1)},stepDown:function(t){_(et,w(et)+1)},resize:function(t,e){var n,i,r,o,s;w(ie)&&!e||(s=w(nt),n=w(ge),i=w(X),r=!w(J).length||s,o=D.rows||1,s=w(J).length?s?gt(s)+ut+gt(i):$:s&>(s)+ut+gt((i+n)*o-n)||gt((w(st)+n)*w(Xt)-n)+ut+gt((i+n)*w(fe)*o*(D.directional?2:1)-n),b.css({height:r?gt(i):null,backgroundSize:s||null}),e)||b.trigger("imagesChange")},"setup.fu":function(t){_(Y,D.frame+(w(et)-1)*w(G));b.trigger("preload")},"wheel.fu":function(){h=!1},"clean.fu":function(){b.trigger("teardown")},"loaded.fu":function(){b.trigger("opening")}},pool:{"tick.reel.preload":function(t){var e,n,i,r;!s&&!w(ie)||w(me)||(e=w(st),n=At(m.$.css(st)),i=w(J).length||1,r=U(1/i*w(tt)*e),m.$.css({width:n+(r-n)/3+1}),w(tt)===i&&e-1<n&&(s=!1,m.$.fadeOut(300,function(){m.$.css({opacity:1,width:0})})))},"tick.reel":function(t){if(!w(me)){var e,n=w(ot),i=dt(rt),r=D.monitor;if(F.intense||!v())return c&&(e=n-w($t)/i*c,n=_(ot,.1<e?e:c=o=0)),r&&f.text(w(r)),n&&c++,o&&o++,C(0),I=!0,o&&!n?a(t):w(K)?a(t,u()):void(0<w(re)||(!D.loops&&D.rebound&&(o||w(Q)%1?y=0:y++,y>=1e3*D.rebound/i&&_(W,!w(W))),e=w(Kt)*an(1,w(W)),r=w(ke),t=(w(se)&&!d&&r?q(w(ve))+n:n)/dt(rt),_(Q,w(Q)-t*e),!(r=D.duration?0<r&&_(ke,r-1):r)&&w(se)&&b.trigger("stop")))}},"tick.reel.opening":function(t){var e,n;w(Z)&&(e=(D.entry||D.speed)/dt(rt)*(D.cw?-1:1),n=_(re,w(re)-1),_(Q,w(Q)+e),n||b.trigger("openingDone"))}}},s=!1,a=function(t,e){return t.stopImmediatePropagation()||e},l=function(){b.trigger("setup")},c=0,r=function(){return o=0},u=function(){return clearTimeout(n),B.unbind(De+mt(Z),x.pool[De+mt(Z)]),_(re,0),_(ce,!0),o=-D.timeout*dt(rt)},p=0,h=!1,d=!1,f=R(),m=function(){return k(ut+mt(xt),{position:He,left:0,bottom:0,height:D.preloader,overflow:te,backgroundColor:"#000"}),m.$=R(ft(Ue),{class:xt})},g=function(t){return k(ut+mt(wt)+mt(t),{position:He,width:0,height:0,overflow:te,backgroundColor:"#000"}),g["$"+t]=R(ft(Ue),{class:wt+ut+t})},k=function(t,e,n){var i,n=n?ct:w(be),t=t.replace(/^/,n).replace(pt,pt+n);return k.rules.push(t+(i=[],R.each(e,function(t,e){i.push(t.replace(/([A-Z])/g,"-$1").toLowerCase()+":"+gt(e)+";")}),"{"+i.join(ct))+"}")&&e},v=function(){var t=w(X),e=w(st),n=b[0].getBoundingClientRect();return n.top<-t||n.left<-e||n.right>e+R(vt).width()||n.bottom>t+R(vt).height()},y=0,T={x:0,y:0},C=function(t){return j.push(t)&&j.shift()&&t},S=function(){return j=[0,0]},j=S(),E=D.graph||F.math[D.loops?"hatch":"envelope"],O=(F.normal,function(){clearTimeout(i),i=setTimeout(P,F.resize_gauge)}),P=function(){var t,n;b.width()!=w(st)&&(t=w(Ce),n=_(ae,b.width()/t.width),R.each(t,function(t,e){_(t,U(e*n))}),b.trigger("resize"))},A=function(t,e,n){var i=_(qt,w(Q)),r=(_(Wt,w(Te)),D.loops);_(ne,r?0:-i*t),_(Zt,r?t:t-i*t);return e!==$&&_(Vt,{x:e,y:n})||$},I=!0,M=function(t,e,n,i){var r;if(i)return r=w(t)||0,n=e!==$?e:(n-1)/(i-1),n=t!=Q?n:Ot(n,.9999),+q(r-n).toFixed(8)>=+(1/(i-1)).toFixed(8)?_(t,n):e||r},N=B;try{B[0]!=top.document&&(N=B.add(top.document))}catch(t){}var t;top===self?R():R("iframe",N.last()).each(function(){try{if(R(this).contents().find(qe).html()==R(qe).html())return(t=R(this))&&!1}catch(t){}});k.rules=[],x.setup()}),o=o||function t(){var e=+new Date,n=dt(rt);return o=n?(B.trigger(De),F.cost=(+new Date+F.cost-e)/2,setTimeout(t,Pt(4,1e3/n-F.cost))):null}(),R(L))},unreel:function(){return this.trigger("teardown")}},re:{image:/^(.*)\.(jpg|jpeg|png|gif)\??.*$/i,ua:[/(msie|opera|firefox|chrome|safari)[ \/:]([\d.]+)/i,/(webkit)\/([\d.]+)/i,/(mozilla)\/([\d.]+)/i],array:/ *, */,lazy_agent:/\(iphone|ipod|android|fennec|blackberry/i,frame_klass:/frame-\d+/,substitution:/(@([A-Z]))/g,no_match:/^(undefined|)$/,sequence:/(^[^#|]*([#]+)[^#|]*)($|[|]([0-9]+)\.\.([0-9]+))($|[|]([0-9]+)$)/},cdn:"http://code.vostrel.net/",math:{envelope:function(t,e,n,i,r,o,s){return e+c(i,r,-t*o)/n},hatch:function(t,e,n,i,r,o,s){e+=-(t=(t<i?r:0)+t%r)*o/n;return e-Et(e)},interpolate:function(t,e,n){return e+t*(n-e)},distance:function(t,e,n){var i=n/2,e=e-t;return e<-i?e+n:i<e?e-n:e}},preload:{fidelity:function(t,h,e){var n=h.orbital,i=n?2:h.rows||1,e=e(n?Xt:G),n=(h.row-1)*e,r=(new Array).concat(t),d=new Array(t.length+1);return o(i<2?[]:r.slice(n,n+e),1,n).concat(o(r,i,0));function o(t,e,n){if(!t.length)return[];for(var i=[],r=4*e,o=h.frame,s=t.length,a=!0,l=s/r,c=0;c<r;c++)p(o+U(c*l));for(;1<l;){var c=0,u=i.length,l=l/2;for(a=!a;c<u;c++)p(i[c]+(a?1:-1)*U(l))}for(c=0;c<=s;c++)p(c);for(c=0;c<i.length;
1c++)i[c]=t[i[c]-1];return i;function p(t){for(;!(1<=t&&t<=s);)t+=t<1?+s:-s;d[n+t]||(d[n+t]=!!i.push(t))}}},linear:function(t,e,n){return t}},substitute:function(t,i){return t.replace(F.re.substitution,function(t,e,n){return"function"==typeof F.substitutes[n]?F.substitutes[n](i):a[n]?i(a[n]):e})},substitutes:{T:function(t){return+new Date}},normal:{fraction:function(t,e){return null===t?t:e[oe].loops?t-Et(t):c(0,1,t)},tier:function(t,e){return null===t?t:c(0,1,t)},row:function(t,e){return null===t?t:U(c(1,e[oe].rows,t))},frame:function(t,e){var n;return null===t?t:(n=e[oe],e=e[G]*(n.orbital?2:n.rows||1),(n=U(n.loops?t%e||e:c(1,e,t)))<0?n+e:n)},images:function(t,e){var n=F.re.sequence.exec(t);return n?F.sequence(n,e[oe]):t}},sequence:function(t,e){if(t.length<=1)return e.images;for(var n=[],i=e.orbital,r=t[1],o=t[2],s=F.re.no_match.test((s=t[4])+ct)?1:+s,a=i?2:e.rows||1,i=i?e.footage:e.stitched?1:e.frames,l=+(t[5]||a*i)-s,c=+t[7]||1,u=0;u<=l;)n.push(r.replace(o,p(s+u+ct,o.length,"0"))),u+=c;return n},instances:R(),leader:dt,resize_gauge:300,concurrent_requests:4,cost:0},B=R(n),t=navigator.userAgent,i=+(n=F.re.ua[0].exec(t)||F.re.ua[1].exec(t)||F.re.ua[2].exec(t))[2].split(".").slice(0,2).join("."),n="MSIE"==n[1],yt=!(n&&i<9),bt=(H="reel")+"-overlay",_t=H+"-cache",wt=H+"-indicator",xt=H+"-preloader",kt=H+"-monitor",Tt=H+"-annotation",Ct=H+"-panning",St=H+"-loading",jt="frame-",z=Math,U=z.round,Et=z.floor,V=z.ceil,Ot=z.min,Pt=z.max,q=z.abs,At=parseInt,It=F.math.interpolate,Mt="annotations",Nt="area",Dt="auto",Lt="backup",W="backwards",Rt="bit",$t="brake",Bt=(Ft="cache")+"d",Ht="center",zt="class",Vt=(K=(Ut="click")+"ed")+"_location",qt=K+"_on",Wt=K+"_tier",Kt="cwish",Qt="departure",Yt="destination",Gt="distance",Xt="footage",Q="fraction",Y="frame",Jt="framelock",G="frames",Zt="hi",te="hidden",ee="image",J="images",ne="lo",ie="loading",re=(Z="opening")+"_ticks",oe="options",se="playing",tt="preloaded",ae="ratio",le="reeling",ce="reeled",ue="responsive",et="row",de="rowlock",fe="rows",me="shy",ve="speed",ye="src",be="stage",xe="stopped",it="style",rt="tempo",ke="ticks",Te="tier",Ce="truescale",ot="velocity",Se="vertical",je="deviceorientation"+(at=mt(H)),Ee="dragstart"+at,Oe=(e="mouse")+"down"+at,Pe=e+"enter"+at,Ae=e+"leave"+(lt=".pan"+at),Ie=e+"move"+lt,Me=e+"up"+lt,Ne=e+"wheel"+at,De="tick"+at,Le=(e="touch")+"cancel"+lt,Re=e+"end"+lt,$e=e+"start"+at,Fe=e+"move"+lt,Be="resize"+at,ct="",ut=" ",pt=",",He="absolute",ze="block",r="@CDN@",Ue="div",Ve="hand",qe="head",We="html",ht="id",Ke="img",e="move",Qe="none",Ye="object",Ge="string",Xe=[st="width",X="height",ge="spacing",pe="revolution",he="revolution_y",nt="stitched",_e=nt+"_shift",we=nt+"_travel"],a={W:st,H:X},Je=!(n&&i<8)?"data:image/gif;base64,R0lGODlhCAAIAIAAAAAAAAAAACH5BAEAAAAALAAAAAAIAAgAAAIHhI+py+1dAAA7":r+"blank.gif",Ze=on(r+(s="jquery."+H)+".cur")+pt+e,tn=on(r+s+"-drag.cur")+pt+e,en=on(r+s+"-drag-down.cur")+pt+e,F.lazy=F.re.lazy_agent.test(t),nn=n&&i<9?1:0,l=R.cleanData,R.cleanData=function(t){return R(t).each(function(){R(this).triggerHandler("clean")}),l.apply(this,arguments)},R.extend(R.fn,F.fn)&&R(F.scan),F);function dt(t){return F.instances.first().data(t)}function ft(t){return"<"+t+"/>"}function mt(t){return"."+(t||"")}function rn(t){return t.replace(r,F.cdn)}function on(t){return"url('"+pn(t)+"')"}function sn(t,e){return typeof e==Ye?e[t]:e}function c(t,e,n){return Pt(t,Ot(e,n))}function an(t,e){return q(t)*(e?-1:1)}function ln(t){return t.touch||t.originalEvent.touches&&t.originalEvent.touches[0]||t}function cn(t){return t.originalEvent}function gt(t){return t===$?0:typeof t==Ge?t:t+"px"}function un(t){return"#"+t}function p(t,e,n){for(;t.length<e;)t=n+t;return t}function u(t){return p(t,2,"0")}function pn(t){return encodeURI(decodeURI(t))}function h(t){return F.re.array.exec(t)?t.split(F.re.array):t}function d(n){return typeof n==Ge?n:R.each(n,function(t,e){n[t]=e?+e:$})}function f(t){try{console.error("[ Reel ] "+t)}catch(t){}}})(jQuery,window,document)}),(t=>{"function"==typeof define&&define.amd&&define.amd.jQuery?define(["jquery"],t):"undefined"!=typeof module&&module.exports?t(require("jquery")):t(jQuery)})(function(at){var lt="left",ct="right",ut="up",pt="down",ht="in",dt="out",ft="none",mt="auto",gt="swipe",vt="pinch",yt="tap",bt="doubletap",_t="longtap",wt="horizontal",xt="vertical",kt="all",Tt=10,Ct="start",St="move",jt="end",Et="cancel",Ot="ontouchstart"in window,Pt=window.navigator.msPointerEnabled&&!window.navigator.pointerEnabled&&!Ot,At=(window.navigator.pointerEnabled||window.navigator.msPointerEnabled)&&!Ot,It="TouchSwipe";function i(L,l){var l=at.extend({},l),t=Ot||At||!l.fallbackToMouseEvents,e=t?At?Pt?"MSPointerDown":"pointerdown":"touchstart":"mousedown",n=t?At?Pt?"MSPointerMove":"pointermove":"touchmove":"mousemove",i=t?At?Pt?"MSPointerUp":"pointerup":"touchend":"mou
1seup",r=!t||At?"mouseleave":null,o=At?Pt?"MSPointerCancel":"pointercancel":"touchcancel",c=0,u=null,p=null,h=0,d=0,f=0,m=1,g=0,v=0,y=null,s=at(L),b="start",_=0,w={},a=0,x=0,k=0,R=0,T=0,C=null,S=null;try{s.bind(e,$),s.bind(o,j)}catch(t){at.error("events not supported "+e+","+o+" on jQuery.swipe")}function $(t){var e,n,i,r;if(!0!==s.data(It+"_intouch")&&!(0<at(t.target).closest(l.excludedElements,s).length))return r=(i=(e=t.originalEvent||t).touches)?i[0]:e,b=Ct,i?_=i.length:!1!==l.preventDefaultEvents&&t.preventDefault(),v=p=u=null,m=1,g=f=d=h=c=0,(t={})[lt]=N(lt),t[ct]=N(ct),t[ut]=N(ut),t[pt]=N(pt),y=t,et(),M(0,r),!i||_===l.fingers||l.fingers===kt||P()?(a=D(),2==_&&(M(1,i[1]),d=f=ot(w[0].start,w[1].start)),(l.swipeStatus||l.pinchStatus)&&(n=E(e,b))):n=!1,!1===n?(E(e,b=Et),n):(l.hold&&(S=setTimeout(at.proxy(function(){s.trigger("hold",[e.target]),l.hold&&(n=l.hold.call(s,e,e.target))},this),l.longTapThreshold)),I(!0),null)}function F(t){var e=t.originalEvent||t;if(b!==jt&&b!==Et&&!A()){var n,i=e.touches,r=nt(i?i[0]:e);if(x=D(),i&&(_=i.length),l.hold&&clearTimeout(S),b=St,2==_&&(0==d?(M(1,i[1]),d=f=ot(w[0].start,w[1].start)):(nt(i[1]),f=ot(w[0].end,w[1].end),w[0].end,w[1].end,v=m<1?dt:ht),m=(f/d*1).toFixed(2),g=Math.abs(d-f)),_===l.fingers||l.fingers===kt||!i||P()){u=st(r.start,r.end),p=st(r.last,r.end);var o,s=t,i=p;if(!1!==l.preventDefaultEvents)if(l.allowPageScroll===ft)s.preventDefault();else{var a=l.allowPageScroll===mt;switch(i){case lt:(l.swipeLeft&&a||!a&&l.allowPageScroll!=wt)&&s.preventDefault();break;case ct:(l.swipeRight&&a||!a&&l.allowPageScroll!=wt)&&s.preventDefault();break;case ut:(l.swipeUp&&a||!a&&l.allowPageScroll!=xt)&&s.preventDefault();break;case pt:(l.swipeDown&&a||!a&&l.allowPageScroll!=xt)&&s.preventDefault()}}t=r.start,i=r.end,c=Math.round(Math.sqrt(Math.pow(i.x-t.x,2)+Math.pow(i.y-t.y,2))),h=rt(),i=u,t=c,t=Math.max(t,it(i)),y[i].distance=t,n=E(e,b),l.triggerOnTouchEnd&&!l.triggerOnTouchLeave||(i=!0,l.triggerOnTouchLeave&&(o={left:(o=(t=at(t=this)).offset()).left,right:o.left+t.outerWidth(),top:o.top,bottom:o.top+t.outerHeight()},t=r.end,r=o,i=t.x>r.left&&t.x<r.right&&t.y>r.top&&t.y<r.bottom),!l.triggerOnTouchEnd&&i?b=U(St):l.triggerOnTouchLeave&&!i&&(b=U(jt)),b!=Et&&b!=jt)||E(e,b)}else E(e,b=Et);!1===n&&E(e,b=Et)}}function B(t){var e,n=t.originalEvent||t,i=n.touches;if(i){if(i.length&&!A())return e=n,k=D(),R=e.touches.length+1,!0;if(i.length&&A())return!0}return A()&&(_=R),x=D(),h=rt(),q()||!V()?E(n,b=Et):l.triggerOnTouchEnd||0==l.triggerOnTouchEnd&&b===St?(!1!==l.preventDefaultEvents&&t.preventDefault(),E(n,b=jt)):!l.triggerOnTouchEnd&&J()?O(n,b=jt,yt):b===St&&E(n,b=Et),I(!1),null}function j(){f=d=a=x=_=0,et(),I(!(m=1))}function H(t){t=t.originalEvent||t;l.triggerOnTouchLeave&&E(t,b=U(jt))}function z(){s.unbind(e,$),s.unbind(o,j),s.unbind(n,F),s.unbind(i,B),r&&s.unbind(r,H),I(!1)}function U(t){var e=t,n=W(),i=V(),r=q();return!n||r?e=Et:!i||t!=St||l.triggerOnTouchEnd&&!l.triggerOnTouchLeave?!i&&t==jt&&l.triggerOnTouchLeave&&(e=Et):e=jt,e}function E(t,e){var n,i=t.touches;return(Q()&&Y()||Y())&&(n=O(t,e,gt)),(K()&&P()||P())&&!1!==n&&(n=O(t,e,vt)),tt()&&Z()&&!1!==n?n=O(t,e,bt):h>l.longTapThreshold&&c<Tt&&l.longTap&&!1!==n?n=O(t,e,_t):1!==_&&Ot||!(isNaN(c)||c<l.threshold)||!J()||!1===n||(n=O(t,e,yt)),e===Et&&(Y()&&(n=O(t,e,gt)),P()&&(n=O(t,e,vt)),j()),e!==jt||i&&i.length||j(),n}function O(t,e,n){var i;if(n==gt){if(s.trigger("swipeStatus",[e,u||null,c||0,h||0,_,w,p]),l.swipeStatus&&!1===(i=l.swipeStatus.call(s,t,e,u||null,c||0,h||0,_,w,p)))return!1;if(e==jt&&Q()){if(clearTimeout(C),clearTimeout(S),s.trigger("swipe",[u,c,h,_,w,p]),l.swipe&&!1===(i=l.swipe.call(s,t,u,c,h,_,w,p)))return!1;switch(u){case lt:s.trigger("swipeLeft",[u,c,h,_,w,p]),l.swipeLeft&&(i=l.swipeLeft.call(s,t,u,c,h,_,w,p));break;case ct:s.trigger("swipeRight",[u,c,h,_,w,p]),l.swipeRight&&(i=l.swipeRight.call(s,t,u,c,h,_,w,p));break;case ut:s.trigger("swipeUp",[u,c,h,_,w,p]),l.swipeUp&&(i=l.swipeUp.call(s,t,u,c,h,_,w,p));break;case pt:s.trigger("swipeDown",[u,c,h,_,w,p]),l.swipeDown&&(i=l.swipeDown.call(s,t,u,c,h,_,w,p))}}}if(n==vt){if(s.trigger("pinchStatus",[e,v||null,g||0,h||0,_,m,w]),l.pinchStatus&&!1===(i=l.pinchStatus.call(s,t,e,v||null,g||0,h||0,_,m,w)))return!1;if(e==jt&&K())switch(v){case ht:s.trigger("pinchIn",[v||null,g||0,h||0,_,m,w]),l.pinchIn&&(i=l.pinchIn.call(s,t,v||null,g||0,h||0,_,m,w));break;case dt:s.trigger("pinchOut",[v||null,g||0,h||0,_,m,w]),l.pinchOut&&(i=l.pinchOut.call(s,t,v||null,g||0,h||0,_,m,w))}}return n==yt?e!==Et&&e!==jt||(clearTimeout(C),clearTimeout(S),Z()&&!tt()?(T=D(),C=setTimeout(at.proxy(function(){T=null,s.trigger("tap",[t.target]),l.tap&&(i=l.tap.call(s,t,t.target))},this),l.doubleTapThreshold)):(T=null,s.trigger("tap",[t.target]),l.tap&&(i=l.tap.call(s,t,t.target)))):n==bt?e!==Et&&e!==jt||(clearTimeout(C),clearTimeout(S),T=null,s.trigger("doubletap",[t.target]),l.doubleTap&&(i=l.doubleTap.call(s,t,t.target))):n!=_t||e!==Et&&e!==jt||(clearTimeout(C),T=null,s.trigger("longtap",[t.target]),l.longTap&&(i=l.longTap.call(s,t,t.target))),i}function V(){var t=!0;return t=null!==l.threshold?c>=l.threshold:t}function q(){var t=!1;return t=null!==l.cancelThreshold&&null!==u?it(u)-c>=l.cancelThreshold:t}function W(){var t=!(l.maxTimeThreshold&&h>=l.maxTimeThreshold);return t}function K(){var t=G(),e=X(),n=null===l.pinchThreshold||g>=l.pinchThreshold;return t&&e&&n}function P(){return l.pinchStatus||l.pinchIn||l.pinchOut}function Q(){var t=W(),e=V(),n=G(),i=X();return!q()&&i&&n&&e&&t}function Y(){return l.swipe||l.swipeStatus||l.swipeLeft||l.swipeRight||l.swipeUp||l.swipeDown}function G(){return _===l.fingers||l.fingers===kt||!Ot}function X(){return 0!==w[0].end.x}
1function J(){return!!l.tap}function Z(){return!!l.doubleTap}function tt(){var t;return null!=T&&(t=D(),Z())&&t-T<=l.doubleTapThreshold}function et(){R=k=0}function A(){var t=!1;return t=k&&D()-k<=l.fingerReleaseThreshold?!0:t}function I(t){s&&(!0===t?(s.bind(n,F),s.bind(i,B),r&&s.bind(r,H)):(s.unbind(n,F,!1),s.unbind(i,B,!1),r&&s.unbind(r,H,!1)),s.data(It+"_intouch",!0===t))}function M(t,e){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=e.pageX||e.clientX,n.start.y=n.last.y=n.end.y=e.pageY||e.clientY,w[t]=n}function nt(t){var e=void 0!==t.identifier?t.identifier:0,n=w[e]||null;return(n=null===n?M(e,t):n).last.x=n.end.x,n.last.y=n.end.y,n.end.x=t.pageX||t.clientX,n.end.y=t.pageY||t.clientY,n}function it(t){if(y[t])return y[t].distance}function N(t){return{direction:t,distance:0}}function rt(){return x-a}function ot(t,e){var n=Math.abs(t.x-e.x),t=Math.abs(t.y-e.y);return Math.round(Math.sqrt(n*n+t*t))}function st(t,e){var n,i;n=e,i=(t=t).x-e.x,n=Math.atan2(e.y-t.y,i),t=(t=Math.round(180*n/Math.PI))<0?360-Math.abs(t):t;return t<=45&&0<=t||t<=360&&315<=t?lt:135<=t&&t<=225?ct:45<t&&t<135?pt:ut}function D(){return(new Date).getTime()}this.enable=function(){return s.bind(e,$),s.bind(o,j),s},this.disable=function(){return z(),s},this.destroy=function(){z(),s.data(It,null),s=null},this.option=function(t,e){if("object"==typeof t)l=at.extend(l,t);else if(void 0!==l[t]){if(void 0===e)return l[t];l[t]=e}else{if(!t)return l;at.error("Option "+t+" does not exist on jQuery.swipe.options")}return null}}at.fn.swipe=function(t){var e=at(this),n=e.data(It);if(n&&"string"==typeof t){if(n[t])return n[t].apply(this,Array.prototype.slice.call(arguments,1));at.error("Method "+t+" does not exist on jQuery.swipe")}else if(n&&"object"==typeof t)n.option.apply(this,arguments);else if(!(n||"object"!=typeof t&&t))return function(n){!n||void 0!==n.allowPageScroll||void 0===n.swipe&&void 0===n.swipeStatus||(n.allowPageScroll=ft);void 0!==n.click&&void 0===n.tap&&(n.tap=n.click);n=n||{};return n=at.extend({},at.fn.swipe.defaults,n),this.each(function(){var t,e=at(this);e.data(It)||(t=new i(this,n),e.data(It,t))})}.apply(this,arguments);return e},at.fn.swipe.version="1.6.15",at.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:"label, button, input, select, textarea, a, .noSwipe",preventDefaultEvents:!0},at.fn.swipe.phases={PHASE_START:Ct,PHASE_MOVE:St,PHASE_END:jt,PHASE_CANCEL:Et},at.fn.swipe.directions={LEFT:lt,RIGHT:ct,UP:ut,DOWN:pt,IN:ht,OUT:dt},at.fn.swipe.pageScroll={NONE:ft,HORIZONTAL:wt,VERTICAL:xt,AUTO:mt},at.fn.swipe.fingers={ONE:1,TWO:2,THREE:3,FOUR:4,FIVE:5,ALL:kt}}),((a,l)=>{function c(t){var e=Array.prototype.slice.call(arguments,1);return(t.prop||t.attr).apply(t,e)}function u(t,e,n){var i,r;for(i in n)n.hasOwnProperty(i)&&(r=i.replace(/ |$/g,e.eventNamespace),t.bind(r,n[i]))}function p(t,e,n){u(t,n,{focus:function(){e.addClass(n.focusClass)},blur:function(){e.removeClass(n.focusClass),e.removeClass(n.activeClass)},mouseenter:function(){e.addClass(n.hoverClass)},mouseleave:function(){e.removeClass(n.hoverClass),e.removeClass(n.activeClass)},"mousedown touchbegin":function(){t.is(":disabled")||e.addClass(n.activeClass)},"mouseup touchend":function(){e.removeClass(n.activeClass)}})}function h(t,e){t.removeClass(e.hoverClass+" "+e.focusClass+" "+e.activeClass)}function o(t,e,n){n?t.addClass(e):t.removeClass(e)}function s(t,e,n){var i="checked",r=e.is(":"+i);e.prop?e.prop(i,r):r?e.attr(i,i):e.removeAttr(i),o(t,n.checkedClass,r)}function d(t,e,n){o(t,n.disabledClass,e.is(":disabled"))}function f(t,e,n){switch(n){case"after":return t.after(e),t.next();case"before":return t.before(e),t.prev();case"wrap":return t.wrap(e),t.parent()}return null}function m(t,e,n){var i,r,o;return n=l.extend({bind:{},divClass:null,divWrap:"wrap",spanClass:null,spanHtml:null,spanWrap:"wrap"},n=n||{}),i=l("<div />"),r=l("<span />"),e.autoHide&&t.is(":hidden")&&"none"===t.css("display")&&i.hide(),n.divClass&&i.addClass(n.divClass),e.wrapperClass&&i.addClass(e.wrapperClass),n.spanClass&&r.addClass(n.spanClass),o=c(t,"id"),e.useID&&o&&c(i,"id",e.idPrefix+"-"+o),n.spanHtml&&r.html(n.spanHtml),i=f(t,i,n.divWrap),r=f(t,r,n.spanWrap),d(i,t,e),{div:i,span:r}}function r(t,e){return e.wrapperClass?f(t,l("<span />").addClass(e.wrapperClass),"wrap"):null}function g(){return navigator.cpuClass&&!navigator.product}function e(t){return t[0].multiple||(t=c(t,"size"))&&!(t<=1)}function v(t,e){var n="none";u(t,e,{"selectstart dragstart mousedown":returnFalse}),t.css({MozUserSelect:n,msUserSelect:n,webkitUserSelect:n,userSelect:n})}function y(t,e,n){t=""===(t=t.val())?n.fileDefaultHtml:(t=t.split(/[\/\\]+/))[t.length-1];e.text(t)}function b(t,e,n){var i,r=[];for(t.each(function(){for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&(r.push({el:this,name:t,old:this.style[t]}),this.style[t]=e[t])}),n();r.length;)(i=r.pop()).el.style[i.name]=i.old}function _(t,e){var n=t.parents();n.push(t[0]),b(n=n.not(":visible"),{visibility:"hidden",display:"block",position:"absolute"},e)}function w(t,e){return function(){t.unwrap().unwrap().unbind(e.eventNamespace)}}var x=!0,k=!1,T=[{match:function(t){return t.is("a, button, :submit, :reset, input[type='button']")},apply:function(n,t){var e,i,r,o,s=t.submitDefaultHtml;return n.is(":reset")&&(s=t.resetDefaultHtml),r=n.is("a, button")?function(){return n.html()||s}:function(){return((t=c(n,"value"))?l("<span />").text(t).html():"")||s;var t},i=m(n,t,{divClass:t.buttonClass,spanHtml:r()}),e=i.div,p(n,e,t),o=!1,u(e,t,{"click touchend":function(){var t,e;o||n.is(":disabled")||(o=!0,n[0].dispatchEvent?((t=document.createEvent("MouseEvents")).initEvent("click",!0,!0),t=n[0].dispatchEvent(t),n.is("a")&&t&&(t=c(n,"target"),e=c(n,"href"),t&&"_self"!==t?a.open(e,t):document.location.href=e)):n.click(),o=!1)}}),v(e,t),{remove:function(){return e.after(n),e.remove(),n.unbind(t.eventNamespace),n},update:function(){h(e,t),d(e,n,t),n.detach(),i.span.html(r()).append(n)}}}},{match:function(t){return t.is(":checkbox")}
1,apply:function(t,e){var n=m(t,e,{divClass:e.checkboxClass}),i=n.div,r=n.span;return p(t,i,e),u(t,e,{"click touchend":function(){s(r,t,e)}}),s(r,t,e),{remove:w(t,e),update:function(){h(i,e),r.removeClass(e.checkedClass),s(r,t,e),d(i,t,e)}}}},{match:function(t){return t.is(":file")},apply:function(t,e){var n,i,r,o;function s(){y(t,r,e)}return n=m(t,e,{divClass:e.fileClass,spanClass:e.fileButtonClass,spanHtml:e.fileButtonHtml,spanWrap:"after"}),i=n.div,o=n.span,(r=l("<span />").html(e.fileDefaultHtml)).addClass(e.filenameClass),r=f(t,r,"after"),c(t,"size")||c(t,"size",i.width()/10),p(t,i,e),s(),g()?u(t,e,{click:function(){t.trigger("change"),setTimeout(s,0)}}):u(t,e,{change:s}),v(r,e),v(o,e),{remove:function(){return r.remove(),o.remove(),t.unwrap().unbind(e.eventNamespace)},update:function(){h(i,e),y(t,r,e),d(i,t,e)}}}},{match:function(t){return!!t.is("input")&&(t=(" "+c(t,"type")+" ").toLowerCase(),0<=" color date datetime datetime-local email month number password search tel text time url week ".indexOf(t))},apply:function(t,e){var n,i=c(t,"type");return t.addClass(e.inputClass),n=r(t,e),p(t,t,e),e.inputAddTypeAsClass&&t.addClass(i),{remove:function(){t.removeClass(e.inputClass),e.inputAddTypeAsClass&&t.removeClass(i),n&&t.unwrap()},update:!1}}},{match:function(t){return t.is(":radio")},apply:function(t,e){var n=m(t,e,{divClass:e.radioClass}),i=n.div,r=n.span;return p(t,i,e),u(t,e,{"click touchend":function(){l.uniform.update(l(':radio[name="'+c(t,"name")+'"]'))}}),s(r,t,e),{remove:w(t,e),update:function(){h(i,e),s(r,t,e),d(i,t,e)}}}},{match:function(t){return!(!t.is("select")||e(t))},apply:function(e,t){var n,i,r,o;return t.selectAutoWidth&&_(e,function(){o=e.width()}),n=m(e,t,{divClass:t.selectClass,spanHtml:(e.find(":selected:first")||e.find("option:first")).html(),spanWrap:"before"}),i=n.div,r=n.span,t.selectAutoWidth?_(e,function(){b(l([r[0],i[0]]),{display:"block"},function(){var t=r.outerWidth()-r.width();i.width(o+t),r.width(o)})}):i.addClass("fixedWidth"),p(e,i,t),u(e,t,{change:function(){r.html(e.find(":selected").html()),i.removeClass(t.activeClass)},"click touchend":function(){var t=e.find(":selected").html();r.html()!==t&&e.trigger("change")},keyup:function(){r.html(e.find(":selected").html())}}),v(r,t),{remove:function(){return r.remove(),e.unwrap().unbind(t.eventNamespace),e},update:function(){t.selectAutoWidth?(l.uniform.restore(e),e.uniform(t)):(h(i,t),e[0].selectedIndex=e[0].selectedIndex,r.html(e.find(":selected").html()),d(i,e,t))}}}},{match:function(t){return!(!t.is("select")||!e(t))},apply:function(t,e){var n;return t.addClass(e.selectMultiClass),n=r(t,e),p(t,t,e),{remove:function(){t.removeClass(e.selectMultiClass),n&&t.unwrap()},update:!1}}},{match:function(t){return t.is("textarea")},apply:function(t,e){var n;return t.addClass(e.textareaClass),n=r(t,e),p(t,t,e),{remove:function(){t.removeClass(e.textareaClass),n&&t.unwrap()},update:!1}}}];g()&&void 0===a.XMLHttpRequest&&(x=!1),l.uniform={defaults:{activeClass:"active",autoHide:!0,buttonClass:"button",checkboxClass:"checker",checkedClass:"checked",disabledClass:"disabled",eventNamespace:".uniform",fileButtonClass:"action",fileButtonHtml:"Choose File",fileClass:"uploader",fileDefaultHtml:"No file selected",filenameClass:"filename",focusClass:"focus",hoverClass:"hover",idPrefix:"uniform",inputAddTypeAsClass:!0,inputClass:"uniform-input",radioClass:"radio",resetDefaultHtml:"Reset",resetSelector:!1,selectAutoWidth:!0,selectClass:"selector",selectMultiClass:"uniform-multiselect",submitDefaultHtml:"Submit",textareaClass:"uniform",useID:!0,wrapperClass:null},elements:[]},l.fn.uniform=function(i){var t,e,n,r=this;return i=l.extend({},l.uniform.defaults,i),k||(k=!0,n=l('<div style="width:0;height:0;color:'+(e="rgb(120,2,153)")+'">'),l("body").append(n),t=n.get(0),t=(a.getComputedStyle?a.getComputedStyle(t,""):t.currentStyle||t.style||{}).color,n.remove(),t.replace(/ /g,"")!==e&&(x=!1)),x?(i.resetSelector&&l(document).find(i.resetSelector).mouseup(function(){a.setTimeout(function(){l.uniform.update(r)},10)}),this.each(function(){var t,e,n=l(this);if(n.data("uniformed"))l.uniform.update(n);else for(t=0;t<T.length;t+=1)if((e=T[t]).match(n,i))return e=e.apply(n,i),n.data("uniformed",e),void l.uniform.elements.push(n.get(0))})):this},l.uniform.restore=l.fn.uniform.restore=function(t){void 0===t&&(t=l.uniform.elements),l(t).each(function(){var t=l(this),e=t.data("uniformed");e&&(e.remove(),0<=(e=l.inArray(this,l.uniform.elements))&&l.uniform.elements.splice(e,1),t.removeData("uniformed"))})},l.uniform.update=l.fn.uniform.update=function(t){void 0===t&&(t=l.uniform.elements),l(t).each(function(){var t=l(this),e=t.data("uniformed");e&&e.update(t,e.options)})}})(this,jQuery),(t=>{"function"==typeof define&&define.amd?define(["jquery"],t):"object"==typeof module&&module.exports?module.exports=t(require("jquery")):t(jQuery)})(function(l){l.extend(l.fn,{validate:function(t){var i;if(this.length)return(i=l.data(this[0],"validator"))||(this.attr("novalidate","novalidate"),i=new l.validator(t,this[0]),l.data(this[0],"validator",i),i.settings.onsubmit&&(this.on("click.validate",":submit",function(t){i.settings.submitHandler&&(i.submitButton=t.target),l(this).hasClass("cancel")&&(i.cancelSubmit=!0),void 0!==l(this).attr("formnovalidate")&&(i.cancelSubmit=!0)}),this.on("submit.validate",function(n){function t(){var t,e;return!i.settings.submitHandler||(i.submitButton&&(t=l("<input type='hidden'/>").attr("name",i.submitButton.name).val(l(i.submitButton).val()).appendTo(i.currentForm)),e=i.settings.submitHandler.call(i,i.currentForm,n),i.submitButton&&t.remove(),void 0!==e&&e)}return i.settings.debug&&n.preventDefault(),i.cancelSubmit?(i.cancelSubmit=!1,t()):i.form()?i.pendingRequest?!(i.formSubmitted=!0):t():(i.focusInvalid(),!1)})),i);t&&t.debug&&window.console&&console.warn("Nothing selected, can't validate, returning nothing.")},valid:function(){var t,e,n;return l(this[0]).is("form")?t=this.validate().form():(n=[],t=!0,e=l(this[0].form).validate(),this.each(function(){(t=e.element(this)&&t)||(n=n.concat(e.errorList))}),e.errorList=n),t},rules:function(t,e){if(this.length){var n,i,r,o,s,a=this[0];if(t)switch(n=l.data(a.form,"validator").settings,i=n.rules,r=l.validator.staticRules(a),t){case"add":l.extend(r,l.validator.normalizeRule(e)),delete r.messages,i[a.name]=r,e.messages&&(n.messages[a.name]=l.extend(n.messages[a.name],e.messages));break;case"remove":return e?(s={},l.each(e.split(/\s/),function(t,e){s[e]=r[e],delete r[e],"required"===e&&l(a).removeAttr("aria-required")}),s):(delete i[a.name],r)}return(t=l.validator.normalizeRules(l.extend({},l.validator.classRules(a),l.validator.attributeRules(a),l.validator.dataRules(a),l.validator.staticRules(a)),a)).required&&(o=t.required,delete t.required,t=l.extend({required:o},t),l(a).attr("aria-required","true")),t.remote&&(o=t.remote,delete t.remote,t=l.extend(t,{remote:o})),t}}
1}),l.extend(l.expr[":"],{blank:function(t){return!l.trim(""+l(t).val())},filled:function(t){t=l(t).val();return null!==t&&!!l.trim(""+t)},unchecked:function(t){return!l(t).prop("checked")}}),l.validator=function(t,e){this.settings=l.extend(!0,{},l.validator.defaults,t),this.currentForm=e,this.init()},l.validator.format=function(n,t){return 1===arguments.length?function(){var t=l.makeArray(arguments);return t.unshift(n),l.validator.format.apply(this,t)}:(void 0===t||((t=2<arguments.length&&t.constructor!==Array?l.makeArray(arguments).slice(1):t).constructor!==Array&&(t=[t]),l.each(t,function(t,e){n=n.replace(new RegExp("\\{"+t+"\\}","g"),function(){return e})})),n)},l.extend(l.validator,{defaults:{messages:{},groups:{},rules:{},errorClass:"error",pendingClass:"pending",validClass:"valid",errorElement:"label",focusCleanup:!1,focusInvalid:!0,errorContainer:l([]),errorLabelContainer:l([]),onsubmit:!0,ignore:":hidden",ignoreTitle:!1,onfocusin:function(t){this.lastActive=t,this.settings.focusCleanup&&(this.settings.unhighlight&&this.settings.unhighlight.call(this,t,this.settings.errorClass,this.settings.validClass),this.hideThese(this.errorsFor(t)))},onfocusout:function(t){this.checkable(t)||!(t.name in this.submitted)&&this.optional(t)||this.element(t)},onkeyup:function(t,e){9===e.which&&""===this.elementValue(t)||-1!==l.inArray(e.keyCode,[16,17,18,20,35,36,37,38,39,40,45,144,225])||(t.name in this.submitted||t.name in this.invalid)&&this.element(t)},onclick:function(t){t.name in this.submitted?this.element(t):t.parentNode.name in this.submitted&&this.element(t.parentNode)},highlight:function(t,e,n){("radio"===t.type?this.findByName(t.name):l(t)).addClass(e).removeClass(n)},unhighlight:function(t,e,n){("radio"===t.type?this.findByName(t.name):l(t)).removeClass(e).addClass(n)}},setDefaults:function(t){l.extend(l.validator.defaults,t)},messages:{required:"This field is required.",remote:"Please fix this field.",email:"Please enter a valid email address.",url:"Please enter a valid URL.",date:"Please enter a valid date.",dateISO:"Please enter a valid date ( ISO ).",number:"Please enter a valid number.",digits:"Please enter only digits.",equalTo:"Please enter the same value again.",maxlength:l.validator.format("Please enter no more than {0} characters."),minlength:l.validator.format("Please enter at least {0} characters."),rangelength:l.validator.format("Please enter a value between {0} and {1} characters long."),range:l.validator.format("Please enter a value between {0} and {1}."),max:l.validator.format("Please enter a value less than or equal to {0}."),min:l.validator.format("Please enter a value greater than or equal to {0}."),step:l.validator.format("Please enter a multiple of {0}.")},autoCreateRanges:!1,prototype:{init:function(){function t(t){var e=l.data(this.form,"validator"),n="on"+t.type.replace(/^validate/,""),i=e.settings;i[n]&&!l(this).is(i.ignore)&&i[n].call(e,this,t)}this.labelContainer=l(this.settings.errorLabelContainer),this.errorContext=this.labelContainer.length&&this.labelContainer||l(this.currentForm),this.containers=l(this.settings.errorContainer).add(this.settings.errorLabelContainer),this.submitted={},this.valueCache={},this.pendingRequest=0,this.pending={},this.invalid={},this.reset();var n,i=this.groups={};l.each(this.settings.groups,function(n,t){"string"==typeof t&&(t=t.split(/\s/)),l.each(t,function(t,e){i[e]=n})}),n=this.settings.rules,l.each(n,function(t,e){n[t]=l.validator.normalizeRule(e)}),l(this.currentForm).on("focusin.validate focusout.validate keyup.validate",":text, [type='password'], [type='file'], select, textarea, [type='number'], [type='search'], [type='tel'], [type='url'], [type='email'], [type='datetime'], [type='date'], [type='month'], [type='week'], [type='time'], [type='datetime-local'], [type='range'], [type='color'], [type='radio'], [type='checkbox'], [contenteditable]",t).on("click.validate","select, option, [type='radio'], [type='checkbox']",t),this.settings.invalidHandler&&l(this.currentForm).on("invalid-form.validate",this.settings.invalidHandler),l(this.currentForm).find("[required], [data-rule-required], .required").attr("aria-required","true")},form:function(){return this.checkForm(),l.extend(this.submitted,this.errorMap),this.invalid=l.extend({},this.errorMap),this.valid()||l(this.currentForm).triggerHandler("invalid-form",[this]),this.showErrors(),this.valid()},checkForm:function(){this.prepareForm();for(var t=0,e=this.currentElements=this.elements();e[t];t++)this.check(e[t]);return this.valid()},element:function(t){var e,n,i=this.clean(t),r=this.validationTargetFor(i),o=this,s=!0;return void 0===r?delete this.invalid[i.name]:(this.prepareElement(r),this.currentElements=l(r),(n=this.groups[r.name])&&l.each(this.groups,function(t,e){e===n&&t!==r.name&&(i=o.validationTargetFor(o.clean(o.findByName(t))))&&i.name in o.invalid&&(o.currentElements.push(i),s=s&&o.check(i))}),e=!1!==this.check(r),s=s&&e,this.invalid[r.name]=!e,this.numberOfInvalids()||(this.toHide=this.toHide.add(this.containers
1)),this.showErrors(),l(t).attr("aria-invalid",!e)),s},showErrors:function(e){var n;e&&(l.extend((n=this).errorMap,e),this.errorList=l.map(this.errorMap,function(t,e){return{message:t,element:n.findByName(e)[0]}}),this.successList=l.grep(this.successList,function(t){return!(t.name in e)})),this.settings.showErrors?this.settings.showErrors.call(this,this.errorMap,this.errorList):this.defaultShowErrors()},resetForm:function(){l.fn.resetForm&&l(this.currentForm).resetForm(),this.invalid={},this.submitted={},this.prepareForm(),this.hideErrors();var t=this.elements().removeData("previousValue").removeAttr("aria-invalid");this.resetElements(t)},resetElements:function(t){var e;if(this.settings.unhighlight)for(e=0;t[e];e++)this.settings.unhighlight.call(this,t[e],this.settings.errorClass,""),this.findByName(t[e].name).removeClass(this.settings.validClass);else t.removeClass(this.settings.errorClass).removeClass(this.settings.validClass)},numberOfInvalids:function(){return this.objectLength(this.invalid)},objectLength:function(t){var e,n=0;for(e in t)t[e]&&n++;return n},hideErrors:function(){this.hideThese(this.toHide)},hideThese:function(t){t.not(this.containers).text(""),this.addWrapper(t).hide()},valid:function(){return 0===this.size()},size:function(){return this.errorList.length},focusInvalid:function(){if(this.settings.focusInvalid)try{l(this.findLastActive()||this.errorList.length&&this.errorList[0].element||[]).filter(":visible").focus().trigger("focusin")}catch(t){}},findLastActive:function(){var e=this.lastActive;return e&&1===l.grep(this.errorList,function(t){return t.element.name===e.name}).length&&e},elements:function(){var e=this,n={};return l(this.currentForm).find("input, select, textarea, [contenteditable]").not(":submit, :reset, :image, :disabled").not(this.settings.ignore).filter(function(){var t=this.name||l(this).attr("name");return!t&&e.settings.debug&&window.console&&console.error("%o has no name assigned",this),this.hasAttribute("contenteditable")&&(this.form=l(this).closest("form")[0]),!(t in n||!e.objectLength(l(this).rules())||(n[t]=!0,0))})},clean:function(t){return l(t)[0]},errors:function(){var t=this.settings.errorClass.split(" ").join(".");return l(this.settings.errorElement+"."+t,this.errorContext)},resetInternals:function(){this.successList=[],this.errorList=[],this.errorMap={},this.toShow=l([]),this.toHide=l([])},reset:function(){this.resetInternals(),this.currentElements=l([])},prepareForm:function(){this.reset(),this.toHide=this.errors().add(this.containers)},prepareElement:function(t){this.reset(),this.toHide=this.errorsFor(t)},elementValue:function(t){var e=l(t),n=t.type;return"radio"===n||"checkbox"===n?this.findByName(t.name).filter(":checked").val():"number"===n&&void 0!==t.validity?t.validity.badInput?"NaN":e.val():(t=t.hasAttribute("contenteditable")?e.text():e.val(),"file"===n?"C:\\fakepath\\"===t.substr(0,12)?t.substr(12):0<=(e=t.lastIndexOf("/"))||0<=(e=t.lastIndexOf("\\"))?t.substr(e+1):t:"string"==typeof t?t.replace(/\r/g,""):t)},check:function(e){e=this.validationTargetFor(this.clean(e));var t,n,i,r=l(e).rules(),o=l.map(r,function(t,e){return e}).length,s=!1,a=this.elementValue(e);if("function"==typeof r.normalizer){if("string"!=typeof(a=r.normalizer.call(e,a)))throw new TypeError("The normalizer should return a string value.");delete r.normalizer}for(n in r){i={method:n,parameters:r[n]};try{if("dependency-mismatch"===(t=l.validator.methods[n].call(this,a,e,i.parameters))&&1===o)s=!0;else{if(s=!1,"pending"===t)return void(this.toHide=this.toHide.not(this.errorsFor(e)));if(!t)return this.formatAndAdd(e,i),!1}}catch(t){throw this.settings.debug&&window.console&&console.log("Exception occurred when checking element "+e.id+", check the '"+i.method+"' method.",t),t instanceof TypeError&&(t.message+=". Exception occurred when checking element "+e.id+", check the '"+i.method+"' method."),t}}if(!s)return this.objectLength(r)&&this.successList.push(e),!0},customDataMessage:function(t,e){return l(t).data("msg"+e.charAt(0).toUpperCase()+e.substring(1).toLowerCase())||l(t).data("msg")},customMessage:function(t,e){t=this.settings.messages[t];return t&&(t.constructor===String?t:t[e])},findDefined:function(){for(var t=0;t<arguments.length;t++)if(void 0!==arguments[t])return arguments[t]},defaultMessage:function(t,e){var n=this.findDefined(this.customMessage(t.name,e.method),this.customDataMessage(t,e.method),!this.settings.ignoreTitle&&t.title||void 0,l.validator.messages[e.method],"<strong>Warning: No message defined for "+t.name+"</strong>"),i=/\$?\{(\d+)\}/g;return"function"==typeof n?n=n.call(this,e.parameters,t):i.test(n)&&(n=l.validator.format(n.replace(i,"{$1}"),e.parameters)),n},formatAndAdd:function(t,e){var n=this.defaultMessage(t,e);this.errorList.push({message:n,element:t,method:e.method}
vendor: 4,182 bytes, line 1
1),this.errorMap[t.name]=n,this.submitted[t.name]=n},addWrapper:function(t){return t=this.settings.wrapper?t.add(t.parent(this.settings.wrapper)):t},defaultShowErrors:function(){for(var t,e,n=0;this.errorList[n];n++)e=this.errorList[n],this.settings.highlight&&this.settings.highlight.call(this,e.element,this.settings.errorClass,this.settings.validClass),this.showLabel(e.element,e.message);if(this.errorList.length&&(this.toShow=this.toShow.add(this.containers)),this.settings.success)for(n=0;this.successList[n];n++)this.showLabel(this.successList[n]);if(this.settings.unhighlight)for(n=0,t=this.validElements();t[n];n++)this.settings.unhighlight.call(this,t[n],this.settings.errorClass,this.settings.validClass);this.toHide=this.toHide.not(this.toShow),this.hideErrors(),this.addWrapper(this.toShow).show()},validElements:function(){return this.currentElements.not(this.invalidElements())},invalidElements:function(){return l(this.errorList).map(function(){return this.element})},showLabel:function(t,e){var n,i,r,o=this.errorsFor(t),s=this.idOrName(t),a=l(t).attr("aria-describedby");o.length?(o.removeClass(this.settings.validClass).addClass(this.settings.errorClass),o.html(e)):(i=o=l("<"+this.settings.errorElement+">").attr("id",s+"-error").addClass(this.settings.errorClass).html(e||""),this.settings.wrapper&&(i=o.hide().show().wrap("<"+this.settings.wrapper+"/>").parent()),this.labelContainer.length?this.labelContainer.append(i):this.settings.errorPlacement?this.settings.errorPlacement(i,l(t)):i.insertAfter(t),o.is("label")?o.attr("for",s):0===o.parents("label[for='"+this.escapeCssMeta(s)+"']").length&&(i=o.attr("id"),a?a.match(new RegExp("\\b"+this.escapeCssMeta(i)+"\\b"))||(a+=" "+i):a=i,l(t).attr("aria-describedby",a),n=this.groups[t.name])&&l.each((r=this).groups,function(t,e){e===n&&l("[name='"+r.escapeCssMeta(t)+"']",r.currentForm).attr("aria-describedby",o.attr("id"))})),!e&&this.settings.success&&(o.text(""),"string"==typeof this.settings.success?o.addClass(this.settings.success):this.settings.success(o,t)),this.toShow=this.toShow.add(o)},errorsFor:function(t){var e=this.escapeCssMeta(this.idOrName(t)),t=l(t).attr("aria-describedby"),e="label[for='"+e+"'], label[for='"+e+"'] *";return t&&(e=e+", #"+this.escapeCssMeta(t).replace(/\s+/g,", #")),this.errors().filter(e)},escapeCssMeta:function(t){return t.replace(/([\\!"#$%&'()*+,./:;<=>?@\[\]^`{|}~])/g,"\\$1")},idOrName:function(t){return this.groups[t.name]||!this.checkable(t)&&t.id||t.name},validationTargetFor:function(t){return this.checkable(t)&&(t=this.findByName(t.name)),l(t).not(this.settings.ignore)[0]},checkable:function(t){return/radio|checkbox/i.test(t.type)},findByName:function(t){return l(this.currentForm).find("[name='"+this.escapeCssMeta(t)+"']")},getLength:function(t,e){switch(e.nodeName.toLowerCase()){case"select":return l("option:selected",e).length;case"input":if(this.checkable(e))return this.findByName(e.name).filter(":checked").length}return t.length},depend:function(t,e){return!this.dependTypes[typeof t]||this.dependTypes[typeof t](t,e)},dependTypes:{boolean:function(t){return t},string:function(t,e){return!!l(t,e.form).length},function:function(t,e){return t(e)}},optional:function(t){var e=this.elementValue(t);return!l.validator.methods.required.call(this,e,t)&&"dependency-mismatch"},startRequest:function(t){this.pending[t.name]||(this.pendingRequest++,l(t).addClass(this.settings.pendingClass),this.pending[t.name]=!0)},stopRequest:function(t,e){this.pendingRequest--,this.pendingRequest<0&&(this.pendingRequest=0),delete this.pending[t.name],l(t).removeClass(this.settings.pendingClass),e&&0===this.pendingRequest&&this.formSubmitted&&this.form()?(l(this.currentForm).submit(),this.formSubmitted=!1):!e&&0===this.pendingRequest&&this.formSubmitted&&(l(this.currentForm).triggerHandler("invalid-form",[this]),this.formSubmitted=!1)},previousValue:function(t,e){return l.data(t,"previousValue")||l.data(t,"previousValue",{old:null,valid:!0,message:this.defaultMessage(t,{method:e})})},destroy:function(){this.resetForm(),l(this.currentForm).off(".validate").removeData("validator").find(".validate-equalTo-blur").off(".validate-equalTo").removeClass("val
1idate-equalTo-blur")}},classRuleSettings:{required:{required:!0},email:{email:!0},url:{url:!0},date:{date:!0},dateISO:{dateISO:!0},number:{number:!0},digits:{digits:!0},creditcard:{creditcard:!0}},addClassRules:function(t,e){t.constructor===String?this.classRuleSettings[t]=e:l.extend(this.classRuleSettings,t)},classRules:function(t){var e={},t=l(t).attr("class");return t&&l.each(t.split(" "),function(){this in l.validator.classRuleSettings&&l.extend(e,l.validator.classRuleSettings[this])}),e},normalizeAttributeRule:function(t,e,n,i){(i=/min|max|step/.test(n)&&(null===e||/number|range|text/.test(e))&&(i=Number(i),isNaN(i))?void 0:i)||0===i?t[n]=i:e===n&&"range"!==e&&(t[n]=!0)},attributeRules:function(t){var e,n,i={},r=l(t),o=t.getAttribute("type");for(e in l.validator.methods)n="required"===e?(n=t.getAttribute(e),""===n&&(n=!0),!!n):r.attr(e),this.normalizeAttributeRule(i,o,e,n);return i.maxlength&&/-1|2147483647|524288/.test(i.maxlength)&&delete i.maxlength,i},dataRules:function(t){var e,n,i={},r=l(t),o=t.getAttribute("type");for(e in l.validator.methods)n=r.data("rule"+e.charAt(0).toUpperCase()+e.substring(1).toLowerCase()),this.normalizeAttributeRule(i,o,e,n);return i},staticRules:function(t){var e={},n=l.data(t.form,"validator");return e=n.settings.rules?l.validator.normalizeRule(n.settings.rules[t.name])||{}:e},normalizeRules:function(i,r){return l.each(i,function(t,e){if(!1===e)delete i[t];else if(e.param||e.depends){var n=!0;
1switch(typeof e.depends){case"string":n=!!l(e.depends,r.form).length;break;case"function":n=e.depends.call(r,r)}n?i[t]=void 0===e.param||e.param:(l.data(r.form,"validator").resetElements(l(r)),delete i[t])}}),l.each(i,function(t,e){i[t]=l.isFunction(e)&&"normalizer"!==t?e(r):e}),l.each(["minlength","maxlength"],function(){i[this]&&(i[this]=Number(i[this]))}),l.each(["rangelength","range"],function(){var t;i[this]&&(l.isArray(i[this])?i[this]=[Number(i[this][0]),Number(i[this][1])]:"string"==typeof i[this]&&(t=i[this].replace(/[\[\]]/g,"").split(/[\s,]+/),i[this]=[Number(t[0]),Number(t[1])]))}),l.validator.autoCreateRanges&&(null!=i.min&&null!=i.max&&(i.range=[i.min,i.max],delete i.min,delete i.max),null!=i.minlength)&&null!=i.maxlength&&(i.rangelength=[i.minlength,i.maxlength],delete i.minlength,delete i.maxlength),i},normalizeRule:function(t){var e;return"string"==typeof t&&(e={},l.each(t.split(/\s/),function(){e[this]=!0}),t=e),t},addMethod:function(t,e,n){l.validator.methods[t]=e,l.validator.messages[t]=void 0!==n?n:l.validator.messages[t],e.length<3&&l.validator.addClassRules(t,l.validator.normalizeRule(t))},methods:{required:function(t,e,n){return this.depend(n,e)?"select"===e.nodeName.toLowerCase()?(n=l(e).val())&&0<n.length:this.checkable(e)?0<this.getLength(t,e):0<t.length:"dependency-mismatch"},email:function(t,e){return this.optional(e)||/^[a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/.test(t)},url:function(t,e){return this.optional(e)||/^(?:(?:(?:https?|ftp):)?\/\/)(?:\S+(?::\S*)?@)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)(?:\.(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)*(?:\.(?:[a-z\u00a1-\uffff]{2,})).?)(?::\d{2,5})?(?:[/?#]\S*)?$/i.test(t)},date:function(t,e){return this.optional(e)||!/Invalid|NaN/.test(new Date(t).toString())},dateISO:function(t,e){return this.optional(e)||/^\d{4}[\/\-](0?[1-9]|1[012])[\/\-](0?[1-9]|[12][0-9]|3[01])$/.test(t)},number:function(t,e){return this.optional(e)||/^(?:-?\d+|-?\d{1,3}(?:,\d{3})+)?(?:\.\d+)?$/.test(t)},digits:function(t,e){return this.optional(e)||/^\d+$/.test(t)},minlength:function(t,e,n){t=l.isArray(t)?t.length:this.getLength(t,e);return this.optional(e)||n<=t},maxlength:function(t,e,n){t=l.isArray(t)?t.length:this.getLength(t,e);return this.optional(e)||t<=n},rangelength:function(t,e,n){t=l.isArray(t)?t.length:this.getLength(t,e);return this.optional(e)||t>=n[0]&&t<=n[1]},min:function(t,e,n){return this.optional(e)||n<=t},max:function(t,e,n){return this.optional(e)||t<=n},range:function(t,e,n){return this.optional(e)||t>=n[0]&&t<=n[1]},step:function(t,e,n){var i=l(e).attr("type"),r="Step attribute on input type "+i+" is not supported.",o=new RegExp("\\b"+i+"\\b");if(i&&!o.test(["text","number","range"].join()))throw new Error(r);return this.optional(e)||t%n==0},equalTo:function(t,e,n){n=l(n);return this.settings.onfocusout&&n.not(".validate-equalTo-blur").length&&n.addClass("validate-equalTo-blur").on("blur.validate-equalTo",function(){l(e).valid()}),t===n.val()},remote:function(i,r,t,o){if(this.optional(r))return"dependency-mismatch";o="string"==typeof o&&o||"remote";var s,e,a=this.previousValue(r,o);return this.settings.messages[r.name]||(this.settings.messages[r.name]={}),a.originalMessage=a.originalMessage||this.settings.messages[r.name][o],this.settings.messages[r.name][o]=a.message,e=l.param(l.extend({data:i},(t="string"==typeof t?{url:t}:t).data)),a.old===e?a.valid:(a.old=e,(s=this).startRequest(r),(e={})[r.name]=i,l.ajax(l.extend(!0,{mode:"abort",port:"validate"+r.name,dataType:"json",data:e,context:s.currentForm,success:function(t){var e,n=!0===t||"true"===t;s.settings.messages[r.name][o]=a.originalMessage,n?(e=s.formSubmitted,s.resetInternals(),s.toHide=s.errorsFor(r),s.formSubmitted=e,s.successList.push(r),s.invalid[r.name]=!1,s.showErrors()):(e={},t=t||s.defaultMessage(r,{method:o,parameters:i}),e[r.name]=a.message=t,s.invalid[r.name]=!0,s.showErrors(e)),a.valid=n,s.stopRequest(r,
1n)}},t)),"pending")}}});var n,r={};l.ajaxPrefilter?l.ajaxPrefilter(function(t,e,n){var i=t.port;"abort"===t.mode&&(r[i]&&r[i].abort(),r[i]=n)}):(n=l.ajax,l.ajax=function(t){var e=("mode"in t?t:l.ajaxSettings).mode,t=("port"in t?t:l.ajaxSettings).port;return"abort"===e?(r[t]&&r[t].abort(),r[t]=n.apply(this,arguments),r[t]):n.apply(this,arguments)})}),(t=>{var e,n;"function"==typeof define&&define.amd?define(t):"object"==typeof exports?module.exports=t():(e=window.Cookies,(n=window.Cookies=t()).noConflict=function(){return window.Cookies=e,n})})(function(){function d(){for(var t=0,e={};t<arguments.length;t++){var n,i=arguments[t];for(n in i)e[n]=i[n]}return e}return function t(p){function h(t,e,n){var i,r;if("undefined"!=typeof document){if(1<arguments.length){"number"==typeof(n=d({path:"/"},h.defaults,n)).expires&&((r=new Date).setMilliseconds(r.getMilliseconds()+864e5*n.expires),n.expires=r);try{i=JSON.stringify(e),/^[\{\[]/.test(i)&&(e=i)}catch(t){}return e=p.write?p.write(e,t):encodeURIComponent(String(e)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),t=(t=(t=encodeURIComponent(String(t))).replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent)).replace(/[\(\)]/g,escape),document.cookie=[t,"=",e,n.expires&&"; expires="+n.expires.toUTCString(),n.path&&"; path="+n.path,n.domain&&"; domain="+n.domain,n.secure?"; secure":""].join("")}t||(i={});for(var o=document.cookie?document.cookie.split("; "):[],s=/(%[0-9A-Z]{2})+/g,a=0;a<o.length;a++){var l=o[a].split("=");'"'===(u=l.slice(1).join("=")).charAt(0)&&(u=u.slice(1,-1));try{var c=l[0].replace(s,decodeURIComponent),u=p.read?p.read(u,c):p(u,c)||u.replace(s,decodeURIComponent);if(this.json)try{u=JSON.parse(u)}catch(t){}if(t===c){i=u;break}t||(i[c]=u)}catch(t){}}return i}}return(h.set=h).get=function(t){return h(t)},h.getJSON=function(){return h.apply({json:!0},[].slice.call(arguments))},h.defaults={},h.remove=function(t,e){h(t,"",d(e,{expires:-1}))},h.withConverter=t,h}(function(){})}),(t=>{var e=((i,h)=>{var d,f,L,R,$,m,g,F,v,B,H,z,y,b,_,w,x,U,V,q,W,n,K,Q,Y,G,k,T,C,X,e,J,Z,tt,S,et,nt,it,rt,ot,r,j,o,st,s,E,t,c,at,a,lt,ct,l,ut,u,p,O,P,A,pt,I,ht,M,N,dt,ft,mt,D,gt,vt={lazyClass:"lazyload",loadedClass:"lazyloaded",loadingClass:"lazyloading",preloadClass:"lazypreload",errorClass:"lazyerror",autosizesClass:"lazyautosizes",srcAttr:"data-src",srcsetAttr:"data-srcset",sizesAttr:"data-sizes",minSize:40,customMedia:{},init:!0,expFactor:1.5,hFac:.8,loadMode:2,loadHidden:!0,ricTimeout:0,throttleDelay:125};for(gt in f=i.lazySizesConfig||i.lazysizesConfig||{},vt)gt in f||(f[gt]=vt[gt]);return h&&h.getElementsByClassName?(j=h.documentElement,o=i.Date,st=i.HTMLPictureElement,E="getAttribute",t=i[s="addEventListener"],c=i.setTimeout,at=i.requestAnimationFrame||c,a=i.requestIdleCallback,lt=/^picture$/i,ct=["load","error","lazyincluded","_lazyloaded"],l={},ut=Array.prototype.forEach,u=function(t,e){return l[e]||(l[e]=new RegExp("(\\s|^)"+e+"(\\s|$)")),l[e].test(t[E]("class")||"")&&l[e]},p=function(t,e){u(t,e)||t.setAttribute("class",(t[E]("class")||"").trim()+" "+e)},O=function(t,e){(e=u(t,e))&&t.setAttribute("class",(t[E]("class")||"").replace(e," "))},P=function(e,n,t){var i=t?s:"removeEventListener";t&&P(e,n),ct.forEach(function(t){e[i](t,n)})},A=function(t,e,n,i,r){var o=h.createEvent("Event");return(n=n||{}).instance=d,o.initEvent(e,!i,!r),o.detail=n,t.dispatchEvent(o),o},pt=function(t,e){var n;!st&&(n=i.picturefill||f.pf)?(e&&e.src&&!t[E]("srcset")&&t.setAttribute("srcset",e.src),n({reevaluate:!0,elements:[t]})):e&&e.src&&(t.src=e.src)},I=function(t,e){return(getComputedStyle(t,null)||{})[e]},ht=function(t,e,n){for(n=n||t.offsetWidth;n<f.minSize&&e&&!t._lazysizesWidth;)n=e.offsetWidth,e=e.parentNode;return n},ot=[],r=rt=[],jt._lsFlush=St,M=jt,N=function(n,t){return t?function(){M(n)}:function(){var t=this,e=arguments;M(function(){n.apply(t,e)})}},dt=function(t){function e(){var t=o.now()-i;t<99?c(e,99-t):(a||r)(r)}var n,i,r=function(){n=null,t()};return function(){i=o.now(),n=n||c(e,99)}},Q=/^img$/i,Y=/^iframe$/i,G="onscroll"in i&&!/(gle|ing)bot/.test(navigator.userAgent),C=-1,X=function(t){return(x=null==x?"hidden"==I(h.body,"visibility"):x)||"hidden"
1!=I(t.parentNode,"visibility")&&"hidden"!=I(t,"visibility")},U=_t,q=T=k=0,W=f.throttleDelay,n=f.ricTimeout,K=a&&49<n?function(){a(Ct,{timeout:n}),n!==f.ricTimeout&&(n=f.ricTimeout)}:N(function(){c(Ct)},!0),J=N(wt),Z=function(t){J({target:t.target})},tt=N(function(e,n,t,i,r){var o,s,a;if(!(s=A(e,"lazybeforeunveil",n)).defaultPrevented){if(i&&(t?p(e,f.autosizesClass):e.setAttribute("sizes",i)),t=e[E](f.srcsetAttr),i=e[E](f.srcAttr),r&&(o=(l=e.parentNode)&<.test(l.nodeName||"")),a=n.firesLoad||"src"in e&&(t||i||o),s={target:e},p(e,f.loadingClass),a&&(clearTimeout(F),F=c(bt,2500),P(e,Z,!0)),o&&ut.call(l.getElementsByTagName("source"),xt),t)e.setAttribute("srcset",t);else if(i&&!o)if(Y.test(e.nodeName)){n=e;var l=i;try{n.contentWindow.location.replace(l)}catch(t){n.src=l}}else e.src=i;r&&(t||o)&&pt(e,{src:i})}e._lazyRace&&delete e._lazyRace,O(e,f.lazyClass),M(function(){var t=e.complete&&1<e.naturalWidth;a&&!t||(t&&p(e,"ls-is-cached"),wt(s),e._lazyCache=!0,c(function(){"_lazyCache"in e&&delete e._lazyCache},9)),"lazy"==e.loading&&T--},!0)}),et=dt(function(){f.loadMode=3,e()}),ft={_:function(){B=o.now(),d.elements=h.getElementsByClassName(f.lazyClass),m=h.getElementsByClassName(f.lazyClass+" "+f.preloadClass),t("scroll",e,!0),t("resize",e,!0),i.MutationObserver?new MutationObserver(e).observe(j,{childList:!0,subtree:!0,attributes:!0}):(j[s]("DOMNodeInserted",e,!0),j[s]("DOMAttrModified",e,!0),setInterval(e,999)),t("hashchange",e,!0),["focus","mouseover","click","load","transitionend","animationend"].forEach(function(t){h[s](t,e,!0)}),/d$|^c/.test(h.readyState)?Tt():(t("load",Tt),h[s]("DOMContentLoaded",e),c(Tt,2e4)),d.elements.length?(_t(),M._lsFlush()):e()},checkElems:e=function(t){var e;(t=!0===t)&&(n=33),V||(V=!0,(e=W-(o.now()-q))<0&&(e=0),t||e<9?K():c(K,e))},unveil:S=function(t){var e,n,i,r;t._lazyRace||!(!(r="auto"==(i=(n=Q.test(t.nodeName))&&(t[E](f.sizesAttr)||t[E]("sizes"))))&&g||!n||!t[E]("src")&&!t.srcset||t.complete||u(t,f.errorClass))&&u(t,f.lazyClass)||(e=A(t,"lazyunveilread").detail,r&&mt.updateElem(t,!0,t.offsetWidth),t._lazyRace=!0,T++,tt(t,e,r,i,n))},_aLSL:kt},R=N(function(t,e,n,i){var r,o,s;if(t._lazysizesWidth=i,t.setAttribute("sizes",i+="px"),lt.test(e.nodeName||""))for(o=0,s=(r=e.getElementsByTagName("source")).length;o<s;o++)r[o].setAttribute("sizes",i);n.detail.dataAttr||pt(t,n.detail)}),mt={_:function(){L=h.getElementsByClassName(f.autosizesClass),t("resize",$)},checkElems:$=dt(function(){var t,e=L.length;if(e)for(t=0;t<e;t++)yt(L[t])}),updateElem:yt},D=function(){!D.i&&h.getElementsByClassName&&(D.i=!0,mt._(),ft._())},c(function(){f.init&&D()}),d={cfg:f,autoSizer:mt,loader:ft,init:D,uP:pt,aC:p,rC:O,hC:u,fire:A,gW:ht,rAF:M}):{init:function(){},cfg:f,noSupport:!0};function yt(t,e,n){var i=t.parentNode;i&&(n=ht(t,i,n),(e=A(t,"lazybeforesizes",{width:n,dataAttr:!!e})).defaultPrevented||(n=e.detail.width)&&n!==t._lazysizesWidth&&R(t,i,e,n))}function bt(t){T--,t&&!(T<0)&&t.target||(T=0)}function _t(){var t,e,n,i,r,o,s,a,l,c,u,p=d.elements;if((v=f.loadMode)&&T<8&&(t=p.length)){for(e=0,C++;e<t;e++)if(p[e]&&!p[e]._lazyRace)if(!G||d.prematureUnveil&&d.prematureUnveil(p[e]))S(p[e]);else if((s=p[e][E]("data-expand"))&&(r=+s)||(r=k),l||(l=!f.expand||f.expand<1?500<j.clientHeight&&500<j.clientWidth?500:370:f.expand,c=(d._defEx=l)*f.expFactor,u=f.hFac,x=null,k<c&&T<1&&2<C&&2<v&&!h.hidden?(k=c,C=0):k=1<v&&1<C&&T<6?l:0),a!==r&&(H=innerWidth+r*u,z=innerHeight+r,o=-1*r,a=r),c=p[e].getBoundingClientRect(),(w=c.bottom)>=o&&(y=c.top)<=z&&(_=c.right)>=o*u&&(b=c.left)<=H&&(w||_||b||y)&&(f.loadHidden||X(p[e]))&&(g&&T<3&&!s&&(v<3||C<4)||((t,e)=>{var n,i=t,r=X(t);for(y-=e,w+=e,b-=e,_+=e;r&&(i=i.offsetParent)&&i!=h.body&&i!=j;)(r=0<(I(i,"opacity")||1))&&"visible"!=I(i,"overflow")&&(n=i.getBoundingClientRect(),r=_>n.left&&b<n.right&&w>n.top-1&&y<n.bottom+1);return r})(p[e],r))){if(S(p[e]),i=!0,9<T)break}else!i&&g&&!n&&T<4&&C<4&&2<v&&(m[0]||f.preloadAfterLoad)&&(m[0]||!s&&(w||_||b||y||"auto"!=p[e][E](f.sizesAttr)))&&(n=m[0]||p[e]);n&&!i&&S(n)}}function wt(t){var e=t.target;e._lazyCache?delete e._lazyCache:(bt(t),p(e,f.loadedClass),O(e,f.loadingClass),P(e,Z),A(e,"lazyloaded"))}function xt(t){var e,n=t[E](f.srcsetAttr);(e=f.customMedia[t[E]("data-media")||t[E]("media")])&&t.setAttribute("media",e),n&&t.setAttribute("srcset",n
1)}function kt(){3==f.loadMode&&(f.loadMode=2),et()}function Tt(){g||(o.now()-B<999?c(Tt,999):(g=!0,f.loadMode=3,e(),t("scroll",kt,!0)))}function Ct(){V=!1,q=o.now(),U()}function St(){var t=r;for(r=rt.length?ot:rt,it=!(nt=!0);t.length;)t.shift()();nt=!1}function jt(t,e){nt&&!e?t.apply(this,arguments):(r.push(t),it||(it=!0,(h.hidden?c:at)(St)))}})(t,t.document);t.lazySizes=e,"object"==typeof module&&module.exports&&(module.exports=e)})(void 0!==window?window:{}),(t=>{"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?module.exports=t():window.noUiSlider=t()})(function(){function N(t){var e=t.getBoundingClientRect(),t=t.ownerDocument.documentElement,n=B();return/webkit.*Chrome.*Mobile/i.test(navigator.userAgent)&&(n.x=0),{top:e.top+n.y-t.clientTop,left:e.left+n.x-t.clientLeft}}function h(t){return"number"==typeof t&&!isNaN(t)&&isFinite(t)}function D(t,e,n){$(t,e),setTimeout(function(){F(t,e)},n)}function L(t){return Math.max(Math.min(t,100),0)}function R(t){return Array.isArray(t)?t:[t]}function $(t,e){t.classList?t.classList.add(e):t.className+=" "+e}function F(t,e){t.classList?t.classList.remove(e):t.className=t.className.replace(new RegExp("(^|\\b)"+e.split(" ").join("|")+"(\\b|$)","gi")," ")}function B(){var t=void 0!==window.pageXOffset,e="CSS1Compat"===(document.compatMode||"");return{x:t?window.pageXOffset:(e?document.documentElement:document.body).scrollLeft,y:t?window.pageYOffset:(e?document.documentElement:document.body).scrollTop}}function d(t,e){return 100/(e-t)}function f(t,e){return 100*e/(t[1]-t[0])}function s(t,e){for(var n=1;t>=e[n];)n+=1;return n}function e(t,e,n){var i,r,o;return n>=t.slice(-1)[0]?100:(i=s(n,t),o=t[i-1],r=e[i-1],e=e[i],r+(n=n,f(o=[o,t[i]],o[0]<0?n+Math.abs(o[0]):n-o[0])/d(r,e)))}function n(t,e,n,i){var r,o;return 100===i?i:(r=s(i,t),n?(n=t[r-1],((o=t[r])-n)/2<i-n?o:n):e[r-1]?t[r-1]+(o=i-t[r-1],n=e[r-1],Math.round(o/n)*n):i)}function i(t,e,n,i){this.xPct=[],this.xVal=[],this.xSteps=[i||!1],this.xNumSteps=[!1],this.snap=e,this.direction=n;var r,o,s,a,l=[];for(r in t)t.hasOwnProperty(r)&&l.push([t[r],r]);for(l.length&&"object"==typeof l[0][0]?l.sort(function(t,e){return t[0][0]-e[0][0]}):l.sort(function(t,e){return t[0]-e[0]}),r=0;r<l.length;r++){p=u=c=void 0;var c=l[r][1],u=l[r][0],p=this;if("number"==typeof u&&(u=[u]),"[object Array]"!==Object.prototype.toString.call(u))throw new Error("noUiSlider: 'range' contains invalid value.");if(!h(c="min"===c?0:"max"===c?100:parseFloat(c))||!h(u[0]))throw new Error("noUiSlider: 'range' value isn't numeric.");p.xPct.push(c),p.xVal.push(u[0]),c?p.xSteps.push(!isNaN(u[1])&&u[1]):isNaN(u[1])||(p.xSteps[0]=u[1])}for(this.xNumSteps=this.xSteps.slice(0),r=0;r<this.xNumSteps.length;r++)o=r,s=this.xNumSteps[r],a=this,s&&(a.xSteps[o]=f([a.xVal[o],a.xVal[o+1]],s)/d(a.xPct[o],a.xPct[o+1]))}i.prototype.getMargin=function(t){return 2===this.xPct.length&&f(this.xVal,t)},i.prototype.toStepping=function(t){return t=e(this.xVal,this.xPct,t),t=this.direction?100-t:t},i.prototype.fromStepping=function(t){return this.direction&&(t=100-t),e=this.xVal,n=this.xPct,100<=(t=t)?e.slice(-1)[0]:(i=s(t,n),r=e[i-1],o=n[i-1],(t-o)*d(o,n[i])*((t=[r,e[i]])[1]-t[0])/100+t[0]);var e,n,i,r,o},i.prototype.getStep=function(t){return this.direction&&(t=100-t),t=n(this.xPct,this.xSteps,this.snap,t),t=this.direction?100-t:t},i.prototype.getApplicableStep=function(t){var e=s(t,this.xPct),t=100===t?2:1;return[this.xNumSteps[e-2],this.xVal[e-t],this.xNumSteps[e-t]]},i.prototype.convert=function(t){return this.getStep(this.toStepping(t))};var t={to:function(t){return void 0!==t&&t.toFixed(2)},from:Number};function o(t,e){if(!h(e))throw new Error("noUiSlider: 'step' is not numeric.");t.singleStep=e}function a(t,e){if("object"!=typeof e||Array.isArray(e))throw new Error("noUiSlider: 'range' is not an object.");if(void 0===e.min||void 0===e.max)throw new Error("noUiSlider: Missing 'min' or 'max' in 'range'.");if(e.min===e.max)throw new Error("noUiSlider: 'range' 'min' and 'max' cannot be equal.");t.spectrum=new i(e,t.snap,t.dir,t.singleStep)}function l(t,e){if(e=R(e),!Array.isArray(e)||!e.length||2<e.length)throw new Error("noUiSlider: 'start' option is incorrect.");t.handles=e.length,t.start=e}function c(t,e){if("boolean"!=typeof(t.snap=e))throw new Error("noUiSlider: 'snap' option must be a boolean.")}function u(t,e){if("boolean"!=typeof(t.animate=e))throw new Error("noUiSlider: 'animate' option must be a boolean.")}function p(t,e){if("number"!=typeof(t.animationDuration=e))throw new Error("noUiSlider: 'animationDuration' option must be a number.")}function m(t,e){if("lower"===e&&1===t.handles)t.connect=1;else if("upper"===e&&1===t.handles)t.connect=2;else if(!0===e&&2===t.handles)t.connect=3;else{if(!1!==e)throw new Error("noUiSlider: 'connect' option doesn't match handle count.");t.connect=0}}function g(t,e){switch(e){case"horizontal":t.ort=0;break;case"vertical":t.ort=1;break;default:throw new Error("noUiSlider: 'orientation' option is invali
1d.")}}function v(t,e){if(!h(e))throw new Error("noUiSlider: 'margin' option must be numeric.");if(0!==e&&(t.margin=t.spectrum.getMargin(e),!t.margin))throw new Error("noUiSlider: 'margin' option is only supported on linear sliders.")}function y(t,e){if(!h(e))throw new Error("noUiSlider: 'limit' option must be numeric.");if(t.limit=t.spectrum.getMargin(e),!t.limit)throw new Error("noUiSlider: 'limit' option is only supported on linear sliders.")}function b(t,e){switch(e){case"ltr":t.dir=0;break;case"rtl":t.dir=1,t.connect=[0,2,1,3][t.connect];break;default:throw new Error("noUiSlider: 'direction' option was not recognized.")}}function _(t,e){if("string"!=typeof e)throw new Error("noUiSlider: 'behaviour' must be a string containing options.");var n=0<=e.indexOf("tap"),i=0<=e.indexOf("drag"),r=0<=e.indexOf("fixed"),o=0<=e.indexOf("snap"),e=0<=e.indexOf("hover");if(i&&!t.connect)throw new Error("noUiSlider: 'drag' behaviour must be used with 'connect': true.");t.events={tap:n||o,drag:i,fixed:r,snap:o,hover:e}}function w(t,e){var n;if(!1!==e)if(!0===e)for(t.tooltips=[],n=0;n<t.handles;n++)t.tooltips.push(!0);else{if(t.tooltips=R(e),t.tooltips.length!==t.handles)throw new Error("noUiSlider: must pass a formatter for all handles.");t.tooltips.forEach(function(t){if("boolean"!=typeof t&&("object"!=typeof t||"function"!=typeof t.to))throw new Error("noUiSlider: 'tooltips' must be passed a formatter or 'false'.")})}}function x(t,e){if("function"==typeof(t.format=e).to&&"function"==typeof e.from)return!0;throw new Error("noUiSlider: 'format' requires 'to' and 'from' methods.")}function k(t,e){if(void 0!==e&&"string"!=typeof e&&!1!==e)throw new Error("noUiSlider: 'cssPrefix' must be a string or `false`.");t.cssPrefix=e}function T(t,e){if(void 0!==e&&"object"!=typeof e)throw new Error("noUiSlider: 'cssClasses' must be an object.");if("string"==typeof t.cssPrefix)for(var n in t.cssClasses={},e)e.hasOwnProperty(n)&&(t.cssClasses[n]=t.cssPrefix+e[n]);else t.cssClasses=e}function H(e){var n={margin:0,limit:0,animate:!0,animationDuration:300,format:t},i={step:{r:!1,t:o},start:{r:!0,t:l},connect:{r:!0,t:m},direction:{r:!0,t:b},snap:{r:!1,t:c},animate:{r:!1,t:u},animationDuration:{r:!1,t:p},range:{r:!0,t:a},orientation:{r:!1,t:g},margin:{r:!1,t:v},limit:{r:!1,t:y},behaviour:{r:!0,t:_},format:{r:!1,t:x},tooltips:{r:!1,t:w},cssPrefix:{r:!1,t:k}
1,cssClasses:{r:!1,t:T}},r={connect:!1,direction:"ltr",behaviour:"tap",orientation:"horizontal",cssPrefix:"noUi-",cssClasses:{target:"target",base:"base",origin:"origin",handle:"handle",handleLower:"handle-lower",handleUpper:"handle-upper",horizontal:"horizontal",vertical:"vertical",background:"background",connect:"connect",ltr:"ltr",rtl:"rtl",draggable:"draggable",drag:"state-drag",tap:"state-tap",active:"active",stacking:"stacking",tooltip:"tooltip",pips:"pips",pipsHorizontal:"pips-horizontal",pipsVertical:"pips-vertical",marker:"marker",markerHorizontal:"marker-horizontal",markerVertical:"marker-vertical",markerNormal:"marker-normal",markerLarge:"marker-large",markerSub:"marker-sub",value:"value",valueHorizontal:"value-horizontal",valueVertical:"value-vertical",valueNormal:"value-normal",valueLarge:"value-large",valueSub:"value-sub"}};return Object.keys(i).forEach(function(t){if(void 0===e[t]&&void 0===r[t]){if(i[t].r)throw new Error("noUiSlider: '"+t+"' is required.");return!0}i[t].t(n,(void 0===e[t]?r:e)[t])}),n.pips=e.pips,n.style=n.ort?"top":"left",n}function r(t,h,e){var o,i,n,r,d=window.navigator.pointerEnabled?{start:"pointerdown",move:"pointermove",end:"pointerup"}:window.navigator.msPointerEnabled?{start:"MSPointerDown",move:"MSPointerMove",end:"MSPointerUp"}:{start:"mousedown touchstart",move:"mousemove touchmove",end:"mouseup touchend"},v=t,c=[-1,-1],y=h.spectrum,l=[],s={};function a(t,e){return!!h.tooltips[e]&&((e=document.createElement("div")).className=h.cssClasse
1s.tooltip,t.firstChild.appendChild(e))}function b(n,i,r){var t=document.createElement("div"),o="",s=[h.cssClasses.valueNormal,h.cssClasses.valueLarge,h.cssClasses.valueSub],a=[h.cssClasses.markerNormal,h.cssClasses.markerLarge,h.cssClasses.markerSub],l=[h.cssClasses.valueHorizontal,h.cssClasses.valueVertical],c=[h.cssClasses.markerHorizontal,h.cssClasses.markerVertical];function u(t,e,n){return'class="'+(n=n[1],i=e===h.cssClasses.value,e)+" "+(i?l:c)[h.ort]+" "+(i?s:a)[n]+'" style="'+h.style+": "+t+'%"';var i}return $(t,h.cssClasses.pips),$(t,0===h.ort?h.cssClasses.pipsHorizontal:h.cssClasses.pipsVertical),Object.keys(n).forEach(function(t){var e;e=n[t=t],y.direction&&(t=100-t),e[1]=e[1]&&i?i(e[0],e[1]):e[1],o+="<div "+u(t,h.cssClasses.marker,e)+"></div>",e[1]&&(o+="<div "+u(t,h.cssClasses.value,e)+">"+r.to(e[0])+"</div>")}),t.innerHTML=o,t}function u(t){var u,p,h,d,f,m,g,e=t.mode,n=t.density||1,i=t.filter||!1,r=((t,e,n)=>{if("range"===t||"steps"===t)return y.xVal;if("count"===t){var i,r=100/(e-1),o=0;for(e=[];(i=o++*r)<=100;)e.push(i);t="positions"}return"positions"===t?e.map(function(t){return y.fromStepping(n?y.getStep(t):t)}):"values"===t?n?e.map(function(t){return y.fromStepping(y.getStep(y.toStepping(t)))}):e:void 0})(e,t.values||!1,t.stepped||!1),e=(u=n,p=e,h=r,n=y.direction,d={},e=y.xVal[0],r=y.xVal[y.xVal.length-1],m=f=!1,g=0,y.direction=0,(h=h.slice().sort(function(t,e){return t-e}).filter(function(t){return!this[t]&&(this[t]=!0)},{}))[0]!==e&&(h.unshift(e),f=!0),h[h.length-1]!==r&&(h.push(r),m=!0),h.forEach(function(t,e){var n,i,r,o,s,a,l=h[e+1],c=(c="steps"===p?y.xNumSteps[e]:c)||l-t;if(!1!==t&&void 0!==l)for(n=t;n<=l;n=+(n+c).toFixed(7)){for(a=(o=(r=y.toStepping(n))-g)/(s=Math.round(o/u)),i=1;i<=s;i+=1)d[(g+i*a).toFixed(5)]=["x",0];o=-1<h.indexOf(n)?1:"steps"===p?2:0,!e&&f&&(o=0),n===l&&m||(d[r.toFixed(5)]=[n,o]),g=r}}),y.direction=n,d),r=t.format||{to:Math.round};return v.appendChild(b(e,i,r))}function p(){var t=P.getBoundingClientRect(),e="offset"+["Width","Height"][h.ort];return 0===h.ort?t.width||P[e]:t.height||P[e]}function f(n,i,r){for(var t=0;t<h.handles;t++)if(-1===c[t])return;void 0!==i&&1!==h.handles&&(i=Math.abs(i-h.dir)),Object.keys(s).forEach(function(t){var e=t.split(".")[0];n===e&&s[t].forEach(function(t){t.call(o,R(E()),i,R(m(Array.prototype.slice.call(l))),r||!1,c)})})}function m(t){return 1===t.length?t[0]:h.dir?t.reverse():t}function g(c,e,u,p){function n(t){var e,n,i,r,o,s,a,l;
1return!(v.hasAttribute("disabled")||(n=v,e=h.cssClasses.tap,n.classList?n.classList.contains(e):new RegExp("\\b"+e+"\\b").test(n.className))||(e=t,n=p.pageOffset,e.preventDefault(),o=0===e.type.indexOf("touch"),s=0===e.type.indexOf("mouse"),a=0===e.type.indexOf("pointer"),0===(l=e).type.indexOf("MSPointer")&&(a=!0),o&&(i=e.changedTouches[0].pageX,r=e.changedTouches[0].pageY),n=n||B(),(s||a)&&(i=e.clientX+n.x,r=e.clientY+n.y),l.pageOffset=n,l.points=[i,r],l.cursor=s||a,t=l,c===d.start&&void 0!==t.buttons&&1<t.buttons)||p.hover&&t.buttons)&&(t.calcPoint=t.points[h.ort],void u(t,p))}var i=[];return c.split(" ").forEach(function(t){e.addEventListener(t,n,!1),i.push([t,n])}),i}function _(t,e){if(-1===navigator.appVersion.indexOf("MSIE 9")&&0===t.buttons&&0!==e.buttonsProperty)return w(t,e);var n,i,r,o,s=e.handles||A,a=!1,t=100*(t.calcPoint-e.start)/e.baseSize,l=s[0]===A[0]?0:1;if(r=1<s.length,o=(t=t)+(i=e.positions)[0],t+=i[1],i=r?(o<0&&(t+=Math.abs(o)),100<t&&(o-=t-100),[L(o),L(t)]):[o,t],a=S(s[0],i[l],1===s.length),1<s.length){if(a=S(s[1],i[l?0:1],!1)||a)for(n=0;n<e.handles.length;n++)f("slide",n)}else a&&f("slide",l)}
1function w(t,e){var n=P.querySelector("."+h.cssClasses.active),i=e.handles[0]===A[0]?0:1,r=(null!==n&&F(n,h.cssClasses.active),t.cursor&&(document.body.style.cursor="",document.body.removeEventListener("selectstart",document.body.noUiListener)),document.documentElement);r.noUiListeners.forEach(function(t){r.removeEventListener(t[0],t[1])}),F(v,h.cssClasses.drag),f("set",i),f("change",i),void 0!==e.handleNumber&&f("end",e.handleNumber)}function x(t,e){"mouseout"===t.type&&"HTML"===t.target.nodeName&&null===t.relatedTarget&&w(t,e)}function k(t,e){var n=document.documentElement;if(1===e.handles.length){if(e.handles[0].hasAttribute("disabled"))return!1;$(e.handles[0].children[0],h.cssClasses.active)}t.preventDefault(),t.stopPropagation();var i=g(d.move,n,_,{start:t.calcPoint,baseSize:p(),pageOffset:t.pageOffset,handles:e.handles,handleNumber:e.handleNumber,buttonsProperty:t.buttons,positions:[c[0],c[A.length-1]]}),r=g(d.end,n,w,{handles:e.handles,handleNumber:e.handleNumber}),o=g("mouseout",n,x,{handles:e.handles,handleNumber:e.handleNumber});n.noUiListeners=i.concat(r,o),t.cursor&&(document.body.style.cursor=getComputedStyle(t.target).cursor,1<A.length&&$(v,h.cssClasses.drag),n=function(){return!1},document.body.noUiListener=n,document.body.addEventListener("selectstart",n,!1)),void 0!==e.handleNumber&&f("start",e.handleNumber)}function T(t){var e,n=t.calcPoint,i=0;if(t.stopPropagation(),A.forEach(function(t){i+=N(t)[h.style]}),e=n<i/2||1===A.length?0:1,A[e].hasAttribute("disabled")&&(e=e?0:1),n=100*(n-=N(P)[h.style])/p(),h.events.snap||D(v,h.cssClasses.tap,h.animationDuration),A[e].hasAttribute("disabled"))return!1;S(A[e],n),f("slide",e,!0),f("set",e,!0),f("change",e,!0),h.events.snap&&k(t,{handles:[A[e]]})}function C(t){var t=t.calcPoint-N(P)[h.style],t=y.getStep(100*t/p()),e=y.fromStepping(t);Object.keys(s).forEach(function(t){"hover"===t.split(".")[0]&&s[t].forEach(function(t){t.call(o,e)})})}function S(t,e,n){var i=t!==A[0]?1:0,r=c[0]+h.margin,o=c[1]-h.margin,s=c[0]+h.limit,a=c[1]-h.limit;return 1<A.length&&(e=i?Math.max(e,r):Math.min(e,o)),!1!==n&&h.limit&&1<A.length&&(e=i?Math.min(e,s):Math.max(e,a)),(e=L(e=y.getStep(e)))!==c[i]&&(window.requestAnimationFrame?window.requestAnimationFrame(function(){t.style[h.style]=e+"%"}):t.style[h.style]=e+"%",t.previousSibling||(F(t,h.cssClasses.stacking),50<e&&$(t,h.cssClasses.stacking)),c[i]=e,l[i]=y.fromStepping(e),f("update",i),!0)}function j(t,e){var n,i,r,o,s=R(t),a=(e=void 0===e||!!e,h.dir&&1<h.handles&&s.reverse(),h.animate&&-1!==c[0]&&D(v,h.cssClasses.tap,h.animationDuration),t=1<A.length?3:1,t=1===s.length?1:t),l=s;for(h.limit&&(a+=1),i=0;i<a;i+=1)null!==(o=l[r=i%2])&&!1!==o&&("number"==typeof o&&(o=String(o)),!1!==(o=h.format.from(o))&&!isNaN(o)&&!1!==S(A[r],y.toStepping(o),i===3-h.dir)||f("update",r));for(n=0;n<A.length;n++)null!==s[n]&&e&&f("set",n)}function E(){for(var t=[],e=0;e<h.handles;e+=1)t[e]=h.format.to(l[e]);return m(t)}function O(t,e){s[t]=s[t]||[],s[t].push(e),"update"===t.split(".")[0]&&A.forEach(function(t,e){f("update",e)})}if(v.noUiSlider)throw new Error("Slider was already initialized.");t=h.dir,n=h.ort,$(r=v,h.cssClasses.target),$(r,0===t?h.cssClasses.ltr:h.cssClasse
1s.rtl),$(r,0===n?h.cssClasses.horizontal:h.cssClasses.vertical),$(t=document.createElement("div"),h.cssClasses.base),r.appendChild(t);var P=t,A=((t,e,n)=>{for(var i,r,o,s,a,l=[],c=0;c<t;c+=1)l.push(n.appendChild((i=e,r=c,a=s=o=void 0,o=document.createElement("div"),s=document.createElement("div"),a=[h.cssClasses.handleLower,h.cssClasses.handleUpper],i&&a.reverse(),$(s,h.cssClasses.handle),$(s,a[r]),$(o,h.cssClasses.origin),o.appendChild(s),o)));return l})(h.handles,h.dir,P),I=v,M=A;switch(h.connect){case 1:$(I,h.cssClasses.connect),$(M[0],h.cssClasses.background);break;case 3:$(M[1],h.cssClasses.background);case 2:$(M[0],h.cssClasses.connect);case 0:$(I,h.cssClasses.background)}return h.pips&&u(h.pips),h.tooltips&&(h.dir&&h.tooltips.reverse(),i=A.map(a),h.dir&&(i.reverse(),h.tooltips.reverse()),O("update",function(t,e,n){i[e]&&(i[e].innerHTML=!0===h.tooltips[e]?t[e]:h.tooltips[e].to(n[e]))})),o={destroy:function(){for(var t in h.cssClasses)h.cssClasses.hasOwnProperty(t)&&F(v,h.cssClasses[t]);for(;v.firstChild;)v.removeChild(v.firstChild);delete v.noUiSlider},steps:function(){return m(c.map(function(t,e){var n=y.getApplicableStep(t),i=1<(i=(i=String(n[2])).split(".")).length?i[1].length:0,e=l[e],r=100===t?null:n[2],e=Number((e-n[2]).toFixed(i));return[0===t?null:e>=n[1]?n[2]:n[0]||!1,r]}))},on:O,off:function(t){var i=t&&t.split(".")[0],r=i&&t.substring(i.length);Object.keys(s).forEach(function(t){var e=t.split(".")[0],n=t.substring(e.length);i&&i!==e||r&&r!==n||delete s[t]})},get:E,set:j,updateOptions:function(e,t){var n=E(),i=H({start:[0,0],margin:e.margin,limit:e.limit,step:void 0===e.step?h.singleStep:e.step,range:e.range,animate:e.animate,snap:(void 0===e.snap?h:e).snap});["margin","limit","range","animate"].forEach(function(t){void 0!==e[t]&&(h[t]=e[t])}),i.spectrum.direction=y.direction,y=i.spectrum,c=[-1,-1],j(e.start||n,t)},options:e,target:v,pips:u},(n=h.events).fixed||A.forEach(function(t,e){g(d.start,t.children[0],k,{handles:[t],handleNumber:e})}),n.tap&&g(d.start,P,T,{handles:A}),n.hover&&g(d.move,P,C,{hover:!0}
1),n.drag&&($((r=[P.querySelector("."+h.cssClasses.connect)])[0],h.cssClasses.draggable),n.fixed&&r.push(A[r[0]===A[0]?1:0].children[0]),r.forEach(function(t){g(d.start,t,k,{handles:A})})),o}return{create:function(t,e){var n;if(t.nodeName)return(e=r(t,n=H(e),e)).set(n.start),t.noUiSlider=e;throw new Error("noUiSlider.create requires a single element.")}}}),(t=>{var e,r,n,i,o,s=navigator.userAgent;function a(){clearTimeout(e),e=setTimeout(i,99)}function l(){a(),o&&o.addListener&&o.addListener(a)}t.HTMLPictureElement&&-1!==s.indexOf("ecko")&&s.match(/rv\:(\d+)/)&&RegExp.$1<45&&addEventListener("resize",(r=document.createElement("source"),n=function(t){var e,n,i=t.parentNode;"PICTURE"===i.nodeName.toUpperCase()?(e=r.cloneNode(),i.insertBefore(e,i.firstElementChild),setTimeout(function(){i.removeChild(e)})):(!t._pfLastSize||t.offsetWidth>t._pfLastSize)&&(t._pfLastSize=t.offsetWidth,n=t.sizes,t.sizes+=",100vw",setTimeout(function(){t.sizes=n}))},i=function(){for(var t=document.querySelectorAll("picture > img, img[srcset][sizes]"),e=0;e<t.length;e++)n(t[e])},o=t.matchMedia&&matchMedia("(orientation: landscape)"),r.srcset="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",/^[c|i]|d$/.test(document.readyState||"")?l():document.addEventListener("DOMContentLoaded",l),a))})(window),((t,o)=>{function f(t){return" "===t||"\t"===t||"\n"===t||"\f"===t||"\r"===t}function L(t,e){return t.res-e.res}function _(t,e){var n,i,r;if(t&&e)for(r=x.parseSet(e),t=x.makeUrl(t),n=0;n<r.length;n++)if(t===x.makeUrl(r[n].url)){i=r[n];break}return i}function R(e,u){function t(t){var t=t.exec(e.substring(a));return t?(t=t[0],a+=t.length,t):void 0}function n(){for(var t,e,n,i,r,o,s,a=!1,l={},c=0;c<h.length;c++)i=(r=h[c])[r.length-1],r=r.substring(0,r.length-1),o=parseInt(r,10),s=parseFloat(r),rt.test(r)&&"w"===i?((t||e)&&(a=!0),0===o?a=!0:t=o):ot.test(r)&&"x"===i?((t||e||n)&&(a=!0),s<0?a=!0:e=s):!rt.test(r)||"h"!==i||((n||e)&&(a=!0),0===o)?a=!0:n=o;a||(l.url=p,t&&(l.w=t),e&&(l.d=e),n&&(l.h=n),n||e||t||(l.d=1),1===l.d&&(u.has1x=!0),l.set=u,d.push(l))}for(var p,h,i,r,o,s=e.length,a=0,d=[];;){if(t(et),s<=a)return d;p=t(nt),h=[],(","===p.slice(-1)?(p=p.replace(it,""),n):()=>{for(t(tt),i="",r="in descriptor";;){if(o=e.charAt(a),"in descriptor"===r)if(f(o))i&&(h.push(i),i="",r="after descriptor");else{if(","===o)return a+=1,i&&h.push(i),n();if("("===o)i+=o,r="in parens";else{if(""===o)return i&&h.push(i),n();i+=o}}else if("in parens"===r)if(")"===o)i+=o,r="in descriptor";else{if(""===o)return h.push(i),n();i+=o}else if("after descriptor"===r&&!f(o)){if(""===o)return n();r="in descriptor",--a}a+=1}})()}}function $(t){for(var e,n,i,r=/^(?:[+-]?[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?(?:ch|cm|em|ex|in|mm|pc|pt|px|rem|vh|vmin|vmax|vw)$/i,o=/^calc\((?:[0-9a-z \.\+\-\*\/\(\)]+)\)$/i,s=(t=>{function e(){r&&(o.push(r),r="")}function n(){o[0]&&(s.push(o),o=[])}for(var i,r="",o=[],s=[],a=0,l=0,c=!1;;){if(""===(i=t.charAt(l)))return e(),n(),s;if(c)"*"===i&&"/"===t[l+1]?(c=!1,l+=2,e()):l+=1;else{if(f(i)){if(t.charAt(l-1)&&f(t.charAt(l-1))||!r){l+=1;continue}if(0===a){e(),l+=1;continue}i=" "}else if("("===i)a+=1;else if(")"===i)--a;else{if(","===i){e(),n(),l+=1;continue}if("/"===i&&"*"===t.charAt(l+1)){c=!0,l+=2;continue}}r+=i,l+=1}}})(t),a=s.length,l=0;l<a;l++)if(n=(e=s[l])[e.length-1],i=n,r.test(i)&&0<=parseFloat(i)||o.test(i)||"0"===i||"-0"===i||"+0"===i){if(i=n,e.pop(),0===e.length)return i;if(e=e.join(" "),x.matchesMedia(e))return i}return"100vw"}function e(){}function n(t,e,n,i){t.addEventListener?t.addEventListener(e,n,i||!1):t.attachEvent&&t.attachEvent("on"+e,n)}function i(e){var n={};return function(t){return t in n||(n[t]=e(t)),n[t]}}function w(t,e){return t.w?(t.cWidth=x.calcListLength(e||"100vw"),t.res=t.w/t.cWidth):t.res=t.d,t}o.createElement("picture");var r,F,s,B,H,z,U,a,l,V,q,c,u,p,h,d,x={},m=!1,g=o.createElement("img"),v=g.getAttribute,W=g.setAttribute,K=g.removeAttribute,y=o.documentElement,b={},k={algorithm:""},T="data-pfsrc",Q=T+"set",C=navigator.userAgent,Y=-1!==C.indexOf("rident")||-1!==C.indexOf("ecko")&&C.match(/rv\:(\d+)/)&&35<RegExp.$1,S="currentSrc",G=/\s+\+?\d+(e\d+)?w/,X=/(\([^)]+\))?\s*(.+)/,j=t.picturefillCFG,J="font-size:100%!important;",E=!0,O={},P={},A=t.devicePixelRatio,I={px:1,in:96},Z=o.createElement("a"),M=!1,tt=/^[ \t\n\r\u000c]+/,et=/^[, \t\n\r\u000c]+/,nt=/^[^ \t\n\r\u000c]+/,it=/[,]+$/,rt=/^\d+$/,ot=/^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/,st=(B=/^([\d\.]+)(em|vw|px)$/,H=i(function(t){return"return "+function(){for(var t=arguments,e=0,n=t[0];++e in t;)n=n.replace(t[e],t[++e]);return n}((t||"").toLowerCase(),/\band\b/g,"&&",/,/g,"||",/min-([a-z-\s]+):/g,"e.$1>=",/max-([a-z-\s]+):/g,"e.$1<=",/calc([^)]+)/g,"($1)",/(\d+[\.]*[\d]*)([a-z]+)/g,"($1 * e.$2)",/^(?!(e.[a-z]|[0-9\.&=|><\+\-\*\(\)\/])).*/gi,"")+";"}),function(t,e){var n;if(!(t in O))if(O[t]=!1,e&&(n=t.match(B)))O[t]=n[1]*I[n[2]];else try{O[t]=new Function("e",H(t))(I)}catch(t){}return O[t]}),N=function(t){if(m){var e,n,i,r=t||{};if(r.elements&&1===r.elements.nodeType&&("IMG"===r.elements.nodeName.toUpperCase()?r.elements=[r.elements]:(r.context=r.elements,r.elements=null)),i=(e=r.elements||x.qsa(r.context||o,r.reevaluate||r.reselect?x.sel:x.selShort)).length){for(x.setupRun(r),M=!0,n=0;n<i;n++)x.fillImg(e[n],r);x.teardownRun(r)}}};function D(){var t=o.readyState||"";c=setTimeout(D,"loading"===t?200:999),o.body&&(x.fillImgs(),z=z||q.test(t))&&clearTimeout(c)}function at(){var t=new Date-V;t<a?l=setTimeout(at,a-t):(l=null,U())}function lt(){2===p.width&&(x.supSizes=!0),F=x.supSrcset&&!x.supSizes,m=!0,setTimeout(N)}t.console&&console.warn,S in g||(S="src"),b["image/jpeg"]=!0,b["image/gif"]=!0,b["image/png"]=!0,b["image/svg+xml"]=o.implementation.hasFeature("http://www.w3.org/TR/SVG11/feature#Image","1.1"),x.ns=("pf"+(new Date).getTime()).substr(0,9),x.supSrcset="srcset"in g,x.supSizes="sizes"in g,x.supPicture=!!t.HTMLPictureElement,x.supSrcset&&x.supPicture&&!x.supSizes&&(C=o.createElement("img"),g.srcset="data:,a",C.src="data:,a",x.supSrcset=g.complete===C.complete,x.supPicture=x.supSrcset&&x.supPicture),x.supSrcset&&!x.supSizes?(g="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",(p=o.createElement("img")).onload=lt,p.onerror=lt,p.setAttribute("sizes","9px"),p.srcset=g+" 1w,data:image/gif;base64,R0lGODlhAgABAPAAAP///wAAACH5BAAAAAAALAAAAAACAAEAAAICBAoAOw== 9w",p.src=g):m=!0,x.selShort="picture>img,img[srcset]",x.sel=x.selShort,x.cfg=k,x.DPR=A||1,x.u=I,x.types=b,x.setSize=e,x.makeUrl=i(function(t){return Z.href=t,Z.href}),x.qsa=function(t,e){return"querySelector"in t?t.querySelectorAll(e):[]},x.matchesMedia=function(){return t.matchMedia&&(matchMedia("(min-width: 0.1em)")||{}).matches?x.matchesMedia=function(t){return!t||matchMedia(t).matches}:x.matchesMedia=x.mMQ,x.matchesMedia.apply(this,arguments)},x.mMQ=function(t){return!t||st(t)},x.calcLength=function(t){t=st(t,!0)||!1;return t=t<0?!1:t},x.supportsType=function(t){return!t||b[t]},x.parseSize=i(function(t){t=(t||"").match(X);return{media:t&&t[1],length:t&&t[2]}}),x.parseSet=function(t){return t.cands||(t.cands=R(t.srcset,t)),t.cands},x.getEmValue=function(){var t,e,n,i;return!r&&(t=o.body)&&(e=o.createElement("div"),n=y.style.cssText,i=t.style.cssText,e.style.cssText="position:absolute;
1left:0;visibility:hidden;display:block;padding:0;border:none;font-size:1em;width:1em;overflow:hidden;clip:rect(0px, 0px, 0px, 0px)",y.style.cssText=J,t.style.cssText=J,t.appendChild(e),r=e.offsetWidth,t.removeChild(e),r=parseFloat(r,10),y.style.cssText=n,t.style.cssText=i),r||16},x.calcListLength=function(t){var e;return t in P&&!k.uT||(e=x.calcLength($(t)),P[t]=e||I.width),P[t]},x.setRes=function(t){if(t)for(var e,n=0,i=(e=x.parseSet(t)).length;n<i;n++)w(e[n],t.sizes);return e},x.setRes.res=w,x.applySetCandidate=function(t,e){if(t.length){var n,i,r,o,s,a,l=e[x.ns],c=x.DPR,u=l.curSrc||e[S],p=l.curCan||(y=e,p=u,b=t[0].set,(b=_(p,b=!b&&p?(b=y[x.ns].sets)&&b[b.length-1]:b))&&(p=x.makeUrl(p),y[x.ns].curSrc=p,(y[x.ns].curCan=b).res||w(b,b.set.sizes)),b);if(p&&p.set===t[0].set&&((a=Y&&!e.complete&&p.res-.1>c)||(p.cached=!0,p.res>=c&&(s=p))),!s)for(t.sort(L),s=t[(o=t.length)-1],i=0;i<o;i++)if((n=t[i]).res>=c){s=t[r=i-1]&&(a||u!==x.makeUrl(n.url))&&(h=t[r].res,d=n.res,f=c,m=t[r].cached,v=g=void 0,m="saveData"===k.algorithm?2.7<h?f+1:(v=(d-f)*(g=Math.pow(h-.6,1.5)),m&&(v+=.1*g),h+v):1<f?Math.sqrt(h*d):h,f<m)?t[r]:n;break}s&&(y=x.makeUrl(s.url),l.curSrc=y,l.curCan=s,y!==u&&x.setSrc(e,s),x.setSize(e))}var h,d,f,m,g,v,y,p,b},x.setSrc=function(t,e){t.src=e.url,"image/svg+xml"===e.set.type&&(e=t.style.width,t.style.width=t.offsetWidth+1+"px",t.offsetWidth+1)&&(t.style.width=e)},x.getSet=function(t){for(var e,n,i=!1,r=t[x.ns].sets,o=0;o<r.length&&!i;o++)if((e=r[o]).srcset&&x.matchesMedia(e.media)&&(n=x.supportsType(e.type))){i=e="pending"===n?n:e;break}return i},x.parseSets=function(t,e,n){var i,r,o,s,a=e&&"PICTURE"===e.nodeName.toUpperCase(),l=t[x.ns];if(void 0!==l.src&&!n.src||(l.src=v.call(t,"src"),l.src?W.call(t,T,l.src):K.call(t,T)),void 0!==l.srcset&&!n.srcset&&x.supSrcset&&!t.srcset||(i=v.call(t,"srcset"),l.srcset=i,s=!0),l.sets=[],a){l.pic=!0,n=e;for(var c=l.sets,u,p,h=n.getElementsByTagName("source"),d=0,f=h.length;d<f;d++)(u=h[d])[x.ns]=!0,(p=u.getAttribute("srcset"))&&c.push({srcset:p,media:u.getAttribute("media"),type:u.getAttribute("type"),sizes:u.getAttribute("sizes")})}l.srcset?(r={srcset:l.srcset,sizes:v.call(t,"sizes")},l.sets.push(r),(o=(F||l.src)&&G.test(l.srcset||""))||!l.src||_(l.src,r)||r.has1x||(r.srcset+=", "+l.src,r.cands.push({url:l.src,d:1,set:r}))):l.src&&l.sets.push({srcset:l.src,sizes:null}),l.curCan=null,l.curSrc=void 0,l.supported=!(a||r&&!x.supSrcset||o&&!x.supSizes),s&&x.supSrcset&&!l.supported&&(i?(W.call(t,Q,i),t.srcset=""):K.call(t,Q)),l.supported&&!l.srcset&&(!l.src&&t.src||t.src!==x.makeUrl(l.src))&&(null===l.src?t.removeAttribute("src"):t.src=l.src),l.parsed=!0},x.fillImg=function(t,e){var n,i=e.reselect||e.reevaluate;t[x.ns]||(t[x.ns]={}),n=t[x.ns],!i&&n.evaled===s||(n.parsed&&!e.reevaluate||x.parseSets(t,t.parentNode,e),n.supported?n.evaled=s:(i=t,e=x.getSet(i),n=!1,"pending"!==e&&(n=s,e)&&(e=x.setRes(e),x.applySetCandidate(e,i)),i[x.ns].evaled=n))},x.setupRun=function(){M&&!E&&A===t.devicePixelRatio||(E=!1,A=t.devicePixelRatio,O={},P={},x.DPR=A||1,I.width=Math.max(t.innerWidth||0,y.clientWidth),I.height=Math.max(t.innerHe
1ight||0,y.clientHeight),I.vw=I.width/100,I.vh=I.height/100,s=[I.height,I.width,A].join("-"),I.em=x.getEmValue(),I.rem=I.em)},x.supPicture?(N=e,x.fillImg=e):(q=t.attachEvent?/d$|^c/:/d$|^c|^i/,c=setTimeout(D,o.body?9:99),u=y.clientHeight,n(t,"resize",(U=function(){E=Math.max(t.innerWidth||0,y.clientWidth)!==I.width||y.clientHeight!==u,u=y.clientHeight,E&&x.fillImgs()},a=99,function(){V=new Date,l=l||setTimeout(at,a)})),n(o,"readystatechange",D)),x.picturefill=N,x.fillImgs=N,x.teardownRun=e,N._=x,t.picturefillCFG={pf:x,push:function(t){var e=t.shift();"function"==typeof x[e]?x[e].apply(x,t):(k[e]=t[0],M&&x.fillImgs({reselect:!0}))}};for(;j&&j.length;)t.picturefillCFG.push(j.shift());t.picturefill=N,"object"==typeof module&&"object"==typeof module.exports?module.exports=N:"function"==typeof define&&define.amd&&define("picturefill",function(){return N}),x.supPicture||(b["image/webp"]=(h="image/webp",C="data:image/webp;base64,UklGRkoAAABXRUJQVlA4WAoAAAAQAAAAAAAAAAAAQUxQSAwAAAABBxAR/Q9ERP8DAABWUDggGAAAADABAJ0BKgEAAQADADQlpAADcAD++/1QAA==",(d=new t.Image).onerror=function(){b[h]=!1,N()},d.onload=function(){b[h]=1===d.width,N()},d.src=C,"pending"))})(window,document),(r=>{r.fn.scrollToBySpeed=function(t){var e,n=r("html,body"),i=r(window),t=r.extend({speed:1e3,offset:0,mode:"chain",easing:"swing",context:"__window"},t);return t.context instanceof jQuery?(n=t.context,i=t.context):"__window"!==t.context&&(n=r(document).find(t.context),i=r(document).find(t.context)),e=Math.abs(r(this).offset().top),i=Math.abs(i.scrollTop()-e)/t.speed*1e3,n.animate({scrollTop:e-t.offset},i,t.easing),"chain"!==t.mode?i:this}})(jQuery),(p=>{p.fn.cardtable=function(t){var l=p.extend({},{headIndex:0},t);t&&t.headIndex;return this.each(function(){var n,t,i,e,r,o,s,a=p(this);a.hasClass("stacktable")||(n=p(this).prop("class"),t=p("<div></div>"),void 0!==l.myClass&&t.addClass(l.myClass),i="",a.addClass("stacktable large-only"),e=a.find(">caption").clone(),r=a.find(">thead>tr,>tbody>tr,>tfoot>tr,>tr").eq(0),a.siblings().filter(".small-only").remove(),a.find(">tbody>tr").each(function(){o="",s=p(this).prop("class"),p(this).find(">td,>th").each(function(t){""!==p(this).html()&&(o+='<tr class="'+s+'">',r.find(">td,>th").eq(t).html()?o+='<td class="st-key">'+r.find(">td,>th").eq(t).html()+"</td>":o+='<td class="st-key"></td>',o=o+('<td class="st-val '+p(this).prop("class")+'">'+p(this).html())+"</td></tr>")}),i+='<table class=" '+n+' stacktable small-only"><tbody>'+o+"</tbody></table>"}),a.find(">tfoot>tr>td").each(function(t,e){""!==p.trim(p(e).text())&&(i+='<table class="'+n+' stacktable small-only"><tbody><tr><td>'+p(e).html()+"</td></tr></tbody></table>")}),t.prepend(e),t.append(p(i)),a.before(t))})},p.fn.stacktable=function(t){var c=p.extend({},{headIndex:0,displayHeader:!0},t),u=t&&t.headIndex?t.headIndex:0;return this.each(function(){var t,e,n,i,r,o,s=p(this).prop("class"),s=p('<table class="'+s+' stacktable small-only"><tbody></tbody></table>'),a=(void 0!==c.myClass&&s.addClass(c.myClass),""),l=p(this);l.addClass("stacktable large-only"),t=l.find(">caption").clone(),e=l.find(">thead>tr,>tbody>tr,>tfoot>tr").eq(0),o=void 0===l.data("display-header")?c.displayHeader:l.data("display-header"),l.find(">tbody>tr, >thead>tr").each(function(t){i=n="",r=p(this).prop("class"),0===t?o&&(a+='<tr class=" '+r+' "><th class="st-head-row st-head-row-main" colspan="2">'+p(this).find(">th,>td").eq(u).html()+"</th></tr>"):(p(this).find(">td,>th").each(function(t){t===u?n='<tr class="'+r+'"><th class="st-head-row" colspan="2">'+p(this).html()+"</th></tr>":""!==p(this).html()&&(i+='<tr class="'+r+'">',e.find(">td,>th").eq(t).html()?i+='<td class="st-key">'+e.find(">td,>th").eq(t).html()+"</td>":i+='<td class="st-key"></td>',i=i+('<td class="st-val '+p(this).prop("class")+'">'+p(this).html())+"</td></tr>")}),a+=n+i)}),s.prepend(t),s.append(p(a)),l.before(s)})},p.fn.stackcolumns=function(t){var r=p.extend({},{},t);return this.each(function(){var t=p(this),e=t.find(">caption").clone(),n=t.find(">thead>tr,>tbody>tr,>tfoot>tr").eq(0).find(">td,>th").length;if(!(n<3)){for(var i=p('<table class="stacktable small-only"></table>'),o=(void 0!==r.myClass&&i.addClass(r.myClass),t.addClass("stacktable large-only"),p("<tbody></tbody>")),s=1;s<n;)t.find(">thead>tr,>tbody>tr,>tfoot>tr").each(function(t){var e,n=p("<tr></tr>"),t=(0===t&&n.addClass("st-head-row st-head-row-main"),p(this).find(">td,>th").eq(0).clone().addClass("st-key")),i=s,r=(p(this).find("*[colspan]").length&&(e=0,p(this).find(">td,>th").each(function(){var t=p(this).attr("colspan");if(t?(t=parseInt(t,10),i-=t-1,s<e+t&&(i+=e+t-s-1),e+=t):e++,s<e)return!1})),p(this).find(">td,>th").eq(i).clone().addClass("st-val").removeAttr("colspan"));n.append(t,r),o.append(n)}),++s;i.append(p(o)),i.prepend(e),t.before(i)}})}})(jQuery),((e,n)=>{"function"==typeof define&&define.amd?define("bloodhound",["jquery"],function(t){return e.Bloodhound=n(t)}):"object"==typeof exports?module.exports=n(require("jquery")):e.Bloodhound=n(jQuery)})(this,function(s){var a={isMsie:function(){return!!/(msie|trident)/i.test(navigator.userAgent)&&navigator.userAgent.match(/(msie |rv:)(\d+(.\d+)?)/i)[2]},isBlankString:function(t){return!t||/^\s*$/.test(t)},escapeRegExChars:function(t){return t.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")},isString:function(t){return"string"==typeof t},isNumber:function(t){return"number"==typeof t},isArray:s.isArray,isFunction:s.isFunction,isObject:s.isPlainObject,isUndefined:function(t){return void 0===t},isElement:function(t){return!(!t||1!==t.nodeType)},isJQuery:function(t){return t instanceof s},toStr:function(t){return a.isUndefined(t)||null===t?"":t+""},bind:s.proxy,each:function(t,n){s.each(t,function(t,e){return n(e,t)})},map:s.map,filter:s.grep,every:function(n,i){var r=!0;return n?(s.each(n,function(t,e){if(!(r=i.call(null,e,t,n)))return!1}),!!r):r},some:function(n,i){var r=!1;return n?(s.each(n,function(t,e){if(r=i.call(null,e,t,n))return!1}),!!r):r},mixin:s.extend,identity:function(t){return t},clone:function(t){return s.extend(!0,{},t)},getIdGenerator:function(){var t=0;return function(){return t++}},templatify:function(t){return s.isFunction(t)?t:function(){return String(t)}},defer:function(t){setTimeout(t,0)},debounce:function(r,o,s){var a,l;return function(){var t=this,e=arguments,n=function(){a=null,s||(l=r.apply(t,e))},i=s&&!a;return clearTimeout(a),a=setTimeout(n,o),l=i?r.apply(t,e):l}}
1,throttle:function(n,i){var r,o,s,a,l=0,c=function(){l=new Date,s=null,a=n.apply(r,o)};return function(){var t=new Date,e=i-(t-l);return r=this,o=arguments,e<=0?(clearTimeout(s),s=null,l=t,a=n.apply(r,o)):s=s||setTimeout(c,e),a}},stringify:function(t){return a.isString(t)?t:JSON.stringify(t)},noop:function(){}},t={nonword:n,whitespace:e,obj:{nonword:i(n),whitespace:i(e)}};function e(t){return(t=a.toStr(t))?t.split(/\s+/):[]}function n(t){return(t=a.toStr(t))?t.split(/\W+/):[]}function i(i){return function(t){return t=a.isArray(t)?t:[].slice.call(arguments,0),function(e){var n=[];return a.each(t,function(t){n=n.concat(i(a.toStr(e[t])))}),n}}}a.mixin(o.prototype,{set:function(t,e){var n=this.list.tail;this.size>=this.maxSize&&(this.list.remove(n),delete this.hash[n.key],this.size--),(n=this.hash[t])?(n.val=e,this.list.moveToFront(n)):(n=new c(t,e),this.list.add(n),this.hash[t]=n,this.size++)},get:function(t){t=this.hash[t];if(t)return this.list.moveToFront(t),t.val},reset:function(){this.size=0,this.hash={},this.list=new l}}),a.mixin(l.prototype,{add:function(t){this.head&&(t.next=this.head,this.head.prev=t),this.head=t,this.tail=this.tail||t},remove:function(t){t.prev?t.prev.next=t.next:this.head=t.next,t.next?t.next.prev=t.prev:this.tail=t.prev},moveToFront:function(t){this.remove(t),this.add(t)}});var r=o;function o(t){this.maxSize=a.isNumber(t)?t:100,this.reset(),this.maxSize<=0&&(this.set=this.get=s.noop)}function l(){this.head=this.tail=null}function c(t,e){this.key=t,this.val=e,this.prev=this.next=null}var u,p,h,d,f=(()=>{var o;try{(o=window.localStorage).setItem("~~~","!"),o.removeItem("~~~")}catch(t){o=null}function t(t,e){this.prefix=["__",t,"__"].join(""),this.ttlKey="__ttl__",this.keyMatcher=new RegExp("^"+a.escapeRegExChars(this.prefix)),this.ls=e||o,this.ls||this._noop()}return a.mixin(t.prototype,{_prefix:function(t){return this.prefix+t},_ttlKey:function(t){return this._prefix(t)+this.ttlKey},_noop:function(){this.get=this.set=this.remove=this.clear=this.isExpired=a.noop},_safeSet:function(t,e){try{this.ls.setItem(t,e)}catch(t){"QuotaExceededError"===t.name&&(this.clear(),this._noop())}},get:function(t){return this.isExpired(t)&&this.remove(t),e(this.ls.getItem(this._prefix(t)))},set:function(t,e,n){return a.isNumber(n)?this._safeSet(this._ttlKey(t),r(i()+n)):this.ls.removeItem(this._ttlKey(t)),this._safeSet(this._prefix(t),r(e))},remove:function(t){return this.ls.removeItem(this._ttlKey(t)),this.ls.removeItem(this._prefix(t)),this},clear:function(){for(var t=(t=>{var e,n,i=[],r=o.length;for(e=0;e<r;e++)(n=o.key(e)).match(t)&&i.push(n.replace(t,""));return i})(this.keyMatcher),e=t.length;e--;)this.remove(t[e]);return this},isExpired:function(t){t=e(this.ls.getItem(this._ttlKey(t)));return!!(a.isNumber(t)&&i()>t)}}),t;function i(){return(new Date).getTime()}function r(t){return JSON.stringify(a.isUndefined(t)?null:t)}function e(t){return s.parseJSON(t)}})(),m=(u=0,p={},h=6,d=new r(10),g.setMaxPendingRequests=function(t){h=t},g.resetCache=function(){d.reset()},a.mixin(g.prototype,{_fingerprint:function(t){return(t=t||{}).url+t.type+s.param(t.data||{})},_get:function(t,e){var n,i,r=this;function o(t){e(null,t),r._cache.set(n,t)}function s(){e(!0)}n=this._fingerprint(t),this.cancelled||n!==this.lastReq||((i=p[n])?i.done(o).fail(s):u<h?(u++,p[n]=this._send(t).done(o).fail(s).always(function(){u--,delete p[n],r.onDeckRequestArgs&&(r._get.apply(r,r.onDeckRequestArgs),r.onDeckRequestArgs=null)})):this.onDeckRequestArgs=[].slice.call(arguments,0))},get:function(t,e){var n;e=e||s.noop,t=a.isString(t)?{url:t}:t||{},n=this._fingerprint(t),this.cancelled=!1,this.lastReq=n,(n=this._cache.get(n))?e(null,n):this._get(t,e)},cancel:function(){this.cancelled=!0}}),g);function g(t){t=t||{},this.cancelled=!1,this.lastReq=null,this._send=t.transport,this._get=t.limiter?t.limiter(this._get):this._get,this._cache=!1===t.cache?new r(0):d}var v=window.SearchIndex=(a.mixin(y.prototype,{bootstrap:function(t){this.datums=t.datums,this.trie=t.trie},add:function(t){var o=this;t=a.isArray(t)?t:[t],a.each(t,function(t){var r;o.datums[r=o.identify(t)]=t,t=b(o.datumTokenizer(t)),a.each(t,function(t){for(var e,n=o.trie,i=t.split("");e=i.shift();)(n=n.c[e]||(n.c[e]=_())).i.push(r)})})},get:function(t){var e=this;return a.map(t,function(t){return e.datums[t]})},search:function(t){var r,o=this,t=b(this.queryTokenizer(t));return a.each(t,function(t){var e,n,i;if(r&&0===r.length)return!1;for(e=o.trie,n=t.split("");e&&(i=n.shift());)e=e.c[i];if(!e||0!==n.length)return!(r=[]);t=e.i.slice(0),r=r?((t,e)=>{for(var n=0,i=0,r=[],o=(t=t.sort(),e=e.sort(),t.length),s=e.length;n<o&&i<s;)t[n]<e[i]?n++:(t[n]>e[i]||(r.push(t[n]),n++),i++);return r})(r,t):t}),r?a.map((t=>{for(var e={},n=[],i=0,r=t.length;i<r;i++)e[t[i]]||(e[t[i]]=!0,n.push(t[i]));return n})(r),function(t){return o.datums[t]}):[]},all:function(){var t,e=[];for(t in this.datums)e.push(this.datums[t]);return e},reset:function(){this.datums={},this.trie=_()},serialize:function(){return{datums:this.datums,trie:this.trie}}}),y);function y(t){(t=t||{}).datumTokenizer&&t.queryTokenizer||s.error("datumTokenizer and queryTokenizer are both required"),this.identify=t.identify||a.stringify,this.datumTokenizer=t.datumTokenizer,this.queryTokenizer=t.queryTokenizer,this.reset()}function b(t){return t=a.filter(t,function(t){return!!t}),t=a.map(t,function(t){return t.toLowerCase()})}function _(){var t={i:[],c:{}};return t}w={data:"data",protocol:"protocol",thumbprint:"thumbprint"},a.mixin(k.prototype,{_settings:function(){return{url:this.url,type:"GET",dataType:"json"}},store:function(t){this.cache&&(this.storage.set(w.data,t,this.ttl),this.storage.set(w.protocol,location.protocol,this.ttl),this.storage.set(w.thumbprint,this.thumbprint,this.ttl))},fromCache:function(){var t,e={};return this.cache&&(e.data=this.storage.get(w.data),e.protocol=this.storage.get(w.protocol),e.thumbprint=this.storage.get(w.thumbprint),t=e.thumbprint!==this.thumbprint||e.protocol!==location.protocol,e.data)&&!t?e.data:null},fromNetwork:function(e){var t,n=this;e&&(t=this.prepare(this._settings()),this.transport(t).fail(function(){e(!0)}).done(function(t){e(null,n.transform(t))}))},clear:function(){return this.storage.clear(),this}});var w,x=k;function k(t){this.url=t.url,this.ttl=t.ttl,this.cache=t.cache,this.prepare=t.prepare,this.transform=t.transform,this.transport=t.transport,this.thumbprint=t.thumbprint,this.storage=new f(t.cacheKey)}a.mixin(C.prototype,{_settings:function(){return{url:this.url,type:"GET",dataType:"json"}},get:function(t,n){var i=this;if(n)return t=this.prepare(t=t||"",this._settings()),this.transport.get(t,function(t,e){n(t?[]:i.transform(e))})},cancelLastRequest:function(){this.transport.cancel()}});var T=C;function C(t){this.url=t.url,this.prepare=t.prepare,this.transform=t.transform,this.transport=new m({cache:t.cache,limiter:t.limiter,transport:t.transport})}var S,j=function(t){var e,n,i={initialize:!0,identify:a.stringify,datumTokenizer:null,queryTokenizer:null,sufficient:5,sorter:null,local:[],prefetch:null,remote:null};
1return(t=a.mixin(i,t||{})).datumTokenizer||s.error("datumTokenizer is required"),t.queryTokenizer||s.error("queryTokenizer is required"),t.sorter=(e=t.sorter)?function(t){return t.sort(e)}:a.identity,t.local=a.isFunction(t.local)?t.local():t.local,t.prefetch=(i=t.prefetch)?(n={url:null,ttl:864e5,cache:!0,cacheKey:null,thumbprint:"",prepare:a.identity,transform:a.identity,transport:null},i=a.isString(i)?{url:i}:i,(i=a.mixin(n,i)).url||s.error("prefetch requires url to be set"),i.transform=i.filter||i.transform,i.cacheKey=i.cacheKey||i.url,i.thumbprint="0.11.1"+i.thumbprint,i.transport=i.transport?E(i.transport):s.ajax,i):null,t.remote=(t=>{var e;if(t)return e={url:null,cache:!0,prepare:null,replace:null,wildcard:null,limiter:null,rateLimitBy:"debounce",rateLimitWait:300,transform:a.identity,transport:null},t=a.isString(t)?{url:t}:t,(t=a.mixin(e,t)).url||s.error("remote requires url to be set"),t.transform=t.filter||t.transform,t.prepare=(t=>{var e,n,i;return e=t.prepare,n=t.replace,i=t.wildcard,e=e||(n?function(t,e){return e.url=n(e.url,t),e}:t.wildcard?function(t,e){return e.url=e.url.replace(i,encodeURIComponent(t)),e}:function(t,e){return e})})(t),t.limiter=(t=>{var e,n;return e=t.limiter,n=t.rateLimitBy,t=t.rateLimitWait,e=e||(/^throttle$/i.test(n)?e=>function(t){return a.throttle(t,e)}:e=>function(t){return a.debounce(t,e)})(t)})(t),t.transport=t.transport?E(t.transport):s.ajax,delete t.replace,delete t.wildcard,delete t.rateLimitBy,delete t.rateLimitWait,t})(t.remote),t};function E(n){return function(t){var e=s.Deferred();return n(t,function(t){a.defer(function(){e.resolve(t)})},function(t){a.defer(function(){e.reject(t)})}),e}}function O(t){t=j(t),this.sorter=t.sorter,this.identify=t.identify,this.sufficient=t.sufficient,this.local=t.local,this.remote=t.remote?new T(t.remote):null,this.prefetch=t.prefetch?new x(t.prefetch):null,this.index=new v({identify:this.identify,datumTokenizer:t.datumTokenizer,queryTokenizer:t.queryTokenizer}),!1!==t.initialize&&this.initialize()}return S=window&&window.Bloodhound,O.noConflict=function(){return window&&(window.Bloodhound=S),O}
1,O.tokenizers=t,a.mixin(O.prototype,{__ttAdapter:function(){var i=this;return this.remote?function(t,e,n){return i.search(t,e,n)}:function(t,e){return i.search(t,e)}},_loadPrefetch:function(){var t,n=this,i=s.Deferred();return this.prefetch?(t=this.prefetch.fromCache())?(this.index.bootstrap(t),i.resolve()):this.prefetch.fromNetwork(function(t,e){if(t)return i.reject();n.add(e),n.prefetch.store(n.index.serialize()),i.resolve()}):i.resolve(),i.promise()},_initialize:function(){var t=this;return this.clear(),(this.initPromise=this._loadPrefetch()).done(function(){t.add(t.local)}),this.initPromise},initialize:function(t){return!this.initPromise||t?this._initialize():this.initPromise},add:function(t){return this.index.add(t),this},get:function(t){return t=a.isArray(t)?t:[].slice.call(arguments),this.index.get(t)},search:function(t,e,i){var r=this,o=this.sorter(this.index.search(t));return e(this.remote?o.slice():o),this.remote&&o.length<this.sufficient?this.remote.get(t,function(t){var n=[];a.each(t,function(e){a.some(o,function(t){return r.identify(e)===r.identify(t)})||n.push(e)}),i&&i(n)}):this.remote&&this.remote.cancelLastRequest(),this},all:function(){return this.index.all()},clear:function(){return this.index.reset(),this},clearPrefetchCache:function(){return this.prefetch&&this.prefetch.clear(),this},clearRemoteCache:function(){return m.resetCache(),this},ttAdapter:function(){return this.__ttAdapter()}}),O}),(t=>{"function"==typeof define&&define.amd?define("typeahead.js",["jquery"],t):"object"==typeof exports?module.exports=t(require("jquery")):t(jQuery)})(function(p){var n,e,h={isMsie:function(){return!!/(msie|trident)/i.test(navigator.userAgent)&&navigator.userAgent.match(/(msie |rv:)(\d+(.\d+)?)/i)[2]},isBlankString:function(t){return!t||/^\s*$/.test(t)},escapeRegExChars:function(t){return t.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")},isString:function(t){return"string"==typeof t},isNumber:function(t){return"number"==typeof t},isArray:p.isArray,isFunction:p.isFunction,isObject:p.isPlainObject,isUndefined:function(t){return void 0===t},isElement:function(t){return!(!t||1!==t.nodeType)},isJQuery:function(t){return t instanceof p},toStr:function(t){return h.isUndefined(t)||null===t?"":t+""},bind:p.proxy,each:function(t,n){p.each(t,function(t,e){return n(e,t)})},map:p.map,filter:p.grep,every:function(n,i){var r=!0;return n?(p.each(n,function(t,e){if(!(r=i.call(null,e,t,n)))return!1}),!!r):r},some:function(n,i){var r=!1;return n?(p.each(n,function(t,e){if(r=i.call(null,e,t,n))return!1}),!!r):r},mixin:p.extend,identity:function(t){return t},clone:function(t){return p.extend(!0,{},t)},getIdGenerator:function(){var t=0;return function(){return t++}},templatify:function(t){return p.isFunction(t)?t:function(){return String(t)}},defer:function(t){setTimeout(t,0)},debounce:function(r,o,s){var a,l;return function(){var t=this,e=arguments,n=function(){a=null,s||(l=r.apply(t,e))},i=s&&!a;return clearTimeout(a),a=setTimeout(n,o),l=i?r.apply(t,e):l}},throttle:function(n,i){var r,o,s,a,l=0,c=function(){l=new Date,s=null,a=n.apply(r,o)};return function(){var t=new Date,e=i-(t-l);return r=this,o=arguments,e<=0?(clearTimeout(s),s=null,l=t,a=n.apply(r,o)):s=s||setTimeout(c,e),a}},stringify:function(t){return h.isString(t)?t:JSON.stringify(t)},noop:function(){}},t=(n={wrapper:"twitter-typeahead",input:"tt-input",hint:"tt-hint",menu:"tt-menu",dataset:"tt-dataset",suggestion:"tt-suggestion",selectable:"tt-selectable",empty:"tt-empty",open:"tt-open",cursor:"tt-cursor",highlight:"tt-highlight"},function(t){var e;return t=h.mixin({},n,t),{css:(e={css:(()=>{var t={wrapper:{position:"relative",display:"inline-block"},hint:{position:"absolute",top:"0",left:"0",borderColor:"transparent",boxShadow:"none",opacity:"1"},input:{position:"relative",verticalAlign:"top",backgroundColor:"transparent"},inputWithNoHint:{position:"relative",verticalAlign:"top"},menu:{position:"absolute",top:"100%",left:"0",zIndex:"100",display:"none"},ltr:{left:"0",right:"auto"},rtl:{left:"auto",right:" 0"}};return h.isMsie()&&h.mixin(t.input,{backgroundImage:"url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)"}),t})(),classes:t,html:(t=>({wrapper:'<span class="'+t.wrapper+'"></span>
1',menu:'<div class="'+t.menu+'"></div>'}))(t),selectors:(t=>{var n={};return h.each(t,function(t,e){n[e]="."+t}),n})(t)}).css,html:e.html,classes:e.classes,selectors:e.selectors,mixin:function(t){h.mixin(t,e)}}}),c=(e={render:"rendered",cursorchange:"cursorchanged",select:"selected",autocomplete:"autocompleted"},h.mixin(i.prototype,{_trigger:function(t,e){t=p.Event("typeahead:"+t);return(e=e||[]).unshift(t),this.$el.trigger.apply(this.$el,e),t},before:function(t){var e=[].slice.call(arguments,1);return this._trigger("before"+t,e).isDefaultPrevented()},trigger:function(t){this._trigger(t,[].slice.call(arguments,1)),(t=e[t])&&this._trigger(t,[].slice.call(arguments,1))}}),i);function i(t){t&&t.el||p.error("EventBus initialized without el"),this.$el=p(t.el)}a=/\s+/,o=(()=>window.setImmediate?function(t){setImmediate(function(){t()})}:function(t){setTimeout(function(){t()},0)})();var a,o,r={onSync:function(t,e,n){return s.call(this,"sync",t,e,n)},onAsync:function(t,e,n){return s.call(this,"async",t,e,n)},off:function(t){var e;if(this._callbacks)for(t=t.split(a);e=t.shift();)delete this._callbacks[e];return this},trigger:function(t){var e,n,i,r;if(this._callbacks)for(t=t.split(a),n=[].slice.call(arguments,1);(r=t.shift())&&(e=this._callbacks[r]);)i=l(e.sync,this,[r].concat(n)),r=l(e.async,this,[r].concat(n)),i()&&o(r);return this}};function s(t,e,n,i){var r,o,s;if(n)for(e=e.split(a),n=i?(s=i,(o=n).bind?o.bind(s):function(){o.apply(s,[].slice.call(arguments,0))}):n,this._callbacks=this._callbacks||{};r=e.shift();)this._callbacks[r]=this._callbacks[r]||{sync:[],async:[]},this._callbacks[r][t].push(n);return this}function l(i,r,o){return function(){for(var t,e=0,n=i.length;!t&&e<n;e+=1)t=!1===i[e].apply(r,o);return!t}}u=window.document,d={node:null,pattern:null,tagName:"strong",className:null,wordsOnly:!1,caseSensitive:!1};var u,d,f,m=function(r){var o;(r=h.mixin({},d,r)).node&&r.pattern&&(r.pattern=h.isArray(r.pattern)?r.pattern:[r.pattern],o=((t,e,n)=>{for(var i=[],r=0,o=t.length;r<o;r++)i.push(h.escapeRegExChars(t[r]));return n=n?"\\b("+i.join("|")+")\\b":"("+i.join("|")+")",e?new RegExp(n):new RegExp(n,"i")})(r.pattern,r.caseSensitive,r.wordsOnly),function t(e,n){var i;for(var r=0;r<e.childNodes.length;r++)3===(i=e.childNodes[r]).nodeType?r+=n(i)?1:0:t(i,n)}(r.node,function(t){var e,n,i;(e=o.exec(t.data))&&(i=u.createElement(r.tagName),r.className&&(i.className=r.className),(n=t.splitText(e.index)).splitText(e[0].length),i.appendChild(n.cloneNode(!0)),t.parentNode.replaceChild(i,n));return!!e}))},g=(f={9:"tab",27:"esc",37:"left",39:"right",13:"enter",38:"up",40:"down"},v.normalizeQuery=function(t){return h.toStr(t).replace(/^\s*/g,"").replace(/\s{2,}/g," ")},h.mixin(v.prototype,r,{_onBlur:function(){this.resetInputValue(),this.trigger("blurred")},_onFocus:function(){this.queryWhenFocused=this.query,this.trigger("focused")},_onKeydown:function(t){var e=f[t.which||t.keyCode];this._managePreventDefault(e,t),e&&this._shouldTrigger(e,t)&&this.trigger(e+"Keyed",t)},_onInput:function(){this._setQuery(this.getInputValue()),this.clearHintIfInvalid(),this._checkLanguageDirection()},_managePreventDefault:function(t,e){var n;switch(t){case"up":case"down":n=!y(e);break;default:n=!1}n&&e.preventDefault()},_shouldTrigger:function(t,e){t="tab"!==t||!y(e);return t},_checkLanguageDirection:function(){var t=(this.$input.css("direction")||"ltr").toLowerCase();this.dir!==t&&(this.dir=t,this.$hint.attr("dir",t),this.trigger("langDirChanged",t))},_setQuery:function(t,e){var n,i;n=t,i=this.query,i=(n=v.normalizeQuery(n)===v.normalizeQuery(i))&&this.query.length!==t.length,this.query=t,e||n?!e&&i&&this.trigger("whitespaceChanged",this.query):this.trigger("queryChanged",this.query)},bind:function(){var e=this,t=h.bind(this._onBlur,this),n=h.bind(this._onFocus,this),i=h.bind(this._onKeydown,this),r=h.bind(this._onInput,this);return this.$input.on("blur.tt",t).on("focus.tt",n).on("keydown.tt",i),!h.isMsie()||9<h.isMsie()?this.$input.on("input.tt",r):this.$input.on("keydown.tt keypress.tt cut.tt paste.tt",function(t){f[t.which||t.keyCode]||h.defer(h.bind(e._onInput,e,t))}),this},focus:function(){this.$input.focus()},blur:function(){this.$input.blur()},getLangDir:function(){return this.dir},getQuery:function(){return this.query||""},setQuery:function(t,e){this.setInputValue(t),this._setQuery(t,e)},hasQueryChangedSinceLastFocus:function(){return this.query!==this.queryWhenFocused},getInputValue:function(){return this.$input.val()},setInputValue:function(t){this.$input.val(t),this.clearHintIfInvalid(),this._checkLanguageDirection()},resetInputValue:function(){this.setInputValue(this.query)},getHint:function(){return this.$hint.val()},setHint:function(t){this.$hint.val(t)},clearHint:function(){this.setHint("")},clearHintIfInvalid:function(){var t=this.getInputValue(),e=this.getHint(),e=t!==e&&0===e.indexOf(t);""!==t&&e&&!this.hasOverflow()||this.clearHint()},hasFocus:function(){return this.$input.is(":focus")},hasOverflow:function(){var t=this.$input.width()-2;return this.$overflowHelper.text(this.getInputValue()),this.$overflowHelper.width()>=t},isCursorAtEnd:function(){var t=this.$input.val().length,e=this.$input[0].selectionStart;return h.isNumber(e)?e===t:!document.selection||((e=document.selection.createRange()).moveStart("character",-t),t===e.text.length)},destroy:function(){this.$hint.off(".tt"),this.$input.off(".tt"),this.$overflowHelper.remove(),this.$hint=this.$input
1=this.$overflowHelper=p("<div>")}}),v);function v(t,e){(t=t||{}).input||p.error("input is missing"),e.mixin(this),this.$hint=p(t.hint),this.$input=p(t.input),this.query=this.$input.val(),this.queryWhenFocused=this.hasFocus()?this.query:null,this.$overflowHelper=(e=this.$input,p('<pre aria-hidden="true"></pre>').css({position:"absolute",visibility:"hidden",whiteSpace:"pre",fontFamily:e.css("font-family"),fontSize:e.css("font-size"),fontStyle:e.css("font-style"),fontVariant:e.css("font-variant"),fontWeight:e.css("font-weight"),wordSpacing:e.css("word-spacing"),letterSpacing:e.css("letter-spacing"),textIndent:e.css("text-indent"),textRendering:e.css("text-rendering"),textTransform:e.css("text-transform")}).insertAfter(e)),this._checkLanguageDirection(),0===this.$hint.length&&(this.setHint=this.getHint=this.clearHint=this.clearHintIfInvalid=h.noop)}function y(t){return t.altKey||t.ctrlKey||t.metaKey||t.shiftKey}b={val:"tt-selectable-display",obj:"tt-selectable-object"},_=h.getIdGenerator(),x.extractData=function(t){t=p(t);return t.data(b.obj)?{val:t.data(b.val)||"",obj:t.data(b.obj)||null}:null},h.mixin(x.prototype,r,{_overwrite:function(t,e){(e=e||[]).length?this._renderSuggestions(t,e):this.async&&this.templates.pending?this._renderPending(t):!this.async&&this.templates.notFound?this._renderNotFound(t):this._empty(),this.trigger("rendered",this.name,e,!1)},_append:function(t,e){(e=e||[]).length&&this.$lastSuggestion.length?this._appendSuggestions(t,e):e.length?this._renderSuggestions(t,e):!this.$lastSuggestion.length&&this.templates.notFound&&this._renderNotFound(t),this.trigger("rendered",this.name,e,!0)},_renderSuggestions:function(t,e){var n=this._getSuggestionsFragment(t,e);this.$lastSuggestion=n.children().last(),this.$el.html(n).prepend(this._getHeader(t,e)).append(this._getFooter(t,e))},_appendSuggestions:function(t,e){t=this._getSuggestionsFragment(t,e),e=t.children().last();this.$lastSuggestion.after(t),this.$lastSuggestion=e},_renderPending:function(t){var e=this.templates.pending;this._resetLastSuggestion(),e&&this.$el.html(e({query:t,dataset:this.name}))},_renderNotFound:function(t){var e=this.templates.notFound;this._resetLastSuggestion(),e&&this.$el.html(e({query:t,dataset:this.name}))},_empty:function(){this.$el.empty(),this._resetLastSuggestion()},_getSuggestionsFragment:function(n,t){var i=this,r=document.createDocumentFragment();return h.each(t,function(t){var e=i._injectQuery(n,t),e=p(i.templates.suggestion(e)).data(b.obj,t).data(b.val,i.displayFn(t)).addClass(i.classes.suggestion+" "+i.classes.selectable);r.appendChild(e[0])}),this.highlight&&m({className:this.classes.highlight,node:r,pattern:n}),p(r)},_getFooter:function(t,e){return this.templates.footer?this.templates.footer({query:t,suggestions:e,dataset:this.name}):null},_getHeader:function(t,e){return this.templates.header?this.templates.header({query:t,suggestions:e,dataset:this.name}):null},_resetLastSuggestion:function(){this.$lastSuggestion=p()},_injectQuery:function(t,e){return h.isObject(e)?h.mixin({_query:t},e):e},update:function(e){var n=this,i=!1,r=!1,o=0;function t(t){r||(r=!0,t=(t||[]).slice(0,n.limit),o=t.length,n._overwrite(e,t),o<n.limit&&n.async&&n.trigger("asyncRequested",e))}this.cancel(),this.cancel=function(){i=!0,n.cancel=p.noop,n.async&&n.trigger("asyncCanceled",e)},this.source(e,t,function(t){t=t||[],!i&&o<n.limit&&(n.cancel=p.noop,o+=t.length,n._append(e,t.slice(0,n.limit-o)),n.async)&&n.trigger("asyncReceived",e)}),r||t([])},cancel:p.noop,clear:function(){this._empty(),this.cancel(),this.trigger("cleared")},isEmpty:function(){return this.$el.is(":empty")},destroy:function(){this.$el=p("<div>")}});var b,_,w=x;function x(t,e){var n,i;(t=t||{}).templates=t.templates||{},t.templates.notFound=t.templates.notFound||t.templates.empty,t.source||p.error("missing source"),t.node||p.error("missing node"),t.name&&!/^[_a-zA-Z0-9-]+$/.test(t.name)&&p.error("invalid dataset name: "+t.name),e.mixin(this),this.highlight=!!t.highlight,this.name=t.name||_(),this.limit=t.limit||5,this.displayFn=(n=(n=t.display||t.displayKey)||h.stringify,h.isFunction(n)?n:function(t){return t[n]}),this.templates=(e=t.templates,i=this.displayFn,{notFound:e.notFound&&h.templatify(e.n
1otFound),pending:e.pending&&h.templatify(e.pending),header:e.header&&h.templatify(e.header),footer:e.footer&&h.templatify(e.footer),suggestion:e.suggestion||function(t){return p("<div>").text(i(t))}}),this.source=t.source.__ttAdapter?t.source.__ttAdapter():t.source,this.async=h.isUndefined(t.async)?2<this.source.length:!!t.async,this._resetLastSuggestion(),this.$el=p(t.node).addClass(this.classes.dataset).addClass(this.classes.dataset+"-"+this.name)}h.mixin(T.prototype,r,{_onSelectableClick:function(t){this.trigger("selectableClicked",p(t.currentTarget))},_onRendered:function(t,e,n,i){this.$node.toggleClass(this.classes.empty,this._allDatasetsEmpty()),this.trigger("datasetRendered",e,n,i)},_onCleared:function(){this.$node.toggleClass(this.classes.empty,this._allDatasetsEmpty()),this.trigger("datasetCleared")},_propagate:function(){this.trigger.apply(this,arguments)},_allDatasetsEmpty:function(){return h.every(this.datasets,function(t){return t.isEmpty()})},_getSelectables:function(){return this.$node.find(this.selectors.selectable)},_removeCursor:function(){var t=this.getActiveSelectable();t&&t.removeClass(this.classes.cursor)},_ensureVisible:function(t){var e=t.position().top,t=e+t.outerHeight(!0),n=this.$node.scrollTop(),i=this.$node.height()+parseInt(this.$node.css("paddingTop"),10)+parseInt(this.$node.css("paddingBottom"),10);e<0?this.$node.scrollTop(n+e):i<t&&this.$node.scrollTop(n+(t-i))},bind:function(){var e=this,t=h.bind(this._onSelectableClick,this);return this.$node.on("click.tt",this.selectors.selectable,t),h.each(this.datasets,function(t){t.onSync("asyncRequested",e._propagate,e).onSync("asyncCanceled",e._propagate,e).onSync("asyncReceived",e._propagate,e).onSync("rendered",e._onRendered,e).onSync("cleared",e._onCleared,e)}),this},isOpen:function(){return this.$node.hasClass(this.classes.open)},open:function(){this.$node.addClass(this.classes.open)},close:function(){this.$node.removeClass(this.classes.open),this._removeCursor()},setLanguageDirection:function(t){this.$node.attr("dir",t)},selectableRelativeToCursor:function(t){var e=this.getActiveSelectable(),n=this._getSelectables(),e=(e?n.index(e):-1)+t;return-1==(e=(e=(e+1)%(n.length+1)-1)<-1?n.length-1:e)?null:n.eq(e)},setCursor:function(t){this._removeCursor(),(t=t&&t.first())&&(t.addClass(this.classes.cursor),this._ensureVisible(t))},getSelectableData:function(t){return t&&t.length?w.extractData(t):null},getActiveSelectable:function(){var t=this._getSelectables().filter(this.selectors.cursor).first();return t.length?t:null},getTopSelectable:function(){var t=this._getSelectables().first();return t.length?t:null},update:function(e){var t=e!==this.query;return t&&(this.query=e,h.each(this.datasets,function(t){t.update(e)})),t},empty:function(){h.each(this.datasets,function(t){t.clear()}),this.query=null,this.$node.addClass(this.classes.empty)},destroy:function(){this.$node.off(".tt"),this.$node=p("<div>"),h.each(this.datasets,function(t){t.destroy()})}});var k=T;function T(t,n){var i=this;(t=t||{}).node||p.error("node is required"),n.mixin(this),this.$node=p(t.node),this.query=null,this.datasets=h.map(t.datasets,function(t){var e=i.$node.find(t.node).first();return t.node=e.length?e:p("<div>").appendTo(i.$node),new w(t,n)})}C=k.prototype,h.mixin(j.prototype,k.prototype,{open:function(){return this._allDatasetsEmpty()||this._show(),C.open.apply(this,[].slice.call(arguments,0))},close:function(){return this._hide(),C.close.apply(this,[].slice.call(arguments,0))},_onRendered:function(){return this._allDatasetsEmpty()?this._hide():this.isOpen()&&this._show(),C._onRendered.apply(this,[].slice.call(arguments,0))},_onCleared:function(){return this._allDatasetsEmpty()?this._hide():this.isOpen()&&this._show(),C._onCleared.apply(this,[].slice.call(arguments,0))},setLanguageDirection:function(t){return this.$node.css("ltr"===t?this.css.ltr:this.css.rtl),C.setLanguageDirection.apply(this,[].slice.call(arguments,0))},_hide:function(){this.$node.hide()},_show:function(){this.$node.css("display","block")}});var C,S=j;function j(){k.apply(this,[].slice.call(arguments,0))}h.mixin(I.prototype,{_hacks:function(){var i=this.input.$input||p("<div>"),r=this.menu.$node||p("<div>");i.on("blur.tt",function(t){var e=document.activeElement,n=r.is(e),e=0<r.has(e).length;h.isMsie()&&(n||e)&&(t.preventDefault(),t.stopImmediatePropagation(),h.defer(function(){i.focus()}))}),r.on("mousedown.tt",function(t){t.preventDefault()})},_onSelectableClicked:function(t,e){this.select(e)},_onDatasetCleared:function(){this._updateHint()},_onDatasetRendered:function(t,e,n,i){this._updateHint(),this.eventBus.trigger("render",n,i,e)},_onAsyncRequested:function(t,e,n){this.eventBus.trigger("asyncrequest",n,e)},_onAsyncCanceled:function(t,e,n){this.eventBus.trigger("asynccancel",n,e)},_onAsyncReceived:function(t,e,n){this.eventBus.trigger("asyncreceive",n,e)},_onFocused:function(){this._minLengthMet()&&this.menu.update(this.input.getQuery())},_onBlurred:function(){this.input.hasQueryChangedSinceLastFocus()&&this.eventBus.trigger("change",this.input.getQuery())},_onEnterKeyed:function(t,e){var n;(n=this.menu.getActiveSelectable())&&this.select(n)&&e.preventDefault()},_onTabKeyed:function(t,e){var n;(n=this.menu.getActiveSelectable())?this.select(n)&&e.preventDefault():(n=this.menu.getTopSelectable())&&this.autocomplete(n)&&e.preventDefault()},_onEscKeyed:function(){this.close()},_onUpKeyed:function(){this.moveCursor(-1)},_onDownKeyed:function(){this.moveCursor(1)},_onLeftKeyed:function(){"rtl"===this.dir&&this.input.isCursorAtEnd()&&this.autocomplete(this.menu.getTopSelectable())},_onRightKeyed:function(){"ltr"===this.dir&&this.input.isCursorAtEnd()&&this.autocomplete(this.menu.getTopSelectable())},_onQueryChanged:function(t,e){this._minLengthMet(e)?this.menu.update(e):this.menu.empty()},_onWhitespaceChanged:function(){this._updateHint()},_onLangDirChanged:function(t,e){this.dir!==e&&(this.dir=e,this.menu.setLanguageDirection(e))},_openIfActive:function(){this.isActive()&&this.open()},_minLengthMet:function(t){return(t=h.isString(t)?t:this.input.getQuery()||"").length>=this.minLength},_updateHint:function(){var t,e=this.menu.getTopSelectable(),e=this.menu.getSelectableData(e),n=this.input.getInputValue();!e||h.isBlankString(n)||this.input.hasOverflow()?this.input.clearHint():(t=g.normalizeQuery(n),t=h.escapeRegExChars(t),(t=new RegExp("^(?:"+t+")(.+$)","i").exec(e.val))&&this.input.setHint(n+t[1]))},isEnabled:function(){return this.enabled},enable:function(){this.enabled=!0},disable:function(){this.enabled=!1},isActive:function(){return this.active},activate:function(){return!!this.isActive()||!(!this.isEnabled()||this.eventBus.before("active")||(this.active=!0,this.eventBus.trigger("active"),0))},deactivate:function(){return!this.isActive()||!this.eventBus.before("idle")&&(this.active=!1,this.close(),this.eventBus.trigger("idle"),!0)},isOpen:function(){return this.menu.isOpen()},open:function(){return this.isOpen()||this.eventBus.before("open")||(this.menu.open(),this._updateHint(),this.eventBus.trigger("open")),this.isOpen()},close:function(){return this.isOpen()&&!this.eventBus.before("close")&&(this.menu.close(),this.input.clearHint(),this.input.resetInputValue(),this.eventBus.trigger("close")),!this.isOpen()},setVal:function(t){this.input.setQuery(h.toStr(t))},getVal:function(){return this.input.getQuery()},select:function(t){t=this.menu.getSelectableData(t);return!(!t||this.eventBus.before("select",t.obj)||(this.input.setQuery(t.val,!0),this.eventBus.trigger("select",t.obj),this.close(),0))},autocomplete:function(t){var e=this.input.getQuery(),t=this.menu.getSelectableData(t);return!(!t||e===t.val||this.eventBus.before("autocomplete",t.obj)||(this.input.setQuery(t.val),this.eventBus.trigger("autocomplete",t.obj),0))},moveCursor:function(t){var e=this.input.getQuery(),t=this.menu.selectableRelativeToCursor(t),n=this.menu.getSelectableData(t),i=n?n.obj:null;return!(this._minLengthMet()&&this.menu.update(e)||this.eventBus.before("cursorchange",i
1)||(this.menu.setCursor(t),n?this.input.setInputValue(n.val):(this.input.resetInputValue(),this._updateHint()),this.eventBus.trigger("cursorchange",i),0))},destroy:function(){this.input.destroy(),this.menu.destroy()}});var E,O,P,A=I;function I(t,e){var n,i,r,o,s,a,l,c,u;(t=t||{}).input||p.error("missing input"),t.menu||p.error("missing menu"),t.eventBus||p.error("missing event bus"),e.mixin(this),this.eventBus=t.eventBus,this.minLength=h.isNumber(t.minLength)?t.minLength:1,this.input=t.input,this.menu=t.menu,this.enabled=!0,this.active=!1,this.input.hasFocus()&&this.activate(),this.dir=this.input.getLangDir(),this._hacks(),this.menu.bind().onSync("selectableClicked",this._onSelectableClicked,this).onSync("asyncRequested",this._onAsyncRequested,this).onSync("asyncCanceled",this._onAsyncCanceled,this).onSync("asyncReceived",this._onAsyncReceived,this).onSync("datasetRendered",this._onDatasetRendered,this).onSync("datasetCleared",this._onDatasetCleared,this),e=M(this,"activate","open","_onFocused"),t=M(this,"deactivate","_onBlurred"),n=M(this,"isActive","isOpen","_onEnterKeyed"),i=M(this,"isActive","isOpen","_onTabKeyed"),r=M(this,"isActive","_onEscKeyed"),o=M(this,"isActive","open","_onUpKeyed"),s=M(this,"isActive","open","_onDownKeyed"),a=M(this,"isActive","isOpen","_onLeftKeyed"),l=M(this,"isActive","isOpen","_onRightKeyed"),c=M(this,"_openIfActive","_onQueryChanged"),u=M(this,"_openIfActive","_onWhitespaceChanged"),this.input.bind().onSync("focused",e,this).onSync("blurred",t,this).onSync("enterKeyed",n,this).onSync("tabKeyed",i,this).onSync("escKeyed",r,this).onSync("upKeyed",o,this).onSync("downKeyed",s,this).onSync("leftKeyed",a,this).onSync("rightKeyed",l,this).onSync("queryChanged",c,this).onSync("whitespaceChanged",u,this).onSync("langDirChanged",this._onLangDirChanged,this)}function M(n){var t=[].slice.call(arguments,1);return function(){var e=[].slice.call(arguments);h.each(t,function(t){return n[t].apply(n,e)})}}function N(t,n){t.each(function(){var t,e=p(this);(t=e.data(O.typeahead))&&n(t,e)})}function D(t){t=h.isJQuery(t)||h.isElement(t)?p(t).first():[];return t.length?t:null}E=p.fn.typeahead,O={www:"tt-www",attrs:"tt-attrs",typeahead:"tt-typeahead"},P={initialize:function(s,a){var l;return a=h.isArray(a)?a:[].slice.call(arguments,1),l=t((s=s||{}).classNames),this.each(function(){var t,e,n,i,r,o;h.each(a,function(t){t.highlight=!!s.highlight}),t=p(this),o=p(l.html.wrapper),r=D(s.hint),e=D(s.menu),n=!1!==s.hint&&!r,i=!1!==s.menu&&!e,n&&(r=((t,e)=>t.clone().addClass(e.classes.hint).removeData().css(e.css.hint).css((t=>({backgroundAttachment:t.css("background-attachment"),backgroundClip:t.css("background-clip"),backgroundColor:t.css("background-color"),backgroundImage:t.css("background-image"),backgroundOrigin:t.css("background-origin"),backgroundPosition:t.css("background-position"),backgroundRepeat:t.css("background-repeat"),backgroundSize:t.css("background-size")}))(t)).prop("readonly",!0).removeAttr("id name placeholder required").attr({autocomplete:"off",spellcheck:"false",tabindex:-1}))(t,l)),i&&(e=p(l.html.menu).css(l.css.menu)),r&&r.val(""),t=((t,e)=>{t.data(O.attrs,{dir:t.attr("dir"),autocomplete:t.attr("autocomplete"),spellcheck:t.attr("spellcheck"),style:t.attr("style")}),t.addClass(e.classes.input).attr({autocomplete:"off",spellcheck:!1});try{t.attr("dir")||t.attr("dir","auto")}catch(t){}return t})(t,l),(n||i)&&(o.css(l.css.wrapper),t.css(n?l.css.input:l.css.inputWithNoHint),t.wrap(o).parent().prepend(n?r:null).append(i?e:null));o=i?S:k,n=new c({el:t}),i=new g({hint:r,input:t},l),r=new o({node:e,datasets:a},l),o=new A({input:i,menu:r,eventBus:n,minLength:s.minLength},l),t.data(O.www,l),t.data(O.typeahead,o)})},isEnabled:function(){var e;return N(this.first(),function(t){e=t.isEnabled()}),e},enable:function(){return N(this,function(t){t.enable()}),this},disable:function(){return N(this,function(t){t.disable()}),this},isActive:function(){var e;return N(this.first(),function(t){e=t.isActive()}),e},activate:function(){return N(this,function(t){t.activate()}),this},deactivate:function(){return N(this,function(t){t.deactivate()}),this},isOpen:function(){var e;return N(this.first(),function(t){e=t.isOpen()}),e},open:function(){return N(this,function(t){t.open()}),this},close:function(){return N(this,function(t){t.close()}),this},select:function(t){var e=!1,n=p(t);
1return N(this.first(),function(t){e=t.select(n)}),e},autocomplete:function(t){var e=!1,n=p(t);return N(this.first(),function(t){e=t.autocomplete(n)}),e},moveCursor:function(e){var n=!1;return N(this.first(),function(t){n=t.moveCursor(e)}),n},val:function(e){var n;return arguments.length?(N(this,function(t){t.setVal(e)}),this):(N(this.first(),function(t){n=t.getVal()}),n)},destroy:function(){return N(this,function(t,e){var n,i;e=(n=e).data(O.www),i=n.parent().filter(e.selectors.wrapper),h.each(n.data(O.attrs),function(t,e){h.isUndefined(t)?n.removeAttr(e):n.attr(e,t)}),n.removeData(O.typeahead).removeData(O.www).removeData(O.attr).removeClass(e.classes.input),i.length&&(n.detach().insertAfter(i),i.remove()),t.destroy()}),this}},p.fn.typeahead=function(t){return P[t]?P[t].apply(this,[].slice.call(arguments,1)):P.initialize.apply(this,arguments)},p.fn.typeahead.noConflict=function(){return p.fn.typeahead=E,this}}),!function(t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this).videojs=t()}(function(){return function i(r,o,s){function a(n,t){if(!o[n]){if(!r[n]){var e="function"==typeof require&&require;if(!t&&e)return e(n,!0);if(l)return l(n,!0);t=new Error("Cannot find module '"+n+"'");throw t.code="MODULE_NOT_FOUND",t}e=o[n]={exports:{}};r[n][0].call(e.exports,function(t){var e=r[n][1][t];return a(e||t)},e,e.exports,i,r,o,s)}return o[n].exports}for(var l="function"==typeof require&&require,t=0;t<s.length;t++)a(s[t]);return a}({1:[function(i,r){!function(t){var e,t=void 0!==t?t:"undefined"!=typeof window?window:{},n=i("min-document");"undefined"!=typeof document?r.exports=document:(e=(e=t["__GLOBAL_DOCUMENT_CACHE@4"])||(t["__GLOBAL_DOCUMENT_CACHE@4"]=n),r.exports=e)}.call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"min-document":3}],2:[function(t,e){!function(t){e.exports="undefined"!=typeof window?window:void 0!==t?t:"undefined"!=typeof self?self:{}}.call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],3:[function(){},{}],4:[function(t,e){t=t("../internal/getNative")(Date,"now");e.exports=t||function(){return(new Date).getTime()}},{"../internal/getNative":20}],5:[function(t,e){var y=t("../lang/isObject"),b=t("../date/now"),_=Math.max;e.exports=function(i,r,t){function e(t,e){e&&clearTimeout(e),l=h=d=void 0,t&&(m=b(),c=i.apply(p,a),h||l||(a=p=void 0))}function o(){var t=r-(b()-u);t<=0||r<t?e(d,l):h=setTimeout(o,t)}function s(){e(v,h)}function n(){var t,e,n;return a=arguments,u=b(),p=this,d=v&&(h||!f),!1===g?t=f&&!h:(n=(e=g-(u-(m=l||f?m:u)))<=0||g<e)?(l=l&&clearTimeout(l),m=u,c=i.apply(p,a)):l=l||setTimeout(s,e),n&&h?h=clearTimeout(h):h||r===g||(h=setTimeout(o,r)),t&&(n=!0,c=i.apply(p,a)),!n||h||l||(a=p=void 0),c}var a,l,c,u,p,h,d,f,m=0,g=!1,v=!0;if("function"!=typeof i)throw new TypeError("Expected a function");return r=!(r<0)&&+r||0,!0===t?v=!(f=!0):y(t)&&(f=!!t.leading,g="maxWait"in t&&_(+t.maxWait||0,r),v="trailing"in t?!!t.trailing:v),n.cancel=function(){h&&clearTimeout(h),l&&clearTimeout(l),l=h=d=void(m=0)},n}},{"../date/now":4,"../lang/isObject":33}],6:[function(t,e){var a=Math.max;e.exports=function(o,s){if("function"!=typeof o)throw new TypeError("Expected a function");return s=a(void 0===s?o.length-1:+s||0,0),function(){for(var t=arguments,e=-1,n=a(t.length-s,0),i=Array(n);++e<n;)i[e]=t[s+e];switch(s){case 0:return o.call(this,i);case 1:return o.call(this,t[0],i);case 2:return o.call(this,t[0],t[1],i)}for(var r=Array(s+1),e=-1;++e<s;)r[e]=t[e];return r[s]=i,o.apply(this,r)}}},{}],7:[function(t,e){var o=t("./debounce"),s=t("../lang/isObject");e.exports=function(t,e,n){var i=!0,r=!0;if("function"!=typeof t)throw new TypeError("Expected a function");return!1===n?i=!1:s(n)&&(i="leading"in n?!!n.leading:i,r="trailing"in n?!!n.trailing:r),o(t,e,{leading:i,maxWait:+e,trailing:r})}},{"../lang/isObject":33,"./debounce":5}],8:[function(t,e){e.exports=function(t,e){var n=-1,i=t.length;for(e=e||Array(i);++n<i;)e[n]=t[n];return e}},{}],9:[function(t,e){e.exports=function(t,e){for(var n=-1,i=t.length;++n<i&&!1!==e(t[n],n,t););return t}},{}],10:[function(t,e){e.exports=function(t,e,n){n=n||{};for(var i=-1,r=e.length;++i<r;){var o=e[i];n[o]=t[o]}return n}},{}],11:[function(t,e){t=t("./createBaseFor")();e.exports=t},{"./createBaseFor":18}],12:[function(t,e){var n=t("./baseFor"),i=t("../object/keysIn");e.exports=function(t,e){return n(t,e,i)}},{"../object/keysIn":39,"./baseFor":11}],13:[function(t,e){var n=t("./arrayEach"),d=t("./baseMergeDeep"),i=t("../lang/isArray"),r=t("./isArrayLike"),f=t("../lang/isObject"),m=t("./isObjectLike"),g=t("../lang/isTypedArray"),v=t("../object/keys");e.exports=function o(s,a,l,c,u){var p,h;return f(s)&&(p=r(a)&&(i(a)||g(a)),h=p?void 0:v(a),n(h||a,function(t,e){var n,i,r;h&&(t=a[e=t]),m(t)?d(s,a,e,o,l,c=c||[],u=u||[]):(n=s[e],void 0===(i=(r=void 0===(i=l?l(n,t,e,s,a):void 0))?t:i)&&(!p||e in s)||!r&&(i==i?i===n:n!=n)||(s[e]=i))})),s}},{"../lang/isArray":30,"../lang/isObject":33,"../lang/isTypedArray":36,"../object/keys":38,"./arrayEach":9,"./baseMergeDeep":14,"./isArrayLike":21,"./isObjectLike":26}],14:[function(t,e){var p=t("./arrayCopy"),h=t("../lang/isArguments"),d=t("../lang/isArray"),f=t("./isArrayLike"),m=t("../lang/isPlainObject"),g=t("../lang/isTypedArray"),v=t("../lang/toPlainObject");e.exports=function(t,e,n,i,r,o,s){for(var a=o.length,l=e[n];a--;)if(o[a]==l)return void(t[n]=s[a]);var c=t[n],u=void 0===(e=r?r(c,l,n,t,e):void 0);u&&(f(e=l)&&(d(l)||g(l))?e=d(c)?c:f(c)?p(c):[]:m(l)||h(l)?e=h(c)?v(c):m(c)?c:{}:u=!1),o.push(l),s.push(e),u?t[n]=i(e,l,r,o,s):(e==e?e!==c:c==c)&&(t[n]=e)}},{"../lang/isArguments":29,"../lang/isArray":30,"../lang/isPlainObject":34,"../lang/isTypedArray":36,"../lang/toPlainObject":37,"./arrayCopy":8,"./isArrayLike":21}],15:[function(t,e){var n=t("./toObject");e.exports=function(e){return function(t){return null==t?void 0:n(t)[e]}}},{"./toObject":28}],16:[function(t,e){var n=t("../utility/identity");e.exports=function(o,s,t){if("function"!=typeof o)return n;if(void 0===s)return o;switch(t){case 1:return function(t){return o.call(s,t)};case 3:return function(t,e,n){return o.call(s,t,e,n)};case 4:return function(t,e,n,i){return o.call(s,t,e,n,i)};case 5:return function(t,e,n,i,r){return o.call(s,t,e,n,i,r)}}return function(){return o.apply(s,arguments)}}},{"../utility/identity":42}],17:[function(t,e){var c=t("./bindCallback"),u=t("./isIterateeCall"),n=t("../function/restParam");e.exports=function(l){return n(function(t,e){var n=-1,i=null==t?0:e.length,r=2<i?e[i-2]:void 0,o=2<i?e[2]:void 0,s=1<i?e[i-1]:void 0;for("function"==typeof r?(r=c(r,s,5),i-=2):i-=(r="function"==typeof s?s:void 0)?1:0,o&&u(e[0],e[1],o)&&(r=i<3?void 0:r,i=1);++n<i;){var a=e[n];a&&l(t,a,r)}return t})}},{"../function/restParam":6,"./bindCallback":16,"./isIterateeCall":24}],18:[function(t,e){var c=t("./toObject");e.exports=function(l){return function(t,e,n){for(var i=c(t),r=n(t),o=r.length,s=l?o:-1;l?s--:++s<o;){var a=r[s];if(!1===e(i[a],a,i))break}return t}}},{"./toObject":28}],19:[function(t,e){t=t("./baseProperty")("length");e.exports=t},{"./baseProperty":15}],20:[function(t,e){var n=t("../lang/isNative");e.exports=function(t,e){return t=null==t?void 0:t[e],n(t)?t:void 0}},{"../lang/isNative":32}],21:[function(t,e){var n=t("./getLength"),i=t("./isLength");e.exports=function(t){return null!=t&&i(n(t))}},{"./getLength":19,"./isLength":25}],22:[function(t,e){var n=(()=>{try{Object({toString:0}+"")}catch(t){return function(){return!1}}return function(t){return"function"!=typeof t.toString&&"string"==typeof(t+"")}})();e.exports=n},{}],23:[function(t,e){var n=/^\d+$/;e.exports=function(t,e){return e=null==e?9007199254740991:e,-1<(t="number"==typeof t||n.test(t)?+t:-1)&&t%1==0&&t<e}},{}],24:[function(t,e){var r=t("./isArrayLike"),o=t("./isIndex"),s=t("../lang/isObject");e.exports=function(t,e,n){var i;return!!s(n)&&!!("number"==(i=typeof e)?r(n)&&o(e,n.length):"string"==i&&e in n)&&(i=n[e],t==t?t===i:i!=i)}},{"../lang/isObject":33,"./isArrayLike":21,"./isIndex":23}],25:[function(t,e){e.exports=function(t){return"number"==typeof t&&-1<t&&t%1==0&&t<=9007199254740991}},{}],26:[function(t,e){e.exports=function(t){return!!t&&"object"==typeof t}},{}
1],27:[function(t,e){var l=t("../lang/isArguments"),c=t("../lang/isArray"),u=t("./isIndex"),p=t("./isLength"),h=t("../lang/isString"),d=t("../object/keysIn"),f=Object.prototype.hasOwnProperty;e.exports=function(t){for(var e=d(t),n=e.length,i=n&&t.length,r=!!i&&p(i)&&(c(t)||l(t)||h(t)),o=-1,s=[];++o<n;){var a=e[o];(r&&u(a,i)||f.call(t,a))&&s.push(a)}return s}},{"../lang/isArguments":29,"../lang/isArray":30,"../lang/isString":35,"../object/keysIn":39,"./isIndex":23,"./isLength":25}],28:[function(t,e){var r=t("../lang/isObject"),o=t("../lang/isString"),s=t("../support");e.exports=function(t){if(s.unindexedChars&&o(t)){for(var e=-1,n=t.length,i=Object(t);++e<n;)i[e]=t.charAt(e);return i}return r(t)?t:Object(t)}},{"../lang/isObject":33,"../lang/isString":35,"../support":41}],29:[function(t,e){var n=t("../internal/isArrayLike"),i=t("../internal/isObjectLike"),t=Object.prototype,r=t.hasOwnProperty,o=t.propertyIsEnumerable;e.exports=function(t){return i(t)&&n(t)&&r.call(t,"callee")&&!o.call(t,"callee")}},{"../internal/isArrayLike":21,"../internal/isObjectLike":26}],30:[function(t,e){var n=t("../internal/getNative"),i=t("../internal/isLength"),r=t("../internal/isObjectLike"),o=Object.prototype.toString,t=n(Array,"isArray");e.exports=t||function(t){return r(t)&&i(t.length)&&"[object Array]"==o.call(t)}},{"../internal/getNative":20,"../internal/isLength":25,"../internal/isObjectLike":26}],31:[function(t,e){var n=t("./isObject"),i=Object.prototype.toString;e.exports=function(t){return n(t)&&"[object Function]"==i.call(t)}},{"./isObject":33}],32:[function(t,e){var n=t("./isFunction"),i=t("../internal/isHostObject"),r=t("../internal/isObjectLike"),o=/^\[object .+?Constructor\]$/,t=Object.prototype,s=Function.prototype.toString,t=t.hasOwnProperty,a=RegExp("^"+s.call(t).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(t){return null!=t&&(n(t)?a.test(s.call(t)):r(t)&&(i(t)?a:o).test(t))}},{"../internal/isHostObject":22,"../internal/isObjectLike":26,"./isFunction":31}],33:[function(t,e){e.exports=function(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}},{}],34:[function(t,e){var n=t("../internal/baseForIn"),r=t("./isArguments"),o=t("../internal/isHostObject"),s=t("../internal/isObjectLike"),a=t("../support"),t=Object.prototype,l=t.hasOwnProperty,c=t.toString;e.exports=function(t){var e,i;return!(!s(t)||"[object Object]"!=c.call(t)||o(t)||r(t)||!(l.call(t,"constructor")||"function"!=typeof(e=t.constructor)||e instanceof e))&&(a.ownLast?(n(t,function(t,e,n){return i=l.call(n,e),!1}),!1!==i):(n(t,function(t,e){i=e}),void 0===i||l.call(t,i)))}},{"../internal/baseForIn":12,"../internal/isHostObject":22,"../internal/isObjectLike":26,"../support":41,"./isArguments":29}],35:[function(t,e){var n=t("../internal/isObjectLike"),i=Object.prototype.toString;e.exports=function(t){return"string"==typeof t||n(t)&&"[object String]"==i.call(t)}},{"../internal/isObjectLike":26}],36:[function(t,e){var n=t("../internal/isLength"),i=t("../internal/isObjectLike"),r={};r["[object Float32Array]"]=r["[object Float64Array]"]=r["[object Int8Array]"]=r["[object Int16Array]"]=r["[object Int32Array]"]=r["[object Uint8Array]"]=r["[object Uint8ClampedArray]"]=r["[object Uint16Array]"]=r["[object Uint32Array]"]=!0,r["[object Arguments]"]=r["[object Array]"]=r["[object ArrayBuffer]"]=r["[object Boolean]"]=r["[object Date]"]=r["[object Error]"]=r["[object Function]"]=r["[object Map]"]=r["[object Number]"]=r["[object Object]"]=r["[object RegExp]"]=r["[object Set]"]=r["[object String]"]=r["[object WeakMap]"]=!1;var o=Object.prototype.toString;e.exports=function(t){return i(t)&&n(t.length)&&!!r[o.call(t)]}},{"../internal/isLength":25,"../internal/isObjectLike":26}],37:[function(t,e){var n=t("../internal/baseCopy"),i=t("../object/keysIn");e.exports=function(t){return n(t,i(t))}},{"../internal/baseCopy":10,"../object/keysIn":39}],38:[function(t,e){var n=t("../internal/getNative"),i=t("../internal/isArrayLike"),r=t("../lang/isObject"),o=t("../internal/shimKeys"),s=t("../support"),a=n(Object,"keys");e.exports=a?function(t){var e=null==t?void 0:t.constructor;return"function"==typeof e&&e.prototype===t||("function"==typeof t?s.enumPrototypes:i(t))?o(t):r(t)?a(t):[]}:o},{"../internal/getNative":20,"../internal/isArrayLike":21,"../internal/shimKeys":27,"../lang/isObject":33,"../support":41}],39:[function(t,e){var n=t("../internal/arrayEach"),d=t("../lang/isArguments"),f=t("../lang/isArray"),m=t("../lang/isFunction"),g=t("../internal/isIndex"),v=t("../internal/isLength"),y=t("../lang/isObject"),b=t("../lang/isString"),_=t("../support"),w="[object Error]",x="[object Object]",k="[object String]",T=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleStr
1ing","toString","valueOf"],C=Error.prototype,S=Object.prototype,j=String.prototype,E=S.hasOwnProperty,O=S.toString,P={};P["[object Array]"]=P["[object Date]"]=P["[object Number]"]={constructor:!0,toLocaleString:!0,toString:!0,valueOf:!0},P["[object Boolean]"]=P[k]={constructor:!0,toString:!0,valueOf:!0},P[w]=P["[object Function]"]=P["[object RegExp]"]={constructor:!0,toString:!0},P[x]={constructor:!0},n(T,function(t){for(var e in P)E.call(P,e)&&((e=P[e])[t]=E.call(e,t))}),e.exports=function(t){if(null==t)return[];for(var e=(e=(t=y(t)?t:Object(t)).length)&&v(e)&&(f(t)||d(t)||b(t))&&e||0,n=t.constructor,i=-1,r=m(n)&&n.prototype||S,o=r===t,s=Array(e),a=0<e,l=_.enumErrorProps&&(t===C||t instanceof Error),c=_.enumPrototypes&&m(t);++i<e;)s[i]=i+"";for(p in t)c&&"prototype"==p||l&&("message"==p||"name"==p)||a&&g(p,e)||"constructor"==p&&(o||!E.call(t,p))||s.push(p);if(_.nonEnumShadows&&t!==S){var n=t===j?k:t===C?w:O.call(t),u=P[n]||P[x];for(n==x&&(r=S),e=T.length;e--;){var p,h=u[p=T[e]];o&&h||(h?!E.call(t,p):t[p]===r[p])||s.push(p)}}return s}},{"../internal/arrayEach":9,"../internal/isIndex":23,"../internal/isLength":25,"../lang/isArguments":29,"../lang/isArray":30,"../lang/isFunction":31,"../lang/isObject":33,"../lang/isString":35,"../support":41}],40:[function(t,e){var n=t("../internal/baseMerge"),t=t("../internal/createAssigner")(n);e.exports=t},{"../internal/baseMerge":13,"../internal/createAssigner":17}],41:[function(t,e){var n=Array.prototype,i=Error.prototype,r=Object.prototype.propertyIsEnumerable,n=n.splice,o={};function s(){this.x=1}var a,l={0:1,length:1},c=[];for(a in s.prototype={valueOf:1,y:1},new s)c.push(a);o.enumErrorProps=r.call(i,"message")||r.call(i,"name"),o.enumPrototypes=r.call(s,"prototype"),o.nonEnumShadows=!/valueOf/.test(c),o.ownLast="x"!=c[0],o.spliceObjects=(n.call(l,0,1),!l[0]),o.unindexedChars="x"[0]+Object("x")[0]!="xx",e.exports=o},{}],42:[function(t,e){e.exports=function(t){return t}},{}],43:[function(t,e){var i=t("object-keys");e.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"!=typeof Symbol.iterator){var t={},e=Symbol("test");if("string"==typeof e)return!1;for(e in t[e]=42,t)return!1;if(0!==i(t).length)return!1;if("function"==typeof Object.keys&&0!==Object.keys(t).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(t).length)return!1;var n=Object.getOwnPropertySymbols(t);if(1!==n.length||n[0]!==e)return!1;if(!Object.prototype.propertyIsEnumerable.call(t,e))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){n=Object.getOwnPropertyDescriptor(t,e);if(42!==n.value||!0!==n.enumerable)return!1}}return!0}},{"object-keys":50}],44:[function(t,e){var c=t("object-keys"),n=t("function-bind"),u=t("./hasSymbols")(),p=Object,h=n.call(Function.call,Array.prototype.push),d=n.call(Function.call,Object.prototype.propertyIsEnumerable);e.exports=function(t){if(null==t)throw new TypeError("target must be an object");for(var e,n,i,r,o,s,a=p(t),l=1;l<arguments.length;++l){if(e=p(arguments[l]),i=c(e),u&&Object.getOwnPropertySymbols)for(r=Object.getOwnPropertySymbols(e),n=0;n<r.length;++n)s=r[n],d(e,s)&&h(i,s);for(n=0;n<i.length;++n)o=e[s=i[n]],d(e,s)&&(a[s]=o)}return a}},{"./hasSymbols":43,"function-bind":49,"object-keys":50}],45:[function(t,e){var n=t("define-properties"),i=t("./implementation");n(i,{implementation:i,getPolyfill:t("./polyfill"),shim:t("./shim")}),e.exports=i},{"./implementation":44,"./polyfill":52,"./shim":53,"define-properties":46}],46:[function(t,e){function n(r,o){var s=2<arguments.length?arguments[2]:{},t=i(o);l&&(t=t.concat(Object.getOwnPropertySymbols(o))),a(t,function(t){var e,n,i;e=r,i=o[n=t],t=s[t],n in e&&(!c(t)||!t())||(u?Object.defineProperty(e,n,{configurable:!0,enumerable:!1,value:i,writable:!0}):e[n]=i)})}var i=t("object-keys"),a=t("foreach"),l="function"==typeof Symbol&&"symbol"==typeof Symbol(),r=Object.prototype.toString,c=function(t){return"function"==typeof t&&"[object Function]"===r.call(t)},u=Object.defineProperty&&(()=>{var t={};try{for(var e in Object.defineProperty(t,"x",{enumerable:!1,value:t}),t)return!1;return t.x===t}catch(t){return!1}})();n.supportsDescriptors=!!u,e.exports=n},{foreach:47,"object-keys":50}],47:[function(t,e){var s=Object.prototype.hasOwnProperty,a=Object.prototype.toString;e.exports=function(t,e,n){if("[object Function]"!==a.call(e))throw new TypeError("iterator must be a function");var i=t.length;if(i===+i)for(var r=0;r<i;r++)e.call(n,t[r],r,t);else for(var o in t)s.call(t,o)&&e.call(n,t[o],o,t)}},{}],48:[function(t,e){var l=Array.prototype.slice,c=Object.prototype.toString;e.exports=function(e){var n=this;if("function"!=typeof n||"[object Function]"!==c.call(n))throw new TypeError("Function.prototype.bind called on incompatible "+n);
1for(var i=l.call(arguments,1),t=Math.max(0,n.length-i.length),r=[],o=0;o<t;o++)r.push("$"+o);var s,a=Function("binder","return function ("+r.join(",")+"){ return binder.apply(this,arguments); }")(function(){var t;return this instanceof a?(t=n.apply(this,i.concat(l.call(arguments))),Object(t)===t?t:this):n.apply(e,i.concat(l.call(arguments)))});return n.prototype&&((s=function(){}).prototype=n.prototype,a.prototype=new s,s.prototype=null),a}},{}],49:[function(t,e){t=t("./implementation");e.exports=Function.prototype.bind||t},{"./implementation":48}],50:[function(t,e){function n(t){var e=null!==t&&"object"==typeof t,n="[object Function]"===d.call(t),i=f(t),r=e&&"[object String]"===d.call(t),o=[];if(!e&&!n&&!i)throw new TypeError("Object.keys called on a non-object");var s=g&&n;if(r&&0<t.length&&!h.call(t,0))for(var a=0;a<t.length;++a)o.push(String(a));if(i&&0<t.length)for(var l=0;l<t.length;++l)o.push(String(l));else for(var c in t)s&&"prototype"===c||!h.call(t,c)||o.push(String(c));if(m)for(var u=(t=>{if("undefined"==typeof window||!b)return y(t);try{return y(t)}catch(t){return!1}})(t),p=0;p<v.length;++p)u&&"constructor"===v[p]||!h.call(t,v[p])||o.push(v[p]);return o}var h=Object.prototype.hasOwnProperty,d=Object.prototype.toString,i=Array.prototype.slice,f=t("./isArguments"),m=!{toString:null}.propertyIsEnumerable("toString"),g=function(){}.propertyIsEnumerable("prototype"),v=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],y=function(t){var e=t.constructor;return e&&e.prototype===t},r={$console:!0,$frame:!0,$frameElement:!0,$frames:!0,$parent:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},b=(()=>{if("undefined"!=typeof window)for(var t in window)try{if(!r["$"+t]&&h.call(window,t)&&null!==window[t]&&"object"==typeof window[t])try{y(window[t])}catch(t){return!0}}catch(t){return!0}return!1})();n.shim=function(){var e;return Object.keys?function(){return 2===(Object.keys(arguments)||"").length}(1,2)||(e=Object.keys,Object.keys=function(t){return e(f(t)?i.call(t):t)}):Object.keys=n,Object.keys||n},e.exports=n},{"./isArguments":51}],51:[function(t,e){var n=Object.prototype.toString;e.exports=function(t){var e=n.call(t);return"[object Arguments]"===e||"[object Array]"!==e&&null!==t&&"object"==typeof t&&"number"==typeof t.length&&0<=t.length&&"[object Function]"===n.call(t.callee)}},{}],52:[function(t,e){var n=t("./implementation");e.exports=function(){return!Object.assign||(()=>{if(!Object.assign)return!1;for(var t="abcdefghijklmnopqrst",e=t.split(""),n={},i=0;i<e.length;++i)n[e[i]]=e[i];var r,o="";for(r in Object.assign({},n))o+=r;return t!==o})()||(()=>{if(!Object.assign||!Object.preventExtensions)return!1;var e=Object.preventExtensions({1:2});try{Object.assign(e,"xy")}catch(t){return"y"===e[1]}})()?n:Object.assign}},{"./implementation":44}],53:[function(t,e){var n=t("define-properties"),i=t("./polyfill");e.exports=function(){var t=i();return n(Object,{assign:t},{assign:function(){return Object.assign!==t}}),t}},{"./polyfill":52,"define-properties":46}],54:[function(t,e){e.exports=function(t,e){var n,i=null;try{n=JSON.parse(t,e)}catch(t){i=t}return[i,n]}},{}],55:[function(t,e){e.exports=function(t){for(var e="",n=0;n<arguments.length;n++)e+=t[n].replace(/\n\r?\s*/g,"")+(arguments[n+1]||"");return e}},{}],56:[function(t,e){function r(t,e,n){var i=t;return s(e)?(n=e,"string"==typeof t&&(i={uri:t})):i=a(e,{uri:t}),i.callback=n,i}function m(t,e,n){return o(e=r(t,e,n))}function o(i){function e(t){clearTimeout(o),(t=t instanceof Error?t:new Error(""+(t||"Unknown XMLHttpRequest Error"))).statusCode=0,s(t,a)}function t(){var t,e,n;r||(clearTimeout(o),t=i.useXDR&&void 0===l.status?200:1223===l.status?204:l.status,e=a,n=null,0!==t?(e={body:(()=>{var t=void 0;if(l.response?t=l.response:"text"!==l.responseType&&l.responseType||(t=l.responseText||l.responseXML),f)try{t=JSON.parse(t)}catch(t){}return t})(),statusCode:t,method:u,headers:{},url:c,rawRequest:l},l.getAllResponseHeaders&&(e.headers=v(l.getAllResponseHeaders()))):n=new Error("Internal XMLHttpRequest Error"),s(n,e,e.body))}if(void 0===(s=i.callback))throw new Error("callback argument missing");var n,r,o,s=g(s),a={body:void 0,headers:{},statusCode:0,method:u,url:c,rawRequest:l},l=i.xhr||null,c=(l=l||new(i.cors||i.useXDR?m.XDomainRequest:m.XMLHttpRequest)).url=i.uri||i.url,u=l.method=i.method||"GET",p=i.body||i.data||null,h=l.headers=i.headers||{},d=!!i.sync,f=!1;if("json"in i&&(f=!0,h.accept||h.Accept||(h.Accept="application/json"),"GET"!==u)&&"HEAD"!==u&&(h["content-type"]||h["Content-Type"]||(h["Content-Type"]="application/json"),p=JSON.stringify(i.json)),l.onreadystatechange=function(){4===l.readyState&&t()},l.onload=t,l.onerror=e,l.onprogress=function(){},l.ontimeout=e,l.open(u,c,!d,i.username,i.password),d||(l.withCredentials=!!i.withCredentials),!d&&0<i.timeout&&(o=setTimeout(function(){r=!0,l.abort("timeout");var t=new Error("XMLHttpRequest timeout");t.code="ETIMEDOUT",e(t)},i.timeout)),l.setRequestHeader)for(n in h)h.hasOwnProperty(n)&&l.setRequestHeader(n,h[n]);else if(i.headers&&!(t=>{for(var e in t)if(t.hasOwnProperty(e))return;return 1})(i.headers))throw new Error("Headers cannot be set on an XDomainRequest object");return"responseType"in i&&(l.responseType=i.responseType),"beforeSend"in i&&"function"==typeof i.beforeSend&&i.beforeSend(l),l.send(p),l}for(var n=t("global/window"),g=t("once"),s=t("is-function"),v=t("parse-headers"),a=t("xtend"),i=((e.exports=m).XMLHttpRequest=n.XMLHttpRequest||function(){},m.XDomainRequest="withCredentials"in new m.XMLHttpRequest?m.XMLHttpRequest:n.XDomainRequest,["get","put","post","patch","head","delete"]),l=function(i){m["delete"===i?"del":i]=function(t,e,n){return(e=r(t,e,n)).method=i.toUpperCase(),o(e)}},c=0;c<i.length;c++)l(i[c])},{"global/window":2,"is-function":57,once:58,"parse-headers":61,xtend:62}],57:[function(t,e){e.exports=function(t){var e=n.call(t);return"[object Function]"===e||"function"==typeof t&&"[object RegExp]"!==e||"undefined"!=typeof window&&(t===window.setTimeout||t===window.alert||t===window.confirm||t===window.prompt)};var n=Object.prototype.toString},{}],58:[function(t,e){function n(t){var e=!1;return function(){return e?void 0:(e=!0,t.apply(this,arguments))}}(e.exports=n).proto=n(function(){Object.defineProperty(Function.prototype,"once",{value:function(){return n(this)},configurable:!0})})},{}],59:[function(t,e){var i=t("is-function"),r=(e.exports=function(t,e,n){if(!i(e))throw new TypeError("iterator must be a function");arguments.length<3&&(n=this),("[object Array]"===r.call(t)?(t,e,n)=>{for(var i=0,r=t.length;i<r;i++)o.call(t,i)&&e.call(n,t[i],i,t)}:"string"==typeof t?(t,e,n)=>{for(var i=0,r=t.length;i<r;i++)e.call(n,t.charAt(i),i,t)}:(t,e,n)=>{for(var i in t)o.call(t,i)&&e.call(n,t[i],i,t)})(t,e,n)},Object.prototype.toString),o=Object.prototype.hasOwnProperty},{"is-function":57}],60:[function(t,e,n){(n=e.exports=function(t){return t.replace(/^\s*|\s*$/g,"")}).left=function(t){return t.replace(/^\s*/,"")},n.right=function(t){return t.replace(/\s*$/,"")}},{}],61:[function(t,e){var r=t("trim"),n=t("for-each");e.exports=function(t){var i;return t?(i={},n(r(t).split("\n"),function(t){var e=t.indexOf(":"),n=r(t.slice(0,e)).toLowerCase(),t=r(t.slice(e+1));void 0===i[n]?i[n]=t:(e=i[n],"[object Array]"===Object.prototype.toString.call(e)?i[n].push(t):i[n]=[i[n],t])}),i):{}}},{"for-each":59,trim:60}],62:[function(t,e){e.exports=function(){for(var t={},e=0;e<arguments.length;e++){var n,i=arguments[e];for(n in i)r.call(i,n)&&(t[n]=i[n])}return t};var r=Object.prototype.hasOwnProperty},{}],63:[function(t,e,n){function i(t){return t&&t.__esModule?t:{default:t}}n.__esModule=!0;var r=i(t("./button.js")),t=i(t("./component.js")),r=(n=>{function i(t,e){if(!(this instanceof i))throw new TypeError("Cannot call a class as a function");n.call(this,t,e)}var t=i,e=n;if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);return t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e),i.prototype.buildCSSClass=function(){return"vjs-big-play-button"},i.prototype.handleClick=function(){this.player_.play()},i})(r.default);r.prototype.controlText_="Play Video",t.default.registerComponent("BigPlayButton",r),n.default=r,e.exports=n.default},{"./button.js":64,"./component.js":67}
1],64:[function(t,e,n){function i(t){if(!t||!t.__esModule){if(null!=t)for(var e in t)Object.prototype.hasOwnProperty.call(t,e)&&(e,t[e]);0}}function r(t){return t&&t.__esModule?t:{default:t}}n.__esModule=!0;var o=r(t("./clickable-component.js")),s=r(t("./component")),a=(i(t("./utils/events.js")),t("./utils/fn.js"));i(a);var l=r(t("./utils/log.js")),a=(r(t("global/document")),t("object.assign")),c=r(a),t=(n=>{function i(t,e){if(!(this instanceof i))throw new TypeError("Cannot call a class as a function");n.call(this,t,e)}var t=i,e=n;if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);return t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e),i.prototype.createEl=function(){var t=arguments.length<=0||void 0===arguments[0]?"button":arguments[0],e=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],n=arguments.length<=2||void 0===arguments[2]?{}:arguments[2],e=c.default({className:this.buildCSSClass()},e),n=("button"!==t&&(l.default.warn("Creating a Button with an HTML element of "+t+" is deprecated; use ClickableComponent instead."),e=c.default({tabIndex:0},e),n=c.default({role:"button"},n)),c.default({type:"button","aria-live":"polite"},n)),t=s.default.prototype.createEl.call(this,t,e,n);return this.createControlTextEl(t),t},i.prototype.addChild=function(t){var e=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],n=this.constructor.name;return l.default.warn("Adding an actionable (user controllable) child to a Button ("+n+") is not supported; use a ClickableComponent instead."),s.default.prototype.addChild.call(this,t,e)},i.prototype.handleKeyPress=function(t){32!==t.which&&13!==t.which&&n.prototype.handleKeyPress.call(this,t)},i})(o.default);s.default.registerComponent("Button",t),n.default=t,e.exports=n.default},{"./clickable-component.js":65,"./component":67,"./utils/events.js":144,"./utils/fn.js":145,"./utils/log.js":148,"global/document":1,"object.assign":45}],65:[function(t,e,n){function i(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}function r(t){return t&&t.__esModule?t:{default:t}}n.__esModule=!0;var o=r(t("./component")),s=i(t("./utils/dom.js")),a=i(t("./utils/events.js")),l=i(t("./utils/fn.js")),c=r(t("./utils/log.js")),u=r(t("global/document")),p=r(t("object.assign")),t=(i=>{function n(t,e){if(!(this instanceof n))throw new TypeError("Cannot call a class as a function");i.call(this,t,e),this.emitTapEvents(),this.on("tap",this.handleClick),this.on("click",this.handleClick),this.on("focus",this.handleFocus),this.on("blur",this.handleBlur)}var t=n,e=i;if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);return t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e),n.prototype.createEl=function(){var t=arguments.length<=0||void 0===arguments[0]?"div":arguments[0],e=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],n=arguments.length<=2||void 0===arguments[2]?{}:arguments[2],e=p.default({className:this.buildCSSClass(),tabIndex:0},e),n=("button"===t&&c.default.error("Creating a ClickableComponent with an HTML element of "+t+" is not supported; use a Button instead."),p.default({role:"button","aria-live":"polite"},n)),t=i.prototype.createEl.call(this,t,e,n);return this.createControlTextEl(t),t},n.prototype.createControlTextEl=function(t){return this.controlTextEl_=s.createEl("span",{className:"vjs-control-text"}),t&&t.appendChild(this.controlTextEl_),this.controlText(this.controlText_),this.controlTextEl_},n.prototype.controlText=function(t){return t?(this.controlText_=t,this.controlTextEl_.innerHTML=this.localize(this.controlText_),this):this.controlText_||"Need Text"},n.prototype.buildCSSClass=function(){return"vjs-control vjs-button "+i.prototype.buildCSSClass.call(this)},n.prototype.addChild=function(t){return i.prototype.addChild.call(this,t,arguments.length<=1||void 0===arguments[1]?{}:arguments[1])},n.prototype.enable=function(){return this.removeClass("vjs-disabled"),this.el_.setAttribute("aria-disabled","false"),this},n.prototype.disable=function(){return this.addClass("vjs-disabled"),this.el_.setAttribute("aria-disabled","true"),this},n.prototype.handleClick=function(){},n.prototype.handleFocus=function(){a.on(u.default,"keydown",l.bind(this,this.handleKeyPress))},n.prototype.handleKeyPress=function(t){32===t.which||13===t.which?(t.preventDefault(),this.handleClick(t)):i.prototype.handleKeyPress&&i.prototype.handleKeyPress.call(this,t)},n.prototype.handleBlur=function(){a.off(u.default,"keydown",l.bind(this,this.handleKeyPress))},n})(o.default);o.default.registerComponent("ClickableComponent",t),n.default=t,e.exports=n.default},{"./component":67,"./utils/dom.js":143,"./utils/events.js":144,"./ut
1ils/fn.js":145,"./utils/log.js":148,"global/document":1,"object.assign":45}],66:[function(t,e,n){function i(t){return t&&t.__esModule?t:{default:t}}n.__esModule=!0;var r=i(t("./button")),t=i(t("./component")),r=(n=>{function i(t,e){if(!(this instanceof i))throw new TypeError("Cannot call a class as a function");n.call(this,t,e),this.controlText(e&&e.controlText||this.localize("Close"))}var t=i,e=n;if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);return t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e),i.prototype.buildCSSClass=function(){return"vjs-close-button "+n.prototype.buildCSSClass.call(this)},i.prototype.handleClick=function(){this.trigger({type:"close",bubbles:!1})},i})(r.default);t.default.registerComponent("CloseButton",r),n.default=r,e.exports=n.default},{"./button":64,"./component":67}],67:[function(t,e,n){function i(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}function r(t){return t&&t.__esModule?t:{default:t}}n.__esModule=!0;var o=r(t("global/window")),s=i(t("./utils/dom.js")),c=i(t("./utils/fn.js")),a=i(t("./utils/guid.js")),u=i(t("./utils/events.js")),l=r(t("./utils/log.js")),p=r(t("./utils/to-title-case.js")),h=r(t("object.assign")),d=r(t("./utils/merge-options.js")),t=(f.prototype.dispose=function(){if(this.trigger({type:"dispose",bubbles:!1}),this.children_)for(var t=this.children_.length-1;0<=t;t--)this.children_[t].dispose&&this.children_[t].dispose();this.children_=null,this.childIndex_=null,this.childNameIndex_=null,this.off(),this.el_.parentNode&&this.el_.parentNode.removeChild(this.el_),s.removeElData(this.el_),this.el_=null},f.prototype.player=function(){return this.player_},f.prototype.options=function(t){return l.default.warn("this.options() has been deprecated and will be moved to the constructor in 6.0"),t&&(this.options_=d.default(this.options_,t)),this.options_},f.prototype.el=function(){return this.el_},f.prototype.createEl=function(t,e,n){return s.createEl(t,e,n)},f.prototype.localize=function(t){var e,n=this.player_.language&&this.player_.language(),i=this.player_.languages&&this.player_.languages();return n&&i?(e=i[n])&&e[t]?e[t]:(e=i[n.split("-")[0]])&&e[t]?e[t]:t:t},f.prototype.contentEl=function(){return this.contentEl_||this.el_},f.prototype.id=function(){return this.id_},f.prototype.name=function(){return this.name_},f.prototype.children=function(){return this.children_},f.prototype.getChildById=function(t){return this.childIndex_[t]},f.prototype.getChild=function(t){return this.childNameIndex_[t]},f.prototype.addChild=function(t){var e=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],n=arguments.length<=2||void 0===arguments[2]?this.children_.length:arguments[2],i=void 0,r=void 0;if("string"==typeof t){r=t,!0===(e=e||{})&&(l.default.warn("Initializing a child component with `true` is deprecated. Children should be defined in an array when possible, but if necessary use an object instead of `true`."),e={});var o=e.componentClass||p.default(r),s=(e.name=r,f.getComponent(o));if(!s)throw new Error("Component "+o+" does not exist");if("function"!=typeof s)return null;i=new s(this.player_||this,e)}else i=t;return this.children_.splice(n,0,i),"function"==typeof i.id&&(this.childIndex_[i.id()]=i),(r=r||i.name&&i.name())&&(this.childNameIndex_[r]=i),"function"==typeof i.el&&i.el()&&(o=this.contentEl().children[n]||null,this.contentEl().insertBefore(i.el(),o)),i},f.prototype.removeChild=function(t){if((t="string"==typeof t?this.getChild(t):t)&&this.children_){for(var e,n=!1,i=this.children_.length-1;0<=i;i--)if(this.children_[i]===t){n=!0,this.children_.splice(i,1);break}n&&(this.childIndex_[t.id()]=null,this.childNameIndex_[t.name()]=null,e=t.el())&&e.parentNode===this.contentEl()&&this.contentEl().removeChild(t.el())}},f.prototype.initChildren=function(){var n,t,e,i=this,r=this.options_.children;r&&(n=i.options_,t=void 0,e=f.getComponent("Tech"),(t=Array.isArray(r)?r:Object.keys(r)).concat(Object.keys(i.options_).filter(function(e){return!t.some(function(t){return"string"==typeof t?e===t:e===t.name})})).map(function(t){var e=void 0,n=void 0,n="string"==typeof t?r[e=t]||i.options_[e]||{}:(e=t.name,t);return{name:e,opts:n}}).filter(function(t){t=f.getComponent(t.opts.componentClass||p.default(t.name));return t&&!e.isTech(t)}
1).forEach(function(t){var e=t.name,t=t.opts;!1!==(t=void 0!==n[e]?n[e]:t)&&((t=!0===t?{}:t).playerOptions=i.options_.playerOptions,t=i.addChild(e,t))&&(i[e]=t)}))},f.prototype.buildCSSClass=function(){return""},f.prototype.on=function(t,e,n){var i=this;{function r(){return i.off(s,a,l)}function o(){return i.off("dispose",r)}var s,a,l;"string"==typeof t||Array.isArray(t)?u.on(this.el_,t,c.bind(this,e)):(s=t,a=e,l=c.bind(i,n),r.guid=l.guid,i.on("dispose",r),o.guid=l.guid,t.nodeName?(u.on(s,a,l),u.on(s,"dispose",o)):"function"==typeof t.on&&(s.on(a,l),s.on("dispose",o)))}return this},f.prototype.off=function(t,e,n){var i;return!t||"string"==typeof t||Array.isArray(t)?u.off(this.el_,t,e):(i=t,e=e,n=c.bind(this,n),this.off("dispose",n),t.nodeName?(u.off(i,e,n),u.off(i,"dispose",n)):(i.off(e,n),i.off("dispose",n))),this},f.prototype.one=function(t,e,n){var i,r,o,s=this,a=arguments;return"string"==typeof t||Array.isArray(t)?u.one(this.el_,t,c.bind(this,e)):(i=t,r=e,o=c.bind(s,n),l.guid=o.guid,s.on(i,r,l)),this;function l(){s.off(i,r,l),o.apply(null,a)}},f.prototype.trigger=function(t,e){return u.trigger(this.el_,t,e),this},f.prototype.ready=function(t){return t&&(this.isReady_?!(arguments.length<=1||void 0===arguments[1])&&arguments[1]?t.call(this):this.setTimeout(t,1):(this.readyQueue_=this.readyQueue_||[],this.readyQueue_.push(t))),this},f.prototype.triggerReady=function(){this.isReady_=!0,this.setTimeout(function(){var t=this.readyQueue_;this.readyQueue_=[],t&&0<t.length&&t.forEach(function(t){t.call(this)},this),this.trigger("ready")},1)},f.prototype.$=function(t,e){return s.$(t,e||this.contentEl())},f.prototype.$$=function(t,e){return s.$$(t,e||this.contentEl())},f.prototype.hasClass=function(t){return s.hasElClass(this.el_,t)},f.prototype.addClass=function(t){return s.addElClass(this.el_,t),this},f.prototype.removeClass=function(t){return s.removeElClass(this.el_,t),this},f.prototype.toggleClass=function(t,e){return s.toggleElClass(this.el_,t,e),this},f.prototype.show=function(){return this.removeClass("vjs-hidden"),this},f.prototype.hide=function(){return this.addClass("vjs-hidden"),this},f.prototype.lockShowing=function(){return this.addClass("vjs-lock-showing"),this},f.prototype.unlockShowing=function(){return this.removeClass("vjs-lock-showing"),this},f.prototype.width=function(t,e){return this.dimension("width",t,e)},f.prototype.height=function(t,e){return this.dimension("height",t,e)},f.prototype.dimensions=function(t,e){return this.width(t,!0).height(e)},f.prototype.dimension=function(t,e,n){return void 0!==e?(this.el_.style[t]=-1!==(""+(e=null!==e&&e==e?e:0)).indexOf("%")||-1!==(""+e).indexOf("px")?e:"auto"===e?"":e+"px",n||this.trigger("resize"),this):this.el_?-1!==(n=(e=this.el_.style[t]).indexOf("px"))?parseInt(e.slice(0,n),10):parseInt(this.el_["offset"+p.default(t)],10):0},f.prototype.currentDimension=function(t){var e,n=0;if("width"!==t&&"height"!==t)throw new Error("currentDimension only accepts width or height value");return"function"==typeof o.default.getComputedStyle?n=(e=o.default.getComputedStyle(this.el_)).getPropertyValue(t)||e[t]:this.el_.currentStyle&&(e="offset"+p.default(t),n=this.el_[e]),parseFloat(n)},f.prototype.currentDimensions=function(){return{width:this.currentDimension("width"),height:this.currentDimension("height")}},f.prototype.currentWidth=function(){return this.currentDimension("width")},f.prototype.currentHeight=function(){return this.currentDimension("height")},f.prototype.emitTapEvents=function(){function t(){i=!1}var e=0,n=null,i=void 0;this.on("touchstart",function(t){1===t.touches.length&&(n=h.default({},t.touches[0]),e=(new Date).getTime(),i=!0)}),this.on("touchmove",function(t){var e;(1<t.touches.length||n&&(e=t.touches[0].pageX-n.pageX,t=t.touches[0].pageY-n.pageY,10<Math.sqrt(e*e+t*t)))&&(i=!1)});this.on("touchleave",t),this.on("touchcancel",t),this.on("touchend",function(t){!(n=null)===i&&(new Date).getTime()-e<200&&(t.preventDefault(),this.trigger("tap"))})},f.prototype.enableTouchActivity=function(){var t,e,n;this.player()&&this.player().reportUserActivity&&(t=c.bind(this.player(),this.player().reportUserActivity),e=void 0,this.on("touchstart",function(){t(),this.clearInterval(e),e=this.setInterval(t,250)}),n=function(){t(),this.clearInterval(e)},this.on("touchmove",t),this.on("touchend",n),this.on("touchcancel",n))},f.prototype.setTimeout=function(t,e){t=c.bind(this,t);function n(){this.clearTimeout(i)}var i=o.default.setTimeout(t,e);return n.guid="vjs-timeout-"+i,this.on("dispose",n),i},f.prototype.clearTimeout=function(t){o.default.clearTimeout(t);function e(){}return e.guid="vjs-timeout-"+t,this.off("dispose",e),t},f.prototype.setInterval=function(t,e){t=c.bind(this,t);function n(){this.clearInterval(i)}var i=o.default.setInterval(t,e);return n.guid="vjs-interval-"+i,this.on("dispose",n),i},f.prototype.clearInterval=function(t){o.default.clearInterval(t);function e(){}return e.guid="vjs-interval-"+t,this.off("dispose",e),t},f.registerComponent=function(t,e){return(f.components_=f.components_?f.components_:{})[t]=e},f.getComponent=function(t){return f.components_&&f.components_[t]?f.components_[t]:o.default&&o.default.videojs&&o.default.videojs[t]?(l.default.warn("The "+t+" component was added to the videojs object when it should be registered using videojs.registerComponent(name, component)"),o.default.videojs[t]):void 0},f.extend=function(t){t=t||{},l.default.warn("Component.extend({}) has been deprecated, use videojs.extend(Component, {}) instead");function e(){i.apply(this,arguments)}var n,i=t.init||this.prototype.init||function(){};for(n in((e.prototype=Object.create(this.prototype)).constructor=e).extend=f.extend,t)t.hasOwnProperty(n)&&(e.prototype[n]=t[n]);return e},f);function f(t,e,n){if(!(this instanceof f))throw new TypeError("Cannot call a class as a function");this.player_=!t&&this.play?t=this:t,this.options_=d.default({},this.options_),e=this.options_=d.default(this.options_,e),this.id_=e.id||e.el&&e.el.id,this.id_||(t=t&&t.id&&t.id()||"no_player",this.id_=t+"_component_"+a.newGUID()),this.name_=e.name||null,e.el?this.el_=e.el:!1!==e.createEl&&(this.el_=this.createEl()),this.children_=[],this.childIndex_={},!(this.childNameIndex_={})!==e.initChildren&&this.initChildren(),this.ready(n),!1!==e.reportTouchActivity&&this.enableTouchActivity()}t.registerComponent("Component",t),n.default=t,e.exports=n.default}
1,{"./utils/dom.js":143,"./utils/events.js":144,"./utils/fn.js":145,"./utils/guid.js":147,"./utils/log.js":148,"./utils/merge-options.js":149,"./utils/to-title-case.js":152,"global/window":2,"object.assign":45}],68:[function(t,e,n){function i(t){return t&&t.__esModule?t:{default:t}}n.__esModule=!0;var r=i(t("../track-button.js")),o=i(t("../../component.js")),s=t("../../utils/fn.js");if(!s||!s.__esModule){if(null!=s)for(var a in s)Object.prototype.hasOwnProperty.call(s,a)&&(a,s[a]);0}var l=i(t("./audio-track-menu-item.js")),t=(r=>{function o(t){var e=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],n=this,i=o;if(!(n instanceof i))throw new TypeError("Cannot call a class as a function");e.tracks=t.audioTracks&&t.audioTracks(),r.call(this,t,e),this.el_.setAttribute("aria-label","Audio Menu")}var t=o,e=r;if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);return t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e),o.prototype.buildCSSClass=function(){return"vjs-audio-button "+r.prototype.buildCSSClass.call(this)},o.prototype.createItems=function(){var t=arguments.length<=0||void 0===arguments[0]?[]:arguments[0],e=this.player_.audioTracks&&this.player_.audioTracks();if(e)for(var n=0;n<e.length;n++){var i=e[n];t.push(new l.default(this.player_,{selectable:!0,track:i}))}return t},o})(r.default);o.default.registerComponent("AudioTrackButton",t),n.default=t,e.exports=n.default},{"../../component.js":67,"../../utils/fn.js":145,"../track-button.js":98,"./audio-track-menu-item.js":69}],69:[function(t,e,n){function i(t){return t&&t.__esModule?t:{default:t}}n.__esModule=!0;var r=i(t("../../menu/menu-item.js")),o=i(t("../../component.js")),l=(t=>{if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e})(t("../../utils/fn.js")),t=(s=>{function a(t,e){var n=this;if(!(this instanceof a))throw new TypeError("Cannot call a class as a function");var i,r=e.track,o=t.audioTracks();e.label=r.label||r.language||"Unknown",e.selected=r.enabled,s.call(this,t,e),this.track=r,o&&(i=l.bind(n,n.handleTracksChange),o.addEventListener("change",i),n.on("dispose",function(){o.removeEventListener("change",i)}))}var t=a,e=s;if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);return t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e),a.prototype.handleClick=function(t){var e=this.player_.audioTracks();if(s.prototype.handleClick.call(this,t),e)for(var n=0;n<e.length;n++){var i=e[n];i===this.track&&(i.enabled=!0)}},a.prototype.handleTracksChange=function(){this.selected(this.track.enabled)},a})(r.default);o.default.registerComponent("AudioTrackMenuItem",t),n.default=t,e.exports=n.default},{"../../component.js":67,"../../menu/menu-item.js":110,"../../utils/fn.js":145}],70:[function(t,e,n){function i(t){return t&&t.__esModule?t:{default:t}}n.__esModule=!0;var r=i(t("../component.js")),o=(i(t("./play-toggle.js")),t("./time-controls/current-time-display.js")),o=(i(o),t("./time-controls/duration-display.js")),o=(i(o),t("./time-controls/time-divider.js")),o=(i(o),t("./time-controls/remaining-time-display.js")),o=(i(o),t("./live-display.js")),o=(i(o),t("./progress-control/progress-control.js")),o=(i(o),t("./fullscreen-toggle.js")),o=(i(o),t("./volume-control/volume-control.js")),o=(i(o),t("./volume-menu-button.js")),o=(i(o),t("./mute-toggle.js")),o=(i(o),t("./text-track-controls/chapters-button.js")),o=(i(o),t("./text-track-controls/descriptions-button.js")),o=(i(o),t("./text-track-controls/subtitles-button.js")),o=(i(o),t("./text-track-controls/captions-button.js")),o=(i(o),t("./audio-track-controls/audio-track-button.js")),o=(i(o),t("./playback-rate-menu/playback-rate-menu-button.js")),o=(i(o),t("./spacer-control
1s/custom-control-spacer.js")),t=(i(o),(n=>{function i(){var t=this,e=i;if(!(t instanceof e))throw new TypeError("Cannot call a class as a function");n.apply(this,arguments)}var t=i,e=n;if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);return t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e),i.prototype.createEl=function(){return n.prototype.createEl.call(this,"div",{className:"vjs-control-bar",dir:"ltr"},{role:"group"})},i})(r.default));t.prototype.options_={loadEvent:"play",children:["playToggle","volumeMenuButton","currentTimeDisplay","timeDivider","durationDisplay","progressControl","liveDisplay","remainingTimeDisplay","customControlSpacer","playbackRateMenuButton","chaptersButton","descriptionsButton","subtitlesButton","captionsButton","audioTrackButton","fullscreenToggle"]},r.default.registerComponent("ControlBar",t),n.default=t,e.exports=n.default},{"../component.js":67,"./audio-track-controls/audio-track-button.js":68,"./fullscreen-toggle.js":71,"./live-display.js":72,"./mute-toggle.js":73,"./play-toggle.js":74,"./playback-rate-menu/playback-rate-menu-button.js":75,"./progress-control/progress-control.js":80,"./spacer-controls/custom-control-spacer.js":83,"./text-track-controls/captions-button.js":86,"./text-track-controls/chapters-button.js":87,"./text-track-controls/descriptions-button.js":89,"./text-track-controls/subtitles-button.js":91,"./time-controls/current-time-display.js":94,"./time-controls/duration-display.js":95,"./time-controls/remaining-time-display.js":96,"./time-controls/time-divider.js":97,"./volume-control/volume-control.js":100,"./volume-menu-button.js":102}],71:[function(t,e,n){function i(t){return t&&t.__esModule?t:{default:t}}n.__esModule=!0;var r=i(t("../button.js")),t=i(t("../component.js")),r=(n=>{function i(){var t=this,e=i;if(!(t instanceof e))throw new TypeError("Cannot call a class as a function");n.apply(this,arguments)}var t=i,e=n;if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);return t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e),i.prototype.buildCSSClass=function(){return"vjs-fullscreen-control "+n.prototype.buildCSSClass.call(this)},i.prototype.handleClick=function(){this.player_.isFullscreen()?(this.player_.exitFullscreen(),this.controlText("Fullscreen")):(this.player_.requestFullscreen(),this.controlText("Non-Fullscreen"))},i})(r.default);r.prototype.controlText_="Fullscreen",t.default.registerComponent("FullscreenToggle",r),n.default=r,e.exports=n.default},{"../button.js":64,"../component.js":67}],72:[function(t,e,n){n.__esModule=!0;var i=t("../component"),i=(i=i)&&i.__esModule?i:{default:i},r=(t=>{if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e})(t("../utils/dom.js")),t=(n=>{function i(t,e){if(!(this instanceof i))throw new TypeError("Cannot call a class as a function");n.call(this,t,e),this.updateShowing(),this.on(this.player(),"durationchange",this.updateShowing)}var t=i,e=n;if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);return t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e),i.prototype.createEl=function(){var t=n.prototype.createEl.call(this,"div",{className:"vjs-live-control vjs-control"});return this.contentEl_=r.createEl("div",{className:"vjs-live-display",innerHTML:'<span class="vjs-control-text">'+this.localize("Stream Type")+"</span>"+this.localize("LIVE")},{"aria-live":"off"}),t.appendChild(this.contentEl_),t},i.prototype.updateShowing=function(){this.player().duration()===1/0?this.show():this.hide()},i})(i.default);i.default.registerComponent("LiveDisplay",t),n.default=t,e.exports=n.default},{"../component":67,"../utils/dom.js":143}],73:[function(t,e,n){function i(t){return t&&t.__esModule?t:{default:t}}n.__esModule=!0;var r=i(t("../button")),o=i(t("../component")),s=(t=>{if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e})(t("../utils/dom.js")),t=(n=>{function i(t,e){if(!(this instanceof i))throw new TypeError("Cannot call a class as a function");n.call(this,t,e),this.on(t,"volumechange",this.update),t.tech_&&!1===t.tech_.featuresVolumeControl&&this.addClass("vjs-hidden"),this.on(t,"loadstart",function(){this.update(),!1===t.tech_.featuresVolumeControl?this.addClass("vjs-hidden"):this.removeClass("vjs-hidden")})}var t=i,e=n;if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);return t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e),i.prototype.buildCSSClass=function(){return"vjs-mute-control "+n.prototype.buildCSSClass.call(this)},i.prototype.handleClick=function(){this.player_.muted(!this.player_.muted())},i.prototype.update=function(){var t=this.player_.volume(),e=3,t=(0===t||this.player_.muted()?e=0:t<.33?e=1:t<.67&&(e=2),this.player_.muted()?"Unmute":"Mute");this.controlText()!==t&&this.controlText(t);for(var n=0;n<4;n++)s.removeElClass(this.el_,"vjs-vol-"+n);s.addElClass(this.el_,"vjs-vol-"+e)},i})(r.default);t.prototype.controlText_="Mute",o.default.registerComponent("MuteToggle",t),n.default=t,e.exports=n.default},{"../button":64,"../component":67,"../utils/dom.js":143}],74:[function(t,e,n){function i(t){return t&&t.__esModule?t:{default:t}}n.__esModule=!0;var r=i(t("../button.js")),t=i(t("../component.js")),r=(n=>{function i(t,e){if(!(this instanceof i))throw new TypeError("Cannot call a class as a function");n.call(this,t,e),this.on(t,"play",this.handlePlay),this.on(t,"pause",this.handlePause)}var t=i,e=n;if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);return t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e),i.prototype.buildCSSClass=function(){return"vjs-play-control "+n.prototype.buildCSSClass.call(this)},i.prototype.handleClick=function(){this.player_.paused()?this.player_.play():this.player_.pause()},i.prototype.handlePlay=function(){this.removeClass("vjs-paused"),this.addClass("vjs-playing"),this.controlText("Pause")},i.prototype.handlePause=function(){this.removeClass("vjs-playing"),this.addClass("vjs-paused"),this.controlText("Play")},i})(r.default);r.prototype.controlText_="Play",t.default.registerComponent("PlayToggle",r),n.default=r,e.exports=n.default},{"../button.js":64,"../component.js":67}],75:[function(t,e,n){function i(t){return t&&t.__esModule?t:{default:t}}n.__esModule=!0;var r=i(t("../../menu/menu-button.js")),o=i(t("../../menu/menu.js")),s=i(t("./playback-rate-menu-item.js")),a=i(t("../../component.js")),l=(t=>{if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e})(t("../../utils/dom.js")),t=(n=>{function i(t,e){if(!(this instanceof i))throw new TypeError("Cannot call a class as a function");n.call(this,t,e),this.updateVisibility(),this.updateLabel(),this.on(t,"loadstart",this.updateVisibility),this.on(t,"ratechange",this.updateLabel)}var t=i,e=n;if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);return t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e),i.prototype.createEl=function(){var t=n.prototype.createEl.call(this);return this.labelEl_=l.createEl("div",{className:"vjs-playback-rate-value",innerHTML:1}),t.appendChild(this.labelEl_),t},i.prototype.buildCSSClass=function(){return"vjs-playback-rate "+n.prototype.buildCSSClass.call(this)},i.prototype.createMenu=function(){var t=new o.default(this.player()),e=this.playbackRates();if(e)for(var n=e.length-1;0<=n;n--)t.addChild(new s.default(this.player(),{rate:e[n]+"x"}));return t},i.prototype.updateARIAAttributes=function(){this.el().setAttribute("aria-valuenow",this.player().playbackRate())},i.prototype.handleClick=function(){for(var t=this.player().playbackRate(),e=this.playbackRates(),n=e[0],i=0;i<e.length;i++)if(e[i]>t){n=e[i];break}this.player().playbackRate(n)},i.prototype.playbackRates=function(){return this.options_.playbackRates||this.options_.playerOptions&&this.options_.playerOptions.playbackRates},i.prototype.playbackRateSupported=function(){return this.player().tech_&&this.player().tech_.featuresPlaybackRate&&this.playbackRates()&&0<this.playbackRates().length},i.prototype.updateVisibility=function(){this.playbackRateSupported()?this.removeClass("vjs-hidden"):this.addClass("vjs-hidden")},i.prototype.updateLabel=function(){this.playbackRateSupported()&&(this.labelEl_.innerHTML=this.player().playbackRate()+"x")},i})(r.default);t.prototype.controlText_="Playback Rate",a.default.registerComponent("PlaybackRateMenuButton",t),n.default=t,e.exports=n.default},{"../../component.js":67,"../../menu/menu-button.js":109,"../../menu/menu.js":111,"../../utils/dom.js":143,"./playback-rate-menu-item.js":76}],76:[function(t,e,n){function i(t){return t&&t.__esModule?t:{default:t}}n.__esModule=!0;var r=i(t("../../menu/menu-item.js")),t=i(t("../../component.js")),r=(r=>{function o(t,e){if(!(this instanceof o))throw new TypeError("Cannot call a class as a function");var n=e.rate,i=parseFloat(n,10);e.label=n,e.selected=1===i,r.call(this,t,e),this.label=n,this.rate=i,this.on(t,"ratechange",this.update)}var t=o,e=r;if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);return t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e),o.prototype.handleClick=function(){r.prototype.handleClick.call(this),this.player().playbackRate(this.rate)},o.prototype.update=function(){this.selected(this.player().playbackRate()===this.rate)},o})(r.default);r.prototype.contentElType="button",t.default.registerComponent("PlaybackRateMenuItem",r),n.default=r,e.exports=n.default},{"../../component.js":67,"../../menu/menu-item.js":110}
1],77:[function(t,e,n){n.__esModule=!0;var i=t("../../component.js"),i=(i=i)&&i.__esModule?i:{default:i},c=(t=>{if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e})(t("../../utils/dom.js")),t=(n=>{function i(t,e){if(!(this instanceof i))throw new TypeError("Cannot call a class as a function");n.call(this,t,e),this.on(t,"progress",this.update)}var t=i,e=n;if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);return t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e),i.prototype.createEl=function(){return n.prototype.createEl.call(this,"div",{className:"vjs-load-progress",innerHTML:'<span class="vjs-control-text"><span>'+this.localize("Loaded")+"</span>: 0%</span>"})},i.prototype.update=function(){function t(t,e){return 100*(1<=(t=t/e||0)?1:t)+"%"}var e=this.player_.buffered(),n=this.player_.duration(),i=this.player_.bufferedEnd(),r=this.el_.children;this.el_.style.width=t(i,n);for(var o=0;o<e.length;o++){var s=e.start(o),a=e.end(o),l=r[o];(l=l||this.el_.appendChild(c.createEl())).style.left=t(s,i),l.style.width=t(a-s,i)}for(o=r.length;o>e.length;o--)this.el_.removeChild(r[o-1])},i})(i.default);i.default.registerComponent("LoadProgressBar",t),n.default=t,e.exports=n.default},{"../../component.js":67,"../../utils/dom.js":143}],78:[function(t,e,n){function i(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}function r(t){return t&&t.__esModule?t:{default:t}}n.__esModule=!0;var o=r(t("global/window")),s=r(t("../../component.js")),a=i(t("../../utils/dom.js")),l=i(t("../../utils/fn.js")),c=r(t("../../utils/format-time.js")),u=r(t("lodash-compat/function/throttle")),t=(i=>{function r(t,e){var n=this;if(!(this instanceof r))throw new TypeError("Cannot call a class as a function");i.call(this,t,e),e.playerOptions&&e.playerOptions.controlBar&&e.playerOptions.controlBar.progressControl&&e.playerOptions.controlBar.progressControl.keepTooltipsInside&&(this.keepTooltipsInside=e.playerOptions.controlBar.progressControl.keepTooltipsInside),this.keepTooltipsInside&&(this.tooltip=a.createEl("div",{className:"vjs-time-tooltip"}),this.el().appendChild(this.tooltip),this.addClass("vjs-keep-tooltips-inside")),this.update(0,0),t.on("ready",function(){n.on(t.controlBar.progressControl.el(),"mousemove",u.default(l.bind(n,n.handleMouseMove),25))})}var t=r,e=i;if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);return t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e),r.prototype.createEl=function(){return i.prototype.createEl.call(this,"div",{className:"vjs-mouse-display"})},r.prototype.handleMouseMove=function(t){var e=this.player_.duration(),e=this.calculateDistance(t)*e,t=t.pageX-a.findElPosition(this.el().parentNode).left;this.update(e,t)},r.prototype.update=function(t,e){var n,t=c.default(t,this.player_.duration());this.el().style.left=e+"px",this.el().setAttribute("data-current-time",t),this.keepTooltipsInside&&(e=e-this.clampPosition_(e)+1,n=parseFloat(o.default.getComputedStyle(this.tooltip).width)/2,this.tooltip.innerHTML=t,this.tooltip.style.right="-"+(n-e)+"px")},r.prototype.calculateDistance=function(t){return a.getPointerPosition(this.el().parentNode,t).x},r.prototype.clampPosition_=function(t){var e,n,i;return this.keepTooltipsInside?(e=parseFloat(o.default.getComputedStyle(this.player().el()).width),(i=t)<(n=parseFloat(o.default.getComputedStyle(this.tooltip).width)/2)?i=Math.ceil(n):e-n<t&&(i=Math.floor(e-n)),i):t},r})(s.default);s.default.registerComponent("MouseTimeDisplay",t),n.default=t,e.exports=n.default},{"../../component.js":67,"../../utils/dom.js":143,"../../utils/fn.js":145,"../../utils/format-time.js":146,"global/window":2,"lodash-compat/function/throttle":7}],79:[function(t,e,n){function i(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}function r(t){return t&&t.__esModule?t:{default:t}}n.__esModule=!0;var o=r(t("../../component.js")),s=i(t("../../utils/fn.js"));i(t("../../utils/dom.js"));var a=r(t("../../utils/format-time.js")),t=(n=>{function i(t,e){if(!(this instanceof i))throw new TypeError("Cannot call a class as a function");n.call(this,t,e),this.updateDataAttr(),this.on(t,"timeupdate",this.updateDataAttr),t.ready(s.bind(this,this.updateDataAttr)),e.playerOptions&&e.playerOptions.controlBar&&e.playerOptions.controlBar.progressControl&&e.playerOptions.controlBar.progressControl.keepTooltipsInside&&(this.keepTooltipsInside=e.playerOptions.controlBar.progressControl.keepTooltipsInside),this.keepTooltipsInside&&this.addClass("vjs-keep-tooltips-inside")}var t=i,e=n;if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);return t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e),i.prototype.createEl=function(){return n.prototype.createEl.call(this,"div",{className:"vjs-play-progress vjs-slider-bar",innerHTML:'<span class="vjs-control-text"><span>'+this.localize("Progress")+"</span>: 0%</span>"})},i.prototype.updateDataAttr=function(){var t=this.player_.scrubbing()?this.player_.getCache().currentTime:this.player_.currentTime();this.el_.setAttribute("data-current-time",a.default(t,this.player_.duration()))},i})(o.default);o.default.registerComponent("PlayProgressBar",t),n.default=t,e.exports=n.default},{"../../component.js":67,"../../utils/dom.js":143,"../../utils/fn.js":145,"../../utils/format-time.js":146}],80:[function(t,e,n){function i(t){return t&&t.__esModule?t:{default:t}}n.__esModule=!0;var r=i(t("../../component.js")),t=(i(t("./seek-bar.js")),t("./mouse-time-display.js")),t=(i(t),(n=>{function i(){var t=this,e=i;if(!(t instanceof e))throw new TypeError("Cannot call a class as a function");n.apply(this,arguments)}var t=i,e=n;if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);return t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e),i.prototype.createEl=function(){return n.prototype.createEl.call(this,"div",{className:"vjs-progress-control vjs-control"})},i})(r.default));t.prototype.options_={children:["seekBar"]},r.default.registerComponent("ProgressControl",t),n.default=t,e.exports=n.default},{"../../component.js":67,"./mouse-time-display.js":78,"./seek-bar.js":81}],81:[function(t,e,n){function i(t){return t&&t.__esModule?t:{default:t}}n.__esModule=!0;var r=i(t("global/window")),o=i(t("../../slider/slider.js")),s=i(t("../../component.js")),a=(i(t("./load-progress-bar.js")),t("./play-progress-bar.js")),a=(i(a),t("./tooltip-progress-bar.js"));i(a);var l=(t=>{if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e})(t("../../utils/fn.js")),c=i(t("../../utils/format-time.js")),a=(i(t("object.assign")),(n=>{function i(t,e){if(!(this instanceof i))throw new TypeError("Cannot call a class as a function");n.call(this,t,e),this.on(t,"timeupdate",this.updateProgress),this.on(t,"ended",this.updateProgress),t.ready(l.bind(this,this.updateProgress)),e.playerOptions&&e.playerOptions.controlBar&&e.playerOptions.controlBar.progressControl&&e.playerOptions.controlBar.progressControl.keepTooltipsInside&&(this.keepTooltipsInside=e.playerOptions.controlBar.progressControl.keepTooltipsInside),this.keepTooltipsInside&&(this.tooltipProgressBar=this.addChild("TooltipProgressBar"))}var t=i,e=n;if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);return t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e),i.prototype.createEl=function(){return n.prototype.createEl.call(this,"div",{className:"vjs-progress-holder"},{"aria-label":"progress bar"})},i.prototype.updateProgress=function(){var t,e,n;this.updateAriaAttributes(this.el_),this.keepTooltipsInside&&(this.updateAriaAttributes(this.tooltipProgressBar.el_),this.tooltipProgressBar.el_.style.width=this.bar.el_.style.width,t=parseFloat(r.default.getComputedStyle(this.player().el()).width),e=parseFloat(r.default.getComputedStyle(this.tooltipProgressBar.tooltip).width),(n=this.tooltipProgressBar.el().style).maxWidth=Math.floor(t-e/2)+"px",n.minWidth=Math.ceil(e/2)+"px",n.right="-"+e/2+"px")},i.prototype.updateAriaAttributes=function(t){var e=this.player_.scrubbing()?this.player_.getCache().currentTime:this.player_.currentTime();t.setAttribute("aria-valuenow",(100*this.getPercent()).toFixed(2)),t.setAttribute("aria-valuetext",c.default(e,this.player_.duration()))},i.prototype.getPercent=function(){var t=this.player_.currentTime()/this.player_.duration();return 1<=t?1:t},i.prototype.handleMouseDown=function(t){n.prototype.handleMouseDown.call(this,t),this.player_.scrubbing(!0),this.videoWasPlaying=!this.player_.paused(),this.player_.pause()},i.prototype.handleMouseMove=function(t){t=this.calculateDistance(t)*this.player_.duration();t===this.player_.duration()&&(t-=.1),this.player_.currentTime(t)},i.prototype.handleMouseUp=function(t){n.prototype.handleMouseUp.call(this,t),this.player_.scrubbing(!1),this.videoWasPlaying&&this.player_.play()},i.prototype.stepForward=function(){this.player_.currentTime(this.player_.currentTime()+5)},i.prototype.stepBack=function(){this.player_.currentTime(this.player_.currentTime()-5)},i})(o.default));a.prototype.options_={children:["loadProgressBar","mouseTimeDisplay","playProgressBar"],barName:"playProgressBar"},a.prototype.playerEvent="timeupdate",s.default.registerComponent("SeekBar",a),n.default=a,e.exports=n.default},{"../../component.js":67,"../../slider/slider.js":119,"../../utils/fn.js":145,"../../utils/format-time.js":146,"./load-progress-bar.js":77,"./play-progress-bar.js":79,"./tooltip-progress-bar.js":82,"global/window":2,"object.assign":45}],82:[function(t,e,n){function i(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}function r(t){return t&&t.__esModule?t:{default:t}}n.__esModule=!0;var o=r(t("../../component.js")),s=i(t("../../utils/fn.js"));i(t("../../utils/dom.js"));var a=r(t("../../utils/format-time.js")),t=(n=>{function i(t,e){if(!(this instanceof i))throw new TypeError("Cannot call a class as a function");n.call(this,t,e),this.updateDataAttr(),this.on(t,"timeupdate",this.updateDataAttr),t.ready(s.bind(this,this.updateDataAttr))}var t=i,e=n;if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);return t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e),i.prototype.createEl=function(){var t=n.prototype.createEl.call(this,"div",{className:"vjs-tooltip-progress-bar vjs-slider-bar",innerHTML:'<div class="vjs-time-tooltip"></div>
1\n <span class="vjs-control-text"><span>'+this.localize("Progress")+"</span>: 0%</span>"});return this.tooltip=t.querySelector(".vjs-time-tooltip"),t},i.prototype.updateDataAttr=function(){var t=this.player_.scrubbing()?this.player_.getCache().currentTime:this.player_.currentTime(),t=a.default(t,this.player_.duration());this.el_.setAttribute("data-current-time",t),this.tooltip.innerHTML=t},i})(o.default);o.default.registerComponent("TooltipProgressBar",t),n.default=t,e.exports=n.default},{"../../component.js":67,"../../utils/dom.js":143,"../../utils/fn.js":145,"../../utils/format-time.js":146}],83:[function(t,e,n){function i(t){return t&&t.__esModule?t:{default:t}}n.__esModule=!0;var r=i(t("./spacer.js")),t=i(t("../../component.js")),r=(n=>{function i(){var t=this,e=i;if(!(t instanceof e))throw new TypeError("Cannot call a class as a function");n.apply(this,arguments)}var t=i,e=n;if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);return t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e),i.prototype.buildCSSClass=function(){return"vjs-custom-control-spacer "+n.prototype.buildCSSClass.call(this)},i.prototype.createEl=function(){var t=n.prototype.createEl.call(this,{className:this.buildCSSClass()});return t.innerHTML=" ",t},i})(r.default);t.default.registerComponent("CustomControlSpacer",r),n.default=r,e.exports=n.default},{"../../component.js":67,"./spacer.js":84}],84:[function(t,e,n){n.__esModule=!0;var t=t("../../component.js"),t=(t=t)&&t.__esModule?t:{default:t},i=(n=>{function i(){var t=this,e=i;if(!(t instanceof e))throw new TypeError("Cannot call a class as a function");n.apply(this,arguments)}var t=i,e=n;if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);return t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e),i.prototype.buildCSSClass=function(){return"vjs-spacer "+n.prototype.buildCSSClass.call(this)},i.prototype.createEl=function(){return n.prototype.createEl.call(this,"div",{className:this.buildCSSClass()})},i})(t.default);t.default.registerComponent("Spacer",i),n.default=i,e.exports=n.default},{"../../component.js":67}],85:[function(t,e,n){function i(t){return t&&t.__esModule?t:{default:t}}n.__esModule=!0;var r=i(t("./text-track-menu-item.js")),t=i(t("../../component.js")),r=(n=>{function i(t,e){if(!(this instanceof i))throw new TypeError("Cannot call a class as a function");e.track={kind:e.kind,player:t,label:e.kind+" settings",selectable:!1,default:!1,mode:"disabled"},e.selectable=!1,n.call(this,t,e),this.addClass("vjs-texttrack-settings"),this.controlText(", opens "+e.kind+" settings dialog")}var t=i,e=n;if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);return t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e),i.prototype.handleClick=function(){this.player().getChild("textTrackSettings").show(),this.player().getChild("textTrackSettings").el_.focus()},i})(r.default);t.default.registerComponent("CaptionSettingsMenuItem",r),n.default=r,e.exports=n.default},{"../../component.js":67,"./text-track-menu-item.js":93}],86:[function(t,e,n){function i(t){return t&&t.__esModule?t:{default:t}}n.__esModule=!0;var r=i(t("./text-track-button.js")),o=i(t("../../component.js")),s=i(t("./caption-settings-menu-item.js")),t=(i=>{function r(t,e,n){if(!(this instanceof r))throw new TypeError("Cannot call a class as a function");i.call(this,t,e,n),this.el_.setAttribute("aria-label","Captions Menu")}var t=r,e=i;if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);return t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e),r.prototype.buildCSSClass=function(){return"vjs-captions-button "+i.prototype.buildCSSClass.call(this)},r.prototype.update=function(){var t=2;i.prototype.update.call(this),this.player().tech_&&this.player().tech_.featuresNativeTextTracks&&(t=1),this.items&&this.items.length>t?this.show():this.hide()},r.prototype.createItems=function(){var t=[];return this.player().tech_&&this.player().tech_.featuresNativeTextTracks||t.push(new s.default(this.player_,{kind:this.kind_})),i.prototype.createItems.call(this,t)},r})(r.default);t.prototype.kind_="captions",t.prototype.controlText_="Captions",o.default.registerComponent("CaptionsButton",t),n.default=t,e.exports=n.default},{"../../component.js":67,"./caption-settings-menu-item.js":85,"./text-track-button.js":92}],87:[function(t,e,n){function i(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}function r(t){return t&&t.__esModule?t:{default:t}}n.__esModule=!0;var o=r(t("./text-track-button.js")),s=r(t("../../component.js")),a=r(t("./text-track-menu-item.js")),h=r(t("./chapters-track-menu-item.js")),d=r(t("../../menu/menu.js")),f=i(t("../../utils/dom.js"));i(t("../../utils/fn.js"));var m=r(t("../../utils/to-title-case.js")),t=(r(t("global/window")),(i=>{function r(t,e,n){if(!(this instanceof r))throw new TypeError("Cannot call a class as a function");i.call(this,t,e,n),this.el_.setAttribute("aria-label","Chapters Menu")}var t=r,e=i;if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);return t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e),r.prototype.buildCSSClass=function(){return"vjs-chapters-button "+i.prototype.buildCSSClass.call(this)},r.prototype.createItems=function(){var t=[],e=this.player_.textTracks();if(e)for(var n=0;n<e.length;n++){var i=e[n];i.kind===this.kind_&&t.push(new a.default(this.player_,{track:i}))}return t},r.prototype.createMenu=function(){for(var t=this,e=this.player_.textTracks()||[],n=void 0,i=this.items=[],r=0,o=e.length;r<o;r++){var s=e[r];if(s.kind===this.kind_){n=s;break}}var a,l=this.menu;if(void 0===l&&(l=new d.default(this.player_),a=f.createEl("li",{className:"vjs-menu-title",innerHTML:m.default(this.kind_),tabIndex:-1}),l.children_.unshift(a),f.insertElFirst(a,l.contentEl())),n&&null==n.cues&&(n.mode="hidden",a=this.player_.remoteTextTrackEls().getTrackElementByTrack_(n))&&a.addEventListener("load",function(){return t.update(
1)}),n&&n.cues&&0<n.cues.length){for(var c=n.cues,r=0,u=c.length;r<u;r++){var p=c[r],p=new h.default(this.player_,{track:n,cue:p});i.push(p),l.addChild(p)}this.addChild(l)}return 0<this.items.length&&this.show(),l},r})(o.default));t.prototype.kind_="chapters",t.prototype.controlText_="Chapters",s.default.registerComponent("ChaptersButton",t),n.default=t,e.exports=n.default},{"../../component.js":67,"../../menu/menu.js":111,"../../utils/dom.js":143,"../../utils/fn.js":145,"../../utils/to-title-case.js":152,"./chapters-track-menu-item.js":88,"./text-track-button.js":92,"./text-track-menu-item.js":93,"global/window":2}],88:[function(t,e,n){function i(t){return t&&t.__esModule?t:{default:t}}n.__esModule=!0;var r=i(t("../../menu/menu-item.js")),o=i(t("../../component.js")),a=(t=>{if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e})(t("../../utils/fn.js")),t=(o=>{function s(t,e){if(!(this instanceof s))throw new TypeError("Cannot call a class as a function");var n=e.track,i=e.cue,r=t.currentTime();e.label=i.text,e.selected=i.startTime<=r&&r<i.endTime,o.call(this,t,e),this.track=n,this.cue=i,n.addEventListener("cuechange",a.bind(this,this.update))}var t=s,e=o;if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);return t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e),s.prototype.handleClick=function(){o.prototype.handleClick.call(this),this.player_.currentTime(this.cue.startTime),this.update(this.cue.startTime)},s.prototype.update=function(){var t=this.cue,e=this.player_.currentTime();this.selected(t.startTime<=e&&e<t.endTime)},s})(r.default);o.default.registerComponent("ChaptersTrackMenuItem",t),n.default=t,e.exports=n.default},{"../../component.js":67,"../../menu/menu-item.js":110,"../../utils/fn.js":145}],89:[function(t,e,n){function i(t){return t&&t.__esModule?t:{default:t}}n.__esModule=!0;var r=i(t("./text-track-button.js")),o=i(t("../../component.js")),l=(t=>{if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e})(t("../../utils/fn.js")),t=(s=>{function a(t,e,n){var i=this;if(!(this instanceof a))throw new TypeError("Cannot call a class as a function");s.call(this,t,e,n),this.el_.setAttribute("aria-label","Descriptions Menu");var r,o=t.textTracks();o&&(r=l.bind(i,i.handleTracksChange),o.addEventListener("change",r),i.on("dispose",function(){o.removeEventListener("change",r)}))}var t=a,e=s;if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);return t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e),a.prototype.handleTracksChange=function(){for(var t=this.player().textTracks(),e=!1,n=0,i=t.length;n<i;n++){var r=t[n];if(r.kind!==this.kind_&&"showing"===r.mode){e=!0;break}}e?this.disable():this.enable()},a.prototype.buildCSSClass=function(){return"vjs-descriptions-button "+s.prototype.buildCSSClass.call(this)},a})(r.default);t.prototype.kind_="descriptions",t.prototype.controlText_="Descriptions",o.default.registerComponent("DescriptionsButton",t),n.default=t,e.exports=n.default},{"../../component.js":67,"../../utils/fn.js":145,"./text-track-button.js":92}],90:[function(t,e,n){function i(t){return t&&t.__esModule?t:{default:t}}n.__esModule=!0;var r=i(t("./text-track-menu-item.js")),t=i(t("../../component.js")),r=(n=>{function i(t,e){if(!(this instanceof i))throw new TypeError("Cannot call a class as a function");e.track={kind:e.kind,player:t,label:e.kind+" off",default:!1,mode:"disabled"},e.selectable=!0,n.call(this,t,e),this.selected(!0)}var t=i,e=n;if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);return t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e),i.prototype.handleTracksChange=function(){for(var t=this.player().textTracks(),e=!0,n=0,i=t.length;n<i;n++){var r=t[n];if(r.kind===this.track.kind&&"showing"===r.mode){e=!1;break}}this.selected(e)},i})(r.default);t.default.registerComponent("OffTextTrackMenuItem",r),n.default=r,e.exports=n.default},{"../../component.js":67,"./text-track-menu-item.js":93}],91:[function(t,e,n){function i(t){return t&&t.__esModule?t:{default:t}}n.__esModule=!0;var r=i(t("./text-track-button.js")),t=i(t("../../component.js")),r=(i=>{function r(t,e,n){if(!(this instanceof r))throw new TypeError("Cannot call a class as a function");i.call(this,t,e,n),this.el_.setAttribute("aria-label","Subtitles Menu")}var t=r,e=i;if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);return t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e),r.prototype.buildCSSClass=function(){return"vjs-subtitles-button "+i.prototype.buildCSSClass.call(this)},r})(r.default);r.prototype.kind_="subtitles",r.prototype.controlText_="Subtitles",t.default.registerComponent("SubtitlesButton",r),n.default=r,e.exports=n.default},{"../../component.js":67,"./text-track-button.js":92}],92:[function(t,e,n){function i(t){return t&&t.__esModule?t:{default:t}}n.__esModule=!0;var r=i(t("../track-button.js")),o=i(t("../../component.js")),s=t("../../utils/fn.js");if(!s||!s.__esModule){if(null!=s)for(var a in s)Object.prototype.hasOwnProperty.call(s,a)&&(a,s[a]);0}var l=i(t("./text-track-menu-item.js")),c=i(t("./off-text-track-menu-item.js")),t=(r=>{function o(t){var e=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],n=this,i=o;if(!(n instanceof i))throw new TypeError("Cannot call a class as a function");e.tracks=t.textTracks(),r.call(this,t,e)}var t=o,e=r;if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);return t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e),o.prototype.createItems=function(){var t=arguments.length<=0||void 0===arguments[0]?[]:arguments[0],e=(t.push(new c.default(this.player_,{kind:this.kind_})),this.player_.textTracks());if(e)for(var n=0;n<e.length;n++){var i=e[n];i.kind===this.kind_&&t.push(new l.default(this.player_,{selectable:!0,track:i}))}return t},o})(r.default);o.default.registerComponent("TextTrackButton",t),n.default=t,e.exports=n.default},{"../../component.js":67,"../../utils/fn.js":145,"../track-button.js":98,"./off-text-track-menu-item.js":90,"./text-track-menu-item.js":93}],93:[function(t,e,n){function i(t){return t&&t.__esModule?t:{default:t}}n.__esModule=!0;var r=i(t("../../menu/menu-item.js")),o=i(t("../../component.js")),c=(t=>{if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e})(t("../../utils/fn.js")),u=i(t("global/window")),p=i(t("global/document")),t=(a=>{function l(t,e){var n=this;if(!(this instanceof l))throw new TypeError("Cannot call a class as a function");var i,r,o=e.track,s=t.textTracks();e.label=o.label||o.language||"Unknown",e.selected=o.default||"showing"===o.mode,a.call(this,t,e),this.track=o,s&&(r=c.bind(n,n.handleTracksChange),s.addEventListener("change",r),n.on("dispose",function(){s.removeEventListener("change",r)})),s&&void 0===s.onchange&&(i=void 0,n.on(["tap","click"],function(){if("object"!=typeof u.default.Event)try{i=new u.default.Event("change")}catch(t){}i||(i=p.default.createEvent("Event")).initEvent("change",!0,!0),s.dispatchEvent(i)}))}var t=l,e=a;if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);return t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e),l.prototype.handleClick=function(t){var e=this.track.kind,n=this.player_.textTracks();if(a.prototype.handleClick.call(this,t),n)for(var i=0;i<n.length;i++){var r=n[i];r.kind===e&&(r.mode=r===this.track?"showing":"disabled")}},l.prototype.handleTracksChange=function(){this.selected("showing"===this.track.mode)},l})(r.default);o.default.registerComponent("TextTrackMenuItem",t),n.default=t,e.exports=n.default},{"../../component.js":67,"../../menu/menu-item.js":110,"../../utils/fn.js":145,"global/document":1,"global/window":2}],94:[function(t,e,n){function i(t){return t&&t.__esModule?t:{default:t}}n.__esModule=!0;var r=i(t("../../component.js")),o=(t=>{if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e})(t("../../utils/dom.js")),s=i(t("../../utils/format-time.js")),t=(n=>{function i(t,e){if(!(this instanceof i))throw new TypeError("Cannot call a class as a function");n.call(this,t,e),this.on(t,"timeupdate",this.updateContent)}var t=i,e=n;if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);return t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e),i.prototype.createEl=function(){var t=n.prototype.createEl.call(this,"div",{className:"vjs-current-time vjs-time-control vjs-control"});return this.contentEl_=o.createEl("div",{className:"vjs-current-time-display",innerHTML:'<span class="vjs-control-text">Current Time </span>0:00'},{"aria-live":"off"}),t.appendChild(this.contentEl_),t},i.prototype.updateContent=function(){var t=this.player_.scrubbing()?this.player_.getCache().currentTime:this.player_.currentTime(),e=this.localize("Current Time"),t=s.default(t,this.player_.duration());t!==this.formattedTime_&&(this.formattedTime_=t,this.contentEl_.innerHTML='<span class="vjs-control-text">'+e+"</span> "+t)},i})(r.default);r.default.registerComponent("CurrentTimeDisplay",t),n.default=t,e.exports=n.default},{"../../component.js":67,"../../utils/dom.js":143,"../../utils/format-time.js":146}],95:[function(t,e,n){function i(t){return t&&t.__esModule?t:{default:t}}n.__esModule=!0;var r=i(t("../../component.js")),o=(t=>{if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e})(t("../../utils/dom.js")),s=i(t("../../utils/format-time.js")),t=(n=>{function i(t,e){if(!(this instanceof i))throw new TypeError("Cannot call a class as a function");n.call(this,t,e),this.on(t,"timeupdate",this.updateContent),this.on(t,"loadedmetadata",this.updateContent)}var t=i,e=n;if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);return t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e),i.prototype.createEl=function(){var t=n.prototype.createEl.call(this,"div",{className:"vjs-duration vjs-time-control vjs-control"});return this.contentEl_=o.createEl("div",{className:"vjs-duration-display",innerHTML:'<span class="vjs-control-text">'+this.localize("Duration Time")+"</span> 0:00"},{"aria-live":"off"}),t.appendChild(this.contentEl_),t},i.prototype.updateContent=function(){var t,e=this.player_.duration();e&&this.duration_!==e&&(this.duration_=e,t=this.localize("Duration Time"),e=s.default(e),this.contentEl_.innerHTML='<span class="vjs-control-text">'+t+"</span> "+e)},i})(r.default);r.default.registerComponent("DurationDisplay",t),n.default=t,e.exports=n.default},{"../../component.js":67,"../../utils/dom.js":143,"../../utils/format-time.js":146}],96:[function(t,e,n){function i(t){return t&&t.__esModule?t:{default:t}}n.__esModule=!0;var r=i(t("../../component.js")),o=(t=>{if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e})(t("../../utils/dom.js")),s=i(t("../../utils/format-time.js")),t=(n=>{function i(t,e){if(!(this instanceof i))throw new TypeError("Cannot call a class as a function");n.call(this,t,e),this.on(t,"timeupdate",this.updateContent)}var t=i,e=n;if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);return t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e),i.prototype.createEl=function(){var t=n.prototype.createEl.call(this,"div",{className:"vjs-remaining-time vjs-time-control vjs-control"});return this.contentEl_=o.createEl("div",{className:"vjs-remaining-time-display",innerHTML:'<span class="vjs-control-text">'+this.localize("Remaining Time")+"</span> -0:00"},{"aria-live":"off"}),t.appendChild(this.contentEl_),t},i.prototype.updateContent=function(){var t,e;this.player_.duration()&&(t=this.localize("Remaining Time"),(e=s.default(this.player_.remainingTime()))!==this.formattedTime_)&&(this.formattedTime_=e,this.contentEl_.innerHTML='<span class="vjs-control-text">'+t+"</span> -"+e)},i})(r.default);r.default.registerComponent("RemainingTimeDisplay",t),n.default=t,e.exports=n.default},{"../../component.js":67,"../../utils/dom.js":143,"../../utils/format-time.js":146}],97:[function(t,e,n){n.__esModule=!0;var t=t("../../component.js"),t=(t=t)&&t.__esModule?t:{default:t},i=(n=>{function i(){var t=this,e=i;if(!(t instanceof e))throw new TypeError("Cannot call a class as a function");n.apply(this,arguments)}var t=i,e=n;if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);return t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e),i.prototype.createEl=function(){return n.prototype.createEl.call(this,"div",{className:"vjs-time-control vjs-time-divider",innerHTML:"<div><span>/</span></div>"})},i})(t.default);t.default.registerComponent("TimeDivider",i),n.default=i,e.exports=n.default},{"../../component.js":67}],98:[function(t,e,n){function i(t){return t&&t.__esModule?t:{default:t}}n.__esModule=!0;var r=i(t("../menu/menu-button.js")),o=i(t("../component.js")),s=(t=>{if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e})(t("../utils/fn.js")),t=(r=>{function o(t,e){if(!(this instanceof o))throw new TypeError("Cannot call a class as a function");var n,i=e.tracks;r.call(this,t,e),this.items.length<=1&&this.hide(),i&&(n=s.bind(this,this.update),i.addEventListener("removetrack",
1n),i.addEventListener("addtrack",n),this.player_.on("dispose",function(){i.removeEventListener("removetrack",n),i.removeEventListener("addtrack",n)}))}var t=o,e=r;if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);return t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e),o})(r.default);o.default.registerComponent("TrackButton",t),n.default=t,e.exports=n.default},{"../component.js":67,"../menu/menu-button.js":109,"../utils/fn.js":145}],99:[function(t,e,n){function i(t){return t&&t.__esModule?t:{default:t}}n.__esModule=!0;var r=i(t("../../slider/slider.js")),o=i(t("../../component.js")),s=(t=>{if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e})(t("../../utils/fn.js")),t=(i(t("./volume-level.js")),(n=>{function i(t,e){if(!(this instanceof i))throw new TypeError("Cannot call a class as a function");n.call(this,t,e),this.on(t,"volumechange",this.updateARIAAttributes),t.ready(s.bind(this,this.updateARIAAttributes))}var t=i,e=n;if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);return t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e),i.prototype.createEl=function(){return n.prototype.createEl.call(this,"div",{className:"vjs-volume-bar vjs-slider-bar"},{"aria-label":"volume level"})},i.prototype.handleMouseMove=function(t){this.checkMuted(),this.player_.volume(this.calculateDistance(t))},i.prototype.checkMuted=function(){this.player_.muted()&&this.player_.muted(!1)},i.prototype.getPercent=function(){return this.player_.muted()?0:this.player_.volume()},i.prototype.stepForward=function(){this.checkMuted(),this.player_.volume(this.player_.volume()+.1)},i.prototype.stepBack=function(){this.checkMuted(),this.player_.volume(this.player_.volume()-.1)},i.prototype.updateARIAAttributes=function(){var t=(100*this.player_.volume()).toFixed(2);this.el_.setAttribute("aria-valuenow",t),this.el_.setAttribute("aria-valuetext",t+"%")},i})(r.default));t.prototype.options_={children:["volumeLevel"],barName:"volumeLevel"},t.prototype.playerEvent="volumechange",o.default.registerComponent("VolumeBar",t),n.default=t,e.exports=n.default},{"../../component.js":67,"../../slider/slider.js":119,"../../utils/fn.js":145,"./volume-level.js":101}],100:[function(t,e,n){function i(t){return t&&t.__esModule?t:{default:t}}n.__esModule=!0;var r=i(t("../../component.js")),t=(i(t("./volume-bar.js")),(n=>{function i(t,e){if(!(this instanceof i))throw new TypeError("Cannot call a class as a function");n.call(this,t,e),t.tech_&&!1===t.tech_.featuresVolumeControl&&this.addClass("vjs-hidden"),this.on(t,"loadstart",function(){!1===t.tech_.featuresVolumeControl?this.addClass("vjs-hidden"):this.removeClass("vjs-hidden")})}var t=i,e=n;if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);return t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e),i.prototype.createEl=function(){return n.prototype.createEl.call(this,"div",{className:"vjs-volume-control vjs-control"})},i})(r.default));t.prototype.options_={children:["volumeBar"]},r.default.registerComponent("VolumeControl",t),n.default=t,e.exports=n.default},{"../../component.js":67,"./volume-bar.js":99}],101:[function(t,e,n){n.__esModule=!0;var t=t("../../component.js"),t=(t=t)&&t.__esModule?t:{default:t},i=(n=>{function i(){var t=this,e=i;if(!(t instanceof e))throw new TypeError("Cannot call a class as a function");n.apply(this,arguments)}var t=i,e=n;if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);return t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e),i.prototype.createEl=function(){return n.prototype.createEl.call(this,"div",{className:"vjs-volume-level",innerHTML:'<span class="vjs-control-text"></span>'})},i})(t.default);
1t.default.registerComponent("VolumeLevel",i),n.default=i,e.exports=n.default},{"../../component.js":67}],102:[function(t,e,n){function i(t){return t&&t.__esModule?t:{default:t}}n.__esModule=!0;var r=(t=>{if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e})(t("../utils/fn.js")),o=i(t("../component.js")),a=i(t("../popup/popup.js")),s=i(t("../popup/popup-button.js")),l=i(t("./mute-toggle.js")),c=i(t("./volume-control/volume-bar.js")),t=(o=>{function s(t){function e(){t.tech_&&!1===t.tech_.featuresVolumeControl?this.addClass("vjs-hidden"):this.removeClass("vjs-hidden")}var n=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],i=this,r=s;if(!(i instanceof r))throw new TypeError("Cannot call a class as a function");void 0===n.inline&&(n.inline=!0),void 0===n.vertical&&(n.vertical=!n.inline),n.volumeBar=n.volumeBar||{},n.volumeBar.vertical=!!n.vertical,o.call(this,t,n),this.on(t,"volumechange",this.volumeUpdate),this.on(t,"loadstart",this.volumeUpdate),e.call(this),this.on(t,"loadstart",e),this.on(this.volumeBar,["slideractive","focus"],function(){this.addClass("vjs-slider-active")}),this.on(this.volumeBar,["sliderinactive","blur"],function(){this.removeClass("vjs-slider-active")}),this.on(this.volumeBar,["focus"],function(){this.addClass("vjs-lock-showing")}),this.on(this.volumeBar,["blur"],function(){this.removeClass("vjs-lock-showing")})}var t=s,e=o;if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);return t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e),s.prototype.buildCSSClass=function(){var t=this.options_.vertical?"vjs-volume-menu-button-vertical":"vjs-volume-menu-button-horizontal";return"vjs-volume-menu-button "+o.prototype.buildCSSClass.call(this)+" "+t},s.prototype.createPopup=function(){var t=new a.default(this.player_,{contentElType:"div"}),e=new c.default(this.player_,this.options_.volumeBar);return t.addChild(e),this.menuContent=t,this.volumeBar=e,this.attachVolumeBarEvents(),t},s.prototype.handleClick=function(){l.default.prototype.handleClick.call(this),o.prototype.handleClick.call(this)},s.prototype.attachVolumeBarEvents=function(){this.menuContent.on(["mousedown","touchdown"],r.bind(this,this.handleMouseDown))},s.prototype.handleMouseDown=function(){this.on(["mousemove","touchmove"],r.bind(this.volumeBar,this.volumeBar.handleMouseMove)),this.on(this.el_.ownerDocument,["mouseup","touchend"],this.handleMouseUp)},s.prototype.handleMouseUp=function(){this.off(["mousemove","touchmove"],r.bind(this.volumeBar,this.volumeBar.handleMouseMove))},s})(s.default);t.prototype.volumeUpdate=l.default.prototype.update,t.prototype.controlText_="Mute",o.default.registerComponent("VolumeMenuButton",t),n.default=t,e.exports=n.default},{"../component.js":67,"../popup/popup-button.js":115,"../popup/popup.js":116,"../utils/fn.js":145,"./mute-toggle.js":73,"./volume-control/volume-bar.js":99}],103:[function(t,e,n){function i(t){return t&&t.__esModule?t:{default:t}}n.__esModule=!0;var r=i(t("./component")),o=i(t("./modal-dialog")),s=t("./utils/dom");if(!s||!s.__esModule){if(null!=s)for(var a in s)Object.prototype.hasOwnProperty.call(s,a)&&(a,s[a]);0}var t=i(t("./utils/merge-options")),l=(n=>{function i(t,e){if(!(this instanceof i))throw new TypeError("Cannot call a class as a function");n.call(this,t,e),this.on(t,"error",this.open)}var t=i,e=n;if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);return t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e),i.prototype.buildCSSClass=function(){return"vjs-error-display "+n.prototype.buildCSSClass.call(this)},i.prototype.content=function(){var t=this.player().error();return t?this.localize(t.message):""},i})(o.default);l.prototype.options_=t.default(o.default.prototype.options_,{fillAlways:!0,temporary:!1,uncloseable:!0}),r.default.registerComponent("ErrorDisplay",l),n.default=l,e.exports=n.default},{"./component":67,"./modal-dialog":112,"./utils/dom":143,"./utils/merge-options":149}],104:[function(t,e,n){n.__esModule=!0;function i(){}var r=(t=>{if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e})(t("./utils/events.js"));i.prototype.allowedEvents_={},i.prototype.addEventListener=i.prototype.on=function(t,e){var n=this.addEventListener;this.addEventListener=function(){},r.on(this,t,e),this.addEventListener=n},i.prototype.removeEventListener=i.prototype.off=function(t,e){r.off(this,t,e)},i.prototype.one=function(t,e){var n=this.addEventListener;this.addEventListener=function(){},r.one(this,t,e),this.addEventListener=n},i.prototype.dispatchEvent=i.prototype.trigger=function(t){var e=t.type||t;t=r.fixEvent(t="string"==typeof t?{type:e}:t),this.allowedEvents_[e]&&this["on"+e]&&this["on"+e](t),r.trigger(this,t)},n.default=i,e.exports=n.default},{"./utils/events.js":144}],105:[function(t,e,n){n.__esModule=!0;var t=t("./utils/log"),s=(t=t)&&t.__esModule?t:{default:t};n.default=function(t){var e,n=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],i=function(){t.apply(this,arguments)},r={},n=("object"==typeof n?("function"==typeof n.init&&(s.default.warn("Constructor logic via init() is deprecated; please use constructor() instead."),n.constructor=n.init),n.constructor!==Object.prototype.constructor&&(i=n.constructor),r=n):"function"==typeof n&&(i=n),i),o=t;if("function"!=typeof o&&null!==o)throw new TypeError("Super expression must either be null or a function, not "+typeof o);for(e in n.prototype=Object.create(o&&o.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),o&&(n.super_=o),r)r.hasOwnProperty(e)&&(i.prototype[e]=r[e]);return i},e.exports=n.default},{"./utils/log":148}],106:[function(t,e,n){n.__esModule=!0;for(var t=t("global/document"),i=(t=t)&&t.__esModule?t:{default:t},r={},o=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["
1webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]],s=o[0],a=void 0,l=0;l<o.length;l++)if(o[l][1]in i.default){a=o[l];break}if(a)for(l=0;l<a.length;l++)r[s[l]]=a[l];n.default=r,e.exports=n.default},{"global/document":1}],107:[function(t,e,n){n.__esModule=!0;var t=t("./component"),t=(t=t)&&t.__esModule?t:{default:t},i=(n=>{function i(){var t=this,e=i;if(!(t instanceof e))throw new TypeError("Cannot call a class as a function");n.apply(this,arguments)}var t=i,e=n;if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);return t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e),i.prototype.createEl=function(){return n.prototype.createEl.call(this,"div",{className:"vjs-loading-spinner",dir:"ltr"})},i})(t.default);t.default.registerComponent("LoadingSpinner",i),n.default=i,e.exports=n.default},{"./component":67}],108:[function(t,e,n){n.__esModule=!0;function i(t){"number"==typeof t?this.code=t:"string"==typeof t?this.message=t:"object"==typeof t&&r.default(this,t),this.message||(this.message=i.defaultMessages[this.code]||"")}var t=t("object.assign"),r=(t=t)&&t.__esModule?t:{default:t};i.prototype.code=0,i.prototype.message="",i.prototype.status=null,i.errorTypes=["MEDIA_ERR_CUSTOM","MEDIA_ERR_ABORTED","MEDIA_ERR_NETWORK","MEDIA_ERR_DECODE","MEDIA_ERR_SRC_NOT_SUPPORTED","MEDIA_ERR_ENCRYPTED"],i.defaultMessages={1:"You aborted the media playback",2:"A network error caused the media download to fail part-way.",3:"The media playback was aborted due to a corruption problem or because the media used features your browser did not support.",4:"The media could not be loaded, either because the server or network failed or because the format is not supported.",5:"The media is encrypted and we do not have the keys to decrypt it."};for(var o=0;o<i.errorTypes.length;o++)i[i.errorTypes[o]]=o,i.prototype[i.errorTypes[o]]=o;n.default=i,e.exports=n.default},{"object.assign":45}],109:[function(t,e,n){function i(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}function r(t){return t&&t.__esModule?t:{default:t}}n.__esModule=!0;var o=r(t("../clickable-component.js")),s=r(t("../component.js")),a=r(t("./menu.js")),l=i(t("../utils/dom.js")),c=i(t("../utils/fn.js")),u=r(t("../utils/to-title-case.js")),t=(r=>{function o(t){var e=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],n=this,i=o;if(!(n instanceof i))throw new TypeError("Cannot call a class as a function");r.call(this,t,e),this.update(),this.enabled_=!0,this.el_.setAttribute("aria-haspopup","true"),this.el_.setAttribute("role","menuitem"),this.on("keydown",this.handleSubmenuKeyPress)}var t=o,e=r;if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);return t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e),o.prototype.update=function(){var t=this.createMenu();this.menu&&this.removeChild(this.menu),this.menu=t,this.addChild(t),this.buttonPressed_=!1,this.el_.setAttribute("aria-expanded","false"),this.items&&0===this.items.length?this.hide():this.items&&1<this.items.length&&this.show()},o.prototype.createMenu=function(){var t,e=new a.default(this.player_);if(this.options_.title&&(t=l.createEl("li",{className:"vjs-menu-title",innerHTML:u.default(this.options_.title),tabIndex:-1}),e.children_.unshift(t),l.insertElFirst(t,e.contentEl())),this.items=this.createItems(),this.items)for(var n=0;n<this.items.length;n++)e.addItem(this.items[n]);return e},o.prototype.createItems=function(){},o.prototype.createEl=function(){return r.prototype.createEl.call(this,"div",{className:this.buildCSSClass()})},o.prototype.buildCSSClass=function(){var t="vjs-menu-button";return"vjs-menu-button "+(t+=!0===this.options_.inline?"-inline":"-popup")+" "+r.prototype.buildCSSClass.call(this)},o.prototype.handleClick=function(){this.one("mouseout",c.bind(this,function(){this.menu.unlockShowing(),this.el_.blur()})),this.buttonPressed_?this.unpressButton():this.pressButton()},o.prototype.handleKeyPress=function(t){27===t.which||9===t.which?(this.buttonPressed_&&this.unpressButton(),9!==t.which&&t.preventDefault()):38===t.which||40===t.which?this.buttonPressed_||(this.pressButton(),t.preventDefault()):r.prototype.handleKeyPress.call(this,t)},o.prototype.handleSubmenuKeyPress=function(t){27!==t.which&&9!==t.which||(this.buttonPressed_&&this.unpressButton(),9===t.which)||t.preventDefault()},o.prototype.pressButton=function(){this.enabled_&&(this.buttonPressed_=!0,this.menu.lockShowing(),this.el_.setAttribute("aria-expanded","true"),this.menu.focus())},o.prototype.unpressButton=function(){this.enabled_&&(this.buttonPressed_=!1,this.menu.unlockShowing(),this.el_.setAttribute("aria-expanded","fal
1se"),this.el_.focus())},o.prototype.disable=function(){return this.buttonPressed_=!1,this.menu.unlockShowing(),this.el_.setAttribute("aria-expanded","false"),this.enabled_=!1,r.prototype.disable.call(this)},o.prototype.enable=function(){return this.enabled_=!0,r.prototype.enable.call(this)},o})(o.default);s.default.registerComponent("MenuButton",t),n.default=t,e.exports=n.default},{"../clickable-component.js":65,"../component.js":67,"../utils/dom.js":143,"../utils/fn.js":145,"../utils/to-title-case.js":152,"./menu.js":111}],110:[function(t,e,n){function i(t){return t&&t.__esModule?t:{default:t}}n.__esModule=!0;var r=i(t("../clickable-component.js")),o=i(t("../component.js")),s=i(t("object.assign")),t=(i=>{function n(t,e){if(!(this instanceof n))throw new TypeError("Cannot call a class as a function");i.call(this,t,e),this.selectable=e.selectable,this.selected(e.selected),this.selectable?this.el_.setAttribute("role","menuitemcheckbox"):this.el_.setAttribute("role","menuitem")}var t=n,e=i;if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);return t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e),n.prototype.createEl=function(t,e,n){return i.prototype.createEl.call(this,"li",s.default({className:"vjs-menu-item",innerHTML:this.localize(this.options_.label),tabIndex:-1},e),n)},n.prototype.handleClick=function(){this.selected(!0)},n.prototype.selected=function(t){this.selectable&&(t?(this.addClass("vjs-selected"),this.el_.setAttribute("aria-checked","true"),this.controlText(", selected")):(this.removeClass("vjs-selected"),this.el_.setAttribute("aria-checked","false"),this.controlText(" ")))},n})(r.default);o.default.registerComponent("MenuItem",t),n.default=t,e.exports=n.default},{"../clickable-component.js":65,"../component.js":67,"object.assign":45}],111:[function(t,e,n){function i(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}n.__esModule=!0;var r=t("../component.js"),r=(r=r)&&r.__esModule?r:{default:r},o=i(t("../utils/dom.js")),s=i(t("../utils/fn.js")),a=i(t("../utils/events.js")),t=(n=>{function i(t,e){if(!(this instanceof i))throw new TypeError("Cannot call a class as a function");n.call(this,t,e),this.focusedChild_=-1,this.on("keydown",this.handleKeyPress)}var t=i,e=n;if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);return t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e),i.prototype.addItem=function(t){this.addChild(t),t.on("click",s.bind(this,function(){this.unlockShowing()}))},i.prototype.createEl=function(){var t=this.options_.contentElType||"ul",t=(this.contentEl_=o.createEl(t,{className:"vjs-menu-content"}),this.contentEl_.setAttribute("role","menu"),n.prototype.createEl.call(this,"div",{append:this.contentEl_,className:"vjs-menu"}));return t.setAttribute("role","presentation"),t.appendChild(this.contentEl_),a.on(t,"click",function(t){t.preventDefault(),t.stopImmediatePropagation()}),t},i.prototype.handleKeyPress=function(t){37===t.which||40===t.which?(t.preventDefault(),this.stepForward()):38!==t.which&&39!==t.which||(t.preventDefault(),this.stepBack())},i.prototype.stepForward=function(){var t=0;void 0!==this.focusedChild_&&(t=this.focusedChild_+1),this.focus(t)},i.prototype.stepBack=function(){var t=0;void 0!==this.focusedChild_&&(t=this.focusedChild_-1),this.focus(t)},i.prototype.focus=function(){var t=arguments.length<=0||void 0===arguments[0]?0:arguments[0],e=this.children().slice();e.length&&e[0].className&&/vjs-menu-title/.test(e[0].className)&&e.shift(),0<e.length&&(t<0?t=0:t>=e.length&&(t=e.length-1),e[this.focusedChild_=t].el_.focus())},i})(r.default);r.default.registerComponent("Menu",t),n.default=t,e.exports=n.default},{"../component.js":67,"../utils/dom.js":143,"../utils/events.js":144,"../utils/fn.js":145}],112:[function(t,e,n){function i(t){return t&&t.__esModule?t:{default:t}}function r(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}n.__esModule=!0;var o=r(t("./utils/dom")),s=r(t("./utils/fn")),a=(i(t("./utils/log")),t("./component")),a=i(a),l=(i(t("./close-button")),"vjs-modal-dialog"),t=(n=>{function i(t,e){if(!(this instanceof i))throw new TypeError("Cannot call a class as a function");n.call(this,t,e),this.opened_=this.hasBeenOpened_=this.hasBeenFilled_=!1,this.closeable(!this.options_.uncloseable),this.content(this.options_.content),this.contentEl_=o.createEl("div",{className:l+"-content"},{role:"document"}),this.descEl_=o.createEl("p",{className:l+"-description vjs-offscreen",id:this.el().getAttribute("aria-describedby")}),o.textContent(this.descEl_,this.description()),this.el_.appendChild(this.descEl_),this.el_.appendChild(this.contentEl_)}var t=i,e=n;if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);return t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e),i.prototype.createEl=function(){return n.prototype.createEl.call(this,"div",{className:this.buildCSSClass(),tabIndex:-1},{"aria-describedby":this.id()+"_description","aria-hidden":"true","aria-label":this.label(),role:"dialog"})},i.prototype.buildCSSClass=function(){return l+" vjs-hidden "+n.prototype.buildCSSClass.call(this)},i.prototype.handleKeyPress=function(t){27===t.which&&this.closeable()&&this.close()},i.prototype.label=function(){return this.options_.label||this.localize("Modal Window")},i.prototype.description=function(){var t=this.options_.description||this.localize("This is a modal window.");return this.closeable()&&(t+=" "+this.localize("This modal can be closed by pressing the Escape key or activating the close button.")),t},i.prototype.open=function(){var t;return this.opened_||(t=this.player(),this.trigger("beforemodalopen"),this.opened_=!0,!this.options_.fillAlways&&(this.hasBeenOpened_||this.hasBeenFilled_)||this.fill(),this.wasPlaying_=!t.paused(),this.wasPlaying_&&t.pause(),this.closeable()&&this.on(this.el_.ownerDocument,"keydown",s.bind(this,this.handleKeyPress)),t.controls(!1),this.show(),this.el().setAttribute("aria-hidden","false"),this.trigger("modalopen"),this.hasBeenOpened_=!0),this},i.prototype.opened=function(t){return"boolean"==typeof t&&this[t?"open":"close"](),this.opened_},i.prototype.close=function(){var t;return this.opened_&&(t=this.player(),this.trigger("beforemodalclose"),this.opened_=!1,this.wasPlaying_&&t.play(),this.closeable()&&this.off(this.el_.ownerDocument,"keydown",s.bind(this,this.handleKeyPress)),t.controls(!0),this.hide(),this.el().setAttribute("aria-hidden","true"),this.trigger("modalclose"),this.options_.temporary)&&this.dispose(),this},i.prototype.closeable=function(t){var e,n;return"boolean"==typeof t&&(t=this.closeable_=!!t,e=this.getChild("closeButton"),t&&!e&&(n=this.contentEl_,this.contentEl_=this.el_,e=this.addChild("closeButton"),this.contentEl_=n,this.on(e,"close",this.close)),!t)&&e&&(this.off(e,"close",this.close),this.removeChild(e),e.dispose()),this.closeable_},i.prototype.fill=function(){return this.fillWith(this.content())},i.prototype.fillWith=function(t){var e=this.contentEl(),n=e.parentNode,i=e.nextSibling;return this.trigger("beforemodalfill"),this.hasBeenFilled_=!0,n.removeChild(e),this.empty(),o.insertContent(e,t),this.trigger("modalfill"),i?n.insertBefore(e,i):n.appendChild(e),this},i.prototype.empty=function(){return this.trigger("beforemodalempty"),o.emptyEl(this.contentEl()),this.trigger("modalempty"),this},i.prototype.content=function(t){return void 0!==t&&(this.content_=t),this.content_},i})(a.default);t.prototype.options_={temporary:!0}
1,a.default.registerComponent("ModalDialog",t),n.default=t,e.exports=n.default},{"./close-button":66,"./component":67,"./utils/dom":143,"./utils/fn":145,"./utils/log":148}],113:[function(t,e,n){function i(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}function r(t){return t&&t.__esModule?t:{default:t}}n.__esModule=!0;var a=r(t("./component.js")),o=r(t("global/document")),c=r(t("global/window")),u=i(t("./utils/events.js")),p=i(t("./utils/dom.js")),h=i(t("./utils/fn.js")),d=i(t("./utils/guid.js")),f=i(t("./utils/browser.js")),m=r(t("./utils/log.js")),g=r(t("./utils/to-title-case.js")),v=t("./utils/time-ranges.js"),y=t("./utils/buffer.js"),b=i(t("./utils/stylesheet.js")),_=r(t("./fullscreen-api.js")),w=r(t("./media-error.js")),x=r(t("safe-json-parse/tuple")),k=r(t("object.assign")),T=r(t("./utils/merge-options.js")),C=r(t("./tracks/text-track-list-converter.js")),S=r(t("./tracks/audio-track-list.js")),j=r(t("./tracks/video-track-list.js")),s=(r(t("./tech/loader.js")),t("./poster-image.js")),s=(r(s),t("./tracks/text-track-display.js")),s=(r(s),t("./loading-spinner.js")),s=(r(s),t("./big-play-button.js")),s=(r(s),t("./control-bar/control-bar.js")),s=(r(s),t("./error-display.js")),s=(r(s),t("./tracks/text-track-settings.js")),s=(r(s),t("./modal-dialog")),E=r(s),O=r(t("./tech/tech.js")),s=(r(t("./tech/html5.js")),(l=>{function s(t,e,n){var i,r=this;if(!(this instanceof s))throw new TypeError("Cannot call a class as a function");if(t.id=t.id||"vjs_video_"+d.newGUID(),(e=k.default(s.getTagSettings(t),e)).initChildren=!1,e.createEl=!1,e.reportTouchActivity=!1,l.call(this,null,e,n),!this.options_||!this.options_.techOrder||!this.options_.techOrder.length)throw new Error("No techOrder specified. Did you overwrite videojs.options instead of just changing the properties you want to override?");this.tag=t,this.tagAttributes=t&&p.getElAttributes(t),this.language(this.options_.language),e.languages?(i={},Object.getOwnPropertyNames(e.languages).forEach(function(t){i[t.toLowerCase()]=e.languages[t]}),r.languages_=i):this.languages_=s.prototype.options_.languages,this.cache_={},this.poster_=e.poster||"",this.controls_=!!e.controls,t.controls=!1,this.scrubbing_=!1,this.el_=this.createEl();var o,n=T.default(this.options_);e.plugins&&(o=e.plugins,Object.getOwnPropertyNames(o).forEach(function(t){"function"==typeof this[t]?this[t](o[t]):m.default.error("Unable to find plugin:",t)},r)),this.options_.playerOptions=n,this.initChildren(),this.isAudio("audio"===t.nodeName.toLowerCase()),this.addClass(this.controls()?"vjs-controls-enabled":"vjs-controls-disabled"),this.el_.setAttribute("role","region"),this.isAudio()?this.el_.setAttribute("aria-label","audio player"):this.el_.setAttribute("aria-label","video player"),this.isAudio()&&this.addClass("vjs-audio"),this.flexNotSupported_()&&this.addClass("vjs-no-flex"),f.IS_IOS||this.addClass("vjs-workinghover"),(s.players[this.id_]=this).userActive(!0),this.reportUserActivity(),this.listenForUserActivity_(),this.on("fullscreenchange",this.handleFullscreenChange_),this.on("stageclick",this.handleStageClick_)}var t=s,e=l;if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);return t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e),s.prototype.dispose=function(){this.trigger("dispose"),this.off("dispose"),this.styleEl_&&this.styleEl_.parentNode&&this.styleEl_.parentNode.removeChild(this.styleEl_),s.players[this.id_]=null,this.tag&&this.tag.player&&(this.tag.player=null),this.el_&&this.el_.player&&(this.el_.player=null),this.tech_&&this.tech_.dispose(),l.prototype.dispose.call(this)},s.prototype.createEl=function(){var t,e,n=this.el_=l.prototype.createEl.call(this,"div"),i=this.tag,r=(i.removeAttribute("width"),i.removeAttribute("height"),p.getElAttributes(i));Object.getOwnPropertyNames(r).forEach(function(t){"class"===t?n.className=r[t]:n.setAttribute(t,r[t])}),i.playerId=i.id,i.id+="_html5_api",i.className="vjs-tech",(i.player=n.player=this).addClass("vjs-paused"),!0!==c.default.VIDEOJS_NO_DYNAMIC_STYLE&&(this.styleEl_=b.createStyleElement("vjs-styles-dimensions"),t=p.$(".vjs-styles-defaults"),(e=p.$("head")).insertBefore(this.styleEl_,t?t.nextSibling:e.firstChild)),this.width(this.options_.width),this.height(this.options_.height),this.fluid(this.options_.fluid),this.aspectRatio(this.options_.aspectRatio);for(var o=i.getElementsByTagName("a"),s=0;s<o.length;s++){var a=o.item(s);p.addElClass(a,"vjs-hidden"),a.setAttribute("hidden","hidden")}return i.initNetworkState_=i.networkState,i.parentNode&&i.parentNode.insertBefore(n,i),p.insertElFirst(i,n),this.children_.unshift(i),this.el_=n},s.prototype.width=function(t){return this.dimension("width",t)},s.prototype.height=function(t){return this.dimension("height",t)},s.prototype.dimension=function(t,e){var n=t+"_";if(void 0===e)return this[n]||0;if(""===e)this[n]=void 0;else{var i=parseFloat(e);
1if(isNaN(i))return m.default.error('Improper value "'+e+'" supplied for for '+t),this;this[n]=i}return this.updateStyleEl_(),this},s.prototype.fluid=function(t){return void 0===t?!!this.fluid_:(this.fluid_=!!t,void(t?this.addClass("vjs-fluid"):this.removeClass("vjs-fluid")))},s.prototype.aspectRatio=function(t){if(void 0===t)return this.aspectRatio_;if(!/^\d+\:\d+$/.test(t))throw new Error("Improper value supplied for aspect ratio. The format should be width:height, for example 16:9.");this.aspectRatio_=t,this.fluid(!0),this.updateStyleEl_()},s.prototype.updateStyleEl_=function(){var t,e,n,i;!0===c.default.VIDEOJS_NO_DYNAMIC_STYLE?(e="number"==typeof this.width_?this.width_:this.options_.width,i="number"==typeof this.height_?this.height_:this.options_.height,(n=this.tech_&&this.tech_.el())&&(0<=e&&(n.width=e),0<=i)&&(n.height=i)):(t=(t=((i=n=e=void 0)!==this.aspectRatio_&&"auto"!==this.aspectRatio_?this.aspectRatio_:this.videoWidth()?this.videoWidth()+":"+this.videoHeight():"16:9").split(":"))[1]/t[0],e=void 0!==this.width_?this.width_:void 0!==this.height_?this.height_/t:this.videoWidth()||300,n=void 0!==this.height_?this.height_:e*t,i=/^[^a-zA-Z]/.test(this.id())?"dimensions-"+this.id():this.id()+"-dimensions",this.addClass(i),b.setTextContent(this.styleEl_,"\n ."+i+" {\n width: "+e+"px;\n height: "+n+"px;\n }\n\n ."+i+".vjs-fluid {\n padding-top: "+100*t+"%;\n }\n "))},s.prototype.loadTech_=function(t,e){this.tech_&&this.unloadTech_(),"Html5"!==t&&this.tag&&(O.default.getTech("Html5").disposeMediaElement(this.tag),this.tag.player=null,this.tag=null),this.techName_=t,this.isReady_=!1;var n=k.default({nativeControlsForTouch:this.options_.nativeControlsForTouch,source:e,playerId:this.id(),techId:this.id()+"_"+t+"_api",videoTracks:this.videoTracks_,textTracks:this.textTracks_,audioTracks:this.audioTracks_,autoplay:this.options_.autoplay,preload:this.options_.preload,loop:this.options_.loop,muted:this.options_.muted,poster:this.poster(),language:this.language(),"vtt.js":this.options_["vtt.js"]},this.options_[t.toLowerCase()]);this.tag&&(n.tag=this.tag),e&&(this.currentType_=e.type,e.src===this.cache_.src&&0<this.cache_.currentTime&&(n.startTime=this.cache_.currentTime),this.cache_.src=e.src);e=(e=O.default.getTech(t))||a.default.getComponent(t);this.tech_=new e(n),this.tech_.ready(h.bind(this,this.handleTechReady_),!0),C.default.jsonToTextTracks(this.textTracksJson_||[],this.tech_),this.on(this.tech_,"loadstart",this.handleTechLoadStart_),this.on(this.tech_,"waiting",this.handleTechWaiting_),this.on(this.tech_,"canplay",this.handleTechCanPlay_),this.on(this.tech_,"canplaythrough",this.handleTechCanPlayThrough_),this.on(this.tech_,"playing",this.handleTechPlaying_),this.on(this.tech_,"ended",this.handleTechEnded_),this.on(this.tech_,"seeking",this.handleTechSeeking_),this.on(this.tech_,"seeked",this.handleTechSeeked_),this.on(this.tech_,"play",this.handleTechPlay_),this.on(this.tech_,"firstplay",this.handleTechFirstPlay_),this.on(this.tech_,"pause",this.handleTechPause_),this.on(this.tech_,"progress",this.handleTechProgress_),this.on(this.tech_,"durationchange",this.handleTechDurationChange_),this.on(this.tech_,"fullscreenchange",this.handleTechFullscreenChange_),this.on(this.tech_,"error",this.handleTechError_),this.on(this.tech_,"suspend",this.handleTechSuspend_),this.on(this.tech_,"abort",this.handleTechAbort_),this.on(this.tech_,"emptied",this.handleTechEmptied_),this.on(this.tech_,"stalled",this.handleTechStalled_),this.on(this.tech_,"loadedmetadata",this.handleTechLoadedMetaData_),this.on(this.tech_,"loadeddata",this.handleTechLoadedData_),this.on(this.tech_,"timeupdate",this.handleTechTimeUpdate_),this.on(this.tech_,"ratechange",this.handleTechRateChange_),this.on(this.tech_,"volumechange",this.handleTechVolumeChange_),this.on(this.tech_,"texttrackchange",this.handleTechTextTrackChange_),this.on(this.tech_,"loadedmetadata",this.updateStyleEl_),this.on(this.tech_,"posterchange",this.handleTechPosterChange_),this.usingNativeControls(this.techGet_("controls")),this.controls()&&!this.usingNativeControls()&&this.addTechControl
1sListeners_(),this.tech_.el().parentNode===this.el()||"Html5"===t&&this.tag||p.insertElFirst(this.tech_.el(),this.el()),this.tag&&(this.tag.player=null,this.tag=null)},s.prototype.unloadTech_=function(){this.videoTracks_=this.videoTracks(),this.textTracks_=this.textTracks(),this.audioTracks_=this.audioTracks(),this.textTracksJson_=C.default.textTracksToJson(this.tech_),this.isReady_=!1,this.tech_.dispose(),this.tech_=!1},s.prototype.tech=function(t){if(t&&t.IWillNotUseThisInPlugins)return this.tech_;t="\n Please make sure that you are not using this inside of a plugin.\n To disable this alert and error, please pass in an object with\n `IWillNotUseThisInPlugins` to the `tech` method. See\n https://github.com/videojs/video.js/issues/2617 for more info.\n ";throw c.default.alert(t),new Error(t)},s.prototype.addTechControlsListeners_=function(){this.removeTechControlsListeners_(),this.on(this.tech_,"mousedown",this.handleTechClick_),this.on(this.tech_,"touchstart",this.handleTechTouchStart_),this.on(this.tech_,"touchmove",this.handleTechTouchMove_),this.on(this.tech_,"touchend",this.handleTechTouchEnd_),this.on(this.tech_,"tap",this.handleTechTap_)},s.prototype.removeTechControlsListeners_=function(){this.off(this.tech_,"tap",this.handleTechTap_),this.off(this.tech_,"touchstart",this.handleTechTouchStart_),this.off(this.tech_,"touchmove",this.handleTechTouchMove_),this.off(this.tech_,"touchend",this.handleTechTouchEnd_),this.off(this.tech_,"mousedown",this.handleTechClick_)},s.prototype.handleTechReady_=function(){this.triggerReady(),this.cache_.volume&&this.techCall_("setVolume",this.cache_.volume),this.handleTechPosterChange_(),this.handleTechDurationChange_(),this.src()&&this.tag&&this.options_.autoplay&&this.paused()&&(delete this.tag.poster,this.play())},s.prototype.handleTechLoadStart_=function(){this.removeClass("vjs-ended"),this.error(null),this.paused()?(this.hasStarted(!1),this.trigger("loadstart")):(this.trigger("loadstart"),this.trigger("firstplay"))},s.prototype.hasStarted=function(t){return void 0!==t?(this.hasStarted_!==t&&((this.hasStarted_=t)?(this.addClass("vjs-has-started"),this.trigger("firstplay")):this.removeClass("vjs-has-started")),this):!!this.hasStarted_},s.prototype.handleTechPlay_=function(){this.removeClass("vjs-ended"),this.removeClass("vjs-paused"),this.addClass("vjs-playing"),this.hasStarted(!0),this.trigger("play")},s.prototype.handleTechWaiting_=function(){var t=this;this.addClass("vjs-waiting"),this.trigger("waiting"),this.one("timeupdate",function(){return t.removeClass("vjs-waiting")})},s.prototype.handleTechCanPlay_=function(){this.removeClass("vjs-waiting"),this.trigger("canplay")},s.prototype.handleTechCanPlayThrough_=function(){this.removeClass("vjs-waiting"),this.trigger("canplaythrough")},s.prototype.handleTechPlaying_=function(){this.removeClass("vjs-waiting"),this.trigger("playing")},s.prototype.handleTechSeeking_=function(){this.addClass("vjs-seeking"),this.trigger("seeking")},s.prototype.handleTechSeeked_=function(){this.removeClass("vjs-seeking"),this.trigger("seeked")},s.prototype.handleTechFirstPlay_=function(){this.options_.starttime&&this.currentTime(this.options_.starttime),this.addClass("vjs-has-started"),this.trigger("firstplay")},s.prototype.handleTechPause_=function(){this.removeClass("vjs-playing"),this.addClass("vjs-paused"),this.trigger("pause")},s.prototype.handleTechProgress_=function(){this.trigger("progress")},s.prototype.handleTechEnded_=function(){this.addClass("vjs-ended"),this.options_.loop?(this.currentTime(0),this.play()):this.paused()||this.pause(),this.trigger("ended")},s.prototype.handleTechDurationChange_=function(){this.duration(this.techGet_("duration"))},s.prototype.handleTechClick_=function(t){0===t.button&&this.controls()&&(this.paused()?this.play():this.pause())},s.prototype.handleTechTap_=function(){this.userActive(!this.userActive())},s.prototype.handleTechTouchStart_=function(){this.userWasActive=this.userActive()},s.prototype.handleTechTouchMove_=function(){this.userWasActive&&this.reportUserActivity()},s.prototype.handleTechTouchEnd_=function(t){t.preventDefault()},s.prototype.handleFullscreenChange_=function(){this.isFullscreen()?this.addClass("vjs-fullscreen"):this.removeClass("vjs-fullscreen")},s.prototype.handleStageClick_=function(){this.reportUserActivity()},s.prototype.handleTechFullscreenChange_=function(t,e){e&&this.isFullscreen(e.isFullscreen),this.trigger("fullscreenchange")},s.prototype.handleTechError_=function(){var t=this.tech_.error();this.error(t&&t.code)},s.prototype.handleTechSuspend_=function(){this.trigger("suspend")},s.prototype.handleTechAbort_=function(){this.trigger("abort")},s.prototype.handleTechEmptied_=function(){this.trigger("emptied")},s.prototype.handleTechStalled_=function(){this.trigger("stalled")},s.prototype.handleTechLoadedMetaData_=function(){this.trigger("loadedmetadata")},s.prototype.handleTechLoadedData_=function(){this.trigger("loadeddata")},s.prototype.handleTechTimeUpdate_=function(){this.trigger("timeupdate")},s.prototype.handleTechRateChange_=function(){this.trigger("ratechange")},s.prototype.handleTechVolumeChange_=function(){this.trigger("volumechange")},s.prototype.handleTechTextTrackChange_=function(){this.trigger("texttrackchange")},s.prototype.getCache=function(){return this.cache_},s.prototype.techCall_=function(t,e){if(this.tech_&&!this.tech_.isReady_)this.tech_.ready(function(){this[t](e)},!0);else try{this.tech_[t](e)}catch(t){throw m.default(t),t}},s.prototype.techGet_=function(e){if(this.tech_&&this.tech_.isReady_)try{return this.tech_[e]()}catch(t){throw void 0===this.tech_[e]?m.default("Video.js: "+e+" method not defined for "+this.techName_+" playback technology.",t):"TypeError"===t.name?(m.default("Video.js: "+e+" unavailable on "+this.techName_+" playback technology element.",t),this.tech_.isReady_=!1):m.default(t),t}},s.prototype.play=function(){return this.techCall_("play"),this},s.prototype.pause=function(){return this.techCall_("pause"),this},s.prototype.paused=function(){return!1!==this.techGet_("paused")},s.prototype.scrubbing=function(t){return void 0!==t?(this.scrubbing_=!!t,t?this.addClass("vjs-scrubbing"):this.removeClass("vjs-scrubbing"),this):this.scrubbing_},s.prototype.currentTime=function(t){return void 0!==t?(this.techCall_("setCurrentTime",t),this):this.cache_.currentTime=this.techGet_("currentTime")||0},s.prototype.duration=function(t){return void 0===t?this.cache_.duration||0:((t=(t=parseFloat(t)||0)<0?1/0:t)!==this.cache_.duration&&((this.cache_.duration=t)===1/0?this.addClass("vjs-live"):this.removeClass("vjs-live"),this.trigger("durationchange")),this)},s.prototype.remainingTime=function(){return this.duration()-this.currentTime()},s.prototype.buffered=function(){var t;return t=(t=this.techGet_("buffered"))&&t.length?t:v.createTimeRange(0,0)},s.prototype.bufferedPercent=function(){return y.bufferedPercent(this.buffered(),this.duration())},s.prototype.bufferedEnd=function(){var t=this.buffered(),e=this.duration(),t=t.end(t.length-1);return t=e<t?e:t},s.prototype.volume=function(t){var e=void 0;return void 0!==t?(e=Math.max(0,Math.min(1,parseFloat(t))),this.cache_.volume=e,this.techCall_("setVolume",e),this):(e=parseFloat(this.techGet_("volume")),isNaN(e)?1:e)},s.prototype.muted=function(t){return void 0!==t?(this.techCall_("setMuted",t),this):this.techGet_("muted")||!1},s.prototype.supportsFullScreen=function(){return this.techGet_("supportsFullScreen")||!1},s.prototype.isFullscreen=function(t){return void 0!==t?(this.isFullscreen_=!!t,this):!!this.isFullscreen_},s.prototype.requestFullscreen=function(){var e=_.default;return this.isFullscreen(!0),e.requestFullscreen?(u.on(o.default,e.fullscreenchange,h.bind(this,function t(){this.isFullscreen(o.default[e.fullscreenElement]),!1===this.isFullscreen()&&u.off(o.default,e.fullscreenchange,t),this.trigger("fullscreenchange")})),this.el_[e.requestFullscreen]()):this.tech_.supportsFullScreen()?this.techCall_("enterFullScreen"):(this.enterFullWindow(),this.trigger("fullscreenchange")),this},s.prototype.exitFullscreen=function(){var t=_.default;return this.isFullscreen(!1),t.requestFullscreen?o.default[t.exitFullscreen]():this.tech_.supportsFullScreen()?this.techCall_("exitFullScreen"):(this.exitFullWindow(),this.trigger("fullscreenchange")),this},s.prototype.enterFullWindow=function(){this.isFullWindow=!0,this.docOrigOverflow=o.default.documentElement.style.overflow,u.on(o.default,"keydown",h.bind(this,this.fullWindowOnEscKey)),o.default.documentElement.style.overflow="hidden",p.addElClass(o.default.body,"vjs-full-window"),this.trigger("enterFullWindow")},s.prototype.fullWindowOnEscKey=function(t){27===t.keyCode&&(!0===this.isFullscreen()?this.exitFullscreen():this.exitFullWindow())},s.prototype.exitFullWindow=function(){this.isFullWindow=!1,u.off(o.default,"keydown",this.fullWindowOnEscKey),o.default.documentElement.style.overflow=this.docOrigOverflow,p.removeElClass(o.default.body,"vjs-full-window"),this.trigger("exitFullWindow")},s.prototype.canPlayType=function(t){for(var e=void 0,n=0,i=this.options_.techOrder;n<i.length;n++){var r=g.default(i[n]),o=O.default.getTech(r);if(o=o||a.default.getComponent(r)){if(o.isSupported()&&(e=o.canPlayType(t)))return e}else m.default.error('The "'+r+'" tech is undefined. Skipped browser support check for that tech.')}return""},s.prototype.selectSource=function(t){function e(t,n,i){var r=void 0;return t.some(function(e){return n.some(function(t){return!!(r=i(e,t))||void 0})}),r}function n(t,e){var n=t[0];return t[1].canPlaySource(e)?{source:e,tech:n}:void 0}var i,r=this.options_.techOrder.map(g.default).map(function(t){return[t,O.default.getTech(t)||a.default.getComponent(t)]}).filter(function(t){var e=t[0],t=t[1];return t?t.isSupported():(m.default.error('The "'+e+'" tech is undefined. Skipped browser support check for that tech.'),!1)});return(this.options_.sourceOrder?e(t,r,(i=n,function(t,e){return i(e,t)})):e(r,t,n))||!1},s.prototype.src=function(t){var e;return void 0===t?this.techGet_("src"):(e=(e=O.default.getTech(this.techName_))||a.default.getComponent(this.techName_),Array.isArray(t)?this.sourceList_(t):"string"==typeof t?this.src({src:t}):t instanceof Object&&(t.type&&!e.canPlaySource(t)?this.sourceList_([t]):(this.cache_.src=t.src,this.currentType_=t.type||"",this.ready(function(){e.prototype.hasOwnProperty("setSource")?this.techCall_("setSource",t):this.techCall_("src",t.src),"auto"===this.options_.preload&&this.load(),this.options_.autoplay&&this.play()},!0))),this)},s.prototype.sourceList_=function(t){t=this.selectSource(t);t?t.tech===this.techName_?this.src(t.source):this.loadTech_(t.tech,t.source):(this.setTimeout(function(){this.error({code:4,message:this.localize(this.options_.notSupportedMessage)})},0),this.triggerReady())},s.prototype.load=function(){return this.techCall_("load"),this},s.prototype.reset=function(){return this.loadTech_(g.default(this.options_.techOrder[0]),null),this.techCall_("reset"),this},s.prototype.currentSrc=function(){return this.techGet_("currentSrc")||this.cache_.src||""},s.prototype.currentType=function(){return this.currentType_||""},s.prototype.preload=function(t){return void 0!==t?(this.techCall_("setPreload",t),this.options_.preload=t,this):this.techGet_("preload")},s.prototype.autoplay=function(t){return void 0!==t?(this.techCall_("setAutoplay",t),this.options_.autoplay=t,this):this.techGet_("autoplay",t)},s.prototype.loop=function(t){return void 0!==t?(this.techCall_("setLoop",t),this.options_.loop=t,this):this.techGet_("loop")},s.prototype.poster=function(t){return void 0===t?this.poster_:(this.poster_=t=t||"",this.techCall_("setPoster",t),this.trigger("posterchange"),this)},s.prototype.handleTechPosterChange_=function(){!this.poster_&&this.tech_&&this.tech_.poster&&(this.poster_=this.tech_.poster()||"",this.trigger("posterchange"))},s.prototype.controls=function(t){return void 0!==t?(this.controls_!==(t=!!t)&&(this.controls_=t,this.usingNativeControls()&&this.techCall_("setControls",t),t?(this.removeClass("vjs-controls-disabled"),this.addClass("vjs-controls-enabled"),this.trigger("controlsenabled"),this.usingNativeControls()||this.addTechControl
1sListeners_()):(this.removeClass("vjs-controls-enabled"),this.addClass("vjs-controls-disabled"),this.trigger("controlsdisabled"),this.usingNativeControls()||this.removeTechControlsListeners_())),this):!!this.controls_},s.prototype.usingNativeControls=function(t){return void 0!==t?(this.usingNativeControls_!==(t=!!t)&&((this.usingNativeControls_=t)?(this.addClass("vjs-using-native-controls"),this.trigger("usingnativecontrols")):(this.removeClass("vjs-using-native-controls"),this.trigger("usingcustomcontrols"))),this):!!this.usingNativeControls_},s.prototype.error=function(t){return void 0===t?this.error_||null:(null===t?(this.error_=t,this.removeClass("vjs-error"),this.errorDisplay.close()):(this.error_=t instanceof w.default?t:new w.default(t),this.addClass("vjs-error"),m.default.error("(CODE:"+this.error_.code+" "+w.default.errorTypes[this.error_.code]+")",this.error_.message,this.error_),this.trigger("error")),this)},s.prototype.ended=function(){return this.techGet_("ended")},s.prototype.seeking=function(){return this.techGet_("seeking")},s.prototype.seekable=function(){return this.techGet_("seekable")},s.prototype.reportUserActivity=function(){this.userActivity_=!0},s.prototype.userActive=function(t){return void 0!==t?((t=!!t)!==this.userActive_&&((this.userActive_=t)?(this.userActivity_=!0,this.removeClass("vjs-user-inactive"),this.addClass("vjs-user-active"),this.trigger("useractive")):(this.userActivity_=!1,this.tech_&&this.tech_.one("mousemove",function(t){t.stopPropagation(),t.preventDefault()}),this.removeClass("vjs-user-active"),this.addClass("vjs-user-inactive"),this.trigger("userinactive"))),this):this.userActive_},s.prototype.listenForUserActivity_=function(){var t=void 0,e=void 0,n=void 0,i=h.bind(this,this.reportUserActivity),r=(this.on("mousedown",function(){i(),this.clearInterval(t),t=this.setInterval(i,250)}),this.on("mousemove",function(t){t.screenX===e&&t.screenY===n||(e=t.screenX,n=t.screenY,i())}),this.on("mouseup",function(){i(),this.clearInterval(t)}),this.on("keydown",i),this.on("keyup",i),void 0);this.setInterval(function(){var t;this.userActivity_&&(this.userActivity_=!1,this.userActive(!0),this.clearTimeout(r),0<(t=this.options_.inactivityTimeout))&&(r=this.setTimeout(function(){this.userActivity_||this.userActive(!1)},t))},250)},s.prototype.playbackRate=function(t){return void 0!==t?(this.techCall_("setPlaybackRate",t),this):this.tech_&&this.tech_.featuresPlaybackRate?this.techGet_("playbackRate"):1},s.prototype.isAudio=function(t){return void 0!==t?(this.isAudio_=!!t,this):!!this.isAudio_},s.prototype.networkState=function(){return this.techGet_("networkState")},s.prototype.readyState=function(){return this.techGet_("readyState")},s.prototype.videoTracks=function(){return this.tech_?this.tech_.videoTracks():(this.videoTracks_=this.videoTracks_||new j.default,this.videoTracks_)},s.prototype.audioTracks=function(){return this.tech_?this.tech_.audioTracks():(this.audioTracks_=this.audioTracks_||new S.default,this.audioTracks_)},s.prototype.textTracks=function(){return this.tech_&&this.tech_.textTracks()},s.prototype.remoteTextTracks=function(){return this.tech_&&this.tech_.remoteTextTracks()},s.prototype.remoteTextTrackEls=function(){return this.tech_&&this.tech_.remoteTextTrackEls()},s.prototype.addTextTrack=function(t,e,n){return this.tech_&&this.tech_.addTextTrack(t,e,n)},s.prototype.addRemoteTextTrack=function(t){return this.tech_&&this.tech_.addRemoteTextTrack(t)},s.prototype.removeRemoteTextTrack=function(){var t=(arguments.length<=0||void 0===arguments[0]?{}:arguments[0]).track;this.tech_&&this.tech_.removeRemoteTextTrack(void 0===t?arguments[0]:t)},s.prototype.videoWidth=function(){return this.tech_&&this.tech_.videoWidth&&this.tech_.videoWidth()||0},s.prototype.videoHeight=function(){return this.tech_&&this.tech_.videoHeight&&this.tech_.videoHeight()||0},s.prototype.language=function(t){return void 0===t?this.language_:(this.language_=(""+t).toLowerCase(),this)},s.prototype.languages=function(){return T.default(s.prototype.options_.languages,this.languages_)},s.prototype.toJSON=function(){var t=T.default(this.options_),e=t.tracks;t.tracks=[];for(var n=0;n<e.length;n++){var i=e[n];(i=T.default(i)).player=void 0,t.tracks[n]=i}return t},s.prototype.createModal=function(t,e){var n=this,i=((e=e||{}).content=t||"",new E.default(n,e));return n.addChild(i),i.on("dispose",function(){n.removeChild(i)}),i.open()},s.getTagSettings=function(t){var e,n={sources:[],tracks:[]},i=p.getElAttributes(t),r=i["data-setup"];if(null!==r&&(e=(r=x.default(r||"{}
1"))[0],r=r[1],e&&m.default.error(e),k.default(i,r)),k.default(n,i),t.hasChildNodes())for(var o=t.childNodes,s=0,a=o.length;s<a;s++){var l=o[s],c=l.nodeName.toLowerCase();"source"===c?n.sources.push(p.getElAttributes(l)):"track"===c&&n.tracks.push(p.getElAttributes(l))}return n},s})(a.default)),t=(s.players={},c.default.navigator);s.prototype.options_={techOrder:["html5","flash"],html5:{},flash:{},defaultVolume:0,inactivityTimeout:2e3,playbackRates:[],children:["mediaLoader","posterImage","textTrackDisplay","loadingSpinner","bigPlayButton","controlBar","errorDisplay","textTrackSettings"],language:o.default.getElementsByTagName("html")[0].getAttribute("lang")||t.languages&&t.languages[0]||t.userLanguage||t.language||"en",languages:{},notSupportedMessage:"No compatible source was found for this media."},s.prototype.handleLoadedMetaData_,s.prototype.handleLoadedData_,s.prototype.handleUserActive_,s.prototype.handleUserInactive_,s.prototype.handleTimeUpdate_,s.prototype.handleTechEnded_,s.prototype.handleVolumeChange_,s.prototype.handleError_,s.prototype.flexNotSupported_=function(){var t=o.default.createElement("i");return!("flexBasis"in t.style||"webkitFlexBasis"in t.style||"mozFlexBasis"in t.style||"msFlexBasis"in t.style||"msFlexOrder"in t.style)},a.default.registerComponent("Player",s),n.default=s,e.exports=n.default},{"./big-play-button.js":63,"./component.js":67,"./control-bar/control-bar.js":70,"./error-display.js":103,"./fullscreen-api.js":106,"./loading-spinner.js":107,"./media-error.js":108,"./modal-dialog":112,"./poster-image.js":117,"./tech/html5.js":122,"./tech/loader.js":123,"./tech/tech.js":124,"./tracks/audio-track-list.js":125,"./tracks/text-track-display.js":130,"./tracks/text-track-list-converter.js":131,"./tracks/text-track-settings.js":133,"./tracks/video-track-list.js":138,"./utils/browser.js":140,"./utils/buffer.js":141,"./utils/dom.js":143,"./utils/events.js":144,"./utils/fn.js":145,"./utils/guid.js":147,"./utils/log.js":148,"./utils/merge-options.js":149,"./utils/stylesheet.js":150,"./utils/time-ranges.js":151,"./utils/to-title-case.js":152,"global/document":1,"global/window":2,"object.assign":45,"safe-json-parse/tuple":54}],114:[function(t,e,n){n.__esModule=!0;var t=t("./player.js"),i=(t=t)&&t.__esModule?t:{default:t};n.default=function(t,e){i.default.prototype[t]=e},e.exports=n.default},{"./player.js":113}],115:[function(t,e,n){function i(t){if(!t||!t.__esModule){if(null!=t)for(var e in t)Object.prototype.hasOwnProperty.call(t,e)&&(e,t[e]);0}}function r(t){return t&&t.__esModule?t:{default:t}}n.__esModule=!0;var o=r(t("../clickable-component.js")),s=r(t("../component.js"));r(t("./popup.js"));i(t("../utils/dom.js"));var a=t("../utils/fn.js");i(a);r(t("../utils/to-title-case.js"));a=(r=>{function o(t){var e=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],n=this,i=o;if(!(n instanceof i))throw new TypeError("Cannot call a class as a function");r.call(this,t,e),this.update()}var t=o,e=r;if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);return t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e),o.prototype.update=function(){var t=this.createPopup();this.popup&&this.removeChild(this.popup),this.popup=t,this.addChild(t),this.items&&0===this.items.length?this.hide():this.items&&1<this.items.length&&this.show()},o.prototype.createPopup=function(){},o.prototype.createEl=function(){return r.prototype.createEl.call(this,"div",{className:this.buildCSSClass()})},o.prototype.buildCSSClass=function(){var t="vjs-menu-button";return"vjs-menu-button "+(t+=!0===this.options_.inline?"-inline":"-popup")+" "+r.prototype.buildCSSClass.call(this)},o})(o.default);s.default.registerComponent("PopupButton",a),n.default=a,e.exports=n.default},{"../clickable-component.js":65,"../component.js":67,"../utils/dom.js":143,"../utils/fn.js":145,"../utils/to-title-case.js":152,"./popup.js":116}],116:[function(t,e,n){function i(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}n.__esModule=!0;var r=t("../component.js"),r=(r=r)&&r.__esModule?r:{default:r},o=i(t("../utils/dom.js")),s=i(t("../utils/fn.js")),a=i(t("../utils/events.js")),t=(n=>{function i(){var t=this,e=i;if(!(t instanceof e))throw new TypeError("Cannot call a class as a function");n.apply(this,arguments)}var t=i,e=n;if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);return t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e),i.prototype.addItem=function(t){this.addChild(t),t.on("click",
1s.bind(this,function(){this.unlockShowing()}))},i.prototype.createEl=function(){var t=this.options_.contentElType||"ul",t=(this.contentEl_=o.createEl(t,{className:"vjs-menu-content"}),n.prototype.createEl.call(this,"div",{append:this.contentEl_,className:"vjs-menu"}));return t.appendChild(this.contentEl_),a.on(t,"click",function(t){t.preventDefault(),t.stopImmediatePropagation()}),t},i})(r.default);r.default.registerComponent("Popup",t),n.default=t,e.exports=n.default},{"../component.js":67,"../utils/dom.js":143,"../utils/events.js":144,"../utils/fn.js":145}],117:[function(t,e,n){function i(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}function r(t){return t&&t.__esModule?t:{default:t}}n.__esModule=!0;var o=r(t("./clickable-component.js")),s=r(t("./component.js")),a=i(t("./utils/fn.js")),l=i(t("./utils/dom.js")),c=i(t("./utils/browser.js")),t=(n=>{function i(t,e){if(!(this instanceof i))throw new TypeError("Cannot call a class as a function");n.call(this,t,e),this.update(),t.on("posterchange",a.bind(this,this.update))}var t=i,e=n;if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);return t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e),i.prototype.dispose=function(){this.player().off("posterchange",this.update),n.prototype.dispose.call(this)},i.prototype.createEl=function(){var t=l.createEl("div",{className:"vjs-poster",tabIndex:-1});return c.BACKGROUND_SIZE_SUPPORTED||(this.fallbackImg_=l.createEl("img"),t.appendChild(this.fallbackImg_)),t},i.prototype.update=function(){var t=this.player().poster();this.setSrc(t),t?this.show():this.hide()},i.prototype.setSrc=function(t){this.fallbackImg_?this.fallbackImg_.src=t:this.el_.style.backgroundImage=t?'url("'+t+'")':""},i.prototype.handleClick=function(){this.player_.paused()?this.player_.play():this.player_.pause()},i})(o.default);s.default.registerComponent("PosterImage",t),n.default=t,e.exports=n.default},{"./clickable-component.js":65,"./component.js":67,"./utils/browser.js":140,"./utils/dom.js":143,"./utils/fn.js":145}],118:[function(t,e,n){function i(t){return t&&t.__esModule?t:{default:t}}n.__esModule=!0;function s(t,e){e&&(c=e),setTimeout(o,t)}var r=(t=>{if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e})(t("./utils/events.js")),a=i(t("global/document")),t=i(t("global/window")),l=!1,
1c=void 0,o=function(){var t=a.default.getElementsByTagName("video"),e=a.default.getElementsByTagName("audio"),n=[];if(t&&0<t.length)for(var i=0,r=t.length;i<r;i++)n.push(t[i]);if(e&&0<e.length)for(i=0,r=e.length;i<r;i++)n.push(e[i]);if(n&&0<n.length)for(i=0,r=n.length;i<r;i++){var o=n[i];if(!o||!o.getAttribute){s(1);break}void 0===o.player&&null!==o.getAttribute("data-setup")&&c(o)}else l||s(1)};"complete"===a.default.readyState?l=!0:r.one(t.default,"load",function(){l=!0});n.autoSetup=o,n.autoSetupTimeout=s,n.hasLoaded=function(){return l}},{"./utils/events.js":144,"global/document":1,"global/window":2}],119:[function(t,e,n){function i(t){return t&&t.__esModule?t:{default:t}}n.__esModule=!0;var r=i(t("../component.js")),o=(t=>{if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e})(t("../utils/dom.js")),s=i(t("object.assign")),t=(i=>{function n(t,e){if(!(this instanceof n))throw new TypeError("Cannot call a class as a function");i.call(this,t,e),this.bar=this.getChild(this.options_.barName),this.vertical(!!this.options_.vertical),this.on("mousedown",this.handleMouseDown),this.on("touchstart",this.handleMouseDown),this.on("focus",this.handleFocus),this.on("blur",this.handleBlur),this.on("click",this.handleClick),this.on(t,"controlsvisible",this.update),this.on(t,this.playerEvent,this.update)}var t=n,e=i;if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);return t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e),n.prototype.createEl=function(t){var e=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],n=arguments.length<=2||void 0===arguments[2]?{}:arguments[2];return e.className=e.className+" vjs-slider",e=s.default({tabIndex:0},e),n=s.default({role:"slider","aria-valuenow":0,"aria-valuemin":0,"aria-valuemax":100,tabIndex:0},n),i.prototype.createEl.call(this,t,e,n)},n.prototype.handleMouseDown=function(t){var e=this.bar.el_.ownerDocument;t.preventDefault(),o.blockTextSelection(),this.addClass("vjs-sliding"),this.trigger("slideractive"),this.on(e,"mousemove",this.handleMouseMove),this.on(e,"mouseup",this.handleMouseUp),this.on(e,"touchmove",this.handleMouseMove),this.on(e,"touchend",this.handleMouseUp),this.handleMouseMove(t)},n.prototype.handleMouseMove=function(){},n.prototype.handleMouseUp=function(){var t=this.bar.el_.ownerDocument;o.unblockTextSelection(),this.removeClass("vjs-sliding"),this.trigger("sliderinactive"),this.off(t,"mousemove",this.handleMouseMove),this.off(t,"mouseup",this.handleMouseUp),this.off(t,"touchmove",this.handleMouseMove),this.off(t,"touchend",this.handleMouseUp),this.update()},n.prototype.update=function(){var t,e;this.el_&&(e=this.getPercent(),t=this.bar)&&(e=(100*(e="number"!=typeof e||e!=e||e<0||e===1/0?0:e)).toFixed(2)+"%",this.vertical()?t.el().style.height=e:t.el().style.width=e)},n.prototype.calculateDistance=function(t){t=o.getPointerPosition(this.el_,t);return this.vertical()?t.y:t.x},n.prototype.handleFocus=function(){this.on(this.bar.el_.ownerDocument,"keydown",this.handleKeyPress)},n.prototype.handleKeyPress=function(t){37===t.which||40===t.which?(t.preventDefault(),this.stepBack()):38!==t.which&&39!==t.which||(t.preventDefault(),this.stepForward())},n.prototype.handleBlur=function(){this.off(this.bar.el_.ownerDocument,"keydown",this.handleKeyPress)},n.prototype.handleClick=function(t){t.stopImmediatePropagation(),t.preventDefault()},n.prototype.vertical=function(t){return void 0===t?this.vertical_||!1:(this.vertical_=!!t,this.addClass(this.vertical_?"vjs-slider-vertical":"vjs-slider-horizontal"),this)},n})(r.default);r.default.registerComponent("Slider",t),n.default=t,e.exports=n.default},{"../component.js":67,"../utils/dom.js":143,"object.assign":45}],120:[function(t,e,n){n.__esModule=!0,n.default=function(n){return n.streamingFormats={"rtmp/mp4":"MP4","rtmp/flv":"FLV"},n.streamFromParts=function(t,e){return t+"&"+e},n.streamToParts=function(t){var e,n,i={connection:"",stream:""};return t&&(n=void 0,-1!==(e=t.search(/&(?!\w+=)/))?n=e+1:0===(e=n=t.lastIndexOf("/")+1)&&(e=n=t.length),i.connection=t.substring(0,e),i.stream=t.substring(n,t.length)),i},n.isStreamingType=function(t){return t in n.streamingFormats},n.RTMP_RE=/^rtmp[set]?:\/\//i,n.isStreamingSrc=function(t){return n.RTMP_RE.test(t)},n.rtmpSourceHandler={},n.rtmpSourceHandler.canPlayType=function(t){return n.isStreamingType(t)?"maybe":""},n.rtmpSourceHandler.canHandleSource=function(t){var e=n.rtmpSourceHandler.canPlayType(t.type);return e||(n.isStreamingSrc(t.src)?"maybe":"")},n.rtmpSourceHandler.handleSource=function(t,e){t=n.streamToParts(t.src);e.setRtmpConnection(t.connection),e.setRtmpStream(t.stream)},n.registerSourceHandler(n.rtmpSourceHandler),n},e.exports=n.default},{}],121:[function(t,e,n){function i(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}function r(t){return t&&t.__esModule?t:{default:t}}function o(t){g[t]=function(){return this.el_.vjs_getProperty(t)}}n.__esModule=!0;for(var s=r(t("./tech")),a=i(t("../utils/dom.js")),l=i(t("../utils/url.js")),c=t("../utils/time-ranges.js"),u=r(t("./flash-rtmp")),p=r(t("../component")),h=r(t("global/window")),d=r(t("object.assign")),f=h.default.navigator,m=(n=>
1{function r(t,e){if(!(this instanceof r))throw new TypeError("Cannot call a class as a function");n.call(this,t,e),t.source&&this.ready(function(){this.setSource(t.source)},!0),t.startTime&&this.ready(function(){this.load(),this.play(),this.currentTime(t.startTime)},!0),h.default.videojs=h.default.videojs||{},h.default.videojs.Flash=h.default.videojs.Flash||{},h.default.videojs.Flash.onReady=r.onReady,h.default.videojs.Flash.onEvent=r.onEvent,h.default.videojs.Flash.onError=r.onError,this.on("seeked",function(){this.lastSeekTarget_=void 0})}var t=r,e=n;if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);return t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e),r.prototype.createEl=function(){var t=this.options_,e=(t.swf||(t.swf="//vjs.zencdn.net/swf/5.0.1/video-js.swf"),t.techId),n=d.default({readyFunction:"videojs.Flash.onReady",eventProxyFunction:"videojs.Flash.onEvent",errorEventProxyFunction:"videojs.Flash.onError",autoplay:t.autoplay,preload:t.preload,loop:t.loop,muted:t.muted},t.flashVars),i=d.default({wmode:"opaque",bgcolor:"#000000"},t.params),e=d.default({id:e,name:e,class:"vjs-tech"},t.attributes);return this.el_=r.embed(t.swf,n,i,e),(this.el_.tech=this).el_},r.prototype.play=function(){this.ended()&&this.setCurrentTime(0),this.el_.vjs_play()},r.prototype.pause=function(){this.el_.vjs_pause()},r.prototype.src=function(t){return void 0===t?this.currentSrc():this.setSrc(t)},r.prototype.setSrc=function(t){var e;t=l.getAbsoluteURL(t),this.el_.vjs_src(t),this.autoplay()&&(e=this).setTimeout(function(){e.play()},0)},r.prototype.seeking=function(){return void 0!==this.lastSeekTarget_},r.prototype.setCurrentTime=function(t){var e=this.seekable();e.length&&(t=(t=t>e.start(0)?t:e.start(0))<e.end(e.length-1)?t:e.end(e.length-1),this.lastSeekTarget_=t,this.trigger("seeking"),this.el_.vjs_setProperty("currentTime",t),n.prototype.setCurrentTime.call(this))},r.prototype.currentTime=function(){return this.seeking()?this.lastSeekTarget_||0:this.el_.vjs_getProperty("currentTime")},r.prototype.currentSrc=function(){return this.currentSource_?this.currentSource_.src:this.el_.vjs_getProperty("currentSrc")},r.prototype.load=function(){this.el_.vjs_load()},r.prototype.poster=function(){this.el_.vjs_getProperty("poster")},r.prototype.setPoster=function(){},r.prototype.seekable=function(){var t=this.duration();return 0===t?c.createTimeRange():c.createTimeRange(0,t)},r.prototype.buffered=function(){var t=this.el_.vjs_getProperty("buffered");return 0===t.length?c.createTimeRange():c.createTimeRange(t[0][0],t[0][1])},r.prototype.supportsFullScreen=function(){return!1},r.prototype.enterFullScreen=function(){return!1},r})(s.default),g=m.prototype,v="rtmpConnection,rtmpStream,preload,defaultPlaybackRate,playbackRate,autoplay,loop,mediaGroup,controller,controls,volume,muted,defaultMuted".split(","),y="networkState,readyState,initialTime,duration,startOffsetTime,paused,ended,videoWidth,videoHeight".split(","),b=0;b<v.length;b++)o(v[b]),(e=>{var t=e.charAt(0).toUpperCase()+e.slice(1);g["set"+t]=function(t){return this.el_.vjs_setProperty(e,t)}})(v[b]);for(b=0;b<y.length;b++)o(y[b]);m.isSupported=function(){return 10<=m.version()[0]},s.default.withSourceHandlers(m),m.nativeSourceHandler={},m.nativeSourceHandler.canPlayType=function(t){return t in m.formats?"maybe":""},m.nativeSourceHandler.canHandleSource=function(t){t=t.type?t.type.replace(/;.*/,"").toLowerCase():(t=t.src,(t=l.getFileExtension(t))?"video/"+t:"");return m.nativeSourceHandler.canPlayType(t)},m.nativeSourceHandler.handleSource=function(t,e){e.setSrc(t.src)},m.nativeSourceHandler.dispose=function(){},m.registerSourceHandler(m.nativeSourceHandler),m.formats={"video/flv":"FLV","video/x-flv":"FLV","video/mp4":"MP4","video/m4v":"MP4"},m.onReady=function(t){t=a.getEl(t),t=t&&t.tech;t&&t.el()&&m.checkReady(t)},m.checkReady=function(t){t.el()&&(t.el().vjs_getProperty?t.triggerReady():this.setTimeout(function(){m.checkReady(t)},50))},m.onEvent=function(t,e){a.getEl(t).tech.trigger(e)},m.onError=function(t,e){t=a.getEl(t).tech;return"srcnotfound"===e?t.error(4):void t.error("FLASH: "+e)},m.version=function(){var e="0,0,0";try{e=new h.default.ActiveXObject("ShockwaveFlash.ShockwaveFlash").GetVariable("$version").replace(/\D+/g,",").match(/^,?(.+),?$/)[1]}catch(t){try{f.mimeTypes["application/x-shockwave-flash"].enabledPlugin&&(e=(f.plugins["Shockwave Flash 2.0"]||f.plugins["Shockwave Flash"]).description.replace(/\D+/g,",").match(/^,?(.+),?$/)[1])}catch(t){}}return e.split(",")},m.embed=function(t,e,n,i){t=m.getEmbedCode(t,e,n,i);return a.createEl("div",{innerHTML:t}).childNodes[0]},m.getEmbedCode=function(t,e,n,i){var r="",o="",s="";return e&&Object.getOwnPropertyNames(e).forEach(function(t){r+=t+"="+e[t]+"&"}),n=d.default({movie:t,flashvars:r,allowScriptAccess:"always",allowNetworking:"all"}
1,n),Object.getOwnPropertyNames(n).forEach(function(t){o+='<param name="'+t+'" value="'+n[t]+'" />'}),i=d.default({data:t,width:"100%",height:"100%"},i),Object.getOwnPropertyNames(i).forEach(function(t){s+=t+'="'+i[t]+'" '}),'<object type="application/x-shockwave-flash" '+s+">"+o+"</object>"},u.default(m),p.default.registerComponent("Flash",m),s.default.registerTech("Flash",m),n.default=m,e.exports=n.default},{"../component":67,"../utils/dom.js":143,"../utils/time-ranges.js":151,"../utils/url.js":153,"./flash-rtmp":120,"./tech":124,"global/window":2,"object.assign":45}],122:[function(t,e,n){function i(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}function r(t){return t&&t.__esModule?t:{default:t}}n.__esModule=!0;(o=["Text Tracks are being loaded from another origin but the crossorigin attribute isn't used. \n This may prevent text tracks from loading."]).raw=["Text Tracks are being loaded from another origin but the crossorigin attribute isn't used. \n This may prevent text tracks from loading."];var p=o,o=r(t("./tech.js")),s=r(t("../component")),a=i(t("../utils/dom.js")),h=i(t("../utils/url.js")),d=i(t("../utils/fn.js")),f=r(t("../utils/log.js")),m=r(t("tsml"));r(t("../../../src/js/tracks/text-track.js"));var o,g=i(t("../utils/browser.js")),l=r(t("global/document")),v=r(t("global/window")),y=r(t("object.assign")),b=r(t("../utils/merge-options.js")),_=r(t("../utils/to-title-case.js")),c=(c=>{function u(t,e){var n=this;if(!(this instanceof u))throw new TypeError("Cannot call a class as a function");c.call(this,t,e);var e=t.source,i=!1;if(e&&(this.el_.currentSrc!==e.src||t.tag&&3===t.tag.initNetworkState_)?this.setSource(e):this.handleLateInit_(this.el_),this.el_.hasChildNodes()){for(var r=this.el_.childNodes,o=r.length,s=[];o--;){var a=r[o];"track"===a.nodeName.toLowerCase()&&(this.featuresNativeTextTracks?(this.remoteTextTrackEls().addTrackElement_(a),this.remoteTextTracks().addTrack_(a.track),i||this.el_.hasAttribute("crossorigin")||!h.isCrossOrigin(a.src)||(i=!0)):s.push(a))}for(var l=0;l<s.length;l++)this.el_.removeChild(s[l])}["audio","video"].forEach(function(t){var e=_.default(t);n["featuresNative"+e+"Tracks"]&&(t=n.el()[t+"Tracks"])&&t.addEventListener&&(t.addEventListener("change",d.bind(n,n["handle"+e+"TrackChange_"])),t.addEventListener("addtrack",d.bind(n,n["handle"+e+"TrackAdd_"])),t.addEventListener("removetrack",d.bind(n,n["handle"+e+"TrackRemove_"])))}),this.featuresNativeTextTracks&&(i&&f.default.warn(m.default(p)),this.handleTextTrackChange_=d.bind(this,this.handleTextTrackChange),this.handleTextTrackAdd_=d.bind(this,this.handleTextTrackAdd),this.handleTextTrackRemove_=d.bind(this,this.handleTextTrackRemove),this.proxyNativeTextTracks_()),(g.TOUCH_ENABLED&&
1!0===t.nativeControlsForTouch||g.IS_IPHONE||g.IS_NATIVE_ANDROID)&&this.setControls(!0),this.triggerReady()}var t=u,e=c;if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);return t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e),u.prototype.dispose=function(){var n=this;["audio","video","text"].forEach(function(t){var e=_.default(t),t=n.el_[t+"Tracks"];t&&t.removeEventListener&&(t.removeEventListener("change",n["handle"+e+"TrackChange_"]),t.removeEventListener("addtrack",n["handle"+e+"TrackAdd_"]),t.removeEventListener("removetrack",n["handle"+e+"TrackRemove_"]))}),u.disposeMediaElement(this.el_),c.prototype.dispose.call(this)},u.prototype.createEl=function(){var t,e=this.options_.tag;e&&!1!==this.movingMediaElementInDOM||(e?(t=e.cloneNode(!0),e.parentNode.insertBefore(t,e),u.disposeMediaElement(e),e=t):(e=l.default.createElement("video"),t=this.options_.tag&&a.getElAttributes(this.options_.tag),t=b.default({}
1,t),g.TOUCH_ENABLED&&!0===this.options_.nativeControlsForTouch||delete t.controls,a.setElAttributes(e,y.default(t,{id:this.options_.techId,class:"vjs-tech"}))));for(var n=["autoplay","preload","loop","muted"],i=n.length-1;0<=i;i--){var r=n[i],o={};void 0!==this.options_[r]&&(o[r]=this.options_[r]),a.setElAttributes(e,o)}return e},u.prototype.handleLateInit_=function(t){var i=this;if(0!==t.networkState&&3!==t.networkState){if(0===t.readyState){var e=(()=>{function t(){n=!0}function e(){n||this.trigger("loadstart")}var n=!1;return i.on("loadstart",t),i.on("loadedmetadata",e),i.ready(function(){this.off("loadstart",t),this.off("loadedmetadata",e),n||this.trigger("loadstart")}),{v:void 0}})();if("object"==typeof e)return e.v}var n=["loadstart"];n.push("loadedmetadata"),2<=t.readyState&&n.push("loadeddata"),3<=t.readyState&&n.push("canplay"),4<=t.readyState&&n.push("canplaythrough"),this.ready(function(){n.forEach(function(t){this.trigger(t)},this)})}},u.prototype.proxyNativeTextTracks_=function(){var t=this.el().textTracks;if(t){for(var e=0;e<t.length;e++)this.textTracks().addTrack_(t[e]);t.addEventListener&&(t.addEventListener("change",this.handleTextTrackChange_),t.addEventListener("addtrack",this.handleTextTrackAdd_),t.addEventListener("removetrack",this.handleTextTrackRemove_))}},u.prototype.handleTextTrackChange=function(){var t=this.textTracks();this.textTracks().trigger({type:"change",target:t,currentTarget:t,srcElement:t})},u.prototype.handleTextTrackAdd=function(t){this.textTracks().addTrack_(t.track)},u.prototype.handleTextTrackRemove=function(t){this.textTracks().removeTrack_(t.track)},u.prototype.handleVideoTrackChange_=function(){var t=this.videoTracks();this.videoTracks().trigger({type:"change",target:t,currentTarget:t,srcElement:t})},u.prototype.handleVideoTrackAdd_=function(t){this.videoTracks().addTrack_(t.track)},u.prototype.handleVideoTrackRemove_=function(t){this.videoTracks().removeTrack_(t.track)},u.prototype.handleAudioTrackChange_=function(){var t=this.audioTracks();this.audioTracks().trigger({type:"change",target:t,currentTarget:t,srcElement:t})},u.prototype.handleAudioTrackAdd_=function(t){this.audioTracks().addTrack_(t.track)},u.prototype.handleAudioTrackRemove_=function(t){this.audioTracks().removeTrack_(t.track)},u.prototype.play=function(){this.el_.play()},u.prototype.pause=function(){this.el_.pause()},u.prototype.paused=function(){return this.el_.paused},u.prototype.currentTime=function(){return this.el_.currentTime},u.prototype.setCurrentTime=function(t){try{this.el_.currentTime=t}catch(t){f.default(t,"Video is not ready. (Video.js)")}},u.prototype.duration=function(){return this.el_.duration||0},u.prototype.buffered=function(){return this.el_.buffered},u.prototype.volume=function(){return this.el_.volume},u.prototype.setVolume=function(t){this.el_.volume=t},u.prototype.muted=function(){return this.el_.muted},u.prototype.setMuted=function(t){this.el_.muted=t},u.prototype.width=function(){return this.el_.offsetWidth},u.prototype.height=function(){return this.el_.offsetHeight},u.prototype.supportsFullScreen=function(){if("function"==typeof this.el_.webkitEnterFullScreen){var t=v.default.navigator.userAgent;if(/Android/.test(t)||!/Chrome|Mac OS X 10.5/.test(t))return!0}return!1},u.prototype.enterFullScreen=function(){var t=this.el_;"webkitDisplayingFullscreen"in t&&this.one("webkitbeginfullscreen",function(){this.one("webkitendfullscreen",function(){this.trigger("fullscreenchange",{isFullscreen:!1})}),this.trigger("fullscreenchange",{isFullscreen:!0})}),t.paused&&t.networkState<=t.HAVE_METADATA?(this.el_.play(),this.setTimeout(function(){t.pause(),t.webkitEnterFullScreen()},0)):t.webkitEnterFullScreen()},u.prototype.exitFullScreen=function(){this.el_.webkitExitFullScreen()},u.prototype.src=function(t){return void 0===t?this.el_.src:void this.setSrc(t)},u.prototype.setSrc=function(t){this.el_.src=t},u.prototype.load=function(){this.el_.load()},u.prototype.reset=function(){u.resetMediaElement(this.el_)},u.prototype.currentSrc=function(){return this.currentSource_?this.currentSource_.src:this.el_.currentSrc},u.prototype.poster=function(){return this.el_.poster},u.prototype.setPoster=function(t){this.el_.poster=t},u.prototype.preload=function(){return this.el_.preload},u.prototype.setPreload=function(t){this.el_.preload=t},u.prototype.autoplay=function(){return this.el_.autoplay},u.prototype.setAutoplay=function(t){this.el_.autoplay=t},u.prototype.controls=function(){return this.el_.controls},u.prototype.setControls=function(t){this.el_.controls=!!t},u.prototype.loop=function(){return this.el_.loop},u.prototype.setLoop=function(t){this.el_.loop=t},u.prototype.error=function(){return this.el_.error},u.prototype.seeking=function(){return this.el_.seeking},u.prototype.seekable=function(){return this.el_.seekable},u.prototype.ended=function(){return this.el_.ended},u.prototype.defaultMuted=function(){return this.el_.defaultMuted},u.prototype.playbackRate=function(){return this.el_.playbackRate},u.prototype.played=function(){return this.el_.played},u.prototype.setPlaybackRate=function(t){this.el_.playbackRate=t},u.prototype.networkState=function(){return this.el_.networkState},u.prototype.readyState=function(){return this.el_.readyState},u.prototype.videoWidth=function(){return this.el_.videoWidth},u.prototype.videoHeight=function(){return this.el_.videoHeight},u.prototype.textTracks=function(){return c.prototype.textTracks.call(this)},u.prototype.addTextTrack=function(t,e,n){return this.featuresNativeTextTracks?this.el_.addTextTrack(t,e,n):c.prototype.addTextTrack.call(this,t,e,n)},u.prototype.addRemoteTextTrack=function(){var t,e=arguments.length<=0||void 0===arguments[0]?{}:arguments[0];return this.featuresNativeTextTracks?(t=l.default.createElement("track"),e.kind&&(t.kind=e.kind),e.label&&(t.label=e.label),(e.language||e.srclang)&&(t.srclang=e.language||e.srclang),e.default&&(t.default=e.default),e.id&&(t.id=e.id),e.src&&(t.src=e.src),this.el().appendChild(t),this.remoteTextTrackEls().addTrackElement_(t),this.remoteTextTracks().addTrack_(t.track),t):c.prototype.addRemoteTextTrack.call(this,e)},u.prototype.removeRemoteTextTrack=function(t){if(!this.featuresNativeTextTracks)return c.prototype.removeRemoteTextTrack.call(this,t);var e,n=void 0,i=this.remoteTextTrackEls().getTrackElementByTrack_(t);for(this.remoteTextTrackEls().removeTrackElement_(i),this.remoteTextTracks().removeTrack_(t),n=(e=this.$$("track")).length;n--;)t!==e[n]&&t!==e[n].track||this.el().removeChild(e[n])},u})(o.default),t=(c.TEST_VID=l.default.createElement("video"),l.default.createElement("track")),u=(t.kind="captions",t.srclang="en",t.label="English",c.TEST_VID.appendChild(t),c.isSupported=function(){try{c.TEST_VID.volume=.5}catch(t){return!1}return!!c.TEST_VID.canPlayType},o.default.withSourceHandlers(c),c.nativeSourceHandler={},c.nativeSourceHandler.canPlayType=function(t){try{return c.TEST_VID.canPlayType(t)}catch(t){return""}},c.nativeSourceHandler.canHandleSource=function(t){return t.type?c.nativeSourceHandler.canPlayType(t.type):t.src?(t=h.getFileExtension(t.src),c.nativeSourceHandler.canPlayType("video/"+t)):""},c.nativeSourceHandler.handleSource=function(t,e){e.setSrc(t.src)},c.nativeSourceHandler.dispose=function(){}
1,c.registerSourceHandler(c.nativeSourceHandler),c.canControlVolume=function(){var t=c.TEST_VID.volume;return c.TEST_VID.volume=t/2+.1,t!==c.TEST_VID.volume},c.canControlPlaybackRate=function(){var t;return!(g.IS_ANDROID&&g.IS_CHROME||(t=c.TEST_VID.playbackRate,c.TEST_VID.playbackRate=t/2+.1,t===c.TEST_VID.playbackRate))},c.supportsNativeTextTracks=function(){var t=!!c.TEST_VID.textTracks;return t=!(t=(t=t&&0<c.TEST_VID.textTracks.length?"number"!=typeof c.TEST_VID.textTracks[0].mode:t)&&g.IS_FIREFOX?!1:t)||"onremovetrack"in c.TEST_VID.textTracks?t:!1},c.supportsNativeVideoTracks=function(){return!!c.TEST_VID.videoTracks},c.supportsNativeAudioTracks=function(){return!!c.TEST_VID.audioTracks},c.Events=["loadstart","suspend","abort","error","emptied","stalled","loadedmetadata","loadeddata","canplay","canplaythrough","playing","waiting","seeking","seeked","ended","durationchange","timeupdate","progress","play","pause","ratechange","volumechange"],c.prototype.featuresVolumeControl=c.canControlVolume(),c.prototype.featuresPlaybackRate=c.canControlPlaybackRate(),c.prototype.movingMediaElementInDOM=!g.IS_IOS,c.prototype.featuresFullscreenResize=!0,c.prototype.featuresProgressEvents=!0,c.prototype.featuresNativeTextTracks=c.supportsNativeTextTracks(),c.prototype.featuresNativeVideoTracks=c.supportsNativeVideoTracks(),c.prototype.featuresNativeAudioTracks=c.supportsNativeAudioTracks(),void 0),w=/^application\/(?:x-|vnd\.apple\.)mpegurl/i,x=/^video\/mp4/i;c.patchCanPlayType=function(){4<=g.ANDROID_VERSION&&(u=u||c.TEST_VID.constructor.prototype.canPlayType,c.TEST_VID.constructor.prototype.canPlayType=function(t){return t&&w.test(t)?"maybe":u.call(this,t)}),g.IS_OLD_ANDROID&&(u=u||c.TEST_VID.constructor.prototype.canPlayType,c.TEST_VID.constructor.prototype.canPlayType=function(t){return t&&x.test(t)?"maybe":u.call(this,t)})},c.unpatchCanPlayType=function(){var t=c.TEST_VID.constructor.prototype.canPlayType;return c.TEST_VID.constructor.prototype.canPlayType=u,u=null,t},c.patchCanPlayType(),c.disposeMediaElement=function(t){if(t){for(t.parentNode&&t.parentNode.removeChild(t);t.hasChildNodes();)t.removeChild(t.firstChild);if(t.removeAttribute("src"),"function"==typeof t.load)try{t.load()}catch(t){}}},c.resetMediaElement=function(t){if(t){for(var e=t.querySelectorAll("source"),n=e.length;n--;)t.removeChild(e[n]);if(t.removeAttribute("src"),"function"==typeof t.load)try{t.load()}catch(t){}}},s.default.registerComponent("Html5",c),o.default.registerTech("Html5",c),n.default=c,e.exports=n.default},{"../../../src/js/tracks/text-track.js":134,"../component":67,"../utils/browser.js":140,"../utils/dom.js":143,"../utils/fn.js":145,"../utils/log.js":148,"../utils/merge-options.js":149,"../utils/to-title-case.js":152,"../utils/url.js":153,"./tech.js":124,"global/document":1,"global/window":2,"object.assign":45,tsml:55}],123:[function(t,e,n){function i(t){return t&&t.__esModule?t:{default:t}}n.__esModule=!0;var c=i(t("../component.js")),u=i(t("./tech.js")),t=(i(t("global/window")),t("../utils/to-title-case.js")),p=i(t),t=(a=>{function l(t,e,n){if(!(this instanceof l))throw new TypeError("Cannot call a class as a function");if(a.call(this,t,e,n),e.playerOptions.sources&&0!==e.playerOptions.sources.length)t.src(e.playerOptions.sources);else for(var i=0,r=e.playerOptions.techOrder;i<r.length;i++){var o=p.default(r[i]),s=u.default.getTech(o);if((s=o?s:c.default.getComponent(o))&&s.isSupported()){t.loadTech_(o);break}}}var t=l,e=a;if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);return t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e),l})(c.default);c.default.registerComponent("MediaLoader",t),n.default=t,e.exports=n.default},{"../component.js":67,"../utils/to-title-case.js":152,"./tech.js":124,"global/window":2}],124:[function(t,e,n){function i(t){return t&&t.__esModule?t:{default:t}}n.__esModule=!0;var r=i(t("../component")),s=i(t("../tracks/html-track-element")),a=i(t("../tracks/html-track-element-list")),l=i(t("../utils/merge-options.js")),c=i(t("../tracks/text-track")),u=i(t("../tracks/text-track-list")),o=(i(t("../tracks/video-track")),t("../tracks/video-track-list")),p=i(o),h=i(t("../tracks/audio-track-list"));i(t("../tracks/audio-track"));var d=(t=>{if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e})(t("../utils/fn.js")),f=i(t("../utils/log.js")),m=t("../utils/time-ranges.js"),g=t("../utils/buffer.js"),v=i(t("../media-error.js")),y=i(t("global/window")),b=i(t("global/document")),o=(r=>{function o(){var t=arguments.length<=0||void 0===arguments[0]?{}:arguments[0],e=arguments.length<=1||void 0===arguments[1]?function(){}:arguments[1],n=this,i=o;if(!(n instanceof i))throw new TypeError("Cannot call a class as a function");t.reportTouchActivity=!1,r.call(this,null,t,e),this.hasStarted_=!1,this.on("playing",function(){this.hasStarted_=!0}),this.on("loadstart",function(){this.hasStarted_=!1}),this.textTracks_=t.textTracks,this.videoTracks_=t.videoTracks,this.audioTracks_=t.audioTracks,this.featuresProgressEvents||this.manualProgressOn(),this.featuresTimeupdateEvents||this.manualTimeUpdatesOn(),!1!==t.nativeCaptions&&!1!==t.nativeTextTracks||(this.featuresNativeTextTracks=!1),this.featuresNativeTextTracks||this.on("ready",this.emulateTextTracks),this.initTextTrackListeners(),this.initTrackListeners(),this.emitTapEvents()}var t=o,e=r;if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);return t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e),o.prototype.manualProgressOn=function(){this.on("durationchange",this.onDurationChange),this.manualProgress=!0,this.one("ready",this.trackProgress)},o.prototype.manualProgressOff=function(){this.manualProgress=!1,this.stopTrackingProgress(),this.off("durationchange",this.onDurationChange)},o.prototype.trackProgress=function(){this.stopTrackingProgress(),this.progressInterval=this.setInterval(d.bind(this,function(){var t=this.bufferedPercent();this.bufferedPercent_!==t&&this.trigger("progress"),1===(this.bufferedPercent_=t)&&this.stopTrackingProgress()}),500)},o.prototype.onDurationChange=function(){this.duration_=this.duration()},o.prototype.buffered=function(){return m.createTimeRange(0,0)},o.prototype.bufferedPercent=function(){return g.bufferedPercent(this.buffered(),this.duration_)},o.prototype.stopTrackingProgress=function(){this.clearInterval(this.progressInterval)},o.prototype.manualTimeUpdatesOn=function(){this.manualTimeUpdates=!0,this.on("play",this.trackCurrentTime),this.on("pause",this.stopTrackingCurrentTime)},o.prototype.manualTimeUpdatesOff=function(){this.manualTimeUpdates=!1,this.stopTrackingCurrentTime(),this.off("play",this.trackCurrentTime),this.off("pause",this.stopTrackingCurrentTime)},o.prototype.trackCurrentTime=function(){this.currentTimeInterval&&this.stopTrackingCurrentTime(),this.currentTimeInterval=this.setInterval(function(){this.trigger({type:"timeupdate",target:this,manuallyTriggered:!0})},250)},o.prototype.stopTrackingCurrentTime=function(){this.clearInterval(this.currentTimeInterval),this.trigger({type:"timeupdate",target:this,manuallyTriggered:!0})},o.prototype.dispose=function(){this.clearTracks(["audio","video","text"]),this.manualProgress&&this.manualProgressOff(),this.manualTimeUpdates&&this.manualTimeUpdatesOff(),r.prototype.dispose.call(this)},o.prototype.clearTracks=function(t){var r=this;
1(t=[].concat(t)).forEach(function(t){for(var e=r[t+"Tracks"]()||[],n=e.length;n--;){var i=e[n];"text"===t&&r.removeRemoteTextTrack(i),e.removeTrack_(i)}})},o.prototype.reset=function(){},o.prototype.error=function(t){return void 0!==t&&(this.error_=t instanceof v.default?t:new v.default(t),this.trigger("error")),this.error_},o.prototype.played=function(){return this.hasStarted_?m.createTimeRange(0,0):m.createTimeRange()},o.prototype.setCurrentTime=function(){this.manualTimeUpdates&&this.trigger({type:"timeupdate",target:this,manuallyTriggered:!0})},o.prototype.initTextTrackListeners=function(){var t=d.bind(this,function(){this.trigger("texttrackchange")}),e=this.textTracks();e&&(e.addEventListener("removetrack",t),e.addEventListener("addtrack",t),this.on("dispose",d.bind(this,function(){e.removeEventListener("removetrack",t),e.removeEventListener("addtrack",t)})))},o.prototype.initTrackListeners=function(){var i=this;["video","audio"].forEach(function(t){function e(){i.trigger(t+"trackchange")}var n=i[t+"Tracks"]();n.addEventListener("removetrack",e),n.addEventListener("addtrack",e),i.on("dispose",function(){n.removeEventListener("removetrack",e),n.removeEventListener("addtrack",e)})})},o.prototype.emulateTextTracks=function(){var n,t,e,i=this,r=this.textTracks();r&&(y.default.WebVTT||null==this.el().parentNode||((e=b.default.createElement("script")).src=i.options_["vtt.js"]||"https://cdn.rawgit.com/gkatsev/vtt.js/vjs-v0.12.1/dist/vtt.min.js",e.onload=function(){i.trigger("vttjsloaded")},e.onerror=function(){i.trigger("vttjserror")},i.on("dispose",function(){e.onload=null,e.onerror=null}),y.default.WebVTT=!0,i.el().parentNode.appendChild(e)),n=function(){return i.trigger("texttrackchange")},(t=function(){n();for(var t=0;t<r.length;t++){var e=r[t];e.removeEventListener("cuechange",n),"showing"===e.mode&&e.addEventListener("cuechange",n)}})(),r.addEventListener("change",t),this.on("dispose",function(){r.removeEventListener("change",t)}))},o.prototype.videoTracks=function(){return this.videoTracks_=this.videoTracks_||new p.default,this.videoTracks_},o.prototype.audioTracks=function(){return this.audioTracks_=this.audioTracks_||new h.default,this.audioTracks_},o.prototype.textTracks=function(){return this.textTracks_=this.textTracks_||new u.default,this.textTracks_},o.prototype.remoteTextTracks=function(){return this.remoteTextTracks_=this.remoteTextTracks_||new u.default,this.remoteTextTracks_},o.prototype.remoteTextTrackEls=function(){return this.remoteTextTrackEls_=this.remoteTextTrackEls_||new a.default,this.remoteTextTrackEls_},o.prototype.addTextTrack=function(t,e,n){if(t)return _(this,t,e,n);throw new Error("TextTrack kind is required but was not provided")},o.prototype.addRemoteTextTrack=function(t){t=l.default(t,{tech:this}),t=new s.default(t);return this.remoteTextTrackEls().addTrackElement_(t),this.remoteTextTracks().addTrack_(t.track),this.textTracks().addTrack_(t.track),t},o.prototype.removeRemoteTextTrack=function(t){this.textTracks().removeTrack_(t);var e=this.remoteTextTrackEls().getTrackElementByTrack_(t);this.remoteTextTrackEls().removeTrackElement_(e),this.remoteTextTracks().removeTrack_(t)},o.prototype.setPoster=function(){},o.prototype.canPlayType=function(){return""},o.isTech=function(t){return t.prototype instanceof o||t instanceof o||t===o},o.registerTech=function(t,e){if(o.techs_||(o.techs_={}),o.isTech(e))return o.techs_[t]=e;throw new Error("Tech "+t+" must be a Tech")},o.getTech=function(t){return o.techs_&&o.techs_[t]?o.techs_[t]:y.default&&y.default.videojs&&y.default.videojs[t]?(f.default.warn("The "+t+" tech was added to the videojs object when it should be registered using videojs.registerTech(name, tech)"),y.default.videojs[t]):void 0},o})(r.default),_=(o.prototype.textTracks_,o.prototype.audioTracks_,o.prototype.videoTracks_,function(t,e,n,i){var r=arguments.length<=4||void 0===arguments[4]?{}:arguments[4],o=t.textTracks(),e=(r.kind=e,n&&(r.label=n),i&&(r.language=i),r.tech=t,new c.default(r));return o.addTrack_(e),e});o.prototype.featuresVolumeControl=!0,o.prototype.featuresFullscreenResize=!1,o.prototype.featuresPlaybackRate=!1,o.prototype.featuresProgressEvents=!1,o.prototype.featuresTimeupdateEvents=!1,o.prototype.featuresNativeTextTracks=!1,o.withSourceHandlers=function(r){r.registerSourceHandler=function(t,e){var n=(n=r.sourceHandlers)||(r.sourceHandlers=[]);void 0===e&&(e=n.length),n.splice(e,0,t)},r.canPlayType=function(t){for(var e,n=r.sourceHandlers||[],i=0;i<n.length;i++)if(e=n[i].canPlayType(t))return e;return""},r.selectSourceHandler=function(t){for(var e=r.sourceHandlers||[],n=0;n<e.length;n++)if(e[n].canHandleSource(t))return e[n];return null},r.canPlaySource=function(t){var e=r.selectSourceHandler(t);return e?e.canHandleSource(t):""};["seekable","duration"].forEach(function(t){var e=this[t];"function"==typeof e&&(this[t]=function(){return this.sourceHandler_&&this.sourceHandler_[t]?this.sourceHandler_[t].apply(this.sourceHandler_,arguments):e.apply(this,arguments)})},r.prototype),r.prototype.setSource=function(t){var e=r.selectSourceHandler(t);return e||(r.nativeSourceHandler?e=r.nativeSourceHandler:f.default.error("No source hander found for the current source.")),this.disposeSourceHandler(),this.off("dispose",this.disposeSourceHandler),this.currentSource_&&this.clearTracks(["audio","video"]),e!==r.nativeSourceHandler&&(this.currentSource_=t,this.off(this.el_,"loadstart",r.prototype.firstLoadStartListener_),this.off(this.el_,"loadstart",r.prototype.successiveLoadStartListener_),this.one(this.el_,"loadstart",r.prototype.firstLoadStartListener_)),this.sourceHandler_=e.handleSource(t,this,this.options_),this.on("dispose",this.disposeSourceHandler),this},r.prototype.firstLoadStartListener_=function(){this.one(this.el_,"loadstart",r.prototype.successiveLoadStartListener_)},r.prototype.successiveLoadStartListener_=function(){this.currentSource_=null,this.disposeSourceHandler(),this.one(this.el_,"loadstart",r.prototype.successiveLoadStartListener_)},r.prototype.disposeSourceHandler=function(){this.sourceHandler_&&this.sourceHandler_.dispose&&(this.off(this.el_,"loadstart",r.prototype.firstLoadStartListener_),this.off(this.el_,"loadstart",r.prototype.successiveLoadStartListener_),this.sourceHandler_.dispose())}},r.default.registerComponent("Tech",o),r.default.registerComponent("MediaTechController",o),o.registerTech("Tech",o),n.default=o,e.exports=n.default},{"../component":67,"../media-error.js":108,"../tracks/audio-track":126,"../tracks/audio-track-list":125,"../tracks/html-track-element":128,"../tracks/html-track-element-list":127,"../tracks/text-track":134,"../tracks/text-track-list":132,"../tracks/video-track":139,"../tracks/video-track-list":138,"../utils/buffer.js":141,"../utils/fn.js":145,"../utils/log.js":148,"../utils/merge-options.js":149,"../utils/time-ranges.js":151,"global/document":1,"global/window":2}],125:[function(t,e,n){function i(t){return t&&t.__esModule?t:{default:t}}n.__esModule=!0;function l(t,e){for(var n=0;n<t.length;n++)e.id!==t[n].id&&(t[n].enabled=!1)}var c=i(t("./track-list")),u=(t=>{if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e})(t("../utils/browser.js")),p=i(t("global/document")),t=(s=>{function a(){var t=arguments.length<=0||void 0===arguments[0]?[]:arguments[0],e=this,n=a;if(!(e instanceof n))throw new TypeError("Cannot call a class as a function");for(var i=void 0,r=t.length-1;0<=r;r--)if(t[r].enabled){l(t,t[r]);break}if(u.IS_IE8){for(var o in i=p.default.createElement("custom"),c.default.prototype)"constructor"!==o&&(i[o]=c.default.prototype[o]);for(var o in a.prototype)"constructor"!==o&&(i[o]=a.prototype[o])}return(i=s.call(this,t,i)).changing_=!1,i}var t=a,e=s;if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);return t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e),a.prototype.addTrack_=function(t){var e=this;t.enabled&&l(this,t),s.prototype.addTrack_.call(this,t),t.addEventListener&&t.addEventListener("enabledchange",function(){e.changing_||(e.changing_=!0,l(e,t),e.changing_=!1,e.trigger("change"))})},a.prototype.addTrack=function(t){this.addTrack_(t)},a.prototype.removeTrack=function(t){s.prototype.removeTrack_.call(this,t)},a})(c.default);n.default=t,e.exports=n.default},{"../utils/browser.js":140,"./track-list":136,"global/document":1}],126:[function(t,e,n){function i(t){return t&&t.__esModule?t:{default:t}}n.__esModule=!0;
1var l=t("./track-enums"),r=i(t("./track")),c=i(t("../utils/merge-options")),u=(t=>{if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e})(t("../utils/browser.js")),t=(s=>{function a(){var t=arguments.length<=0||void 0===arguments[0]?{}:arguments[0],e=this,n=a;if(!(e instanceof n))throw new TypeError("Cannot call a class as a function");var e=c.default(t,{kind:l.AudioTrackKind[t.kind]||""}),i=s.call(this,e),r=!1;if(u.IS_IE8)for(var o in a.prototype)"constructor"!==o&&(i[o]=a.prototype[o]);return Object.defineProperty(i,"enabled",{get:function(){return r},set:function(t){"boolean"==typeof t&&t!==r&&(r=t,this.trigger("enabledchange"))}}),e.enabled&&(i.enabled=e.enabled),i.loaded_=!0,i}var t=a,e=s;if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);return t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e),a})(r.default);n.default=t,e.exports=n.default},{"../utils/browser.js":140,"../utils/merge-options":149,"./track":137,"./track-enums":135}],127:[function(t,e,n){n.__esModule=!0;var a=(t=>{if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e})(t("../utils/browser.js")),t=t("global/document"),l=(t=t)&&t.__esModule?t:{default:t};function c(){var t=arguments.length<=0||void 0===arguments[0]?[]:arguments[0],e=this,n=c;if(!(e instanceof n))throw new TypeError("Cannot call a class as a function");var i=this;if(a.IS_IE8)for(var r in i=l.default.createElement("custom"),c.prototype)"constructor"!==r&&(i[r]=c.prototype[r]);i.trackElements_=[],Object.defineProperty(i,"length",{get:function(){return this.trackElements_.length}});for(var o=0,s=t.length;o<s;o++)i.addTrackElement_(t[o]);return a.IS_IE8?i:void 0}c.prototype.addTrackElement_=function(t){this.trackElements_.push(t)},c.prototype.getTrackElementByTrack_=function(t){for(var e=void 0,n=0,i=this.trackElements_.length;n<i;n++)if(t===this.trackElements_[n].track){e=this.trackElements_[n];break}return e},c.prototype.removeTrackElement_=function(t){for(var e=0,n=this.trackElements_.length;e<n;e++)if(t===this.trackElements_[e]){this.trackElements_.splice(e,1);break}},n.default=c,e.exports=n.default},{"../utils/browser.js":140,"global/document":1}],128:[function(t,e,n){function i(t){return t&&t.__esModule?t:{default:t}}n.__esModule=!0;var c=(t=>{if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e})(t("../utils/browser.js")),u=i(t("global/document")),r=i(t("../event-target")),p=i(t("../tracks/text-track")),t=(a=>{function l(){var t=arguments.length<=0||void 0===arguments[0]?{}:arguments[0],e=this,n=l;if(!(e instanceof n))throw new TypeError("Cannot call a class as a function");a.call(this);var i=void 0,r=this;if(c.IS_IE8)for(var o in r=u.default.createElement("custom"),l.prototype)"constructor"!==o&&(r[o]=l.prototype[o]);var s=new p.default(t);return r.kind=s.kind,r.src=s.src,r.srclang=s.language,r.label=s.label,r.default=s.default,Object.defineProperty(r,"readyState",{get:function(){return i}}),Object.defineProperty(r,"track",{get:function(){return s}}),i=0,s.addEventListener("loadeddata",function(){i=2,r.trigger({type:"load",target:r})}),c.IS_IE8?r:void 0}var t=l,e=a;if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);return t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e),l})(r.default);t.prototype.allowedEvents_={load:"load"},t.NONE=0,t.LOADING=1,t.LOADED=2,t.ERROR=3,n.default=t,e.exports=n.default},{"../event-target":104,"../tracks/text-track":134,"../utils/browser.js":140,"global/document":1}],129:[function(t,e,n){n.__esModule=!0;var i=(t=>{if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e})(t("../utils/browser.js")),t=t("global/document"),r=(t=t)&&t.__esModule?t:{default:t};function o(t){if(!(this instanceof o))throw new TypeError("Cannot call a class as a function");var e=this;if(i.IS_IE8)for(var n in e=r.default.createElement("custom"),o.prototype)"constructor"!==n&&(e[n]=o.prototype[n]);return o.prototype.setCues_.call(e,t),Object.defineProperty(e,"length",{get:function(){return this.length_}}),i.IS_IE8?e:void 0}o.prototype.setCues_=function(t){function e(t){""+t in this||Object.defineProperty(this,""+t,{get:function(){return this.cues_[t]}})}var n=this.length||0,i=0,r=t.length;this.cues_=t,this.length_=t.length;if(n<r)for(i=n;i<r;i++)e.call(this,i)},o.prototype.getCueById=function(t){for(var e=null,n=0,i=this.length;n<i;n++){var r=this[n];if(r.id===t){e=r;break}}return e},n.default=o,e.exports=n.default},{"../utils/browser.js":140,"global/document":1}],130:[function(t,e,n){function i(t){return t&&t.__esModule?t:{default:t}}function a(t,e){return"rgba("+parseInt(t[1]+t[1],16)+","+parseInt(t[2]+t[2],16)+","+parseInt(t[3]+t[3],16)+","+e+")"}function l(t,e,n){try{t.style[e]=n}catch(t){}}n.__esModule=!0;var r=i(t("../component")),o=(i(t("../menu/menu.js")),t("../menu/menu-item.js")),o=(i(o),t("../menu/menu-button.js"));i(o);var c=(t=>{if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e})(t("../utils/fn.js")),o=(i(t("global/document")),t("global/window")),u=i(o),p={monospace:"monospace",sansSerif:"sans-serif",serif:"serif",monospaceSansSerif:'"Andale Mono", "Lucida Console", monospace',monospaceSerif:'"Courier New", monospace',proportionalSansSerif:"sans-serif",proportionalSerif:"serif",casual:'"Comic Sans MS", Impact, fantasy',
1script:'"Monotype Corsiva", cursive',smallcaps:'"Andale Mono", "Lucida Console", monospace, sans-serif'},t=(n=>{function i(a,t,e){if(!(this instanceof i))throw new TypeError("Cannot call a class as a function");n.call(this,a,t,e),a.on("loadstart",c.bind(this,this.toggleDisplay)),a.on("texttrackchange",c.bind(this,this.updateDisplay)),a.ready(c.bind(this,function(){if(a.tech_&&a.tech_.featuresNativeTextTracks)this.hide();else{a.on("fullscreenchange",c.bind(this,this.updateDisplay));for(var t=this.options_.playerOptions.tracks||[],e=0;e<t.length;e++){var n=t[e];this.player_.addRemoteTextTrack(n)}var i={captions:1,subtitles:1},r=this.player_.textTracks(),o=void 0,s=void 0;if(r){for(e=0;e<r.length;e++)(n=r[e]).default&&("descriptions"!==n.kind||o?n.kind in i&&!s&&(s=n):o=n);s?s.mode="showing":o&&(o.mode="showing")}}}))}var t=i,e=n;if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);return t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e),i.prototype.toggleDisplay=function(){this.player_.tech_&&this.player_.tech_.featuresNativeTextTracks?this.hide():this.show()},i.prototype.createEl=function(){return n.prototype.createEl.call(this,"div",{className:"vjs-text-track-display"},{"aria-live":"assertive","aria-atomic":"true"})},i.prototype.clearDisplay=function(){"function"==typeof u.default.WebVTT&&u.default.WebVTT.processCues(u.default,[],this.el_)},i.prototype.updateDisplay=function(){var t=this.player_.textTracks();if(this.clearDisplay(),t){for(var e=null,n=null,i=t.length;i--;){var r=t[i];"showing"===r.mode&&("descriptions"===r.kind?e=r:n=r)}n?this.updateForTrack(n):e&&this.updateForTrack(e)}},i.prototype.updateForTrack=function(t){if("function"==typeof u.default.WebVTT&&t.activeCues){for(var e=this.player_.textTrackSettings.getValues(),n=[],i=0;i<t.activeCues.length;i++)n.push(t.activeCues[i]);u.default.WebVTT.processCues(u.default,n,this.el_);for(var r=n.length;r--;){var o,s=n[r];s&&(s=s.displayState,e.color&&(s.firstChild.style.color=e.color),e.textOpacity&&l(s.firstChild,"color",a(e.color||"#fff",e.textOpacity)),e.backgroundColor&&(s.firstChild.style.backgroundColor=e.backgroundColor),e.backgroundOpacity&&l(s.firstChild,"backgroundColor",a(e.backgroundColor||"#000",e.backgroundOpacity)),e.windowColor&&(e.windowOpacity?l(s,"backgroundColor",a(e.windowColor,e.windowOpacity)):s.style.backgroundColor=e.windowColor),e.edgeStyle&&("dropshadow"===e.edgeStyle?s.firstChild.style.textShadow="2px 2px 3px #222, 2px 2px 4px #222, 2px 2px 5px #222":"raised"===e.edgeStyle?s.firstChild.style.textShadow="1px 1px #222, 2px 2px #222, 3px 3px #222":"depressed"===e.edgeStyle?s.firstChild.style.textShadow="1px 1px #ccc, 0 1px #ccc, -1px -1px #222, 0 -1px #222":"uniform"===e.edgeStyle&&(s.firstChild.style.textShadow="0 0 4px #222, 0 0 4px #222, 0 0 4px #222, 0 0 4px #222")),e.fontPercent&&1!==e.fontPercent&&(o=u.default.parseFloat(s.style.fontSize),s.style.fontSize=o*e.fontPercent+"px",s.style.height="auto",s.style.top="auto",s.style.bottom="2px"),e.fontFamily)&&"default"!==e.fontFamily&&("small-caps"===e.fontFamily?s.firstChild.style.fontVariant="small-caps":s.firstChild.style.fontFamily=p[e.fontFamily])}}},i})(r.default);r.default.registerComponent("TextTrackDisplay",t),n.default=t,e.exports=n.default},{"../component":67,"../menu/menu-button.js":109,"../menu/menu-item.js":110,"../menu/menu.js":111,"../utils/fn.js":145,"global/document":1,"global/window":2}],131:[function(t,e,n){n.__esModule=!0;function i(n){return["kind","label","language","id","inBandMetadataTrackDispatchType","mode","src"].reduce(function(t,e){return n[e]&&(t[e]=n[e]),t},{cues:n.cues&&Array.prototype.map.call(n.cues,function(t){return{startTime:t.startTime,endTime:t.endTime,text:t.text,id:t.id}})})}n.default={textTracksToJson:function(t){var e=t.$$("track"),n=Array.prototype.map.call(e,function(t){return t.track});return Array.prototype.map.call(e,function(t){var e=i(t.track);return t.src&&(e.src=t.src),e}).concat(Array.prototype.filter.call(t.textTracks(),function(t){return-1===n.indexOf(t)}).map(i))},jsonToTextTracks:function(t,n){return t.forEach(function(t){var e=n.addRemoteTextTrack(t).track;
1!t.src&&t.cues&&t.cues.forEach(function(t){return e.addCue(t)})}),n.textTracks()},trackToJson_:i},e.exports=n.default},{}],132:[function(t,e,n){function i(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}function r(t){return t&&t.__esModule?t:{default:t}}n.__esModule=!0;var a=r(t("./track-list")),l=i(t("../utils/fn.js")),c=i(t("../utils/browser.js")),u=r(t("global/document")),t=(o=>{function s(){var t=arguments.length<=0||void 0===arguments[0]?[]:arguments[0],e=this,n=s;if(!(e instanceof n))throw new TypeError("Cannot call a class as a function");var i=void 0;if(c.IS_IE8){for(var r in i=u.default.createElement("custom"),a.default.prototype)"constructor"!==r&&(i[r]=a.default.prototype[r]);for(var r in s.prototype)"constructor"!==r&&(i[r]=s.prototype[r])}return o.call(this,t,i)}var t=s,e=o;if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);return t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e),s.prototype.addTrack_=function(t){o.prototype.addTrack_.call(this,t),t.addEventListener("modechange",l.bind(this,function(){this.trigger("change")}))},s.prototype.removeTrack_=function(t){for(var e=void 0,n=0,i=this.length;n<i;n++)if(this[n]===t){(e=this[n]).off&&e.off(),this.tracks_.splice(n,1);break}e&&this.trigger({track:e,type:"removetrack"})},s.prototype.getTrackById=function(t){for(var e=null,n=0,i=this.length;n<i;n++){var r=this[n];if(r.id===t){e=r;break}}return e},s})(a.default);n.default=t,e.exports=n.default},{"../utils/browser.js":140,"../utils/fn.js":145,"./track-list":136,"global/document":1}],133:[function(t,e,n){function i(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}function r(t){return t&&t.__esModule?t:{default:t}}function c(t){var e=void 0;return t.selectedOptions?e=t.selectedOptions[0]:t.options&&(e=t.options[t.options.selectedIndex]),e.value}function o(t,e){if(e){for(var n=void 0,n=0;n<t.options.length;n++)if(t.options[n].value===e)break;t.selectedIndex=n}}n.__esModule=!0;var s=r(t("../component")),a=i(t("../utils/events.js")),l=i(t("../utils/fn.js")),u=r(t("../utils/log.js")),p=r(t("safe-json-parse/tuple")),h=r(t("global/window")),t=(n=>{function i(t,e){if(!(this instanceof i))throw new TypeError("Cannot call a class as a function");n.call(this,t,e),this.hide(),void 0===e.persistTextTrackSettings&&(this.options_.persistTextTrackSettings=this.options_.playerOptions.persistTextTrackSettings),a.on(this.$(".vjs-done-button"),"click",l.bind(this,function(){this.saveSettings(),this.hide()})),a.on(this.$(".vjs-default-button"),"click",l.bind(this,function(){this.$(".vjs-fg-color > select").selectedIndex=0,this.$(".vjs-bg-color > select").selectedIndex=0,this.$(".window-color > select").selectedIndex=0,this.$(".vjs-text-opacity > select").selectedIndex=0,this.$(".vjs-bg-opacity > select").selectedIndex=0,this.$(".vjs-window-opacity > select").selectedIndex=0,this.$(".vjs-edge-style select").selectedIndex=0,this.$(".vjs-font-family select").selectedIndex=0,this.$(".vjs-font-percent select").selectedIndex=2,this.updateDisplay()})),a.on(this.$(".vjs-fg-color > select"),"change",l.bind(this,this.updateDisplay)),a.on(this.$(".vjs-bg-color > select"),"change",l.bind(this,this.updateDisplay)),a.on(this.$(".window-color > select"),"change",l.bind(this,this.updateDisplay)),a.on(this.$(".vjs-text-opacity > select"),"change",l.bind(this,this.updateDisplay)),a.on(this.$(".vjs-bg-opacity > select"),"change",l.bind(this,this.updateDisplay)),a.on(this.$(".vjs-window-opacity > select"),"change",l.bind(this,this.updateDisplay)),a.on(this.$(".vjs-font-percent select"),"change",l.bind(this,this.updateDisplay)),a.on(this.$(".vjs-edge-style select"),"change",l.bind(this,this.updateDisplay)),a.on(this.$(".vjs-font-family select"),"change",l.bind(this,this.updateDisplay)),this.options_.persistTextTrackSettings&&this.restoreSettings()}var t=i,e=n;if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);return t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e),i.prototype.createEl=function(){return n.prototype.createEl.call(this,"div",{className:"vjs-caption-settings vjs-modal-overlay",innerHTML:'<div class="vjs-tracksettings">\n <div class="vjs-tracksettings-colors">\n <div class="vjs-fg-color vjs-tracksetting">\n <label class="vjs-label">Foreground</label>\n <select>\n <option value="">---</option>\n <option value="#FFF">White</option>\n <option value="#000">Black</option>\n <option value="#F00">Red</option>\n <option value="#0F0">Green</option>\n <option value="#00F">Blue</option>\n <option value="#FF0">Yellow</option>\n <option value="#F0F">Magenta</option>\n <option value="#0FF">Cyan</option>\n </select>
1\n <span class="vjs-text-opacity vjs-opacity">\n <select>\n <option value="">---</option>\n <option value="1">Opaque</option>\n <option value="0.5">Semi-Opaque</option>\n </select>\n </span>\n </div> \x3c!-- vjs-fg-color --\x3e\n <div class="vjs-bg-color vjs-tracksetting">\n <label class="vjs-label">Background</label>\n <select>\n <option value="">---</option>\n <option value="#FFF">White</option>\n <option value="#000">Black</option>\n <option value="#F00">Red</option>\n <option value="#0F0">Green</option>\n <option value="#00F">Blue</option>\n <option value="#FF0">Yellow</option>\n <option value="#F0F">Magenta</option>\n <option value="#0FF">Cyan</option>\n </select>\n <span class="vjs-bg-opacity vjs-opacity">\n <select>\n <option value="">---</option>\n <option value="1">Opaque</option>\n <option value="0.5">Semi-Transparent</option>\n <option value="0">Transparent</option>\n </select>\n </span>\n </div> \x3c!-- vjs-bg-color --\x3e\n <div class="window-color vjs-tracksetting">\n <label class="vjs-label">Window</label>\n <select>\n <option value="">---</option>\n <option value="#FFF">White</option>\n <option value="#000">Black</option>\n <option value="#F00">Red</option>\n <option value="#0F0">Green</option>\n <option value="#00F">Blue</option>\n <option value="#FF0">Yellow</option>\n <option value="#F0F">Magenta</option>\n <option value="#0FF">Cyan</option>\n </select>\n <span class="vjs-window-opacity vjs-opacity">\n <select>\n <option value="">---</option>\n <option value="1">Opaque</option>\n <option value="0.5">Semi-Transparent</option>\n <option value="0">Transparent</option>\n </select>\n </span>\n </div> \x3c!-- vjs-window-color --\x3e\n </div> \x3c!-- vjs-tracksettings --\x3e\n <div class="vjs-tracksettings-font">\n <div class="vjs-font-percent vjs-tracksetting">\n <label class="vjs-label">Font Size</label>\n <select>\n <option value="0.50">50%</option>\n <option value="0.75">75%</option>\n <option value="1.00" selected>100%</option>\n <option value="1.25">125%</option>\n <option value="1.50">150%</option>\n <option value="1.75">175%</option>\n <option value="2.00">200%</option>\n <option value="3.00">300%</option>\n <option value="4.00">400%</option>\n </select>\n </div> \x3c!-- vjs-font-percent --\x3e\n <div class="vjs-edge-style vjs-tracksetting">\n <label class="vjs-label">Text Edge Style</label>\n <select>\n <option value="none">None</option>\n <option value="raised">Raised</option>\n <option value="depressed">Depressed</option>\n <option value="uniform">Uniform</option>\n <option value="dropshadow">Dropshadow</option>\n </select>\n </div> \x3c!-- vjs-edge-style --\x3e\n <div class="vjs-font-family vjs-tracksetting">\n <label class="vjs-label">Font Family</label>\n <select>\n <option value="">Default</option>\n <option value="monospaceSerif">Monospace Serif</option>\n <option value="proportionalSerif">Proportional Serif</option>\n <option value="monospaceSansSerif">Monospace Sans-Serif</option>\n <option value="proportionalSansSerif">Proportional Sans-Serif</option>\n <option value="casual">Casual</option>\n <option value="script">Script</option>\n <option value="small-caps">Small Caps</option>\n </select>\n </div> \x3c!-- vjs-font-family --\x3e\n </div>\n </div>\n <div class="vjs-tracksettings-controls">\n <button class="vjs-default-button">Defaults</button>\n <button class="vjs-done-button">Done</button>\n </div>'})},i.prototype.getValues=function(){var t,e=c(this.$(".vjs-edge-style select")),n=c(this.$(".vjs-font-family select")),i=c(this.$(".vjs-fg-color > select")),r=c(this.$(".vjs-text-opacity > select")),o=c(this.$(".vjs-bg-color > select")),s=c(this.$(".vjs-bg-opacity > select")),a=c(this.$(".window-color > select")),l={backgroundOpacity:s,textOpacity:r,windowOpacity:c(this.$(".vjs-window-opacity > select")),edgeStyle:e,fontFamily:n,color:i,backgroundColor:o,windowColor:a,fontPercent:h.default.parseFloat(c(this.$(".vjs-font-percent > select")))};for(t in l)(""===l[t]||"none"===l[t]||"fontPercent"===t&&1===l[t])&&delete l[t];return l},i.prototype.setValues=function(t){o(this.$(".vjs-edge-style select"),t.edgeStyle),o(this.$(".vjs-font-family select"),t.fontFamily),o(this.$(".vjs-fg-color > select"),t.color),o(this.$(".vjs-text-opacity > select"),t.textOpacity),o(this.$(".vjs-bg-color > select"),t.backgroundColor),o(this.$(".vjs-bg-opacity > select"),t.backgroundOpacity),o(this.$(".window-color > select"),t.windowColor),o(this.$(".vjs-window-opacity > select"),t.windowOpacity);t=(t=t.fontPercent)&&t.toFixed(2);o(this.$(".vjs-font-percent > select"),t)},i.prototype.restoreSettings=function(){var t=void 0;try{var e=p.default(h.default.localStorage.getItem("vjs-text-track-settings")),n=e[0],t=e[1];n&&u.default.error(n)}catch(t){u.default.warn(t)}t&&this.setValues(t)},i.prototype.saveSettings=function(){if(this.options_.persistTextTrackSettings){var t=this.getValues();try{0<Object.getOwnPropertyNames(t).length?h.default.localStorage.setItem("vjs-text-track-settings",JSON.stringify(t)):h.default.localStorage.removeItem("vjs-text-track-settings")}catch(t){u.default.warn(t)}}},i.prototype.updateDisplay=function(){var t=this.player_.getChild("textTrackDisplay");t&&t.updateDisplay()},i})(s.default);s.default.registerComponent("TextTrackSettings",t),n.default=t,e.exports=n.default},{"../component":67,"../utils/events.js":144,"../utils/fn.js":145,"../utils/log.js":148,"global/window":2,"safe-json-parse/tuple":54}],134:[function(t,e,n){function i(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}function r(t){return t&&t.__esModule?t:{default:t}}n.__esModule=!0;function d(t,r){var e={uri:t};(t=l.isCrossOrigin(t))&&(e.cors=t),c.default(e,m.bind(this,function(t,e,n){return t?o.default.error(t,e):(r.loaded_=!0,void("function"!=typeof a.default.WebVTT?r.tech_&&(r.tech_.on("vttjsloaded",i),r.tech_.on("vttjserror",function(){o.default.error("vttjs failed to load, stopping trying to process "+r.src),r.tech_.off("vttjsloaded",i)}
1)):u(n,r)));function i(){return u(n,r)}}))}var f=r(t("./text-track-cue-list")),m=i(t("../utils/fn.js")),g=t("./track-enums"),o=r(t("../utils/log.js")),s=(r(t("global/document")),t("global/window")),a=r(s),s=r(t("./track.js")),l=t("../utils/url.js"),c=r(t("xhr")),v=r(t("../utils/merge-options")),y=i(t("../utils/browser.js")),u=function(t,e){var n=new a.default.WebVTT.Parser(a.default,a.default.vttjs,a.default.WebVTT.StringDecoder()),i=[];n.oncue=function(t){e.addCue(t)},n.onparsingerror=function(t){i.push(t)},n.onflush=function(){e.trigger({type:"loadeddata",target:e})},n.parse(t),0<i.length&&(console.groupCollapsed,i.forEach(function(t){return o.default.error(t)}),console.groupEnd),n.flush()},t=(p=>{function h(){var t=arguments.length<=0||void 0===arguments[0]?{}:arguments[0],e=this,n=h;if(!(e instanceof n))throw new TypeError("Cannot call a class as a function");if(!t.tech)throw new Error("A tech was not provided.");var e=v.default(t,{kind:g.TextTrackKind[t.kind]||"subtitles",language:t.language||t.srclang||""}),i=g.TextTrackMode[e.mode]||"disabled",r=e.default,o=("metadata"!==e.kind&&"chapters"!==e.kind||(i="hidden"),p.call(this,e));if(o.tech_=e.tech,y.IS_IE8)for(var s in h.prototype)"constructor"!==s&&(o[s]=h.prototype[s]);o.cues_=[],o.activeCues_=[];var a=new f.default(o.cues_),l=new f.default(o.activeCues_),c=!1,u=m.bind(o,function(){this.activeCues,c&&(this.trigger("cuechange"),c=!1)});return"disabled"!==i&&o.tech_.on("timeupdate",u),Object.defineProperty(o,"default",{get:function(){return r},set:function(){}}),Object.defineProperty(o,"mode",{get:function(){return i},set:function(t){g.TextTrackMode[t]&&("showing"===(i=t)&&this.tech_.on("timeupdate",u),this.trigger("modechange"))}}),Object.defineProperty(o,"cues",{get:function(){return this.loaded_?a:null},set:function(){}}),Object.defineProperty(o,"activeCues",{get:function(){if(!this.loaded_)return null;if(0!==this.cues.length){for(var t=this.tech_.currentTime(),e=[],n=0,i=this.cues.length;n<i;n++){var r=this.cues[n];(r.startTime<=t&&r.endTime>=t||r.startTime===r.endTime&&r.startTime<=t&&r.startTime+.5>=t)&&e.push(r)}if(c=!1,e.length!==this.activeCues_.length)c=!0;else for(n=0;n<e.length;n++)-1===this.activeCues_.indexOf(e[n])&&(c=!0);this.activeCues_=e,l.setCues_(this.activeCues_)}return l},set:function(){}}),e.src?(o.src=e.src,d(e.src,o)):o.loaded_=!0,o}var t=h,e=p;if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);return t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e),h.prototype.addCue=function(t){var e=this.tech_.textTracks();if(e)for(var n=0;n<e.length;n++)e[n]!==this&&e[n].removeCue(t);this.cues_.push(t),this.cues.setCues_(this.cues_)},h.prototype.removeCue=function(t){for(var e=!1,n=0,i=this.cues_.length;n<i;n++)this.cues_[n]===t&&(this.cues_.splice(n,1),e=!0);e&&this.cues.setCues_(this.cues_)},h})(s.default);t.prototype.allowedEvents_={cuechange:"cuechange"},n.default=t,e.exports=n.default},{"../utils/browser.js":140,"../utils/fn.js":145,"../utils/log.js":148,"../utils/merge-options":149,"../utils/url.js":153,"./text-track-cue-list":129,"./track-enums":135,"./track.js":137,"global/document":1,"global/window":2,xhr:56}],135:[function(t,e,n){n.__esModule=!0;n.default={VideoTrackKind:{alternative:"alternative",captions:"captions",main:"main",sign:"sign",subtitles:"subtitles",commentary:"commentary"},AudioTrackKind:{alternative:"alternative",descriptions:"descriptions",main:"main","main-desc":"main-desc",translation:"translation",commentary:"commentary"},TextTrackKind:{subtitles:"subtitles",captions:"captions",descriptions:"descriptions",chapters:"chapters",metadata:"metadata"},TextTrackMode:{disabled:"disabled",hidden:"hidden",showing:"showing"}},e.exports=n.default},{}],136:[function(t,e,n){function i(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}function r(t){return t&&t.__esModule?t:{default:t}}n.__esModule=!0;var o,s=r(t("../event-target")),a=(i(t("../utils/fn.js")),t("../utils/browser.js")),l=i(a),c=r(t("global/document")),u=(s=>{function a(){var t=arguments.length<=0||void 0===arguments[0]?[]:arguments[0],e=arguments.length<=1||void 0===arguments[1]?null:arguments[1],n=this,i=a;if(!(n instanceof i))throw new TypeError("Cannot call a class as a function");if(s.call(this),!e&&(e=this,l.IS_IE8))for(var r in e=c.default.createElement("custom"),a.prototype)"constructor"!==r&&(e[r]=a.prototype[r]);e.tracks_=[],Object.defineProperty(e,"length",{get:function(){return this.tracks_.length}});for(var o=0;o<t.length;o++)e.addTrack_(t[o]);return e}var t=a,e=s;if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);return t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e),a.prototype.addTrack_=function(t){var e=this.tracks_.length;""+e in this||Object.defineProperty(this,e,{get:function(){return this.tracks_[e]}}),-1===this.tracks_.indexOf(t)&&(this.tracks_.push(t),this.trigger({track:t,type:"addtrack"}))},a.prototype.removeTrack_=function(t){for(var e=void 0,n=0,i=this.length;n<i;n++)if(this[n]===t){(e=this[n]).off&&e.off(),this.tracks_.splice(n,1);break}e&&this.trigger({track:e,type:"removetrack"})},a.prototype.getTrackById=function(t){for(var e=null,n=0,i=this.length;n<i;n++){var r=this[n];if(r.id===t){e=r;break}}return e},a})(s.default);for(o in u.prototype.allowedEvents_={change:"change",addtrack:"addtrack",removetrack:"removetrack"},u.prototype.allowedEvents_)u.prototype["on"+o]=null;n.default=u,e.exports=n.default},{"../event-target":104,"../utils/browser.js":140,"../utils/fn.js":145,"global/document":1}],137:[function(t,e,n){function i(t){return t&&t.__esModule?t:{default:t}}function r(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}n.__esModule=!0;var c=r(t("../utils/browser.js")),u=i(t("global/document")),p=r(t("../utils/guid.js")),t=(a=>{function l(){var t=arguments.length<=0||void 0===arguments[0]?{}:arguments[0],e=this,n=l;if(!(e instanceof n))throw new TypeError("Cannot call a class as a function");a.call(this);var i=this;if(c.IS_IE8)for(var r in i=u.default.createElement("custom"),l.prototype)"constructor"!==r&&(i[r]=l.prototype[r]);var o,s={id:t.id||"vjs_track_"+p.newGUID(),kind:t.kind||"",label:t.label||"",language:t.language||""};for(o in s)(t=>{Object.defineProperty(i,t,{get:function(){return s[t]},set:function(){}})})(o);return i}var t=l,e=a;if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);return t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e),l})(i(t("../event-target")).default);n.default=t,e.exports=n.default},{"../event-target":104,"../utils/browser.js":140,"../utils/guid.js":147,"global/document":1}],138:[function(t,e,n){function i(t){return t&&t.__esModule?t:{default:t}}n.__esModule=!0;function l(t,e){for(var n=0;n<t.length;n++)e.id!==t[n].id&&(t[n].selected=!1)}var c=i(t("./track-list")),u=(t=>{if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e})(t("../utils/browser.js")),p=i(t("global/document")),t=(s=>{function a(){var t=arguments.length<=0||void 0===arguments[0]?[]:arguments[0],e=this,n=a;if(!(e instanceof n))throw new TypeError("Cannot call a class as a function");for(var i=void 0,r=t.length-1;0<=r;r--)if(t[r].selected){l(t,t[r]);break}if(u.IS_IE8){for(var o in i=p.default.createElement("custom"),c.default.prototype)"constructor"!==o&&(i[o]=c.default.prototype[o]);for(var o in a.prototype)"constructor"!==o&&(i[o]=a.prototype[o])}return(i=s.call(this,t,i)).changing_=!1,Object.defineProperty(i,"selectedIndex",{get:function(){for(var t=0;t<this.length;t++)if(this[t].selected)return t;return-1},set:function(){}}),i}var t=a,e=s;if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);return t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e),a.prototype.addTrack_=function(t){var e=this;t.selected&&l(this,t),s.prototype.addTrack_.call(this,t),t.addEventListener&&t.addEventListener("selectedchange",function(){e.changing_||(e.changing_=!0,l(e,t),e.changing_=!1,e.trigger("change"))})},a.prototype.addTrack=function(t){this.addTrack_(t)},a.prototype.removeTrack=function(t){s.prototype.removeTrack_.call(this,t)},a})(c.default);n.default=t,e.exports=n.default},{"../utils/browser.js":140,"./track-list":136,"global/document":1}],139:[function(t,e,n){function i(t){return t&&t.__esModule?t:{default:t}}n.__esModule=!0;
1var l=t("./track-enums"),r=i(t("./track")),c=i(t("../utils/merge-options")),u=(t=>{if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e})(t("../utils/browser.js")),t=(s=>{function a(){var t=arguments.length<=0||void 0===arguments[0]?{}:arguments[0],e=this,n=a;if(!(e instanceof n))throw new TypeError("Cannot call a class as a function");var e=c.default(t,{kind:l.VideoTrackKind[t.kind]||""}),i=s.call(this,e),r=!1;if(u.IS_IE8)for(var o in a.prototype)"constructor"!==o&&(i[o]=a.prototype[o]);return Object.defineProperty(i,"selected",{get:function(){return r},set:function(t){"boolean"==typeof t&&t!==r&&(r=t,this.trigger("selectedchange"))}}),e.selected&&(i.selected=e.selected),i}var t=a,e=s;if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);return t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e),a})(r.default);n.default=t,e.exports=n.default},{"../utils/browser.js":140,"../utils/merge-options":149,"./track":137,"./track-enums":135}],140:[function(t,e,n){function i(t){return t&&t.__esModule?t:{default:t}}n.__esModule=!0;var r=i(t("global/document")),t=i(t("global/window")),o=t.default.navigator.userAgent,s=/AppleWebKit\/([\d.]+)/i.exec(o),s=s?parseFloat(s.pop()):null,a=/iPad/i.test(o),l=(n.IS_IPAD=a,/iPhone/i.test(o)&&!a),c=(n.IS_IPHONE=l,/iPod/i.test(o)),l=(n.IS_IPOD=c,l||a||c),c=(n.IS_IOS=l,(a=o.match(/OS (\d+)_/i))&&a[1]?a[1]:void 0),l=(n.IOS_VERSION=c,/Android/i.test(o)),u=(n.IS_ANDROID=l,(a=o.match(/Android (\d+)(?:\.(\d+))?(?:\.(\d+))*/i))?(c=a[1]&&parseFloat(a[1]),u=a[2]&&parseFloat(a[2]),c&&u?parseFloat(a[1]+"."+a[2]):c||null):null),a=(n.ANDROID_VERSION=u,l&&/webkit/i.test(o)&&u<2.3),c=(n.IS_OLD_ANDROID=a,l&&u<5&&s<537),a=(n.IS_NATIVE_ANDROID=c,/Firefox/i.test(o)),l=(n.IS_FIREFOX=a,/Edge/i.test(o)),s=!(n.IS_EDGE=l)&&/Chrome/i.test(o),c=(n.IS_CHROME=s,/MSIE\s8\.0/.test(o)),a=(n.IS_IE8=c,!!("ontouchstart"in t.default||t.default.DocumentTouch&&r.default instanceof t.default.DocumentTouch)),l=(n.TOUCH_ENABLED=a,"backgroundSize"in r.default.createElement("video").style);n.BACKGROUND_SIZE_SUPPORTED=l},{"global/document":1,"global/window":2}],141:[function(t,e,n){n.__esModule=!0,n.bufferedPercent=function(t,e){var n,i,r=0;if(!e)return 0;t&&t.length||(t=s.createTimeRange(0,0));for(var o=0;o<t.length;o++)n=t.start(o),r+=(i=e<(i=t.end(o))?e:i)-n;return r/e};var s=t("./time-ranges.js")},{"./time-ranges.js":151}],142:[function(t,e,n){n.__esModule=!0;var t=t("./log.js"),r=(t=t)&&t.__esModule?t:{default:t},o={get:function(t,e){return t[e]},set:function(t,e,n){return t[e]=n,!0}};n.default=function(t){var e,n=arguments.length<=1||void 0===arguments[1]?{}:arguments[1];if("function"==typeof Proxy){e={},Object.keys(n).forEach(function(t){o.hasOwnProperty(t)&&(e[t]=function(){return r.default.warn(n[t]),o[t].apply(this,arguments)})});var i={v:new Proxy(t,e)};if("object"==typeof i)return i.v}return t},e.exports=n.default},{"./log.js":148}],143:[function(t,e,n){function i(t){return t&&t.__esModule?t:{default:t}}function r(t){return"string"==typeof t&&/\S/.test(t)}function o(t){if(/\s/.test(t))throw new Error("class has illegal whitespace characters")}function s(n){return function(t,e){return r(t)?(p(e=r(e)?v.default.querySelector(e):e)?e:v.default)[n](t):v.default[n](null)}}function a(t,e){return t.classList?t.classList.contains(e):(o(e),new RegExp("(^|\\s)"+e+"($|\\s)").test(t.className))}function l(t,e){return t.classList?t.classList.add(e):a(t,e)||(t.className=(t.className+" "+e).trim()),t}function c(t,e){return t.classList?t.classList.remove(e):(o(e),t.className=t.className.split(/\s+/).filter(function(t){return t!==e}).join(" ")),t}function u(t){var e,n,i,r=void 0;return(r=t.getBoundingClientRect&&t.parentNode?t.getBoundingClientRect():r)?(t=v.default.documentElement,i=v.default.body,n=t.clientLeft||i.clientLeft||0,e=y.default.pageXOffset||i.scrollLeft,e=r.left+e-n,n=t.clientTop||i.clientTop||0,t=y.default.pageYOffset||i.scrollTop,i=r.top+t-n,{left:Math.round(e),top:Math.round(i)}):{left:0,top:0}}function p(t){return!!t&&"object"==typeof t&&1===t.nodeType}function h(t){return!!t&&"object"==typeof t&&3===t.nodeType}function d(t){for(;t.firstChild;)t.removeChild(t.firstChild);return t}function f(t){return"function"==typeof t&&(t=t()),(Array.isArray(t)?t:[t]).map(function(t){return p(t="function"==typeof t?t():t)||h(t)?t:"string"==typeof t&&/\S/.test(t)?v.default.createTextNode(t):void 0}).filter(function(t){return t})}function m(e,t){return f(t).forEach(function(t){return e.appendChild(t)}),e}n.__esModule=!0,n.getEl=function(t){return 0===t.indexOf("#")&&(t=t.
1slice(1)),v.default.getElementById(t)},n.createEl=function(){var t=arguments.length<=0||void 0===arguments[0]?"div":arguments[0],n=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],e=arguments.length<=2||void 0===arguments[2]?{}:arguments[2],i=v.default.createElement(t);return Object.getOwnPropertyNames(n).forEach(function(t){var e=n[t];-1!==t.indexOf("aria-")||"role"===t||"type"===t?(_.default.warn(w.default(g,t,e)),i.setAttribute(t,e)):i[t]=e}),Object.getOwnPropertyNames(e).forEach(function(t){e[t],i.setAttribute(t,e[t])}),i},n.textContent=function(t,e){void 0===t.textContent?t.innerText=e:t.textContent=e},n.insertElFirst=function(t,e){e.firstChild?e.insertBefore(t,e.firstChild):e.appendChild(t)},n.getElData=function(t){var e=(e=t[k])||(t[k]=b.newGUID());return x[e]||(x[e]={}),x[e]},n.hasElData=function(t){return!!(t=t[k])&&!!Object.getOwnPropertyNames(x[t]).length},n.removeElData=function(e){var t=e[k];if(t){delete x[t];try{delete e[k]}catch(t){e.removeAttribute?e.removeAttribute(k):e[k]=null}}},n.hasElClass=a,n.addElClass=l,n.removeElClass=c,n.toggleElClass=function(t,e,n){var i=a(t,e);return(n="boolean"!=typeof(n="function"==typeof n?n(t,e):n)?!i:n)!==i?((n?l:c)(t,e),t):void 0},n.setElAttributes=function(n,i){Object.getOwnPropertyNames(i).forEach(function(t){var e=i[t];null==e||!1===e?n.removeAttribute(t):n.setAttribute(t,!0===e?"":e)})},n.getElAttributes=function(t){var e,n,i={};if(t&&t.attributes&&0<t.attributes.length)for(var r,o=(r=t.attributes).length-1;0<=o;o--)e=r[o].name,n=r[o].value,"boolean"!=typeof t[e]&&-1===",auto
1play,controls,loop,muted,default,".indexOf(","+e+",")||(n=null!==n),i[e]=n;return i},n.blockTextSelection=function(){v.default.body.focus(),v.default.onselectstart=function(){return!1}},n.unblockTextSelection=function(){v.default.onselectstart=function(){return!0}},n.findElPosition=u,n.getPointerPosition=function(t,e){var n={},i=u(t),r=t.offsetWidth,t=t.offsetHeight,o=i.top,i=i.left,s=e.pageY,a=e.pageX;return e.changedTouches&&(a=e.changedTouches[0].pageX,s=e.changedTouches[0].pageY),n.y=Math.max(0,Math.min(1,(o-s+t)/t)),n.x=Math.max(0,Math.min(1,(a-i)/r)),n},n.isEl=p,n.isTextNode=h,n.emptyEl=d,n.normalizeContent=f,n.appendContent=m,n.insertContent=function(t,e){return m(d(t),e)};(T=["Setting attributes in the second argument of createEl()\n has been deprecated. Use the third argument instead.\n createEl(type, properties, attributes). Attempting to set "," to ","."]).raw=["Setting attributes in the second argument of createEl()\n has been deprecated. Use the third argument instead.\n createEl(type, properties, attributes). Attempting to set "," to ","."];var g=T,v=i(t("global/document")),y=i(t("global/window")),b=(t=>{if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e})(t("./guid.js")),_=i(t("./log.js")),w=i(t("tsml")),x={},k="vdata"+(new Date).getTime(),T=s("querySelector"),t=(n.$=T,s("querySelectorAll"));n.$$=t},{"./guid.js":147,"./log.js":148,"global/document":1,"global/window":2,tsml:55}],144:[function(t,e,n){function i(t){return t&&t.__esModule?t:{default:t}}function r(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}function o(s,t,e){if(Array.isArray(t))return p(o,s,t,e);var a=h.getElData(s);a.handlers||(a.handlers={}),a.handlers[t]||(a.handlers[t]=[]),e.guid||(e.guid=d.newGUID()),a.handlers[t].push(e),a.dispatcher||(a.disabled=!1,a.dispatcher=function(t,e){if(!a.disabled){t=c(t);var n=a.handlers[t.type];if(n)for(var i=n.slice(0),r=0,o=i.length;r<o&&!t.isImmediatePropagationStopped();r++)i[r].call(s,t,e)}}),1===a.handlers[t].length&&(s.addEventListener?s.addEventListener(t,a.dispatcher,!1):s.attachEvent&&s.attachEvent("on"+t,a.dispatcher))}function l(e,t,n){if(h.hasElData(e)){var i=h.getElData(e);if(i.handlers){if(Array.isArray(t))return p(l,e,t,n);var r=function(t){i.handlers[t]=[],u(e,t)};if(t){var o=i.handlers[t];if(o)if(n){if(n.guid)for(var s=0;s<o.length;s++)o[s].guid===n.guid&&o.splice(s--,1);u(e,t)}else r(t)}else for(var a in i.handlers)r(a)}}}function s(t,e,n){var i=h.hasElData(t)?h.getElData(t):{},r=t.parentNode||t.ownerDocument;return e=c(e="string"==typeof e?{type:e,target:t}:e),i.dispatcher&&i.dispatcher.call(t,e,n),r&&!e.isPropagationStopped()&&!0===e.bubbles?s.call(null,r,e,n):r||e.defaultPrevented||(i=h.getElData(e.target),e.target[e.type]&&(i.disabled=!0,"function"==typeof e.target[e.type]&&e.target[e.type](),i.disabled=!1)),!e.defaultPrevented}function c(t){function e(){return!0}function n(){return!1}if(!t||!t.isPropagationStopped){var i,r,o,s=t||a.default.event;for(i in t={},s)"layerX"===i||"layerY"===i||"keyLocation"===i||"webkitMovementX"===i||"webkitMovementY"===i||"returnValue"===i&&s.preventDefault||(t[i]=s[i]);t.target||(t.target=t.srcElement||f.default),t.relatedTarget||(t.relatedTarget=t.fromElement===t.target?t.toElement:t.fromElement),t.preventDefault=function(){s.preventDefault&&s.preventDefault(),t.returnValue=!1,s.returnValue=!1,t.defaultPrevented=!0},t.defaultPrevented=!1,t.stopPropagation=function(){s.stopPropagation&&s.stopPropagation(),t.cancelBubble=!0,s.cancelBubble=!0,t.isPropagationStopped=e},t.isPropagationStopped=n,t.stopImmediatePropagation=function(){s.stopImmediatePropagation&&s.stopImmediatePropagation(),t.isImmediatePropagationStopped=e,t.stopPropagation()},t.isImmediatePropagationStopped=n,null!=t.clientX&&(r=f.default.documentElement,o=f.default.body,t.pageX=t.clientX+(r&&r.scrollLeft||o&&o.scrollLeft||0)-(r&&r.clientLeft||o&&o.clientLeft||0),t.pageY=t.clientY+(r&&r.scrollTop||o&&o.scrollTop||0)-(r&&r.clientTop||o&&o.clientTop||0)),t.which=t.charCode||t.keyCode,null!=t.button&&(t.button=1&t.button?0:4&t.button?1:2&t.button?2:0)}return t}function u(t,e){var n=h.getElData(t);0===n.handlers[e].length&&(delete n.handlers[e],t.removeEventListener?t.removeEventListener(e,n.dispatcher,!1):t.detachEvent&&t.detachEvent("on"+e,n.dispatcher)),Object.getOwnPropertyNames(n.handlers).length<=0&&(delete n.handlers,delete n.dispatcher,delete n.disabled),0===Object.getOwnPropertyNames(n).length&&h.removeElData(t)}function p(e,n,t,i){t.forEach(function(t){e(n,t,i)})}n.__esModule=!0,n.on=o,n.off=l,n.trigger=s,n.one=function t(e,n,i){if(Array.isArray(n))return p(t,e,n,i);function r(){l(e,n,r),i.apply(this,arguments)}r.guid=i.guid=i.guid||d.newGUID(),o(e,n,r)},n.fixEvent=c;var h=r(t("./dom.js")),d=r(t("./guid.js")),a=i(t("global/window")),f=i(t("global/document"))},{"./dom.js":143,"./guid.js":147,"global/document":1,"global/window":2}],145:[function(t,e,n){n.__esModule=!0;var r=t("./guid.js");n.bind=function(t,e,n){e.guid||(e.guid=r.newGUID());function i(){return e.apply(t,arguments)}return i.guid=n?n+"_"+e.guid:e.guid,i}},{"./guid.js":147}],146:[function(t,e,n){n.__esModule=!0,n.default=function(t){var e,n,i,r,o=arguments.length<=1||void 0===arguments[1]?t:arguments[1];return t=t<0?0:t,e=Math.floor(t%60),n=Math.floor(t/60%60),i=Math.floor(t/3600),r=M
1ath.floor(o/60%60),o=Math.floor(o/3600),(i=0<(i=!isNaN(t)&&t!==1/0?i:n=e="-")||0<o?i+":":"")+(n=((i||10<=r)&&n<10?"0"+n:n)+":")+(e=e<10?"0"+e:e)},e.exports=n.default},{}],147:[function(t,e,n){n.__esModule=!0,n.newGUID=function(){return i++};var i=1},{}],148:[function(t,e,n){function i(t,e){function n(){}var e=Array.prototype.slice.call(e),i=r.default.console||{log:n,warn:n,error:n};t?e.unshift(t.toUpperCase()+":"):t="log",o.history.push(e),e.unshift("VIDEOJS:"),i[t].apply?i[t].apply(i,e):i[t](e.join(" "))}n.__esModule=!0;var t=t("global/window"),r=(t=t)&&t.__esModule?t:{default:t},o=function(){i(null,arguments)};o.history=[],o.error=function(){i("error",arguments)},o.warn=function(){i("warn",arguments)},n.default=o,e.exports=n.default},{"global/window":2}],149:[function(t,e,n){function i(t){return t&&"object"==typeof t&&"[object Object]"===t.toString()&&t.constructor===Object}function r(){var t=Array.prototype.slice.call(arguments);return t.unshift({}),t.push(s),o.default.apply(null,t),t[0]}n.__esModule=!0,n.default=r;var t=t("lodash-compat/object/merge"),o=(t=t)&&t.__esModule?t:{default:t},s=function(t,e){return i(e)?i(t)?void 0:r(e):e};e.exports=n.default},{"lodash-compat/object/merge":40}],150:[function(t,e,n){n.__esModule=!0;var t=t("global/document"),i=(t=t)&&t.__esModule?t:{default:t};n.createStyleElement=function(t){var e=i.default.createElement("style");return e.className=t,e};n.setTextContent=function(t,e){t.styleSheet?t.styleSheet.cssText=e:t.textContent=e}},{"global/document":1}],151:[function(t,e,n){function i(t,e){return Array.isArray(t)?r(t):void 0===t||void 0===e?r():r([[t,e]])}function r(t){return void 0===t||0===t.length?{length:0,start:function(){throw new Error("This TimeRanges object is empty")},end:function(){throw new Error("This TimeRanges object is empty")}}:{length:t.length,start:o.bind(null,"start",0,t),end:o.bind(null,"end",1,t)}}function o(t,e,n,i){void 0===i&&(s.default.warn("DEPRECATED: Function '"+t+"' on 'TimeRanges' called without an index argument."),i=0);var r=i,o=n.length-1;if(r<0||o<r)throw new Error("Failed to execute '"+t+"' on 'TimeRanges': The index provided ("+r+") is greater than or equal to the maximum bound ("+o+").");return n[i][e]}n.__esModule=!0,n.createTimeRanges=i;var t=t("./log.js"),s=(t=t)&&t.__esModule?t:{default:t};n.createTimeRange=i},{"./log.js":148}],152:[function(t,e,n){n.__esModule=!0,n.default=function(t){return t.charAt(0).toUpperCase()+t.slice(1)},e.exports=n.default},{}],153:[function(t,e,n){function i(t){return t&&t.__esModule?t:{default:t}}n.__esModule=!0;function r(t){var e=["protocol","hostname","port","pathname","search","hash","host"],n=a.default.createElement("a"),i=(n.href=t,""===n.host&&"file:"!==n.protocol),r=void 0;i&&((r=a.default.createElement("div")).innerHTML='<a href="'+t+'"></a>',n=r.firstChild,r.setAttribute("style","display:none; position:absolute;"),a.default.body.appendChild(r));for(var o={},s=0;s<e.length;s++)o[e[s]]=n[e[s]];return"http:"===o.protocol&&(o.host=o.host.replace(/:80$/,"")),"https:"===o.protocol&&(o.host=o.host.replace(/:443$/,"")),i&&a.default.body.removeChild(r),o}var a=i(t("global/document")),o=i(t("global/window"));n.parseUrl=r,n.getAbsoluteURL=function(t){var e;return t.match(/^https?:\/\//)||((e=a.default.createElement("div")).innerHTML='<a href="'+t+'">x</a>',t=e.firstChild.href),t},n.getFileExtension=function(t){if("string"==typeof t){t=/^(\/?)([\s\S]*?)((?:\.{1,2}|[^\/]+?)(\.([^\.\/\?]+)))(?:[\/]*|[\?].*)$/i.exec(t);if(t)return t.pop().toLowerCase()}return""};n.isCrossOrigin=function(t){var e=o.default.location,t=r(t);return(":"===t.protocol?e:t).protocol+t.host!==e.protocol+e.host}},{"global/document":1,"global/window":2}],154:[function(t,e,n){function i(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}function r(t){return t&&t.__esModule?t:{default:t}}n.__esModule=!0;function o(t,e,n){var i=void 0;if("string"==typeof t){if(0===t.indexOf("#")&&(t=t.slice(1)),o.getPlayers()[t])return e&&x.default.warn('Player "'+t+'" is already initialised. Options will not be applied.'),n&&o.getPlayers()[t].ready(n),o.getPlayers()[t];i=k.getEl(t)}else i=t;if(i&&i.nodeName)return i.player||d.default.players[i.playerId]||new d.default(i,e,n);
1throw new TypeError("The element or ID supplied is not valid. (videojs)")}var s=r(t("global/window")),a=r(t("global/document")),l=i(t("./setup")),c=i(t("./utils/stylesheet.js")),u=r(t("./component")),p=r(t("./event-target")),h=i(t("./utils/events.js")),d=r(t("./player")),f=r(t("./plugins.js")),m=r(t("../../src/js/utils/merge-options.js")),g=i(t("./utils/fn.js")),v=r(t("./tracks/text-track.js")),y=r(t("./tracks/audio-track.js")),b=r(t("./tracks/video-track.js")),_=(r(t("object.assign")),t("./utils/time-ranges.js")),w=r(t("./utils/format-time.js")),x=r(t("./utils/log.js")),k=i(t("./utils/dom.js")),T=i(t("./utils/browser.js")),C=i(t("./utils/url.js")),S=r(t("./extend.js")),j=r(t("lodash-compat/object/merge")),E=r(t("./utils/create-deprecation-proxy.js")),O=r(t("xhr")),P=r(t("./tech/tech.js")),t=(r(t("./tech/html5.js")),t("./tech/flash.js"));r(t),"undefined"==typeof HTMLVideoElement&&(a.default.createElement("video"),a.default.createElement("audio"),a.default.createElement("track"));!0===s.default.VIDEOJS_NO_DYNAMIC_STYLE||(t=k.$(".vjs-styles-defaults"))||(t=c.createStyleElement("vjs-styles-defaults"),(a=k.$("head")).insertBefore(t,a.firstChild),c.setTextContent(t,"\n .video-js {\n width: 300px;\n height: 150px;\n }\n\n .vjs-fluid {\n padding-top: 56.25%\n }\n ")),l.autoSetupTimeout(1,o),o.VERSION="5.10.1",o.options=d.default.prototype.options_,o.getPlayers=function(){return d.default.players},o.players=E.default(d.default.players,{get:"Access to videojs.players is deprecated; use videojs.getPlayers instead",set:"Modification of videojs.players is deprecated"}),o.getComponent=u.default.getComponent,o.registerComponent=function(t,e){P.default.isTech(e)&&x.default.warn("The "+t+" tech was registered as a component. It should instead be registered using videojs.registerTech(name, tech)"),u.default.registerComponent.call(u.default,t,e)},o.getTech=P.default.getTech,o.registerTech=P.default.registerTech,o.browser=T,o.TOUCH_ENABLED=T.TOUCH_ENABLED,o.extend=S.default,o.mergeOptions=m.default,o.bind=g.bind,o.plugin=f.default,o.addLanguage=function(t,e){var n;return t=(""+t).toLowerCase(),j.default(o.options.languages,((n={})[t]=e,n))[t]},o.log=x.default,o.createTimeRange=o.createTimeRanges=_.createTimeRanges,o.formatTime=w.default,o.parseUrl=C.parseUrl,o.isCrossOrigin=C.isCrossOrigin,o.EventTarget=p.default,o.on=h.on,o.one=h.one,o.off=h.off,o.trigger=h.trigger,o.xhr=O.default,o.TextTrack=v.default,o.AudioTrack=y.default,o.VideoTrack=b.default,o.isEl=k.isEl,o.isTextNode=k.isTextNode,o.createEl=k.createEl,o.hasClass=k.hasElClass,o.addClass=k.addElClass,o.removeClass=k.removeElClass,o.toggleClass=k.toggleElClass,o.setAttributes=k.setElAttributes,o.getAttributes=k.getElAttributes,o.emptyEl=k.emptyEl,o.appendContent=k.appendContent,o.insertContent=k.insertContent,"object"==typeof n&&"object"==typeof e&&(e.exports=o),n.default=o,e.exports=n.default},{"../../src/js/utils/merge-options.js":149,"./component":67,"./event-target":104,"./extend.js":105,"./player":113,"./plugins.js":114,"./setup":118,"./tech/flash.js":121,"./tech/html5.js":122,"./tech/tech.js":124,"./tracks/audio-track.js":126,"./tracks/text-track.js":134,"./tracks/video-track.js":139,"./utils/browser.js":140,"./utils/create-deprecation-proxy.js":142,"./utils/dom.js":143,"./utils/events.js":144,"./utils/fn.js":145,"./utils/format-time.js":146,"./utils/log.js":148,"./utils/stylesheet.js":150,"./utils/time-ranges.js":151,"./utils/url.js":153,"global/document":1,"global/window":2,"lodash-compat/object/merge":40,"object.assign":45,xhr:56}]},{},[154])(154)}),(t=>{var e=t.vttjs={},n=e.VTTCue,i=e.VTTRegion,r=t.VTTCue,o=t.VTTRegion;e.shim=function(){e.VTTCue=n,e.VTTRegion=i},e.restore=function(){e.VTTCue=r,e.VTTRegion=o}})(this),((t,e)=>{function _(t){return"string"==typeof t&&!!i[t.toLowerCase()]&&t.toLowerCase()}function w(t){for(var e=1;e<arguments.length;e++){var n,i=arguments[e];for(n in i)t[n]=i[n]}return t}function n(t,e,n){var i=this,r=/MSIE\s8\.0/.test(navigator.userAgent),o={},s=(r?i=document.createElement("custom"):o.enumerable=!0,i.hasBeenReset=!1,""),a=!1,l=t,c=e,u=n,p=null,h="",d=!0,f="auto",m="start",g=50,v="middle",y=50,b="middle";return Object.defineProperty(i,"id",w({},o,{get:function(){return s},set:function(t){s=""+t}})),Object.defineProperty(i,"pauseOnExit",w({},o,{get:function(){return a}
1,set:function(t){a=!!t}})),Object.defineProperty(i,"startTime",w({},o,{get:function(){return l},set:function(t){if("number"!=typeof t)throw new TypeError("Start time must be set to a number.");l=t,this.hasBeenReset=!0}})),Object.defineProperty(i,"endTime",w({},o,{get:function(){return c},set:function(t){if("number"!=typeof t)throw new TypeError("End time must be set to a number.");c=t,this.hasBeenReset=!0}})),Object.defineProperty(i,"text",w({},o,{get:function(){return u},set:function(t){u=""+t,this.hasBeenReset=!0}})),Object.defineProperty(i,"region",w({},o,{get:function(){return p},set:function(t){p=t,this.hasBeenReset=!0}})),Object.defineProperty(i,"vertical",w({},o,{get:function(){return h},set:function(t){t="string"==typeof(t=t)&&!!x[t.toLowerCase()]&&t.toLowerCase();if(!1===t)throw new SyntaxError("An invalid or illegal string was specified.");h=t,this.hasBeenReset=!0}})),Object.defineProperty(i,"snapToLines",w({},o,{get:function(){return d},set:function(t){d=!!t,this.hasBeenReset=!0}})),Object.defineProperty(i,"line",w({},o,{get:function(){return f},set:function(t){if("number"!=typeof t&&"auto"!==t)throw new SyntaxError("An invalid number or illegal string was specified.");f=t,this.hasBeenReset=!0}})),Object.defineProperty(i,"lineAlign",w({},o,{get:function(){return m},set:function(t){t=_(t);if(!t)throw new SyntaxError("An invalid or illegal string was specified.");m=t,this.hasBeenReset=!0}})),Object.defineProperty(i,"position",w({},o,{get:function(){return g},set:function(t){if(t<0||100<t)throw new Error("Position must be between 0 and 100.");g=t,this.hasBeenReset=!0}})),Object.defineProperty(i,"positionAlign",w({},o,{get:function(){return v},set:function(t){t=_(t);if(!t)throw new SyntaxError("An invalid or illegal string was specified.");v=t,this.hasBeenReset=!0}})),Object.defineProperty(i,"size",w({},o,{get:function(){return y},set:function(t){if(t<0||100<t)throw new Error("Size must be between 0 and 100.");y=t,this.hasBeenReset=!0}})),Object.defineProperty(i,"align",w({},o,{get:function(){return b},set:function(t){t=_(t);if(!t)throw new SyntaxError("An invalid or illegal string was specified.");b=t,this.hasBeenReset=!0}})),i.displayState=void 0,r?i:void 0}var x={"":!0,lr:!0,rl:!0},i={start:!0,middle:!0,end:!0,left:!0,right:!0};n.prototype.getCueAsHTML=function(){return WebVTT.convertCueToDOMTree(window,this.text)},t.VTTCue=t.VTTCue||n,e.VTTCue=n})(this,this.vttjs||{}),((t,e)=>{function l(t){return"number"==typeof t&&0<=t&&t<=100}function n(){var e=100,n=3,i=0,r=100,o=0,s=100,a="";Object.defineProperties(this,{width:{enumerable:!0,get:function(){return e},set:function(t){if(!l(t))throw new Error("Width must be between 0 and 100.");e=t}},lines:{enumerable:!0,get:function(){return n},set:function(t){if("number"!=typeof t)throw new TypeError("Lines must be set to a number.");n=t}},regionAnchorY:{enumerable:!0,get:function(){return r},set:function(t){if(!l(t))throw new Error("RegionAnchorX must be between 0 and 100.");r=t}},regionAnchorX:{enumerable:!0,get:function(){return i},set:function(t){if(!l(t))throw new Error("RegionAnchorY must be between 0 and 100.");i=t}},viewportAnchorY:{enumerable:!0,get:function(){return s},set:function(t){if(!l(t))throw new Error("ViewportAnchorY must be between 0 and 100.");s=t}},viewportAnchorX:{enumerable:!0,get:function(){return o},set:function(t){if(!l(t))throw new Error("ViewportAnchorX must be between 0 and 100.");o=t}},scroll:{enumerable:!0,get:function(){return a}
1,set:function(t){t="string"==typeof(t=t)&&!!c[t.toLowerCase()]&&t.toLowerCase();if(!1===t)throw new SyntaxError("An invalid or illegal string was specified.");a=t}}})}var c={"":!0,up:!0};t.VTTRegion=t.VTTRegion||n,e.VTTRegion=n})(this,this.vttjs||{}),(t=>{function l(t,e){this.name="ParsingError",this.code=t.code,this.message=e||t.message}function h(t){function e(t,e,n,i){return 3600*(0|t)+60*(0|e)+(0|n)+(0|i)/1e3}t=t.match(/^(\d+):(\d{2})(:\d{2})?\.(\d{3})/);return t?t[3]?e(t[1],t[2],t[3].replace(":",""),t[4]):59<t[1]?e(t[1],t[2],0,t[4]):e(0,t[1],t[2],t[4]):null}function c(){this.values=n(null)}function u(t,e,n,i){var r,o,s=i?t.split(i):[t];for(r in s)"string"==typeof s[r]&&2===(o=s[r].split(n)).length&&e(o[0],o[1])}function a(t,e){function n(t){return v[t]}for(var i,r,o,s=t.document.createElement("div"),a=s,l=[];null!==(o=void 0,o=e?(o=(o=e.match(/^([^<]*)(<[^>]+>?)?/))[1]||o[2],e=e.substr(o.length),o):null);)if("<"!==o[0])a.appendChild(t.document.createTextNode((t=>{for(;p=t.match(/&(amp|lt|gt|lrm|rlm|nbsp);/);)t=t.replace(p[0],n);return t})(o)));else{if("/"===o[1]){l.length&&l[l.length-1]===o.substr(2).replace(">","")&&(l.pop(),a=a.parentNode);continue}var c,u=h(o.substr(1,o.length-2));if(u){c=t.document.createProcessingInstruction("timestamp",u),a.appendChild(c);continue}var p=o.match(/^<([^.\s\/0-9>]+)(\.[^\s\\>]+)?([^>\\]+)?(\\?)>?$/);if(!p)continue;if(u=p[1],o=p[3],r=i=void 0,r=y[u],!(c=r?((i=t.document.createElement(r)).localName=r,(r=b[u])&&o&&(i[r]=o.trim()),i):null))continue;if(u=a,_[(r=c).localName]&&_[r.localName]!==u.localName)continue;p[2]&&(c.className=p[2].substr(1).replace("."," ")),l.push(p[1]),a.appendChild(c),a=c}return s}function p(t){function o(t,e){for(var n=e.childNodes.length-1;0<=n;n--)t.push(e.childNodes[n])}var e=[],n="";if(t&&t.childNodes)for(o(e,t);n=function t(e){var n,i,r;return e&&e.length?(i=(n=e.pop()).textContent||n.innerText)?(r=i.match(/^.*(\n|\r)/))?r[e.length=0]:i:"ruby"===n.tagName?t(e):n.childNodes?(o(e,n),t(e)):void 0:null}(e);)for(var i=0;i<n.length;i++)for(var r=n.charCodeAt(i),s=0;s<w.length;s++)if(w[s]===r)return"rtl";return"ltr"}function d(){}function f(t,e,n){var i=/MSIE\s8\.0/.test(navigator.userAgent),r="rgba(255, 255, 255, 1)",o="rgba(0, 0, 0, 0.8)",r=(i&&(r="rgb(255, 255, 255)",o="rgb(0, 0, 0)"),d.call(this),this.cue=e,this.cueDiv=a(t,e.text),{color:r,backgroundColor:o,position:"relative",left:0,right:0,top:0,bottom:0,display:"inline"}),s=(i||(r.writingMode=""===e.vertical?"horizontal-tb":"lr"===e.vertical?"vertical-lr":"vertical-rl",r.unicodeBidi="plaintext"),this.applyStyles(r,this.cueDiv),this.div=t.document.createElement("div"),r={textAlign:"middle"===e.align?"center":e.align,font:n.font,whiteSpace:"pre-line",position:"absolute"},i||(r.direction=p(this.cueDiv),r.writingMode=""===e.vertical?"horizontal-tb":"lr"===e.vertical?"vertical-lr":"vertical-rl".stylesunicodeBidi="plaintext"),this.applyStyles(r),this.div.appendChild(this.cueDiv),0);switch(e.positionAlign){case"start":s=e.position;break;case"middle":s=e.position-e.size/2;break;case"end":s=e.position-e.size}this.applyStyles(""===e.vertical?{left:this.formatStyle(s,"%"),width:this.formatStyle(e.size,"%")}:{top:this.formatStyle(s,"%"),height:this.formatStyle(e.size,"%")}),this.move=function(t){this.applyStyles({top:this.formatStyle(t.top,"px"),bottom:this.formatStyle(t.bottom,"px"),left:this.formatStyle(t.left,"px"),right:this.formatStyle(t.right,"px"),height:this.formatStyle(t.height,"px"),width:this.formatStyle(t.width,"px")})}}function m(t){var e,n,i,r,o=/MSIE\s8\.0/.test(navigator.userAgent);t.div&&(e=t.div.offsetHeight,n=t.div.offsetWidth,i=t.div.offsetTop,r=(r=(r=t.div.childNodes)&&r[0])&&r.getClientRects&&r.getClientRects(),t=t.div.getBoundingClientRect(),r=r?Math.max(r[0]&&r[0].height||0,t.height/r.length):0),this.left=t.left,this.right=t.right,this.top=t.top||i,this.height=t.height||e,this.bottom=t.bottom||i+(t.height||e),this.width=t.width||n,this.lineHeight=void 0!==r?r:t.lineHeight,o&&!this.lineHeight&&(this.lineHeight=13)}function g(t,e,a,l){var n,i=new m(e),r=e.cue,o=(t=>{if("number"==typeof t.line&&(t.snapToLines||0<=t.line&&t.line<=100))return t.line;if(!t.track||!t.track.textTrackList||!t.track.textTrackList.mediaElement)return-1;for(var e=t.track,n=e.textTrackList,i=0,r=0;r<n.length&&n[r]!==e;r++)"showing"===n[r].mode&&i++;return-1*++i})(r),s=[];if(r.snapToLines){switch(r.vertical){case"":s=["+y","-y"],n="height";break;case"rl":s=["+x","-x"],n="width";break;case"lr":s=["-x","+x"],n="width"}var c=i.lineHeight,u=c*Math.round(o),p=a[n]+c,h=s[0];Math.abs(u)>p&&(u=u<0?-1:1,u*=Math.ceil(p/c)*c),o<0&&(u+=""===r.vertical?a.height:a.width,s=s.reverse()),i.move(h,u)}else{var d=i.lineHeight/a.height*100;switch(r.lineAlign){case"middle":o-=d/2;break;case"end":o-=d}switch(r.vertical){case"":e.applyStyles({top:e.formatStyle(o,"%")});break;case"rl":e.applyStyles({left:e.formatStyle(o,"%")});break;case"lr":e.applyStyles({right:e.formatStyle(o,"%")})}s=["+y","-x","+x","-y"],i=new m(e)}p=((t,e)=>{for(var n,i=new m(t),r=1,o=0;o<e.length;o++){for(;t.overlapsOppositeAxis(a,e[o])||t.within(a)&&t.overlapsAny(l);)t.move(e[o]);if(t.within(a))return t;var s=t.intersectPercentage(a);s<r&&(n=new m(t),r=s),t=new m(i)}return n||i})(i,s);
vendor: 1,054 bytes, line 1
1e.move(p.toCSSCompatValues(a))}function e(){}var n=Object.create||function(t){if(1!==arguments.length)throw new Error("Object.create shim only accepts one parameter.");return i.prototype=t,new i};function i(){}((l.prototype=n(Error.prototype)).constructor=l).Errors={BadSignature:{code:0,message:"Malformed WebVTT signature."},BadTimeStamp:{code:1,message:"Malformed time stamp."}},c.prototype={set:function(t,e){this.get(t)||""===e||(this.values[t]=e)},get:function(t,e,n){return n?this.has(t)?this.values[t]:e[n]:this.has(t)?this.values[t]:e},has:function(t){return t in this.values},alt:function(t,e,n){for(var i=0;i<n.length;++i)if(e===n[i]){this.set(t,e);break}},integer:function(t,e){/^-?\d+$/.test(e)&&this.set(t,parseInt(e,10))},percent:function(t,e){return!!(e.match(/^([\d]{1,3})(\.[\d]*)?%$/)&&0<=(e=parseFloat(e))&&e<=100)&&(this.set(t,e),!0)}};var v={"&":"&","<":"<",">":">","‎":"â","‏":"â"," ":"Â "},y={c:"span",i:"i",b:"b",u:"u",ruby:"ruby",rt:"rt",v:"span",lang:"span"},b={v:"title",lang:"lang"},_={rt:"ruby"},w
vendor: 10,850 bytes, line 1
1=[1470,1472,1475,1478,1488,1489,1490,1491,1492,1493,1494,1495,1496,1497,1498,1499,1500,1501,1502,1503,1504,1505,1506,1507,1508,1509,1510,1511,1512,1513,1514,1520,1521,1522,1523,1524,1544,1547,1549,1563,1566,1567,1568,1569,1570,1571,1572,1573,1574,1575,1576,1577,1578,1579,1580,1581,1582,1583,1584,1585,1586,1587,1588,1589,1590,1591,1592,1593,1594,1595,1596,1597,1598,1599,1600,1601,1602,1603,1604,1605,1606,1607,1608,1609,1610,1645,1646,1647,1649,1650,1651,1652,1653,1654,1655,1656,1657,1658,1659,1660,1661,1662,1663,1664,1665,1666,1667,1668,1669,1670,1671,1672,1673,1674,1675,1676,1677,1678,1679,1680,1681,1682,1683,1684,1685,1686,1687,1688,1689,1690,1691,1692,1693,1694,1695,1696,1697,1698,1699,1700,1701,1702,1703,1704,1705,1706,1707,1708,1709,1710,1711,1712,1713,1714,1715,1716,1717,1718,1719,1720,1721,1722,1723,1724,1725,1726,1727,1728,1729,1730,1731,1732,1733,1734,1735,1736,1737,1738,1739,1740,1741,1742,1743,1744,1745,1746,1747,1748,1749,1765,1766,1774,1775,1786,1787,1788,1789,1790,1791,1792,1793,1794,1795,1796,1797,1798,1799,1800,1801,1802,1803,1804,1805,1807,1808,1810,1811,1812,1813,1814,1815,1816,1817,1818,1819,1820,1821,1822,1823,1824,1825,1826,1827,1828,1829,1830,1831,1832,1833,1834,1835,1836,1837,1838,1839,1869,1870,1871,1872,1873,1874,1875,1876,1877,1878,1879,1880,1881,1882,1883,1884,1885,1886,1887,1888,1889,1890,1891,1892,1893,1894,1895,1896,1897,1898,1899,1900,1901,1902,1903,1904,1905,1906,1907,1908,1909,1910,1911,1912,1913,1914,1915,1916,1917,1918,1919,1920,1921,1922,1923,1924,1925,1926,1927,1928,1929,1930,1931,1932,1933,1934,1935,1936,1937,1938,1939,1940,1941,1942,1943,1944,1945,1946,1947,1948,1949,1950,1951,1952,1953,1954,1955,1956,1957,1969,1984,1985,1986,1987,1988,1989,1990,1991,1992,1993,1994,1995,1996,1997,1998,1999,2e3,2001,2002,2003,2004,2005,2006,2007,2008,2009,2010,2011,2012,2013,2014,2015,2016,2017,2018,2019,2020,2021,2022,2023,2024,2025,2026,2036,2037,2042,2048,2049,2050,2051,2052,2053,2054,2055,2056,2057,2058,2059,2060,2061,2062,2063,2064,2065,2066,2067,2068,2069,2074,2084,2088,2096,2097,2098,2099,2100,2101,2102,2103,2104,2105,2106,2107,2108,2109,2110,2112,2113,2114,2115,2116,2117,2118,2119,2120,2121,2122,2123,2124,2125,2126,2127,2128,2129,2130,2131,2132,2133,2134,2135,2136,2142,2208,2210,2211,2212,2213,2214,2215,2216,2217,2218,2219,2220,8207,64285,64287,64288,64289,64290,64291,64292,64293,64294,64295,64296,64298,64299,64300,64301,64302,64303,64304,64305,64306,64307,64308,64309,64310,64312,64313,64314,64315,64316,64318,64320,64321,64323,64324,64326,64327,64328,64329,64330,64331,64332,64333,64334,64335,64336,64337,64338,64339,64340,64341,64342,64343,64344,64345,64346,64347,64348,64349,64350,64351,64352,64353,64354,64355,64356,64357,64358,64359,64360,64361,64362,64363,64364,64365,64366,64367,64368,64369,64370,64371,64372,64373,64374,64375,64376,64377,64378,64379,64380,64381,64382,64383,64384,64385,64386,64387,64388,64389,64390,64391,64392,64393,64394,64395,64396,64397,64398,64399,64400,64401,64402,64403,64404,64405,64406,64407,64408,64409,64410,64411,64412,64413,64414,64415,64416,64417,64418,64419,64420,64421,64422,64423,64424,64425,64426,64427,64428,64429,64430,64431,64432,64433,64434,64435,64436,64437,64438,64439,64440,64441,64442,64443,64444,64445,64446,64447,64448,64449,64467,64468,64469,64470,64471,64472,64473,64474,64475,64476,64477,64478,64479,64480,64481,64482,64483,64484,64485,64486,64487,64488,64489,64490,64491,64492,64493,64494,64495,64496,64497,64498,64499,64500,64501,64502,64503,64504,64505,64506,64507,64508,64509,64510,64511,64512,64513,64514,64515,64516,64517,64518,64519,64520,64521,64522,64523,64524,64525,64526,64527,64528,64529,64530,64531,64532,64533,64534,64535,64536,64537,64538,64539,64540,64541,64542,64543,64544,64545,64546,64547,64548,64549,64550,64551,64552,64553,64554,64555,64556,64557,64558,64559,64560,64561,64562,64563,64564,64565,64566,64567,64568,64569,64570,64571,64572,64573,64574,64575,64576,64577,64578,64579,64580,64581,64582,64583,64584,64585,64586,64587,64588,64589,64590,64591,64592,64593,64594,64595,64596,64597,64598,64599,64600,64601,64602,64603,64604,64605,64606,64607,64608,64609,64610,64611,64612,64613,64614,64615,64616,64617,64618,64619,64620,64621,64622,64623,64624,64625,64626,64627,64628,64629,64630,64631,64632,64633,64634,64635,64636,64637,64638,64639,64640,64641,64642,64643,64644,64645,64646,64647,64648,64649,64650,64651,64652,64653,64654,64655,64656,64657,64658,64659,64660,64661,64662,64663,64664,64665,64666,64667,64668,64669,64670,64671,64672,64673,64674,64675,64676,64677,64678,64679,64680,64681,64682,64683,64684,64685,64686,64687,64688,64689,64690,64691,64692,64693,64694,64695,64696,64697,64698,64699,64700,64701,64702,64703,64704,64705,64706,64707,64708,64709,64710,64711,64712,64713,64714,64715,64716,64717,64718,64719,64720,64721,64722,64723,64724,64725,64726,64727,64728,64729,64730,64731,64732,64733,64734,64735,64736,64737,64738,64739,64740,64741,64742,64743,64744,64745,64746,64747,64748,64749,64750,64751,64752,64753,64754,64755,64756,64757,64758,64759,64760,64761,64762,64763,64764,64765,64766,64767,64768,64769,64770,64771,64772,64773,64774,64775,64776,64777,64778,64779,64780,64781,64782,64783,64784,64785,64786,64787,64788,64789,64790,64791,64792,64793,64794,64795,64796,64797,64798,64799,64800,64801,64802,64803,64804,64805,64806,64807,64808,64809,64810,64811,64812,64813,64814,64815,64816,64817,64818,64819,64820,64821,64822,64823,64824,64825,64826,64827,64828,64829,64848,64849,64850,64851,64852,64853,64854,64855,64856,64857,64858,64859,64860,64861,64862,64863,64864,64865,64866,64867,64868,64869,64870,64871,64872,64873,64874,64875,64876,64877,64878,64879,64880,64881,64882,64883,64884,64885,64886,64887,64888,64889,64890,64891,64892,64893,64894,64895,64896,64897,64898,64899,64900,64901,64902,64903,64904,64905,64906,64907,64908,64909,64910,64911,64914,64915,64916,64917,64918,64919,64920,64921,64922,64923,64924,64925,64926,64927,64928,64929,64930,64931,64932,64933,64934,64935,64936,64937,64938,64939,64940,64941,64942,64943,64944,64945,64946,64947,64948,64949,64950,64951,64952,64953,64954,64955,64956,64957,64958,64959,64960,64961,64962,64963,64964,64965,64966,64967,65008,65009,65010,65011,65012,65013,65014,65015,65016,65017,65018,65019,65020,65136,65137,65138,65139,65140,65142,65143,65144,65145,65146,65147,65148,65149,65150,65151,65152,65153,65154,65155,65156,65157,65158,65159,65160,65161,65162,65163,65164,65165,65166,65167,65168,65169,65170,65171,65172,65173,65174,65175,65176,65177,65178,65179,65180,65181,65182,65183,65184,65185,65186,65187,65188,65189,65190,65191,65192,65193,65194,65195,65196,65197,65198,65199,65200,65201,65202,65203,65204,65205,65206,65207,65208,65209,65210,65211,65212,65213,65214,65215,65216,65217,65218,65219,65220,65221,65222,65223,65224,65225,65226,65227,65228,65229,65230,65231,65232,65233,65234,65235,65236,65237,65238,65239,65240,65241,65242,65243,65244,65245,65246,65247,65248,65249,65250,65251,65252,65253,65254,65255,65256,65257,65258,65259,65260,65261,65262,65263,65264,65265,65266,65267,65268,65269,65270,65271,65272,65273,65274,65275,65276,67584,67585,67586,67587,67588,67589,67592,67594,67595,67596,67597,67598,67599,67600,67601,67602,67603,67604,67605,67606,67607,67608,67609,67610,67611,67612,67613,67614,67615,67616,67617,67618,67619,67620,67621,67622,67623,67624,67625,67626,67627,67628,67629,67630,67631,67632,67633,67634,67635,67636,67637,67639,67640,67644,67647,67648,67649,67650,67651,67652,67653,67654,67655,67656,67657,67658,67659,67660,67661,67662,67663,67664,67665,67666,67667,67668,67669,67671,67672,67673,67674,67675,67676,67677,67678,67679,67840,67841,67842,67843,67844,67845,67846,67847,67848,67849,67850,67851,67852,67853,67854,67855,67856,67857,67858,67859,67860,67861,67862,67863,67864,67865,67866,67867,67872,67873,67874,67875,67876,67877,67878,67879,67880,67881,67882,67883,67884,67885,67886,67887,67888,67889,67890,67891,67892,67893,67894,67895,67896,67897,67903,67968,67969,67970,67971,67972,67973,67974,67975,67976,67977,67978,67979,67980,67981,67982,67983,67984,67985,67986,67987,67988,67989,67990,67991,67992,67993,67994,67995,67996,67997,67998,67999,68e3,68001,68002,68003,68004,68005,68006,68007,68008,68009,68010,68011,68012,68013,68014,68015,68016,68017,68018,68019,68020,68021,68022,68023,68030,68031,68096,68112,68113,68114,68115,68117,68118,68119,68121,68122,68123,68124,68125,68126,68127,68128,68129,68130,68131,68132,68133,68134,68135,68136,68137,68138,68139,68140,68141,68142,68143,68144,68145,68146,68147,68160,68161,68162,68163,68164,68165,68166,68167,68176,68177,68178,68179,68180,68181,68182,68183,68184,68192,68193,68194,68195,68196,68197,68198,68199,68200,68201,68202,68203,68204,68205,68206,68207,68208,68209,68210,68211,68212,68213,68214,68215,68216,68217,68218,68219,68220,68221,68222,68223,68352,68353,68354,68355,68356,68357,68358,68359,68360,68361,68362,68363,68364,68365,68366,68367,68368,68369,68370,68371,68372,68373,68374,68375,68376,68377,68378,68379,68380,68381,68382,68383,68384,68385,68386,68387,68388,68389,68390,68391,68392,68393,68394,68395,68396,68397,68398,68399,68400,68401,68402,68403,68404,68405,68416,68417,68418,68419,68420,68421,68422,68423,68424,68425,68426,68427,68428,68429,68430,68431,68432,68433,68434,68435,68436,68437,68440,68441,68442,68443,68444,68445,68446,68447,68448,68449,68450,68451,68452,68453,68454,68455,68456,68457,68458,68459,68460,68461,68462,68463,68464,68465,68466,68472,68473,68474,68475,68476,68477,68478,68479,68608,68609,68610,68611,68612,68613,68614,68615,68616,68617,68618,68619,68620,68621,68622,68623,68624,68625,68626,68627,68628,68629,68630,68631,68632,68633,68634,68635,68636,68637,68638,68639,68640,68641,68642,68643,68644,68645,68646,68647,68648,68649,68650,68651,68652,68653,68654,68655,68656,68657,68658,68659,68660,68661,68662,68663,68664,68665,68666,68667,68668,68669,68670,68671,68672,68673,68674,68675,68676,68677,68678,68679,68680,126464,126465,126466,126467,126469,126470,126471,126472,126473,126474,126475,126476,126477,126478,126479,126480,126481,126482,126483,126484,126485,126486,126487,126488,126489,126490,126491,126492,126493,126494,126495,126497,126498,126500,126503,126505,126506,126507,126508,126509,126510,126511,126512,126513,126514,126516,126517,126518,126519,126521,126523,126530,126535,126537,126539,126541,126542,126543,126545,126546,126548,126551,126553,126555,126557,126559,126561,126562,126564,126567,126568,126569,126570,126572,126573,126574,126575,126576,126577,126578,126580,126581,126582,126583,126585,126586,126587,126588,126590,126592,126593,126594,126595,126596,126597,126598,126599,126600,126601,126603,126604,126605,126606,126607,126608,126609,126610,126611,126612,126613,126614,126615,126616,126617,126618,126619,126625,126626,126627,126629,126630,126631,126632,126633,126635,126636,126637,126638,126639,126640,126641,126642,126643,126644,126645,126646,126647,126648,126649,126650,126651,1114109];
vendor: 2,252 bytes, line 1
1d.prototype.applyStyles=function(t,e){for(var n in e=e||this.div,t)t.hasOwnProperty(n)&&(e.style[n]=t[n])},d.prototype.formatStyle=function(t,e){return 0===t?0:t+e},(f.prototype=n(d.prototype)).constructor=f,m.prototype.move=function(t,e){switch(e=void 0!==e?e:this.lineHeight,t){case"+x":this.left+=e,this.right+=e;break;case"-x":this.left-=e,this.right-=e;break;case"+y":this.top+=e,this.bottom+=e;break;case"-y":this.top-=e,this.bottom-=e}},m.prototype.overlaps=function(t){return this.left<t.right&&this.right>t.left&&this.top<t.bottom&&this.bottom>t.top},m.prototype.overlapsAny=function(t){for(var e=0;e<t.length;e++)if(this.overlaps(t[e]))return!0;return!1},m.prototype.within=function(t){return this.top>=t.top&&this.bottom<=t.bottom&&this.left>=t.left&&this.right<=t.right},m.prototype.overlapsOppositeAxis=function(t,e){switch(e){case"+x":return this.left<t.left;case"-x":return this.right>t.right;case"+y":return this.top<t.top;case"-y":return this.bottom>t.bottom}},m.prototype.intersectPercentage=function(t){return Math.max(0,Math.min(this.right,t.right)-Math.max(this.left,t.left))*Math.max(0,Math.min(this.bottom,t.bottom)-Math.max(this.top,t.top))/(this.height*this.width)},m.prototype.toCSSCompatValues=function(t){return{top:this.top-t.top,bottom:t.bottom-this.bottom,left:this.left-t.left,right:t.right-this.right,height:this.height,width:this.width}},m.getSimpleBoxPosition=function(t){var e=t.div?t.div.offsetHeight:t.tagName?t.offsetHeight:0,n=t.div?t.div.offsetWidth:t.tagName?t.offsetWidth:0,i=t.div?t.div.offsetTop:t.tagName?t.offsetTop:0;return{left:(t=t.div?t.div.getBoundingClientRect():t.tagName?t.getBoundingClientRect():t).left,right:t.right,top:t.top||i,height:t.height||e,bottom:t.bottom||i+(t.height||e),width:t.width||n}},e.StringDecoder=function(){return{decode:function(t){if(!t)return"";if("string"!=typeof t)throw new Error("Error - expected string data.");return decodeURIComponent(encodeURIComponent(t))}}},e.convertCueToDOMTree=function(t,e){return t&&e?a(t,e):null},e.processCues=function(t,e,n){if(!t||!e||!n)return null;for(;n.firstChild;)n.removeChild(n.firstChild);var i=t.document.createElement("div");if(i.style.position="absolute",i.style.left="0",i.style.right="0",i.style.top="0",i.style.bottom="0",
vendor: 4,859 bytes, line 1
1i.style.margin="1.5%",n.appendChild(i),(t=>{for(var e=0;e<t.length;e++)if(t[e].hasBeenReset||!t[e].displayState)return 1})(e))for(var r,o,s=[],a=m.getSimpleBoxPosition(i),l={font:Math.round(.05*a.height*100)/100+"px sans-serif"},c=0;c<e.length;c++)r=new f(t,o=e[c],l),i.appendChild(r.div),g(0,r,a,s),o.displayState=r.div,s.push(m.getSimpleBoxPosition(r));else for(var u=0;u<e.length;u++)i.appendChild(e[u].displayState)},(e.Parser=function(t,e,n){n||(n=e,e={}),e=e||{},this.window=t,this.vttjs=e,this.state="INITIAL",this.buffer="",this.decoder=n||new TextDecoder("utf8"),this.regionList=[]}).prototype={reportOrThrowError:function(t){if(!(t instanceof l))throw t;this.onparsingerror&&this.onparsingerror(t)},parse:function(t){function e(){for(var t=i.buffer,e=0;e<t.length&&"\r"!==t[e]&&"\n"!==t[e];)++e;var n=t.substr(0,e);return"\r"===t[e]&&++e,"\n"===t[e]&&++e,i.buffer=t.substr(e),n}function n(t){u(t,function(t,e){var r;"Region"===t&&(t=e,r=new c,u(t,function(t,e){switch(t){case"id":r.set(t,e);break;case"width":r.percent(t,e);break;case"lines":r.integer(t,e);break;case"regionanchor":case"viewportanchor":var n,i=e.split(",");2===i.length&&((n=new c).percent("x",i[0]),n.percent("y",i[1]),n.has("x")&&n.has("y"))&&(r.set(t+"X",n.get("x")),r.set(t+"Y",n.get("y")));break;case"scroll":r.alt(t,e,["up"])}},/=/,/\s/),r.has("id"))&&((t=new(i.vttjs.VTTRegion||i.window.VTTRegion)).width=r.get("width",100),t.lines=r.get("lines",3),t.regionAnchorX=r.get("regionanchorX",0),t.regionAnchorY=r.get("regionanchorY",100),t.viewportAnchorX=r.get("viewportanchorX",0),t.viewportAnchorY=r.get("viewportanchorY",100),t.scroll=r.get("scroll",""),i.onregion&&i.onregion(t),i.regionList.push({id:r.get("id"),region:t}))},/:/)}var i=this;t&&(i.buffer+=i.decoder.decode(t,{stream:!0}));try{if("INITIAL"===i.state){if(!/\r\n|\n/.test(i.buffer))return this;var r,o=(r=e()).match(/^WEBVTT([ \t].*)?$/);if(!o||!o[0])throw new l(l.Errors.BadSignature);i.state="HEADER"}for(var s=!1;i.buffer;){if(!/\r\n|\n/.test(i.buffer))return this;switch(s?s=!1:r=e(),i.state){case"HEADER":/:/.test(r)?n(r):r||(i.state="ID");continue;case"NOTE":r||(i.state="ID");continue;case"ID":if(/^NOTE($|[ \t])/.test(r)){i.state="NOTE";break}if(!r)continue;if(i.cue=new(i.vttjs.VTTCue||i.window.VTTCue)(0,0,""),i.state="CUE",-1===r.indexOf("--\x3e")){i.cue.id=r;continue}case"CUE":try{((e,t,o)=>{function n(){var t=h(e);if(null===t)throw new l(l.Errors.BadTimeStamp,"Malformed timestamp: "+a);return e=e.replace(/^[^\sa-zA-Z-]+/,""),t}function i(){e=e.replace(/^\s+/,"")}var r,s,a=e;if(i(),t.startTime=n(),i(),"--\x3e"!==e.substr(0,3))throw new l(l.Errors.BadTimeStamp,"Malformed time stamp (time stamps must be separated by '--\x3e'): "+a);e=e.substr(3),i(),t.endTime=n(),i(),r=e,t=t,s=new c,u(r,function(t,e){switch(t){case"region":for(var n=o.length-1;0<=n;n--)if(o[n].id===e){s.set(t,o[n].region);break}break;case"vertical":s.alt(t,e,["rl","lr"]);break;case"line":var i=e.split(","),r=i[0];s.integer(t,r),s.percent(t,r)&&s.set("snapToLines",!1),s.alt(t,r,["auto"]),2===i.length&&s.alt("lineAlign",i[1],["start","middle","end"]);break;case"position":i=e.split(","),s.percent(t,i[0]),2===i.length&&s.alt("positionAlign",i[1],["start","middle","end"]);break;case"size":s.percent(t,e);break;case"align":s.alt(t,e,["start","middle","end","left","right"])}},/:/,/\s/),t.region=s.get("region",null),t.vertical=s.get("vertical",""),t.line=s.get("line","auto"),t.lineAlign=s.get("lineAlign","start"),t.snapToLines=s.get("snapToLines",!0),t.size=s.get("size",100),t.align=s.get("align","middle"),t.position=s.get("position",{start:0,left:0,middle:50,end:100,right:100},t.align),t.positionAlign=s.get("positionAlign",{start:"start",left:"start",middle:"middle",end:"end",right:"end"},t.align)})(r,i.cue,i.regionList)}catch(t){i.reportOrThrowError(t),i.cue=null,i.state="BADCUE";continue}i.state="CUETEXT";continue;case"CUETEXT":var a=-1!==r.indexOf("--\x3e");if(!r||a&&(s=!0)){i.oncue&&i.oncue(i.cue),i.cue=null,i.state="ID";continue}i.cue.text&&(i.cue.text+="\n"),i.cue.text+=r;continue;case"BADCUE":r||(i.state="ID");continue}}}catch(t){i.reportOrThrowError(t),"CUETEXT"===i.state&&i.cue&&i.oncue&&i.oncue(i.cue),i.cue=null,i.state="INITIAL"===i.state?"BADWEBVTT":"BADCUE"}return this},flush:function(){var e=this;try{if(e.buffer+=e.decoder.decode(),!e.cue&&"HEADER"!==e.state||(e.buffer+="\n\n",e.parse()),"INITIAL"===e.state)throw new l(l.Errors.BadSignature)}catch(t){e.reportOrThrowError(t)}return e.onflush&&e.onflush(),this}},t.WebVTT=e})(this,this.vttjs),(()=>{var o=["decimals","thousand","mark","prefix","postfix","encoder","decoder","negativeBefore","negative","edit","undo"];function y(t){return t.split("").reverse().join("")}function f(t,e){return t.substring(0,e.length)===e}function s(t,e,n){if((t[e]||t[n])&&t[e]===t[n])throw new Error(e)}function b(t){return"number"==typeof t&&isFinite(t)}
1function n(t,e,n,i,r,o,s,a,l,c,u,p){var h,d,f,m=p,g="",v="";return!!b(p=o?o(p):p)&&((p=!1!==t&&0===parseFloat(p.toFixed(t))?0:p)<0&&(h=!0,p=Math.abs(p)),!1!==t&&(o=p,t=t,f=Math.pow(10,t),p=(Math.round(o*f)/f).toFixed(t)),-1!==(p=p.toString()).indexOf(".")?(d=(o=p.split("."))[0],n&&(g=n+o[1])):d=p,e&&(d=y(d).match(/.{1,3}/g),d=y(d.join(y(e)))),h&&a&&(v+=a),i&&(v+=i),h&&l&&(v+=l),v=v+d+g,r&&(v+=r),c?c(v,m):v)}function i(t,e,n,i,r,o,s,a,l,c,u,p){var h,d="";return!(!(p=u?u(p):p)||"string"!=typeof p||(a&&f(p,a)&&(p=p.replace(a,""),h=!0),i&&f(p,i)&&(p=p.replace(i,"")),l&&f(p,l)&&(p=p.replace(l,""),h=!0),r&&(u=r,p.slice(-1*u.length)===u)&&(p=p.slice(0,-1*r.length)),e&&(p=p.split(e).join("")),h&&(d+="-"),""===(d=(d+=p=n?p.replace(n,"."):p).replace(/[^0-9\.\-.]/g,"")))||(d=Number(d),!b(d=s?s(d):d)))&&d}function r(t,e,n){for(var i=[],r=0;r<o.length;r+=1)i.push(t[o[r]]);return i.push(n),e.apply("",i)}window.wNumb=function t(e){if(!(this instanceof t))return new t(e);"object"==typeof e&&(e=(t=>{for(var e,n,i={},r=0;r<o.length;r+=1)if(void 0===(n=t[e=o[r]]))i[e]="negative"!==e||i.negativeBefore?"mark"===e&&"."!==i.thousand&&".":"-";else{if("decimals"===e){if(!(0<=n&&n<8))throw new Error(e)}else if("encoder"===e||"decoder"===e||"edit"===e||"undo"===e){if("function"!=typeof n)throw new Error(e)}else if("string"!=typeof n)throw new Error(e);i[e]=n}return s(i,"mark","thousand"),s(i,"prefix","negative"),s(i,"prefix","negativeBefore"),i})(e),this.to=function(t){return r(e,n,t)},this.from=function(t){return r(e,i,t)})}})(),((e,n)=>{"object"==typeof exports&&"undefined"!=typeof module?module.exports=n(require("video.js")):"function"==typeof define&&define.amd?define(["videojs"],function(t){return e.Youtube=n(t)}):e.Youtube=n(e.videojs)})(this,function(t){var e,n,i,r,o,s,a=t.getComponent("Tech"),l=t.extend(a,{constructor:function(t,e){a.call(this,t,e),this.setPoster(t.poster),this.setSrc(this.options_.source,!0),setTimeout(function(){this.el_.parentNode.className+=" vjs-youtube",c&&(this.el_.parentNode.className+=" vjs-youtube-mobile"),l.isApiReady?this.initYTPlayer():l.apiReadyQueue.push(this)}.bind(this))},dispose:function(){this.el_.parentNode.className=this.el_.parentNode.className.replace(" vjs-youtube","").replace(" vjs-youtube-mobile",""),this.el_.remove()},createEl:function(){var t=document.createElement("div"),e=(t.setAttribute("id",this.options_.techId),t.setAttribute("style","width:100%;height:100%;top:0;left:0;position:absolute"),t.setAttribute("class","vjs-tech"),document.createElement("div"));return e.appendChild(t),c||this.options_.ytControls||((t=document.createElement("div")).setAttribute("class","vjs-iframe-blocker"),t.setAttribute("style","position:absolute;top:0;left:0;width:100%;height:100%"),t.onclick=function(){this.pause()}.bind(this),e.appendChild(t)),e},initYTPlayer:function(){var t={controls:0,modestbranding:1,rel:0,showinfo:0,loop:this.options_.loop?1:0};void 0!==this.options_.autohide&&(t.autohide=this.options_.autohide),void 0!==this.options_.cc_load_policy&&(t.cc_load_policy=this.options_.cc_load_policy),void 0!==this.options_.ytControls&&(t.controls=this.options_.ytControls),void 0!==this.options_.disablekb&&(t.disablekb=this.options_.disablekb),void 0!==this.options_.end&&(t.end=this.options_.end),void 0!==this.options_.color&&(t.color=this.options_.color),t.controls?void 0!==this.options_.fs&&(t.fs=this.options_.fs):t.fs=0,void 0!==this.options_.end&&(t.end=this.options_.end),void 0!==this.options_.hl?t.hl=this.options_.hl:void 0!==this.options_.language&&(t.hl=this.options_.language.substr(0,2)),void 0!==this.options_.iv_load_policy&&(t.iv_load_policy=this.options_.iv_load_policy),void 0!==this.options_.list?t.list=this.options_.list:this.url&&void 0!==this.url.listId&&(t.list=this.url.listId),void 0!==this.options_.listType&&(t.listType=this.options_.listType),void 0!==this.options_.modestbranding&&(t.modestbranding=this.options_.modestbranding),void 0!==this.options_.playlist&&(t.playlist=this.options_.playlist),void 0!==this.options_.playsinline&&(t.playsinline=this.options_.playsinline),void 0!==this.options_.rel&&(t.rel=this.options_.rel),void 0!==this.options_.showinfo&&(t.showinfo=this.options_.showinfo),void 0!==this.options_.start&&(t.start=this.options_.start),void 0!==this.options_.theme&&(t.theme=this.options_.theme),this.activeVideoId=this.url?this.url.videoId:null,this.activeList=t.list,this.ytPlayer=new YT.Player(this.options_.techId,{videoId:this.activeVideoId,playerVars:t,events:{onReady:this.onPlayerReady.bind(this),onPlaybackQualityChange:this.onPlayerPlaybackQualityChange.bind(this),onStateChange:this.onPlayerStateChange.bind(this),onError:this.onPlayerError.bind(this)}})},onPlayerReady:function(){this.playerReady_=!0,this.triggerReady(),this.playOnReady?this.play():this.cueOnReady&&(this.ytPlayer.cueVideoById(this.url.videoId),this.activeVideoId=this.url.videoId)},onPlayerPlaybackQualityChange:function(){},onPlayerStateChange:function(t){t=t.data;if(t!==this.lastState&&!this.errorNumber)switch(this.lastState=t){case-1:this.trigger("loadstart"),this.trigger("loadedmetadata"),this.trigger("durationchange");break;case YT.PlayerState.ENDED:this.trigger("ended");break;case YT.PlayerState.PLAYING:this.trigger("timeupdate"),this.trigger("durationchange"),this.trigger("playing"),this.trigger("play"),this.isSeeking&&this.onSeeked();break;case YT.PlayerState.PAUSED:this.trigger("canplay"),this.isSeeking?this.onSeeked():this.trigger("pause");break;case YT.PlayerState.BUFFERING:this.player_.trigger("timeupdate"),this.player_.trigger("waiting")}},onPlayerError:function(t){this.errorNumber=t.data,this.trigger("error"),this.ytPlayer.stopVideo(),this.ytPlayer.destroy(),this.ytPlayer=null},error:function(){switch(this.errorNumber){case 5:return{code:"Error while trying to play the video"};case 2:case 100:case 150:return{code:"Unable to find the video"};case 101:return{code:"Playback on other Websites has been disabled by the video owner."}}return{code:"YouTube unknown error ("+this.errorNumber+")"}},src:function(t){return t&&this.setSrc({src:t}),this.source},poster:function(){return c?null:this.poster_},setPoster:function(t){this.poster_=t},setSrc:function(t){t&&t.src&&(delete this.errorNumber,this.source=t,this.url=l.parseUrl(t.src),this.options_.poster||this.url.videoId&&(this.poster_="https://img.youtube.com/vi/"+this.url.videoId+"/0.jpg",this.trigger("posterchange"),this.checkHighResPoster()),this.options_.autoplay&&!c?this.isReady_?this.play():this.playOnReady=!0:this.activeVideoId!==this.url.videoId&&(this.isReady_?(this.ytPlayer.cueVideoById(this.url.videoId),this.activeVideoId=this.url.videoId):this.cueOnReady=!0))},autoplay:function(){return this.options_.autoplay},setAutoplay:function(t){this.options_.autoplay=t},loop:function(){return this.options_.loop},setLoop:function(t){this.options_.loop=t},play:function(){this.url&&this.url.videoId&&(this.wasPausedBeforeSeek=!1,this.isReady_?(this.url.listId&&(this.activeList===this.url.listId?this.ytPlayer.playVideo():(this.ytPlayer.loadPlaylist(this.url.listId),this.activeList=this.url.listId)),this.activeVideoId===this.url.videoId?this.ytPlayer.playVideo():(this.ytPlayer.loadVideoById(this.url.videoId),this.activeVideoId=this.url.videoId)):(this.trigger("waiting"),this.playOnReady=!0))},pause:function(){this.ytPlayer&&this.ytPlayer.pauseVideo()},paused:function(){return!this.ytPlayer||this.lastState!==YT.PlayerState.PLAYING&&this.lastState!==YT.PlayerState.BUFFERING},currentTime:function(){return this.ytPlayer?this.ytPlayer.getCurrentTime():0},setCurrentTime:function(t){this.lastState===YT.PlayerState.PAUSED&&(this.timeBeforeSeek=this.currentTime()),this.isSeeking||(this.wasPausedBeforeSeek=this.paused()),this.ytPlayer.seekTo(t,!0),this.trigger("timeupdate"),this.trigger("seeking"),this.isSeeking=!0,this.lastState===YT.PlayerState.PAUSED&&this.timeBeforeSeek!==t&&(clearInterval(this.checkSeekedInPauseInterval),this.checkSeekedInPauseInterval=setInterval(function(){this.lastState===YT.PlayerState.PAUSED&&this.isSeeking?this.currentTime()!==this.timeBeforeSeek&&(this.trigger("timeupdate"),this.onSeeked()):clearInterval(this.checkSeekedInPauseInterval)}.bind(this),250))},seeking:function(){return this.isSeeking},seekable:function(){var t;return this.ytPlayer&&this.ytPlayer.getVideoLoadedFraction?(t=this.ytPlayer.getDuration(),{length:this.ytPlayer.getDuration(),start:function(){return 0},end:function(){return t}}):{length:0,start:function(){throw new Error("This TimeRanges object is empty")},end:function(){throw new Error("This TimeRanges object is empty")}}},onSeeked:function(){clearInterval(this.checkSeekedInPauseInterval),this.isSeeking=!1,this.wasPausedBeforeSeek&&this.pause(),this.trigger("seeked")},playbackRate:function(){return this.ytPlayer?this.ytPlayer.getPlaybackRate():1},setPlaybackRate:function(t){this.ytPlayer&&(this.ytPlayer.setPlaybackRate(t),this.trigger("ratechange"))},duration:function(){return this.ytPlayer?this.ytPlayer.getDuration():0},currentSrc:function(){return this.source&&this.source.src},ended:function(){return!!this.ytPlayer&&this.lastState===YT.PlayerState.ENDED},volume:function(){return this.ytPlayer?this.ytPlayer.getVolume()/100:1},setVolume:function(t){this.ytPlayer&&(this.ytPlayer.setVolume(100*t),this.setTimeout(function(){this.trigger("volumechange")},50))},muted:function(){return!!this.ytPlayer&&this.ytPlayer.isMuted()},setMuted:function(t){this.ytPlayer&&(this.muted(!0),t?this.ytPlayer.mute():this.ytPlayer.unMute(),this.setTimeout(function(){this.trigger("volumechange")},50))},buffered:function(){var t;return this.ytPlayer&&this.ytPlayer.getVideoLoadedFraction?(t=this.ytPlayer.getVideoLoadedFraction()*this.ytPlayer.getDuration(),{length:this.ytPlayer.getDuration(),start:function(){return 0},end:function(){return t}}):{length:0,start:function(){throw new Error("This TimeRanges object is empty")},end:function(){throw new Error("This TimeRanges object is empty")}}},preload:function(){},load:function(){},reset:function(){},supportsFullScreen:function(){return!0},checkHighResPoster:function(){var t="https://img.youtube.com/vi/"+this.url.videoId+"/maxresdefault.jpg";try{var e=new Image;e.onload=function(){if("naturalHeight"in e){if(e.naturalHeight<=90||e.naturalWi
1dth<=120)return}else if(e.height<=90||e.width<=120)return;this.poster_=t,this.trigger("posterchange")}.bind(this),e.onerror=function(){},e.src=t}catch(t){}}}),c=(l.isSupported=function(){return!0},l.canPlaySource=function(t){return l.canPlayType(t.type)},l.canPlayType=function(t){return"video/youtube"===t},t.browser.IS_IOS||(e=window.navigator.userAgent.match(/applewebkit\/(\d*).*Version\/(\d*.\d*)/i),t.browser.IS_ANDROID&&t.browser.ANDROID_VERSION<5&&e&&0<e[2]));l.parseUrl=function(t){var e={videoId:null},n=t.match(/^.*(youtu.be\/|v\/|u\/\w\/|embed\/|watch\?v=|\&v=)([^#\&\?]*).*/);n&&11===n[2].length&&(e.videoId=n[2]);return(n=t.match(/[?&]list=([^#\&\?]+)/))&&n[1]&&(e.listId=n[1]),e},l.apiReadyQueue=[],(()=>{try{for(var t=Cookies.get("OptanonConsent").split("&"),e=0;e<t.length;e++){if(-1!==t[e].indexOf("groups=")&&-1!==t[e].indexOf("C0004:1"))return 1;if(-1!==t[e].indexOf("groups=")&&-1!==t[e].indexOf("C0004:0"))return}}catch(t){}})()&&(e="https://www.youtube.com/iframe_api",i=!(n=function(){YT.ready(function(){l.isApiReady=!0;for(var t=0;t<l.apiReadyQueue.length;++t)l.apiReadyQueue[t].initYTPlayer()})}),o=document.createElement("script"),(r=document.getElementsByTagName("script")[0]).parentNode.insertBefore(o,r),o.onload=function(){i||(i=!0,n())},o.onreadystatechange=function(){i||"complete"!==this.readyState&&"loaded"!==this.readyState||(i=!0,n())},o.src=e),r=".vjs-youtube .vjs-iframe-blocker { display: none; }.vjs-youtube.vjs-user-inactive .vjs-iframe-blocker { display: block; }.vjs-youtube .vjs-poster { background-size: cover; }.vjs-youtube-mobile .vjs-big-play-button { display: none; }",o=document.head||document.getElementsByTagName("head")[0],(s=document.createElement("style")).type="text/css",s.styleSheet?s.styleSheet.cssText=r:s.appendChild(document.createTextNode(r)),o.appendChild(s),void 0!==t.registerTech?t.registerTech("Youtube",l):t.registerComponent("Youtube",l)}),"undefined"==typeof jQuery)throw new Error("jQuery is not loaded");$.fn.zabuto_calendar=function(t){var n=$.extend({},$.fn.zabuto_calendar_defaults(),t),t=$.fn.zabuto_calendar_language(n.language),n=$.extend({},n,t);return this.each(function(){var t,e,o=$(this);function l(t,e,n,i){var r=new Date(n,i,1,0,0,0,0);return t.data("currDate",r),e.empty(),e=((t,e,n,i)=>{t.data("ajaxSettings");var r=((t,e)=>{var n=v(t,e),i=g(t,e,1),t=g(t,e,n),e=n;return 0<(n=i-t)&&(e+=n),Math.ceil(e/7)})(n,i),o=v(n,i),s=g(n,i,1),a=g(n,i,o),l=1;0===t.data("weekStartsOn")&&(6==a&&r++,6!=s||0!=a&&1!=a&&5!=a||r--,7==++s)&&(s=0);for(var c=0;c<r;c++){for(var u,p,h=$('<tr class="calendar-dow"></tr>'),d=0;d<7;d++)d<s||o<l?h.append("<td></td>"):(p=t.attr("id")+"_"+f(n,i,l),(u=$('<div id="'+(p+"_day")+'" class="day" >'+l+"</div>")).data("day",l),!0===t.data("showToday")&&((t,e,n)=>{var i=new Date;return new Date(t,e,n).toDateString()==i.toDateString()})(n,i,l)&&u.html('<span class="badge badge-today">'+l+"</span>"),(p=$('<td id="'+p+'"></td>')).append(u),p.data("date",f(n,i,l)),p.data("hasEvent",!1),"function"==typeof t.data("actionFunction")&&(p.addClass("dow-clickable"),p.click(function(){t.data("selectedDate",$(this).data("date"))}),p.click(t.data("actionFunction"))),h.append(p),l++),6==d&&(s=0);e.append(h)}return e})(t,e=((t,e)=>{var n,i,r;return!0===t.data("showDays")&&(n=t.data("weekStartsOn"),t=t.data("dowLabels"),0===n&&(n=$.extend([],t),i=new Array(n.pop()),t=i.concat(n)),r=$('<tr class="calendar-dow-header"></tr>'),$(t).each(function(t,e){r.append("<th>"+e+"</th>")}),e.append(r)),e})(t,e=((e,n,t,i)=>{var r=e.data("navIcons"),o=$('<span><span class="glyphicon glyphicon-chevron-left"></span></span>'),s=$('<span><span class="glyphicon glyphicon-chevron-right"></span></span>'),a=("object"==typeof r&&("prev"in r&&o.html(r.prev),"next"in r)&&s.html(r.next),"number"!=typeof(r=e.data("showPrevious"))&&!1!==r||(r=c(e.data("showPrevious"),!0)),$('<div class="calendar-month-navigation"></div>'));return a.attr("id",e.attr("id")+"_nav-prev"),a.data("navigation","prev"),!1!==r&&(prevMonth=i-1,prevYear=t,-1==prevMonth&&(prevYear-=1,prevMonth=11),a.data("to",{year:prevYear,month:prevMonth+1}),a.append(o),"function"==typeof e.data("actionNavFunction")&&a.click(e.data("actionNavFunction")),a.click(function(t){l(e,n,prevYear,prevMonth)})),"number"!=typeof(r=e.data("showNext"))&&!1!==r||(r=c(e.data("showNext"),!1)),(o=$('<div class="calendar-month-navigation"></div>')).attr("id",e.attr("id")+"_nav-next"),o.data("navigation","next"),!1!==r&&(nextMonth=i+1,nextYear=t,12==nextMonth&&(nextYear+=1,nextMonth=0),o.data("to",{year:nextYear,month:nextMonth+1}),o.append(s),"function"==typeof e.data("actionNavFunction")&&o.click(e.data("actionNavFunction")),o.click(function(t){l(e,n,nextYear,nextMonth)})),r=e.data("monthLabels"),s=$("<th></th>").append(a),a=$("<th></th>").append(o),(o=$("<span>"+r[i]+" "+t+"</span>")).dblclick(function(){var t=e.data("initDate");l(e,n,t.getFullYear(),t.getMonth())}),(r=$('<th colspan="5"></th>')).append(o),(i=$('<tr class="calendar-month-header"></tr>')).append(s,r,a),n.append(i),n})(t,e,n,i)),n,i),s(t,n,i),e}function s(t,e,n){var r,i,o=t.data("jsonData"),s=t.data("ajaxSettings");return t.data("events",!1),!1!==o?(i=(o=t).data("jsonData"),o.data("events",i),a(o,"json"),!0):!1!==s?(i=e,o=n,"object"!=typeof(s=(r=t).data("ajaxSettings"))||void 0===s.url?(alert("Invalid calendar event settings"),!1):(i={
1year:i,month:o+1},$.ajax({type:"GET",url:s.url,data:i,dataType:"json"}).done(function(n){var i=[];$.each(n,function(t,e){i.push(n[t])}),r.data("events",i),a(r,"ajax")}),!0)):void 0}function a(l,c){l.data("jsonData");var u=l.data("ajaxSettings"),t=l.data("events");!1!==t&&$(t).each(function(t,e){var n,i,r,o=l.attr("id")+"_"+e.date,s=$("#"+o),a=$("#"+o+"_day");s.data("hasEvent",!0),void 0!==e.title&&s.attr("title",e.title),void 0===e.classname?s.addClass("event"):(s.addClass("event-styled"),a.addClass(e.classname)),void 0!==e.badge&&!1!==e.badge&&(n=!0===e.badge?"":" badge-"+e.badge,i=a.data("day"),a.html('<span class="badge badge-event'+n+'">'+i+"</span>")),void 0!==e.body&&!(a=!1)===(a="json"===c&&void 0!==e.modal&&!0===e.modal||"ajax"===c&&"modal"in u&&!0===u.modal?!0:a)&&(s.addClass("event-clickable"),n=o,i=e.title,a=e.body,s=e.footer,e=$('<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>'),i=$('<h4 class="modal-title" id="'+n+'_modal_title">'+i+"</h4>"),(r=$('<div class="modal-header"></div>')).append(e),r.append(i),e=$('<div class="modal-body" id="'+n+'_modal_body">'+a+"</div>"),i=$('<div class="modal-footer" id="'+n+'_modal_footer"></div>'),void 0!==s&&(a=$("<div>"+s+"</div>"),i.append(a)),(s=$('<div class="modal-content"></div>')).append(r),s.append(e),s.append(i),(a=$('<div class="modal-dialog"></div>')).append(s),(r=$('<div class="modal fade" id="'+n+'_modal" tabindex="-1" role="dialog" aria-labelledby="'+n+'_modal_title" aria-hidden="true"></div>')).append(a),r.data("dateId",n),r.attr("dateId",n),e=r,$("body").append(e),$("#"+o).click(function(){$("#"+o+"_modal").modal()}))})}function f(t,e,n){return d=n<10?"0"+n:n,t+"-"+(m=(m=e+1)<10?"0"+m:m)+"-"+d}function g(t,e,n){t=new Date(t,e,n,0,0,0,0).getDay();return 0==t?t=6:t--,t}function v(t,e){for(var n,i,r,o=28;n=t,r=o+1,0<(i=e+1)&&i<13&&0<n&&n<32768&&0<r&&r<=new Date(n,i,0).getDate();)o++;return o}function c(t,e){!1===t&&(t=0);var n=o.data("currDate"),i=o.data("initDate"),r=12*(i.getFullYear()-n.getFullYear());if(r=(r-=n.getMonth()+1)+i.getMonth(),!0===e){if(r<parseInt(t)-1)return!0}else if(r>=0-parseInt(t))return!0;return!1}o.attr("id","zabuto_calendar_"+Math.floor(99999*Math.random()).toString(36)),o.data("initYear",n.year),o.data("initMonth",n.month),o.data("monthLabels",n.month_labels),o.data("weekStartsOn",n.weekstartson),o.data("navIcons",n.nav_icon),o.data("dowLabels",n.dow_labels),o.data("showToday",n.today),o.data("showDays",n.show_days),o.data("showPrevious",n.show_previous),o.data("showNext",n.show_next),o.data("cellBorder",n.cell_border),o.data("jsonData",n.data),o.data("ajaxSettings",n.ajax),o.data("legendList",n.legend),o.data("actionFunction",n.action),o.data("actionNavFunction",n.action_nav),t=parseInt(o.data("initYear")),e=parseInt(o.data("initMonth"))-1,t=new Date(t,e,1,0,0,0,0),o.data("initDate",t),e=!0===o.data("cellBorder")?" table-bordered":"",$tableObj=$('<table class="table'+e+'"></table>'),$tableObj=l(o,$tableObj,t.getFullYear(),t.getMonth()),$legendObj=(t=>{var o=$('<div class="legend" id="'+t.attr("id")+'_legend"></div>');return"object"==typeof(t=t.data("legendList"))&&0<t.length&&$(t).each(function(t,e){if("object"==typeof e&&"type"in e){var n,i,r="";switch("label"in e&&(r=e.label),e.type){case"text":""!==r&&(n="","badge"in e&&(n='<span class="badge '+(void 0===e.classname?"badge-event":e.classname)+'">'+e.badge+"</span> "),o.append('<span class="legend-'+e.type+'">'+n+r+"</span>"));break;case"block":n=void 0===e.classname?"event":"event-styled "+e.classname,o.append('<span class="legend-'+e.type+'"><ul class="legend"><li class="'+n+'"></li></u>'+(r=""!==r?"<span>"+r+"</span>":r)+"</span>");break;case"list":"list"in e&&"object"==typeof e.list&&0<e.list.length&&(i=$('<ul class="legend"></u>'),$(e.list).each(function(t,e){i.append('<li class="'+e+'"></li>')}),o.append(i));break;case"spacer":o.append('<span class="legend-'+e.type+'"> </span>')}}}),o})(o),(e=$('<div class="zabuto_calendar" id="'+o.attr("id")+'"></div>')).append($tableObj),e.append($legendObj),o.append(e),!1!==o.data("jsonData")&&s(o,t.getFullYear(),t.getMonth())}),this},$.fn.zabuto_calendar_defaults=function(){var t=new Date;return{language:!1,year:t.getFullYear(),month:t.getMonth()+1,show_previous:!0,show_next:!0,cell_border:!1,today:!1,show_days:!0,weekstarts
1on:1,nav_icon:!1,data:!1,ajax:!1,legend:!1,action:!1,action_nav:!1}},$.fn.zabuto_calendar_language=function(t){switch((t=void 0!==t&&!1!==t?t:"en").toLowerCase()){case"de":return{month_labels:["Januar","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"],dow_labels:["Mo","Di","Mi","Do","Fr","Sa","So"]};case"en":return{month_labels:["January","February","March","April","May","June","July","August","September","October","November","December"],dow_labels:["Mon","Tue","Wed","Thu","Fri","Sat","Sun"]};case"ar":return{month_labels:["ÙÙØ§Ùر","ÙØ¨Ø±Ø§Ùر","Ù
ارس","أبرÙÙ","Ù
اÙÙ","ÙÙÙÙÙ","ÙÙÙÙÙ","أغسطس","سبتÙ
بر","Ø£ÙØªÙبر","ÙÙÙÙ
بر","Ø¯ÙØ³Ù
بر"],dow_labels:["أثÙÙÙ","Ø«ÙØ§Ø«Ø§Ø¡","اربعاء","Ø®Ù
ÙØ³","جÙ
عÙ","سبت","Ø£ØØ¯"]};case"es":return{month_labels:["Enero","Febrero","Marzo","Abril","Mayo","Junio","Julio","Agosto","Septiembre","Octubre","Noviembre","Diciembre"],dow_labels:["Lu","Ma","Mi","Ju","Vi","Sá","Do"]};case"fr":return{month_labels:["Janvier","Février","Mars","Avril","Mai","Juin","Juillet","Août","Septembre","Octobre","Novembre","Décembre"],dow_labels:["Lun","Mar","Mer","Jeu","Ven","Sam","Dim"]};case"it":return{month_labels:["Gennaio","Febbraio","Marzo","Aprile","Maggio","Giugno","Luglio","Agosto","Settembre","Ottobre","Novembre","Dicembre"],dow_labels:["Lun","Mar","Mer","Gio","Ven","Sab","Dom"]};case"nl":return{month_labels:["Januari","Februari","Maart","April","Mei","Juni","Juli","Augustus","September","Oktober","November","December"],dow_labels:["Ma","Di","Wo","Do","Vr","Za","Zo"]};case"pl":return{month_labels:["StyczeÅ","Luty","Marzec","KwiecieÅ","Maj","Czerwiec","Lipiec","SierpieÅ","WrzesieÅ","Październik","Listopad","GrudzieÅ"],dow_labels:["pon.","wt.","År.","czw.","pt.","sob.","niedz."]};case"pt":return{month_labels:["Janeiro","Fevereiro","Marco","Abril","Maio","Junho","Julho","Agosto","Setembro","Outubro","Novembro","Dezembro"],dow_labels:["S","T","Q","Q","S","S","D"]};case"ru":return{month_labels:["ЯнваÑÑ","ФевÑалÑ","ÐаÑÑ","ÐпÑелÑ","Ðай","ÐÑнÑ","ÐÑлÑ","ÐвгÑÑÑ","СенÑÑбÑÑ","ÐкÑÑбÑÑ","ÐоÑбÑÑ","ÐекабÑÑ"],dow_labels:["Ðн","ÐÑ","СÑ","ЧÑ","ÐÑ","Сб","ÐÑк"]};case"se":return{month_labels:["Januari","Februari","Mars","April","Maj","Juni","Juli","Augusti","September","Oktober","November","December"],dow_labels:["MÃ¥n","Tis","Ons","Tor","Fre","Lör","Sön"]};case"tr":return{month_labels:["Ocak","Åubat","Mart","Nisan","Mayıs","Haziran","Temmuz","AÄustos","Eylül","Ekim","Kasım","Aralık"],dow_labels:["Pts","Salı","Ãar","Per","Cuma","Cts","Paz"]}}};
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.