PageSourceSearch

https://www.elternschule-speyer.de/typo3conf/ext/as_template/Resou…/Public/JavaScript/vendor.min.js?1681716830

js elternschule-speyer.de collected 2026-10-01 23:52:22 UTC 576,962 bytes, 1 lines download raw bytes

1if("undefined"==typeof jQuery)throw new Error("Bootstrap's JavaScript requires jQuery");function MarkerClusterer(t,e,i){this.extend(MarkerClusterer,google.maps.OverlayView),this.map_=t,this.markers_=[],this.clusters_=[],this.markersCluster_={},this.markersUniqueID=1,this.sizes=[53,56,66,78,90],this.styles_=[],this.cssClass_="",this.cssDefaultClass_="cluster",this.setIndex_=0,this.ready_=!1;i=i||{};this.gridSize_=void 0!==i.gridSize?i.gridSize:60,this.minClusterSize_=i.minimumClusterSize||2,this.ignoreHiddenMarkers_=i.ignoreHiddenMarkers||!1,this.maxZoom_=i.maxZoom||null,this.styles_=i.styles||[],this.cssClass_=i.cssClass||null,this.imagePath_=i.imagePath||this.MARKER_CLUSTER_IMAGE_PATH_,this.imageExtension_=i.imageExtension||this.MARKER_CLUSTER_IMAGE_EXTENSION_,this.zoomOnClick_=!0,null!=i.zoomOnClick&&(this.zoomOnClick_=i.zoomOnClick),this.averageCenter_=!1,null!=i.averageCenter&&(this.averageCenter_=i.averageCenter),this.onMouseoverCluster_=i.onMouseoverCluster,this.onMouseoutCluster_=i.onMouseoutCluster,this.drawCluster_=i.drawCluster,this.hideCluster_=i.hideCluster,this.showCluster_=i.showCluster,this.onAddCluster_=i.onAddCluster,this.onRemoveCluster_=i.onRemoveCluster,this.setupStyles_(),this.setMap(t),this.prevZoom_=this.map_.getZoom();var s=this;google.maps.event.addListener(this.map_,"zoom_changed",function(){var t=s.map_.getZoom();s.prevZoom_!=t&&(s.prevZoom_=t,s.resetViewport())}),google.maps.event.addListener(this.map_,"idle",function(){s.redraw()}),e&&e.length&&this.addMarkers(e,!1)}function Cluster(t){this.markerClusterer_=t,this.map_=t.getMap(),this.gridSize_=t.getGridSize(),this.minClusterSize_=t.getMinClusterSize(),this.averageCenter_=t.isAverageCenter(),this.center_=null,this.markers_=[],this.bounds_=null,this.clusterIcon_=new ClusterIcon(this,t.getStyles(),t.getGridSize())}function ClusterIcon(t,e,i){t.getMarkerClusterer().extend(ClusterIcon,google.maps.OverlayView),this.styles_=e,this.padding_=i||0,this.cluster_=t,this.center_=null,this.map_=t.getMap(),this.div_=null,this.sums_=null,this.visible_=!1,this.setMap(this.map_)}function defaultClusterOnAdd(e){var t;e.div_=document.createElement("DIV"),e.visible_&&(t=e.getPosFromLatLng_(e.center_),e.div_.style.cssText=e.createCss(t),e.div_.innerHTML=e.sums_.text,e.addClass()),e.getPanes().overlayMouseTarget.appendChild(e.div_);var i=!1,s=!1;google.maps.event.addDomListener(e.div_,"click",function(t){i||e.triggerClusterClick(t)}),google.maps.event.addDomListener(e.div_,"mousedown",function(){s=!(i=!1)}),google.maps.event.addDomListener(e.div_,"mouseup",function(){s=i=!1}),google.maps.event.addDomListener(e.div_,"mousemove",function(){s&&(i=!0)}),google.maps.event.addDomListener(e.div_,"mouseover",function(t){e.triggerClusterMouseover(t)}),google.maps.event.addDomListener(e.div_,"mouseout",function(t){e.triggerClusterMouseout(t)})}function defaultClusterDraw(t){var e;t.visible_&&(e=t.getPosFromLatLng_(t.center_),t.div_.style.top=e.y+"px",t.div_.style.left=e.x+"px")}function defaultClusterHide(t){t.div_&&(t.div_.style.display="none",t.div_.className=""),t.visible_=!1}function defaultClusterShow(t){var e;t.div_&&(e=t.getPosFromLatLng_(t.center_),t.div_.style.cssText=t.createCss(e),t.div_.style.display="",t.addClass()),t.visible_=!0}function defaultClusterOnRemove(t){t.div_&&t.div_.parentNode&&(t.hide(),t.div_.parentNode.removeChild(t.div_),t.div_=null)}!function(){"use strict";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")}(),function(s){"use strict";s.fn.emulateTransitionEnd=function(t){var e=!1,i=this;s(this).one("bsTransitionEnd",function(){e=!0});return setTimeout(function(){e||s(i).trigger(s.support.transition.end)},t),this},s(function(){s.support.transition=function(){var t,e=document.createElement("bootstrap"),i={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(t in i)if(void 0!==e.style[t])return{end:i[t]};return!1}(),s.support.transition&&(s.event.special.bsTransitionEnd={bindType:s.support.transition.end,delegateType:s.support.transition.end,handle:function(t){if(s(t.target).is(this))return t.handleObj.handler.apply(this,arguments)}})})}(jQuery),function(o){"use strict";function r(t){o(t).on("click",e,this.close)}var e='[data-dismiss="alert"]';r.VERSION="3.3.7",r.TRANSITION_DURATION=150,r.prototype.close=function(t){var e=o(this),i=(i=e.attr("data-target"))||(i=e.attr("href"))&&i.replace(/.*(?=#[^\s]*$)/,""),s=o("#"===i?[]:i);function n(){s.detach().trigger("closed.bs.alert").remove()}t&&t.preventDefault(),(s=!s.length?e.closest(".alert"):s).trigger(t=o.Event("close.bs.alert")),t.isDefaultPrevented()||(s.removeClass("in"),o.support.transition&&s.hasClass("fade")?s.one("bsTransitionEnd",n).emulateTransitionEnd(r.TRANSITION_DURATION):n())};var t=o.fn.alert;o.fn.alert=function(i){return this.each(function(){var t=o(this),e=t.data("bs.alert");e||t.data("bs.alert",e=new r(this)),"string"==typeof i&&e[i].call(t)})},o.fn.alert.Constructor=r,o.fn.alert.noConflict=function(){return o.fn.alert=t,this},o(document).on("click.bs.alert.data-api",e,r.prototype.close)}(jQuery),function(o){"use strict";var s=function(t,e){this.$element=o(t),this.options=o.extend({},s.DEFAULTS,e),this.isLoading=!1};function i(i){return this.each(function(){var t=o(this),e=t.data("bs.button");e||t.data("bs.button",e=new s(this,"object"==typeof i&&i)),"toggle"==i?e.toggle(
vendor: 5,280 bytes, line 1
1):i&&e.setState(i)})}s.VERSION="3.3.7",s.DEFAULTS={loadingText:"loading..."},s.prototype.setState=function(t){var e="disabled",i=this.$element,s=i.is("input")?"val":"html",n=i.data();t+="Text",null==n.resetText&&i.data("resetText",i[s]()),setTimeout(o.proxy(function(){i[s]((null==n[t]?this.options:n)[t]),"loadingText"==t?(this.isLoading=!0,i.addClass(e).attr(e,e).prop(e,!0)):this.isLoading&&(this.isLoading=!1,i.removeClass(e).removeAttr(e).prop(e,!1))},this),0)},s.prototype.toggle=function(){var t,e=!0,i=this.$element.closest('[data-toggle="buttons"]');i.length?("radio"==(t=this.$element.find("input")).prop("type")?(t.prop("checked")&&(e=!1),i.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=i,o.fn.button.Constructor=s,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");i.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),function(h){"use strict";function c(t,e){this.$element=h(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",h.proxy(this.keydown,this)),"hover"!=this.options.pause||"ontouchstart"in document.documentElement||this.$element.on("mouseenter.bs.carousel",h.proxy(this.pause,this)).on("mouseleave.bs.carousel",h.proxy(this.cycle,this))}function n(n){return this.each(function(){var t=h(this),e=t.data("bs.carousel"),i=h.extend({},c.DEFAULTS,t.data(),"object"==typeof n&&n),s="string"==typeof n?n:i.slide;e||t.data("bs.carousel",e=new c(this,i)),"number"==typeof n?e.to(n):s?e[s]():i.interval&&e.pause().cycle()})}c.VERSION="3.3.7",c.TRANSITION_DURATION=600,c.DEFAULTS={interval:5e3,pause:"hover",wrap:!0,keyboard:!0},c.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()}},c.prototype.cycle=function(t){return t||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(h.proxy(this.next,this),this.options.interval)),this},c.prototype.getItemIndex=function(t){return this.$items=t.parent().children(".item"),this.$items.index(t||this.$active)},c.prototype.getItemForDirection=function(t,e){var i=this.getItemIndex(e);if(("prev"==t&&0===i||"next"==t&&i==this.$items.length-1)&&!this.options.wrap)return e;t=(i+("prev"==t?-1:1))%this.$items.length;return this.$items.eq(t)},c.prototype.to=function(t){var e=this,i=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)}):i==t?this.pause().cycle():this.slide(i<t?"next":"prev",this.$items.eq(t))},c.prototype.pause=function(t){return t||(this.paused=!0),this.$element.find(".next, .prev").length&&h.support.transition&&(this.$element.trigger(h.support.transition.end),this.cycle(!0)),this.interval=clearInterval(this.interval),this},c.prototype.next=function(){if(!this.sliding)return this.slide("next")},c.prototype.prev=function(){if(!this.sliding)return this.slide("prev")},c.prototype.slide=function(t,e){var i=this.$element.find(".item.active"),s=e||this.getItemForDirection(t,i),n=this.interval,o="next"==t?"left":"right",r=this;if(s.hasClass("active"))return this.sliding=!1;var a=s[0],e=h.Event("slide.bs.carousel",{relatedTarget:a,direction:o});if(this.$element.trigger(e),!e.isDefaultPrevented()){this.sliding=!0,n&&this.pause(),this.$indicators.length&&(this.$indicators.find(".active").removeClass("active"),(e=h(this.$indicators.children()[this.getItemIndex(s)]))&&e.addClass("active"));var l=h.Event("slid.bs.carousel",{relatedTarget:a,direction:o});return h.support.transition&&this.$element.hasClass("slide")?(s.addClass(t),s[0].offsetWidth,i.addClass(o),s.addClass(o),i.one("bsTransitionEnd",function(){s.removeClass([t,o].join(" ")).addClass("active"),i.removeClass(["active",o].join(" ")),r.sliding=!1,setTimeout(function(){r.$element.trigger(l)},0)}).emulateTransitionEnd(c.TRANSITION_DURATION)):(i.removeClass("active"),s.addClass("active"),this.sliding=!1,this.$element.trigger(l)),n&&this.cycle(),this}};var t=h.fn.carousel;h.fn.carousel=n,h.fn.carousel.Constructor=c,h.fn.carousel.noConflict=function(){return h.fn.carousel=t,this};function e(t){var e,i=h(this),s=h(i.attr("data-target")||(e=i.attr("href"))&&e.replace(/.*(?=#[^\s]+$)/,""));s.hasClass("carousel")&&(e=h.extend({}
vendor: 4,185 bytes, line 1
1,s.data(),i.data()),(i=i.attr("data-slide-to"))&&(e.interval=!1),n.call(s,e),i&&s.data("bs.carousel").to(i),t.preventDefault())}h(document).on("click.bs.carousel.data-api","[data-slide]",e).on("click.bs.carousel.data-api","[data-slide-to]",e),h(window).on("load",function(){h('[data-ride="carousel"]').each(function(){var t=h(this);n.call(t,t.data())})})}(jQuery),function(n){"use strict";var o=function(t,e){this.$element=n(t),this.options=n.extend({},o.DEFAULTS,e),this.$trigger=n('[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 i(t){var e=t.attr("data-target")||(e=t.attr("href"))&&e.replace(/.*(?=#[^\s]+$)/,"");return n(e)}function r(s){return this.each(function(){var t=n(this),e=t.data("bs.collapse"),i=n.extend({},o.DEFAULTS,t.data(),"object"==typeof s&&s);!e&&i.toggle&&/show|hide/.test(s)&&(i.toggle=!1),e||t.data("bs.collapse",e=new o(this,i)),"string"==typeof s&&e[s]()})}o.VERSION="3.3.7",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&&(s=t.data("bs.collapse"))&&s.transitioning)){var e=n.Event("show.bs.collapse");if(this.$element.trigger(e),!e.isDefaultPrevented()){t&&t.length&&(r.call(t,"hide"),s||t.data("bs.collapse",null));var i=this.dimension();this.$element.removeClass("collapse").addClass("collapsing")[i](0).attr("aria-expanded",!0),this.$trigger.removeClass("collapsed").attr("aria-expanded",!0),this.transitioning=1;var s=function(){this.$element.removeClass("collapsing").addClass("collapse in")[i](""),this.transitioning=0,this.$element.trigger("shown.bs.collapse")};if(!n.support.transition)return s.call(this);t=n.camelCase(["scroll",i].join("-"));this.$element.one("bsTransitionEnd",n.proxy(s,this)).emulateTransitionEnd(o.TRANSITION_DURATION)[i](this.$element[0][t])}}}},o.prototype.hide=function(){if(!this.transitioning&&this.$element.hasClass("in")){var t=n.Event("hide.bs.collapse");if(this.$element.trigger(t),!t.isDefaultPrevented()){var e=this.dimension();this.$element[e](this.$element[e]())[0].offsetHeight,this.$element.addClass("collapsing").removeClass("collapse in").attr("aria-expanded",!1),this.$trigger.addClass("collapsed").attr("aria-expanded",!1),this.transitioning=1;t=function(){this.transitioning=0,this.$element.removeClass("collapsing").addClass("collapse").trigger("hidden.bs.collapse")};if(!n.support.transition)return t.call(this);this.$element[e](0).one("bsTransitionEnd",n.proxy(t,this)).emulateTransitionEnd(o.TRANSITION_DURATION)}}},o.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()},o.prototype.getParent=function(){return n(this.options.parent).find('[data-toggle="collapse"][data-parent="'+this.options.parent+'"]').each(n.proxy(function(t,e){e=n(e);this.addAriaAndCollapsedClass(i(e),e)},this)).end()},o.prototype.addAriaAndCollapsedClass=function(t,e){var i=t.hasClass("in");t.attr("aria-expanded",i),e.toggleClass("collapsed",!i).attr("aria-expanded",i)};var t=n.fn.collapse;n.fn.collapse=r,n.fn.collapse.Constructor=o,n.fn.collapse.noConflict=function(){return n.fn.collapse=t,this},n(document).on("click.bs.collapse.data-api",'[data-toggle="collapse"]',function(t){var e=n(this);e.attr("data-target")||t.preventDefault();t=i(e),e=t.data("bs.collapse")?"toggle":e.data();r.call(t,e)})}(jQuery),function(n){"use strict";function s(t){n(t).on("click.bs.dropdown",this.toggle)}var o='[data-toggle="dropdown"]';function r(t){var e=t.attr("data-target"),e=(e=e||(e=t.attr("href"))&&/#[A-Za-z]/.test(e)&&e.replace(/.*(?=#[^\s]*$)/,""))&&n(e);return e&&e.length?e:t.parent()}function a(s){s&&3===s.which||(n(".dropdown-backdrop").remove(),n(o).each(function(){var t=n(this),e=r(t),i={relatedTarget:this};e.hasClass("open")&&(s&&"click"==s.type&&/input|textarea/i.test(s.target.tagName)&&n.c
vendor: 4,559 bytes, line 1
1ontains(e[0],s.target)||(e.trigger(s=n.Event("hide.bs.dropdown",i)),s.isDefaultPrevented()||(t.attr("aria-expanded","false"),e.removeClass("open").trigger(n.Event("hidden.bs.dropdown",i)))))}))}s.VERSION="3.3.7",s.prototype.toggle=function(t){var e=n(this);if(!e.is(".disabled, :disabled")){var i=r(e),s=i.hasClass("open");if(a(),!s){"ontouchstart"in document.documentElement&&!i.closest(".navbar-nav").length&&n(document.createElement("div")).addClass("dropdown-backdrop").insertAfter(n(this)).on("click",a);s={relatedTarget:this};if(i.trigger(t=n.Event("show.bs.dropdown",s)),t.isDefaultPrevented())return;e.trigger("focus").attr("aria-expanded","true"),i.toggleClass("open").trigger(n.Event("shown.bs.dropdown",s))}return!1}},s.prototype.keydown=function(t){if(/(38|40|27|32)/.test(t.which)&&!/input|textarea/i.test(t.target.tagName)){var e=n(this);if(t.preventDefault(),t.stopPropagation(),!e.is(".disabled, :disabled")){var i=r(e),s=i.hasClass("open");if(!s&&27!=t.which||s&&27==t.which)return 27==t.which&&i.find(o).trigger("focus"),e.trigger("click");e=i.find(".dropdown-menu li:not(.disabled):visible a");e.length&&(i=e.index(t.target),38==t.which&&0<i&&i--,40==t.which&&i<e.length-1&&i++,e.eq(i=!~i?0:i).trigger("focus"))}}};var t=n.fn.dropdown;n.fn.dropdown=function(i){return this.each(function(){var t=n(this),e=t.data("bs.dropdown");e||t.data("bs.dropdown",e=new s(this)),"string"==typeof i&&e[i].call(t)})},n.fn.dropdown.Constructor=s,n.fn.dropdown.noConflict=function(){return n.fn.dropdown=t,this},n(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,s.prototype.toggle).on("keydown.bs.dropdown.data-api",o,s.prototype.keydown).on("keydown.bs.dropdown.data-api",".dropdown-menu",s.prototype.keydown)}(jQuery),function(o){"use strict";function r(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.options.remote&&this.$element.find(".modal-content").load(this.options.remote,o.proxy(function(){this.$element.trigger("loaded.bs.modal")},this))}function n(s,n){return this.each(function(){var t=o(this),e=t.data("bs.modal"),i=o.extend({},r.DEFAULTS,t.data(),"object"==typeof s&&s);e||t.data("bs.modal",e=new r(this,i)),"string"==typeof s?e[s](n):i.show&&e.show(n)})}r.VERSION="3.3.7",r.TRANSITION_DURATION=300,r.BACKDROP_TRANSITION_DURATION=150,r.DEFAULTS={backdrop:!0,keyboard:!0,show:!0},r.prototype.toggle=function(t){return this.isShown?this.hide():this.show(t)},r.prototype.show=function(i){var s=this,t=o.Event("show.bs.modal",{relatedTarget:i});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(){s.$element.one("mouseup.dismiss.bs.modal",function(t){o(t.target).is(s.$element)&&(s.ignoreBackdropClick=!0)})}),this.backdrop(function(){var t=o.support.transition&&s.$element.hasClass("fade");s.$element.parent().length||s.$element.appendTo(s.$body),s.$element.show().scrollTop(0),s.adjustDialog(),t&&s.$element[0].offsetWidth,s.$element.addClass("in"),s.enforceFocus();var e=o.Event("shown.bs.modal",{relatedTarget:i});t?s.$dialog.one("bsTransitionEnd",function(){s.$element.trigger("focus").trigger(e)}).emulateTransitionEnd(r.TRANSITION_DURATION):s.$element.trigger("focus").trigger(e)}))},r.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(r.TRANSITION_DURATION):this.hideModal())},r.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))},r.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")},r.prototype.resize=function(){this.isShown?o(window).on("resize.bs.modal",o.proxy(this.handleUpdate,this)):o(window).off("resize.bs.modal")},r.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")})},r.prototype.removeBackdrop=function(){this.$backdrop&&this.$backdrop.remove(),this.$backdrop=null},r.prototype.backdrop=function(t){var e,i=this,s=this.$element.hasClass("fade")?"fade":"";this.isShown&&this.options.backdrop?(e=o.support.transition&&s,this.$backdrop=o(document.createElement("div")).addClass("modal-backdrop "+s).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(r.BACKDROP_TRANSITION_DURATION):t())):!this.isShown&&this.$backdrop?(this.$backdrop.removeClass("in"),e=function(){i.removeBackdrop(),t&&t()},o.support.transition&&this.$element.hasClass("fade")?this.$backdrop.one("bsTransitionEnd",e).emulateTransitionEnd(r.BACKDROP_TRANSITION_DURATION):e()):t&&t()},r.prototype.handleUpdate=function(){this.adjustDialog()},r.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:""})},r.prototype.resetAdjustments=function(){this.$element.css({paddingLeft:"",paddingRight:""})},r.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()},r.prototype.setScrollbar=function(){var t=parseInt(this.$body.css("padding-right")||0,10);this.originalBodyPad=document.body.style.paddingRight||"",this.bodyIsOverflowing&&this.$body.css("padding-right",t+this.scrollbarWidth)},r.prototype.resetScrollbar=function(){this.$body.css("padding-right",this.originalBodyPad)},r.prototype.measureScrollbar=function(){var t=document.createElement("div");t.className="modal-scrollbar-measure",this.$body.append(t);var e=t.offsetWidth-t.clientWidth;return this.$body[0].removeChild(t),e};var t=o.fn.modal;o.fn.modal=n,o.fn.modal.Constructor=r,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),i=e.attr("href"),s=o(e.attr("data-target")||i&&i.replace(/.*(?=#[^\s]+$)/,"")),i=s.data("bs.modal")?"toggle":o.extend({remote:!/#/.test(i)&&i},s.data(),e.data());e.is("a")&&t.preventDefault(),s.one("show.bs.modal",function(t){t.isDefaultPrevented()||s.one("hidden.bs.modal",function(){e.is(":visible")&&e.trigger("focus")})}),n.call(s,i,this)})}(jQuery),function(l){"use strict";function h(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)}h.VERSION="3.3.7",h.TRANSITION_DURATION=150,h.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}},h.prototype.init=function(t,e,i){if(this.enabled=!0,this.type=t,this.$element=l(e),this.options=this.getOptions(i),this.$viewport=this.options.viewport&&l(l.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 s=this.options.trigger.split(" "),n=s.length;n--;){var o,r=s[n];"click"==r?this.$element.on("click."+this.type,this.options.selector,l.proxy(this.toggle,this)):"manual"!=r&&(o="hover"==r?"mouseleave":"focusout",this.$element.on(("hover"==r?"mouseenter":"focusin")+"."+this.type,this.options.selector,l.proxy(this.enter,this)),this.$element.on(o+"."+this.type,this.options.selector,l.proxy(this.leave,this)))}this.options.selector?this._options=l.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},h.prototype.getDefaults=function(){return h.DEFAULTS},h.prototype.getOptions=function(t){return(t=l.extend({},this.getDefaults(),this.$element.data(),t)).delay&&"number"==typeof t.delay&&(t.delay={show:t.delay,hide:t.delay}),t},h.prototype.getDelegateOptions=function(){var i={},s=this.getDefaults();return this._options&&l.each(this._options,function(t,e){s[t]!=e&&(i[t]=e)}),i},h.prototype.enter=function(t){var e=t instanceof this.constructor?t:l(t.currentTarget).data("bs."+this.type);if(e||(e=new this.constructor(t.currentTarget,this.getDelegateOptions()),l(t.currentTarget).data("bs."+this.type,e)),t instanceof l.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)}},h.prototype.isInStateTrue=function(){for(var t in this.inState)if(this.inState[t])return!0;return!1},h.prototype.leave=function(t){var e=t instanceof this.constructor?t:l(t.currentTarget).data("bs."+this.type);if(e||(e=new this.constructor(t.currentTarget,this.getDelegateOptions()),l(t.currentTarget).data("bs."+this.type,e)),t instanceof l.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)}},h.prototype.show=function(){var e,t,i,s,n,o,r,a=l.Event("show.bs."+this.type);this.hasContent()&&this.enabled&&(this.$element.trigger(a),i=l.contains(this.$element[0].ownerDocument.documentElement,this.$element[0]),!a.isDefaultPrevented()&&i&&(t=(e=this).tip(),o=this.getUID(this.type),this.setContent(),t.attr("id",o),this.$element.attr("aria-describedby",o),this.options.animation&&t.addClass("fade"),r="function"==typeof this.options.placement?this.options.placement.call(this,t[0],this.$element[0]):this.options.placement,(n=(s=/\s?auto?\s?/i).test(r))&&(r=r.replace(s,"")||"top"),t.detach().css({top:0,left:0,display:"block"}).addClass(r).data("bs."+this.type,this),this.options.container?t.appendTo(this.options.container):t.insertAfter(this.$element),this.$element.trigger("inserted.bs."+this.type),a=this.getPosition(),i=t[0].offsetWidth,o=t[0].offsetHeight,n&&(s=r,n=this.getPosition(this.$viewport),r="bottom"==r&&a.bottom+o>n.bottom?"top":"top"==r&&a.top-o<n.top?"bottom":"right"==r&&a.right+i>n.width?"left":"left"==r&&a.left-i<n.left?"right":r,t.removeClass(s).addClass(r)),o=this.getCalculatedOffset(r,a,i,o),this.applyPlacement(o,r),r=function(){var t=e.hoverState;e.$element.trigger("shown.bs."+e.type),e.hoverState=null,"out"==t&&e.leave(e)},l.support.transition&&this.$tip.hasClass("fade")?t.one("bsTransitionEnd",r).emulateTransitionEnd(h.TRANSITION_DURATION):r()))},h.prototype.applyPlacement=function(t,e){var i=this.tip(),s=i[0].offsetWidth,n=i[0].offsetHeight,o=parseInt(i.css("margin-top"),10),r=parseInt(i.css("margin-left"),10);isNaN(o)&&(o=0),isNaN(r)&&(r=0),t.top+=o,t.left+=r,l.offset.setOffset(i[0],l.extend({using:function(t){i.css({top:Math.round(t.top),left:Math.round(t.left)})}},t),0),i.addClass("in");var a=i[0].offsetWidth,o=i[0].offsetHeight;"top"==e&&o!=n&&(t.top=t.top+n-o);r=this.getViewportAdjustedDelta(e,t,a,o);r.left?t.left+=r.left:t.top+=r.top;e=/top|bottom/.test(e),n=e?2*r.left-s+a:2*r.top-n+o,o=e?"offsetWidth":"offsetHeight";i.offset(t),this.replaceArrow(n,i[0][o],e)},h.prototype.replaceArrow=function(t,e,i){this.arrow().css(i?"left":"top",50*(1-t/e)+"%").css(i?"top":"left","")},h.prototype.setContent=function(){var t=this.tip(),e=this.getTitle();t.find(".tooltip-inner")[this.options.html?"html":"text"](e),t.removeClass("fade in top bottom left right")},h.prototype.hide=function(t){var e=this,i=l(this.$tip),s=l.Event("hide.bs."+this.type);function n(){"in"!=e.hoverState&&i.detach(),e.$element&&e.$element.removeAttr("aria-describedby").trigger("hidden.bs."+e.type),t&&t()}if(this.$element.trigger(s),!s.isDefaultPrevented())return i.removeClass("in"),l.support.transition&&i.hasClass("fade")?i.one("bsTransitionEnd",n).emulateTransitionEnd(h.TRANSITION_DURATION):n(),this.hoverState=null,this},h.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","")},h.prototype.hasContent=function(){return this.getTitle()},h.prototype.getPosition=function(t){var e=(t=t||this.$element)[0],i="BODY"==e.tagName,s=e.getBoundingClientRect();null==s.width&&(s=l.extend({},s,{width:s.right-s.left,height:s.bottom-s.top}));e=window.SVGElement&&e instanceof window.SVGElement,e=i?{top:0,left:0}:e?null:t.offset(),t={scroll:i?document.documentElement.scrollTop||document.body.scrollTop:t.scrollTop()},i=i?{width:l(window).width(),height:l(window).height()}:null;return l.extend({},s,t,i,e)}
vendor: 7,105 bytes, line 1
1,h.prototype.getCalculatedOffset=function(t,e,i,s){return"bottom"==t?{top:e.top+e.height,left:e.left+e.width/2-i/2}:"top"==t?{top:e.top-s,left:e.left+e.width/2-i/2}:"left"==t?{top:e.top+e.height/2-s/2,left:e.left-i}:{top:e.top+e.height/2-s/2,left:e.left+e.width}},h.prototype.getViewportAdjustedDelta=function(t,e,i,s){var n={top:0,left:0};if(!this.$viewport)return n;var o,r=this.options.viewport&&this.options.viewport.padding||0,a=this.getPosition(this.$viewport);return/right|left/.test(t)?(t=e.top-r-a.scroll,o=e.top+r-a.scroll+s,t<a.top?n.top=a.top-t:o>a.top+a.height&&(n.top=a.top+a.height-o)):(o=e.left-r,i=e.left+r+i,o<a.left?n.left=a.left-o:i>a.right&&(n.left=a.left+a.width-i)),n},h.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)},h.prototype.getUID=function(t){for(;t+=~~(1e6*Math.random()),document.getElementById(t););return t},h.prototype.tip=function(){if(!this.$tip&&(this.$tip=l(this.options.template),1!=this.$tip.length))throw new Error(this.type+" `template` option must consist of exactly 1 top-level element!");return this.$tip},h.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},h.prototype.enable=function(){this.enabled=!0},h.prototype.disable=function(){this.enabled=!1},h.prototype.toggleEnabled=function(){this.enabled=!this.enabled},h.prototype.toggle=function(t){var e=this;t&&((e=l(t.currentTarget).data("bs."+this.type))||(e=new this.constructor(t.currentTarget,this.getDelegateOptions()),l(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)},h.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})};var t=l.fn.tooltip;l.fn.tooltip=function(s){return this.each(function(){var t=l(this),e=t.data("bs.tooltip"),i="object"==typeof s&&s;!e&&/destroy|hide/.test(s)||(e||t.data("bs.tooltip",e=new h(this,i)),"string"==typeof s&&e[s]())})},l.fn.tooltip.Constructor=h,l.fn.tooltip.noConflict=function(){return l.fn.tooltip=t,this}}(jQuery),function(n){"use strict";function o(t,e){this.init("popover",t,e)}if(!n.fn.tooltip)throw new Error("Popover requires tooltip.js");o.VERSION="3.3.7",o.DEFAULTS=n.extend({},n.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=n.extend({},n.fn.tooltip.Constructor.prototype)).constructor=o).prototype.getDefaults=function(){return o.DEFAULTS},o.prototype.setContent=function(){var t=this.tip(),e=this.getTitle(),i=this.getContent();t.find(".popover-title")[this.options.html?"html":"text"](e),t.find(".popover-content").children().detach().end()[this.options.html?"string"==typeof i?"html":"append":"text"](i),t.removeClass("fade top bottom left right in"),t.find(".popover-title").html()||t.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=n.fn.popover;n.fn.popover=function(s){return this.each(function(){var t=n(this),e=t.data("bs.popover"),i="object"==typeof s&&s;!e&&/destroy|hide/.test(s)||(e||t.data("bs.popover",e=new o(this,i)),"string"==typeof s&&e[s]())})},n.fn.popover.Constructor=o,n.fn.popover.noConflict=function(){return n.fn.popover=t,this}}(jQuery),function(n){"use strict";function s(t,e){this.$body=n(document.body),this.$scrollElement=n(t).is(document.body)?n(window):n(t),this.options=n.extend({},s.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",n.proxy(this.process,this)),this.refresh(),this.process()}function e(i){return this.each(function(){var t=n(this),e=t.data("bs.scrollspy");e||t.data("bs.scrollspy",e=new s(this,"object"==typeof i&&i)),"string"==typeof i&&e[i]()})}s.VERSION="3.3.7",s.DEFAULTS={offset:10},s.prototype.getScrollHeight=function(){return this.$scrollElement[0].scrollHeight||Math.max(this.$body[0].scrollHeight,document.documentElement.scrollHeight)},s.prototype.refresh=function(){var t=this,i="offset",s=0;this.offsets=[],this.targets=[],this.scrollHeight=this.getScrollHeight(),n.isWindow(this.$scrollElement[0])||(i="position",s=this.$scrollElement.scrollTop()),this.$body.find(this.selector).map(function(){var t=n(this),e=t.data("target")||t.attr("href"),t=/^#./.test(e)&&n(e);return t&&t.length&&t.is(":visible")?[[t[i]().top+s,e]]:null}).sort(function(t,e){return t[0]-e[0]}).each(function(){t.offsets.push(this[0]),t.targets.push(this[1])})},s.prototype.process=function(){var t,e=this.$scrollElement.scrollTop()+this.options.offset,i=this.getScrollHeight(),s=this.options.offset+i-this.$scrollElement.height(),n=this.offsets,o=this.targets,r=this.activeTarget;if(this.scrollHeight!=i&&this.refresh(),s<=e)return r!=(t=o[o.length-1])&&this.activate(t);if(r&&e<n[0])return this.activeTarget=null,this.clear();for(t=n.length;t--;)r!=o[t]&&e>=n[t]&&(void 0===n[t+1]||e<n[t+1])&&this.activate(o[t])},s.prototype.activate=function(t){this.activeTarget=t,this.clear();t=this.selector+'[data-target="'+t+'"],'+this.selector+'[href="'+t+'"]',t=n(t).parents("li").addClass("active");(t=t.parent(".dropdown-menu").length?t.closest("li.dropdown").addClass("active"):t).trigger("activate.bs.scrollspy")},s.prototype.clear=function(){n(this.selector).parentsUntil(this.options.target,".active").removeClass("active")};var t=n.fn.scrollspy;n.fn.scrollspy=e,n.fn.scrollspy.Constructor=s,n.fn.scrollspy.noConflict=function(){return n.fn.scrollspy=t,this},n(window).on("load.bs.scrollspy.data-api",function(){n('[data-spy="scroll"]').each(function(){var t=n(this);e.call(t,t.data())})})}(jQuery),function(r){"use strict";function a(t){this.element=r(t)}function e(i){return this.each(function(){var t=r(this),e=t.data("bs.tab");e||t.data("bs.tab",e=new a(this)),"string"==typeof i&&e[i]()})}a.VERSION="3.3.7",a.TRANSITION_DURATION=150,a.prototype.show=function(){var t,e,i,s=this.element,n=s.closest("ul:not(.dropdown-menu)"),o=(o=s.data("target"))||(o=s.attr("href"))&&o.replace(/.*(?=#[^\s]*$)/,"");s.parent("li").hasClass("active")||(t=n.find(".active:last a"),e=r.Event("hide.bs.tab",{relatedTarget:s[0]}),i=r.Event("show.bs.tab",{relatedTarget:t[0]}),t.trigger(e),s.trigger(i),i.isDefaultPrevented()||e.isDefaultPrevented()||(o=r(o),this.activate(s.closest("li"),n),this.activate(o,o.parent(),function(){t.trigger({type:"hidden.bs.tab",relatedTarget:s[0]}),s.trigger({type:"shown.bs.tab",relatedTarget:t[0]})})))}
1,a.prototype.activate=function(t,e,i){var s=e.find("> .active"),n=i&&r.support.transition&&(s.length&&s.hasClass("fade")||!!e.find("> .fade").length);function o(){s.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),n?(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),i&&i()}s.length&&n?s.one("bsTransitionEnd",o).emulateTransitionEnd(a.TRANSITION_DURATION):o(),s.removeClass("in")};var t=r.fn.tab;r.fn.tab=e,r.fn.tab.Constructor=a,r.fn.tab.noConflict=function(){return r.fn.tab=t,this};function i(t){t.preventDefault(),e.call(r(this),"show")}r(document).on("click.bs.tab.data-api",'[data-toggle="tab"]',i).on("click.bs.tab.data-api",'[data-toggle="pill"]',i)}(jQuery),function(r){"use strict";var a=function(t,e){this.options=r.extend({},a.DEFAULTS,e),this.$target=r(this.options.target).on("scroll.bs.affix.data-api",r.proxy(this.checkPosition,this)).on("click.bs.affix.data-api",r.proxy(this.checkPositionWithEventLoop,this)),this.$element=r(t),this.affixed=null,this.unpin=null,this.pinnedOffset=null,this.checkPosition()};function i(i){return this.each(function(){var t=r(this),e=t.data("bs.affix");e||t.data("bs.affix",e=new a(this,"object"==typeof i&&i)),"string"==typeof i&&e[i]()})}a.VERSION="3.3.7",a.RESET="affix affix-top affix-bottom",a.DEFAULTS={offset:0,target:window},a.prototype.getState=function(t,e,i,s){var n=this.$target.scrollTop(),o=this.$element.offset(),r=this.$target.height();if(null!=i&&"top"==this.affixed)return n<i&&"top";if("bottom"==this.affixed)return null!=i?!(n+this.unpin<=o.top)&&"bottom":!(n+r<=t-s)&&"bottom";var a=null==this.affixed,o=a?n:o.top;return null!=i&&n<=i?"top":null!=s&&t-s<=o+(a?r: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(r.proxy(this.checkPosition,this),1)},a.prototype.checkPosition=function(){if(this.$element.is(":visible")){var t=this.$element.height(),e=this.options.offset,i=e.top,s=e.bottom,n=Math.max(r(document).height(),r(document.body).height());"object"!=typeof e&&(s=i=e),"function"==typeof i&&(i=e.top(this.$element)),"function"==typeof s&&(s=e.bottom(this.$element));var o=this.getState(n,t,i,s);if(this.affixed!=o){null!=this.unpin&&this.$element.css("top","");e="affix"+(o?"-"+o:""),i=r.Event(e+".bs.affix");if(this.$element.trigger(i),i.isDefaultPrevented())return;this.affixed=o,this.unpin="bottom"==o?this.getPinnedOffset():null,this.$element.removeClass(a.RESET).addClass(e).trigger(e.replace("affix","affixed")+".bs.affix")}"bottom"==o&&this.$element.offset({top:n-t-s})}};var t=r.fn.affix;r.fn.affix=i,r.fn.affix.Constructor=a,r.fn.affix.noConflict=function(){return r.fn.affix=t,this},r(window).on("load",function(){r('[data-spy="affix"]').each(function(){var t=r(this),e=t.data();e.offset=e.offset||{},null!=e.offsetBottom&&(e.offset.bottom=e.offsetBottom),null!=e.offsetTop&&(e.offset.top=e.offsetTop),i.call(t,e)})})}(jQuery),function(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){if(t&&e){var i=this._events=this._events||{},t=i[t]=i[t]||[];return-1==t.indexOf(e)&&t.push(e),this}},e.once=function(t,e){if(t&&e){this.on(t,e);var i=this._onceEvents=this._onceEvents||{};return(i[t]=i[t]||{})[e]=!0,this}},e.off=function(t,e){t=this._events&&this._events[t];if(t&&t.length){e=t.indexOf(e);return-1!=e&&t.splice(e,1),this}},e.emitEvent=function(t,e){var i=this._events&&this._events[t];if(i&&i.length){i=i.slice(0),e=e||[];for(var s=this._onceEvents&&this._onceEvents[t],n=0;n<i.length;n++){var o=i[n];s&&s[o]&&(this.off(t,o),delete s[o]),o.apply(this,e)}return this}},e.allOff=function(){delete this._events,delete this._onceEvents},t}),function(e,i){"use strict";"function"==typeof define&&define.amd?define(["ev-emitter/ev-emitter"],function(t){return i(e,t)}):"object"==typeof module&&module.exports?module.exports=i(e,require("ev-emitter")):e.imagesLoaded=i(e,e.EvEmitter)}("undefined"!=typeof window?window:this,function(e,t){function o(t,e){for(var i in e)t[i]=e[i];return t}function r(t,e,i){if(!(this instanceof r))return new r(t,e,i);var s,n=t;return(n="string"==typeof t?document.querySelectorAll(t):n)?(this.elements=(s=n,Array.isArray(s)?s:"object"==typeof s&&"number"==typeof s.length?h.call(s):[s]),this.options=o({},this.options),"function"==typeof e?i=e:o(this.options,e),i&&this.on("always",i),this.getImages(),a&&(this.jqDeferred=new a.Deferred),void setTimeout(this.check.bind(this))):void l.error("Bad element for imagesLoaded "+(n||t))}function i(t){this.img=t}function s(t,e){this.url=t,this.element=e,this.img=new Image}var a=e.jQuery,l=e.console,h=Array.prototype.slice;(r.prototype=Object.create(t.prototype)).options={},r.prototype.getImages=function(){this.images=[],this.elements.forEac
1h(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&&c[e]){for(var i=t.querySelectorAll("img"),s=0;s<i.length;s++){var n=i[s];this.addImage(n)}if("string"==typeof this.options.background)for(var o=t.querySelectorAll(this.options.background),s=0;s<o.length;s++){var r=o[s];this.addElementBackgroundImages(r)}}};var c={1:!0,9:!0,11:!0};return r.prototype.addElementBackgroundImages=function(t){var e=getComputedStyle(t);if(e)for(var i=/url\((['"])?(.*?)\1\)/gi,s=i.exec(e.backgroundImage);null!==s;){var n=s&&s[2];n&&this.addBackground(n,t),s=i.exec(e.backgroundImage)}},r.prototype.addImage=function(t){t=new i(t);this.images.push(t)},r.prototype.addBackground=function(t,e){e=new s(t,e);this.images.push(e)},r.prototype.check=function(){function e(t,e,i){setTimeout(function(){s.progress(t,e,i)})}var s=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,i){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&&l&&l.log("progress: "+i,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))},(i.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))},i.prototype.getIsImageComplete=function(){return this.img.complete&&this.img.naturalWidth},i.prototype.confirm=function(t,e){this.isLoaded=t,this.emitEvent("progress",[this,this.img,e])},i.prototype.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},i.prototype.onload=function(){this.confirm(!0,"onload"),this.unbindEvents()},i.prototype.onerror=function(){this.confirm(!1,"onerror"),this.unbindEvents()},i.prototype.unbindEvents=function(){this.proxyImage.removeEventListener("load",this),this.proxyImage.removeEventListener("error",this),this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},(s.prototype=Object.create(i.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())},s.prototype.unbindEvents=function(){this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},s.prototype.confirm=function(t,e){this.isLoaded=t,this.emitEvent("progress",[this,this.element,e])},(r.makeJQueryPlugin=function(t){(t=t||e.jQuery)&&((a=t).fn.imagesLoaded=function(t,e){return new r(this,t,e).jqDeferred.promise(a(this))})})(),r}),function(h){h.fn.imagefill=function(t){var i=this,s=1,n=0,o=0,r=h.extend({},{runOnce:!1,target:"img",throttle:200},t),e=i.find(r.target).addClass("loading").css({position:"absolute"}),t=i.css("position");function a(){o=n=0,i.each(function(){s=h(this).find(r.target).width()/h(this).find(r.target).height();var t=h(this).outerWidth(),e=h(this).outerHeight();n+=h(this).outerHeight(),o+=h(this).outerWidth(),t/e<s?h(this).find(r.target).css({width:"auto",height:e,top:0,left:-(e*s-t)/2}):h(this).find(r.target).css({width:t,height:"auto",top:-(t/s-e)/2,left:0})})}function l(){var t=0,e=0;i.each(function(){e+=h(this).outerHeight(),t+=h(this).outerWidth()}),n===e&&o===t||a(),setTimeout(l,r.throttle)}return i.css({overflow:"hidden",position:"static"===t?"relative":t}),i.each(function(){n+=h(this).outerHeight(),o+=h(this).outerWidth()}),i.imagesLoaded().done(function(t){s=e.width()/e.height(),e.removeClass("loading"),a(),r.runOnce||l()}),this}}(jQuery),function(t){"function"==typeof define&&define.amd?define(["jquery"],t):t(jQuery)}(function(C){C.ui=C.ui||{};C.ui.version="1.12.1";var n,i=0,a=Array.prototype.slice;C.cleanData=(n=C.cleanData,function(t){for(var e,i,s=0;null!=(i=t[s]);s++)try{(e=C._data(i,"events"))&&e.remove&&C(i).triggerHandler("remove")}catch(t){}n(t)}),C.widget=function(t,i,e){var s,n,o,r={},a=t.split(".")[0],l=a+"-"+(t=t.split(".")[1]);return e||(e=i,i=C.Widget),C.isArray(e)&&(e=C.extend.apply(null,[{}].concat(e))),C.expr[":"][l.toLowerCase()]=function(t){return!!C.data(t,l)},C[a]=C[a]||{},s=C[a][t],n=C[a][t]=function(t,e){if(!this._createWidget)return new n(t,e);arguments.length&&this._createWidget(t,e)},C.extend(n,s,{version:e.version,_proto:C.extend({},e),_childConstructors:[]}),(o=new i).options=C.widget.extend({},o.options),C.each(e,function(e,s){function n(){return i.prototype[e].apply(this,arguments)}function o(t){return i.prototype[e].apply(this,t)}C.isFunction(s)?r[e]=function(){var t,e=this._super,i=this._superApply;return this._super=n,this._superApply=o,t=s.apply(this,arguments),this._super=e,this._superApply=i,t}:r[e]=s}),n.prototype=C.widget.extend(o,{widgetEventPrefix:s&&o.widgetEventPrefix||t},r,{constructor:n,namespace:a,widgetName:t,widgetFullName:l}),s?(C.each(s._childConstructors,function(t,e){var i=e.prototype;C.widget(i.namespace+"."+i.widgetName,n,e._proto)}),delete s._childConstructors):i._childConstructors.push(n),C.widget.bridge(t,n),n}
vendor: 4,237 bytes, line 1
1,C.widget.extend=function(t){for(var e,i,s=a.call(arguments,1),n=0,o=s.length;n<o;n++)for(e in s[n])i=s[n][e],s[n].hasOwnProperty(e)&&void 0!==i&&(C.isPlainObject(i)?t[e]=C.isPlainObject(t[e])?C.widget.extend({},t[e],i):C.widget.extend({},i):t[e]=i);return t},C.widget.bridge=function(o,e){var r=e.prototype.widgetFullName||o;C.fn[o]=function(i){var t="string"==typeof i,s=a.call(arguments,1),n=this;return t?this.length||"instance"!==i?this.each(function(){var t,e=C.data(this,r);return"instance"===i?(n=e,!1):e?C.isFunction(e[i])&&"_"!==i.charAt(0)?(t=e[i].apply(e,s))!==e&&void 0!==t?(n=t&&t.jquery?n.pushStack(t.get()):t,!1):void 0:C.error("no such method '"+i+"' for "+o+" widget instance"):C.error("cannot call methods on "+o+" prior to initialization; attempted to call method '"+i+"'")}):n=void 0:(s.length&&(i=C.widget.extend.apply(null,[i].concat(s))),this.each(function(){var t=C.data(this,r);t?(t.option(i||{}),t._init&&t._init()):C.data(this,r,new e(i,this))})),n}},C.Widget=function(){},C.Widget._childConstructors=[],C.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",defaultElement:"<div>",options:{classes:{},disabled:!1,create:null},_createWidget:function(t,e){e=C(e||this.defaultElement||this)[0],this.element=C(e),this.uuid=i++,this.eventNamespace="."+this.widgetName+this.uuid,this.bindings=C(),this.hoverable=C(),this.focusable=C(),this.classesElementLookup={},e!==this&&(C.data(e,this.widgetFullName,this),this._on(!0,this.element,{remove:function(t){t.target===e&&this.destroy()}}),this.document=C(e.style?e.ownerDocument:e.document||e),this.window=C(this.document[0].defaultView||this.document[0].parentWindow)),this.options=C.widget.extend({},this.options,this._getCreateOptions(),t),this._create(),this.options.disabled&&this._setOptionDisabled(this.options.disabled),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:function(){return{}},_getCreateEventData:C.noop,_create:C.noop,_init:C.noop,destroy:function(){var i=this;this._destroy(),C.each(this.classesElementLookup,function(t,e){i._removeClass(e,t)}),this.element.off(this.eventNamespace).removeData(this.widgetFullName),this.widget().off(this.eventNamespace).removeAttr("aria-disabled"),this.bindings.off(this.eventNamespace)},_destroy:C.noop,widget:function(){return this.element},option:function(t,e){var i,s,n,o=t;if(0===arguments.length)return C.widget.extend({},this.options);if("string"==typeof t)if(o={},t=(i=t.split(".")).shift(),i.length){for(s=o[t]=C.widget.extend({},this.options[t]),n=0;n<i.length-1;n++)s[i[n]]=s[i[n]]||{},s=s[i[n]];if(t=i.pop(),1===arguments.length)return void 0===s[t]?null:s[t];s[t]=e}else{if(1===arguments.length)return void 0===this.options[t]?null:this.options[t];o[t]=e}return this._setOptions(o),this},_setOptions:function(t){for(var e in t)this._setOption(e,t[e]);return this},_setOption:function(t,e){return"classes"===t&&this._setOptionClasses(e),this.options[t]=e,"disabled"===t&&this._setOptionDisabled(e),this},_setOptionClasses:function(t){var e,i,s;for(e in t)s=this.classesElementLookup[e],t[e]!==this.options.classes[e]&&s&&s.length&&(i=C(s.get()),this._removeClass(s,e),i.addClass(this._classes({element:i,keys:e,classes:t,add:!0})))},_setOptionDisabled:function(t){this._toggleClass(this.widget(),this.widgetFullName+"-disabled",null,!!t),t&&(this._removeClass(this.hoverable,null,"ui-state-hover"),this._removeClass(this.focusable,null,"ui-state-focus"))},enable:function(){return this._setOptions({disabled:!1})},disable:function(){return this._setOptions({disabled:!0})},_classes:function(n){var o=[],r=this;function t(t,e){for(var i,s=0;s<t.length;s++)i=r.classesElementLookup[t[s]]||C(),i=n.add?C(C.unique(i.get().concat(n.element.get()))):C(i.not(n.element).get()),r.classesElementLookup[t[s]]=i,o.push(t[s]),e&&n.classes[t[s]]&&o.push(n.classes[t[s]])}return n=C.extend({element:this.element,classes:this.options.classes||{}},n),this._on(n.element,{remove:"_untrackClassesElement"}),n.keys&&t(n.keys.match(/\S+/g)||[],!0),n.extra&&t(n.extra.match(/\S+/g)||[]),o.join(" ")},_untrackClassesElement:function(i){var s=this;C.each(s.classesElementLookup,function(t,e){-1!==C.inArray(i.target,e)&&(s.classesElementLookup[t]=C(e.not(i.target).get()))})}
vendor: 4,850 bytes, line 1
1,_removeClass:function(t,e,i){return this._toggleClass(t,e,i,!1)},_addClass:function(t,e,i){return this._toggleClass(t,e,i,!0)},_toggleClass:function(t,e,i,s){var n="string"==typeof t||null===t,i={extra:n?e:i,keys:n?t:e,element:n?this.element:t,add:s="boolean"==typeof s?s:i};return i.element.toggleClass(this._classes(i),s),this},_on:function(n,o,t){var r,a=this;"boolean"!=typeof n&&(t=o,o=n,n=!1),t?(o=r=C(o),this.bindings=this.bindings.add(o)):(t=o,o=this.element,r=this.widget()),C.each(t,function(t,e){function i(){if(n||!0!==a.options.disabled&&!C(this).hasClass("ui-state-disabled"))return("string"==typeof e?a[e]:e).apply(a,arguments)}"string"!=typeof e&&(i.guid=e.guid=e.guid||i.guid||C.guid++);var s=t.match(/^([\w:-]*)\s*(.*)$/),t=s[1]+a.eventNamespace,s=s[2];s?r.on(t,s,i):o.on(t,i)})},_off:function(t,e){e=(e||"").split(" ").join(this.eventNamespace+" ")+this.eventNamespace,t.off(e).off(e),this.bindings=C(this.bindings.not(t).get()),this.focusable=C(this.focusable.not(t).get()),this.hoverable=C(this.hoverable.not(t).get())},_delay:function(t,e){var i=this;return setTimeout(function(){return("string"==typeof t?i[t]:t).apply(i,arguments)},e||0)},_hoverable:function(t){this.hoverable=this.hoverable.add(t),this._on(t,{mouseenter:function(t){this._addClass(C(t.currentTarget),null,"ui-state-hover")},mouseleave:function(t){this._removeClass(C(t.currentTarget),null,"ui-state-hover")}})},_focusable:function(t){this.focusable=this.focusable.add(t),this._on(t,{focusin:function(t){this._addClass(C(t.currentTarget),null,"ui-state-focus")},focusout:function(t){this._removeClass(C(t.currentTarget),null,"ui-state-focus")}})},_trigger:function(t,e,i){var s,n,o=this.options[t];if(i=i||{},(e=C.Event(e)).type=(t===this.widgetEventPrefix?t:this.widgetEventPrefix+t).toLowerCase(),e.target=this.element[0],n=e.originalEvent)for(s in n)s in e||(e[s]=n[s]);return this.element.trigger(e,i),!(C.isFunction(o)&&!1===o.apply(this.element[0],[e].concat(i))||e.isDefaultPrevented())}},C.each({show:"fadeIn",hide:"fadeOut"},function(o,r){C.Widget.prototype["_"+o]=function(e,t,i){var s=(t="string"==typeof t?{effect:t}:t)?!0!==t&&"number"!=typeof t&&t.effect||r:o,n=!C.isEmptyObject(t="number"==typeof(t=t||{})?{duration:t}:t);t.complete=i,t.delay&&e.delay(t.delay),n&&C.effects&&C.effects.effect[s]?e[o](t):s!==o&&e[s]?e[s](t.duration,t.easing,i):e.queue(function(t){C(this)[o](),i&&i.call(e[0]),t()})}});var s,k,T,o,r,l,h,c,x;C.widget;function S(t,e,i){return[parseFloat(t[0])*(c.test(t[0])?e/100:1),parseFloat(t[1])*(c.test(t[1])?i/100:1)]}function E(t,e){return parseInt(C.css(t,e),10)||0}k=Math.max,T=Math.abs,o=/left|center|right/,r=/top|center|bottom/,l=/[\+\-]\d+(\.[\d]+)?%?/,h=/^\w+/,c=/%$/,x=C.fn.position,C.position={scrollbarWidth:function(){if(void 0!==s)return s;var t,e=C("<div style='display:block;position:absolute;width:50px;height:50px;overflow:hidden;'><div style='height:100px;width:auto;'></div></div>"),i=e.children()[0];return C("body").append(e),t=i.offsetWidth,e.css("overflow","scroll"),t===(i=i.offsetWidth)&&(i=e[0].clientWidth),e.remove(),s=t-i},getScrollInfo:function(t){var e=t.isWindow||t.isDocument?"":t.element.css("overflow-x"),i=t.isWindow||t.isDocument?"":t.element.css("overflow-y"),e="scroll"===e||"auto"===e&&t.width<t.element[0].scrollWidth;return{width:"scroll"===i||"auto"===i&&t.height<t.element[0].scrollHeight?C.position.scrollbarWidth():0,height:e?C.position.scrollbarWidth():0}},getWithinInfo:function(t){var e=C(t||window),i=C.isWindow(e[0]),s=!!e[0]&&9===e[0].nodeType;return{element:e,isWindow:i,isDocument:s,offset:!i&&!s?C(t).offset():{left:0,top:0},scrollLeft:e.scrollLeft(),scrollTop:e.scrollTop(),width:e.outerWidth(),height:e.outerHeight()}}},C.fn.position=function(u){if(!u||!u.of)return x.apply(this,arguments);u=C.extend({},u);var d,p,f,g,m,t,v=C(u.of),y=C.position.getWithinInfo(u.within),_=C.position.getScrollInfo(y),b=(u.collision||"flip").split(" "),w={},e=9===(t=(e=v)[0]).nodeType?{width:e.width(),height:e.height(),offset:{top:0,left:0}}:C.isWindow(t)?{width:e.width(),height:e.height(),offset:{top:e.scrollTop(),left:e.scrollLeft()}}:t.preventDefault?{width:0,height:0,offset:{top:t.pageY,left:t.pageX}}:{width:e.outerWidth(),height:e.outerHeight(),offset:e.offset()};return v[0].preventDefault&&(u.at="left top"),p=e.width,f=e.height,m=C.extend({},g=e.offset),C.each(["my","at"],function(){var t,e,i=(u[this]||"").split(" ");(i=1===i.length?o.test(i[0])?i.concat(["center"]):r.test(i[0])?["center"].concat(i):["center","center"]:i)[0]=o.test(i[0])?i[0]:"center",i[1]=r.test(i[1])?i[1]:"center",t=l.exec(i[0]),e=l.exec(i[1]),w[this]=[t?t[0]:0,e?e[0]:0],u[this]=[h.exec(i[0])[0],h.exec(i[1])[0]]}),1===b.length&&(b[1]=b[0]),"right"===u.at[0]?m.left+=p:"center"===u.at[0]&&(m.left+=p/2),"bottom"===u.at[1]?m.top+=f:"center"===u.at[1]&&(m.top+=f/2),d=S(w.at,p,f),m.left+=d[0],m.to
vendor: 2,207 bytes, line 1
1p+=d[1],this.each(function(){var i,t,r=C(this),a=r.outerWidth(),l=r.outerHeight(),e=E(this,"marginLeft"),s=E(this,"marginTop"),n=a+e+E(this,"marginRight")+_.width,o=l+s+E(this,"marginBottom")+_.height,h=C.extend({},m),c=S(w.my,r.outerWidth(),r.outerHeight());"right"===u.my[0]?h.left-=a:"center"===u.my[0]&&(h.left-=a/2),"bottom"===u.my[1]?h.top-=l:"center"===u.my[1]&&(h.top-=l/2),h.left+=c[0],h.top+=c[1],i={marginLeft:e,marginTop:s},C.each(["left","top"],function(t,e){C.ui.position[b[t]]&&C.ui.position[b[t]][e](h,{targetWidth:p,targetHeight:f,elemWidth:a,elemHeight:l,collisionPosition:i,collisionWidth:n,collisionHeight:o,offset:[d[0]+c[0],d[1]+c[1]],my:u.my,at:u.at,within:y,elem:r})}),u.using&&(t=function(t){var e=g.left-h.left,i=e+p-a,s=g.top-h.top,n=s+f-l,o={target:{element:v,left:g.left,top:g.top,width:p,height:f},element:{element:r,left:h.left,top:h.top,width:a,height:l},horizontal:i<0?"left":0<e?"right":"center",vertical:n<0?"top":0<s?"bottom":"middle"};p<a&&T(e+i)<p&&(o.horizontal="center"),f<l&&T(s+n)<f&&(o.vertical="middle"),k(T(e),T(i))>k(T(s),T(n))?o.important="horizontal":o.important="vertical",u.using.call(this,t,o)}),r.offset(C.extend(h,{using:t}))})},C.ui.position={fit:{left:function(t,e){var i=e.within,s=i.isWindow?i.scrollLeft:i.offset.left,n=i.width,o=t.left-e.collisionPosition.marginLeft,r=s-o,a=o+e.collisionWidth-n-s;e.collisionWidth>n?0<r&&a<=0?(i=t.left+r+e.collisionWidth-n-s,t.left+=r-i):t.left=!(0<a&&r<=0)&&a<r?s+n-e.collisionWidth:s:0<r?t.left+=r:0<a?t.left-=a:t.left=k(t.left-o,t.left)},top:function(t,e){var i=e.within,s=i.isWindow?i.scrollTop:i.offset.top,n=e.within.height,o=t.top-e.collisionPosition.marginTop,r=s-o,a=o+e.collisionHeight-n-s;e.collisionHeight>n?0<r&&a<=0?(i=t.top+r+e.collisionHeight-n-s,t.top+=r-i):t.top=!(0<a&&r<=0)&&a<r?s+n-e.collisionHeight:s:0<r?t.top+=r:0<a?t.top-=a:t.top=k(t.top-o,t.top)}},flip:{left:function(t,e){var i=e.within,s=i.offset.left+i.scrollLeft,n=i.width,o=i.isWindow?i.scrollLeft:i.offset.left,r=t.left-e.collisionPosition.marginLeft,a=r-o,l=r+e.collisionWidth-n-o,h="left"===e.my[0]?-e.elemWidth:"right"===e.my[0]?e.elemWidth:0,i="left"===e.at[0]?e.targetWidth:"right"===e.at[0]?-e.targetWidth:0,r=-2*e.offset[0];
vendor: 4,106 bytes, line 1
1a<0?((s=t.left+h+i+r+e.collisionWidth-n-s)<0||s<T(a))&&(t.left+=h+i+r):0<l&&(0<(o=t.left-e.collisionPosition.marginLeft+h+i+r-o)||T(o)<l)&&(t.left+=h+i+r)},top:function(t,e){var i=e.within,s=i.offset.top+i.scrollTop,n=i.height,o=i.isWindow?i.scrollTop:i.offset.top,r=t.top-e.collisionPosition.marginTop,a=r-o,l=r+e.collisionHeight-n-o,h="top"===e.my[1]?-e.elemHeight:"bottom"===e.my[1]?e.elemHeight:0,i="top"===e.at[1]?e.targetHeight:"bottom"===e.at[1]?-e.targetHeight:0,r=-2*e.offset[1];a<0?((s=t.top+h+i+r+e.collisionHeight-n-s)<0||s<T(a))&&(t.top+=h+i+r):0<l&&(0<(o=t.top-e.collisionPosition.marginTop+h+i+r-o)||T(o)<l)&&(t.top+=h+i+r)}},flipfit:{left:function(){C.ui.position.flip.left.apply(this,arguments),C.ui.position.fit.left.apply(this,arguments)},top:function(){C.ui.position.flip.top.apply(this,arguments),C.ui.position.fit.top.apply(this,arguments)}}};C.ui.position,C.extend(C.expr[":"],{data:C.expr.createPseudo?C.expr.createPseudo(function(e){return function(t){return!!C.data(t,e)}}):function(t,e,i){return!!C.data(t,i[3])}}),C.fn.extend({disableSelection:(t="onselectstart"in document.createElement("div")?"selectstart":"mousedown",function(){return this.on(t+".ui-disableSelection",function(t){t.preventDefault()})}),enableSelection:function(){return this.off(".ui-disableSelection")}});var t,u,d,p,f,e,g,m,v,y,_,b,w,I,D,M,P,A,O,N,z,j="ui-effects-",L="ui-effects-style",H="ui-effects-animated",R=C;function F(t,e,i){var s=v[e.type]||{};return null==t?i||!e.def?null:e.def:(t=s.floor?~~t:parseFloat(t),isNaN(t)?e.def:s.mod?(t+s.mod)%s.mod:t<0?0:s.max<t?s.max:t)}function $(s){var n=g(),o=n._rgba=[];return s=s.toLowerCase(),_(e,function(t,e){var i=e.re.exec(s),i=i&&e.parse(i),e=e.space||"rgba";if(i)return i=n[e](i),n[m[e].cache]=i[m[e].cache],o=n._rgba=i._rgba,!1}),o.length?("0,0,0,0"===o.join()&&u.extend(o,p.transparent),n):p[s]}function B(t,e,i){return 6*(i=(i+1)%1)<1?t+(e-t)*i*6:2*i<1?e:3*i<2?t+(e-t)*(2/3-i)*6:t}function W(t){var e,i,s=t.ownerDocument.defaultView?t.ownerDocument.defaultView.getComputedStyle(t,null):t.currentStyle,n={};if(s&&s.length&&s[0]&&s[s[0]])for(i=s.length;i--;)"string"==typeof s[e=s[i]]&&(n[C.camelCase(e)]=s[e]);else for(e in s)"string"==typeof s[e]&&(n[e]=s[e]);return n}function V(t,e,i,s){return t={effect:t=C.isPlainObject(t)?(e=t).effect:t},C.isFunction(e=null==e?{}:e)&&(s=e,i=null,e={}),"number"!=typeof e&&!C.fx.speeds[e]||(s=i,i=e,e={}),C.isFunction(i)&&(s=i,i=null),e&&C.extend(t,e),i=i||e.duration,t.duration=C.fx.off?0:"number"==typeof i?i:i in C.fx.speeds?C.fx.speeds[i]:C.fx.speeds._default,t.complete=s||e.complete,t}function U(t){return!t||"number"==typeof t||C.fx.speeds[t]||("string"==typeof t&&!C.effects.effect[t]||(C.isFunction(t)||"object"==typeof t&&!t.effect))}function q(t,e){var i=e.outerWidth(),e=e.outerHeight(),t=/^rect\((-?\d*\.?\d*px|-?\d+%|auto),?\s*(-?\d*\.?\d*px|-?\d+%|auto),?\s*(-?\d*\.?\d*px|-?\d+%|auto),?\s*(-?\d*\.?\d*px|-?\d+%|auto)\)$/.exec(t)||["",0,i,e,0];return{top:parseFloat(t[1])||0,right:"auto"===t[2]?i:parseFloat(t[2]),bottom:"auto"===t[3]?e:parseFloat(t[3]),left:parseFloat(t[4])||0}}C.effects={effect:{}},f=/^([\-+])=\s*(\d+\.?\d*)/,e=[{re:/rgba?\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,parse:function(t){return[t[1],t[2],t[3],t[4]]}},{re:/rgba?\(\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,parse:function(t){return[2.55*t[1],2.55*t[2],2.55*t[3],t[4]]}},{re:/#([a-f0-9]{2})([a-f0-9]{2})([a-f0-9]{2})/,parse:function(t){return[parseInt(t[1],16),parseInt(t[2],16),parseInt(t[3],16)]}},{re:/#([a-f0-9])([a-f0-9])([a-f0-9])/,parse:function(t){return[parseInt(t[1]+t[1],16),parseInt(t[2]+t[2],16),parseInt(t[3]+t[3],16)]}},{re:/hsla?\(\s*(\d+(?:\.\d+)?)\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,space:"hsla",parse:function(t){return[t[1],t[2]/100,t[3]/100,t[4]]}}],g=(u=R).Color=function(t,e,i,s){return new u.Color.fn.parse(t,e,i,s)},m={rgba:{props:{red:{idx:0,type:"byte"},green:{idx:1,type:"byte"},blue:{idx:2,type:"byte"}}},hsla:{props:{hue:{idx:0,type:"degrees"}
vendor: 5,362 bytes, line 1
1,saturation:{idx:1,type:"percent"},lightness:{idx:2,type:"percent"}}}},v={byte:{floor:!0,max:255},percent:{max:1},degrees:{mod:360,floor:!0}},y=g.support={},Y=u("<p>")[0],_=u.each,Y.style.cssText="background-color:rgba(1,1,1,.5)",y.rgba=-1<Y.style.backgroundColor.indexOf("rgba"),_(m,function(t,e){e.cache="_"+t,e.props.alpha={idx:3,type:"percent",def:1}}),(g.fn=u.extend(g.prototype,{parse:function(n,t,e,i){if(n===d)return this._rgba=[null,null,null,null],this;(n.jquery||n.nodeType)&&(n=u(n).css(t),t=d);var o=this,s=u.type(n),r=this._rgba=[];return t!==d&&(n=[n,t,e,i],s="array"),"string"===s?this.parse($(n)||p._default):"array"===s?(_(m.rgba.props,function(t,e){r[e.idx]=F(n[e.idx],e)}),this):"object"===s?(_(m,n instanceof g?function(t,e){n[e.cache]&&(o[e.cache]=n[e.cache].slice())}:function(t,i){var s=i.cache;_(i.props,function(t,e){if(!o[s]&&i.to){if("alpha"===t||null==n[t])return;o[s]=i.to(o._rgba)}o[s][e.idx]=F(n[t],e,!0)}),o[s]&&u.inArray(null,o[s].slice(0,3))<0&&(o[s][3]=1,i.from&&(o._rgba=i.from(o[s])))}),this):void 0},is:function(t){var n=g(t),o=!0,r=this;return _(m,function(t,e){var i,s=n[e.cache];return s&&(i=r[e.cache]||e.to&&e.to(r._rgba)||[],_(e.props,function(t,e){if(null!=s[e.idx])return o=s[e.idx]===i[e.idx]})),o}),o},_space:function(){var i=[],s=this;return _(m,function(t,e){s[e.cache]&&i.push(t)}),i.pop()},transition:function(t,r){var e=(h=g(t))._space(),i=m[e],t=0===this.alpha()?g("transparent"):this,a=t[i.cache]||i.to(t._rgba),l=a.slice(),h=h[i.cache];return _(i.props,function(t,e){var i=e.idx,s=a[i],n=h[i],o=v[e.type]||{};null!==n&&(null===s?l[i]=n:(o.mod&&(n-s>o.mod/2?s+=o.mod:s-n>o.mod/2&&(s-=o.mod)),l[i]=F((n-s)*r+s,e)))}),this[e](l)},blend:function(t){if(1===this._rgba[3])return this;var e=this._rgba.slice(),i=e.pop(),s=g(t)._rgba;return g(u.map(e,function(t,e){return(1-i)*s[e]+i*t}))},toRgbaString:function(){var t="rgba(",e=u.map(this._rgba,function(t,e){return null==t?2<e?1:0:t});return 1===e[3]&&(e.pop(),t="rgb("),t+e.join()+")"},toHslaString:function(){var t="hsla(",e=u.map(this.hsla(),function(t,e){return null==t&&(t=2<e?1:0),t=e&&e<3?Math.round(100*t)+"%":t});return 1===e[3]&&(e.pop(),t="hsl("),t+e.join()+")"},toHexString:function(t){var e=this._rgba.slice(),i=e.pop();return t&&e.push(~~(255*i)),"#"+u.map(e,function(t){return 1===(t=(t||0).toString(16)).length?"0"+t:t}).join("")},toString:function(){return 0===this._rgba[3]?"transparent":this.toRgbaString()}})).parse.prototype=g.fn,m.hsla.to=function(t){if(null==t[0]||null==t[1]||null==t[2])return[null,null,null,t[3]];var e=t[0]/255,i=t[1]/255,s=t[2]/255,n=t[3],o=Math.max(e,i,s),r=Math.min(e,i,s),a=o-r,l=o+r,t=.5*l,i=r===o?0:e===o?60*(i-s)/a+360:i===o?60*(s-e)/a+120:60*(e-i)/a+240,l=0==a?0:t<=.5?a/l:a/(2-l);return[Math.round(i)%360,l,t,null==n?1:n]},m.hsla.from=function(t){if(null==t[0]||null==t[1]||null==t[2])return[null,null,null,t[3]];var e=t[0]/360,i=t[1],s=t[2],t=t[3],i=s<=.5?s*(1+i):s+i-s*i,s=2*s-i;return[Math.round(255*B(s,i,e+1/3)),Math.round(255*B(s,i,e)),Math.round(255*B(s,i,e-1/3)),t]},_(m,function(l,t){var o=t.props,r=t.cache,a=t.to,h=t.from;g.fn[l]=function(t){if(a&&!this[r]&&(this[r]=a(this._rgba)),t===d)return this[r].slice();var e,i=u.type(t),s="array"===i||"object"===i?t:arguments,n=this[r].slice();return _(o,function(t,e){t=s["object"===i?t:e.idx];null==t&&(t=n[e.idx]),n[e.idx]=F(t,e)}),h?((e=g(h(n)))[r]=n,e):g(n)},_(o,function(r,a){g.fn[r]||(g.fn[r]=function(t){var e,i=u.type(t),s="alpha"===r?this._hsla?"hsla":"rgba":l,n=this[s](),o=n[a.idx];return"undefined"===i?o:("function"===i&&(t=t.call(this,o),i=u.type(t)),null==t&&a.empty?this:("string"===i&&(e=f.exec(t))&&(t=o+parseFloat(e[2])*("+"===e[1]?1:-1)),n[a.idx]=t,this[s](n)))})})}),(g.hook=function(t){t=t.split(" ");_(t,function(t,o){u.cssHooks[o]={set:function(t,e){var i,s,n="";if("transparent"!==e&&("string"!==u.type(e)||(i=$(e)))){if(e=g(i||e),!y.rgba&&1!==e._rgba[3]){for(s="backgroundColor"===o?t.parentNode:t;(""===n||"transparent"===n)&&s&&s.style;)try{n=u.css(s,"backgroundColor"),s=s.parentNode}catch(t){}e=e.blend(n&&"transparent"!==n?n:"_default")}e=e.toRgbaString()}try{t.style[o]=e}catch(t){}}},u.fx.step[o]=function(t){t.colorInit||(t.start=g(t.elem,o),t.end=g(t.end),t.colorInit=!0),u.cssHooks[o].set(t.elem,t.start.transition(t.end,t.pos))}})})("backgroundColor borderBottomColor borderLeftColor borderRightColor borderTopColor color columnRuleColor outlineColor textDecorationColor textEmphasisColor"),u.cssHooks.borderColor={expand:function(i){var s={};return _(["Top","Right","Bottom","Left"],function(t,e){s["border"+e+"Color"]=i}),s}},p=u.Color.names={aqua:"#00ffff",black:"#000000",blue:"#0000ff",fuchsia:"#ff00ff",gray:"#808080",green:"#008000",lime:"#00ff00",maroon:"#800000",navy:"#000080",olive:"#808000",purple:"#800080",red:"#ff0000",silver:"#c0c0c0",teal:"#008080",white:"#ffffff",yellow:"#ffff00",transparent:[null,null,null,0],_default:"#ffffff"},D=["add","remove","toggle"],M={border:1,borderBottom:1,borderColor:1,borderLeft:1,borderRight:1,borderTop:1,borderWidth:1,margin:1,padding:1},C.each(["borderLeftStyle","borderRightStyle","borderBottomStyle","borderTopStyle"],function(t,e){C.fx.step[e]=function(t){("none"!==t.end&&!t.setAttr||1===t.pos&&!t.setAttr)&&(R.style(t.elem,e,t.end),t.setAttr=!0)}}),C.fn.addBack||(C.fn.addBack=function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}
vendor: 27,330 bytes, line 1
1),C.effects.animateClass=function(n,t,e,i){var o=C.speed(t,e,i);return this.queue(function(){var i=C(this),t=i.attr("class")||"",e=(e=o.children?i.find("*").addBack():i).map(function(){return{el:C(this),start:W(this)}}),s=function(){C.each(D,function(t,e){n[e]&&i[e+"Class"](n[e])})};s(),e=e.map(function(){return this.end=W(this.el[0]),this.diff=function(t,e){var i,s,n={};for(i in e)s=e[i],t[i]!==s&&(M[i]||!C.fx.step[i]&&isNaN(parseFloat(s))||(n[i]=s));return n}(this.start,this.end),this}),i.attr("class",t),e=e.map(function(){var t=this,e=C.Deferred(),i=C.extend({},o,{queue:!1,complete:function(){e.resolve(t)}});return this.el.animate(this.diff,i),e.promise()}),C.when.apply(C,e.get()).done(function(){s(),C.each(arguments,function(){var e=this.el;C.each(this.diff,function(t){e.css(t,"")})}),o.complete.call(i[0])})})},C.fn.extend({addClass:(I=C.fn.addClass,function(t,e,i,s){return e?C.effects.animateClass.call(this,{add:t},e,i,s):I.apply(this,arguments)}),removeClass:(w=C.fn.removeClass,function(t,e,i,s){return 1<arguments.length?C.effects.animateClass.call(this,{remove:t},e,i,s):w.apply(this,arguments)}),toggleClass:(b=C.fn.toggleClass,function(t,e,i,s,n){return"boolean"==typeof e||void 0===e?i?C.effects.animateClass.call(this,e?{add:t}:{remove:t},i,s,n):b.apply(this,arguments):C.effects.animateClass.call(this,{toggle:t},e,i,s)}),switchClass:function(t,e,i,s,n){return C.effects.animateClass.call(this,{add:e,remove:t},i,s,n)}}),C.expr&&C.expr.filters&&C.expr.filters.animated&&(C.expr.filters.animated=(P=C.expr.filters.animated,function(t){return!!C(t).data(H)||P(t)})),!1!==C.uiBackCompat&&C.extend(C.effects,{save:function(t,e){for(var i=0,s=e.length;i<s;i++)null!==e[i]&&t.data(j+e[i],t[0].style[e[i]])},restore:function(t,e){for(var i,s=0,n=e.length;s<n;s++)null!==e[s]&&(i=t.data(j+e[s]),t.css(e[s],i))},setMode:function(t,e){return e="toggle"===e?t.is(":hidden")?"show":"hide":e},createWrapper:function(i){if(i.parent().is(".ui-effects-wrapper"))return i.parent();var s={width:i.outerWidth(!0),height:i.outerHeight(!0),float:i.css("float")},t=C("<div></div>").addClass("ui-effects-wrapper").css({fontSize:"100%",background:"transparent",border:"none",margin:0,padding:0}),e={width:i.width(),height:i.height()},n=document.activeElement;try{n.id}catch(t){n=document.body}return i.wrap(t),i[0]!==n&&!C.contains(i[0],n)||C(n).trigger("focus"),t=i.parent(),"static"===i.css("position")?(t.css({position:"relative"}),i.css({position:"relative"})):(C.extend(s,{position:i.css("position"),zIndex:i.css("z-index")}),C.each(["top","left","bottom","right"],function(t,e){s[e]=i.css(e),isNaN(parseInt(s[e],10))&&(s[e]="auto")}),i.css({position:"relative",top:0,left:0,right:"auto",bottom:"auto"})),i.css(e),t.css(s).show()},removeWrapper:function(t){var e=document.activeElement;return t.parent().is(".ui-effects-wrapper")&&(t.parent().replaceWith(t),t[0]!==e&&!C.contains(t[0],e)||C(e).trigger("focus")),t}}),C.extend(C.effects,{version:"1.12.1",define:function(t,e,i){return i||(i=e,e="effect"),C.effects.effect[t]=i,C.effects.effect[t].mode=e,i},scaledDimensions:function(t,e,i){if(0===e)return{height:0,width:0,outerHeight:0,outerWidth:0};var s="horizontal"!==i?(e||100)/100:1,e="vertical"!==i?(e||100)/100:1;return{height:t.height()*e,width:t.width()*s,outerHeight:t.outerHeight()*e,outerWidth:t.outerWidth()*s}},clipToBox:function(t){return{width:t.clip.right-t.clip.left,height:t.clip.bottom-t.clip.top,left:t.clip.left,top:t.clip.top}},unshift:function(t,e,i){var s=t.queue();1<e&&s.splice.apply(s,[1,0].concat(s.splice(e,i))),t.dequeue()},saveStyle:function(t){t.data(L,t[0].style.cssText)},restoreStyle:function(t){t[0].style.cssText=t.data(L)||"",t.removeData(L)},mode:function(t,e){t=t.is(":hidden");return"toggle"===e&&(e=t?"show":"hide"),e=(t?"hide"===e:"show"===e)?"none":e},getBaseline:function(t,e){var i,s;switch(t[0]){case"top":i=0;break;case"middle":i=.5;break;case"bottom":i=1;break;default:i=t[0]/e.height}switch(t[1]){case"left":s=0;break;case"center":s=.5;break;case"right":s=1;break;default:s=t[1]/e.width}return{x:s,y:i}},createPlaceholder:function(t){var e,i=t.css("position"),s=t.position();return t.css({marginTop:t.css("marginTop"),marginBottom:t.css("marginBottom"),marginLeft:t.css("marginLeft"),marginRight:t.css("marginRight")}).outerWidth(t.outerWidth()).outerHeight(t.outerHeight()),/^(static|relative)/.test(i)&&(i="absolute",e=C("<"+t[0].nodeName+">").insertAfter(t).css({display:/^(inline|ruby)/.test(t.css("display"))?"inline-block":"block",visibility:"hidden",marginTop:t.css("marginTop"),marginBottom:t.css("marginBottom"),marginLeft:t.css("marginLeft"),marginRight:t.css("marginRight"),float:t.css("float")}).outerWidth(t.outerWidth()).outerHeight(t.outerHeight()).addClass("ui-effects-placeholder"),t.data(j+"placeholder",e)),t.css({position:i,left:s.left,top:s.top}),e},removePlaceholder:function(t){var e=j+"placeholder",i=t.data(e);i&&(i.remove(),t.removeData(e))},cleanUp:function(t){C.effects.restoreStyle(t),C.effects.removePlaceholder(t)},setTransition:function(s,t,n,o){return o=o||{},C.each(t,function(t,e){var i=s.cssUnit(e);0<i[0]&&(o[e]=i[0]*n+i[1])}),o}}),C.fn.extend({effect:function(){function t(t){var e=C(this),i=C.effects.mode(e,a)||o;e.data(H,!0),l.push(i),o&&("show"===i||i===o&&"hide"===i)&&e.show(),o&&"none"===i||C.effects.saveStyle(e),C.isFunction(t)&&t()}var s=V.apply(this,arguments),n=C.effects.effect[s.effect],o=n.mode,e=s.queue,i=e||"fx",r=s.complete,a=s.mode,l=[];return C.fx.off||!n?a?this[a](s.duration,r):this.each(function(){r&&r.call(this)}):!1===e?this.each(t).each(h):this.queue(i,t).queue(i,h);function h(t){var e=C(this);function i(){C.isFunction(r)&&r.call(e[0]),C.isFunction(t)&&t()}s.mode=l.shift(),!1===C.uiBackCompat||o?"none"===s.mode?(e[a](),i()):n.call(e[0],s,function(){e.removeData(H),C.effects.cleanUp(e),"hide"===s.mode&&e.hide(),i()}):(e.is(":hidden")?"hide"===a:"show"===a)?(e[a](),i()):n.call(e[0],s,i)}},show:(N=C.fn.show,function(t){if(U(t))return N.apply(this,arguments);var e=V.apply(this,arguments);return e.mode="show",this.effect.call(this,e)}),hide:(O=C.fn.hide,function(t){if(U(t))return O.apply(this,arguments);var e=V.apply(this,arguments);return e.mode="hide",this.effect.call(this,e)}),toggle:(A=C.fn.toggle,function(t){if(U(t)||"boolean"==typeof t)return A.apply(this,arguments);var e=V.apply(this,arguments);return e.mode="toggle",this.effect.call(this,e)}),cssUnit:function(t){var i=this.css(t),s=[];return C.each(["em","px","%","pt"],function(t,e){0<i.indexOf(e)&&(s=[parseFloat(i),e])}),s},cssClip:function(t){return t?this.css("clip","rect("+t.top+"px "+t.right+"px "+t.bottom+"px "+t.left+"px)"):q(this.css("clip"),this)},transfer:function(t,e){var i=C(this),s=C(t.to),n="fixed"===s.css("position"),o=C("body"),r=n?o.scrollTop():0,a=n?o.scrollLeft():0,o=s.offset(),o={top:o.top-r,left:o.left-a,height:s.innerHeight(),width:s.innerWidth()},s=i.offset(),l=C("<div class='ui-effects-transfer'></div>").appendTo("body").addClass(t.className).css({top:s.top-r,left:s.left-a,height:i.innerHeight(),width:i.innerWidth(),position:n?"fixed":"absolute"}).animate(o,t.duration,t.easing,function(){l.remove(),C.isFunction(e)&&e()})}}),C.fx.step.clip=function(t){t.clipInit||(t.start=C(t.elem).cssClip(),"string"==typeof t.end&&(t.end=q(t.end,t.elem)),t.clipInit=!0),C(t.elem).cssClip({top:t.pos*(t.end.top-t.start.top)+t.start.top,right:t.pos*(t.end.right-t.start.right)+t.start.right,bottom:t.pos*(t.end.bottom-t.start.bottom)+t.start.bottom,left:t.pos*(t.end.left-t.start.left)+t.start.left})},z={},C.each(["Quad","Cubic","Quart","Quint","Expo"],function(e,t){z[t]=function(t){return Math.pow(t,e+2)}}),C.extend(z,{Sine:function(t){return 1-Math.cos(t*Math.PI/2)},Circ:function(t){return 1-Math.sqrt(1-t*t)},Elastic:function(t){return 0===t||1===t?t:-Math.pow(2,8*(t-1))*Math.sin((80*(t-1)-7.5)*Math.PI/15)},Back:function(t){return t*t*(3*t-2)},Bounce:function(t){for(var e,i=4;t<((e=Math.pow(2,--i))-1)/11;);return 1/Math.pow(4,3-i)-7.5625*Math.pow((3*e-2)/22-t,2)}}),C.each(z,function(t,e){C.easing["easeIn"+t]=e,C.easing["easeOut"+t]=function(t){return 1-e(1-t)},C.easing["easeInOut"+t]=function(t){return t<.5?e(2*t)/2:1-e(-2*t+2)/2}});var Y=C.effects;C.effects.define("blind","hide",function(t,e){var i={up:["bottom","top"],vertical:["bottom","top"],down:["top","bottom"],left:["right","left"],horizontal:["right","left"],right:["left","right"]},s=C(this),n=t.direction||"up",o=s.cssClip(),r={clip:C.extend({},o)},a=C.effects.createPlaceholder(s);r.clip[i[n][0]]=r.clip[i[n][1]],"show"===t.mode&&(s.cssClip(r.clip),a&&a.css(C.effects.clipToBox(r)),r.clip=o),a&&a.animate(C.effects.clipToBox(r),t.duration,t.easing),s.animate(r,{queue:!1,duration:t.duration,easing:t.easing,complete:e})}),C.effects.define("bounce",function(t,e){var i,s,n=C(this),o=t.mode,r="hide"===o,a="show"===o,l=t.direction||"up",h=t.distance,c=t.times||5,o=2*c+(a||r?1:0),u=t.duration/o,d=t.easing,p="up"===l||"down"===l?"top":"left",f="up"===l||"left"===l,g=0,t=n.queue().length;for(C.effects.createPlaceholder(n),l=n.css(p),h=h||n["top"==p?"outerHeight":"outerWidth"]()/3,a&&((s={opacity:1})[p]=l,n.css("opacity",0).css(p,f?2*-h:2*h).animate(s,u,d)),r&&(h/=Math.pow(2,c-1)),(s={})[p]=l;g<c;g++)(i={})[p]=(f?"-=":"+=")+h,n.animate(i,u,d).animate(s,u,d),h=r?2*h:h/2;r&&((i={opacity:0})[p]=(f?"-=":"+=")+h,n.animate(i,u,d)),n.queue(e),C.effects.unshift(n,t,1+o)}),C.effects.define("clip","hide",function(t,e){var i={},s=C(this),n=t.direction||"vertical",o="both"===n,r=o||"horizontal"===n,o=o||"vertical"===n,n=s.cssClip();i.clip={top:o?(n.bottom-n.top)/2:n.top,right:r?(n.right-n.left)/2:n.right,bottom:o?(n.bottom-n.top)/2:n.bottom,left:r?(n.right-n.left)/2:n.left},C.effects.createPlaceholder(s),"show"===t.mode&&(s.cssClip(i.clip),i.clip=n),s.animate(i,{queue:!1,duration:t.duration,easing:t.easing,complete:e})}),C.effects.define("drop","hide",function(t,e){var i=C(this),s="show"===t.mode,n=t.direction||"left",o="up"===n||"down"===n?"top":"left",r="up"===n||"left"===n?"-=":"+=",a="+="==r?"-=":"+=",l={opacity:0};C.effects.createPlaceholder(i),n=t.distance||i["top"==o?"outerHeight":"outerWidth"](!0)/2,l[o]=r+n,s&&(i.css(l),l[o]=a+n,l.opacity=1),i.animate(l,{queue:!1,duration:t.duration,easing:t.easing,complete:e})}),C.effects.define("explode","hide",function(t,e){var i,s,n,o,r,a,l=t.pieces?Math.round(Math.sqrt(t.pieces)):3,h=l,c=C(this),u="show"===t.mode,d=c.show().css("visibility","hidden").offset(),p=Math.ceil(c.outerWidth()/h),f=Math.ceil(c.outerHeight()/l),g=[];function m(){g.push(this),g.length===l*h&&(c.css({visibility:"visible"}),C(g).remove(),e())}for(i=0;i<l;i++)for(o=d.top+i*f,a=i-(l-1)/2,s=0;s<h;s++)n=d.left+s*p,r=s-(h-1)/2,c.clone().appendTo("body").wrap("<div></div>").css({position:"absolute",visibility:"visible",left:-s*p,top:-i*f}).parent().addClass("ui-effects-explode").css({position:"absolute",overflow:"hidden",width:p,height:f,left:n+(u?r*p:0),top:o+(u?a*f:0),opacity:u?0:1}).animate({left:n+(u?0:r*p),top:o+(u?0:a*f),opacity:u?1:0},t.duration||500,t.easing,m)}),C.effects.define("fade","toggle",function(t,e){var i="show"===t.mode;C(this).css("opacity",i?0:1).animate({opacity:i?1:0},{queue:!1,duration:t.duration,easing:t.easing,complete:e})}),C.effects.define("fold","hide",function(e,t){var i=C(this),s=e.mode,n="show"===s,o="hide"===s,r=e.size||15,a=/([0-9]+)%/.exec(r),l=!!e.horizFirst?["right","bottom"]:["bottom","right"],h=e.duration/2,c=C.effects.createPlaceholder(i),u=i.cssClip(),d={clip:C.extend({},u)},p={clip:C.extend({},u)},f=[u[l[0]],u[l[1]]],s=i.queue().length;a&&(r=parseInt(a[1],10)/100*f[o?0:1]),d.clip[l[0]]=r,p.clip[l[0]]=r,p.clip[l[1]]=0,n&&(i.cssClip(p.clip),c&&c.css(C.effects.clipToBox(p)),p.clip=u),i.queue(function(t){c&&c.animate(C.effects.clipToBox(d),h,e.easing).animate(C.effects.clipToBox(p),h,e.easing),t()}).animate(d,h,e.easing).animate(p,h,e.easing).queue(t),C.effects.unshift(i,s,4)}),C.effects.define("highlight","show",function(t,e){var i=C(this),s={backgroundColor:i.css("backgroundColor")};"hide"===t.mode&&(s.opacity=0),C.effects.saveStyle(i),i.css({backgroundImage:"none",backgroundColor:t.color||"#ffff99"}).animate(s,{queue:!1,duration:t.duration,easing:t.easing,complete:e})}),C.effects.define("size",function(s,e){var n,i=C(this),t=["fontSize"],o=["borderTopWidth","borderBottomWidth","paddingTop","paddingBottom"],r=["borderLeftWidth","borderRightWidth","paddingLeft","paddingRight"],a=s.mode,l="effect"!==a,h=s.scale||"both",c=s.origin||["middle","center"],u=i.css("position"),d=i.position(),p=C.effects.scaledDimensions(i),f=s.from||p,g=s.to||C.effects.scaledDimensions(i,0);C.effects.createPlaceholder(i),"show"===a&&(a=f,f=g,g=a),n={from:{y:f.height/p.height,x:f.width/p.width},to:{y:g.height/p.height,x:g.width/p.width}},"box"!==h&&"both"!==h||(n.from.y!==n.to.y&&(f=C.effects.setTransition(i,o,n.from.y,f),g=C.effects.setTransition(i,o,n.to.y,g)),n.from.x!==n.to.x&&(f=C.effects.setTransition(i,r,n.from.x,f),g=C.effects.setTransition(i,r,n.to.x,g))),"content"!==h&&"both"!==h||n.from.y!==n.to.y&&(f=C.effects.setTransition(i,t,n.from.y,f),g=C.effects.setTransition(i,t,n.to.y,g)),c&&(c=C.effects.getBaseline(c,p),f.top=(p.outerHeight-f.outerHeight)*c.y+d.top,f.left=(p.outerWidth-f.outerWidth)*c.x+d.left,g.top=(p.outerHeight-g.outerHeight)*c.y+d.top,g.left=(p.outerWidth-g.outerWidth)*c.x+d.left),i.css(f),"content"!==h&&"both"!==h||(o=o.concat(["marginTop","marginBottom"]).concat(t),r=r.concat(["marginLeft","marginRight"]),i.find("*[width]").each(function(){var t=C(this),e=C.effects.scaledDimensions(t),i={height:e.height*n.from.y,width:e.width*n.from.x,outerHeight:e.outerHeight*n.from.y,outerWidth:e.outerWidth*n.from.x},e={height:e.height*n.to.y,width:e.width*n.to.x,outerHeight:e.height*n.to.y,outerWidth:e.width*n.to.x};n.from.y!==n.to.y&&(i=C.effects.setTransition(t,o,n.from.y,i),e=C.effects.setTransition(t,o,n.to.y,e)),n.from.x!==n.to.x&&(i=C.effects.setTransition(t,r,n.from.x,i),e=C.effects.setTransition(t,r,n.to.x,e)),l&&C.effects.saveStyle(t),t.css(i),t.animate(e,s.duration,s.easing,function(){l&&C.effects.restoreStyle(t)})})),i.animate(g,{queue:!1,duration:s.duration,easing:s.easing,complete:function(){var t=i.offset();0===g.opacity&&i.css("opacity",f.opacity),l||(i.css("position","static"===u?"relative":u).offset(t),C.effects.saveStyle(i)),e()}})}),C.effects.define("scale",function(t,e){var i=C(this),s=t.mode,s=parseInt(t.percent,10)||(0===parseInt(t.percent,10)||"effect"!==s?0:100),s=C.extend(!0,{from:C.effects.scaledDimensions(i),to:C.effects.scaledDimensions(i,s,t.direction||"both"),origin:t.origin||["middle","center"]},t);t.fade&&(s.from.opacity=1,s.to.opacity=0),C.effects.effect.size.call(this,s,e)}),C.effects.define("puff","hide",function(t,e){t=C.extend(!0,{},t,{fade:!0,percent:parseInt(t.percent,10)||150});C.effects.effect.scale.call(this,t,e)}),C.effects.define("pulsate","show",function(t,e){var i=C(this),s=t.mode,n="show"===s,o=2*(t.times||5)+(n||"hide"===s?1:0),r=t.duration/o,a=0,l=1,s=i.queue().length;for(!n&&i.is(":visible")||(i.css("opacity",0).show(),a=1);l<o;l++)i.animate({opacity:a},r,t.easing),a=1-a;i.animate({opacity:a},r,t.easing),i.queue(e),C.effects.unshift(i,s,1+o)}),C.effects.define("shake",function(t,e){var i=1,s=C(this),n=t.direction||"left",o=t.distance||20,r=t.times||3,a=2*r+1,l=Math.round(t.duration/a),h="up"===n||"down"===n?"top":"left",c="up"===n||"left"===n,u={},d={},p={},n=s.queue().length;for(C.effects.createPlaceholder(s),u[h]=(c?"-=":"+=")+o,d[h]=(c?"+=":"-=")+2*o,p[h]=(c?"-=":"+=")+2*o,s.animate(u,l,t.easing);i<r;i++)s.animate(d,l,t.easing).animate(p,l,t.easing);s.animate(d,l,t.easing).animate(u,l/2,t.easing).queue(e),C.effects.unshift(s,n,1+a)}),C.effects.define("slide","show",function(t,e){var i,s,n=C(this),o={up:["bottom","top"],down:["top","bottom"],left:["right","left"],right:["left","right"]},r=t.mode,a=t.direction||"left",l="up"===a||"down"===a?"top":"left",h="up"===a||"left"===a,c=t.distance||n["top"==l?"outerHeight":"outerWidth"](!0),u={};C.effects.createPlaceholder(n),i=n.cssClip(),s=n.position()[l],u[l]=(h?-1:1)*c+s,u.clip=n.cssClip(),u.clip[o[a][1]]=u.clip[o[a][0]],"show"===r&&(n.cssClip(u.clip),n.css(l,u[l]),u.clip=i,u[l]=s),n.animate(u,{queue:!1,duration:t.duration,easing:t.easing,complete:e})}),Y=!1!==C.uiBackCompat?C.effects.define("transfer",function(t,e){C(this).transfer(t,e)}):Y;C.ui.focusable=function(t,e){var i,s,n,o,r=t.nodeName.toLowerCase();return"area"===r?(s=(i=t.parentNode).name,!(!t.href||!s||"map"!==i.nodeName.toLowerCase())&&(0<(s=C("img[usemap='#"+s+"']")).length&&s.is(":visible"))):(/^(input|select|textarea|button|object)$/.test(r)?(n=!t.disabled)&&(o=C(t).closest("fieldset")[0])&&(n=!o.disabled):n="a"===r&&t.href||e,n&&C(t).is(":visible")&&function(t){var e=t.css("visibility");for(;"inherit"===e;)t=t.parent(),e=t.css("visibility");return"hidden"!==e}(C(t)))},C.extend(C.expr[":"],{focusable:function(t){return C.ui.focusable(t,null!=C.attr(t,"tabindex"))}});C.ui.focusable,C.fn.form=function(){return"string"==typeof this[0].form?this.closest("form"):C(this[0].form)},C.ui.formResetMixin={_formResetHandler:function(){var e=C(this);setTimeout(function(){var t=e.data("ui-form-reset-instances");C.each(t,function(){this.refresh()})})},_bindFormResetHandler:function(){var t;this.form=this.element.form(),this.form.length&&((t=this.form.data("ui-form-reset-instances")||[]).length||this.form.on("reset.ui-form-reset",this._formResetHandler),t.push(this),this.form.data("ui-form-reset-instances",t))},_unbindFormResetHandler:function(){var t;this.form.length&&((t=this.form.data("ui-form-reset-instances")).splice(C.inArray(this,t),1),t.length?this.form.data("ui-form-reset-instances",t):this.form.removeData("ui-form-reset-instances").off("reset.ui-form-reset"))}};"1.7"===C.fn.jquery.substring(0,3)&&(C.each(["Width","Height"],function(t,i){var n="Width"===i?["Left","Right"]:["Top","Bottom"],s=i.toLowerCase(),o={innerWidth:C.fn.innerWidth,innerHeight:C.fn.innerHeight,outerWidth:C.fn.outerWidth,outerHeight:C.fn.outerHeight};function r(t,e,i,s){return C.each(n,function(){e-=parseFloat(C.css(t,"padding"+this))||0,i&&(e-=parseFloat(C.css(t,"border"+this+"Width"))||0),s&&(e-=parseFloat(C.css(t,"margin"+this))||0)}),e}C.fn["inner"+i]=function(t){return void 0===t?o["inner"+i].call(this):this.each(function(){C(this).css(s,r(this,t)+"px")})},C.fn["outer"+i]=function(t,e){return"number"!=typeof t?o["outer"+i].call(this,t):this.each(function(){C(this).css(s,r(this,t,!0,e)+"px")})}}),C.fn.addBack=function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))});var K,X;C.ui.keyCode={BACKSPACE:8,COMMA:188,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,LEFT:37,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SPACE:32,TAB:9,UP:38},C.ui.escapeSelector=(K=/([!"#$%&'()*+,./:;<=>?@[\]^`{|}~])/g,function(t){return t.replace(K,"\\$1")}),C.fn.labels=function(){var t,e,i;return this[0].labels&&this[0].labels.length?this.pushStack(this[0].labels):(e=this.eq(0).parents("label"),(t=this.attr("id"))&&(i=(i=this.eq(0).parents().last()).add((i.length?i:this).siblings()),t="label[for='"+C.ui.escapeSelector(t)+"']",e=e.add(i.find(t).addBack(t))),this.pushStack(e))},C.fn.scrollParent=function(t){var e=this.css("position"),i="absolute"===e,s=t?/(auto|scroll|hidden)/:/(auto|scroll)/,t=this.parents().filter(function(){var t=C(this);return(!i||"static"!==t.css("position"))&&s.test(t.css("overflow")+t.css("overflow-y")+t.css("overflow-x"))}).eq(0);return"fixed"!==e&&t.length?t:C(this[0].ownerDocument||document)},C.extend(C.expr[":"],{tabbable:function(t){var e=C.attr(t,"tabindex"),i=null!=e;return(!i||0<=e)&&C.ui.focusable(t,i)}}),C.fn.extend({uniqueId:(X=0,function(){return this.each(function(){this.id||(this.id="ui-id-"+ ++X)})}),removeUniqueId:function(){return this.each(function(){/^ui-id-\d+$/.test(this.id)&&C(this).removeAttr("id")})}}),C.widget("ui.accordion",{version:"1.12.1",options:{active:0,animate:{},classes:{"ui-accordion-header":"ui-corner-top","ui-accordion-header-collapsed":"ui-corner-all","ui-accordion-content":"ui-corner-bottom"},collapsible:!1,event:"click",header:"> li > :first-child, > :not(li):even",heightStyle:"auto",icons:{activeHeader:"ui-icon-triangle-1-s",header:"ui-icon-triangle-1-e"},activate:null,beforeActivate:null},hideProps:{borderTopWidth:"hide",borderBottomWidth:"hide",paddingTop:"hide",paddingBottom:"hide",height:"hide"},showProps:{borderTopWidth:"show",borderBottomWidth:"show",paddingTop:"show",paddingBottom:"show",height:"show"},_create:function(){var t=this.options;this.prevShow=this.prevHide=C(),this._addClass("ui-accordion","ui-widget ui-helper-reset"),this.element.attr("role","tablist"),t.collapsible||!1!==t.active&&null!=t.active||(t.active=0),this._processPanels(),t.active<0&&(t.active+=this.headers.length),this._refresh()},_getCreateEventData:function(){return{header:this.active,panel:this.active.length?this.active.next():C()}},_createIcons:function(){var t,e=this.options.icons;e&&(t=C("<span>"),this._addClass(t,"ui-accordion-header-icon","ui-icon "+e.header),t.prependTo(this.headers),t=this.active.children(".ui-accordion-header-icon"),this._removeClass(t,e.header)._addClass(t,null,e.activeHeader)._addClass(this.headers,"ui-accordion-icons"))},_destroyIcons:function(){this._removeClass(this.headers,"ui-accordion-icons"),this.headers.children(".ui-accordion-header-icon").remove()},_destroy:function(){var t;this.element.removeAttr("role"),this.headers.removeAttr("role aria-expanded aria-selected aria-controls tabIndex").removeUniqueId(),this._destroyIcons(),t=this.headers.next().css("display","").removeAttr("role aria-hidden aria-labelledby").removeUniqueId(),"content"!==this.options.heightStyle&&t.css("height","")},_setOption:function(t,e){"active"!==t?("event"===t&&(this.options.event&&this._off(this.headers,this.options.event),this._setupEvents(e)),this._super(t,e),"collapsible"!==t||e||!1!==this.options.active||this._activate(0),"icons"===t&&(this._destroyIcons(),e&&this._createIcons())):this._activate(e)},_setOptionDisabled:function(t){this._super(t),this.element.attr("aria-disabled",t),this._toggleClass(null,"ui-state-disabled",!!t),this._toggleClass(this.headers.add(this.headers.next()),null,"ui-state-disabled",!!t)},_keydown:function(t){if(!t.altKey&&!t.ctrlKey){var e=C.ui.keyCode,i=this.headers.length,s=this.headers.index(t.target),n=!1;switch(t.keyCode){case e.RIGHT:case e.DOWN:n=this.headers[(s+1)%i];break;case e.LEFT:case e.UP:n=this.headers[(s-1+i)%i];break;case e.SPACE:case e.ENTER:this._eventHandler(t);break;case e.HOME:n=this.headers[0];break;case e.END:n=this.headers[i-1]}n&&(C(t.target).attr("tabIndex",-1),C(n).attr("tabIndex",0),C(n).trigger("focus"),t.preventDefault())}},_panelKeyDown:function(t){t.keyCode===C.ui.keyCode.UP&&t.ctrlKey&&C(t.currentTarget).prev().trigger("focus")},refresh:function(){var t=this.options;this._processPanels(),!1===t.active&&!0===t.collapsible||!this.headers.length?(t.active=!1,this.active=C()):!1===t.active?this._activate(0):this.active.length&&!C.contains(this.element[0],this.active[0])?this.headers.length===this.headers.find(".ui-state-disabled").length?(t.active=!1,this.active=C()):this._activate(Math.max(0,t.active-1)):t.active=this.headers.index(this.active),this._destroyIcons(),this._refresh()},_processPanels:function(){var t=this.headers,e=this.panels;this.headers=this.element.find(this.options.header),this._addClass(this.headers,"ui-accordion-header ui-accordion-header-collapsed","ui-state-default"),this.panels=this.headers.next().filter(":not(.ui-accordion-content-active)").hide(),this._addClass(this.panels,"ui-accordion-content","ui-helper-reset ui-widget-content"),e&&(this._off(t.not(this.headers)),this._off(e.not(this.panels)))},_refresh:function(){var i,t=this.options,e=t.heightStyle,s=this.element.parent();this.active=this._findActive(t.active),this._addClass(this.active,"ui-accordion-header-active","ui-state-active")._removeClass(this.active,"ui-accordion-header-collapsed"),this._addClass(this.active.next(),"ui-accordion-content-active"),this.active.next().show(),this.headers.attr("role","tab").each(function(){var t=C(this),e=t.uniqueId().attr("id"),i=t.next(),s=i.uniqueId().attr("id");t.attr("aria-controls",s),i.attr("aria-labelledby",e)}).next().attr("role","tabpanel"),this.headers.not(this.active).attr({"aria-selected":"false","aria-expanded":"false",tabIndex:-1}).next().attr({"aria-hidden":"true"}).hide(),this.active.length?this.active.attr({"aria-selected":"true","aria-expanded":"true",tabIndex:0}).next().attr({"aria-hidden":"false"}):this.headers.eq(0).attr("tabIndex",0),this._createIcons(),this._setupEvents(t.event),"fill"===e?(i=s.height(),this.element.siblings(":visible").each(function(){var t=C(this),e=t.css("position");"absolute"!==e&&"fixed"!==e&&(i-=t.outerHeight(!0))}),this.headers.each(function(){i-=C(this).outerHeight(!0)}),this.headers.next().each(function(){C(this).height(Math.max(0,i-C(this).innerHeight()+C(this).height()))}).css("overflow","auto")):"auto"===e&&(i=0,this.headers.next().each(function(){var t=C(this).is(":visible");t||C(this).show(),i=Math.max(i,C(this).css("height","").height()),t||C(this).hide()}).height(i))},_activate:function(t){t=this._findActive(t)[0];t!==this.active[0]&&(t=t||this.active[0],this._eventHandler({target:t,currentTarget:t,preventDefault:C.noop}))},_findActive:function(t){return"number"==typeof t?this.headers.eq(t):C()},_setupEvents:function(t){var i={keydown:"_keydown"};t&&C.each(t.split(" "),function(t,e){i[e]="_eventHandler"}),this._off(this.headers.add(this.headers.next())),this._on(this.headers,i),this._on(this.headers.next(),{keydown:"_panelKeyDown"}),this._hoverable(this.headers),this._focusable(this.headers)},_eventHandler:function(t){var e=this.options,i=this.active,s=C(t.currentTarget),n=s[0]===i[0],o=n&&e.collapsible,r=o?C():s.next(),a=i.next(),r={oldHeader:i,oldPanel:a,newHeader:o?C():s,newPanel:r};t.preventDefault(),n&&!e.collapsible||!1===this._trigger("beforeActivate",t,r)||(e.active=!o&&this.headers.index(s),this.active=n?C():s,this._toggle(r),this._removeClass(i,"ui-accordion-header-active","ui-state-active"),e.icons&&(i=i.children(".ui-accordion-header-icon"),this._removeClass(i,null,e.icons.activeHeader)._addClass(i,null,e.icons.header)),n||(this._removeClass(s,"ui-accordion-header-collapsed")._addClass(s,"ui-accordion-header-active","ui-state-active"),e.icons&&(n=s.children(".ui-accordion-header-icon"),this._removeClass(n,null,e.icons.header)._addClass(n,null,e.icons.activeHeader)),this._addClass(s.next(),"ui-accordion-content-active")))},_toggle:function(t){var e=t.newPanel,i=this.prevShow.length?this.prevShow:t.oldPanel;this.prevShow.add(this.prevHide).stop(!0,!0),this.prevShow=e,this.prevHide=i,this.options.animate?this._animate(e,i,t):(i.hide(),e.show(),this._toggleComplete(t)),i.attr({"aria-hidden":"true"}),i.prev().attr({"aria-selected":"false","aria-expanded":"false"}),e.length&&i.length?i.prev().attr({tabIndex:-1,"aria-expanded":"false"}):e.length&&this.headers.filter(function(){return 0===parseInt(C(this).attr("tabIndex"),10)}).attr("tabIndex",-1),e.attr("aria-hidden","false").prev().attr({"aria-selected":"true","aria-expanded":"true",tabIndex:0})},_animate:function(t,i,e){var s,n,o,r=this,a=0,l=t.css("box-sizing"),h=t.length&&(!i.length||t.index()<i.index()),c=this.options.animate||{},u=h&&c.down||c,h=function(){r._toggleComplete(e)};
vendor: 7,948 bytes, line 1
1return n=(n="string"==typeof u?u:n)||u.easing||c.easing,o=(o="number"==typeof u?u:o)||u.duration||c.duration,i.length?t.length?(s=t.show().outerHeight(),i.animate(this.hideProps,{duration:o,easing:n,step:function(t,e){e.now=Math.round(t)}}),void t.hide().animate(this.showProps,{duration:o,easing:n,complete:h,step:function(t,e){e.now=Math.round(t),"height"!==e.prop?"content-box"===l&&(a+=e.now):"content"!==r.options.heightStyle&&(e.now=Math.round(s-i.outerHeight()-a),a=0)}})):i.animate(this.hideProps,o,n,h):t.animate(this.showProps,o,n,h)},_toggleComplete:function(t){var e=t.oldPanel,i=e.prev();this._removeClass(e,"ui-accordion-content-active"),this._removeClass(i,"ui-accordion-header-active")._addClass(i,"ui-accordion-header-collapsed"),e.length&&(e.parent()[0].className=e.parent()[0].className),this._trigger("activate",null,t)}}),C.ui.safeActiveElement=function(e){var i;try{i=e.activeElement}catch(t){i=e.body}return i=!(i=i||e.body).nodeName?e.body:i},C.widget("ui.menu",{version:"1.12.1",defaultElement:"<ul>",delay:300,options:{icons:{submenu:"ui-icon-caret-1-e"},items:"> *",menus:"ul",position:{my:"left top",at:"right top"},role:"menu",blur:null,focus:null,select:null},_create:function(){this.activeMenu=this.element,this.mouseHandled=!1,this.element.uniqueId().attr({role:this.options.role,tabIndex:0}),this._addClass("ui-menu","ui-widget ui-widget-content"),this._on({"mousedown .ui-menu-item":function(t){t.preventDefault()},"click .ui-menu-item":function(t){var e=C(t.target),i=C(C.ui.safeActiveElement(this.document[0]));!this.mouseHandled&&e.not(".ui-state-disabled").length&&(this.select(t),t.isPropagationStopped()||(this.mouseHandled=!0),e.has(".ui-menu").length?this.expand(t):!this.element.is(":focus")&&i.closest(".ui-menu").length&&(this.element.trigger("focus",[!0]),this.active&&1===this.active.parents(".ui-menu").length&&clearTimeout(this.timer)))},"mouseenter .ui-menu-item":function(t){var e,i;this.previousFilter||(e=C(t.target).closest(".ui-menu-item"),i=C(t.currentTarget),e[0]===i[0]&&(this._removeClass(i.siblings().children(".ui-state-active"),null,"ui-state-active"),this.focus(t,i)))},mouseleave:"collapseAll","mouseleave .ui-menu":"collapseAll",focus:function(t,e){var i=this.active||this.element.find(this.options.items).eq(0);e||this.focus(t,i)},blur:function(t){this._delay(function(){C.contains(this.element[0],C.ui.safeActiveElement(this.document[0]))||this.collapseAll(t)})},keydown:"_keydown"}),this.refresh(),this._on(this.document,{click:function(t){this._closeOnDocumentClick(t)&&this.collapseAll(t),this.mouseHandled=!1}})},_destroy:function(){var t=this.element.find(".ui-menu-item").removeAttr("role aria-disabled").children(".ui-menu-item-wrapper").removeUniqueId().removeAttr("tabIndex role aria-haspopup");this.element.removeAttr("aria-activedescendant").find(".ui-menu").addBack().removeAttr("role aria-labelledby aria-expanded aria-hidden aria-disabled tabIndex").removeUniqueId().show(),t.children().each(function(){var t=C(this);t.data("ui-menu-submenu-caret")&&t.remove()})},_keydown:function(t){var e,i,s,n=!0;switch(t.keyCode){case C.ui.keyCode.PAGE_UP:this.previousPage(t);break;case C.ui.keyCode.PAGE_DOWN:this.nextPage(t);break;case C.ui.keyCode.HOME:this._move("first","first",t);break;case C.ui.keyCode.END:this._move("last","last",t);break;case C.ui.keyCode.UP:this.previous(t);break;case C.ui.keyCode.DOWN:this.next(t);break;case C.ui.keyCode.LEFT:this.collapse(t);break;case C.ui.keyCode.RIGHT:this.active&&!this.active.is(".ui-state-disabled")&&this.expand(t);break;case C.ui.keyCode.ENTER:case C.ui.keyCode.SPACE:this._activate(t);break;case C.ui.keyCode.ESCAPE:this.collapse(t);break;default:e=this.previousFilter||"",s=n=!1,i=96<=t.keyCode&&t.keyCode<=105?(t.keyCode-96).toString():String.fromCharCode(t.keyCode),clearTimeout(this.filterTimer),i===e?s=!0:i=e+i,e=this._filterMenuItems(i),(e=s&&-1!==e.index(this.active.next())?this.active.nextAll(".ui-menu-item"):e).length||(i=String.fromCharCode(t.keyCode),e=this._filterMenuItems(i)),e.length?(this.focus(t,e),this.previousFilter=i,this.filterTimer=this._delay(function(){delete this.previousFilter},1e3)):delete this.previousFilter}n&&t.preventDefault()},_activate:function(t){this.active&&!this.active.is(".ui-state-disabled")&&(this.active.children("[aria-haspopup='true']").length?this.expand(t):this.select(t))},refresh:function(){var t,e,s=this,n=this.options.icons.submenu,i=this.element.find(this.options.menus);this._toggleClass("ui-menu-icons",null,!!this.element.find(".ui-icon").length),e=i.filter(":not(.ui-menu)").hide().attr({role:this.options.role,"aria-hidden":"true","aria-expanded":"false"}).each(function(){var t=C(this),e=t.prev(),i=C("<span>").data("ui-menu-submenu-caret",!0);s._addClass(i,"ui-menu-icon","ui-icon "+n),e.attr("aria-haspopup","true").prepend(i),t.attr("aria-labelledby",e.attr("id"))}),this._addClass(e,"ui-menu","ui-widget ui-widget-content ui-front"),(t=i.add(this.element).find(this.options.items)).not(".ui-menu-item").each(function(){var t=C(this);s._isDivider(t)&&s._addClass(t,"ui-menu-divider","ui-widget-content")}),i=(e=t.not(".ui-menu-item, .ui-menu-divider")).children().not(".ui-menu").uniqueId().attr({tabIndex:-1,role:this._itemRole()}),this._addClass(e,"ui-menu-item")._addClass(i,"ui-menu-item-wrapper"),t.filter(".ui-state-disabled").attr("aria-disabled","true"),this.active&&!C.contains(this.element[0],this.active[0])&&this.blur()},_itemRole:function(){return{menu:"menuitem",listbox:"option"}[this.options.role]},_setOption:function(t,e){var i;"icons"===t&&(i=this.element.find(".ui-menu-icon"),this._removeClass(i,null,this.options.icons.submenu)._addClass(i,null,e.submenu)),this._super(t,e)},_setOptionDisabled:function(t){this._super(t),this.element.attr("aria-disabled",String(t)),this._toggleClass(null,"ui-state-disabled",!!t)},focus:function(t,e){var i;this.blur(t,t&&"focus"===t.type),this._scrollIntoView(e),this.active=e.first(),i=this.active.children(".ui-menu-item-wrapper"),this._addClass(i,null,"ui-state-active"),this.options.role&&this.element.attr("aria-activedescendant",i.attr("id")),i=this.active.parent().closest(".ui-menu-item").children(".ui-menu-item-wrapper"),this._addClass(i,null,"ui-state-active"),t&&"keydown"===t.type?this._close():this.timer=this._delay(function(){this._close()},this.delay),(i=e.children(".ui-menu")).length&&t&&/^mouse/.test(t.type)&&this._startOpening(i),this.activeMenu=e.parent(),this._trigger("focus",t,{item:e})},_scrollIntoView:function(t){var e,i,s;this._hasScroll()&&(i=parseFloat(C.css(this.activeMenu[0],"borderTopWidth"))||0,s=parseFloat(C.css(this.activeMenu[0],"paddingTop"))||0,e=t.offset().top-this.activeMenu.offset().top-i-s,i=this.activeMenu.scrollTop(),s=this.activeMenu.height(),t=t.outerHeight(),e<0?this.activeMenu.scrollTop(i+e):s<e+t&&this.activeMenu.scrollTop(i+e-s+t))},blur:function(t,e){e||clearTimeout(this.timer),this.active&&(this._removeClass(this.active.children(".ui-menu-item-wrapper"),null,"ui-state-active"),this._trigger("blur",t,{item:this.active}),this.active=null)},_startOpening:function(t){clearTimeout(this.timer),"true"===t.attr("aria-hidden")&&(this.timer=this._delay(function(){this._close(),this._open(t)},this.delay))},_open:function(t){var e=C.extend({of:this.active},this.options.position);clearTimeout(this.timer),this.element.find(".ui-menu").not(t.parents(".ui-menu")).hide().attr("aria-hidden","true"),t.show().removeAttr("aria-hidden").attr("aria-expanded","true").position(e)},collapseAll:function(e,i){clearTimeout(this.timer),this.timer=this._delay(function(){var t=i?this.element:C(e&&e.target).closest(this.element.find(".ui-menu"));t.length||(t=this.element),this._close(t),this.blur(e),this._removeClass(t.find(".ui-state-active"),null,"ui-state-active"),this.activeMenu=t},this.delay)},_close:function(t){(t=t||(this.active?this.active.parent():this.element)).find(".ui-menu").hide().attr("aria-hidden","true").attr("aria-expanded","fal
1se")},_closeOnDocumentClick:function(t){return!C(t.target).closest(".ui-menu").length},_isDivider:function(t){return!/[^\-\u2014\u2013\s]/.test(t.text())},collapse:function(t){var e=this.active&&this.active.parent().closest(".ui-menu-item",this.element);e&&e.length&&(this._close(),this.focus(t,e))},expand:function(t){var e=this.active&&this.active.children(".ui-menu ").find(this.options.items).first();e&&e.length&&(this._open(e.parent()),this._delay(function(){this.focus(t,e)}))},next:function(t){this._move("next","first",t)},previous:function(t){this._move("prev","last",t)},isFirstItem:function(){return this.active&&!this.active.prevAll(".ui-menu-item").length},isLastItem:function(){return this.active&&!this.active.nextAll(".ui-menu-item").length},_move:function(t,e,i){var s;(s=this.active?"first"===t||"last"===t?this.active["first"===t?"prevAll":"nextAll"](".ui-menu-item").eq(-1):this.active[t+"All"](".ui-menu-item").eq(0):s)&&s.length&&this.active||(s=this.activeMenu.find(this.options.items)[e]()),this.focus(i,s)},nextPage:function(t){var e,i,s;this.active?this.isLastItem()||(this._hasScroll()?(i=this.active.offset().top,s=this.element.height(),this.active.nextAll(".ui-menu-item").each(function(){return(e=C(this)).offset().top-i-s<0}),this.focus(t,e)):this.focus(t,this.activeMenu.find(this.options.items)[this.active?"last":"first"]())):this.next(t)},previousPage:function(t){var e,i,s;this.active?this.isFirstItem()||(this._hasScroll()?(i=this.active.offset().top,s=this.element.height(),this.active.prevAll(".ui-menu-item").each(function(){return 0<(e=C(this)).offset().top-i+s}),this.focus(t,e)):this.focus(t,this.activeMenu.find(this.options.items).first())):this.next(t)},_hasScroll:function(){return this.element.outerHeight()<this.element.prop("scrollHeight")},select:function(t){this.active=this.active||C(t.target).closest(".ui-menu-item");var e={item:this.active};this.active.has(".ui-menu").length||this.collapseAll(t,!0),this._trigger("select",t,e)},_filterMenuItems:function(t){var t=t.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&"),e=new RegExp("^"+t,"i");return this.activeMenu.find(this.options.items).filter(".ui-menu-item").filter(function(){return e.test(C.trim(C(this).children(".ui-menu-item-wrapper").text()))})}});C.widget("ui.autocomplete",{version:"1.12.1",defaultElement:"<input>",options:{appendTo:null,autoFocus:!1,delay:300,minLength:1,position:{my:"left top",at:"left bottom",collision:"none"},source:null,change:null,close:null,focus:null,open:null,response:null,search:null,select:null},requestIndex:0,pending:0,_create:function(){var i,s,n,t=this.element[0].nodeName.toLowerCase(),e="textarea"===t,t="input"===t;this.isMultiLine=e||!t&&this._isContentEditable(this.element),this.valueMethod=this.element[e||t?"val":"text"],this.isNewMenu=!0,this._addClass("ui-autocomplete-input"),this.element.attr("autocomplete","off"),this._on(this.element,{keydown:function(t){if(this.element.prop("readOnly"))s=n=i=!0;else{s=n=i=!1;var e=C.ui.keyCode;switch(t.keyCode){case e.PAGE_UP:i=!0,this._move("previousPage",t);break;case e.PAGE_DOWN:i=!0,this._move("nextPage",t);break;case e.UP:i=!0,this._keyEvent("previous",t);break;case e.DOWN:i=!0,this._keyEvent("next",t);break;case e.ENTER:this.menu.active&&(i=!0,t.preventDefault(),this.menu.select(t));break;case e.TAB:this.menu.active&&this.menu.select(t);break;case e.ESCAPE:this.menu.element.is(":visible")&&(this.isMultiLine||this._value(this.term),this.close(t),t.preventDefault());break;default:s=!0,this._searchTimeout(t)}}},keypress:function(t){if(i)return i=!1,void(this.isMultiLine&&!this.menu.element.is(":visible")||t.preventDefault());if(!s){var e=C.ui.keyCode;switch(t.keyCode){case e.PAGE_UP:this._move("previousPage",t);break;case e.PAGE_DOWN:this._move("nextPage",t);break;case e.UP:this._keyEvent("previous",t);break;case e.DOWN:this._keyEvent("next",t)}}},input:function(t){if(n)return n=!1,void t.preventDefault();this._searchTimeout(t)},focus:function(){this.selectedItem=null,this.previous=this._value()},blur:function(t){this.cancelBlur?delete this.cancelBlur:(clearTimeout(this.searching),this.close(t),this._change(t))}}),this._initSource(),this.menu=C("<ul>").appendTo(this._appendTo()).menu({role:null}).hide().menu("instance"),this._addClass(this.menu.element,"ui-autocomplete","ui-front"),this._on(this.menu.element,{mousedown:function(t){t.preventDefault(),this.cancelBlur=!0,this._delay(function(){delete this.cancelBlur,this.element[0]!==C.ui.safeActiveElement(this.document[0])&&this.element.trigger("focus")})},menufocus:function(t,e){var i;if(this.isNewMenu&&(this.isNewMenu=!1,t.originalEvent&&/^mouse/.test(t.originalEvent.type)))return this.menu.blur(),void this.document.one("mousemove",function(){C(t.target).trigger(t.originalEvent)});i=e.item.data("ui-autocomplete-item"),!1!==this._trigger("focus",t,{item:i}
vendor: 4,890 bytes, line 1
1)&&t.originalEvent&&/^key/.test(t.originalEvent.type)&&this._value(i.value),(i=e.item.attr("aria-label")||i.value)&&C.trim(i).length&&(this.liveRegion.children().hide(),C("<div>").text(i).appendTo(this.liveRegion))},menuselect:function(t,e){var i=e.item.data("ui-autocomplete-item"),s=this.previous;this.element[0]!==C.ui.safeActiveElement(this.document[0])&&(this.element.trigger("focus"),this.previous=s,this._delay(function(){this.previous=s,this.selectedItem=i})),!1!==this._trigger("select",t,{item:i})&&this._value(i.value),this.term=this._value(),this.close(t),this.selectedItem=i}}),this.liveRegion=C("<div>",{role:"status","aria-live":"assertive","aria-relevant":"additions"}).appendTo(this.document[0].body),this._addClass(this.liveRegion,null,"ui-helper-hidden-accessible"),this._on(this.window,{beforeunload:function(){this.element.removeAttr("autocomplete")}})},_destroy:function(){clearTimeout(this.searching),this.element.removeAttr("autocomplete"),this.menu.element.remove(),this.liveRegion.remove()},_setOption:function(t,e){this._super(t,e),"source"===t&&this._initSource(),"appendTo"===t&&this.menu.element.appendTo(this._appendTo()),"disabled"===t&&e&&this.xhr&&this.xhr.abort()},_isEventTargetInWidget:function(t){var e=this.menu.element[0];return t.target===this.element[0]||t.target===e||C.contains(e,t.target)},_closeOnClickOutside:function(t){this._isEventTargetInWidget(t)||this.close()},_appendTo:function(){var t=this.options.appendTo;return t=!(t=!(t=t&&(t.jquery||t.nodeType?C(t):this.document.find(t).eq(0)))||!t[0]?this.element.closest(".ui-front, dialog"):t).length?this.document[0].body:t},_initSource:function(){var i,s,n=this;C.isArray(this.options.source)?(i=this.options.source,this.source=function(t,e){e(C.ui.autocomplete.filter(i,t.term))}):"string"==typeof this.options.source?(s=this.options.source,this.source=function(t,e){n.xhr&&n.xhr.abort(),n.xhr=C.ajax({url:s,data:t,dataType:"json",success:function(t){e(t)},error:function(){e([])}})}):this.source=this.options.source},_searchTimeout:function(s){clearTimeout(this.searching),this.searching=this._delay(function(){var t=this.term===this._value(),e=this.menu.element.is(":visible"),i=s.altKey||s.ctrlKey||s.metaKey||s.shiftKey;t&&(!t||e||i)||(this.selectedItem=null,this.search(null,s))},this.options.delay)},search:function(t,e){return t=null!=t?t:this._value(),this.term=this._value(),t.length<this.options.minLength?this.close(e):!1!==this._trigger("search",e)?this._search(t):void 0},_search:function(t){this.pending++,this._addClass("ui-autocomplete-loading"),this.cancelSearch=!1,this.source({term:t},this._response())},_response:function(){var e=++this.requestIndex;return C.proxy(function(t){e===this.requestIndex&&this.__response(t),this.pending--,this.pending||this._removeClass("ui-autocomplete-loading")},this)},__response:function(t){t=t&&this._normalize(t),this._trigger("response",null,{content:t}),!this.options.disabled&&t&&t.length&&!this.cancelSearch?(this._suggest(t),this._trigger("open")):this._close()},close:function(t){this.cancelSearch=!0,this._close(t)},_close:function(t){this._off(this.document,"mousedown"),this.menu.element.is(":visible")&&(this.menu.element.hide(),this.menu.blur(),this.isNewMenu=!0,this._trigger("close",t))},_change:function(t){this.previous!==this._value()&&this._trigger("change",t,{item:this.selectedItem})},_normalize:function(t){return t.length&&t[0].label&&t[0].value?t:C.map(t,function(t){return"string"==typeof t?{label:t,value:t}:C.extend({},t,{label:t.label||t.value,value:t.value||t.label})})},_suggest:function(t){var e=this.menu.element.empty();this._renderMenu(e,t),this.isNewMenu=!0,this.menu.refresh(),e.show(),this._resizeMenu(),e.position(C.extend({of:this.element},this.options.position)),this.options.autoFocus&&this.menu.next(),this._on(this.document,{mousedown:"_closeOnClickOutside"})},_resizeMenu:function(){var t=this.menu.element;t.outerWidth(Math.max(t.width("").outerWidth()+1,this.element.outerWidth()))},_renderMenu:function(i,t){var s=this;C.each(t,function(t,e){s._renderItemData(i,e)})},_renderItemData:function(t,e){return this._renderItem(t,e).data("ui-autocomplete-item",e)},_renderItem:function(t,e){return C("<li>").append(C("<div>").text(e.label)).appendTo(t)},_move:function(t,e){if(this.menu.element.is(":visible"))return this.menu.isFirstItem()&&/^previous/.test(t)||this.menu.isLastItem()&&/^next/.test(t)?(this.isMultiLine||this._value(this.term),void this.menu.blur()):void this.menu[t](e);this.search(null,e)},widget:function(){return this.menu.element},_value:function(){return this.valueMethod.apply(this.element,arguments)},_keyEvent:function(t,e){this.isMultiLine&&!this.menu.element.is(":visible")||(this._move(t,e),e.preventDefault())},_isContentEditable:function(t){if(!t.length)return!1;var e=t.prop("contentEditable");return"inherit"===e?this._isContentEditable(t.parent()):"true"===e}}
vendor: 6,471 bytes, line 1
1),C.extend(C.ui.autocomplete,{escapeRegex:function(t){return t.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")},filter:function(t,e){var i=new RegExp(C.ui.autocomplete.escapeRegex(e),"i");return C.grep(t,function(t){return i.test(t.label||t.value||t)})}}),C.widget("ui.autocomplete",C.ui.autocomplete,{options:{messages:{noResults:"No search results.",results:function(t){return t+(1<t?" results are":" result is")+" available, use up and down arrow keys to navigate."}}},__response:function(t){var e;this._superApply(arguments),this.options.disabled||this.cancelSearch||(e=t&&t.length?this.options.messages.results(t.length):this.options.messages.noResults,this.liveRegion.children().hide(),C("<div>").text(e).appendTo(this.liveRegion))}});C.ui.autocomplete;var G=/ui-corner-([a-z]){2,6}/g;C.widget("ui.controlgroup",{version:"1.12.1",defaultElement:"<div>",options:{direction:"horizontal",disabled:null,onlyVisible:!0,items:{button:"input[type=button], input[type=submit], input[type=reset], button, a",controlgroupLabel:".ui-controlgroup-label",checkboxradio:"input[type='checkbox'], input[type='radio']",selectmenu:"select",spinner:".ui-spinner-input"}},_create:function(){this._enhance()},_enhance:function(){this.element.attr("role","toolbar"),this.refresh()},_destroy:function(){this._callChildMethod("destroy"),this.childWidgets.removeData("ui-controlgroup-data"),this.element.removeAttr("role"),this.options.items.controlgroupLabel&&this.element.find(this.options.items.controlgroupLabel).find(".ui-controlgroup-label-contents").contents().unwrap()},_initWidgets:function(){var o=this,r=[];C.each(this.options.items,function(s,t){var e,n={};if(t)return"controlgroupLabel"===s?((e=o.element.find(t)).each(function(){var t=C(this);t.children(".ui-controlgroup-label-contents").length||t.contents().wrapAll("<span class='ui-controlgroup-label-contents'></span>")}),o._addClass(e,null,"ui-widget ui-widget-content ui-state-default"),void(r=r.concat(e.get()))):void(C.fn[s]&&(n=o["_"+s+"Options"]?o["_"+s+"Options"]("middle"):{classes:{}},o.element.find(t).each(function(){var t=C(this),e=t[s]("instance"),i=C.widget.extend({},n);"button"===s&&t.parent(".ui-spinner").length||((e=e||t[s]()[s]("instance"))&&(i.classes=o._resolveClassesValues(i.classes,e)),t[s](i),i=t[s]("widget"),C.data(i[0],"ui-controlgroup-data",e||t[s]("instance")),r.push(i[0]))})))}),this.childWidgets=C(C.unique(r)),this._addClass(this.childWidgets,"ui-controlgroup-item")},_callChildMethod:function(e){this.childWidgets.each(function(){var t=C(this).data("ui-controlgroup-data");t&&t[e]&&t[e]()})},_updateCornerClass:function(t,e){e=this._buildSimpleOptions(e,"label").classes.label;this._removeClass(t,null,"ui-corner-top ui-corner-bottom ui-corner-left ui-corner-right ui-corner-all"),this._addClass(t,null,e)},_buildSimpleOptions:function(t,e){var i="vertical"===this.options.direction,s={classes:{}};return s.classes[e]={middle:"",first:"ui-corner-"+(i?"top":"left"),last:"ui-corner-"+(i?"bottom":"right"),only:"ui-corner-all"}[t],s},_spinnerOptions:function(t){t=this._buildSimpleOptions(t,"ui-spinner");return t.classes["ui-spinner-up"]="",t.classes["ui-spinner-down"]="",t},_buttonOptions:function(t){return this._buildSimpleOptions(t,"ui-button")},_checkboxradioOptions:function(t){return this._buildSimpleOptions(t,"ui-checkboxradio-label")},_selectmenuOptions:function(t){var e="vertical"===this.options.direction;return{width:e&&"auto",classes:{middle:{"ui-selectmenu-button-open":"","ui-selectmenu-button-closed":""},first:{"ui-selectmenu-button-open":"ui-corner-"+(e?"top":"tl"),"ui-selectmenu-button-closed":"ui-corner-"+(e?"top":"left")},last:{"ui-selectmenu-button-open":e?"":"ui-corner-tr","ui-selectmenu-button-closed":"ui-corner-"+(e?"bottom":"right")},only:{"ui-selectmenu-button-open":"ui-corner-top","ui-selectmenu-button-closed":"ui-corner-all"}}[t]}},_resolveClassesValues:function(i,s){var n={};return C.each(i,function(t){var e=s.options.classes[t]||"",e=C.trim(e.replace(G,""));n[t]=(e+" "+i[t]).replace(/\s+/g," ")}),n},_setOption:function(t,e){"direction"===t&&this._removeClass("ui-controlgroup-"+this.options.direction),this._super(t,e),"disabled"!==t?this.refresh():this._callChildMethod(e?"disable":"enable")},refresh:function(){var n,o=this;this._addClass("ui-controlgroup ui-controlgroup-"+this.options.direction),"horizontal"===this.options.direction&&this._addClass(null,"ui-helper-clearfix"),this._initWidgets(),n=this.childWidgets,(n=this.options.onlyVisible?n.filter(":visible"):n).length&&(C.each(["first","last"],function(t,e){var i,s=n[e]().data("ui-controlgroup-data");s&&o["_"+s.widgetName+"Options"]?((i=o["_"+s.widgetName+"Options"](1===n.length?"only":e)).classes=o._resolveClassesValues(i.classes,s),s.element[s.widgetName](i)):o._updateCornerClass(n[e](),e)}),this._callChildMethod("refresh"))}});C.widget("ui.checkboxradio",[C.ui.formResetMixin,{version:"1.12.1",options:{disabled:null,label:null,icon:!0,classes:{"ui-checkboxradio-label":"ui-corner-all","ui-checkboxradio-icon":"ui-corner-all"}},_getCreateOptions:function(){var t,e=this,i=this._super()||{};return this._readType(),t=this.element.labels(),this.label=C(t[t.length-1]),this.label.length||C.error("No label found for checkboxradio widget"),this.originalLabel="",this.label.contents().not(this.element[0]).each(function(){e.originalLabel+=3===this.nodeType?C(this).text():this.outerHTML}),this.originalLabel&&(i.label=this.originalLabel),null!=(t=this.element[0].disabled)&&(i.disabled=t),i},_create:function(){var t=this.element[0].checked;this._bindFormResetHandler(),null==this.options.disabled&&(this.options.disabled=this.element[0].disabled),this._setOption("disabled",this.options.disabled),this._addClass("ui-checkboxradio","ui-helper-hidden-accessible"),this._addClass(this.label,"ui-checkboxradio-label","ui-button ui-widget"),"radio"===this.type&&this._addClass(this.label,"ui-checkboxradio-radio-label"),this.options.label&&this.options.label!==this.originalLabel?this._updateLabel():this.originalLabel&&(this.options.label=this.originalLabel),this._enhance(),t&&(this._addClass(this.label,"ui-checkboxradio-checked","ui-state-active"),this.icon&&this._addClass(this.icon,null,"ui-state-hover")),this._on({change:"_toggleClasses",focus:function(){this._addClass(this.label,null,"ui-state-focus ui-visual-focus")},blur:function(){this._removeClass(this.label,null,"ui-state-focus ui-visual-focus")}})},_readType:function(){var t=this.element[0].nodeName.toLowerCase();
vendor: 1,428 bytes, line 1
1this.type=this.element[0].type,"input"===t&&/radio|checkbox/.test(this.type)||C.error("Can't create checkboxradio on element.nodeName="+t+" and element.type="+this.type)},_enhance:function(){this._updateIcon(this.element[0].checked)},widget:function(){return this.label},_getRadioGroup:function(){var t=this.element[0].name,e="input[name='"+C.ui.escapeSelector(t)+"']";return t?(this.form.length?C(this.form[0].elements).filter(e):C(e).filter(function(){return 0===C(this).form().length})).not(this.element):C([])},_toggleClasses:function(){var t=this.element[0].checked;this._toggleClass(this.label,"ui-checkboxradio-checked","ui-state-active",t),this.options.icon&&"checkbox"===this.type&&this._toggleClass(this.icon,null,"ui-icon-check ui-state-checked",t)._toggleClass(this.icon,null,"ui-icon-blank",!t),"radio"===this.type&&this._getRadioGroup().each(function(){var t=C(this).checkboxradio("instance");t&&t._removeClass(t.label,"ui-checkboxradio-checked","ui-state-active")})},_destroy:function(){this._unbindFormResetHandler(),this.icon&&(this.icon.remove(),this.iconSpace.remove())},_setOption:function(t,e){if("label"!==t||e){if(this._super(t,e),"disabled"===t)return this._toggleClass(this.label,null,"ui-state-disabled",e),void(this.element[0].disabled=e);this.refresh()}},_updateIcon:function(t){var e="ui-icon ui-icon-background ";this.options.icon?(this.icon||(this.icon=C("<span>"),this.iconSpace=C("<span> </span>
1"),this._addClass(this.iconSpace,"ui-checkboxradio-icon-space")),"checkbox"===this.type?(e+=t?"ui-icon-check ui-state-checked":"ui-icon-blank",this._removeClass(this.icon,null,t?"ui-icon-blank":"ui-icon-check")):e+="ui-icon-blank",this._addClass(this.icon,"ui-checkboxradio-icon",e),t||this._removeClass(this.icon,null,"ui-icon-check ui-state-checked"),this.icon.prependTo(this.label).after(this.iconSpace)):void 0!==this.icon&&(this.icon.remove(),this.iconSpace.remove(),delete this.icon)},_updateLabel:function(){var t=this.label.contents().not(this.element[0]);this.icon&&(t=t.not(this.icon[0])),(t=this.iconSpace?t.not(this.iconSpace[0]):t).remove(),this.label.append(this.options.label)},refresh:function(){var t=this.element[0].checked,e=this.element[0].disabled;this._updateIcon(t),this._toggleClass(this.label,"ui-checkboxradio-checked","ui-state-active",t),null!==this.options.label&&this._updateLabel(),e!==this.options.disabled&&this._setOptions({disabled:e})}}]);var Q;C.ui.checkboxradio;C.widget("ui.button",{version:"1.12.1",defaultElement:"<button>",options:{classes:{"ui-button":"ui-corner-all"},disabled:null,icon:null,iconPosition:"beginning",label:null,showLabel:!0},_getCreateOptions:function(){var t,e=this._super()||{};return this.isInput=this.element.is("input"),null!=(t=this.element[0].disabled)&&(e.disabled=t),this.originalLabel=this.isInput?this.element.val():this.element.html(),this.originalLabel&&(e.label=this.originalLabel),e},_create:function(){!this.option.showLabel&!this.options.icon&&(this.options.showLabel=!0),null==this.options.disabled&&(this.options.disabled=this.element[0].disabled||!1),this.hasTitle=!!this.element.attr("title"),this.options.label&&this.options.label!==this.originalLabel&&(this.isInput?this.element.val(this.options.label):this.element.html(this.options.label)),this._addClass("ui-button","ui-widget"),this._setOption("disabled",this.options.disabled),this._enhance(),this.element.is("a")&&this._on({keyup:function(t){t.keyCode===C.ui.keyCode.SPACE&&(t.preventDefault(),this.element[0].click?this.element[0].click():this.element.trigger("click"))}})},_enhance:function(){this.element.is("button")||this.element.attr("role","button"),this.options.icon&&(this._updateIcon("icon",this.options.icon),this._updateTooltip())},_updateTooltip:function(){this.title=this.element.attr("title"),this.options.showLabel||this.title||this.element.attr("title",this.options.label)},_updateIcon:function(t,e){var i="iconPosition"!==t,s=i?this.options.iconPosition:e,t="top"===s||"bottom"===s;this.icon?i&&this._removeClass(this.icon,null,this.options.icon):(this.icon=C("<span>"),this._addClass(this.icon,"ui-button-icon","ui-icon"),this.options.showLabel||this._addClass("ui-button-icon-only")),i&&this._addClass(this.icon,null,e),this._attachIcon(s),t?(this._addClass(this.icon,null,"ui-widget-icon-block"),this.iconSpace&&this.iconSpace.remove()):(this.iconS
vendor: 4,233 bytes, line 1
1pace||(this.iconSpace=C("<span> </span>"),this._addClass(this.iconSpace,"ui-button-icon-space")),this._removeClass(this.icon,null,"ui-wiget-icon-block"),this._attachIconSpace(s))},_destroy:function(){this.element.removeAttr("role"),this.icon&&this.icon.remove(),this.iconSpace&&this.iconSpace.remove(),this.hasTitle||this.element.removeAttr("title")},_attachIconSpace:function(t){this.icon[/^(?:end|bottom)/.test(t)?"before":"after"](this.iconSpace)},_attachIcon:function(t){this.element[/^(?:end|bottom)/.test(t)?"append":"prepend"](this.icon)},_setOptions:function(t){var e=(void 0===t.showLabel?this.options:t).showLabel,i=(void 0===t.icon?this.options:t).icon;e||i||(t.showLabel=!0),this._super(t)},_setOption:function(t,e){"icon"===t&&(e?this._updateIcon(t,e):this.icon&&(this.icon.remove(),this.iconSpace&&this.iconSpace.remove())),"iconPosition"===t&&this._updateIcon(t,e),"showLabel"===t&&(this._toggleClass("ui-button-icon-only",null,!e),this._updateTooltip()),"label"===t&&(this.isInput?this.element.val(e):(this.element.html(e),this.icon&&(this._attachIcon(this.options.iconPosition),this._attachIconSpace(this.options.iconPosition)))),this._super(t,e),"disabled"===t&&(this._toggleClass(null,"ui-state-disabled",e),(this.element[0].disabled=e)&&this.element.blur())},refresh:function(){var t=this.element.is("input, button")?this.element[0].disabled:this.element.hasClass("ui-button-disabled");t!==this.options.disabled&&this._setOptions({disabled:t}),this._updateTooltip()}}),!1!==C.uiBackCompat&&(C.widget("ui.button",C.ui.button,{options:{text:!0,icons:{primary:null,secondary:null}},_create:function(){this.options.showLabel&&!this.options.text&&(this.options.showLabel=this.options.text),!this.options.showLabel&&this.options.text&&(this.options.text=this.options.showLabel),this.options.icon||!this.options.icons.primary&&!this.options.icons.secondary?this.options.icon&&(this.options.icons.primary=this.options.icon):this.options.icons.primary?this.options.icon=this.options.icons.primary:(this.options.icon=this.options.icons.secondary,this.options.iconPosition="end"),this._super()},_setOption:function(t,e){"text"!==t?("showLabel"===t&&(this.options.text=e),"icon"===t&&(this.options.icons.primary=e),"icons"===t&&(e.primary?(this._super("icon",e.primary),this._super("iconPosition","beginning")):e.secondary&&(this._super("icon",e.secondary),this._super("iconPosition","end"))),this._superApply(arguments)):this._super("showLabel",e)}}),C.fn.button=(Q=C.fn.button,function(){return!this.length||this.length&&"INPUT"!==this[0].tagName||this.length&&"INPUT"===this[0].tagName&&"checkbox"!==this.attr("type")&&"radio"!==this.attr("type")?Q.apply(this,arguments):(C.ui.checkboxradio||C.error("Checkboxradio widget missing"),0===arguments.length?this.checkboxradio({icon:!1}):this.checkboxradio.apply(this,arguments))}),C.fn.buttonset=function(){return C.ui.controlgroup||C.error("Controlgroup widget missing"),"option"===arguments[0]&&"items"===arguments[1]&&arguments[2]?this.controlgroup.apply(this,[arguments[0],"items.button",arguments[2]]):"option"===arguments[0]&&"items"===arguments[1]?this.controlgroup.apply(this,[arguments[0],"items.button"]):("object"==typeof arguments[0]&&arguments[0].items&&(arguments[0].items={button:arguments[0].items}),this.controlgroup.apply(this,arguments))});var Z;C.ui.button;function J(){this._curInst=null,this._keyEvent=!1,this._disabledInputs=[],this._datepickerShowing=!1,this._inDialog=!1,this._mainDivId="ui-datepicker-div",this._inlineClass="ui-datepicker-inline",this._appendClass="ui-datepicker-append",this._triggerClass="ui-datepicker-trigger",this._dialogClass="ui-datepicker-dialog",this._disableClass="ui-datepicker-disabled",this._unselectableClass="ui-datepicker-unselectable",this._currentClass="ui-datepicker-current-day",this._dayOverClass="ui-datepicker-days-cell-over",this.regional=[],this.regional[""]={closeText:"Done",prevText:"Prev",nextText:"Next",currentText:"Today",monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Frid
vendor: 4,913 bytes, line 1
1ay","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],weekHeader:"Wk",dateFormat:"mm/dd/yy",firstDay:0,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},this._defaults={showOn:"focus",showAnim:"fadeIn",showOptions:{},defaultDate:null,appendText:"",buttonText:"...",buttonImage:"",buttonImageOnly:!1,hideIfNoPrevNext:!1,navigationAsDateFormat:!1,gotoCurrent:!1,changeMonth:!1,changeYear:!1,yearRange:"c-10:c+10",showOtherMonths:!1,selectOtherMonths:!1,showWeek:!1,calculateWeek:this.iso8601Week,shortYearCutoff:"+10",minDate:null,maxDate:null,duration:"fast",beforeShowDay:null,beforeShow:null,onSelect:null,onChangeMonthYear:null,onClose:null,numberOfMonths:1,showCurrentAtPos:0,stepMonths:1,stepBigMonths:12,altField:"",altFormat:"",constrainInput:!0,showButtonPanel:!1,autoSize:!1,disabled:!1},C.extend(this._defaults,this.regional[""]),this.regional.en=C.extend(!0,{},this.regional[""]),this.regional["en-US"]=C.extend(!0,{},this.regional.en),this.dpDiv=tt(C("<div id='"+this._mainDivId+"' class='ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all'></div>"))}function tt(t){var e="button, .ui-datepicker-prev, .ui-datepicker-next, .ui-datepicker-calendar td a";return t.on("mouseout",e,function(){C(this).removeClass("ui-state-hover"),-1!==this.className.indexOf("ui-datepicker-prev")&&C(this).removeClass("ui-datepicker-prev-hover"),-1!==this.className.indexOf("ui-datepicker-next")&&C(this).removeClass("ui-datepicker-next-hover")}).on("mouseover",e,et)}function et(){C.datepicker._isDisabledDatepicker((Z.inline?Z.dpDiv.parent():Z.input)[0])||(C(this).parents(".ui-datepicker-calendar").find("a").removeClass("ui-state-hover"),C(this).addClass("ui-state-hover"),-1!==this.className.indexOf("ui-datepicker-prev")&&C(this).addClass("ui-datepicker-prev-hover"),-1!==this.className.indexOf("ui-datepicker-next")&&C(this).addClass("ui-datepicker-next-hover"))}function it(t,e){for(var i in C.extend(t,e),e)null==e[i]&&(t[i]=e[i]);return t}C.extend(C.ui,{datepicker:{version:"1.12.1"}}),C.extend(J.prototype,{markerClassName:"hasDatepicker",maxRows:4,_widgetDatepicker:function(){return this.dpDiv},setDefaults:function(t){return it(this._defaults,t||{}),this},_attachDatepicker:function(t,e){var i,s=t.nodeName.toLowerCase(),n="div"===s||"span"===s;t.id||(this.uuid+=1,t.id="dp"+this.uuid),(i=this._newInst(C(t),n)).settings=C.extend({},e||{}),"input"===s?this._connectDatepicker(t,i):n&&this._inlineDatepicker(t,i)},_newInst:function(t,e){return{id:t[0].id.replace(/([^A-Za-z0-9_\-])/g,"\\\\$1"),input:t,selectedDay:0,selectedMonth:0,selectedYear:0,drawMonth:0,drawYear:0,inline:e,dpDiv:e?tt(C("<div class='"+this._inlineClass+" ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all'></div>")):this.dpDiv}},_connectDatepicker:function(t,e){var i=C(t);e.append=C([]),e.trigger=C([]),i.hasClass(this.markerClassName)||(this._attachments(i,e),i.addClass(this.markerClassName).on("keydown",this._doKeyDown).on("keypress",this._doKeyPress).on("keyup",this._doKeyUp),this._autoSize(e),C.data(t,"datepicker",e),e.settings.disabled&&this._disableDatepicker(t))},_attachments:function(t,e){var i,s=this._get(e,"appendText"),n=this._get(e,"isRTL");e.append&&e.append.remove(),s&&(e.append=C("<span class='"+this._appendClass+"'>"+s+"</span>"),t[n?"before":"after"](e.append)),t.off("focus",this._showDatepicker),e.trigger&&e.trigger.remove(),"focus"!==(i=this._get(e,"showOn"))&&"both"!==i||t.on("focus",this._showDatepicker),"button"!==i&&"both"!==i||(s=this._get(e,"buttonText"),i=this._get(e,"buttonImage"),e.trigger=C(this._get(e,"buttonImageOnly")?C("<img/>").addClass(this._triggerClass).attr({src:i,alt:s,title:s}):C("<button type='button'></button>").addClass(this._triggerClass).html(i?C("<img/>").attr({src:i,alt:s,title:s}):s)),t[n?"before":"after"](e.trigger),e.trigger.on("click",function(){return C.datepicker._datepickerShowing&&C.datepicker._lastInput===t[0]?C.datepicker._hideDatepicker():(C.datepicker._datepickerShowing&&C.datepicker._lastInput!==t[0]&&C.datepicker._hideDatepicker(),C.datepicker._showDatepicker(t[0])),!1}))},_autoSize:function(t){var e,i,s,n,o,r;this._get(t,"autoSize")&&!t.inline&&(o=new Date(2009,11,20),(r=this._get(t,"dateFormat")).match(/[DM]/)&&(e=function(t){for(n=s=i=0;n<t.length;n++)t[n].length>i&&(i=t[n].length,s=n);return s},o.setMonth(e(this._get(t,r.match(/MM/)?"monthNames":"monthNamesShort"))),o.setDate(e(this._get(t,r.match(/DD/)?"dayNames":"dayNamesShort"))+20-o.getDay())),t.input.attr("size",this._formatDate(t,o).length))},_inlineDatepicker:function(t,e){var i=C(t);i.hasClass(this.markerClassName)||(i.addClass(this.markerClassName).append(e.dpDiv),C.data(t,"datepicker",e),this._setDate(e,this._getDefaultDate(e),!0),this._updateDatepicker(e),this._updateAlternate(e),e.settings.disabled&&this._disableDatepicker(t),e.dpDiv.css("display","block"))}
vendor: 13,236 bytes, line 1
1,_dialogDatepicker:function(t,e,i,s,n){var o,r=this._dialogInst;return r||(this.uuid+=1,o="dp"+this.uuid,this._dialogInput=C("<input type='text' id='"+o+"' style='position: absolute; top: -100px; width: 0px;'/>"),this._dialogInput.on("keydown",this._doKeyDown),C("body").append(this._dialogInput),(r=this._dialogInst=this._newInst(this._dialogInput,!1)).settings={},C.data(this._dialogInput[0],"datepicker",r)),it(r.settings,s||{}),e=e&&e.constructor===Date?this._formatDate(r,e):e,this._dialogInput.val(e),this._pos=n?n.length?n:[n.pageX,n.pageY]:null,this._pos||(o=document.documentElement.clientWidth,s=document.documentElement.clientHeight,e=document.documentElement.scrollLeft||document.body.scrollLeft,n=document.documentElement.scrollTop||document.body.scrollTop,this._pos=[o/2-100+e,s/2-150+n]),this._dialogInput.css("left",this._pos[0]+20+"px").css("top",this._pos[1]+"px"),r.settings.onSelect=i,this._inDialog=!0,this.dpDiv.addClass(this._dialogClass),this._showDatepicker(this._dialogInput[0]),C.blockUI&&C.blockUI(this.dpDiv),C.data(this._dialogInput[0],"datepicker",r),this},_destroyDatepicker:function(t){var e,i=C(t),s=C.data(t,"datepicker");i.hasClass(this.markerClassName)&&(e=t.nodeName.toLowerCase(),C.removeData(t,"datepicker"),"input"===e?(s.append.remove(),s.trigger.remove(),i.removeClass(this.markerClassName).off("focus",this._showDatepicker).off("keydown",this._doKeyDown).off("keypress",this._doKeyPress).off("keyup",this._doKeyUp)):"div"!==e&&"span"!==e||i.removeClass(this.markerClassName).empty(),Z===s&&(Z=null))},_enableDatepicker:function(e){var t,i=C(e),s=C.data(e,"datepicker");i.hasClass(this.markerClassName)&&("input"===(t=e.nodeName.toLowerCase())?(e.disabled=!1,s.trigger.filter("button").each(function(){this.disabled=!1}).end().filter("img").css({opacity:"1.0",cursor:""})):"div"!==t&&"span"!==t||((i=i.children("."+this._inlineClass)).children().removeClass("ui-state-disabled"),i.find("select.ui-datepicker-month, select.ui-datepicker-year").prop("disabled",!1)),this._disabledInputs=C.map(this._disabledInputs,function(t){return t===e?null:t}))},_disableDatepicker:function(e){var t,i=C(e),s=C.data(e,"datepicker");i.hasClass(this.markerClassName)&&("input"===(t=e.nodeName.toLowerCase())?(e.disabled=!0,s.trigger.filter("button").each(function(){this.disabled=!0}).end().filter("img").css({opacity:"0.5",cursor:"default"})):"div"!==t&&"span"!==t||((i=i.children("."+this._inlineClass)).children().addClass("ui-state-disabled"),i.find("select.ui-datepicker-month, select.ui-datepicker-year").prop("disabled",!0)),this._disabledInputs=C.map(this._disabledInputs,function(t){return t===e?null:t}),this._disabledInputs[this._disabledInputs.length]=e)},_isDisabledDatepicker:function(t){if(!t)return!1;for(var e=0;e<this._disabledInputs.length;e++)if(this._disabledInputs[e]===t)return!0;return!1},_getInst:function(t){try{return C.data(t,"datepicker")}catch(t){throw"Missing instance data for this datepicker"}},_optionDatepicker:function(t,e,i){var s,n,o,r,a=this._getInst(t);if(2===arguments.length&&"string"==typeof e)return"defaults"===e?C.extend({},C.datepicker._defaults):a?"all"===e?C.extend({},a.settings):this._get(a,e):null;s=e||{},"string"==typeof e&&((s={})[e]=i),a&&(this._curInst===a&&this._hideDatepicker(),n=this._getDateDatepicker(t,!0),o=this._getMinMaxDate(a,"min"),r=this._getMinMaxDate(a,"max"),it(a.settings,s),null!==o&&void 0!==s.dateFormat&&void 0===s.minDate&&(a.settings.minDate=this._formatDate(a,o)),null!==r&&void 0!==s.dateFormat&&void 0===s.maxDate&&(a.settings.maxDate=this._formatDate(a,r)),"disabled"in s&&(s.disabled?this._disableDatepicker(t):this._enableDatepicker(t)),this._attachments(C(t),a),this._autoSize(a),this._setDate(a,n),this._updateAlternate(a),this._updateDatepicker(a))},_changeDatepicker:function(t,e,i){this._optionDatepicker(t,e,i)},_refreshDatepicker:function(t){t=this._getInst(t);t&&this._updateDatepicker(t)},_setDateDatepicker:function(t,e){t=this._getInst(t);t&&(this._setDate(t,e),this._updateDatepicker(t),this._updateAlternate(t))},_getDateDatepicker:function(t,e){t=this._getInst(t);return t&&!t.inline&&this._setDateFromField(t,e),t?this._getDate(t):null},_doKeyDown:function(t){var e,i,s=C.datepicker._getInst(t.target),n=!0,o=s.dpDiv.is(".ui-datepicker-rtl");if(s._keyEvent=!0,C.datepicker._datepickerShowing)switch(t.keyCode){case 9:C.datepicker._hideDatepicker(),n=!1;break;case 13:return(i=C("td."+C.datepicker._dayOverClass+":not(."+C.datepicker._currentClass+")",s.dpDiv))[0]&&C.datepicker._selectDay(t.target,s.selectedMonth,s.selectedYear,i[0]),(e=C.datepicker._get(s,"onSelect"))?(i=C.datepicker._formatDate(s),e.apply(s.input?s.input[0]:null,[i,s])):C.datepicker._hideDatepicker(),!1;case 27:C.datepicker._hideDatepicker();break;case 33:C.datepicker._adjustDate(t.target,t.ctrlKey?-C.datepicker._get(s,"stepBigMonths"):-C.datepicker._get(s,"stepMonths"),"M");break;case 34:C.datepicker._adjustDate(t.target,t.ctrlKey?+C.datepicker._get(s,"stepBigMonths"):+C.datepicker._get(s,"stepMonths"),"M");break;case 35:(t.ctrlKey||t.metaKey)&&C.datepicker._clearDate(t.target),n=t.ctrlKey||t.metaKey;break;case 36:(t.ctrlKey||t.metaKey)&&C.datepicker._gotoToday(t.target),n=t.ctrlKey||t.metaKey;break;case 37:(t.ctrlKey||t.metaKey)&&C.datepicker._adjustDate(t.target,o?1:-1,"D"),n=t.ctrlKey||t.metaKey,t.originalEvent.altKey&&C.datepicker._adjustDate(t.target,t.ctrlKey?-C.datepicker._get(s,"stepBigMonths"):-C.datepicker._get(s,"stepMonths"),"M");break;case 38:(t.ctrlKey||t.metaKey)&&C.datepicker._adjustDate(t.target,-7,"D"),n=t.ctrlKey||t.metaKey;break;case 39:(t.ctrlKey||t.metaKey)&&C.datepicker._adjustDate(t.target,o?-1:1,"D"),n=t.ctrlKey||t.metaKey,t.originalEvent.altKey&&C.datepicker._adjustDate(t.target,t.ctrlKey?+C.datepicker._get(s,"stepBigMonths"):+C.datepicker._get(s,"stepMonths"),"M");break;case 40:(t.ctrlKey||t.metaKey)&&C.datepicker._adjustDate(t.target,7,"D"),n=t.ctrlKey||t.metaKey;break;default:n=!1}else 36===t.keyCode&&t.ctrlKey?C.datepicker._showDatepicker(this):n=!1;n&&(t.preventDefault(),t.stopPropagation())},_doKeyPress:function(t){var e,i=C.datepicker._getInst(t.target);if(C.datepicker._get(i,"constrainInput"))return e=C.datepicker._possibleChars(C.datepicker._get(i,"dateFormat")),i=String.fromCharCode(null==t.charCode?t.keyCode:t.charCode),t.ctrlKey||t.metaKey||i<" "||!e||-1<e.indexOf(i)},_doKeyUp:function(t){t=C.datepicker._getInst(t.target);if(t.input.val()!==t.lastVal)try{C.datepicker.parseDate(C.datepicker._get(t,"dateFormat"),t.input?t.input.val():null,C.datepicker._getFormatConfig(t))&&(C.datepicker._setDateFromField(t),C.datepicker._updateAlternate(t),C.datepicker._updateDatepicker(t))}catch(t){}return!0},_showDatepicker:function(t){var e,i,s,n;"input"!==(t=t.target||t).nodeName.toLowerCase()&&(t=C("input",t.parentNode)[0]),C.datepicker._isDisabledDatepicker(t)||C.datepicker._lastInput===t||(n=C.datepicker._getInst(t),C.datepicker._curInst&&C.datepicker._curInst!==n&&(C.datepicker._curInst.dpDiv.stop(!0,!0),n&&C.datepicker._datepickerShowing&&C.datepicker._hideDatepicker(C.datepicker._curInst.input[0])),!1!==(i=(s=C.datepicker._get(n,"beforeShow"))?s.apply(t,[t,n]):{})&&(it(n.settings,i),n.lastVal=null,C.datepicker._lastInput=t,C.datepicker._setDateFromField(n),C.datepicker._inDialog&&(t.value=""),C.datepicker._pos||(C.datepicker._pos=C.datepicker._findPos(t),C.datepicker._pos[1]+=t.offsetHeight),e=!1,C(t).parents().each(function(){return!(e|="fixed"===C(this).css("position"))}),s={left:C.datepicker._pos[0],top:C.datepicker._pos[1]},C.datepicker._pos=null,n.dpDiv.empty(),n.dpDiv.css({position:"absolute",display:"block",top:"-1000px"}),C.datepicker._updateDatepicker(n),s=C.datepicker._checkOffset(n,s,e),n.dpDiv.css({position:C.datepicker._inDialog&&C.blockUI?"static":e?"fixed":"absolute",display:"none",left:s.left+"px",top:s.top+"px"}),n.inline||(i=C.datepicker._get(n,"showAnim"),s=C.datepicker._get(n,"duration"),n.dpDiv.css("z-index",function(t){for(var e,i;t.length&&t[0]!==document;){if(("absolute"===(e=t.css("position"))||"relative"===e||"fixed"===e)&&(i=parseInt(t.css("zIndex"),10),!isNaN(i)&&0!==i))return i;t=t.parent()}return 0}(C(t))+1),C.datepicker._datepickerShowing=!0,C.effects&&C.effects.effect[i]?n.dpDiv.show(i,C.datepicker._get(n,"showOptions"),s):n.dpDiv[i||"show"](i?s:null),C.datepicker._shouldFocusInput(n)&&n.input.trigger("focus"),C.datepicker._curInst=n)))},_updateDatepicker:function(t){this.maxRows=4,(Z=t).dpDiv.empty().append(this._generateHTML(t)),this._attachHandlers(t);var e,i=this._getNumberOfMonths(t),s=i[1],n=t.dpDiv.find("."+this._dayOverClass+" a");0<n.length&&et.apply(n.get(0)),t.dpDiv.removeClass("ui-datepicker-multi-2 ui-datepicker-multi-3 ui-datepicker-multi-4").width(""),1<s&&t.dpDiv.addClass("ui-datepicker-multi-"+s).css("width",17*s+"em"),t.dpDiv[(1!==i[0]||1!==i[1]?"add":"remove")+"Class"]("ui-datepicker-multi"),t.dpDiv[(this._get(t,"isRTL")?"add":"remove")+"Class"]("ui-datepicker-rtl"),t===C.datepicker._curInst&&C.datepicker._datepickerShowing&&C.datepicker._shouldFocusInput(t)&&t.input.trigger("focus"),t.yearshtml&&(e=t.yearshtml,setTimeout(function(){e===t.yearshtml&&t.yearshtml&&t.dpDiv.find("select.ui-datepicker-year:first").replaceWith(t.yearshtml),e=t.yearshtml=null},0))},_shouldFocusInput:function(t){return t.input&&t.input.is(":visible")&&!t.input.is(":disabled")&&!t.input.is(":focus")},_checkOffset:function(t,e,i){var s=t.dpDiv.outerWidth(),n=t.dpDiv.outerHeight(),o=t.input?t.input.outerWidth():0,r=t.input?t.input.outerHeight():0,a=document.documentElement.clientWidth+(i?0:C(document).scrollLeft()),l=document.documentElement.clientHeight+(i?0:C(document).scrollTop());return e.left-=this._get(t,"isRTL")?s-o:0,e.left-=i&&e.left===t.input.offset().left?C(document).scrollLeft():0,e.top-=i&&e.top===t.input.offset().top+r?C(document).scrollTop():0,e.left-=Math.min(e.left,e.left+s>a&&s<a?Math.abs(e.left+s-a):0),e.top-=Math.min(e.top,e.top+n>l&&n<l?Math.abs(n+r):0),e},_findPos:function(t){for(var e=this._getInst(t),i=this._get(e,"isRTL");t&&("hidden"===t.type||1!==t.nodeType||C.expr.filters.hidden(t));)t=t[i?"previousSibling":"nextSibling"];return[(e=C(t).offset()).left,e.top]},_hideDatepicker:function(t){var e,i,s=this._curInst;!s||t&&s!==C.data(t,"datepicker")||this._datepickerShowing&&(e=this._get(s,"showAnim"),i=this._get(s,"duration"),t=function(){C.datepicker._tidyDialog(s)},C.effects&&(C.effects.effect[e]||C.effects[e])?s.dpDiv.hide(e,C.datepicker._get(s,"showOptions"),i,t):s.dpDiv["slideDown"===e?"slideUp":"fadeIn"===e?"fadeOut":"hide"](e?i:null,t),e||t(),this._datepickerShowing=!1,(t=this._get(s,"onClose"))&&t.apply(s.input?s.input[0]:null,[s.input?s.input.val():"",s]),this._lastInput=null,this._inDialog&&(this._dialogInput.css({position:"absolute",left:"0",top:"-100px"}),C.blockUI&&(C.unblockUI(),C("body").append(this.dpDiv))),this._inDialog=!1)},_tidyDialog:function(t){t.dpDiv.removeClass(this._dialogClass).off(".ui-datepicker-calendar")},_checkExternalClick:function(t){var e;C.datepicker._curInst&&(e=C(t.target),t=C.datepicker._getInst(e[0]),(e[0].id===C.datepicker._mainDivId||0!==e.parents("#"+C.datepicker._mainDivId).length||e.hasClass(C.datepicker.markerClassName)||e.closest("."+C.datepicker._triggerClass).length||!C.datepicker._datepickerShowing||C.datepicker._inDialog&&C.blockUI)&&(!e.hasClass(C.datepicker.markerClassName)||C.datepicker._curInst===t)||C.datepicker._hideDatepicker())},_adjustDate:function(t,e,i){var s=C(t),t=this._getInst(s[0]);this._isDisabledDatepicker(s[0])||(this._adjustInstDate(t,e+("M"===i?this._get(t,"showCurrentAtPos"):0),i),this._updateDatepicker(t))},_gotoToday:function(t){var e=C(t),i=this._getInst(e[0]);this._get(i,"gotoCurrent")&&i.currentDay?(i.selectedDay=i.currentDay,i.drawMonth=i.selectedMonth=i.currentMonth,i.drawYear=i.selectedYear=i.currentYear):(t=new Date,i.selectedDay=t.getDate(),i.drawMonth=i.selectedMonth=t.getMonth(),i.drawYear=i.selectedYear=t.getFullYear()),this._notifyChange(i),this._adjustDate(e)},_selectMonthYear:function(t,e,i){var s=C(t),t=this._getInst(s[0]);t["selected"+("M"===i?"Month":"Year")]=t["draw"+("M"===i?"Month":"Year")]=parseInt(e.options[e.selectedIndex].value,10),this._notifyChange(t),this._adjustDate(s)},_selectDay:function(t,e,i,s){var n=C(t);C(s).hasClass(this._unselectableClass)||this._isDisabledDatepicker(n[0])||((n=this._getInst(n[0])).selectedDay=n.currentDay=C("a",s).html(),n.selectedMonth=n.currentMonth=e,n.selectedYear=n.currentYear=i,this._selectDate(t,this._formatDate(n,n.currentDay,n.currentMonth,n.currentYear)))},_clearDate:function(t){t=C(t);this._selectDate(t,"")},_selectDate:function(t,e){var i=C(t),t=this._getInst(i[0]);e=null!=e?e:this._formatDate(t),t.input&&t.input.val(e),this._updateAlternate(t),(i=this._get(t,"onSelect"))?i.apply(t.input?t.input[0]:null,[e,t]):t.input&&t.input.trigger("change"),t.inline?this._updateDatepicker(t):(this._hideDatepicker(),this._lastInput=t.input[0],"object"!=typeof t.input[0]&&t.input.trigger("focus"),this._lastInput=null)},_updateAlternate:function(t){var e,i,s=this._get(t,"altField");s&&(e=this._get(t,"altFormat")||this._get(t,"dateFormat"),i=this._getDate(t),t=this.formatDate(e,i,this._getFormatConfig(t)),C(s).val(t))},noWeekends:function(t){t=t.getDay();return[0<t&&t<6,""]}
vendor: 5,735 bytes, line 1
1,iso8601Week:function(t){var e=new Date(t.getTime());return e.setDate(e.getDate()+4-(e.getDay()||7)),t=e.getTime(),e.setMonth(0),e.setDate(1),Math.floor(Math.round((t-e)/864e5)/7)+1},parseDate:function(e,n,t){if(null==e||null==n)throw"Invalid arguments";if(""===(n="object"==typeof n?n.toString():n+""))return null;function o(t){return(t=w+1<e.length&&e.charAt(w+1)===t)&&w++,t}function i(t){var e=o(t),e="@"===t?14:"!"===t?20:"y"===t&&e?4:"o"===t?3:2,e=new RegExp("^\\d{"+("y"===t?e:1)+","+e+"}");if(!(e=n.substring(c).match(e)))throw"Missing number at position "+c;return c+=e[0].length,parseInt(e[0],10)}function s(t,e,i){var s=-1,e=C.map(o(t)?i:e,function(t,e){return[[e,t]]}).sort(function(t,e){return-(t[1].length-e[1].length)});if(C.each(e,function(t,e){var i=e[1];if(n.substr(c,i.length).toLowerCase()===i.toLowerCase())return s=e[0],c+=i.length,!1}),-1!==s)return s+1;throw"Unknown name at position "+c}function r(){if(n.charAt(c)!==e.charAt(w))throw"Unexpected literal at position "+c;c++}for(var a,l,h,c=0,u=(t?t.shortYearCutoff:null)||this._defaults.shortYearCutoff,u="string"!=typeof u?u:(new Date).getFullYear()%100+parseInt(u,10),d=(t?t.dayNamesShort:null)||this._defaults.dayNamesShort,p=(t?t.dayNames:null)||this._defaults.dayNames,f=(t?t.monthNamesShort:null)||this._defaults.monthNamesShort,g=(t?t.monthNames:null)||this._defaults.monthNames,m=-1,v=-1,y=-1,_=-1,b=!1,w=0;w<e.length;w++)if(b)"'"!==e.charAt(w)||o("'")?r():b=!1;else switch(e.charAt(w)){case"d":y=i("d");break;case"D":s("D",d,p);break;case"o":_=i("o");break;case"m":v=i("m");break;case"M":v=s("M",f,g);break;case"y":m=i("y");break;case"@":m=(h=new Date(i("@"))).getFullYear(),v=h.getMonth()+1,y=h.getDate();break;case"!":m=(h=new Date((i("!")-this._ticksTo1970)/1e4)).getFullYear(),v=h.getMonth()+1,y=h.getDate();break;case"'":o("'")?r():b=!0;break;default:r()}if(c<n.length&&(l=n.substr(c),!/^\s+/.test(l)))throw"Extra/unparsed characters found in date: "+l;if(-1===m?m=(new Date).getFullYear():m<100&&(m+=(new Date).getFullYear()-(new Date).getFullYear()%100+(m<=u?0:-100)),-1<_)for(v=1,y=_;;){if(y<=(a=this._getDaysInMonth(m,v-1)))break;v++,y-=a}if((h=this._daylightSavingAdjust(new Date(m,v-1,y))).getFullYear()!==m||h.getMonth()+1!==v||h.getDate()!==y)throw"Invalid date";return h},ATOM:"yy-mm-dd",COOKIE:"D, dd M yy",ISO_8601:"yy-mm-dd",RFC_822:"D, d M y",RFC_850:"DD, dd-M-y",RFC_1036:"D, d M y",RFC_1123:"D, d M yy",RFC_2822:"D, d M yy",RSS:"D, d M y",TICKS:"!",TIMESTAMP:"@",W3C:"yy-mm-dd",_ticksTo1970:24*(718685+Math.floor(492.5)-Math.floor(19.7)+Math.floor(4.925))*60*60*1e7,formatDate:function(e,t,i){if(!t)return"";function n(t){return(t=r+1<e.length&&e.charAt(r+1)===t)&&r++,t}function s(t,e,i){var s=""+e;if(n(t))for(;s.length<i;)s="0"+s;return s}function o(t,e,i,s){return(n(t)?s:i)[e]}var r,a=(i?i.dayNamesShort:null)||this._defaults.dayNamesShort,l=(i?i.dayNames:null)||this._defaults.dayNames,h=(i?i.monthNamesShort:null)||this._defaults.monthNamesShort,c=(i?i.monthNames:null)||this._defaults.monthNames,u="",d=!1;if(t)for(r=0;r<e.length;r++)if(d)"'"!==e.charAt(r)||n("'")?u+=e.charAt(r):d=!1;else switch(e.charAt(r)){case"d":u+=s("d",t.getDate(),2);break;case"D":u+=o("D",t.getDay(),a,l);break;case"o":u+=s("o",Math.round((new Date(t.getFullYear(),t.getMonth(),t.getDate()).getTime()-new Date(t.getFullYear(),0,0).getTime())/864e5),3);break;case"m":u+=s("m",t.getMonth()+1,2);break;case"M":u+=o("M",t.getMonth(),h,c);break;case"y":u+=n("y")?t.getFullYear():(t.getFullYear()%100<10?"0":"")+t.getFullYear()%100;break;case"@":u+=t.getTime();break;case"!":u+=1e4*t.getTime()+this._ticksTo1970;break;case"'":n("'")?u+="'":d=!0;break;default:u+=e.charAt(r)}return u},_possibleChars:function(e){function t(t){return(t=n+1<e.length&&e.charAt(n+1)===t)&&n++,t}for(var i="",s=!1,n=0;n<e.length;n++)if(s)"'"!==e.charAt(n)||t("'")?i+=e.charAt(n):s=!1;else switch(e.charAt(n)){case"d":case"m":case"y":case"@":i+="0123456789";break;case"D":case"M":return null;case"'":t("'")?i+="'":s=!0;break;default:i+=e.charAt(n)}return i},_get:function(t,e){return(void 0!==t.settings[e]?t.settings:this._defaults)[e]},_setDateFromField:function(t,e){if(t.input.val()!==t.lastVal){var i=this._get(t,"dateFormat"),s=t.lastVal=t.input?t.input.val():null,n=this._getDefaultDate(t),o=n,r=this._getFormatConfig(t);try{o=this.parseDate(i,s,r)||n}catch(t){s=e?"":s}t.selectedDay=o.getDate(),t.drawMonth=t.selectedMonth=o.getMonth(),t.drawYear=t.selectedYear=o.getFullYear(),t.currentDay=s?o.getDate():0,t.currentMonth=s?o.getMonth():0,t.currentYear=s?o.getFullYear():0,this._adjustInstDate(t)}},_getDefaultDate:function(t){return this._restrictMinMax(t,this._determineDate(t,this._get(t,"defaultDate"),new Date))},_determineDate:function(a,t,e){var i,s,t=null==t||""===t?e:"string"==typeof t?function(t){try{return C.datepicker.parseDate(C.datepicker._get(a,"dateFormat"),t,C.datepicker._getFormatConfig(a))}catch(t){}for(var e=(t.toLowerCase().match(/^c/)?C.datepicker._getDate(a):null)||new Date,i=e.getFullYear(),s=e.getMonth(),n=e.getDate(),o=/([+\-]?[0-9]+)\s*(d|D|w|W|m|M|y|Y)?/g,r=o.exec(t);r;){switch(r[2]||"d"){case"d":case"D":n+=parseInt(r[1],10);break;case"w":case"W":n+=7*parseInt(r[1],10);break;case"m":case"M":s+=parseInt(r[1],10),n=Math.min(n,C.datepicker._getDaysInMonth(i,s));break;case"y":case"Y":i+=parseInt(r[1],10),n=Math.min(n,C.datepicker._getDaysInMonth(i,s))}r=o.exec(t)}return new Date(i,s,n)}(t):"number"==typeof t?isNaN(t)?e:(i=t,(s=new Date).setDate(s.getDate()+i),s):new Date(t.getTime());return(t=t&&"Invalid Date"===t.toString()?e:t)&&(t.setHours(0),t.setMinutes(0),t.setSeconds(0),t.setMilliseconds(0)),this._daylightSavingAdjust(t)},_daylightSavingAdjust:function(t){return t?(t.setHours(12<t.getHours()?t.getHours()+2:0),t):null}
vendor: 5,120 bytes, line 1
1,_setDate:function(t,e,i){var s=!e,n=t.selectedMonth,o=t.selectedYear,e=this._restrictMinMax(t,this._determineDate(t,e,new Date));t.selectedDay=t.currentDay=e.getDate(),t.drawMonth=t.selectedMonth=t.currentMonth=e.getMonth(),t.drawYear=t.selectedYear=t.currentYear=e.getFullYear(),n===t.selectedMonth&&o===t.selectedYear||i||this._notifyChange(t),this._adjustInstDate(t),t.input&&t.input.val(s?"":this._formatDate(t))},_getDate:function(t){return!t.currentYear||t.input&&""===t.input.val()?null:this._daylightSavingAdjust(new Date(t.currentYear,t.currentMonth,t.currentDay))},_attachHandlers:function(t){var e=this._get(t,"stepMonths"),i="#"+t.id.replace(/\\\\/g,"\\");t.dpDiv.find("[data-handler]").map(function(){var t={prev:function(){C.datepicker._adjustDate(i,-e,"M")},next:function(){C.datepicker._adjustDate(i,+e,"M")},hide:function(){C.datepicker._hideDatepicker()},today:function(){C.datepicker._gotoToday(i)},selectDay:function(){return C.datepicker._selectDay(i,+this.getAttribute("data-month"),+this.getAttribute("data-year"),this),!1},selectMonth:function(){return C.datepicker._selectMonthYear(i,this,"M"),!1},selectYear:function(){return C.datepicker._selectMonthYear(i,this,"Y"),!1}};C(this).on(this.getAttribute("data-event"),t[this.getAttribute("data-handler")])})},_generateHTML:function(t){var e,i,s,n,o,r,a,l,h,c,u,d,p,f,g,m,v,y,_,b,w,C,k,T,x,S,E,I,D,M,P,A,O=new Date,N=this._daylightSavingAdjust(new Date(O.getFullYear(),O.getMonth(),O.getDate())),z=this._get(t,"isRTL"),j=this._get(t,"showButtonPanel"),L=this._get(t,"hideIfNoPrevNext"),H=this._get(t,"navigationAsDateFormat"),R=this._getNumberOfMonths(t),F=this._get(t,"showCurrentAtPos"),O=this._get(t,"stepMonths"),$=1!==R[0]||1!==R[1],B=this._daylightSavingAdjust(t.currentDay?new Date(t.currentYear,t.currentMonth,t.currentDay):new Date(9999,9,9)),W=this._getMinMaxDate(t,"min"),V=this._getMinMaxDate(t,"max"),U=t.drawMonth-F,q=t.drawYear;if(U<0&&(U+=12,q--),V)for(e=this._daylightSavingAdjust(new Date(V.getFullYear(),V.getMonth()-R[0]*R[1]+1,V.getDate())),e=W&&e<W?W:e;this._daylightSavingAdjust(new Date(q,U,1))>e;)--U<0&&(U=11,q--);for(t.drawMonth=U,t.drawYear=q,F=this._get(t,"prevText"),F=H?this.formatDate(F,this._daylightSavingAdjust(new Date(q,U-O,1)),this._getFormatConfig(t)):F,i=this._canAdjustMonth(t,-1,q,U)?"<a class='ui-datepicker-prev ui-corner-all' data-handler='prev' data-event='click' title='"+F+"'><span class='ui-icon ui-icon-caret-1-"+(z?"e":"w")+"'>"+F+"</span></a>":L?"":"<a class='ui-datepicker-prev ui-corner-all ui-state-disabled' title='"+F+"'><span class='ui-icon ui-icon-caret-1-"+(z?"e":"w")+"'>"+F+"</span></a>",F=this._get(t,"nextText"),F=H?this.formatDate(F,this._daylightSavingAdjust(new Date(q,U+O,1)),this._getFormatConfig(t)):F,s=this._canAdjustMonth(t,1,q,U)?"<a class='ui-datepicker-next ui-corner-all' data-handler='next' data-event='click' title='"+F+"'><span class='ui-icon ui-icon-caret-1-"+(z?"w":"e")+"'>"+F+"</span></a>":L?"":"<a class='ui-datepicker-next ui-corner-all ui-state-disabled' title='"+F+"'><span class='ui-icon ui-icon-caret-1-"+(z?"w":"e")+"'>"+F+"</span></a>",L=this._get(t,"currentText"),F=this._get(t,"gotoCurrent")&&t.currentDay?B:N,L=H?this.formatDate(L,F,this._getFormatConfig(t)):L,H=t.inline?"":"<button type='button' class='ui-datepicker-close ui-state-default ui-priority-primary ui-corner-all' data-handler='hide' data-event='click'>"+this._get(t,"closeText")+"</button>",H=j?"<div class='ui-datepicker-buttonpane ui-widget-content'>"+(z?H:"")+(this._isInRange(t,F)?"<button type='button' class='ui-datepicker-current ui-state-default ui-priority-secondary ui-corner-all' data-handler='today' data-event='click'>"+L+"</button>":"")+(z?"":H)+"</div>":"",n=parseInt(this._get(t,"firstDay"),10),n=isNaN(n)?0:n,o=this._get(t,"showWeek"),r=this._get(t,"dayNames"),a=this._get(t,"dayNamesMin"),l=this._get(t,"monthNames"),h=this._get(t,"monthNamesShort"),c=this._get(t,"beforeShowDay"),u=this._get(t,"showOtherMonths"),d=this._get(t,"selectOtherMonths"),p=this._getDefaultDate(t),f="",m=0;m<R[0];m++){for(v="",this.maxRows=4,y=0;y<R[1];y++){if(_=this._daylightSavingAdjust(new Date(q,U,t.selectedDay)),b=" ui-corner-all",w="",$){if(w+="<div class='ui-datepicker-group",1<R[1])switch(y){case 0:w+=" ui-datepicker-group-first",b=" ui-corner-"+(z?"right":"left");break;case R[1]-1:w+=" ui-datepicker-group-last",b=" ui-corner-"+(z?"left":"right");break;default:w+=" ui-datepicker-group-middle",b=""}w+="'>"}for(w+="<div class='ui-datepicker-header ui-widget-header ui-helper-clearfix"+b+"'>"+(/all|left/.test(b)&&0===m?z?s:i:"")+(/all|right/.test(b)&&0===m?z?i:s:"")+this._generateMonthYearHeader(t,U,q,W,V,0<m||0<y,l,h)+"</div><table class='ui-datepicker-calendar'><thead><tr>",C=o?"<th class='ui-datepicker-week-col'>"+this._get(t,"weekHeader")+"</th>":"",g=0;g<7;g++)C+="<th scope='col'"+(5<=(g+n+6)%7?" class='ui-datepicker-week-end'":"")+"><span title='"+r[k=(g+n)%7]+"'>"+a[k]+"</span></th>";for(w+=C+"</tr></thead><tbody>",x=this._getDaysInMonth(q,U),q===t.selectedYear&&U===t.selectedMonth&&(t.selectedDay=Math.min(t.selectedDay,x)),T=(this._getFirstDayOfMonth(q,U)-n+7
vendor: 4,776 bytes, line 1
1)%7,x=Math.ceil((T+x)/7),S=$&&this.maxRows>x?this.maxRows:x,this.maxRows=S,E=this._daylightSavingAdjust(new Date(q,U,1-T)),I=0;I<S;I++){for(w+="<tr>",D=o?"<td class='ui-datepicker-week-col'>"+this._get(t,"calculateWeek")(E)+"</td>":"",g=0;g<7;g++)M=c?c.apply(t.input?t.input[0]:null,[E]):[!0,""],A=(P=E.getMonth()!==U)&&!d||!M[0]||W&&E<W||V&&V<E,D+="<td class='"+(5<=(g+n+6)%7?" ui-datepicker-week-end":"")+(P?" ui-datepicker-other-month":"")+(E.getTime()===_.getTime()&&U===t.selectedMonth&&t._keyEvent||p.getTime()===E.getTime()&&p.getTime()===_.getTime()?" "+this._dayOverClass:"")+(A?" "+this._unselectableClass+" ui-state-disabled":"")+(P&&!u?"":" "+M[1]+(E.getTime()===B.getTime()?" "+this._currentClass:"")+(E.getTime()===N.getTime()?" ui-datepicker-today":""))+"'"+(P&&!u||!M[2]?"":" title='"+M[2].replace(/'/g,"&#39;")+"'")+(A?"":" data-handler='selectDay' data-event='click' data-month='"+E.getMonth()+"' data-year='"+E.getFullYear()+"'")+">"+(P&&!u?"&#xa0;":A?"<span class='ui-state-default'>"+E.getDate()+"</span>":"<a class='ui-state-default"+(E.getTime()===N.getTime()?" ui-state-highlight":"")+(E.getTime()===B.getTime()?" ui-state-active":"")+(P?" ui-priority-secondary":"")+"' href='#'>"+E.getDate()+"</a>")+"</td>",E.setDate(E.getDate()+1),E=this._daylightSavingAdjust(E);w+=D+"</tr>"}11<++U&&(U=0,q++),v+=w+="</tbody></table>"+($?"</div>"+(0<R[0]&&y===R[1]-1?"<div class='ui-datepicker-row-break'></div>":""):"")}f+=v}return f+=H,t._keyEvent=!1,f},_generateMonthYearHeader:function(t,e,i,s,n,o,r,a){var l,h,c,u,d,p,f,g=this._get(t,"changeMonth"),m=this._get(t,"changeYear"),v=this._get(t,"showMonthAfterYear"),y="<div class='ui-datepicker-title'>",_="";if(o||!g)_+="<span class='ui-datepicker-month'>"+r[e]+"</span>";else{for(l=s&&s.getFullYear()===i,h=n&&n.getFullYear()===i,_+="<select class='ui-datepicker-month' data-handler='selectMonth' data-event='change'>",c=0;c<12;c++)(!l||c>=s.getMonth())&&(!h||c<=n.getMonth())&&(_+="<option value='"+c+"'"+(c===e?" selected='selected'":"")+">"+a[c]+"</option>");_+="</select>"}if(v||(y+=_+(!o&&g&&m?"":"&#xa0;")),!t.yearshtml)if(t.yearshtml="",o||!m)y+="<span class='ui-datepicker-year'>"+i+"</span>";else{for(u=this._get(t,"yearRange").split(":"),d=(new Date).getFullYear(),p=(r=function(t){t=t.match(/c[+\-].*/)?i+parseInt(t.substring(1),10):t.match(/[+\-].*/)?d+parseInt(t,10):parseInt(t,10);return isNaN(t)?d:t})(u[0]),f=Math.max(p,r(u[1]||"")),p=s?Math.max(p,s.getFullYear()):p,f=n?Math.min(f,n.getFullYear()):f,t.yearshtml+="<select class='ui-datepicker-year' data-handler='selectYear' data-event='change'>";p<=f;p++)t.yearshtml+="<option value='"+p+"'"+(p===i?" selected='selected'":"")+">"+p+"</option>";t.yearshtml+="</select>",y+=t.yearshtml,t.yearshtml=null}return y+=this._get(t,"yearSuffix"),v&&(y+=(!o&&g&&m?"":"&#xa0;")+_),y+="</div>"},_adjustInstDate:function(t,e,i){var s=t.selectedYear+("Y"===i?e:0),n=t.selectedMonth+("M"===i?e:0),e=Math.min(t.selectedDay,this._getDaysInMonth(s,n))+("D"===i?e:0),e=this._restrictMinMax(t,this._daylightSavingAdjust(new Date(s,n,e)));t.selectedDay=e.getDate(),t.drawMonth=t.selectedMonth=e.getMonth(),t.drawYear=t.selectedYear=e.getFullYear(),"M"!==i&&"Y"!==i||this._notifyChange(t)},_restrictMinMax:function(t,e){var i=this._getMinMaxDate(t,"min"),t=this._getMinMaxDate(t,"max"),e=i&&e<i?i:e;return t&&t<e?t:e},_notifyChange:function(t){var e=this._get(t,"onChangeMonthYear");e&&e.apply(t.input?t.input[0]:null,[t.selectedYear,t.selectedMonth+1,t])},_getNumberOfMonths:function(t){t=this._get(t,"numberOfMonths");return null==t?[1,1]:"number"==typeof t?[1,t]:t},_getMinMaxDate:function(t,e){return this._determineDate(t,this._get(t,e+"Date"),null)},_getDaysInMonth:function(t,e){return 32-this._daylightSavingAdjust(new Date(t,e,32)).getDate()},_getFirstDayOfMonth:function(t,e){return new Date(t,e,1).getDay()},_canAdjustMonth:function(t,e,i,s){var n=this._getNumberOfMonths(t),n=this._daylightSavingAdjust(new Date(i,s+(e<0?e:n[0]*n[1]),1));return e<0&&n.setDate(this._getDaysInMonth(n.getFullYear(),n.getMonth())),this._isInRange(t,n)},_isInRange:function(t,e){var i=this._getMinMaxDate(t,"min"),s=this._getMinMaxDate(t,"max"),n=null,o=null,r=this._get(t,"yearRange");return r&&(t=r.split(":"),r=(new Date).getFullYear(),n=parseInt(t[0],10),o=parseInt(t[1],10),t[0].match(/[+\-].*/)&&(n+=r),t[1].match(/[+\-].*/)&&(o+=r)),(!i||e.getTime()>=i.getTime())&&(!s||e.getTime()<=s.getTime())&&(!n||e.getFullYear()>=n)&&(!o||e.getFullYear()<=o)},_getFormatConfig:function(t){var e=this._get(t,"shortYearCutoff");return{shortYearCutoff:e="string"!=typeof e?e:(new Date).getFullYear()%100+parseInt(e,10),dayNamesShort:this._get(t,"dayNamesShort"),dayNames:this._get(t,"dayNames"),monthNamesShort:this._get(t,"monthNamesShort"),monthNames:this._get(t,"monthNames")}}
vendor: 4,302 bytes, line 1
1,_formatDate:function(t,e,i,s){e||(t.currentDay=t.selectedDay,t.currentMonth=t.selectedMonth,t.currentYear=t.selectedYear);e=e?"object"==typeof e?e:this._daylightSavingAdjust(new Date(s,i,e)):this._daylightSavingAdjust(new Date(t.currentYear,t.currentMonth,t.currentDay));return this.formatDate(this._get(t,"dateFormat"),e,this._getFormatConfig(t))}}),C.fn.datepicker=function(t){if(!this.length)return this;C.datepicker.initialized||(C(document).on("mousedown",C.datepicker._checkExternalClick),C.datepicker.initialized=!0),0===C("#"+C.datepicker._mainDivId).length&&C("body").append(C.datepicker.dpDiv);var e=Array.prototype.slice.call(arguments,1);return"string"==typeof t&&("isDisabled"===t||"getDate"===t||"widget"===t)||"option"===t&&2===arguments.length&&"string"==typeof arguments[1]?C.datepicker["_"+t+"Datepicker"].apply(C.datepicker,[this[0]].concat(e)):this.each(function(){"string"==typeof t?C.datepicker["_"+t+"Datepicker"].apply(C.datepicker,[this].concat(e)):C.datepicker._attachDatepicker(this,t)})},C.datepicker=new J,C.datepicker.initialized=!1,C.datepicker.uuid=(new Date).getTime(),C.datepicker.version="1.12.1";C.datepicker,C.ui.ie=!!/msie [\w.]+/.exec(navigator.userAgent.toLowerCase());var st=!1;C(document).on("mouseup",function(){st=!1});C.widget("ui.mouse",{version:"1.12.1",options:{cancel:"input, textarea, button, select, option",distance:1,delay:0},_mouseInit:function(){var e=this;this.element.on("mousedown."+this.widgetName,function(t){return e._mouseDown(t)}).on("click."+this.widgetName,function(t){if(!0===C.data(t.target,e.widgetName+".preventClickEvent"))return C.removeData(t.target,e.widgetName+".preventClickEvent"),t.stopImmediatePropagation(),!1}),this.started=!1},_mouseDestroy:function(){this.element.off("."+this.widgetName),this._mouseMoveDelegate&&this.document.off("mousemove."+this.widgetName,this._mouseMoveDelegate).off("mouseup."+this.widgetName,this._mouseUpDelegate)},_mouseDown:function(t){if(!st){this._mouseMoved=!1,this._mouseStarted&&this._mouseUp(t),this._mouseDownEvent=t;var e=this,i=1===t.which,s=!("string"!=typeof this.options.cancel||!t.target.nodeName)&&C(t.target).closest(this.options.cancel).length;return i&&!s&&this._mouseCapture(t)?(this.mouseDelayMet=!this.options.delay,this.mouseDelayMet||(this._mouseDelayTimer=setTimeout(function(){e.mouseDelayMet=!0},this.options.delay)),this._mouseDistanceMet(t)&&this._mouseDelayMet(t)&&(this._mouseStarted=!1!==this._mouseStart(t),!this._mouseStarted)?(t.preventDefault(),!0):(!0===C.data(t.target,this.widgetName+".preventClickEvent")&&C.removeData(t.target,this.widgetName+".preventClickEvent"),this._mouseMoveDelegate=function(t){return e._mouseMove(t)},this._mouseUpDelegate=function(t){return e._mouseUp(t)},this.document.on("mousemove."+this.widgetName,this._mouseMoveDelegate).on("mouseup."+this.widgetName,this._mouseUpDelegate),t.preventDefault(),st=!0)):!0}},_mouseMove:function(t){if(this._mouseMoved){if(C.ui.ie&&(!document.documentMode||document.documentMode<9)&&!t.button)return this._mouseUp(t);if(!t.which)if(t.originalEvent.altKey||t.originalEvent.ctrlKey||t.originalEvent.metaKey||t.originalEvent.shiftKey)this.ignoreMissingWhich=!0;else if(!this.ignoreMissingWhich)return this._mouseUp(t)}return(t.which||t.button)&&(this._mouseMoved=!0),this._mouseStarted?(this._mouseDrag(t),t.preventDefault()):(this._mouseDistanceMet(t)&&this._mouseDelayMet(t)&&(this._mouseStarted=!1!==this._mouseStart(this._mouseDownEvent,t),this._mouseStarted?this._mouseDrag(t):this._mouseUp(t)),!this._mouseStarted)},_mouseUp:function(t){this.document.off("mousemove."+this.widgetName,this._mouseMoveDelegate).off("mouseup."+this.widgetName,this._mouseUpDelegate),this._mouseStarted&&(this._mouseStarted=!1,t.target===this._mouseDownEvent.target&&C.data(t.target,this.widgetName+".preventClickEvent",!0),this._mouseStop(t)),this._mouseDelayTimer&&(clearTimeout(this._mouseDelayTimer),delete this._mouseDelayTimer),this.ignoreMissingWhich=!1,st=!1,t.preventDefault()},_mouseDistanceMet:function(t){return Math.max(Math.abs(this._mouseDownEvent.pageX-t.pageX),Math.abs(this._mouseDownEvent.pageY-t.pageY))>=this.options.distance},_mouseDelayMet:function(){return this.mouseDelayMet},_mouseStart:function(){},_mouseDrag:function(){},_mouseStop:function(){},_mouseCapture:function(){return!0}}
vendor: 11,250 bytes, line 1
1),C.ui.plugin={add:function(t,e,i){var s,n=C.ui[t].prototype;for(s in i)n.plugins[s]=n.plugins[s]||[],n.plugins[s].push([e,i[s]])},call:function(t,e,i,s){var n,o=t.plugins[e];if(o&&(s||t.element[0].parentNode&&11!==t.element[0].parentNode.nodeType))for(n=0;n<o.length;n++)t.options[o[n][0]]&&o[n][1].apply(t.element,i)}},C.ui.safeBlur=function(t){t&&"body"!==t.nodeName.toLowerCase()&&C(t).trigger("blur")};C.widget("ui.draggable",C.ui.mouse,{version:"1.12.1",widgetEventPrefix:"drag",options:{addClasses:!0,appendTo:"parent",axis:!1,connectToSortable:!1,containment:!1,cursor:"auto",cursorAt:!1,grid:!1,handle:!1,helper:"original",iframeFix:!1,opacity:!1,refreshPositions:!1,revert:!1,revertDuration:500,scope:"default",scroll:!0,scrollSensitivity:20,scrollSpeed:20,snap:!1,snapMode:"both",snapTolerance:20,stack:!1,zIndex:!1,drag:null,start:null,stop:null},_create:function(){"original"===this.options.helper&&this._setPositionRelative(),this.options.addClasses&&this._addClass("ui-draggable"),this._setHandleClassName(),this._mouseInit()},_setOption:function(t,e){this._super(t,e),"handle"===t&&(this._removeHandleClassName(),this._setHandleClassName())},_destroy:function(){(this.helper||this.element).is(".ui-draggable-dragging")?this.destroyOnClear=!0:(this._removeHandleClassName(),this._mouseDestroy())},_mouseCapture:function(t){var e=this.options;return!(this.helper||e.disabled||0<C(t.target).closest(".ui-resizable-handle").length)&&(this.handle=this._getHandle(t),!!this.handle&&(this._blurActiveElement(t),this._blockFrames(!0===e.iframeFix?"iframe":e.iframeFix),!0))},_blockFrames:function(t){this.iframeBlocks=this.document.find(t).map(function(){var t=C(this);return C("<div>").css("position","absolute").appendTo(t.parent()).outerWidth(t.outerWidth()).outerHeight(t.outerHeight()).offset(t.offset())[0]})},_unblockFrames:function(){this.iframeBlocks&&(this.iframeBlocks.remove(),delete this.iframeBlocks)},_blurActiveElement:function(t){var e=C.ui.safeActiveElement(this.document[0]);C(t.target).closest(e).length||C.ui.safeBlur(e)},_mouseStart:function(t){var e=this.options;return this.helper=this._createHelper(t),this._addClass(this.helper,"ui-draggable-dragging"),this._cacheHelperProportions(),C.ui.ddmanager&&(C.ui.ddmanager.current=this),this._cacheMargins(),this.cssPosition=this.helper.css("position"),this.scrollParent=this.helper.scrollParent(!0),this.offsetParent=this.helper.offsetParent(),this.hasFixedAncestor=0<this.helper.parents().filter(function(){return"fixed"===C(this).css("position")}).length,this.positionAbs=this.element.offset(),this._refreshOffsets(t),this.originalPosition=this.position=this._generatePosition(t,!1),this.originalPageX=t.pageX,this.originalPageY=t.pageY,e.cursorAt&&this._adjustOffsetFromHelper(e.cursorAt),this._setContainment(),!1===this._trigger("start",t)?(this._clear(),!1):(this._cacheHelperProportions(),C.ui.ddmanager&&!e.dropBehaviour&&C.ui.ddmanager.prepareOffsets(this,t),this._mouseDrag(t,!0),C.ui.ddmanager&&C.ui.ddmanager.dragStart(this,t),!0)},_refreshOffsets:function(t){this.offset={top:this.positionAbs.top-this.margins.top,left:this.positionAbs.left-this.margins.left,scroll:!1,parent:this._getParentOffset(),relative:this._getRelativeOffset()},this.offset.click={left:t.pageX-this.offset.left,top:t.pageY-this.offset.top}},_mouseDrag:function(t,e){if(this.hasFixedAncestor&&(this.offset.parent=this._getParentOffset()),this.position=this._generatePosition(t,!0),this.positionAbs=this._convertPositionTo("absolute"),!e){e=this._uiHash();if(!1===this._trigger("drag",t,e))return this._mouseUp(new C.Event("mouseup",t)),!1;this.position=e.position}return this.helper[0].style.left=this.position.left+"px",this.helper[0].style.top=this.position.top+"px",C.ui.ddmanager&&C.ui.ddmanager.drag(this,t),!1},_mouseStop:function(t){var e=this,i=!1;return C.ui.ddmanager&&!this.options.dropBehaviour&&(i=C.ui.ddmanager.drop(this,t)),this.dropped&&(i=this.dropped,this.dropped=!1),"invalid"===this.options.revert&&!i||"valid"===this.options.revert&&i||!0===this.options.revert||C.isFunction(this.options.revert)&&this.options.revert.call(this.element,i)?C(this.helper).animate(this.originalPosition,parseInt(this.options.revertDuration,10),function(){!1!==e._trigger("stop",t)&&e._clear()}):!1!==this._trigger("stop",t)&&this._clear(),!1},_mouseUp:function(t){return this._unblockFrames(),C.ui.ddmanager&&C.ui.ddmanager.dragStop(this,t),this.handleElement.is(t.target)&&this.element.trigger("focus"),C.ui.mouse.prototype._mouseUp.call(this,t)},cancel:function(){return this.helper.is(".ui-draggable-dragging")?this._mouseUp(new C.Event("mouseup",{target:this.element[0]})):this._clear(),this},_getHandle:function(t){return!this.options.handle||!!C(t.target).closest(this.element.find(this.options.handle)).length},_setHandleClassName:function(){this.handleElement=this.options.handle?this.element.find(this.options.handle):this.element,this._addClass(this.handleElement,"ui-draggable-handle")},_removeHandleClassName:function(){this._removeClass(this.handleElement,"ui-draggable-handle")},_createHelper:function(t){var e=this.options,i=C.isFunction(e.helper),t=i?C(e.helper.apply(this.element[0],[t])):"clone"===e.helper?this.element.clone().removeAttr("id"):this.element;return t.parents("body").length||t.appendTo("parent"===e.appendTo?this.element[0].parentNode:e.appendTo),i&&t[0]===this.element[0]&&this._setPositionRelative(),t[0]===this.element[0]||/(fixed|absolute)/.test(t.css("position"))||t.css("position","absolute"),t},_setPositionRelative:function(){/^(?:r|a|f)/.test(this.element.css("position"))||(this.element[0].style.position="relative")},_adjustOffsetFromHelper:function(t){"string"==typeof t&&(t=t.split(" ")),"left"in(t=C.isArray(t)?{left:+t[0],top:+t[1]||0}:t)&&(this.offset.click.left=t.left+this.margins.left),"right"in t&&(this.offset.click.left=this.helperProportions.width-t.right+this.margins.left),"top"in t&&(this.offset.click.top=t.top+this.margins.top),"bottom"in t&&(this.offset.click.top=this.helperProportions.height-t.bottom+this.margins.top)},_isRootNode:function(t){return/(html|body)/i.test(t.tagName)||t===this.document[0]},_getParentOffset:function(){var t=this.offsetParent.offset(),e=this.document[0];return"absolute"===this.cssPosition&&this.scrollParent[0]!==e&&C.contains(this.scrollParent[0],this.offsetParent[0])&&(t.left+=this.scrollParent.scrollLeft(),t.top+=this.scrollParent.scrollTop()),{top:(t=this._isRootNode(this.offsetParent[0])?{top:0,left:0}:t).top+(parseInt(this.offsetParent.css("borderTopWidth"),10)||0),left:t.left+(parseInt(this.offsetParent.css("borderLeftWidth"),10)||0)}},_getRelativeOffset:function(){if("relative"!==this.cssPosition)return{top:0,left:0};var t=this.element.position(),e=this._isRootNode(this.scrollParent[0]);return{top:t.top-(parseInt(this.helper.css("top"),10)||0)+(e?0:this.scrollParent.scrollTop()),left:t.left-(parseInt(this.helper.css("left"),10)||0)+(e?0:this.scrollParent.scrollLeft())}},_cacheMargins:function(){this.margins={left:parseInt(this.element.css("marginLeft"),10)||0,top:parseInt(this.element.css("marginTop"),10)||0,right:parseInt(this.element.css("marginRight"),10)||0,bottom:parseInt(this.element.css("marginBottom"),10)||0}},_cacheHelperProportions:function(){this.helperProportions={width:this.helper.outerWidth(),height:this.helper.outerHeight()}},_setContainment:function(){var t,e,i,s=this.options,n=this.document[0];this.relativeContainer=null,s.containment?"window"!==s.containment?"document"!==s.containment?s.containment.constructor!==Array?("parent"===s.containment&&(s.containment=this.helper[0].parentNode),(i=(e=C(s.containment))[0])&&(t=/(scroll|auto)/.test(e.css("overflow")),this.containment=[(parseInt(e.css("borderLeftWidth"),10)||0)+(parseInt(e.css("paddingLeft"),10)||0),(parseInt(e.css("borderTopWidth"),10)||0)+(parseInt(e.css("paddingTop"),10)||0),(t?Math.max(i.scrollWidth,i.offsetWidth):i.offsetWidth)-(parseInt(e.css("borderRightWidth"),10)||0)-(parseInt(e.css("paddingRight"),10)||0)-this.helperProportions.width-this.margins.left-this.margins.right,(t?Math.max(i.scrollHeight,i.offsetHeight):i.offsetHeight)-(parseInt(e.css("borderBottomWidth"),10)||0)-(parseInt(e.css("paddingBottom"),10)||0)-this.helperProportions.height-this.margins.top-this.margins.bottom],this.relativeContainer=e)):this.containment=s.containment:this.containment=[0,0,C(n).width()-this.helperProportions.width-this.margins.left,(C(n).height()||n.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top]:this.containment=[C(window).scrollLeft()-this.offset.relative.left-this.offset.parent.left,C(window).scrollTop()-this.offset.relative.top-this.offset.parent.top,C(window).scrollLeft()+C(window).width()-this.helperProportions.width-this.margins.left,C(window).scrollTop()+(C(window).height()||n.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top]:this.containment=null},_convertPositionTo:function(t,e){e=e||this.position;var i="absolute"===t?1:-1,t=this._isRootNode(this.scrollParent[0]);return{top:e.top+this.offset.relative.top*i+this.offset.parent.top*i-("fixed"===this.cssPosition?-this.offset.scroll.top:t?0:this.offset.scroll.top)*i,left:e.left+this.offset.relative.left*i+this.offset.parent.left*i-("fixed"===this.cssPosition?-this.offset.scroll.left:t?0:this.offset.scroll.left)*i}},_generatePosition:function(t,e){var i,s=this.options,n=this._isRootNode(this.scrollParent[0]),o=t.pageX,r=t.pageY;return n&&this.offset.scroll||(this.offset.scroll={top:this.scrollParent.scrollTop(),left:this.scrollParent.scrollLeft()}),e&&(this.containment&&(i=this.relativeContainer?(i=this.relativeContainer.offset(),[this.containment[0]+i.left,this.containment[1]+i.top,this.containment[2]+i.left,this.containment[3]+i.top]):this.containment,t.pageX-this.offset.click.left<i[0]&&(o=i[0]+this.offset.click.left),t.pageY-this.offset.click.top<i[1]&&(r=i[1]+this.offset.click.top),t.pageX-this.offset.click.left>i[2]&&(o=i[2]+this.offset.click.left),t.pageY-this.offset.click.top>i[3]&&(r=i[3]+this.offset.click.top)),s.grid&&(t=s.grid[1]?this.originalPageY+Math.round((r-this.originalPageY)/s.grid[1])*s.grid[1]:this.originalPageY,r=!i||t-this.offset.click.top>=i[1]||t-this.offset.click.top>i[3]?t:t-this.offset.click.top>=i[1]?t-s.grid[1]:t+s.grid[1],t=s.grid[0]?this.originalPageX+Math.round((o-this.originalPageX)/s.grid[0])*s.grid[0]:this.originalPageX,o=!i||t-this.offset.click.left>=i[0]||t-this.offset.click.left>i[2]?t:t-this.offset.click.left>=i[0]?t-s.grid[0]:t+s.grid[0]),"y"===s.axis&&(o=this.originalPageX),"x"===s.axis&&(r=this.originalPageY)),{top:r-this.offset.click.top-this.offset.relative.top-this.offset.parent.top+("fixed"===this.cssPosition?-this.offset.scroll.top:n?0:this.offset.scroll.top),left:o-this.offset.click.left-this.offset.relative.left-this.offset.parent.left+("fixed"===this.cssPosition?-this.offset.scroll.left:n?0:this.offset.scroll.left)}},_clear:function(){this._removeClass(this.helper,"ui-draggable-dragging"),this.helper[0]===this.element[0]||this.cancelHelperRemoval||this.helper.remove(),this.helper=null,this.cancelHelperRemoval=!1,this.destroyOnClear&&this.destroy()},_trigger:function(t,e,i){return i=i||this._uiHash(),C.ui.plugin.call(this,t,[e,i,this],!0),/^(drag|start|stop
vendor: 4,484 bytes, line 1
1)/.test(t)&&(this.positionAbs=this._convertPositionTo("absolute"),i.offset=this.positionAbs),C.Widget.prototype._trigger.call(this,t,e,i)},plugins:{},_uiHash:function(){return{helper:this.helper,position:this.position,originalPosition:this.originalPosition,offset:this.positionAbs}}}),C.ui.plugin.add("draggable","connectToSortable",{start:function(e,t,i){var s=C.extend({},t,{item:i.element});i.sortables=[],C(i.options.connectToSortable).each(function(){var t=C(this).sortable("instance");t&&!t.options.disabled&&(i.sortables.push(t),t.refreshPositions(),t._trigger("activate",e,s))})},stop:function(e,t,i){var s=C.extend({},t,{item:i.element});i.cancelHelperRemoval=!1,C.each(i.sortables,function(){var t=this;t.isOver?(t.isOver=0,i.cancelHelperRemoval=!0,t.cancelHelperRemoval=!1,t._storedCSS={position:t.placeholder.css("position"),top:t.placeholder.css("top"),left:t.placeholder.css("left")},t._mouseStop(e),t.options.helper=t.options._helper):(t.cancelHelperRemoval=!0,t._trigger("deactivate",e,s))})},drag:function(i,s,n){C.each(n.sortables,function(){var t=!1,e=this;e.positionAbs=n.positionAbs,e.helperProportions=n.helperProportions,e.offset.click=n.offset.click,e._intersectsWith(e.containerCache)&&(t=!0,C.each(n.sortables,function(){return this.positionAbs=n.positionAbs,this.helperProportions=n.helperProportions,this.offset.click=n.offset.click,t=this!==e&&this._intersectsWith(this.containerCache)&&C.contains(e.element[0],this.element[0])?!1:t})),t?(e.isOver||(e.isOver=1,n._parent=s.helper.parent(),e.currentItem=s.helper.appendTo(e.element).data("ui-sortable-item",!0),e.options._helper=e.options.helper,e.options.helper=function(){return s.helper[0]},i.target=e.currentItem[0],e._mouseCapture(i,!0),e._mouseStart(i,!0,!0),e.offset.click.top=n.offset.click.top,e.offset.click.left=n.offset.click.left,e.offset.parent.left-=n.offset.parent.left-e.offset.parent.left,e.offset.parent.top-=n.offset.parent.top-e.offset.parent.top,n._trigger("toSortable",i),n.dropped=e.element,C.each(n.sortables,function(){this.refreshPositions()}),n.currentItem=n.element,e.fromOutside=n),e.currentItem&&(e._mouseDrag(i),s.position=e.position)):e.isOver&&(e.isOver=0,e.cancelHelperRemoval=!0,e.options._revert=e.options.revert,e.options.revert=!1,e._trigger("out",i,e._uiHash(e)),e._mouseStop(i,!0),e.options.revert=e.options._revert,e.options.helper=e.options._helper,e.placeholder&&e.placeholder.remove(),s.helper.appendTo(n._parent),n._refreshOffsets(i),s.position=n._generatePosition(i,!0),n._trigger("fromSortable",i),n.dropped=!1,C.each(n.sortables,function(){this.refreshPositions()}))})}}),C.ui.plugin.add("draggable","cursor",{start:function(t,e,i){var s=C("body"),i=i.options;s.css("cursor")&&(i._cursor=s.css("cursor")),s.css("cursor",i.cursor)},stop:function(t,e,i){i=i.options;i._cursor&&C("body").css("cursor",i._cursor)}}),C.ui.plugin.add("draggable","opacity",{start:function(t,e,i){e=C(e.helper),i=i.options;e.css("opacity")&&(i._opacity=e.css("opacity")),e.css("opacity",i.opacity)},stop:function(t,e,i){i=i.options;i._opacity&&C(e.helper).css("opacity",i._opacity)}}),C.ui.plugin.add("draggable","scroll",{start:function(t,e,i){i.scrollParentNotHidden||(i.scrollParentNotHidden=i.helper.scrollParent(!1)),i.scrollParentNotHidden[0]!==i.document[0]&&"HTML"!==i.scrollParentNotHidden[0].tagName&&(i.overflowOffset=i.scrollParentNotHidden.offset())},drag:function(t,e,i){var s=i.options,n=!1,o=i.scrollParentNotHidden[0],r=i.document[0];o!==r&&"HTML"!==o.tagName?(s.axis&&"x"===s.axis||(i.overflowOffset.top+o.offsetHeight-t.pageY<s.scrollSensitivity?o.scrollTop=n=o.scrollTop+s.scrollSpeed:t.pageY-i.overflowOffset.top<s.scrollSensitivity&&(o.scrollTop=n=o.scrollTop-s.scrollSpeed)),s.axis&&"y"===s.axis||(i.overflowOffset.left+o.offsetWidth-t.pageX<s.scrollSensitivity?o.scrollLeft=n=o.scrollLeft+s.scrollSpeed:t.pageX-i.overflowOffset.left<s.scrollSensitivity&&(o.scrollLeft=n=o.scrollLeft-s.scrollSpeed))):(s.axis&&"x"===s.axis||(t.pageY-C(r).scrollTop()<s.scrollSensitivity?n=C(r).scrollTop(C(r).scrollTop()-s.scrollSpeed):C(window).height()-(t.pageY-C(r).scrollTop())<s.scrollSensitivity&&(n=C(r).scrollTop(C(r).scrollTop()+s.scrollSpeed))),s.axis&&"y"===s.axis||(t.pageX-C(r).scrollLeft()<s.scrollSensitivity?n=C(r).scrollLeft(C(r).scrollLeft()-s.scrollSpeed):C(window).width()-(t.pageX-C(r).scrollLeft())<s.scrollSensitivity&&(n=C(r).scrollLeft(C(r).scrollLeft()+s.scrollSpeed)))),!1!==n&&C.ui.ddmanager&&!s.dropBehaviour&&C.ui.ddmanager.prepareOffsets(i,t)}}
vendor: 11,001 bytes, line 1
1),C.ui.plugin.add("draggable","snap",{start:function(t,e,i){var s=i.options;i.snapElements=[],C(s.snap.constructor!==String?s.snap.items||":data(ui-draggable)":s.snap).each(function(){var t=C(this),e=t.offset();this!==i.element[0]&&i.snapElements.push({item:this,width:t.outerWidth(),height:t.outerHeight(),top:e.top,left:e.left})})},drag:function(t,e,i){for(var s,n,o,r,a,l,h,c,u,d=i.options,p=d.snapTolerance,f=e.offset.left,g=f+i.helperProportions.width,m=e.offset.top,v=m+i.helperProportions.height,y=i.snapElements.length-1;0<=y;y--)l=(a=i.snapElements[y].left-i.margins.left)+i.snapElements[y].width,c=(h=i.snapElements[y].top-i.margins.top)+i.snapElements[y].height,g<a-p||l+p<f||v<h-p||c+p<m||!C.contains(i.snapElements[y].item.ownerDocument,i.snapElements[y].item)?(i.snapElements[y].snapping&&i.options.snap.release&&i.options.snap.release.call(i.element,t,C.extend(i._uiHash(),{snapItem:i.snapElements[y].item})),i.snapElements[y].snapping=!1):("inner"!==d.snapMode&&(s=Math.abs(h-v)<=p,n=Math.abs(c-m)<=p,o=Math.abs(a-g)<=p,r=Math.abs(l-f)<=p,s&&(e.position.top=i._convertPositionTo("relative",{top:h-i.helperProportions.height,left:0}).top),n&&(e.position.top=i._convertPositionTo("relative",{top:c,left:0}).top),o&&(e.position.left=i._convertPositionTo("relative",{top:0,left:a-i.helperProportions.width}).left),r&&(e.position.left=i._convertPositionTo("relative",{top:0,left:l}).left)),u=s||n||o||r,"outer"!==d.snapMode&&(s=Math.abs(h-m)<=p,n=Math.abs(c-v)<=p,o=Math.abs(a-f)<=p,r=Math.abs(l-g)<=p,s&&(e.position.top=i._convertPositionTo("relative",{top:h,left:0}).top),n&&(e.position.top=i._convertPositionTo("relative",{top:c-i.helperProportions.height,left:0}).top),o&&(e.position.left=i._convertPositionTo("relative",{top:0,left:a}).left),r&&(e.position.left=i._convertPositionTo("relative",{top:0,left:l-i.helperProportions.width}).left)),!i.snapElements[y].snapping&&(s||n||o||r||u)&&i.options.snap.snap&&i.options.snap.snap.call(i.element,t,C.extend(i._uiHash(),{snapItem:i.snapElements[y].item})),i.snapElements[y].snapping=s||n||o||r||u)}}),C.ui.plugin.add("draggable","stack",{start:function(t,e,i){var s,i=i.options,i=C.makeArray(C(i.stack)).sort(function(t,e){return(parseInt(C(t).css("zIndex"),10)||0)-(parseInt(C(e).css("zIndex"),10)||0)});i.length&&(s=parseInt(C(i[0]).css("zIndex"),10)||0,C(i).each(function(t){C(this).css("zIndex",s+t)}),this.css("zIndex",s+i.length))}}),C.ui.plugin.add("draggable","zIndex",{start:function(t,e,i){e=C(e.helper),i=i.options;e.css("zIndex")&&(i._zIndex=e.css("zIndex")),e.css("zIndex",i.zIndex)},stop:function(t,e,i){i=i.options;i._zIndex&&C(e.helper).css("zIndex",i._zIndex)}});C.ui.draggable;C.widget("ui.resizable",C.ui.mouse,{version:"1.12.1",widgetEventPrefix:"resize",options:{alsoResize:!1,animate:!1,animateDuration:"slow",animateEasing:"swing",aspectRatio:!1,autoHide:!1,classes:{"ui-resizable-se":"ui-icon ui-icon-gripsmall-diagonal-se"},containment:!1,ghost:!1,grid:!1,handles:"e,s,se",helper:!1,maxHeight:null,maxWidth:null,minHeight:10,minWidth:10,zIndex:90,resize:null,start:null,stop:null},_num:function(t){return parseFloat(t)||0},_isNumber:function(t){return!isNaN(parseFloat(t))},_hasScroll:function(t,e){if("hidden"===C(t).css("overflow"))return!1;var i=e&&"left"===e?"scrollLeft":"scrollTop",e=!1;return 0<t[i]||(t[i]=1,e=0<t[i],t[i]=0,e)},_create:function(){var t,e=this.options,i=this;this._addClass("ui-resizable"),C.extend(this,{_aspectRatio:!!e.aspectRatio,aspectRatio:e.aspectRatio,originalElement:this.element,_proportionallyResizeElements:[],_helper:e.helper||e.ghost||e.animate?e.helper||"ui-resizable-helper":null}),this.element[0].nodeName.match(/^(canvas|textarea|input|select|button|img)$/i)&&(this.element.wrap(C("<div class='ui-wrapper' style='overflow: hidden;'></div>").css({position:this.element.css("position"),width:this.element.outerWidth(),height:this.element.outerHeight(),top:this.element.css("top"),left:this.element.css("left")})),this.element=this.element.parent().data("ui-resizable",this.element.resizable("instance")),this.elementIsWrapper=!0,t={marginTop:this.originalElement.css("marginTop"),marginRight:this.originalElement.css("marginRight"),marginBottom:this.originalElement.css("marginBottom"),marginLeft:this.originalElement.css("marginLeft")},this.element.css(t),this.originalElement.css("margin",0),this.originalResizeStyle=this.originalElement.css("resize"),this.originalElement.css("resize","none"),this._proportionallyResizeElements.push(this.originalElement.css({position:"static",zoom:1,display:"block"})),this.originalElement.css(t),this._proportionallyResize()),this._setupHandles(),e.autoHide&&C(this.element).on("mouseenter",function(){e.disabled||(i._removeClass("ui-resizable-autohide"),i._handles.show())}).on("mouseleave",function(){e.disabled||i.resizing||(i._addClass("ui-resizable-autohide"),i._handles.hide())}),this._mouseInit()},_destroy:function(){this._mouseDestroy();function t(t){C(t).removeData("resizable").removeData("ui-resizable").off(".resizable").find(".ui-resizable-handle").remove()}var e;return this.elementIsWrapper&&(t(this.element),e=this.element,this.originalElement.css({position:e.css("position"),width:e.outerWidth(),height:e.outerHeight(),top:e.css("top"),left:e.css("left")}).insertAfter(e),e.remove()),this.originalElement.css("resize",this.originalResizeStyle),t(this.originalElement),this},_setOption:function(t,e){this._super(t,e),"handles"===t&&(this._removeHandles(),this._setupHandles())},_setupHandles:function(){var t,e,i,s,n,o=this.options,r=this;if(this.handles=o.handles||(C(".ui-resizable-handle",this.element).length?{n:".ui-resizable-n",e:".ui-resizable-e",s:".ui-resizable-s",w:".ui-resizable-w",se:".ui-resizable-se",sw:".ui-resizable-sw",ne:".ui-resizable-ne",nw:".ui-resizable-nw"}:"e,s,se"),this._handles=C(),this.handles.constructor===String)for("all"===this.handles&&(this.handles="n,e,s,w,se,sw,ne,nw"),i=this.handles.split(","),this.handles={},e=0;e<i.length;e++)s="ui-resizable-"+(t=C.trim(i[e])),n=C("<div>"),this._addClass(n,"ui-resizable-handle "+s),n.css({zIndex:o.zIndex}),this.handles[t]=".ui-resizable-"+t,this.element.append(n);this._renderAxis=function(t){var e,i,s;for(e in t=t||this.element,this.handles)this.handles[e].constructor===String?this.handles[e]=this.element.children(this.handles[e]).first().show():(this.handles[e].jquery||this.handles[e].nodeType)&&(this.handles[e]=C(this.handles[e]),this._on(this.handles[e],{mousedown:r._mouseDown})),this.elementIsWrapper&&this.originalElement[0].nodeName.match(/^(textarea|input|select|button)$/i)&&(i=C(this.handles[e],this.element),s=/sw|ne|nw|se|n|s/.test(e)?i.outerHeight():i.outerWidth(),i=["padding",/ne|nw|n/.test(e)?"Top":/se|sw|s/.test(e)?"Bottom":/^e$/.test(e)?"Right":"Left"].join(""),t.css(i,s),this._proportionallyResize()),this._handles=this._handles.add(this.handles[e])},this._renderAxis(this.element),this._handles=this._handles.add(this.element.find(".ui-resizable-handle")),this._handles.disableSelection(),this._handles.on("mouseover",function(){r.resizing||(this.className&&(n=this.className.match(/ui-resizable-(se|sw|ne|nw|n|e|s|w)/i)),r.axis=n&&n[1]?n[1]:"se")}),o.autoHide&&(this._handles.hide(),this._addClass("ui-resizable-autohide"))},_removeHandles:function(){this._handles.remove()},_mouseCapture:function(t){var e,i,s=!1;for(e in this.handles)(i=C(this.handles[e])[0])!==t.target&&!C.contains(i,t.target)||(s=!0);return!this.options.disabled&&s},_mouseStart:function(t){var e,i,s=this.options,n=this.element;return this.resizing=!0,this._renderProxy(),e=this._num(this.helper.css("left")),i=this._num(this.helper.css("top")),s.containment&&(e+=C(s.containment).scrollLeft()||0,i+=C(s.containment).scrollTop()||0),this.offset=this.helper.offset(),this.position={left:e,top:i},this.size=this._helper?{width:this.helper.width(),height:this.helper.height()}:{width:n.width(),height:n.height()},this.originalSize=this._helper?{width:n.outerWidth(),height:n.outerHeight()}:{width:n.width(),height:n.height()},this.sizeDiff={width:n.outerWidth()-n.width(),height:n.outerHeight()-n.height()},this.originalPosition={left:e,top:i},this.originalMousePosition={left:t.pageX,top:t.pageY},this.aspectRatio="number"==typeof s.aspectRatio?s.aspectRatio:this.originalSize.width/this.originalSize.height||1,s=C(".ui-resizable-"+this.axis).css("cursor"),C("body").css("cursor","auto"===s?this.axis+"-resize":s),this._addClass("ui-resizable-resizing"),this._propagate("start",t),!0},_mouseDrag:function(t){var e=this.originalMousePosition,i=this.axis,s=t.pageX-e.left||0,e=t.pageY-e.top||0,i=this._change[i];return this._updatePrevProperties(),i&&(e=i.apply(this,[t,s,e]),this._updateVirtualBoundaries(t.shiftKey),(this._aspectRatio||t.shiftKey)&&(e=this._updateRatio(e,t)),e=this._respectSize(e,t),this._updateCache(e),this._propagate("resize",t),e=this._applyChanges(),!this._helper&&this._proportionallyResizeElements.length&&this._proportionallyResize(),C.isEmptyObject(e)||(this._updatePrevProperties(),this._trigger("resize",t,this.ui()),this._applyChanges())),!1},_mouseStop:function(t){this.resizing=!1;var e,i,s,n=this.options,o=this;return this._helper&&(s=(e=(i=this._proportionallyResizeElements).length&&/textarea/i.test(i[0].nodeName))&&this._hasScroll(i[0],"left")?0:o.sizeDiff.height,i=e?0:o.sizeDiff.width,e={width:o.helper.width()-i,height:o.helper.height()-s},i=parseFloat(o.element.css("left"))+(o.position.left-o.originalPosition.left)||null,s=parseFloat(o.element.css("top"))+(o.position.top-o.originalPosition.top)||null,n.animate||this.element.css(C.extend(e,{top:s,left:i})),o.helper.height(o.size.height),o.helper.width(o.size.width),this._helper&&!n.animate&&this._proportionallyResize()),C("body").css("cursor","auto"),this._removeClass("ui-resizable-resizing"),this._propagate("stop",t),this._helper&&this.helper.remove(),!1},_updatePrevProperties:function(){this.prevPosition={top:this.position.top,left:this.position.left},this.prevSize={width:this.size.width,height:this.size.height}},_applyChanges:function(){var t={};return this.position.top!==this.prevPosition.top&&(t.top=this.position.top+"px"),this.position.left!==this.prevPosition.left&&(t.left=this.position.left+"px"),this.size.width!==this.prevSize.width&&(t.width=this.size.width+"px"),this.size.height!==this.prevSize.height&&(t.height=this.size.height+"px"),this.helper.css(t),t},_updateVirtualBoundaries:function(t){var e,i,s=this.options,n={minWidth:this._isNumber(s.minWidth)?s.minWidth:0,maxWidth:this._isNumber(s.maxWidth)?s.maxWidth:1/0,minHeight:this._isNumber(s.minHeight)?s.minHeight:0,maxHeight:this._isNumber(s.maxHeight)?s.maxHeight:1/0};(this._aspectRatio||t)&&(e=n.minHeight*this.aspectRatio,i=n.minWidth/this.aspectRatio,s=n.maxHeight*this.aspectRatio,t=n.maxWidth/this.aspectRatio,e>n.minWidth&&(n.minWidth=e),i>n.minHeight&&(n.minHeight=i),s<n.maxWidth&&(n.maxWidth=s),t<n.maxHeight&&(n.maxHeight=t)),this._vBoundaries=n},_updateCache:function(t){this.offset=this.helper.offset(),this._isNumber(t.left)&&(this.position.left
vendor: 5,775 bytes, line 1
1=t.left),this._isNumber(t.top)&&(this.position.top=t.top),this._isNumber(t.height)&&(this.size.height=t.height),this._isNumber(t.width)&&(this.size.width=t.width)},_updateRatio:function(t){var e=this.position,i=this.size,s=this.axis;return this._isNumber(t.height)?t.width=t.height*this.aspectRatio:this._isNumber(t.width)&&(t.height=t.width/this.aspectRatio),"sw"===s&&(t.left=e.left+(i.width-t.width),t.top=null),"nw"===s&&(t.top=e.top+(i.height-t.height),t.left=e.left+(i.width-t.width)),t},_respectSize:function(t){var e=this._vBoundaries,i=this.axis,s=this._isNumber(t.width)&&e.maxWidth&&e.maxWidth<t.width,n=this._isNumber(t.height)&&e.maxHeight&&e.maxHeight<t.height,o=this._isNumber(t.width)&&e.minWidth&&e.minWidth>t.width,r=this._isNumber(t.height)&&e.minHeight&&e.minHeight>t.height,a=this.originalPosition.left+this.originalSize.width,l=this.originalPosition.top+this.originalSize.height,h=/sw|nw|w/.test(i),i=/nw|ne|n/.test(i);return o&&(t.width=e.minWidth),r&&(t.height=e.minHeight),s&&(t.width=e.maxWidth),n&&(t.height=e.maxHeight),o&&h&&(t.left=a-e.minWidth),s&&h&&(t.left=a-e.maxWidth),r&&i&&(t.top=l-e.minHeight),n&&i&&(t.top=l-e.maxHeight),t.width||t.height||t.left||!t.top?t.width||t.height||t.top||!t.left||(t.left=null):t.top=null,t},_getPaddingPlusBorderDimensions:function(t){for(var e=0,i=[],s=[t.css("borderTopWidth"),t.css("borderRightWidth"),t.css("borderBottomWidth"),t.css("borderLeftWidth")],n=[t.css("paddingTop"),t.css("paddingRight"),t.css("paddingBottom"),t.css("paddingLeft")];e<4;e++)i[e]=parseFloat(s[e])||0,i[e]+=parseFloat(n[e])||0;return{height:i[0]+i[2],width:i[1]+i[3]}},_proportionallyResize:function(){if(this._proportionallyResizeElements.length)for(var t,e=0,i=this.helper||this.element;e<this._proportionallyResizeElements.length;e++)t=this._proportionallyResizeElements[e],this.outerDimensions||(this.outerDimensions=this._getPaddingPlusBorderDimensions(t)),t.css({height:i.height()-this.outerDimensions.height||0,width:i.width()-this.outerDimensions.width||0})},_renderProxy:function(){var t=this.element,e=this.options;this.elementOffset=t.offset(),this._helper?(this.helper=this.helper||C("<div style='overflow:hidden;'></div>"),this._addClass(this.helper,this._helper),this.helper.css({width:this.element.outerWidth(),height:this.element.outerHeight(),position:"absolute",left:this.elementOffset.left+"px",top:this.elementOffset.top+"px",zIndex:++e.zIndex}),this.helper.appendTo("body").disableSelection()):this.helper=this.element},_change:{e:function(t,e){return{width:this.originalSize.width+e}},w:function(t,e){var i=this.originalSize;return{left:this.originalPosition.left+e,width:i.width-e}},n:function(t,e,i){var s=this.originalSize;return{top:this.originalPosition.top+i,height:s.height-i}},s:function(t,e,i){return{height:this.originalSize.height+i}},se:function(t,e,i){return C.extend(this._change.s.apply(this,arguments),this._change.e.apply(this,[t,e,i]))},sw:function(t,e,i){return C.extend(this._change.s.apply(this,arguments),this._change.w.apply(this,[t,e,i]))},ne:function(t,e,i){return C.extend(this._change.n.apply(this,arguments),this._change.e.apply(this,[t,e,i]))},nw:function(t,e,i){return C.extend(this._change.n.apply(this,arguments),this._change.w.apply(this,[t,e,i]))}},_propagate:function(t,e){C.ui.plugin.call(this,t,[e,this.ui()]),"resize"!==t&&this._trigger(t,e,this.ui())},plugins:{},ui:function(){return{originalElement:this.originalElement,element:this.element,helper:this.helper,position:this.position,size:this.size,originalSize:this.originalSize,originalPosition:this.originalPosition}}}),C.ui.plugin.add("resizable","animate",{stop:function(e){var i=C(this).resizable("instance"),t=i.options,s=i._proportionallyResizeElements,n=s.length&&/textarea/i.test(s[0].nodeName),o=n&&i._hasScroll(s[0],"left")?0:i.sizeDiff.height,r=n?0:i.sizeDiff.width,n={width:i.size.width-r,height:i.size.height-o},r=parseFloat(i.element.css("left"))+(i.position.left-i.originalPosition.left)||null,o=parseFloat(i.element.css("top"))+(i.position.top-i.originalPosition.top)||null;i.element.animate(C.extend(n,o&&r?{top:o,left:r}:{}),{duration:t.animateDuration,easing:t.animateEasing,step:function(){var t={width:parseFloat(i.element.css("width")),height:parseFloat(i.element.css("height")),top:parseFloat(i.element.css("top")),left:parseFloat(i.element.css("left"))};s&&s.length&&C(s[0]).css({width:t.width,height:t.height}),i._updateCache(t),i._propagate("resize",e)}})}}),C.ui.plugin.add("resizable","containment",{start:function(){var i,s,n=C(this).resizable("instance"),t=n.options,e=n.element,o=t.containment,r=o instanceof C?o.get(0):/parent/.test(o)?e.parent().get(0):o;r&&(n.containerElement=C(r),/document/.test(o)||o===document?(n.containerOffset={left:0,top:0},n.containerPosition={left:0,top:0},n.parentData={element:C(document),left:0,top:0,width:C(document).width(),height:C(document).height()||document.body.parentNode.scrollHeight}):(i=C(r),s=[],C(["Top","Right","Left","Bottom"]).each(function(t,e){s[t]=n._num(i.css("padding"+e))}),n.containerOffset=i.offset(),n.containerPosition=i.position(),n.containerSize={height:i.innerHeight()-s[3],width:i.innerWidth()-s[1]},t=n.containerOffset,e=n.containerSize.height,o=n.containerSize.width,o=n._hasScroll(r,"left")?r.scrollWidth:o,e=n._hasScroll(r)?r.scrollHeight:e,n.parentData={element:r,left:t.left,top:t.top,width:o,height:e}))},resize:function(t){var e=C(this).resizable("instance"),i=e.options,s=e.containerOffset,n=e.position,o=e._aspectRatio||t.shiftKey,r={top:0,left:0},a=e.containerElement,t=!0;a[0]!==document&&/static/.test(a.css("position"))&&(r=s),n.left<(e._helper?s.left:0)&&(e.size.width=e.size.width+(e._helper?e.position.left-s.left:e.position.left-r.left),o&&(e.size.height=e.size.width/e.aspectRatio,t=!1),e.position.left
vendor: 22,273 bytes, line 1
1=i.helper?s.left:0),n.top<(e._helper?s.top:0)&&(e.size.height=e.size.height+(e._helper?e.position.top-s.top:e.position.top),o&&(e.size.width=e.size.height*e.aspectRatio,t=!1),e.position.top=e._helper?s.top:0),i=e.containerElement.get(0)===e.element.parent().get(0),n=/relative|absolute/.test(e.containerElement.css("position")),i&&n?(e.offset.left=e.parentData.left+e.position.left,e.offset.top=e.parentData.top+e.position.top):(e.offset.left=e.element.offset().left,e.offset.top=e.element.offset().top),n=Math.abs(e.sizeDiff.width+(e._helper?e.offset.left-r.left:e.offset.left-s.left)),s=Math.abs(e.sizeDiff.height+(e._helper?e.offset.top-r.top:e.offset.top-s.top)),n+e.size.width>=e.parentData.width&&(e.size.width=e.parentData.width-n,o&&(e.size.height=e.size.width/e.aspectRatio,t=!1)),s+e.size.height>=e.parentData.height&&(e.size.height=e.parentData.height-s,o&&(e.size.width=e.size.height*e.aspectRatio,t=!1)),t||(e.position.left=e.prevPosition.left,e.position.top=e.prevPosition.top,e.size.width=e.prevSize.width,e.size.height=e.prevSize.height)},stop:function(){var t=C(this).resizable("instance"),e=t.options,i=t.containerOffset,s=t.containerPosition,n=t.containerElement,o=C(t.helper),r=o.offset(),a=o.outerWidth()-t.sizeDiff.width,o=o.outerHeight()-t.sizeDiff.height;t._helper&&!e.animate&&/relative/.test(n.css("position"))&&C(this).css({left:r.left-s.left-i.left,width:a,height:o}),t._helper&&!e.animate&&/static/.test(n.css("position"))&&C(this).css({left:r.left-s.left-i.left,width:a,height:o})}}),C.ui.plugin.add("resizable","alsoResize",{start:function(){var t=C(this).resizable("instance").options;C(t.alsoResize).each(function(){var t=C(this);t.data("ui-resizable-alsoresize",{width:parseFloat(t.width()),height:parseFloat(t.height()),left:parseFloat(t.css("left")),top:parseFloat(t.css("top"))})})},resize:function(t,i){var e=C(this).resizable("instance"),s=e.options,n=e.originalSize,o=e.originalPosition,r={height:e.size.height-n.height||0,width:e.size.width-n.width||0,top:e.position.top-o.top||0,left:e.position.left-o.left||0};C(s.alsoResize).each(function(){var t=C(this),s=C(this).data("ui-resizable-alsoresize"),n={},e=t.parents(i.originalElement[0]).length?["width","height"]:["width","height","top","left"];C.each(e,function(t,e){var i=(s[e]||0)+(r[e]||0);i&&0<=i&&(n[e]=i||null)}),t.css(n)})},stop:function(){C(this).removeData("ui-resizable-alsoresize")}}),C.ui.plugin.add("resizable","ghost",{start:function(){var t=C(this).resizable("instance"),e=t.size;t.ghost=t.originalElement.clone(),t.ghost.css({opacity:.25,display:"block",position:"relative",height:e.height,width:e.width,margin:0,left:0,top:0}),t._addClass(t.ghost,"ui-resizable-ghost"),!1!==C.uiBackCompat&&"string"==typeof t.options.ghost&&t.ghost.addClass(this.options.ghost),t.ghost.appendTo(t.helper)},resize:function(){var t=C(this).resizable("instance");t.ghost&&t.ghost.css({position:"relative",height:t.size.height,width:t.size.width})},stop:function(){var t=C(this).resizable("instance");t.ghost&&t.helper&&t.helper.get(0).removeChild(t.ghost.get(0))}}),C.ui.plugin.add("resizable","grid",{resize:function(){var t,e=C(this).resizable("instance"),i=e.options,s=e.size,n=e.originalSize,o=e.originalPosition,r=e.axis,a="number"==typeof i.grid?[i.grid,i.grid]:i.grid,l=a[0]||1,h=a[1]||1,c=Math.round((s.width-n.width)/l)*l,u=Math.round((s.height-n.height)/h)*h,d=n.width+c,p=n.height+u,f=i.maxWidth&&i.maxWidth<d,g=i.maxHeight&&i.maxHeight<p,m=i.minWidth&&i.minWidth>d,s=i.minHeight&&i.minHeight>p;i.grid=a,m&&(d+=l),s&&(p+=h),f&&(d-=l),g&&(p-=h),/^(se|s|e)$/.test(r)?(e.size.width=d,e.size.height=p):/^(ne)$/.test(r)?(e.size.width=d,e.size.height=p,e.position.top=o.top-u):/^(sw)$/.test(r)?(e.size.width=d,e.size.height=p,e.position.left=o.left-c):((p-h<=0||d-l<=0)&&(t=e._getPaddingPlusBorderDimensions(this)),0<p-h?(e.size.height=p,e.position.top=o.top-u):(p=h-t.height,e.size.height=p,e.position.top=o.top+n.height-p),0<d-l?(e.size.width=d,e.position.left=o.left-c):(d=l-t.width,e.size.width=d,e.position.left=o.left+n.width-d))}});C.ui.resizable;C.widget("ui.dialog",{version:"1.12.1",options:{appendTo:"body",autoOpen:!0,buttons:[],classes:{"ui-dialog":"ui-corner-all","ui-dialog-titlebar":"ui-corner-all"},closeOnEscape:!0,closeText:"Close",draggable:!0,hide:null,height:"auto",maxHeight:null,maxWidth:null,minHeight:150,minWidth:150,modal:!1,position:{my:"center",at:"center",of:window,collision:"fit",using:function(t){var e=C(this).css(t).offset().top;e<0&&C(this).css("top",t.top-e)}},resizable:!0,show:null,title:null,width:300,beforeClose:null,close:null,drag:null,dragStart:null,dragStop:null,focus:null,open:null,resize:null,resizeStart:null,resizeStop:null},sizeRelatedOptions:{buttons:!0,height:!0,maxHeight:!0,maxWidth:!0,minHeight:!0,minWidth:!0,width:!0},resizableRelatedOptions:{maxHeight:!0,maxWidth:!0,minHeight:!0,minWidth:!0},_create:function(){this.originalCss={display:this.element[0].style.display,width:this.element[0].style.width,minHeight:this.element[0].style.minHeight,maxHeight:this.element[0].style.maxHeight,height:this.element[0].style.height},this.originalPosition={parent:this.element.parent(),index:this.element.parent().children().index(this.element)},this.originalTitle=this.element.attr("title"),null==this.options.title&&null!=this.originalTitle&&(this.options.title=this.originalTitle),this.options.disabled&&(this.options.disabled=!1),this._createWrapper(),this.element.show().removeAttr("title").appendTo(this.uiDialog),this._addClass("ui-dialog-content","ui-widget-content"),this._createTitlebar(),this._createButtonPane(),this.options.draggable&&C.fn.draggable&&this._makeDraggable(),this.options.resizable&&C.fn.resizable&&this._makeResizable(),this._isOpen=!1,this._trackFocus()},_init:function(){this.options.autoOpen&&this.open()},_appendTo:function(){var t=this.options.appendTo;return t&&(t.jquery||t.nodeType)?C(t):this.document.find(t||"body").eq(0)},_destroy:function(){var t,e=this.originalPosition;this._untrackInstance(),this._destroyOverlay(),this.element.removeUniqueId().css(this.originalCss).detach(),this.uiDialog.remove(),this.originalTitle&&this.element.attr("title",this.originalTitle),(t=e.parent.children().eq(e.index)).length&&t[0]!==this.element[0]?t.before(this.element):e.parent.append(this.element)},widget:function(){return this.uiDialog},disable:C.noop,enable:C.noop,close:function(t){var e=this;this._isOpen&&!1!==this._trigger("beforeClose",t)&&(this._isOpen=!1,this._focusedElement=null,this._destroyOverlay(),this._untrackInstance(),this.opener.filter(":focusable").trigger("focus").length||C.ui.safeBlur(C.ui.safeActiveElement(this.document[0])),this._hide(this.uiDialog,this.options.hide,function(){e._trigger("close",t)}))},isOpen:function(){return this._isOpen},moveToTop:function(){this._moveToTop()},_moveToTop:function(t,e){var i=!1,s=this.uiDialog.siblings(".ui-front:visible").map(function(){return+C(this).css("z-index")}).get(),s=Math.max.apply(null,s);return s>=+this.uiDialog.css("z-index")&&(this.uiDialog.css("z-index",s+1),i=!0),i&&!e&&this._trigger("focus",t),i},open:function(){var t=this;this._isOpen?this._moveToTop()&&this._focusTabbable():(this._isOpen=!0,this.opener=C(C.ui.safeActiveElement(this.document[0])),this._size(),this._position(),this._createOverlay(),this._moveToTop(null,!0),this.overlay&&this.overlay.css("z-index",this.uiDialog.css("z-index")-1),this._show(this.uiDialog,this.options.show,function(){t._focusTabbable(),t._trigger("focus")}),this._makeFocusTarget(),this._trigger("open"))},_focusTabbable:function(){var t=this._focusedElement;(t=!(t=!(t=!(t=!(t=t||this.element.find("[autofocus]")).length?this.element.find(":tabbable"):t).length?this.uiDialogButtonPane.find(":tabbable"):t).length?this.uiDialogTitlebarClose.filter(":tabbable"):t).length?this.uiDialog:t).eq(0).trigger("focus")},_keepFocus:function(t){function e(){var t=C.ui.safeActiveElement(this.document[0]);this.uiDialog[0]===t||C.contains(this.uiDialog[0],t)||this._focusTabbable()}t.preventDefault(),e.call(this),this._delay(e)},_createWrapper:function(){this.uiDialog=C("<div>").hide().attr({tabIndex:-1,role:"dialog"}).appendTo(this._appendTo()),this._addClass(this.uiDialog,"ui-dialog","ui-widget ui-widget-content ui-front"),this._on(this.uiDialog,{keydown:function(t){if(this.options.closeOnEscape&&!t.isDefaultPrevented()&&t.keyCode&&t.keyCode===C.ui.keyCode.ESCAPE)return t.preventDefault(),void this.close(t);var e,i,s;t.keyCode!==C.ui.keyCode.TAB||t.isDefaultPrevented()||(e=this.uiDialog.find(":tabbable"),i=e.filter(":first"),s=e.filter(":last"),t.target!==s[0]&&t.target!==this.uiDialog[0]||t.shiftKey?t.target!==i[0]&&t.target!==this.uiDialog[0]||!t.shiftKey||(this._delay(function(){s.trigger("focus")}),t.preventDefault()):(this._delay(function(){i.trigger("focus")}),t.preventDefault()))},mousedown:function(t){this._moveToTop(t)&&this._focusTabbable()}}),this.element.find("[aria-describedby]").length||this.uiDialog.attr({"aria-describedby":this.element.uniqueId().attr("id")})},_createTitlebar:function(){var t;this.uiDialogTitlebar=C("<div>"),this._addClass(this.uiDialogTitlebar,"ui-dialog-titlebar","ui-widget-header ui-helper-clearfix"),this._on(this.uiDialogTitlebar,{mousedown:function(t){C(t.target).closest(".ui-dialog-titlebar-close")||this.uiDialog.trigger("focus")}}),this.uiDialogTitlebarClose=C("<button type='button'></button>").button({label:C("<a>").text(this.options.closeText).html(),icon:"ui-icon-closethick",showLabel:!1}).appendTo(this.uiDialogTitlebar),this._addClass(this.uiDialogTitlebarClose,"ui-dialog-titlebar-close"),this._on(this.uiDialogTitlebarClose,{click:function(t){t.preventDefault(),this.close(t)}}),t=C("<span>").uniqueId().prependTo(this.uiDialogTitlebar),this._addClass(t,"ui-dialog-title"),this._title(t),this.uiDialogTitlebar.prependTo(this.uiDialog),this.uiDialog.attr({"aria-labelledby":t.attr("id")})},_title:function(t){this.options.title?t.text(this.options.title):t.html("&#160;")},_createButtonPane:function(){this.uiDialogButtonPane=C("<div>"),this._addClass(this.uiDialogButtonPane,"ui-dialog-buttonpane","ui-widget-content ui-helper-clearfix"),this.uiButtonSet=C("<div>").appendTo(this.uiDialogButtonPane),this._addClass(this.uiButtonSet,"ui-dialog-buttonset"),this._createButtons()},_createButtons:function(){var s=this,t=this.options.buttons;this.uiDialogButtonPane.remove(),this.uiButtonSet.empty(),C.isEmptyObject(t)||C.isArray(t)&&!t.length?this._removeClass(this.uiDialog,"ui-dialog-buttons"):(C.each(t,function(t,e){var i;e=C.isFunction(e)?{click:e,text:t}:e,e=C.extend({type:"button"},e),i=e.click,t={icon:e.icon,iconPosition:e.iconPosition,showLabel:e.showLabel,icons:e.icons,text:e.text},delete e.click,delete e.icon,delete e.iconPosition,delete e.showLabel,delete e.icons,"boolean"==typeof e.text&&delete e.text,C("<button></button>",e).button(t).appendTo(s.uiButtonSet).on("click",function(){i.apply(s.element[0],arguments)})}),this._addClass(this.uiDialog,"ui-dialog-buttons"),this.uiDialogButtonPane.appendTo(this.uiDialog))},_makeDraggable:function(){var n=this,o=this.options;function r(t){return{position:t.position,offset:t.offset}}this.uiDialog.draggable({cancel:".ui-dialog-content, .ui-dialog-titlebar-close",handle:".ui-dialog-titlebar",containment:"document",start:function(t,e){n._addClass(C(this),"ui-dialog-dragging"),n._blockFrames(),n._trigger("dragStart",t,r(e))},drag:function(t,e){n._trigger("drag",t,r(e))},stop:function(t,e){var i=e.offset.left-n.document.scrollLeft(),s=e.offset.top-n.document.scrollTop();o.position={my:"left top",at:"left"+(0<=i?"+":"")+i+" top"+(0<=s?"+":"")+s,of:n.window},n._removeClass(C(this),"ui-dialog-dragging"),n._unblockFrames(),n._trigger("dragStop",t,r(e))}})},_makeResizable:function(){var n=this,o=this.options,t=o.resizable,e=this.uiDialog.css("position"),t="string"==typeof t?t:"n,e,s,w,se,sw,ne,nw";function r(t){return{originalPosition:t.originalPosition,originalSize:t.originalSize,position:t.position,size:t.size}}this.uiDialog.resizable({cancel:".ui-dialog-content",containment:"document",alsoResize:this.element,maxWidth:o.maxWidth,maxHeight:o.maxHeight,minWidth:o.minWidth,minHeight:this._minHeight(),handles:t,start:function(t,e){n._addClass(C(this),"ui-dialog-resizing"),n._blockFrames(),n._trigger("resizeStart",t,r(e))},resize:function(t,e){n._trigger("resize",t,r(e))},stop:function(t,e){var i=n.uiDialog.offset(),s=i.left-n.document.scrollLeft(),i=i.top-n.document.scrollTop();o.height=n.uiDialog.height(),o.width=n.uiDialog.width(),o.position={my:"left top",at:"left"+(0<=s?"+":"")+s+" top"+(0<=i?"+":"")+i,of:n.window},n._removeClass(C(this),"ui-dialog-resizing"),n._unblockFrames(),n._trigger("resizeStop",t,r(e))}}).css("position",e)},_trackFocus:function(){this._on(this.widget(),{focusin:function(t){this._makeFocusTarget(),this._focusedElement=C(t.target)}})},_makeFocusTarget:function(){this._untrackInstance(),this._trackingInstances().unshift(this)},_untrackInstance:function(){var t=this._trackingInstances(),e=C.inArray(this,t);-1!==e&&t.splice(e,1)},_trackingInstances:function(){var t=this.document.data("ui-dialog-instances");return t||this.document.data("ui-dialog-instances",t=[]),t},_minHeight:function(){var t=this.options;return"auto"===t.height?t.minHeight:Math.min(t.minHeight,t.height)},_position:function(){var t=this.uiDialog.is(":visible");t||this.uiDialog.show(),this.uiDialog.position(this.options.position),t||this.uiDialog.hide()},_setOptions:function(t){var i=this,s=!1,n={};C.each(t,function(t,e){i._setOption(t,e),t in i.sizeRelatedOptions&&(s=!0),t in i.resizableRelatedOptions&&(n[t]=e)}),s&&(this._size(),this._position()),this.uiDialog.is(":data(ui-resizable)")&&this.uiDialog.resizable("option",n)},_setOption:function(t,e){var i,s=this.uiDialog;"disabled"!==t&&(this._super(t,e),"appendTo"===t&&this.uiDialog.appendTo(this._appendTo()),"buttons"===t&&this._createButtons(),"closeText"===t&&this.uiDialogTitlebarClose.button({label:C("<a>").text(""+this.options.closeText).html()}),"draggable"===t&&((i=s.is(":data(ui-draggable)"))&&!e&&s.draggable("destroy"),!i&&e&&this._makeDraggable()),"position"===t&&this._position(),"resizable"===t&&((i=s.is(":data(ui-resizable)"))&&!e&&s.resizable("destroy"),i&&"string"==typeof e&&s.resizable("option","handles",e),i||!1===e||this._makeResizable()),"title"===t&&this._title(this.uiDialogTitlebar.find(".ui-dialog-title")))},_size:function(){var t,e,i,s=this.options;this.element.show().css({width:"auto",minHeight:0,maxHeight:"none",height:0}),s.minWidth>s.width&&(s.width=s.minWidth),t=this.uiDialog.css({height:"auto",width:s.width}).outerHeight(),e=Math.max(0,s.minHeight-t),i="number"==typeof s.maxHeight?Math.max(0,s.maxHeight-t):"none","auto"===s.height?this.element.css({minHeight:e,maxHeight:i,height:"auto"}):this.element.height(Math.max(0,s.height-t)),this.uiDialog.is(":data(ui-resizable)")&&this.uiDialog.resizable("option","minHeight",this._minHeight())},_blockFrames:function(){this.iframeBlocks=this.document.find("iframe").map(function(){var t=C(this);return C("<div>").css({position:"absolute",width:t.outerWidth(),height:t.outerHeight()}).appendTo(t.parent()).offset(t.offset())[0]})},_unblockFrames:function(){this.iframeBlocks&&(this.iframeBlocks.remove(),delete this.iframeBlocks)},_allowInteraction:function(t){return!!C(t.target).closest(".ui-dialog").length||!!C(t.target).closest(".ui-datepicker").length},_createOverlay:function(){var e;this.options.modal&&(e=!0,this._delay(function(){e=!1}),this.document.data("ui-dialog-overlays")||this._on(this.document,{focusin:function(t){e||this._allowInteraction(t)||(t.preventDefault(),this._trackingInstances()[0]._focusTabbable())}}),this.overlay=C("<div>").appendTo(this._appendTo()),this._addClass(this.overlay,null,"ui-widget-overlay ui-front"),this._on(this.overlay,{mousedown:"_keepFocus"}),this.document.data("ui-dialog-overlays",(this.document.data("ui-dialog-overlays")||0)+1))},_destroyOverlay:function(){var t;this.options.modal&&this.overlay&&((t=this.document.data("ui-dialog-overlays")-1)?this.document.data("ui-dialog-overlays",t):(this._off(this.document,"focusin"),this.document.removeData("ui-dialog-overlays")),this.overlay.remove(),this.overlay=null)}}),!1!==C.uiBackCompat&&C.widget("ui.dialog",C.ui.dialog,{options:{dialogClass:""},_createWrapper:function(){this._super(),this.uiDialog.addClass(this.options.dialogClass)},_setOption:function(t,e){"dialogClass"===t&&this.uiDialog.removeClass(this.options.dialogClass).addClass(e),this._superApply(arguments)}});C.ui.dialog;C.widget("ui.droppable",{version:"1.12.1",widgetEventPrefix:"drop",options:{accept:"*",addClasses:!0,greedy:!1,scope:"default",tolerance:"intersect",activate:null,deactivate:null,drop:null,out:null,over:null},_create:function(){var t,e=this.options,i=e.accept;this.isover=!1,this.isout=!0,this.accept=C.isFunction(i)?i:function(t){return t.is(i)},this.proportions=function(){if(!arguments.length)return t=t||{width:this.element[0].offsetWidth,height:this.element[0].offsetHeight};t=arguments[0]},this._addToManager(e.scope),e.addClasses&&this._addClass("ui-droppable")},_addToManager:function(t){C.ui.ddmanager.droppables[t]=C.ui.ddmanager.droppables[t]||[],C.ui.ddmanager.droppables[t].push(this)},_splice:function(t){for(var e=0;e<t.length;e++)t[e]===this&&t.splice(e,1)},_destroy:function(){var t=C.ui.ddmanager.droppables[this.options.scope];this._splice(t)},_setOption:function(t,e){var i;"accept"===t?this.accept=C.isFunction(e)?e:function(t){return t.is(e)}:"scope"===t&&(i=C.ui.ddmanager.droppables[this.options.scope],this._splice(i),this._addToManager(e)),this._super(t,e)},_activate:function(t){var e=C.ui.ddmanager.current;this._addActiveClass(),e&&this._trigger("activate",t,this.ui(e))},_deactivate:function(t){var e=C.ui.ddmanager.current;this._removeActiveClass(),e&&this._trigger("deactivate",t,this.ui(e))},_over:function(t){var e=C.ui.ddmanager.current;e&&(e.currentItem||e.element)[0]!==this.element[0]&&this.accept.call(this.element[0],e.currentItem||e.element)&&(this._addHoverClass(),this._trigger("over",t,this.ui(e)))},_out:function(t){var e=C.ui.ddmanager.current;e&&(e.currentItem||e.element)[0]!==this.element[0]&&this.accept.call(this.element[0],e.currentItem||e.element)&&(this._removeHoverClass(),this._trigger("out",t,this.ui(e)))},_drop:function(e,t){var i=t||C.ui.ddmanager.current,s=!1;return!(!i||(i.currentItem||i.element)[0]===this.element[0])&&(this.element.find(":data(ui-droppable)").not(".ui-draggable-dragging").each(function(){var t=C(this).droppable("instance");if(t.options.greedy&&!t.options.disabled&&t.options.scope===i.options.scope&&t.accept.call(t.element[0],i.currentItem||i.element)&&nt(i,C.extend(t,{offset:t.element.offset()}),t.options.tolerance,e))return!(s=!0)}),!s&&(!!this.accept.call(this.element[0],i.currentItem||i.element)&&(this._removeActiveClass(),this._removeHoverClass(),this._trigger("drop",e,this.ui(i)),this.element)))},ui:function(t){return{draggable:t.currentItem||t.element,helper:t.helper,position:t.position,offset:t.positionAbs}},_addHoverClass:function(){this._addClass("ui-droppable-hover")},_removeHoverClass:function(){this._removeClass("ui-droppable-hover")},_addActiveClass:function(){this._addClass("ui-droppable-active")},_removeActiveClass:function(){this._removeClass("ui-droppable-active")}});var nt=C.ui.intersect=function(t,e,i,s){if(!e.offset)return!1;var n=(t.positionAbs||t.position.absolute).left+t.margins.left,o=(t.positionAbs||t.position.absolute).top+t.margins.top,r=n+t.helperProportions.width,a=o+t.helperProportions.height,l=e.offset.left,h=e.offset.top,c=l+e.proportions().width,u=h+e.proportions().height;switch(i){case"fit":return l<=n&&r<=c&&h<=o&&a<=u;case"intersect":return l<n+t.helperProportions.width/2&&r-t.helperProportions.width/2<c&&h<o+t.helperProportions.height/2&&a-t.helperProportions.height/2<u;case"pointer":return ot(s.pageY,h,e.proportions().height)&&ot(s.pageX,l,e.proportions().width);case"touch":return(h<=o&&o<=u||h<=a&&a<=u||o<h&&u<a)&&(l<=n&&n<=c||l<=r&&r<=c||n<l&&c<r);default:return!1}};function ot(t,e,i){return e<=t&&t<e+i}!(C.ui.ddmanager={current:null,droppables:{default:[]},prepareOffsets:function(t,e){var i,s,n=C.ui.ddmanager.droppables[t.options.scope]||[],o=e?e.type:null,r=(t.currentItem||t.element).find(":data(ui-droppable)").addBack();t:for(i=0;i<n.length;i++)if(!(n[i].options.disabled||t&&!n[i].accept.call(n[i].element[0],t.currentItem||t.element))){for(s=0;s<r.length;s++)if(r[s]===n[i].element[0]){n[i].proportions().height=0;continue t}n[i].visible="none"!==n[i].element.css("display"),n[i].visible&&("mousedown"===o&&n[i]._activate.call(n[i],e),n[i].offset=n[i].element.offset(),n[i].proportions({width:n[i].element[0].offsetWidth,height:n[i].element[0].offsetHeight}))}},drop:function(t,e){var i=!1;return C.each((C.ui.ddmanager.droppables[t.options.scope]||[]).slice(),function(){this.options&&(!this.options.disabled&&this.visible&&nt(t,this,this.options.tolerance,e)&&(i=this._drop.call(this,e)||i),!this.options.disabled&&this.visible&&this.accept.call(this.element[0],t.currentItem||t.element)&&(this.isout=!0,this.isover=!1,this._deactivate.call(this,e)))}),i},dragStart:function(t,e){t.element.parentsUntil("body").on("scroll.droppable",function(){t.options.refreshPositions||C.ui.ddmanager.prepareOffsets(t,e)})},drag:function(n,o){n.options.refreshPositions&&C.ui.ddmanager.prepareOffsets(n,o),C.each(C.ui.ddmanager.droppables[n.options.scope]||[],function(){var t,e,i,s;this.options.disabled||this.greedyChild||!this.visible||(s=!(i=nt(n,this,this.options.tolerance,o))&&this.isover?"isout":i&&!this.isover?"isover":null)&&(this.options.greedy&&(e=this.options.scope,(i=this.element.parents(":data(ui-droppable)").filter(function(){return C(this).droppable("instance").options.scope===e})).length&&((t=C(i[0]).droppable("instance")).greedyChild="isover"===s)),t&&"isover"===s&&(t.isover=!1,t.isout=!0,t._out.call(t,o)),this[s]=!0,this["isout"===s?"isover":"isout"]=!1,this["isover"===s?"_over":"_out"].call(this,o),t&&"isout"===s&&(t.isout=!1,t.isover=!0,t._over.call(t,o)))})},dragStop:function(t,e){t.element.parentsUntil("body").off("scroll.droppable"),t.options.refreshPositions||C.ui.ddmanager.prepareOffsets(t,e)}})!==C.uiBackCompat&&C.widget("ui.droppable",C.ui.droppable,{options:{hoverClass:!1,activeClass:!1}
vendor: 5,117 bytes, line 1
1,_addActiveClass:function(){this._super(),this.options.activeClass&&this.element.addClass(this.options.activeClass)},_removeActiveClass:function(){this._super(),this.options.activeClass&&this.element.removeClass(this.options.activeClass)},_addHoverClass:function(){this._super(),this.options.hoverClass&&this.element.addClass(this.options.hoverClass)},_removeHoverClass:function(){this._super(),this.options.hoverClass&&this.element.removeClass(this.options.hoverClass)}});C.ui.droppable,C.widget("ui.progressbar",{version:"1.12.1",options:{classes:{"ui-progressbar":"ui-corner-all","ui-progressbar-value":"ui-corner-left","ui-progressbar-complete":"ui-corner-right"},max:100,value:0,change:null,complete:null},min:0,_create:function(){this.oldValue=this.options.value=this._constrainedValue(),this.element.attr({role:"progressbar","aria-valuemin":this.min}),this._addClass("ui-progressbar","ui-widget ui-widget-content"),this.valueDiv=C("<div>").appendTo(this.element),this._addClass(this.valueDiv,"ui-progressbar-value","ui-widget-header"),this._refreshValue()},_destroy:function(){this.element.removeAttr("role aria-valuemin aria-valuemax aria-valuenow"),this.valueDiv.remove()},value:function(t){if(void 0===t)return this.options.value;this.options.value=this._constrainedValue(t),this._refreshValue()},_constrainedValue:function(t){return void 0===t&&(t=this.options.value),this.indeterminate=!1===t,"number"!=typeof t&&(t=0),!this.indeterminate&&Math.min(this.options.max,Math.max(this.min,t))},_setOptions:function(t){var e=t.value;delete t.value,this._super(t),this.options.value=this._constrainedValue(e),this._refreshValue()},_setOption:function(t,e){"max"===t&&(e=Math.max(this.min,e)),this._super(t,e)},_setOptionDisabled:function(t){this._super(t),this.element.attr("aria-disabled",t),this._toggleClass(null,"ui-state-disabled",!!t)},_percentage:function(){return this.indeterminate?100:100*(this.options.value-this.min)/(this.options.max-this.min)},_refreshValue:function(){var t=this.options.value,e=this._percentage();this.valueDiv.toggle(this.indeterminate||t>this.min).width(e.toFixed(0)+"%"),this._toggleClass(this.valueDiv,"ui-progressbar-complete",null,t===this.options.max)._toggleClass("ui-progressbar-indeterminate",null,this.indeterminate),this.indeterminate?(this.element.removeAttr("aria-valuenow"),this.overlayDiv||(this.overlayDiv=C("<div>").appendTo(this.valueDiv),this._addClass(this.overlayDiv,"ui-progressbar-overlay"))):(this.element.attr({"aria-valuemax":this.options.max,"aria-valuenow":t}),this.overlayDiv&&(this.overlayDiv.remove(),this.overlayDiv=null)),this.oldValue!==t&&(this.oldValue=t,this._trigger("change")),t===this.options.max&&this._trigger("complete")}}),C.widget("ui.selectable",C.ui.mouse,{version:"1.12.1",options:{appendTo:"body",autoRefresh:!0,distance:0,filter:"*",tolerance:"touch",selected:null,selecting:null,start:null,stop:null,unselected:null,unselecting:null},_create:function(){var i=this;this._addClass("ui-selectable"),this.dragged=!1,this.refresh=function(){i.elementPos=C(i.element[0]).offset(),i.selectees=C(i.options.filter,i.element[0]),i._addClass(i.selectees,"ui-selectee"),i.selectees.each(function(){var t=C(this),e=t.offset(),e={left:e.left-i.elementPos.left,top:e.top-i.elementPos.top};C.data(this,"selectable-item",{element:this,$element:t,left:e.left,top:e.top,right:e.left+t.outerWidth(),bottom:e.top+t.outerHeight(),startselected:!1,selected:t.hasClass("ui-selected"),selecting:t.hasClass("ui-selecting"),unselecting:t.hasClass("ui-unselecting")})})},this.refresh(),this._mouseInit(),this.helper=C("<div>"),this._addClass(this.helper,"ui-selectable-helper")},_destroy:function(){this.selectees.removeData("selectable-item"),this._mouseDestroy()},_mouseStart:function(i){var s=this,t=this.options;this.opos=[i.pageX,i.pageY],this.elementPos=C(this.element[0]).offset(),this.options.disabled||(this.selectees=C(t.filter,this.element[0]),this._trigger("start",i),C(t.appendTo).append(this.helper),this.helper.css({left:i.pageX,top:i.pageY,width:0,height:0}),t.autoRefresh&&this.refresh(),this.selectees.filter(".ui-selected").each(function(){var t=C.data(this,"selectable-item");t.startselected=!0,i.metaKey||i.ctrlKey||(s._removeClass(t.$element,"ui-selected"),t.selected=!1,s._addClass(t.$element,"ui-unselecting"),t.unselecting=!0,s._trigger("unselecting",i,{unselecting:t.element}))}),C(i.target).parents().addBack().each(function(){var t,e=C.data(this,"selectable-item");if(e)return t=!i.metaKey&&!i.ctrlKey||!e.$element.hasClass("ui-selected"),s._removeClass(e.$element,t?"ui-unselecting":"ui-selected")._addClass(e.$element,t?"ui-selecting":"ui-unselecting"),e.unselecting=!t,e.selecting=t,(e.selected=t)?s._trigger("selecting",i,{selecting:e.element}):s._trigger("unselecting",i,{unselecting:e.element}),!1}))},_mouseDrag:function(s){if(this.dragged=!0,!this.options.disabled){var t,n=this,o=this.options,r=this.opos[0],a=this.opos[1],l=s.pageX,h=s.pageY;return l<r&&(t=l,l=r,r=t),h<a&&(t=h,h=a,a=t),this.helper.css({left:r,top:a,width:l-r,height:h-a}),this.selectees.each(function(){var t=C.data(this,"selectable-item"),e=!1,i={};
vendor: 6,763 bytes, line 1
1t&&t.element!==n.element[0]&&(i.left=t.left+n.elementPos.left,i.right=t.right+n.elementPos.left,i.top=t.top+n.elementPos.top,i.bottom=t.bottom+n.elementPos.top,"touch"===o.tolerance?e=!(i.left>l||i.right<r||i.top>h||i.bottom<a):"fit"===o.tolerance&&(e=i.left>r&&i.right<l&&i.top>a&&i.bottom<h),e?(t.selected&&(n._removeClass(t.$element,"ui-selected"),t.selected=!1),t.unselecting&&(n._removeClass(t.$element,"ui-unselecting"),t.unselecting=!1),t.selecting||(n._addClass(t.$element,"ui-selecting"),t.selecting=!0,n._trigger("selecting",s,{selecting:t.element}))):(t.selecting&&((s.metaKey||s.ctrlKey)&&t.startselected?(n._removeClass(t.$element,"ui-selecting"),t.selecting=!1,n._addClass(t.$element,"ui-selected"),t.selected=!0):(n._removeClass(t.$element,"ui-selecting"),t.selecting=!1,t.startselected&&(n._addClass(t.$element,"ui-unselecting"),t.unselecting=!0),n._trigger("unselecting",s,{unselecting:t.element}))),t.selected&&(s.metaKey||s.ctrlKey||t.startselected||(n._removeClass(t.$element,"ui-selected"),t.selected=!1,n._addClass(t.$element,"ui-unselecting"),t.unselecting=!0,n._trigger("unselecting",s,{unselecting:t.element})))))}),!1}},_mouseStop:function(e){var i=this;return this.dragged=!1,C(".ui-unselecting",this.element[0]).each(function(){var t=C.data(this,"selectable-item");i._removeClass(t.$element,"ui-unselecting"),t.unselecting=!1,t.startselected=!1,i._trigger("unselected",e,{unselected:t.element})}),C(".ui-selecting",this.element[0]).each(function(){var t=C.data(this,"selectable-item");i._removeClass(t.$element,"ui-selecting")._addClass(t.$element,"ui-selected"),t.selecting=!1,t.selected=!0,t.startselected=!0,i._trigger("selected",e,{selected:t.element})}),this._trigger("stop",e),this.helper.remove(),!1}}),C.widget("ui.selectmenu",[C.ui.formResetMixin,{version:"1.12.1",defaultElement:"<select>",options:{appendTo:null,classes:{"ui-selectmenu-button-open":"ui-corner-top","ui-selectmenu-button-closed":"ui-corner-all"},disabled:null,icons:{button:"ui-icon-triangle-1-s"},position:{my:"left top",at:"left bottom",collision:"none"},width:!1,change:null,close:null,focus:null,open:null,select:null},_create:function(){var t=this.element.uniqueId().attr("id");this.ids={element:t,button:t+"-button",menu:t+"-menu"},this._drawButton(),this._drawMenu(),this._bindFormResetHandler(),this._rendered=!1,this.menuItems=C()},_drawButton:function(){var t,e=this,i=this._parseOption(this.element.find("option:selected"),this.element[0].selectedIndex);this.labels=this.element.labels().attr("for",this.ids.button),this._on(this.labels,{click:function(t){this.button.focus(),t.preventDefault()}}),this.element.hide(),this.button=C("<span>",{tabindex:this.options.disabled?-1:0,id:this.ids.button,role:"combobox","aria-expanded":"false","aria-autocomplete":"list","aria-owns":this.ids.menu,"aria-haspopup":"true",title:this.element.attr("title")}).insertAfter(this.element),this._addClass(this.button,"ui-selectmenu-button ui-selectmenu-button-closed","ui-button ui-widget"),t=C("<span>").appendTo(this.button),this._addClass(t,"ui-selectmenu-icon","ui-icon "+this.options.icons.button),this.buttonItem=this._renderButtonItem(i).appendTo(this.button),!1!==this.options.width&&this._resizeButton(),this._on(this.button,this._buttonEvents),this.button.one("focusin",function(){e._rendered||e._refreshMenu()})},_drawMenu:function(){var i=this;this.menu=C("<ul>",{"aria-hidden":"true","aria-labelledby":this.ids.button,id:this.ids.menu}),this.menuWrap=C("<div>").append(this.menu),this._addClass(this.menuWrap,"ui-selectmenu-menu","ui-front"),this.menuWrap.appendTo(this._appendTo()),this.menuInstance=this.menu.menu({classes:{"ui-menu":"ui-corner-bottom"},role:"listbox",select:function(t,e){t.preventDefault(),i._setSelection(),i._select(e.item.data("ui-selectmenu-item"),t)},focus:function(t,e){e=e.item.data("ui-selectmenu-item");null!=i.focusIndex&&e.index!==i.focusIndex&&(i._trigger("focus",t,{item:e}),i.isOpen||i._select(e,t)),i.focusIndex=e.index,i.button.attr("aria-activedescendant",i.menuItems.eq(e.index).attr("id"))}}).menu("instance"),this.menuInstance._off(this.menu,"mouseleave"),this.menuInstance._closeOnDocumentClick=function(){return!1},this.menuInstance._isDivider=function(){return!1}},refresh:function(){this._refreshMenu(),this.buttonItem.replaceWith(this.buttonItem=this._renderButtonItem(this._getSelectedItem().data("ui-selectmenu-item")||{})),null===this.options.width&&this._resizeButton()},_refreshMenu:function(){var t=this.element.find("option");this.menu.empty(),this._parseOptions(t),this._renderMenu(this.menu,this.items),this.menuInstance.refresh(),this.menuItems=this.menu.find("li").not(".ui-selectmenu-optgroup").find(".ui-menu-item-wrapper"),this._rendered=!0,t.length&&(t=this._getSelectedItem(),this.menuInstance.focus(null,t),this._setAria(t.data("ui-selectmenu-item")),this._setOption("disabled",this.element.prop("disabled")))},open:function(t){this.options.disabled||(this._rendered?(this._removeClass(this.menu.find(".ui-state-active"),null,"ui-state-active"),this.menuInstance.focus(null,this._getSelectedItem())):this._refreshMenu(),this.menuItems.length&&(this.isOpen=!0,this._toggleAttr(),this._resizeMenu(),this._position(),this._on(this.document,this._documentClick),this._trigger("open",t)))},_position:function(){this.menuWrap.position(C.extend({of:this.button},this.options.position))},close:function(t){this.isOpen&&(this.isOpen=!1,this._toggleAttr(),this.range=null,this._off(this.document),this._trigger("close",t))},widget:function(){return this.button},menuWidget:function(){return this.menu},_renderButtonItem:function(t){var e=C("<span>");return this._setText(e,t.label),this._addClass(e,"ui-selectmenu-text"),e},_renderMenu:function(s,t){var n=this,o="";C.each(t,function(t,e){var i;e.optgroup!==o&&(i=C("<li>",{text:e.optgroup}),n._addClass(i,"ui-selectmenu-optgroup","ui-menu-divider"+(e.element.parent("optgroup").prop("disabled")?" ui-state-disabled":"")),i.appendTo(s),o=e.optgroup),n._renderItemData(s,e)})},_renderItemData:function(t,e){return this._renderItem(t,e).data("ui-selectmenu-item",e)},_renderItem:function(t,e){var i=C("<li>"),s=C("<div>",{title:e.element.attr("title")});return e.disabled&&this._addClass(i,null,"ui-state-disabled"),this._setText(s,e.label),i.append(s).appendTo(t)},_setText:function(t,e){e?t.text(e):t.html("&#160;")},_move:function(t,e){var i,s=".ui-menu-item";this.isOpen?i=this.menuItems.eq(this.focusIndex).parent("li"):(i=this.menuItems.eq(this.element[0].selectedIndex).parent("li"),s+=":not(.ui-state-disabled)"),(s="first"===t||"last"===t?i["first"===t?"prevAll":"nextAll"](s).eq(-1):i[t+"All"](s).eq(0)).length&&this.menuInstance.focus(e,s)},_getSelectedItem:function(){return this.menuItems.eq(this.element[0].selectedIndex).parent("li")}
vendor: 4,320 bytes, line 1
1,_toggle:function(t){this[this.isOpen?"close":"open"](t)},_setSelection:function(){var t;this.range&&(window.getSelection?((t=window.getSelection()).removeAllRanges(),t.addRange(this.range)):this.range.select(),this.button.focus())},_documentClick:{mousedown:function(t){this.isOpen&&(C(t.target).closest(".ui-selectmenu-menu, #"+C.ui.escapeSelector(this.ids.button)).length||this.close(t))}},_buttonEvents:{mousedown:function(){var t;window.getSelection?(t=window.getSelection()).rangeCount&&(this.range=t.getRangeAt(0)):this.range=document.selection.createRange()},click:function(t){this._setSelection(),this._toggle(t)},keydown:function(t){var e=!0;switch(t.keyCode){case C.ui.keyCode.TAB:case C.ui.keyCode.ESCAPE:this.close(t),e=!1;break;case C.ui.keyCode.ENTER:this.isOpen&&this._selectFocusedItem(t);break;case C.ui.keyCode.UP:t.altKey?this._toggle(t):this._move("prev",t);break;case C.ui.keyCode.DOWN:t.altKey?this._toggle(t):this._move("next",t);break;case C.ui.keyCode.SPACE:this.isOpen?this._selectFocusedItem(t):this._toggle(t);break;case C.ui.keyCode.LEFT:this._move("prev",t);break;case C.ui.keyCode.RIGHT:this._move("next",t);break;case C.ui.keyCode.HOME:case C.ui.keyCode.PAGE_UP:this._move("first",t);break;case C.ui.keyCode.END:case C.ui.keyCode.PAGE_DOWN:this._move("last",t);break;default:this.menu.trigger(t),e=!1}e&&t.preventDefault()}},_selectFocusedItem:function(t){var e=this.menuItems.eq(this.focusIndex).parent("li");e.hasClass("ui-state-disabled")||this._select(e.data("ui-selectmenu-item"),t)},_select:function(t,e){var i=this.element[0].selectedIndex;this.element[0].selectedIndex=t.index,this.buttonItem.replaceWith(this.buttonItem=this._renderButtonItem(t)),this._setAria(t),this._trigger("select",e,{item:t}),t.index!==i&&this._trigger("change",e,{item:t}),this.close(e)},_setAria:function(t){t=this.menuItems.eq(t.index).attr("id");this.button.attr({"aria-labelledby":t,"aria-activedescendant":t}),this.menu.attr("aria-activedescendant",t)},_setOption:function(t,e){var i;"icons"===t&&(i=this.button.find("span.ui-icon"),this._removeClass(i,null,this.options.icons.button)._addClass(i,null,e.button)),this._super(t,e),"appendTo"===t&&this.menuWrap.appendTo(this._appendTo()),"width"===t&&this._resizeButton()},_setOptionDisabled:function(t){this._super(t),this.menuInstance.option("disabled",t),this.button.attr("aria-disabled",t),this._toggleClass(this.button,null,"ui-state-disabled",t),this.element.prop("disabled",t),t?(this.button.attr("tabindex",-1),this.close()):this.button.attr("tabindex",0)},_appendTo:function(){var t=this.options.appendTo;return t=!(t=!(t=t&&(t.jquery||t.nodeType?C(t):this.document.find(t).eq(0)))||!t[0]?this.element.closest(".ui-front, dialog"):t).length?this.document[0].body:t},_toggleAttr:function(){this.button.attr("aria-expanded",this.isOpen),this._removeClass(this.button,"ui-selectmenu-button-"+(this.isOpen?"closed":"open"))._addClass(this.button,"ui-selectmenu-button-"+(this.isOpen?"open":"closed"))._toggleClass(this.menuWrap,"ui-selectmenu-open",null,this.isOpen),this.menu.attr("aria-hidden",!this.isOpen)},_resizeButton:function(){var t=this.options.width;!1!==t?(null===t&&(t=this.element.show().outerWidth(),this.element.hide()),this.button.outerWidth(t)):this.button.css("width","")},_resizeMenu:function(){this.menu.outerWidth(Math.max(this.button.outerWidth(),this.menu.width("").outerWidth()+1))},_getCreateOptions:function(){var t=this._super();return t.disabled=this.element.prop("disabled"),t},_parseOptions:function(t){var i=this,s=[];t.each(function(t,e){s.push(i._parseOption(C(e),t))}),this.items=s},_parseOption:function(t,e){var i=t.parent("optgroup");return{element:t,index:e,value:t.val(),label:t.text(),optgroup:i.attr("label")||"",disabled:i.prop("disabled")||t.prop("disabled")}},_destroy:function(){this._unbindFormResetHandler(),this.menuWrap.remove(),this.button.remove(),this.element.show(),this.element.removeUniqueId(),this.labels.attr("for",this.ids.element)}}]),C.widget("ui.slider",C.ui.mouse,{version:"1.12.1",widgetEventPrefix:"slide",options:{animate:!1,classes:{"ui-slider":"ui-corner-all","ui-slider-handle":"ui-corner-all","ui-slider-range":"ui-corner-all ui-widget-header"},distance:0,max:100,min:0,orientation:"horizontal",range:!1,step:1,value:0,values:null,change:null,slide:null,start:null,stop:null}
vendor: 4,685 bytes, line 1
1,numPages:5,_create:function(){this._keySliding=!1,this._mouseSliding=!1,this._animateOff=!0,this._handleIndex=null,this._detectOrientation(),this._mouseInit(),this._calculateNewMax(),this._addClass("ui-slider ui-slider-"+this.orientation,"ui-widget ui-widget-content"),this._refresh(),this._animateOff=!1},_refresh:function(){this._createRange(),this._createHandles(),this._setupEvents(),this._refreshValue()},_createHandles:function(){var t,e=this.options,i=this.element.find(".ui-slider-handle"),s=[],n=e.values&&e.values.length||1;for(i.length>n&&(i.slice(n).remove(),i=i.slice(0,n)),t=i.length;t<n;t++)s.push("<span tabindex='0'></span>");this.handles=i.add(C(s.join("")).appendTo(this.element)),this._addClass(this.handles,"ui-slider-handle","ui-state-default"),this.handle=this.handles.eq(0),this.handles.each(function(t){C(this).data("ui-slider-handle-index",t).attr("tabIndex",0)})},_createRange:function(){var t=this.options;t.range?(!0===t.range&&(t.values?t.values.length&&2!==t.values.length?t.values=[t.values[0],t.values[0]]:C.isArray(t.values)&&(t.values=t.values.slice(0)):t.values=[this._valueMin(),this._valueMin()]),this.range&&this.range.length?(this._removeClass(this.range,"ui-slider-range-min ui-slider-range-max"),this.range.css({left:"",bottom:""})):(this.range=C("<div>").appendTo(this.element),this._addClass(this.range,"ui-slider-range")),"min"!==t.range&&"max"!==t.range||this._addClass(this.range,"ui-slider-range-"+t.range)):(this.range&&this.range.remove(),this.range=null)},_setupEvents:function(){this._off(this.handles),this._on(this.handles,this._handleEvents),this._hoverable(this.handles),this._focusable(this.handles)},_destroy:function(){this.handles.remove(),this.range&&this.range.remove(),this._mouseDestroy()},_mouseCapture:function(t){var i,s,n,o,e,r,a=this,l=this.options;return!l.disabled&&(this.elementSize={width:this.element.outerWidth(),height:this.element.outerHeight()},this.elementOffset=this.element.offset(),r={x:t.pageX,y:t.pageY},i=this._normValueFromMouse(r),s=this._valueMax()-this._valueMin()+1,this.handles.each(function(t){var e=Math.abs(i-a.values(t));(e<s||s===e&&(t===a._lastChangedValue||a.values(t)===l.min))&&(s=e,n=C(this),o=t)}),!1!==this._start(t,o)&&(this._mouseSliding=!0,this._handleIndex=o,this._addClass(n,null,"ui-state-active"),n.trigger("focus"),e=n.offset(),r=!C(t.target).parents().addBack().is(".ui-slider-handle"),this._clickOffset=r?{left:0,top:0}:{left:t.pageX-e.left-n.width()/2,top:t.pageY-e.top-n.height()/2-(parseInt(n.css("borderTopWidth"),10)||0)-(parseInt(n.css("borderBottomWidth"),10)||0)+(parseInt(n.css("marginTop"),10)||0)},this.handles.hasClass("ui-state-hover")||this._slide(t,o,i),this._animateOff=!0))},_mouseStart:function(){return!0},_mouseDrag:function(t){var e={x:t.pageX,y:t.pageY},e=this._normValueFromMouse(e);return this._slide(t,this._handleIndex,e),!1},_mouseStop:function(t){return this._removeClass(this.handles,null,"ui-state-active"),this._mouseSliding=!1,this._stop(t,this._handleIndex),this._change(t,this._handleIndex),this._handleIndex=null,this._clickOffset=null,this._animateOff=!1},_detectOrientation:function(){this.orientation="vertical"===this.options.orientation?"vertical":"horizontal"},_normValueFromMouse:function(t){var e,t="horizontal"===this.orientation?(e=this.elementSize.width,t.x-this.elementOffset.left-(this._clickOffset?this._clickOffset.left:0)):(e=this.elementSize.height,t.y-this.elementOffset.top-(this._clickOffset?this._clickOffset.top:0)),t=t/e;return(t=1<t?1:t)<0&&(t=0),"vertical"===this.orientation&&(t=1-t),e=this._valueMax()-this._valueMin(),e=this._valueMin()+t*e,this._trimAlignValue(e)},_uiHash:function(t,e,i){var s={handle:this.handles[t],handleIndex:t,value:void 0!==e?e:this.value()};return this._hasMultipleValues()&&(s.value=void 0!==e?e:this.values(t),s.values=i||this.values()),s},_hasMultipleValues:function(){return this.options.values&&this.options.values.length},_start:function(t,e){return this._trigger("start",t,this._uiHash(e))},_slide:function(t,e,i){var s,n=this.value(),o=this.values();this._hasMultipleValues()&&(s=this.values(e?0:1),n=this.values(e),2===this.options.values.length&&!0===this.options.range&&(i=0===e?Math.min(s,i):Math.max(s,i)),o[e]=i),i!==n&&!1!==this._trigger("slide",t,this._uiHash(e,i,o))&&(this._hasMultipleValues()?this.values(e,i):this.value(i))},_stop:function(t,e){this._trigger("stop",t,this._uiHash(e))},_change:function(t,e){this._keySliding||this._mouseSliding||(this._lastChangedValue=e,this._trigger("change",t,this._uiHash(e)))},value:function(t){return arguments.length?(this.options.value=this._trimAlignValue(t),this._refreshValue(),void this._change(null,0)):this._value(
vendor: 4,831 bytes, line 1
1)},values:function(t,e){var i,s,n;if(1<arguments.length)return this.options.values[t]=this._trimAlignValue(e),this._refreshValue(),void this._change(null,t);if(!arguments.length)return this._values();if(!C.isArray(t))return this._hasMultipleValues()?this._values(t):this.value();for(i=this.options.values,s=t,n=0;n<i.length;n+=1)i[n]=this._trimAlignValue(s[n]),this._change(null,n);this._refreshValue()},_setOption:function(t,e){var i,s=0;switch("range"===t&&!0===this.options.range&&("min"===e?(this.options.value=this._values(0),this.options.values=null):"max"===e&&(this.options.value=this._values(this.options.values.length-1),this.options.values=null)),C.isArray(this.options.values)&&(s=this.options.values.length),this._super(t,e),t){case"orientation":this._detectOrientation(),this._removeClass("ui-slider-horizontal ui-slider-vertical")._addClass("ui-slider-"+this.orientation),this._refreshValue(),this.options.range&&this._refreshRange(e),this.handles.css("horizontal"===e?"bottom":"left","");break;case"value":this._animateOff=!0,this._refreshValue(),this._change(null,0),this._animateOff=!1;break;case"values":for(this._animateOff=!0,this._refreshValue(),i=s-1;0<=i;i--)this._change(null,i);this._animateOff=!1;break;case"step":case"min":case"max":this._animateOff=!0,this._calculateNewMax(),this._refreshValue(),this._animateOff=!1;break;case"range":this._animateOff=!0,this._refresh(),this._animateOff=!1}},_setOptionDisabled:function(t){this._super(t),this._toggleClass(null,"ui-state-disabled",!!t)},_value:function(){var t=this.options.value;return t=this._trimAlignValue(t)},_values:function(t){var e,i,s;if(arguments.length)return e=this.options.values[t],this._trimAlignValue(e);if(this._hasMultipleValues()){for(i=this.options.values.slice(),s=0;s<i.length;s+=1)i[s]=this._trimAlignValue(i[s]);return i}return[]},_trimAlignValue:function(t){if(t<=this._valueMin())return this._valueMin();if(t>=this._valueMax())return this._valueMax();var e=0<this.options.step?this.options.step:1,i=(t-this._valueMin())%e,t=t-i;return 2*Math.abs(i)>=e&&(t+=0<i?e:-e),parseFloat(t.toFixed(5))},_calculateNewMax:function(){var t=this.options.max,e=this._valueMin(),i=this.options.step;(t=Math.round((t-e)/i)*i+e)>this.options.max&&(t-=i),this.max=parseFloat(t.toFixed(this._precision()))},_precision:function(){var t=this._precisionOf(this.options.step);return t=null!==this.options.min?Math.max(t,this._precisionOf(this.options.min)):t},_precisionOf:function(t){var e=t.toString(),t=e.indexOf(".");return-1===t?0:e.length-t-1},_valueMin:function(){return this.options.min},_valueMax:function(){return this.max},_refreshRange:function(t){"vertical"===t&&this.range.css({width:"",left:""}),"horizontal"===t&&this.range.css({height:"",bottom:""})},_refreshValue:function(){var e,i,t,s,n,o=this.options.range,r=this.options,a=this,l=!this._animateOff&&r.animate,h={};this._hasMultipleValues()?this.handles.each(function(t){i=(a.values(t)-a._valueMin())/(a._valueMax()-a._valueMin())*100,h["horizontal"===a.orientation?"left":"bottom"]=i+"%",C(this).stop(1,1)[l?"animate":"css"](h,r.animate),!0===a.options.range&&("horizontal"===a.orientation?(0===t&&a.range.stop(1,1)[l?"animate":"css"]({left:i+"%"},r.animate),1===t&&a.range[l?"animate":"css"]({width:i-e+"%"},{queue:!1,duration:r.animate})):(0===t&&a.range.stop(1,1)[l?"animate":"css"]({bottom:i+"%"},r.animate),1===t&&a.range[l?"animate":"css"]({height:i-e+"%"},{queue:!1,duration:r.animate}))),e=i}):(t=this.value(),s=this._valueMin(),n=this._valueMax(),i=n!==s?(t-s)/(n-s)*100:0,h["horizontal"===this.orientation?"left":"bottom"]=i+"%",this.handle.stop(1,1)[l?"animate":"css"](h,r.animate),"min"===o&&"horizontal"===this.orientation&&this.range.stop(1,1)[l?"animate":"css"]({width:i+"%"},r.animate),"max"===o&&"horizontal"===this.orientation&&this.range.stop(1,1)[l?"animate":"css"]({width:100-i+"%"},r.animate),"min"===o&&"vertical"===this.orientation&&this.range.stop(1,1)[l?"animate":"css"]({height:i+"%"},r.animate),"max"===o&&"vertical"===this.orientation&&this.range.stop(1,1)[l?"animate":"css"]({height:100-i+"%"},r.animate))},_handleEvents:{keydown:function(t){var e,i,s,n=C(t.target).data("ui-slider-handle-index");switch(t.keyCode){case C.ui.keyCode.HOME:case C.ui.keyCode.END:case C.ui.keyCode.PAGE_UP:case C.ui.keyCode.PAGE_DOWN:case C.ui.keyCode.UP:case C.ui.keyCode.RIGHT:case C.ui.keyCode.DOWN:case C.ui.keyCode.LEFT:if(t.preventDefault(),!this._keySliding&&(this._keySliding=!0,this._addClass(C(t.target),null,"ui-state-active"),!1===this._start(t,n)))return}switch(s=this.options.step,e=i=this._hasMultipleValues()?this.values(n):this.value(),t.keyCode){case C.ui.keyCode.HOME:i=this._valueMin();break;case C.ui.keyCode.END:i=this._valueMax();break;case C.ui.keyCode.PAGE_UP:i=this._trimAlignValue(e+(this._valueMax()-this._valueMin())/this.numPages);break;
vendor: 8,793 bytes, line 1
1case C.ui.keyCode.PAGE_DOWN:i=this._trimAlignValue(e-(this._valueMax()-this._valueMin())/this.numPages);break;case C.ui.keyCode.UP:case C.ui.keyCode.RIGHT:if(e===this._valueMax())return;i=this._trimAlignValue(e+s);break;case C.ui.keyCode.DOWN:case C.ui.keyCode.LEFT:if(e===this._valueMin())return;i=this._trimAlignValue(e-s)}this._slide(t,n,i)},keyup:function(t){var e=C(t.target).data("ui-slider-handle-index");this._keySliding&&(this._keySliding=!1,this._stop(t,e),this._change(t,e),this._removeClass(C(t.target),null,"ui-state-active"))}}}),C.widget("ui.sortable",C.ui.mouse,{version:"1.12.1",widgetEventPrefix:"sort",ready:!1,options:{appendTo:"parent",axis:!1,connectWith:!1,containment:!1,cursor:"auto",cursorAt:!1,dropOnEmpty:!0,forcePlaceholderSize:!1,forceHelperSize:!1,grid:!1,handle:!1,helper:"original",items:"> *",opacity:!1,placeholder:!1,revert:!1,scroll:!0,scrollSensitivity:20,scrollSpeed:20,scope:"default",tolerance:"intersect",zIndex:1e3,activate:null,beforeStop:null,change:null,deactivate:null,out:null,over:null,receive:null,remove:null,sort:null,start:null,stop:null,update:null},_isOverAxis:function(t,e,i){return e<=t&&t<e+i},_isFloating:function(t){return/left|right/.test(t.css("float"))||/inline|table-cell/.test(t.css("display"))},_create:function(){this.containerCache={},this._addClass("ui-sortable"),this.refresh(),this.offset=this.element.offset(),this._mouseInit(),this._setHandleClassName(),this.ready=!0},_setOption:function(t,e){this._super(t,e),"handle"===t&&this._setHandleClassName()},_setHandleClassName:function(){var t=this;this._removeClass(this.element.find(".ui-sortable-handle"),"ui-sortable-handle"),C.each(this.items,function(){t._addClass(this.instance.options.handle?this.item.find(this.instance.options.handle):this.item,"ui-sortable-handle")})},_destroy:function(){this._mouseDestroy();for(var t=this.items.length-1;0<=t;t--)this.items[t].item.removeData(this.widgetName+"-item");return this},_mouseCapture:function(t,e){var i=null,s=!1,n=this;return!this.reverting&&(!this.options.disabled&&"static"!==this.options.type&&(this._refreshItems(t),C(t.target).parents().each(function(){if(C.data(this,n.widgetName+"-item")===n)return i=C(this),!1}),!!(i=C.data(t.target,n.widgetName+"-item")===n?C(t.target):i)&&(!(this.options.handle&&!e&&(C(this.options.handle,i).find("*").addBack().each(function(){this===t.target&&(s=!0)}),!s))&&(this.currentItem=i,this._removeCurrentsFromItems(),!0))))},_mouseStart:function(t,e,i){var s,n,o=this.options;if((this.currentContainer=this).refreshPositions(),this.helper=this._createHelper(t),this._cacheHelperProportions(),this._cacheMargins(),this.scrollParent=this.helper.scrollParent(),this.offset=this.currentItem.offset(),this.offset={top:this.offset.top-this.margins.top,left:this.offset.left-this.margins.left},C.extend(this.offset,{click:{left:t.pageX-this.offset.left,top:t.pageY-this.offset.top},parent:this._getParentOffset(),relative:this._getRelativeOffset()}),this.helper.css("position","absolute"),this.cssPosition=this.helper.css("position"),this.originalPosition=this._generatePosition(t),this.originalPageX=t.pageX,this.originalPageY=t.pageY,o.cursorAt&&this._adjustOffsetFromHelper(o.cursorAt),this.domPosition={prev:this.currentItem.prev()[0],parent:this.currentItem.parent()[0]},this.helper[0]!==this.currentItem[0]&&this.currentItem.hide(),this._createPlaceholder(),o.containment&&this._setContainment(),o.cursor&&"auto"!==o.cursor&&(n=this.document.find("body"),this.storedCursor=n.css("cursor"),n.css("cursor",o.cursor),this.storedStylesheet=C("<style>*{ cursor: "+o.cursor+" !important; }</style>").appendTo(n)),o.opacity&&(this.helper.css("opacity")&&(this._storedOpacity=this.helper.css("opacity")),this.helper.css("opacity",o.opacity)),o.zIndex&&(this.helper.css("zIndex")&&(this._storedZIndex=this.helper.css("zIndex")),this.helper.css("zIndex",o.zIndex)),this.scrollParent[0]!==this.document[0]&&"HTML"!==this.scrollParent[0].tagName&&(this.overflowOffset=this.scrollParent.offset()),this._trigger("start",t,this._uiHash()),this._preserveHelperProportions||this._cacheHelperProportions(),!i)for(s=this.containers.length-1;0<=s;s--)this.containers[s]._trigger("activate",t,this._uiHash(this));return C.ui.ddmanager&&(C.ui.ddmanager.current=this),C.ui.ddmanager&&!o.dropBehaviour&&C.ui.ddmanager.prepareOffsets(this,t),this.dragging=!0,this._addClass(this.helper,"ui-sortable-helper"),this._mouseDrag(t),!0},_mouseDrag:function(t){var e,i,s,n,o=this.options,r=!1;for(this.position=this._generatePosition(t),this.positionAbs=this._convertPositionTo("absolute"),this.lastPositionAbs||(this.lastPositionAbs=this.positionAbs),this.options.scroll&&(this.scrollParent[0]!==this.document[0]&&"HTML"!==this.scrollParent[0].tagName?(this.overflowOffset.top+this.scrollParent[0].offsetHeight-t.pageY<o.scrollSensitivity?this.scrollParent[0].scrollTop=r=this.scrollParent[0].scrollTop+o.scrollSpeed:t.pageY-this.overflowOffset.top<o.scrollSensitivity&&(this.scrollParent[0].scrollTop=r=this.scrollParent[0].scrollTop-o.scrollSpeed),this.overflowOffset.left+this.scrollParent[0].offsetWidth-t.pageX<o.scrollSensitivity?this.scrollParent[0].scrollLeft=r=this.scrollParent[0].scrollLeft+o.scrollSpeed:t.pageX-this.overflowOffset.left<o.scrollSensitivity&&(this.scrollParent[0].scrollLeft=r=this.scrollParent[0].scrollLeft-o.scrollSpeed)):(t.pageY-this.document.scrollTop()<o.scrollSensitivity?r=this.document.scrollTop(this.document.scrollTop()-o.scrollSpeed):this.window.height()-(t.pageY-this.document.scrollTop())<o.scrollSensitivity&&(r=this.document.scrollTop(this.document.scrollTop()+o.scrollSpeed)),t.pageX-this.document.scrollLeft()<o.scrollSensitivity?r=this.document.scrollLeft(this.document.scrollLeft()-o.scrollSpeed):this.window.width()-(t.pageX-this.document.scrollLeft())<o.scrollSensitivity&&(r=this.document.scrollLeft(this.document.scrollLeft()+o.scrollSpeed))),!1!==r&&C.ui.ddmanager&&!o.dropBehaviour&&C.ui.ddmanager.prepareOffsets(this,t)),this.positionAbs=this._convertPositionTo("absolute"),this.options.axis&&"y"===this.options.axis||(this.helper[0].style.left=this.position.left+"px"),this.options.axis&&"x"===this.options.axis||(this.helper[0].style.top=this.position.top+"px"),e=this.items.length-1;0<=e;e--)if(s=(i=this.items[e]).item[0],(n=this._intersectsWithPointer(i))&&i.instance===this.currentContainer&&!(s===this.currentItem[0]||this.placeholder[1===n?"next":"prev"]()[0]===s||C.contains(this.placeholder[0],s)||"semi-dynamic"===this.options.type&&C.contains(this.element[0],s))){if(this.direction=1===n?"down":"up","pointer"!==this.options.tolerance&&!this._intersectsWithSides(i))break;this._rearrange(t,i),this._trigger("change",t,this._uiHash());break}return this._contactContainers(t),C.ui.ddmanager&&C.ui.ddmanager.drag(this,t),this._trigger("sort",t,this._uiHash()),this.lastPositionAbs=this.positionAbs,!1},_mouseStop:function(t,e){var i,s,n,o;if(t)return C.ui.ddmanager&&!this.options.dropBehaviour&&C.ui.ddmanager.drop(this,t),this.options.revert?(s=(i=this).placeholder.offset(),o={},(n=this.options.axis)&&"x"!==n||(o.left=s.left-this.offset.parent.left-this.margins.left+(this.offsetParent[0]===this.document[0].body?0:this.offsetParent[0].scrollLeft)),n&&"y"!==n||(o.top=s.top-this.offset.parent.top-this.margins.top+(this.offsetParent[0]===this.document[0].body?0:this.offsetParent[0].scrollTop)),this.reverting=!0,C(this.helper).animate(o,parseInt(this.options.revert,10)||500,function(){i._clear(t)})):this._clear(t,e),!1},cancel:function(){if(this.dragging){this._mouseUp(new C.Event("mouseup",{target:null})),"original"===this.options.helper?(this.currentItem.css(this._storedCSS),this._removeClass(this.currentItem,"ui-sortable-helper")):this.currentItem.show();for(var t=this.containers.length-1;0<=t;t--)this.containers[t]._trigger("deactivate",null,this._uiHash(this)),this.containers[t].containerCache.over&&(this.containers[t]._trigger("out",null,this._uiHash(this)),this.containers[t].containerCache.over=0)}return this.placeholder&&(this.placeholder[0].parentNode&&this.placeholder[0].parentNode.removeChild(this.placeholder[0]),"original"!==this.options.helper&&this.helper&&this.helper[0].parentNode&&this.helper.remove(),C.extend(this,{helper:null,dragging:!1,reverting:!1,_noFinalSort:null}),this.domPosition.prev?C(this.domPosition.prev).after(this.currentItem):C(this.domPosition.parent).prepend(this.currentItem)),this},serialize:function(e){var t=this._getItemsAsjQuery(e&&e.connected),i=[];return e=e||{},C(t).each(function(){var t=(C(e.item||this).attr(e.attribute||"id")||"").match(e.expression||/(.+)[\-=_](.+)/);t&&i.push((e.key||t[1]+"[]")+"="+(e.key&&e.expression?t[1]:t[2]))}),!i.length&&e.key&&i.push(e.key+"="),i.join("&")},toArray:function(t){var e=this._getItemsAsjQuery(t&&t.connected),i=[];return t=t||{}
vendor: 4,205 bytes, line 1
1,e.each(function(){i.push(C(t.item||this).attr(t.attribute||"id")||"")}),i},_intersectsWith:function(t){var e=this.positionAbs.left,i=e+this.helperProportions.width,s=this.positionAbs.top,n=s+this.helperProportions.height,o=t.left,r=o+t.width,a=t.top,l=a+t.height,h=this.offset.click.top,c=this.offset.click.left,h="x"===this.options.axis||a<s+h&&s+h<l,c="y"===this.options.axis||o<e+c&&e+c<r;return"pointer"===this.options.tolerance||this.options.forcePointerForContainers||"pointer"!==this.options.tolerance&&this.helperProportions[this.floating?"width":"height"]>t[this.floating?"width":"height"]?h&&c:o<e+this.helperProportions.width/2&&i-this.helperProportions.width/2<r&&a<s+this.helperProportions.height/2&&n-this.helperProportions.height/2<l},_intersectsWithPointer:function(t){var e="x"===this.options.axis||this._isOverAxis(this.positionAbs.top+this.offset.click.top,t.top,t.height),t="y"===this.options.axis||this._isOverAxis(this.positionAbs.left+this.offset.click.left,t.left,t.width);return!(!e||!t)&&(e=this._getDragVerticalDirection(),t=this._getDragHorizontalDirection(),this.floating?"right"===t||"down"===e?2:1:e&&("down"===e?2:1))},_intersectsWithSides:function(t){var e=this._isOverAxis(this.positionAbs.top+this.offset.click.top,t.top+t.height/2,t.height),i=this._isOverAxis(this.positionAbs.left+this.offset.click.left,t.left+t.width/2,t.width),s=this._getDragVerticalDirection(),t=this._getDragHorizontalDirection();return this.floating&&t?"right"===t&&i||"left"===t&&!i:s&&("down"===s&&e||"up"===s&&!e)},_getDragVerticalDirection:function(){var t=this.positionAbs.top-this.lastPositionAbs.top;return 0!=t&&(0<t?"down":"up")},_getDragHorizontalDirection:function(){var t=this.positionAbs.left-this.lastPositionAbs.left;return 0!=t&&(0<t?"right":"left")},refresh:function(t){return this._refreshItems(t),this._setHandleClassName(),this.refreshPositions(),this},_connectWith:function(){var t=this.options;return t.connectWith.constructor===String?[t.connectWith]:t.connectWith},_getItemsAsjQuery:function(t){var e,i,s,n,o=[],r=[],a=this._connectWith();if(a&&t)for(e=a.length-1;0<=e;e--)for(i=(s=C(a[e],this.document[0])).length-1;0<=i;i--)(n=C.data(s[i],this.widgetFullName))&&n!==this&&!n.options.disabled&&r.push([C.isFunction(n.options.items)?n.options.items.call(n.element):C(n.options.items,n.element).not(".ui-sortable-helper").not(".ui-sortable-placeholder"),n]);function l(){o.push(this)}for(r.push([C.isFunction(this.options.items)?this.options.items.call(this.element,null,{options:this.options,item:this.currentItem}):C(this.options.items,this.element).not(".ui-sortable-helper").not(".ui-sortable-placeholder"),this]),e=r.length-1;0<=e;e--)r[e][0].each(l);return C(o)},_removeCurrentsFromItems:function(){var i=this.currentItem.find(":data("+this.widgetName+"-item)");this.items=C.grep(this.items,function(t){for(var e=0;e<i.length;e++)if(i[e]===t.item[0])return!1;return!0})},_refreshItems:function(t){this.items=[],this.containers=[this];var e,i,s,n,o,r,a,l,h=this.items,c=[[C.isFunction(this.options.items)?this.options.items.call(this.element[0],t,{item:this.currentItem}):C(this.options.items,this.element),this]],u=this._connectWith();if(u&&this.ready)for(e=u.length-1;0<=e;e--)for(i=(s=C(u[e],this.document[0])).length-1;0<=i;i--)(n=C.data(s[i],this.widgetFullName))&&n!==this&&!n.options.disabled&&(c.push([C.isFunction(n.options.items)?n.options.items.call(n.element[0],t,{item:this.currentItem}):C(n.options.items,n.element),n]),this.containers.push(n));for(e=c.length-1;0<=e;e--)for(o=c[e][1],l=(r=c[e][i=0]).length;i<l;i++)(a=C(r[i])).data(this.widgetName+"-item",o),h.push({item:a,instance:o,width:0,height:0,left:0,top:0})},refreshPositions:function(t){var e,i,s,n;for(this.floating=!!this.items.length&&("x"===this.options.axis||this._isFloating(this.items[0].item)),this.offsetParent&&this.helper&&(this.offset.parent=this._getParentOffset()),e=this.items.length-1;0<=e;e--)(i=this.items[e]).instance!==this.currentContainer&&this.currentContainer&&i.item[0]!==this.currentItem[0]||(s=this.options.toleranceElement?C(this.options.toleranceElement,i.item):i.item,t||(i.width=s.outerWidth(),i.height=s.outerHeight()),n=s.offset(),i.left=n.left,i.top=n.top);
vendor: 1,140 bytes, line 1
1if(this.options.custom&&this.options.custom.refreshContainers)this.options.custom.refreshContainers.call(this);else for(e=this.containers.length-1;0<=e;e--)n=this.containers[e].element.offset(),this.containers[e].containerCache.left=n.left,this.containers[e].containerCache.top=n.top,this.containers[e].containerCache.width=this.containers[e].element.outerWidth(),this.containers[e].containerCache.height=this.containers[e].element.outerHeight();return this},_createPlaceholder:function(i){var s,n=(i=i||this).options;n.placeholder&&n.placeholder.constructor!==String||(s=n.placeholder,n.placeholder={element:function(){var t=i.currentItem[0].nodeName.toLowerCase(),e=C("<"+t+">",i.document[0]);return i._addClass(e,"ui-sortable-placeholder",s||i.currentItem[0].className)._removeClass(e,"ui-sortable-helper"),"tbody"===t?i._createTrPlaceholder(i.currentItem.find("tr").eq(0),C("<tr>",i.document[0]).appendTo(e)):"tr"===t?i._createTrPlaceholder(i.currentItem,e):"img"===t&&e.attr("src",i.currentItem.attr("src")),s||e.css("visibility","hidden"),e},update:function(t,e){s&&!n.forcePlaceholderSize||(e.height()||e.height(i.currentItem.innerHe
vendor: 7,722 bytes, line 1
1ight()-parseInt(i.currentItem.css("paddingTop")||0,10)-parseInt(i.currentItem.css("paddingBottom")||0,10)),e.width()||e.width(i.currentItem.innerWidth()-parseInt(i.currentItem.css("paddingLeft")||0,10)-parseInt(i.currentItem.css("paddingRight")||0,10)))}}),i.placeholder=C(n.placeholder.element.call(i.element,i.currentItem)),i.currentItem.after(i.placeholder),n.placeholder.update(i,i.placeholder)},_createTrPlaceholder:function(t,e){var i=this;t.children().each(function(){C("<td>&#160;</td>",i.document[0]).attr("colspan",C(this).attr("colspan")||1).appendTo(e)})},_contactContainers:function(t){for(var e,i,s,n,o,r,a,l,h,c=null,u=null,d=this.containers.length-1;0<=d;d--)C.contains(this.currentItem[0],this.containers[d].element[0])||(this._intersectsWith(this.containers[d].containerCache)?c&&C.contains(this.containers[d].element[0],c.element[0])||(c=this.containers[d],u=d):this.containers[d].containerCache.over&&(this.containers[d]._trigger("out",t,this._uiHash(this)),this.containers[d].containerCache.over=0));if(c)if(1===this.containers.length)this.containers[u].containerCache.over||(this.containers[u]._trigger("over",t,this._uiHash(this)),this.containers[u].containerCache.over=1);else{for(i=1e4,s=null,n=(l=c.floating||this._isFloating(this.currentItem))?"left":"top",o=l?"width":"height",h=l?"pageX":"pageY",e=this.items.length-1;0<=e;e--)C.contains(this.containers[u].element[0],this.items[e].item[0])&&this.items[e].item[0]!==this.currentItem[0]&&(r=this.items[e].item.offset()[n],a=!1,t[h]-r>this.items[e][o]/2&&(a=!0),Math.abs(t[h]-r)<i&&(i=Math.abs(t[h]-r),s=this.items[e],this.direction=a?"up":"down"));(s||this.options.dropOnEmpty)&&(this.currentContainer!==this.containers[u]?(s?this._rearrange(t,s,null,!0):this._rearrange(t,null,this.containers[u].element,!0),this._trigger("change",t,this._uiHash()),this.containers[u]._trigger("change",t,this._uiHash(this)),this.currentContainer=this.containers[u],this.options.placeholder.update(this.currentContainer,this.placeholder),this.containers[u]._trigger("over",t,this._uiHash(this)),this.containers[u].containerCache.over=1):this.currentContainer.containerCache.over||(this.containers[u]._trigger("over",t,this._uiHash()),this.currentContainer.containerCache.over=1))}},_createHelper:function(t){var e=this.options,t=C.isFunction(e.helper)?C(e.helper.apply(this.element[0],[t,this.currentItem])):"clone"===e.helper?this.currentItem.clone():this.currentItem;return t.parents("body").length||C("parent"!==e.appendTo?e.appendTo:this.currentItem[0].parentNode)[0].appendChild(t[0]),t[0]===this.currentItem[0]&&(this._storedCSS={width:this.currentItem[0].style.width,height:this.currentItem[0].style.height,position:this.currentItem.css("position"),top:this.currentItem.css("top"),left:this.currentItem.css("left")}),t[0].style.width&&!e.forceHelperSize||t.width(this.currentItem.width()),t[0].style.height&&!e.forceHelperSize||t.height(this.currentItem.height()),t},_adjustOffsetFromHelper:function(t){"string"==typeof t&&(t=t.split(" ")),"left"in(t=C.isArray(t)?{left:+t[0],top:+t[1]||0}:t)&&(this.offset.click.left=t.left+this.margins.left),"right"in t&&(this.offset.click.left=this.helperProportions.width-t.right+this.margins.left),"top"in t&&(this.offset.click.top=t.top+this.margins.top),"bottom"in t&&(this.offset.click.top=this.helperProportions.height-t.bottom+this.margins.top)},_getParentOffset:function(){this.offsetParent=this.helper.offsetParent();var t=this.offsetParent.offset();return"absolute"===this.cssPosition&&this.scrollParent[0]!==this.document[0]&&C.contains(this.scrollParent[0],this.offsetParent[0])&&(t.left+=this.scrollParent.scrollLeft(),t.top+=this.scrollParent.scrollTop()),{top:(t=this.offsetParent[0]===this.document[0].body||this.offsetParent[0].tagName&&"html"===this.offsetParent[0].tagName.toLowerCase()&&C.ui.ie?{top:0,left:0}:t).top+(parseInt(this.offsetParent.css("borderTopWidth"),10)||0),left:t.left+(parseInt(this.offsetParent.css("borderLeftWidth"),10)||0)}},_getRelativeOffset:function(){if("relative"!==this.cssPosition)return{top:0,left:0};var t=this.currentItem.position();return{top:t.top-(parseInt(this.helper.css("top"),10)||0)+this.scrollParent.scrollTop(),left:t.left-(parseInt(this.helper.css("left"),10)||0)+this.scrollParent.scrollLeft()}},_cacheMargins:function(){this.margins={left:parseInt(this.currentItem.css("marginLeft"),10)||0,top:parseInt(this.currentItem.css("marginTop"),10)||0}},_cacheHelperProportions:function(){this.helperProportions={width:this.helper.outerWidth(),height:this.helper.outerHeight()}},_setContainment:function(){var t,e,i=this.options;"parent"===i.containment&&(i.containment=this.helper[0].parentNode),"document"!==i.containment&&"window"!==i.containment||(this.containment=[0-this.offset.relative.left-this.offset.parent.left,0-this.offset.relative.top-this.offset.parent.top,"document"===i.containment?this.document.width():this.window.width()-this.helperProportions.width-this.margins.left,("document"===i.containment?this.document.height()||document.body.parentNode.scrollHeight:this.window.height()||this.document[0].body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top]),/^(document|window|parent)$/.test(i.containment)||(t=C(i.containment)[0],e=C(i.containment).offset(),i="hidden"!==C(t).css("overflow"),this.containment=[e.left+(parseInt(C(t).css("borderLeftWidth"),10)||0)+(parseInt(C(t).css("paddingLeft"),10)||0)-this.margins.left,e.top+(parseInt(C(t).css("borderTopWidth"),10)||0)+(parseInt(C(t).css("paddingTop"),10)||0)-this.margins.top,e.left+(i?Math.max(t.scrollWidth,t.offsetWidth):t.offsetWidth)-(parseInt(C(t).css("borderLeftWidth"),10)||0)-(parseInt(C(t).css("paddingRight"),10)||0)-this.helperProportions.width-this.margins.left,e.top+(i?Math.max(t.scrollHeight,t.offsetHeight):t.offsetHeight)-(parseInt(C(t).css("borderTopWidth"),10)||0)-(parseInt(C(t).css("paddingBottom"),10)||0)-this.helperProportions.height-this.margins.top])},_convertPositionTo:function(t,e){e=e||this.position;var i="absolute"===t?1:-1,s="absolute"!==this.cssPosition||this.scrollParent[0]!==this.document[0]&&C.contains(this.scrollParent[0],this.offsetParent[0])?this.scrollParent:this.offsetParent,t=/(html|body)/i.test(s[0].tagName);return{top:e.top+this.offset.relative.top*i+this.offset.parent.top*i-("fixed"===this.cssPosition?-this.scrollParent.scrollTop():t?0:s.scrollTop())*i,left:e.left+this.offset.relative.left*i+this.offset.parent.left*i-("fixed"===this.cssPosition?-this.scrollParent.scrollLeft():t?0:s.scrollLeft())*i}},_generatePosition:function(t){var e=this.options,i=t.pageX,s=t.pageY,n="absolute"!==this.cssPosition||this.scrollParent[0]!==this.document[0]&&C.contains(this.scrollParent[0],this.offsetParent[0])?this.scrollParent:this.offsetParent,o=/(html|body)/i.test(n[0].tagName);return"relative"!==this.cssPosition||this.scrollParent[0]!==this.document[0]&&this.scrollParent[0]!==this.offsetParent[0]||(this.offset.relative=this._getRelativeOffset()),this.originalPosition&&(this.containment&&(t.pageX-this.offset.click.left<this.containment[0]&&(i=this.containment[0]+this.offset.click.left),t.pageY-this.offset.click.top<this.containment[1]&&(s=this.containment[1]+this.offset.click.top),t.pageX-this.offset.click.left>this.containment[2]&&(i=this.containment[2]+this.offset.click.left),t.pageY-this.offset.click.top>this.containment[3]&&(s=this.containment[3]+this.offset.click.top)),e.grid&&(t=this.originalPageY+Math.round((s-this.originalPageY)/e.grid[1])*e.grid[1],s=!this.containment||t-this.offset.click.top>=this.containment[1]&&t-this.offset.click.top<=this.containment[3]?t:t-this.offset.click.top>=this.containment[1]?t-e.grid[1]:t+e.grid[1],t=this.originalPageX+Math.round((i-this.originalPageX)/e.grid[
vendor: 4,194 bytes, line 1
10])*e.grid[0],i=!this.containment||t-this.offset.click.left>=this.containment[0]&&t-this.offset.click.left<=this.containment[2]?t:t-this.offset.click.left>=this.containment[0]?t-e.grid[0]:t+e.grid[0])),{top:s-this.offset.click.top-this.offset.relative.top-this.offset.parent.top+("fixed"===this.cssPosition?-this.scrollParent.scrollTop():o?0:n.scrollTop()),left:i-this.offset.click.left-this.offset.relative.left-this.offset.parent.left+("fixed"===this.cssPosition?-this.scrollParent.scrollLeft():o?0:n.scrollLeft())}},_rearrange:function(t,e,i,s){i?i[0].appendChild(this.placeholder[0]):e.item[0].parentNode.insertBefore(this.placeholder[0],"down"===this.direction?e.item[0]:e.item[0].nextSibling),this.counter=this.counter?++this.counter:1;var n=this.counter;this._delay(function(){n===this.counter&&this.refreshPositions(!s)})},_clear:function(t,e){this.reverting=!1;var i,s=[];if(!this._noFinalSort&&this.currentItem.parent().length&&this.placeholder.before(this.currentItem),this._noFinalSort=null,this.helper[0]===this.currentItem[0]){for(i in this._storedCSS)"auto"!==this._storedCSS[i]&&"static"!==this._storedCSS[i]||(this._storedCSS[i]="");this.currentItem.css(this._storedCSS),this._removeClass(this.currentItem,"ui-sortable-helper")}else this.currentItem.show();function n(e,i,s){return function(t){s._trigger(e,t,i._uiHash(i))}}for(this.fromOutside&&!e&&s.push(function(t){this._trigger("receive",t,this._uiHash(this.fromOutside))}),!this.fromOutside&&this.domPosition.prev===this.currentItem.prev().not(".ui-sortable-helper")[0]&&this.domPosition.parent===this.currentItem.parent()[0]||e||s.push(function(t){this._trigger("update",t,this._uiHash())}),this!==this.currentContainer&&(e||(s.push(function(t){this._trigger("remove",t,this._uiHash())}),s.push(function(e){return function(t){e._trigger("receive",t,this._uiHash(this))}}.call(this,this.currentContainer)),s.push(function(e){return function(t){e._trigger("update",t,this._uiHash(this))}}.call(this,this.currentContainer)))),i=this.containers.length-1;0<=i;i--)e||s.push(n("deactivate",this,this.containers[i])),this.containers[i].containerCache.over&&(s.push(n("out",this,this.containers[i])),this.containers[i].containerCache.over=0);if(this.storedCursor&&(this.document.find("body").css("cursor",this.storedCursor),this.storedStylesheet.remove()),this._storedOpacity&&this.helper.css("opacity",this._storedOpacity),this._storedZIndex&&this.helper.css("zIndex","auto"===this._storedZIndex?"":this._storedZIndex),this.dragging=!1,e||this._trigger("beforeStop",t,this._uiHash()),this.placeholder[0].parentNode.removeChild(this.placeholder[0]),this.cancelHelperRemoval||(this.helper[0]!==this.currentItem[0]&&this.helper.remove(),this.helper=null),!e){for(i=0;i<s.length;i++)s[i].call(this,t);this._trigger("stop",t,this._uiHash())}return this.fromOutside=!1,!this.cancelHelperRemoval},_trigger:function(){!1===C.Widget.prototype._trigger.apply(this,arguments)&&this.cancel()},_uiHash:function(t){var e=t||this;return{helper:e.helper,placeholder:e.placeholder||C([]),position:e.position,originalPosition:e.originalPosition,offset:e.positionAbs,item:e.currentItem,sender:t?t.element:null}}});function rt(e){return function(){var t=this.element.val();e.apply(this,arguments),this._refresh(),t!==this.element.val()&&this._trigger("change")}}C.widget("ui.spinner",{version:"1.12.1",defaultElement:"<input>",widgetEventPrefix:"spin",options:{classes:{"ui-spinner":"ui-corner-all","ui-spinner-down":"ui-corner-br","ui-spinner-up":"ui-corner-tr"},culture:null,icons:{down:"ui-icon-triangle-1-s",up:"ui-icon-triangle-1-n"},incremental:!0,max:null,min:null,numberFormat:null,page:10,step:1,change:null,spin:null,start:null,stop:null},_create:function(){this._setOption("max",this.options.max),this._setOption("min",this.options.min),this._setOption("step",this.options.step),""!==this.value()&&this._value(this.element.val(),!0),this._draw(),this._on(this._events),this._refresh(),this._on(this.window,{beforeunload:function(){this.element.removeAttr("autocomplete")}})},_getCreateOptions:function(){var s=this._super(),n=this.element;return C.each(["min","max","step"],function(t,e){var i=n.attr(e);null!=i&&i.length&&(s[e]=i)}),s}
vendor: 5,900 bytes, line 1
1,_events:{keydown:function(t){this._start(t)&&this._keydown(t)&&t.preventDefault()},keyup:"_stop",focus:function(){this.previous=this.element.val()},blur:function(t){this.cancelBlur?delete this.cancelBlur:(this._stop(),this._refresh(),this.previous!==this.element.val()&&this._trigger("change",t))},mousewheel:function(t,e){if(e){if(!this.spinning&&!this._start(t))return!1;this._spin((0<e?1:-1)*this.options.step,t),clearTimeout(this.mousewheelTimer),this.mousewheelTimer=this._delay(function(){this.spinning&&this._stop(t)},100),t.preventDefault()}},"mousedown .ui-spinner-button":function(t){var e;function i(){this.element[0]===C.ui.safeActiveElement(this.document[0])||(this.element.trigger("focus"),this.previous=e,this._delay(function(){this.previous=e}))}e=this.element[0]===C.ui.safeActiveElement(this.document[0])?this.previous:this.element.val(),t.preventDefault(),i.call(this),this.cancelBlur=!0,this._delay(function(){delete this.cancelBlur,i.call(this)}),!1!==this._start(t)&&this._repeat(null,C(t.currentTarget).hasClass("ui-spinner-up")?1:-1,t)},"mouseup .ui-spinner-button":"_stop","mouseenter .ui-spinner-button":function(t){if(C(t.currentTarget).hasClass("ui-state-active"))return!1!==this._start(t)&&void this._repeat(null,C(t.currentTarget).hasClass("ui-spinner-up")?1:-1,t)},"mouseleave .ui-spinner-button":"_stop"},_enhance:function(){this.uiSpinner=this.element.attr("autocomplete","off").wrap("<span>").parent().append("<a></a><a></a>")},_draw:function(){this._enhance(),this._addClass(this.uiSpinner,"ui-spinner","ui-widget ui-widget-content"),this._addClass("ui-spinner-input"),this.element.attr("role","spinbutton"),this.buttons=this.uiSpinner.children("a").attr("tabIndex",-1).attr("aria-hidden",!0).button({classes:{"ui-button":""}}),this._removeClass(this.buttons,"ui-corner-all"),this._addClass(this.buttons.first(),"ui-spinner-button ui-spinner-up"),this._addClass(this.buttons.last(),"ui-spinner-button ui-spinner-down"),this.buttons.first().button({icon:this.options.icons.up,showLabel:!1}),this.buttons.last().button({icon:this.options.icons.down,showLabel:!1}),this.buttons.height()>Math.ceil(.5*this.uiSpinner.height())&&0<this.uiSpinner.height()&&this.uiSpinner.height(this.uiSpinner.height())},_keydown:function(t){var e=this.options,i=C.ui.keyCode;switch(t.keyCode){case i.UP:return this._repeat(null,1,t),!0;case i.DOWN:return this._repeat(null,-1,t),!0;case i.PAGE_UP:return this._repeat(null,e.page,t),!0;case i.PAGE_DOWN:return this._repeat(null,-e.page,t),!0}return!1},_start:function(t){return!(!this.spinning&&!1===this._trigger("start",t))&&(this.counter||(this.counter=1),this.spinning=!0)},_repeat:function(t,e,i){t=t||500,clearTimeout(this.timer),this.timer=this._delay(function(){this._repeat(40,e,i)},t),this._spin(e*this.options.step,i)},_spin:function(t,e){var i=this.value()||0;this.counter||(this.counter=1),i=this._adjustValue(i+t*this._increment(this.counter)),this.spinning&&!1===this._trigger("spin",e,{value:i})||(this._value(i),this.counter++)},_increment:function(t){var e=this.options.incremental;return e?C.isFunction(e)?e(t):Math.floor(t*t*t/5e4-t*t/500+17*t/200+1):1},_precision:function(){var t=this._precisionOf(this.options.step);return t=null!==this.options.min?Math.max(t,this._precisionOf(this.options.min)):t},_precisionOf:function(t){var e=t.toString(),t=e.indexOf(".");return-1===t?0:e.length-t-1},_adjustValue:function(t){var e=this.options,i=null!==e.min?e.min:0,s=t-i;return t=i+Math.round(s/e.step)*e.step,t=parseFloat(t.toFixed(this._precision())),null!==e.max&&t>e.max?e.max:null!==e.min&&t<e.min?e.min:t},_stop:function(t){this.spinning&&(clearTimeout(this.timer),clearTimeout(this.mousewheelTimer),this.counter=0,this.spinning=!1,this._trigger("stop",t))},_setOption:function(t,e){var i;if("culture"===t||"numberFormat"===t)return i=this._parse(this.element.val()),this.options[t]=e,void this.element.val(this._format(i));"max"!==t&&"min"!==t&&"step"!==t||"string"==typeof e&&(e=this._parse(e)),"icons"===t&&(i=this.buttons.first().find(".ui-icon"),this._removeClass(i,null,this.options.icons.up),this._addClass(i,null,e.up),i=this.buttons.last().find(".ui-icon"),this._removeClass(i,null,this.options.icons.down),this._addClass(i,null,e.down)),this._super(t,e)},_setOptionDisabled:function(t){this._super(t),this._toggleClass(this.uiSpinner,null,"ui-state-disabled",!!t),this.element.prop("disabled",!!t),this.buttons.button(t?"disable":"enable")},_setOptions:rt(function(t){this._super(t)}),_parse:function(t){return""===(t="string"==typeof t&&""!==t?window.Globalize&&this.options.numberFormat?Globalize.parseFloat(t,10,this.options.culture):+t:t)||isNaN(t)?null:t},_format:function(t){return""===t?"":window.Globalize&&this.options.numberFormat?Globalize.format(t,this.options.numberFormat,this.options.culture):t},_refresh:function(){this.element.attr({"aria-valuemin":this.options.min,"aria-valuemax":this.options.max,"aria-valuenow":this._parse(this.element.val())})},isValid:function(){var t=this.value();return null!==t&&t===this._adjustValue(t)},_value:function(t,e){var i;""!==t&&null!==(i=this._parse(t))&&(e||(i=this._adjustValue(i)),t=this._format(i)),this.element.val(t),this._refresh()},_destroy:function(){this.element.prop("disabled",!1).removeAttr("autocomplete role aria-valuemin aria-valuemax aria-valuenow"),this.uiSpinner.replaceWith(this.element)},stepUp:rt(function(t){this._stepUp(t)}),_stepUp:function(t){this._start()&&(this._spin((t||1)*this.options.step),this._stop())},stepDown:rt(function(t){this._stepDown(t)}),_stepDown:function(t){this._start()&&(this._spin((t||1)*-this.options.step),this._stop())},pageUp:rt(function(t){this._stepUp((t||1)*this.options.page)}),pageDown:rt(function(t){this._stepDown((t||1)*this.options.page)}),value:function(t){if(!arguments.length)return this._parse(this.element.val());rt(this._value).call(this,t)},widget:function(){return this.uiSpinner}}
vendor: 11,352 bytes, line 1
1),!1!==C.uiBackCompat&&C.widget("ui.spinner",C.ui.spinner,{_enhance:function(){this.uiSpinner=this.element.attr("autocomplete","off").wrap(this._uiSpinnerHtml()).parent().append(this._buttonHtml())},_uiSpinnerHtml:function(){return"<span>"},_buttonHtml:function(){return"<a></a><a></a>"}});var at;C.ui.spinner;C.widget("ui.tabs",{version:"1.12.1",delay:300,options:{active:null,classes:{"ui-tabs":"ui-corner-all","ui-tabs-nav":"ui-corner-all","ui-tabs-panel":"ui-corner-bottom","ui-tabs-tab":"ui-corner-top"},collapsible:!1,event:"click",heightStyle:"content",hide:null,show:null,activate:null,beforeActivate:null,beforeLoad:null,load:null},_isLocal:(at=/#.*$/,function(t){var e=t.href.replace(at,""),i=location.href.replace(at,"");try{e=decodeURIComponent(e)}catch(t){}try{i=decodeURIComponent(i)}catch(t){}return 1<t.hash.length&&e===i}),_create:function(){var e=this,t=this.options;this.running=!1,this._addClass("ui-tabs","ui-widget ui-widget-content"),this._toggleClass("ui-tabs-collapsible",null,t.collapsible),this._processTabs(),t.active=this._initialActive(),C.isArray(t.disabled)&&(t.disabled=C.unique(t.disabled.concat(C.map(this.tabs.filter(".ui-state-disabled"),function(t){return e.tabs.index(t)}))).sort()),!1!==this.options.active&&this.anchors.length?this.active=this._findActive(t.active):this.active=C(),this._refresh(),this.active.length&&this.load(t.active)},_initialActive:function(){var i=this.options.active,t=this.options.collapsible,s=location.hash.substring(1);return null===i&&(s&&this.tabs.each(function(t,e){if(C(e).attr("aria-controls")===s)return i=t,!1}),null!==(i=null===i?this.tabs.index(this.tabs.filter(".ui-tabs-active")):i)&&-1!==i||(i=!!this.tabs.length&&0)),!1!==i&&-1===(i=this.tabs.index(this.tabs.eq(i)))&&(i=!t&&0),i=!t&&!1===i&&this.anchors.length?0:i},_getCreateEventData:function(){return{tab:this.active,panel:this.active.length?this._getPanelForTab(this.active):C()}},_tabKeydown:function(t){var e=C(C.ui.safeActiveElement(this.document[0])).closest("li"),i=this.tabs.index(e),s=!0;if(!this._handlePageNav(t)){switch(t.keyCode){case C.ui.keyCode.RIGHT:case C.ui.keyCode.DOWN:i++;break;case C.ui.keyCode.UP:case C.ui.keyCode.LEFT:s=!1,i--;break;case C.ui.keyCode.END:i=this.anchors.length-1;break;case C.ui.keyCode.HOME:i=0;break;case C.ui.keyCode.SPACE:return t.preventDefault(),clearTimeout(this.activating),void this._activate(i);case C.ui.keyCode.ENTER:return t.preventDefault(),clearTimeout(this.activating),void this._activate(i!==this.options.active&&i);default:return}t.preventDefault(),clearTimeout(this.activating),i=this._focusNextTab(i,s),t.ctrlKey||t.metaKey||(e.attr("aria-selected","false"),this.tabs.eq(i).attr("aria-selected","true"),this.activating=this._delay(function(){this.option("active",i)},this.delay))}},_panelKeydown:function(t){this._handlePageNav(t)||t.ctrlKey&&t.keyCode===C.ui.keyCode.UP&&(t.preventDefault(),this.active.trigger("focus"))},_handlePageNav:function(t){return t.altKey&&t.keyCode===C.ui.keyCode.PAGE_UP?(this._activate(this._focusNextTab(this.options.active-1,!1)),!0):t.altKey&&t.keyCode===C.ui.keyCode.PAGE_DOWN?(this._activate(this._focusNextTab(this.options.active+1,!0)),!0):void 0},_findNextTab:function(t,e){var i=this.tabs.length-1;for(;-1!==C.inArray(t=(t=i<t?0:t)<0?i:t,this.options.disabled);)t=e?t+1:t-1;return t},_focusNextTab:function(t,e){return t=this._findNextTab(t,e),this.tabs.eq(t).trigger("focus"),t},_setOption:function(t,e){"active"!==t?(this._super(t,e),"collapsible"===t&&(this._toggleClass("ui-tabs-collapsible",null,e),e||!1!==this.options.active||this._activate(0)),"event"===t&&this._setupEvents(e),"heightStyle"===t&&this._setupHeightStyle(e)):this._activate(e)},_sanitizeSelector:function(t){return t?t.replace(/[!"$%&'()*+,.\/:;<=>?@\[\]\^`{|}~]/g,"\\$&"):""},refresh:function(){var t=this.options,e=this.tablist.children(":has(a[href])");t.disabled=C.map(e.filter(".ui-state-disabled"),function(t){return e.index(t)}),this._processTabs(),!1!==t.active&&this.anchors.length?this.active.length&&!C.contains(this.tablist[0],this.active[0])?this.tabs.length===t.disabled.length?(t.active=!1,this.active=C()):this._activate(this._findNextTab(Math.max(0,t.active-1),!1)):t.active=this.tabs.index(this.active):(t.active=!1,this.active=C()),this._refresh()},_refresh:function(){this._setOptionDisabled(this.options.disabled),this._setupEvents(this.options.event),this._setupHeightStyle(this.options.heightStyle),this.tabs.not(this.active).attr({"aria-selected":"false","aria-expanded":"false",tabIndex:-1}),this.panels.not(this._getPanelForTab(this.active)).hide().attr({"aria-hidden":"true"}),this.active.length?(this.active.attr({"aria-selected":"true","aria-expanded":"true",tabIndex:0}),this._addClass(this.active,"ui-tabs-active","ui-state-active"),this._getPanelForTab(this.active).show().attr({"aria-hidden":"false"})):this.tabs.eq(0).attr("tabIndex",0)},_processTabs:function(){var l=this,t=this.tabs,e=this.anchors,i=this.panels;this.tablist=this._getList().attr("role","tablist"),this._addClass(this.tablist,"ui-tabs-nav","ui-helper-reset ui-helper-clearfix ui-widget-header"),this.tablist.on("mousedown"+this.eventNamespace,"> li",function(t){C(this).is(".ui-state-disabled")&&t.preventDefault()}).on("focus"+this.eventNamespace,".ui-tabs-anchor",function(){C(this).closest("li").is(".ui-state-disabled")&&this.blur()}),this.tabs=this.tablist.find("> li:has(a[href])").attr({role:"tab",tabIndex:-1}),this._addClass(this.tabs,"ui-tabs-tab","ui-state-default"),this.anchors=this.tabs.map(function(){return C("a",this)[0]}).attr({role:"presentation",tabIndex:-1}),this._addClass(this.anchors,"ui-tabs-anchor"),this.panels=C(),this.anchors.each(function(t,e){var i,s,n,o=C(e).uniqueId().attr("id"),r=C(e).closest("li"),a=r.attr("aria-controls");l._isLocal(e)?(n=(i=e.hash).substring(1),s=l.element.find(l._sanitizeSelector(i))):(n=r.attr("aria-controls")||C({}).uniqueId()[0].id,(s=l.element.find(i="#"+n)).length||(s=l._createPanel(n)).insertAfter(l.panels[t-1]||l.tablist),s.attr("aria-live","polite")),s.length&&(l.panels=l.panels.add(s)),a&&r.data("ui-tabs-aria-controls",a),r.attr({"aria-controls":n,"aria-labelledby":o}),s.attr("aria-labelledby",o)}),this.panels.attr("role","tabpanel"),this._addClass(this.panels,"ui-tabs-panel","ui-widget-content"),t&&(this._off(t.not(this.tabs)),this._off(e.not(this.anchors)),this._off(i.not(this.panels)))},_getList:function(){return this.tablist||this.element.find("ol, ul").eq(0)},_createPanel:function(t){return C("<div>").attr("id",t).data("ui-tabs-destroy",!0)},_setOptionDisabled:function(t){var e,i;for(C.isArray(t)&&(t.length?t.length===this.anchors.length&&(t=!0):t=!1),i=0;e=this.tabs[i];i++)e=C(e),!0===t||-1!==C.inArray(i,t)?(e.attr("aria-disabled","true"),this._addClass(e,null,"ui-state-disabled")):(e.removeAttr("aria-disabled"),this._removeClass(e,null,"ui-state-disabled"));this.options.disabled=t,this._toggleClass(this.widget(),this.widgetFullName+"-disabled",null,!0===t)},_setupEvents:function(t){var i={};t&&C.each(t.split(" "),function(t,e){i[e]="_eventHandler"}),this._off(this.anchors.add(this.tabs).add(this.panels)),this._on(!0,this.anchors,{click:function(t){t.preventDefault()}}),this._on(this.anchors,i),this._on(this.tabs,{keydown:"_tabKeydown"}),this._on(this.panels,{keydown:"_panelKeydown"}),this._focusable(this.tabs),this._hoverable(this.tabs)},_setupHeightStyle:function(t){var i,e=this.element.parent();"fill"===t?(i=e.height(),i-=this.element.outerHeight()-this.element.height(),this.element.siblings(":visible").each(function(){var t=C(this),e=t.css("position");"absolute"!==e&&"fixed"!==e&&(i-=t.outerHeight(!0))}),this.element.children().not(this.panels).each(function(){i-=C(this).outerHeight(!0)}),this.panels.each(function(){C(this).height(Math.max(0,i-C(this).innerHeight()+C(this).height()))}).css("overflow","auto")):"auto"===t&&(i=0,this.panels.each(function(){i=Math.max(i,C(this).height("").height())}).height(i))},_eventHandler:function(t){var e=this.options,i=this.active,s=C(t.currentTarget).closest("li"),n=s[0]===i[0],o=n&&e.collapsible,r=o?C():this._getPanelForTab(s),a=i.length?this._getPanelForTab(i):C(),i={oldTab:i,oldPanel:a,newTab:o?C():s,newPanel:r};t.preventDefault(),s.hasClass("ui-state-disabled")||s.hasClass("ui-tabs-loading")||this.running||n&&!e.collapsible||!1===this._trigger("beforeActivate",t,i)||(e.active=!o&&this.tabs.index(s),this.active=n?C():s,this.xhr&&this.xhr.abort(),a.length||r.length||C.error("jQuery UI Tabs: Mismatching fragment identifier."),r.length&&this.load(this.tabs.index(s),t),this._toggle(t,i))},_toggle:function(t,e){var i=this,s=e.newPanel,n=e.oldPanel;function o(){i.running=!1,i._trigger("activate",t,e)}function r(){i._addClass(e.newTab.closest("li"),"ui-tabs-active","ui-state-active"),s.length&&i.options.show?i._show(s,i.options.show,o):(s.show(),o())}this.running=!0,n.length&&this.options.hide?this._hide(n,this.options.hide,function(){i._removeClass(e.oldTab.closest("li"),"ui-tabs-active","ui-state-active"),r()}):(this._removeClass(e.oldTab.closest("li"),"ui-tabs-active","ui-state-active"),n.hide(),r()),n.attr("aria-hidden","true"),e.oldTab.attr({"aria-selected":"false","aria-expanded":"false"}),s.length&&n.length?e.oldTab.attr("tabIndex",-1):s.length&&this.tabs.filter(function(){return 0===C(this).attr("tabIndex")}).attr("tabIndex",-1),s.attr("aria-hidden","false"),e.newTab.attr({"aria-selected":"true","aria-expanded":"true",tabIndex:0})},_activate:function(t){var t=this._findActive(t);t[0]!==this.active[0]&&(t=(t=!t.length?this.active:t).find(".ui-tabs-anchor")[0],this._eventHandler({target:t,currentTarget:t,preventDefault:C.noop}))},_findActive:function(t){return!1===t?C():this.tabs.eq(t)},_getIndex:function(t){return t="string"==typeof t?this.anchors.index(this.anchors.filter("[href$='"+C.ui.escapeSelector(t)+"']")):t},_destroy:function(){this.xhr&&this.xhr.abort(),this.tablist.removeAttr("role").off(this.eventNamespace),this.anchors.removeAttr("role tabIndex").removeUniqueId(),this.tabs.add(this.panels).each(function(){C.data(this,"ui-tabs-destroy")?C(this).remove():C(this).removeAttr("role tabIndex aria-live aria-busy aria-selected aria-labelledby aria-hidden aria-expanded")}),this.tabs.each(function(){var t=C(this),e=t.data("ui-tabs-aria-controls");e?t.attr("aria-controls",e).removeData("ui-tabs-aria-controls"):t.removeAttr("aria-controls")}),this.panels.show(),"content"!==this.options.heightStyle&&this.panels.css("height","")},enable:function(i){var t=this.options.disabled;!1!==t&&(t=void 0!==i&&(i=this._getIndex(i),C.isArray(t)?C.map(t,function(t){return t!==i?t:null}):C.map(this.tabs,function(t,e){return e!==i?e:null})),this._setOptionDisabled(t))},disable:function(t){var e=this.options.disabled;if(!0!==e){if(void 0===t)e=!0;else{if(t=this._getIndex(t),-1!==C.inArray(t,e))return;e=C.isArray(e)?C.merge([t],e).sort():[t]}this._setOptionDisabled(e)}},load:function(t,s){t=this._getIndex(t);function n(t,e){"abort"===e&&o.panels.stop(!1,!0),o._removeClass(i,"ui-tabs-loading"),r.removeAttr("aria-busy"),t===o.xhr&&delete o.xhr}var o=this,i=this.tabs.eq(t),t=i.find(".ui-tabs-anchor"),r=this._getPanelForTab(i),a={tab:i,panel:r};this._isLocal(t[0])||(this.xhr=C.ajax(this._ajaxSettings(t,s,a)),this.xhr&&"canceled"!==this.xhr.statusText&&(this._addClass(i,"ui-tabs-loading"),r.attr("aria-busy","true"),this.xhr.done(function(t,e,
vendor: 7,386 bytes, line 1
1i){setTimeout(function(){r.html(t),o._trigger("load",s,a),n(i,e)},1)}).fail(function(t,e){setTimeout(function(){n(t,e)},1)})))},_ajaxSettings:function(t,i,s){var n=this;return{url:t.attr("href").replace(/#.*$/,""),beforeSend:function(t,e){return n._trigger("beforeLoad",i,C.extend({jqXHR:t,ajaxSettings:e},s))}}},_getPanelForTab:function(t){t=C(t).attr("aria-controls");return this.element.find(this._sanitizeSelector("#"+t))}}),!1!==C.uiBackCompat&&C.widget("ui.tabs",C.ui.tabs,{_processTabs:function(){this._superApply(arguments),this._addClass(this.tabs,"ui-tab")}});C.ui.tabs;C.widget("ui.tooltip",{version:"1.12.1",options:{classes:{"ui-tooltip":"ui-corner-all ui-widget-shadow"},content:function(){var t=C(this).attr("title")||"";return C("<a>").text(t).html()},hide:!0,items:"[title]:not([disabled])",position:{my:"left top+15",at:"left bottom",collision:"flipfit flip"},show:!0,track:!1,close:null,open:null},_addDescribedBy:function(t,e){var i=(t.attr("aria-describedby")||"").split(/\s+/);i.push(e),t.data("ui-tooltip-id",e).attr("aria-describedby",C.trim(i.join(" ")))},_removeDescribedBy:function(t){var e=t.data("ui-tooltip-id"),i=(t.attr("aria-describedby")||"").split(/\s+/),e=C.inArray(e,i);-1!==e&&i.splice(e,1),t.removeData("ui-tooltip-id"),(i=C.trim(i.join(" ")))?t.attr("aria-describedby",i):t.removeAttr("aria-describedby")},_create:function(){this._on({mouseover:"open",focusin:"open"}),this.tooltips={},this.parents={},this.liveRegion=C("<div>").attr({role:"log","aria-live":"assertive","aria-relevant":"additions"}).appendTo(this.document[0].body),this._addClass(this.liveRegion,null,"ui-helper-hidden-accessible"),this.disabledTitles=C([])},_setOption:function(t,e){var i=this;this._super(t,e),"content"===t&&C.each(this.tooltips,function(t,e){i._updateContent(e.element)})},_setOptionDisabled:function(t){this[t?"_disable":"_enable"]()},_disable:function(){var s=this;C.each(this.tooltips,function(t,e){var i=C.Event("blur");i.target=i.currentTarget=e.element[0],s.close(i,!0)}),this.disabledTitles=this.disabledTitles.add(this.element.find(this.options.items).addBack().filter(function(){var t=C(this);if(t.is("[title]"))return t.data("ui-tooltip-title",t.attr("title")).removeAttr("title")}))},_enable:function(){this.disabledTitles.each(function(){var t=C(this);t.data("ui-tooltip-title")&&t.attr("title",t.data("ui-tooltip-title"))}),this.disabledTitles=C([])},open:function(t){var i=this,e=C(t?t.target:this.element).closest(this.options.items);e.length&&!e.data("ui-tooltip-id")&&(e.attr("title")&&e.data("ui-tooltip-title",e.attr("title")),e.data("ui-tooltip-open",!0),t&&"mouseover"===t.type&&e.parents().each(function(){var t,e=C(this);e.data("ui-tooltip-open")&&((t=C.Event("blur")).target=t.currentTarget=this,i.close(t,!0)),e.attr("title")&&(e.uniqueId(),i.parents[this.id]={element:this,title:e.attr("title")},e.attr("title",""))}),this._registerCloseHandlers(t,e),this._updateContent(e,t))},_updateContent:function(e,i){var t=this.options.content,s=this,n=i?i.type:null;if("string"==typeof t||t.nodeType||t.jquery)return this._open(i,e,t);(t=t.call(e[0],function(t){s._delay(function(){e.data("ui-tooltip-open")&&(i&&(i.type=n),this._open(i,e,t))})}))&&this._open(i,e,t)},_open:function(t,e,i){var s,n,o,r=C.extend({},this.options.position);function a(t){r.of=t,n.is(":hidden")||n.position(r)}i&&((s=this._find(e))?s.tooltip.find(".ui-tooltip-content").html(i):(e.is("[title]")&&(t&&"mouseover"===t.type?e.attr("title",""):e.removeAttr("title")),s=this._tooltip(e),n=s.tooltip,this._addDescribedBy(e,n.attr("id")),n.find(".ui-tooltip-content").html(i),this.liveRegion.children().hide(),(i=C("<div>").html(n.find(".ui-tooltip-content").html())).removeAttr("name").find("[name]").removeAttr("name"),i.removeAttr("id").find("[id]").removeAttr("id"),i.appendTo(this.liveRegion),this.options.track&&t&&/^mouse/.test(t.type)?(this._on(this.document,{mousemove:a}),a(t)):n.position(C.extend({of:e},this.options.position)),n.hide(),this._show(n,this.options.show),this.options.track&&this.options.show&&this.options.show.delay&&(o=this.delayedShow=setInterval(function(){n.is(":visible")&&(a(r.of),clearInterval(o))},C.fx.interval)),this._trigger("open",t,{tooltip:n})))},_registerCloseHandlers:function(t,e){var i={keyup:function(t){t.keyCode===C.ui.keyCode.ESCAPE&&((t=C.Event(t)).currentTarget=e[0],this.close(t,!0))}};e[0]!==this.element[0]&&(i.remove=function(){this._removeTooltip(this._find(e).tooltip)}),t&&"mouseover"!==t.type||(i.mouseleave="close"),t&&"focusin"!==t.type||(i.focusout="close"),this._on(!0,e,i)},close:function(t){var e,i=this,s=C(t?t.currentTarget:this.element),n=this._find(s);n?(e=n.tooltip,n.closing||(clearInterval(this.delayedShow),s.data("ui-tooltip-title")&&!s.attr("title")&&s.attr("title",s.data("ui-tooltip-title")),this._removeDescribedBy(s),n.hiding=!0,e.stop(!0),this._hide(e,this.options.hide,function(){i._removeTooltip(C(this))}),s.removeData("ui-tooltip-open"),this._off(s,"mouseleave focusout keyup"),s[0]!==this.element[0]&&this._off(s,"remove"),this._off(this.document,"mousemove"),t&&"mouseleave"===t.type&&C.each(this.parents,function(t,e){C(e.element).attr("title",e.title),delete i.parents[t]}),n.closing=!0,this._trigger("close",t,{tooltip:e}),n.hiding||(n.closing=!1))):s.removeData("ui-tooltip-open")},_tooltip:function(t){var e=C("<div>").attr("role","tooltip"),i=C("<div>").appendTo(e),s=e.uniqueId().attr("id");return this._addClass(i,"ui-tooltip-content"),this._addClass(e,"ui-tooltip","ui-widget ui-widget-content"),e.appendTo(this._appendTo(t)),this.tooltips[s]={element:t,tooltip:e}},_find:function(t){t=t.data("ui-tooltip-id");return t?this.tooltips[t]:null},_removeTooltip:function(t){t.remove(),delete this.tooltips[t.attr("id")]},_appendTo:function(t){t=t.closest(".ui-front, dialog");return t=!t.length?this.document[0].body:t},_destroy:function(){var s=this;C.each(this.tooltips,function(t,e){var i=C.Event("blur"),e=e.element;i.target=i.currentTarget=e[0],s.close(i,!0),C("#"+t).remove(),e.data("ui-tooltip-title")&&(e.attr("title")||e.attr("title",e.data("ui-tooltip-title")),e.removeData("ui-tooltip-title"))}),this.liveRegion.remove()}}),!1!==C.uiBackCompat&&C.widget("ui.tooltip",C.ui.tooltip,{options:{tooltipClass:null},_tooltip:function(){var t=this._superApply(arguments);return this.options.tooltipClass&&t.tooltip.addClass(this.options.tooltipClass),t}});C.ui.tooltip}),function(t){"function"==typeof define&&define.amd?define(["jquery"],t):"object"==typeof exports?t(require("jquery")):t(window.jQuery||window.Zepto)}(function(h){function t(){}function c(t,e){f.ev.on("mfp"+t+b,e)}function u(t,e,i,s){var n=document.createElement("div");return n.className="mfp-"+t,i&&(n.innerHTML=i),s?e&&e.appendChild(n):(n=h(n),e&&n.appendTo(e)),n}function d(t,e){f.ev.triggerHandler("mfp"+t,e),f.st.callbacks&&(t=t.charAt(0).toLowerCase()+t.slice(1),f.st.callbacks[t]&&f.st.callbacks[t].apply(f,h.isArray(e)?e:[e]))}function p(t){return t===e&&f.currTemplate.closeBtn||(f.currTemplate.closeBtn=h(f.st.closeMarkup.replace("%title%",f.st.tClose)),e=t),f.currTemplate.closeBtn}function o(){h.magnificPopup.instance||((f=new t).init(),h.magnificPopup.instance=f)}var f,s,g,n,m,e,l="Close",v="BeforeClose",y="MarkupParse",_="Open",b=".mfp",w="mfp-ready",i="mfp-removing",r="mfp-prevent-close",a=!!window.jQuery,C=h(window);t.prototype={constructor:t,init:function(){var t=navigator.appVersion;
vendor: 16,669 bytes, line 1
1f.isLowIE=f.isIE8=document.all&&!document.addEventListener,f.isAndroid=/android/gi.test(t),f.isIOS=/iphone|ipad|ipod/gi.test(t),f.supportsTransition=function(){var t=document.createElement("p").style,e=["ms","O","Moz","Webkit"];if(void 0!==t.transition)return!0;for(;e.length;)if(e.pop()+"Transition"in t)return!0;return!1}(),f.probablyMobile=f.isAndroid||f.isIOS||/(Opera Mini)|Kindle|webOS|BlackBerry|(Opera Mobi)|(Windows Phone)|IEMobile/i.test(navigator.userAgent),g=h(document),f.popupsCache={}},open:function(t){if(!1===t.isObj){f.items=t.items.toArray(),f.index=0;for(var e,i=t.items,s=0;s<i.length;s++)if((e=(e=i[s]).parsed?e.el[0]:e)===t.el[0]){f.index=s;break}}else f.items=h.isArray(t.items)?t.items:[t.items],f.index=t.index||0;if(!f.isOpen){f.types=[],m="",t.mainEl&&t.mainEl.length?f.ev=t.mainEl.eq(0):f.ev=g,t.key?(f.popupsCache[t.key]||(f.popupsCache[t.key]={}),f.currTemplate=f.popupsCache[t.key]):f.currTemplate={},f.st=h.extend(!0,{},h.magnificPopup.defaults,t),f.fixedContentPos="auto"===f.st.fixedContentPos?!f.probablyMobile:f.st.fixedContentPos,f.st.modal&&(f.st.closeOnContentClick=!1,f.st.closeOnBgClick=!1,f.st.showCloseBtn=!1,f.st.enableEscapeKey=!1),f.bgOverlay||(f.bgOverlay=u("bg").on("click"+b,function(){f.close()}),f.wrap=u("wrap").attr("tabindex",-1).on("click"+b,function(t){f._checkIfClose(t.target)&&f.close()}),f.container=u("container",f.wrap)),f.contentContainer=u("content"),f.st.preloader&&(f.preloader=u("preloader",f.container,f.st.tLoading));var n=h.magnificPopup.modules;for(s=0;s<n.length;s++){var o=(o=n[s]).charAt(0).toUpperCase()+o.slice(1);f["init"+o].call(f)}d("BeforeOpen"),f.st.showCloseBtn&&(f.st.closeBtnInside?(c(y,function(t,e,i,s){i.close_replaceWith=p(s.type)}),m+=" mfp-close-btn-in"):f.wrap.append(p())),f.st.alignTop&&(m+=" mfp-align-top"),f.fixedContentPos?f.wrap.css({overflow:f.st.overflowY,overflowX:"hidden",overflowY:f.st.overflowY}):f.wrap.css({top:C.scrollTop(),position:"absolute"}),!1!==f.st.fixedBgPos&&("auto"!==f.st.fixedBgPos||f.fixedContentPos)||f.bgOverlay.css({height:g.height(),position:"absolute"}),f.st.enableEscapeKey&&g.on("keyup"+b,function(t){27===t.keyCode&&f.close()}),C.on("resize"+b,function(){f.updateSize()}),f.st.closeOnContentClick||(m+=" mfp-auto-cursor"),m&&f.wrap.addClass(m);var r=f.wH=C.height(),a={};f.fixedContentPos&&(!f._hasScrollBar(r)||(l=f._getScrollbarSize())&&(a.marginRight=l)),f.fixedContentPos&&(f.isIE7?h("body, html").css("overflow","hidden"):a.overflow="hidden");var l=f.st.mainClass;return f.isIE7&&(l+=" mfp-ie7"),l&&f._addClassToMFP(l),f.updateItemHTML(),d("BuildControls"),h("html").css(a),f.bgOverlay.add(f.wrap).prependTo(f.st.prependTo||h(document.body)),f._lastFocusedEl=document.activeElement,setTimeout(function(){f.content?(f._addClassToMFP(w),f._setFocus()):f.bgOverlay.addClass(w),g.on("focusin"+b,f._onFocusIn)},16),f.isOpen=!0,f.updateSize(r),d(_),t}f.updateItemHTML()},close:function(){f.isOpen&&(d(v),f.isOpen=!1,f.st.removalDelay&&!f.isLowIE&&f.supportsTransition?(f._addClassToMFP(i),setTimeout(function(){f._close()},f.st.removalDelay)):f._close())},_close:function(){d(l);var t=i+" "+w+" ";f.bgOverlay.detach(),f.wrap.detach(),f.container.empty(),f.st.mainClass&&(t+=f.st.mainClass+" "),f._removeClassFromMFP(t),f.fixedContentPos&&(t={marginRight:""},f.isIE7?h("body, html").css("overflow",""):t.overflow="",h("html").css(t)),g.off("keyup.mfp focusin"+b),f.ev.off(b),f.wrap.attr("class","mfp-wrap").removeAttr("style"),f.bgOverlay.attr("class","mfp-bg"),f.container.attr("class","mfp-container"),!f.st.showCloseBtn||f.st.closeBtnInside&&!0!==f.currTemplate[f.currItem.type]||f.currTemplate.closeBtn&&f.currTemplate.closeBtn.detach(),f.st.autoFocusLast&&f._lastFocusedEl&&h(f._lastFocusedEl).focus(),f.currItem=null,f.content=null,f.currTemplate=null,f.prevHeight=0,d("AfterClose")},updateSize:function(t){var e;f.isIOS?(e=document.documentElement.clientWidth/window.innerWidth,e=window.innerHeight*e,f.wrap.css("height",e),f.wH=e):f.wH=t||C.height(),f.fixedContentPos||f.wrap.css("height",f.wH),d("Resize")},updateItemHTML:function(){var t=f.items[f.index];f.contentContainer.detach(),f.content&&f.content.detach();var e=(t=!t.parsed?f.parseEl(f.index):t).type;d("BeforeChange",[f.currItem?f.currItem.type:"",e]),f.currItem=t,f.currTemplate[e]||(i=!!f.st[e]&&f.st[e].markup,d("FirstMarkupParse",i),f.currTemplate[e]=!i||h(i)),n&&n!==t.type&&f.container.removeClass("mfp-"+n+"-holder");var i=f["get"+e.charAt(0).toUpperCase()+e.slice(1)](t,f.currTemplate[e]);f.appendContent(i,e),t.preloaded=!0,d("Change",t),n=t.type,f.container.prepend(f.contentContainer),d("AfterChange")},appendContent:function(t,e){(f.content=t)?f.st.showCloseBtn&&f.st.closeBtnInside&&!0===f.currTemplate[e]?f.content.find(".mfp-close").length||f.content.append(p()):f.content=t:f.content="",d("BeforeAppend"),f.container.addClass("mfp-"+e+"-holder"),f.contentContainer.append(f.content)},parseEl:function(t){var e,i=f.items[t];if((i=i.tagName?{el:h(i)}:(e=i.type,{data:i,src:i.src})).el){for(var s=f.types,n=0;n<s.length;n++)if(i.el.hasClass("mfp-"+s[n])){e=s[n];break}i.src=i.el.attr("data-mfp-src"),i.src||(i.src=i.el.attr("href"))}return i.type=e||f.st.type||"inline",i.index=t,i.parsed=!0,f.items[t]=i,d("ElementParse",i),f.items[t]},addGroup:function(e,i){function t(t){t.mfpEl=this,f._openClick(t,e,i)}var s="click.magnificPopup";(i=i||{}).mainEl=e,i.items?(i.isObj=!0,e.off(s).on(s,t)):(i.isObj=!1,i.delegate?e.off(s).on(s,i.delegate,t):(i.items=e).off(s).on(s,t))},_openClick:function(t,e,i){if((void 0!==i.midClick?i:h.magnificPopup.defaults).midClick||!(2===t.which||t.ctrlKey||t.metaKey||t.altKey||t.shiftKey)){var s=(void 0!==i.disableOn?i:h.magnificPopup.defaults).disableOn;if(s)if(h.isFunction(s)){if(!s.call(f))return!0}else if(C.width()<s)return!0;t.type&&(t.preventDefault(),f.isOpen&&t.stopPropagation()),i.el=h(t.mfpEl),i.delegate&&(i.items=e.find(i.delegate)),f.open(i)}},updateStatus:function(t,e){var i;f.preloader&&(s!==t&&f.container.removeClass("mfp-s-"+s),i={status:t,text:e=!e&&"loading"===t?f.st.tLoading:e},d("UpdateStatus",i),t=i.status,f.preloader.html(e=i.text),f.preloader.find("a").on("click",function(t){t.stopImmediatePropagation()}),f.container.addClass("mfp-s-"+t),s=t)},_checkIfClose:function(t){if(!h(t).hasClass(r)){var e=f.st.closeOnContentClick,i=f.st.closeOnBgClick;if(e&&i)return!0;if(!f.content||h(t).hasClass("mfp-close")||f.preloader&&t===f.preloader[0])return!0;if(t===f.content[0]||h.contains(f.content[0],t)){if(e)return!0}else if(i&&h.contains(document,t))return!0;return!1}},_addClassToMFP:function(t){f.bgOverlay.addClass(t),f.wrap.addClass(t)},_removeClassFromMFP:function(t){this.bgOverlay.removeClass(t),f.wrap.removeClass(t)},_hasScrollBar:function(t){return(f.isIE7?g.height():document.body.scrollHeight)>(t||C.height())},_setFocus:function(){(f.st.focus?f.content.find(f.st.focus).eq(0):f.wrap).focus()},_onFocusIn:function(t){if(t.target!==f.wrap[0]&&!h.contains(f.wrap[0],t.target))return f._setFocus(),!1},_parseMarkup:function(n,t,e){var o;e.data&&(t=h.extend(e.data,t)),d(y,[n,t,e]),h.each(t,function(t,e){return void 0===e||!1===e||void(1<(o=t.split("_")).length?0<(i=n.find(b+"-"+o[0])).length&&("replaceWith"===(s=o[1])?i[0]!==e[0]&&i.replaceWith(e):"img"===s?i.is("img")?i.attr("src",e):i.replaceWith(h("<img>").attr("src",e).attr("class",i.attr("class"))):i.attr(o[1],e)):n.find(b+"-"+t).html(e));var i,s})},_getScrollbarSize:function(){var t;return void 0===f.scrollbarSize&&((t=document.createElement("div")).style.cssText="width: 99px; height: 99px; overflow: scroll; position: absolute; top: -9999px;",document.body.appendChild(t),f.scrollbarSize=t.offsetWidth-t.clientWidth,document.body.removeChild(t)),f.scrollbarSize}},h.magnificPopup={instance:null,proto:t.prototype,modules:[],open:function(t,e){return o(),(t=t?h.extend(!0,{},t):{}).isObj=!0,t.index=e||0,this.instance.open(t)},close:function(){return h.magnificPopup.instance&&h.magnificPopup.instance.close()},registerModule:function(t,e){e.options&&(h.magnificPopup.defaults[t]=e.options),h.extend(this.proto,e.proto),this.modules.push(t)},defaults:{disableOn:0,key:null,midClick:!1,mainClass:"",preloader:!0,focus:"",closeOnContentClick:!1,closeOnBgClick:!0,closeBtnInside:!0,showCloseBtn:!0,enableEscapeKey:!0,modal:!1,alignTop:!1,removalDelay:0,prependTo:null,fixedContentPos:"auto",fixedBgPos:"auto",overflowY:"auto",closeMarkup:'<button title="%title%" type="button" class="mfp-close">&#215;</button>',tClose:"Close (Esc)",tLoading:"Loading...",autoFocusLast:!0}},h.fn.magnificPopup=function(t){o();var e,i,s,n=h(this);return"string"==typeof t?"open"===t?(e=a?n.data("magnificPopup"):n[0].magnificPopup,i=parseInt(arguments[1],10)||0,s=e.items?e.items[i]:(s=n,(s=e.delegate?n.find(e.delegate):s).eq(i)),f._openClick({mfpEl:s},n,e)):f.isOpen&&f[t].apply(f,Array.prototype.slice.call(arguments,1)):(t=h.extend(!0,{},t),a?n.data("magnificPopup",t):n[0].magnificPopup=t,f.addGroup(n,t)),n};function k(){S&&(x.after(S.addClass(T)).detach(),S=null)}var T,x,S,E="inline";h.magnificPopup.registerModule(E,{options:{hiddenClass:"hide",markup:"",tNotFound:"Content not found"},proto:{initInline:function(){f.types.push(E),c(l+"."+E,function(){k()})},getInline:function(t,e){if(k(),t.src){var i,s=f.st.inline,n=h(t.src);return n.length?((i=n[0].parentNode)&&i.tagName&&(x||(T=s.hiddenClass,x=u(T),T="mfp-"+T),S=n.after(x).detach().removeClass(T)),f.updateStatus("ready")):(f.updateStatus("error",s.tNotFound),n=h("<div>")),t.inlineElement=n}return f.updateStatus("ready"),f._parseMarkup(e,{},t),e}}});function I(){M&&h(document.body).removeClass(M)}function D(){I(),f.req&&f.req.abort()}var M,P="ajax";h.magnificPopup.registerModule(P,{options:{settings:null,cursor:"mfp-ajax-cur",tError:'<a href="%url%">The content</a> could not be loaded.'},proto:{initAjax:function(){f.types.push(P),M=f.st.ajax.cursor,c(l+"."+P,D),c("BeforeChange."+P,D)},getAjax:function(s){M&&h(document.body).addClass(M),f.updateStatus("loading");var t=h.extend({url:s.src,success:function(t,e,i){i={data:t,xhr:i};d("ParseAjax",i),f.appendContent(h(i.data),P),s.finished=!0,I(),f._setFocus(),setTimeout(function(){f.wrap.addClass(w)},16),f.updateStatus("ready"),d("AjaxContentAdded")},error:function(){I(),s.finished=s.loadError=!0,f.updateStatus("error",f.st.ajax.tError.replace("%url%",s.src))}},f.st.ajax.settings);return f.req=h.ajax(t),""}}});var A;h.magnificPopup.registerModule("image",{options:{markup:'<div class="mfp-figure"><div class="mfp-close"></div><figure><div class="mfp-img"></div><figcaption><div class="mfp-bottom-bar"><div class="mfp-title"></div><div class="mfp-counter"></div></div></figcaption></figure></div>',cursor:"mfp-zoom-out-cur",titleSrc:"title",verticalFit:!0,tError:'<a href="%url%">The image</a> could not be loaded.'},proto:{initImage:function(){var t=f.st.image,e=".image";f.types.push("image"),c(_+e,function(){"image"===f.currItem.type&&t.cursor&&h(document.body).addClass(t.cursor)}),c(l+e,function(){t.cursor&&h(document.body).removeClass(t.cursor),C.off("resize"+b)}),c("Resize"+e,f.resizeImage),f.isLowIE&&c("AfterChange",f.resizeImage)},resizeImage:function(){var t,e=f.currItem;e&&e.img&&f.st.image.verticalFit&&(t=0,f.isLowIE&&(t=parseInt(e.img.css("padding-top"),10)+parseInt(e.img.css("padding-bottom"),10)),e.img.css("max-height",f.wH-t))},_onImageHasSize:function(t){t.img&&(t.hasSize=!0,A&&clearInterval(A),t.isCheckingImgSize=!1,d("ImageHasSize",t),t.imgHidden&&(f.content&&f.content.removeClass("mfp-loading"),t.imgHidden=!1))},findImageSize:function(e){var i=0,s=e.img[0],n=function(t){A&&clearInterval(A),A=setInterval(function(){0<s.naturalWidth?f._onImageHasSize(e):(200<i&&clearInterval(A),3===++i?n(10):40===i?n(50):100===i&&n(500))},t)};n(1)},getImage:function(t,e){var i,s=0,n=function(){t&&(t.img[0].complete?(t.img.off(".mfploader"),t===f.currItem&&(f._onImageHasSize(t),f.updateStatus("ready")),t.hasSize=!0,t.loaded=!0,d("ImageLoadComplete")):++s<200?setTimeout(n,100):o())},o=function(){t&&(t.img.off(".mfploader"),t===f.currItem&&(f._onImageHasSize(t),f.updateStatus("error",r.tError.replace("%url%",t.src))),t.hasSize=!0,t.loaded=!0,t.loadError=!0)},r=f.st.image,a=e.find(".mfp-img");return a.length&&((i=document.createElement("img")).className="mfp-img",t.el&&t.el.find("img").length&&(i.alt=t.el.find("img").attr("alt")),t.img=h(i).on("load.mfploader",n).on("error.mfploader",o),i.src=t.src,a.is("img")&&(t.img=t.img.clone()),0<(i=t.img[0]).naturalWidth?t.hasSize=!0:i.width||(t.hasSize=!1)),f._parseMarkup(e,{title:function(t){if(t.data&&void 0!==t.data.title)return t.data.title;var e=f.st.image.titleSrc;if(e){if(h.isFunction(e))return e.call(f,t);if(t.el)return t.el.attr(e)||""}return""}(t),img_replaceWith:t.img},t),f.resizeImage(),t.hasSize?(A&&clearInterval(A),t.loadError?(e.addClass("mfp-loading"),f.updateStatus("error",r.tError.replace("%url%",t.src))):(e.removeClass("mfp-loading"),f.updateStatus("ready"))):(f.updateStatus("loading"),t.loading=!0,t.hasSize||(t.imgHidden=!0,e.addClass("mfp-loading"),f.findImageSize(t))),e}}});var O;h.magnificPopup.registerModule("zoom",{options:{enabled:!1,easing:"ease-in-out",duration:300,opener:function(t){return t.is("img")?t:t.find("img")}},proto:{initZoom:function(){var t,e,i,s,n,o,r=f.st.zoom,a=".zoom";r.enabled&&f.supportsTransition&&(e=r.duration,i=function(t){var e=t.clone().removeAttr("style").removeAttr("class").addClass("mfp-animated-image"),i="all "+r.duration/1e3+"s "+r.easing,s={position:"fixed",zIndex:9999,left:0,top:0,"-webkit-backface-visibility":"hidden"},t="transition";return s["-webkit-"+t]=s["-moz-"+t]=s["-o-"+t]=s[t]=i,e.css(s),e},s=function(){f.content.css("visibility","visible")},c("BuildControls"+a,function(){f._allowZoom()&&(clearTimeout(n),f.content.css("visibility","hidden"),(t=f._getItemToZoom())?((o=i(t)).css(f._getOffset()),f.wrap.append(o),n=setTimeout(function(){o.css(f._getOffset(!0)),n=setTimeout(function(){s(),setTimeout(function(){o.remove(),t=o=null,d("ZoomAnimationEnded")},16)},e)},16)):s())}),c(v+a,function(){if(f._allowZoom()){if(clearTimeout(n),f.st.removalDelay=e,!t){if(!(t=f._getItemToZoom()))return;o=i(t)}o.css(f._getOffset(!0)),f.wrap.append(o),f.content.css("visibility","hidden"),setTimeout(function(){o.css(f._getOffset())},16)}}),c(l+a,function(){f._allowZoom()&&(s(),o&&o.remove(),t=null)}))},_allowZoom:function(){return"image"===f.currItem.type},_getItemToZoom:function(){return!!f.currItem.hasSize&&f.currItem.img},_getOffset:function(t){var e=t?f.currItem.img:f.st.zoom.opener(f.currItem.el||f.currItem),i=e.offset(),s=parseInt(e.css("padding-top"),10),t=parseInt(e.css("padding-bottom"),10);i.top-=h(window).scrollTop()-s;s={width:e.width(),height:(a?e.innerHeight():e[0].offsetHeight)-t-s};return(O=void 0===O?void 0!==document.createElement("p").style.MozTransform:O)?s["-moz-transform"]=s.transform="translate("+i.left+"px,"+i.top+"px)":(s.left=i.left,s.top=i.top),s}}});function N(t){var e;!f.currTemplate[z]||(e=f.currTemplate[z].find("iframe")).length&&(t||(e[0].src="//about:blank"),f.isIE8&&e.css("display",t?"block":"none"))}var z="iframe";h.magnificPopup.registerModule(z,{options:{markup:'<div class="mfp-iframe-scaler"><div class="mfp-close"></div><iframe class="mfp-iframe" src="//about:blank" frameborder="0" allowfullscreen></iframe></div>',srcAction:"iframe_src",patterns:{youtube:{index:"youtube.com",id:"v=",src:"//www.youtube.com/embed/%id%?autoplay=1"},vimeo:{index:"vimeo.com/",id:"/",src:"//player.vimeo.com/video/%id%?autoplay=1"},gmaps:{index:"//maps.google.",src:"%id%&output=embed"}}},proto:{initIframe:function(){f.types.push(z),c("BeforeChange",function(t,e,i){e!==i&&(e===z?N():i===z&&N(!0))}),c(l+"."+z,function(){N()})},getIframe:function(t,e){var i=t.src,s=f.st.iframe;h.each(s.patterns,function(){if(-1<i.indexOf(this.index))return this.id&&(i="string"==typeof this.id?i.substr(i.lastIndexOf(this.id)+this.id.length,i.length):this.id.call(this,i)),i=this.src.replace("%id%",i),!1});var n={};return s.srcAction&&(n[s.srcAction]=i),f._parseMarkup(e,n,t),f.updateStatus("ready"),e}}});function j(t){var e=f.items.length;return e-1<t?t-e:t<0?e+t:t}function L(t,e,i){return t.replace(/%curr%/gi,e+1).replace(/%total%/gi,i)}h.magnificPopup.registerModule("gallery",{options:{enabled:!1,arrowMarkup:'<button title="%title%" type="button" class="mfp-arrow mfp-arrow-%dir%"></button>',preload:[0,2],navigateByImgClick:!0,arrows:!0,tPrev:"zurück",tNext:"vor",tCounter:"%curr% von %total%"},proto:{initGallery:function(){var o=f.st.gallery,t=".mfp-gallery";if(f.direction=!0,!o||!o.enabled)return!1;m+=" mfp-gallery",c(_+t,function(){o.navigateByImgClick&&f.wrap.on("click"+t,".mfp-img",function(){if(1<f.items.length)return f.next(),!1}
1),g.on("keydown"+t,function(t){37===t.keyCode?f.prev():39===t.keyCode&&f.next()})}),c("UpdateStatus"+t,function(t,e){e.text&&(e.text=L(e.text,f.currItem.index,f.items.length))}),c(y+t,function(t,e,i,s){var n=f.items.length;i.counter=1<n?L(o.tCounter,s.index,n):""}),c("BuildControls"+t,function(){var t,e;1<f.items.length&&o.arrows&&!f.arrowLeft&&(e=o.arrowMarkup,t=f.arrowLeft=h(e.replace(/%title%/gi,o.tPrev).replace(/%dir%/gi,"left")).addClass(r),e=f.arrowRight=h(e.replace(/%title%/gi,o.tNext).replace(/%dir%/gi,"right")).addClass(r),t.click(function(){f.prev()}),e.click(function(){f.next()}),f.container.append(t.add(e)))}),c("Change"+t,function(){f._preloadTimeout&&clearTimeout(f._preloadTimeout),f._preloadTimeout=setTimeout(function(){f.preloadNearbyImages(),f._preloadTimeout=null},16)}),c(l+t,function(){g.off(t),f.wrap.off("click"+t),f.arrowRight=f.arrowLeft=null})},next:function(){f.direction=!0,f.index=j(f.index+1),f.updateItemHTML()},prev:function(){f.direction=!1,f.index=j(f.index-1),f.updateItemHTML()},goTo:function(t){f.direction=t>=f.index,f.index=t,f.updateItemHTML()},preloadNearbyImages:function(){for(var t=f.st.gallery.preload,e=Math.min(t[0],f.items.length),i=Math.min(t[1],f.items.length),s=1;s<=(f.direction?i:e);s++)f._preloadItem(f.index+s);for(s=1;s<=(f.direction?e:i);s++)f._preloadItem(f.index-s)},_preloadItem:function(t){var e;t=j(t),f.items[t].preloaded||((e=f.items[t]).parsed||(e=f.parseEl(t)),d("LazyLoad",e),"image"===e.type&&(e.img=h('<img class="mfp-img" />').on("load.mfploader",function(){e.hasSize=!0}).on("error.mfploader",function(){e.hasSize=!0,e.loadError=!0,d("LazyLoadError",e)}).attr("src",e.src)),e.preloaded=!0)}}});var H="retina";h.magnificPopup.registerModule(H,{options:{replaceSrc:function(t){return t.src.replace(/\.\w+$/,function(t){return"@2x"+t})},ratio:1},proto:{initRetina:function(){var i,s;1<window.devicePixelRatio&&(i=f.st.retina,s=i.ratio,1<(s=isNaN(s)?s():s)&&(c("ImageHasSize."+H,function(t,e){e.img.css({"max-width":e.img[0].naturalWidth/s,width:"100%"})}),c("ElementParse."+H,function(t,e){e.src=i.replaceSrc(e,s)})))}}}),o()}),function(t){"use strict";"function"==typeof define&&define.amd?define(["jquery"],t):"undefined"!=typeof module&&module.exports?module.exports=t(require("jquery")):t(jQuery)}(function(r){function a(t){return parseFloat(t)||0}function l(t){var t=r(t),s=null,n=[];return t.each(function(){var t=r(this),e=t.offset().top-a(t.css("margin-top")),i=0<n.length?n[n.length-1]:null;null!==i&&Math.floor(Math.abs(s-e))<=1?n[n.length-1]=i.add(t):n.push(t),s=e}),n}function h(t){var e={byRow:!0,property:"height",target:null,remove:!1};return"object"==typeof t?r.extend(e,t):("boolean"==typeof t?e.byRow=t:"remove"===t&&(e.remove=!0),e)}var s=-1,n=-1,c=r.fn.matchHeight=function(t){t=h(t);if(t.remove){var i=this;return this.css(t.property,""),r.each(c._groups,function(t,e){e.elements=e.elements.not(i)}),this}return this.length<=1&&!t.target||(c._groups.push({elements:this,options:t}),c._apply(this,t)),this};c.version="0.7.2",c._groups=[],c._throttle=80,c._maintainScroll=!1,c._beforeUpdate=null,c._afterUpdate=null,c._rows=l,c._parse=a,c._parseOptions=h,c._apply=function(t,e){var n=h(e),i=r(t),s=[i],o=r(window).scrollTop(),e=r("html").outerHeight(!0),t=i.parents().filter(":hidden");return t.each(function(){var t=r(this);t.data("style-cache",t.attr("style"))}),t.css("display","block"),n.byRow&&!n.target&&(i.each(function(){var t=r(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"})}),s=l(i),i.each(function(){var t=r(this);t.attr("style",t.data("style-cache")||"")})),r.each(s,function(t,e){var e=r(e),s=0;if(n.target)s=n.target.outerHeight(!1);else{if(n.byRow&&e.length<=1)return void e.css(n.property,"");e.each(function(){var t=r(this),e=t.attr("style"),i=t.css("display"),i={display:i="inline-block"!==i&&"flex"!==i&&"inline-flex"!==i?"block":i};i[n.property]="",t.css(i),t.outerHeight(!1)>s&&(s=t.outerHeight(!1)),e?t.attr("style",e):t.css("display","")})}e.each(function(){var t=r(this),e=0;n.target&&t.is(n.target)||("border-box"!==t.css("box-sizing")&&(e+=a(t.css("border-top-width"))+a(t.css("border-bottom-width")),e+=a(t.css("padding-top"))+a(t.css("padding-bottom"))),t.css(n.property,s-e+"px"))})}),t.each(function(){var t=r(this);t.attr("style",t.data("style-cache")||null)}),c._maintainScroll&&r(window).scrollTop(o/e*r("html").outerHeight(!0)),this},c._applyDataApi=function(){var i={};r("[data-match-height], [data-mh]").each(function(){var t=r(this),e=t.attr("data-mh")||t.attr("data-match-height");e in i?i[e]=i[e].add(t):i[e]=t}),r.each(i,function(){this.matchHeight(!0)})};function o(t){c._beforeUpdate&&c._beforeUpdate(t,c._groups),r.each(c._groups,function(){c._apply(this.elements,this.options)}),c._afterUpdate&&c._afterUpdate(t,c._groups)}c._update=function(t,e){if(e&&"resize"===e.type){var i=r(window).width();if(i===s)return;s=i}t?-1===n&&(n=setTimeout(function(){o(e),n=-1},c._throttle)):o(e)},r(c._applyDataApi);var t=r.fn.on?"on":"bind";r(window)[t]("load",function(t){c._update(!1,t)}),r(window)[t]("resize orientationchange",function(t){c._update(!0,t)})}),function(n){n.fn.niceSelect=function(t){if("string"==typeof t)return"update"==t?this.each(function(){var t=n(this),e=n(this).next(".nice-select"),i=e.hasClass("open");e.length&&(e.remove(),s(t),i&&t.next().trigger("click"))}):"destroy"==t?(this.each(function(){var t=n(this),e=n(this).next(".nice-select");e.length&&(e.remove(),t.css("display",""))}),0==n(".nice-select").length&&n(document).off(".nice_select")):console.log('Method "'+t+'" does not exist.'),this;function s(t){t.after(n("<div></div>").addClass("nice-select").addClass(t.attr("class")||"").addClass(t.attr("disabled")?"disabled":"").attr("tabindex",t.attr("disabled")?null:"0").html('<span class="current"></span><ul class="list"></ul>'));var s=t.next(),e=t.find("option"),t=t.find("option:selected");s.find(".current").html(t.data("display")||t.text()),e.each(function(t){var e=n(this),i=e.data("display");s.find("ul").append(n("<li></li>").attr("data-value",e.val()).attr("data-display",i||null).addClass("option"+(e.is(":selected")?" selected":"")+(e.is(":disabled")?" disabled":"")).html(e.text()))})}this.hide(),this.each(function(){var t=n(this);t.next().hasClass("nice-select")||s(t)}),n(document).off(".nice_select"),n(document).on("click.nice_select",".nice-select",function(t){var e=n(this);n(".nice-select").not(e).removeClass("open"),e.toggleClass("open"),e.hasClass("open")?(e.find(".option"),e.find(".focus").removeClass("focus"),e.find(".selected").addClass("focus")):e.focus()}),n(document).on("click.nice_select",function(t){0===n(t.target).closest(".
1nice-select").length&&n(".nice-select").removeClass("open").find(".option")}),n(document).on("click.nice_select",".nice-select .option:not(.disabled)",function(t){var e=n(this),i=e.closest(".nice-select");i.find(".selected").removeClass("selected"),e.addClass("selected");var s=e.data("display")||e.text();i.find(".current").text(s),i.prev("select").val(e.data("value")).trigger("change")}),n(document).on("keydown.nice_select",".nice-select",function(t){var e,i=n(this),s=n(i.find(".focus")||i.find(".list .option.selected"));if(32==t.keyCode||13==t.keyCode)return(i.hasClass("open")?s:i).trigger("click"),!1;if(40==t.keyCode)return i.hasClass("open")?0<(e=s.nextAll(".option:not(.disabled)").first()).length&&(i.find(".focus").removeClass("focus"),e.addClass("focus")):i.trigger("click"),!1;if(38==t.keyCode)return i.hasClass("open")?0<(s=s.prevAll(".option:not(.disabled)").first()).length&&(i.find(".focus").removeClass("focus"),s.addClass("focus")):i.trigger("click"),!1;if(27==t.keyCode)i.hasClass("open")&&i.trigger("click");else if(9==t.keyCode&&i.hasClass("open"))return!1});t=document.createElement("a").style;return t.cssText="pointer-events:auto","auto"!==t.pointerEvents&&n("html").addClass("no-csspointerevents"),this}}(jQuery),function(t){"function"==typeof define&&define.amd?define(["jquery"],t):"object"==typeof module&&module.exports?t(require("jquery")):t(jQuery)}(function(a,s){"use strict";var i={background:"rgba(255, 255, 255, 0.8)",backgroundClass:"",image:"<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 1000'><circle r='80' cx='500' cy='90'/><circle r='80' cx='500' cy='910'/><circle r='80' cx='90' cy='500'/><circle r='80' cx='910' cy='500'/><circle r='80' cx='212' cy='212'/><circle r='80' cx='788' cy='212'/><circle r='80' cx='212' cy='788'/><circle r='80' cx='788' cy='788'/></svg>",imageAnimation:"2000ms rotate_right",imageAutoResize:!0,imageResizeFactor:1,imageColor:"#202020",imageClass:"",imageOrder:1,fontawesome:"",fontawesomeAnimation:"",fontawesomeAutoResize:!0,fontawesomeResizeFactor:1,fontawesomeColor:"#202020",fontawesomeOrder:2,custom:"",customAnimation:"",customAutoResize:!0,customResizeFactor:1,customOrder:3,text:"",textAnimation:"",textAutoResize:!0,textResizeFactor:.5,textColor:"#202020",textClass:"",textOrder:4,progress:!1,progressAutoResize:!0,progressResizeFactor:.25,progressColor:"#a0a0a0",progressClass:"",progressOrder:5,progressFixedPosition:"",progressSpeed:200,progressMin:0,progressMax:100,size:50,maxSize:120,minSize:20,direction:"column",fade:!0,resizeInterval:50,zIndex:2147483647},l={overlay:{"box-sizing":"border-box",position:"relative",display:"flex","flex-wrap":"nowrap","align-items":"center","justify-content":"space-around"},element:{"box-sizing":"border-box",overflow:"visible",flex:"0 0 auto",display:"flex","justify-content":"center","align-items":"center"},element_svg:{width:"100%",height:"100%"},progress_fixed:{position:"absolute",left:"0",width:"100%"},progress_wrapper:{position:"absolute",top:"0",left:"0",width:"100%",height:"100%"},progress_bar:{position:"absolute",left:"0"}},r={count:0,container:s,settings:s,wholePage:s,resizeIntervalId:s,text:s,progress:s},e={animations:["rotate_right","rotate_left","fadein","pulse"],progressPosition:["top","bottom"]},h={animations:{name:"rotate_right",time:"2000ms"},fade:[400,200]};function n(t,e){t=a(t),e.size=b(e.size),e.maxSize=parseInt(e.maxSize,10)||0,e.minSize=parseInt(e.minSize,10)||0,e.resizeInterval=parseInt(e.resizeInterval,10)||0;var i,s,n=f(t),o=g(t);!1===o&&((o=a.extend({},r)).container=t,o.wholePage=t.is("body"),n=a("<div>",{class:"loadingoverlay"}).css(l.overlay).css("flex-direction","row"===e.direction.toLowerCase()?"row":"column"),e.backgroundClass?n.addClass(e.backgroundClass):n.css("background",e.background),o.wholePage&&n.css({position:"fixed",top:0,left:0,width:"100%",height:"100%"}),void 0!==e.zIndex&&n.css("z-index",e.zIndex),e.image&&(a.isArray(e.imageColor)?0===e.imageColor.length?e.imageColor=!1:1===e.imageColor.length?e.imageColor={fill:e.imageColor[0]}:e.imageColor={fill:e.imageColor[0],stroke:e.imageColor[1]}:e.imageColor&&(e.imageColor={fill:e.imageColor}),i=m(n,e.imageOrder,e.imageAutoResize,e.imageResizeFactor,e.imageAnimation),"<svg"===e.image.slice(0,4).toLowerCase()&&"</svg>"===e.image.slice(-6).toLowerCase()?(i.append(e.image),i.children().css(l.element_svg),!e.imageClass&&e.imageColor&&i.find("*").css(e.imageColor)):".svg"===e.image.slice(-4).toLowerCase()||"data:image/svg"===e.image.slice(0,14).toLowerCase()?a.ajax({url:e.image,type:"GET",dataType:"html",global:!1}).done(function(t){i.html(t),i.children().css(l.element_svg),!e.imageClass&&e.imageColor&&i.find("*").css(e.imageColor)}):i.css({"background-image":"url("+e.image+")","background-position":"center","background-repeat":"no-repeat","background-size":"cover"}),e.imageClass&&i.addClass(e.imageClass)),e.fontawesome&&(i=m(n,e.fontawesomeOrder,e.fontawesomeAutoResize,e.fontawesomeResizeFactor,e.fontawesomeAnimation).addClass("loadingoverlay_fa"),a("<div>",{class:e.fontawesome}).appendTo(i),e.fontawesomeColor&&i.css("color",e.fontawesomeColor)),e.custom&&(i=m(n,e.customOrder,e.customAutoResize,e.customResizeFactor,e.customAnimation).append(e.custom)),e.text&&(o.text=m(n,e.textOrder,e.textAutoResize,e.textResizeFactor,e.textAnimation).addClass("loadingoverlay_text").text(e.text),e.textClass?o.text.addClass(e.textClass):e.textColor&&o.text.css("color",e.textColor)),e.progress&&(i=m(n,e.progressOrder,e.progressAutoResize,e.progressResizeFactor,!1).addClass("loadingoverlay_progress"),s=a("<div>").css(l.progress_wrapper).appendTo(i),o.progress={bar:a("<div>").css(l.progress_bar).appendTo(s),fixed:!1,margin:0,min:parseFloat(e.progressMin),max:parseFloat(e.progressMax),speed:parseInt(e.progressSpeed,10)},2===(s=(e.progressFixedPosition+"").replace(/\s\s+/g," ").toLowerCase().split(" ")).length&&_(s[0])?(o.progress.fixed=s[0],o.progress.margin=b(s[1])):2===s.length&&_(s[1])?(o.progress.fixed=s[1],o.progress.margin=b(s[0])):1===s.length&&_(s[0])&&(o.progress.fixed=s[0],o.progress.margin=0),"top"===o.progress.fixed?i.css(l.progress_fixed).css("top",o.progress.margin?o.progress.margin.value+(o.progress.margin.fixed?o.progress.margin.units:"%"):0):"bottom"===o.progress.fixed&&i.css(l.progress_fixed).css("top","auto"),e.progressClass?o.progress.bar.addClass(e.progressClass):e.progressColor&&o.progress.bar.css("background",e.progressColor)),e.fade?!0===e.fade?e.fade=h.fade:"string"==typeof e.fade||"number"==typeof e.fade?e.fade=[e.fade,e.fade]:a.isArray(e.fade)&&e.fade.length<2&&(e.fade=[e.fade[0],e.fade[0]]):e.fade=[0,0],e.fade=[parseInt(e.fade[0],10),parseInt(e.fade[1],10)],o.settings=e,n.data("loadingoverlay_data",o),t.data("loadingoverlay",n),n.fadeTo(0,.01).appendTo("body"),p(t,!0),0<e.resizeInterval&&(o.resizeIntervalId=setInterval(function(){p(t,!1)},e.resizeInterval)),n.fadeTo(e.fade[0],1)),o.count++}function o(t,e){var i=f(t=a(t)),s=g(t);!1!==s&&(s.count--,(e||s.count<=0)&&i.animate({opacity:0}
vendor: 5,955 bytes, line 1
1,s.settings.fade[1],function(){s.resizeIntervalId&&clearInterval(s.resizeIntervalId),a(this).remove(),t.removeData("loadingoverlay")}))}function c(t){p(a(t),!0)}function u(t,e){t=g(t=a(t));!1!==t&&t.text&&(!1===e?t.text.hide():t.text.show().text(e))}function d(t,e){t=g(t=a(t));!1!==t&&t.progress&&(!1===e?t.progress.bar.hide():(100<(e=(e=100*((parseFloat(e)||0)-t.progress.min)/(t.progress.max-t.progress.min))<0?0:e)&&(e=100),t.progress.bar.show().animate({width:e+"%"},t.progress.speed)))}function p(t,i){var e,s,n,o=f(t),r=g(t);!1!==r&&(r.wholePage||(s=(e="fixed"===t.css("position"))?t[0].getBoundingClientRect():t.offset(),o.css({position:e?"fixed":"absolute",top:s.top+parseInt(t.css("border-top-width"),10),left:s.left+parseInt(t.css("border-left-width"),10),width:t.innerWidth(),height:t.innerHeight()})),r.settings.size&&(t=r.wholePage?a(window):t,n=r.settings.size.value,r.settings.size.fixed||(n=Math.min(t.innerWidth(),t.innerHeight())*n/100,r.settings.maxSize&&n>r.settings.maxSize&&(n=r.settings.maxSize),r.settings.minSize&&n<r.settings.minSize&&(n=r.settings.minSize)),o.children(".loadingoverlay_element").each(function(){var t,e=a(this);(i||e.data("loadingoverlay_autoresize"))&&(t=e.data("loadingoverlay_resizefactor"),e.hasClass("loadingoverlay_fa")||e.hasClass("loadingoverlay_text")?e.css("font-size",n*t+r.settings.size.units):e.hasClass("loadingoverlay_progress")?(r.progress.bar.css("height",n*t+r.settings.size.units),r.progress.fixed?"bottom"===r.progress.fixed&&e.css("bottom",r.progress.margin?r.progress.margin.value+(r.progress.margin.fixed?r.progress.margin.units:"%"):0).css("bottom","+="+n*t+r.settings.size.units):r.progress.bar.css("top",e.position().top).css("top","-="+n*t*.5+r.settings.size.units)):e.css({width:n*t+r.settings.size.units,height:n*t+r.settings.size.units}))})))}function f(t){return t.data("loadingoverlay")}function g(t){var e=f(t),i=void 0===e?s:e.data("loadingoverlay_data");return void 0===i?(a(".loadingoverlay").each(function(){var t=a(this),e=t.data("loadingoverlay_data");document.body.contains(e.container[0])||(e.resizeIntervalId&&clearInterval(e.resizeIntervalId),t.remove())}),!1):(e.toggle(t.is(":visible")),i)}function m(t,e,i,s,n){var o,r,t=a("<div>",{class:"loadingoverlay_element",css:{order:e}}).css(l.element).data({loadingoverlay_autoresize:i,loadingoverlay_resizefactor:s}).appendTo(t);return"string"==typeof(n=!0===n?h.animations.time+" "+h.animations.name:n)&&(2===(n=n.replace(/\s\s+/g," ").toLowerCase().split(" ")).length&&v(n[0])&&y(n[1])?(o=n[1],r=n[0]):2===n.length&&v(n[1])&&y(n[0])?(o=n[0],r=n[1]):1===n.length&&v(n[0])?(o=h.animations.name,r=n[0]):1===n.length&&y(n[0])&&(o=n[0],r=h.animations.time),t.css({"animation-name":"loadingoverlay_animation__"+o,"animation-duration":r,"animation-timing-function":"linear","animation-iteration-count":"infinite"})),t}function v(t){return!isNaN(parseFloat(t))&&("s"===t.slice(-1)||"ms"===t.slice(-2))}function y(t){return-1<e.animations.indexOf(t)}function _(t){return-1<e.progressPosition.indexOf(t)}function b(t){return!(!t||t<0)&&("string"==typeof t&&-1<["vmin","vmax"].indexOf(t.slice(-4))?{fixed:!0,units:t.slice(-4),value:t.slice(0,-4)}:"string"==typeof t&&-1<["rem"].indexOf(t.slice(-3))?{fixed:!0,units:t.slice(-3),value:t.slice(0,-3)}:"string"==typeof t&&-1<["px","em","cm","mm","in","pt","pc","vh","vw"].indexOf(t.slice(-2))?{fixed:!0,units:t.slice(-2),value:t.slice(0,-2)}:{fixed:!1,units:"px",value:parseFloat(t)})}a.LoadingOverlaySetup=function(t){a.extend(!0,i,t)},a.LoadingOverlay=function(t,e){switch(t.toLowerCase()){case"show":n("body",a.extend(!0,{},i,e));break;case"hide":o("body",e);break;case"resize":c("body");break;case"text":u("body",e);break;case"progress":d("body",e)}},a.fn.LoadingOverlay=function(t,e){switch(t.toLowerCase()){case"show":return this.each(function(){n(this,a.extend(!0,{},i,e))});case"hide":return this.each(function(){o(this,e)});case"resize":return this.each(function(){c(this)});case"text":return this.each(function(){u(this,e)});case"progress":return this.each(function(){d(this,e)})}},a(function(){a("head").append(["<style>","@-webkit-keyframes loadingoverlay_animation__rotate_right {","to {","-webkit-transform : rotate(360deg);","transform : rotate(360deg);","}","}","@keyframes loadingoverlay_animation__rotate_right {","to {","-webkit-transform : rotate(360deg);","transform : rotate(360deg);","}","}","@-webkit-keyframes loadingoverlay_animation__rotate_left {","to {","-webkit-transform : rotate(-360deg);","transform : rotate(-360deg);","}","}","@keyframes loadingoverlay_animation__rotate_left {","to {","-webkit-transform : rotate(-360deg);","transform : rotate(-360deg);","}","}","@-webkit-keyframes loadingoverlay_animation__fadein {","0% {","opacity   : 0;","-webkit-transform : scale(0.1, 0.1);","transform : scale(0.1, 0.1);","}","50% {","opacity   : 1;","}","100% {","opacity   : 0;","-webkit-transform : scale(1, 1);","transform : scale(1, 1);","}","}","@keyframes loadingoverlay_animation__fadein {","0% {","opacity   : 0;","-webkit-transform : scale(0.1, 0.1);","transform : scale(0.1, 0.1);","}","50% {","opacity   : 1;","}","100% {","opacity   : 0;","-webkit-transform : scale(1, 1);","transform : scale(1, 1);","}","}","@-webkit-keyframes loadingoverlay_animation__pulse {","0% {","-webkit-transform : scale(0, 0);","transform : scale(0, 0);","}","50% {","-webkit-transform : scale(1, 1);","transform : scale(1, 1);","}","100% {","-webkit-transform : scale(0, 0);","transform : scale(0, 0);","}","}","@keyframes loadingoverlay_animation__pulse {","0% {","-webkit-transform : scale(0, 0);","transform : scale(0, 0);","}","50% {","-webkit-transform : scale(1, 1);","transform : scale(1, 1);","}","100% {","-webkit-transform : scale(0, 0);","transform : scale(0, 0);","}","}","</style>"].join(" "))})}),MarkerClusterer.prototype.MARKER_CLUSTER_IMAGE_PATH_="https://raw.githubusercontent.com/gmaps-marker-clusterer/gmaps-marker-clusterer/master/images/m",Mar
1kerClusterer.prototype.MARKER_CLUSTER_IMAGE_EXTENSION_="png",MarkerClusterer.prototype.extend=function(t,e){return function(t){for(var e in t.prototype)this.prototype[e]=t.prototype[e];return this}.apply(t,[e])},MarkerClusterer.prototype.onAdd=function(){this.setReady_(!0)},MarkerClusterer.prototype.draw=function(){},MarkerClusterer.prototype.setupStyles_=function(){if(!this.styles_.length)for(var t,e=0;t=this.sizes[e];e++){var i="",i="function"==typeof this.imagePath_?this.imagePath_(e,t):this.imagePath_+(e+1)+"."+this.imageExtension_;this.styles_.push({url:i,height:t,width:t})}},MarkerClusterer.prototype.fitMapToMarkers=function(){for(var t,e=this.getMarkers(),i=new google.maps.LatLngBounds,s=0;t=e[s];s++)i.extend(t.getPosition());this.map_.fitBounds(i)},MarkerClusterer.prototype.setStyles=function(t){this.styles_=t},MarkerClusterer.prototype.getStyles=function(){return this.styles_},MarkerClusterer.prototype.isZoomOnClick=function(){return this.zoomOnClick_},MarkerClusterer.prototype.isAverageCenter=function(){return this.averageCenter_},MarkerClusterer.prototype.getMarkers=function(){return this.markers_},MarkerClusterer.prototype.getTotalMarkers=function(){return this.markers_.length},MarkerClusterer.prototype.setMaxZoom=function(t){this.maxZoom_=t},MarkerClusterer.prototype.getMaxZoom=function(){return this.maxZoom_},MarkerClusterer.prototype.getMarkersCluster=function(t){return this.clusters_[this.markersCluster_[t.uniqueID]]},MarkerClusterer.prototype.calculator_=function(t,e){for(var i=0,t=t.length,s=t;0!==s;)s=parseInt(s/10,10),i++;return{text:t,index:i=Math.min(i,e)}},MarkerClusterer.prototype.setCalculator=function(t){this.calculator_=t},MarkerClusterer.prototype.getCalculator=function(){return this.calculator_},MarkerClusterer.prototype.addMarkers=function(t,e){for(var i,s=0;i=t[s];s++)this.pushMarkerTo_(i);e||this.redraw()},MarkerClusterer.prototype.pushMarkerTo_=function(t){var e;t.isAdded=!1,t.draggable&&(e=this,google.maps.event.addListener(t,"dragend",function(){t.isAdded=!1,e.repaint()})),t.uniqueID=this.markersUniqueID,this.markersUniqueID++,this.markers_.push(t)},MarkerClusterer.prototype.addMarker=function(t,e){this.pushMarkerTo_(t),e||this.redraw()},MarkerClusterer.prototype.removeMarker_=function(t){var e=-1;if(this.markers_.indexOf)e=this.markers_.indexOf(t);else for(var i,s=0;i=this.markers_[s];s++)if(i==t){e=s;break}return-1!=e&&(t.setMap(null),this.markers_.splice(e,1),delete this.markersCluster_[t.uniqueID],!0)},MarkerClusterer.prototype.removeMarker=function(t,e){t=this.removeMarker_(t);return!(e||!t)&&(this.resetViewport(),this.redraw(),!0)},MarkerClusterer.prototype.removeMarkers=function(t,e){for(var i=!1,s=t.length;0<=s;s--)var n=t[s],n=this.removeMarker_(n),i=i||n;if(!e&&i)return this.resetViewport(),this.redraw(),!0},MarkerClusterer.prototype.setReady_=function(t){this.ready_||(this.ready_=t,this.createClusters_())},MarkerClusterer.prototype.getTotalClusters=function(){return this.clusters_.length},MarkerClusterer.prototype.getClusters=function(){return this.clusters_},MarkerClusterer.prototype.getMap=function(){return this.map_},MarkerClusterer.prototype.setMap=function(t){this.map_=t},MarkerClusterer.prototype.getGridSize=function(){return this.gridSize_},MarkerClusterer.prototype.setGridSize=function(t){this.gridSize_=t},MarkerClusterer.prototype.getMinClusterSize=function(){return this.minClusterSize_},MarkerClusterer.prototype.setMinClusterSize=function(t){this.minClusterSize_=t},MarkerClusterer.prototype.getExtendedBounds=function(t){var e=this.getProjection(),i=new google.maps.LatLng(t.getNorthEast().lat(),t.getNorthEast().lng()),s=new google.maps.LatLng(t.getSouthWest
vendor: 1,433 bytes, line 1
1().lat(),t.getSouthWest().lng()),i=e.fromLatLngToDivPixel(i);i.x+=this.gridSize_,i.y-=this.gridSize_;s=e.fromLatLngToDivPixel(s);s.x-=this.gridSize_,s.y+=this.gridSize_;i=e.fromDivPixelToLatLng(i),s=e.fromDivPixelToLatLng(s);return t.extend(i),t.extend(s),t},MarkerClusterer.prototype.isMarkerInBounds_=function(t,e){return e.contains(t.getPosition())},MarkerClusterer.prototype.clearMarkers=function(){this.resetViewport(!0),this.markers_=[],this.markersCluster_={},this.markersUniqueID=1},MarkerClusterer.prototype.resetViewport=function(t){for(var e,i=0;e=this.clusters_[i];i++)e.remove();for(var s,i=0;s=this.markers_[i];i++)s.isAdded=!1,t&&s.setMap(null);this.clusters_=[],this.markersCluster_={},this.markersUniqueID=1},MarkerClusterer.prototype.repaint=function(){var i=this.clusters_.slice();this.clusters_.length=0,this.resetViewport(),this.redraw(),window.setTimeout(function(){for(var t,e=0;t=i[e];e++)t.remove()},0)},MarkerClusterer.prototype.redraw=function(){this.createClusters_()},MarkerClusterer.prototype.distanceBetweenPoints_=function(t,e){if(!t||!e)return 0;var i=(e.lat()-t.lat())*Math.PI/180,s=(e.lng()-t.lng())*Math.PI/180,s=Math.sin(i/2)*Math.sin(i/2)+Math.cos(t.lat()*Math.PI/180)*Math.cos(e.lat()*Math.PI/180)*Math.sin(s/2)*Math.sin(s/2);return 6371*(2*Math.atan2(Math.sqrt(s),Math.sqrt(1-s)))},MarkerClusterer.prototype.addToClosestCluster_=function(t){for(var e,i=4e4,s=null,n=(t.getPosition(),null),o=0;
1e=this.clusters_[o];o++){var r=e.getCenter();!r||(r=this.distanceBetweenPoints_(r,t.getPosition()))<i&&(i=r,s=e,n=o)}s&&s.isMarkerInClusterBounds(t)?s.addMarker(t):((e=new Cluster(this)).addMarker(t),this.clusters_.push(e),n=this.clusters_.length-1),t.isAdded&&(this.markersCluster_[t.uniqueID]=n)},MarkerClusterer.prototype.createClusters_=function(){if(this.ready_)for(var t,e=new google.maps.LatLngBounds(this.map_.getBounds().getSouthWest(),this.map_.getBounds().getNorthEast()),i=this.getExtendedBounds(e),s=0;t=this.markers_[s];s++)t.isAdded||!this.isMarkerInBounds_(t,i)||this.ignoreHiddenMarkers_&&!t.getVisible()||this.addToClosestCluster_(t)},Cluster.prototype.isMarkerAlreadyAdded=function(t){if(this.markers_.indexOf)return-1!=this.markers_.indexOf(t);for(var e,i=0;e=this.markers_[i];i++)if(e==t)return!0;return!1},Cluster.prototype.addMarker=function(t){if(this.isMarkerAlreadyAdded(t))return!1;var e,i;this.center_?this.averageCenter_&&(i=this.markers_.length+1,e=(this.center_.lat()*(i-1)+t.getPosition().lat())/i,i=(this.center_.lng()*(i-1)+t.getPosition().lng())/i,this.center_=new google.maps.LatLng(e,i),this.calculateBounds_()):(this.center_=t.getPosition(),this.calculateBounds_()),t.isAdded=!0,this.markers_.push(t);var s=this.markers_.length;if(s<this.minClusterSize_&&t.getMap()!=this.map_&&t.setMap(this.map_),s==this.minClusterSize_)for(var n=0;n<s;n++)this.markers_[n].setMap(null);return s>=this.minClusterSize_&&t.setMap(null),this.updateIcon(),!0},Cluster.prototype.getMarkerClusterer=function(){return this.markerClusterer_},Cluster.prototype.getBounds=function(){for(var t,e=new google.maps.LatLngBounds(this.center_,this.center_),i=this.getMarkers(),s=0;t=i[s];s++)e.extend(t.getPosition());return e},Cluster.prototype.remove=function(){this.clusterIcon_.remove(),this.markers_.length=0,delete this.markers_},Cluster.prototype.getSize=function(){return this.markers_.length},Cluster.prototype.getMarkers=function(){return this.markers_},Cluster.prototype.getCenter=function(){return this.center_},Cluster.prototype.calculateBounds_=function(){var t=new google.maps.LatLngBounds(this.center_,this.center_);this.bounds_=this.markerClusterer_.getExtendedBounds(t)},Cluster.prototype.isMarkerInClusterBounds=function(t){return this.bounds_.contains(t.getPosition())},Cluster.prototype.getMap=function(){return this.map_},Cluster.prototype.updateIcon=function(){var t=this.map_.getZoom(),e=this.markerClusterer_.getMaxZoom();if(e&&e<t)for(var i,s=0;i=this.markers_[s];s++)i.setMap(this.map_);else this.markers_.length<this.minClusterSize_?this.clusterIcon_.hide():(t=this.markerClusterer_.getStyles().length,t=this.markerClusterer_.getCalculator()(this.markers_,t),this.clusterIcon_.setCenter(this.center_),this.clusterIcon_.setSums(t),this.clusterIcon_.show())},ClusterIcon.prototype.triggerClusterClick=function(t){var e=this.cluster_.getMarkerClusterer();google.maps.event.trigger(e,"clusterclick",this.cluster_,t),e.isZoomOnClick()&&this.map_.fitBounds(this.cluster_.getBounds())},ClusterIcon.prototype.triggerClusterMouseover=function(t){var e=this.cluster_.getMarkerClusterer();google.maps.event.trigger(e,"clustermouseover",this.cluster_,t),"function"==typeof this.cluster_.markerClusterer_.onMouseoverCluster_&&this.cluster_.markerClusterer_.onMouseoverCluster_(this,t)},ClusterIcon.prototype.triggerClusterMouseout=function(t){var e=this.cluster_.getMarkerClusterer();google.maps.event.trigger(e,"clustermouseout",this.cluster_,t),"function"==typeof this.cluster_.markerClusterer_.onMouseoutCluster_&&this.cluster_.markerClusterer_.onMouseoutCluster_(this,t)},ClusterIcon.prototype.onAdd=function(){"function"==typeof this.cluster_.markerClusterer_.onAddCluster_?this.cluster_.markerClusterer_.onAddCluster_(this):defaultClusterOnAdd(this)},ClusterIcon.prototype.getPosFromLatLng_=function(t){t=this.getProjection().fromLatLngToDivPixel(t);return"object"==typeof this.iconAnchor_&&2===this.iconAnchor_.length?(t.x-=this.iconAnchor_[0],t.y-=this.iconAnchor_[1]):(t.x-=parseInt(this.width_/2,10),t.y-=parseInt(this.height_/2,10)),t},ClusterIcon.prototype.draw=function(){"function"==typeof this.cluster_.markerClusterer_.drawCluster_?this.cluster_.markerClusterer_.drawCluster_(this):defaultClusterDraw(this)},ClusterIcon.prototype.hide=function(){"function"==typeof this.cluster_.markerClusterer_.hideCluster_?this.cluster_.markerClusterer_.hideCluster_(this):defaultClusterHide(this)},ClusterIcon.prototype.show=function(){"function"==typeof this.cluster_.markerClusterer_.showCluster_?this.cluster_.markerClusterer_.showCluster_(this):defaultClusterShow(this)},ClusterIcon.prototype.remove=function(){this.setMap(null)},ClusterIcon.prototype.onRemove=function(){"function"==typeof this.cluster_.markerClusterer_.onRemoveCluster_?this.cluster_.markerClusterer_.onRemoveCluster_(this):defaultClusterOnRemove(this)},ClusterIcon.prototype.setSums=function(t){this.sums_=t,this.text_=t.text,this.index_=t.index,this.div_&&(this.div_.innerHTML=t.text),this.useStyle()},ClusterIcon.prototype.useStyle=function(){var t=Math.max(0,this.sums_.index-1),t=Math.min(this.styles_.length-1,t),e=this.styles_[t];this.url_=e.url,this.height_=e.height,this.width_=e.width,this.textColor_=e.textColor,this.anchor_=e.anchor,this.textSize_=e.textSize,this.backgroundPosition_=e.backgroundPosition,this.iconAnchor_=e.iconAnchor,this.setIndex_=t},ClusterIcon.prototype.setCenter=function(t){this.center_=t},ClusterIcon.prototype.createCss=function(t){var e,i,s=[];return this.cluster_.getMarkerClusterer().cssClass_?s.push("top:"+t.y+"px; left:"+t.x+"px;"):(s.push("background-image:url("+this.url_+");"),i=this.backgroundPosition_||"0 0",s.push("background-position:"+i+";"),"object"==typeof this.anchor_?("number"==typeof this.anchor_[0]&&0<this.anchor_[0]&&this.anchor_[0]<this.height_?s.push("height:"+(this.height_-this.anchor_[0])+"px; padding-top:"+this.anchor_[0]+"px;"):"number"==typeof this.anchor_[0]&&this.anchor_[0]<0&&-this.anchor_[0]<this.height_?s.push("height:"+this.height_+"px; line-height:"+(this.height_+this.anchor_[0])+"px;"):s.push("height:"+this.height_+"px; line-height:"+this.height_+"px;"),"number"==typeof this.anchor_[1]&&0<this.anchor_[1]&&this.anchor_[1]<this.width_?s.push("width:"+(this.width_-this.anchor_[1])+"px; padding-left:"+this.anchor_[1]+"px;"):s.push("width:"+this.width_+"px; text-align:center;")):s.push("height:"+this.height_+"px; line-height:"+this.height_+"px; width:"+this.width_+"px; text-align:center;"),e=this.textColor_||"black",i=this.textSize_||11,s.push("cursor:pointer; top:"+t.y+"px; left:"+t.x+"px; color:"+e+"; position:absolute; font-size:"+i+"px; font-family:Arial,sans-serif; font-weight:bold")),s.join("")},ClusterIcon.prototype.addClass=function(){var t=this.cluster_.getMarkerClusterer();t.cssClass_?this.div_.className=t.cssClass_+" "+t.cssDefaultClass_+this.setIndex_:this.div_.className=t.cssDefaultClass_+this.setIndex_},(window.MarkerClusterer=MarkerClusterer).prototype.addMarker=MarkerClusterer.prototype.addMarker,MarkerClusterer.prototype.addMarkers=MarkerClusterer.prototype.addMarkers,MarkerClusterer.prototype.clearMarkers=MarkerClusterer.prototype.clearMarkers,MarkerClusterer.prototype.fitMapToMarkers=MarkerClusterer.prototype.fitMapToMarkers,MarkerClusterer.prototype.getCalculator=MarkerClusterer.prototype.getCalculator,MarkerClusterer.prototype.getGridSize=MarkerClusterer.prototype.getGridSize,MarkerClusterer.prototype.getExtendedBounds=MarkerClusterer.prototype.getExtendedBounds,MarkerClusterer.prototype.getMap=MarkerClusterer.prototype.getMap,MarkerClusterer.prototype.getMarkers=MarkerClusterer.prototype.getMarkers,MarkerClusterer.prototype.getMaxZoom=MarkerClusterer.prototype.getMaxZoom,MarkerClusterer.prototype.getMarkersCluster=MarkerClusterer.prototype.getMarkersCluster,MarkerClusterer.prototype.getStyles=MarkerClusterer.prototype.getStyles,MarkerClusterer.prototype.getTotalClusters=MarkerClusterer.prototype.getTotalClusters,MarkerClusterer.prototype.getTotalMarkers=MarkerClusterer.prototype.getTotalMarkers,MarkerClusterer.prototype.redraw=MarkerClusterer.prototype.redraw,MarkerClusterer.prototype.removeMarker=MarkerClusterer.prototype.removeMarker,MarkerClusterer.prototype.removeMarkers=MarkerClusterer.prototype.removeMarkers,MarkerClusterer.prototype.resetViewport=MarkerClusterer.prototype.resetViewport,MarkerClusterer.prototype.repaint=MarkerClusterer.prototype.repaint,MarkerClusterer.prototype.setCalculator=MarkerClusterer.prototype.setCalculator,MarkerClusterer.prototype.setGridSize=MarkerClusterer.prototype.setGridSize,MarkerClusterer.prototype.setMaxZoom=MarkerClusterer.prototype.setMaxZoom,MarkerClusterer.prototype.onAdd=MarkerClusterer.prototype.onAdd,MarkerClusterer.prototype.draw=MarkerClusterer.prototype.draw,Cluster.prototype.getCenter=Cluster.prototype.getCenter,Cluster.prototype.getSize=Cluster.prototype.getSize,Cluster.prototype.getMarkers=Cluster.prototype.getMarkers,ClusterIcon.prototype.onAdd=ClusterIcon.prototype.onAdd,ClusterIcon.prototype.draw=ClusterIcon.prototype.draw,ClusterIcon.prototype.onRemove=ClusterIcon.prototype.onRemove,function(t){"use strict";"function"==typeof define&&define.amd?define(["jquery"],t):"undefined"!=typeof exports?module.exports=t(require("jquery")):t(jQuery)}(function(h){"use strict";var s,o=window.Slick||{};s=0,(o=function(t,e){var i=this;i.defaults={accessibility:!0,adaptiveHeight:!1,appendArrows:h(t),appendDots:h(t),arrows:!0,asNavFor:null,prevArrow:'<button type="button" data-role="none" class="slick-prev" aria-label="Previous" tabindex="0" role="button">Previous</button>',nextArrow:'<button type="button" data-role="none" class="slick-next" aria-label="Next" tabindex="0" role="button">Next</button>',autoplay:!1,autoplaySpeed:3e3,centerMode:!1,centerPadding:"50px",cssEase:"ease",customPaging:function(t,e){return h('<button type="button" data-role="none" role="button" tabindex="0" />').text(e+1)},dots:!1,dotsClass:"slick-dots",draggable:!0,easing:"linear",edgeFriction:.35,fade:!1,focusOnSelect:!1,infinite:!0,initialSlide:0,lazyLoad:"ondemand",mobileFirst:!1,pauseOnHover:!0,pauseOnFocus:!0,pauseOnDotsHover:!1,respondTo:"window",responsive:null,rows:1,rtl:!1,slide:"",slidesPerRow:1,slidesToShow:1,slidesToScroll:1,speed:500,swipe:!0,swipeToSlide:!1,touchMove:!0,touchThreshold:5,useCSS:!0,useTransform:!0,variableWidth:!1,vertical:!1,verticalSwiping:!1,waitForAnimate:!0,zIndex:1e3},i.initials={animating:!1,dragging:!1,autoPlayTimer:null,currentDirection:0,currentLeft:null,currentSlide:0,direction:1,$dots:null,listWidth:null,listHeight:null,loadIndex:0,$nextArrow:null,$prevArrow:null,slideCount:null,slideWidth:null,$slideTrack:null,$slides:null,
vendor: 16,598 bytes, line 1
1sliding:!1,slideOffset:0,swipeLeft:null,$list:null,touchObject:{},transformsEnabled:!1,unslicked:!1},h.extend(i,i.initials),i.activeBreakpoint=null,i.animType=null,i.animProp=null,i.breakpoints=[],i.breakpointSettings=[],i.cssTransitions=!1,i.focussed=!1,i.interrupted=!1,i.hidden="hidden",i.paused=!0,i.positionProp=null,i.respondTo=null,i.rowCount=1,i.shouldClick=!0,i.$slider=h(t),i.$slidesCache=null,i.transformType=null,i.transitionType=null,i.visibilityChange="visibilitychange",i.windowWidth=0,i.windowTimer=null,t=h(t).data("slick")||{},i.options=h.extend({},i.defaults,e,t),i.currentSlide=i.options.initialSlide,i.originalSettings=i.options,void 0!==document.mozHidden?(i.hidden="mozHidden",i.visibilityChange="mozvisibilitychange"):void 0!==document.webkitHidden&&(i.hidden="webkitHidden",i.visibilityChange="webkitvisibilitychange"),i.autoPlay=h.proxy(i.autoPlay,i),i.autoPlayClear=h.proxy(i.autoPlayClear,i),i.autoPlayIterator=h.proxy(i.autoPlayIterator,i),i.changeSlide=h.proxy(i.changeSlide,i),i.clickHandler=h.proxy(i.clickHandler,i),i.selectHandler=h.proxy(i.selectHandler,i),i.setPosition=h.proxy(i.setPosition,i),i.swipeHandler=h.proxy(i.swipeHandler,i),i.dragHandler=h.proxy(i.dragHandler,i),i.keyHandler=h.proxy(i.keyHandler,i),i.instanceUid=s++,i.htmlExpr=/^(?:\s*(<[\w\W]+>)[^>]*)$/,i.registerBreakpoints(),i.init(!0)}).prototype.activateADA=function(){this.$slideTrack.find(".slick-active").attr({"aria-hidden":"false"}).find("a, input, button, select").attr({tabindex:"0"})},o.prototype.addSlide=o.prototype.slickAdd=function(t,e,i){var s=this;if("boolean"==typeof e)i=e,e=null;else if(e<0||e>=s.slideCount)return!1;s.unload(),"number"==typeof e?0===e&&0===s.$slides.length?h(t).appendTo(s.$slideTrack):i?h(t).insertBefore(s.$slides.eq(e)):h(t).insertAfter(s.$slides.eq(e)):!0===i?h(t).prependTo(s.$slideTrack):h(t).appendTo(s.$slideTrack),s.$slides=s.$slideTrack.children(this.options.slide),s.$slideTrack.children(this.options.slide).detach(),s.$slideTrack.append(s.$slides),s.$slides.each(function(t,e){h(e).attr("data-slick-index",t)}),s.$slidesCache=s.$slides,s.reinit()},o.prototype.animateHeight=function(){var t;1===this.options.slidesToShow&&!0===this.options.adaptiveHeight&&!1===this.options.vertical&&(t=this.$slides.eq(this.currentSlide).outerHeight(!0),this.$list.animate({height:t},this.options.speed))},o.prototype.animateSlide=function(t,e){var i={},s=this;s.animateHeight(),!0===s.options.rtl&&!1===s.options.vertical&&(t=-t),!1===s.transformsEnabled?!1===s.options.vertical?s.$slideTrack.animate({left:t},s.options.speed,s.options.easing,e):s.$slideTrack.animate({top:t},s.options.speed,s.options.easing,e):!1===s.cssTransitions?(!0===s.options.rtl&&(s.currentLeft=-s.currentLeft),h({animStart:s.currentLeft}).animate({animStart:t},{duration:s.options.speed,easing:s.options.easing,step:function(t){t=Math.ceil(t),!1===s.options.vertical?i[s.animType]="translate("+t+"px, 0px)":i[s.animType]="translate(0px,"+t+"px)",s.$slideTrack.css(i)},complete:function(){e&&e.call()}})):(s.applyTransition(),t=Math.ceil(t),!1===s.options.vertical?i[s.animType]="translate3d("+t+"px, 0px, 0px)":i[s.animType]="translate3d(0px,"+t+"px, 0px)",s.$slideTrack.css(i),e&&setTimeout(function(){s.disableTransition(),e.call()},s.options.speed))},o.prototype.getNavTarget=function(){var t=this.options.asNavFor;return t=t&&null!==t?h(t).not(this.$slider):t},o.prototype.asNavFor=function(e){var t=this.getNavTarget();null!==t&&"object"==typeof t&&t.each(function(){var t=h(this).slick("getSlick");t.unslicked||t.slideHandler(e,!0)})},o.prototype.applyTransition=function(t){var e=this,i={};!1===e.options.fade?i[e.transitionType]=e.transformType+" "+e.options.speed+"ms "+e.options.cssEase:i[e.transitionType]="opacity "+e.options.speed+"ms "+e.options.cssEase,(!1===e.options.fade?e.$slideTrack:e.$slides.eq(t)).css(i)},o.prototype.autoPlay=function(){this.autoPlayClear(),this.slideCount>this.options.slidesToShow&&(this.autoPlayTimer=setInterval(this.autoPlayIterator,this.options.autoplaySpeed))},o.prototype.autoPlayClear=function(){this.autoPlayTimer&&clearInterval(this.autoPlayTimer)},o.prototype.autoPlayIterator=function(){var t=this,e=t.currentSlide+t.options.slidesToScroll;t.paused||t.interrupted||t.focussed||(!1===t.options.infinite&&(1===t.direction&&t.currentSlide+1===t.slideCount-1?t.direction=0:0===t.direction&&(e=t.currentSlide-t.options.slidesToScroll,t.currentSlide-1==0&&(t.direction=1))),t.slideHandler(e))},o.prototype.buildArrows=function(){var t=this;!0===t.options.arrows&&(t.$prevArrow=h(t.options.prevArrow).addClass("slick-arrow"),t.$nextArrow=h(t.options.nextArrow).addClass("slick-arrow"),t.slideCount>t.options.slidesToShow?(t.$prevArrow.removeClass("slick-hidden").removeAttr("aria-hidden tabindex"),t.$nextArrow.removeClass("slick-hidden").removeAttr("aria-hidden tabindex"),t.htmlExpr.test(t.options.prevArrow)&&t.$prevArrow.prependTo(t.options.appendArrows),t.htmlExpr.test(t.options.nextArrow)&&t.$nextArrow.appendTo(t.options.appendArrows),!0!==t.options.infinite&&t.$prevArrow.addClass("slick-disabled").attr("aria-disabled","true")):t.$prevArrow.add(t.$nextArrow).addClass("slick-hidden").attr({"aria-disabled":"true",tabindex:"-1"}))},o.prototype.buildDots=function(){var t,e,i=this;if(!0===i.options.dots&&i.slideCount>i.options.slidesToShow){for(i.$slider.addClass("slick-dotted"),e=h("<ul />").addClass(i.options.dotsClass),t=0;t<=i.getDotCount();t+=1)e.append(h("<li />").append(i.options.customPaging.call(this,i,t)));i.$dots=e.appendTo(i.options.appendDots),i.$dots.find("li").first().addClass("slick-active").attr("aria-hidden","false")}},o.prototype.buildOut=function(){var t=this;t.$slides=t.$slider.children(t.options.slide+":not(.slick-cloned)").addClass("slick-slide"),t.slideCount=t.$slides.length,t.$slides.each(function(t,e){h(e).attr("data-slick-index",t).data("originalStyling",h(e).attr("style")||"")}),t.$slider.addClass("slick-slider"),t.$slideTrack=0===t.slideCount?h('<div class="slick-track"/>').appendTo(t.$slider):t.$slides.wrapAll('<div class="slick-track"/>').parent(),t.$list=t.$slideTrack.wrap('<div aria-live="polite" class="slick-list"/>').parent(),t.$slideTrack.css("opacity",0),!0!==t.options.centerMode&&!0!==t.options.swipeToSlide||(t.options.slidesToScroll=1),h("img[data-lazy]",t.$slider).not("[src]").addClass("slick-loading"),t.setupInfinite(),t.buildArrows(),t.buildDots(),t.updateDots(),t.setSlideClasses("number"==typeof t.currentSlide?t.currentSlide:0),!0===t.options.draggable&&t.$list.addClass("draggable")},o.prototype.buildRows=function(){var t,e,i,s=this,n=document.createDocumentFragment(),o=s.$slider.children();if(1<s.options.rows){for(i=s.options.slidesPerRow*s.options.rows,e=Math.ceil(o.length/i),t=0;t<e;t++){for(var r=document.createElement("div"),a=0;a<s.options.rows;a++){for(var l=document.createElement("div"),h=0;h<s.options.slidesPerRow;h++){var c=t*i+(a*s.options.slidesPerRow+h);o.get(c)&&l.appendChild(o.get(c))}r.appendChild(l)}n.appendChild(r)}s.$slider.empty().append(n),s.$slider.children().children().children().css({width:100/s.options.slidesPerRow+"%",display:"inline-block"})}},o.prototype.checkResponsive=function(t,e){var i,s,n,o=this,r=!1,a=o.$slider.width(),l=window.innerWidth||h(window).width();if("window"===o.respondTo?n=l:"slider"===o.respondTo?n=a:"min"===o.respondTo&&(n=Math.min(l,a)),o.options.responsive&&o.options.responsive.length&&null!==o.options.responsive){for(i in s=null,o.breakpoints)o.breakpoints.hasOwnProperty(i)&&(!1===o.originalSettings.mobileFirst?n<o.breakpoints[i]&&(s=o.breakpoints[i]):n>o.breakpoints[i]&&(s=o.breakpoints[i]));null!==s?null!==o.activeBreakpoint&&s===o.activeBreakpoint&&!e||(o.activeBreakpoint=s,"unslick"===o.breakpointSettings[s]?o.unslick(s):(o.options=h.extend({},o.originalSettings,o.breakpointSettings[s]),!0===t&&(o.currentSlide=o.options.initialSlide),o.refresh(t)),r=s):null!==o.activeBreakpoint&&(o.activeBreakpoint=null,o.options=o.originalSettings,!0===t&&(o.currentSlide=o.options.initialSlide),o.refresh(t),r=s),t||!1===r||o.$slider.trigger("breakpoint",[o,r])}},o.prototype.changeSlide=function(t,e){var i,s=this,n=h(t.currentTarget);switch(n.is("a")&&t.preventDefault(),n.is("li")||(n=n.closest("li")),i=s.slideCount%s.options.slidesToScroll!=0?0:(s.slideCount-s.currentSlide)%s.options.slidesToScroll,t.data.message){case"previous":o=0==i?s.options.slidesToScroll:s.options.slidesToShow-i,s.slideCount>s.options.slidesToShow&&s.slideHandler(s.currentSlide-o,!1,e);break;case"next":o=0==i?s.options.slidesToScroll:i,s.slideCount>s.options.slidesToShow&&s.slideHandler(s.currentSlide+o,!1,e);break;case"index":var o=0===t.data.index?0:t.data.index||n.index()*s.options.slidesToScroll;s.slideHandler(s.checkNavigable(o),!1,e),n.children().trigger("focus");break;default:return}},o.prototype.checkNavigable=function(t){var e=this.getNavigableIndexes(),i=0;if(t>e[e.length-1])t=e[e.length-1];else for(var s in e){if(t<e[s]){t=i;break}i=e[s]}return t},o.prototype.cleanUpEvents=function(){var t=this;t.options.dots&&null!==t.$dots&&h("li",t.$dots).off("click.slick",t.changeSlide).off("mouseenter.slick",h.proxy(t.interrupt,t,!0)).off("mouseleave.slick",h.proxy(t.interrupt,t,!1)),t.$slider.off("focus.slick blur.slick"),!0===t.options.arrows&&t.slideCount>t.options.slidesToShow&&(t.$prevArrow&&t.$prevArrow.off("click.slick",t.changeSlide),t.$nextArrow&&t.$nextArrow.off("click.slick",t.changeSlide)),t.$list.off("touchstart.slick mousedown.slick",t.swipeHandler),t.$list.off("touchmove.slick mousemove.slick",t.swipeHandler),t.$list.off("touchend.slick mouseup.slick",t.swipeHandler),t.$list.off("touchcancel.slick mouseleave.slick",t.swipeHandler),t.$list.off("click.slick",t.clickHandler),h(document).off(t.visibilityChange,t.visibility),t.cleanUpSlideEvents(),!0===t.options.accessibility&&t.$list.off("keydown.slick",t.keyHandler),!0===t.options.focusOnSelect&&h(t.$slideTrack).children().off("click.slick",t.selectHandler),h(window).off("orientationchange.slick.slick-"+t.instanceUid,t.orientationChange),h(window).off("resize.slick.slick-"+t.instanceUid,t.resize),h("[draggable!=true]",t.$slideTrack).off("dragstart",t.preventDefault),h(window).off("load.slick.slick-"+t.instanceUid,t.setPosition),h(document).off("ready.slick.slick-"+t.instanceUid,t.setPosition)},o.prototype.cleanUpSlideEvents=function(){this.$list.off("mouseenter.slick",h.proxy(this.interrupt,this,!0)),this.$list.off("mouseleave.slick",h.proxy(this.interrupt,this,!1))},o.prototype.cleanUpRows=function(){var t;1<this.options.rows&&((t=this.$slides.children().children()).removeAttr("style"),this.$slider.empty().append(t))},o.prototype.clickHandler=function(t){!1===this.shouldClick&&(t.stopImmediatePropagation(),t.stopPropagation(),t.preventDefault())},o.prototype.destroy=function(t){var e=this;e.autoPlayClear(),e.touchObject={},e.cleanUpEvents(),h(".slick-cloned",e.$slider).detach(),e.$dots&&e.$dots.remove(),e.$prevArrow&&e.$prevArrow.length&&(e.$prevArrow.removeClass("slick-disabled slick-arrow slick-hidden").removeAttr("aria-hidden aria-disabled tabindex").css("display",""),e.htmlExpr.test(e.options.prevArrow)&&e.$prevArrow.remove()),e.$nextArrow&&e.$nextArrow.length&&(e.$nextArrow.removeClass("slick-disabled slick-arrow slick-hidden").removeAttr("aria-hidden aria-disabled tabindex").css("display",""),e.htmlExpr.test(e.options.nextArrow)&&e.$nextArrow.remove()),e.$slides&&(e.$slides.removeClass("slick-slide slick-active slick-center slick-visible slick-current").removeAttr("aria-hidden").removeAttr("data-slick-index").each(function(){h(this).attr("style",h(this).data("originalStyling"))}),e.$slideTrack.children(this.options.slide).detach(),e.$slideTrack.detach(),e.$list.detach(),e.$slider.append(e.$slides)),e.cleanUpRows(),e.$slider.removeClass("slick-slider"),e.$slider.removeClass("slick-initialized"),e.$slider.removeClass("slick-dotted"),e.unslicked=!0,t||e.$slider.trigger("destroy",[e])},o.prototype.disableTransition=function(t){var e={};e[this.transitionType]="",(!1===this.options.fade?this.$slideTrack:this.$slides.eq(t)).css(e)},o.prototype.fadeSlide=function(t,e){var i=this;!1===i.cssTransitions?(i.$slides.eq(t).css({zIndex:i.options.zIndex}),i.$slides.eq(t).animate({opacity:1},i.options.speed,i.options.easing,e)):(i.applyTransition(t),i.$slides.eq(t).css({opacity:1,zIndex:i.options.zIndex}),e&&setTimeout(function(){i.disableTransition(t),e.call()},i.options.speed))},o.prototype.fadeSlideOut=function(t){!1===this.cssTransitions?this.$slides.eq(t).animate({opacity:0,zIndex:this.options.zIndex-2},this.options.speed,this.options.easing):(this.applyTransition(t),this.$slides.eq(t).css({opacity:0,zIndex:this.options.zIndex-2}))},o.prototype.filterSlides=o.prototype.slickFilter=function(t){null!==t&&(this.$slidesCache=this.$slides,this.unload(),this.$slideTrack.children(this.options.slide).detach(),this.$slidesCache.filter(t).appendTo(this.$slideTrack),this.reinit())},o.prototype.focusHandler=function(){var i=this;i.$slider.off("focus.slick blur.slick").on("focus.slick blur.slick","*:not(.slick-arrow)",function(t){t.stopImmediatePropagation();var e=h(this);setTimeout(function(){i.options.pauseOnFocus&&(i.focussed=e.is(":focus"),i.autoPlay())},0)})},o.prototype.getCurrent=o.prototype.slickCurrentSlide=function(){return this.currentSlide},o.prototype.getDotCount=function(){var t=this,e=0,i=0,s=0;if(!0===t.options.infinite)for(;e<t.slideCount;)++s,e=i+t.options.slidesToScroll,i+=t.options.slidesToScroll<=t.options.slidesToShow?t.options.slidesToScroll:t.options.slidesToShow;else if(!0===t.options.centerMode)s=t.slideCount;else if(t.options.asNavFor)for(;e<t.slideCount;)++s,e=i+t.options.slidesToScroll,i+=t.options.slidesToScroll<=t.options.slidesToShow?t.options.slidesToScroll:t.options.slidesToShow;else s=1+Math.ceil((t.slideCount-t.options.slidesToShow)/t.options.slidesToScroll);return s-1},o.prototype.getLeft=function(t){var e,i=this,s=0;return i.slideOffset=0,e=i.$slides.first().outerHeight(!0),!0===i.options.infinite?(i.slideCount>i.options.slidesToShow&&(i.slideOffset=i.slideWidth*i.options.slidesToShow*-1,s=e*i.options.slidesToShow*-1),i.slideCount%i.options.slidesToScroll!=0&&t+i.options.slidesToScroll>i.slideCount&&i.slideCount>i.options.slidesToShow&&(s=t>i.slideCount?(i.slideOffset=(i.options.slidesToShow-(t-i.slideCount))*i.slideWidth*-1,(i.options.slidesToShow-(t-i.slideCount))*e*-1):(i.slideOffset=i.slideCount%i.options.slidesToScroll*i.slideWidth*-1,i.slideCount%i.options.slidesToScroll*e*-1))):t+i.options.slidesToShow>i.slideCount&&(i.slideOffset=(t+i.options.slidesToShow-i.slideCount)*i.slideWidth,s=(t+i.options.slidesToShow-i.slideCount)*e),i.slideCount<=i.options.slidesToShow&&(s=i.slideOffset=0),!0===i.options.centerMode&&!0===i.options.infinite?i.slideOffset+=i.slideWidth*Math.floor(i.options.slidesToShow/2)-i.slideWidth:!0===i.options.centerMode&&(i.slideOffset=0,i.slideOffset+=i.slideWidth*Math.floor(i.options.slidesToShow/2)),e=!1===i.options.vertical?t*i.slideWidth*-1+i.slideOffset:t*e*-1+s,!0===i.options.variableWidth&&(s=i.slideCount<=i.options.slidesToShow||!1===i.options.infinite?i.$slideTrack.children(".slick-slide").eq(t):i.$slideTrack.children(".slick-slide").eq(t+i.options.slidesToShow),e=!0===i.options.rtl?s[0]?-1*(i.$slideTrack.width()-s[0].offsetLeft-s.width()):0:s[0]?-1*s[0].offsetLeft:0,!0===i.options.centerMode&&(s=i.slideCount<=i.options.slidesToShow||!1===i.options.infinite?i.$slideTrack.children(".slick-slide").eq(t):i.$slideTrack.children(".slick-slide").eq(t+i.options.slidesToShow+1),e=!0===i.options.rtl?s[0]?-1*(i.$slideTrack.width()-s[0].offsetLeft-s.width()):0:s[0]?-1*s[0].offsetLeft:0,e+=(i.$list.width()-s.outerWidth())/2)),e},o.prototype.getOption=o.prototype.slickGetOption=function(t){return this.options[t]},o.prototype.getNavigableIndexes=function(){for(var t=this,e=0,i=0,s=[],n=!1===t.options.infinite?t.slideCount:(e=-1*t.options.slidesToScroll,i=-1*t.options.slidesToScroll,2*t.slideCount);e<n;)s.push(e),e=i+t.options.slidesToScroll,i+=t.options.slidesToScroll<=t.options.slidesToShow?t.options.slidesToScroll:t.options.slidesToShow;return s},o.prototype.getSlick=function(){return this},o.prototype.getSlideCount=function(){var i,s=this,n=!0===s.options.centerMode?s.slideWidth*Math.floor(s.options.slidesToShow/2):0;return!0===s.options.swipeToSlide?(s.$slideTrack.find(".slick-slide").each(function(t,e){if(e.offsetLeft-n+h(e).outerWidth()/2>-1*s.swipeLeft)return i=e,!1}),Math.abs(h(i).attr("data-slick-index")-s.currentSlide)||1):s.options.slidesToScroll},o.prototype.goTo=o.prototype.slickGoTo=function(t,e){this.changeSlide({data:{message:"index",index:
1parseInt(t)}},e)},o.prototype.init=function(t){var e=this;h(e.$slider).hasClass("slick-initialized")||(h(e.$slider).addClass("slick-initialized"),e.buildRows(),e.buildOut(),e.setProps(),e.startLoad(),e.loadSlider(),e.initializeEvents(),e.updateArrows(),e.updateDots(),e.checkResponsive(!0),e.focusHandler()),t&&e.$slider.trigger("init",[e]),!0===e.options.accessibility&&e.initADA(),e.options.autoplay&&(e.paused=!1,e.autoPlay())},o.prototype.initADA=function(){var e=this;e.$slides.add(e.$slideTrack.find(".slick-cloned")).attr({"aria-hidden":"true",tabindex:"-1"}).find("a, input, button, select").attr({tabindex:"-1"}),e.$slideTrack.attr("role","listbox"),e.$slides.not(e.$slideTrack.find(".slick-cloned")).each(function(t){h(this).attr({role:"option","aria-describedby":"slick-slide"+e.instanceUid+t})}),null!==e.$dots&&e.$dots.attr("role","tablist").find("li").each(function(t){h(this).attr({role:"presentation","aria-selected":"false","aria-controls":"navigation"+e.instanceUid+t,id:"slick-slide"+e.instanceUid+t})}).first().attr("aria-selected","true").end().find("button").attr("role","button").end().closest("div").attr("role","toolbar"),e.activateADA()},o.prototype.initArrowEvents=function(){!0===this.options.arrows&&this.slideCount>this.options.slidesToShow&&(this.$prevArrow.off("click.slick").on("click.slick",{message:"previous"},this.changeSlide),this.$nextArrow.off("click.slick").on("click.slick",{message:"next"},this.changeSlide))},o.prototype.initDotEvents=function(){var t=this;!0===t.options.dots&&t.slideCount>t.options.slidesToShow&&h("li",t.$dots).on("click.slick",{message:"index"},t.changeSlide),!0===t.options.dots&&!0===t.options.pauseOnDotsHover&&h("li",t.$dots).on("mouseenter.slick",h.proxy(t.interrupt,t,!0)).on("mouseleave.slick",h.proxy(t.interrupt,t,!1))},o.prototype.initSlideEvents=function(){this.options.pauseOnHover&&(this.$list.on("mouseenter.slick",h.proxy(this.interrupt,this,!0)),this.$list.on("mouseleave.slick",h.proxy(this.interrupt,this,!1)))},o.prototype.initializeEvents=function(){var t=this;t.initArrowEvents(),t.initDotEvents(),t.initSlideEvents(),t.$list.on("touchstart.slick mousedown.slick",{action:"start"},t.swipeHandler),t.$list.on("touchmove.slick mousemove.slick",{action:"move"},t.swipeHandler),t.$list.on("touchend.slick mouseup.slick",{action:"end"}
1,t.swipeHandler),t.$list.on("touchcancel.slick mouseleave.slick",{action:"end"},t.swipeHandler),t.$list.on("click.slick",t.clickHandler),h(document).on(t.visibilityChange,h.proxy(t.visibility,t)),!0===t.options.accessibility&&t.$list.on("keydown.slick",t.keyHandler),!0===t.options.focusOnSelect&&h(t.$slideTrack).children().on("click.slick",t.selectHandler),h(window).on("orientationchange.slick.slick-"+t.instanceUid,h.proxy(t.orientationChange,t)),h(window).on("resize.slick.slick-"+t.instanceUid,h.proxy(t.resize,t)),h("[draggable!=true]",t.$slideTrack).on("dragstart",t.preventDefault),h(window).on("load.slick.slick-"+t.instanceUid,t.setPosition),h(document).on("ready.slick.slick-"+t.instanceUid,t.setPosition)},o.prototype.initUI=function(){!0===this.options.arrows&&this.slideCount>this.options.slidesToShow&&(this.$prevArrow.show(),this.$nextArrow.show()),!0===this.options.dots&&this.slideCount>this.options.slidesToShow&&this.$dots.show()},o.prototype.keyHandler=function(t){t.target.tagName.match("TEXTAREA|INPUT|SELECT")||(37===t.keyCode&&!0===this.options.accessibility?this.changeSlide({data:{message:!0===this.options.rtl?"next":"previous"}}):39===t.keyCode&&!0===this.options.accessibility&&this.changeSlide({data:{message:!0===this.options.rtl?"previous":"next"}}))},o.prototype.lazyLoad=function(){var t,e,s=this;function i(t){h("img[data-lazy]",t).each(function(){var t=h(this),e=h(this).attr("data-lazy"),i=document.createElement("img");i.onload=function(){t.animate({opacity:0}
vendor: 17,397 bytes, line 1
1,100,function(){t.attr("src",e).animate({opacity:1},200,function(){t.removeAttr("data-lazy").removeClass("slick-loading")}),s.$slider.trigger("lazyLoaded",[s,t,e])})},i.onerror=function(){t.removeAttr("data-lazy").removeClass("slick-loading").addClass("slick-lazyload-error"),s.$slider.trigger("lazyLoadError",[s,t,e])},i.src=e})}!0===s.options.centerMode?e=!0===s.options.infinite?(t=s.currentSlide+(s.options.slidesToShow/2+1))+s.options.slidesToShow+2:(t=Math.max(0,s.currentSlide-(s.options.slidesToShow/2+1)),s.options.slidesToShow/2+1+2+s.currentSlide):(t=s.options.infinite?s.options.slidesToShow+s.currentSlide:s.currentSlide,e=Math.ceil(t+s.options.slidesToShow),!0===s.options.fade&&(0<t&&t--,e<=s.slideCount&&e++)),i(s.$slider.find(".slick-slide").slice(t,e)),s.slideCount<=s.options.slidesToShow?i(s.$slider.find(".slick-slide")):s.currentSlide>=s.slideCount-s.options.slidesToShow?i(s.$slider.find(".slick-cloned").slice(0,s.options.slidesToShow)):0===s.currentSlide&&i(s.$slider.find(".slick-cloned").slice(-1*s.options.slidesToShow))},o.prototype.loadSlider=function(){this.setPosition(),this.$slideTrack.css({opacity:1}),this.$slider.removeClass("slick-loading"),this.initUI(),"progressive"===this.options.lazyLoad&&this.progressiveLazyLoad()},o.prototype.next=o.prototype.slickNext=function(){this.changeSlide({data:{message:"next"}})},o.prototype.orientationChange=function(){this.checkResponsive(),this.setPosition()},o.prototype.pause=o.prototype.slickPause=function(){this.autoPlayClear(),this.paused=!0},o.prototype.play=o.prototype.slickPlay=function(){this.autoPlay(),this.options.autoplay=!0,this.paused=!1,this.focussed=!1,this.interrupted=!1},o.prototype.postSlide=function(t){var e=this;e.unslicked||(e.$slider.trigger("afterChange",[e,t]),e.animating=!1,e.setPosition(),e.swipeLeft=null,e.options.autoplay&&e.autoPlay(),!0===e.options.accessibility&&e.initADA())},o.prototype.prev=o.prototype.slickPrev=function(){this.changeSlide({data:{message:"previous"}})},o.prototype.preventDefault=function(t){t.preventDefault()},o.prototype.progressiveLazyLoad=function(t){t=t||1;var e,i,s=this,n=h("img[data-lazy]",s.$slider);n.length?(e=n.first(),i=e.attr("data-lazy"),(n=document.createElement("img")).onload=function(){e.attr("src",i).removeAttr("data-lazy").removeClass("slick-loading"),!0===s.options.adaptiveHeight&&s.setPosition(),s.$slider.trigger("lazyLoaded",[s,e,i]),s.progressiveLazyLoad()},n.onerror=function(){t<3?setTimeout(function(){s.progressiveLazyLoad(t+1)},500):(e.removeAttr("data-lazy").removeClass("slick-loading").addClass("slick-lazyload-error"),s.$slider.trigger("lazyLoadError",[s,e,i]),s.progressiveLazyLoad())},n.src=i):s.$slider.trigger("allImagesLoaded",[s])},o.prototype.refresh=function(t){var e=this,i=e.slideCount-e.options.slidesToShow;!e.options.infinite&&e.currentSlide>i&&(e.currentSlide=i),e.slideCount<=e.options.slidesToShow&&(e.currentSlide=0),i=e.currentSlide,e.destroy(!0),h.extend(e,e.initials,{currentSlide:i}),e.init(),t||e.changeSlide({data:{message:"index",index:i}},!1)},o.prototype.registerBreakpoints=function(){var t,e,i,s=this,n=s.options.responsive||null;if("array"===h.type(n)&&n.length){for(t in s.respondTo=s.options.respondTo||"window",n)if(i=s.breakpoints.length-1,e=n[t].breakpoint,n.hasOwnProperty(t)){for(;0<=i;)s.breakpoints[i]&&s.breakpoints[i]===e&&s.breakpoints.splice(i,1),i--;s.breakpoints.push(e),s.breakpointSettings[e]=n[t].settings}s.breakpoints.sort(function(t,e){return s.options.mobileFirst?t-e:e-t})}},o.prototype.reinit=function(){var t=this;t.$slides=t.$slideTrack.children(t.options.slide).addClass("slick-slide"),t.slideCount=t.$slides.length,t.currentSlide>=t.slideCount&&0!==t.currentSlide&&(t.currentSlide=t.currentSlide-t.options.slidesToScroll),t.slideCount<=t.options.slidesToShow&&(t.currentSlide=0),t.registerBreakpoints(),t.setProps(),t.setupInfinite(),t.buildArrows(),t.updateArrows(),t.initArrowEvents(),t.buildDots(),t.updateDots(),t.initDotEvents(),t.cleanUpSlideEvents(),t.initSlideEvents(),t.checkResponsive(!1,!0),!0===t.options.focusOnSelect&&h(t.$slideTrack).children().on("click.slick",t.selectHandler),t.setSlideClasses("number"==typeof t.currentSlide?t.currentSlide:0),t.setPosition(),t.focusHandler(),t.paused=!t.options.autoplay,t.autoPlay(),t.$slider.trigger("reInit",[t])},o.prototype.resize=function(){var t=this;h(window).width()!==t.windowWidth&&(clearTimeout(t.windowDelay),t.windowDelay=window.setTimeout(function(){t.windowWidth=h(window).width(),t.checkResponsive(),t.unslicked||t.setPosition()},50))},o.prototype.removeSlide=o.prototype.slickRemove=function(t,e,i){var s=this;if(t="boolean"==typeof t?!0===(e=t)?0:s.slideCount-1:!0===e?--t:t,s.slideCount<1||t<0||t>s.slideCount-1)return!1;s.unload(),(!0===i?s.$slideTrack.children():s.$slideTrack.children(this.options.slide).eq(t)).remove(),s.$slides=s.$slideTrack.children(this.options.slide),s.$slideTrack.children(this.options.slide).detach(),s.$slideTrack.append(s.$slides),s.$slidesCache=s.$slides,s.reinit()},o.prototype.setCSS=function(t){var e,i,s=this,n={};!0===s.options.rtl&&(t=-t),e="left"==s.positionProp?Math.ceil(t)+"px":"0px",i="top"==s.positionProp?Math.ceil(t)+"px":"0px",n[s.positionProp]=t,!1===s.transformsEnabled||(!(n={})===s.cssTransitions?n[s.animType]="translate("+e+", "+i+")":n[s.animType]="translate3d("+e+", "+i+", 0px)"),s.$slideTrack.css(n)},o.prototype.setDimensions=function(){var t=this;!1===t.options.vertical?!0===t.options.centerMode&&t.$list.css({padding:"0px "+t.options.centerPadding}):(t.$list.height(t.$slides.first().outerHeight(!0)*t.options.slidesToShow),!0===t.options.centerMode&&t.$list.css({padding:t.options.centerPadding+" 0px"})),t.listWidth=t.$list.width(),t.listHeight=t.$list.height(),!1===t.options.vertical&&!1===t.options.variableWidth?(t.slideWidth=Math.ceil(t.listWidth/t.options.slidesToShow),t.$slideTrack.width(Math.ceil(t.slideWidth*t.$slideTrack.children(".slick-slide").length))):!0===t.options.variableWidth?t.$slideTrack.width(5e3*t.slideCount):(t.slideWidth=Math.ceil(t.listWidth),t.$slideTrack.height(Math.ceil(t.$slides.first().outerHeight(!0)*t.$slideTrack.children(".slick-slide").length)));var e=t.$slides.first().outerWidth(!0)-t.$slides.first().width();!1===t.options.variableWidth&&t.$slideTrack.children(".slick-slide").width(t.slideWidth-e)},o.prototype.setFade=function(){var i,s=this;s.$slides.each(function(t,e){i=s.slideWidth*t*-1,!0===s.options.rtl?h(e).css({position:"relative",right:i,top:0,zIndex:s.options.zIndex-2,opacity:0}):h(e).css({position:"relative",left:i,top:0,zIndex:s.options.zIndex-2,opacity:0})}),s.$slides.eq(s.currentSlide).css({zIndex:s.options.zIndex-1,opacity:1})},o.prototype.setHeight=function(){var t;1===this.options.slidesToShow&&!0===this.options.adaptiveHeight&&!1===this.options.vertical&&(t=this.$slides.eq(this.currentSlide).outerHeight(!0),this.$list.css("height",t))},o.prototype.setOption=o.prototype.slickSetOption=function(){var t,e,i,s,n,o=this,r=!1;if("object"===h.type(arguments[0])?(i=arguments[0],r=arguments[1],n="multiple"):"string"===h.type(arguments[0])&&(i=arguments[0],s=arguments[1],r=arguments[2],"responsive"===arguments[0]&&"array"===h.type(arguments[1])?n="responsive":void 0!==arguments[1]&&(n="single")),"single"===n)o.options[i]=s;else if("multiple"===n)h.each(i,function(t,e){o.options[t]=e});else if("responsive"===n)for(e in s)if("array"!==h.type(o.options.responsive))o.options.responsive=[s[e]];else{for(t=o.options.responsive.length-1;0<=t;)o.options.responsive[t].breakpoint===s[e].breakpoint&&o.options.responsive.splice(t,1),t--;o.options.responsive.push(s[e])}r&&(o.unload(),o.reinit())},o.prototype.setPosition=function(){this.setDimensions(),this.setHeight(),!1===this.options.fade?this.setCSS(this.getLeft(this.currentSlide)):this.setFade(),this.$slider.trigger("setPosition",[this])},o.prototype.setProps=function(){var t=this,e=document.body.style;t.positionProp=!0===t.options.vertical?"top":"left","top"===t.positionProp?t.$slider.addClass("slick-vertical"):t.$slider.removeClass("slick-vertical"),void 0===e.WebkitTransition&&void 0===e.MozTransition&&void 0===e.msTransition||!0===t.options.useCSS&&(t.cssTransitions=!0),t.options.fade&&("number"==typeof t.options.zIndex?t.options.zIndex<3&&(t.options.zIndex=3):t.options.zIndex=t.defaults.zIndex),void 0!==e.OTransform&&(t.animType="OTransform",t.transformType="-o-transform",t.transitionType="OTransition",void 0===e.perspectiveProperty&&void 0===e.webkitPerspective&&(t.animType=!1)),void 0!==e.MozTransform&&(t.animType="MozTransform",t.transformType="-moz-transform",t.transitionType="MozTransition",void 0===e.perspectiveProperty&&void 0===e.MozPerspective&&(t.animType=!1)),void 0!==e.webkitTransform&&(t.animType="webkitTransform",t.transformType="-webkit-transform",t.transitionType="webkitTransition",void 0===e.perspectiveProperty&&void 0===e.webkitPerspective&&(t.animType=!1)),void 0!==e.msTransform&&(t.animType="msTransform",t.transformType="-ms-transform",t.transitionType="msTransition",void 0===e.msTransform&&(t.animType=!1)),void 0!==e.transform&&!1!==t.animType&&(t.animType="transform",t.transformType="transform",t.transitionType="transition"),t.transformsEnabled=t.options.useTransform&&null!==t.animType&&!1!==t.animType},o.prototype.setSlideClasses=function(t){var e,i,s=this,n=s.$slider.find(".slick-slide").removeClass("slick-active slick-center slick-current").attr("aria-hidden","true");s.$slides.eq(t).addClass("slick-current"),!0===s.options.centerMode?(i=Math.floor(s.options.slidesToShow/2),!0===s.options.infinite&&(i<=t&&t<=s.slideCount-1-i?s.$slides.slice(t-i,t+i+1).addClass("slick-active").attr("aria-hidden","false"):(e=s.options.slidesToShow+t,n.slice(e-i+1,e+i+2).addClass("slick-active").attr("aria-hidden","false")),0===t?n.eq(n.length-1-s.options.slidesToShow).addClass("slick-center"):t===s.slideCount-1&&n.eq(s.options.slidesToShow).addClass("slick-center")),s.$slides.eq(t).addClass("slick-center")):0<=t&&t<=s.slideCount-s.options.slidesToShow?s.$slides.slice(t,t+s.options.slidesToShow).addClass("slick-active").attr("aria-hidden","false"):n.length<=s.options.slidesToShow?n.addClass("slick-active").attr("aria-hidden","false"):(i=s.slideCount%s.options.slidesToShow,e=!0===s.options.infinite?s.options.slidesToShow+t:t,(s.options.slidesToShow==s.options.slidesToScroll&&s.slideCount-t<s.options.slidesToShow?n.slice(e-(s.options.slidesToShow-i),e+i):n.slice(e,e+s.options.slidesToShow)).addClass("slick-active").attr("aria-hidden","false")),"ondemand"===s.options.lazyLoad&&s.lazyLoad()},o.prototype.setupInfinite=function(){var t,e,i,s=this;if(!0===s.options.fade&&(s.options.centerMode=!1),!0===s.options.infinite&&!1===s.options.fade&&(e=null,s.slideCount>s.options.slidesToShow)){for(i=!0===s.options.centerMode?s.options.slidesToShow+1:s.options.slidesToShow,t=s.slideCount;t>s.slideCount-i;--t)h(s.$slides[e=t-1]).clone(!0).attr("id","").attr("data-slick-index",e-s.slideCount).prependTo(s.$slideTrack).addClass("slick-cloned");for(t=0;t<i;t+=1)e=t,h(s.$slides[e]).clone(!0).attr("id","").attr("data-slick-index",e+s.slideCount).appendTo(s.$slideTrack).addClass("slick-cloned");s.$slideTrack.find(".slick-cloned").find("[id]").each(function(){h(this).attr("id","")})}},o.prototype.interrupt=function(t){t||this.autoPlay(),this.interrupted=t},o.prototype.selectHandler=function(t){t=h(t.target).is(".slick-slide")?h(t.target):h(t.target).parents(".slick-slide"),t=(t=parseInt(t.attr("data-slick-index")))||0;if(this.slideCount<=this.options.slidesToShow)return this.setSlideClasses(t),void this.asNavFor(t);this.slideHandler(t)},o.prototype.slideHandler=function(t,e,i){var s,n,o,r,a=this;if(e=e||!1,(!0!==a.animating||!0!==a.options.waitForAnimate)&&!(!0===a.options.fade&&a.currentSlide===t||a.slideCount<=a.options.slidesToShow))if(!1===e&&a.asNavFor(t),s=t,o=a.getLeft(s),e=a.getLeft(a.currentSlide),a.currentLeft=null===a.swipeLeft?e:a.swipeLeft,!1===a.options.infinite&&!1===a.options.centerMode&&(t<0||t>a.getDotCount()*a.options.slidesToScroll))!1===a.options.fade&&(s=a.currentSlide,!0!==i?a.animateSlide(e,function(){a.postSlide(s)}):a.postSlide(s));else if(!1===a.options.infinite&&!0===a.options.centerMode&&(t<0||t>a.slideCount-a.options.slidesToScroll))!1===a.options.fade&&(s=a.currentSlide,!0!==i?a.animateSlide(e,function(){a.postSlide(s)}):a.postSlide(s));else{if(a.options.autoplay&&clearInterval(a.autoPlayTimer),n=s<0?a.slideCount%a.options.slidesToScroll!=0?a.slideCount-a.slideCount%a.options.slidesToScroll:a.slideCount+s:s>=a.slideCount?a.slideCount%a.options.slidesToScroll!=0?0:s-a.slideCount:s,a.animating=!0,a.$slider.trigger("beforeChange",[a,a.currentSlide,n]),e=a.currentSlide,a.currentSlide=n,a.setSlideClasses(a.currentSlide),a.options.asNavFor&&(r=(r=a.getNavTarget()).slick("getSlick")).slideCount<=r.options.slidesToShow&&r.setSlideClasses(a.currentSlide),a.updateDots(),a.updateArrows(),!0===a.options.fade)return!0!==i?(a.fadeSlideOut(e),a.fadeSlide(n,function(){a.postSlide(n)})):a.postSlide(n),void a.animateHeight();!0!==i?a.animateSlide(o,function(){a.postSlide(n)}):a.postSlide(n)}},o.prototype.startLoad=function(){var t=this;!0===t.options.arrows&&t.slideCount>t.options.slidesToShow&&(t.$prevArrow.hide(),t.$nextArrow.hide()),!0===t.options.dots&&t.slideCount>t.options.slidesToShow&&t.$dots.hide(),t.$slider.addClass("slick-loading")},o.prototype.swipeDirection=function(){var t=this.touchObject.startX-this.touchObject.curX,e=this.touchObject.startY-this.touchObject.curY,t=Math.atan2(e,t),t=Math.round(180*t/Math.PI);return(t=t<0?360-Math.abs(t):t)<=45&&0<=t||t<=360&&315<=t?!1===this.options.rtl?"left":"right":135<=t&&t<=225?!1===this.options.rtl?"right":"left":!0===this.options.verticalSwiping?35<=t&&t<=135?"down":"up":"vertical"},o.prototype.swipeEnd=function(t){var e,i,s=this;if(s.dragging=!1,s.interrupted=!1,s.shouldClick=!(10<s.touchObject.swipeLength),void 0===s.touchObject.curX)return!1;if(!0===s.touchObject.edgeHit&&s.$slider.trigger("edge",[s,s.swipeDirection()]),s.touchObject.swipeLength>=s.touchObject.minSwipe){switch(i=s.swipeDirection()){case"left":case"down":e=s.options.swipeToSlide?s.checkNavigable(s.currentSlide+s.getSlideCount()):s.currentSlide+s.getSlideCount(),s.currentDirection=0;break;case"right":case"up":e=s.options.swipeToSlide?s.checkNavigable(s.currentSlide-s.getSlideCount()):s.currentSlide-s.getSlideCount(),s.currentDirection=1}"vertical"!=i&&(s.slideHandler(e),s.touchObject={},s.$slider.trigger("swipe",[s,i]))}else s.touchObject.startX!==s.touchObject.curX&&(s.slideHandler(s.currentSlide),s.touchObject={})},o.prototype.swipeHandler=function(t){var e=this;if(!(!1===e.options.swipe||"ontouchend"in document&&!1===e.options.swipe||!1===e.options.draggable&&-1!==t.type.indexOf("mouse")))switch(e.touchObject.fingerCount=t.originalEvent&&void 0!==t.originalEvent.touches?t.originalEvent.touches.length:1,e.touchObject.minSwipe=e.listWidth/e.options.touchThreshold,!0===e.options.verticalSwiping&&(e.touchObject.minSwipe=e.listHeight/e.options.touchThreshold),t.data.action){case"start":e.swipeStart(t);break;case"move":e.swipeMove(t);break;case"end":e.swipeEnd(t)}},o.prototype.swipeMove=function(t){var e,i,s=this,n=void 0!==t.originalEvent?t.originalEvent.touches:null;return!(!s.dragging||n&&1!==n.length)&&(e=s.getLeft(s.currentSlide),s.touchObject.curX=void 0!==n?n[0].pageX:t.clientX,s.touchObject.curY=void 0!==n?n[0].pageY:t.clientY,s.touchObject.swipeLength=Math.round(Math.sqrt(Math.pow(s.touchObject.curX-s.touchObject.startX,2))),!0===s.options.verticalSwiping&&(s.touchObject.swipeLength=Math.round(Math.sqrt(Math.pow(s.touchObject.curY-s.touchObject.startY,2)))),"vertical"!==(i=s.swipeDirection())?(void 0!==t.originalEvent&&4<s.touchObject.swipeLength&&t.preventDefault(),n=(!1===s.options.rtl?1:-1)*(s.touchObject.curX>s.touchObject.startX?1:-1),!0===s.options.verticalSwiping&&(n=s.touchObject.curY>s.touchObject.startY?1:-1),t=s.touchObject.swipeLength,(s.touchObject.edgeHit=!1)===s.options.infinite&&(0===s.currentSlide&&"right"===i||s.currentSlide>=s.getDotCount()&&"left"===i)&&(t=s.touchObject.swipeLength*s.options.edgeFriction,s.touchObject.edgeHit=!0),!1===s.options.vertical?s.swipeLeft=e+t*n:s.swipeLeft=e+t*(s.$list.height()/s.listWidth)*n,!0===s.options.verticalSwiping&&(s.swipeLeft=e+t*n),!0!==s.options.fade&&!1!==s.options.touchMove&&(!0===s.animating?(s.swipeLeft=null,!1):void s.setCSS(s.swipeLeft))):void 0)},o.prototype.swipeStart=function(t){var e,i=this;if(i.interrupted=!0,1!==i.touchObject.fingerCount||i.slideCount<=i.options.slidesToShow)return!(i.touchObject={});void 0!==t.originalEvent&&void 0!==t.originalEvent.touches&&(e=t.originalEvent.touches[0]),i.touchObject.startX=i.touchObject.curX=void 0!==e?e.pageX:t.clientX,i.touchObject.startY=i.touchObject.curY=void 0!==e?e.pageY:t.clientY,i.dragging=!0},o.prototype.unfilterSlides=o.prototype.slickUnfilter=function(){null!==this.$slidesCache&&(this.unload(),this.$slideTrack.children(this.options.slide).detach(),this.$slidesCache.appendTo(this.$slideTrack),this.reinit())},o.prototype.unload=function(){var t=this;h(".slick-cloned",t.$slider).remove(),t.$dots&&t.$dots.remove(),t.$prevArrow&&t.htmlExpr.test(t.options.prevArrow)&&t.$prevArrow.remove(),t.$nextArrow&&t.htmlExpr.test(t.options.nextArrow)&&t.$nextArrow.remove(),t.$slides.removeClass("slick-slide slick-active slick-visible slick-current").attr("aria-hidden","true").css("width","")}
1,o.prototype.unslick=function(t){this.$slider.trigger("unslick",[this,t]),this.destroy()},o.prototype.updateArrows=function(){var t=this;Math.floor(t.options.slidesToShow/2);!0===t.options.arrows&&t.slideCount>t.options.slidesToShow&&!t.options.infinite&&(t.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false"),t.$nextArrow.removeClass("slick-disabled").attr("aria-disabled","false"),0===t.currentSlide?(t.$prevArrow.addClass("slick-disabled").attr("aria-disabled","true"),t.$nextArrow.removeClass("slick-disabled").attr("aria-disabled","false")):(t.currentSlide>=t.slideCount-t.options.slidesToShow&&!1===t.options.centerMode||t.currentSlide>=t.slideCount-1&&!0===t.options.centerMode)&&(t.$nextArrow.addClass("slick-disabled").attr("aria-disabled","true"),t.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false")))},o.prototype.updateDots=function(){null!==this.$dots&&(this.$dots.find("li").removeClass("slick-active").attr("aria-hidden","true"),this.$dots.find("li").eq(Math.floor(this.currentSlide/this.options.slidesToScroll)).addClass("slick-active").attr("aria-hidden","false"))},o.prototype.visibility=function(){this.options.autoplay&&(document[this.hidden]?this.interrupted=!0:this.interrupted=!1)},h.fn.slick=function(){for(var t,e=arguments[0],i=Array.prototype.slice.call(arguments,1),s=this.length,n=0;n<s;n++)if("object"==typeof e||void 0===e?this[n].slick=new o(this[n],e):t=this[n].slick[e].apply(this[n].slick,i),void 0!==t)return t;return this}}),function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):t.videojs=e()}(this,function(){var a="6.4.0",t="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function e(t,e){return t(e={exports:{}},e.exports),e.exports}var h="undefined"!=typeof window?window:void 0!==t?t:"undefined"!=typeof self?self:{},i={},s=(Object.freeze||Object)({default:i}),n=void 0!==t?t:"undefined"!=typeof window?window:{},o="undefined"!=typeof document?document:(o=n["__GLOBAL_DOCUMENT_CACHE@4"])||(n["__GLOBAL_DOCUMENT_CACHE@4"]=s&&i),c=o,r=h.navigator&&h.navigator.userAgent||"",l=/AppleWebKit\/([\d.]+)/i.exec(r),u=l?parseFloat(l.pop()):null,d=/iPad/i.test(r),p=/iPhone/i.test(r)&&!d,f=/iPod/i.test(r),g=p||d||f,m=(si=r.match(/OS (\d+)_/i))&&si[1]?si[1]:null,v=/Android/i.test(r),y=function(){var t=r.match(/Android (\d+)(?:\.(\d+))?(?:\.(\d+))*/i);if(!t)return null;var e=t[1]&&parseFloat(t[1]),i=t[2]&&parseFloat(t[2]);return e&&i?parseFloat(t[1]+"."+t[2]):e||null}(),_=v&&/webkit/i.test(r)&&y<2.3,b=v&&y<5&&u<537,w=/Firefox/i.test(r),C=/Edge/i.test(r),k=!C&&/Chrome/i.test(r),T=(xi=r.match(/Chrome\/(\d+)/))&&xi[1]?parseFloat(xi[1]):null,x=/MSIE\s8\.0/.test(r),S=Mi=!(Mi=(Mi=/MSIE\s(\d+)\.\d/.exec(r))&&parseFloat(Mi[1]))&&/Trident\/7.0/i.test(r)&&/rv:11.0/.test(r)?11:Mi,E=/Safari/i.test(r)&&!k&&!v&&!C,I=E||g,D=Z()&&("ontouchstart"in h||h.DocumentTouch&&h.document instanceof h.DocumentTouch),M=Z()&&"backgroundSize"in h.document.createElement("video").style,P=(Object.freeze||Object)({IS_IPAD:d,IS_IPHONE:p,IS_IPOD:f,IS_IOS:g,IOS_VERSION:m,IS_ANDROID:v,ANDROID_VERSION:y,IS_OLD_ANDROID:_,IS_NATIVE_ANDROID:b,IS_FIREFOX:w,IS_EDGE:C,IS_CHROME:k,CHROME_VERSION:T,IS_IE8:x,IE_VERSION:S,IS_SAFARI:E,IS_ANY_SAFARI:I,TOUCH_ENABLED:D,BACKGROUND_SIZE_SUPPORTED:M}),A="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},O=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},N=function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);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)},z=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e},t=function(t,e){return t.raw=e,t}
1,j=Object.prototype.toString,L=function(t){return F(t)?Object.keys(t):[]};function H(e,i){L(e).forEach(function(t){return i(e[t],t)})}function R(i){for(var t=arguments.length,e=Array(1<t?t-1:0),s=1;s<t;s++)e[s-1]=arguments[s];return Object.assign?Object.assign.apply(Object,[i].concat(e)):(e.forEach(function(t){t&&H(t,function(t,e){i[e]=t})}),i)}function F(t){return!!t&&"object"===(void 0===t?"undefined":A(t))}function $(t){return F(t)&&"[object Object]"===j.call(t)&&t.constructor===Object}function B(t,e){var i=2<arguments.length&&void 0!==arguments[2]?arguments[2]:!!S&&S<11,s=W.levels[V],n=new RegExp("^("+s+")$");"log"!==t&&e.unshift(t.toUpperCase()+":"),U&&U.push([].concat(e)),e.unshift("VIDEOJS:");var o=h.console&&h.console[t];o&&s&&n.test(t)&&(i&&(e=e.map(function(e){if(F(e)||Array.isArray(e))try{return JSON.stringify(e)}catch(t){return String(e)}return String(e)}).join(" ")),o.apply?o[Array.isArray(e)?"apply":"call"](h.console,e):o(e))}var W=void 0,V="all",U=[];(W=function(){for(var t=arguments.length,e=Array(t),i=0;i<t;i++)e[i]=arguments[i];B("log",e)}).levels={all:"log|warn|error",error:"error",off:"",warn:"warn|error",DEFAULT:V},W.level=function(t){if("string"==typeof t){if(!W.levels.hasOwnProperty(t))throw new Error('"'+t+'" in not a valid log level');V=t}return V},W.history=function(){return U?[].concat(U):[]},W.history.clear=function(){U&&(U.length=0)},W.history.disable=function(){null!==U&&(U.length=0,U=null)},W.history.enable=function(){null===U&&(U=[])},W.error=function(){for(var t=arguments.length,e=Array(t),i=0;i<t;i++)e[i]=arguments[i];return B("error",e)},W.warn=function(){for(var t=arguments.length,e=Array(t),i=0;i<t;i++)e[i]=arguments[i];return B("warn",e)};var q=W;var Y=function(t){for(var e="",i=0;i<arguments.length;i++)e+=t[i].replace(/\n\r?\s*/g,"")+(arguments[i+1]||"");return e};function K(t,e){if(!t||!e)return"";if("function"!=typeof h.getComputedStyle)return t.currentStyle[e]||"";t=h.getComputedStyle(t);return t?t[e]:""}var X=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 ","."],["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 ","."]);function G(t){return"string"==typeof t&&/\S/.test(t)}function Q(t){if(/\s/.test(t))throw new Error("class has illegal whitespace characters")}function Z(){return c===h.document&&void 0!==c.createElement}function J(t){return F(t)&&1===t.nodeType}function tt(){try{return h.parent!==h.self}catch(t){return!0}}function et(i){return function(t,e){if(!G(t))return c[i](null);e=J(e=G(e)?c.querySelector(e):e)?e:c;return e[i]&&e[i](t)}}function it(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:"div",i=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},e=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{},s=arguments[3],n=c.createElement(t);return Object.getOwnPropertyNames(i).forEach(function(t){var e=i[t];-1!==t.indexOf("aria-")||"role"===t||"type"===t?(q.warn(Y(X,t,e)),n.setAttribute(t,e)):"textContent"===t?st(n,e):n[t]=e}),Object.getOwnPropertyNames(e).forEach(function(t){n.setAttribute(t,e[t])}),s&&Ct(n,s),n}function st(t,e){return void 0===t.textContent?t.innerText=e:t.textContent=e,t}function nt(t,e){e.firstChild?e.insertBefore(t,e.firstChild):e.appendChild(t)}function ot(t,e){return Q(e),t.classList?t.classList.contains(e):new RegExp("(^|\\s)"+e+"($|\\s)").test(t.className)}function rt(t,e){return t.classList?t.classList.add(e):ot(t,e)||(t.className=(t.className+" "+e).trim()),t}function at(t,e){return t.classList?t.classList.remove(e):(Q(e),t.className=t.className.split(/\s+/).filter(function(t){return t!==e}).join(" ")),t}function lt(t,e,i){var s=ot(t,e);if((i="boolean"!=typeof(i="function"==typeof i?i(t,e):i)?!s:i)!==s)return(i?rt:at)(t,e),t}function ht(i,s){Object.getOwnPropertyNames(s).forEach(function(t){var e=s[t];null==e||!1===e?i.removeAttribute(t):i.setAttribute(t,!0===e?"":e)})}function ct(t){var e={},i=",autoplay,controls,playsinline,loop,muted,default,defaultMuted,";if(t&&t.attributes&&0<t.attributes.length)for(var s=t.attributes,n=s.length-1;0<=n;n--){var o=s[n].name,r=s[n].value;"boolean"!=typeof t[o]&&-1===i.indexOf(","+o+",")||(r=null!==r),e[o]=r}return e}function ut(t,e){return t.getAttribute(e)}function dt(t,e,i){t.setAttribute(e,i)}function pt(t,e){t.removeAttribute(e)}function ft(){c.body.focus(),c.onselectstart=function(){return!1}}function gt(){c.onselectstart=function(){return!0}}function mt(t){if(t&&t.getBoundingClientRect&&t.parentNode){var e=t.getBoundingClientRect(),i={};return["bottom","height","left","right","top","width"].forEach(function(t){void 0!==e[t]&&(i[t]=e[t])}),i.height||(i.height=parseFloat(K(t,"height"))),i.width||(i.width=parseFloat(K(t,"width"))),i}}function vt(t){var e=void 0;if(!(e=t.getBoundingClientRect&&t.parentNode?t.getBoundingClientRect():e))return{left:0,top:0};var i=c.documentElement,s=c.body,n=i.clientLeft||s.clientLeft||0,t=h.pageXOffset||s.scrollLeft,n=e.left+t-n,i=i.clientTop||s.clientTop||0,s=h.pageYOffset||s.scrollTop,i=e.top+s-i;return{left:Math.round(n),top:Math.round(i)}}function yt(t,e){var i={},s=vt(t),n=t.offsetWidth,o=t.offsetHeight,r=s.top,a=s.left,t=e.pageY,s=e.pageX;return e.changedTouches&&(s=e.changedTouches[0].pageX,t=e.changedTouches[0].pageY),i.y=Math.max(0,Math.min(1,(r-t+o)/o)),i.x=Math.max(0,Math.min(1,(s-a)/n)),i}function _t(t){return F(t)&&3===t.nodeType}function bt(t){for(;t.firstChild;)t.removeChild(t.firstChild);return t}function wt(t){return"function"==typeof t&&(t=t()),(Array.isArray(t)?t:[t]).map(function(t){return J(t="function"==typeof t?t():t)||_t(t)?t:"string"==typeof t&&/\S/.test(t)?c.createTextNode(t):void 0}).filter(function(t){return t})}function Ct(e,t){return wt(t).forEach(function(t){return e.appendChild(t)}),e}function kt(t,e){return Ct(bt(t),e)}var Tt=et("querySelector"),xt=et("querySelectorAll"),St=(Object.freeze||Object)({isReal:Z,isEl:J,isInFrame:tt,createEl:it,textContent:st,prepe
1ndTo:nt,hasClass:ot,addClass:rt,removeClass:at,toggleClass:lt,setAttributes:ht,getAttributes:ct,getAttribute:ut,setAttribute:dt,removeAttribute:pt,blockTextSelection:ft,unblockTextSelection:gt,getBoundingClientRect:mt,findPosition:vt,getPointerPosition:yt,isTextNode:_t,emptyEl:bt,normalizeContent:wt,appendContent:Ct,insertContent:kt,$:Tt,$$:xt}),Et=1;var It={},Dt="vdata"+(new Date).getTime();function Mt(t){var e=(e=t[Dt])||(t[Dt]=Et++);return It[e]||(It[e]={}),It[e]}function Pt(t){t=t[Dt];return t&&Object.getOwnPropertyNames(It[t]).length}function At(e){var t=e[Dt];if(t){delete It[t];try{delete e[Dt]}catch(t){e.removeAttribute?e.removeAttribute(Dt):e[Dt]=null}}}function Ot(t,e){var i=Mt(t);0===i.handlers[e].length&&(delete i.handlers[e],t.removeEventListener?t.removeEventListener(e,i.dispatcher,!1):t.detachEvent&&t.detachEvent("on"+e,i.dispatcher)),Object.getOwnPropertyNames(i.handlers).length<=0&&(delete i.handlers,delete i.dispatcher,delete i.disabled),0===Object.getOwnPropertyNames(i).length&&At(t)}function Nt(e,i,t,s){t.forEach(function(t){e(i,t,s)})}function zt(t){function e(){return!0}function i(){return!1}if(!t||!t.isPropagationStopped){var s,n,o,r=t||h.event;for(s in t={},r)"layerX"!==s&&"layerY"!==s&&"keyLocation"!==s&&"webkitMovementX"!==s&&"webkitMovementY"!==s&&("returnValue"===s&&r.preventDefault||(t[s]=r[s]));t.target||(t.target=t.srcElement||c),t.relatedTarget||(t.relatedTarget=t.fromElement===t.target?t.toElement:t.fromElement),t.preventDefault=function(){r.preventDefault&&r.preventDefault(),t.returnValue=!1,r.returnValue=!1,t.defaultPrevented=!0},t.defaultPrevented=!1,t.stopPropagation=function(){r.stopPropagation&&r.stopPropagation(),t.cancelBubble=!0,r.cancelBubble=!0,t.isPropagationStopped=e},t.isPropagationStopped=i,t.stopImmediatePropagation=function(){r.stopImmediatePropagation&&r.stopImmediatePropagation(),t.isImmediatePropagationStopped=e,t.stopPropagation()},t.isImmediatePropagationStopped=i,null!==t.clientX&&void 0!==t.clientX&&(n=c.documentElement,o=c.body,t.pageX=t.clientX+(n&&n.scrollLeft||o&&o.scrollLeft||0)-(n&&n.clientLeft||o&&o.clientLeft||0),t.pageY=t.clientY+(n&&n.scrollTop||o&&o.scrollTop||0)-(n&&n.clientTop||o&&o.clientTop||0)),t.which=t.charCode||t.keyCode,null!==t.button&&void 0!==t.button&&(t.button=1&t.button?0:4&t.button?1:2&t.button?2:0)}return t}var jt=!1;!function(){try{var t=Object.defineProperty({},"passive",{get:function(){jt=!0}});h.addEventListener("test",null,t)}catch(t){}}();var Lt=["touchstart","touchmove"];function Ht(r,t,e){if(Array.isArray(t))return Nt(Ht,r,t,e);var a=Mt(r);a.handlers||(a.handlers={}),a.handlers[t]||(a.handlers[t]=[]),e.guid||(e.guid=Et++),a.handlers[t].push(e),a.dispatcher||(a.disabled=!1,a.dispatcher=function(t,e){if(!a.disabled){t=zt(t);var i=a.handlers[t.type];if(i)for(var s=i.slice(0),n=0,o=s.length;n<o&&!t.isImmediatePropagationStopped();n++)try{s[n].call(r,t,e)}catch(t){q.error(t)}}}),1===a.handlers[t].length&&(r.addEventListener?(e=!1,jt&&-1<Lt.indexOf(t)&&(e={passive:!0}),r.addEventListener(t,a.dispatcher,e)):r.attachEvent&&r.attachEvent("on"+t,a.dispatcher))}function Rt(e,t,i){if(Pt(e)){var s=Mt(e);if(s.handlers){if(Array.isArray(t))return Nt(Rt,e,t,i);function n(t){s.handlers[t]=[],Ot(e,t)}if(void 0!==t){var o=s.handlers[t];if(o)if(i){if(i.guid)for(var r=0;r<o.length;r++)o[r].guid===i.guid&&o.splice(r--,1);Ot(e,t)}else n(t)}else for(var a in s.handlers)Object.prototype.hasOwnProperty.call(s.handlers||{},a)&&n(a)}}}function Ft(t,e,i){var s=Pt(t)?Mt(t):{},n=t.parentNode||t.ownerDocument;return e=zt(e="string"==typeof e?{type:e,target:t}:e),s.dispatcher&&s.dispatcher.call(t,e,i),n&&!e.isPropagationStopped()&&!0===e.bubbles?Ft.call(null,n,e,i):n||e.defaultPrevented||(n=Mt(e.target),e.target[e.type]&&(n.disabled=!0,"function"==typeof e.target[e.type]&&e.target[e.type](),n.disabled=!1)),!e.defaultPrevented}function $t(t,e,i){if(Array.isArray(e))return Nt($t,t,e,i);function s(){Rt(t,e,s),i.apply(this,arguments)}s.guid=i.guid=i.guid||Et++,Ht(t,e,s)}var Bt=(Object.freeze||Object)({fixEvent:zt,on:Ht,off:Rt,trigger:Ft,one:$t}),Wt=!1,Vt=void 0,Ut=function(){if(Z()){var t=c.getElementsByTagName("video"),e=c.getElementsByTagName("audio"),i=[];if(t&&0<t.length)for(var s=0,n=t.length;s<n;s++)i.push(t[s]);if(e&&0<e.length)for(var o=0,r=e.length;o<r;o++)i.push(e[o]);if(i&&0<i.length)for(var a=0,l=i.length;a<l;a++){var h=i[a];if(!h||!h.getAttribute){qt(1);break}void 0===h.player&&null!==h.getAttribute("data-setup")&&Vt(h)}else Wt||qt(1)}};function qt(t,e){e&&(Vt=e),h.setTimeout(Ut,t)}Z()&&"complete"===c.readyState?Wt=!0:$t(h,"load",function(){Wt=!0});function Yt(t){var e=c.createElement("style");return e.className=t,e}function Kt(t,e){t.styleSheet?t.styleSheet.cssText=e:t.textContent=e}function Xt(){}
1var Gt=function(t,e,i){e.guid||(e.guid=Et++);function s(){return e.apply(t,arguments)}return s.guid=i?i+"_"+e.guid:e.guid,s},Qt=function(e,i){var s=Date.now();return function(){var t=Date.now();i<=t-s&&(e.apply(void 0,arguments),s=t)}};Xt.prototype.allowedEvents_={},Xt.prototype.addEventListener=Xt.prototype.on=function(t,e){var i=this.addEventListener;this.addEventListener=function(){},Ht(this,t,e),this.addEventListener=i},Xt.prototype.removeEventListener=Xt.prototype.off=function(t,e){Rt(this,t,e)},Xt.prototype.one=function(t,e){var i=this.addEventListener;this.addEventListener=function(){},$t(this,t,e),this.addEventListener=i},Xt.prototype.trigger=function(t){var e=t.type||t;t=zt(t="string"==typeof t?{type:e}:t),this.allowedEvents_[e]&&this["on"+e]&&this["on"+e](t),Ft(this,t)},Xt.prototype.dispatchEvent=Xt.prototype.trigger;function Zt(t){return"string"==typeof t&&/\S/.test(t)||Array.isArray(t)&&!!t.length}function Jt(t){if(!t.nodeName&&!ne(t))throw new Error("Invalid target; must be a DOM node or evented object.")}function te(t){if(!Zt(t))throw new Error("Invalid event type; must be a non-empty string or array.")}function ee(t){if("function"!=typeof t)throw new Error("Invalid listener; must be a function.")}function ie(t,e){var i=e.length<3||e[0]===t||e[0]===t.eventBusEl_,s=void 0,n=void 0,o=void 0,o=i?(s=t.eventBusEl_,3<=e.length&&e.shift(),n=e[0],e[1]):(s=e[0],n=e[1],e[2]);return Jt(s),te(n),ee(o),{isTargetingSelf:i,target:s,type:n,listener:o=Gt(t,o)}}function se(t,e,i,s){Jt(t),t.nodeName?Bt[e](t,i,s):t[e](i,s)}var ne=function(e){return e instanceof Xt||!!e.eventBusEl_&&["on","one","off","trigger"].every(function(t){return"function"==typeof e[t]})},oe={on:function(){for(var t=this,e=arguments.length,i=Array(e),s=0;s<e;s++)i[s]=arguments[s];var n,o=ie(this,i),r=o.isTargetingSelf,a=o.target,l=o.type,h=o.listener;se(a,"on",l,h),r||((n=function(){return t.off(a,l,h)}).guid=h.guid,(r=function(){return t.off("dispose",n)}).guid=h.guid,se(this,"on","dispose",n),se(a,"on","dispose",r))},one:function(){for(var n=this,t=arguments.length,e=Array(t),i=0;i<t;i++)e[i]=arguments[i];var s=ie(this,e),o=s.isTargetingSelf,r=s.target,a=s.type,l=s.listener;o?se(r,"one",a,l):((o=function t(){for(var e=arguments.length,i=Array(e),s=0;s<e;s++)i[s]=arguments[s];n.off(r,a,t),l.apply(null,i)}).guid=l.guid,se(r,"one",a,o))},off:function(t,e,i){!t||Zt(t)?Rt(this.eventBusEl_,t,e):(e=e,Jt(t=t),te(e),ee(i),i=Gt(this,i),this.off("dispose",i),t.nodeName?(Rt(t,e,i),Rt(t,"dispose",i)):ne(t)&&(t.off(e,i),t.off("dispose",i)))},trigger:function(t,e){return Ft(this.eventBusEl_,t,e)}};function re(t,e){var i=(1<arguments.length&&void 0!==e?e:{}).eventBusKey;if(i){if(!t[i].nodeName)throw new Error('The eventBusKey "'+i+'" does not refer to an element.');t.eventBusEl_=t[i]}else t.eventBusEl_=it("span",{className:"vjs-event-bus"});return R(t,oe),t.on("dispose",function(){return t.off()}),t}var ae={state:{},setState:function(t){var i=this;"function"==typeof t&&(t=t());var s=void 0;return H(t,function(t,e){i.state[e]!==t&&((s=s||{})[e]={from:i.state[e],to:t}),i.state[e]=t}),s&&ne(this)&&this.trigger({changes:s,type:"statechanged"}),s}};function le(t,e){return R(t,ae),t.state=R({},t.state,e),"function"==typeof t.handleStateChanged&&ne(t)&&t.on("statechanged",t.handleStateChanged),t}function he(t){return"string"!=typeof t?t:t.charAt(0).toUpperCase()+t.slice(1)}function ce(){for(var i={},t=arguments.length,e=Array(t),s=0;s<t;s++)e[s]=arguments[s];return e.forEach(function(t){t&&H(t,function(t,e){$(t)?($(i[e])||(i[e]={}),i[e]=ce(i[e],t)):i[e]=t})}),i}var ue=(de.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.el_&&(this.el_.parentNode&&this.el_.parentNode.removeChild(this.el_),At(this.el_),this.el_=null)},de.prototype.player=function(){return this.player_},de.prototype.options=function(t){return q.warn("this.options() has been deprecated and will be moved to the constructor in 6.0"),t&&(this.options_=ce(this.options_,t)),this.options_},de.prototype.el=function(){return this.el_}
1,de.prototype.createEl=function(t,e,i){return it(t,e,i)},de.prototype.localize=function(t,i){var e=2<arguments.length&&void 0!==arguments[2]?arguments[2]:t,s=this.player_.language&&this.player_.language(),n=this.player_.languages&&this.player_.languages(),o=n&&n[s],s=s&&s.split("-")[0],s=n&&n[s],e=e;return o&&o[t]?e=o[t]:s&&s[t]&&(e=s[t]),e=i?e.replace(/\{(\d+)\}/g,function(t,e){e=i[e-1];return void 0===e?t:e}):e},de.prototype.contentEl=function(){return this.contentEl_||this.el_},de.prototype.id=function(){return this.id_},de.prototype.name=function(){return this.name_},de.prototype.children=function(){return this.children_},de.prototype.getChildById=function(t){return this.childIndex_[t]},de.prototype.getChild=function(t){if(t)return t=he(t),this.childNameIndex_[t]},de.prototype.addChild=function(t){var e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},i=2<arguments.length&&void 0!==arguments[2]?arguments[2]:this.children_.length,s=void 0,n=void 0;if("string"==typeof t){var n=he(t),o=e.componentClass||n;e.name=n;var r=de.getComponent(o);if(!r)throw new Error("Component "+o+" does not exist");if("function"!=typeof r)return null;s=new r(this.player_||this,e)}else s=t;return this.children_.splice(i,0,s),"function"==typeof s.id&&(this.childIndex_[s.id()]=s),(n=n||s.name&&he(s.name()))&&(this.childNameIndex_[n]=s),"function"==typeof s.el&&s.el()&&(i=this.contentEl().children[i]||null,this.contentEl().insertBefore(s.el(),i)),s},de.prototype.removeChild=function(t){if((t="string"==typeof t?this.getChild(t):t)&&this.children_){for(var e,i=!1,s=this.children_.length-1;0<=s;s--)if(this.children_[s]===t){i=!0,this.children_.splice(s,1);break}i&&(this.childIndex_[t.id()]=null,this.childNameIndex_[t.name()]=null,(e=t.el())&&e.parentNode===this.contentEl()&&this.contentEl().removeChild(t.el()))}},de.prototype.initChildren=function(){var i,e,t,s=this,n=this.options_.children;n&&(i=this.options_,t=void 0,e=de.getComponent("Tech"),(t=Array.isArray(n)?n:Object.keys(n)).concat(Object.keys(this.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,i=void 0,i="string"==typeof t?n[e=t]||s.options_[e]||{}:(e=t.name,t);return{name:e,opts:i}}).filter(function(t){t=de.getComponent(t.opts.componentClass||he(t.name));return t&&!e.isTech(t)}).forEach(function(t){var e=t.name,t=t.opts;!1!==(t=void 0!==i[e]?i[e]:t)&&((t=!0===t?{}:t).playerOptions=s.options_.playerOptions,(t=s.addChild(e,t))&&(s[e]=t))}))},de.prototype.buildCSSClass=function(){return""},de.prototype.ready=function(t){if(t)return this.isReady_?void(1<arguments.length&&void 0!==arguments[1]&&arguments[1]?t.call(this):this.setTimeout(t,1)):(this.readyQueue_=this.readyQueue_||[],void this.readyQueue_.push(t))},de.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)},de.prototype.$=function(t,e){return Tt(t,e||this.contentEl())},de.prototype.$$=function(t,e){return xt(t,e||this.contentEl())},de.prototype.hasClass=function(t){return ot(this.el_,t)},de.prototype.addClass=function(t){rt(this.el_,t)},de.prototype.removeClass=function(t){at(this.el_,t)},de.prototype.toggleClass=function(t,e){lt(this.el_,t,e)},de.prototype.show=function(){this.removeClass("vjs-hidden")},de.prototype.hide=function(){this.addClass("vjs-hidden")},de.prototype.lockShowing=function(){this.addClass("vjs-lock-showing")},de.prototype.unlockShowing=function(){this.removeClass("vjs-lock-showing")},de.prototype.getAttribute=function(t){return ut(this.el_,t)},de.prototype.setAttribute=function(t,e){dt(this.el_,t,e)},de.prototype.removeAttribute=function(t){pt(this.el_,t)},de.prototype.width=function(t,e){return this.dimension("width",t,e)},de.prototype.height=function(t,e){return this.dimension("height",t,e)},de.prototype.dimensions=function(t,e){this.width(t,!0),this.height(e)},de.prototype.dimension=function(t,e,i){if(void 0!==e)return-1!==(""+(e=null===e||e!=e?0:e)).indexOf("%")||-1!==(""+e).indexOf("px")?this.el_.style[t]=e:this.el_.style[t]="auto"===e?"":e+"px",void(i||this.trigger("componentresize"));if(!this.el_)return 0;e=this.el_.style[t],i=e.indexOf("px");return-1!==i?parseInt(e.slice(0,i),10):parseInt(this.el_["offset"+he(t)],10)},de.prototype.currentDimension=function(t){var e,i=0;if("width"!==t&&"height"!==t)throw new Error("currentDimension only accepts width or height value");return"function"==typeof h.getComputedStyle&&(i=(e=h.getComputedStyle(this.el_)).getPropertyValue(t)||e[t]),0===(i=parseFloat(i))&&(t="offset"+he(t),i=this.el_[t]),i},de.prototype.currentDimensions=function(){return{width:this.currentDimension("width"),height:this.currentDimension("height")}},de.prototype.currentWidth=function(){return this.currentDimension("width")},de.prototype.currentHeight=function(){return this.currentDimension("height")}
1,de.prototype.focus=function(){this.el_.focus()},de.prototype.blur=function(){this.el_.blur()},de.prototype.emitTapEvents=function(){var e=0,i=null,s=void 0;this.on("touchstart",function(t){1===t.touches.length&&(i={pageX:t.touches[0].pageX,pageY:t.touches[0].pageY},e=(new Date).getTime(),s=!0)}),this.on("touchmove",function(t){var e;1<t.touches.length?s=!1:i&&(e=t.touches[0].pageX-i.pageX,t=t.touches[0].pageY-i.pageY,10<Math.sqrt(e*e+t*t)&&(s=!1))});function t(){s=!1}this.on("touchleave",t),this.on("touchcancel",t),this.on("touchend",function(t){!(i=null)===s&&(new Date).getTime()-e<200&&(t.preventDefault(),this.trigger("tap"))})},de.prototype.enableTouchActivity=function(){var e,i,t;this.player()&&this.player().reportUserActivity&&(e=Gt(this.player(),this.player().reportUserActivity),i=void 0,this.on("touchstart",function(){e(),this.clearInterval(i),i=this.setInterval(e,250)}),t=function(t){e(),this.clearInterval(i)},this.on("touchmove",e),this.on("touchend",t),this.on("touchcancel",t))},de.prototype.setTimeout=function(t,e){var i=this;t=Gt(this,t);var s=h.setTimeout(t,e),e=function(){return i.clearTimeout(s)};return e.guid="vjs-timeout-"+s,this.on("dispose",e),s},de.prototype.clearTimeout=function(t){h.clearTimeout(t);function e(){}return e.guid="vjs-timeout-"+t,this.off("dispose",e),t},de.prototype.setInterval=function(t,e){var i=this;t=Gt(this,t);var s=h.setInterval(t,e),e=function(){return i.clearInterval(s)};return e.guid="vjs-interval-"+s,this.on("dispose",e),s},de.prototype.clearInterval=function(t){h.clearInterval(t);function e(){}return e.guid="vjs-interval-"+t,this.off("dispose",e),t},de.prototype.requestAnimationFrame=function(t){var e=this;if(this.supportsRaf_){t=Gt(this,t);function i(){return e.cancelAnimationFrame(s)}var s=h.requestAnimationFrame(t);return i.guid="vjs-raf-"+s,this.on("dispose",i),s}return this.setTimeout(t,1e3/60)},de.prototype.cancelAnimationFrame=function(t){if(this.supportsRaf_){h.cancelAnimationFrame(t);function e(){}return e.guid="vjs-raf-"+t,this.off("dispose",e),t}return this.clearTimeout(t)},de.registerComponent=function(t,e){if("string"!=typeof t||!t)throw new Error('Illegal component name, "'+t+'"; must be a non-empty string.');var i=de.getComponent("Tech"),s=i&&i.isTech(e),i=de===e||de.prototype.isPrototypeOf(e.prototype);if(s||!i){var n=void 0,n=s?"techs must be registered using Tech.registerTech()":"must be a Component subclass";throw new Error('Illegal component, "'+t+'"; '+n+".")}t=he(t),de.components_||(de.components_={});n=de.getComponent("Player");if("Player"===t&&n&&n.players){var o=n.players,n=Object.keys(o);if(o&&0<n.length&&n.map(function(t){return o[t]}).every(Boolean))throw new Error("Can not register Player component after player has been created.")}return de.components_[t]=e},de.getComponent=function(t){if(t)return t=he(t),de.components_&&de.components_[t]?de.components_[t]:void 0},de);function de(t,e,i){O(this,de),!t&&this.play?this.player_=t=this:this.player_=t,this.options_=ce({},this.options_),e=this.options_=ce(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_"+Et++),this.name_=e.name||null,e.el?this.el_=e.el:!1!==e.createEl&&(this.el_=this.createEl()),re(this,{eventBusKey:this.el_?"el_":null}),le(this,this.constructor.defaultState),this.children_=[],this.childIndex_={},!(this.childNameIndex_={})!==e.initChildren&&this.initChildren(),this.ready(i),!1!==e.reportTouchActivity&&this.enableTouchActivity()}function pe(t,e,i,s){return function(t,e,i){if("number"!=typeof e||e<0||i<e)throw new Error("Failed to execute '"+t+"' on 'TimeRanges': The index provided ("+e+") is non-numeric or out of bounds (0-"+i+").")}(t,s,i.length-1),i[s][e]}function fe(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:pe.bind(null,"start",0,t),end:pe.bind(null,"end",1,t)}}function ge(t,e){return Array.isArray(t)?fe(t):void 0===t||void 0===e?fe():fe([[t,e]])}function me(t,e){var i,s=0,n=void 0;if(!e)return 0;t&&t.length||(t=ge(0,0));for(var o=0;o<t.length;o++)i=t.start(o),s+=(n=e<(n=t.end(o))?e:n)-i;return s/e}ue.prototype.supportsRaf_="function"==typeof h.requestAnimationFrame&&"function"==typeof h.cancelAnimationFrame,ue.registerComponent("Component",ue);for(var ve={},ye=[["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"]],_e=ye[0],be=void 0,we=0;we<ye.length;we++)if(ye[we][1]in c){be=ye[we];break}if(be)for(var Ce=0;Ce<be.length;Ce++)ve[_e[Ce]]=be[Ce];function ke(t){if(t instanceof ke)return t;"number"==typeof t?this.code=t:"string"==typeof t?this.message=t:F(t)&&("number"==typeof t.code&&(this.code=t.code),R(this,t)),this.message||(this.message=ke.defaultMessages[this.code]||"")}ke.prototype.code=0,ke.prototype.message="",ke.prototype.status=null,ke.errorTypes=["MEDIA_ERR_CUSTOM","MEDIA_ERR_ABORTED","MEDIA_ERR_NETWORK","MEDIA_ERR_DECODE","MEDIA_ERR_SRC_NOT_SUPPORTED","MEDIA_ERR_ENCRYPTED"],ke.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 Te=0;Te<ke.errorTypes.length;Te++)ke[ke.errorTypes[Te]]=Te,ke.prototype[ke.errorTypes[Te]]=Te;var xe=function(t,e){var i,s=null;try{i=JSON.parse(t,e)}catch(t){s=t}return[s,i]};function Se(s){return["kind","label","language","id","inBandMetadataTrackDispatchType","mode","src"].reduce(function(t,e,i){return s[e]&&(t[e]=s[e]),t},{cues:s.cues&&Array.prototype.map.call(s.cues,function(t){return{startTime:t.startTime,endTime:t.endTime,text:t.text,id:t.id}})})}var Ee,Ie=function(t){var e=t.$$("track"),i=Array.prototype.map.call(e,function(t){return t.track});return Array.prototype.map.call(e,function(t){var e=Se(t.track);return t.src&&(e.src=t.src),e}).concat(Array.prototype.filter.call(t.textTracks(),function(t){return-1===i.indexOf(t)}).map(Se))},De=function(t,i){return t.forEach(function(t){var e=i.addRemoteTextTrack(t).track;!t.src&&t.cues&&t.cues.forEach(function(t){return e.addCue(t)})}),i.textTracks()},Me="vjs-modal-dialog",Pe=(N(Ae,Ee=ue),Ae.prototype.createEl=function(){return Ee.prototype.createEl.call(this,"div",{className:this.buildCSSClass(),tabIndex:-1},{"aria-describedby":this.id()+"_description","aria-hidden":"true","aria-label":this.label(),role:"dialog"})},Ae.prototype.buildCSSClass=function(){return Me+" vjs-hidden "+Ee.prototype.buildCSSClass.call(this)},Ae.prototype.handleKeyPress=function(t){27===t.which&&this.closeable()&&this.close()},Ae.prototype.label=function(){return this.localize(this.options_.label||"Modal Window")},Ae.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},Ae.prototype.open=function(){var t;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.options_.pauseOnOpen&&this.wasPlaying_&&t.pause(),this.closeable()&&this.on(this.el_.ownerDocument,"keydown",Gt(this,this.handleKeyPress)),this.hadControls_=t.controls(),t.controls(!1),this.show(),this.conditionalFocus_(),this.el().setAttribute("aria-hidden","false"),this.trigger("modalopen"),this.hasBeenOpened_=!0)},Ae.prototype.opened=function(t){return"boolean"==typeof t&&this[t?"open":"close"](),this.opened_},Ae.prototype.close=function(){var t;this.opened_&&(t=this.player(),this.trigger("beforemodalclose"),this.opened_=!1,this.wasPlaying_&&this.options_.pauseOnOpe
1n&&t.play(),this.closeable()&&this.off(this.el_.ownerDocument,"keydown",Gt(this,this.handleKeyPress)),this.hadControls_&&t.controls(!0),this.hide(),this.el().setAttribute("aria-hidden","true"),this.trigger("modalclose"),this.conditionalBlur_(),this.options_.temporary&&this.dispose())},Ae.prototype.closeable=function(t){var e,i;return"boolean"==typeof t&&(e=this.closeable_=!!t,i=this.getChild("closeButton"),e&&!i&&(t=this.contentEl_,this.contentEl_=this.el_,i=this.addChild("closeButton",{controlText:"Close Modal Dialog"}),this.contentEl_=t,this.on(i,"close",this.close)),!e&&i&&(this.off(i,"close",this.close),this.removeChild(i),i.dispose())),this.closeable_},Ae.prototype.fill=function(){this.fillWith(this.content())},Ae.prototype.fillWith=function(t){var e=this.contentEl(),i=e.parentNode,s=e.nextSibling;this.trigger("beforemodalfill"),this.hasBeenFilled_=!0,i.removeChild(e),this.empty(),kt(e,t),this.trigger("modalfill"),s?i.insertBefore(e,s):i.appendChild(e);e=this.getChild("closeButton");e&&i.appendChild(e.el_)},Ae.prototype.empty=function(){this.trigger("beforemodalempty"),bt(this.contentEl()),this.trigger("modalempty")},Ae.prototype.content=function(t){return void 0!==t&&(this.content_=t),this.content_},Ae.prototype.conditionalFocus_=function(){var t=c.activeElement,e=this.player_.el_;this.previouslyActiveEl_=null,!e.contains(t)&&e!==t||(this.previouslyActiveEl_=t,this.focus(),this.on(c,"keydown",this.handleKeyDown))},Ae.prototype.conditionalBlur_=function(){this.previouslyActiveEl_&&(this.previouslyActiveEl_.focus(),this.previouslyActiveEl_=null),this.off(c,"keydown",this.handleKeyDown)},Ae.prototype.handleKeyDown=function(t){if(9===t.which){for(var e=this.focusableEls_(),i=this.el_.querySelector(":focus"),s=void 0,n=0;n<e.length;n++)if(i===e[n]){s=n;break}c.activeElement===this.el_&&(s=0),t.shiftKey&&0===s?(e[e.length-1].focus(),t.preventDefault()):t.shiftKey||s!==e.length-1||(e[0].focus(),t.preventDefault())}},Ae.prototype.focusableEls_=function(){var t=this.el_.querySelectorAll("*");return Array.prototype.filter.call(t,function(t){return(t instanceof h.HTMLAnchorElement||t instanceof h.HTMLAreaElement)&&t.hasAttribute("href")||(t instanceof h.HTMLInputElement||t instanceof h.HTMLSelectElement||t instanceof h.HTMLTextAreaElement||t instanceof h.HTMLButtonElement)&&!t.hasAttribute("disabled")||t instanceof h.HTMLIFrameElement||t instanceof h.HTMLObjectElement||t instanceof h.HTMLEmbedElement||t.hasAttribute("tabindex")&&-1!==t.getAttribute("tabindex")||t.hasAttribute("contenteditable")})},Ae);function Ae(t,e){O(this,Ae);e=z(this,Ee.call(this,t,e));return e.opened_=e.hasBeenOpened_=e.hasBeenFilled_=!1,e.closeable(!e.options_.uncloseable),e.content(e.options_.content),e.contentEl_=it("div",{className:Me+"-content"},{role:"document"}),e.descEl_=it("p",{className:Me+"-description vjs-control-text",id:e.el().getAttribute("aria-describedby")}),st(e.descEl_,e.description()),e.el_.appendChild(e.descEl_),e.el_.appendChild(e.contentEl_),e}Pe.prototype.options_={pauseOnOpen:!0,temporary:!0},ue.registerComponent("ModalDialog",Pe);var Oe,Ne,ze=(N(je,Oe=Xt),je.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"}))},je.prototype.removeTrack=function(t){for(var e=void 0,i=0,s=this.length;i<s;i++)if(this[i]===t){(e=this[i]).off&&e.off(),this.tracks_.splice(i,1);break}e&&this.trigger({track:e,type:"removetrack"})},je.prototype.getTrackById=function(t){for(var e=null,i=0,s=this.length;i<s;i++){var n=this[i];if(n.id===t){e=n;break}}return e},je);function je(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:[],e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:null;O(this,je);var i=z(this,Oe.call(this));if(!e&&(e=i,x))for(var s in e=c.createElement("custom"),je.prototype)"constructor"!==s&&(e[s]=je.prototype[s]);e.tracks_=[],Object.defineProperty(e,"length",{get:function(){return this.tracks_.length}});for(var n=0;n<t.length;n++)e.addTrack(t[n]);return z(i,e)}for(Ne in ze.prototype.allowedEvents_={change:"change",addtrack:"addtrack",removetrack:"removetrack"},ze.prototype.allowedEvents_)ze.prototype["on"+Ne]=null;var Le,He=function(t,e){for(var i=0;i<t.length;i++)Object.keys(t[i]).length&&e.id!==t[i].id&&(t[i].enabled=!1)},n=(N(Re,Le=ze),Re.prototype.addTrack=function(t){var e=this;t.enabled&&He(this,t),Le.prototype.addTrack.call(this,t),t.addEventListener&&t.addEventListener("enabledchange",function(){e.changing_||(e.changing_=!0,He(e,t),e.changing_=!1,e.trigger("change"))})},Re);function Re(){var t,e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:[];O(this,Re);for(var i=void 0,s=e.length-1;0<=s;s--)if(e[s].enabled){He(e,e[s]);break}if(x){for(var n in i=c.createElement("custom"),ze.prototype)"constructor"!==n&&(i[n]=ze.prototype[n]);for(var o in Re.prototype)"constructor"!==o&&(i[o]=Re.prototype[o])}return(i=t=z(this,Le.call(this,e,i))).changing_=!1,z(t,i)}var Fe,$e=function(t,e){for(var i=0;i<t.length;i++)Object.keys(t[i]).length&&e.id!==t[i].id&&(t[i].selected=!1)},s=(N(Be,Fe=ze),Be.prototype.addTrack=function(t){var e=this;t.selected&&$e(this,t),Fe.prototype.addTrack.call(this,t),t.addEventListener&&t.addEventListener("selectedchange",function(){e.changing_||(e.changing_=!0,$e(e,t),e.changing_=!1,e.trigger("change"))})},Be);function Be(){var t,e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:[];O(this,Be);for(var i=void 0,s=e.length-1;0<=s;s--)if(e[s].selected){$e(e,e[s]);break}if(x){for(var n in i=c.createElement("custom"),ze.prototype)"constructor"!==n&&(i[n]=ze.prototype[n]);for(var o in Be.prototype)"constructor"!==o&&(i[o]=Be.prototype[o])}return(i=t=z(this,Fe.call(this,e,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(){}}),z(t,i)}var We,i=(N(Ve,We=ze),Ve.prototype.addTrack=function(t){We.prototype.addTrack.call(this,t),t.addEventListener("modechange",Gt(this,function(){this.trigger("change")}));-1===["metadata","chapters"].indexOf(t.kind)&&t.addEventListener("modechange",Gt(this,function(){this.trigger("selectedlanguagechange")}))},Ve);function Ve(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:[];O(this,Ve);var e=void 0;if(x){for(var i in e=c.createElement("custom"),ze.prototype)"constructor"!==i&&(e[i]=ze.prototype[i]);for(var s in Ve.prototype)"constructor"!==s&&(e[s]=Ve.prototype[s])}return t=z(this,We.call(this,t,e)),z(e=t,e)}Ue.prototype.addTrackElement_=function(t){var e=this.trackElements_.length;""+e in this||Object.defineProperty(this,e,{get:function(){return this.trackElements_[e]}}
1),-1===this.trackElements_.indexOf(t)&&this.trackElements_.push(t)},Ue.prototype.getTrackElementByTrack_=function(t){for(var e=void 0,i=0,s=this.trackElements_.length;i<s;i++)if(t===this.trackElements_[i].track){e=this.trackElements_[i];break}return e},Ue.prototype.removeTrackElement_=function(t){for(var e=0,i=this.trackElements_.length;e<i;e++)if(t===this.trackElements_[e]){this.trackElements_.splice(e,1);break}},o=Ue;function Ue(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:[];O(this,Ue);var e=this;if(x)for(var i in e=c.createElement("custom"),Ue.prototype)"constructor"!==i&&(e[i]=Ue.prototype[i]);e.trackElements_=[],Object.defineProperty(e,"length",{get:function(){return this.trackElements_.length}});for(var s=0,n=t.length;s<n;s++)e.addTrackElement_(t[s]);if(x)return e}var qe=(Ye.prototype.setCues_=function(t){var e=this.length||0,i=0,s=t.length;this.cues_=t,this.length_=t.length;function n(t){""+t in this||Object.defineProperty(this,""+t,{get:function(){return this.cues_[t]}})}if(e<s)for(i=e;i<s;i++)n.call(this,i)},Ye.prototype.getCueById=function(t){for(var e=null,i=0,s=this.length;i<s;i++){var n=this[i];if(n.id===t){e=n;break}}return e},Ye);function Ye(t){O(this,Ye);var e=this;if(x)for(var i in e=c.createElement("custom"),Ye.prototype)"constructor"!==i&&(e[i]=Ye.prototype[i]);if(Ye.prototype.setCues_.call(e,t),Object.defineProperty(e,"length",{get:function(){return this.length_}}),x)return e}var Ke,Xe={alternative:"alternative",captions:"captions",main:"main",sign:"sign",subtitles:"subtitles",commentary:"commentary"},Ge={alternative:"alternative",descriptions:"descriptions",main:"main","main-desc":"main-desc",translation:"translation",commentary:"commentary"},Qe={subtitles:"subtitles",captions:"captions",descriptions:"descriptions",chapters:"chapters",metadata:"metadata"},Ze={disabled:"disabled",hidden:"hidden",showing:"showing"},l=(N(Je,Ke=Xt),Je);function Je(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};O(this,Je);var e=z(this,Ke.call(this)),i=e;if(x)for(var s in i=c.createElement("custom"),Je.prototype)"constructor"!==s&&(i[s]=Je.prototype[s]);var n,o={id:t.id||"vjs_track_"+Et++,kind:t.kind||"",label:t.label||"",language:t.language||""};for(n in o)!function(t){Object.defineProperty(i,t,{get:function(){return o[t]},set:function(){}})}(n);return z(e,i)}function ti(t){var e=["protocol","hostname","port","pathname","search","hash","host"],i=c.createElement("a");i.href=t;var s=""===i.host&&"file:"!==i.protocol,n=void 0;s&&((n=c.createElement("div")).innerHTML='<a href="'+t+'"></a>',i=n.firstChild,n.setAttribute("style","display:none; position:absolute;"),c.body.appendChild(n));for(var o={},r=0;r<e.length;r++)o[e[r]]=i[e[r]];return"http:"===o.protocol&&(o.host=o.host.replace(/:80$/,"")),"https:"===o.protocol&&(o.host=o.host.replace(/:443$/,"")),o.protocol||(o.protocol=h.location.protocol),s&&c.body.removeChild(n),o}function ei(t){if("string"==typeof t){t=/^(\/?)([\s\S]*?)((?:\.{1,2}|[^\/]+?)(\.([^\.\/\?]+)))(?:[\/]*|[\?].*)$/i.exec(t);if(t)return t.pop().toLowerCase()}return""}var ii=function(t){var e=h.location,t=ti(t);return(":"===t.protocol?e:t).protocol+t.host!==e.protocol+e.host},si=(Object.freeze||Object)({parseUrl:ti,getAbsoluteURL:function(t){var e;return t.match(/^https?:\/\//)||((e=c.createElement("div")).innerHTML='<a href="'+t+'">x</a>',t=e.firstChild.href),t},getFileExtension:ei,isCrossOrigin:ii}),ni=function(t){var e=oi.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)},oi=Object.prototype.toString;var ri=e(function(t,e){(e=t.exports=function(t){return t.replace(/^\s*|\s*$/g,"")}).left=function(t){return t.replace(/^\s*/,"")},e.right=function(t){return t.replace(/\s*$/,"")}}),ai=function(t,e,i){if(!ni(e))throw new TypeError("iterator must be a function");arguments.length<3&&(i=this);("[object Array]"===li.call(t)?function(t,e,i){for(var s=0,n=t.length;s<n;s++)hi.call(t,s)&&e.call(i,t[s],s,t)}:"string"==typeof t?function(t,e,i){for(var s=0,n=t.length;s<n;s++)e.call(i,t.charAt(s),s,t)}
1:function(t,e,i){for(var s in t)hi.call(t,s)&&e.call(i,t[s],s,t)})(t,e,i)},li=Object.prototype.toString,hi=Object.prototype.hasOwnProperty;var ci=function(t){if(!t)return{};var s={};return ai(ri(t).split("\n"),function(t){var e=t.indexOf(":"),i=ri(t.slice(0,e)).toLowerCase(),t=ri(t.slice(e+1));void 0===s[i]?s[i]=t:(e=s[i],"[object Array]"===Object.prototype.toString.call(e)?s[i].push(t):s[i]=[s[i],t])}),s},ui=function(){for(var t={},e=0;e<arguments.length;e++){var i,s=arguments[e];for(i in s)di.call(s,i)&&(t[i]=s[i])}return t},di=Object.prototype.hasOwnProperty;var pi=gi;function fi(t,e,i){var s=t;return ni(e)?(i=e,"string"==typeof t&&(s={uri:t})):s=ui(e,{uri:t}),s.callback=i,s}function gi(t,e,i){return mi(e=fi(t,e,i))}function mi(s){if(void 0===s.callback)throw new Error("callback argument missing");var n=!1,o=function(t,e,i){n||(n=!0,s.callback(t,e,i))};function r(){var t=void 0,t=h.response||h.responseText||function(t){if("document"===t.responseType)return t.responseXML;var e=t.responseXML&&"parsererror"===t.responseXML.documentElement.nodeName;return""!==t.responseType||e?null:t.responseXML}(h);if(g)try{t=JSON.parse(t)}catch(t){}return t}function e(t){return clearTimeout(l),(t=!(t instanceof Error)?new Error(""+(t||"Unknown XMLHttpRequest Error")):t).statusCode=0,o(t,m)}function t(){if(!a){clearTimeout(l);var t=s.useXDR&&void 0===h.status?200:1223===h.status?204:h.status,e=m,i=null;return 0!==t?(e={body:r(),statusCode:t,method:u,headers:{},url:c,rawRequest:h},h.getAllResponseHeaders&&(e.headers=ci(h.getAllResponseHeaders()))):i=new Error("Internal XMLHttpRequest Error"),o(i,e,e.body)}}var i,a,l,h=s.xhr||null,c=(h=h||new(s.cors||s.useXDR?gi.XDomainRequest:gi.XMLHttpRequest)).url=s.uri||s.url,u=h.method=s.method||"GET",d=s.body||s.data,p=h.headers=s.headers||{},f=!!s.sync,g=!1,m={body:void 0,headers:{},statusCode:0,method:u,url:c,rawRequest:h};if("json"in s&&!1!==s.json&&(g=!0,p.accept||p.Accept||(p.Accept="application/json"),"GET"!==u&&"HEAD"!==u&&(p["content-type"]||p["Content-Type"]||(p["Content-Type"]="application/json"),d=JSON.stringify(!0===s.json?d:s.json))),h.onreadystatechange=function(){4===h.readyState&&setTimeout(t,0)},h.onload=t,h.onerror=e,h.onprogress=function(){},h.onabort=function(){a=!0},h.ontimeout=e,h.open(u,c,!f,s.username,s.password),f||(h.withCredentials=!!s.withCredentials),!f&&0<s.timeout&&(l=setTimeout(function(){var t;a||(a=!0,h.abort("timeout"),(t=new Error("XMLHttpRequest timeout")).code="ETIMEDOUT",e(t))},s.timeout)),h.setRequestHeader)for(i in p)p.hasOwnProperty(i)&&h.setRequestHeader(i,p[i]);else if(s.headers&&!function(t){for(var e in t)if(t.hasOwnProperty(e))return;return 1}(s.headers))throw new Error("Headers cannot be set on an XDomainRequest object");return"responseType"in s&&(h.responseType=s.responseType),"beforeSend"in s&&"function"==typeof s.beforeSend&&s.beforeSend(h),h.send(d||null),h}gi.XMLHttpRequest=h.XMLHttpRequest||function(){},gi.XDomainRequest="withCredentials"in new gi.XMLHttpRequest?gi.XMLHttpRequest:h.XDomainRequest,function(t,e){for(var i=0;i<t.length;i++)e(t[i])}(["get","put","post","patch","head","delete"],function(s){gi["delete"===s?"del":s]=function(t,e,i){return(e=fi(t,e,i)).method=s.toUpperCase(),mi(e)}});function vi(t,e){var i=new h.WebVTT.Parser(h,h.vttjs,h.WebVTT.StringDecoder()),s=[];i.oncue=function(t){e.addCue(t)},i.onparsingerror=function(t){s.push(t)},i.onflush=function(){e.trigger({type:"loadeddata",target:e})},i.parse(t),0<s.length&&(h.console&&h.console.groupCollapsed&&h.console.groupCollapsed("Text Track parsing errors for "+e.src),s.forEach(function(t){return q.error(t)}),h.console&&h.console.groupEnd&&h.console.groupEnd()),i.flush()}var yi,_i=function(t,n){var e={uri:t},t=ii(t);t&&(e.cors=t),pi(e,Gt(this,function(t,e,i){return t?q.error(t,e):(n.loaded_=!0,void("function"!=typeof h.WebVTT?n.tech_&&(n.tech_.on("vttjsloaded",s=function(){return vi(i,n)}),n.tech_.on("vttjserror",function(){q.error("vttjs failed to load, stopping trying to process "+n.src),n.tech_.off("vttjsloaded",s)})):vi(i,n)));var s}))},bi=(N(wi,yi=l),wi.prototype.addCue=function(t){var e=t;if(h.vttjs&&!(t instanceof h.vttjs.VTTCue)){for(var i in e=new h.vttjs.VTTCue(t.startTime,t.endTime,t.text),t)i in e||(e[i]=t[i]);e.id=t.id,e.originalCue_=t}for(var s=this.tech_.textTracks(),n=0;n<s.length;n++)s[n]!==this&&s[n].removeCue(e);this.cues_.push(e),this.cues.setCues_(this.cues_)},wi.prototype.removeCue=function(t){for(var e=this.cues_.length;e--;){var i=this.cues_[e];if(i===t||i.originalCue_&&i.originalCue_===t){this.cues_.splice(e,1),this.cues.setCues_(this.cues_);break}}},wi);function wi(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};
1if(O(this,wi),!t.tech)throw new Error("A tech was not provided.");var e=ce(t,{kind:Qe[t.kind]||"subtitles",language:t.language||t.srclang||""}),i=Ze[e.mode]||"disabled",s=e.default;"metadata"!==e.kind&&"chapters"!==e.kind||(i="hidden");var n=t=z(this,yi.call(this,e));if(n.tech_=e.tech,x)for(var o in wi.prototype)"constructor"!==o&&(n[o]=wi.prototype[o]);n.cues_=[],n.activeCues_=[];var r=new qe(n.cues_),a=new qe(n.activeCues_),l=!1,h=Gt(n,function(){this.activeCues,l&&(this.trigger("cuechange"),l=!1)});return"disabled"!==i&&n.tech_.ready(function(){n.tech_.on("timeupdate",h)},!0),Object.defineProperty(n,"default",{get:function(){return s},set:function(){}}),Object.defineProperty(n,"mode",{get:function(){return i},set:function(t){var e=this;Ze[t]&&("showing"===(i=t)&&this.tech_.ready(function(){e.tech_.on("timeupdate",h)},!0),this.trigger("modechange"))}}),Object.defineProperty(n,"cues",{get:function(){return this.loaded_?r:null},set:function(){}}),Object.defineProperty(n,"activeCues",{get:function(){if(!this.loaded_)return null;if(0===this.cues.length)return a;for(var t=this.tech_.currentTime(),e=[],i=0,s=this.cues.length;i<s;i++){var n=this.cues[i];(n.startTime<=t&&n.endTime>=t||n.startTime===n.endTime&&n.startTime<=t&&n.startTime+.5>=t)&&e.push(n)}if(l=!1,e.length!==this.activeCues_.length)l=!0;else for(var o=0;o<e.length;o++)-1===this.activeCues_.indexOf(e[o])&&(l=!0);return this.activeCues_=e,a.setCues_(this.activeCues_),a},set:function(){}}),e.src?(n.src=e.src,_i(e.src,n)):n.loaded_=!0,z(t,n)}bi.prototype.allowedEvents_={cuechange:"cuechange"};var Ci,u=(N(ki,Ci=l),ki);function ki(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};O(this,ki);var e=ce(t,{kind:Ge[t.kind]||""}),i=t=z(this,Ci.call(this,e)),s=!1;if(x)for(var n in ki.prototype)"constructor"!==n&&(i[n]=ki.prototype[n]);return Object.defineProperty(i,"enabled",{get:function(){return s},set:function(t){"boolean"==typeof t&&t!==s&&(s=t,this.trigger("enabledchange"))}}),e.enabled&&(i.enabled=e.enabled),i.loaded_=!0,z(t,i)}var Ti,xi=(N(Si,Ti=l),Si);function Si(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};O(this,Si);var e=ce(t,{kind:Xe[t.kind]||""}),i=t=z(this,Ti.call(this,e)),s=!1;if(x)for(var n in Si.prototype)"constructor"!==n&&(i[n]=Si.prototype[n]);return Object.defineProperty(i,"selected",{get:function(){return s},set:function(t){"boolean"==typeof t&&t!==s&&(s=t,this.trigger("selectedchange"))}}),e.selected&&(i.selected=e.selected),z(t,i)}var Ei,Ii=0,Di=2,Mi=(N(Pi,Ei=Xt),Pi);function Pi(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};O(this,Pi);var e=z(this,Ei.call(this)),i=void 0,s=e;if(x)for(var n in s=c.createElement("custom"),Pi.prototype)"constructor"!==n&&(s[n]=Pi.prototype[n]);var o=new bi(t);return s.kind=o.kind,s.src=o.src,s.srclang=o.language,s.label=o.label,s.default=o.default,Object.defineProperty(s,"readyState",{get:function(){return i}}),Object.defineProperty(s,"track",{get:function(){return o}}),i=Ii,o.addEventListener("loadeddata",function(){i=Di,s.trigger({type:"load",target:s})}),x?z(e,s):e}Mi.prototype.allowedEvents_={load:"load"},Mi.NONE=Ii,Mi.LOADING=1,Mi.LOADED=Di,Mi.ERROR=3;var Ai={audio:{ListClass:n,TrackClass:u,capitalName:"Audio"},video:{ListClass:s,TrackClass:xi,capitalName:"Video"},text:{ListClass:i,TrackClass:bi,capitalName:"Text"}};Object.keys(Ai).forEach(function(t){Ai[t].getterName=t+"Tracks",Ai[t].privateName=t+"Tracks_"});var Oi={remoteText:{ListClass:i,TrackClass:bi,capitalName:"RemoteText",getterName:"remoteTextTracks",privateName:"remoteTextTracks_"},remoteTextEl:{ListClass:o,TrackClass:Mi,capitalName:"RemoteTextTrackEls",getterName:"remoteTextTrackEls",privateName:"remoteTextTrackEls_"}},Ni=ce(Ai,Oi);Oi.names=Object.keys(Oi),Ai.names=Object.keys(Ai),Ni.names=[].concat(Oi.names).concat(Ai.names);var zi=Object.create||function(t){if(1!==arguments.length)throw new Error("Object.create shim only accepts one parameter.");return ji.prototype=t,new ji};function ji(){}function Li(t,e){this.name="ParsingError",this.code=t.code,this.message=e||t.message}function Hi(t){function e(t,e,i,s){return 3600*(0|t)+60*(0|e)+(0|i)+(0|s)/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 Ri(){this.values=zi(null)}function Fi(t,e,i,s){var n,o,r=s?t.split(s):[t];for(n in r)"string"==typeof r[n]&&(2===(o=r[n].split(i)).length&&e(o[0],o[1]))}((Li.prototype=zi(Error.prototype)).constructor=Li).Errors={BadSignature:{code:0,message:"Malformed WebVTT signature."},BadTimeStamp:{code:1,message:"Malformed time stamp."}},Ri.prototype={set:function(t,e){this.get(t)||""===e||(this.values[t]=e)}
1,get:function(t,e,i){return i?this.has(t)?this.values[t]:e[i]:this.has(t)?this.values[t]:e},has:function(t){return t in this.values},alt:function(t,e,i){for(var s=0;s<i.length;++s)if(e===i[s]){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 $i={"&amp;":"&","&lt;":"<","&gt;":">","&lrm;":"‎","&rlm;":"‏","&nbsp;":" "},Bi={c:"span",i:"i",b:"b",u:"u",ruby:"ruby",rt:"rt",v:"span",lang:"span"},Wi={v:"title",lang:"lang"},Vi={rt:"ruby"};function Ui(n,e){function i(t){return $i[t]}for(var t,s,o,r,a,l,h=n.document.createElement("div"),c=h,u=[];null!==(t=function(){if(!e)return null;var t=e.match(/^([^<]*)(<[^>]+>?)?/);return t=t[1]||t[2],e=e.substr(t.length),t}());)"<"!==t[0]?c.appendChild(n.document.createTextNode(function(t){for(;r=t.match(/&(amp|lt|gt|lrm|rlm|nbsp);/);)t=t.replace(r[0],i);return t}(t))):"/"!==t[1]?(s=Hi(t.substr(1,t.length-2)))?(o=n.document.createProcessingInstruction("timestamp",s),c.appendChild(o)):(r=t.match(/^<([^.\s/0-9>]+)(\.[^\s\\>]+)?([^>\\]+)?(\\?)>?$/))&&(o=function(t,e){var i=Bi[t];if(!i)return null;var s=n.document.createElement(i);return s.localName=i,(t=Wi[t])&&e&&(s[t]=e.trim()),s}(r[1],r[3]))&&(a=c,Vi[(l=o).localName]&&Vi[l.localName]!==a.localName||(r[2]&&(o.className=r[2].substr(1).replace("."," ")),u.push(r[1]),c.appendChild(o),c=o)):u.length&&u[u.length-1]===t.substr(2).replace(">","")&&(u.pop(),c=c.parentNode);return h}var qi=[[1470,1470],[1472,1472],[1475,1475],[1478,1478],[1488,1514],[1520,1524],[1544,1544],[1547,1547],[1549,1549],[1563,1563],[1566,1610],[1645,1647],[1649,1749],[1765,1766],[1774,1775],[1786,1805],[1807,1808],[1810,1839],[1869,1957],[1969,1969],[1984,2026],[2036,2037],[2042,2042],[2048,2069],[2074,2074],[2084,2084],[2088,2088],[2096,2110],[2112,2136],[2142,2142],[2208,2208],[2210,2220],[8207,8207],[64285,64285],[64287,64296],[64298,64310],[64312,64316],[64318,64318],[64320,64321],[64323,64324],[64326,64449],[64467,64829],[64848,64911],[64914,64967],[65008,65020],[65136,65140],[65142,65276],[67584,67589],[67592,67592],[67594,67637],[67639,67640],[67644,67644],[67647,67669],[67671,67679],[67840,67867],[67872,67897],[67903,67903],[67968,68023],[68030,68031],[68096,68096],[68112,68115],[68117,68119],[68121,68147],[68160,68167],[68176,68184],[68192,68223],[68352,68405],[68416,68437],[68440,68466],[68472,68479],[68608,68680],[126464,126467],[126469,126495],[126497,126498],[126500,126500],[126503,126503],[126505,126514],[126516,126519],[126521,126521],[126523,126523],[126530,126530],[126535,126535],[126537,126537],[126539,126539],[126541,126543],[126545,126546],[126548,126548],[126551,126551],[126553,126553],[126555,126555],[126557,126557],[126559,126559],[126561,126562],[126564,126564],[126567,126570],[126572,126578],[126580,126583],[126585,126588],[126590,126590],[126592,126601],[126603,126619],[126625,126627],[126629,126633],[126635,126651],[1114109,1114109]];function Yi(t){var e=[],i="";if(!t||!t.childNodes)return"ltr";function o(t,e){for(var i=e.childNodes.length-1;0<=i;i--)t.push(e.childNodes[i])}for(o(e,t);i=function t(e){if(!e||!e.length)return null;var i=e.pop(),s=i.textContent||i.innerText;if(s){var n=s.match(/^.*(\n|\r)/);return n?n[e.length=0]:s}return"ruby"===i.tagName?t(e):i.childNodes?(o(e,i),t(e)):void 0}(e);)for(var s=0;s<i.length;s++)if(function(t){for(var e=0;e<qi.length;e++){var i=qi[e];if(t>=i[0]&&t<=i[1])return 1}}(i.charCodeAt(s)))return"rtl";return"ltr"}function Ki(){}function Xi(t,e,i){var s=/MSIE\s8\.0/.test(navigator.userAgent),n="rgba(255, 255, 255, 1)",o="rgba(0, 0, 0, 0.8)";s&&(n="rgb(255, 255, 255)",o="rgb(0, 0, 0)"),Ki.call(this),this.cue=e,this.cueDiv=Ui(t,e.text);o={color:n,backgroundColor:o,position:"relative",left:0,right:0,top:0,bottom:0,display:"inline"};s||(o.writingMode=""===e.vertical?"horizontal-tb":"lr"===e.vertical?"vertical-lr":"vertical-rl",o.unicodeBidi="plaintext"),this.applyStyles(o,this.cueDiv),this.div=t.document.createElement("div"),o={textAlign:"middle"===e.align?"center":e.align,font:i.font,whiteSpace:"pre-line",position:"absolute"},s||(o.direction=Yi(this.cueDiv),o.writingMode=""===e.vertical?"horizontal-tb":"lr"
vendor: 4,239 bytes, line 1
1===e.vertical?"vertical-lr":"plaintext"),this.applyStyles(o),this.div.appendChild(this.cueDiv);var r=0;switch(e.positionAlign){case"start":r=e.position;break;case"middle":r=e.position-e.size/2;break;case"end":r=e.position-e.size}""===e.vertical?this.applyStyles({left:this.formatStyle(r,"%"),width:this.formatStyle(e.size,"%")}):this.applyStyles({top:this.formatStyle(r,"%"),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 Gi(t){var e,i,s,n,o=/MSIE\s8\.0/.test(navigator.userAgent);t.div&&(e=t.div.offsetHeight,i=t.div.offsetWidth,s=t.div.offsetTop,n=(n=t.div.childNodes)&&(n=n[0])&&n.getClientRects&&n.getClientRects(),t=t.div.getBoundingClientRect(),n=n?Math.max(n[0]&&n[0].height||0,t.height/n.length):0),this.left=t.left,this.right=t.right,this.top=t.top||s,this.height=t.height||e,this.bottom=t.bottom||s+(t.height||e),this.width=t.width||i,this.lineHeight=void 0!==n?n:t.lineHeight,o&&!this.lineHeight&&(this.lineHeight=13)}function Qi(t,e,a,l){var i,s=new Gi(e),n=e.cue,o=function(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,i=e.textTrackList,s=0,n=0;n<i.length&&i[n]!==e;n++)"showing"===i[n].mode&&s++;return-1*++s}(n),r=[];if(n.snapToLines){switch(n.vertical){case"":r=["+y","-y"],i="height";break;case"rl":r=["+x","-x"],i="width";break;case"lr":r=["-x","+x"],i="width"}var h=s.lineHeight,c=h*Math.round(o),u=a[i]+h,d=r[0];Math.abs(c)>u&&(c=c<0?-1:1,c*=Math.ceil(u/h)*h),o<0&&(c+=""===n.vertical?a.height:a.width,r=r.reverse()),s.move(d,c)}else{var p=s.lineHeight/a.height*100;switch(n.lineAlign){case"middle":o-=p/2;break;case"end":o-=p}switch(n.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,"%")})}r=["+y","-x","+x","-y"],s=new Gi(e)}s=function(t,e){for(var i,s=new Gi(t),n=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 r=t.intersectPercentage(a);r<n&&(i=new Gi(t),n=r),t=new Gi(s)}return i||s}(s,r);e.move(s.toCSSCompatValues(a))}function Zi(){}Ki.prototype.applyStyles=function(t,e){for(var i in e=e||this.div,t)t.hasOwnProperty(i)&&(e.style[i]=t[i])},Ki.prototype.formatStyle=function(t,e){return 0===t?0:t+e},(Xi.prototype=zi(Ki.prototype)).constructor=Xi,Gi.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}},Gi.prototype.overlaps=function(t){return this.left<t.right&&this.right>t.left&&this.top<t.bottom&&this.bottom>t.top},Gi.prototype.overlapsAny=function(t){for(var e=0;e<t.length;e++)if(this.overlaps(t[e]))return!0;return!1},Gi.prototype.within=function(t){return this.top>=t.top&&this.bottom<=t.bottom&&this.left>=t.left&&this.right<=t.right},Gi.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}},Gi.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)},Gi.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}},Gi.getSimpleBoxPosition=function(t){var e=t.div?t.div.offsetHeight:t.tagName?t.offsetHeight:0,i=t.div?t.div.offsetWidth:t.tagName?t.offsetWidth:0,s=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||s,height:t.height||e,bottom:t.bottom||s+(t.height||e),width:t.width||i}}
vendor: 4,766 bytes, line 1
1,Zi.StringDecoder=function(){return{decode:function(t){if(!t)return"";if("string"!=typeof t)throw new Error("Error - expected string data.");return decodeURIComponent(encodeURIComponent(t))}}},Zi.convertCueToDOMTree=function(t,e){return t&&e?Ui(t,e):null};Zi.processCues=function(s,n,t){if(!s||!n||!t)return null;for(;t.firstChild;)t.removeChild(t.firstChild);var o=s.document.createElement("div");if(o.style.position="absolute",o.style.left="0",o.style.right="0",o.style.top="0",o.style.bottom="0",o.style.margin="1.5%",t.appendChild(o),function(t){for(var e=0;e<t.length;e++)if(t[e].hasBeenReset||!t[e].displayState)return 1}(n)){var r=[],a=Gi.getSimpleBoxPosition(o),l={font:Math.round(.05*a.height*100)/100+"px sans-serif"};!function(){for(var t,e,i=0;i<n.length;i++)e=n[i],t=new Xi(s,e,l),o.appendChild(t.div),Qi(0,t,a,r),e.displayState=t.div,r.push(Gi.getSimpleBoxPosition(t))}()}else for(var e=0;e<n.length;e++)o.appendChild(n[e].displayState)},(Zi.Parser=function(t,e,i){i||(i=e,e={}),e=e||{},this.window=t,this.vttjs=e,this.state="INITIAL",this.buffer="",this.decoder=i||new TextDecoder("utf8"),this.regionList=[]}).prototype={reportOrThrowError:function(t){if(!(t instanceof Li))throw t;this.onparsingerror&&this.onparsingerror(t)},parse:function(t){var s=this;function e(){for(var t=s.buffer,e=0;e<t.length&&"\r"!==t[e]&&"\n"!==t[e];)++e;var i=t.substr(0,e);return"\r"===t[e]&&++e,"\n"===t[e]&&++e,s.buffer=t.substr(e),i}function i(t){t.match(/X-TIMESTAMP-MAP/)?Fi(t,function(t,e){var i;"X-TIMESTAMP-MAP"===t&&(e=e,i=new Ri,Fi(e,function(t,e){switch(t){case"MPEGT":i.integer(t+"S",e);break;case"LOCA":i.set(t+"L",Hi(e))}},/[^\d]:/,/,/),s.ontimestampmap&&s.ontimestampmap({MPEGTS:i.get("MPEGTS"),LOCAL:i.get("LOCAL")}))},/=/):Fi(t,function(t,e){var n;"Region"===t&&(e=e,n=new Ri,Fi(e,function(t,e){switch(t){case"id":n.set(t,e);break;case"width":n.percent(t,e);break;case"lines":n.integer(t,e);break;case"regionanchor":case"viewportanchor":var i=e.split(",");if(2!==i.length)break;var s=new Ri;if(s.percent("x",i[0]),s.percent("y",i[1]),!s.has("x")||!s.has("y"))break;n.set(t+"X",s.get("x")),n.set(t+"Y",s.get("y"));break;case"scroll":n.alt(t,e,["up"])}},/=/,/\s/),n.has("id")&&((e=new(s.vttjs.VTTRegion||s.window.VTTRegion)).width=n.get("width",100),e.lines=n.get("lines",3),e.regionAnchorX=n.get("regionanchorX",0),e.regionAnchorY=n.get("regionanchorY",100),e.viewportAnchorX=n.get("viewportanchorX",0),e.viewportAnchorY=n.get("viewportanchorY",100),e.scroll=n.get("scroll",""),s.onregion&&s.onregion(e),s.regionList.push({id:n.get("id"),region:e})))},/:/)}t&&(s.buffer+=s.decoder.decode(t,{stream:!0}));try{if("INITIAL"===s.state){if(!/\r\n|\n/.test(s.buffer))return this;var n,o=(n=e()).match(/^WEBVTT([ \t].*)?$/);if(!o||!o[0])throw new Li(Li.Errors.BadSignature);s.state="HEADER"}for(var r=!1;s.buffer;){if(!/\r\n|\n/.test(s.buffer))return this;switch(r?r=!1:n=e(),s.state){case"HEADER":/:/.test(n)?i(n):n||(s.state="ID");continue;case"NOTE":n||(s.state="ID");continue;case"ID":if(/^NOTE($|[ \t])/.test(n)){s.state="NOTE";break}if(!n)continue;if(s.cue=new(s.vttjs.VTTCue||s.window.VTTCue)(0,0,""),s.state="CUE",-1===n.indexOf("--\x3e")){s.cue.id=n;continue}case"CUE":try{!function(e,t,o){var i,r,s=e;function n(){var t=Hi(e);if(null===t)throw new Li(Li.Errors.BadTimeStamp,"Malformed timestamp: "+s);return e=e.replace(/^[^\sa-zA-Z-]+/,""),t}function a(){e=e.replace(/^\s+/,"")}if(a(),t.startTime=n(),a(),"--\x3e"!==e.substr(0,3))throw new Li(Li.Errors.BadTimeStamp,"Malformed time stamp (time stamps must be separated by '--\x3e'): "+s);e=e.substr(3),a(),t.endTime=n(),a(),i=e,t=t,r=new Ri,Fi(i,function(t,e){switch(t){case"region":for(var i=o.length-1;0<=i;i--)if(o[i].id===e){r.set(t,o[i].region);break}break;case"vertical":r.alt(t,e,["rl","lr"]);break;case"line":var s=e.split(","),n=s[0];r.integer(t,n),r.percent(t,n)&&r.set("snapToLines",!1),r.alt(t,n,["auto"]),2===s.length&&r.alt("lineAlign",s[1],["start","middle","end"]);break;case"position":s=e.split(","),r.percent(t,s[0]),2===s.length&&r.alt("positionAlign",s[1],["start","middle","end"]);break;case"size":r.percent(t,e);break;case"align":r.alt(t,e,["start","middle","end","left","right"])}},/:/,/\s/),t.region=r.get("region",null),t.vertical=r.get("vertical",""),t.line=r.get("line","auto"),t.lineAlign=r.get("lineAlign","start"),t.snapToLines=r.get("snapToLines",!0),t.size=r.get("size",100),t.align=r.get("align","middle"),t.position=r.get("position",{start:0,left:0,middle:50,end:100,right:100},t.align),t.positionAlign=r.get("positionAlign",{start:"start",left:"start",middle:"middle",end:"end",right:"end"},t.align)}(n,s.cue,s.regionList)}catch(t){s.reportOrThrowError(t),s.cue=null,s.state="BADCUE";continue}s.state="CUETEXT";continue;case"CUETEXT":var a=-1!==n.indexOf("--\x3e");
vendor: 1,247 bytes, line 1
1if(!n||a&&(r=!0)){s.oncue&&s.oncue(s.cue),s.cue=null,s.state="ID";continue}s.cue.text&&(s.cue.text+="\n"),s.cue.text+=n;continue;case"BADCUE":n||(s.state="ID");continue}}}catch(t){s.reportOrThrowError(t),"CUETEXT"===s.state&&s.cue&&s.oncue&&s.oncue(s.cue),s.cue=null,s.state="INITIAL"===s.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 Li(Li.Errors.BadSignature)}catch(t){e.reportOrThrowError(t)}return e.onflush&&e.onflush(),this}};var Ji=Zi,ts={"":!0,lr:!0,rl:!0},es={start:!0,middle:!0,end:!0,left:!0,right:!0};function is(t){return"string"==typeof t&&(!!es[t.toLowerCase()]&&t.toLowerCase())}function ss(t){for(var e=1;e<arguments.length;e++){var i,s=arguments[e];for(i in s)t[i]=s[i]}return t}function ns(t,e,i){var s=this,n=/MSIE\s8\.0/.test(navigator.userAgent),o={};n?s=document.createElement("custom"):o.enumerable=!0,s.hasBeenReset=!1;var r="",a=!1,l=t,h=e,c=i,u=null,d="",p=!0,f="auto",g="start",m=50,v="middle",y=50,_="middle";if(Object.defineProperty(s,"id",ss({},o,{get:function(){return r},set:function(t){r=""+t}})),Object.defineProperty(s,"pauseOnExit",ss({},o,{get:function(){return a}
1,set:function(t){a=!!t}})),Object.defineProperty(s,"startTime",ss({},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(s,"endTime",ss({},o,{get:function(){return h},set:function(t){if("number"!=typeof t)throw new TypeError("End time must be set to a number.");h=t,this.hasBeenReset=!0}})),Object.defineProperty(s,"text",ss({},o,{get:function(){return c},set:function(t){c=""+t,this.hasBeenReset=!0}})),Object.defineProperty(s,"region",ss({},o,{get:function(){return u},set:function(t){u=t,this.hasBeenReset=!0}})),Object.defineProperty(s,"vertical",ss({},o,{get:function(){return d},set:function(t){t="string"==typeof(t=t)&&(!!ts[t.toLowerCase()]&&t.toLowerCase());if(!1===t)throw new SyntaxError("An invalid or illegal string was specified.");d=t,this.hasBeenReset=!0}})),Object.defineProperty(s,"snapToLines",ss({},o,{get:function(){return p},set:function(t){p=!!t,this.hasBeenReset=!0}})),Object.defineProperty(s,"line",ss({},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(s,"lineAlign",ss({},o,{get:function(){return g},set:function(t){t=is(t);if(!t)throw new SyntaxError("An invalid or illegal string was specified.");g=t,this.hasBeenReset=!0}})),Object.defineProperty(s,"position",ss({},o,{get:function(){return m},set:function(t){if(t<0||100<t)throw new Error("Position must be between 0 and 100.");m=t,this.hasBeenReset=!0}})),Object.defineProperty(s,"positionAlign",ss({},o,{get:function(){return v},set:function(t){t=is(t);if(!t)throw new SyntaxError("An invalid or illegal string was specified.");v=t,this.hasBeenReset=!0}})),Object.defineProperty(s,"size",ss({},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(s,"align",ss({},o,{get:function(){return _},set:function(t){t=is(t);if(!t)throw new SyntaxError("An invalid or illegal string was specified.");_=t,this.hasBeenReset=!0}})),s.displayState=void 0,n)return s}ns.prototype.getCueAsHTML=function(){return WebVTT.convertCueToDOMTree(window,this.text)};var os=ns,rs={"":!0,up:!0};function as(t){return"number"==typeof t&&0<=t&&t<=100}function ls(){var e=100,i=3,s=0,n=100,o=0,r=100,a="";Object.defineProperties(this,{width:{enumerable:!0,get:function(){return e},set:function(t){if(!as(t))throw new Error("Width must be between 0 and 100.");e=t}},lines:{enumerable:!0,get:function(){return i},set:function(t){if("number"!=typeof t)throw new TypeError("Lines must be set to a number.");i=t}},regionAnchorY:{enumerable:!0,get:function(){return n},set:function(t){if(!as(t))throw new Error("RegionAnchorX must be between 0 and 100.");n=t}},regionAnchorX:{enumerable:!0,get:function(){return s},set:function(t){if(!as(t))throw new Error("RegionAnchorY must be between 0 and 100.");s=t}},viewportAnchorY:{enumerable:!0,get:function(){return r},set:function(t){if(!as(t))throw new Error("ViewportAnchorY must be between 0 and 100.");r=t}},viewportAnchorX:{enumerable:!0,get:function(){return o},set:function(t){if(!as(t))throw new Error("ViewportAnchorX must be between 0 and 100.");o=t}},scroll:{enumerable:!0,get:function(){return a}
vendor: 4,580 bytes, line 1
1,set:function(t){t="string"==typeof(t=t)&&(!!rs[t.toLowerCase()]&&t.toLowerCase());if(!1===t)throw new SyntaxError("An invalid or illegal string was specified.");a=t}}})}var hs=e(function(t){t=t.exports={WebVTT:Ji,VTTCue:os,VTTRegion:ls};h.vttjs=t,h.WebVTT=t.WebVTT;var e=t.VTTCue,i=t.VTTRegion,s=h.VTTCue,n=h.VTTRegion;t.shim=function(){h.VTTCue=e,h.VTTRegion=i},t.restore=function(){h.VTTCue=s,h.VTTRegion=n},h.VTTCue||t.shim()});var cs,us=(N(ds,cs=ue),ds.prototype.manualProgressOn=function(){this.on("durationchange",this.onDurationChange),this.manualProgress=!0,this.one("ready",this.trackProgress)},ds.prototype.manualProgressOff=function(){this.manualProgress=!1,this.stopTrackingProgress(),this.off("durationchange",this.onDurationChange)},ds.prototype.trackProgress=function(t){this.stopTrackingProgress(),this.progressInterval=this.setInterval(Gt(this,function(){var t=this.bufferedPercent();this.bufferedPercent_!==t&&this.trigger("progress"),1===(this.bufferedPercent_=t)&&this.stopTrackingProgress()}),500)},ds.prototype.onDurationChange=function(t){this.duration_=this.duration()},ds.prototype.buffered=function(){return ge(0,0)},ds.prototype.bufferedPercent=function(){return me(this.buffered(),this.duration_)},ds.prototype.stopTrackingProgress=function(){this.clearInterval(this.progressInterval)},ds.prototype.manualTimeUpdatesOn=function(){this.manualTimeUpdates=!0,this.on("play",this.trackCurrentTime),this.on("pause",this.stopTrackingCurrentTime)},ds.prototype.manualTimeUpdatesOff=function(){this.manualTimeUpdates=!1,this.stopTrackingCurrentTime(),this.off("play",this.trackCurrentTime),this.off("pause",this.stopTrackingCurrentTime)},ds.prototype.trackCurrentTime=function(){this.currentTimeInterval&&this.stopTrackingCurrentTime(),this.currentTimeInterval=this.setInterval(function(){this.trigger({type:"timeupdate",target:this,manuallyTriggered:!0})},250)},ds.prototype.stopTrackingCurrentTime=function(){this.clearInterval(this.currentTimeInterval),this.trigger({type:"timeupdate",target:this,manuallyTriggered:!0})},ds.prototype.dispose=function(){this.clearTracks(Ai.names),this.manualProgress&&this.manualProgressOff(),this.manualTimeUpdates&&this.manualTimeUpdatesOff(),cs.prototype.dispose.call(this)},ds.prototype.clearTracks=function(t){var n=this;(t=[].concat(t)).forEach(function(t){for(var e=n[t+"Tracks"]()||[],i=e.length;i--;){var s=e[i];"text"===t&&n.removeRemoteTextTrack(s),e.removeTrack(s)}})},ds.prototype.cleanupAutoTextTracks=function(){for(var t=this.autoRemoteTextTracks_||[],e=t.length;e--;){var i=t[e];this.removeRemoteTextTrack(i)}},ds.prototype.reset=function(){},ds.prototype.error=function(t){return void 0!==t&&(this.error_=new ke(t),this.trigger("error")),this.error_},ds.prototype.played=function(){return this.hasStarted_?ge(0,0):ge()},ds.prototype.setCurrentTime=function(){this.manualTimeUpdates&&this.trigger({type:"timeupdate",target:this,manuallyTriggered:!0})},ds.prototype.initTrackListeners=function(){var n=this;Ai.names.forEach(function(t){function e(){n.trigger(t+"trackchange")}var i=Ai[t],s=n[i.getterName]();s.addEventListener("removetrack",e),s.addEventListener("addtrack",e),n.on("dispose",function(){s.removeEventListener("removetrack",e),s.removeEventListener("addtrack",e)})})},ds.prototype.addWebVttScript_=function(){var t,e=this;h.WebVTT||(c.body.contains(this.el())?!this.options_["vtt.js"]&&$(hs)&&0<Object.keys(hs).length?this.trigger("vttjsloaded"):((t=c.createElement("script")).src=this.options_["vtt.js"]||"https://vjs.zencdn.net/vttjs/0.12.4/vtt.min.js",t.onload=function(){e.trigger("vttjsloaded")},t.onerror=function(){e.trigger("vttjserror")},this.on("dispose",function(){t.onload=null,t.onerror=null}),h.WebVTT=!0,this.el().parentNode.appendChild(t)):this.ready(this.addWebVttScript_))},ds.prototype.emulateTextTracks=function(){function e(t){return s.addTrack(t.track)}function i(t){return s.removeTrack(t.track)}var t=this,s=this.textTracks(),n=this.remoteTextTracks();n.on("addtrack",e),n.on("removetrack",i),this.addWebVttScript_();function o(){return t.trigger("texttrackchange")}function r(){o();for(var t=0;t<s.length;t++){var e=s[t];e.removeEventListener("cuechange",o),"showing"===e.mode&&e.addEventListener("cuechange",o)}}r(),s.addEventListener("change",r),s.addEventListener("addtrack",r),s.addEventListener("removetrack",r),this.on("dispose",function(){n.off("addtrack",e),n.off("removetrack",i),s.removeEventListener("change",r),s.removeEventListener("addtrack",r),s.removeEventListener("removetrack",r);for(var t=0;t<s.length;t++)s[t].removeEventListener("cuechange",o)})}
vendor: 5,764 bytes, line 1
1,ds.prototype.addTextTrack=function(t,e,i){if(!t)throw new Error("TextTrack kind is required but was not provided");return function(t,e,i,s,n){var o=4<arguments.length&&void 0!==n?n:{},r=t.textTracks();return o.kind=e,i&&(o.label=i),s&&(o.language=s),o.tech=t,o=new Ni.text.TrackClass(o),r.addTrack(o),o}(this,t,e,i)},ds.prototype.createRemoteTextTrack=function(t){t=ce(t,{tech:this});return new Oi.remoteTextEl.TrackClass(t)},ds.prototype.addRemoteTextTrack=function(){var t=this,e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},i=arguments[1],s=this.createRemoteTextTrack(e);return!0!==i&&!1!==i&&(q.warn('Calling addRemoteTextTrack without explicitly setting the "manualCleanup" parameter to `true` is deprecated and default to `false` in future version of video.js'),i=!0),this.remoteTextTrackEls().addTrackElement_(s),this.remoteTextTracks().addTrack(s.track),!0!==i&&this.ready(function(){return t.autoRemoteTextTracks_.addTrack(s.track)}),s},ds.prototype.removeRemoteTextTrack=function(t){var e=this.remoteTextTrackEls().getTrackElementByTrack_(t);this.remoteTextTrackEls().removeTrackElement_(e),this.remoteTextTracks().removeTrack(t),this.autoRemoteTextTracks_.removeTrack(t)},ds.prototype.getVideoPlaybackQuality=function(){return{}},ds.prototype.setPoster=function(){},ds.prototype.playsinline=function(){},ds.prototype.setPlaysinline=function(){},ds.prototype.canPlayType=function(){return""},ds.canPlayType=function(){return""},ds.canPlaySource=function(t,e){return ds.canPlayType(t.type)},ds.isTech=function(t){return t.prototype instanceof ds||t instanceof ds||t===ds},ds.registerTech=function(t,e){if(ds.techs_||(ds.techs_={}),!ds.isTech(e))throw new Error("Tech "+t+" must be a Tech");if(!ds.canPlayType)throw new Error("Techs must have a static canPlayType method on them");if(!ds.canPlaySource)throw new Error("Techs must have a static canPlaySource method on them");return t=he(t),ds.techs_[t]=e,"Tech"!==t&&ds.defaultTechOrder_.push(t),e},ds.getTech=function(t){if(t)return t=he(t),ds.techs_&&ds.techs_[t]?ds.techs_[t]:h&&h.videojs&&h.videojs[t]?(q.warn("The "+t+" tech was added to the videojs object when it should be registered using videojs.registerTech(name, tech)"),h.videojs[t]):void 0},ds);function ds(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:function(){};O(this,ds),e.reportTouchActivity=!1;var i=z(this,cs.call(this,null,e,t));return i.hasStarted_=!1,i.on("playing",function(){this.hasStarted_=!0}),i.on("loadstart",function(){this.hasStarted_=!1}),Ni.names.forEach(function(t){t=Ni[t];e&&e[t.getterName]&&(i[t.privateName]=e[t.getterName])}),i.featuresProgressEvents||i.manualProgressOn(),i.featuresTimeupdateEvents||i.manualTimeUpdatesOn(),["Text","Audio","Video"].forEach(function(t){!1===e["native"+t+"Tracks"]&&(i["featuresNative"+t+"Tracks"]=!1)}),!1===e.nativeCaptions||!1===e.nativeTextTracks?i.featuresNativeTextTracks=!1:!0!==e.nativeCaptions&&!0!==e.nativeTextTracks||(i.featuresNativeTextTracks=!0),i.featuresNativeTextTracks||i.emulateTextTracks(),i.autoRemoteTextTracks_=new Ni.text.ListClass,i.initTrackListeners(),e.nativeControlsForTouch||i.emitTapEvents(),i.constructor&&(i.name_=i.constructor.name||"Unknown Tech"),i}Ni.names.forEach(function(t){var e=Ni[t];us.prototype[e.getterName]=function(){return this[e.privateName]=this[e.privateName]||new e.ListClass,this[e.privateName]}}),us.prototype.featuresVolumeControl=!0,us.prototype.featuresFullscreenResize=!1,us.prototype.featuresPlaybackRate=!1,us.prototype.featuresProgressEvents=!1,us.prototype.featuresTimeupdateEvents=!1,us.prototype.featuresNativeTextTracks=!1,us.withSourceHandlers=function(n){n.registerSourceHandler=function(t,e){var i=(i=n.sourceHandlers)||(n.sourceHandlers=[]);void 0===e&&(e=i.length),i.splice(e,0,t)},n.canPlayType=function(t){for(var e,i=n.sourceHandlers||[],s=0;s<i.length;s++)if(e=i[s].canPlayType(t))return e;return""},n.selectSourceHandler=function(t,e){for(var i=n.sourceHandlers||[],s=0;s<i.length;s++)if(i[s].canHandleSource(t,e))return i[s];return null},n.canPlaySource=function(t,e){var i=n.selectSourceHandler(t,e);return i?i.canHandleSource(t,e):""};["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)})},n.prototype),n.prototype.setSource=function(t){var e=n.selectSourceHandler(t,this.options_);e||(n.nativeSourceHandler?e=n.nativeSourceHandler:q.error("No source hander found for the current source.")),this.disposeSourceHandler(),this.off("dispose",this.disposeSourceHandler),e!==n.nativeSourceHandler&&(this.currentSource_=t),this.sourceHandler_=e.handleSource(t,this,this.options_),this.on("dispose",this.disposeSourceHandler)},n.prototype.disposeSourceHandler=function(){this.currentSource_&&(this.clearTracks(["audio","video"]),this.currentSource_=null),this.cleanupAutoTextTracks(),this.sourceHandler_&&(this.sourceHandler_.dispose&&this.sourceHandler_.dispose(),this.sourceHandler_=null)}},ue.registerComponent("Tech",us),us.registerTech("Tech",us),us.defaultTechOrder_=[];var ps={};function fs(t,e,i){t.setTimeout(function(){return function i(){var s=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:[];var n=arguments[2];var o=arguments[3];var r=4<arguments.length&&void 0!==arguments[4]?arguments[4]:[];var a=5<arguments.length&&void 0!==arguments[5]&&arguments[5];var e=t[0],l=t.slice(1);{var h;"string"==typeof e?i(s,ps[e],n,o,r,a):e?(h=e(o)).setSource(R({},s),function(t,e){return t?i(s,l,n,o,r,a):(r.push(h),void i(e,s.type===e.type?l:ps[e.type],n,o,r,a))}
1):l.length?i(s,l,n,o,r,a):a?n(s,r):i(s,ps["*"],n,o,r,!0)}}(e,ps[e.type],i,t)},1)}var gs={buffered:1,currentTime:1,duration:1,seekable:1,played:1},ms={setCurrentTime:1};function vs(i){return function(t,e){return e[i]?e[i](t):t}}function ys(t){var e;return t=Array.isArray(t)?(e=[],t.forEach(function(t){t=ys(t),Array.isArray(t)?e=e.concat(t):F(t)&&e.push(t)}),e):"string"==typeof t&&t.trim()?[{src:t}]:F(t)&&"string"==typeof t.src&&t.src&&t.src.trim()?[t]:[]}var _s,d=(N(bs,_s=ue),bs);function bs(t,e,i){O(this,bs);var s=ce({createEl:!1},e),i=z(this,_s.call(this,t,s,i));if(e.playerOptions.sources&&0!==e.playerOptions.sources.length)t.src(e.playerOptions.sources);else for(var n=0,o=e.playerOptions.techOrder;n<o.length;n++){var r=he(o[n]),a=us.getTech(r);if((a=!r?ue.getComponent(r):a)&&a.isSupported()){t.loadTech_(r);break}}return i}ue.registerComponent("MediaLoader",d);var ws,f=(N(Cs,ws=ue),Cs.prototype.createEl=function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:"div",e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},i=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{},e=R({innerHTML:'<span aria-hidden="true" class="vjs-icon-placeholder"></span>',className:this.buildCSSClass(),tabIndex:0},e);"button"===t&&q.error("Creating a ClickableComponent with an HTML element of "+t+" is not supported; use a Button instead."),i=R({role:"button","aria-live":"polite"},i),this.tabIndex_=e.tabIndex;i=ws.prototype.createEl.call(this,t,e,i);return this.createControlTextEl(i),i},Cs.prototype.createControlTextEl=function(t){return this.controlTextEl_=it("span",{className:"vjs-control-text"}),t&&t.appendChild(this.controlTextEl_),this.controlText(this.controlText_,t),this.controlTextEl_},Cs.prototype.controlText=function(t){var e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:this.el();if(!t)return this.controlText_||"Need Text";var i=this.localize(t);this.controlText_=t,st(this.controlTextEl_,i),this.nonIconControl||e.setAttribute("title",i)},Cs.prototype.buildCSSClass=function(){return"vjs-control vjs-button "+ws.prototype.buildCSSClass.call(this)},Cs.prototype.enable=function(){this.enabled_||(this.enabled_=!0,this.removeClass("vjs-disabled"),this.el_.setAttribute("aria-disabled","false"),void 0!==this.tabIndex_&&this.el_.setAttribute("tabIndex",this.tabIndex_),this.on(["tap","click"],this.handleClick),this.on("focus",this.handleFocus),this.on("blur",this.handleBlur))},Cs.prototype.disable=function(){this.enabled_=!1,this.addClass("vjs-disabled"),this.el_.setAttribute("aria-disabled","true"),void 0!==this.tabIndex_&&this.el_.removeAttribute("tabIndex"),this.off(["tap","click"],this.handleClick),this.off("focus",this.handleFocus),this.off("blur",this.handleBlur)},Cs.prototype.handleClick=function(t){},Cs.prototype.handleFocus=function(t){Ht(c,"keydown",Gt(this,this.handleKeyPress))},Cs.prototype.handleKeyPress=function(t){32===t.which||13===t.which?(t.preventDefault(),this.trigger("click")):ws.prototype.handleKeyPress&&ws.prototype.handleKeyPress.call(this,t)},Cs.prototype.handleBlur=function(t){Rt(c,"keydown",Gt(this,this.handleKeyPress))},Cs);function Cs(t,e){O(this,Cs);e=z(this,ws.call(this,t,e));return e.emitTapEvents(),e.enable(),e}ue.registerComponent("ClickableComponent",f);var ks,m=(N(Ts,ks=f),Ts.prototype.dispose=function(){this.player().off("posterchange",this.update),ks.prototype.dispose.call(this)},Ts.prototype.createEl=function(){var t=it("div",{className:"vjs-poster",tabIndex:-1});return M||(this.fallbackImg_=it("img"),t.appendChild(this.fallbackImg_)),t},Ts.prototype.update=function(t){var e=this.player().poster();this.setSrc(e),e?this.show():this.hide()},Ts.prototype.setSrc=function(t){this.fallbackImg_?this.fallbackImg_.src=t:this.el_.style.backgroundImage=t?'url("'+t+'")':""},Ts.prototype.handleClick=function(t){this.player_.controls()&&(this.player_.paused()?this.player_.play():this.player_.pause())},Ts);function Ts(t,e){O(this,Ts);e=z(this,ks.call(this,t,e));return e.update(),t.on("posterchange",Gt(e,e.update)),e}ue.registerComponent("PosterImage",m);var xs={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'};function Ss(t,e){return"rgba("+parseInt(t[1]+t[1],16)+","+parseInt(t[2]+t[2],16)+","+parseInt(t[3]+t[3],16)+","+e+")"}function Es(t,e,i){try{t.style[e]=i}catch(t){return}}var Is,C=(N(Ds,Is=ue),Ds.prototype.preselectTrack=function(){for(var t={captions:1,subtitles:1},e=this.player_.textTracks(),i=this.player_.cache_.selectedLanguage,s=void 0,n=void 0,o=void 0,r=0;r<e.length;r++){var a=e[r];i&&i.enabled&&i.language===a.language?o=a.kind!==i.kind&&o||a:i&&!i.enabled?n=s=o=null:a.default&&("descriptions"!==a.kind||s?a.kind in t&&!n&&(n=a):s=a)}o?o.mode="showing":n?n.mode="showing":s&&(s.mode="showing")},Ds.prototype.toggleDisplay=function(){this.player_.tech_&&this.player_.tech_.featuresNativeTextTracks?this.hide():this.show()},Ds.prototype.createEl=function(){return Is.prototype.createEl.call(this,"div",{className:"vjs-text-track-display"},{"aria-live":"off","aria-atomic":"true"})},Ds.prototype.clearDisplay=function(){"function"==typeof h.WebVTT&&h.WebVTT.processCues(h,[],this.el_)},Ds.prototype.updateDisplay=function(){var t=this.player_.textTracks();this.clearDisplay();for(var e=null,i=null,s=t.length;s--;){var n=t[s];"showing"===n.mode&&("descriptions"===n.kind?e=n:i=n)}i?("off"!==this.getAttribute("aria-live")&&this.setAttribute("aria-live","off"),this.updateForTrack(i)):e&&("assertive"!==this.getAttribute("aria-live")&&this.setAttribute("aria-live","assertive"),this.updateForTrack(e))},Ds.prototype.updateForTrack=function(t){if("function"==typeof h.WebVTT&&t.activeCues){for(var e=this.player_.textTrackSettings.getValues(),i=[],s=0;s<t.activeCues.length;s++)i.push(t.activeCues[s]);h.WebVTT.processCues(h,i,this.el_);for(var n=i.length;n--;){var o,r=i[n];r&&(o=r.displayState,e.color&&(o.firstChild.style.color=e.color),e.textOpacity&&Es(o.firstChild,"color",Ss(e.color||"#fff",e.textOpacity)),e.backgroundColor&&(o.firstChild.style.backgroundColor=e.backgroundColor),e.backgroundOpacity&&Es(o.firstChild,"backgroundColor",Ss(e.backgroundColor||"#000",e.backgroundOpacity)),e.windowColor&&(e.windowOpacity?Es(o,"backgroundColor",Ss(e.windowColor,e.windowOpacity)):o.style.backgroundColor=e.windowColor),e.edgeStyle&&("dropshadow"===e.edgeStyle?o.firstChild.style.textShadow="2px 2px 3px #222, 2px 2px 4px #222, 2px 2px 5px #222":"raised"===e.edgeStyle?o.firstChild.style.textShadow="1px 1px #222, 2px 2px #222, 3px 3px #222":"depressed"===e.edgeStyle?o.firstChild.style.textShadow="1px 1px #ccc, 0 1px #ccc, -1px -1px #222, 0 -1px #222":"uniform"===e.edgeStyle&&(o.firstChild.style.textShadow="0 0 4px #222, 0 0 4px #222, 0 0 4px #222, 0 0 4px #222")),e.fontPercent&&1!==e.fontPercent&&(r=h.parseFloat(o.style.fontSize),o.style.fontSize=r*e.fontPercent+"px",o.style.height="auto",o.style.top="auto",o.style.bottom="2px"),e.fontFamily&&"default"!==e.fontFamily&&("small-caps"===e.fontFamily?o.firstChild.style.fontVariant="small-caps":o.firstChild.style.fontFamily=xs[e.fontFamily]))}}},Ds);function Ds(i,t,e){O(this,Ds);e=z(this,Is.call(this,i,t,e));return i.on("loadstart",Gt(e,e.toggleDisplay)),i.on("texttrackchange",Gt(e,e.updateDisplay)),i.on("loadstart",Gt(e,e.preselectTrack)),i.ready(Gt(e,function(){if(i.tech_&&i.tech_.featuresNativeTextTracks)this.hide();else{i.on("fullscreenchange",Gt(this,this.updateDisplay));for(var t=this.options_.playerOptions.tracks||[],e=0;e<t.length;e++)this.player_.addRemoteTextTrack(t[e],!0);this.preselectTrack()}})),e}ue.registerComponent("TextTrackDisplay",C);var Ms,E=(N(Ps,Ms=ue),Ps.prototype.createEl=function(){return Ms.prototype.createEl.call(this,"div",{className:"vjs-loading-spinner",dir:"ltr"})},Ps);function Ps(){return O(this,Ps),z(this,Ms.apply(this,arguments))}ue.registerComponent("LoadingSpinner",E);var As,Os=(N(Ns,As=f),Ns.prototype.createEl=function(t){var e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},i=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{};t="button";e=R({innerHTML:'<span aria-hidden="true" class="vjs-icon-placeholder"></span>',className:this.buildCSSClass()},e),i=R({type:"button","aria-live":"polite"},i),i=ue.prototype.createEl.call(this,t,e,i);return this.createControlTextEl(i),i},Ns.prototype.addChild=function(t){var e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},i=this.constructor.name;return q.warn("Adding an actionable (user controllable) child to a Button ("+i+") is not supported; use a ClickableComponent instead."),ue.prototype.addChild.call(this,t,e)},Ns.prototype.enable=function(){As.prototype.enable.call(this),this.el_.removeAttribute("disabled")},Ns.prototype.disable=function(){As.prototype.disable.call(this),this.el_.setAttribute("disabled","disabled")},Ns.prototype.handleKeyPress=function(t){32!==t.which&&13!==t.which&&As.prototype.handleKeyPress.call(this,t)},Ns);function Ns(){return O(this,Ns),z(this,As.apply(this,arguments))}ue.registerComponent("Button",Os);var zs,l=(N(js,zs=Os),js.prototype.buildCSSClass=function(){return"vjs-big-play-button"},js.prototype.handleClick=function(t){var e,i=this.player_.play();this.mouseused_&&t.clientX&&t.clientY||(t=this.player_.getChild("controlBar"),
vendor: 10,354 bytes, line 1
1(e=t&&t.getChild("playToggle"))?(t=function(){return e.focus()},i&&i.then?i.then(t,function(){}):this.setTimeout(t,1)):this.player_.focus())},js.prototype.handleKeyPress=function(t){this.mouseused_=!1,zs.prototype.handleKeyPress.call(this,t)},js.prototype.handleMouseDown=function(t){this.mouseused_=!0},js);function js(t,e){O(this,js);e=z(this,zs.call(this,t,e));return e.mouseused_=!1,e.on("mousedown",e.handleMouseDown),e}l.prototype.controlText_="Play Video",ue.registerComponent("BigPlayButton",l);var Ls,n=(N(Hs,Ls=Os),Hs.prototype.buildCSSClass=function(){return"vjs-close-button "+Ls.prototype.buildCSSClass.call(this)},Hs.prototype.handleClick=function(t){this.trigger({type:"close",bubbles:!1})},Hs);function Hs(t,e){O(this,Hs);t=z(this,Ls.call(this,t,e));return t.controlText(e&&e.controlText||t.localize("Close")),t}ue.registerComponent("CloseButton",n);var Rs,s=(N(Fs,Rs=Os),Fs.prototype.buildCSSClass=function(){return"vjs-play-control "+Rs.prototype.buildCSSClass.call(this)},Fs.prototype.handleClick=function(t){this.player_.paused()?this.player_.play():this.player_.pause()},Fs.prototype.handleSeeked=function(t){this.removeClass("vjs-ended"),this.player_.paused()?this.handlePause(t):this.handlePlay(t)},Fs.prototype.handlePlay=function(t){this.removeClass("vjs-ended"),this.removeClass("vjs-paused"),this.addClass("vjs-playing"),this.controlText("Pause")},Fs.prototype.handlePause=function(t){this.removeClass("vjs-playing"),this.addClass("vjs-paused"),this.controlText("Play")},Fs.prototype.handleEnded=function(t){this.removeClass("vjs-playing"),this.addClass("vjs-ended"),this.controlText("Replay"),this.one(this.player_,"seeked",this.handleSeeked)},Fs);function Fs(t,e){O(this,Fs);e=z(this,Rs.call(this,t,e));return e.on(t,"play",e.handlePlay),e.on(t,"pause",e.handlePause),e.on(t,"ended",e.handleEnded),e}function $s(t){var e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:t;t=t<0?0:t;var i=Math.floor(t%60),s=Math.floor(t/60%60),n=Math.floor(t/3600),o=Math.floor(e/60%60),e=Math.floor(e/3600);return(n=0<(n=isNaN(t)||t===1/0?s=i="-":n)||0<e?n+":":"")+(s=((n||10<=o)&&s<10?"0"+s:s)+":")+(i=i<10?"0"+i:i)}s.prototype.controlText_="Play",ue.registerComponent("PlayToggle",s);var Bs,i=(N(Ws,Bs=ue),Ws.prototype.createEl=function(t){var e=this.buildCSSClass(),i=Bs.prototype.createEl.call(this,"div",{className:e+" vjs-time-control vjs-control"});return this.contentEl_=it("div",{className:e+"-display"},{"aria-live":"off"},it("span",{className:"vjs-control-text",textContent:this.localize(this.controlText_)})),this.updateTextNode_(),i.appendChild(this.contentEl_),i},Ws.prototype.updateTextNode_=function(){if(this.contentEl_){for(;this.contentEl_.firstChild;)this.contentEl_.removeChild(this.contentEl_.firstChild);this.textNode_=c.createTextNode(this.formattedTime_||"0:00"),this.contentEl_.appendChild(this.textNode_)}},Ws.prototype.formatTime_=function(t){return $s(t)},Ws.prototype.updateFormattedTime_=function(t){t=this.formatTime_(t);t!==this.formattedTime_&&(this.formattedTime_=t,this.requestAnimationFrame(this.updateTextNode_))},Ws.prototype.updateContent=function(t){},Ws);function Ws(t,e){O(this,Ws);e=z(this,Bs.call(this,t,e));return e.throttledUpdateContent=Qt(Gt(e,e.updateContent),25),e.on(t,"timeupdate",e.throttledUpdateContent),e}i.prototype.controlText_="Time",ue.registerComponent("TimeDisplay",i);var Vs,o=(N(Us,Vs=i),Us.prototype.buildCSSClass=function(){return"vjs-current-time"},Us.prototype.updateContent=function(t){var e=this.player_.scrubbing()?this.player_.getCache().currentTime:this.player_.currentTime();this.updateFormattedTime_(e)},Us.prototype.handleEnded=function(t){this.player_.duration()&&this.updateFormattedTime_(this.player_.duration())},Us);function Us(t,e){O(this,Us);e=z(this,Vs.call(this,t,e));return e.on(t,"ended",e.handleEnded),e}o.prototype.controlText_="Current Time",ue.registerComponent("CurrentTimeDisplay",o);var qs,Mi=(N(Ys,qs=i),Ys.prototype.buildCSSClass=function(){return"vjs-duration"},Ys.prototype.updateContent=function(t){var e=this.player_.duration();e&&this.duration_!==e&&(this.duration_=e,this.updateFormattedTime_(e))},Ys);function Ys(t,e){O(this,Ys);e=z(this,qs.call(this,t,e));return e.on(t,"durationchange",e.updateContent),e.on(t,"loadedmetadata",e.throttledUpdateContent),e}Mi.prototype.controlText_="Duration Time",ue.registerComponent("DurationDisplay",Mi);var Ks,d=(N(Xs,Ks=ue),Xs.prototype.createEl=function(){return Ks.prototype.createEl.call(this,"div",{className:"vjs-time-control vjs-time-divider",innerHTML:"<div><span>/</span></div>"})},Xs);function Xs(){return O(this,Xs),z(this,Ks.apply(this,arguments))}ue.registerComponent("TimeDivider",d);var Gs,m=(N(Qs,Gs=i),Qs.prototype.buildCSSClass=function(){return"vjs-remaining-time"},Qs.prototype.formatTime_=function(t){return"-"+Gs.prototype.formatTime_.call(this,t)},Qs.prototype.updateContent=function(t){this.player_.duration()&&(this.player_.remainingTimeDisplay?this.updateFormattedTime_(this.player_.remainingTimeDisplay()):this.updateFormattedTime_(this.player_.remainingTime()))},Qs.prototype.handleEnded=function(t){this.player_.duration()&&this.updateFormattedTime_(0)},Qs);function Qs(t,e){O(this,Qs);e=z(this,Gs.call(this,t,e));return e.on(t,"durationchange",e.throttledUpdateContent),e.on(t,"ended",e.handleEnded),e}m.prototype.controlText_="Remaining Time",ue.registerComponent("RemainingTimeDisplay",m);var Zs,C=(N(Js,Zs=ue),Js.prototype.createEl=function(){var t=Zs.prototype.createEl.call(this,"div",{className:"vjs-live-control vjs-control"});return this.contentEl_=it("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},Js.prototype.updateShowing=function(t){this.player().duration()===1/0?this.show():this.hide()},Js);function Js(t,e){O(this,Js);e=z(this,Zs.call(this,t,e));return e.updateShowing(),e.on(e.player(),"durationchange",e.updateShowing),e}ue.registerComponent("LiveDisplay",C);var tn,E=(N(en,tn=ue),en.prototype.enabled=function(){return this.enabled_},en.prototype.enable=function(){this.enabled()||(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(this.player_,"controlsvisible",this.update),this.playerEvent&&this.on(this.player_,this.playerEvent,this.update),this.removeClass("disabled"),this.setAttribute("tabindex",0),this.enabled_=!0)},en.prototype.disable=function(){var t;this.enabled()&&(t=this.bar.el_.ownerDocument,this.off("mousedown",this.handleMouseDown),this.off("touchstart",this.handleMouseDown),this.off("focus",this.handleFocus),this.off("blur",this.handleBlur),this.off("click",this.handleClick),this.off(this.player_,"controlsvisible",this.update),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.removeAttribute("tabindex"),this.addClass("disabled"),this.playerEvent&&this.off(this.player_,this.playerEvent,this.update),this.enabled_=!1)},en.prototype.createEl=function(t){var e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},i=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{};return e.className=e.className+" vjs-slider",e=R({tabIndex:0},e),i=R({role:"slider","aria-valuenow":0,"aria-valuemin":0,"aria-valuemax":100,tabIndex:0},i),tn.prototype.createEl.call(this,t,e,i)},en.prototype.handleMouseDown=function(t){var e=this.bar.el_.ownerDocument;t.preventDefault(),ft(),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)},en.prototype.handleMouseMove=function(t){},en.prototype.handleMouseUp=function(){var t=this.bar.el_.ownerDocument;gt(),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()},en.prototype.update=function(){if(this.el_){var t=this.getPercent(),e=this.bar;if(e){var i=(100*(t="number"!=typeof t||t!=t||t<0||t===1/0?0:t)).toFixed(2)+"%",e=e.el().style;return this.vertical()?e.height=i:e.width=i,t}}},en.prototype.calculateDistance=function(t){t=yt(this.el_,t);return this.vertical()?t.y:t.x},en.prototype.handleFocus=function(){this.on(this.bar.el_.ownerDocument,"keydown",this.handleKeyPress)},en.prototype.handleKeyPress=function(t){37===t.which||40===t.which?(t.preventDefault(),this.stepBack()):38!==t.which&&39!==t.which||(t.preventDefault(),this.stepForward())},en.prototype.handleBlur=function(){this.off(this.bar.el_.ownerDocument,"keydown",this.handleKeyPress)},en.prototype.handleClick=function(t){t.stopImmediatePropagation(),t.preventDefault()},en.prototype.vertical=function(t){if(void 0===t)return this.vertical_||!1;this.vertical_=!!t,this.vertical_?this.addClass("vjs-slider-vertical"):this.addClass("vjs-slider-horizontal")},en);function en(t,e){O(this,en);e=z(this,tn.call(this,t,e));return e.bar=e.getChild(e.options_.barName),e.vertical(!!e.options_.vertical),e.enable(),e}ue.registerComponent("Slider",E);var sn,l=(N(nn,sn=ue),nn.prototype.createEl=function(){return sn.prototype.createEl.call(this,"div",{className:"vjs-load-progress",innerHTML:'<span class="vjs-control-text"><span>'+this.localize("Loaded")+"</span>: 0%</span>"})},nn.prototype.update=function(t){function e(t,e){return 100*(1<=(e=t/e||0)?1:e)+"%"}var i=this.player_.buffered(),s=this.player_.duration(),n=this.player_.bufferedEnd(),o=this.partEls_;this.el_.style.width=e(n,s);for(var r=0;r<i.length;r++){var a=i.start(r),l=i.end(r),h=o[r];h||(h=this.el_.appendChild(it()),o[r]=h),h.style.left=e(a,n),h.style.width=e(l-a,n)}for(var c=o.length;c>i.length;c--)this.el_.removeChild(o[c-1]);o.length=i.length},nn);function nn(t,e){O(this,nn);e=z(this,sn.call(this,t,e));return e.partEls_=[],e.on(t,"progress",e.update),e}ue.registerComponent("LoadProgressBar",l);var on,n=(N(rn,on=ue),rn.prototype.createEl=function(){return on.prototype.createEl.call(this,"div",{className:"vjs-time-tooltip"})}
1,rn.prototype.update=function(t,e,i){var s=mt(this.el_),n=mt(this.player_.el()),o=t.width*e;n&&s&&(e=t.left-n.left+o,n=t.width-o+(n.right-t.right),e<(t=s.width/2)?t+=t-e:n<t&&(t=n),t<0?t=0:t>s.width&&(t=s.width),this.el_.style.right="-"+t+"px",st(this.el_,i))},rn);function rn(){return O(this,rn),z(this,on.apply(this,arguments))}ue.registerComponent("TimeTooltip",n);var an,s=(N(ln,an=ue),ln.prototype.createEl=function(){return an.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>"})},ln.prototype.update=function(i,s){var n=this;this.rafId_&&this.cancelAnimationFrame(this.rafId_),this.rafId_=this.requestAnimationFrame(function(){var t=$s(n.player_.scrubbing()?n.player_.getCache().currentTime:n.player_.currentTime(),n.player_.duration()),e=n.getChild("timeTooltip");e&&e.update(i,s,t)})},ln);function ln(){return O(this,ln),z(this,an.apply(this,arguments))}s.prototype.options_={children:[]},S&&!(8<S)||g||v||s.prototype.options_.children.push("timeTooltip"),ue.registerComponent("PlayProgressBar",s);var hn,o=(N(cn,hn=ue),cn.prototype.createEl=function(){return hn.prototype.createEl.call(this,"div",{className:"vjs-mouse-display"})},cn.prototype.update=function(e,i){var s=this;this.rafId_&&this.cancelAnimationFrame(this.rafId_),this.rafId_=this.requestAnimationFrame(function(){var t=s.player_.duration(),t=$s(i*t,t);s.el_.style.left=e.width*i+"px",s.getChild("timeTooltip").update(e,i,t)})},cn);function cn(t,e){O(this,cn);e=z(this,hn.call(this,t,e));return e.update=Qt(Gt(e,e.update),25),e}o.prototype.options_={children:["timeTooltip"]},ue.registerComponent("MouseTimeDisplay",o);var un,Mi=(N(dn,un=E),dn.prototype.createEl=function(){return un.prototype.createEl.call(this,"div",{className:"vjs-progress-holder"},{"aria-label":this.localize("Progress Bar")})},dn.prototype.update_=function(t,e){var i=this.player_.duration();this.el_.setAttribute("aria-valuenow",(100*e).toFixed(2)),this.el_.setAttribute("aria-valuetext",this.localize("progress bar timing: currentTime={1} duration={2}",[$s(t,i),$s(i,i)],"{1} of {2}")),this.bar.update(mt(this.el_),e)},dn.prototype.update=function(t){var e=un.prototype.update.call(this);return this.update_(this.getCurrentTime_(),e),e},dn.prototype.getCurrentTime_=function(){return this.player_.scrubbing()?this.player_.getCache().currentTime:this.player_.currentTime()},dn.prototype.handleEnded=function(t){this.update_(this.player_.duration(),1)},dn.prototype.getPercent=function(){var t=this.getCurrentTime_()/this.player_.duration();return 1<=t?1:t},dn.prototype.handleMouseDown=function(t){this.player_.scrubbing(!0),this.videoWasPlaying=!this.player_.paused(),this.player_.pause(),un.prototype.handleMouseDown.call(this,t)},dn.prototype.handleMouseMove=function(t){t=this.calculateDistance(t)*this.player_.duration();t===this.player_.duration()&&(t-=.1),this.player_.currentTime(t)},dn.prototype.enable=function(){un.prototype.enable.call(this);var t=this.getChild("mouseTimeDisplay");t&&t.show()},dn.prototype.disable=function(){un.prototype.disable.call(this);var t=this.getChild("mouseTimeDisplay");t&&t.hide()},dn.prototype.handleMouseUp=function(t){un.prototype.handleMouseUp.call(this,t),this.player_.scrubbing(!1),this.videoWasPlaying&&this.player_.play()},dn.prototype.stepForward=function(){this.player_.currentTime(this.player_.currentTime()+5)},dn.prototype.stepBack=function(){this.player_.currentTime(this.player_.currentTime()-5)},dn.prototype.handleAction=function(t){this.player_.paused()?this.player_.play():this.player_.pause()},dn.prototype.handleKeyPress=function(t){32===t.which||13===t.which?(t.preventDefault(),this.handleAction(t)):un.prototype.handleKeyPress&&un.prototype.handleKeyPress.call(this,t)},dn);function dn(t,e){O(this,dn);e=z(this,un.call(this,t,e));return e.update=Qt(Gt(e,e.update),50),e.on(t,"timeupdate",e.update),e.on(t,"ended",e.handleEnded),e}Mi.prototype.options_={children:["loadProgressBar","playProgressBar"],barName:"playProgressBar"},S&&!(8<S)||g||v||Mi.prototype.options_.children.splice(1,0,"mouseTimeDisplay"),Mi.prototype.playerEvent="timeupdate",ue.registerComponent("SeekBar",Mi);var pn,d=(N(fn,pn=ue),fn.prototype.createEl=function(){return pn.prototype.createEl.call(this,"div",{className:"vjs-progress-control vjs-control"})},fn.prototype.handleMouseMove=function(t){var e=this.getChild("seekBar"),i=e.getChild("mouseTimeDisplay"),s=e.el(),e=mt(s),t=yt(s,t).x;1<t?t=1:t<0&&(t=0),i&&i.update(e,t)},fn.prototype.handleMouseSeek=function(t){this.getChild("seekBar").handleMouseMove(t)},fn.prototype.enabled=function(){return this.enabled_}
vendor: 10,606 bytes, line 1
1,fn.prototype.disable=function(){this.children().forEach(function(t){return t.disable&&t.disable()}),this.enabled()&&(this.off(["mousedown","touchstart"],this.handleMouseDown),this.off(this.el_,"mousemove",this.handleMouseMove),this.handleMouseUp(),this.addClass("disabled"),this.enabled_=!1)},fn.prototype.enable=function(){this.children().forEach(function(t){return t.enable&&t.enable()}),this.enabled()||(this.on(["mousedown","touchstart"],this.handleMouseDown),this.on(this.el_,"mousemove",this.handleMouseMove),this.removeClass("disabled"),this.enabled_=!0)},fn.prototype.handleMouseDown=function(t){var e=this.el_.ownerDocument;this.on(e,"mousemove",this.throttledHandleMouseSeek),this.on(e,"touchmove",this.throttledHandleMouseSeek),this.on(e,"mouseup",this.handleMouseUp),this.on(e,"touchend",this.handleMouseUp)},fn.prototype.handleMouseUp=function(t){var e=this.el_.ownerDocument;this.off(e,"mousemove",this.throttledHandleMouseSeek),this.off(e,"touchmove",this.throttledHandleMouseSeek),this.off(e,"mouseup",this.handleMouseUp),this.off(e,"touchend",this.handleMouseUp)},fn);function fn(t,e){O(this,fn);e=z(this,pn.call(this,t,e));return e.handleMouseMove=Qt(Gt(e,e.handleMouseMove),25),e.throttledHandleMouseSeek=Qt(Gt(e,e.handleMouseSeek),25),e.enable(),e}d.prototype.options_={children:["seekBar"]},ue.registerComponent("ProgressControl",d);var gn,i=(N(mn,gn=Os),mn.prototype.buildCSSClass=function(){return"vjs-fullscreen-control "+gn.prototype.buildCSSClass.call(this)},mn.prototype.handleFullscreenChange=function(t){this.player_.isFullscreen()?this.controlText("Non-Fullscreen"):this.controlText("Fullscreen")},mn.prototype.handleClick=function(t){this.player_.isFullscreen()?this.player_.exitFullscreen():this.player_.requestFullscreen()},mn);function mn(t,e){O(this,mn);e=z(this,gn.call(this,t,e));return e.on(t,"fullscreenchange",e.handleFullscreenChange),e}i.prototype.controlText_="Fullscreen",ue.registerComponent("FullscreenToggle",i);var vn,yn=function(t,e){e.tech_&&!e.tech_.featuresVolumeControl&&t.addClass("vjs-hidden"),t.on(e,"loadstart",function(){e.tech_.featuresVolumeControl?t.removeClass("vjs-hidden"):t.addClass("vjs-hidden")})},m=(N(_n,vn=ue),_n.prototype.createEl=function(){return vn.prototype.createEl.call(this,"div",{className:"vjs-volume-level",innerHTML:'<span class="vjs-control-text"></span>'})},_n);function _n(){return O(this,_n),z(this,vn.apply(this,arguments))}ue.registerComponent("VolumeLevel",m);var bn,C=(N(wn,bn=E),wn.prototype.createEl=function(){return bn.prototype.createEl.call(this,"div",{className:"vjs-volume-bar vjs-slider-bar"},{"aria-label":this.localize("Volume Level"),"aria-live":"polite"})},wn.prototype.handleMouseMove=function(t){this.checkMuted(),this.player_.volume(this.calculateDistance(t))},wn.prototype.checkMuted=function(){this.player_.muted()&&this.player_.muted(!1)},wn.prototype.getPercent=function(){return this.player_.muted()?0:this.player_.volume()},wn.prototype.stepForward=function(){this.checkMuted(),this.player_.volume(this.player_.volume()+.1)},wn.prototype.stepBack=function(){this.checkMuted(),this.player_.volume(this.player_.volume()-.1)},wn.prototype.updateARIAAttributes=function(t){var e=this.player_.muted()?0:this.volumeAsPercentage_();this.el_.setAttribute("aria-valuenow",e),this.el_.setAttribute("aria-valuetext",e+"%")},wn.prototype.volumeAsPercentage_=function(){return Math.round(100*this.player_.volume())},wn.prototype.updateLastVolume_=function(){var t=this,e=this.player_.volume();this.one("sliderinactive",function(){0===t.player_.volume()&&t.player_.lastVolume_(e)})},wn);function wn(t,e){O(this,wn);var i=z(this,bn.call(this,t,e));return i.on("slideractive",i.updateLastVolume_),i.on(t,"volumechange",i.updateARIAAttributes),t.ready(function(){return i.updateARIAAttributes()}),i}C.prototype.options_={children:["volumeLevel"],barName:"volumeLevel"},C.prototype.playerEvent="volumechange",ue.registerComponent("VolumeBar",C);var Cn,l=(N(kn,Cn=ue),kn.prototype.createEl=function(){var t="vjs-volume-horizontal";return this.options_.vertical&&(t="vjs-volume-vertical"),Cn.prototype.createEl.call(this,"div",{className:"vjs-volume-control vjs-control "+t})},kn.prototype.handleMouseDown=function(t){var e=this.el_.ownerDocument;this.on(e,"mousemove",this.throttledHandleMouseMove),this.on(e,"touchmove",this.throttledHandleMouseMove),this.on(e,"mouseup",this.handleMouseUp),this.on(e,"touchend",this.handleMouseUp)},kn.prototype.handleMouseUp=function(t){var e=this.el_.ownerDocument;this.off(e,"mousemove",this.throttledHandleMouseMove),this.off(e,"touchmove",this.throttledHandleMouseMove),this.off(e,"mouseup",this.handleMouseUp),this.off(e,"touchend",this.handleMouseUp)},kn.prototype.handleMouseMove=function(t){this.volumeBar.handleMouseMove(t)},kn);function kn(t){var e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};O(this,kn),e.vertical=e.vertical||!1,void 0!==e.volumeBar&&!$(e.volumeBar)||(e.volumeBar=e.volumeBar||{},e.volumeBar.vertical=e.vertical);var i=z(this,Cn.call(this,t,e));return yn(i,t),i.throttledHandleMouseMove=Qt(Gt(i,i.handleMouseMove),25),i.on("mousedown",i.handleMouseDown),i.on("touchstart",i.handleMouseDown),i.on(i.volumeBar,["focus","slideractive"],function(){i.volumeBar.addClass("vjs-slider-active"),i.addClass("vjs-slider-active"),i.trigger("slideractive")}),i.on(i.volumeBar,["blur","sliderinactive"],function(){i.volumeBar.removeClass("vjs-slider-active"),i.removeClass("vjs-slider-active"),i.trigger("sliderinactive")}),i}l.prototype.options_={children:["volumeBar"]},ue.registerComponent("VolumeControl",l);var Tn,n=(N(xn,Tn=Os),xn.prototype.buildCSSClass=function(){return"vjs-mute-control "+Tn.prototype.buildCSSClass.call(this)},xn.prototype.handleClick=function(t){var e=this.player_.volume(),i=this.player_.lastVolume_();0===e?(this.player_.volume(i<.1?.1:i),this.player_.muted(!1)):this.player_.muted(!this.player_.muted())},xn.prototype.update=function(t){this.updateIcon_(),this.updateControlText_()},xn.prototype.updateIcon_=function(){var t=this.player_.volume(),e=3;0===t||this.player_.muted()?e=0:t<.33?e=1:t<.67&&(e=2);for(var i=0;i<4;i++)at(this.el_,"vjs-vol-"+i);rt(this.el_,"vjs-vol-"+e)},xn.prototype.updateControlText_=function(){var t=this.player_.muted()||0===this.player_.volume()?"Unmute":"Mute";this.controlText()!==t&&this.controlText(t)},xn);function xn(t,e){O(this,xn);e=z(this,Tn.call(this,t,e));return yn(e,t),e.on(t,["loadstart","volumechange"],e.update),e}n.prototype.controlText_="Mute",ue.registerComponent("MuteToggle",n);var Sn,s=(N(En,Sn=ue),En.prototype.sliderActive_=function(){this.addClass("vjs-slider-active")},En.prototype.sliderInactive_=function(){this.removeClass("vjs-slider-active")},En.prototype.createEl=function(){var t="vjs-volume-panel-horizontal";return this.options_.inline||(t="vjs-volume-panel-vertical"),Sn.prototype.createEl.call(this,"div",{className:"vjs-volume-panel vjs-control "+t})},En);function En(t){var e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};O(this,En),void 0!==e.inline?e.inline=e.inline:e.inline=!0,void 0!==e.volumeControl&&!$(e.volumeControl)||(e.volumeControl=e.volumeControl||{},e.volumeControl.vertical=!e.inline);e=z(this,Sn.call(this,t,e));return yn(e,t),e.on(e.volumeControl,["slideractive"],e.sliderActive_),e.on(e.muteToggle,"focus",e.sliderActive_),e.on(e.volumeControl,["sliderinactive"],e.sliderInactive_),e.on(e.muteToggle,"blur",e.sliderInactive_),e}s.prototype.options_={children:["muteToggle","volumeControl"]},ue.registerComponent("VolumePanel",s);var In,Dn=(N(Mn,In=ue),Mn.prototype.addItem=function(e){this.addChild(e),e.on("click",Gt(this,function(t){this.menuButton_&&(this.menuButton_.unpressButton(),"CaptionSettingsMenuItem"!==e.name()&&this.menuButton_.focus())}))},Mn.prototype.createEl=function(){var t=this.options_.contentElType||"ul";this.contentEl_=it(t,{className:"vjs-menu-content"}),this.contentEl_.setAttribute("role","menu");t=In.prototype.createEl.call(this,"div",{append:this.contentEl_,className:"vjs-menu"});return t.appendChild(this.contentEl_),Ht(t,"click",function(t){t.preventDefault(),t.stopImmediatePropagation()}),t},Mn.prototype.handleKeyPress=function(t){37===t.which||40===t.which?(t.preventDefault(),this.stepForward()):38!==t.which&&39!==t.which||(t.preventDefault(),this.stepBack())},Mn.prototype.stepForward=function(){var t=0;void 0!==this.focusedChild_&&(t=this.focusedChild_+1),this.focus(t)},Mn.prototype.stepBack=function(){var t=0;void 0!==this.focusedChild_&&(t=this.focusedChild_-1),this.focus(t)},Mn.prototype.focus=function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]: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())},Mn);function Mn(t,e){O(this,Mn);t=z(this,In.call(this,t,e));return e&&(t.menuButton_=e.menuButton),t.focusedChild_=-1,t.on("keydown",t.handleKeyPress),t}ue.registerComponent("Menu",Dn);var Pn,o=(N(An,Pn=ue),An.prototype.update=function(){var t=this.createMenu();this.menu&&this.removeChild(this.menu),this.menu=t,this.addChild(t),this.buttonPressed_=!1,this.menuButton_.el_.setAttribute("aria-expanded","false"),this.items&&this.items.length<=this.hideThreshold_?this.hide():this.show()},An.prototype.createMenu=function(){var t,e=new Dn(this.player_,{menuButton:this});if(this.hideThreshold_=0,this.options_.title&&(t=it("li",{className:"vjs-menu-title",innerHTML:he(this.options_.title),tabIndex:-1}),this.hideThreshold_+=1,e.children_.unshift(t),nt(t,e.contentEl())),this.items=this.createItems(),this.items)for(var i=0;i<this.items.length;i++)e.addItem(this.items[i]);return e},An.prototype.createItems=function(){},An.prototype.createEl=function(){return Pn.prototype.createEl.call(this,"div",{className:this.buildWrapperCSSClass()},{})},An.prototype.buildWrapperCSSClass=function(){var t="vjs-menu-button";return!0===this.options_.inline?t+="-inline":t+="-popup","vjs-menu-button "+t+" "+Os.prototype.buildCSSClass()+" "+Pn.prototype.buildCSSClass.call(this)},An.prototype.buildCSSClass=function(){var t="vjs-menu-button";return!0===this.options_.inline?t+="-inline":t+="-popup","vjs-menu-button "+t+" "+Pn.prototype.buildCSSClass.call(this)},An.prototype.controlText=function(t){var e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:this.menuButton_.el();return this.menuButton_.controlText(t,e)},An.prototype.handleClick=function(t){this.one(this.menu.contentEl(),"mouseleave",Gt(this,function(t){this.unpressButton(),this.el_.blur()})),this.buttonPressed_?this.unpressButton():this.pressButton()}
1,An.prototype.focus=function(){this.menuButton_.focus()},An.prototype.blur=function(){this.menuButton_.blur()},An.prototype.handleFocus=function(){Ht(c,"keydown",Gt(this,this.handleKeyPress))},An.prototype.handleBlur=function(){Rt(c,"keydown",Gt(this,this.handleKeyPress))},An.prototype.handleKeyPress=function(t){27===t.which||9===t.which?(this.buttonPressed_&&this.unpressButton(),9!==t.which&&(t.preventDefault(),this.menuButton_.el_.focus())):38!==t.which&&40!==t.which||this.buttonPressed_||(this.pressButton(),t.preventDefault())},An.prototype.handleSubmenuKeyPress=function(t){27!==t.which&&9!==t.which||(this.buttonPressed_&&this.unpressButton(),9!==t.which&&(t.preventDefault(),this.menuButton_.el_.focus()))},An.prototype.pressButton=function(){this.enabled_&&(this.buttonPressed_=!0,this.menu.lockShowing(),this.menuButton_.el_.setAttribute("aria-expanded","true"),g||tt()||this.menu.focus())},An.prototype.unpressButton=function(){this.enabled_&&(this.buttonPressed_=!1,this.menu.unlockShowing(),this.menuButton_.el_.setAttribute("aria-expanded","false"))},An.prototype.disable=function(){this.unpressButton(),this.enabled_=!1,this.addClass("vjs-disabled"),this.menuButton_.disable()},An.prototype.enable=function(){this.enabled_=!0,this.removeClass("vjs-disabled"),this.menuButton_.enable()},An);function An(t){var e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};O(this,An);var i=z(this,Pn.call(this,t,e));i.menuButton_=new Os(t,e),i.menuButton_.controlText(i.controlText_),i.menuButton_.el_.setAttribute("aria-haspopup","true");e=Os.prototype.buildCSSClass();return i.menuButton_.el_.className=i.buildCSSClass()+" "+e,i.menuButton_.removeClass("vjs-control"),i.addChild(i.menuButton_),i.update(),i.enabled_=!0,i.on(i.menuButton_,"tap",i.handleClick),i.on(i.menuButton_,"click",i.handleClick),i.on(i.menuButton_,"focus",i.handleFocus),i.on(i.menuButton_,"blur",i.handleBlur),i.on("keydown",i.handleSubmenuKeyPress),i}ue.registerComponent("MenuButton",o);var On,Mi=(N(Nn,On=o),Nn);function Nn(t,e){O(this,Nn);var i=e.tracks,e=z(this,On.call(this,t,e));if(e.items.length<=1&&e.hide(),!i)return z(e);var s=Gt(e,e.update);return i.addEventListener("removetrack",s),i.addEventListener("addtrack",s),e.player_.on("ready",s),e.player_.on("dispose",function(){i.removeEventListener("removetrack",s),i.removeEventListener("addtrack",s)}),e}ue.registerComponent("TrackButton",Mi);var zn,d=(N(jn,zn=f),jn.prototype.createEl=function(t,e,i){return this.nonIconControl=!0,zn.prototype.createEl.call(this,"li",R({className:"vjs-menu-item",innerHTML:'<span class="vjs-menu-item-text">'+this.localize(this.options_.label)+"</span>",tabIndex:-1},e),i)},jn.prototype.handleClick=function(t){this.selected(!0)},jn.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(" ")))},jn);function jn(t,e){O(this,jn);t=z(this,zn.call(this,t,e));return t.selectable=e.selectable,t.selected(e.selected),t.selectable?t.el_.setAttribute("role","menuitemcheckbox"):t.el_.setAttribute("role","menuitem"),t}ue.registerComponent("MenuItem",d);var Ln,Hn=(N(Rn,Ln=d),Rn.prototype.handleClick=function(t){var e=this.track.kind,i=this.track.kinds,s=this.player_.textTracks(),i=i||[e];if(Ln.prototype.handleClick.call(this,t),s)for(var n=0;n<s.length;n++){var o=s[n];o===this.track&&-1<i.indexOf(o.kind)?"showing"!==o.mode&&(o.mode="showing"):"disabled"!==o.mode&&(o.mode="disabled")}},Rn.prototype.handleTracksChange=function(t){this.selected("showing"===this.track.mode)},Rn.prototype.handleSelectedLanguageChange=function(t){var e;"showing"===this.track.mode&&((e=this.player_.cache_.selectedLanguage)&&e.enabled&&e.language===this.track.language&&e.kind!==this.track.kind||(this.player_.cache_.selectedLanguage={enabled:!0,language:this.track.language,kind:this.track.kind}))},Rn);function Rn(t,e){O(this,Rn);var i=e.track,s=t.textTracks();e.label=i.label||i.language||"Unknown",e.selected="showing"===i.mode;e=z(this,Ln.call(this,t,e));e.track=i;var n,o=Gt(e,e.handleTracksChange),r=Gt(e,e.handleSelectedLanguageChange);return t.on(["loadstart","texttrackchange"],o),s.addEventListener("change",o),s.addEventListener("selectedlanguagechange",r),e.on("dispose",function(){s.removeEventListener("change",o),s.removeEventListener("selectedlanguagechange",r)}),void 0===s.onchange&&(n=void 0,e.on(["tap","click"],function(){if("object"!==A(h.Event))try{n=new h.Event("change")}catch(t){}n||(n=c.createEvent("Event")).initEvent("change",!0,!0),s.dispatchEvent(n)})),e}ue.registerComponent("TextTrackMenuItem",Hn);var Fn,$n=(N(Bn,Fn=Hn),Bn.prototype.handleTracksChange=function(t){for(var e=this.player().textTracks(),i=!0,s=0,n=e.length;s<n;s++){var o=e[s];
1if(-1<this.options_.kinds.indexOf(o.kind)&&"showing"===o.mode){i=!1;break}}this.selected(i)},Bn.prototype.handleSelectedLanguageChange=function(t){for(var e=this.player().textTracks(),i=!0,s=0,n=e.length;s<n;s++){var o=e[s];if(-1<["captions","descriptions","subtitles"].indexOf(o.kind)&&"showing"===o.mode){i=!1;break}}i&&(this.player_.cache_.selectedLanguage={enabled:!1})},Bn);function Bn(t,e){O(this,Bn),e.track={player:t,kind:e.kind,kinds:e.kinds,default:!1,mode:"disabled"},e.kinds||(e.kinds=[e.kind]),e.label?e.track.label=e.label:e.track.label=e.kinds.join(" and ")+" off",e.selectable=!0;e=z(this,Fn.call(this,t,e));return e.selected(!0),e}ue.registerComponent("OffTextTrackMenuItem",$n);var Wn,i=(N(Vn,Wn=Mi),Vn.prototype.createItems=function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:[],e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:Hn,i=void 0;this.label_&&(i=this.label_+" off"),t.push(new $n(this.player_,{kinds:this.kinds_,kind:this.kind_,label:i})),this.hideThreshold_+=1;var s=this.player_.textTracks();Array.isArray(this.kinds_)||(this.kinds_=[this.kind_]);for(var n=0;n<s.length;n++){var o,r=s[n];-1<this.kinds_.indexOf(r.kind)&&((o=new e(this.player_,{track:r,selectable:!0})).addClass("vjs-"+r.kind+"-menu-item"),t.push(o))}return t},Vn);function Vn(t){var e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};return O(this,Vn),e.tracks=t.textTracks(),z(this,Wn.call(this,t,e))}ue.registerComponent("TextTrackButton",i);var Un,qn=(N(Yn,Un=d),Yn.prototype.handleClick=function(t){Un.prototype.handleClick.call(this),this.player_.currentTime(this.cue.startTime),this.update(this.cue.startTime)},Yn.prototype.update=function(t){var e=this.cue,i=this.player_.currentTime();this.selected(e.startTime<=i&&i<e.endTime)},Yn);function Yn(t,e){O(this,Yn);var i=e.track,s=e.cue,n=t.currentTime();e.selectable=!0,e.label=s.text,e.selected=s.startTime<=n&&n<s.endTime;e=z(this,Un.call(this,t,e));return e.track=i,e.cue=s,i.addEventListener("cuechange",Gt(e,e.update)),e}ue.registerComponent("ChaptersTrackMenuItem",qn);var Kn,m=(N(Xn,Kn=i),Xn.prototype.buildCSSClass=function(){return"vjs-chapters-button "+Kn.prototype.buildCSSClass.call(this)},Xn.prototype.buildWrapperCSSClass=function(){return"vjs-chapters-button "+Kn.prototype.buildWrapperCSSClass.call(this)},Xn.prototype.update=function(t){this.track_&&(!t||"addtrack"!==t.type&&"removetrack"!==t.type)||this.setTrack(this.findChaptersTrack()),Kn.prototype.update.call(this)},Xn.prototype.setTrack=function(t){var e;this.track_!==t&&(this.updateHandler_||(this.updateHandler_=this.update.bind(this)),this.track_&&((e=this.player_.remoteTextTrackEls().getTrackElementByTrack_(this.track_))&&e.removeEventListener("load",this.updateHandler_),this.track_=null),this.track_=t,this.track_&&(this.track_.mode="hidden",(t=this.player_.remoteTextTrackEls().getTrackElementByTrack_(this.track_))&&t.addEventListener("load",this.updateHandler_)))}
vendor: 9,026 bytes, line 1
1,Xn.prototype.findChaptersTrack=function(){for(var t=this.player_.textTracks()||[],e=t.length-1;0<=e;e--){var i=t[e];if(i.kind===this.kind_)return i}},Xn.prototype.getMenuCaption=function(){return this.track_&&this.track_.label?this.track_.label:this.localize(he(this.kind_))},Xn.prototype.createMenu=function(){return this.options_.title=this.getMenuCaption(),Kn.prototype.createMenu.call(this)},Xn.prototype.createItems=function(){var t=[];if(!this.track_)return t;var e=this.track_.cues;if(!e)return t;for(var i=0,s=e.length;i<s;i++){var n=e[i],n=new qn(this.player_,{track:this.track_,cue:n});t.push(n)}return t},Xn);function Xn(t,e,i){return O(this,Xn),z(this,Kn.call(this,t,e,i))}m.prototype.kind_="chapters",m.prototype.controlText_="Chapters",ue.registerComponent("ChaptersButton",m);var Gn,E=(N(Qn,Gn=i),Qn.prototype.handleTracksChange=function(t){for(var e=this.player().textTracks(),i=!1,s=0,n=e.length;s<n;s++){var o=e[s];if(o.kind!==this.kind_&&"showing"===o.mode){i=!0;break}}i?this.disable():this.enable()},Qn.prototype.buildCSSClass=function(){return"vjs-descriptions-button "+Gn.prototype.buildCSSClass.call(this)},Qn.prototype.buildWrapperCSSClass=function(){return"vjs-descriptions-button "+Gn.prototype.buildWrapperCSSClass.call(this)},Qn);function Qn(t,e,i){O(this,Qn);var i=z(this,Gn.call(this,t,e,i)),s=t.textTracks(),n=Gt(i,i.handleTracksChange);return s.addEventListener("change",n),i.on("dispose",function(){s.removeEventListener("change",n)}),i}E.prototype.kind_="descriptions",E.prototype.controlText_="Descriptions",ue.registerComponent("DescriptionsButton",E);var Zn,C=(N(Jn,Zn=i),Jn.prototype.buildCSSClass=function(){return"vjs-subtitles-button "+Zn.prototype.buildCSSClass.call(this)},Jn.prototype.buildWrapperCSSClass=function(){return"vjs-subtitles-button "+Zn.prototype.buildWrapperCSSClass.call(this)},Jn);function Jn(t,e,i){return O(this,Jn),z(this,Zn.call(this,t,e,i))}C.prototype.kind_="subtitles",C.prototype.controlText_="Subtitles",ue.registerComponent("SubtitlesButton",C);var to,eo=(N(io,to=Hn),io.prototype.handleClick=function(t){this.player().getChild("textTrackSettings").open()},io);function io(t,e){O(this,io),e.track={player:t,kind:e.kind,label:e.kind+" settings",selectable:!1,default:!1,mode:"disabled"},e.selectable=!1,e.name="CaptionSettingsMenuItem";t=z(this,to.call(this,t,e));return t.addClass("vjs-texttrack-settings"),t.controlText(", opens "+e.kind+" settings dialog"),t}ue.registerComponent("CaptionSettingsMenuItem",eo);var so,l=(N(no,so=i),no.prototype.buildCSSClass=function(){return"vjs-captions-button "+so.prototype.buildCSSClass.call(this)},no.prototype.buildWrapperCSSClass=function(){return"vjs-captions-button "+so.prototype.buildWrapperCSSClass.call(this)},no.prototype.createItems=function(){var t=[];return this.player().tech_&&this.player().tech_.featuresNativeTextTracks||(t.push(new eo(this.player_,{kind:this.kind_})),this.hideThreshold_+=1),so.prototype.createItems.call(this,t)},no);function no(t,e,i){return O(this,no),z(this,so.call(this,t,e,i))}l.prototype.kind_="captions",l.prototype.controlText_="Captions",ue.registerComponent("CaptionsButton",l);var oo,ro=(N(ao,oo=Hn),ao.prototype.createEl=function(t,e,i){var s='<span class="vjs-menu-item-text">'+this.localize(this.options_.label);return"captions"===this.options_.track.kind&&(s+='\n        <span aria-hidden="true" class="vjs-icon-placeholder"></span>\n        <span class="vjs-control-text"> '+this.localize("Captions")+"</span>\n      "),oo.prototype.createEl.call(this,t,R({innerHTML:s+="</span>"},e),i)},ao);function ao(){return O(this,ao),z(this,oo.apply(this,arguments))}ue.registerComponent("SubsCapsMenuItem",ro);var lo,n=(N(ho,lo=i),ho.prototype.buildCSSClass=function(){return"vjs-subs-caps-button "+lo.prototype.buildCSSClass.call(this)},ho.prototype.buildWrapperCSSClass=function(){return"vjs-subs-caps-button "+lo.prototype.buildWrapperCSSClass.call(this)},ho.prototype.createItems=function(){var t=[];return this.player().tech_&&this.player().tech_.featuresNativeTextTracks||(t.push(new eo(this.player_,{kind:this.label_})),this.hideThreshold_+=1),t=lo.prototype.createItems.call(this,t,ro)},ho);function ho(t){var e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};O(this,ho);e=z(this,lo.call(this,t,e));return e.label_="subtitles",-1<["en","en-us","en-ca","fr-ca"].indexOf(e.player_.language_)&&(e.label_="captions"),e.menuButton_.controlText(he(e.label_)),e}n.prototype.kinds_=["captions","subtitles"],n.prototype.controlText_="Subtitles",ue.registerComponent("SubsCapsButton",n);var co,uo=(N(po,co=d),po.prototype.handleClick=function(t){var e=this.player_.audioTracks();co.prototype.handleClick.call(this,t);for(var i=0;i<e.length;i++){var s=e[i];s.enabled=s===this.track}},po.prototype.handleTracksChange=function(t){this.selected(this.track.enabled)},po);function po(t,e){O(this,po);var i=e.track,s=t.audioTracks();e.label=i.label||i.language||"Unknown",e.selected=i.enabled;e=z(this,co.call(this,t,e));e.track=i;var n=Gt(e,e.handleTracksChange);return s.addEventListener("change",n),e.on("dispose",function(){s.removeEventListener("change",n)}),e}ue.registerComponent("AudioTrackMenuItem",uo);var fo,s=(N(go,fo=Mi),go.prototype.buildCSSClass=function(){return"vjs-audio-button "+fo.prototype.buildCSSClass.call(this)},go.prototype.buildWrapperCSSClass=function(){return"vjs-audio-button "+fo.prototype.buildWrapperCSSClass.call(this)},go.prototype.createItems=function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:[];this.hideThreshold_=1;for(var e=this.player_.audioTracks(),i=0;i<e.length;i++){var s=e[i];t.push(new uo(this.player_,{track:s,selectable:!0}))}return t},go);function go(t){var e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};return O(this,go),e.tracks=t.audioTracks(),z(this,fo.call(this,t,e))}s.prototype.controlText_="Audio Track",ue.registerComponent("AudioTrackButton",s);var mo,vo=(N(yo,mo=d),yo.prototype.handleClick=function(t){mo.prototype.handleClick.call(this),this.player().playbackRate(this.rate)},yo.prototype.update=function(t){this.selected(this.player().playbackRate()===this.rate)},yo);function yo(t,e){O(this,yo);var i=e.rate,s=parseFloat(i,10);e.label=i,e.selected=1===s,e.selectable=!0;e=z(this,mo.call(this,t,e));return e.label=i,e.rate=s,e.on(t,"ratechange",e.update),e}vo.prototype.contentElType="button",ue.registerComponent("PlaybackRateMenuItem",vo);var _o,f=(N(bo,_o=o),bo.prototype.createEl=function(){var t=_o.prototype.createEl.call(this);return this.labelEl_=it("div",{className:"vjs-playback-rate-value",innerHTML:"1x"}),t.appendChild(this.labelEl_),t},bo.prototype.buildCSSClass=function(){return"vjs-playback-rate "+_o.prototype.buildCSSClass.call(this)},bo.prototype.buildWrapperCSSClass=function(){return"vjs-playback-rate "+_o.prototype.buildWrapperCSSClass.call(this)},bo.prototype.createMenu=function(){var t=new Dn(this.player()),e=this.playbackRates();if(e)for(var i=e.length-1;0<=i;i--)t.addChild(new vo(this.player(),{rate:e[i]+"x"}));return t},bo.prototype.updateARIAAttributes=function(){this.el().setAttribute("aria-valuenow",this.player().playbackRate())},bo.prototype.handleClick=function(t){for(var e=this.player().playbackRate(),i=this.playbackRates(),s=i[0],n=0;n<i.length;n++)if(i[n]>e){s=i[n];break}this.player().playbackRate(s)},bo.prototype.playbackRates=function(){return this.options_.playbackRates||this.options_.playerOptions&&this.options_.playerOptions.playbackRates},bo.prototype.playbackRateSupported=function(){return this.player().tech_&&this.player().tech_.featuresPlaybackRate&&this.playbackRates()&&0<this.playbackRates().length},bo.prototype.updateVisibility=function(t){this.playbackRateSupported()?this.removeClass("vjs-hidden"):this.addClass("vjs-hidden")},bo.prototype.updateLabel=function(t){this.playbackRateSupported()&&(this.labelEl_.innerHTML=this.player().playbackRate()+"x")},bo);function bo(t,e){O(this,bo);e=z(this,_o.call(this,t,e));return e.updateVisibility(),e.updateLabel(),e.on(t,"loadstart",e.updateVisibility),e.on(t,"ratechange",e.updateLabel),e}f.prototype.controlText_="Playback Rate",ue.registerComponent("PlaybackRateMenuButton",f);var wo,m=(N(Co,wo=ue),Co.prototype.buildCSSClass=function(){return"vjs-spacer "+wo.prototype.buildCSSClass.call(this)},Co.prototype.createEl=function(){return wo.prototype.createEl.call(this,"div",{className:this.buildCSSClass()})},Co);function Co(){return O(this,Co),z(this,wo.apply(this,arguments))}ue.registerComponent("Spacer",m);var ko,E=(N(To,ko=m),To.prototype.buildCSSClass=function(){return"vjs-custom-control-spacer "+ko.prototype.buildCSSClass.call(this)},To.prototype.createEl=function(){var t=ko.prototype.createEl.call(this,{className:this.buildCSSClass()});return t.innerHTML="&nbsp;",t},To);function To(){return O(this,To),z(this,ko.apply(this,arguments))}ue.registerComponent("CustomControlSpacer",E);var xo,C=(N(So,xo=ue),So.prototype.createEl=function(){return xo.prototype.createEl.call(this,"div",{className:"vjs-control-bar",dir:"ltr"},{role:"group"})},So);
1function So(){return O(this,So),z(this,xo.apply(this,arguments))}C.prototype.options_={children:["playToggle","volumePanel","currentTimeDisplay","timeDivider","durationDisplay","progressControl","liveDisplay","remainingTimeDisplay","customControlSpacer","playbackRateMenuButton","chaptersButton","descriptionsButton","subsCapsButton","audioTrackButton","fullscreenToggle"]},ue.registerComponent("ControlBar",C);var Eo,l=(N(Io,Eo=Pe),Io.prototype.buildCSSClass=function(){return"vjs-error-display "+Eo.prototype.buildCSSClass.call(this)},Io.prototype.content=function(){var t=this.player().error();return t?this.localize(t.message):""},Io);function Io(t,e){O(this,Io);e=z(this,Eo.call(this,t,e));return e.on(t,"error",e.open),e}l.prototype.options_=ce(Pe.prototype.options_,{pauseOnOpen:!1,fillAlways:!0,temporary:!1,uncloseable:!0}),ue.registerComponent("ErrorDisplay",l);var Do="vjs-text-track-settings",i=["#000","Black"],n=["#00F","Blue"],Mi=["#0FF","Cyan"],s=["#0F0","Green"],d=["#F0F","Magenta"],o=["#F00","Red"],f=["#FFF","White"],m=["#FF0","Yellow"],E=["1","Opaque"],C=["0.5","Semi-Transparent"],l=["0","Transparent"],Mo={backgroundColor:{selector:".vjs-bg-color > select",id:"captions-background-color-%s",label:"Color",options:[i,f,o,s,n,m,d,Mi]},backgroundOpacity:{selector:".vjs-bg-opacity > select",id:"captions-background-opacity-%s",label:"Transparency",options:[E,C,l]},color:{selector:".vjs-fg-color > select",id:"captions-foreground-color-%s",label:"Color",options:[f,i,o,s,n,m,d,Mi]},edgeStyle:{selector:".vjs-edge-style > select",id:"%s",label:"Text Edge Style",options:[["none","None"],["raised","Raised"],["depressed","Depressed"],["uniform","Uniform"],["dropshadow","Dropshadow"]]},fontFamily:{selector:".vjs-font-family > select",id:"captions-font-family-%s",label:"Font Family",options:[["proportionalSansSerif","Proportional Sans-Serif"],["monospaceSansSerif","Monospace Sans-Serif"],["proportionalSerif","Proportional Serif"],["monospaceSerif","Monospace Serif"],["casual","Casual"],["script","Script"],["small-caps","Small Caps"]]},fontPercent:{selector:".vjs-font-percent > select",id:"captions-font-size-%s",label:"Font Size",options:[["0.50","50%"],["0.75","75%"],["1.00","100%"],["1.25","125%"],["1.50","150%"],["1.75","175%"],["2.00","200%"],["3.00","300%"],["4.00","400%"]],default:2,parser:function(t){return"1.00"===t?null:Number(t)}},textOpacity:{selector:".vjs-text-opacity > select",id:"captions-foreground-opacity-%s",label:"Transparency",options:[E,C]},windowColor:{selector:".vjs-window-color > select",id:"captions-window-color-%s",label:"Color"},windowOpacity:{selector:".vjs-window-opacity > select",id:"captions-window-opacity-%s",label:"Transparency",options:[l,C,E]}};function Po(t,e){if((t=e?e(t):t)&&"none"!==t)return t}Mo.windowColor.options=Mo.backgroundColor.options;var Ao,E=(N(Oo,Ao=Pe),Oo.prototype.createElSelect_=function(t){var i=this,s=1<arguments.length&&void 0!==arguments[1]?arguments[1]:"",e=2<arguments.length&&void 0!==arguments[2]?arguments[2]:"label",n=Mo[t],o=n.id.replace("%s",this.id_);return["<"+e+' id="'+o+'" class="'+("label"===e?"vjs-label":"")+'">',this.localize(n.label),"</"+e+">",'<select aria-labelledby="'+(""!==s?s+" ":"")+o+'">'].concat(n.options.map(function(t){var e=o+"-"+t[1];return['<option id="'+e+'" value="'+t[0]+'" ','aria-labelledby="'+(""!==s?s+" ":"")+o+" "+e+'">',i.localize(t[1]),"</option>"].join("")})).concat("</select>").join("")},Oo.prototype.createElFgColor_=function(){var t="captions-text-legend-"+this.id_;return['<fieldset class="vjs-fg-color vjs-track-setting">','<legend id="'+t+'">',this.localize("Text"),"</legend>",this.createElSelect_("color",t),'<span class="vjs-text-opacity vjs-opacity">',this.createElSelect_("textOpacity",t),"</span>","</fieldset>"].join("")},Oo.prototype.createElBgColor_=function(){var t="captions-background-"+this.id_;return['<fieldset class="vjs-bg-color vjs-track-setting">','<legend id="'+t+'">',this.localize("Background"),"</legend>",this.createElSelect_("backgroundColor",t),'<span class="vjs-bg-opacity vjs-opacity">
1',this.createElSelect_("backgroundOpacity",t),"</span>","</fieldset>"].join("")},Oo.prototype.createElWinColor_=function(){var t="captions-window-"+this.id_;return['<fieldset class="vjs-window-color vjs-track-setting">','<legend id="'+t+'">',this.localize("Window"),"</legend>",this.createElSelect_("windowColor",t),'<span class="vjs-window-opacity vjs-opacity">',this.createElSelect_("windowOpacity",t),"</span>","</fieldset>"].join("")},Oo.prototype.createElColors_=function(){return it("div",{className:"vjs-track-settings-colors",innerHTML:[this.createElFgColor_(),this.createElBgColor_(),this.createElWinColor_()].join("")})},Oo.prototype.createElFont_=function(){return it("div",{className:'vjs-track-settings-font">',innerHTML:['<fieldset class="vjs-font-percent vjs-track-setting">',this.createElSelect_("fontPercent","","legend"),"</fieldset>",'<fieldset class="vjs-edge-style vjs-track-setting">',this.createElSelect_("edgeStyle","","legend"),"</fieldset>",'<fieldset class="vjs-font-family vjs-track-setting">',this.createElSelect_("fontFamily","","legend"),"</fieldset>"].join("")})},Oo.prototype.createElControls_=function(){var t=this.localize("restore all settings to the default values");return it("div",{className:"vjs-track-settings-controls",innerHTML:['<button class="vjs-default-button" title="'+t+'">',this.localize("Reset"),'<span class="vjs-control-text"> '+t+"</span>","</button>",'<button class="vjs-done-button">'+this.localize("Done")+"</button>"].join("")})},Oo.prototype.content=function(){return[this.createElColors_(),this.createElFont_(),this.createElControls_()]},Oo.prototype.label=function(){return this.localize("Caption Settings Dialog")},Oo.prototype.description=function(){return this.localize("Beginning of dialog window. Escape will cancel and close the window.")},Oo.prototype.buildCSSClass=function(){return Ao.prototype.buildCSSClass.call(this)+" vjs-text-track-settings"},Oo.prototype.getValues=function(){var n=this;return function(i,s,t){var e=2<arguments.length&&void 0!==t?t:0;return L(i).reduce(function(t,e){return s(t,i[e],e)},e)}(Mo,function(t,e,i){var s,e=(s=n.$(e.selector),e=e.parser,Po(s.options[s.options.selectedIndex].value,e));return void 0!==e&&(t[i]=e),t},{})},Oo.prototype.setValues=function(i){var s=this;H(Mo,function(t,e){!function(t,e,i){if(e)for(var s=0;s<t.options.length;s++)if(Po(t.options[s].value,i)===e){t.selectedIndex=s;break}}(s.$(t.selector),i[e],t.parser)})},Oo.prototype.setDefaults=function(){var i=this;H(Mo,function(t){var e=t.hasOwnProperty("default")?t.default:0;i.$(t.selector).selectedIndex=e})},Oo.prototype.restoreSettings=function(){var t=void 0;try{t=JSON.parse(h.localStorage.getItem(Do))}catch(t){q.warn(t)}t&&this.setValues(t)},Oo.prototype.saveSettings=function(){if(this.options_.persistTextTrackSettings){var t=this.getValues();try{Object.keys(t).length?h.localStorage.setItem(Do,JSON.stringify(t)):h.localStorage.removeItem(Do)}catch(t){q.warn(t)}}},Oo.prototype.updateDisplay=function(){var t=this.player_.getChild("textTrackDisplay");t&&t.updateDisplay()},Oo.prototype.conditionalBlur_=function(){this.previouslyActiveEl_=null,this.off(c,"keydown",this.handleKeyDown);var t=this.player_.controlBar,e=t&&t.subsCapsButton,t=t&&t.captionsButton;e?e.focus():t&&t.focus()},Oo);function Oo(t,e){O(this,Oo),e.temporary=!1;var i=z(this,Ao.call(this,t,e));return i.updateDisplay=Gt(i,i.updateDisplay),i.fill(),i.hasBeenOpened_=i.hasBeenFilled_=!0,i.endDialog=it("p",{className:"vjs-control-text",textContent:i.localize("End of dialog window.")}),i.el().appendChild(i.endDialog),i.setDefaults(),void 0===e.persistTextTrackSettings&&(i.options_.persistTextTrackSettings=i.options_.playerOptions.persistTextTrackSettings),i.on(i.$(".vjs-done-button"),"click",function(){i.saveSettings(),i.close()}),i.on(i.$(".vjs-default-button"),"click",function(){i.setDefaults(),i.updateDisplay()}),H(Mo,function(t){i.on(i.$(t.selector),"change",i.updateDisplay)}),i.options_.persistTextTrackSettings&&i.restoreSettings(),i}ue.registerComponent("TextTrackSettings",E);var No,zo=t(["Text Tracks are being loaded from another origin but the crossorigin attribute isn't used.\n            This may prevent text tracks from loading."],["Text Tracks are being loaded from another origin but the crossorigin attribute isn't used.\n            This may prevent text tracks from loading."]),jo=(N(Lo,No=us),Lo.prototype.dispose=function(){Lo.disposeMediaElement(this.el_),No.prototype.dispose.call(this)},Lo.prototype.restoreMetadataTracksInIOSNativePlayer_=function(){function t(){s=[];for(var t=0;t<i.length;t++){var e=i[t];"metadata"===e.kind&&s.push({track:e,storedMode:e.mode})}}var i=this.textTracks(),s=void 0;t(),i.addEventListener("change",t);function n(){for(var t=0;t<s.length;t++){var e=s[t];"disabled"===e.track.mode&&e.track.mode!==e.storedMode&&(e.track.mode=e.storedMode)}i.removeEventListener("change",n)}this.on("webkitbeginfullscreen",function(){i.removeEventListener("change",t),i.removeEventListener("change",n),i.addEventListener("change",n)}),this.on("webkitendfullscreen",function(){i.removeEventListener("change",t),i.addEventListener("change",t),i.removeEventListener("change",n)})},Lo.prototype.proxyNativeTracks_=function(){var r=this;
1Ai.names.forEach(function(t){var s,e,t=Ai[t],n=r.el()[t.getterName],o=r[t.getterName]();r["featuresNative"+t.capitalName+"Tracks"]&&n&&n.addEventListener&&(s={change:function(t){o.trigger({type:"change",target:o,currentTarget:o,srcElement:o})},addtrack:function(t){o.addTrack(t.track)},removetrack:function(t){o.removeTrack(t.track)}},e=function(){for(var t=[],e=0;e<o.length;e++){for(var i=!1,s=0;s<n.length;s++)if(n[s]===o[e]){i=!0;break}i||t.push(o[e])}for(;t.length;)o.removeTrack(t.shift())},Object.keys(s).forEach(function(e){var i=s[e];n.addEventListener(e,i),r.on("dispose",function(t){return n.removeEventListener(e,i)})}),r.on("loadstart",e),r.on("dispose",function(t){return r.off("loadstart",e)}))})},Lo.prototype.createEl=function(){var t,e=this.options_.tag;e&&(this.options_.playerElIngest||this.movingMediaElementInDOM)||(e?(t=e.cloneNode(!0),e.parentNode&&e.parentNode.insertBefore(t,e),Lo.disposeMediaElement(e),e=t):(e=c.createElement("video"),t=ce({},this.options_.tag&&ct(this.options_.tag)),D&&!0===this.options_.nativeControlsForTouch||delete t.controls,ht(e,R(t,{id:this.options_.techId,class:"vjs-tech"}))),e.playerId=this.options_.playerId),void 0!==this.options_.preload&&dt(e,"preload",this.options_.preload);for(var i=["loop","muted","playsinline","autoplay"],s=i.length-1;0<=s;s--){var n=i[s],o=this.options_[n];void 0!==o&&(o?dt(e,n,n):pt(e,n),e[n]=o)}return e},Lo.prototype.handleLateInit_=function(t){if(0!==t.networkState&&3!==t.networkState){if(0===t.readyState){function e(){i=!0}var i=!1;this.on("loadstart",e);function s(){i||this.trigger("loadstart")}return this.on("loadedmetadata",s),void this.ready(function(){this.off("loadstart",e),this.off("loadedmetadata",s),i||this.trigger("loadstart")})}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)})}},Lo.prototype.setCurrentTime=function(t){try{this.el_.currentTime=t}catch(t){q(t,"Video is not ready. (Video.js)")}},Lo.prototype.duration=function(){var e=this;return this.el_.duration===1/0&&v&&k&&0===this.el_.currentTime?(this.on("timeupdate",function t(){0<e.el_.currentTime&&(e.el_.duration===1/0&&e.trigger("durationchange"),e.off("timeupdate",t))}),NaN):this.el_.duration||NaN},Lo.prototype.width=function(){return this.el_.offsetWidth},Lo.prototype.height=function(){return this.el_.offsetHeight},Lo.prototype.proxyWebkitFullscreen_=function(){var t,e,i=this;"webkitDisplayingFullscreen"in this.el_&&(t=function(){this.trigger("fullscreenchange",{isFullscreen:!1})},e=function(){"webkitPresentationMode"in this.el_&&"picture-in-picture"!==this.el_.webkitPresentationMode&&(this.one("webkitendfullscreen",t),this.trigger("fullscreenchange",{isFullscreen:!0}))},this.on("webkitbeginfullscreen",e),this.on("dispose",function(){i.off("webkitbeginfullscreen",e),i.off("webkitendfullscreen",t)}))},Lo.prototype.supportsFullScreen=function(){if("function"==typeof this.el_.webkitEnterFullScreen){var t=h.navigator&&h.navigator.userAgent||"";if(/Android/.test(t)||!/Chrome|Mac OS X 10.5/.test(t))return!0}return!1},Lo.prototype.enterFullScreen=function(){var t=this.el_;t.paused&&t.networkState<=t.HAVE_METADATA?(this.el_.play(),this.setTimeout(function(){t.pause(),t.webkitEnterFullScreen()},0)):t.webkitEnterFullScreen()},Lo.prototype.exitFullScreen=function(){this.el_.webkitExitFullScreen()},Lo.prototype.src=function(t){if(void 0===t)return this.el_.src;this.setSrc(t)},Lo.prototype.reset=function(){Lo.resetMediaElement(this.el_)},Lo.prototype.currentSrc=function(){return this.currentSource_?this.currentSource_.src:this.el_.currentSrc},Lo.prototype.setControls=function(t){this.el_.controls=!!t},Lo.prototype.addTextTrack=function(t,e,i){return this.featuresNativeTextTracks?this.el_.addTextTrack(t,e,i):No.prototype.addTextTrack.call(this,t,e,i)},Lo.prototype.createRemoteTextTrack=function(t){if(!this.featuresNativeTextTracks)return No.prototype.createRemoteTextTrack.call(this,t);var e=c.createElement("track");return t.kind&&(e.kind=t.kind),t.label&&(e.label=t.label),(t.language||t.srclang)&&(e.srclang=t.language||t.srclang),t.default&&(e.default=t.default),t.id&&(e.id=t.id),t.src&&(e.src=t.src),e},Lo.prototype.addRemoteTextTrack=function(t,e){e=No.prototype.addRemoteTextTrack.call(this,t,e);return this.featuresNativeTextTracks&&this.el().appendChild(e),e},Lo.prototype.removeRemoteTextTrack=function(t){if(No.prototype.removeRemoteTextTrack.call(this,t),this.featuresNativeTextTracks)for(var e=this.$$("track"),i=e.length;i--;)t!==e[i]&&t!==e[i].track||this.el().removeChild(e[i])},Lo.prototype.getVideoPlaybackQuality=function(){if("function"==typeof this.el().getVideoPlaybackQuality)return this.el().getVideoPlaybackQuality();var t={};return void 0!==this.el().webkitDroppedFrameCount&&void 0!==this.el().webkitDecodedFrameCount&&(t.droppedVideoFrames=this.el().webkitDroppedFrameCount,t.totalVideoFrames=this.el().webkitDecodedFrameCount),h.performance&&"function"==typeof h.performance.now?t.creationTime=h.performance.now():h.performance&&h.performance.timing&&"number"==typeof h.performance.timing.navigationStart&&(t.creationTime=h.Date.now()-h.performance.timing.navigationStart),t},Lo);function Lo(t,e){O(this,Lo);var i=z(this,No.call(this,t,e)),e=t.source,s=!1;if(e&&(i.el_.currentSrc!==e.src||t.tag&&3===t.tag.initNetworkState_)?i.setSource(e):i.handleLateInit_(i.el_),i.el_.hasChildNodes()){for(var n=i.el_.childNodes,o=n.length,r=[];o--;){var a=n[o];"track"===a.nodeName.toLowerCase()&&(i.featuresNativeTextTracks?(i.remoteTextTrackEls().addTrackElement_(a),i.remoteTextTracks().addTrack(a.track),i.textTracks().addTrack(a.track),s||i.el_.hasAttribute("crossorigin")||!ii(a.src)||(s=!0)):r.push(a))}for(var l=0;l<r.length;l++)i.el_.removeChild(r[l])}return i.proxyNativeTracks_(),i.featuresNativeTextTracks&&s&&q.warn(Y(zo)),i.restoreMetadataTracksInIOSNativePlayer_(),(D||p||b)&&!0===t.nativeControlsForTouch&&i.setControls(!0),i.proxyWebkitFullscreen_(),i.triggerReady(),i}Z()&&(jo.TEST_VID=c.createElement("video"),(E=c.createElement("track")).kind="captions",E.srclang="en",E.label="English",jo.TEST_VID.appendChild(E)),jo.isSupported=function(){try{jo.TEST_VID.volume=.5}catch(t){return!1}return!(!jo.TEST_VID||!jo.TEST_VID.canPlayType)},jo.canPlayType=function(t){return jo.TEST_VID.canPlayType(t)},jo.canPlaySource=function(t,e){return jo.canPlayType(t.type)},jo.canControlVolume=function(){try{var t=jo.TEST_VID.volume;
vendor: 3,718 bytes, line 1
1return jo.TEST_VID.volume=t/2+.1,t!==jo.TEST_VID.volume}catch(t){return!1}},jo.canControlPlaybackRate=function(){if(v&&k&&T<58)return!1;try{var t=jo.TEST_VID.playbackRate;return jo.TEST_VID.playbackRate=t/2+.1,t!==jo.TEST_VID.playbackRate}catch(t){return!1}},jo.supportsNativeTextTracks=function(){return I},jo.supportsNativeVideoTracks=function(){return!(!jo.TEST_VID||!jo.TEST_VID.videoTracks)},jo.supportsNativeAudioTracks=function(){return!(!jo.TEST_VID||!jo.TEST_VID.audioTracks)},jo.Events=["loadstart","suspend","abort","error","emptied","stalled","loadedmetadata","loadeddata","canplay","canplaythrough","playing","waiting","seeking","seeked","ended","durationchange","timeupdate","progress","play","pause","ratechange","resize","volumechange"],jo.prototype.featuresVolumeControl=jo.canControlVolume(),jo.prototype.featuresPlaybackRate=jo.canControlPlaybackRate(),jo.prototype.movingMediaElementInDOM=!g,jo.prototype.featuresFullscreenResize=!0,jo.prototype.featuresProgressEvents=!0,jo.prototype.featuresTimeupdateEvents=!0,jo.prototype.featuresNativeTextTracks=jo.supportsNativeTextTracks(),jo.prototype.featuresNativeVideoTracks=jo.supportsNativeVideoTracks(),jo.prototype.featuresNativeAudioTracks=jo.supportsNativeAudioTracks();var Ho=jo.TEST_VID&&jo.TEST_VID.constructor.prototype.canPlayType,Ro=/^application\/(?:x-|vnd\.apple\.)mpegurl/i,Fo=/^video\/mp4/i;jo.patchCanPlayType=function(){4<=y&&!w?jo.TEST_VID.constructor.prototype.canPlayType=function(t){return t&&Ro.test(t)?"maybe":Ho.call(this,t)}:_&&(jo.TEST_VID.constructor.prototype.canPlayType=function(t){return t&&Fo.test(t)?"maybe":Ho.call(this,t)})},jo.unpatchCanPlayType=function(){var t=jo.TEST_VID.constructor.prototype.canPlayType;return jo.TEST_VID.constructor.prototype.canPlayType=Ho,t},jo.patchCanPlayType(),jo.disposeMediaElement=function(t){if(t){for(t.parentNode&&t.parentNode.removeChild(t);t.hasChildNodes();)t.removeChild(t.firstChild);t.removeAttribute("src"),"function"==typeof t.load&&function(){try{t.load()}catch(t){}}()}},jo.resetMediaElement=function(t){if(t){for(var e=t.querySelectorAll("source"),i=e.length;i--;)t.removeChild(e[i]);t.removeAttribute("src"),"function"==typeof t.load&&function(){try{t.load()}catch(t){}}()}},["muted","defaultMuted","autoplay","controls","loop","playsinline"].forEach(function(t){jo.prototype[t]=function(){return this.el_[t]||this.el_.hasAttribute(t)}}),["muted","defaultMuted","autoplay","loop","playsinline"].forEach(function(e){jo.prototype["set"+he(e)]=function(t){(this.el_[e]=t)?this.el_.setAttribute(e,e):this.el_.removeAttribute(e)}}),["paused","currentTime","buffered","volume","poster","preload","error","seeking","seekable","ended","playbackRate","defaultPlaybackRate","played","networkState","readyState","videoWidth","videoHeight"].forEach(function(t){jo.prototype[t]=function(){return this.el_[t]}}),["volume","src","poster","preload","playbackRate","defaultPlaybackRate"].forEach(function(e){jo.prototype["set"+he(e)]=function(t){this.el_[e]=t}}),["pause","load","play"].forEach(function(t){jo.prototype[t]=function(){return this.el_[t]()}}),us.withSourceHandlers(jo),jo.nativeSourceHandler={},jo.nativeSourceHandler.canPlayType=function(t){try{return jo.TEST_VID.canPlayType(t)}catch(t){return""}},jo.nativeSourceHandler.canHandleSource=function(t,e){if(t.type)return jo.nativeSourceHandler.canPlayType(t.type);if(t.src){t=ei(t.src);return jo.nativeSourceHandler.canPlayType("video/"+t)}return""},jo.nativeSourceHandler.handleSource=function(t,e,i){e.setSrc(t.src)},jo.nativeSourceHandler.dispose=function(){},jo.registerSourceHandler(jo.nativeSourceHandler),us.registerTech("Html5",jo);var $o,Bo=t(["\n        Using the tech directly can be dangerous. I hope you know 
1what you're doing.\n        See https://github.com/videojs/video.js/issues/2617 for more info.\n      "],["\n        Using the tech directly can be dangerous. I hope you know what you're doing.\n        See https://github.com/videojs/video.js/issues/2617 for more info.\n      "]),Wo=["progress","abort","suspend","emptied","stalled","loadedmetadata","loadeddata","timeupdate","ratechange","resize","volumechange","texttrackchange"],Vo=(N(Uo,$o=ue),Uo.prototype.dispose=function(){this.trigger("dispose"),this.off("dispose"),this.styleEl_&&this.styleEl_.parentNode&&this.styleEl_.parentNode.removeChild(this.styleEl_),Uo.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(),$o.prototype.dispose.call(this)},Uo.prototype.createEl=function(){var t=this.tag,e=void 0,i=this.playerElIngest_=t.parentNode&&t.parentNode.hasAttribute&&t.parentNode.hasAttribute("data-vjs-player"),e=this.el_=i?t.parentNode:$o.prototype.createEl.call(this,"div");t.setAttribute("tabindex","-1"),t.removeAttribute("width"),t.removeAttribute("height");var s,n,o=ct(t);Object.getOwnPropertyNames(o).forEach(function(t){"class"===t?e.className+=" "+o[t]:e.setAttribute(t,o[t])}),t.playerId=t.id,t.id+="_html5_api",t.className="vjs-tech",(t.player=e.player=this).addClass("vjs-paused"),!0!==h.VIDEOJS_NO_DYNAMIC_STYLE&&(this.styleEl_=Yt("vjs-styles-dimensions"),s=Tt(".vjs-styles-defaults"),(n=Tt("head")).insertBefore(this.styleEl_,s?s.nextSibling:n.firstChild)),this.width(this.options_.width),this.height(this.options_.height),this.fluid(this.options_.fluid),this.aspectRatio(this.options_.aspectRatio);for(var r=t.getElementsByTagName("a"),a=0;a<r.length;a++){var l=r.item(a);rt(l,"vjs-hidden"),l.setAttribute("hidden","hidden")}return t.initNetworkState_=t.networkState,t.parentNode&&!i&&t.parentNode.insertBefore(e,t),nt(t,e),this.children_.unshift(t),this.el_.setAttribute("lang",this.language_),this.el_=e},Uo.prototype.width=function(t){return this.dimension("width",t)},Uo.prototype.height=function(t){return this.dimension("height",t)},Uo.prototype.dimension=function(t,e){var i=t+"_";if(void 0===e)return this[i]||0;if(""===e)return this[i]=void 0,void this.updateStyleEl_();var s=parseFloat(e);isNaN(s)?q.error('Improper value "'+e+'" supplied for for '+t):(this[i]=s,this.updateStyleEl_())},Uo.prototype.fluid=function(t){if(void 0===t)return!!this.fluid_;this.fluid_=!!t,t?this.addClass("vjs-fluid"):this.removeClass("vjs-fluid"),this.updateStyleEl_()},Uo.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_()},Uo.prototype.updateStyleEl_=function(){var t,e,i,s;!0!==h.VIDEOJS_NO_DYNAMIC_STYLE?(s=(s=((i=e=t=void 0)!==this.aspectRatio_&&"auto"!==this.aspectRatio_?this.aspectRatio_:0<this.videoWidth()?this.videoWidth()+":"+this.videoHeight():"16:9").split(":"))[1]/s[0],t=void 0!==this.width_?this.width_:void 0!==this.height_?this.height_/s:this.videoWidth()||300,e=void 0!==this.height_?this.height_:t*s,i=/^[^a-zA-Z]/.test(this.id())?"dimensions-"+this.id():this.id()+"-dimensions",this.addClass(i),Kt(this.styleEl_,"\n      ."+i+" {\n        width: "+t+"px;\n        height: "+e+"px;\n      }\n\n      ."+i+".vjs-fluid {\n        padding-top: "+100*s+"%;\n      }\n    ")):(e="number"==typeof this.width_?this.width_:this.options_.width,i="number"==typeof this.height_?this.height_:this.options_.height,(s=this.tech_&&this.tech_.el())&&(0<=e&&(s.width=e),0<=i&&(s.height=i)))},Uo.prototype.loadTech_=function(t,e){var i=this;this.tech_&&this.unloadTech_();var s=he(t),n=t.charAt(0).toLowerCase()+t.slice(1);"Html5"!==s&&this.tag&&(us.getTech("Html5").disposeMediaElement(this.tag),this.tag.player=null,this.tag=null),this.techName_=s,this.isReady_=!1;var o={source:e,nativeControlsForTouch:this.options_.nativeControlsForTouch,playerId:this.id(),techId:this.id()+"_"+s+"_api",autoplay:this.options_.autoplay,playsinline:this.options_.playsinline,preload:this.options_.preload,loop:this.options_.loop,muted:this.options_.muted,poster:this.poster(),language:this.language(),playerElIngest:this.playerElIngest_||!1,"vtt.js":this.options_["vtt.js"]};
vendor: 4,640 bytes, line 1
1Ni.names.forEach(function(t){t=Ni[t];o[t.getterName]=i[t.privateName]}),R(o,this.options_[s]),R(o,this.options_[n]),R(o,this.options_[t.toLowerCase()]),this.tag&&(o.tag=this.tag),e&&e.src===this.cache_.src&&0<this.cache_.currentTime&&(o.startTime=this.cache_.currentTime);t=us.getTech(t);if(!t)throw new Error("No Tech named '"+s+"' exists! '"+s+"' should be registered using videojs.registerTech()'");this.tech_=new t(o),this.tech_.ready(Gt(this,this.handleTechReady_),!0),De(this.textTracksJson_||[],this.tech_),Wo.forEach(function(t){i.on(i.tech_,t,i["handleTech"+he(t)+"_"])}),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_,"durationchange",this.handleTechDurationChange_),this.on(this.tech_,"fullscreenchange",this.handleTechFullscreenChange_),this.on(this.tech_,"error",this.handleTechError_),this.on(this.tech_,"loadedmetadata",this.updateStyleEl_),this.on(this.tech_,"posterchange",this.handleTechPosterChange_),this.on(this.tech_,"textdata",this.handleTechTextData_),this.usingNativeControls(this.techGet_("controls")),this.controls()&&!this.usingNativeControls()&&this.addTechControlsListeners_(),this.tech_.el().parentNode===this.el()||"Html5"===s&&this.tag||nt(this.tech_.el(),this.el()),this.tag&&(this.tag.player=null,this.tag=null)},Uo.prototype.unloadTech_=function(){var e=this;Ni.names.forEach(function(t){t=Ni[t];e[t.privateName]=e[t.getterName]()}),this.textTracksJson_=Ie(this.tech_),this.isReady_=!1,this.tech_.dispose(),this.tech_=!1},Uo.prototype.tech=function(t){return void 0===t&&q.warn(Y(Bo)),this.tech_},Uo.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_)},Uo.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_)},Uo.prototype.handleTechReady_=function(){if(this.triggerReady(),this.cache_.volume&&this.techCall_("setVolume",this.cache_.volume),this.handleTechPosterChange_(),this.handleTechDurationChange_(),(this.src()||this.currentSrc())&&this.tag&&this.options_.autoplay&&this.paused())try{delete this.tag.poster}catch(t){q("deleting tag.poster throws in some browsers",t)}},Uo.prototype.handleTechLoadStart_=function(){this.removeClass("vjs-ended"),this.removeClass("vjs-seeking"),this.error(null),this.paused()?(this.hasStarted(!1),this.trigger("loadstart")):(this.trigger("loadstart"),this.trigger("firstplay"))},Uo.prototype.hasStarted=function(t){if(void 0===t)return this.hasStarted_;t!==this.hasStarted_&&(this.hasStarted_=t,this.hasStarted_?(this.addClass("vjs-has-started"),this.trigger("firstplay")):this.removeClass("vjs-has-started"))},Uo.prototype.handleTechPlay_=function(){this.removeClass("vjs-ended"),this.removeClass("vjs-paused"),this.addClass("vjs-playing"),this.hasStarted(!0),this.trigger("play")},Uo.prototype.handleTechWaiting_=function(){var t=this;this.addClass("vjs-waiting"),this.trigger("waiting"),this.one("timeupdate",function(){return t.removeClass("vjs-waiting")})},Uo.prototype.handleTechCanPlay_=function(){this.removeClass("vjs-waiting"),this.trigger("canplay")},Uo.prototype.handleTechCanPlayThrough_=function(){this.removeClass("vjs-waiting"),this.trigger("canplaythrough")},Uo.prototype.handleTechPlaying_=function(){this.removeClass("vjs-waiting"),this.trigger("playing")},Uo.prototype.handleTechSeeking_=function(){this.addClass("vjs-seeking"),this.trigger("seeking")},Uo.prototype.handleTechSeeked_=function(){this.removeClass("vjs-seeking"),this.trigger("seeked")},Uo.prototype.handleTechFirstPlay_=function(){this.options_.starttime&&(q.warn("Passing the `starttime` option to the player will be deprecated 
1in 6.0"),this.currentTime(this.options_.starttime)),this.addClass("vjs-has-started"),this.trigger("firstplay")},Uo.prototype.handleTechPause_=function(){this.removeClass("vjs-playing"),this.addClass("vjs-paused"),this.trigger("pause")},Uo.prototype.handleTechEnded_=function(){this.addClass("vjs-ended"),this.options_.loop?(this.currentTime(0),this.play()):this.paused()||this.pause(),this.trigger("ended")},Uo.prototype.handleTechDurationChange_=function(){this.duration(this.techGet_("duration"))},Uo.prototype.handleTechClick_=function(t){0===t.button&&this.controls()&&(this.paused()?this.play():this.pause())},Uo.prototype.handleTechTap_=function(){this.userActive(!this.userActive())},Uo.prototype.handleTechTouchStart_=function(){this.userWasActive=this.userActive()},Uo.prototype.handleTechTouchMove_=function(){this.userWasActive&&this.reportUserActivity()},Uo.prototype.handleTechTouchEnd_=function(t){t.preventDefault()},Uo.prototype.handleFullscreenChange_=function(){this.isFullscreen()?this.addClass("vjs-fullscreen"):this.removeClass("vjs-fullscreen")},Uo.prototype.handleStageClick_=function(){this.reportUserActivity()},Uo.prototype.handleTechFullscreenChange_=function(t,e){e&&this.isFullscreen(e.isFullscreen),this.trigger("fullscreenchange")},Uo.prototype.handleTechError_=function(){var t=this.tech_.error();this.error(t)},Uo.prototype.handleTechTextData_=function(){var t=1<arguments.length?arguments[1]:null;this.trigger("textdata",t)},Uo.prototype.getCache=function(){return this.cache_},Uo.prototype.techCall_=function(e,i){this.ready(function(){if(e in ms)return t=this.middleware_,this.tech_[e](t.reduce(vs(e),i));var t;try{this.tech_&&this.tech_[e](i)}catch(t){throw q(t),t}},!0)},Uo.prototype.techGet_=function(e){if(this.tech_&&this.tech_.isReady_){if(e in gs)return t=this.middleware_,i=this.tech_,t.reduceRight(vs(e),i[e]());var t,i;try{return this.tech_[e]()}catch(t){if(void 0===this.tech_[e])throw q("Video.js: "+e+" method not defined for "+this.techName_+" playback technology.",t),t;if("TypeError"===t.name)throw q("Video.js: "+e+" unavailable on "+this.techName_+" playback technology element.",t),this.tech_.isReady_=!1,t;throw q(t),t}}},Uo.prototype.play=function(){if(this.changingSrc_)this.ready(function(){var t=this.techGet_("play");void 0!==t&&"function"==typeof t.then&&t.then(null,function(t){})});else{if(this.isReady_&&(this.src()||this.currentSrc()))return this.techGet_("play");this.ready(function(){this.tech_.one("loadstart",function(){var t=this.play();void 0!==t&&"function"==typeof t.then&&t.then(null,function(t){})})})}},Uo.prototype.pause=function(){this.techCall_("pause")},Uo.prototype.paused=function(){return!1!==this.techGet_("paused")},Uo.prototype.played=function(){return this.techGet_("played")||ge(0,0)},Uo.prototype.scrubbing=function(t){if(void 0===t)return this.scrubbing_;this.scrubbing_=!!t,t?this.addClass("vjs-scrubbing"):this.removeClass("vjs-scrubbing")},Uo.prototype.currentTime=function(t){if(void 0===t)return this.cache_.currentTime=this.techGet_("currentTime")||0,this.cache_.currentTime;this.techCall_("setCurrentTime",t)},Uo.prototype.duration=function(t){if(void 0===t)return void 0!==this.cache_.duration?this.cache_.duration:NaN;(t=(t=parseFloat(t))<0?1/0:t)!==this.cache_.duration&&((this.cache_.duration=t)===1/0?this.addClass("vjs-live"):this.removeClass("vjs-live"),this.trigger("durationchange"))},Uo.prototype.remainingTime=function(){return this.duration()-this.currentTime()},Uo.prototype.remainingTimeDisplay=function(){return Math.floor(this.duration())-Math.floor(this.currentTime())},Uo.prototype.buffered=function(){var t;return t=!(t=this.techGet_("buffered"))||!t.length?ge(0,0):t},Uo.prototype.bufferedPercent=function(){return me(this.buffered(),this.duration())},Uo.prototype.bufferedEnd=function(){var t=this.buffered(),e=this.duration(),t=t.end(t.length-1);return t=e<t?e:t},Uo.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),void(0<e&&this.lastVolume_(e))):(e=parseFloat(this.techGet_("volume")),isNaN(e)?1:e)},Uo.prototype.muted=function(t){if(void 0===t)return this.techGet_("muted")||!1;this.techCall_("setMuted",t)},Uo.prototype.defaultMuted=function(t){return void 0!==t?this.techCall_("setDefaultMuted",t):this.techGet_("defaultMuted")||!1},Uo.prototype.lastVolume_=function(t){if(void 0===t||0===t)return this.cache_.lastVolume;this.cache_.lastVolume=t},Uo.prototype.supportsFullScreen=function(){return this.techGet_("supportsFullScreen")||!1},Uo.prototype.isFullscreen=function(t){if(void 0===t)return!!this.isFullscreen_;this.isFullscreen_=!!t},Uo.prototype.requestFullscreen=function(){var i=ve;this.isFullscreen(!0),i.requestFullscreen?(Ht(c,i.fullscreenchange,Gt(this,function t(e){this.isFullscreen(c[i.fullscreenElement]),!1===this.isFullscreen()&&Rt(c,i.fullscreenchange,t),this.trigger("fullscreenchange")})),this.el_[i.requestFullscreen]()):this.tech_.supportsFullScreen()?this.techCall_("enterFullScreen"):(this.enterFullWindow(),this.trigger("fullscreenchange"))},Uo.prototype.exitFullscreen=function(){var t=ve;this.isFullscreen(!1),t.requestFullscreen?c[t.exitFullscreen]():this.tech_.supportsFullScreen()?this.techCall_("exitFullScreen"):(this.exitFullWindow(),this.trigger("fullscreenchange"))},Uo.prototype.enterFullWindow=function(){this.isFullWindow=!0,this.docOrigOverflow=c.documentElement.style.overflow,Ht(c,"keydown",Gt(this,this.fullWindowOnEscKey)),c.documentElement.style.overflow="hidden",rt(c.body,"vjs-full-window"),this.trigger("enterFullWindow")},Uo.prototype.fullWindowOnEscKey=function(t){27===t.keyCode&&(!0===this.isFullscreen()?this.exitFullscreen():this.exitFullWindow())},Uo.prototype.exitFullWindow=function(){this.isFullWindow=!1,Rt(c,"keydown",this.fullWindowOnEscKey),c.documentElement.style.overflow=this.docOrigOverflow,at(c.body,"vjs-full-window"),this.trigger("exitFullWindow")},Uo.prototype.canPlayType=function(t){for(var e,i=0,s=this.options_.techOrder;i<s.length;i++){var n=s[i],o=us.getTech(n);
vendor: 11,056 bytes, line 1
1if(o=o||ue.getComponent(n)){if(o.isSupported()&&(e=o.canPlayType(t)))return e}else q.error('The "'+n+'" tech is undefined. Skipped browser support check for that tech.')}return""},Uo.prototype.selectSource=function(t){function e(t,i,s){var n=void 0;return t.some(function(e){return i.some(function(t){if(n=s(e,t))return!0})}),n}function i(t,e){var i=t[0];if(t[1].canPlaySource(e,n.options_[i.toLowerCase()]))return{source:e,tech:i}}var s,n=this,o=this.options_.techOrder.map(function(t){return[t,us.getTech(t)]}).filter(function(t){var e=t[0],t=t[1];return t?t.isSupported():(q.error('The "'+e+'" tech is undefined. Skipped browser support check for that tech.'),!1)});return(this.options_.sourceOrder?e(t,o,(s=i,function(t,e){return s(e,t)})):e(o,t,i))||!1},Uo.prototype.src=function(t){var s=this;if(void 0===t)return this.cache_.src||"";var n=ys(t);n.length?(this.cache_.sources=n,this.changingSrc_=!0,this.cache_.source=n[0],fs(this,n[0],function(t,e){var i;return s.middleware_=e,s.src_(t)?1<n.length?s.src(n.slice(1)):(s.setTimeout(function(){this.error({code:4,message:this.localize(this.options_.notSupportedMessage)})},0),void s.triggerReady()):(s.changingSrc_=!1,s.cache_.src=t.src,i=s.tech_,void e.forEach(function(t){return t.setTech&&t.setTech(i)}))})):this.setTimeout(function(){this.error({code:4,message:this.localize(this.options_.notSupportedMessage)})},0)},Uo.prototype.src_=function(t){var e,i,s=this.selectSource([t]);return!s||(e=s.tech,i=this.techName_,he(e)!==he(i)?(this.changingSrc_=!0,this.loadTech_(s.tech,s.source)):this.ready(function(){this.tech_.constructor.prototype.hasOwnProperty("setSource")?this.techCall_("setSource",t):this.techCall_("src",t.src),"auto"===this.options_.preload&&this.load()},!0),!1)},Uo.prototype.load=function(){this.techCall_("load")},Uo.prototype.reset=function(){this.loadTech_(this.options_.techOrder[0],null),this.techCall_("reset")},Uo.prototype.currentSources=function(){var t=this.currentSource(),e=[];return 0!==Object.keys(t).length&&e.push(t),this.cache_.sources||e},Uo.prototype.currentSource=function(){return this.cache_.source||{}},Uo.prototype.currentSrc=function(){return this.currentSource()&&this.currentSource().src||""},Uo.prototype.currentType=function(){return this.currentSource()&&this.currentSource().type||""},Uo.prototype.preload=function(t){return void 0!==t?(this.techCall_("setPreload",t),void(this.options_.preload=t)):this.techGet_("preload")},Uo.prototype.autoplay=function(t){return void 0!==t?(this.techCall_("setAutoplay",t),void(this.options_.autoplay=t)):this.techGet_("autoplay",t)},Uo.prototype.playsinline=function(t){return void 0!==t?(this.techCall_("setPlaysinline",t),this.options_.playsinline=t,this):this.techGet_("playsinline")},Uo.prototype.loop=function(t){return void 0!==t?(this.techCall_("setLoop",t),void(this.options_.loop=t)):this.techGet_("loop")},Uo.prototype.poster=function(t){if(void 0===t)return this.poster_;this.poster_=t=t||"",this.techCall_("setPoster",t),this.trigger("posterchange")},Uo.prototype.handleTechPosterChange_=function(){!this.poster_&&this.tech_&&this.tech_.poster&&(this.poster_=this.tech_.poster()||"",this.trigger("posterchange"))},Uo.prototype.controls=function(t){if(void 0===t)return!!this.controls_;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.addTechControlsListeners_()):(this.removeClass("vjs-controls-enabled"),this.addClass("vjs-controls-disabled"),this.trigger("controlsdisabled"),this.usingNativeControls()||this.removeTechControlsListeners_()))},Uo.prototype.usingNativeControls=function(t){if(void 0===t)return!!this.usingNativeControls_;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")))},Uo.prototype.error=function(t){return void 0===t?this.error_||null:null===t?(this.error_=t,this.removeClass("vjs-error"),void(this.errorDisplay&&this.errorDisplay.close())):(this.error_=new ke(t),this.addClass("vjs-error"),q.error("(CODE:"+this.error_.code+" "+ke.errorTypes[this.error_.code]+")",this.error_.message,this.error_),void this.trigger("error"))},Uo.prototype.reportUserActivity=function(t){this.userActivity_=!0},Uo.prototype.userActive=function(t){if(void 0===t)return this.userActive_;(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")))},Uo.prototype.listenForUserActivity_=function(){var e=void 0,i=void 0,s=void 0,n=Gt(this,this.reportUserActivity);this.on("mousedown",function(){n(),this.clearInterval(e),e=this.setInterval(n,250)}),this.on("mousemove",function(t){t.screenX===i&&t.screenY===s||(i=t.screenX,s=t.screenY,n())}),this.on("mouseup",function(t){n(),this.clearInterval(e)}),this.on("keydown",n),this.on("keyup",n);var o=void 0;this.setInterval(function(){var t;this.userActivity_&&(this.userActivity_=!1,this.userActive(!0),this.clearTimeout(o),0<(t=this.options_.inactivityTimeout)&&(o=this.setTimeout(function(){this.userActivity_||this.userActive(!1)},t)))},250)},Uo.prototype.playbackRate=function(t){if(void 0===t)return this.tech_&&this.tech_.featuresPlaybackRate?this.techGet_("playbackRate"):1;this.techCall_("setPlaybackRate",t)},Uo.prototype.defaultPlaybackRate=function(t){return void 0!==t?this.techCall_("setDefaultPlaybackRate",t):this.tech_&&this.tech_.featuresPlaybackRate?this.techGet_("defaultPlaybackRate"):1},Uo.prototype.isAudio=function(t){if(void 0===t)return!!this.isAudio_;this.isAudio_=!!t},Uo.prototype.addTextTrack=function(t,e,i){if(this.tech_)return this.tech_.addTextTrack(t,e,i)},Uo.prototype.addRemoteTextTrack=function(t,e){if(this.tech_)return this.tech_.addRemoteTextTrack(t,e)},Uo.prototype.removeRemoteTextTrack=function(){var t=(0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}).track;if(this.tech_)return this.tech_.removeRemoteTextTrack(void 0===t?arguments[0]:t)},Uo.prototype.getVideoPlaybackQuality=function(){return this.techGet_("getVideoPlaybackQuality")},Uo.prototype.videoWidth=function(){return this.tech_&&this.tech_.videoWidth&&this.tech_.videoWidth()||0},Uo.prototype.videoHeight=function(){return this.tech_&&this.tech_.videoHeight&&this.tech_.videoHeight()||0},Uo.prototype.language=function(t){if(void 0===t)return this.language_;this.language_=String(t).toLowerCase()},Uo.prototype.languages=function(){return ce(Uo.prototype.options_.languages,this.languages_)},Uo.prototype.toJSON=function(){var t=ce(this.options_),e=t.tracks;t.tracks=[];for(var i=0;i<e.length;i++){var s=e[i];(s=ce(s)).player=void 0,t.tracks[i]=s}return t},Uo.prototype.createModal=function(t,e){var i=this;(e=e||{}).content=t||"";var s=new Pe(this,e);return this.addChild(s),s.on("dispose",function(){i.removeChild(s)}),s.open(),s},Uo.getTagSettings=function(t){var e,i={sources:[],tracks:[]},s=ct(t),n=s["data-setup"];if(ot(t,"vjs-fluid")&&(s.fluid=!0),null!==n&&(n=(e=xe(n||"{}"))[0],e=e[1],n&&q.error(n),R(s,e)),R(i,s),t.hasChildNodes())for(var o=t.childNodes,r=0,a=o.length;r<a;r++){var l=o[r],h=l.nodeName.toLowerCase();"source"===h?i.sources.push(ct(l)):"track"===h&&i.tracks.push(ct(l))}return i},Uo.prototype.flexNotSupported_=function(){var t=c.createElement("i");return!("flexBasis"in t.style||"webkitFlexBasis"in t.style||"mozFlexBasis"in t.style||"msFlexBasis"in t.style||"msFlexOrder"in t.style)},Uo);function Uo(t,e,i){if(O(this,Uo),t.id=t.id||"vjs_video_"+Et++,(e=R(Uo.getTagSettings(t),e)).initChildren=!1,e.createEl=!1,e.reportTouchActivity=!1,!e.language)if("function"==typeof t.closest){var s=t.closest("[lang]");s&&(e.language=s.getAttribute("lang"))}else for(var n=t;n&&1===n.nodeType;){if(ct(n).hasOwnProperty("lang")){e.language=n.getAttribute("lang");break}n=n.parentNode}var o,s=z(this,$o.call(this,null,e,i));if(s.isReady_=!1,s.hasStarted_=!1,!s.options_||!s.options_.techOrder||!s.options_.techOrder.length)throw new Error("No techOrder specified. Did you overwrite videojs.options instead of just changing the properties you want to override?");s.tag=t,s.tagAttributes=t&&ct(t),s.language(s.options_.language),e.languages?(o={},Object.getOwnPropertyNames(e.languages).forEach(function(t){o[t.toLowerCase()]=e.languages[t]}),s.languages_=o):s.languages_=Uo.prototype.options_.languages,s.cache_={},s.poster_=e.poster||"",s.controls_=!!e.controls,s.cache_.lastVolume=1,t.controls=!1,s.scrubbing_=!1,s.el_=s.createEl(),re(s,{eventBusKey:"el_"});var r,i=ce(s.options_);e.plugins&&(r=e.plugins,Object.keys(r).forEach(function(t){if("function"!=typeof this[t])throw new Error('plugin "'+t+'" does not exist');this[t](r[t])},s)),s.options_.playerOptions=i,s.middleware_=[],s.initChildren(),s.isAudio("audio"===t.nodeName.toLowerCase()),s.controls()?s.addClass("vjs-controls-enabled"):s.addClass("vjs-controls-disabled"),s.el_.setAttribute("role","region"),s.isAudio()?s.el_.setAttribute("aria-label",s.localize("Audio Player")):s.el_.setAttribute("aria-label",s.localize("Video Player")),s.isAudio()&&s.addClass("vjs-audio"),s.flexNotSupported_()&&s.addClass("vjs-no-flex"),g||s.addClass("vjs-workinghover"),Uo.players[s.id_]=s;t=a.split(".")[0];return s.addClass("vjs-v"+t),s.userActive(!0),s.reportUserActivity(),s.listenForUserActivity_(),s.on("fullscreenchange",s.handleFullscreenChange_),s.on("stageclick",s.handleStageClick_),s.changingSrc_=!1,s}Ni.names.forEach(function(t){var e=Ni[t];Vo.prototype[e.getterName]=function(){return this.tech_?this.tech_[e.getterName]():(this[e.privateName]=this[e.privateName]||new e.ListClass,this[e.privateName])}}),Vo.players={};t=h.navigator;Vo.prototype.options_={techOrder:us.defaultTechOrder_,html5:{},flash:{},inactivityTimeout:2e3,playbackRates:[],children:["mediaLoader","posterImage","textTrackDisplay","loadingSpinner","bigPlayButton","controlBar","errorDisplay","textTrackSettings"],language:t&&(t.languages&&t.languages[0]||t.userLanguage||t.language)||"en",languages:{},notSupportedMessage:"No compatible source was found for this media."},["ended","seeking","seekable","networkState","readyState"].forEach(function(t){Vo.prototype[t]=function(){return this.techGet_(t)}}),Wo.forEach(function(t){Vo.prototype["handleTech"+he(t)+"_"]=function(){return this.trigger(t)}}),ue.registerComponent("Player",Vo);function qo(t){return Jo.hasOwnProperty(t)}function Yo(t){return qo(t)?Jo[t]:void 0}function Ko(t,e,i){i=(i?"before":"")+"pluginsetup",t.trigger(i,e),t.trigger(i+":"+e.name,e)}function Xo(e,i){function s(){Ko(this,{name:e,plugin:i,instance:null},!0);var t=i.apply(this,arguments);return tr(this,e),Ko(this,{name:e,plugin:i,instance:t}),t}
1return Object.keys(i).forEach(function(t){s[t]=i[t]}),s}function Go(n,o){return o.prototype.name=n,function(){Ko(this,{name:n,plugin:o,instance:null},!0);for(var t=arguments.length,e=Array(t),i=0;i<t;i++)e[i]=arguments[i];var s=new(Function.prototype.bind.apply(o,[null].concat([this].concat(e))));return this[n]=function(){return s},Ko(this,s.getEventHash()),s}}var Qo="plugin",Zo="activePlugins_",Jo={},tr=function(t,e){t[Zo]=t[Zo]||{},t[Zo][e]=!0},er=(ir.prototype.getEventHash=function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return t.name=this.name,t.plugin=this.constructor,t.instance=this,t},ir.prototype.trigger=function(t){return Ft(this.eventBusEl_,t,this.getEventHash(1<arguments.length&&void 0!==arguments[1]?arguments[1]:{}))},ir.prototype.handleStateChanged=function(t){},ir.prototype.dispose=function(){var t=this.name,e=this.player;this.trigger("dispose"),this.off(),e.off("dispose",this.dispose),e[Zo][t]=!1,this.player=this.state=null,e[t]=Go(t,Jo[t])},ir.isBasic=function(t){t="string"==typeof t?Yo(t):t;return"function"==typeof t&&!ir.prototype.isPrototypeOf(t.prototype)},ir.registerPlugin=function(t,e){if("string"!=typeof t)throw new Error('Illegal plugin name, "'+t+'", must be a string, was '+(void 0===t?"undefined":A(t))+".");if(qo(t))q.warn('A plugin named "'+t+'" already exists. You may want to avoid re-registering plugins!');else if(Vo.prototype.hasOwnProperty(t))throw new Error('Illegal plugin name, "'+t+'", cannot share a name with an existing player method!');if("function"!=typeof e)throw new Error('Illegal plugin for "'+t+'", must be a function, was '+(void 0===e?"undefined":A(e))+".");return Jo[t]=e,t!==Qo&&(ir.isBasic(e)?Vo.prototype[t]=Xo(t,e):Vo.prototype[t]=Go(t,e)),e},ir.deregisterPlugin=function(t){if(t===Qo)throw new Error("Cannot de-register base plugin.");qo(t)&&(delete Jo[t],delete Vo.prototype[t])},ir.getPlugins=function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:Object.keys(Jo),i=void 0;return t.forEach(function(t){var e=Yo(t);e&&((i=i||{})[t]=e)}),i},ir.getPluginVersion=function(t){t=Yo(t);return t&&t.VERSION||""},ir);function ir(t){if(O(this,ir),this.constructor===ir)throw new Error("Plugin must be sub-classed; not directly instantiated.");this.player=t,re(this),delete this.trigger,le(this,this.constructor.defaultState),tr(t,this.name),this.dispose=Gt(this,this.dispose),t.on("dispose",this.dispose)}er.getPlugin=Yo,er.BASE_PLUGIN_NAME=Qo,er.registerPlugin(Qo,er),Vo.prototype.usingPlugin=function(t){return!!this[Zo]&&!0===this[Zo][t]},Vo.prototype.hasPlugin=function(t){return!!qo(t)};function sr(t,e,i){var s=void 0;if("string"==typeof t){var n=sr.getPlayers();if(n[t=0===t.indexOf("#")?t.slice(1):t])return e&&q.warn('Player "'+t+'" is already initialised. Options will not be applied.'),i&&n[t].ready(i),n[t];s=Tt("#"+t)}else s=t;if(!s||!s.nodeName)throw new TypeError("The element or ID supplied is not valid. (videojs)");if(J(s)&&!c.body.contains(s)&&q.warn("The element supplied is not included in the DOM"),s.player||Vo.players[s.playerId])return s.player||Vo.players[s.playerId];e=e||{},sr.hooks("beforesetup").forEach(function(t){t=t(s,ce(e));F(t)&&!Array.isArray(t)?e=ce(e,t):q.error("please return an object in beforesetup hooks")});var o=new(ue.getComponent("Player"))(s,e,i);return sr.hooks("setup").forEach(function(t){return t(o)}),o}return"undefined"==typeof HTMLVideoElement&&Z()&&(c.createElement("video"),c.createElement("audio"),c.createElement("track")),sr.hooks_={},sr.hooks=function(t,e){return sr.hooks_[t]=sr.hooks_[t]||[],e&&(sr.hooks_[t]=sr.hooks_[t].concat(e)),sr.hooks_[t]},sr.hook=function(t,e){sr.hooks(t,e)},sr.hookOnce=function(i,t){sr.hooks(i,[].concat(t).map(function(e){return function t(){sr.removeHook(i,t),e.apply(void 0,arguments)}}))},sr.removeHook=function(t,e){e=sr.hooks(t).indexOf(e);return!(e<=-1)&&(sr.hooks_[t]=sr.hooks_[t].slice(),sr.hooks_[t].splice(e,1),!0)},!0!==h.VIDEOJS_NO_DYNAMIC_STYLE&&Z()&&((N=Tt(".vjs-styles-defaults"))||(N=Yt("vjs-styles-defaults"),(t=Tt("head"))&&t.insertBefore(N,t.firstChild),Kt(N,"\n      .video-js {\n        width: 300px;\n        height: 150px;\n      }\n\n      .vjs-fluid {\n        padding-top: 56.25%\n      }\n    "))),qt(1,sr),sr.VERSION=a,sr.options=Vo.prototype.options_,sr.getPlayers=function(){return Vo.players},sr.players=Vo.players,sr.getComponent=ue.getComponent,sr.registerComponent=function(t,e){us.isTech(e)&&q.warn("The "+t+" tech w
1as registered as a component. It should instead be registered using videojs.registerTech(name, tech)"),ue.registerComponent.call(ue,t,e)},sr.getTech=us.getTech,sr.registerTech=us.registerTech,sr.use=function(t,e){ps[t]=ps[t]||[],ps[t].push(e)},sr.browser=P,sr.TOUCH_ENABLED=D,sr.extend=function(t){var e,i=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},s=function(){t.apply(this,arguments)},n={};for(e in"object"===(void 0===i?"undefined":A(i))?(i.constructor!==Object.prototype.constructor&&(s=i.constructor),n=i):"function"==typeof i&&(s=i),function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+(void 0===e?"undefined":A(e)));t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(t.super_=e)}(s,t),n)n.hasOwnProperty(e)&&(s.prototype[e]=n[e]);return s},sr.mergeOptions=ce,sr.bind=Gt,sr.registerPlugin=er.registerPlugin,sr.plugin=function(t,e){return q.warn("videojs.plugin() is deprecated; use videojs.registerPlugin() instead"),er.registerPlugin(t,e)},sr.getPlugins=er.getPlugins,sr.getPlugin=er.getPlugin,sr.getPluginVersion=er.getPluginVersion,sr.addLanguage=function(t,e){var i;return t=(""+t).toLowerCase(),sr.options.languages=ce(sr.options.languages,((i={})[t]=e,i)),sr.options.languages[t]},sr.log=q,sr.createTimeRange=sr.createTimeRanges=ge,sr.formatTime=$s,sr.parseUrl=ti,sr.isCrossOrigin=ii,sr.EventTarget=Xt,sr.on=Ht,sr.one=$t,sr.off=Rt,sr.trigger=Ft,sr.xhr=pi,sr.TextTrack=bi,sr.AudioTrack=u,sr.VideoTrack=xi,["isEl","isTextNode","createEl","hasClass","addClass","removeClass","toggleClass","setAttributes","getAttributes","emptyEl","appendContent","insertContent"].forEach(function(t){sr[t]=function(){return q.warn("videojs."+t+"() is deprecated; use videojs.dom."+t+"() instead"),St[t].apply(null,arguments)}}),sr.computedStyle=K,sr.dom=St,sr.url=si,sr}),videojs.addLanguage("de",{Play:"Wiedergabe",Pause:"Pause",Replay:"Erneut abspielen","Current Time":"Aktueller Zeitpunkt","Duration Time":"Dauer","Remaining Time":"Verbleibende Zeit","Stream Type":"Streamtyp",LIVE:"LIVE",Loaded:"Geladen",Progress:"Status",Fullscreen:"Vollbild","Non-Fullscreen":"Kein Vollbild",Mute:"Ton aus",Unmute:"Ton ein","Playback Rate":"Wiedergabegeschwindigkeit",Subtitles:"Untertitel","subtitles off":"Untertitel aus",Captions:"Untertitel","captions off":"Untertitel aus",Chapters:"Kapitel","You aborted the media playback":"Sie haben die Videowiedergabe abgebrochen.","A network error caused the media download to fail part-way.":"Der Videodownload ist aufgrund eines Netzwerkfehlers fehlgeschlagen.","The media could not be loaded, either because the server or network failed or because the format is not supported.":"Das Video konnte nicht geladen werden, da entweder ein Server- oder Netzwerkfehler auftrat oder das Format nicht unterstützt wird.","The media playback was aborted due to a corruption problem or because the media used features your browser did not support.":"Die Videowiedergabe wurde entweder wegen eines Problems mit einem beschädigten Video oder wegen verwendeten Funktionen, die vom Browser nicht unterstützt werden, abgebrochen.","No compatible source was found for this media.":"Für dieses Video wurde keine kompatible Quelle gefunden.","Play Video":"Video abspielen",Close:"Schließen","Modal Window":"Modales Fenster","This is a modal window":"Dies ist ein modales Fenster","This modal can be closed by pressing the Escape key or activating the close button.":'Durch Drücken der Esc-Taste bzw. Betätigung der Schaltfläche "Schließen" wird dieses modale Fenster geschlossen.',", opens captions settings dialog":", öffnet Einstellungen für Untertitel",", opens subtitles settings dialog":", öffnet Einstellungen für Untertitel",", selected":", ausgewählt","captions settings":"Untertiteleinstellungen","subtitles settings":"Untertiteleinstellungen","descriptions settings":"Einstellungen für Beschreibungen","Close Modal Dialog":"Modales Fenster schließen",Descriptions:"Beschreibungen","descriptions off":"Beschreibungen aus","The media is encrypted and we do not have the keys to decrypt it."
1:"Die Entschlüsselungsschlüssel für den verschlüsselten Medieninhalt sind nicht verfügbar.",", opens descriptions settings dialog":", öffnet Einstellungen für Beschreibungen","Audio Track":"Tonspur",Text:"Schrift",White:"Weiß",Black:"Schwarz",Red:"Rot",Green:"Grün",Blue:"Blau",Yellow:"Gelb",Magenta:"Magenta",Cyan:"Türkis",Background:"Hintergrund",Window:"Fenster",Transparent:"Durchsichtig","Semi-Transparent":"Halbdurchsichtig",Opaque:"Undurchsictig","Font Size":"Schriftgröße","Text Edge Style":"Textkantenstil",None:"Kein",Raised:"Erhoben",Depressed:"Gedrückt",Uniform:"Uniform",Dropshadow:"Schlagschatten","Font Family":"Schristfamilie","Proportional Sans-Serif":"Proportionale Sans-Serif","Monospace Sans-Serif":"Monospace Sans-Serif","Proportional Serif":"Proportionale Serif","Monospace Serif":"Monospace Serif",Casual:"Zwanglos",Script:"Schreibeschrift","Small Caps":"Small-Caps",Reset:"Zurücksetzen","restore all settings to the default values":"Alle Einstellungen auf die Standardwerte zurücksetzen",Done:"Fertig","Caption Settings Dialog":"Einstellungsdialog für Untertitel","Beginning of dialog window. Escape will cancel and close the window.":"Anfang des Dialogfensters. Esc bricht ab und schließt das Fenster.","End of dialog window.":"Ende des Dialogfensters.","Audio Player":"Audio-Player","Video Player":"Video-Player","Progress Bar":"Forschrittsbalken","progress bar timing: currentTime={1} duration={2}":"{1} von {2}","Volume Level":"Lautstärkestufe"});

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.