@bbn/bbn 2.0.211 → 2.0.214

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/bbn.js CHANGED
@@ -1,2 +1,2 @@
1
- !function(e,n){"object"==typeof exports&&"undefined"!=typeof module?n(exports):"function"==typeof define&&define.amd?define(["exports"],n):n((e="undefined"!=typeof globalThis?globalThis:e||self).bbn={})}(this,function(e){"use strict";function n(e,n,r,o,i){return t(n,((e,n)=>{const t=e[n];if(void 0===t)throw new TypeError(To(n));return t})(e,n),r,o,i)}function t(e,n,t,r,o,i){const a=E(n,t,r);if(o&&n!==a)throw new RangeError(vo(e,n,t,r,i));return a}function r(e){return null!==e&&/object|function/.test(typeof e)}function o(e,n=Map){const t=new n;return(n,...r)=>{if(t.has(n))return t.get(n);const o=e(n,...r);return t.set(n,o),o}}function i(e){return a({name:e},1)}function a(e,n){return u(e=>({value:e,configurable:1,writable:!n}),e)}function s(e){return u(e=>({get:e,configurable:1}),e)}function m(e){return{[Symbol.toStringTag]:{value:e,configurable:1}}}function l(e,n){const t={};let r=e.length;for(const o of n)t[e[--r]]=o;return t}function u(e,n,t){const r={};for(const o in n)r[o]=e(n[o],o,t);return r}function d(e,n,t){const r={};for(let o=0;o<n.length;o++){const i=n[o];r[i]=e(i,o,t)}return r}function c(e,n,t){const r={};for(let o=0;o<e.length;o++)r[n[o]]=t[e[o]];return r}function h(e,n){const t=Object.create(null);for(const r of e)t[r]=n[r];return t}function f(e,n){for(const t of n)if(t in e)return 1;return 0}function M(e,n,t){for(const r of e)if(n[r]!==t[r])return 0;return 1}function y(e,n,t){const r={...t};for(let t=0;t<n;t++)r[e[t]]=0;return r}function g(e,...n){return(...t)=>e(...n,...t)}function p(e){return e[0].toUpperCase()+e.substring(1)}function b(e){return e.slice().sort()}function w(e,n){return String(n).padStart(e,"0")}function v(e,n){return Math.sign(e-n)}function E(e,n,t){return Math.min(Math.max(e,n),t)}function T(e,n){return[Math.floor(e/n),S(e,n)]}function S(e,n){return(e%n+n)%n}function D(e,n){return[z(e,n),A(e,n)]}function z(e,n){return Math.trunc(e/n)||0}function A(e,n){return e%n||0}function H(e){return.5===Math.abs(e%1)}function k(e,n,t){let r=0,o=0;for(let i=0;i<=n;i++){const n=e[t[i]],a=pi[i],s=gi/a,[m,l]=D(n,s);r+=l*a,o+=m}const[i,a]=D(r,gi);return[o+i,a]}function I(e,n,t){const r={};for(let o=n;o>=0;o--){const n=pi[o];r[t[o]]=z(e,n),e=A(e,n)}return r}function _(e){if(void 0!==e)return P(e)}function C(e){return N(P(e))}function P(e){return x(Wi(e))}function G(e,n){if(null==n)throw new RangeError(To(e));return n}function O(e){if(!r(e))throw new TypeError(wo);return e}function B(e,n,t=e){if(typeof n!==e)throw new TypeError(Eo(t,n));return n}function x(e,n="number"){if(!Number.isInteger(e))throw new RangeError(fo(n,e));return e||0}function N(e,n="number"){if(e<=0)throw new RangeError(Mo(n,e));return e}function L(e){if("symbol"==typeof e)throw new TypeError(bo);return String(e)}function j(e,n){return r(e)?String(e):Yi(e,n)}function R(e){if("string"==typeof e)return BigInt(e);if("bigint"!=typeof e)throw new TypeError(po(e));return e}function F(e,n="number"){if("bigint"==typeof e)throw new TypeError(go(n));if(e=Number(e),!Number.isFinite(e))throw new RangeError(yo(n,e));return e}function Y(e,n){return Math.trunc(F(e,n))||0}function Z(e,n){return x(F(e,n),n)}function W(e,n){return N(Y(e,n),n)}function U(e,n){let[t,r]=D(n,gi),o=e+t;const i=Math.sign(o);return i&&i===-Math.sign(r)&&(o-=i,r+=i*gi),[o,r]}function q(e,n,t=1){return U(e[0]+n[0]*t,e[1]+n[1]*t)}function $(e,n){return U(e[0],e[1]+n)}function V(e,n){return q(n,e,-1)}function K(e,n){return v(e[0],n[0])||v(e[1],n[1])}function J(e,n,t){return-1===K(e,n)||1===K(e,t)}function X(e,n=1){const t=BigInt(gi/n);return[Number(e/t),Number(e%t)*n]}function Q(e,n=1){const t=gi/n,[r,o]=D(e,t);return[r,o*n]}function ee(e,n=1,t){const[r,o]=e,[i,a]=D(o,n);return r*(gi/n)+(i+(t?a/n:0))}function ne(e,n,t=T){const[r,o]=e,[i,a]=t(o,n);return[r*(gi/n)+i,a]}function te(e){return n(e,"isoYear",fa,ha,1),e.isoYear===fa?n(e,"isoMonth",4,12,1):e.isoYear===ha&&n(e,"isoMonth",1,9,1),e}function re(e){return oe({...e,...sa,isoHour:12}),e}function oe(e){const t=n(e,"isoYear",fa,ha,1),r=t===fa?1:t===ha?-1:0;return r&&ie(ue({...e,isoDay:e.isoDay+r,isoNanosecond:e.isoNanosecond-r})),e}function ie(e){if(!e||J(e,ca,da))throw new RangeError($o);return e}function ae(e){return k(e,5,na)[1]}function se(e){const[n,t]=T(e,gi);return[I(t,5,na),n]}function me(e){return ne(e,fi)}function le(e){return he(e.isoYear,e.isoMonth,e.isoDay,e.isoHour,e.isoMinute,e.isoSecond,e.isoMillisecond)}function ue(e){const n=le(e);if(void 0!==n){const[t,r]=D(n,ui);return[t,r*hi+(e.isoMicrosecond||0)*ci+(e.isoNanosecond||0)]}}function de(e,n){const[t,r]=se(ae(e)-n);return ie(ue({...e,isoDay:e.isoDay+r,...t}))}function ce(...e){return he(...e)/di}function he(...e){const[n,t]=fe(...e),r=n.valueOf();if(!isNaN(r))return r-t*ui}function fe(e,n=1,t=1,r=0,o=0,i=0,a=0){const s=e===fa?1:e===ha?-1:0,m=new Date;return m.setUTCHours(r,o,i,a),m.setUTCFullYear(e,n-1,t+s),[m,s]}function Me(e,n){let[t,r]=$(e,n);r<0&&(r+=gi,t-=1);const[o,i]=T(r,hi),[a,s]=T(i,ci);return ye(t*ui+o,a,s)}function ye(e,n=0,t=0){const r=Math.ceil(Math.max(0,Math.abs(e)-ua)/ui)*Math.sign(e),o=new Date(e-r*ui);return l(ra,[o.getUTCFullYear(),o.getUTCMonth()+1,o.getUTCDate()+r,o.getUTCHours(),o.getUTCMinutes(),o.getUTCSeconds(),o.getUTCMilliseconds(),n,t])}function ge(e,n){if(n<-ua)throw new RangeError($o);const t=e.formatToParts(n),r={};for(const e of t)r[e.type]=e.value;return r}function pe(e){return[e.isoYear,e.isoMonth,e.isoDay]}function be(e,n){return[n,0]}function we(){return ba}function ve(e,n){switch(n){case 2:return Te(e)?29:28;case 4:case 6:case 9:case 11:return 30}return 31}function Ee(e){return Te(e)?366:365}function Te(e){return e%4==0&&(e%100!=0||e%400==0)}function Se(e){const[n,t]=fe(e.isoYear,e.isoMonth,e.isoDay);return S(n.getUTCDay()-t,7)||7}function De(e){return this.id===Ni?(({isoYear:e})=>e<1?["gregory-inverse",1-e]:["gregory",e])(e):this.id===Li?va(e):[]}function ze(e){const n=le(e);if(n<wa){const{isoYear:n}=e;return n<1?["japanese-inverse",1-n]:["japanese",n]}const t=ge(Cs(Li),n),{era:r,eraYear:o}=_r(t,Li);return[r,o]}function Ae(e){return He(e),_e(e,1),e}function He(e){return Ie(e,1),e}function ke(e){return M(ta,e,Ie(e))}function Ie(e,t){const{isoYear:r}=e,o=n(e,"isoMonth",1,we(),t);return{isoYear:r,isoMonth:o,isoDay:n(e,"isoDay",1,ve(r,o),t)}}function _e(e,t){return l(na,[n(e,"isoHour",0,23,t),n(e,"isoMinute",0,59,t),n(e,"isoSecond",0,59,t),n(e,"isoMillisecond",0,999,t),n(e,"isoMicrosecond",0,999,t),n(e,"isoNanosecond",0,999,t)])}function Ce(e){return void 0===e?0:ja(O(e))}function Pe(e,n=0){e=Ye(e);const t=Ra(e),r=Fa(e,n);return[ja(e),r,t]}function Ge(e,n,t,r=9,o=0,i=4){n=Ye(n);let a=Na(n,r,o),s=je(n),m=Ua(n,i);const l=xa(n,r,o,1);return null==a?a=Math.max(t,l):$e(a,l),s=Re(s,l,1),e&&(m=(e=>e<4?(e+2)%4:e)(m)),[a,l,s,m]}function Oe(e,n=6,t){let r=je(e=Ze(e,Ea));const o=Ua(e,7);let i=xa(e,n);return i=G(Ea,i),r=Re(r,i,void 0,t),[i,r,o]}function Be(e){return Ya(Ye(e))}function xe(e,n){return Ne(Ye(e),n)}function Ne(e,n=4){const t=Fe(e);return[Ua(e,4),...Le(xa(e,n),t)]}function Le(e,n){return null!=e?[pi[e],e<4?9-3*e:-1]:[void 0===n?1:10**(9-n),n]}function je(e){const n=e[Sa];return void 0===n?1:Y(n,Sa)}function Re(e,n,r,o){const i=o?gi:pi[n+1];if(i){const r=pi[n];if(i%((e=t(Sa,e,1,i/r-(o?0:1),1))*r))throw new RangeError(Eo(Sa,e))}else e=t(Sa,e,1,r?10**9:1,1);return e}function Fe(e){let n=e[Da];if(void 0!==n){if("number"!=typeof n){if("auto"===L(n))return;throw new RangeError(Eo(Da,n))}n=t(Da,Math.floor(n),0,9,1)}return n}function Ye(e){return void 0===e?{}:O(e)}function Ze(e,n){return"string"==typeof e?{[n]:e}:O(e)}function We(e){return{overflow:ka[e]}}function Ue(e,n,r=9,o=0,i){let a=n[e];if(void 0===a)return i?o:void 0;if(a=L(a),"auto"===a)return i?o:null;let s=mi[a];if(void 0===s&&(s=Ji[a]),void 0===s)throw new RangeError(Ao(e,a,mi));return t(e,s,o,r,1,li),s}function qe(e,n,t,r=0){const o=t[e];if(void 0===o)return r;const i=L(o),a=n[i];if(void 0===a)throw new RangeError(Ao(e,i,n));return a}function $e(e,n){if(n>e)throw new RangeError(ei)}function Ve(e){return{branding:Qa,epochNanoseconds:e}}function Ke(e,n,t){return{branding:Xa,calendar:t,timeZone:n,epochNanoseconds:e}}function Je(e,n=e.calendar){return{branding:Ka,calendar:n,...h(aa,e)}}function Xe(e,n=e.calendar){return{branding:Va,calendar:n,...h(oa,e)}}function Qe(e,n=e.calendar){return{branding:qa,calendar:n,...h(oa,e)}}function en(e,n=e.calendar){return{branding:$a,calendar:n,...h(oa,e)}}function nn(e){return{branding:Ja,...h(ia,e)}}function tn(e){return{branding:es,sign:gt(e),...h(qi,e)}}function rn(e){return ne(e.epochNanoseconds,hi)[0]}function on(e){return e.epochNanoseconds}function an(e,n){return ee(wt(e),pi[n],1)}function sn(e,n,t,r,o,i,a){const s=Ui[t],m={...n,[s]:n[s]+r},l=a(e,o,n),u=a(e,o,m);return[i(l),i(u)]}function mn(e,n,t){const r=ee(V(n,t));if(!r)throw new RangeError(No);return ee(V(n,e))/r}function ln(e,n,t,r){return un(e,hn(n,t),r)}function un(e,n,t){const[r,o]=dn(e,n,t);return oe({...st(e,o),...r})}function dn(e,n,t){return se(wn(ae(e),n,t))}function cn(e){return wn(e,Mi,7)}function hn(e,n){return pi[e]*n}function fn(e){const n=Mn(e);return[n,st(n,1)]}function Mn(e){return ma(6,e)}function yn(e,n,t){const r=Math.min(St(e),6);return vt(bn(wt(e,r),n,t),r)}function gn(e,n,t,r,o,i,a,s,m,l){if(0===r&&1===o)return e;const u=ht(r,s)?ct(s)&&r<6&&t>=6?Tn:En:Sn;let[d,c,h]=u(e,n,t,r,o,i,a,s,m,l);return h&&7!==r&&(d=((e,n,t,r,o,i,a,s)=>{const m=gt(e);for(let l=r+1;l<=t;l++){if(7===l&&7!==t)continue;const r=ea(l,e);r[Ui[l]]+=m;const u=ee(V(a(s(o,i,r)),n));if(u&&Math.sign(u)!==m)break;e=r}return e})(d,c,t,Math.max(6,r),a,s,m,l)),d}function pn(e,n,t,r,o){if(6===n){const n=(e=>e[0]+e[1]/gi)(e);return[wn(n,t,r),0]}return bn(e,hn(n,t),r,o)}function bn(e,n,t,r){let[o,i]=e;r&&i<0&&(i+=gi,o-=1);const[a,s]=T(wn(i,n,t),gi);return U(o+a,s)}function wn(e,n,t){return vn(e/n,t)*n}function vn(e,n){return ns[n](e)}function En(e,n,t,r,o,i){const a=gt(e),s=wt(e),m=pn(s,r,o,i),l=V(s,m),u=Math.sign(m[0]-s[0])===a,d=vt(m,Math.min(t,6));return[{...e,...d},q(n,l),u]}function Tn(e,n,t,r,o,i,a,s,m,l){const u=gt(e)||1,d=ee(wt(e,5)),c=hn(r,o);let h=wn(d,c,i);const[f,M]=sn(a,{...e,...Qi},6,u,s,m,l),y=h-ee(V(f,M));let g=0;y&&Math.sign(y)!==u?n=$(f,h):(g+=u,h=wn(y,c,i),n=$(M,h));const p=Et(h);return[{...e,...p,days:e.days+g},n,Boolean(g)]}function Sn(e,n,t,r,o,i,a,s,m,l){const u=gt(e),d=Ui[r],c=ea(r,e);7===r&&(e={...e,weeks:e.weeks+Math.trunc(e.days/7)});const h=z(e[d],o)*o;c[d]=h;const[f,M]=sn(a,c,r,o*u,s,m,l),y=h+mn(n,f,M)*u*o,g=wn(y,o,i),p=Math.sign(g-y)===u;return c[d]=g,[c,p?M:f,p]}function Dn(e,n,t,r){const[o,i,a,s]=(e=>{const n=Ne(e=Ye(e));return[e.timeZone,...n]})(r),m=void 0!==o;return((e,n,t,r,o,i)=>{t=bn(t,o,r,1);const a=n.R(t);return On(Me(t,a),i)+(e?jn(cn(a)):"Z")})(m,n(m?e(o):ts),t.epochNanoseconds,i,a,s)}function zn(e,n,t){const[r,o,i,a,s,m]=(e=>{e=Ye(e);const n=Ya(e),t=Fe(e),r=Wa(e),o=Ua(e,4),i=xa(e,4);return[n,Za(e),r,o,...Le(i,t)]})(t);return((e,n,t,r,o,i,a,s,m,l)=>{r=bn(r,m,s,1);const u=e(t).R(r);return On(Me(r,u),l)+jn(cn(u),a)+((e,n)=>1!==n?"["+(2===n?"!":"")+e+"]":"")(t,i)+Rn(n,o)})(e,n.calendar,n.timeZone,n.epochNanoseconds,r,o,i,a,s,m)}function An(e,n){const[t,r,o,i]=(e=>(e=Ye(e),[Ya(e),...Ne(e)]))(n);return a=e.calendar,s=t,m=i,On(un(e,o,r),m)+Rn(a,s);var a,s,m}function Hn(e,n){return t=e.calendar,r=e,o=Be(n),Bn(r)+Rn(t,o);var t,r,o}function kn(e,n){return Pn(e.calendar,xn,e,Be(n))}function In(e,n){return Pn(e.calendar,Nn,e,Be(n))}function _n(e,n){const[t,r,o]=xe(n);return i=o,Ln(dn(e,r,t)[0],i);var i}function Cn(e,n){const[t,r,o]=xe(n,3);return r>1&&pt(e={...e,...yn(e,r,t)}),((e,n)=>{const{sign:t}=e,r=-1===t?yt(e):e,{hours:o,minutes:i}=r,[a,s]=ne(wt(r,3),fi,D);bt(a);const m=Yn(s,n),l=n>=0||!t||m;return(t<0?"-":"")+"P"+Gn({Y:Wn(r.years),M:Wn(r.months),W:Wn(r.weeks),D:Wn(r.days)})+(o||i||a||l?"T"+Gn({H:Wn(o),M:Wn(i),S:Wn(a,l)+m}):"")})(e,o)}function Pn(e,n,t,r){const o=r>1||0===r&&e!==xi;return 1===r?e===xi?n(t):Bn(t):o?Bn(t)+Fn(e,2===r):n(t)}function Gn(e){const n=[];for(const t in e){const r=e[t];r&&n.push(r,t)}return n.join("")}function On(e,n){return Bn(e)+"T"+Ln(e,n)}function Bn(e){return xn(e)+"-"+si(e.isoDay)}function xn(e){const{isoYear:n}=e;return(n<0||n>9999?Zn(n)+w(6,Math.abs(n)):w(4,n))+"-"+si(e.isoMonth)}function Nn(e){return si(e.isoMonth)+"-"+si(e.isoDay)}function Ln(e,n){const t=[si(e.isoHour),si(e.isoMinute)];return-1!==n&&t.push(si(e.isoSecond)+((e,n,t,r)=>Yn(e*hi+n*ci+t,r))(e.isoMillisecond,e.isoMicrosecond,e.isoNanosecond,n)),t.join(":")}function jn(e,n=0){if(1===n)return"";const[t,r]=T(Math.abs(e),yi),[o,i]=T(r,Mi),[a,s]=T(i,fi);return Zn(e)+si(t)+":"+si(o)+(a||s?":"+si(a)+Yn(s):"")}function Rn(e,n){return 1!==n&&(n>1||0===n&&e!==xi)?Fn(e,2===n):""}function Fn(e,n){return"["+(n?"!":"")+"u-ca="+e+"]"}function Yn(e,n){let t=w(9,e);return t=void 0===n?t.replace(as,""):t.slice(0,n),t?"."+t:""}function Zn(e){return e<0?"-":"+"}function Wn(e,n){return e||n?e.toLocaleString("fullwide",{useGrouping:0}):""}function Un(e,n){const{epochNanoseconds:t}=e,r=(n.R?n:n(e.timeZone)).R(t),o=Me(t,r);return{calendar:e.calendar,...o,offsetNanoseconds:r}}function qn(e,n,t,r=0,o=0,i,a){if(void 0!==t&&1===r&&(1===r||a))return de(n,t);const s=e.I(n);if(void 0!==t&&3!==r){const e=((e,n,t,r)=>{const o=ue(n);r&&(t=cn(t));for(const n of e){let e=ee(V(n,o));if(r&&(e=cn(e)),e===t)return n}})(s,n,t,i);if(void 0!==e)return e;if(0===r)throw new RangeError(Uo)}return a?ue(n):$n(e,n,o,s)}function $n(e,n,t=0,r=e.I(n)){if(1===r.length)return r[0];if(1===t)throw new RangeError(qo);if(r.length)return r[3===t?1:0];const o=ue(n),i=((e,n)=>{const t=e.R($(n,-gi));return(e=>{if(e>gi)throw new RangeError(Wo);return e})(e.R($(n,gi))-t)})(e,o),a=i*(2===t?-1:1);return(r=e.I(Me(o,a)))[2===t?0:r.length-1]}function Vn(e,n){const t=e.I(n);if(t.length)return t[0];const r=$(ue(n),-gi);return e.O(r,1)}function Kn(e,n,t){return Ve(ie(q(n.epochNanoseconds,(e=>{if(Tt(e))throw new RangeError(Xo);return wt(e,5)})(e?yt(t):t))))}function Jn(e,n,t,r,o,i=Object.create(null)){const a=n(r.timeZone),s=e(r.calendar);return{...r,...tt(a,s,r,t?yt(o):o,i)}}function Xn(e,n,t,r,o=Object.create(null)){const{calendar:i}=t;return Je(rt(e(i),t,n?yt(r):r,o),i)}function Qn(e,n,t,r,o){const{calendar:i}=t;return Xe(ot(e(i),t,n?yt(r):r,o),i)}function et(e,n,t,r,o){const i=t.calendar,a=e(i);let s=re(it(a,t));n&&(r=Mt(r)),r.sign<0&&(s=a.P(s,{...Xi,months:1}),s=st(s,-1));const m=a.P(s,r,o);return Qe(it(a,m),i)}function nt(e,n,t){return nn(at(n,e?yt(t):t)[0])}function tt(e,n,t,r,o){const i=wt(r,5);let a=t.epochNanoseconds;if(Tt(r)){const s=ss(t,e);a=q($n(e,{...ot(n,s,{...r,...Qi},o),...h(na,s)}),i)}else a=q(a,i),Ce(o);return{epochNanoseconds:ie(a)}}function rt(e,n,t,r){const[o,i]=at(n,t);return oe({...ot(e,n,{...t,...Qi,days:t.days+i},r),...o})}function ot(e,n,t,r){if(t.years||t.months||t.weeks)return e.P(n,t,r);Ce(r);const o=t.days+wt(t,5)[0];return o?re(st(n,o)):n}function it(e,n,t=1){return st(n,t-e.day(n))}function at(e,n){const[t,r]=wt(n,5),[o,i]=se(ae(e)+r);return[o,t+i]}function st(e,n){return n?{...e,...ye(le(e)+n*ui)}:e}function mt(e,n,t){const r=e(t.calendar);return ct(t)?[t,r,n(t.timeZone)]:[{...t,...sa},r]}function lt(e){return e?on:ue}function ut(e){return e?g(tt,e):rt}function dt(e){return e?g(sr,e):mr}function ct(e){return e&&e.epochNanoseconds}function ht(e,n){return e<=6-(ct(n)?1:0)}function ft(e,n,t,r,o,i,a){const s=e(Ye(a).relativeTo),m=Math.max(St(o),St(i));if(ht(m,s))return tn(pt(((e,n,t,r)=>{const o=q(wt(e),wt(n),r?-1:1);if(!Number.isFinite(o[0]))throw new RangeError($o);return{...Xi,...vt(o,t)}})(o,i,m,r)));if(!s)throw new RangeError(Jo);r&&(i=yt(i));const[l,u,d]=mt(n,t,s),c=ut(d),h=dt(d),f=c(u,l,o);return tn(h(u,l,c(u,f,i),m))}function Mt(e){return tn(yt(e))}function yt(e){const n={};for(const t of Ui)n[t]=-1*e[t]||0;return n}function gt(e,n=Ui){let t=0;for(const r of n){const n=Math.sign(e[r]);if(n){if(t&&t!==n)throw new RangeError(Ko);t=n}}return t}function pt(e){for(const n of Ki)t(n,e[n],-ms,ms,1);return bt(ee(wt(e),fi)),e}function bt(e){if(!Number.isSafeInteger(e))throw new RangeError(Vo)}function wt(e,n=6){return k(e,n,Ui)}function vt(e,n=6){const[t,r]=e,o=I(r,n,Ui);if(o[Ui[n]]+=t*(gi/pi[n]),!Number.isFinite(o[Ui[n]]))throw new RangeError($o);return o}function Et(e,n=5){return I(e,n,Ui)}function Tt(e){return Boolean(gt(e,Vi))}function St(e){let n=9;for(;n>0&&!e[Ui[n]];n--);return n}function Dt(e,n){return[e,n]}function zt(e){const n=Math.floor(e/rs)*rs;return[n,n+rs]}function At(e){const n=xt(e);if(void 0===n)throw new RangeError(ni(e));return n}function Ht(e,n,t){let r=Gt(Yi(e));if(!r||r.j)throw new RangeError(ni(e));return n?r.calendar===xi&&(r=-271821===r.isoYear&&4===r.isoMonth?{...r,isoDay:20,...sa}:{...r,isoDay:1,...sa}):t&&r.calendar===xi&&(r={...r,isoYear:pa}),Xe(r.C?_t(r):Ct(r))}function kt(e){if(e.calendar!==xi)throw new RangeError(ti(e.calendar))}function It(e,n,t=0,r=0){const o=Wt(e.timeZone),i=ls(o);let a;return Ae(e),a=e.C?qn(i,e,n,t,r,!i.$,e.j):Vn(i,e),Ke(a,o,Yr(e.calendar))}function _t(e){return Pt(oe(Ae(e)))}function Ct(e){return Pt(re(He(e)))}function Pt(e){return{...e,calendar:Yr(e.calendar)}}function Gt(e){const n=Es.exec(e);return n?(e=>{const n=e[10],t="Z"===(n||"").toUpperCase();return{isoYear:Nt(e),isoMonth:parseInt(e[4]),isoDay:parseInt(e[5]),...Lt(e.slice(5)),...jt(e[16]),C:Boolean(e[6]),j:t,offset:t?void 0:n}})(n):void 0}function Ot(e){const n=ws.exec(e);return n?(e=>({isoYear:Nt(e),isoMonth:parseInt(e[4]),isoDay:1,...jt(e[5])}))(n):void 0}function Bt(e){const n=vs.exec(e);return n?(e=>({isoYear:pa,isoMonth:parseInt(e[1]),isoDay:parseInt(e[2]),...jt(e[3])}))(n):void 0}function xt(e,n){const t=Ss.exec(e);return t?((e,n)=>{const t=e[4]||e[5];if(n&&t)throw new RangeError(ti(t));return(e=>{if(Math.abs(e)>=gi)throw new RangeError(Zo);return e})((Zt(e[2])*yi+Zt(e[3])*Mi+Zt(e[4])*fi+Rt(e[5]||""))*Yt(e[1]))})(t,n):void 0}function Nt(e){const n=Yt(e[1]),t=parseInt(e[2]||e[3]);if(n<0&&!t)throw new RangeError(ti(-0));return n*t}function Lt(e){const n=Zt(e[3]);return{...se(Rt(e[4]||""))[0],isoHour:Zt(e[1]),isoMinute:Zt(e[2]),isoSecond:60===n?59:n}}function jt(e){let n,t;const r=[];if(e.replace(Ds,(e,o,i)=>{const a=Boolean(o),[s,m]=i.split("=").reverse();if(m){if("u-ca"===m)r.push(s),n||(n=a);else if(a||/[A-Z]/.test(m))throw new RangeError(ti(e))}else{if(t)throw new RangeError(ti(e));t=s}return""}),r.length>1&&n)throw new RangeError(ti(e));return{timeZone:t,calendar:r[0]||xi}}function Rt(e){return parseInt(e.padEnd(9,"0"))}function Ft(e){return new RegExp(`^${e}$`,"i")}function Yt(e){return e&&"+"!==e?-1:1}function Zt(e){return void 0===e?0:parseInt(e)}function Wt(e){const n=qt(e);return"number"==typeof n?jn(n):n?(e=>{if(ks.test(e))throw new RangeError(Ro(e));if(Hs.test(e))throw new RangeError(Yo);return e.toLowerCase().split("/").map((e,n)=>(e.length<=3||/\d/.test(e))&&!/etc|yap/.test(e)?e.toUpperCase():e.replace(/baja|dumont|[a-z]+/g,(e,t)=>e.length<=2&&!n||"in"===e||"chat"===e?e.toUpperCase():e.length>2||!t?p(e).replace(/island|noronha|murdo|rivadavia|urville/,p):e)).join("/")})(e):ts}function Ut(e){const n=qt(e);return"number"==typeof n?n:n?n.resolvedOptions().timeZone:ts}function qt(e){const n=xt(e=e.toUpperCase(),1);return void 0!==n?n:e!==ts?As(e):void 0}function $t(e,n){return K(e.epochNanoseconds,n.epochNanoseconds)}function Vt(e,n){return K(e.epochNanoseconds,n.epochNanoseconds)}function Kt(e,n){return Jt(e,n)||Xt(e,n)}function Jt(e,n){return v(le(e),le(n))}function Xt(e,n){return v(ae(e),ae(n))}function Qt(e,n){if(e===n)return 1;try{return Ut(e)===Ut(n)}catch(e){}}function er(e,n,t,r){const o=Ge(e,r,3,5),i=dr(n.epochNanoseconds,t.epochNanoseconds,...o);return tn(e?yt(i):i)}function nr(e,n,t,r,o,i){const a=yr(r.calendar,o.calendar),[s,m,l,u]=Ge(t,i,5),d=r.epochNanoseconds,c=o.epochNanoseconds,h=K(c,d);let f;if(h)if(s<6)f=dr(d,c,s,m,l,u);else{const t=n(((e,n)=>{if(!Qt(e,n))throw new RangeError(Fo);return e})(r.timeZone,o.timeZone)),d=e(a);f=lr(d,t,r,o,h,s,i),f=gn(f,c,s,m,l,u,d,r,on,g(tt,t))}else f=Xi;return tn(t?yt(f):f)}function tr(e,n,t,r,o){const i=yr(t.calendar,r.calendar),[a,s,m,l]=Ge(n,o,6),u=ue(t),d=ue(r),c=K(d,u);let h;if(c)if(a<=6)h=dr(u,d,a,s,m,l);else{const n=e(i);h=ur(n,t,r,c,a,o),h=gn(h,d,a,s,m,l,n,t,ue,rt)}else h=Xi;return tn(n?yt(h):h)}function rr(e,n,t,r,o){const i=yr(t.calendar,r.calendar);return ir(n,()=>e(i),t,r,...Ge(n,o,6,9,6))}function or(e,n,t,r,o){const i=yr(t.calendar,r.calendar),a=Ge(n,o,9,9,8),s=e(i),m=it(s,t),l=it(s,r);return m.isoYear===l.isoYear&&m.isoMonth===l.isoMonth&&m.isoDay===l.isoDay?tn(Xi):ir(n,()=>s,re(m),re(l),...a,8)}function ir(e,n,t,r,o,i,a,s,m=6){const l=ue(t),u=ue(r);if(void 0===l||void 0===u)throw new RangeError($o);let d;if(K(u,l))if(6===o)d=dr(l,u,o,i,a,s);else{const e=n();d=e.N(t,r,o),i===m&&1===a||(d=gn(d,u,o,i,a,s,e,t,ue,ot))}else d=Xi;return tn(e?yt(d):d)}function ar(e,n,t,r){const[o,i,a,s]=Ge(e,r,5,5),m=wn(Mr(n,t),hn(i,a),s),l={...Xi,...Et(m,o)};return tn(e?yt(l):l)}function sr(e,n,t,r,o,i){const a=K(r.epochNanoseconds,t.epochNanoseconds);return a?o<6?cr(t.epochNanoseconds,r.epochNanoseconds,o):lr(n,e,t,r,a,o,i):Xi}function mr(e,n,t,r,o){const i=ue(n),a=ue(t),s=K(a,i);return s?r<=6?cr(i,a,r):ur(e,n,t,s,r,o):Xi}function lr(e,n,t,r,o,i,a){const[s,m,l]=((e,n,t,r)=>{function o(){return d={...st(s,l++*-r),...a},c=$n(e,d),K(m,c)===-r}const i=ss(n,e),a=h(na,i),s=ss(t,e),m=t.epochNanoseconds;let l=0;const u=Mr(i,s);let d,c;if(Math.sign(u)===-r&&l++,o()&&(-1===r||o()))throw new RangeError(No);const f=ee(V(c,m));return[i,d,f]})(n,t,r,o);var u,d;return{...6===i?(u=s,d=m,{...Xi,days:hr(u,d)}):e.N(s,m,i,a),...Et(l)}}function ur(e,n,t,r,o,i){const[a,s,m]=((e,n,t)=>{let r=n,o=Mr(e,n);return Math.sign(o)===-t&&(r=st(n,-t),o+=gi*t),[e,r,o]})(n,t,r);return{...e.N(a,s,o,i),...Et(m)}}function dr(e,n,t,r,o,i){return{...Xi,...vt(pn(V(e,n),r,o,i),t)}}function cr(e,n,t){return{...Xi,...vt(V(e,n),t)}}function hr(e,n){return fr(le(e),le(n))}function fr(e,n){return Math.trunc((n-e)/ui)}function Mr(e,n){return ae(n)-ae(e)}function yr(e,n){if(e!==n)throw new RangeError(jo);return e}function gr(e){return this.m(e)[0]}function pr(e){return this.m(e)[1]}function br(e){const[n]=this.v(e);return fr(this.p(n),le(e))+1}function wr(e){const n=Is.exec(e);if(!n)throw new RangeError(Go(e));return[parseInt(n[1]),Boolean(n[2])]}function vr(e,n){return"M"+si(e)+(n?"L":"")}function Er(e,n,t){return e+(n||t&&e>=t?1:0)}function Tr(e,n){return e-(n&&e>=n?1:0)}function Sr(e,n){return(n+e)*(Math.sign(n)||1)||0}function Dr(e){return ji[Ar(e)]}function zr(e){return Fi[Ar(e)]}function Ar(e){return Zr(e.id||xi)}function Hr(e){function n(e){return((e,n)=>({..._r(e,n),o:e.month,day:parseInt(e.day)}))(ge(t,e),r)}const t=Cs(e),r=Zr(e);return{id:e,h:kr(n),l:Ir(n)}}function kr(e){return o(n=>{const t=le(n);return e(t)},WeakMap)}function Ir(e){const n=e(0).year-ga;return o(t=>{let r,o=he(t-n),i=0;const a=[],s=[];do{o+=400*ui}while((r=e(o)).year<=t);do{if(o+=(1-r.day)*ui,r.year===t&&(a.push(o),s.push(r.o)),o-=ui,++i>100||o<-ua)throw new RangeError(No)}while((r=e(o)).year>=t);return{i:a.reverse(),u:ii(s.reverse())}})}function _r(e,n){let t,r,o=Cr(e);if(e.era){const i=ji[n],a=Ri[n]||{};void 0!==i&&(t="islamic"===n?"ah":e.era.normalize("NFD").toLowerCase().replace(/[^a-z0-9]/g,""),"bc"===t||"b"===t?t="bce":"ad"===t||"a"===t?t="ce":"beforeroc"===t&&(t="broc"),t=a[t]||t,r=o,o=Sr(r,i[t]||0))}return{era:t,eraYear:r,year:o}}function Cr(e){return parseInt(e.relatedYear||e.year)}function Pr(e){const{year:n,o:t,day:r}=this.h(e),{u:o}=this.l(n);return[n,o[t]+1,r]}function Gr(e,n=1,t=1){return this.l(e).i[n-1]+(t-1)*ui}function Or(e,n){const t=Br.call(this,e);return[Tr(n,t),t===n]}function Br(e){const n=Rr(this,e),t=Rr(this,e-1),r=n.length;if(r>t.length){const e=zr(this);if(e<0)return-e;for(let e=0;e<r;e++)if(n[e]!==t[e])return e+1}}function xr(e){return fr(Gr.call(this,e),Gr.call(this,e+1))}function Nr(e,n){const{i:t}=this.l(e);let r=n+1,o=t;return r>t.length&&(r=1,o=this.l(e+1).i),fr(t[n-1],o[r-1])}function Lr(e){return this.l(e).i.length}function jr(e){const n=this.h(e);return[n.era,n.eraYear]}function Rr(e,n){return Object.keys(e.l(n).u)}function Fr(e){return Yr(Yi(e))}function Yr(e){if((e=e.toLowerCase())!==xi&&e!==Ni){const n=Cs(e).resolvedOptions().calendar;if(Zr(e)!==Zr(n))throw new RangeError(Lo(e));return n}return e}function Zr(e){return"islamicc"===e&&(e="islamic"),e.split("-")[0]}function Wr(e,n){return t=>t===xi?e:t===Ni||t===Li?Object.assign(Object.create(e),{id:t}):Object.assign(Object.create(n),_s(t))}function Ur(e,n,t,r){const o=qr(t,r,Pi,[],Si);if(void 0!==o.timeZone){const r=t.F(o),i=Vr(o),a=e(o.timeZone);return{epochNanoseconds:qn(n(a),{...r,...i},void 0!==o.offset?At(o.offset):void 0),timeZone:a}}return{...t.F(o),...sa}}function qr(e,n,t,r=[],o=[]){return $r(n,[...e.fields(t),...o].sort(),r)}function $r(e,n,t,r=!t){const o={};let i,a=0;for(const r of n){if(r===i)throw new RangeError(Do(r));if("constructor"===r||"__proto__"===r)throw new RangeError(So(r));let n=e[r];if(void 0!==n)a=1,Ys[r]&&(n=Ys[r](n,r)),o[r]=n;else if(t){if(t.includes(r))throw new TypeError(To(r));o[r]=Bi[r]}i=r}if(r&&!a)throw new TypeError(zo(n));return o}function Vr(e,n){return _e(Zs({...Bi,...e}),n)}function Kr(e,n,t,r,o){n=h(t=e.fields(t),n),r=$r(r,o=e.fields(o),[]);let i=e.k(n,r);return i=$r(i,[...t,...o].sort(),[]),e.F(i)}function Jr(e,n){const t=Dr(e),r=Ri[e.id||""]||{};let{era:o,eraYear:i,year:a}=n;if(void 0!==o||void 0!==i){if(void 0===o||void 0===i)throw new TypeError(Io);if(!t)throw new RangeError(ko);const e=t[r[o]||o];if(void 0===e)throw new RangeError(Co(o));const n=Sr(i,e);if(void 0!==a&&a!==n)throw new RangeError(_o);a=n}else if(void 0===a)throw new TypeError(Po(t));return a}function Xr(e,n,r,o){let{month:i,monthCode:a}=n;if(void 0!==a){const n=((e,n,t,r)=>{const o=e.L(t),[i,a]=wr(n);let s=Er(i,a,o);if(a){const n=zr(e);if(void 0===n)throw new RangeError(xo);if(n>0){if(s>n)throw new RangeError(xo);if(void 0===o){if(1===r)throw new RangeError(xo);s--}}else{if(s!==-n)throw new RangeError(xo);if(void 0===o&&1===r)throw new RangeError(xo)}}return s})(e,a,r,o);if(void 0!==i&&i!==n)throw new RangeError(Oo);i=n,o=1}else if(void 0===i)throw new TypeError(Bo);return t("month",i,1,e.B(r),o)}function Qr(e,t,r,o,i){return n(t,"day",1,e.U(o,r),i)}function eo(e,n,t,r){let o=0;const i=[];for(const e of t)void 0!==n[e]?o=1:i.push(e);if(Object.assign(e,n),o)for(const n of r||i)delete e[n]}function no(e){const n=Rs(e.calendar),[t,r,o]=n.v(e),[i,a]=n.q(t,r);return{year:t,monthCode:vr(i,a),day:o}}function to(e,n){return Je(ss(n,e))}function ro(e,n){return Xe(ss(n,e))}function oo(e,n){return nn(ss(n,e))}function io(e,n,t){const r=new Set(t);return(o,i)=>{const a=t&&f(o,t);if(!f(o=((e,n)=>{const t={};for(const r in n)e.has(r)||(t[r]=n[r]);return t})(r,o),e)){if(i&&a)throw new TypeError("Invalid formatting options");o={...n,...o}}return t&&(o.timeZone=ts,["full","long"].includes(o.J)&&(o.J="medium")),o}}function ao(e,n=so,t=0){const[r,,,o]=e;return(i,a=vm,...s)=>{const m=n(o&&o(...s),i,a,r,t),l=m.resolvedOptions();return[m,...mo(e,l,s)]}}function so(e,n,t,r,o){if(t=r(t,o),e){if(void 0!==t.timeZone)throw new TypeError(oi);t.timeZone=e}return new Ma(n,t)}function mo(e,n,t){const[,r,o]=e;return t.map(e=>(e.calendar&&((e,n,t)=>{if((t||e!==xi)&&e!==n)throw new RangeError(jo)})(e.calendar,n.calendar,o),r(e,n)))}function lo(e,n){return{...e,calendar:n}}function uo(e){const n=co();return Me(n,e.R(n))}function co(){return Q(Date.now(),hi)}function ho(){return Im||(Im=(new Ma).resolvedOptions().timeZone)}const fo=(e,n)=>`Non-integer ${e}: ${n}`,Mo=(e,n)=>`Non-positive ${e}: ${n}`,yo=(e,n)=>`Non-finite ${e}: ${n}`,go=e=>`Cannot convert bigint to ${e}`,po=e=>`Invalid bigint: ${e}`,bo="Cannot convert Symbol to string",wo="Invalid object",vo=(e,n,t,r,o)=>o?vo(e,o[n],o[t],o[r]):Eo(e,n)+`; must be between ${t}-${r}`,Eo=(e,n)=>`Invalid ${e}: ${n}`,To=e=>`Missing ${e}`,So=e=>`Invalid field ${e}`,Do=e=>`Duplicate field ${e}`,zo=e=>"No valid fields: "+e.join(),Ao=(e,n,t)=>Eo(e,n)+"; must be "+Object.keys(t).join(),Ho="Invalid calling context",ko="Forbidden era/eraYear",Io="Mismatching era/eraYear",_o="Mismatching year/eraYear",Co=e=>`Invalid era: ${e}`,Po=e=>"Missing year"+(e?"/era/eraYear":""),Go=e=>`Invalid monthCode: ${e}`,Oo="Mismatching month/monthCode",Bo="Missing month/monthCode",xo="Invalid leap month",No="Invalid protocol results",Lo=e=>Eo("Calendar",e),jo="Mismatching Calendars",Ro=e=>Eo("TimeZone",e),Fo="Mismatching TimeZones",Yo="Forbidden ICU TimeZone",Zo="Out-of-bounds offset",Wo="Out-of-bounds TimeZone gap",Uo="Invalid TimeZone offset",qo="Ambiguous offset",$o="Out-of-bounds date",Vo="Out-of-bounds duration",Ko="Cannot mix duration signs",Jo="Missing relativeTo",Xo="Cannot use large units",Qo="Required smallestUnit or largestUnit",ei="smallestUnit > largestUnit",ni=e=>`Cannot parse: ${e}`,ti=e=>`Invalid substring: ${e}`,ri="Mismatching types for formatting",oi="Cannot specify TimeZone",ii=g(d,(e,n)=>n),ai=g(d,(e,n,t)=>t),si=g(w,2),mi={nanosecond:0,microsecond:1,millisecond:2,second:3,minute:4,hour:5,day:6,week:7,month:8,year:9},li=Object.keys(mi),ui=864e5,di=1e3,ci=1e3,hi=1e6,fi=1e9,Mi=6e10,yi=36e11,gi=864e11,pi=[1,ci,hi,fi,Mi,yi,gi],bi=li.slice(0,6),wi=b(bi),vi=["offset"],Ei=["timeZone"],Ti=bi.concat(vi),Si=Ti.concat(Ei),Di=["era","eraYear"],zi=Di.concat(["year"]),Ai=["year"],Hi=["monthCode"],ki=["month"].concat(Hi),Ii=["day"],_i=ki.concat(Ai),Ci=Hi.concat(Ai),Pi=Ii.concat(_i),Gi=Ii.concat(ki),Oi=Ii.concat(Hi),Bi=ai(bi,0),xi="iso8601",Ni="gregory",Li="japanese",ji={[Ni]:{"gregory-inverse":-1,gregory:0},[Li]:{"japanese-inverse":-1,japanese:0,meiji:1867,taisho:1911,showa:1925,heisei:1988,reiwa:2018},ethiopic:{ethioaa:0,ethiopic:5500},coptic:{"coptic-inverse":-1,coptic:0},roc:{"roc-inverse":-1,roc:0},buddhist:{be:0},islamic:{ah:0},indian:{saka:0},persian:{ap:0}},Ri={[Ni]:{bce:"gregory-inverse",ce:"gregory"},[Li]:{bce:"japanese-inverse",ce:"japanese"},ethiopic:{era0:"ethioaa",era1:"ethiopic"},coptic:{era0:"coptic-inverse",era1:"coptic"},roc:{broc:"roc-inverse",minguo:"roc"}},Fi={chinese:13,dangi:13,hebrew:-6},Yi=g(B,"string"),Zi=g(B,"boolean"),Wi=g(B,"number"),Ui=li.map(e=>e+"s"),qi=b(Ui),$i=Ui.slice(0,6),Vi=Ui.slice(6),Ki=Vi.slice(1),Ji=ii(Ui),Xi=ai(Ui,0),Qi=ai($i,0),ea=g(y,Ui),na=["isoNanosecond","isoMicrosecond","isoMillisecond","isoSecond","isoMinute","isoHour"],ta=["isoDay","isoMonth","isoYear"],ra=na.concat(ta),oa=b(ta),ia=b(na),aa=b(ra),sa=ai(ia,0),ma=g(y,ra),la=1e8,ua=la*ui,da=[la,0],ca=[-la,0],ha=275760,fa=-271821,Ma=Intl.DateTimeFormat,ya="en-GB",ga=1970,pa=1972,ba=12,wa=he(1868,9,8),va=o(ze,WeakMap),Ea="smallestUnit",Ta="unit",Sa="roundingIncrement",Da="fractionalSecondDigits",za="relativeTo",Aa="direction",Ha={constrain:0,reject:1},ka=Object.keys(Ha),Ia={compatible:0,reject:1,earlier:2,later:3},_a={reject:0,use:1,prefer:2,ignore:3},Ca={auto:0,never:1,critical:2,always:3},Pa={auto:0,never:1,critical:2},Ga={auto:0,never:1},Oa={floor:0,halfFloor:1,ceil:2,halfCeil:3,trunc:4,halfTrunc:5,expand:6,halfExpand:7,halfEven:8},Ba={previous:-1,next:1},xa=g(Ue,Ea),Na=g(Ue,"largestUnit"),La=g(Ue,Ta),ja=g(qe,"overflow",Ha),Ra=g(qe,"disambiguation",Ia),Fa=g(qe,"offset",_a),Ya=g(qe,"calendarName",Ca),Za=g(qe,"timeZoneName",Pa),Wa=g(qe,"offset",Ga),Ua=g(qe,"roundingMode",Oa),qa="PlainYearMonth",$a="PlainMonthDay",Va="PlainDate",Ka="PlainDateTime",Ja="PlainTime",Xa="ZonedDateTime",Qa="Instant",es="Duration",ns=[Math.floor,e=>H(e)?Math.floor(e):Math.round(e),Math.ceil,e=>H(e)?Math.ceil(e):Math.round(e),Math.trunc,e=>H(e)?Math.trunc(e)||0:Math.round(e),e=>e<0?Math.floor(e):Math.ceil(e),e=>Math.sign(e)*Math.round(Math.abs(e))||0,e=>H(e)?(e=Math.trunc(e)||0)+e%2:Math.round(e)],ts="UTC",rs=5184e3,os=ce(1847),is=ce((new Date).getUTCFullYear()+10),as=/0+$/,ss=o(Un,WeakMap),ms=2**32-1,ls=o(e=>{const n=qt(e);return"object"==typeof n?new ds(n):new us(n||0)});class us{constructor(e){this.$=e}R(){return this.$}I(e){return(e=>{const n=ue({...e,...sa});if(!n||Math.abs(n[0])>1e8)throw new RangeError($o)})(e),[de(e,this.$)]}O(){}}class ds{constructor(e){this.nn=(e=>{function n(e){const n=E(e,a,s),[o,m]=zt(n),l=r(o),u=r(m);return l===u?l:t(i(o,m),l,u,e)}function t(n,t,r,o){let i,a;for(;(void 0===o||void 0===(i=o<n[0]?t:o>=n[1]?r:void 0))&&(a=n[1]-n[0]);){const t=n[0]+Math.floor(a/2);e(t)===r?n[1]=t:n[0]=t+1}return i}const r=o(e),i=o(Dt);let a=os,s=is;return{tn(e){const t=n(e-86400),r=n(e+86400),o=e-t,i=e-r;if(t===r)return[o];const a=n(o);return a===n(i)?[e-a]:t>r?[o,i]:[]},rn:n,O(e,n){const o=E(e,a,s);let[m,l]=zt(o);const u=rs*n,d=n<0?()=>l>a||(a=o,0):()=>m<s||(s=o,0);for(;d();){const o=r(m),a=r(l);if(o!==a){const r=i(m,l);t(r,o,a);const s=r[0];if((v(s,e)||1)===n)return s}m+=u,l+=u}}}})((e=>n=>{const t=ge(e,n*di);return ce(Cr(t),parseInt(t.month),parseInt(t.day),parseInt(t.hour),parseInt(t.minute),parseInt(t.second))-n})(e))}R(e){return this.nn.rn((e=>me(e)[0])(e))*fi}I(e){const[n,t]=[ce((r=e).isoYear,r.isoMonth,r.isoDay,r.isoHour,r.isoMinute,r.isoSecond),r.isoMillisecond*hi+r.isoMicrosecond*ci+r.isoNanosecond];var r;return this.nn.tn(n).map(e=>ie($(Q(e,fi),t)))}O(e,n){const[t,r]=me(e),o=this.nn.O(t+(n>0||r?1:0),n);if(void 0!==o)return Q(o,fi)}}const cs="([+-])",hs="(?:[.,](\\d{1,9}))?",fs=`(?:(?:${cs}(\\d{6}))|(\\d{4}))-?(\\d{2})`,Ms="(\\d{2})(?::?(\\d{2})(?::?(\\d{2})"+hs+")?)?",ys=cs+Ms,gs=fs+"-?(\\d{2})(?:[T ]"+Ms+"(Z|"+ys+")?)?",ps="\\[(!?)([^\\]]*)\\]",bs=`((?:${ps}){0,9})`,ws=Ft(fs+bs),vs=Ft("(?:--)?(\\d{2})-?(\\d{2})"+bs),Es=Ft(gs+bs),Ts=Ft("T?"+Ms+"(?:"+ys+")?"+bs),Ss=Ft(ys),Ds=new RegExp(ps,"g"),zs=Ft(`${cs}?P(\\d+Y)?(\\d+M)?(\\d+W)?(\\d+D)?(?:T(?:(\\d+)${hs}H)?(?:(\\d+)${hs}M)?(?:(\\d+)${hs}S)?)?`),As=o(e=>new Ma(ya,{timeZone:e,era:"short",year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"numeric",second:"numeric"})),Hs=/^(AC|AE|AG|AR|AS|BE|BS|CA|CN|CS|CT|EA|EC|IE|IS|JS|MI|NE|NS|PL|PN|PR|PS|SS|VS)T$/,ks=/[^\w\/:+-]+/,Is=/^M(\d{2})(L?)$/,_s=o(Hr),Cs=o(e=>new Ma(ya,{calendar:e,timeZone:ts,era:"short",year:"numeric",month:"short",day:"numeric"})),Ps={P(e,n,r){const o=Ce(r);let i,{years:a,months:s,weeks:m,days:l}=n;if(l+=wt(n,5)[0],a||s)i=((e,n,r,o,i)=>{let[a,s,m]=e.v(n);if(r){const[n,o]=e.q(a,s);a+=r,s=Er(n,o,e.L(a)),s=t("month",s,1,e.B(a),i)}return o&&([a,s]=e.un(a,s,o)),m=t("day",m,1,e.U(a,s),i),e.p(a,s,m)})(this,e,a,s,o);else{if(!m&&!l)return e;i=le(e)}if(void 0===i)throw new RangeError($o);return i+=(7*m+l)*ui,re(ye(i))},N(e,n,t){if(t<=7){let r=0,o=hr({...e,...sa},{...n,...sa});return 7===t&&([r,o]=D(o,7)),{...Xi,weeks:r,days:o}}const r=this.v(e),o=this.v(n);let[i,a,s]=((e,n,t,r,o,i,a)=>{let s=o-n,m=i-t,l=a-r;if(s||m){const u=Math.sign(s||m);let d=e.U(o,i),c=0;if(Math.sign(l)===-u){const r=d;[o,i]=e.un(o,i,-u),s=o-n,m=i-t,d=e.U(o,i),c=u<0?-r:d}if(l=a-Math.min(r,d)+c,s){const[r,a]=e.q(n,t),[l,d]=e.q(o,i);if(m=l-r||Number(d)-Number(a),Math.sign(m)===-u){const t=u<0&&-e.B(o);s=(o-=u)-n,m=i-Er(r,a,e.L(o))+(t||e.B(o))}}}return[s,m,l]})(this,...r,...o);return 8===t&&(a+=this.cn(i,r[0]),i=0),{...Xi,years:i,months:a,days:s}},F(e,n){const t=Ce(n),r=Jr(this,e),o=Xr(this,e,r,t),i=Qr(this,e,o,r,t);return Xe(re(this.V(r,o,i)),this.id||xi)},K(e,n){const t=Ce(n),r=Jr(this,e),o=Xr(this,e,r,t);return Qe(te(this.V(r,o,1)),this.id||xi)},_(e,n){const t=Ce(n);let r,o,i,a=void 0!==e.eraYear||void 0!==e.year?Jr(this,e):void 0;const s=!this.id;if(void 0===a&&s&&(a=pa),void 0!==a){const n=Xr(this,e,a,t);r=Qr(this,e,n,a,t);const s=this.L(a);o=Tr(n,s),i=n===s}else{if(void 0===e.monthCode)throw new TypeError(Bo);if([o,i]=wr(e.monthCode),this.id&&this.id!==Ni&&this.id!==Li)if(this.id&&"coptic"===Zr(this.id)&&0===t){const n=i||13!==o?30:6;r=e.day,r=E(r,1,n)}else if(this.id&&"chinese"===Zr(this.id)&&0===t){const n=!i||1!==o&&9!==o&&10!==o&&11!==o&&12!==o?30:29;r=e.day,r=E(r,1,n)}else r=e.day;else r=Qr(this,e,Xr(this,e,pa,t),pa,t)}const m=this.G(o,i,r);if(!m)throw new RangeError("Cannot guess year");const[l,u]=m;return en(re(this.V(l,u,r)),this.id||xi)},fields(e){return Dr(this)&&e.includes("year")?[...e,...Di]:e},k(e,n){const t=Object.assign(Object.create(null),e);return eo(t,n,ki),Dr(this)&&(eo(t,n,zi),this.id===Li&&eo(t,n,Gi,Di)),t},inLeapYear(e){const[n]=this.v(e);return this.sn(n)},monthsInYear(e){const[n]=this.v(e);return this.B(n)},daysInMonth(e){const[n,t]=this.v(e);return this.U(n,t)},daysInYear(e){const[n]=this.v(e);return this.fn(n)},dayOfYear:br,era(e){return this.hn(e)[0]},eraYear(e){return this.hn(e)[1]},monthCode(e){const[n,t]=this.v(e),[r,o]=this.q(n,t);return vr(r,o)},dayOfWeek:Se,daysInWeek:()=>7},Gs={v:pe,hn:De,q:be},Os={dayOfYear:br,v:pe,p:he},Bs=Object.assign({},Os,{weekOfYear:gr,yearOfWeek:pr,m(e){function n(e){return(7-e<r?7:0)-e}function t(e){const t=Ee(c+e),r=e||1,o=n(S(m+t*r,7));return u=(t+(o-l)*r)/7}const r=this.id?1:4,o=Se(e),i=this.dayOfYear(e),a=S(o-1,7),s=i-1,m=S(a-s,7),l=n(m);let u,d=Math.floor((s-l)/7)+1,c=e.isoYear;return d?d>t(0)&&(d=1,c++):(d=t(-1),c--),[d,c,u]}}),xs=Object.assign({},Ps,Bs,{v:pe,hn:De,q:be,G(e,n){if(!n)return[pa,e]},sn:Te,L(){},B:we,cn:e=>e*ba,U:ve,fn:Ee,V:(e,n,t)=>({isoYear:e,isoMonth:n,isoDay:t}),p:he,un:(e,n,t)=>(e+=z(t,ba),(n+=A(t,ba))<1?(e--,n+=ba):n>ba&&(e++,n-=ba),[e,n]),year:e=>e.isoYear,month:e=>e.isoMonth,day:e=>e.isoDay}),Ns={v:Pr,hn:jr,q:Or},Ls={dayOfYear:br,v:Pr,p:Gr,weekOfYear:gr,yearOfWeek:pr,m:()=>[]},js=Object.assign({},Ps,Ls,{v:Pr,hn:jr,q:Or,G(e,n,t){const r=this.id&&"chinese"===Zr(this.id)?((e,n,t)=>{if(n)switch(e){case 1:return 1651;case 2:return t<30?1947:1765;case 3:return t<30?1966:1955;case 4:return t<30?1963:1944;case 5:return t<30?1971:1952;case 6:return t<30?1960:1941;case 7:return t<30?1968:1938;case 8:return t<30?1957:1718;case 9:return 1832;case 10:return 1870;case 11:return 1814;case 12:return 1890}return 1972})(e,n,t):pa;let[o,i,a]=Pr.call(this,{isoYear:r,isoMonth:ba,isoDay:31});const s=Br.call(this,o),m=i===s;1===(v(e,Tr(i,s))||v(Number(n),Number(m))||v(t,a))&&o--;for(let r=0;r<100;r++){const i=o-r,a=Br.call(this,i),s=Er(e,n,a);if(n===(s===a)&&t<=Nr.call(this,i,s))return[i,s]}},sn(e){const n=xr.call(this,e);return n>xr.call(this,e-1)&&n>xr.call(this,e+1)},L:Br,B:Lr,cn(e,n){const t=n+e,r=Math.sign(e),o=r<0?-1:0;let i=0;for(let e=n;e!==t;e+=r)i+=Lr.call(this,e+o);return i},U:Nr,fn:xr,V(e,n,t){return ye(Gr.call(this,e,n,t))},p:Gr,un(e,n,t){if(t){if(n+=t,!Number.isSafeInteger(n))throw new RangeError($o);if(t<0)for(;n<1;)n+=Lr.call(this,--e);else{let t;for(;n>(t=Lr.call(this,e));)n-=t,e++}}return[e,n]},year(e){return this.h(e).year},month(e){const{year:n,o:t}=this.h(e),{u:r}=this.l(n);return r[t]+1},day(e){return this.h(e).day}}),Rs=Wr(Gs,Ns),Fs=Wr(xs,js),Ys={...{era:j,eraYear:Y,year:Y,month:W,monthCode(e){const n=j(e);return wr(n),n},day:W},...ai(bi,Y),...ai(Ui,Z),offset(e){const n=j(e);return At(n),n}},Zs=g(c,bi,na),Ws=g(c,na,bi),Us="numeric",qs=["timeZoneName"],$s={month:Us,day:Us},Vs={year:Us,month:Us},Ks=Object.assign({},Vs,{day:Us}),Js={hour:Us,minute:Us,second:Us},Xs=Object.assign({},Ks,Js),Qs=Object.assign({},Xs,{timeZoneName:"short"}),em=Object.keys(Vs),nm=Object.keys($s),tm=Object.keys(Ks),rm=Object.keys(Js),om=["dateStyle"],im=em.concat(om),am=nm.concat(om),sm=tm.concat(om,["weekday"]),mm=rm.concat(["dayPeriod","timeStyle","fractionalSecondDigits"]),lm=sm.concat(mm),um=qs.concat(mm),dm=qs.concat(sm),cm=qs.concat(["day","weekday"],mm),hm=qs.concat(["year","weekday"],mm),fm=io(lm,Xs),Mm=io(lm,Qs),ym=io(lm,Xs,qs),gm=io(sm,Ks,um),pm=io(mm,Js,dm),bm=io(im,Vs,cm),wm=io(am,$s,hm),vm={},Em=new Ma(void 0,{calendar:xi}).resolvedOptions().calendar===xi,Tm=[fm,rn],Sm=[Mm,rn,0,(e,n)=>{const t=e.timeZone;if(n&&n.timeZone!==t)throw new RangeError(Fo);return t}],Dm=[ym,le],zm=[gm,le],Am=[pm,e=>ae(e)/hi],Hm=[bm,le,Em],km=[wm,le,Em];let Im;function _m(e,n,t,r,o){function l(...e){if(!(this instanceof l))throw new TypeError(Ho);rl(this,n(...e))}function d(e,n){return Object.defineProperties(function(...n){return e.call(this,c(this),...n)},i(n))}function c(n){const t=tl(n);if(!t||t.branding!==e)throw new TypeError(Ho);return t}return Object.defineProperties(l.prototype,{...s(u(d,t)),...a(u(d,r)),...m("Temporal."+e)}),Object.defineProperties(l,{...a(o),...i(e)}),[l,e=>{const n=Object.create(l.prototype);return rl(n,e),n},c]}function Cm(e){if(tl(e)||void 0!==e.calendar||void 0!==e.timeZone)throw new TypeError("Invalid bag");return e}function Pm(e){return Gm(e)||xi}function Gm(e){const{calendar:n}=e;if(void 0!==n)return Om(n)}function Om(e){if(r(e)){const{calendar:n}=tl(e)||{};if(!n)throw new TypeError(Lo(e));return n}return(e=>Yr(function(e){const n=Gt(e)||Ot(e)||Bt(e);return n?n.calendar:e}(Yi(e))))(e)}function Bm(e){const n={};for(const t in e)n[t]=e=>{const{calendar:n}=e;return Fs(n)[t](e)};return n}function xm(){throw new TypeError("Cannot use valueOf")}function Nm(e){if(r(e)){const{timeZone:n}=tl(e)||{};if(!n)throw new TypeError(Ro(e));return n}return(e=>Wt(function(e){const n=Gt(e);return n&&(n.timeZone||n.j&&ts||n.offset)||e}(Yi(e))))(e)}function Lm(e){if(r(e)){const n=tl(e);return n&&n.branding===es?n:function(e){const n=$r(e,qi);return tn(pt({...Xi,...n}))}(e)}return function(e){const n=(e=>{const n=zs.exec(e);return n?(e=>{function n(e,n,i){let a=0,s=0;if(i&&([a,o]=T(o,pi[i])),void 0!==e){if(r)throw new RangeError(ti(e));s=(e=>{const n=parseInt(e);if(!Number.isFinite(n))throw new RangeError(ti(e));return n})(e),t=1,n&&(o=Rt(n)*(pi[i]/fi),r=1)}return a+s}let t=0,r=0,o=0,i={...l(Ui,[n(e[2]),n(e[3]),n(e[4]),n(e[5]),n(e[6],e[7],5),n(e[8],e[9],4),n(e[10],e[11],3)]),...I(o,2,Ui)};if(!t)throw new RangeError(zo(Ui));return Yt(e[1])<0&&(i=yt(i)),i})(n):void 0})(Yi(e));if(!n)throw new RangeError(ni(e));return tn(pt(n))}(e)}function jm(e){if(void 0!==e){if(r(e)){const n=tl(e)||{};switch(n.branding){case Xa:case Va:return n;case Ka:return Xe(n)}const t=Pm(e);return{...Ur(Nm,ls,Fs(t),e),calendar:t}}return function(e){const n=Gt(Yi(e));if(!n)throw new RangeError(ni(e));if(n.timeZone)return It(n,n.offset?At(n.offset):void 0);if(n.j)throw new RangeError(ni(e));return Ct(n)}(e)}}function Rm(e,n){if(r(e)){const t=tl(e)||{};switch(t.branding){case Ja:return Ce(n),t;case Ka:return Ce(n),nn(t);case Xa:return Ce(n),oo(ls,t)}return function(e,n){return nn(Vr($r(e,wi,[],1),Ce(n)))}(e,n)}const t=function(e){let n,t=(e=>{const n=Ts.exec(e);return n?(jt(n[10]),Lt(n)):void 0})(Yi(e));if(!t){if(t=Gt(e),!t)throw new RangeError(ni(e));if(!t.C)throw new RangeError(ni(e));if(t.j)throw new RangeError(ti("Z"));kt(t)}if((n=Ot(e))&&ke(n))throw new RangeError(ni(e));if((n=Bt(e))&&ke(n))throw new RangeError(ni(e));return nn(_e(t,1))}(e);return Ce(n),t}function Fm(e){return void 0===e?void 0:Rm(e)}function Ym(e,n){if(r(e)){const t=tl(e)||{};switch(t.branding){case Ka:return Ce(n),t;case Va:return Ce(n),Je({...t,...sa});case Xa:return Ce(n),to(ls,t)}return function(e,n,t){const r=qr(e,n,Pi,[],bi),o=Ce(t);return Je(oe({...e.F(r,We(o)),...Vr(r,o)}))}(Fs(Pm(e)),e,n)}const t=function(e){const n=Gt(Yi(e));if(!n||n.j)throw new RangeError(ni(e));return Je(_t(n))}(e);return Ce(n),t}function Zm(e,n){if(r(e)){const t=tl(e);if(t&&t.branding===$a)return Ce(n),t;const r=Gm(e);return function(e,n,t,r){const o=qr(e,t,Pi,Ii);return n&&void 0!==o.month&&void 0===o.monthCode&&void 0===o.year&&(o.year=pa),e._(o,r)}(Fs(r||xi),!r,e,n)}const t=function(e,n){const t=Bt(Yi(n));if(t)return kt(t),en(He(t));const r=Ht(n,0,1),{calendar:o}=r,i=e(o),[a,s,m]=i.v(r),[l,u]=i.q(a,s),[d,c]=i.G(l,u,m);return en(re(i.V(d,c,m)),o)}(Fs,e);return Ce(n),t}function Wm(e,n){if(r(e)){const t=tl(e);return t&&t.branding===qa?(Ce(n),t):function(e,n,t,r){const o=qr(e,n,_i,r);return e.K(o,t)}(Fs(Pm(e)),e,n)}const t=function(e,n){const t=Ot(Yi(n));if(t)return kt(t),Qe(te(He(t)));const r=Ht(n,1);return Qe(it(e(r.calendar),r))}(Fs,e);return Ce(n),t}function Um(e,n){if(r(e)){const t=tl(e)||{};switch(t.branding){case Va:return Ce(n),t;case Ka:return Ce(n),Xe(t);case Xa:return Ce(n),ro(ls,t)}return function(e,n,t,r=[]){const o=qr(e,n,Pi,r);return e.F(o,t)}(Fs(Pm(e)),e,n)}const t=Ht(e);return Ce(n),t}function qm(e,n){if(r(e)){const t=tl(e);if(t&&t.branding===Xa)return Pe(n),t;const r=Pm(e);return function(e,n,t,r,o,i){const a=qr(t,o,Pi,Ei,Si),s=e(a.timeZone),[m,l,u]=Pe(i),d=t.F(a,We(m)),c=Vr(a,m);return Ke(qn(n(s),{...d,...c},void 0!==a.offset?At(a.offset):void 0,l,u),s,r)}(Nm,ls,Fs(r),r,e,n)}return function(e,n){const t=Gt(Yi(e));if(!t||!t.timeZone)throw new RangeError(ni(e));const{offset:r}=t,o=r?At(r):void 0,[,i,a]=Pe(n);return It(t,o,i,a)}(e,n)}function $m(e){return u(e=>n=>e(Vm(n)),e)}function Vm(e){return ss(e,ls)}function Km(e){if(r(e)){const n=tl(e);if(n)switch(n.branding){case Qa:return n;case Xa:return Ve(n.epochNanoseconds)}}return function(e){const n=Gt(e=j(e));if(!n)throw new RangeError(ni(e));let t;if(n.j)t=0;else{if(!n.offset)throw new RangeError(ni(e));t=At(n.offset)}return n.timeZone&&xt(n.timeZone,1),Ve(de(Ae(n),t))}(e)}function Jm(){function e(e,t){return new n(e,t)}function n(e,n=Object.create(null)){Fl.set(this,((e,n)=>{const t=new Ma(e,n),r=t.resolvedOptions(),i=r.locale,a=h(Object.keys(n),r),s=o(el),m=(e,...n)=>{if(e){if(2!==n.length)throw new TypeError(ri);for(const e of n)if(void 0===e)throw new TypeError(ri)}e||void 0!==n[0]||(n=[]);const r=n.map(e=>tl(e)||Number(e));let o,m=0;for(const e of r){const n="object"==typeof e?e.branding:void 0;if(m++&&n!==o)throw new TypeError(ri);o=n}return o?s(o)(i,a,...r):[t,...r]};return m.X=t,m})(e,n))}const t=Ma.prototype,r=Object.getOwnPropertyDescriptors(t),a=Object.getOwnPropertyDescriptors(Ma);for(const n in r){const t=r[n],o=n.startsWith("format")&&Xm(n);"function"==typeof t.value?t.value="constructor"===n?e:o||Qm(n):o&&(t.get=function(){if(!Fl.has(this))throw new TypeError(Ho);return(...e)=>o.apply(this,e)},Object.defineProperties(t.get,i(`get ${n}`)))}return a.prototype.value=n.prototype=Object.create({},r),Object.defineProperties(e,a),e}function Xm(e){return Object.defineProperties(function(...n){const t=Fl.get(this),[r,...o]=t(e.includes("Range"),...n);return r[e](...o)},i(e))}function Qm(e){return Object.defineProperties(function(...n){return Fl.get(this).X[e](...n)},i(e))}function el(e){const n=gl[e];if(!n)throw new TypeError((e=>`Cannot format ${e}`)(e));return ao(n,o(so),1)}const nl=new WeakMap,tl=nl.get.bind(nl),rl=nl.set.bind(nl),ol={era:function(e){if(void 0!==e)return Yi(e)},eraYear:_,year:P,month:C,daysInMonth:C,daysInYear:C,inLeapYear:Zi,monthsInYear:C},il={monthCode:Yi},al={day:C},sl={dayOfWeek:C,dayOfYear:C,weekOfYear:function(e){if(void 0!==e)return C(e)},yearOfWeek:_,daysInWeek:C},ml=Bm(Object.assign({},ol,il,al,sl)),ll=Bm({...ol,...il}),ul=Bm({...il,...al}),dl={calendarId:e=>e.calendar},cl=d(e=>n=>n[e],Ui.concat("sign")),hl=d((e,n)=>e=>e[na[n]],bi),fl={epochMilliseconds:rn,epochNanoseconds:function(e){return((e,n=1)=>{const[t,r]=e,o=Math.floor(r/n),i=gi/n;return BigInt(t)*BigInt(i)+BigInt(o)})(e.epochNanoseconds)}},[Ml,yl]=_m(es,function(e=0,n=0,t=0,r=0,o=0,i=0,a=0,s=0,m=0,d=0){return tn(pt(u(Z,l(Ui,[e,n,t,r,o,i,a,s,m,d]))))},{...cl,blank:function(e){return!e.sign}},{with:(e,n)=>yl(function(e,n){return tn((t=e,r=n,pt({...t,...$r(r,qi)})));var t,r}(e,n)),negated:e=>yl(Mt(e)),abs:e=>yl(function(e){return-1===e.sign?Mt(e):e}(e)),add:(e,n,t)=>yl(ft(jm,Fs,ls,0,e,Lm(n),t)),subtract:(e,n,t)=>yl(ft(jm,Fs,ls,1,e,Lm(n),t)),round:(e,n)=>yl(function(e,n,t,r,o){const i=St(r),[a,s,m,l,u]=((e,n,t)=>{e=Ze(e,Ea);let r=Na(e);const o=t(e[za]);let i=je(e);const a=Ua(e,7);let s=xa(e);if(void 0===r&&void 0===s)throw new RangeError(Qo);if(null==s&&(s=0),null==r&&(r=Math.max(s,n)),$e(r,s),i=Re(i,s,1),i>1&&s>5&&r!==s)throw new RangeError("For calendar units with roundingIncrement > 1, use largestUnit = smallestUnit");return[r,s,i,a,o]})(o,i,e),d=Math.max(i,a);if(!u&&d<=6)return tn(pt(((e,n,t,r,o)=>{const i=pn(wt(e),t,r,o);return{...Xi,...vt(i,n)}})(r,a,s,m,l)));if(!ct(u)&&!r.sign)return r;if(!u)throw new RangeError(Jo);const[c,h,f]=mt(n,t,u),M=lt(f),y=ut(f),g=dt(f),p=y(h,c,r);ct(u)||(oe(c),oe(p));let b=g(h,c,p,a);const w=r.sign,v=gt(b);if(w&&v&&w!==v)throw new RangeError(No);return b=gn(b,M(p),a,s,m,l,h,c,M,y),tn(b)}(jm,Fs,ls,e,n)),total:(e,n)=>function(e,n,t,r,o){const i=St(r),[a,s]=((e,n)=>{const t=n((e=Ze(e,Ta))[za]);let r=La(e);return r=G(Ta,r),[r,t]})(o,e),m=Math.max(a,i);if(!s&&ht(m,s))return an(r,a);if(!s)throw new RangeError(Jo);if(!r.sign)return 0;const[l,u,d]=mt(n,t,s),c=lt(d),h=ut(d),f=dt(d),M=h(u,l,r);ct(s)||(oe(l),oe(M));const y=f(u,l,M,a);return ht(a,s)?an(y,a):((e,n,t,r,o,i,a)=>{const s=gt(e),[m,l]=sn(r,ea(t,e),t,s,o,i,a),u=mn(n,m,l);return e[Ui[t]]+u*s})(y,c(M),a,u,l,c,h)}(jm,Fs,ls,e,n),toLocaleString(e,n,t){return Intl.DurationFormat?new Intl.DurationFormat(n,t).format(this):Cn(e)},toString:Cn,toJSON:e=>Cn(e),valueOf:xm},{from:e=>yl(Lm(e)),compare:(e,n,t)=>function(e,n,t,r,o,i){const a=e(Ye(i).relativeTo),s=Math.max(St(r),St(o));if(M(Ui,r,o))return 0;if(ht(s,a))return K(wt(r),wt(o));if(!a)throw new RangeError(Jo);const[m,l,u]=mt(n,t,a),d=lt(u),c=ut(u);return K(d(c(l,m,r)),d(c(l,m,o)))}(jm,Fs,ls,Lm(e),Lm(n),t)}),gl={Instant:Tm,PlainDateTime:Dm,PlainDate:zm,PlainTime:Am,PlainYearMonth:Hm,PlainMonthDay:km},pl=ao(Tm),bl=ao(Sm),wl=ao(Dm),vl=ao(zm),El=ao(Am),Tl=ao(Hm),Sl=ao(km),[Dl,zl]=_m(Ja,function(e=0,n=0,t=0,r=0,o=0,i=0){return nn(_e(u(Y,l(na,[e,n,t,r,o,i])),1))},hl,{with(e,n,t){return zl(function(e,n,t){return nn(((e,n,t)=>Vr({...h(wi,e),...$r(n,wi)},Ce(t)))(e,n,t))}(this,Cm(n),t))},add:(e,n)=>zl(nt(0,e,Lm(n))),subtract:(e,n)=>zl(nt(1,e,Lm(n))),until:(e,n,t)=>yl(ar(0,e,Rm(n),t)),since:(e,n,t)=>yl(ar(1,e,Rm(n),t)),round:(e,n)=>zl(function(e,n){const[t,r,o]=Oe(n,5);var i;return nn((i=o,dn(e,hn(t,r),i)[0]))}(e,n)),equals:(e,n)=>function(e,n){return!Xt(e,n)}(e,Rm(n)),toLocaleString(e,n,t){const[r,o]=El(n,t,e);return r.format(o)},toString:_n,toJSON:e=>_n(e),valueOf:xm},{from:(e,n)=>zl(Rm(e,n)),compare:(e,n)=>Xt(Rm(e),Rm(n))}),[Al,Hl]=_m(Ka,g(function(e,n,t,r,o=0,i=0,a=0,s=0,m=0,d=0,c=xi){return Je(oe(Ae(u(Y,l(ra,[n,t,r,o,i,a,s,m,d])))),e(c))},Fr),{...dl,...ml,...hl},{with:(e,n,t)=>Hl(function(e,n,t,r){const o=e(n.calendar),i=[...o.fields(Pi),...bi].sort(),a={...no(s=n),hour:s.isoHour,minute:s.isoMinute,second:s.isoSecond,millisecond:s.isoMillisecond,microsecond:s.isoMicrosecond,nanosecond:s.isoNanosecond};var s;const m=$r(t,i),l=Ce(r),u=o.k(a,m),d={...a,...m};return Je(oe({...o.F(u,We(l)),..._e(Zs(d),l)}))}(Fs,e,Cm(n),t)),withCalendar:(e,n)=>Hl(lo(e,Om(n))),withPlainTime:(e,n)=>Hl(function(e,n=sa){return Je(oe({...e,...n}))}(e,Fm(n))),add:(e,n,t)=>Hl(Xn(Fs,0,e,Lm(n),t)),subtract:(e,n,t)=>Hl(Xn(Fs,1,e,Lm(n),t)),until:(e,n,t)=>yl(tr(Fs,0,e,Ym(n),t)),since:(e,n,t)=>yl(tr(Fs,1,e,Ym(n),t)),round:(e,n)=>Hl(function(e,n){return Je(ln(e,...Oe(n)),e.calendar)}(e,n)),equals:(e,n)=>function(e,n){return!Kt(e,n)&&e.calendar===n.calendar}(e,Ym(n)),toZonedDateTime:(e,n,t)=>Bl(function(e,n,t,r){const o=((e,n,t,r)=>{const o=(e=>Ra(Ye(e)))(r);return $n(e(n),t,o)})(e,t,n,r);return Ke(ie(o),t,n.calendar)}(ls,e,Nm(n),t)),toPlainDate:e=>Gl(Xe(e)),toPlainTime:e=>zl(nn(e)),toLocaleString(e,n,t){const[r,o]=wl(n,t,e);return r.format(o)},toString:An,toJSON:e=>An(e),valueOf:xm},{from:(e,n)=>Hl(Ym(e,n)),compare:(e,n)=>Kt(Ym(e),Ym(n))}),[kl,Il]=_m($a,g(function(e,n,t,r=xi,o=pa){const i=Y(n),a=Y(t),s=e(r);return en(re(He({isoYear:Y(o),isoMonth:i,isoDay:a})),s)},Fr),{...dl,...ul},{with:(e,n,t)=>Il(function(e,n,t,r){const o=e(n.calendar),i=o.fields(Pi).sort(),a=(e=>{const n=Rs(e.calendar),[t,r,o]=n.v(e),[i,a]=n.q(t,r);return{monthCode:vr(i,a),day:o}})(n),s=$r(t,i),m=o.k(a,s);return o._(m,r)}(Fs,e,Cm(n),t)),equals:(e,n)=>function(e,n){return!Jt(e,n)&&e.calendar===n.calendar}(e,Zm(n)),toPlainDate(e,n){return Gl(function(e,n,t,r){return((e,n,t)=>Kr(e,n,Oi,O(t),Ai))(e(n.calendar),t,r)}(Fs,e,this,n))},toLocaleString(e,n,t){const[r,o]=Sl(n,t,e);return r.format(o)},toString:In,toJSON:e=>In(e),valueOf:xm},{from:(e,n)=>Il(Zm(e,n))}),[_l,Cl]=_m(qa,g(function(e,n,t,r=xi,o=1){const i=Y(n),a=Y(t),s=e(r);return Qe(te(He({isoYear:i,isoMonth:a,isoDay:Y(o)})),s)},Fr),{...dl,...ll},{with:(e,n,t)=>Cl(function(e,n,t,r){const o=e(n.calendar),i=o.fields(_i).sort(),a=(e=>{const n=Rs(e.calendar),[t,r]=n.v(e),[o,i]=n.q(t,r);return{year:t,monthCode:vr(o,i)}})(n),s=$r(t,i),m=o.k(a,s);return o.K(m,r)}(Fs,e,Cm(n),t)),add:(e,n,t)=>Cl(et(Fs,0,e,Lm(n),t)),subtract:(e,n,t)=>Cl(et(Fs,1,e,Lm(n),t)),until:(e,n,t)=>yl(or(Fs,0,e,Wm(n),t)),since:(e,n,t)=>yl(or(Fs,1,e,Wm(n),t)),equals:(e,n)=>function(e,n){return!Jt(e,n)&&e.calendar===n.calendar}(e,Wm(n)),toPlainDate(e,n){return Gl(function(e,n,t,r){return((e,n,t)=>Kr(e,n,Ci,O(t),Ii))(e(n.calendar),t,r)}(Fs,e,this,n))},toLocaleString(e,n,t){const[r,o]=Tl(n,t,e);return r.format(o)},toString:kn,toJSON:e=>kn(e),valueOf:xm},{from:(e,n)=>Cl(Wm(e,n)),compare:(e,n)=>Jt(Wm(e),Wm(n))}),[Pl,Gl]=_m(Va,g(function(e,n,t,r,o=xi){return Xe(re(He(u(Y,{isoYear:n,isoMonth:t,isoDay:r}))),e(o))},Fr),{...dl,...ml},{with:(e,n,t)=>Gl(function(e,n,t,r){const o=e(n.calendar),i=o.fields(Pi).sort(),a=no(n),s=$r(t,i),m=o.k(a,s);return o.F(m,r)}(Fs,e,Cm(n),t)),withCalendar:(e,n)=>Gl(lo(e,Om(n))),add:(e,n,t)=>Gl(Qn(Fs,0,e,Lm(n),t)),subtract:(e,n,t)=>Gl(Qn(Fs,1,e,Lm(n),t)),until:(e,n,t)=>yl(rr(Fs,0,e,Um(n),t)),since:(e,n,t)=>yl(rr(Fs,1,e,Um(n),t)),equals:(e,n)=>function(e,n){return!Jt(e,n)&&e.calendar===n.calendar}(e,Um(n)),toZonedDateTime(e,n){const t=r(n)?n:{timeZone:n};return Bl(function(e,n,t,r,o){const i=e(o.timeZone),a=o.plainTime,s=void 0!==a?n(a):void 0,m=t(i);let l;return l=s?$n(m,{...r,...s}):Vn(m,{...r,...sa}),Ke(l,i,r.calendar)}(Nm,Rm,ls,e,t))},toPlainDateTime:(e,n)=>Hl(function(e,n=sa){return Je(oe({...e,...n}))}(e,Fm(n))),toPlainYearMonth(e){return Cl(function(e,n,t){return((e,n)=>{const t=qr(e,n,Ci);return e.K(t,void 0)})(e(n.calendar),t)}(Fs,e,this))},toPlainMonthDay(e){return Il(function(e,n,t){return((e,n)=>{const t=qr(e,n,Oi);return e._(t)})(e(n.calendar),t)}(Fs,e,this))},toLocaleString(e,n,t){const[r,o]=vl(n,t,e);return r.format(o)},toString:Hn,toJSON:e=>Hn(e),valueOf:xm},{from:(e,n)=>Gl(Um(e,n)),compare:(e,n)=>Jt(Um(e),Um(n))}),[Ol,Bl]=_m(Xa,g(function(e,n,t,r,o=xi){return Ke(ie(X(R(t))),n(r),e(o))},Fr,function(e){return Wt(Yi(e))}),{...fl,...dl,...$m(ml),...$m(hl),offset:e=>jn(Vm(e).offsetNanoseconds),offsetNanoseconds:e=>Vm(e).offsetNanoseconds,timeZoneId:e=>e.timeZone,hoursInDay:e=>function(e,n){const t=e(n.timeZone),r=ss(n,t),[o,i]=fn(r),a=ee(V(Vn(t,o),Vn(t,i)),yi,1);if(a<=0)throw new RangeError(No);return a}(ls,e)},{with:(e,n,t)=>Bl(function(e,n,t,r,o){const{calendar:i,timeZone:a}=t,s=e(i),m=n(a),l=[...s.fields(Pi),...Ti].sort(),u=(e=>{const n=ss(e,ls),t=jn(n.offsetNanoseconds),r=Rs(e.calendar),[o,i,a]=r.v(n),[s,m]=r.q(o,i),l=vr(s,m);return{...Ws(n),year:o,monthCode:l,day:a,offset:t}})(t),d=$r(r,l),c=s.k(u,d),h={...u,...d},[f,M,y]=Pe(o,2);return Ke(qn(m,{...s.F(c,We(f)),..._e(Zs(h),f)},At(h.offset),M,y),a,i)}(Fs,ls,e,Cm(n),t)),withCalendar:(e,n)=>Bl(lo(e,Om(n))),withTimeZone:(e,n)=>Bl(function(e,n){return{...e,timeZone:n}}(e,Nm(n))),withPlainTime:(e,n)=>Bl(function(e,n,t){const r=n.timeZone,o=e(r),i={...ss(n,o),...t||sa};let a;return a=t?qn(o,i,i.offsetNanoseconds,2):Vn(o,i),Ke(a,r,n.calendar)}(ls,e,Fm(n))),add:(e,n,t)=>Bl(Jn(Fs,ls,0,e,Lm(n),t)),subtract:(e,n,t)=>Bl(Jn(Fs,ls,1,e,Lm(n),t)),until:(e,n,t)=>yl(tn(nr(Fs,ls,0,e,qm(n),t))),since:(e,n,t)=>yl(tn(nr(Fs,ls,1,e,qm(n),t))),round:(e,n)=>Bl(function(e,n,t){let{epochNanoseconds:r,timeZone:o,calendar:i}=n;const[a,s,m]=Oe(t);if(0===a&&1===s)return n;const l=e(o);if(6===a)r=((e,n,t,r)=>{const o=ss(t,n),[i,a]=e(o),s=t.epochNanoseconds,m=Vn(n,i),l=Vn(n,a);if(J(s,m,l))throw new RangeError(No);return vn(mn(s,m,l),r)?l:m})(fn,l,n,m);else{const e=l.R(r);r=qn(l,ln(Me(r,e),a,s,m),e,2,0,1)}return Ke(r,o,i)}(ls,e,n)),startOfDay:e=>Bl(function(e,n){const{timeZone:t,calendar:r}=n,o=((e,n,t)=>Vn(n,e(ss(t,n))))(Mn,e(t),n);return Ke(o,t,r)}(ls,e)),equals:(e,n)=>function(e,n){return!Vt(e,n)&&!!Qt(e.timeZone,n.timeZone)&&e.calendar===n.calendar}(e,qm(n)),toInstant:e=>Nl(function(e){return Ve(e.epochNanoseconds)}(e)),toPlainDateTime:e=>Hl(to(ls,e)),toPlainDate:e=>Gl(ro(ls,e)),toPlainTime:e=>zl(oo(ls,e)),toLocaleString(e,n,t={}){const[r,o]=bl(n,t,e);return r.format(o)},toString:(e,n)=>zn(ls,e,n),toJSON:e=>zn(ls,e),valueOf:xm,getTimeZoneTransition(e,n){const{timeZone:t,epochNanoseconds:r}=e,o=function(e){const n=Ze(e,Aa),t=qe(Aa,Ba,n,0);if(!t)throw new RangeError(Eo(Aa,t));return t}(n),i=ls(t).O(r,o);return i?Bl({...e,epochNanoseconds:i}):null}},{from:(e,n)=>Bl(qm(e,n)),compare:(e,n)=>Vt(qm(e),qm(n))}),[xl,Nl]=_m(Qa,function(e){return Ve(ie(X(R(e))))},fl,{add:(e,n)=>Nl(Kn(0,e,Lm(n))),subtract:(e,n)=>Nl(Kn(1,e,Lm(n))),until:(e,n,t)=>yl(er(0,e,Km(n),t)),since:(e,n,t)=>yl(er(1,e,Km(n),t)),round:(e,n)=>Nl(function(e,n){const[t,r,o]=Oe(n,5,1);return Ve(pn(e.epochNanoseconds,t,r,o,1))}(e,n)),equals:(e,n)=>function(e,n){return!$t(e,n)}(e,Km(n)),toZonedDateTimeISO:(e,n)=>Bl(function(e,n,t=xi){return Ke(e.epochNanoseconds,n,t)}(e,Nm(n))),toLocaleString(e,n,t){const[r,o]=pl(n,t,e);return r.format(o)},toString:(e,n)=>Dn(Nm,ls,e,n),toJSON:e=>Dn(Nm,ls,e),valueOf:xm},{from:e=>Nl(Km(e)),fromEpochMilliseconds:e=>Nl(function(e){return Ve(ie(Q(Z(e),hi)))}(e)),fromEpochNanoseconds:e=>Nl(function(e){return Ve(ie(X(R(e))))}(e)),compare:(e,n)=>$t(Km(e),Km(n))}),Ll=Object.defineProperties({},{...m("Temporal.Now"),...a({timeZoneId:()=>ho(),instant:()=>Nl(Ve(co())),zonedDateTimeISO:(e=ho())=>Bl(Ke(co(),Nm(e),xi)),plainDateTimeISO:(e=ho())=>Hl(Je(uo(ls(Nm(e))),xi)),plainDateISO:(e=ho())=>Gl(Xe(uo(ls(Nm(e))),xi)),plainTimeISO:(e=ho())=>zl(nn(uo(ls(Nm(e)))))})}),jl=Object.defineProperties({},{...m("Temporal"),...a({PlainYearMonth:_l,PlainMonthDay:kl,PlainDate:Pl,PlainTime:Dl,PlainDateTime:Al,ZonedDateTime:Ol,Instant:xl,Duration:Ml,Now:Ll})}),Rl=Jm(),Fl=new WeakMap;function Yl(e,...n){let t=bbn.lng[e]||e;if(n.length){let e=0;return t.replace(/\%([d|s])/g,(t,r)=>{let o=n[e++];o||(o="d"===r?0:"");const i=typeof o;return"d"===r&&"number"!==i?(o=parseFloat(o),isNaN(o)&&(o=0)):"s"===r&&"string"!==i&&(o=""+o),o})}return t}Object.create(Intl),a({DateTimeFormat:Rl});var Zl={loggers:{_num:0},datatypes:["xml","html","script","json","jsonp","text","blob"],shortenLen:30,keys:{upDown:["PageUp","PageDown","End","Home","ArrowUp","ArrowDown"],leftRight:["Home","End","ArrowLeft","ArrowRight"],dels:["Backspace","Delete","Insert"],confirm:["Enter","Tab"],alt:["CapsLock","Shift","Control","Alt","NumLock"],numbers:["0","1","2","3","4","5","6","7","8","9","Numpad0","Numpad1","Numpad2","Numpad3","Numpad4","Numpad5","Numpad6","Numpad7","Numpad8","Numpad9"],numsigns:["NumpadSubtract","NumpadDecimal","-","."]},comparators:[">=","<=",">","<","="],operators:["+","-","/","*"],tags:["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","label","legend","li","link","main","map","mark","menu","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","slot","small","source","span","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr"],colors:{darkgrey:"#5a6a62",black:"#000000",anthracite:"#454545",grey:"#d3d3d3",white:"#ffffff",beige:"#fdfdfd",lightgrey:"#dcdcdc",pastelblue:"#ddebf6",cyan:"#00c8f8",blue:"#6e9ecf",indigo:"#3f51b5",navy:"#354458",webblue:"#2196f3",teal:"#009688",turquoise:"#1fda9a",pastelgreen:"#e2efda",palegreen:"#ccffcc",green:"#00a03e",olive:"#92b06a",pastelorange:"#fff2cc",yellow:"#fdf200",orange:"#ff9900",pink:"#eb65a0",purple:"#a333c8",red:"#db3340",brown:"#8c6954"},reserved:["abstract","boolean","break","byte","case","catch","char","class","continue","const","debugger","default","delete","do","double","else","enum","export","extends","false","final","finally","float","for","function","goto","if","implements","import","in","instanceof","int","interface","long","new","null","package","return","super","switch","synchronized","this","throw","throws","transient","true","try","typeof","var","void","while","with"],mockText:"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.",regexp:{url:new RegExp("^(https?:\\/\\/)?((([a-z\\d]([a-z\\d-]*[a-z\\d])*)\\.?)+[a-z]{2,}|((\\d{1,3}\\.){3}\\d{1,3}))(\\:\\d+)?(\\/[-a-z\\d%_.~+]*)*(\\?[;&a-z\\d%_.~+=-]*)?(\\#[-a-z\\d_]*)?$","i"),ip:/^((\d|[1-9]\d|1\d{2}|2[0-4]\d|25[0-5])\.){3}(\d|[1-9]\d|1\d{2}|2[0-4]\d|25[0-5])$/,hostname:/^[a-z\d]([a-z\d-]{0,61}[a-z\d])?(\.[a-z\d]([a-z\d-]{0,61}[a-z\d])?)*$/i}},Wl={siteTitle:window.document.title,logging:!1,cdn:"",lang:"en",host:window.location.protocol+"//"+window.location.hostname,url:window.location.href,old_path:null,loading:!1,_enumerated:[],get isEnumerating(){return this._enumerated.length>0},width:0,height:0,focused:!1,last_focus:(new Date).getTime(),sleep:!1,theme:"dark",loaders:[],loadersHistory:[],maxLoadersHistory:50,resizeTimer:!1,hashChanged:0,params:[],isInit:!1,isFocused:!1,isVisible:!document.hidden,timeoff:Math.round((new Date).getTime()/1e3),loggingLevel:5,ignoreUnload:!1,historyDisabled:!1,nav:"ajax",online:window.navigator.onLine},Ul=function(e,n,t,r){return new(t||(t=Promise))(function(o,i){function a(e){try{m(r.next(e))}catch(e){i(e)}}function s(e){try{m(r.throw(e))}catch(e){i(e)}}function m(e){var n;e.done?o(e.value):(n=e.value,n instanceof t?n:new t(function(e){e(n)})).then(a,s)}m((r=r.apply(e,n||[])).next())})};class ql extends Error{constructor(e){super(e||"Request canceled"),this.name="Cancel",this.__BBN_CANCEL__=!0}}const $l=["POST","PUT","PATCH","DELETE"],Vl=(e,n,t={},r)=>{const o=new XMLHttpRequest,i=$l.includes(e.toUpperCase()),a=new Promise((r,a)=>{o.open(e.toUpperCase(),n,!0);const{body:s,headers:m}=((e,n)=>{const t=new Headers(n||{});let r=e;return null==e||e instanceof FormData||"object"!=typeof e||(t.set("Content-Type","application/json"),r=JSON.stringify(e)),{body:r,headers:t}})(t.data,t.headers);m.forEach((e,n)=>{o.setRequestHeader(n,e)}),"function"==typeof t.onUploadProgress&&o.upload&&o.upload.addEventListener("progress",e=>{const n=e.lengthComputable?e.total:void 0;t.onUploadProgress({loaded:e.loaded,total:n,progress:n?e.loaded/n:void 0})}),o.onreadystatechange=()=>{if(4!==o.readyState)return;const e=(e=>{const n={};return e?(e.trim().split(/[\r\n]+/).forEach(e=>{const t=e.split(": "),r=t.shift(),o=t.join(": ");r&&(n[r.toLowerCase()]=o)}),n):n})(o.getAllResponseHeaders()),n=1223===o.status?204:o.status,i=o.statusText||"";let s=o.responseText;if((e["content-type"]||"").includes("application/json"))try{s=JSON.parse(o.responseText)}catch(e){}const m={data:s,status:n,statusText:i,headers:e,config:t,request:o};if(n>=200&&n<300)r(m);else{const e=new Error("Request failed with status code "+n);e.response=m,e.config=t,e.request=o,a(e)}},o.onerror=()=>{const e=new Error("Network Error");e.config=t,e.request=o,a(e)},o.onabort=()=>{a(new ql("Request canceled"))},i?o.send(s):o.send()});return a.cancel=()=>o.abort(),a};var Kl={isCancel:e=>!(!e||!0!==e.__BBN_CANCEL__),run:(e,n,t={},r)=>{t.baseURL&&!/^https?:\/\//i.test(n)&&(n=t.baseURL.replace(/\/+$/,"")+"/"+n.replace(/^\/+/,"")),n=((e,n)=>{if(!n)return e;const t=new URLSearchParams(n).toString();return t?e+(e.includes("?")?"&":"?")+t:e})(n,t.params);return"function"==typeof t.onUploadProgress&&$l.includes(e.toUpperCase())?Vl(e,n,t):((e,n,t={},r)=>{const o={method:e,headers:new Headers(t.headers||{}),signal:null==r?void 0:r.signal},i=$l.includes(e.toUpperCase());if(null!=t.data&&i&&(bbn.fn.log("DATA",t.data),"object"!=typeof t.data||t.data instanceof FormData?o.body=t.data:(o.headers.set("Content-Type","application/json"),o.body=JSON.stringify(t.data))),t.params){const e=new URLSearchParams(t.params).toString();n+=(n.includes("?")?"&":"?")+e}const a=fetch(n,o).then(e=>Ul(void 0,void 0,void 0,function*(){let n;const r=e.headers.get("content-type")||"";try{n=r.includes("application/json")?yield e.json():r.startsWith("text/")?yield e.text():r.includes("multipart/")?yield e.arrayBuffer():yield e.blob()}catch(t){n=yield e.text()}const o={data:n,status:e.status,statusText:e.statusText,headers:Object.fromEntries(e.headers.entries()),config:t,request:e};if(!e.ok){const n=new Error("Request failed with status code "+e.status);throw n.response=o,n.config=t,n.request=e,n}return o})).catch(e=>{if("AbortError"===e.name)throw new ql("Request canceled");throw e});return a.cancel=()=>r.abort(),a})(e,n,t,r)}};function Jl(...e){if(!e.length)return!1;for(let n of e)if(["boolean","object","symbol"].includes(typeof n)||""===n||isNaN(n))return!1;return!0}function Xl(...e){if(!e.length)return!1;for(let n of e)if(!n||"object"!=typeof n||!(Symbol.iterator in Object(n)))return!1;return!0}function Ql(...e){if(!e.length)return!1;for(let n of e)if("[object String]"!=={}.toString.apply(n))return!1;return!0}function eu(...e){if(!e.length)return!1;for(let n of e)if(!Number.isInteger(n))return!1;return!0}function nu(...e){if(!e.length)return!1;for(let n of e)if(!(n&&n.constructor&&n.call&&n.apply))return!1;return!0}function tu(...e){var n,t,r,o;if((null===(t=null===(n=window.bbn)||void 0===n?void 0:n.env)||void 0===t?void 0:t.logging)&&void 0!==(null===window||void 0===window?void 0:window.console)){let n,t=5,i="log";e[0]&&"object"==typeof e[0]&&e[0]._bbn_console_style&&(e[0]._bbn_console_mode&&nu(console[e[0]._bbn_console_mode])?i=e[0]._bbn_console_mode:(n=e[0]._bbn_console_style,t=e[0]._bbn_console_level),e.shift());const a=window.console[i];if((null===(o=null===(r=window.bbn)||void 0===r?void 0:r.env)||void 0===o?void 0:o.loggingLevel)>=t){let t=0;for(;t<e.length;){let r=typeof e[t],o=[e[t]];"string"!==r&&"number"!==r||o.unshift("%c %s ",n),a.apply(window.console,o),t++}}}return this}function ru(e,n,t){if(!Ql(e)||!eu(n))throw tu(arguments),new Error(bbn._("The substr function should be applied to a string and at least a `from` argument should be given"));return n<0&&(n=e.length+n),eu(t)?e.substring(n,(t<0?e.length:n)+t):e.substring(n)}function ou(e,n=!1){let t=null;if("object"==typeof e)for(var r in t={},e)ru(r,0,1).match(/^[A-z0-9]$/)&&r in e&&(n&&"object"==typeof e[r]?t[r]=ou(e[r],!0):t[r]=e[r]);return t||!1}function iu(e,n,t=!1,r=!1){if(null!==e&&"object"==typeof e){let o=Object.keys(t?ou(e):e);r&&o.reverse();for(let t of o)if(!1===n(e[t],t))break}return e}function au(e,n){if(!(Jl(e)&&e>0)){if(Xl(e)){for(let t=0;t<e.length;t++)if(!1===n(e[t],t))return;return e}return iu(e,n)}for(let t=0;t<e;t++)if(!1===n(t,t))return}function su(...e){if(!e.length)return!1;for(let n of e)if("[object Object]"!=={}.toString.apply(n))return!1;return!0}function mu(...e){if(!e.length)return!1;for(let n of e)if(!Array.isArray(n))return!1;return!0}function lu(...e){let n=!1,t=[];for(let r=0;r<e.length;r++)if(!0===e[r])n=!0;else{if(!e[r])continue;if("object"!=typeof e[r])throw new Error(bbn._("Error in extend: all arguments should be object, you have given ")+typeof e[r]);t.push(e[r])}if(!t.length)throw new Error("No argument given");let r,o=t[0];for(let e=1;e<t.length;e++)iu(t[e],(e,t)=>{n?mu(e)?(o[t]=mu(o[t])?o[t]:[],au(e,(e,n)=>{if(e&&"object"==typeof e){let r=o[t][n];mu(e)?mu(r)||(r=[]):su(r)||(r={}),o[t][n]=lu(!0,r,e)}else o[t][n]=e})):su(e)?o[t]=lu(!0,o[t]&&"object"==typeof o[t]?o[t]:Object.create(Object.getPrototypeOf(e)),e):o[t]=e:(o[t]!==e||void 0===e&&!Object.prototype.hasOwnProperty.apply(o,[t]))&&(o[t]=e)}),r||(r=!!t[e].__bbnNoData);return r&&"bbnData"in window&&(o.__bbnData&&o.__bbnData.unset(),Object.defineProperty(o,"__bbnNoData",{value:!0,enumerable:!1,configurable:!1,writable:!1})),o}const uu=window.indexedDB||window.webkitIndexedDB||window.mozIndexedDB||window.OIndexedDB||window.msIndexedDB,du=(e,n)=>{if(null==n?void 0:n.length){let t={};return iu(e,(e,r)=>{n.indexOf(r)>-1&&(t[r]=e)}),t}return e},cu=function(e){const n=hu._connections[e],t=hu._structures[e];let r=null;const o=(e,n)=>{e.onerror=()=>{r=e.error,tu(e.error),n(e.error)}},i=(e,t)=>{const o=n.transaction([e],0===t.toLowerCase().indexOf("r")?"readonly":"readwrite");return o.onabort=()=>{throw r=o.error,new Error(o.error)},[o,o.objectStore(e)]};this.lastError=()=>r,this.insert=(e,n)=>(Array.isArray(n)||(n=[n]),new Promise(t=>{const[r,o]=i(e,"w");let a=n.length;au(n,e=>{const n=o.put(e);n.onerror=()=>{tu(n.error),a--}}),r.oncomplete=()=>{t(a)}})),this.update=(e,n,r,a)=>new Promise(s=>{this.selectAll(e,[],r).then(r=>{if(!r.length)return void s(0);const[m,l]=i(e,"w"),u=t[e],d=u.keys.PRIMARY.columns.length>1?u.keys.PRIMARY.columns:u.keys.PRIMARY.columns[0];let c=0;for(let e=0;e<r.length;e++){const t=lu({},a?{[d]:r[e][d]}:r[e],n);if(!t[d])throw new Error(Yl("No primary key in the data"));const i=l.put(t);o(i,s),i.onsuccess=()=>{c++}}m.oncomplete=()=>{s(c)}})}),this.delete=(e,n)=>new Promise(r=>{const[a,s]=i(e,"w"),m=t[e],l=m.keys.PRIMARY.columns.length>1?m.keys.PRIMARY.columns:m.keys.PRIMARY.columns[0];if(!n[l])throw new Error(Yl("No "));const u=s.delete(n[l]);o(u,r),a.oncomplete=()=>{r(1)}}),this.selectOne=(e,n,t,r,o,i)=>new Promise(i=>{this.selectAll(e,[n],t,r,o,1).then(e=>{var t,r;i(null!==(r=null===(t=null==e?void 0:e[0])||void 0===t?void 0:t[n])&&void 0!==r?r:void 0)})}),this.select=(e,n,t,r,o)=>new Promise(i=>{this.selectAll(e,n,t,r,o,1).then(e=>{i(e.length?e[0]:null)})}),this.selectAll=(e,n=[],r=null,a=null,s=0,m=null)=>new Promise(a=>{const[l,u]=i(e,"r"),d=t[e],c=d.keys.PRIMARY.columns.length>1?d.keys.PRIMARY.columns:d.keys.PRIMARY.columns[0],h=su(r)?Object.keys(r)[0]:!r||mu(r)?null:c,f=[];if(h===c)if(bbn.fn.isArray(null==r?void 0:r[c])){const e=Math.min(r[c].length,m||9999999);for(let t=s||0;t<e;t++){let i=u.get(r[c][t]);i.onsuccess=()=>{let t=i.result;f.push(du(t,n)),f.length===e&&a(f)},o(i,a)}}else{let e=u.get((null==r?void 0:r[c])||r);e.onsuccess=()=>{let t=e.result;f.push(du(t,n)),a(f)},o(e,a)}else{const e=u.openCursor();let t=0;e.onsuccess=e=>{const o=e.target.result;o?(r&&bbn.fn.search([o.value],r)||(t>=s&&(f.push(du(o.value,n)),f.length===m&&a(f)),t++),o.continue()):a(f)},o(e,a)}}),this.getColumnValues=(e,t,r,o,i,a)=>new Promise(t=>{n.transaction([e],"read").objectStore(e)}),this.copyTable=(r,o,i=[],a=null,s=null,m=0,l=null)=>new Promise(u=>{if(n.objectStoreNames.contains(r)||hu.add(e,r,t[o]),!n.objectStoreNames.contains(r))throw u(0),new Error(Yl("The target table %s does not exist",r));this.selectAll(o,i,a,s,m,l).then(e=>{e.length?this.insert(r,e).then(e=>{u(e)}):u(0)})}),this.deleteTable=e=>new Promise(t=>{n.deleteObjectStore(e),t(!0)})},hu={_structures:{},_connections:{},_stores:{},ok:void 0!==uu,updateStructure(e,n,t){const r=n.keys.PRIMARY.columns.length>1?n.keys.PRIMARY.columns:n.keys.PRIMARY.columns[0];if(!t.objectStoreNames.contains(e)){const o=t.createObjectStore(e,{keyPath:r});iu(n.keys,(e,n)=>{"PRIMARY"!==n&&o.createIndex(n,e.columns.length>1?e.columns:e.columns[0],{unique:!!e.unique})})}},open(e){return new Promise(n=>{if(hu._connections[e])n(new cu(e));else{if(!hu._structures[e])throw new Error(Yl("Impossible to find a structure for the database %s",e));let t=Math.max.apply(this,[1].concat(Object.keys(hu._structures[e]).map(n=>hu._structures[e][n].num||1)));const r=uu.open(e,t);r.onupgradeneeded=()=>{const n=r.result;iu(hu._structures[e],(e,t)=>{this.updateStructure(t,e,n)})},r.onsuccess=()=>{hu._connections[e]=r.result;let t=new cu(e);n(t)}}})},add(e,n,t){var r;if(!(null===(r=null==t?void 0:t.keys)||void 0===r?void 0:r.PRIMARY)||!(null==t?void 0:t.fields))throw new Error(Yl("The database structure for %s is not valid (are there keys and field? Is there a primary?",n));hu._structures[e]||(hu._structures[e]={}),hu._structures[e][n]=t,hu._connections[e]&&this.updateStructure(n,t,hu._connections[e])}};function fu(e,n,t){let r=(new Date).getTime(),o={key:e,url:ru(e,0,e.length-33),loader:n,aborter:t,loading:!0,error:!1,abort:!1,errorMessage:!1,success:!1,start:r};bbn.env.loaders.push(o),bbn.env.loadersHistory.unshift(o);let i=bbn.env.loadersHistory.length;for(;i&&bbn.env.loadersHistory.length>bbn.env.maxLoadersHistory;)i--,bbn.env.loading||bbn.env.loadersHistory.splice(i,1);return r}function Mu(e,...n){if("object"==typeof e){const t=[];return 1===n.length&&"string"==typeof n[0]?t.push(...n[0].split(".")):t.push(...n),t.reduce((e,n)=>{if(e)return e[e instanceof Array?parseInt(n):n]},e)}}function yu(e){if(!Ql(e)){if(!e.toString)throw tu(e),new Error(bbn._("removeAccent expects a string"));e=e.toString()}return e.normalize("NFD").replace(/[\u0300-\u036f]/g,"")}function gu(...e){if(!e.length)return!1;for(let n of e)if("[object Date]"!=={}.toString.apply(n))return!1;return!0}function pu(e,n,t,r="asc"){let o=Mu(e,t),i=Mu(n,t),a=(typeof o).toLowerCase(),s=(typeof i).toLowerCase();if("asc"!==r&&Ql(r)&&"desc"===r.toLowerCase()&&(r="desc"),a!==s)o=a,i=s;else switch(a){case"string":o=yu(o).toLowerCase(),i=yu(i).toLowerCase();break;case"boolean":o=o?1:0,i=i?1:0;break;case"object":gu(o)&&(o=o.getTime(),i=gu(i)?i.getTime():0)}return o<i?"desc"===r?1:-1:o>i?"desc"===r?-1:1:0}function bu(e){return e&&"object"==typeof e?Object.keys(e).length:0}function wu(e){return!e||(mu(e)?!e.length:"object"==typeof e&&!bu(e))}function vu(...e){if(!e.length)return!1;for(let n of e)if("[object Null]"!=={}.toString.apply(n))return!1;return!0}function Eu(e){let n=0;for(let t=0;t<e.length;t++){n=(n<<5)-n+e.charCodeAt(t),n|=0}return Math.abs(n).toString(16)}function Tu(e){let n=0;for(let t=0;t<e.length;t++){n=e.charCodeAt(t)+(n<<6)+(n<<16)-n,n|=0}return Math.abs(n).toString(16)}function Su(e){return Eu(e).padStart(8,"0")+Tu(e).padStart(8,"0")}function Du(...e){if(!e.length)return!1;for(let n of e)if(!(n instanceof HTMLElement))return!1;return!0}function zu(e){let n="",t=e;if(e.id)return"#"+e.id;for(;t&&t!==document.body;){let e=t,r=e.localName,o=0;if(!r)break;if(e===document.body)break;e.id&&(n="#"+e.id+">"+n,o=1);let i=t.parentNode,a=Array.from(i.children).filter(n=>n.tagName===e.tagName);if(!o&&a.length>1){let n=Array.from(i.children).indexOf(e)+1;n>1&&(r+=":nth-child("+n+")")}n=r+(n?">"+n:""),t=i}return n}function Au(...e){var n;if(!e.length)return!1;if(!("cp"in bbn)||!("isComponent"in bbn.cp)||"function"!=typeof bbn.cp.isComponent)return!1;for(let t of e){if(!bbn.cp.isComponent(t)||Du(t)||!(null===(n=t.$el)||void 0===n?void 0:n.bbnCid))return!1}return!0}function Hu(e,n=null,t=0,r=null,o=null){if(t||r||(r=new WeakSet),void 0===e)e="__BBN_UNDEFINED__";else if(null===e)e="__BBN_NULL__";else if(null===e)e="__BBN_NULL__";else if("function"==typeof e)e="__BBN_FUNCTION__"+e.toString();else if("symbol"==typeof e)e="__BBN_SYMBOL__"+e.toString();else if("string"==typeof e)e="__BBN_STRING__"+e;else if("number"==typeof e)e="__BBN_NUMBER__"+e.toString();else if("boolean"==typeof e)e="__BBN_BOOLEAN__"+e.toString();else if([void 0,Object,Array,null].includes(null==e?void 0:e.constructor)){if(bbn.fn.isArray(e))if(r.has(e)||n&&n<t)e="__BBN_ARRAY__"+e.constructor.toString();else{r.add(e);let i="";for(let a=0;a<e.length;a++)i+="__BBN_ITEM"+a.toString()+"__"+o(e[a],n,t+1,r,o);e="__BBN_ARRAY__"+i}else if("object"==typeof e)if(r.has(e)||n&&n<t)e="__BBN_OBJECT__"+(e.constructor?e.constructor.toString():"");else{r.add(e);let i="";for(let a in e){let s=a;"string"!=typeof s&&(s=o(s,o,1,1)),i+="__BBN_PROP_"+s+"__"+o(e[a],n,t+1,r,o)}e="__BBN_OBJECT__"+i}}else e=Du(e)?Au(e)?"__BBN_CP__"+e.$cid:e.bbnId?"__BBN_DOM__"+e.tagName+"/"+e.bbnId+e.bbnHash:"__BBN_DOM__"+zu(e):"__BBN_UNKNOWN_OBJECT__"+e.constructor.toString();return e}function ku(...e){let n="",t=null;2===e.length&&"number"==typeof e[1]&&(t=e[1],e=[e[0]]);for(let r in e)n+=Hu(e[r],t,0,null,Hu);return Su(n)}function Iu(e){var n="0123456789abcdef";function t(e){var t,r="";for(t=0;t<=3;t++)r+=n.charAt(e>>8*t+4&15)+n.charAt(e>>8*t&15);return r}function r(e,n){var t=(65535&e)+(65535&n);return(e>>16)+(n>>16)+(t>>16)<<16|65535&t}function o(e,n,t,o,i,a){return r(function(e,n){return e<<n|e>>>32-n}(r(r(n,e),r(o,a)),i),t)}function i(e,n,t,r,i,a,s){return o(n&t|~n&r,e,n,i,a,s)}function a(e,n,t,r,i,a,s){return o(n&r|t&~r,e,n,i,a,s)}function s(e,n,t,r,i,a,s){return o(n^t^r,e,n,i,a,s)}function m(e,n,t,r,i,a,s){return o(t^(n|~r),e,n,i,a,s)}var l,u,d,c,h,f=function(e){var n,t=1+(e.length+8>>6),r=new Array(16*t);for(n=0;n<16*t;n++)r[n]=0;for(n=0;n<e.length;n++)r[n>>2]|=e.charCodeAt(n)<<n%4*8;return r[n>>2]|=128<<n%4*8,r[16*t-2]=8*e.length,r}(e),M=1732584193,y=-271733879,g=-1732584194,p=271733878;for(l=0;l<f.length;l+=16)u=M,d=y,c=g,h=p,M=i(M,y,g,p,f[l+0],7,-680876936),p=i(p,M,y,g,f[l+1],12,-389564586),g=i(g,p,M,y,f[l+2],17,606105819),y=i(y,g,p,M,f[l+3],22,-1044525330),M=i(M,y,g,p,f[l+4],7,-176418897),p=i(p,M,y,g,f[l+5],12,1200080426),g=i(g,p,M,y,f[l+6],17,-1473231341),y=i(y,g,p,M,f[l+7],22,-45705983),M=i(M,y,g,p,f[l+8],7,1770035416),p=i(p,M,y,g,f[l+9],12,-1958414417),g=i(g,p,M,y,f[l+10],17,-42063),y=i(y,g,p,M,f[l+11],22,-1990404162),M=i(M,y,g,p,f[l+12],7,1804603682),p=i(p,M,y,g,f[l+13],12,-40341101),g=i(g,p,M,y,f[l+14],17,-1502002290),M=a(M,y=i(y,g,p,M,f[l+15],22,1236535329),g,p,f[l+1],5,-165796510),p=a(p,M,y,g,f[l+6],9,-1069501632),g=a(g,p,M,y,f[l+11],14,643717713),y=a(y,g,p,M,f[l+0],20,-373897302),M=a(M,y,g,p,f[l+5],5,-701558691),p=a(p,M,y,g,f[l+10],9,38016083),g=a(g,p,M,y,f[l+15],14,-660478335),y=a(y,g,p,M,f[l+4],20,-405537848),M=a(M,y,g,p,f[l+9],5,568446438),p=a(p,M,y,g,f[l+14],9,-1019803690),g=a(g,p,M,y,f[l+3],14,-187363961),y=a(y,g,p,M,f[l+8],20,1163531501),M=a(M,y,g,p,f[l+13],5,-1444681467),p=a(p,M,y,g,f[l+2],9,-51403784),g=a(g,p,M,y,f[l+7],14,1735328473),M=s(M,y=a(y,g,p,M,f[l+12],20,-1926607734),g,p,f[l+5],4,-378558),p=s(p,M,y,g,f[l+8],11,-2022574463),g=s(g,p,M,y,f[l+11],16,1839030562),y=s(y,g,p,M,f[l+14],23,-35309556),M=s(M,y,g,p,f[l+1],4,-1530992060),p=s(p,M,y,g,f[l+4],11,1272893353),g=s(g,p,M,y,f[l+7],16,-155497632),y=s(y,g,p,M,f[l+10],23,-1094730640),M=s(M,y,g,p,f[l+13],4,681279174),p=s(p,M,y,g,f[l+0],11,-358537222),g=s(g,p,M,y,f[l+3],16,-722521979),y=s(y,g,p,M,f[l+6],23,76029189),M=s(M,y,g,p,f[l+9],4,-640364487),p=s(p,M,y,g,f[l+12],11,-421815835),g=s(g,p,M,y,f[l+15],16,530742520),M=m(M,y=s(y,g,p,M,f[l+2],23,-995338651),g,p,f[l+0],6,-198630844),p=m(p,M,y,g,f[l+7],10,1126891415),g=m(g,p,M,y,f[l+14],15,-1416354905),y=m(y,g,p,M,f[l+5],21,-57434055),M=m(M,y,g,p,f[l+12],6,1700485571),p=m(p,M,y,g,f[l+3],10,-1894986606),g=m(g,p,M,y,f[l+10],15,-1051523),y=m(y,g,p,M,f[l+1],21,-2054922799),M=m(M,y,g,p,f[l+8],6,1873313359),p=m(p,M,y,g,f[l+15],10,-30611744),g=m(g,p,M,y,f[l+6],15,-1560198380),y=m(y,g,p,M,f[l+13],21,1309151649),M=m(M,y,g,p,f[l+4],6,-145523070),p=m(p,M,y,g,f[l+11],10,-1120210379),g=m(g,p,M,y,f[l+2],15,718787259),y=m(y,g,p,M,f[l+9],21,-343485551),M=r(M,u),y=r(y,d),g=r(g,c),p=r(p,h);return t(M)+t(y)+t(g)+t(p)}function _u(e){const n="function"==typeof e?e.toString():e;if("string"!=typeof n)throw Error("Unexpected type "+typeof e+" while parsing function");let t,r="",o=!1,i=!1,a=!1,s="",m=0,l=0,u=[],d={},c="",h=['"',"'","`"],f=!1,M=!1,y=!1,g=!1,p=!1,b=!1,w="";for(let e=0;e<n.length;e++)if(y||"/"!==n[e]||"*"!==n[e+1])if("/"===n[e]&&"*"===n[e-1])y=!1;else if(g||"/"!==n[e]||"/"!==n[e+1])if("\n"===n[e])g=!1;else{if(y||g)continue;if(n[e]===c&&!f&&c)c="",r+=n[e];else if(c)f="\\"===n[e]&&!f,r+=n[e];else if(h.includes(n[e])&&!f)c=n[e],r+=n[e];else if("("===n[e]){if(m++,""!==r.trim()){if("function"===r.trim())a=!0;else if("async"!==r.trim()){s=r.trim();let e=s.match(/^([a-zA-Z0-9_]+)<[a-zA-Z0-9_]+>$/);e&&(s=e[1])}r=""}}else if(")"===n[e])m===l+1&&(M?(d.default=r.trim(),M=!1):r&&(d.name=r.trim()),(d.name||d.default)&&(u.push(d),d={}),r=""),l++;else if(p&&"}"!==n[e])r+=n[e];else{if(m&&m===l&&":"===n[e]){const r=n.substring(e+1).trim().match(/^\s*([a-zA-Z0-9_]+)\s*\{/);if(!r)throw Error("Unexpected ':' while parsing function");w=r[1],t=n.substring(e+r[0].length).trim();break}if(!(r||"="!==n[e]||">"!==n[e+1]||m!==l||l||o)){d.name=n.slice(0,e).trim(),u.push(d),d={},o=!0,t=bbn.fn.substr(n,e+2).trim();break}if(m===l&&"="===n[e]&&">"===n[e+1]){""!==r.trim()&&(d.name=r.trim(),u.push(d),d={},r=""),o=!0,e++;continue}if("="===n[e]&&m>l&&!M)d.name=r.trim(),r="",M=!0;else if(","===n[e])if(p)r+=n[e];else{if(!(m>l))throw Error("Unexpected ',' while parsing function");M?(d.default=r.trim(),M=!1):r&&(d.name=r.trim()),(d.name||d.default)&&(u.push(d),d={}),r=""}else if("{"===n[e]||"}"===n[e]){if(m===l){t=n.substring(e).trim();break}m>l?"{"!==n[e]||p?"}"===n[e]&&p&&(p=!1,r+=n[e]):(p=!0,r=n[e]):r=""}else{if(o){t=n.substring(n.indexOf("=>")+2).trim();break}" "===n[e]?""!==r.trim()&&("async"===r.trim()&&(i=!0),m>l?r+=n[e]:r=""):r+=n[e]}}}else g=!0,r="";else y=!0,r="";if(!t){if(!o)throw Error("Unexpected end of function while parsing function");t=r}t.substr(0,25).indexOf("[native code]")>-1&&(b=!0);const v=u.map(e=>e.name+(e.default?" = "+e.default:"")).join(", ");return{body:t,args:u,argString:v,isArrow:o,hasFunction:a,name:s,isAsync:i,isBinary:b,hash:Iu(t+(s?"-"+s:"")+(v?"-"+v:"")),returnType:w}}function Cu(e,n,t){if(t||(t=[]),e===n)return!0;if(e&&n&&"object"==typeof e&&"object"==typeof n){if(![void 0,Object,Array,null].includes(null==e?void 0:e.constructor)||![void 0,Object,Array,null].includes(null==n?void 0:n.constructor))return!1;let r=Object.keys(e).sort(),o=Object.keys(n).sort();if(ku(r)!==ku(o))return!1;let i=!0;if(e&&"object"==typeof e){if(t.includes(e))return i;t.push(e)}return au(r,t=>{if(!Cu(e[t],n[t]))return i=!1,!1}),i}if(e&&n&&"function"==typeof e&&"function"==typeof n){let t=_u(e),r=_u(n),o=t.hash===r.hash;return o&&t.isBinary&&(o=!1),o}return!1}function Pu(e,n,t){switch(t){case"===":case"=":case"equal":case"eq":case"is":return e===n;case"!==":case"notequal":case"neq":case"isnot":return e!==n;case"!=":case"different":return e!=n;case"contains":case"contain":case"icontains":case"icontain":return!wu(e)&&!wu(n)&&-1!==yu(e).toLowerCase().indexOf(yu(n).toLowerCase());case"doesnotcontain":case"donotcontain":return!(!vu(e)&&!vu(n))||-1===yu(e.toLowerCase()).indexOf(yu(n.toLowerCase()));case"starts":case"start":return!vu(e)&&!vu(n)&&("string"!=typeof e&&(e=e.toString()||""),"string"!=typeof n&&(n=n.toString()||""),0===e.indexOf(n));case"startswith":case"startsi":case"starti":case"istarts":case"istart":return!vu(e)&&!vu(n)&&0===yu(e).toLowerCase().indexOf(yu(n).toLowerCase());case"endswith":case"endsi":case"endi":case"iends":case"iend":return!vu(e)&&!vu(n)&&e.lastIndexOf(n)===e.length-n.length;case"like":return!vu(e)&&!vu(n)&&yu(e).toLowerCase()===yu(n).toLowerCase();case"gt":case">":return e>n;case"gte":case">=":return e>=n;case"lt":case"<":return e<n;case"lte":case"<=":return e<=n;case"isnull":return null===e;case"isnotnull":return null!==e;case"isempty":return""===e;case"isnotempty":return""!==e;case"==":if(su(e,n))return Cu(e,n);default:return e==n}}function Gu(e,n){if(!n.conditions||!n.logic||!mu(n.conditions))throw new Error("Error in compareConditions: the filter should an abject with conditions and logic properties and conditions should be an array of objects");let t="AND"===n.logic;return au(n.conditions,r=>{let o;if(r.conditions&&mu(r.conditions))o=Gu(e,r);else if(o=Pu(Mu(e,r.field),r.value,r.operator),o){let n=r.field.split("."),t=n.pop();n.length&&au(n,n=>e=e[n]),void 0===Mu(e,t)&&void 0!==r.value&&(o=!1)}if(o){if("OR"===n.logic)return t=!0,!1}else if("AND"===n.logic)return t=!1,!1}),t}function Ou(e,n="="){if(!su(e))throw new Error("Error in filterToCondition: filter must be an object");if(!e.conditions||!mu(e.conditions)){let t=[];iu(e,(e,r)=>{su(e)&&"object"==typeof e.conditions?t.push(Ou(e)):t.push({field:r,operator:n,value:e})}),e={conditions:t}}return e.logic||(e.logic="AND"),e}function Bu(e,n,t=null,r="=",o=0,i=!1){if(!Xl(e))throw new Error(bbn._("The first argument for a search should be iterable")+" "+typeof e+" "+bbn._("given"));if(!e.length)return-1;let a,s,m=!1;if(n)if("string"==typeof n)a={conditions:[{field:n,value:t,operator:r||"="}]};else if(i=!0===r,o="number"==typeof t?t:i?e.length-1:0,"function"==typeof n)m=!0,s=n;else if(su(n))if("field"in n&&"value"in n)a={conditions:[n],logic:"AND"};else if("conditions"in n)a=n;else{const e=[];for(let t in n)e.push({field:t,value:n[t],operator:"="});a={conditions:e,logic:"AND"}}else mu(n)&&(a={conditions:n,logic:"AND"});else m=!0,s=e=>Gu({value:e},Ou({logic:"AND",conditions:[{field:"value",operator:r||"=",value:t}]}));if(m||a){if("number"!=typeof o&&(o=i?e.length-1:0),!s){const e=Ou(a);s=n=>Gu(n,e)}if(i)for(let n=o;n>=0;n--){if(bbn.env._enumerated.push(!0),s(e[n]))return bbn.env._enumerated.pop(),e[n],n;bbn.env._enumerated.pop()}else for(let n=o;n<e.length;n++){if(bbn.env._enumerated.push(!0),s(e[n]))return bbn.env._enumerated.pop(),e[n],n;bbn.env._enumerated.pop()}}return-1}function xu(e,n,t=null,r="=",o=0,i=!1,a=!1){let s=Bu(e,n,t,r,o,i);return s>-1?e[s]:n&&["object","function"].includes(typeof n)&&5 in arguments?i:a}function Nu(e,n=null,t=!1){let r=Bu(bbn.env.loaders,{key:e});if(r>-1){let o=bbn.env.loaders.splice(r,1)[0],i=xu(bbn.env.loadersHistory,{key:e,start:o.start});return i&&(i.loading=!1,i.duration=(new Date).getTime()-o.start,"string"==typeof n?(i.errorMessage=n,i.error=!t,i.abort=t):su(n)&&(i.success=!0)),!0}return!1}function Lu(e){let n=Bu(bbn.env.loaders,{key:e});return n>-1?bbn.env.loaders[n]:null}function ju(e,n,t=null,r="=",o=0){if(!mu(e))try{e=Array.from(e)}catch(n){throw bbn.fn.log("NOT ARRAY",e),new Error("Error in filter: The first argument must be an array")}let i={};const a=[],s="function"==typeof n;if(!n||!e.length)return e;if("object"==typeof n)i=n;else if("string"==typeof n)i[n]=t;else if(!s)throw new Error("Search function error: The prop argument should be a string or an object");let m;m="function"==typeof n?n:(e,n)=>Gu(e,i);for(let n=0;n<e.length&&(bbn.env._enumerated.push(!0),!(m(e[n],n)&&(bbn.env._enumerated.pop(),a.push(e[n]),bbn.env._enumerated.push(!0),o&&a.length>=o)));n++)bbn.env._enumerated.pop();return a}function Ru(e){if(bu(e)){bbn.var.colors||(bbn.var.colors={});let n=document.createElement("style");document.head.appendChild(n);let t=n.sheet,r=0;iu(e,(e,n)=>{bbn.var.colors[n]=e,t.insertRule(".bbn-"+n+", .bbn-color-text-"+n+" {color: "+e+" !important;}",r),t.insertRule("svg.bbn-"+n+", .bbn-"+n+" svg, svg.bbn-color-text-"+n+", .bbn-color-text-"+n+" svg {fill: "+e+";}",r),t.insertRule(".bbn-bg-"+n+", .bbn-color-bg-"+n+", .bbn-color-background-"+n+" {background-color: "+e+" !important;}",r),t.insertRule(".bbn-border-"+n+", .bbn-color-border-"+n+" {border-color: "+e+" !important;}",r),t.insertRule(".bbn-color-"+n+" {border-color: "+e+"; background-color: "+e+"; color: "+e+";}",r)})}}function Fu(e,n=null,t=""){if(e&&"FORM"===e.tagName){let r=(n,t)=>{let r=document.createElement("input");r.setAttribute("type","hidden"),r.setAttribute("name",n),r.setAttribute("value",t),e.appendChild(r)};n=JSON.parse(JSON.stringify(n||{})),t=t||"",n&&iu(n,(n,o)=>{let i=t?`${t}[${o}]`:o;n instanceof Date?r(i,n.toISOString()):n instanceof Array?n.forEach((n,t)=>{const o=`${i}[${t}]`;"object"==typeof n?Fu(e,n,o):r(o,n.toString())}):"object"!=typeof n||n instanceof File?r(i,n.toString()):Fu(e,n,i)})}}function Yu(e,n){let t=0;au(n,n=>{n.style[e]="auto"}),au(n,(n,r)=>{let o=n.getBoundingClientRect(),i=o[e]%1?o[e]-o[e]%1+1:o[e];i>t&&(t=i)}),au(n,(n,r)=>{t&&(n.style[e]=t+"px")})}function Zu(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}function Wu(e,n,t,r=""){return t.toString().replace(su(e)?e:new RegExp(Zu(e),"g"+r),n)}function Uu(e,n,t){let r={};return n&&iu(n,(e,n)=>{-1===n.indexOf("_bbn")&&(r[n]=e)}),e+":"+Iu((t||"json")+JSON.stringify(r))}function qu(e,n=null,t=null,r=null,o=null,i=null){if(null===n&&e&&"object"==typeof e&&e.url&&(e.abort&&(i=e.abort),e.failure&&(o=e.failure),e.success&&(r=e.success),e.data&&(t=e.data),e.datatype&&(n=e.datatype),e=e.url),e&&e&&"string"==typeof e){-1===e.indexOf("://")&&(e=Wu("//","/",e)),n||(n="json");let a=Uu(e,t,n),s=Lu(a);if(null==s?void 0:s.loader)return s.loader;bbn.env.token&&lu(t||{},{_bbn_token:bbn.env.token});const m=new AbortController;let l={responseType:n,signal:m.signal};"text"===n?l.headers={accept:"text/javascript","Content-Type":"text/javascript"}:"json"===n?l.headers={accept:"application/json","Content-Type":"application/json"}:"html"===n&&(l.headers={accept:"text/html","Content-Type":"text/html"});let u="get";su(t)&&bu(t)>0&&(l.data=t,u="post");let d=Kl.run(u,e,l).then(n=>{if(Nu(a,n),bbn.fn.defaultEndLoadingFunction(e,c,t,n),200===n.status)nu(r)&&r(n.data,n.headers);else{let e=1;nu(o)&&(e=o(d,n.message,n)),e&&bbn.fn.defaultAjaxErrorFunction(d,n.message,n)}return n}).catch(n=>{let r=Kl.isCancel(n);if(Nu(a,n.message||n.response.data,r),bbn.fn.defaultEndLoadingFunction(e,c,t,n),r){let t=1;nu(i)&&(t=i(n.message,e)),t&&bbn.fn.defaultAjaxAbortFunction(n.message,e)}else{let e=1;nu(o)&&(e=o(d,n.message,n)),e&&bbn.fn.defaultAjaxErrorFunction(d,n.message,n.response)}return n.response}),c=fu(a,d,m);return bbn.fn.defaultStartLoadingFunction(e,c,t,a),d}}const $u=new TextDecoder;function Vu(e){return $u.decode(e)}function Ku(e,n){if(e&&Ql(e)){let t=e.split("/").pop();if(!n)return t;let r=n.length;if(t&&ru(t,-r)===n)return ru(t,0,t.length-r)}return""}const Ju=[["y","year",31536e6],["m","month",2592e6],["w","week",6048e5],["d","day",864e5],["h","hour",36e5],["i","minute",6e4],["s","second",1e3],["x","millisecond",1]],Xu={years:"y",year:"y",YEARS:"y",YEAR:"y",Years:"y",Year:"y",YYYY:"y",YY:"y",yyyy:"y",yy:"y",months:"m",month:"m",Months:"m",Month:"m",MONTHS:"m",MONTH:"m",MMMM:"m",MMM:"m",MM:"m",weekday:"e",WEEKDAY:"e",ee:"e",EE:"e",ddd:"e",days:"d",day:"d",Days:"d",Day:"d",DAYS:"d",DAY:"d",DD:"d",dd:"d",hours:"h",hour:"h",Hours:"h",Hour:"h",HOURS:"h",HOUR:"h",HH:"h",hr:"h",hh:"h",milliseconds:"x",millisecond:"x",Milliseconds:"x",Millisecond:"x",MILLISECONDS:"x",MILLISECOND:"x",minutes:"i",minute:"i",Minutes:"i",Minute:"i",MINUTES:"i",MINUTE:"i",II:"i",ii:"i",mn:"i",mm:"i",min:"i",ms:"x",SSS:"x",sss:"x",SS:"s",ss:"s",seconds:"s",second:"s",Seconds:"s",Second:"s",SECONDS:"s",SECOND:"s",sec:"s",WW:"w",Y:"y",y:"y",M:"m",m:"m",e:"e",E:"e",D:"d",d:"d",H:"h",h:"h",n:"i",i:"i",s:"s",S:"s",W:"w",w:"w",ZZ:"z",Z:"z"},Qu={y:"YYYY",m:"MM",d:"DD",e:"EE",w:"WW",h:"HH",i:"II",s:"SS",x:"SSS",z:"Z"};function ed(...e){if(!e.length)return!1;for(let n of e)if(null!==n&&("object"==typeof n||"function"==typeof n))return!1;return!0}var nd,td,rd,od,id=function(e,n,t,r,o){if("m"===r)throw new TypeError("Private method is not writable");if("a"===r&&!o)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof n?e!==n||!o:!n.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?o.call(e,t):o?o.value=t:n.set(e,t),t},ad=function(e,n,t,r){if("a"===t&&!r)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof n?e!==n||!r:!n.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===t?r:"a"===t?r.call(e):r?r.value:n.get(e)};const sd=jl.ZonedDateTime.from("1970-01-01T00:00Z[UTC]");class md{static fromUnit(e,n){const t=Xu[n]||"ms",r=["y"===t?e:0,"m"===t?e:0,"w"===t?e:0,"d"===t?e:0,"h"===t?e:0,"i"===t?e:0,"s"===t?e:0,["y","m","w","d","h","i","s"].includes(t)?0:e],o=new jl.Duration(...r);return new md(o)}constructor(e,n,t,r,o,i,a,s,m){nd.add(this),td.set(this,void 0),rd.set(this,void 0),e instanceof jl.Duration?id(this,td,e,"f"):id(this,td,"object"==typeof e?new jl.Duration(e.years||0,e.months||0,e.weeks||0,e.days||0,e.hours||0,e.minutes||0,e.seconds||0,e.milliseconds||0,0,0):new jl.Duration(e||0,n||0,t||0,r||0,o||0,i||0,a||0,s||0,0,0),"f");const l=Xu[m||""]||m;id(this,rd,l||"ms","f"),xu(Ju,e=>e[0]===l),Object.defineProperty(this,"isValid",{value:!1,writable:!1,configurable:!0})}setValid(e){Object.defineProperty(this,"isValid",{value:e,writable:!1,configurable:!1})}get value(){return ad(this,td,"f")}years(e=!1){return ad(this,nd,"m",od).call(this,"year",e)}months(e=!1){return ad(this,nd,"m",od).call(this,"month",e)}weeks(e=!1){return ad(this,nd,"m",od).call(this,"week",e)}days(e=!1){return ad(this,nd,"m",od).call(this,"day",e)}hours(e=!1){return ad(this,nd,"m",od).call(this,"hour",e)}minutes(e=!1){return ad(this,nd,"m",od).call(this,"minute",e)}seconds(e=!1){return ad(this,nd,"m",od).call(this,"second",e)}toJSON(){return this.value.toJSON()}asYears(){return ad(this,td,"f").total({unit:"year",relativeTo:sd})}asMonths(){return ad(this,td,"f").total({unit:"month",relativeTo:sd})}asWeeks(){return ad(this,td,"f").total({unit:"week",relativeTo:sd})}asDays(){return ad(this,td,"f").total({unit:"day",relativeTo:sd})}asHours(){return ad(this,td,"f").total({unit:"hour",relativeTo:sd})}asMinutes(){return ad(this,td,"f").total({unit:"minute",relativeTo:sd})}asSeconds(){return ad(this,td,"f").total({unit:"second",relativeTo:sd})}add(e,n){let t=ad(this,rd,"f");if(n)if(Xu[n]){const e=xu(Ju,e=>e[0]===Xu[n]);e&&(t=e[1])}else t=n;const r=t+"s";if(!["years","months","weeks","days","hours","minutes","seconds","milliseconds"].includes(r))throw new Error("Invalid unit for duration: "+(null!=n?n:t));const o={[r]:e},i=ad(this,td,"f").add(o);return new md(i,void 0,void 0,void 0,void 0,void 0,void 0,void 0,ad(this,rd,"f"))}subtract(e,n){return this.add(-e,n)}toMilliseconds(){const e=ad(this,td,"f");return e.years||e.months||e.weeks||e.days?e.total({unit:"millisecond",relativeTo:sd}):e.total({unit:"millisecond"})}}td=new WeakMap,rd=new WeakMap,nd=new WeakSet,od=function(e,n){const t=ad(this,td,"f");if(n)switch(e){case"year":return t.years;case"month":return t.months;case"week":return t.weeks;case"day":return t.days;case"hour":return t.hours;case"minute":return t.minutes;case"second":return t.seconds}const r=t.total({unit:e,relativeTo:sd});return Math.floor(r)};var ld,ud=function(e,n,t,r,o){if("m"===r)throw new TypeError("Private method is not writable");if("a"===r&&!o)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof n?e!==n||!o:!n.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?o.call(e,t):o?o.value=t:n.set(e,t),t},dd=function(e,n,t,r){if("a"===t&&!r)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof n?e!==n||!r:!n.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===t?r:"a"===t?r.call(e):r?r.value:n.get(e)};class cd{constructor(e){this.__bbnNoData=!0,this.__isBbnDt=!0,ld.set(this,void 0),this.getWeekdayIndex=(e,n)=>{const t=n||bbn.env.lang,r=e.trim().toLowerCase(),o=[t,...navigator.languages];for(let e=0;e<o.length;e++){if(!o[e])continue;const n=new Intl.DateTimeFormat(o[e],{weekday:"long"});for(let e=0;e<7;e++){const t=new Date(2023,0,1+e);if(n.format(t).toLowerCase()===r)return e}}throw new Error(`Unknown weekday name '${e}' for locale '${t}'`)},Object.defineProperty(this,"isValid",{value:!0,writable:!1,configurable:!0}),ud(this,ld,e,"f");const n=new Date;Object.defineProperty(this,"defaultValue",{value:{year:n.getFullYear(),month:n.getMonth()+1,day:n.getDate(),hour:n.getHours(),minute:n.getMinutes(),second:n.getSeconds(),millisecond:n.getMilliseconds()},writable:!1,configurable:!1})}setValid(e){Object.defineProperty(this,"isValid",{value:e,writable:!1,configurable:!1})}get value(){return dd(this,ld,"f")}get hasFullDate(){return"year"in this.value&&"month"in this.value&&"day"in this.value}toEpochMs(){if("zoned"===this.kind){return this.value.toInstant().epochMilliseconds}const e=cd.systemTimeZoneId;let n;switch(this.kind){case"dateTime":return this.value.toZonedDateTime(e).toInstant().epochMilliseconds;case"date":return this.value.toZonedDateTime({timeZone:e,plainTime:{hour:this.defaultValue.hour,minute:this.defaultValue.minute,second:this.defaultValue.second,millisecond:this.defaultValue.millisecond}}).toInstant().epochMilliseconds;case"time":{const t=this.value;n=`${jl.Now.plainDateISO().toString()}T${t.toString()}[${e}]`}case"yearMonth":n=`${this.value.toPlainDate({day:1}).toString()}T00:00[${e}]`;case"monthDay":{const t=this.value,r=jl.Now.plainDateISO();n=`${t.toPlainDate({year:r.year}).toString()}T00:00[${e}]`}}if(n){return jl.ZonedDateTime.from(n).toInstant().epochMilliseconds}throw new Error(`Unsupported kind '${this.kind}' in toEpochMs`)}static nowForKind(e){switch(e){case"zoned":return jl.Now.zonedDateTimeISO();case"dateTime":return jl.Now.plainDateTimeISO();case"date":return jl.Now.plainDateISO();case"time":return jl.Now.plainTimeISO();case"yearMonth":{const e=jl.Now.plainDateISO();return new jl.PlainYearMonth(e.year,e.month)}case"monthDay":{const e=jl.Now.plainDateISO();return new jl.PlainMonthDay(e.month,e.day,void 0,e.year)}default:throw new Error(`Unsupported kind '${e}' in nowForKind`)}}withValue(e){return new(0,this.constructor)(e)}static compare(e,n,t){if(!e||!n)throw new TypeError("Both arguments must be Temporal values");const r=jl.Now.timeZoneId();let o=Xu[t]?xu(Ju,e=>e[0]===Xu[t])[1]:void 0;o=o?o+"s":void 0;const i=e=>e instanceof cd,a=e=>i(e)?e.value:e,s=e=>{if(i(e))switch(e.kind){case"zoned":return e.value;case"dateTime":{const n=`${e.value.toString()}[${r}]`;return jl.ZonedDateTime.from(n)}case"date":{const n=`${e.value.toString()}T00:00[${r}]`;return jl.ZonedDateTime.from(n)}case"yearMonth":{const n=`${e.value.toPlainDate({day:1}).toString()}T00:00[${r}]`;return jl.ZonedDateTime.from(n)}default:throw new TypeError(`Cannot convert kind '${e.kind}' to ZonedDateTime for comparison`)}if(e instanceof jl.ZonedDateTime)return e;throw new TypeError("toZdt expects a bbnDt wrapper or ZonedDateTime")},m=a(e),l=a(n);if(m.constructor===l.constructor){const e=m.constructor,n=e.compare(m,l);if(void 0===o){if("function"!=typeof e.compare)throw new TypeError("This Temporal type has no static compare");return n}if("function"!=typeof m.until||"function"!=typeof m.since)throw new TypeError("This Temporal type does not support until/since");return m[1===n?"since":"until"](l,{smallestUnit:o,largestUnit:o,roundingMode:"floor"}).sign}const u=new Set(["zoned","dateTime","date","yearMonth"]);if(i(e)&&i(n)&&u.has(e.kind)&&u.has(n.kind)){const t=s(e),r=s(n),i=jl.ZonedDateTime.compare(t,r);if(void 0===o)return i;if("function"!=typeof t.until||"function"!=typeof t.since)throw new TypeError("ZonedDateTime does not support until/since");return t[1===i?"since":"until"](r,{smallestUnit:o,largestUnit:o,roundingMode:"floor"}).sign}throw new TypeError("Cannot compare different Temporal or bbnDt types")}static parse(e,n,t="auto",r){return bbn.dt(e,n,t,r)}parse(e,n,t){return cd.parse(e,n,t||this.kind)}compare(e,n){return e instanceof cd||(e=bbn.dt(e,null,this.kind)),cd.compare(this,e,n)}add(e,n){if(this.value){if(this.value instanceof jl.PlainMonthDay||"function"!=typeof this.value.add)throw new TypeError("This Temporal type does not support add/subtract");if(e instanceof md){const n=this.value.add(e.value);return new this.constructor(n)}if("object"==typeof e){const n=new md(e),t=this.value.add(n.value);return new this.constructor(t)}{if(!n)throw new Error("Unit must be specified when adding a number");const t=md.fromUnit(e,n),r=this.value.add(t.value);return new this.constructor(r)}}}subtract(e,n){if(this.value){if(this.value instanceof jl.PlainMonthDay||"function"!=typeof this.value.subtract)throw new TypeError("This Temporal type does not support add/subtract");if(e instanceof md){const n=this.value.subtract(e.value);return new this.constructor(n)}if("object"==typeof e){const n=new md(e),t=this.value.subtract(n.value);return new this.constructor(t)}{if(!n)throw new Error("Unit must be specified when adding a number");const t=md.fromUnit(e,n),r=this.value.subtract(t.value);return new this.constructor(r)}}}duration(e,n){return md.fromUnit(e,n)}isBefore(e,n){return this.compare(e,n)<0}isBeforeOrSame(e,n){return this.compare(e,n)<=0}isAfter(e,n){return this.compare(e,n)>0}isAfterOrSame(e,n){return this.compare(e,n)>=0}isSame(e,n){return 0===this.compare(e,n)}equals(e){return this.isSame(e)}toJSON(){if("toZonedDateTime"in dd(this,ld,"f")){const e=dd(this,ld,"f").toZonedDateTime(cd.systemTimeZoneId).withTimeZone("UTC");return bbn.dt(e).format("YYYY-MM-DDTHH:II:SS.SSS")+"Z"}if("zoned"===this.kind)return this.timezone("America/New_York").format("YYYY-MM-DDTHH:II:SS.SSS")+"Z"}timezone(e){switch(this.kind){case"zoned":if(void 0===e){return this.value.timeZoneId}{const n=this.value.withTimeZone(e);return bbn.dt(n)}case"dateTime":if(void 0===e){const e=`${this.value.toString()}[${cd.systemTimeZoneId}]`;return jl.ZonedDateTime.from(e).timeZoneId}{const n=`${this.value.toString()}[${e}]`,t=jl.ZonedDateTime.from(n);return bbn.dt(t)}default:throw new Error(`timezone() is not supported for kind '${this.kind}'`)}}toString(){return new Date(this.valueOf()).toString()}year(e){if(this.value){if(!("year"in this.value))throw new Error("year() is not supported for this type");if(void 0!==e&&!(e instanceof Event)){const n=this.value.with({year:e});return new this.constructor(n)}return this.value.year}}month(e){if(this.value){if(!("month"in this.value))throw new Error("month() is not supported for this type");if(void 0!==e&&!(e instanceof Event)){const n=this.value.with({month:e});return new this.constructor(n)}return this.value.month}}day(e){if(this.value){if(!("day"in this.value))throw new Error("day() is not supported for this type");if(void 0!==e&&!(e instanceof Event)){const n=this.value.with({day:e});return new this.constructor(n)}return this.value.day}}hour(e){if(this.value){if(!("hour"in this.value)){if(this.hasFullDate)return 0;throw new Error("hour() is not supported for this type")}if(void 0!==e&&!(e instanceof Event)){const n=this.value.with({hour:e});return new this.constructor(n)}return this.value.hour}}minute(e){if(this.value){if(!("minute"in this.value)){if(this.hasFullDate)return 0;throw new Error("minute() is not supported for this type")}if(void 0!==e&&!(e instanceof Event)){const n=this.value.with({minute:e});return new this.constructor(n)}return this.value.minute}}second(e){if(this.value){if(!("second"in this.value)){if(this.hasFullDate)return 0;throw new Error("second() is not supported for this type")}if(void 0!==e&&!(e instanceof Event)){const n=this.value.with({second:e});return new this.constructor(n)}return this.value.second}}millisecond(e){if(this.value){if(!("millisecond"in this.value)){if(this.hasFullDate)return 0;throw new Error("millisecond() is not supported for this type")}if(void 0!==e&&!(e instanceof Event)){const n=this.value.with({millisecond:e});return new this.constructor(n)}return this.value.millisecond}}weekday(e,n){if(this.value){if(!("dayOfWeek"in this.value))throw new Error("weekday() is not supported for this type");return void 0===e||e instanceof Event?this.value.dayOfWeek%7:this.setWeekday(e,n)}}date(e){if(this.value){if(!this.hasFullDate)throw new Error("date() is not supported for this type");return!(0 in arguments)||void 0===e||e instanceof Event?this.YYYY+"-"+this.MM+"-"+this.DD:this.parse(e,"Y-m-d")}}datetime(e){return!(0 in arguments)||void 0===e||e instanceof Event?this.YYYY+"-"+this.MM+"-"+this.DD+" "+this.HH+":"+this.II+":"+this.SS:"date"===this.kind?this.parse(this.date()+" "+e,"Y-m-d 00:00:00","dateTime"):this.parse(e,"Y-m-d H:i:s")}time(e){return!(0 in arguments)||void 0===e||e instanceof Event?this.HH+":"+this.II+":"+this.SS:"zoned"===this.kind?this.parse(this.date()+" "+e+" GMT"+this.value.timeZoneId,"Y-m-d H:i:s[ GMT]Z","dateTime"):["dateTime","date"].includes(this.kind)?this.parse(this.date()+" "+e,"Y-m-d H:i:s","dateTime"):this.parse(e,"H:i:s")}fdate(e=!1,n=!1){return this.value?bbn.dt.locales.formatters[e?"long":"numeric"].format(new Date(this.toEpochMs())):""}ftime(e=!0){return this.value?this.format("HH:II"+(e?":SS":"")):""}week(){if(!this.value)return;const e=this.year(),n=new Date(Date.UTC(e,this.month()-1,this.day())),t=new Date(Date.UTC(e,0,1)),r=Math.floor((n.getTime()-t.getTime())/864e5),o=t.getUTCDay();let i=(bbn.dt.locales.firstDayOfWeek-o+7)%7;const a=0===i?7:i;if(r<a)return 1;const s=r-a;return 2+Math.floor(s/7)}get YYYY(){if("year"in this.value)return this.year().toString()}get YY(){if("year"in this.value)return ru(this.year().toString(),2,2)}get MMMM(){if("month"in this.value)return bbn.dt.locales.monthsLong[this.month()-1]}get MMM(){if("month"in this.value)return bbn.dt.locales.monthsShort[this.month()-1]}get MM(){if("month"in this.value){const e=parseInt(this.month().toString());return e<10?"0"+e.toString():e.toString()}}get M(){if("month"in this.value)return this.month().toString()}get EE(){if("dayOfWeek"in this.value)return this.value.dayOfWeek.toString()}get DD(){if("day"in this.value){const e=parseInt(this.day().toString());return e<10?"0"+e.toString():e.toString()}}get d(){if("day"in this.value)return this.day().toString()}get dddd(){if("dayOfWeek"in this.value)return this.getWeekday(this.value.dayOfWeek,"long")}get ddd(){if("dayOfWeek"in this.value)return this.getWeekday(this.value.dayOfWeek,"short")}get D(){if("day"in this.value)return this.day().toString()}get HH(){if("hour"in this.value){const e=parseInt(this.hour().toString());return e<10?"0"+e.toString():e.toString()}if(this.hasFullDate)return this.defaultValue.hour.toString().padStart(2,"0")}get H(){return"hour"in this.value?this.hour().toString():this.hasFullDate?"0":void 0}get II(){if("minute"in this.value){const e=parseInt(this.minute().toString());return e<10?"0"+e.toString():e.toString()}if(this.hasFullDate)return this.defaultValue.minute.toString().padStart(2,"0")}get mm(){if("minute"in this.value){const e=parseInt(this.minute().toString());return e<10?"0"+e.toString():e.toString()}if(this.hasFullDate)return this.defaultValue.minute.toString().padStart(2,"0")}get I(){return"minute"in this.value?this.minute().toString():this.hasFullDate?"0":void 0}get SS(){if("second"in this.value){const e=parseInt(this.second().toString());return e<10?"0"+e.toString():e.toString()}if(this.hasFullDate)return this.defaultValue.second.toString().padStart(2,"0")}get SSS(){if("millisecond"in this.value){const e=parseInt(this.millisecond().toString());return e<10?"00"+e.toString():e<100?"0"+e.toString():e.toString()}if(this.hasFullDate)return this.defaultValue.millisecond.toString().padStart(3,"0")}get S(){return"second"in this.value?this.second().toString():this.hasFullDate?"0":void 0}get WW(){if("weekOfYear"in this.value)return this.value.weekOfYear.toString().padStart(2,"0")}get W(){if("weekOfYear"in this.value)return this.value.weekOfYear.toString()}get Z(){if("zoned"===this.kind){return this.value.offset}}get ZZ(){if("zoned"===this.kind){return this.value.offset.replace(":","")}}unix(e=!1){if("number"==typeof e){return new(0,this.constructor)(new Date(e))}return e?this.toEpochMs():Math.floor(this.toEpochMs()/1e3)}format(e="YYYY-MM-DD HH:II:SS"){let n="";if(e){const t=new RegExp("([|]|"+Object.keys(Xu).join("|")+")","g");let r=0;au(e.split(t),e=>{if("["!==e)if("]"!==e)if(r>0)n+=e;else if(e in Xu)if(e in this&&ed(this[e]))n+=this[e];else{n+=this[Qu[Xu[e]]]||""}else n+=e;else r--;else r++})}return n}calendar(e){const n=new this.constructor,t=this.startOf("day"),r=n.startOf("day"),o=t.diff(r,"day"),i={numeric:"auto"};e&&(i.style="short");const a=new Intl.RelativeTimeFormat(bbn.env.lang,i);let s="",m=[],l="";if(o>=-1&&o<=1)m=a.formatToParts(o,"day");else if(o>=-6&&o<-1)l=this.dddd+", ",m=a.formatToParts(o,"day");else{if(!(o<=6&&o>1))return this.fdate();l=this.dddd,m=[]}return bbn.fn.each(m,e=>{s+=e.value}),`${l}${s} ${this.ftime()}`}matchFormat(e,n){try{return this.parse(e,n),!0}catch(e){return!1}}getWeekday(e,n="long",t){if(!n){const n=this.getWeekday(e,"narrow",t),r=this.getWeekday(e,"short",t),o=this.getWeekday(e,"long",t);return{letter:n,abbr:r,full:o,long:o,short:r,narrow:n}}let r;if("letter"===n)r="narrow";else if("abbr"===n)r="short";else if("full"===n)r="long";else{if(!["long","short","narrow"].includes(n))throw new Error("Invalid mode for getWeekDay: "+n+'. Allowed values are "long", "short", "narrow", "letter", "abbr", "full".');r=n}return new Date(2023,0,1+e).toLocaleDateString([t||bbn.env.lang,...navigator.languages],{weekday:r})}setWeekday(e,n=!1,t){let r;if("string"==typeof e&&(e=this.getWeekdayIndex(e,t)),"number"!=typeof e)throw new TypeError("weekday must be a number (0–6) or a string");if(e<0||e>6)throw new RangeError("weekday number must be between 0 and 6");r=e;const o=this.weekday();let i;return n?(i=(o-r+7)%7,0===i&&(i=7),i=-i):(i=(r-o+7)%7,0===i&&(i=7)),this.add(i,"d")}diff(e,n="",t=!1){let r;if(e instanceof cd)r=e.toEpochMs();else if(e instanceof jl.ZonedDateTime||e instanceof jl.PlainDateTime||e instanceof jl.PlainDate||e instanceof jl.PlainTime||e instanceof jl.PlainYearMonth||e instanceof jl.PlainMonthDay){r={kind:this.kind,value:e}.toEpochMs()}else{if("string"!=typeof e&&"number"!=typeof e)throw bbn.fn.log("DATE??",e),new TypeError("Unsupported date argument for diff");r=this.parse(String(e),"").toEpochMs()}let o=this.toEpochMs()-r;if(t&&(o=Math.abs(o)),!n)return o;const i=Xu[n]||n,a=xu(Ju,e=>e[0]===i);if(!a)throw new Error("Invalid unit for diff: "+n);const[,,s]=a,m=o/s;return m<0?Math.ceil(m):Math.floor(m)}guessUnit(e){const n=Math.abs(e);for(const[e,t,r]of Ju)if(n>=r||"millisecond"===t)return e;return null}fromNow(e=""){cd.nowForKind(this.kind);const n=bbn.dt(void 0,null,this.kind),t=this.diff(n),r=Xu[e]||this.guessUnit(t);if(!r)throw new Error("Cannot guess unit for fromNow");let o=this.diff(n,r);const i=new Intl.RelativeTimeFormat([bbn.env.lang,...navigator.languages],{numeric:"auto"}),a=xu(Ju,e=>e[0]===r);if(!a)throw new Error("Invalid unit for fromNow: "+e);let[,s]=a;return"millisecond"===s&&(s="second",o=Math.round(o/1e3)),bbn.fn.log("FROM NOW",o,s,i),i.format(o,s)}from(e,n=""){const t=this.diff(e),r=Xu[n]||this.guessUnit(t);if(!r)throw new Error("Cannot guess unit for fromDate");const o=this.diff(e,r),i=r;return o>0?Yl("%d %s before",o,i):o<0?Yl("%d %s after",-o,i):Yl("The same %s",i)}startOf(e="d"){var n,t;const r=Xu[e]||e;if(!r)throw new Error("Invalid unit for startOf: "+e);let o=this.value;const i=e=>{const n={};return"hour"in e?(Object.assign(n,{hour:0,minute:0,second:0,millisecond:0,microsecond:0,nanosecond:0}),e.with(n)):e};switch(r){case"y":if(!("year"in o))throw new Error('startOf("y") only valid for year-based types');o=i(o.with({month:1,day:1}));break;case"m":if(!("month"in o))throw new Error('startOf("m") only valid for month-based types');o=i(o.with({day:1}));break;case"w":{const e="toPlainDate"in o?o.toPlainDate():o,r=e.dayOfWeek-1,a=e.subtract({days:r});o="toPlainDateTime"in o?i(a.toPlainDateTime(null!==(t=null===(n=o.toPlainTime)||void 0===n?void 0:n.call(o))&&void 0!==t?t:jl.PlainTime.from("00:00"))):a;break}case"d":o=i(o);break;case"h":o=o.with({minute:0,second:0,millisecond:0,microsecond:0,nanosecond:0});break;case"i":o=o.with({second:0,millisecond:0,microsecond:0,nanosecond:0});break;case"s":o=o.with({millisecond:0,microsecond:0,nanosecond:0});break;default:throw new Error("Invalid unit for startOf: "+e)}return this.withValue(o)}endOf(e="d"){const n=jl.Now.timeZoneId(),t=Xu[e]||e;let r,o=(()=>{switch(this.kind){case"zoned":return this.value;case"dateTime":{const e=`${this.value.toString()}[${n}]`;return jl.ZonedDateTime.from(e)}case"date":{const e=`${this.value.toString()}T00:00[${n}]`;return jl.ZonedDateTime.from(e)}case"time":{const e=this.value,t=`${jl.Now.plainDateISO().toString()}T${e.toString()}[${n}]`;return jl.ZonedDateTime.from(t)}case"yearMonth":{const e=`${this.value.toPlainDate({day:1}).toString()}T00:00[${n}]`;return jl.ZonedDateTime.from(e)}case"monthDay":{const e=this.value,t=jl.Now.plainDateISO(),r=`${e.toPlainDate({year:t.year}).toString()}T00:00[${n}]`;return jl.ZonedDateTime.from(r)}default:throw new Error("Unsupported kind in endOf")}})(this.value);switch(t){case"y":r=o.with({month:1,day:1,hour:0,minute:0,second:0,millisecond:0,microsecond:0,nanosecond:0}).add({years:1});break;case"m":r=o.with({day:1,hour:0,minute:0,second:0,millisecond:0,microsecond:0,nanosecond:0}).add({months:1});break;case"w":{const e=-(o.toPlainDate().dayOfWeek-1);r=o.add({days:e}).with({hour:0,minute:0,second:0,millisecond:0,microsecond:0,nanosecond:0}).add({weeks:1});break}case"d":r=o.with({hour:0,minute:0,second:0,millisecond:0,microsecond:0,nanosecond:0}).add({days:1});break;case"h":r=o.with({minute:0,second:0,millisecond:0,microsecond:0,nanosecond:0}).add({hours:1});break;case"i":case"n":case"min":r=o.with({second:0,millisecond:0,microsecond:0,nanosecond:0}).add({minutes:1});break;case"s":r=o.with({millisecond:0,microsecond:0,nanosecond:0}).add({seconds:1});break;default:throw new Error("Invalid unit for endOf: "+e)}const i=r.subtract({milliseconds:1});switch(this.kind){case"zoned":return this.withValue(i);case"dateTime":return this.withValue(i.toPlainDateTime());case"date":return this.withValue(i.toPlainDate());case"time":return this.withValue(i.toPlainTime());case"yearMonth":{const e=i.toPlainDate();return this.withValue(new jl.PlainYearMonth(e.year,e.month))}case"monthDay":{const e=i.toPlainDate();return this.withValue(new jl.PlainMonthDay(e.month,e.day))}default:throw new Error("Unsupported kind in endOf")}}clone(){return this.withValue(this.value)}isLeapYear(){if(this.isValid){const e=this.year();return e%4==0&&e%100!=0||e%400==0}return!1}daysInMonth(){if(this.isValid)switch(this.month()){case 2:return this.year()%4==0?29:28;case 4:case 6:case 9:case 11:return 30;default:return 31}}valueOf(){return this.unix(!0)}}ld=new WeakMap,cd.systemTimeZoneId=jl.Now.timeZoneId();class hd extends cd{constructor(e,n,t,r,o,i,a){let s;if(e)if(void 0===n)if(e instanceof jl.PlainDateTime)s=e;else if(e instanceof Date)s=new jl.PlainDateTime(e.getFullYear(),e.getMonth()+1,e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds());else{if("number"!=typeof e)throw new Error("Invalid value for bbnDtDateTime");s=jl.Instant.fromEpochMilliseconds(e).toZonedDateTimeISO(cd.systemTimeZoneId).toPlainDateTime()}else s=new jl.PlainDateTime(e,n,t||1,r||0,o||0,i||0,a||0);else s=jl.PlainDateTime.from(jl.Now.plainDateTimeISO());super(s),this.kind="dateTime"}format(e){return[!0,"long","full"].includes(e)&&(e=xu(bbn.dt.locales.date,{year:"numeric",month:"long",day:"long",weekday:"long",hour:"2-digit",minute:"2-digit",second:void 0}).pattern),e||(e=xu(bbn.dt.locales.date,{year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"2-digit",second:void 0}).pattern),cd.prototype.format.call(this,e)}fdate(e=!1,n=!1,t=!1){if(!this.value)return"";const r=new Date(this.year(),this.month()-1,this.day(),this.hour(),this.minute(),this.second()),o=Object.assign(Object.assign({year:"numeric",month:e?"long":"2-digit",day:"2-digit"},t?{weekday:e?"long":"short"}:{}),n?{hour:e?"2-digit":"numeric",minute:"2-digit"}:{});return new Intl.DateTimeFormat([bbn.env.lang,...navigator.languages],o).format(r)}ftime(e=!1){if(!this.value)return"";const n=new Date(2e3,1,1,this.hour(),this.minute(),this.second()),t={hour:"2-digit",minute:"2-digit"};e&&(t.second="2-digit");return new Intl.DateTimeFormat([bbn.env.lang,...navigator.languages],t).format(n)}}class fd extends cd{constructor(e,n,t){let r;if(e)if(void 0===n)if(e instanceof jl.PlainDate)r=e;else if(e instanceof Date)r=new jl.PlainDate(e.getFullYear(),e.getMonth()+1,e.getDate());else{if("number"!=typeof e)throw new Error("Invalid value for bbnDtDateTime");{const n=new Date(e);r=new jl.PlainDate(n.getFullYear(),n.getMonth()+1,n.getDate())}}else r=new jl.PlainDate(e,n,t||1);else r=jl.PlainDate.from(jl.Now.plainDateISO());super(r),this.kind="date"}compareSameKind(e){const n=jl.PlainDate.compare(this.value,e.value);return n<0?-1:n>0?1:0}format(e){return!0===e&&(e=xu(bbn.dt.locales.date,{year:"numeric",month:"long",day:"long",weekday:"long"}).pattern),e||(e=xu(bbn.dt.locales.date,{year:"numeric",month:"numeric",day:"numeric"}).pattern),cd.prototype.format.call(this,e)}ftime(e=!1){return"00:00"+(e?":00":"")}fdate(e=!1,n=!1){const t=new Date(this.year(),this.month()-1,this.day()),r=Object.assign({year:"numeric",month:e?"long":"numeric",day:"numeric"},n?{weekday:e?"long":"short"}:{});return new Intl.DateTimeFormat([bbn.env.lang,...navigator.languages],r).format(t)}}class Md extends cd{constructor(e,n,t,r,o,i,a,s){let m;if(e)if(void 0===n)if(e instanceof jl.ZonedDateTime)m=e;else if(e instanceof Date)m=function(e,n=!1,t=jl.Now.timeZoneId()){const r=jl.Instant.fromEpochMilliseconds(e.getTime()).toZonedDateTimeISO(t);return n?r:r.toPlainDateTime()}(e,!0);else{if("number"!=typeof e)throw new Error("Invalid value for bbnDtZoned");m=jl.Instant.fromEpochMilliseconds(e).toZonedDateTimeISO(Intl.DateTimeFormat().resolvedOptions().timeZone)}else{m=new jl.PlainDateTime(n,t,r||1,o||0,i||0,a||0,s||0).toZonedDateTime(e||jl.Now.timeZoneId())}else m=jl.Now.zonedDateTimeISO(Intl.DateTimeFormat().resolvedOptions().timeZone);super(m),this.kind="zoned"}fdate(e=!1,n=!1,t=!1){if(!this.value)return"";const r=new Date(this.year(),this.month()-1,this.day(),this.hour(),this.minute(),this.second()),o=Object.assign(Object.assign({year:"numeric",month:e?"long":"numeric",day:"numeric"},t?{weekday:e?"long":"short"}:{}),n?{hour:e?"2-digit":"numeric",minute:"2-digit"}:{});return new Intl.DateTimeFormat([bbn.env.lang,...navigator.languages],o).format(r)}ftime(e=!1){if(!this.value)return"";const n=new Date(2e3,1,1,this.hour(),this.minute(),this.second()),t={hour:"2-digit",minute:"2-digit"};e&&(t.second="2-digit");return new Intl.DateTimeFormat([bbn.env.lang,...navigator.languages],t).format(n)}}class yd extends cd{constructor(e,n){let t;if(e)if(void 0===n)if(e instanceof jl.PlainYearMonth)t=e;else if(e instanceof Date)t=new jl.PlainYearMonth(e.getFullYear(),e.getMonth()+1);else{if("number"!=typeof n)throw new Error("Invalid value for bbnDtDateTime");{const e=new Date(n);t=new jl.PlainYearMonth(e.getFullYear(),e.getMonth()+1)}}else t=new jl.PlainYearMonth(e,n);else{const e=new Date;t=new jl.PlainYearMonth(e.getFullYear(),e.getMonth()+1)}super(t),this.kind="yearMonth"}format(e){return!0===e&&(e=xu(bbn.dt.locales.date,e=>"numeric"===e.year&&"long"===e.month&&!("day"in e)).pattern),e||(e=xu(bbn.dt.locales.date,e=>"numeric"===e.year&&"numeric"===e.month&&!("day"in e)).pattern),cd.prototype.format.call(this,e)}fdate(e=!1,n=!1,t=!1){if(!this.value)return"";const r=new Date(this.year(),this.month()-1),o={year:"numeric",month:e?"long":"numeric"};return new Intl.DateTimeFormat([bbn.env.lang,...navigator.languages],o).format(r)}}class gd extends cd{constructor(e,n){let t;if(e)if(void 0===n)if(e instanceof jl.PlainMonthDay)t=e;else if(e instanceof Date)t=new jl.PlainMonthDay(e.getMonth()+1,e.getDate());else{if("number"!=typeof e)throw new Error("Invalid value for bbnDtDateTime");{const n=new Date(e);t=new jl.PlainMonthDay(n.getMonth()+1,n.getDate())}}else t=new jl.PlainMonthDay(e,n);else{const e=new Date;t=new jl.PlainMonthDay(e.getMonth()+1,e.getDate())}super(t),this.kind="monthDay"}fdate(e=!1,n=!1,t=!1){if(!this.value)return"";const r=new Date(2e3,this.month()-1,this.day()),o={month:e?"long":"numeric",day:"numeric"};return new Intl.DateTimeFormat([bbn.env.lang,...navigator.languages],o).format(r)}}function pd(e,n,t){let r="";const o=e.some(e=>"dayPeriod"===e.type),i=o||"h12"===n||"h11"===n,a=!!t.weekday,s="short"===t.month||"long"===t.month,m="numeric"===t.year&&"numeric"===t.month&&"numeric"===t.day&&!a&&!s;for(const n of e)switch(n.type){case"year":"2-digit"===t.year?r+="YY":r+="YYYY";break;case"month":if("short"===t.month){r+="MMM";break}if("long"===t.month){r+="MMMM";break}if(m){r+="M";break}/^\d+$/.test(n.value)?r+=2===n.value.length?"MM":"M":r+=n.value.length>3?"MMMM":"MMM";break;case"day":if(m){r+="D";break}r+=2===n.value.length?"DD":"D";break;case"weekday":"short"===t.weekday||"narrow"===t.weekday?r+="ddd":"long"===t.weekday?r+="dddd":r+=n.value.length>3?"dddd":"ddd";break;case"hour":r+=i?2===n.value.length?"hh":"h":2===n.value.length?"HH":"H";break;case"minute":r+="II";break;case"second":r+="SS";break;case"dayPeriod":r+="A";break;case"timeZoneName":r+="z";break;case"literal":if(!n.value)break;if(/[A-Za-zÀ-ÖØ-öø-ÿ]/.test(n.value)){r+=`[${n.value.replace(/]/g,"\\]")}]`}else r+=n.value;break;default:r+=n.value}return r}const bd=()=>{if(Object.keys(bbn.dt.locales).length)return;const e=[bbn.env.lang,...navigator.languages],n=new Intl.DateTimeFormat(e,{month:"long"}),t=new Intl.DateTimeFormat(e,{month:"short"}),r=new Intl.DateTimeFormat(e,{weekday:"long"}),o=new Intl.DateTimeFormat(e,{weekday:"short"}),i=new Intl.DateTimeFormat(e,{dateStyle:"short",timeStyle:"short"}),a=new Intl.DateTimeFormat(e,{dateStyle:"long",timeStyle:"long"}),s=new Intl.DateTimeFormat(e,{year:"numeric",month:"numeric",day:"numeric"}),m=new Intl.RelativeTimeFormat(e,{numeric:"auto"}),l=new Intl.Locale(e[0]),u=[],d=[];for(let e=0;e<12;e++){const r=new Date(2020,e,1);u.push(n.format(r)),d.push(t.format(r))}const c=new Date(2020,1,2),h=[],f=[];for(let e=0;e<7;e++){const n=new Date(c.getTime()+864e5*e);h.push(r.format(n)),f.push(o.format(n))}const{date:M,time:y,datetime:g}=(e=>{e||(e=[bbn.env.lang,...navigator.languages]);const n=new Date(Date.UTC(2e3,0,2,13,45,30)),t=[],r=[],o=[],i=new Set,a=new Set,s=new Set,m=[{year:"numeric",month:"2-digit",day:"2-digit"},{year:"numeric",month:"numeric",day:"numeric"},{year:"numeric",month:"short",day:"numeric"},{year:"numeric",month:"long",day:"numeric"},{weekday:"short",year:"numeric",month:"short",day:"numeric"},{weekday:"long",year:"numeric",month:"long",day:"numeric"},{year:"numeric",month:"numeric"},{year:"numeric",month:"2-digit"},{year:"numeric",month:"short"},{year:"numeric",month:"long"},{month:"numeric",day:"numeric"},{month:"2-digit",day:"2-digit"},{month:"short",day:"numeric"},{month:"long",day:"numeric"}],l=[];for(const r of m){const o=new Intl.DateTimeFormat(e,r),a=pd(o.formatToParts(n),o.resolvedOptions().hourCycle,r);i.has(a)||(i.add(a),t.push({pattern:a,sample:o.format(n),options:r})),r.year&&r.month&&r.day&&l.push(r)}const u=[{hour:"numeric"},{hour:"2-digit",minute:"2-digit"},{hour:"2-digit",minute:"2-digit",second:"2-digit"},{hour:"2-digit",minute:"2-digit",timeZoneName:"short"},{hour:"2-digit",minute:"2-digit",second:"2-digit",timeZoneName:"short"},{hour:"2-digit",minute:"2-digit",timeZoneName:"long"}];for(const t of u){const o=new Intl.DateTimeFormat(e,t),i=pd(o.formatToParts(n),o.resolvedOptions().hourCycle,t);a.has(i)||(a.add(i),r.push({pattern:i,sample:o.format(n),options:t}))}for(const t of l)for(const r of u){const i=Object.assign(Object.assign({},t),r),a=new Intl.DateTimeFormat(e,i),m=pd(a.formatToParts(n),a.resolvedOptions().hourCycle,i);s.has(m)||(s.add(m),o.push({pattern:m,sample:a.format(n),options:i}))}return{date:t,time:r,datetime:o}})(e),p=l.getWeekInfo?l.getWeekInfo():{firstDay:1};lu(bbn.dt.locales,{formatters:{short:i,long:a,numeric:s,relative:m},firstDayOfWeek:p.firstDay,monthsLong:u,monthsShort:d,weekdaysLong:h,weekdaysShort:f,locale:l,date:M,time:y,datetime:g})};class wd extends cd{constructor(e,n,t,r){let o;if(e)if(void 0===e)if(e instanceof jl.PlainTime)o=e;else if(e instanceof Date)o=new jl.PlainTime(e.getHours(),e.getMinutes(),e.getSeconds(),1e6*e.getMilliseconds());else{if("number"!=typeof e)throw new Error("Invalid value for bbnDtDateTime");if(void 0!==n)o=new jl.PlainTime(e,n,t||0,r||0);else{const n=new Date(e);o=new jl.PlainTime(n.getHours(),n.getMinutes(),n.getSeconds(),1e6*n.getMilliseconds())}}else o=new jl.PlainTime(e,n||0,t||0,r||0);else{const e=new Date;o=new jl.PlainTime(e.getHours(),e.getMinutes(),e.getSeconds(),1e6*e.getMilliseconds())}super(o),this.kind="time"}ftime(e=!1){if(!this.value)return"";const n=new Date(2e3,1,1,this.hour(),this.minute(),this.second()),t={hour:"2-digit",minute:"2-digit"};e&&(t.second="2-digit");return new Intl.DateTimeFormat([bbn.env.lang,...navigator.languages],t).format(n)}}const vd=function(e,n){try{return n?e.toLocaleLowerCase(n):e.toLowerCase()}catch(n){return e.toLowerCase()}};function Ed(e,n,t="auto",r,o){var i,a,s,m,l,u,d;bd();const c=jl;if(!c)throw new Error("Temporal API is required (load @js-temporal/polyfill)");let h=!0;o||(o=(null===(i=null===bbn||void 0===bbn?void 0:bbn.dt)||void 0===i?void 0:i.locales)||{});const f={monthsLong:null!==(a=null==o?void 0:o.monthsLong)&&void 0!==a?a:bbn.dt.locales.monthsLong,monthsShort:null!==(s=null==o?void 0:o.monthsShort)&&void 0!==s?s:bbn.dt.locales.monthsShort,weekdaysLong:null!==(m=null==o?void 0:o.weekdaysLong)&&void 0!==m?m:bbn.dt.locales.weekdaysLong,weekdaysShort:null!==(l=null==o?void 0:o.weekdaysShort)&&void 0!==l?l:bbn.dt.locales.weekdaysShort},M=(null===bbn||void 0===bbn?void 0:bbn.env)&&(null===(u=bbn.env)||void 0===u?void 0:u.lang)||(null===bbn||void 0===bbn?void 0:bbn.dt)&&(null===(d=bbn.dt)||void 0===d?void 0:d.locale)||Intl.DateTimeFormat().resolvedOptions().locale,y=e=>e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");function g(n,t="auto"){var o;const i=new hd,a={year:i.year(),month:1,day:1,hour:0,minute:0,second:0,ms:0,hasYear:!1,hasMonth:!1,hasDay:!1,hasHour:!1,hasMinute:!1,hasSecond:!1,hasMs:!1},s="auto"===t,m="zoned"===t.toLowerCase(),l="datetime"===t.toLowerCase(),u="date"===t.toLowerCase(),d="time"===t.toLowerCase(),g="yearmonth"===t.toLowerCase(),p="monthday"===t.toLowerCase(),b=[{token:"YYYY",regex:"\\d{4}",apply:(e,n)=>{n.year=parseInt(e,10),n.hasYear=!0}},{token:"YY",regex:"\\d{2}",apply:(e,n)=>{const t=parseInt(e,10);n.year=t>=70?1900+t:2e3+t,n.hasYear=!0}},{token:"Y",regex:"[+-]?\\d{1,6}",apply:(e,n)=>{n.year=parseInt(e,10),n.hasYear=!0}},{token:"MMMM",regex:"[^\\d\\s]+",apply:(e,n)=>{const t=vd(e,M),r=f.monthsLong.findIndex(e=>vd(e,M)===t);if(-1===r)throw new Error("Invalid month name: "+e);n.month=r+1,n.hasMonth=!0}},{token:"MMM",regex:"[^\\d\\s]+",apply:(e,n)=>{const t=vd(e,M),r=f.monthsShort.findIndex(e=>vd(e,M)===t);if(-1===r)throw new Error("Invalid short month name: "+e);n.month=r+1,n.hasMonth=!0}},{token:"MM",regex:"\\d{2}",apply:(e,n)=>{const t=parseInt(e,10);if(t<1||t>12)throw new Error("Invalid month: "+t);n.month=t,n.hasMonth=!0}},{token:"mm",regex:"\\d{2}",apply:(e,n)=>{const t=parseInt(e,10);if(t<0||t>59)throw new Error("Invalid minute: "+t);n.minute=t,n.hasMinute=!0}},{token:"M",regex:"\\d{1,2}",apply:(e,n)=>{const t=parseInt(e,10);if(t<1||t>12)throw new Error("Invalid month: "+t);n.month=t,n.hasMonth=!0}},{token:"m",regex:"\\d{2}",apply:(e,n)=>{const t=parseInt(e,10);if(t<1||t>12)throw new Error("Invalid month: "+t);n.month=t,n.hasMonth=!0}},{token:"DD",regex:"\\d{2}",apply:(e,n)=>{const t=parseInt(e,10);if(t<1||t>31)throw new Error("Invalid day of month: "+t);n.day=t,n.hasDay=!0}},{token:"D",regex:"\\d{1,2}",apply:(e,n)=>{const t=parseInt(e,10);if(t<1||t>31)throw new Error("Invalid day of month: "+t);n.day=t,n.hasDay=!0}},{token:"d",regex:"\\d{2}",apply:(e,n)=>{const t=parseInt(e,10);if(t<1||t>31)throw new Error("Invalid day of month: "+t);n.day=t,n.hasDay=!0}},{token:"dddd",regex:"[^\\d\\s]+",apply:(e,n)=>{const t=vd(e,M),r=f.weekdaysLong.findIndex(e=>vd(e,M)===t);if(-1===r)throw new Error("Invalid weekday name: "+e);n.weekday=r}},{token:"ddd",regex:"[^\\d\\s]+",apply:(e,n)=>{const t=vd(e,M),r=f.weekdaysShort.findIndex(e=>vd(e,M)===t);if(-1===r)throw new Error("Invalid short weekday name: "+e);n.weekday=r}},{token:"EE",regex:"\\d{1}",apply:(e,n)=>{const t=parseInt(e,10);if(t<0||t>7)throw new Error("Invalid weekday number: "+t);n.weekday=t}},{token:"hh",regex:"\\d{2}",apply:(e,n)=>{const t=parseInt(e,10);if(t<1||t>12)throw new Error("Invalid 12-hour clock hour: "+t);n.hour=t,n.hasHour=!0,n.uses12Hour=!0}},{token:"HH",regex:"\\d{2}",apply:(e,n)=>{const t=parseInt(e,10);if(t<0||t>23)throw new Error("Invalid hour: "+t);n.hour=t,n.hasHour=!0}},{token:"H",regex:"\\d{1,2}",apply:(e,n)=>{const t=parseInt(e,10);if(t<0||t>23)throw new Error("Invalid hour: "+t);n.hour=t,n.hasHour=!0}},{token:"h",regex:"\\d{2}",apply:(e,n)=>{const t=parseInt(e,10);if(t<0||t>23)throw new Error("Invalid hour: "+t);n.hour=t,n.hasHour=!0}},{token:"II",regex:"\\d{2}",apply:(e,n)=>{const t=parseInt(e,10);if(t<0||t>59)throw new Error("Invalid minute: "+t);n.minute=t,n.hasMinute=!0}},{token:"I",regex:"\\d{1,2}",apply:(e,n)=>{const t=parseInt(e,10);if(t<0||t>59)throw new Error("Invalid minute: "+t);n.minute=t,n.hasMinute=!0}},{token:"i",regex:"\\d{2}",apply:(e,n)=>{const t=parseInt(e,10);if(t<0||t>59)throw new Error("Invalid minute: "+t);n.minute=t,n.hasMinute=!0}},{token:"SS",regex:"\\d{2}",apply:(e,n)=>{const t=parseInt(e,10);if(t<0||t>59)throw new Error("Invalid second: "+t);n.second=t,n.hasSecond=!0}},{token:"S",regex:"\\d{1,2}",apply:(e,n)=>{const t=parseInt(e,10);if(t<0||t>59)throw new Error("Invalid second: "+t);n.second=t,n.hasSecond=!0}},{token:"ss",regex:"\\d{2}",apply:(e,n)=>{const t=parseInt(e,10);if(t<0||t>59)throw new Error("Invalid second: "+t);n.second=t,n.hasSecond=!0}},{token:"s",regex:"\\d{2}",apply:(e,n)=>{const t=parseInt(e,10);if(t<0||t>59)throw new Error("Invalid second: "+t);n.second=t,n.hasSecond=!0}},{token:"ms",regex:"\\d{1,3}",apply:(e,n)=>{const t=parseInt(e,10);if(t<0||t>999)throw new Error("Invalid millisecond: "+t);n.ms=t,n.hasMs=!0}},{token:"WWWW",regex:"\\d{1,2}",apply:(e,n)=>{const t=parseInt(e,10);if(t<1||t>53)throw new Error("Invalid week number: "+t);n.week=t}},{token:"WWW",regex:"\\d{1,2}",apply:(e,n)=>{const t=parseInt(e,10);if(t<1||t>53)throw new Error("Invalid week number: "+t);n.week=t}},{token:"WW",regex:"\\d{1,2}",apply:(e,n)=>{const t=parseInt(e,10);if(t<1||t>53)throw new Error("Invalid week number: "+t);n.week=t}},{token:"W",regex:"\\d{1,2}",apply:(e,n)=>{const t=parseInt(e,10);if(t<1||t>53)throw new Error("Invalid week number: "+t);n.week=t}},{token:"ZZ",regex:"(?:Z?[+-]\\d{2}\\d{2})",apply:(e,n)=>{if("Z"===e||"z"===e)return void(n.offsetMinutes=0);const t="-"===e[0]?-1:1,r=e.slice(1),o=parseInt(r.slice(0,2),10),i=parseInt(r.slice(2),10);if(o<0||o>23||i<0||i>59)throw new Error("Invalid timezone offset: "+e);n.offsetMinutes=t*(60*o+i)}},{token:"Z",regex:"(?:Z?[+-]\\d{2}\\:{1}\\d{2})",apply:(e,n)=>{if("Z"===e||"z"===e)return void(n.offsetMinutes=0);const t="-"===e[0]?-1:1,r=e.slice(1),[o,i]=r.split(":");let a=parseInt(o,10),s=parseInt(i,10);if(a<0||a>23||s<0||s>59)throw new Error("Invalid timezone offset: "+e);n.offsetMinutes=t*(60*a+s)}},{token:"z",regex:"[A-Za-z_\\/]+",apply:(e,n)=>{n.timeZone=e}},{token:"A",regex:"(?:AM|PM|am|pm)",apply:(e,n)=>{n.isPM=/pm/i.test(e),n.hasAmPm=!0}},{token:"a",regex:"(?:AM|PM|am|pm)",apply:(e,n)=>{n.isPM=/pm/i.test(e),n.hasAmPm=!0}}],w=[...b].sort((e,n)=>n.token.length-e.token.length);let v="";const E=[];let T=0,S=0;for(;T<n.length;){if("["===n[T]){let e=T+1,t="";for(;e<n.length&&"]"!==n[e];)t+=n[e],e++;if(e<n.length&&"]"===n[e]){const n=t.replace(/\\]/g,"]");v+=y(n),T=e+1;continue}}let e=null;for(const t of w)if(n.startsWith(t.token,T)){e=t;break}e?(v+=`(${e.regex})`,S=v.length,e.apply?E.push(n=>e.apply(n,a)):E.push(()=>{}),T+=e.token.length):(v+=y(n[T]),T+=1)}const D=new RegExp("^"+bbn.fn.substr(v,0,S));let z=D.exec(e);if(!z){if(!r)throw new Error(`Date string "${e}" does not match format "${n}"`);{const t=new hd(i.year(),1,1,0,0,0,0);e=t.format(n),h=!1,z=D.exec(e)}}for(let e=1;e<z.length;e++){const n=z[e],t=E[e-1];null!=n&&t&&t(n)}if(a.uses12Hour){if(!a.hasAmPm)throw new Error("AM/PM marker (A or a) is required with 12-hour format (hh)");let e=a.hour;a.isPM?e<12&&(e+=12):12===e&&(e=0),a.hour=e}const A=a.hasYear||a.hasMonth||a.hasDay,H=a.hasYear&&a.hasMonth&&a.hasDay,k=a.hasYear&&a.hasMonth&&!a.hasDay,I=!a.hasYear&&a.hasMonth&&a.hasDay,_=a.hasHour||a.hasMinute||a.hasSecond||a.hasMs,C=null!=a.timeZone||null!=a.offsetMinutes;let P;if(m||C&&s){let e;try{e=new c.PlainDateTime(a.year,a.month,a.day,a.hour,a.minute,a.second,1e6*a.ms)}catch(e){throw new Error("Invalid date/time components")}if(a.timeZone){const n=c.TimeZone.from(a.timeZone),t=e.toZonedDateTime(n);P=new Md(t)}else{const e=Date.UTC(a.year,a.month-1,a.day,a.hour,a.minute,a.second,a.ms)-6e4*(null!==(o=a.offsetMinutes)&&void 0!==o?o:0);P=new Md(c.Instant.fromEpochMilliseconds(e).toZonedDateTimeISO(c.Now.timeZoneId()))}}else if(l||s&&(h||A&&_)){if(!H&&!h)throw new Error("PlainDateTime requires year, month and day");const e=new c.PlainDateTime(a.year,a.month,a.day,a.hour,a.minute,a.second,1e6*a.ms);P=new hd(e)}else if(u||g||p||s&&A&&!_)if(u||H&&s){const e=new c.PlainDate(a.year,a.month,a.day);P=new fd(e)}else if(g||k&&s){const e=new c.PlainYearMonth(a.year,a.month);P=new yd(e)}else if(p||I&&s){const e=new c.PlainMonthDay(a.month,a.day,1972);P=new gd(e)}else{if(!s||!a.hasYear)throw new Error("Not enough date components for a known Temporal type");{const e=new c.PlainDate(a.year,1,1);P=new fd(e)}}else{if(!(d||s&&!A&&_))throw new Error("No date or time information found in input");{const e=new c.PlainTime(a.hour,a.minute,a.second,1e6*a.ms);P=new wd(e)}}return P.setValid(h),P}if(Array.isArray(n)){let e=null;for(const r of n)try{return g(r,t)}catch(n){e=n}throw null!=e?e:new Error("No format matched")}return g(n,t)}const Td=["YYYY-MM-DD HH:II:SS.ms","YYYY-MM-DD HH:II:SS","YYYY-MM-DD HH:II:SS[ GMT]Z","YYYY-MM-DD HH:II","YYYY-MM-DDTHH:II:SS.msZ","YYYY-MM-DDTHH:II:SSZ","YYYY-MM-DDTHH:II:SS","YYYY-MM-DDTHH:II","ddd[, ]DD MMM YYYY HH:II:SS[ GMT]","ddd MMM DD YYYY HH:II:SS[ GMT]Z","ddd MMM DD YYYY HH:II:SS","D MMM","D MMMM","D/M","YYYY-MM-DD","YYYY-MM","HH:II:SS","HH:II"];function Sd(e,n,t){const r=e.trim();if(!r)return null;bd();const o=e=>{for(const n of e)try{return Ed(r,n),n}catch(e){}return null};if(n){return o(Array.isArray(n)?n:[n])}const i=new Set,a=Td.filter(e=>!i.has(e)&&(i.add(e),!0)),s=[...bbn.dt.locales.datetime.map(e=>e.pattern),...bbn.dt.locales.date.map(e=>e.pattern),...bbn.dt.locales.time.map(e=>e.pattern)].filter(e=>!i.has(e)&&(i.add(e),!0)),m=o([...a,...s]);return m||null}const Dd=(e,n=null,t="auto")=>{if(void 0===e)return new hd;if(!e){const e=new hd;return e.setValid(!1),e}if("string"==typeof e){if(n)return Ed(e,n,t,!0);{const n=Sd(e);if(n)return Ed(e,n,t);throw new Error(Yl("Could not guess the date format for value: %s",e))}}if("number"==typeof e)return new hd(Math.floor(Math.abs(e)<99999999999?1e3*e:e));if(e.__isBbnDt)return e;if(e instanceof Date){const n=e;return new hd(n.getFullYear(),n.getMonth()+1,n.getDate(),n.getHours(),n.getMinutes(),n.getSeconds(),n.getMilliseconds())}if(e instanceof jl.PlainDateTime)return new hd(e);if(e instanceof jl.PlainDate)return new fd(e);if(e instanceof jl.PlainTime)return new Md(e);if(e instanceof jl.PlainYearMonth)return new yd(e);if(e instanceof jl.PlainMonthDay)return new gd(e);if(e instanceof jl.ZonedDateTime)return new Md(e);if(e instanceof jl.Duration)return new md(e);throw bbn.fn.log("Invalid date value",e),new Error(Yl("Invalid date value"))};function zd(e){if(arguments.length>1){const e=[];for(let n=1;n<arguments.length;n++)e.push(arguments[n]);e.unshift({_bbn_console_mode:"error",_bbn_console_level:1,_bbn_console_style:"color: #E64141; background: #F7E195; font-size: 14px"}),tu.apply(this,e)}throw new Error(e)}function Ad(e,n=null,t=null,r=null,o=null){let i=!1;if(n){i=!0;let a,s="object"===(typeof n).toLowerCase();if(s&&n.prescript)try{new Function(n.prescript)()}catch(e){zd(e.message||"")}if(s&&void 0===n.url&&(n.url=e),i=t&&nu(t)?t(n,o):bbn.fn.defaultLinkFunction(n,o),o&&s&&void 0!==n.content&&("value"in o?o.value=n.content:o.innerHTML=n.content),i&&s&&n.script&&(i="function"==typeof n.script?n.script(n.data?n.data:{},o||null):((e,t)=>{let r=null;try{r=new Function(n.script)(),nu(r)&&(r=r(e,t))}catch(e){tu(e,n),zd(nu(e.getMessage)?e.getMessage():null)}return r})(n.data?n.data:{},o||!1)),i&&r&&nu(r)?r(n):s&&bbn.fn.defaultPostLinkFunction&&bbn.fn.defaultPostLinkFunction(n,o),i&&s&&n.postscript){new Function(n.postscript)(n.postscript)}s&&n.error&&(a=n.errorTitle||bbn.lng.server_response,bbn.fn.defaultErrorFunction(n.error,a))}else bbn.fn.defaultErrorFunction(bbn.lng.errorText,bbn.lng.error);return i}function Hd(e,n,t=!1){let r={error:!1,result:!0};if("string"==typeof n&&(n=[n]),mu(n)||(r.error=bbn._("checkProps must receive a string or an array as props argument")),su(e)||(r.error=bbn._("checkProps must receive an object as obj argument")),!r.error){let o;au(n,n=>{let i=(n=n.trim().split(":"))[1]||!1;if(n=n[0],void 0===e[n]?r.error=n+" "+bbn._("is not defined"):i?(o="is"+ru(i,0,1).toUpperCase()+ru(i,1).toLowerCase(),void 0===bbn.fn[o]?r.error=i+" "+bbn._("is not a valid type"):bbn.fn[o](e[n])||(r.error=n+" "+bbn._("is not a")+" "+i)):t&&!e[n]&&(r.error=n+" "+bbn._("is empty")),r.error)return!1})}return r.error&&(r.result=!1),r}function kd(e){return e.replace(/[A-z]{1}/,e=>e.toUpperCase())}function Id(e,n,t,...r){let o=!1;mu(n)||(n=[n]);const i=[];if(au(n,n=>{var t;if(n===String?n="string":n===Number?n="number":n===Array?n="array":n===Boolean?n="boolean":n===Object?n="object":n===Function&&(n="function"),nu(n)){if(i.push(n.name||(null===(t=n.constructor)||void 0===t?void 0:t.name)||n.toString()),e instanceof n)return o=!0,!1}else if(Ql(n)&&nu(bbn.fn["is"+kd(n)])){if(bbn.fn["is"+kd(n)](e))return o=!0,!1;i.push(n)}else zd(`The type ${n} is not recognized`)}),!o)throw tu(["Value given",e,"type",typeof e,"expected",i.join(" or ")]),r.length&&tu(r),new Error((t?t+" - ":"")+bbn._("The value should be a %s",i.join(" "+bbn._("or a")+" ")))}function _d(e){if(mu(e))return e.slice().map(e=>"object"==typeof e?_d(e):e);if(su(e)){return lu(!0,Object.create(Object.getPrototypeOf(e)),e)}return e}Dd.locales=Object.create(null),Dd.parse=Ed,Dd.guessFormat=Sd,Dd.time=()=>{},Dd.date=()=>{},Dd.dateTime=()=>{},Dd.duration=(e,n)=>e instanceof jl.Duration?new md(e):md.fromUnit(e,n),Dd.zoned=()=>{},Dd.monthDay=()=>{},Dd.yearMonth=()=>{};const Cd=(e,n="text/plain")=>{const t=new DataTransfer;t.setData(n,e);const r=new ClipboardEvent("copy",{bubbles:!0,cancelable:!0,clipboardData:t});document.dispatchEvent(r)};function Pd(e,n,t=null,r="="){if(!mu(e))throw bbn.fn.log("NOT ARRAY",e),new Error("Error in filter: The first argument must be an array");let o={};const i=[],a="function"==typeof n;if(!n||!e.length)return e;if("object"==typeof n)r=t,o=n;else if("string"==typeof n)o[n]=t;else if(!a)throw new Error("Search function error: The prop argument should be a string or an object");if("function"==typeof n)for(let t=0;t<e.length;t++)n(e[t],t)&&i.push(e[t]);else if(o=Ou(o,r),o.conditions&&o.logic)for(let n=0;n<e.length;n++)Gu(e[n],o)&&i.push(e[n]);return i}const Gd=[];for(let e=0;e<256;e++){let n=e;for(let e=0;e<8;e++)n=1&n?3988292384^n>>>1:n>>>1;Gd.push(n)}function Od(...e){const n=Object.create(null);return e.length&&lu(n,...e),n}function Bd(e){let n=typeof e;if(void 0===e)return new Date;if("number"===n||Jl(e)&&""!==e)return e<1e10&&(e*=1e3),new Date(e);if("string"===n){if(10===e.length)return new Date(parseInt(ru(e,0,4)),parseInt(ru(e,5,2))-1,parseInt(ru(e,8,2)),12);if(19===e.length)return new Date(parseInt(ru(e,0,4)),parseInt(ru(e,5,2))-1,parseInt(ru(e,8,2)),parseInt(ru(e,11,2)),parseInt(ru(e,14,2)),parseInt(ru(e,17,2)))}else if(gu(e))return e;return!1}function xd(e,n=""){tu(e)}function Nd(e,n=null,t=null){tu(n,t)}function Ld(e,n,t=null,r=null){return!0}function jd(...e){if(!e.length)return!1;for(let n of e)if("object"==typeof n&&!vu(n))return!1;return!0}let Rd=[];function Fd(e){if(Ql(e)&&e){for(;"/"===ru(e,e.length-1);)e=ru(e,0,e.length-1);let n=e.lastIndexOf("/");if(n>0)return ru(e,0,n);if(0===n)return"/"}return""}function Yd(...e){if(!e.length)return!1;for(let n of e)if("[object Blob]"!=={}.toString.apply(n))return!1;return!0}function Zd(e){if(e&&Ql(e)){let n=e.split(".");if(n[0]&&n.length>1)return n[n.length-1].toLowerCase()}return""}function Wd(...e){if(!e.length)return!1;for(let n of e)if(!(n instanceof HTMLCanvasElement))return!1;return!0}function Ud(e,n,t=null){if(Wd(n))return void n.toBlob(n=>{let t=document.createElement("a");t.download=e,t.href=window.URL.createObjectURL(n),t.className="bbn-no",t.click(),window.URL.revokeObjectURL(t.href)},t||"image/png");t?-1===t.indexOf("/")&&(t="text/"+t):t=su(n)&&n.type?n.type:"octet/stream";let r=window.document.createElement("a");r.className="bbn-no";let o=null;if(Ql(n))o=new Blob([n],{type:t});else try{o=n}catch(e){tu(e)}r.href=window.URL.createObjectURL(o),r.download=e,document.body.appendChild(r),r.click(),window.URL.revokeObjectURL(r.href),document.body.removeChild(r)}var qd=function(e,n,t,r){return new(t||(t=Promise))(function(o,i){function a(e){try{m(r.next(e))}catch(e){i(e)}}function s(e){try{m(r.throw(e))}catch(e){i(e)}}function m(e){var n;e.done?o(e.value):(n=e.value,n instanceof t?n:new t(function(e){e(n)})).then(a,s)}m((r=r.apply(e,n||[])).next())})};function $d(){return qd(this,void 0,void 0,function*(){var e;(null===(e=window.scheduler)||void 0===e?void 0:e.yield)?yield window.scheduler.yield():yield new Promise(requestAnimationFrame)})}var Vd=function(e,n,t,r){return new(t||(t=Promise))(function(o,i){function a(e){try{m(r.next(e))}catch(e){i(e)}}function s(e){try{m(r.throw(e))}catch(e){i(e)}}function m(e){var n;e.done?o(e.value):(n=e.value,n instanceof t?n:new t(function(e){e(n)})).then(a,s)}m((r=r.apply(e,n||[])).next())})};function Kd(e){let n;return"checkbox"===e.type?e.checked?(n=e.value,n||(n=1)):n=0:"radio"===e.type?e.checked&&(n=e.value):n=e.value,n}function Jd(e){let n,t,r=e.querySelectorAll("input[name],select[name],textarea[name],button[name]"),o={};return au(r,(e,r)=>{if(t=Kd(e),void 0!==t&&!e.disabled){let r=e.name;if(-1===r.indexOf("[]")&&r.indexOf("[")>-1&&r.indexOf("]")>-1&&r.lastIndexOf("]")===r.length-1&&(r=Wu("][",".",r),r=Wu("[",".",r),r=Wu("]","",r)),r.length>2&&r.indexOf("[]")===r.length-2)n=ru(r,0,r.length-2),void 0===o[n]&&(o[n]=[]),o[n].push(t);else if(r.indexOf(".")>-1){let e,n=r.split(".");e=o;for(let r=0;r<n.length;r++)void 0===o[n[r]]&&(r<n.length-1?e[n[r]]={}:e[n[r]]=t),e=e[n[r]]}else o[r]=t}}),o}function Xd(e){return e.filter((e,n,t)=>n===t.indexOf(e))}function Qd(e,n=null){let t=[];if("string"==typeof e&&(e=document.querySelector(e)),e instanceof HTMLElement&&e.parentElement)if("string"==typeof n)for(;e=e.parentElement.closest(n);)t.push(e);else for(!0===n&&t.push(e);e=e.parentElement;)t.push(e);return t}function ec(e){0!==e.indexOf("--")&&(e="--"+e);let n=getComputedStyle(document.documentElement).getPropertyValue(e);return"string"==typeof n&&(n=n.trim()),n}function nc(){const e=navigator.userAgent.toLowerCase();return/iPhone|Android/i.test(navigator.userAgent)?"mobile":/(ipad|tablet|(android(?!.*mobile))|(windows(?!.*phone)(.*touch))|kindle|playbook|silk|(puffin(?!.*(IP|AP|WP))))/.test(e)?"tablet":"desktop"}function tc(){let e,n=window.getSelection();if(n.rangeCount>0){e=n.getRangeAt(0),tu("RANGE",e);let t=e.cloneContents();tu("clonedSelection",t);let r=document.createElement("div");return r.appendChild(t),r.innerHTML}return""}function rc(e){return Ql(e)?e.replace(/<!--[\s\S]*?-->/g,""):e}function oc(e){let n=document.createElement("div");return n.innerHTML=e,e=n.innerText}function ic(e){let n=document.createElement("canvas");return n.width=e.width,n.height=e.height,n.getContext("2d").drawImage(e,0,0),n}function ac(e){let n,t={};if(su(e[0])&&1===e.length)return e[0];for(let r=0;r<e.length;r++)n=typeof e[r],n=n.toLowerCase(),nu(e[r])?(t.errorFn&&!t.abortFn&&(t.abortFn=e[r]),t.successFn&&!t.errorFn?t.errorFn=e[r]:t.successFn||(t.successFn=e[r])):1===e[r]||!0===e[r]?t.force=!0:"string"===n?t.url?t.datatype=e[r]:(t.url=e[r],0===t.url.indexOf(bbn.env.root)&&(t.url=ru(t.url,bbn.env.root.length))):e[r]&&"object"===n&&(e[r]instanceof Event?t.e=e[r]:t.ele||1!==e[r].nodeType?"object"===n.toLowerCase()&&(t.obj=e[r]):t.ele=e[r]);return!t.url&&bu(t)&&(t.url=bbn.env.path),void 0===t.obj&&(t.obj={_bbn:"public"}),t.datatype||(t.datatype="json"),t}function sc(e,n,t=null,r=!1){bbn.env.old_path=bbn.env.path,bbn.env.url=["https:/","http://"].includes(ru(e,0,7))?e:bbn.env.root+e,bbn.env.path=ru(bbn.env.url,bbn.env.root.length),bbn.env.params=bbn.env.path.split("/").filter(e=>""!==e);let o=window.history;if(o){let e=o.state,i={url:bbn.env.path,old_path:bbn.env.old_path||null,data:t||{},reload:!1};e&&e.url===bbn.env.path&&(e.data&&lu(i.data,e.data),e.title&&!n&&(n=e.title),r=!0),n=n?oc(n):bbn.env.siteTitle,r?(i.reload=!0,o.replaceState(i,n,bbn.env.url)):o.pushState(i,n,bbn.env.url)}}function mc(...e){let n=ac(e),t=1;if(n){if(0===n.url.indexOf("javascript:"))return!0;if(0===n.url.indexOf("data:"))return!0;if(0===n.url.indexOf("#"))return n.e&&n.e.preventDefault(),document.location.hash=n.url.substring(1),!1;if(0===n.url.indexOf("mailto:"))return bbn.env.ignoreUnload=!0,window.location.href=n.url,setTimeout(()=>{bbn.env.ignoreUnload=!1},0),!1;if(Lu(n.url))return!1;if((0===n.url.indexOf("http://")||0===n.url.indexOf("https://"))&&0!==n.url.indexOf(bbn.env.host))return n.e&&n.e.preventDefault(),window.open(n.url),!1;if(n.url!==bbn.env.params.join("/")||1===n.force){if(n.e&&n.e.preventDefault(),n.successFn)t=n.successFn(n.url);else if(bbn.fn.defaultPreLinkFunction){let e=bbn.fn.defaultPreLinkFunction(n.url,n.force,n.ele);void 0!==e.data?(lu(n.obj,e.data),t=1):t=e}if(t){1!==t&&"string"==typeof t&&(n.url=t);let e=bbn._("The Ajax call to")+" "+n.url+" ";return qu(n.url,n.datatype,n.obj,t=>{t||tu(e+bbn._("returned no answer")),su(t)&&(0===Object.keys(t).length&&tu(e+bbn._("returned an empty object")),t.new_url?(t.old_path=n.url,n.url=t.new_url):t.url&&n.url!==t.url&&(t.old_path=n.url)),Ad(n.url,t,n.successFn,null,n.ele)&&void 0===t.noNav&&0!==bbn.env.path.indexOf(n.url)&&sc(n.url,(t.title?t.title+" - ":"")+bbn.env.siteTitle)},n.errorFn||null)}}return!0}}function lc(){let e=bbn.env.width!==window.innerWidth,n=bbn.env.height!==window.innerHeight;if(e||n){e&&(bbn.env.width=window.innerWidth||window.document.documentElement.clientWidth||window.document.body.clientWidth,document.documentElement.style.setProperty("--vw",.01*bbn.env.width+"px")),n&&(bbn.env.height=window.innerHeight||window.document.documentElement.clientHeight||window.document.body.clientHeight,document.documentElement.style.setProperty("--vh",.01*bbn.env.height+"px"));let t=parseInt(ec("mobile-limit"))||650,r="bbn-screen-"+(bbn.env.width<t?"small":"regular"),o=(document.body.className||"").split(" "),i=!1;au(o,(e,n)=>{if(3===e.split("-").length&&0===e.indexOf("bbn-screen-"))return i=!0,e!==r&&o.splice(n,1,r),!1}),i||o.push(r),bbn.fn.defaultResizeFunction(),document.body.className=o.join(" ")}}function uc(){return"mobile"===nc()}function dc(){return"tablet"===nc()}function cc(){return uc()||dc()}function hc(e=!1){let n=(new Date).getTime();return e?Math.round(n/1e3):n}function fc(e){const n=String(null!=e?e:"").split("-").filter(Boolean);if(!n.length)return{language:"und"};let t,r,o=n[0].toLowerCase();for(let e=1;e<n.length;e++){const o=n[e];t||4!==o.length?r||2!==o.length&&3!==o.length||(r=o.toUpperCase()):t=o[0].toUpperCase()+o.slice(1).toLowerCase()}return{language:o,script:t,region:r}}const Mc=Promise.resolve().then(function(){return Oc});function yc(e){var n,t,r;const o=null!==(r=null!==(n=e.baseName)&&void 0!==n?n:null===(t=e.toString)||void 0===t?void 0:t.call(e))&&void 0!==r?r:"und",{region:i}=fc(o),a=i&&Mc[i]||{firstDay:1,weekend:[6,7],minimalDays:4};return{firstDay:a.firstDay,weekend:a.weekend.slice(),minimalDays:a.minimalDays}}function gc(){!function(){if("undefined"==typeof Intl)return;if("function"!=typeof Intl.Locale){class e{constructor(e){const n=Array.isArray(e)?e[0]:e,t=String(null!=n?n:"und"),r=fc(t);this._tag=t,this._language=r.language,this._script=r.script,this._region=r.region}toString(){return this._tag}get baseName(){return this._tag}get language(){return this._language}get script(){return this._script}get region(){return this._region}getWeekInfo(){return yc(this)}get weekInfo(){return yc(this)}}Intl.Locale=e}const e=Intl.Locale.prototype;"function"!=typeof e.getWeekInfo&&(e.getWeekInfo=function(){return yc(this)}),Object.getOwnPropertyDescriptor(e,"weekInfo")||Object.defineProperty(e,"weekInfo",{configurable:!0,enumerable:!0,get(){return"function"==typeof this.getWeekInfo?this.getWeekInfo():yc(this)}})}()}var pc=function(e,n,t,r){return new(t||(t=Promise))(function(o,i){function a(e){try{m(r.next(e))}catch(e){i(e)}}function s(e){try{m(r.throw(e))}catch(e){i(e)}}function m(e){var n;e.done?o(e.value):(n=e.value,n instanceof t?n:new t(function(e){e(n)})).then(a,s)}m((r=r.apply(e,n||[])).next())})};function bc(){return pc(this,void 0,void 0,function*(){const e=[];"undefined"!=typeof Intl&&"function"==typeof Intl.RelativeTimeFormat||e.push((()=>pc(this,void 0,void 0,function*(){yield Promise.resolve().then(function(){return xc}),yield Promise.resolve().then(function(){return Nc})}))()),function(){if("undefined"==typeof Intl||"function"!=typeof Intl.DateTimeFormat)return!0;try{return new Intl.DateTimeFormat("en",{dateStyle:"medium"}),!1}catch(e){return!0}}()&&e.push((()=>pc(this,void 0,void 0,function*(){yield Promise.resolve().then(function(){return Yc}),yield Promise.resolve().then(function(){return Zc})}))()),e.length>0&&(yield Promise.all(e)),gc()})}const wc=()=>{bbn.env.last_focus=bbn.dt().unix()},vc=e=>{if(wc(),"ajax"!==bbn.env.nav)return;let n=e.target;if(n instanceof HTMLElement&&"A"!==n.tagName){let e=n;for(;e&&"A"!==e.tagName&&"BODY"!==e.tagName;)e=e.parentElement;n=e&&"A"===e.tagName?e:null}n instanceof HTMLElement&&n.hasAttribute("href")&&!n.hasAttribute("target")&&!n.classList.contains("bbn-no")&&(tu("Link clicked: "+n.getAttribute("href")),mc(n.getAttribute("href"),e))};function Ec(e){if("string"==typeof e&&e.length>0&&(0===e.indexOf("calc")||Jl(ru(e,0,1)))){let n=document.createElement("div");n.style.width=e;let t=!!n.style.width.length;return n.remove(),t}return!1}function Tc(...e){if(!e.length)return!1;for(let n of e)if(!Ql(n)||!bbn.var.regexp.ip.test(n))return!1;return!0}function Sc(...e){if(!e.length)return!1;for(let n of e)if("[object Symbol]"!=={}.toString.apply(n))return!1;return!0}function Dc(e){const n=["BBN: "+e];n.unshift({_bbn_console_mode:"warn",_bbn_console_level:2,_bbn_console_style:"color: #E64141; background: #F7E195; font-size: 14px"}),tu.apply(this,n)}function zc(e,n="",t=null){let r=new FormData,o=(e,n="")=>{(!t||mu(t)&&!t.includes(n))&&(e instanceof File?r.append(n,e):mu(e)?au(e,(e,t)=>{o(e,n+"["+t+"]")}):su(e)&&Object.keys(e).length?iu(e,(t,r)=>{r in e&&o(t,n?n+"["+r+"]":r)}):vu(e)||void 0===e||r.append(n,e))};return o(e,n),r}function Ac(e){return"string"==typeof e?document.querySelector(e):e}function Hc(...e){let n=ac(e);if(n.url)return qu(n.url,n.datatype,n.obj,e=>{Ad(n.url,e,n.successFn,n.errorFn,n.ele)},n.errorFn,n.abortFn)}function kc(e,n,t,r){if("object"==typeof e&&"string"==typeof n){let o=e;const i=n.split(".");au(i,(e,n)=>{if(!o){if(!r)throw new Error(bbn._("The object is invalid"));o={}}i.length-1===n?o[e]=t:o=o[e]})}}function Ic(e,n){return Math.floor(Math.random()*(n-e+1)+e)}function _c(e,n=" "){if(" "===n)return e.trim();if(!n)return e;if(n===e)return"";for(;0===e.indexOf(n);)e=ru(e,n.length);for(;e.lastIndexOf(n)===e.length-n.length;)e=ru(e,0,e.length-n.length);return e}function Cc(e,n,t){return"string"==typeof e.toLowerCase()&&(n||(n=bbn.var.shortenLen),void 0!==t&&Ql(t)||(t="..."),e.length>n&&(e=ru(e,0,n)+t)),e}var Pc={_addLoader:fu,_compareValues:pu,_deleteLoader:Nu,abort:function(e){let n=Lu(e);(null==n?void 0:n.aborter)&&n.aborter.abort("Operation canceled by the user.")},abortURL:function(e){au(ju(bbn.env.loaders,{url:e}),n=>{if(!n||!n.source)throw new Error("Impossible to find the loader with URL "+e);n.source.cancel("Operation canceled by the user.")})},addColors:Ru,addInputs:Fu,addStyle:function(e,n){su(n)&&iu(n,(n,t)=>{e.style[t]=n})},adjustHeight:function(){let e=arguments;return 1===e.length&&Xl(e[0])&&(e=e[0]),Yu("height",e)},adjustSize:Yu,adjustWidth:function(){let e=arguments;return 1===e.length&&Xl(e[0])&&(e=e[0]),Yu("width",e)},ajax:qu,analyzeFunction:_u,animateCss:function(e,n,t){e.classList.add("animated"),e.classList.add(n),e.addEventListener("webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend",function e(r){r.target.removeEventListener(r.type,e),"function"==typeof t&&t.call(this),r.target.classList.remove(n)})},arrayBuffer2String:Vu,arrayFromProp:function(e,n){let t=[];return au(e,(e,r)=>{t.push(Mu(e,n))}),t},autoExtend:function(e,n){bbn[e]||(bbn[e]={}),lu(bbn[e],n)},baseName:Ku,br2nl:function(e){return Wu("<br />","\n",Wu("<br/>","\n",Wu("<br>","\n",e)))},calendar:function(e,n=!1){let t=Dd(e);return t.isValid?t.calendar():n&&Ql(n)?n:""},callback:Ad,camelize:function(e){return e.replace(/^([A-Z])|[\s-](\w)/g,function(e,n,t,r){return t?t.toUpperCase():n.toLowerCase()})},camelToCss:function(e){return e.replace(/([A-Z])/g,function(e){return"-"+e.toLowerCase()}).replace("/^./",function(e){return e.toLowerCase()})},canvasToImage:function(e){let n=new Image;return n.src=e.toDataURL("image/png"),n},cast:function(e){var n;return e?"object"==typeof e?bbn.fn.isArray(e)?"Array ("+e.length+")":(null===(n=e.constructor)||void 0===n?void 0:n.name)||"{}":e.toString?e.toString():"string"==typeof e?e:"":""},center:function(e){let n=e.parentNode,t=n.clientWidth,r=n.clientHeight;for(;n&&(!t||!r);)n=e.parentNode,t=n.clientWidth,r=n.clientHeight;return e.style.position="absolute",e.style.top=Math.max(0,(r-e.offsetHeight)/2+n.scrollTop)+"px",e.style.left=Math.max(0,(r-e.offsetWidth)/2+n.scrollLeft)+"px",e},checkProps:function(e,n,t=!1){return Hd(e,n,t).result},checkPropsDetails:Hd,checkPropsOrDie:function(e,n,t=!1){let r=Hd(e,n,t);if(r.error)throw new Error(r.error);return!0},checkType:Id,circularReplacer:function(){const e=new WeakSet;return(n,t)=>{if("object"==typeof t&&null!==t){if(e.has(t))return;e.add(t),[void 0,Object,Array,null].includes(t.constructor)||(t=Du(t)?t.bbnId?"__BBN_DOM__"+t.tagName+"/"+t.bbnId+t.bbnHash:"__BBN_DOM__"+t.tagName+"/"+t.className:Au(t)?"__BBN_CP__"+t.$options.name+"/"+t.$cid:t.constructor.toString())}return t}},clone:_d,colorToHex:function(e){let n=document.createElement("canvas").getContext("2d");return n.fillStyle=e,n.fillStyle},compare:Pu,compareConditions:Gu,copy:function(e,n){return new Promise(t=>{if(e){if(navigator&&navigator.clipboard)return void(e instanceof Blob?(navigator.clipboard.write([new ClipboardItem({[e.type.toString()]:e})]).then(()=>{t(!0)}),n||Cd(e,e.type.toString())):su(e)&&nu(e.toBlob)?e.toBlob(r=>{const o=new ClipboardItem({[r.type.toString()]:r});navigator.clipboard.write([o]).then(()=>{n||Cd(e,r.type.toString()),t(!0)})}):(navigator.clipboard.writeText(e),n||Cd(e),t(!0)));let r=document.createElement("textarea");r.style.opacity="0",r.value=e,document.body.appendChild(r),r.select(),document.execCommand("copy"),document.body.removeChild(r),n||Cd(e),t(!0)}t(!1)})},correctCase:kd,count:function(e,n,t=null,r="="){return Pd(e,n,t,r).length||0},crc32:function(e){let n=~0;for(let t=0;t<e.length;t++){const r=e.charCodeAt(t);n=n>>>8^Gd[255&(n^r)]}return(-1^n)>>>0},createObject:Od,cssExists:function(e){let n,t,r=document.styleSheets;for(let o=0;o<r.length;o++){n=1;try{t=r[o].rules||r[o].cssRules}catch(e){if(n=!1,"SecurityError"!==e.name)throw e}if(n)for(let n=0;n<t.length;n++)if(new RegExp("(^|\\s)"+Zu(e)+"(\\{|\\s)","g").test(t[n].selectorText))return!0}return!1},data2Html:function e(n,t=""){const r=!mu(n);let o='<ul class="bbn-bottom-xspadding '+(t||"bbn-ul")+'">';for(let i in n)o+="<li>",r&&(o+="<em>"+i+"</em>: "),n[i]&&(mu(n[i])||su(n[i]))?o+=e(n[i],t):o+=null===n[i]?"<em>null</em>":n[i].toString?n[i].toString():n[i],o+="</li>";return o+='</ul><div class="bbn-bottom-xspadding '+(t||"bbn-div")+'"></div>',o},date:Bd,dateSQL:function(e,n){let t=Dd(e);if(t)return t.format("YYYY-MM-DD"+(n?"":" HH:mm:ss"))},deepPath:function e(n,t,r,o=[]){let i;return(i=Bu(n,t,0))>-1?(o.push(i),o):(au(n,(n,i)=>{if(mu(n[r])){let a=o.slice();a.push(i);let s=e(n[r],t,r,a);if(!1!==s)return s}}),!1)},defaultAjaxAbortFunction:xd,defaultAjaxErrorFunction:Nd,defaultAlertFunction:function(e,n=null){alert(e)},defaultConfirmFunction:function(e,n,t=null){let r=0;confirm(e)&&nu(n)&&(n(),r=1),!r&&nu(t)&&t()},defaultEndLoadingFunction:Ld,defaultErrorFunction:function(e){tu(e)},defaultHistoryFunction:function(e){return!0},defaultLinkFunction:function(e,n){return!0},defaultPostLinkFunction:function(e,n=null){return!0},defaultPreLinkFunction:function(e,n=!1,t=null){return tu("defaultPreLinkFunction",e,n,t),!0},defaultResizeFunction:function(){return!0},defaultStartLoadingFunction:function(e,n,t,r){return!0},deleteProp:function(e,n){Id(e,"object",bbn._("The obj must be an object in setProp")),Id(n,"string",bbn._("The prop must be a string in setProp")),delete e[n]},diffObj:function e(n,t,r=!1,o=!1){o||(Rd=[]);let i="unchanged";void 0===o&&(o=!1);let a=Od();if(!nu(n)&&!nu(t)){if(jd(n)||jd(t)){let e=(s=n)===(m=t)||gu(s)&&gu(m)&&s.getTime()===m.getTime()?i:void 0===s?"created":void 0===m?"deleted":"updated";if(r||e!==i){let r=Od();return Object.defineProperty(r,"type",{value:e,enumerable:!1}),Object.defineProperty(r,"data",{value:void 0===n?t:n,enumerable:!1}),Object.defineProperty(r,"_bbnDiffObjProof",{value:!0,enumerable:!1}),void 0!==n&&Object.defineProperty(r,"newData",{value:t,enumerable:!1}),r}return!1}if(Du(n)||Du(t))return!1;if(Rd.includes(n)||Rd.includes(t))return!1;Rd.push(n,t);for(let o in n){if(nu(n[o]))continue;let i;void 0!==t[o]&&(i=t[o]);let s=e(n[o],i,r,!0);s&&(a[o]=s)}for(let o in t){if(nu(t[o])||void 0!==n[o])continue;let i=e(void 0,t[o],r,!0);i&&(a[o]=i)}}var s,m;return!(o&&!r&&!bu(a))&&a},dirName:Fd,download:function(e,n="",t=null){return n&&"object"==typeof n&&(t=n,n=""),qu(e,"blob",t||{_bbn_download:1},(t,r)=>{if(!n){let t="content-disposition",o="attachment; filename=";n=(null==r?void 0:r[t])&&0===r[t].indexOf(o)?ru(r[t],o.length+1,r[t].length-o.length-2):Ku(e)}if(Yd(t)){let e=Zd(n),r=["php","html"];if("string"==typeof n&&("type"in t&&"text/html"!==t.type||r.includes(e)))return void Ud(n,t)}},e=>{bbn.fn.defaultAjaxErrorFunction(e)})},downloadContent:Ud,each:au,eraseCookie:function(e){document.cookie=e+"=; Max-Age=-99999999;"},error:zd,escapeDquotes:function(e){return Ql(e)?e.replace(/"/g,'\\"'):e},escapeRegExp:Zu,escapeSquotes:function(e){return Ql(e)?e.replace(/'/g,"\\'"):e},escapeTicks:function(e){return Ql(e)?e.replace(/`/g,"\\`"):e},escapeUrl:function(e,n){let t="";e.match("^(http|https)://")&&(t+="http","s"===(e=e.substring(4)).substr(0,1)&&(t+="s",e=e.substring(1)),t+="://",e=e.substring(3)),au(Fd(e).split("/"),e=>{t+=encodeURIComponent(e)+"/"});let r=Ku(e),o="?",i="";if(r.indexOf(o)){let e=r.split("?");o="&",i="?"+e[1],r=e[0]}return n&&Ql(n)?(n.match("^(\\&|\\?)")&&(n=n.substring(1)),n=o+n):n="",t+encodeURIComponent(r)+i+n},executeSlowly:function(e,n){return Vd(this,void 0,void 0,function*(){for(let t=0;t<e.length;t++){yield $d();let r=n(e[t],t);if(r instanceof Promise&&(r=yield r),!1===r)return!1}return!0})},extend:lu,extendOut:function e(...n){let t=null;for(let r of n){if(!su(r))throw new Error("Each argument for extendOut must be an object, "+typeof r+" given");if(null===t)t=r;else for(let n in r)su(t[n],r[n])?e(t[n],r[n]):void 0===t[n]&&(t[n]=r[n])}return t},fdate:function(e,n=!1){let t=Dd(e),r=!1;return!0===n&&(r=!0),t.isValid?t.fdate(!1,r):n&&Ql(n)?n:""},fdatetime:function(e,n=!1){let t=Dd(e);return t.isValid?t.fdate(!1,!0):n&&Ql(n)?n:""},fieldValue:Kd,fileExt:Zd,filter:Pd,filterToConditions:Ou,findAll:function e(n,t,r,o=[]){let i,a=0;for(;(i=Bu(n,t,a))>-1;)o.push(n[i]),a=i+1;return au(n,n=>{mu(n[r])&&e(n[r],t,r,o)}),o},firstVarElement:function(e){const n=e.indexOf("["),t=e.indexOf(".");return-1===n&&-1===t?e:-1===n?e.substring(0,t):-1===t?e.substring(0,n):e.substring(0,Math.min(n,t))},fori:function(e,n,t=e.length-1,r=0){if(mu(e)){let o=e.length-1;Jl(t)&&0<t&&t<=o||(t=o),(!Jl(r)||!(0<=r&&r<o)||r>t)&&(r=0);for(let o=r;o<=t;o++)if(!1===n(e[o],o))return}},forir:function(e,n,t=e.length-1,r=0){if(mu(e)){let o=e.length-1;Jl(t)&&0<t&&t<=o||(t=o),(!Jl(r)||!(0<=r&&r<o)||r>t)&&(r=0);for(let o=t;o>=r;o--)if(!1===n(e[o],o))return}},format:function(e){let n=Array.prototype.slice.call(arguments,1);if(n.length){let t=0;return e.replace(/\%([d|s])/g,(e,r)=>{let o=n[t++];return Id(o,"d"===r?"number":"string",bbn._("The value doesn't correspond to the format")),o})}return e},formatBytes:function(e,n=2){if(!e)return"0 B";const t=Math.floor(Math.log(e)/Math.log(1024));return parseFloat((e/Math.pow(1024,t)).toFixed(n<0?0:n))+" "+["B","KB","MB","GB","TB","PB","EB","ZB","YB"][t]},formatDate:function(e,n){const t=Dd(e);return t.isValid?t.format(n):""},formatSize:function(e,n){return Jl(e)?e+"px":Ql(e)?e:!n&&"auto"},formdata:Jd,fphone:function(e){var n;if(Jl(e)&&(e=e.toString()),Ql(e)){const t=(null===(n=bbn.var)||void 0===n?void 0:n.phoneCodes)||[];let r="",o="",i="";if(t.length&&au(t,n=>{e.startsWith(n.prefix)&&n.prefix.length>o.length&&(o=n.prefix,i=n.mask||"")}),!i.length&&e.startsWith("+")){o.length||(o=e.substr(0,3));const n=e.slice(o.length);for(let e=0;e<n.length;e++)e+1<=n.length&&e%2==0&&(i+="0"+(n[e+1]?"0":"")+" ");i=i.trim()}if(i.length){o.length&&(r=o+" ",e=e.slice(o.length));let n=0;return r+=i.replace(/[0-9]/g,()=>e[n++]||""),r}}return e},fromXml:function(e,n){let t=null;if(window.DOMParser)t=(new DOMParser).parseFromString(e,"text/xml");else{if(!window.ActiveXObject)throw new Error("cannot parse xml string!");if(t=new window.ActiveXObject("Microsoft.XMLDOM"),t.async=!1,!t.loadXML(e))throw t.parseError.reason+" "+t.parseError.srcText}function r(e,t){if("#text"==e.nodeName){let n=e.nodeValue;return void(n.trim()&&(t["#text"]=n))}let o={},i=t[e.nodeName];if(i?Array.isArray(i)?t[e.nodeName].push(o):t[e.nodeName]=[i,o]:n&&-1!=n.indexOf(e.nodeName)?t[e.nodeName]=[o]:t[e.nodeName]=o,e.attributes)for(let n of e.attributes)o[n.nodeName]=n.nodeValue;for(let n of e.childNodes)r(n,o)}let o={};for(let e of t.childNodes)r(e,o);return o},ftime:function(e,n){let t=Dd(e);return t.isValid?t.ftime():n&&Ql(n)?n:""},getAllTags:function(){return Xd(Array.prototype.map.apply(document.all,[e=>e.tagName.toLowerCase()]))},getAncestors:Qd,getAttributes:function(e){e.getAttributeNames||zd("The element is not a proper HTML Element");let n=Object.create(null);return e.getAttributeNames().forEach(t=>{n[t]=e.getAttribute(t)}),n},getBrowserName:function(){const e=navigator.userAgent.toLowerCase();switch(!0){case e.includes("edge"):case e.includes("edg/"):return"Edge";case e.includes("opr")&&!!window.opr:return"Opera";case e.includes("chrome")&&!!window.chrome:return"Chrome";case e.includes("trident"):return"Internet Explorer";case e.includes("firefox"):return"Firefox";case e.includes("safari"):return"Safari";default:return"Other"}},getBrowserVersion:function(){const e=navigator.userAgent.toLowerCase();switch(!0){case e.includes("edge/"):return e.split("edge/")[1].split(" ")[0];case e.includes("edg/"):return e.split("edg/")[1].split(" ")[0];case e.includes("opr/")&&!!window.opr:return e.split("opr/")[1].split(" ")[0];case e.includes("chrome/")&&!!window.chrome:return e.split("chrome/")[1].split(" ")[0];case e.includes("trident/"):return e.split("trident/")[1].split(" ")[0];case e.includes("firefox/"):return e.split("firefox/")[1].split(" ")[0];case e.includes("safari/"):return e.split("version/")[1].split(" ")[0];default:return""}},getChrono:function(e="default"){return bbn.fn.microtimestamp()-this.constructor.chronos[e]},getCookie:function(e){let n=e+"=",t=document.cookie.split(";");for(let e=0;e<t.length;e++){let r=t[e];for(;" "==r.charAt(0);)r=r.substring(1,r.length);if(0==r.indexOf(n)){let e=r.substring(n.length,r.length);if(e)return JSON.parse(unescape(e)).value}}return null},getCssVar:ec,getDay:function(e){let n=Bd(e);if(n){let e=n.getTime(),r=n.getYear(),o=365*(r-1970);n.getMonth()<2&&r--;for(var t=1972;t<=r;t+=4)o++;return o+Math.floor(e/864e5)}return!1},getDeviceType:nc,getEventData:function(e){let n=e.dataTransfer||e.clipboardData,t=n.getData("Text"),r={raw:t,files:[],str:[]};return new Promise((o,i)=>{let a=!(n instanceof DataTransfer);if(!t&&"copy"===e.type){let e=window.getSelection();r.raw=e.toString();let n=tc();r.str.push({type:"text/plain",data:r.raw}),n!==r.raw?r.str.push({type:"text/html",data:n}):0===r.raw.trim().indexOf("<")&&r.str.push({type:"text/html",data:"<meta charset='utf-8'><code style=\"white-space: pre; font-family: 'Courier New', sans-serif\">\n"+r.raw+"\n</code>"}),a=!0,o(r)}if(!a){let e=[],t=n.items.length;au(n.items,(i,s)=>{let m=i.kind,l=i.type;if("file"===m){let m=n.files[s];if(!l&&m.name){let e=m.name.split(".");l=e[e.length-1]}let u=m?m.name:bbn._("untitled"),d=m?m.size:null,c=m?m.lastModified:null,h=i.getAsFile();h?(a=!0,t--,r.files.push({type:l,data:h,name:u,size:d,mdate:c}),e.push(u),t||(r.raw||(r.raw=e.join(", ")),o(r))):bbn.fn.defaultErrorFunction(bbn._("Impossible to read the file")+" "+u)}else a=!0,i.getAsString(n=>{t--,r.str.push({type:l,data:n}),"text/plain"===l&&e.push(name),t||(r.raw||(r.raw=e.join(", ")),o(r))})})}a||setTimeout(()=>{o(r)})})},getField:function(e,n,t="",r=null,o="=",i=0,a=!1,s=void 0){let m;return t&&["object","function"].includes(typeof t)&&6 in arguments&&(s=a),n?(m=xu(e,t,r,o,i,a,void 0),void 0===m?s:m[n]):s},getFieldValues:function(e,n,t,r,o){Id(n,"string"),t&&(e=ju(e,t,r,o));let i=[];return au(e,e=>-1===i.indexOf(e[n])?i.push(e[n]):null),i},getFileContent:function(){let e,n,t="",r="text";bbn.fn.each(arguments,o=>{"string"==typeof o?["binary","text"].includes(o.toLowerCase())?r=o.toLowerCase():t||(t=o,"image"===t&&(t="image/*")):bbn.fn.isFunction(o)&&(e?n||(n=o):e=o)});let o=document.createElement("input");o.type="file",t&&o.setAttribute("accept",t),o.onchange=function(t){var i;const a=null===(i=o.files)||void 0===i?void 0:i[0];if(!a)return;const s=new FileReader;"binary"===r?s.readAsArrayBuffer(a):s.readAsText(a,"UTF-8"),s.onload=function({target:n}){e&&e(null==n?void 0:n.result)},s.onerror=function(){n&&n("error reading file")}},o.click()},getIndex:function(e,n=""){return e.parentElement?(n||Array.from(e.parentElement.children).indexOf(e),Array.from(e.parentElement.children).filter(e=>e.matches(n)).indexOf(e)):-1},getHtml:function(e,n=!1){let t=e.innerHTML();return n&&(t=rc(t)),t.trim()},getHTMLOfSelection:tc,getLoader:Lu,getPath:zu,getProp:function(e,n){return Id(e,"object",bbn._("The obj must be an object in setProp")),Id(n,"string",bbn._("The prop must be a string in setProp")),e[n]},getProperty:Mu,getRequestId:Uu,getRow:xu,getScrollBarSize:function(){if(void 0===bbn.env.scrollBarSize){let e=document.createElement("div");e.style.visibility="hidden",e.style.width="100px","msOverflowStyle"in e.style&&(e.style.msOverflowStyle="scrollbar"),document.body.appendChild(e);let n=e.offsetWidth;e.style.overflow="scroll";let t=document.createElement("div");t.style.width="100%",e.appendChild(t);let r=t.offsetWidth;e.parentNode.removeChild(e);let o=n-r;bbn.env.scrollBarSize=o?o+1:0}return bbn.env.scrollBarSize},getSortingMoves:function(e,n){if(e.length!==n.length)throw new Error("Lengths must match.");const t=new Set(n);if(t.size!==n.length)throw new Error("dst has duplicates.");const r=new Set(e);if(r.size!==e.length)throw new Error("src has duplicates.");if(e.length!==t.size||Array.from(r).some(e=>!t.has(e)))throw new Error("Arrays must contain the same unique values.");const o=new Map(n.map((e,n)=>[e,n])),i=e.map(e=>o.get(e)),a=(e=>{const n=e.length,t=[],r=Array(n).fill(-1);for(let o=0;o<n;o++){let n=e[o],i=0,a=t.length;for(;i<a;){const r=i+a>>1;e[t[r]]<n?i=r+1:a=r}i>0&&(r[o]=t[i-1]),t[i]=o}const o=[];for(let e=t.length?t[t.length-1]:-1;-1!==e;e=r[e])o.push(e);return o.reverse()})(i),s=new Set(a.map(n=>e[n])),m=Array(n.length).fill(-1);for(let e=n.length-2;e>=0;e--)m[e]=m[e+1],s.has(n[e+1])&&(m[e]=e+1);const l=e.slice(),u=new Map(l.map((e,n)=>[e,n])),d=[];for(let e=0;e<n.length;e++){const t=n[e];if(s.has(t))continue;const r=u.get(t);if(void 0===r)throw new Error("Inconsistent state");const o=m[e],i=-1!==o?u.get(n[o]):l.length;if(void 0===i)throw new Error("Inconsistent state");const a=r<i?i-1:i;if(r!==a){const[e]=l.splice(r,1);l.splice(a,0,e),d.push({from:r,to:a,value:t}),u.clear();for(let e=0;e<l.length;e++)u.set(l[e],e)}}return d},getText:function(e){return e.innerText().trim()},getTimeoff:function(){return bbn.env.isFocused?0:Math.round((new Date).getTime()/1e3-bbn.env.timeoff)},happy:function(...e){return e.unshift({_bbn_console_level:3,_bbn_console_style:"color: white; background: green; font-size: 18px;"}),tu.apply(this,e),this},hash:ku,hex2rgb:function(e){"#"!==e.charAt(0)&&(e="#"+e),4===e.length&&(e="#"+e[1]+e[1]+e[2]+e[2]+e[3]+e[3]);const n=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(e);return n?{r:parseInt(n[1],16),g:parseInt(n[2],16),b:parseInt(n[3],16)}:null},history:function(){return window.history||!1},html2text:oc,imageToCanvas:ic,imgToBase64:function(e,n="image/png"){return ic(e).toDataURL(n)},info:function(...e){return e.unshift({_bbn_console_level:4,_bbn_console_style:"color: #EEE; background: blue; font-size: 12px;"}),tu.apply(this,e),this},init:function(e,n){let t;bbn.env.isInit||(bbn.env.root=document.baseURI.length>0?document.baseURI:bbn.env.host,bbn.env.root.length&&"/"!==ru(bbn.env.root,-1)&&(bbn.env.root+="/"),"object"==typeof e&&lu(!0,bbn,e),bbn.env.path=ru(bbn.env.url,bbn.env.root.length),t=bbn.env.path.split("/"),au(t,(e,n)=>{""!==(e=decodeURI(e.trim()))&&bbn.env.params.push(e)}),bbn.var.colors&&Ru(bbn.var.colors),bc(),document.addEventListener("visibilitychange",()=>{document.hidden?bbn.env.isVisible=!1:bbn.env.isVisible=!0}),document.addEventListener("focus",e=>{e.target instanceof HTMLElement&&!e.target.classList.contains("bbn-no")&&(bbn.env.focused=e.target),bbn.env.isFocused=!0,bbn.env.last_focus=hc()}),document.addEventListener("blur",e=>{e.target instanceof HTMLElement&&!e.target.classList.contains("bbn-no")&&(bbn.env.focused=e.target),bbn.env.isFocused=!1,bbn.env.last_focus=hc()}),document.addEventListener("click",vc),document.addEventListener("keydown",vc),document.addEventListener("focusin",wc),document.addEventListener("focusout",wc),window.addEventListener("hashchange",()=>{bbn.env.hashChanged=(new Date).getTime()},!1),window.addEventListener("resize",()=>{lc()}),window.addEventListener("orientationchange",()=>{lc()}),lc(),cc()&&(document.body.classList.add("bbn-mobile"),dc()&&document.body.classList.add("bbn-tablet")),window.history&&(window.onpopstate=function(e){let n=window.history;if(!bbn.env.historyDisabled&&n&&bbn.fn.defaultHistoryFunction(n.state)){let e=n.state;e?mc(e.url,lu({title:e.title||bbn.env.siteTitle},e.data||{})):e&&e.data&&nu(e.data.script)&&e.data.script()}}),window.addEventListener("online",()=>{bbn.env.online=!0}),window.addEventListener("offline",()=>{bbn.env.online=!1}),bbn.env.isInit=!0,document.dispatchEvent(new Event("bbninit")),bbn.env.logging&&tu("Logging in bbn is enabled"))},isActiveInterface:function(e=600){return!!bbn.env.last_focus&&(new Date).getTime()-bbn.env.last_focus<1e3*e},isArray:mu,isBlob:Yd,isBoolean:function(...e){if(!e.length)return!1;for(let n of e)if(![!0,!1].includes(n))return!1;return!0},isCanvas:Wd,isColor:function(...e){if(!e.length)return!1;var n=new RegExp("^(#[a-f0-9]{6}|#[a-f0-9]{3}|rgb *( *[0-9]{1,3}%? *, *[0-9]{1,3}%? *, *[0-9]{1,3}%? *)|rgba *( *[0-9]{1,3}%? *, *[0-9]{1,3}%? *, *[0-9]{1,3}%? *, *[0-9]{1,3}%? *)|black|green|silver|gray|olive|white|yellow|maroon|navy|red|blue|purple|teal|fuchsia|aqua)$","i");for(let t of e){if(!Ql(t))return!1;if(!n.test(t))return!1}return!0},isComment:function(...e){if(!e.length)return!1;for(let n of e)if(!(n instanceof Comment))return!1;return!0},isCp:Au,isDataURL:function(...e){if(!e.length)return!1;for(let n of e)if(!/^data:([a-z]+\/[a-z0-9\-\+\.]+(;[a-z\-]+\=[a-z0-9\-\.]+)?)?(;base64)?,/i.test(n))return!1;return!0},isDate:gu,isDesktopDevice:function(){return"desktop"===nc()},isDimension:function(...e){if(!e.length)return!1;for(let n of e){if("number"!=typeof n||n<0)return!1;if(!Ec(n))return!1}return!0},isDom:Du,isEmail:function(...e){if(!e.length)return!1;let n=/^([a-zA-Z0-9_.+-])+\@(([a-zA-Z0-9-])+\.)+([a-zA-Z0-9]{2,4})+$/;for(let t of e){if(!Ql(t))return!1;if(!n.test(t))return!1}return!0},isEmpty:wu,isEvent:function(...e){if(!e.length)return!1;for(let n of e)if(!(n instanceof Event))return!1;return!0},isFocused:function(e,n=!1){return e===document.activeElement||n&&e.contains&&e.contains(document.activeElement)},isFunction:nu,isHex:function(e){return Boolean(e.match(/^(0x)?[0-9a-f]+$/i))},isHostname:function(...e){if(!e.length)return!1;for(let n of e){if(!Ql(n))return!1;if(!Tc(n)&&!bbn.var.regexp.hostname.test(n))return!1}return!0},isInside:function(e,n){let t=Qd(e);if(t.length){if(Ql(n)){let e=!1;return au(t,t=>{if(t.matches&&t.matches(n))return e=!0,!1}),e}if(n instanceof HTMLElement)return t.indexOf(n)>-1}return!1},isInt:eu,isInViewport:function(e,n=!1){const t=e.getBoundingClientRect();if(n)return t.top>=0&&t.left>=0&&t.right<=(window.innerWidth||document.documentElement.clientWidth)&&t.bottom<=(window.innerHeight||document.documentElement.clientHeight);const r=e.offsetHeight,o=e.offsetWidth;return t.top>=-r&&t.left>=-o&&t.right<=(window.innerWidth||document.documentElement.clientWidth)+o&&t.bottom<=(window.innerHeight||document.documentElement.clientHeight)+r},isIP:Tc,isIterable:Xl,isMobile:cc,isMobileDevice:uc,isNotObject:jd,isNull:vu,isNumber:Jl,isObject:su,isPercent:function(...e){if(!e.length)return!1;for(let n of e)if("string"!=typeof n||!n.match(/^\d+(?:\.\d+)?%$/))return!1;return!0},isPrimitive:ed,isPromise:function(...e){if(!e.length)return!1;for(let n of e)if("[object Promise]"!=={}.toString.apply(n))return!1;return!0},isPropSize:function(e){let n=!1;return au(["width","height","gap","margin","padding","top","left","right","bottom"],t=>{if(-1!==e.indexOf(t))return n=!0,!1}),n},isSame:Cu,isSQLDate:function(...e){if(!e.length)return!1;for(let n of e)if("string"!=typeof n||!n.match(/^([1-2]\d{3})-((0\d)|(1[12]))-(([0-2]\d)|(3[01]))(?:( [0-2]\d):([0-5]\d):([0-5]\d))?$/))return!1;return!0},isString:Ql,isSymbol:Sc,isTabletDevice:dc,isURL:function(...e){if(!e.length)return!1;for(let n of e)if(!bbn.var.regexp.url.test(n))return!1;return!0},isUid:function(...e){if(!e.length)return!1;for(let n of e)if("string"!=typeof n||!n.match(/^[0-9a-f]{32}$/i))return!1;return!0},isValidDimension:Ec,isValidName:function(...e){if(!e.length)return!1;for(let n of e)if(!Ql(n)||!/^[$A-Z_][0-9A-Z_$]*$/i.test(n))return!1;return!0},isVue:function(...e){if(!e.length)return!1;if("vue"in bbn&&window.Vue)if("app"in bbn.vue){for(let n of e)if(!n||"function"!=typeof n.render)return!1}else for(let n of e)if(!(n instanceof window.Vue))return!1;return!("cp"in bbn)||!("isComponent"in bbn.cp)||"function"!=typeof bbn.cp.isComponent||bbn.cp.isComponent(...e)},isWritable:function(e,n){let t;for(;e&&(t=Object.getOwnPropertyDescriptor(e,n),!t);)e=Object.getPrototypeOf(e);return!t||Boolean(t.writable||t.set)},iterate:iu,lightenDarkenHex:function(e,n){if(e&&n){let t="#"===e[0];e=t?e.slice(1):e;let r=parseInt(e,16),o=(r>>16)+n,i=(r>>8&255)+n,a=(255&r)+n;return o>255?o=255:o<0&&(o=0),i>255?i=255:i<0&&(i=0),a>255?a=255:a<0&&(a=0),(t?"#":"")+(a|i<<8|o<<16).toString(16)}},link:mc,log:tu,makeReactive:function e(n,t,r,o){const i=(null==r?void 0:r.$cid)||"",a="__bbn_"+(i?i+"_":"");if(n&&"object"==typeof n&&[void 0,Object,Array].includes(n.constructor)){if(n.__bbnIsProxy&&n.__bbnParent===r)return n;r&&r.$options&&"bbn-loadbar"===r.$options.name&&tu(["MAKING bbn-loadbar",n]),n.__bbnWatchers||Reflect.defineProperty(n,"__bbnWatchers",{value:Od(),writable:!0,configurable:!0,enumerable:!1});return new Proxy(n,{get(s,m){const l=Reflect.get(s,m),u=s.__bbnRoot||s;if(Sc(m))return Reflect.get(u,m);const d=o?o+"."+m:m,c=a+(Jl(m)?m.toString():m);if(["fill","pop","push","reverse","shift","sort","splice","unshift"].includes(m)&&mu(s))return function(...e){let n=u[m](...e);return Dc("DOING ARRAY STUFF"),tu(s.__bbnParent),t(s,"length",r),n};if(nu(l))return l;if("__bbnRoot"===m){let e=n;for(;e&&(null==e?void 0:e.__bbnTarget);)e=e.__bbnTarget;return e}return"__bbnIsProxy"===m||("__bbnTarget"===m?s:"__bbnParent"===m?r:"__bbnWatchers"===m?s.__bbnWatchers:0===m.indexOf("__bbn_")?Reflect.get(s,m):"length"===m&&mu(s.__bbnRoot||s)?u.length:m in s&&l&&"object"==typeof l&&[void 0,Object,Array].includes(l.constructor)?(l.__bbnIsProxy&&l.__bbnParent===r||(c in u||Reflect.defineProperty(u,c,{value:e(l,t,r,d),writable:!0,configurable:!0,enumerable:!1}),u[c].__bbnIsProxy&&!u.__bbnWatchers[i]&&(u.__bbnWatchers[i]=d)),u[c]):l)},set(n,s,m){if(Sc(s))return Reflect.get(n,s,m);const l=n.__bbnRoot||n,u=o?o+"."+s:s;if(Sc(s))return Reflect.get(n,s);if(r&&r.$options&&"bbn-loadbar"===r.$options.name&&tu(["Setting proxy prop in "+r.$options.name,n,s,m]),!Cu(l[s],m)){if(0===s.indexOf("__bbn_"))Reflect.defineProperty(l,s,{value:e(m,t,r,u),writable:!0,configurable:!0,enumerable:!1});else if(m&&"object"==typeof m&&[void 0,Object,Array].includes(m.constructor)){const n=a+(Jl(s)?s.toString():s);Reflect.defineProperty(l,n,{value:e(m,t,r,u),writable:!0,configurable:!0,enumerable:!1}),l[n].__bbnIsProxy&&!l.__bbnWatchers[i]&&(l.__bbnWatchers[i]=u)}r&&r.$options&&"bbn-loadbar"===r.$options.name&&tu(["Setting proxy prop in "+r.$options.name+" "+(Jl(s)?s.toString():s),m,n]),Reflect.set(l,s,m),t(n,s,r)}return!0},defineProperty(n,i,s){const m=n,l=o?o+"."+i:i;if("__bbnWatchers"===i||Sc(i)||0===i.indexOf("__bbn_"))Reflect.defineProperty(m,i,s);else{const n=a+(Jl(i)?i.toString():i);Reflect.defineProperty(m,n,{value:e(s.value,t,r,l),writable:!0,configurable:!0,enumerable:!1})}return t(n,i,r),!0},deleteProperty(e,n){const t=e;if(0===n.indexOf("__bbn_"))Reflect.deleteProperty(t,n);else{const r=a+(Jl(n)?n.toString():n);Reflect.deleteProperty(t,r),Reflect.deleteProperty(e,n)}return!0}})}return n},map:function e(n,t,r,o=0){return n.map((n,i)=>(n=t(n,i,o),r&&n[r]&&mu(n[r])&&(n[r]=e(n[r],t,r,o+1)),n))},md5:Iu,microtimestamp:function(){return window.performance.now()+performance.timeOrigin},money:function(e,n,t,r,o,i,a){if(o||(o=void 0===o&&bbn.env.money&&void 0!==bbn.env.money.decimal?bbn.env.money.decimal:"."),t||(t=void 0===t&&bbn.env.money&&void 0!==bbn.env.money.currency?bbn.env.money.currency:""),i||(i=void 0===i&&bbn.env.money&&void 0!==bbn.env.money.thousands?bbn.env.money.thousands:" "),a||(a=void 0===a&&bbn.env.money&&void 0!==bbn.env.money.precision?bbn.env.money.precision:0),n||(n=!(void 0!==n||!bbn.env.money||void 0===bbn.env.money.kilo)&&bbn.env.money.kilo),r||(r=!(void 0!==r||!bbn.env.money||void 0===bbn.env.money.novalue)&&bbn.env.money.novalue),Jl(a)||(a=n?3:0),0===e&&"number"==typeof a&&a>0){let r=e.toFixed(a).replace(".",o);return t&&(r+=" "+(n?"K"+t:t)),r}if((isNaN(e)||!e)&&r)return r;if(isNaN(e)||!e)return 0+(t?" "+t:"");if("string"==typeof e&&(e=Number(e)),"number"!=typeof e)throw new Error("The value must be a number");n&&e&&(e/=1e3,t&&(t="K"+t));let s=e.toFixed(a),m=0,l=1e4;return s&&(l=s.indexOf("."),l<=0?l=1e4:m=s.length-l),s.replace(/./g,function(e,n,t){return"."===e?o:n&&(t.length-n-m)%3==0&&n<l?i+e:e})+(t?" "+t:"")},move:function(e,n,t){if(t>=e.length){let n=t-e.length;for(;1+n--;)e.push(void 0)}return e.splice(t,0,e.splice(n,1)[0]),e},multiorder:function(e,n){if(!n)return e;let t;if(Array.isArray(n)||"object"!=typeof n)t=n;else for(var r in t=[],n)t.push({field:r,dir:n[r]});if(!Array.isArray(t))throw new Error("The orders argument must be an array");return e.slice().sort((e,n)=>{let r;for(let o of t)if(r=pu(e,n,o.field,o.dir),0!==r)return r;return 0})},mutateArray:function(e,n,t=null){if(!mu(e,n))throw new TypeError("mutateArray can only be called with arrays");t?Id(t,"function","The hash function must be a function"):t=ku;const r=new Map(n.map(e=>[t(e),e]));let o=[];n.forEach(e=>{o.push(e)});let i=e.length;for(;i--;)r.has(t(e[i]))||e.splice(i,1);for(let n=0;n<o.length;n++)if(n>=e.length||!Cu(e[n],o[n])){const t=Bu(e,o[n]);if(-1!==t){const[r]=e.splice(t,1);e.splice(n,0,r)}else e.splice(n,0,o[n])}return e.length>o.length&&e.splice(o.length,e.length-o.length),e},mutateObject:function(e,n,t){if(!su(e,n))throw new TypeError("mutateObject can only be called with objects parameters");t?Id(t,"function","The hash function must be a function"):t=ku;const r=Object.keys(n);for(let n in e)r.includes(n)||delete e[n];return r.forEach(t=>{Cu(e[t],n[t])||(e[t]=n[t])}),e},nl2br:function(e,n){return Wu("\n","<br>"+(n?"\n":""),e)},numProperties:bu,objectToFormData:zc,order:function(e,n,t="asc"){return e?e.sort(function(e,r){return pu(e,r,n,t)}):e},outerHeight:function(e){if((e=Ac(e))&&"offsetHeight"in e){let n=window.getComputedStyle(e),t=parseFloat(n.marginTop)+parseFloat(n.marginBottom);return Math.ceil(e.offsetHeight+t)}},outerWidth:function(e){e=Ac(e);let n=window.getComputedStyle(e),t=parseFloat(n.marginLeft)+parseFloat(n.marginRight);return Math.ceil(e.offsetWidth+t)},percent:function(e,n){return n/100*e},pickValue:function(e){if(Array.isArray(e)&&e.length)return e[Math.floor(Math.random()*e.length)]},post:Hc,postOut:function(e,n,t=null,r=""){let o=document.body.querySelector("form#bbn-form_out");o||(o=document.createElement("form"),o.classList.add("bbn-no"),o.setAttribute("id","bbn-form_out"),o.setAttribute("method","post"),o.setAttribute("enctype","multipart/form-data-encoded"),kc(o,"style.display","none"),document.body.appendChild(o)),o instanceof HTMLFormElement&&(o.innerHTML="",o.setAttribute("action",e),o.setAttribute("target",r||"_blank"),n||(n={}),(n=Od(n)).bbn||(n.bbn="public"),Fu(o,n),o.submit(),t&&t())},printf:function(e){var n=Array.prototype.slice.call(arguments,1);return e.replace(/{(\d+)}/g,function(e,t){return void 0!==n[t]?n[t]:e})},quotes2html:function(e,n){return n&&0!==n.toLowerCase().indexOf("s")||(e=Wu("'","&#39;",e)),n&&0!==n.toLowerCase().indexOf("d")||(e=Wu('"',"&quot;",e)),e},randomInt:Ic,randomString:function(e,n,t){let r,o,i={n:"0123456789",l:"abcdefghijklmnopqrstuvwxyz",u:"ABCDEFGHIJKLMNOPQRSTUVWXYZ"};t||(t="nlu"),e||(r=Ic(8,14)),"string"==typeof n?(t="n",delete i.l,delete i.u,i.n=n,r||(r=e)):"number"==typeof n&&e<n?r=Ic(e,n):e&&(r=e);let a="";for(let e=0;e<r;e++)0===e?"n"!==t&&(o=-1===t.indexOf("u")?"l":"u"):o=t[Math.floor(Math.random()*t.length)],a+=i[o][Math.floor(Math.random()*i[o].length)];return a},range:function(e,n,t){return Array.from({length:(n-e)/t+1},(n,r)=>e+r*t)},removeAccents:yu,removeEmpty:function(e){var n=[];if(mu(e))for(let t=0;t<e.length;t++){let r=!1;e[t]&&(mu(e[t])?e[t].length&&(r=!0):su(e[t])?bu(e[t])&&(r=!0):r=!0),r&&n.push(e[t])}return n},removeExtraSpaces:function(e){return e.replace(/\s+/g," ").trim()},removeHtmlComments:rc,removePrivateProp:ou,removeTrailingChars:function(e,n){if(n||(n=" "),n.length){for(;ru(e,-n.length)===n;)e=ru(e,0,e.length-n.length);for(;ru(e,0,n.length)===n;)e=ru(e,n.length)}return e},repeat:function(e,n){return e.repeat(n)},replaceAll:Wu,replaceSelection:function(e,n){let t,r,o;if(t=window.getSelection(),t.getRangeAt&&t.rangeCount){if(r=window.getSelection().getRangeAt(0),r.deleteContents(),r.createContextualFragment)o=r.createContextualFragment(e);else{const n=document.createElement("div");let t;for(n.innerHTML=e,o=document.createDocumentFragment();t=n.firstChild;)o.appendChild(t)}const i=o.firstChild,a=o.lastChild;r.insertNode(o),t.removeAllRanges(),n?(i&&(r.setStartBefore(i),r.setEndAfter(a)),t.addRange(r)):(r.setStartAfter(a),t.addRange(r))}},resize:lc,rgb2hex:function(e){return(e=e.match(/^rgba?[\s+]?\([\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?/i))&&4===e.length?"#"+("0"+parseInt(e[1],10).toString(16)).slice(-2)+("0"+parseInt(e[2],10).toString(16)).slice(-2)+("0"+parseInt(e[3],10).toString(16)).slice(-2):""},riterate:function(e,n,t=!1){return iu(e,n,t,!0)},roundDecimal:function(e,n){return Number(Math.round(parseFloat(e+"e"+n+"e-"+n)))},sanitize:function(e,n="_"){let t=["[","]","{","}","(",")","-","+","*","/"],r="[";for(let e=0;e<n.length;e++)t.includes(n[e])&&(r+="\\"),r+=n[e];r+="]+";let o=new RegExp(r,"g");return _c(yu(e).replace(/[^a-z0-9]/gi,n).replace(o,n),n)},search:Bu,selectElementText:function(e,n=null){if(n=n||window,e instanceof HTMLInputElement)return void e.select();let t,r,o=n.document;n.getSelection&&o.createRange?(t=n.getSelection(),r=o.createRange(),r.selectNodeContents(e),t.removeAllRanges(),t.addRange(r)):"createTextRange"in o.body&&"function"==typeof o.body.createTextRange&&(r=o.body.createTextRange(),r.moveToElementText(e),r.select())},selector:Ac,setCookie:function(e,n,t){let r="";if(t){let e=new Date;e.setTime(e.getTime()+24*t*60*60*1e3),r="; expires="+e.toUTCString()}let o=escape(JSON.stringify({value:n}));document.cookie=e+"="+o+r+"; path=/"},setCssVar:function(e,n){0!==e.indexOf("--")&&(e="--"+e),document.documentElement.style.setProperty(e,n)},setNavigationVars:sc,setProp:function(e,n,t,r=!0,o=!0){Object.defineProperty(e,n,{value:t,writable:r,configurable:o})},setProperty:kc,shorten:Cc,shortenObj:function e(n,t=100){let r=_d(n);return au(r,(n,o)=>{Ql(n)&&n.length>t?r[o]=Cc(n,t):n&&"object"==typeof n&&(r[o]=e(n))}),r},shuffle:function(e){let n,t=e.length;for(;0!=t;)n=Math.floor(Math.random()*t),t--,[e[t],e[n]]=[e[n],e[t]];return e},simpleHash:Su,simpleHash1:Eu,simpleHash2:Tu,startChrono:function(e){let n=bbn.fn.microtimestamp();return this.constructor.chronos||Object.defineProperty(this.constructor,"chronos",{value:Object.create(null),writable:!1,configurable:!1}),this.constructor.chronos[e||"default"]=n,e},stopChrono:function(e,n){if(this.constructor.chronos[e||"default"]){let t=bbn.fn.microtimestamp()-this.constructor.chronos[e||"default"];return delete this.constructor.chronos[e||"default"],n&&(t=Math.round(t)/1e3),t}throw Error("No chrono with name "+(e||"default"))},stream:function(e,n,t,r,o,i){const a=Uu(e,t,"json"),s=Lu(a);if(null==s?void 0:s.loader)return s.loader;t||(t={}),bbn.env.token&&(t._bbn_token=bbn.env.token);const m=new AbortController;let l="";const u=e=>{if(e.length){e=e.indexOf("\n")>-1?bbn.fn.removeEmpty(e.split("\n")):[e];for(let t in e)try{const r=JSON.parse(e[t]);(null==r?void 0:r.__bbn_stream_ping__)||n(r)}catch(e){throw e}}},d=fetch(e,{method:"POST",mode:"cors",cache:"no-cache",credentials:"same-origin",headers:{"Content-Type":"application/json"},redirect:"follow",referrerPolicy:"no-referrer",signal:m.signal,body:JSON.stringify(t||{})}).then(e=>{if(e.body){const r=e.body.getReader(),o=nu(n);r.read().then(function e({done:s,value:m}){if(s)return Nu(a,t),l&&u(l),void(i&&i());if(o)if(l+=Vu(m).trim(),bbn.fn.log(["STREAM RESULT",l.length,l]),l)try{u(l),l=""}catch(e){}else n();else bbn.fn.log(["STREAM SUCCESS IS FN? "+o]);return r.read().then(e)})}}).catch(n=>{let i=!(!(s=n)||!0!==s.__BBN_CANCEL__);var s;if(Nu(a,t,i),i){let t=1;nu(o)&&(t=o(n.message,e)),t&&xd(n.message,e)}else{let e=1;nu(r)&&(e=r(n.request,n)),e&&Nd(n.request,n.response?n.response.data:"",n.response?n.response.status:n)}});return fu(a,d,m),d},string2ArrayBuffer:function(e){for(var n=new ArrayBuffer(2*e.length),t=new Uint16Array(n),r=0,o=e.length;r<o;r++)t[r]=e.charCodeAt(r);return n},submit:function(e,n,t){let r,o=e.getAttribute("action")||bbn.env.path;if(""===o&&(o="."),"string"==typeof o&&(0!==o.indexOf("http")||-1!==o.indexOf(window.document.location.hostname))&&!e.getAttribute("target")&&(n&&n.preventDefault(),r=Jd(e),r)){e.setAttribute("action",null);const n=[o,r];!t&&e.getAttribute("data-script")&&(t=(t=new Function(e.getAttribute("data-script")))()),t&&n.push(t),Hc(...n)}},substr:ru,sum:function(e,n,t,r,o){let i=0;return au(Pd(e,t,r,o),e=>{let t="function"==typeof n?n(e):e[n];t&&(i+=parseFloat(t)||0)}),i},timestamp:hc,toCSV:function(e,n=",",t="",r='"'){n||(n=","),r||(r='"');let o="",i=e.length;return au(e,(e,a)=>{let s=mu(e)?e.length:Object.values(e).length,m=0;au(e,e=>{o+="string"==typeof e?r+Wu(r,"\\"+r,e)+r:0===e?"0":e&&e.toString?e.toString():r+r,m++,m<s&&(o+=n)}),a<i-1&&(o+=t+"\n")}),o},toggleFullScreen:function(){"mozRequestFullScreen"in window.document.documentElement?window.document.mozFullScreen?window.document.mozCancelFullScreen():"function"==typeof window.document.documentElement.mozRequestFullScreen&&window.document.documentElement.mozRequestFullScreen():"webkitRequestFullScreen"in window.document.documentElement?window.document.webkitIsFullScreen?window.document.webkitCancelFullScreen():"function"==typeof window.document.documentElement.webkitRequestFullScreen&&window.document.documentElement.webkitRequestFullScreen():"msRequestFullScreen"in window.document.documentElement?window.document.msFullscreenEnabled?window.document.msExitFullscreen():"function"==typeof window.document.documentElement.msRequestFullScreen&&window.document.documentElement.msRequestFullScreen():"requestFullscreen"in window.document&&(window.document.fullscreenEnabled?window.document.exitFullscreen():window.document.documentElement.requestFullscreen()),setTimeout(function(){lc()},0)},translate:function(e,n){let t=n?bbn.lng[0===n.indexOf("_")?n:"_"+n]:bbn.lng;iu(e,(e,n)=>{t[n]=e})},treatAjaxArguments:ac,treatForHash:Hu,trim:_c,uniqString:function(...e){for(var n="",t=0;t<e.length;t++)if(e[t])if("object"==typeof e[t])if(mu(e[t]))n+=JSON.stringify(e[t]);else{let r={};au(Object.keys(e[t]).sort(),n=>{r[n]=e[t][n]}),n+=JSON.stringify(r)}else"string"!=typeof e[t]?n+=e[t].toString():n+=e[t];else n+="__bbn_empty__";return Iu(n)},unique:Xd,upload:function(e,n,t=null,r=null,o=null){const i=()=>Kl.run("post",e||bbn.env.path,{data:zc(n),headers:{},onUploadProgress(e){if(o){let n=Math.round(100*e.loaded/e.total);o(n,e.loaded,e.total)}}});return t||r?i().then(e=>{t&&(tu("SUCCESS",e),t(e))}).catch(e=>{r&&(tu("ERROR",e),r(e))}):i()},warning:Dc,yieldToBrowser:$d};const Gc={version:"1.0.1",opt:{_cat:{}},app:{},_:Yl,$:function(e,n){if(null==n?void 0:n.querySelectorAll)return n.querySelectorAll(e);if(n)throw new Error("Invalid context");return document.body.querySelectorAll(e)},lng:{select_unselect_all:"Select/Clear all",select_all:"Select all",search:"Search",loading:"Loading...",choose:"Choose",error:"Error",server_response:"Server response",reload:"Reload",errorText:"Something went wrong",closeAll:"Close all",closeOthers:"Close others",pin:"Pin",arrange:"Arrange",cancel:"Cancel",unpin:"Unpin",yes:"Yes",no:"No",unknown:"Unknown",untitled:"Untitled",confirmation:"Confirmation",Today:"Today",Tomorrow:"Tomorrow",Yesterday:"Yesterday"},var:Zl,dt:Dd,com:Kl,env:Wl,db:hu,fn:Pc,info:[{value:"ajax",label:"Loading and streaming",description:"Functions related to Ajax requests",icon:"nf nf-fa-rocket"},{value:"browser",label:"Browser-only",description:"Functions that can only be run in the browser",icon:"nf nf-fa-desktop"},{value:"convert",label:"Conversion",description:"Functions related to data conversion",icon:"nf nf-fa-exchange"},{value:"datetime",label:"Date and time",description:"Functions related to dates and times",icon:"nf nf-fa-calendar"},{value:"form",label:"Form manipulation",description:"Functions related to form manipulation and validation",icon:"nf nf-fa-edit"},{value:"html",label:"HTML manipulation",description:"Functions related to HTML manipulation and DOM interaction",icon:"nf nf-fa-html5"},{value:"loop",label:"Looping",description:"Functions related to looping through arrays and objects",icon:"nf nf-fa-repeat"},{value:"misc",label:"Miscellaneous",description:"Miscellaneous functions that do not fit into other categories",icon:"nf nf-fa-cubes"},{value:"object",label:"Object manipulation",description:"Functions related to object manipulation and inspection",icon:"nf nf-fa-object_group"},{value:"phone",label:"Phone and contact",description:"Functions related to phone numbers and contact information",icon:"nf nf-fa-phone"},{value:"string",label:"String manipulation",description:"Functions related to string manipulation and formatting",icon:"nf nf-fa-text_height"},{value:"style",label:"Styling and layout",description:"Functions related to styling and layout management",icon:"nf nf-fa-paint_brush"},{value:"type",label:"Type checking",description:"Functions related to type checking and validation",icon:"nf nf-fa-check_square"}]};"undefined"!=typeof window&&(window.bbn=Gc,window.Temporal||(window.Temporal=jl));var Oc=Object.freeze({__proto__:null,default:{AE:{firstDay:1,weekend:[6,7],minimalDays:1},AF:{firstDay:6,weekend:[4,5],minimalDays:1},AG:{firstDay:7,weekend:[6,7],minimalDays:1},AI:{firstDay:1,weekend:[6,7],minimalDays:1},AL:{firstDay:1,weekend:[6,7],minimalDays:1},AM:{firstDay:1,weekend:[6,7],minimalDays:1},AR:{firstDay:1,weekend:[6,7],minimalDays:1},AS:{firstDay:7,weekend:[6,7],minimalDays:1},AU:{firstDay:1,weekend:[6,7],minimalDays:1},AZ:{firstDay:1,weekend:[6,7],minimalDays:1},BA:{firstDay:1,weekend:[6,7],minimalDays:1},BD:{firstDay:7,weekend:[6,7],minimalDays:1},BH:{firstDay:6,weekend:[5,6],minimalDays:1},BM:{firstDay:1,weekend:[6,7],minimalDays:1},BN:{firstDay:1,weekend:[6,7],minimalDays:1},BR:{firstDay:7,weekend:[6,7],minimalDays:1},BS:{firstDay:7,weekend:[6,7],minimalDays:1},BT:{firstDay:7,weekend:[6,7],minimalDays:1},BW:{firstDay:7,weekend:[6,7],minimalDays:1},BY:{firstDay:1,weekend:[6,7],minimalDays:1},BZ:{firstDay:7,weekend:[6,7],minimalDays:1},CA:{firstDay:7,weekend:[6,7],minimalDays:1},CL:{firstDay:1,weekend:[6,7],minimalDays:1},CM:{firstDay:1,weekend:[6,7],minimalDays:1},CN:{firstDay:1,weekend:[6,7],minimalDays:1},CO:{firstDay:7,weekend:[6,7],minimalDays:1},CR:{firstDay:1,weekend:[6,7],minimalDays:1},CY:{firstDay:1,weekend:[6,7],minimalDays:1},DJ:{firstDay:6,weekend:[6,7],minimalDays:1},DM:{firstDay:7,weekend:[6,7],minimalDays:1},DO:{firstDay:7,weekend:[6,7],minimalDays:1},DZ:{firstDay:6,weekend:[5,6],minimalDays:1},EC:{firstDay:1,weekend:[6,7],minimalDays:1},EG:{firstDay:6,weekend:[5,6],minimalDays:1},ET:{firstDay:7,weekend:[6,7],minimalDays:1},"GB-alt-variant":{firstDay:7,weekend:[6,7],minimalDays:1},GE:{firstDay:1,weekend:[6,7],minimalDays:1},GT:{firstDay:7,weekend:[6,7],minimalDays:1},GU:{firstDay:7,weekend:[6,7],minimalDays:1},HK:{firstDay:7,weekend:[6,7],minimalDays:1},HN:{firstDay:7,weekend:[6,7],minimalDays:1},HR:{firstDay:1,weekend:[6,7],minimalDays:1},ID:{firstDay:7,weekend:[6,7],minimalDays:1},IL:{firstDay:7,weekend:[5,6],minimalDays:1},IN:{firstDay:7,weekend:[7],minimalDays:1},IQ:{firstDay:6,weekend:[5,6],minimalDays:1},IR:{firstDay:6,weekend:[5],minimalDays:1},IS:{firstDay:7,weekend:[6,7],minimalDays:4},JM:{firstDay:7,weekend:[6,7],minimalDays:1},JO:{firstDay:6,weekend:[5,6],minimalDays:1},JP:{firstDay:7,weekend:[6,7],minimalDays:1},KE:{firstDay:7,weekend:[6,7],minimalDays:1},KG:{firstDay:1,weekend:[6,7],minimalDays:1},KH:{firstDay:7,weekend:[6,7],minimalDays:1},KR:{firstDay:7,weekend:[6,7],minimalDays:1},KW:{firstDay:6,weekend:[5,6],minimalDays:1},KZ:{firstDay:1,weekend:[6,7],minimalDays:1},LA:{firstDay:7,weekend:[6,7],minimalDays:1},LB:{firstDay:1,weekend:[6,7],minimalDays:1},LK:{firstDay:1,weekend:[6,7],minimalDays:1},LV:{firstDay:1,weekend:[6,7],minimalDays:1},LY:{firstDay:6,weekend:[5,6],minimalDays:1},MD:{firstDay:1,weekend:[6,7],minimalDays:1},ME:{firstDay:1,weekend:[6,7],minimalDays:1},MH:{firstDay:7,weekend:[6,7],minimalDays:1},MK:{firstDay:1,weekend:[6,7],minimalDays:1},MM:{firstDay:7,weekend:[6,7],minimalDays:1},MN:{firstDay:1,weekend:[6,7],minimalDays:1},MO:{firstDay:7,weekend:[6,7],minimalDays:1},MT:{firstDay:7,weekend:[6,7],minimalDays:1},MV:{firstDay:5,weekend:[6,7],minimalDays:1},MX:{firstDay:7,weekend:[6,7],minimalDays:1},MY:{firstDay:1,weekend:[6,7],minimalDays:1},MZ:{firstDay:7,weekend:[6,7],minimalDays:1},NI:{firstDay:7,weekend:[6,7],minimalDays:1},NP:{firstDay:7,weekend:[6,7],minimalDays:1},NZ:{firstDay:1,weekend:[6,7],minimalDays:1},OM:{firstDay:6,weekend:[5,6],minimalDays:1},PA:{firstDay:7,weekend:[6,7],minimalDays:1},PE:{firstDay:7,weekend:[6,7],minimalDays:1},PH:{firstDay:7,weekend:[6,7],minimalDays:1},PK:{firstDay:7,weekend:[6,7],minimalDays:1},PR:{firstDay:7,weekend:[6,7],minimalDays:1},PT:{firstDay:7,weekend:[6,7],minimalDays:4},PY:{firstDay:7,weekend:[6,7],minimalDays:1},QA:{firstDay:6,weekend:[5,6],minimalDays:1},RO:{firstDay:1,weekend:[6,7],minimalDays:1},RS:{firstDay:1,weekend:[6,7],minimalDays:1},SA:{firstDay:7,weekend:[5,6],minimalDays:1},SD:{firstDay:6,weekend:[5,6],minimalDays:1},SG:{firstDay:7,weekend:[6,7],minimalDays:1},SI:{firstDay:1,weekend:[6,7],minimalDays:1},SV:{firstDay:7,weekend:[6,7],minimalDays:1},SY:{firstDay:6,weekend:[5,6],minimalDays:1},TH:{firstDay:7,weekend:[6,7],minimalDays:1},TJ:{firstDay:1,weekend:[6,7],minimalDays:1},TM:{firstDay:1,weekend:[6,7],minimalDays:1},TR:{firstDay:1,weekend:[6,7],minimalDays:1},TT:{firstDay:7,weekend:[6,7],minimalDays:1},TW:{firstDay:7,weekend:[6,7],minimalDays:1},UA:{firstDay:1,weekend:[6,7],minimalDays:1},UG:{firstDay:1,weekend:[7],minimalDays:1},UM:{firstDay:7,weekend:[6,7],minimalDays:1},US:{firstDay:7,weekend:[6,7],minimalDays:1},UY:{firstDay:1,weekend:[6,7],minimalDays:1},UZ:{firstDay:1,weekend:[6,7],minimalDays:1},VE:{firstDay:7,weekend:[6,7],minimalDays:1},VI:{firstDay:7,weekend:[6,7],minimalDays:1},VN:{firstDay:1,weekend:[6,7],minimalDays:1},WS:{firstDay:7,weekend:[6,7],minimalDays:1},XK:{firstDay:1,weekend:[6,7],minimalDays:1},YE:{firstDay:7,weekend:[5,6],minimalDays:1},ZA:{firstDay:7,weekend:[6,7],minimalDays:1},ZW:{firstDay:7,weekend:[6,7],minimalDays:1}}});Object.defineProperty(e,"__esModule",{value:!0});var Bc=require("tslib").__importDefault(require("./"));(0,require("./should-polyfill").shouldPolyfill)()&&Object.defineProperty(Intl,"RelativeTimeFormat",{value:Bc.default,writable:!0,enumerable:!1,configurable:!0});var xc=Object.freeze({__proto__:null});Intl.RelativeTimeFormat&&"function"==typeof Intl.RelativeTimeFormat.__addLocaleData&&Intl.RelativeTimeFormat.__addLocaleData({data:{day:{"-1":"yesterday",0:"today",1:"tomorrow",future:{one:"in {0} day",other:"in {0} days"},past:{one:"{0} day ago",other:"{0} days ago"}},"day-narrow":{"-1":"yesterday",0:"today",1:"tomorrow",future:{one:"in {0}d",other:"in {0}d"},past:{one:"{0}d ago",other:"{0}d ago"}},"day-short":{"-1":"yesterday",0:"today",1:"tomorrow",future:{one:"in {0} day",other:"in {0} days"},past:{one:"{0} day ago",other:"{0} days ago"}},hour:{0:"this hour",future:{one:"in {0} hour",other:"in {0} hours"},past:{one:"{0} hour ago",other:"{0} hours ago"}},"hour-narrow":{0:"this hour",future:{one:"in {0}h",other:"in {0}h"},past:{one:"{0}h ago",other:"{0}h ago"}},"hour-short":{0:"this hour",future:{one:"in {0} hr.",other:"in {0} hr."},past:{one:"{0} hr. ago",other:"{0} hr. ago"}},minute:{0:"this minute",future:{one:"in {0} minute",other:"in {0} minutes"},past:{one:"{0} minute ago",other:"{0} minutes ago"}},"minute-narrow":{0:"this minute",future:{one:"in {0}m",other:"in {0}m"},past:{one:"{0}m ago",other:"{0}m ago"}},"minute-short":{0:"this minute",future:{one:"in {0} min.",other:"in {0} min."},past:{one:"{0} min. ago",other:"{0} min. ago"}},month:{"-1":"last month",0:"this month",1:"next month",future:{one:"in {0} month",other:"in {0} months"},past:{one:"{0} month ago",other:"{0} months ago"}},"month-narrow":{"-1":"last mo.",0:"this mo.",1:"next mo.",future:{one:"in {0}mo",other:"in {0}mo"},past:{one:"{0}mo ago",other:"{0}mo ago"}},"month-short":{"-1":"last mo.",0:"this mo.",1:"next mo.",future:{one:"in {0} mo.",other:"in {0} mo."},past:{one:"{0} mo. ago",other:"{0} mo. ago"}},nu:["latn"],quarter:{"-1":"last quarter",0:"this quarter",1:"next quarter",future:{one:"in {0} quarter",other:"in {0} quarters"},past:{one:"{0} quarter ago",other:"{0} quarters ago"}},"quarter-narrow":{"-1":"last qtr.",0:"this qtr.",1:"next qtr.",future:{one:"in {0}q",other:"in {0}q"},past:{one:"{0}q ago",other:"{0}q ago"}},"quarter-short":{"-1":"last qtr.",0:"this qtr.",1:"next qtr.",future:{one:"in {0} qtr.",other:"in {0} qtrs."},past:{one:"{0} qtr. ago",other:"{0} qtrs. ago"}},second:{0:"now",future:{one:"in {0} second",other:"in {0} seconds"},past:{one:"{0} second ago",other:"{0} seconds ago"}},"second-narrow":{0:"now",future:{one:"in {0}s",other:"in {0}s"},past:{one:"{0}s ago",other:"{0}s ago"}},"second-short":{0:"now",future:{one:"in {0} sec.",other:"in {0} sec."},past:{one:"{0} sec. ago",other:"{0} sec. ago"}},week:{"-1":"last week",0:"this week",1:"next week",future:{one:"in {0} week",other:"in {0} weeks"},past:{one:"{0} week ago",other:"{0} weeks ago"}},"week-narrow":{"-1":"last wk.",0:"this wk.",1:"next wk.",future:{one:"in {0}w",other:"in {0}w"},past:{one:"{0}w ago",other:"{0}w ago"}},"week-short":{"-1":"last wk.",0:"this wk.",1:"next wk.",future:{one:"in {0} wk.",other:"in {0} wk."},past:{one:"{0} wk. ago",other:"{0} wk. ago"}},year:{"-1":"last year",0:"this year",1:"next year",future:{one:"in {0} year",other:"in {0} years"},past:{one:"{0} year ago",other:"{0} years ago"}},"year-narrow":{"-1":"last yr.",0:"this yr.",1:"next yr.",future:{one:"in {0}y",other:"in {0}y"},past:{one:"{0}y ago",other:"{0}y ago"}},"year-short":{"-1":"last yr.",0:"this yr.",1:"next yr.",future:{one:"in {0} yr.",other:"in {0} yr."},past:{one:"{0} yr. ago",other:"{0} yr. ago"}}},locale:"en"});var Nc=Object.freeze({__proto__:null});Object.defineProperty(e,"__esModule",{value:!0});var Lc=require("./"),jc=require("@formatjs/ecma402-abstract"),Rc=require("./should-polyfill"),Fc=require("./src/to_locale_string");(0,Rc.shouldPolyfill)()&&((0,jc.defineProperty)(Intl,"DateTimeFormat",{value:Lc.DateTimeFormat}),(0,jc.defineProperty)(Date.prototype,"toLocaleString",{value:function(e,n){void 0===n&&(n={dateStyle:"short",timeStyle:"medium"});try{return(0,Fc.toLocaleString)(this,e,n)}catch(e){return"Invalid Date"}}}),(0,jc.defineProperty)(Date.prototype,"toLocaleDateString",{value:function(e,n){void 0===n&&(n={dateStyle:"short"});try{return(0,Fc.toLocaleDateString)(this,e,n)}catch(e){return"Invalid Date"}}}),(0,jc.defineProperty)(Date.prototype,"toLocaleTimeString",{value:function(e,n){void 0===n&&(n={timeStyle:"medium"});try{return(0,Fc.toLocaleTimeString)(this,e,n)}catch(e){return"Invalid Date"}}}));var Yc=Object.freeze({__proto__:null});Intl.DateTimeFormat&&"function"==typeof Intl.DateTimeFormat.__addLocaleData&&Intl.DateTimeFormat.__addLocaleData({data:{am:"AM",pm:"PM",weekday:{narrow:["S","M","T","W","T","F","S"],short:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],long:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},era:{narrow:{BC:"B",AD:"A"},short:{BC:"BC",AD:"AD"},long:{BC:"Before Christ",AD:"Anno Domini"}},month:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],short:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],long:["January","February","March","April","May","June","July","August","September","October","November","December"]},timeZoneName:{"America/Rio_Branco":{long:["Acre Standard Time","Acre Summer Time"]},"Asia/Kabul":{long:["Afghanistan Time","Afghanistan Time"]},"Africa/Maputo":{long:["Central Africa Time","Central Africa Time"]},"Africa/Bujumbura":{long:["Central Africa Time","Central Africa Time"]},"Africa/Gaborone":{long:["Central Africa Time","Central Africa Time"]},"Africa/Lubumbashi":{long:["Central Africa Time","Central Africa Time"]},"Africa/Blantyre":{long:["Central Africa Time","Central Africa Time"]},"Africa/Kigali":{long:["Central Africa Time","Central Africa Time"]},"Africa/Lusaka":{long:["Central Africa Time","Central Africa Time"]},"Africa/Harare":{long:["Central Africa Time","Central Africa Time"]},"Africa/Nairobi":{long:["East Africa Time","East Africa Time"]},"Africa/Djibouti":{long:["East Africa Time","East Africa Time"]},"Africa/Asmera":{long:["East Africa Time","East Africa Time"]},"Africa/Addis_Ababa":{long:["East Africa Time","East Africa Time"]},"Indian/Comoro":{long:["East Africa Time","East Africa Time"]},"Indian/Antananarivo":{long:["East Africa Time","East Africa Time"]},"Africa/Mogadishu":{long:["East Africa Time","East Africa Time"]},"Africa/Dar_es_Salaam":{long:["East Africa Time","East Africa Time"]},"Africa/Kampala":{long:["East Africa Time","East Africa Time"]},"Indian/Mayotte":{long:["East Africa Time","East Africa Time"]},"Africa/Johannesburg":{long:["South Africa Standard Time","South Africa Standard Time"]},"Africa/Maseru":{long:["South Africa Standard Time","South Africa Standard Time"]},"Africa/Mbabane":{long:["South Africa Standard Time","South Africa Standard Time"]},"Africa/Lagos":{long:["West Africa Standard Time","West Africa Summer Time"]},"Africa/Luanda":{long:["West Africa Standard Time","West Africa Summer Time"]},"Africa/Porto-Novo":{long:["West Africa Standard Time","West Africa Summer Time"]},"Africa/Kinshasa":{long:["West Africa Standard Time","West Africa Summer Time"]},"Africa/Bangui":{long:["West Africa Standard Time","West Africa Summer Time"]},"Africa/Brazzaville":{long:["West Africa Standard Time","West Africa Summer Time"]},"Africa/Douala":{long:["West Africa Standard Time","West Africa Summer Time"]},"Africa/Libreville":{long:["West Africa Standard Time","West Africa Summer Time"]},"Africa/Malabo":{long:["West Africa Standard Time","West Africa Summer Time"]},"Africa/Niamey":{long:["West Africa Standard Time","West Africa Summer Time"]},"Africa/Ndjamena":{long:["West Africa Standard Time","West Africa Summer Time"]},"Asia/Aqtobe":{long:["West Kazakhstan Time","West Kazakhstan Time"]},"America/Juneau":{long:["Alaska Standard Time","Alaska Daylight Time"],short:["AKST","AKDT"]},"Asia/Almaty":{long:["East Kazakhstan Time","East Kazakhstan Time"]},"America/Manaus":{long:["Amazon Standard Time","Amazon Summer Time"]},"America/Chicago":{long:["Central Standard Time","Central Daylight Time"],short:["CST","CDT"]},"America/Belize":{long:["Central Standard Time","Central Daylight Time"],short:["CST","CDT"]},"America/Winnipeg":{long:["Central Standard Time","Central Daylight Time"],short:["CST","CDT"]},"America/Costa_Rica":{long:["Central Standard Time","Central Daylight Time"],short:["CST","CDT"]},"America/Guatemala":{long:["Central Standard Time","Central Daylight Time"],short:["CST","CDT"]},"America/Tegucigalpa":{long:["Central Standard Time","Central Daylight Time"],short:["CST","CDT"]},"America/Mexico_City":{long:["Central Standard Time","Central Daylight Time"],short:["CST","CDT"]},"America/El_Salvador":{long:["Central Standard Time","Central Daylight Time"],short:["CST","CDT"]},"America/New_York":{long:["Eastern Standard Time","Eastern Daylight Time"],short:["EST","EDT"]},"America/Nassau":{long:["Eastern Standard Time","Eastern Daylight Time"],short:["EST","EDT"]},"America/Toronto":{long:["Eastern Standard Time","Eastern Daylight Time"],short:["EST","EDT"]},"America/Port-au-Prince":{long:["Eastern Standard Time","Eastern Daylight Time"],short:["EST","EDT"]},"America/Jamaica":{long:["Eastern Standard Time","Eastern Daylight Time"],short:["EST","EDT"]},"America/Cayman":{long:["Eastern Standard Time","Eastern Daylight Time"],short:["EST","EDT"]},"America/Panama":{long:["Eastern Standard Time","Eastern Daylight Time"],short:["EST","EDT"]},"America/Denver":{long:["Mountain Standard Time","Mountain Daylight Time"],short:["MST","MDT"]},"America/Edmonton":{long:["Mountain Standard Time","Mountain Daylight Time"],short:["MST","MDT"]},"America/Los_Angeles":{long:["Pacific Standard Time","Pacific Daylight Time"],short:["PST","PDT"]},"America/Vancouver":{long:["Pacific Standard Time","Pacific Daylight Time"],short:["PST","PDT"]},"America/Tijuana":{long:["Pacific Standard Time","Pacific Daylight Time"],short:["PST","PDT"]},"Asia/Anadyr":{long:["Anadyr Standard Time","Anadyr Summer Time"]},"Pacific/Apia":{long:["Apia Standard Time","Apia Daylight Time"]},"Asia/Riyadh":{long:["Arabian Standard Time","Arabian Daylight Time"]},"Asia/Bahrain":{long:["Arabian Standard Time","Arabian Daylight Time"]},"Asia/Baghdad":{long:["Arabian Standard Time","Arabian Daylight Time"]},"Asia/Kuwait":{long:["Arabian Standard Time","Arabian Daylight Time"]},"Asia/Qatar":{long:["Arabian Standard Time","Arabian Daylight Time"]},"Asia/Aden":{long:["Arabian Standard Time","Arabian Daylight Time"]},"America/Buenos_Aires":{long:["Argentina Standard Time","Argentina Summer Time"]},"America/Argentina/San_Luis":{long:["Western Argentina Standard Time","Western Argentina Summer Time"]},"Asia/Ashgabat":{long:["Turkmenistan Standard Time","Turkmenistan Summer Time"]},"America/Halifax":{long:["Atlantic Standard Time","Atlantic Daylight Time"],short:["AST","ADT"]},"America/Antigua":{long:["Atlantic Standard Time","Atlantic Daylight Time"],short:["AST","ADT"]},"America/Anguilla":{long:["Atlantic Standard Time","Atlantic Daylight Time"],short:["AST","ADT"]},"America/Aruba":{long:["Atlantic Standard Time","Atlantic Daylight Time"],short:["AST","ADT"]},"America/Barbados":{long:["Atlantic Standard Time","Atlantic Daylight Time"],short:["AST","ADT"]},"Atlantic/Bermuda":{long:["Atlantic Standard Time","Atlantic Daylight Time"],short:["AST","ADT"]},"America/Kralendijk":{long:["Atlantic Standard Time","Atlantic Daylight Time"],short:["AST","ADT"]},"America/Curacao":{long:["Atlantic Standard Time","Atlantic Daylight Time"],short:["AST","ADT"]},"America/Dominica":{long:["Atlantic Standard Time","Atlantic Daylight Time"],short:["AST","ADT"]},"America/Grenada":{long:["Atlantic Standard Time","Atlantic Daylight Time"],short:["AST","ADT"]},"America/Thule":{long:["Atlantic Standard Time","Atlantic Daylight Time"],short:["AST","ADT"]},"America/Guadeloupe":{long:["Atlantic Standard Time","Atlantic Daylight Time"],short:["AST","ADT"]},"America/St_Kitts":{long:["Atlantic Standard Time","Atlantic Daylight Time"],short:["AST","ADT"]},"America/St_Lucia":{long:["Atlantic Standard Time","Atlantic Daylight Time"],short:["AST","ADT"]},"America/Marigot":{long:["Atlantic Standard Time","Atlantic Daylight Time"],short:["AST","ADT"]},"America/Martinique":{long:["Atlantic Standard Time","Atlantic Daylight Time"],short:["AST","ADT"]},"America/Montserrat":{long:["Atlantic Standard Time","Atlantic Daylight Time"],short:["AST","ADT"]},"America/Puerto_Rico":{long:["Atlantic Standard Time","Atlantic Daylight Time"],short:["AST","ADT"]},"America/Lower_Princes":{long:["Atlantic Standard Time","Atlantic Daylight Time"],short:["AST","ADT"]},"America/Port_of_Spain":{long:["Atlantic Standard Time","Atlantic Daylight Time"],short:["AST","ADT"]},"America/St_Vincent":{long:["Atlantic Standard Time","Atlantic Daylight Time"],short:["AST","ADT"]},"America/Tortola":{long:["Atlantic Standard Time","Atlantic Daylight Time"],short:["AST","ADT"]},"America/St_Thomas":{long:["Atlantic Standard Time","Atlantic Daylight Time"],short:["AST","ADT"]},"Australia/Adelaide":{long:["Australian Central Standard Time","Australian Central Daylight Time"]},"Australia/Eucla":{long:["Australian Central Western Standard Time","Australian Central Western Daylight Time"]},"Australia/Sydney":{long:["Australian Eastern Standard Time","Australian Eastern Daylight Time"]},"Australia/Perth":{long:["Australian Western Standard Time","Australian Western Daylight Time"]},"Atlantic/Azores":{long:["Azores Standard Time","Azores Summer Time"]},"Asia/Thimphu":{long:["Bhutan Time","Bhutan Time"]},"America/La_Paz":{long:["Bolivia Time","Bolivia Time"]},"Asia/Kuching":{long:["Malaysia Time","Malaysia Time"]},"America/Sao_Paulo":{long:["Brasilia Standard Time","Brasilia Summer Time"]},"Europe/London":{long:["Greenwich Mean Time","Greenwich Mean Time"],short:["GMT","GMT"]},"Asia/Brunei":{long:["Brunei Darussalam Time","Brunei Darussalam Time"]},"Atlantic/Cape_Verde":{long:["Cape Verde Standard Time","Cape Verde Summer Time"]},"Antarctica/Casey":{long:["Casey Time","Casey Time"]},"Pacific/Saipan":{long:["North Mariana Islands Time","North Mariana Islands Time"]},"Pacific/Guam":{long:["Guam Standard Time","Guam Standard Time"]},"Pacific/Chatham":{long:["Chatham Standard Time","Chatham Daylight Time"]},"America/Santiago":{long:["Chile Standard Time","Chile Summer Time"]},"Asia/Shanghai":{long:["China Standard Time","China Daylight Time"]},"Indian/Christmas":{long:["Christmas Island Time","Christmas Island Time"]},"Indian/Cocos":{long:["Cocos Islands Time","Cocos Islands Time"]},"America/Bogota":{long:["Colombia Standard Time","Colombia Summer Time"]},"Pacific/Rarotonga":{long:["Cook Islands Standard Time","Cook Islands Half Summer Time"]},"America/Havana":{long:["Cuba Standard Time","Cuba Daylight Time"]},"Antarctica/Davis":{long:["Davis Time","Davis Time"]},"Antarctica/DumontDUrville":{long:["Dumont-d’Urville Time","Dumont-d’Urville Time"]},"Asia/Dushanbe":{long:["Tajikistan Time","Tajikistan Time"]},"America/Paramaribo":{long:["Suriname Time","Suriname Time"]},"Asia/Dili":{long:["East Timor Time","East Timor Time"]},"Pacific/Easter":{long:["Easter Island Standard Time","Easter Island Summer Time"]},"America/Guayaquil":{long:["Ecuador Time","Ecuador Time"]},"Europe/Paris":{long:["Central European Standard Time","Central European Summer Time"]},"Europe/Andorra":{long:["Central European Standard Time","Central European Summer Time"]},"Europe/Tirane":{long:["Central European Standard Time","Central European Summer Time"]},"Europe/Vienna":{long:["Central European Standard Time","Central European Summer Time"]},"Europe/Sarajevo":{long:["Central European Standard Time","Central European Summer Time"]},"Europe/Brussels":{long:["Central European Standard Time","Central European Summer Time"]},"Europe/Zurich":{long:["Central European Standard Time","Central European Summer Time"]},"Europe/Prague":{long:["Central European Standard Time","Central European Summer Time"]},"Europe/Berlin":{long:["Central European Standard Time","Central European Summer Time"]},"Europe/Copenhagen":{long:["Central European Standard Time","Central European Summer Time"]},"Europe/Madrid":{long:["Central European Standard Time","Central European Summer Time"]},"Europe/Gibraltar":{long:["Central European Standard Time","Central European Summer Time"]},"Europe/Zagreb":{long:["Central European Standard Time","Central European Summer Time"]},"Europe/Budapest":{long:["Central European Standard Time","Central European Summer Time"]},"Europe/Rome":{long:["Central European Standard Time","Central European Summer Time"]},"Europe/Vaduz":{long:["Central European Standard Time","Central European Summer Time"]},"Europe/Luxembourg":{long:["Central European Standard Time","Central European Summer Time"]},"Europe/Monaco":{long:["Central European Standard Time","Central European Summer Time"]},"Europe/Podgorica":{long:["Central European Standard Time","Central European Summer Time"]},"Europe/Skopje":{long:["Central European Standard Time","Central European Summer Time"]},"Europe/Malta":{long:["Central European Standard Time","Central European Summer Time"]},"Europe/Amsterdam":{long:["Central European Standard Time","Central European Summer Time"]},"Europe/Oslo":{long:["Central European Standard Time","Central European Summer Time"]},"Europe/Warsaw":{long:["Central European Standard Time","Central European Summer Time"]},"Europe/Belgrade":{long:["Central European Standard Time","Central European Summer Time"]},"Europe/Stockholm":{long:["Central European Standard Time","Central European Summer Time"]},"Europe/Ljubljana":{long:["Central European Standard Time","Central European Summer Time"]},"Arctic/Longyearbyen":{long:["Central European Standard Time","Central European Summer Time"]},"Europe/Bratislava":{long:["Central European Standard Time","Central European Summer Time"]},"Europe/San_Marino":{long:["Central European Standard Time","Central European Summer Time"]},"Africa/Tunis":{long:["Central European Standard Time","Central European Summer Time"]},"Europe/Vatican":{long:["Central European Standard Time","Central European Summer Time"]},"Europe/Bucharest":{long:["Eastern European Standard Time","Eastern European Summer Time"]},"Europe/Mariehamn":{long:["Eastern European Standard Time","Eastern European Summer Time"]},"Europe/Sofia":{long:["Eastern European Standard Time","Eastern European Summer Time"]},"Asia/Nicosia":{long:["Eastern European Standard Time","Eastern European Summer Time"]},"Africa/Cairo":{long:["Eastern European Standard Time","Eastern European Summer Time"]},"Europe/Helsinki":{long:["Eastern European Standard Time","Eastern European Summer Time"]},"Europe/Athens":{long:["Eastern European Standard Time","Eastern European Summer Time"]},"Asia/Beirut":{long:["Eastern European Standard Time","Eastern European Summer Time"]},"Europe/Minsk":{long:["Further-eastern European Time","Further-eastern European Time"]},"Europe/Kaliningrad":{long:["Further-eastern European Time","Further-eastern European Time"]},"Atlantic/Canary":{long:["Western European Standard Time","Western European Summer Time"]},"Atlantic/Faeroe":{long:["Western European Standard Time","Western European Summer Time"]},"Atlantic/Stanley":{long:["Falkland Islands Standard Time","Falkland Islands Summer Time"]},"Pacific/Fiji":{long:["Fiji Standard Time","Fiji Summer Time"]},"America/Cayenne":{long:["French Guiana Time","French Guiana Time"]},"Indian/Kerguelen":{long:["French Southern & Antarctic Time","French Southern & Antarctic Time"]},"Asia/Bishkek":{long:["Kyrgyzstan Time","Kyrgyzstan Time"]},"Pacific/Galapagos":{long:["Galapagos Time","Galapagos Time"]},"Pacific/Gambier":{long:["Gambier Time","Gambier Time"]},"Pacific/Tarawa":{long:["Gilbert Islands Time","Gilbert Islands Time"]},"Atlantic/Reykjavik":{long:["Greenwich Mean Time","Greenwich Mean Time"],short:["GMT","GMT"]},"Africa/Ouagadougou":{long:["Greenwich Mean Time","Greenwich Mean Time"],short:["GMT","GMT"]},"Africa/Abidjan":{long:["Greenwich Mean Time","Greenwich Mean Time"],short:["GMT","GMT"]},"Africa/Accra":{long:["Greenwich Mean Time","Greenwich Mean Time"],short:["GMT","GMT"]},"Africa/Banjul":{long:["Greenwich Mean Time","Greenwich Mean Time"],short:["GMT","GMT"]},"Africa/Conakry":{long:["Greenwich Mean Time","Greenwich Mean Time"],short:["GMT","GMT"]},"Africa/Bamako":{long:["Greenwich Mean Time","Greenwich Mean Time"],short:["GMT","GMT"]},"Africa/Nouakchott":{long:["Greenwich Mean Time","Greenwich Mean Time"],short:["GMT","GMT"]},"Atlantic/St_Helena":{long:["Greenwich Mean Time","Greenwich Mean Time"],short:["GMT","GMT"]},"Africa/Freetown":{long:["Greenwich Mean Time","Greenwich Mean Time"],short:["GMT","GMT"]},"Africa/Dakar":{long:["Greenwich Mean Time","Greenwich Mean Time"],short:["GMT","GMT"]},"Africa/Lome":{long:["Greenwich Mean Time","Greenwich Mean Time"],short:["GMT","GMT"]},"America/Godthab":{long:["West Greenland Standard Time","West Greenland Summer Time"]},"America/Scoresbysund":{long:["East Greenland Standard Time","East Greenland Summer Time"]},"Asia/Dubai":{long:["Gulf Standard Time","Gulf Standard Time"]},"Asia/Muscat":{long:["Gulf Standard Time","Gulf Standard Time"]},"America/Guyana":{long:["Guyana Time","Guyana Time"]},"Pacific/Honolulu":{long:["Hawaii-Aleutian Standard Time","Hawaii-Aleutian Daylight Time"],short:["HAST","HADT"]},"Asia/Hong_Kong":{long:["Hong Kong Standard Time","Hong Kong Summer Time"]},"Asia/Hovd":{long:["Hovd Standard Time","Hovd Summer Time"]},"Asia/Calcutta":{long:["India Standard Time","India Standard Time"]},"Asia/Colombo":{long:["Lanka Time","Lanka Time"]},"Indian/Chagos":{long:["Indian Ocean Time","Indian Ocean Time"]},"Asia/Bangkok":{long:["Indochina Time","Indochina Time"]},"Asia/Phnom_Penh":{long:["Indochina Time","Indochina Time"]},"Asia/Vientiane":{long:["Indochina Time","Indochina Time"]},"Asia/Makassar":{long:["Central Indonesia Time","Central Indonesia Time"]},"Asia/Jayapura":{long:["Eastern Indonesia Time","Eastern Indonesia Time"]},"Asia/Jakarta":{long:["Western Indonesia Time","Western Indonesia Time"]},"Asia/Tehran":{long:["Iran Standard Time","Iran Daylight Time"]},"Asia/Irkutsk":{long:["Irkutsk Standard Time","Irkutsk Summer Time"]},"Asia/Jerusalem":{long:["Israel Standard Time","Israel Daylight Time"]},"Asia/Tokyo":{long:["Japan Standard Time","Japan Daylight Time"]},"Asia/Kamchatka":{long:["Petropavlovsk-Kamchatski Standard Time","Petropavlovsk-Kamchatski Summer Time"]},"Asia/Karachi":{long:["Pakistan Standard Time","Pakistan Summer Time"]},"Asia/Qyzylorda":{long:["Qyzylorda Standard Time","Qyzylorda Summer Time"]},"Asia/Seoul":{long:["Korean Standard Time","Korean Daylight Time"]},"Pacific/Kosrae":{long:["Kosrae Time","Kosrae Time"]},"Asia/Krasnoyarsk":{long:["Krasnoyarsk Standard Time","Krasnoyarsk Summer Time"]},"Europe/Samara":{long:["Samara Standard Time","Samara Summer Time"]},"Pacific/Kiritimati":{long:["Line Islands Time","Line Islands Time"]},"Australia/Lord_Howe":{long:["Lord Howe Standard Time","Lord Howe Daylight Time"]},"Asia/Macau":{long:["Macao Standard Time","Macao Summer Time"]},"Asia/Magadan":{long:["Magadan Standard Time","Magadan Summer Time"]},"Indian/Maldives":{long:["Maldives Time","Maldives Time"]},"Pacific/Marquesas":{long:["Marquesas Time","Marquesas Time"]},"Pacific/Majuro":{long:["Marshall Islands Time","Marshall Islands Time"]},"Indian/Mauritius":{long:["Mauritius Standard Time","Mauritius Summer Time"]},"Antarctica/Mawson":{long:["Mawson Time","Mawson Time"]},"America/Mazatlan":{long:["Mexican Pacific Standard Time","Mexican Pacific Daylight Time"]},"Asia/Ulaanbaatar":{long:["Ulaanbaatar Standard Time","Ulaanbaatar Summer Time"]},"Europe/Moscow":{long:["Moscow Standard Time","Moscow Summer Time"]},"Asia/Rangoon":{long:["Myanmar Time","Myanmar Time"]},"Pacific/Nauru":{long:["Nauru Time","Nauru Time"]},"Asia/Katmandu":{long:["Nepal Time","Nepal Time"]},"Pacific/Noumea":{long:["New Caledonia Standard Time","New Caledonia Summer Time"]},"Pacific/Auckland":{long:["New Zealand Standard Time","New Zealand Daylight Time"]},"Antarctica/McMurdo":{long:["New Zealand Standard Time","New Zealand Daylight Time"]},"America/St_Johns":{long:["Newfoundland Standard Time","Newfoundland Daylight Time"]},"Pacific/Niue":{long:["Niue Time","Niue Time"]},"Pacific/Norfolk":{long:["Norfolk Island Standard Time","Norfolk Island Daylight Time"]},"America/Noronha":{long:["Fernando de Noronha Standard Time","Fernando de Noronha Summer Time"]},"Asia/Novosibirsk":{long:["Novosibirsk Standard Time","Novosibirsk Summer Time"]},"Asia/Omsk":{long:["Omsk Standard Time","Omsk Summer Time"]},"Pacific/Palau":{long:["Palau Time","Palau Time"]},"Pacific/Port_Moresby":{long:["Papua New Guinea Time","Papua New Guinea Time"]},"America/Asuncion":{long:["Paraguay Standard Time","Paraguay Summer Time"]},"America/Lima":{long:["Peru Standard Time","Peru Summer Time"]},"Asia/Manila":{long:["Philippine Standard Time","Philippine Summer Time"]},"Pacific/Enderbury":{long:["Phoenix Islands Time","Phoenix Islands Time"]},"America/Miquelon":{long:["St. Pierre & Miquelon Standard Time","St. Pierre & Miquelon Daylight Time"]},"Pacific/Pitcairn":{long:["Pitcairn Time","Pitcairn Time"]},"Pacific/Ponape":{long:["Ponape Time","Ponape Time"]},"Asia/Pyongyang":{long:["Pyongyang Time","Pyongyang Time"]},"Indian/Reunion":{long:["Réunion Time","Réunion Time"]},"Antarctica/Rothera":{long:["Rothera Time","Rothera Time"]},"Asia/Sakhalin":{long:["Sakhalin Standard Time","Sakhalin Summer Time"]},"Pacific/Pago_Pago":{long:["Samoa Standard Time","Samoa Daylight Time"]},"Indian/Mahe":{long:["Seychelles Time","Seychelles Time"]},"Asia/Singapore":{long:["Singapore Standard Time","Singapore Standard Time"]},"Pacific/Guadalcanal":{long:["Solomon Islands Time","Solomon Islands Time"]},"Atlantic/South_Georgia":{long:["South Georgia Time","South Georgia Time"]},"Asia/Yekaterinburg":{long:["Yekaterinburg Standard Time","Yekaterinburg Summer Time"]},"Antarctica/Syowa":{long:["Syowa Time","Syowa Time"]},"Pacific/Tahiti":{long:["Tahiti Time","Tahiti Time"]},"Asia/Taipei":{long:["Taipei Standard Time","Taipei Daylight Time"]},"Asia/Tashkent":{long:["Uzbekistan Standard Time","Uzbekistan Summer Time"]},"Pacific/Fakaofo":{long:["Tokelau Time","Tokelau Time"]},"Pacific/Tongatapu":{long:["Tonga Standard Time","Tonga Summer Time"]},"Pacific/Truk":{long:["Chuuk Time","Chuuk Time"]},"Pacific/Funafuti":{long:["Tuvalu Time","Tuvalu Time"]},"America/Montevideo":{long:["Uruguay Standard Time","Uruguay Summer Time"]},"Pacific/Efate":{long:["Vanuatu Standard Time","Vanuatu Summer Time"]},"America/Caracas":{long:["Venezuela Time","Venezuela Time"]},"Asia/Vladivostok":{long:["Vladivostok Standard Time","Vladivostok Summer Time"]},"Europe/Volgograd":{long:["Volgograd Standard Time","Volgograd Summer Time"]},"Antarctica/Vostok":{long:["Vostok Time","Vostok Time"]},"Pacific/Wake":{long:["Wake Island Time","Wake Island Time"]},"Pacific/Wallis":{long:["Wallis & Futuna Time","Wallis & Futuna Time"]},"Asia/Yakutsk":{long:["Yakutsk Standard Time","Yakutsk Summer Time"]},"America/Whitehorse":{long:["Yukon Time","Yukon Time"]},UTC:{long:["Coordinated Universal Time","Coordinated Universal Time"],short:["UTC","UTC"]}},gmtFormat:"GMT{0}",hourFormat:"+HH:mm;-HH:mm",dateFormat:{full:"EEEE, MMMM d, y",long:"MMMM d, y",medium:"MMM d, y",short:"M/d/yy"},timeFormat:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},dateTimeFormat:{full:"{1}, {0}",long:"{1}, {0}",medium:"{1}, {0}",short:"{1}, {0}"},formats:{gregory:{Bh:"h B",Bhm:"h:mm B",Bhms:"h:mm:ss B",d:"d",E:"ccc",EBhm:"E h:mm B",EBhms:"E h:mm:ss B",Ed:"d E",Ehm:"E h:mm a","Ehm-alt-ascii":"E h:mm a",EHm:"E HH:mm",Ehms:"E h:mm:ss a","Ehms-alt-ascii":"E h:mm:ss a",EHms:"E HH:mm:ss",Gy:"y G",GyMd:"M/d/y G",GyMMM:"MMM y G",GyMMMd:"MMM d, y G",GyMMMEd:"E, MMM d, y G",h:"h a","h-alt-ascii":"h a",H:"HH",hm:"h:mm a","hm-alt-ascii":"h:mm a",Hm:"HH:mm",hms:"h:mm:ss a","hms-alt-ascii":"h:mm:ss a",Hms:"HH:mm:ss",hmsv:"h:mm:ss a v","hmsv-alt-ascii":"h:mm:ss a v",Hmsv:"HH:mm:ss v",hmv:"h:mm a v","hmv-alt-ascii":"h:mm a v",Hmv:"HH:mm v",M:"L",Md:"M/d",MEd:"E, M/d",MMM:"LLL",MMMd:"MMM d",MMMEd:"E, MMM d",MMMMd:"MMMM d",ms:"mm:ss",y:"y",yM:"M/y",yMd:"M/d/y",yMEd:"E, M/d/y",yMMM:"MMM y",yMMMd:"MMM d, y",yMMMEd:"E, MMM d, y",yMMMM:"MMMM y","EEEE, MMMM d, y":"EEEE, MMMM d, y","MMMM d, y":"MMMM d, y","MMM d, y":"MMM d, y","M/d/yy":"M/d/yy","h:mm:ss a zzzz":"h:mm:ss a zzzz","h:mm:ss a zzzz":"h:mm:ss a zzzz","h:mm:ss a z":"h:mm:ss a z","h:mm:ss a z":"h:mm:ss a z","h:mm:ss a":"h:mm:ss a","h:mm:ss a":"h:mm:ss a","h:mm a":"h:mm a","h:mm a":"h:mm a","EEEE, MMMM d, y, h:mm:ss a zzzz":"EEEE, MMMM d, y, h:mm:ss a zzzz","MMMM d, y, h:mm:ss a zzzz":"MMMM d, y, h:mm:ss a zzzz","MMM d, y, h:mm:ss a zzzz":"MMM d, y, h:mm:ss a zzzz","M/d/yy, h:mm:ss a zzzz":"M/d/yy, h:mm:ss a zzzz","d, h:mm:ss a zzzz":"d, h:mm:ss a zzzz","E, h:mm:ss a zzzz":"ccc, h:mm:ss a zzzz","Ed, h:mm:ss a zzzz":"d E, h:mm:ss a zzzz","Gy, h:mm:ss a zzzz":"y G, h:mm:ss a zzzz","GyMd, h:mm:ss a zzzz":"M/d/y G, h:mm:ss a zzzz","GyMMM, h:mm:ss a zzzz":"MMM y G, h:mm:ss a zzzz","GyMMMd, h:mm:ss a zzzz":"MMM d, y G, h:mm:ss a zzzz","GyMMMEd, h:mm:ss a zzzz":"E, MMM d, y G, h:mm:ss a zzzz","M, h:mm:ss a zzzz":"L, h:mm:ss a zzzz","Md, h:mm:ss a zzzz":"M/d, h:mm:ss a zzzz","MEd, h:mm:ss a zzzz":"E, M/d, h:mm:ss a zzzz","MMM, h:mm:ss a zzzz":"LLL, h:mm:ss a zzzz","MMMd, h:mm:ss a zzzz":"MMM d, h:mm:ss a zzzz","MMMEd, h:mm:ss a zzzz":"E, MMM d, h:mm:ss a zzzz","MMMMd, h:mm:ss a zzzz":"MMMM d, h:mm:ss a zzzz","y, h:mm:ss a zzzz":"y, h:mm:ss a zzzz","yM, h:mm:ss a zzzz":"M/y, h:mm:ss a zzzz","yMd, h:mm:ss a zzzz":"M/d/y, h:mm:ss a zzzz","yMEd, h:mm:ss a zzzz":"E, M/d/y, h:mm:ss a zzzz","yMMM, h:mm:ss a zzzz":"MMM y, h:mm:ss a zzzz","yMMMd, h:mm:ss a zzzz":"MMM d, y, h:mm:ss a zzzz","yMMMEd, h:mm:ss a zzzz":"E, MMM d, y, h:mm:ss a zzzz","yMMMM, h:mm:ss a zzzz":"MMMM y, h:mm:ss a zzzz","EEEE, MMMM d, y, h:mm:ss a zzzz":"EEEE, MMMM d, y, h:mm:ss a zzzz","MMMM d, y, h:mm:ss a zzzz":"MMMM d, y, h:mm:ss a zzzz","MMM d, y, h:mm:ss a zzzz":"MMM d, y, h:mm:ss a zzzz","M/d/yy, h:mm:ss a zzzz":"M/d/yy, h:mm:ss a zzzz","d, h:mm:ss a zzzz":"d, h:mm:ss a zzzz","E, h:mm:ss a zzzz":"ccc, h:mm:ss a zzzz","Ed, h:mm:ss a zzzz":"d E, h:mm:ss a zzzz","Gy, h:mm:ss a zzzz":"y G, h:mm:ss a zzzz","GyMd, h:mm:ss a zzzz":"M/d/y G, h:mm:ss a zzzz","GyMMM, h:mm:ss a zzzz":"MMM y G, h:mm:ss a zzzz","GyMMMd, h:mm:ss a zzzz":"MMM d, y G, h:mm:ss a zzzz","GyMMMEd, h:mm:ss a zzzz":"E, MMM d, y G, h:mm:ss a zzzz","M, h:mm:ss a zzzz":"L, h:mm:ss a zzzz","Md, h:mm:ss a zzzz":"M/d, h:mm:ss a zzzz","MEd, h:mm:ss a zzzz":"E, M/d, h:mm:ss a zzzz","MMM, h:mm:ss a zzzz":"LLL, h:mm:ss a zzzz","MMMd, h:mm:ss a zzzz":"MMM d, h:mm:ss a zzzz","MMMEd, h:mm:ss a zzzz":"E, MMM d, h:mm:ss a zzzz","MMMMd, h:mm:ss a zzzz":"MMMM d, h:mm:ss a zzzz","y, h:mm:ss a zzzz":"y, h:mm:ss a zzzz","yM, h:mm:ss a zzzz":"M/y, h:mm:ss a zzzz","yMd, h:mm:ss a zzzz":"M/d/y, h:mm:ss a zzzz","yMEd, h:mm:ss a zzzz":"E, M/d/y, h:mm:ss a zzzz","yMMM, h:mm:ss a zzzz":"MMM y, h:mm:ss a zzzz","yMMMd, h:mm:ss a zzzz":"MMM d, y, h:mm:ss a zzzz","yMMMEd, h:mm:ss a zzzz":"E, MMM d, y, h:mm:ss a zzzz","yMMMM, h:mm:ss a zzzz":"MMMM y, h:mm:ss a zzzz","EEEE, MMMM d, y, h:mm:ss a z":"EEEE, MMMM d, y, h:mm:ss a z","MMMM d, y, h:mm:ss a z":"MMMM d, y, h:mm:ss a z","MMM d, y, h:mm:ss a z":"MMM d, y, h:mm:ss a z","M/d/yy, h:mm:ss a z":"M/d/yy, h:mm:ss a z","d, h:mm:ss a z":"d, h:mm:ss a z","E, h:mm:ss a z":"ccc, h:mm:ss a z","Ed, h:mm:ss a z":"d E, h:mm:ss a z","Gy, h:mm:ss a z":"y G, h:mm:ss a z","GyMd, h:mm:ss a z":"M/d/y G, h:mm:ss a z","GyMMM, h:mm:ss a z":"MMM y G, h:mm:ss a z","GyMMMd, h:mm:ss a z":"MMM d, y G, h:mm:ss a z","GyMMMEd, h:mm:ss a z":"E, MMM d, y G, h:mm:ss a z","M, h:mm:ss a z":"L, h:mm:ss a z","Md, h:mm:ss a z":"M/d, h:mm:ss a z","MEd, h:mm:ss a z":"E, M/d, h:mm:ss a z","MMM, h:mm:ss a z":"LLL, h:mm:ss a z","MMMd, h:mm:ss a z":"MMM d, h:mm:ss a z","MMMEd, h:mm:ss a z":"E, MMM d, h:mm:ss a z","MMMMd, h:mm:ss a z":"MMMM d, h:mm:ss a z","y, h:mm:ss a z":"y, h:mm:ss a z","yM, h:mm:ss a z":"M/y, h:mm:ss a z","yMd, h:mm:ss a z":"M/d/y, h:mm:ss a z","yMEd, h:mm:ss a z":"E, M/d/y, h:mm:ss a z","yMMM, h:mm:ss a z":"MMM y, h:mm:ss a z","yMMMd, h:mm:ss a z":"MMM d, y, h:mm:ss a z","yMMMEd, h:mm:ss a z":"E, MMM d, y, h:mm:ss a z","yMMMM, h:mm:ss a z":"MMMM y, h:mm:ss a z","EEEE, MMMM d, y, h:mm:ss a z":"EEEE, MMMM d, y, h:mm:ss a z","MMMM d, y, h:mm:ss a z":"MMMM d, y, h:mm:ss a z","MMM d, y, h:mm:ss a z":"MMM d, y, h:mm:ss a z","M/d/yy, h:mm:ss a z":"M/d/yy, h:mm:ss a z","d, h:mm:ss a z":"d, h:mm:ss a z","E, h:mm:ss a z":"ccc, h:mm:ss a z","Ed, h:mm:ss a z":"d E, h:mm:ss a z","Gy, h:mm:ss a z":"y G, h:mm:ss a z","GyMd, h:mm:ss a z":"M/d/y G, h:mm:ss a z","GyMMM, h:mm:ss a z":"MMM y G, h:mm:ss a z","GyMMMd, h:mm:ss a z":"MMM d, y G, h:mm:ss a z","GyMMMEd, h:mm:ss a z":"E, MMM d, y G, h:mm:ss a z","M, h:mm:ss a z":"L, h:mm:ss a z","Md, h:mm:ss a z":"M/d, h:mm:ss a z","MEd, h:mm:ss a z":"E, M/d, h:mm:ss a z","MMM, h:mm:ss a z":"LLL, h:mm:ss a z","MMMd, h:mm:ss a z":"MMM d, h:mm:ss a z","MMMEd, h:mm:ss a z":"E, MMM d, h:mm:ss a z","MMMMd, h:mm:ss a z":"MMMM d, h:mm:ss a z","y, h:mm:ss a z":"y, h:mm:ss a z","yM, h:mm:ss a z":"M/y, h:mm:ss a z","yMd, h:mm:ss a z":"M/d/y, h:mm:ss a z","yMEd, h:mm:ss a z":"E, M/d/y, h:mm:ss a z","yMMM, h:mm:ss a z":"MMM y, h:mm:ss a z","yMMMd, h:mm:ss a z":"MMM d, y, h:mm:ss a z","yMMMEd, h:mm:ss a z":"E, MMM d, y, h:mm:ss a z","yMMMM, h:mm:ss a z":"MMMM y, h:mm:ss a z","EEEE, MMMM d, y, h:mm:ss a":"EEEE, MMMM d, y, h:mm:ss a","MMMM d, y, h:mm:ss a":"MMMM d, y, h:mm:ss a","MMM d, y, h:mm:ss a":"MMM d, y, h:mm:ss a","M/d/yy, h:mm:ss a":"M/d/yy, h:mm:ss a","d, h:mm:ss a":"d, h:mm:ss a","E, h:mm:ss a":"ccc, h:mm:ss a","Ed, h:mm:ss a":"d E, h:mm:ss a","Gy, h:mm:ss a":"y G, h:mm:ss a","GyMd, h:mm:ss a":"M/d/y G, h:mm:ss a","GyMMM, h:mm:ss a":"MMM y G, h:mm:ss a","GyMMMd, h:mm:ss a":"MMM d, y G, h:mm:ss a","GyMMMEd, h:mm:ss a":"E, MMM d, y G, h:mm:ss a","M, h:mm:ss a":"L, h:mm:ss a","Md, h:mm:ss a":"M/d, h:mm:ss a","MEd, h:mm:ss a":"E, M/d, h:mm:ss a","MMM, h:mm:ss a":"LLL, h:mm:ss a","MMMd, h:mm:ss a":"MMM d, h:mm:ss a","MMMEd, h:mm:ss a":"E, MMM d, h:mm:ss a","MMMMd, h:mm:ss a":"MMMM d, h:mm:ss a","y, h:mm:ss a":"y, h:mm:ss a","yM, h:mm:ss a":"M/y, h:mm:ss a","yMd, h:mm:ss a":"M/d/y, h:mm:ss a","yMEd, h:mm:ss a":"E, M/d/y, h:mm:ss a","yMMM, h:mm:ss a":"MMM y, h:mm:ss a","yMMMd, h:mm:ss a":"MMM d, y, h:mm:ss a","yMMMEd, h:mm:ss a":"E, MMM d, y, h:mm:ss a","yMMMM, h:mm:ss a":"MMMM y, h:mm:ss a","EEEE, MMMM d, y, h:mm:ss a":"EEEE, MMMM d, y, h:mm:ss a","MMMM d, y, h:mm:ss a":"MMMM d, y, h:mm:ss a","MMM d, y, h:mm:ss a":"MMM d, y, h:mm:ss a","M/d/yy, h:mm:ss a":"M/d/yy, h:mm:ss a","d, h:mm:ss a":"d, h:mm:ss a","E, h:mm:ss a":"ccc, h:mm:ss a","Ed, h:mm:ss a":"d E, h:mm:ss a","Gy, h:mm:ss a":"y G, h:mm:ss a","GyMd, h:mm:ss a":"M/d/y G, h:mm:ss a","GyMMM, h:mm:ss a":"MMM y G, h:mm:ss a","GyMMMd, h:mm:ss a":"MMM d, y G, h:mm:ss a","GyMMMEd, h:mm:ss a":"E, MMM d, y G, h:mm:ss a","M, h:mm:ss a":"L, h:mm:ss a","Md, h:mm:ss a":"M/d, h:mm:ss a","MEd, h:mm:ss a":"E, M/d, h:mm:ss a","MMM, h:mm:ss a":"LLL, h:mm:ss a","MMMd, h:mm:ss a":"MMM d, h:mm:ss a","MMMEd, h:mm:ss a":"E, MMM d, h:mm:ss a","MMMMd, h:mm:ss a":"MMMM d, h:mm:ss a","y, h:mm:ss a":"y, h:mm:ss a","yM, h:mm:ss a":"M/y, h:mm:ss a","yMd, h:mm:ss a":"M/d/y, h:mm:ss a","yMEd, h:mm:ss a":"E, M/d/y, h:mm:ss a","yMMM, h:mm:ss a":"MMM y, h:mm:ss a","yMMMd, h:mm:ss a":"MMM d, y, h:mm:ss a","yMMMEd, h:mm:ss a":"E, MMM d, y, h:mm:ss a","yMMMM, h:mm:ss a":"MMMM y, h:mm:ss a","EEEE, MMMM d, y, h:mm a":"EEEE, MMMM d, y, h:mm a","MMMM d, y, h:mm a":"MMMM d, y, h:mm a","MMM d, y, h:mm a":"MMM d, y, h:mm a","M/d/yy, h:mm a":"M/d/yy, h:mm a","d, h:mm a":"d, h:mm a","E, h:mm a":"ccc, h:mm a","Ed, h:mm a":"d E, h:mm a","Gy, h:mm a":"y G, h:mm a","GyMd, h:mm a":"M/d/y G, h:mm a","GyMMM, h:mm a":"MMM y G, h:mm a","GyMMMd, h:mm a":"MMM d, y G, h:mm a","GyMMMEd, h:mm a":"E, MMM d, y G, h:mm a","M, h:mm a":"L, h:mm a","Md, h:mm a":"M/d, h:mm a","MEd, h:mm a":"E, M/d, h:mm a","MMM, h:mm a":"LLL, h:mm a","MMMd, h:mm a":"MMM d, h:mm a","MMMEd, h:mm a":"E, MMM d, h:mm a","MMMMd, h:mm a":"MMMM d, h:mm a","y, h:mm a":"y, h:mm a","yM, h:mm a":"M/y, h:mm a","yMd, h:mm a":"M/d/y, h:mm a","yMEd, h:mm a":"E, M/d/y, h:mm a","yMMM, h:mm a":"MMM y, h:mm a","yMMMd, h:mm a":"MMM d, y, h:mm a","yMMMEd, h:mm a":"E, MMM d, y, h:mm a","yMMMM, h:mm a":"MMMM y, h:mm a","EEEE, MMMM d, y, h:mm a":"EEEE, MMMM d, y, h:mm a","MMMM d, y, h:mm a":"MMMM d, y, h:mm a","MMM d, y, h:mm a":"MMM d, y, h:mm a","M/d/yy, h:mm a":"M/d/yy, h:mm a","d, h:mm a":"d, h:mm a","E, h:mm a":"ccc, h:mm a","Ed, h:mm a":"d E, h:mm a","Gy, h:mm a":"y G, h:mm a","GyMd, h:mm a":"M/d/y G, h:mm a","GyMMM, h:mm a":"MMM y G, h:mm a","GyMMMd, h:mm a":"MMM d, y G, h:mm a","GyMMMEd, h:mm a":"E, MMM d, y G, h:mm a","M, h:mm a":"L, h:mm a","Md, h:mm a":"M/d, h:mm a","MEd, h:mm a":"E, M/d, h:mm a","MMM, h:mm a":"LLL, h:mm a","MMMd, h:mm a":"MMM d, h:mm a","MMMEd, h:mm a":"E, MMM d, h:mm a","MMMMd, h:mm a":"MMMM d, h:mm a","y, h:mm a":"y, h:mm a","yM, h:mm a":"M/y, h:mm a","yMd, h:mm a":"M/d/y, h:mm a","yMEd, h:mm a":"E, M/d/y, h:mm a","yMMM, h:mm a":"MMM y, h:mm a","yMMMd, h:mm a":"MMM d, y, h:mm a","yMMMEd, h:mm a":"E, MMM d, y, h:mm a","yMMMM, h:mm a":"MMMM y, h:mm a","EEEE, MMMM d, y, Bh":"EEEE, MMMM d, y, h B","MMMM d, y, Bh":"MMMM d, y, h B","MMM d, y, Bh":"MMM d, y, h B","M/d/yy, Bh":"M/d/yy, h B","d, Bh":"d, h B","E, Bh":"ccc, h B","Ed, Bh":"d E, h B","Gy, Bh":"y G, h B","GyMd, Bh":"M/d/y G, h B","GyMMM, Bh":"MMM y G, h B","GyMMMd, Bh":"MMM d, y G, h B","GyMMMEd, Bh":"E, MMM d, y G, h B","M, Bh":"L, h B","Md, Bh":"M/d, h B","MEd, Bh":"E, M/d, h B","MMM, Bh":"LLL, h B","MMMd, Bh":"MMM d, h B","MMMEd, Bh":"E, MMM d, h B","MMMMd, Bh":"MMMM d, h B","y, Bh":"y, h B","yM, Bh":"M/y, h B","yMd, Bh":"M/d/y, h B","yMEd, Bh":"E, M/d/y, h B","yMMM, Bh":"MMM y, h B","yMMMd, Bh":"MMM d, y, h B","yMMMEd, Bh":"E, MMM d, y, h B","yMMMM, Bh":"MMMM y, h B","EEEE, MMMM d, y, Bhm":"EEEE, MMMM d, y, h:mm B","MMMM d, y, Bhm":"MMMM d, y, h:mm B","MMM d, y, Bhm":"MMM d, y, h:mm B","M/d/yy, Bhm":"M/d/yy, h:mm B","d, Bhm":"d, h:mm B","E, Bhm":"ccc, h:mm B","Ed, Bhm":"d E, h:mm B","Gy, Bhm":"y G, h:mm B","GyMd, Bhm":"M/d/y G, h:mm B","GyMMM, Bhm":"MMM y G, h:mm B","GyMMMd, Bhm":"MMM d, y G, h:mm B","GyMMMEd, Bhm":"E, MMM d, y G, h:mm B","M, Bhm":"L, h:mm B","Md, Bhm":"M/d, h:mm B","MEd, Bhm":"E, M/d, h:mm B","MMM, Bhm":"LLL, h:mm B","MMMd, Bhm":"MMM d, h:mm B","MMMEd, Bhm":"E, MMM d, h:mm B","MMMMd, Bhm":"MMMM d, h:mm B","y, Bhm":"y, h:mm B","yM, Bhm":"M/y, h:mm B","yMd, Bhm":"M/d/y, h:mm B","yMEd, Bhm":"E, M/d/y, h:mm B","yMMM, Bhm":"MMM y, h:mm B","yMMMd, Bhm":"MMM d, y, h:mm B","yMMMEd, Bhm":"E, MMM d, y, h:mm B","yMMMM, Bhm":"MMMM y, h:mm B","EEEE, MMMM d, y, Bhms":"EEEE, MMMM d, y, h:mm:ss B","MMMM d, y, Bhms":"MMMM d, y, h:mm:ss B","MMM d, y, Bhms":"MMM d, y, h:mm:ss B","M/d/yy, Bhms":"M/d/yy, h:mm:ss B","d, Bhms":"d, h:mm:ss B","E, Bhms":"ccc, h:mm:ss B","Ed, Bhms":"d E, h:mm:ss B","Gy, Bhms":"y G, h:mm:ss B","GyMd, Bhms":"M/d/y G, h:mm:ss B","GyMMM, Bhms":"MMM y G, h:mm:ss B","GyMMMd, Bhms":"MMM d, y G, h:mm:ss B","GyMMMEd, Bhms":"E, MMM d, y G, h:mm:ss B","M, Bhms":"L, h:mm:ss B","Md, Bhms":"M/d, h:mm:ss B","MEd, Bhms":"E, M/d, h:mm:ss B","MMM, Bhms":"LLL, h:mm:ss B","MMMd, Bhms":"MMM d, h:mm:ss B","MMMEd, Bhms":"E, MMM d, h:mm:ss B","MMMMd, Bhms":"MMMM d, h:mm:ss B","y, Bhms":"y, h:mm:ss B","yM, Bhms":"M/y, h:mm:ss B","yMd, Bhms":"M/d/y, h:mm:ss B","yMEd, Bhms":"E, M/d/y, h:mm:ss B","yMMM, Bhms":"MMM y, h:mm:ss B","yMMMd, Bhms":"MMM d, y, h:mm:ss B","yMMMEd, Bhms":"E, MMM d, y, h:mm:ss B","yMMMM, Bhms":"MMMM y, h:mm:ss B","EEEE, MMMM d, y, h":"EEEE, MMMM d, y, h a","MMMM d, y, h":"MMMM d, y, h a","MMM d, y, h":"MMM d, y, h a","M/d/yy, h":"M/d/yy, h a","d, h":"d, h a","E, h":"ccc, h a","Ed, h":"d E, h a","Gy, h":"y G, h a","GyMd, h":"M/d/y G, h a","GyMMM, h":"MMM y G, h a","GyMMMd, h":"MMM d, y G, h a","GyMMMEd, h":"E, MMM d, y G, h a","M, h":"L, h a","Md, h":"M/d, h a","MEd, h":"E, M/d, h a","MMM, h":"LLL, h a","MMMd, h":"MMM d, h a","MMMEd, h":"E, MMM d, h a","MMMMd, h":"MMMM d, h a","y, h":"y, h a","yM, h":"M/y, h a","yMd, h":"M/d/y, h a","yMEd, h":"E, M/d/y, h a","yMMM, h":"MMM y, h a","yMMMd, h":"MMM d, y, h a","yMMMEd, h":"E, MMM d, y, h a","yMMMM, h":"MMMM y, h a","EEEE, MMMM d, y, H":"EEEE, MMMM d, y, HH","MMMM d, y, H":"MMMM d, y, HH","MMM d, y, H":"MMM d, y, HH","M/d/yy, H":"M/d/yy, HH","d, H":"d, HH","E, H":"ccc, HH","Ed, H":"d E, HH","Gy, H":"y G, HH","GyMd, H":"M/d/y G, HH","GyMMM, H":"MMM y G, HH","GyMMMd, H":"MMM d, y G, HH","GyMMMEd, H":"E, MMM d, y G, HH","M, H":"L, HH","Md, H":"M/d, HH","MEd, H":"E, M/d, HH","MMM, H":"LLL, HH","MMMd, H":"MMM d, HH","MMMEd, H":"E, MMM d, HH","MMMMd, H":"MMMM d, HH","y, H":"y, HH","yM, H":"M/y, HH","yMd, H":"M/d/y, HH","yMEd, H":"E, M/d/y, HH","yMMM, H":"MMM y, HH","yMMMd, H":"MMM d, y, HH","yMMMEd, H":"E, MMM d, y, HH","yMMMM, H":"MMMM y, HH","EEEE, MMMM d, y, hm":"EEEE, MMMM d, y, h:mm a","MMMM d, y, hm":"MMMM d, y, h:mm a","MMM d, y, hm":"MMM d, y, h:mm a","M/d/yy, hm":"M/d/yy, h:mm a","d, hm":"d, h:mm a","E, hm":"ccc, h:mm a","Ed, hm":"d E, h:mm a","Gy, hm":"y G, h:mm a","GyMd, hm":"M/d/y G, h:mm a","GyMMM, hm":"MMM y G, h:mm a","GyMMMd, hm":"MMM d, y G, h:mm a","GyMMMEd, hm":"E, MMM d, y G, h:mm a","M, hm":"L, h:mm a","Md, hm":"M/d, h:mm a","MEd, hm":"E, M/d, h:mm a","MMM, hm":"LLL, h:mm a","MMMd, hm":"MMM d, h:mm a","MMMEd, hm":"E, MMM d, h:mm a","MMMMd, hm":"MMMM d, h:mm a","y, hm":"y, h:mm a","yM, hm":"M/y, h:mm a","yMd, hm":"M/d/y, h:mm a","yMEd, hm":"E, M/d/y, h:mm a","yMMM, hm":"MMM y, h:mm a","yMMMd, hm":"MMM d, y, h:mm a","yMMMEd, hm":"E, MMM d, y, h:mm a","yMMMM, hm":"MMMM y, h:mm a","EEEE, MMMM d, y, Hm":"EEEE, MMMM d, y, HH:mm","MMMM d, y, Hm":"MMMM d, y, HH:mm","MMM d, y, Hm":"MMM d, y, HH:mm","M/d/yy, Hm":"M/d/yy, HH:mm","d, Hm":"d, HH:mm","E, Hm":"ccc, HH:mm","Ed, Hm":"d E, HH:mm","Gy, Hm":"y G, HH:mm","GyMd, Hm":"M/d/y G, HH:mm","GyMMM, Hm":"MMM y G, HH:mm","GyMMMd, Hm":"MMM d, y G, HH:mm","GyMMMEd, Hm":"E, MMM d, y G, HH:mm","M, Hm":"L, HH:mm","Md, Hm":"M/d, HH:mm","MEd, Hm":"E, M/d, HH:mm","MMM, Hm":"LLL, HH:mm","MMMd, Hm":"MMM d, HH:mm","MMMEd, Hm":"E, MMM d, HH:mm","MMMMd, Hm":"MMMM d, HH:mm","y, Hm":"y, HH:mm","yM, Hm":"M/y, HH:mm","yMd, Hm":"M/d/y, HH:mm","yMEd, Hm":"E, M/d/y, HH:mm","yMMM, Hm":"MMM y, HH:mm","yMMMd, Hm":"MMM d, y, HH:mm","yMMMEd, Hm":"E, MMM d, y, HH:mm","yMMMM, Hm":"MMMM y, HH:mm","EEEE, MMMM d, y, hms":"EEEE, MMMM d, y, h:mm:ss a","MMMM d, y, hms":"MMMM d, y, h:mm:ss a","MMM d, y, hms":"MMM d, y, h:mm:ss a","M/d/yy, hms":"M/d/yy, h:mm:ss a","d, hms":"d, h:mm:ss a","E, hms":"ccc, h:mm:ss a","Ed, hms":"d E, h:mm:ss a","Gy, hms":"y G, h:mm:ss a","GyMd, hms":"M/d/y G, h:mm:ss a","GyMMM, hms":"MMM y G, h:mm:ss a","GyMMMd, hms":"MMM d, y G, h:mm:ss a","GyMMMEd, hms":"E, MMM d, y G, h:mm:ss a","M, hms":"L, h:mm:ss a","Md, hms":"M/d, h:mm:ss a","MEd, hms":"E, M/d, h:mm:ss a","MMM, hms":"LLL, h:mm:ss a","MMMd, hms":"MMM d, h:mm:ss a","MMMEd, hms":"E, MMM d, h:mm:ss a","MMMMd, hms":"MMMM d, h:mm:ss a","y, hms":"y, h:mm:ss a","yM, hms":"M/y, h:mm:ss a","yMd, hms":"M/d/y, h:mm:ss a","yMEd, hms":"E, M/d/y, h:mm:ss a","yMMM, hms":"MMM y, h:mm:ss a","yMMMd, hms":"MMM d, y, h:mm:ss a","yMMMEd, hms":"E, MMM d, y, h:mm:ss a","yMMMM, hms":"MMMM y, h:mm:ss a","EEEE, MMMM d, y, Hms":"EEEE, MMMM d, y, HH:mm:ss","MMMM d, y, Hms":"MMMM d, y, HH:mm:ss","MMM d, y, Hms":"MMM d, y, HH:mm:ss","M/d/yy, Hms":"M/d/yy, HH:mm:ss","d, Hms":"d, HH:mm:ss","E, Hms":"ccc, HH:mm:ss","Ed, Hms":"d E, HH:mm:ss","Gy, Hms":"y G, HH:mm:ss","GyMd, Hms":"M/d/y G, HH:mm:ss","GyMMM, Hms":"MMM y G, HH:mm:ss","GyMMMd, Hms":"MMM d, y G, HH:mm:ss","GyMMMEd, Hms":"E, MMM d, y G, HH:mm:ss","M, Hms":"L, HH:mm:ss","Md, Hms":"M/d, HH:mm:ss","MEd, Hms":"E, M/d, HH:mm:ss","MMM, Hms":"LLL, HH:mm:ss","MMMd, Hms":"MMM d, HH:mm:ss","MMMEd, Hms":"E, MMM d, HH:mm:ss","MMMMd, Hms":"MMMM d, HH:mm:ss","y, Hms":"y, HH:mm:ss","yM, Hms":"M/y, HH:mm:ss","yMd, Hms":"M/d/y, HH:mm:ss","yMEd, Hms":"E, M/d/y, HH:mm:ss","yMMM, Hms":"MMM y, HH:mm:ss","yMMMd, Hms":"MMM d, y, HH:mm:ss","yMMMEd, Hms":"E, MMM d, y, HH:mm:ss","yMMMM, Hms":"MMMM y, HH:mm:ss","EEEE, MMMM d, y, hmsv":"EEEE, MMMM d, y, h:mm:ss a v","MMMM d, y, hmsv":"MMMM d, y, h:mm:ss a v","MMM d, y, hmsv":"MMM d, y, h:mm:ss a v","M/d/yy, hmsv":"M/d/yy, h:mm:ss a v","d, hmsv":"d, h:mm:ss a v","E, hmsv":"ccc, h:mm:ss a v","Ed, hmsv":"d E, h:mm:ss a v","Gy, hmsv":"y G, h:mm:ss a v","GyMd, hmsv":"M/d/y G, h:mm:ss a v","GyMMM, hmsv":"MMM y G, h:mm:ss a v","GyMMMd, hmsv":"MMM d, y G, h:mm:ss a v","GyMMMEd, hmsv":"E, MMM d, y G, h:mm:ss a v","M, hmsv":"L, h:mm:ss a v","Md, hmsv":"M/d, h:mm:ss a v","MEd, hmsv":"E, M/d, h:mm:ss a v","MMM, hmsv":"LLL, h:mm:ss a v","MMMd, hmsv":"MMM d, h:mm:ss a v","MMMEd, hmsv":"E, MMM d, h:mm:ss a v","MMMMd, hmsv":"MMMM d, h:mm:ss a v","y, hmsv":"y, h:mm:ss a v","yM, hmsv":"M/y, h:mm:ss a v","yMd, hmsv":"M/d/y, h:mm:ss a v","yMEd, hmsv":"E, M/d/y, h:mm:ss a v","yMMM, hmsv":"MMM y, h:mm:ss a v","yMMMd, hmsv":"MMM d, y, h:mm:ss a v","yMMMEd, hmsv":"E, MMM d, y, h:mm:ss a v","yMMMM, hmsv":"MMMM y, h:mm:ss a v","EEEE, MMMM d, y, Hmsv":"EEEE, MMMM d, y, HH:mm:ss v","MMMM d, y, Hmsv":"MMMM d, y, HH:mm:ss v","MMM d, y, Hmsv":"MMM d, y, HH:mm:ss v","M/d/yy, Hmsv":"M/d/yy, HH:mm:ss v","d, Hmsv":"d, HH:mm:ss v","E, Hmsv":"ccc, HH:mm:ss v","Ed, Hmsv":"d E, HH:mm:ss v","Gy, Hmsv":"y G, HH:mm:ss v","GyMd, Hmsv":"M/d/y G, HH:mm:ss v","GyMMM, Hmsv":"MMM y G, HH:mm:ss v","GyMMMd, Hmsv":"MMM d, y G, HH:mm:ss v","GyMMMEd, Hmsv":"E, MMM d, y G, HH:mm:ss v","M, Hmsv":"L, HH:mm:ss v","Md, Hmsv":"M/d, HH:mm:ss v","MEd, Hmsv":"E, M/d, HH:mm:ss v","MMM, Hmsv":"LLL, HH:mm:ss v","MMMd, Hmsv":"MMM d, HH:mm:ss v","MMMEd, Hmsv":"E, MMM d, HH:mm:ss v","MMMMd, Hmsv":"MMMM d, HH:mm:ss v","y, Hmsv":"y, HH:mm:ss v","yM, Hmsv":"M/y, HH:mm:ss v","yMd, Hmsv":"M/d/y, HH:mm:ss v","yMEd, Hmsv":"E, M/d/y, HH:mm:ss v","yMMM, Hmsv":"MMM y, HH:mm:ss v","yMMMd, Hmsv":"MMM d, y, HH:mm:ss v","yMMMEd, Hmsv":"E, MMM d, y, HH:mm:ss v","yMMMM, Hmsv":"MMMM y, HH:mm:ss v","EEEE, MMMM d, y, hmv":"EEEE, MMMM d, y, h:mm a v","MMMM d, y, hmv":"MMMM d, y, h:mm a v","MMM d, y, hmv":"MMM d, y, h:mm a v","M/d/yy, hmv":"M/d/yy, h:mm a v","d, hmv":"d, h:mm a v","E, hmv":"ccc, h:mm a v","Ed, hmv":"d E, h:mm a v","Gy, hmv":"y G, h:mm a v","GyMd, hmv":"M/d/y G, h:mm a v","GyMMM, hmv":"MMM y G, h:mm a v","GyMMMd, hmv":"MMM d, y G, h:mm a v","GyMMMEd, hmv":"E, MMM d, y G, h:mm a v","M, hmv":"L, h:mm a v","Md, hmv":"M/d, h:mm a v","MEd, hmv":"E, M/d, h:mm a v","MMM, hmv":"LLL, h:mm a v","MMMd, hmv":"MMM d, h:mm a v","MMMEd, hmv":"E, MMM d, h:mm a v","MMMMd, hmv":"MMMM d, h:mm a v","y, hmv":"y, h:mm a v","yM, hmv":"M/y, h:mm a v","yMd, hmv":"M/d/y, h:mm a v","yMEd, hmv":"E, M/d/y, h:mm a v","yMMM, hmv":"MMM y, h:mm a v","yMMMd, hmv":"MMM d, y, h:mm a v","yMMMEd, hmv":"E, MMM d, y, h:mm a v","yMMMM, hmv":"MMMM y, h:mm a v","EEEE, MMMM d, y, Hmv":"EEEE, MMMM d, y, HH:mm v","MMMM d, y, Hmv":"MMMM d, y, HH:mm v","MMM d, y, Hmv":"MMM d, y, HH:mm v","M/d/yy, Hmv":"M/d/yy, HH:mm v","d, Hmv":"d, HH:mm v","E, Hmv":"ccc, HH:mm v","Ed, Hmv":"d E, HH:mm v","Gy, Hmv":"y G, HH:mm v","GyMd, Hmv":"M/d/y G, HH:mm v","GyMMM, Hmv":"MMM y G, HH:mm v","GyMMMd, Hmv":"MMM d, y G, HH:mm v","GyMMMEd, Hmv":"E, MMM d, y G, HH:mm v","M, Hmv":"L, HH:mm v","Md, Hmv":"M/d, HH:mm v","MEd, Hmv":"E, M/d, HH:mm v","MMM, Hmv":"LLL, HH:mm v","MMMd, Hmv":"MMM d, HH:mm v","MMMEd, Hmv":"E, MMM d, HH:mm v","MMMMd, Hmv":"MMMM d, HH:mm v","y, Hmv":"y, HH:mm v","yM, Hmv":"M/y, HH:mm v","yMd, Hmv":"M/d/y, HH:mm v","yMEd, Hmv":"E, M/d/y, HH:mm v","yMMM, Hmv":"MMM y, HH:mm v","yMMMd, Hmv":"MMM d, y, HH:mm v","yMMMEd, Hmv":"E, MMM d, y, HH:mm v","yMMMM, Hmv":"MMMM y, HH:mm v","EEEE, MMMM d, y, ms":"EEEE, MMMM d, y, mm:ss","MMMM d, y, ms":"MMMM d, y, mm:ss","MMM d, y, ms":"MMM d, y, mm:ss","M/d/yy, ms":"M/d/yy, mm:ss","d, ms":"d, mm:ss","E, ms":"ccc, mm:ss","Ed, ms":"d E, mm:ss","Gy, ms":"y G, mm:ss","GyMd, ms":"M/d/y G, mm:ss","GyMMM, ms":"MMM y G, mm:ss","GyMMMd, ms":"MMM d, y G, mm:ss","GyMMMEd, ms":"E, MMM d, y G, mm:ss","M, ms":"L, mm:ss","Md, ms":"M/d, mm:ss","MEd, ms":"E, M/d, mm:ss","MMM, ms":"LLL, mm:ss","MMMd, ms":"MMM d, mm:ss","MMMEd, ms":"E, MMM d, mm:ss","MMMMd, ms":"MMMM d, mm:ss","y, ms":"y, mm:ss","yM, ms":"M/y, mm:ss","yMd, ms":"M/d/y, mm:ss","yMEd, ms":"E, M/d/y, mm:ss","yMMM, ms":"MMM y, mm:ss","yMMMd, ms":"MMM d, y, mm:ss","yMMMEd, ms":"E, MMM d, y, mm:ss","yMMMM, ms":"MMMM y, mm:ss"}},intervalFormats:{intervalFormatFallback:"{0} – {1}",Bh:{B:"h B – h B",h:"h – h B"},Bhm:{B:"h:mm B – h:mm B",h:"h:mm – h:mm B",m:"h:mm – h:mm B"},d:{d:"d – d"},Gy:{G:"y G – y G",y:"y – y G"},GyM:{G:"M/y G – M/y G",M:"M/y – M/y G",y:"M/y – M/y G"},GyMd:{d:"M/d/y – M/d/y G",G:"M/d/y G – M/d/y G",M:"M/d/y – M/d/y G",y:"M/d/y – M/d/y G"},GyMEd:{d:"E, M/d/y – E, M/d/y G",G:"E, M/d/y G – E, M/d/y G",M:"E, M/d/y – E, M/d/y G",y:"E, M/d/y – E, M/d/y G"},GyMMM:{G:"MMM y G – MMM y G",M:"MMM – MMM y G",y:"MMM y – MMM y G"},GyMMMd:{d:"MMM d – d, y G",G:"MMM d, y G – MMM d, y G",M:"MMM d – MMM d, y G",y:"MMM d, y – MMM d, y G"},GyMMMEd:{d:"E, MMM d – E, MMM d, y G",G:"E, MMM d, y G – E, MMM d, y G",M:"E, MMM d – E, MMM d, y G",y:"E, MMM d, y – E, MMM d, y G"},h:{a:"h a – h a",h:"h – h a"},H:{H:"HH – HH"},hm:{a:"h:mm a – h:mm a",h:"h:mm – h:mm a",m:"h:mm – h:mm a"},Hm:{H:"HH:mm – HH:mm",m:"HH:mm – HH:mm"},hmv:{a:"h:mm a – h:mm a v",h:"h:mm – h:mm a v",m:"h:mm – h:mm a v"},Hmv:{H:"HH:mm – HH:mm v",m:"HH:mm – HH:mm v"},hv:{a:"h a – h a v",h:"h – h a v"},Hv:{H:"HH – HH v"},M:{M:"M – M"},Md:{d:"M/d – M/d",M:"M/d – M/d"},MEd:{d:"E, M/d – E, M/d",M:"E, M/d – E, M/d"},MMM:{M:"MMM – MMM"},MMMd:{d:"MMM d – d",M:"MMM d – MMM d"},MMMEd:{d:"E, MMM d – E, MMM d",M:"E, MMM d – E, MMM d"},y:{y:"y – y"},yM:{M:"M/y – M/y",y:"M/y – M/y"},yMd:{d:"M/d/y – M/d/y",M:"M/d/y – M/d/y",y:"M/d/y – M/d/y"},yMEd:{d:"E, M/d/y – E, M/d/y",M:"E, M/d/y – E, M/d/y",y:"E, M/d/y – E, M/d/y"},yMMM:{M:"MMM – MMM y",y:"MMM y – MMM y"},yMMMd:{d:"MMM d – d, y",M:"MMM d – MMM d, y",y:"MMM d, y – MMM d, y"},yMMMEd:{d:"E, MMM d – E, MMM d, y",M:"E, MMM d – E, MMM d, y",y:"E, MMM d, y – E, MMM d, y"},yMMMM:{M:"MMMM – MMMM y",y:"MMMM y – MMMM y"}},hourCycle:"h12",nu:["latn"],ca:["gregory"],hc:["h12","","h23",""]},locale:"en"});var Zc=Object.freeze({__proto__:null});e.Temporal=jl,e.bbn=Gc,e.default=Gc,Object.defineProperty(e,"__esModule",{value:!0})});
1
+ !function(e,n){"object"==typeof exports&&"undefined"!=typeof module?n(exports):"function"==typeof define&&define.amd?define(["exports"],n):n((e="undefined"!=typeof globalThis?globalThis:e||self).bbn={})}(this,function(e){"use strict";function n(e,n,r,o,i){return t(n,((e,n)=>{const t=e[n];if(void 0===t)throw new TypeError(To(n));return t})(e,n),r,o,i)}function t(e,n,t,r,o,i){const a=E(n,t,r);if(o&&n!==a)throw new RangeError(vo(e,n,t,r,i));return a}function r(e){return null!==e&&/object|function/.test(typeof e)}function o(e,n=Map){const t=new n;return(n,...r)=>{if(t.has(n))return t.get(n);const o=e(n,...r);return t.set(n,o),o}}function i(e){return a({name:e},1)}function a(e,n){return u(e=>({value:e,configurable:1,writable:!n}),e)}function s(e){return u(e=>({get:e,configurable:1}),e)}function m(e){return{[Symbol.toStringTag]:{value:e,configurable:1}}}function l(e,n){const t={};let r=e.length;for(const o of n)t[e[--r]]=o;return t}function u(e,n,t){const r={};for(const o in n)r[o]=e(n[o],o,t);return r}function d(e,n,t){const r={};for(let o=0;o<n.length;o++){const i=n[o];r[i]=e(i,o,t)}return r}function c(e,n,t){const r={};for(let o=0;o<e.length;o++)r[n[o]]=t[e[o]];return r}function h(e,n){const t=Object.create(null);for(const r of e)t[r]=n[r];return t}function f(e,n){for(const t of n)if(t in e)return 1;return 0}function M(e,n,t){for(const r of e)if(n[r]!==t[r])return 0;return 1}function y(e,n,t){const r={...t};for(let t=0;t<n;t++)r[e[t]]=0;return r}function g(e,...n){return(...t)=>e(...n,...t)}function p(e){return e[0].toUpperCase()+e.substring(1)}function b(e){return e.slice().sort()}function w(e,n){return String(n).padStart(e,"0")}function v(e,n){return Math.sign(e-n)}function E(e,n,t){return Math.min(Math.max(e,n),t)}function T(e,n){return[Math.floor(e/n),S(e,n)]}function S(e,n){return(e%n+n)%n}function D(e,n){return[z(e,n),A(e,n)]}function z(e,n){return Math.trunc(e/n)||0}function A(e,n){return e%n||0}function H(e){return.5===Math.abs(e%1)}function k(e,n,t){let r=0,o=0;for(let i=0;i<=n;i++){const n=e[t[i]],a=pi[i],s=gi/a,[m,l]=D(n,s);r+=l*a,o+=m}const[i,a]=D(r,gi);return[o+i,a]}function I(e,n,t){const r={};for(let o=n;o>=0;o--){const n=pi[o];r[t[o]]=z(e,n),e=A(e,n)}return r}function _(e){if(void 0!==e)return G(e)}function C(e){return x(G(e))}function G(e){return N(Wi(e))}function P(e,n){if(null==n)throw new RangeError(To(e));return n}function O(e){if(!r(e))throw new TypeError(wo);return e}function B(e,n,t=e){if(typeof n!==e)throw new TypeError(Eo(t,n));return n}function N(e,n="number"){if(!Number.isInteger(e))throw new RangeError(fo(n,e));return e||0}function x(e,n="number"){if(e<=0)throw new RangeError(Mo(n,e));return e}function L(e){if("symbol"==typeof e)throw new TypeError(bo);return String(e)}function j(e,n){return r(e)?String(e):Yi(e,n)}function R(e){if("string"==typeof e)return BigInt(e);if("bigint"!=typeof e)throw new TypeError(po(e));return e}function F(e,n="number"){if("bigint"==typeof e)throw new TypeError(go(n));if(e=Number(e),!Number.isFinite(e))throw new RangeError(yo(n,e));return e}function Y(e,n){return Math.trunc(F(e,n))||0}function Z(e,n){return N(F(e,n),n)}function W(e,n){return x(Y(e,n),n)}function U(e,n){let[t,r]=D(n,gi),o=e+t;const i=Math.sign(o);return i&&i===-Math.sign(r)&&(o-=i,r+=i*gi),[o,r]}function q(e,n,t=1){return U(e[0]+n[0]*t,e[1]+n[1]*t)}function $(e,n){return U(e[0],e[1]+n)}function V(e,n){return q(n,e,-1)}function K(e,n){return v(e[0],n[0])||v(e[1],n[1])}function J(e,n,t){return-1===K(e,n)||1===K(e,t)}function X(e,n=1){const t=BigInt(gi/n);return[Number(e/t),Number(e%t)*n]}function Q(e,n=1){const t=gi/n,[r,o]=D(e,t);return[r,o*n]}function ee(e,n=1,t){const[r,o]=e,[i,a]=D(o,n);return r*(gi/n)+(i+(t?a/n:0))}function ne(e,n,t=T){const[r,o]=e,[i,a]=t(o,n);return[r*(gi/n)+i,a]}function te(e){return n(e,"isoYear",fa,ha,1),e.isoYear===fa?n(e,"isoMonth",4,12,1):e.isoYear===ha&&n(e,"isoMonth",1,9,1),e}function re(e){return oe({...e,...sa,isoHour:12}),e}function oe(e){const t=n(e,"isoYear",fa,ha,1),r=t===fa?1:t===ha?-1:0;return r&&ie(ue({...e,isoDay:e.isoDay+r,isoNanosecond:e.isoNanosecond-r})),e}function ie(e){if(!e||J(e,ca,da))throw new RangeError($o);return e}function ae(e){return k(e,5,na)[1]}function se(e){const[n,t]=T(e,gi);return[I(t,5,na),n]}function me(e){return ne(e,fi)}function le(e){return he(e.isoYear,e.isoMonth,e.isoDay,e.isoHour,e.isoMinute,e.isoSecond,e.isoMillisecond)}function ue(e){const n=le(e);if(void 0!==n){const[t,r]=D(n,ui);return[t,r*hi+(e.isoMicrosecond||0)*ci+(e.isoNanosecond||0)]}}function de(e,n){const[t,r]=se(ae(e)-n);return ie(ue({...e,isoDay:e.isoDay+r,...t}))}function ce(...e){return he(...e)/di}function he(...e){const[n,t]=fe(...e),r=n.valueOf();if(!isNaN(r))return r-t*ui}function fe(e,n=1,t=1,r=0,o=0,i=0,a=0){const s=e===fa?1:e===ha?-1:0,m=new Date;return m.setUTCHours(r,o,i,a),m.setUTCFullYear(e,n-1,t+s),[m,s]}function Me(e,n){let[t,r]=$(e,n);r<0&&(r+=gi,t-=1);const[o,i]=T(r,hi),[a,s]=T(i,ci);return ye(t*ui+o,a,s)}function ye(e,n=0,t=0){const r=Math.ceil(Math.max(0,Math.abs(e)-ua)/ui)*Math.sign(e),o=new Date(e-r*ui);return l(ra,[o.getUTCFullYear(),o.getUTCMonth()+1,o.getUTCDate()+r,o.getUTCHours(),o.getUTCMinutes(),o.getUTCSeconds(),o.getUTCMilliseconds(),n,t])}function ge(e,n){if(n<-ua)throw new RangeError($o);const t=e.formatToParts(n),r={};for(const e of t)r[e.type]=e.value;return r}function pe(e){return[e.isoYear,e.isoMonth,e.isoDay]}function be(e,n){return[n,0]}function we(){return ba}function ve(e,n){switch(n){case 2:return Te(e)?29:28;case 4:case 6:case 9:case 11:return 30}return 31}function Ee(e){return Te(e)?366:365}function Te(e){return e%4==0&&(e%100!=0||e%400==0)}function Se(e){const[n,t]=fe(e.isoYear,e.isoMonth,e.isoDay);return S(n.getUTCDay()-t,7)||7}function De(e){return this.id===xi?(({isoYear:e})=>e<1?["gregory-inverse",1-e]:["gregory",e])(e):this.id===Li?va(e):[]}function ze(e){const n=le(e);if(n<wa){const{isoYear:n}=e;return n<1?["japanese-inverse",1-n]:["japanese",n]}const t=ge(Cs(Li),n),{era:r,eraYear:o}=_r(t,Li);return[r,o]}function Ae(e){return He(e),_e(e,1),e}function He(e){return Ie(e,1),e}function ke(e){return M(ta,e,Ie(e))}function Ie(e,t){const{isoYear:r}=e,o=n(e,"isoMonth",1,we(),t);return{isoYear:r,isoMonth:o,isoDay:n(e,"isoDay",1,ve(r,o),t)}}function _e(e,t){return l(na,[n(e,"isoHour",0,23,t),n(e,"isoMinute",0,59,t),n(e,"isoSecond",0,59,t),n(e,"isoMillisecond",0,999,t),n(e,"isoMicrosecond",0,999,t),n(e,"isoNanosecond",0,999,t)])}function Ce(e){return void 0===e?0:ja(O(e))}function Ge(e,n=0){e=Ye(e);const t=Ra(e),r=Fa(e,n);return[ja(e),r,t]}function Pe(e,n,t,r=9,o=0,i=4){n=Ye(n);let a=xa(n,r,o),s=je(n),m=Ua(n,i);const l=Na(n,r,o,1);return null==a?a=Math.max(t,l):$e(a,l),s=Re(s,l,1),e&&(m=(e=>e<4?(e+2)%4:e)(m)),[a,l,s,m]}function Oe(e,n=6,t){let r=je(e=Ze(e,Ea));const o=Ua(e,7);let i=Na(e,n);return i=P(Ea,i),r=Re(r,i,void 0,t),[i,r,o]}function Be(e){return Ya(Ye(e))}function Ne(e,n){return xe(Ye(e),n)}function xe(e,n=4){const t=Fe(e);return[Ua(e,4),...Le(Na(e,n),t)]}function Le(e,n){return null!=e?[pi[e],e<4?9-3*e:-1]:[void 0===n?1:10**(9-n),n]}function je(e){const n=e[Sa];return void 0===n?1:Y(n,Sa)}function Re(e,n,r,o){const i=o?gi:pi[n+1];if(i){const r=pi[n];if(i%((e=t(Sa,e,1,i/r-(o?0:1),1))*r))throw new RangeError(Eo(Sa,e))}else e=t(Sa,e,1,r?10**9:1,1);return e}function Fe(e){let n=e[Da];if(void 0!==n){if("number"!=typeof n){if("auto"===L(n))return;throw new RangeError(Eo(Da,n))}n=t(Da,Math.floor(n),0,9,1)}return n}function Ye(e){return void 0===e?{}:O(e)}function Ze(e,n){return"string"==typeof e?{[n]:e}:O(e)}function We(e){return{overflow:ka[e]}}function Ue(e,n,r=9,o=0,i){let a=n[e];if(void 0===a)return i?o:void 0;if(a=L(a),"auto"===a)return i?o:null;let s=mi[a];if(void 0===s&&(s=Ji[a]),void 0===s)throw new RangeError(Ao(e,a,mi));return t(e,s,o,r,1,li),s}function qe(e,n,t,r=0){const o=t[e];if(void 0===o)return r;const i=L(o),a=n[i];if(void 0===a)throw new RangeError(Ao(e,i,n));return a}function $e(e,n){if(n>e)throw new RangeError(ei)}function Ve(e){return{branding:Qa,epochNanoseconds:e}}function Ke(e,n,t){return{branding:Xa,calendar:t,timeZone:n,epochNanoseconds:e}}function Je(e,n=e.calendar){return{branding:Ka,calendar:n,...h(aa,e)}}function Xe(e,n=e.calendar){return{branding:Va,calendar:n,...h(oa,e)}}function Qe(e,n=e.calendar){return{branding:qa,calendar:n,...h(oa,e)}}function en(e,n=e.calendar){return{branding:$a,calendar:n,...h(oa,e)}}function nn(e){return{branding:Ja,...h(ia,e)}}function tn(e){return{branding:es,sign:gt(e),...h(qi,e)}}function rn(e){return ne(e.epochNanoseconds,hi)[0]}function on(e){return e.epochNanoseconds}function an(e,n){return ee(wt(e),pi[n],1)}function sn(e,n,t,r,o,i,a){const s=Ui[t],m={...n,[s]:n[s]+r},l=a(e,o,n),u=a(e,o,m);return[i(l),i(u)]}function mn(e,n,t){const r=ee(V(n,t));if(!r)throw new RangeError(xo);return ee(V(n,e))/r}function ln(e,n,t,r){return un(e,hn(n,t),r)}function un(e,n,t){const[r,o]=dn(e,n,t);return oe({...st(e,o),...r})}function dn(e,n,t){return se(wn(ae(e),n,t))}function cn(e){return wn(e,Mi,7)}function hn(e,n){return pi[e]*n}function fn(e){const n=Mn(e);return[n,st(n,1)]}function Mn(e){return ma(6,e)}function yn(e,n,t){const r=Math.min(St(e),6);return vt(bn(wt(e,r),n,t),r)}function gn(e,n,t,r,o,i,a,s,m,l){if(0===r&&1===o)return e;const u=ht(r,s)?ct(s)&&r<6&&t>=6?Tn:En:Sn;let[d,c,h]=u(e,n,t,r,o,i,a,s,m,l);return h&&7!==r&&(d=((e,n,t,r,o,i,a,s)=>{const m=gt(e);for(let l=r+1;l<=t;l++){if(7===l&&7!==t)continue;const r=ea(l,e);r[Ui[l]]+=m;const u=ee(V(a(s(o,i,r)),n));if(u&&Math.sign(u)!==m)break;e=r}return e})(d,c,t,Math.max(6,r),a,s,m,l)),d}function pn(e,n,t,r,o){if(6===n){const n=(e=>e[0]+e[1]/gi)(e);return[wn(n,t,r),0]}return bn(e,hn(n,t),r,o)}function bn(e,n,t,r){let[o,i]=e;r&&i<0&&(i+=gi,o-=1);const[a,s]=T(wn(i,n,t),gi);return U(o+a,s)}function wn(e,n,t){return vn(e/n,t)*n}function vn(e,n){return ns[n](e)}function En(e,n,t,r,o,i){const a=gt(e),s=wt(e),m=pn(s,r,o,i),l=V(s,m),u=Math.sign(m[0]-s[0])===a,d=vt(m,Math.min(t,6));return[{...e,...d},q(n,l),u]}function Tn(e,n,t,r,o,i,a,s,m,l){const u=gt(e)||1,d=ee(wt(e,5)),c=hn(r,o);let h=wn(d,c,i);const[f,M]=sn(a,{...e,...Qi},6,u,s,m,l),y=h-ee(V(f,M));let g=0;y&&Math.sign(y)!==u?n=$(f,h):(g+=u,h=wn(y,c,i),n=$(M,h));const p=Et(h);return[{...e,...p,days:e.days+g},n,Boolean(g)]}function Sn(e,n,t,r,o,i,a,s,m,l){const u=gt(e),d=Ui[r],c=ea(r,e);7===r&&(e={...e,weeks:e.weeks+Math.trunc(e.days/7)});const h=z(e[d],o)*o;c[d]=h;const[f,M]=sn(a,c,r,o*u,s,m,l),y=h+mn(n,f,M)*u*o,g=wn(y,o,i),p=Math.sign(g-y)===u;return c[d]=g,[c,p?M:f,p]}function Dn(e,n,t,r){const[o,i,a,s]=(e=>{const n=xe(e=Ye(e));return[e.timeZone,...n]})(r),m=void 0!==o;return((e,n,t,r,o,i)=>{t=bn(t,o,r,1);const a=n.R(t);return On(Me(t,a),i)+(e?jn(cn(a)):"Z")})(m,n(m?e(o):ts),t.epochNanoseconds,i,a,s)}function zn(e,n,t){const[r,o,i,a,s,m]=(e=>{e=Ye(e);const n=Ya(e),t=Fe(e),r=Wa(e),o=Ua(e,4),i=Na(e,4);return[n,Za(e),r,o,...Le(i,t)]})(t);return((e,n,t,r,o,i,a,s,m,l)=>{r=bn(r,m,s,1);const u=e(t).R(r);return On(Me(r,u),l)+jn(cn(u),a)+((e,n)=>1!==n?"["+(2===n?"!":"")+e+"]":"")(t,i)+Rn(n,o)})(e,n.calendar,n.timeZone,n.epochNanoseconds,r,o,i,a,s,m)}function An(e,n){const[t,r,o,i]=(e=>(e=Ye(e),[Ya(e),...xe(e)]))(n);return a=e.calendar,s=t,m=i,On(un(e,o,r),m)+Rn(a,s);var a,s,m}function Hn(e,n){return t=e.calendar,r=e,o=Be(n),Bn(r)+Rn(t,o);var t,r,o}function kn(e,n){return Gn(e.calendar,Nn,e,Be(n))}function In(e,n){return Gn(e.calendar,xn,e,Be(n))}function _n(e,n){const[t,r,o]=Ne(n);return i=o,Ln(dn(e,r,t)[0],i);var i}function Cn(e,n){const[t,r,o]=Ne(n,3);return r>1&&pt(e={...e,...yn(e,r,t)}),((e,n)=>{const{sign:t}=e,r=-1===t?yt(e):e,{hours:o,minutes:i}=r,[a,s]=ne(wt(r,3),fi,D);bt(a);const m=Yn(s,n),l=n>=0||!t||m;return(t<0?"-":"")+"P"+Pn({Y:Wn(r.years),M:Wn(r.months),W:Wn(r.weeks),D:Wn(r.days)})+(o||i||a||l?"T"+Pn({H:Wn(o),M:Wn(i),S:Wn(a,l)+m}):"")})(e,o)}function Gn(e,n,t,r){const o=r>1||0===r&&e!==Ni;return 1===r?e===Ni?n(t):Bn(t):o?Bn(t)+Fn(e,2===r):n(t)}function Pn(e){const n=[];for(const t in e){const r=e[t];r&&n.push(r,t)}return n.join("")}function On(e,n){return Bn(e)+"T"+Ln(e,n)}function Bn(e){return Nn(e)+"-"+si(e.isoDay)}function Nn(e){const{isoYear:n}=e;return(n<0||n>9999?Zn(n)+w(6,Math.abs(n)):w(4,n))+"-"+si(e.isoMonth)}function xn(e){return si(e.isoMonth)+"-"+si(e.isoDay)}function Ln(e,n){const t=[si(e.isoHour),si(e.isoMinute)];return-1!==n&&t.push(si(e.isoSecond)+((e,n,t,r)=>Yn(e*hi+n*ci+t,r))(e.isoMillisecond,e.isoMicrosecond,e.isoNanosecond,n)),t.join(":")}function jn(e,n=0){if(1===n)return"";const[t,r]=T(Math.abs(e),yi),[o,i]=T(r,Mi),[a,s]=T(i,fi);return Zn(e)+si(t)+":"+si(o)+(a||s?":"+si(a)+Yn(s):"")}function Rn(e,n){return 1!==n&&(n>1||0===n&&e!==Ni)?Fn(e,2===n):""}function Fn(e,n){return"["+(n?"!":"")+"u-ca="+e+"]"}function Yn(e,n){let t=w(9,e);return t=void 0===n?t.replace(as,""):t.slice(0,n),t?"."+t:""}function Zn(e){return e<0?"-":"+"}function Wn(e,n){return e||n?e.toLocaleString("fullwide",{useGrouping:0}):""}function Un(e,n){const{epochNanoseconds:t}=e,r=(n.R?n:n(e.timeZone)).R(t),o=Me(t,r);return{calendar:e.calendar,...o,offsetNanoseconds:r}}function qn(e,n,t,r=0,o=0,i,a){if(void 0!==t&&1===r&&(1===r||a))return de(n,t);const s=e.I(n);if(void 0!==t&&3!==r){const e=((e,n,t,r)=>{const o=ue(n);r&&(t=cn(t));for(const n of e){let e=ee(V(n,o));if(r&&(e=cn(e)),e===t)return n}})(s,n,t,i);if(void 0!==e)return e;if(0===r)throw new RangeError(Uo)}return a?ue(n):$n(e,n,o,s)}function $n(e,n,t=0,r=e.I(n)){if(1===r.length)return r[0];if(1===t)throw new RangeError(qo);if(r.length)return r[3===t?1:0];const o=ue(n),i=((e,n)=>{const t=e.R($(n,-gi));return(e=>{if(e>gi)throw new RangeError(Wo);return e})(e.R($(n,gi))-t)})(e,o),a=i*(2===t?-1:1);return(r=e.I(Me(o,a)))[2===t?0:r.length-1]}function Vn(e,n){const t=e.I(n);if(t.length)return t[0];const r=$(ue(n),-gi);return e.O(r,1)}function Kn(e,n,t){return Ve(ie(q(n.epochNanoseconds,(e=>{if(Tt(e))throw new RangeError(Xo);return wt(e,5)})(e?yt(t):t))))}function Jn(e,n,t,r,o,i=Object.create(null)){const a=n(r.timeZone),s=e(r.calendar);return{...r,...tt(a,s,r,t?yt(o):o,i)}}function Xn(e,n,t,r,o=Object.create(null)){const{calendar:i}=t;return Je(rt(e(i),t,n?yt(r):r,o),i)}function Qn(e,n,t,r,o){const{calendar:i}=t;return Xe(ot(e(i),t,n?yt(r):r,o),i)}function et(e,n,t,r,o){const i=t.calendar,a=e(i);let s=re(it(a,t));n&&(r=Mt(r)),r.sign<0&&(s=a.P(s,{...Xi,months:1}),s=st(s,-1));const m=a.P(s,r,o);return Qe(it(a,m),i)}function nt(e,n,t){return nn(at(n,e?yt(t):t)[0])}function tt(e,n,t,r,o){const i=wt(r,5);let a=t.epochNanoseconds;if(Tt(r)){const s=ss(t,e);a=q($n(e,{...ot(n,s,{...r,...Qi},o),...h(na,s)}),i)}else a=q(a,i),Ce(o);return{epochNanoseconds:ie(a)}}function rt(e,n,t,r){const[o,i]=at(n,t);return oe({...ot(e,n,{...t,...Qi,days:t.days+i},r),...o})}function ot(e,n,t,r){if(t.years||t.months||t.weeks)return e.P(n,t,r);Ce(r);const o=t.days+wt(t,5)[0];return o?re(st(n,o)):n}function it(e,n,t=1){return st(n,t-e.day(n))}function at(e,n){const[t,r]=wt(n,5),[o,i]=se(ae(e)+r);return[o,t+i]}function st(e,n){return n?{...e,...ye(le(e)+n*ui)}:e}function mt(e,n,t){const r=e(t.calendar);return ct(t)?[t,r,n(t.timeZone)]:[{...t,...sa},r]}function lt(e){return e?on:ue}function ut(e){return e?g(tt,e):rt}function dt(e){return e?g(sr,e):mr}function ct(e){return e&&e.epochNanoseconds}function ht(e,n){return e<=6-(ct(n)?1:0)}function ft(e,n,t,r,o,i,a){const s=e(Ye(a).relativeTo),m=Math.max(St(o),St(i));if(ht(m,s))return tn(pt(((e,n,t,r)=>{const o=q(wt(e),wt(n),r?-1:1);if(!Number.isFinite(o[0]))throw new RangeError($o);return{...Xi,...vt(o,t)}})(o,i,m,r)));if(!s)throw new RangeError(Jo);r&&(i=yt(i));const[l,u,d]=mt(n,t,s),c=ut(d),h=dt(d),f=c(u,l,o);return tn(h(u,l,c(u,f,i),m))}function Mt(e){return tn(yt(e))}function yt(e){const n={};for(const t of Ui)n[t]=-1*e[t]||0;return n}function gt(e,n=Ui){let t=0;for(const r of n){const n=Math.sign(e[r]);if(n){if(t&&t!==n)throw new RangeError(Ko);t=n}}return t}function pt(e){for(const n of Ki)t(n,e[n],-ms,ms,1);return bt(ee(wt(e),fi)),e}function bt(e){if(!Number.isSafeInteger(e))throw new RangeError(Vo)}function wt(e,n=6){return k(e,n,Ui)}function vt(e,n=6){const[t,r]=e,o=I(r,n,Ui);if(o[Ui[n]]+=t*(gi/pi[n]),!Number.isFinite(o[Ui[n]]))throw new RangeError($o);return o}function Et(e,n=5){return I(e,n,Ui)}function Tt(e){return Boolean(gt(e,Vi))}function St(e){let n=9;for(;n>0&&!e[Ui[n]];n--);return n}function Dt(e,n){return[e,n]}function zt(e){const n=Math.floor(e/rs)*rs;return[n,n+rs]}function At(e){const n=Nt(e);if(void 0===n)throw new RangeError(ni(e));return n}function Ht(e,n,t){let r=Pt(Yi(e));if(!r||r.j)throw new RangeError(ni(e));return n?r.calendar===Ni&&(r=-271821===r.isoYear&&4===r.isoMonth?{...r,isoDay:20,...sa}:{...r,isoDay:1,...sa}):t&&r.calendar===Ni&&(r={...r,isoYear:pa}),Xe(r.C?_t(r):Ct(r))}function kt(e){if(e.calendar!==Ni)throw new RangeError(ti(e.calendar))}function It(e,n,t=0,r=0){const o=Wt(e.timeZone),i=ls(o);let a;return Ae(e),a=e.C?qn(i,e,n,t,r,!i.$,e.j):Vn(i,e),Ke(a,o,Yr(e.calendar))}function _t(e){return Gt(oe(Ae(e)))}function Ct(e){return Gt(re(He(e)))}function Gt(e){return{...e,calendar:Yr(e.calendar)}}function Pt(e){const n=Es.exec(e);return n?(e=>{const n=e[10],t="Z"===(n||"").toUpperCase();return{isoYear:xt(e),isoMonth:parseInt(e[4]),isoDay:parseInt(e[5]),...Lt(e.slice(5)),...jt(e[16]),C:Boolean(e[6]),j:t,offset:t?void 0:n}})(n):void 0}function Ot(e){const n=ws.exec(e);return n?(e=>({isoYear:xt(e),isoMonth:parseInt(e[4]),isoDay:1,...jt(e[5])}))(n):void 0}function Bt(e){const n=vs.exec(e);return n?(e=>({isoYear:pa,isoMonth:parseInt(e[1]),isoDay:parseInt(e[2]),...jt(e[3])}))(n):void 0}function Nt(e,n){const t=Ss.exec(e);return t?((e,n)=>{const t=e[4]||e[5];if(n&&t)throw new RangeError(ti(t));return(e=>{if(Math.abs(e)>=gi)throw new RangeError(Zo);return e})((Zt(e[2])*yi+Zt(e[3])*Mi+Zt(e[4])*fi+Rt(e[5]||""))*Yt(e[1]))})(t,n):void 0}function xt(e){const n=Yt(e[1]),t=parseInt(e[2]||e[3]);if(n<0&&!t)throw new RangeError(ti(-0));return n*t}function Lt(e){const n=Zt(e[3]);return{...se(Rt(e[4]||""))[0],isoHour:Zt(e[1]),isoMinute:Zt(e[2]),isoSecond:60===n?59:n}}function jt(e){let n,t;const r=[];if(e.replace(Ds,(e,o,i)=>{const a=Boolean(o),[s,m]=i.split("=").reverse();if(m){if("u-ca"===m)r.push(s),n||(n=a);else if(a||/[A-Z]/.test(m))throw new RangeError(ti(e))}else{if(t)throw new RangeError(ti(e));t=s}return""}),r.length>1&&n)throw new RangeError(ti(e));return{timeZone:t,calendar:r[0]||Ni}}function Rt(e){return parseInt(e.padEnd(9,"0"))}function Ft(e){return new RegExp(`^${e}$`,"i")}function Yt(e){return e&&"+"!==e?-1:1}function Zt(e){return void 0===e?0:parseInt(e)}function Wt(e){const n=qt(e);return"number"==typeof n?jn(n):n?(e=>{if(ks.test(e))throw new RangeError(Ro(e));if(Hs.test(e))throw new RangeError(Yo);return e.toLowerCase().split("/").map((e,n)=>(e.length<=3||/\d/.test(e))&&!/etc|yap/.test(e)?e.toUpperCase():e.replace(/baja|dumont|[a-z]+/g,(e,t)=>e.length<=2&&!n||"in"===e||"chat"===e?e.toUpperCase():e.length>2||!t?p(e).replace(/island|noronha|murdo|rivadavia|urville/,p):e)).join("/")})(e):ts}function Ut(e){const n=qt(e);return"number"==typeof n?n:n?n.resolvedOptions().timeZone:ts}function qt(e){const n=Nt(e=e.toUpperCase(),1);return void 0!==n?n:e!==ts?As(e):void 0}function $t(e,n){return K(e.epochNanoseconds,n.epochNanoseconds)}function Vt(e,n){return K(e.epochNanoseconds,n.epochNanoseconds)}function Kt(e,n){return Jt(e,n)||Xt(e,n)}function Jt(e,n){return v(le(e),le(n))}function Xt(e,n){return v(ae(e),ae(n))}function Qt(e,n){if(e===n)return 1;try{return Ut(e)===Ut(n)}catch(e){}}function er(e,n,t,r){const o=Pe(e,r,3,5),i=dr(n.epochNanoseconds,t.epochNanoseconds,...o);return tn(e?yt(i):i)}function nr(e,n,t,r,o,i){const a=yr(r.calendar,o.calendar),[s,m,l,u]=Pe(t,i,5),d=r.epochNanoseconds,c=o.epochNanoseconds,h=K(c,d);let f;if(h)if(s<6)f=dr(d,c,s,m,l,u);else{const t=n(((e,n)=>{if(!Qt(e,n))throw new RangeError(Fo);return e})(r.timeZone,o.timeZone)),d=e(a);f=lr(d,t,r,o,h,s,i),f=gn(f,c,s,m,l,u,d,r,on,g(tt,t))}else f=Xi;return tn(t?yt(f):f)}function tr(e,n,t,r,o){const i=yr(t.calendar,r.calendar),[a,s,m,l]=Pe(n,o,6),u=ue(t),d=ue(r),c=K(d,u);let h;if(c)if(a<=6)h=dr(u,d,a,s,m,l);else{const n=e(i);h=ur(n,t,r,c,a,o),h=gn(h,d,a,s,m,l,n,t,ue,rt)}else h=Xi;return tn(n?yt(h):h)}function rr(e,n,t,r,o){const i=yr(t.calendar,r.calendar);return ir(n,()=>e(i),t,r,...Pe(n,o,6,9,6))}function or(e,n,t,r,o){const i=yr(t.calendar,r.calendar),a=Pe(n,o,9,9,8),s=e(i),m=it(s,t),l=it(s,r);return m.isoYear===l.isoYear&&m.isoMonth===l.isoMonth&&m.isoDay===l.isoDay?tn(Xi):ir(n,()=>s,re(m),re(l),...a,8)}function ir(e,n,t,r,o,i,a,s,m=6){const l=ue(t),u=ue(r);if(void 0===l||void 0===u)throw new RangeError($o);let d;if(K(u,l))if(6===o)d=dr(l,u,o,i,a,s);else{const e=n();d=e.N(t,r,o),i===m&&1===a||(d=gn(d,u,o,i,a,s,e,t,ue,ot))}else d=Xi;return tn(e?yt(d):d)}function ar(e,n,t,r){const[o,i,a,s]=Pe(e,r,5,5),m=wn(Mr(n,t),hn(i,a),s),l={...Xi,...Et(m,o)};return tn(e?yt(l):l)}function sr(e,n,t,r,o,i){const a=K(r.epochNanoseconds,t.epochNanoseconds);return a?o<6?cr(t.epochNanoseconds,r.epochNanoseconds,o):lr(n,e,t,r,a,o,i):Xi}function mr(e,n,t,r,o){const i=ue(n),a=ue(t),s=K(a,i);return s?r<=6?cr(i,a,r):ur(e,n,t,s,r,o):Xi}function lr(e,n,t,r,o,i,a){const[s,m,l]=((e,n,t,r)=>{function o(){return d={...st(s,l++*-r),...a},c=$n(e,d),K(m,c)===-r}const i=ss(n,e),a=h(na,i),s=ss(t,e),m=t.epochNanoseconds;let l=0;const u=Mr(i,s);let d,c;if(Math.sign(u)===-r&&l++,o()&&(-1===r||o()))throw new RangeError(xo);const f=ee(V(c,m));return[i,d,f]})(n,t,r,o);var u,d;return{...6===i?(u=s,d=m,{...Xi,days:hr(u,d)}):e.N(s,m,i,a),...Et(l)}}function ur(e,n,t,r,o,i){const[a,s,m]=((e,n,t)=>{let r=n,o=Mr(e,n);return Math.sign(o)===-t&&(r=st(n,-t),o+=gi*t),[e,r,o]})(n,t,r);return{...e.N(a,s,o,i),...Et(m)}}function dr(e,n,t,r,o,i){return{...Xi,...vt(pn(V(e,n),r,o,i),t)}}function cr(e,n,t){return{...Xi,...vt(V(e,n),t)}}function hr(e,n){return fr(le(e),le(n))}function fr(e,n){return Math.trunc((n-e)/ui)}function Mr(e,n){return ae(n)-ae(e)}function yr(e,n){if(e!==n)throw new RangeError(jo);return e}function gr(e){return this.m(e)[0]}function pr(e){return this.m(e)[1]}function br(e){const[n]=this.v(e);return fr(this.p(n),le(e))+1}function wr(e){const n=Is.exec(e);if(!n)throw new RangeError(Po(e));return[parseInt(n[1]),Boolean(n[2])]}function vr(e,n){return"M"+si(e)+(n?"L":"")}function Er(e,n,t){return e+(n||t&&e>=t?1:0)}function Tr(e,n){return e-(n&&e>=n?1:0)}function Sr(e,n){return(n+e)*(Math.sign(n)||1)||0}function Dr(e){return ji[Ar(e)]}function zr(e){return Fi[Ar(e)]}function Ar(e){return Zr(e.id||Ni)}function Hr(e){function n(e){return((e,n)=>({..._r(e,n),o:e.month,day:parseInt(e.day)}))(ge(t,e),r)}const t=Cs(e),r=Zr(e);return{id:e,h:kr(n),l:Ir(n)}}function kr(e){return o(n=>{const t=le(n);return e(t)},WeakMap)}function Ir(e){const n=e(0).year-ga;return o(t=>{let r,o=he(t-n),i=0;const a=[],s=[];do{o+=400*ui}while((r=e(o)).year<=t);do{if(o+=(1-r.day)*ui,r.year===t&&(a.push(o),s.push(r.o)),o-=ui,++i>100||o<-ua)throw new RangeError(xo)}while((r=e(o)).year>=t);return{i:a.reverse(),u:ii(s.reverse())}})}function _r(e,n){let t,r,o=Cr(e);if(e.era){const i=ji[n],a=Ri[n]||{};void 0!==i&&(t="islamic"===n?"ah":e.era.normalize("NFD").toLowerCase().replace(/[^a-z0-9]/g,""),"bc"===t||"b"===t?t="bce":"ad"===t||"a"===t?t="ce":"beforeroc"===t&&(t="broc"),t=a[t]||t,r=o,o=Sr(r,i[t]||0))}return{era:t,eraYear:r,year:o}}function Cr(e){return parseInt(e.relatedYear||e.year)}function Gr(e){const{year:n,o:t,day:r}=this.h(e),{u:o}=this.l(n);return[n,o[t]+1,r]}function Pr(e,n=1,t=1){return this.l(e).i[n-1]+(t-1)*ui}function Or(e,n){const t=Br.call(this,e);return[Tr(n,t),t===n]}function Br(e){const n=Rr(this,e),t=Rr(this,e-1),r=n.length;if(r>t.length){const e=zr(this);if(e<0)return-e;for(let e=0;e<r;e++)if(n[e]!==t[e])return e+1}}function Nr(e){return fr(Pr.call(this,e),Pr.call(this,e+1))}function xr(e,n){const{i:t}=this.l(e);let r=n+1,o=t;return r>t.length&&(r=1,o=this.l(e+1).i),fr(t[n-1],o[r-1])}function Lr(e){return this.l(e).i.length}function jr(e){const n=this.h(e);return[n.era,n.eraYear]}function Rr(e,n){return Object.keys(e.l(n).u)}function Fr(e){return Yr(Yi(e))}function Yr(e){if((e=e.toLowerCase())!==Ni&&e!==xi){const n=Cs(e).resolvedOptions().calendar;if(Zr(e)!==Zr(n))throw new RangeError(Lo(e));return n}return e}function Zr(e){return"islamicc"===e&&(e="islamic"),e.split("-")[0]}function Wr(e,n){return t=>t===Ni?e:t===xi||t===Li?Object.assign(Object.create(e),{id:t}):Object.assign(Object.create(n),_s(t))}function Ur(e,n,t,r){const o=qr(t,r,Gi,[],Si);if(void 0!==o.timeZone){const r=t.F(o),i=Vr(o),a=e(o.timeZone);return{epochNanoseconds:qn(n(a),{...r,...i},void 0!==o.offset?At(o.offset):void 0),timeZone:a}}return{...t.F(o),...sa}}function qr(e,n,t,r=[],o=[]){return $r(n,[...e.fields(t),...o].sort(),r)}function $r(e,n,t,r=!t){const o={};let i,a=0;for(const r of n){if(r===i)throw new RangeError(Do(r));if("constructor"===r||"__proto__"===r)throw new RangeError(So(r));let n=e[r];if(void 0!==n)a=1,Ys[r]&&(n=Ys[r](n,r)),o[r]=n;else if(t){if(t.includes(r))throw new TypeError(To(r));o[r]=Bi[r]}i=r}if(r&&!a)throw new TypeError(zo(n));return o}function Vr(e,n){return _e(Zs({...Bi,...e}),n)}function Kr(e,n,t,r,o){n=h(t=e.fields(t),n),r=$r(r,o=e.fields(o),[]);let i=e.k(n,r);return i=$r(i,[...t,...o].sort(),[]),e.F(i)}function Jr(e,n){const t=Dr(e),r=Ri[e.id||""]||{};let{era:o,eraYear:i,year:a}=n;if(void 0!==o||void 0!==i){if(void 0===o||void 0===i)throw new TypeError(Io);if(!t)throw new RangeError(ko);const e=t[r[o]||o];if(void 0===e)throw new RangeError(Co(o));const n=Sr(i,e);if(void 0!==a&&a!==n)throw new RangeError(_o);a=n}else if(void 0===a)throw new TypeError(Go(t));return a}function Xr(e,n,r,o){let{month:i,monthCode:a}=n;if(void 0!==a){const n=((e,n,t,r)=>{const o=e.L(t),[i,a]=wr(n);let s=Er(i,a,o);if(a){const n=zr(e);if(void 0===n)throw new RangeError(No);if(n>0){if(s>n)throw new RangeError(No);if(void 0===o){if(1===r)throw new RangeError(No);s--}}else{if(s!==-n)throw new RangeError(No);if(void 0===o&&1===r)throw new RangeError(No)}}return s})(e,a,r,o);if(void 0!==i&&i!==n)throw new RangeError(Oo);i=n,o=1}else if(void 0===i)throw new TypeError(Bo);return t("month",i,1,e.B(r),o)}function Qr(e,t,r,o,i){return n(t,"day",1,e.U(o,r),i)}function eo(e,n,t,r){let o=0;const i=[];for(const e of t)void 0!==n[e]?o=1:i.push(e);if(Object.assign(e,n),o)for(const n of r||i)delete e[n]}function no(e){const n=Rs(e.calendar),[t,r,o]=n.v(e),[i,a]=n.q(t,r);return{year:t,monthCode:vr(i,a),day:o}}function to(e,n){return Je(ss(n,e))}function ro(e,n){return Xe(ss(n,e))}function oo(e,n){return nn(ss(n,e))}function io(e,n,t){const r=new Set(t);return(o,i)=>{const a=t&&f(o,t);if(!f(o=((e,n)=>{const t={};for(const r in n)e.has(r)||(t[r]=n[r]);return t})(r,o),e)){if(i&&a)throw new TypeError("Invalid formatting options");o={...n,...o}}return t&&(o.timeZone=ts,["full","long"].includes(o.J)&&(o.J="medium")),o}}function ao(e,n=so,t=0){const[r,,,o]=e;return(i,a=vm,...s)=>{const m=n(o&&o(...s),i,a,r,t),l=m.resolvedOptions();return[m,...mo(e,l,s)]}}function so(e,n,t,r,o){if(t=r(t,o),e){if(void 0!==t.timeZone)throw new TypeError(oi);t.timeZone=e}return new Ma(n,t)}function mo(e,n,t){const[,r,o]=e;return t.map(e=>(e.calendar&&((e,n,t)=>{if((t||e!==Ni)&&e!==n)throw new RangeError(jo)})(e.calendar,n.calendar,o),r(e,n)))}function lo(e,n){return{...e,calendar:n}}function uo(e){const n=co();return Me(n,e.R(n))}function co(){return Q(Date.now(),hi)}function ho(){return Im||(Im=(new Ma).resolvedOptions().timeZone)}const fo=(e,n)=>`Non-integer ${e}: ${n}`,Mo=(e,n)=>`Non-positive ${e}: ${n}`,yo=(e,n)=>`Non-finite ${e}: ${n}`,go=e=>`Cannot convert bigint to ${e}`,po=e=>`Invalid bigint: ${e}`,bo="Cannot convert Symbol to string",wo="Invalid object",vo=(e,n,t,r,o)=>o?vo(e,o[n],o[t],o[r]):Eo(e,n)+`; must be between ${t}-${r}`,Eo=(e,n)=>`Invalid ${e}: ${n}`,To=e=>`Missing ${e}`,So=e=>`Invalid field ${e}`,Do=e=>`Duplicate field ${e}`,zo=e=>"No valid fields: "+e.join(),Ao=(e,n,t)=>Eo(e,n)+"; must be "+Object.keys(t).join(),Ho="Invalid calling context",ko="Forbidden era/eraYear",Io="Mismatching era/eraYear",_o="Mismatching year/eraYear",Co=e=>`Invalid era: ${e}`,Go=e=>"Missing year"+(e?"/era/eraYear":""),Po=e=>`Invalid monthCode: ${e}`,Oo="Mismatching month/monthCode",Bo="Missing month/monthCode",No="Invalid leap month",xo="Invalid protocol results",Lo=e=>Eo("Calendar",e),jo="Mismatching Calendars",Ro=e=>Eo("TimeZone",e),Fo="Mismatching TimeZones",Yo="Forbidden ICU TimeZone",Zo="Out-of-bounds offset",Wo="Out-of-bounds TimeZone gap",Uo="Invalid TimeZone offset",qo="Ambiguous offset",$o="Out-of-bounds date",Vo="Out-of-bounds duration",Ko="Cannot mix duration signs",Jo="Missing relativeTo",Xo="Cannot use large units",Qo="Required smallestUnit or largestUnit",ei="smallestUnit > largestUnit",ni=e=>`Cannot parse: ${e}`,ti=e=>`Invalid substring: ${e}`,ri="Mismatching types for formatting",oi="Cannot specify TimeZone",ii=g(d,(e,n)=>n),ai=g(d,(e,n,t)=>t),si=g(w,2),mi={nanosecond:0,microsecond:1,millisecond:2,second:3,minute:4,hour:5,day:6,week:7,month:8,year:9},li=Object.keys(mi),ui=864e5,di=1e3,ci=1e3,hi=1e6,fi=1e9,Mi=6e10,yi=36e11,gi=864e11,pi=[1,ci,hi,fi,Mi,yi,gi],bi=li.slice(0,6),wi=b(bi),vi=["offset"],Ei=["timeZone"],Ti=bi.concat(vi),Si=Ti.concat(Ei),Di=["era","eraYear"],zi=Di.concat(["year"]),Ai=["year"],Hi=["monthCode"],ki=["month"].concat(Hi),Ii=["day"],_i=ki.concat(Ai),Ci=Hi.concat(Ai),Gi=Ii.concat(_i),Pi=Ii.concat(ki),Oi=Ii.concat(Hi),Bi=ai(bi,0),Ni="iso8601",xi="gregory",Li="japanese",ji={[xi]:{"gregory-inverse":-1,gregory:0},[Li]:{"japanese-inverse":-1,japanese:0,meiji:1867,taisho:1911,showa:1925,heisei:1988,reiwa:2018},ethiopic:{ethioaa:0,ethiopic:5500},coptic:{"coptic-inverse":-1,coptic:0},roc:{"roc-inverse":-1,roc:0},buddhist:{be:0},islamic:{ah:0},indian:{saka:0},persian:{ap:0}},Ri={[xi]:{bce:"gregory-inverse",ce:"gregory"},[Li]:{bce:"japanese-inverse",ce:"japanese"},ethiopic:{era0:"ethioaa",era1:"ethiopic"},coptic:{era0:"coptic-inverse",era1:"coptic"},roc:{broc:"roc-inverse",minguo:"roc"}},Fi={chinese:13,dangi:13,hebrew:-6},Yi=g(B,"string"),Zi=g(B,"boolean"),Wi=g(B,"number"),Ui=li.map(e=>e+"s"),qi=b(Ui),$i=Ui.slice(0,6),Vi=Ui.slice(6),Ki=Vi.slice(1),Ji=ii(Ui),Xi=ai(Ui,0),Qi=ai($i,0),ea=g(y,Ui),na=["isoNanosecond","isoMicrosecond","isoMillisecond","isoSecond","isoMinute","isoHour"],ta=["isoDay","isoMonth","isoYear"],ra=na.concat(ta),oa=b(ta),ia=b(na),aa=b(ra),sa=ai(ia,0),ma=g(y,ra),la=1e8,ua=la*ui,da=[la,0],ca=[-la,0],ha=275760,fa=-271821,Ma=Intl.DateTimeFormat,ya="en-GB",ga=1970,pa=1972,ba=12,wa=he(1868,9,8),va=o(ze,WeakMap),Ea="smallestUnit",Ta="unit",Sa="roundingIncrement",Da="fractionalSecondDigits",za="relativeTo",Aa="direction",Ha={constrain:0,reject:1},ka=Object.keys(Ha),Ia={compatible:0,reject:1,earlier:2,later:3},_a={reject:0,use:1,prefer:2,ignore:3},Ca={auto:0,never:1,critical:2,always:3},Ga={auto:0,never:1,critical:2},Pa={auto:0,never:1},Oa={floor:0,halfFloor:1,ceil:2,halfCeil:3,trunc:4,halfTrunc:5,expand:6,halfExpand:7,halfEven:8},Ba={previous:-1,next:1},Na=g(Ue,Ea),xa=g(Ue,"largestUnit"),La=g(Ue,Ta),ja=g(qe,"overflow",Ha),Ra=g(qe,"disambiguation",Ia),Fa=g(qe,"offset",_a),Ya=g(qe,"calendarName",Ca),Za=g(qe,"timeZoneName",Ga),Wa=g(qe,"offset",Pa),Ua=g(qe,"roundingMode",Oa),qa="PlainYearMonth",$a="PlainMonthDay",Va="PlainDate",Ka="PlainDateTime",Ja="PlainTime",Xa="ZonedDateTime",Qa="Instant",es="Duration",ns=[Math.floor,e=>H(e)?Math.floor(e):Math.round(e),Math.ceil,e=>H(e)?Math.ceil(e):Math.round(e),Math.trunc,e=>H(e)?Math.trunc(e)||0:Math.round(e),e=>e<0?Math.floor(e):Math.ceil(e),e=>Math.sign(e)*Math.round(Math.abs(e))||0,e=>H(e)?(e=Math.trunc(e)||0)+e%2:Math.round(e)],ts="UTC",rs=5184e3,os=ce(1847),is=ce((new Date).getUTCFullYear()+10),as=/0+$/,ss=o(Un,WeakMap),ms=2**32-1,ls=o(e=>{const n=qt(e);return"object"==typeof n?new ds(n):new us(n||0)});class us{constructor(e){this.$=e}R(){return this.$}I(e){return(e=>{const n=ue({...e,...sa});if(!n||Math.abs(n[0])>1e8)throw new RangeError($o)})(e),[de(e,this.$)]}O(){}}class ds{constructor(e){this.nn=(e=>{function n(e){const n=E(e,a,s),[o,m]=zt(n),l=r(o),u=r(m);return l===u?l:t(i(o,m),l,u,e)}function t(n,t,r,o){let i,a;for(;(void 0===o||void 0===(i=o<n[0]?t:o>=n[1]?r:void 0))&&(a=n[1]-n[0]);){const t=n[0]+Math.floor(a/2);e(t)===r?n[1]=t:n[0]=t+1}return i}const r=o(e),i=o(Dt);let a=os,s=is;return{tn(e){const t=n(e-86400),r=n(e+86400),o=e-t,i=e-r;if(t===r)return[o];const a=n(o);return a===n(i)?[e-a]:t>r?[o,i]:[]},rn:n,O(e,n){const o=E(e,a,s);let[m,l]=zt(o);const u=rs*n,d=n<0?()=>l>a||(a=o,0):()=>m<s||(s=o,0);for(;d();){const o=r(m),a=r(l);if(o!==a){const r=i(m,l);t(r,o,a);const s=r[0];if((v(s,e)||1)===n)return s}m+=u,l+=u}}}})((e=>n=>{const t=ge(e,n*di);return ce(Cr(t),parseInt(t.month),parseInt(t.day),parseInt(t.hour),parseInt(t.minute),parseInt(t.second))-n})(e))}R(e){return this.nn.rn((e=>me(e)[0])(e))*fi}I(e){const[n,t]=[ce((r=e).isoYear,r.isoMonth,r.isoDay,r.isoHour,r.isoMinute,r.isoSecond),r.isoMillisecond*hi+r.isoMicrosecond*ci+r.isoNanosecond];var r;return this.nn.tn(n).map(e=>ie($(Q(e,fi),t)))}O(e,n){const[t,r]=me(e),o=this.nn.O(t+(n>0||r?1:0),n);if(void 0!==o)return Q(o,fi)}}const cs="([+-])",hs="(?:[.,](\\d{1,9}))?",fs=`(?:(?:${cs}(\\d{6}))|(\\d{4}))-?(\\d{2})`,Ms="(\\d{2})(?::?(\\d{2})(?::?(\\d{2})"+hs+")?)?",ys=cs+Ms,gs=fs+"-?(\\d{2})(?:[T ]"+Ms+"(Z|"+ys+")?)?",ps="\\[(!?)([^\\]]*)\\]",bs=`((?:${ps}){0,9})`,ws=Ft(fs+bs),vs=Ft("(?:--)?(\\d{2})-?(\\d{2})"+bs),Es=Ft(gs+bs),Ts=Ft("T?"+Ms+"(?:"+ys+")?"+bs),Ss=Ft(ys),Ds=new RegExp(ps,"g"),zs=Ft(`${cs}?P(\\d+Y)?(\\d+M)?(\\d+W)?(\\d+D)?(?:T(?:(\\d+)${hs}H)?(?:(\\d+)${hs}M)?(?:(\\d+)${hs}S)?)?`),As=o(e=>new Ma(ya,{timeZone:e,era:"short",year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"numeric",second:"numeric"})),Hs=/^(AC|AE|AG|AR|AS|BE|BS|CA|CN|CS|CT|EA|EC|IE|IS|JS|MI|NE|NS|PL|PN|PR|PS|SS|VS)T$/,ks=/[^\w\/:+-]+/,Is=/^M(\d{2})(L?)$/,_s=o(Hr),Cs=o(e=>new Ma(ya,{calendar:e,timeZone:ts,era:"short",year:"numeric",month:"short",day:"numeric"})),Gs={P(e,n,r){const o=Ce(r);let i,{years:a,months:s,weeks:m,days:l}=n;if(l+=wt(n,5)[0],a||s)i=((e,n,r,o,i)=>{let[a,s,m]=e.v(n);if(r){const[n,o]=e.q(a,s);a+=r,s=Er(n,o,e.L(a)),s=t("month",s,1,e.B(a),i)}return o&&([a,s]=e.un(a,s,o)),m=t("day",m,1,e.U(a,s),i),e.p(a,s,m)})(this,e,a,s,o);else{if(!m&&!l)return e;i=le(e)}if(void 0===i)throw new RangeError($o);return i+=(7*m+l)*ui,re(ye(i))},N(e,n,t){if(t<=7){let r=0,o=hr({...e,...sa},{...n,...sa});return 7===t&&([r,o]=D(o,7)),{...Xi,weeks:r,days:o}}const r=this.v(e),o=this.v(n);let[i,a,s]=((e,n,t,r,o,i,a)=>{let s=o-n,m=i-t,l=a-r;if(s||m){const u=Math.sign(s||m);let d=e.U(o,i),c=0;if(Math.sign(l)===-u){const r=d;[o,i]=e.un(o,i,-u),s=o-n,m=i-t,d=e.U(o,i),c=u<0?-r:d}if(l=a-Math.min(r,d)+c,s){const[r,a]=e.q(n,t),[l,d]=e.q(o,i);if(m=l-r||Number(d)-Number(a),Math.sign(m)===-u){const t=u<0&&-e.B(o);s=(o-=u)-n,m=i-Er(r,a,e.L(o))+(t||e.B(o))}}}return[s,m,l]})(this,...r,...o);return 8===t&&(a+=this.cn(i,r[0]),i=0),{...Xi,years:i,months:a,days:s}},F(e,n){const t=Ce(n),r=Jr(this,e),o=Xr(this,e,r,t),i=Qr(this,e,o,r,t);return Xe(re(this.V(r,o,i)),this.id||Ni)},K(e,n){const t=Ce(n),r=Jr(this,e),o=Xr(this,e,r,t);return Qe(te(this.V(r,o,1)),this.id||Ni)},_(e,n){const t=Ce(n);let r,o,i,a=void 0!==e.eraYear||void 0!==e.year?Jr(this,e):void 0;const s=!this.id;if(void 0===a&&s&&(a=pa),void 0!==a){const n=Xr(this,e,a,t);r=Qr(this,e,n,a,t);const s=this.L(a);o=Tr(n,s),i=n===s}else{if(void 0===e.monthCode)throw new TypeError(Bo);if([o,i]=wr(e.monthCode),this.id&&this.id!==xi&&this.id!==Li)if(this.id&&"coptic"===Zr(this.id)&&0===t){const n=i||13!==o?30:6;r=e.day,r=E(r,1,n)}else if(this.id&&"chinese"===Zr(this.id)&&0===t){const n=!i||1!==o&&9!==o&&10!==o&&11!==o&&12!==o?30:29;r=e.day,r=E(r,1,n)}else r=e.day;else r=Qr(this,e,Xr(this,e,pa,t),pa,t)}const m=this.G(o,i,r);if(!m)throw new RangeError("Cannot guess year");const[l,u]=m;return en(re(this.V(l,u,r)),this.id||Ni)},fields(e){return Dr(this)&&e.includes("year")?[...e,...Di]:e},k(e,n){const t=Object.assign(Object.create(null),e);return eo(t,n,ki),Dr(this)&&(eo(t,n,zi),this.id===Li&&eo(t,n,Pi,Di)),t},inLeapYear(e){const[n]=this.v(e);return this.sn(n)},monthsInYear(e){const[n]=this.v(e);return this.B(n)},daysInMonth(e){const[n,t]=this.v(e);return this.U(n,t)},daysInYear(e){const[n]=this.v(e);return this.fn(n)},dayOfYear:br,era(e){return this.hn(e)[0]},eraYear(e){return this.hn(e)[1]},monthCode(e){const[n,t]=this.v(e),[r,o]=this.q(n,t);return vr(r,o)},dayOfWeek:Se,daysInWeek:()=>7},Ps={v:pe,hn:De,q:be},Os={dayOfYear:br,v:pe,p:he},Bs=Object.assign({},Os,{weekOfYear:gr,yearOfWeek:pr,m(e){function n(e){return(7-e<r?7:0)-e}function t(e){const t=Ee(c+e),r=e||1,o=n(S(m+t*r,7));return u=(t+(o-l)*r)/7}const r=this.id?1:4,o=Se(e),i=this.dayOfYear(e),a=S(o-1,7),s=i-1,m=S(a-s,7),l=n(m);let u,d=Math.floor((s-l)/7)+1,c=e.isoYear;return d?d>t(0)&&(d=1,c++):(d=t(-1),c--),[d,c,u]}}),Ns=Object.assign({},Gs,Bs,{v:pe,hn:De,q:be,G(e,n){if(!n)return[pa,e]},sn:Te,L(){},B:we,cn:e=>e*ba,U:ve,fn:Ee,V:(e,n,t)=>({isoYear:e,isoMonth:n,isoDay:t}),p:he,un:(e,n,t)=>(e+=z(t,ba),(n+=A(t,ba))<1?(e--,n+=ba):n>ba&&(e++,n-=ba),[e,n]),year:e=>e.isoYear,month:e=>e.isoMonth,day:e=>e.isoDay}),xs={v:Gr,hn:jr,q:Or},Ls={dayOfYear:br,v:Gr,p:Pr,weekOfYear:gr,yearOfWeek:pr,m:()=>[]},js=Object.assign({},Gs,Ls,{v:Gr,hn:jr,q:Or,G(e,n,t){const r=this.id&&"chinese"===Zr(this.id)?((e,n,t)=>{if(n)switch(e){case 1:return 1651;case 2:return t<30?1947:1765;case 3:return t<30?1966:1955;case 4:return t<30?1963:1944;case 5:return t<30?1971:1952;case 6:return t<30?1960:1941;case 7:return t<30?1968:1938;case 8:return t<30?1957:1718;case 9:return 1832;case 10:return 1870;case 11:return 1814;case 12:return 1890}return 1972})(e,n,t):pa;let[o,i,a]=Gr.call(this,{isoYear:r,isoMonth:ba,isoDay:31});const s=Br.call(this,o),m=i===s;1===(v(e,Tr(i,s))||v(Number(n),Number(m))||v(t,a))&&o--;for(let r=0;r<100;r++){const i=o-r,a=Br.call(this,i),s=Er(e,n,a);if(n===(s===a)&&t<=xr.call(this,i,s))return[i,s]}},sn(e){const n=Nr.call(this,e);return n>Nr.call(this,e-1)&&n>Nr.call(this,e+1)},L:Br,B:Lr,cn(e,n){const t=n+e,r=Math.sign(e),o=r<0?-1:0;let i=0;for(let e=n;e!==t;e+=r)i+=Lr.call(this,e+o);return i},U:xr,fn:Nr,V(e,n,t){return ye(Pr.call(this,e,n,t))},p:Pr,un(e,n,t){if(t){if(n+=t,!Number.isSafeInteger(n))throw new RangeError($o);if(t<0)for(;n<1;)n+=Lr.call(this,--e);else{let t;for(;n>(t=Lr.call(this,e));)n-=t,e++}}return[e,n]},year(e){return this.h(e).year},month(e){const{year:n,o:t}=this.h(e),{u:r}=this.l(n);return r[t]+1},day(e){return this.h(e).day}}),Rs=Wr(Ps,xs),Fs=Wr(Ns,js),Ys={...{era:j,eraYear:Y,year:Y,month:W,monthCode(e){const n=j(e);return wr(n),n},day:W},...ai(bi,Y),...ai(Ui,Z),offset(e){const n=j(e);return At(n),n}},Zs=g(c,bi,na),Ws=g(c,na,bi),Us="numeric",qs=["timeZoneName"],$s={month:Us,day:Us},Vs={year:Us,month:Us},Ks=Object.assign({},Vs,{day:Us}),Js={hour:Us,minute:Us,second:Us},Xs=Object.assign({},Ks,Js),Qs=Object.assign({},Xs,{timeZoneName:"short"}),em=Object.keys(Vs),nm=Object.keys($s),tm=Object.keys(Ks),rm=Object.keys(Js),om=["dateStyle"],im=em.concat(om),am=nm.concat(om),sm=tm.concat(om,["weekday"]),mm=rm.concat(["dayPeriod","timeStyle","fractionalSecondDigits"]),lm=sm.concat(mm),um=qs.concat(mm),dm=qs.concat(sm),cm=qs.concat(["day","weekday"],mm),hm=qs.concat(["year","weekday"],mm),fm=io(lm,Xs),Mm=io(lm,Qs),ym=io(lm,Xs,qs),gm=io(sm,Ks,um),pm=io(mm,Js,dm),bm=io(im,Vs,cm),wm=io(am,$s,hm),vm={},Em=new Ma(void 0,{calendar:Ni}).resolvedOptions().calendar===Ni,Tm=[fm,rn],Sm=[Mm,rn,0,(e,n)=>{const t=e.timeZone;if(n&&n.timeZone!==t)throw new RangeError(Fo);return t}],Dm=[ym,le],zm=[gm,le],Am=[pm,e=>ae(e)/hi],Hm=[bm,le,Em],km=[wm,le,Em];let Im;function _m(e,n,t,r,o){function l(...e){if(!(this instanceof l))throw new TypeError(Ho);rl(this,n(...e))}function d(e,n){return Object.defineProperties(function(...n){return e.call(this,c(this),...n)},i(n))}function c(n){const t=tl(n);if(!t||t.branding!==e)throw new TypeError(Ho);return t}return Object.defineProperties(l.prototype,{...s(u(d,t)),...a(u(d,r)),...m("Temporal."+e)}),Object.defineProperties(l,{...a(o),...i(e)}),[l,e=>{const n=Object.create(l.prototype);return rl(n,e),n},c]}function Cm(e){if(tl(e)||void 0!==e.calendar||void 0!==e.timeZone)throw new TypeError("Invalid bag");return e}function Gm(e){return Pm(e)||Ni}function Pm(e){const{calendar:n}=e;if(void 0!==n)return Om(n)}function Om(e){if(r(e)){const{calendar:n}=tl(e)||{};if(!n)throw new TypeError(Lo(e));return n}return(e=>Yr(function(e){const n=Pt(e)||Ot(e)||Bt(e);return n?n.calendar:e}(Yi(e))))(e)}function Bm(e){const n={};for(const t in e)n[t]=e=>{const{calendar:n}=e;return Fs(n)[t](e)};return n}function Nm(){throw new TypeError("Cannot use valueOf")}function xm(e){if(r(e)){const{timeZone:n}=tl(e)||{};if(!n)throw new TypeError(Ro(e));return n}return(e=>Wt(function(e){const n=Pt(e);return n&&(n.timeZone||n.j&&ts||n.offset)||e}(Yi(e))))(e)}function Lm(e){if(r(e)){const n=tl(e);return n&&n.branding===es?n:function(e){const n=$r(e,qi);return tn(pt({...Xi,...n}))}(e)}return function(e){const n=(e=>{const n=zs.exec(e);return n?(e=>{function n(e,n,i){let a=0,s=0;if(i&&([a,o]=T(o,pi[i])),void 0!==e){if(r)throw new RangeError(ti(e));s=(e=>{const n=parseInt(e);if(!Number.isFinite(n))throw new RangeError(ti(e));return n})(e),t=1,n&&(o=Rt(n)*(pi[i]/fi),r=1)}return a+s}let t=0,r=0,o=0,i={...l(Ui,[n(e[2]),n(e[3]),n(e[4]),n(e[5]),n(e[6],e[7],5),n(e[8],e[9],4),n(e[10],e[11],3)]),...I(o,2,Ui)};if(!t)throw new RangeError(zo(Ui));return Yt(e[1])<0&&(i=yt(i)),i})(n):void 0})(Yi(e));if(!n)throw new RangeError(ni(e));return tn(pt(n))}(e)}function jm(e){if(void 0!==e){if(r(e)){const n=tl(e)||{};switch(n.branding){case Xa:case Va:return n;case Ka:return Xe(n)}const t=Gm(e);return{...Ur(xm,ls,Fs(t),e),calendar:t}}return function(e){const n=Pt(Yi(e));if(!n)throw new RangeError(ni(e));if(n.timeZone)return It(n,n.offset?At(n.offset):void 0);if(n.j)throw new RangeError(ni(e));return Ct(n)}(e)}}function Rm(e,n){if(r(e)){const t=tl(e)||{};switch(t.branding){case Ja:return Ce(n),t;case Ka:return Ce(n),nn(t);case Xa:return Ce(n),oo(ls,t)}return function(e,n){return nn(Vr($r(e,wi,[],1),Ce(n)))}(e,n)}const t=function(e){let n,t=(e=>{const n=Ts.exec(e);return n?(jt(n[10]),Lt(n)):void 0})(Yi(e));if(!t){if(t=Pt(e),!t)throw new RangeError(ni(e));if(!t.C)throw new RangeError(ni(e));if(t.j)throw new RangeError(ti("Z"));kt(t)}if((n=Ot(e))&&ke(n))throw new RangeError(ni(e));if((n=Bt(e))&&ke(n))throw new RangeError(ni(e));return nn(_e(t,1))}(e);return Ce(n),t}function Fm(e){return void 0===e?void 0:Rm(e)}function Ym(e,n){if(r(e)){const t=tl(e)||{};switch(t.branding){case Ka:return Ce(n),t;case Va:return Ce(n),Je({...t,...sa});case Xa:return Ce(n),to(ls,t)}return function(e,n,t){const r=qr(e,n,Gi,[],bi),o=Ce(t);return Je(oe({...e.F(r,We(o)),...Vr(r,o)}))}(Fs(Gm(e)),e,n)}const t=function(e){const n=Pt(Yi(e));if(!n||n.j)throw new RangeError(ni(e));return Je(_t(n))}(e);return Ce(n),t}function Zm(e,n){if(r(e)){const t=tl(e);if(t&&t.branding===$a)return Ce(n),t;const r=Pm(e);return function(e,n,t,r){const o=qr(e,t,Gi,Ii);return n&&void 0!==o.month&&void 0===o.monthCode&&void 0===o.year&&(o.year=pa),e._(o,r)}(Fs(r||Ni),!r,e,n)}const t=function(e,n){const t=Bt(Yi(n));if(t)return kt(t),en(He(t));const r=Ht(n,0,1),{calendar:o}=r,i=e(o),[a,s,m]=i.v(r),[l,u]=i.q(a,s),[d,c]=i.G(l,u,m);return en(re(i.V(d,c,m)),o)}(Fs,e);return Ce(n),t}function Wm(e,n){if(r(e)){const t=tl(e);return t&&t.branding===qa?(Ce(n),t):function(e,n,t,r){const o=qr(e,n,_i,r);return e.K(o,t)}(Fs(Gm(e)),e,n)}const t=function(e,n){const t=Ot(Yi(n));if(t)return kt(t),Qe(te(He(t)));const r=Ht(n,1);return Qe(it(e(r.calendar),r))}(Fs,e);return Ce(n),t}function Um(e,n){if(r(e)){const t=tl(e)||{};switch(t.branding){case Va:return Ce(n),t;case Ka:return Ce(n),Xe(t);case Xa:return Ce(n),ro(ls,t)}return function(e,n,t,r=[]){const o=qr(e,n,Gi,r);return e.F(o,t)}(Fs(Gm(e)),e,n)}const t=Ht(e);return Ce(n),t}function qm(e,n){if(r(e)){const t=tl(e);if(t&&t.branding===Xa)return Ge(n),t;const r=Gm(e);return function(e,n,t,r,o,i){const a=qr(t,o,Gi,Ei,Si),s=e(a.timeZone),[m,l,u]=Ge(i),d=t.F(a,We(m)),c=Vr(a,m);return Ke(qn(n(s),{...d,...c},void 0!==a.offset?At(a.offset):void 0,l,u),s,r)}(xm,ls,Fs(r),r,e,n)}return function(e,n){const t=Pt(Yi(e));if(!t||!t.timeZone)throw new RangeError(ni(e));const{offset:r}=t,o=r?At(r):void 0,[,i,a]=Ge(n);return It(t,o,i,a)}(e,n)}function $m(e){return u(e=>n=>e(Vm(n)),e)}function Vm(e){return ss(e,ls)}function Km(e){if(r(e)){const n=tl(e);if(n)switch(n.branding){case Qa:return n;case Xa:return Ve(n.epochNanoseconds)}}return function(e){const n=Pt(e=j(e));if(!n)throw new RangeError(ni(e));let t;if(n.j)t=0;else{if(!n.offset)throw new RangeError(ni(e));t=At(n.offset)}return n.timeZone&&Nt(n.timeZone,1),Ve(de(Ae(n),t))}(e)}function Jm(){function e(e,t){return new n(e,t)}function n(e,n=Object.create(null)){Fl.set(this,((e,n)=>{const t=new Ma(e,n),r=t.resolvedOptions(),i=r.locale,a=h(Object.keys(n),r),s=o(el),m=(e,...n)=>{if(e){if(2!==n.length)throw new TypeError(ri);for(const e of n)if(void 0===e)throw new TypeError(ri)}e||void 0!==n[0]||(n=[]);const r=n.map(e=>tl(e)||Number(e));let o,m=0;for(const e of r){const n="object"==typeof e?e.branding:void 0;if(m++&&n!==o)throw new TypeError(ri);o=n}return o?s(o)(i,a,...r):[t,...r]};return m.X=t,m})(e,n))}const t=Ma.prototype,r=Object.getOwnPropertyDescriptors(t),a=Object.getOwnPropertyDescriptors(Ma);for(const n in r){const t=r[n],o=n.startsWith("format")&&Xm(n);"function"==typeof t.value?t.value="constructor"===n?e:o||Qm(n):o&&(t.get=function(){if(!Fl.has(this))throw new TypeError(Ho);return(...e)=>o.apply(this,e)},Object.defineProperties(t.get,i(`get ${n}`)))}return a.prototype.value=n.prototype=Object.create({},r),Object.defineProperties(e,a),e}function Xm(e){return Object.defineProperties(function(...n){const t=Fl.get(this),[r,...o]=t(e.includes("Range"),...n);return r[e](...o)},i(e))}function Qm(e){return Object.defineProperties(function(...n){return Fl.get(this).X[e](...n)},i(e))}function el(e){const n=gl[e];if(!n)throw new TypeError((e=>`Cannot format ${e}`)(e));return ao(n,o(so),1)}const nl=new WeakMap,tl=nl.get.bind(nl),rl=nl.set.bind(nl),ol={era:function(e){if(void 0!==e)return Yi(e)},eraYear:_,year:G,month:C,daysInMonth:C,daysInYear:C,inLeapYear:Zi,monthsInYear:C},il={monthCode:Yi},al={day:C},sl={dayOfWeek:C,dayOfYear:C,weekOfYear:function(e){if(void 0!==e)return C(e)},yearOfWeek:_,daysInWeek:C},ml=Bm(Object.assign({},ol,il,al,sl)),ll=Bm({...ol,...il}),ul=Bm({...il,...al}),dl={calendarId:e=>e.calendar},cl=d(e=>n=>n[e],Ui.concat("sign")),hl=d((e,n)=>e=>e[na[n]],bi),fl={epochMilliseconds:rn,epochNanoseconds:function(e){return((e,n=1)=>{const[t,r]=e,o=Math.floor(r/n),i=gi/n;return BigInt(t)*BigInt(i)+BigInt(o)})(e.epochNanoseconds)}},[Ml,yl]=_m(es,function(e=0,n=0,t=0,r=0,o=0,i=0,a=0,s=0,m=0,d=0){return tn(pt(u(Z,l(Ui,[e,n,t,r,o,i,a,s,m,d]))))},{...cl,blank:function(e){return!e.sign}},{with:(e,n)=>yl(function(e,n){return tn((t=e,r=n,pt({...t,...$r(r,qi)})));var t,r}(e,n)),negated:e=>yl(Mt(e)),abs:e=>yl(function(e){return-1===e.sign?Mt(e):e}(e)),add:(e,n,t)=>yl(ft(jm,Fs,ls,0,e,Lm(n),t)),subtract:(e,n,t)=>yl(ft(jm,Fs,ls,1,e,Lm(n),t)),round:(e,n)=>yl(function(e,n,t,r,o){const i=St(r),[a,s,m,l,u]=((e,n,t)=>{e=Ze(e,Ea);let r=xa(e);const o=t(e[za]);let i=je(e);const a=Ua(e,7);let s=Na(e);if(void 0===r&&void 0===s)throw new RangeError(Qo);if(null==s&&(s=0),null==r&&(r=Math.max(s,n)),$e(r,s),i=Re(i,s,1),i>1&&s>5&&r!==s)throw new RangeError("For calendar units with roundingIncrement > 1, use largestUnit = smallestUnit");return[r,s,i,a,o]})(o,i,e),d=Math.max(i,a);if(!u&&d<=6)return tn(pt(((e,n,t,r,o)=>{const i=pn(wt(e),t,r,o);return{...Xi,...vt(i,n)}})(r,a,s,m,l)));if(!ct(u)&&!r.sign)return r;if(!u)throw new RangeError(Jo);const[c,h,f]=mt(n,t,u),M=lt(f),y=ut(f),g=dt(f),p=y(h,c,r);ct(u)||(oe(c),oe(p));let b=g(h,c,p,a);const w=r.sign,v=gt(b);if(w&&v&&w!==v)throw new RangeError(xo);return b=gn(b,M(p),a,s,m,l,h,c,M,y),tn(b)}(jm,Fs,ls,e,n)),total:(e,n)=>function(e,n,t,r,o){const i=St(r),[a,s]=((e,n)=>{const t=n((e=Ze(e,Ta))[za]);let r=La(e);return r=P(Ta,r),[r,t]})(o,e),m=Math.max(a,i);if(!s&&ht(m,s))return an(r,a);if(!s)throw new RangeError(Jo);if(!r.sign)return 0;const[l,u,d]=mt(n,t,s),c=lt(d),h=ut(d),f=dt(d),M=h(u,l,r);ct(s)||(oe(l),oe(M));const y=f(u,l,M,a);return ht(a,s)?an(y,a):((e,n,t,r,o,i,a)=>{const s=gt(e),[m,l]=sn(r,ea(t,e),t,s,o,i,a),u=mn(n,m,l);return e[Ui[t]]+u*s})(y,c(M),a,u,l,c,h)}(jm,Fs,ls,e,n),toLocaleString(e,n,t){return Intl.DurationFormat?new Intl.DurationFormat(n,t).format(this):Cn(e)},toString:Cn,toJSON:e=>Cn(e),valueOf:Nm},{from:e=>yl(Lm(e)),compare:(e,n,t)=>function(e,n,t,r,o,i){const a=e(Ye(i).relativeTo),s=Math.max(St(r),St(o));if(M(Ui,r,o))return 0;if(ht(s,a))return K(wt(r),wt(o));if(!a)throw new RangeError(Jo);const[m,l,u]=mt(n,t,a),d=lt(u),c=ut(u);return K(d(c(l,m,r)),d(c(l,m,o)))}(jm,Fs,ls,Lm(e),Lm(n),t)}),gl={Instant:Tm,PlainDateTime:Dm,PlainDate:zm,PlainTime:Am,PlainYearMonth:Hm,PlainMonthDay:km},pl=ao(Tm),bl=ao(Sm),wl=ao(Dm),vl=ao(zm),El=ao(Am),Tl=ao(Hm),Sl=ao(km),[Dl,zl]=_m(Ja,function(e=0,n=0,t=0,r=0,o=0,i=0){return nn(_e(u(Y,l(na,[e,n,t,r,o,i])),1))},hl,{with(e,n,t){return zl(function(e,n,t){return nn(((e,n,t)=>Vr({...h(wi,e),...$r(n,wi)},Ce(t)))(e,n,t))}(this,Cm(n),t))},add:(e,n)=>zl(nt(0,e,Lm(n))),subtract:(e,n)=>zl(nt(1,e,Lm(n))),until:(e,n,t)=>yl(ar(0,e,Rm(n),t)),since:(e,n,t)=>yl(ar(1,e,Rm(n),t)),round:(e,n)=>zl(function(e,n){const[t,r,o]=Oe(n,5);var i;return nn((i=o,dn(e,hn(t,r),i)[0]))}(e,n)),equals:(e,n)=>function(e,n){return!Xt(e,n)}(e,Rm(n)),toLocaleString(e,n,t){const[r,o]=El(n,t,e);return r.format(o)},toString:_n,toJSON:e=>_n(e),valueOf:Nm},{from:(e,n)=>zl(Rm(e,n)),compare:(e,n)=>Xt(Rm(e),Rm(n))}),[Al,Hl]=_m(Ka,g(function(e,n,t,r,o=0,i=0,a=0,s=0,m=0,d=0,c=Ni){return Je(oe(Ae(u(Y,l(ra,[n,t,r,o,i,a,s,m,d])))),e(c))},Fr),{...dl,...ml,...hl},{with:(e,n,t)=>Hl(function(e,n,t,r){const o=e(n.calendar),i=[...o.fields(Gi),...bi].sort(),a={...no(s=n),hour:s.isoHour,minute:s.isoMinute,second:s.isoSecond,millisecond:s.isoMillisecond,microsecond:s.isoMicrosecond,nanosecond:s.isoNanosecond};var s;const m=$r(t,i),l=Ce(r),u=o.k(a,m),d={...a,...m};return Je(oe({...o.F(u,We(l)),..._e(Zs(d),l)}))}(Fs,e,Cm(n),t)),withCalendar:(e,n)=>Hl(lo(e,Om(n))),withPlainTime:(e,n)=>Hl(function(e,n=sa){return Je(oe({...e,...n}))}(e,Fm(n))),add:(e,n,t)=>Hl(Xn(Fs,0,e,Lm(n),t)),subtract:(e,n,t)=>Hl(Xn(Fs,1,e,Lm(n),t)),until:(e,n,t)=>yl(tr(Fs,0,e,Ym(n),t)),since:(e,n,t)=>yl(tr(Fs,1,e,Ym(n),t)),round:(e,n)=>Hl(function(e,n){return Je(ln(e,...Oe(n)),e.calendar)}(e,n)),equals:(e,n)=>function(e,n){return!Kt(e,n)&&e.calendar===n.calendar}(e,Ym(n)),toZonedDateTime:(e,n,t)=>Bl(function(e,n,t,r){const o=((e,n,t,r)=>{const o=(e=>Ra(Ye(e)))(r);return $n(e(n),t,o)})(e,t,n,r);return Ke(ie(o),t,n.calendar)}(ls,e,xm(n),t)),toPlainDate:e=>Pl(Xe(e)),toPlainTime:e=>zl(nn(e)),toLocaleString(e,n,t){const[r,o]=wl(n,t,e);return r.format(o)},toString:An,toJSON:e=>An(e),valueOf:Nm},{from:(e,n)=>Hl(Ym(e,n)),compare:(e,n)=>Kt(Ym(e),Ym(n))}),[kl,Il]=_m($a,g(function(e,n,t,r=Ni,o=pa){const i=Y(n),a=Y(t),s=e(r);return en(re(He({isoYear:Y(o),isoMonth:i,isoDay:a})),s)},Fr),{...dl,...ul},{with:(e,n,t)=>Il(function(e,n,t,r){const o=e(n.calendar),i=o.fields(Gi).sort(),a=(e=>{const n=Rs(e.calendar),[t,r,o]=n.v(e),[i,a]=n.q(t,r);return{monthCode:vr(i,a),day:o}})(n),s=$r(t,i),m=o.k(a,s);return o._(m,r)}(Fs,e,Cm(n),t)),equals:(e,n)=>function(e,n){return!Jt(e,n)&&e.calendar===n.calendar}(e,Zm(n)),toPlainDate(e,n){return Pl(function(e,n,t,r){return((e,n,t)=>Kr(e,n,Oi,O(t),Ai))(e(n.calendar),t,r)}(Fs,e,this,n))},toLocaleString(e,n,t){const[r,o]=Sl(n,t,e);return r.format(o)},toString:In,toJSON:e=>In(e),valueOf:Nm},{from:(e,n)=>Il(Zm(e,n))}),[_l,Cl]=_m(qa,g(function(e,n,t,r=Ni,o=1){const i=Y(n),a=Y(t),s=e(r);return Qe(te(He({isoYear:i,isoMonth:a,isoDay:Y(o)})),s)},Fr),{...dl,...ll},{with:(e,n,t)=>Cl(function(e,n,t,r){const o=e(n.calendar),i=o.fields(_i).sort(),a=(e=>{const n=Rs(e.calendar),[t,r]=n.v(e),[o,i]=n.q(t,r);return{year:t,monthCode:vr(o,i)}})(n),s=$r(t,i),m=o.k(a,s);return o.K(m,r)}(Fs,e,Cm(n),t)),add:(e,n,t)=>Cl(et(Fs,0,e,Lm(n),t)),subtract:(e,n,t)=>Cl(et(Fs,1,e,Lm(n),t)),until:(e,n,t)=>yl(or(Fs,0,e,Wm(n),t)),since:(e,n,t)=>yl(or(Fs,1,e,Wm(n),t)),equals:(e,n)=>function(e,n){return!Jt(e,n)&&e.calendar===n.calendar}(e,Wm(n)),toPlainDate(e,n){return Pl(function(e,n,t,r){return((e,n,t)=>Kr(e,n,Ci,O(t),Ii))(e(n.calendar),t,r)}(Fs,e,this,n))},toLocaleString(e,n,t){const[r,o]=Tl(n,t,e);return r.format(o)},toString:kn,toJSON:e=>kn(e),valueOf:Nm},{from:(e,n)=>Cl(Wm(e,n)),compare:(e,n)=>Jt(Wm(e),Wm(n))}),[Gl,Pl]=_m(Va,g(function(e,n,t,r,o=Ni){return Xe(re(He(u(Y,{isoYear:n,isoMonth:t,isoDay:r}))),e(o))},Fr),{...dl,...ml},{with:(e,n,t)=>Pl(function(e,n,t,r){const o=e(n.calendar),i=o.fields(Gi).sort(),a=no(n),s=$r(t,i),m=o.k(a,s);return o.F(m,r)}(Fs,e,Cm(n),t)),withCalendar:(e,n)=>Pl(lo(e,Om(n))),add:(e,n,t)=>Pl(Qn(Fs,0,e,Lm(n),t)),subtract:(e,n,t)=>Pl(Qn(Fs,1,e,Lm(n),t)),until:(e,n,t)=>yl(rr(Fs,0,e,Um(n),t)),since:(e,n,t)=>yl(rr(Fs,1,e,Um(n),t)),equals:(e,n)=>function(e,n){return!Jt(e,n)&&e.calendar===n.calendar}(e,Um(n)),toZonedDateTime(e,n){const t=r(n)?n:{timeZone:n};return Bl(function(e,n,t,r,o){const i=e(o.timeZone),a=o.plainTime,s=void 0!==a?n(a):void 0,m=t(i);let l;return l=s?$n(m,{...r,...s}):Vn(m,{...r,...sa}),Ke(l,i,r.calendar)}(xm,Rm,ls,e,t))},toPlainDateTime:(e,n)=>Hl(function(e,n=sa){return Je(oe({...e,...n}))}(e,Fm(n))),toPlainYearMonth(e){return Cl(function(e,n,t){return((e,n)=>{const t=qr(e,n,Ci);return e.K(t,void 0)})(e(n.calendar),t)}(Fs,e,this))},toPlainMonthDay(e){return Il(function(e,n,t){return((e,n)=>{const t=qr(e,n,Oi);return e._(t)})(e(n.calendar),t)}(Fs,e,this))},toLocaleString(e,n,t){const[r,o]=vl(n,t,e);return r.format(o)},toString:Hn,toJSON:e=>Hn(e),valueOf:Nm},{from:(e,n)=>Pl(Um(e,n)),compare:(e,n)=>Jt(Um(e),Um(n))}),[Ol,Bl]=_m(Xa,g(function(e,n,t,r,o=Ni){return Ke(ie(X(R(t))),n(r),e(o))},Fr,function(e){return Wt(Yi(e))}),{...fl,...dl,...$m(ml),...$m(hl),offset:e=>jn(Vm(e).offsetNanoseconds),offsetNanoseconds:e=>Vm(e).offsetNanoseconds,timeZoneId:e=>e.timeZone,hoursInDay:e=>function(e,n){const t=e(n.timeZone),r=ss(n,t),[o,i]=fn(r),a=ee(V(Vn(t,o),Vn(t,i)),yi,1);if(a<=0)throw new RangeError(xo);return a}(ls,e)},{with:(e,n,t)=>Bl(function(e,n,t,r,o){const{calendar:i,timeZone:a}=t,s=e(i),m=n(a),l=[...s.fields(Gi),...Ti].sort(),u=(e=>{const n=ss(e,ls),t=jn(n.offsetNanoseconds),r=Rs(e.calendar),[o,i,a]=r.v(n),[s,m]=r.q(o,i),l=vr(s,m);return{...Ws(n),year:o,monthCode:l,day:a,offset:t}})(t),d=$r(r,l),c=s.k(u,d),h={...u,...d},[f,M,y]=Ge(o,2);return Ke(qn(m,{...s.F(c,We(f)),..._e(Zs(h),f)},At(h.offset),M,y),a,i)}(Fs,ls,e,Cm(n),t)),withCalendar:(e,n)=>Bl(lo(e,Om(n))),withTimeZone:(e,n)=>Bl(function(e,n){return{...e,timeZone:n}}(e,xm(n))),withPlainTime:(e,n)=>Bl(function(e,n,t){const r=n.timeZone,o=e(r),i={...ss(n,o),...t||sa};let a;return a=t?qn(o,i,i.offsetNanoseconds,2):Vn(o,i),Ke(a,r,n.calendar)}(ls,e,Fm(n))),add:(e,n,t)=>Bl(Jn(Fs,ls,0,e,Lm(n),t)),subtract:(e,n,t)=>Bl(Jn(Fs,ls,1,e,Lm(n),t)),until:(e,n,t)=>yl(tn(nr(Fs,ls,0,e,qm(n),t))),since:(e,n,t)=>yl(tn(nr(Fs,ls,1,e,qm(n),t))),round:(e,n)=>Bl(function(e,n,t){let{epochNanoseconds:r,timeZone:o,calendar:i}=n;const[a,s,m]=Oe(t);if(0===a&&1===s)return n;const l=e(o);if(6===a)r=((e,n,t,r)=>{const o=ss(t,n),[i,a]=e(o),s=t.epochNanoseconds,m=Vn(n,i),l=Vn(n,a);if(J(s,m,l))throw new RangeError(xo);return vn(mn(s,m,l),r)?l:m})(fn,l,n,m);else{const e=l.R(r);r=qn(l,ln(Me(r,e),a,s,m),e,2,0,1)}return Ke(r,o,i)}(ls,e,n)),startOfDay:e=>Bl(function(e,n){const{timeZone:t,calendar:r}=n,o=((e,n,t)=>Vn(n,e(ss(t,n))))(Mn,e(t),n);return Ke(o,t,r)}(ls,e)),equals:(e,n)=>function(e,n){return!Vt(e,n)&&!!Qt(e.timeZone,n.timeZone)&&e.calendar===n.calendar}(e,qm(n)),toInstant:e=>xl(function(e){return Ve(e.epochNanoseconds)}(e)),toPlainDateTime:e=>Hl(to(ls,e)),toPlainDate:e=>Pl(ro(ls,e)),toPlainTime:e=>zl(oo(ls,e)),toLocaleString(e,n,t={}){const[r,o]=bl(n,t,e);return r.format(o)},toString:(e,n)=>zn(ls,e,n),toJSON:e=>zn(ls,e),valueOf:Nm,getTimeZoneTransition(e,n){const{timeZone:t,epochNanoseconds:r}=e,o=function(e){const n=Ze(e,Aa),t=qe(Aa,Ba,n,0);if(!t)throw new RangeError(Eo(Aa,t));return t}(n),i=ls(t).O(r,o);return i?Bl({...e,epochNanoseconds:i}):null}},{from:(e,n)=>Bl(qm(e,n)),compare:(e,n)=>Vt(qm(e),qm(n))}),[Nl,xl]=_m(Qa,function(e){return Ve(ie(X(R(e))))},fl,{add:(e,n)=>xl(Kn(0,e,Lm(n))),subtract:(e,n)=>xl(Kn(1,e,Lm(n))),until:(e,n,t)=>yl(er(0,e,Km(n),t)),since:(e,n,t)=>yl(er(1,e,Km(n),t)),round:(e,n)=>xl(function(e,n){const[t,r,o]=Oe(n,5,1);return Ve(pn(e.epochNanoseconds,t,r,o,1))}(e,n)),equals:(e,n)=>function(e,n){return!$t(e,n)}(e,Km(n)),toZonedDateTimeISO:(e,n)=>Bl(function(e,n,t=Ni){return Ke(e.epochNanoseconds,n,t)}(e,xm(n))),toLocaleString(e,n,t){const[r,o]=pl(n,t,e);return r.format(o)},toString:(e,n)=>Dn(xm,ls,e,n),toJSON:e=>Dn(xm,ls,e),valueOf:Nm},{from:e=>xl(Km(e)),fromEpochMilliseconds:e=>xl(function(e){return Ve(ie(Q(Z(e),hi)))}(e)),fromEpochNanoseconds:e=>xl(function(e){return Ve(ie(X(R(e))))}(e)),compare:(e,n)=>$t(Km(e),Km(n))}),Ll=Object.defineProperties({},{...m("Temporal.Now"),...a({timeZoneId:()=>ho(),instant:()=>xl(Ve(co())),zonedDateTimeISO:(e=ho())=>Bl(Ke(co(),xm(e),Ni)),plainDateTimeISO:(e=ho())=>Hl(Je(uo(ls(xm(e))),Ni)),plainDateISO:(e=ho())=>Pl(Xe(uo(ls(xm(e))),Ni)),plainTimeISO:(e=ho())=>zl(nn(uo(ls(xm(e)))))})}),jl=Object.defineProperties({},{...m("Temporal"),...a({PlainYearMonth:_l,PlainMonthDay:kl,PlainDate:Gl,PlainTime:Dl,PlainDateTime:Al,ZonedDateTime:Ol,Instant:Nl,Duration:Ml,Now:Ll})}),Rl=Jm(),Fl=new WeakMap;function Yl(e,...n){let t=bbn.lng[e]||e;if(n.length){let e=0;return t.replace(/\%([d|s])/g,(t,r)=>{let o=n[e++];o||(o="d"===r?0:"");const i=typeof o;return"d"===r&&"number"!==i?(o=parseFloat(o),isNaN(o)&&(o=0)):"s"===r&&"string"!==i&&(o=""+o),o})}return t}Object.create(Intl),a({DateTimeFormat:Rl});var Zl={loggers:{_num:0},datatypes:["xml","html","script","json","jsonp","text","blob"],shortenLen:30,keys:{upDown:["PageUp","PageDown","End","Home","ArrowUp","ArrowDown"],leftRight:["Home","End","ArrowLeft","ArrowRight"],dels:["Backspace","Delete","Insert"],confirm:["Enter","Tab"],alt:["CapsLock","Shift","Control","Alt","NumLock"],numbers:["0","1","2","3","4","5","6","7","8","9","Numpad0","Numpad1","Numpad2","Numpad3","Numpad4","Numpad5","Numpad6","Numpad7","Numpad8","Numpad9"],numsigns:["NumpadSubtract","NumpadDecimal","-","."]},comparators:[">=","<=",">","<","="],operators:["+","-","/","*"],tags:["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","label","legend","li","link","main","map","mark","menu","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","slot","small","source","span","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr"],colors:{darkgrey:"#5a6a62",black:"#000000",anthracite:"#454545",grey:"#d3d3d3",white:"#ffffff",beige:"#fdfdfd",lightgrey:"#dcdcdc",pastelblue:"#ddebf6",cyan:"#00c8f8",blue:"#6e9ecf",indigo:"#3f51b5",navy:"#354458",webblue:"#2196f3",teal:"#009688",turquoise:"#1fda9a",pastelgreen:"#e2efda",palegreen:"#ccffcc",green:"#00a03e",olive:"#92b06a",pastelorange:"#fff2cc",yellow:"#fdf200",orange:"#ff9900",pink:"#eb65a0",purple:"#a333c8",red:"#db3340",brown:"#8c6954"},reserved:["abstract","boolean","break","byte","case","catch","char","class","continue","const","debugger","default","delete","do","double","else","enum","export","extends","false","final","finally","float","for","function","goto","if","implements","import","in","instanceof","int","interface","long","new","null","package","return","super","switch","synchronized","this","throw","throws","transient","true","try","typeof","var","void","while","with"],mockText:"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.",regexp:{url:new RegExp("^(https?:\\/\\/)?((([a-z\\d]([a-z\\d-]*[a-z\\d])*)\\.?)+[a-z]{2,}|((\\d{1,3}\\.){3}\\d{1,3}))(\\:\\d+)?(\\/[-a-z\\d%_.~+]*)*(\\?[;&a-z\\d%_.~+=-]*)?(\\#[-a-z\\d_]*)?$","i"),ip:/^((\d|[1-9]\d|1\d{2}|2[0-4]\d|25[0-5])\.){3}(\d|[1-9]\d|1\d{2}|2[0-4]\d|25[0-5])$/,hostname:/^[a-z\d]([a-z\d-]{0,61}[a-z\d])?(\.[a-z\d]([a-z\d-]{0,61}[a-z\d])?)*$/i}},Wl={siteTitle:window.document.title,logging:!1,cdn:"",lang:"en",host:window.location.protocol+"//"+window.location.hostname,url:window.location.href,old_path:null,loading:!1,_enumerated:[],get isEnumerating(){return this._enumerated.length>0},width:0,height:0,focused:!1,last_focus:(new Date).getTime(),sleep:!1,theme:"dark",loaders:[],loadersHistory:[],maxLoadersHistory:50,resizeTimer:!1,hashChanged:0,params:[],isInit:!1,isFocused:!1,isVisible:!document.hidden,timeoff:Math.round((new Date).getTime()/1e3),loggingLevel:5,ignoreUnload:!1,historyDisabled:!1,nav:"ajax",online:window.navigator.onLine},Ul=function(e,n,t,r){return new(t||(t=Promise))(function(o,i){function a(e){try{m(r.next(e))}catch(e){i(e)}}function s(e){try{m(r.throw(e))}catch(e){i(e)}}function m(e){var n;e.done?o(e.value):(n=e.value,n instanceof t?n:new t(function(e){e(n)})).then(a,s)}m((r=r.apply(e,n||[])).next())})};class ql extends Error{constructor(e){super(e||"Request canceled"),this.name="Cancel",this.__BBN_CANCEL__=!0}}const $l=["POST","PUT","PATCH","DELETE"],Vl=(e,n,t={},r)=>{const o=new XMLHttpRequest,i=$l.includes(e.toUpperCase()),a=new Promise((r,a)=>{o.open(e.toUpperCase(),n,!0);const{body:s,headers:m}=((e,n)=>{const t=new Headers(n||{});let r=e;return null==e||e instanceof FormData||"object"!=typeof e||(t.set("Content-Type","application/json"),r=JSON.stringify(e)),{body:r,headers:t}})(t.data,t.headers);m.forEach((e,n)=>{o.setRequestHeader(n,e)}),"function"==typeof t.onUploadProgress&&o.upload&&o.upload.addEventListener("progress",e=>{const n=e.lengthComputable?e.total:void 0;t.onUploadProgress({loaded:e.loaded,total:n,progress:n?e.loaded/n:void 0})}),o.onreadystatechange=()=>{if(4!==o.readyState)return;const e=(e=>{const n={};return e?(e.trim().split(/[\r\n]+/).forEach(e=>{const t=e.split(": "),r=t.shift(),o=t.join(": ");r&&(n[r.toLowerCase()]=o)}),n):n})(o.getAllResponseHeaders()),n=1223===o.status?204:o.status,i=o.statusText||"";let s=o.responseText;if((e["content-type"]||"").includes("application/json"))try{s=JSON.parse(o.responseText)}catch(e){}const m={data:s,status:n,statusText:i,headers:e,config:t,request:o};if(n>=200&&n<300)r(m);else{const e=new Error("Request failed with status code "+n);e.response=m,e.config=t,e.request=o,a(e)}},o.onerror=()=>{const e=new Error("Network Error");e.config=t,e.request=o,a(e)},o.onabort=()=>{a(new ql("Request canceled"))},i?o.send(s):o.send()});return a.cancel=()=>o.abort(),a};var Kl={isCancel:e=>!(!e||!0!==e.__BBN_CANCEL__),run:(e,n,t={},r)=>{t.baseURL&&!/^https?:\/\//i.test(n)&&(n=t.baseURL.replace(/\/+$/,"")+"/"+n.replace(/^\/+/,"")),n=((e,n)=>{if(!n)return e;const t=new URLSearchParams(n).toString();return t?e+(e.includes("?")?"&":"?")+t:e})(n,t.params);return"function"==typeof t.onUploadProgress&&$l.includes(e.toUpperCase())?Vl(e,n,t):((e,n,t={},r)=>{const o={method:e,headers:new Headers(t.headers||{}),signal:null==r?void 0:r.signal},i=$l.includes(e.toUpperCase());if(null!=t.data&&i&&(bbn.fn.log("DATA",t.data),"object"!=typeof t.data||t.data instanceof FormData?o.body=t.data:(o.headers.set("Content-Type","application/json"),o.body=JSON.stringify(t.data))),t.params){const e=new URLSearchParams(t.params).toString();n+=(n.includes("?")?"&":"?")+e}const a=fetch(n,o).then(e=>Ul(void 0,void 0,void 0,function*(){let n;const r=e.headers.get("content-type")||"";try{n=r.includes("application/json")?yield e.json():r.startsWith("text/")?yield e.text():r.includes("multipart/")?yield e.arrayBuffer():yield e.blob()}catch(t){n=yield e.text()}const o={data:n,status:e.status,statusText:e.statusText,headers:Object.fromEntries(e.headers.entries()),config:t,request:e};if(!e.ok){const n=new Error("Request failed with status code "+e.status);throw n.response=o,n.config=t,n.request=e,n}return o})).catch(e=>{if("AbortError"===e.name)throw new ql("Request canceled");throw e});return a.cancel=()=>r.abort(),a})(e,n,t,r)}};function Jl(...e){if(!e.length)return!1;for(let n of e)if("[object String]"!=={}.toString.apply(n))return!1;return!0}function Xl(...e){if(!e.length)return!1;for(let n of e)if(!Number.isInteger(n))return!1;return!0}function Ql(...e){if(!e.length)return!1;for(let n of e)if(!(n&&n.constructor&&n.call&&n.apply))return!1;return!0}function eu(...e){var n,t,r,o;if((null===(t=null===(n=window.bbn)||void 0===n?void 0:n.env)||void 0===t?void 0:t.logging)&&void 0!==(null===window||void 0===window?void 0:window.console)){let n,t=5,i="log";e[0]&&"object"==typeof e[0]&&e[0]._bbn_console_style&&(e[0]._bbn_console_mode&&Ql(console[e[0]._bbn_console_mode])?i=e[0]._bbn_console_mode:(n=e[0]._bbn_console_style,t=e[0]._bbn_console_level),e.shift());const a=window.console[i];if((null===(o=null===(r=window.bbn)||void 0===r?void 0:r.env)||void 0===o?void 0:o.loggingLevel)>=t){let t=0;for(;t<e.length;){let r=typeof e[t],o=[e[t]];"string"!==r&&"number"!==r||o.unshift("%c %s ",n),a.apply(window.console,o),t++}}}return this}function nu(e,n,t){if(!Jl(e)||!Xl(n))throw eu(arguments),new Error(bbn._("The substr function should be applied to a string and at least a `from` argument should be given"));return n<0&&(n=e.length+n),Xl(t)?e.substring(n,(t<0?e.length:n)+t):e.substring(n)}function tu(e,n=!1){let t=null;if("object"==typeof e)for(var r in t={},e)nu(r,0,1).match(/^[A-z0-9]$/)&&r in e&&(n&&"object"==typeof e[r]?t[r]=tu(e[r],!0):t[r]=e[r]);return t||!1}function ru(e,n,t=!1,r=!1){if(null!==e&&"object"==typeof e){let o=Object.keys(t?tu(e):e);r&&o.reverse();for(let t of o)if(!1===n(e[t],t))break}return e}function ou(...e){if(!e.length)return!1;for(let n of e)if("[object Object]"!=={}.toString.apply(n))return!1;return!0}function iu(...e){if(!e.length)return!1;for(let n of e)if(!Array.isArray(n))return!1;return!0}function au(...e){if(!e.length)return!1;for(let n of e)if(["boolean","object","symbol"].includes(typeof n)||""===n||isNaN(n))return!1;return!0}function su(...e){if(!e.length)return!1;for(let n of e)if(!n||"object"!=typeof n||!(Symbol.iterator in Object(n)))return!1;return!0}function mu(e,n){if(!(au(e)&&e>0)){if(su(e)){for(let t=0;t<e.length;t++)if(!1===n(e[t],t))return;return e}return ru(e,n)}for(let t=0;t<e;t++)if(!1===n(t,t))return}function lu(...e){let n=!1,t=[];for(let r=0;r<e.length;r++)if(!0===e[r])n=!0;else{if(!e[r])continue;if("object"!=typeof e[r])throw new Error(bbn._("Error in extend: all arguments should be object, you have given ")+typeof e[r]);t.push(e[r])}if(!t.length)throw new Error("No argument given");let r,o=t[0];for(let e=1;e<t.length;e++)ru(t[e],(e,t)=>{n?iu(e)?(o[t]=iu(o[t])?o[t]:[],mu(e,(e,n)=>{if(e&&"object"==typeof e){let r=o[t][n];iu(e)?iu(r)||(r=[]):ou(r)||(r={}),o[t][n]=lu(!0,r,e)}else o[t][n]=e})):ou(e)?o[t]=lu(!0,o[t]&&"object"==typeof o[t]?o[t]:Object.create(Object.getPrototypeOf(e)),e):o[t]=e:(o[t]!==e||void 0===e&&!Object.prototype.hasOwnProperty.apply(o,[t]))&&(o[t]=e)}),r||(r=!!t[e].__bbnNoData);return r&&"bbnData"in window&&(o.__bbnData&&o.__bbnData.unset(),Object.defineProperty(o,"__bbnNoData",{value:!0,enumerable:!1,configurable:!1,writable:!1})),o}var uu=function(e,n,t,r){return new(t||(t=Promise))(function(o,i){function a(e){try{m(r.next(e))}catch(e){i(e)}}function s(e){try{m(r.throw(e))}catch(e){i(e)}}function m(e){var n;e.done?o(e.value):(n=e.value,n instanceof t?n:new t(function(e){e(n)})).then(a,s)}m((r=r.apply(e,n||[])).next())})};const du=window.indexedDB||window.webkitIndexedDB||window.mozIndexedDB||window.OIndexedDB||window.msIndexedDB,cu=(e,n)=>{if(e){if(null==n?void 0:n.length){const t={};return ru(e,(e,r)=>{n.includes(r)&&(t[r]=e)}),t}return e}},hu=(e,n=[])=>{var t;return(null===(t=null==e?void 0:e.conditions)||void 0===t?void 0:t.length)?e.conditions.forEach(e=>{e.field&&!n.includes(e.field)?n.push(e.field):e.conditions&&hu(e,n)}):ou(e)?ru(e,(e,t)=>{n.includes(t)||n.push(t)}):iu(e)&&e.forEach(e=>{e.field&&!n.includes(e.field)?n.push(e.field):e.conditions&&hu(e,n)}),n},fu=e=>{const n=e.keys.PRIMARY.columns;return n.length>1?n:n[0]},Mu=e=>new Promise((n,t)=>{e.onsuccess=()=>n(e.result),e.onerror=()=>t(e.error)}),yu=e=>new Promise((n,t)=>{e.oncomplete=()=>n(),e.onabort=()=>t(e.error),e.onerror=()=>t(e.error)});class gu{constructor(e){this.lastErr=null,this.dbName=e}get connection(){const e=pu._connections[this.dbName];if(!e)throw new Error(Yl("The database %s is not open",this.dbName));return e}get structure(){const e=pu._structures[this.dbName];if(!e)throw new Error(Yl("No structure defined for database %s",this.dbName));return e}getStore(e,n){const t=this.connection.transaction([e],n);return t.onabort=()=>{this.lastErr=t.error,eu(t.error)},t.onerror=()=>{this.lastErr=t.error,eu(t.error)},[t,t.objectStore(e)]}lastError(){return this.lastErr}insert(e,n){return uu(this,void 0,void 0,function*(){const t=Array.isArray(n)?n:[n];if(!t.length)return 0;const[r,o]=this.getStore(e,"readwrite");let i=0;for(const e of t){const n=o.put(e);n.onsuccess=()=>{i++},n.onerror=()=>{this.lastErr=n.error,eu(n.error)}}return yield yu(r),i})}update(e,n,t){return uu(this,arguments,void 0,function*(e,n,t,r=!1){const o=yield this.selectAll(e,[],t);if(!o.length)return 0;const i=this.structure[e],a=fu(i);if(Array.isArray(a))throw new Error(Yl("Composite primary keys are not supported by this update implementation"));const[s,m]=this.getStore(e,"readwrite");let l=0;for(const e of o){const t=lu({},r?{[a]:e[a]}:e,n);if(!(a in t))throw new Error(Yl("No primary key in the data"));const o=m.put(t);o.onsuccess=()=>{l++},o.onerror=()=>{this.lastErr=o.error,eu(o.error)}}return yield yu(s),l})}delete(e,n){return uu(this,void 0,void 0,function*(){const t=this.structure[e],r=fu(t);if(Array.isArray(r))throw new Error(Yl("Composite primary keys are not supported by this delete implementation"));if(!(r in n))throw new Error(Yl("No primary key in the filter"));const[o,i]=this.getStore(e,"readwrite");return i.delete(n[r]),yield yu(o),1})}selectOne(e,n){return uu(this,arguments,void 0,function*(e,n,t=null,r=null,o=0,i=1){var a;const s=yield this.selectAll(e,[n],t,r,o,i);return null===(a=null==s?void 0:s[0])||void 0===a?void 0:a[n]})}select(e){return uu(this,arguments,void 0,function*(e,n=[],t=null,r=null,o=0){const i=yield this.selectAll(e,n,t,r,o,1);return i.length?i[0]:null})}selectAll(e){return uu(this,arguments,void 0,function*(e,n=[],t=null,r=null,o=0,i=null){const[a,s]=this.getStore(e,"readonly"),m=this.structure[e],l=fu(m),u=[],d=ou(t)?Object.keys(t)[0]:!t||iu(t)?null:l;if(!Array.isArray(l)&&d===l){if(Array.isArray(null==t?void 0:t[l])){const e=t[l],r=Math.min(e.length-o,null!=i?i:e.length),m=e.slice(o,o+r);for(const e of m){const t=yield Mu(s.get(e)),r=cu(t,n);r&&u.push(r)}return yield yu(a),u}const e=ou(t)?t[l]:t,r=yield Mu(s.get(e)),m=cu(r,n);return m&&u.push(m),yield yu(a),u}return yield new Promise((e,r)=>{const a=s.openCursor();let m=0;a.onsuccess=r=>{var a,s;const l=r.target.result;if(!l)return void e();if(!t||!(null===(s=null===(a=window.bbn)||void 0===a?void 0:a.fn)||void 0===s?void 0:s.search)||!window.bbn.fn.search([l.value],t)){if(m>=o){const t=cu(l.value,n);if(t&&u.push(t),null!==i&&u.length>=i)return void e()}m++}l.continue()},a.onerror=()=>{this.lastErr=a.error,eu(a.error),r(a.error)}}),yield yu(a),u})}getColumnValues(e,n){return uu(this,arguments,void 0,function*(e,n,t=null,r=null,o=0,i=null){return(yield this.selectAll(e,hu(t,[n]),t,r,o,i)).map(e=>e[n]).filter(e=>void 0!==e)})}copyTable(e,n){return uu(this,arguments,void 0,function*(e,n,t=[],r=null,o=null,i=0,a=null){if(this.connection.objectStoreNames.contains(e)||(yield pu.add(this.dbName,e,this.structure[n]),yield pu.open(this.dbName)),!this.connection.objectStoreNames.contains(e))throw new Error(Yl("The target table %s does not exist",e));const s=yield this.selectAll(n,t,r,o,i,a);return s.length?this.insert(e,s):0})}deleteTable(e){return uu(this,void 0,void 0,function*(){return yield pu.remove(this.dbName,e),!0})}}const pu={_structures:{},_connections:{},_stores:{},ok:void 0!==du,updateStructure(e,n,t){const r=fu(n);if(!t.objectStoreNames.contains(e)){const o=t.createObjectStore(e,{keyPath:r});ru(n.keys,(e,n)=>{"PRIMARY"!==n&&o.createIndex(n,e.columns.length>1?e.columns:e.columns[0],{unique:!!e.unique})})}},getExistingVersion(e){return uu(this,void 0,void 0,function*(){const n=this._connections[e];return n?n.version:new Promise((n,t)=>{if(!du)return void t(new Error(Yl("IndexedDB is not available")));const r=du.open(e);r.onsuccess=()=>{const e=r.result,t=e.version;e.close(),n(t)},r.onupgradeneeded=()=>{const e=r.result,t=e.version;e.close(),n(t)},r.onerror=()=>t(r.error)})})},reopenWithUpgrade(e){return uu(this,void 0,void 0,function*(){const n=(yield this.getExistingVersion(e))+1;return this._connections[e]&&(this._connections[e].close(),delete this._connections[e]),new Promise((t,r)=>{if(!du)return void r(new Error(Yl("IndexedDB is not available")));const o=du.open(e,n);o.onupgradeneeded=()=>{const n=o.result;ru(this._structures[e]||{},(e,t)=>{n.objectStoreNames.contains(t)||this.updateStructure(t,e,n)})},o.onsuccess=()=>{this._connections[e]=o.result,t(o.result)},o.onerror=()=>r(o.error),o.onblocked=()=>r(o.error||new Error(Yl("IndexedDB upgrade blocked")))})})},open(e){return uu(this,void 0,void 0,function*(){if(!du)throw new Error(Yl("IndexedDB is not available"));if(!this._structures[e])throw new Error(Yl("Impossible to find a structure for the database %s",e));return this._connections[e]||(yield new Promise((n,t)=>{const r=du.open(e);r.onupgradeneeded=()=>{const n=r.result;ru(this._structures[e]||{},(e,t)=>{n.objectStoreNames.contains(t)||this.updateStructure(t,e,n)})},r.onsuccess=()=>{this._connections[e]=r.result,n(r.result)},r.onerror=()=>t(r.error)})),new gu(e)})},add(e,n,t){return uu(this,void 0,void 0,function*(){var r;if(!(null===(r=null==t?void 0:t.keys)||void 0===r?void 0:r.PRIMARY)||!(null==t?void 0:t.fields))throw new Error(Yl("The database structure for %s is not valid (missing keys, fields, or primary key)",n));this._structures[e]||(this._structures[e]={}),this._structures[e][n]=t;const o=this._connections[e];o&&!o.objectStoreNames.contains(n)&&(yield this.reopenWithUpgrade(e))})},remove(e,n){return uu(this,void 0,void 0,function*(){var t;null===(t=this._structures[e])||void 0===t||delete t[n];const r=this._connections[e];if(!r)return;const o=r.version+1;r.close(),delete this._connections[e],yield new Promise((t,r)=>{if(!du)return void r(new Error(Yl("IndexedDB is not available")));const i=du.open(e,o);i.onupgradeneeded=()=>{const e=i.result;e.objectStoreNames.contains(n)&&e.deleteObjectStore(n)},i.onsuccess=()=>{this._connections[e]=i.result,t()},i.onerror=()=>r(i.error)})})}};function bu(e,n,t){let r=(new Date).getTime(),o={key:e,url:nu(e,0,e.length-33),loader:n,aborter:t,loading:!0,error:!1,abort:!1,errorMessage:!1,success:!1,start:r};bbn.env.loaders.push(o),bbn.env.loadersHistory.unshift(o);let i=bbn.env.loadersHistory.length;for(;i&&bbn.env.loadersHistory.length>bbn.env.maxLoadersHistory;)i--,bbn.env.loading||bbn.env.loadersHistory.splice(i,1);return r}function wu(e,...n){if("object"==typeof e){const t=[];return 1===n.length&&"string"==typeof n[0]?t.push(...n[0].split(".")):t.push(...n),t.reduce((e,n)=>{if(e)return e[e instanceof Array?parseInt(n):n]},e)}}function vu(e){if(!Jl(e)){if(!e.toString)throw eu(e),new Error(bbn._("removeAccent expects a string"));e=e.toString()}return e.normalize("NFD").replace(/[\u0300-\u036f]/g,"")}function Eu(...e){if(!e.length)return!1;for(let n of e)if("[object Date]"!=={}.toString.apply(n))return!1;return!0}function Tu(e,n,t,r="asc"){let o=wu(e,t),i=wu(n,t),a=(typeof o).toLowerCase(),s=(typeof i).toLowerCase();if("asc"!==r&&Jl(r)&&"desc"===r.toLowerCase()&&(r="desc"),a!==s)o=a,i=s;else switch(a){case"string":o=vu(o).toLowerCase(),i=vu(i).toLowerCase();break;case"boolean":o=o?1:0,i=i?1:0;break;case"object":Eu(o)&&(o=o.getTime(),i=Eu(i)?i.getTime():0)}return o<i?"desc"===r?1:-1:o>i?"desc"===r?-1:1:0}function Su(e){return e&&"object"==typeof e?Object.keys(e).length:0}function Du(e){return!e||(iu(e)?!e.length:"object"==typeof e&&!Su(e))}function zu(...e){if(!e.length)return!1;for(let n of e)if("[object Null]"!=={}.toString.apply(n))return!1;return!0}function Au(e){let n=0;for(let t=0;t<e.length;t++){n=(n<<5)-n+e.charCodeAt(t),n|=0}return Math.abs(n).toString(16)}function Hu(e){let n=0;for(let t=0;t<e.length;t++){n=e.charCodeAt(t)+(n<<6)+(n<<16)-n,n|=0}return Math.abs(n).toString(16)}function ku(e){return Au(e).padStart(8,"0")+Hu(e).padStart(8,"0")}function Iu(...e){if(!e.length)return!1;for(let n of e)if(!(n instanceof HTMLElement))return!1;return!0}function _u(e){let n="",t=e;if(e.id)return"#"+e.id;for(;t&&t!==document.body;){let e=t,r=e.localName,o=0;if(!r)break;if(e===document.body)break;e.id&&(n="#"+e.id+">"+n,o=1);let i=t.parentNode,a=Array.from(i.children).filter(n=>n.tagName===e.tagName);if(!o&&a.length>1){let n=Array.from(i.children).indexOf(e)+1;n>1&&(r+=":nth-child("+n+")")}n=r+(n?">"+n:""),t=i}return n}function Cu(...e){var n;if(!e.length)return!1;if(!("cp"in bbn)||!("isComponent"in bbn.cp)||"function"!=typeof bbn.cp.isComponent)return!1;for(let t of e){if(!bbn.cp.isComponent(t)||Iu(t)||!(null===(n=t.$el)||void 0===n?void 0:n.bbnCid))return!1}return!0}function Gu(e,n=null,t=0,r=null,o=null){if(t||r||(r=new WeakSet),void 0===e)e="__BBN_UNDEFINED__";else if(null===e)e="__BBN_NULL__";else if(null===e)e="__BBN_NULL__";else if("function"==typeof e)e="__BBN_FUNCTION__"+e.toString();else if("symbol"==typeof e)e="__BBN_SYMBOL__"+e.toString();else if("string"==typeof e)e="__BBN_STRING__"+e;else if("number"==typeof e)e="__BBN_NUMBER__"+e.toString();else if("boolean"==typeof e)e="__BBN_BOOLEAN__"+e.toString();else if([void 0,Object,Array,null].includes(null==e?void 0:e.constructor)){if(bbn.fn.isArray(e))if(r.has(e)||n&&n<t)e="__BBN_ARRAY__"+e.constructor.toString();else{r.add(e);let i="";for(let a=0;a<e.length;a++)i+="__BBN_ITEM"+a.toString()+"__"+o(e[a],n,t+1,r,o);e="__BBN_ARRAY__"+i}else if("object"==typeof e)if(r.has(e)||n&&n<t)e="__BBN_OBJECT__"+(e.constructor?e.constructor.toString():"");else{r.add(e);let i="";for(let a in e){let s=a;"string"!=typeof s&&(s=o(s,o,1,1)),i+="__BBN_PROP_"+s+"__"+o(e[a],n,t+1,r,o)}e="__BBN_OBJECT__"+i}}else e=Iu(e)?Cu(e)?"__BBN_CP__"+e.$cid:e.bbnId?"__BBN_DOM__"+e.tagName+"/"+e.bbnId+e.bbnHash:"__BBN_DOM__"+_u(e):"__BBN_UNKNOWN_OBJECT__"+e.constructor.toString();return e}function Pu(...e){let n="",t=null;2===e.length&&"number"==typeof e[1]&&(t=e[1],e=[e[0]]);for(let r in e)n+=Gu(e[r],t,0,null,Gu);return ku(n)}function Ou(e){var n="0123456789abcdef";function t(e){var t,r="";for(t=0;t<=3;t++)r+=n.charAt(e>>8*t+4&15)+n.charAt(e>>8*t&15);return r}function r(e,n){var t=(65535&e)+(65535&n);return(e>>16)+(n>>16)+(t>>16)<<16|65535&t}function o(e,n,t,o,i,a){return r(function(e,n){return e<<n|e>>>32-n}(r(r(n,e),r(o,a)),i),t)}function i(e,n,t,r,i,a,s){return o(n&t|~n&r,e,n,i,a,s)}function a(e,n,t,r,i,a,s){return o(n&r|t&~r,e,n,i,a,s)}function s(e,n,t,r,i,a,s){return o(n^t^r,e,n,i,a,s)}function m(e,n,t,r,i,a,s){return o(t^(n|~r),e,n,i,a,s)}var l,u,d,c,h,f=function(e){var n,t=1+(e.length+8>>6),r=new Array(16*t);for(n=0;n<16*t;n++)r[n]=0;for(n=0;n<e.length;n++)r[n>>2]|=e.charCodeAt(n)<<n%4*8;return r[n>>2]|=128<<n%4*8,r[16*t-2]=8*e.length,r}(e),M=1732584193,y=-271733879,g=-1732584194,p=271733878;for(l=0;l<f.length;l+=16)u=M,d=y,c=g,h=p,M=i(M,y,g,p,f[l+0],7,-680876936),p=i(p,M,y,g,f[l+1],12,-389564586),g=i(g,p,M,y,f[l+2],17,606105819),y=i(y,g,p,M,f[l+3],22,-1044525330),M=i(M,y,g,p,f[l+4],7,-176418897),p=i(p,M,y,g,f[l+5],12,1200080426),g=i(g,p,M,y,f[l+6],17,-1473231341),y=i(y,g,p,M,f[l+7],22,-45705983),M=i(M,y,g,p,f[l+8],7,1770035416),p=i(p,M,y,g,f[l+9],12,-1958414417),g=i(g,p,M,y,f[l+10],17,-42063),y=i(y,g,p,M,f[l+11],22,-1990404162),M=i(M,y,g,p,f[l+12],7,1804603682),p=i(p,M,y,g,f[l+13],12,-40341101),g=i(g,p,M,y,f[l+14],17,-1502002290),M=a(M,y=i(y,g,p,M,f[l+15],22,1236535329),g,p,f[l+1],5,-165796510),p=a(p,M,y,g,f[l+6],9,-1069501632),g=a(g,p,M,y,f[l+11],14,643717713),y=a(y,g,p,M,f[l+0],20,-373897302),M=a(M,y,g,p,f[l+5],5,-701558691),p=a(p,M,y,g,f[l+10],9,38016083),g=a(g,p,M,y,f[l+15],14,-660478335),y=a(y,g,p,M,f[l+4],20,-405537848),M=a(M,y,g,p,f[l+9],5,568446438),p=a(p,M,y,g,f[l+14],9,-1019803690),g=a(g,p,M,y,f[l+3],14,-187363961),y=a(y,g,p,M,f[l+8],20,1163531501),M=a(M,y,g,p,f[l+13],5,-1444681467),p=a(p,M,y,g,f[l+2],9,-51403784),g=a(g,p,M,y,f[l+7],14,1735328473),M=s(M,y=a(y,g,p,M,f[l+12],20,-1926607734),g,p,f[l+5],4,-378558),p=s(p,M,y,g,f[l+8],11,-2022574463),g=s(g,p,M,y,f[l+11],16,1839030562),y=s(y,g,p,M,f[l+14],23,-35309556),M=s(M,y,g,p,f[l+1],4,-1530992060),p=s(p,M,y,g,f[l+4],11,1272893353),g=s(g,p,M,y,f[l+7],16,-155497632),y=s(y,g,p,M,f[l+10],23,-1094730640),M=s(M,y,g,p,f[l+13],4,681279174),p=s(p,M,y,g,f[l+0],11,-358537222),g=s(g,p,M,y,f[l+3],16,-722521979),y=s(y,g,p,M,f[l+6],23,76029189),M=s(M,y,g,p,f[l+9],4,-640364487),p=s(p,M,y,g,f[l+12],11,-421815835),g=s(g,p,M,y,f[l+15],16,530742520),M=m(M,y=s(y,g,p,M,f[l+2],23,-995338651),g,p,f[l+0],6,-198630844),p=m(p,M,y,g,f[l+7],10,1126891415),g=m(g,p,M,y,f[l+14],15,-1416354905),y=m(y,g,p,M,f[l+5],21,-57434055),M=m(M,y,g,p,f[l+12],6,1700485571),p=m(p,M,y,g,f[l+3],10,-1894986606),g=m(g,p,M,y,f[l+10],15,-1051523),y=m(y,g,p,M,f[l+1],21,-2054922799),M=m(M,y,g,p,f[l+8],6,1873313359),p=m(p,M,y,g,f[l+15],10,-30611744),g=m(g,p,M,y,f[l+6],15,-1560198380),y=m(y,g,p,M,f[l+13],21,1309151649),M=m(M,y,g,p,f[l+4],6,-145523070),p=m(p,M,y,g,f[l+11],10,-1120210379),g=m(g,p,M,y,f[l+2],15,718787259),y=m(y,g,p,M,f[l+9],21,-343485551),M=r(M,u),y=r(y,d),g=r(g,c),p=r(p,h);return t(M)+t(y)+t(g)+t(p)}function Bu(e){const n="function"==typeof e?e.toString():e;if("string"!=typeof n)throw Error("Unexpected type "+typeof e+" while parsing function");let t,r="",o=!1,i=!1,a=!1,s="",m=0,l=0,u=[],d={},c="",h=['"',"'","`"],f=!1,M=!1,y=!1,g=!1,p=!1,b=!1,w="";for(let e=0;e<n.length;e++)if(y||"/"!==n[e]||"*"!==n[e+1])if("/"===n[e]&&"*"===n[e-1])y=!1;else if(g||"/"!==n[e]||"/"!==n[e+1])if("\n"===n[e])g=!1;else{if(y||g)continue;if(n[e]===c&&!f&&c)c="",r+=n[e];else if(c)f="\\"===n[e]&&!f,r+=n[e];else if(h.includes(n[e])&&!f)c=n[e],r+=n[e];else if("("===n[e]){if(m++,""!==r.trim()){if("function"===r.trim())a=!0;else if("async"!==r.trim()){s=r.trim();let e=s.match(/^([a-zA-Z0-9_]+)<[a-zA-Z0-9_]+>$/);e&&(s=e[1])}r=""}}else if(")"===n[e])m===l+1&&(M?(d.default=r.trim(),M=!1):r&&(d.name=r.trim()),(d.name||d.default)&&(u.push(d),d={}),r=""),l++;else if(p&&"}"!==n[e])r+=n[e];else{if(m&&m===l&&":"===n[e]){const r=n.substring(e+1).trim().match(/^\s*([a-zA-Z0-9_]+)\s*\{/);if(!r)throw Error("Unexpected ':' while parsing function");w=r[1],t=n.substring(e+r[0].length).trim();break}if(!(r||"="!==n[e]||">"!==n[e+1]||m!==l||l||o)){d.name=n.slice(0,e).trim(),u.push(d),d={},o=!0,t=bbn.fn.substr(n,e+2).trim();break}if(m===l&&"="===n[e]&&">"===n[e+1]){""!==r.trim()&&(d.name=r.trim(),u.push(d),d={},r=""),o=!0,e++;continue}if("="===n[e]&&m>l&&!M)d.name=r.trim(),r="",M=!0;else if(","===n[e])if(p)r+=n[e];else{if(!(m>l))throw Error("Unexpected ',' while parsing function");M?(d.default=r.trim(),M=!1):r&&(d.name=r.trim()),(d.name||d.default)&&(u.push(d),d={}),r=""}else if("{"===n[e]||"}"===n[e]){if(m===l){t=n.substring(e).trim();break}m>l?"{"!==n[e]||p?"}"===n[e]&&p&&(p=!1,r+=n[e]):(p=!0,r=n[e]):r=""}else{if(o){t=n.substring(n.indexOf("=>")+2).trim();break}" "===n[e]?""!==r.trim()&&("async"===r.trim()&&(i=!0),m>l?r+=n[e]:r=""):r+=n[e]}}}else g=!0,r="";else y=!0,r="";if(!t){if(!o)throw Error("Unexpected end of function while parsing function");t=r}t.substr(0,25).indexOf("[native code]")>-1&&(b=!0);const v=u.map(e=>e.name+(e.default?" = "+e.default:"")).join(", ");return{body:t,args:u,argString:v,isArrow:o,hasFunction:a,name:s,isAsync:i,isBinary:b,hash:Ou(t+(s?"-"+s:"")+(v?"-"+v:"")),returnType:w}}function Nu(e,n,t){if(t||(t=[]),e===n)return!0;if(e&&n&&"object"==typeof e&&"object"==typeof n){if(![void 0,Object,Array,null].includes(null==e?void 0:e.constructor)||![void 0,Object,Array,null].includes(null==n?void 0:n.constructor))return!1;let r=Object.keys(e).sort(),o=Object.keys(n).sort();if(Pu(r)!==Pu(o))return!1;let i=!0;if(e&&"object"==typeof e){if(t.includes(e))return i;t.push(e)}return mu(r,t=>{if(!Nu(e[t],n[t]))return i=!1,!1}),i}if(e&&n&&"function"==typeof e&&"function"==typeof n){let t=Bu(e),r=Bu(n),o=t.hash===r.hash;return o&&t.isBinary&&(o=!1),o}return!1}function xu(e,n,t){switch(t){case"===":case"=":case"equal":case"eq":case"is":return e===n;case"!==":case"notequal":case"neq":case"isnot":return e!==n;case"!=":case"different":return e!=n;case"contains":case"contain":case"icontains":case"icontain":return!Du(e)&&!Du(n)&&-1!==vu(e).toLowerCase().indexOf(vu(n).toLowerCase());case"doesnotcontain":case"donotcontain":return!(!zu(e)&&!zu(n))||-1===vu(e.toLowerCase()).indexOf(vu(n.toLowerCase()));case"starts":case"start":return!zu(e)&&!zu(n)&&("string"!=typeof e&&(e=e.toString()||""),"string"!=typeof n&&(n=n.toString()||""),0===e.indexOf(n));case"startswith":case"startsi":case"starti":case"istarts":case"istart":return!zu(e)&&!zu(n)&&0===vu(e).toLowerCase().indexOf(vu(n).toLowerCase());case"endswith":case"endsi":case"endi":case"iends":case"iend":return!zu(e)&&!zu(n)&&e.lastIndexOf(n)===e.length-n.length;case"like":return!zu(e)&&!zu(n)&&vu(e).toLowerCase()===vu(n).toLowerCase();case"gt":case">":return e>n;case"gte":case">=":return e>=n;case"lt":case"<":return e<n;case"lte":case"<=":return e<=n;case"isnull":return null===e;case"isnotnull":return null!==e;case"isempty":return""===e;case"isnotempty":return""!==e;case"==":if(ou(e,n))return Nu(e,n);default:return e==n}}function Lu(e,n){if(!n.conditions||!n.logic||!iu(n.conditions))throw new Error("Error in compareConditions: the filter should an abject with conditions and logic properties and conditions should be an array of objects");let t="AND"===n.logic;return mu(n.conditions,r=>{let o;if(r.conditions&&iu(r.conditions))o=Lu(e,r);else if(o=xu(wu(e,r.field),r.value,r.operator),o){let n=r.field.split("."),t=n.pop();n.length&&mu(n,n=>e=e[n]),void 0===wu(e,t)&&void 0!==r.value&&(o=!1)}if(o){if("OR"===n.logic)return t=!0,!1}else if("AND"===n.logic)return t=!1,!1}),t}function ju(e,n="="){if(!ou(e))throw new Error("Error in filterToCondition: filter must be an object");if(!e.conditions||!iu(e.conditions)){let t=[];ru(e,(e,r)=>{ou(e)&&"object"==typeof e.conditions?t.push(ju(e)):t.push({field:r,operator:n,value:e})}),e={conditions:t}}return e.logic||(e.logic="AND"),e}function Ru(e,n,t=null,r="=",o=0,i=!1){if(!su(e))throw new Error(bbn._("The first argument for a search should be iterable")+" "+typeof e+" "+bbn._("given"));if(!e.length)return-1;let a,s,m=!1;if(n)if("string"==typeof n)a={conditions:[{field:n,value:t,operator:r||"="}]};else if(i=!0===r,o="number"==typeof t?t:i?e.length-1:0,"function"==typeof n)m=!0,s=n;else if(ou(n))if("field"in n&&"value"in n)a={conditions:[n],logic:"AND"};else if("conditions"in n)a=n;else{const e=[];for(let t in n)e.push({field:t,value:n[t],operator:"="});a={conditions:e,logic:"AND"}}else iu(n)&&(a={conditions:n,logic:"AND"});else m=!0,s=e=>Lu({value:e},ju({logic:"AND",conditions:[{field:"value",operator:r||"=",value:t}]}));if(m||a){if("number"!=typeof o&&(o=i?e.length-1:0),!s){const e=ju(a);s=n=>Lu(n,e)}if(i)for(let n=o;n>=0;n--){if(bbn.env._enumerated.push(!0),s(e[n]))return bbn.env._enumerated.pop(),e[n],n;bbn.env._enumerated.pop()}else for(let n=o;n<e.length;n++){if(bbn.env._enumerated.push(!0),s(e[n]))return bbn.env._enumerated.pop(),e[n],n;bbn.env._enumerated.pop()}}return-1}function Fu(e,n,t=null,r="=",o=0,i=!1,a=!1){let s=Ru(e,n,t,r,o,i);return s>-1?e[s]:n&&["object","function"].includes(typeof n)&&5 in arguments?i:a}function Yu(e,n=null,t=!1){let r=Ru(bbn.env.loaders,{key:e});if(r>-1){let o=bbn.env.loaders.splice(r,1)[0],i=Fu(bbn.env.loadersHistory,{key:e,start:o.start});return i&&(i.loading=!1,i.duration=(new Date).getTime()-o.start,"string"==typeof n?(i.errorMessage=n,i.error=!t,i.abort=t):ou(n)&&(i.success=!0)),!0}return!1}function Zu(e){let n=Ru(bbn.env.loaders,{key:e});return n>-1?bbn.env.loaders[n]:null}function Wu(e,n,t=null,r="=",o=0){if(!iu(e))try{e=Array.from(e)}catch(n){throw bbn.fn.log("NOT ARRAY",e),new Error("Error in filter: The first argument must be an array")}let i={};const a=[],s="function"==typeof n;if(!n||!e.length)return e;if("object"==typeof n)i=n;else if("string"==typeof n)i[n]=t;else if(!s)throw new Error("Search function error: The prop argument should be a string or an object");let m;m="function"==typeof n?n:(e,n)=>Lu(e,i);for(let n=0;n<e.length&&(bbn.env._enumerated.push(!0),!(m(e[n],n)&&(bbn.env._enumerated.pop(),a.push(e[n]),bbn.env._enumerated.push(!0),o&&a.length>=o)));n++)bbn.env._enumerated.pop();return a}function Uu(e){if(Su(e)){bbn.var.colors||(bbn.var.colors={});let n=document.createElement("style");document.head.appendChild(n);let t=n.sheet,r=0;ru(e,(e,n)=>{bbn.var.colors[n]=e,t.insertRule(".bbn-"+n+", .bbn-color-text-"+n+" {color: "+e+" !important;}",r),t.insertRule("svg.bbn-"+n+", .bbn-"+n+" svg, svg.bbn-color-text-"+n+", .bbn-color-text-"+n+" svg {fill: "+e+";}",r),t.insertRule(".bbn-bg-"+n+", .bbn-color-bg-"+n+", .bbn-color-background-"+n+" {background-color: "+e+" !important;}",r),t.insertRule(".bbn-border-"+n+", .bbn-color-border-"+n+" {border-color: "+e+" !important;}",r),t.insertRule(".bbn-color-"+n+" {border-color: "+e+"; background-color: "+e+"; color: "+e+";}",r)})}}function qu(e,n=null,t=""){if(e&&"FORM"===e.tagName){let r=(n,t)=>{let r=document.createElement("input");r.setAttribute("type","hidden"),r.setAttribute("name",n),r.setAttribute("value",t),e.appendChild(r)};n=JSON.parse(JSON.stringify(n||{})),t=t||"",n&&ru(n,(n,o)=>{let i=t?`${t}[${o}]`:o;n instanceof Date?r(i,n.toISOString()):n instanceof Array?n.forEach((n,t)=>{const o=`${i}[${t}]`;"object"==typeof n?qu(e,n,o):r(o,n.toString())}):"object"!=typeof n||n instanceof File?r(i,n.toString()):qu(e,n,i)})}}function $u(e,n){let t=0;mu(n,n=>{n.style[e]="auto"}),mu(n,(n,r)=>{let o=n.getBoundingClientRect(),i=o[e]%1?o[e]-o[e]%1+1:o[e];i>t&&(t=i)}),mu(n,(n,r)=>{t&&(n.style[e]=t+"px")})}function Vu(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}function Ku(e,n,t,r=""){return t.toString().replace(ou(e)?e:new RegExp(Vu(e),"g"+r),n)}function Ju(e,n,t){let r={};return n&&ru(n,(e,n)=>{-1===n.indexOf("_bbn")&&(r[n]=e)}),e+":"+Ou((t||"json")+JSON.stringify(r))}function Xu(e,n=null,t=null,r=null,o=null,i=null){if(null===n&&e&&"object"==typeof e&&e.url&&(e.abort&&(i=e.abort),e.failure&&(o=e.failure),e.success&&(r=e.success),e.data&&(t=e.data),e.datatype&&(n=e.datatype),e=e.url),e&&e&&"string"==typeof e){-1===e.indexOf("://")&&(e=Ku("//","/",e)),n||(n="json");let a=Ju(e,t,n),s=Zu(a);if(null==s?void 0:s.loader)return s.loader;bbn.env.token&&lu(t||{},{_bbn_token:bbn.env.token});const m=new AbortController;let l={responseType:n,signal:m.signal};"text"===n?l.headers={accept:"text/javascript","Content-Type":"text/javascript"}:"json"===n?l.headers={accept:"application/json","Content-Type":"application/json"}:"html"===n&&(l.headers={accept:"text/html","Content-Type":"text/html"});let u="get";ou(t)&&Su(t)>0&&(l.data=t,u="post");let d=Kl.run(u,e,l).then(n=>{if(Yu(a,n),bbn.fn.defaultEndLoadingFunction(e,c,t,n),200===n.status)Ql(r)&&r(n.data,n.headers);else{let e=1;Ql(o)&&(e=o(d,n.message,n)),e&&bbn.fn.defaultAjaxErrorFunction(d,n.message,n)}return n}).catch(n=>{let r=Kl.isCancel(n);if(Yu(a,n.message||n.response.data,r),bbn.fn.defaultEndLoadingFunction(e,c,t,n),r){let t=1;Ql(i)&&(t=i(n.message,e)),t&&bbn.fn.defaultAjaxAbortFunction(n.message,e)}else{let e=1;Ql(o)&&(e=o(d,n.message,n)),e&&bbn.fn.defaultAjaxErrorFunction(d,n.message,n.response)}return n.response}),c=bu(a,d,m);return bbn.fn.defaultStartLoadingFunction(e,c,t,a),d}}const Qu=new TextDecoder;function ed(e){return Qu.decode(e)}function nd(e,n){if(e&&Jl(e)){let t=e.split("/").pop();if(!n)return t;let r=n.length;if(t&&nu(t,-r)===n)return nu(t,0,t.length-r)}return""}const td=[["y","year",31536e6],["m","month",2592e6],["w","week",6048e5],["d","day",864e5],["h","hour",36e5],["i","minute",6e4],["s","second",1e3],["x","millisecond",1]],rd={years:"y",year:"y",YEARS:"y",YEAR:"y",Years:"y",Year:"y",YYYY:"y",YY:"y",yyyy:"y",yy:"y",months:"m",month:"m",Months:"m",Month:"m",MONTHS:"m",MONTH:"m",MMMM:"m",MMM:"m",MM:"m",weekday:"e",WEEKDAY:"e",ee:"e",EE:"e",ddd:"e",days:"d",day:"d",Days:"d",Day:"d",DAYS:"d",DAY:"d",DD:"d",dd:"d",hours:"h",hour:"h",Hours:"h",Hour:"h",HOURS:"h",HOUR:"h",HH:"h",hr:"h",hh:"h",milliseconds:"x",millisecond:"x",Milliseconds:"x",Millisecond:"x",MILLISECONDS:"x",MILLISECOND:"x",minutes:"i",minute:"i",Minutes:"i",Minute:"i",MINUTES:"i",MINUTE:"i",II:"i",ii:"i",mn:"i",mm:"i",min:"i",ms:"x",SSS:"x",sss:"x",SS:"s",ss:"s",seconds:"s",second:"s",Seconds:"s",Second:"s",SECONDS:"s",SECOND:"s",sec:"s",WW:"w",Y:"y",y:"y",M:"m",m:"m",e:"e",E:"e",D:"d",d:"d",H:"h",h:"h",n:"i",i:"i",s:"s",S:"s",W:"w",w:"w",ZZ:"z",Z:"z"},od={y:"YYYY",m:"MM",d:"DD",e:"EE",w:"WW",h:"HH",i:"II",s:"SS",x:"SSS",z:"Z"};function id(...e){if(!e.length)return!1;for(let n of e)if(null!==n&&("object"==typeof n||"function"==typeof n))return!1;return!0}var ad,sd,md,ld,ud=function(e,n,t,r,o){if("m"===r)throw new TypeError("Private method is not writable");if("a"===r&&!o)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof n?e!==n||!o:!n.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?o.call(e,t):o?o.value=t:n.set(e,t),t},dd=function(e,n,t,r){if("a"===t&&!r)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof n?e!==n||!r:!n.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===t?r:"a"===t?r.call(e):r?r.value:n.get(e)};const cd=jl.ZonedDateTime.from("1970-01-01T00:00Z[UTC]");class hd{static fromUnit(e,n){const t=rd[n]||"ms",r=["y"===t?e:0,"m"===t?e:0,"w"===t?e:0,"d"===t?e:0,"h"===t?e:0,"i"===t?e:0,"s"===t?e:0,["y","m","w","d","h","i","s"].includes(t)?0:e],o=new jl.Duration(...r);return new hd(o)}constructor(e,n,t,r,o,i,a,s,m){ad.add(this),sd.set(this,void 0),md.set(this,void 0),e instanceof jl.Duration?ud(this,sd,e,"f"):ud(this,sd,"object"==typeof e?new jl.Duration(e.years||0,e.months||0,e.weeks||0,e.days||0,e.hours||0,e.minutes||0,e.seconds||0,e.milliseconds||0,0,0):new jl.Duration(e||0,n||0,t||0,r||0,o||0,i||0,a||0,s||0,0,0),"f");const l=rd[m||""]||m;ud(this,md,l||"ms","f"),Fu(td,e=>e[0]===l),Object.defineProperty(this,"isValid",{value:!1,writable:!1,configurable:!0})}setValid(e){Object.defineProperty(this,"isValid",{value:e,writable:!1,configurable:!1})}get value(){return dd(this,sd,"f")}years(e=!1){return dd(this,ad,"m",ld).call(this,"year",e)}months(e=!1){return dd(this,ad,"m",ld).call(this,"month",e)}weeks(e=!1){return dd(this,ad,"m",ld).call(this,"week",e)}days(e=!1){return dd(this,ad,"m",ld).call(this,"day",e)}hours(e=!1){return dd(this,ad,"m",ld).call(this,"hour",e)}minutes(e=!1){return dd(this,ad,"m",ld).call(this,"minute",e)}seconds(e=!1){return dd(this,ad,"m",ld).call(this,"second",e)}toJSON(){return this.value.toJSON()}asYears(){return dd(this,sd,"f").total({unit:"year",relativeTo:cd})}asMonths(){return dd(this,sd,"f").total({unit:"month",relativeTo:cd})}asWeeks(){return dd(this,sd,"f").total({unit:"week",relativeTo:cd})}asDays(){return dd(this,sd,"f").total({unit:"day",relativeTo:cd})}asHours(){return dd(this,sd,"f").total({unit:"hour",relativeTo:cd})}asMinutes(){return dd(this,sd,"f").total({unit:"minute",relativeTo:cd})}asSeconds(){return dd(this,sd,"f").total({unit:"second",relativeTo:cd})}add(e,n){let t=dd(this,md,"f");if(n)if(rd[n]){const e=Fu(td,e=>e[0]===rd[n]);e&&(t=e[1])}else t=n;const r=t+"s";if(!["years","months","weeks","days","hours","minutes","seconds","milliseconds"].includes(r))throw new Error("Invalid unit for duration: "+(null!=n?n:t));const o={[r]:e},i=dd(this,sd,"f").add(o);return new hd(i,void 0,void 0,void 0,void 0,void 0,void 0,void 0,dd(this,md,"f"))}subtract(e,n){return this.add(-e,n)}toMilliseconds(){const e=dd(this,sd,"f");return e.years||e.months||e.weeks||e.days?e.total({unit:"millisecond",relativeTo:cd}):e.total({unit:"millisecond"})}}sd=new WeakMap,md=new WeakMap,ad=new WeakSet,ld=function(e,n){const t=dd(this,sd,"f");if(n)switch(e){case"year":return t.years;case"month":return t.months;case"week":return t.weeks;case"day":return t.days;case"hour":return t.hours;case"minute":return t.minutes;case"second":return t.seconds}const r=t.total({unit:e,relativeTo:cd});return Math.floor(r)};var fd,Md=function(e,n,t,r,o){if("m"===r)throw new TypeError("Private method is not writable");if("a"===r&&!o)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof n?e!==n||!o:!n.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?o.call(e,t):o?o.value=t:n.set(e,t),t},yd=function(e,n,t,r){if("a"===t&&!r)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof n?e!==n||!r:!n.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===t?r:"a"===t?r.call(e):r?r.value:n.get(e)};class gd{constructor(e){this.__bbnNoData=!0,this.__isBbnDt=!0,fd.set(this,void 0),this.getWeekdayIndex=(e,n)=>{const t=n||bbn.env.lang,r=e.trim().toLowerCase(),o=[t,...navigator.languages];for(let e=0;e<o.length;e++){if(!o[e])continue;const n=new Intl.DateTimeFormat(o[e],{weekday:"long"});for(let e=0;e<7;e++){const t=new Date(2023,0,1+e);if(n.format(t).toLowerCase()===r)return e}}throw new Error(`Unknown weekday name '${e}' for locale '${t}'`)},Object.defineProperty(this,"isValid",{value:!0,writable:!1,configurable:!0}),Md(this,fd,e,"f");const n=new Date;Object.defineProperty(this,"defaultValue",{value:{year:n.getFullYear(),month:n.getMonth()+1,day:n.getDate(),hour:n.getHours(),minute:n.getMinutes(),second:n.getSeconds(),millisecond:n.getMilliseconds()},writable:!1,configurable:!1})}setValid(e){Object.defineProperty(this,"isValid",{value:e,writable:!1,configurable:!1})}get value(){return yd(this,fd,"f")}get hasFullDate(){return"year"in this.value&&"month"in this.value&&"day"in this.value}toEpochMs(){if("zoned"===this.kind){return this.value.toInstant().epochMilliseconds}const e=gd.systemTimeZoneId;let n;switch(this.kind){case"dateTime":return this.value.toZonedDateTime(e).toInstant().epochMilliseconds;case"date":return this.value.toZonedDateTime({timeZone:e,plainTime:{hour:this.defaultValue.hour,minute:this.defaultValue.minute,second:this.defaultValue.second,millisecond:this.defaultValue.millisecond}}).toInstant().epochMilliseconds;case"time":{const t=this.value;n=`${jl.Now.plainDateISO().toString()}T${t.toString()}[${e}]`}case"yearMonth":n=`${this.value.toPlainDate({day:1}).toString()}T00:00[${e}]`;case"monthDay":{const t=this.value,r=jl.Now.plainDateISO();n=`${t.toPlainDate({year:r.year}).toString()}T00:00[${e}]`}}if(n){return jl.ZonedDateTime.from(n).toInstant().epochMilliseconds}throw new Error(`Unsupported kind '${this.kind}' in toEpochMs`)}static nowForKind(e){switch(e){case"zoned":return jl.Now.zonedDateTimeISO();case"dateTime":return jl.Now.plainDateTimeISO();case"date":return jl.Now.plainDateISO();case"time":return jl.Now.plainTimeISO();case"yearMonth":{const e=jl.Now.plainDateISO();return new jl.PlainYearMonth(e.year,e.month)}case"monthDay":{const e=jl.Now.plainDateISO();return new jl.PlainMonthDay(e.month,e.day,void 0,e.year)}default:throw new Error(`Unsupported kind '${e}' in nowForKind`)}}withValue(e){return new(0,this.constructor)(e)}static compare(e,n,t){if(!e||!n)throw new TypeError("Both arguments must be Temporal values");const r=jl.Now.timeZoneId();let o=rd[t]?Fu(td,e=>e[0]===rd[t])[1]:void 0;o=o?o+"s":void 0;const i=e=>e instanceof gd,a=e=>i(e)?e.value:e,s=e=>{if(i(e))switch(e.kind){case"zoned":return e.value;case"dateTime":{const n=`${e.value.toString()}[${r}]`;return jl.ZonedDateTime.from(n)}case"date":{const n=`${e.value.toString()}T00:00[${r}]`;return jl.ZonedDateTime.from(n)}case"yearMonth":{const n=`${e.value.toPlainDate({day:1}).toString()}T00:00[${r}]`;return jl.ZonedDateTime.from(n)}default:throw new TypeError(`Cannot convert kind '${e.kind}' to ZonedDateTime for comparison`)}if(e instanceof jl.ZonedDateTime)return e;throw new TypeError("toZdt expects a bbnDt wrapper or ZonedDateTime")},m=a(e),l=a(n);if(m.constructor===l.constructor){const e=m.constructor,n=e.compare(m,l);if(void 0===o){if("function"!=typeof e.compare)throw new TypeError("This Temporal type has no static compare");return n}if("function"!=typeof m.until||"function"!=typeof m.since)throw new TypeError("This Temporal type does not support until/since");return m[1===n?"since":"until"](l,{smallestUnit:o,largestUnit:o,roundingMode:"floor"}).sign}const u=new Set(["zoned","dateTime","date","yearMonth"]);if(i(e)&&i(n)&&u.has(e.kind)&&u.has(n.kind)){const t=s(e),r=s(n),i=jl.ZonedDateTime.compare(t,r);if(void 0===o)return i;if("function"!=typeof t.until||"function"!=typeof t.since)throw new TypeError("ZonedDateTime does not support until/since");return t[1===i?"since":"until"](r,{smallestUnit:o,largestUnit:o,roundingMode:"floor"}).sign}throw new TypeError("Cannot compare different Temporal or bbnDt types")}static parse(e,n,t="auto",r){return bbn.dt(e,n,t,r)}parse(e,n,t){return gd.parse(e,n,t||this.kind)}compare(e,n){return e instanceof gd||(e=bbn.dt(e,null,this.kind)),gd.compare(this,e,n)}add(e,n){if(this.value){if(this.value instanceof jl.PlainMonthDay||"function"!=typeof this.value.add)throw new TypeError("This Temporal type does not support add/subtract");if(e instanceof hd){const n=this.value.add(e.value);return new this.constructor(n)}if("object"==typeof e){const n=new hd(e),t=this.value.add(n.value);return new this.constructor(t)}{if(!n)throw new Error("Unit must be specified when adding a number");const t=hd.fromUnit(e,n),r=this.value.add(t.value);return new this.constructor(r)}}}subtract(e,n){if(this.value){if(this.value instanceof jl.PlainMonthDay||"function"!=typeof this.value.subtract)throw new TypeError("This Temporal type does not support add/subtract");if(e instanceof hd){const n=this.value.subtract(e.value);return new this.constructor(n)}if("object"==typeof e){const n=new hd(e),t=this.value.subtract(n.value);return new this.constructor(t)}{if(!n)throw new Error("Unit must be specified when adding a number");const t=hd.fromUnit(e,n),r=this.value.subtract(t.value);return new this.constructor(r)}}}duration(e,n){return hd.fromUnit(e,n)}isBefore(e,n){return this.compare(e,n)<0}isBeforeOrSame(e,n){return this.compare(e,n)<=0}isAfter(e,n){return this.compare(e,n)>0}isAfterOrSame(e,n){return this.compare(e,n)>=0}isSame(e,n){return 0===this.compare(e,n)}equals(e){return this.isSame(e)}toJSON(){if("toZonedDateTime"in yd(this,fd,"f")){const e=yd(this,fd,"f").toZonedDateTime(gd.systemTimeZoneId).withTimeZone("UTC");return bbn.dt(e).format("YYYY-MM-DDTHH:II:SS.SSS")+"Z"}if("zoned"===this.kind)return this.timezone("America/New_York").format("YYYY-MM-DDTHH:II:SS.SSS")+"Z"}timezone(e){switch(this.kind){case"zoned":if(void 0===e){return this.value.timeZoneId}{const n=this.value.withTimeZone(e);return bbn.dt(n)}case"dateTime":if(void 0===e){const e=`${this.value.toString()}[${gd.systemTimeZoneId}]`;return jl.ZonedDateTime.from(e).timeZoneId}{const n=`${this.value.toString()}[${e}]`,t=jl.ZonedDateTime.from(n);return bbn.dt(t)}default:throw new Error(`timezone() is not supported for kind '${this.kind}'`)}}toString(){return new Date(this.valueOf()).toString()}year(e){if(this.value){if(!("year"in this.value))throw new Error("year() is not supported for this type");if(void 0!==e&&!(e instanceof Event)){const n=this.value.with({year:e});return new this.constructor(n)}return this.value.year}}month(e){if(this.value){if(!("month"in this.value))throw new Error("month() is not supported for this type");if(void 0!==e&&!(e instanceof Event)){const n=this.value.with({month:e});return new this.constructor(n)}return this.value.month}}day(e){if(this.value){if(!("day"in this.value))throw new Error("day() is not supported for this type");if(void 0!==e&&!(e instanceof Event)){const n=this.value.with({day:e});return new this.constructor(n)}return this.value.day}}hour(e){if(this.value){if(!("hour"in this.value)){if(this.hasFullDate)return 0;throw new Error("hour() is not supported for this type")}if(void 0!==e&&!(e instanceof Event)){const n=this.value.with({hour:e});return new this.constructor(n)}return this.value.hour}}minute(e){if(this.value){if(!("minute"in this.value)){if(this.hasFullDate)return 0;throw new Error("minute() is not supported for this type")}if(void 0!==e&&!(e instanceof Event)){const n=this.value.with({minute:e});return new this.constructor(n)}return this.value.minute}}second(e){if(this.value){if(!("second"in this.value)){if(this.hasFullDate)return 0;throw new Error("second() is not supported for this type")}if(void 0!==e&&!(e instanceof Event)){const n=this.value.with({second:e});return new this.constructor(n)}return this.value.second}}millisecond(e){if(this.value){if(!("millisecond"in this.value)){if(this.hasFullDate)return 0;throw new Error("millisecond() is not supported for this type")}if(void 0!==e&&!(e instanceof Event)){const n=this.value.with({millisecond:e});return new this.constructor(n)}return this.value.millisecond}}weekday(e,n){if(this.value){if(!("dayOfWeek"in this.value))throw new Error("weekday() is not supported for this type");return void 0===e||e instanceof Event?this.value.dayOfWeek%7:this.setWeekday(e,n)}}date(e){if(this.value){if(!this.hasFullDate)throw new Error("date() is not supported for this type");return!(0 in arguments)||void 0===e||e instanceof Event?this.YYYY+"-"+this.MM+"-"+this.DD:this.parse(e,"Y-m-d")}}datetime(e){return!(0 in arguments)||void 0===e||e instanceof Event?this.YYYY+"-"+this.MM+"-"+this.DD+" "+this.HH+":"+this.II+":"+this.SS:"date"===this.kind?this.parse(this.date()+" "+e,"Y-m-d 00:00:00","dateTime"):this.parse(e,"Y-m-d H:i:s")}time(e){return!(0 in arguments)||void 0===e||e instanceof Event?this.HH+":"+this.II+":"+this.SS:"zoned"===this.kind?this.parse(this.date()+" "+e+" GMT"+this.value.timeZoneId,"Y-m-d H:i:s[ GMT]Z","dateTime"):["dateTime","date"].includes(this.kind)?this.parse(this.date()+" "+e,"Y-m-d H:i:s","dateTime"):this.parse(e,"H:i:s")}fdate(e=!1,n=!1){return this.value?bbn.dt.locales.formatters[e?"long":"numeric"].format(new Date(this.toEpochMs())):""}ftime(e=!0){return this.value?this.format("HH:II"+(e?":SS":"")):""}week(){if(!this.value)return;const e=this.year(),n=new Date(Date.UTC(e,this.month()-1,this.day())),t=new Date(Date.UTC(e,0,1)),r=Math.floor((n.getTime()-t.getTime())/864e5),o=t.getUTCDay();let i=(bbn.dt.locales.firstDayOfWeek-o+7)%7;const a=0===i?7:i;if(r<a)return 1;const s=r-a;return 2+Math.floor(s/7)}get YYYY(){if("year"in this.value)return this.year().toString()}get YY(){if("year"in this.value)return nu(this.year().toString(),2,2)}get MMMM(){if("month"in this.value)return bbn.dt.locales.monthsLong[this.month()-1]}get MMM(){if("month"in this.value)return bbn.dt.locales.monthsShort[this.month()-1]}get MM(){if("month"in this.value){const e=parseInt(this.month().toString());return e<10?"0"+e.toString():e.toString()}}get M(){if("month"in this.value)return this.month().toString()}get EE(){if("dayOfWeek"in this.value)return this.value.dayOfWeek.toString()}get DD(){if("day"in this.value){const e=parseInt(this.day().toString());return e<10?"0"+e.toString():e.toString()}}get d(){if("day"in this.value)return this.day().toString()}get dddd(){if("dayOfWeek"in this.value)return this.getWeekday(this.value.dayOfWeek,"long")}get ddd(){if("dayOfWeek"in this.value)return this.getWeekday(this.value.dayOfWeek,"short")}get D(){if("day"in this.value)return this.day().toString()}get HH(){if("hour"in this.value){const e=parseInt(this.hour().toString());return e<10?"0"+e.toString():e.toString()}if(this.hasFullDate)return this.defaultValue.hour.toString().padStart(2,"0")}get H(){return"hour"in this.value?this.hour().toString():this.hasFullDate?"0":void 0}get II(){if("minute"in this.value){const e=parseInt(this.minute().toString());return e<10?"0"+e.toString():e.toString()}if(this.hasFullDate)return this.defaultValue.minute.toString().padStart(2,"0")}get mm(){if("minute"in this.value){const e=parseInt(this.minute().toString());return e<10?"0"+e.toString():e.toString()}if(this.hasFullDate)return this.defaultValue.minute.toString().padStart(2,"0")}get I(){return"minute"in this.value?this.minute().toString():this.hasFullDate?"0":void 0}get SS(){if("second"in this.value){const e=parseInt(this.second().toString());return e<10?"0"+e.toString():e.toString()}if(this.hasFullDate)return this.defaultValue.second.toString().padStart(2,"0")}get SSS(){if("millisecond"in this.value){const e=parseInt(this.millisecond().toString());return e<10?"00"+e.toString():e<100?"0"+e.toString():e.toString()}if(this.hasFullDate)return this.defaultValue.millisecond.toString().padStart(3,"0")}get S(){return"second"in this.value?this.second().toString():this.hasFullDate?"0":void 0}get WW(){if("weekOfYear"in this.value)return this.value.weekOfYear.toString().padStart(2,"0")}get W(){if("weekOfYear"in this.value)return this.value.weekOfYear.toString()}get Z(){if("zoned"===this.kind){return this.value.offset}}get ZZ(){if("zoned"===this.kind){return this.value.offset.replace(":","")}}unix(e=!1){if("number"==typeof e){return new(0,this.constructor)(new Date(e))}return e?this.toEpochMs():Math.floor(this.toEpochMs()/1e3)}format(e="YYYY-MM-DD HH:II:SS"){let n="";if(e){const t=new RegExp("([|]|"+Object.keys(rd).join("|")+")","g");let r=0;mu(e.split(t),e=>{if("["!==e)if("]"!==e)if(r>0)n+=e;else if(e in rd)if(e in this&&id(this[e]))n+=this[e];else{n+=this[od[rd[e]]]||""}else n+=e;else r--;else r++})}return n}calendar(e){const n=new this.constructor,t=this.startOf("day"),r=n.startOf("day"),o=t.diff(r,"day"),i={numeric:"auto"};e&&(i.style="short");const a=new Intl.RelativeTimeFormat(bbn.env.lang,i);let s="",m=[],l="";if(o>=-1&&o<=1)m=a.formatToParts(o,"day");else if(o>=-6&&o<-1)l=this.dddd+", ",m=a.formatToParts(o,"day");else{if(!(o<=6&&o>1))return this.fdate();l=this.dddd,m=[]}return bbn.fn.each(m,e=>{s+=e.value}),`${l}${s} ${this.ftime()}`}matchFormat(e,n){try{return this.parse(e,n),!0}catch(e){return!1}}getWeekday(e,n="long",t){if(!n){const n=this.getWeekday(e,"narrow",t),r=this.getWeekday(e,"short",t),o=this.getWeekday(e,"long",t);return{letter:n,abbr:r,full:o,long:o,short:r,narrow:n}}let r;if("letter"===n)r="narrow";else if("abbr"===n)r="short";else if("full"===n)r="long";else{if(!["long","short","narrow"].includes(n))throw new Error("Invalid mode for getWeekDay: "+n+'. Allowed values are "long", "short", "narrow", "letter", "abbr", "full".');r=n}return new Date(2023,0,1+e).toLocaleDateString([t||bbn.env.lang,...navigator.languages],{weekday:r})}setWeekday(e,n=!1,t){let r;if("string"==typeof e&&(e=this.getWeekdayIndex(e,t)),"number"!=typeof e)throw new TypeError("weekday must be a number (0–6) or a string");if(e<0||e>6)throw new RangeError("weekday number must be between 0 and 6");r=e;const o=this.weekday();let i;return n?(i=(o-r+7)%7,0===i&&(i=7),i=-i):(i=(r-o+7)%7,0===i&&(i=7)),this.add(i,"d")}diff(e,n="",t=!1){let r;if(e instanceof gd)r=e.toEpochMs();else if(e instanceof jl.ZonedDateTime||e instanceof jl.PlainDateTime||e instanceof jl.PlainDate||e instanceof jl.PlainTime||e instanceof jl.PlainYearMonth||e instanceof jl.PlainMonthDay){r={kind:this.kind,value:e}.toEpochMs()}else{if("string"!=typeof e&&"number"!=typeof e)throw bbn.fn.log("DATE??",e),new TypeError("Unsupported date argument for diff");r=this.parse(String(e),"").toEpochMs()}let o=this.toEpochMs()-r;if(t&&(o=Math.abs(o)),!n)return o;const i=rd[n]||n,a=Fu(td,e=>e[0]===i);if(!a)throw new Error("Invalid unit for diff: "+n);const[,,s]=a,m=o/s;return m<0?Math.ceil(m):Math.floor(m)}guessUnit(e){const n=Math.abs(e);for(const[e,t,r]of td)if(n>=r||"millisecond"===t)return e;return null}fromNow(e=""){gd.nowForKind(this.kind);const n=bbn.dt(void 0,null,this.kind),t=this.diff(n),r=rd[e]||this.guessUnit(t);if(!r)throw new Error("Cannot guess unit for fromNow");let o=this.diff(n,r);const i=new Intl.RelativeTimeFormat([bbn.env.lang,...navigator.languages],{numeric:"auto"}),a=Fu(td,e=>e[0]===r);if(!a)throw new Error("Invalid unit for fromNow: "+e);let[,s]=a;return"millisecond"===s&&(s="second",o=Math.round(o/1e3)),bbn.fn.log("FROM NOW",o,s,i),i.format(o,s)}from(e,n=""){const t=this.diff(e),r=rd[n]||this.guessUnit(t);if(!r)throw new Error("Cannot guess unit for fromDate");const o=this.diff(e,r),i=r;return o>0?Yl("%d %s before",o,i):o<0?Yl("%d %s after",-o,i):Yl("The same %s",i)}startOf(e="d"){var n,t;const r=rd[e]||e;if(!r)throw new Error("Invalid unit for startOf: "+e);let o=this.value;const i=e=>{const n={};return"hour"in e?(Object.assign(n,{hour:0,minute:0,second:0,millisecond:0,microsecond:0,nanosecond:0}),e.with(n)):e};switch(r){case"y":if(!("year"in o))throw new Error('startOf("y") only valid for year-based types');o=i(o.with({month:1,day:1}));break;case"m":if(!("month"in o))throw new Error('startOf("m") only valid for month-based types');o=i(o.with({day:1}));break;case"w":{const e="toPlainDate"in o?o.toPlainDate():o,r=e.dayOfWeek-1,a=e.subtract({days:r});o="toPlainDateTime"in o?i(a.toPlainDateTime(null!==(t=null===(n=o.toPlainTime)||void 0===n?void 0:n.call(o))&&void 0!==t?t:jl.PlainTime.from("00:00"))):a;break}case"d":o=i(o);break;case"h":o=o.with({minute:0,second:0,millisecond:0,microsecond:0,nanosecond:0});break;case"i":o=o.with({second:0,millisecond:0,microsecond:0,nanosecond:0});break;case"s":o=o.with({millisecond:0,microsecond:0,nanosecond:0});break;default:throw new Error("Invalid unit for startOf: "+e)}return this.withValue(o)}endOf(e="d"){const n=jl.Now.timeZoneId(),t=rd[e]||e;let r,o=(()=>{switch(this.kind){case"zoned":return this.value;case"dateTime":{const e=`${this.value.toString()}[${n}]`;return jl.ZonedDateTime.from(e)}case"date":{const e=`${this.value.toString()}T00:00[${n}]`;return jl.ZonedDateTime.from(e)}case"time":{const e=this.value,t=`${jl.Now.plainDateISO().toString()}T${e.toString()}[${n}]`;return jl.ZonedDateTime.from(t)}case"yearMonth":{const e=`${this.value.toPlainDate({day:1}).toString()}T00:00[${n}]`;return jl.ZonedDateTime.from(e)}case"monthDay":{const e=this.value,t=jl.Now.plainDateISO(),r=`${e.toPlainDate({year:t.year}).toString()}T00:00[${n}]`;return jl.ZonedDateTime.from(r)}default:throw new Error("Unsupported kind in endOf")}})(this.value);switch(t){case"y":r=o.with({month:1,day:1,hour:0,minute:0,second:0,millisecond:0,microsecond:0,nanosecond:0}).add({years:1});break;case"m":r=o.with({day:1,hour:0,minute:0,second:0,millisecond:0,microsecond:0,nanosecond:0}).add({months:1});break;case"w":{const e=-(o.toPlainDate().dayOfWeek-1);r=o.add({days:e}).with({hour:0,minute:0,second:0,millisecond:0,microsecond:0,nanosecond:0}).add({weeks:1});break}case"d":r=o.with({hour:0,minute:0,second:0,millisecond:0,microsecond:0,nanosecond:0}).add({days:1});break;case"h":r=o.with({minute:0,second:0,millisecond:0,microsecond:0,nanosecond:0}).add({hours:1});break;case"i":case"n":case"min":r=o.with({second:0,millisecond:0,microsecond:0,nanosecond:0}).add({minutes:1});break;case"s":r=o.with({millisecond:0,microsecond:0,nanosecond:0}).add({seconds:1});break;default:throw new Error("Invalid unit for endOf: "+e)}const i=r.subtract({milliseconds:1});switch(this.kind){case"zoned":return this.withValue(i);case"dateTime":return this.withValue(i.toPlainDateTime());case"date":return this.withValue(i.toPlainDate());case"time":return this.withValue(i.toPlainTime());case"yearMonth":{const e=i.toPlainDate();return this.withValue(new jl.PlainYearMonth(e.year,e.month))}case"monthDay":{const e=i.toPlainDate();return this.withValue(new jl.PlainMonthDay(e.month,e.day))}default:throw new Error("Unsupported kind in endOf")}}clone(){return this.withValue(this.value)}isLeapYear(){if(this.isValid){const e=this.year();return e%4==0&&e%100!=0||e%400==0}return!1}daysInMonth(){if(this.isValid)switch(this.month()){case 2:return this.year()%4==0?29:28;case 4:case 6:case 9:case 11:return 30;default:return 31}}valueOf(){return this.unix(!0)}}fd=new WeakMap,gd.systemTimeZoneId=jl.Now.timeZoneId();class pd extends gd{constructor(e,n,t,r,o,i,a){let s;if(e)if(void 0===n)if(e instanceof jl.PlainDateTime)s=e;else if(e instanceof Date)s=new jl.PlainDateTime(e.getFullYear(),e.getMonth()+1,e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds());else{if("number"!=typeof e)throw new Error("Invalid value for bbnDtDateTime");s=jl.Instant.fromEpochMilliseconds(e).toZonedDateTimeISO(gd.systemTimeZoneId).toPlainDateTime()}else s=new jl.PlainDateTime(e,n,t||1,r||0,o||0,i||0,a||0);else s=jl.PlainDateTime.from(jl.Now.plainDateTimeISO());super(s),this.kind="dateTime"}format(e){return[!0,"long","full"].includes(e)&&(e=Fu(bbn.dt.locales.date,{year:"numeric",month:"long",day:"long",weekday:"long",hour:"2-digit",minute:"2-digit",second:void 0}).pattern),e||(e=Fu(bbn.dt.locales.date,{year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"2-digit",second:void 0}).pattern),gd.prototype.format.call(this,e)}fdate(e=!1,n=!1,t=!1){if(!this.value)return"";const r=new Date(this.year(),this.month()-1,this.day(),this.hour(),this.minute(),this.second()),o=Object.assign(Object.assign({year:"numeric",month:e?"long":"2-digit",day:"2-digit"},t?{weekday:e?"long":"short"}:{}),n?{hour:e?"2-digit":"numeric",minute:"2-digit"}:{});return new Intl.DateTimeFormat([bbn.env.lang,...navigator.languages],o).format(r)}ftime(e=!1){if(!this.value)return"";const n=new Date(2e3,1,1,this.hour(),this.minute(),this.second()),t={hour:"2-digit",minute:"2-digit"};e&&(t.second="2-digit");return new Intl.DateTimeFormat([bbn.env.lang,...navigator.languages],t).format(n)}}class bd extends gd{constructor(e,n,t){let r;if(e)if(void 0===n)if(e instanceof jl.PlainDate)r=e;else if(e instanceof Date)r=new jl.PlainDate(e.getFullYear(),e.getMonth()+1,e.getDate());else{if("number"!=typeof e)throw new Error("Invalid value for bbnDtDateTime");{const n=new Date(e);r=new jl.PlainDate(n.getFullYear(),n.getMonth()+1,n.getDate())}}else r=new jl.PlainDate(e,n,t||1);else r=jl.PlainDate.from(jl.Now.plainDateISO());super(r),this.kind="date"}compareSameKind(e){const n=jl.PlainDate.compare(this.value,e.value);return n<0?-1:n>0?1:0}format(e){return!0===e&&(e=Fu(bbn.dt.locales.date,{year:"numeric",month:"long",day:"long",weekday:"long"}).pattern),e||(e=Fu(bbn.dt.locales.date,{year:"numeric",month:"numeric",day:"numeric"}).pattern),gd.prototype.format.call(this,e)}ftime(e=!1){return"00:00"+(e?":00":"")}fdate(e=!1,n=!1){const t=new Date(this.year(),this.month()-1,this.day()),r=Object.assign({year:"numeric",month:e?"long":"numeric",day:"numeric"},n?{weekday:e?"long":"short"}:{});return new Intl.DateTimeFormat([bbn.env.lang,...navigator.languages],r).format(t)}}class wd extends gd{constructor(e,n,t,r,o,i,a,s){let m;if(e)if(void 0===n)if(e instanceof jl.ZonedDateTime)m=e;else if(e instanceof Date)m=function(e,n=!1,t=jl.Now.timeZoneId()){const r=jl.Instant.fromEpochMilliseconds(e.getTime()).toZonedDateTimeISO(t);return n?r:r.toPlainDateTime()}(e,!0);else{if("number"!=typeof e)throw new Error("Invalid value for bbnDtZoned");m=jl.Instant.fromEpochMilliseconds(e).toZonedDateTimeISO(Intl.DateTimeFormat().resolvedOptions().timeZone)}else{m=new jl.PlainDateTime(n,t,r||1,o||0,i||0,a||0,s||0).toZonedDateTime(e||jl.Now.timeZoneId())}else m=jl.Now.zonedDateTimeISO(Intl.DateTimeFormat().resolvedOptions().timeZone);super(m),this.kind="zoned"}fdate(e=!1,n=!1,t=!1){if(!this.value)return"";const r=new Date(this.year(),this.month()-1,this.day(),this.hour(),this.minute(),this.second()),o=Object.assign(Object.assign({year:"numeric",month:e?"long":"numeric",day:"numeric"},t?{weekday:e?"long":"short"}:{}),n?{hour:e?"2-digit":"numeric",minute:"2-digit"}:{});return new Intl.DateTimeFormat([bbn.env.lang,...navigator.languages],o).format(r)}ftime(e=!1){if(!this.value)return"";const n=new Date(2e3,1,1,this.hour(),this.minute(),this.second()),t={hour:"2-digit",minute:"2-digit"};e&&(t.second="2-digit");return new Intl.DateTimeFormat([bbn.env.lang,...navigator.languages],t).format(n)}}class vd extends gd{constructor(e,n){let t;if(e)if(void 0===n)if(e instanceof jl.PlainYearMonth)t=e;else if(e instanceof Date)t=new jl.PlainYearMonth(e.getFullYear(),e.getMonth()+1);else{if("number"!=typeof n)throw new Error("Invalid value for bbnDtDateTime");{const e=new Date(n);t=new jl.PlainYearMonth(e.getFullYear(),e.getMonth()+1)}}else t=new jl.PlainYearMonth(e,n);else{const e=new Date;t=new jl.PlainYearMonth(e.getFullYear(),e.getMonth()+1)}super(t),this.kind="yearMonth"}format(e){return!0===e&&(e=Fu(bbn.dt.locales.date,e=>"numeric"===e.year&&"long"===e.month&&!("day"in e)).pattern),e||(e=Fu(bbn.dt.locales.date,e=>"numeric"===e.year&&"numeric"===e.month&&!("day"in e)).pattern),gd.prototype.format.call(this,e)}fdate(e=!1,n=!1,t=!1){if(!this.value)return"";const r=new Date(this.year(),this.month()-1),o={year:"numeric",month:e?"long":"numeric"};return new Intl.DateTimeFormat([bbn.env.lang,...navigator.languages],o).format(r)}}class Ed extends gd{constructor(e,n){let t;if(e)if(void 0===n)if(e instanceof jl.PlainMonthDay)t=e;else if(e instanceof Date)t=new jl.PlainMonthDay(e.getMonth()+1,e.getDate());else{if("number"!=typeof e)throw new Error("Invalid value for bbnDtDateTime");{const n=new Date(e);t=new jl.PlainMonthDay(n.getMonth()+1,n.getDate())}}else t=new jl.PlainMonthDay(e,n);else{const e=new Date;t=new jl.PlainMonthDay(e.getMonth()+1,e.getDate())}super(t),this.kind="monthDay"}fdate(e=!1,n=!1,t=!1){if(!this.value)return"";const r=new Date(2e3,this.month()-1,this.day()),o={month:e?"long":"numeric",day:"numeric"};return new Intl.DateTimeFormat([bbn.env.lang,...navigator.languages],o).format(r)}}function Td(e,n,t){let r="";const o=e.some(e=>"dayPeriod"===e.type),i=o||"h12"===n||"h11"===n,a=!!t.weekday,s="short"===t.month||"long"===t.month,m="numeric"===t.year&&"numeric"===t.month&&"numeric"===t.day&&!a&&!s;for(const n of e)switch(n.type){case"year":"2-digit"===t.year?r+="YY":r+="YYYY";break;case"month":if("short"===t.month){r+="MMM";break}if("long"===t.month){r+="MMMM";break}if(m){r+="M";break}/^\d+$/.test(n.value)?r+=2===n.value.length?"MM":"M":r+=n.value.length>3?"MMMM":"MMM";break;case"day":if(m){r+="D";break}r+=2===n.value.length?"DD":"D";break;case"weekday":"short"===t.weekday||"narrow"===t.weekday?r+="ddd":"long"===t.weekday?r+="dddd":r+=n.value.length>3?"dddd":"ddd";break;case"hour":r+=i?2===n.value.length?"hh":"h":2===n.value.length?"HH":"H";break;case"minute":r+="II";break;case"second":r+="SS";break;case"dayPeriod":r+="A";break;case"timeZoneName":r+="z";break;case"literal":if(!n.value)break;if(/[A-Za-zÀ-ÖØ-öø-ÿ]/.test(n.value)){r+=`[${n.value.replace(/]/g,"\\]")}]`}else r+=n.value;break;default:r+=n.value}return r}const Sd=()=>{if(Object.keys(bbn.dt.locales).length)return;const e=[bbn.env.lang,...navigator.languages],n=new Intl.DateTimeFormat(e,{month:"long"}),t=new Intl.DateTimeFormat(e,{month:"short"}),r=new Intl.DateTimeFormat(e,{weekday:"long"}),o=new Intl.DateTimeFormat(e,{weekday:"short"}),i=new Intl.DateTimeFormat(e,{dateStyle:"short",timeStyle:"short"}),a=new Intl.DateTimeFormat(e,{dateStyle:"long",timeStyle:"long"}),s=new Intl.DateTimeFormat(e,{year:"numeric",month:"numeric",day:"numeric"}),m=new Intl.RelativeTimeFormat(e,{numeric:"auto"}),l=new Intl.Locale(e[0]),u=[],d=[];for(let e=0;e<12;e++){const r=new Date(2020,e,1);u.push(n.format(r)),d.push(t.format(r))}const c=new Date(2020,1,2),h=[],f=[];for(let e=0;e<7;e++){const n=new Date(c.getTime()+864e5*e);h.push(r.format(n)),f.push(o.format(n))}const{date:M,time:y,datetime:g}=(e=>{e||(e=[bbn.env.lang,...navigator.languages]);const n=new Date(Date.UTC(2e3,0,2,13,45,30)),t=[],r=[],o=[],i=new Set,a=new Set,s=new Set,m=[{year:"numeric",month:"2-digit",day:"2-digit"},{year:"numeric",month:"numeric",day:"numeric"},{year:"numeric",month:"short",day:"numeric"},{year:"numeric",month:"long",day:"numeric"},{weekday:"short",year:"numeric",month:"short",day:"numeric"},{weekday:"long",year:"numeric",month:"long",day:"numeric"},{year:"numeric",month:"numeric"},{year:"numeric",month:"2-digit"},{year:"numeric",month:"short"},{year:"numeric",month:"long"},{month:"numeric",day:"numeric"},{month:"2-digit",day:"2-digit"},{month:"short",day:"numeric"},{month:"long",day:"numeric"}],l=[];for(const r of m){const o=new Intl.DateTimeFormat(e,r),a=Td(o.formatToParts(n),o.resolvedOptions().hourCycle,r);i.has(a)||(i.add(a),t.push({pattern:a,sample:o.format(n),options:r})),r.year&&r.month&&r.day&&l.push(r)}const u=[{hour:"numeric"},{hour:"2-digit",minute:"2-digit"},{hour:"2-digit",minute:"2-digit",second:"2-digit"},{hour:"2-digit",minute:"2-digit",timeZoneName:"short"},{hour:"2-digit",minute:"2-digit",second:"2-digit",timeZoneName:"short"},{hour:"2-digit",minute:"2-digit",timeZoneName:"long"}];for(const t of u){const o=new Intl.DateTimeFormat(e,t),i=Td(o.formatToParts(n),o.resolvedOptions().hourCycle,t);a.has(i)||(a.add(i),r.push({pattern:i,sample:o.format(n),options:t}))}for(const t of l)for(const r of u){const i=Object.assign(Object.assign({},t),r),a=new Intl.DateTimeFormat(e,i),m=Td(a.formatToParts(n),a.resolvedOptions().hourCycle,i);s.has(m)||(s.add(m),o.push({pattern:m,sample:a.format(n),options:i}))}return{date:t,time:r,datetime:o}})(e),p=l.getWeekInfo?l.getWeekInfo():{firstDay:1};lu(bbn.dt.locales,{formatters:{short:i,long:a,numeric:s,relative:m},firstDayOfWeek:p.firstDay,monthsLong:u,monthsShort:d,weekdaysLong:h,weekdaysShort:f,locale:l,date:M,time:y,datetime:g})};class Dd extends gd{constructor(e,n,t,r){let o;if(e)if(void 0===e)if(e instanceof jl.PlainTime)o=e;else if(e instanceof Date)o=new jl.PlainTime(e.getHours(),e.getMinutes(),e.getSeconds(),1e6*e.getMilliseconds());else{if("number"!=typeof e)throw new Error("Invalid value for bbnDtDateTime");if(void 0!==n)o=new jl.PlainTime(e,n,t||0,r||0);else{const n=new Date(e);o=new jl.PlainTime(n.getHours(),n.getMinutes(),n.getSeconds(),1e6*n.getMilliseconds())}}else o=new jl.PlainTime(e,n||0,t||0,r||0);else{const e=new Date;o=new jl.PlainTime(e.getHours(),e.getMinutes(),e.getSeconds(),1e6*e.getMilliseconds())}super(o),this.kind="time"}ftime(e=!1){if(!this.value)return"";const n=new Date(2e3,1,1,this.hour(),this.minute(),this.second()),t={hour:"2-digit",minute:"2-digit"};e&&(t.second="2-digit");return new Intl.DateTimeFormat([bbn.env.lang,...navigator.languages],t).format(n)}}const zd=function(e,n){try{return n?e.toLocaleLowerCase(n):e.toLowerCase()}catch(n){return e.toLowerCase()}};function Ad(e,n,t="auto",r,o){var i,a,s,m,l,u,d;Sd();const c=jl;if(!c)throw new Error("Temporal API is required (load @js-temporal/polyfill)");let h=!0;o||(o=(null===(i=null===bbn||void 0===bbn?void 0:bbn.dt)||void 0===i?void 0:i.locales)||{});const f={monthsLong:null!==(a=null==o?void 0:o.monthsLong)&&void 0!==a?a:bbn.dt.locales.monthsLong,monthsShort:null!==(s=null==o?void 0:o.monthsShort)&&void 0!==s?s:bbn.dt.locales.monthsShort,weekdaysLong:null!==(m=null==o?void 0:o.weekdaysLong)&&void 0!==m?m:bbn.dt.locales.weekdaysLong,weekdaysShort:null!==(l=null==o?void 0:o.weekdaysShort)&&void 0!==l?l:bbn.dt.locales.weekdaysShort},M=(null===bbn||void 0===bbn?void 0:bbn.env)&&(null===(u=bbn.env)||void 0===u?void 0:u.lang)||(null===bbn||void 0===bbn?void 0:bbn.dt)&&(null===(d=bbn.dt)||void 0===d?void 0:d.locale)||Intl.DateTimeFormat().resolvedOptions().locale,y=e=>e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");function g(n,t="auto"){var o;const i=new pd,a={year:i.year(),month:1,day:1,hour:0,minute:0,second:0,ms:0,hasYear:!1,hasMonth:!1,hasDay:!1,hasHour:!1,hasMinute:!1,hasSecond:!1,hasMs:!1},s="auto"===t,m="zoned"===t.toLowerCase(),l="datetime"===t.toLowerCase(),u="date"===t.toLowerCase(),d="time"===t.toLowerCase(),g="yearmonth"===t.toLowerCase(),p="monthday"===t.toLowerCase(),b=[{token:"YYYY",regex:"\\d{4}",apply:(e,n)=>{n.year=parseInt(e,10),n.hasYear=!0}},{token:"YY",regex:"\\d{2}",apply:(e,n)=>{const t=parseInt(e,10);n.year=t>=70?1900+t:2e3+t,n.hasYear=!0}},{token:"Y",regex:"[+-]?\\d{1,6}",apply:(e,n)=>{n.year=parseInt(e,10),n.hasYear=!0}},{token:"MMMM",regex:"[^\\d\\s]+",apply:(e,n)=>{const t=zd(e,M),r=f.monthsLong.findIndex(e=>zd(e,M)===t);if(-1===r)throw new Error("Invalid month name: "+e);n.month=r+1,n.hasMonth=!0}},{token:"MMM",regex:"[^\\d\\s]+",apply:(e,n)=>{const t=zd(e,M),r=f.monthsShort.findIndex(e=>zd(e,M)===t);if(-1===r)throw new Error("Invalid short month name: "+e);n.month=r+1,n.hasMonth=!0}},{token:"MM",regex:"\\d{2}",apply:(e,n)=>{const t=parseInt(e,10);if(t<1||t>12)throw new Error("Invalid month: "+t);n.month=t,n.hasMonth=!0}},{token:"mm",regex:"\\d{2}",apply:(e,n)=>{const t=parseInt(e,10);if(t<0||t>59)throw new Error("Invalid minute: "+t);n.minute=t,n.hasMinute=!0}},{token:"M",regex:"\\d{1,2}",apply:(e,n)=>{const t=parseInt(e,10);if(t<1||t>12)throw new Error("Invalid month: "+t);n.month=t,n.hasMonth=!0}},{token:"m",regex:"\\d{2}",apply:(e,n)=>{const t=parseInt(e,10);if(t<1||t>12)throw new Error("Invalid month: "+t);n.month=t,n.hasMonth=!0}},{token:"DD",regex:"\\d{2}",apply:(e,n)=>{const t=parseInt(e,10);if(t<1||t>31)throw new Error("Invalid day of month: "+t);n.day=t,n.hasDay=!0}},{token:"D",regex:"\\d{1,2}",apply:(e,n)=>{const t=parseInt(e,10);if(t<1||t>31)throw new Error("Invalid day of month: "+t);n.day=t,n.hasDay=!0}},{token:"d",regex:"\\d{2}",apply:(e,n)=>{const t=parseInt(e,10);if(t<1||t>31)throw new Error("Invalid day of month: "+t);n.day=t,n.hasDay=!0}},{token:"dddd",regex:"[^\\d\\s]+",apply:(e,n)=>{const t=zd(e,M),r=f.weekdaysLong.findIndex(e=>zd(e,M)===t);if(-1===r)throw new Error("Invalid weekday name: "+e);n.weekday=r}},{token:"ddd",regex:"[^\\d\\s]+",apply:(e,n)=>{const t=zd(e,M),r=f.weekdaysShort.findIndex(e=>zd(e,M)===t);if(-1===r)throw new Error("Invalid short weekday name: "+e);n.weekday=r}},{token:"EE",regex:"\\d{1}",apply:(e,n)=>{const t=parseInt(e,10);if(t<0||t>7)throw new Error("Invalid weekday number: "+t);n.weekday=t}},{token:"hh",regex:"\\d{2}",apply:(e,n)=>{const t=parseInt(e,10);if(t<1||t>12)throw new Error("Invalid 12-hour clock hour: "+t);n.hour=t,n.hasHour=!0,n.uses12Hour=!0}},{token:"HH",regex:"\\d{2}",apply:(e,n)=>{const t=parseInt(e,10);if(t<0||t>23)throw new Error("Invalid hour: "+t);n.hour=t,n.hasHour=!0}},{token:"H",regex:"\\d{1,2}",apply:(e,n)=>{const t=parseInt(e,10);if(t<0||t>23)throw new Error("Invalid hour: "+t);n.hour=t,n.hasHour=!0}},{token:"h",regex:"\\d{2}",apply:(e,n)=>{const t=parseInt(e,10);if(t<0||t>23)throw new Error("Invalid hour: "+t);n.hour=t,n.hasHour=!0}},{token:"II",regex:"\\d{2}",apply:(e,n)=>{const t=parseInt(e,10);if(t<0||t>59)throw new Error("Invalid minute: "+t);n.minute=t,n.hasMinute=!0}},{token:"I",regex:"\\d{1,2}",apply:(e,n)=>{const t=parseInt(e,10);if(t<0||t>59)throw new Error("Invalid minute: "+t);n.minute=t,n.hasMinute=!0}},{token:"i",regex:"\\d{2}",apply:(e,n)=>{const t=parseInt(e,10);if(t<0||t>59)throw new Error("Invalid minute: "+t);n.minute=t,n.hasMinute=!0}},{token:"SS",regex:"\\d{2}",apply:(e,n)=>{const t=parseInt(e,10);if(t<0||t>59)throw new Error("Invalid second: "+t);n.second=t,n.hasSecond=!0}},{token:"S",regex:"\\d{1,2}",apply:(e,n)=>{const t=parseInt(e,10);if(t<0||t>59)throw new Error("Invalid second: "+t);n.second=t,n.hasSecond=!0}},{token:"ss",regex:"\\d{2}",apply:(e,n)=>{const t=parseInt(e,10);if(t<0||t>59)throw new Error("Invalid second: "+t);n.second=t,n.hasSecond=!0}},{token:"s",regex:"\\d{2}",apply:(e,n)=>{const t=parseInt(e,10);if(t<0||t>59)throw new Error("Invalid second: "+t);n.second=t,n.hasSecond=!0}},{token:"ms",regex:"\\d{1,3}",apply:(e,n)=>{const t=parseInt(e,10);if(t<0||t>999)throw new Error("Invalid millisecond: "+t);n.ms=t,n.hasMs=!0}},{token:"WWWW",regex:"\\d{1,2}",apply:(e,n)=>{const t=parseInt(e,10);if(t<1||t>53)throw new Error("Invalid week number: "+t);n.week=t}},{token:"WWW",regex:"\\d{1,2}",apply:(e,n)=>{const t=parseInt(e,10);if(t<1||t>53)throw new Error("Invalid week number: "+t);n.week=t}},{token:"WW",regex:"\\d{1,2}",apply:(e,n)=>{const t=parseInt(e,10);if(t<1||t>53)throw new Error("Invalid week number: "+t);n.week=t}},{token:"W",regex:"\\d{1,2}",apply:(e,n)=>{const t=parseInt(e,10);if(t<1||t>53)throw new Error("Invalid week number: "+t);n.week=t}},{token:"ZZ",regex:"(?:Z?[+-]\\d{2}\\d{2})",apply:(e,n)=>{if("Z"===e||"z"===e)return void(n.offsetMinutes=0);const t="-"===e[0]?-1:1,r=e.slice(1),o=parseInt(r.slice(0,2),10),i=parseInt(r.slice(2),10);if(o<0||o>23||i<0||i>59)throw new Error("Invalid timezone offset: "+e);n.offsetMinutes=t*(60*o+i)}},{token:"Z",regex:"(?:Z?[+-]\\d{2}\\:{1}\\d{2})",apply:(e,n)=>{if("Z"===e||"z"===e)return void(n.offsetMinutes=0);const t="-"===e[0]?-1:1,r=e.slice(1),[o,i]=r.split(":");let a=parseInt(o,10),s=parseInt(i,10);if(a<0||a>23||s<0||s>59)throw new Error("Invalid timezone offset: "+e);n.offsetMinutes=t*(60*a+s)}},{token:"z",regex:"[A-Za-z_\\/]+",apply:(e,n)=>{n.timeZone=e}},{token:"A",regex:"(?:AM|PM|am|pm)",apply:(e,n)=>{n.isPM=/pm/i.test(e),n.hasAmPm=!0}},{token:"a",regex:"(?:AM|PM|am|pm)",apply:(e,n)=>{n.isPM=/pm/i.test(e),n.hasAmPm=!0}}],w=[...b].sort((e,n)=>n.token.length-e.token.length);let v="";const E=[];let T=0,S=0;for(;T<n.length;){if("["===n[T]){let e=T+1,t="";for(;e<n.length&&"]"!==n[e];)t+=n[e],e++;if(e<n.length&&"]"===n[e]){const n=t.replace(/\\]/g,"]");v+=y(n),T=e+1;continue}}let e=null;for(const t of w)if(n.startsWith(t.token,T)){e=t;break}e?(v+=`(${e.regex})`,S=v.length,e.apply?E.push(n=>e.apply(n,a)):E.push(()=>{}),T+=e.token.length):(v+=y(n[T]),T+=1)}const D=new RegExp("^"+bbn.fn.substr(v,0,S));let z=D.exec(e);if(!z){if(!r)throw new Error(`Date string "${e}" does not match format "${n}"`);{const t=new pd(i.year(),1,1,0,0,0,0);e=t.format(n),h=!1,z=D.exec(e)}}for(let e=1;e<z.length;e++){const n=z[e],t=E[e-1];null!=n&&t&&t(n)}if(a.uses12Hour){if(!a.hasAmPm)throw new Error("AM/PM marker (A or a) is required with 12-hour format (hh)");let e=a.hour;a.isPM?e<12&&(e+=12):12===e&&(e=0),a.hour=e}const A=a.hasYear||a.hasMonth||a.hasDay,H=a.hasYear&&a.hasMonth&&a.hasDay,k=a.hasYear&&a.hasMonth&&!a.hasDay,I=!a.hasYear&&a.hasMonth&&a.hasDay,_=a.hasHour||a.hasMinute||a.hasSecond||a.hasMs,C=null!=a.timeZone||null!=a.offsetMinutes;let G;if(m||C&&s){let e;try{e=new c.PlainDateTime(a.year,a.month,a.day,a.hour,a.minute,a.second,1e6*a.ms)}catch(e){throw new Error("Invalid date/time components")}if(a.timeZone){const n=c.TimeZone.from(a.timeZone),t=e.toZonedDateTime(n);G=new wd(t)}else{const e=Date.UTC(a.year,a.month-1,a.day,a.hour,a.minute,a.second,a.ms)-6e4*(null!==(o=a.offsetMinutes)&&void 0!==o?o:0);G=new wd(c.Instant.fromEpochMilliseconds(e).toZonedDateTimeISO(c.Now.timeZoneId()))}}else if(l||s&&(h||A&&_)){if(!H&&!h)throw new Error("PlainDateTime requires year, month and day");const e=new c.PlainDateTime(a.year,a.month,a.day,a.hour,a.minute,a.second,1e6*a.ms);G=new pd(e)}else if(u||g||p||s&&A&&!_)if(u||H&&s){const e=new c.PlainDate(a.year,a.month,a.day);G=new bd(e)}else if(g||k&&s){const e=new c.PlainYearMonth(a.year,a.month);G=new vd(e)}else if(p||I&&s){const e=new c.PlainMonthDay(a.month,a.day,1972);G=new Ed(e)}else{if(!s||!a.hasYear)throw new Error("Not enough date components for a known Temporal type");{const e=new c.PlainDate(a.year,1,1);G=new bd(e)}}else{if(!(d||s&&!A&&_))throw new Error("No date or time information found in input");{const e=new c.PlainTime(a.hour,a.minute,a.second,1e6*a.ms);G=new Dd(e)}}return G.setValid(h),G}if(Array.isArray(n)){let e=null;for(const r of n)try{return g(r,t)}catch(n){e=n}throw null!=e?e:new Error("No format matched")}return g(n,t)}const Hd=["YYYY-MM-DD HH:II:SS.ms","YYYY-MM-DD HH:II:SS","YYYY-MM-DD HH:II:SS[ GMT]Z","YYYY-MM-DD HH:II","YYYY-MM-DDTHH:II:SS.msZ","YYYY-MM-DDTHH:II:SSZ","YYYY-MM-DDTHH:II:SS","YYYY-MM-DDTHH:II","ddd[, ]DD MMM YYYY HH:II:SS[ GMT]","ddd MMM DD YYYY HH:II:SS[ GMT]Z","ddd MMM DD YYYY HH:II:SS","D MMM","D MMMM","D/M","YYYY-MM-DD","YYYY-MM","HH:II:SS","HH:II"];function kd(e,n,t){const r=e.trim();if(!r)return null;Sd();const o=e=>{for(const n of e)try{return Ad(r,n),n}catch(e){}return null};if(n){return o(Array.isArray(n)?n:[n])}const i=new Set,a=Hd.filter(e=>!i.has(e)&&(i.add(e),!0)),s=[...bbn.dt.locales.datetime.map(e=>e.pattern),...bbn.dt.locales.date.map(e=>e.pattern),...bbn.dt.locales.time.map(e=>e.pattern)].filter(e=>!i.has(e)&&(i.add(e),!0)),m=o([...a,...s]);return m||null}const Id=(e,n=null,t="auto")=>{if(void 0===e)return new pd;if(!e){const e=new pd;return e.setValid(!1),e}if("string"==typeof e){if(n)return Ad(e,n,t,!0);{const n=kd(e);if(n)return Ad(e,n,t);throw new Error(Yl("Could not guess the date format for value: %s",e))}}if("number"==typeof e)return new pd(Math.floor(Math.abs(e)<99999999999?1e3*e:e));if(e.__isBbnDt)return e;if(e instanceof Date){const n=e;return new pd(n.getFullYear(),n.getMonth()+1,n.getDate(),n.getHours(),n.getMinutes(),n.getSeconds(),n.getMilliseconds())}if(e instanceof jl.PlainDateTime)return new pd(e);if(e instanceof jl.PlainDate)return new bd(e);if(e instanceof jl.PlainTime)return new wd(e);if(e instanceof jl.PlainYearMonth)return new vd(e);if(e instanceof jl.PlainMonthDay)return new Ed(e);if(e instanceof jl.ZonedDateTime)return new wd(e);if(e instanceof jl.Duration)return new hd(e);throw bbn.fn.log("Invalid date value",e),new Error(Yl("Invalid date value"))};function _d(e){if(arguments.length>1){const e=[];for(let n=1;n<arguments.length;n++)e.push(arguments[n]);e.unshift({_bbn_console_mode:"error",_bbn_console_level:1,_bbn_console_style:"color: #E64141; background: #F7E195; font-size: 14px"}),eu.apply(this,e)}throw new Error(e)}function Cd(e,n=null,t=null,r=null,o=null){let i=!1;if(n){i=!0;let a,s="object"===(typeof n).toLowerCase();if(s&&n.prescript)try{new Function(n.prescript)()}catch(e){_d(e.message||"")}if(s&&void 0===n.url&&(n.url=e),i=t&&Ql(t)?t(n,o):bbn.fn.defaultLinkFunction(n,o),o&&s&&void 0!==n.content&&("value"in o?o.value=n.content:o.innerHTML=n.content),i&&s&&n.script&&(i="function"==typeof n.script?n.script(n.data?n.data:{},o||null):((e,t)=>{let r=null;try{r=new Function(n.script)(),Ql(r)&&(r=r(e,t))}catch(e){eu(e,n),_d(Ql(e.getMessage)?e.getMessage():null)}return r})(n.data?n.data:{},o||!1)),i&&r&&Ql(r)?r(n):s&&bbn.fn.defaultPostLinkFunction&&bbn.fn.defaultPostLinkFunction(n,o),i&&s&&n.postscript){new Function(n.postscript)(n.postscript)}s&&n.error&&(a=n.errorTitle||bbn.lng.server_response,bbn.fn.defaultErrorFunction(n.error,a))}else bbn.fn.defaultErrorFunction(bbn.lng.errorText,bbn.lng.error);return i}function Gd(e,n,t=!1){let r={error:!1,result:!0};if("string"==typeof n&&(n=[n]),iu(n)||(r.error=bbn._("checkProps must receive a string or an array as props argument")),ou(e)||(r.error=bbn._("checkProps must receive an object as obj argument")),!r.error){let o;mu(n,n=>{let i=(n=n.trim().split(":"))[1]||!1;if(n=n[0],void 0===e[n]?r.error=n+" "+bbn._("is not defined"):i?(o="is"+nu(i,0,1).toUpperCase()+nu(i,1).toLowerCase(),void 0===bbn.fn[o]?r.error=i+" "+bbn._("is not a valid type"):bbn.fn[o](e[n])||(r.error=n+" "+bbn._("is not a")+" "+i)):t&&!e[n]&&(r.error=n+" "+bbn._("is empty")),r.error)return!1})}return r.error&&(r.result=!1),r}function Pd(e){return e.replace(/[A-z]{1}/,e=>e.toUpperCase())}function Od(e,n,t,...r){let o=!1;iu(n)||(n=[n]);const i=[];if(mu(n,n=>{var t;if(n===String?n="string":n===Number?n="number":n===Array?n="array":n===Boolean?n="boolean":n===Object?n="object":n===Function&&(n="function"),Ql(n)){if(i.push(n.name||(null===(t=n.constructor)||void 0===t?void 0:t.name)||n.toString()),e instanceof n)return o=!0,!1}else if(Jl(n)&&Ql(bbn.fn["is"+Pd(n)])){if(bbn.fn["is"+Pd(n)](e))return o=!0,!1;i.push(n)}else _d(`The type ${n} is not recognized`)}),!o)throw eu(["Value given",e,"type",typeof e,"expected",i.join(" or ")]),r.length&&eu(r),new Error((t?t+" - ":"")+bbn._("The value should be a %s",i.join(" "+bbn._("or a")+" ")))}function Bd(e){if(iu(e))return e.slice().map(e=>"object"==typeof e?Bd(e):e);if(ou(e)){return lu(!0,Object.create(Object.getPrototypeOf(e)),e)}return e}Id.locales=Object.create(null),Id.parse=Ad,Id.guessFormat=kd,Id.time=()=>{},Id.date=()=>{},Id.dateTime=()=>{},Id.duration=(e,n)=>e instanceof jl.Duration?new hd(e):hd.fromUnit(e,n),Id.zoned=()=>{},Id.monthDay=()=>{},Id.yearMonth=()=>{};const Nd=(e,n="text/plain")=>{const t=new DataTransfer;t.setData(n,e);const r=new ClipboardEvent("copy",{bubbles:!0,cancelable:!0,clipboardData:t});document.dispatchEvent(r)};function xd(e,n,t=null,r="="){if(!iu(e))throw bbn.fn.log("NOT ARRAY",e),new Error("Error in filter: The first argument must be an array");let o={};const i=[],a="function"==typeof n;if(!n||!e.length)return e;if("object"==typeof n)r=t,o=n;else if("string"==typeof n)o[n]=t;else if(!a)throw new Error("Search function error: The prop argument should be a string or an object");if("function"==typeof n)for(let t=0;t<e.length;t++)n(e[t],t)&&i.push(e[t]);else if(o=ju(o,r),o.conditions&&o.logic)for(let n=0;n<e.length;n++)Lu(e[n],o)&&i.push(e[n]);return i}const Ld=[];for(let e=0;e<256;e++){let n=e;for(let e=0;e<8;e++)n=1&n?3988292384^n>>>1:n>>>1;Ld.push(n)}function jd(...e){const n=Object.create(null);return e.length&&lu(n,...e),n}function Rd(e){let n=typeof e;if(void 0===e)return new Date;if("number"===n||au(e)&&""!==e)return e<1e10&&(e*=1e3),new Date(e);if("string"===n){if(10===e.length)return new Date(parseInt(nu(e,0,4)),parseInt(nu(e,5,2))-1,parseInt(nu(e,8,2)),12);if(19===e.length)return new Date(parseInt(nu(e,0,4)),parseInt(nu(e,5,2))-1,parseInt(nu(e,8,2)),parseInt(nu(e,11,2)),parseInt(nu(e,14,2)),parseInt(nu(e,17,2)))}else if(Eu(e))return e;return!1}function Fd(e,n=""){eu(e)}function Yd(e,n=null,t=null){eu(n,t)}function Zd(e,n,t=null,r=null){return!0}function Wd(...e){if(!e.length)return!1;for(let n of e)if("object"==typeof n&&!zu(n))return!1;return!0}let Ud=[];function qd(e){if(Jl(e)&&e){for(;"/"===nu(e,e.length-1);)e=nu(e,0,e.length-1);let n=e.lastIndexOf("/");if(n>0)return nu(e,0,n);if(0===n)return"/"}return""}function $d(...e){if(!e.length)return!1;for(let n of e)if("[object Blob]"!=={}.toString.apply(n))return!1;return!0}function Vd(e){if(e&&Jl(e)){let n=e.split(".");if(n[0]&&n.length>1)return n[n.length-1].toLowerCase()}return""}function Kd(...e){if(!e.length)return!1;for(let n of e)if(!(n instanceof HTMLCanvasElement))return!1;return!0}function Jd(e,n,t=null){if(Kd(n))return void n.toBlob(n=>{let t=document.createElement("a");t.download=e,t.href=window.URL.createObjectURL(n),t.className="bbn-no",t.click(),window.URL.revokeObjectURL(t.href)},t||"image/png");t?-1===t.indexOf("/")&&(t="text/"+t):t=ou(n)&&n.type?n.type:"octet/stream";let r=window.document.createElement("a");r.className="bbn-no";let o=null;if(Jl(n))o=new Blob([n],{type:t});else try{o=n}catch(e){eu(e)}r.href=window.URL.createObjectURL(o),r.download=e,document.body.appendChild(r),r.click(),window.URL.revokeObjectURL(r.href),document.body.removeChild(r)}var Xd=function(e,n,t,r){return new(t||(t=Promise))(function(o,i){function a(e){try{m(r.next(e))}catch(e){i(e)}}function s(e){try{m(r.throw(e))}catch(e){i(e)}}function m(e){var n;e.done?o(e.value):(n=e.value,n instanceof t?n:new t(function(e){e(n)})).then(a,s)}m((r=r.apply(e,n||[])).next())})};function Qd(){return Xd(this,void 0,void 0,function*(){var e;(null===(e=window.scheduler)||void 0===e?void 0:e.yield)?yield window.scheduler.yield():yield new Promise(requestAnimationFrame)})}var ec=function(e,n,t,r){return new(t||(t=Promise))(function(o,i){function a(e){try{m(r.next(e))}catch(e){i(e)}}function s(e){try{m(r.throw(e))}catch(e){i(e)}}function m(e){var n;e.done?o(e.value):(n=e.value,n instanceof t?n:new t(function(e){e(n)})).then(a,s)}m((r=r.apply(e,n||[])).next())})};function nc(e){let n;return"checkbox"===e.type?e.checked?(n=e.value,n||(n=1)):n=0:"radio"===e.type?e.checked&&(n=e.value):n=e.value,n}function tc(e){let n,t,r=e.querySelectorAll("input[name],select[name],textarea[name],button[name]"),o={};return mu(r,(e,r)=>{if(t=nc(e),void 0!==t&&!e.disabled){let r=e.name;if(-1===r.indexOf("[]")&&r.indexOf("[")>-1&&r.indexOf("]")>-1&&r.lastIndexOf("]")===r.length-1&&(r=Ku("][",".",r),r=Ku("[",".",r),r=Ku("]","",r)),r.length>2&&r.indexOf("[]")===r.length-2)n=nu(r,0,r.length-2),void 0===o[n]&&(o[n]=[]),o[n].push(t);else if(r.indexOf(".")>-1){let e,n=r.split(".");e=o;for(let r=0;r<n.length;r++)void 0===o[n[r]]&&(r<n.length-1?e[n[r]]={}:e[n[r]]=t),e=e[n[r]]}else o[r]=t}}),o}function rc(e){return e.filter((e,n,t)=>n===t.indexOf(e))}function oc(e,n=null){let t=[];if("string"==typeof e&&(e=document.querySelector(e)),e instanceof HTMLElement&&e.parentElement)if("string"==typeof n)for(;e=e.parentElement.closest(n);)t.push(e);else for(!0===n&&t.push(e);e=e.parentElement;)t.push(e);return t}function ic(e){0!==e.indexOf("--")&&(e="--"+e);let n=getComputedStyle(document.documentElement).getPropertyValue(e);return"string"==typeof n&&(n=n.trim()),n}function ac(){const e=navigator.userAgent.toLowerCase();return/iPhone|Android/i.test(navigator.userAgent)?"mobile":/(ipad|tablet|(android(?!.*mobile))|(windows(?!.*phone)(.*touch))|kindle|playbook|silk|(puffin(?!.*(IP|AP|WP))))/.test(e)?"tablet":"desktop"}function sc(){let e,n=window.getSelection();if(n.rangeCount>0){e=n.getRangeAt(0),eu("RANGE",e);let t=e.cloneContents();eu("clonedSelection",t);let r=document.createElement("div");return r.appendChild(t),r.innerHTML}return""}function mc(e){return Jl(e)?e.replace(/<!--[\s\S]*?-->/g,""):e}function lc(e){let n=document.createElement("div");return n.innerHTML=e,e=n.innerText}function uc(e){let n=document.createElement("canvas");return n.width=e.width,n.height=e.height,n.getContext("2d").drawImage(e,0,0),n}function dc(e){let n,t={};if(ou(e[0])&&1===e.length)return e[0];for(let r=0;r<e.length;r++)n=typeof e[r],n=n.toLowerCase(),Ql(e[r])?(t.errorFn&&!t.abortFn&&(t.abortFn=e[r]),t.successFn&&!t.errorFn?t.errorFn=e[r]:t.successFn||(t.successFn=e[r])):1===e[r]||!0===e[r]?t.force=!0:"string"===n?t.url?t.datatype=e[r]:(t.url=e[r],0===t.url.indexOf(bbn.env.root)&&(t.url=nu(t.url,bbn.env.root.length))):e[r]&&"object"===n&&(e[r]instanceof Event?t.e=e[r]:t.ele||1!==e[r].nodeType?"object"===n.toLowerCase()&&(t.obj=e[r]):t.ele=e[r]);return!t.url&&Su(t)&&(t.url=bbn.env.path),void 0===t.obj&&(t.obj={_bbn:"public"}),t.datatype||(t.datatype="json"),t}function cc(e,n,t=null,r=!1){bbn.env.old_path=bbn.env.path,bbn.env.url=["https:/","http://"].includes(nu(e,0,7))?e:bbn.env.root+e,bbn.env.path=nu(bbn.env.url,bbn.env.root.length),bbn.env.params=bbn.env.path.split("/").filter(e=>""!==e);let o=window.history;if(o){let e=o.state,i={url:bbn.env.path,old_path:bbn.env.old_path||null,data:t||{},reload:!1};e&&e.url===bbn.env.path&&(e.data&&lu(i.data,e.data),e.title&&!n&&(n=e.title),r=!0),n=n?lc(n):bbn.env.siteTitle,r?(i.reload=!0,o.replaceState(i,n,bbn.env.url)):o.pushState(i,n,bbn.env.url)}}function hc(...e){let n=dc(e),t=1;if(n){if(0===n.url.indexOf("javascript:"))return!0;if(0===n.url.indexOf("data:"))return!0;if(0===n.url.indexOf("#"))return n.e&&n.e.preventDefault(),document.location.hash=n.url.substring(1),!1;if(0===n.url.indexOf("mailto:"))return bbn.env.ignoreUnload=!0,window.location.href=n.url,setTimeout(()=>{bbn.env.ignoreUnload=!1},0),!1;if(Zu(n.url))return!1;if((0===n.url.indexOf("http://")||0===n.url.indexOf("https://"))&&0!==n.url.indexOf(bbn.env.host))return n.e&&n.e.preventDefault(),window.open(n.url),!1;if(n.url!==bbn.env.params.join("/")||1===n.force){if(n.e&&n.e.preventDefault(),n.successFn)t=n.successFn(n.url);else if(bbn.fn.defaultPreLinkFunction){let e=bbn.fn.defaultPreLinkFunction(n.url,n.force,n.ele);void 0!==e.data?(lu(n.obj,e.data),t=1):t=e}if(t){1!==t&&"string"==typeof t&&(n.url=t);let e=bbn._("The Ajax call to")+" "+n.url+" ";return Xu(n.url,n.datatype,n.obj,t=>{t||eu(e+bbn._("returned no answer")),ou(t)&&(0===Object.keys(t).length&&eu(e+bbn._("returned an empty object")),t.new_url?(t.old_path=n.url,n.url=t.new_url):t.url&&n.url!==t.url&&(t.old_path=n.url)),Cd(n.url,t,n.successFn,null,n.ele)&&void 0===t.noNav&&0!==bbn.env.path.indexOf(n.url)&&cc(n.url,(t.title?t.title+" - ":"")+bbn.env.siteTitle)},n.errorFn||null)}}return!0}}function fc(){let e=bbn.env.width!==window.innerWidth,n=bbn.env.height!==window.innerHeight;if(e||n){e&&(bbn.env.width=window.innerWidth||window.document.documentElement.clientWidth||window.document.body.clientWidth,document.documentElement.style.setProperty("--vw",.01*bbn.env.width+"px")),n&&(bbn.env.height=window.innerHeight||window.document.documentElement.clientHeight||window.document.body.clientHeight,document.documentElement.style.setProperty("--vh",.01*bbn.env.height+"px"));let t=parseInt(ic("mobile-limit"))||650,r="bbn-screen-"+(bbn.env.width<t?"small":"regular"),o=(document.body.className||"").split(" "),i=!1;mu(o,(e,n)=>{if(3===e.split("-").length&&0===e.indexOf("bbn-screen-"))return i=!0,e!==r&&o.splice(n,1,r),!1}),i||o.push(r),bbn.fn.defaultResizeFunction(),document.body.className=o.join(" ")}}function Mc(){return"mobile"===ac()}function yc(){return"tablet"===ac()}function gc(){return Mc()||yc()}function pc(e=!1){let n=(new Date).getTime();return e?Math.round(n/1e3):n}function bc(e){const n=String(null!=e?e:"").split("-").filter(Boolean);if(!n.length)return{language:"und"};let t,r,o=n[0].toLowerCase();for(let e=1;e<n.length;e++){const o=n[e];t||4!==o.length?r||2!==o.length&&3!==o.length||(r=o.toUpperCase()):t=o[0].toUpperCase()+o.slice(1).toLowerCase()}return{language:o,script:t,region:r}}const wc=Promise.resolve().then(function(){return jc});function vc(e){var n,t,r;const o=null!==(r=null!==(n=e.baseName)&&void 0!==n?n:null===(t=e.toString)||void 0===t?void 0:t.call(e))&&void 0!==r?r:"und",{region:i}=bc(o),a=i&&wc[i]||{firstDay:1,weekend:[6,7],minimalDays:4};return{firstDay:a.firstDay,weekend:a.weekend.slice(),minimalDays:a.minimalDays}}function Ec(){!function(){if("undefined"==typeof Intl)return;if("function"!=typeof Intl.Locale){class e{constructor(e){const n=Array.isArray(e)?e[0]:e,t=String(null!=n?n:"und"),r=bc(t);this._tag=t,this._language=r.language,this._script=r.script,this._region=r.region}toString(){return this._tag}get baseName(){return this._tag}get language(){return this._language}get script(){return this._script}get region(){return this._region}getWeekInfo(){return vc(this)}get weekInfo(){return vc(this)}}Intl.Locale=e}const e=Intl.Locale.prototype;"function"!=typeof e.getWeekInfo&&(e.getWeekInfo=function(){return vc(this)}),Object.getOwnPropertyDescriptor(e,"weekInfo")||Object.defineProperty(e,"weekInfo",{configurable:!0,enumerable:!0,get(){return"function"==typeof this.getWeekInfo?this.getWeekInfo():vc(this)}})}()}var Tc=function(e,n,t,r){return new(t||(t=Promise))(function(o,i){function a(e){try{m(r.next(e))}catch(e){i(e)}}function s(e){try{m(r.throw(e))}catch(e){i(e)}}function m(e){var n;e.done?o(e.value):(n=e.value,n instanceof t?n:new t(function(e){e(n)})).then(a,s)}m((r=r.apply(e,n||[])).next())})};function Sc(){return Tc(this,void 0,void 0,function*(){const e=[];"undefined"!=typeof Intl&&"function"==typeof Intl.RelativeTimeFormat||e.push((()=>Tc(this,void 0,void 0,function*(){yield Promise.resolve().then(function(){return Fc}),yield Promise.resolve().then(function(){return Yc})}))()),function(){if("undefined"==typeof Intl||"function"!=typeof Intl.DateTimeFormat)return!0;try{return new Intl.DateTimeFormat("en",{dateStyle:"medium"}),!1}catch(e){return!0}}()&&e.push((()=>Tc(this,void 0,void 0,function*(){yield Promise.resolve().then(function(){return $c}),yield Promise.resolve().then(function(){return Vc})}))()),e.length>0&&(yield Promise.all(e)),Ec()})}const Dc=()=>{bbn.env.last_focus=bbn.dt().unix()},zc=e=>{if(Dc(),"ajax"!==bbn.env.nav)return;let n=e.target;if(n instanceof HTMLElement&&"A"!==n.tagName){let e=n;for(;e&&"A"!==e.tagName&&"BODY"!==e.tagName;)e=e.parentElement;n=e&&"A"===e.tagName?e:null}n instanceof HTMLElement&&n.hasAttribute("href")&&!n.hasAttribute("target")&&!n.classList.contains("bbn-no")&&(eu("Link clicked: "+n.getAttribute("href")),hc(n.getAttribute("href"),e))};function Ac(e){if("string"==typeof e&&e.length>0&&(0===e.indexOf("calc")||au(nu(e,0,1)))){let n=document.createElement("div");n.style.width=e;let t=!!n.style.width.length;return n.remove(),t}return!1}function Hc(...e){if(!e.length)return!1;for(let n of e)if(!Jl(n)||!bbn.var.regexp.ip.test(n))return!1;return!0}function kc(...e){if(!e.length)return!1;for(let n of e)if("[object Symbol]"!=={}.toString.apply(n))return!1;return!0}function Ic(e){const n=["BBN: "+e];n.unshift({_bbn_console_mode:"warn",_bbn_console_level:2,_bbn_console_style:"color: #E64141; background: #F7E195; font-size: 14px"}),eu.apply(this,n)}function _c(e,n="",t=null){let r=new FormData,o=(e,n="")=>{(!t||iu(t)&&!t.includes(n))&&(e instanceof File?r.append(n,e):iu(e)?mu(e,(e,t)=>{o(e,n+"["+t+"]")}):ou(e)&&Object.keys(e).length?ru(e,(t,r)=>{r in e&&o(t,n?n+"["+r+"]":r)}):zu(e)||void 0===e||r.append(n,e))};return o(e,n),r}function Cc(e){return"string"==typeof e?document.querySelector(e):e}function Gc(...e){let n=dc(e);if(n.url)return Xu(n.url,n.datatype,n.obj,e=>{Cd(n.url,e,n.successFn,n.errorFn,n.ele)},n.errorFn,n.abortFn)}function Pc(e,n,t,r){if("object"==typeof e&&"string"==typeof n){let o=e;const i=n.split(".");mu(i,(e,n)=>{if(!o){if(!r)throw new Error(bbn._("The object is invalid"));o={}}i.length-1===n?o[e]=t:o=o[e]})}}function Oc(e,n){return Math.floor(Math.random()*(n-e+1)+e)}function Bc(e,n=" "){if(" "===n)return e.trim();if(!n)return e;if(n===e)return"";for(;0===e.indexOf(n);)e=nu(e,n.length);for(;e.lastIndexOf(n)===e.length-n.length;)e=nu(e,0,e.length-n.length);return e}function Nc(e,n,t){return"string"==typeof e.toLowerCase()&&(n||(n=bbn.var.shortenLen),void 0!==t&&Jl(t)||(t="..."),e.length>n&&(e=nu(e,0,n)+t)),e}var xc={_addLoader:bu,_compareValues:Tu,_deleteLoader:Yu,abort:function(e){let n=Zu(e);(null==n?void 0:n.aborter)&&n.aborter.abort("Operation canceled by the user.")},abortURL:function(e){mu(Wu(bbn.env.loaders,{url:e}),n=>{if(!n||!n.source)throw new Error("Impossible to find the loader with URL "+e);n.source.cancel("Operation canceled by the user.")})},addColors:Uu,addInputs:qu,addStyle:function(e,n){ou(n)&&ru(n,(n,t)=>{e.style[t]=n})},adjustHeight:function(){let e=arguments;return 1===e.length&&su(e[0])&&(e=e[0]),$u("height",e)},adjustSize:$u,adjustWidth:function(){let e=arguments;return 1===e.length&&su(e[0])&&(e=e[0]),$u("width",e)},ajax:Xu,analyzeFunction:Bu,animateCss:function(e,n,t){e.classList.add("animated"),e.classList.add(n),e.addEventListener("webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend",function e(r){r.target.removeEventListener(r.type,e),"function"==typeof t&&t.call(this),r.target.classList.remove(n)})},arrayBuffer2String:ed,arrayFromProp:function(e,n){let t=[];return mu(e,(e,r)=>{t.push(wu(e,n))}),t},autoExtend:function(e,n){bbn[e]||(bbn[e]={}),lu(bbn[e],n)},baseName:nd,br2nl:function(e){return Ku("<br />","\n",Ku("<br/>","\n",Ku("<br>","\n",e)))},calendar:function(e,n=!1){let t=Id(e);return t.isValid?t.calendar():n&&Jl(n)?n:""},callback:Cd,camelize:function(e){return e.replace(/^([A-Z])|[\s-](\w)/g,function(e,n,t,r){return t?t.toUpperCase():n.toLowerCase()})},camelToCss:function(e){return e.replace(/([A-Z])/g,function(e){return"-"+e.toLowerCase()}).replace("/^./",function(e){return e.toLowerCase()})},canvasToImage:function(e){let n=new Image;return n.src=e.toDataURL("image/png"),n},cast:function(e){var n;return e?"object"==typeof e?bbn.fn.isArray(e)?"Array ("+e.length+")":(null===(n=e.constructor)||void 0===n?void 0:n.name)||"{}":e.toString?e.toString():"string"==typeof e?e:"":""},center:function(e){let n=e.parentNode,t=n.clientWidth,r=n.clientHeight;for(;n&&(!t||!r);)n=e.parentNode,t=n.clientWidth,r=n.clientHeight;return e.style.position="absolute",e.style.top=Math.max(0,(r-e.offsetHeight)/2+n.scrollTop)+"px",e.style.left=Math.max(0,(r-e.offsetWidth)/2+n.scrollLeft)+"px",e},checkProps:function(e,n,t=!1){return Gd(e,n,t).result},checkPropsDetails:Gd,checkPropsOrDie:function(e,n,t=!1){let r=Gd(e,n,t);if(r.error)throw new Error(r.error);return!0},checkType:Od,circularReplacer:function(){const e=new WeakSet;return(n,t)=>{if("object"==typeof t&&null!==t){if(e.has(t))return;e.add(t),[void 0,Object,Array,null].includes(t.constructor)||(t=Iu(t)?t.bbnId?"__BBN_DOM__"+t.tagName+"/"+t.bbnId+t.bbnHash:"__BBN_DOM__"+t.tagName+"/"+t.className:Cu(t)?"__BBN_CP__"+t.$options.name+"/"+t.$cid:t.constructor.toString())}return t}},clone:Bd,colorToHex:function(e){let n=document.createElement("canvas").getContext("2d");return n.fillStyle=e,n.fillStyle},compare:xu,compareConditions:Lu,copy:function(e,n){return new Promise(t=>{if(e){if(navigator&&navigator.clipboard)return void(e instanceof Blob?(navigator.clipboard.write([new ClipboardItem({[e.type.toString()]:e})]).then(()=>{t(!0)}),n||Nd(e,e.type.toString())):ou(e)&&Ql(e.toBlob)?e.toBlob(r=>{const o=new ClipboardItem({[r.type.toString()]:r});navigator.clipboard.write([o]).then(()=>{n||Nd(e,r.type.toString()),t(!0)})}):(navigator.clipboard.writeText(e),n||Nd(e),t(!0)));let r=document.createElement("textarea");r.style.opacity="0",r.value=e,document.body.appendChild(r),r.select(),document.execCommand("copy"),document.body.removeChild(r),n||Nd(e),t(!0)}t(!1)})},correctCase:Pd,count:function(e,n,t=null,r="="){return xd(e,n,t,r).length||0},crc32:function(e){let n=~0;for(let t=0;t<e.length;t++){const r=e.charCodeAt(t);n=n>>>8^Ld[255&(n^r)]}return(-1^n)>>>0},createObject:jd,cssExists:function(e){let n,t,r=document.styleSheets;for(let o=0;o<r.length;o++){n=1;try{t=r[o].rules||r[o].cssRules}catch(e){if(n=!1,"SecurityError"!==e.name)throw e}if(n)for(let n=0;n<t.length;n++)if(new RegExp("(^|\\s)"+Vu(e)+"(\\{|\\s)","g").test(t[n].selectorText))return!0}return!1},data2Html:function e(n,t=""){const r=!iu(n);let o='<ul class="bbn-bottom-xspadding '+(t||"bbn-ul")+'">';for(let i in n)o+="<li>",r&&(o+="<em>"+i+"</em>: "),n[i]&&(iu(n[i])||ou(n[i]))?o+=e(n[i],t):o+=null===n[i]?"<em>null</em>":n[i].toString?n[i].toString():n[i],o+="</li>";return o+='</ul><div class="bbn-bottom-xspadding '+(t||"bbn-div")+'"></div>',o},date:Rd,dateSQL:function(e,n){let t=Id(e);if(t)return t.format("YYYY-MM-DD"+(n?"":" HH:mm:ss"))},deepPath:function e(n,t,r,o=[]){let i;return(i=Ru(n,t,0))>-1?(o.push(i),o):(mu(n,(n,i)=>{if(iu(n[r])){let a=o.slice();a.push(i);let s=e(n[r],t,r,a);if(!1!==s)return s}}),!1)},defaultAjaxAbortFunction:Fd,defaultAjaxErrorFunction:Yd,defaultAlertFunction:function(e,n=null){alert(e)},defaultConfirmFunction:function(e,n,t=null){let r=0;confirm(e)&&Ql(n)&&(n(),r=1),!r&&Ql(t)&&t()},defaultEndLoadingFunction:Zd,defaultErrorFunction:function(e){eu(e)},defaultHistoryFunction:function(e){return!0},defaultLinkFunction:function(e,n){return!0},defaultPostLinkFunction:function(e,n=null){return!0},defaultPreLinkFunction:function(e,n=!1,t=null){return eu("defaultPreLinkFunction",e,n,t),!0},defaultResizeFunction:function(){return!0},defaultStartLoadingFunction:function(e,n,t,r){return!0},deleteProp:function(e,n){Od(e,"object",bbn._("The obj must be an object in setProp")),Od(n,"string",bbn._("The prop must be a string in setProp")),delete e[n]},diffObj:function e(n,t,r=!1,o=!1){o||(Ud=[]);let i="unchanged";void 0===o&&(o=!1);let a=jd();if(!Ql(n)&&!Ql(t)){if(Wd(n)||Wd(t)){let e=(s=n)===(m=t)||Eu(s)&&Eu(m)&&s.getTime()===m.getTime()?i:void 0===s?"created":void 0===m?"deleted":"updated";if(r||e!==i){let r=jd();return Object.defineProperty(r,"type",{value:e,enumerable:!1}),Object.defineProperty(r,"data",{value:void 0===n?t:n,enumerable:!1}),Object.defineProperty(r,"_bbnDiffObjProof",{value:!0,enumerable:!1}),void 0!==n&&Object.defineProperty(r,"newData",{value:t,enumerable:!1}),r}return!1}if(Iu(n)||Iu(t))return!1;if(Ud.includes(n)||Ud.includes(t))return!1;Ud.push(n,t);for(let o in n){if(Ql(n[o]))continue;let i;void 0!==t[o]&&(i=t[o]);let s=e(n[o],i,r,!0);s&&(a[o]=s)}for(let o in t){if(Ql(t[o])||void 0!==n[o])continue;let i=e(void 0,t[o],r,!0);i&&(a[o]=i)}}var s,m;return!(o&&!r&&!Su(a))&&a},dirName:qd,download:function(e,n="",t=null){return n&&"object"==typeof n&&(t=n,n=""),Xu(e,"blob",t||{_bbn_download:1},(t,r)=>{if(!n){let t="content-disposition",o="attachment; filename=";n=(null==r?void 0:r[t])&&0===r[t].indexOf(o)?nu(r[t],o.length+1,r[t].length-o.length-2):nd(e)}if($d(t)){let e=Vd(n),r=["php","html"];if("string"==typeof n&&("type"in t&&"text/html"!==t.type||r.includes(e)))return void Jd(n,t)}},e=>{bbn.fn.defaultAjaxErrorFunction(e)})},downloadContent:Jd,each:mu,eraseCookie:function(e){document.cookie=e+"=; Max-Age=-99999999;"},error:_d,escapeDquotes:function(e){return Jl(e)?e.replace(/"/g,'\\"'):e},escapeRegExp:Vu,escapeSquotes:function(e){return Jl(e)?e.replace(/'/g,"\\'"):e},escapeTicks:function(e){return Jl(e)?e.replace(/`/g,"\\`"):e},escapeUrl:function(e,n){let t="";e.match("^(http|https)://")&&(t+="http","s"===(e=e.substring(4)).substr(0,1)&&(t+="s",e=e.substring(1)),t+="://",e=e.substring(3)),mu(qd(e).split("/"),e=>{t+=encodeURIComponent(e)+"/"});let r=nd(e),o="?",i="";if(r.indexOf(o)){let e=r.split("?");o="&",i="?"+e[1],r=e[0]}return n&&Jl(n)?(n.match("^(\\&|\\?)")&&(n=n.substring(1)),n=o+n):n="",t+encodeURIComponent(r)+i+n},executeSlowly:function(e,n){return ec(this,void 0,void 0,function*(){for(let t=0;t<e.length;t++){yield Qd();let r=n(e[t],t);if(r instanceof Promise&&(r=yield r),!1===r)return!1}return!0})},extend:lu,extendOut:function e(...n){let t=null;for(let r of n){if(!ou(r))throw new Error("Each argument for extendOut must be an object, "+typeof r+" given");if(null===t)t=r;else for(let n in r)ou(t[n],r[n])?e(t[n],r[n]):void 0===t[n]&&(t[n]=r[n])}return t},fdate:function(e,n=!1){let t=Id(e),r=!1;return!0===n&&(r=!0),t.isValid?t.fdate(!1,r):n&&Jl(n)?n:""},fdatetime:function(e,n=!1){let t=Id(e);return t.isValid?t.fdate(!1,!0):n&&Jl(n)?n:""},fieldValue:nc,fileExt:Vd,filter:xd,filterToConditions:ju,findAll:function e(n,t,r,o=[]){let i,a=0;for(;(i=Ru(n,t,a))>-1;)o.push(n[i]),a=i+1;return mu(n,n=>{iu(n[r])&&e(n[r],t,r,o)}),o},firstVarElement:function(e){const n=e.indexOf("["),t=e.indexOf(".");return-1===n&&-1===t?e:-1===n?e.substring(0,t):-1===t?e.substring(0,n):e.substring(0,Math.min(n,t))},fori:function(e,n,t=e.length-1,r=0){if(iu(e)){let o=e.length-1;au(t)&&0<t&&t<=o||(t=o),(!au(r)||!(0<=r&&r<o)||r>t)&&(r=0);for(let o=r;o<=t;o++)if(!1===n(e[o],o))return}},forir:function(e,n,t=e.length-1,r=0){if(iu(e)){let o=e.length-1;au(t)&&0<t&&t<=o||(t=o),(!au(r)||!(0<=r&&r<o)||r>t)&&(r=0);for(let o=t;o>=r;o--)if(!1===n(e[o],o))return}},format:function(e){let n=Array.prototype.slice.call(arguments,1);if(n.length){let t=0;return e.replace(/\%([d|s])/g,(e,r)=>{let o=n[t++];return Od(o,"d"===r?"number":"string",bbn._("The value doesn't correspond to the format")),o})}return e},formatBytes:function(e,n=2){if(!e)return"0 B";const t=Math.floor(Math.log(e)/Math.log(1024));return parseFloat((e/Math.pow(1024,t)).toFixed(n<0?0:n))+" "+["B","KB","MB","GB","TB","PB","EB","ZB","YB"][t]},formatDate:function(e,n){const t=Id(e);return t.isValid?t.format(n):""},formatSize:function(e,n){return au(e)?e+"px":Jl(e)?e:!n&&"auto"},formdata:tc,fphone:function(e){var n;if(au(e)&&(e=e.toString()),Jl(e)){const t=(null===(n=bbn.var)||void 0===n?void 0:n.phoneCodes)||[];let r="",o="",i="";if(t.length&&mu(t,n=>{e.startsWith(n.prefix)&&n.prefix.length>o.length&&(o=n.prefix,i=n.mask||"")}),!i.length&&e.startsWith("+")){o.length||(o=e.substr(0,3));const n=e.slice(o.length);for(let e=0;e<n.length;e++)e+1<=n.length&&e%2==0&&(i+="0"+(n[e+1]?"0":"")+" ");i=i.trim()}if(i.length){o.length&&(r=o+" ",e=e.slice(o.length));let n=0;return r+=i.replace(/[0-9]/g,()=>e[n++]||""),r}}return e},fromXml:function(e,n){let t=null;if(window.DOMParser)t=(new DOMParser).parseFromString(e,"text/xml");else{if(!window.ActiveXObject)throw new Error("cannot parse xml string!");if(t=new window.ActiveXObject("Microsoft.XMLDOM"),t.async=!1,!t.loadXML(e))throw t.parseError.reason+" "+t.parseError.srcText}function r(e,t){if("#text"==e.nodeName){let n=e.nodeValue;return void(n.trim()&&(t["#text"]=n))}let o={},i=t[e.nodeName];if(i?Array.isArray(i)?t[e.nodeName].push(o):t[e.nodeName]=[i,o]:n&&-1!=n.indexOf(e.nodeName)?t[e.nodeName]=[o]:t[e.nodeName]=o,e.attributes)for(let n of e.attributes)o[n.nodeName]=n.nodeValue;for(let n of e.childNodes)r(n,o)}let o={};for(let e of t.childNodes)r(e,o);return o},ftime:function(e,n){let t=Id(e);return t.isValid?t.ftime():n&&Jl(n)?n:""},getAllTags:function(){return rc(Array.prototype.map.apply(document.all,[e=>e.tagName.toLowerCase()]))},getAncestors:oc,getAttributes:function(e){e.getAttributeNames||_d("The element is not a proper HTML Element");let n=Object.create(null);return e.getAttributeNames().forEach(t=>{n[t]=e.getAttribute(t)}),n},getBrowserName:function(){const e=navigator.userAgent.toLowerCase();switch(!0){case e.includes("edge"):case e.includes("edg/"):return"Edge";case e.includes("opr")&&!!window.opr:return"Opera";case e.includes("chrome")&&!!window.chrome:return"Chrome";case e.includes("trident"):return"Internet Explorer";case e.includes("firefox"):return"Firefox";case e.includes("safari"):return"Safari";default:return"Other"}},getBrowserVersion:function(){const e=navigator.userAgent.toLowerCase();switch(!0){case e.includes("edge/"):return e.split("edge/")[1].split(" ")[0];case e.includes("edg/"):return e.split("edg/")[1].split(" ")[0];case e.includes("opr/")&&!!window.opr:return e.split("opr/")[1].split(" ")[0];case e.includes("chrome/")&&!!window.chrome:return e.split("chrome/")[1].split(" ")[0];case e.includes("trident/"):return e.split("trident/")[1].split(" ")[0];case e.includes("firefox/"):return e.split("firefox/")[1].split(" ")[0];case e.includes("safari/"):return e.split("version/")[1].split(" ")[0];default:return""}},getChrono:function(e="default"){return bbn.fn.microtimestamp()-this.constructor.chronos[e]},getCookie:function(e){let n=e+"=",t=document.cookie.split(";");for(let e=0;e<t.length;e++){let r=t[e];for(;" "==r.charAt(0);)r=r.substring(1,r.length);if(0==r.indexOf(n)){let e=r.substring(n.length,r.length);if(e)return JSON.parse(unescape(e)).value}}return null},getCssVar:ic,getDay:function(e){let n=Rd(e);if(n){let e=n.getTime(),r=n.getYear(),o=365*(r-1970);n.getMonth()<2&&r--;for(var t=1972;t<=r;t+=4)o++;return o+Math.floor(e/864e5)}return!1},getDeviceType:ac,getEventData:function(e){let n=e.dataTransfer||e.clipboardData,t=n.getData("Text"),r={raw:t,files:[],str:[]};return new Promise((o,i)=>{let a=!(n instanceof DataTransfer);if(!t&&"copy"===e.type){let e=window.getSelection();r.raw=e.toString();let n=sc();r.str.push({type:"text/plain",data:r.raw}),n!==r.raw?r.str.push({type:"text/html",data:n}):0===r.raw.trim().indexOf("<")&&r.str.push({type:"text/html",data:"<meta charset='utf-8'><code style=\"white-space: pre; font-family: 'Courier New', sans-serif\">\n"+r.raw+"\n</code>"}),a=!0,o(r)}if(!a){let e=[],t=n.items.length;mu(n.items,(i,s)=>{let m=i.kind,l=i.type;if("file"===m){let m=n.files[s];if(!l&&m.name){let e=m.name.split(".");l=e[e.length-1]}let u=m?m.name:bbn._("untitled"),d=m?m.size:null,c=m?m.lastModified:null,h=i.getAsFile();h?(a=!0,t--,r.files.push({type:l,data:h,name:u,size:d,mdate:c}),e.push(u),t||(r.raw||(r.raw=e.join(", ")),o(r))):bbn.fn.defaultErrorFunction(bbn._("Impossible to read the file")+" "+u)}else a=!0,i.getAsString(n=>{t--,r.str.push({type:l,data:n}),"text/plain"===l&&e.push(name),t||(r.raw||(r.raw=e.join(", ")),o(r))})})}a||setTimeout(()=>{o(r)})})},getField:function(e,n,t="",r=null,o="=",i=0,a=!1,s=void 0){let m;return t&&["object","function"].includes(typeof t)&&6 in arguments&&(s=a),n?(m=Fu(e,t,r,o,i,a,void 0),void 0===m?s:m[n]):s},getFieldValues:function(e,n,t,r,o){Od(n,"string"),t&&(e=Wu(e,t,r,o));let i=[];return mu(e,e=>-1===i.indexOf(e[n])?i.push(e[n]):null),i},getFileContent:function(){let e,n,t="",r="text";bbn.fn.each(arguments,o=>{"string"==typeof o?["binary","text"].includes(o.toLowerCase())?r=o.toLowerCase():t||(t=o,"image"===t&&(t="image/*")):bbn.fn.isFunction(o)&&(e?n||(n=o):e=o)});let o=document.createElement("input");o.type="file",t&&o.setAttribute("accept",t),o.onchange=function(t){var i;const a=null===(i=o.files)||void 0===i?void 0:i[0];if(!a)return;const s=new FileReader;"binary"===r?s.readAsArrayBuffer(a):s.readAsText(a,"UTF-8"),s.onload=function({target:n}){e&&e(null==n?void 0:n.result)},s.onerror=function(){n&&n("error reading file")}},o.click()},getIndex:function(e,n=""){return e.parentElement?(n||Array.from(e.parentElement.children).indexOf(e),Array.from(e.parentElement.children).filter(e=>e.matches(n)).indexOf(e)):-1},getHtml:function(e,n=!1){let t=e.innerHTML();return n&&(t=mc(t)),t.trim()},getHTMLOfSelection:sc,getLoader:Zu,getPath:_u,getProp:function(e,n){return Od(e,"object",bbn._("The obj must be an object in setProp")),Od(n,"string",bbn._("The prop must be a string in setProp")),e[n]},getProperty:wu,getRequestId:Ju,getRow:Fu,getScrollBarSize:function(){if(void 0===bbn.env.scrollBarSize){let e=document.createElement("div");e.style.visibility="hidden",e.style.width="100px","msOverflowStyle"in e.style&&(e.style.msOverflowStyle="scrollbar"),document.body.appendChild(e);let n=e.offsetWidth;e.style.overflow="scroll";let t=document.createElement("div");t.style.width="100%",e.appendChild(t);let r=t.offsetWidth;e.parentNode.removeChild(e);let o=n-r;bbn.env.scrollBarSize=o?o+1:0}return bbn.env.scrollBarSize},getSortingMoves:function(e,n){if(e.length!==n.length)throw new Error("Lengths must match.");const t=new Set(n);if(t.size!==n.length)throw new Error("dst has duplicates.");const r=new Set(e);if(r.size!==e.length)throw new Error("src has duplicates.");if(e.length!==t.size||Array.from(r).some(e=>!t.has(e)))throw new Error("Arrays must contain the same unique values.");const o=new Map(n.map((e,n)=>[e,n])),i=e.map(e=>o.get(e)),a=(e=>{const n=e.length,t=[],r=Array(n).fill(-1);for(let o=0;o<n;o++){let n=e[o],i=0,a=t.length;for(;i<a;){const r=i+a>>1;e[t[r]]<n?i=r+1:a=r}i>0&&(r[o]=t[i-1]),t[i]=o}const o=[];for(let e=t.length?t[t.length-1]:-1;-1!==e;e=r[e])o.push(e);return o.reverse()})(i),s=new Set(a.map(n=>e[n])),m=Array(n.length).fill(-1);for(let e=n.length-2;e>=0;e--)m[e]=m[e+1],s.has(n[e+1])&&(m[e]=e+1);const l=e.slice(),u=new Map(l.map((e,n)=>[e,n])),d=[];for(let e=0;e<n.length;e++){const t=n[e];if(s.has(t))continue;const r=u.get(t);if(void 0===r)throw new Error("Inconsistent state");const o=m[e],i=-1!==o?u.get(n[o]):l.length;if(void 0===i)throw new Error("Inconsistent state");const a=r<i?i-1:i;if(r!==a){const[e]=l.splice(r,1);l.splice(a,0,e),d.push({from:r,to:a,value:t}),u.clear();for(let e=0;e<l.length;e++)u.set(l[e],e)}}return d},getText:function(e){return e.innerText().trim()},getTimeoff:function(){return bbn.env.isFocused?0:Math.round((new Date).getTime()/1e3-bbn.env.timeoff)},happy:function(...e){return e.unshift({_bbn_console_level:3,_bbn_console_style:"color: white; background: green; font-size: 18px;"}),eu.apply(this,e),this},hash:Pu,hex2rgb:function(e){"#"!==e.charAt(0)&&(e="#"+e),4===e.length&&(e="#"+e[1]+e[1]+e[2]+e[2]+e[3]+e[3]);const n=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(e);return n?{r:parseInt(n[1],16),g:parseInt(n[2],16),b:parseInt(n[3],16)}:null},history:function(){return window.history||!1},html2text:lc,imageToCanvas:uc,imgToBase64:function(e,n="image/png"){return uc(e).toDataURL(n)},info:function(...e){return e.unshift({_bbn_console_level:4,_bbn_console_style:"color: #EEE; background: blue; font-size: 12px;"}),eu.apply(this,e),this},init:function(e,n){let t;bbn.env.isInit||(bbn.env.root=document.baseURI.length>0?document.baseURI:bbn.env.host,bbn.env.root.length&&"/"!==nu(bbn.env.root,-1)&&(bbn.env.root+="/"),"object"==typeof e&&lu(!0,bbn,e),bbn.env.path=nu(bbn.env.url,bbn.env.root.length),t=bbn.env.path.split("/"),mu(t,(e,n)=>{""!==(e=decodeURI(e.trim()))&&bbn.env.params.push(e)}),bbn.var.colors&&Uu(bbn.var.colors),Sc(),document.addEventListener("visibilitychange",()=>{document.hidden?bbn.env.isVisible=!1:bbn.env.isVisible=!0}),document.addEventListener("focus",e=>{e.target instanceof HTMLElement&&!e.target.classList.contains("bbn-no")&&(bbn.env.focused=e.target),bbn.env.isFocused=!0,bbn.env.last_focus=pc()}),document.addEventListener("blur",e=>{e.target instanceof HTMLElement&&!e.target.classList.contains("bbn-no")&&(bbn.env.focused=e.target),bbn.env.isFocused=!1,bbn.env.last_focus=pc()}),document.addEventListener("click",zc),document.addEventListener("keydown",zc),document.addEventListener("focusin",Dc),document.addEventListener("focusout",Dc),window.addEventListener("hashchange",()=>{bbn.env.hashChanged=(new Date).getTime()},!1),window.addEventListener("resize",()=>{fc()}),window.addEventListener("orientationchange",()=>{fc()}),fc(),gc()&&(document.body.classList.add("bbn-mobile"),yc()&&document.body.classList.add("bbn-tablet")),window.history&&(window.onpopstate=function(e){let n=window.history;if(!bbn.env.historyDisabled&&n&&bbn.fn.defaultHistoryFunction(n.state)){let e=n.state;e?hc(e.url,lu({title:e.title||bbn.env.siteTitle},e.data||{})):e&&e.data&&Ql(e.data.script)&&e.data.script()}}),window.addEventListener("online",()=>{bbn.env.online=!0}),window.addEventListener("offline",()=>{bbn.env.online=!1}),bbn.env.isInit=!0,document.dispatchEvent(new Event("bbninit")),bbn.env.logging&&eu("Logging in bbn is enabled"))},isActiveInterface:function(e=600){return!!bbn.env.last_focus&&(new Date).getTime()-bbn.env.last_focus<1e3*e},isArray:iu,isBlob:$d,isBoolean:function(...e){if(!e.length)return!1;for(let n of e)if(![!0,!1].includes(n))return!1;return!0},isCanvas:Kd,isColor:function(...e){if(!e.length)return!1;var n=new RegExp("^(#[a-f0-9]{6}|#[a-f0-9]{3}|rgb *( *[0-9]{1,3}%? *, *[0-9]{1,3}%? *, *[0-9]{1,3}%? *)|rgba *( *[0-9]{1,3}%? *, *[0-9]{1,3}%? *, *[0-9]{1,3}%? *, *[0-9]{1,3}%? *)|black|green|silver|gray|olive|white|yellow|maroon|navy|red|blue|purple|teal|fuchsia|aqua)$","i");for(let t of e){if(!Jl(t))return!1;if(!n.test(t))return!1}return!0},isComment:function(...e){if(!e.length)return!1;for(let n of e)if(!(n instanceof Comment))return!1;return!0},isCp:Cu,isDataURL:function(...e){if(!e.length)return!1;for(let n of e)if(!/^data:([a-z]+\/[a-z0-9\-\+\.]+(;[a-z\-]+\=[a-z0-9\-\.]+)?)?(;base64)?,/i.test(n))return!1;return!0},isDate:Eu,isDesktopDevice:function(){return"desktop"===ac()},isDimension:function(...e){if(!e.length)return!1;for(let n of e){if("number"!=typeof n||n<0)return!1;if(!Ac(n))return!1}return!0},isDom:Iu,isEmail:function(...e){if(!e.length)return!1;let n=/^([a-zA-Z0-9_.+-])+\@(([a-zA-Z0-9-])+\.)+([a-zA-Z0-9]{2,4})+$/;for(let t of e){if(!Jl(t))return!1;if(!n.test(t))return!1}return!0},isEmpty:Du,isEvent:function(...e){if(!e.length)return!1;for(let n of e)if(!(n instanceof Event))return!1;return!0},isFocused:function(e,n=!1){return e===document.activeElement||n&&e.contains&&e.contains(document.activeElement)},isFunction:Ql,isHex:function(e){return Boolean(e.match(/^(0x)?[0-9a-f]+$/i))},isHostname:function(...e){if(!e.length)return!1;for(let n of e){if(!Jl(n))return!1;if(!Hc(n)&&!bbn.var.regexp.hostname.test(n))return!1}return!0},isInside:function(e,n){let t=oc(e);if(t.length){if(Jl(n)){let e=!1;return mu(t,t=>{if(t.matches&&t.matches(n))return e=!0,!1}),e}if(n instanceof HTMLElement)return t.indexOf(n)>-1}return!1},isInt:Xl,isInViewport:function(e,n=!1){const t=e.getBoundingClientRect();if(n)return t.top>=0&&t.left>=0&&t.right<=(window.innerWidth||document.documentElement.clientWidth)&&t.bottom<=(window.innerHeight||document.documentElement.clientHeight);const r=e.offsetHeight,o=e.offsetWidth;return t.top>=-r&&t.left>=-o&&t.right<=(window.innerWidth||document.documentElement.clientWidth)+o&&t.bottom<=(window.innerHeight||document.documentElement.clientHeight)+r},isIP:Hc,isIterable:su,isMobile:gc,isMobileDevice:Mc,isNotObject:Wd,isNull:zu,isNumber:au,isObject:ou,isPercent:function(...e){if(!e.length)return!1;for(let n of e)if("string"!=typeof n||!n.match(/^\d+(?:\.\d+)?%$/))return!1;return!0},isPrimitive:id,isPromise:function(...e){if(!e.length)return!1;for(let n of e)if("[object Promise]"!=={}.toString.apply(n))return!1;return!0},isPropSize:function(e){let n=!1;return mu(["width","height","gap","margin","padding","top","left","right","bottom"],t=>{if(-1!==e.indexOf(t))return n=!0,!1}),n},isSame:Nu,isSQLDate:function(...e){if(!e.length)return!1;for(let n of e)if("string"!=typeof n||!n.match(/^([1-2]\d{3})-((0\d)|(1[12]))-(([0-2]\d)|(3[01]))(?:( [0-2]\d):([0-5]\d):([0-5]\d))?$/))return!1;return!0},isString:Jl,isSymbol:kc,isTabletDevice:yc,isURL:function(...e){if(!e.length)return!1;for(let n of e)if(!bbn.var.regexp.url.test(n))return!1;return!0},isUid:function(...e){if(!e.length)return!1;for(let n of e)if("string"!=typeof n||!n.match(/^[0-9a-f]{32}$/i))return!1;return!0},isValidDimension:Ac,isValidName:function(...e){if(!e.length)return!1;for(let n of e)if(!Jl(n)||!/^[$A-Z_][0-9A-Z_$]*$/i.test(n))return!1;return!0},isVue:function(...e){if(!e.length)return!1;if("vue"in bbn&&window.Vue)if("app"in bbn.vue){for(let n of e)if(!n||"function"!=typeof n.render)return!1}else for(let n of e)if(!(n instanceof window.Vue))return!1;return!("cp"in bbn)||!("isComponent"in bbn.cp)||"function"!=typeof bbn.cp.isComponent||bbn.cp.isComponent(...e)},isWritable:function(e,n){let t;for(;e&&(t=Object.getOwnPropertyDescriptor(e,n),!t);)e=Object.getPrototypeOf(e);return!t||Boolean(t.writable||t.set)},iterate:ru,lightenDarkenHex:function(e,n){if(e&&n){let t="#"===e[0];e=t?e.slice(1):e;let r=parseInt(e,16),o=(r>>16)+n,i=(r>>8&255)+n,a=(255&r)+n;return o>255?o=255:o<0&&(o=0),i>255?i=255:i<0&&(i=0),a>255?a=255:a<0&&(a=0),(t?"#":"")+(a|i<<8|o<<16).toString(16)}},link:hc,log:eu,makeReactive:function e(n,t,r,o){const i=(null==r?void 0:r.$cid)||"",a="__bbn_"+(i?i+"_":"");if(n&&"object"==typeof n&&[void 0,Object,Array].includes(n.constructor)){if(n.__bbnIsProxy&&n.__bbnParent===r)return n;r&&r.$options&&"bbn-loadbar"===r.$options.name&&eu(["MAKING bbn-loadbar",n]),n.__bbnWatchers||Reflect.defineProperty(n,"__bbnWatchers",{value:jd(),writable:!0,configurable:!0,enumerable:!1});return new Proxy(n,{get(s,m){const l=Reflect.get(s,m),u=s.__bbnRoot||s;if(kc(m))return Reflect.get(u,m);const d=o?o+"."+m:m,c=a+(au(m)?m.toString():m);if(["fill","pop","push","reverse","shift","sort","splice","unshift"].includes(m)&&iu(s))return function(...e){let n=u[m](...e);return Ic("DOING ARRAY STUFF"),eu(s.__bbnParent),t(s,"length",r),n};if(Ql(l))return l;if("__bbnRoot"===m){let e=n;for(;e&&(null==e?void 0:e.__bbnTarget);)e=e.__bbnTarget;return e}return"__bbnIsProxy"===m||("__bbnTarget"===m?s:"__bbnParent"===m?r:"__bbnWatchers"===m?s.__bbnWatchers:0===m.indexOf("__bbn_")?Reflect.get(s,m):"length"===m&&iu(s.__bbnRoot||s)?u.length:m in s&&l&&"object"==typeof l&&[void 0,Object,Array].includes(l.constructor)?(l.__bbnIsProxy&&l.__bbnParent===r||(c in u||Reflect.defineProperty(u,c,{value:e(l,t,r,d),writable:!0,configurable:!0,enumerable:!1}),u[c].__bbnIsProxy&&!u.__bbnWatchers[i]&&(u.__bbnWatchers[i]=d)),u[c]):l)},set(n,s,m){if(kc(s))return Reflect.get(n,s,m);const l=n.__bbnRoot||n,u=o?o+"."+s:s;if(kc(s))return Reflect.get(n,s);if(r&&r.$options&&"bbn-loadbar"===r.$options.name&&eu(["Setting proxy prop in "+r.$options.name,n,s,m]),!Nu(l[s],m)){if(0===s.indexOf("__bbn_"))Reflect.defineProperty(l,s,{value:e(m,t,r,u),writable:!0,configurable:!0,enumerable:!1});else if(m&&"object"==typeof m&&[void 0,Object,Array].includes(m.constructor)){const n=a+(au(s)?s.toString():s);Reflect.defineProperty(l,n,{value:e(m,t,r,u),writable:!0,configurable:!0,enumerable:!1}),l[n].__bbnIsProxy&&!l.__bbnWatchers[i]&&(l.__bbnWatchers[i]=u)}r&&r.$options&&"bbn-loadbar"===r.$options.name&&eu(["Setting proxy prop in "+r.$options.name+" "+(au(s)?s.toString():s),m,n]),Reflect.set(l,s,m),t(n,s,r)}return!0},defineProperty(n,i,s){const m=n,l=o?o+"."+i:i;if("__bbnWatchers"===i||kc(i)||0===i.indexOf("__bbn_"))Reflect.defineProperty(m,i,s);else{const n=a+(au(i)?i.toString():i);Reflect.defineProperty(m,n,{value:e(s.value,t,r,l),writable:!0,configurable:!0,enumerable:!1})}return t(n,i,r),!0},deleteProperty(e,n){const t=e;if(0===n.indexOf("__bbn_"))Reflect.deleteProperty(t,n);else{const r=a+(au(n)?n.toString():n);Reflect.deleteProperty(t,r),Reflect.deleteProperty(e,n)}return!0}})}return n},map:function e(n,t,r,o=0){return n.map((n,i)=>(n=t(n,i,o),r&&n[r]&&iu(n[r])&&(n[r]=e(n[r],t,r,o+1)),n))},md5:Ou,microtimestamp:function(){return window.performance.now()+performance.timeOrigin},money:function(e,n,t,r,o,i,a){if(o||(o=void 0===o&&bbn.env.money&&void 0!==bbn.env.money.decimal?bbn.env.money.decimal:"."),t||(t=void 0===t&&bbn.env.money&&void 0!==bbn.env.money.currency?bbn.env.money.currency:""),i||(i=void 0===i&&bbn.env.money&&void 0!==bbn.env.money.thousands?bbn.env.money.thousands:" "),a||(a=void 0===a&&bbn.env.money&&void 0!==bbn.env.money.precision?bbn.env.money.precision:0),n||(n=!(void 0!==n||!bbn.env.money||void 0===bbn.env.money.kilo)&&bbn.env.money.kilo),r||(r=!(void 0!==r||!bbn.env.money||void 0===bbn.env.money.novalue)&&bbn.env.money.novalue),au(a)||(a=n?3:0),0===e&&"number"==typeof a&&a>0){let r=e.toFixed(a).replace(".",o);return t&&(r+=" "+(n?"K"+t:t)),r}if((isNaN(e)||!e)&&r)return r;if(isNaN(e)||!e)return 0+(t?" "+t:"");if("string"==typeof e&&(e=Number(e)),"number"!=typeof e)throw new Error("The value must be a number");n&&e&&(e/=1e3,t&&(t="K"+t));let s=e.toFixed(a),m=0,l=1e4;return s&&(l=s.indexOf("."),l<=0?l=1e4:m=s.length-l),s.replace(/./g,function(e,n,t){return"."===e?o:n&&(t.length-n-m)%3==0&&n<l?i+e:e})+(t?" "+t:"")},move:function(e,n,t){if(t>=e.length){let n=t-e.length;for(;1+n--;)e.push(void 0)}return e.splice(t,0,e.splice(n,1)[0]),e},multiorder:function(e,n){if(!n)return e;let t;if(Array.isArray(n)||"object"!=typeof n)t=n;else for(var r in t=[],n)t.push({field:r,dir:n[r]});if(!Array.isArray(t))throw new Error("The orders argument must be an array");return e.slice().sort((e,n)=>{let r;for(let o of t)if(r=Tu(e,n,o.field,o.dir),0!==r)return r;return 0})},mutateArray:function(e,n,t=null){if(!iu(e,n))throw new TypeError("mutateArray can only be called with arrays");t?Od(t,"function","The hash function must be a function"):t=Pu;const r=new Map(n.map(e=>[t(e),e]));let o=[];n.forEach(e=>{o.push(e)});let i=e.length;for(;i--;)r.has(t(e[i]))||e.splice(i,1);for(let n=0;n<o.length;n++)if(n>=e.length||!Nu(e[n],o[n])){const t=Ru(e,o[n]);if(-1!==t){const[r]=e.splice(t,1);e.splice(n,0,r)}else e.splice(n,0,o[n])}return e.length>o.length&&e.splice(o.length,e.length-o.length),e},mutateObject:function(e,n,t){if(!ou(e,n))throw new TypeError("mutateObject can only be called with objects parameters");t?Od(t,"function","The hash function must be a function"):t=Pu;const r=Object.keys(n);for(let n in e)r.includes(n)||delete e[n];return r.forEach(t=>{Nu(e[t],n[t])||(e[t]=n[t])}),e},nl2br:function(e,n){return Ku("\n","<br>"+(n?"\n":""),e)},numProperties:Su,objectToFormData:_c,order:function(e,n,t="asc"){return e?e.sort(function(e,r){return Tu(e,r,n,t)}):e},outerHeight:function(e){if((e=Cc(e))&&"offsetHeight"in e){let n=window.getComputedStyle(e),t=parseFloat(n.marginTop)+parseFloat(n.marginBottom);return Math.ceil(e.offsetHeight+t)}},outerWidth:function(e){e=Cc(e);let n=window.getComputedStyle(e),t=parseFloat(n.marginLeft)+parseFloat(n.marginRight);return Math.ceil(e.offsetWidth+t)},percent:function(e,n){return n/100*e},pickValue:function(e){if(Array.isArray(e)&&e.length)return e[Math.floor(Math.random()*e.length)]},post:Gc,postOut:function(e,n,t=null,r=""){let o=document.body.querySelector("form#bbn-form_out");o||(o=document.createElement("form"),o.classList.add("bbn-no"),o.setAttribute("id","bbn-form_out"),o.setAttribute("method","post"),o.setAttribute("enctype","multipart/form-data-encoded"),Pc(o,"style.display","none"),document.body.appendChild(o)),o instanceof HTMLFormElement&&(o.innerHTML="",o.setAttribute("action",e),o.setAttribute("target",r||"_blank"),n||(n={}),(n=jd(n)).bbn||(n.bbn="public"),qu(o,n),o.submit(),t&&t())},printf:function(e){var n=Array.prototype.slice.call(arguments,1);return e.replace(/{(\d+)}/g,function(e,t){return void 0!==n[t]?n[t]:e})},quotes2html:function(e,n){return n&&0!==n.toLowerCase().indexOf("s")||(e=Ku("'","&#39;",e)),n&&0!==n.toLowerCase().indexOf("d")||(e=Ku('"',"&quot;",e)),e},randomInt:Oc,randomString:function(e,n,t){let r,o,i={n:"0123456789",l:"abcdefghijklmnopqrstuvwxyz",u:"ABCDEFGHIJKLMNOPQRSTUVWXYZ"};t||(t="nlu"),e||(r=Oc(8,14)),"string"==typeof n?(t="n",delete i.l,delete i.u,i.n=n,r||(r=e)):"number"==typeof n&&e<n?r=Oc(e,n):e&&(r=e);let a="";for(let e=0;e<r;e++)0===e?"n"!==t&&(o=-1===t.indexOf("u")?"l":"u"):o=t[Math.floor(Math.random()*t.length)],a+=i[o][Math.floor(Math.random()*i[o].length)];return a},range:function(e,n,t){return Array.from({length:(n-e)/t+1},(n,r)=>e+r*t)},removeAccents:vu,removeEmpty:function(e){var n=[];if(iu(e))for(let t=0;t<e.length;t++){let r=!1;e[t]&&(iu(e[t])?e[t].length&&(r=!0):ou(e[t])?Su(e[t])&&(r=!0):r=!0),r&&n.push(e[t])}return n},removeExtraSpaces:function(e){return e.replace(/\s+/g," ").trim()},removeHtmlComments:mc,removePrivateProp:tu,removeTrailingChars:function(e,n){if(n||(n=" "),n.length){for(;nu(e,-n.length)===n;)e=nu(e,0,e.length-n.length);for(;nu(e,0,n.length)===n;)e=nu(e,n.length)}return e},repeat:function(e,n){return e.repeat(n)},replaceAll:Ku,replaceSelection:function(e,n){let t,r,o;if(t=window.getSelection(),t.getRangeAt&&t.rangeCount){if(r=window.getSelection().getRangeAt(0),r.deleteContents(),r.createContextualFragment)o=r.createContextualFragment(e);else{const n=document.createElement("div");let t;for(n.innerHTML=e,o=document.createDocumentFragment();t=n.firstChild;)o.appendChild(t)}const i=o.firstChild,a=o.lastChild;r.insertNode(o),t.removeAllRanges(),n?(i&&(r.setStartBefore(i),r.setEndAfter(a)),t.addRange(r)):(r.setStartAfter(a),t.addRange(r))}},resize:fc,rgb2hex:function(e){return(e=e.match(/^rgba?[\s+]?\([\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?/i))&&4===e.length?"#"+("0"+parseInt(e[1],10).toString(16)).slice(-2)+("0"+parseInt(e[2],10).toString(16)).slice(-2)+("0"+parseInt(e[3],10).toString(16)).slice(-2):""},riterate:function(e,n,t=!1){return ru(e,n,t,!0)},roundDecimal:function(e,n){return Number(Math.round(parseFloat(e+"e"+n+"e-"+n)))},sanitize:function(e,n="_"){let t=["[","]","{","}","(",")","-","+","*","/"],r="[";for(let e=0;e<n.length;e++)t.includes(n[e])&&(r+="\\"),r+=n[e];r+="]+";let o=new RegExp(r,"g");return Bc(vu(e).replace(/[^a-z0-9]/gi,n).replace(o,n),n)},search:Ru,selectElementText:function(e,n=null){if(n=n||window,e instanceof HTMLInputElement)return void e.select();let t,r,o=n.document;n.getSelection&&o.createRange?(t=n.getSelection(),r=o.createRange(),r.selectNodeContents(e),t.removeAllRanges(),t.addRange(r)):"createTextRange"in o.body&&"function"==typeof o.body.createTextRange&&(r=o.body.createTextRange(),r.moveToElementText(e),r.select())},selector:Cc,setCookie:function(e,n,t){let r="";if(t){let e=new Date;e.setTime(e.getTime()+24*t*60*60*1e3),r="; expires="+e.toUTCString()}let o=escape(JSON.stringify({value:n}));document.cookie=e+"="+o+r+"; path=/"},setCssVar:function(e,n){0!==e.indexOf("--")&&(e="--"+e),document.documentElement.style.setProperty(e,n)},setNavigationVars:cc,setProp:function(e,n,t,r=!0,o=!0){Object.defineProperty(e,n,{value:t,writable:r,configurable:o})},setProperty:Pc,shorten:Nc,shortenObj:function e(n,t=100){let r=Bd(n);return mu(r,(n,o)=>{Jl(n)&&n.length>t?r[o]=Nc(n,t):n&&"object"==typeof n&&(r[o]=e(n))}),r},shuffle:function(e){let n,t=e.length;for(;0!=t;)n=Math.floor(Math.random()*t),t--,[e[t],e[n]]=[e[n],e[t]];return e},simpleHash:ku,simpleHash1:Au,simpleHash2:Hu,startChrono:function(e){let n=bbn.fn.microtimestamp();return this.constructor.chronos||Object.defineProperty(this.constructor,"chronos",{value:Object.create(null),writable:!1,configurable:!1}),this.constructor.chronos[e||"default"]=n,e},stopChrono:function(e,n){if(this.constructor.chronos[e||"default"]){let t=bbn.fn.microtimestamp()-this.constructor.chronos[e||"default"];return delete this.constructor.chronos[e||"default"],n&&(t=Math.round(t)/1e3),t}throw Error("No chrono with name "+(e||"default"))},stream:function(e,n,t,r,o,i){const a=Ju(e,t,"json"),s=Zu(a);if(null==s?void 0:s.loader)return s.loader;t||(t={}),bbn.env.token&&(t._bbn_token=bbn.env.token);const m=new AbortController;let l="";const u=e=>{if(e.length){e=e.indexOf("\n")>-1?bbn.fn.removeEmpty(e.split("\n")):[e];for(let t in e)try{const r=JSON.parse(e[t]);(null==r?void 0:r.__bbn_stream_ping__)||n(r)}catch(e){throw e}}},d=fetch(e,{method:"POST",mode:"cors",cache:"no-cache",credentials:"same-origin",headers:{"Content-Type":"application/json"},redirect:"follow",referrerPolicy:"no-referrer",signal:m.signal,body:JSON.stringify(t||{})}).then(e=>{if(e.body){const r=e.body.getReader(),o=Ql(n);r.read().then(function e({done:s,value:m}){if(s)return Yu(a,t),l&&u(l),void(i&&i());if(o)if(l+=ed(m).trim(),bbn.fn.log(["STREAM RESULT",l.length,l]),l)try{u(l),l=""}catch(e){}else n();else bbn.fn.log(["STREAM SUCCESS IS FN? "+o]);return r.read().then(e)})}}).catch(n=>{let i=!(!(s=n)||!0!==s.__BBN_CANCEL__);var s;if(Yu(a,t,i),i){let t=1;Ql(o)&&(t=o(n.message,e)),t&&Fd(n.message,e)}else{let e=1;Ql(r)&&(e=r(n.request,n)),e&&Yd(n.request,n.response?n.response.data:"",n.response?n.response.status:n)}});return bu(a,d,m),d},string2ArrayBuffer:function(e){for(var n=new ArrayBuffer(2*e.length),t=new Uint16Array(n),r=0,o=e.length;r<o;r++)t[r]=e.charCodeAt(r);return n},submit:function(e,n,t){let r,o=e.getAttribute("action")||bbn.env.path;if(""===o&&(o="."),"string"==typeof o&&(0!==o.indexOf("http")||-1!==o.indexOf(window.document.location.hostname))&&!e.getAttribute("target")&&(n&&n.preventDefault(),r=tc(e),r)){e.setAttribute("action",null);const n=[o,r];!t&&e.getAttribute("data-script")&&(t=(t=new Function(e.getAttribute("data-script")))()),t&&n.push(t),Gc(...n)}},substr:nu,sum:function(e,n,t,r,o){let i=0;return mu(xd(e,t,r,o),e=>{let t="function"==typeof n?n(e):e[n];t&&(i+=parseFloat(t)||0)}),i},timestamp:pc,toCSV:function(e,n=",",t="",r='"'){n||(n=","),r||(r='"');let o="",i=e.length;return mu(e,(e,a)=>{let s=iu(e)?e.length:Object.values(e).length,m=0;mu(e,e=>{o+="string"==typeof e?r+Ku(r,"\\"+r,e)+r:0===e?"0":e&&e.toString?e.toString():r+r,m++,m<s&&(o+=n)}),a<i-1&&(o+=t+"\n")}),o},toggleFullScreen:function(){"mozRequestFullScreen"in window.document.documentElement?window.document.mozFullScreen?window.document.mozCancelFullScreen():"function"==typeof window.document.documentElement.mozRequestFullScreen&&window.document.documentElement.mozRequestFullScreen():"webkitRequestFullScreen"in window.document.documentElement?window.document.webkitIsFullScreen?window.document.webkitCancelFullScreen():"function"==typeof window.document.documentElement.webkitRequestFullScreen&&window.document.documentElement.webkitRequestFullScreen():"msRequestFullScreen"in window.document.documentElement?window.document.msFullscreenEnabled?window.document.msExitFullscreen():"function"==typeof window.document.documentElement.msRequestFullScreen&&window.document.documentElement.msRequestFullScreen():"requestFullscreen"in window.document&&(window.document.fullscreenEnabled?window.document.exitFullscreen():window.document.documentElement.requestFullscreen()),setTimeout(function(){fc()},0)},translate:function(e,n){let t=n?bbn.lng[0===n.indexOf("_")?n:"_"+n]:bbn.lng;ru(e,(e,n)=>{t[n]=e})},treatAjaxArguments:dc,treatForHash:Gu,trim:Bc,uniqString:function(...e){for(var n="",t=0;t<e.length;t++)if(e[t])if("object"==typeof e[t])if(iu(e[t]))n+=JSON.stringify(e[t]);else{let r={};mu(Object.keys(e[t]).sort(),n=>{r[n]=e[t][n]}),n+=JSON.stringify(r)}else"string"!=typeof e[t]?n+=e[t].toString():n+=e[t];else n+="__bbn_empty__";return Ou(n)},unique:rc,upload:function(e,n,t=null,r=null,o=null){const i=()=>Kl.run("post",e||bbn.env.path,{data:_c(n),headers:{},onUploadProgress(e){if(o){let n=Math.round(100*e.loaded/e.total);o(n,e.loaded,e.total)}}});return t||r?i().then(e=>{t&&(eu("SUCCESS",e),t(e))}).catch(e=>{r&&(eu("ERROR",e),r(e))}):i()},warning:Ic,yieldToBrowser:Qd};const Lc={version:"1.0.1",opt:{_cat:{}},app:{},_:Yl,$:function(e,n){if(null==n?void 0:n.querySelectorAll)return n.querySelectorAll(e);if(n)throw new Error("Invalid context");return document.body.querySelectorAll(e)},lng:{select_unselect_all:"Select/Clear all",select_all:"Select all",search:"Search",loading:"Loading...",choose:"Choose",error:"Error",server_response:"Server response",reload:"Reload",errorText:"Something went wrong",closeAll:"Close all",closeOthers:"Close others",pin:"Pin",arrange:"Arrange",cancel:"Cancel",unpin:"Unpin",yes:"Yes",no:"No",unknown:"Unknown",untitled:"Untitled",confirmation:"Confirmation",Today:"Today",Tomorrow:"Tomorrow",Yesterday:"Yesterday"},var:Zl,dt:Id,com:Kl,env:Wl,db:pu,fn:xc,info:[{value:"ajax",label:"Loading and streaming",description:"Functions related to Ajax requests",icon:"nf nf-fa-rocket"},{value:"browser",label:"Browser-only",description:"Functions that can only be run in the browser",icon:"nf nf-fa-desktop"},{value:"convert",label:"Conversion",description:"Functions related to data conversion",icon:"nf nf-fa-exchange"},{value:"datetime",label:"Date and time",description:"Functions related to dates and times",icon:"nf nf-fa-calendar"},{value:"form",label:"Form manipulation",description:"Functions related to form manipulation and validation",icon:"nf nf-fa-edit"},{value:"html",label:"HTML manipulation",description:"Functions related to HTML manipulation and DOM interaction",icon:"nf nf-fa-html5"},{value:"loop",label:"Looping",description:"Functions related to looping through arrays and objects",icon:"nf nf-fa-repeat"},{value:"misc",label:"Miscellaneous",description:"Miscellaneous functions that do not fit into other categories",icon:"nf nf-fa-cubes"},{value:"object",label:"Object manipulation",description:"Functions related to object manipulation and inspection",icon:"nf nf-fa-object_group"},{value:"phone",label:"Phone and contact",description:"Functions related to phone numbers and contact information",icon:"nf nf-fa-phone"},{value:"string",label:"String manipulation",description:"Functions related to string manipulation and formatting",icon:"nf nf-fa-text_height"},{value:"style",label:"Styling and layout",description:"Functions related to styling and layout management",icon:"nf nf-fa-paint_brush"},{value:"type",label:"Type checking",description:"Functions related to type checking and validation",icon:"nf nf-fa-check_square"}]};"undefined"!=typeof window&&(window.bbn=Lc,window.Temporal||(window.Temporal=jl));var jc=Object.freeze({__proto__:null,default:{AE:{firstDay:1,weekend:[6,7],minimalDays:1},AF:{firstDay:6,weekend:[4,5],minimalDays:1},AG:{firstDay:7,weekend:[6,7],minimalDays:1},AI:{firstDay:1,weekend:[6,7],minimalDays:1},AL:{firstDay:1,weekend:[6,7],minimalDays:1},AM:{firstDay:1,weekend:[6,7],minimalDays:1},AR:{firstDay:1,weekend:[6,7],minimalDays:1},AS:{firstDay:7,weekend:[6,7],minimalDays:1},AU:{firstDay:1,weekend:[6,7],minimalDays:1},AZ:{firstDay:1,weekend:[6,7],minimalDays:1},BA:{firstDay:1,weekend:[6,7],minimalDays:1},BD:{firstDay:7,weekend:[6,7],minimalDays:1},BH:{firstDay:6,weekend:[5,6],minimalDays:1},BM:{firstDay:1,weekend:[6,7],minimalDays:1},BN:{firstDay:1,weekend:[6,7],minimalDays:1},BR:{firstDay:7,weekend:[6,7],minimalDays:1},BS:{firstDay:7,weekend:[6,7],minimalDays:1},BT:{firstDay:7,weekend:[6,7],minimalDays:1},BW:{firstDay:7,weekend:[6,7],minimalDays:1},BY:{firstDay:1,weekend:[6,7],minimalDays:1},BZ:{firstDay:7,weekend:[6,7],minimalDays:1},CA:{firstDay:7,weekend:[6,7],minimalDays:1},CL:{firstDay:1,weekend:[6,7],minimalDays:1},CM:{firstDay:1,weekend:[6,7],minimalDays:1},CN:{firstDay:1,weekend:[6,7],minimalDays:1},CO:{firstDay:7,weekend:[6,7],minimalDays:1},CR:{firstDay:1,weekend:[6,7],minimalDays:1},CY:{firstDay:1,weekend:[6,7],minimalDays:1},DJ:{firstDay:6,weekend:[6,7],minimalDays:1},DM:{firstDay:7,weekend:[6,7],minimalDays:1},DO:{firstDay:7,weekend:[6,7],minimalDays:1},DZ:{firstDay:6,weekend:[5,6],minimalDays:1},EC:{firstDay:1,weekend:[6,7],minimalDays:1},EG:{firstDay:6,weekend:[5,6],minimalDays:1},ET:{firstDay:7,weekend:[6,7],minimalDays:1},"GB-alt-variant":{firstDay:7,weekend:[6,7],minimalDays:1},GE:{firstDay:1,weekend:[6,7],minimalDays:1},GT:{firstDay:7,weekend:[6,7],minimalDays:1},GU:{firstDay:7,weekend:[6,7],minimalDays:1},HK:{firstDay:7,weekend:[6,7],minimalDays:1},HN:{firstDay:7,weekend:[6,7],minimalDays:1},HR:{firstDay:1,weekend:[6,7],minimalDays:1},ID:{firstDay:7,weekend:[6,7],minimalDays:1},IL:{firstDay:7,weekend:[5,6],minimalDays:1},IN:{firstDay:7,weekend:[7],minimalDays:1},IQ:{firstDay:6,weekend:[5,6],minimalDays:1},IR:{firstDay:6,weekend:[5],minimalDays:1},IS:{firstDay:7,weekend:[6,7],minimalDays:4},JM:{firstDay:7,weekend:[6,7],minimalDays:1},JO:{firstDay:6,weekend:[5,6],minimalDays:1},JP:{firstDay:7,weekend:[6,7],minimalDays:1},KE:{firstDay:7,weekend:[6,7],minimalDays:1},KG:{firstDay:1,weekend:[6,7],minimalDays:1},KH:{firstDay:7,weekend:[6,7],minimalDays:1},KR:{firstDay:7,weekend:[6,7],minimalDays:1},KW:{firstDay:6,weekend:[5,6],minimalDays:1},KZ:{firstDay:1,weekend:[6,7],minimalDays:1},LA:{firstDay:7,weekend:[6,7],minimalDays:1},LB:{firstDay:1,weekend:[6,7],minimalDays:1},LK:{firstDay:1,weekend:[6,7],minimalDays:1},LV:{firstDay:1,weekend:[6,7],minimalDays:1},LY:{firstDay:6,weekend:[5,6],minimalDays:1},MD:{firstDay:1,weekend:[6,7],minimalDays:1},ME:{firstDay:1,weekend:[6,7],minimalDays:1},MH:{firstDay:7,weekend:[6,7],minimalDays:1},MK:{firstDay:1,weekend:[6,7],minimalDays:1},MM:{firstDay:7,weekend:[6,7],minimalDays:1},MN:{firstDay:1,weekend:[6,7],minimalDays:1},MO:{firstDay:7,weekend:[6,7],minimalDays:1},MT:{firstDay:7,weekend:[6,7],minimalDays:1},MV:{firstDay:5,weekend:[6,7],minimalDays:1},MX:{firstDay:7,weekend:[6,7],minimalDays:1},MY:{firstDay:1,weekend:[6,7],minimalDays:1},MZ:{firstDay:7,weekend:[6,7],minimalDays:1},NI:{firstDay:7,weekend:[6,7],minimalDays:1},NP:{firstDay:7,weekend:[6,7],minimalDays:1},NZ:{firstDay:1,weekend:[6,7],minimalDays:1},OM:{firstDay:6,weekend:[5,6],minimalDays:1},PA:{firstDay:7,weekend:[6,7],minimalDays:1},PE:{firstDay:7,weekend:[6,7],minimalDays:1},PH:{firstDay:7,weekend:[6,7],minimalDays:1},PK:{firstDay:7,weekend:[6,7],minimalDays:1},PR:{firstDay:7,weekend:[6,7],minimalDays:1},PT:{firstDay:7,weekend:[6,7],minimalDays:4},PY:{firstDay:7,weekend:[6,7],minimalDays:1},QA:{firstDay:6,weekend:[5,6],minimalDays:1},RO:{firstDay:1,weekend:[6,7],minimalDays:1},RS:{firstDay:1,weekend:[6,7],minimalDays:1},SA:{firstDay:7,weekend:[5,6],minimalDays:1},SD:{firstDay:6,weekend:[5,6],minimalDays:1},SG:{firstDay:7,weekend:[6,7],minimalDays:1},SI:{firstDay:1,weekend:[6,7],minimalDays:1},SV:{firstDay:7,weekend:[6,7],minimalDays:1},SY:{firstDay:6,weekend:[5,6],minimalDays:1},TH:{firstDay:7,weekend:[6,7],minimalDays:1},TJ:{firstDay:1,weekend:[6,7],minimalDays:1},TM:{firstDay:1,weekend:[6,7],minimalDays:1},TR:{firstDay:1,weekend:[6,7],minimalDays:1},TT:{firstDay:7,weekend:[6,7],minimalDays:1},TW:{firstDay:7,weekend:[6,7],minimalDays:1},UA:{firstDay:1,weekend:[6,7],minimalDays:1},UG:{firstDay:1,weekend:[7],minimalDays:1},UM:{firstDay:7,weekend:[6,7],minimalDays:1},US:{firstDay:7,weekend:[6,7],minimalDays:1},UY:{firstDay:1,weekend:[6,7],minimalDays:1},UZ:{firstDay:1,weekend:[6,7],minimalDays:1},VE:{firstDay:7,weekend:[6,7],minimalDays:1},VI:{firstDay:7,weekend:[6,7],minimalDays:1},VN:{firstDay:1,weekend:[6,7],minimalDays:1},WS:{firstDay:7,weekend:[6,7],minimalDays:1},XK:{firstDay:1,weekend:[6,7],minimalDays:1},YE:{firstDay:7,weekend:[5,6],minimalDays:1},ZA:{firstDay:7,weekend:[6,7],minimalDays:1},ZW:{firstDay:7,weekend:[6,7],minimalDays:1}}});Object.defineProperty(e,"__esModule",{value:!0});var Rc=require("tslib").__importDefault(require("./"));(0,require("./should-polyfill").shouldPolyfill)()&&Object.defineProperty(Intl,"RelativeTimeFormat",{value:Rc.default,writable:!0,enumerable:!1,configurable:!0});var Fc=Object.freeze({__proto__:null});Intl.RelativeTimeFormat&&"function"==typeof Intl.RelativeTimeFormat.__addLocaleData&&Intl.RelativeTimeFormat.__addLocaleData({data:{day:{"-1":"yesterday",0:"today",1:"tomorrow",future:{one:"in {0} day",other:"in {0} days"},past:{one:"{0} day ago",other:"{0} days ago"}},"day-narrow":{"-1":"yesterday",0:"today",1:"tomorrow",future:{one:"in {0}d",other:"in {0}d"},past:{one:"{0}d ago",other:"{0}d ago"}},"day-short":{"-1":"yesterday",0:"today",1:"tomorrow",future:{one:"in {0} day",other:"in {0} days"},past:{one:"{0} day ago",other:"{0} days ago"}},hour:{0:"this hour",future:{one:"in {0} hour",other:"in {0} hours"},past:{one:"{0} hour ago",other:"{0} hours ago"}},"hour-narrow":{0:"this hour",future:{one:"in {0}h",other:"in {0}h"},past:{one:"{0}h ago",other:"{0}h ago"}},"hour-short":{0:"this hour",future:{one:"in {0} hr.",other:"in {0} hr."},past:{one:"{0} hr. ago",other:"{0} hr. ago"}},minute:{0:"this minute",future:{one:"in {0} minute",other:"in {0} minutes"},past:{one:"{0} minute ago",other:"{0} minutes ago"}},"minute-narrow":{0:"this minute",future:{one:"in {0}m",other:"in {0}m"},past:{one:"{0}m ago",other:"{0}m ago"}},"minute-short":{0:"this minute",future:{one:"in {0} min.",other:"in {0} min."},past:{one:"{0} min. ago",other:"{0} min. ago"}},month:{"-1":"last month",0:"this month",1:"next month",future:{one:"in {0} month",other:"in {0} months"},past:{one:"{0} month ago",other:"{0} months ago"}},"month-narrow":{"-1":"last mo.",0:"this mo.",1:"next mo.",future:{one:"in {0}mo",other:"in {0}mo"},past:{one:"{0}mo ago",other:"{0}mo ago"}},"month-short":{"-1":"last mo.",0:"this mo.",1:"next mo.",future:{one:"in {0} mo.",other:"in {0} mo."},past:{one:"{0} mo. ago",other:"{0} mo. ago"}},nu:["latn"],quarter:{"-1":"last quarter",0:"this quarter",1:"next quarter",future:{one:"in {0} quarter",other:"in {0} quarters"},past:{one:"{0} quarter ago",other:"{0} quarters ago"}},"quarter-narrow":{"-1":"last qtr.",0:"this qtr.",1:"next qtr.",future:{one:"in {0}q",other:"in {0}q"},past:{one:"{0}q ago",other:"{0}q ago"}},"quarter-short":{"-1":"last qtr.",0:"this qtr.",1:"next qtr.",future:{one:"in {0} qtr.",other:"in {0} qtrs."},past:{one:"{0} qtr. ago",other:"{0} qtrs. ago"}},second:{0:"now",future:{one:"in {0} second",other:"in {0} seconds"},past:{one:"{0} second ago",other:"{0} seconds ago"}},"second-narrow":{0:"now",future:{one:"in {0}s",other:"in {0}s"},past:{one:"{0}s ago",other:"{0}s ago"}},"second-short":{0:"now",future:{one:"in {0} sec.",other:"in {0} sec."},past:{one:"{0} sec. ago",other:"{0} sec. ago"}},week:{"-1":"last week",0:"this week",1:"next week",future:{one:"in {0} week",other:"in {0} weeks"},past:{one:"{0} week ago",other:"{0} weeks ago"}},"week-narrow":{"-1":"last wk.",0:"this wk.",1:"next wk.",future:{one:"in {0}w",other:"in {0}w"},past:{one:"{0}w ago",other:"{0}w ago"}},"week-short":{"-1":"last wk.",0:"this wk.",1:"next wk.",future:{one:"in {0} wk.",other:"in {0} wk."},past:{one:"{0} wk. ago",other:"{0} wk. ago"}},year:{"-1":"last year",0:"this year",1:"next year",future:{one:"in {0} year",other:"in {0} years"},past:{one:"{0} year ago",other:"{0} years ago"}},"year-narrow":{"-1":"last yr.",0:"this yr.",1:"next yr.",future:{one:"in {0}y",other:"in {0}y"},past:{one:"{0}y ago",other:"{0}y ago"}},"year-short":{"-1":"last yr.",0:"this yr.",1:"next yr.",future:{one:"in {0} yr.",other:"in {0} yr."},past:{one:"{0} yr. ago",other:"{0} yr. ago"}}},locale:"en"});var Yc=Object.freeze({__proto__:null});Object.defineProperty(e,"__esModule",{value:!0});var Zc=require("./"),Wc=require("@formatjs/ecma402-abstract"),Uc=require("./should-polyfill"),qc=require("./src/to_locale_string");(0,Uc.shouldPolyfill)()&&((0,Wc.defineProperty)(Intl,"DateTimeFormat",{value:Zc.DateTimeFormat}),(0,Wc.defineProperty)(Date.prototype,"toLocaleString",{value:function(e,n){void 0===n&&(n={dateStyle:"short",timeStyle:"medium"});try{return(0,qc.toLocaleString)(this,e,n)}catch(e){return"Invalid Date"}}}),(0,Wc.defineProperty)(Date.prototype,"toLocaleDateString",{value:function(e,n){void 0===n&&(n={dateStyle:"short"});try{return(0,qc.toLocaleDateString)(this,e,n)}catch(e){return"Invalid Date"}}}),(0,Wc.defineProperty)(Date.prototype,"toLocaleTimeString",{value:function(e,n){void 0===n&&(n={timeStyle:"medium"});try{return(0,qc.toLocaleTimeString)(this,e,n)}catch(e){return"Invalid Date"}}}));var $c=Object.freeze({__proto__:null});Intl.DateTimeFormat&&"function"==typeof Intl.DateTimeFormat.__addLocaleData&&Intl.DateTimeFormat.__addLocaleData({data:{am:"AM",pm:"PM",weekday:{narrow:["S","M","T","W","T","F","S"],short:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],long:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},era:{narrow:{BC:"B",AD:"A"},short:{BC:"BC",AD:"AD"},long:{BC:"Before Christ",AD:"Anno Domini"}},month:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],short:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],long:["January","February","March","April","May","June","July","August","September","October","November","December"]},timeZoneName:{"America/Rio_Branco":{long:["Acre Standard Time","Acre Summer Time"]},"Asia/Kabul":{long:["Afghanistan Time","Afghanistan Time"]},"Africa/Maputo":{long:["Central Africa Time","Central Africa Time"]},"Africa/Bujumbura":{long:["Central Africa Time","Central Africa Time"]},"Africa/Gaborone":{long:["Central Africa Time","Central Africa Time"]},"Africa/Lubumbashi":{long:["Central Africa Time","Central Africa Time"]},"Africa/Blantyre":{long:["Central Africa Time","Central Africa Time"]},"Africa/Kigali":{long:["Central Africa Time","Central Africa Time"]},"Africa/Lusaka":{long:["Central Africa Time","Central Africa Time"]},"Africa/Harare":{long:["Central Africa Time","Central Africa Time"]},"Africa/Nairobi":{long:["East Africa Time","East Africa Time"]},"Africa/Djibouti":{long:["East Africa Time","East Africa Time"]},"Africa/Asmera":{long:["East Africa Time","East Africa Time"]},"Africa/Addis_Ababa":{long:["East Africa Time","East Africa Time"]},"Indian/Comoro":{long:["East Africa Time","East Africa Time"]},"Indian/Antananarivo":{long:["East Africa Time","East Africa Time"]},"Africa/Mogadishu":{long:["East Africa Time","East Africa Time"]},"Africa/Dar_es_Salaam":{long:["East Africa Time","East Africa Time"]},"Africa/Kampala":{long:["East Africa Time","East Africa Time"]},"Indian/Mayotte":{long:["East Africa Time","East Africa Time"]},"Africa/Johannesburg":{long:["South Africa Standard Time","South Africa Standard Time"]},"Africa/Maseru":{long:["South Africa Standard Time","South Africa Standard Time"]},"Africa/Mbabane":{long:["South Africa Standard Time","South Africa Standard Time"]},"Africa/Lagos":{long:["West Africa Standard Time","West Africa Summer Time"]},"Africa/Luanda":{long:["West Africa Standard Time","West Africa Summer Time"]},"Africa/Porto-Novo":{long:["West Africa Standard Time","West Africa Summer Time"]},"Africa/Kinshasa":{long:["West Africa Standard Time","West Africa Summer Time"]},"Africa/Bangui":{long:["West Africa Standard Time","West Africa Summer Time"]},"Africa/Brazzaville":{long:["West Africa Standard Time","West Africa Summer Time"]},"Africa/Douala":{long:["West Africa Standard Time","West Africa Summer Time"]},"Africa/Libreville":{long:["West Africa Standard Time","West Africa Summer Time"]},"Africa/Malabo":{long:["West Africa Standard Time","West Africa Summer Time"]},"Africa/Niamey":{long:["West Africa Standard Time","West Africa Summer Time"]},"Africa/Ndjamena":{long:["West Africa Standard Time","West Africa Summer Time"]},"Asia/Aqtobe":{long:["West Kazakhstan Time","West Kazakhstan Time"]},"America/Juneau":{long:["Alaska Standard Time","Alaska Daylight Time"],short:["AKST","AKDT"]},"Asia/Almaty":{long:["East Kazakhstan Time","East Kazakhstan Time"]},"America/Manaus":{long:["Amazon Standard Time","Amazon Summer Time"]},"America/Chicago":{long:["Central Standard Time","Central Daylight Time"],short:["CST","CDT"]},"America/Belize":{long:["Central Standard Time","Central Daylight Time"],short:["CST","CDT"]},"America/Winnipeg":{long:["Central Standard Time","Central Daylight Time"],short:["CST","CDT"]},"America/Costa_Rica":{long:["Central Standard Time","Central Daylight Time"],short:["CST","CDT"]},"America/Guatemala":{long:["Central Standard Time","Central Daylight Time"],short:["CST","CDT"]},"America/Tegucigalpa":{long:["Central Standard Time","Central Daylight Time"],short:["CST","CDT"]},"America/Mexico_City":{long:["Central Standard Time","Central Daylight Time"],short:["CST","CDT"]},"America/El_Salvador":{long:["Central Standard Time","Central Daylight Time"],short:["CST","CDT"]},"America/New_York":{long:["Eastern Standard Time","Eastern Daylight Time"],short:["EST","EDT"]},"America/Nassau":{long:["Eastern Standard Time","Eastern Daylight Time"],short:["EST","EDT"]},"America/Toronto":{long:["Eastern Standard Time","Eastern Daylight Time"],short:["EST","EDT"]},"America/Port-au-Prince":{long:["Eastern Standard Time","Eastern Daylight Time"],short:["EST","EDT"]},"America/Jamaica":{long:["Eastern Standard Time","Eastern Daylight Time"],short:["EST","EDT"]},"America/Cayman":{long:["Eastern Standard Time","Eastern Daylight Time"],short:["EST","EDT"]},"America/Panama":{long:["Eastern Standard Time","Eastern Daylight Time"],short:["EST","EDT"]},"America/Denver":{long:["Mountain Standard Time","Mountain Daylight Time"],short:["MST","MDT"]},"America/Edmonton":{long:["Mountain Standard Time","Mountain Daylight Time"],short:["MST","MDT"]},"America/Los_Angeles":{long:["Pacific Standard Time","Pacific Daylight Time"],short:["PST","PDT"]},"America/Vancouver":{long:["Pacific Standard Time","Pacific Daylight Time"],short:["PST","PDT"]},"America/Tijuana":{long:["Pacific Standard Time","Pacific Daylight Time"],short:["PST","PDT"]},"Asia/Anadyr":{long:["Anadyr Standard Time","Anadyr Summer Time"]},"Pacific/Apia":{long:["Apia Standard Time","Apia Daylight Time"]},"Asia/Riyadh":{long:["Arabian Standard Time","Arabian Daylight Time"]},"Asia/Bahrain":{long:["Arabian Standard Time","Arabian Daylight Time"]},"Asia/Baghdad":{long:["Arabian Standard Time","Arabian Daylight Time"]},"Asia/Kuwait":{long:["Arabian Standard Time","Arabian Daylight Time"]},"Asia/Qatar":{long:["Arabian Standard Time","Arabian Daylight Time"]},"Asia/Aden":{long:["Arabian Standard Time","Arabian Daylight Time"]},"America/Buenos_Aires":{long:["Argentina Standard Time","Argentina Summer Time"]},"America/Argentina/San_Luis":{long:["Western Argentina Standard Time","Western Argentina Summer Time"]},"Asia/Ashgabat":{long:["Turkmenistan Standard Time","Turkmenistan Summer Time"]},"America/Halifax":{long:["Atlantic Standard Time","Atlantic Daylight Time"],short:["AST","ADT"]},"America/Antigua":{long:["Atlantic Standard Time","Atlantic Daylight Time"],short:["AST","ADT"]},"America/Anguilla":{long:["Atlantic Standard Time","Atlantic Daylight Time"],short:["AST","ADT"]},"America/Aruba":{long:["Atlantic Standard Time","Atlantic Daylight Time"],short:["AST","ADT"]},"America/Barbados":{long:["Atlantic Standard Time","Atlantic Daylight Time"],short:["AST","ADT"]},"Atlantic/Bermuda":{long:["Atlantic Standard Time","Atlantic Daylight Time"],short:["AST","ADT"]},"America/Kralendijk":{long:["Atlantic Standard Time","Atlantic Daylight Time"],short:["AST","ADT"]},"America/Curacao":{long:["Atlantic Standard Time","Atlantic Daylight Time"],short:["AST","ADT"]},"America/Dominica":{long:["Atlantic Standard Time","Atlantic Daylight Time"],short:["AST","ADT"]},"America/Grenada":{long:["Atlantic Standard Time","Atlantic Daylight Time"],short:["AST","ADT"]},"America/Thule":{long:["Atlantic Standard Time","Atlantic Daylight Time"],short:["AST","ADT"]},"America/Guadeloupe":{long:["Atlantic Standard Time","Atlantic Daylight Time"],short:["AST","ADT"]},"America/St_Kitts":{long:["Atlantic Standard Time","Atlantic Daylight Time"],short:["AST","ADT"]},"America/St_Lucia":{long:["Atlantic Standard Time","Atlantic Daylight Time"],short:["AST","ADT"]},"America/Marigot":{long:["Atlantic Standard Time","Atlantic Daylight Time"],short:["AST","ADT"]},"America/Martinique":{long:["Atlantic Standard Time","Atlantic Daylight Time"],short:["AST","ADT"]},"America/Montserrat":{long:["Atlantic Standard Time","Atlantic Daylight Time"],short:["AST","ADT"]},"America/Puerto_Rico":{long:["Atlantic Standard Time","Atlantic Daylight Time"],short:["AST","ADT"]},"America/Lower_Princes":{long:["Atlantic Standard Time","Atlantic Daylight Time"],short:["AST","ADT"]},"America/Port_of_Spain":{long:["Atlantic Standard Time","Atlantic Daylight Time"],short:["AST","ADT"]},"America/St_Vincent":{long:["Atlantic Standard Time","Atlantic Daylight Time"],short:["AST","ADT"]},"America/Tortola":{long:["Atlantic Standard Time","Atlantic Daylight Time"],short:["AST","ADT"]},"America/St_Thomas":{long:["Atlantic Standard Time","Atlantic Daylight Time"],short:["AST","ADT"]},"Australia/Adelaide":{long:["Australian Central Standard Time","Australian Central Daylight Time"]},"Australia/Eucla":{long:["Australian Central Western Standard Time","Australian Central Western Daylight Time"]},"Australia/Sydney":{long:["Australian Eastern Standard Time","Australian Eastern Daylight Time"]},"Australia/Perth":{long:["Australian Western Standard Time","Australian Western Daylight Time"]},"Atlantic/Azores":{long:["Azores Standard Time","Azores Summer Time"]},"Asia/Thimphu":{long:["Bhutan Time","Bhutan Time"]},"America/La_Paz":{long:["Bolivia Time","Bolivia Time"]},"Asia/Kuching":{long:["Malaysia Time","Malaysia Time"]},"America/Sao_Paulo":{long:["Brasilia Standard Time","Brasilia Summer Time"]},"Europe/London":{long:["Greenwich Mean Time","Greenwich Mean Time"],short:["GMT","GMT"]},"Asia/Brunei":{long:["Brunei Darussalam Time","Brunei Darussalam Time"]},"Atlantic/Cape_Verde":{long:["Cape Verde Standard Time","Cape Verde Summer Time"]},"Antarctica/Casey":{long:["Casey Time","Casey Time"]},"Pacific/Saipan":{long:["North Mariana Islands Time","North Mariana Islands Time"]},"Pacific/Guam":{long:["Guam Standard Time","Guam Standard Time"]},"Pacific/Chatham":{long:["Chatham Standard Time","Chatham Daylight Time"]},"America/Santiago":{long:["Chile Standard Time","Chile Summer Time"]},"Asia/Shanghai":{long:["China Standard Time","China Daylight Time"]},"Indian/Christmas":{long:["Christmas Island Time","Christmas Island Time"]},"Indian/Cocos":{long:["Cocos Islands Time","Cocos Islands Time"]},"America/Bogota":{long:["Colombia Standard Time","Colombia Summer Time"]},"Pacific/Rarotonga":{long:["Cook Islands Standard Time","Cook Islands Half Summer Time"]},"America/Havana":{long:["Cuba Standard Time","Cuba Daylight Time"]},"Antarctica/Davis":{long:["Davis Time","Davis Time"]},"Antarctica/DumontDUrville":{long:["Dumont-d’Urville Time","Dumont-d’Urville Time"]},"Asia/Dushanbe":{long:["Tajikistan Time","Tajikistan Time"]},"America/Paramaribo":{long:["Suriname Time","Suriname Time"]},"Asia/Dili":{long:["East Timor Time","East Timor Time"]},"Pacific/Easter":{long:["Easter Island Standard Time","Easter Island Summer Time"]},"America/Guayaquil":{long:["Ecuador Time","Ecuador Time"]},"Europe/Paris":{long:["Central European Standard Time","Central European Summer Time"]},"Europe/Andorra":{long:["Central European Standard Time","Central European Summer Time"]},"Europe/Tirane":{long:["Central European Standard Time","Central European Summer Time"]},"Europe/Vienna":{long:["Central European Standard Time","Central European Summer Time"]},"Europe/Sarajevo":{long:["Central European Standard Time","Central European Summer Time"]},"Europe/Brussels":{long:["Central European Standard Time","Central European Summer Time"]},"Europe/Zurich":{long:["Central European Standard Time","Central European Summer Time"]},"Europe/Prague":{long:["Central European Standard Time","Central European Summer Time"]},"Europe/Berlin":{long:["Central European Standard Time","Central European Summer Time"]},"Europe/Copenhagen":{long:["Central European Standard Time","Central European Summer Time"]},"Europe/Madrid":{long:["Central European Standard Time","Central European Summer Time"]},"Europe/Gibraltar":{long:["Central European Standard Time","Central European Summer Time"]},"Europe/Zagreb":{long:["Central European Standard Time","Central European Summer Time"]},"Europe/Budapest":{long:["Central European Standard Time","Central European Summer Time"]},"Europe/Rome":{long:["Central European Standard Time","Central European Summer Time"]},"Europe/Vaduz":{long:["Central European Standard Time","Central European Summer Time"]},"Europe/Luxembourg":{long:["Central European Standard Time","Central European Summer Time"]},"Europe/Monaco":{long:["Central European Standard Time","Central European Summer Time"]},"Europe/Podgorica":{long:["Central European Standard Time","Central European Summer Time"]},"Europe/Skopje":{long:["Central European Standard Time","Central European Summer Time"]},"Europe/Malta":{long:["Central European Standard Time","Central European Summer Time"]},"Europe/Amsterdam":{long:["Central European Standard Time","Central European Summer Time"]},"Europe/Oslo":{long:["Central European Standard Time","Central European Summer Time"]},"Europe/Warsaw":{long:["Central European Standard Time","Central European Summer Time"]},"Europe/Belgrade":{long:["Central European Standard Time","Central European Summer Time"]},"Europe/Stockholm":{long:["Central European Standard Time","Central European Summer Time"]},"Europe/Ljubljana":{long:["Central European Standard Time","Central European Summer Time"]},"Arctic/Longyearbyen":{long:["Central European Standard Time","Central European Summer Time"]},"Europe/Bratislava":{long:["Central European Standard Time","Central European Summer Time"]},"Europe/San_Marino":{long:["Central European Standard Time","Central European Summer Time"]},"Africa/Tunis":{long:["Central European Standard Time","Central European Summer Time"]},"Europe/Vatican":{long:["Central European Standard Time","Central European Summer Time"]},"Europe/Bucharest":{long:["Eastern European Standard Time","Eastern European Summer Time"]},"Europe/Mariehamn":{long:["Eastern European Standard Time","Eastern European Summer Time"]},"Europe/Sofia":{long:["Eastern European Standard Time","Eastern European Summer Time"]},"Asia/Nicosia":{long:["Eastern European Standard Time","Eastern European Summer Time"]},"Africa/Cairo":{long:["Eastern European Standard Time","Eastern European Summer Time"]},"Europe/Helsinki":{long:["Eastern European Standard Time","Eastern European Summer Time"]},"Europe/Athens":{long:["Eastern European Standard Time","Eastern European Summer Time"]},"Asia/Beirut":{long:["Eastern European Standard Time","Eastern European Summer Time"]},"Europe/Minsk":{long:["Further-eastern European Time","Further-eastern European Time"]},"Europe/Kaliningrad":{long:["Further-eastern European Time","Further-eastern European Time"]},"Atlantic/Canary":{long:["Western European Standard Time","Western European Summer Time"]},"Atlantic/Faeroe":{long:["Western European Standard Time","Western European Summer Time"]},"Atlantic/Stanley":{long:["Falkland Islands Standard Time","Falkland Islands Summer Time"]},"Pacific/Fiji":{long:["Fiji Standard Time","Fiji Summer Time"]},"America/Cayenne":{long:["French Guiana Time","French Guiana Time"]},"Indian/Kerguelen":{long:["French Southern & Antarctic Time","French Southern & Antarctic Time"]},"Asia/Bishkek":{long:["Kyrgyzstan Time","Kyrgyzstan Time"]},"Pacific/Galapagos":{long:["Galapagos Time","Galapagos Time"]},"Pacific/Gambier":{long:["Gambier Time","Gambier Time"]},"Pacific/Tarawa":{long:["Gilbert Islands Time","Gilbert Islands Time"]},"Atlantic/Reykjavik":{long:["Greenwich Mean Time","Greenwich Mean Time"],short:["GMT","GMT"]},"Africa/Ouagadougou":{long:["Greenwich Mean Time","Greenwich Mean Time"],short:["GMT","GMT"]},"Africa/Abidjan":{long:["Greenwich Mean Time","Greenwich Mean Time"],short:["GMT","GMT"]},"Africa/Accra":{long:["Greenwich Mean Time","Greenwich Mean Time"],short:["GMT","GMT"]},"Africa/Banjul":{long:["Greenwich Mean Time","Greenwich Mean Time"],short:["GMT","GMT"]},"Africa/Conakry":{long:["Greenwich Mean Time","Greenwich Mean Time"],short:["GMT","GMT"]},"Africa/Bamako":{long:["Greenwich Mean Time","Greenwich Mean Time"],short:["GMT","GMT"]},"Africa/Nouakchott":{long:["Greenwich Mean Time","Greenwich Mean Time"],short:["GMT","GMT"]},"Atlantic/St_Helena":{long:["Greenwich Mean Time","Greenwich Mean Time"],short:["GMT","GMT"]},"Africa/Freetown":{long:["Greenwich Mean Time","Greenwich Mean Time"],short:["GMT","GMT"]},"Africa/Dakar":{long:["Greenwich Mean Time","Greenwich Mean Time"],short:["GMT","GMT"]},"Africa/Lome":{long:["Greenwich Mean Time","Greenwich Mean Time"],short:["GMT","GMT"]},"America/Godthab":{long:["West Greenland Standard Time","West Greenland Summer Time"]},"America/Scoresbysund":{long:["East Greenland Standard Time","East Greenland Summer Time"]},"Asia/Dubai":{long:["Gulf Standard Time","Gulf Standard Time"]},"Asia/Muscat":{long:["Gulf Standard Time","Gulf Standard Time"]},"America/Guyana":{long:["Guyana Time","Guyana Time"]},"Pacific/Honolulu":{long:["Hawaii-Aleutian Standard Time","Hawaii-Aleutian Daylight Time"],short:["HAST","HADT"]},"Asia/Hong_Kong":{long:["Hong Kong Standard Time","Hong Kong Summer Time"]},"Asia/Hovd":{long:["Hovd Standard Time","Hovd Summer Time"]},"Asia/Calcutta":{long:["India Standard Time","India Standard Time"]},"Asia/Colombo":{long:["Lanka Time","Lanka Time"]},"Indian/Chagos":{long:["Indian Ocean Time","Indian Ocean Time"]},"Asia/Bangkok":{long:["Indochina Time","Indochina Time"]},"Asia/Phnom_Penh":{long:["Indochina Time","Indochina Time"]},"Asia/Vientiane":{long:["Indochina Time","Indochina Time"]},"Asia/Makassar":{long:["Central Indonesia Time","Central Indonesia Time"]},"Asia/Jayapura":{long:["Eastern Indonesia Time","Eastern Indonesia Time"]},"Asia/Jakarta":{long:["Western Indonesia Time","Western Indonesia Time"]},"Asia/Tehran":{long:["Iran Standard Time","Iran Daylight Time"]},"Asia/Irkutsk":{long:["Irkutsk Standard Time","Irkutsk Summer Time"]},"Asia/Jerusalem":{long:["Israel Standard Time","Israel Daylight Time"]},"Asia/Tokyo":{long:["Japan Standard Time","Japan Daylight Time"]},"Asia/Kamchatka":{long:["Petropavlovsk-Kamchatski Standard Time","Petropavlovsk-Kamchatski Summer Time"]},"Asia/Karachi":{long:["Pakistan Standard Time","Pakistan Summer Time"]},"Asia/Qyzylorda":{long:["Qyzylorda Standard Time","Qyzylorda Summer Time"]},"Asia/Seoul":{long:["Korean Standard Time","Korean Daylight Time"]},"Pacific/Kosrae":{long:["Kosrae Time","Kosrae Time"]},"Asia/Krasnoyarsk":{long:["Krasnoyarsk Standard Time","Krasnoyarsk Summer Time"]},"Europe/Samara":{long:["Samara Standard Time","Samara Summer Time"]},"Pacific/Kiritimati":{long:["Line Islands Time","Line Islands Time"]},"Australia/Lord_Howe":{long:["Lord Howe Standard Time","Lord Howe Daylight Time"]},"Asia/Macau":{long:["Macao Standard Time","Macao Summer Time"]},"Asia/Magadan":{long:["Magadan Standard Time","Magadan Summer Time"]},"Indian/Maldives":{long:["Maldives Time","Maldives Time"]},"Pacific/Marquesas":{long:["Marquesas Time","Marquesas Time"]},"Pacific/Majuro":{long:["Marshall Islands Time","Marshall Islands Time"]},"Indian/Mauritius":{long:["Mauritius Standard Time","Mauritius Summer Time"]},"Antarctica/Mawson":{long:["Mawson Time","Mawson Time"]},"America/Mazatlan":{long:["Mexican Pacific Standard Time","Mexican Pacific Daylight Time"]},"Asia/Ulaanbaatar":{long:["Ulaanbaatar Standard Time","Ulaanbaatar Summer Time"]},"Europe/Moscow":{long:["Moscow Standard Time","Moscow Summer Time"]},"Asia/Rangoon":{long:["Myanmar Time","Myanmar Time"]},"Pacific/Nauru":{long:["Nauru Time","Nauru Time"]},"Asia/Katmandu":{long:["Nepal Time","Nepal Time"]},"Pacific/Noumea":{long:["New Caledonia Standard Time","New Caledonia Summer Time"]},"Pacific/Auckland":{long:["New Zealand Standard Time","New Zealand Daylight Time"]},"Antarctica/McMurdo":{long:["New Zealand Standard Time","New Zealand Daylight Time"]},"America/St_Johns":{long:["Newfoundland Standard Time","Newfoundland Daylight Time"]},"Pacific/Niue":{long:["Niue Time","Niue Time"]},"Pacific/Norfolk":{long:["Norfolk Island Standard Time","Norfolk Island Daylight Time"]},"America/Noronha":{long:["Fernando de Noronha Standard Time","Fernando de Noronha Summer Time"]},"Asia/Novosibirsk":{long:["Novosibirsk Standard Time","Novosibirsk Summer Time"]},"Asia/Omsk":{long:["Omsk Standard Time","Omsk Summer Time"]},"Pacific/Palau":{long:["Palau Time","Palau Time"]},"Pacific/Port_Moresby":{long:["Papua New Guinea Time","Papua New Guinea Time"]},"America/Asuncion":{long:["Paraguay Standard Time","Paraguay Summer Time"]},"America/Lima":{long:["Peru Standard Time","Peru Summer Time"]},"Asia/Manila":{long:["Philippine Standard Time","Philippine Summer Time"]},"Pacific/Enderbury":{long:["Phoenix Islands Time","Phoenix Islands Time"]},"America/Miquelon":{long:["St. Pierre & Miquelon Standard Time","St. Pierre & Miquelon Daylight Time"]},"Pacific/Pitcairn":{long:["Pitcairn Time","Pitcairn Time"]},"Pacific/Ponape":{long:["Ponape Time","Ponape Time"]},"Asia/Pyongyang":{long:["Pyongyang Time","Pyongyang Time"]},"Indian/Reunion":{long:["Réunion Time","Réunion Time"]},"Antarctica/Rothera":{long:["Rothera Time","Rothera Time"]},"Asia/Sakhalin":{long:["Sakhalin Standard Time","Sakhalin Summer Time"]},"Pacific/Pago_Pago":{long:["Samoa Standard Time","Samoa Daylight Time"]},"Indian/Mahe":{long:["Seychelles Time","Seychelles Time"]},"Asia/Singapore":{long:["Singapore Standard Time","Singapore Standard Time"]},"Pacific/Guadalcanal":{long:["Solomon Islands Time","Solomon Islands Time"]},"Atlantic/South_Georgia":{long:["South Georgia Time","South Georgia Time"]},"Asia/Yekaterinburg":{long:["Yekaterinburg Standard Time","Yekaterinburg Summer Time"]},"Antarctica/Syowa":{long:["Syowa Time","Syowa Time"]},"Pacific/Tahiti":{long:["Tahiti Time","Tahiti Time"]},"Asia/Taipei":{long:["Taipei Standard Time","Taipei Daylight Time"]},"Asia/Tashkent":{long:["Uzbekistan Standard Time","Uzbekistan Summer Time"]},"Pacific/Fakaofo":{long:["Tokelau Time","Tokelau Time"]},"Pacific/Tongatapu":{long:["Tonga Standard Time","Tonga Summer Time"]},"Pacific/Truk":{long:["Chuuk Time","Chuuk Time"]},"Pacific/Funafuti":{long:["Tuvalu Time","Tuvalu Time"]},"America/Montevideo":{long:["Uruguay Standard Time","Uruguay Summer Time"]},"Pacific/Efate":{long:["Vanuatu Standard Time","Vanuatu Summer Time"]},"America/Caracas":{long:["Venezuela Time","Venezuela Time"]},"Asia/Vladivostok":{long:["Vladivostok Standard Time","Vladivostok Summer Time"]},"Europe/Volgograd":{long:["Volgograd Standard Time","Volgograd Summer Time"]},"Antarctica/Vostok":{long:["Vostok Time","Vostok Time"]},"Pacific/Wake":{long:["Wake Island Time","Wake Island Time"]},"Pacific/Wallis":{long:["Wallis & Futuna Time","Wallis & Futuna Time"]},"Asia/Yakutsk":{long:["Yakutsk Standard Time","Yakutsk Summer Time"]},"America/Whitehorse":{long:["Yukon Time","Yukon Time"]},UTC:{long:["Coordinated Universal Time","Coordinated Universal Time"],short:["UTC","UTC"]}},gmtFormat:"GMT{0}",hourFormat:"+HH:mm;-HH:mm",dateFormat:{full:"EEEE, MMMM d, y",long:"MMMM d, y",medium:"MMM d, y",short:"M/d/yy"},timeFormat:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},dateTimeFormat:{full:"{1}, {0}",long:"{1}, {0}",medium:"{1}, {0}",short:"{1}, {0}"},formats:{gregory:{Bh:"h B",Bhm:"h:mm B",Bhms:"h:mm:ss B",d:"d",E:"ccc",EBhm:"E h:mm B",EBhms:"E h:mm:ss B",Ed:"d E",Ehm:"E h:mm a","Ehm-alt-ascii":"E h:mm a",EHm:"E HH:mm",Ehms:"E h:mm:ss a","Ehms-alt-ascii":"E h:mm:ss a",EHms:"E HH:mm:ss",Gy:"y G",GyMd:"M/d/y G",GyMMM:"MMM y G",GyMMMd:"MMM d, y G",GyMMMEd:"E, MMM d, y G",h:"h a","h-alt-ascii":"h a",H:"HH",hm:"h:mm a","hm-alt-ascii":"h:mm a",Hm:"HH:mm",hms:"h:mm:ss a","hms-alt-ascii":"h:mm:ss a",Hms:"HH:mm:ss",hmsv:"h:mm:ss a v","hmsv-alt-ascii":"h:mm:ss a v",Hmsv:"HH:mm:ss v",hmv:"h:mm a v","hmv-alt-ascii":"h:mm a v",Hmv:"HH:mm v",M:"L",Md:"M/d",MEd:"E, M/d",MMM:"LLL",MMMd:"MMM d",MMMEd:"E, MMM d",MMMMd:"MMMM d",ms:"mm:ss",y:"y",yM:"M/y",yMd:"M/d/y",yMEd:"E, M/d/y",yMMM:"MMM y",yMMMd:"MMM d, y",yMMMEd:"E, MMM d, y",yMMMM:"MMMM y","EEEE, MMMM d, y":"EEEE, MMMM d, y","MMMM d, y":"MMMM d, y","MMM d, y":"MMM d, y","M/d/yy":"M/d/yy","h:mm:ss a zzzz":"h:mm:ss a zzzz","h:mm:ss a zzzz":"h:mm:ss a zzzz","h:mm:ss a z":"h:mm:ss a z","h:mm:ss a z":"h:mm:ss a z","h:mm:ss a":"h:mm:ss a","h:mm:ss a":"h:mm:ss a","h:mm a":"h:mm a","h:mm a":"h:mm a","EEEE, MMMM d, y, h:mm:ss a zzzz":"EEEE, MMMM d, y, h:mm:ss a zzzz","MMMM d, y, h:mm:ss a zzzz":"MMMM d, y, h:mm:ss a zzzz","MMM d, y, h:mm:ss a zzzz":"MMM d, y, h:mm:ss a zzzz","M/d/yy, h:mm:ss a zzzz":"M/d/yy, h:mm:ss a zzzz","d, h:mm:ss a zzzz":"d, h:mm:ss a zzzz","E, h:mm:ss a zzzz":"ccc, h:mm:ss a zzzz","Ed, h:mm:ss a zzzz":"d E, h:mm:ss a zzzz","Gy, h:mm:ss a zzzz":"y G, h:mm:ss a zzzz","GyMd, h:mm:ss a zzzz":"M/d/y G, h:mm:ss a zzzz","GyMMM, h:mm:ss a zzzz":"MMM y G, h:mm:ss a zzzz","GyMMMd, h:mm:ss a zzzz":"MMM d, y G, h:mm:ss a zzzz","GyMMMEd, h:mm:ss a zzzz":"E, MMM d, y G, h:mm:ss a zzzz","M, h:mm:ss a zzzz":"L, h:mm:ss a zzzz","Md, h:mm:ss a zzzz":"M/d, h:mm:ss a zzzz","MEd, h:mm:ss a zzzz":"E, M/d, h:mm:ss a zzzz","MMM, h:mm:ss a zzzz":"LLL, h:mm:ss a zzzz","MMMd, h:mm:ss a zzzz":"MMM d, h:mm:ss a zzzz","MMMEd, h:mm:ss a zzzz":"E, MMM d, h:mm:ss a zzzz","MMMMd, h:mm:ss a zzzz":"MMMM d, h:mm:ss a zzzz","y, h:mm:ss a zzzz":"y, h:mm:ss a zzzz","yM, h:mm:ss a zzzz":"M/y, h:mm:ss a zzzz","yMd, h:mm:ss a zzzz":"M/d/y, h:mm:ss a zzzz","yMEd, h:mm:ss a zzzz":"E, M/d/y, h:mm:ss a zzzz","yMMM, h:mm:ss a zzzz":"MMM y, h:mm:ss a zzzz","yMMMd, h:mm:ss a zzzz":"MMM d, y, h:mm:ss a zzzz","yMMMEd, h:mm:ss a zzzz":"E, MMM d, y, h:mm:ss a zzzz","yMMMM, h:mm:ss a zzzz":"MMMM y, h:mm:ss a zzzz","EEEE, MMMM d, y, h:mm:ss a zzzz":"EEEE, MMMM d, y, h:mm:ss a zzzz","MMMM d, y, h:mm:ss a zzzz":"MMMM d, y, h:mm:ss a zzzz","MMM d, y, h:mm:ss a zzzz":"MMM d, y, h:mm:ss a zzzz","M/d/yy, h:mm:ss a zzzz":"M/d/yy, h:mm:ss a zzzz","d, h:mm:ss a zzzz":"d, h:mm:ss a zzzz","E, h:mm:ss a zzzz":"ccc, h:mm:ss a zzzz","Ed, h:mm:ss a zzzz":"d E, h:mm:ss a zzzz","Gy, h:mm:ss a zzzz":"y G, h:mm:ss a zzzz","GyMd, h:mm:ss a zzzz":"M/d/y G, h:mm:ss a zzzz","GyMMM, h:mm:ss a zzzz":"MMM y G, h:mm:ss a zzzz","GyMMMd, h:mm:ss a zzzz":"MMM d, y G, h:mm:ss a zzzz","GyMMMEd, h:mm:ss a zzzz":"E, MMM d, y G, h:mm:ss a zzzz","M, h:mm:ss a zzzz":"L, h:mm:ss a zzzz","Md, h:mm:ss a zzzz":"M/d, h:mm:ss a zzzz","MEd, h:mm:ss a zzzz":"E, M/d, h:mm:ss a zzzz","MMM, h:mm:ss a zzzz":"LLL, h:mm:ss a zzzz","MMMd, h:mm:ss a zzzz":"MMM d, h:mm:ss a zzzz","MMMEd, h:mm:ss a zzzz":"E, MMM d, h:mm:ss a zzzz","MMMMd, h:mm:ss a zzzz":"MMMM d, h:mm:ss a zzzz","y, h:mm:ss a zzzz":"y, h:mm:ss a zzzz","yM, h:mm:ss a zzzz":"M/y, h:mm:ss a zzzz","yMd, h:mm:ss a zzzz":"M/d/y, h:mm:ss a zzzz","yMEd, h:mm:ss a zzzz":"E, M/d/y, h:mm:ss a zzzz","yMMM, h:mm:ss a zzzz":"MMM y, h:mm:ss a zzzz","yMMMd, h:mm:ss a zzzz":"MMM d, y, h:mm:ss a zzzz","yMMMEd, h:mm:ss a zzzz":"E, MMM d, y, h:mm:ss a zzzz","yMMMM, h:mm:ss a zzzz":"MMMM y, h:mm:ss a zzzz","EEEE, MMMM d, y, h:mm:ss a z":"EEEE, MMMM d, y, h:mm:ss a z","MMMM d, y, h:mm:ss a z":"MMMM d, y, h:mm:ss a z","MMM d, y, h:mm:ss a z":"MMM d, y, h:mm:ss a z","M/d/yy, h:mm:ss a z":"M/d/yy, h:mm:ss a z","d, h:mm:ss a z":"d, h:mm:ss a z","E, h:mm:ss a z":"ccc, h:mm:ss a z","Ed, h:mm:ss a z":"d E, h:mm:ss a z","Gy, h:mm:ss a z":"y G, h:mm:ss a z","GyMd, h:mm:ss a z":"M/d/y G, h:mm:ss a z","GyMMM, h:mm:ss a z":"MMM y G, h:mm:ss a z","GyMMMd, h:mm:ss a z":"MMM d, y G, h:mm:ss a z","GyMMMEd, h:mm:ss a z":"E, MMM d, y G, h:mm:ss a z","M, h:mm:ss a z":"L, h:mm:ss a z","Md, h:mm:ss a z":"M/d, h:mm:ss a z","MEd, h:mm:ss a z":"E, M/d, h:mm:ss a z","MMM, h:mm:ss a z":"LLL, h:mm:ss a z","MMMd, h:mm:ss a z":"MMM d, h:mm:ss a z","MMMEd, h:mm:ss a z":"E, MMM d, h:mm:ss a z","MMMMd, h:mm:ss a z":"MMMM d, h:mm:ss a z","y, h:mm:ss a z":"y, h:mm:ss a z","yM, h:mm:ss a z":"M/y, h:mm:ss a z","yMd, h:mm:ss a z":"M/d/y, h:mm:ss a z","yMEd, h:mm:ss a z":"E, M/d/y, h:mm:ss a z","yMMM, h:mm:ss a z":"MMM y, h:mm:ss a z","yMMMd, h:mm:ss a z":"MMM d, y, h:mm:ss a z","yMMMEd, h:mm:ss a z":"E, MMM d, y, h:mm:ss a z","yMMMM, h:mm:ss a z":"MMMM y, h:mm:ss a z","EEEE, MMMM d, y, h:mm:ss a z":"EEEE, MMMM d, y, h:mm:ss a z","MMMM d, y, h:mm:ss a z":"MMMM d, y, h:mm:ss a z","MMM d, y, h:mm:ss a z":"MMM d, y, h:mm:ss a z","M/d/yy, h:mm:ss a z":"M/d/yy, h:mm:ss a z","d, h:mm:ss a z":"d, h:mm:ss a z","E, h:mm:ss a z":"ccc, h:mm:ss a z","Ed, h:mm:ss a z":"d E, h:mm:ss a z","Gy, h:mm:ss a z":"y G, h:mm:ss a z","GyMd, h:mm:ss a z":"M/d/y G, h:mm:ss a z","GyMMM, h:mm:ss a z":"MMM y G, h:mm:ss a z","GyMMMd, h:mm:ss a z":"MMM d, y G, h:mm:ss a z","GyMMMEd, h:mm:ss a z":"E, MMM d, y G, h:mm:ss a z","M, h:mm:ss a z":"L, h:mm:ss a z","Md, h:mm:ss a z":"M/d, h:mm:ss a z","MEd, h:mm:ss a z":"E, M/d, h:mm:ss a z","MMM, h:mm:ss a z":"LLL, h:mm:ss a z","MMMd, h:mm:ss a z":"MMM d, h:mm:ss a z","MMMEd, h:mm:ss a z":"E, MMM d, h:mm:ss a z","MMMMd, h:mm:ss a z":"MMMM d, h:mm:ss a z","y, h:mm:ss a z":"y, h:mm:ss a z","yM, h:mm:ss a z":"M/y, h:mm:ss a z","yMd, h:mm:ss a z":"M/d/y, h:mm:ss a z","yMEd, h:mm:ss a z":"E, M/d/y, h:mm:ss a z","yMMM, h:mm:ss a z":"MMM y, h:mm:ss a z","yMMMd, h:mm:ss a z":"MMM d, y, h:mm:ss a z","yMMMEd, h:mm:ss a z":"E, MMM d, y, h:mm:ss a z","yMMMM, h:mm:ss a z":"MMMM y, h:mm:ss a z","EEEE, MMMM d, y, h:mm:ss a":"EEEE, MMMM d, y, h:mm:ss a","MMMM d, y, h:mm:ss a":"MMMM d, y, h:mm:ss a","MMM d, y, h:mm:ss a":"MMM d, y, h:mm:ss a","M/d/yy, h:mm:ss a":"M/d/yy, h:mm:ss a","d, h:mm:ss a":"d, h:mm:ss a","E, h:mm:ss a":"ccc, h:mm:ss a","Ed, h:mm:ss a":"d E, h:mm:ss a","Gy, h:mm:ss a":"y G, h:mm:ss a","GyMd, h:mm:ss a":"M/d/y G, h:mm:ss a","GyMMM, h:mm:ss a":"MMM y G, h:mm:ss a","GyMMMd, h:mm:ss a":"MMM d, y G, h:mm:ss a","GyMMMEd, h:mm:ss a":"E, MMM d, y G, h:mm:ss a","M, h:mm:ss a":"L, h:mm:ss a","Md, h:mm:ss a":"M/d, h:mm:ss a","MEd, h:mm:ss a":"E, M/d, h:mm:ss a","MMM, h:mm:ss a":"LLL, h:mm:ss a","MMMd, h:mm:ss a":"MMM d, h:mm:ss a","MMMEd, h:mm:ss a":"E, MMM d, h:mm:ss a","MMMMd, h:mm:ss a":"MMMM d, h:mm:ss a","y, h:mm:ss a":"y, h:mm:ss a","yM, h:mm:ss a":"M/y, h:mm:ss a","yMd, h:mm:ss a":"M/d/y, h:mm:ss a","yMEd, h:mm:ss a":"E, M/d/y, h:mm:ss a","yMMM, h:mm:ss a":"MMM y, h:mm:ss a","yMMMd, h:mm:ss a":"MMM d, y, h:mm:ss a","yMMMEd, h:mm:ss a":"E, MMM d, y, h:mm:ss a","yMMMM, h:mm:ss a":"MMMM y, h:mm:ss a","EEEE, MMMM d, y, h:mm:ss a":"EEEE, MMMM d, y, h:mm:ss a","MMMM d, y, h:mm:ss a":"MMMM d, y, h:mm:ss a","MMM d, y, h:mm:ss a":"MMM d, y, h:mm:ss a","M/d/yy, h:mm:ss a":"M/d/yy, h:mm:ss a","d, h:mm:ss a":"d, h:mm:ss a","E, h:mm:ss a":"ccc, h:mm:ss a","Ed, h:mm:ss a":"d E, h:mm:ss a","Gy, h:mm:ss a":"y G, h:mm:ss a","GyMd, h:mm:ss a":"M/d/y G, h:mm:ss a","GyMMM, h:mm:ss a":"MMM y G, h:mm:ss a","GyMMMd, h:mm:ss a":"MMM d, y G, h:mm:ss a","GyMMMEd, h:mm:ss a":"E, MMM d, y G, h:mm:ss a","M, h:mm:ss a":"L, h:mm:ss a","Md, h:mm:ss a":"M/d, h:mm:ss a","MEd, h:mm:ss a":"E, M/d, h:mm:ss a","MMM, h:mm:ss a":"LLL, h:mm:ss a","MMMd, h:mm:ss a":"MMM d, h:mm:ss a","MMMEd, h:mm:ss a":"E, MMM d, h:mm:ss a","MMMMd, h:mm:ss a":"MMMM d, h:mm:ss a","y, h:mm:ss a":"y, h:mm:ss a","yM, h:mm:ss a":"M/y, h:mm:ss a","yMd, h:mm:ss a":"M/d/y, h:mm:ss a","yMEd, h:mm:ss a":"E, M/d/y, h:mm:ss a","yMMM, h:mm:ss a":"MMM y, h:mm:ss a","yMMMd, h:mm:ss a":"MMM d, y, h:mm:ss a","yMMMEd, h:mm:ss a":"E, MMM d, y, h:mm:ss a","yMMMM, h:mm:ss a":"MMMM y, h:mm:ss a","EEEE, MMMM d, y, h:mm a":"EEEE, MMMM d, y, h:mm a","MMMM d, y, h:mm a":"MMMM d, y, h:mm a","MMM d, y, h:mm a":"MMM d, y, h:mm a","M/d/yy, h:mm a":"M/d/yy, h:mm a","d, h:mm a":"d, h:mm a","E, h:mm a":"ccc, h:mm a","Ed, h:mm a":"d E, h:mm a","Gy, h:mm a":"y G, h:mm a","GyMd, h:mm a":"M/d/y G, h:mm a","GyMMM, h:mm a":"MMM y G, h:mm a","GyMMMd, h:mm a":"MMM d, y G, h:mm a","GyMMMEd, h:mm a":"E, MMM d, y G, h:mm a","M, h:mm a":"L, h:mm a","Md, h:mm a":"M/d, h:mm a","MEd, h:mm a":"E, M/d, h:mm a","MMM, h:mm a":"LLL, h:mm a","MMMd, h:mm a":"MMM d, h:mm a","MMMEd, h:mm a":"E, MMM d, h:mm a","MMMMd, h:mm a":"MMMM d, h:mm a","y, h:mm a":"y, h:mm a","yM, h:mm a":"M/y, h:mm a","yMd, h:mm a":"M/d/y, h:mm a","yMEd, h:mm a":"E, M/d/y, h:mm a","yMMM, h:mm a":"MMM y, h:mm a","yMMMd, h:mm a":"MMM d, y, h:mm a","yMMMEd, h:mm a":"E, MMM d, y, h:mm a","yMMMM, h:mm a":"MMMM y, h:mm a","EEEE, MMMM d, y, h:mm a":"EEEE, MMMM d, y, h:mm a","MMMM d, y, h:mm a":"MMMM d, y, h:mm a","MMM d, y, h:mm a":"MMM d, y, h:mm a","M/d/yy, h:mm a":"M/d/yy, h:mm a","d, h:mm a":"d, h:mm a","E, h:mm a":"ccc, h:mm a","Ed, h:mm a":"d E, h:mm a","Gy, h:mm a":"y G, h:mm a","GyMd, h:mm a":"M/d/y G, h:mm a","GyMMM, h:mm a":"MMM y G, h:mm a","GyMMMd, h:mm a":"MMM d, y G, h:mm a","GyMMMEd, h:mm a":"E, MMM d, y G, h:mm a","M, h:mm a":"L, h:mm a","Md, h:mm a":"M/d, h:mm a","MEd, h:mm a":"E, M/d, h:mm a","MMM, h:mm a":"LLL, h:mm a","MMMd, h:mm a":"MMM d, h:mm a","MMMEd, h:mm a":"E, MMM d, h:mm a","MMMMd, h:mm a":"MMMM d, h:mm a","y, h:mm a":"y, h:mm a","yM, h:mm a":"M/y, h:mm a","yMd, h:mm a":"M/d/y, h:mm a","yMEd, h:mm a":"E, M/d/y, h:mm a","yMMM, h:mm a":"MMM y, h:mm a","yMMMd, h:mm a":"MMM d, y, h:mm a","yMMMEd, h:mm a":"E, MMM d, y, h:mm a","yMMMM, h:mm a":"MMMM y, h:mm a","EEEE, MMMM d, y, Bh":"EEEE, MMMM d, y, h B","MMMM d, y, Bh":"MMMM d, y, h B","MMM d, y, Bh":"MMM d, y, h B","M/d/yy, Bh":"M/d/yy, h B","d, Bh":"d, h B","E, Bh":"ccc, h B","Ed, Bh":"d E, h B","Gy, Bh":"y G, h B","GyMd, Bh":"M/d/y G, h B","GyMMM, Bh":"MMM y G, h B","GyMMMd, Bh":"MMM d, y G, h B","GyMMMEd, Bh":"E, MMM d, y G, h B","M, Bh":"L, h B","Md, Bh":"M/d, h B","MEd, Bh":"E, M/d, h B","MMM, Bh":"LLL, h B","MMMd, Bh":"MMM d, h B","MMMEd, Bh":"E, MMM d, h B","MMMMd, Bh":"MMMM d, h B","y, Bh":"y, h B","yM, Bh":"M/y, h B","yMd, Bh":"M/d/y, h B","yMEd, Bh":"E, M/d/y, h B","yMMM, Bh":"MMM y, h B","yMMMd, Bh":"MMM d, y, h B","yMMMEd, Bh":"E, MMM d, y, h B","yMMMM, Bh":"MMMM y, h B","EEEE, MMMM d, y, Bhm":"EEEE, MMMM d, y, h:mm B","MMMM d, y, Bhm":"MMMM d, y, h:mm B","MMM d, y, Bhm":"MMM d, y, h:mm B","M/d/yy, Bhm":"M/d/yy, h:mm B","d, Bhm":"d, h:mm B","E, Bhm":"ccc, h:mm B","Ed, Bhm":"d E, h:mm B","Gy, Bhm":"y G, h:mm B","GyMd, Bhm":"M/d/y G, h:mm B","GyMMM, Bhm":"MMM y G, h:mm B","GyMMMd, Bhm":"MMM d, y G, h:mm B","GyMMMEd, Bhm":"E, MMM d, y G, h:mm B","M, Bhm":"L, h:mm B","Md, Bhm":"M/d, h:mm B","MEd, Bhm":"E, M/d, h:mm B","MMM, Bhm":"LLL, h:mm B","MMMd, Bhm":"MMM d, h:mm B","MMMEd, Bhm":"E, MMM d, h:mm B","MMMMd, Bhm":"MMMM d, h:mm B","y, Bhm":"y, h:mm B","yM, Bhm":"M/y, h:mm B","yMd, Bhm":"M/d/y, h:mm B","yMEd, Bhm":"E, M/d/y, h:mm B","yMMM, Bhm":"MMM y, h:mm B","yMMMd, Bhm":"MMM d, y, h:mm B","yMMMEd, Bhm":"E, MMM d, y, h:mm B","yMMMM, Bhm":"MMMM y, h:mm B","EEEE, MMMM d, y, Bhms":"EEEE, MMMM d, y, h:mm:ss B","MMMM d, y, Bhms":"MMMM d, y, h:mm:ss B","MMM d, y, Bhms":"MMM d, y, h:mm:ss B","M/d/yy, Bhms":"M/d/yy, h:mm:ss B","d, Bhms":"d, h:mm:ss B","E, Bhms":"ccc, h:mm:ss B","Ed, Bhms":"d E, h:mm:ss B","Gy, Bhms":"y G, h:mm:ss B","GyMd, Bhms":"M/d/y G, h:mm:ss B","GyMMM, Bhms":"MMM y G, h:mm:ss B","GyMMMd, Bhms":"MMM d, y G, h:mm:ss B","GyMMMEd, Bhms":"E, MMM d, y G, h:mm:ss B","M, Bhms":"L, h:mm:ss B","Md, Bhms":"M/d, h:mm:ss B","MEd, Bhms":"E, M/d, h:mm:ss B","MMM, Bhms":"LLL, h:mm:ss B","MMMd, Bhms":"MMM d, h:mm:ss B","MMMEd, Bhms":"E, MMM d, h:mm:ss B","MMMMd, Bhms":"MMMM d, h:mm:ss B","y, Bhms":"y, h:mm:ss B","yM, Bhms":"M/y, h:mm:ss B","yMd, Bhms":"M/d/y, h:mm:ss B","yMEd, Bhms":"E, M/d/y, h:mm:ss B","yMMM, Bhms":"MMM y, h:mm:ss B","yMMMd, Bhms":"MMM d, y, h:mm:ss B","yMMMEd, Bhms":"E, MMM d, y, h:mm:ss B","yMMMM, Bhms":"MMMM y, h:mm:ss B","EEEE, MMMM d, y, h":"EEEE, MMMM d, y, h a","MMMM d, y, h":"MMMM d, y, h a","MMM d, y, h":"MMM d, y, h a","M/d/yy, h":"M/d/yy, h a","d, h":"d, h a","E, h":"ccc, h a","Ed, h":"d E, h a","Gy, h":"y G, h a","GyMd, h":"M/d/y G, h a","GyMMM, h":"MMM y G, h a","GyMMMd, h":"MMM d, y G, h a","GyMMMEd, h":"E, MMM d, y G, h a","M, h":"L, h a","Md, h":"M/d, h a","MEd, h":"E, M/d, h a","MMM, h":"LLL, h a","MMMd, h":"MMM d, h a","MMMEd, h":"E, MMM d, h a","MMMMd, h":"MMMM d, h a","y, h":"y, h a","yM, h":"M/y, h a","yMd, h":"M/d/y, h a","yMEd, h":"E, M/d/y, h a","yMMM, h":"MMM y, h a","yMMMd, h":"MMM d, y, h a","yMMMEd, h":"E, MMM d, y, h a","yMMMM, h":"MMMM y, h a","EEEE, MMMM d, y, H":"EEEE, MMMM d, y, HH","MMMM d, y, H":"MMMM d, y, HH","MMM d, y, H":"MMM d, y, HH","M/d/yy, H":"M/d/yy, HH","d, H":"d, HH","E, H":"ccc, HH","Ed, H":"d E, HH","Gy, H":"y G, HH","GyMd, H":"M/d/y G, HH","GyMMM, H":"MMM y G, HH","GyMMMd, H":"MMM d, y G, HH","GyMMMEd, H":"E, MMM d, y G, HH","M, H":"L, HH","Md, H":"M/d, HH","MEd, H":"E, M/d, HH","MMM, H":"LLL, HH","MMMd, H":"MMM d, HH","MMMEd, H":"E, MMM d, HH","MMMMd, H":"MMMM d, HH","y, H":"y, HH","yM, H":"M/y, HH","yMd, H":"M/d/y, HH","yMEd, H":"E, M/d/y, HH","yMMM, H":"MMM y, HH","yMMMd, H":"MMM d, y, HH","yMMMEd, H":"E, MMM d, y, HH","yMMMM, H":"MMMM y, HH","EEEE, MMMM d, y, hm":"EEEE, MMMM d, y, h:mm a","MMMM d, y, hm":"MMMM d, y, h:mm a","MMM d, y, hm":"MMM d, y, h:mm a","M/d/yy, hm":"M/d/yy, h:mm a","d, hm":"d, h:mm a","E, hm":"ccc, h:mm a","Ed, hm":"d E, h:mm a","Gy, hm":"y G, h:mm a","GyMd, hm":"M/d/y G, h:mm a","GyMMM, hm":"MMM y G, h:mm a","GyMMMd, hm":"MMM d, y G, h:mm a","GyMMMEd, hm":"E, MMM d, y G, h:mm a","M, hm":"L, h:mm a","Md, hm":"M/d, h:mm a","MEd, hm":"E, M/d, h:mm a","MMM, hm":"LLL, h:mm a","MMMd, hm":"MMM d, h:mm a","MMMEd, hm":"E, MMM d, h:mm a","MMMMd, hm":"MMMM d, h:mm a","y, hm":"y, h:mm a","yM, hm":"M/y, h:mm a","yMd, hm":"M/d/y, h:mm a","yMEd, hm":"E, M/d/y, h:mm a","yMMM, hm":"MMM y, h:mm a","yMMMd, hm":"MMM d, y, h:mm a","yMMMEd, hm":"E, MMM d, y, h:mm a","yMMMM, hm":"MMMM y, h:mm a","EEEE, MMMM d, y, Hm":"EEEE, MMMM d, y, HH:mm","MMMM d, y, Hm":"MMMM d, y, HH:mm","MMM d, y, Hm":"MMM d, y, HH:mm","M/d/yy, Hm":"M/d/yy, HH:mm","d, Hm":"d, HH:mm","E, Hm":"ccc, HH:mm","Ed, Hm":"d E, HH:mm","Gy, Hm":"y G, HH:mm","GyMd, Hm":"M/d/y G, HH:mm","GyMMM, Hm":"MMM y G, HH:mm","GyMMMd, Hm":"MMM d, y G, HH:mm","GyMMMEd, Hm":"E, MMM d, y G, HH:mm","M, Hm":"L, HH:mm","Md, Hm":"M/d, HH:mm","MEd, Hm":"E, M/d, HH:mm","MMM, Hm":"LLL, HH:mm","MMMd, Hm":"MMM d, HH:mm","MMMEd, Hm":"E, MMM d, HH:mm","MMMMd, Hm":"MMMM d, HH:mm","y, Hm":"y, HH:mm","yM, Hm":"M/y, HH:mm","yMd, Hm":"M/d/y, HH:mm","yMEd, Hm":"E, M/d/y, HH:mm","yMMM, Hm":"MMM y, HH:mm","yMMMd, Hm":"MMM d, y, HH:mm","yMMMEd, Hm":"E, MMM d, y, HH:mm","yMMMM, Hm":"MMMM y, HH:mm","EEEE, MMMM d, y, hms":"EEEE, MMMM d, y, h:mm:ss a","MMMM d, y, hms":"MMMM d, y, h:mm:ss a","MMM d, y, hms":"MMM d, y, h:mm:ss a","M/d/yy, hms":"M/d/yy, h:mm:ss a","d, hms":"d, h:mm:ss a","E, hms":"ccc, h:mm:ss a","Ed, hms":"d E, h:mm:ss a","Gy, hms":"y G, h:mm:ss a","GyMd, hms":"M/d/y G, h:mm:ss a","GyMMM, hms":"MMM y G, h:mm:ss a","GyMMMd, hms":"MMM d, y G, h:mm:ss a","GyMMMEd, hms":"E, MMM d, y G, h:mm:ss a","M, hms":"L, h:mm:ss a","Md, hms":"M/d, h:mm:ss a","MEd, hms":"E, M/d, h:mm:ss a","MMM, hms":"LLL, h:mm:ss a","MMMd, hms":"MMM d, h:mm:ss a","MMMEd, hms":"E, MMM d, h:mm:ss a","MMMMd, hms":"MMMM d, h:mm:ss a","y, hms":"y, h:mm:ss a","yM, hms":"M/y, h:mm:ss a","yMd, hms":"M/d/y, h:mm:ss a","yMEd, hms":"E, M/d/y, h:mm:ss a","yMMM, hms":"MMM y, h:mm:ss a","yMMMd, hms":"MMM d, y, h:mm:ss a","yMMMEd, hms":"E, MMM d, y, h:mm:ss a","yMMMM, hms":"MMMM y, h:mm:ss a","EEEE, MMMM d, y, Hms":"EEEE, MMMM d, y, HH:mm:ss","MMMM d, y, Hms":"MMMM d, y, HH:mm:ss","MMM d, y, Hms":"MMM d, y, HH:mm:ss","M/d/yy, Hms":"M/d/yy, HH:mm:ss","d, Hms":"d, HH:mm:ss","E, Hms":"ccc, HH:mm:ss","Ed, Hms":"d E, HH:mm:ss","Gy, Hms":"y G, HH:mm:ss","GyMd, Hms":"M/d/y G, HH:mm:ss","GyMMM, Hms":"MMM y G, HH:mm:ss","GyMMMd, Hms":"MMM d, y G, HH:mm:ss","GyMMMEd, Hms":"E, MMM d, y G, HH:mm:ss","M, Hms":"L, HH:mm:ss","Md, Hms":"M/d, HH:mm:ss","MEd, Hms":"E, M/d, HH:mm:ss","MMM, Hms":"LLL, HH:mm:ss","MMMd, Hms":"MMM d, HH:mm:ss","MMMEd, Hms":"E, MMM d, HH:mm:ss","MMMMd, Hms":"MMMM d, HH:mm:ss","y, Hms":"y, HH:mm:ss","yM, Hms":"M/y, HH:mm:ss","yMd, Hms":"M/d/y, HH:mm:ss","yMEd, Hms":"E, M/d/y, HH:mm:ss","yMMM, Hms":"MMM y, HH:mm:ss","yMMMd, Hms":"MMM d, y, HH:mm:ss","yMMMEd, Hms":"E, MMM d, y, HH:mm:ss","yMMMM, Hms":"MMMM y, HH:mm:ss","EEEE, MMMM d, y, hmsv":"EEEE, MMMM d, y, h:mm:ss a v","MMMM d, y, hmsv":"MMMM d, y, h:mm:ss a v","MMM d, y, hmsv":"MMM d, y, h:mm:ss a v","M/d/yy, hmsv":"M/d/yy, h:mm:ss a v","d, hmsv":"d, h:mm:ss a v","E, hmsv":"ccc, h:mm:ss a v","Ed, hmsv":"d E, h:mm:ss a v","Gy, hmsv":"y G, h:mm:ss a v","GyMd, hmsv":"M/d/y G, h:mm:ss a v","GyMMM, hmsv":"MMM y G, h:mm:ss a v","GyMMMd, hmsv":"MMM d, y G, h:mm:ss a v","GyMMMEd, hmsv":"E, MMM d, y G, h:mm:ss a v","M, hmsv":"L, h:mm:ss a v","Md, hmsv":"M/d, h:mm:ss a v","MEd, hmsv":"E, M/d, h:mm:ss a v","MMM, hmsv":"LLL, h:mm:ss a v","MMMd, hmsv":"MMM d, h:mm:ss a v","MMMEd, hmsv":"E, MMM d, h:mm:ss a v","MMMMd, hmsv":"MMMM d, h:mm:ss a v","y, hmsv":"y, h:mm:ss a v","yM, hmsv":"M/y, h:mm:ss a v","yMd, hmsv":"M/d/y, h:mm:ss a v","yMEd, hmsv":"E, M/d/y, h:mm:ss a v","yMMM, hmsv":"MMM y, h:mm:ss a v","yMMMd, hmsv":"MMM d, y, h:mm:ss a v","yMMMEd, hmsv":"E, MMM d, y, h:mm:ss a v","yMMMM, hmsv":"MMMM y, h:mm:ss a v","EEEE, MMMM d, y, Hmsv":"EEEE, MMMM d, y, HH:mm:ss v","MMMM d, y, Hmsv":"MMMM d, y, HH:mm:ss v","MMM d, y, Hmsv":"MMM d, y, HH:mm:ss v","M/d/yy, Hmsv":"M/d/yy, HH:mm:ss v","d, Hmsv":"d, HH:mm:ss v","E, Hmsv":"ccc, HH:mm:ss v","Ed, Hmsv":"d E, HH:mm:ss v","Gy, Hmsv":"y G, HH:mm:ss v","GyMd, Hmsv":"M/d/y G, HH:mm:ss v","GyMMM, Hmsv":"MMM y G, HH:mm:ss v","GyMMMd, Hmsv":"MMM d, y G, HH:mm:ss v","GyMMMEd, Hmsv":"E, MMM d, y G, HH:mm:ss v","M, Hmsv":"L, HH:mm:ss v","Md, Hmsv":"M/d, HH:mm:ss v","MEd, Hmsv":"E, M/d, HH:mm:ss v","MMM, Hmsv":"LLL, HH:mm:ss v","MMMd, Hmsv":"MMM d, HH:mm:ss v","MMMEd, Hmsv":"E, MMM d, HH:mm:ss v","MMMMd, Hmsv":"MMMM d, HH:mm:ss v","y, Hmsv":"y, HH:mm:ss v","yM, Hmsv":"M/y, HH:mm:ss v","yMd, Hmsv":"M/d/y, HH:mm:ss v","yMEd, Hmsv":"E, M/d/y, HH:mm:ss v","yMMM, Hmsv":"MMM y, HH:mm:ss v","yMMMd, Hmsv":"MMM d, y, HH:mm:ss v","yMMMEd, Hmsv":"E, MMM d, y, HH:mm:ss v","yMMMM, Hmsv":"MMMM y, HH:mm:ss v","EEEE, MMMM d, y, hmv":"EEEE, MMMM d, y, h:mm a v","MMMM d, y, hmv":"MMMM d, y, h:mm a v","MMM d, y, hmv":"MMM d, y, h:mm a v","M/d/yy, hmv":"M/d/yy, h:mm a v","d, hmv":"d, h:mm a v","E, hmv":"ccc, h:mm a v","Ed, hmv":"d E, h:mm a v","Gy, hmv":"y G, h:mm a v","GyMd, hmv":"M/d/y G, h:mm a v","GyMMM, hmv":"MMM y G, h:mm a v","GyMMMd, hmv":"MMM d, y G, h:mm a v","GyMMMEd, hmv":"E, MMM d, y G, h:mm a v","M, hmv":"L, h:mm a v","Md, hmv":"M/d, h:mm a v","MEd, hmv":"E, M/d, h:mm a v","MMM, hmv":"LLL, h:mm a v","MMMd, hmv":"MMM d, h:mm a v","MMMEd, hmv":"E, MMM d, h:mm a v","MMMMd, hmv":"MMMM d, h:mm a v","y, hmv":"y, h:mm a v","yM, hmv":"M/y, h:mm a v","yMd, hmv":"M/d/y, h:mm a v","yMEd, hmv":"E, M/d/y, h:mm a v","yMMM, hmv":"MMM y, h:mm a v","yMMMd, hmv":"MMM d, y, h:mm a v","yMMMEd, hmv":"E, MMM d, y, h:mm a v","yMMMM, hmv":"MMMM y, h:mm a v","EEEE, MMMM d, y, Hmv":"EEEE, MMMM d, y, HH:mm v","MMMM d, y, Hmv":"MMMM d, y, HH:mm v","MMM d, y, Hmv":"MMM d, y, HH:mm v","M/d/yy, Hmv":"M/d/yy, HH:mm v","d, Hmv":"d, HH:mm v","E, Hmv":"ccc, HH:mm v","Ed, Hmv":"d E, HH:mm v","Gy, Hmv":"y G, HH:mm v","GyMd, Hmv":"M/d/y G, HH:mm v","GyMMM, Hmv":"MMM y G, HH:mm v","GyMMMd, Hmv":"MMM d, y G, HH:mm v","GyMMMEd, Hmv":"E, MMM d, y G, HH:mm v","M, Hmv":"L, HH:mm v","Md, Hmv":"M/d, HH:mm v","MEd, Hmv":"E, M/d, HH:mm v","MMM, Hmv":"LLL, HH:mm v","MMMd, Hmv":"MMM d, HH:mm v","MMMEd, Hmv":"E, MMM d, HH:mm v","MMMMd, Hmv":"MMMM d, HH:mm v","y, Hmv":"y, HH:mm v","yM, Hmv":"M/y, HH:mm v","yMd, Hmv":"M/d/y, HH:mm v","yMEd, Hmv":"E, M/d/y, HH:mm v","yMMM, Hmv":"MMM y, HH:mm v","yMMMd, Hmv":"MMM d, y, HH:mm v","yMMMEd, Hmv":"E, MMM d, y, HH:mm v","yMMMM, Hmv":"MMMM y, HH:mm v","EEEE, MMMM d, y, ms":"EEEE, MMMM d, y, mm:ss","MMMM d, y, ms":"MMMM d, y, mm:ss","MMM d, y, ms":"MMM d, y, mm:ss","M/d/yy, ms":"M/d/yy, mm:ss","d, ms":"d, mm:ss","E, ms":"ccc, mm:ss","Ed, ms":"d E, mm:ss","Gy, ms":"y G, mm:ss","GyMd, ms":"M/d/y G, mm:ss","GyMMM, ms":"MMM y G, mm:ss","GyMMMd, ms":"MMM d, y G, mm:ss","GyMMMEd, ms":"E, MMM d, y G, mm:ss","M, ms":"L, mm:ss","Md, ms":"M/d, mm:ss","MEd, ms":"E, M/d, mm:ss","MMM, ms":"LLL, mm:ss","MMMd, ms":"MMM d, mm:ss","MMMEd, ms":"E, MMM d, mm:ss","MMMMd, ms":"MMMM d, mm:ss","y, ms":"y, mm:ss","yM, ms":"M/y, mm:ss","yMd, ms":"M/d/y, mm:ss","yMEd, ms":"E, M/d/y, mm:ss","yMMM, ms":"MMM y, mm:ss","yMMMd, ms":"MMM d, y, mm:ss","yMMMEd, ms":"E, MMM d, y, mm:ss","yMMMM, ms":"MMMM y, mm:ss"}},intervalFormats:{intervalFormatFallback:"{0} – {1}",Bh:{B:"h B – h B",h:"h – h B"},Bhm:{B:"h:mm B – h:mm B",h:"h:mm – h:mm B",m:"h:mm – h:mm B"},d:{d:"d – d"},Gy:{G:"y G – y G",y:"y – y G"},GyM:{G:"M/y G – M/y G",M:"M/y – M/y G",y:"M/y – M/y G"},GyMd:{d:"M/d/y – M/d/y G",G:"M/d/y G – M/d/y G",M:"M/d/y – M/d/y G",y:"M/d/y – M/d/y G"},GyMEd:{d:"E, M/d/y – E, M/d/y G",G:"E, M/d/y G – E, M/d/y G",M:"E, M/d/y – E, M/d/y G",y:"E, M/d/y – E, M/d/y G"},GyMMM:{G:"MMM y G – MMM y G",M:"MMM – MMM y G",y:"MMM y – MMM y G"},GyMMMd:{d:"MMM d – d, y G",G:"MMM d, y G – MMM d, y G",M:"MMM d – MMM d, y G",y:"MMM d, y – MMM d, y G"},GyMMMEd:{d:"E, MMM d – E, MMM d, y G",G:"E, MMM d, y G – E, MMM d, y G",M:"E, MMM d – E, MMM d, y G",y:"E, MMM d, y – E, MMM d, y G"},h:{a:"h a – h a",h:"h – h a"},H:{H:"HH – HH"},hm:{a:"h:mm a – h:mm a",h:"h:mm – h:mm a",m:"h:mm – h:mm a"},Hm:{H:"HH:mm – HH:mm",m:"HH:mm – HH:mm"},hmv:{a:"h:mm a – h:mm a v",h:"h:mm – h:mm a v",m:"h:mm – h:mm a v"},Hmv:{H:"HH:mm – HH:mm v",m:"HH:mm – HH:mm v"},hv:{a:"h a – h a v",h:"h – h a v"},Hv:{H:"HH – HH v"},M:{M:"M – M"},Md:{d:"M/d – M/d",M:"M/d – M/d"},MEd:{d:"E, M/d – E, M/d",M:"E, M/d – E, M/d"},MMM:{M:"MMM – MMM"},MMMd:{d:"MMM d – d",M:"MMM d – MMM d"},MMMEd:{d:"E, MMM d – E, MMM d",M:"E, MMM d – E, MMM d"},y:{y:"y – y"},yM:{M:"M/y – M/y",y:"M/y – M/y"},yMd:{d:"M/d/y – M/d/y",M:"M/d/y – M/d/y",y:"M/d/y – M/d/y"},yMEd:{d:"E, M/d/y – E, M/d/y",M:"E, M/d/y – E, M/d/y",y:"E, M/d/y – E, M/d/y"},yMMM:{M:"MMM – MMM y",y:"MMM y – MMM y"},yMMMd:{d:"MMM d – d, y",M:"MMM d – MMM d, y",y:"MMM d, y – MMM d, y"},yMMMEd:{d:"E, MMM d – E, MMM d, y",M:"E, MMM d – E, MMM d, y",y:"E, MMM d, y – E, MMM d, y"},yMMMM:{M:"MMMM – MMMM y",y:"MMMM y – MMMM y"}},hourCycle:"h12",nu:["latn"],ca:["gregory"],hc:["h12","","h23",""]},locale:"en"});var Vc=Object.freeze({__proto__:null});e.Temporal=jl,e.bbn=Lc,e.default=Lc,Object.defineProperty(e,"__esModule",{value:!0})});
2
2
  //# sourceMappingURL=bbn.js.map