vendor: 6,629 bytes, lines 1-6
1/*! Simple Calendar - 4.2.1 2 * https://simplecalendar.io 3 * Copyright (c) Xtendify Technologies 2026 4 * Licensed GPLv2+ */ 5 6(()=>{var ct=Object.create;var it=Object.defineProperty;var lt=Object.getOwnPropertyDescriptor;var ft=Object.getOwnPropertyNames;var dt=Object.getPrototypeOf,ht=Object.prototype.hasOwnProperty;var R=(i,g)=>()=>{try{return g||i((g={exports:{}}).exports,g),g.exports}catch(N){throw g=0,N}};var mt=(i,g,N,I)=>{if(g&&typeof g=="object"||typeof g=="function")for(let y of ft(g))!ht.call(i,y)&&y!==N&&it(i,y,{get:()=>g[y],enumerable:!(I=lt(g,y))||I.enumerable});return i};var V=(i,g,N)=>(N=i!=null?ct(dt(i)):{},mt(g||!i||!i.__esModule?it(N,"default",{value:i,enumerable:!0}):N,i));var at=R((K,X)=>{(function(i,g){typeof K=="object"&&typeof X<"u"?X.exports=g():typeof define=="function"&&define.amd?define(g):(i=typeof globalThis<"u"?globalThis:i||self).dayjs=g()})(K,(function(){"use strict";var i=1e3,g=6e4,N=36e5,I="millisecond",y="second",H="minute",$="hour",L="day",j="week",z="month",M="quarter",T="year",s="date",t="Invalid Date",r=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,p=/\[([^\]]+)]|YYYY|YY|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,m={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(u){var a=["th","st","nd","rd"],e=u%100;return"["+u+(a[(e-20)%10]||a[e]||a[0])+"]"}},d=function(u,a,e){var o=String(u);return!o||o.length>=a?u:""+Array(a+1-o.length).join(e)+u},b={s:d,z:function(u){var a=-u.utcOffset(),e=Math.abs(a),o=Math.floor(e/60),n=e%60;return(a<=0?"+":"-")+d(o,2,"0")+":"+d(n,2,"0")},m:function u(a,e){if(a.date()<e.date())return-u(e,a);var o=12*(e.year()-a.year())+(e.month()-a.month()),n=a.clone().add(o,z),l=e-n<0,f=a.clone().add(o+(l?-1:1),z);return+(-(o+(e-n)/(l?n-f:f-n))||0)},a:function(u){return u<0?Math.ceil(u)||0:Math.floor(u)},p:function(u){return{M:z,y:T,w:j,d:L,D:s,h:$,m:H,s:y,ms:I,Q:M}[u]||String(u||"").toLowerCase().replace(/s$/,"")},u:function(u){return u===void 0}},c="en",D={};D[c]=m;var _="$isDayjsObject",k=function(u){return u instanceof C||!(!u||!u[_])},Y=function u(a,e,o){var n;if(!a)return c;if(typeof a=="string"){var l=a.toLowerCase();D[l]&&(n=l),e&&(D[l]=e,n=l);var f=a.split("-");if(!n&&f.length>1)return u(f[0])}else{var w=a.name;D[w]=a,n=w}return!o&&n&&(c=n),n||!o&&c},h=function(u,a){if(k(u))return u.clone();var e=typeof a=="object"?a:{};return e.date=u,e.args=arguments,new C(e)},v=b;v.l=Y,v.i=k,v.w=function(u,a){return h(u,{locale:a.$L,utc:a.$u,x:a.$x,$offset:a.$offset})};var C=(function(){function u(e){this.$L=Y(e.locale,null,!0),this.parse(e),this.$x=this.$x||e.x||{},this[_]=!0}var a=u.prototype;return a.parse=function(e){this.$d=(function(o){var n=o.date,l=o.utc;if(n===null)return new Date(NaN);if(v.u(n))return new Date;if(n instanceof Date)return new Date(n);if(typeof n=="string"&&!/Z$/i.test(n)){var f=n.match(r);if(f){var w=f[2]-1||0,x=(f[7]||"0").substring(0,3);return l?new Date(Date.UTC(f[1],w,f[3]||1,f[4]||0,f[5]||0,f[6]||0,x)):new Date(f[1],w,f[3]||1,f[4]||0,f[5]||0,f[6]||0,x)}}return new Date(n)})(e),this.init()},a.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},a.$utils=function(){return v},a.isValid=function(){return this.$d.toString()!==t},a.isSame=function(e,o){var n=h(e);return this.startOf(o)<=n&&n<=this.endOf(o)},a.isAfter=function(e,o){return h(e)<this.startOf(o)},a.isBefore=function(e,o){return this.endOf(o)<h(e)},a.$g=function(e,o,n){return v.u(e)?this[o]:this.set(n,e)},a.unix=function(){return Math.floor(this.valueOf()/1e3)},a.valueOf=function(){return this.$d.getTime()},a.startOf=function(e,o){var n=this,l=!!v.u(o)||o,f=v.p(e),w=function(B,U){var Z=v.w(n.$u?Date.UTC(n.$y,U,B):new Date(n.$y,U,B),n);return l?Z:Z.endOf(L)},x=function(B,U){return v.w(n.toDate()[B].apply(n.toDate("s"),(l?[0,0,0,0]:[23,59,59,999]).slice(U)),n)},S=this.$W,A=this.$M,W=this.$D,E="set"+(this.$u?"UTC":"");switch(f){case T:return l?w(1,0):w(31,11);case z:return l?w(1,A):w(0,A+1);case j:var F=this.$locale().weekStart||0,P=(S<F?S+7:S)-F;return w(l?W-P:W+(6-P),A);case L:case s:return x(E+"Hours",0);case $:return x(E+"Minutes",1);case H:return x(E+"Seconds",2);case y:return x(E+"Milliseconds",3);default:return this.clone()}},a.endOf=function(e){return this.startOf(e,!1)},a.$set=function(e,o){var n,l=v.p(e),f="set"+(this.$u?"UTC":""),w=(n={},n[L]=f+"Date",n[s]=f+"Date",n[z]=f+"Month",n[T]=f+"FullYear",n[$]=f+"Hours",n[H]=f+"Minutes",n[y]=f+"Seconds",n[I]=f+"Milliseconds",n)[l],x=l===L?this.$D+(o-this.$W):o;if(l===z||l===T){var S=this.clone().set(s,1);S.$d[w](x),S.init(),this.$d=S.set(s,Math.min(this.$D,S.daysInMonth())).$d}else w&&this.$d[w](x);return this.init(),this},a.set=function(e,o){return this.clone().$set(e,o)},a.get=function(e){return this[v.p(e)]()},a.add=function(e,o){var n,l=this;e=Number(e);var f=v.p(o),w=function(A){var W=h(l);return v.w(W.date(W.date()+Math.round(A*e)),l)};if(f===z)return this.set(z,this.$M+e);if(f===T)return this.set(T,this.$y+e);if(f===L)return w(1);if(f===j)return w(7);var x=(n={},n[H]=g,n[$]=N,n[y]=i,n)[f]||1,S=this.$d.getTime()+e*x;return v.w(S,this)},a.subtract=function(e,o){return this.add(-1*e,o)},a.format=function(e){var o=this,n=this.$locale();if(!this.isValid())return n.invalidDate||t;var l=e||"YYYY-MM-DDTHH:mm:ssZ",f=v.z(this),w=this.$H,x=this.$m,S=this.$M,A=n.weekdays,W=n.months,E=n.meridiem,F=function(U,Z,J,Q){return U&&(U[Z]||U(o,l))||J[Z].slice(0,Q)},P=function(U){return v.s(w%12||12,U,"0")},B=E||function(U,Z,J){var Q=U<12?"AM":"PM";return J?Q.toLowerCase():Q};return l.replace(p,(function(U,Z){return Z||(function(J){switch(J){case"YY":return String(o.$y).slice(-2);case"YYYY":return v.s(o.$y,4,"0");case"M":return S+1;case"MM":return v.s(S+1,2,"0");case"MMM":return F(n.monthsShort,S,W,3);case"MMMM":return F(W,S);case"D":return o.$D;case"DD":return v.s(o.$D,2,"0");case"d":return String(o.$W);case"dd":return F(n.weekdaysMin,o.$W,A,2);case"ddd":return F(n.weekdaysShort,o.$W,A,3);case"dddd":return A[o.$W];case"H":return String(w);case"HH":return v.s(w,2,"0");case"h":return P(1);case"hh":return P(2);case"a":return B(w,x,!0);case"A":return B(w,x,!1);case"m":return String(x);case"mm":return v.s(x,2,"0");case"s":return String(o.$s);case"ss":return v.s(o.$s,2,"0");case"SSS":return v.s(o.$ms,3,"0");case"Z":return f}return null})(U)||f.replace(":","")}))}
vendor: 4,483 bytes, line 6
6,a.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},a.diff=function(e,o,n){var l,f=this,w=v.p(o),x=h(e),S=(x.utcOffset()-this.utcOffset())*g,A=this-x,W=function(){return v.m(f,x)};switch(w){case T:l=W()/12;break;case z:l=W();break;case M:l=W()/3;break;case j:l=(A-S)/6048e5;break;case L:l=(A-S)/864e5;break;case $:l=A/N;break;case H:l=A/g;break;case y:l=A/i;break;default:l=A}return n?l:v.a(l)},a.daysInMonth=function(){return this.endOf(z).$D},a.$locale=function(){return D[this.$L]},a.locale=function(e,o){if(!e)return this.$L;var n=this.clone(),l=Y(e,o,!0);return l&&(n.$L=l),n},a.clone=function(){return v.w(this.$d,this)},a.toDate=function(){return new Date(this.valueOf())},a.toJSON=function(){return this.isValid()?this.toISOString():null},a.toISOString=function(){return this.$d.toISOString()},a.toString=function(){return this.$d.toUTCString()},u})(),O=C.prototype;return h.prototype=O,[["$ms",I],["$s",y],["$m",H],["$H",$],["$W",L],["$M",z],["$y",T],["$D",s]].forEach((function(u){O[u[1]]=function(a){return this.$g(a,u[0],u[1])}})),h.extend=function(u,a){return u.$i||(u(a,C,h),u.$i=!0),h},h.locale=Y,h.isDayjs=k,h.unix=function(u){return h(1e3*u)},h.en=D[c],h.Ls=D,h.p={},h}))});var rt=R((q,tt)=>{(function(i,g){typeof q=="object"&&typeof tt<"u"?tt.exports=g():typeof define=="function"&&define.amd?define(g):(i=typeof globalThis<"u"?globalThis:i||self).dayjs_plugin_utc=g()})(q,(function(){"use strict";var i="minute",g=/[+-]\d\d(?::?\d\d)?/g,N=/([+-]|\d\d)/g;return function(I,y,H){var $=y.prototype;H.utc=function(t){var r={date:t,utc:!0,args:arguments};return new y(r)},$.utc=function(t){var r=H(this.toDate(),{locale:this.$L,utc:!0});return t?r.add(this.utcOffset(),i):r},$.local=function(){return H(this.toDate(),{locale:this.$L,utc:!1})};var L=$.parse;$.parse=function(t){t.utc&&(this.$u=!0),this.$utils().u(t.$offset)||(this.$offset=t.$offset),L.call(this,t)};var j=$.init;$.init=function(){if(this.$u){var t=this.$d;this.$y=t.getUTCFullYear(),this.$M=t.getUTCMonth(),this.$D=t.getUTCDate(),this.$W=t.getUTCDay(),this.$H=t.getUTCHours(),this.$m=t.getUTCMinutes(),this.$s=t.getUTCSeconds(),this.$ms=t.getUTCMilliseconds()}else j.call(this)};var z=$.utcOffset;$.utcOffset=function(t,r){var p=this.$utils().u;if(p(t))return this.$u?0:p(this.$offset)?z.call(this):this.$offset;if(typeof t=="string"&&(t=(function(c){c===void 0&&(c="");var D=c.match(g);if(!D)return null;var _=(""+D[0]).match(N)||["-",0,0],k=_[0],Y=60*+_[1]+ +_[2];return Y===0?0:k==="+"?Y:-Y})(t),t===null))return this;var m=Math.abs(t)<=16?60*t:t;if(m===0)return this.utc(r);var d=this.clone();if(r)return d.$offset=m,d.$u=!1,d;var b=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();return(d=this.local().add(m+b,i)).$offset=m,d.$x.$localOffset=b,d};var M=$.format;$.format=function(t){var r=t||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return M.call(this,r)},$.valueOf=function(){var t=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*t},$.isUTC=function(){return!!this.$u},$.toISOString=function(){return this.toDate().toISOString()},$.toString=function(){return this.toDate().toUTCString()};var T=$.toDate;$.toDate=function(t){return t==="s"&&this.$offset?H(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():T.call(this)};var s=$.diff;$.diff=function(t,r,p){if(t&&this.$u===t.$u)return s.call(this,t,r,p);var m=this.local(),d=H(t).local();return s.call(m,d,r,p)}}}))});var st=R((et,nt)=>{(function(i,g){typeof et=="object"&&typeof nt<"u"?nt.exports=g():typeof define=="function"&&define.amd?define(g):(i=typeof globalThis<"u"?globalThis:i||self).dayjs_plugin_timezone=g()})(et,(function(){"use strict";var i={year:0,month:1,day:2,hour:3,minute:4,second:5},g={};return function(N,I,y){var H,$=function(M,T,s){s===void 0&&(s={});var t=new Date(M),r=(function(p,m){m===void 0&&(m={});var d=m.timeZoneName||"short",b=p+"|"+d,c=g[b];return c||(c=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:p,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",timeZoneName:d}),g[b]=c),c})(T,s);return r.formatToParts(t)},L=function(M,T){for(var s=$(M,T),t=[],r=0;r<s.length;r+=1){var p=s[r],m=p.type,d=p.value,b=i[m];b>=0&&(t[b]=parseInt(d,10))}var c=t[3],D=c===24?0:c,_=t[0]+"-"+t[1]+"-"+t[2]+" "+D+":"+t[4]+":"+t[5]+":000",k=+M;return(y.utc(_).valueOf()-(k-=k%1e3))/6e4},j=I.prototype;j.tz=function(M,T){if(M===void 0&&(M=H),!this.isValid())return this;
6var s,t=this.utcOffset(),r=this.toDate(),p=r.toLocaleString("en-US",{timeZone:M}),m=L(+r,M);if(!Number(m))s=this.utcOffset(0,T);else if(s=y(p,{locale:this.$L}).$set("millisecond",this.$ms).utcOffset(m,!0),T){var d=s.utcOffset();s=s.add(t-d,"minute")}return s.$x.$timezone=M,s},j.offsetName=function(M){var T=this.$x.$timezone||y.tz.guess(),s=$(this.valueOf(),T,{timeZoneName:M}).find((function(t){return t.type.toLowerCase()==="timezonename"}));return s&&s.value};var z=j.startOf;j.startOf=function(M,T){if(!this.$x||!this.$x.$timezone)return z.call(this,M,T);var s=y(this.format("YYYY-MM-DD HH:mm:ss:SSS"),{locale:this.$L});return z.call(s,M,T).tz(this.$x.$timezone,!0)},y.tz=function(M,T,s){var t=s&&T,r=s||T||H,p=L(+y(),r);if(typeof M!="string")return y(M).tz(r);var m=y.utc(M,t).valueOf();if(Number.isNaN(m)){var d=y(NaN);return d.$x.$timezone=r,d}var b=(function(k,Y,h){var v=k-60*Y*1e3,C=L(v,h);if(Y===C)return[v,Y];var O=L(v-=60*(C-Y)*1e3,h);return C===O?[v,C]:[k-60*Math.min(C,O)*1e3,Math.max(C,O)]})(m,p,r),c=b[0],D=b[1],_=y(c).utcOffset(D);return _.$x.$timezone=r,_},y.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},y.tz.setDefault=function(M){H=M}}}))});var G=V(at()),ot=V(rt()),ut=V(st());G.default.extend(ot.default);G.default.extend(ut.default);jQuery(function(i){function g(s){var t=i(s);if(!t.data("simcal-nav-initialized")){t.data("simcal-nav-initialized",!0);var r=t.data("calendar-id"),p=t.data("offset"),m=t.data("events-first"),d=t.data("calendar-end"),b=t.find(".simcal-calendar-head"),c=b.find(".simcal-nav-button"),D=t.find(".simcal-ajax-loader"),_=b.find(".simcal-current"),k=_.data("calendar-current"),Y=_.find("span.simcal-current-month"),h=_.find("span.simcal-current-year"),v=(0,G.default)(k*1e3).tz(t.data("timezone")),C,O;t.hasClass("simcal-default-calendar-grid")?(O="simcal_default_calendar_draw_grid",C=new Date(v.year(),v.month()),y(c,C.getTime()/1e3,m,d)):(O="simcal_default_calendar_draw_list",H(c,t,m,d,!1,k),$(t)),c.on("click",function(){var u=i(this).hasClass("simcal-next")?"next":"prev";if(O=="simcal_default_calendar_draw_grid"){var a=t.find(".simcal-month"),e,o,n;u=="prev"?e=new Date(C.setMonth(C.getMonth()-1,1)):(e=new Date(C.setMonth(C.getMonth()+2,1)),e.setDate(0),e.setHours(23),e.setMinutes(59),e.setSeconds(59)),o=e.getMonth(),n=e.getFullYear(),i.ajax({url:simcal_default_calendar.ajax_url,type:"POST",dataType:"json",cache:!1,data:{action:O,month:o+1,year:n,id:r},beforeSend:function(){D.fadeIn(),a.attr("aria-busy","true")},success:function(S){Y.text(simcal_default_calendar.months.full[o]),h.text(n),_.attr("data-calendar-current",e.getTime()/1e3+p+1),y(c,e.getTime()/1e3,m,d),D.fadeToggle(),C=e,a.replaceWith(S.data),a=t.find(".simcal-month"),t.removeAttr("aria-busy"),j(t)},complete:function(){D.fadeOut(),t.removeAttr("aria-busy")},error:function(S){t.removeAttr("aria-busy"),console.log(S)}})}else{var l=t.find(".simcal-events-list-container"),f=l.data("prev"),w=l.data("next"),x=u=="prev"?f:w;i.ajax({url:simcal_default_calendar.ajax_url,type:"POST",dataType:"json",cache:!1,data:{action:O,ts:x,id:r},beforeSend:function(){D.fadeIn(),t.attr("aria-busy","true")},success:function(S){l.replaceWith(S.data),l=t.find(".simcal-events-list-container"),t.removeAttr("aria-busy"),_.attr("data-calendar-current",x),$(t),H(c,t,m,d,u,x),D.fadeToggle()},complete:function(){D.fadeOut(),t.removeAttr("aria-busy")},error:function(S){l.removeAttr("aria-busy"),console.log(S)}})}})}}function N(s){if(!s.closest(".simcal-responsive-views").length)return!1;var t=window.matchMedia&&window.matchMedia("(max-width: 768px)").matches;return t?s.hasClass("simcal-default-calendar-grid"):s.hasClass("simcal-default-calendar-list")}function I(){i('.simcal-responsive-views .simcal-default-calendar[data-simcal-deferred="1"]').each(function(s,t){var r=i(t);N(r)||(r.removeAttr("data-simcal-deferred"),g(r),r.hasClass("simcal-default-calendar-grid")?(j(r),r.off("change.simcalBubbles").on("change.simcalBubbles",function(){j(this)})):$(r))})}i(".simcal-default-calendar").each(function(s,t){var r=i(t);if(N(r)){r.attr("data-simcal-deferred","1");return}g(r)});function y(s,t,r,p){s.each(function(m,d){var b=i(d),c=new Date(t*1e3);b.hasClass("simcal-prev")?(c=new Date(c.setMonth(c.getMonth(),1)),c.setDate(0),c.getTime()/1e3<=r?b.attr("disabled","disabled"):b.removeAttr("disabled")):(c=new Date(c.setMonth(c.getMonth()+1,
61)),c.setDate(0),c.setHours(23),c.setMinutes(59),c.setSeconds(59),c.getTime()/1e3>=p?b.attr("disabled","disabled"):b.removeAttr("disabled"))})}function H(s,t,r,p,m,d){var b=t.find(".simcal-events-list-container"),c=b.data("prev"),D=b.data("next"),_=b.find("li.simcal-event:last").data("start");s.each(function(k,Y){var h=i(Y);m?h.hasClass("simcal-prev")?m=="prev"?c<=r&&d<=r&&h.attr("disabled","disabled"):h.removeAttr("disabled"):h.hasClass("simcal-next")&&(m=="next"?(D>=p&&d>=p||_>=p)&&h.attr("disabled","disabled"):h.removeAttr("disabled")):h.hasClass("simcal-prev")?c<=r&&d<=r&&h.attr("disabled","disabled"):h.hasClass("simcal-next")&&(D>=p&&d>=p||_>=p)&&h.attr("disabled","disabled")})}function $(s){var t=i(s).find(".simcal-current"),r=i(s).find(".simcal-events-list-container"),p=r.data("heading-small"),m=r.data("heading-large"),d=i("<h3 />");s.width()<400?d.text(p):d.text(m),t.html(d)}var L=i(".simcal-default-calendar-grid");function j(s){var t=i(s).find("> table"),r=t.find("thead"),p=r.find("th.simcal-week-day"),m=t.find("td.simcal-day > div"),d=t.find("ul.simcal-events"),b=d.find("> li > .simcal-event-title"),c=t.find(".simcal-events-toggle"),D=t.find("span.simcal-events-dots"),_=t.find(".simcal-tooltip-content"),k=t.find(".simcal-event-toggled"),Y=t.data("event-bubble-trigger"),h=m.first().width();if(h<60){p.each(function(C,O){i(O).text(i(O).data("screen-small"))}),d.hide(),b.hide(),c!="undefined"&&(c.hide(),k!="undefined"&&k.show()),D.show(),Y="click";var v=h-10+"px";m.css("min-height",v),t.find("span.simcal-events-dots:not(:empty)").css("min-height",v)}else h<=240?p.each(function(C,O){i(O).text(i(O).data("screen-medium"))}):p.each(function(C,O){i(O).text(i(O).data("screen-large"))}),d.show(),b.show(),c!="undefined"&&(c.show(),k!="undefined"&&k.hide()),D.hide(),m.css("min-height",h+"px");m.each(function(C,O){var u=i(O).find("span.simcal-events-dots"),a=i(O).find(".simcal-tooltip"),e,o,n;h<60?(_.show(),e=u):(_.hide(),e=a),e.each(function(l,f){i(f).qtip({content:{text:function(){return(h<60?i(O).find("ul.simcal-events").clone(!0,!0).css({display:"block"})[0]:i(f).find("> .simcal-tooltip-content").clone(!0,!0).css({display:"block"})[0])||"No event info available"}},position:{my:"top center",at:"bottom center",target:i(f),viewport:h<60?i(window):!0,adjust:{method:"shift",scroll:!1}},style:{def:!1,classes:"simcal-default-calendar simcal-event-bubble"},show:{solo:!0,effect:!1,event:Y=="hover"?"mouseenter":"click"},hide:{fixed:!0,effect:!1,event:Y=="click"?"unfocus":"mouseleave",delay:100},events:{render:function(w,x){setTimeout(()=>{x.reposition()},10)},show:function(w,x){n&&n.id&&n.id!==x.id&&n.hide(),n=x}},overwrite:!1})})})}L.each(function(s,t){var r=i(t);r.attr("data-simcal-deferred")==="1"||N(r)||(j(t),r.on("change",function(){j(this)}))});var z=null;if(window.onresize=function(){z&&clearTimeout(z),z=setTimeout(function(){I(),L.each(function(s,t){i(t).is(":visible")&&j(t)})},150)},window.matchMedia){var M=window.matchMedia("(max-width: 768px)"),T=function(){I(),L.each(function(s,t){i(t).is(":visible")&&j(t)})};M.addEventListener?M.addEventListener("change",T):M.addListener&&M.addListener(T)}i(document).on("click",".simcal-print-calendar-button",function(){var s=i(this).closest(".simcal-calendar");if(s.length){var t=s.clone(!1),r=i("body").children().not("script").filter(":visible");r.hide(),i("body").append(t),i("body").addClass("simcal-print-calendar"),window.print(),t.remove(),r.show(),i("body").removeClass("simcal-print-calendar")}}),i(document).on("click",".simcal-ics-url-button",function(s){s.preventDefault();var t=i(this),r=t.data("url"),p=t.find(".simcal-calendar-action-label"),m=p.text();if(!r)return;function d(){p.text("Copied!"),setTimeout(function(){p.text(m)},2e3)}navigator.clipboard&&navigator.clipboard.writeText?navigator.clipboard.writeText(r).then(d).catch(function(){b(r),d()}):(b(r),d());function b(c){var D=i("<textarea readonly>").val(c).css({position:"fixed",top:"-9999px",left:"-9999px",opacity:0}).appendTo("body");D[0].focus(),D[0].select(),document.execCommand("copy"),D.remove()}}),i(document).on("click.simcalEventsToggle",".simcal-events-toggle",function(){var s=i(this);
6s.find("i").toggleClass("simcal-icon-rotate-180"),s.prev(".simcal-events").find(".simcal-event-toggled").slideToggle()})});})(); 7//# sourceMappingURL=default-calendar.min.js.map
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.