PageSourceSearch

https://www.195districtpark.com/js/site.min.js?v=51b8evhJVYsCDjWQXMjl3MoQgLK95S8nf9rkLLNP0hI

js 195districtpark.com collected 2026-10-04 11:46:49 UTC 536,298 bytes, 79 lines download raw bytes

1/*!
2 * jQuery JavaScript Library v3.5.1
3 * https://jquery.com/
4 *
5 * Includes Sizzle.js
6 * https://sizzlejs.com/
7 *
8 * Copyright JS Foundation and other contributors
9 * Released under the MIT license
10 * https://jquery.org/license
11 *
12 * Date: 2020-05-04T22:49Z
13 */
14function parseQueryString(n){for(var i=[],u=n.split("&"),t,r=0;r<u.length;r++)t=u[r].split("="),i.push(t[0]),i[t[0]]=unescape(t[1]);return i}function combineDateTime(n,t){return t.substring(0,1)==="0"&&(t=t.substring(1)),t=t.replace("AM"," AM"),t=t.replace("PM"," PM"),n+" "+t}function htmlEncode(n){return $("<div/>").text(n).html()}function htmlDecode(n){return $("<div/>").html(n).text()}function stripHTML(n){var t=document.createElement("div"),i=document.createTextNode(n);return t.appendChild(i),t.innerText}function isDate(n){return n instanceof Date&&!isNaN(n.valueOf())}function formatDateRange(n,t,i){var r="";return typeof i=="undefined"&&(i=!1),i&&(n=parseJsonDate(n),t=parseJsonDate(t)),isDate(n)||(n=null),isDate(t)||(t=null),n!==null&&t!==null?r=n===t?monthNames[n.getMonth()]+" "+n.getDate()+", "+n.getFullYear():n.getMonth()===t.getMonth()&&n.getFullYear()===t.getFullYear()?monthNames[n.getMonth()]+" "+n.getDate()+" - "+t.getDate()+", "+t.getFullYear():n.getFullYear()===t.getFullYear()?monthNames[n.getMonth()]+" "+n.getDate()+" - "+monthNames[t.getMonth()]+" "+t.getDate()+", "+t.getFullYear():monthNames[n.getMonth()]+" "+n.getDate()+", "+n.getFullYear()+" - "+monthNames[t.getMonth()]+" "+t.getDate()+", "+t.getFullYear():n!==null?r=monthNames[n.getMonth()]+" "+n.getDate()+", "+n.getFullYear():t!==null&&(r=monthNames[t.getMonth()]+" "+t.getDate()+", "+t.getFullYear()),r}function getTimestamp(){var n=new Date,e=n.getFullYear().toString(),t=n.getMonth()+1,i=n.getDate(),r=n.getHours(),u=n.getMinutes(),f=n.getSeconds();return t=t<10?"0"+t:t,i=i<10?"0"+i:i,r=r<10?"0"+r:r,u=u<10?"0"+u:u,f=f<10?"0"+f:f,e+t+i+"-"+r+u+f}function formatLongDate(n,t){var e;n=new Date(n);typeof t=="undefined"&&(t=!1);var o=n.getHours(),i=n.getMinutes(),u=n.getSeconds(),f="AM",r=o;return r>=12&&(r=o-12,f="PM"),r===0&&(r=12),i=i<10?"0"+i:i,u=u<10?"0"+u:u,e="",e=t?r+":"+i+":"+u+" "+f:r+":"+i+" "+f,n.getMonth()+1+"/"+n.getDate()+"/"+n.getFullYear()+" "+e}function formatShortDate(n){return n.getMonth()+1+"/"+n.getDate()+"/"+n.getFullYear()}function formatShortDateFromJsonDate(n){return n=parseJsonDate(n),n.getMonth()+1+"/"+n.getDate()+"/"+n.getFullYear()}function escapeRegExp(n){return n.replace(/([.*+?^=!:${}()|\[\]\/\\])/g,"\\$1")}function replaceAll(n,t,i){return n.replace(new RegExp(escapeRegExp(t),"g"),i)}function parseJsonDate(n){return new Date(parseInt(n.replace("/Date(","")))}function formatCurrency(n){return n.toLocaleString("en-US",{style:"currency",currency:"USD"})}function formatFileSize(n){var i=1024,r,t;if(Math.abs(n)<i)return n+" B";r=["KB","MB","GB","TB","PB","EB","ZB","YB"];t=-1;do n/=i,++t;while(Math.abs(n)>=i&&t<r.length-1);return n.toFixed(1)+" "+r[t]}function validEmail(n){return/\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*/.test(n)}function validatePasswordRequirements(n,t){var i=8,r=1,u=1,f=!0,e=!0,t;typeof t!="undefined"&&(i=t.minPassLength,r=t.requiredNumbers,u=t.requiredSymbols,f=t.requiresLowercase,e=t.requiresUppercase);var o=0,s=0;return o=(n.match(/\d/g)||[]).length,s=(n.match(/\W/g)||[]).length,t={valid:!1,minimumCharacters:n.length>=i,minimumNumbers:o>=r,minimumLowercase:!f||/[a-z]/.test(n),minimumUppercase:!e||/[A-Z]/.test(n),specialCharacter:s>=u},t.valid=t.minimumCharacters&&t.minimumNumbers&&t.minimumUppercase&&t.minimumLowercase&&t.specialCharacter,t}function CookieConsent(n){function f(n,t,i){var u="",r;i&&(r=new Date,r.setTime(r.getTime()+i*864e5),u="; expires="+r.toUTCString());document.cookie=n+"="+(t||"")+u+"; Path=/; SameSite=Strict;"}function e(n){for(var t,r=n+"=",u=document.cookie.split(";"),i=0;i<u.length;i++){for(t=u[i];t.charAt(0)===" ";)t=t.substring(1,t.length);if(t.indexOf(r)===0)return t.substring(r.length,t.length)}return undefined}function c(n){document.cookie=n+"=; Path=/; SameSite=Strict; Expires=Thu, 01 Jan 1970 00:00:01 GMT;"}function l(n){document.readyState!=="loading"?n():document.addEventListener("DOMContentLoaded",n)}function o(){this.modal.style.display="none"}function s(){l(function(){this.modal=document.getElementById(t.props.modalId);this.modal?this.modal.style.display="block":(this.modal=document.createElement("div"),this.modal.id=t.props.modalId,this.modal.innerHTML=t.modalContent,document.body.append(this.modal),this.modal.querySelector(".btn-accept-necessary").addEventListener("click",function(){f(t.props.cookieName,"false",365);o();t.props.postSelectionCallback&&t.props.postSelectionCallback()}),this.modal.querySelector(".btn-accept-all").addEventListener("click",function(){f(t.props.cookieName,"true",365);o();t.props.postSelectionCallback&&t.props.postSelectionCallback()}))}.bind(this))}var t=this,r;this.props={buttonPrimaryClass:"btn btn-primary",buttonSecondaryClass:"btn btn-secondary",privacyPolicyUrl:"privacy-policy.html",autoShowModal:!0,lang:navigator.language,blockAccess:!1,position:"left",postSelectionCallback:undefined,content:{de:{title:"Cookie-Einstellungen",body:"Wir nutzen Cookies, um Inhalte zu personalisieren und die Zugriffe auf unsere Website zu analysieren. Sie können wählen, ob Sie nur für die Funktion der Website notwendige Cookies akzeptieren oder auch Tracking-Cookie
14s zulassen möchten. Weitere Informationen finden Sie in unserer --privacy-policy--.",privacyPolicy:"Datenschutzerklärung",buttonAcceptAll:"Alle Cookies akzeptieren",buttonAcceptTechnical:"Nur technisch notwendige Cookies akzeptieren"},en:{title:"Cookie settings",body:"We use cookies to personalize content and analyze access to our website. You can choose whether you only accept cookies that are necessary for the functioning of the website or whether you also want to allow tracking cookies. For more information, please refer to our --privacy-policy--.",privacyPolicy:"privacy policy",buttonAcceptAll:"Accept all cookies",buttonAcceptTechnical:"Only accept technically necessary cookies"}},cookieName:"cookie-consent-tracking-allowed",modalId:"cookieConsentModal"};for(r in n)this.props[r]=n[r];this.lang=this.props.lang;this.lang.indexOf("-")!==-1&&(this.lang=this.lang.split("-")[0]);this.props.content[this.lang]===undefined&&(this.lang="en");var i=this.props.content[this.lang],h='<a href="'+this.props.privacyPolicyUrl+'">'+i.privacyPolicy+"<\/a>",u="cookie-consent-modal";this.props.blockAccess&&(u+=" block-access");this.modalContent='<div class="'+u+'"><div class="modal-content-wrap '+this.props.position+'"><div class="modal-content"><div class="modal-header">--header--<\/div><div class="modal-body">--body--<\/div><div class="modal-footer">--footer--<\/div><\/div><\/div>';this.modalContent=this.modalContent.replace(/--header--/,'<h3 class="modal-title">'+i.title+"<\/h3>");this.modalContent=this.modalContent.replace(/--body--/,i.body.replace(/--privacy-policy--/,h));this.modalContent=this.modalContent.replace(/--footer--/,"<div class='buttons'><button class='btn-accept-necessary button secondary small' style='margin: 0 5px;'>"+i.buttonAcceptTechnical+"<\/button><button class='btn-accept-all button primary small' style='margin: 0 5px;'>"+i.buttonAcceptAll+"<\/button><\/div>");e(this.props.cookieName)===undefined&&this.props.autoShowModal&&s();this.reset=function(){c(this.props.cookieName);s()};this.trackingAllowed=function(){return e(this.props.cookieName)==="true"}}var FullCalendar,globalInit,AjaxManager,monthNames,AccountCreateElementProcessor,EventElementProcessor,FileAccessElementProcessor,FormElementProcessor,ImageSizeProcessor,InstagramElementProcessor,LoginElementProcessor,SearchElementProcessor;(function(n,t){"use strict";typeof module=="object"&&typeof module.exports=="object"?module.exports=n.document?t(n,!0):function(n){if(!n.document)throw new Error("jQuery requires a window with a document");return t(n)}:t(n)})(typeof window!="undefined"?window:this,function(n,t){"use strict";function yr(n,t,i){i=i||f;var r,e,u=i.createElement("script");if(u.text=n,t)for(r in re)e=t[r]||t.getAttribute&&t.getAttribute(r),e&&u.setAttribute(r,e);i.head.appendChild(u).parentNode.removeChild(u)}function rt(n){return n==null?n+"":typeof n=="object"||typeof n=="function"?ti[ar.call(n)]||"object":typeof n}function ai(n){var t=!!n&&"length"in n&&n.length,i=rt(n);return u(n)||it(n)?!1:i==="array"||t===0||typeof t=="number"&&t>0&&t-1 in n}function l(n,t){return n.nodeName&&n.nodeName.toLowerCase()===t.toLowerCase()}function yi(n,t,r){return u(t)?i.grep(n,function(n,i){return!!t.call(n,i,n)!==r}):t.nodeType?i.grep(n,function(n){return n===t!==r}):typeof t!="string"?i.grep(n,function(n){return ni.call(t,n)>-1!==r}):i.filter(t,n,r)}function iu(n,t){while((n=n[t])&&n.nodeType!==1);return n}function ue(n){var t={};return i.each(n.match(a)||[],function(n,i){t[i]=!0}),t}function ft(n){return n}function ri(n){throw n;}function ru(n,t,i,r){var f;try{n&&u(f=n.promise)?f.call(n).done(t).fail(i):n&&u(f=n.then)?f.call(n,t,i):t.apply(undefined,[n].slice(r))}catch(n){i.apply(undefined,[n])}}function fi(){f.removeEventListener("DOMContentLoaded",fi);n.removeEventListener("load",fi);i.ready()}function oe(n,t){return t.toUpperCase()}function y(n){return n.replace(fe,"ms-").replace(ee,oe)}function pt(){this.expando=i.expando+pt.uid++}function ce(n){return n==="true"?!0:n==="false"?!1:n==="null"?null:n===+n+""?+n:se.test(n)?JSON.parse(n):n}function fu(n,t,i){var r;if(i===undefined&&n.nodeType===1)if(r="data-"+t.replace(he,"-$&").toLowerCase(),i=n.getAttribute(r),typeof i=="string"){try{i=ce(i)}catch(u){}o.set(n,t,i)}else i=undefined;return i}function ou(n,t,r,u){var s,h,c=20,l=u?function(){return u.cur()}:function(){return i.css(n,t,"")},o=l(),e=r&&r[3]||(i.cssNumber[t]?"":"px"),f=n.nodeType&&(i.cssNumber[t]||e!=="px"&&+o)&&wt.exec(i.css(n,t));if(f&&f[3]!==e){for(o=o/2,e=e||f[3],f=+o||1;c--;)i.style(n,t,f+e),(1-h)*(1-(h=l()/o||.5))<=0&&(c=0),f=f/h;f=f*2;i.style(n,t,f+e);r=r||[]}return r&&(f=+f||+o||0,s=r[1]?f+(r[1]+1)*r[2]:+r[2],u&&(u.unit=e,u.start=f,u.end=s)),s}function ae(n){var r,f=n.ownerDocument,u=n.nodeName,t=pi[u];return t?t:(r=f.body.appendChild(f.createElement(u)),t=i.css(r,"display"),r.parentNode.removeChild(r),t==="none"&&(t="block"),pi[u]=t,t)}function st(n,t){for(var e,u,f=[],i=0,o=n.length;i<o;i++)(u=n[i],u.style)&&(e=u.style.display,t?(e==="none"&&(f[i]=r.get(u,"display")||null,f[i]||(u.style.display="")),u.style.display===""&&bt(u)&&(f[i]=ae(u))):e!=="none"&&(f[i]="none",r.set(u,"display",e)));for(i=0;i<o;i++)f[i]!=null&&(n[i].style.display=f[i]);return n}function s(n,t){var r;return(r=typeof n.getElementsByTagName!="undefined"?n.getElementsByTagName(t||"*"):typeof n.querySelectorAll!="undefined"?n.querySelectorAll(t||"*"):[],t===undefined||t&&l(n,t))?i.merge([n],r):r}function wi(n,t){for(var i=0,u=n.length;i<u;i++)r.set(n[i],"globalEval",!t||r.get(t[i],"globalEval"))}function lu(n,t,r,u,f){for(var e,o,p,a,w,v,h=t.createDocumentFragment(),y=[],l=0,b=n.length;l<b;
vendor: 4,838 bytes, line 14
14l++)if(e=n[l],e||e===0)if(rt(e)==="object")i.merge(y,e.nodeType?[e]:e);else if(cu.test(e)){for(o=o||h.appendChild(t.createElement("div")),p=(su.exec(e)||["",""])[1].toLowerCase(),a=c[p]||c._default,o.innerHTML=a[1]+i.htmlPrefilter(e)+a[2],v=a[0];v--;)o=o.lastChild;i.merge(y,o.childNodes);o=h.firstChild;o.textContent=""}else y.push(t.createTextNode(e));for(h.textContent="",l=0;e=y[l++];){if(u&&i.inArray(e,u)>-1){f&&f.push(e);continue}if(w=ot(e),o=s(h.appendChild(e),"script"),w&&wi(o),r)for(v=0;e=o[v++];)hu.test(e.type||"")&&r.push(e)}return h}function ht(){return!0}function ct(){return!1}function pe(n,t){return n===we()==(t==="focus")}function we(){try{return f.activeElement}catch(n){}}function bi(n,t,r,u,f,e){var o,s;if(typeof t=="object"){typeof r!="string"&&(u=u||r,r=undefined);for(s in t)bi(n,s,r,u,t[s],e);return n}if(u==null&&f==null?(f=r,u=r=undefined):f==null&&(typeof r=="string"?(f=u,u=undefined):(f=u,u=r,r=undefined)),f===!1)f=ct;else if(!f)return n;return e===1&&(o=f,f=function(n){return i().off(n),o.apply(this,arguments)},f.guid=o.guid||(o.guid=i.guid++)),n.each(function(){i.event.add(this,t,f,u,r)})}function ei(n,t,u){if(!u){r.get(n,t)===undefined&&i.event.add(n,t,ht);return}r.set(n,t,!1);i.event.add(n,t,{namespace:!1,handler:function(n){var o,e,f=r.get(this,t);if(n.isTrigger&1&&this[t]){if(f.length)(i.event.special[t]||{}).delegateType&&n.stopPropagation();else if(f=k.call(arguments),r.set(this,t,f),o=u(this,t),this[t](),e=r.get(this,t),f!==e||o?r.set(this,t,!1):e={},f!==e)return n.stopImmediatePropagation(),n.preventDefault(),e.value}else f.length&&(r.set(this,t,{value:i.event.trigger(i.extend(f[0],i.Event.prototype),f.slice(1),this)}),n.stopImmediatePropagation())}})}function vu(n,t){return l(n,"table")&&l(t.nodeType!==11?t:t.firstChild,"tr")?i(n).children("tbody")[0]||n:n}function ge(n){return n.type=(n.getAttribute("type")!==null)+"/"+n.type,n}function no(n){return(n.type||"").slice(0,5)==="true/"?n.type=n.type.slice(5):n.removeAttribute("type"),n}function yu(n,t){var f,s,e,h,c,l,u;if(t.nodeType===1){if(r.hasData(n)&&(h=r.get(n),u=h.events,u)){r.remove(t,"handle events");for(e in u)for(f=0,s=u[e].length;f<s;f++)i.event.add(t,e,u[e][f])}o.hasData(n)&&(c=o.access(n),l=i.extend({},c),o.set(t,l))}}function to(n,t){var i=t.nodeName.toLowerCase();i==="input"&&kt.test(n.type)?t.checked=n.checked:(i==="input"||i==="textarea")&&(t.defaultValue=n.defaultValue)}function lt(n,t,f,o){t=lr(t);var a,b,l,v,h,y,c=0,p=n.length,d=p-1,w=t[0],k=u(w);if(k||p>1&&typeof w=="string"&&!e.checkClone&&ke.test(w))return n.each(function(i){var r=n.eq(i);k&&(t[0]=w.call(this,i,r.html()));lt(r,t,f,o)});if(p&&(a=lu(t,n[0].ownerDocument,!1,n,o),b=a.firstChild,a.childNodes.length===1&&(a=b),b||o)){for(l=i.map(s(a,"script"),ge),v=l.length;c<p;c++)h=a,c!==d&&(h=i.clone(h,!0,!0),v&&i.merge(l,s(h,"script"))),f.call(n[c],h,c);if(v)for(y=l[l.length-1].ownerDocument,i.map(l,no),c=0;c<v;c++)h=l[c],hu.test(h.type||"")&&!r.access(h,"globalEval")&&i.contains(y,h)&&(h.src&&(h.type||"").toLowerCase()!=="module"?i._evalUrl&&!h.noModule&&i._evalUrl(h.src,{nonce:h.nonce||h.getAttribute("nonce")},y):yr(h.textContent.replace(de,""),h,y))}return n}function pu(n,t,r){for(var u,e=t?i.filter(t,n):n,f=0;(u=e[f])!=null;f++)r||u.nodeType!==1||i.cleanData(s(u)),u.parentNode&&(r&&ot(u)&&wi(s(u,"script")),u.parentNode.removeChild(u));return n}function dt(n,t,r){var o,s,h,u,f=n.style;return r=r||oi(n),r&&(u=r.getPropertyValue(t)||r[t],u!==""||ot(n)||(u=i.style(n,t)),!e.pixelBoxStyles()&&ki.test(u)&&io.test(t)&&(o=f.width,s=f.minWidth,h=f.maxWidth,f.minWidth=f.maxWidth=f.width=u,u=r.width,f.width=o,f.minWidth=s,f.maxWidth=h)),u!==undefined?u+"":u}function bu(n,t){return{get:function(){if(n()){delete this.get;return}return(this.get=t).apply(this,arguments)}}}function ro(n){for(var i=n[0].toUpperCase()+n.slice(1),t=ku.length;t--;)if(n=ku[t]+i,n in du)return n}function di(n){var t=i.cssProps[n]||gu[n];return t?t:n in du?n:gu[n]=ro(n)||n}function rf(n,t,i){var r=wt.exec(t);return r?Math.max(0,r[2]-(i||0))+(r[3]||"px"):t}function gi(n,t,r,u,f,e){var o=t==="width"?1:0,h=0,s=0;if(r===(u?"border":"content"))return 0;for(;o<4;o+=2)r==="margin"&&(s+=i.css(n,r+b[o],!0,f)),u?(r==="content"&&(s-=i.css(n,"padding"+b[o],!0,f)),r!=="margin"&&(s-=i.css(n,"border"+b[o]+"Width",!0,f))):(s+=i.css(n,"padding"+b[o],!0,f),r!=="padding"?s+=i.css(n,"border"+b[o]+"Width",!0,f):h+=i.css(n,"border"+b[o]+"Width",!0,f));return!u&&e>=0&&(s+=Math.max(0,Math.ceil(n["offset"+t[0].toUpperCase()+t.slice(1)]-e-s-h-.5))||0),s}function uf(n,t,r){var f=oi(n),c=!e.boxSizingReliable()||r,o=c&&i.css(n,"boxSizing",!1,f)==="border-box",s=o,u=dt(n,t,f),h="offset"+t[0].toUpperCase()+t.slice(1);if(ki.test(u)){if(!r)return u;u="auto"}return(!e.boxSizingReliable()&&o||!e.reliableTrDimensions()&&l(n,"tr")||u==="auto"||!parseFloat(u)&&i.css(n,"dis
14play",!1,f)==="inline")&&n.getClientRects().length&&(o=i.css(n,"boxSizing",!1,f)==="border-box",s=h in n,s&&(u=n[h])),u=parseFloat(u)||0,u+gi(n,t,r||(o?"border":"content"),s,f,u)+"px"}function h(n,t,i,r,u){return new h.prototype.init(n,t,i,r,u)}function nr(){si&&(f.hidden===!1&&n.requestAnimationFrame?n.requestAnimationFrame(nr):n.setTimeout(nr,i.fx.interval),i.fx.tick())}function of(){return n.setTimeout(function(){at=undefined}),at=Date.now()}function hi(n,t){var r,u=0,i={height:n};for(t=t?1:0;u<4;u+=2-t)r=b[u],i["margin"+r]=i["padding"+r]=n;return t&&(i.opacity=i.width=n),i}function sf(n,t,i){for(var u,f=(v.tweeners[t]||[]).concat(v.tweeners["*"]),r=0,e=f.length;r<e;r++)if(u=f[r].call(i,t,n))return u}function eo(n,t,u){var f,y,w,c,b,s,o,l,k="width"in t||"height"in t,v=this,p={},h=n.style,a=n.nodeType&&bt(n),e=r.get(n,"fxshow");u.queue||(c=i._queueHooks(n,"fx"),c.unqueued==null&&(c.unqueued=0,b=c.empty.fire,c.empty.fire=function(){c.unqueued||b()}),c.unqueued++,v.always(function(){v.always(function(){c.unqueued--;i.queue(n,"fx").length||c.empty.fire()})}));for(f in t)if(y=t[f],ff.test(y)){if(delete t[f],w=w||y==="toggle",y===(a?"hide":"show"))if(y==="show"&&e&&e[f]!==undefined)a=!0;else continue;p[f]=e&&e[f]||i.style(n,f)}if(s=!i.isEmptyObject(t),s||!i.isEmptyObject(p)){k&&n.nodeType===1&&(u.overflow=[h.overflow,h.overflowX,h.overflowY],o=e&&e.display,o==null&&(o=r.get(n,"display")),l=i.css(n,"display"),l==="none"&&(o?l=o:(st([n],!0),o=n.style.display||o,l=i.css(n,"display"),st([n]))),(l==="inline"||l==="inline-block"&&o!=null)&&i.css(n,"float")==="none"&&(s||(v.done(function(){h.display=o}),o==null&&(l=h.display,o=l==="none"?"":l)),h.display="inline-block"));u.overflow&&(h.overflow="hidden",v.always(function(){h.overflow=u.overflow[0];h.overflowX=u.overflow[1];h.overflowY=u.overflow[2]}));s=!1;for(f in p)s||(e?"hidden"in e&&(a=e.hidden):e=r.access(n,"fxshow",{display:o}),w&&(e.hidden=!a),a&&st([n],!0),v.done(function(){a||st([n]);r.remove(n,"fxshow");for(f in p)i.style(n,f,p[f])})),s=sf(a?e[f]:0,f,v),f in e||(e[f]=s.start,a&&(s.end=s.start,s.start=0))}}function oo(n,t){var r,f,e,u,o;for(r in n)if(f=y(r),e=t[f],u=n[r],Array.isArray(u)&&(e=u[1],u=n[r]=u[0]),r!==f&&(n[f]=u,delete n[r]),o=i.cssHooks[f],o&&"expand"in o){u=o.expand(u);delete n[f];for(r in u)r in n||(n[r]=u[r],t[r]=e)}else t[f]=e}function v(n,t,r){var o,s,h=0,a=v.prefilters.length,e=i.Deferred().always(function(){delete l.elem}),l=function(){if(s)return!1;for(var o=at||of(),t=Math.max(0,f.startTime+f.duration-o),h=t/f.duration||0,i=1-h,r=0,u=f.tweens.length;r<u;r++)f.tweens[r].run(i);return(e.notifyWith(n,[f,i,t]),i<1&&u)?t:(u||e.notifyWith(n,[f,1,0]),e.resolveWith(n,[f]),!1)},f=e.promise({elem:n,props:i.extend({},t),opts:i.extend(!0,{specialEasing:{},easing:i.easing._default},r),originalProperties:t,originalOptions:r,startTime:at||of(),duration:r.duration,tweens:[],createTween:function(t,r){var u=i.Tween(n,f.opts,t,r,f.opts.specialEasing[t]||f.opts.easing);return f.tweens.push(u),u},stop:function(t){var i=0,r=t?f.tweens.length:0;if(s)return this;for(s=!0;i<r;i++)f.tweens[i].run(1);return t?(e.notifyWith(n,[f,1,0]),e.resolveWith(n,[f,t])):e.rejectWith(n,[f,t]),this}}),c=f.props;for(oo(c,f.opts.specialEasing);h<a;h++)if(o=v.prefilters[h].call(f,n,c,f.opts),o)return u(o.stop)&&(i._queueHooks(f.elem,f.opts.queue).stop=o.stop.bind(o)),o;return i.map(c,sf,f),u(f.opts.start)&&f.opts.start.call(n,f),f.progress(f.opts.progress).done(f.opts.done,f.opts.complete).fail(f.opts.fail).always(f.opts.always),i.fx.timer(i.extend(l,{elem:n,anim:f,queue:f.opts.queue})),f}function nt(n){var t=n.match(a)||[];return t.join(" ")}function tt(n){return n.getAttribute&&n.getAttribute("class")||""}function tr(n){return Array.isArray(n)?n:typeof n=="string"?n.match(a)||[]:[]}function fr(n,t,r,u){var f;if(Array.isArray(t))i.each(t,function(t,i){r||so.test(n)?u(n,i):fr(n+"["+(typeof i=="object"&&i!=null?t:"")+"]",i,r,u)});else if(r||rt(t)!=="object")u(n,t);else for(f in t)fr(n+"["+f+"]",t[f],r,u)}function bf(n){return function(t,i){typeof t!="string"&&(i=t,t="*");var r,f=0,e=t.toLowerCase().match(a)||[];
14if(u(i))while(r=e[f++])r[0]==="+"?(r=r.slice(1)||"*",(n[r]=n[r]||[]).unshift(i)):(n[r]=n[r]||[]).push(i)}}function kf(n,t,r,u){function e(s){var h;return f[s]=!0,i.each(n[s]||[],function(n,i){var s=i(t,r,u);if(typeof s!="string"||o||f[s]){if(o)return!(h=s)}else return t.dataTypes.unshift(s),e(s),!1}),h}var f={},o=n===er;return e(t.dataTypes[0])||!f["*"]&&e("*")}function sr(n,t){var r,u,f=i.ajaxSettings.flatOptions||{};for(r in t)t[r]!==undefined&&((f[r]?n:u||(u={}))[r]=t[r]);return u&&i.extend(!0,n,u),n}function bo(n,t,i){for(var e,u,f,o,s=n.contents,r=n.dataTypes;r[0]==="*";)r.shift(),e===undefined&&(e=n.mimeType||t.getResponseHeader("Content-Type"));if(e)for(u in s)if(s[u]&&s[u].test(e)){r.unshift(u);break}if(r[0]in i)f=r[0];else{for(u in i){if(!r[0]||n.converters[u+" "+r[0]]){f=u;break}o||(o=u)}f=f||o}if(f)return f!==r[0]&&r.unshift(f),i[f]}function ko(n,t,i,r){var h,u,f,s,e,o={},c=n.dataTypes.slice();if(c[1])for(f in n.converters)o[f.toLowerCase()]=n.converters[f];for(u=c.shift();u;)if(n.responseFields[u]&&(i[n.responseFields[u]]=t),!e&&r&&n.dataFilter&&(t=n.dataFilter(t,n.dataType)),e=u,u=c.shift(),u)if(u==="*")u=e;else if(e!=="*"&&e!==u){if(f=o[e+" "+u]||o["* "+u],!f)for(h in o)if(s=h.split(" "),s[1]===u&&(f=o[e+" "+s[0]]||o["* "+s[0]],f)){f===!0?f=o[h]:o[h]!==!0&&(u=s[0],c.unshift(s[1]));break}if(f!==!0)if(f&&n.throws)t=f(t);else try{t=f(t)}catch(l){return{state:"parsererror",error:f?l:"No conversion from "+e+" to "+u}}}return{state:"success",data:t}}var p=[],cr=Object.getPrototypeOf,k=p.slice,lr=p.flat?function(n){return p.flat.call(n)}:function(n){return p.concat.apply([],n)},li=p.push,ni=p.indexOf,ti={},ar=ti.toString,ii=ti.hasOwnProperty,vr=ii.toString,ie=vr.call(Object),e={},u=function(n){return typeof n=="function"&&typeof n.nodeType!="number"},it=function(n){return n!=null&&n===n.window},f=n.document,re={type:!0,src:!0,nonce:!0,noModule:!0},pr="3.5.1",i=function(n,t){return new i.fn.init(n,t)},d,vi,kr,dr,gr,nu,tu,a,uu,ui,et,bt,pi,c,cu,at,si,ff,ef,hf,vt,cf,lf,af,ir,rr,df,yt,hr,ci,gf,ne,te;i.fn=i.prototype={jquery:pr,constructor:i,length:0,toArray:function(){return k.call(this)},get:function(n){return n==null?k.call(this):n<0?this[n+this.length]:this[n]},pushStack:function(n){var t=i.merge(this.constructor(),n);return t.prevObject=this,t},each:function(n){return i.each(this,n)},map:function(n){return this.pushStack(i.map(this,function(t,i){return n.call(t,i,t)}))},slice:function(){return this.pushStack(k.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(i.grep(this,function(n,t){return(t+1)%2}))},odd:function(){return this.pushStack(i.grep(this,function(n,t){return t%2}))},eq:function(n){var i=this.length,t=+n+(n<0?i:0);return this.pushStack(t>=0&&t<i?[this[t]]:[])},end:function(){return this.prevObject||this.constructor()},push:li,sort:p.sort,splice:p.splice};i.extend=i.fn.extend=function(){var s,f,e,t,o,c,n=arguments[0]||{},r=1,l=arguments.length,h=!1;for(typeof n=="boolean"&&(h=n,n=arguments[r]||{},r++),typeof n=="object"||u(n)||(n={}),r===l&&(n=this,r--);r<l;r++)if((s=arguments[r])!=null)for(f in s)(t=s[f],f!=="__proto__"&&n!==t)&&(h&&t&&(i.isPlainObject(t)||(o=Array.isArray(t)))?(e=n[f],c=o&&!Array.isArray(e)?[]:o||i.isPlainObject(e)?e:{},o=!1,n[f]=i.extend(h,c,t)):t!==undefined&&(n[f]=t));return n};i.extend({expando:"jQuery"+(pr+Math.random()).replace(/\D/g,""),isReady:!0,error:function(n){throw new Error(n);},noop:function(){},isPlainObject:function(n){var t,i;return!n||ar.call(n)!=="[object Object]"?!1:(t=cr(n),!t)?!0:(i=ii.call(t,"constructor")&&t.constructor,typeof i=="function"&&vr.call(i)===ie)},isEmptyObject:function(n){for(var t in n)return!1;return!0},globalEval:function(n,t,i){yr(n,{nonce:t&&t.nonce},i)},each:function(n,t){var r,i=0;if(ai(n)){for(r=n.length;i<r;i++)if(t.call(n[i],i,n[i])===!1)break}else for(i in n)if(t.call(n[i],i,n[i])===!1)break;return n},makeArray:function(n,t){var r=t||[];return n!=null&&(ai(Object(n))?i.merge(r,typeof n=="string"?[n]:n):li.call(r,n)),r},inArray:function(n,t,i){return t==null?-1:ni.call(t,n,i)},merge:function(n,t){for(var u=+t.length,i=0,r=n.length;i<u;i++)n[r++]=t[i];return n.length=r,n},grep:function(n,t,i){for(var u,f=[],r=0,e=n.length,o=!i;r<e;r++)u=!t(n[r],r),u!==o&&f.push(n[r]);return f},map:function(n,t,i){var e,u,r=0,f=[];if(ai(n))for(e=n.length;r<e;
vendor: 4,772 bytes, line 14
14r++)u=t(n[r],r,i),u!=null&&f.push(u);else for(r in n)u=t(n[r],r,i),u!=null&&f.push(u);return lr(f)},guid:1,support:e});typeof Symbol=="function"&&(i.fn[Symbol.iterator]=p[Symbol.iterator]);i.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(n,t){ti["[object "+t+"]"]=t.toLowerCase()});d=function(n){function u(n,t,r,u){var s,p,c,l,w,y,d,v=t&&t.ownerDocument,a=t?t.nodeType:9;if(r=r||[],typeof n!="string"||!n||a!==1&&a!==9&&a!==11)return r;if(!u&&(b(t),t=t||i,h)){if(a!==11&&(w=ar.exec(n)))if(s=w[1]){if(a===9)if(c=t.getElementById(s)){if(c.id===s)return r.push(c),r}else return r;else if(v&&(c=v.getElementById(s))&&et(t,c)&&c.id===s)return r.push(c),r}else{if(w[2])return k.apply(r,t.getElementsByTagName(n)),r;if((s=w[3])&&f.getElementsByClassName&&t.getElementsByClassName)return k.apply(r,t.getElementsByClassName(s)),r}if(f.qsa&&!lt[n+" "]&&(!o||!o.test(n))&&(a!==1||t.nodeName.toLowerCase()!=="object")){if(d=n,v=t,a===1&&(er.test(n)||yi.test(n))){for(v=ti.test(n)&&ri(t.parentNode)||t,v===t&&f.scope||((l=t.getAttribute("id"))?l=l.replace(pi,wi):t.setAttribute("id",l=e)),y=ft(n),p=y.length;p--;)y[p]=(l?"#"+l:":scope")+" "+pt(y[p]);d=y.join(",")}try{return k.apply(r,v.querySelectorAll(d)),r}catch(g){lt(n,!0)}finally{l===e&&t.removeAttribute("id")}}}return si(n.replace(at,"$1"),t,r,u)}function yt(){function n(r,u){return i.push(r+" ")>t.cacheLength&&delete n[i.shift()],n[r+" "]=u}var i=[];return n}function l(n){return n[e]=!0,n}function a(n){var t=i.createElement("fieldset");try{return!!n(t)}catch(r){return!1}finally{t.parentNode&&t.parentNode.removeChild(t);t=null}}function ii(n,i){for(var r=n.split("|"),u=r.length;u--;)t.attrHandle[r[u]]=i}function ki(n,t){var i=t&&n,r=i&&n.nodeType===1&&t.nodeType===1&&n.sourceIndex-t.sourceIndex;if(r)return r;if(i)while(i=i.nextSibling)if(i===t)return-1;return n?1:-1}function yr(n){return function(t){var i=t.nodeName.toLowerCase();return i==="input"&&t.type===n}}function pr(n){return function(t){var i=t.nodeName.toLowerCase();return(i==="input"||i==="button")&&t.type===n}}function di(n){return function(t){return"form"in t?t.parentNode&&t.disabled===!1?"label"in t?"label"in t.parentNode?t.parentNode.disabled===n:t.disabled===n:t.isDisabled===n||t.isDisabled!==!n&&vr(t)===n:t.disabled===n:"label"in t?t.disabled===n:!1}}function it(n){return l(function(t){return t=+t,l(function(i,r){for(var u,f=n([],i.length,t),e=f.length;e--;)i[u=f[e]]&&(i[u]=!(r[u]=i[u]))})})}function ri(n){return n&&typeof n.getElementsByTagName!="undefined"&&n}function gi(){}function pt(n){for(var t=0,r=n.length,i="";t<r;t++)i+=n[t].value;return i}function wt(n,t,i){var r=t.dir,u=t.next,f=u||r,o=i&&f==="parentNode",s=nr++;return t.first?function(t,i,u){while(t=t[r])if(t.nodeType===1||o)return n(t,i,u);return!1}:function(t,i,h){var c,l,a,y=[v,s];if(h){while(t=t[r])if((t.nodeType===1||o)&&n(t,i,h))return!0}else while(t=t[r])if(t.nodeType===1||o)if(a=t[e]||(t[e]={}),l=a[t.uniqueID]||(a[t.uniqueID]={}),u&&u===t.nodeName.toLowerCase())t=t[r]||t;else{if((c=l[f])&&c[0]===v&&c[1]===s)return y[2]=c[2];if(l[f]=y,y[2]=n(t,i,h))return!0}return!1}}function ui(n){return n.length>1?function(t,i,r){for(var u=n.length;u--;)if(!n[u](t,i,r))return!1;return!0}:n[0]}function wr(n,t,i){for(var r=0,f=t.length;r<f;r++)u(n,t[r],i);return i}function bt(n,t,i,r,u){for(var e,o=[],f=0,s=n.length,h=t!=null;f<s;f++)(e=n[f])&&(!i||i(e,r,u))&&(o.push(e),h&&t.push(f));return o}function fi(n,t,i,r,u,f){return r&&!r[e]&&(r=fi(r)),u&&!u[e]&&(u=fi(u,f)),l(function(f,e,o,s){var l,c,a,p=[],y=[],w=e.length,b=f||wr(t||"*",o.nodeType?[o]:o,[]),v=n&&(f||!t)?bt(b,p,n,o,s):b,h=i?u||(f?n:w||r)?[]:e:v;if(i&&i(v,h,o,s),r)for(l=bt(h,y),r(l,[],o,s),c=l.length;c--;)(a=l[c])&&(h[y[c]]=!(v[y[c]]=a));if(f){if(u||n){if(u){for(l=[],c=h.length;c--;)(a=h[c])&&l.push(v[c]=a);u(null,h=[],l,s)}for(c=h.length;c--;)(a=h[c])&&(l=u?nt(f,a):p[c])>-1&&(f[l]=!(e[l]=a))}}else h=bt(h===e?h.splice(w,h.length):h),u?u(null,e,h,s):k.apply(e,h)})}function ei(n){for(var o,u,r,s=n.length,h=t.relative[n[0].type],c=h||t.relative[" "],i=h?1:0,l=wt(function(n){return n===o},c,!0),a=wt(function(n){return nt(o,n)>-1},c,!0),f=[function(n,t,i){var r=!h&&(i||t!==ht)||((o=t).nodeType?l(n,t,i):a(n,t,i));return o=null,r}];i<s;i++)if(u=t.relative[n[i].type])f=[wt(ui(f),u)];else{if(u=t.filter[n[i].type].apply(null,n[i].matches),u[e]){for(r=++i;r<s;r++)if(t.relative[n[r].type])break;return fi(i>1&&ui(f),i>1&&pt(n.slice(0,i-1).concat({value:n[i-2].type===" "?"*":""})).replace(at,"$1"),u,i<r&&ei(n.slice(i,r)),r<s&&ei(n=n.slice(r)),r<s&&pt(n))}f.push(u)}return ui(f)}function br(n,r){var f=r.length>0,e=n.length>0,o=function(o,s,c,l,a){var y,nt,d,g=0,p="0",tt=o&&[],w=[],it=ht,rt=o||e&&t.find.TAG("*",a),ut=v+=it==null?1:Math.random()||.1,ft
14=rt.length;for(a&&(ht=s==i||s||a);p!==ft&&(y=rt[p])!=null;p++){if(e&&y){for(nt=0,s||y.ownerDocument==i||(b(y),c=!h);d=n[nt++];)if(d(y,s||i,c)){l.push(y);break}a&&(v=ut)}f&&((y=!d&&y)&&g--,o&&tt.push(y))}if(g+=p,f&&p!==g){for(nt=0;d=r[nt++];)d(tt,w,s,c);if(o){if(g>0)while(p--)tt[p]||w[p]||(w[p]=ir.call(l));w=bt(w)}k.apply(l,w);a&&!o&&w.length>0&&g+r.length>1&&u.uniqueSort(l)}return a&&(v=ut,ht=it),tt};return f?l(o):o}var rt,f,t,st,oi,ft,kt,si,ht,w,ut,b,i,s,h,o,d,ct,et,e="sizzle"+1*new Date,c=n.document,v=0,nr=0,hi=yt(),ci=yt(),li=yt(),lt=yt(),dt=function(n,t){return n===t&&(ut=!0),0},tr={}.hasOwnProperty,g=[],ir=g.pop,rr=g.push,k=g.push,ai=g.slice,nt=function(n,t){for(var i=0,r=n.length;i<r;i++)if(n[i]===t)return i;return-1},gt="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",r="[\\x20\\t\\r\\n\\f]",tt="(?:\\\\[\\da-fA-F]{1,6}"+r+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",vi="\\["+r+"*("+tt+")(?:"+r+"*([*^$|!~]?=)"+r+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+tt+"))|)"+r+"*\\]",ni=":("+tt+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+vi+")*)|.*)\\)|)",ur=new RegExp(r+"+","g"),at=new RegExp("^"+r+"+|((?:^|[^\\\\])(?:\\\\.)*)"+r+"+$","g"),fr=new RegExp("^"+r+"*,"+r+"*"),yi=new RegExp("^"+r+"*([>+~]|"+r+")"+r+"*"),er=new RegExp(r+"|>"),or=new RegExp(ni),sr=new RegExp("^"+tt+"$"),vt={ID:new RegExp("^#("+tt+")"),CLASS:new RegExp("^\\.("+tt+")"),TAG:new RegExp("^("+tt+"|[*])"),ATTR:new RegExp("^"+vi),PSEUDO:new RegExp("^"+ni),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+r+"*(even|odd|(([+-]|)(\\d*)n|)"+r+"*(?:([+-]|)"+r+"*(\\d+)|))"+r+"*\\)|)","i"),bool:new RegExp("^(?:"+gt+")$","i"),needsContext:new RegExp("^"+r+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+r+"*((?:-\\d)?\\d*)"+r+"*\\)|)(?=[^-]|$)","i")},hr=/HTML$/i,cr=/^(?:input|select|textarea|button)$/i,lr=/^h\d$/i,ot=/^[^{]+\{\s*\[native \w/,ar=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ti=/[+~]/,y=new RegExp("\\\\[\\da-fA-F]{1,6}"+r+"?|\\\\([^\\r\\n\\f])","g"),p=function(n,t){var i="0x"+n.slice(1)-65536;return t?t:i<0?String.fromCharCode(i+65536):String.fromCharCode(i>>10|55296,i&1023|56320)},pi=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,wi=function(n,t){return t?n==="\0"?"�":n.slice(0,-1)+"\\"+n.charCodeAt(n.length-1).toString(16)+" ":"\\"+n},bi=function(){b()},vr=wt(function(n){return n.disabled===!0&&n.nodeName.toLowerCase()==="fieldset"},{dir:"parentNode",next:"legend"});try{k.apply(g=ai.call(c.childNodes),c.childNodes);g[c.childNodes.length].nodeType}catch(kr){k={apply:g.length?function(n,t){rr.apply(n,ai.call(t))}:function(n,t){for(var i=n.length,r=0;n[i++]=t[r++];);n.length=i-1}}}f=u.support={};oi=u.isXML=function(n){var i=n.namespaceURI,t=(n.ownerDocument||n).documentElement;return!hr.test(i||t&&t.nodeName||"HTML")};b=u.setDocument=function(n){var v,u,l=n?n.ownerDocument||n:c;return l==i||l.nodeType!==9||!l.documentElement?i:(i=l,s=i.documentElement,h=!oi(i),c!=i&&(u=i.defaultView)&&u.top!==u&&(u.addEventListener?u.addEventListener("unload",bi,!1):u.attachEvent&&u.attachEvent("onunload",bi)),f.scope=a(function(n){return s.appendChild(n).appendChild(i.createElement("div")),typeof n.querySelectorAll!="undefined"&&!n.querySelectorAll(":scope fieldset div").length}),f.attributes=a(function(n){return n.className="i",!n.getAttribute("className")}),f.getElementsByTagName=a(function(n){return n.appendChild(i.createComment("")),!n.getElementsByTagName("*").length}),f.getElementsByClassName=ot.test(i.getElementsByClassName),f.getById=a(function(n){return s.appendChild(n).id=e,!i.getElementsByName||!i.getElementsByName(e).length}),f.getById?(t.filter.ID=function(n){var t=n.replace(y,p);return function(n){return n.getAttribute("id")===t}},t.find.ID=function(n,t){if(typeof t.getElementById!="undefined"&&h){var i=t.getElementById(n);return i?[i]:[]}}):(t.filter.ID=function(n){var t=n.replace(y,p);return function(n){var i=typeof n.getAttributeNode!="undefined"&&n.getAttributeNode("id");return i&&i.value===t}},t.find.ID=function(n,t){if(typeof t.getElementById!="undefined"&&h){var i,u,f,r=t.getElementById(n);if(r){if(i=r.getAttributeNode("id"),i&&i.value===n)return[r];for(f=t.getElementsByName(n),u=0;r=f[u++];)if(i=r.getAttributeNode("id"),i&&i.value===n)return[r]}return[]}}),t.find.TAG=f.getElementsByTagName?function(n,t){return typeof t.getElementsByTagName!="undefined"?t.getElementsByTagName(n):f.qsa?t.querySelectorAll(n):void 0}:function(n,t){var i,r=[],f=0,u=t.getElementsByTagName(n);if(n==="*"){while(i=u[f++])i.nodeType===1&&r.push(i);return r}return u},t.find.CLASS=f.getElementsByClassName&&function(n,t){if(typeof t.getElementsByClassName!="undefined"&&h)return t.getElementsByClassName(n)},d=[],o=[],(f.qsa=ot.test(i.querySelectorAll))&&(a(function(n){var t;s.appendChild(n).innerHTML="<a id='"+e+"'><\/a><select id='"+e+"-\r\\' msallowcapture=''><option selected=''><\/option><\/select>";n.querySelectorAll("[msallowcapture^='']").length&&o.push("[*^$]="+r+"*(?:''|\"\")");n.querySelectorAll("[selected]").length||o.push("\\["+r+"*(?:value|"+gt+")");n.querySelectorAll("[id~="+e+"-]").length||o.push("~=");t=i.createElement("input");t.setAttribute("name","");n.appendChild(t);n.querySelectorAll("[name='']").length||o.push("\\["+r+"*name"+r+"*="+r+"*(?:''|\"\")");n.querySelectorAll(":checked").length||o.push(":checked");n.querySelectorAll("a#"+e+"+*").length||o.push(".#.+[+~]");n.querySelectorAll("\\\f");o.push("[\\r\\n\\f]")}),a(function(n){n.innerHTML="<a href='' disabled='disabled'><\/a><select disabled='disabled'><option/><\/select>";var t=i.createElement("input");t.setAttribute("type","hidden");n.appendChild(t).setAttribute("name","D");n.querySelectorAll("[name=d]").length&&o.push("name"+r+"*[*^$|!~]?=");n.querySelectorAll(":enabled").length!==2&&o.push(":enabled",":disabled");s.appendChild(n).disabled=!0;n.querySelectorAll(":disabled").length!==2&&o.push(":enabled",":disabled");n.querySelectorAll("*,:x");o.push(",.*:")})),(f.matchesSelector=ot.test(ct=s.matches||s.webkitMatchesSelector||s.mozMatchesSelector||s.oMatchesSelector||s.msMatchesSelector))&&a(function(n){f.disconnectedMatch=ct.call(n,"*");ct.call(n,"[s!='']:x");d.push("!=",ni)}),o=o.length&&new RegExp(o.join("|")),d=d.length&&new RegExp(d.join("|")),v=ot.test(s.compareDocumentPosition),et=v||ot.test(s.contains)?function(n,t){var r=n.nodeType===9?n.documentElement:n,i=t&&t.parentNode;return n===i||!!(i&&i.nodeType===1&&(r.contains?r.contains(i):n.compareDocumentPosition&&n.c
14ompareDocumentPosition(i)&16))}:function(n,t){if(t)while(t=t.parentNode)if(t===n)return!0;return!1},dt=v?function(n,t){if(n===t)return ut=!0,0;var r=!n.compareDocumentPosition-!t.compareDocumentPosition;return r?r:(r=(n.ownerDocument||n)==(t.ownerDocument||t)?n.compareDocumentPosition(t):1,r&1||!f.sortDetached&&t.compareDocumentPosition(n)===r)?n==i||n.ownerDocument==c&&et(c,n)?-1:t==i||t.ownerDocument==c&&et(c,t)?1:w?nt(w,n)-nt(w,t):0:r&4?-1:1}:function(n,t){if(n===t)return ut=!0,0;var r,u=0,o=n.parentNode,s=t.parentNode,f=[n],e=[t];if(o&&s){if(o===s)return ki(n,t)}else return n==i?-1:t==i?1:o?-1:s?1:w?nt(w,n)-nt(w,t):0;for(r=n;r=r.parentNode;)f.unshift(r);for(r=t;r=r.parentNode;)e.unshift(r);while(f[u]===e[u])u++;return u?ki(f[u],e[u]):f[u]==c?-1:e[u]==c?1:0},i)};u.matches=function(n,t){return u(n,null,null,t)};u.matchesSelector=function(n,t){if(b(n),f.matchesSelector&&h&&!lt[t+" "]&&(!d||!d.test(t))&&(!o||!o.test(t)))try{var r=ct.call(n,t);if(r||f.disconnectedMatch||n.document&&n.document.nodeType!==11)return r}catch(e){lt(t,!0)}return u(t,i,null,[n]).length>0};u.contains=function(n,t){return(n.ownerDocument||n)!=i&&b(n),et(n,t)};u.attr=function(n,r){(n.ownerDocument||n)!=i&&b(n);var e=t.attrHandle[r.toLowerCase()],u=e&&tr.call(t.attrHandle,r.toLowerCase())?e(n,r,!h):undefined;return u!==undefined?u:f.attributes||!h?n.getAttribute(r):(u=n.getAttributeNode(r))&&u.specified?u.value:null};u.escape=function(n){return(n+"").replace(pi,wi)};u.error=function(n){throw new Error("Syntax error, unrecognized expression: "+n);};u.uniqueSort=function(n){var r,u=[],t=0,i=0;if(ut=!f.detectDuplicates,w=!f.sortStable&&n.slice(0),n.sort(dt),ut){while(r=n[i++])r===n[i]&&(t=u.push(i));while(t--)n.splice(u[t],1)}return w=null,n};st=u.getText=function(n){var r,i="",u=0,t=n.nodeType;if(t){if(t===1||t===9||t===11){if(typeof n.textContent=="string")return n.textContent;for(n=n.firstChild;n;n=n.nextSibling)i+=st(n)}else if(t===3||t===4)return n.nodeValue}else while(r=n[u++])i+=st(r);return i};t=u.selectors={cacheLength:50,createPseudo:l,match:vt,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(n){return n[1]=n[1].replace(y,p),n[3]=(n[3]||n[4]||n[5]||"").replace(y,p),n[2]==="~="&&(n[3]=" "+n[3]+" "),n.slice(0,4)},CHILD:function(n){return n[1]=n[1].toLowerCase(),n[1].slice(0,3)==="nth"?(n[3]||u.error(n[0]),n[4]=+(n[4]?n[5]+(n[6]||1):2*(n[3]==="even"||n[3]==="odd")),n[5]=+(n[7]+n[8]||n[3]==="odd")):n[3]&&u.error(n[0]),n},PSEUDO:function(n){var i,t=!n[6]&&n[2];return vt.CHILD.test(n[0])?null:(n[3]?n[2]=n[4]||n[5]||"":t&&or.test(t)&&(i=ft(t,!0))&&(i=t.indexOf(")",t.length-i)-t.length)&&(n[0]=n[0].slice(0,i),n[2]=t.slice(0,i)),n.slice(0,3))}},filter:{TAG:function(n){var t=n.replace(y,p).toLowerCase();return n==="*"?function(){return!0}:function(n){return n.nodeName&&n.nodeName.toLowerCase()===t}},CLASS:function(n){var t=hi[n+" "];return t||(t=new RegExp("(^|"+r+")"+n+"("+r+"|$)"))&&hi(n,function(n){return t.test(typeof n.className=="string"&&n.className||typeof n.getAttribute!="undefined"&&n.getAttribute("class")||"")})},ATTR:function(n,t,i){return function(r){var f=u.attr(r,n);return f==null?t==="!=":t?(f+="",t==="="?f===i:t==="!="?f!==i:t==="^="?i&&f.indexOf(i)===0:t==="*="?i&&f.indexOf(i)>-1:t==="$="?i&&f.slice(-i.length)===i:t==="~="?(" "+f.replace(ur," ")+" ").indexOf(i)>-1:t==="|="?f===i||f.slice(0,i.length+1)===i+"-":!1):!0}},CHILD:function(n,t,i,r,u){var s=n.slice(0,3)!=="nth",o=n.slice(-4)!=="last",f=t==="of-type";return r===1&&u===0?function(n){return!!n.parentNode}:function(t,i,h){var p,w,y,c,a,b,k=s!==o?"nextSibling":"previousSibling",d=t.parentNode,nt=f&&t.nodeName.toLowerCase(),g=!h&&!f,l=!1;if(d){if(s){while(k){for(c=t;c=c[k];)if(f?c.nodeName.toLowerCase()===nt:c.nodeType===1)return!1;b=k=n==="only"&&!b&&"nextSibling"}return!0}if(b=[o?d.firstChild:d.lastChild],o&&g){for(c=d,y=c[e]||(c[e]={}),w=y[c.uniqueID]||(y[c.uniqueID]={}),p=w[n]||[],a=p[0]===v&&p[1],l=a&&p[2],c=a&&d.childNodes[a];c=++a&&c&&c[k]||(l=a=0)||b.pop();)if(c.nodeType===1&&++l&&c===t){w[n]=[v,a,l];break}}else if(g&&(c=t,y=c[e]||(c[e]={}),w=y[c.uniqueID]||(y[c.uniqueID]={}
vendor: 5,647 bytes, line 14
14),p=w[n]||[],a=p[0]===v&&p[1],l=a),l===!1)while(c=++a&&c&&c[k]||(l=a=0)||b.pop())if((f?c.nodeName.toLowerCase()===nt:c.nodeType===1)&&++l&&(g&&(y=c[e]||(c[e]={}),w=y[c.uniqueID]||(y[c.uniqueID]={}),w[n]=[v,l]),c===t))break;return l-=u,l===r||l%r==0&&l/r>=0}}},PSEUDO:function(n,i){var f,r=t.pseudos[n]||t.setFilters[n.toLowerCase()]||u.error("unsupported pseudo: "+n);return r[e]?r(i):r.length>1?(f=[n,n,"",i],t.setFilters.hasOwnProperty(n.toLowerCase())?l(function(n,t){for(var u,f=r(n,i),e=f.length;e--;)u=nt(n,f[e]),n[u]=!(t[u]=f[e])}):function(n){return r(n,0,f)}):r}},pseudos:{not:l(function(n){var t=[],r=[],i=kt(n.replace(at,"$1"));return i[e]?l(function(n,t,r,u){for(var e,o=i(n,null,u,[]),f=n.length;f--;)(e=o[f])&&(n[f]=!(t[f]=e))}):function(n,u,f){return t[0]=n,i(t,null,f,r),t[0]=null,!r.pop()}}),has:l(function(n){return function(t){return u(n,t).length>0}}),contains:l(function(n){return n=n.replace(y,p),function(t){return(t.textContent||st(t)).indexOf(n)>-1}}),lang:l(function(n){return sr.test(n||"")||u.error("unsupported lang: "+n),n=n.replace(y,p).toLowerCase(),function(t){var i;do if(i=h?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return i=i.toLowerCase(),i===n||i.indexOf(n+"-")===0;while((t=t.parentNode)&&t.nodeType===1);return!1}}),target:function(t){var i=n.location&&n.location.hash;return i&&i.slice(1)===t.id},root:function(n){return n===s},focus:function(n){return n===i.activeElement&&(!i.hasFocus||i.hasFocus())&&!!(n.type||n.href||~n.tabIndex)},enabled:di(!1),disabled:di(!0),checked:function(n){var t=n.nodeName.toLowerCase();return t==="input"&&!!n.checked||t==="option"&&!!n.selected},selected:function(n){return n.parentNode&&n.parentNode.selectedIndex,n.selected===!0},empty:function(n){for(n=n.firstChild;n;n=n.nextSibling)if(n.nodeType<6)return!1;return!0},parent:function(n){return!t.pseudos.empty(n)},header:function(n){return lr.test(n.nodeName)},input:function(n){return cr.test(n.nodeName)},button:function(n){var t=n.nodeName.toLowerCase();return t==="input"&&n.type==="button"||t==="button"},text:function(n){var t;return n.nodeName.toLowerCase()==="input"&&n.type==="text"&&((t=n.getAttribute("type"))==null||t.toLowerCase()==="text")},first:it(function(){return[0]}),last:it(function(n,t){return[t-1]}),eq:it(function(n,t,i){return[i<0?i+t:i]}),even:it(function(n,t){for(var i=0;i<t;i+=2)n.push(i);return n}),odd:it(function(n,t){for(var i=1;i<t;i+=2)n.push(i);return n}),lt:it(function(n,t,i){for(var r=i<0?i+t:i>t?t:i;--r>=0;)n.push(r);return n}),gt:it(function(n,t,i){for(var r=i<0?i+t:i;++r<t;)n.push(r);return n})}};t.pseudos.nth=t.pseudos.eq;for(rt in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})t.pseudos[rt]=yr(rt);for(rt in{submit:!0,reset:!0})t.pseudos[rt]=pr(rt);return gi.prototype=t.filters=t.pseudos,t.setFilters=new gi,ft=u.tokenize=function(n,i){var e,f,s,o,r,h,c,l=ci[n+" "];if(l)return i?0:l.slice(0);for(r=n,h=[],c=t.preFilter;r;){(!e||(f=fr.exec(r)))&&(f&&(r=r.slice(f[0].length)||r),h.push(s=[]));e=!1;(f=yi.exec(r))&&(e=f.shift(),s.push({value:e,type:f[0].replace(at," ")}),r=r.slice(e.length));for(o in t.filter)(f=vt[o].exec(r))&&(!c[o]||(f=c[o](f)))&&(e=f.shift(),s.push({value:e,type:o,matches:f}),r=r.slice(e.length));if(!e)break}return i?r.length:r?u.error(n):ci(n,h).slice(0)},kt=u.compile=function(n,t){var r,u=[],f=[],i=li[n+" "];if(!i){for(t||(t=ft(n)),r=t.length;r--;)i=ei(t[r]),i[e]?u.push(i):f.push(i);i=li(n,br(f,u));i.selector=n}return i},si=u.select=function(n,i,r,u){var o,f,e,l,a,c=typeof n=="function"&&n,s=!u&&ft(n=c.selector||n);if(r=r||[],s.length===1){if(f=s[0]=s[0].slice(0),f.length>2&&(e=f[0]).type==="ID"&&i.nodeType===9&&h&&t.relative[f[1].type]){if(i=(t.find.ID(e.matches[0].replace(y,p),i)||[])[0],i)c&&(i=i.parentNode);else return r;n=n.slice(f.shift().value.length)}for(o=vt.needsContext.test(n)?0:f.length;o--;){if(e=f[o],t.relative[l=e.type])break;if((a=t.find[l])&&(u=a(e.matches[0].replace(y,p),ti.test(f[0].type)&&ri(i.parentNode)||i))){if(f.splice(o,1),n=u.length&&pt(f),!n)return k.apply(r,u),r;break}}}return(c||kt(n,s))(u,i,!h,r,!i||ti.test(n)&&ri(i.parentNode)||i),r},f.sortStable=e.split("").sort(dt).join("")===e,f.detectDuplicates=!!ut,b(),f.sortDetached=a(function(n){return n.compareDocumentPosition(i.createElement("fieldset"))&1}),a(function(n){return n.innerHTML="<a href='#'><\/a>",n.firstChild.getAttribute("href")==="#"})||ii("type|href|height|width",function(n,t,i){if(!i)return n.getAttribute(t,t.toLowerCase()==="type"?1:2)}),f.attributes&&a(function(n){return n.innerHTML="<input/>",n.firstChild.setAttribute("value",""),n.firstChild.getAttribute("value")===""})||ii("value",function(n,t,i){if(!i&&n.nodeName.toLowerCase()==="input")return n.defaultValue}),a(function(n){return n.getAttribute("disabled")==null})||ii(gt,function(n,t,i){var r;if(!i)return n[t]===!0?t.toLowerCase():(r=n.getAttributeNode(t))&&r.specified?r.value:null}),u}(n);i.find=d;i.expr=d.selectors;i.expr[":"]=i.expr.pseudos;i.uniqueSort=i.unique=d.uniqueSort;i.text=d.getText;i.isXMLDoc=d.isXML;i.contains=d.contains;i.escapeSelector=d.escape;var ut=function(n,t,r){for(var u=[],f=r!==undefined;(n=n[t])&&n.nodeType!==9;)if(n.nodeType===1){if(f&&i(n).is(r))break;u.push(n)}return u},wr=function(n,t){for(var i=[];n;n=n.nextSibling)n.nodeType===1&&n!==t&&i.push(n);return i},br=i.expr.match.needsContext;vi=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;i.filter=function(n,t,r){var u=t[0];return(r&&(n=":not("+n+")"),t.length===1&&u.nodeType===1)?i.find.matchesSelector(u,n)?[u]:[]:i.find.matches(n,i.grep(t,function(n){return n.nodeType===1}))};i.fn.extend({find:function(n){var t,r,u=this.length,f=this;
14if(typeof n!="string")return this.pushStack(i(n).filter(function(){for(t=0;t<u;t++)if(i.contains(f[t],this))return!0}));for(r=this.pushStack([]),t=0;t<u;t++)i.find(n,f[t],r);return u>1?i.uniqueSort(r):r},filter:function(n){return this.pushStack(yi(this,n||[],!1))},not:function(n){return this.pushStack(yi(this,n||[],!0))},is:function(n){return!!yi(this,typeof n=="string"&&br.test(n)?i(n):n||[],!1).length}});dr=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;gr=i.fn.init=function(n,t,r){var e,o;if(!n)return this;if(r=r||kr,typeof n=="string"){if(e=n[0]==="<"&&n[n.length-1]===">"&&n.length>=3?[null,n,null]:dr.exec(n),e&&(e[1]||!t)){if(e[1]){if(t=t instanceof i?t[0]:t,i.merge(this,i.parseHTML(e[1],t&&t.nodeType?t.ownerDocument||t:f,!0)),vi.test(e[1])&&i.isPlainObject(t))for(e in t)u(this[e])?this[e](t[e]):this.attr(e,t[e]);return this}return o=f.getElementById(e[2]),o&&(this[0]=o,this.length=1),this}return!t||t.jquery?(t||r).find(n):this.constructor(t).find(n)}return n.nodeType?(this[0]=n,this.length=1,this):u(n)?r.ready!==undefined?r.ready(n):n(i):i.makeArray(n,this)};gr.prototype=i.fn;kr=i(f);nu=/^(?:parents|prev(?:Until|All))/;tu={children:!0,contents:!0,next:!0,prev:!0};i.fn.extend({has:function(n){var t=i(n,this),r=t.length;return this.filter(function(){for(var n=0;n<r;n++)if(i.contains(this,t[n]))return!0})},closest:function(n,t){var r,f=0,o=this.length,u=[],e=typeof n!="string"&&i(n);if(!br.test(n))for(;f<o;f++)for(r=this[f];r&&r!==t;r=r.parentNode)if(r.nodeType<11&&(e?e.index(r)>-1:r.nodeType===1&&i.find.matchesSelector(r,n))){u.push(r);break}return this.pushStack(u.length>1?i.uniqueSort(u):u)},index:function(n){return n?typeof n=="string"?ni.call(i(n),this[0]):ni.call(this,n.jquery?n[0]:n):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(n,t){return this.pushStack(i.uniqueSort(i.merge(this.get(),i(n,t))))},addBack:function(n){return this.add(n==null?this.prevObject:this.prevObject.filter(n))}});i.each({parent:function(n){var t=n.parentNode;return t&&t.nodeType!==11?t:null},parents:function(n){return ut(n,"parentNode")},parentsUntil:function(n,t,i){return ut(n,"parentNode",i)},next:function(n){return iu(n,"nextSibling")},prev:function(n){return iu(n,"previousSibling")},nextAll:function(n){return ut(n,"nextSibling")},prevAll:function(n){return ut(n,"previousSibling")},nextUntil:function(n,t,i){return ut(n,"nextSibling",i)},prevUntil:function(n,t,i){return ut(n,"previousSibling",i)},siblings:function(n){return wr((n.parentNode||{}).firstChild,n)},children:function(n){return wr(n.firstChild)},contents:function(n){return n.contentDocument!=null&&cr(n.contentDocument)?n.contentDocument:(l(n,"template")&&(n=n.content||n),i.merge([],n.childNodes))}},function(n,t){i.fn[n]=function(r,u){var f=i.map(this,t,r);return n.slice(-5)!=="Until"&&(u=r),u&&typeof u=="string"&&(f=i.filter(u,f)),this.length>1&&(tu[n]||i.uniqueSort(f),nu.test(n)&&f.reverse()),this.pushStack(f)}});a=/[^\x20\t\r\n\f]+/g;i.Callbacks=function(n){n=typeof n=="string"?ue(n):i.extend({},n);var o,r,c,f,t=[],s=[],e=-1,l=function(){for(f=f||n.once,c=o=!0;s.length;e=-1)for(r=s.shift();++e<t.length;)t[e].apply(r[0],r[1])===!1&&n.stopOnFalse&&(e=t.length,r=!1);n.memory||(r=!1);o=!1;f&&(t=r?[]:"")},h={add:function(){return t&&(r&&!o&&(e=t.length-1,s.push(r)),function f(r){i.each(r,function(i,r){u(r)?n.unique&&h.has(r)||t.push(r):r&&r.length&&rt(r)!=="string"&&f(r)})}(arguments),r&&!o&&l()),this},remove:function(){return i.each(arguments,function(n,r){for(var u;(u=i.inArray(r,t,u))>-1;)t.splice(u,1),u<=e&&e--}),this},has:function(n){return n?i.inArray(n,t)>-1:t.length>0},empty:function(){return t&&(t=[]),this},disable:function(){return f=s=[],t=r="",this},disabled:function(){return!t},lock:function(){return f=s=[],r||o||(t=r=""),this},locked:function(){return!!f},fireWith:function(n,t){return f||(t=t||[],t=[n,t.slice?t.slice():t],s.push(t),o||l()),this},fire:function(){return h.fireWith(this,arguments),this},fired:function(){return!!c}};return h};i.extend({Deferred:function(t){var f=[["notify","progress",i.Callbacks("memory"),i.Callbacks("memory"),2],["resolve","done",i.Callbacks("once memory"),i.Callbacks("once memory"),0,"resolved"],["reject","fail",i.Callbacks("once memory"),i.Callbacks("once memory"),1,"rejected"]],o="pending",e={state:function(){return o},always:function(){return r.done(arguments).fail(arguments),this},"catch":function(n){return e.then(null,n)},pipe:function(){var n=arguments;return i.Deferred(function(t){i.each(f,function(i,f){var e=u(n[f[4]]
14)&&n[f[4]];r[f[1]](function(){var n=e&&e.apply(this,arguments);n&&u(n.promise)?n.promise().progress(t.notify).done(t.resolve).fail(t.reject):t[f[0]+"With"](this,e?[n]:arguments)})});n=null}).promise()},then:function(t,r,e){function s(t,r,f,e){return function(){var h=this,c=arguments,a=function(){var n,i;if(!(t<o)){if(n=f.apply(h,c),n===r.promise())throw new TypeError("Thenable self-resolution");i=n&&(typeof n=="object"||typeof n=="function")&&n.then;u(i)?e?i.call(n,s(o,r,ft,e),s(o,r,ri,e)):(o++,i.call(n,s(o,r,ft,e),s(o,r,ri,e),s(o,r,ft,r.notifyWith))):(f!==ft&&(h=undefined,c=[n]),(e||r.resolveWith)(h,c))}},l=e?a:function(){try{a()}catch(n){i.Deferred.exceptionHook&&i.Deferred.exceptionHook(n,l.stackTrace);t+1>=o&&(f!==ri&&(h=undefined,c=[n]),r.rejectWith(h,c))}};t?l():(i.Deferred.getStackHook&&(l.stackTrace=i.Deferred.getStackHook()),n.setTimeout(l))}}var o=0;return i.Deferred(function(n){f[0][3].add(s(0,n,u(e)?e:ft,n.notifyWith));f[1][3].add(s(0,n,u(t)?t:ft));f[2][3].add(s(0,n,u(r)?r:ri))}).promise()},promise:function(n){return n!=null?i.extend(n,e):e}},r={};return i.each(f,function(n,t){var i=t[2],u=t[5];e[t[1]]=i.add;u&&i.add(function(){o=u},f[3-n][2].disable,f[3-n][3].disable,f[0][2].lock,f[0][3].lock);i.add(t[3].fire);r[t[0]]=function(){return r[t[0]+"With"](this===r?undefined:this,arguments),this};r[t[0]+"With"]=i.fireWith}),e.promise(r),t&&t.call(r,r),r},when:function(n){var e=arguments.length,t=e,o=Array(t),f=k.call(arguments),r=i.Deferred(),s=function(n){return function(t){o[n]=this;f[n]=arguments.length>1?k.call(arguments):t;--e||r.resolveWith(o,f)}};if(e<=1&&(ru(n,r.done(s(t)).resolve,r.reject,!e),r.state()==="pending"||u(f[t]&&f[t].then)))return r.then();while(t--)ru(f[t],s(t),r.reject);return r.promise()}});uu=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;i.Deferred.exceptionHook=function(t,i){n.console&&n.console.warn&&t&&uu.test(t.name)&&n.console.warn("jQuery.Deferred exception: "+t.message,t.stack,i)};i.readyException=function(t){n.setTimeout(function(){throw t;})};ui=i.Deferred();i.fn.ready=function(n){return ui.then(n).catch(function(n){i.readyException(n)}),this};i.extend({isReady:!1,readyWait:1,ready:function(n){(n===!0?--i.readyWait:i.isReady)||(i.isReady=!0,n!==!0&&--i.readyWait>0)||ui.resolveWith(f,[i])}});i.ready.then=ui.then;f.readyState!=="complete"&&(f.readyState==="loading"||f.documentElement.doScroll)?(f.addEventListener("DOMContentLoaded",fi),n.addEventListener("load",fi)):n.setTimeout(i.ready);var w=function(n,t,r,f,e,o,s){var h=0,l=n.length,c=r==null;if(rt(r)==="object"){e=!0;for(h in r)w(n,t,h,r[h],!0,o,s)}else if(f!==undefined&&(e=!0,u(f)||(s=!0),c&&(s?(t.call(n,f),t=null):(c=t,t=function(n,t,r){return c.call(i(n),r)})),t))for(;h<l;h++)t(n[h],r,s?f:f.call(n[h],h,t(n[h],r)));return e?n:c?t.call(n):l?t(n[0],r):o},fe=/^-ms-/,ee=/-([a-z])/g;et=function(n){return n.nodeType===1||n.nodeType===9||!+n.nodeType};pt.uid=1;pt.prototype={cache:function(n){var t=n[this.expando];return t||(t={},et(n)&&(n.nodeType?n[this.expando]=t:Object.defineProperty(n,this.expando,{value:t,configurable:!0}))),t},set:function(n,t,i){var r,u=this.cache(n);if(typeof t=="string")u[y(t)]=i;else for(r in t)u[y(r)]=t[r];return u},get:function(n,t){return t===undefined?this.cache(n):n[this.expando]&&n[this.expando][y(t)]},access:function(n,t,i){return t===undefined||t&&typeof t=="string"&&i===undefined?this.get(n,t):(this.set(n,t,i),i!==undefined?i:t)},remove:function(n,t){var u,r=n[this.expando];if(r!==undefined){if(t!==undefined)for(Array.isArray(t)?t=t.map(y):(t=y(t),t=t in r?[t]:t.match(a)||[]),u=t.length;u--;)delete r[t[u]];(t===undefined||i.isEmptyObject(r))&&(n.nodeType?n[this.expando]=undefined:delete n[this.expando])}},hasData:function(n){var t=n[this.expando];return t!==undefined&&!i.isEmptyObject(t)}};var r=new pt,o=new pt,se=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,he=/[A-Z]/g;i.extend({hasData:function(n){return o.hasData(n)||r.hasData(n)},data:function(n,t,i){return o.access(n,t,i)},removeData:function(n,t){o.remove(n,t)},_data:function(n,t,i){return r.access(n,t,i)},_removeData:function(n,t){r.remove(n,t)}});i.fn.extend({data:function(n,t){var f,u,e,i=this[0],s=i&&i.attributes;if(n===undefined){if(this.length&&(e=o.get(i),i.nodeType===1&&!r.get(i,"hasDataAttrs"))){for(f=s.length;f--;)s[f]&&(u=s[f].name,u.indexOf("data-")===0&&(u=y(u.slice(5)),fu(i,u,e[u]))
14);r.set(i,"hasDataAttrs",!0)}return e}return typeof n=="object"?this.each(function(){o.set(this,n)}):w(this,function(t){var r;if(i&&t===undefined)return(r=o.get(i,n),r!==undefined)?r:(r=fu(i,n),r!==undefined)?r:void 0;this.each(function(){o.set(this,n,t)})},null,t,arguments.length>1,null,!0)},removeData:function(n){return this.each(function(){o.remove(this,n)})}});i.extend({queue:function(n,t,u){var f;if(n)return t=(t||"fx")+"queue",f=r.get(n,t),u&&(!f||Array.isArray(u)?f=r.access(n,t,i.makeArray(u)):f.push(u)),f||[]},dequeue:function(n,t){t=t||"fx";var r=i.queue(n,t),e=r.length,u=r.shift(),f=i._queueHooks(n,t),o=function(){i.dequeue(n,t)};u==="inprogress"&&(u=r.shift(),e--);u&&(t==="fx"&&r.unshift("inprogress"),delete f.stop,u.call(n,o,f));!e&&f&&f.empty.fire()},_queueHooks:function(n,t){var u=t+"queueHooks";return r.get(n,u)||r.access(n,u,{empty:i.Callbacks("once memory").add(function(){r.remove(n,[t+"queue",u])})})}});i.fn.extend({queue:function(n,t){var r=2;return(typeof n!="string"&&(t=n,n="fx",r--),arguments.length<r)?i.queue(this[0],n):t===undefined?this:this.each(function(){var r=i.queue(this,n,t);i._queueHooks(this,n);n==="fx"&&r[0]!=="inprogress"&&i.dequeue(this,n)})},dequeue:function(n){return this.each(function(){i.dequeue(this,n)})},clearQueue:function(n){return this.queue(n||"fx",[])},promise:function(n,t){var u,e=1,o=i.Deferred(),f=this,s=this.length,h=function(){--e||o.resolveWith(f,[f])};for(typeof n!="string"&&(t=n,n=undefined),n=n||"fx";s--;)u=r.get(f[s],n+"queueHooks"),u&&u.empty&&(e++,u.empty.add(h));return h(),o.promise(t)}});var eu=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,wt=new RegExp("^(?:([+-])=|)("+eu+")([a-z%]*)$","i"),b=["Top","Right","Bottom","Left"],g=f.documentElement,ot=function(n){return i.contains(n.ownerDocument,n)},le={composed:!0};g.getRootNode&&(ot=function(n){return i.contains(n.ownerDocument,n)||n.getRootNode(le)===n.ownerDocument});bt=function(n,t){return n=t||n,n.style.display==="none"||n.style.display===""&&ot(n)&&i.css(n,"display")==="none"};pi={};i.fn.extend({show:function(){return st(this,!0)},hide:function(){return st(this)},toggle:function(n){return typeof n=="boolean"?n?this.show():this.hide():this.each(function(){bt(this)?i(this).show():i(this).hide()})}});var kt=/^(?:checkbox|radio)$/i,su=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,hu=/^$|^module$|\/(?:java|ecma)script/i;(function(){var i=f.createDocumentFragment(),n=i.appendChild(f.createElement("div")),t=f.createElement("input");t.setAttribute("type","radio");t.setAttribute("checked","checked");t.setAttribute("name","t");n.appendChild(t);e.checkClone=n.cloneNode(!0).cloneNode(!0).lastChild.checked;n.innerHTML="<textarea>x<\/textarea>";e.noCloneChecked=!!n.cloneNode(!0).lastChild.defaultValue;n.innerHTML="<option><\/option>";e.option=!!n.lastChild})();c={thead:[1,"<table>","<\/table>"],col:[2,"<table><colgroup>","<\/colgroup><\/table>"],tr:[2,"<table><tbody>","<\/tbody><\/table>"],td:[3,"<table><tbody><tr>","<\/tr><\/tbody><\/table>"],_default:[0,"",""]};c.tbody=c.tfoot=c.colgroup=c.caption=c.thead;c.th=c.td;e.option||(c.optgroup=c.option=[1,"<select multiple='multiple'>","<\/select>"]);cu=/<|&#?\w+;/;var ve=/^key/,ye=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,au=/^([^.]*)(?:\.(.+)|)/;i.event={global:{},add:function(n,t,u,f,e){var l,v,w,y,b,h,s,c,o,k,d,p=r.get(n);if(et(n))for(u.handler&&(l=u,u=l.handler,e=l.selector),e&&i.find.matchesSelector(g,e),u.guid||(u.guid=i.guid++),(y=p.events)||(y=p.events=Object.create(null)),(v=p.handle)||(v=p.handle=function(t){return typeof i!="undefined"&&i.event.triggered!==t.type?i.event.dispatch.apply(n,arguments):undefined}),t=(t||"").match(a)||[""],b=t.length;b--;)(w=au.exec(t[b])||[],o=d=w[1],k=(w[2]||"").split(".").sort(),o)&&(s=i.event.special[o]||{},o=(e?s.delegateType:s.bindType)||o,s=i.event.special[o]||{},h=i.extend({type:o,origType:d,data:f,handler:u,guid:u.guid,selector:e,needsContext:e&&i.expr.match.needsContext.test(e),namespace:k.join(".")},l),(c=y[o])||(c=y[o]=[],c.delegateCount=0,s.setup&&s.setup.call(n,f,k,v)!==!1||n.addEventListener&&n.addEventListener(o,v)),s.add&&(s.add.call(n,h),h.handler.guid||(h.handler.guid=u.guid
vendor: 1,311 bytes, line 14
14)),e?c.splice(c.delegateCount++,0,h):c.push(h),i.event.global[o]=!0)},remove:function(n,t,u,f,e){var y,k,h,v,p,s,c,l,o,b,d,w=r.hasData(n)&&r.get(n);if(w&&(v=w.events)){for(t=(t||"").match(a)||[""],p=t.length;p--;){if(h=au.exec(t[p])||[],o=d=h[1],b=(h[2]||"").split(".").sort(),!o){for(o in v)i.event.remove(n,o+t[p],u,f,!0);continue}for(c=i.event.special[o]||{},o=(f?c.delegateType:c.bindType)||o,l=v[o]||[],h=h[2]&&new RegExp("(^|\\.)"+b.join("\\.(?:.*\\.|)")+"(\\.|$)"),k=y=l.length;y--;)s=l[y],(e||d===s.origType)&&(!u||u.guid===s.guid)&&(!h||h.test(s.namespace))&&(!f||f===s.selector||f==="**"&&s.selector)&&(l.splice(y,1),s.selector&&l.delegateCount--,c.remove&&c.remove.call(n,s));k&&!l.length&&(c.teardown&&c.teardown.call(n,b,w.handle)!==!1||i.removeEvent(n,o,w.handle),delete v[o])}i.isEmptyObject(v)&&r.remove(n,"handle events")}},dispatch:function(n){var u,c,s,e,f,l,h=new Array(arguments.length),t=i.event.fix(n),a=(r.get(this,"events")||Object.create(null))[t.type]||[],o=i.event.special[t.type]||{};for(h[0]=t,u=1;u<arguments.length;u++)h[u]=arguments[u];if(t.delegateTarget=this,!o.preDispatch||o.preDispatch.call(this,t)!==!1){for(l=i.event.handlers.call(this,t,a),u=0;(e=l[u++])&&!t.isPropagationStopped();)for(t.currentTarget=e.elem,c=0;(f=e.handlers[c++])&&!t.isImmediatePropagationStopped();
14)(!t.rnamespace||f.namespace===!1||t.rnamespace.test(f.namespace))&&(t.handleObj=f,t.data=f.data,s=((i.event.special[f.origType]||{}).handle||f.handler).apply(e.elem,h),s!==undefined&&(t.result=s)===!1&&(t.preventDefault(),t.stopPropagation()));return o.postDispatch&&o.postDispatch.call(this,t),t.result}},handlers:function(n,t){var f,e,u,o,s,c=[],h=t.delegateCount,r=n.target;if(h&&r.nodeType&&!(n.type==="click"&&n.button>=1))for(;r!==this;r=r.parentNode||this)if(r.nodeType===1&&!(n.type==="click"&&r.disabled===!0)){for(o=[],s={},f=0;f<h;f++)e=t[f],u=e.selector+" ",s[u]===undefined&&(s[u]=e.needsContext?i(u,this).index(r)>-1:i.find(u,this,null,[r]).length),s[u]&&o.push(e);o.length&&c.push({elem:r,handlers:o})}return r=this,h<t.length&&c.push({elem:r,handlers:t.slice(h)}),c},addProp:function(n,t){Object.defineProperty(i.Event.prototype,n,{enumerable:!0,configurable:!0,get:u(t)?function(){if(this.originalEvent)return t(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[n]},set:function(t){Object.defineProperty(this,n,{enumerable:!0,configurable:!0,writable:!0,value:t})}})},fix:function(n){return n[i.expando]?n:new i.Event(n)},special:{load:{noBubble:!0},click:{setup:function(n){var t=this||n;return kt.test(t.type)&&t.click&&l(t,"input")&&ei(t,"click",ht),!1},trigger:function(n){var t=this||n;return kt.test(t.type)&&t.click&&l(t,"input")&&ei(t,"click"),!0},_default:function(n){var t=n.target;return kt.test(t.type)&&t.click&&l(t,"input")&&r.get(t,"click")||l(t,"a")}},beforeunload:{postDispatch:function(n){n.result!==undefined&&n.originalEvent&&(n.originalEvent.returnValue=n.result)}}}};i.removeEvent=function(n,t,i){n.removeEventListener&&n.removeEventListener(t,i)};i.Event=function(n,t){if(!(this instanceof i.Event))return new i.Event(n,t);n&&n.type?(this.originalEvent=n,this.type=n.type,this.isDefaultPrevented=n.defaultPrevented||n.defaultPrevented===undefined&&n.returnValue===!1?ht:ct,this.target=n.target&&n.target.nodeType===3?n.target.parentNode:n.target,this.currentTarget=n.currentTarget,this.relatedTarget=n.relatedTarget):this.type=n;t&&i.extend(this,t);this.timeStamp=n&&n.timeStamp||Date.now();this[i.expando]=!0};i.Event.prototype={constructor:i.Event,isDefaultPrevented:ct,isPropagationStopped:ct,isImmediatePropagationStopped:ct,isSimulated:!1,preventDefault:function(){var n=this.originalEvent;this.isDefaultPrevented=ht;n&&!this.isSimulated&&n.preventDefault()},stopPropagation:function(){var n=this.originalEvent;this.isPropagationStopped=ht;n&&!this.isSimulated&&n.stopPropagation()},stopImmediatePropagation:function(){var n=this.originalEvent;this.isImmediatePropagationStopped=ht;n&&!this.isSimulated&&n.stopImmediatePropagation();this.stopPropagation()}};i.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:function(n){var t=n.button;return n.which==null&&ve.test(n.type)?n.charCode!=null?n.charCode:n.keyCode:!n.which&&t!==undefined&&ye.test(n.type)?t&1?1:t&2?3:t&4?2:0:n.which}},i.event.addProp);i.each({focus:"focusin",blur:"focusout"},function(n,t){i.event.special[n]={setup:function(){return ei(this,n,pe),!1},trigger:function(){return ei(this,n),!0},delegateType:t}});
14i.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(n,t){i.event.special[n]={delegateType:t,bindType:t,handle:function(n){var u,f=this,r=n.relatedTarget,e=n.handleObj;return r&&(r===f||i.contains(f,r))||(n.type=e.origType,u=e.handler.apply(this,arguments),n.type=t),u}}});i.fn.extend({on:function(n,t,i,r){return bi(this,n,t,i,r)},one:function(n,t,i,r){return bi(this,n,t,i,r,1)},off:function(n,t,r){var u,f;if(n&&n.preventDefault&&n.handleObj)return u=n.handleObj,i(n.delegateTarget).off(u.namespace?u.origType+"."+u.namespace:u.origType,u.selector,u.handler),this;if(typeof n=="object"){for(f in n)this.off(f,t,n[f]);return this}return(t===!1||typeof t=="function")&&(r=t,t=undefined),r===!1&&(r=ct),this.each(function(){i.event.remove(this,n,r,t)})}});var be=/<script|<style|<link/i,ke=/checked\s*(?:[^=]|=\s*.checked.)/i,de=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;i.extend({htmlPrefilter:function(n){return n},clone:function(n,t,r){var u,c,o,f,h=n.cloneNode(!0),l=ot(n);if(!e.noCloneChecked&&(n.nodeType===1||n.nodeType===11)&&!i.isXMLDoc(n))for(f=s(h),o=s(n),u=0,c=o.length;u<c;u++)to(o[u],f[u]);if(t)if(r)for(o=o||s(n),f=f||s(h),u=0,c=o.length;u<c;u++)yu(o[u],f[u]);else yu(n,h);return f=s(h,"script"),f.length>0&&wi(f,!l&&s(n,"script")),h},cleanData:function(n){for(var u,t,f,s=i.event.special,e=0;(t=n[e])!==undefined;e++)if(et(t)){if(u=t[r.expando]){if(u.events)for(f in u.events)s[f]?i.event.remove(t,f):i.removeEvent(t,f,u.handle);t[r.expando]=undefined}t[o.expando]&&(t[o.expando]=undefined)}}});i.fn.extend({detach:function(n){return pu(this,n,!0)},remove:function(n){return pu(this,n)},text:function(n){return w(this,function(n){return n===undefined?i.text(this):this.empty().each(function(){(this.nodeType===1||this.nodeType===11||this.nodeType===9)&&(this.textContent=n)})},null,n,arguments.length)},append:function(){return lt(this,arguments,function(n){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var t=vu(this,n);t.appendChild(n)}})},prepend:function(){return lt(this,arguments,function(n){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var t=vu(this,n);t.insertBefore(n,t.firstChild)}})},before:function(){return lt(this,arguments,function(n){this.parentNode&&this.parentNode.insertBefore(n,this)})},after:function(){return lt(this,arguments,function(n){this.parentNode&&this.parentNode.insertBefore(n,this.nextSibling)})},empty:function(){for(var n,t=0;(n=this[t])!=null;t++)n.nodeType===1&&(i.cleanData(s(n,!1)),n.textContent="");return this},clone:function(n,t){return n=n==null?!1:n,t=t==null?n:t,this.map(function(){return i.clone(this,n,t)})},html:function(n){return w(this,function(n){var t=this[0]||{},r=0,u=this.length;if(n===undefined&&t.nodeType===1)return t.innerHTML;if(typeof n=="string"&&!be.test(n)&&!c[(su.exec(n)||["",""])[1].toLowerCase()]){n=i.htmlPrefilter(n);try{for(;r<u;r++)t=this[r]||{},t.nodeType===1&&(i.cleanData(s(t,!1)),t.innerHTML=n);t=0}catch(f){}}t&&this.empty().append(n)},null,n,arguments.length)},replaceWith:function(){var n=[];return lt(this,arguments,function(t){var r=this.parentNode;i.inArray(this,n)<0&&(i.cleanData(s(this)),r&&r.replaceChild(t,this))},n)}});i.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(n,t){i.fn[n]=function(n){for(var u,f=[],e=i(n),o=e.length-1,r=0;r<=o;r++)u=r===o?this:this.clone(!0),i(e[r])[t](u),li.apply(f,u.get());return this.pushStack(f)}});var ki=new RegExp("^("+eu+")(?!px)[a-z%]+$","i"),oi=function(t){var i=t.ownerDocument.defaultView;return i&&i.opener||(i=n),i.getComputedStyle(t)},wu=function(n,t,i){var u,r,f={};for(r in t)f[r]=n.style[r],n.style[r]=t[r];u=i.call(n);for(r in t)n.style[r]=f[r];return u},io=new RegExp(b.join("|"),"i");(function(){function r(){if(t){s.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0";t.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%";g.appendChild(s).appendChild(t);var i=n.getComputedStyle(t);h=i.top!=="1%";v=u(i.marginLeft)===12;t.style.right="60%";a=u(i.right)===36;c=u(i.width)===36;t.style.position="absolute";l=u(t.offsetWidth/3)===12;g.removeChild(s);t=null}}function u(n){return Math.round(parseFloat(n))}var h,c,l,a,o,v,s=f.createElement("div"),t=f.createElement("div");t.style&&(t.style.backgroundClip="content-box",t.cloneNode(!0).style.backgroundClip="",e.clearCloneStyle=t.style.backgroundClip==="content-box",i.extend(e,{boxSizingReliable:function(){return r(),c},pixelBoxStyles:function(){return r(),a},pixelPosition:function(){return r(),h},reliableMarginLeft:function(){return r(),v},scrollboxSize:function(){return r(),l},reliableTrDimensions:function(){var t,i,r,u;return o==null&&(t=f.createElement("table"),i=f.createElement("tr"),r=f.createElement("div"),t.style.cssText="position:absolute;
14left:-11111px",i.style.height="1px",r.style.height="9px",g.appendChild(t).appendChild(i).appendChild(r),u=n.getComputedStyle(i),o=parseInt(u.height)>3,g.removeChild(t)),o}}))})();var ku=["Webkit","Moz","ms"],du=f.createElement("div").style,gu={};var uo=/^(none|table(?!-c[ea]).+)/,nf=/^--/,fo={position:"absolute",visibility:"hidden",display:"block"},tf={letterSpacing:"0",fontWeight:"400"};i.extend({cssHooks:{opacity:{get:function(n,t){if(t){var i=dt(n,"opacity");return i===""?"1":i}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(n,t,r,u){if(n&&n.nodeType!==3&&n.nodeType!==8&&n.style){var f,s,o,c=y(t),l=nf.test(t),h=n.style;if(l||(t=di(c)),o=i.cssHooks[t]||i.cssHooks[c],r!==undefined){if(s=typeof r,s==="string"&&(f=wt.exec(r))&&f[1]&&(r=ou(n,t,f),s="number"),r==null||r!==r)return;s!=="number"||l||(r+=f&&f[3]||(i.cssNumber[c]?"":"px"));e.clearCloneStyle||r!==""||t.indexOf("background")!==0||(h[t]="inherit");o&&"set"in o&&(r=o.set(n,r,u))===undefined||(l?h.setProperty(t,r):h[t]=r)}else return o&&"get"in o&&(f=o.get(n,!1,u))!==undefined?f:h[t]}},css:function(n,t,r,u){var f,o,e,s=y(t),h=nf.test(t);return(h||(t=di(s)),e=i.cssHooks[t]||i.cssHooks[s],e&&"get"in e&&(f=e.get(n,!0,r)),f===undefined&&(f=dt(n,t,u)),f==="normal"&&t in tf&&(f=tf[t]),r===""||r)?(o=parseFloat(f),r===!0||isFinite(o)?o||0:f):f}});i.each(["height","width"],function(n,t){i.cssHooks[t]={get:function(n,r,u){if(r)return uo.test(i.css(n,"display"))&&(!n.getClientRects().length||!n.getBoundingClientRect().width)?wu(n,fo,function(){return uf(n,t,u)}):uf(n,t,u)},set:function(n,r,u){var s,f=oi(n),h=!e.scrollboxSize()&&f.position==="absolute",l=h||u,c=l&&i.css(n,"boxSizing",!1,f)==="border-box",o=u?gi(n,t,u,c,f):0;return c&&h&&(o-=Math.ceil(n["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(f[t])-gi(n,t,"border",!1,f)-.5)),o&&(s=wt.exec(r))&&(s[3]||"px")!=="px"&&(n.style[t]=r,r=i.css(n,t)),rf(n,r,o)}}});i.cssHooks.marginLeft=bu(e.reliableMarginLeft,function(n,t){if(t)return(parseFloat(dt(n,"marginLeft"))||n.getBoundingClientRect().left-wu(n,{marginLeft:0},function(){return n.getBoundingClientRect().left}))+"px"});i.each({margin:"",padding:"",border:"Width"},function(n,t){i.cssHooks[n+t]={expand:function(i){for(var r=0,f={},u=typeof i=="string"?i.split(" "):[i];r<4;r++)f[n+b[r]+t]=u[r]||u[r-2]||u[0];return f}};n!=="margin"&&(i.cssHooks[n+t].set=rf)});i.fn.extend({css:function(n,t){return w(this,function(n,t,r){var f,e,o={},u=0;if(Array.isArray(t)){for(f=oi(n),e=t.length;u<e;u++)o[t[u]]=i.css(n,t[u],!1,f);return o}return r!==undefined?i.style(n,t,r):i.css(n,t)},n,t,arguments.length>1)}});i.Tween=h;h.prototype={constructor:h,init:function(n,t,r,u,f,e){this.elem=n;this.prop=r;this.easing=f||i.easing._default;this.options=t;this.start=this.now=this.cur();this.end=u;this.unit=e||(i.cssNumber[r]?"":"px")},cur:function(){var n=h.propHooks[this.prop];return n&&n.get?n.get(this):h.propHooks._default.get(this)},run:function(n){var t,r=h.propHooks[this.prop];return this.pos=this.options.duration?t=i.easing[this.easing](n,this.options.duration*n,0,1,this.options.duration):t=n,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),r&&r.set?r.set(this):h.propHooks._default.set(this),this}};h.prototype.init.prototype=h.prototype;h.propHooks={_default:{get:function(n){var t;return n.elem.nodeType!==1||n.elem[n.prop]!=null&&n.elem.style[n.prop]==null?n.elem[n.prop]:(t=i.css(n.elem,n.prop,""),!t||t==="auto"?0:t)},set:function(n){i.fx.step[n.prop]?i.fx.step[n.prop](n):n.elem.nodeType===1&&(i.cssHooks[n.prop]||n.elem.style[di(n.prop)]!=null)?i.style(n.elem,n.prop,n.now+n.unit):n.elem[n.prop]=n.now}}};h.propHooks.scrollTop=h.propHooks.scrollLeft={set:function(n){n.elem.nodeType&&n.elem.parentNode&&(n.elem[n.prop]=n.now)}};i.easing={linear:function(n){return n},swing:function(n){return.5-Math.cos(n*Math.PI)/2},_default:"swing"};i.fx=h.prototype.init;i.fx.step={};ff=/^(?:toggle|show|hide)$/;ef=/queueHooks$/;i.Animation=i.extend(v,{tweeners:{"*":[function(n,t){var i=this.createTween(n,t);return ou(i.elem,n,wt.exec(t),i),i}]},tweener:function(n,t){u(n)?(t=n,n=["*"]):n=n.match(a);for(var i,r=0,f=n.length;r<f;
14r++)i=n[r],v.tweeners[i]=v.tweeners[i]||[],v.tweeners[i].unshift(t)},prefilters:[eo],prefilter:function(n,t){t?v.prefilters.unshift(n):v.prefilters.push(n)}});i.speed=function(n,t,r){var f=n&&typeof n=="object"?i.extend({},n):{complete:r||!r&&t||u(n)&&n,duration:n,easing:r&&t||t&&!u(t)&&t};return i.fx.off?f.duration=0:typeof f.duration!="number"&&(f.duration=f.duration in i.fx.speeds?i.fx.speeds[f.duration]:i.fx.speeds._default),(f.queue==null||f.queue===!0)&&(f.queue="fx"),f.old=f.complete,f.complete=function(){u(f.old)&&f.old.call(this);f.queue&&i.dequeue(this,f.queue)},f};i.fn.extend({fadeTo:function(n,t,i,r){return this.filter(bt).css("opacity",0).show().end().animate({opacity:t},n,i,r)},animate:function(n,t,u,f){var s=i.isEmptyObject(n),o=i.speed(t,u,f),e=function(){var t=v(this,i.extend({},n),o);(s||r.get(this,"finish"))&&t.stop(!0)};return e.finish=e,s||o.queue===!1?this.each(e):this.queue(o.queue,e)},stop:function(n,t,u){var f=function(n){var t=n.stop;delete n.stop;t(u)};return typeof n!="string"&&(u=t,t=n,n=undefined),t&&this.queue(n||"fx",[]),this.each(function(){var s=!0,t=n!=null&&n+"queueHooks",o=i.timers,e=r.get(this);if(t)e[t]&&e[t].stop&&f(e[t]);else for(t in e)e[t]&&e[t].stop&&ef.test(t)&&f(e[t]);for(t=o.length;t--;)o[t].elem===this&&(n==null||o[t].queue===n)&&(o[t].anim.stop(u),s=!1,o.splice(t,1));(s||!u)&&i.dequeue(this,n)})},finish:function(n){return n!==!1&&(n=n||"fx"),this.each(function(){var t,e=r.get(this),u=e[n+"queue"],o=e[n+"queueHooks"],f=i.timers,s=u?u.length:0;for(e.finish=!0,i.queue(this,n,[]),o&&o.stop&&o.stop.call(this,!0),t=f.length;t--;)f[t].elem===this&&f[t].queue===n&&(f[t].anim.stop(!0),f.splice(t,1));for(t=0;t<s;t++)u[t]&&u[t].finish&&u[t].finish.call(this);delete e.finish})}});i.each(["toggle","show","hide"],function(n,t){var r=i.fn[t];i.fn[t]=function(n,i,u){return n==null||typeof n=="boolean"?r.apply(this,arguments):this.animate(hi(t,!0),n,i,u)}});i.each({slideDown:hi("show"),slideUp:hi("hide"),slideToggle:hi("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(n,t){i.fn[n]=function(n,i,r){return this.animate(t,n,i,r)}});i.timers=[];i.fx.tick=function(){var r,n=0,t=i.timers;for(at=Date.now();n<t.length;n++)r=t[n],r()||t[n]!==r||t.splice(n--,1);t.length||i.fx.stop();at=undefined};i.fx.timer=function(n){i.timers.push(n);i.fx.start()};i.fx.interval=13;i.fx.start=function(){si||(si=!0,nr())};i.fx.stop=function(){si=null};i.fx.speeds={slow:600,fast:200,_default:400};i.fn.delay=function(t,r){return t=i.fx?i.fx.speeds[t]||t:t,r=r||"fx",this.queue(r,function(i,r){var u=n.setTimeout(i,t);r.stop=function(){n.clearTimeout(u)}})},function(){var n=f.createElement("input"),t=f.createElement("select"),i=t.appendChild(f.createElement("option"));n.type="checkbox";e.checkOn=n.value!=="";e.optSelected=i.selected;n=f.createElement("input");n.value="t";n.type="radio";e.radioValue=n.value==="t"}();vt=i.expr.attrHandle;i.fn.extend({attr:function(n,t){return w(this,i.attr,n,t,arguments.length>1)},removeAttr:function(n){return this.each(function(){i.removeAttr(this,n)})}});i.extend({attr:function(n,t,r){var u,f,e=n.nodeType;if(e!==3&&e!==8&&e!==2){if(typeof n.getAttribute=="undefined")return i.prop(n,t,r);if(e===1&&i.isXMLDoc(n)||(f=i.attrHooks[t.toLowerCase()]||(i.expr.match.bool.test(t)?hf:undefined)),r!==undefined){if(r===null){i.removeAttr(n,t);return}return f&&"set"in f&&(u=f.set(n,r,t))!==undefined?u:(n.setAttribute(t,r+""),r)}return f&&"get"in f&&(u=f.get(n,t))!==null?u:(u=i.find.attr(n,t),u==null?undefined:u)}},attrHooks:{type:{set:function(n,t){if(!e.radioValue&&t==="radio"&&l(n,"input")){var i=n.value;return n.setAttribute("type",t),i&&(n.value=i),t}}}},removeAttr:function(n,t){var i,u=0,r=t&&t.match(a);if(r&&n.nodeType===1)while(i=r[u++])n.removeAttribute(i)}});hf={set:function(n,t,r){return t===!1?i.removeAttr(n,r):n.setAttribute(r,r),r}};i.each(i.expr.match.bool.source.match(/\w+/g),function(n,t){var r=vt[t]||i.find.attr;vt[t]=function(n,t,i){var f,e,u=t.toLowerCase();return i||(e=vt[u],vt[u]=f,f=r(n,t,i)!=null?u:null,vt[u]=e),f}});cf=/^(?:input|select|textarea|button)$/i;lf=/^(?:a|area)$/i;i.fn.extend({prop:function(n,t){return w(this,i.prop,n,t,arguments.length>1)},removeProp:function(n){return this.each(function(){delete this[i.propFix[n]||n]})}});i.extend({prop:function(n,t,r){var f,u,e=n.nodeType;if(e!==3&&e!==8&&e!==2)return(e===1&&i.isXMLDoc(n)||(t=i.propFix[t]||t,u=i.propHooks[t]),r!==undefined)?u&&"set"in u&&(f=u.set(n,r,t))!==undefined?f:n[t]=r:u&&"get"in u&&(f=u.get(n,t))!==null?f:n[t]},propHooks:{tabIndex:{get:function(n){var t=i.find.attr(n,"tabindex");return t?parseInt(t,10):cf.test(n.nodeName)||lf.test(n.nodeName)&&n.href?0:-1}}},propFix:{"for":"htmlFor","class":"className"}});e.optSelected||(i.propHooks.selected={get:function(n){var t=n.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(n){var t=n.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}});i.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){i.propFix[this.toLowerCase()]=this});i.fn.extend({addClass:function(n){var f,r,t,e,o,h,s,c=0;if(u(n))return this.each(function(t){i(this).addClass(n.call(this,t,tt(this)))});if(f=tr(n),f.length)while(r=this[c++])if(e=tt(r),t=r.nodeType===1&&" "+nt(e)+" ",t){for(h=0;o=f[h++];)t.indexOf(" "+o+" ")<0&&(t+=o+" ");s=nt(t);e!==s&&r.setAttribute("class",s)}return this},removeClass:function(n){var f,r,t,e,o,h,s,c=0;if(u(n))return this.each(function(t){i(this).removeClass(n.call(this,t,tt(this)))});if(!arguments.length)return this.attr("class","");if(f=tr(n),f.length)while(r=this[c++])if(e=tt(r),t=r.nodeType===1&&" "+nt(e)+" ",t){for(h=0;o=f[h++];)while(t.indexOf(" "+o+" ")>-1)t=t.replace(" "+o+" "," ");s=nt(t);e!==s&&r.setAttribute("class",s)}return this},toggleClass:function(n,t){var f=typeof n,e=f==="string"||Array.isArray(n);return typeof t=="boolean"&&e?t?this.addClass(n):this.removeClass(n):u(n)?this.each(function(r){i(this).toggleClass(n.call(this,r,tt(this),t),t)}):this.each(function(){var t,o,u,s;if(e)for(o=0,u=i(this),s=tr(n);t=s[o++];)u.hasClass(t)?u.removeClass(t):u.addClass(t);else(n===undefined||f==="boolean")&&(t=tt(this),t&&r.set(this,"__className__",t),this.setAttribute&&this.setAttribute("class",t||n===!1?"":r.get(this,"__className__")||""))})},hasClass:function(n){for(var t,r=0,i=" "+n+" ";t=this[r++];)if(t.nodeType===1&&(" "+nt(tt(t))+" ").indexOf(i)>-1)return!0;return!1}});af=/\r/g;i.fn.extend({val:function(n){var t,r,e,f=this[0];return arguments.length?(e=u(n),this.each(function(r){var u;this.nodeType===1&&(u=e?n.call(this,r,i(this).val()):n,u==null?u="":typeof u=="number"?u+="":Array.isArray(u)&&(u=i.map(u,function(n){return n==null?"":n+""})),t=i.valHooks[this.type]||i.valHooks[this.nodeName.toLowerCase()],t&&"set"in t&&t.set(this,u,"value")!==undefined||(this.value=u))})):f?(t=i.valHooks[f.type]||i.valHooks[f.nodeName.toLowerCase()],t&&"get"in t&&(r=t.get(f,"value"))!==undefined)?r:(r=f.value,typeof r=="string")?r.replace(af,""):r==null?"":r:void 0}});i.extend({valHooks:{option:{get:function(n){var t=i.find.attr(n,"value");return t!=null?t:nt(i.text(n))}},select:{get:function(n){for(var e,t,o=n.options,u=n.selectedIndex,f=n.type==="select-one",s=f?null:[],h=f?u+1:o.length,r=u<0?h:f?u:0;r<h;r++)if(t=o[r],(t.selected||r===u)&&!t.disabled&&(!t.parentNode.disabled||!l(t.parentNode,"optgroup"))){if(e=i(t).val(),f)return e;s.push(e)}return s},set:function(n,t){for(var u,r,f=n.options,e=i.makeArray(t),o=f.length;o--;)r=f[o],(r.selected=i.inArray(i.valHooks.option.get(r),e)>-1)&&(u=!0);return u||(n.selectedIndex=-1),e}}}});i.each(["radio","checkbox"],function(){i.valHooks[this]={set:function(n,t){if(Array.isArray(t))return n.checked=i.inArray(i(n).val(),t)>-1}};e.checkOn||(i.valHooks[this].get=function(n){return n.getAttribute("value")===null?"on":n.value})});e.focusin="onfocusin"in n;ir=/^(?:focusinfocus|focusoutblur)$/;rr=function(n){n.stopPropagation()};i.extend(i.event,{trigger:function(t,e,o,s){var k,c,l,d,v,y,a,w,b=[o||f],h=ii.call(t,"type")?t.type:t,p=ii.call(t,"namespace")?t.namespace.split("."):[];if((c=w=l=o=o||f,o.nodeType!==3&&o.nodeType!==8)&&!ir.test(h+i.event.triggered)&&(h.indexOf(".")>-1&&(p=h.split("."),h=p.shift(),p.sort()),v=h.indexOf(":")<0&&"on"+h,t=t[i.expando]?t:new i.Event(h,typeof t=="object"&&t),t.isTrigger=s?2:3,t.namespace=p.join("."),t.rnamespace=t.namespace?new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=undefined,t.target||(t.target=
14o),e=e==null?[t]:i.makeArray(e,[t]),a=i.event.special[h]||{},s||!a.trigger||a.trigger.apply(o,e)!==!1)){if(!s&&!a.noBubble&&!it(o)){for(d=a.delegateType||h,ir.test(d+h)||(c=c.parentNode);c;c=c.parentNode)b.push(c),l=c;l===(o.ownerDocument||f)&&b.push(l.defaultView||l.parentWindow||n)}for(k=0;(c=b[k++])&&!t.isPropagationStopped();)w=c,t.type=k>1?d:a.bindType||h,y=(r.get(c,"events")||Object.create(null))[t.type]&&r.get(c,"handle"),y&&y.apply(c,e),y=v&&c[v],y&&y.apply&&et(c)&&(t.result=y.apply(c,e),t.result===!1&&t.preventDefault());return t.type=h,s||t.isDefaultPrevented()||(!a._default||a._default.apply(b.pop(),e)===!1)&&et(o)&&v&&u(o[h])&&!it(o)&&(l=o[v],l&&(o[v]=null),i.event.triggered=h,t.isPropagationStopped()&&w.addEventListener(h,rr),o[h](),t.isPropagationStopped()&&w.removeEventListener(h,rr),i.event.triggered=undefined,l&&(o[v]=l)),t.result}},simulate:function(n,t,r){var u=i.extend(new i.Event,r,{type:n,isSimulated:!0});i.event.trigger(u,null,t)}});i.fn.extend({trigger:function(n,t){return this.each(function(){i.event.trigger(n,t,this)})},triggerHandler:function(n,t){var r=this[0];if(r)return i.event.trigger(n,t,r,!0)}});e.focusin||i.each({focus:"focusin",blur:"focusout"},function(n,t){var u=function(n){i.event.simulate(t,n.target,i.event.fix(n))};i.event.special[t]={setup:function(){var i=this.ownerDocument||this.document||this,f=r.access(i,t);f||i.addEventListener(n,u,!0);r.access(i,t,(f||0)+1)},teardown:function(){var i=this.ownerDocument||this.document||this,f=r.access(i,t)-1;f?r.access(i,t,f):(i.removeEventListener(n,u,!0),r.remove(i,t))}}});var gt=n.location,vf={guid:Date.now()},ur=/\?/;i.parseXML=function(t){var r;if(!t||typeof t!="string")return null;try{r=(new n.DOMParser).parseFromString(t,"text/xml")}catch(u){r=undefined}return(!r||r.getElementsByTagName("parsererror").length)&&i.error("Invalid XML: "+t),r};var so=/\[\]$/,yf=/\r?\n/g,ho=/^(?:submit|button|image|reset|file)$/i,co=/^(?:input|select|textarea|keygen)/i;i.param=function(n,t){var r,f=[],e=function(n,t){var i=u(t)?t():t;f[f.length]=encodeURIComponent(n)+"="+encodeURIComponent(i==null?"":i)};if(n==null)return"";if(Array.isArray(n)||n.jquery&&!i.isPlainObject(n))i.each(n,function(){e(this.name,this.value)});else for(r in n)fr(r,n[r],t,e);return f.join("&")};i.fn.extend({serialize:function(){return i.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var n=i.prop(this,"elements");return n?i.makeArray(n):this}).filter(function(){var n=this.type;return this.name&&!i(this).is(":disabled")&&co.test(this.nodeName)&&!ho.test(n)&&(this.checked||!kt.test(n))}).map(function(n,t){var r=i(this).val();return r==null?null:Array.isArray(r)?i.map(r,function(n){return{name:t.name,value:n.replace(yf,"\r\n")}}):{name:t.name,value:r.replace(yf,"\r\n")}}).get()}});var lo=/%20/g,ao=/#.*$/,vo=/([?&])_=[^&]*/,yo=/^(.*?):[ \t]*([^\r\n]*)$/mg,po=/^(?:GET|HEAD)$/,wo=/^\/\//,pf={},er={},wf="*/".concat("*"),or=f.createElement("a");return or.href=gt.href,i.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:gt.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(gt.protocol),global:!0,processData:!0,"async":!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":wf,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":i.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(n,t){return t?sr(sr(n,i.ajaxSettings),t):sr(i.ajaxSettings,n)},ajaxPrefilter:bf(pf),ajaxTransport:bf(er),ajax:function(t,r){function b(t,r,f,l){var v,rt,g,p,b,a=r;s||(s=!0,d&&n.clearTimeout(d),c=undefined,k=l||"",e.readyState=t>0?4:0,v=t>=200&&t<300||t===304,f&&(p=bo(u,e,f)),!v&&i.inArray("script",u.dataTypes)>-1&&(u.converters["text script"]=function(){}),p=ko(u,p,e,v),v?(u.ifModified&&(b=e.getResponseHeader("Last-Modified"),b&&(i.lastModified[o]=b),b=e.getResponseHeader("etag"),b&&(i.etag[o]=b)),t===204||u.type==="HEAD"?a="nocontent":t===304?a="notmodified":(a=p.state,rt=p.data,g=p.error,v=!g)):(g=a,(t||!a)&&
vendor: 2,255 bytes, line 14
14(a="error",t<0&&(t=0))),e.status=t,e.statusText=(r||a)+"",v?tt.resolveWith(h,[rt,a,e]):tt.rejectWith(h,[e,a,g]),e.statusCode(w),w=undefined,y&&nt.trigger(v?"ajaxSuccess":"ajaxError",[e,u,v?rt:g]),it.fireWith(h,[e,a]),y&&(nt.trigger("ajaxComplete",[e,u]),--i.active||i.event.trigger("ajaxStop")))}typeof t=="object"&&(r=t,t=undefined);r=r||{};var c,o,k,v,d,l,s,y,g,p,u=i.ajaxSetup({},r),h=u.context||u,nt=u.context&&(h.nodeType||h.jquery)?i(h):i.event,tt=i.Deferred(),it=i.Callbacks("once memory"),w=u.statusCode||{},rt={},ut={},ft="canceled",e={readyState:0,getResponseHeader:function(n){var t;if(s){if(!v)for(v={};t=yo.exec(k);)v[t[1].toLowerCase()+" "]=(v[t[1].toLowerCase()+" "]||[]).concat(t[2]);t=v[n.toLowerCase()+" "]}return t==null?null:t.join(", ")},getAllResponseHeaders:function(){return s?k:null},setRequestHeader:function(n,t){return s==null&&(n=ut[n.toLowerCase()]=ut[n.toLowerCase()]||n,rt[n]=t),this},overrideMimeType:function(n){return s==null&&(u.mimeType=n),this},statusCode:function(n){var t;if(n)if(s)e.always(n[e.status]);else for(t in n)w[t]=[w[t],n[t]];return this},abort:function(n){var t=n||ft;return c&&c.abort(t),b(0,t),this}};if(tt.promise(e),u.url=((t||u.url||gt.href)+"").replace(wo,gt.protocol+"//"),u.type=r.method||r.type||u.method||u.type,u.dataTypes=(u.dataType||"*").toLowerCase().match(a)||[""],u.crossDomain==null){l=f.createElement("a");try{l.href=u.url;l.href=l.href;u.crossDomain=or.protocol+"//"+or.host!=l.protocol+"//"+l.host}catch(et){u.crossDomain=!0}}if(u.data&&u.processData&&typeof u.data!="string"&&(u.data=i.param(u.data,u.traditional)),kf(pf,u,r,e),s)return e;y=i.event&&u.global;y&&i.active++==0&&i.event.trigger("ajaxStart");u.type=u.type.toUpperCase();u.hasContent=!po.test(u.type);o=u.url.replace(ao,"");u.hasContent?u.data&&u.processData&&(u.contentType||"").indexOf("application/x-www-form-urlencoded")===0&&(u.data=u.data.replace(lo,"+")):(p=u.url.slice(o.length),u.data&&(u.processData||typeof u.data=="string")&&(o+=(ur.test(o)?"&":"?")+u.data,delete u.data),u.cache===!1&&(o=o.replace(vo,"$1"),p=(ur.test(o)?"&":"?")+"_="+vf.guid+++p),u.url=o+p);u.ifModified&&(i.lastModified[o]&&e.setRequestHeader("If-Modified-Since",i.lastModified[o]),i.etag[o]&&e.setRequestHeader("If-None-Match",i.etag[o
14]));(u.data&&u.hasContent&&u.contentType!==!1||r.contentType)&&e.setRequestHeader("Content-Type",u.contentType);e.setRequestHeader("Accept",u.dataTypes[0]&&u.accepts[u.dataTypes[0]]?u.accepts[u.dataTypes[0]]+(u.dataTypes[0]!=="*"?", "+wf+"; q=0.01":""):u.accepts["*"]);for(g in u.headers)e.setRequestHeader(g,u.headers[g]);if(u.beforeSend&&(u.beforeSend.call(h,e,u)===!1||s))return e.abort();if(ft="abort",it.add(u.complete),e.done(u.success),e.fail(u.error),c=kf(er,u,r,e),c){if(e.readyState=1,y&&nt.trigger("ajaxSend",[e,u]),s)return e;u.async&&u.timeout>0&&(d=n.setTimeout(function(){e.abort("timeout")},u.timeout));try{s=!1;c.send(rt,b)}catch(et){if(s)throw et;b(-1,et)}}else b(-1,"No Transport");return e},getJSON:function(n,t,r){return i.get(n,t,r,"json")},getScript:function(n,t){return i.get(n,undefined,t,"script")}}),i.each(["get","post"],function(n,t){i[t]=function(n,r,f,e){return u(r)&&(e=e||f,f=r,r=undefined),i.ajax(i.extend({url:n,type:t,dataType:e,data:r,success:f},i.isPlainObject(n)&&n))}}),i.ajaxPrefilter(function(n){for(var t in n.headers)t.toLowerCase()==="content-type"&&(n.contentType=n.headers[t]||"")}),i._evalUrl=function(n,t,r){return i.ajax({url:n,type:"GET",dataType:"script",cache:!0,"async":!1,global:!1,converters:{"text script":function(){}},dataFilter:function(n){i.globalEval(n,t,r)}})},i.fn.extend({wrapAll:function(n){var t;return this[0]&&(u(n)&&(n=n.call(this[0])),t=i(n,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var n=this;n.firstElementChild;)n=n.firstElementChild;return n}).append(this)),this},wrapInner:function(n){return u(n)?this.each(function(t){i(this).wrapInner(n.call(this,t))}):this.each(function(){var t=i(this),r=t.contents();r.length?r.wrapAll(n):t.append(n)})},wrap:function(n){var t=u(n);return this.each(function(r){i(this).wrapAll(t?n.call(this,r):n)})},unwrap:function(n){return this.parent(n).not("body").each(function(){i(this).replaceWith(this.childNodes)}),this}}),i.expr.pseudos.hidden=function(n){return!i.expr.pseudos.visible(n)},i.expr.pseudos.visible=function(n){return!!(n.offsetWidth||n.offsetHeight||n.getClientRects().length)},i.ajaxSettings.xhr=function(){try{return new n.XMLHttpRequest}catch(t){}},df={0:200,1223:204},yt=i.ajaxSettings.xhr(),e.cors=!!yt&&"withCredentials"in yt,e.ajax=yt=!!yt,i.ajaxTransport(function(t){var i,r;if(e.cors||yt&&!t.crossDomain)return{send:function(u,f){var o,e=t.xhr();if(e.open(t.type,t.url,t.async,t.username,t.password),t.xhrFields)for(o in t.xhrFields)e[o]=t.xhrFields[o];t.mimeType&&e.overrideMimeType&&e.overrideMimeType(t.mimeType);t.crossDomain||u["X-Requested-With"]||(u["X-Requested-With"]="XMLHttpRequest");for(o in u)e.setRequestHeader(o,u[o]);i=function(n){return function(){i&&(i=r=e.onload=e.onerror=e.onabort=e.ontimeout=e.onreadystatechange=null,n==="abort"?e.abort():n==="error"?typeof e.status!="number"?f(0,"error"):f(e.status,e.statusText):f(df[e.status]||e.status,e.statusText,(e.responseType||"text")!=="text"||typeof e.responseText!="string"?{binary:e.response}:{text:e.responseText},e.getAllResponseHeaders()))}};e.onload=i();r=e.onerror=e.ontimeout=i("error");e.onabort!==undefined?e.onabort=r:e.onreadystatechange=function(){e.readyState===4&&n.setTimeout(function(){i&&r()})};i=i("abort");try{e.send(t.hasContent&&t.data||null)}catch(s){if(i)throw s;}},abort:function(){i&&i()}}}),i.ajaxPrefilter(function(n){n.crossDomain&&(n.contents.script=!1)}),i.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(n){return i.globalEval(n),n}}}),i.ajaxPrefilter("script",function(n){n.cache===undefined&&(n.cache=!1);n.crossDomain&&(n.type="GET")}),i.ajaxTransport("script",function(n){if(n.crossDomain||n.scriptAttrs){var r,t;return{send:function(u,e){r=i("<script>").attr(n.scriptAttrs||{}).prop({charset:n.scriptCharset,src:n.url}).on("load error",t=function(n){r.remove();t=null;n&&e(n.type==="error"?404:200,n.type)});f.head.appendChild(r[0])},abort:function(){t&&t()}}}}),hr=[],ci=/(=)\?(?=&|$)|\?\?/,i.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var n=hr.pop()||i.expando+"_"+vf.guid++;return this[n]=!0,n}}),i.ajaxPrefilter("json jsonp",function(t,r,f){var e,o,s,h=t.jsonp!==!1&&(ci.test(t.url)?"url":typeof t.data=="str
14ing"&&(t.contentType||"").indexOf("application/x-www-form-urlencoded")===0&&ci.test(t.data)&&"data");if(h||t.dataTypes[0]==="jsonp")return e=t.jsonpCallback=u(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,h?t[h]=t[h].replace(ci,"$1"+e):t.jsonp!==!1&&(t.url+=(ur.test(t.url)?"&":"?")+t.jsonp+"="+e),t.converters["script json"]=function(){return s||i.error(e+" was not called"),s[0]},t.dataTypes[0]="json",o=n[e],n[e]=function(){s=arguments},f.always(function(){o===undefined?i(n).removeProp(e):n[e]=o;t[e]&&(t.jsonpCallback=r.jsonpCallback,hr.push(e));s&&u(o)&&o(s[0]);s=o=undefined}),"script"}),e.createHTMLDocument=function(){var n=f.implementation.createHTMLDocument("").body;return n.innerHTML="<form><\/form><form><\/form>",n.childNodes.length===2}(),i.parseHTML=function(n,t,r){if(typeof n!="string")return[];typeof t=="boolean"&&(r=t,t=!1);var s,u,o;return(t||(e.createHTMLDocument?(t=f.implementation.createHTMLDocument(""),s=t.createElement("base"),s.href=f.location.href,t.head.appendChild(s)):t=f),u=vi.exec(n),o=!r&&[],u)?[t.createElement(u[1])]:(u=lu([n],t,o),o&&o.length&&i(o).remove(),i.merge([],u.childNodes))},i.fn.load=function(n,t,r){var f,s,h,e=this,o=n.indexOf(" ");return o>-1&&(f=nt(n.slice(o)),n=n.slice(0,o)),u(t)?(r=t,t=undefined):t&&typeof t=="object"&&(s="POST"),e.length>0&&i.ajax({url:n,type:s||"GET",dataType:"html",data:t}).done(function(n){h=arguments;e.html(f?i("<div>").append(i.parseHTML(n)).find(f):n)}).always(r&&function(n,t){e.each(function(){r.apply(this,h||[n.responseText,t,n])})}),this},i.expr.pseudos.animated=function(n){return i.grep(i.timers,function(t){return n===t.elem}).length},i.offset={setOffset:function(n,t,r){var o,s,h,c,e,l,y,a=i.css(n,"position"),v=i(n),f={};a==="static"&&(n.style.position="relative");e=v.offset();h=i.css(n,"top");l=i.css(n,"left");y=(a==="absolute"||a==="fixed")&&(h+l).indexOf("auto")>-1;y?(o=v.position(),c=o.top,s=o.left):(c=parseFloat(h)||0,s=parseFloat(l)||0);u(t)&&(t=t.call(n,r,i.extend({},e)));t.top!=null&&(f.top=t.top-e.top+c);t.left!=null&&(f.left=t.left-e.left+s);"using"in t?t.using.call(n,f):(typeof f.top=="number"&&(f.top+="px"),typeof f.left=="number"&&(f.left+="px"),v.css(f))}},i.fn.extend({offset:function(n){if(arguments.length)return n===undefined?this:this.each(function(t){i.offset.setOffset(this,n,t)});var r,u,t=this[0];if(t)return t.getClientRects().length?(r=t.getBoundingClientRect(),u=t.ownerDocument.defaultView,{top:r.top+u.pageYOffset,left:r.left+u.pageXOffset}):{top:0,left:0}},position:function(){if(this[0]){var n,u,f,t=this[0],r={top:0,left:0};if(i.css(t,"position")==="fixed")u=t.getBoundingClientRect();else{for(u=this.offset(),f=t.ownerDocument,n=t.offsetParent||f.documentElement;n&&(n===f.body||n===f.documentElement)&&i.css(n,"position")==="static";)n=n.parentNode;n&&n!==t&&n.nodeType===1&&(r=i(n).offset(),r.top+=i.css(n,"borderTopWidth",!0),r.left+=i.css(n,"borderLeftWidth",!0))}return{top:u.top-r.top-i.css(t,"marginTop",!0),left:u.left-r.left-i.css(t,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var n=this.offsetParent;n&&i.css(n,"position")==="static";)n=n.offsetParent;return n||g})}}),i.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(n,t){var r="pageYOffset"===t;i.fn[n]=function(i){return w(this,function(n,i,u){var f;if(it(n)?f=n:n.nodeType===9&&(f=n.defaultView),u===undefined)return f?f[t]:n[i];f?f.scrollTo(r?f.pageXOffset:u,r?u:f.pageYOffset):n[i]=u},n,i,arguments.length)}}),i.each(["top","left"],function(n,t){i.cssHooks[t]=bu(e.pixelPosition,function(n,r){if(r)return r=dt(n,t),ki.test(r)?i(n).position()[t]+"px":r})}),i.each({Height:"height",Width:"width"},function(n,t){i.each({padding:"inner"+n,content:t,"":"outer"+n},function(r,u){i.fn[u]=function(f,e){var o=arguments.length&&(r||typeof f!="boolean"),s=r||(f===!0||e===!0?"margin":"border");return w(this,function(t,r,f){var e;return it(t)?u.indexOf("outer")===0?t["inner"+n]:t.document.documentElement["client"+n]:t.nodeType===9?(e=t.documentElement,Math.max(t.body["scroll"+n],e["scroll"+n],t.body["offset"+n],e["offset"+n],e["client"+n])):f===undefined?i.css(t,r,s):i.style(t,r,f,s)},t,o?f:undefined,o)}})}),i.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(n,t){i.fn[t]=function(n){return this.on(t,n)}}),i.fn.extend({bind:function(n,t,i){return this.on(n,null,t,i)},unbind:function(n,t){return this.off(n,null,t)},delegate:function(n,t,i,r){return this.on(t,n,i,r)},undelegate:function(n,t,i){return arguments.length===1?this.off(n,"**"):this.off(t,n||"**",i)},hover:function(n,t){return this.mouseenter(n).mouseleave(t||n)}}),i.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(n,t){i.fn[t]=function(n,i){return arguments.length>0?this.on(t,null,n,i):this.trigger(t)}}),gf=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,i.proxy=function(n,t){var f,e,r;return(typeof t=="string"&&(f=n[t],t=n,n=f),!u(n))?undefined:(e=k.call(arguments,2),r=function(){return n.apply(t||this,e.concat(k.call(arguments)))},r.guid=n.guid=n.guid||i.guid++,r)},i.holdReady=function(n){n?i.readyWait++:i.ready(!0)},i.isArray=Array.isArray,i.parseJSON=JSON.parse,i.nodeName=l,i.isFunction=u,i.isWindow=it,i.c
14amelCase=y,i.type=rt,i.now=Date.now,i.isNumeric=function(n){var t=i.type(n);return(t==="number"||t==="string")&&!isNaN(n-parseFloat(n))},i.trim=function(n){return n==null?"":(n+"").replace(gf,"")},typeof define=="function"&&define.amd&&define("jquery",[],function(){return i}),ne=n.jQuery,te=n.$,i.noConflict=function(t){return n.$===i&&(n.$=te),t&&n.jQuery===i&&(n.jQuery=ne),i},typeof t=="undefined"&&(n.jQuery=n.$=i),i});
15/*!
16 * jQuery Migrate - v3.3.0 - 2020-05-05T01:57Z
17 * Copyright OpenJS Foundation and other contributors
18 */
19(function(n){"use strict";typeof define=="function"&&define.amd?define(["jquery"],function(t){return n(t,window)}):typeof module=="object"&&module.exports?module.exports=n(require("jquery"),window):n(jQuery,window)})(function(n,t){"use strict";function et(n,t){for(var r=/^(\d+)\.(\d+)\.(\d+)/,u=r.exec(n)||[],f=r.exec(t)||[],i=1;i<=3;i++){if(+u[i]>+f[i])return 1;if(+u[i]<+f[i])return-1}return 0}function u(t){return et(n.fn.jquery,t)>=0}function i(i){var r=t.console;n.migrateDeduplicateWarnings&&e[i]||(e[i]=!0,n.migrateWarnings.push(i),r&&r.warn&&!n.migrateMute&&(r.warn("JQMIGRATE: "+i),n.migrateTrace&&r.trace&&r.trace()))}function h(n,t,r,u){Object.defineProperty(n,t,{configurable:!0,enumerable:!0,get:function(){return i(u),r},set:function(n){i(u);r=n}})}function r(n,t,r,u){n[t]=function(){return i(u),r.apply(this,arguments)}}function c(n){return n.replace(/-([a-z])/g,function(n,t){return t.toUpperCase()})}function wt(n){return yt.test(n)&&pt.test(n[0].toUpperCase()+n.slice(1))}var e,w,f,a,v,k,d,it,rt,ut,y,ft;n.migrateVersion="3.3.0",function(){t.console&&t.console.log&&(n&&u("3.0.0")||t.console.log("JQMIGRATE: jQuery 3.0.0+ REQUIRED"),n.migrateWarnings&&t.console.log("JQMIGRATE: Migrate plugin loaded multiple times"),t.console.log("JQMIGRATE: Migrate is installed"+(n.migrateMute?"":" with logging active")+", version "+n.migrateVersion))}();e={};n.migrateDeduplicateWarnings=!0;n.migrateWarnings=[];n.migrateTrace===undefined&&(n.migrateTrace=!0);n.migrateReset=function(){e={};n.migrateWarnings.length=0};t.document.compatMode==="BackCompat"&&i("jQuery is not compatible with Quirks Mode");var o,p={},ot=n.fn.init,s=n.find,st=/\[(\s*[-\w]+\s*)([~|^$*]?=)\s*([-\w#]*?#[-\w#]*)\s*\]/,ht=/\[(\s*[-\w]+\s*)([~|^$*]?=)\s*([-\w#]*?#[-\w#]*)\s*\]/g,ct=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;n.fn.init=function(n){var t=Array.prototype.slice.call(arguments);return typeof n=="string"&&n==="#"&&(i("jQuery( '#' ) is not a valid selector"),t[0]=[]),ot.apply(this,t)};n.fn.init.prototype=n.fn;n.find=function(n){var r=Array.prototype.slice.call(arguments);if(typeof n=="string"&&st.test(n))try{t.document.querySelector(n)}catch(u){n=n.replace(ht,function(n,t,i,r){return"["+t+i+'"'+r+'"]'});try{t.document.querySelector(n);i("Attribute selector with '#' must be quoted: "+r[0]);r[0]=n}catch(f){i("Attribute selector with '#' was not fixed: "+r[0])}}return s.apply(this,r)};for(o in s)Object.prototype.hasOwnProperty.call(s,o)&&(n.find[o]=s[o]);r(n.fn,"size",function(){return this.length},"jQuery.fn.size() is deprecated and removed; use the .length property");r(n,"parseJSON",function(){return JSON.parse.apply(null,arguments)},"jQuery.parseJSON is deprecated; use JSON.parse");r(n,"holdReady",n.holdReady,"jQuery.holdReady is deprecated");r(n,"unique",n.uniqueSort,"jQuery.unique is deprecated; use jQuery.uniqueSort");h(n.expr,"filters",n.expr.pseudos,"jQuery.expr.filters is deprecated; use jQuery.expr.pseudos");h(n.expr,":",n.expr.pseudos,"jQuery.expr[':'] is deprecated; use jQuery.expr.pseudos");u("3.1.1")&&r(n,"trim",function(n){return n==null?"":(n+"").replace(ct,"")},"jQuery.trim is deprecated; use String.prototype.trim");u("3.2.0")&&r(n,"nodeName",function(n,t){return n.nodeName&&n.nodeName.toLowerCase()===t.toLowerCase()},"jQuery.nodeName is deprecated");u("3.3.0")&&(r(n,"isNumeric",function(n){var t=typeof n;return(t==="number"||t==="string")&&!isNaN(n-parseFloat(n))},"jQuery.isNumeric() is deprecated"),n.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(n,t){p["[object "+t+"]"]=t.toLowerCase()}),r(n,"type",function(n){return n==null?n+"":typeof n=="object"||typeof n=="function"?p[Object.prototype.toString.call(n)]||"object":typeof n},"jQuery.type is deprecated"),r(n,"isFunction",function(n){return typeof n=="function"},"jQuery.isFunction() is deprecated"),r(n,"isWindow",function(n){return n!=null&&n===n.window},"jQuery.isWindow() is deprecated"),r(n,"isArray",Array.isArray,"jQuery.isArray is deprecated; use Array.isArray"));n.ajax&&(w=n.ajax,n.ajax=function(){var n=w.apply(this,arguments);return n.promise&&(r(n,"success",n.done,"jQXHR.success is deprecated and removed"),r(n,"error",n.fail,"jQXHR.error is deprecated and removed"),r(n,"complete",n.always,"jQXHR.complete is deprecated and removed")),n});var lt=n.fn.removeAttr,at=n.fn.toggleClass,vt=/\S+/g;n.fn.removeAttr=function(t){var r=this;return n.each(t.match(vt),function(t,u){n.expr.match.bool.test(u)&&(i("jQuery.fn.removeAttr no longer sets boolean properties: "+u),r.prop(u,!1))}),lt.apply(this,arguments)};n.fn.toggleClass=function(t){return t!==undefined&&typeof t!="boolean"?at.apply(this,arguments):(i("jQuery.fn.toggleClass( boolean ) is deprecated"),this.each(function(){var i=this.getAttribute&&this.getAttribute("class")||"";i&&n.data(this,"__className__",i);this.setAttribute&&this.setAttribute("class",i||t===!1?"":n.data(this,"__className__")||"")}))};var b,l=!1,yt=/^[a-z]/,pt=/^(?:Border(?:Top|Right|Bottom|Left)?(?:Width|)|(?:Margin|Padding)?(?:Top|Right|Bottom|Left)?|(?:Min|Max)?(?:Width|Height))$/;n.swap&&n.each(["height","width","reliableMarginRight"],function(t,i){var r=n.cssHooks[i]&&n.cssHooks[i].get;r&&(n.cssHooks[i].get=function(){var n;return l=!0,n=r.apply(this,arguments),l=!1,n})});n.swap=function(n,t,r,u){var e,f,o={};l||i("jQuery.swap() is undocumented and deprecated");for(f in t)o[f]=n.style[f],n.style[f]=t[f];e=r.apply(n,u||[]);for(f in t)n.style[f]=o[f];return e};
19u("3.4.0")&&typeof Proxy!="undefined"&&(n.cssProps=new Proxy(n.cssProps||{},{set:function(){return i("JQMIGRATE: jQuery.cssProps is deprecated"),Reflect.set.apply(this,arguments)}}));n.cssNumber||(n.cssNumber={});b=n.fn.css;n.fn.css=function(t,r){var u=this;return typeof t!="string"&&n.each(t,function(t,i){n.fn.css.call(u,t,i)}),typeof r!="number"||wt(c(t))||i("Use of number-typed values is deprecated in jQuery.fn.css"),b.apply(this,arguments)};f=n.data;n.data=function(t,r,u){var o,s,e;if(r&&typeof r=="object"&&arguments.length===2){o=n.hasData(t)&&f.call(this,t);s={};for(e in r)e!==c(e)?(i("jQuery.data() always sets/gets camelCased names: "+e),o[e]=r[e]):s[e]=r[e];return f.call(this,t,s),r}return r&&typeof r=="string"&&r!==c(r)&&(o=n.hasData(t)&&f.call(this,t),o&&r in o)?(i("jQuery.data() always sets/gets camelCased names: "+r),arguments.length>2&&(o[r]=u),o[r]):f.apply(this,arguments)};n.fx&&(k=n.Tween.prototype.run,d=function(n){return n},n.Tween.prototype.run=function(){n.easing[this.easing].length>1&&(i("'jQuery.easing."+this.easing.toString()+"' should use only one argument"),n.easing[this.easing]=d);k.apply(this,arguments)},a=n.fx.interval||13,v="jQuery.fx.interval is deprecated",t.requestAnimationFrame&&Object.defineProperty(n.fx,"interval",{configurable:!0,enumerable:!0,get:function(){return t.document.hidden||i(v),a},set:function(n){i(v);a=n}}));var bt=n.fn.load,kt=n.event.add,dt=n.event.fix;n.event.props=[];n.event.fixHooks={};h(n.event.props,"concat",n.event.props.concat,"jQuery.event.props.concat() is deprecated and removed");n.event.fix=function(t){var f,e=t.type,u=this.fixHooks[e],r=n.event.props;if(r.length)for(i("jQuery.event.props are deprecated and removed: "+r.join());r.length;)n.event.addProp(r.pop());if(u&&!u._migrated_&&(u._migrated_=!0,i("jQuery.event.fixHooks are deprecated and removed: "+e),(r=u.props)&&r.length))while(r.length)n.event.addProp(r.pop());return f=dt.call(this,t),u&&u.filter?u.filter(f,t):f};n.event.add=function(n,r){return n===t&&r==="load"&&t.document.readyState==="complete"&&i("jQuery(window).on('load'...) called after load event occurred"),kt.apply(this,arguments)};n.each(["load","unload","error"],function(t,r){n.fn[r]=function(){var n=Array.prototype.slice.call(arguments,0);return r==="load"&&typeof n[0]=="string"?bt.apply(this,n):(i("jQuery.fn."+r+"() is deprecated"),n.splice(0,0,r),arguments.length)?this.on.apply(this,n):(this.triggerHandler.apply(this,n),this)}});n.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(t,r){n.fn[r]=function(n,t){return i("jQuery.fn."+r+"() event shorthand is deprecated"),arguments.length>0?this.on(r,null,n,t):this.trigger(r)}});n(function(){n(t.document).triggerHandler("ready")});n.event.special.ready={setup:function(){this===t.document&&i("'ready' event is deprecated")}};n.fn.extend({bind:function(n,t,r){i("jQuery.fn.bind() is deprecated");return this.on(n,null,t,r)},unbind:function(n,t){return i("jQuery.fn.unbind() is deprecated"),this.off(n,null,t)},delegate:function(n,t,r,u){i("jQuery.fn.delegate() is deprecated");return this.on(t,n,r,u)},undelegate:function(n,t,r){return i("jQuery.fn.undelegate() is deprecated"),arguments.length===1?this.off(n,"**"):this.off(t,n||"**",r)},hover:function(n,t){i("jQuery.fn.hover() is deprecated");return this.on("mouseenter",n).on("mouseleave",t||n)}});var g=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([a-z][^\/\0>\x20\t\r\n\f]*)[^>]*)\/>/gi,gt=n.htmlPrefilter,nt=function(n){var i=t.document.implementation.createHTMLDocument("");return i.body.innerHTML=n,i.body&&i.body.innerHTML},tt=function(n){var t=n.replace(g,"<$1><\/$2>");t!==n&&nt(n)!==nt(t)&&i("HTML tags must be properly nested and closed: "+n)};return n.UNSAFE_restoreLegacyHtmlPrefilter=function(){n.htmlPrefilter=function(n){return tt(n),n.replace(g,"<$1><\/$2>")}},n.htmlPrefilter=function(n){return tt(n),gt(n)},it=n.fn.offset,n.fn.offset=function(){var u,r=this[0];return!r||!r.nodeType?(i("jQuery.fn.offset() requires a valid DOM element"),undefined):(u=(r.ownerDocument||t.document).documentElement,!n.contains(u,r))?(i("jQuery.fn.offset() requires an element connected to a document"),{top:0,left:0}):it.apply(this,arguments)},n.ajax&&(rt=n.param,n.param=function(t,r){var u=n.ajaxSettings&&n.ajaxSettings.traditional;return r===undefined&&u&&(i("jQuery.param() no longer uses jQuery.ajaxSettings.traditional"),r=u),rt.call(this,t,r)}),ut=n.fn.andSelf||n.fn.addBack,n.fn.andSelf=function(){return i("jQuery.fn.andSelf() is deprecated and removed, use jQuery.fn.addBack()"),ut.apply(this,arguments)},n.Deferred&&(y=n.Deferred,ft=[["resolve","done",n.Callbacks("once memory"),n.Callbacks("once memory"),"resolved"],["reject","fail",n.Callbacks("once memory"),n.Callbacks("once memory"),"rejected"],["notify","progress",n.Callbacks("memory"),n.Callbacks("memory")]],n.Deferred=function(t){var r=y(),u=r.promise();return r.pipe=u.pipe=function(){var t=arguments;return i("deferred.pipe() is deprecated"),n.Deferred(function(i){n.each(ft,function(n,f){var e=typeof t[n]=="function"&&t[n];r[f[1]](function(){var n=e&&e.apply(this,arguments);n&&typeof n.promise=="function"?n.promise().done(i.resolve).fail(i.reject).progress(i.notify):i[f[0]+"With"](this===u?i.promise():this,e?[n]:arguments)})});t=null}).promise()},t&&t.call(r,r),r},n.Deferred.exceptionHook=y.exceptionHook),n});
20/*!
21 * jQuery Validation Plugin v1.19.1
22 *
23 * https://jqueryvalidation.org/
24 *
25 * Copyright (c) 2019 Jörn Zaefferer
26 * Released under the MIT license
27 */
28(function(n){typeof define=="function"&&define.amd?define(["jquery"],n):typeof module=="object"&&module.exports?module.exports=n(require("jquery")):n(jQuery)})(function(n){n.extend(n.fn,{validate:function(t){if(!this.length){t&&t.debug&&window.console&&console.warn("Nothing selected, can't validate, returning nothing.");return}var i=n.data(this[0],"validator");if(i)return i;if(this.attr("novalidate","novalidate"),i=new n.validator(t,this[0]),n.data(this[0],"validator",i),i.settings.onsubmit){this.on("click.validate",":submit",function(t){i.submitButton=t.currentTarget;n(this).hasClass("cancel")&&(i.cancelSubmit=!0);n(this).attr("formnovalidate")!==undefined&&(i.cancelSubmit=!0)});this.on("submit.validate",function(t){function r(){var r,u;return(i.submitButton&&(i.settings.submitHandler||i.formSubmitted)&&(r=n("<input type='hidden'/>").attr("name",i.submitButton.name).val(n(i.submitButton).val()).appendTo(i.currentForm)),i.settings.submitHandler&&!i.settings.debug)?(u=i.settings.submitHandler.call(i,i.currentForm,t),r&&r.remove(),u!==undefined)?u:!1:!0}return(i.settings.debug&&t.preventDefault(),i.cancelSubmit)?(i.cancelSubmit=!1,r()):i.form()?i.pendingRequest?(i.formSubmitted=!0,!1):r():(i.focusInvalid(),!1)})}return i},valid:function(){var t,i,r;return n(this[0]).is("form")?t=this.validate().form():(r=[],t=!0,i=n(this[0].form).validate(),this.each(function(){t=i.element
28(this)&&t;t||(r=r.concat(i.errorList))}),i.errorList=r),t},rules:function(t,i){var r=this[0],c=typeof this.attr("contenteditable")!="undefined"&&this.attr("contenteditable")!=="false",e,s,f,u,o,h;if(r!=null&&(!r.form&&c&&(r.form=this.closest("form")[0],r.name=this.attr("name")),r.form!=null)){if(t){e=n.data(r.form,"validator").settings;s=e.rules;f=n.validator.staticRules(r);switch(t){case"add":n.extend(f,n.validator.normalizeRule(i));delete f.messages;s[r.name]=f;i.messages&&(e.messages[r.name]=n.extend(e.messages[r.name],i.messages));break;case"remove":return i?(h={},n.each(i.split(/\s/),function(n,t){h[t]=f[t];delete f[t]}),h):(delete s[r.name],f)}}return u=n.validator.normalizeRules(n.extend({},n.validator.classRules(r),n.validator.attributeRules(r),n.validator.dataRules(r),n.validator.staticRules(r)),r),u.required&&(o=u.required,delete u.required,u=n.extend({required:o},u)),u.remote&&(o=u.remote,delete u.remote,u=n.extend(u,{remote:o})),u}}});n.extend(n.expr.pseudos||n.expr[":"],{blank:function(t){return!n.trim(""+n(t).val())},filled:function(t){var i=n(t).val();return i!==null&&!!n.trim(""+i)},unchecked:function(t){return!n(t).prop("checked")}});n.validator=function(t,i){this.settings=n.extend(!0,{},n.validator.defaults,t);this.currentForm=i;this.init()};n.validator.format=function(t,i){return arguments.length===1?function(){var i=n.makeArray(arguments);return i.unshift(t),n.validator.format.apply(this,i)}:i===undefined?t:(arguments.length>2&&i.constructor!==Array&&(i=n.makeArray(arguments).slice(1)),i.constructor!==Array&&(i=[i]),n.each(i,function(n,i){t=t.replace(new RegExp("\\{"+n+"\\}","g"),function(){return i})}),t)};n.extend(n.validator,{defaults:{messages:{},groups:{},rules:{},errorClass:"error",pendingClass:"pending",validClass:"valid",errorElement:"label",focusCleanup:!1,focusInvalid:!0,errorContainer:n([]),errorLabelContainer:n([]),onsubmit:!0,ignore:":hidden",ignoreTitle:!1,onfocusin:function(n){this.lastActive=n;this.settings.focusCleanup&&(this.settings.unhighlight&&this.settings.unhighlight.call(this,n,this.settings.errorClass,this.settings.validClass),this.hideThese(this.errorsFor(n)))},onfocusout:function(n){!this.checkable(n)&&(n.name in this.submitted||!this.optional(n))&&this.element(n)},onkeyup:function(t,i){(i.which!==9||this.elementValue(t)!=="")&&n.inArray(i.keyCode,[16,17,18,20,35,36,37,38,39,40,45,144,225])===-1&&(t.name in this.submitted||t.name in this.invalid)&&this.element(t)},onclick:function(n){n.name in this.submitted?this.element(n):n.parentNode.name in this.submitted&&this.element(n.parentNode)},highlight:function(t,i,r){t.type==="radio"?this.findByName(t.name).addClass(i).removeClass(r):n(t).addClass(i).removeClass(r)},unhighlight:function(t,i,r){t.type==="radio"?this.findByName(t.name).removeClass(i).addClass(r):n(t).removeClass(i).addClass(r)}},setDefaults:function(t){n.extend(n.validator.defaults,t)},messages:{required:"This field is required.",remote:"Please fix this field.",email:"Please enter a valid email address.",url:"Please enter a valid URL.",date:"Please enter a valid date.",dateISO:"Please enter a valid date (ISO).",number:"Please enter a valid number.",digits:"Please enter only digits.",equalTo:"Please enter the same value again.",maxlength:n.validator.format("Please enter no more than {0} characters."),minlength:n.validator.format("Please enter at least {0} characters."),rangelength:n.validator.format("Please enter a value between {0} and {1} characters long."),range:n.validator.format("Please enter a value between {0} and {1}."),max:n.validator.format("Please enter a value less than or equal to {0}."),min:n.validator.format("Please enter a value greater than or equal to {0}."),step:n.validator.format("Please enter a multiple of {0}.")},autoCreateRanges:!1,prototype:{init:function(){function i(t){var e=typeof n(this).attr("contenteditable")!="undefined"&&n(this).attr("contenteditable")!=="false";if(!this.form&&e&&(this.form=n(this).closest("form")[0],this.name=n(this).attr("name")),r===this.form){var u=n.data(this.form,"validator"),f="on"+t.type.replace(/^validate/,""),i=u.settings;i[f]&&!n(this).is(i.ignore)&&i[f].call(u,this,t)}}this.labelContainer=n(this.settings.errorLabelContainer);this.errorContext=this.labelContainer.length&&this.labelContainer||n(this.currentForm);this.containers=n(this.settings.errorContainer).add(this.settings.errorLabelContainer);this.submitted={};this.valueCache={};this.pendingRequest=0;this.pending={};this.invalid={};this.reset();var r=this.currentForm,u=this.groups={},t;n.each(this.settings.groups,function(t,i){typeof i=="string"&&(i=i.split(/\s/));n.each(i,function(n,i){u[i]=t})});t=this.settings.rules;n.each(t,function(i,r){t[i]=n.validator.normalizeRule(r)});n(this.currentForm).on("focusin.validate focusout.validate keyup.validate",":text, [type='password'], [type='file'], select, textarea, [type='number'], [type='search'], [type='tel'], [type='url'], [type='email'], [type='datetime'], [type='date'], [type='month'], [type='week'], [type='time'], [type='datetime-local'], [type='range'], [type='color'], [type='radio'], [type='checkbox'], [contenteditable], [type='button']",i).on("click.validate","select, option, [type='radio'], [type='checkbox']",i);if(this.settings.invalidHandler)n(this.currentForm).on("invalid-form.validate",this.settings.invalidHandler)},form:function(){return this.checkForm(),n.extend(this.submitted,this.errorMap),this.invalid=n.extend({},this.errorMap),this.valid()||n(this.currentForm).triggerHandler("invalid-form",[this]),this.showErrors(),this.valid()},checkForm:function(){this.prepareForm();for(var n=0,t=this.currentElements=this.elements();t[n];n++)this.check(t[n]);return this.valid()},element:function(t){var i=this.clean(t),r=this.validationTargetFor(i),u=this,f=!0,e,o;return r===undefined?delete this.invalid[i.name]:(this.prepareElement(r),this.currentElements=n(r),o=this.groups[r.name],o&&n.each(this.groups,function(n,t){t===o&&n!==r.name&&(i=u.validationTargetFor(u.clean(u.findByName(n))),i&&i.name in u.invali
28d&&(u.currentElements.push(i),f=u.check(i)&&f))}),e=this.check(r)!==!1,f=f&&e,this.invalid[r.name]=e?!1:!0,this.numberOfInvalids()||(this.toHide=this.toHide.add(this.containers)),this.showErrors(),n(t).attr("aria-invalid",!e)),f},showErrors:function(t){if(t){var i=this;n.extend(this.errorMap,t);this.errorList=n.map(this.errorMap,function(n,t){return{message:n,element:i.findByName(t)[0]}});this.successList=n.grep(this.successList,function(n){return!(n.name in t)})}this.settings.showErrors?this.settings.showErrors.call(this,this.errorMap,this.errorList):this.defaultShowErrors()},resetForm:function(){n.fn.resetForm&&n(this.currentForm).resetForm();this.invalid={};this.submitted={};this.prepareForm();this.hideErrors();var t=this.elements().removeData("previousValue").removeAttr("aria-invalid");this.resetElements(t)},resetElements:function(n){var t;if(this.settings.unhighlight)for(t=0;n[t];t++)this.settings.unhighlight.call(this,n[t],this.settings.errorClass,""),this.findByName(n[t].name).removeClass(this.settings.validClass);else n.removeClass(this.settings.errorClass).removeClass(this.settings.validClass)},numberOfInvalids:function(){return this.objectLength(this.invalid)},objectLength:function(n){var i=0;for(var t in n)n[t]!==undefined&&n[t]!==null&&n[t]!==!1&&i++;return i},hideErrors:function(){this.hideThese(this.toHide)},hideThese:function(n){n.not(this.containers).text("");this.addWrapper(n).hide()},valid:function(){return this.size()===0},size:function(){return this.errorList.length},focusInvalid:function(){if(this.settings.focusInvalid)try{n(this.findLastActive()||this.errorList.length&&this.errorList[0].element||[]).filter(":visible").trigger("focus").trigger("focusin")}catch(t){}},findLastActive:function(){var t=this.lastActive;return t&&n.grep(this.errorList,function(n){return n.element.name===t.name}).length===1&&t},elements:function(){var t=this,i={};return n(this.currentForm).find("input, select, textarea, [contenteditable]").not(":submit, :reset, :image, :disabled").not(this.settings.ignore).filter(function(){var r=this.name||n(this).attr("name"),u=typeof n(this).attr("contenteditable")!="undefined"&&n(this).attr("contenteditable")!=="false";return(!r&&t.settings.debug&&window.console&&console.error("%o has no name assigned",this),u&&(this.form=n(this).closest("form")[0],this.name=r),this.form!==t.currentForm)?!1:r in i||!t.objectLength(n(this).rules())?!1:(i[r]=!0,!0)})},clean:function(t){return n(t)[0]},errors:function(){var t=this.settings.errorClass.split(" ").join(".");return n(this.settings.errorElement+"."+t,this.errorContext)},resetInternals:function(){this.successList=[];this.errorList=[];this.errorMap={};this.toShow=n([]);this.toHide=n([])},reset:function(){this.resetInternals();this.currentElements=n([])},prepareForm:function(){this.reset();this.toHide=this.errors().add(this.containers)},prepareElement:function(n){this.reset();this.toHide=this.errorsFor(n)},elementValue:function(t){var u=n(t),f=t.type,e=typeof u.attr("contenteditable")!="undefined"&&u.attr("contenteditable")!=="false",i,r;return f==="radio"||f==="checkbox"?this.findByName(t.name).filter(":checked").val():f==="number"&&typeof t.validity!="undefined"?t.validity.badInput?"NaN":u.val():(i=e?u.text():u.val(),f==="file")?i.substr(0,12)==="C:\\fakepath\\"?i.substr(12):(r=i.lastIndexOf("/"),r>=0)?i.substr(r+1):(r=i.lastIndexOf("\\"),r>=0)?i.substr(r+1):i:typeof i=="string"?i.replace(/\r/g,""):i},check:function(t){t=this.validationTargetFor(this.clean(t));var i=n(t).rules(),c=n.map(i,function(n,t){return t}).length,s=!1,h=this.elementValue(t),u,f,r,e;typeof i.normalizer=="function"?e=i.normalizer:typeof this.settings.normalizer=="function"&&(e=this.settings.normalizer);e&&(h=e.call(t,h),delete i.normalizer);for(f in i){r={method:f,parameters:i[f]};try{if(u=n.validator.methods[f].call(this,h,t,r.parameters),u==="dependency-mismatch"&&c===1){s=!0;continue}if(s=!1,u==="pending"){this.toHide=this.toHide.not(this.errorsFor(t));return}if(!u)return this.formatAndAdd(t,r),!1}catch(o){this.settings.debug&&window.console&&console.log("Exception occurred when checking element "+t.i
28d+", check the '"+r.method+"' method.",o);o instanceof TypeError&&(o.message+=".  Exception occurred when checking element "+t.id+", check the '"+r.method+"' method.");throw o;}}if(!s)return this.objectLength(i)&&this.successList.push(t),!0},customDataMessage:function(t,i){return n(t).data("msg"+i.charAt(0).toUpperCase()+i.substring(1).toLowerCase())||n(t).data("msg")},customMessage:function(n,t){var i=this.settings.messages[n];return i&&(i.constructor===String?i:i[t])},findDefined:function(){for(var n=0;n<arguments.length;n++)if(arguments[n]!==undefined)return arguments[n];return undefined},defaultMessage:function(t,i){typeof i=="string"&&(i={method:i});var r=this.findDefined(this.customMessage(t.name,i.method),this.customDataMessage(t,i.method),!this.settings.ignoreTitle&&t.title||undefined,n.validator.messages[i.method],"<strong>Warning: No message defined for "+t.name+"<\/strong>"),u=/\$?\{(\d+)\}/g;return typeof r=="function"?r=r.call(this,i.parameters,t):u.test(r)&&(r=n.validator.format(r.replace(u,"{$1}"),i.parameters)),r},formatAndAdd:function(n,t){var i=this.defaultMessage(n,t);this.errorList.push({message:i,element:n,method:t.method});this.errorMap[n.name]=i;this.submitted[n.name]=i},addWrapper:function(n){return this.settings.wrapper&&(n=n.add(n.parent(this.settings.wrapper))),n},defaultShowErrors:function(){for(var i,t,n=0;this.errorList[n];n++)t=this.errorList[n],this.settings.highlight&&this.settings.highlight.call(this,t.element,this.settings.errorClass,this.settings.validClass),this.showLabel(t.element,t.message);if(this.errorList.length&&(this.toShow=this.toShow.add(this.containers)),this.settings.success)for(n=0;this.successList[n];n++)this.showLabel(this.successList[n]);if(this.settings.unhighlight)for(n=0,i=this.validElements();i[n];n++)this.settings.unhighlight.call(this,i[n],this.settings.errorClass,this.settings.validClass);this.toHide=this.toHide.not(this.toShow);this.hideErrors();this.addWrapper(this.toShow).show()},validElements:function(){return this.currentElements.not(this.invalidElements())},invalidElements:function(){return n(this.errorList).map(function(){return this.element})},showLabel:function(t,i){var u,s,e,o,r=this.errorsFor(t),h=this.idOrName(t),f=n(t).attr("aria-describedby");r.length?(r.removeClass(this.settings.validClass).addClass(this.settings.errorClass),r.html(i)):(r=n("<"+this.settings.errorElement+">").attr("id",h+"-error").addClass(this.settings.errorClass).html(i||""),u=r,this.settings.wrapper&&(u=r.hide().show().wrap("<"+this.settings.wrapper+"/>").parent()),this.labelContainer.length?this.labelContainer.append(u):this.settings.errorPlacement?this.settings.errorPlacement.call(this,u,n(t)):u.insertAfter(t),r.is("label")?r.attr("for",h):r.parents("label[for='"+this.escapeCssMeta(h)+"']").length===0&&(e=r.attr("id"),f?f.match(new RegExp("\\b"+this.escapeCssMeta(e)+"\\b"))||(f+=" "+e):f=e,n(t).attr("aria-describedby",f),s=this.groups[t.name],s&&(o=this,n.each(o.groups,function(t,i){i===s&&n("[name='"+o.escapeCssMeta(t)+"']",o.currentForm).attr("aria-describedby",r.attr("id"))}))));!i&&this.settings.success&&(r.text(""),typeof this.settings.success=="string"?r.addClass(this.settings.success):this.settings.success(r,t));this.toShow=this.toShow.add(r)},errorsFor:function(t){var r=this.escapeCssMeta(this.idOrName(t)),u=n(t).attr("aria-describedby"),i="label[for='"+r+"'], label[for='"+r+"'] *";return u&&(i=i+", #"+this.escapeCssMeta(u).replace(/\s+/g,", #")),this.errors().filter(i)},escapeCssMeta:function(n){return n.replace(/([\\!"#$%&'()*+,./:;<=>?@\[\]^`{|}~])/g,"\\$1")},idOrName:function(n){return this.groups[n.name]||(this.checkable(n)?n.name:n.id||n.name)},validationTargetFor:function(t){return this.checkable(t)&&(t=this.findByName(t.name)),n(t).not(this.settings.ignore)[0]},checkable:function(n){return/radio|checkbox/i.test(n.type)},findByName:function(t){return n(this.currentForm).find("[name='"+this.escapeCssMeta(t)+"']")},getLength:function(t,i){switch(i.nodeName.toLowerCase()){case"select":return n("option:selected",i).length;case"input":if(this.checkable(i))return this.findByName(i.name).filter(":checked").length}return t.length},depend:function(n,t){return this.dependTypes[typeof n]?this.dependTypes[typeof n](n,t):!0},dependTypes:{boolean:function(n){return n},string:function(t,i){return!!n(t,i.form).length},"function":function(n,t){return n(t)}},optional:function(t){var i=this.elementValue(t);
28return!n.validator.methods.required.call(this,i,t)&&"dependency-mismatch"},startRequest:function(t){this.pending[t.name]||(this.pendingRequest++,n(t).addClass(this.settings.pendingClass),this.pending[t.name]=!0)},stopRequest:function(t,i){this.pendingRequest--;this.pendingRequest<0&&(this.pendingRequest=0);delete this.pending[t.name];n(t).removeClass(this.settings.pendingClass);i&&this.pendingRequest===0&&this.formSubmitted&&this.form()?(n(this.currentForm).submit(),this.submitButton&&n("input:hidden[name='"+this.submitButton.name+"']",this.currentForm).remove(),this.formSubmitted=!1):!i&&this.pendingRequest===0&&this.formSubmitted&&(n(this.currentForm).triggerHandler("invalid-form",[this]),this.formSubmitted=!1)},previousValue:function(t,i){return i=typeof i=="string"&&i||"remote",n.data(t,"previousValue")||n.data(t,"previousValue",{old:null,valid:!0,message:this.defaultMessage(t,{method:i})})},destroy:function(){this.resetForm();n(this.currentForm).off(".validate").removeData("validator").find(".validate-equalTo-blur").off(".validate-equalTo").removeClass("validate-equalTo-blur").find(".validate-lessThan-blur").off(".validate-lessThan").removeClass("validate-lessThan-blur").find(".validate-lessThanEqual-blur").off(".validate-lessThanEqual").removeClass("validate-lessThanEqual-blur").find(".validate-greaterThanEqual-blur").off(".validate-greaterThanEqual").removeClass("validate-greaterThanEqual-blur").find(".validate-greaterThan-blur").off(".validate-greaterThan").removeClass("validate-greaterThan-blur")}},classRuleSettings:{required:{required:!0},email:{email:!0},url:{url:!0},date:{date:!0},dateISO:{dateISO:!0},number:{number:!0},digits:{digits:!0},creditcard:{creditcard:!0}},addClassRules:function(t,i){t.constructor===String?this.classRuleSettings[t]=i:n.extend(this.classRuleSettings,t)},classRules:function(t){var i={},r=n(t).attr("class");return r&&n.each(r.split(" "),function(){this in n.validator.classRuleSettings&&n.extend(i,n.validator.classRuleSettings[this])}),i},normalizeAttributeRule:function(n,t,i,r){/min|max|step/.test(i)&&(t===null||/number|range|text/.test(t))&&(r=Number(r),isNaN(r)&&(r=undefined));r||r===0?n[i]=r:t===i&&t!=="range"&&(n[i]=!0)},attributeRules:function(t){var r={},f=n(t),e=t.getAttribute("type"),u,i;for(u in n.validator.methods)u==="required"?(i=t.getAttribute(u),i===""&&(i=!0),i=!!i):i=f.attr(u),this.normalizeAttributeRule(r,e,u,i);return r.maxlength&&/-1|2147483647|524288/.test(r.maxlength)&&delete r.maxlength,r},dataRules:function(t){var u={},f=n(t),e=t.getAttribute("type"),i,r;for(i in n.validator.methods)r=f.data("rule"+i.charAt(0).toUpperCase()+i.substring(1).toLowerCase()),r===""&&(r=!0),this.normalizeAttributeRule(u,e,i,r);return u},staticRules:function(t){var i={},r=n.data(t.form,"validator");return r.settings.rules&&(i=n.validator.normalizeRule(r.settings.rules[t.name])||{}),i},normalizeRules:function(t,i){return n.each(t,function(r,u){if(u===!1){delete t[r];return}if(u.param||u.depends){var f=!0;switch(typeof u.depends){case"string":f=!!n(u.depends,i.form).length;break;case"function":f=u.depends.call(i,i)}f?t[r]=u.param!==undefined?u.param:!0:(n.data(i.form,"validator").resetElements(n(i)),delete t[r])}}),n.each(t,function(r,u){t[r]=n.isFunction(u)&&r!=="normalizer"?u(i):u}),n.each(["minlength","maxlength"],function(){t[this]&&(t[this]=Number(t[this]))}),n.each(["rangelength","range"],function(){var i;t[this]&&(n.isArray(t[this])?t[this]=[Number(t[this][0]),Number(t[this][1])]:typeof t[this]=="string"&&(i=t[this].replace(/[\[\]]/g,"").split(/[\s,]+/),t[this]=[Number(i[0]),Number(i[1])]))}),n.validator.autoCreateRanges&&(t.min!=null&&t.max!=null&&(t.range=[t.min,t.max],delete t.min,delete t.max),t.minlength!=null&&t.maxlength!=null&&(t.rangelength=[t.minlength,t.maxlength],delete t.minlength,delete t.maxlength)),t},normalizeRule:function(t){if(typeof t=="string"){var i={};n.each(t.split(/\s/),function(){i[this]=!0});t=i}return t},addMethod:function(t,i,r){n.validator.methods[t]=i;n.validator.messages[t]=r!==undefined?r:n.validator.messages[t];
28i.length<3&&n.validator.addClassRules(t,n.validator.normalizeRule(t))},methods:{required:function(t,i,r){if(!this.depend(r,i))return"dependency-mismatch";if(i.nodeName.toLowerCase()==="select"){var u=n(i).val();return u&&u.length>0}return this.checkable(i)?this.getLength(t,i)>0:t!==undefined&&t!==null&&t.length>0},email:function(n,t){return this.optional(t)||/^[a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/.test(n)},url:function(n,t){return this.optional(t)||/^(?:(?:(?:https?|ftp):)?\/\/)(?:\S+(?::\S*)?@)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)(?:\.(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)*(?:\.(?:[a-z\u00a1-\uffff]{2,})).?)(?::\d{2,5})?(?:[/?#]\S*)?$/i.test(n)},date:function(){var n=!1;return function(t,i){return n||(n=!0,this.settings.debug&&window.console&&console.warn("The `date` method is deprecated and will be removed in version '2.0.0'.\nPlease don't use it, since it relies on the Date constructor, which\nbehaves very differently across browsers and locales. Use `dateISO`\ninstead or one of the locale specific methods in `localizations/`\nand `additional-methods.js`.")),this.optional(i)||!/Invalid|NaN/.test(new Date(t).toString())}}(),dateISO:function(n,t){return this.optional(t)||/^\d{4}[\/\-](0?[1-9]|1[012])[\/\-](0?[1-9]|[12][0-9]|3[01])$/.test(n)},number:function(n,t){return this.optional(t)||/^(?:-?\d+|-?\d{1,3}(?:,\d{3})+)?(?:\.\d+)?$/.test(n)},digits:function(n,t){return this.optional(t)||/^\d+$/.test(n)},minlength:function(t,i,r){var u=n.isArray(t)?t.length:this.getLength(t,i);return this.optional(i)||u>=r},maxlength:function(t,i,r){var u=n.isArray(t)?t.length:this.getLength(t,i);return this.optional(i)||u<=r},rangelength:function(t,i,r){var u=n.isArray(t)?t.length:this.getLength(t,i);return this.optional(i)||u>=r[0]&&u<=r[1]},min:function(n,t,i){return this.optional(t)||n>=i},max:function(n,t,i){return this.optional(t)||n<=i},range:function(n,t,i){return this.optional(t)||n>=i[0]&&n<=i[1]},step:function(t,i,r){var u=n(i).attr("type"),h="Step attribute on input type "+u+" is not supported.",c=new RegExp("\\b"+u+"\\b"),l=u&&!c.test("text,number,range"),e=function(n){var t=(""+n).match(/(?:\.(\d+))?$/);return t?t[1]?t[1].length:0:0},o=function(n){return Math.round(n*Math.pow(10,f))},s=!0,f;if(l)throw new Error(h);return f=e(r),(e(t)>f||o(t)%o(r)!=0)&&(s=!1),this.optional(i)||s},equalTo:function(t,i,r){var u=n(r);if(this.settings.onfocusout&&u.not(".validate-equalTo-blur").length)u.addClass("validate-equalTo-blur").on("blur.validate-equalTo",function(){n(i).valid()});return t===u.val()},remote:function(t,i,r,u){if(this.optional(i))return"dependency-mismatch";u=typeof u=="string"&&u||"remote";var e=this.previousValue(i,u),f,o,s;return(this.settings.messages[i.name]||(this.settings.messages[i.name]={}),e.originalMessage=e.originalMessage||this.settings.messages[i.name][u],this.settings.messages[i.name][u]=e.message,r=typeof r=="string"&&{url:r}||r,s=n.param(n.extend({data:t},r.data)),e.old===s)?e.valid:(e.old=s,f=this,this.startRequest(i),o={},o[i.name]=t,n.ajax(n.extend(!0,{mode:"abort",port:"validate"+i.name,dataType:"json",data:o,context:f.currentForm,success:function(n){var r=n===!0||n==="true",o,s,h;f.settings.messages[i.name][u]=e.originalMessage;r?(h=f.formSubmitted,f.resetInternals(),f.toHide=f.errorsFor(i),f.formSubmitted=h,f.successList.push(i),f.invalid[i.name]=!1,f.showErrors()):(o={},s=n||f.defaultMessage(i,{method:u,parameters:t}),o[i.name]=e.message=s,f.invalid[i.name]=!0,f.showErrors(o));e.valid=r;f.stopRequest(i,r)}},r)),"pending")}}});var t={},i;return n.ajaxPrefilter?n.ajaxPrefilter(function(n,i,r){var u=n.port;n.mode==="abort"&&(t[u]&&t[u].abort(),t[u]=r)}):(i=n.ajax,n.ajax=function(r){var f=("mode"in r?r:n.ajaxSettings).mode,u=("port"in r?r:n.ajaxSettings).port;return f==="abort"?(t[u]&&t[u].abort(),t[u]=i.apply(this,arguments),t[u]):i.apply(this,arguments)}),n});
29/*!
30 * jQuery Validation Plugin v1.19.1
31 *
32 * https://jqueryvalidation.org/
33 *
34 * Copyright (c) 2019 Jörn Zaefferer
35 * Released under the MIT license
36 */
37(function(n){typeof define=="function"&&define.amd?define(["jquery","./jquery.validate"],n):typeof module=="object"&&module.exports?module.exports=n(require("jquery")):n(jQuery)})(function(n){return function(){function t(n){return n.replace(/<.[^<>]*?>/g," ").replace(/&nbsp;|&#160;/gi," ").replace(/[.(),;:!?%#$'\"_+=\/\-“”’]*/g,"")}n.validator.addMethod("maxWords",function(n,i,r){return this.optional(i)||t(n).match(/\b\w+\b/g).length<=r},n.validator.format("Please enter {0} words or less."));n.validator.addMethod("minWords",function(n,i,r){return this.optional(i)||t(n).match(/\b\w+\b/g).length>=r},n.validator.format("Please enter at least {0} words."));n.validator.addMethod("rangeWords",function(n,i,r){var u=t(n),f=/\b\w+\b/g;return this.optional(i)||u.match(f).length>=r[0]&&u.match(f).length<=r[1]},n.validator.format("Please enter between {0} and {1} words."))}(),n.validator.addMethod("abaRoutingNumber",function(n){var r=0,i=n.split(""),u=i.length,t;if(u!==9)return!1;for(t=0;t<u;t+=3)r+=parseInt(i[t],10)*3+parseInt(i[t+1],10)*7+parseInt(i[t+2],10);return r!==0&&r%10==0?!0:!1},"Please enter a valid routing number."),n.validator.addMethod("accept",function(t,i,r){var f=typeof r=="string"?r.replace(/\s/g,""):"image/*",e=this.optional(i),u,o,s;if(e)return e;if(n(i).attr("type")==="file"&&(f=f.replace(/[\-\[\]\/\{\}\(\)\+\?\.\\\^\$\|]/g,"\\$&").replace(/,/g,"|").replace(/\/\*/g,"/.*"),i.files&&i.files.length))for(s=new RegExp(".?("+f+")$","i"),u=0;u<i.files.length;
37u++)if(o=i.files[u],!o.type.match(s))return!1;return!0},n.validator.format("Please enter a value with a valid mimetype.")),n.validator.addMethod("alphanumeric",function(n,t){return this.optional(t)||/^\w+$/i.test(n)},"Letters, numbers, and underscores only please"),n.validator.addMethod("bankaccountNL",function(n,t){if(this.optional(t))return!0;if(!/^[0-9]{9}|([0-9]{2} ){3}[0-9]{3}$/.test(n))return!1;for(var u=n.replace(/ /g,""),r=0,f=u.length,e,o,i=0;i<f;i++)e=f-i,o=u.substring(i,i+1),r=r+e*o;return r%11==0},"Please specify a valid bank account number"),n.validator.addMethod("bankorgiroaccountNL",function(t,i){return this.optional(i)||n.validator.methods.bankaccountNL.call(this,t,i)||n.validator.methods.giroaccountNL.call(this,t,i)},"Please specify a valid bank or giro account number"),n.validator.addMethod("bic",function(n,t){return this.optional(t)||/^([A-Z]{6}[A-Z2-9][A-NP-Z1-9])(X{3}|[A-WY-Z0-9][A-Z0-9]{2})?$/.test(n.toUpperCase())},"Please specify a valid BIC code"),n.validator.addMethod("cifES",function(n,t){"use strict";function v(n){return n%2==0}if(this.optional(t))return!0;var a=new RegExp(/^([ABCDEFGHJKLMNPQRSUVW])(\d{7})([0-9A-J])$/gi),o=n.substring(0,1),s=n.substring(1,8),f=n.substring(8,9),h=0,c=0,l=0,u,r,i,e;if(n.length!==9||!a.test(n))return!1;for(u=0;u<s.length;u++)r=parseInt(s[u],10),v(u)?(r*=2,l+=r<10?r:r-9):c+=r;return(h=c+l,i=(10-h.toString().substr(-1)).toString(),i=parseInt(i,10)>9?"0":i,e="JABCDEFGHI".substr(i,1).toString(),o.match(/[ABEH]/))?f===i:o.match(/[KPQS]/)?f===e:f===i||f===e},"Please specify a valid CIF number."),n.validator.addMethod("cnhBR",function(n){if(n=n.replace(/([~!@#$%^&*()_+=`{}\[\]\-|\\:;'<>,.\/? ])+/g,""),n.length!==11)return!1;var r=0,e=0,o,f,u,t,i,s;if(o=n.charAt(0),new Array(12).join(o)===n)return!1;for(t=0,i=9,s=0;t<9;++t,--i)r+=+(n.charAt(t)*i);for(f=r%11,f>=10&&(f=0,e=2),r=0,t=0,i=1,s=0;t<9;++t,++i)r+=+(n.charAt(t)*i);return u=r%11,u=u>=10?0:u-e,String(f).concat(u)===n.substr(-2)},"Please specify a valid CNH number"),n.validator.addMethod("cnpjBR",function(n,t){"use strict";var f,e,o;if(this.optional(t))return!0;if((n=n.replace(/[^\d]+/g,""),n.length!==14)||n==="00000000000000"||n==="11111111111111"||n==="22222222222222"||n==="33333333333333"||n==="44444444444444"||n==="55555555555555"||n==="66666666666666"||n==="77777777777777"||n==="88888888888888"||n==="99999999999999")return!1;var i=n.length-2,s=n.substring(0,i),h=n.substring(i),r=0,u=i-7;for(f=i;f>=1;f--)r+=s.charAt(i-f)*u--,u<2&&(u=9);if(e=r%11<2?0:11-r%11,e!==parseInt(h.charAt(0),10))return!1;for(i=i+1,s=n.substring(0,i),r=0,u=i-7,o=i;o>=1;o--)r+=s.charAt(i-o)*u--,u<2&&(u=9);return(e=r%11<2?0:11-r%11,e!==parseInt(h.charAt(1),10))?!1:!0},"Please specify a CNPJ value number"),n.validator.addMethod("cpfBR",function(n,t){"use strict";if(this.optional(t))return!0;if(n=n.replace(/([~!@#$%^&*()_+=`{}\[\]\-|\\:;'<>,.\/? ])+/g,""),n.length!==11)return!1;var r=0,f,e,u,i;if(f=parseInt(n.substring(9,10),10),e=parseInt(n.substring(10,11),10),u=function(n,t){var i=n*10%11;return(i===10||i===11)&&(i=0),i===t},n===""||n==="00000000000"||n==="11111111111"||n==="22222222222"||n==="33333333333"||n==="44444444444"||n==="55555555555"||n==="66666666666"||n==="77777777777"||n==="88888888888"||n==="99999999999")return!1;for(i=1;i<=9;i++)r=r+parseInt(n.substring(i-1,i),10)*(11-i);if(u(r,f)){for(r=0,i=1;i<=10;i++)r=r+parseInt(n.substring(i-1,i),10)*(12-i);return u(r,e)}return!1},"Please specify a valid CPF number"),n.validator.addMethod("creditcard",function(n,t){if(this.optional(t))return"dependency-mismatch";if(/[^0-9 \-]+/.test(n))return!1;var f=0,i=0,u=!1,r,e;if(n=n.replace(/\D/g,""),n.length<13||n.length>19)return!1;for(r=n.length-1;r>=0;r--)e=n.charAt(r),i=parseInt(e,10),u&&(i*=2)>9&&(i-=9),f+=i,u=!u;return f%10==0},"Please enter a valid credit card number."),n.validator.addMethod("creditcardtypes",function(n,t,i){if(/[^0-9\-]+/.test(n))return!1;n=n.replace(/\D/g,"");var r=0;return(i.mastercard&&(r|=1),i.visa&&(r|=2),i.amex&&(r|=4),i.dinersclub&&(r|=8),i.enroute&&(r|=16),i.discover&&(r|=32),i.jcb&&(r|=64),i.unknown&&(r|=128),i.all&&(r=255
37),r&1&&(/^(5[12345])/.test(n)||/^(2[234567])/.test(n)))?n.length===16:r&2&&/^(4)/.test(n)?n.length===16:r&4&&/^(3[47])/.test(n)?n.length===15:r&8&&/^(3(0[012345]|[68]))/.test(n)?n.length===14:r&16&&/^(2(014|149))/.test(n)?n.length===15:r&32&&/^(6011)/.test(n)?n.length===16:r&64&&/^(3)/.test(n)?n.length===16:r&64&&/^(2131|1800)/.test(n)?n.length===15:r&128?!0:!1},"Please enter a valid credit card number."),n.validator.addMethod("currency",function(n,t,i){var f=typeof i=="string",r=f?i:i[0],e=f?!0:i[1],u;return r=r.replace(/,/g,""),r=e?r+"]":r+"]?",u="^["+r+"([1-9]{1}[0-9]{0,2}(\\,[0-9]{3})*(\\.[0-9]{0,2})?|[1-9]{1}[0-9]{0,}(\\.[0-9]{0,2})?|0(\\.[0-9]{0,2})?|(\\.[0-9]{1,2})?)$",u=new RegExp(u),this.optional(t)||u.test(n)},"Please specify a valid currency"),n.validator.addMethod("dateFA",function(n,t){return this.optional(t)||/^[1-4]\d{3}\/((0?[1-6]\/((3[0-1])|([1-2][0-9])|(0?[1-9])))|((1[0-2]|(0?[7-9]))\/(30|([1-2][0-9])|(0?[1-9]))))$/.test(n)},n.validator.messages.date),n.validator.addMethod("dateITA",function(n,t){var u=!1,i,f,e,o,r;return/^\d{1,2}\/\d{1,2}\/\d{4}$/.test(n)?(i=n.split("/"),f=parseInt(i[0],10),e=parseInt(i[1],10),o=parseInt(i[2],10),r=new Date(Date.UTC(o,e-1,f,12,0,0,0)),u=r.getUTCFullYear()===o&&r.getUTCMonth()===e-1&&r.getUTCDate()===f?!0:!1):u=!1,this.optional(t)||u},n.validator.messages.date),n.validator.addMethod("dateNL",function(n,t){return this.optional(t)||/^(0?[1-9]|[12]\d|3[01])[\.\/\-](0?[1-9]|1[012])[\.\/\-]([12]\d)?(\d\d)$/.test(n)},n.validator.messages.date),n.validator.addMethod("extension",function(n,t,i){return i=typeof i=="string"?i.replace(/,/g,"|"):"png|jpe?g|gif",this.optional(t)||n.match(new RegExp("\\.("+i+")$","i"))},n.validator.format("Please enter a value with a valid extension.")),n.validator.addMethod("giroaccountNL",function(n,t){return this.optional(t)||/^[0-9]{1,7}$/.test(n)},"Please specify a valid giro account number"),n.validator.addMethod("greaterThan",function(t,i,r){var u=n(r);if(this.settings.onfocusout&&u.not(".validate-greaterThan-blur").length)u.addClass("validate-greaterThan-blur").on("blur.validate-greaterThan",function(){n(i).valid()});return t>u.val()},"Please enter a greater value."),n.validator.addMethod("greaterThanEqual",function(t,i,r){var u=n(r);if(this.settings.onfocusout&&u.not(".validate-greaterThanEqual-blur").length)u.addClass("validate-greaterThanEqual-blur").on("blur.validate-greaterThanEqual",function(){n(i).valid()});return t>=u.val()},"Please enter a greater value."),n.validator.addMethod("iban",function(n,t){if(this.optional(t))return!0;var i=n.replace(/ /g,"").toUpperCase(),f="",c=!0,e="",l="",a,o,s,v,h,y,p,r,u;if(i.length<5||(a=i.substring(0,2),y={AL:"\\d{8}[\\dA-Z]{16}",AD:"\\d{8}[\\dA-Z]{12}",AT:"\\d{16}",AZ:"[\\dA-Z]{4}\\d{20}",BE:"\\d{12}",BH:"[A-Z]{4}[\\dA-Z]{14}",BA:"\\d{16}",BR:"\\d{23}[A-Z][\\dA-Z]",BG:"[A-Z]{4}\\d{6}[\\dA-Z]{8}",CR:"\\d{17}",HR:"\\d{17}",CY:"\\d{8}[\\dA-Z]{16}",CZ:"\\d{20}",DK:"\\d{14}",DO:"[A-Z]{4}\\d{20}",EE:"\\d{16}",FO:"\\d{14}",FI:"\\d{14}",FR:"\\d{10}[\\dA-Z]{11}\\d{2}",GE:"[\\dA-Z]{2}\\d{16}",DE:"\\d{18}",GI:"[A-Z]{4}[\\dA-Z]{15}",GR:"\\d{7}[\\dA-Z]{16}",GL:"\\d{14}",GT:"[\\dA-Z]{4}[\\dA-Z]{20}",HU:"\\d{24}",IS:"\\d{22}",IE:"[\\dA-Z]{4}\\d{14}",IL:"\\d{19}",IT:"[A-Z]\\d{10}[\\dA-Z]{12}",KZ:"\\d{3}[\\dA-Z]{13}",KW:"[A-Z]{4}[\\dA-Z]{22}",LV:"[A-Z]{4}[\\dA-Z]{13}",LB:"\\d{4}[\\dA-Z]{20}",LI:"\\d{5}[\\dA-Z]{12}",LT:"\\d{16}",LU:"\\d{3}[\\dA-Z]{13}",MK:"\\d{3}[\\dA-Z]{10}\\d{2}",MT:"[A-Z]{4}\\d{5}[\\dA-Z]{18}",MR:"\\d{23}",MU:"[A-Z]{4}\\d{19}[A-Z]{3}",MC:"\\d{10}[\\dA-Z]{11}\\d{2}",MD:"[\\dA-Z]{2}\\d{18}",ME:"\\d{18}",NL:"[A-Z]{4}\\d{10}",NO:"\\d{11}",PK:"[\\dA-Z]{4}\\d{16}",PS:"[\\dA-Z]{4}\\d{21}",PL:"\\d{24}",PT:"\\d{21}",RO:"[A-Z]{4}[\\dA-Z]{16}",SM:"[A-Z]\\d{10}[\\dA-Z]{12}",SA:"\\d{2}[\\dA-Z]{18}",RS:"\\d{18}",SK:"\\d{20}",SI:"\\d{15}",ES:"\\d{20}",SE:"\\d{20}",CH:"\\d{5}[\\dA-Z]{12}",TN:"\\d{20}",TR:"\\d{5}[\\dA-Z]{17}",AE:"\\d{3}\\d{16}",GB:"[A-Z]{4}\\d{14}",VG:"[\\dA-Z]{4}\\d{16}"},h=y[a],typeof h!="undefined"&&(p=new RegExp("^[A-Z]{2}\\d{2}"+h+"$",""),!p.test(i))))return!1;for(o=i.substring(4,i.length)+i.substring(0,4),r=0;r<o.length;r++)s=o.charAt(r),s!=="0"&&(c=!1),c||(f+="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ".indexOf(s));for(u=0;
37u<f.length;u++)v=f.charAt(u),l=""+e+""+v,e=l%97;return e===1},"Please specify a valid IBAN"),n.validator.addMethod("integer",function(n,t){return this.optional(t)||/^-?\d+$/.test(n)},"A positive or negative non-decimal number please"),n.validator.addMethod("ipv4",function(n,t){return this.optional(t)||/^(25[0-5]|2[0-4]\d|[01]?\d\d?)\.(25[0-5]|2[0-4]\d|[01]?\d\d?)\.(25[0-5]|2[0-4]\d|[01]?\d\d?)\.(25[0-5]|2[0-4]\d|[01]?\d\d?)$/i.test(n)},"Please enter a valid IP v4 address."),n.validator.addMethod("ipv6",function(n,t){return this.optional(t)||/^((([0-9A-Fa-f]{1,4}:){7}[0-9A-Fa-f]{1,4})|(([0-9A-Fa-f]{1,4}:){6}:[0-9A-Fa-f]{1,4})|(([0-9A-Fa-f]{1,4}:){5}:([0-9A-Fa-f]{1,4}:)?[0-9A-Fa-f]{1,4})|(([0-9A-Fa-f]{1,4}:){4}:([0-9A-Fa-f]{1,4}:){0,2}[0-9A-Fa-f]{1,4})|(([0-9A-Fa-f]{1,4}:){3}:([0-9A-Fa-f]{1,4}:){0,3}[0-9A-Fa-f]{1,4})|(([0-9A-Fa-f]{1,4}:){2}:([0-9A-Fa-f]{1,4}:){0,4}[0-9A-Fa-f]{1,4})|(([0-9A-Fa-f]{1,4}:){6}((\b((25[0-5])|(1\d{2})|(2[0-4]\d)|(\d{1,2}))\b)\.){3}(\b((25[0-5])|(1\d{2})|(2[0-4]\d)|(\d{1,2}))\b))|(([0-9A-Fa-f]{1,4}:){0,5}:((\b((25[0-5])|(1\d{2})|(2[0-4]\d)|(\d{1,2}))\b)\.){3}(\b((25[0-5])|(1\d{2})|(2[0-4]\d)|(\d{1,2}))\b))|(::([0-9A-Fa-f]{1,4}:){0,5}((\b((25[0-5])|(1\d{2})|(2[0-4]\d)|(\d{1,2}))\b)\.){3}(\b((25[0-5])|(1\d{2})|(2[0-4]\d)|(\d{1,2}))\b))|([0-9A-Fa-f]{1,4}::([0-9A-Fa-f]{1,4}:){0,5}[0-9A-Fa-f]{1,4})|(::([0-9A-Fa-f]{1,4}:){0,6}[0-9A-Fa-f]{1,4})|(([0-9A-Fa-f]{1,4}:){1,7}:))$/i.test(n)},"Please enter a valid IP v6 address."),n.validator.addMethod("lessThan",function(t,i,r){var u=n(r);if(this.settings.onfocusout&&u.not(".validate-lessThan-blur").length)u.addClass("validate-lessThan-blur").on("blur.validate-lessThan",function(){n(i).valid()});return t<u.val()},"Please enter a lesser value."),n.validator.addMethod("lessThanEqual",function(t,i,r){var u=n(r);if(this.settings.onfocusout&&u.not(".validate-lessThanEqual-blur").length)u.addClass("validate-lessThanEqual-blur").on("blur.validate-lessThanEqual",function(){n(i).valid()});return t<=u.val()},"Please enter a lesser value."),n.validator.addMethod("lettersonly",function(n,t){return this.optional(t)||/^[a-z]+$/i.test(n)},"Letters only please"),n.validator.addMethod("letterswithbasicpunc",function(n,t){return this.optional(t)||/^[a-z\-.,()'"\s]+$/i.test(n)},"Letters or punctuation only please"),n.validator.addMethod("maxfiles",function(t,i,r){return this.optional(i)?!0:n(i).attr("type")==="file"&&i.files&&i.files.length>r?!1:!0},n.validator.format("Please select no more than {0} files.")),n.validator.addMethod("maxsize",function(t,i,r){if(this.optional(i))return!0;if(n(i).attr("type")==="file"&&i.files&&i.files.length)for(var u=0;u<i.files.length;u++)if(i.files[u].size>r)return!1;return!0},n.validator.format("File size must not exceed {0} bytes each.")),n.validator.addMethod("maxsizetotal",function(t,i,r){var f,u;if(this.optional(i))return!0;if(n(i).attr("type")==="file"&&i.files&&i.files.length)for(f=0,u=0;u<i.files.length;u++)if(f+=i.files[u].size,f>r)return!1;return!0},n.validator.format("Total size of all files must not exceed {0} bytes.")),n.validator.addMethod("mobileNL",function(n,t){return this.optional(t)||/^((\+|00(\s|\s?\-\s?)?)31(\s|\s?\-\s?)?(\(0\)[\-\s]?)?|0)6((\s|\s?\-\s?)?[0-9]){8}$/.test(n)},"Please specify a valid mobile number"),n.validator.addMethod("mobileRU",function(n,t){var i=n.replace(/\(|\)|\s+|-/g,"");return this.optional(t)||i.length>9&&/^((\+7|7|8)+([0-9]){10})$/.test(i)},"Please specify a valid mobile number"),n.validator.addMethod("mobileUK",function(n,t){return n=n.replace(/\(|\)|\s+|-/g,""),this.optional(t)||n.length>9&&n.match(/^(?:(?:(?:00\s?|\+)44\s?|0)7(?:[1345789]\d{2}|624)\s?\d{3}\s?\d{3})$/)},"Please specify a valid mobile number"),n.validator.addMethod("netmask",function(n,t){return this.optional(t)||/^(254|252|248|240|224|192|128)\.0\.0\.0|255\.(254|252|248|240|224|192|128|0)\.0\.0|255\.255\.(254|252|248|240|224|192|128|0)\.0|255\.255\.255\.(254|252|248|240|224|192|128|0)/i.test(n)},"Please enter a valid netmask."),n.validator.addMethod("nieES",function(n,t){"use strict";if(this.optional(t))return!0;var r=new RegExp(/^[MXYZ]{1}[0-9]{7,8}[TRWAGMYFPDXBNJZSQVHLCKET]{1}$/gi),u=n.substr(n.length-1).toUpperCase(),i;return(n=n.toString().toUpperCase(),n.length>10||n.length<9||!r.test(n))?!1:(n=n.replace(/^[X]/,"0").replace(/^[Y]/,"1").replace(/^[Z]/,"2"),i=n.length===9?n.substr(0,8):n.substr(0,9),"TRWAGMYFPDXBNJZSQVHLCKET".charAt(parseInt(i,10)%23)===u)},"Please specify a valid NIE number."),n.validator.addMethod("nifES",function(n,t){"use strict";return this.optional(t)?!0:(n=n.toUpperCase(),!n.match("((^[A-Z]{1}[0-9]{7}[A-Z0-9]{1}$|^[T]{1}[A-Z0-9]{8}$)|^[0-9]{8}[A-Z]{1}$)"))?!1:/^[0-9]{8}[A-Z]{1}$/.test(n)?"TRWAGMYFPDXBNJZSQVHLCKE".charAt(n.substring(8,0)%23)===n.charAt(8):/^[KLM]{1}/.test(n)?n[8]==="TRWAGMYFPDXBNJZSQVHLCKE".charAt(n.substring(8,1)%23):!1},"Please specify a valid NIF number."),n.validator.addMethod("nipPL",function(n){"use strict";var u,i,t,r,f;if(n=n.replace(/[^0-9]/g,""),n.length!==10)return!1;for(u=[6,5,7,2,3,4,5,6,7],i=0,t=0;t<9;t++)i+=u[t]*n[t];return r=i%11,f=r===10?0:r,f===parseInt(n[9],10)},"Please specify a valid NIP number."),n.validator.addMethod("nisBR",function(n){var r,f,e=0,i,t,u;if(n=n.replace(/([~!@#$%^&*()_+=`{}\[\]\-|\\:;'<>,.\/? ])+/g,""),n.length!==11)return!1;for(f=parseInt(n.substring(10,11),10),r=parseInt(n.substring(0,10),10),t=2;t<12;t++)u=t,t===10&&(u=2),t===11&&(u=3),e+=r%10*u,r=parseInt(r/10,10);return i=e%11,i=i>1?11-i:0,f===i?!0:!1},"Please specify a valid NIS/PIS number"),n.validator.addMethod("notEqualTo",function(t,i,r){return this.optional(i)||!n.validator.methods.equalTo.call(this,t,i,r)},"Please enter a different value, values must not be the same."),n.validator.addMethod("nowhitespace",function(n,t){return this.optional(t)||/^\S+$/i.test(n)},"No white space please"),n.validator.addMethod("pattern",function(n,t,i){return this.optional(t)?!0:(typeof i=="string"&&(i=new RegExp("^(?:"+i+")$")),i.test(n))},"Invalid format."),n.validator.addMethod("phoneNL",function(n,t){return this.optional(t)||/^((\+|00(\s|\s?\-\s?)?)31(\s|\s?\-\s?)?(\(0\)[\-\s]?)?|0)[1-9]((\s|\s?\-\s?)?[0-9]){8}$/.test(n)},"Please specify a valid phone number."),n.validator.addMethod("phonePL",function(n,t){n=n.replace(/\s+/g,"");
37return this.optional(t)||/^(?:(?:(?:\+|00)?48)|(?:\(\+?48\)))?(?:1[2-8]|2[2-69]|3[2-49]|4[1-68]|5[0-9]|6[0-35-9]|[7-8][1-9]|9[145])\d{7}$/.test(n)},"Please specify a valid phone number"),n.validator.addMethod("phonesUK",function(n,t){return n=n.replace(/\(|\)|\s+|-/g,""),this.optional(t)||n.length>9&&n.match(/^(?:(?:(?:00\s?|\+)44\s?|0)(?:1\d{8,9}|[23]\d{9}|7(?:[1345789]\d{8}|624\d{6})))$/)},"Please specify a valid uk phone number"),n.validator.addMethod("phoneUK",function(n,t){return n=n.replace(/\(|\)|\s+|-/g,""),this.optional(t)||n.length>9&&n.match(/^(?:(?:(?:00\s?|\+)44\s?)|(?:\(?0))(?:\d{2}\)?\s?\d{4}\s?\d{4}|\d{3}\)?\s?\d{3}\s?\d{3,4}|\d{4}\)?\s?(?:\d{5}|\d{3}\s?\d{3})|\d{5}\)?\s?\d{4,5})$/)},"Please specify a valid phone number"),n.validator.addMethod("phoneUS",function(n,t){return n=n.replace(/\s+/g,""),this.optional(t)||n.length>9&&n.match(/^(\+?1-?)?(\([2-9]([02-9]\d|1[02-9])\)|[2-9]([02-9]\d|1[02-9]))-?[2-9]\d{2}-?\d{4}$/)},"Please specify a valid phone number"),n.validator.addMethod("postalcodeBR",function(n,t){return this.optional(t)||/^\d{2}.\d{3}-\d{3}?$|^\d{5}-?\d{3}?$/.test(n)},"Informe um CEP válido."),n.validator.addMethod("postalCodeCA",function(n,t){return this.optional(t)||/^[ABCEGHJKLMNPRSTVXY]\d[ABCEGHJKLMNPRSTVWXYZ] *\d[ABCEGHJKLMNPRSTVWXYZ]\d$/i.test(n)},"Please specify a valid postal code"),n.validator.addMethod("postalcodeIT",function(n,t){return this.optional(t)||/^\d{5}$/.test(n)},"Please specify a valid postal code"),n.validator.addMethod("postalcodeNL",function(n,t){return this.optional(t)||/^[1-9][0-9]{3}\s?[a-zA-Z]{2}$/.test(n)},"Please specify a valid postal code"),n.validator.addMethod("postcodeUK",function(n,t){return this.optional(t)||/^((([A-PR-UWYZ][0-9])|([A-PR-UWYZ][0-9][0-9])|([A-PR-UWYZ][A-HK-Y][0-9])|([A-PR-UWYZ][A-HK-Y][0-9][0-9])|([A-PR-UWYZ][0-9][A-HJKSTUW])|([A-PR-UWYZ][A-HK-Y][0-9][ABEHMNPRVWXY]))\s?([0-9][ABD-HJLNP-UW-Z]{2})|(GIR)\s?(0AA))$/i.test(n)},"Please specify a valid UK postcode"),n.validator.addMethod("require_from_group",function(t,i,r){var u=n(r[1],i.form),f=u.eq(0),e=f.data("valid_req_grp")?f.data("valid_req_grp"):n.extend({},this),o=u.filter(function(){return e.elementValue(this)}).length>=r[0];return f.data("valid_req_grp",e),n(i).data("being_validated")||(u.data("being_validated",!0),u.each(function(){e.element(this)}),u.data("being_validated",!1)),o},n.validator.format("Please fill at least {0} of these fields.")),n.validator.addMethod("skip_or_fill_minimum",function(t,i,r){var u=n(r[1],i.form),f=u.eq(0),e=f.data("valid_skip")?f.data("valid_skip"):n.extend({},this),o=u.filter(function(){return e.elementValue(this)}).length,s=o===0||o>=r[0];return f.data("valid_skip",e),n(i).data("being_validated")||(u.data("being_validated",!0),u.each(function(){e.element(this)}),u.data("being_validated",!1)),s},n.validator.format("Please either skip these fields or fill at least {0} of them.")),n.validator.addMethod("stateUS",function(n,t,i){var u=typeof i=="undefined",o=u||typeof i.caseSensitive=="undefined"?!1:i.caseSensitive,f=u||typeof i.includeTerritories=="undefined"?!1:i.includeTerritories,e=u||typeof i.includeMilitary=="undefined"?!1:i.includeMilitary,r;return r=f||e?f&&e?"^(A[AEKLPRSZ]|C[AOT]|D[CE]|FL|G[AU]|HI|I[ADLN]|K[SY]|LA|M[ADEINOPST]|N[CDEHJMVY]|O[HKR]|P[AR]|RI|S[CD]|T[NX]|UT|V[AIT]|W[AIVY])$":f?"^(A[KLRSZ]|C[AOT]|D[CE]|FL|G[AU]|HI|I[ADLN]|K[SY]|LA|M[ADEINOPST]|N[CDEHJMVY]|O[HKR]|P[AR]|RI|S[CD]|T[NX]|UT|V[AIT]|W[AIVY])$":"^(A[AEKLPRZ]|C[AOT]|D[CE]|FL|GA|HI|I[ADLN]|K[SY]|LA|M[ADEINOST]|N[CDEHJMVY]|O[HKR]|PA|RI|S[CD]|T[NX]|UT|V[AT]|W[AIVY])$":"^(A[KLRZ]|C[AOT]|D[CE]|FL|GA|HI|I[ADLN]|K[SY]|LA|M[ADEINOST]|N[CDEHJMVY]|O[HKR]|PA|RI|S[CD]|T[NX]|UT|V[AT]|W[AIVY])$",r=o?new RegExp(r):new RegExp(r,"i"),this.optional(t)||r.test(n)},"Please specify a valid state"),n.validator.addMethod("strippedminlength",function(t,i,r){return n(t).text().length>=r},n.validator.format("Please enter at least {0} characters")),n.validator.addMethod("time",function(n,t){return this.optional(t)||/^([01]\d|2[0-3]|[0-9])(:[0-5]\d){1,2}$/.test(n)},"Please enter a valid time, between 00:00 and 23:59"),n.validator.addMethod("time12h",function(n,t){return this.optional(t)||/^((0?[1-9]|1[012])(:[0-5]\d){1,2}(\ ?[AP]M))$/i.test(n)},"Please enter a valid time in 12-hour am/pm format"),n.validator.addMethod("url2",function(n,t){return this.optional(t)||/^(https?|ftp):\/\/(((([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.test(n)},n.validator.messages.url),n.validator.addMethod("vinUS",function(n){if(n.length!==17)return!1;for(var e=["A","B","C","D","E","F","G","H","J","K","L","M","N","P","R","S","T","U","V","W","X","Y","Z"],h=[1,2,3,4,5,6,7,8,1,2,3,4,5,7,9,2,3,4,5,6,7,8,9],c=[8,7,6,5,4,3,2,10,0,9,8,7,6,5,4,3,2],s=0,r,t,o,u,f,i=0;i<17;i++){if(o=c[i],t=n.slice(i,i+1),i===8&&(f=t),isNaN(t)){for(r=0;r<e.length;r++)if(t.toUpperCase()===e[r]){t=h[r];t*=o;isNaN(f)&&r===8&&(f=e[r]);break}}else t*=o;s+=t}return(u=s%11,u===10&&(u="X"),u===f)?!0:!1}
37,"The specified vehicle identification number (VIN) is invalid."),n.validator.addMethod("zipcodeUS",function(n,t){return this.optional(t)||/^\d{5}(-\d{4})?$/.test(n)},"The specified US ZIP Code is invalid"),n.validator.addMethod("ziprange",function(n,t){return this.optional(t)||/^90[2-5]\d\{2\}-\d{4}$/.test(n)},"Your ZIP-code must be in the range 902xx-xxxx to 905xx-xxxx"),n}),function(n){typeof define=="function"&&define.amd?define("jquery.validate.unobtrusive",["jquery-validation"],n):typeof module=="object"&&module.exports?module.exports=n(require("jquery-validation")):jQuery.validator.unobtrusive=n(jQuery)}(function(n){function i(n,t,i){n.rules[t]=i;n.message&&(n.messages[t]=n.message)}function h(n){return n.replace(/^\s+|\s+$/g,"").split(/\s*,\s*/g)}function f(n){return n.replace(/([!"#$%&'()*+,./:;<=>?@\[\\\]^`{|}~])/g,"\\$1")}function e(n){return n.substr(0,n.lastIndexOf(".")+1)}function o(n,t){return n.indexOf("*.")===0&&(n=n.replace("*.",t)),n}function c(t,i){var r=n(this).find("[data-valmsg-for='"+f(i[0].name)+"']"),u=r.attr("data-valmsg-replace"),e=u?n.parseJSON(u)!==!1:null;r.removeClass("field-validation-valid").addClass("field-validation-error");t.data("unobtrusiveContainer",r);e?(r.empty(),t.removeClass("input-validation-error").appendTo(r)):t.hide()}function l(t,i){var u=n(this).find("[data-valmsg-summary=true]"),r=u.find("ul");r&&r.length&&i.errorList.length&&(r.empty(),u.addClass("validation-summary-errors").removeClass("validation-summary-valid"),n.each(i.errorList,function(){n("<li />").html(this.message).appendTo(r)}))}function a(t){var i=t.data("unobtrusiveContainer"),r,u;i&&(r=i.attr("data-valmsg-replace"),u=r?n.parseJSON(r):null,i.addClass("field-validation-valid").removeClass("field-validation-error"),t.removeData("unobtrusiveContainer"),u&&i.empty())}function v(){var t=n(this),i="__jquery_unobtrusive_validation_form_reset";if(!t.data(i)){t.data(i,!0);try{t.data("validator").resetForm()}finally{t.removeData(i)}t.find(".validation-summary-errors").addClass("validation-summary-valid").removeClass("validation-summary-errors");t.find(".field-validation-error").addClass("field-validation-valid").removeClass("field-validation-error").removeData("unobtrusiveContainer").find(">*").removeData("unobtrusiveContainer")}}function s(t){var i=n(t),f=i.data(u),s=n.proxy(v,t),e=r.unobtrusive.options||{},o=function(i,r){var u=e[i];u&&n.isFunction(u)&&u.apply(t,r)};return f||(f={options:{errorClass:e.errorClass||"input-validation-error",errorElement:e.errorElement||"span",errorPlacement:function(){c.apply(t,arguments);o("errorPlacement",arguments)},invalidHandler:function(){l.apply(t,arguments);o("invalidHandler",arguments)},messages:{},rules:{},success:function(){a.apply(t,arguments);o("success",arguments)}},attachValidation:function(){i.off("reset."+u,s).on("reset."+u,s).validate(this.options)},validate:function(){return i.validate(),i.valid()}},i.data(u,f)),f}var r=n.validator,t,u="unobtrusiveValidation";return r.unobtrusive={adapters:[],parseElement:function(t,i){var u=n(t),f=u.parents("form")[0],r,e,o;f&&(r=s(f),r.options.rules[t.name]=e={},r.options.messages[t.name]=o={},n.each(this.adapters,function(){var i="data-val-"+this.name,r=u.attr(i),s={};r!==undefined&&(i+="-",n.each(this.params,function(){s[this]=u.attr(i+this)}),this.adapt({element:t,form:f,message:r,params:s,rules:e,messages:o}))}),n.extend(e,{__dummy__:!0}),i||r.attachValidation())},parse:function(t){var i=n(t),u=i.parents().addBack().filter("form").add(i.find("form")).has("[data-val=true]");i.find("[data-val=true]").each(function(){r.unobtrusive.parseElement(this,!0)});u.each(function(){var n=s(this);n&&n.attachValidation()})}},t=r.unobtrusive.adapters,t.add=function(n,t,i){return i||(i=t,t=[]),this.push({name:n,params:t,adapt:i}),this},t.addBool=function(n,t){return this.add(n,function(r){i(r,t||n,!0)})},t.addMinMax=function(n,t,r,u,f,e){return this.add(n,[f||"min",e||"max"],function(n){var f=n.params.min,e=n.params.max;f&&e?i(n,u,[f,e]):f?i(n,t,f):e&&i(n,r,e)})},t.addSingleVal=function(n,t,r){return this.add(n,[t||"val"],function(u){i(u,r||n,u.params[t])})},r.addMethod("__dummy__",function(){return!0}),r.addMethod("regex",function(n,t,i){var r;return this.optional(t)?!0:(r=new RegExp(i).exec(n),r&&r.index===0&&r[0].length===n.length)}),r.addMethod("nonalphamin",function(n,t,i){var r;return i&&(r=n.match(/\W/g),r=r&&r.length>=i),r}),r.methods.extension?(t.addSingleVal("accept","mimtype"),t.addSingleVal("extension","extension")):t.addSingleVal("extension","extension","accept"),t.addSingleVal("regex","pattern"),t.addBool("creditcard").addBool("date").addBool("digits").addBool("email").addBool("number").addBool("url"),t.addMinMax("length","minlength","maxlength","rangelength").addMinMax("range","min","max","range"),t.addMinMax("minlength","minlength").addMinMax("maxlength","minlength","maxlength"),t.add("equalto",["other"],function(t){var r=e(t.element.name),u=t.params.other,s=o(u,r),h=n(t.form).find(":input").filter("[name='"+f(s)+"']")[0];i(t,"equalTo",h)}),t.add("required",function(n){(n.element.tagName.toUpperCase()!=="INPUT"||n.element.type.toUpperCase()!=="CHECKBOX")&&i(n,"required",!0)}),t.add("remote",["url","type","additionalfields"],function(t){var r={url:t.params.url,type:t.params.type||"GET",data:{}},u=e(t.element.name);n.each(h(t.params.additionalfields||t.element.name),function(i,e){var s=o(e,u);r.data[s]=function(){var i=n(t.form).find(":input").filter("[name='"+f(s)+"']");return i.is(":checkbox")?i.filter(":checked").val()||i.filter(":hidden").val()||"":i.is(":radio")?i.filter(":checked").val()||"":i.val()}});i(t,"remote",r)}),t.add("password",["min","nonalphamin","regex"],function(n){n.params.min&&i(n,"minlength",n.params.min);n.params.nonalphamin&&i(n,"nonalphamin",n.params.nonalphamin);
vendor: 5,714 bytes, lines 37-56
37n.params.regex&&i(n,"regex",n.params.regex)}),t.add("fileextensions",["extensions"],function(n){i(n,"extension",n.params.extensions)}),n(function(){r.unobtrusive.parse(document)}),r.unobtrusive});
38/*!
39FullCalendar v5.5.0
40Docs & License: https://fullcalendar.io/
41(c) 2020 Adam Shaw
42*/
43FullCalendar=function(n){"use strict";
44/*! *****************************************************************************
45    Copyright (c) Microsoft Corporation.
46    Permission to use, copy, modify, and/or distribute this software for any
47    purpose with or without fee is hereby granted.
48    THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
49    REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
50    AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
51    INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
52    LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
53    OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
54    PERFORMANCE OF THIS SOFTWARE.
55    ***************************************************************************** */
56function u(n,t){function i(){this.constructor=n}ge(n,t);n.prototype=t===null?Object.create(t):(i.prototype=t.prototype,new i)}function v(){for(var i=0,n=0,r=arguments.length;n<r;n++)i+=arguments[n].length;for(var u=Array(i),f=0,n=0;n<r;n++)for(var e=arguments[n],t=0,o=e.length;t<o;t++,f++)u[f]=e[t];return u}function pt(n,t){for(var i in t)n[i]=t[i];return n}function tl(n){var t=n.parentNode;t&&t.removeChild(n)}function lu(n,t,i){var f,e,r,o=arguments,u={};for(r in t)"key"==r?f=t[r]:"ref"==r?e=t[r]:u[r]=t[r];if(arguments.length>3)for(i=[i],r=3;r<arguments.length;r++)i.push(o[r]);if(null!=i&&(u.children=i),"function"==typeof n&&null!=n.defaultProps)for(r in n.defaultProps)void 0===u[r]&&(u[r]=n.defaultProps[r]);return au(n,u,f,e,null)}function au(n,t,i,r,u){var f={type:n,props:t,key:i,ref:r,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:null==u?++s.__v:u};return null!=s.vnode&&s.vnode(f),f}function nd(){return{current:null}}function ur(n){return n.children}function ci(n,t){this.props=n;this.context=t}function fr(n,t){if(null==t)return n.__?fr(n.__,n.__.__k.indexOf(n)+1):null;for(var i;t<n.__k.length;t++)if(null!=(i=n.__k[t])&&null!=i.__e)return i.__e;return"function"==typeof n.type?fr(n):null}function il(n){var t,i;if(null!=(n=n.__)&&null!=n.__c){for(n.__e=n.__c.base=null,t=0;t<n.__k.length;t++)if(null!=(i=n.__k[t])&&null!=i.__e){n.__e=n.__c.base=i.__e;break}return il(n)}}function to(n){(!n.__d&&(n.__d=!0)&&rr.push(n)&&!vu.__r++||dc!==s.debounceRendering)&&((dc=s.debounceRendering)||kc)(vu)}function vu(){for(var n;vu.__r=rr.length;)n=rr.sort(function(n,t){return n.__v.__b-t.__v.__b}),rr=[],n.some(function(n){var r,u,e,o,t,i,f;n.__d&&(i=(t=(r=n).__v).__e,(f=r.__P)&&(u=[],(e=pt({},t)).__v=t.__v+1,o=io(f,t,e,r.__n,void 0!==f.ownerSVGElement,null!=t.__h?[i]:null,u,null==i?fr(t):i,t.__h),ol(u,t),o!=i&&il(t)))})}function rl(n,t,i,r,u,f,e,o,s,h){var l,p,a,c,w,b,v,y=r&&r.__k||no,k=y.length;for(s==yt&&(s=null!=e?e[0]:k?fr(r,0):null),i.__k=[],l=0;l<t.length;l++)if(null!=(c=i.__k[l]=null==(c=t[l])||"boolean"==typeof c?null:"string"==typeof c||"number"==typeof c?au(null,c,null,null,c):Array.isArray(c)?au(ur,{children:c},null,null,null):null!=c.__e||null!=c.__c?au(c.type,c.props,c.key,null,c.__v):c)){if(c.__=i,c.__b=i.__b+1,null===(a=y[l])||a&&c.key==a.key&&c.type===a.type)y[l]=void 0;else for(p=0;p<k;p++){if((a=y[p])&&c.key==a.key&&c.type===a.type){y[p]=void 0;break}a=null}w=io(n,c,a=a||yt,u,f,e,o,s,h);(p=c.ref)&&a.ref!=p&&(v||(v=[]),a.ref&&v.push(a.ref,null,c),v.push(p,c.__c||w,c));null!=w?(null==b&&(b=w),s=ul(n,c,a,y,e,w,s),h||"option"!=i.type?"function"==typeof i.type&&(i.__d=s):n.value=""):s&&a.__e==s&&s.parentNode!=n&&(s=fr(a))}if(i.__e=b,null!=e&&"function"!=typeof i.type)for(l=e.length;l--;)null!=e[l]&&tl(e[l]);for(l=k;l--;)null!=y[l]&&hl(y[l],y[l]);if(v)for(l=0;l<v.length;l++)sl(v[l],v[++l],v[++l])}function ul(n,t,i,r,u,f,e){var o,s,h;if(void 0!==t.__d)o=t.__d,t.__d=void 0;else if(u==i||f!=e||null==f.parentNode)n:if(null==e||e.parentNode!==n)n.appendChild(f),o=null;else{for(s=e,h=0;(s=s.nextSibling)&&h<r.length;h+=2)if(s==f)break n;n.insertBefore(f,e);o=e}return void 0!==o?o:f.nextSibling}function td(n,t,i,r,u){for(var f in i)"children"===f||"key"===f||f in t||yu(n,f,null,i[f],r);for(f in t)u&&"function"!=typeof t[f]||"children"===f||"key"===f||"value"===f||"checked"===f||i[f]===t[f]||yu(n,f,t[f],i[f],r)}function fl(n,t,i){"-"===t[0]?n.setProperty(t,i):n[t]=null==i?"":"number"!=typeof i||gk.test(t)?i:i+"px"}function yu(n,t,i,r,u){var f,o,e;if(u&&"className"==t&&(t="class"),"style"===t)if("string"==typeof i)n.style.cssText=i;else{if("string"==typeof r&&(n.style.cssText=r=""),r)for(t in r)i&&t in i||fl(n.style,t,"");if(i)for(t in i)r&&i[t]===r[t]||fl(n.style,t,i[t])}else"o"===t[0]&&"n"===t[1]?(f=t!==(t=t.replace(/Capture$/,"")),(o=t.toLowerCase())in n&&(t=o),t=t.slice(2),n.l||(n.l={}),n.l[t+f]=i,e=f?rd:id,i?r||n.addEventListener(t,e,f):n.removeEventListener(t,e,f)):"list"!==t&&"tagName"!==t&&"form"!==t&&"type"!==t&&"size"!==t&&"download"!==t&&"href"!==t&&!u&&t in n?n[t]=null==i?"":i:"function"!=typeof i&&"dangerouslySetInnerHTML"!==t&&(t!==(t=t.replace(/xlink:?/,""))?null==i||!1===i?n.removeAttributeNS("http://www.w3.org/1999/xlink",t.toLowerCase()):n.setAttributeNS("http://www.w3.org/1999/xlink",t.toLowerCase(),i):null==i||!1===i&&!/^ar/.test(t)?n.removeAttribute(t):n.setAttribute(t,i))}function id(n){this.l[n.type+!1](s.event?s.event(n):n)}function rd(n){this.l[n.type+!0](s.event?s.event(n):n)}function el(n,t,i){for(var r,u=0;
56u<n.__k.length;u++)(r=n.__k[u])&&(r.__=n,r.__e&&("function"==typeof r.type&&r.__k.length>1&&el(r,t,i),t=ul(i,r,r,n.__k,null,r.__e,t),"function"==typeof n.type&&(n.__d=t)))}function io(n,t,i,r,u,f,e,o,h){var l,c,k,w,d,g,nt,a,p,y,b,v=t.type;if(void 0!==t.constructor)return null;null!=i.__h&&(h=i.__h,o=t.__e=i.__e,t.__h=null,f=[o]);(l=s.__b)&&l(t);try{n:if("function"==typeof v){if(a=t.props,p=(l=v.contextType)&&r[l.__c],y=l?p?p.props.value:l.__:r,i.__c?nt=(c=t.__c=i.__c).__=c.__E:("prototype"in v&&v.prototype.render?t.__c=c=new v(a,y):(t.__c=c=new ci(a,y),c.constructor=v,c.render=fd),p&&p.sub(c),c.props=a,c.state||(c.state={}),c.context=y,c.__n=r,k=c.__d=!0,c.__h=[]),null==c.__s&&(c.__s=c.state),null!=v.getDerivedStateFromProps&&(c.__s==c.state&&(c.__s=pt({},c.__s)),pt(c.__s,v.getDerivedStateFromProps(a,c.__s))),w=c.props,d=c.state,k)null==v.getDerivedStateFromProps&&null!=c.componentWillMount&&c.componentWillMount(),null!=c.componentDidMount&&c.__h.push(c.componentDidMount);else{if(null==v.getDerivedStateFromProps&&a!==w&&null!=c.componentWillReceiveProps&&c.componentWillReceiveProps(a,y),!c.__e&&null!=c.shouldComponentUpdate&&!1===c.shouldComponentUpdate(a,c.__s,y)||t.__v===i.__v){c.props=a;c.state=c.__s;t.__v!==i.__v&&(c.__d=!1);c.__v=t;t.__e=i.__e;t.__k=i.__k;c.__h.length&&e.push(c);el(t,o,n);break n}null!=c.componentWillUpdate&&c.componentWillUpdate(a,c.__s,y);null!=c.componentDidUpdate&&c.__h.push(function(){c.componentDidUpdate(w,d,g)})}c.context=y;c.props=a;c.state=c.__s;(l=s.__r)&&l(t);c.__d=!1;c.__v=t;c.__P=n;l=c.render(c.props,c.state,c.context);c.state=c.__s;null!=c.getChildContext&&(r=pt(pt({},r),c.getChildContext()));k||null==c.getSnapshotBeforeUpdate||(g=c.getSnapshotBeforeUpdate(w,d));b=null!=l&&l.type==ur&&null==l.key?l.props.children:l;rl(n,Array.isArray(b)?b:[b],t,i,r,u,f,e,o,h);c.base=t.__e;t.__h=null;c.__h.length&&e.push(c);nt&&(c.__E=c.__=null);c.__e=!1}else null==f&&t.__v===i.__v?(t.__k=i.__k,t.__e=i.__e):t.__e=ud(i.__e,t,i,r,u,f,e,h);(l=s.diffed)&&l(t)}catch(n){t.__v=null;(h||null!=f)&&(t.__e=o,t.__h=!!h,f[f.indexOf(o)]=null);s.__e(n,t,i)}return t.__e}function ol(n,t){s.__c&&s.__c(t,n);n.some(function(t){try{n=t.__h;t.__h=[];n.some(function(n){n.call(t)})}catch(n){s.__e(n,t.__v)}})}function ud(n,t,i,r,u,f,e,o){var s,a,y,c,v,l=i.props,h=t.props;if(u="svg"===t.type||u,null!=f)for(s=0;s<f.length;s++)if(null!=(a=f[s])&&((null===t.type?3===a.nodeType:a.localName===t.type)||n==a)){n=a;f[s]=null;break}if(null==n){if(null===t.type)return document.createTextNode(h);n=u?document.createElementNS("http://www.w3.org/2000/svg",t.type):document.createElement(t.type,h.is&&{is:h.is});f=null;o=!1}if(null===t.type)l===h||o&&n.data===h||(n.data=h);else{if(null!=f&&(f=no.slice.call(n.childNodes)),y=(l=i.props||yt).dangerouslySetInnerHTML,c=h.dangerouslySetInnerHTML,!o){if(null!=f)for(l={},v=0;v<n.attributes.length;v++)l[n.attributes[v].name]=n.attributes[v].value;(c||y)&&(c&&(y&&c.__html==y.__html||c.__html===n.innerHTML)||(n.innerHTML=c&&c.__html||""))}td(n,h,l,u,o);c?t.__k=[]:(s=t.props.children,rl(n,Array.isArray(s)?s:[s],t,i,r,"foreignObject"!==t.type&&u,f,e,yt,o));o||("value"in h&&void 0!==(s=h.value)&&(s!==n.value||"progress"===t.type&&!s)&&yu(n,"value",s,l.value,!1),"checked"in h&&void 0!==(s=h.checked)&&s!==n.checked&&yu(n,"checked",s,l.checked,!1))}return n}function sl(n,t,i){try{"function"==typeof n?n(t):n.current=t}catch(n){s.__e(n,i)}}function hl(n,t,i){var r,f,u;if(s.unmount&&s.unmount(n),(r=n.ref)&&(r.current&&r.current!==n.__e||sl(r,null,t)),i||"function"==typeof n.type||(i=null!=(f=n.__e)),n.__e=n.__d=void 0,null!=(r=n.__c)){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(n){s.__e(n,t)}r.base=r.__P=null}if(r=n.__k)for(u=0;u<r.length;u++)r[u]&&hl(r[u],t,i);null!=f&&tl(f)}function fd(n,t,i){return this.constructor(n,i)}function ro(n,t,i){var r,u,f;s.__&&s.__(n,t);u=(r=i===gc)?null:i&&i.__k||t.__k;n=lu(ur,null,[n]);f=[];io(t,(r?t:i||t).__k=n,u||yt,yt,void 0!==t.ownerSVGElement,i&&!r?[i]:u?null:t.childNodes.length?no.slice.call(t.childNodes):null,f,i||yt,r);ol(f,n)}function ed(n,t){var i={__c:t="__cC"+nl++,__:n,Consumer:function(n,t){return n.children(t)},Provider:function(n,i,r){return this.getChildContext||(i=[],(r={})[t]=this,this.getChildContext=function(){return r},this.shouldComponentUpdate=function(n){this.props.value!==n.value&&i.some(to)},this.sub=function(n){i.push(n);var t=n.componentWillUnmount;n.componentWillUnmount=function(){i.splice(i.indexOf(n),1);t&&t.call(n)}}),n.children}};return i.Provider.__=i.Consumer.contextType=i}function od(){function i(t){n.push(t)}var t=s.debounceRendering,n=[];for(s.debounceRendering=i,ro(lu(cl,{}),document.createElement("div"));n.length;)n.shift()();s.debounceRendering=t}function sd(n){var t=ed(n),i=t.Provider;return t.Provider=function(){var t=this,r=!this.getChildContext,u=i.apply(this,arguments),n;return r&&(n=[],this.shouldComponentUpdate=function(i){t.props.value!==i.value&&n.forEac
56h(function(n){n.context=i.value;n.forceUpdate()})},this.sub=function(t){n.push(t);var i=t.componentWillUnmount;t.componentWillUnmount=function(){n.splice(n.indexOf(t),1);i&&i.call(t)}}),u},t}function hd(n){ro(null,n)}function pu(n){n.parentNode&&n.parentNode.removeChild(n)}function w(n,t){if(n.closest)return n.closest(t);if(!document.documentElement.contains(n))return null;do{if(wu(n,t))return n;n=n.parentElement||n.parentNode}while(n!==null&&n.nodeType===1);return null}function wu(n,t){var i=n.matches||n.matchesSelector||n.msMatchesSelector;return i.call(n,t)}function ll(n,t){for(var u,i,f=n instanceof HTMLElement?[n]:n,e=[],r=0;r<f.length;r+=1)for(u=f[r].querySelectorAll(t),i=0;i<u.length;i+=1)e.push(u[i]);return e}function cd(n,t){for(var u,i,f,e=n instanceof HTMLElement?[n]:n,o=[],r=0;r<e.length;r+=1)for(u=e[r].children,i=0;i<u.length;i+=1)f=u[i],(!t||wu(f,t))&&o.push(f);return o}function li(n,t){for(var i in t)fo(n,i,t[i])}function fo(n,t,i){n.style[t]=i==null?"":typeof i=="number"&&al.test(t)?i+"px":i}function er(n){n.preventDefault()}function vl(n,t){return function(i){var r=w(i.target,n);r&&t.call(r,i,r)}}function eo(n,t,i,r){var u=vl(i,r);return n.addEventListener(t,u),function(){n.removeEventListener(t,u)}}function ld(n,t,i,r){var u;return eo(n,"mouseover",t,function(n,t){if(t!==u){u=t;i(n,t);var f=function(n){u=null;r(n,t);t.removeEventListener("mouseleave",f)};t.addEventListener("mouseleave",f)}})}function yl(n,t){var i=function(r){t(r);oo.forEach(function(t){n.removeEventListener(t,i)})};
56oo.forEach(function(t){n.addEventListener(t,i)})}function ri(){return so+=1,String(so)}function or(){document.body.classList.add("fc-not-allowed")}function sr(){document.body.classList.remove("fc-not-allowed")}function pl(n){n.classList.add("fc-unselectable");n.addEventListener("selectstart",er)}function wl(n){n.classList.remove("fc-unselectable");n.removeEventListener("selectstart",er)}function bl(n){n.addEventListener("contextmenu",er)}function kl(n){n.removeEventListener("contextmenu",er)}function dl(n){var u=[],i=[],r,t;for(typeof n=="string"?i=n.split(/\s*,\s*/):typeof n=="function"?i=[n]:Array.isArray(n)&&(i=n),r=0;r<i.length;r+=1)t=i[r],typeof t=="string"?u.push(t.charAt(0)==="-"?{field:t.substring(1),order:-1}:{field:t,order:1}):typeof t=="function"&&u.push({func:t});return u}function ho(n,t,i){for(var u,r=0;r<i.length;r+=1)if(u=gl(n,t,i[r]),u)return u;return 0}function gl(n,t,i){return i.func?i.func(n,t):na(n[i.field],t[i.field])*(i.order||1)}function na(n,t){return!n&&!t?0:t==null?-1:n==null?1:typeof n=="string"||typeof t=="string"?String(n).localeCompare(String(t)):n-t}function ui(n,t){var i=String(n);return"000".substr(0,t-i.length)+i}function ta(n,t){return n-t}function hr(n){return n%1==0}function ia(n){var t=n.querySelector(".fc-scrollgrid-shrink-frame"),i=n.querySelector(".fc-scrollgrid-shrink-cushion");if(!t)throw new Error("needs fc-scrollgrid-shrink-frame className");if(!i)throw new Error("needs fc-scrollgrid-shrink-cushion className");return n.getBoundingClientRect().width-t.getBoundingClientRect().width+i.getBoundingClientRect().width}function lo(n,t){var i=bt(n);return i[2]+=t*7,d(i)}function a(n,t){var i=bt(n);return i[2]+=t,d(i)}function ai(n,t){var i=bt(n);return i[6]+=t,d(i)}function ra(n,t){return ht(n,t)/7}function ht(n,t){return(t.valueOf()-n.valueOf())/864e5}function ad(n,t){return(t.valueOf()-n.valueOf())/36e5}function vd(n,t){return(t.valueOf()-n.valueOf())/6e4}function yd(n,t){return(t.valueOf()-n.valueOf())/1e3}function ua(n,t){var i=h(n),r=h(t);return{years:0,months:0,days:Math.round(ht(i,r)),milliseconds:t.valueOf()-r.valueOf()-(n.valueOf()-i.valueOf())}}function fa(n,t){var i=cr(n,t);return i!==null&&i%7==0?i/7:null}function cr(n,t){return kt(n)===kt(t)?Math.round(ht(n,t)):null}function h(n){return d([n.getUTCFullYear(),n.getUTCMonth(),n.getUTCDate(),])}function pd(n){return d([n.getUTCFullYear(),n.getUTCMonth(),n.getUTCDate(),n.getUTCHours(),])}function wd(n){return d([n.getUTCFullYear(),n.getUTCMonth(),n.getUTCDate(),n.getUTCHours(),n.getUTCMinutes(),])}function bd(n){return d([n.getUTCFullYear(),n.getUTCMonth(),n.getUTCDate(),n.getUTCHours(),n.getUTCMinutes(),n.getUTCSeconds(),])}function kd(n,t,i){var r=n.getUTCFullYear(),u=ao(n,r,t,i),f;return u<1?ao(n,r-1,t,i):(f=ao(n,r+1,t,i),f>=1)?Math.min(u,f):u}function ao(n,t,i,r){var u=d([t,0,1+dd(t,i,r)]),f=h(n),e=Math.round(ht(u,f));return Math.floor(e/7)+1}function dd(n,t,i){var r=7+t-i,u=(7+d([n,0,r]).getUTCDay()-t)%7;return-u+r-1}function ea(n){return[n.getFullYear(),n.getMonth(),n.getDate(),n.getHours(),n.getMinutes(),n.getSeconds(),n.getMilliseconds(),]}function oa(n){return new Date(n[0],n[1]||0,n[2]==null?1:n[2],n[3]||0,n[4]||0,n[5]||0)}function bt(n){return[n.getUTCFullYear(),n.getUTCMonth(),n.getUTCDate(),n.getUTCHours(),n.getUTCMinutes(),n.getUTCSeconds(),n.getUTCMilliseconds(),]}function d(n){return n.length===1&&(n=n.concat([0])),new Date(Date.UTC.apply(Date,n))}function vo(n){return!isNaN(n.valueOf())}function kt(n){return n.getUTCHours()*36e5+n.getUTCMinutes()*6e4+n.getUTCSeconds()*1e3+n.getUTCMilliseconds()}function lr(n,t,i,r){return{instanceId:ri(),defId:n,range:t,forcedStartTzo:i==null?null:i,forcedEndTzo:r==null?null:r}}function yo(n,t){var u={},f,e,r,i,s,o;if(t)for(f in t){for(e=[],i=n.length-1;i>=0;i-=1)if(r=n[i][f],typeof r=="object"&&r)e.unshift(r);else if(r!==undefined){u[f]=r;break}e.length&&(u[f]=yo(e))}for(i=n.length-1;i>=0;i-=1){s=n[i];for(o in s)o in u||(u[o]=s[o])}return u}function dt(n,t){var r={};for(var i in n)t(n[i],i)&&(r[i]=n[i]);return r}function tt(n,t){var r={};for(var i in n)r[i]=t(n[i],i);return r}function sa(n){for(var u,i={},t=0,r=n;t<r.length;t++)u=r[t],i[u]=!0;return i}function gd(n,t){for(var r,u={},i=0;i<n.length;i+=1)r=t(n[i],i),u[r[0]]=r[1];return u}function po(n){var t=[];for(var i in n)t.push(n[i]);return t}function rt(n,t){var i;if(n===t)return!0;for(i in n)if(ar.call(n,i)&&!(i in t))return!1;for(i in t)if(ar.call(t,i)&&n[i]!==t[i])return!1;return!0}function wo(n,t){var r=[];for(var i in n)ar.call(n,i)&&(i in t||r.push(i));for(i in t)ar.call(t,i)&&n[i]!==t[i]&&r.push(i);return r}function bo(n,t,i){var r;if(i===void 0&&(i={}),n===t)return!0;for(r in t)if(!(r in n)||!ng(n[r],t[r],i[r]))return!1;for(r in n)if(!(r in t))return!1;return!0}function ng(n,t,i){return n===t||i===!0?!0:i?i(n,t):!1}function ha(n,t,i,r){var f,u,e;for(t===void 0&&(t=0),r===void 0&&(r=1),f=[],i==null&&(i=Object.keys(n).length),u=t;u<i;u+=r)e=n[u],e!==undefined&&f.push(e);return f}function tg(n,t,i,r){for(var e,u,f=0;f<r.length;f+=1)if(e=r[f].parse(n,i),e)return u=n.allDay,u==null&&(u=t,u==null&&(u=e.allDayGuess,u==null&&(u=!1))),{allDay:u,duration:e.duration,typeData:e.typeData,typeId:f};return null}function vi(n,t,i){var a=i.dateEnv,p=i.pluginHooks,v=i.options,f=n.defs,e=n.instances,s,r,u,y,o,h,c,l;e=dt(e,function(n){return!f[n.defId].recurringDef});for(s in f)if(r=f[s],r.recurringDef)for(u=r.recurringDef.duration,u||(u=r.allDay?v.defaultAllDayEventDuration:v.defaultTimedEventDuration),y=ig(r,u,t,a,p.recurringTypes),o=0,h=y;o<h.length;o++)c=h[o],l=lr(s,{start:c,end:a.add(c,u)}),e[l.instanceId]=l;return{defs:f,instances:e}}function ig(n,t,i,r,u){var e=u[n.recurringDef.typeId],f=e.expand(n.recurringDef.typeData,{start:r.subtract(i.start,t),end:i.end},r);return n.allDay&&(f=f.map(h)),f}function e(n,t){var i;return typeof n=="string"?rg(n):typeof n=="object"&&n?la(n):typeof n=="number"?la((i={},i[t||"milliseconds"]=n,i)):null}function rg(n){var t=ca.exec(n),i;return t?(i=t[1]?-1:1,{years:0,months:0,days:i*(t[2]?parseInt(t[2],10):0),milliseconds:i*((t[3]?parseInt(t[3],10):0)*36e5+(t[4]?parseInt(t[4],10):0)*6e4+(t[5]?parseInt(t[5],10):0)*1e3+(t[6]?parseInt(t[6],10):0))}):null}function la(n){var t={years:n.years||n.year||0,months:n.months||n.month||0,days:n.days||n.day||0,milliseconds:(n.hours||n.hour||0
56)*36e5+(n.minutes||n.minute||0)*6e4+(n.seconds||n.second||0)*1e3+(n.milliseconds||n.millisecond||n.ms||0)},i=n.weeks||n.week;return i&&(t.days+=i*7,t.specifiedWeeks=!0),t}function ug(n,t){return n.years===t.years&&n.months===t.months&&n.days===t.days&&n.milliseconds===t.milliseconds}function fg(n){return!n.years&&!n.months&&!n.milliseconds?n.days:0}function bu(n,t){return{years:n.years+t.years,months:n.months+t.months,days:n.days+t.days,milliseconds:n.milliseconds+t.milliseconds}}function eg(n,t){return{years:n.years-t.years,months:n.months-t.months,days:n.days-t.days,milliseconds:n.milliseconds-t.milliseconds}}function aa(n,t){return{years:n.years*t,months:n.months*t,days:n.days*t,milliseconds:n.milliseconds*t}}function og(n){return yi(n)/365}function sg(n){return yi(n)/30}function yi(n){return g(n)/864e5}function hg(n){return g(n)/6e4}function cg(n){return g(n)/1e3}function g(n){return n.years*31536e6+n.months*2592e6+n.days*864e5+n.milliseconds}function ku(n,t){for(var i,u,r=null,f=0;f<ko.length;f+=1)if(i=ko[f],t[i]){if(u=n[i]/t[i],!hr(u)||r!==null&&r!==u)return null;r=u}else if(n[i])return null;return r}function du(n){var t=n.milliseconds;if(t){if(t%1e3!=0)return{unit:"millisecond",value:t};if(t%6e4!=0)return{unit:"second",value:t/1e3};if(t%36e5!=0)return{unit:"minute",value:t/6e4};if(t)return{unit:"hour",value:t/36e5}}return n.days?n.specifiedWeeks&&n.days%7==0?{unit:"week",value:n.days/7}:{unit:"day",value:n.days}:n.months?{unit:"month",value:n.months}:n.years?{unit:"year",value:n.years}:{unit:"millisecond",value:0}}function lg(n,t,i){i===void 0&&(i=!1);var r=n.toISOString();return r=r.replace(".000",""),i&&(r=r.replace("T00:00:00Z","")),r.length>10&&(t==null?r=r.replace("Z",""):t!==0&&(r=r.replace("Z",go(t,!0)))),r}function vr(n){return n.toISOString().replace(/T.*$/,"")}function va(n){return ui(n.getUTCHours(),2)+":"+ui(n.getUTCMinutes(),2)+":"+ui(n.getUTCSeconds(),2)}function go(n,t){t===void 0&&(t=!1);var r=n<0?"-":"+",u=Math.abs(n),f=Math.floor(u/60),i=Math.round(u%60);return t?r+ui(f,2)+":"+ui(i,2):"GMT"+r+f+(i?":"+ui(i,2):"")}function ag(n,t){for(var r=0,i=0;i<n.length;)n[i]===t?(n.splice(i,1),r+=1):i+=1;return r}function ct(n,t,i){if(n===t)return!0;var u=n.length,r;if(u!==t.length)return!1;for(r=0;r<u;r+=1)if(!(i?i(n[r],t[r]):n[r]===t[r]))return!1;return!0}function f(n,t,i){var u,r;return function(){for(var o,f=[],e=0;e<arguments.length;e++)f[e]=arguments[e];
56return u?ct(u,f)||(i&&i(r),o=n.apply(this,f),t&&t(o,r)||(r=o)):r=n.apply(this,f),u=f,r}}function yr(n,t,i){var f=this,u,r;return function(e){if(u){if(!rt(u,e)){i&&i(r);var o=n.call(f,e);t&&t(o,r)||(r=o)}}else r=n.call(f,e);return u=e,r}}function vg(n,t,i){var f=this,u=[],r=[];return function(e){for(var c=u.length,h=e.length,o=0,s;o<c;o+=1)e[o]?ct(u[o],e[o])||(i&&i(r[o]),s=n.apply(f,e[o]),t&&t(s,r[o])||(r[o]=s)):i&&i(r[o]);for(;o<h;o+=1)r[o]=n.apply(f,e[o]);return u=e,r.splice(h),r}}function yg(n,t,i){var u=this,f={},r={};return function(e){var s={},o,h;for(o in e)r[o]?ct(f[o],e[o])?s[o]=r[o]:(i&&i(r[o]),h=n.apply(u,e[o]),s[o]=t&&t(h,r[o])?r[o]:h):s[o]=n.apply(u,e[o]);return f=e,r=s,s}}function pa(n,t,i){var r=Object.keys(n).length;return r===1&&n.timeZoneName==="short"?function(n){return go(n.timeZoneOffset)}:r===0&&t.week?function(n){return un(i.computeWeekNumber(n.marker),i.weekText,i.locale,t.week)}:gg(n,t,i)}function gg(n,t,r){var e,u,f;return n=i({},n),t=i({},t),nn(n,t),n.timeZone="UTC",e=new Intl.DateTimeFormat(r.locale.codes,n),t.omitZeroMinute&&(f=i({},n),delete f.minute,u=new Intl.DateTimeFormat(r.locale.codes,f)),function(i){var f=i.marker,o,s;return o=u&&!f.getUTCMinutes()?u:e,s=o.format(f),tn(s,i,n,t,r)}}function nn(n,t){n.timeZoneName&&(n.hour||(n.hour="2-digit"),n.minute||(n.minute="2-digit"));n.timeZoneName==="long"&&(n.timeZoneName="short");t.omitZeroMinute&&(n.second||n.millisecond)&&delete t.omitZeroMinute}function tn(n,t,i,r,u){return n=n.replace(bg,""),i.timeZoneName==="short"&&(n=rn(n,u.timeZone==="UTC"||t.timeZoneOffset==null?"UTC":go(t.timeZoneOffset))),r.omitCommas&&(n=n.replace(pg,"").trim()),r.omitZeroMinute&&(n=n.replace(":00","")),r.meridiem===!1?n=n.replace(nf,"").trim():r.meridiem==="narrow"?n=n.replace(nf,function(n,t){return t.toLocaleLowerCase()}):r.meridiem==="short"?n=n.replace(nf,function(n,t){return t.toLocaleLowerCase()+"m"}):r.meridiem==="lowercase"&&(n=n.replace(nf,function(n){return n.toLocaleLowerCase()})),n=n.replace(wg," "),n.trim()}function rn(n,t){var i=!1;return n=n.replace(kg,function(){return i=!0,t}),i||(n+=" "+t),n}function un(n,t,i,r){var u=[];return r==="narrow"?u.push(t):r==="short"&&u.push(t," "),u.push(i.simpleNumberFormat.format(n)),i.options.direction==="rtl"&&u.reverse(),u.join("")}function fn(n,t,i){return i.getMarkerYear(n)!==i.getMarkerYear(t)?5:i.getMarkerMonth(n)!==i.getMarkerMonth(t)?4:i.getMarkerDay(n)!==i.getMarkerDay(t)?2:kt(n)!==kt(t)?1:0}function en(n,t){var r={};for(var i in n)(!(i in gu)||gu[i]<=t)&&(r[i]=n[i]);return r}function on(n,t,i,r){for(var f=0,e,s,h,u,o,c,l;f<n.length;){if(e=n.indexOf(t,f),e===-1)break;for(s=n.substr(0,e),f=e+t.length,h=n.substr(f),u=0;u<i.length;){if(o=i.indexOf(r,u),o===-1)break;if(c=i.substr(0,o),u=o+r.length,l=i.substr(u),s===c&&h===l)return{before:s,after:h}}}return null}function wa(n,t){var i=t.markerToArray(n.marker);return{marker:n.marker,timeZoneOffset:n.timeZoneOffset,array:i,year:i[0],month:i[1],day:i[2],hour:i[3],minute:i[4],second:i[5],millisecond:i[6]}}function tf(n,t,i,r){var u=wa(n,i.calendarSystem),f=t?wa(t,i.calendarSystem):null;return{date:u,start:u,end:f,timeZone:i.timeZone,localeCodes:i.locale.codes,defaultSeparator:r||i.defaultSeparator}}function c(n){return typeof n=="object"&&n?new dg(n):typeof n=="string"?new ba(n):typeof n=="function"?new ka(n):null}function rf(n,t){return typeof n=="object"&&typeof t=="object"&&n&&t?rt(n,t):n===t}function is(n){return yo(n,ts)}function pr(n,t){var r={},u={};for(var i in t)i in n&&(r[i]=t[i](n[i]));for(i in n)i in t||(u[i]=n[i]);return{refined:r,extra:u}}function r(n){return n}function uf(n,t,i,r){for(var s,f,e=p(),h=fs(i),u=0,o=n;u<o.length;u++)s=o[u],f=rv(s,t,i,r,h),f&&pi(f,e);return e}function pi(n,t){return t===void 0&&(t=p()),t.defs[n.def.defId]=n.def,n.instance&&(t.instances[n.instance.instanceId]=n.instance),t}function ff(n,t){var i=n.instances[t],r,u;return i?(r=n.defs[i.defId],u=wr(n,function(n){return sn(r,n)}),u.defs[r.defId]=r,u.instances[i.instanceId]=i,u):p()}function sn(n,t){return Boolean(n.groupId&&n.groupId===t.groupId)}function p(){return{defs:{},instances:{}}}function ef(n,t){return{defs:i(i({},n.defs),t.defs),instances:i(i({},n.instances),t.instances)}}function wr(n,t){var i=dt(n.defs,t),r=dt(n.instances,function(n){return i[n.defId]});return{defs:i,instances:r}}function hn(n,t){var e=n.defs,u=n.instances,f={},o={},r,i;for(r in e)t.defs[r]||(f[r]=e[r]);for(i in u)!t.instances[i]&&f[u[i].defId]&&(o[i]=u[i]);return{defs:f,instances:o}}function cn(n,t){return Array.isArray(n)?uf(n,null,t,!0):typeof n=="object"&&n?uf([n],null,t,!0):n!=null?String(n):null}function of(n){return Array.isArray(n)?n:typeof n=="string"?n.split(/\s+/):[]}function kr(n,t){var i=cn(n.constraint,t);return{display:n.display||null,startEditable:n.startEditable!=null?n.startEditable:n.editable,durationEditable:n.durationEditable!=null?n.durationEditable:n.editable,constraints:i!=null?[i]:[],overlap:n.overlap!=null?n.overlap:null,allows:n.allow!=null?[n.allow]:[],backgroundColor:n.backgroundColor||n.color||"",borderColor:n.borderColor||n.color||"",textColor:n.textColor||"",classNames:(n.className||[]).concat(n.classNames||[])}}function rs(n){return n.reduce(ln,tv)}function ln(n,t){return{display:t.display!=null?t.display:n.display,startEditable:t.startEditable!=null?t.startEditable:n.startEditable,durationEditable:t.durationEditable!=null?t.durationEditable:n.durationEditable,constraints:n.constraints.concat(t.constraints),overlap:typeof t.overlap=="boolean"?t.overlap:n.overlap,allows:n.allows.concat(t.allows),backgroundColor:t.backgroundColor||n.backgroundColor,borderColor:t.borderColor||n.borderColor,textColor:t.textColor||n.textColor,classNames:n.classNames.c
56oncat(t.classNames)}}function rv(n,t,i,r,u){var f,o,a;u===void 0&&(u=fs(i));var h=sf(n,i,u),s=h.refined,c=h.extra,l=yn(t,i),e=tg(s,l,i.dateEnv,i.pluginHooks.recurringTypes);return e?(o=dr(s,c,t?t.sourceId:"",e.allDay,Boolean(e.duration),i),o.recurringDef={typeId:e.typeId,typeData:e.typeData,duration:e.duration},{def:o,instance:null}):(f=vn(s,l,i,r),f)?(o=dr(s,c,t?t.sourceId:"",f.allDay,f.hasEnd,i),a=lr(o.defId,f.range,f.forcedStartTzo,f.forcedEndTzo),{def:o,instance:a}):null}function sf(n,t,i){return i===void 0&&(i=fs(t)),pr(n,i)}function fs(n){return i(i(i({},br),an),n.pluginHooks.eventRefiners)}function dr(n,t,r,u,f,e){for(var c,o={title:n.title||"",groupId:n.groupId||"",publicId:n.id||"",url:n.url||"",recurringDef:null,defId:ri(),sourceId:r,allDay:u,hasEnd:f,ui:kr(n,e),extendedProps:i(i({},n.extendedProps||{}),t)},s=0,h=e.pluginHooks.eventDefMemberAdders;s<h.length;s++)c=h[s],i(o,c(n));return Object.freeze(o.ui.classNames),Object.freeze(o.extendedProps),o}function vn(n,t,i,r){var s=n.allDay,e,u=null,c=!1,o,f=null,l=n.start!=null?n.start:n.date;if(e=i.dateEnv.createMarkerMeta(l),e)u=e.marker;else if(!r)return null;return n.end!=null&&(o=i.dateEnv.createMarkerMeta(n.end)),s==null&&(s=t!=null?t:(!e||e.isTimeUnspecified)&&(!o||o.isTimeUnspecified)),s&&u&&(u=h(u)),o&&(f=o.marker,s&&(f=h(f)),u&&f<=u&&(f=null)),f?c=!0:r||(c=i.options.forceEventDuration||!1,f=i.dateEnv.add(u,s?i.options.defaultAllDayEventDuration:i.options.defaultTimedEventDuration)),{allDay:s,hasEnd:c,range:{start:u,end:f},forcedStartTzo:e?e.forcedTzo:null,forcedEndTzo:o?o.forcedTzo:null}}function yn(n,t){var i=null;return n&&(i=n.defaultAllDay),i==null&&(i=t.options.defaultAllDay),i}function uv(n){var i=Math.floor(ht(n.start,n.end))||1,t=h(n.start),r=a(t,i);return{start:t,end:r}}function hf(n,t){var r,i,u;return t===void 0&&(t=e(0)),r=null,i=null,n.end&&(i=h(n.end),u=n.end.valueOf()-i.valueOf(),u&&u>=g(t)&&(i=a(i,1))),n.start&&(r=h(n.start),i&&i<=r&&(i=a(r,1))),{start:r,end:i}}function fv(n){var t=hf(n);return ht(t.start,t.end)>1}function fi(n,t,i,r){return r==="year"?e(i.diffWholeYears(n,t),"year"):r==="month"?e(i.diffWholeMonths(n,t),"month"):ua(n,t)}function pn(n,t){var i=null,r=null;return(n.start&&(i=t.createMarker(n.start)),n.end&&(r=t.createMarker(n.end)),!i&&!r)?null:i&&r&&r<i?null:{start:i,end:r}}function ev(n,t){var f=[],i=t.start,u,r;for(n.sort(wn),u=0;u<n.length;u+=1)r=n[u],r.start>i&&f.push({start:i,end:r.start}),r.end>i&&(i=r.end);return i<t.end&&f.push({start:i,end:t.end}),f}function wn(n,t){return n.start.valueOf()-t.start.valueOf()}function gt(n,t){var i=n.start,r=n.end,u=null;return t.start!==null&&(i=i===null?t.start:new Date(Math.max(i.valueOf(),t.start.valueOf()))),t.end!=null&&(r=r===null?t.end:new Date(Math.min(r.valueOf(),t.end.valueOf()))),(i===null||r===null||i<r)&&(u={start:i,end:r}),u}function ov(n,t){return(n.start===null?null:n.start.valueOf())===(t.start===null?null:t.start.valueOf())&&(n.end===null?null:n.end.valueOf())===(t.end===null?null:t.end.valueOf())}function cf(n,t){return(n.end===null||t.start===null||n.end>t.start)&&(n.start===null||t.end===null||n.start<t.end)}function gr(n,t){return(n.start===null||t.start!==null&&t.start>=n.start)&&(n.end===null||t.end!==null&&t.end<=n.end)}function ut(n,t){return(n.start===null||t>=n.start)&&(n.end===null||t<n.end)}function bn(n,t){return t.start!=null&&n<t.start?t.start:t.end!=null&&n>=t.end?new Date(t.end.valueOf()-1):n}function nu(n,t,i,r){var h={},c={},k={},l=[],it=[],a=lf(n.defs,t),u,e,rt,d,w,g,f,y,p,b,tt,nt;for(f in n.defs)u=n.defs[f],e=a[u.defId],e.display==="inverse-background"&&(u.groupId?(h[u.groupId]=[],k[u.groupId]||(k[u.groupId]=u)):c[f]=[]);for(rt in n.instances){var v=n.instances[rt],u=n.defs[v.defId],e=a[u.defId],ut=v.range,s=!u.allDay&&r?hf(ut,r):ut,o=gt(s,i);o&&(e.display==="inverse-background"?u.groupId?h[u.groupId].push(o):c[v.defId].push(o):e.display!=="none"&&(e.display==="background"?l:it).push({def:u,ui:e,instance:v,range:o,isStart:s.start&&s.start.valueOf()===o.start.valueOf(),isEnd:s.end&&s.end.valueOf()===o.end.valueOf()}))}for(d in h)for(y=h[d],p=ev(y,i),w=0,g=p;w<g.length;w++){var nt=g[w],u=k[d],e=a[u.defId];l.push({def:u,ui:e,instance:null,range:nt,isStart:!1,isEnd:!1})}for(f in c)for(y=c[f],p=ev(y,i),b=0,tt=p;b<tt.length;b++)nt=tt[b],l.push({def:n.defs[f],ui:a[f],instance:null,range:nt,isStart:!1,isEnd:!1});return{bg:l,fg:it}}function sv(n){return n.ui.display==="background"||n.ui.display==="inverse-background"}function es(n,t){n.fcSeg=t}function ei(n){return n.fcSeg||n.parentNode.fcSeg||null}function lf(n,t){return tt(n,function(n){return hv(n,t)})}function hv(n,t){var i=[];return t[""]&&i.push(t[""]),t[n.defId]&&i.push(t[n.defId]),i.push(n.ui),rs(i)}function tu(n,t){var i=n.map(os);return i.sort(function(n,i){return ho(n,i,t)}),i.map(function(n){return n._seg})}function os(n){var t=n.eventRange,r=t.def,u=t.instance?t.instance.range:t.range,f=u.start?u.start.valueOf():0,e=u.end?u.end.valueOf():0;return i(i(i({},r.extendedProps),r),{id:r.publicId,start:f,end:e,duration:e-f,allDay:Number(r.allDay),_seg:n})}function cv(n,t){for(var o,s=t.pluginHooks,h=s.isDraggableTransformers,u=n.eventRange,c=u.def,f=u.ui,i=f.startEditable,r=0,e=h;r<e.length;r++)o=e[r],i=o(i,c,f,t);return i}function lv(n,t){return n.isStart&&n.eventRange.ui.durationEditable&&t.options.eventResizableFromStart}function av(n){return n.isEnd&&n.eventRange.ui.durationEditable}function wi(n,t,i,r,u,f,e){var l=i.dateEnv,a=i.options,s=a.displayEventTime,h=a.displayEventEnd,v=n.eventRange.def,o=n.eventRange.instance,c,y;return(s==null&&(s=r!==!1),h==null&&(h=u!==!1),s&&!v.allDay&&(n.isStart||n.isEnd))?(c=f||(n.isStart?o.range.start:n.start||n.eventRange.range.start),y=e||(n.isEnd?o.range.end:n.end||n.eventRange.range.end),h&&v.hasEnd)?l.formatRange(c,y,t,{forcedStartTzo:f?null:o.forcedStartTzo,forcedEndTzo:e?null:o.forcedEndTzo}):l.format(c,t,{forcedTzo:f?null:o.forcedStartTzo}):""}function ft(n,t,i){var r=n.eventRange.range;return{isPast:r.end<(i||t.start),isFuture:r.start>=(i||t.end),isToday:t&&ut(t,r.start)}}function vv(n){var t=["fc-event"];return n.isMirror&&t.push("fc-event-mirror"),n.isDraggable&&t.push("fc-event-draggable"),(n.isStartResizable||n.isEndResizable)&&t.push("fc-event-resizable"),n.isDragging&&t.push("fc-event-dragging"),n.isResizing&&t.push("fc-event-resizing"),n.isSelected&&t.push("fc-event-selected"),n.isStart&&t.push("fc-event-start"),n.isEnd&&t.push("fc-event-end"),n.isPast&&t.push("fc-event-past"),n.isToday&&t.push("fc-event-today"),n.isFuture&&t.push("fc-event-future"),t}function ss(n){return n.instance?n.instance.instanceId:n.def.defId+":"+n.range.start.toISOString()}function kn(n,t,i){var u=dn(n,t),r=u.range;if(!r.start)return null;if(!r.end){if(i==null)return null;r.end=t.add(r.start,i)}return u}function dn(n,t){var o=pr(n,yv),r=o.refined,s=o.extra,u=r.start?t.createMarkerMeta(r.start):null,f=r.end?t.createMarkerMeta(r.end):null,e=r.allDay;return e==null&&(e=u&&u.isTimeUnspecified&&(!f||f.isTimeUnspecified)),i({range:{start:u?u.marker:null,end:f?f.marker:null},allDay:e},s)}function pv(n,t){return ov(n.range,t.range)&&n.allDay===t.allDay&&gn(n,t)}function gn(n,t){for(var i in t)if(i!=="range"&&i!=="allDay"&&n[i]!==t[i])return!1;for(i in n)if(!(i in t))return!1;return!0}function ntt(n,t){return i(i({},bv(n.range,t,n.allDay)),{allDay:n.allDay})}function wv(n,t,r){return i(i({},bv(n,t,r)),{timeZone:t.timeZone})}function bv(n,t,i){return{start:t.toDate(n.start),end:t.toDate(n.end),startStr:t.formatIso(n.start,{omitTime:i}),endStr:t.formatIso(n.end,{omitTime:i})}}function ttt(n,t,i){var u=sf({editable:!1},i),r=dr(u.refined,u.extra,"",n.allDay,!0,i);return{def:r,ui:hv(r,t),instance:lr(r.defId,n.range),range:n.range,isStart:!0,isEnd:!0}}function hs(n,t,r){r.emitter.trigger("select",i(i({},cs(n,r)),{jsEvent:t?t.origEvent:null,view:r.viewApi||r.calendarApi.view}))}function itt(n,t){t.emitter.trigger("unselect",{jsEvent:n?n.origEvent:null,view:t.viewApi||t.calendarApi.view})}function cs(n,t){for(var e,r={},u=0,f=t.pluginHooks.dateSpanTransforms;u<f.length;u++)e=f[u],i(r,e(n,t));return i(r,ntt(n,t.dateEnv)),r}function af(n,t,i){var u=i.dateEnv,f=i.options,r=t;return n?(r=h(r),r=u.add(r,f.defaultAllDayEventDuration)):r=u.add(r,f.defaultTimedEventDuration),r}function vf(n,t,i,r){var h=lf(n.defs,t),u=p(),f,s,o,e;for(f in n.defs)e=n.defs[f],u.defs[f]=rtt(e,h[f],i,r);for(s in n.instances)o=n.instances[s],e=u.defs[o.defId],u.instances[s]=utt(o,e,h[o.defId],i,r);return u}function rtt(n,t,r,u){var e=r.standardProps||{},f,o,s,h;for(e.hasEnd==null&&t.durationEditable&&(r.startDelta||r.endDelta)&&(e.hasEnd=!0),f=i(i(i({},n),e),{ui:i(i({},n.ui),e.ui)}),r.extendedProps&&(f.extendedProps=i(i({},f.extendedProps),r.extendedProps)),o=0,s=u.pluginHooks.eventDefMutationAppliers;o<s.length;o++)h=s[o],h(f,r,u);return!f.hasEnd&&u.options.forceEventDuration&&(f.hasEnd=!0),f}function utt(n,t,r,u,f){var o=f.dateEnv,s=u.standardProps&&u.standardProps.allDay===!0,c=u.standardProps&&u.standardProps.hasEnd===!1,e=i({},n);return s&&(e.range=uv(e.range)),u.datesDelta&&r.startEditable&&(e.range={start:o.add(e.range.start,u.datesDelta),end:o.add(e.range.end,u.datesDelta)}),u.startDelta&&r.durationEditable&&(e.range={start:o.add(e.range.start,u.startDelta),end:e.range.end}),u.endDelta&&r.durationEditable&&(e.range={start:e.range.start,end:o.add(e.range.end,u.endDelta)}),c&&(e.range={start:e.range.start,end:af(t.allDay,e.range.start,f)}),t.allDay&&(e.range={start:h(e.range.start),end:h(e.range.end)}),e.range.end<e.range.start&&(e.range.end=af(t.allDay,e.range.start,f)),e}function dv(n,t,i){var u;if(i===void 0&&(i=gv(t)),typeof n=="string"?u={url:n}:typeof n=="function"||Array.isArray(n)?u={events:n}:typeof n=="object"&&n&&(u=n),u){var e=pr(u,i),r=e.refined,o=e.extra,f=ftt(r,t);if(f)return{_raw:n,isFetching:!1,latestFetchId:"",fetchRange:null,defaultAllDay:r.defaultAllDay,eventDataTransform:r.eventDataTransform,success:r.success,failure:r.failure,publicId:r.id||"",sourceId:ri(),sourceDefId:f.sourceDefId,meta:f.meta,ui:kr(r,t),extendedProps:o}}return null}
56function gv(n){return i(i(i({},br),kv),n.pluginHooks.eventSourceRefiners)}function ftt(n,t){for(var f,r,u=t.pluginHooks.eventSourceDefs,i=u.length-1;i>=0;i-=1)if(f=u[i],r=f.parseMeta(n),r)return{sourceDefId:i,meta:r};return null}function ett(n,t){switch(t.type){case"CHANGE_DATE":return t.dateMarker;default:return n}}function ott(n,t){var i=n.initialDate;return i!=null?t.createMarker(i):iu(n.now,t)}function iu(n,t){return(typeof n=="function"&&(n=n()),n==null)?t.createNowMarker():t.createMarker(n)}function ny(n){var t,i,u=n._def,r=n._instance;return{defs:(t={},t[u.defId]=u,t),instances:r?(i={},i[r.instanceId]=r,i):{}}}function ni(n,t,i){var s=n.defs,u=n.instances,f=[],h=i?i.instanceId:"",e,r,o;for(e in u)r=u[e],o=s[r.defId],r.instanceId!==h&&f.push(new l(t,o,r));return f}function stt(n,t){vs[n]=t}function htt(n){return new vs[n]}function ry(n){var t=iy.exec(n),i,r;return t&&(i=new Date(Date.UTC(Number(t[1]),t[3]?Number(t[3])-1:0,Number(t[5]||1),Number(t[7]||0),Number(t[8]||0),Number(t[10]||0),t[12]?Number("0."+t[12])*1e3:0)),vo(i))?(r=null,t[13]&&(r=(t[15]==="-"?-1:1)*(Number(t[16]||0)*60+Number(t[18]||0))),{marker:i,isTimeUnspecified:!t[6],timeZoneOffset:r}):null}function fy(n){for(var i,f=n.length>0?n[0].code:"en",e=uy.concat(n),r={en:ps},t=0,u=e;t<u.length;t++)i=u[t],r[i.code]=i;return{map:r,defaultCode:f}}function ws(n,t){return typeof n=="object"&&!Array.isArray(n)?ey(n.code,[n.code],n):ctt(n,t)}function ctt(n,t){var i=[].concat(n||[]),r=ltt(i,t)||ps;return ey(n,i,r)}function ltt(n,t){for(var u,r,f,i=0;i<n.length;i+=1)for(u=n[i].toLocaleLowerCase().split("-"),r=u.length;r>0;r-=1)if(f=u.slice(0,r).join("-"),t[f])return t[f];return null}function ey(n,t,i){var r=yo([ps,i],["buttonText"]),u;return delete r.code,u=r.week,delete r.week,{codeArg:n,codes:t,week:u,simpleNumberFormat:new Intl.NumberFormat(n),options:r}}function att(n,t){t===void 0&&(t={});var r=oy(t),u=c(t),i=r.createMarkerMeta(n);return i?r.format(i.marker,u,{forcedTzo:i.forcedTzo}):""}function vtt(n,t,i){var r=oy(typeof i=="object"&&i?i:{}),e=c(i),u=r.createMarkerMeta(n),f=r.createMarkerMeta(t);return!u||!f?"":r.formatRange(u.marker,f.marker,e,{forcedStartTzo:u.forcedTzo,forcedEndTzo:f.forcedTzo,isEndExclusive:i.isEndExclusive,defaultSeparator:lt.defaultRangeSeparator})}function oy(n){var t=ws(n.locale||"en",fy([]).map);return new ys(i(i({timeZone:lt.timeZone,calendarSystem:"gregory"},n),{locale:t}))}function hy(n,t){return uf(ytt(n),null,t)}function ytt(n){var t;return t=n===!0?[{}]:Array.isArray(n)?n.filter(function(n){return n.daysOfWeek}):typeof n=="object"&&n?[n]:[],t.map(function(n){return i(i({},sy),n)})}function cy(n,t){return n.left>=t.left&&n.left<t.right&&n.top>=t.top&&n.top<t.bottom}function ly(n,t){var i={left:Math.max(n.left,t.left),right:Math.min(n.right,t.right),top:Math.max(n.top,t.top),bottom:Math.min(n.bottom,t.bottom)};return i.left<i.right&&i.top<i.bottom?i:!1}function ptt(n,t,i){return{left:n.left+t,right:n.right+t,top:n.top+i,bottom:n.bottom+i}}function ay(n,t){return{left:Math.min(Math.max(n.left,t.left),t.right),top:Math.min(Math.max(n.top,t.top),t.bottom)}}function vy(n){return{left:(n.left+n.right)/2,top:(n.top+n.bottom)/2}}function yy(n,t){return{left:n.left-t.left,top:n.top-t.top}}function ks(){return bs==null&&(bs=wtt()),bs}function wtt(){var n,t,i;return typeof document=="undefined"?!0:(n=document.createElement("div"),n.style.position="absolute",n.style.top="0px",n.style.left="0px",n.innerHTML="<table><tr><td><div><\/div><\/td><\/tr><\/table>",n.querySelector("table").style.height="100px",n.querySelector("div").style.height="100%",document.body.appendChild(n),t=n.querySelector("div"),i=t.offsetHeight>0,document.body.removeChild(n),i)}function btt(n,t,r){var u=[],f;return n&&u.push(n),t&&u.push(t),f={"":rs(u)},r&&i(f,r),f}function pf(n,t,i,r){return{dow:n.getUTCDay(),isDisabled:Boolean(r&&!ut(r.activeRange,n)),isOther:Boolean(r&&!ut(r.currentRange,n)),isToday:Boolean(t&&ut(t,n)),isPast:Boolean(i?n<i:t?n<t.start:!1),isFuture:Boolean(i?n>i:t?n>=t.end:!1)}}function ru(n,t){var i=["fc-day","fc-day-"+co[n.dow],];return n.isDisabled?i.push("fc-day-disabled"):(n.isToday&&(i.push("fc-day-today"),i.push(t.getClass("today"))),n.isPast&&i.push("fc-day-past"),n.isFuture&&i.push("fc-day-future"),n.isOther&&i.push("fc-day-other")),i}function ktt(n,t){var i=["fc-slot","fc-slot-"+co[n.dow],];
56return n.isDisabled?i.push("fc-slot-disabled"):(n.isToday&&(i.push("fc-slot-today"),i.push(t.getClass("today"))),n.isPast&&i.push("fc-slot-past"),n.isFuture&&i.push("fc-slot-future")),i}function bi(n,t){return t===void 0&&(t="day"),JSON.stringify({date:vr(n),type:t})}function py(){return wf===null&&(wf=dtt()),wf}function dtt(){var n=document.createElement("div"),t,i;return li(n,{position:"absolute",top:-1e3,left:0,border:0,padding:0,overflow:"scroll",direction:"rtl"}),n.innerHTML="<div><\/div>",document.body.appendChild(n),t=n.firstChild,i=t.getBoundingClientRect().left>n.getBoundingClientRect().left,pu(n),i}function wy(){return gs||(gs=gtt()),gs}function gtt(){var n=document.createElement("div"),t;return n.style.overflow="scroll",n.style.position="absolute",n.style.top="-9999px",n.style.left="-9999px",document.body.appendChild(n),t=by(n),document.body.removeChild(n),t}function by(n){return{x:n.offsetHeight-n.clientHeight,y:n.offsetWidth-n.clientWidth}}function ky(n,t){t===void 0&&(t=!1);var i=window.getComputedStyle(n),u=parseInt(i.borderLeftWidth,10)||0,f=parseInt(i.borderRightWidth,10)||0,e=parseInt(i.borderTopWidth,10)||0,o=parseInt(i.borderBottomWidth,10)||0,s=by(n),h=s.y-u-f,c=s.x-e-o,r={borderLeft:u,borderRight:f,borderTop:e,borderBottom:o,scrollbarBottom:c,scrollbarLeft:0,scrollbarRight:0};return py()&&i.direction==="rtl"?r.scrollbarLeft=h:r.scrollbarRight=h,t&&(r.paddingLeft=parseInt(i.paddingLeft,10)||0,r.paddingRight=parseInt(i.paddingRight,10)||0,r.paddingTop=parseInt(i.paddingTop,10)||0,r.paddingBottom=parseInt(i.paddingBottom,10)||0),r}function dy(n,t,i){t===void 0&&(t=!1);var f=i?n.getBoundingClientRect():bf(n),r=ky(n,t),u={left:f.left+r.borderLeft+r.scrollbarLeft,right:f.right-r.borderRight-r.scrollbarRight,top:f.top+r.borderTop,bottom:f.bottom-r.borderBottom-r.scrollbarBottom};return t&&(u.left+=r.paddingLeft,u.right-=r.paddingRight,u.top+=r.paddingTop,u.bottom-=r.paddingBottom),u}function bf(n){var t=n.getBoundingClientRect();return{left:t.left+window.pageXOffset,top:t.top+window.pageYOffset,right:t.right+window.pageXOffset,bottom:t.bottom+window.pageYOffset}}function nit(n){return n.getBoundingClientRect().height+tit(n)}function tit(n){var t=window.getComputedStyle(n);return parseInt(t.marginTop,10)+parseInt(t.marginBottom,10)}function gy(n){for(var i=[],t;n instanceof HTMLElement;){if(t=window.getComputedStyle(n),t.position==="fixed")break;/(auto|scroll)/.test(t.overflow+t.overflowY+t.overflowX)&&i.push(n);n=n.parentNode}return i}function np(n,t,i){var r=!1,f=function(){r||(r=!0,t.apply(this,arguments))},e=function(){r||(r=!0,i&&i.apply(this,arguments))},u=n(f,e);u&&typeof u.then=="function"&&u.then(f,e)}function iit(n,t,i){(n[t]||(n[t]=[])).push(i)}function rit(n,t,i){i?n[t]&&(n[t]=n[t].filter(function(n){return n!==i})):delete n[t]}function uit(n,t,i,r,u,f,o,s,h,c,l,a,v){return{dateEnv:u,options:i,pluginHooks:o,emitter:c,dispatch:s,getCurrentData:h,calendarApi:l,viewSpec:n,viewApi:t,dateProfileGenerator:r,theme:f,isRtl:i.direction==="rtl",addResizeHandler:function(n){c.on("_resize",n)},removeResizeHandler:function(n){c.off("_resize",n)},createScrollResponder:function(n){return new fp(n,c,e(i.scrollTime))},registerInteractiveComponent:a,unregisterInteractiveComponent:v}}function fit(n){var t=Object.create(this.prototype.propEquality);i(t,n);this.prototype.propEquality=t}function eit(n){var t=Object.create(this.prototype.stateEquality);i(t,n);this.prototype.stateEquality=t}function et(n,t){typeof n=="function"?n(t):n&&(n.current=t)}function oit(n,t,i,r,u){switch(t.type){case"RECEIVE_EVENTS":return sit(n,i[t.sourceId],t.fetchId,t.fetchRange,t.rawEvents,u);case"ADD_EVENTS":return cit(n,t.eventStore,r?r.activeRange:null,u);case"RESET_EVENTS":return t.eventStore;case"MERGE_EVENTS":return ef(n,t.eventStore);case"PREV":case"NEXT":case"CHANGE_DATE":case"CHANGE_VIEW_TYPE":return r?vi(n,r.activeRange,u):n;case"REMOVE_EVENTS":return hn(n,t.eventStore);case"REMOVE_EVENT_SOURCE":return op(n,t.sourceId);case"REMOVE_ALL_EVENT_SOURCES":return wr(n,function(n){return!n.sourceId});case"REMOVE_ALL_EVENTS":return p();default:return n}}function sit(n,t,i,r,u,f){if(t&&i===t.latestFetchId){var e=uf(hit(u,t,f),t,f);return r&&(e=vi(e,r,f)),ef(op(n,t.sourceId),e)}return n}function hit(n,t,i){var r=i.options.eventDataTransform,u=t?t.eventDataTransform:null;return u&&(n=ep(n,u)),r&&(n=ep(n,r)),n}function ep(n,t){var i,r,f,e,u;if(t)for(i=[],r=0,f=n;r<f.length;r++)e=f[r],u=t(e),u?i.push(u):u==null&&i.push(e);else i=n;return i}function cit(n,t,i,r){return i&&(t=vi(t,i,r)),ef(n,t)}function lit(n,t,r){var u=n.defs,f=tt(n.instances,function(n){var f=u[n.defId];return f.allDay||f.recurringDef?n:i(i({},n),{range:{start:r.createMarker(t.toDate(n.range.start,n.forcedStartTzo)),end:r.createMarker(t.toDate(n.range.end,n.forcedEndTzo))},forcedStartTzo:r.canComputeOffset?null:n.forcedStartTzo,forcedEndTzo:r.canComputeOffset?null:n.forcedEndTzo})});return{defs:u,instances:f}}function op(n,t){return wr(n,function(n){return n.sourceId!==t})}function ait(n,t){return{defs:n.defs,instances:dt(n.instances,function(n){return!t[n.instanceId]})}}function ih(n,t){return sp({eventDrag:n},t)}function vit(n,t){return sp({dateSelection:n},t)}function sp(n,t){var r=t.getCurrentData(),u=i({businessHours:r.businessHours,dateSelection:"",eventStore:r.eventStore,eventUiBases:r.eventUiBases,eventSelection:"",eventDrag:null,eventResize:null},n);return(t.pluginHooks.isPropsValid||hp)(u,t)}function hp(n,t,i,r){return(i===void 0&&(i={}),n.eventDrag&&!yit(n,t,i,r))?!1:n.dateSelection&&!pit(n,t,i,r)?!1:!0}function yit(n,t,r,u){var d=t.getCurrentData(),o=n.eventDrag,g=o.mutatedEvents,nt=g.defs,it=g.instances,c=lf(nt,o.isEvent?n.eventUiBases:{"":d.selectionConfig}),v,p,w,et,e,ot,b,h,k;u&&(c=tt(c,u));var a=ait(n.eventStore,o.affectedEvents.instances),rt=a.defs,ut=a.instances,ct=lf(rt,n.eventUiBases);for(v in it){var f=it[v],ft=f.range,y=c[f.defId],s=nt[f.defId];if(!cp(y.constraints,ft,a,n.businessHours,t))return!1;p=t.options.eventOverlap;w=typeof p=="function"?p:null;for(et in ut)if(e=ut[et],cf(ft,e.range)&&((ot=ct[e.defId].overlap,ot===!1&&o.isEvent)||y.overlap===!1||w&&!w(new l(t,rt[e.defId],e),new l(t,s,f))))return!1;for(b=d.eventStore,h=0,k=y.allows;h<k.length;h++){var lt=k[h],at=i(i({},r),{range:f.range,allDay:s.allDay}),st=b.defs[s.defId],vt=b.instances[v],ht=void 0;if(ht=st?new l(t,st,vt):new l(t,s),!lt(cs(at,t),ht))return!1}}return!0}function pit(n,t,r,u){var s=n.eventStore,d=s.defs,v=s.instances,y=n.dateSelection,p=y.range,f=t.getCurrentData().selectionConfig,h,c,w,e,o,a,b,k;if(u&&(f=u(f)),!cp(f.constraints,p,s,n.businessHours,t))return!1;h=t.options.selectOverlap;c=typeof h=="function"?h:null;for(w in v)if(e=v[w],cf(p,e.range)&&(f.overlap===!1||c&&!c(new l(t,d[e.defId],e),null)))return!1;for(o=0,a=f.allows;o<a.length;o++)if(b=a[o],k=i(i({},r),y),!b(cs(k,t),null))return!1;return!0}function cp(n,t,i,r,u){for(var o,f=0,e=n;f<e.length;f++)if(o=e[f],!bit(wit(o,t,i,r,u),t))return!1;return!0}function wit(n,t,i,r,u){return n==="businessHours"?rh(vi(r,t,u)):typeof n=="string"?rh(wr(i,function(t){return t.groupId===n})):typeof n=="object"&&n?rh(vi(n,t,u)):[]}function rh(n){var t=n.instances,i=[];for(var r in t)i.push(t[r].range);return i}function bit(n,t){for(var u,i=0,r=n;i<r.length;i++)if(u=r[i],gr(u,t))return!0;return!1}function nt(n){return{id:ri(),deps:n.deps||[],reducers:n.reducers||[],isLoadingFuncs:n.isLoadingFuncs||[],contextInit:[].concat(n.contextInit||[]),eventRefiners:n.eventRefiners||{},eventDefMemberAdders:n.eventDefMemberAdders||[],eventSourceRefiners:n.eventSourceRefiners||{},isDraggableTransformers:n.isDraggableTransformers||[],eventDragMutationMassagers:n.eventDragMutationMassagers||[],eventDefMutationAppliers:n.eventDefMutationAppliers||[],dateSelectionTransformers:n.dateSelectionTransformers||[],datePointTransforms:n.datePointTransforms||[],dateSpanTransforms:n.dateSpanTransforms||[],views:n.views||{},viewPropsTransformers:n.viewPropsTransformers||[],isPropsValid:n.isPropsValid||null,externalDefTransforms:n.externalDefTransforms||[],eventResizeJoinTransforms:n.eventResizeJoinTransforms||[],viewContainerAppends:n.viewContainerAppends||[],eventDropTransformers:n.eventDropTransformers||[],componentInteractions:n.componentInteractions||[],calendarInteractions:n.calendarInteractions||[],themeClasses:n.themeClasses||{},eventSourceDefs:n.eventSourceDefs||[],cmdFormatter:n.cmdFormatter,recurringTypes:n.recurringTypes||[],namedTimeZonedImpl:n.namedTimeZonedImpl,initialView:n.initialView||"",elementDraggingImpl:n.elementDraggingImpl,optionChangeHandlers:n.optionChangeHandlers||{},scrollGridImpl:n.scrollGridImpl||null,contentTypeHandlers:n.contentTypeHandlers||{},listenerRefiners:n.listenerRefiners||{},optionRefiners:n.optionRefiners||{},propSetHandlers:n.propSetHandlers||{}}}function kit(n,t){function r(n){for(var t,f=0,e=n;f<e.length;f++)t=e[f],u[t.id]||(u[t.id]=!0,r(t.deps),i=git(i,t))}var u={},i={reducers:[],isLoadingFuncs:[],contextInit:[],eventRefiners:{},eventDefMemberAdders:[],eventSourceRefiners:{},isDraggableTransformers:[],eventDragMutationMassagers:[],eventDefMutationAppliers:[],dateSelectionTransformers:[],datePointTransforms:[],dateSpanTransforms:[],views:{},viewPropsTransformers:[],isPropsValid:null,externalDefTransforms:[],eventResizeJoinTransforms:[],viewContainerAppends:[],eventDropTransformers:[],componentInteractions:[],calendarInteractions:[],themeClasses:{},eventSourceDefs:[],cmdFormatter:null,recurringTypes:[],namedTimeZonedImpl:null,initialView:"",elementDraggingImpl:null,optionChangeHandlers:{},scrollGridImpl:null,contentTypeHandlers:{},listenerRefiners:{},optionRefiners:{},propSetHandlers:{}};return n&&r(n),r(t),i}function dit(){var t=[],i=[],n;return function(r,u){return n&&ct(r,t)&&ct(u,i)||(n=kit(r,u)),t=r,i=u,n}}function git(n,t){return{reducers:n.reducers.concat(t.reducers),isLoadingFuncs:n.isLoadingFuncs.concat(t.isLoadingFuncs),contextInit:n.contextInit.concat(t.contextInit),eventRefiners:i(i({},n.eventRefiners),t.eventRefiners),eventDefMemberAdders:n.eventDefMemberAdders.concat(t.eventDefMemberAdders),eventSourceRefiners:i(i({},n.eventSourceRefiners),t.eventSourceRefiners),isDraggableTransformers:n.isDraggableTransformers.concat(t.isDraggableTransformers),eventDragMutationMassagers:n.eventDragMutationMassagers.concat(t.eventDragMutationMassagers),eventDefMutationAppliers:n.eventDefMutationAppliers.concat(t.eventDefMutationAppliers),dateSelectionTransformers:n.dateSelectionTransformers.concat(t.dateSelectionTransformers),datePointTransforms:n.datePointTransforms.concat(t.datePointTransforms),dateSpanTransforms:n.dateSpanTransforms.concat(t.dateSpanTransforms),views:i(i({},n.views),t.views),viewPropsTransformers:n.viewPropsTransformers.concat(t.viewPropsTransformers),isPropsValid:t.isPropsValid||n.isPropsValid,externalDefTransforms:n.externalDefTransforms.concat(t.externalDefTransforms),eventResizeJoinTransforms:n.eventResizeJoinTransforms.concat(t.eventResizeJoinTransforms),viewContainerAppends:n.viewContainerAppends.concat(t.viewContainerAppends),eventDropTransformers:n.eventDropTransformers.concat(t.eventDropTransformers),calendarInteractions:n.calendarInteractions.concat(t.calendarInteractions),componentInteractions:n.componentInteractions.concat(t.componentInteractions),theme
56Classes:i(i({},n.themeClasses),t.themeClasses),eventSourceDefs:n.eventSourceDefs.concat(t.eventSourceDefs),cmdFormatter:t.cmdFormatter||n.cmdFormatter,recurringTypes:n.recurringTypes.concat(t.recurringTypes),namedTimeZonedImpl:t.namedTimeZonedImpl||n.namedTimeZonedImpl,initialView:n.initialView||t.initialView,elementDraggingImpl:n.elementDraggingImpl||t.elementDraggingImpl,optionChangeHandlers:i(i({},n.optionChangeHandlers),t.optionChangeHandlers),scrollGridImpl:t.scrollGridImpl||n.scrollGridImpl,contentTypeHandlers:i(i({},n.contentTypeHandlers),t.contentTypeHandlers),listenerRefiners:i(i({},n.listenerRefiners),t.listenerRefiners),optionRefiners:i(i({},n.optionRefiners),t.optionRefiners),propSetHandlers:i(i({},n.propSetHandlers),t.propSetHandlers)}}function nrt(n,t){var i={};for(var r in n)uh(r,i,n,t);for(r in t)uh(r,i,n,t);return i}function uh(n,t,i,r){if(t[n])return t[n];var u=trt(n,t,i,r);return u&&(t[n]=u),u}function trt(n,t,r,u){var e=r[n],o=u[n],c=function(n){return e&&e[n]!==null?e[n]:o&&o[n]!==null?o[n]:null},s=c("component"),h=c("superType"),f=null;if(h){if(h===n)throw new Error("Can't have a custom view type that references itself");f=uh(h,t,r,u)}return(!s&&f&&(s=f.component),!s)?null:{type:n,component:s,defaults:i(i({},f?f.defaults:{}),e?e.rawOptions:{}),overrides:i(i({},f?f.overrides:{}),o?o.rawOptions:{})}}function fh(n){return t(gf.Consumer,null,function(r){return t(lp,i({renderId:r},n))})}function eh(){var t,n,i=[];return function(r,u){return n&&rt(n,u)&&r===t||(t=r,n=u,i=ap(r,u)),i}}function ap(n,t){return typeof n=="function"&&(n=n(t)),of(n)}function vp(n,i){return typeof n=="function"?n(i,t):n}function yp(n){return tt(n,irt)}function irt(n){var t=typeof n=="function"?{component:n}:n,i=t.component;return t.content&&(i=rrt(t)),{superType:t.type,component:i,rawOptions:t}}function rrt(n){return function(r){return t(at.Consumer,null,function(u){return t(ti,{viewSpec:u.viewSpec},function(f,e){var o=i(i({},r),{nextDayThreshold:u.options.nextDayThreshold});return t(k,{hookProps:o,classNames:n.classNames,content:n.content,didMount:n.didMount,willUnmount:n.willUnmount,elRef:f},function(n,i,r,u){return t("div",{className:e.concat(i).join(" "),ref:n},u)})})})}}function urt(n,t,i,r){var f=yp(n),u=yp(t.views),e=nrt(f,u);return tt(e,function(n){return frt(n,u,t,i,r)})}function frt(n,t,r,u,f){var l=n.overrides.duration||n.defaults.duration||u.duration||r.duration,s=null,e="",h="",a={},c,o;return l&&(s=ert(l),s&&(c=du(s),e=c.unit,c.value===1&&(h=e,a=t[e]?t[e].rawOptions:{}))),o=function(t){var i=t.buttonText||{},r=n.defaults.buttonTextKey;return r!=null&&i[r]!=null?i[r]:i[n.type]!=null?i[n.type]:i[h]!=null?i[h]:null},{type:n.type,component:n.component,duration:s,durationUnit:e,singleUnit:h,optionDefaults:n.defaults,optionOverrides:i(i({},a),n.overrides),buttonTextOverride:o(u)||o(r)||n.overrides.buttonText,buttonTextDefault:o(f)||n.defaults.buttonText||o(lt)||n.type}}function ert(n){var i=JSON.stringify(n),t=oh[i];return t===undefined&&(t=e(n),oh[i]=t),t}function ort(n,t){switch(t.type){case"CHANGE_VIEW_TYPE":n=t.viewType}return n}function srt(n,t){var r;switch(t.type){case"SET_OPTION":return i(i({},n),(r={},r[t.optionName]=t.rawOptionValue,r));default:return n}}function hrt(n,t,i,r){var u;switch(t.type){case"CHANGE_VIEW_TYPE":return r.build(t.dateMarker||i);case"CHANGE_DATE":if(!n.activeRange||!ut(n.currentRange,t.dateMarker))return r.build(t.dateMarker);break;case"PREV":if(u=r.buildPrev(n,i),u.isValid)return u;break;case"NEXT":if(u=r.buildNext(n,i),u.isValid)return u}return n}function crt(n,t,i){var r=t?t.activeRange:null;return wp({},brt(n,i),r,i)}function lrt(n,t,i,r){var u=i?i.activeRange:null;switch(t.type){case"ADD_EVENT_SOURCES":return wp(n,t.sources,u,r);case"REMOVE_EVENT_SOURCE":return vrt(n,t.sourceId);case"PREV":case"NEXT":case"CHANGE_DATE":case"CHANGE_VIEW_TYPE":return i?bp(n,u,r):n;case"FETCH_EVENT_SOURCES":return sh(n,t.sourceIds?sa(t.sourceIds):kp(n,r),u,r);case"RECEIVE_EVENTS":case"RECEIVE_EVENT_ERROR":return wrt(n,t.sourceId,t.fetchId,t.fetchRange);case"REMOVE_ALL_EVENT_SOURCES":return{};default:return n}}
56function art(n,t,i){var r=t?t.activeRange:null;return sh(n,kp(n,i),r,i)}function pp(n){for(var t in n)if(n[t].isFetching)return!0;return!1}function wp(n,t,r,u){for(var o,f={},e=0,s=t;e<s.length;e++)o=s[e],f[o.sourceId]=o;return r&&(f=bp(f,r,u)),i(i({},n),f)}function vrt(n,t){return dt(n,function(n){return n.sourceId!==t})}function bp(n,t,i){return sh(n,dt(n,function(n){return yrt(n,t,i)}),t,i)}function yrt(n,t,i){return dp(n,i)?!i.options.lazyFetching||!n.fetchRange||n.isFetching||t.start<n.fetchRange.start||t.end>n.fetchRange.end:!n.latestFetchId}function sh(n,t,i,r){var e={},u,f;for(u in n)f=n[u],e[u]=t[u]?prt(f,i,r):f;return e}function prt(n,t,r){var u=r.options,f=r.calendarApi,o=r.pluginHooks.eventSourceDefs[n.sourceDefId],e=ri();return o.fetch({eventSource:n,range:t,context:r},function(i){var o=i.rawEvents;u.eventSourceSuccess&&(o=u.eventSourceSuccess.call(f,o,i.xhr)||o);n.success&&(o=n.success.call(f,o,i.xhr)||o);r.dispatch({type:"RECEIVE_EVENTS",sourceId:n.sourceId,fetchId:e,fetchRange:t,rawEvents:o})},function(i){console.warn(i.message,i);u.eventSourceFailure&&u.eventSourceFailure.call(f,i);n.failure&&n.failure(i);r.dispatch({type:"RECEIVE_EVENT_ERROR",sourceId:n.sourceId,fetchId:e,fetchRange:t,error:i})}),i(i({},n),{isFetching:!0,latestFetchId:e})}function wrt(n,t,r,u){var f,e=n[t];return e&&r===e.latestFetchId?i(i({},n),(f={},f[t]=i(i({},e),{isFetching:!1,fetchRange:u}),f)):n}function kp(n,t){return dt(n,function(n){return dp(n,t)})}function brt(n,t){var s=gv(t),r=[].concat(n.eventSources||[]),e=[],i,u,o,f;for(n.initialEvents&&r.unshift(n.initialEvents),n.events&&r.unshift(n.events),i=0,u=r;i<u.length;i++)o=u[i],f=dv(o,t,s),f&&e.push(f);return e}function dp(n,t){var i=t.pluginHooks.eventSourceDefs;return!i[n.sourceDefId].ignoreRange}function krt(n,t){switch(t.type){case"UNSELECT_DATES":return null;case"SELECT_DATES":return t.selection;default:return n}}function drt(n,t){switch(t.type){case"UNSELECT_EVENT":return"";case"SELECT_EVENT":return t.eventInstanceId;default:return n}}function grt(n,t){var i;switch(t.type){case"UNSET_EVENT_DRAG":return null;case"SET_EVENT_DRAG":return i=t.state,{affectedEvents:i.affectedEvents,mutatedEvents:i.mutatedEvents,isEvent:i.isEvent};default:return n}}function nut(n,t){var i;switch(t.type){case"UNSET_EVENT_RESIZE":return null;case"SET_EVENT_RESIZE":return i=t.state,{affectedEvents:i.affectedEvents,mutatedEvents:i.mutatedEvents,isEvent:i.isEvent};default:return n}}function tut(n,t,i,r,u){var f=[],e=n.headerToolbar?gp(n.headerToolbar,n,t,i,r,u,f):null,o=n.footerToolbar?gp(n.footerToolbar,n,t,i,r,u,f):null;return{headerToolbar:e,footerToolbar:o,viewsWithButtons:f}}function gp(n,t,i,r,u,f,e){return tt(n,function(n){return iut(n,t,i,r,u,f,e)})}function iut(n,t,i,r,u,f,e){var o=t.direction==="rtl",s=t.customButtons||{},h=i.buttonText||{},c=t.buttonText||{},l=n?n.split(" "):[];return l.map(function(n){return n.split(",").map(function(n){if(n==="title")return{buttonName:n};var i,v,a,l,t;return(i=s[n])?(a=function(n){i.click&&i.click.call(n.target,n,n.target)},(l=r.getCustomButtonIconClass(i))||(l=r.getIconClass(n,o))||(t=i.text)):(v=u[n])?(e.push(n),a=function(){f.changeView(n)},(t=v.buttonTextOverride)||(l=r.getIconClass(n,o))||(t=v.buttonTextDefault)):f[n]&&(a=function(){f[n]()},(t=h[n])||(l=r.getIconClass(n,o))||(t=c[n])),{buttonName:n,buttonClick:a,buttonIcon:l,buttonText:t}})})}function hh(n,t,i,r,u){var e,f;n=n.toUpperCase();e=null;n==="GET"?t=out(t,i):e=nw(i);f=new XMLHttpRequest;f.open(n,t,!0);n!=="GET"&&f.setRequestHeader("Content-Type","application/x-www-form-urlencoded");f.onload=function(){if(f.status>=200&&f.status<400){var n=!1,t=void 0;try{t=JSON.parse(f.responseText);n=!0}catch(i){}n?r(t,f):u("Failure parsing JSON",f)}else u("Request failed",f)};f.onerror=function(){u("Request failed",f)};f.send(e)}function out(n,t){return n+(n.indexOf("?")===-1?"?":"&")+nw(t)}function nw(n){var t=[];for(var i in n)t.push(encodeURIComponent(i)+"="+encodeURIComponent(n[i]));return t.join("&")}function lut(n,t,r){var f=r.dateEnv,h=r.options,e,o,s,c,u={};return e=n.startParam,e==null&&(e=h.startParam),o=n.endParam,o==null&&(o=h.endParam),s=n.timeZoneParam,s==null&&(s=h.timeZoneParam),c=typeof n.extraParams=="function"?n.extraParams():n.extraParams||{}
56,i(u,c),u[e]=f.formatIso(t.start),u[o]=f.formatIso(t.end),f.timeZone!=="local"&&(u[s]=f.timeZone),u}function put(n,t,i,r){for(var e=n?sa(n):null,u=h(i.start),s=i.end,o=[],f;u<s;)f=void 0,(!e||e[u.getUTCDay()])&&(f=t?r.add(u,t):u,o.push(f)),u=a(u,1);return o}function iw(n,t){for(var o,s,i,u,h,v,f,c,y,r=po(t.getCurrentData().eventSources),l=[],e=0,a=n;e<a.length;e++){for(o=a[e],s=!1,i=0;i<r.length;i+=1)if(r[i]._raw===o){r.splice(i,1);s=!0;break}s||l.push(o)}for(u=0,h=r;u<h.length;u++)v=h[u],t.dispatch({type:"REMOVE_EVENT_SOURCE",sourceId:v.sourceId});for(f=0,c=l;f<c.length;f++)y=c[f],t.calendarApi.addEventSource(y)}function wut(n,t){t.emitter.trigger("datesSet",i(i({},wv(n.activeRange,t.dateEnv)),{view:t.viewApi}))}function but(n,t){var i=t.emitter;i.hasHandlers("eventsSet")&&i.trigger("eventsSet",ni(n,t))}function kut(n,t){n.innerHTML=t}function dut(n,t){var u=Array.prototype.slice.call(n.childNodes),f=Array.prototype.slice.call(t),i,r,e;if(!ct(u,f)){for(i=0,r=f;i<r.length;i++)e=r[i],n.appendChild(e);u.forEach(pu)}}function gut(n,t,i){var r;return r=/^(year|month)$/.test(n.currentRangeUnit)?n.currentRange:n.activeRange,i.formatRange(r.start,r.end,c(t.titleFormat||nft(n)),{isEndExclusive:n.isRangeAllDay,defaultSeparator:t.titleRangeSeparator})}function nft(n){var i=n.currentRangeUnit,t;return i==="year"?{year:"numeric"}:i==="month"?{year:"numeric",month:"long"}:(t=cr(n.currentRange.start,n.currentRange.end),t!==null&&t>1)?{year:"numeric",month:"short",day:"numeric"}:{year:"numeric",month:"long",day:"numeric"}}function tft(n,t,i,r,u,f,e,o){var s=ws(t||e.defaultCode,e.map);return new ys({calendarSystem:"gregory",timeZone:n,namedTimeZoneImpl:f.namedTimeZonedImpl,locale:s,weekNumberCalculation:i,firstDay:r,weekText:u,cmdFormatter:f.cmdFormatter,defaultSeparator:o})}function ift(n,t){var i=t.themeClasses[n.themeSystem]||vt;return new i(n)}function rft(n){var t=n.dateProfileGeneratorClass||ne;return new t(n)}function uft(n,t,i){return new ls(n,t,i)}function fft(n){return tt(n,function(n){return n.ui})}function eft(n,t,i){var f={"":t},u,r;for(u in n)r=n[u],r.sourceId&&i[r.sourceId]&&(f[u]=i[r.sourceId]);return f}function oft(n){var t=n.options;return{eventUiSingleBase:kr({display:t.eventDisplay,editable:t.editable,startEditable:t.eventStartEditable,durationEditable:t.eventDurationEditable,constraint:t.eventConstraint,overlap:typeof t.eventOverlap=="boolean"?t.eventOverlap:undefined,allow:t.eventAllow,backgroundColor:t.eventBackgroundColor,borderColor:t.eventBorderColor,textColor:t.eventTextColor,color:t.eventColor},n),selectionConfig:kr({constraint:t.selectConstraint,overlap:typeof t.selectOverlap=="boolean"?t.selectOverlap:undefined,allow:t.selectAllow},n)}}function ch(n,t){for(var u,i=0,r=t.pluginHooks.isLoadingFuncs;i<r.length;i++)if(u=r[i],u(n))return!0;return!1}function sft(n){return hy(n.options.businessHours,n)}function uw(n,t){for(var i in n)console.warn("Unknown option '"+i+"'"+(t?" for view '"+t+"'":""))}function hft(n,t){return nu(n.eventStore,n.eventUiBases,n.dateProfile.activeRange,t?n.nextDayThreshold:null).fg}function cft(n,t){return{component:n,el:t.el,useEventCenter:t.useEventCenter!=null?t.useEventCenter:!0}}function re(n){var t;return t={},t[n.component.uid]=n,t}function ue(n){var i=pr(n,lft),t=i.refined,r=i.extra;return{startTime:t.startTime||null,duration:t.duration||null,create:t.create!=null?t.create:!0,sourceId:t.sourceId,leftoverProps:r}}function wft(n,t,i,r,u,f){var e=i.build(u,undefined,!1),o=i.buildPrev(t,r,!1),s=i.buildNext(t,r,!1);return{title:f,activeButton:n.type,isTodayEnabled:e.isValid&&!ut(t.currentRange,u),isPrevEnabled:o.isValid,isNextEnabled:s.isValid}}function bft(n){return n.map(function(n){return new n})}function hw(n,t){return!n||t>10?c({weekday:"short"}):t>1?c({weekday:"short",month:"numeric",day:"numeric",omitCommas:!0}):c({weekday:"long"})}function cw(n){return n.text}function vw(n){var t=h(n),i=a(t,1);return{start:t,end:i}}function kft(n,t,i){return n||hw(t,i)}function bh(n,t){var i=n.activeRange;return t?i:{start:ai(i.start,n.slotMinTime.milliseconds),end:ai(i.end,n.slotMaxTime.milliseconds-864e5)}}function yw(n){for(var u,f=ll(n,".fc-scrollgrid-shrink"),t=0,i=0,r=f;i<r.length;i++)u=r[i],t=Math.max(t,ia(u));return Math.ceil(t)}function dh(n,t){return n.liquid&&t.liquid}function pw(n,t){return t.maxHeight!=null||dh(n,t)}function ww(n,i,r){var u=r.expandRows;return typeof i.content=="function"?i.content(r):t("table",{className:[i.tableClassName,n.syncRowHeights?"fc-scrollgrid-sync-table":"",].join(" "),style:{minWidth:r.tableMinWidth,width:r.clientWidth,height:u?r.clientHeight:""}},r.tableColGroupNode,t("tbody",{},typeof i.rowContent=="function"?i.rowContent(r):i.rowContent))}function bw(n,t){return ct(n,t,rt)}function kw(n,i){for(var r,s,f,e=[],u=0,o=n;u<o.length;u++)for(r=o[u],s=r.span||1,f=0;f<s;f+=1)e.push(t("col",{style:{width:r.width==="shrink"?dw(i):r.width||"",minWidth:r.minWidth||""}}));return t.apply(void 0,v(["colgroup",{}],e))}function dw(n){return n==null?4:n}function gw(n){for(var r,t=0,i=n;t<i.length;t++)if(r=i[t],r.width==="shrink")return!0;return!1}function nb(n,t){var i=["fc-scrollgrid",t.theme.getClass("table"),];return n&&i.push("fc-scrollgrid-liquid"),i}function tb(n,t){var i=["fc-scrollgrid-section","fc-scrollgrid-section-"+n.type,n.className,];return t&&n.liquid&&n.maxHeight==null&&i.push("fc-scrollgrid-section-liquid"),n.isSticky&&i.push("fc-scrollgrid-section-sticky"),i}function oe(n){return t("div",{className:"fc-scrollgrid-sticky-shim",style:{width:n.clientWidth,minWidth:n.tableMinWidth}})}function ou(n){var t=n.stickyHeaderDates;return(t==null||t==="auto")&&(t=n.height==="auto"||n.viewHeight==="auto"),t}function gh(n){var t=n.stickyFooterScrollbar;return(t==null||t==="auto")&&(t=n.height==="auto"||n.viewHeight==="auto"),t}function dft(n){return t("div",{className:"fc-event-main-frame"},n.timeText&&t("div",{className:"fc-event-time"},n.timeText),t("div",{className:"fc-event-title-container"},t("div",{className:"fc-event-title fc-sticky"},n.event.title||t(b,null," "))))}function gft(n){var t=n.eventRange.def.url;return t?{href:t}:{}}function ib(n){var t=n.date,r=n.dateEnv,u=pf(t,n.todayRange,null,n.dateProfile);return i(i(i({date:r.toDate(t),view:n.viewApi},u),{dayNumberText:n.showDayNumber?r.format(t,net):""}),n.extraProps)}function nc(n){return t("div",{className:"fc-"+n})}function tet(n){var i=n.event.title;return i&&t("div",{className:"fc-event-title"},n.event.title)}function iet(n){return n.text}function ret(n){return n.button===0&&!n.ctrlKey}function uet(){tc+=1;setTimeout(function(){tc-=1},si.touchMouseIgnoreWait)}function fet(){ve+=1;ve===1&&window.addEventListener("touchmove",fb,{passive:!1})}function eet(){ve-=1;ve||window.removeEventListener("touchmove",fb,{passive:!1})}function fb(n){ic&&n.preventDefault()}function aet(n){var t=n.tagName;return t==="HTML"||t==="BODY"}function pe(n,t){return!n&&!t?!0:Boolean(n)!==Boolean(t)?!1:pv(n.dateSpan,t.dateSpan)}function rc(n,t){for(var e,r={},u=0,f=t.pluginHooks.datePointTransforms;u<f.length;u++)e=f[u],i(r,e(n,t));return i(r,vet(n,t.dateEnv)),r}function vet(n,t){return{date:t.toDate(n.range.start),dateStr:t.formatIso(n.range.start,{omitTime:n.allDay}),allDay:n.allDay}}function yet(n){var i=n.context.options,t=i.selectLongPressDelay;return t==null&&(t=i.longPressDelay),t}function pet(n,t,r){var o=n.dateSpan,c=t.dateSpan,s=[o.range.start,o.range.end,c.range.start,c.range.end,],u,f,h,l,e;for(s.sort(ta),u={},f=0,h=r;f<h.length;f++){if(l=h[f],e=l(n,t),e===!1)return null;e&&i(u,e)}return u.range={start:s[0],end:s[3]},u.allDay=o.allDay,u}function wet(n,t,i){var l=n.dateSpan,r=t.dateSpan,e=l.range.start,v=r.range.start,u={},o,s,f,c,a;for(l.allDay!==r.allDay&&(u.allDay=r.allDay,u.hasEnd=t.component.context.options.allDayMaintainDuration,r.allDay&&(e=h(e))),o=fi(e,v,n.component.context.dateEnv,n.component===t.component?n.component.largeUnit:null),o.milliseconds&&(u.allDay=!1),s={datesDelta:o,standardProps:u},f=0,c=i;f<c.length;f++)a=c[f],a(s,n,t);return s}function bet(n){var i=n.context.options,t=i.eventLongPressDelay;return t==null&&(t=i.longPressDelay),t}function ket(n,t,r,u,f){for(var a,s,h=n.component.context.dateEnv,v=n.dateSpan.range.start,y=t.dateSpan.range.start,o=fi(v,y,h,n.component.largeUnit),e={},c=0,l=f;c<l.length;c++){if(a=l[c],s=a(n,t),s===!1)return null;s&&i(e,s)}if(r){if(h.add(u.start,o)<u.end)return e.startDelta=o,e}else if(h.add(u.end,o)>u.start)return e.endDelta=o,e;return null}function tot(n,t,r){for(var s,l,a,e=i({},t.leftoverProps),f=0,o=r.pluginHooks.externalDefTransforms;f<o.length;f++)s=o[f],i(e,s(n,t));var h=sf(e,r),v=h.refined,y=h.extra,c=dr(v,y,t.sourceId,n.allDay,r.options.forceEventDuration||Boolean(t.duration),r),u=n.range.start;return n.allDay&&t.startTime&&(u=r.dateEnv.add(u,t.startTime)),l=t.duration?r.dateEnv.add(u,t.duration):af(n.allDay,u,r),a=lr(c.defId,{start:u,end:l}),{def:c,instance:a}}function iot(n){var t=rot(n,"event"),i=t?JSON.parse(t):{create:!1};return ue(i)}function rot(n,t){var i=si.dataAttrPrefix,r=(i?i+"-":"")+t;return n.getAttribute("data-"+r)||""}function we(n,t){for(var i,f,e,r=[],u=0;u<t;u+=1)r[u]=[];for(i=0,f=n;i<f.length;i++)e=f[i],r[e.row].push(e);return r}function be(n,t){for(var i,f,e,r=[],u=0;u<t;u+=1)r[u]=[];for(i=0,f=n;i<f.length;i++)e=f[i],r[e.firstCol].push(e);return r}function yb(n,t){var r=[],i,u,f,e;if(n){for(i=0;i<t;i+=1)r[i]={affectedInstances:n.affectedInstances,isEvent:n.isEvent,segs:[]};for(u=0,f=n.segs;u<f.length;u++)e=f[u],r[e.row].segs.push(e)}else for(i=0;i<t;i+=1)r[i]=null;return r}function sot(n){return n.dayNumberText}function hot(n){return n.text}function bb(n){var t=n.eventRange.ui.display;return t==="list-item"||t==="auto"&&!n.eventRange.def.allDay&&n.firstCol===n.lastCol&&n.isStart&&n.isEnd}
56function cot(n){return t(b,null,t("div",{className:"fc-daygrid-event-dot",style:{borderColor:n.borderColor||n.backgroundColor}}),n.timeText&&t("div",{className:"fc-event-time"},n.timeText),t("div",{className:"fc-event-title"},n.event.title||t(b,null," ")))}function lot(n){var t=n.eventRange.def.url;return t?{href:t}:{}}function aot(n,t,i,r,u,f,e,o){function lt(n,t){var i,r,u,f;if(!ft(n,t,0))for(i=n.firstCol;i<=n.lastCol;i+=1)for(r=0,u=h[i];r<u.length;r++)if(f=u[r],ft(n,t,f.bottom))return}function ft(n,t,i){var u,f,r;if(at(n,t,i)){for(u=n.firstCol;u<=n.lastCol;u+=1){for(f=h[u],r=0;r<f.length&&i>=f[r].top;)r+=1;f.splice(r,0,{seg:n,top:i,bottom:i+t})}return!0}return!1}function at(n,t,i){for(var u,f,e,r=n.firstCol;r<=n.lastCol;r+=1)for(u=0,f=h[r];u<f.length;u++)if(e=f[u],i<e.bottom&&i+t>e.top)return!1;return!0}for(var p,b,c,w,d,v,s,g,et,ot,h=[],l=[],a={},nt={},tt={},it={},rt={},ut=0;ut<e;ut+=1)h.push([]),l.push(0);for(t=tu(t,o),p=0,b=t;p<b.length;p++){var s=b[p],st=s.eventRange.instance.instanceId,ht=u[st+":"+s.firstCol];lt(s,ht||0)}for(i===!0||r===!0?pot(l,a,h,f):typeof i=="number"?wot(l,a,h,i):typeof r=="number"&&bot(l,a,h,r),c=0;c<e;c+=1){var ct=h[c],k=0,y=0;for(w=0,d=ct;w<d.length;w++)v=d[w],s=v.seg,a[s.eventRange.instance.instanceId]||(nt[s.eventRange.instance.instanceId]=v.top,s.firstCol===s.lastCol&&s.isStart&&s.isEnd?(tt[s.eventRange.instance.instanceId]=v.top-k,y=0,k=v.bottom):y=v.bottom-k);y&&(l[c]?it[c]=y:rt[c]=y)}for(g in u)u[g]||(a[g.split(":")[0]]=!0);return et=h.map(vot),ot=h.map(function(t,i){var r=yot(t);return kot(r,n[i].date,i)}),{segsByFirstCol:et,segsByEachCol:ot,segIsHidden:a,segTops:nt,segMarginTops:tt,moreCnts:l,moreTops:it,paddingBottoms:rt}}function vot(n,t){for(var r,u=[],i=0,f=n;i<f.length;
56i++)r=f[i],r.seg.firstCol===t&&u.push(r.seg);return u}function yot(n){for(var u,i=[],t=0,r=n;t<r.length;t++)u=r[t],i.push(u.seg);return i}function pot(n,t,i,r){hc(n,t,i,!0,function(n){return n.bottom<=r})}function wot(n,t,i,r){hc(n,t,i,!1,function(n,t){return t<r})}function bot(n,t,i,r){hc(n,t,i,!0,function(n,t){return t<r})}function hc(n,t,i,r,u){function p(n){var u=n.seg,f=u.eventRange.instance.instanceId,i,r,t;if(!a[f])for(a[f]=!0,i=u.firstCol;i<=u.lastCol;i+=1){for(r=o[i],t=0;t<r.length&&n.top>=r[t].top;)t+=1;r.splice(t,0,n)}}function y(i,r,u){var e=i.seg,s=e.eventRange.instance.instanceId,f,h,c;if(!t[s])for(t[s]=!0,f=e.firstCol;f<=e.lastCol;f+=1)if(n[f]+=1,h=n[f],u&&h===1&&r>0)for(c=r-1;o[f].length>c;)y(o[f].pop(),o[f].length,!1)}for(var v,s,h,c,e,l=n.length,a={},o=[],f=0;f<l;f+=1)o.push([]);for(f=0;f<l;f+=1)for(v=i[f],s=0,h=0,c=v;h<c.length;h++)e=c[h],u(e,s)?p(e):y(e,s,r),e.top!==e.bottom&&(s+=1)}function kot(n,t,r){for(var h=t,v=a(h,1),y={start:h,end:v},c=[],o=0,l=n;o<l.length;o++){var u=l[o],f=u.eventRange,s=f.range,e=gt(s,y);e&&c.push(i(i({},u),{firstCol:r,lastCol:r,eventRange:{def:f.def,ui:i(i({},f.ui),{durationEditable:!1}),instance:f.instance,range:e},isStart:u.isStart&&e.start.valueOf()===s.start.valueOf(),isEnd:u.isEnd&&e.end.valueOf()===s.end.valueOf()}))}return c}function tst(n){return typeof n=="function"?n:function(t){return"+"+t+" "+n}}function ist(n){return n.eventRange.def.allDay}function nk(n,t){var i=new yh(n.renderRange,t);return new ph(i,/year|month|week/.test(n.currentRangeUnit))}function tk(n){var i=["fc-timegrid-slot","fc-timegrid-slot-label",n.isLabeled?"fc-scrollgrid-shrink":"fc-timegrid-slot-minor",];return t(at.Consumer,null,function(r){if(!n.isLabeled)return t("td",{className:i.join(" "),"data-time":n.isoTimeStr});var f=r.dateEnv,u=r.options,e=r.viewApi,o=u.slotLabelFormat==null?ost:Array.isArray(u.slotLabelFormat)?c(u.slotLabelFormat[0]):c(u.slotLabelFormat),s={level:0,time:n.time,date:f.toDate(n.date),view:e,text:f.format(n.date,o)};return t(k,{hookProps:s,classNames:u.slotLabelClassNames,content:u.slotLabelContent,defaultContent:sst,didMount:u.slotLabelDidMount,willUnmount:u.slotLabelWillUnmount},function(r,u,f,e){return t("td",{ref:r,className:i.concat(u).join(" "),"data-time":n.isoTimeStr},t("div",{className:"fc-timegrid-slot-label-frame fc-scrollgrid-shrink-frame"},t("div",{className:"fc-timegrid-slot-label-cushion fc-scrollgrid-shrink-cushion",ref:f},e)))})})}function sst(n){return n.text}function ast(n){return n.text}function pst(n,t){return t.map(function(t){return n[t.key]})}function cu(n,t){for(var r=[],i=0;i<t;i+=1)r.push([]);if(n)for(i=0;i<n.length;i+=1)r[n[i].col].push(n[i]);return r}function uk(n,t){var r=[],i,u,f,e;if(n){for(i=0;i<t;i+=1)r[i]={affectedInstances:n.affectedInstances,isEvent:n.isEvent,segs:[]};for(u=0,f=n.segs;u<f.length;u++)e=f[u],r[e.col].segs.push(e)}else for(i=0;i<t;i+=1)r[i]=null;return r}function wst(n,t,i,r,u){return fk(n,t,i,r),bst(n,u)}function fk(n,t,i,r){for(var u,f=0,e=n;f<e.length;f++)u=e[f],u.top=i.computeDateTop(u.start,t),u.bottom=Math.max(u.top+(r||0),i.computeDateTop(u.end,t))}function bst(n,t){for(var o,s,u,h,f,c,i,r=0,e=n;r<e.length;r++)i=e[r],i.level=null,i.forwardCoord=null,i.backwardCoord=null,i.forwardPressure=null;if(n=tu(n,t),s=kst(n),gst(s),o=s[0]){for(u=0,h=o;u<h.length;u++)i=h[u],ok(i);for(f=0,c=o;f<c.length;f++)i=c[f],lc(i,0,0,t)}return n}function kst(n){for(var i=[],u,t,r=0;r<n.length;r+=1){for(u=n[r],t=0;t<i.length;t+=1)if(!ek(u,i[t]).length)break;u.level=t;(i[t]||(i[t]=[])).push(u)}return i}function ek(n,t,i){i===void 0&&(i=[]);for(var r=0;r<t.length;r+=1)dst(n,t[r])&&i.push(t[r]);return i}function dst(n,t){return n.bottom>t.top&&n.top<t.bottom}function gst(n){for(var f,i,r,u,t=0;t<n.length;t+=1)for(f=n[t],i=0;i<f.length;i+=1)for(r=f[i],r.forwardSegs=[],u=t+1;u<n.length;u+=1)ek(r,n[u],r.forwardSegs)}function ok(n){var u=n.forwardSegs,i=0,t,r;if(n.forwardPressure==null){for(t=0;t<u.length;t+=1)r=u[t],ok(r),i=Math.max(i,1+r.forwardPressure);n.forwardPressure=i}}function lc(n,t,i,r){var u=n.forwardSegs,f;if(n.forwardCoord==null)for(u.length?(nht(u,r),lc(u[0],t+1,i,r),n.forwardCoord=u[0].backwardCoord):n.forwardCoord=1,n.backwardCoord=n.forwardCoord-(n.forwardCoord-i)/(t+1),f=0;f<u.length;f+=1)lc(u[f],0,n.forwardCoord,r)}function nht(n,t){var i=n.map(tht),r=[{field:"forwardPressure",order:-1},{field:"backwardCoord",order:1},].concat(t);return i.sort(function(n,t){return ho(n,t,r)}),i.map(function(n){return n._seg})}function tht(n){var t=os(n);return t.forwardPressure=n.forwardPressure,t.backwardCoord=n.backwardCoord,t}function uht(n,t){return t.map(function(t){return n[t.key]})}function fht(n,t){var i=t||n,r=ku(n,i);return r===null&&(i=n,r=1),{snapDuration:i,snapsPerSlot:r}}function lk(n,t,i){for(var u,f=[],r=0,e=n.headerDates;r<e.length;r++)u=e[r],f.push({start:i.add(u,t.slotMinTime),end:i.add(u,t.slotMaxTime)});return f}function ak(n,t,i,r,u){for(var l=new Date(0),f=n,s=e(0),a=i||eht(r),h=[],o,c;g(f)<g(t);)o=u.add(l,f),c=ku(s,a)!==null,h.push({date:o,time:f,key:o.toISOString(),isoTimeStr:va(o),isLabeled:c}),f=bu(f,r),s=bu(s,r);return h}function eht(n){for(var i,r,t=pc.length-1;t>=0;t-=1)if(i=e(pc[t]),r=ku(i,n),r!==null&&r>1)return i;return n}function vk(n,t){var i=new yh(n.renderRange,t);return new ph(i,!1)}function cht(n){var r=n.navLinkData?{"data-navlink":n.navLinkData,tabIndex:0}:{};return t(b,null,n.text&&t("a",i({className:"fc-list-day-text"},r),n.text),n.sideText&&t("a",i({className:"fc-list-day-side-text"},r),n.sideText))}function lht(n){var r=n.event,u=r.url,f=u?{href:u}:{};return t("a",i({},f),r.title)}function aht(n,i,r){var u=r.options,s;if(u.displayEventTime!==!1){var h=n.eventRange.def,o=n.eventRange.instance,e=!1,f=void 0;
56return(h.allDay?e=!0:fv(n.eventRange.range)?n.isStart?f=wi(n,i,r,null,null,o.range.start,n.end):n.isEnd?f=wi(n,i,r,null,null,n.start,o.range.end):e=!0:f=wi(n,i,r),e)?(s={text:r.options.allDayText,view:r.viewApi},t(k,{hookProps:s,classNames:u.allDayClassNames,content:u.allDayContent,defaultContent:vht,didMount:u.allDayDidMount,willUnmount:u.allDayWillUnmount},function(n,i,r,u){return t("td",{className:["fc-list-event-time"].concat(i).join(" "),ref:n},u)})):t("td",{className:"fc-list-event-time"},f)}return null}function vht(n){return n.text}function yht(n){return n.text}function pht(n){for(var t=h(n.renderRange.start),u=n.renderRange.end,i=[],r=[];t<u;)i.push(t),r.push({start:t,end:a(t,1)}),t=a(t,1);return{dayDates:i,dayRanges:r}}function wht(n){for(var r=[],i,t=0;t<n.length;t+=1)i=n[t],(r[i.dayIndex]||(r[i.dayIndex]=[])).push(i);return r}function bk(n){return n===!1?null:c(n)}function tct(n){var t;return/^[^/]+@([^/.]+\.)*(google|googlemail|gmail)\.com$/.test(n)?n:(t=/^https:\/\/www.googleapis.com\/calendar\/v3\/calendars\/([^/]*)/.exec(n))||(t=/^https?:\/\/www.google.com\/calendar\/feeds\/([^/]*)/.exec(n))?decodeURIComponent(t[1]):null}function ict(n){var t=n.googleCalendarApiBase;return t||(t=ght),t+"/"+encodeURIComponent(n.googleCalendarId)+"/events"}function rct(n,t,r,u){var f,e,o;return u.canComputeOffset?(e=u.formatIso(n.start),o=u.formatIso(n.end)):(e=a(n.start,-1).toISOString(),o=a(n.end,1).toISOString()),f=i(i({},r||{}),{key:t,timeMin:e,timeMax:o,singleEvents:!0,maxResults:9999}),u.timeZone!=="local"&&(f.timeZone=u.timeZone),f}function uct(n,t){return n.map(function(n){return fct(n,t)})}function fct(n,t){var i=n.htmlLink||null;return i&&t&&(i=ect(i,"ctz="+t)),{id:n.id,title:n.summary,start:n.start.dateTime||n.start.date,end:n.end.dateTime||n.end.date,url:i,location:n.location,description:n.description}}function ect(n,t){return n.replace(/(\?.*?)?(#|$)/,function(n,i,r){return(i?i+"&":"?")+t+r})}var ge=function(n,t){return ge=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,t){n.__proto__=t}||function(n,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(n[i]=t[i])},ge(n,t)},i=function(){return i=Object.assign||function(n){for(var t,r,i=1,u=arguments.length;i<u;i++){t=arguments[i];for(r in t)Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r])}return n},i.apply(this,arguments)},s,rr,kc,dc,gc,nl,yt={},no=[],gk=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,uo,cl,wt,al,oo,so,co,ar,ko,ca,ba,ka,nv,br,tv,yv,ls,kv,as,l,vs,ty,iy,sy,bs,yf,ds,wf,gs,ki,uu,o,it,vt,k,gf,lp,fu,ti,oh,ne,tw,te,gi,rw,ie,fw,ew,ii,ah,vh,fe,su,tr,se,hu,le,ae,rb,ub,ir,hb,cb,uc,lb,pb,wb,fc,ec,oc,sc,ke,hk,ck,ac,vc,yc,pc,wc,yk,pk,bc,wk,kk,st,dk;s={__e:function(n,t){for(var i,r,u,f=t.__h;t=t.__;)if((i=t.__c)&&!i.__)try{if((r=i.constructor)&&null!=r.getDerivedStateFromError&&(i.setState(r.getDerivedStateFromError(n)),u=i.__d),null!=i.componentDidCatch&&(i.componentDidCatch(n),u=i.__d),u)return t.__h=f,i.__E=i}catch(t){n=t}throw n;},__v:0};ci.prototype.setState=function(n,t){var i;i=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=pt({},this.state);"function"==typeof n&&(n=n(pt({},i),this.props));n&&pt(i,n);null!=n&&this.__v&&(t&&this.__h.push(t),to(this))};ci.prototype.forceUpdate=function(n){this.__v&&(this.__e=!0,n&&this.__h.push(n),to(this))};ci.prototype.render=ur;rr=[];
56kc="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout;vu.__r=0;gc=yt;nl=0;uo=typeof globalThis!="undefined"?globalThis:window;uo.FullCalendarVDom?console.warn("FullCalendar VDOM already loaded"):uo.FullCalendarVDom={Component:ci,createElement:lu,render:ro,createRef:nd,Fragment:ur,createContext:sd,flushToDom:od,unmountComponentAtNode:hd};cl=function(n){function t(){return n!==null&&n.apply(this,arguments)||this}return u(t,n),t.prototype.render=function(){return lu("div",{})},t.prototype.componentDidMount=function(){this.setState({})},t}(ci);wt=function(){function n(n,t){this.context=n;this.internalEventSource=t}return n.prototype.remove=function(){this.context.dispatch({type:"REMOVE_EVENT_SOURCE",sourceId:this.internalEventSource.sourceId})},n.prototype.refetch=function(){this.context.dispatch({type:"FETCH_EVENT_SOURCES",sourceIds:[this.internalEventSource.sourceId]})},Object.defineProperty(n.prototype,"id",{get:function(){return this.internalEventSource.publicId},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"url",{get:function(){return this.internalEventSource.meta.url},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"format",{get:function(){return this.internalEventSource.meta.format},enumerable:!1,configurable:!0}),n}();al=/(top|left|right|bottom|width|height)$/i;oo=["webkitTransitionEnd","otransitionend","oTransitionEnd","msTransitionEnd","transitionend",];so=0;co=["sun","mon","tue","wed","thu","fri","sat"];ar=Object.prototype.hasOwnProperty;ko=["years","months","days","milliseconds"];ca=/^(-?)(?:(\d+)\.)?(\d+):(\d\d)(?::(\d\d)(?:\.(\d\d\d))?)?/;var ya={week:3,separator:0,omitZeroMinute:0,meridiem:0,omitCommas:0},gu={timeZoneName:7,era:6,year:5,month:4,day:2,weekday:2,hour:1,minute:1,second:1},nf=/\s*([ap])\.?m\.?/i,pg=/,/g,wg=/\s+/g,bg=/\u200e/g,kg=/UTC|GMT/,dg=function(){function n(n){var r={},u={},i=0;for(var t in n)t in ya?(u[t]=n[t],i=Math.max(ya[t],i)):(r[t]=n[t],t in gu&&(i=Math.max(gu[t],i)));this.standardDateProps=r;this.extendedSettings=u;this.severity=i;this.buildFormattingFunc=f(pa)}return n.prototype.format=function(n,t){return this.buildFormattingFunc(this.standardDateProps,this.extendedSettings,t)(n)},n.prototype.formatRange=function(n,t,i,r){var h=this,u=h.standardDateProps,c=h.extendedSettings,l=fn(n.marker,t.marker,i.calendarSystem),e,f,o;if(!l)return this.format(n,i);if(e=l,e>1&&(u.year==="numeric"||u.year==="2-digit")&&(u.month==="numeric"||u.month==="2-digit")&&(u.day==="numeric"||u.day==="2-digit")&&(e=1),f=this.format(n,i),o=this.format(t,i),f===o)return f;var w=en(u,e),a=pa(w,c,i),v=a(n),y=a(t),s=on(f,v,o,y),p=c.separator||r||i.defaultSeparator||"";return s?s.before+v+p+y+s.after:f+p+o},n.prototype.getLargestUnit=function(){switch(this.severity){case 7:case 6:case 5:return"year";case 4:return"month";case 3:return"week";case 2:return"day";default:return"time"}},n}();ba=function(){function n(n){this.cmdStr=n}return n.prototype.format=function(n,t,i){return t.cmdFormatter(this.cmdStr,tf(n,null,t,i))},n.prototype.formatRange=function(n,t,i,r){return i.cmdFormatter(this.cmdStr,tf(n,t,i,r))},n}();ka=function(){function n(n){this.func=n}return n.prototype.format=function(n,t,i){return this.func(tf(n,null,t,i))},n.prototype.formatRange=function(n,t,i,r){return this.func(tf(n,t,i,r))},n}();var ns={navLinkDayClick:r,navLinkWeekClick:r,duration:e,bootstrapFontAwesome:r,buttonIcons:r,customButtons:r,defaultAllDayEventDuration:e,defaultTimedEventDuration:e,nextDayThreshold:e,scrollTime:e,slotMinTime:e,slotMaxTime:e,dayPopoverFormat:c,slotDuration:e,snapDuration:e,headerToolbar:r,footerToolbar:r,defaultRangeSeparator:String,titleRangeSeparator:String,forceEventDuration:Boolean,dayHeaders:Boolean,dayHeaderFormat:c,dayHeaderClassNames:r,dayHeaderContent:r,dayHeaderDidMount:r,dayHeaderWillUnmount:r,dayCellClassNames:r,dayCellContent:r,dayCellDidMount:r,dayCellWillUnmount:r,initialView:String,aspectRatio:Number,weekends:Boolean,weekNumberCalculation:r,weekNumbers:Boolean,weekNumberClassNames:r,weekNumberContent:r,weekNumberDidMount:r,weekNumberWillUnmount:r,editable:Boolean,viewClassNames:r,viewDidMount:r,viewWillUnmount:r,nowIndicator:Boolean,nowIndicatorClassNames:r,nowIndicatorContent:r,nowIndicatorDidMount:r,nowIndicatorWillUnmount:r,showNonCurrentDates:Boolean,lazyFetching:Boolean,startParam:String,endParam:String,timeZoneParam:String,timeZone:String,locales:r,locale:r,themeSystem:String,dragRevertDuration:Number,dragScroll:Boolean,allDayMaintainDuration:Boolean,unselectAuto:Boolean,dropAccept:r,eventOrder:dl,handleWindowResize:Boolean,windowResizeDelay:Number,longPressDelay:Number,eventDragMinDistance:Number,expandRows:Boolean,height:r,contentHeight:r,direction:String,weekNumberFormat:c,eventResizableFromStart:Boolean,displayEventTime:Boolean,displayEventEnd:Boolean,weekText:String,progressiveEventRendering:Boolean,businessHours:r,initialDate:r,now:r,eventDataTransform:r,stickyHeaderDates:r,stickyFooterScrollbar:r,viewHeight:r,defaultAllDay:Boolean,eventSourceFailure:r,eventSourceSuccess:r,eventDisplay:String,eventStartEditable:Boolean,eventDurationEditable:Boolean,eventOverlap:r,eventConstraint:r,eventAllow:r,eventBackgroun
56dColor:String,eventBorderColor:String,eventTextColor:String,eventColor:String,eventClassNames:r,eventContent:r,eventDidMount:r,eventWillUnmount:r,selectConstraint:r,selectOverlap:r,selectAllow:r,droppable:Boolean,unselectCancel:String,slotLabelFormat:r,slotLaneClassNames:r,slotLaneContent:r,slotLaneDidMount:r,slotLaneWillUnmount:r,slotLabelClassNames:r,slotLabelContent:r,slotLabelDidMount:r,slotLabelWillUnmount:r,dayMaxEvents:r,dayMaxEventRows:r,dayMinWidth:Number,slotLabelInterval:e,allDayText:String,allDayClassNames:r,allDayContent:r,allDayDidMount:r,allDayWillUnmount:r,slotMinWidth:Number,navLinks:Boolean,eventTimeFormat:c,rerenderDelay:Number,moreLinkText:r,selectMinDistance:Number,selectable:Boolean,selectLongPressDelay:Number,eventLongPressDelay:Number,selectMirror:Boolean,eventMinHeight:Number,slotEventOverlap:Boolean,plugins:r,firstDay:Number,dayCount:Number,dateAlignment:String,dateIncrement:e,hiddenDays:r,monthMode:Boolean,fixedWeekCount:Boolean,validRange:r,visibleRange:r,titleFormat:r,noEventsText:String},lt={eventDisplay:"auto",defaultRangeSeparator:" - ",titleRangeSeparator:" – ",defaultTimedEventDuration:"01:00:00",defaultAllDayEventDuration:{day:1},forceEventDuration:!1,nextDayThreshold:"00:00:00",dayHeaders:!0,initialView:"",aspectRatio:1.35,headerToolbar:{start:"title",center:"",end:"today prev,next"},weekends:!0,weekNumbers:!1,weekNumberCalculation:"local",editable:!1,nowIndicator:!1,scrollTime:"06:00:00",slotMinTime:"00:00:00",slotMaxTime:"24:00:00",showNonCurrentDates:!0,lazyFetching:!0,startParam:"start",endParam:"end",timeZoneParam:"timeZone",timeZone:"local",locales:[],locale:"",themeSystem:"standard",dragRevertDuration:500,dragScroll:!0,allDayMaintainDuration:!1,unselectAuto:!0,dropAccept:"*",eventOrder:"start,-duration,allDay,title",dayPopoverFormat:{month:"long",day:"numeric",year:"numeric"},handleWindowResize:!0,windowResizeDelay:100,longPressDelay:1e3,eventDragMinDistance:5,expandRows:!1,navLinks:!1,selectable:!1},da={datesSet:r,eventsSet:r,eventAdd:r,eventChange:r,eventRemove:r,windowResize:r,eventClick:r,eventMouseEnter:r,eventMouseLeave:r,select:r,unselect:r,loading:r,_unmount:r,_beforeprint:r,_afterprint:r,_noEventDrop:r,_noEventResize:r,_resize:r,_scrollRequest:r},ga={buttonText:r,views:r,plugins:r,initialEvents:r,events:r,eventSources:r},ts={headerToolbar:rf,footerToolbar:rf,buttonText:rf,buttonIcons:rf};nv={type:String,component:r,buttonText:String,buttonTextKey:String,dateProfileGeneratorClass:r,usesMinMaxTime:Boolean,classNames:r,content:r,didMount:r,willUnmount:r};br={display:String,editable:Boolean,startEditable:Boolean,durationEditable:Boolean,constraint:r,overlap:r,allow:r,className:of,classNames:of,color:String,backgroundColor:String,borderColor:String,textColor:String};tv={display:null,startEditable:null,durationEditable:null,constraints:[],overlap:null,allows:[],backgroundColor:"",borderColor:"",textColor:"",classNames:[]};var us={id:String,groupId:String,title:String,url:String},iv={start:r,end:r,date:r,allDay:Boolean},an=i(i(i({},us),iv),{extendedProps:r});yv={start:r,end:r,allDay:Boolean};ls=function(){function n(n,t,i){this.type=n;this.getCurrentData=t;this.dateEnv=i}return Object.defineProperty(n.prototype,"calendar",{get:function(){return this.getCurrentData().calendarApi},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"title",{get:function(){return this.getCurrentData().viewTitle},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"activeStart",{get:function(){return this.dateEnv.toDate(this.getCurrentData().dateProfile.activeRange.start)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"activeEnd",{get:function(){return this.dateEnv.toDate(this.getCurrentData().dateProfile.activeRange.end)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"currentStart",{get:function(){return this.dateEnv.toDate(this.getCurrentData().dateProfile.currentRange.start)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"currentEnd",{get:function(){return this.dateEnv.toDate(this.getCurrentData().dateProfile.currentRange.end)}
56,enumerable:!1,configurable:!0}),n.prototype.getOption=function(n){return this.getCurrentData().options[n]},n}();kv={id:String,defaultAllDay:Boolean,url:String,format:String,events:r,eventDataTransform:r,success:r,failure:r};as=function(){function n(){}return n.prototype.getCurrentData=function(){return this.currentDataManager.getCurrentData()},n.prototype.dispatch=function(n){return this.currentDataManager.dispatch(n)},Object.defineProperty(n.prototype,"view",{get:function(){return this.getCurrentData().viewApi},enumerable:!1,configurable:!0}),n.prototype.batchRendering=function(n){n()},n.prototype.updateSize=function(){this.trigger("_resize",!0)},n.prototype.setOption=function(n,t){this.dispatch({type:"SET_OPTION",optionName:n,rawOptionValue:t})},n.prototype.getOption=function(n){return this.currentDataManager.currentCalendarOptionsInput[n]},n.prototype.getAvailableLocaleCodes=function(){return Object.keys(this.getCurrentData().availableRawLocales)},n.prototype.on=function(n,t){var i=this.currentDataManager;if(i.currentCalendarOptionsRefiners[n])i.emitter.on(n,t);else console.warn("Unknown listener name '"+n+"'")},n.prototype.off=function(n,t){this.currentDataManager.emitter.off(n,t)},n.prototype.trigger=function(n){for(var i,r=[],t=1;t<arguments.length;t++)r[t-1]=arguments[t];(i=this.currentDataManager.emitter).trigger.apply(i,v([n],r))},n.prototype.changeView=function(n,t){var i=this;this.batchRendering(function(){if(i.unselect(),t)if(t.start&&t.end)i.dispatch({type:"CHANGE_VIEW_TYPE",viewType:n}),i.dispatch({type:"SET_OPTION",optionName:"visibleRange",rawOptionValue:t});else{var r=i.getCurrentData().dateEnv;i.dispatch({type:"CHANGE_VIEW_TYPE",viewType:n,dateMarker:r.createMarker(t)})}else i.dispatch({type:"CHANGE_VIEW_TYPE",viewType:n})})},n.prototype.zoomTo=function(n,t){var r=this.getCurrentData(),i;t=t||"day";i=r.viewSpecs[t]||this.getUnitViewSpec(t);this.unselect();i?this.dispatch({type:"CHANGE_VIEW_TYPE",viewType:i.type,dateMarker:n}):this.dispatch({type:"CHANGE_DATE",dateMarker:n})},n.prototype.getUnitViewSpec=function(n){var u=this.getCurrentData(),f=u.viewSpecs,e=u.toolbarConfig,r=[].concat(e.viewsWithButtons),t,i;for(var o in f)r.push(o);for(t=0;t<r.length;t+=1)if(i=f[r[t]],i&&i.singleUnit===n)return i;return null},n.prototype.prev=function(){this.unselect();this.dispatch({type:"PREV"})},n.prototype.next=function(){this.unselect();this.dispatch({type:"NEXT"})},n.prototype.prevYear=function(){var n=this.getCurrentData();this.unselect();this.dispatch({type:"CHANGE_DATE",dateMarker:n.dateEnv.addYears(n.currentDate,-1)})},n.prototype.nextYear=function(){var n=this.getCurrentData();this.unselect();this.dispatch({type:"CHANGE_DATE",dateMarker:n.dateEnv.addYears(n.currentDate,1)})},n.prototype.today=function(){var n=this.getCurrentData();this.unselect();this.dispatch({type:"CHANGE_DATE",dateMarker:iu(n.calendarOptions.now,n.dateEnv)})},n.prototype.gotoDate=function(n){var t=this.getCurrentData();this.unselect();this.dispatch({type:"CHANGE_DATE",dateMarker:t.dateEnv.createMarker(n)})},n.prototype.incrementDate=function(n){var t=this.getCurrentData(),i=e(n);i&&(this.unselect(),this.dispatch({type:"CHANGE_DATE",dateMarker:t.dateEnv.add(t.currentDate,i)}))},n.prototype.getDate=function(){var n=this.getCurrentData();return n.dateEnv.toDate(n.currentDate)},n.prototype.formatDate=function(n,t){var i=this.getCurrentData().dateEnv;return i.format(i.createMarker(n),c(t))},n.prototype.formatRange=function(n,t,i){var r=this.getCurrentData().dateEnv;return r.formatRange(r.createMarker(n),r.createMarker(t),c(i),i)},n.prototype.formatIso=function(n,t){var i=this.getCurrentData().dateEnv;return i.formatIso(i.createMarker(n),{omitTime:t})},n.prototype.select=function(n,t){var u,r,i;u=t==null?n.start!=null?n:{start:n,end:null}:{start:n,end:t};r=this.getCurrentData();i=kn(u,r.dateEnv,e({days:1}));i&&(this.dispatch({type:"SELECT_DATES",selection:i}),hs(i,null,r))},n.prototype.unselect=function(n){var t=this.getCurrentData();t.dateSelection&&(this.dispatch({type:"UNSELECT_DATES"}),itt(n,t))},n.prototype.addEvent=function(n,t){var r,u,f,i,e;if(n instanceof l){var o=n._def,s=n._instance,h=this.getCurrentData();return h.eventStore.defs[o.defId]||(this.dispatch({type:"ADD_EVENTS",eventStore:pi({def:o,instance:s})}),this.triggerEventAdd(n)),n}if(r=this.getCurrentData(),t instanceof wt)u=t.internalEventSource;else if(typeof t=="boolean")t&&(u=po(r.eventSources)[0]);else if(t!=null){if(f=this.getEventSourceById(t),!f)return console.warn('Could not find an event source with ID "'+t+'"'),null;u=f.internalEventSource}return(i=rv(n,u,r,!1),i)?(e=new l(r,i.def,i.def.recurringDef?null:i.instance),this.dispatch({type:"ADD_EVENTS",eventStore:pi(i)}),this.triggerEventAdd(e),e):null},n.prototype.triggerEventAdd=function(n){var t=this,i=this.getCurrentData().emitter;i.trigger("eventAdd",{event:n,relatedEvents:[],revert:function(){t.dispatch({type:"REMOVE_EVENTS",eventStore:ny(n)})}})},n.prototype.getEventById=function(n){var i=this.getCurrentData(),u=i.eventStore,f=u.defs,e=u.instances,o,t,s,r;n=String(n);for(o in f)if(t=f[o],t.publicId===n){if(t.recurringDef)return new l(i,t,null);for(s in e)if(r=e[s],r.defId===t.defId)return new l(i,t,r)}return null},n.prototype.getEvents=function(){var n=this.getCurrentData();
56return ni(n.eventStore,n)},n.prototype.removeAllEvents=function(){this.dispatch({type:"REMOVE_ALL_EVENTS"})},n.prototype.getEventSources=function(){var n=this.getCurrentData(),t=n.eventSources,i=[];for(var r in t)i.push(new wt(n,t[r]));return i},n.prototype.getEventSourceById=function(n){var r=this.getCurrentData(),t=r.eventSources,i;n=String(n);for(i in t)if(t[i].publicId===n)return new wt(r,t[i]);return null},n.prototype.addEventSource=function(n){var i=this.getCurrentData(),t;return n instanceof wt?(i.eventSources[n.internalEventSource.sourceId]||this.dispatch({type:"ADD_EVENT_SOURCES",sources:[n.internalEventSource]}),n):(t=dv(n,i),t)?(this.dispatch({type:"ADD_EVENT_SOURCES",sources:[t]}),new wt(i,t)):null},n.prototype.removeAllEventSources=function(){this.dispatch({type:"REMOVE_ALL_EVENT_SOURCES"})},n.prototype.refetchEvents=function(){this.dispatch({type:"FETCH_EVENT_SOURCES"})},n.prototype.scrollToTime=function(n){var t=e(n);t&&this.trigger("_scrollRequest",{time:t})},n}();l=function(){function n(n,t,i){this._context=n;this._def=t;this._instance=i||null}return n.prototype.setProp=function(n,t){var i,r,u;n in iv?console.warn("Could not set date-related prop 'name'. Use one of the date-related methods instead."):n in us?(t=us[n](t),this.mutate({standardProps:(i={},i[n]=t,i)})):n in br?(u=br[n](t),u=n==="color"?{backgroundColor:t,borderColor:t}:n==="editable"?{startEditable:t,durationEditable:t}:(r={},r[n]=t,r),this.mutate({standardProps:{ui:u}})):console.warn("Could not set prop '"+n+"'. Use setExtendedProp instead.")},n.prototype.setExtendedProp=function(n,t){var i;this.mutate({extendedProps:(i={},i[n]=t,i)})},n.prototype.setStart=function(n,t){var i,r,f,u;t===void 0&&(t={});i=this._context.dateEnv;r=i.createMarker(n);r&&this._instance&&(f=this._instance.range,u=fi(f.start,r,i,t.granularity),t.maintainDuration?this.mutate({datesDelta:u}):this.mutate({startDelta:u}))},n.prototype.setEnd=function(n,t){var r,i,u;(t===void 0&&(t={}),r=this._context.dateEnv,n==null||(i=r.createMarker(n),i))&&this._instance&&(i?(u=fi(this._instance.range.end,i,r,t.granularity),this.mutate({endDelta:u})):this.mutate({standardProps:{hasEnd:!1}}))},n.prototype.setDates=function(n,t,i){var r,u,s;i===void 0&&(i={});var f=this._context.dateEnv,e={allDay:i.allDay},h=f.createMarker(n),o;h&&(t==null||(o=f.createMarker(t),o))&&this._instance&&(r=this._instance.range,i.allDay===!0&&(r=uv(r)),u=fi(r.start,h,f,i.granularity),o?(s=fi(r.end,o,f,i.granularity),ug(u,s)?this.mutate({datesDelta:u,standardProps:e}):this.mutate({startDelta:u,endDelta:s,standardProps:e})):(e.hasEnd=!1,this.mutate({datesDelta:u,standardProps:e})))},n.prototype.moveStart=function(n){var t=e(n);t&&this.mutate({startDelta:t})},n.prototype.moveEnd=function(n){var t=e(n);t&&this.mutate({endDelta:t})},n.prototype.moveDates=function(n){var t=e(n);t&&this.mutate({datesDelta:t})},n.prototype.setAllDay=function(n,t){t===void 0&&(t={});var r={allDay:n},i=t.maintainDuration;i==null&&(i=this._context.options.allDayMaintainDuration);this._def.allDay!==n&&(r.hasEnd=i);this.mutate({standardProps:r})},n.prototype.formatRange=function(n){var i=this._context.dateEnv,t=this._instance,r=c(n);return this._def.hasEnd?i.formatRange(t.range.start,t.range.end,r,{forcedStartTzo:t.forcedStartTzo,forcedEndTzo:t.forcedEndTzo}):i.format(t.range.start,r,{forcedTzo:t.forcedStartTzo})},n.prototype.mutate=function(t){var u=this._instance,o;if(u){var f=this._def,i=this._context,e=i.getCurrentData().eventStore,r=ff(e,u.instanceId);r=vf(r,{"":{display:"",startEditable:!0,durationEditable:!0,constraints:[],overlap:null,allows:[],backgroundColor:"",borderColor:"",textColor:"",classNames:[]}},t,i);o=new n(i,f,u);this._def=r.defs[f.defId];this._instance=r.instances[u.instanceId];i.dispatch({type:"MERGE_EVENTS",eventStore:r});i.emitter.trigger("eventChange",{oldEvent:o,event:this,relatedEvents:ni(r,i,u),revert:function(){i.dispatch({type:"RESET_EVENTS",eventStore:e})}})}},n.prototype.remove=function(){var n=this._context,t=ny(this);n.dispatch({type:"REMOVE_EVENTS",eventStore:t});n.emitter.trigger("eventRemove",{event:this,relatedEvents:[],revert:function(){n.dispatch({type:"MERGE_EVENTS",eventStore:t})}})}
56,Object.defineProperty(n.prototype,"source",{get:function(){var n=this._def.sourceId;return n?new wt(this._context,this._context.getCurrentData().eventSources[n]):null},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"start",{get:function(){return this._instance?this._context.dateEnv.toDate(this._instance.range.start):null},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"end",{get:function(){return this._instance&&this._def.hasEnd?this._context.dateEnv.toDate(this._instance.range.end):null},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"startStr",{get:function(){var n=this._instance;return n?this._context.dateEnv.formatIso(n.range.start,{omitTime:this._def.allDay,forcedTzo:n.forcedStartTzo}):""},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"endStr",{get:function(){var n=this._instance;return n&&this._def.hasEnd?this._context.dateEnv.formatIso(n.range.end,{omitTime:this._def.allDay,forcedTzo:n.forcedEndTzo}):""},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"id",{get:function(){return this._def.publicId},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"groupId",{get:function(){return this._def.groupId},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"allDay",{get:function(){return this._def.allDay},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"title",{get:function(){return this._def.title},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"url",{get:function(){return this._def.url},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"display",{get:function(){return this._def.ui.display||"auto"},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"startEditable",{get:function(){return this._def.ui.startEditable},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"durationEditable",{get:function(){return this._def.ui.durationEditable},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"constraint",{get:function(){return this._def.ui.constraints[0]||null},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"overlap",{get:function(){return this._def.ui.overlap},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"allow",{get:function(){return this._def.ui.allows[0]||null},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"backgroundColor",{get:function(){return this._def.ui.backgroundColor},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"borderColor",{get:function(){return this._def.ui.borderColor},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"textColor",{get:function(){return this._def.ui.textColor},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"classNames",{get:function(){return this._def.ui.classNames},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"extendedProps",{get:function(){return this._def.extendedProps},enumerable:!1,configurable:!0}),n.prototype.toPlainObject=function(n){n===void 0&&(n={});var u=this._def,t=u.ui,f=this,e=f.startStr,o=f.endStr,r={};return u.title&&(r.title=u.title),e&&(r.start=e),o&&(r.end=o),u.publicId&&(r.id=u.publicId),u.groupId&&(r.groupId=u.groupId),u.url&&(r.url=u.url),t.display&&t.display!=="auto"&&(r.display=t.display),n.collapseColor&&t.backgroundColor&&t.backgroundColor===t.borderColor?r.color=t.backgroundColor:(t.backgroundColor&&(r.backgroundColor=t.backgroundColor),t.borderColor&&(r.borderColor=t.borderColor)),t.textColor&&(r.textColor=t.textColor),t.classNames.length&&(r.classNames=t.classNames),Object.keys(u.extendedProps).length&&(n.collapseExtendedProps?i(r,u.extendedProps):r.extendedProps=u.extendedProps),r},n.prototype.toJSON=function(){return this.toPlainObject()},n}();vs={};ty=function(){function n(){}return n.prototype.getMarkerYear=function(n){return n.getUTCFullYear()},n.prototype.getMarkerMonth=function(n){return n.getUTCMonth()},n.prototype.getMarkerDay=function(n){return n.getUTCDate()},n.prototype.arrayToMarker=function(n){return d(n)},n.prototype.markerToArray=function(n){return bt(n)},n}();stt("gregory",ty);iy=/^\s*(\d{4})(-?(\d{2})(-?(\d{2})([T ](\d{2}):?(\d{2})(:?(\d{2})(\.(\d+))?)?(Z|(([-+])(\d{2})(:?(\d{2}))?))?)?)?)?$/;var ys=function(){function n(n){var t=this.timeZone=n.timeZone,i=t!=="local"&&t!=="UTC";n.namedTimeZoneImpl&&i&&(this.namedTimeZoneImpl=new n.namedTimeZoneImpl(t));this.canComputeOffset=Boolean(!i||this.namedTimeZoneImpl);this.calendarSystem=htt(n.calendarSystem);this.locale=n.locale;this.weekDow=n.locale.week.dow;this.weekDoy=n.locale.week.doy;n.weekNumberCalculation==="ISO"&&(this.weekDow=1,this.weekDoy=4);typeof n.firstDay=="number"&&(this.weekDow=n.firstDay);typeof n.weekNumberCalculation=="function"&&(this.weekNumberFunc=n.weekNumberCalculation);this.weekText=n.weekText!=null?n.weekText:n.locale.options.weekText;this.cmdFormatter=n.cmdFormatter;this.defaultSeparator=n.defaultSeparator}return n.prototype.createMarker=function(n){var t=this.createMarkerMeta(n);return t===null?null:t.marker},n.prototype.createNowMarker=function(){return this.canComputeOffset?this.timestampToMarker((new Date).valueOf()):d(ea(new Date))},n.prototype.createMarkerMeta=function(n){if(typeof n=="string")return this.parse(n);var t=null;return(typeof n=="number"?t=this.timestampToMarker(n):n instanceof Date?(n=n.valueOf(),isNaN(n)||(t=this.timestampToMarker(n))):Array.isArray(n)&&(t=d(n)),t===null||!vo(t))?null:{marker:t,isTimeUnspecified:!1,forcedTzo:null}},n.prototype.parse=function(n){var t=ry(n),i,r;return t===null?null:(i=t.marker,r=null,t.timeZoneOffset!==null&&(this.canComputeOffset?i=this.timestampToMarker(i.valueOf()-t.timeZoneOffset*6e4):r=t.timeZoneOffset),{marker:i,isTimeUnspecified:t.isTimeUnspecified,forcedTzo:r})},n.prototype.getYear=function(n){return this.calendarSystem.getMarkerYear(n)},n.prototype.getMonth=function(n){return this.calendarSystem.getMarkerMonth(n)},n.prototype.add=function(n,t){var i=this.calendarSystem.markerToArray(n);return i[0]+=t.years,i[1]+=t.months,i[2]+=t.days,i[6]+=t.milliseconds,this.calendarSystem.arrayToMarker(i)},n.prototype.subtract=function(n,t){var i=this.calendarSystem.markerToArray(n);return i[0]-=t.years,i[1]-=t.months,i[2]-=t.days,i[6]-=t.milliseconds,this.calendarSystem.arrayToMarker(i)},n.prototype.addYears=function(n,t){var i=this.calendarSystem.markerToArray(n);return i[0]+=t,this.calendarSystem.arrayToMarker(i)},n.prototype.addMonths=function(n,t){var i=this.calendarSystem.markerToArray(n);return i[1]+=t,this.calendarSystem.arrayToMarker(i)},n.prototype.diffWholeYears=function(n,t){var i=this.calendarSystem;return kt(n)===kt(t)&&i.getMarkerDay(n)===i.getMarkerDay(t)&&i.getMarkerMonth(n)===i.getMarkerMonth(t)?i.getMarkerYear(t)-i.getMarkerYear(n):null},n.prototype.diffWholeMonths=function(n,t){var i=this.calendarSystem;return kt(n)===kt(t)&&i.getMarkerDay(n)===i.getMarkerDay(t)?i.getMarkerMonth(t)-i.getMarkerMonth(n)+(i.getMarkerYear(t)-i.getMarkerYear(n))*12:null},n.prototype.greatestWholeUnit=function(n,t){var i=this.diffWholeYears(n,t);return i!==null?{unit:"year",value:i}:(i=this.diffWholeMonths(n,t),i!==null)?{unit:"month",value:i}:(i=fa(n,t),i!==null)?{unit:"week",value:i}:(i=cr(n,t),i!==null)?{unit:"day",value:i}
56:(i=ad(n,t),hr(i))?{unit:"hour",value:i}:(i=vd(n,t),hr(i))?{unit:"minute",value:i}:(i=yd(n,t),hr(i))?{unit:"second",value:i}:{unit:"millisecond",value:t.valueOf()-n.valueOf()}},n.prototype.countDurationsBetween=function(n,t,i){var r;return i.years&&(r=this.diffWholeYears(n,t),r!==null)?r/og(i):i.months&&(r=this.diffWholeMonths(n,t),r!==null)?r/sg(i):i.days&&(r=cr(n,t),r!==null)?r/yi(i):(t.valueOf()-n.valueOf())/g(i)},n.prototype.startOf=function(n,t){return t==="year"?this.startOfYear(n):t==="month"?this.startOfMonth(n):t==="week"?this.startOfWeek(n):t==="day"?h(n):t==="hour"?pd(n):t==="minute"?wd(n):t==="second"?bd(n):null},n.prototype.startOfYear=function(n){return this.calendarSystem.arrayToMarker([this.calendarSystem.getMarkerYear(n),])},n.prototype.startOfMonth=function(n){return this.calendarSystem.arrayToMarker([this.calendarSystem.getMarkerYear(n),this.calendarSystem.getMarkerMonth(n),])},n.prototype.startOfWeek=function(n){return this.calendarSystem.arrayToMarker([this.calendarSystem.getMarkerYear(n),this.calendarSystem.getMarkerMonth(n),n.getUTCDate()-(n.getUTCDay()-this.weekDow+7)%7,])},n.prototype.computeWeekNumber=function(n){return this.weekNumberFunc?this.weekNumberFunc(this.toDate(n)):kd(n,this.weekDow,this.weekDoy)},n.prototype.format=function(n,t,i){return i===void 0&&(i={}),t.format({marker:n,timeZoneOffset:i.forcedTzo!=null?i.forcedTzo:this.offsetForMarker(n)},this)},n.prototype.formatRange=function(n,t,i,r){return r===void 0&&(r={}),r.isEndExclusive&&(t=ai(t,-1)),i.formatRange({marker:n,timeZoneOffset:r.forcedStartTzo!=null?r.forcedStartTzo:this.offsetForMarker(n)},{marker:t,timeZoneOffset:r.forcedEndTzo!=null?r.forcedEndTzo:this.offsetForMarker(t)},this,r.defaultSeparator)},n.prototype.formatIso=function(n,t){t===void 0&&(t={});var i=null;return t.omitTimeZoneOffset||(i=t.forcedTzo!=null?t.forcedTzo:this.offsetForMarker(n)),lg(n,i,t.omitTime)},n.prototype.timestampToMarker=function(n){return this.timeZone==="local"?d(ea(new Date(n))):this.timeZone==="UTC"||!this.namedTimeZoneImpl?new Date(n):d(this.namedTimeZoneImpl.timestampToArray(n))},n.prototype.offsetForMarker=function(n){return this.timeZone==="local"?-oa(bt(n)).getTimezoneOffset():this.timeZone==="UTC"?0:this.namedTimeZoneImpl?this.namedTimeZoneImpl.offsetForArray(bt(n)):null},n.prototype.toDate=function(n,t){return this.timeZone==="local"?oa(bt(n)):this.timeZone==="UTC"?new Date(n.valueOf()):this.namedTimeZoneImpl?new Date(n.valueOf()-this.namedTimeZoneImpl.offsetForArray(bt(n))*6e4):new Date(n.valueOf()-(t||0))},n}(),uy=[],ps={code:"en",week:{dow:0,doy:4},direction:"ltr",buttonText:{prev:"prev",next:"next",prevYear:"prev year",nextYear:"next year",year:"year",today:"today",month:"month",week:"week",day:"day",list:"list"},weekText:"W",allDayText:"all-day",moreLinkText:"more",noEventsText:"No events to display"};sy={startTime:"09:00",endTime:"17:00",daysOfWeek:[1,2,3,4,5],display:"inverse-background",classNames:"fc-non-business",groupId:"_businessHours"};yf=p();ds=function(){function n(){this.getKeysForEventDefs=f(this._getKeysForEventDefs);this.splitDateSelection=f(this._splitDateSpan);this.splitEventStore=f(this._splitEventStore);this.splitIndividualUi=f(this._splitIndividualUi);this.splitEventDrag=f(this._splitInteraction);this.splitEventResize=f(this._splitInteraction);this.eventUiBuilders={}}return n.prototype.splitProps=function(n){var s=this,i=this.getKeyInfo(n),r=this.getKeysForEventDefs(n.eventStore),h=this.splitDateSelection(n.dateSelection),c=this.splitIndividualUi(n.eventUiBases,r),l=this.splitEventStore(n.eventStore,r),a=this.splitEventDrag(n.eventDrag),v=this.splitEventResize(n.eventResize),u={},t;this.eventUiBuilders=tt(i,function(n,t){return s.eventUiBuilders[t]||f(btt)});for(t in i){var e=i[t],o=l[t]||yf,y=this.eventUiBuilders[t];u[t]={businessHours:e.businessHours||n.businessHours,dateSelection:h[t]||null,eventStore:o,eventUiBases:y(n.eventUiBases[""],e.ui,c[t]),eventSelection:o.instances[n.eventSelection]?n.eventSelection:"",eventDrag:a[t]||null,eventResize:v[t]||null}}return u},n.prototype._splitDateSpan=function(n){var r={},u,t,i,f;
56if(n)for(u=this.getKeysForDateSpan(n),t=0,i=u;t<i.length;t++)f=i[t],r[f]=n;return r},n.prototype._getKeysForEventDefs=function(n){var t=this;return tt(n.defs,function(n){return t.getKeysForEventDef(n)})},n.prototype._splitEventStore=function(n,t){var l=n.defs,a=n.instances,r={},u,f,o,s,h,e,c,i;for(u in l)for(f=0,o=t[u];f<o.length;f++)i=o[f],r[i]||(r[i]=p()),r[i].defs[u]=l[u];for(s in a)for(h=a[s],e=0,c=t[h.defId];e<c.length;e++)i=c[e],r[i]&&(r[i].instances[s]=h);return r},n.prototype._splitIndividualUi=function(n,t){var r={},i,u,e,f;for(i in n)if(i)for(u=0,e=t[i];u<e.length;u++)f=e[u],r[f]||(r[f]={}),r[f][i]=n[i];return r},n.prototype._splitInteraction=function(n){var i={},t;if(n){var r=this._splitEventStore(n.affectedEvents,this._getKeysForEventDefs(n.affectedEvents)),e=this._getKeysForEventDefs(n.mutatedEvents),u=this._splitEventStore(n.mutatedEvents,e),f=function(t){i[t]||(i[t]={affectedEvents:r[t]||yf,mutatedEvents:u[t]||yf,isEvent:n.isEvent})};for(t in r)f(t);for(t in u)f(t)}return i},n}();wf=null;ki=function(){function n(){this.handlers={};this.thisContext=null}return n.prototype.setThisContext=function(n){this.thisContext=n},n.prototype.setOptions=function(n){this.options=n},n.prototype.on=function(n,t){iit(this.handlers,n,t)},n.prototype.off=function(n,t){rit(this.handlers,n,t)},n.prototype.trigger=function(n){for(var i,r,f,u=[],t=1;t<arguments.length;t++)u[t-1]=arguments[t];var e=this.handlers[n]||[],o=this.options&&this.options[n],s=[].concat(o||[],e);for(i=0,r=s;i<r.length;i++)f=r[i],f.apply(this.thisContext,u)},n.prototype.hasHandlers=function(n){return this.handlers[n]&&this.handlers[n].length||this.options&&this.options[n]},n}();var di=function(){function n(n,t,i,r){this.els=t;var u=this.originClientRect=n.getBoundingClientRect();i&&this.buildElHorizontals(u.left);r&&this.buildElVerticals(u.top)}return n.prototype.buildElHorizontals=function(n){for(var e,i,r=[],u=[],t=0,f=this.els;t<f.length;t++)e=f[t],i=e.getBoundingClientRect(),r.push(i.left-n),u.push(i.right-n);this.lefts=r;this.rights=u},n.prototype.buildElVerticals=function(n){for(var e,i,r=[],u=[],t=0,f=this.els;t<f.length;t++)e=f[t],i=e.getBoundingClientRect(),r.push(i.top-n),u.push(i.bottom-n);this.tops=r;this.bottoms=u},n.prototype.leftToIndex=function(n){for(var i=this,r=i.lefts,u=i.rights,f=r.length,t=0;t<f;t+=1)if(n>=r[t]&&n<u[t])return t;return undefined},n.prototype.topToIndex=function(n){for(var i=this,r=i.tops,u=i.bottoms,f=r.length,t=0;t<f;t+=1)if(n>=r[t]&&n<u[t])return t;return undefined},n.prototype.getWidth=function(n){return this.rights[n]-this.lefts[n]},n.prototype.getHeight=function(n){return this.bottoms[n]-this.tops[n]},n}(),kf=function(){function n(){}return n.prototype.getMaxScrollTop=function(){return this.getScrollHeight()-this.getClientHeight()},n.prototype.getMaxScrollLeft=function(){return this.getScrollWidth()-this.getClientWidth()},n.prototype.canScrollVertically=function(){return this.getMaxScrollTop()>0},n.prototype.canScrollHorizontally=function(){return this.getMaxScrollLeft()>0},n.prototype.canScrollUp=function(){return this.getScrollTop()>0},n.prototype.canScrollDown=function(){return this.getScrollTop()<this.getMaxScrollTop()},n.prototype.canScrollLeft=function(){return this.getScrollLeft()>0},n.prototype.canScrollRight=function(){return this.getScrollLeft()<this.getMaxScrollLeft()},n}(),tp=function(n){function t(t){var i=n.call(this)||this;return i.el=t,i}return u(t,n),t.prototype.getScrollTop=function(){return this.el.scrollTop},t.prototype.getScrollLeft=function(){return this.el.scrollLeft},t.prototype.setScrollTop=function(n){this.el.scrollTop=n},t.prototype.setScrollLeft=function(n){this.el.scrollLeft=n},t.prototype.getScrollWidth=function(){return this.el.scrollWidth},t.prototype.getScrollHeight=function(){return this.el.scrollHeight},t.prototype.getClientHeight=function(){return this.el.clientHeight},t.prototype.getClientWidth=function(){return this.el.clientWidth},t}(kf),ip=function(n){function t(){return n!==null&&n.apply(this,arguments)||this}return u(t,n),t.prototype.getScrollTop=function(){return window.pageYOffset},t.prototype.getScrollLeft=function(){return window.pageXOffset},t.prototype.setScrollTop=function(n){window.scroll(window.pageXOffset,n)},t.prototype.setScrollLeft=function(n){window.scroll(n,window.pageYOffset)},t.prototype.getScrollWidth=function(){return document.documentElement.scrollWidth},t.prototype.getScrollHeight=function(){return document.documentElement.scrollHeight},t.prototype.getClientHeight=function(){return document.documentElement.clientHeight},t.prototype.getClientWidth=function(){return document.documentElement.clientWidth},t}(kf),oi=function(){function n(n){this.iconOverrideOption&&this.setIconOverride(n[this.iconOverrideOption])}return n.prototype.setIconOverride=function(n){var t,r;if(typeof n=="object"&&n){t=i({},this.iconClasses);for(r in n)t[r]=this.applyIconOverridePrefix(n[r]);this.iconClasses=t}else n===!1&&(this.iconClasses={})},n.prototype.applyIconOverridePrefix=function(n){var t=this.iconOverridePrefix;return t&&n.indexOf(t)!==0&&(n=t+n),n},n.prototype.getClass=function(n){return this.classes[n]||""},n.prototype.getIconClass=function(n,t){var i;return(i=t&&this.rtlIconClasses?this.rtlIconClasses[n]||this.iconClasses[n]:this.iconClasses[n],i)?this.baseIconClass+" "+i:""},n.prototype.getCustomButtonIconClass=function(n){var t;return this.iconOverrideCustomButtonOption&&(t=n[this.iconOverrideCustomButtonOption],t)?this.baseIconClass+" "+this.applyIconOverridePrefix(t):""},n}();if(oi.prototype.classes={},oi.prototype.iconClasses={},oi.prototype.baseIconClass="",oi.prototype.iconOverridePrefix="",typeof FullCalendarVDom=="undefined")throw new Error("Please import the top-level fullcalendar lib before attempting to import a plugin.");var df=FullCalendarVDom.Component,t=FullCalendarVDom.createElement,rp=FullCalendarVDom.render,y=FullCalendarVDom.createRef,b=FullCalendarVDom.Fragment,nh=Full
56CalendarVDom.createContext,th=FullCalendarVDom.flushToDom,up=FullCalendarVDom.unmountComponentAtNode,fp=function(){function n(n,t,r){var u=this;this.execFunc=n;this.emitter=t;this.scrollTime=r;this.handleScrollRequest=function(n){u.queuedRequest=i({},u.queuedRequest||{},n);u.drain()};t.on("_scrollRequest",this.handleScrollRequest);this.fireInitialScroll()}return n.prototype.detach=function(){this.emitter.off("_scrollRequest",this.handleScrollRequest)},n.prototype.update=function(n){n?this.fireInitialScroll():this.drain()},n.prototype.fireInitialScroll=function(){this.handleScrollRequest({time:this.scrollTime})},n.prototype.drain=function(){this.queuedRequest&&this.execFunc(this.queuedRequest)&&(this.queuedRequest=null)},n}(),at=nh({});uu=function(n){function t(){return n!==null&&n.apply(this,arguments)||this}return u(t,n),t.prototype.shouldComponentUpdate=function(n,t){return this.debug&&console.log(wo(n,this.props),wo(t,this.state)),!bo(this.props,n,this.propEquality)||!bo(this.state,t,this.stateEquality)},t.addPropsEquality=fit,t.addStateEquality=eit,t.contextType=at,t}(df);uu.prototype.propEquality={};uu.prototype.stateEquality={};o=function(n){function t(){return n!==null&&n.apply(this,arguments)||this}return u(t,n),t.contextType=at,t}(uu);it=function(n){function t(){var t=n!==null&&n.apply(this,arguments)||this;return t.uid=ri(),t}return u(t,n),t.prototype.prepareHits=function(){},t.prototype.queryHit=function(){return null},t.prototype.isInteractionValid=function(n){var t=this.props.dateProfile,i=n.mutatedEvents.instances,r;if(t)for(r in i)if(!gr(t.validRange,i[r].range))return!1;return ih(n,this.context)},t.prototype.isDateSelectionValid=function(n){var t=this.props.dateProfile;return t&&!gr(t.validRange,n.range)?!1:vit(n,this.context)},t.prototype.isValidSegDownEl=function(n){return!this.props.eventDrag&&!this.props.eventResize&&!w(n,".fc-event-mirror")},t.prototype.isValidDateDownEl=function(n){return!w(n,".fc-event:not(.fc-bg-event)")&&!w(n,".fc-daygrid-more-link")&&!w(n,"a[data-navlink]")&&!w(n,".fc-popover")},t}(o);vt=function(n){function t(){return n!==null&&n.apply(this,arguments)||this}return u(t,n),t}(oi);vt.prototype.classes={root:"fc-theme-standard",tableCellShaded:"fc-cell-shaded",buttonGroup:"fc-button-group",button:"fc-button fc-button-primary",buttonActive:"fc-button-active"};vt.prototype.baseIconClass="fc-icon";vt.prototype.iconClasses={close:"fc-icon-x",prev:"fc-icon-chevron-left",next:"fc-icon-chevron-right",prevYear:"fc-icon-chevrons-left",nextYear:"fc-icon-chevrons-right"};vt.prototype.rtlIconClasses={prev:"fc-icon-chevron-right",next:"fc-icon-chevron-left",prevYear:"fc-icon-chevrons-right",nextYear:"fc-icon-chevrons-left"};vt.prototype.iconOverrideOption="buttonIcons";vt.prototype.iconOverrideCustomButtonOption="icon";vt.prototype.iconOverridePrefix="fc-icon-";k=function(n){function i(){var t=n!==null&&n.apply(this,arguments)||this;return t.rootElRef=y(),t.handleRootEl=function(n){et(t.rootElRef,n);t.props.elRef&&et(t.props.elRef,n)},t}return u(i,n),i.prototype.render=function(){var r=this,n=this.props,i=n.hookProps;return t(fu,{hookProps:i,didMount:n.didMount,willUnmount:n.willUnmount,elRef:this.handleRootEl},function(u){return t(fh,{hookProps:i,content:n.content,defaultContent:n.defaultContent,backupElRef:r.rootElRef},function(t,r){return n.children(u,ap(n.classNames,i),t,r)})})},i}(o);gf=nh(0);lp=function(n){function t(){var t=n!==null&&n.apply(this,arguments)||this;return t.innerElRef=y(),t}return u(t,n),t.prototype.render=function(){return this.props.children(this.innerElRef,this.renderInnerContent())},t.prototype.componentDidMount=function(){this.updateCustomContent()},t.prototype.componentDidUpdate=function(){this.updateCustomContent()},t.prototype.componentWillUnmount=function(){this.customContentInfo&&this.customContentInfo.destroy&&this.customContentInfo.destroy()},t.prototype.renderInnerContent=function(){var f=this.context.pluginHooks.contentTypeHandlers,e=this,u=e.props,t=e.customContentInfo,h=u.content,n=vp(h,u.hookProps),o=null,r,s;if(n===undefined&&(n=vp(u.defaultContent,u.hookProps)),n!==undefined){if(t)t.contentVal=n[t.contentKey];
56else if(typeof n=="object")for(r in f)if(n[r]!==undefined){s=f[r]();t=this.customContentInfo=i({contentKey:r,contentVal:n[r]},s);break}o=t?[]:n}return o},t.prototype.updateCustomContent=function(){this.customContentInfo&&this.customContentInfo.render(this.innerElRef.current||this.props.backupElRef.current,this.customContentInfo.contentVal)},t}(o);fu=function(n){function t(){var t=n!==null&&n.apply(this,arguments)||this;return t.handleRootEl=function(n){t.rootEl=n;t.props.elRef&&et(t.props.elRef,n)},t}return u(t,n),t.prototype.render=function(){return this.props.children(this.handleRootEl)},t.prototype.componentDidMount=function(){var n=this.props.didMount;n&&n(i(i({},this.props.hookProps),{el:this.rootEl}))},t.prototype.componentWillUnmount=function(){var n=this.props.willUnmount;n&&n(i(i({},this.props.hookProps),{el:this.rootEl}))},t}(o);ti=function(n){function i(){var t=n!==null&&n.apply(this,arguments)||this;return t.normalizeClassNames=eh(),t}return u(i,n),i.prototype.render=function(){var r=this,n=r.props,u=r.context,i=u.options,f={view:u.viewApi},e=this.normalizeClassNames(i.viewClassNames,f);return t(fu,{hookProps:f,didMount:i.viewDidMount,willUnmount:i.viewWillUnmount,elRef:n.elRef},function(t){return n.children(t,["fc-"+n.viewSpec.type+"-view","fc-view"].concat(e))})},i}(o);oh={};ne=function(){function n(n){this.props=n;this.nowDate=iu(n.nowInput,n.dateEnv);this.initHiddenDays()}return n.prototype.buildPrev=function(n,t,i){var r=this.props.dateEnv,u=r.subtract(r.startOf(t,n.currentRangeUnit),n.dateIncrement);return this.build(u,-1,i)},n.prototype.buildNext=function(n,t,i){var r=this.props.dateEnv,u=r.add(r.startOf(t,n.currentRangeUnit),n.dateIncrement);return this.build(u,1,i)},n.prototype.build=function(n,t,i){i===void 0&&(i=!0);var o=this.props,f,r,s,e,u,h;return f=this.buildValidRange(),f=this.trimHiddenDays(f),i&&(n=bn(n,f)),r=this.buildCurrentRangeInfo(n,t),s=/^(year|month|week|day)$/.test(r.unit),e=this.buildRenderRange(this.trimHiddenDays(r.range),r.unit,s),e=this.trimHiddenDays(e),u=e,o.showNonCurrentDates||(u=gt(u,r.range)),u=this.adjustActiveRange(u),u=gt(u,f),h=cf(r.range,f),{validRange:f,currentRange:r.range,currentRangeUnit:r.unit,isRangeAllDay:s,activeRange:u,renderRange:e,slotMinTime:o.slotMinTime,slotMaxTime:o.slotMaxTime,isValid:h,dateIncrement:this.buildDateIncrement(r.duration)}},n.prototype.buildValidRange=function(){var n=this.props.validRangeInput,t=typeof n=="function"?n.call(this.props.calendarApi,this.nowDate):n;return this.refineRange(t)||{start:null,end:null}},n.prototype.buildCurrentRangeInfo=function(n,t){var f=this.props,u=null,i=null,r=null,e;return f.duration?(u=f.duration,i=f.durationUnit,r=this.buildRangeFromDuration(n,t,u,i)):(e=this.props.dayCount)?(i="day",r=this.buildRangeFromDayCount(n,t,e)):(r=this.buildCustomVisibleRange(n))?i=f.dateEnv.greatestWholeUnit(r.start,r.end).unit:(u=this.getFallbackDuration(),i=du(u).unit,r=this.buildRangeFromDuration(n,t,u,i)),{duration:u,unit:i,range:r}},n.prototype.getFallbackDuration=function(){return e({day:1})},n.prototype.adjustActiveRange=function(n){var r=this.props,u=r.dateEnv,o=r.usesMinMaxTime,f=r.slotMinTime,e=r.slotMaxTime,i=n.start,t=n.end;return o&&(yi(f)<0&&(i=h(i),i=u.add(i,f)),yi(e)>1&&(t=h(t),t=a(t,-1),t=u.add(t,e))),{start:i,end:t}},n.prototype.buildRangeFromDuration=function(n,t,i,r){function a(){u=c.startOf(n,e);l=c.add(u,i);o={start:u,end:l}}var s=this.props,c=s.dateEnv,e=s.dateAlignment,u,l,o,f;return e||(f=this.props.dateIncrement,e=f?g(f)<g(i)?du(f).unit:r:r),yi(i)<=1&&this.isHiddenDay(u)&&(u=this.skipHiddenDays(u,t),u=h(u)),a(),this.trimHiddenDays(o)||(n=this.skipHiddenDays(n,t),a()),o},n.prototype.buildRangeFromDayCount=function(n,t,i){var f=this.props,s=f.dateEnv,e=f.dateAlignment,o=0,r=n,u;e&&(r=s.startOf(r,e));r=h(r);r=this.skipHiddenDays(r,t);u=r;do u=a(u,1),this.isHiddenDay(u)||(o+=1);while(o<i);return{start:r,end:u}},n.prototype.buildCustomVisibleRange=function(n){var i=this.props,r=i.visibleRangeInput,u=typeof r=="function"?r.call(i.calendarApi,i.dateEnv.toDate(n)):r,t=this.refineRange(u);return t&&(t.start==null||t.end==null)?null:t},n.prototype.buildRenderRange=function(n){return n},n.prototype.buildDateIncrement=function(n){var t=this.props.dateIncrement,i;return t?t:(i=this.props.dateAlignment)?e(1,i):n?n:e({days:1})},n.prototype.refineRange=function(n){if(n){var t=pn(n,this.props.dateEnv);return t&&(t=hf(t)),t}return null},n.prototype.initHiddenDays=function(){var t=this.props.hiddenDays||[],i=[],r=0,n;for(this.props.weekends===!1&&t.push(0,6),n=0;n<7;n+=1)(i[n]=t.indexOf(n)!==-1)||(r+=1);if(!r)throw new Error("invalid hiddenDays");
56this.isHiddenDayHash=i},n.prototype.trimHiddenDays=function(n){var t=n.start,i=n.end;return(t&&(t=this.skipHiddenDays(t)),i&&(i=this.skipHiddenDays(i,-1,!0)),t==null||i==null||t<i)?{start:t,end:i}:null},n.prototype.isHiddenDay=function(n){return n instanceof Date&&(n=n.getUTCDay()),this.isHiddenDayHash[n]},n.prototype.skipHiddenDays=function(n,t,i){for(t===void 0&&(t=1),i===void 0&&(i=!1);this.isHiddenDayHash[(n.getUTCDay()+(i?t:0)+7)%7];)n=a(n,t);return n},n}();var rut={ignoreRange:!0,parseMeta:function(n){return Array.isArray(n.events)?n.events:null},fetch:function(n,t){t({rawEvents:n.eventSource.meta})}},uut=nt({eventSourceDefs:[rut]}),fut={parseMeta:function(n){return typeof n.events=="function"?n.events:null},fetch:function(n,t,i){var r=n.context.dateEnv,u=n.eventSource.meta;np(u.bind(null,wv(n.range,r)),function(n){t({rawEvents:n})},i)}},eut=nt({eventSourceDefs:[fut]});var sut={method:String,extraParams:r,startParam:String,endParam:String,timeZoneParam:String},hut={parseMeta:function(n){return n.url&&(n.format==="json"||!n.format)?{url:n.url,format:"json",method:(n.method||"GET").toUpperCase(),extraParams:n.extraParams,startParam:n.startParam,endParam:n.endParam,timeZoneParam:n.timeZoneParam}:null},fetch:function(n,t,i){var r=n.eventSource.meta,u=lut(r,n.range,n.context);hh(r.method,r.url,u,function(n,i){t({rawEvents:n,xhr:i})},function(n,t){i({message:n,xhr:t})})}},cut=nt({eventSourceRefiners:sut,eventSourceDefs:[hut]});var aut={daysOfWeek:r,startTime:e,endTime:e,duration:e,startRecur:r,endRecur:r},vut={parse:function(n,t){if(n.daysOfWeek||n.startTime||n.endTime||n.startRecur||n.endRecur){var r={daysOfWeek:n.daysOfWeek||null,startTime:n.startTime||null,endTime:n.endTime||null,startRecur:n.startRecur?t.createMarker(n.startRecur):null,endRecur:n.endRecur?t.createMarker(n.endRecur):null},i=void 0;return n.duration&&(i=n.duration),!i&&n.startTime&&n.endTime&&(i=eg(n.endTime,n.startTime)),{allDayGuess:Boolean(!n.startTime&&!n.endTime),duration:i,typeData:r}}return null},expand:function(n,t,i){var r=gt(t,{start:n.startRecur,end:n.endRecur});return r?put(n.daysOfWeek,n.startTime,r,i):[]}},yut=nt({recurringTypes:[vut],eventRefiners:aut});tw=nt({optionChangeHandlers:{events:function(n,t){iw([n],t)},eventSources:iw}});te=[uut,eut,cut,yut,tw,nt({isLoadingFuncs:[function(n){return pp(n.eventSources)},],contentTypeHandlers:{html:function(){return{render:kut}},domNodes:function(){return{render:dut}}},propSetHandlers:{dateProfile:wut,eventStore:but}}),];gi=function(){function n(n){this.drainedOption=n;this.isRunning=!1;this.isDirty=!1;this.pauseDepths={};this.timeoutId=0}return n.prototype.request=function(n){this.isDirty=!0;this.isPaused()||(this.clearTimeout(),n==null?this.tryDrain():this.timeoutId=setTimeout(this.tryDrain.bind(this),n))},n.prototype.pause=function(n){n===void 0&&(n="");var t=this.pauseDepths;t[n]=(t[n]||0)+1;this.clearTimeout()},n.prototype.resume=function(n,t){var i,r;n===void 0&&(n="");i=this.pauseDepths;n in i&&(t?delete i[n]:(i[n]-=1,r=i[n],r<=0&&delete i[n]),this.tryDrain())},n.prototype.isPaused=function(){return Object.keys(this.pauseDepths).length},n.prototype.tryDrain=function(){if(!this.isRunning&&!this.isPaused()){for(this.isRunning=!0;this.isDirty;)this.isDirty=!1,this.drained();this.isRunning=!1}},n.prototype.clear=function(){this.clearTimeout();this.isDirty=!1;this.pauseDepths={}},n.prototype.clearTimeout=function(){this.timeoutId&&(clearTimeout(this.timeoutId),this.timeoutId=0)},n.prototype.drained=function(){this.drainedOption&&this.drainedOption()},n}();rw=function(){function n(n,t){this.runTaskOption=n;this.drainedOption=t;this.queue=[];this.delayedRunner=new gi(this.drain.bind(this))}return n.prototype.request=function(n,t){this.queue.push(n);this.delayedRunner.request(t)},n.prototype.pause=function(n){this.delayedRunner.pause(n)},n.prototype.resume=function(n,t){this.delayedRunner.resume(n,t)},n.prototype.drain=function(){for(var i=this.queue,t,n;i.length;){for(t=[],n=void 0;n=i.shift();)this.runTask(n),t.push(n);this.drained(t)}},n.prototype.runTask=function(n){this.runTaskOption&&this.runTaskOption(n)},n.prototype.drained=function(n){this.drainedOption&&this.drainedOption(n)},n}();ie=function(){function n(n){var v=this,u,e,r,o,l,b,h,a,k;this.computeOptionsData=f(this._computeOptionsData);this.computeCurrentViewData=f(this._computeCurrentViewData);this.organizeRawLocales=f(fy);this.buildLocale=f(ws);this.buildPluginHooks=dit();this.buildDateEnv=f(tft);this.buildTheme=f(ift);this.parseToolbars=f(tut);this.buildViewSpecs=f(urt);this.buildDateProfileGenerator=yr(rft);this.buildViewApi=f(uft);this.buildViewUiProps=yr(oft);this.buildEventUiBySource=f(fft,rt);this.buildEventUiBases=f(eft);this.parseContextBusinessHours=yr(sft);this.buildTitle=f(gut);this.emitter=new ki;this.actionRunner=new rw(this._handleAction.bind(this),this.updateData.bind(this));this.currentCalendarOptionsInput={};this.currentCalendarOptionsRefined={};this.currentViewOptionsInput={};this.currentViewOptionsRefined={};this.currentCalendarOptionsRefiners={};this.getCurrentData=function(){return v.data};this.dispatch=function(n){v.actionRunner.request(n)};this.props=n;this.actionRunner.pause();var c={},t=this.computeOptionsData(n.optionOverrides,c,n.calendarApi),y=t.calendarOptions.initialView||t.pluginHooks.initialView,w=this.computeCurrentViewData(y,t,n.optionOverrides,c);for(n.calendarApi.currentDataManager=this,this.emitter.setThisContext(n.calendarApi),this.emitter.setOptions(w.options),u=ott(t.calendarOptions,t.dateEnv),e=w.dateProfileGenerator.build(u),ut(e.activeRange,u)||(u=e.currentRange.start),r={dateEnv:t.dateEnv,options:t.calendarOptions,pluginHooks:t.pluginHooks,calendarApi:n.calendarApi,dispatch:this.dispatch,emitter:this.emitter,getCurrentData:this.getCurrentData},o=0,l=t.pluginHooks.contextInit;o<l.length;o++)b=l[o],b(r);var d=crt(t.calendarOptions,e,r),s={dynamicOptionOverrides:c,currentViewType:y,currentDate:u,dateProfile:e,businessHours:this.parseContextBusinessHours(r),eventSources:d,eventUiBases:{},eventStore:p(),renderableEventStore:p(),dateSelection:null,eventSelection:"",eventDrag:null,eventResize:null,selectionConfig:this.buildViewUiProps(r).selectionConfig},g=i(i({},r),s);for(h=0,a=t.pluginHooks.reducers;h<a.length;h++)k=a[h],i(s,k(null,null,g));ch(s,r)&&this.emitter.trigger("loading",!0);this.state=s;this.updateData();this.actionRunner.resume()}return n.prototype.resetOptions=function(n,t){var r=this.props;r.optionOverrides=t?i(i({},r.optionOverrides),n):n;this.actionRunner.request({type:"NOTHING"})},n.prototype._handleAction=function(n){var v=this,r=v.props,t=v.state,o=v.emitter,y=srt(t.dynamicOptionOverrides,n),s=this.computeOptionsData(r.optionOverrides,y,r.calendarApi),d=ort(t.currentViewType,n),h=this.computeCurrentViewData(d,s,r.optionOverrides,y),a,w,tt,b,k;r.calendarApi.currentDataManager=this;o.setThisContext(r.calendarApi);o.setOptions(h.options);var f={dateEnv:s.dateEnv,options:s.calendarOptions,pluginHooks:s.pluginHooks,calendarApi:r.calendarApi,dispatch:this.dispatch,emitter:o,getCurrentData:this.getCurrentData},e=t.currentDate,u=t.dateProfile;this.data&&this.data.dateProfileGenerator!==h.dateProfileGenerator&&(u=h.dateProfileGenerator.build(e));e=ett(e,n);u=hrt(u,n,e,h.dateProfileGenerator);ut(u.currentRange,e)||(e=u.currentRange.start);
56var c=lrt(t.eventSources,n,u,f),p=oit(t.eventStore,n,c,u,f),it=pp(c),g=it&&!h.options.progressiveEventRendering?t.renderableEventStore||p:p,nt=this.buildViewUiProps(f),rt=nt.eventUiSingleBase,ft=nt.selectionConfig,et=this.buildEventUiBySource(c),ot=this.buildEventUiBases(g.defs,rt,et),l={dynamicOptionOverrides:y,currentViewType:d,currentDate:e,dateProfile:u,eventSources:c,eventStore:p,renderableEventStore:g,selectionConfig:ft,eventUiBases:ot,businessHours:this.parseContextBusinessHours(f),dateSelection:krt(t.dateSelection,n),eventSelection:drt(t.eventSelection,n),eventDrag:grt(t.eventDrag,n),eventResize:nut(t.eventResize,n)},st=i(i({},f),l);for(a=0,w=s.pluginHooks.reducers;a<w.length;a++)tt=w[a],i(l,tt(t,n,st));if(b=ch(t,f),k=ch(l,f),!b&&k?o.trigger("loading",!0):b&&!k&&o.trigger("loading",!1),this.state=l,r.onAction)r.onAction(n)},n.prototype.updateData=function(){var h=this,r=h.props,n=h.state,s=this.data,u=this.computeOptionsData(r.optionOverrides,n.dynamicOptionOverrides,r.calendarApi),c=this.computeCurrentViewData(n.currentViewType,u,r.optionOverrides,n.dynamicOptionOverrides),t=this.data=i(i(i({viewTitle:this.buildTitle(n.dateProfile,c.options,u.dateEnv),calendarApi:r.calendarApi,dispatch:this.dispatch,emitter:this.emitter,getCurrentData:this.getCurrentData},u),c),n),l=u.pluginHooks.optionChangeHandlers,e=s&&s.calendarOptions,o=u.calendarOptions,f;if(e&&e!==o){e.timeZone!==o.timeZone&&(n.eventSources=t.eventSources=art(t.eventSources,n.dateProfile,t),n.eventStore=t.eventStore=lit(t.eventStore,s.dateEnv,t.dateEnv));for(f in l)e[f]!==o[f]&&l[f](o[f],t)}if(r.onData)r.onData(t)},n.prototype._computeOptionsData=function(n,t,i){var u=this.processRawCalendarOptions(n,t),r=u.refinedOptions,f=u.pluginHooks,e=u.localeDefaults,o=u.availableLocaleData,c=u.extra;uw(c);var l=this.buildDateEnv(r.timeZone,r.locale,r.weekNumberCalculation,r.firstDay,r.weekText,f,o,r.defaultRangeSeparator),s=this.buildViewSpecs(f.views,n,t,e),h=this.buildTheme(r,f),a=this.parseToolbars(r,n,h,s,i);return{calendarOptions:r,pluginHooks:f,dateEnv:l,viewSpecs:s,theme:h,toolbarConfig:a,localeDefaults:e,availableRawLocales:o.map}},n.prototype.processRawCalendarOptions=function(n,t){var h=is([lt,n,t,]),y=h.locales,p=h.locale,e=this.organizeRawLocales(y),w=e.map,c=this.buildLocale(p||e.defaultCode,w).options,o=this.buildPluginHooks(n.plugins||[],te),l=this.currentCalendarOptionsRefiners=i(i(i(i(i({},ns),da),ga),o.listenerRefiners),o.optionRefiners),a={},u=is([lt,c,n,t,]),s={},f=this.currentCalendarOptionsInput,b=this.currentCalendarOptionsRefined,v=!1;for(var r in u)r!=="plugins"&&(u[r]===f[r]||ts[r]&&r in f&&ts[r](f[r],u[r])?s[r]=b[r]:l[r]?(s[r]=l[r](u[r]),v=!0):a[r]=f[r]);return v&&(this.currentCalendarOptionsInput=u,this.currentCalendarOptionsRefined=s),{rawOptions:this.currentCalendarOptionsInput,refinedOptions:this.currentCalendarOptionsRefined,pluginHooks:o,availableLocaleData:e,localeDefaults:c,extra:a}},n.prototype._computeCurrentViewData=function(n,t,i,r){var f=t.viewSpecs[n],o,s;if(!f)throw new Error('viewType "'+n+"\" is not available. Please make sure you've loaded all neccessary plugins");var e=this.processRawViewOptions(f,t.pluginHooks,t.localeDefaults,i,r),u=e.refinedOptions,h=e.extra;return uw(h),o=this.buildDateProfileGenerator({dateProfileGeneratorClass:f.optionDefaults.dateProfileGeneratorClass,duration:f.duration,durationUnit:f.durationUnit,usesMinMaxTime:f.optionDefaults.usesMinMaxTime,dateEnv:t.dateEnv,calendarApi:this.props.calendarApi,slotMinTime:u.slotMinTime,slotMaxTime:u.slotMaxTime,showNonCurrentDates:u.showNonCurrentDates,dayCount:u.dayCount,dateAlignment:u.dateAlignment,dateIncrement:u.dateIncrement,hiddenDays:u.hiddenDays,weekends:u.weekends,nowInput:u.now,validRangeInput:u.validRange,visibleRangeInput:u.visibleRange,monthMode:u.monthMode,fixedWeekCount:u.fixedWeekCount}),s=this.buildViewApi(n,this.getCurrentData,t.dateEnv),{viewSpec:f,options:u,dateProfileGenerator:o,viewApi:s}},n.prototype.processRawViewOptions=function(n,t,r,u,f){var o=is([lt,n.optionDefaults,r,u,n.optionOverrides,f,]),h=i(i(i(i(i(i({},ns),da),ga),nv),t.listenerRefiners),t.optionRefiners),s={},a=this.currentViewOptionsInput,v=this.currentViewOptionsRefined,c=!1,l={};
56for(var e in o)o[e]===a[e]?s[e]=v[e]:(o[e]===this.currentCalendarOptionsInput[e]?e in this.currentCalendarOptionsRefined&&(s[e]=this.currentCalendarOptionsRefined[e]):h[e]?s[e]=h[e](o[e]):l[e]=o[e],c=!0);return c&&(this.currentViewOptionsInput=o,this.currentViewOptionsRefined=s),{rawOptions:this.currentViewOptionsInput,refinedOptions:this.currentViewOptionsRefined,extra:l}},n}();fw=function(n){function t(t){var i=n.call(this,t)||this;return i.handleData=function(n){i.dataManager?i.setState(n):i.state=n},i.dataManager=new ie({optionOverrides:t.optionOverrides,calendarApi:t.calendarApi,onData:i.handleData}),i}return u(t,n),t.prototype.render=function(){return this.props.children(this.state)},t.prototype.componentDidUpdate=function(n){var t=this.props.optionOverrides;t!==n.optionOverrides&&this.dataManager.resetOptions(t)},t}(df);ew=function(){function n(n){this.timeZoneName=n}return n}();ii=function(){function n(n){this.component=n.component}return n.prototype.destroy=function(){},n}();var eu={},lh=function(){function n(){this.emitter=new ki}return n.prototype.destroy=function(){},n.prototype.setMirrorIsVisible=function(){},n.prototype.setMirrorNeedsRevert=function(){},n.prototype.setAutoScrollEnabled=function(){},n}(),si={},lft={startTime:e,duration:e,create:Boolean,sourceId:String};var aft=function(n){function r(){return n!==null&&n.apply(this,arguments)||this}return u(r,n),r.prototype.render=function(){var n=this,i=this.props.widgetGroups.map(function(t){return n.renderWidgetGroup(t)});return t.apply(void 0,v(["div",{className:"fc-toolbar-chunk"}],i))},r.prototype.renderWidgetGroup=function(n){for(var y,c,p,w,u=this.props,o=this.context.theme,f=[],l=!0,s=0,a=n;s<a.length;s++){var e=a[s],r=e.buttonName,b=e.buttonClick,k=e.buttonText,h=e.buttonIcon;r==="title"?(l=!1,f.push(t("h2",{className:"fc-toolbar-title"},u.title))):(y=h?{"aria-label":r}:{},c=["fc-"+r+"-button",o.getClass("button")],r===u.activeButton&&c.push(o.getClass("buttonActive")),p=!u.isTodayEnabled&&r==="today"||!u.isPrevEnabled&&r==="prev"||!u.isNextEnabled&&r==="next",f.push(t("button",i({disabled:p,className:c.join(" "),onClick:b,type:"button"},y),k||(h?t("span",{className:h}):""))))}return f.length>1?(w=l&&o.getClass("buttonGroup")||"",t.apply(void 0,v(["div",{className:w}],f))):f[0]},r}(o),ow=function(n){function i(){return n!==null&&n.apply(this,arguments)||this}return u(i,n),i.prototype.render=function(){var f=this.props,n=f.model,o=f.extraClassName,i=!1,r,u,s=n.center,e;return n.left?(i=!0,r=n.left):r=n.start,n.right?(i=!0,u=n.right):u=n.end,e=[o||"","fc-toolbar",i?"fc-toolbar-ltr":"",],t("div",{className:e.join(" ")},this.renderSection("start",r||[]),this.renderSection("center",s||[]),this.renderSection("end",u||[]))},i.prototype.renderSection=function(n,i){var r=this.props;return t(aft,{key:n,widgetGroups:i,title:r.title,activeButton:r.activeButton,isTodayEnabled:r.isTodayEnabled,isPrevEnabled:r.isPrevEnabled,isNextEnabled:r.isNextEnabled})},i}(o),vft=function(n){function i(){var t=n!==null&&n.apply(this,arguments)||this;return t.state={availableWidth:null},t.handleEl=function(n){t.el=n;et(t.props.elRef,n);t.updateAvailableWidth()},t.handleResize=function(){t.updateAvailableWidth()},t}return u(i,n),i.prototype.render=function(){var u=this,n=u.props,f=u.state,i=n.aspectRatio,o=["fc-view-harness",i||n.liquid||n.height?"fc-view-harness-active":"fc-view-harness-passive",],r="",e="";return i?f.availableWidth!==null?r=f.availableWidth/i:e=100/i+"%":r=n.height||"",t("div",{ref:this.handleEl,onClick:n.onClick,className:o.join(" "),style:{height:r,paddingBottom:e}},n.children)},i.prototype.componentDidMount=function(){this.context.addResizeHandler(this.handleResize)},i.prototype.componentWillUnmount=function(){this.context.removeResizeHandler(this.handleResize)},i.prototype.updateAvailableWidth=function(){this.el&&this.props.aspectRatio&&this.setState({availableWidth:this.el.offsetWidth})},i}(o),yft=function(n){function t(t){var i=n.call(this,t)||this;return i.handleSegClick=function(n,t){var r=i.component,o=r.context,u=ei(t),f,e;u&&r.isValidSegDownEl(n.target)&&(f=w(n.target,".fc-event-forced-url"),e=f?f.querySelector("a[href]").href:"",o.emitter.trigger("eventClick",{el:t,event:new l(r.context,u.eventRange.def,u.eventRange.instance),jsEvent:n,view:o.viewApi}),e&&!n.defaultPrevented&&(window.location.href=e))},i.destroy=eo(t.el,"click",".fc-event",i.handleSegClick),i}return u(t,n),t}(ii),pft=function(n){function t(t){var i=n.call(this,t)||this;return i.handleEventElRemove=function(n){n===i.currentSegEl&&i.handleSegLeave(null,i.currentSegEl)},i.handleSegEnter=function(n,t){ei(t)&&(i.currentSegEl=t,i.triggerEvent("eventMouseEnter",n,t))},i.handleSegLeave=function(n,t){i.currentSegEl&&(i.currentSegEl=null,i.triggerEvent("eventMouseLeave",n,t))},i.removeHoverListeners=ld(t.el,".fc-event",i.handleSegEnter,i.handleSegLeave),i}return u(t,n),t.prototype.destroy=function(){this.removeHoverListeners()},t.prototype.triggerEvent=function(n,t,i){var u=this.component,r=u.context,f
56=ei(i);(!t||u.isValidSegDownEl(t.target))&&r.emitter.trigger(n,{el:i,event:new l(r,f.eventRange.def,f.eventRange.instance),jsEvent:t,view:r.viewApi})},t}(ii),sw=function(n){function r(){var t=n!==null&&n.apply(this,arguments)||this;return t.buildViewContext=f(uit),t.buildViewPropTransformers=f(bft),t.buildToolbarProps=f(wft),t.handleNavLinkClick=vl("a[data-navlink]",t._handleNavLinkClick.bind(t)),t.headerRef=y(),t.footerRef=y(),t.interactionsStore={},t.registerInteractiveComponent=function(n,i){var r=cft(n,i),u=[yft,pft,],f=u.concat(t.props.pluginHooks.componentInteractions),e=f.map(function(n){return new n(r)});t.interactionsStore[n.uid]=e;eu[n.uid]=r},t.unregisterInteractiveComponent=function(n){for(var u,i=0,r=t.interactionsStore[n.uid];i<r.length;i++)u=r[i],u.destroy();delete t.interactionsStore[n.uid];delete eu[n.uid]},t.resizeRunner=new gi(function(){t.props.emitter.trigger("_resize",!0);t.props.emitter.trigger("windowResize",{view:t.props.viewApi})}),t.handleWindowResize=function(n){var i=t.props.options;i.handleWindowResize&&n.target===window&&t.resizeRunner.request(i.windowResizeDelay)},t}return u(r,n),r.prototype.render=function(){var n=this.props,r=n.toolbarConfig,u=n.options,e=this.buildToolbarProps(n.viewSpec,n.dateProfile,n.dateProfileGenerator,n.currentDate,iu(n.options.now,n.dateEnv),n.viewTitle),o=!1,f="",s,h;return n.isHeightAuto||n.forPrint?f="":u.height!=null?o=!0:u.contentHeight!=null?f=u.contentHeight:s=Math.max(u.aspectRatio,.5),h=this.buildViewContext(n.viewSpec,n.viewApi,n.options,n.dateProfileGenerator,n.dateEnv,n.theme,n.pluginHooks,n.dispatch,n.getCurrentData,n.emitter,n.calendarApi,this.registerInteractiveComponent,this.unregisterInteractiveComponent),t(at.Provider,{value:h},r.headerToolbar&&t(ow,i({ref:this.headerRef,extraClassName:"fc-header-toolbar",model:r.headerToolbar},e)),t(vft,{liquid:o,height:f,aspectRatio:s,onClick:this.handleNavLinkClick},this.renderView(n),this.buildAppendContent()),r.footerToolbar&&t(ow,i({ref:this.footerRef,extraClassName:"fc-footer-toolbar",model:r.footerToolbar},e)))},r.prototype.componentDidMount=function(){var n=this.props,t,i;this.calendarInteractions=n.pluginHooks.calendarInteractions.map(function(t){return new t(n)});window.addEventListener("resize",this.handleWindowResize);t=n.pluginHooks.propSetHandlers;for(i in t)t[i](n[i],n)},r.prototype.componentDidUpdate=function(n){var t=this.props,r=t.pluginHooks.propSetHandlers;for(var i in r)t[i]!==n[i]&&r[i](t[i],t)},r.prototype.componentWillUnmount=function(){var n,t,i;for(window.removeEventListener("resize",this.handleWindowResize),this.resizeRunner.clear(),n=0,t=this.calendarInteractions;n<t.length;n++)i=t[n],i.destroy();this.props.emitter.trigger("_unmount")},r.prototype._handleNavLinkClick=function(n,t){var f=this.props,e=f.dateEnv,o=f.options,s=f.calendarApi,i=t.getAttribute("data-navlink");i=i?JSON.parse(i):{};var h=e.createMarker(i.date),r=i.type,u=r==="day"?o.navLinkDayClick:r==="week"?o.navLinkWeekClick:null;typeof u=="function"?u.call(s,e.toDate(h),n):(typeof u=="string"&&(r=u),s.zoomTo(h,r))},r.prototype.buildAppendContent=function(){var n=this.props,i=n.pluginHooks.viewContainerAppends.map(function(t){return t(n)});return t.apply(void 0,v([b,{}],i))},r.prototype.renderView=function(n){for(var e,o,s=n.pluginHooks,h=n.viewSpec,r={dateProfile:n.dateProfile,businessHours:n.businessHours,eventStore:n.renderableEventStore,eventUiBases:n.eventUiBases,dateSelection:n.dateSelection,eventSelection:n.eventSelection,eventDrag:n.eventDrag,eventResize:n.eventResize,isHeightAuto:n.isHeightAuto,forPrint:n.forPrint},c=this.buildViewPropTransformers(s.viewPropsTransformers),u=0,f=c;u<f.length;u++)e=f[u],i(r,e.transform(r,n));return o=h.component,t(o,i({},r))},r}(uu);ah=function(n){function t(){var t=n!==null&&n.apply(this,arguments)||this;return t.state={forPrint:!1},t.handleBeforePrint=function(){t.setState({forPrint:!0})},t.handleAfterPrint=function(){t.setState({forPrint:!1})},t}return u(t,n),t.prototype.render=function(){var t=this.props,n=t.options,i=this.state.forPrint,r=i||n.height==="auto"||n.contentHeight==="auto",f=!r&&n.height!=null?n.height:"",u=["fc",i?"fc-media-print":"fc-media-screen","fc-direction-"+n.direction,t.theme.getClass("root"),];return ks()||u.push("fc-liquid-hack"),t.children(u,f,r,i)},t.prototype.componentDidMount=function(){var n=this.props.emitter;n.on("_beforeprint",this.handleBeforePrint);n.on("_afterprint",this.handleAfterPrint)},t.prototype.componentWillUnmount=function(){var n=this.props.emitter;n.off("_beforeprint",this.handleBeforePrint);n.off("_afterprint",this.handleAfterPrint)},t}(o);vh="fc-col-header-cell";var lw=function(n){function r(){return n!==null&&n.apply(this,arguments)||this}return u(r,n),r.prototype.render=function(){var e=this.context,o=e.dateEnv,r=e.options,s=e.theme,h=e.viewApi,n=this.props,u=n.date,c=n.dateProfile,f=pf(u,n.todayRange,null,c),l=[vh].concat(ru(f,s)),a=o.format(u,n.dayHeaderFormat),v=r.navLinks&&!f.isDisabled&&n.colCnt>1?{"data-navlink":bi(u),tabIndex:0}:{},y=i(i(i({date:o.toDate(u),view:h},n.extraHookProps),{text:a}),f);return t(k,{hookProps:y,classNames:r.dayHeaderClassNames,content:r.dayHeaderContent,defaultContent:cw,didMount:r.dayHeaderDidMount,willUnmount:r.dayHeaderWillUnmount},function(r,e,o,s){return t("th",i({ref:r,className:l.concat(e).join(" "),"data-date":f.isDisabled?undefined:vr(u),colSpan:n.colSpan},n.extraDataAttrs),t("div",{className:"fc-scrollgrid-sync-inner"},!f.isDisabled&&t("a",i({ref:o,className:["fc-col-header-cell-cushion",n.isSticky?"fc-sticky":"",].join(" ")},v),s)))})},r}(o),aw=function(n){function r(){return n!==null&&n.apply(this,arguments)||this}return u(r,n),r.prototype.render=function(){var n=this.props,r=this.context,o=r.dateEnv,s=r.theme,h=r.viewApi,u=r.options,f=a(new Date(2592e5),n.dow),e={dow:n.dow,isDisabled:!1,isFuture:!1,isPast:!1,isToday:!1,isOther:!1},c=[vh].concat(ru(e,s),n.extraClassNames||[]),l=o.format(f,n.dayHeaderFormat),v=i(i(i(i({date:f},e),{view:h}),n.extraHookProps),{text:l});return t(k,{hookProps:v,classNames:u.dayHeaderClassNames,content:u.dayHeaderContent,defaultContent:cw,didMount:u.dayHeaderDidMount,willUnmount:u.dayHeaderWillUnmount},function(r,u,f,e){return t("th",i({ref:r,className:c.concat(u).join(" "),colSpan:n.colSpan},n.extraDataAttrs),t("div",{className:"fc-scrollgrid-sync-inner"},t("a",{className:["fc-col-header-cell-cushion",n.isSticky?"fc-sticky":"",].join(" "),ref:f},e)))})},r}(o),nr=function(n){function t(t,i){var r=n.call(this,t,i)||this;return r.initialNowDate=iu(i.options.now,i.dateEnv),r.initialNowQueriedMs=(new Date).valueOf(),r.state=r.computeTiming().currentState,r}return u(t,n),t.prototype.render=function(){var n=this,i=n.props,t=n.state;return i.children(t.nowDate,t.todayRange)},t.prototype.componentDidMount=function(){this.setTimeout()},t.prototype.componentDidUpdate=function(n){n.unit!==this.props.unit&&(this.clearTimeout(),this.setTimeout())},t.prototype.componentWillUnmount=function(){this.clearTimeout()},t.prototype.computeTiming=function(){var r=this,u=r.props,f=r.context,o=ai(this.initialNowDate,(new Date).valueOf()-this.initialNowQueriedMs),n=f.dateEnv.startOf(o,u.unit),t=f.dateEnv.add(n,e(1,u.unit)),i=t.valueOf()-o.valueOf();return i=Math.min(864e5,i),{currentState:{nowDate:n,todayRange:vw(n)},nextState:{nowDate:t,todayRange:vw(t)},waitMs:i}},t.prototype.setTimeout=function(){var n=this,t=this.computeTiming(),i=t.nextState,r=t.waitMs;this.timeoutId=setTimeout(function(){n.setState(i,function(){n.setTimeout()})},r)},t.prototype.clearTimeout=function(){this.timeoutId&&clearTimeout(this.timeoutId)},t.contextType=at,t}(df);fe=function(n){function i(){var t=n!==null&&n.apply(this,arguments)||this;return t.createDayHeaderFormatter=f(kft),t}return u(i,n),i.prototype.render=function(){var e=this.context,n=this.props,i=n.dates,o=n.dateProfile,r=n.datesRepDistinctDays,u=n.renderIntro,f=this.createDayHeaderFormatter(e.options.dayHeaderFormat,r,i.length);return t(nr,{unit:"day"},function(n,e){return t("tr",null,u&&u("day"),i.map(function(n){return r?t(lw,{key:n.toISOString(),date:n,dateProfile:o,todayRange:e,colCnt:i.length,dayHeaderFormat:f}):t(aw,{key:n.getUTCDay(),dow:n.getUTCDay(),dayHeaderFormat:f})}))})},i}(o);var yh=function(){function n(n,t){for(var i=n.start,e=n.end,r=[],u=[],f=-1;i<e;
56)t.isHiddenDay(i)?r.push(f+.5):(f+=1,r.push(f),u.push(i)),i=a(i,1);this.dates=u;this.indices=r;this.cnt=u.length}return n.prototype.sliceRange=function(n){var r=this.getDateDayIndex(n.start),u=this.getDateDayIndex(a(n.end,-1)),t=Math.max(0,r),i=Math.min(this.cnt-1,u);return(t=Math.ceil(t),i=Math.floor(i),t<=i)?{firstIndex:t,lastIndex:i,isStart:r===t,isEnd:u===i}:null},n.prototype.getDateDayIndex=function(n){var t=this.indices,i=Math.floor(ht(this.dates[0],n));return i<0?t[0]-1:i>=t.length?t[t.length-1]+1:t[i]},n}(),ph=function(){function n(n,t){var r=n.dates,i,f,u;if(t){for(f=r[0].getUTCDay(),i=1;i<r.length;i+=1)if(r[i].getUTCDay()===f)break;u=Math.ceil(r.length/i)}else u=1,i=r.length;this.rowCnt=u;this.colCnt=i;this.daySeries=n;this.cells=this.buildCells();this.headerDates=this.buildHeaderDates()}return n.prototype.buildCells=function(){for(var i,n,r=[],t=0;t<this.rowCnt;t+=1){for(i=[],n=0;n<this.colCnt;n+=1)i.push(this.buildCell(t,n));r.push(i)}return r},n.prototype.buildCell=function(n,t){var i=this.daySeries.dates[n*this.colCnt+t];return{key:i.toISOString(),date:i}},n.prototype.buildHeaderDates=function(){for(var t=[],n=0;n<this.colCnt;n+=1)t.push(this.cells[0][n].date);return t},n.prototype.sliceRange=function(n){var r=this.colCnt,t=this.daySeries.sliceRange(n),o=[],e,u;if(t)for(var s=t.firstIndex,f=t.lastIndex,i=s;i<=f;)e=Math.floor(i/r),u=Math.min((e+1)*r,f+1),o.push({row:e,firstCol:i%r,lastCol:(u-1)%r,isStart:t.isStart&&i===s,isEnd:t.isEnd&&u-1===f}),i=u;return o},n}(),wh=function(){function n(){this.sliceBusinessHours=f(this._sliceBusinessHours);this.sliceDateSelection=f(this._sliceDateSpan);this.sliceEventStore=f(this._sliceEventStore);this.sliceEventDrag=f(this._sliceInteraction);this.sliceEventResize=f(this._sliceInteraction);this.forceDayIfListItem=!1}return n.prototype.sliceProps=function(n,t,i,r){for(var f,o,u=[],e=4;e<arguments.length;e++)u[e-4]=arguments[e];return f=n.eventUiBases,o=this.sliceEventStore.apply(this,v([n.eventStore,f,t,i],u)),{dateSelectionSegs:this.sliceDateSelection.apply(this,v([n.dateSelection,f,r],u)),businessHourSegs:this.sliceBusinessHours.apply(this,v([n.businessHours,t,i,r],u)),fgEventSegs:o.fg,bgEventSegs:o.bg,eventDrag:this.sliceEventDrag.apply(this,v([n.eventDrag,f,t,i],u)),eventResize:this.sliceEventResize.apply(this,v([n.eventResize,f,t,i],u)),eventSelection:n.eventSelection}},n.prototype.sliceNowDate=function(n,t){for(var r=[],i=2;i<arguments.length;i++)r[i-2]=arguments[i];return this._sliceDateSpan.apply(this,v([{range:{start:n,end:ai(n,1)},allDay:!1},{},t],r))},n.prototype._sliceBusinessHours=function(n,t,i,r){for(var f=[],u=4;u<arguments.length;u++)f[u-4]=arguments[u];return n?this._sliceEventStore.apply(this,v([vi(n,bh(t,Boolean(i)),r),{},t,i],f)).bg:[]},n.prototype._sliceEventStore=function(n,t,i,r){for(var e,f=[],u=4;u<arguments.length;u++)f[u-4]=arguments[u];return n?(e=nu(n,t,bh(i,Boolean(r)),r),{bg:this.sliceEventRanges(e.bg,f),fg:this.sliceEventRanges(e.fg,f)}):{bg:[],fg:[]}},n.prototype._sliceInteraction=function(n,t,i,r){for(var e,f=[],u=4;u<arguments.length;u++)f[u-4]=arguments[u];return n?(e=nu(n.mutatedEvents,t,bh(i,Boolean(r)),r),{segs:this.sliceEventRanges(e.fg,f),affectedInstances:n.affectedEvents.instances,isEvent:n.isEvent}):null},n.prototype._sliceDateSpan=function(n,t,i){for(var s,f,u,e,h,o=[],r=3;r<arguments.length;r++)o[r-3]=arguments[r];if(!n)return[];for(s=ttt(n,t,i),f=this.sliceRange.apply(this,v([n.range],o)),u=0,e=f;u<e.length;u++)h=e[u],h.eventRange=s;return f},n.prototype.sliceEventRanges=function(n,t){for(var f,i=[],r=0,u=n;r<u.length;r++)f=u[r],i.push.apply(i,this.sliceEventRange(f,t));return i},n.prototype.sliceEventRange=function(n,t){var r=n.range,f,u,e,i;for(this.forceDayIfListItem&&n.ui.display==="list-item"&&(r={start:r.start,end:a(r.start,1)}),f=this.sliceRange.apply(this,v([r],t)),u=0,e=f;u<e.length;u++)i=e[u],i.eventRange=n,i.isStart=n.isStart&&i.isStart,i.isEnd=n.isEnd&&i.isEnd;return f},n}();var ee=/^(visible|hidden)$/,kh=function(n){function i(){var t=n!==null&&n.apply(this,arguments)||this;return t.handleEl=function(n){t.el=n;et(t.props.elRef,n)},t}return u(i,n),i.prototype.render=function(){var n=this.props,u=n.liquid,f=n.liquidIsAbsolute,i=u&&f,r=["fc-scroller"];return u&&(f?r.push("fc-scroller-liquid-absolute"):r.push("fc-scroller-liquid")),t("div",{ref:this.handleEl,className:r.join(" "),style:{overflowX:n.overflowX,overflowY:n.overflowY,left:i&&-(n.overcomeLeft||0)||"",right:i&&-(n.overcomeRight||0)||"",bottom:i&&-(n.overcomeBottom||0)||"",marginLeft:!i&&-(n.overcomeLeft||0)||"",marginRight:!i&&-(n.overcomeRight||0)||"",marginBottom:!i&&-(n.overcomeBottom||0)||"",maxHeight:n.maxHeight||""}},n.children)},i.prototype.needsXScrolling=function(){var n,i;if(ee.test(this.props.overflowX))return!1;var r=this.el,u=this.el.getBoundingClientRect().width-this.getYScrollbarWidth(),t=r.children;for(n=0;n<t.length;n+=1)if(i=t[n],i.getBoundingClientRect().width>u)return!0;return!1},i.prototype.needsYScrolling=function(){var n,i;if(ee.test(this.props.overflowY))return!1;var r=this.el,u=this.el.getBoundingClientRect().height-this.getXScrollbarWidth(),t=r.children;for(n=0;n<t.length;n+=1)if(i=t[n],i.getBoundingClientRect().height>u)return!0;return!1},i.prototype.getXScrollbarWidth=function(){return ee.test(this.props.overflowX)?0:this.el.offsetHeight-this.el.clientHeight},i.prototype.getYScrollbarWidth=function(){return ee.test(this.props.overflowY)?0:this.el.offsetWidth-this.el.clientWidth},i}(o),ot=function(){function n(n){var t=this;this.masterCallback=n;this.currentMap={};this.depths={};this.callbackMap={};this.handleValue=function(n,i){var e=t,r=e.depths,u=e.currentMap,f=!1,o=!1;n!==null?(f=i in u,u[i]=n,r[i]=(r[i]||0)+1,o=!0):(r[i]-=1,r[i]||(delete u[i],delete t.callbackMap[i],f=!0));t.masterCallback&&(f&&t.masterCallback(null,String(i)),o&&t.masterCallback(n,String(i)))}}return n.prototype.createRef=function(n){var i=this,t=this.callbackMap[n];return t||(t=this.callbackMap[n]=function(t){i.handleValue(t,String(n))}),t},n.prototype.collect=function(n,t,i){return ha(this.currentMap,n,t,i)},n.prototype.getAll=function(){return po(this.currentMap)},n}();su=function(n){function r(){var t=n!==null&&n.apply(this,arguments)||this;return t.processCols=f(function(n){return n},bw),t.renderMicroColGroup=f(kw),t.scrollerRefs=new ot,t.scrollerElRefs=new ot(t._handleScrollerEl.bind(t)),t.state={shrinkWidth:null,forceYScrollbars:!1,scrollerClientWidths:{},scrollerClientHeights:{}},t.handleSizing=function(){t.setState(i({shrinkWidth:t.computeShrinkWidth()},t.computeScrollerDims()))},t}return u(r,n),r.prototype.render=function(){for(var h=this,u=h.props,a=h.state,y=h.context,f
56=u.sections||[],p=this.processCols(u.cols),c=this.renderMicroColGroup(p,a.shrinkWidth),w=nb(u.liquid,y),l=f.length,n=0,i,e=[],o=[],s=[],r;n<l&&(i=f[n]).type==="header";)e.push(this.renderSection(i,n,c)),n+=1;while(n<l&&(i=f[n]).type==="body")o.push(this.renderSection(i,n,c)),n+=1;while(n<l&&(i=f[n]).type==="footer")s.push(this.renderSection(i,n,c)),n+=1;return r=!ks(),t("table",{className:w.join(" "),style:{height:u.height}},Boolean(!r&&e.length)&&t.apply(void 0,v(["thead",{}],e)),Boolean(!r&&o.length)&&t.apply(void 0,v(["tbody",{}],o)),Boolean(!r&&s.length)&&t.apply(void 0,v(["tfoot",{}],s)),r&&t.apply(void 0,v(["tbody",{}],e,o,s)))},r.prototype.renderSection=function(n,i,r){return"outerContent"in n?t(b,{key:n.key},n.outerContent):t("tr",{key:n.key,className:tb(n,this.props.liquid).join(" ")},this.renderChunkTd(n,i,r,n.chunk))},r.prototype.renderChunkTd=function(n,i,r,u){if("outerContent"in u)return u.outerContent;var f=this.props,e=this.state,c=e.forceYScrollbars,o=e.scrollerClientWidths,s=e.scrollerClientHeights,l=pw(f,n),h=dh(f,n),a=f.liquid?c?"scroll":l?"auto":"hidden":"visible",v=ww(n,u,{tableColGroupNode:r,tableMinWidth:"",clientWidth:o[i]!==undefined?o[i]:null,clientHeight:s[i]!==undefined?s[i]:null,expandRows:n.expandRows,syncRowHeights:!1,rowSyncHeights:[],reportRowHeightChange:function(){}});return t("td",{ref:u.elRef},t("div",{className:"fc-scroller-harness"+(h?" fc-scroller-harness-liquid":"")},t(kh,{ref:this.scrollerRefs.createRef(i),elRef:this.scrollerElRefs.createRef(i),overflowY:a,overflowX:f.liquid?"hidden":"visible",maxHeight:n.maxHeight,liquid:h,liquidIsAbsolute:!0},v)))},r.prototype._handleScrollerEl=function(n,t){var i=parseInt(t,10),r=this.props.sections[i].chunk;et(r.scrollerElRef,n)},r.prototype.componentDidMount=function(){this.handleSizing();this.context.addResizeHandler(this.handleSizing)},r.prototype.componentDidUpdate=function(){this.handleSizing()},r.prototype.componentWillUnmount=function(){this.context.removeResizeHandler(this.handleSizing)},r.prototype.computeShrinkWidth=function(){return gw(this.props.cols)?yw(this.scrollerElRefs.getAll()):0},r.prototype.computeScrollerDims=function(){for(var i,r,u,h=wy(),f=this.props.sections.length,e=this,c=e.scrollerRefs,l=e.scrollerElRefs,t=!1,o={},s={},n=0;n<f;n+=1)if(i=c.currentMap[n],i&&i.needsYScrolling()){t=!0;break}for(n=0;n<f;n+=1)r=l.currentMap[n],r&&(u=r.parentNode,o[n]=Math.floor(u.getBoundingClientRect().width-(t?h.y:0)),s[n]=Math.floor(u.getBoundingClientRect().height));return{forceYScrollbars:t,scrollerClientWidths:o,scrollerClientHeights:s}},r}(o);su.addStateEquality({scrollerClientWidths:rt,scrollerClientHeights:rt});tr=function(n){function i(){var t=n!==null&&n.apply(this,arguments)||this;return t.elRef=y(),t}return u(i,n),i.prototype.render=function(){var s=this,n=s.props,r=s.context,u=r.options,i=n.seg,e=i.eventRange,f=e.ui,o={event:new l(r,e.def,e.instance),view:r.viewApi,timeText:n.timeText,textColor:f.textColor,backgroundColor:f.backgroundColor,borderColor:f.borderColor,isDraggable:!n.disableDragging&&cv(i,r),isStartResizable:!n.disableResizing&&lv(i,r),isEndResizable:!n.disableResizing&&av(i),isMirror:Boolean(n.isDragging||n.isResizing||n.isDateSelecting),isStart:Boolean(i.isStart),isEnd:Boolean(i.isEnd),isPast:Boolean(n.isPast),isFuture:Boolean(n.isFuture),isToday:Boolean(n.isToday),isSelected:Boolean(n.isSelected),isDragging:Boolean(n.isDragging),isResizing:Boolean(n.isResizing)},h=vv(o).concat(f.classNames);return t(k,{hookProps:o,classNames:u.eventClassNames,content:u.eventContent,defaultContent:n.defaultContent,didMount:u.eventDidMount,willUnmount:u.eventWillUnmount,elRef:this.elRef},function(t,i,r,u){return n.children(t,h.concat(i),r,u,o)})},i.prototype.componentDidMount=function(){es(this.elRef.current,this.props.seg)},i.prototype.componentDidUpdate=function(n){var t=this.props.seg;t!==n.seg&&es(this.elRef.current,t)},i}(o);se=function(n){function r(){return n!==null&&n.apply(this,arguments)||this}return u(r,n),r.prototype.render=function(){var u=this,n=u.props,f=u.context,r=n.seg,e=f.options.eventTimeFormat||n.defaultTimeFormat,o=wi(r,e,f,n.defaultDisplayEventTime,n.defaultDisplayEventEnd);return t(tr,{seg:r,timeText:o,disableDragging:n.disableDragging,disableResizing:n.disableResizing,defaultContent:n.defaultContent||dft,isDragging:n.isDragging,isResizing:n.isResizing,isDateSelecting:n.isDateSelecting,isSelected:n.isSelected,isPast:n.isPast,isFuture:n.isFuture,isToday:n.isToday},function(u,f,e,o,s){return t("a",i({className:n.extraClassNames.c
56oncat(f).join(" "),style:{borderColor:s.borderColor,backgroundColor:s.backgroundColor},ref:u},gft(r)),t("div",{className:"fc-event-main",ref:e,style:{color:s.textColor}},o),s.isStartResizable&&t("div",{className:"fc-event-resizer fc-event-resizer-start"}),s.isEndResizable&&t("div",{className:"fc-event-resizer fc-event-resizer-end"}))})},r}(o);var he=function(n){return t(at.Consumer,null,function(i){var r=i.options,u={isAxis:n.isAxis,date:i.dateEnv.toDate(n.date),view:i.viewApi};return t(k,{hookProps:u,classNames:r.nowIndicatorClassNames,content:r.nowIndicatorContent,didMount:r.nowIndicatorDidMount,willUnmount:r.nowIndicatorWillUnmount},n.children)})},net=c({day:"numeric"}),ce=function(n){function i(){return n!==null&&n.apply(this,arguments)||this}return u(i,n),i.prototype.render=function(){var r=this,n=r.props,i=r.context,u=i.options,f=ib({date:n.date,dateProfile:n.dateProfile,todayRange:n.todayRange,showDayNumber:n.showDayNumber,extraProps:n.extraHookProps,viewApi:i.viewApi,dateEnv:i.dateEnv});return t(fh,{hookProps:f,content:u.dayCellContent,defaultContent:n.defaultContent},n.children)},i}(o);hu=function(n){function i(){var t=n!==null&&n.apply(this,arguments)||this;return t.refineHookProps=yr(ib),t.normalizeClassNames=eh(),t}return u(i,n),i.prototype.render=function(){var f=this,n=f.props,r=f.context,u=r.options,i=this.refineHookProps({date:n.date,dateProfile:n.dateProfile,todayRange:n.todayRange,showDayNumber:n.showDayNumber,extraProps:n.extraHookProps,viewApi:r.viewApi,dateEnv:r.dateEnv}),e=ru(i,r.theme).concat(i.isDisabled?[]:this.normalizeClassNames(u.dayCellClassNames,i)),o=i.isDisabled?{}:{"data-date":vr(n.date)};return t(fu,{hookProps:i,didMount:u.dayCellDidMount,willUnmount:u.dayCellWillUnmount,elRef:n.elRef},function(t){return n.children(t,e,o,i.isDisabled)})},i}(o);le=function(n){return t(tr,{defaultContent:tet,seg:n.seg,timeText:"",disableDragging:!0,disableResizing:!0,isDragging:!1,isResizing:!1,isDateSelecting:!1,isSelected:!1,isPast:n.isPast,isFuture:n.isFuture,isToday:n.isToday},function(n,i,r,u,f){return t("div",{ref:n,className:["fc-bg-event"].concat(i).join(" "),style:{backgroundColor:f.backgroundColor}},u)})};ae=function(n){return t(at.Consumer,null,function(i){var f=i.dateEnv,r=i.options,u=n.date,e=r.weekNumberFormat||n.defaultFormat,o=f.computeWeekNumber(u),s=f.format(u,e),h={num:o,text:s,date:u};return t(k,{hookProps:h,classNames:r.weekNumberClassNames,content:r.weekNumberContent,defaultContent:iet,didMount:r.weekNumberDidMount,willUnmount:r.weekNumberWillUnmount},n.children)})};rb="5.5.0";ub=function(n){function r(r,u){u===void 0&&(u={});var f=n.call(this)||this;return f.isRendering=!1,f.isRendered=!1,f.currentClassNames=[],f.customContentRenderId=0,f.handleAction=function(n){switch(n.type){case"SET_EVENT_DRAG":case"SET_EVENT_RESIZE":f.renderRunner.tryDrain()}},f.handleData=function(n){f.currentData=n;f.renderRunner.request(n.calendarOptions.rerenderDelay)},f.handleRenderRequest=function(){if(f.isRendering){f.isRendered=!0;var n=f.currentData;rp(t(ah,{options:n.calendarOptions,theme:n.theme,emitter:n.emitter},function(r,u,e,o){return f.setClassNames(r),f.setHeight(u),t(gf.Provider,{value:f.customContentRenderId},t(sw,i({isHeightAuto:e,forPrint:o},n)))}),f.el)}else f.isRendered&&(f.isRendered=!1,up(f.el),f.setClassNames([]),f.setHeight(""));th()},f.el=r,f.renderRunner=new gi(f.handleRenderRequest),new ie({optionOverrides:u,calendarApi:f,onAction:f.handleAction,onData:f.handleData}),f}return u(r,n),Object.defineProperty(r.prototype,"view",{get:function(){return this.currentData.viewApi},enumerable:!1,configurable:!0}),r.prototype.render=function(){var n=this.isRendering;n?this.customContentRenderId+=1:this.isRendering=!0;this.renderRunner.request();n&&this.updateSize()},r.prototype.destroy=function(){this.isRendering&&(this.isRendering=!1,this.renderRunner.request())},r.prototype.updateSize=function(){n.prototype.updateSize.call(this);th()},r.prototype.batchRendering=function(n){this.renderRunner.pause("batchRendering");n();this.renderRunner.resume("batchRendering")},r.prototype.pauseRendering=function(){this.renderRunner.pause("pauseRendering")},r.prototype.resumeRendering=function(){this.renderRunner.resume("pauseRendering",!0)},r.prototype.resetOptions=function(n,t){this.currentDataManager.resetOptions(n,t)},r.prototype.setClassNames=function(n){var u,t,f,r,e,i;if(!ct(n,this.currentClassNames)){for(u=this.el.classList,t=0,f=this.currentClassNames;t<f.length;t++)i=f[t],u.remove(i);for(r=0,e=n;r<e.length;r++)i=e[r],u.add(i);this.currentClassNames=n}},r.prototype.setHeight=function(n){fo(this.el,"height",n)},r}(as);si.touchMouseIgnoreWait=500;var tc=0,ve=0,ic=!1,ye=function(){function n(n){var t=this;this.subjectEl=null;this.selector="";this.handleSelector="";this.shouldIgnoreMove=!1;this.shouldWatchScroll=!0;this.isDragging=!1;this.isTouchDragging=!1;this.wasTouchScroll=!1;this.handleMouseDown=function(n){if(!t.shouldIgnoreMouse()&&ret(n)&&t.tryStart(n)){var i=t.createEventFromMouse(n,!0);t.emitter.trigger("pointerdown",i);t.initScrollWatch(i);t.shouldIgnoreMove||document.addEventListener("mousemove",t.handleMouseMove);document.addEventListener("mouseup",t.handleMouseUp)}};this.handleMouseMove=function(n){var i=t.createEventFromMouse(n);t.recordCoords(i);t.emitter.trigger("pointermove",i)};this.handleMouseUp=function(n){document.removeEventListener("mousemove",t.handleMouseMove);document.removeEventListener("mouseup",t.handleMouseUp);t.emitter.trigger("pointerup",t.createEventFromMouse(n));t.cleanup()};this.handleTouchStart=function(n){var r,i;t.tryStart(n)&&(t.isTouchDragging=!0,r=t.createEventFromTouch(n,!0),t.emitter.trigger("pointerdown",r),t.initScrollWatch(r),i=n.target,t.shouldIgnoreMove||i.addEventListener("touchmove",t.handleTouchMove),i.addEventListener("touchend",t.handleTouchEnd),i.addEventListener("touchcancel",t.handleTouchEnd),window.addEventListener("scroll",t.handleTouchScroll,!0))};this.handleTouchMove=function(n){var i=t.createEventFromTouch(n);t.recordCoords(i);t.emitter.trigger("pointermove",i)};this.handleTouchEnd=function(n){if(t.isDragging){var i=n.target;i.removeEventListener("touchmove",t.handleTouchMove);i.removeEventListener("touchend",t.handleTouchEnd);i.removeEventListener("touchcancel",t.handleTouchEnd);window.removeEventListener("scroll",t.handleTouchScroll,!0);t.emitter.trigger("pointerup",t.createEventFromTouch(n));t.cleanup();t.isTouchDragging=!1;uet()}};this.handleTouchScroll=function(){t.wasTouchScroll=!0};this.handleScroll=function(n){if(!t.shouldIgnoreMove){var i=window.pageXOffset-t.prevScrollX+t.prevPageX,r=window.pageYOffset-t.prevScrollY+t.prevPageY;t.emitter.trigger("pointermove",{origEvent:n,isTouch:t.isTouchDragging,subjectEl:t.subjectEl,pageX:i,pageY:r,deltaX:i-t.origPageX,deltaY:r-t.origPageY})}};this.containerEl=n;this.emitter=new ki;n.addEventListener("mousedown",this.handleMouseDown);n.addEventListener("touchstart",this.handleTouchStart,{passive:!0});fet()}return n.prototype.destroy=function(){this.containerEl.removeEventListener("mousedown",this.handleMouseDown);this.containerEl.removeEventListener("touchstart",this.handleTouchStart,{passive:!0});eet()}
56,n.prototype.tryStart=function(n){var t=this.querySubjectEl(n),i=n.target;return t&&(!this.handleSelector||w(i,this.handleSelector))?(this.subjectEl=t,this.isDragging=!0,this.wasTouchScroll=!1,!0):!1},n.prototype.cleanup=function(){ic=!1;this.isDragging=!1;this.subjectEl=null;this.destroyScrollWatch()},n.prototype.querySubjectEl=function(n){return this.selector?w(n.target,this.selector):this.containerEl},n.prototype.shouldIgnoreMouse=function(){return tc||this.isTouchDragging},n.prototype.cancelTouchScroll=function(){this.isDragging&&(ic=!0)},n.prototype.initScrollWatch=function(n){this.shouldWatchScroll&&(this.recordCoords(n),window.addEventListener("scroll",this.handleScroll,!0))},n.prototype.recordCoords=function(n){this.shouldWatchScroll&&(this.prevPageX=n.pageX,this.prevPageY=n.pageY,this.prevScrollX=window.pageXOffset,this.prevScrollY=window.pageYOffset)},n.prototype.destroyScrollWatch=function(){this.shouldWatchScroll&&window.removeEventListener("scroll",this.handleScroll,!0)},n.prototype.createEventFromMouse=function(n,t){var i=0,r=0;return t?(this.origPageX=n.pageX,this.origPageY=n.pageY):(i=n.pageX-this.origPageX,r=n.pageY-this.origPageY),{origEvent:n,isTouch:!1,subjectEl:this.subjectEl,pageX:n.pageX,pageY:n.pageY,deltaX:i,deltaY:r}},n.prototype.createEventFromTouch=function(n,t){var u=n.touches,i,r,f=0,e=0;return u&&u.length?(i=u[0].pageX,r=u[0].pageY):(i=n.pageX,r=n.pageY),t?(this.origPageX=i,this.origPageY=r):(f=i-this.origPageX,e=r-this.origPageY),{origEvent:n,isTouch:!0,subjectEl:this.subjectEl,pageX:i,pageY:r,deltaX:f,deltaY:e}},n}();var oet=function(){function n(){this.isVisible=!1;this.sourceEl=null;this.mirrorEl=null;this.sourceElRect=null;this.parentNode=document.body;this.zIndex=9999;this.revertDuration=0}return n.prototype.start=function(n,t,i){this.sourceEl=n;this.sourceElRect=this.sourceEl.getBoundingClientRect();this.origScreenX=t-window.pageXOffset;this.origScreenY=i-window.pageYOffset;this.deltaX=0;this.deltaY=0;this.updateElPosition()},n.prototype.handleMove=function(n,t){this.deltaX=n-window.pageXOffset-this.origScreenX;this.deltaY=t-window.pageYOffset-this.origScreenY;this.updateElPosition()},n.prototype.setIsVisible=function(n){n?this.isVisible||(this.mirrorEl&&(this.mirrorEl.style.display=""),this.isVisible=n,this.updateElPosition()):this.isVisible&&(this.mirrorEl&&(this.mirrorEl.style.display="none"),this.isVisible=n)},n.prototype.stop=function(n,t){var r=this,i=function(){r.cleanup();t()};n&&this.mirrorEl&&this.isVisible&&this.revertDuration&&(this.deltaX||this.deltaY)?this.doRevertAnimation(i,this.revertDuration):setTimeout(i,0)},n.prototype.doRevertAnimation=function(n,t){var i=this.mirrorEl,r=this.sourceEl.getBoundingClientRect();i.style.transition="top "+t+"ms,left "+t+"ms";li(i,{left:r.left,top:r.top});yl(i,function(){i.style.transition="";n()})},n.prototype.cleanup=function(){this.mirrorEl&&(pu(this.mirrorEl),this.mirrorEl=null);this.sourceEl=null},n.prototype.updateElPosition=function(){this.sourceEl&&this.isVisible&&li(this.getMirrorEl(),{left:this.sourceElRect.left+this.deltaX,top:this.sourceElRect.top+this.deltaY})},n.prototype.getMirrorEl=function(){var t=this.sourceElRect,n=this.mirrorEl;return n||(n=this.mirrorEl=this.sourceEl.cloneNode(!0),n.classList.add("fc-unselectable"),n.classList.add("fc-event-dragging"),li(n,{position:"fixed",zIndex:this.zIndex,visibility:"",boxSizing:"border-box",width:t.right-t.left,height:t.bottom-t.top,right:"auto",bottom:"auto",margin:0}),this.parentNode.appendChild(n)),n},n}(),eb=function(n){function t(t,i){var r=n.call(this)||this;return r.handleScroll=function(){r.scrollTop=r.scrollController.getScrollTop();r.scrollLeft=r.scrollController.getScrollLeft();r.handleScrollChange()},r.scrollController=t,r.doesListening=i,r.scrollTop=r.origScrollTop=t.getScrollTop(),r.scrollLeft=r.origScrollLeft=t.getScrollLeft(),r.scrollWidth=t.getScrollWidth(),r.scrollHeight=t.getScrollHeight(),r.clientWidth=t.getClientWidth(),r.clientHeight=t.getClientHeight(),r.clientRect=r.computeClientRect(),r.doesListening&&r.getEventTarget().addEventListener("scroll",r.handleScroll),r}return u(t,n),t.prototype.destroy=function(){this.doesListening&&this.getEventTarget().removeEventListener("scroll",this.handleScroll)},t.prototype.getScrollTop=function(){return this.scrollTop},t.prototype.getScrollLeft=function(){return this.scrollLeft},t.prototype.setScrollTop=function(n){this.scrollController.setScrollTop(n);this.doesListening||(this.scrollTop=Math.max(Math.min(n,this.getMaxScrollTop()),0),this.handleScrollChange())},t.prototype.setScrollLeft=function(n){this.scrollController.setScrollLeft(n);this.doesListening||(this.scrollLeft=Math.max(Math.min(n,this.getMaxScrollLeft()),0),this.handleScrollChange())},t.prototype.getClientWidth=function(){return this.clientWidth},t.prototype.getClientHeight=function(){return this.clientHeight},t.prototype.getScrollWidth=function(){return this.scrollWidth},t.prototype.getScrollHeight=function(){return this.scrollHeight},t.prototype.handleScrollChange=function(){},t}(kf),ob=function(n){function t(t,i){return n.call(this,new tp(t),i)||this}return u(t,n),t.prototype.getEventTarget=function(){return this.scrollController.el},t.prototype.computeClientRect=function(){return dy(this.scrollController.el)},t}(eb),set=function(n){function t(t){return n.call(this,new ip,t)||this}return u(t,n),t.prototype.getEventTarget=function(){return window}
56,t.prototype.computeClientRect=function(){return{left:this.scrollLeft,right:this.scrollLeft+this.clientWidth,top:this.scrollTop,bottom:this.scrollTop+this.clientHeight}},t.prototype.handleScrollChange=function(){this.clientRect=this.computeClientRect()},t}(eb),sb=typeof performance=="function"?performance.now:Date.now,het=function(){function n(){var n=this;this.isEnabled=!0;this.scrollQuery=[window,".fc-scroller"];this.edgeThreshold=50;this.maxVelocity=300;this.pointerScreenX=null;this.pointerScreenY=null;this.isAnimating=!1;this.scrollCaches=null;this.everMovedUp=!1;this.everMovedDown=!1;this.everMovedLeft=!1;this.everMovedRight=!1;this.animate=function(){var t,i;n.isAnimating&&(t=n.computeBestEdge(n.pointerScreenX+window.pageXOffset,n.pointerScreenY+window.pageYOffset),t?(i=sb(),n.handleSide(t,(i-n.msSinceRequest)/1e3),n.requestAnimation(i)):n.isAnimating=!1)}}return n.prototype.start=function(n,t){this.isEnabled&&(this.scrollCaches=this.buildCaches(),this.pointerScreenX=null,this.pointerScreenY=null,this.everMovedUp=!1,this.everMovedDown=!1,this.everMovedLeft=!1,this.everMovedRight=!1,this.handleMove(n,t))},n.prototype.handleMove=function(n,t){if(this.isEnabled){var i=n-window.pageXOffset,r=t-window.pageYOffset,u=this.pointerScreenY===null?0:r-this.pointerScreenY,f=this.pointerScreenX===null?0:i-this.pointerScreenX;u<0?this.everMovedUp=!0:u>0&&(this.everMovedDown=!0);f<0?this.everMovedLeft=!0:f>0&&(this.everMovedRight=!0);this.pointerScreenX=i;this.pointerScreenY=r;this.isAnimating||(this.isAnimating=!0,this.requestAnimation(sb()))}},n.prototype.stop=function(){var n,t,i;if(this.isEnabled){for(this.isAnimating=!1,n=0,t=this.scrollCaches;n<t.length;n++)i=t[n],i.destroy();this.scrollCaches=null}},n.prototype.requestAnimation=function(n){this.msSinceRequest=n;requestAnimationFrame(this.animate)},n.prototype.handleSide=function(n,t){var i=n.scrollCache,u=this.edgeThreshold,f=u-n.distance,e=f*f/(u*u)*this.maxVelocity*t,r=1;switch(n.name){case"left":r=-1;case"right":i.setScrollLeft(i.getScrollLeft()+e*r);break;case"top":r=-1;case"bottom":i.setScrollTop(i.getScrollTop()+e*r)}},n.prototype.computeBestEdge=function(n,t){for(var u=this.edgeThreshold,i=null,c=0,l=this.scrollCaches;c<l.length;c++){var r=l[c],f=r.clientRect,e=n-f.left,o=f.right-n,s=t-f.top,h=f.bottom-t;e>=0&&o>=0&&s>=0&&h>=0&&(s<=u&&this.everMovedUp&&r.canScrollUp()&&(!i||i.distance>s)&&(i={scrollCache:r,name:"top",distance:s}),h<=u&&this.everMovedDown&&r.canScrollDown()&&(!i||i.distance>h)&&(i={scrollCache:r,name:"bottom",distance:h}),e<=u&&this.everMovedLeft&&r.canScrollLeft()&&(!i||i.distance>e)&&(i={scrollCache:r,name:"left",distance:e}),o<=u&&this.everMovedRight&&r.canScrollRight()&&(!i||i.distance>o)&&(i={scrollCache:r,name:"right",distance:o}))}return i},n.prototype.buildCaches=function(){return this.queryScrollEls().map(function(n){return n===window?new set(!1):new ob(n,!1)})},n.prototype.queryScrollEls=function(){for(var t,n=[],i=0,r=this.scrollQuery;i<r.length;i++)t=r[i],typeof t=="object"?n.push(t):n.push.apply(n,Array.prototype.slice.call(document.querySelectorAll(t)));return n},n}(),hi=function(n){function t(t,i){var r=n.call(this,t)||this,u;r.delay=null;r.minDistance=0;r.touchScrollAllowed=!0;r.mirrorNeedsRevert=!1;r.isInteracting=!1;r.isDragging=!1;r.isDelayEnded=!1;r.isDistanceSurpassed=!1;r.delayTimeoutId=null;r.onPointerDown=function(n){r.isDragging||(r.isInteracting=!0,r.isDelayEnded=!1,r.isDistanceSurpassed=!1,pl(document.body),bl(document.body),n.isTouch||n.origEvent.preventDefault(),r.emitter.trigger("pointerdown",n),r.isInteracting&&!r.pointer.shouldIgnoreMove&&(r.mirror.setIsVisible(!1),r.mirror.start(n.subjectEl,n.pageX,n.pageY),r.startDelay(n),r.minDistance||r.handleDistanceSurpassed(n)))};r.onPointerMove=function(n){if(r.isInteracting){if(r.emitter.trigger("pointermove",n),!r.isDistanceSurpassed){var t=r.minDistance,i=void 0,u=n.deltaX,f=n.deltaY;i=u*u+f*f;i>=t*t&&r.handleDistanceSurpassed(n)}r.isDragging&&(n.origEvent.type!=="scroll"&&(r.mirror.handleMove(n.pageX,n.pageY),r.autoScroller.handleMove(n.pageX,n.pageY)),r.emitter.trigger("dragmove",n))}};r.onPointerUp=function(n){r.isInteracting&&(r.isInteracting=!1,wl(document.body),kl(document.body),r.emitter.trigger("pointerup",n),r.isDragging&&(r.autoScroller.stop(),r.tryStopDrag(n)),r.delayTimeoutId&&(clearTimeout(r.delayTimeoutId),r.delayTimeoutId=null))};u=r.pointer=new ye(t);u.emitter.on("pointerdown",r.onPointerDown);u.emitter.on("pointermove",r.onPointerMove);u.emitter.on("pointerup",r.onPointerUp);return i&&(u.selector=i),r.mirror=new oet,r.autoScroller=new het,r}return u(t,n),t.prototype.destroy=function(){this.pointer.destroy();this.onPointerUp({})},t.prototype.startDelay=function(n){var t=this;typeof this.delay=="number"?this.delayTimeoutId=setTimeout(function(){t.delayTimeoutId=null;t.handleDelayEnd(n)},this.delay):this.handleDelayEnd(n)},t.prototype.handleDelayEnd=function(n){this.isDelayEnded=!0;this.tryStartDrag(n)},t.prototype.handleDistanceSurpassed=function(n){this.isDistanceSurpassed=!0;this.tryStartDrag(n)},t.prototype.tryStartDrag=function(n){this.isDelayEnded&&this.isDistanceSurpassed&&(!this.pointer.wasTouchScroll||this.touchScrollAllowed)&&(this.isDragging=!0,this.mirrorNeedsRevert=!1,this.autoScroller.start(n.pageX,n.pageY),this.emitter.trigger("dragstart",n),this.touchScrollAllowed===!1&&this.pointer.cancelTouchScroll())},t.prototype.tryStopDrag=function(n){this.mirror.stop(this.mirrorNeedsRevert,this.stopDrag.bind(this,n))},t.prototype.stopDrag=function(n){this.isDragging=!1;this.emitter.trigger("dragend",n)},t.prototype.setIgnoreMove=function(n){this.pointer.shouldIgnoreMove=n},t.prototype.setMirrorIsVisible=function(n){this.mirror.setIsVisible(n)},t.prototype.setMirrorNeedsRevert=function(n){this.mirrorNeedsRevert=n},t.prototype.setAutoScrollEnabled=function(n){this.autoScroller.isEnabled=n},t}(lh),cet=function(){function n(n){this.origRect=bf(n);this.scrollCaches=gy(n).map(function(n){return new ob(n,!0)})}return n.prototype.destroy=function(){for(var i,n=0,t=this.scrollCaches;n<t.length;n++)i=t[n],i.destroy()},n.prototype.computeLeft=function(){for(var t,i=this.origRect.left,n=0,r=this.scrollCaches;n<r.length;n++)t=r[n],i+=t.origScrollLeft-t.getScrollLeft();return i},n.prototype.computeTop=function(){for(var t,i=this.origRect.top,n=0,r=this.scrollCaches;n<r.length;n++)t=r[n],i+=t.origScrollTop-t.getScrollTop();return i},n.prototype.isWithinClipping=function(n,t){for(var r,f={left:n,top:t},i=0,u=this.scrollCaches;i<u.length;i++)if(r=u[i],!aet(r.getEventTarget())&&!cy(f,r.clientRect))return!1;return!0},n}();ir=function(){function n(n,t){var i=this;this.useSubjectCenter=!1;this.requireInitial=!0;this.initialHit=null;this.movingHit=null;this.finalHit=null;this.handlePointerDown=function(n){var t=i.dragging;i.initialHit=null;i.movingHit=null;i.finalHit=null;i.prepareHits();i.processFirstCoord(n);i.initialHit||!i.requireInitial?(t.setIgnoreMove(!1),i.emitter.trigger("pointerdown",n)):t.setIgnoreMove(!0)};this.handleDragStart=function(n){i.emitter.trigger("dragstart",n);i.handleMove(n,!0)};this.handleDragMove=function(n){i.emitter.trigger("dragmove",n);i.handleMove(n)};this.handlePointerUp=function(n){i.releaseHits();i.emitter.trigger("pointerup",n)};this.handleDragEnd=function(n){i.movingHit&&i.emitter.trigger("hitupdate",null,!0,n);
56i.finalHit=i.movingHit;i.movingHit=null;i.emitter.trigger("dragend",n)};this.droppableStore=t;n.emitter.on("pointerdown",this.handlePointerDown);n.emitter.on("dragstart",this.handleDragStart);n.emitter.on("dragmove",this.handleDragMove);n.emitter.on("pointerup",this.handlePointerUp);n.emitter.on("dragend",this.handleDragEnd);this.dragging=n;this.emitter=new ki}return n.prototype.processFirstCoord=function(n){var f={left:n.pageX,top:n.pageY},t=f,e=n.subjectEl,i,r,u;e!==document&&(i=bf(e),t=ay(t,i));r=this.initialHit=this.queryHitForOffset(t.left,t.top);r?(this.useSubjectCenter&&i&&(u=ly(i,r.rect),u&&(t=vy(u))),this.coordAdjust=yy(t,f)):this.coordAdjust={left:0,top:0}},n.prototype.handleMove=function(n,t){var i=this.queryHitForOffset(n.pageX+this.coordAdjust.left,n.pageY+this.coordAdjust.top);(t||!pe(this.movingHit,i))&&(this.movingHit=i,this.emitter.trigger("hitupdate",i,!1,n))},n.prototype.prepareHits=function(){this.offsetTrackers=tt(this.droppableStore,function(n){return n.component.prepareHits(),new cet(n.el)})},n.prototype.releaseHits=function(){var n=this.offsetTrackers;for(var t in n)n[t].destroy();this.offsetTrackers={}},n.prototype.queryHitForOffset=function(n,t){var a=this,v=a.droppableStore,b=a.offsetTrackers,u=null,e,o,r,i,w;for(e in v)if(o=v[e].component,r=b[e],r&&r.isWithinClipping(n,t)){var s=r.computeLeft(),h=r.computeTop(),c=n-s,l=t-h,f=r.origRect,y=f.right-f.left,p=f.bottom-f.top;c>=0&&c<y&&l>=0&&l<p&&(i=o.queryHit(c,l,y,p),w=o.context.getCurrentData().dateProfile,i&&gr(w.activeRange,i.dateSpan.range)&&(!u||i.layer>u.layer)&&(i.rect.left+=s,i.rect.right+=s,i.rect.top+=h,i.rect.bottom+=h,u=i))}return u},n}();hb=function(n){function t(t){var r=n.call(this,t)||this,u;r.handlePointerDown=function(n){var t=r.dragging,i=n.origEvent.target;t.setIgnoreMove(!r.component.isValidDateDownEl(i))};r.handleDragEnd=function(n){var s=r.component,h=r.dragging.pointer,t,o;if(!h.wasTouchScroll){var f=r.hitDragging,u=f.initialHit,e=f.finalHit;u&&e&&pe(u,e)&&(t=s.context,o=i(i({},rc(u.dateSpan,t)),{dayEl:u.dayEl,jsEvent:n.origEvent,view:t.viewApi||t.calendarApi.view}),t.emitter.trigger("dateClick",o))}};r.dragging=new hi(t.el);r.dragging.autoScroller.isEnabled=!1;u=r.hitDragging=new ir(r.dragging,re(t));u.emitter.on("pointerdown",r.handlePointerDown);u.emitter.on("dragend",r.handleDragEnd);return r}return u(t,n),t.prototype.destroy=function(){this.dragging.destroy()},t}(ii);cb=function(n){function t(t){var i=n.call(this,t)||this,r;i.dragSelection=null;i.handlePointerDown=function(n){var r=i,t=r.component,u=r.dragging,f=t.context.options,e=f.selectable&&t.isValidDateDownEl(n.origEvent.target);u.setIgnoreMove(!e);u.delay=n.isTouch?yet(t):null};i.handleDragStart=function(n){i.component.context.calendarApi.unselect(n)};i.handleHitUpdate=function(n,t){var u=i.component.context,r=null,f=!1;n&&(r=pet(i.hitDragging.initialHit,n,u.pluginHooks.dateSelectionTransformers),r&&i.component.isDateSelectionValid(r)||(f=!0,r=null));r?u.dispatch({type:"SELECT_DATES",selection:r}):t||u.dispatch({type:"UNSELECT_DATES"});f?or():sr();t||(i.dragSelection=r)};i.handlePointerUp=function(n){i.dragSelection&&(hs(i.dragSelection,n,i.component.context),i.dragSelection=null)};var e=t.component,f=e.context.options,u=i.dragging=new hi(t.el);u.touchScrollAllowed=!1;u.minDistance=f.selectMinDistance||0;u.autoScroller.isEnabled=f.dragScroll;r=i.hitDragging=new ir(i.dragging,re(t));r.emitter.on("pointerdown",i.handlePointerDown);r.emitter.on("dragstart",i.handleDragStart);r.emitter.on("hitupdate",i.handleHitUpdate);r.emitter.on("pointerup",i.handlePointerUp);return i}return u(t,n),t.prototype.destroy=function(){this.dragging.destroy()},t}(ii);uc=function(n){function t(r){var u=n.call(this,r)||this,f;u.subjectEl=null;u.subjectSeg=null;u.isDragging=!1;u.eventRange=null;u.relevantEvents=null;u.receivingContext=null;u.validMutation=null;u.mutatedRelevantEvents=null;u.handlePointerDown=function(n){var f=n.origEvent.target,o=u,t=o.component,i=o.dragging,s=i.mirror,r=t.context.options,c=t.context,e;u.subjectEl=n.subjectEl;var l=u.subjectSeg=ei(n.subjectEl),a=u.eventRange=l.eventRange,h=a.instance.instanceId;u.relevantEvents=ff(c.getCurrentData().eventStore,h);i.minDistance=n.isTouch?0:r.eventDragMinDistance;i.delay=n.isTouch&&h!==t.props.eventSelection?bet(t):null;s.parentNode=r.fixedMirrorParent?r.fixedMirrorParent:w(f,".fc");s.revertDuration=r.dragRevertDuration;e=t.isValidSegDownEl(f)&&!w(f,".fc-event-resizer");i.setIgnoreMove(!e);u.isDragging=e&&n.subjectEl.classList.contains("fc-event-draggable")};u.handleDragStart=function(n){var t=u.component.context,i=u.eventRange,r=i.instance.instanceId;n.isTouch?r!==u.component.props.eventSelection&&t.dispatch({type:"SELECT_EVENT",eventInstanceId:r}):t.dispatch({type:"UNSELECT_EVENT"});u.isDragging&&(t.calendarApi.unselect(n),t.emitter.trigger("eventDragStart",{el:u.subjectEl,event:new l(t,i.def,i.instance),jsEvent:n.origEvent,view:t.viewApi}))};u.handleHitUpdate=function(n,t){var o,s;if(u.isDragging){var h=u.relevantEvents,c=u.hitDragging.initialHit,l=u.component.context,i=null,r=null,f=null,a=!1,e={affectedEvents:h,mutatedEvents:p(),isEvent:!0};n&&(o=n.component,i=o.context,s=i.options,l===i||s.editable&&s.droppable?(r=wet(c,n,i.getCurrentData().pluginHooks.eventDragMutationMassagers),r&&(f=vf(h,i.getCurrentData().eventUiBases,r,i),e.mutatedEvents=f,o.isInteractionValid(e)||(a=!0,r=null,f=null,e.mutatedEvents=p()))):i=null);u.displayDrag(i,e);a?or():sr();t||(l===i&&pe(c,n)&&(r=null),u.dragging.setMirrorNeedsRevert(!r),u.dragging.setMirrorIsVisible(!n||!document.querySelector(".fc-event-mirror")),u.receivingContext=i,u.validMutation=r,u.mutatedRelevantEvents=f)}};u.handlePointerUp=function(){u.isDragging||u.cleanup()};u.handleDragEnd=function(n){var nt,p,w,s,b,tt,k,d;if(u.isDragging){var t=u.component.context,h=t.viewApi,g=u,r=g.receivingContext,c=g.validMutation,a=u.eventRange.def,e=u.eventRange.instance,v=new l(t,a,e),o=u.relevantEvents,f=u.mutatedRelevantEvents,y=u.hitDragging.finalHit;if(u.clearDrag(),t.emitter.trigger("eventDragStop",{el:u.subjectEl,event:v,jsEvent:n.origEvent,view:h}),c){if(r===t){for(nt=new l(t,f.defs[a.defId],e?f.instances[e.instanceId]:null),t.dispatch({type:"MERGE_EVENTS",eventStore:f}),p={oldEvent:v,event:nt,relatedEvents:ni(f,t,e),revert:function(){t.dispatch({type:"MERGE_EVENTS",eventStore:o})}},w={},s=0,b=t.getCurrentData().pluginHooks.eventDropTransformers;s<b.length;s++)tt=b[s],i(w,tt(c,t));t.emitter.trigger("eventDrop",i(i(i({},p),w),{el:n.subjectEl,delta:c.datesDelta,jsEvent:n.origEvent,view:h}));t.emitter.trigger("eventChange",p)}else if(r){k={event:v,relatedEvents:ni(o,t,e),revert:function(){t.dispatch({type:"MERGE_EVENTS",eventStore:o})}};t.emitter.trigger("eventLeave",i(i({},k),{draggedEl:n.subjectEl,view:h}));t.dispatch({type:"REMOVE_EVENTS",eventStore:o});t.emitter.trigger("eventRemove",k);var rt=f.defs[a.defId],it=f.instances[e.instanceId],ut=new l(r,rt,it);r.dispatch({type:"MERGE_EVENTS",eventStore:f});d={event:ut,relatedEvents:ni(f,r,it),revert:function(){r.dispatch({type:"REMOVE_EVENTS",eventStore:f})}};r.emitter.trigger("eventAdd",d);n.isTouch&&r.dispatch({type:"SELECT_EVENT",eventInstanceId:e.instanceId});r.emitter.trigger("drop",i(i({},rc(y.dateSpan,r)),{draggedEl:n.subjectEl,jsEvent:n.origEvent,view:y.component.context.viewApi}));r.emitter.trigger("eventReceive",i(i({},d),{draggedEl:n.subjectEl,view:y.component.context.viewApi}))}}else t.emitter.trigger("_noEventDrop")}u.cleanup()};
56var o=u.component,s=o.context.options,e=u.dragging=new hi(r.el);e.pointer.selector=t.SELECTOR;e.touchScrollAllowed=!1;e.autoScroller.isEnabled=s.dragScroll;f=u.hitDragging=new ir(u.dragging,eu);f.useSubjectCenter=r.useEventCenter;f.emitter.on("pointerdown",u.handlePointerDown);f.emitter.on("dragstart",u.handleDragStart);f.emitter.on("hitupdate",u.handleHitUpdate);f.emitter.on("pointerup",u.handlePointerUp);f.emitter.on("dragend",u.handleDragEnd);return u}return u(t,n),t.prototype.destroy=function(){this.dragging.destroy()},t.prototype.displayDrag=function(n,t){var r=this.component.context,i=this.receivingContext;i&&i!==n&&(i===r?i.dispatch({type:"SET_EVENT_DRAG",state:{affectedEvents:t.affectedEvents,mutatedEvents:p(),isEvent:!0}}):i.dispatch({type:"UNSET_EVENT_DRAG"}));n&&n.dispatch({type:"SET_EVENT_DRAG",state:t})},t.prototype.clearDrag=function(){var t=this.component.context,n=this.receivingContext;n&&n.dispatch({type:"UNSET_EVENT_DRAG"});t!==n&&t.dispatch({type:"UNSET_EVENT_DRAG"})},t.prototype.cleanup=function(){this.subjectSeg=null;this.isDragging=!1;this.eventRange=null;this.relevantEvents=null;this.receivingContext=null;this.validMutation=null;this.mutatedRelevantEvents=null},t.SELECTOR=".fc-event-draggable, .fc-event-resizable",t}(ii);lb=function(n){function t(t){var r=n.call(this,t)||this,o,f,u;r.draggingSegEl=null;r.draggingSeg=null;r.eventRange=null;r.relevantEvents=null;r.validMutation=null;r.mutatedRelevantEvents=null;r.handlePointerDown=function(n){var t=r.component,i=r.querySegEl(n),u=ei(i),f=r.eventRange=u.eventRange;r.dragging.minDistance=t.context.options.eventDragMinDistance;r.dragging.setIgnoreMove(!r.component.isValidSegDownEl(n.origEvent.target)||n.isTouch&&r.component.props.eventSelection!==f.instance.instanceId)};r.handleDragStart=function(n){var t=r.component.context,u=r.eventRange,i;r.relevantEvents=ff(t.getCurrentData().eventStore,r.eventRange.instance.instanceId);i=r.querySegEl(n);r.draggingSegEl=i;r.draggingSeg=ei(i);t.calendarApi.unselect();t.emitter.trigger("eventResizeStart",{el:i,event:new l(t,u.def,u.instance),jsEvent:n.origEvent,view:t.viewApi})};r.handleHitUpdate=function(n,t,i){var f=r.component.context,s=r.relevantEvents,h=r.hitDragging.initialHit,l=r.eventRange.instance,u=null,e=null,c=!1,o={affectedEvents:s,mutatedEvents:p(),isEvent:!0};n&&(u=ket(h,n,i.subjectEl.classList.contains("fc-event-resizer-start"),l.range,f.pluginHooks.eventResizeJoinTransforms));u&&(e=vf(s,f.getCurrentData().eventUiBases,u,f),o.mutatedEvents=e,r.component.isInteractionValid(o)||(c=!0,u=null,e=null,o.mutatedEvents=null));e?f.dispatch({type:"SET_EVENT_RESIZE",state:o}):f.dispatch({type:"UNSET_EVENT_RESIZE"});c?or():sr();t||(u&&pe(h,n)&&(u=null),r.validMutation=u,r.mutatedRelevantEvents=e)};r.handleDragEnd=function(n){var t=r.component.context,s=r.eventRange.def,u=r.eventRange.instance,h=new l(t,s,u),a=r.relevantEvents,f=r.mutatedRelevantEvents,c,o;t.emitter.trigger("eventResizeStop",{el:r.draggingSegEl,event:h,jsEvent:n.origEvent,view:t.viewApi});r.validMutation?(c=new l(t,f.defs[s.defId],u?f.instances[u.instanceId]:null),t.dispatch({type:"MERGE_EVENTS",eventStore:f}),o={oldEvent:h,event:c,relatedEvents:ni(f,t,u),revert:function(){t.dispatch({type:"MERGE_EVENTS",eventStore:a})}},t.emitter.trigger("eventResize",i(i({},o),{el:r.draggingSegEl,startDelta:r.validMutation.startDelta||e(0),endDelta:r.validMutation.endDelta||e(0),jsEvent:n.origEvent,view:t.viewApi})),t.emitter.trigger("eventChange",o)):t.emitter.trigger("_noEventResize");r.draggingSeg=null;r.relevantEvents=null;r.validMutation=null};o=t.component;f=r.dragging=new hi(t.el);f.pointer.selector=".fc-event-resizer";f.touchScrollAllowed=!1;f.autoScroller.isEnabled=o.context.options.dragScroll;u=r.hitDragging=new ir(r.dragging,re(t));u.emitter.on("pointerdown",r.handlePointerDown);u.emitter.on("dragstart",r.handleDragStart);u.emitter.on("hitupdate",r.handleHitUpdate);u.emitter.on("dragend",r.handleDragEnd);return r}return u(t,n),t.prototype.destroy=function(){this.dragging.destroy()},t.prototype.querySegEl=function(n){return w(n.subjectEl,".fc-event")},t}(ii);var det=function(){function n(n){var t=this,i;this.context=n;this.isRecentPointerDateSelect=!1;this.matchesCancel=!1;this.matchesEvent=!1;this.onSelect=function(n){n.jsEvent&&(t.isRecentPointerDateSelect=!0)};this.onDocumentPointerDown=function(n){var r=t.context.options.unselectCancel,i=n.origEvent.target;t.matchesCancel=!!w(i,r);t.matchesEvent=!!w(i,uc.SELECTOR)};
56this.onDocumentPointerUp=function(n){var i=t.context,f=t.documentPointer,u=i.getCurrentData(),r;f.wasTouchScroll||(u.dateSelection&&!t.isRecentPointerDateSelect&&(r=i.options.unselectAuto,!r||r&&t.matchesCancel||i.calendarApi.unselect(n)),u.eventSelection&&!t.matchesEvent&&i.dispatch({type:"UNSELECT_EVENT"}));t.isRecentPointerDateSelect=!1};i=this.documentPointer=new ye(document);i.shouldIgnoreMove=!0;i.shouldWatchScroll=!1;i.emitter.on("pointerdown",this.onDocumentPointerDown);i.emitter.on("pointerup",this.onDocumentPointerUp);n.emitter.on("select",this.onSelect)}return n.prototype.destroy=function(){this.context.emitter.off("select",this.onSelect);this.documentPointer.destroy()},n}(),get={fixedMirrorParent:r},not={dateClick:r,eventDragStart:r,eventDragStop:r,eventDrop:r,eventResizeStart:r,eventResizeStop:r,eventResize:r,drop:r,eventReceive:r,eventLeave:r},ab=function(){function n(n,t){var r=this,u;this.receivingContext=null;this.droppableEvent=null;this.suppliedDragMeta=null;this.dragMeta=null;this.handleDragStart=function(n){r.dragMeta=r.buildDragMeta(n.subjectEl)};this.handleHitUpdate=function(n,t,i){var s=r.hitDragging.dragging,u=null,f=null,o=!1,e={affectedEvents:p(),mutatedEvents:p(),isEvent:r.dragMeta.create};n&&(u=n.component.context,r.canDropElOnCalendar(i.subjectEl,u)&&(f=tot(n.dateSpan,r.dragMeta,u),e.mutatedEvents=pi(f),o=!ih(e,u),o&&(e.mutatedEvents=p(),f=null)));r.displayDrag(u,e);s.setMirrorIsVisible(t||!f||!document.querySelector(".fc-event-mirror"));o?or():sr();t||(s.setMirrorNeedsRevert(!f),r.receivingContext=u,r.droppableEvent=f)};this.handleDragEnd=function(n){var e=r,t=e.receivingContext,u=e.droppableEvent,f;if(r.clearDrag(),t&&u){var o=r.hitDragging.finalHit,s=o.component.context.viewApi,h=r.dragMeta;t.emitter.trigger("drop",i(i({},rc(o.dateSpan,t)),{draggedEl:n.subjectEl,jsEvent:n.origEvent,view:s}));h.create&&(f=pi(u),t.dispatch({type:"MERGE_EVENTS",eventStore:f}),n.isTouch&&t.dispatch({type:"SELECT_EVENT",eventInstanceId:u.instance.instanceId}),t.emitter.trigger("eventReceive",{event:new l(t,u.def,u.instance),relatedEvents:[],revert:function(){t.dispatch({type:"REMOVE_EVENTS",eventStore:f})},draggedEl:n.subjectEl,view:s}))}r.receivingContext=null;r.droppableEvent=null};u=this.hitDragging=new ir(n,eu);u.requireInitial=!1;u.emitter.on("dragstart",this.handleDragStart);u.emitter.on("hitupdate",this.handleHitUpdate);u.emitter.on("dragend",this.handleDragEnd);this.suppliedDragMeta=t}return n.prototype.buildDragMeta=function(n){return typeof this.suppliedDragMeta=="object"?ue(this.suppliedDragMeta):typeof this.suppliedDragMeta=="function"?ue(this.suppliedDragMeta(n)):iot(n)},n.prototype.displayDrag=function(n,t){var i=this.receivingContext;i&&i!==n&&i.dispatch({type:"UNSET_EVENT_DRAG"});n&&n.dispatch({type:"SET_EVENT_DRAG",state:t})},n.prototype.clearDrag=function(){this.receivingContext&&this.receivingContext.dispatch({type:"UNSET_EVENT_DRAG"})},n.prototype.canDropElOnCalendar=function(n,t){var i=t.options.dropAccept;return typeof i=="function"?i.call(t.calendarApi,n):typeof i=="string"&&i?Boolean(wu(n,i)):!0},n}();si.dataAttrPrefix="";var uot=function(){function n(n,t){var r=this,i;t===void 0&&(t={});this.handlePointerDown=function(n){var t=r.dragging,i=r.settings,u=i.minDistance,f=i.longPressDelay;t.minDistance=u!=null?u:n.isTouch?0:lt.eventDragMinDistance;t.delay=n.isTouch?f!=null?f:lt.longPressDelay:0};this.handleDragStart=function(n){n.isTouch&&r.dragging.delay&&n.subjectEl.classList.contains("fc-event")&&r.dragging.mirror.getMirrorEl().classList.add("fc-event-selected")};this.settings=t;i=this.dragging=new hi(n);i.touchScrollAllowed=!1;t.itemSelector!=null&&(i.pointer.selector=t.itemSelector);t.appendTo!=null&&(i.mirror.parentNode=t.appendTo);i.emitter.on("pointerdown",this.handlePointerDown);i.emitter.on("dragstart",this.handleDragStart);new ab(i,t.eventData)}return n.prototype.destroy=function(){this.dragging.destroy()},n}(),fot=function(n){function t(t){var i=n.call(this,t)||this,r;i.shouldIgnoreMove=!1;i.mirrorSelector="";i.currentMirrorEl=null;i.handlePointerDown=function(n){i.emitter.trigger("pointerdown",n);i.shouldIgnoreMove||i.emitter.trigger("dragstart",n)};i.handlePointerMove=function(n){i.shouldIgnoreMove||i.emitter.trigger("dragmove",n)};i.handlePointerUp=function(n){i.emitter.trigger("pointerup",n);i.shouldIgnoreMove||i.emitter.trigger("dragend",n)};r=i.pointer=new ye(t);r.emitter.on("pointerdown",i.handlePointerDown);r.emitter.on("pointermove",i.handlePointerMove);r.emitter.on("pointerup",i.handlePointerUp);return i}return u(t,n),t.prototype.destroy=function(){this.pointer.destroy()},t.prototype.setIgnoreMove=function(n){this.shouldIgnoreMove=n},t.prototype.setMirrorIsVisible=function(n){if(n)this.currentMirrorEl&&(this.currentMirrorEl.style.visibility="",this.currentMirrorEl=null);else{var t=this.mirrorSelector?document.querySelector(this.mirrorSelector):null;t&&(this.currentMirrorEl=t,t.style.visibility="hidden")}},t}(lh),eot=function(){function n(n,t){var r=document,i;n===document||n instanceof Element?(r=n,t=t||{}):t=n||{};i=this.dragging=new fot(r);typeof t.itemSelector=="string"?i.pointer.selector=t.itemSelector:r===document&&(i.pointer.selector="[data-event]");typeof t.mirrorSelector=="string"&&(i.mirrorSelector=t.mirrorSelector);new ab(i,t.eventData)}return n.prototype.destroy=function(){this.dragging.destroy()},n}(),oot=nt({componentInteractions:[hb,cb,uc,lb],calendarInteractions:[det],elementDraggingImpl:hi,optionRefiners:get,listenerRefiners:not}),vb=function(n){function i(){var t=n!==null&&n.apply(this,arguments)||this;
56return t.headerElRef=y(),t}return u(i,n),i.prototype.renderSimpleLayout=function(n,i){var u=this,f=u.props,e=u.context,r=[],o=ou(e.options);return n&&r.push({type:"header",key:"header",isSticky:o,chunk:{elRef:this.headerElRef,tableClassName:"fc-col-header",rowContent:n}}),r.push({type:"body",key:"body",liquid:!0,chunk:{content:i}}),t(ti,{viewSpec:e.viewSpec},function(n,i){return t("div",{ref:n,className:["fc-daygrid"].concat(i).join(" ")},t(su,{liquid:!f.isHeightAuto&&!f.forPrint,cols:[],sections:r}))})},i.prototype.renderHScrollLayout=function(n,i,r,u){var s=this.context.pluginHooks.scrollGridImpl;if(!s)throw new Error("No ScrollGrid implementation");var h=this,f=h.props,o=h.context,c=!f.forPrint&&ou(o.options),l=!f.forPrint&&gh(o.options),e=[];return n&&e.push({type:"header",key:"header",isSticky:c,chunks:[{key:"main",elRef:this.headerElRef,tableClassName:"fc-col-header",rowContent:n}]}),e.push({type:"body",key:"body",liquid:!0,chunks:[{key:"main",content:i}]}),l&&e.push({type:"footer",key:"footer",isSticky:!0,chunks:[{key:"main",content:oe}]}),t(ti,{viewSpec:o.viewSpec},function(n,i){return t("div",{ref:n,className:["fc-daygrid"].concat(i).join(" ")},t(s,{liquid:!f.isHeightAuto&&!f.forPrint,colGroups:[{cols:[{span:r,minWidth:u}]}],sections:e}))})},i}(it);pb=function(n){function r(){return n!==null&&n.apply(this,arguments)||this}return u(r,n),r.prototype.render=function(){var n=this.props,r=this.context.options.navLinks?{"data-navlink":bi(n.date),tabIndex:0}:{};return t(ce,{date:n.date,dateProfile:n.dateProfile,todayRange:n.todayRange,showDayNumber:n.showDayNumber,extraHookProps:n.extraHookProps,defaultContent:sot},function(u,f){return(f||n.forceDayTop)&&t("div",{className:"fc-daygrid-day-top",ref:u},t("a",i({className:"fc-daygrid-day-number"},r),f||t(b,null," ")))})},r}(o);wb=c({week:"narrow"});fc=function(n){function r(){var t=n!==null&&n.apply(this,arguments)||this;return t.handleRootEl=function(n){t.rootEl=n;et(t.props.elRef,n)},t.handleMoreLinkClick=function(n){var i=t.props,r,u;if(i.onMoreClick){r=i.segsByEachCol;u=r.filter(function(n){return i.segIsHidden[n.eventRange.instance.instanceId]});i.onMoreClick({date:i.date,allSegs:r,hiddenSegs:u,moreCnt:i.moreCnt,dayEl:t.rootEl,ev:n})}},t}return u(r,n),r.prototype.render=function(){var o=this,f=this.context,r=f.options,s=f.viewApi,n=this.props,u=n.date,e=n.dateProfile,h={num:n.moreCnt,text:n.buildMoreLinkText(n.moreCnt),view:s},c=r.navLinks?{"data-navlink":bi(u,"week"),tabIndex:0}:{};return t(hu,{date:u,dateProfile:e,todayRange:n.todayRange,showDayNumber:n.showDayNumber,extraHookProps:n.extraHookProps,elRef:this.handleRootEl},function(f,s,l,a){return t("td",i({ref:f,className:["fc-daygrid-day"].concat(s,n.extraClassNames||[]).join(" ")},l,n.extraDataAttrs),t("div",{className:"fc-daygrid-day-frame fc-scrollgrid-sync-inner",ref:n.innerElRef},n.showWeekNumber&&t(ae,{date:u,defaultFormat:wb},function(n,r,u,f){return t("a",i({ref:n,className:["fc-daygrid-week-number"].concat(r).join(" ")},c),f)}),!a&&t(pb,{date:u,dateProfile:e,showDayNumber:n.showDayNumber,forceDayTop:n.forceDayTop,todayRange:n.todayRange,extraHookProps:n.extraHookProps}),t("div",{className:"fc-daygrid-day-events",ref:n.fgContentElRef,style:{paddingBottom:n.fgPaddingBottom}},n.fgContent,Boolean(n.moreCnt)&&t("div",{className:"fc-daygrid-day-bottom",style:{marginTop:n.moreMarginTop}},t(k,{hookProps:h,classNames:r.moreLinkClassNames,content:r.moreLinkContent,defaultContent:hot,didMount:r.moreLinkDidMount,willUnmount:r.moreLinkWillUnmount},function(n,i,r,u){return t("a",{ref:n,className:["fc-daygrid-more-link"].concat(i).join(" "),onClick:o.handleMoreLinkClick},u)}))),t("div",{className:"fc-daygrid-day-bg"},n.bgContent)))})},r}(it);fc.addPropsEquality({onMoreClick:!0});ec=c({hour:"numeric",minute:"2-digit",omitZeroMinute:!0,meridiem:"narrow"});oc=function(n){function r(){return n!==null&&n.apply(this,arguments)||this}return u(r,n),r.prototype.render=function(){var r=this,n=r.props,u=r.context,f=u.options.eventTimeFormat||ec,e=wi(n.seg,f,u,!0,n.defaultDisplayEventEnd);return t(tr,{seg:n.seg,timeText:e,defaultContent:cot,isDragging:n.isDragging,isResizing:!1,isDateSelecting:!1,isSelected:n.isSelected,isPast:n.isPast,isFuture:n.isFuture,isToday:n.isToday}
56,function(r,u,f,e){return t("a",i({className:["fc-daygrid-event","fc-daygrid-dot-event"].concat(u).join(" "),ref:r},lot(n.seg)),e)})},r}(o);sc=function(n){function r(){return n!==null&&n.apply(this,arguments)||this}return u(r,n),r.prototype.render=function(){var n=this.props;return t(se,i({},n,{extraClassNames:["fc-daygrid-event","fc-daygrid-block-event","fc-h-event"],defaultTimeFormat:ec,defaultDisplayEventEnd:n.defaultDisplayEventEnd,disableResizing:!n.seg.eventRange.def.allDay}))},r}(o);ke=function(n){function r(){var t=n!==null&&n.apply(this,arguments)||this;return t.cellElRefs=new ot,t.frameElRefs=new ot,t.fgElRefs=new ot,t.segHarnessRefs=new ot,t.rootElRef=y(),t.state={framePositions:null,maxContentHeight:null,segHeights:{}},t}return u(r,n),r.prototype.render=function(){var r=this,e=this,n=e.props,o=e.state,c=e.context,f=n.cells.length,l=be(n.businessHourSegs,f),a=be(n.bgEventSegs,f),v=be(this.getHighlightSegs(),f),y=be(this.getMirrorSegs(),f),u=aot(n.cells,n.fgEventSegs,n.dayMaxEvents,n.dayMaxEventRows,o.segHeights,o.maxContentHeight,f,c.options.eventOrder),p=u.paddingBottoms,w=u.segsByFirstCol,k=u.segsByEachCol,s=u.segIsHidden,h=u.segTops,d=u.segMarginTops,g=u.moreCnts,nt=u.moreTops,tt=n.eventDrag&&n.eventDrag.affectedInstances||n.eventResize&&n.eventResize.affectedInstances||{};return t("tr",{ref:this.rootElRef},n.renderIntro&&n.renderIntro(),n.cells.map(function(u,f){var e=r.renderFgSegs(w[f],s,h,d,tt,n.todayRange),o=r.renderFgSegs(y[f],{},h,{},{},n.todayRange,Boolean(n.eventDrag),Boolean(n.eventResize),!1);return t(fc,{key:u.key,elRef:r.cellElRefs.createRef(u.key),innerElRef:r.frameElRefs.createRef(u.key),dateProfile:n.dateProfile,date:u.date,showDayNumber:n.showDayNumbers,showWeekNumber:n.showWeekNumbers&&f===0,forceDayTop:n.showWeekNumbers,todayRange:n.todayRange,extraHookProps:u.extraHookProps,extraDataAttrs:u.extraDataAttrs,extraClassNames:u.extraClassNames,moreCnt:g[f],buildMoreLinkText:n.buildMoreLinkText,onMoreClick:function(t){n.onMoreClick(i(i({},t),{fromCol:f}))},segIsHidden:s,moreMarginTop:nt[f],segsByEachCol:k[f],fgPaddingBottom:p[f],fgContentElRef:r.fgElRefs.createRef(u.key),fgContent:t(b,null,t(b,null,e),t(b,null,o)),bgContent:t(b,null,r.renderFillSegs(v[f],"highlight"),r.renderFillSegs(l[f],"non-business"),r.renderFillSegs(a[f],"bg-event"))})}))},r.prototype.componentDidMount=function(){this.updateSizing(!0)},r.prototype.componentDidUpdate=function(n){var t=this.props;this.updateSizing(!rt(n,t))},r.prototype.getHighlightSegs=function(){var n=this.props;return n.eventDrag&&n.eventDrag.segs.length?n.eventDrag.segs:n.eventResize&&n.eventResize.segs.length?n.eventResize.segs:n.dateSelectionSegs},r.prototype.getMirrorSegs=function(){var n=this.props;return n.eventResize&&n.eventResize.segs.length?n.eventResize.segs:[]},r.prototype.renderFgSegs=function(n,r,u,f,e,o,s,h,c){var ut=this.context,k=this.props.eventSelection,v=this.state.framePositions,d=this.props.cells.length===1,g=[],y,p;if(v)for(y=0,p=n;y<p.length;y++){var l=p[y],a=l.eventRange.instance.instanceId,nt=s||h||c,et=e[a],ot=r[a]||et,tt=r[a]||nt||l.firstCol!==l.lastCol||!l.isStart||!l.isEnd,it=void 0,rt=void 0,w=void 0,b=void 0;tt?(rt=u[a],ut.isRtl?(b=0,w=v.lefts[l.lastCol]-v.lefts[l.firstCol]):(w=0,b=v.rights[l.firstCol]-v.rights[l.lastCol])):it=f[a];g.push(t("div",{className:"fc-daygrid-event-harness"+(tt?" fc-daygrid-event-harness-abs":""),key:a,ref:nt?null:this.segHarnessRefs.createRef(a+":"+l.firstCol),style:{visibility:ot?"hidden":"",marginTop:it||"",top:rt||"",left:w||"",right:b||""}},bb(l)?t(oc,i({seg:l,isDragging:s,isSelected:a===k,defaultDisplayEventEnd:d},ft(l,o))):t(sc,i({seg:l,isDragging:s,isResizing:h,isDateSelecting:c,isSelected:a===k,defaultDisplayEventEnd:d},ft(l,o)))))}return g},r.prototype.renderFillSegs=function(n,r){var c=this.context.isRtl,l=this.props.todayRange,f=this.state.framePositions,s=[],e,o,u,h;if(f)for(e=0,o=n;e<o.length;e++)u=o[e],h=c?{right:0,left:f.lefts[u.lastCol]-f.lefts[u.firstCol]}:{left:0,right:f.rights[u.firstCol]-f.rights[u.lastCol]},s.push(t("div",{key:ss(u.eventRange),className:"fc-daygrid-bg-harness",style:h},r==="bg-event"?t(le,i({seg:u},ft(u,l))):nc(r)));return t.apply(void 0,v([b,{}],s))},r.prototype.updateSizing=function(n){var r=this,t=r.props,e=r.frameElRefs,i,u,f;t.clientWidth!==null&&(n&&(i=t.cells.map(function(n){return e.currentMap[n.key]}),i.length&&(u=this.rootElRef.current,this.setState({framePositions:new di(u,i,!0,!1)}))),f=t.dayMaxEvents===!0||t.dayMaxEventRows===!0,this.setState({segHeights:this.computeSegHeights(),maxContentHeight:f?this.computeMaxContentHeight():null}))},r.prototype.computeSegHeights=function(){return tt(this.segHarnessRefs.currentMap,function(n){return n.getBoundingClientRect().height})},r.prototype.computeMaxContentHeight=function(){var n=this.props.cells[0].key,t=this.cellElRefs.currentMap[n],i=this.fgElRefs.currentMap[n];return t.getBoundingClientRect().bottom-i.getBoundingClientRect().top},r.prototype.getCellEls=function(){var n=this.cellElRefs.currentMap;return this.props.cells.map(function(t){return n[t.key]})},r}(it);ke.addPropsEquality({onMoreClick:!0});ke.addStateEquality({segHeights:rt});var de=10,dot=10,got=function(n){function r(){var t=n!==null&&n.apply(this,arguments)||this;return t.repositioner=new gi(t.updateSize.bind(t)),t.handleRootEl=function(n){t.rootEl=n;t.props.elRef&&et(t.props.elRef,n)},t.handleDocumentMousedown=function(n){var i=t.props.onClose;i&&!t.rootEl.contains(n.target)&&i()},t.handleDocumentScroll=function(){t.repositioner.request(dot)},t.handleCloseClick=function(){var n=t.props.onClose;n&&n()},t}return u(r,n),r.prototype.render=function(){var n=this.context.theme,r=this.props,u=["fc-popover",n.getClass("popover"),].concat(r.extraClassNames||[]);return t("div",i({className:u.join(" ")},r.extraAttrs,{ref:this.handleRootEl}),t("div",{className:"fc-popover-header "+n.getClass("popoverHeader")},t("span",{className:"fc-popover-title"},r.title),t("span",{className:"fc-popover-close "+n.getIconClass("close"),onClick:this.handleCloseClick})),t("div",{className:"fc-popover-body "+n.getClass("popoverContent")},r.children))},r.prototype.componentDidMount=function(){document.addEventListener("mousedown",this.handleDocumentMousedown);document.addEventListener("scroll",this.handleDocumentScroll);this.updateSize()},r.prototype.componentWillUnmount=function(){document.removeEventListener("mousedown",this.handleDocumentMousedown);document.removeEventListener("scroll",this.handleDocumentScroll)},r.prototype.updateSize=function(){var f=this.props,o=f.alignmentEl,e=f.topAlignmentEl,i=this.rootEl,n;if(i){var r=i.getBoundingClientRect(),u=o.getBoundingClientRect(),t=e?e.getBoundingClientRect().top:u.top;t=Math.min(t,window.innerHeight-r.height-de);t=Math.max(t,de);
56n=this.context.isRtl?u.right-r.width:u.left;n=Math.min(n,window.innerWidth-r.width-de);n=Math.max(n,de);li(i,{top:t,left:n})}},r}(o),nst=function(n){function r(){var t=n!==null&&n.apply(this,arguments)||this;return t.rootElRef=y(),t}return u(r,n),r.prototype.render=function(){var f=this.context,s=f.options,h=f.dateEnv,n=this.props,u=n.date,c=n.hiddenInstances,r=n.todayRange,e=n.dateProfile,o=n.selectedInstanceId,l=h.format(u,s.dayPopoverFormat);return t(hu,{date:u,dateProfile:e,todayRange:r,elRef:this.rootElRef},function(f,s,h){return t(got,{elRef:f,title:l,extraClassNames:["fc-more-popover"].concat(s),extraAttrs:h,onClose:n.onCloseClick,alignmentEl:n.alignmentEl,topAlignmentEl:n.topAlignmentEl},t(ce,{date:u,dateProfile:e,todayRange:r},function(n,i){return i&&t("div",{className:"fc-more-popover-misc",ref:n},i)}),n.segs.map(function(n){var u=n.eventRange.instance.instanceId;return t("div",{className:"fc-daygrid-event-harness",key:u,style:{visibility:c[u]?"hidden":""}},bb(n)?t(oc,i({seg:n,isDragging:!1,isSelected:u===o,defaultDisplayEventEnd:!1},ft(n,r))):t(sc,i({seg:n,isDragging:!1,isResizing:!1,isDateSelecting:!1,isSelected:u===o,defaultDisplayEventEnd:!1},ft(n,r))))}))})},r.prototype.positionToHit=function(n,t,i){var u=this.rootElRef.current;if(!i||!u)return null;var f=i.getBoundingClientRect(),r=u.getBoundingClientRect(),e=r.left-f.left,o=r.top-f.top,s=n-e,h=t-o,c=this.props.date;return s>=0&&s<r.width&&h>=0&&h<r.height?{dateSpan:{allDay:!0,range:{start:c,end:a(c,1)}},dayEl:u,relativeRect:{left:e,top:o,right:r.width,bottom:r.height},layer:1}:null},r}(it),kb=function(n){function r(){var t=n!==null&&n.apply(this,arguments)||this;return t.splitBusinessHourSegs=f(we),t.splitBgEventSegs=f(we),t.splitFgEventSegs=f(we),t.splitDateSelectionSegs=f(we),t.splitEventDrag=f(yb),t.splitEventResize=f(yb),t.buildBuildMoreLinkText=f(tst),t.morePopoverRef=y(),t.rowRefs=new ot,t.state={morePopoverState:null},t.handleRootEl=function(n){t.rootEl=n;et(t.props.elRef,n)},t.handleMoreLinkClick=function(n){function e(n){var t=n.eventRange,r=t.def,e=t.instance,i=t.range;return{event:new l(u,r,e),start:f.toDate(i.start),end:f.toDate(i.end),isStart:n.isStart,isEnd:n.isEnd}}var u=t.context,f=u.dateEnv,r=u.options.moreLinkClick;typeof r=="function"&&(r=r({date:f.toDate(n.date),allDay:!0,allSegs:n.allSegs.map(e),hiddenSegs:n.hiddenSegs.map(e),jsEvent:n.ev,view:u.viewApi}));r&&r!=="popover"?typeof r=="string"&&u.calendarApi.zoomTo(n.date,r):t.setState({morePopoverState:i(i({},n),{currentFgEventSegs:t.props.fgEventSegs,fromRow:n.fromRow,fromCol:n.fromCol})})},t.handleMorePopoverClose=function(){t.setState({morePopoverState:null})},t}return u(r,n),r.prototype.render=function(){var f=this,n=this.props,c=n.dateProfile,e=n.dayMaxEventRows,o=n.dayMaxEvents,s=n.expandRows,u=this.state.morePopoverState,r=n.cells.length,a=this.splitBusinessHourSegs(n.businessHourSegs,r),v=this.splitBgEventSegs(n.bgEventSegs,r),y=this.splitFgEventSegs(n.fgEventSegs,r),p=this.splitDateSelectionSegs(n.dateSelectionSegs,r),w=this.splitEventDrag(n.eventDrag,r),k=this.splitEventResize(n.eventResize,r),d=this.buildBuildMoreLinkText(this.context.options.moreLinkText),h=o===!0||e===!0,l;return h&&!s&&(h=!1,e=null,o=null),l=["fc-daygrid-body",h?"fc-daygrid-body-balanced":"fc-daygrid-body-unbalanced",s?"":"fc-daygrid-body-natural",],t("div",{className:l.join(" "),ref:this.handleRootEl,style:{width:n.clientWidth,minWidth:n.tableMinWidth}},t(nr,{unit:"day"},function(h,l){return t(b,null,t("table",{className:"fc-scrollgrid-sync-table",style:{width:n.clientWidth,minWidth:n.tableMinWidth,height:s?n.clientHeight:""}},n.colGroupNode,t("tbody",null,n.cells.map(function(u,s){return t(ke,{ref:f.rowRefs.createRef(s),key:u.length?u[0].date.toISOString():s,showDayNumbers:r>1,showWeekNumbers:n.showWeekNumbers,todayRange:l,dateProfile:c,cells:u,renderIntro:n.renderRowIntro,businessHourSegs:a[s],eventSelection:n.eventSelection,bgEventSegs:v[s].filter(ist),fgEventSegs:y[s],dateSelectionSegs:p[s],eventDrag:w[s],eventResize:k[s],dayMaxEvents:o,dayMaxEventRows:e,clientWidth:n.clientWidth,clientHeight:n.clientHeight,buildMoreLinkText:d,onMoreClick:function(n){f.handleMoreLinkClick(i(i({},n),{fromRow:s}))}})}))),!n.forPrint&&u&&u.currentFgEventSegs===n.fgEventSegs&&t(nst,{ref:f.morePopoverRef,date:u.date,dateProfile:c,segs:u.allSegs,alignmentEl:u.dayEl,topAlignmentEl:r===1?n.headerAlignElRef.current:null,onCloseClick:f.handleMorePopoverClose,selectedInstanceId:n.eventSelection,hiddenInstances:(n.eventDrag?n.eventDrag.affectedInstances:null)||(n.eventResize?n.eventResize.affectedInstances:null)||{},todayRange:l}))}))},r.prototype.prepareHits=function(){this.rowPositions=new di(this.rootEl,this.rowRefs.collect().map(function(n){return n.getCellEls()[0]}),!1,!0);this.colPositions=new di(this.rootEl,this.rowRefs.currentMap[0].getCellEls(),!0,!1)},r.prototype.positionToHit=function(n,t){var o=this.morePopoverRef.current,s=o?o.positionToHit(n,t,this.rootEl):null,h=this.state.morePopoverState;if(s)return i({row:h.fromRow,col:h.fromCol},s);var c=this,f=c.colPositions,e=c.rowPositions,r=f.leftToIndex(n),u=e.topToIndex(t);return u!=null&&r!=null?{row:u,col:r,dateSpan:{range:this.getCellRange(u,r),allDay:!0},dayEl:this.getCellEl(u,r),relativeRect:{left:f.lefts[r],right:f.rights[r],top:e.tops[u],bottom:e.bottoms[u]}}:null},r.prototype.getCellEl=function(n,t){return this.rowRefs.currentMap[n].getCellEls()[t]},r.prototype.getCellRange=function(n,t){var i=this.props.cells[n][t].date,r=a(i,1);return{start:i,end:r}},r}(it);var db=function(n){function t(){var t=n!==null&&n.apply(this,arguments)||this;return t.forceDayIfListItem=!0,t}return u(t,n),t.prototype.sliceRange=function(n,t){return t.sliceRange(n)},t}(wh),cc=function(n){function r(){var t=n!==null&&n.apply(this,arguments)||this;return t.slicer=new db,t.tableRef=y(),t.handleRootEl=function(n){n?t.context.registerInteractiveComponent(t,{el:n}):t.context.unregisterInteractiveComponent(t)},t}return u(r,n),r.prototype.render=function(){var r=this,n=r.props,u=r.context;return t(kb,i({ref:this.tableRef,elRef:this.handleRootEl},this.slicer.sliceProps(n,n.dateProfile,n.nextDayThreshold,u,n.dayTableModel),{dateProfile:n.dateProfile,cells:n.dayTableModel.cells,colGroupNode:n.colGroupNode,tableMinWidth:n.tableMinWidth,renderRowIntro:n.renderRowIntro,dayMaxEvents:n.dayMaxEvents,dayMaxEventRows:n.dayMaxEventRows,showWeekNumbers:n.showWeekNumbers,expandRows:n.expandRows,headerAlignElRef:n.headerAlignElRef,clientWidth:n.clientWidth,clientHeight:n.clientHeight,forPrint:n.forPrint}))},r.prototype.prepareHits=function(){this.tableRef.current.prepareHits()},r.prototype.queryHit=function(n,t){var i=this.tableRef.current.positionToHit(n,t);
56return i?{component:this,dateSpan:i.dateSpan,dayEl:i.dayEl,rect:{left:i.relativeRect.left,right:i.relativeRect.right,top:i.relativeRect.top,bottom:i.relativeRect.bottom},layer:0}:null},r}(it),gb=function(n){function i(){var t=n!==null&&n.apply(this,arguments)||this;return t.buildDayTableModel=f(nk),t.headerRef=y(),t.tableRef=y(),t}return u(i,n),i.prototype.render=function(){var u=this,f=this.context,i=f.options,s=f.dateProfileGenerator,n=this.props,r=this.buildDayTableModel(n.dateProfile,s),e=i.dayHeaders&&t(fe,{ref:this.headerRef,dateProfile:n.dateProfile,dates:r.headerDates,datesRepDistinctDays:r.rowCnt===1}),o=function(f){return t(cc,{ref:u.tableRef,dateProfile:n.dateProfile,dayTableModel:r,businessHours:n.businessHours,dateSelection:n.dateSelection,eventStore:n.eventStore,eventUiBases:n.eventUiBases,eventSelection:n.eventSelection,eventDrag:n.eventDrag,eventResize:n.eventResize,nextDayThreshold:i.nextDayThreshold,colGroupNode:f.tableColGroupNode,tableMinWidth:f.tableMinWidth,dayMaxEvents:i.dayMaxEvents,dayMaxEventRows:i.dayMaxEventRows,showWeekNumbers:i.weekNumbers,expandRows:!n.isHeightAuto,headerAlignElRef:u.headerElRef,clientWidth:f.clientWidth,clientHeight:f.clientHeight,forPrint:n.forPrint})};return i.dayMinWidth?this.renderHScrollLayout(e,o,r.colCnt,i.dayMinWidth):this.renderSimpleLayout(e,o)},i}(vb);var rst=function(n){function t(){return n!==null&&n.apply(this,arguments)||this}return u(t,n),t.prototype.buildRenderRange=function(t,i,r){var o=this.props.dateEnv,s=n.prototype.buildRenderRange.call(this,t,i,r),f=s.start,u=s.end,e,h;return/^(year|month)$/.test(i)&&(f=o.startOfWeek(f),e=o.startOfWeek(u),e.valueOf()!==u.valueOf()&&(u=lo(e,1))),this.props.monthMode&&this.props.fixedWeekCount&&(h=Math.ceil(ra(f,u)),u=lo(u,6-h)),{start:f,end:u}},t}(ne),ust={moreLinkClick:r,moreLinkClassNames:r,moreLinkContent:r,moreLinkDidMount:r,moreLinkWillUnmount:r},fst=nt({initialView:"dayGridMonth",optionRefiners:ust,views:{dayGrid:{component:gb,dateProfileGeneratorClass:rst},dayGridDay:{type:"dayGrid",duration:{days:1}},dayGridWeek:{type:"dayGrid",duration:{weeks:1}},dayGridMonth:{type:"dayGrid",duration:{months:1},monthMode:!0,fixedWeekCount:!0}}}),est=function(n){function t(){return n!==null&&n.apply(this,arguments)||this}return u(t,n),t.prototype.getKeyInfo=function(){return{allDay:{},timed:{}}},t.prototype.getKeysForDateSpan=function(n){return n.allDay?["allDay"]:["timed"]},t.prototype.getKeysForEventDef=function(n){return n.allDay?sv(n)?["timed","allDay"]:["allDay"]:["timed"]},t}(ds),ost=c({hour:"numeric",minute:"2-digit",omitZeroMinute:!0,meridiem:"short"});var hst=function(n){function r(){return n!==null&&n.apply(this,arguments)||this}return u(r,n),r.prototype.render=function(){return this.props.slatMetas.map(function(n){return t("tr",{key:n.key},t(tk,i({},n)))})},r}(o),cst=c({week:"short"}),lst=5,ik=function(n){function r(){var r=n!==null&&n.apply(this,arguments)||this;return r.allDaySplitter=new est,r.headerElRef=y(),r.rootElRef=y(),r.scrollerElRef=y(),r.state={slatCoords:null},r.handleScrollTopRequest=function(n){var t=r.scrollerElRef.current;t&&(t.scrollTop=n)},r.renderHeadAxis=function(n,u){u===void 0&&(u="");var e=r.context.options,o=r.props.dateProfile,f=o.renderRange,s=ht(f.start,f.end),h=e.navLinks&&s===1?{"data-navlink":bi(f.start,"week"),tabIndex:0}:{};return e.weekNumbers&&n==="day"?t(ae,{date:f.start,defaultFormat:cst},function(n,r,f,e){return t("th",{ref:n,className:["fc-timegrid-axis","fc-scrollgrid-shrink",].concat(r).join(" ")},t("div",{className:"fc-timegrid-axis-frame fc-scrollgrid-shrink-frame fc-timegrid-axis-frame-liquid",style:{height:u}},t("a",i({ref:f,className:"fc-timegrid-axis-cushion fc-scrollgrid-shrink-cushion fc-scrollgrid-sync-inner"},h),e)))}):t("th",{className:"fc-timegrid-axis"},t("div",{className:"fc-timegrid-axis-frame",style:{height:u}}))},r.renderTableRowAxis=function(n){var u=r.context,i=u.options,f=u.viewApi,e={text:i.allDayText,view:f};return t(k,{hookProps:e,classNames:i.allDayClassNames,content:i.allDayContent,defaultContent:ast,didMount:i.allDayDidMount,willUnmount:i.allDayWillUnmount},function(i,r,u,f){return t("td",{ref:i,className:["fc-timegrid-axis","fc-scrollgrid-shrink",].concat(r).join(" ")},t("div",{className:"fc-timegrid-axis-frame fc-scrollgrid-shrink-frame"+(n==null?" fc-timegrid-axis-frame-liquid":""),style:{height:n}},t("span",{className:"fc-timegrid-axis-cushion fc-scrollgrid-shrink-cushion fc-scrollgrid-sync-inner",ref:u},f)))})},r.handleSlatCoords=function(n){r.setState({slatCoords:n})},r}return u(r,n),r.prototype.renderSimpleLayout=function(n,i,r){var e=this,f=e.context,o=e.props,u=[],s=ou(f.options);return n&&u.push({type:"header",key:"header",isSticky:s,chunk:{elRef:this.headerElRef,tableClassName:"fc-col-header",rowContent:n}}),i&&(u.push({type:"body",key:"all-day",chunk:{content:i}}),u.push({type:"body",key:"all-day-divider",outerContent:t("tr",{className:"fc-scrollgrid-section"},t("td",{className:"fc-timegrid-divider "+f.theme.getClass("tableCellShaded")}))})),u.push({type:"body",key:"body",liquid:!0,expandRows:Boolean(f.options.expandRows),chunk:{scrollerElRef:this.scrollerElRef,content:r}}),t(ti,{viewSpec:f.viewSpec,elRef:this.rootElRef},function(n,i){return t("div",{className:["fc-timegrid"].concat(i).join(" "),ref:n},t(su,{liquid:!o.isHeightAuto&&!o.forPrint,cols:[{width:"shrink"}],sections:u}))})},r.prototype.renderHScrollLayout=function(n,i,r,u,f,e,o){var a=this,v=this.context.pluginHooks.scrollGridImpl,l;if(!v)throw new Error("No ScrollGrid implementation");var y=this,s=y.context,c=y.props,p=!c.forPrint&&ou(s.options),w=!c.forPrint&&gh(s.options),h=[];return n&&h.push({type:"header",key:"header",isSticky:p,syncRowHeights:!0,chunks:[{key:"axis",rowContent:function(n){return t("tr",null,a.renderHeadAxis("day",n.rowSyncHeights[0]))}},{key:"cols",elRef:this.headerElRef,tableClassName:"fc-col-header",rowContent:n},]}),i&&(h.push({type:"body",key:"all-day",syncRowHeights:!0,chunks:[{key:"axis",rowContent:function(n){return t("tr",null,a.renderTableRowAxis(n.rowSyncHeights[0]))}},{key:"cols",content:i},]}),h.push({key:"all-day-divider",type:"body",outerContent:t("tr",{className:"fc-scrollgrid-section"},t("td",{colSpan:2,className:"fc-timegrid-divider "+s.theme.getClass("tableCellShaded")}))})),l=s.options.nowIndicator,h.push({type:"body",key:"body",liquid:!0,expandRows:Boolean(s.options.expandRows),chunks:[{key:"axis",content:function(n){return t("div",{className:"fc-timegrid-axis-chunk"},t("table",{style:{height:n.expandRows?n.clientHeight:""}},n.tableColGroupNode,t("tbody",null,t(hst,{slatMetas:e}))),t("div",{className:"fc-timegrid-now-indicator-container"},t(nr,{unit:l?"minute":"day"},function(n){var i=l&&o&&o.safeComputeTop(n);return typeof i=="number"?t(he,{isAxis:!0,date:n},function(n,r,u,f){return t("div",{ref:n,className:["fc-timegrid-now-indicator-arrow"].concat(r).join(" "),style:{to
56p:i}},f)}):null})))}},{key:"cols",scrollerElRef:this.scrollerElRef,content:r},]}),w&&h.push({key:"footer",type:"footer",isSticky:!0,chunks:[{key:"axis",content:oe},{key:"cols",content:oe},]}),t(ti,{viewSpec:s.viewSpec,elRef:this.rootElRef},function(n,i){return t("div",{className:["fc-timegrid"].concat(i).join(" "),ref:n},t(v,{liquid:!c.isHeightAuto&&!c.forPrint,colGroups:[{width:"shrink",cols:[{width:"shrink"}]},{cols:[{span:u,minWidth:f}]},],sections:h}))})},r.prototype.getAllDayMaxEventProps=function(){var i=this.context.options,n=i.dayMaxEvents,t=i.dayMaxEventRows;return(n===!0||t===!0)&&(n=undefined,t=lst),{dayMaxEvents:n,dayMaxEventRows:t}},r}(it);var rk=function(){function n(n,t,i){this.positions=n;this.dateProfile=t;this.slatMetas=i}return n.prototype.safeComputeTop=function(n){var i=this.dateProfile,r,t;return ut(i.currentRange,n)&&(r=h(n),t=n.valueOf()-r.valueOf(),t>=g(i.slotMinTime)&&t<g(i.slotMaxTime))?this.computeTimeTop(e(t)):null},n.prototype.computeDateTop=function(n,t){return t||(t=h(n)),this.computeTimeTop(e(n.valueOf()-t.valueOf()))},n.prototype.computeTimeTop=function(n){var r=this,u=r.positions,s=r.dateProfile,f=r.slatMetas,e=u.els.length,h=f[1].date.valueOf()-f[0].date.valueOf(),t=(n.milliseconds-g(s.slotMinTime))/h,i,o;return t=Math.max(0,t),t=Math.min(e,t),i=Math.floor(t),i=Math.min(i,e-1),o=t-i,u.tops[i]+u.getHeight(i)*o},n}(),vst=function(n){function r(){return n!==null&&n.apply(this,arguments)||this}return u(r,n),r.prototype.render=function(){var f=this,r=f.props,u=f.context,n=u.options,e=r.slatElRefs;return t("tbody",null,r.slatMetas.map(function(f){var o={time:f.time,date:u.dateEnv.toDate(f.date),view:u.viewApi},s=["fc-timegrid-slot","fc-timegrid-slot-lane",f.isLabeled?"":"fc-timegrid-slot-minor",];return t("tr",{key:f.key,ref:e.createRef(f.key)},r.axis&&t(tk,i({},f)),t(k,{hookProps:o,classNames:n.slotLaneClassNames,content:n.slotLaneContent,didMount:n.slotLaneDidMount,willUnmount:n.slotLaneWillUnmount},function(n,i,r,u){return t("td",{ref:n,className:s.concat(i).join(" "),"data-time":f.isoTimeStr},u)}))}))},r}(o),yst=function(n){function i(){var t=n!==null&&n.apply(this,arguments)||this;return t.rootElRef=y(),t.slatElRefs=new ot,t}return u(i,n),i.prototype.render=function(){var i=this,n=i.props,r=i.context;return t("div",{className:"fc-timegrid-slots",ref:this.rootElRef},t("table",{className:r.theme.getClass("table"),style:{minWidth:n.tableMinWidth,width:n.clientWidth,height:n.minHeight}},n.tableColGroupNode,t(vst,{slatElRefs:this.slatElRefs,axis:n.axis,slatMetas:n.slatMetas})))},i.prototype.componentDidMount=function(){this.updateSizing()},i.prototype.componentDidUpdate=function(){this.updateSizing()},i.prototype.componentWillUnmount=function(){if(this.props.onCoords)this.props.onCoords(null)},i.prototype.updateSizing=function(){var n=this.props,t;if(n.onCoords&&n.clientWidth!==null&&(t=this.rootElRef.current,t.offsetHeight))n.onCoords(new rk(new di(this.rootElRef.current,pst(this.slatElRefs.currentMap,n.slatMetas),!1,!0),this.props.dateProfile,n.slatMetas))},i}(o);var iht=c({hour:"numeric",minute:"2-digit",meridiem:!1}),sk=function(n){function r(){return n!==null&&n.apply(this,arguments)||this}return u(r,n),r.prototype.render=function(){var n=["fc-timegrid-event","fc-v-event",];return this.props.isCondensed&&n.push("fc-timegrid-event-condensed"),t(se,i({},this.props,{defaultTimeFormat:iht,extraClassNames:n}))},r}(o),rht=function(n){function i(){return n!==null&&n.apply(this,arguments)||this}return u(i,n),i.prototype.render=function(){var n=this.props;return t(ce,{date:n.date,dateProfile:n.dateProfile,todayRange:n.todayRange,extraHookProps:n.extraHookProps},function(n,i){return i&&t("div",{className:"fc-timegrid-col-misc",ref:n},i)})},i}(o);si.timeGridEventCondensedHeight=30;hk=function(n){function r(){return n!==null&&n.apply(this,arguments)||this}return u(r,n),r.prototype.render=function(){var r=this,u=this,n=u.props,e=u.context,f=e.options.selectMirror,o=n.eventDrag&&n.eventDrag.segs||n.eventResize&&n.eventResize.segs||f&&n.dateSelectionSegs||[],s=n.eventDrag&&n.eventDrag.affectedInstances||n.eventResize&&n.eventResize.affectedInstances||{};return t(hu,{elRef:n.elRef,date:n.date,dateProfile:n.dateProfile,todayRange:n.todayRange,extraHookProps:n.extraHookProps},function(u,e,h){return t("td",i({ref:u,className:["fc-timegrid-col"].concat(e,n.extraClassNames||[]).join(" ")},h,n.extraDataAttrs),t("div",{className:"fc-timegrid-col-frame"},t("div",{className:"fc-timegrid-col-bg"},r.renderFillSegs(n.businessHourSegs,"non-business"),r.renderFillSegs(n.bgEventSegs,"bg-event"),r.renderFillSegs(n.dateSelectionSegs,"highlight")),t("div",{className:"fc-timegrid-col-events"},r.renderFgSegs(n.fgEventSegs,s)),t("div",{className:"fc-timegrid-col-events"},r.renderFgSegs(o,{},Boolean(n.eventDrag),Boolean(n.eventResize),Boolean(f))),t("div",{className:"fc-timegrid-now-indicator-container"},r.renderNowIndicator(n.nowIndicatorSegs)),t(rht,{date:n.date,dateProfile:n.dateProfile,todayRange:n.todayRange,extraHookProps:n.extraHookProps})))})},r.prototype.renderFgSegs=function(n,t,i,r,u){var f=this.props;return f.forPrint?this.renderPrintFgSegs(n):f.slatCoords?this.renderPositionedFgSegs(n,t,i,r,u):null},r.prototype.renderPrintFgSegs=function(n){var r=this,u=r.props,f=r.context;return n=tu(n,f.options.eventOrder),n.map(function(n){return t("div",{className:"fc-timegrid-event-harness",key:n.eventRange.instance.instanceId},t(sk,i({seg:n,isDragging:!1,isResizing:!1,isDateSelecting:!1,isSelected:!1,isCondensed:!1},ft(n,u.todayRange,u.nowDate))))})},r.prototype.renderPositionedFgSegs=function(n,r,u,f,e){var s=this,h=this,c=h.context,o=h.props;
56return n=wst(n,o.date,o.slatCoords,c.options.eventMinHeight,c.options.eventOrder),n.map(function(n){var h=n.eventRange.instance.instanceId,c=u||f||e,l=c?i({left:0,right:0},s.computeSegTopBottomCss(n)):s.computeFgSegPositionCss(n);return t("div",{className:"fc-timegrid-event-harness"+(n.level>0?" fc-timegrid-event-harness-inset":""),key:h,style:i({visibility:r[h]?"hidden":""},l)},t(sk,i({seg:n,isDragging:u,isResizing:f,isDateSelecting:e,isSelected:h===o.eventSelection,isCondensed:n.bottom-n.top<si.timeGridEventCondensedHeight},ft(n,o.todayRange,o.nowDate))))})},r.prototype.renderFillSegs=function(n,r){var o=this,f=this,s=f.context,u=f.props,e;return u.slatCoords?(fk(n,u.date,u.slatCoords,s.options.eventMinHeight),e=n.map(function(n){return t("div",{key:ss(n.eventRange),className:"fc-timegrid-bg-harness",style:o.computeSegTopBottomCss(n)},r==="bg-event"?t(le,i({seg:n},ft(n,u.todayRange,u.nowDate))):nc(r))}),t(b,null,e)):null},r.prototype.renderNowIndicator=function(n){var i=this.props,r=i.slatCoords,u=i.date;return r?n.map(function(n,i){return t(he,{isAxis:!1,date:u,key:i},function(i,f,e,o){return t("div",{ref:i,className:["fc-timegrid-now-indicator-line"].concat(f).join(" "),style:{top:r.computeDateTop(n.start,u)}},o)})}):null},r.prototype.computeFgSegPositionCss=function(n){var o=this.context,s=o.isRtl,c=o.options,h=c.slotEventOverlap,t=n.backwardCoord,r=n.forwardCoord,u,f,e;return h&&(r=Math.min(1,t+(r-t)*2)),s?(u=1-r,f=t):(u=t,f=1-r),e={zIndex:n.level+1,left:u*100+"%",right:f*100+"%"},h&&n.forwardPressure&&(e[s?"marginLeft":"marginRight"]=20),i(i({},e),this.computeSegTopBottomCss(n))},r.prototype.computeSegTopBottomCss=function(n){return{top:n.top,bottom:-n.bottom}},r}(o);ck=function(n){function i(){var t=n!==null&&n.apply(this,arguments)||this;return t.splitFgEventSegs=f(cu),t.splitBgEventSegs=f(cu),t.splitBusinessHourSegs=f(cu),t.splitNowIndicatorSegs=f(cu),t.splitDateSelectionSegs=f(cu),t.splitEventDrag=f(uk),t.splitEventResize=f(uk),t.rootElRef=y(),t.cellElRefs=new ot,t}return u(i,n),i.prototype.render=function(){var f=this,r=this,n=r.props,e=r.context,u=e.options.nowIndicator&&n.slatCoords&&n.slatCoords.safeComputeTop(n.nowDate),i=n.cells.length,o=this.splitFgEventSegs(n.fgEventSegs,i),s=this.splitBgEventSegs(n.bgEventSegs,i),h=this.splitBusinessHourSegs(n.businessHourSegs,i),c=this.splitNowIndicatorSegs(n.nowIndicatorSegs,i),l=this.splitDateSelectionSegs(n.dateSelectionSegs,i),a=this.splitEventDrag(n.eventDrag,i),v=this.splitEventResize(n.eventResize,i);return t("div",{className:"fc-timegrid-cols",ref:this.rootElRef},t("table",{style:{minWidth:n.tableMinWidth,width:n.clientWidth}},n.tableColGroupNode,t("tbody",null,t("tr",null,n.axis&&t("td",{className:"fc-timegrid-col fc-timegrid-axis"},t("div",{className:"fc-timegrid-col-frame"},t("div",{className:"fc-timegrid-now-indicator-container"},typeof u=="number"&&t(he,{isAxis:!0,date:n.nowDate},function(n,i,r,f){return t("div",{ref:n,className:["fc-timegrid-now-indicator-arrow"].concat(i).join(" "),style:{top:u}},f)})))),n.cells.map(function(i,r){return t(hk,{key:i.key,elRef:f.cellElRefs.createRef(i.key),dateProfile:n.dateProfile,date:i.date,nowDate:n.nowDate,todayRange:n.todayRange,extraHookProps:i.extraHookProps,extraDataAttrs:i.extraDataAttrs,extraClassNames:i.extraClassNames,fgEventSegs:o[r],bgEventSegs:s[r],businessHourSegs:h[r],nowIndicatorSegs:c[r],dateSelectionSegs:l[r],eventDrag:a[r],eventResize:v[r],slatCoords:n.slatCoords,eventSelection:n.eventSelection,forPrint:n.forPrint})})))))},i.prototype.componentDidMount=function(){this.updateCoords()},i.prototype.componentDidUpdate=function(){this.updateCoords()},i.prototype.updateCoords=function(){var n=this.props;if(n.onColCoords&&n.clientWidth!==null)n.onColCoords(new di(this.rootElRef.current,uht(this.cellElRefs.currentMap,n.cells),!0,!1))},i}(o);ac=function(n){function i(){var t=n!==null&&n.apply(this,arguments)||this;return t.processSlotOptions=f(fht),t.state={slatCoords:null},t.handleScrollRequest=function(n){var r=t.props.onScrollTopRequest,u=t.state.slatCoords,i;return r&&u?(n.time&&(i=u.computeTimeTop(n.time),i=Math.ceil(i),i&&(i+=1),r(i)),!0):!1},t.handleColCoords=function(n){t.colCoords=n},t.handleSlatCoords=function(n){if(t.setState({slatCoords:n}),t.props.onSlatCoords)t.props.onSlatCoords(n)},t}return u(i,n),i.prototype.render=function(){var i=this,n=i.props,r=i.state;return t("div",{className:"fc-timegrid-body",ref:n.rootElRef,style:{width:n.clientWidth,minWidth:n.tableMinWidth}},t(yst,{axis:n.axis,dateProfile:n.dateProfile,slatMetas:n.slatMetas,clientWidth:n.clientWidth,minHeight:n.expandRows?n.clientHeight:"",tableMinWidth:n.tableMinWidth,tableColGroupNode:n.axis?n.tableColGroupNode:null,onCoords:this.handleSlatCoords}),t(ck,{cells:n.cells,axis:n.axis,dateProfile:n.dateProfile,businessHourSegs:n.businessHourSegs,bgEventSegs:n.bgEventSegs,fgEventSegs:n.fgEventSegs,dateSelectionSegs:n.dateSelectionSegs,eventSelection:n.eventSelection,eventDrag:n.eventDrag,eventResize:n.eventResize,todayRange:n.todayRange,nowDate:n.nowDate,
56nowIndicatorSegs:n.nowIndicatorSegs,clientWidth:n.clientWidth,tableMinWidth:n.tableMinWidth,tableColGroupNode:n.tableColGroupNode,slatCoords:r.slatCoords,onColCoords:this.handleColCoords,forPrint:n.forPrint}))},i.prototype.componentDidMount=function(){this.scrollResponder=this.context.createScrollResponder(this.handleScrollRequest)},i.prototype.componentDidUpdate=function(n){this.scrollResponder.update(n.dateProfile!==this.props.dateProfile)},i.prototype.componentWillUnmount=function(){this.scrollResponder.detach()},i.prototype.positionToHit=function(n,t){var o=this.context,s=o.dateEnv,y=o.options,r=this.colCoords,p=this.props.dateProfile,f=this.state.slatCoords,h=this.processSlotOptions(this.props.slotDuration,y.snapDuration),c=h.snapDuration,l=h.snapsPerSlot,i=r.leftToIndex(n),u=f.positions.topToIndex(t);if(i!=null&&u!=null){var e=f.positions.tops[u],a=f.positions.getHeight(u),w=(t-e)/a,b=Math.floor(w*l),k=u*l+b,d=this.props.cells[i].date,g=bu(p.slotMinTime,aa(c,k)),v=s.add(d,g),nt=s.add(v,c);return{col:i,dateSpan:{range:{start:v,end:nt},allDay:!1},dayEl:r.els[i],relativeRect:{left:r.lefts[i],right:r.rights[i],top:e,bottom:e+a}}}return null},i}(o);vc=function(n){function t(){return n!==null&&n.apply(this,arguments)||this}return u(t,n),t.prototype.sliceRange=function(n,t){for(var i,u=[],r=0;r<t.length;r+=1)i=gt(n,t[r]),i&&u.push({start:i.start,end:i.end,isStart:i.start.valueOf()===n.start.valueOf(),isEnd:i.end.valueOf()===n.end.valueOf(),col:r});return u},t}(wh);yc=function(n){function r(){var t=n!==null&&n.apply(this,arguments)||this;return t.buildDayRanges=f(lk),t.slicer=new vc,t.timeColsRef=y(),t.handleRootEl=function(n){n?t.context.registerInteractiveComponent(t,{el:n}):t.context.unregisterInteractiveComponent(t)},t}return u(r,n),r.prototype.render=function(){var r=this,e=this,n=e.props,u=e.context,f=n.dateProfile,o=n.dayTableModel,s=u.options.nowIndicator,h=this.buildDayRanges(o,f,u.dateEnv);return t(nr,{unit:s?"minute":"day"},function(e,c){return t(ac,i({ref:r.timeColsRef,rootElRef:r.handleRootEl},r.slicer.sliceProps(n,f,null,u,h),{forPrint:n.forPrint,axis:n.axis,dateProfile:f,slatMetas:n.slatMetas,slotDuration:n.slotDuration,cells:o.cells[0],tableColGroupNode:n.tableColGroupNode,tableMinWidth:n.tableMinWidth,clientWidth:n.clientWidth,clientHeight:n.clientHeight,expandRows:n.expandRows,nowDate:e,nowIndicatorSegs:s&&r.slicer.sliceNowDate(e,u,h),todayRange:c,onScrollTopRequest:n.onScrollTopRequest,onSlatCoords:n.onSlatCoords}))})},r.prototype.queryHit=function(n,t){var i=this.timeColsRef.current.positionToHit(n,t);return i?{component:this,dateSpan:i.dateSpan,dayEl:i.dayEl,rect:{left:i.relativeRect.left,right:i.relativeRect.right,top:i.relativeRect.top,bottom:i.relativeRect.bottom},layer:0}:null},r}(it);pc=[{hours:1},{minutes:30},{minutes:15},{seconds:30},{seconds:15},];wc=function(n){function r(){var t=n!==null&&n.apply(this,arguments)||this;return t.buildTimeColsModel=f(vk),t.buildSlatMetas=f(ak),t}return u(r,n),r.prototype.render=function(){var u=this,o=this.context,n=o.options,p=o.dateEnv,w=o.dateProfileGenerator,f=this.props,r=f.dateProfile,e=this.buildTimeColsModel(r,w),c=this.allDaySplitter.splitProps(f),l=this.buildSlatMetas(r.slotMinTime,r.slotMaxTime,n.slotLabelInterval,n.slotDuration,p),s=n.dayMinWidth,h=!s,b=s,a=n.dayHeaders&&t(fe,{dates:e.headerDates,dateProfile:r,datesRepDistinctDays:!0,renderIntro:h?this.renderHeadAxis:null}),v=n.allDaySlot!==!1&&function(o){return t(cc,i({},c.allDay,{dateProfile:r,dayTableModel:e,nextDayThreshold:n.nextDayThreshold,tableMinWidth:o.tableMinWidth,colGroupNode:o.tableColGroupNode,renderRowIntro:h?u.renderTableRowAxis:null,showWeekNumbers:!1,expandRows:!1,headerAlignElRef:u.headerElRef,clientWidth:o.clientWidth,clientHeight:o.clientHeight,forPrint:f.forPrint},u.getAllDayMaxEventProps()))},y=function(o){return t(yc,i({},c.timed,{dayTableModel:e,dateProfile:r,axis:h,slotDuration:n.slotDuration,slatMetas:l,forPrint:f.forPrint,tableColGroupNode:o.tableColGroupNode,tableMinWidth:o.tableMinWidth,clientWidth:o.clientWidth,clientHeight:o.clientHeight,onSlatCoords:u.handleSlatCoords,expandRows:o.expandRows,onScrollTopRequest:u.handleScrollTopRequest}))};return b?this.renderHScrollLayout(a,v,y,e.colCnt,s,l,this.state.slatCoords):this.renderSimpleLayout(a,v,y)},r}(ik);var oht={allDaySlot:Boolean},sht=nt({initialView:"timeGridWeek",optionRefiners:oht,views:{timeGrid:{component:wc,usesMinMaxTime:!0,allDaySlot:!0,slotDuration:"00:30:00",slotEventOverlap:!0},timeGridDay:{type:"timeGrid",duration:{days:1}},timeGridWeek:{type:"timeGrid",duration:{weeks:1}}}}),hht=function(n){function r(){return n!==null&&n.apply(this,arguments)||this}return u(r,n),r.prototype.render=function(){var e=this.props,r=e.dayDate,h=e.todayRange,u=this.context,o=u.theme,f=u.dateEnv,n=u.options,c=u.viewApi,s=pf(r,h),l=n.listDayFormat?f.format(r,n.listDayFormat):"",a=n.listDaySideFormat?f.format(r,n.listDaySideFormat):"",v=n.navLinks?bi(r):null,y=i({date:f.toDate(r),view:c,text:l,sideText:a,navLinkData:v},s),p=["fc-list-day"].concat(ru(s,o));return t(k,{hookProps:y,classNames:n.dayHeaderClassNames,content:n.dayHeaderContent,defaultContent:cht,didMount:n.dayHeaderDidMount,willUnmount:n.dayHeaderWillUnmount},function(n,i,u,f){return t("tr",{ref:n,className:p.concat(i).join(" "),"data-date":vr(r)},t("th",{colSpan:3},t("div",{className:"fc-list-day-cushion "+o.getClass("tableCellShaded"),ref:u},f)))})},r}(o);yk=c({hour:"numeric",minute:"2-digit",meridiem:"short"});pk=function(n){function i(){return n!==null&&n.apply(this,arguments)||this}return u(i,n),i.prototype.render=function(){var i=this,n=i.props,r=i.context,u=n.seg,f=r.options.eventTimeFormat||yk;return t(tr,{seg:u,timeText:"",disableDragging:!0,disableResizing:!0,defaultContent:lht,isPast:n.isPast,isFuture:n.isFuture,isToday:n.isToday,isSelected:n.isSelected,isDragging:n.isDragging,isResizing:n.isResizing,isDateSelecting:n.isDateSelecting},function(n,i,e,o,s){return t("tr",{className:["fc-list-event",s.event.url?"fc-event-forced-url":""].concat(i).join(" "),ref:n},aht(u,f,r),t("td",{className:"fc-list-event-graphic"},t("span",{className:"fc-list-event-dot",style:{borderColor:s.borderColor||s.backgroundColor}})),t("td",{className:"fc-list-event-title",ref:e},o))})},i}(o);bc=function(n){function r(){var t=n!==null&&n.apply(this,arguments)||this;return t.computeDateVars=f(pht),t.eventStoreToSegs=f(t._eventStoreToSegs),t.setRootEl=function(n){n?t.context.registerInteractiveComponent(t,{el:n}):t.context.unregisterInteractiveComponent(t)},t}return u(r,n),r.prototype.render=function(){var r=this,u=this,n=u.props,i=u.context,o=["fc-list",i.theme.getClass("table"),i.options.stickyHeaderDates!==!1?"fc-list-sticky":"",],f=this.computeDateVars(n.dateProfile),s=f.dayDates,h=f.dayRanges,e=this.eventStoreToSegs(n.eventStore,
56n.eventUiBases,h);return t(ti,{viewSpec:i.viewSpec,elRef:this.setRootEl},function(i,u){return t("div",{ref:i,className:o.concat(u).join(" ")},t(kh,{liquid:!n.isHeightAuto,overflowX:n.isHeightAuto?"visible":"hidden",overflowY:n.isHeightAuto?"visible":"auto"},e.length>0?r.renderSegList(e,s):r.renderEmptyMessage()))})},r.prototype.renderEmptyMessage=function(){var i=this.context,n=i.options,r=i.viewApi,u={text:n.noEventsText,view:r};return t(k,{hookProps:u,classNames:n.noEventsClassNames,content:n.noEventsContent,defaultContent:yht,didMount:n.noEventsDidMount,willUnmount:n.noEventsWillUnmount},function(n,i,r,u){return t("div",{className:["fc-list-empty"].concat(i).join(" "),ref:n},t("div",{className:"fc-list-empty-cushion",ref:r},u))})},r.prototype.renderSegList=function(n,r){var u=this.context,e=u.theme,o=u.options,f=wht(n);return t(nr,{unit:"day"},function(n,u){for(var h,v,c,y,l,a=[],s=0;s<f.length;s+=1)if(h=f[s],h)for(v=r[s].toISOString(),a.push(t(hht,{key:v,dayDate:r[s],todayRange:u})),h=tu(h,o.eventOrder),c=0,y=h;c<y.length;c++)l=y[c],a.push(t(pk,i({key:v+":"+l.eventRange.instance.instanceId,seg:l,isDragging:!1,isResizing:!1,isDateSelecting:!1,isSelected:!1},ft(l,u,n))));return t("table",{className:"fc-list-table "+e.getClass("table")},t("tbody",null,a))})},r.prototype._eventStoreToSegs=function(n,t,i){return this.eventRangesToSegs(nu(n,t,this.props.dateProfile.activeRange,this.context.options.nextDayThreshold).fg,i)},r.prototype.eventRangesToSegs=function(n,t){for(var f,i=[],r=0,u=n;r<u.length;r++)f=u[r],i.push.apply(i,this.eventRangeToSegs(f,t));return i},r.prototype.eventRangeToSegs=function(n,t){for(var o=this.context.dateEnv,s=this.context.options.nextDayThreshold,u=n.range,h=n.def.allDay,r,f,e=[],i=0;i<t.length;i+=1)if(r=gt(u,t[i]),r&&(f={component:this,eventRange:n,start:r.start,end:r.end,isStart:n.isStart&&r.start.valueOf()===u.start.valueOf(),isEnd:n.isEnd&&r.end.valueOf()===u.end.valueOf(),dayIndex:i},e.push(f),!f.isEnd&&!h&&i+1<t.length&&u.end<o.add(t[i+1].start,s))){f.end=u.end;f.isEnd=!0;break}return e},r}(it);wk={listDayFormat:bk,listDaySideFormat:bk,noEventsClassNames:r,noEventsContent:r,noEventsDidMount:r,noEventsWillUnmount:r};kk=nt({optionRefiners:wk,views:{list:{component:bc,buttonTextKey:"list",listDayFormat:{month:"long",day:"numeric",year:"numeric"}},listDay:{type:"list",duration:{days:1},listDayFormat:{weekday:"long"}},listWeek:{type:"list",duration:{weeks:1},listDayFormat:{weekday:"long"},listDaySideFormat:{month:"long",day:"numeric",year:"numeric"}},listMonth:{type:"list",duration:{month:1},listDaySideFormat:{weekday:"long"}},listYear:{type:"list",duration:{year:1},listDaySideFormat:{weekday:"long"}}}});st=function(n){function t(){return n!==null&&n.apply(this,arguments)||this}return u(t,n),t}(oi);st.prototype.classes={root:"fc-theme-bootstrap",table:"table-bordered",tableCellShaded:"table-active",buttonGroup:"btn-group",button:"btn btn-primary",buttonActive:"active",popover:"popover",popoverHeader:"popover-header",popoverContent:"popover-body"};st.prototype.baseIconClass="fa";st.prototype.iconClasses={close:"fa-times",prev:"fa-chevron-left",next:"fa-chevron-right",prevYear:"fa-angle-double-left",nextYear:"fa-angle-double-right"};st.prototype.rtlIconClasses={prev:"fa-chevron-right",next:"fa-chevron-left",prevYear:"fa-angle-double-right",nextYear:"fa-angle-double-left"};st.prototype.iconOverrideOption="bootstrapFontAwesome";st.prototype.iconOverrideCustomButtonOption="bootstrapFontAwesome";st.prototype.iconOverridePrefix="fa-";var bht=nt({themeClasses:{bootstrap:st}}),kht={googleCalendarApiKey:String},dht={googleCalendarApiKey:String,googleCalendarId:String,googleCalendarApiBase:String,extraParams:r},ght="https://www.googleapis.com/calendar/v3/calendars",nct={parseMeta:function(n){var t=n.googleCalendarId;return(!t&&n.url&&(t=tct(n.url)),t)?{googleCalendarId:t,googleCalendarApiKey:n.googleCalendarApiKey,googleCalendarApiBase:n.googleCalendarApiBase,extraParams:n.extraParams}:null},fetch:function(n,t,i){var f=n.context,s=f.dateEnv,h=f.options,r=n.eventSource.meta,e=r.googleCalendarApiKey||h.googleCalendarApiKey;if(e){var c=ict(r),u=r.extraParams,l=typeof u=="function"?u():u,o=rct(n.range,e,l,s);hh("GET",c,o,function(n,r){n.error?i({message:"Google Calendar API: "+n.error.message,errors:n.error.errors,xhr:r}):t({rawEvents:uct(n.items,o.timeZone),xhr:r})},function(n,t){i({message:n,xhr:t})})}else i({message:"Specify a googleCalendarApiKey. See http://fullcalendar.io/docs/google_calendar/"})}};return dk=nt({eventSourceDefs:[nct],optionRefiners:kht,eventSourceRefiners:dht}),te.push(oot,fst,sht,kk,bht,dk),n.BASE_OPTION_DEFAULTS=lt,n.BASE_OPTION_REFINERS=ns,n.BaseComponent=o,n.BgEvent=le,n.BootstrapTheme=st,n.Calendar=ub,n.CalendarApi=as,n.CalendarContent=sw,n.CalendarDataManager=ie,n.CalendarDataProvider=fw,n.CalendarRoot=ah,n.Component=df,n.ContentHook=fh,n.CustomContentRenderContext=gf,n.DateComponent=it,n.DateEnv=ys,n.DateProfileGenerator=ne,n.DayCellContent=ce,n.DayCellRoot=hu,n.DayGridView=gb,n.DayHeader=fe,n.DaySeriesM
56odel=yh,n.DayTable=cc,n.DayTableModel=ph,n.DayTableSlicer=db,n.DayTimeCols=yc,n.DayTimeColsSlicer=vc,n.DayTimeColsView=wc,n.DelayedRunner=gi,n.Draggable=uot,n.ElementDragging=lh,n.ElementScrollController=tp,n.Emitter=ki,n.EventApi=l,n.EventRoot=tr,n.EventSourceApi=wt,n.FeaturefulElementDragging=hi,n.Fragment=b,n.Interaction=ii,n.ListView=bc,n.MountHook=fu,n.NamedTimeZoneImpl=ew,n.NowIndicatorRoot=he,n.NowTimer=nr,n.PointerDragging=ye,n.PositionCache=di,n.RefMap=ot,n.RenderHook=k,n.ScrollController=kf,n.ScrollResponder=fp,n.Scroller=kh,n.SimpleScrollGrid=su,n.Slicer=wh,n.Splitter=ds,n.StandardEvent=se,n.Table=kb,n.TableDateCell=lw,n.TableDowCell=aw,n.TableView=vb,n.Theme=oi,n.ThirdPartyDraggable=eot,n.TimeCols=ac,n.TimeColsSlatsCoords=rk,n.TimeColsView=ik,n.ViewApi=ls,n.ViewContextType=at,n.ViewRoot=ti,n.WeekNumberRoot=ae,n.WindowScrollController=ip,n.addDays=a,n.addDurations=bu,n.addMs=ai,n.addWeeks=lo,n.allowContextMenu=kl,n.allowSelection=wl,n.applyMutationToEventStore=vf,n.applyStyle=li,n.applyStyleProp=fo,n.asCleanDays=fg,n.asRoughMinutes=hg,n.asRoughMs=g,n.asRoughSeconds=cg,n.buildClassNameNormalizer=eh,n.buildDayRanges=lk,n.buildDayTableModel=nk,n.buildEventApis=ni,n.buildEventRangeKey=ss,n.buildHashFromArray=gd,n.buildNavLinkData=bi,n.buildSegCompareObj=os,n.buildSegTimeText=wi,n.buildSlatMetas=ak,n.buildTimeColsModel=vk,n.collectFromHash=ha,n.combineEventUis=rs,n.compareByFieldSpec=gl,n.compareByFieldSpecs=ho,n.compareNumbers=ta,n.compareObjs=bo,n.computeEdges=ky,n.computeFallbackHeaderFormat=hw,n.computeHeightAndMargins=nit,n.computeInnerRect=dy,n.computeRect=bf,n.computeSegDraggable=cv,n.computeSegEndResizable=av,n.computeSegStartResizable=lv,n.computeShrinkWidth=yw,n.computeSmallestCellWidth=ia,n.computeVisibleDayRange=hf,n.config=si,n.constrainPoint=ay,n.createContext=nh,n.createDuration=e,n.createElement=t,n.createEmptyEventStore=p,n.createEventInstance=lr,n.createEventUi=kr,n.createFormatter=c,n.createPlugin=nt,n.createRef=y,n.diffDates=fi,n.diffDayAndTime=ua,n.diffDays=ht,n.diffPoints=yy,n.diffWeeks=ra,n.diffWholeDays=cr,n.diffWholeWeeks=fa,n.disableCursor=or,n.elementClosest=w,n.elementMatches=wu,n.enableCursor=sr,n.eventTupleToStore=pi,n.filterEventStoreDefs=wr,n.filterHash=dt,n.findDirectChildren=cd,n.findElements=ll,n.flexibleCompare=na,n.flushToDom=th,n.formatDate=att,n.formatDayString=vr,n.formatIsoTimeString=va,n.formatRange=vtt,n.getAllowYScrolling=pw,n.getCanVGrowWithinCell=ks,n.getClippingParents=gy,n.getDateMeta=pf,n.getDayClassNames=ru,n.getDefaultEventEnd=af,n.getElSeg=ei,n.getEventClassNames=vv,n.getIsRtlScrollbarOnLeft=py,n.getRectCenter=vy,n.getRelevantEvents=ff,n.getScrollGridClassNames=nb,n.getScrollbarWidths=wy,n.getSectionClassNames=tb,n.getSectionHasLiquidHeight=dh,n.getSegMeta=ft,n.getSlotClassNames=ktt,n.getStickyFooterScrollbar=gh,n.getStickyHeaderDates=ou,n.getUnequalProps=wo,n.globalLocales=uy,n.globalPlugins=te,n.greatestDurationDenominator=du,n.guid=ri,n.hasBgRendering=sv,n.hasShrinkWidth=gw,n.identity=r,n.interactionSettingsStore=eu,n.interactionSettingsToStore=re,n.intersectRanges=gt,n.intersectRects=ly,n.isArraysEqual=ct,n.isColPropsEqual=bw,n.isDateSpansEqual=pv,n.isInt=hr,n.isInteractionValid=ih,n.isMultiDayRange=fv,n.isPropsEqual=rt,n.isPropsValid=hp,n.isValidDate=vo,n.listenBySelector=eo,n.mapHash=tt,n.memoize=f,n.memoizeArraylike=vg,n.memoizeHashlike=yg,n.memoizeObjArg=yr,n.mergeEventStores=ef,n.multiplyDuration=aa,n.padStart=ui,n.parseBusinessHours=hy,n.parseClassNames=of,n.parseDragMeta=ue,n.parseEventDef=dr,n.parseFieldSpecs=dl,n.parseMarker=ry,n.pointInsideRect=cy,n.preventContextMenu=bl,n.preventDefault=er,n.preventSelection=pl,n.rangeContainsMarker=ut,n.rangeContainsRange=gr,n.rangesEqual=ov,n.rangesIntersect=cf,n.refineEventDef=sf,n.refineProps=pr,n.removeElement=pu,n.removeExact=ag,n.render=rp,n.renderChunkContent=ww,n.renderFill=nc,n.renderMicroColGroup=kw,n.renderScrollShim=oe,n.requestJson=hh,n.sanitizeShrinkWidth=dw,n.setElSeg=es,n.setRef=et,n.sliceEventStore=nu,n.sliceEvents=hft,n.sortEventSegs=tu,n.startOfDay=h,n.translateRect=ptt,n.triggerDateSelect=hs,n.unmountComponentAtNode=up,n.unpromisify=np,n.version=rb,n.whenTransitionDone=yl,n.wholeDivideDurations=ku,Object.defineProperty(n,"__esModule",{value:!0}),n}({});
57/*!
58 * dist/jquery.inputmask
59 * https://github.com/RobinHerbots/Inputmask
60 * Copyright (c) 2010 - 2020 Robin Herbots
61 * Licensed under the MIT license
62 * Version: 5.0.5-beta.0
63 */
64!function(n,t){var i,r;if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("jquery"));else if("function"==typeof define&&define.amd)define(["jquery"],t);else{i="object"==typeof exports?t(require("jquery")):t(n.jQuery);
64for(r in i)("object"==typeof exports?exports:n)[r]=i[r]}}(window,function(n){function t(n){if(i[n])return i[n].exports;var u=i[n]={i:n,l:!1,exports:{}};return r[n].call(u.exports,u,u.exports,t),u.l=!0,u.exports}return r=[function(n){n.exports=JSON.parse('{"BACKSPACE":8,"BACKSPACE_SAFARI":127,"DELETE":46,"DOWN":40,"END":35,"ENTER":13,"ESCAPE":27,"HOME":36,"INSERT":45,"LEFT":37,"PAGE_DOWN":34,"PAGE_UP":33,"RIGHT":39,"SPACE":32,"TAB":9,"UP":38,"X":88,"CONTROL":17,"KEY_229":229}')},function(n,t,i){"use strict";function l(n){return l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},l(n)}function h(n){return n&&n.__esModule?n:{"default":n}}function r(n,t,i){if(!(this instanceof r))return new r(n,t,i);this.dependencyLib=u.default;this.el=void 0;this.events={};this.maskset=void 0;!0!==i&&("[object Object]"===Object.prototype.toString.call(n)?t=n:(t=t||{},n&&(t.alias=n)),this.opts=u.default.extend(!0,{},this.defaults,t),this.noMasksCache=t&&void 0!==t.definitions,this.userOptions=t||{},v(this.opts.alias,t,this.opts));this.refreshValue=!1;this.undoValue=void 0;this.$el=void 0;this.skipKeyPressEvent=!1;this.skipInputEvent=!1;this.validationEvent=!1;this.ignorable=!1;this.maxLength;this.mouseEnter=!1;this.originalPlaceholder=void 0;this.isComposing=!1}function v(n,t,i){var f=r.prototype.aliases[n];return f?(f.alias&&v(f.alias,void 0,i),u.default.extend(!0,i,f),u.default.extend(!0,i,t),!0):(null===i.mask&&(i.mask=n),!1)}function nt(n,t,i,r){function l(t,u){var f=""===r?t:r+"-"+t;u=void 0!==u?u:n.getAttribute(f);null!==u&&("string"==typeof u&&(0===t.indexOf("on")?u=c.default[u]:"false"===u?u=!1:"true"===u&&(u=!0)),i[t]=u)}if(!0===t.importDataAttributes){var s=n.getAttribute(r),h,f,e,o;if(s&&""!==s&&(s=s.replace(/'/g,'"'),f=JSON.parse("{"+s+"}")),f)for(o in e=void 0,f)if("alias"===o.toLowerCase()){e=f[o];break}for(h in l("alias",e),i.alias&&v(i.alias,i,t),t){if(f)for(o in e=void 0,f)if(o.toLowerCase()===h.toLowerCase()){e=f[o];break}l(h,e)}}return u.default.extend(!0,t,i),"rtl"!==n.dir&&!t.rightAlign||(n.style.textAlign="right"),"rtl"!==n.dir&&!t.numericInput||(n.dir="ltr",n.removeAttribute("dir"),t.isRTL=!0),Object.keys(i).length}var o,a,p;Object.defineProperty(t,"__esModule",{value:!0});t.default=void 0;i(9);var w=i(10),u=h(i(12)),c=h(i(13)),e=i(17),b=i(3),f=i(2),y=i(4),s=i(5),k=i(11),d=h(i(18)),g=h(i(19));o=c.default.document;a="_inputmask_opts";r.prototype={dataAttribute:"data-inputmask",defaults:g.default,definitions:d.default,aliases:{},masksCache:{},get isRTL(){return this.opts.isRTL||this.opts.numericInput},mask:function(n){var t=this;return"string"==typeof n&&(n=o.getElementById(n)||o.querySelectorAll(n)),n=n.nodeName?[n]:n,n.forEach(function(n){var i=u.default.extend(!0,{},t.opts),f;nt(n,i,u.default.extend(!0,{},t.userOptions),t.dataAttribute)&&(f=e.generateMaskSet(i,t.noMasksCache),void 0!==f&&(void 0!==n.inputmask&&(n.inputmask.opts.autoUnmask=!0,n.inputmask.remove()),n.inputmask=new r(void 0,void 0,!0),n.inputmask.opts=i,n.inputmask.noMasksCache=t.noMasksCache,n.inputmask.userOptions=u.default.extend(!0,{},t.userOptions),n.inputmask.el=n,n.inputmask.$el=u.default(n),n.inputmask.maskset=f,u.default.data(n,a,t.userOptions),w.mask.call(n.inputmask)))}),n&&n[0]&&n[0].inputmask||this},option:function(n,t){return"string"==typeof n?this.opts[n]:"object"===l(n)?(u.default.extend(this.userOptions,n),this.el&&!0!==t&&this.mask(this.el),this):void 0},unmaskedvalue:function(n){if(this.maskset=this.maskset||e.generateMaskSet(this.opts,this.noMasksCache),void 0===this.el||void 0!==n){var t=("function"==typeof this.opts.onBeforeMask&&this.opts.onBeforeMask.call(this,n,this.opts)||n).split("");s.checkVal.call(this,void 0,!1,!1,t);"function"==typeof this.opts.onBeforeWrite&&this.opts.onBeforeWrite.call(this,void 0,f.getBuffer.call(this),0,this.opts)}return s.unmaskedvalue.call(this,this.el)},remove:function(){if(this.el){u.default.data(this.el,a,null);var n=this.opts.autoUnmask?s.unmaskedvalue(this.el):this._valueGet(this.opts.autoUnmask),t;n!==f.getBufferTemplate.call(this).join("")?this._valueSet(n,this.opts.autoUnmask):this._valueSet("");k.EventRuler.off(this.el);Object.getOwnPropertyDescriptor&&Object.getPrototypeOf?(t=Object.getOwnPropertyDescriptor(Object.getPrototypeOf(this.el),"value"),t&&this.__valueGet&&Object.defineProperty(this.el,"value",{get:this.__valueGet,set:this.__valueSet,configurable:!0})):o.__lookupGetter__&&this.el.__lookupGetter__("value")&&this.__valueGet&&(this.el.__defineGetter__("value",this.__valueGet),this.el.__defineSetter__("value",this.__valueSet));this.el.inputmask=void 0}return this.el},getemptymask:function(){return this.maskset=this.maskset||e.generateMaskSet(this.opts,this.noMasksCache),f.getBufferTemplate.call(this).join("")},hasMaskedValue:function(){return!this.opts.autoUnmask},isComplete:function(){return this.maskset=this.maskset||e.generateMaskSet(this.opts,this.noMasksCache),y.isComplete.call(this,f.getBuffer.call(this))},getmetadata:function(){if(this.maskset=this.maskset||e.generateMaskSet(this.opts,this.noMasksCache),Array.isArray(this.maskset.metadata)){var n=b.getMaskTemplate.call(this,!0,0,!1).join("");return this.maskset.metadata.forEach(function(t){return t.mask!==n||(n=t,!1)}),n}return this.maskset.metadata},isValid:function(n){var u;(this.maskset=this.maskset||e.generateMaskSet(this.opts,this.noMasksCache),n)?(u=("function"==typeof this.opts.onBeforeMask&&this.opts.onBeforeMask.call(this,n,this.opts)||n).split(""),s.checkVal.call(this,void 0,!0,!1,u)):n=this.isRTL?f.getBuffer.call(this).slice().reverse().join(""):f.getBuffer.call(this).join("");for(var i=f.getBuffer.call(this),r=f.determineLastRequiredPosition.call(this),t=i.length-1;r<t&&!f.isMask.call(this,t);t--);return i.splice(r,t+1-r),y.isComplete.call(this,i)&&n===(this.isRTL?f.getBuffer.call(this).slice().reverse().join(""):f.getBuffer.call(this).join(""))},format:function(n,t){var r,i;return this.maskset=this.maskset||e.generateMaskSet(this.opts,this.noMasksCache),r=("function"==typeof this.opts.onBeforeMask&&this.opts.onBeforeMask.call(this,n,this.opts)||n).split(""),s.checkVal.call(this,void 0,!0,!1,r),i=this.isRTL?f.getBuffer.call(this).slice().reverse().join(""):f.getBuffer.call(this).join(""),t?{value:i,metadata:this.getmetadata()}:i},setValue:function(n){this.el&&u.default(this.el).trigger("setvalue",[n])},analyseMask:e.analyseMask};r.extendDefaults=function(n){u.default.extend(!0,r.prototype.defaults,n)};r.extendDefinitions=function(n){u.default.extend(!0,r.prototype.definitions,n)};r.extendAliases=function(n){u.default.extend(!0,r.prototype.aliases,n)};r.format=function(n,t,i){return r(t).format(n,i)};r.unmask=function(n,t){return r(t).unmaskedvalue(n)};r.isValid=function(n,t){return r(t).isValid(n)};r.remove=function(n){"string"==typeof n&&(n=o.getElementById(n)||o.querySelectorAll(n));n=n.nodeName?[n]:n;
64n.forEach(function(n){n.inputmask&&n.inputmask.remove()})};r.setValue=function(n,t){"string"==typeof n&&(n=o.getElementById(n)||o.querySelectorAll(n));n=n.nodeName?[n]:n;n.forEach(function(n){n.inputmask?n.inputmask.setValue(t):u.default(n).trigger("setvalue",[t])})};r.dependencyLib=u.default;c.default.Inputmask=r;p=r;t.default=p},function(n,t,i){"use strict";function c(n,t,i,r,u){var l=this,h=this.opts,f,e,c,o;if(void 0===t)return"selectionStart"in n&&"selectionEnd"in n?(t=n.selectionStart,i=n.selectionEnd):window.getSelection?(f=window.getSelection().getRangeAt(0),f.commonAncestorContainer.parentNode!==n&&f.commonAncestorContainer!==n||(t=f.startOffset,i=f.endOffset)):document.selection&&document.selection.createRange&&(f=document.selection.createRange(),t=0-f.duplicate().moveStart("character",-n.inputmask._valueGet().length),i=t+f.text.length),{begin:r?t:s.call(this,t),end:r?i:s.call(this,i)};(Array.isArray(t)&&(i=this.isRTL?t[0]:t[1],t=this.isRTL?t[1]:t[0]),void 0!==t.begin&&(i=this.isRTL?t.begin:t.end,t=this.isRTL?t.end:t.begin),"number"==typeof t)&&(t=r?t:s.call(this,t),i=r?i:s.call(this,i),i="number"==typeof i?i:t,e=parseInt(((n.ownerDocument.defaultView||window).getComputedStyle?(n.ownerDocument.defaultView||window).getComputedStyle(n,null):n.currentStyle).fontSize)*i,(n.scrollLeft=e>n.scrollWidth?e:0,n.inputmask.caretPos={begin:t,end:i},h.insertModeVisual&&!1===h.insertMode&&t===i&&(u||i++),n===(n.inputmask.shadowRoot||document).activeElement)&&("setSelectionRange"in n?n.setSelectionRange(t,i):window.getSelection?((f=document.createRange(),void 0===n.firstChild||null===n.firstChild)&&(c=document.createTextNode(""),n.appendChild(c)),f.setStart(n.firstChild,t<n.inputmask._valueGet().length?t:n.inputmask._valueGet().length),f.setEnd(n.firstChild,i<n.inputmask._valueGet().length?i:n.inputmask._valueGet().length),f.collapse(!0),o=window.getSelection(),o.removeAllRanges(),o.addRange(f)):n.createTextRange&&(f=n.createTextRange(),f.collapse(!0),f.moveEnd("character",i),f.moveStart("character",t),f.select())))}function l(n){for(var p=this,v=this.maskset,y=this.dependencyLib,c=r.getMaskTemplate.call(this,!0,e.call(this),!0,!0),f=c.length,l=e.call(this),o={},u=v.validPositions[l],a=void 0!==u?u.locator.slice():void 0,i,s,t=l+1;t<c.length;t++)i=r.getTestTemplate.call(this,t,a,t-1),a=i.locator.slice(),o[t]=y.extend(!0,{},i);for(s=u&&void 0!==u.alternation?u.locator[u.alternation]:void 0,t=f-1;l<t&&(i=o[t],(i.match.optionality||i.match.optionalQuantifier&&i.match.newBlockMarker||s&&(s!==o[t].locator[u.alternation]&&1!=i.match.static||!0===i.match.static&&i.locator[u.alternation]&&h.checkAlternationMatch.call(this,i.locator[u.alternation].toString().split(","),s.toString().split(","))&&""!==r.getTests.call(this,t)[0].def))&&c[t]===r.getPlaceholder.call(this,t,i.match));t--)f--;return n?{l:f,def:o[f]?o[f].match:void 0}:f}function a(n,t){function k(n){var t,e,u;if(""!==h.radixPoint&&0!==h.digits&&(t=b.validPositions,void 0===t[n]||t[n].input===r.getPlaceholder.call(i,n))){if(n<f.call(i,-1))return!0;if(e=o.call(i).indexOf(h.radixPoint),-1!==e){for(u in t)if(t[u]&&e<u&&t[u].input!==r.getPlaceholder.call(i,u))return!1;return!0}}return!1}var i=this,b=this.maskset,h=this.opts,a,w;if(t&&(i.isRTL?n.end=n.begin:n.begin=n.end),n.begin===n.end){switch(h.positionCaretOnClick){case"none":break;case"select":n={begin:0,end:o.call(i).length};break;case"ignore":n.end=n.begin=f.call(i,e.call(i));break;case"radixFocus":if(k(n.begin)){a=o.call(i).join("").indexOf(h.radixPoint);n.end=n.begin=h.numericInput?f.call(i,a):a;break}default:var c=n.begin,v=e.call(i,c,!0),s=f.call(i,-1!==v||u.call(i,0)?v:-1);if(c<=s)n.end=n.begin=u.call(i,c,!1,!0)?c:f.call(i,c);else{var y=b.validPositions[v],l=r.getTestTemplate.call(i,s,y?y.match.locator:void 0,y),p=r.getPlaceholder.call(i,s,l.match);(""===p||o.call(i)[s]===p||!0===l.match.optionalQuantifier||!0===l.match.newBlockMarker)&&(u.call(i,s,h.keepStatic,!0)||l.match.def!==p)||(w=f.call(i,s),(w<=c||c===s)&&(s=w));n.end=n.begin=s}}return n}}function o(n){var i=this,t=this.maskset;return void 0!==t.buffer&&!0!==n||(t.buffer=r.getMaskTemplate.call(this,!0,e.call(this),!0),void 0===t._buffer&&(t._buffer=t.buffer.slice())),t.buffer}function v(){var t=this,n=this.maskset;return void 0===n._buffer&&(n._buffer=r.getMaskTemplate.call(this,!1,1),void 0===n.buffer&&(n.buffer=n._buffer.slice())),n._buffer}function e(n,t,i){var s=this.maskset,u=-1,f=-1,e=i||s.validPositions,o,r;for(o in void 0===n&&(n=-1),e)r=parseInt(o),e[r]&&(t||!0!==e[r].generatedInput)&&(r<=n&&(u=r),n<=r&&(f=r));
64return-1===u||u==n?f:-1==f?u:n-u<f-n?u:f}function u(n,t,i){var h=this,o=this.maskset,u=r.getTestTemplate.call(this,n).match,f,e,s;return(""===u.def&&(u=r.getTest.call(this,n).match),!0!==u.static)?u.fn:!0===i&&void 0!==o.validPositions[n]&&!0!==o.validPositions[n].generatedInput?!0:!0!==t&&-1<n?i?(f=r.getTests.call(this,n),f.length>1+(""===f[f.length-1].match.def?1:0)):(e=r.determineTestTemplate.call(this,n,r.getTests.call(this,n)),s=r.getPlaceholder.call(this,n,e.match),e.match.def!==s):!1}function y(n){var t=this.maskset;t.buffer=void 0;!0!==n&&(t.validPositions={},t.p=0)}function f(n,t,i){var e=this,f;for(void 0===i&&(i=!0),f=n+1;""!==r.getTest.call(this,f).match.def&&(!0===t&&(!0!==r.getTest.call(this,f).match.newBlockMarker||!u.call(this,f,void 0,!0))||!0!==t&&!u.call(this,f,void 0,i));)f++;return f}function p(n,t){var f=this,i=n-1;if(n<=0)return 0;for(;0<i&&(!0===t&&(!0!==r.getTest.call(this,i).match.newBlockMarker||!u.call(this,i,void 0,!0))||!0!==t&&!u.call(this,i,void 0,!0));)i--;return i}function s(n){var r=this,t=this.opts,i=this.el;return!this.isRTL||"number"!=typeof n||t.greedy&&""===t.placeholder||!i||(n=this._valueGet().length-n),n}Object.defineProperty(t,"__esModule",{value:!0});t.caret=c;t.determineLastRequiredPosition=l;t.determineNewCaretPosition=a;t.getBuffer=o;t.getBufferTemplate=v;t.getLastValidPosition=e;t.isMask=u;t.resetMaskSet=y;t.seekNext=f;t.seekPrevious=p;t.translatePosition=s;var r=i(3),h=i(4),w=i(10)},function(n,t){"use strict";function e(n,t){var i=(null!=n.alternation?n.mloc[o(n)]:n.locator).join("");if(""!==i)for(;i.length<t;)i+="0";return i}function o(n){var t=n.locator[n.alternation];
64return"string"==typeof t&&0<t.length&&(t=t.split(",")[0]),void 0!==t?t.toString():""}function u(n,t,r){var l=this,o=this.opts,c=this.maskset,u,s,h,e;if(t=t||f.call(this,n).match,void 0!==t.placeholder||!0===r)return"function"==typeof t.placeholder?t.placeholder(o):t.placeholder;if(!0!==t.static)return o.placeholder.charAt(n%o.placeholder.length);if(-1<n&&void 0===c.validPositions[n]&&(u=i.call(this,n),s=[],u.length>1+(""===u[u.length-1].match.def?1:0)))for(e=0;e<u.length;e++)if(""!==u[e].match.def&&!0!==u[e].match.optionality&&!0!==u[e].match.optionalQuantifier&&(!0===u[e].match.static||void 0===h||!1!==u[e].match.fn.test(h.match.def,c,n,!0,o))&&(s.push(u[e]),!0===u[e].match.static&&(h=u[e]),1<s.length&&/[0-9a-bA-Z]/.test(s[0].match.def)))return o.placeholder.charAt(n%o.placeholder.length);return t.def}function h(n,t,f,e,o){var d=this,a=this.opts,l=this.maskset,k=a.greedy,v,w,h,c,y,b,p;o&&(a.greedy=!1);t=t||0;v=[];h=0;do!0===n&&l.validPositions[h]?(y=o&&!0===l.validPositions[h].match.optionality&&void 0===l.validPositions[h+1]&&(!0===l.validPositions[h].generatedInput||l.validPositions[h].input==a.skipOptionalPartCharacter&&0<h)?r.call(this,h,i.call(this,h,w,h-1)):l.validPositions[h],c=y.match,w=y.locator.slice(),v.push(!0===f?y.input:!1===f?c.nativeDef:u.call(this,h,c))):(y=s.call(this,h,w,h-1),c=y.match,w=y.locator.slice(),p=!0!==e&&(!1!==a.jitMasking?a.jitMasking:c.jit),b=b&&c.static&&c.def!==a.groupSeparator&&null===c.fn||l.validPositions[h-1]&&c.static&&c.def!==a.groupSeparator&&null===c.fn,b||!1===p||void 0===p||"number"==typeof p&&isFinite(p)&&h<p?v.push(!1===f?c.nativeDef:u.call(this,h,c)):b=!1),h++;while((void 0===this.maxLength||h<this.maxLength)&&(!0!==c.static||""!==c.def)||h<t);return""===v[v.length-1]&&v.pop(),!1===f&&void 0!==l.maskLength||(l.maskLength=h-1),a.greedy=k,v}function s(n,t,u){var e=this,f=this.maskset;return f.validPositions[n]||r.call(this,n,i.call(this,n,t?t.slice():t,u))}function r(n,t){var v=this,l=this.opts,r,h;n=0<n?n-1:0;for(var a=f.call(this,n),c=e(a),u,o,i,s=0;s<t.length;s++)r=t[s],u=e(r,c.length),h=Math.abs(u-c),(void 0===o||""!==u&&h<o||i&&
64!l.greedy&&i.match.optionality&&"master"===i.match.newBlockMarker&&(!r.match.optionality||!r.match.newBlockMarker)||i&&i.match.optionalQuantifier&&!r.match.optionalQuantifier)&&(o=h,i=r);return i}function f(n,t){var u=this,r=this.maskset;return r.validPositions[n]?r.validPositions[n]:(t||i.call(this,n))[0]}function i(n,t,i){function p(t,i,r,h){function l(r,h,c){function ot(n,t){var i=0===t.matches.indexOf(n);return i||t.matches.every(function(r,u){return!0===r.isQuantifier?i=ot(n,t.matches[u-1]):Object.prototype.hasOwnProperty.call(r,"matches")&&(i=ot(n,r)),!i}),i}function pt(n,t,i){var r,f,e,o;return((u.tests[n]||u.validPositions[n])&&(u.tests[n]||[u.validPositions[n]]).every(function(n){if(n.mloc[t])return r=n,!1;var e=void 0!==i?i:n.alternation,u=void 0!==n.locator[e]?n.locator[e].toString().indexOf(t):-1;return(void 0===f||u<f)&&-1!==u&&(r=n,f=u),!0}),r)?(e=r.locator[r.alternation],o=r.mloc[t]||r.mloc[e]||r.locator,o.slice((void 0!==i?i:r.alternation)+1)):void 0!==i?pt(n,t):void 0}function wt(n,t){function i(n){for(var i=[],r=-1,u,t=0,f=n.length;t<f;t++)if("-"===n.charAt(t))for(u=n.charCodeAt(t+1);++r<u;)i.push(String.fromCharCode(r));else r=n.charCodeAt(t),i.push(n.charAt(t));return i.join("")}return n.match.def===t.match.nativeDef||!(!(s.regex||n.match.fn instanceof RegExp&&t.match.fn instanceof RegExp)||!0===n.match.static||!0===t.match.static)&&-1!==i(t.match.fn.toString().replace(/[[\]/]/g,"")).indexOf(i(n.match.fn.toString().replace(/[[\]/]/g,"")))}function ti(t,i){return!0===t.match.static&&!0!==i.match.static&&i.match.fn.test(t.match.def,u,n,!1,s,!1)}function ut(n,t){var i=n.alternation,e=void 0===t||i===t.alternation&&-1===n.locator[i].toString().indexOf(t.locator[i]),f,r,u;if(!e&&i>t.alternation)for(f=t.alternation;f<i;f++)if(n.locator[f]!==t.locator[f]){i=f;e=!0;break}if(e){if(n.mloc=n.mloc||{},r=n.locator[i],void 0!==r){if("string"==typeof r&&(r=r.split(",")[0]),void 0===n.mloc[r]&&(n.mloc[r]=n.locator.slice()),void 0!==t){for(u in t.mloc)"string"==typeof u&&(u=u.split(",")[0]),void 0===n.mloc[u]&&(n.mloc[u]=t.mloc[u]);n.locator[i]=Object.keys(n.mloc).join(",")}return!0}n.alternation=void 0}return!1}function ii(n,t){if(n.locator.length!==t.locator.length)return!1;for(var i=n.alternation+1;i<n.locator.length;i++)if(n.locator[i]!==t.locator[i])return!1;return!0}var bt,kt,vt,yt,ft,ht,y,et,ct,b,rt,tt,it;if(e>n+s._maxTestPos)throw"Inputmask: There is probably an error in your mask definition or in the code. Create an issue on github with an example of the mask you are using. "+u.mask;if(e===n&&void 0===r.matches)return f.push({match:r,locator:h.reverse(),cd:v,mloc:{}}),!0;if(void 0!==r.matches){if(r.isGroup&&c!==r){if(r=l(t.matches[t.matches.indexOf(r)+1],h,c),r)return!0}else if(r.isOptional){if(bt=r,kt=f.length,r=p(r,i,h,c),r){if(f.forEach(function(n,t){kt<=t&&(n.match.optionality=!0)}),o=f[f.length-1].match,void 0!==c||!ot(o,bt))return!0;a=!0;e=n}}else if(r.isAlternator){var st=r,k=[],lt,ri=f.slice(),dt=h.length,d=0<i.length?i.shift():-1;if(-1===d||"string"==typeof d){var gt=e,ni=i.slice(),w=[],nt;if("string"==typeof d)w=d.split(",");else for(nt=0;nt<st.matches.length;nt++)w.push(nt.toString());if(void 0!==u.excludes[n]){for(var ui=w.slice(),at=0,fi=u.excludes[n].length;at<fi;at++)vt=u.excludes[n][at].toString().split(":"),h.length==vt[1]&&w.splice(w.indexOf(vt[0]),1);0===w.length&&(delete u.excludes[n],w=ui)}for((!0===s.keepStatic||isFinite(parseInt(s.keepStatic))&&gt>=s.keepStatic)&&(w=w.slice(0,1)),yt=!1,ft=0;ft<w.length;ft++)for(nt=parseInt(w[ft]),f=[],i="string"==typeof d&&pt(e,nt,dt)||ni.slice(),st.matches[nt]&&l(st.matches[nt],[nt].concat(h),c)?r=!0:0===ft&&(yt=!0),lt=f.slice(),e=gt,f=[],ht=0;ht<lt.length;ht++){for(y=lt[ht],et=!1,y.match.jit=y.match.jit||yt,y.alternation=y.alternation||dt,ut(y),ct=0;ct<k.length;ct++)if(b=k[ct],"string"!=typeof d||void 0!==y.alternation&&w.includes(y.locator[y.alternation].toString())){if(y.match.nativeDef===b.match.nativeDef){et=!0;ut(b,y);break}if(wt(y,b)){ut(y,b)&&(et=!0,k.splice(k.indexOf(b),0,y));break}if(wt(b,y)){ut(b,y);break}if(ti(y,b)){ii(y,b)||void 0!==g.inputmask.userOptions.keepStatic?ut(y,b)&&(et=!0,k.splice(k.indexOf(b),0,y)):s.keepStatic=!0;break}}et||k.push(y)}f=ri.concat(k);e=n;a=0<f.length;r=0<k.length;i=ni.slice()}else r=l(st.matches[d]||t.matches[d],[d].concat(h),c);if(r)return!0}else if(r.isQuantifier&&c!==t.matches[t.matches.indexOf(r)-1]){for(rt=r,tt=0<i.length?i.shift():0;tt<(isNaN(rt.quantifier.max)?tt+1:rt.quantifier.max)&&e<=n;tt++)if(it=t.matches[t.matches.indexOf(rt)-1],r=l(it,[tt].concat(h),it),r){if(o=f[f.length-1].match,o.optionalQuantifier=tt>=rt.quantifier.min,o.jit=(tt||1)*it.matches.indexOf(o)>
64=rt.quantifier.jit,o.optionalQuantifier&&ot(o,it)){a=!0;e=n;break}return o.jit&&(u.jitOffset[n]=it.matches.length-it.matches.indexOf(o)),!0}}else if(r=p(r,i,h,c),r)return!0}else e++}for(var y,c=0<i.length?i.shift():0;c<t.matches.length;c++)if(!0!==t.matches[c].isQuantifier){if(y=l(t.matches[c],[c].concat(r),h),y&&e===n)return y;if(n<e)break}}function nt(n,t){var i=[],u;return Array.isArray(t)||(t=[t]),0<t.length&&(void 0===t[0].alternation||!0===s.keepStatic?(i=r.call(y,n,t.slice()).locator.slice(),0===i.length&&(i=t[0].locator.slice())):t.forEach(function(n){""!==n.def&&(0===i.length?(u=n.alternation,i=n.locator.slice()):n.locator[u]&&-1===i[u].toString().indexOf(n.locator[u])&&(i[u]+=","+n.locator[u]))})),i}var y=this,b=this.dependencyLib,u=this.maskset,s=this.opts,g=this.el,k=u.maskToken,e=t?i:0,l=t?t.slice():[0],f=[],a=!1,o,v=t?t.join(""):"",h,w,c,d;if(-1<n&&(void 0===y.maxLength||n<y.maxLength)){if(void 0===t){for(h=n-1;void 0===(w=u.validPositions[h]||u.tests[h])&&-1<h;)h--;void 0!==w&&-1<h&&(l=nt(h,w),v=l.join(""),e=h)}if(u.tests[n]&&u.tests[n][0].cd===v)return u.tests[n];for(c=l.shift();c<k.length;c++)if(d=p(k[c],l,[c]),d&&e===n||n<e)break}
64return 0!==f.length&&!a||f.push({match:{fn:null,"static":!0,optionality:!1,casing:null,def:"",placeholder:""},locator:[],mloc:{},cd:v}),void 0!==t&&u.tests[n]?b.extend(!0,[],f):(u.tests[n]=b.extend(!0,[],f),u.tests[n])}Object.defineProperty(t,"__esModule",{value:!0});t.determineTestTemplate=r;t.getDecisionTaker=o;t.getMaskTemplate=h;t.getPlaceholder=u;t.getTest=f;t.getTests=i;t.getTestTemplate=s},function(n,t,i){"use strict";function y(n){return n&&n.__esModule?n:{"default":n}}function e(n,t,i,f,s,h){var lt=this,nt=this.dependencyLib,st=this.opts,c=this.maskset,ht=nt.extend(!0,{},c.validPositions),ct=nt.extend(!0,{},c.tests),d,it,w=!1,b=!1,p,v,l,tt,a,g=void 0!==s?s:r.getLastValidPosition.call(this),et,ot,rt,ut,y,k,ft;if(h&&(rt=h.begin,ut=h.end,h.begin>h.end&&(rt=h.end,ut=h.begin)),-1===g&&void 0===s)d=0,v=u.getTest.call(this,d),it=v.alternation;else for(;0<=g;g--)if(p=c.validPositions[g],p&&void 0!==p.alternation){if(v&&v.locator[p.alternation]!==p.locator[p.alternation])break;d=g;it=c.validPositions[d].alternation;v=p}if(void 0!==it){for(a=parseInt(d),c.excludes[a]=c.excludes[a]||[],!0!==n&&c.excludes[a].push(u.getDecisionTaker(v)+":"+v.alternation),y=[],k=-1,l=a;l<r.getLastValidPosition.call(this,void 0,!0)+1;l++)-1===k&&n<=l&&void 0!==t&&(y.push(t),k=y.length-1),tt=c.validPositions[l],tt&&!0!==tt.generatedInput&&(void 0===h||l<rt||ut<=l)&&y.push(tt.input),delete c.validPositions[l];for(-1===k&&void 0!==t&&(y.push(t),k=y.length-1);void 0!==c.excludes[a]&&c.excludes[a].length<10;){for(c.tests={},r.resetMaskSet.call(this,!0),w=!0,l=0;l<y.length&&(et=w.caret||r.getLastValidPosition.call(this,void 0,!0)+1,ot=y[l],w=o.call(this,et,ot,!1,f,!0));l++)l===k&&(b=w),1==n&&w&&(b={caretPos:l});if(w)break;if(r.resetMaskSet.call(this),v=u.getTest.call(this,a),c.validPositions=nt.extend(!0,{},ht),c.tests=nt.extend(!0,{},ct),!c.excludes[a]){b=e.call(this,n,t,i,f,a-1,h);break}if(ft=u.getDecisionTaker(v),-1!==c.excludes[a].indexOf(ft+":"+v.alternation)){b=e.call(this,n,t,i,f,a-1,h);break}for(c.excludes[a].push(ft+":"+v.alternation),l=a;l<r.getLastValidPosition.call(this,void 0,!0)+1;l++)delete c.validPositions[l]}}return b&&!1===st.keepStatic||delete c.excludes[a],b}function p(n,t,i){var r=this.opts,o=this.maskset,u,e;switch(r.casing||t.casing){case"upper":n=n.toUpperCase();break;case"lower":n=n.toLowerCase();break;case"title":u=o.validPositions[i-1];n=0===i||u&&u.input===String.fromCharCode(f.default.SPACE)?n.toUpperCase():n.toLowerCase();break;default:"function"==typeof r.casing&&(e=Array.prototype.slice.call(arguments),e.push(o.validPositions),n=r.casing.apply(this,e))}return n}function w(n,t,i){for(var r,s=this.opts,h=s.greedy?t:t.slice(0,1),f=!1,e=void 0!==i?i.split(","):[],o,u=0;u<e.length;u++)-1!==(o=n.indexOf(e[u]))&&n.splice(o,1);for(r=0;r<n.length;r++)if(h.includes(n[r])){f=!0;break}return f}function b(n,t,i,o){var w=this,p=this.maskset,c=this.opts,a,l,v,h,y;(c.numericInput||this.isRTL)&&(t===f.default.BACKSPACE?t=f.default.DELETE:t===f.default.DELETE&&(t=f.default.BACKSPACE),this.isRTL)&&(a=i.end,i.end=i.begin,i.begin=a);l=r.getLastValidPosition.call(this,void 0,!0);(i.end>=r.getBuffer.call(this).length&&l>=i.end&&(i.end=l+1),t===f.default.BACKSPACE?i.end-i.begin<1&&(i.begin=r.seekPrevious.call(this,i.begin)):t===f.default.DELETE&&i.begin===i.end&&(i.end=r.isMask.call(this,i.end,!0,!0)?i.end+1:r.seekNext.call(this,i.end)+1),!1!==(v=s.call(this,i)))&&((!0!==o&&!1!==c.keepStatic||null!==c.regex&&-1!==u.getTest.call(this,i.begin).match.def.indexOf("|"))&&(h=e.call(this,!0),h&&(y=void 0!==h.caret?h.caret:h.pos?r.seekNext.call(this,h.pos.begin?h.pos.begin:h.pos):r.getLastValidPosition.call(this,-1,!0),(t!==f.default.DELETE||i.begin>y)&&i.begin)),!0!==o&&(p.p=t===f.default.DELETE?i.begin+v:i.begin))}function h(n){var c=this,e=this.opts,s=this.maskset,t,i;if("function"==typeof e.isComplete)return e.isComplete(n,e);if("*"!==e.repeat){var o=!1,f=r.determineLastRequiredPosition.call(this,!0),h=r.seekPrevious.call(this,f.l);if(void 0===f.def||f.def.newBlockMarker||f.def.optionality||f.def.optionalQuantifier)for(o=!0,t=0;t<=h;t++)if(i=u.getTestTemplate.call(this,t).match,!0!==i.static&&void 0===s.validPositions[t]&&!0!==i.optionality&&!0!==i.optionalQuantifier||!0===i.static&&n[t]!==u.getPlaceholder.call(this,t,i)){o=!1;break}return o}}function o(n,t,i,f,c,v,y){function ft(n){return b.isRTL?1<n.begin-n.end||n.begin-n.end==1:1<n.end-n.begin||n.end-n.begin==1}
64function et(n){if(void 0!==n){if(void 0!==n.remove&&(Array.isArray(n.remove)||(n.remove=[n.remove]),n.remove.sort(function(n,t){return t.pos-n.pos}).forEach(function(n){s.call(b,{begin:n,end:n+1})}),n.remove=void 0),void 0!==n.insert&&(Array.isArray(n.insert)||(n.insert=[n.insert]),n.insert.sort(function(n,t){return n.pos-t.pos}).forEach(function(n){""!==n.c&&o.call(b,n.pos,n.c,void 0===n.strict||n.strict,void 0!==n.fromIsValid?n.fromIsValid:f)}),n.insert=void 0),n.refreshFromBuffer&&n.buffer){var t=n.refreshFromBuffer;l.call(b,!0===t?t:t.start,t.end,n.buffer);n.refreshFromBuffer=void 0}void 0!==n.rewritePosition&&(w=n.rewritePosition,n=!0)}return n}function ht(t,i,e){var o=!1;return u.getTests.call(b,t).every(function(h){var c=h.match,l,a;return(r.getBuffer.call(b,!0),o=null!=c.fn?c.fn.test(i,d,t,e,g,ft(n)):(i===c.def||i===g.skipOptionalPartCharacter)&&""!==c.def&&{c:u.getPlaceholder.call(b,t,c,!0)||c.def,pos:t},!1===o)?!0:(l=void 0!==o.c?o.c:i,a=t,l=l===g.skipOptionalPartCharacter&&!0===c.static?u.getPlaceholder.call(b,t,c,!0)||c.def:l,o=et(o),!0!==o&&void 0!==o.pos&&o.pos!==t&&(a=o.pos),!0!==o&&void 0===o.pos&&void 0===o.c||!1===s.call(b,n,ut.extend({},h,{input:p.call(b,l,c,a)}),f,a)&&(o=!1),!1)}),o}var b=this,ut=this.dependencyLib,g=this.opts,st=b.el,d=b.maskset,w,k,ct,nt,it,ot,tt,lt,rt;if(i=!0===i,w=n,void 0!==n.begin&&(w=b.isRTL?n.end:n.begin),k=!0,ct=ut.extend(!0,{},d.validPositions),!1===g.keepStatic&&void 0!==d.excludes[w]&&!0!==c&&!0!==f)for(nt=w;nt<(b.isRTL?n.begin:n.end);nt++)void 0!==d.excludes[nt]&&(d.excludes[nt]=void 0,delete d.tests[nt]);if("function"==typeof g.preValidation&&!0!==f&&!0!==v&&(k=g.preValidation.call(st,r.getBuffer.call(b),w,t,ft(n),g,d,n,i||c),k=et(k)),!0===k){if(void 0===b.maxLength||w<b.maxLength){if(k=ht(w,t,i),(!i||!0===f)&&!1===k&&!0!==v)if(it=d.validPositions[w],it&&!0===it.match.static&&(it.match.def===t||t===g.skipOptionalPartCharacter))k={caret:r.seekNext.call(b,w)};else if((g.insertMode||void 0===d.validPositions[r.seekNext.call(b,w)]||n.end>w)&&(ot=!1,d.jitOffset[w]&&void 0===d.validPositions[r.seekNext.call(b,w)]&&(k=o.call(b,w+d.jitOffset[w],t,!0),!1!==k&&(!0!==c&&(k.caret=w),ot=!0)),n.end>w&&(d.validPositions[w]=void 0),!ot&&!r.isMask.call(b,w,g.keepStatic&&0===w)))for(tt=w+1,lt=r.seekNext.call(b,w,!1,0!==w);tt<=lt;tt++)if(k=ht(tt,t,i),!1!==k){k=a.call(b,w,void 0!==k.pos?k.pos:tt)||k;w=tt;break}}else k=!1;!1!==k||!g.keepStatic||!h.call(b,r.getBuffer.call(b))&&0!==w||i||!0===c?ft(n)&&d.tests[w]&&1<d.tests[w].length&&g.keepStatic&&!i&&!0!==c&&(k=e.call(b,!0)):k=e.call(b,w,t,i,f,void 0,n);!0===k&&(k={pos:w})}return"function"==typeof g.postValidation&&!0!==f&&!0!==v&&(rt=g.postValidation.call(st,r.getBuffer.call(b,!0),void 0!==n.begin?b.isRTL?n.end:n.begin:n,t,k,g,d,i,y),void 0!==rt&&(k=!0===rt?k:rt)),k&&void 0===k.pos&&(k.pos=w),!1===k||!0===v?(r.resetMaskSet.call(b,!0),d.validPositions=ut.extend(!0,{},ct)):a.call(b,void 0,w,!0),et(k)}function c(n,t,i){for(var s=this,o=this.maskset,e=!1,f=u.getTests.call(this,n),r=0;r<f.length;r++){if(f[r].match&&(!(f[r].match.nativeDef!==t.match[i.shiftPositions?"def":"nativeDef"]||i.shiftPositions&&t.match.static)||f[r].match.nativeDef===t.match.nativeDef)){e=!0;break}if(f[r].match&&f[r].match.def===t.match.nativeDef){e=void 0;break}}return!1===e&&void 0!==o.jitOffset[n]&&(e=c.call(this,n+o.jitOffset[n],t,i)),e}function l(n,t,i){var p=this,h=this.maskset,e=this.opts,c=this.dependencyLib,l=this.el,u,f,a=e.skipOptionalPartCharacter,y=this.isRTL?i.slice().reverse():i,o,s;if(e.skipOptionalPartCharacter="",!0===n)r.resetMaskSet.call(this),h.tests={},n=0,t=i.length,f=r.determineNewCaretPosition.call(this,{begin:0,end:0},!1).begin;else{for(u=n;u<t;u++)delete h.validPositions[u];f=n}for(o=new c.Event("keypress"),u=n;u<t;u++)o.which=y[u].toString().charCodeAt(0),this.ignorable=!1,s=v.EventHandlers.keypressEvent.call(l,o,!0,!1,!1,f),!1!==s&&(f=s.forwardPosition);e.skipOptionalPartCharacter=a}function a(n,t,i){var p=this,h=this.maskset,y=this.dependencyLib,f,l,c,e,a,v;if(void 0===n)for(n=t-1;0<n&&!h.validPositions[n];n--);for(f=n;f<t;f++)if(void 0===h.validPositions[f]&&!r.isMask.call(this,f,!0)&&(l=0==f?u.getTest.call(this,f):h.validPositions[f-1],l&&(c=u.getTests.call(this,f).slice(),""===c[c.length-1].match.def&&c.pop(),e=u.determineTestTemplate.call(this,f,c),e&&(!0!==e.match.jit||"master"===e.match.newBlockMarker&&(a=h.validPositions[f+1])&&!0===a.match.optionalQuantifier)&&(e=y.extend({},e,{input:u.getPlaceholder.call(this,f,e.match,!0)||e.match.def}),e.generatedInput=!0,s.call(this,f,e,!0),!0!==i))))return v=h.val
64idPositions[t].input,h.validPositions[t]=void 0,o.call(this,t,v,!0,!0)}function s(n,t,i,f){function it(n,t,i){var r=t[n],u,f;return void 0===r||!0!==r.match.static||!0===r.match.optionality||void 0!==t[0]&&void 0!==t[0].alternation?!1:(u=i.begin<=n-1?t[n-1]&&!0===t[n-1].match.static&&t[n-1]:t[n-1],f=i.end>n+1?t[n+1]&&!0===t[n+1].match.static&&t[n+1]:t[n+1],u&&f)}var rt=this,s=this.maskset,g=this.opts,p=this.dependencyLib,nt=0,v=void 0!==n.begin?n.begin:n,y=void 0!==n.end?n.end:n,w,k,e,d;if(n.begin>n.end&&(v=n.end,y=n.begin),f=void 0!==f?f:v,v!==y||g.insertMode&&void 0!==s.validPositions[f]&&void 0===i||void 0===t){for(w=p.extend(!0,{},s.validPositions),k=r.getLastValidPosition.call(this,void 0,!0),s.p=v,e=k;v<=e;e--)delete s.validPositions[e],void 0===t&&delete s.tests[e+1];var a=!0,b=f,h=b,l,tt;for(t&&(s.validPositions[f]=p.extend(!0,{},t),h++,b++),e=t?y:y-1;e<=k;e++){if(void 0!==(l=w[e])&&!0!==l.generatedInput&&(y<=e||v<=e&&it(e,w,{begin:v,end:y}))){for(;""!==u.getTest.call(this,h).match.def;){if(!1!==(tt=c.call(this,h,l,g))||"+"===l.match.def){if("+"===l.match.def&&r.getBuffer.call(this,!0),d=o.call(this,h,l.input,"+"!==l.match.def,"+"!==l.match.def),a=!1!==d,b=(d.pos||h)+1,!a&&tt)break}else a=!1;if(a){void 0===t&&l.match.static&&e===n.begin&&nt++;break}if(!a&&h>s.maskLength)break;h++}""==u.getTest.call(this,h).match.def&&(a=!1);h=b}if(!a)break}if(!a)return s.validPositions=p.extend(!0,{},w),r.resetMaskSet.call(this,!0),!1}else t&&u.getTest.call(this,f).match.cd===t.match.cd&&(s.validPositions[f]=p.extend(!0,{},t));return r.resetMaskSet.call(this,!0),nt}Object.defineProperty(t,"__esModule",{value:!0});t.alternate=e;t.checkAlternationMatch=w;t.isComplete=h;t.isValid=o;t.refreshFromBuffer=l;t.revalidateMask=s;t.handleRemove=b;var u=i(3),f=y(i(0)),r=i(2),v=i(6)},function(n,t,i){"use strict";function v(n){return n&&n.__esModule?n:{"default":n}}function h(n,t){var i=n?n.inputmask:this,u=i.opts;n.inputmask.refreshValue=!1;"function"==typeof u.onBeforeMask&&(t=u.onBeforeMask.call(i,t,u)||t);t=t.toString().split("");l(n,!0,!1,t);i.undoValue=r.getBuffer.call(i).join("");(u.clearMaskOnLostFocus||u.clearIncomplete)&&n.inputmask._valueGet()===r.getBufferTemplate.call(i).join("")&&-1===r.getLastValidPosition.call(i)&&n.inputmask._valueSet("")}function c(n){var r=this,t,i;for(n.length=0,t=u.getMaskTemplate.call(this,!0,0,!0,void 0,!0);void 0!==(i=t.shift());)n.push(i);return n}function l(n,t,i,s,h){function ft(n,t){for(var e,o,f=u.getMaskTemplate.call(c,!0,0).slice(n,r.seekNext.call(c,n)).join("").replace(/'/g,""),i=f.indexOf(t);0<i&&" "===f[i-1];)i--;return e=0===i&&!r.isMask.call(c,n)&&(u.getTest.call(c,n).match.nativeDef===t.charAt(0)||!0===u.getTest.call(c,n).match.static&&u.getTest.call(c,n).match.nativeDef==="'"+t.charAt(0)||" "===u.getTest.call(c,n).match.nativeDef&&(u.getTest.call(c,n+1).match.nativeDef===t.charAt(0)||!0===u.getTest.call(c,n+1).match.static&&u.getTest.call(c,n+1).match.nativeDef==="'"+t.charAt(0))),!e&&0<i&&!r.isMask.call(c,n,!1,!0)&&(o=r.seekNext.call(c,n),c.caretPos.begin<o&&(c.caretPos={begin:o})),e}var c=n?n.inputmask:this,a=c.maskset,p=c.opts,b=c.dependencyLib,k=s.slice(),d="",y=-1,l=void 0,ut=p.skipOptionalPartCharacter,v,g,nt,tt,w,it,rt;if(p.skipOptionalPartCharacter="",r.resetMaskSet.call(c),a.tests={},y=p.radixPoint?r.determineNewCaretPosition.call(c,{begin:0,end:0}).begin:0,a.p=y,c.caretPos={begin:y},v=[],g=c.caretPos,(k.forEach(function(t,s){var h,p;void 0!==t&&(void 0===a.validPositions[s]&&k[s]===u.getPlaceholder.call(c,s)&&r.isMask.call(c,s,!0)&&!1===f.isValid.call(c,s,k[s],!0,void 0,void 0,!0)?a.p++:(h=new b.Event("_checkval"),h.which=t.toString().charCodeAt(0),d+=t,p=r.getLastValidPosition.call(c,void 0,!0),ft(y,d)?l=o.EventHandlers.keypressEvent.call(n||c,h,!0,!1,i,p+1):(l=o.EventHandlers.keypressEvent.call(n||c,h,!0,!1,i,c.caretPos.begin),l&&(y=c.caretPos.begin+1,d="")),l?(void 0!==l.pos&&a.validPositions[l.pos]&&!0===a.validPositions[l.pos].match.static&&void 0===a.validPositions[l.pos].alternation&&(v.push(l.pos),c.isRTL||(l.forwardPosition=l.pos+1)),e.call(c,void 0,r.getBuffer.call(c),l.forwardPosition,h,!1),c.caretPos={begin:l.forwardPosition,end:l.forwardPosition},g=c.caretPos):c.caretPos=g))}),0<v.length)&&(w=r.seekNext.call(c,-1,void 0,!1),!f.isComplete.call(c,r.getBuffer.call(c))&&v.length<=w||f.isComplete.call(c,r.getBuffer.call(c))&&0<v.length&&v.length!==w&&0===v[0]))for(it=w;void 0!==(nt=v.shift());){if(rt=new b.Event("_checkval"),tt=a.validPositions[nt],tt.generatedInput=!0,rt.which=tt.input.charCodeAt(0),l=o.EventHandlers.keypressEvent.call(n,rt,!0,!1,i,it),l&&void 0!==l.pos&&l.pos!==nt&&a.validPositions[l.pos]&&!0===a.val
64idPositions[l.pos].match.static)v.push(l.pos);else if(!l)break;it++}t&&e.call(c,n,r.getBuffer.call(c),l?l.forwardPosition:c.caretPos.begin,h||new b.Event("checkval"),h&&"input"===h.type&&c.undoValue!==r.getBuffer.call(c).join(""));p.skipOptionalPartCharacter=ut}function y(n,t){var i=n?n.inputmask:this,u,f,o;a.ie?n.inputmask._valueGet()!==t&&(n.placeholder!==t||""===n.placeholder)&&(u=r.getBuffer.call(i).slice(),f=n.inputmask._valueGet(),f!==t&&(o=r.getLastValidPosition.call(i),-1===o&&f===r.getBufferTemplate.call(i).join("")?u=[]:-1!==o&&c.call(i,u),e(n,u))):n.placeholder!==t&&(n.placeholder=t,""===n.placeholder&&n.removeAttribute("placeholder"))}function p(n){var t=n?n.inputmask:this,o=t.opts,s=t.maskset,f,i,u,e,c;if(n){if(void 0===n.inputmask)return n.value;n.inputmask&&n.inputmask.refreshValue&&h(n,n.inputmask._valueGet(!0))}f=[];i=s.validPositions;for(u in i)i[u]&&i[u].match&&(1!=i[u].match.static||Array.isArray(s.metadata)&&!0!==i[u].generatedInput)&&f.push(i[u].input);return e=0===f.length?"":(t.isRTL?f.reverse():f).join(""),"function"==typeof o.onUnMask&&(c=(t.isRTL?r.getBuffer.call(t).slice().reverse():r.getBuffer.call(t)).join(""),e=o.onUnMask.call(t,c,e,o)),e}function e(n,t,i,u,e){var o=n?n.inputmask:this,a=o.opts,y=o.dependencyLib,h,c,l,v;u&&"function"==typeof a.onBeforeWrite&&(h=a.onBeforeWrite.call(o,u,t,i,a),h&&(h.refreshFromBuffer&&(c=h.refreshFromBuffer,f.refreshFromBuffer.call(o,!0===c?c:c.start,c.end,h.buffer||t),t=r.getBuffer.call(o,!0)),void 0!==i&&(i=void 0!==h.caret?h.caret:i)));void 0!==n&&(n.inputmask._valueSet(t.join("")),void 0===i||void 0!==u&&"blur"===u.type||r.caret.call(o,n,i,void 0,void 0,void 0!==u&&"keydown"===u.type&&(u.keyCode===s.default.DELETE||u.keyCode===s.default.BACKSPACE)),!0===e)&&(l=y(n),v=n.inputmask._valueGet(),n.inputmask.skipInputEvent=!0,l.trigger("input"),setTimeout(function(){v===r.getBufferTemplate.call(o).join("")?l.trigger("cleared"):!0===f.isComplete.call(o,t)&&l.trigger("complete")},0))}Object.defineProperty(t,"__esModule",{value:!0});t.applyInputValue=h;t.clearOptionalTail=c;t.checkVal=l;t.HandleNativePlaceholder=y;t.unmaskedvalue=p;t.writeBuffer=e;var s=v(i(0)),u=i(3),r=i(2),f=i(4),a=i(7),o=i(6)},function(n,t,i){"use strict";function c(n){return n&&n.__esModule?n:{"default":n}}var o;Object.defineProperty(t,"__esModule",{value:!0});t.EventHandlers=void 0;var r=i(2),u=c(i(0)),s=i(7),e=i(4),f=i(5),h=i(3);o={keydownEvent:function(n){var t=this.inputmask,l=t.opts,p=t.dependencyLib,a=t.maskset,o=this,w=p(o),c=n.keyCode,i=r.caret.call(t,o),y=l.onKeyDown.call(this,n,r.getBuffer.call(t),i,l),v;if(void 0!==y)return y;c!==u.default.BACKSPACE&&c!==u.default.DELETE&&(!s.iphone||c!==u.default.BACKSPACE_SAFARI)&&(!n.ctrlKey||c!==u.default.X||"oncut"in o)?c===u.default.END||c===u.default.PAGE_DOWN?(n.preventDefault(),v=r.seekNext.call(t,r.getLastValidPosition.call(t)),r.caret.call(t,o,n.shiftKey?i.begin:v,v,!0)):c===u.default.HOME&&!n.shiftKey||c===u.default.PAGE_UP?(n.preventDefault(),r.caret.call(t,o,0,n.shiftKey?i.begin:0,!0)):(l.undoOnEscape&&c===u.default.ESCAPE||90===c&&n.ctrlKey)&&!0!==n.altKey?(f.checkVal(o,!0,!1,t.undoValue.split("")),w.trigger("click")):!0===l.tabThrough&&c===u.default.TAB?!0===n.shiftKey?(i.end=r.seekPrevious.call(t,i.end,!0),!0===h.getTest.call(t,i.end-1).match.static&&i.end--,i.begin=r.seekPrevious.call(t,i.end,!0),0<=i.begin&&0<i.end&&(n.preventDefault(),r.caret.call(t,o,i.begin,i.end))):(i.begin=r.seekNext.call(t,i.begin,!0),i.end=r.seekNext.call(t,i.begin,!0),i.end<a.maskLength&&i.end--,i.begin<=a.maskLength&&(n.preventDefault(),r.caret.call(t,o,i.begin,i.end))):n.shiftKey||l.insertModeVisual&&!1===l.insertMode&&(c===u.default.RIGHT?setTimeout(function(){var n=r.caret.call(t,o);r.caret.call(t,o,n.begin)},0):c===u.default.LEFT&&setTimeout(function(){var n=r.translatePosition.call(t,o.inputmask.caretPos.begin),i=r.translatePosition.call(t,o.inputmask.caretPos.end);t.isRTL?r.caret.call(t,o,n+(n===a.maskLength?0:1)):r.caret.call(t,o,n-(0===n?0:1))},0)):(n.preventDefault(),e.handleRemove.call(t,o,c,i),f.writeBuffer(o,r.getBuffer.call(t,!0),a.p,n,o.inputmask._valueGet()!==r.getBuffer.call(t).join("")));t.ignorable=l.ignorables.includes(c)},keypressEvent:function(n,t,i,o,s){var h=this.inputmask||this,v=h.opts,d=h.dependencyLib,p=h.maskset,y=h.el,g=d(y),l=n.which||n.charCo
64de||n.keyCode,w,a,b,c,k;return!(!0===t||n.ctrlKey&&n.altKey)&&(n.ctrlKey||n.metaKey||h.ignorable)?(l===u.default.ENTER&&h.undoValue!==r.getBuffer.call(h).join("")&&(h.undoValue=r.getBuffer.call(h).join(""),setTimeout(function(){g.trigger("change")},0)),h.skipInputEvent=!0,!0):l&&(44!==l&&46!==l||3!==n.location||""===v.radixPoint||(l=v.radixPoint.charCodeAt(0)),w=t?{begin:s,end:s}:r.caret.call(h,y),b=String.fromCharCode(l),p.writeOutBuffer=!0,c=e.isValid.call(h,w,b,o,void 0,void 0,void 0,t),(!1!==c&&(r.resetMaskSet.call(h,!0),a=void 0!==c.caret?c.caret:r.seekNext.call(h,c.pos.begin?c.pos.begin:c.pos),p.p=a),a=v.numericInput&&void 0===c.caret?r.seekPrevious.call(h,a):a,!1!==i&&(setTimeout(function(){v.onKeyValidation.call(y,l,c)},0),p.writeOutBuffer&&!1!==c))&&(k=r.getBuffer.call(h),f.writeBuffer(y,k,a,n,!0!==t)),n.preventDefault(),t)?(!1!==c&&(c.forwardPosition=a),c):void 0},keyupEvent:function(n){var t=this.inputmask;t.isComposing&&(n.keyCode===u.default.KEY_229||n.keyCode===u.default.ENTER)&&t.$el.trigger("input")},pasteEvent:function(n){var t=this.inputmask,h=t.opts,l=this,i=t._valueGet(!0),u=r.caret.call(t,this),c,o,s,e;if(t.isRTL&&(c=u.end,u.end=u.begin,u.begin=c),o=i.substr(0,u.begin),s=i.substr(u.end,i.length),o==(t.isRTL?r.getBufferTemplate.call(t).slice().reverse():r.getBufferTemplate.call(t)).slice(0,u.begin).join("")&&(o=""),s==(t.isRTL?r.getBufferTemplate.call(t).slice().reverse():r.getBufferTemplate.call(t)).slice(u.end).join("")&&(s=""),window.clipboardData&&window.clipboardData.getData)i=o+window.clipboardData.getData("Text")+s;else{if(!n.clipboardData||!n.clipboardData.getData)return!0;i=o+n.clipboardData.getData("text/plain")+s}if(e=i,"function"==typeof h.onBeforePaste){if(e=h.onBeforePaste.call(t,i,h),!1===e)return n.preventDefault();e=e||i}return f.checkVal(this,!0,!1,e.toString().split(""),n),n.preventDefault()},inputFallBackEvent:function(n){function w(n,i,u){var f,e;return s.iemobile&&(f=i.replace(r.getBuffer.call(t).join(""),""),1===f.length&&(e=i.split(""),e.splice(u.begin,0,f),i=e.join(""))),i}function b(n,i,u){for(var e,o,l=n.substr(0,u.begin).split(""),a=n.substr(u.begin).split(""),v=i.substr(0,u.begin).split(""),y=i.substr(u.begin).split(""),k=l.length>=v.length?l.length:v.length,d=a.length>=y.length?a.length:y.length,s,f,c="",w=[],b;l.length<k;)l.push("~");for(;v.length<k;)v.push("~");for(;a.length<d;)a.unshift("~");for(;y.length<d;)y.unshift("~");for(e=l.concat(a),o=v.concat(y),f=0,s=e.length;f<s;f++)switch(b=h.getPlaceholder.call(t,r.translatePosition.call(t,f)),c){case"insertText":o[f-1]===e[f]&&u.begin==e.length-1&&w.push(e[f]);f=s;break;case"insertReplacementText":"~"===e[f]?u.end++:f=s;break;case"deleteContentBackward":"~"===e[f]?u.end++:f=s;break;default:e[f]!==o[f]&&("~"!==e[f+1]&&e[f+1]!==b&&void 0!==e[f+1]||(o[f]!==b||"~"!==o[f+1])&&"~"!==o[f]?"~"===o[f+1]&&o[f]===e[f+1]?(c="insertText",w.push(e[f]),u.begin--,u.end--):e[f]!==b&&"~"!==e[f]&&("~"===e[f+1]||o[f]!==e[f]&&o[f+1]===e[f+1])?(c="insertReplacementText",w.push(e[f]),u.begin--):"~"===e[f]?(c="deleteContentBackward",!r.isMask.call(t,r.translatePosition.call(t,f),!0)&&o[f]!==p.radixPoint||u.end++):f=s:(c="insertText",w.push(e[f]),u.begin--,u.end--))}return{action:c,data:w,caret:u}}var t=this.inputmask,p=t.opts,v=t.dependencyLib,i=this,e=i.inputmask._valueGet(!0),y=(t.isRTL?r.getBuffer.call(t).slice().reverse():r.getBuffer.call(t)).join(""),c=r.caret.call(t,i,void 0,void 0,!0),l,a;if(y!==e){e=w(i,e,c);l=b(e,y,c);switch((i.inputmask.shadowRoot||document).activeElement!==i&&i.focus(),f.writeBuffer(i,r.getBuffer.call(t)),r.caret.call(t,i,c.begin,c.end,!0),l.action){case"insertText":case"insertReplacementText":l.data.forEach(function(n){var r=new v.Event("keypress");r.which=n.charCodeAt(0);t.ignorable=!1;o.keypressEvent.call(i,r)});setTimeout(function(){t.$el.trigger("keyup")},0);break;case"deleteContentBackward":a=new v.Event("keydown");a.keyCode=u.default.BACKSPACE;o.keydownEvent.call(i,a);break;default:f.applyInputValue(i,e)}n.preventDefault()}},compositionendEvent:function(){var n=this.inputmask;n.isComposing=!1;n.$el.trigger("input")},setValueEvent:function(n,t,i){var e=this.inputmask,o=this,u=n&&n.detail?n.detail[0]:t;void 0===u&&(u=this.inputmask._valueGet(!0));f.applyInputValue(this,u);(n.detail&&void 0!==n.detail[1]||void 0!==i)&&r.caret.call(e,this,n.detail?n.detail[1]:i)},focusEvent:function(n){var t=this.inputmask,i=t.opts,s=this,u=this.inputmask._valueGet();i.showMaskOnFocus&&u!==r.getBuffer.call(t).join("")&&f.writeBuffer(this,r.getBuffer.call(t),r.seekNext.call(t,r.getLastValidPosition.call(t)));!0!==i.positionCaretOnTab||!1!==t.mouseEnter||e.isComplete.call(t,r.getBuffer.call(t))&&-1!==r.getLastValidPosition.call(t)||o.clickEvent.apply(this,[n,!0]);t.undoValue=r.getBuffer.call(t).join("")},invalidEvent:function(){this.inputmask.validationEvent=!0},mouseleaveEvent:function(){var n=this.inputmask,t=n.opts,i=this;n.mouseEnter=!1;t.clearMaskOnLostFocus&&(this.inputmask.shadowRoot||document).activeElement!==this&&f.HandleNativePlaceholder(this,n.originalPlaceholder)},clickEvent:function(n,t){var i=this.inputmask,f=this,u;(this.inputmask.shadowRoot||document).activeElement===this&&(u=r.determineNewCaretPosition.call(i,r.caret.call(i,this),t),void 0!==u&&r.caret.call(i,this,u))},cutEvent:function(n){var t=this.inputmask,s=t.maskset,c=this,i=r.caret.call(t,this),h=window.clipboardData||n.clipboardData,o=t.isRTL?r.getBuffer.call(t).slice(i.end,i.begin):r.getBuffer.call(t).slice(i.begin,i.end);h.setData("text",t.isRTL?o.reverse().join(""):o.join(""));document.execCommand&&document.execCommand("copy");e.handleRemove.call(t,this,u.default.DELETE,i);f.writeBuffer(this,r.getBuffer.call(t),s.p,n,t.undoValue!==r.getBuffer.call(t).join(""))},blurEvent:function(n){var t=this.inputmask,u=t.opts,h=t.dependencyLib,s=h(this),c=this,o,i;this.inputmask&&(f.HandleNativePlaceholder(this,t.originalPlaceholder),o=this.inputmask._valueGet(),i=r.getBuffer.call(t).slice(),""!==o&&(u.clearMaskOnLostFocus&&(-1===r.getLastValidPosition.call(t)&&o===r.getBufferTemplate.call(t).join("")?i=[]:f.clearOptionalTail.call(t,i)),!1===e.isComplete.call(t,i)&&(setTimeout(function(){s.trigger("incomplete")},0),u.clearIncomplete&&(r.resetMaskSet.call(t),i=u.clearMaskOnLostFocus?[]:r.getBufferTemplate.call(t).slice())),f.writeBuffer(this,i,void 0,n)),t.undoValue!==r.getBuffer.call(t).join("")&&(t.undoValue=r.getBuffer.call(t).join(""),s.trigger("change")))},mouseenterEvent:function(){var n=this.inputmask,t=n.opts,i=this;n.mouseEnter=!0;(this.inputmask.shadowRoot||document).activeElement!==this&&(null==n.originalPlaceholder&&this.placeholder!==n.originalPlaceholder&&(n.originalPlaceholder=this.placeholder),t.showMaskOnHover&&f.HandleNativePlaceholder(this,(n.isRTL?r.getBufferTemplate.call(n).slice().reverse():r.getBufferTemplate.call(n)).join("")))},submitEvent:function(){var n=this.inputmask,t=n.opts;n.undoValue!==r.getBuffer.call(n).join("")&&n.$el.trigger("change");t.clearMaskOnLostFocus&&-1===r.getLastValidPosition.call(n)&&n._valueGet&&n._valueGet()===r.getBufferTemplate.call(n).join("")&&n._valueSet("");t.clearIncomplete&&!1===e.isComplete.call(n,r.getBuffer.call(n))&&n._valueSet("");t.removeMaskOnSubmit&&(n._valueSet(n.unmaskedvalue(),!0),setTimeout(function(){f.writeBuffer(n.el,r.getBuffer.call(n))},0))},resetEvent:function(){var n=this.inputmask;n.refreshValue=!0;setTimeout(function(){f.applyInputValue(n.el,n._valueGet(!0))}
64,0)}};t.EventHandlers=o},function(n,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.iphone=t.iemobile=t.mobile=t.ie=t.ua=void 0;var i=window.navigator&&window.navigator.userAgent||"",u=0<i.indexOf("MSIE ")||0<i.indexOf("Trident/"),f="ontouchstart"in window,r=/iemobile/i.test(i),e=/iphone/i.test(i)&&!r;t.iphone=e;t.iemobile=r;t.mobile=f;t.ie=u;t.ua=i},function(t){t.exports=n},function(){"use strict";function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},n(t)}"function"!=typeof Object.getPrototypeOf&&(Object.getPrototypeOf="object"===n("test".__proto__)?function(n){return n.__proto__}:function(n){return n.constructor.prototype})},function(n,t,i){"use strict";function c(n){return n&&n.__esModule?n:{"default":n}}function l(){function y(n,i){function l(n){function a(n){if(c.valHooks&&(void 0===c.valHooks[n]||!0!==c.valHooks[n].inputmaskpatch)){var r=c.valHooks[n]&&c.valHooks[n].get?c.valHooks[n].get:function(n){return n.value},u=c.valHooks[n]&&c.valHooks[n].set?c.valHooks[n].set:function(n,t){return n.value=t,n};c.valHooks[n]={get:function(n){if(n.inputmask){if(n.inputmask.opts.autoUnmask)return n.inputmask.unmaskedvalue();var u=r(n);return-1!==f.getLastValidPosition.call(t,void 0,void 0,n.inputmask.maskset.validPositions)||!0!==i.nullable?u:""}return r(n)},set:function(n,t){var i=u(n,t);return n.inputmask&&e.applyInputValue(n,t),i},inputmaskpatch:!0}}}function h(){return this.inputmask?this.inputmask.opts.autoUnmask?this.inputmask.unmaskedvalue():-1!==f.getLastValidPosition.call(t)||!0!==i.nullable?(this.inputmask.shadowRoot||document.activeElement)===this&&i.clearMaskOnLostFocus?(t.isRTL?e.clearOptionalTail.call(t,f.getBuffer.call(t).slice()).reverse():e.clearOptionalTail.call(t,f.getBuffer.call(t).slice())).join(""):u.call(this):"":u.call(this)}function l(n){o.call(this,n);this.inputmask&&e.applyInputValue(this,n)}function v(n){r.EventRuler.on(n,"mouseenter",function(){var i=this,n=this.inputmask._valueGet(!0);n!==(t.isRTL?f.getBuffer.call(t).reverse():f.getBuffer.call(t)).join("")&&e.applyInputValue(this,n)})}var u,o,s;n.inputmask.__valueGet||(!0!==i.noValuePatching&&(Object.getOwnPropertyDescriptor?(s=Object.getPrototypeOf?Object.getOwnPropertyDescriptor(Object.getPrototypeOf(n),"value"):void 0,s&&s.get&&s.set?(u=s.get,o=s.set,Object.defineProperty(n,"value",{get:h,set:l,configurable:!0})):"input"!==n.tagName.toLowerCase()&&(u=function(){return this.textContent},o=function(n){this.textContent=n},Object.defineProperty(n,"value",{get:h,set:l,configurable:!0}))):document.__lookupGetter__&&n.__lookupGetter__("value")&&(u=n.__lookupGetter__("value"),o=n.__lookupSetter__("value"),n.__defineGetter__("value",h),n.__defineSetter__("value",l)),n.inputmask.__valueGet=u,n.inputmask.__valueSet=o),n.inputmask._valueGet=function(n){return t.isRTL&&!0!==n?u.call(this.el).split("").reverse().join(""):u.call(this.el)},n.inputmask._valueSet=function(n,i){o.call(this.el,null==n?"":!0!==i&&t.isRTL?n.split("").reverse().join(""):n)},void 0===u&&(u=function(){return this.value},o=function(n){this.value=n},a(n.type),v(n)))}var h,u,o;return"textarea"!==n.tagName.toLowerCase()&&i.ignorables.push(s.default.ENTER),h=n.getAttribute("type"),u="input"===n.tagName.toLowerCase()&&i.supportsInputType.includes(h)||n.isContentEditable||"textarea"===n.tagName.toLowerCase(),u||("input"===n.tagName.toLowerCase()?(o=document.createElement("input"),o.setAttribute("type",h),u="text"===o.type,o=null):u="partial"),!1!==u?l(n):n.inputmask=void 0,u}var t=this,i=this.opts,n=this.el,c=this.dependencyLib,v,l,a;r.EventRuler.off(n);v=y(n,i);!1!==v&&(t.originalPlaceholder=n.placeholder,t.maxLength=void 0!==n?n.maxLength:void 0,-1===t.maxLength&&(t.maxLength=void 0),"inputMode"in n&&null===n.getAttribute("inputmode")&&(n.inputMode=i.inputmode,n.setAttribute("inputmode",i.inputmode)),!0===v&&(i.showMaskOnFocus=i.showMaskOnFocus&&-1===["cc-number","cc-exp"].indexOf(n.autocomplete),o.iphone&&(i.insertModeVisual=!1),r.EventRuler.on(n,"submit",u.EventHandlers.submitEvent),r.EventRuler.on(n,"reset",u.EventHandlers.resetEvent),r.EventRuler.on(n,"blur",u.EventHandlers.blurEvent),r.EventRuler.on(n,"focus",u.EventHandlers.focusEvent),r.EventRuler.on(n,"invalid",u.EventHandlers.invalidEvent),r.EventRuler.on(n,"click",u.EventHandlers.clickEvent),r.EventRuler.on(n,"mouseleave",u.EventHandlers.mouseleaveEvent),r.EventRuler.on(n,"mouseenter",u.EventHandlers.mouseenterEvent),r.EventRuler.on(n,"paste",u.EventHandlers.pasteEvent),r.EventRuler.on(n,"cut",u.EventHandlers.cutEvent),r.EventRuler.on(n,"complete",i.oncomplete),r.EventRuler.on(n,"incomplete",i.onincomplete),r.EventRuler.on(n,"cleared",i.oncleared),!0!==i.inputEventOnly&&(r.
64EventRuler.on(n,"keydown",u.EventHandlers.keydownEvent),r.EventRuler.on(n,"keypress",u.EventHandlers.keypressEvent),r.EventRuler.on(n,"keyup",u.EventHandlers.keyupEvent)),(o.mobile||i.inputEventOnly)&&n.removeAttribute("maxLength"),r.EventRuler.on(n,"input",u.EventHandlers.inputFallBackEvent),r.EventRuler.on(n,"compositionend",u.EventHandlers.compositionendEvent)),r.EventRuler.on(n,"setvalue",u.EventHandlers.setValueEvent),t.undoValue=f.getBufferTemplate.call(t).join(""),l=(n.inputmask.shadowRoot||document).activeElement,(""!==n.inputmask._valueGet(!0)||!1===i.clearMaskOnLostFocus||l===n)&&(e.applyInputValue(n,n.inputmask._valueGet(!0),i),a=f.getBuffer.call(t).slice(),!1===h.isComplete.call(t,a)&&i.clearIncomplete&&f.resetMaskSet.call(t),i.clearMaskOnLostFocus&&l!==n&&(-1===f.getLastValidPosition.call(t)?a=[]:e.clearOptionalTail.call(t,a)),(!1===i.clearMaskOnLostFocus||i.showMaskOnFocus&&l===n||""!==n.inputmask._valueGet(!0))&&e.writeBuffer(n,a),l===n&&f.caret.call(t,n,f.seekNext.call(t,f.getLastValidPosition.call(t)))))}Object.defineProperty(t,"__esModule",{value:!0});t.mask=l;i(9);var s=c(i(0)),f=i(2),e=i(5),r=i(11),o=i(7),h=i(4),u=i(6)},function(n,t,i){"use strict";function f(n){return n&&n.__esModule?n:{"default":n}}var e;Object.defineProperty(t,"__esModule",{value:!0});t.EventRuler=void 0;var o=f(i(1)),r=f(i(0)),u=i(2),s=i(5);e={on:function(n,t,i){var e=n.inputmask.dependencyLib,f=function(t){var h,c;t.originalEvent&&(t=t.originalEvent||t,arguments[0]=t);var e=this,l,f=e.inputmask,v=f?f.opts:void 0,a=f.dependencyLib;if(void 0===f&&"FORM"!==this.nodeName)h=a.data(e,"_inputmask_opts"),a(e).off(),h&&new o.default(h).mask(e);else{if("setvalue"===t.type||"FORM"===this.nodeName||!(e.disabled||e.readOnly&&!("keydown"===t.type&&t.ctrlKey&&67===t.keyCode||!1===v.tabThrough&&t.keyCode===r.default.TAB))){switch(t.type){case"input":if(!0===f.skipInputEvent||t.inputType&&"insertCompositionText"===t.inputType)return f.skipInputEvent=!1,t.preventDefault();break;case"keydown":f.skipKeyPressEvent=!1;f.skipInputEvent=f.isComposing=t.keyCode===r.default.KEY_229;break;case"keyup":case"compositionend":f.isComposing&&(f.skipInputEvent=!1);break;case"keypress":if(!0===f.skipKeyPressEvent)return t.preventDefault();f.skipKeyPressEvent=!0;break;case"click":case"focus":return f.validationEvent?(f.validationEvent=!1,n.blur(),s.HandleNativePlaceholder(n,(f.isRTL?u.getBufferTemplate.call(f).slice().reverse():u.getBufferTemplate.call(f)).join("")),setTimeout(function(){n.focus()},3e3)):(l=arguments,setTimeout(function(){n.inputmask&&i.apply(e,l)},0)),!1}return c=i.apply(e,arguments),!1===c&&(t.preventDefault(),t.stopPropagation()),c}t.preventDefault()}};n.inputmask.events[t]=n.inputmask.events[t]||[];n.inputmask.events[t].push(f);["submit","reset"].includes(t)?null!==n.form&&e(n.form).on(t,f.bind(n)):e(n).on(t,f)},off:function(n,t){var u,r,i,f,e;if(n.inputmask&&n.inputmask.events){u=n.inputmask.dependencyLib;r=n.inputmask.events;for(i in t&&(r=[],r[t]=n.inputmask.events[t]),r){for(f=r[i];0<f.length;)e=f.pop(),["submit","reset"].includes(i)?null!==n.form&&u(n.form).off(i,e):u(n).off(i,e);delete n.inputmask.events[i]}}}};t.EventRuler=e},function(n,t,i){"use strict";function f(n){return n&&n.__esModule?n:{"default":n}}var r,u;if(Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r=f(i(8)),void 0===r.default)throw"jQuery not loaded!";u=r.default;t.default=u},function(n,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default=void 0;var i="undefined"!=typeof window?window:new(eval("require('jsdom').JSDOM"))("").window;t.default=i},function(n,t){"use strict";function r(n){return n.replace(i,"\\$1")}Object.defineProperty(t,"__esModule",{value:!0});t.default=r;var i=new RegExp("(\\/|\\.|\\*|\\+|\\?|\\||\\(|\\)|\\[|\\]|\\{|\\}|\\\\|\\$|\\^)","gim")},function(n,t,i){"use strict";function f(n){return n&&n.__esModule?n:{"default":n}}var r,u;Object.defineProperty(t,"__esModule",{value:!0});t.default=void 0;i(16);i(20);i(21);i(22);r=f(i(1));u=r.default;t.default=u},function(n,t,i){"use strict";function e(n){return n&&n.__esModule?n:{"default":n}
64}function r(n,t,i){return n=-1<i-1&&"."!==t.buffer[i-1]?(n=t.buffer[i-1]+n,-1<i-2&&"."!==t.buffer[i-2]?t.buffer[i-2]+n:"0"+n):"00"+n,f.test(n)}var u=e(i(1)),f;u.default.extendDefinitions({A:{validator:"[A-Za-zА-яЁёÀ-ÿµ]",casing:"upper"},"&":{validator:"[0-9A-Za-zА-яЁёÀ-ÿµ]",casing:"upper"},"#":{validator:"[0-9A-Fa-f]",casing:"upper"}});f=new RegExp("25[0-5]|2[0-4][0-9]|[01][0-9][0-9]");u.default.extendAliases({cssunit:{regex:"[+-]?[0-9]+\\.?([0-9]+)?(px|em|rem|ex|%|in|cm|mm|pt|pc)"},url:{regex:"(https?|ftp)://.*",autoUnmask:!1,keepStatic:!1,tabThrough:!0},ip:{mask:"i[i[i]].j[j[j]].k[k[k]].l[l[l]]",definitions:{i:{validator:r},j:{validator:r},k:{validator:r},l:{validator:r}},onUnMask:function(n){return n},inputmode:"numeric"},email:{mask:"*{1,64}[.*{1,64}][.*{1,64}][.*{1,63}]@-{1,63}.-{1,63}[.-{1,63}][.-{1,63}]",greedy:!1,casing:"lower",onBeforePaste:function(n){return n=n.toLowerCase(),n.replace("mailto:","")},definitions:{"*":{validator:"[0-91-9A-Za-zА-яЁёÀ-ÿµ!#$%&'*+/=?^_`{|}~-]"},"-":{validator:"[0-9A-Za-z-]"}},onUnMask:function(n){return n},inputmode:"email"},mac:{mask:"##:##:##:##:##:##"},vin:{mask:"V{13}9{4}",definitions:{V:{validator:"[A-HJ-NPR-Za-hj-npr-z\\d]",casing:"upper"}},clearIncomplete:!0,autoUnmask:!0},ssn:{mask:"999-99-9999",postValidation:function(n){return/^(?!219-09-9999|078-05-1120)(?!666|000|9.{2}).{3}-(?!00).{2}-(?!0{4}).{4}$/.test(n.join(""))}}})},function(n,t,i){"use strict";function u(n){return n&&n.__esModule?n:{"default":n}}function f(n,t){function u(n,i,u){var e=!1,o,f,s;return(null!==n&&""!==n||(e=null!==u.regex,n=e?(n=u.regex,n.replace(/^(\^)(.*)(\$)$/,"$2")):(e=!0,".*")),1===n.length&&!1===u.greedy&&0!==u.repeat&&(u.placeholder=""),0<u.repeat||"*"===u.repeat||"+"===u.repeat)&&(s="*"===u.repeat?0:"+"===u.repeat?1:u.repeat,n=u.groupmarker[0]+n+u.groupmarker[1]+u.quantifiermarker[0]+s+","+u.repeat+u.quantifiermarker[1]),f=e?"regex_"+u.regex:u.numericInput?n.split("").reverse().join(""):n,!1!==u.keepStatic&&(f="ks_"+f),void 0===Inputmask.prototype.masksCache[f]||!0===t?(o={mask:n,maskToken:Inputmask.prototype.analyseMask(n,e,u),validPositions:{},_buffer:void 0,buffer:void 0,tests:{},excludes:{},metadata:i,maskLength:void 0,jitOffset:{}},!0!==t&&(Inputmask.prototype.masksCache[f]=o,o=r.default.extend(!0,{},Inputmask.prototype.masksCache[f]))):o=r.default.extend(!0,{},Inputmask.prototype.masksCache[f]),o}var f,i;if("function"==typeof n.mask&&(n.mask=n.mask(n)),Array.isArray(n.mask)){if(1<n.mask.length)return null===n.keepStatic&&(n.keepStatic=!0),i=n.groupmarker[0],(n.isRTL?n.mask.reverse():n.mask).forEach(function(t){1<i.length&&(i+=n.groupmarker[1]+n.alternatormarker+n.groupmarker[0]);i+=void 0!==t.mask&&"function"!=typeof t.mask?t.mask:t}),i+=n.groupmarker[1],u(i,n.mask,n);n.mask=n.mask.pop()}return null===n.keepStatic&&(n.keepStatic=!1),f=n.mask&&void 0!==n.mask.mask&&"function"!=typeof n.mask.mask?u(n.mask.mask,n.mask,n):u(n.mask,n.mask,n),f}function e(n,t,i){function a(n,t,i,r){this.matches=[];this.openGroup=n||!1;this.alternatorGroup=!1;this.isGroup=n||!1;this.isOptional=t||!1;this.isQuantifier=i||!1;this.isAlternator=r||!1;this.quantifier={min:1,max:1}}function b(n,r,u){var f,e;u=void 0!==u?u:n.matches.length;f=n.matches[u-1];t?(0===r.indexOf("[")||h&&/\\d|\\s|\\w]/i.test(r)||"."===r?n.matches.splice(u++,0,{fn:new RegExp(r,i.casing?"i":""),"static":!1,optionality:!1,newBlockMarker:void 0===f?"master":f.def!==r,casing:null,def:r,placeholder:void 0,nativeDef:r}):(h&&(r=r[r.length-1]),r.split("").forEach(function(t){f=n.matches[u-1];n.matches.splice(u++,0,{fn:/[a-z]/i.test(i.staticDefinitionSymbol||t)?new RegExp("["+(i.staticDefinitionSymbol||t)+"]",i.casing?"i":""):null,"static":!0,optionality:!1,newBlockMarker:void 0===f?"master":f.def!==t&&!0!==f.static,casing:null,def:i.staticDefinitionSymbol||t,placeholder:void 0!==i.staticDefinitionSymbol?t:void 0,nativeDef:(h?"'":"")+t})})),h=!1):(e=i.definitions&&i.definitions[r]||i.usePrototypeDefinitions&&Inputmask.prototype.definitions[r],e&&!h?n.matches.splice(u++,0,{fn:e.validator?"string"==typeof e.validator?new RegExp(e.validator,i.casing?"i":""):new function(){this.test=e.validator}:new RegExp("."),"static":e.static||!1,optionality:!1,newBlockMarker:void 0===f?"master":f.def!==(e.definitionSymbol||r),casing:e.casing,def:e.definitionSymbol||r,placeholder:e.placeholder,nativeDef:r,generated:e.generated}):(n.matches.splice(u++,0,{fn:/[a-z]/i.test(i.staticDefinitionSymbol||r)?new RegExp("["+(i.staticDefinitionSymbol||r)+"]",i.casing?"i":""):null,"static":!0,optionality:!1,newBlockMarker:void 0===f?"master":f.def!==r&&!0!==f.static,casing:null,def:i.staticDefinitionSymbol||r,placeholder:void 0!==i.staticDefinitionSymbol?r:void 0,nativeDef:(h?"'":"")+r}),h=!1))}
64function ft(n){n&&n.matches&&n.matches.forEach(function(r,u){var f=n.matches[u+1];(void 0===f||void 0===f.matches||!1===f.isQuantifier)&&r&&r.isGroup&&(r.isGroup=!1,t||(b(r,i.groupmarker[0],0),!0!==r.openGroup&&b(r,i.groupmarker[1])));ft(r)})}function p(){if(0<r.length){if(f=r[r.length-1],b(f,s),f.isAlternator){u=r.pop();for(var n=0;n<u.matches.length;n++)u.matches[n].isGroup&&(u.matches[n].isGroup=!1);0<r.length?(f=r[r.length-1],f.matches.push(u)):e.matches.push(u)}}else b(e,s)}function et(n){function f(n){return n===i.optionalmarker[0]?n=i.optionalmarker[1]:n===i.optionalmarker[1]?n=i.optionalmarker[0]:n===i.groupmarker[0]?n=i.groupmarker[1]:n===i.groupmarker[1]&&(n=i.groupmarker[0]),n}var t,r,u;for(t in n.matches=n.matches.reverse(),n.matches)Object.prototype.hasOwnProperty.call(n.matches,t)&&(r=parseInt(t),n.matches[t].isQuantifier&&n.matches[r+1]&&n.matches[r+1].isGroup&&(u=n.matches[t],n.matches.splice(t,1),n.matches.splice(r+1,0,u)),n.matches[t]=void 0!==n.matches[t].matches?et(n.matches[t]):f(n.matches[t]));return n}function g(n){var t=new a(!0);return t.openGroup=!1,t.matches=n,t}function ot(){if(v=r.pop(),v.openGroup=!1,void 0!==v)if(0<r.length){if(f=r[r.length-1],f.matches.push(v),f.isAlternator){u=r.pop();for(var n=0;n<u.matches.length;n++)u.matches[n].isGroup=!1,u.matches[n].alternatorGroup=!1;0<r.length?(f=r[r.length-1],f.matches.push(u)):e.matches.push(u)}}else e.matches.push(v);else p()}function st(n){var t=n.pop();return t.isQuantifier&&(t=g([n.pop(),t])),t}var at=/(?:[?*+]|\{[0-9+*]+(?:,[0-9+*]*)?(?:\|[0-9+*]*)?\})|[^.?*+^${[]()|\\]+|./g,vt=/\[\^?]?(?:[^\\\]]+|\\[\S\s]?)*]?|\\(?:0(?:[0-3][0-7]{0,2}|[4-7][0-7]?)?|[1-9][0-9]*|x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4}|c[A-Za-z]|[\S\s]?)|\((?:\?[:=!]?)?|(?:[?*+]|\{[0-9]+(?:,[0-9]*)?\})\??|[^.?*+^${[()|\\]+|./g,h=!1,e=new a,o,s,r=[],d=[],v,f,u,c,ut=!1,nt,tt,l,it,lt,k,rt;for(t&&(i.optionalmarker[0]=void 0,i.optionalmarker[1]=void 0);o=t?vt.exec(n):at.exec(n);){if(s=o[0],t)switch(s.charAt(0)){case"?":s="{0,1}";break;case"+":case"*":s="{"+s+"}";break;case"|":0===r.length&&(nt=g(e.matches),nt.openGroup=!0,r.push(nt),e.matches=[],ut=!0)}if(h)p();else switch(s.charAt(0)){case"$":case"^":t||p();break;case"(?=":break;case"(?!":break;case"(?<=":break;case"(?<!":break;case i.escapeChar:h=!0;t&&p();break;case i.optionalmarker[1]:case i.groupmarker[1]:ot();break;case i.optionalmarker[0]:r.push(new a(!1,!0));break;case i.groupmarker[0]:r.push(new a(!0));break;case i.quantifiermarker[0]:tt=new a(!1,!1,!0);s=s.replace(/[{}]/g,"");var ht=s.split("|"),y=ht[0].split(","),w=isNaN(y[0])?y[0]:parseInt(y[0]),ct=1===y.length?w:isNaN(y[1])?y[1]:parseInt(y[1]);"*"!==w&&"+"!==w||(w="*"===ct?0:1);tt.quantifier={min:w,max:ct,jit:ht[1]};l=0<r.length?r[r.length-1].matches:e.matches;(o=l.pop(),o.isAlternator)&&(l.push(o),l=o.matches,it=new a(!0),lt=l.pop(),l.push(it),l=it.matches,o=lt);o.isGroup||(o=g([o]));l.push(o);l.push(tt);break;case i.alternatormarker:0<r.length?(f=r[r.length-1],k=f.matches[f.matches.length-1],c=f.openGroup&&(void 0===k.matches||!1===k.isGroup&&!1===k.isAlternator)?r.pop():st(f.matches)):c=st(e.matches);c.isAlternator?r.push(c):(c.alternatorGroup?(u=r.pop(),c.alternatorGroup=!1):u=new a(!1,!1,!1,!0),u.matches.push(c),r.push(u),c.openGroup)&&(c.openGroup=!1,rt=new a(!0),rt.alternatorGroup=!0,r.push(rt));break;default:p()}}for(ut&&ot();0<r.length;)v=r.pop(),e.matches.push(v);return 0<e.matches.length&&(ft(e),d.push(e)),(i.numericInput||i.isRTL)&&et(d[0]),d}Object.defineProperty(t,"__esModule",{value:!0});t.generateMaskSet=f;t.analyseMask=e;var r=u(i(12))},function(n,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default=void 0;t.default={9:{validator:"[0-90-9]",definitionSymbol:"*"},a:{validator:"[A-Za-zА-яЁёÀ-ÿµ]",definitionSymbol:"*"},"*":{validator:"[0-90-9A-Za-zА-яЁёÀ-ÿµ]"}}},function(n,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default=void 0;var i={_maxTestPos:500,placeholder:"_",optionalmarker:["[","]"],quantifiermarker:["{","}"],groupmarker:["(",")"],alternatormarker:"|",escapeChar:"\\",mask:null,regex:null,oncomplete:function(){},onincomplete:function(){},oncleared:function(){},repeat:0,greedy:!1,autoUnmask:!1,removeMaskOnSubmit:!1,clearMaskOnLostFocus:!0,insertMode:!0,insertModeVisual:!0,clearIncomplete:!1,alias:null,onKeyDown:function(){},onBeforeMask:null,onBeforePaste:function(n,t){return"function"==typeof t.onBeforeMask?t.onBeforeMask.call(this,n,t):n},onBeforeWrite:null,onUnMask:null,showMaskOnFocus:!0,showMaskOnHover:!0,onKeyValidation:function(){},skipOptionalPartCharacter:" ",numericInput:!1,rightAlign:!1,undoOnEscape:!0,radixPoint:"",_radixDance:!1,groupSeparator:"",keepStatic:null,positionCaretOnTab:!0,tabThrough:!1,supportsInputType:["text","tel","url","password","search"],ignorables:[8,9,19,27,33,34,35,36,37,38,39,40,45,46,93,112,113,114,115,116,117,118,119,120,121,122,123,0,229],isComplete:null,preValidation:null,postValidation:null,staticDefinitionSymbol:void 0,jitMasking:!1,nullable:!0,inputEventOnly:!1,noValuePatching:!1,positionCaretOnClick:"lvp",casing:null,inputmode:"text",importDataAttributes:!0,shiftPositions:!0,usePrototypeDefinitions:!0};t.default=i},function(n,t,i){"use strict";function h(n){return h="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},h(n)}function c(n){return n&&n.__esModule?n:{"default":n}
64}function y(n){var i=new RegExp("\\d+$").exec(n[0]),t;return i&&void 0!==i[0]?(t=r[n[0][0]+"x"].slice(""),t[0]=t[0](i[0]),t[3]=t[3](i[0]),t):r[n[0]]?r[n[0]]:void 0}function f(n){var u,t,i,f;if(!n.tokenizer){u=[];t=[];for(i in r)/\.*x$/.test(i)?(f=i[0]+"\\d+",-1===t.indexOf(f)&&t.push(f)):-1===u.indexOf(i[0])&&u.push(i[0]);n.tokenizer="("+(0<t.length?t.join("|")+"|":"")+u.join("+|")+")+?|.";n.tokenizer=new RegExp(n.tokenizer,"g")}return n.tokenizer}function d(n,t,i){var f;if(n.year!==n.rawyear){var u=l.toString(),r=n.rawyear.replace(/[^0-9]/g,""),o=u.slice(0,r.length),e=u.slice(r.length);2===r.length&&r===o&&(f=new Date(l,n.month-1,n.day),n.day==f.getDate()&&(!i.max||i.max.date.getTime()>=f.getTime())&&(n.date.setFullYear(l),n.year=u,t.insert=[{pos:t.pos+1,c:e[0]},{pos:t.pos+2,c:e[1]}]))}return t}function g(n,t,i){if(!isFinite(n.rawday)||"29"==n.day&&!isFinite(n.rawyear)||new Date(n.date.getFullYear(),isFinite(n.rawmonth)?n.month:n.date.getMonth()+1,0).getDate()>=n.day)return t;if("29"==n.day){var r=e(t.pos,i);if("yyyy"===r.targetMatch[0]&&t.pos-r.targetMatchIndex==2)return t.remove=t.pos+1,t}return!1}function nt(n,t,i,r,u){var f,o,h,s;if(!t)return t;if(i.min){if(n.rawyear&&(f=n.rawyear.replace(/[^0-9]/g,""),o=i.min.year.substr(0,f.length),f<o)){if(s=e(t.pos,i),f=n.rawyear.substr(0,t.pos-s.targetMatchIndex+1),o=i.min.year.substr(0,f.length),o<=f)return t.remove=s.targetMatchIndex+f.length,t;if(f="yyyy"===s.targetMatch[0]?n.rawyear.substr(1,1):n.rawyear.substr(0,1),o=i.min.year.substr(2,1),h=i.max?i.max.year.substr(2,1):f,1===f.length&&o<=f<=h&&!0!==u)return"yyyy"===s.targetMatch[0]?(t.insert=[{pos:t.pos+1,c:f,strict:!0}],t.caret=t.pos+2,r.validPositions[t.pos].input=i.min.year[1]):(t.insert=[{pos:t.pos+1,c:i.min.year[1],strict:!0},{pos:t.pos+2,c:f,strict:!0}],t.caret=t.pos+3,r.validPositions[t.pos].input=i.min.year[0]),t;t=!1}t&&n.year&&n.year===n.rawyear&&i.min.date.getTime()==i.min.date.getTime()&&(t=i.min.date.getTime()<=n.date.getTime())}return t&&i.max&&i.max.date.getTime()==i.max.date.getTime()&&(t=i.max.date.getTime()>=n.date.getTime()),t}function o(n,t,i,r){var u="",e,o,s;for(f(i).lastIndex=0;e=f(i).exec(n);)if(void 0===t)if(o=y(e))u+="("+o[0]+")";else switch(e[0]){case"[":u+="(";break;case"]":u+=")?";break;default:u+=b.default(e[0])}else(o=y(e))?!0!==r&&o[3]?(s=o[3],u+=s.call(t.date)):u+=o[2]?t["raw"+o[2]]:e[0]:u+=e[0];return u}function u(n,t){for(n=String(n),t=t||2;n.length<t;)n="0"+n;return n}function s(n,t,i){function b(n,t){n[o]=t.replace(/[^0-9]/g,"0");n["raw"+o]=t;void 0!==a&&a.call(n.date,"month"==o?parseInt(n[o])-1:n[o])}var v={date:new Date(1,0,1)},o,u=n,s,a,p,w;if("string"==typeof u){for(f(i).lastIndex=0;s=f(i).exec(t);){var y=new RegExp("\\d+$").exec(s[0]),c=y?s[0][0]+"x":s[0],l=void 0;y?(p=f(i).lastIndex,w=e(s.index,i),f(i).lastIndex=p,l=u.slice(0,u.indexOf(w.nextMatch[0]))):l=u.slice(0,c.length);Object.prototype.hasOwnProperty.call(r,c)&&(o=r[c][2],a=r[c][1],b(v,l,i));u=u.slice(l.length)}return v}if(u&&"object"===h(u)&&Object.prototype.hasOwnProperty.call(u,"date"))return u}function p(n,t){return o(t.inputFormat,{date:n},t)}function e(n,t){var r=0,o,i,u=0,e;for(f(t).lastIndex=0;i=f(t).exec(t.inputFormat);)if(e=new RegExp("\\d+$").exec(i[0]),u=e?parseInt(e[0]):i[0].length,r+=u,n<=r){o=i;i=f(t).exec(t.inputFormat);break}return{targetMatchIndex:r-u,nextMatch:i,targetMatch:o}}var v=c(i(1)),w=c(i(0)),b=c(i(14)),k=v.default.dependencyLib,l=(new Date).getFullYear(),r={d:["[1-9]|[12][0-9]|3[01]",Date.prototype.setDate,"day",Date.prototype.getDate],dd:["0[1-9]|[12][0-9]|3[01]",Date.prototype.setDate,"day",function(){return u(Date.prototype.getDate.call(this),2)}],ddd:[""],dddd:[""],m:["[1-9]|1[012]",Date.prototype.setMonth,"month",function(){return Date.prototype.getMonth.call(this)+1}],mm:["0[1-9]|1[012]",Date.prototype.setMonth,"month",function(){return u(Date.prototype.getMonth.call(this)+1,2)}],mmm:[""],mmmm:[""],yy:["[0-9]{2}",Date.prototype.setFullYear,"year",function(){return u(Date.prototype.getFullYear.call(this),2)}],yyyy:["[0-9]{4}",Date.prototype.setFullYear,"year",function(){return u(Date.prototype.getFullYear.call(this),4)}],h:["[1-9]|1[0-2]",Date.prototype.setHours,"hours",Date.prototype.getHours],hh:["0[1-9]|1[0-2]",Date.prototype.setHours,"hours",function(){return u(Date.prototype.getHours.call(this),2)}],hx:[function(n){return"[0-9]{".concat(n,"}")},Date.prototype.setHours,"hours",function(){return Date.prototype.getHours}],H:["1?[0-9]|2[0-3]",Date.prototype.setHours,"hours",Date.prototype.getHours],HH:["0[0-9]|1[0-9]|2[0-3]",Date.prototype.setHours,"hours",function(){return u(Date.prototype.getHours.call(this),2)}],Hx:[function(n){return"[0-9]{".concat(n,"}")},Date.prototype.setHours,"hours",function(n){return function(){return u(Date.prototype.getHours.call(this),n)}}],M:["[1-5]?[0-9]",Date.prototype.setMinutes,"minutes",Date.prototype.getMinutes],MM:["0[0-9]|1[0-9]|2[0-9]|3[0-9]|4[0-9]|5[0-9]",Date.prototype.setMinutes,"minutes",function(){return u(Date.prototype.getMinutes.call(this),2)}],s:["[1-5]?[0-9]",Date.prototype.setSeconds,"seconds",Date.prototype.getSeconds],ss:["0[0-9]|1[0-9]|2[0-9]|3[0-9]|4[0-9]|5[0-9]",Date.prototype.setSeconds,"seconds",function(){return u(Date.prototype.getSeconds.call(this),2)}],l:["[0-9]{3}",Date.prototype.setMilliseconds,"milliseconds",function(){return u(Date.prototype.getMilliseconds.call(this),3)}],L:["[0-9]{2}",Date.prototype.setMilliseconds,"milliseconds",function(){return u(Date.prototype.getMilliseconds.call(this),2)}],t:["[ap]"],tt:["[ap]m"],T:["[AP]"],TT:["[AP]M"],Z:[""],o:[""],S:[""]},a={isoDate:"yyyy-mm-dd",isoTime:"HH:MM:ss",isoDateTime:"yyyy-mm-dd'T'HH:MM:ss",isoUtcDateTime:"UTC:yyyy-mm-dd'T'HH:MM:ss'Z'"};v.default.extendAliases({datetime:{mask:function(n){return n.numericInput=!1,r.S=n.i18n.ordinalSuffix.join("|"),n.inputFormat=a[n.inputFormat]||n.inputFormat,n.displayFormat=a[n.displayFormat]||n.displayFormat||n.inputFormat,n.outputFormat=a[n.outputFormat]||n.outputFormat||n.inputFormat,n.placeholder=""!==n.placeholder?n.placeholder:n.inputFormat.replace(/[[\]]/,""),n.regex=o(n.inputFormat,void 0,n),n.min=s(n.min,n.inputFormat,n),n.max=s(n.max,n.inputFormat,n),null},placeholder:"",inputFormat:"isoDateTime",displayFormat:void 0,outputFormat:void 0,min:null,max:null,skipOptionalPartCharacter:"",i18n:{dayNames:["Mon","Tue","Wed","Thu","Fri","Sat","Sun","Monday","Tuesday","Wednesday","Thursday","Frid
64ay","Saturday","Sunday"],monthNames:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec","January","February","March","April","May","June","July","August","September","October","November","December"],ordinalSuffix:["st","nd","rd","th"]},preValidation:function(n,t,i,u,f,o,s,h){var c,l;return h?!0:isNaN(i)&&n[t]!==i&&(c=e(t,f),c.nextMatch&&c.nextMatch[0]===i&&1<c.targetMatch[0].length&&(l=r[c.targetMatch[0]][0],new RegExp(l).test("0"+n[t-1])))?(n[t]=n[t-1],n[t-1]="0",{fuzzy:!0,buffer:n,refreshFromBuffer:{start:t-1,end:t+1},pos:t+1}):!0},postValidation:function(n,t,i,u,f,h,c,l){var a,p,w,v,y;return c?!0:!1===u?(a=e(t+1,f),a.targetMatch&&a.targetMatchIndex===t&&1<a.targetMatch[0].length&&void 0!==r[a.targetMatch[0]]&&(p=r[a.targetMatch[0]][0],new RegExp(p).test("0"+i))?{insert:[{pos:t,c:"0"},{pos:t+1,c:i}],pos:t+1}:u):((u.fuzzy&&(n=u.buffer,t=u.pos),a=e(t,f),a.targetMatch&&a.targetMatch[0]&&void 0!==r[a.targetMatch[0]])&&(p=r[a.targetMatch[0]][0],w=n.slice(a.targetMatchIndex,a.targetMatchIndex+a.targetMatch[0].length),!1===new RegExp(p).test(w.join(""))&&2===a.targetMatch[0].length&&h.validPositions[a.targetMatchIndex]&&h.validPositions[a.targetMatchIndex+1]&&(h.validPositions[a.targetMatchIndex+1].input="0")),v=u,y=s(n.join(""),f.inputFormat,f),v&&y.date.getTime()==y.date.getTime()&&(v=d(y,v,f),v=g(y,v,f),v=nt(y,v,f,h,l)),t&&v&&u.pos!==t?{buffer:o(f.inputFormat,y,f).split(""),refreshFromBuffer:{start:t,end:u.pos}}:v)},onKeyDown:function(n,t,i,r){var u=this;n.ctrlKey&&n.keyCode===w.default.RIGHT&&(this.inputmask._valueSet(p(new Date,r)),k(this).trigger("setvalue"))},onUnMask:function(n,t,i){return t?o(i.outputFormat,s(n,i.inputFormat,i),i,!0):t},casing:function(n,t){return 0==t.nativeDef.indexOf("[ap]")?n.toLowerCase():0==t.nativeDef.indexOf("[AP]")?n.toUpperCase():n},onBeforeMask:function(n,t){return"[object Date]"===Object.prototype.toString.call(n)&&(n=p(n,t)),n},insertMode:!1,shiftPositions:!1,keepStatic:!1,inputmode:"numeric"}})},function(n,t,i){"use strict";function o(n){return n&&n.__esModule?n:{"default":n}}function h(n,t){for(var r="",i=0;i<n.length;i++)r+=e.default.prototype.definitions[n.charAt(i)]||t.definitions[n.charAt(i)]||t.optionalmarker[0]===n.charAt(i)||t.optionalmarker[1]===n.charAt(i)||t.quantifiermarker[0]===n.charAt(i)||t.quantifiermarker[1]===n.charAt(i)||t.groupmarker[0]===n.charAt(i)||t.groupmarker[1]===n.charAt(i)||t.alternatormarker===n.charAt(i)?"\\"+n.charAt(i):n.charAt(i);return r}function f(n,t,i,r){var u,e,f;if(0<n.length&&0<t&&(!i.digitsOptional||r))for(u=n.indexOf(i.radixPoint),e=!1,i.negationSymbol.back===n[n.length-1]&&(e=!0,n.length--),-1===u&&(n.push(i.radixPoint),u=n.length-1),f=1;f<=t;f++)isFinite(n[u+f])||(n[u+f]="0");return e&&n.push(i.negationSymbol.back),n}function c(n,t){var r=0,i,u,f;if("+"===n){for(r in t.validPositions);r=parseInt(r)}for(i in t.tests)if(i=parseInt(i),r<=i)for(u=0,f=t.tests[i].length;u<f;u++)if((void 0===t.validPositions[i]||"-"===n)&&t.tests[i][u].match.def===n)return i+(void 0!==t.validPositions[i]&&"-"!==n?1:0);return r}function l(n,t){var u=-1,i,r;for(i in t.validPositions)if(r=t.validPositions[i],r&&r.match.def===n){u=parseInt(i);break}return u}function v(n){void 0===n.parseMinMaxOptions&&(null!==n.min&&(n.min=n.min.toString().replace(new RegExp(r.default(n.groupSeparator),"g"),""),","===n.radixPoint&&(n.min=n.min.replace(n.radixPoint,".")),n.min=isFinite(n.min)?parseFloat(n.min):NaN,isNaN(n.min)&&(n.min=Number.MIN_VALUE)),null!==n.max&&(n.max=n.max.toString().replace(new RegExp(r.default(n.groupSeparator),"g"),""),","===n.radixPoint&&(n.max=n.max.replace(n.radixPoint,".")),n.max=isFinite(n.max)?parseFloat(n.max):NaN,isNaN(n.max)&&(n.max=Number.MAX_VALUE)),n.parseMinMaxOptions="done")}function y(n){var r,i,t,f,u;return n.repeat=0,n.groupSeparator===n.radixPoint&&n.digits&&"0"!==n.digits&&(n.groupSeparator="."===n.radixPoint?",":","===n.radixPoint?".":"")," "===n.groupSeparator&&(n.skipOptionalPartCharacter=void 0),1<n.placeholder.length&&(n.placeholder=n.placeholder.charAt(0)),"radixFocus"===n.positionCaretOnClick&&""===n.placeholder&&(n.positionCaretOnClick="lvp"),r="0",
64i=n.radixPoint,!0===n.numericInput&&void 0===n.__financeInput?(r="1",n.positionCaretOnClick="radixFocus"===n.positionCaretOnClick?"lvp":n.positionCaretOnClick,n.digitsOptional=!1,isNaN(n.digits)&&(n.digits=2),n._radixDance=!1,i=","===n.radixPoint?"?":"!",""!==n.radixPoint&&void 0===n.definitions[i]&&(n.definitions[i]={},n.definitions[i].validator="["+n.radixPoint+"]",n.definitions[i].placeholder=n.radixPoint,n.definitions[i].static=!0,n.definitions[i].generated=!0)):(n.__financeInput=!1,n.numericInput=!0),t="[+]",(t+=h(n.prefix,n),""!==n.groupSeparator?(void 0===n.definitions[n.groupSeparator]&&(n.definitions[n.groupSeparator]={},n.definitions[n.groupSeparator].validator="["+n.groupSeparator+"]",n.definitions[n.groupSeparator].placeholder=n.groupSeparator,n.definitions[n.groupSeparator].static=!0,n.definitions[n.groupSeparator].generated=!0),t+=n._mask(n)):t+="9{+}",void 0!==n.digits&&0!==n.digits)&&(u=n.digits.toString().split(","),isFinite(u[0])&&u[1]&&isFinite(u[1])?t+=i+r+"{"+n.digits+"}":(isNaN(n.digits)||0<parseInt(n.digits))&&(n.digitsOptional?(f=t+i+r+"{0,"+n.digits+"}",n.keepStatic=!0):t+=i+r+"{"+n.digits+"}")),t+=h(n.suffix,n),t+="[-]",f&&(t=[f+h(n.suffix,n)+"[-]",t]),n.greedy=!1,v(n),t}function p(n,t,i,r,u){return u._radixDance&&u.numericInput&&t!==u.negationSymbol.back&&n<=i&&(0<i||t==u.radixPoint)&&(void 0===r.validPositions[n-1]||r.validPositions[n-1].input!==u.negationSymbol.back)&&(n-=1),n}function a(n,t,i,r,u){var f=t.buffer?t.buffer.indexOf(u.radixPoint):-1,e=-1!==f&&new RegExp("[0-91-9]").test(n);return u._radixDance&&e&&null==t.validPositions[f]?{insert:{pos:f===i?f+1:f,c:u.radixPoint},pos:i}:e}function w(n,t){var f=new RegExp("(^"+(""!==t.negationSymbol.front?r.default(t.negationSymbol.front)+"?":"")+r.default(t.prefix)+")(.*)("+r.default(t.suffix)+(""!=t.negationSymbol.back?r.default(t.negationSymbol.back)+"?":"")+"$)").exec(n.slice().reverse().join("")),u=f?f[2]:"",i=!1;return u&&(u=u.split(t.radixPoint.charAt(0))[0],i=new RegExp("^[0"+t.groupSeparator+"]*").exec(u)),!(!i||!(1<i[0].length||0<i[0].length&&i[0].length<u.length))&&i}var e=o(i(1)),u=o(i(0)),r=o(i(14)),s=e.default.dependencyLib;e.default.extendAliases({numeric:{mask:y,_mask:function(n){return"("+n.groupSeparator+"999){+|1}"},digits:"*",digitsOptional:!0,enforceDigitsOnBlur:!1,radixPoint:".",positionCaretOnClick:"radixFocus",_radixDance:!0,groupSeparator:"",allowMinus:!0,negationSymbol:{front:"-",back:""},prefix:"",suffix:"",min:null,max:null,SetMaxOnOverflow:!1,step:1,inputType:"text",unmaskAsNumber:!1,roundingFN:Math.round,inputmode:"numeric",shortcuts:{k:"000",m:"000000"},placeholder:"0",greedy:!1,rightAlign:!0,insertMode:!0,autoUnmask:!1,skipOptionalPartCharacter:"",definitions:{0:{validator:a},1:{validator:a,definitionSymbol:"9"},"+":{validator:function(n,t,i,r,u){return u.allowMinus&&("-"===n||n===u.negationSymbol.front)}},"-":{validator:function(n,t,i,r,u){return u.allowMinus&&n===u.negationSymbol.back}}},preValidation:function(n,t,i,r,u,f,e,o){var a,y,h,s,v;if(!1!==u.__financeInput&&i===u.radixPoint)return!1;if(a=u.shortcuts&&u.shortcuts[i]){if(1<a.length)for(y=[],h=0;h<a.length;h++)y.push({pos:t+h,c:a[h],strict:!1});return{insert:y}}if(s=n.indexOf(u.radixPoint),v=t,t=p(t,i,s,f,u),"-"===i||i===u.negationSymbol.front){if(!0!==u.allowMinus)return!1;var w=!1,b=l("+",f),k=l("-",f);return-1!==b&&(w=[b,k]),!1!==w?{remove:w,caret:v-u.negationSymbol.front.length}:{insert:[{pos:c("+",f),c:u.negationSymbol.front,fromIsValid:!0},{pos:c("-",f),c:u.negationSymbol.back,fromIsValid:void 0}],caret:v+u.negationSymbol.back.length}}if(i===u.groupSeparator)return{caret:v};if(o)return!0;if(-1!==s&&!0===u._radixDance&&!1===r&&i===u.radixPoint&&void 0!==u.digits&&(isNaN(u.digits)||0<parseInt(u.digits))&&s!==t)return{caret:u._radixDance&&t===s-1?s+1:s};if(!1===u.__financeInput)if(r){if(u.digitsOptional)return{rewritePosition:e.end};if(!u.digitsOptional){if(e.begin>s&&e.end<=s)return i===u.radixPoint?{insert:{pos:s+1,c:"0",fromIsValid:!0},rewritePosition:s}:{rewritePosition:s+1};if(e.begin<s)return{rewritePosition:e.begin-1}}}else if(!u.showMaskOnHover&&!u.showMaskOnFocus&&!u.digitsOptional&&0<u.digits&&""===this.inputmask.__valueGet.call(this))return{rewritePosition:s};return{rewritePosition:t}},postValidation:function(n,t,i,r,u,e,o){if(!1===r)return r;if(o)return!0;
64if(null!==u.min||null!==u.max){var h=u.onUnMask(n.slice().reverse().join(""),void 0,s.extend({},u,{unmaskAsNumber:!0}));if(null!==u.min&&h<u.min&&(h.toString().length>u.min.toString().length||h<0))return!1;if(null!==u.max&&h>u.max)return!!u.SetMaxOnOverflow&&{refreshFromBuffer:!0,buffer:f(u.max.toString().replace(".",u.radixPoint).split(""),u.digits,u).reverse()}}return r},onUnMask:function(n,t,i){if(""===t&&!0===i.nullable)return t;var u=n.replace(i.prefix,"");return u=u.replace(i.suffix,""),u=u.replace(new RegExp(r.default(i.groupSeparator),"g"),""),""!==i.placeholder.charAt(0)&&(u=u.replace(new RegExp(i.placeholder.charAt(0),"g"),"0")),i.unmaskAsNumber?(""!==i.radixPoint&&-1!==u.indexOf(i.radixPoint)&&(u=u.replace(r.default.call(this,i.radixPoint),".")),u=u.replace(new RegExp("^"+r.default(i.negationSymbol.front)),"-"),u=u.replace(new RegExp(r.default(i.negationSymbol.back)+"$"),""),Number(u)):u},isComplete:function(n,t){var i=(t.numericInput?n.slice().reverse():n).join("");return i=i.replace(new RegExp("^"+r.default(t.negationSymbol.front)),"-"),i=i.replace(new RegExp(r.default(t.negationSymbol.back)+"$"),""),i=i.replace(t.prefix,""),i=i.replace(t.suffix,""),i=i.replace(new RegExp(r.default(t.groupSeparator)+"([0-9]{3})","g"),"$1"),","===t.radixPoint&&(i=i.replace(r.default(t.radixPoint),".")),isFinite(i)},onBeforeMask:function(n,t){var i=t.radixPoint||",",e,s,h;isFinite(t.digits)&&(t.digits=parseInt(t.digits));"number"!=typeof n&&"number"!==t.inputType||""===i||(n=n.toString().replace(".",i));var c="-"===n.charAt(0)||n.charAt(0)===t.negationSymbol.front,o=n.split(i),l=o[0].replace(/[^\-0-9]/g,""),u=1<o.length?o[1].replace(/[^0-9]/g,""):"",a=1<o.length;return n=l+(""!==u?i+u:u),e=0,""===i||(e=t.digitsOptional?t.digits<u.length?t.digits:u.length:t.digits,""===u&&t.digitsOptional)||(s=Math.pow(10,e||1),n=n.replace(r.default(i),"."),isNaN(parseFloat(n))||(n=(t.roundingFN(parseFloat(n)*s)/s).toFixed(e)),n=n.toString().replace(".",i)),(0===t.digits&&-1!==n.indexOf(i)&&(n=n.substring(0,n.indexOf(i))),null!==t.min||null!==t.max)&&(h=n.toString().replace(i,"."),null!==t.min&&h<t.min?n=t.min.toString().replace(".",i):null!==t.max&&h>t.max&&(n=t.max.toString().replace(".",i))),c&&"-"!==n.charAt(0)&&(n="-"+n),f(n.toString().split(""),e,t,a).join("")},onBeforeWrite:function(n,t,i,u){function l(n,t){if(!1!==u.__financeInput||t){var i=n.indexOf(u.radixPoint);-1!==i&&n.splice(i,1)}if(""!==u.groupSeparator)for(;-1!==(i=n.indexOf(u.groupSeparator));)n.splice(i,1);return n}var e,o=w(t,u),v,c,y,p;if(o)for(var a=t.join("").lastIndexOf(o[0].split("").reverse().join(""))-(o[0]==o.input?0:1),b=o[0]==o.input?1:0,h=o[0].length-b;0<h;h--)delete this.maskset.validPositions[a+h],delete t[a+h];if(n)switch(n.type){case"blur":case"checkval":if(null!==u.min&&(v=u.onUnMask(t.slice().reverse().join(""),void 0,s.extend({},u,{unmaskAsNumber:!0})),null!==u.min&&v<u.min))return{refreshFromBuffer:!0,buffer:f(u.min.toString().replace(".",u.radixPoint).split(""),u.digits,u).reverse()};t[t.length-1]===u.negationSymbol.front?(c=new RegExp("(^"+(""!=u.negationSymbol.front?r.default(u.negationSymbol.front)+"?":"")+r.default(u.prefix)+")(.*)("+r.default(u.suffix)+(""!=u.negationSymbol.back?r.default(u.negationSymbol.back)+"?":"")+"$)").exec(l(t.slice(),!0).reverse().join("")),y=c?c[2]:"",0==y&&(e={refreshFromBuffer:!0,buffer:[0]})):""!==u.radixPoint&&t[0]===u.radixPoint&&(e&&e.buffer?e.buffer.shift():(t.shift(),e={refreshFromBuffer:!0,buffer:l(t)}));u.enforceDigitsOnBlur&&(e=e||{},p=e&&e.buffer||t.slice().reverse(),e.refreshFromBuffer=!0,e.buffer=f(p,u.digits,u,!0).reverse())}return e},onKeyDown:function(n,t,i,r){var h=s(this),e,o;if(n.ctrlKey)switch(n.keyCode){case u.default.UP:return this.inputmask.__valueSet.call(this,parseFloat(this.inputmask.unmaskedvalue())+parseInt(r.step)),h.trigger("setvalue"),!1;case u.default.DOWN:return this.inputmask.__valueSet.call(this,parseFloat(this.inputmask.unmaskedvalue())-parseInt(r.step)),h.trigger("setvalue"),!1}if(!n.shiftKey&&(n.keyCode===u.default.DELETE||n.keyCode===u.default.BACKSPACE||n.keyCode===u.default.BACKSPACE_SAFARI)&&i.begin!==t.length){if(t[n.keyCode===u.default.DELETE?i.begin-1:i.end]===r.negationSymbol.front)return e=t.slice().reverse(),""!==r.
64negationSymbol.front&&e.shift(),""!==r.negationSymbol.back&&e.pop(),h.trigger("setvalue",[e.join(""),i.begin]),!1;if(!0===r._radixDance)if(o=t.indexOf(r.radixPoint),r.digitsOptional){if(0===o)return e=t.slice().reverse(),e.pop(),h.trigger("setvalue",[e.join(""),i.begin>=e.length?e.length:i.begin]),!1}else if(-1!==o&&(i.begin<o||i.end<o||n.keyCode===u.default.DELETE&&i.begin===o))return i.begin!==i.end||n.keyCode!==u.default.BACKSPACE&&n.keyCode!==u.default.BACKSPACE_SAFARI||i.begin++,e=t.slice().reverse(),e.splice(e.length-i.begin,i.begin-i.end+1),e=f(e,r.digits,r).join(""),h.trigger("setvalue",[e,i.begin>=e.length?o+1:i.begin]),!1}}},currency:{prefix:"",groupSeparator:",",alias:"numeric",digits:2,digitsOptional:!1},decimal:{alias:"numeric"},integer:{alias:"numeric",digits:0},percentage:{alias:"numeric",min:0,max:100,suffix:" %",digits:0,allowMinus:!1},indianns:{alias:"numeric",_mask:function(n){return"("+n.groupSeparator+"99){*|1}("+n.groupSeparator+"999){1|1}"},groupSeparator:",",radixPoint:".",placeholder:"0",digits:2,digitsOptional:!1}})},function(n,t,i){"use strict";function o(n){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},o(n)}function y(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function p(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}});t&&r(n,t)}function w(n){var t=c();return function(){var r=u(n),i,f;return t?(f=u(this).constructor,i=Reflect.construct(r,arguments,f)):i=r.apply(this,arguments),b(this,i)}}function b(n,t){return!t||"object"!==o(t)&&"function"!=typeof t?k(n):t}function k(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function s(n){var t="function"==typeof Map?new Map:void 0;return s=function(n){function i(){return h(n,arguments,u(this).constructor)}if(null===n||!d(n))return n;if("function"!=typeof n)throw new TypeError("Super expression must either be null or a function");if("undefined"!=typeof t){if(t.has(n))return t.get(n);t.set(n,i)}return i.prototype=Object.create(n.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),r(i,n)},s(n)}function h(){return h=c()?Reflect.construct:function(n,t,i){var u=[null],e,f;return u.push.apply(u,t),e=Function.bind.apply(n,u),f=new e,i&&r(f,i.prototype),f},h.apply(null,arguments)}function c(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(n){return!1}}function d(n){return-1!==Function.toString.call(n).indexOf("[native code]")}function r(n,t){return r=Object.setPrototypeOf||function(n,t){return n.__proto__=t,n},r(n,t)}function u(n){return u=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},u(n)}function l(n){return n&&n.__esModule?n:{"default":n}}var f=l(i(13)),v=l(i(1)),e=f.default.document,a;e&&e.head&&e.head.attachShadow&&f.default.customElements&&void 0===f.default.customElements.get("input-mask")&&(a=function(n){function t(){var n,f,o;y(this,t);n=i.call(this);var u=n.getAttributeNames(),s=n.attachShadow({mode:"closed"}),r=e.createElement("input");for(f in r.type="text",s.appendChild(r),u)Object.prototype.hasOwnProperty.call(u,f)&&r.setAttribute(u[f],n.getAttribute(u[f]));return o=new v.default,o.dataAttribute="",o.mask(r),r.inputmask.shadowRoot=s,n}p(t,n);var i=w(t);return t}(s(HTMLElement)),f.default.customElements.define("input-mask",a))},function(n,t,i){"use strict";function f(n){return f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},f(n)}function e(n){return n&&n.__esModule?n:{"default":n}
64}var u=e(i(8)),r=e(i(1));void 0===u.default.fn.inputmask&&(u.default.fn.inputmask=function(n,t){var e,i=this[0];if(void 0===t&&(t={}),"string"==typeof n)switch(n){case"unmaskedvalue":return i&&i.inputmask?i.inputmask.unmaskedvalue():u.default(i).val();case"remove":return this.each(function(){this.inputmask&&this.inputmask.remove()});case"getemptymask":return i&&i.inputmask?i.inputmask.getemptymask():"";case"hasMaskedValue":return!(!i||!i.inputmask)&&i.inputmask.hasMaskedValue();case"isComplete":return!i||!i.inputmask||i.inputmask.isComplete();case"getmetadata":return i&&i.inputmask?i.inputmask.getmetadata():void 0;case"setvalue":r.default.setValue(i,t);break;case"option":if("string"!=typeof t)return this.each(function(){if(void 0!==this.inputmask)return this.inputmask.option(t)});if(i&&void 0!==i.inputmask)return i.inputmask.option(t);break;default:return t.alias=n,e=new r.default(t),this.each(function(){e.mask(this)})}else{if(Array.isArray(n))return t.alias=n,e=new r.default(t),this.each(function(){e.mask(this)});if("object"==f(n))return e=new r.default(n),void 0===n.mask&&void 0===n.alias?this.each(function(){if(void 0!==this.inputmask)return this.inputmask.option(n);e.mask(this)}):this.each(function(){e.mask(this)});if(void 0===n)return this.each(function(){e=new r.default(t);e.mask(this)})}})},function(n,t,i){"use strict";function f(n){return n&&n.__esModule?n:{"default":n}}var r,u;Object.defineProperty(t,"__esModule",{value:!0});t.default=void 0;r=f(i(15));i(23);u=r.default;t.default=u}],i={},t.m=r,t.c=i,t.d=function(n,i,r){t.o(n,i)||Object.defineProperty(n,i,{enumerable:!0,get:r})},t.r=function(n){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});Object.defineProperty(n,"__esModule",{value:!0})},t.t=function(n,i){var r,u;if((1&i&&(n=t(n)),8&i)||4&i&&"object"==typeof n&&n&&n.__esModule)return n;if(r=Object.create(null),t.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:n}),2&i&&"string"!=typeof n)for(u in n)t.d(r,u,function(t){return n[t]}.bind(null,u));return r},t.n=function(n){var i=n&&n.__esModule?function(){return n.default}:function(){return n};return t.d(i,"a",i),i},t.o=function(n,t){return Object.prototype.hasOwnProperty.call(n,t)},t.p="",t(t.s=24);var r,i});globalInit=[],function(n){n(function(){for(i=0;i<globalInit.length;i++)typeof globalInit[i]=="function"&&globalInit[i]();n(":input").inputmask()})}(jQuery);$.validator.addMethod("requiredcheckbox",function(n,t){var i=0,r=9999,u;return isNaN($(t).data("min"))||(i=parseInt($(t).data("min"))),isNaN($(t).data("max"))||(r=parseInt($(t).data("max"))),u=$('[name="'+$(t).attr("name")+'"]:checked').length,u<i?$('[data-valmsg-for="'+$(t).attr("name")+'"]').text("You must select at least "+i+" option"+(i==1?"":"s")):u>r?$('[data-valmsg-for="'+$(t).attr("name")+'"]').text("You must select no more than "+r+" option"+(r==1?"":"s")):$('[data-valmsg-for="'+$(t).attr("name")+'"]').text(""),u>=i&&u<=r},"Selection invalid");$.validator.unobtrusive.adapters.addBool("requiredcheckbox");$.validator.addMethod("requiredradio",function(n,t){var i=$('[name="'+$(t).attr("name")+'"]:checked').length;return i>=1?$('[data-valmsg-for="'+$(t).attr("name")+'"]').text(""):$('[data-valmsg-for="'+$(t).attr("name")+'"]').text($(t).data("val-requiredradio")),i>=1},"Selection invalid");$.validator.unobtrusive.adapters.addBool("requiredradio");AjaxManager=function(){var n={SUCCESS:0,ERROR:1,WARNING:2},i=function(){this.status=n.ERROR;this.message="";this.data=null},r=function(n){return $("input[name=__RequestVerificationToken]").length>0&&(n.__RequestVerificationToken=$("input[name=__RequestVerificationToken]").val()),n},u=function(t){typeof t.status=="undefined"?(DialogManager.toast("Unexpected response.",5e3,"orange"),console.log(t)):t.status===n.SUCCESS?DialogManager.toast(t.message,3e3,"green"):t.status===n.WARNING?DialogManager.toast(t.message,8e3,"orange"):t.status===n.ERROR&&DialogManager.toast(t.message,8e3,"red")},f=function(t,i,r){typeof t.status=="undefined"?(DialogManager.toast("Unexpected response.",5e3,"orange"),console.log(t)):t.status===n.SUCCESS?(sessionStorage.redirectedPopup=JSON.stringify(r),location.replace(i)):t.status===n.WARNING?DialogManager.toast(t.message,8e3,"orange"):t.status===n.ERROR&&DialogManager.toast(t.message,8e3,"red")},e=function(n,t){typeof t=="undefined"&&(t="");var i='\t\t\t<div class="preloader-wrapper '+t+' active">\t\t\t\t<div class="spinner-layer spinner-blue-only">\t\t\t\t\t<div class="circle-clipper left">\t\t\t\t\t\t<div class="circle"><\/div>\t\t\t\t\t<\/div><div class="gap-patch">\t\t\t\t\t\t<div class="circle"><\/div>\t\t\t\t\t<\/div><div class="circle-clipper right">\t\t\t\t\t\t<div class="circle"><\/div>\t\t\t\t\t<\/div>\t\t\t\t<\/div>\t\t\t<\/div>\t\t';$(n).length>0&&$(n).html(i)},o=function(n){$(n).length>0&&$(n).prepend('\t\t\t<div class="preloader-wrapper preloader-button active">\t\t\t\t<div class="spinner-layer spinner-white-only">\t\t\t\t\t<div class="circle-clipper left">\t\t\t\t\t\t<div class="circle"><\/div>\t\t\t\t\t<\/div><div class="gap-patch">\t\t\t\t\t\t<div class="circle"><\/div>\t\t\t\t\t<\/div><div class="circle-clipper right">\t\t\t\t\t\t<div class="circle"><\/div>\t\t\t\t\t<\/div>\t\t\t\t<\/div>\t\t\t<\/div>\t\t')},s=function(n){$(n).length>0&&$(n).find(".preloader-wrapper").length>0&&$(n).find(".preloader-wrapper").remove()},t=function(n){var i,t;$("#modalErrorResponse").length===0&&(i='\t\t\t\t<div id="modalErrorResponse" class="modal bottom-sheet">\t\t\t\t\t<div class="modal-content"><iframe id="modalResponseHtml" width="100%" frameborder="0"><\/iframe><\/div>\t\t\t\t\t<div class="modal-footer">
64<a href="#!" class="modal-action modal-close waves-effect waves-green btn-flat">Close<\/a><\/div>\t\t\t\t<\/div>\t\t\t\t',$(".bodyContent").length>0?$(".bodyContent").append(i):$("body").append(i));t=document.getElementById("modalResponseHtml").contentWindow.document;t.open();t.write(n);t.close();$("#modalErrorResponse").modal();$("#modalErrorResponse").modal("open")},h=function(n,r,u,f){r===null&&(r={});typeof f=="undefined"&&(f=!0);r=AjaxManager.addAntiForgeryToken(r);var e=$.ajax({method:"post",url:n,data:r,dataType:"json","async":f}).done(function(n){typeof u=="function"&&u(n)}).fail(function(f,e,o){var s;if(f.status===500){if(f.responseText==="")return!1;t(f.responseText)}else if(f.status===404){var h=getTimestamp(),c=window.location.host,l=`AfterBurner error on ${c} [${h}]`,a=`
65							<div style="font-family:sans-serif;font-size:16px;">
66								<div style="font-size:22px;margin-bottom:10px;">
67									An error has occurred processing your request.<br>
68								</div>
69								<div>	
70									If you continue receiving this error, please copy the following details to <a href="mailto:[email protected]?subject=${encodeURIComponent(l)}">[email protected]</a>.
71								</div>
72								<div style="margin-top:15px;font-family:monospace;font-size:14px;">
73									time: ${h}<br>
74									page: ${window.location.href}<br>
75									post: ${n}<br>
76									data: ${JSON.stringify(r)}
77								</div>
78							</div>
79						`;t(a)}s=new i;s.status=!1;s.message=o;s.data=null;typeof u=="function"&&u(s)})},c=function(){console.log("ajax manager init")};return{init:c,AjaxStatus:n,addAntiForgeryToken:r,statusPopupCallback:u,redirectedPopupCallback:f,showErrorResponse:t,showSpinner:e,showButtonSpinner:o,hideButtonSpinner:s,post:h}}();globalInit.push(AjaxManager.init);location.queryString={};location.search.substr(1).split("&").forEach(function(n){if(n!==""){var t=n.split("=");location.queryString[t[0]]=t[1]&&decodeURIComponent(t[1].replace(/\+/g," "))}});$.urlParam=function(n){var t=new RegExp("[?&]"+n+"=([^&#]*)").exec(window.location.search);return t!==null?t[1]||"":""};monthNames=["January","February","March","April","May","June","July","August","September","October","November","December"];AccountCreateElementProcessor=function(){function n(n){var t=$(n).find('input[name="emailaddress"]').val(),i=$(n).find('input[name="password"]').val(),r=u(n,i);return t!==""&&i!==""&&r&&validEmail(t)?(n.find('input.createaccount[type="submit"]').removeAttr("disabled"),!0):(n.find('input.createaccount[type="submit"]').attr("disabled","disabled"),!1)}function i(t){var u=t.closest('[data-elementprocessor="create-account"]'),i;if(!n(t))return!1;i={action:"create-account",elementdefinition:u.find('input[name="elementdefinition"]').val(),emailaddress:t.find('input[name="emailaddress"]').val(),password:t.find('input[name="password"]').val()};AjaxManager.post("/api/Element/AccountCreate",i,function(n){r(t,n)})}function r(n,t){n.find(".create-account-message").addClass("hide");t.status===AjaxManager.AjaxStatus.SUCCESS?t.data.redirectTo!==""?location.href=t.data.redirectTo:(n.find(".create-account-view").addClass("hide"),n.find(".account-created-view").removeClass("hide")):(n.find(".create-account-view").removeClass("hide"),n.find(".account-created-view").addClass("hide"),n.find(".create-account-message").removeClass("success").addClass("alert").removeClass("hide").html(t.message))}function u(n,t){var i=validatePasswordRequirements(t);return $(n).find(".passReqMinChars").toggleClass("valid",i.minimumCharacters),$(n).find(".passReqNumber").toggleClass("valid",i.minimumNumbers),$(n).find(".passReqUppercase").toggleClass("valid",i.minimumUppercase),$(n).find(".passReqLowercase").toggleClass("valid",i.minimumLowercase),$(n).find(".passReqSpecial").toggleClass("valid",i.specialCharacter),i.valid}var t=function(){console.log("account create element processor init");var t=$('[data-elementprocessor="create-account"]');if(t.length!==0){t.on("click",'input.createaccount[type="submit"]',function(n){n.preventDefault();var t=$(this).closest("form");t.valid()&&i(t)});t.on("keyup",'input[name="emailaddress"],input[name="password"]',function(t){var i=$(this).closest("form"),r=n(i);if(t.which===13)return r});t.each(function(t,i){n($(i))})}};return{init:t}}();globalInit.push(AccountCreateElementProcessor.init);EventElementProcessor=function(){function n(){var f=$(this).closest('[data-elementprocessor="event"]'),i=new Date($(this).data("start")).toISOString(),r=new Date($(this).data("end")).toISOString(),u=i,n;$(this).data("calendarmonthstart")&&(u=new Date($(this).data("calendarmonthstart")).toISOString());n=r;$(this).data("calendarmonthend")&&(n=new Date($(this).data("calendarmonthend")).toISOString());t(f,i,r,u,n)}function e(){var i=$(this).closest('[data-elementprocessor="event"]'),f="",r,u,n;i.find("input[id=startDate]")&&(f=i.find("input[id=startDate]").val());r=new Date(f).toISOString();u="";i.find("input[id=endDate]")&&(u=i.find("input[id=endDate]").val());n=new Date(u);n.setDate(n.getDate()+1);n.setSeconds(n.getSeconds()-1);n=n.toISOString();t(i,r.substring(0,r.length-1),n.substring(0,n.length-1))}function t(n,t,f,e="",s=""){var c,h;t&&f&&(c=$(n).find("input[id=calendarDefaultTimeView]").val(),c==null&&(c="dayGridMonth"),h={},h.filters=i(n),h.data=u(n),h.snippets=r(n),n.each(function(){$.each(this.attributes,function(n,t){t.name.toLowerCase().substring(0,5)==="data-"&&(h[t.name.toLowerCase().substring(5)]=t.value)})}),h.start=t,h.end=f,h.timezone=Intl.DateTimeFormat().resolvedOptions().timeZone,h.responsetype="list",h.defaulttimeview=c,e&&s&&(h.calendarmonthstart=e,h.calendarmonthend=s),AjaxManager.post("/api/Element/Event",h,function(t){o(n,t)}))}function o(n,t){typeof t.status=="undefined"?DialogManager.toast("Unexpected response.",5e3,"orange"):t.status===AjaxManager.AjaxStatus.SUCCESS?(n.replaceWith(t.message),EventElementProcessor.init(
79)):t.status===AjaxManager.AjaxStatus.WARNING?DialogManager.toast(t.message,8e3,"orange"):t.status===AjaxManager.AjaxStatus.ERROR&&DialogManager.toast(t.message,8e3,"red")}function i(n){var t=[];return n.find('input[data-control="filter"]:checked').each(function(){t.push($(this).val())}),JSON.stringify(t)}function r(n){var t=[];return n.find('div[data-control="snippet"]').each(function(){var n=$(this).data("snippet")||"";n!==""&&t.push({Key:n,Value:$(this).html()})}),JSON.stringify(t)}function u(n){var t=[];return n.find('input[data-control="data"]').each(function(){var n=$(this).attr("name")||"";n!==""&&t.push({Key:n,Value:$(this).val()})}),JSON.stringify(t)}var f=function(){console.log("event element processor init");var t=$('[data-elementprocessor="event"]');$.each(t,function(t,f){let o=$(f).find("#calendar");if(o.length!==0){o=o[0];let n=$(f).find("#calendarDefaultTimeView").val();n===null&&(n="dayGridMonth");var s=new FullCalendar.Calendar(o,{initialView:n,timeZone:Intl.DateTimeFormat().resolvedOptions().timeZone,fixedWeekCount:!1,eventDisplay:"block",views:{timeGridWeek:{slotEventOverlap:!1,eventMaxStack:2,eventDidMount:function(n){$(n.el).prop("title",n.event._def.title)}},timeGridDay:{slotEventOverlap:!1,eventMaxStack:2},dayGridMonth:{dayMaxEventRows:2,displayEventEnd:!0,showNonCurrentDates:!1,eventDidMount:function(n){$(n.el).find(".fc-event-title-container").each(function(){$(n.el).prop("title",n.event._def.title);$(this).insertBefore($(this).prev(".fc-event-time"))})}}},headerToolbar:{left:"prev,next today",center:"title",right:"dayGridMonth,timeGridWeek,timeGridDay,listWeek"},events:function(t,e,o){var s={},h=$(f);s.filters=i(h);s.data=u(h);s.snippets=r(h);h.each(function(){$.each(this.attributes,function(n,t){t.name.toLowerCase().substring(0,5)==="data-"&&(s[t.name.toLowerCase().substring(5)]=t.value)})});s.start=t.startStr;s.end=t.endStr;s.timezone=t.timeZone;s.responsetype="calendar";s.defaulttimeview=n;$.post("/api/Element/Event",s).done(function(n){e(Array.prototype.slice.call(n.data).map(function(n){return{title:n.title,start:n.isoStartDate,end:n.isoEndDate,url:n.url}}))}).fail(function(){o(err)})}});s.render()}else{$("#calendarNext").on("click",n);$("#calendarPrevious").on("click",n);$(".dayNumber a").on("click",n);$("#searchEvents").on("click",e)}})};return{init:f}}();globalInit.push(EventElementProcessor.init);FileAccessElementProcessor=function(){var n=function(){console.log("file access element processor init");var n=$('[data-elementprocessor="file-access"]');if(n.length!==0)n.on("click",".btnDownload",function(n){n.preventDefault();var i=$(this).closest('[data-elementprocessor="file-access"]');t(i,$(this).data("path"))})},t=function(n,t){var i={path:t,encElementDef:$(n).data("elementdefinition")};console.log(i);$.ajax({type:"POST",url:"/plugins/CMS.Plugin.AccessControl.App/Api/FileAccess",data:i,xhrFields:{responseType:"blob"},success:function(n,t,i){var f="",o=i.getResponseHeader("Content-Disposition"),h,e,s,u,r;o&&o.indexOf("attachment")!==-1&&(h=/filename[^;=\n]*=((['"]).*?\2|[^;\n]*)/,e=h.exec(o),e!=null&&e[1]&&(f=e[1].replace(/['"]/g,"")));typeof window.navigator.msSaveBlob!="undefined"?window.navigator.msSaveBlob(n,f):(s=window.URL||window.webkitURL,u=s.createObjectURL(n),f?(r=document.createElement("a"),typeof r.download=="undefined"?window.location.href=u:(r.href=u,r.download=f,document.body.appendChild(r),r.click())):window.location.href=u,setTimeout(function(){s.revokeObjectURL(u)},100))}})};return{init:n}}();globalInit.push(FileAccessElementProcessor.init);FormElementProcessor=function(){function p(n){typeof formBuilderDisableForm=="function"?formBuilderDisableForm(n):console.log("Form template missing function 'formBuilderDisableForm'")}function s(n){typeof formBuilderEnableForm=="function"?formBuilderEnableForm(n):console.log("Form template missing function 'formBuilderEnableForm'")}function w(n){typeof formBuilderPaymentModalOpen=="function"?formBuilderPaymentModalOpen(n):console.log("Form template missing function 'formBuilderPaymentModalOpen'")}function i(n){typeof formBuilderPaymentModalClose=="function"?formBuilderPaymentModalClose(n):console.log("Form template missing function 'formBuilderPaymentModalClose'")}function b(i){var h;t=$(i).attr("id");var r=$("#"+t),c=window.location.href,l=window.location.protocol+"//"+window.location.host+"/",e=0;$.each(i.find("[data-purchasable]"),function(n,t){var i=0;$(t).is(":enabled")&&$(t).is("select")?i=$(t).find("option:selected").data("price"):$(t).is(":enabled")&&$(t).is("input")&&(i=parseFloat($(t).val()));isNaN(i)||typeof i!="number"||(e+=i)});h={action:"payment",paymenttotal:e,baseurl:l,pageurl:c,formid:t};AjaxManager.post("/api/Element/Form",h,function(t){var e,h;if(typeof t.status=="undefined"){i.find(".error").show().find(".message").html("Unexpected payment response");console.log(t);return}if(t.status===AjaxManager.AjaxStatus.WARNING||t.status===AjaxManager.AjaxStatus.ERROR){i.find(".error").show().find(".message").html(t.message);return}if(e=null,h=u.NONE,t.data!=null&&t.data.method!=null&&(h=t.data.method),h===u.AUTHNET){var c=$("#"+$('[data-paymentforform="'+i.attr("id")+'"]').attr("id")),l=c.find('form[n
79ame="paymentForm"]'),a=t.data.postPaymentUrl;a!==""&&l.attr("action",a);w(c);e=t.data.tokenResponse;c.find("input.paymentFormToken").val(e.token);l.submit()}else if(h===u.PAYPAL){if(e=t.data.tokenResponse,e==null||e.paymentUrl===null||e.paymentUrl===""){i.find(".error").show().find(".message").html("Unable to start PayPal payment");return}n=window.open(e.paymentUrl,"paypalWindow");o=setInterval(function(){n.closed&&(n=null,clearInterval(o),s(r))},1e3);window.onbeforeunload=function(){n&&!n.closed&&n.close()};p(r)}else f(i)},!1)}function k(n){var t=!0,i=n.find('input[type="file"]');return $.each(i,function(i,r){h(n,r)||(t=!1)}),t}function h(n,t){var u=!0,o=$(t).attr("data-field"),e=$(t).data("val"),f=n.find('[data-valmsg-for="'+o+'"'),i,r;if(f.removeClass("field-validation-error").addClass("field-validation-valid").html(""),typeof e=="undefined"&&(e=!1),e&&t.files.length===0){u=!1;f.removeClass("field-validation-valid").addClass("field-validation-error").html("File selection required");return}return i=$(t).data("accept"),typeof i=="undefined"&&(i="*"),r=$(t).data("size-limit"),typeof r=="undefined"&&(r=1),$.each(t.files,function(n,e){var o=e.name.split(".").pop().toLowerCase();c(i,o)||(u=!1,f.removeClass("field-validation-valid").addClass("field-validation-error").html("File type not accepted. Allows "+i),$(t).val(""));e.size>1048576*r&&(u=!1,f.removeClass("field-validation-valid").addClass("field-validation-error").html("File size exceeds "+r+" MB limit."),$(t).val(""))}),u}function c(n,t){var r,i;if(n===""||n==="*")return!0;for(r=n.split(","),i=0;i<r.length;i++)if(r[i].trim().toLowerCase()==="."+t.trim().toLowerCase())return!0;return!1}function a(n){var i=n.find("div.progress"),t=i.find(".progress-meter"),o=n.find("div.progress-text"),s=n.find('input[type="submit"]'),h,c;s.length===0&&(s=n.find('button[type="submit"]'));h=s.closest("div.form-input");i.length===0&&(i=$("<div>").addClass("progress"),t=$("<div>").addClass("progress-meter"),o=$("<div>").addClass("progress-text"),i.append(t),h.prepend(i),h.prepend(o));var y=r.shift(),u=y.id,f=y.file;l!==u&&(e=0);l=u;o.html(f.name);t.css("width","0%");t.show();console.log("process file "+f.name);c=new FormData;c.append("file",f,f.name.toLowerCase());$.ajax({xhr:function(){var n=new window.XMLHttpRequest;return n.upload.addEventListener("progress",function(n){if(n.lengthComputable){var i=n.loaded/n.total;i=parseInt(i*100);t.css("width",i+"%")}},!1),n},type:"POST",url:"/Files/Upload",processData:!1,contentType:!1,"async":!0,cache:!1,data:c,success:function(i){var f,s,o;for(console.log(i),f=0;f<i.data.length;f++)s=i.data[f],o=$("<input>"),o.attr("name",u+"_"+e).attr("type","hidden").val(s.path),n.append(o),e++;r.length>0?a(n):(t.hide(),t.css("width","0%"),v(n))},error:function(t){var r,i;console.log("error"+JSON.stringify(t));r=n.find('[data-valmsg-for="'+u+'"');r.removeClass("field-validation-valid").addClass("field-validation-error").html("Error uploading file");i=n.find('input[type="submit"]');i.length===0&&(i=n.find('button[type="submit"]'));i.removeAttr("disabled").css("opacity","1")},complete:function(){}})}function f(n){r=[];var t=n.find('input[type="submit"]');t.length===0&&(t=n.find('button[type="submit"]'));t.attr("disabled","disabled").css("opacity","0.5");$.each(n.find('input[type="file"]'),function(n,t){$.each(t.files,function(n,i){r.push({id:$(t).data("field"),file:i})})});r.length>0?a(n):v(n)}function v(n){n.find('input[name="formpage"]').val(window.location.href);AjaxManager.post("/api/Element/Form",n.serialize(),function(t){d(n,t)})}function d(n,t){var i=n.find('input[type="submit"]');i.length===0&&(i=n.find('button[type="submit"]'));i.removeAttr("disabled").css("opacity","1");t.status===AjaxManager.AjaxStatus.SUCCESS?(t.data.redirect&&(location.href=t.data.redirectTo),n.find(".form").hide(),n.find(".thanks").show().find(".message").html(t.message),$([document.documentElement,document.body]).animate({scrollTop:$("#"+n.attr("id")).offset().top-220},1e3)):alert(t.message)}function g(){console.log("populateHiddenFields for "+$("input[data-populatefromquery]").length+" fields");$.each($("input[data-populatefromquery]"),function(n,t){var u=$(t).attr("data-populatefromquery"),i="";for(var r in location.queryString)if(r.toLowerCase()==u.toLowerCase()){i=location.queryString[r];$(t).val(i);break}})}var u=Object.freeze({NONE:0,AUTHNET:1,PAYPAL:2}),n=null,o=null,t=null,y=function(){console.log("form element processor init");var r=$('[data-elementprocessor="form"]'),e=$('[data-elementprocessor="paymentform"]');if(e.length>0){e.on("click","a.cancelPayment",function(n){n.preventDefault();var t=$(this).closest('[data-elementprocessor="paymentform"]');i(t);t.find("iframe.paymentFormIframe").attr("src","about:blank")});window.AuthorizeNetIFrame||(window.AuthorizeNetIFrame={});AuthorizeNetIFrame.onReceiveCommunication=function(n){var s=$("#"+t),e=$("#"+$('[data-paymentforform="'+t+'"]').attr("id")),o=parseQueryString(n),h,r,c,l,a,v;switch(o.action){case"successfulSave":i(e);e.find("iframe.paymentFormIframe").attr("src","about:blank");break;case"cancel":i(e);e.find("iframe.paymentFormIframe").attr("src","about:blank");break;case"transactResponse":h=o.response;r=null;try{r=JSON.parse(h)}catch(y){}if(r==null){i(e);
79s.find(".error").show().find(".message").html("Unable to read response from payment processor.");return}c=0;isNaN(r.totalAmount)||(c=parseFloat(r.totalAmount));l={PaymentMethod:u.AUTHNET,AccountNumber:r.accountNumber,AccountType:r.accountType,Amount:c,ApprovalCode:r.authorization,TransactionCode:r.transId,ResponseCode:r.responseCode,ResponseData:h};r.responseCode==="1"&&r.authorization!==""&&r.transId!==""&&(s.find('input[name="transactionDetails"]').val(JSON.stringify(l)),f(s));i(e);break;case"resizeWindow":a=parseInt(o.width);v=parseInt(o.height);e.find("iframe.paymentFormIframe").css("width",a.toString()+"px");e.find("iframe.paymentFormIframe").css("height",v.toString()+"px")}};window.PayPalIFrame||(window.PayPalIFrame={});PayPalIFrame.onReceiveCommunication=function(i){var r=$("#"+t);s(r);i.paymentApproved?(r.find('input[name="transactionDetails"]').val(i.transactionDetails),f(r)):r.find(".error").show().find(".message").html(i.paymentMessage);n.close()}}r.find('input[type="file"]').each(function(n,t){$(t).val("")});r.on("change",'input[type="file"]',function(n){n.preventDefault();var t=$(this).closest('[data-elementprocessor="form"]');h(t,$(this)[0])});r.on("change","select.purchasable-item-select",function(){let t=$(this).find(":selected").data("other"),n=$(this).closest(".purchasable");t?(n.find(".otherPaymentItem").show(),n.find(".otherPaymentItem input").prop("disabled",!1)):(n.find(".otherPaymentItem").hide(),n.find(".otherPaymentItem input").prop("disabled",!0))});r.on("input","[data-purchasableqty]",function(){let n=$(this).closest(".purchasable"),t=n.data("fieldname"),u=n.find("[data-purchasableqty]"),r=0,i=[];$.each(u,function(n,t){let u=0,e=$(t).attr("type"),o=$(t).data("name"),f=$(t).data("price");if(e==="checkbox"&&$(t).prop("checked")?u=1:e==="number"&&(u=parseInt($(t).val(),10),$(t).val(u)),(isNaN(u)||u<0)&&(u=0,$(t).val(0)),!isNaN(u)&&u>0&&f>0){let n=u*f;i.push({item:o,quantity:u,price:f,linetotal:n});r+=n}});n.find("#"+t).val(r);n.find('[name="'+t+'"]').val(i.length>0?JSON.stringify(i):"");i.length>0&&$('[data-valmsg-for="'+t+'"]').html("");n.find("#"+t+"-TOTAL").html(formatCurrency(r))});r.on("click",'input[type="submit"], button[type="submit"]',function(n){var t,r,i,u,e,o;n.preventDefault();t=$(this).closest('[data-elementprocessor="form"]');r=t.find("[data-purchasable]").length>0;t.find(".error").hide().find(".message").html("");i=t.data("autofill");typeof Storage!="undefined"&&typeof i!="undefined"&&i===!0&&(u=t.attr("id"),t.find('input[type="text"],input[type="tel"],input[type="email"],input[type="number"]').each(function(){var n=$(this).attr("name"),t=$(this).val(),i=u+"-"+n;n!==""&&sessionStorage.setItem(i,t)}));e=k(t);o=t.valid()&&e;o&&(r?b(t):f(t))});typeof Storage!="undefined"&&$.each(r,function(n,t){var r=$(t).attr("id"),i=$(t).data("autofill");typeof i!="undefined"&&i===!0&&$(t).find('input[type="text"],input[type="tel"],input[type="email"],input[type="number"]').each(function(){var n=$(this).attr("name"),t=r+"-"+n,i=$(this).val();n!==""&&i===""&&sessionStorage[t]&&$(this).val(sessionStorage[t])})});g();$("input[data-purchasableqty]").length>0&&$("input[data-purchasableqty]").trigger("input");$.each(r,function(n,t){$(t).data("validator").settings.ignore=""})},e=0,l="",r=[];return{init:y,IsAcceptedExtension:c,activePaymentFormId:t}}();globalInit.push(FormElementProcessor.init);ImageSizeProcessor=function(){var n=function(){console.log("image size processor init");$("img[data-fullsrc]").each(function(n,t){var i=$(t).data("fullsrc");typeof i!="undefined"&&i!==""&&$(t).fadeOut(200,function(){$(t).attr("src",i)}).fadeIn(200)});setTimeout(function(){$(window).trigger("resize")},300)};return{init:n}}();globalInit.push(ImageSizeProcessor.init);InstagramElementProcessor=function(){var t,n;let r=["caption","media_type","media_url","permalink","thumbnail_url",];var u=function(){console.log("instagram element processor init");var t=$('[data-elementprocessor="instagram"]');$.each(t,function(t,r){i(t,r);n[t]=setInterval(i(t,r),2e4)})},i=function(t,i){let u={fields:JSON.stringify(r),elementdefinition:$(i).data("elementdefinition")};$.post("/api/Element/Instagram",u,function(n){f(n)}).fail(function(){clearInterval(n[t])})},f=function(n){e(n,t)||(t=n,$("#mediaContainer").html(""),n.data.forEach(n=>createMediaElement(n)))},e=function(n,t){var i,f,r,u;if(typeof n=="undefined"||!n||typeof t=="undefined"||!t||(i=Object.getOwnPropertyNames(n),f=Object.getOwnPropertyNames(t),i.length!=f.length))return!1;for(r=0;r<i.length;r++)if(u=i[r],n[u]!==t[u])return!1;return!0};
79return window.onbeforeunload=function(){n.forEach(n=>clearInterval(n))},{init:u}}();globalInit.push(InstagramElementProcessor.init);LoginElementProcessor=function(){function t(n){var t=n.closest('[data-elementprocessor="login"]'),i={action:"login",elementdefinition:t.find('input[name="elementdefinition"]').val(),username:n.find('input[name="username"]').val(),password:n.find('input[name="password"]').val()};AjaxManager.post("/api/Element/Login",i,function(t){u(n,t)})}function i(n){var t=n.closest('[data-elementprocessor="login"]'),i={action:"passwordreset",elementdefinition:t.find('input[name="elementdefinition"]').val(),resetemail:n.find('input[name="resetemail"]').val(),currentpage:window.location.href};AjaxManager.post("/api/Element/Login",i,function(t){f(n,t)})}function r(n){var t=n.closest('[data-elementprocessor="login"]'),i={action:"passwordchange",elementdefinition:t.find('input[name="elementdefinition"]').val(),code:n.find('input[name="code"]').val(),changepasswordemail:n.find('input[name="changepasswordemail"]').val(),changepassword:n.find('input[name="changepassword"]').val(),changepasswordconfirm:n.find('input[name="changepasswordconfirm"]').val()};AjaxManager.post("/api/Element/Login",i,function(t){e(n,t)})}function u(n,t){t.status===AjaxManager.AjaxStatus.SUCCESS?location.href=t.data.redirectTo!==""?t.data.redirectTo:"/":n.find(".login-message").removeClass("success").addClass("alert").removeClass("hide").html(t.message)}function f(n,t){t.status===AjaxManager.AjaxStatus.SUCCESS?(n.find('input[name="resetemail"]').val(""),n.find(".reset-message").addClass("success").removeClass("alert").removeClass("hide").html(t.message)):n.find(".reset-message").removeClass("success").addClass("alert").removeClass("hide").html(t.message)}function e(n,t){if(t.status===AjaxManager.AjaxStatus.SUCCESS){var i=n.closest('[data-elementprocessor="login"]');i.find(".login-view").removeClass("hide");i.find(".password-reset-view").addClass("hide");i.find(".password-change-view").addClass("hide");i.find('input[name="code"]').val("");i.find(".login-message").addClass("success").removeClass("alert").removeClass("hide").html(t.message);n.find(".change-password-message").addClass("hide").html("")}else n.find(".change-password-message").removeClass("hide").html(t.message)}var n=function(){var n,f,u;if(console.log("login element processor init"),n=$('[data-elementprocessor="login"]'),n.length!==0){location.hash==="#reset"&&(history.pushState("",document.title,window.location.pathname+window.location.search),$.each(n,function(n,t){$(t).find(".login-view").addClass("hide");$(t).find(".password-reset-view").removeClass("hide")}));window.location.search.toLowerCase()==="?logout"&&(location.href=location.href.split("?")[0]);n.on("click",'input.login[type="submit"]',function(n){n.preventDefault();var i=$(this).closest("form");i.valid()&&t(i)});n.on("click",'input.resetpass[type="submit"]',function(n){n.preventDefault();var t=$(this).closest("form");t.valid()&&i(t)});n.on("click",'input.updatepassword[type="submit"]',function(n){n.preventDefault();var t=$(this).closest("form");t.valid()&&r(t)});n.on("click",".reset-password",function(n){n.preventDefault();var t=$(this).closest('[data-elementprocessor="login"]');t.find(".login-view").addClass("hide");t.find(".password-reset-view").removeClass("hide")});n.on("click",".back-to-login",function(n){n.preventDefault();var t=$(this).closest('[data-elementprocessor="login"]');t.find(".login-view").removeClass("hide");t.find(".password-reset-view").addClass("hide")});f=$.urlParam("code");u=$('[data-elementprocessor="login"]');f!==""&&u.find(".password-change-view").length>0&&(u.find(".login-view").addClass("hide"),u.find(".password-reset-view").addClass("hide"),u.find(".password-change-view").removeClass("hide"),u.find('input[name="code"]').val(f))}};return{init:n}}();globalInit.push(LoginElementProcessor.init);SearchElementProcessor=function(){function f(n){var t=[];return n.find('input[data-control="filter"]:checked').each(function(){t.push($(this).val())}),JSON.stringify(t)}function e(n){var t=[];
79return n.find('input[data-control="data"]').each(function(){var n=$(this).attr("name")||"";n!==""&&t.push({Key:n,Value:$(this).val()})}),JSON.stringify(t)}function n(n,t){var u=$(n).data("search-endpoint"),r;if((typeof u=="undefined"||u==="")&&(u="/api/Element/Search"),typeof t!="undefined"){AjaxManager.post(u,t,function(t){i(n,t)});return}r={};r.filters=f(n);r.data=e(n);n.attr("data-keywords",n.find('input[data-control="keywords"]').val());n.each(function(){$.each(this.attributes,function(n,t){t.name.toLowerCase().substring(0,5)==="data-"&&(r[t.name.toLowerCase().substring(5)]=t.value)})});var o=location.pathname,s=$('[data-elementprocessor="search"]').index(n),h="searchelement-"+o+"-"+s,c=$(n).attr("data-storesearchparameters");sessionStorage&&c.toLowerCase()==="true"&&sessionStorage.setItem(h,JSON.stringify(r));typeof searchElementOnSearchStart=="function"&&searchElementOnSearchStart(r);AjaxManager.post(u,r,function(t){i(n,t)})}function i(n,t){typeof t.status=="undefined"?(DialogManager.toast("Unexpected response.",5e3,"orange"),console.log(t)):t.status===AjaxManager.AjaxStatus.SUCCESS?(n.replaceWith(t.message),SearchElementProcessor.init(),typeof searchElementOnSearchComplete=="function"&&searchElementOnSearchComplete(t)):t.status===AjaxManager.AjaxStatus.WARNING?DialogManager.toast(t.message,8e3,"orange"):t.status===AjaxManager.AjaxStatus.ERROR&&DialogManager.toast(t.message,8e3,"red")}var t="",r=!1,u=function(){var i=$('[data-elementprocessor="search"]'),u;r||(console.log("search element initialized"),r=!0,typeof searchElementOnSearchInit=="function"&&searchElementOnSearchInit(),$.each(i,function(t,i){var u=location.pathname,f=$('[data-elementprocessor="search"]').index(i),e="searchelement-"+u+"-"+f,o=$(i).attr("data-storesearchparameters"),r;if(sessionStorage&&o.toLowerCase()==="true"){r=sessionStorage.getItem(e);try{r=JSON.parse(r)}catch(s){r=null}r!==null&&n($(i),r)}}));console.log("found "+i.length+" search containers");i.on("keypress",'input[data-control="keywords"]',function(t){var r=t.keyCode||t.which,u=$(this).val(),i;r===13&&(i=$(this).closest('[data-elementprocessor="search"]'),i.attr("data-currentpage",1),i.attr("data-keywords",u),n(i))});i.on("click",'[data-control="searchbutton"]',function(t){t.preventDefault();var i=$(this).closest('[data-elementprocessor="search"]');i.attr("data-currentpage",1);i.attr("data-keywords",i.find('input[data-control="keywords"]').val());n(i)});i.on("click",'[data-control="previouspage"]',function(t){t.preventDefault();var i=$(this).closest('[data-elementprocessor="search"]'),r=i.data("currentpage"),u=i.data("pagecount");r>1&&(r--,i.attr("data-currentpage",r),n(i))});i.on("click",'[data-control="nextpage"]',function(t){t.preventDefault();var i=$(this).closest('[data-elementprocessor="search"]'),r=i.data("currentpage"),u=i.data("pagecount");r<u&&(r++,i.attr("data-currentpage",r),n(i))});i.on("click",'input[data-control="filter"]',function(){var t=$(this).closest('[data-elementprocessor="search"]');t.attr("data-currentpage",1);n(t)});u=i.find('input[data-control="data"]');u.length>0&&$.each(u,function(t,r){var f=$(r).data("trigger-search")||!1,u;if(f){u="#"+$(r).attr("id");i.on("change",u,function(){var t=$(this).closest('[data-elementprocessor="search"]');t.attr("data-currentpage",1);n(t)})}});t===""&&(t=$.urlParam("keywords"),t!==""&&i.find('input[data-control="keywords"]').val(decodeURIComponent(t.replace(/\+/g,"%20"))));typeof searchLoadComplete=="function"&&searchLoadComplete()};return{init:u,search:n,searchCallback:i}}();globalInit.push(SearchElementProcessor.init);

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