@bbn/bbn 1.0.424 → 1.0.426
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
|
-
var bbn=function(e){"use strict";function t(e,t){return function(){return e.apply(t,arguments)}}const{toString:n}=Object.prototype,{getPrototypeOf:r}=Object,{iterator:o,toStringTag:i}=Symbol,a=(s=Object.create(null),e=>{const t=n.call(e);return s[t]||(s[t]=t.slice(8,-1).toLowerCase())});var s;const u=e=>(e=e.toLowerCase(),t=>a(t)===e),c=e=>t=>typeof t===e,{isArray:l}=Array,f=c("undefined");function d(e){return null!==e&&!f(e)&&null!==e.constructor&&!f(e.constructor)&&b(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const h=u("ArrayBuffer");const p=c("string"),b=c("function"),m=c("number"),v=e=>null!==e&&"object"==typeof e,g=e=>{if("object"!==a(e))return!1;const t=r(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||i in e||o in e)},y=u("Date"),w=u("File"),S=u("Blob"),_=u("FileList"),x=u("URLSearchParams"),[O,E,A,T]=["ReadableStream","Request","Response","Headers"].map(u);function M(e,t,{allOwnKeys:n=!1}={}){if(null==e)return;let r,o;if("object"!=typeof e&&(e=[e]),l(e))for(r=0,o=e.length;r<o;r++)t.call(null,e[r],r,e);else{if(d(e))return;const o=n?Object.getOwnPropertyNames(e):Object.keys(e),i=o.length;let a;for(r=0;r<i;r++)a=o[r],t.call(null,e[a],a,e)}}function k(e,t){if(d(e))return null;t=t.toLowerCase();const n=Object.keys(e);let r,o=n.length;for(;o-- >0;)if(r=n[o],t===r.toLowerCase())return r;return null}const j="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:global,R=e=>!f(e)&&e!==j;const D=($="undefined"!=typeof Uint8Array&&r(Uint8Array),e=>$&&e instanceof $);var $;const C=u("HTMLFormElement"),L=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),N=u("RegExp"),F=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};M(n,(n,o)=>{let i;!1!==(i=t(n,o,e))&&(r[o]=i||n)}),Object.defineProperties(e,r)};const P=u("AsyncFunction"),B=(U="function"==typeof setImmediate,I=b(j.postMessage),U?setImmediate:I?(Y=`axios@${Math.random()}`,H=[],j.addEventListener("message",({source:e,data:t})=>{e===j&&t===Y&&H.length&&H.shift()()},!1),e=>{H.push(e),j.postMessage(Y,"*")}):e=>setTimeout(e));var U,I,Y,H;const z="undefined"!=typeof queueMicrotask?queueMicrotask.bind(j):"undefined"!=typeof process&&process.nextTick||B;var q={isArray:l,isArrayBuffer:h,isBuffer:d,isFormData:e=>{let t;return e&&("function"==typeof FormData&&e instanceof FormData||b(e.append)&&("formdata"===(t=a(e))||"object"===t&&b(e.toString)&&"[object FormData]"===e.toString()))},isArrayBufferView:function(e){let t;return t="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&h(e.buffer),t},isString:p,isNumber:m,isBoolean:e=>!0===e||!1===e,isObject:v,isPlainObject:g,isEmptyObject:e=>{if(!v(e)||d(e))return!1;try{return 0===Object.keys(e).length&&Object.getPrototypeOf(e)===Object.prototype}catch(e){return!1}},isReadableStream:O,isRequest:E,isResponse:A,isHeaders:T,isUndefined:f,isDate:y,isFile:w,isBlob:S,isRegExp:N,isFunction:b,isStream:e=>v(e)&&b(e.pipe),isURLSearchParams:x,isTypedArray:D,isFileList:_,forEach:M,merge:function e(){const{caseless:t}=R(this)&&this||{},n={},r=(r,o)=>{const i=t&&k(n,o)||o;g(n[i])&&g(r)?n[i]=e(n[i],r):g(r)?n[i]=e({},r):l(r)?n[i]=r.slice():n[i]=r};for(let e=0,t=arguments.length;e<t;e++)arguments[e]&&M(arguments[e],r);return n},extend:(e,n,r,{allOwnKeys:o}={})=>(M(n,(n,o)=>{r&&b(n)?e[o]=t(n,r):e[o]=n},{allOwnKeys:o}),e),trim:e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:e=>(65279===e.charCodeAt(0)&&(e=e.slice(1)),e),inherits:(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},toFlatObject:(e,t,n,o)=>{let i,a,s;const u={};if(t=t||{},null==e)return t;do{for(i=Object.getOwnPropertyNames(e),a=i.length;a-- >0;)s=i[a],o&&!o(s,e,t)||u[s]||(t[s]=e[s],u[s]=!0);e=!1!==n&&r(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},kindOf:a,kindOfTest:u,endsWith:(e,t,n)=>{e=String(e),(void 0===n||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return-1!==r&&r===n},toArray:e=>{if(!e)return null;if(l(e))return e;let t=e.length;if(!m(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},forEachEntry:(e,t)=>{const n=(e&&e[o]).call(e);let r;for(;(r=n.next())&&!r.done;){const n=r.value;t.call(e,n[0],n[1])}},matchAll:(e,t)=>{let n;const r=[];for(;null!==(n=e.exec(t));)r.push(n);return r},isHTMLForm:C,hasOwnProperty:L,hasOwnProp:L,reduceDescriptors:F,freezeMethods:e=>{F(e,(t,n)=>{if(b(e)&&-1!==["arguments","caller","callee"].indexOf(n))return!1;const r=e[n];b(r)&&(t.enumerable=!1,"writable"in t?t.writable=!1:t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")}))})},toObjectSet:(e,t)=>{const n={},r=e=>{e.forEach(e=>{n[e]=!0})};return l(e)?r(e):r(String(e).split(t)),n},toCamelCase:e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(e,t,n){return t.toUpperCase()+n}),noop:()=>{},toFiniteNumber:(e,t)=>null!=e&&Number.isFinite(e=+e)?e:t,findKey:k,global:j,isContextDefined:R,isSpecCompliantForm:function(e){return!!(e&&b(e.append)&&"FormData"===e[i]&&e[o])},toJSONObject:e=>{const t=new Array(10),n=(e,r)=>{if(v(e)){if(t.indexOf(e)>=0)return;if(d(e))return e;if(!("toJSON"in e)){t[r]=e;const o=l(e)?[]:{};return M(e,(e,t)=>{const i=n(e,r+1);!f(i)&&(o[t]=i)}),t[r]=void 0,o}}return e};return n(e,0)},isAsyncFn:P,isThenable:e=>e&&(v(e)||b(e))&&b(e.then)&&b(e.catch),setImmediate:B,asap:z,isIterable:e=>null!=e&&b(e[o])};function W(e,t,n,r,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),o&&(this.response=o,this.status=o.status?o.status:null)}q.inherits(W,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:q.toJSONObject(this.config),code:this.code,status:this.status}}});const V=W.prototype,J={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{J[e]={value:e}}),Object.defineProperties(W,J),Object.defineProperty(V,"isAxiosError",{value:!0}),W.from=(e,t,n,r,o,i)=>{const a=Object.create(V);return q.toFlatObject(e,a,function(e){return e!==Error.prototype},e=>"isAxiosError"!==e),W.call(a,e.message,t,n,r,o),a.cause=e,a.name=e.name,i&&Object.assign(a,i),a};function Z(e){return q.isPlainObject(e)||q.isArray(e)}function K(e){return q.endsWith(e,"[]")?e.slice(0,-2):e}function X(e,t,n){return e?e.concat(t).map(function(e,t){return e=K(e),!n&&t?"["+e+"]":e}).join(n?".":""):t}const G=q.toFlatObject(q,{},null,function(e){return/^is[A-Z]/.test(e)});function Q(e,t,n){if(!q.isObject(e))throw new TypeError("target must be an object");t=t||new FormData;const r=(n=q.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(e,t){return!q.isUndefined(t[e])})).metaTokens,o=n.visitor||c,i=n.dots,a=n.indexes,s=(n.Blob||"undefined"!=typeof Blob&&Blob)&&q.isSpecCompliantForm(t);if(!q.isFunction(o))throw new TypeError("visitor must be a function");function u(e){if(null===e)return"";if(q.isDate(e))return e.toISOString();if(q.isBoolean(e))return e.toString();if(!s&&q.isBlob(e))throw new W("Blob is not supported. Use a Buffer instead.");return q.isArrayBuffer(e)||q.isTypedArray(e)?s&&"function"==typeof Blob?new Blob([e]):Buffer.from(e):e}function c(e,n,o){let s=e;if(e&&!o&&"object"==typeof e)if(q.endsWith(n,"{}"))n=r?n:n.slice(0,-2),e=JSON.stringify(e);else if(q.isArray(e)&&function(e){return q.isArray(e)&&!e.some(Z)}(e)||(q.isFileList(e)||q.endsWith(n,"[]"))&&(s=q.toArray(e)))return n=K(n),s.forEach(function(e,r){!q.isUndefined(e)&&null!==e&&t.append(!0===a?X([n],r,i):null===a?n:n+"[]",u(e))}),!1;return!!Z(e)||(t.append(X(o,n,i),u(e)),!1)}const l=[],f=Object.assign(G,{defaultVisitor:c,convertValue:u,isVisitable:Z});if(!q.isObject(e))throw new TypeError("data must be an object");return function e(n,r){if(!q.isUndefined(n)){if(-1!==l.indexOf(n))throw Error("Circular reference detected in "+r.join("."));l.push(n),q.forEach(n,function(n,i){!0===(!(q.isUndefined(n)||null===n)&&o.call(t,n,q.isString(i)?i.trim():i,r,f))&&e(n,r?r.concat(i):[i])}),l.pop()}}(e),t}function ee(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(e){return t[e]})}function te(e,t){this._pairs=[],e&&Q(e,this,t)}const ne=te.prototype;function re(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function oe(e,t,n){if(!t)return e;const r=n&&n.encode||re;q.isFunction(n)&&(n={serialize:n});const o=n&&n.serialize;let i;if(i=o?o(t,n):q.isURLSearchParams(t)?t.toString():new te(t,n).toString(r),i){const t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+i}return e}ne.append=function(e,t){this._pairs.push([e,t])},ne.toString=function(e){const t=e?function(t){return e.call(this,t,ee)}:ee;return this._pairs.map(function(e){return t(e[0])+"="+t(e[1])},"").join("&")};class ie{constructor(){this.handlers=[]}use(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){q.forEach(this.handlers,function(t){null!==t&&e(t)})}}var ae={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},se={isBrowser:!0,classes:{URLSearchParams:"undefined"!=typeof URLSearchParams?URLSearchParams:te,FormData:"undefined"!=typeof FormData?FormData:null,Blob:"undefined"!=typeof Blob?Blob:null},protocols:["http","https","file","blob","url","data"]};const ue="undefined"!=typeof window&&"undefined"!=typeof document,ce="object"==typeof navigator&&navigator||void 0,le=ue&&(!ce||["ReactNative","NativeScript","NS"].indexOf(ce.product)<0),fe="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,de=ue&&window.location.href||"http://localhost";var he={...Object.freeze({__proto__:null,hasBrowserEnv:ue,hasStandardBrowserEnv:le,hasStandardBrowserWebWorkerEnv:fe,navigator:ce,origin:de}),...se};function pe(e){function t(e,n,r,o){let i=e[o++];if("__proto__"===i)return!0;const a=Number.isFinite(+i),s=o>=e.length;if(i=!i&&q.isArray(r)?r.length:i,s)return q.hasOwnProp(r,i)?r[i]=[r[i],n]:r[i]=n,!a;r[i]&&q.isObject(r[i])||(r[i]=[]);return t(e,n,r[i],o)&&q.isArray(r[i])&&(r[i]=function(e){const t={},n=Object.keys(e);let r;const o=n.length;let i;for(r=0;r<o;r++)i=n[r],t[i]=e[i];return t}(r[i])),!a}if(q.isFormData(e)&&q.isFunction(e.entries)){const n={};return q.forEachEntry(e,(e,r)=>{t(function(e){return q.matchAll(/\w+|\[(\w*)]/g,e).map(e=>"[]"===e[0]?"":e[1]||e[0])}(e),r,n,0)}),n}return null}const be={transitional:ae,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){const n=t.getContentType()||"",r=n.indexOf("application/json")>-1,o=q.isObject(e);o&&q.isHTMLForm(e)&&(e=new FormData(e));if(q.isFormData(e))return r?JSON.stringify(pe(e)):e;if(q.isArrayBuffer(e)||q.isBuffer(e)||q.isStream(e)||q.isFile(e)||q.isBlob(e)||q.isReadableStream(e))return e;if(q.isArrayBufferView(e))return e.buffer;if(q.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let i;if(o){if(n.indexOf("application/x-www-form-urlencoded")>-1)return function(e,t){return Q(e,new he.classes.URLSearchParams,{visitor:function(e,t,n,r){return he.isNode&&q.isBuffer(e)?(this.append(t,e.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)},...t})}(e,this.formSerializer).toString();if((i=q.isFileList(e))||n.indexOf("multipart/form-data")>-1){const t=this.env&&this.env.FormData;return Q(i?{"files[]":e}:e,t&&new t,this.formSerializer)}}return o||r?(t.setContentType("application/json",!1),function(e,t,n){if(q.isString(e))try{return(t||JSON.parse)(e),q.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(n||JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){const t=this.transitional||be.transitional,n=t&&t.forcedJSONParsing,r="json"===this.responseType;if(q.isResponse(e)||q.isReadableStream(e))return e;if(e&&q.isString(e)&&(n&&!this.responseType||r)){const n=!(t&&t.silentJSONParsing)&&r;try{return JSON.parse(e)}catch(e){if(n){if("SyntaxError"===e.name)throw W.from(e,W.ERR_BAD_RESPONSE,this,null,this.response);throw e}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:he.classes.FormData,Blob:he.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};q.forEach(["delete","get","head","post","put","patch"],e=>{be.headers[e]={}});const me=q.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]);const ve=Symbol("internals");function ge(e){return e&&String(e).trim().toLowerCase()}function ye(e){return!1===e||null==e?e:q.isArray(e)?e.map(ye):String(e)}function we(e,t,n,r,o){return q.isFunction(r)?r.call(this,t,n):(o&&(t=n),q.isString(t)?q.isString(r)?-1!==t.indexOf(r):q.isRegExp(r)?r.test(t):void 0:void 0)}let Se=class{constructor(e){e&&this.set(e)}set(e,t,n){const r=this;function o(e,t,n){const o=ge(t);if(!o)throw new Error("header name must be a non-empty string");const i=q.findKey(r,o);(!i||void 0===r[i]||!0===n||void 0===n&&!1!==r[i])&&(r[i||t]=ye(e))}const i=(e,t)=>q.forEach(e,(e,n)=>o(e,n,t));if(q.isPlainObject(e)||e instanceof this.constructor)i(e,t);else if(q.isString(e)&&(e=e.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim()))i((e=>{const t={};let n,r,o;return e&&e.split("\n").forEach(function(e){o=e.indexOf(":"),n=e.substring(0,o).trim().toLowerCase(),r=e.substring(o+1).trim(),!n||t[n]&&me[n]||("set-cookie"===n?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t})(e),t);else if(q.isObject(e)&&q.isIterable(e)){let n,r,o={};for(const t of e){if(!q.isArray(t))throw TypeError("Object iterator must return a key-value pair");o[r=t[0]]=(n=o[r])?q.isArray(n)?[...n,t[1]]:[n,t[1]]:t[1]}i(o,t)}else null!=e&&o(t,e,n);return this}get(e,t){if(e=ge(e)){const n=q.findKey(this,e);if(n){const e=this[n];if(!t)return e;if(!0===t)return function(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}(e);if(q.isFunction(t))return t.call(this,e,n);if(q.isRegExp(t))return t.exec(e);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=ge(e)){const n=q.findKey(this,e);return!(!n||void 0===this[n]||t&&!we(0,this[n],n,t))}return!1}delete(e,t){const n=this;let r=!1;function o(e){if(e=ge(e)){const o=q.findKey(n,e);!o||t&&!we(0,n[o],o,t)||(delete n[o],r=!0)}}return q.isArray(e)?e.forEach(o):o(e),r}clear(e){const t=Object.keys(this);let n=t.length,r=!1;for(;n--;){const o=t[n];e&&!we(0,this[o],o,e,!0)||(delete this[o],r=!0)}return r}normalize(e){const t=this,n={};return q.forEach(this,(r,o)=>{const i=q.findKey(n,o);if(i)return t[i]=ye(r),void delete t[o];const a=e?function(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,t,n)=>t.toUpperCase()+n)}(o):String(o).trim();a!==o&&delete t[o],t[a]=ye(r),n[a]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const t=Object.create(null);return q.forEach(this,(n,r)=>{null!=n&&!1!==n&&(t[r]=e&&q.isArray(n)?n.join(", "):n)}),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,t])=>e+": "+t).join("\n")}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){const n=new this(e);return t.forEach(e=>n.set(e)),n}static accessor(e){const t=(this[ve]=this[ve]={accessors:{}}).accessors,n=this.prototype;function r(e){const r=ge(e);t[r]||(!function(e,t){const n=q.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(e,n,o){return this[r].call(this,t,e,n,o)},configurable:!0})})}(n,e),t[r]=!0)}return q.isArray(e)?e.forEach(r):r(e),this}};function _e(e,t){const n=this||be,r=t||n,o=Se.from(r.headers);let i=r.data;return q.forEach(e,function(e){i=e.call(n,i,o.normalize(),t?t.status:void 0)}),o.normalize(),i}function xe(e){return!(!e||!e.__CANCEL__)}function Oe(e,t,n){W.call(this,null==e?"canceled":e,W.ERR_CANCELED,t,n),this.name="CanceledError"}function Ee(e,t,n){const r=n.config.validateStatus;n.status&&r&&!r(n.status)?t(new W("Request failed with status code "+n.status,[W.ERR_BAD_REQUEST,W.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n)):e(n)}Se.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),q.reduceDescriptors(Se.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(e){this[n]=e}}}),q.freezeMethods(Se),q.inherits(Oe,W,{__CANCEL__:!0});const Ae=(e,t,n=3)=>{let r=0;const o=function(e,t){e=e||10;const n=new Array(e),r=new Array(e);let o,i=0,a=0;return t=void 0!==t?t:1e3,function(s){const u=Date.now(),c=r[a];o||(o=u),n[i]=s,r[i]=u;let l=a,f=0;for(;l!==i;)f+=n[l++],l%=e;if(i=(i+1)%e,i===a&&(a=(a+1)%e),u-o<t)return;const d=c&&u-c;return d?Math.round(1e3*f/d):void 0}}(50,250);return function(e,t){let n,r,o=0,i=1e3/t;const a=(t,i=Date.now())=>{o=i,n=null,r&&(clearTimeout(r),r=null),e(...t)};return[(...e)=>{const t=Date.now(),s=t-o;s>=i?a(e,t):(n=e,r||(r=setTimeout(()=>{r=null,a(n)},i-s)))},()=>n&&a(n)]}(n=>{const i=n.loaded,a=n.lengthComputable?n.total:void 0,s=i-r,u=o(s);r=i;e({loaded:i,total:a,progress:a?i/a:void 0,bytes:s,rate:u||void 0,estimated:u&&a&&i<=a?(a-i)/u:void 0,event:n,lengthComputable:null!=a,[t?"download":"upload"]:!0})},n)},Te=(e,t)=>{const n=null!=e;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},Me=e=>(...t)=>q.asap(()=>e(...t));var ke=he.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,he.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(he.origin),he.navigator&&/(msie|trident)/i.test(he.navigator.userAgent)):()=>!0,je=he.hasStandardBrowserEnv?{write(e,t,n,r,o,i){const a=[e+"="+encodeURIComponent(t)];q.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),q.isString(r)&&a.push("path="+r),q.isString(o)&&a.push("domain="+o),!0===i&&a.push("secure"),document.cookie=a.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read:()=>null,remove(){}};function Re(e,t,n){let r=!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t);return e&&(r||0==n)?function(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}(e,t):t}const De=e=>e instanceof Se?{...e}:e;function $e(e,t){t=t||{};const n={};function r(e,t,n,r){return q.isPlainObject(e)&&q.isPlainObject(t)?q.merge.call({caseless:r},e,t):q.isPlainObject(t)?q.merge({},t):q.isArray(t)?t.slice():t}function o(e,t,n,o){return q.isUndefined(t)?q.isUndefined(e)?void 0:r(void 0,e,0,o):r(e,t,0,o)}function i(e,t){if(!q.isUndefined(t))return r(void 0,t)}function a(e,t){return q.isUndefined(t)?q.isUndefined(e)?void 0:r(void 0,e):r(void 0,t)}function s(n,o,i){return i in t?r(n,o):i in e?r(void 0,n):void 0}const u={url:i,method:i,data:i,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,withXSRFToken:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:s,headers:(e,t,n)=>o(De(e),De(t),0,!0)};return q.forEach(Object.keys({...e,...t}),function(r){const i=u[r]||o,a=i(e[r],t[r],r);q.isUndefined(a)&&i!==s||(n[r]=a)}),n}var Ce=e=>{const t=$e({},e);let n,{data:r,withXSRFToken:o,xsrfHeaderName:i,xsrfCookieName:a,headers:s,auth:u}=t;if(t.headers=s=Se.from(s),t.url=oe(Re(t.baseURL,t.url,t.allowAbsoluteUrls),e.params,e.paramsSerializer),u&&s.set("Authorization","Basic "+btoa((u.username||"")+":"+(u.password?unescape(encodeURIComponent(u.password)):""))),q.isFormData(r))if(he.hasStandardBrowserEnv||he.hasStandardBrowserWebWorkerEnv)s.setContentType(void 0);else if(!1!==(n=s.getContentType())){const[e,...t]=n?n.split(";").map(e=>e.trim()).filter(Boolean):[];s.setContentType([e||"multipart/form-data",...t].join("; "))}if(he.hasStandardBrowserEnv&&(o&&q.isFunction(o)&&(o=o(t)),o||!1!==o&&ke(t.url))){const e=i&&a&&je.read(a);e&&s.set(i,e)}return t};var Le="undefined"!=typeof XMLHttpRequest&&function(e){return new Promise(function(t,n){const r=Ce(e);let o=r.data;const i=Se.from(r.headers).normalize();let a,s,u,c,l,{responseType:f,onUploadProgress:d,onDownloadProgress:h}=r;function p(){c&&c(),l&&l(),r.cancelToken&&r.cancelToken.unsubscribe(a),r.signal&&r.signal.removeEventListener("abort",a)}let b=new XMLHttpRequest;function m(){if(!b)return;const r=Se.from("getAllResponseHeaders"in b&&b.getAllResponseHeaders());Ee(function(e){t(e),p()},function(e){n(e),p()},{data:f&&"text"!==f&&"json"!==f?b.response:b.responseText,status:b.status,statusText:b.statusText,headers:r,config:e,request:b}),b=null}b.open(r.method.toUpperCase(),r.url,!0),b.timeout=r.timeout,"onloadend"in b?b.onloadend=m:b.onreadystatechange=function(){b&&4===b.readyState&&(0!==b.status||b.responseURL&&0===b.responseURL.indexOf("file:"))&&setTimeout(m)},b.onabort=function(){b&&(n(new W("Request aborted",W.ECONNABORTED,e,b)),b=null)},b.onerror=function(){n(new W("Network Error",W.ERR_NETWORK,e,b)),b=null},b.ontimeout=function(){let t=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded";const o=r.transitional||ae;r.timeoutErrorMessage&&(t=r.timeoutErrorMessage),n(new W(t,o.clarifyTimeoutError?W.ETIMEDOUT:W.ECONNABORTED,e,b)),b=null},void 0===o&&i.setContentType(null),"setRequestHeader"in b&&q.forEach(i.toJSON(),function(e,t){b.setRequestHeader(t,e)}),q.isUndefined(r.withCredentials)||(b.withCredentials=!!r.withCredentials),f&&"json"!==f&&(b.responseType=r.responseType),h&&([u,l]=Ae(h,!0),b.addEventListener("progress",u)),d&&b.upload&&([s,c]=Ae(d),b.upload.addEventListener("progress",s),b.upload.addEventListener("loadend",c)),(r.cancelToken||r.signal)&&(a=t=>{b&&(n(!t||t.type?new Oe(null,e,b):t),b.abort(),b=null)},r.cancelToken&&r.cancelToken.subscribe(a),r.signal&&(r.signal.aborted?a():r.signal.addEventListener("abort",a)));const v=function(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}(r.url);v&&-1===he.protocols.indexOf(v)?n(new W("Unsupported protocol "+v+":",W.ERR_BAD_REQUEST,e)):b.send(o||null)})};const Ne=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let n,r=new AbortController;const o=function(e){if(!n){n=!0,a();const t=e instanceof Error?e:this.reason;r.abort(t instanceof W?t:new Oe(t instanceof Error?t.message:t))}};let i=t&&setTimeout(()=>{i=null,o(new W(`timeout ${t} of ms exceeded`,W.ETIMEDOUT))},t);const a=()=>{e&&(i&&clearTimeout(i),i=null,e.forEach(e=>{e.unsubscribe?e.unsubscribe(o):e.removeEventListener("abort",o)}),e=null)};e.forEach(e=>e.addEventListener("abort",o));const{signal:s}=r;return s.unsubscribe=()=>q.asap(a),s}},Fe=function*(e,t){let n=e.byteLength;if(n<t)return void(yield e);let r,o=0;for(;o<n;)r=o+t,yield e.slice(o,r),o=r},Pe=async function*(e){if(e[Symbol.asyncIterator])return void(yield*e);const t=e.getReader();try{for(;;){const{done:e,value:n}=await t.read();if(e)break;yield n}}finally{await t.cancel()}},Be=(e,t,n,r)=>{const o=async function*(e,t){for await(const n of Pe(e))yield*Fe(n,t)}(e,t);let i,a=0,s=e=>{i||(i=!0,r&&r(e))};return new ReadableStream({async pull(e){try{const{done:t,value:r}=await o.next();if(t)return s(),void e.close();let i=r.byteLength;if(n){let e=a+=i;n(e)}e.enqueue(new Uint8Array(r))}catch(e){throw s(e),e}},cancel:e=>(s(e),o.return())},{highWaterMark:2})},Ue="function"==typeof fetch&&"function"==typeof Request&&"function"==typeof Response,Ie=Ue&&"function"==typeof ReadableStream,Ye=Ue&&("function"==typeof TextEncoder?(He=new TextEncoder,e=>He.encode(e)):async e=>new Uint8Array(await new Response(e).arrayBuffer()));var He;const ze=(e,...t)=>{try{return!!e(...t)}catch(e){return!1}},qe=Ie&&ze(()=>{let e=!1;const t=new Request(he.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),We=Ie&&ze(()=>q.isReadableStream(new Response("").body)),Ve={stream:We&&(e=>e.body)};var Je;Ue&&(Je=new Response,["text","arrayBuffer","blob","formData","stream"].forEach(e=>{!Ve[e]&&(Ve[e]=q.isFunction(Je[e])?t=>t[e]():(t,n)=>{throw new W(`Response type '${e}' is not supported`,W.ERR_NOT_SUPPORT,n)})}));const Ze=async(e,t)=>{const n=q.toFiniteNumber(e.getContentLength());return null==n?(async e=>{if(null==e)return 0;if(q.isBlob(e))return e.size;if(q.isSpecCompliantForm(e)){const t=new Request(he.origin,{method:"POST",body:e});return(await t.arrayBuffer()).byteLength}return q.isArrayBufferView(e)||q.isArrayBuffer(e)?e.byteLength:(q.isURLSearchParams(e)&&(e+=""),q.isString(e)?(await Ye(e)).byteLength:void 0)})(t):n};const Ke={http:null,xhr:Le,fetch:Ue&&(async e=>{let{url:t,method:n,data:r,signal:o,cancelToken:i,timeout:a,onDownloadProgress:s,onUploadProgress:u,responseType:c,headers:l,withCredentials:f="same-origin",fetchOptions:d}=Ce(e);c=c?(c+"").toLowerCase():"text";let h,p=Ne([o,i&&i.toAbortSignal()],a);const b=p&&p.unsubscribe&&(()=>{p.unsubscribe()});let m;try{if(u&&qe&&"get"!==n&&"head"!==n&&0!==(m=await Ze(l,r))){let e,n=new Request(t,{method:"POST",body:r,duplex:"half"});if(q.isFormData(r)&&(e=n.headers.get("content-type"))&&l.setContentType(e),n.body){const[e,t]=Te(m,Ae(Me(u)));r=Be(n.body,65536,e,t)}}q.isString(f)||(f=f?"include":"omit");const o="credentials"in Request.prototype;h=new Request(t,{...d,signal:p,method:n.toUpperCase(),headers:l.normalize().toJSON(),body:r,duplex:"half",credentials:o?f:void 0});let i=await fetch(h,d);const a=We&&("stream"===c||"response"===c);if(We&&(s||a&&b)){const e={};["status","statusText","headers"].forEach(t=>{e[t]=i[t]});const t=q.toFiniteNumber(i.headers.get("content-length")),[n,r]=s&&Te(t,Ae(Me(s),!0))||[];i=new Response(Be(i.body,65536,n,()=>{r&&r(),b&&b()}),e)}c=c||"text";let v=await Ve[q.findKey(Ve,c)||"text"](i,e);return!a&&b&&b(),await new Promise((t,n)=>{Ee(t,n,{data:v,headers:Se.from(i.headers),status:i.status,statusText:i.statusText,config:e,request:h})})}catch(t){if(b&&b(),t&&"TypeError"===t.name&&/Load failed|fetch/i.test(t.message))throw Object.assign(new W("Network Error",W.ERR_NETWORK,e,h),{cause:t.cause||t});throw W.from(t,t&&t.code,e,h)}})};q.forEach(Ke,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(e){}Object.defineProperty(e,"adapterName",{value:t})}});const Xe=e=>`- ${e}`,Ge=e=>q.isFunction(e)||null===e||!1===e;var Qe=e=>{e=q.isArray(e)?e:[e];const{length:t}=e;let n,r;const o={};for(let i=0;i<t;i++){let t;if(n=e[i],r=n,!Ge(n)&&(r=Ke[(t=String(n)).toLowerCase()],void 0===r))throw new W(`Unknown adapter '${t}'`);if(r)break;o[t||"#"+i]=r}if(!r){const e=Object.entries(o).map(([e,t])=>`adapter ${e} `+(!1===t?"is not supported by the environment":"is not available in the build"));throw new W("There is no suitable adapter to dispatch the request "+(t?e.length>1?"since :\n"+e.map(Xe).join("\n"):" "+Xe(e[0]):"as no adapter specified"),"ERR_NOT_SUPPORT")}return r};function et(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Oe(null,e)}function tt(e){et(e),e.headers=Se.from(e.headers),e.data=_e.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1);return Qe(e.adapter||be.adapter)(e).then(function(t){return et(e),t.data=_e.call(e,e.transformResponse,t),t.headers=Se.from(t.headers),t},function(t){return xe(t)||(et(e),t&&t.response&&(t.response.data=_e.call(e,e.transformResponse,t.response),t.response.headers=Se.from(t.response.headers))),Promise.reject(t)})}const nt="1.11.0",rt={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{rt[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}});const ot={};rt.transitional=function(e,t,n){function r(e,t){return"[Axios v"+nt+"] Transitional option '"+e+"'"+t+(n?". "+n:"")}return(n,o,i)=>{if(!1===e)throw new W(r(o," has been removed"+(t?" in "+t:"")),W.ERR_DEPRECATED);return t&&!ot[o]&&(ot[o]=!0,console.warn(r(o," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,o,i)}},rt.spelling=function(e){return(t,n)=>(console.warn(`${n} is likely a misspelling of ${e}`),!0)};var it={assertOptions:function(e,t,n){if("object"!=typeof e)throw new W("options must be an object",W.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let o=r.length;for(;o-- >0;){const i=r[o],a=t[i];if(a){const t=e[i],n=void 0===t||a(t,i,e);if(!0!==n)throw new W("option "+i+" must be "+n,W.ERR_BAD_OPTION_VALUE);continue}if(!0!==n)throw new W("Unknown option "+i,W.ERR_BAD_OPTION)}},validators:rt};const at=it.validators;let st=class{constructor(e){this.defaults=e||{},this.interceptors={request:new ie,response:new ie}}async request(e,t){try{return await this._request(e,t)}catch(e){if(e instanceof Error){let t={};Error.captureStackTrace?Error.captureStackTrace(t):t=new Error;const n=t.stack?t.stack.replace(/^.+\n/,""):"";try{e.stack?n&&!String(e.stack).endsWith(n.replace(/^.+\n.+\n/,""))&&(e.stack+="\n"+n):e.stack=n}catch(e){}}throw e}}_request(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{},t=$e(this.defaults,t);const{transitional:n,paramsSerializer:r,headers:o}=t;void 0!==n&&it.assertOptions(n,{silentJSONParsing:at.transitional(at.boolean),forcedJSONParsing:at.transitional(at.boolean),clarifyTimeoutError:at.transitional(at.boolean)},!1),null!=r&&(q.isFunction(r)?t.paramsSerializer={serialize:r}:it.assertOptions(r,{encode:at.function,serialize:at.function},!0)),void 0!==t.allowAbsoluteUrls||(void 0!==this.defaults.allowAbsoluteUrls?t.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:t.allowAbsoluteUrls=!0),it.assertOptions(t,{baseUrl:at.spelling("baseURL"),withXsrfToken:at.spelling("withXSRFToken")},!0),t.method=(t.method||this.defaults.method||"get").toLowerCase();let i=o&&q.merge(o.common,o[t.method]);o&&q.forEach(["delete","get","head","post","put","patch","common"],e=>{delete o[e]}),t.headers=Se.concat(i,o);const a=[];let s=!0;this.interceptors.request.forEach(function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(s=s&&e.synchronous,a.unshift(e.fulfilled,e.rejected))});const u=[];let c;this.interceptors.response.forEach(function(e){u.push(e.fulfilled,e.rejected)});let l,f=0;if(!s){const e=[tt.bind(this),void 0];for(e.unshift(...a),e.push(...u),l=e.length,c=Promise.resolve(t);f<l;)c=c.then(e[f++],e[f++]);return c}l=a.length;let d=t;for(f=0;f<l;){const e=a[f++],t=a[f++];try{d=e(d)}catch(e){t.call(this,e);break}}try{c=tt.call(this,d)}catch(e){return Promise.reject(e)}for(f=0,l=u.length;f<l;)c=c.then(u[f++],u[f++]);return c}getUri(e){return oe(Re((e=$e(this.defaults,e)).baseURL,e.url,e.allowAbsoluteUrls),e.params,e.paramsSerializer)}};q.forEach(["delete","get","head","options"],function(e){st.prototype[e]=function(t,n){return this.request($e(n||{},{method:e,url:t,data:(n||{}).data}))}}),q.forEach(["post","put","patch"],function(e){function t(t){return function(n,r,o){return this.request($e(o||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:n,data:r}))}}st.prototype[e]=t(),st.prototype[e+"Form"]=t(!0)});const ut={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(ut).forEach(([e,t])=>{ut[t]=e});const ct=function e(n){const r=new st(n),o=t(st.prototype.request,r);return q.extend(o,st.prototype,r,{allOwnKeys:!0}),q.extend(o,r,null,{allOwnKeys:!0}),o.create=function(t){return e($e(n,t))},o}(be);ct.Axios=st,ct.CanceledError=Oe,ct.CancelToken=class e{constructor(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");let t;this.promise=new Promise(function(e){t=e});const n=this;this.promise.then(e=>{if(!n._listeners)return;let t=n._listeners.length;for(;t-- >0;)n._listeners[t](e);n._listeners=null}),this.promise.then=e=>{let t;const r=new Promise(e=>{n.subscribe(e),t=e}).then(e);return r.cancel=function(){n.unsubscribe(t)},r},e(function(e,r,o){n.reason||(n.reason=new Oe(e,r,o),t(n.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}toAbortSignal(){const e=new AbortController,t=t=>{e.abort(t)};return this.subscribe(t),e.signal.unsubscribe=()=>this.unsubscribe(t),e.signal}static source(){let t;const n=new e(function(e){t=e});return{token:n,cancel:t}}},ct.isCancel=xe,ct.VERSION=nt,ct.toFormData=Q,ct.AxiosError=W,ct.Cancel=ct.CanceledError,ct.all=function(e){return Promise.all(e)},ct.spread=function(e){return function(t){return e.apply(null,t)}},ct.isAxiosError=function(e){return q.isObject(e)&&!0===e.isAxiosError},ct.mergeConfig=$e,ct.AxiosHeaders=Se,ct.formToJSON=e=>pe(q.isHTMLForm(e)?new FormData(e):e),ct.getAdapter=Qe,ct.HttpStatusCode=ut,ct.default=ct;const{Axios:lt,AxiosError:ft,CanceledError:dt,isCancel:ht,CancelToken:pt,VERSION:bt,all:mt,Cancel:vt,isAxiosError:gt,spread:yt,toFormData:wt,AxiosHeaders:St,HttpStatusCode:_t,formToJSON:xt,getAdapter:Ot,mergeConfig:Et}=ct;function At(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Tt,Mt={exports:{}};var kt,jt=(Tt||(Tt=1,Mt.exports=function(){var e=1e3,t=6e4,n=36e5,r="millisecond",o="second",i="minute",a="hour",s="day",u="week",c="month",l="quarter",f="year",d="date",h="Invalid Date",p=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,b=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,m={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(e){var t=["th","st","nd","rd"],n=e%100;return"["+e+(t[(n-20)%10]||t[n]||t[0])+"]"}},v=function(e,t,n){var r=String(e);return!r||r.length>=t?e:""+Array(t+1-r.length).join(n)+e},g={s:v,z:function(e){var t=-e.utcOffset(),n=Math.abs(t),r=Math.floor(n/60),o=n%60;return(t<=0?"+":"-")+v(r,2,"0")+":"+v(o,2,"0")},m:function e(t,n){if(t.date()<n.date())return-e(n,t);var r=12*(n.year()-t.year())+(n.month()-t.month()),o=t.clone().add(r,c),i=n-o<0,a=t.clone().add(r+(i?-1:1),c);return+(-(r+(n-o)/(i?o-a:a-o))||0)},a:function(e){return e<0?Math.ceil(e)||0:Math.floor(e)},p:function(e){return{M:c,y:f,w:u,d:s,D:d,h:a,m:i,s:o,ms:r,Q:l}[e]||String(e||"").toLowerCase().replace(/s$/,"")},u:function(e){return void 0===e}},y="en",w={};w[y]=m;var S="$isDayjsObject",_=function(e){return e instanceof A||!(!e||!e[S])},x=function e(t,n,r){var o;if(!t)return y;if("string"==typeof t){var i=t.toLowerCase();w[i]&&(o=i),n&&(w[i]=n,o=i);var a=t.split("-");if(!o&&a.length>1)return e(a[0])}else{var s=t.name;w[s]=t,o=s}return!r&&o&&(y=o),o||!r&&y},O=function(e,t){if(_(e))return e.clone();var n="object"==typeof t?t:{};return n.date=e,n.args=arguments,new A(n)},E=g;E.l=x,E.i=_,E.w=function(e,t){return O(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var A=function(){function m(e){this.$L=x(e.locale,null,!0),this.parse(e),this.$x=this.$x||e.x||{},this[S]=!0}var v=m.prototype;return v.parse=function(e){this.$d=function(e){var t=e.date,n=e.utc;if(null===t)return new Date(NaN);if(E.u(t))return new Date;if(t instanceof Date)return new Date(t);if("string"==typeof t&&!/Z$/i.test(t)){var r=t.match(p);if(r){var o=r[2]-1||0,i=(r[7]||"0").substring(0,3);return n?new Date(Date.UTC(r[1],o,r[3]||1,r[4]||0,r[5]||0,r[6]||0,i)):new Date(r[1],o,r[3]||1,r[4]||0,r[5]||0,r[6]||0,i)}}return new Date(t)}(e),this.init()},v.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},v.$utils=function(){return E},v.isValid=function(){return!(this.$d.toString()===h)},v.isSame=function(e,t){var n=O(e);return this.startOf(t)<=n&&n<=this.endOf(t)},v.isAfter=function(e,t){return O(e)<this.startOf(t)},v.isBefore=function(e,t){return this.endOf(t)<O(e)},v.$g=function(e,t,n){return E.u(e)?this[t]:this.set(n,e)},v.unix=function(){return Math.floor(this.valueOf()/1e3)},v.valueOf=function(){return this.$d.getTime()},v.startOf=function(e,t){var n=this,r=!!E.u(t)||t,l=E.p(e),h=function(e,t){var o=E.w(n.$u?Date.UTC(n.$y,t,e):new Date(n.$y,t,e),n);return r?o:o.endOf(s)},p=function(e,t){return E.w(n.toDate()[e].apply(n.toDate("s"),(r?[0,0,0,0]:[23,59,59,999]).slice(t)),n)},b=this.$W,m=this.$M,v=this.$D,g="set"+(this.$u?"UTC":"");switch(l){case f:return r?h(1,0):h(31,11);case c:return r?h(1,m):h(0,m+1);case u:var y=this.$locale().weekStart||0,w=(b<y?b+7:b)-y;return h(r?v-w:v+(6-w),m);case s:case d:return p(g+"Hours",0);case a:return p(g+"Minutes",1);case i:return p(g+"Seconds",2);case o:return p(g+"Milliseconds",3);default:return this.clone()}},v.endOf=function(e){return this.startOf(e,!1)},v.$set=function(e,t){var n,u=E.p(e),l="set"+(this.$u?"UTC":""),h=(n={},n[s]=l+"Date",n[d]=l+"Date",n[c]=l+"Month",n[f]=l+"FullYear",n[a]=l+"Hours",n[i]=l+"Minutes",n[o]=l+"Seconds",n[r]=l+"Milliseconds",n)[u],p=u===s?this.$D+(t-this.$W):t;if(u===c||u===f){var b=this.clone().set(d,1);b.$d[h](p),b.init(),this.$d=b.set(d,Math.min(this.$D,b.daysInMonth())).$d}else h&&this.$d[h](p);return this.init(),this},v.set=function(e,t){return this.clone().$set(e,t)},v.get=function(e){return this[E.p(e)]()},v.add=function(r,l){var d,h=this;r=Number(r);var p=E.p(l),b=function(e){var t=O(h);return E.w(t.date(t.date()+Math.round(e*r)),h)};if(p===c)return this.set(c,this.$M+r);if(p===f)return this.set(f,this.$y+r);if(p===s)return b(1);if(p===u)return b(7);var m=(d={},d[i]=t,d[a]=n,d[o]=e,d)[p]||1,v=this.$d.getTime()+r*m;return E.w(v,this)},v.subtract=function(e,t){return this.add(-1*e,t)},v.format=function(e){var t=this,n=this.$locale();if(!this.isValid())return n.invalidDate||h;var r=e||"YYYY-MM-DDTHH:mm:ssZ",o=E.z(this),i=this.$H,a=this.$m,s=this.$M,u=n.weekdays,c=n.months,l=n.meridiem,f=function(e,n,o,i){return e&&(e[n]||e(t,r))||o[n].slice(0,i)},d=function(e){return E.s(i%12||12,e,"0")},p=l||function(e,t,n){var r=e<12?"AM":"PM";return n?r.toLowerCase():r};return r.replace(b,function(e,r){return r||function(e){switch(e){case"YY":return String(t.$y).slice(-2);case"YYYY":return E.s(t.$y,4,"0");case"M":return s+1;case"MM":return E.s(s+1,2,"0");case"MMM":return f(n.monthsShort,s,c,3);case"MMMM":return f(c,s);case"D":return t.$D;case"DD":return E.s(t.$D,2,"0");case"d":return String(t.$W);case"dd":return f(n.weekdaysMin,t.$W,u,2);case"ddd":return f(n.weekdaysShort,t.$W,u,3);case"dddd":return u[t.$W];case"H":return String(i);case"HH":return E.s(i,2,"0");case"h":return d(1);case"hh":return d(2);case"a":return p(i,a,!0);case"A":return p(i,a,!1);case"m":return String(a);case"mm":return E.s(a,2,"0");case"s":return String(t.$s);case"ss":return E.s(t.$s,2,"0");case"SSS":return E.s(t.$ms,3,"0");case"Z":return o}return null}(e)||o.replace(":","")})},v.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},v.diff=function(r,d,h){var p,b=this,m=E.p(d),v=O(r),g=(v.utcOffset()-this.utcOffset())*t,y=this-v,w=function(){return E.m(b,v)};switch(m){case f:p=w()/12;break;case c:p=w();break;case l:p=w()/3;break;case u:p=(y-g)/6048e5;break;case s:p=(y-g)/864e5;break;case a:p=y/n;break;case i:p=y/t;break;case o:p=y/e;break;default:p=y}return h?p:E.a(p)},v.daysInMonth=function(){return this.endOf(c).$D},v.$locale=function(){return w[this.$L]},v.locale=function(e,t){if(!e)return this.$L;var n=this.clone(),r=x(e,t,!0);return r&&(n.$L=r),n},v.clone=function(){return E.w(this.$d,this)},v.toDate=function(){return new Date(this.valueOf())},v.toJSON=function(){return this.isValid()?this.toISOString():null},v.toISOString=function(){return this.$d.toISOString()},v.toString=function(){return this.$d.toUTCString()},m}(),T=A.prototype;return O.prototype=T,[["$ms",r],["$s",o],["$m",i],["$H",a],["$W",s],["$M",c],["$y",f],["$D",d]].forEach(function(e){T[e[1]]=function(t){return this.$g(t,e[0],e[1])}}),O.extend=function(e,t){return e.$i||(e(t,A,O),e.$i=!0),O},O.locale=x,O.isDayjs=_,O.unix=function(e){return O(1e3*e)},O.en=w[y],O.Ls=w,O.p={},O}()),Mt.exports),Rt=At(jt),Dt={exports:{}};var $t,Ct=(kt||(kt=1,Dt.exports=function(e,t,n){var r="h:mm A",o={lastDay:"[Yesterday at] "+r,sameDay:"[Today at] "+r,nextDay:"[Tomorrow at] "+r,nextWeek:"dddd [at] "+r,lastWeek:"[Last] dddd [at] "+r,sameElse:"MM/DD/YYYY"};t.prototype.calendar=function(e,t){var r=t||this.$locale().calendar||o,i=n(e||void 0).startOf("d"),a=this.diff(i,"d",!0),s="sameElse",u=a<-6?s:a<-1?"lastWeek":a<0?"lastDay":a<1?"sameDay":a<2?"nextDay":a<7?"nextWeek":s,c=r[u]||o[u];return"function"==typeof c?c.call(this,n()):this.format(c)}}),Dt.exports),Lt=At(Ct),Nt={exports:{}};var Ft,Pt=($t||($t=1,Nt.exports=function(){var e={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},t=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,n=/\d/,r=/\d\d/,o=/\d\d?/,i=/\d*[^-_:/,()\s\d]+/,a={},s=function(e){return(e=+e)+(e>68?1900:2e3)},u=function(e){return function(t){this[e]=+t}},c=[/[+-]\d\d:?(\d\d)?|Z/,function(e){(this.zone||(this.zone={})).offset=function(e){if(!e)return 0;if("Z"===e)return 0;var t=e.match(/([+-]|\d\d)/g),n=60*t[1]+(+t[2]||0);return 0===n?0:"+"===t[0]?-n:n}(e)}],l=function(e){var t=a[e];return t&&(t.indexOf?t:t.s.concat(t.f))},f=function(e,t){var n,r=a.meridiem;if(r){for(var o=1;o<=24;o+=1)if(e.indexOf(r(o,0,t))>-1){n=o>12;break}}else n=e===(t?"pm":"PM");return n},d={A:[i,function(e){this.afternoon=f(e,!1)}],a:[i,function(e){this.afternoon=f(e,!0)}],Q:[n,function(e){this.month=3*(e-1)+1}],S:[n,function(e){this.milliseconds=100*+e}],SS:[r,function(e){this.milliseconds=10*+e}],SSS:[/\d{3}/,function(e){this.milliseconds=+e}],s:[o,u("seconds")],ss:[o,u("seconds")],m:[o,u("minutes")],mm:[o,u("minutes")],H:[o,u("hours")],h:[o,u("hours")],HH:[o,u("hours")],hh:[o,u("hours")],D:[o,u("day")],DD:[r,u("day")],Do:[i,function(e){var t=a.ordinal,n=e.match(/\d+/);if(this.day=n[0],t)for(var r=1;r<=31;r+=1)t(r).replace(/\[|\]/g,"")===e&&(this.day=r)}],w:[o,u("week")],ww:[r,u("week")],M:[o,u("month")],MM:[r,u("month")],MMM:[i,function(e){var t=l("months"),n=(l("monthsShort")||t.map(function(e){return e.slice(0,3)})).indexOf(e)+1;if(n<1)throw new Error;this.month=n%12||n}],MMMM:[i,function(e){var t=l("months").indexOf(e)+1;if(t<1)throw new Error;this.month=t%12||t}],Y:[/[+-]?\d+/,u("year")],YY:[r,function(e){this.year=s(e)}],YYYY:[/\d{4}/,u("year")],Z:c,ZZ:c};function h(n){var r,o;r=n,o=a&&a.formats;for(var i=(n=r.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(t,n,r){var i=r&&r.toUpperCase();return n||o[r]||e[r]||o[i].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(e,t,n){return t||n.slice(1)})})).match(t),s=i.length,u=0;u<s;u+=1){var c=i[u],l=d[c],f=l&&l[0],h=l&&l[1];i[u]=h?{regex:f,parser:h}:c.replace(/^\[|\]$/g,"")}return function(e){for(var t={},n=0,r=0;n<s;n+=1){var o=i[n];if("string"==typeof o)r+=o.length;else{var a=o.regex,u=o.parser,c=e.slice(r),l=a.exec(c)[0];u.call(t,l),e=e.replace(l,"")}}return function(e){var t=e.afternoon;if(void 0!==t){var n=e.hours;t?n<12&&(e.hours+=12):12===n&&(e.hours=0),delete e.afternoon}}(t),t}}return function(e,t,n){n.p.customParseFormat=!0,e&&e.parseTwoDigitYear&&(s=e.parseTwoDigitYear);var r=t.prototype,o=r.parse;r.parse=function(e){var t=e.date,r=e.utc,i=e.args;this.$u=r;var s=i[1];if("string"==typeof s){var u=!0===i[2],c=!0===i[3],l=u||c,f=i[2];c&&(f=i[2]),a=this.$locale(),!u&&f&&(a=n.Ls[f]),this.$d=function(e,t,n,r){try{if(["x","X"].indexOf(t)>-1)return new Date(("X"===t?1e3:1)*e);var o=h(t)(e),i=o.year,a=o.month,s=o.day,u=o.hours,c=o.minutes,l=o.seconds,f=o.milliseconds,d=o.zone,p=o.week,b=new Date,m=s||(i||a?1:b.getDate()),v=i||b.getFullYear(),g=0;i&&!a||(g=a>0?a-1:b.getMonth());var y,w=u||0,S=c||0,_=l||0,x=f||0;return d?new Date(Date.UTC(v,g,m,w,S,_,x+60*d.offset*1e3)):n?new Date(Date.UTC(v,g,m,w,S,_,x)):(y=new Date(v,g,m,w,S,_,x),p&&(y=r(y).week(p).toDate()),y)}catch(e){return new Date("")}}(t,s,r,n),this.init(),f&&!0!==f&&(this.$L=this.locale(f).$L),l&&t!=this.format(s)&&(this.$d=new Date("")),a={}}else if(s instanceof Array)for(var d=s.length,p=1;p<=d;p+=1){i[1]=s[p-1];var b=n.apply(this,i);if(b.isValid()){this.$d=b.$d,this.$L=b.$L,this.init();break}p===d&&(this.$d=new Date(""))}else o.call(this,e)}}}()),Nt.exports),Bt=At(Pt),Ut={exports:{}};var It,Yt=(Ft||(Ft=1,Ut.exports=function(e,t,n){t.prototype.dayOfYear=function(e){var t=Math.round((n(this).startOf("day")-n(this).startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"day")}}),Ut.exports),Ht=At(Yt),zt={exports:{}};var qt,Wt=(It||(It=1,zt.exports=function(){var e,t,n=1e3,r=6e4,o=36e5,i=864e5,a=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,s=31536e6,u=2628e6,c=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/,l={years:s,months:u,days:i,hours:o,minutes:r,seconds:n,milliseconds:1,weeks:6048e5},f=function(e){return e instanceof g},d=function(e,t,n){return new g(e,n,t.$l)},h=function(e){return t.p(e)+"s"},p=function(e){return e<0},b=function(e){return p(e)?Math.ceil(e):Math.floor(e)},m=function(e){return Math.abs(e)},v=function(e,t){return e?p(e)?{negative:!0,format:""+m(e)+t}:{negative:!1,format:""+e+t}:{negative:!1,format:""}},g=function(){function p(e,t,n){var r=this;if(this.$d={},this.$l=n,void 0===e&&(this.$ms=0,this.parseFromMilliseconds()),t)return d(e*l[h(t)],this);if("number"==typeof e)return this.$ms=e,this.parseFromMilliseconds(),this;if("object"==typeof e)return Object.keys(e).forEach(function(t){r.$d[h(t)]=e[t]}),this.calMilliseconds(),this;if("string"==typeof e){var o=e.match(c);if(o){var i=o.slice(2).map(function(e){return null!=e?Number(e):0});return this.$d.years=i[0],this.$d.months=i[1],this.$d.weeks=i[2],this.$d.days=i[3],this.$d.hours=i[4],this.$d.minutes=i[5],this.$d.seconds=i[6],this.calMilliseconds(),this}}return this}var m=p.prototype;return m.calMilliseconds=function(){var e=this;this.$ms=Object.keys(this.$d).reduce(function(t,n){return t+(e.$d[n]||0)*l[n]},0)},m.parseFromMilliseconds=function(){var e=this.$ms;this.$d.years=b(e/s),e%=s,this.$d.months=b(e/u),e%=u,this.$d.days=b(e/i),e%=i,this.$d.hours=b(e/o),e%=o,this.$d.minutes=b(e/r),e%=r,this.$d.seconds=b(e/n),e%=n,this.$d.milliseconds=e},m.toISOString=function(){var e=v(this.$d.years,"Y"),t=v(this.$d.months,"M"),n=+this.$d.days||0;this.$d.weeks&&(n+=7*this.$d.weeks);var r=v(n,"D"),o=v(this.$d.hours,"H"),i=v(this.$d.minutes,"M"),a=this.$d.seconds||0;this.$d.milliseconds&&(a+=this.$d.milliseconds/1e3,a=Math.round(1e3*a)/1e3);var s=v(a,"S"),u=e.negative||t.negative||r.negative||o.negative||i.negative||s.negative,c=o.format||i.format||s.format?"T":"",l=(u?"-":"")+"P"+e.format+t.format+r.format+c+o.format+i.format+s.format;return"P"===l||"-P"===l?"P0D":l},m.toJSON=function(){return this.toISOString()},m.format=function(e){var n=e||"YYYY-MM-DDTHH:mm:ss",r={Y:this.$d.years,YY:t.s(this.$d.years,2,"0"),YYYY:t.s(this.$d.years,4,"0"),M:this.$d.months,MM:t.s(this.$d.months,2,"0"),D:this.$d.days,DD:t.s(this.$d.days,2,"0"),H:this.$d.hours,HH:t.s(this.$d.hours,2,"0"),m:this.$d.minutes,mm:t.s(this.$d.minutes,2,"0"),s:this.$d.seconds,ss:t.s(this.$d.seconds,2,"0"),SSS:t.s(this.$d.milliseconds,3,"0")};return n.replace(a,function(e,t){return t||String(r[e])})},m.as=function(e){return this.$ms/l[h(e)]},m.get=function(e){var t=this.$ms,n=h(e);return"milliseconds"===n?t%=1e3:t="weeks"===n?b(t/l[n]):this.$d[n],t||0},m.add=function(e,t,n){var r;return r=t?e*l[h(t)]:f(e)?e.$ms:d(e,this).$ms,d(this.$ms+r*(n?-1:1),this)},m.subtract=function(e,t){return this.add(e,t,!0)},m.locale=function(e){var t=this.clone();return t.$l=e,t},m.clone=function(){return d(this.$ms,this)},m.humanize=function(t){return e().add(this.$ms,"ms").locale(this.$l).fromNow(!t)},m.valueOf=function(){return this.asMilliseconds()},m.milliseconds=function(){return this.get("milliseconds")},m.asMilliseconds=function(){return this.as("milliseconds")},m.seconds=function(){return this.get("seconds")},m.asSeconds=function(){return this.as("seconds")},m.minutes=function(){return this.get("minutes")},m.asMinutes=function(){return this.as("minutes")},m.hours=function(){return this.get("hours")},m.asHours=function(){return this.as("hours")},m.days=function(){return this.get("days")},m.asDays=function(){return this.as("days")},m.weeks=function(){return this.get("weeks")},m.asWeeks=function(){return this.as("weeks")},m.months=function(){return this.get("months")},m.asMonths=function(){return this.as("months")},m.years=function(){return this.get("years")},m.asYears=function(){return this.as("years")},p}(),y=function(e,t,n){return e.add(t.years()*n,"y").add(t.months()*n,"M").add(t.days()*n,"d").add(t.hours()*n,"h").add(t.minutes()*n,"m").add(t.seconds()*n,"s").add(t.milliseconds()*n,"ms")};return function(n,r,o){e=o,t=o().$utils(),o.duration=function(e,t){var n=o.locale();return d(e,{$l:n},t)},o.isDuration=f;var i=r.prototype.add,a=r.prototype.subtract;r.prototype.add=function(e,t){return f(e)?y(this,e,1):i.bind(this)(e,t)},r.prototype.subtract=function(e,t){return f(e)?y(this,e,-1):a.bind(this)(e,t)}}}()),zt.exports),Vt=At(Wt),Jt={exports:{}};var Zt,Kt=(qt||(qt=1,Jt.exports=function(e,t,n){t.prototype.isBetween=function(e,t,r,o){var i=n(e),a=n(t),s="("===(o=o||"()")[0],u=")"===o[1];return(s?this.isAfter(i,r):!this.isBefore(i,r))&&(u?this.isBefore(a,r):!this.isAfter(a,r))||(s?this.isBefore(i,r):!this.isAfter(i,r))&&(u?this.isAfter(a,r):!this.isBefore(a,r))}}),Jt.exports),Xt=At(Kt),Gt={exports:{}};var Qt,en=(Zt||(Zt=1,Gt.exports=function(e,t){t.prototype.isLeapYear=function(){return this.$y%4==0&&this.$y%100!=0||this.$y%400==0}}),Gt.exports),tn=At(en),nn={exports:{}};var rn,on,an=(Qt||(Qt=1,nn.exports=(rn="day",function(e,t,n){var r=function(e){return e.add(4-e.isoWeekday(),rn)},o=t.prototype;o.isoWeekYear=function(){return r(this).year()},o.isoWeek=function(e){if(!this.$utils().u(e))return this.add(7*(e-this.isoWeek()),rn);var t,o,i,a=r(this),s=(t=this.isoWeekYear(),i=4-(o=(this.$u?n.utc:n)().year(t).startOf("year")).isoWeekday(),o.isoWeekday()>4&&(i+=7),o.add(i,rn));return a.diff(s,"week")+1},o.isoWeekday=function(e){return this.$utils().u(e)?this.day()||7:this.day(this.day()%7?e:e-7)};var i=o.startOf;o.startOf=function(e,t){var n=this.$utils(),r=!!n.u(t)||t;return"isoweek"===n.p(e)?r?this.date(this.date()-(this.isoWeekday()-1)).startOf("day"):this.date(this.date()-1-(this.isoWeekday()-1)+7).endOf("day"):i.bind(this)(e,t)}})),nn.exports),sn=At(an),un={exports:{}};var cn,ln=(on||(on=1,un.exports=function(e,t,n){var r=t.prototype,o=function(e){return e&&(e.indexOf?e:e.s)},i=function(e,t,n,r,i){var a=e.name?e:e.$locale(),s=o(a[t]),u=o(a[n]),c=s||u.map(function(e){return e.slice(0,r)});if(!i)return c;var l=a.weekStart;return c.map(function(e,t){return c[(t+(l||0))%7]})},a=function(){return n.Ls[n.locale()]},s=function(e,t){return e.formats[t]||function(e){return e.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(e,t,n){return t||n.slice(1)})}(e.formats[t.toUpperCase()])},u=function(){var e=this;return{months:function(t){return t?t.format("MMMM"):i(e,"months")},monthsShort:function(t){return t?t.format("MMM"):i(e,"monthsShort","months",3)},firstDayOfWeek:function(){return e.$locale().weekStart||0},weekdays:function(t){return t?t.format("dddd"):i(e,"weekdays")},weekdaysMin:function(t){return t?t.format("dd"):i(e,"weekdaysMin","weekdays",2)},weekdaysShort:function(t){return t?t.format("ddd"):i(e,"weekdaysShort","weekdays",3)},longDateFormat:function(t){return s(e.$locale(),t)},meridiem:this.$locale().meridiem,ordinal:this.$locale().ordinal}};r.localeData=function(){return u.bind(this)()},n.localeData=function(){var e=a();return{firstDayOfWeek:function(){return e.weekStart||0},weekdays:function(){return n.weekdays()},weekdaysShort:function(){return n.weekdaysShort()},weekdaysMin:function(){return n.weekdaysMin()},months:function(){return n.months()},monthsShort:function(){return n.monthsShort()},longDateFormat:function(t){return s(e,t)},meridiem:e.meridiem,ordinal:e.ordinal}},n.months=function(){return i(a(),"months")},n.monthsShort=function(){return i(a(),"monthsShort","months",3)},n.weekdays=function(e){return i(a(),"weekdays",null,null,e)},n.weekdaysShort=function(e){return i(a(),"weekdaysShort","weekdays",3,e)},n.weekdaysMin=function(e){return i(a(),"weekdaysMin","weekdays",2,e)}}),un.exports),fn=At(ln),dn={exports:{}};var hn,pn=(cn||(cn=1,dn.exports=function(){var e={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};return function(t,n,r){var o=n.prototype,i=o.format;r.en.formats=e,o.format=function(t){void 0===t&&(t="YYYY-MM-DDTHH:mm:ssZ");var n=this.$locale().formats,r=function(t,n){return t.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(t,r,o){var i=o&&o.toUpperCase();return r||n[o]||e[o]||n[i].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(e,t,n){return t||n.slice(1)})})}(t,void 0===n?{}:n);return i.call(this,r)}}}()),dn.exports),bn=At(pn),mn={exports:{}};var vn,gn=(hn||(hn=1,mn.exports=function(e,t,n){var r=function(e,t){if(!t||!t.length||1===t.length&&!t[0]||1===t.length&&Array.isArray(t[0])&&!t[0].length)return null;var n;1===t.length&&t[0].length>0&&(t=t[0]),n=(t=t.filter(function(e){return e}))[0];for(var r=1;r<t.length;r+=1)t[r].isValid()&&!t[r][e](n)||(n=t[r]);return n};n.max=function(){var e=[].slice.call(arguments,0);return r("isAfter",e)},n.min=function(){var e=[].slice.call(arguments,0);return r("isBefore",e)}}),mn.exports),yn=At(gn),wn={exports:{}};var Sn,_n,xn,On=(vn||(vn=1,wn.exports=(Sn="month",_n="quarter",function(e,t){var n=t.prototype;n.quarter=function(e){return this.$utils().u(e)?Math.ceil((this.month()+1)/3):this.month(this.month()%3+3*(e-1))};var r=n.add;n.add=function(e,t){return e=Number(e),this.$utils().p(t)===_n?this.add(3*e,Sn):r.bind(this)(e,t)};var o=n.startOf;n.startOf=function(e,t){var n=this.$utils(),r=!!n.u(t)||t;if(n.p(e)===_n){var i=this.quarter()-1;return r?this.month(3*i).startOf(Sn).startOf("day"):this.month(3*i+2).endOf(Sn).endOf("day")}return o.bind(this)(e,t)}})),wn.exports),En=At(On),An={exports:{}};var Tn,Mn=(xn||(xn=1,An.exports=function(e,t,n){e=e||{};var r=t.prototype,o={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function i(e,t,n,o){return r.fromToBase(e,t,n,o)}n.en.relativeTime=o,r.fromToBase=function(t,r,i,a,s){for(var u,c,l,f=i.$locale().relativeTime||o,d=e.thresholds||[{l:"s",r:44,d:"second"},{l:"m",r:89},{l:"mm",r:44,d:"minute"},{l:"h",r:89},{l:"hh",r:21,d:"hour"},{l:"d",r:35},{l:"dd",r:25,d:"day"},{l:"M",r:45},{l:"MM",r:10,d:"month"},{l:"y",r:17},{l:"yy",d:"year"}],h=d.length,p=0;p<h;p+=1){var b=d[p];b.d&&(u=a?n(t).diff(i,b.d,!0):i.diff(t,b.d,!0));var m=(e.rounding||Math.round)(Math.abs(u));if(l=u>0,m<=b.r||!b.r){m<=1&&p>0&&(b=d[p-1]);var v=f[b.l];s&&(m=s(""+m)),c="string"==typeof v?v.replace("%d",m):v(m,r,b.l,l);break}}if(r)return c;var g=l?f.future:f.past;return"function"==typeof g?g(c):g.replace("%s",c)},r.to=function(e,t){return i(e,t,this,!0)},r.from=function(e,t){return i(e,t,this)};var a=function(e){return e.$u?n.utc():n()};r.toNow=function(e){return this.to(a(this),e)},r.fromNow=function(e){return this.from(a(this),e)}}),An.exports),kn=At(Mn),jn={exports:{}};var Rn,Dn=(Tn||(Tn=1,jn.exports=function(){var e={year:0,month:1,day:2,hour:3,minute:4,second:5},t={};return function(n,r,o){var i,a=function(e,n,r){void 0===r&&(r={});var o=new Date(e),i=function(e,n){void 0===n&&(n={});var r=n.timeZoneName||"short",o=e+"|"+r,i=t[o];return i||(i=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:e,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",timeZoneName:r}),t[o]=i),i}(n,r);return i.formatToParts(o)},s=function(t,n){for(var r=a(t,n),i=[],s=0;s<r.length;s+=1){var u=r[s],c=u.type,l=u.value,f=e[c];f>=0&&(i[f]=parseInt(l,10))}var d=i[3],h=24===d?0:d,p=i[0]+"-"+i[1]+"-"+i[2]+" "+h+":"+i[4]+":"+i[5]+":000",b=+t;return(o.utc(p).valueOf()-(b-=b%1e3))/6e4},u=r.prototype;u.tz=function(e,t){void 0===e&&(e=i);var n,r=this.utcOffset(),a=this.toDate(),s=a.toLocaleString("en-US",{timeZone:e}),u=Math.round((a-new Date(s))/1e3/60),c=15*-Math.round(a.getTimezoneOffset()/15)-u;if(Number(c)){if(n=o(s,{locale:this.$L}).$set("millisecond",this.$ms).utcOffset(c,!0),t){var l=n.utcOffset();n=n.add(r-l,"minute")}}else n=this.utcOffset(0,t);return n.$x.$timezone=e,n},u.offsetName=function(e){var t=this.$x.$timezone||o.tz.guess(),n=a(this.valueOf(),t,{timeZoneName:e}).find(function(e){return"timezonename"===e.type.toLowerCase()});return n&&n.value};var c=u.startOf;u.startOf=function(e,t){if(!this.$x||!this.$x.$timezone)return c.call(this,e,t);var n=o(this.format("YYYY-MM-DD HH:mm:ss:SSS"),{locale:this.$L});return c.call(n,e,t).tz(this.$x.$timezone,!0)},o.tz=function(e,t,n){var r=n&&t,a=n||t||i,u=s(+o(),a);if("string"!=typeof e)return o(e).tz(a);var c=function(e,t,n){var r=e-60*t*1e3,o=s(r,n);if(t===o)return[r,t];var i=s(r-=60*(o-t)*1e3,n);return o===i?[r,o]:[e-60*Math.min(o,i)*1e3,Math.max(o,i)]}(o.utc(e,r).valueOf(),u,a),l=c[0],f=c[1],d=o(l).utcOffset(f);return d.$x.$timezone=a,d},o.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},o.tz.setDefault=function(e){i=e}}}()),jn.exports),$n=At(Dn),Cn={exports:{}};var Ln,Nn=(Rn||(Rn=1,Cn.exports=function(e,t,n){n.updateLocale=function(e,t){var r=n.Ls[e];if(r)return(t?Object.keys(t):[]).forEach(function(e){r[e]=t[e]}),r}}),Cn.exports),Fn=At(Nn),Pn={exports:{}};var Bn,Un=(Ln||(Ln=1,Pn.exports=function(){var e="minute",t=/[+-]\d\d(?::?\d\d)?/g,n=/([+-]|\d\d)/g;return function(r,o,i){var a=o.prototype;i.utc=function(e){return new o({date:e,utc:!0,args:arguments})},a.utc=function(t){var n=i(this.toDate(),{locale:this.$L,utc:!0});return t?n.add(this.utcOffset(),e):n},a.local=function(){return i(this.toDate(),{locale:this.$L,utc:!1})};var s=a.parse;a.parse=function(e){e.utc&&(this.$u=!0),this.$utils().u(e.$offset)||(this.$offset=e.$offset),s.call(this,e)};var u=a.init;a.init=function(){if(this.$u){var e=this.$d;this.$y=e.getUTCFullYear(),this.$M=e.getUTCMonth(),this.$D=e.getUTCDate(),this.$W=e.getUTCDay(),this.$H=e.getUTCHours(),this.$m=e.getUTCMinutes(),this.$s=e.getUTCSeconds(),this.$ms=e.getUTCMilliseconds()}else u.call(this)};var c=a.utcOffset;a.utcOffset=function(r,o){var i=this.$utils().u;if(i(r))return this.$u?0:i(this.$offset)?c.call(this):this.$offset;if("string"==typeof r&&(r=function(e){void 0===e&&(e="");var r=e.match(t);if(!r)return null;var o=(""+r[0]).match(n)||["-",0,0],i=o[0],a=60*+o[1]+ +o[2];return 0===a?0:"+"===i?a:-a}(r),null===r))return this;var a=Math.abs(r)<=16?60*r:r,s=this;if(o)return s.$offset=a,s.$u=0===r,s;if(0!==r){var u=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(s=this.local().add(a+u,e)).$offset=a,s.$x.$localOffset=u}else s=this.utc();return s};var l=a.format;a.format=function(e){var t=e||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return l.call(this,t)},a.valueOf=function(){var e=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*e},a.isUTC=function(){return!!this.$u},a.toISOString=function(){return this.toDate().toISOString()},a.toString=function(){return this.toDate().toUTCString()};var f=a.toDate;a.toDate=function(e){return"s"===e&&this.$offset?i(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():f.call(this)};var d=a.diff;a.diff=function(e,t,n){if(e&&this.$u===e.$u)return d.call(this,e,t,n);var r=this.local(),o=i(e).local();return d.call(r,o,t,n)}}}()),Pn.exports),In=At(Un),Yn={exports:{}};var Hn,zn=(Bn||(Bn=1,Yn.exports=function(e,t){t.prototype.weekday=function(e){var t=this.$locale().weekStart||0,n=this.$W,r=(n<t?n+7:n)-t;return this.$utils().u(e)?r:this.subtract(r,"day").add(e,"day")}}),Yn.exports),qn=At(zn),Wn={exports:{}};var Vn=(Hn||(Hn=1,Wn.exports=function(){var e="week",t="year";return function(n,r,o){var i=r.prototype;i.week=function(n){if(void 0===n&&(n=null),null!==n)return this.add(7*(n-this.week()),"day");var r=this.$locale().yearStart||1;if(11===this.month()&&this.date()>25){var i=o(this).startOf(t).add(1,t).date(r),a=o(this).endOf(e);if(i.isBefore(a))return 1}var s=o(this).startOf(t).date(r).startOf(e).subtract(1,"millisecond"),u=this.diff(s,e,!0);return u<0?o(this).startOf("week").week():Math.ceil(u)},i.weeks=function(e){return void 0===e&&(e=null),this.week(e)}}}()),Wn.exports),Jn=At(Vn);function Zn(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=e.shift(),r=bbn.lng[n]||n;if(e.length){var o=0;return r.replace(/\%([d|s])/g,function(t,n){var r=e[o++];r||(r="d"===n?0:"");var i=typeof r;return"d"===n&&"number"!==i?(r=parseFloat(r),isNaN(r)&&(r=0)):"s"===n&&"string"!==i&&(r=""+r),r})}return r}var Kn={loggers:{_num:0},datatypes:["xml","html","script","json","jsonp","text","blob"],shortenLen:30,keys:{upDown:[33,34,35,36,38,40],leftRight:[36,35,37,39],dels:[8,46,45],confirm:[13,9],alt:[20,16,17,18,144],numbers:[48,49,50,51,52,53,54,55,56,57,96,97,98,99,100,101,102,103,104,105],numsigns:[109,110,189,190]},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}},Xn={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,timeoff:Math.round((new Date).getTime()/1e3),loggingLevel:5,ignoreUnload:!1,historyDisabled:!1,nav:"ajax",online:window.navigator.onLine};function Gn(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(!e.length)return!1;for(var n=0,r=e;n<r.length;n++){var o=r[n];if(["boolean","object","symbol"].includes(typeof o)||""===o||isNaN(o))return!1}return!0}function Qn(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(!e.length)return!1;for(var n=0,r=e;n<r.length;n++){var o=r[n];if(!o||"object"!=typeof o||!(Symbol.iterator in Object(o)))return!1}return!0}function er(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(!e.length)return!1;for(var n=0,r=e;n<r.length;n++){var o=r[n];if("[object String]"!=={}.toString.apply(o))return!1}return!0}function tr(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(!e.length)return!1;for(var n=0,r=e;n<r.length;n++){var o=r[n];if(!Number.isInteger(o))return!1}return!0}function nr(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(!e.length)return!1;for(var n=0,r=e;n<r.length;n++){var o=r[n];if(!(o&&o.constructor&&o.call&&o.apply))return!1}return!0}function rr(){for(var e,t,n,r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];if((null===(e=bbn.env)||void 0===e?void 0:e.isDev)&&void 0!==(null===window||void 0===window?void 0:window.console)){var i=void 0,a=5,s="log";r[0]&&"object"==typeof r[0]&&r[0]._bbn_console_style&&(r[0]._bbn_console_mode&&nr(console[r[0]._bbn_console_mode])?s=r[0]._bbn_console_mode:(i=r[0]._bbn_console_style,a=r[0]._bbn_console_level),r.shift());var u=window.console[s];if((null===(n=null===(t=window.bbn)||void 0===t?void 0:t.env)||void 0===n?void 0:n.loggingLevel)>=a)for(var c=0;c<r.length;){var l=typeof r[c],f=[r[c]];"string"!==l&&"number"!==l||f.unshift("%c %s ",i),u.apply(window.console,f),c++}}return this}function or(e,t,n){if(!er(e)||!tr(t))throw rr(arguments),new Error(bbn._("The substr function should be applied to a string and at least a `from` argument should be given"));return t<0&&(t=e.length+t),tr(n)?e.substring(t,(n<0?e.length:t)+n):e.substring(t)}function ir(e,t){void 0===t&&(t=!1);var n=null;if("object"==typeof e)for(var r in n={},e)or(r,0,1).match(/^[A-z0-9]$/)&&r in e&&(t&&"object"==typeof e[r]?n[r]=ir(e[r],!0):n[r]=e[r]);return n||!1}function ar(e,t,n,r){if(void 0===n&&(n=!1),void 0===r&&(r=!1),null!==e&&"object"==typeof e){var o=Object.keys(n?ir(e):e);r&&o.reverse();for(var i=0,a=o;i<a.length;i++){var s=a[i];if(!1===t(e[s],s))break}}return e}function sr(e,t){if(!(Gn(e)&&e>0)){if(Qn(e)){for(n=0;n<e.length;n++)if(!1===t(e[n],n))return;return e}return ar(e,t)}for(var n=0;n<e;n++)if(!1===t(n,n))return}function ur(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(!e.length)return!1;for(var n=0,r=e;n<r.length;n++){var o=r[n];if("[object Object]"!=={}.toString.apply(o))return!1}return!0}function cr(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(!e.length)return!1;for(var n=0,r=e;n<r.length;n++){var o=r[n];if(!Array.isArray(o))return!1}return!0}function lr(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=!1,r=[],o=0;o<e.length;o++)if(!0===e[o])n=!0;else{if(!e[o])continue;if("object"!=typeof e[o])throw new Error(bbn._("Error in extend: all arguments should be object, you have given ")+typeof e[o]);r.push(e[o])}if(!r.length)throw new Error("No argument given");var i,a=r[0];for(o=1;o<r.length;o++)ar(r[o],function(e,t){n?cr(e)?(a[t]=cr(a[t])?a[t]:[],sr(e,function(e,n){if(e&&"object"==typeof e){var r=a[t][n];cr(e)?cr(r)||(r=[]):ur(r)||(r={}),a[t][n]=lr(!0,r,e)}else a[t][n]=e})):ur(e)?a[t]=lr(!0,a[t]&&"object"==typeof a[t]?a[t]:Object.create(Object.getPrototypeOf(e)),e):a[t]=e:(a[t]!==e||void 0===e&&!Object.prototype.hasOwnProperty.apply(a,[t]))&&(a[t]=e)}),i||(i=!!r[o].__bbnNoData);return i&&"bbnData"in window&&(a.__bbnData&&a.__bbnData.unset(),Object.defineProperty(a,"__bbnNoData",{value:!0,enumerable:!1,configurable:!1,writable:!1})),a}var fr=function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))},dr=window.indexedDB||window.webkitIndexedDB||window.mozIndexedDB||window.OIndexedDB||window.msIndexedDB,hr=function(e,t){if(null==t?void 0:t.length){var n={};return ar(e,function(e,r){t.indexOf(r)>-1&&(n[r]=e)}),n}return e},pr=function(e){var t=this,n=br._connections[e],r=br._structures[e],o=null,i=function(e,t){e.onerror=function(){o=e.error,rr(e.error),t(e.error)}},a=function(e,t){var r=n.transaction([e],0===t.toLowerCase().indexOf("r")?"readonly":"readwrite");return r.onabort=function(){throw o=r.error,new Error(r.error)},[r,r.objectStore(e)]};this.lastError=function(){return o},this.insert=function(e,t){return Array.isArray(t)||(t=[t]),new Promise(function(n){var r=a(e,"w"),o=r[0],i=r[1],s=t.length;sr(t,function(e){var t=i.put(e);t.onerror=function(){rr(t.error),s--}}),o.oncomplete=function(){n(s)}})},this.update=function(e,n,o,s){return new Promise(function(u){t.selectAll(e,[],o).then(function(t){var o;if(t.length){for(var c=a(e,"w"),l=c[0],f=c[1],d=r[e],h=d.keys.PRIMARY.columns.length>1?d.keys.PRIMARY.columns:d.keys.PRIMARY.columns[0],p=0,b=0;b<t.length;b++){var m=lr({},s?((o={})[h]=t[b][h],o):t[b],n);if(!m[h])throw new Error(Zn("No primary key in the data"));var v=f.put(m);i(v,u),v.onsuccess=function(){p++}}l.oncomplete=function(){u(p)}}else u(0)})})},this.delete=function(e,t){return new Promise(function(n){var o=a(e,"w"),s=o[0],u=o[1],c=r[e],l=c.keys.PRIMARY.columns.length>1?c.keys.PRIMARY.columns:c.keys.PRIMARY.columns[0];if(!t[l])throw new Error(Zn("No "));var f=u.delete(t[l]);i(f,n),s.oncomplete=function(){n(1)}})},this.selectOne=function(e,n,r,o,i,a){return new Promise(function(a){t.selectAll(e,[n],r,o,i,1).then(function(e){var t,r;a(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=function(e,n,r,o,i){return new Promise(function(a){t.selectAll(e,n,r,o,i,1).then(function(e){a(e.length?e[0]:null)})})},this.selectAll=function(e,t,n,o,s,u){return void 0===t&&(t=[]),void 0===n&&(n=null),void 0===s&&(s=0),void 0===u&&(u=null),new Promise(function(o){var c=a(e,"r")[1],l=r[e],f=l.keys.PRIMARY.columns.length>1?l.keys.PRIMARY.columns:l.keys.PRIMARY.columns[0],d=ur(n)?Object.keys(n)[0]:!n||cr(n)?null:f,h=[];if(d===f)if(bbn.fn.isArray(null==n?void 0:n[f]))for(var p=[],b=Math.min(n[f].length,u||9999999),m=function(e){var r=c.get(n[f][e]);r.onsuccess=function(){var e=r.result;h.push(hr(e,t)),h.length===b&&o(h)},i(r,o),p.push(r)},v=s||0;v<b;v++)m(v);else{var g=c.get((null==n?void 0:n[f])||n);g.onsuccess=function(){var e=g.result;h.push(hr(e,t)),o(h)},i(g,o)}else{p=c.openCursor();var y=0;p.onsuccess=function(e){var r=e.target.result;r?(n&&bbn.fn.search([r.value],n)||(y>=s&&(h.push(hr(r.value,t)),h.length===u&&o(h)),y++),r.continue()):o(h)},i(p,o)}})},this.getColumnValues=function(e,t,r,o,i,a){return new Promise(function(t){n.transaction([e],"read").objectStore(e)})},this.copyTable=function(o,i,a,s,u,c,l){return void 0===a&&(a=[]),void 0===s&&(s=null),void 0===u&&(u=null),void 0===c&&(c=0),void 0===l&&(l=null),new Promise(function(f){if(n.objectStoreNames.contains(o)||br.add(e,o,r[i]),!n.objectStoreNames.contains(o))throw f(0),new Error(Zn("The target table %s does not exist",o));t.selectAll(i,a,s,u,c,l).then(function(e){e.length?t.insert(o,e).then(function(e){f(e)}):f(0)})})},this.deleteTable=function(e){return new Promise(function(t){n.deleteObjectStore(e),t(!0)})}},br={_structures:{},_connections:{},_stores:{},ok:void 0!==dr,updateStructure:function(e,t,n){var r=t.keys.PRIMARY.columns.length>1?t.keys.PRIMARY.columns:t.keys.PRIMARY.columns[0];if(!n.objectStoreNames.contains(e)){var o=n.createObjectStore(e,{keyPath:r});ar(t.keys,function(e,t){"PRIMARY"!==t&&o.createIndex(t,e.columns.length>1?e.columns:e.columns[0],{unique:!!e.unique})})}},open:function(e){var t=this;return new Promise(function(n){if(br._connections[e])n(new pr(e));else{if(!br._structures[e])throw new Error(Zn("Impossible to find a structure for the database %s",e));var r=Math.max.apply(Math,fr([1],Object.keys(br._structures[e]).map(function(t){return br._structures[e][t].num||1}),!1)),o=dr.open(e,r);o.onupgradeneeded=function(){var n=o.result;ar(br._structures[e],function(e,r){t.updateStructure(r,e,n)})},o.onsuccess=function(){br._connections[e]=o.result;var t=new pr(e);n(t)}}})},add:function(e,t,n){var r;if(!(null===(r=null==n?void 0:n.keys)||void 0===r?void 0:r.PRIMARY)||!(null==n?void 0:n.fields))throw new Error(Zn("The database structure for %s is not valid (are there keys and field? Is there a primary?",t));br._structures[e]||(br._structures[e]={}),br._structures[e][t]=n,br._connections[e]&&this.updateStructure(t,n,br._connections[e])}};function mr(e,t,n){var r=(new Date).getTime(),o={key:e,url:or(e,0,e.length-33),loader:t,aborter:n,loading:!0,error:!1,abort:!1,errorMessage:!1,success:!1,start:r};bbn.env.loaders.push(o),bbn.env.loadersHistory.unshift(o);for(var i=bbn.env.loadersHistory.length;i&&bbn.env.loadersHistory.length>bbn.env.maxLoadersHistory;)i--,bbn.env.loading||bbn.env.loadersHistory.splice(i,1);return r}function vr(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];if("object"==typeof e){var r=[];return 1===t.length&&"string"==typeof t[0]?r.push.apply(r,t[0].split(".")):r.push.apply(r,t),r.reduce(function(e,t){if(e)return e[e instanceof Array?parseInt(t):t]},e)}}function gr(e){if(!er(e)){if(!e.toString)throw rr(e),new Error(bbn._("removeAccent expects a string"));e=e.toString()}return e.normalize("NFD").replace(/[\u0300-\u036f]/g,"")}function yr(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(!e.length)return!1;for(var n=0,r=e;n<r.length;n++){var o=r[n];if("[object Date]"!=={}.toString.apply(o))return!1}return!0}function wr(e,t,n,r){void 0===r&&(r="asc");var o=vr(e,n),i=vr(t,n),a=(typeof o).toLowerCase(),s=(typeof i).toLowerCase();if("asc"!==r&&er(r)&&"desc"===r.toLowerCase()&&(r="desc"),a!==s)o=a,i=s;else switch(a){case"string":o=gr(o).toLowerCase(),i=gr(i).toLowerCase();break;case"boolean":o=o?1:0,i=i?1:0;break;case"object":yr(o)&&(o=o.getTime(),i=yr(i)?i.getTime():0)}return o<i?"desc"===r?1:-1:o>i?"desc"===r?-1:1:0}function Sr(e){return e&&"object"==typeof e?Object.keys(e).length:0}function _r(e){return!e||(cr(e)?!e.length:"object"==typeof e&&!Sr(e))}function xr(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(!e.length)return!1;for(var n=0,r=e;n<r.length;n++){var o=r[n];if("[object Null]"!=={}.toString.apply(o))return!1}return!0}function Or(e){for(var t=0,n=0;n<e.length;n++){t=(t<<5)-t+e.charCodeAt(n),t|=0}return Math.abs(t).toString(16)}function Er(e){for(var t=0,n=0;n<e.length;n++){t=e.charCodeAt(n)+(t<<6)+(t<<16)-t,t|=0}return Math.abs(t).toString(16)}function Ar(e){return Or(e).padStart(8,"0")+Er(e).padStart(8,"0")}function Tr(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(!e.length)return!1;for(var n=0,r=e;n<r.length;n++){if(!(r[n]instanceof HTMLElement))return!1}return!0}function Mr(e){var t="",n=e;if(e.id)return"#"+e.id;for(var r=function(){var e=n,r=e.localName,o=0;if(!r)return"break";if(e===document.body)return"break";e.id&&(t="#"+e.id+">"+t,o=1);var i=n.parentNode,a=Array.from(i.children).filter(function(t){return t.tagName===e.tagName});if(!o&&a.length>1){var s=Array.from(i.children).indexOf(e)+1;s>1&&(r+=":nth-child("+s+")")}t=r+(t?">"+t:""),n=i};n&&n!==document.body;){if("break"===r())break}return t}function kr(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];if(!t.length)return!1;if(!("cp"in bbn)||!("isComponent"in bbn.cp)||"function"!=typeof bbn.cp.isComponent)return!1;for(var r=0,o=t;r<o.length;r++){var i=o[r];if(!bbn.cp.isComponent(i)||Tr(i)||!(null===(e=i.$el)||void 0===e?void 0:e.bbnCid))return!1}return!0}function jr(e,t,n,r,o){if(void 0===t&&(t=null),void 0===n&&(n=0),void 0===r&&(r=null),void 0===o&&(o=null),n||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)||t&&t<n)e="__BBN_ARRAY__"+e.constructor.toString();else{r.add(e);for(var i="",a=0;a<e.length;a++)i+="__BBN_ITEM"+a.toString()+"__"+o(e[a],t,n+1,r,o);e="__BBN_ARRAY__"+i}else if("object"==typeof e)if(r.has(e)||t&&t<n)e="__BBN_OBJECT__"+(e.constructor?e.constructor.toString():"");else{r.add(e);i="";for(var s in e){var u=s;"string"!=typeof u&&(u=o(u,o,1,1)),i+="__BBN_PROP_"+u+"__"+o(e[s],t,n+1,r,o)}e="__BBN_OBJECT__"+i}}else e=Tr(e)?kr(e)?"__BBN_CP__"+e.$cid:e.bbnId?"__BBN_DOM__"+e.tagName+"/"+e.bbnId+e.bbnHash:"__BBN_DOM__"+Mr(e):"__BBN_UNKNOWN_OBJECT__"+e.constructor.toString();return e}function Rr(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n="",r=null;for(var o in 2===e.length&&"number"==typeof e[1]&&(r=e[1],e=[e[0]]),e)n+=jr(e[o],r,0,null,jr);return Ar(n)}function Dr(e){var t="0123456789abcdef";function n(e){var n,r="";for(n=0;n<=3;n++)r+=t.charAt(e>>8*n+4&15)+t.charAt(e>>8*n&15);return r}function r(e,t){var n=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(n>>16)<<16|65535&n}function o(e,t,n,o,i,a){return r(function(e,t){return e<<t|e>>>32-t}(r(r(t,e),r(o,a)),i),n)}function i(e,t,n,r,i,a,s){return o(t&n|~t&r,e,t,i,a,s)}function a(e,t,n,r,i,a,s){return o(t&r|n&~r,e,t,i,a,s)}function s(e,t,n,r,i,a,s){return o(t^n^r,e,t,i,a,s)}function u(e,t,n,r,i,a,s){return o(n^(t|~r),e,t,i,a,s)}var c,l,f,d,h,p=function(e){var t,n=1+(e.length+8>>6),r=new Array(16*n);for(t=0;t<16*n;t++)r[t]=0;for(t=0;t<e.length;t++)r[t>>2]|=e.charCodeAt(t)<<t%4*8;return r[t>>2]|=128<<t%4*8,r[16*n-2]=8*e.length,r}(e),b=1732584193,m=-271733879,v=-1732584194,g=271733878;for(c=0;c<p.length;c+=16)l=b,f=m,d=v,h=g,b=i(b,m,v,g,p[c+0],7,-680876936),g=i(g,b,m,v,p[c+1],12,-389564586),v=i(v,g,b,m,p[c+2],17,606105819),m=i(m,v,g,b,p[c+3],22,-1044525330),b=i(b,m,v,g,p[c+4],7,-176418897),g=i(g,b,m,v,p[c+5],12,1200080426),v=i(v,g,b,m,p[c+6],17,-1473231341),m=i(m,v,g,b,p[c+7],22,-45705983),b=i(b,m,v,g,p[c+8],7,1770035416),g=i(g,b,m,v,p[c+9],12,-1958414417),v=i(v,g,b,m,p[c+10],17,-42063),m=i(m,v,g,b,p[c+11],22,-1990404162),b=i(b,m,v,g,p[c+12],7,1804603682),g=i(g,b,m,v,p[c+13],12,-40341101),v=i(v,g,b,m,p[c+14],17,-1502002290),b=a(b,m=i(m,v,g,b,p[c+15],22,1236535329),v,g,p[c+1],5,-165796510),g=a(g,b,m,v,p[c+6],9,-1069501632),v=a(v,g,b,m,p[c+11],14,643717713),m=a(m,v,g,b,p[c+0],20,-373897302),b=a(b,m,v,g,p[c+5],5,-701558691),g=a(g,b,m,v,p[c+10],9,38016083),v=a(v,g,b,m,p[c+15],14,-660478335),m=a(m,v,g,b,p[c+4],20,-405537848),b=a(b,m,v,g,p[c+9],5,568446438),g=a(g,b,m,v,p[c+14],9,-1019803690),v=a(v,g,b,m,p[c+3],14,-187363961),m=a(m,v,g,b,p[c+8],20,1163531501),b=a(b,m,v,g,p[c+13],5,-1444681467),g=a(g,b,m,v,p[c+2],9,-51403784),v=a(v,g,b,m,p[c+7],14,1735328473),b=s(b,m=a(m,v,g,b,p[c+12],20,-1926607734),v,g,p[c+5],4,-378558),g=s(g,b,m,v,p[c+8],11,-2022574463),v=s(v,g,b,m,p[c+11],16,1839030562),m=s(m,v,g,b,p[c+14],23,-35309556),b=s(b,m,v,g,p[c+1],4,-1530992060),g=s(g,b,m,v,p[c+4],11,1272893353),v=s(v,g,b,m,p[c+7],16,-155497632),m=s(m,v,g,b,p[c+10],23,-1094730640),b=s(b,m,v,g,p[c+13],4,681279174),g=s(g,b,m,v,p[c+0],11,-358537222),v=s(v,g,b,m,p[c+3],16,-722521979),m=s(m,v,g,b,p[c+6],23,76029189),b=s(b,m,v,g,p[c+9],4,-640364487),g=s(g,b,m,v,p[c+12],11,-421815835),v=s(v,g,b,m,p[c+15],16,530742520),b=u(b,m=s(m,v,g,b,p[c+2],23,-995338651),v,g,p[c+0],6,-198630844),g=u(g,b,m,v,p[c+7],10,1126891415),v=u(v,g,b,m,p[c+14],15,-1416354905),m=u(m,v,g,b,p[c+5],21,-57434055),b=u(b,m,v,g,p[c+12],6,1700485571),g=u(g,b,m,v,p[c+3],10,-1894986606),v=u(v,g,b,m,p[c+10],15,-1051523),m=u(m,v,g,b,p[c+1],21,-2054922799),b=u(b,m,v,g,p[c+8],6,1873313359),g=u(g,b,m,v,p[c+15],10,-30611744),v=u(v,g,b,m,p[c+6],15,-1560198380),m=u(m,v,g,b,p[c+13],21,1309151649),b=u(b,m,v,g,p[c+4],6,-145523070),g=u(g,b,m,v,p[c+11],10,-1120210379),v=u(v,g,b,m,p[c+2],15,718787259),m=u(m,v,g,b,p[c+9],21,-343485551),b=r(b,l),m=r(m,f),v=r(v,d),g=r(g,h);return n(b)+n(m)+n(v)+n(g)}function $r(e){var t="function"==typeof e?e.toString():e;if("string"!=typeof t)throw Error("Unexpected type "+typeof e+" while parsing function");for(var n,r="",o=!1,i=!1,a=!1,s="",u=0,c=0,l=[],f={},d="",h=['"',"'","`"],p=!1,b=!1,m=!1,v=!1,g=!1,y=!1,w="",S=0;S<t.length;S++)if(m||"/"!==t[S]||"*"!==t[S+1])if("/"===t[S]&&"*"===t[S-1])m=!1;else if(v||"/"!==t[S]||"/"!==t[S+1])if("\n"===t[S])v=!1;else{if(m||v)continue;if(t[S]===d&&!p&&d)d="",r+=t[S];else if(d)p="\\"===t[S]&&!p,r+=t[S];else if(h.includes(t[S])&&!p)d=t[S],r+=t[S];else if("("===t[S]){if(u++,""!==r.trim()){if("function"===r.trim())a=!0;else if("async"!==r.trim()){var _=(s=r.trim()).match(/^([a-zA-Z0-9_]+)<[a-zA-Z0-9_]+>$/);_&&(s=_[1])}r=""}}else if(")"===t[S])u===c+1&&(b?(f.default=r.trim(),b=!1):r&&(f.name=r.trim()),(f.name||f.default)&&(l.push(f),f={}),r=""),c++;else if(g&&"}"!==t[S])r+=t[S];else{if(u&&u===c&&":"===t[S]){var x=t.substring(S+1).trim().match(/^\s*([a-zA-Z0-9_]+)\s*\{/);if(!x)throw Error("Unexpected ':' while parsing function");w=x[1],n=t.substring(S+x[0].length).trim();break}if(!(r||"="!==t[S]||">"!==t[S+1]||u!==c||c||o)){f.name=t.slice(0,S).trim(),l.push(f),f={},o=!0,n=bbn.fn.substr(t,S+2).trim();break}if(u===c&&"="===t[S]&&">"===t[S+1]){""!==r.trim()&&(f.name=r.trim(),l.push(f),f={},r=""),o=!0,S++;continue}if("="===t[S]&&u>c&&!b)f.name=r.trim(),r="",b=!0;else if(","===t[S])if(g)r+=t[S];else{if(!(u>c))throw Error("Unexpected ',' while parsing function");b?(f.default=r.trim(),b=!1):r&&(f.name=r.trim()),(f.name||f.default)&&(l.push(f),f={}),r=""}else if("{"===t[S]||"}"===t[S]){if(u===c){n=t.substring(S).trim();break}u>c?"{"!==t[S]||g?"}"===t[S]&&g&&(g=!1,r+=t[S]):(g=!0,r=t[S]):r=""}else{if(o){n=t.substring(t.indexOf("=>")+2).trim();break}" "===t[S]?""!==r.trim()&&("async"===r.trim()&&(i=!0),u>c?r+=t[S]:r=""):r+=t[S]}}}else v=!0,r="";else m=!0,r="";if(!n){if(!o)throw Error("Unexpected end of function while parsing function");n=r}n.substr(0,25).indexOf("[native code]")>-1&&(y=!0);var O=l.map(function(e){return e.name+(e.default?" = "+e.default:"")}).join(", ");return{body:n,args:l,argString:O,isArrow:o,hasFunction:a,name:s,isAsync:i,isBinary:y,hash:Dr(n+(s?"-"+s:"")+(O?"-"+O:"")),returnType:w}}function Cr(e,t,n){if(n||(n=[]),e===t)return!0;if(e&&t&&"object"==typeof e&&"object"==typeof t){if(![void 0,Object,Array,null].includes(null==e?void 0:e.constructor)||![void 0,Object,Array,null].includes(null==t?void 0:t.constructor))return!1;var r=Object.keys(e).sort(),o=Object.keys(t).sort();if(Rr(r)!==Rr(o))return!1;var i=!0;if(e&&"object"==typeof e){if(n.includes(e))return i;n.push(e)}return sr(r,function(n){if(!Cr(e[n],t[n]))return i=!1,!1}),i}if(e&&t&&"function"==typeof e&&"function"==typeof t){r=$r(e),o=$r(t);var a=r.hash===o.hash;return a&&r.isBinary&&(a=!1),a}return!1}function Lr(e,t,n){switch(n){case"===":case"=":case"equal":case"eq":case"is":return e===t;case"!==":case"notequal":case"neq":case"isnot":return e!==t;case"!=":case"different":return e!=t;case"contains":case"contain":case"icontains":case"icontain":return!_r(e)&&!_r(t)&&-1!==gr(e).toLowerCase().indexOf(gr(t).toLowerCase());case"doesnotcontain":case"donotcontain":return!(!xr(e)&&!xr(t))||-1===gr(e.toLowerCase()).indexOf(gr(t.toLowerCase()));case"starts":case"start":return!xr(e)&&!xr(t)&&("string"!=typeof e&&(e=e.toString()||""),"string"!=typeof t&&(t=t.toString()||""),0===e.indexOf(t));case"startswith":case"startsi":case"starti":case"istarts":case"istart":return!xr(e)&&!xr(t)&&0===gr(e).toLowerCase().indexOf(gr(t).toLowerCase());case"endswith":case"endsi":case"endi":case"iends":case"iend":return!xr(e)&&!xr(t)&&e.lastIndexOf(t)===e.length-t.length;case"like":return!xr(e)&&!xr(t)&&gr(e).toLowerCase()===gr(t).toLowerCase();case"gt":case">":return e>t;case"gte":case">=":return e>=t;case"lt":case"<":return e<t;case"lte":case"<=":return e<=t;case"isnull":return null===e;case"isnotnull":return null!==e;case"isempty":return""===e;case"isnotempty":return""!==e;case"==":if(ur(e,t))return Cr(e,t);default:return e==t}}function Nr(e,t){if(!t.conditions||!t.logic||!cr(t.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");var n="AND"===t.logic;return sr(t.conditions,function(r){var o;if(r.conditions&&cr(r.conditions))o=Nr(e,r);else if(o=Lr(vr(e,r.field),r.value,r.operator)){var i=r.field.split("."),a=i.pop();i.length&&sr(i,function(t){return e=e[t]}),void 0===vr(e,a)&&void 0!==r.value&&(o=!1)}if(o){if("OR"===t.logic)return n=!0,!1}else if("AND"===t.logic)return n=!1,!1}),n}function Fr(e,t){if(void 0===t&&(t="="),!ur(e))throw new Error("Error in filterToCondition: filter must be an object");if(!e.conditions||!cr(e.conditions)){var n=[];ar(e,function(e,r){ur(e)&&"object"==typeof e.conditions?n.push(Fr(e)):n.push({field:r,operator:t,value:e})}),e={conditions:n}}return e.logic||(e.logic="AND"),e}function Pr(e,t,n,r,o,i){if(void 0===n&&(n=null),void 0===r&&(r="="),void 0===o&&(o=0),void 0===i&&(i=!1),!Qn(e))throw new Error(bbn._("The first argument for a search should be iterable")+" "+typeof e+" "+bbn._("given"));if(!e.length)return-1;var a,s=!1;if(t)if("string"==typeof t)a={conditions:[{field:t,value:n,operator:r||"="}]};else if(i=!0===r,o="number"==typeof n?n:i?e.length-1:0,"function"==typeof t)s=!0,a=t;else if(ur(t))if("field"in t&&"value"in t)a={conditions:[t],logic:"AND"};else if("conditions"in t)a=t;else{var u=[];for(var c in t)u.push({field:c,value:t[c],operator:"="});a={conditions:u,logic:"AND"}}else cr(t)&&(a={conditions:t,logic:"AND"});else s=!0,a=function(e){return Nr({value:e},Fr({logic:"AND",conditions:[{field:"value",operator:r||"=",value:n}]}))};var l=-1;if(s||a)if("number"!=typeof o&&(o=i?e.length-1:0),"function"==typeof a)if(i)for(var f=o;f>=0;f--)a(e[f])&&(l=f);else for(f=o;f<e.length;f++)a(e[f])&&(l=f);else if(a=Fr(a),i)for(f=o;f>=0;f--)Nr(e[f],a)&&(l=f);else for(f=o;f<e.length;f++)Nr(e[f],a)&&(l=f);return l}function Br(e,t,n,r,o,i,a){void 0===n&&(n=null),void 0===r&&(r="="),void 0===o&&(o=0),void 0===i&&(i=!1),void 0===a&&(a=!1);var s=Pr(e,t,n,r,o,i);return s>-1?e[s]:t&&["object","function"].includes(typeof t)&&5 in arguments?i:a}function Ur(e,t,n){void 0===t&&(t=null),void 0===n&&(n=!1);var r=Pr(bbn.env.loaders,{key:e});if(r>-1){var o=bbn.env.loaders.splice(r,1)[0],i=Br(bbn.env.loadersHistory,{key:e,start:o.start});return i&&(i.loading=!1,i.duration=(new Date).getTime()-o.start,"string"==typeof t?(i.errorMessage=t,i.error=!n,i.abort=n):ur(t)&&(i.success=!0)),!0}return!1}function Ir(e){var t=Pr(bbn.env.loaders,{key:e});return t>-1?bbn.env.loaders[t]:null}function Yr(e,t,n,r){if(void 0===n&&(n=null),void 0===r&&(r="="),!cr(e))throw bbn.fn.log("NOT ARRAY",e),new Error("Error in filter: The first argument must be an array");var o={},i=[],a="function"==typeof t;if(!t||!e.length)return e;if("object"==typeof t)r=n,o=t;else if("string"==typeof t)o[t]=n;else if(!a)throw new Error("Search function error: The prop argument should be a string or an object");if(bbn.env._enumerated.push(!0),"function"==typeof t)for(var s=0;s<e.length;s++)t(e[s],s)&&i.push(e[s]);else if((o=Fr(o,r)).conditions&&o.logic)for(s=0;s<e.length;s++)Nr(e[s],o)&&i.push(e[s]);return bbn.env._enumerated.pop(),i}function Hr(e){if(Sr(e)){bbn.var.colors||(bbn.var.colors={});var t=document.createElement("style");document.head.appendChild(t);var n=t.sheet;ar(e,function(e,t){bbn.var.colors[t]=e,n.insertRule(".bbn-"+t+", .bbn-color-text-"+t+" {color: "+e+" !important;}",0),n.insertRule("svg.bbn-"+t+", .bbn-"+t+" svg, svg.bbn-color-text-"+t+", .bbn-color-text-"+t+" svg {fill: "+e+";}",0),n.insertRule(".bbn-bg-"+t+", .bbn-color-bg-"+t+", .bbn-color-background-"+t+" {background-color: "+e+" !important;}",0),n.insertRule(".bbn-border-"+t+", .bbn-color-border-"+t+" {border-color: "+e+" !important;}",0),n.insertRule(".bbn-color-"+t+" {border-color: "+e+"; background-color: "+e+"; color: "+e+";}",0)})}}function zr(e,t,n){if(void 0===t&&(t=null),void 0===n&&(n=""),e&&"FORM"===e.tagName){var r=function(t,n){var r=document.createElement("input");r.setAttribute("type","hidden"),r.setAttribute("name",t),r.setAttribute("value",n),e.appendChild(r)};t=JSON.parse(JSON.stringify(t||{})),n=n||"",t&&ar(t,function(t,o){var i=n?"".concat(n,"[").concat(o,"]"):o;t instanceof Date?r(i,t.toISOString()):t instanceof Array?t.forEach(function(t,n){var o="".concat(i,"[").concat(n,"]");"object"==typeof t?zr(e,t,o):r(o,t.toString())}):"object"!=typeof t||t instanceof File?r(i,t.toString()):zr(e,t,i)})}}function qr(e,t){var n=0;sr(t,function(t){t.style[e]="auto"}),sr(t,function(t,r){var o=t.getBoundingClientRect(),i=o[e]%1?o[e]-o[e]%1+1:o[e];i>n&&(n=i)}),sr(t,function(t,r){n&&(t.style[e]=n+"px")})}function Wr(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}function Vr(e,t,n,r){return void 0===r&&(r=""),n.toString().replace(ur(e)?e:new RegExp(Wr(e),"g"+r),t)}function Jr(e,t,n){var r={};return t&&ar(t,function(e,t){-1===t.indexOf("_bbn")&&(r[t]=e)}),e+":"+Dr((n||"json")+JSON.stringify(r))}function Zr(e,t,n,r,o,i){if(void 0===t&&(t=null),void 0===n&&(n=null),void 0===r&&(r=null),void 0===o&&(o=null),void 0===i&&(i=null),null===t&&e&&"object"==typeof e&&e.url&&(e.abort&&(i=e.abort),e.failure&&(o=e.failure),e.success&&(r=e.success),e.data&&(n=e.data),e.datatype&&(t=e.datatype),e=e.url),e&&e&&"string"==typeof e){-1===e.indexOf("://")&&(e=Vr("//","/",e)),t||(t="json");var a=Jr(e,n,t),s=Ir(a);if(null==s?void 0:s.loader)return s.loader;bbn.env.token&&lr(n||{},{_bbn_token:bbn.env.token});var u=new AbortController,c={responseType:t,signal:u.signal};"text"===t&&(c.headers={accept:"text/javascript","Content-Type":"text/javascript"});var l=[e];ur(n)&&l.push(n),l.push(c);var f=2===l.length?"get":"post",d=axios[f].apply(null,l).then(function(t){if(Ur(a,t),bbn.fn.defaultEndLoadingFunction(e,h,n,t),200===t.status)nr(r)&&r(t.data,t.headers);else{var i=1;nr(o)&&(i=o(d,t.message,t)),i&&bbn.fn.defaultAjaxErrorFunction(d,t.message,t)}return t}).catch(function(t){var r=axios.isCancel(t);if(Ur(a,t.message||t.response.data,r),bbn.fn.defaultEndLoadingFunction(e,h,n,t),r){var s=1;nr(i)&&(s=i(t.message,e)),s&&bbn.fn.defaultAjaxAbortFunction(t.message,e)}else{s=1;nr(o)&&(s=o(d,t.message,t)),s&&bbn.fn.defaultAjaxErrorFunction(d,t.message,t.response)}return t.response}),h=mr(a,d,u);return bbn.fn.defaultStartLoadingFunction(e,h,n,a),d}}var Kr=new TextDecoder;function Xr(e){return Kr.decode(e)}function Gr(e,t){if(e&&er(e)){var n=e.split("/").pop();if(!t)return n;var r=t.length;if(n&&or(n,-r)===t)return or(n,0,n.length-r)}return""}function Qr(e){var t=typeof e;if(void 0===e)return new Date;if("number"===t||Gn(e)&&""!==e)return e<1e10&&(e*=1e3),new Date(e);if("string"===t){if(10===e.length)return new Date(parseInt(or(e,0,4)),parseInt(or(e,5,2))-1,parseInt(or(e,8,2)),12);if(19===e.length)return new Date(parseInt(or(e,0,4)),parseInt(or(e,5,2))-1,parseInt(or(e,8,2)),parseInt(or(e,11,2)),parseInt(or(e,14,2)),parseInt(or(e,17,2)))}else if(yr(e))return e;return!1}function eo(e,t){void 0===t&&(t=!1);var n=Qr(e);return yr(n)?void 0!==dayjs?dayjs(n).calendar(null,{sameDay:"["+bbn._("Today")+"] HH:mm",nextDay:"["+bbn._("Tomorrow")+"] HH:mm",nextWeek:"ddd D HH:mm",lastDay:"["+bbn._("Yesterday")+"] HH:mm",lastWeek:"ddd D HH:mm",sameElse:"DD/MM/YYYY HH:mm"}):n.toLocaleDateString():t&&er(t)?t:""}function to(e,t){if(void 0===t&&(t=!1),!0===t)return eo(e);var n=Qr(e);return yr(n)?void 0!==dayjs?dayjs(n).format("L"):n.toLocaleDateString():t&&er(t)?t:""}var no=function(e){return e};function ro(e){if(arguments.length>1){for(var t=[],n=1;n<arguments.length;n++)t.push(arguments[n]);t.unshift({_bbn_console_mode:"error",_bbn_console_level:1,_bbn_console_style:"color: #E64141; background: #F7E195; font-size: 14px"}),rr.apply(this,t)}throw new Error(e)}function oo(e,t,n,r,o){void 0===t&&(t=null),void 0===n&&(n=null),void 0===r&&(r=null),void 0===o&&(o=null);var i=!1;if(t){i=!0;var a="object"===(typeof t).toLowerCase(),s=void 0;if(a&&t.prescript)try{new Function(t.prescript)()}catch(e){ro(e.message||"")}if(a&&void 0===t.url&&(t.url=e),i=n&&nr(n)?n(t,o):bbn.fn.defaultLinkFunction(t,o),o&&a&&void 0!==t.content&&("value"in o?o.value=t.content:o.innerHTML=t.content),i&&a&&t.script&&(i="function"==typeof t.script?t.script(t.data?t.data:{},o||null):function(e,n){var r=null;try{nr(r=new Function(t.script)())&&(r=r(e,n))}catch(e){rr(e,t),ro(nr(e.getMessage)?e.getMessage():null)}return r}(t.data?t.data:{},o||!1)),i&&r&&nr(r)?r(t):a&&bbn.fn.defaultPostLinkFunction&&bbn.fn.defaultPostLinkFunction(t,o),i&&a&&t.postscript)new Function(t.postscript)(t.postscript);a&&t.error&&(s=t.errorTitle||bbn.lng.server_response,bbn.fn.defaultErrorFunction(t.error,s))}else bbn.fn.defaultErrorFunction(bbn.lng.errorText,bbn.lng.error);return i}function io(e,t,n){void 0===n&&(n=!1);var r,o={error:!1,result:!0};("string"==typeof t&&(t=[t]),cr(t)||(o.error=bbn._("checkProps must receive a string or an array as props argument")),ur(e)||(o.error=bbn._("checkProps must receive an object as obj argument")),o.error)||sr(t,function(t){var i=(t=t.trim().split(":"))[1]||!1;if(t=t[0],void 0===e[t]?o.error=t+" "+bbn._("is not defined"):i?(r="is"+or(i,0,1).toUpperCase()+or(i,1).toLowerCase(),void 0===bbn.fn[r]?o.error=i+" "+bbn._("is not a valid type"):bbn.fn[r](e[t])||(o.error=t+" "+bbn._("is not a")+" "+i)):n&&!e[t]&&(o.error=t+" "+bbn._("is empty")),o.error)return!1});return o.error&&(o.result=!1),o}function ao(e){return e.replace(/[A-z]{1}/,function(e){return e.toUpperCase()})}function so(e,t,n){for(var r=[],o=3;o<arguments.length;o++)r[o-3]=arguments[o];var i=!1;cr(t)||(t=[t]);var a=[];if(sr(t,function(t){var n;if(t===String?t="string":t===Number?t="number":t===Array?t="array":t===Boolean?t="boolean":t===Object?t="object":t===Function&&(t="function"),nr(t)){if(a.push(t.name||(null===(n=t.constructor)||void 0===n?void 0:n.name)||t.toString()),e instanceof t)return i=!0,!1}else if(er(t)&&nr(bbn.fn["is"+ao(t)])){if(bbn.fn["is"+ao(t)](e))return i=!0,!1;a.push(t)}else ro("The type ".concat(t," is not recognized"))}),!i)throw rr(["Value given",e,"type",typeof e,"expected",a.join(" or ")]),r.length&&rr(r),new Error((n?n+" - ":"")+bbn._("The value should be a %s",a.join(" "+bbn._("or a")+" ")))}function uo(e){return cr(e)?e.slice().map(function(e){return"object"==typeof e?uo(e):e}):ur(e)?lr(!0,Object.create(Object.getPrototypeOf(e)),e):e}Rt.extend(Lt),Rt.extend(tn);var co=function(e){var t=new DataTransfer;t.setData("text/plain",e);var n=new ClipboardEvent("copy",{bubbles:!0,cancelable:!0,clipboardData:t});document.dispatchEvent(n)};for(var lo=[],fo=0;fo<256;fo++){for(var ho=fo,po=0;po<8;po++)ho=1&ho?3988292384^ho>>>1:ho>>>1;lo.push(ho)}var bo=function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))};function mo(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=Object.create(null);return e.length&&lr.apply(void 0,bo([n],e,!1)),n}function vo(e,t){rr(e)}function go(e,t,n){void 0===t&&(t=null),void 0===n&&(n=null),rr(t,n)}function yo(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(!e.length)return!1;for(var n=0,r=e;n<r.length;n++){var o=r[n];if("object"==typeof o&&!xr(o))return!1}return!0}var wo=[];function So(e){if(er(e)&&e){for(;"/"===or(e,e.length-1);)e=or(e,0,e.length-1);var t=e.lastIndexOf("/");if(t>0)return or(e,0,t);if(0===t)return"/"}return""}function _o(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(!e.length)return!1;for(var n=0,r=e;n<r.length;n++){var o=r[n];if("[object Blob]"!=={}.toString.apply(o))return!1}return!0}function xo(e){if(e&&er(e)){var t=e.split(".");if(t[0]&&t.length>1)return t[t.length-1].toLowerCase()}return""}function Oo(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(!e.length)return!1;for(var n=0,r=e;n<r.length;n++){if(!(r[n]instanceof HTMLCanvasElement))return!1}return!0}function Eo(e,t,n){if(void 0===n&&(n=null),Oo(t))t.toBlob(function(t){var n=document.createElement("a");n.download=e,n.href=window.URL.createObjectURL(t),n.className="bbn-no",n.click(),window.URL.revokeObjectURL(n.href)},n||"image/png");else{n?-1===n.indexOf("/")&&(n="text/"+n):n=ur(t)&&t.type?t.type:"octet/stream";var r=window.document.createElement("a");r.className="bbn-no";var o=null;if(er(t))o=new Blob([t],{type:n});else try{o=t}catch(e){rr(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 Ao=function(e,t,n,r){return new(n||(n=Promise))(function(o,i){function a(e){try{u(r.next(e))}catch(e){i(e)}}function s(e){try{u(r.throw(e))}catch(e){i(e)}}function u(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(a,s)}u((r=r.apply(e,t||[])).next())})},To=function(e,t){var n,r,o,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]},a=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return a.next=s(0),a.throw=s(1),a.return=s(2),"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(s){return function(u){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;a&&(a=0,s[0]&&(i=0)),i;)try{if(n=1,r&&(o=2&s[0]?r.return:s[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,s[1])).done)return o;switch(r=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return i.label++,{value:s[1],done:!1};case 5:i.label++,r=s[1],s=[0];continue;case 7:s=i.ops.pop(),i.trys.pop();continue;default:if(!(o=i.trys,(o=o.length>0&&o[o.length-1])||6!==s[0]&&2!==s[0])){i=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){i.label=s[1];break}if(6===s[0]&&i.label<o[1]){i.label=o[1],o=s;break}if(o&&i.label<o[2]){i.label=o[2],i.ops.push(s);break}o[2]&&i.ops.pop(),i.trys.pop();continue}s=t.call(e,i)}catch(e){s=[6,e],r=0}finally{n=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,u])}}};function Mo(){return Ao(this,void 0,void 0,function(){return To(this,function(e){switch(e.label){case 0:return"scheduler"in window?[4,window.scheduler.yield()]:[3,2];case 1:return e.sent(),[3,4];case 2:return[4,new Promise(requestAnimationFrame)];case 3:e.sent(),e.label=4;case 4:return[2]}})})}var ko=function(e,t,n,r){return new(n||(n=Promise))(function(o,i){function a(e){try{u(r.next(e))}catch(e){i(e)}}function s(e){try{u(r.throw(e))}catch(e){i(e)}}function u(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(a,s)}u((r=r.apply(e,t||[])).next())})},jo=function(e,t){var n,r,o,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]},a=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return a.next=s(0),a.throw=s(1),a.return=s(2),"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(s){return function(u){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;a&&(a=0,s[0]&&(i=0)),i;)try{if(n=1,r&&(o=2&s[0]?r.return:s[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,s[1])).done)return o;switch(r=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return i.label++,{value:s[1],done:!1};case 5:i.label++,r=s[1],s=[0];continue;case 7:s=i.ops.pop(),i.trys.pop();continue;default:if(!(o=i.trys,(o=o.length>0&&o[o.length-1])||6!==s[0]&&2!==s[0])){i=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){i.label=s[1];break}if(6===s[0]&&i.label<o[1]){i.label=o[1],o=s;break}if(o&&i.label<o[2]){i.label=o[2],i.ops.push(s);break}o[2]&&i.ops.pop(),i.trys.pop();continue}s=t.call(e,i)}catch(e){s=[6,e],r=0}finally{n=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,u])}}};function Ro(e){var t;return"checkbox"===e.type?e.checked?(t=e.value)||(t=1):t=0:"radio"===e.type?e.checked&&(t=e.value):t=e.value,t}function Do(e){var t,n,r=e.querySelectorAll("input[name],select[name],textarea[name],button[name]"),o={};return sr(r,function(e,r){if(void 0!==(n=Ro(e))&&!e.disabled){var i=e.name;if(-1===i.indexOf("[]")&&i.indexOf("[")>-1&&i.indexOf("]")>-1&&i.lastIndexOf("]")===i.length-1&&(i=Vr("][",".",i),i=Vr("[",".",i),i=Vr("]","",i)),i.length>2&&i.indexOf("[]")===i.length-2)t=or(i,0,i.length-2),void 0===o[t]&&(o[t]=[]),o[t].push(n);else if(i.indexOf(".")>-1){var a=void 0,s=i.split(".");a=o;for(var u=0;u<s.length;u++)void 0===o[s[u]]&&(u<s.length-1?a[s[u]]={}:a[s[u]]=n),a=a[s[u]]}else o[i]=n}}),o}function $o(e){return e.filter(function(e,t,n){return t===n.indexOf(e)})}function Co(e,t){void 0===t&&(t=null);var n=[];if("string"==typeof e&&(e=document.querySelector(e)),e instanceof HTMLElement&&e.parentElement)if("string"==typeof t)for(;e=e.parentElement.closest(t);)n.push(e);else for(!0===t&&n.push(e);e=e.parentElement;)n.push(e);return n}function Lo(e){0!==e.indexOf("--")&&(e="--"+e);var t=getComputedStyle(document.documentElement).getPropertyValue(e);return"string"==typeof t&&(t=t.trim()),t}function No(){var 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 Fo(){var e,t=window.getSelection();if(t.rangeCount>0){rr("RANGE",e=t.getRangeAt(0));var n=e.cloneContents();rr("clonedSelection",n);var r=document.createElement("div");return r.appendChild(n),r.innerHTML}return""}function Po(e){return er(e)?e.replace(/<!--[\s\S]*?-->/g,""):e}function Bo(e){var t=document.createElement("div");return t.innerHTML=e,e=t.innerText}function Uo(e){var t=document.createElement("canvas");return t.width=e.width,t.height=e.height,t.getContext("2d").drawImage(e,0,0),t}function Io(e){var t,n,r={};if(ur(e[0])&&1===e.length)return e[0];for(n=0;n<e.length;n++)t=(t=typeof e[n]).toLowerCase(),nr(e[n])?(r.errorFn&&!r.abortFn&&(r.abortFn=e[n]),r.successFn&&!r.errorFn?r.errorFn=e[n]:r.successFn||(r.successFn=e[n])):1===e[n]||!0===e[n]?r.force=!0:"string"===t?r.url?r.datatype=e[n]:0===e[n].indexOf("#")||0===e[n].indexOf(bbn.env.root+"#")?r.url=or(e[n],bbn.env.root.length):(r.url=e[n],0===r.url.indexOf(bbn.env.root)&&(r.url=or(r.url,bbn.env.root.length))):e[n]&&"object"===t&&(e[n]instanceof Event?r.e=e[n]:r.ele||1!==e[n].nodeType?"object"===t.toLowerCase()&&(r.obj=e[n]):r.ele=e[n]);return!r.url&&Sr(r)&&(r.url=bbn.env.path),void 0===r.obj&&(r.obj={_bbn:"public"}),r.datatype||(r.datatype="json"),r}function Yo(e,t,n,r){void 0===n&&(n=null),void 0===r&&(r=!1),bbn.env.old_path=bbn.env.path,bbn.env.url=["https:/","http://"].includes(or(e,0,7))?e:bbn.env.root+e,bbn.env.path=or(bbn.env.url,bbn.env.root.length),bbn.env.params=Yr(bbn.env.path.split("/"),function(e){return""!==e});var o=window.history;if(o){var i=o.state,a={url:bbn.env.path,old_path:bbn.env.old_path||null,data:n||{},reload:!1};i&&i.url===bbn.env.path&&(i.data&&lr(a.data,i.data),i.title&&!t&&(t=i.title),r=!0),t=t?Bo(t):bbn.env.siteTitle,r?(a.reload=!0,o.replaceState(a,t,bbn.env.url)):o.pushState(a,t,bbn.env.url)}}function Ho(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=Io(e),r=1;if(!0===n)return!0;if(!n)return Ho(window.location.href);if(0===n.url.indexOf("javascript:"))return!0;if(0===n.url.indexOf("data:"))return!0;if(0===n.url.indexOf("#"))return location.href=bbn.env.url+n.url,!0;if(0===n.url.indexOf("mailto:"))return bbn.env.ignoreUnload=!0,window.location.href=n.url,setTimeout(function(){bbn.env.ignoreUnload=!1},0),!1;if(Ir(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.successFn)r=n.successFn(n.url);else if(bbn.fn.defaultPreLinkFunction){var o=bbn.fn.defaultPreLinkFunction(n.url,n.force,n.ele);void 0!==o.data?(lr(n.obj,o.data),r=1):r=o}if(r){1!==r&&"string"==typeof r&&(n.url=r);var i=bbn._("The Ajax call to")+" "+n.url+" ";return Zr(n.url,n.datatype,n.obj,function(e){e||rr(i+bbn._("returned no answer")),ur(e)&&(0===Object.keys(e).length&&rr(i+bbn._("returned an empty object")),e.new_url?(e.old_path=n.url,n.url=e.new_url):e.url&&n.url!==e.url&&(e.old_path=n.url)),oo(n.url,e,n.successFn,null,n.ele)&&void 0===e.noNav&&0!==bbn.env.path.indexOf(n.url)&&Yo(n.url,(e.title?e.title+" - ":"")+bbn.env.siteTitle)},n.errorFn||null)}}return!0}function zo(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=Io(e);if(n.url)return Zr(n.url,n.datatype,n.obj,function(e){oo(n.url,e,n.successFn,n.errorFn,n.ele)},n.errorFn,n.abortFn)}function qo(e,t,n){var 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")&&(t&&t.preventDefault(),r=Do(e))){e.setAttribute("action",null);var i=[o,r];!n&&e.getAttribute("data-script")&&(n=(n=new Function(e.getAttribute("data-script")))()),n&&i.push(n),zo.apply(void 0,i)}}function Wo(){var e=bbn.env.width!==window.innerWidth,t=bbn.env.height!==window.innerHeight;if(e||t){e&&(bbn.env.width=window.innerWidth||window.document.documentElement.clientWidth||window.document.body.clientWidth,document.documentElement.style.setProperty("--vw",.01*bbn.env.width+"px")),t&&(bbn.env.height=window.innerHeight||window.document.documentElement.clientHeight||window.document.body.clientHeight,document.documentElement.style.setProperty("--vh",.01*bbn.env.height+"px"));var n=parseInt(Lo("mobile-limit"))||650,r="bbn-screen-"+(bbn.env.width<n?"small":"regular"),o=(document.body.className||"").split(" "),i=!1;sr(o,function(e,t){if(3===e.split("-").length&&0===e.indexOf("bbn-screen-"))return i=!0,e!==r&&o.splice(t,1,r),!1}),i||o.push(r),bbn.fn.defaultResizeFunction(),document.body.className=o.join(" ")}}function Vo(){return"mobile"===No()}function Jo(){return"tablet"===No()}function Zo(){return Vo()||Jo()}function Ko(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(!e.length)return!1;for(var n=0,r=e;n<r.length;n++){var o=r[n];if(!/^data:([a-z]+\/[a-z0-9\-\+\.]+(;[a-z\-]+\=[a-z0-9\-\.]+)?)?(;base64)?,/i.test(o))return!1}return!0}function Xo(e){void 0===e&&(e=!1);var t=(new Date).getTime();return e?Math.round(t/1e3):t}function Go(e){if("string"==typeof e&&e.length>0&&(0===e.indexOf("calc")||Gn(or(e,0,1)))){var t=document.createElement("div");t.style.width=e;var n=!!t.style.width.length;return t.remove(),n}return!1}function Qo(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(!e.length)return!1;for(var n=0,r=e;n<r.length;n++){var o=r[n];if(!er(o)||!bbn.var.regexp.ip.test(o))return!1}return!0}function ei(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(!e.length)return!1;for(var n=0,r=e;n<r.length;n++){var o=r[n];if("[object Symbol]"!=={}.toString.apply(o))return!1}return!0}function ti(e){var t=["BBN: "+e];t.unshift({_bbn_console_mode:"warn",_bbn_console_level:2,_bbn_console_style:"color: #E64141; background: #F7E195; font-size: 14px"}),rr.apply(this,t)}function ni(e,t,n){void 0===t&&(t=""),void 0===n&&(n=null);var r=new FormData,o=function(e,t){void 0===t&&(t=""),(!n||cr(n)&&!n.includes(t))&&(e instanceof File?r.append(t,e):cr(e)?sr(e,function(e,n){o(e,t+"["+n+"]")}):ur(e)&&Object.keys(e).length?ar(e,function(n,r){r in e&&o(n,t?t+"["+r+"]":r)}):xr(e)||void 0===e||r.append(t,e))};return o(e,t),r}function ri(e){return"string"==typeof e?document.querySelector(e):e}function oi(e,t,n,r){if("object"==typeof e&&"string"==typeof t){var o=e,i=t.split(".");sr(i,function(e,t){if(!o){if(!r)throw new Error(bbn._("The object is invalid"));o={}}i.length-1===t?o[e]=n:o=o[e]})}}function ii(e,t){return Math.floor(Math.random()*(t-e+1)+e)}function ai(e,t){if(void 0===t&&(t=" ")," "===t)return e.trim();if(!t)return e;if(t===e)return"";for(;0===e.indexOf(t);)e=or(e,t.length);for(;e.lastIndexOf(t)===e.length-t.length;)e=or(e,0,e.length-t.length);return e}function si(e,t,n){return"string"==typeof e.toLowerCase()&&(t||(t=bbn.var.shortenLen),void 0!==n&&er(n)||(n="..."),e.length>t&&(e=or(e,0,t)+n)),e}var ui={_addLoader:mr,_compareValues:wr,_deleteLoader:Ur,abort:function(e){var t=Ir(e);(null==t?void 0:t.aborter)&&t.aborter.abort("Operation canceled by the user.")},abortURL:function(e){sr(Yr(bbn.env.loaders,{url:e}),function(t){if(!t||!t.source)throw new Error("Impossible to find the loader with URL "+e);t.source.cancel("Operation canceled by the user.")})},addColors:Hr,addInputs:zr,addStyle:function(e,t){ur(t)&&ar(t,function(t,n){e.style[n]=t})},adjustHeight:function(){var e=arguments;return 1===e.length&&Qn(e[0])&&(e=e[0]),qr("height",e)},adjustSize:qr,adjustWidth:function(){var e=arguments;return 1===e.length&&Qn(e[0])&&(e=e[0]),qr("width",e)},ajax:Zr,analyzeFunction:$r,animateCss:function(e,t,n){e.classList.add("animated"),e.classList.add(t),e.addEventListener("webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend",function e(r){r.target.removeEventListener(r.type,e),"function"==typeof n&&n.call(this),r.target.classList.remove(t)})},arrayBuffer2String:Xr,arrayFromProp:function(e,t){var n=[];return sr(e,function(e,r){n.push(vr(e,t))}),n},autoExtend:function(e,t){bbn[e]||(bbn[e]={}),lr(bbn[e],t)},baseName:Gr,br2nl:function(e){return Vr("<br />","\n",Vr("<br/>","\n",Vr("<br>","\n",e)))},calendar:function(e,t){if(void 0===t&&(t=!1),void 0===Rt)return to(e,t);var n=Qr(e);return yr(n)?Rt(n).calendar(null,{sameDay:"["+no("Today")+"]",nextDay:"["+no("Tomorrow")+"]",nextWeek:"ddd D",lastDay:"["+no("Yesterday")+"]",lastWeek:"ddd D",sameElse:"L"}):t&&er(t)?t:""},callback:oo,camelize:function(e){return e.replace(/^([A-Z])|[\s-](\w)/g,function(e,t,n,r){return n?n.toUpperCase():t.toLowerCase()})},camelToCss:function(e){return e.replace(/([A-Z])/g,function(e){return"-"+e.toLowerCase()}).replace("/^./",function(e){return e.toLowerCase()})},canvasToImage:function(e){var t=new Image;return t.src=e.toDataURL("image/png"),t},cast:function(e){var t;return e?"object"==typeof e?bbn.fn.isArray(e)?"Array ("+e.length+")":(null===(t=e.constructor)||void 0===t?void 0:t.name)||"{}":e.toString?e.toString():"string"==typeof e?e:"":""},center:function(e){for(var t=e.parentNode,n=t.clientWidth,r=t.clientHeight;t&&(!n||!r);)n=(t=e.parentNode).clientWidth,r=t.clientHeight;return e.style.position="absolute",e.style.top=Math.max(0,(r-e.offsetHeight)/2+t.scrollTop)+"px",e.style.left=Math.max(0,(r-e.offsetWidth)/2+t.scrollLeft)+"px",e},checkProps:function(e,t,n){return void 0===n&&(n=!1),io(e,t,n).result},checkPropsDetails:io,checkPropsOrDie:function(e,t,n){void 0===n&&(n=!1);var r=io(e,t,n);if(r.error)throw new Error(r.error);return!0},checkType:so,circularReplacer:function(){var e=new WeakSet;return function(t,n){if("object"==typeof n&&null!==n){if(e.has(n))return;e.add(n),[void 0,Object,Array,null].includes(n.constructor)||(n=Tr(n)?n.bbnId?"__BBN_DOM__"+n.tagName+"/"+n.bbnId+n.bbnHash:"__BBN_DOM__"+n.tagName+"/"+n.className:kr(n)?"__BBN_CP__"+n.$options.name+"/"+n.$cid:n.constructor.toString())}return n}},clone:uo,colorToHex:function(e){var t=document.createElement("canvas").getContext("2d");return t.fillStyle=e,t.fillStyle},compare:Lr,compareConditions:Nr,copy:function(e,t){return new Promise(function(n){var r;if(e){if(navigator&&navigator.clipboard)return void(e instanceof Blob?navigator.clipboard.write([new ClipboardItem((r={},r[e.type.toString()]=e,r))]).then(function(){n(!0)}):ur(e)&&nr(e.toBlob)?e.toBlob(function(r){var o,i=new ClipboardItem(((o={})[r.type.toString()]=r,o));navigator.clipboard.write([i]).then(function(){t||co(e),n(!0)})}):(navigator.clipboard.writeText(e),t||co(e),n(!0)));var o=document.createElement("textarea");o.style.opacity="0",o.value=e,document.body.appendChild(o),o.select(),document.execCommand("copy"),document.body.removeChild(o),t||co(e),n(!0)}n(!1)})},correctCase:ao,count:function(e,t,n,r){return void 0===n&&(n=null),void 0===r&&(r="="),Yr(e,t,n,r).length||0},crc32:function(e){for(var t=~0,n=0;n<e.length;n++){var r=e.charCodeAt(n);t=t>>>8^lo[255&(t^r)]}return(-1^t)>>>0},createObject:mo,cssExists:function(e){for(var t,n,r=document.styleSheets,o=0;o<r.length;o++){t=1;try{n=r[o].rules||r[o].cssRules}catch(e){if(t=!1,"SecurityError"!==e.name)throw e}if(t)for(var i=0;i<n.length;i++)if(new RegExp("(^|\\s)"+Wr(e)+"(\\{|\\s)","g").test(n[i].selectorText))return!0}return!1},data2Html:function e(t,n){void 0===n&&(n="");var r=!cr(t),o='<ul class="bbn-bottom-xspadding '+(n||"bbn-ul")+'">';for(var i in t)o+="<li>",r&&(o+="<em>"+i+"</em>: "),t[i]&&(cr(t[i])||ur(t[i]))?o+=e(t[i],n):o+=null===t[i]?"<em>null</em>":t[i].toString?t[i].toString():t[i],o+="</li>";return o+='</ul><div class="bbn-bottom-xspadding '+(n||"bbn-div")+'"></div>'},date:Qr,dateSQL:function(e,t){var n=Qr(e);if(n)return Rt(n).format("YYYY-MM-DD"+(t?"":" HH:mm:ss"))},daysInMonth:function(e){var t=Qr(e);return!!t&&dayjs(t).daysInMonth()},deepPath:function e(t,n,r,o){var i;return void 0===o&&(o=[]),(i=Pr(t,n,0))>-1?(o.push(i),o):(sr(t,function(t,i){if(cr(t[r])){var a=o.slice();a.push(i);var s=e(t[r],n,r,a);if(!1!==s)return s}}),!1)},defaultAjaxAbortFunction:vo,defaultAjaxErrorFunction:go,defaultAlertFunction:function(e,t){alert(e)},defaultConfirmFunction:function(e,t,n){void 0===n&&(n=null);var r=0;confirm(e)&&nr(t)&&(t(),r=1),!r&&nr(n)&&n()},defaultEndLoadingFunction:function(e,t,n,r){return!0},defaultErrorFunction:function(e){rr(e)},defaultHistoryFunction:function(e){return!0},defaultLinkFunction:function(e,t){return!0},defaultPostLinkFunction:function(e,t){return!0},defaultPreLinkFunction:function(e,t,n){return void 0===t&&(t=!1),void 0===n&&(n=null),rr("defaultPreLinkFunction",e,t,n),!0},defaultResizeFunction:function(){return!0},defaultStartLoadingFunction:function(e,t,n,r){return!0},deleteProp:function(e,t){so(e,"object",bbn._("The obj must be an object in setProp")),so(t,"string",bbn._("The prop must be a string in setProp")),delete e[t]},diffObj:function e(t,n,r,o){void 0===r&&(r=!1),void 0===o&&(o=!1),o||(wo=[]);var i="unchanged";void 0===o&&(o=!1);var a=mo();if(!nr(t)&&!nr(n)){if(yo(t)||yo(n)){var s=function(e,t){return e===t||yr(e)&&yr(t)&&e.getTime()===t.getTime()?i:void 0===e?"created":void 0===t?"deleted":"updated"}(t,n);if(r||s!==i){var u=mo();return Object.defineProperty(u,"type",{value:s,enumerable:!1}),Object.defineProperty(u,"data",{value:void 0===t?n:t,enumerable:!1}),Object.defineProperty(u,"_bbnDiffObjProof",{value:!0,enumerable:!1}),void 0!==t&&Object.defineProperty(u,"newData",{value:n,enumerable:!1}),u}return!1}if(Tr(t)||Tr(n))return!1;if(wo.includes(t)||wo.includes(n))return!1;for(var c in wo.push(t,n),t)if(!nr(t[c])){var l=void 0;void 0!==n[c]&&(l=n[c]),(s=e(t[c],l,r,!0))&&(a[c]=s)}for(var c in n){if(!nr(n[c])&&void 0===t[c])(s=e(void 0,n[c],r,!0))&&(a[c]=s)}}return!(o&&!r&&!Sr(a))&&a},dirName:So,download:function(e,t,n){return void 0===t&&(t=""),void 0===n&&(n=null),t&&"object"==typeof t&&(n=t,t=""),Zr(e,"blob",n||{_bbn_download:1},function(n,r){if(!t){var o="content-disposition",i="attachment; filename=";t=(null==r?void 0:r[o])&&0===r[o].indexOf(i)?or(r[o],22,r[o].length-21-2):Gr(e)}if(_o(n)){var a=xo(t);if("string"==typeof t&&("type"in n&&"text/html"!==n.type||["php","html"].includes(a)))return void Eo(t,n)}},function(e){bbn.fn.defaultAjaxErrorFunction(e)})},downloadContent:Eo,each:sr,eraseCookie:function(e){document.cookie=e+"=; Max-Age=-99999999;"},error:ro,escapeDquotes:function(e){return er(e)?e.replace(/"/g,'\\"'):e},escapeRegExp:Wr,escapeSquotes:function(e){return er(e)?e.replace(/'/g,"\\'"):e},escapeTicks:function(e){return er(e)?e.replace(/`/g,"\\`"):e},escapeUrl:function(e,t){var n="";e.match("^(http|https)://")&&(n+="http","s"===(e=e.substring(4)).substr(0,1)&&(n+="s",e=e.substring(1)),n+="://",e=e.substring(3)),sr(So(e).split("/"),function(e){n+=encodeURIComponent(e)+"/"});var r=Gr(e),o="?",i="";if(r.indexOf(o)){var a=r.split("?");o="&",i="?"+a[1],r=a[0]}return t&&er(t)?(t.match("^(\\&|\\?)")&&(t=t.substring(1)),t=o+t):t="",n+encodeURIComponent(r)+i+t},executeSlowly:function(e,t){return ko(this,void 0,void 0,function(){var n,r;return jo(this,function(o){switch(o.label){case 0:n=0,o.label=1;case 1:return n<e.length?(r=t(e[n],n))instanceof Promise?[4,r]:[3,3]:[3,6];case 2:r=o.sent(),o.label=3;case 3:return!1===r?[3,6]:[4,Mo()];case 4:o.sent(),o.label=5;case 5:return n++,[3,1];case 6:return[2]}})})},extend:lr,extendOut:function e(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];for(var r=null,o=0,i=t;o<i.length;o++){var a=i[o];if(!ur(a))throw new Error("Each argument for extendOut must be an object, "+typeof a+" given");if(null===r)r=a;else for(var s in a)ur(r[s],a[s])?e(r[s],a[s]):void 0===r[s]&&(r[s]=a[s])}return r},fdate:to,fdatetime:eo,fieldValue:Ro,fileExt:xo,filter:Yr,filterToConditions:Fr,findAll:function e(t,n,r,o){var i;void 0===o&&(o=[]);for(var a=0;(i=Pr(t,n,a))>-1;)o.push(t[i]),a=i+1;return sr(t,function(t){cr(t[r])&&e(t[r],n,r,o)}),o},firstVarElement:function(e){var t=e.indexOf("["),n=e.indexOf(".");return-1===t&&-1===n?e:-1===t?e.substring(0,n):-1===n?e.substring(0,t):e.substring(0,Math.min(t,n))},fori:function(e,t,n,r){if(void 0===n&&(n=e.length-1),void 0===r&&(r=0),cr(e)){var o=e.length-1;Gn(n)&&0<n&&n<=o||(n=o),(!Gn(r)||!(0<=r&&r<o)||r>n)&&(r=0);for(var i=r;i<=n;i++)if(!1===t(e[i],i))return}},forir:function(e,t,n,r){if(void 0===n&&(n=e.length-1),void 0===r&&(r=0),cr(e)){var o=e.length-1;Gn(n)&&0<n&&n<=o||(n=o),(!Gn(r)||!(0<=r&&r<o)||r>n)&&(r=0);for(var i=n;i>=r;i--)if(!1===t(e[i],i))return}},format:function(e){var t=Array.prototype.slice.call(arguments,1);if(t.length){var n=0;return e.replace(/\%([d|s])/g,function(e,r){var o=t[n++];return so(o,"d"===r?"number":"string",bbn._("The value doesn't correspond to the format")),o})}return e},formatBytes:function(e,t){if(void 0===t&&(t=2),!e)return"0 B";var n=Math.floor(Math.log(e)/Math.log(1024));return parseFloat((e/Math.pow(1024,n)).toFixed(t<0?0:t))+" "+["B","KB","MB","GB","TB","PB","EB","ZB","YB"][n]},formatDate:function(e,t){return dayjs(e).format(t)},formatSize:function(e,t){return Gn(e)?e+"px":er(e)?e:!t&&"auto"},formdata:Do,fphone:function(e){var t;if(Gn(e)&&(e=e.toString()),er(e)){var n=(null===(t=bbn.var)||void 0===t?void 0:t.phoneCodes)||[],r="",o="",i="";if(n.length&&sr(n,function(t){e.startsWith(t.prefix)&&t.prefix.length>o.length&&(o=t.prefix,i=t.mask||"")}),!i.length&&e.startsWith("+")){o.length||(o=e.substr(0,3));for(var a=e.slice(o.length),s=0;s<a.length;s++)s+1<=a.length&&s%2==0&&(i+="0"+(a[s+1]?"0":"")+" ");i=i.trim()}if(i.length){o.length&&(r=o+" ",e=e.slice(o.length));var u=0;return r+=i.replace(/[0-9]/g,function(){return e[u++]||""})}}return e},fromXml:function(e,t){var n=null;if(window.DOMParser)n=(new DOMParser).parseFromString(e,"text/xml");else{if(!window.ActiveXObject)throw new Error("cannot parse xml string!");if((n=new window.ActiveXObject("Microsoft.XMLDOM")).async=!1,!n.loadXML(e))throw n.parseError.reason+" "+n.parseError.srcText}function r(e,n){if("#text"!=e.nodeName){var o={},i=n[e.nodeName];if(i?Array.isArray(i)?n[e.nodeName].push(o):n[e.nodeName]=[i,o]:t&&-1!=t.indexOf(e.nodeName)?n[e.nodeName]=[o]:n[e.nodeName]=o,e.attributes)for(var a=0,s=e.attributes;a<s.length;a++){var u=s[a];o[u.nodeName]=u.nodeValue}for(var c=0,l=e.childNodes;c<l.length;c++){r(l[c],o)}}else{var f=e.nodeValue;f.trim()&&(n["#text"]=f)}}for(var o={},i=0,a=n.childNodes;i<a.length;i++){r(a[i],o)}return o},ftime:function(e,t){var n=Qr(e);return yr(n)?void 0!==dayjs?dayjs(n).calendar():n.toLocaleDateString():t&&er(t)?t:""},getAllTags:function(){return $o(Array.prototype.map.apply(document.all,[function(e){return e.tagName.toLowerCase()}]))},getAncestors:Co,getAttributes:function(e){e.getAttributeNames||ro("The element is not a proper HTML Element");var t=Object.create(null);return e.getAttributeNames().forEach(function(n){t[n]=e.getAttribute(n)}),t},getBrowserName:function(){var 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(){var 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){return void 0===e&&(e="default"),bbn.fn.microtimestamp()-this.constructor.chronos[e]},getCookie:function(e){for(var t=e+"=",n=document.cookie.split(";"),r=0;r<n.length;r++){for(var o=n[r];" "==o.charAt(0);)o=o.substring(1,o.length);if(0==o.indexOf(t)){var i=o.substring(t.length,o.length);if(i)return JSON.parse(unescape(i)).value}}return null},getCssVar:Lo,getDay:function(e){var t=Qr(e);if(t){var n=t.getTime(),r=t.getYear(),o=365*(r-1970);t.getMonth()<2&&r--;for(var i=1972;i<=r;i+=4)o++;return o+Math.floor(n/864e5)}return!1},getDeviceType:No,getEventData:function(e){var t=e.dataTransfer||e.clipboardData,n=t.getData("Text"),r={raw:n,files:[],str:[]};return new Promise(function(o,i){var a=!(t instanceof DataTransfer);if(!n&&"copy"===e.type){var s=window.getSelection();r.raw=s.toString();var u=Fo();r.str.push({type:"text/plain",data:r.raw}),u!==r.raw?r.str.push({type:"text/html",data:u}):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){var c=[],l=t.items.length;sr(t.items,function(e,n){var i=e.kind,s=e.type;if("file"===i){var u=t.files[n];if(!s&&u.name){var f=u.name.split(".");s=f[f.length-1]}var d=u?u.name:bbn._("untitled"),h=u?u.size:null,p=u?u.lastModified:null,b=e.getAsFile();b?(a=!0,l--,r.files.push({type:s,data:b,name:d,size:h,mdate:p}),c.push(d),l||(r.raw||(r.raw=c.join(", ")),o(r))):bbn.fn.defaultErrorFunction(bbn._("Impossible to read the file")+" "+d)}else a=!0,e.getAsString(function(e){l--,r.str.push({type:s,data:e}),"text/plain"===s&&c.push(name),l||(r.raw||(r.raw=c.join(", ")),o(r))})})}a||setTimeout(function(){o(r)})})},getField:function(e,t,n,r,o,i,a,s){var u;return void 0===n&&(n=""),void 0===r&&(r=null),void 0===o&&(o="="),void 0===i&&(i=0),void 0===a&&(a=!1),void 0===s&&(s=void 0),n&&["object","function"].includes(typeof n)&&6 in arguments&&(s=a),t?void 0===(u=Br(e,n,r,o,i,a,void 0))?s:u[t]:s},getFieldValues:function(e,t,n,r,o){so(t,"string"),n&&(e=Yr(e,n,r,o));var i=[];return sr(e,function(e){return-1===i.indexOf(e[t])?i.push(e[t]):null}),i},getIndex:function(e,t){return void 0===t&&(t=""),e.parentElement?(t||Array.from(e.parentElement.children).indexOf(e),Array.from(e.parentElement.children).filter(function(e){return e.matches(t)}).indexOf(e)):-1},getHtml:function(e,t){void 0===t&&(t=!1);var n=e.innerHTML();return t&&(n=Po(n)),n.trim()},getHTMLOfSelection:Fo,getLoader:Ir,getPath:Mr,getProp:function(e,t){return so(e,"object",bbn._("The obj must be an object in setProp")),so(t,"string",bbn._("The prop must be a string in setProp")),e[t]},getProperty:vr,getRequestId:Jr,getRow:Br,getScrollBarSize:function(){if(void 0===bbn.env.scrollBarSize){var e=document.createElement("div");e.style.visibility="hidden",e.style.width="100px","msOverflowStyle"in e.style&&(e.style.msOverflowStyle="scrollbar"),document.body.appendChild(e);var t=e.offsetWidth;e.style.overflow="scroll";var n=document.createElement("div");n.style.width="100%",e.appendChild(n);var r=n.offsetWidth;e.parentNode.removeChild(e);var o=t-r;bbn.env.scrollBarSize=o?o+1:0}return bbn.env.scrollBarSize},getSortingMoves:function(e,t){if(e.length!==t.length)throw new Error("Lengths must match.");var n=new Set(t);if(n.size!==t.length)throw new Error("dst has duplicates.");var r=new Set(e);if(r.size!==e.length)throw new Error("src has duplicates.");if(e.length!==n.size||Array.from(r).some(function(e){return!n.has(e)}))throw new Error("Arrays must contain the same unique values.");for(var o=new Map(t.map(function(e,t){return[e,t]})),i=e.map(function(e){return o.get(e)}),a=function(e){for(var t=e.length,n=[],r=Array(t).fill(-1),o=0;o<t;o++){for(var i=e[o],a=0,s=n.length;a<s;){var u=a+s>>1;e[n[u]]<i?a=u+1:s=u}a>0&&(r[o]=n[a-1]),n[a]=o}for(var c=[],l=n.length?n[n.length-1]:-1;-1!==l;l=r[l])c.push(l);return c.reverse()}(i),s=new Set(a.map(function(t){return e[t]})),u=Array(t.length).fill(-1),c=t.length-2;c>=0;c--)u[c]=u[c+1],s.has(t[c+1])&&(u[c]=c+1);var l=e.slice(),f=new Map(l.map(function(e,t){return[e,t]})),d=[];for(c=0;c<t.length;c++){var h=t[c];if(!s.has(h)){var p=f.get(h);if(void 0===p)throw new Error("Inconsistent state");var b=u[c],m=-1!==b?f.get(t[b]):l.length;if(void 0===m)throw new Error("Inconsistent state");var v=p<m?m-1:m;if(p!==v){var g=l.splice(p,1)[0];l.splice(v,0,g),d.push({from:p,to:v,value:h}),f.clear();for(var y=0;y<l.length;y++)f.set(l[y],y)}}}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(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return e.unshift({_bbn_console_level:3,_bbn_console_style:"color: white; background: green; font-size: 18px;"}),rr.apply(this,e),this},hash:Rr,hex2rgb:function(e){"#"!==e.charAt(0)&&(e="#"+e),4===e.length&&(e="#"+e[1]+e[1]+e[2]+e[2]+e[3]+e[3]);var t=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(e);return t?{r:parseInt(t[1],16),g:parseInt(t[2],16),b:parseInt(t[3],16)}:null},history:function(){return window.history||!1},html2text:Bo,imageToCanvas:Uo,imgToBase64:function(e,t){return void 0===t&&(t="image/png"),Uo(e).toDataURL(t)},info:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return e.unshift({_bbn_console_level:4,_bbn_console_style:"color: #EEE; background: blue; font-size: 12px;"}),rr.apply(this,e),this},init:function(e,t){bbn.env.isInit||(bbn.env.root=document.baseURI.length>0?document.baseURI:bbn.env.host,bbn.env.root.length&&"/"!==or(bbn.env.root,-1)&&(bbn.env.root+="/"),bbn.env.isInit||"undefined"==typeof dayjs||sr(["advancedFormat","arraySupport","badMutable","buddhistEra","calendar","customParseFormat","dayOfYear","devHelper","duration","isBetween","isLeapYear","isSameOrAfter","isSameOrBefore","isToday","isTomorrow","isYesterday","isoWeek","isoWeeksInYear","localeData","localizedFormat","minMax","objectSupport","pluralGetSet","quarterOfYear","relativeTime","timezone","toArray","toObject","updateLocale","utc","weekOfYear","weekYear","weekday"],function(e){window["dayjs_plugin_"+e]&&dayjs.extend(window["dayjs_plugin_"+e])}),"object"==typeof e&&lr(!0,bbn,e),bbn.env.path=or(bbn.env.url,bbn.env.root.length),sr(bbn.env.path.split("/"),function(e,t){""!==(e=decodeURI(e.trim()))&&bbn.env.params.push(e)}),bbn.var.colors&&Hr(bbn.var.colors),bbn.env.lang&&void 0!==dayjs&&import("dayjs/locale/"+bbn.env.lang+".js").then(function(){dayjs.locale(bbn.env.lang)}),document.addEventListener("visibilitychange",function(){document.hidden&&bbn.env.isFocused?bbn.env.isFocused=!1:document.hidden||bbn.env.isFocused||(bbn.env.isFocused=!0)}),document.addEventListener("focusin",function(e){e.target instanceof HTMLElement&&!e.target.classList.contains("bbn-no")&&(bbn.env.focused=e.target),bbn.env.last_focus=Xo()}),document.addEventListener("click",function(e){if(bbn.env.last_focus=Xo(),"ajax"===bbn.env.nav){var t=e.target;if(t instanceof HTMLElement&&"A"!==t.tagName){for(var n=t;n&&"A"!==n.tagName&&"BODY"!==n.tagName;)n=n.parentElement;t=n&&"A"===n.tagName?n:null}return t instanceof HTMLElement&&t.hasAttribute("href")&&!Ko(t.getAttribute("href"))&&!t.hasAttribute("target")&&!t.classList.contains("bbn-no")?(e.preventDefault(),e.stopPropagation(),Ho(t.getAttribute("href")),!1):void 0}}),sr(document.querySelectorAll("form:not(.bbn-no), form:not(.bbn-form)"),function(e){e.addEventListener("submit",function(t){qo(e,t)})}),window.addEventListener("hashchange",function(){bbn.env.hashChanged=(new Date).getTime()},!1),window.addEventListener("resize",function(){Wo()}),window.addEventListener("orientationchange",function(){Wo()}),Wo(),Zo()&&(document.body.classList.add("bbn-mobile"),Jo()&&document.body.classList.add("bbn-tablet")),window.history&&(window.onpopstate=function(e){var t=window.history;if(!bbn.env.historyDisabled&&t&&bbn.fn.defaultHistoryFunction(t.state)){var n=t.state;n?Ho(n.url,lr({title:n.title||bbn.env.siteTitle},n.data||{})):n&&n.data&&nr(n.data.script)&&n.data.script()}}),window.addEventListener("online",function(){bbn.env.online=!0}),window.addEventListener("offline",function(){bbn.env.online=!1}),bbn.env.isInit=!0,document.dispatchEvent(new Event("bbninit")),bbn.env.logging&&rr("Logging in bbn is enabled"))},isActiveInterface:function(e){return void 0===e&&(e=600),!!bbn.env.last_focus&&(new Date).getTime()-bbn.env.last_focus<1e3*e},isArray:cr,isBlob:_o,isBoolean:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(!e.length)return!1;for(var n=0,r=e;n<r.length;n++){var o=r[n];if(![!0,!1].includes(o))return!1}return!0},isCanvas:Oo,isColor:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(!e.length)return!1;for(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"),r=0,o=e;r<o.length;r++){var i=o[r];if(!er(i))return!1;if(!n.test(i))return!1}return!0},isComment:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(!e.length)return!1;for(var n=0,r=e;n<r.length;n++){if(!(r[n]instanceof Comment))return!1}return!0},isCp:kr,isDataURL:Ko,isDate:yr,isDesktopDevice:function(){return"desktop"===No()},isDimension:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(!e.length)return!1;for(var n=0,r=e;n<r.length;n++){var o=r[n];if("number"!=typeof o||o<0)return!1;if(!Go(o))return!1}return!0},isDom:Tr,isEmail:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(!e.length)return!1;for(var n=/^([a-zA-Z0-9_.+-])+\@(([a-zA-Z0-9-])+\.)+([a-zA-Z0-9]{2,4})+$/,r=0,o=e;r<o.length;r++){var i=o[r];if(!er(i))return!1;if(!n.test(i))return!1}return!0},isEmpty:_r,isEvent:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(!e.length)return!1;for(var n=0,r=e;n<r.length;n++){if(!(r[n]instanceof Event))return!1}return!0},isFocused:function(e,t){return void 0===t&&(t=!1),e===document.activeElement||t&&e.contains&&e.contains(document.activeElement)},isFunction:nr,isHex:function(e){return Boolean(e.match(/^(0x)?[0-9a-f]+$/i))},isHostname:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(!e.length)return!1;for(var n=0,r=e;n<r.length;n++){var o=r[n];if(!er(o))return!1;if(!Qo(o)&&!bbn.var.regexp.hostname.test(o))return!1}return!0},isInside:function(e,t){var n=Co(e);if(n.length){if(er(t)){var r=!1;return sr(n,function(e){if(e.matches&&e.matches(t))return r=!0,!1}),r}if(t instanceof HTMLElement)return n.indexOf(t)>-1}return!1},isInt:tr,isInViewport:function(e,t){void 0===t&&(t=!1);var n=e.getBoundingClientRect();if(t)return n.top>=0&&n.left>=0&&n.right<=(window.innerWidth||document.documentElement.clientWidth)&&n.bottom<=(window.innerHeight||document.documentElement.clientHeight);var r=e.offsetHeight,o=e.offsetWidth;return n.top>=-r&&n.left>=-o&&n.right<=(window.innerWidth||document.documentElement.clientWidth)+o&&n.bottom<=(window.innerHeight||document.documentElement.clientHeight)+r},isIP:Qo,isIterable:Qn,isMobile:Zo,isMobileDevice:Vo,isNotObject:yo,isNull:xr,isNumber:Gn,isObject:ur,isPercent:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(!e.length)return!1;for(var n=0,r=e;n<r.length;n++){var o=r[n];if("string"!=typeof o||!o.match(/^\d+(?:\.\d+)?%$/))return!1}return!0},isPrimitive:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(!e.length)return!1;for(var n=0,r=e;n<r.length;n++){var o=r[n];if(null!==o&&("object"==typeof o||"function"==typeof o))return!1}return!0},isPromise:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(!e.length)return!1;for(var n=0,r=e;n<r.length;n++){var o=r[n];if("[object Promise]"!=={}.toString.apply(o))return!1}return!0},isPropSize:function(e){var t=!1;return sr(["width","height","gap","margin","padding","top","left","right","bottom"],function(n){if(-1!==e.indexOf(n))return t=!0,!1}),t},isSame:Cr,isSQLDate:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(!e.length)return!1;for(var n=0,r=e;n<r.length;n++){var o=r[n];if("string"!=typeof o||!o.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:er,isSymbol:ei,isTabletDevice:Jo,isURL:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(!e.length)return!1;for(var n=0,r=e;n<r.length;n++){var o=r[n];if(!bbn.var.regexp.url.test(o))return!1}return!0},isUid:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(!e.length)return!1;for(var n=0,r=e;n<r.length;n++){var o=r[n];if("string"!=typeof o||!o.match(/^[0-9a-f]{32}$/i))return!1}return!0},isValidDimension:Go,isValidName:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(!e.length)return!1;for(var n=0,r=e;n<r.length;n++){var o=r[n];if(!er(o)||!/^[$A-Z_][0-9A-Z_$]*$/i.test(o))return!1}return!0},isVue:function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];if(!t.length)return!1;if("vue"in bbn&&window.Vue)if("app"in bbn.vue)for(var r=0,o=t;r<o.length;r++){if(!(s=o[r])||"function"!=typeof s.render)return!1}else for(var i=0,a=t;i<a.length;i++){var s;if(!((s=a[i])instanceof window.Vue))return!1}return!("cp"in bbn)||!("isComponent"in bbn.cp)||"function"!=typeof bbn.cp.isComponent||(e=bbn.cp).isComponent.apply(e,t)},isWritable:function(e,t){for(var n;e&&!(n=Object.getOwnPropertyDescriptor(e,t));)e=Object.getPrototypeOf(e);return!n||Boolean(n.writable||n.set)},iterate:ar,lightenDarkenHex:function(e,t){if(e&&t){var n="#"===e[0];e=n?e.slice(1):e;var r=parseInt(e,16),o=(r>>16)+t,i=(r>>8&255)+t,a=(255&r)+t;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),(n?"#":"")+(a|i<<8|o<<16).toString(16)}},link:Ho,log:rr,makeReactive:function e(t,n,r,o){var i=(null==r?void 0:r.$cid)||"",a="__bbn_"+(i?i+"_":"");if(t&&"object"==typeof t&&[void 0,Object,Array].includes(t.constructor)){if(t.__bbnIsProxy&&t.__bbnParent===r)return t;r&&r.$options&&"bbn-loadbar"===r.$options.name&&rr(["MAKING bbn-loadbar",t]),t.__bbnWatchers||Reflect.defineProperty(t,"__bbnWatchers",{value:mo(),writable:!0,configurable:!0,enumerable:!1});var s={get:function(s,u){var c=Reflect.get(s,u),l=s.__bbnRoot||s;if(ei(u))return Reflect.get(l,u);var f=o?o+"."+u:u,d=a+(Gn(u)?u.toString():u);if(["fill","pop","push","reverse","shift","sort","splice","unshift"].includes(u)&&cr(s))return function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var o=l[u].apply(l,e);return ti("DOING ARRAY STUFF"),rr(s.__bbnParent),n(s,"length",r),o};if(nr(c))return c;if("__bbnRoot"===u){for(var h=t;h&&(null==h?void 0:h.__bbnTarget);)h=h.__bbnTarget;return h}return"__bbnIsProxy"===u||("__bbnTarget"===u?s:"__bbnParent"===u?r:"__bbnWatchers"===u?s.__bbnWatchers:0===u.indexOf("__bbn_")?Reflect.get(s,u):"length"===u&&cr(s.__bbnRoot||s)?l.length:u in s&&c&&"object"==typeof c&&[void 0,Object,Array].includes(c.constructor)?(c.__bbnIsProxy&&c.__bbnParent===r||(d in l||Reflect.defineProperty(l,d,{value:e(c,n,r,f),writable:!0,configurable:!0,enumerable:!1}),l[d].__bbnIsProxy&&!l.__bbnWatchers[i]&&(l.__bbnWatchers[i]=f)),l[d]):c)},set:function(t,s,u){if(ei(s))return Reflect.get(t,s,u);var c=t.__bbnRoot||t,l=o?o+"."+s:s;if(ei(s))return Reflect.get(t,s);if(r&&r.$options&&"bbn-loadbar"===r.$options.name&&rr(["Setting proxy prop in "+r.$options.name,t,s,u]),!Cr(c[s],u)){if(0===s.indexOf("__bbn_"))Reflect.defineProperty(c,s,{value:e(u,n,r,l),writable:!0,configurable:!0,enumerable:!1});else if(u&&"object"==typeof u&&[void 0,Object,Array].includes(u.constructor)){var f=a+(Gn(s)?s.toString():s);Reflect.defineProperty(c,f,{value:e(u,n,r,l),writable:!0,configurable:!0,enumerable:!1}),c[f].__bbnIsProxy&&!c.__bbnWatchers[i]&&(c.__bbnWatchers[i]=l)}r&&r.$options&&"bbn-loadbar"===r.$options.name&&rr(["Setting proxy prop in "+r.$options.name+" "+(Gn(s)?s.toString():s),u,t]),Reflect.set(c,s,u),n(t,s,r)}return!0},defineProperty:function(t,i,s){var u=t,c=o?o+"."+i:i;if("__bbnWatchers"===i||ei(i)||0===i.indexOf("__bbn_"))Reflect.defineProperty(u,i,s);else{var l=a+(Gn(i)?i.toString():i);Reflect.defineProperty(u,l,{value:e(s.value,n,r,c),writable:!0,configurable:!0,enumerable:!1})}return n(t,i,r),!0},deleteProperty:function(e,t){var n=e;if(0===t.indexOf("__bbn_"))Reflect.deleteProperty(n,t);else{var r=a+(Gn(t)?t.toString():t);Reflect.deleteProperty(n,r),Reflect.deleteProperty(e,t)}return!0}};return new Proxy(t,s)}return t},map:function e(t,n,r,o){return void 0===o&&(o=0),t.map(function(t,i){return t=n(t,i,o),r&&t[r]&&cr(t[r])&&(t[r]=e(t[r],n,r,o+1)),t})},md5:Dr,microtimestamp:function(){return window.performance.now()+performance.timeOrigin},money:function(e,t,n,r,o,i,a){if(o||(o=void 0===o&&bbn.env.money&&void 0!==bbn.env.money.decimal?bbn.env.money.decimal:"."),n||(n=void 0===n&&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),t||(t=!(void 0!==t||!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),Gn(a)||(a=t?3:0),0===e&&"number"==typeof a&&a>0){var s=e.toFixed(a).replace(".",o);return n&&(s+=" "+(t?"K"+n:n)),s}if((isNaN(e)||!e)&&r)return r;if(isNaN(e)||!e)return 0+(n?" "+n:"");if("string"==typeof e&&(e=Number(e)),"number"!=typeof e)throw new Error("The value must be a number");t&&e&&(e/=1e3,n&&(n="K"+n));var u=e.toFixed(a),c=0,l=1e4;return u&&((l=u.indexOf("."))<=0?l=1e4:c=u.length-l),u.replace(/./g,function(e,t,n){return"."===e?o:t&&(n.length-t-c)%3==0&&t<l?i+e:e})+(n?" "+n:"")},move:function(e,t,n){if(n>=e.length)for(var r=n-e.length;1+r--;)e.push(void 0);return e.splice(n,0,e.splice(t,1)[0]),e},multiorder:function(e,t){if(!t)return e;var n;if(Array.isArray(t)||"object"!=typeof t)n=t;else for(var r in n=[],t)n.push({field:r,dir:t[r]});if(!Array.isArray(n))throw new Error("The orders argument must be an array");return e.slice().sort(function(e,t){for(var r,o=0,i=n;o<i.length;o++){var a=i[o];if(0!==(r=wr(e,t,a.field,a.dir)))return r}return 0})},mutateArray:function(e,t,n){if(void 0===n&&(n=null),!cr(e,t))throw new TypeError("mutateArray can only be called with arrays");n?so(n,"function","The hash function must be a function"):n=Rr;var r=new Map(t.map(function(e){return[n(e),e]})),o=[];t.forEach(function(e){o.push(e)});for(var i=e.length;i--;)r.has(n(e[i]))||e.splice(i,1);for(var a=0;a<o.length;a++)if(a>=e.length||!Cr(e[a],o[a])){var s=Pr(e,o[a]);if(-1!==s){var u=e.splice(s,1)[0];e.splice(a,0,u)}else e.splice(a,0,o[a])}return e.length>o.length&&e.splice(o.length,e.length-o.length),e},mutateObject:function(e,t,n){if(!ur(e,t))throw new TypeError("mutateObject can only be called with arrays");n?so(n,"function","The hash function must be a function"):n=Rr;var r=Object.keys(t);for(var o in e)r.includes(o)||delete e[o];return r.forEach(function(n){Cr(e[n],t[n])||(e[n]=t[n])}),e},nl2br:function(e,t){return Vr("\n","<br>"+(t?"\n":""),e)},numProperties:Sr,objectToFormData:ni,order:function(e,t,n){return void 0===n&&(n="asc"),e?e.sort(function(e,r){return wr(e,r,t,n)}):e},outerHeight:function(e){if((e=ri(e))&&"offsetHeight"in e){var t=window.getComputedStyle(e),n=parseFloat(t.marginTop)+parseFloat(t.marginBottom);return Math.ceil(e.offsetHeight+n)}},outerWidth:function(e){e=ri(e);var t=window.getComputedStyle(e),n=parseFloat(t.marginLeft)+parseFloat(t.marginRight);return Math.ceil(e.offsetWidth+n)},percent:function(e,t){return t/100*e},pickValue:function(e){if(Array.isArray(e)&&e.length)return e[Math.floor(Math.random()*e.length)]},post:zo,postOut:function(e,t,n,r){void 0===n&&(n=null),void 0===r&&(r="");var o=document.body.querySelector("form#bbn-form_out");o||((o=document.createElement("form")).classList.add("bbn-no"),o.setAttribute("id","bbn-form_out"),o.setAttribute("method","post"),o.setAttribute("enctype","multipart/form-data-encoded"),oi(o,"style.display","none"),document.body.appendChild(o)),o instanceof HTMLFormElement&&(o.innerHTML="",o.setAttribute("action",e),o.setAttribute("target",r||"_blank"),t||(t={}),(t=mo(t)).bbn||(t.bbn="public"),zr(o,t),o.submit(),n&&n())},printf:function(e){var t=Array.prototype.slice.call(arguments,1);return e.replace(/{(\d+)}/g,function(e,n){return void 0!==t[n]?t[n]:e})},quotes2html:function(e,t){return t&&0!==t.toLowerCase().indexOf("s")||(e=Vr("'","'",e)),t&&0!==t.toLowerCase().indexOf("d")||(e=Vr('"',""",e)),e},randomInt:ii,randomString:function(e,t,n){var r,o,i={n:"0123456789",l:"abcdefghijklmnopqrstuvwxyz",u:"ABCDEFGHIJKLMNOPQRSTUVWXYZ"};n||(n="nlu"),e||(r=ii(8,14)),"string"==typeof t?(n="n",delete i.l,delete i.u,i.n=t,r||(r=e)):"number"==typeof t&&e<t?r=ii(e,t):e&&(r=e);for(var a="",s=0;s<r;s++)0===s?"n"!==n&&(o=-1===n.indexOf("u")?"l":"u"):o=n[Math.floor(Math.random()*n.length)],a+=i[o][Math.floor(Math.random()*i[o].length)];return a},removeAccents:gr,removeEmpty:function(e){var t=[];if(cr(e))for(var n=0;n<e.length;n++){var r=!1;e[n]&&(cr(e[n])?e[n].length&&(r=!0):ur(e[n])?Sr(e[n])&&(r=!0):r=!0),r&&t.push(e[n])}return t},removeExtraSpaces:function(e){return e.replace(/\s+/g," ").trim()},removeHtmlComments:Po,removePrivateProp:ir,removeTrailingChars:function(e,t){if(t||(t=" "),t.length){for(;or(e,-t.length)===t;)e=or(e,0,e.length-t.length);for(;or(e,0,t.length)===t;)e=or(e,t.length)}return e},repeat:function(e,t){return e.repeat(t)},replaceAll:Vr,replaceSelection:function(e,t){var n,r,o;if((n=window.getSelection()).getRangeAt&&n.rangeCount){if((r=window.getSelection().getRangeAt(0)).deleteContents(),r.createContextualFragment)o=r.createContextualFragment(e);else{var i=document.createElement("div"),a=void 0;for(i.innerHTML=e,o=document.createDocumentFragment();a=i.firstChild;)o.appendChild(a)}var s=o.firstChild,u=o.lastChild;r.insertNode(o),n.removeAllRanges(),t?(s&&(r.setStartBefore(s),r.setEndAfter(u)),n.addRange(r)):(r.setStartAfter(u),n.addRange(r))}},resize:Wo,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,t,n){return void 0===n&&(n=!1),ar(e,t,n,!0)},roundDecimal:function(e,t){return Number(Math.round(parseFloat(e+"e"+t+"e-"+t)))},sanitize:function(e,t){void 0===t&&(t="_");for(var n=["[","]","{","}","(",")","-","+","*","/"],r="[",o=0;o<t.length;o++)n.includes(t[o])&&(r+="\\"),r+=t[o];r+="]+";var i=new RegExp(r,"g");return ai(gr(e).replace(/[^a-z0-9]/gi,t).replace(i,t),t)},search:Pr,selectElementText:function(e,t){if(void 0===t&&(t=null),t=t||window,e instanceof HTMLInputElement)e.select();else{var n,r,o=t.document;t.getSelection&&o.createRange?(n=t.getSelection(),(r=o.createRange()).selectNodeContents(e),n.removeAllRanges(),n.addRange(r)):"createTextRange"in o.body&&"function"==typeof o.body.createTextRange&&((r=o.body.createTextRange()).moveToElementText(e),r.select())}},selector:ri,setCookie:function(e,t,n){var r="";if(n){var o=new Date;o.setTime(o.getTime()+24*n*60*60*1e3),r="; expires="+o.toUTCString()}var i=escape(JSON.stringify({value:t}));document.cookie=e+"="+i+r+"; path=/"},setCssVar:function(e,t){0!==e.indexOf("--")&&(e="--"+e),document.documentElement.style.setProperty(e,t)},setNavigationVars:Yo,setProp:function(e,t,n,r,o){void 0===r&&(r=!0),void 0===o&&(o=!0),Object.defineProperty(e,t,{value:n,writable:r,configurable:o})},setProperty:oi,shorten:si,shortenObj:function e(t,n){void 0===n&&(n=100);var r=uo(t);return sr(r,function(t,o){er(t)&&t.length>n?r[o]=si(t,n):t&&"object"==typeof t&&(r[o]=e(t))}),r},shuffle:function(e){for(var t,n,r=e.length;0!=r;)n=Math.floor(Math.random()*r),r--,t=[e[n],e[r]],e[r]=t[0],e[n]=t[1];return e},simpleHash:Ar,simpleHash1:Or,simpleHash2:Er,startChrono:function(e){var t=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"]=t,e},stopChrono:function(e,t){if(this.constructor.chronos[e||"default"]){var n=bbn.fn.microtimestamp()-this.constructor.chronos[e||"default"];return delete this.constructor.chronos[e||"default"],t&&(n=Math.round(n)/1e3),n}throw Error("No chrono with name "+(e||"default"))},stream:function(e,t,n,r,o,i){var a=Jr(e,n,"json"),s=Ir(a);if(null==s?void 0:s.loader)return s.loader;n||(n={}),bbn.env.token&&(n._bbn_token=bbn.env.token);var u=new AbortController,c="",l=function(e){if(e.length)for(var n in e=e.indexOf("\n")>-1?bbn.fn.removeEmpty(e.split("\n")):[e])try{t(JSON.parse(e[n]))}catch(e){throw e}},f=bbn.fn.startChrono(),d=fetch(e,{method:"POST",mode:"cors",cache:"no-cache",credentials:"same-origin",headers:{"Content-Type":"application/json"},redirect:"follow",referrerPolicy:"no-referrer",signal:u.signal,body:JSON.stringify(n||{})}).then(function(e){if(bbn.fn.log("RESPONSE IN "+bbn.fn.stopChrono(f,!0)+" SECS"),e.body){var r=e.body.getReader(),o=nr(t);r.read().then(function e(s){var u=s.done,f=s.value;if(u)return Ur(a,n),c&&l(c),void(i&&i());if(o)if(c+=Xr(f).trim(),bbn.fn.log(["STREAM RESULT",c.length,c]),c)try{l(c),c=""}catch(e){}else t();else bbn.fn.log(["STREAM SUCCESS IS FN? "+o]);return r.read().then(e)})}}).catch(function(t){var i=axios.isCancel(t);if(Ur(a,n,i),i){var s=1;nr(o)&&(s=o(t.message,e)),s&&vo(t.message)}else{s=1;nr(r)&&(s=r(t.request,t)),s&&go(t.request,t.response?t.response.data:"",t.response?t.response.status:t)}});return mr(a,d,u),d},string2ArrayBuffer:function(e){for(var t=new ArrayBuffer(2*e.length),n=new Uint16Array(t),r=0,o=e.length;r<o;r++)n[r]=e.charCodeAt(r);return t},submit:qo,substr:or,sum:function(e,t,n,r,o){var i=0;return sr(Yr(e,n,r,o),function(e){var n="function"==typeof t?t(e):e[t];n&&(i+=parseFloat(n)||0)}),i},timestamp:Xo,toCSV:function(e,t,n,r){void 0===t&&(t=","),void 0===n&&(n=""),void 0===r&&(r='"'),t||(t=","),r||(r='"');var o="",i=e.length;return sr(e,function(e,a){var s=cr(e)?e.length:Object.values(e).length,u=0;sr(e,function(e){o+="string"==typeof e?r+Vr(r,"\\"+r,e)+r:0===e?"0":e&&e.toString?e.toString():r+r,++u<s&&(o+=t)}),a<i-1&&(o+=n+"\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(){Wo()},0)},translate:function(e,t){var n=t?bbn.lng[0===t.indexOf("_")?t:"_"+t]:bbn.lng;ar(e,function(e,t){n[t]=e})},treatAjaxArguments:Io,treatForHash:jr,trim:ai,uniqString:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n="",r=function(){if(e[o])if("object"==typeof e[o])if(cr(e[o]))n+=JSON.stringify(e[o]);else{var t={};sr(Object.keys(e[o]).sort(),function(n){t[n]=e[o][n]}),n+=JSON.stringify(t)}else"string"!=typeof e[o]?n+=e[o].toString():n+=e[o];else n+="__bbn_empty__"},o=0;o<e.length;o++)r();return Dr(n)},unique:$o,upload:function(e,t,n,r,o){void 0===n&&(n=null),void 0===r&&(r=null),void 0===o&&(o=null);var i=function(){return axios.post(e||bbn.env.path,ni(t),{headers:{"Content-Type":"multipart/form-data"},onUploadProgress:function(e){if(o){var t=Math.round(100*e.loaded/e.total);o(t,e.loaded,e.total)}}})};return n||r?i().then(function(e){n&&(rr("SUCCESS",e),n(e))}).catch(function(e){r&&(rr("ERROR",e),r(e))}):i()},warning:ti,yieldToBrowser:Mo};Rt.extend(Lt),Rt.extend(Bt),Rt.extend(Ht),Rt.extend(Vt),Rt.extend(Xt),Rt.extend(tn),Rt.extend(sn),Rt.extend(fn),Rt.extend(bn),Rt.extend(yn),Rt.extend(En),Rt.extend(kn),Rt.extend($n),Rt.extend(Fn),Rt.extend(In),Rt.extend(qn),Rt.extend(Jn);var ci={version:"1.0.1",opt:{_cat:{}},app:{},_:Zn,$:function(e,t){if(null==t?void 0:t.querySelectorAll)return t.querySelectorAll(e);if(t)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:Kn,env:Xn,db:br,fn:ui,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"}]};return e.axios=ct,e.bbn=ci,e.dayjs=Rt,e.default=ci,Object.defineProperty(e,"__esModule",{value:!0}),e}({});
|
|
1
|
+
var bbn=function(e){"use strict";function t(e,t){return function(){return e.apply(t,arguments)}}const{toString:n}=Object.prototype,{getPrototypeOf:r}=Object,{iterator:o,toStringTag:i}=Symbol,a=(s=Object.create(null),e=>{const t=n.call(e);return s[t]||(s[t]=t.slice(8,-1).toLowerCase())});var s;const u=e=>(e=e.toLowerCase(),t=>a(t)===e),c=e=>t=>typeof t===e,{isArray:l}=Array,f=c("undefined");function d(e){return null!==e&&!f(e)&&null!==e.constructor&&!f(e.constructor)&&b(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const h=u("ArrayBuffer");const p=c("string"),b=c("function"),m=c("number"),v=e=>null!==e&&"object"==typeof e,g=e=>{if("object"!==a(e))return!1;const t=r(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||i in e||o in e)},y=u("Date"),w=u("File"),S=u("Blob"),O=u("FileList"),_=u("URLSearchParams"),[x,E,A,T]=["ReadableStream","Request","Response","Headers"].map(u);function M(e,t,{allOwnKeys:n=!1}={}){if(null==e)return;let r,o;if("object"!=typeof e&&(e=[e]),l(e))for(r=0,o=e.length;r<o;r++)t.call(null,e[r],r,e);else{if(d(e))return;const o=n?Object.getOwnPropertyNames(e):Object.keys(e),i=o.length;let a;for(r=0;r<i;r++)a=o[r],t.call(null,e[a],a,e)}}function k(e,t){if(d(e))return null;t=t.toLowerCase();const n=Object.keys(e);let r,o=n.length;for(;o-- >0;)if(r=n[o],t===r.toLowerCase())return r;return null}const j="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:global,D=e=>!f(e)&&e!==j;const R=($="undefined"!=typeof Uint8Array&&r(Uint8Array),e=>$&&e instanceof $);var $;const C=u("HTMLFormElement"),L=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),N=u("RegExp"),F=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};M(n,(n,o)=>{let i;!1!==(i=t(n,o,e))&&(r[o]=i||n)}),Object.defineProperties(e,r)};const P=u("AsyncFunction"),B=(U="function"==typeof setImmediate,I=b(j.postMessage),U?setImmediate:I?(Y=`axios@${Math.random()}`,H=[],j.addEventListener("message",({source:e,data:t})=>{e===j&&t===Y&&H.length&&H.shift()()},!1),e=>{H.push(e),j.postMessage(Y,"*")}):e=>setTimeout(e));var U,I,Y,H;const z="undefined"!=typeof queueMicrotask?queueMicrotask.bind(j):"undefined"!=typeof process&&process.nextTick||B;var q={isArray:l,isArrayBuffer:h,isBuffer:d,isFormData:e=>{let t;return e&&("function"==typeof FormData&&e instanceof FormData||b(e.append)&&("formdata"===(t=a(e))||"object"===t&&b(e.toString)&&"[object FormData]"===e.toString()))},isArrayBufferView:function(e){let t;return t="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&h(e.buffer),t},isString:p,isNumber:m,isBoolean:e=>!0===e||!1===e,isObject:v,isPlainObject:g,isEmptyObject:e=>{if(!v(e)||d(e))return!1;try{return 0===Object.keys(e).length&&Object.getPrototypeOf(e)===Object.prototype}catch(e){return!1}},isReadableStream:x,isRequest:E,isResponse:A,isHeaders:T,isUndefined:f,isDate:y,isFile:w,isBlob:S,isRegExp:N,isFunction:b,isStream:e=>v(e)&&b(e.pipe),isURLSearchParams:_,isTypedArray:R,isFileList:O,forEach:M,merge:function e(){const{caseless:t,skipUndefined:n}=D(this)&&this||{},r={},o=(o,i)=>{const a=t&&k(r,i)||i;g(r[a])&&g(o)?r[a]=e(r[a],o):g(o)?r[a]=e({},o):l(o)?r[a]=o.slice():n&&f(o)||(r[a]=o)};for(let e=0,t=arguments.length;e<t;e++)arguments[e]&&M(arguments[e],o);return r},extend:(e,n,r,{allOwnKeys:o}={})=>(M(n,(n,o)=>{r&&b(n)?e[o]=t(n,r):e[o]=n},{allOwnKeys:o}),e),trim:e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:e=>(65279===e.charCodeAt(0)&&(e=e.slice(1)),e),inherits:(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},toFlatObject:(e,t,n,o)=>{let i,a,s;const u={};if(t=t||{},null==e)return t;do{for(i=Object.getOwnPropertyNames(e),a=i.length;a-- >0;)s=i[a],o&&!o(s,e,t)||u[s]||(t[s]=e[s],u[s]=!0);e=!1!==n&&r(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},kindOf:a,kindOfTest:u,endsWith:(e,t,n)=>{e=String(e),(void 0===n||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return-1!==r&&r===n},toArray:e=>{if(!e)return null;if(l(e))return e;let t=e.length;if(!m(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},forEachEntry:(e,t)=>{const n=(e&&e[o]).call(e);let r;for(;(r=n.next())&&!r.done;){const n=r.value;t.call(e,n[0],n[1])}},matchAll:(e,t)=>{let n;const r=[];for(;null!==(n=e.exec(t));)r.push(n);return r},isHTMLForm:C,hasOwnProperty:L,hasOwnProp:L,reduceDescriptors:F,freezeMethods:e=>{F(e,(t,n)=>{if(b(e)&&-1!==["arguments","caller","callee"].indexOf(n))return!1;const r=e[n];b(r)&&(t.enumerable=!1,"writable"in t?t.writable=!1:t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")}))})},toObjectSet:(e,t)=>{const n={},r=e=>{e.forEach(e=>{n[e]=!0})};return l(e)?r(e):r(String(e).split(t)),n},toCamelCase:e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(e,t,n){return t.toUpperCase()+n}),noop:()=>{},toFiniteNumber:(e,t)=>null!=e&&Number.isFinite(e=+e)?e:t,findKey:k,global:j,isContextDefined:D,isSpecCompliantForm:function(e){return!!(e&&b(e.append)&&"FormData"===e[i]&&e[o])},toJSONObject:e=>{const t=new Array(10),n=(e,r)=>{if(v(e)){if(t.indexOf(e)>=0)return;if(d(e))return e;if(!("toJSON"in e)){t[r]=e;const o=l(e)?[]:{};return M(e,(e,t)=>{const i=n(e,r+1);!f(i)&&(o[t]=i)}),t[r]=void 0,o}}return e};return n(e,0)},isAsyncFn:P,isThenable:e=>e&&(v(e)||b(e))&&b(e.then)&&b(e.catch),setImmediate:B,asap:z,isIterable:e=>null!=e&&b(e[o])};function W(e,t,n,r,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),o&&(this.response=o,this.status=o.status?o.status:null)}q.inherits(W,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:q.toJSONObject(this.config),code:this.code,status:this.status}}});const V=W.prototype,J={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{J[e]={value:e}}),Object.defineProperties(W,J),Object.defineProperty(V,"isAxiosError",{value:!0}),W.from=(e,t,n,r,o,i)=>{const a=Object.create(V);q.toFlatObject(e,a,function(e){return e!==Error.prototype},e=>"isAxiosError"!==e);const s=e&&e.message?e.message:"Error",u=null==t&&e?e.code:t;return W.call(a,s,u,n,r,o),e&&null==a.cause&&Object.defineProperty(a,"cause",{value:e,configurable:!0}),a.name=e&&e.name||"Error",i&&Object.assign(a,i),a};function Z(e){return q.isPlainObject(e)||q.isArray(e)}function K(e){return q.endsWith(e,"[]")?e.slice(0,-2):e}function X(e,t,n){return e?e.concat(t).map(function(e,t){return e=K(e),!n&&t?"["+e+"]":e}).join(n?".":""):t}const G=q.toFlatObject(q,{},null,function(e){return/^is[A-Z]/.test(e)});function Q(e,t,n){if(!q.isObject(e))throw new TypeError("target must be an object");t=t||new FormData;const r=(n=q.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(e,t){return!q.isUndefined(t[e])})).metaTokens,o=n.visitor||c,i=n.dots,a=n.indexes,s=(n.Blob||"undefined"!=typeof Blob&&Blob)&&q.isSpecCompliantForm(t);if(!q.isFunction(o))throw new TypeError("visitor must be a function");function u(e){if(null===e)return"";if(q.isDate(e))return e.toISOString();if(q.isBoolean(e))return e.toString();if(!s&&q.isBlob(e))throw new W("Blob is not supported. Use a Buffer instead.");return q.isArrayBuffer(e)||q.isTypedArray(e)?s&&"function"==typeof Blob?new Blob([e]):Buffer.from(e):e}function c(e,n,o){let s=e;if(e&&!o&&"object"==typeof e)if(q.endsWith(n,"{}"))n=r?n:n.slice(0,-2),e=JSON.stringify(e);else if(q.isArray(e)&&function(e){return q.isArray(e)&&!e.some(Z)}(e)||(q.isFileList(e)||q.endsWith(n,"[]"))&&(s=q.toArray(e)))return n=K(n),s.forEach(function(e,r){!q.isUndefined(e)&&null!==e&&t.append(!0===a?X([n],r,i):null===a?n:n+"[]",u(e))}),!1;return!!Z(e)||(t.append(X(o,n,i),u(e)),!1)}const l=[],f=Object.assign(G,{defaultVisitor:c,convertValue:u,isVisitable:Z});if(!q.isObject(e))throw new TypeError("data must be an object");return function e(n,r){if(!q.isUndefined(n)){if(-1!==l.indexOf(n))throw Error("Circular reference detected in "+r.join("."));l.push(n),q.forEach(n,function(n,i){!0===(!(q.isUndefined(n)||null===n)&&o.call(t,n,q.isString(i)?i.trim():i,r,f))&&e(n,r?r.concat(i):[i])}),l.pop()}}(e),t}function ee(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(e){return t[e]})}function te(e,t){this._pairs=[],e&&Q(e,this,t)}const ne=te.prototype;function re(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function oe(e,t,n){if(!t)return e;const r=n&&n.encode||re;q.isFunction(n)&&(n={serialize:n});const o=n&&n.serialize;let i;if(i=o?o(t,n):q.isURLSearchParams(t)?t.toString():new te(t,n).toString(r),i){const t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+i}return e}ne.append=function(e,t){this._pairs.push([e,t])},ne.toString=function(e){const t=e?function(t){return e.call(this,t,ee)}:ee;return this._pairs.map(function(e){return t(e[0])+"="+t(e[1])},"").join("&")};class ie{constructor(){this.handlers=[]}use(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){q.forEach(this.handlers,function(t){null!==t&&e(t)})}}var ae={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},se={isBrowser:!0,classes:{URLSearchParams:"undefined"!=typeof URLSearchParams?URLSearchParams:te,FormData:"undefined"!=typeof FormData?FormData:null,Blob:"undefined"!=typeof Blob?Blob:null},protocols:["http","https","file","blob","url","data"]};const ue="undefined"!=typeof window&&"undefined"!=typeof document,ce="object"==typeof navigator&&navigator||void 0,le=ue&&(!ce||["ReactNative","NativeScript","NS"].indexOf(ce.product)<0),fe="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,de=ue&&window.location.href||"http://localhost";var he={...Object.freeze({__proto__:null,hasBrowserEnv:ue,hasStandardBrowserEnv:le,hasStandardBrowserWebWorkerEnv:fe,navigator:ce,origin:de}),...se};function pe(e){function t(e,n,r,o){let i=e[o++];if("__proto__"===i)return!0;const a=Number.isFinite(+i),s=o>=e.length;if(i=!i&&q.isArray(r)?r.length:i,s)return q.hasOwnProp(r,i)?r[i]=[r[i],n]:r[i]=n,!a;r[i]&&q.isObject(r[i])||(r[i]=[]);return t(e,n,r[i],o)&&q.isArray(r[i])&&(r[i]=function(e){const t={},n=Object.keys(e);let r;const o=n.length;let i;for(r=0;r<o;r++)i=n[r],t[i]=e[i];return t}(r[i])),!a}if(q.isFormData(e)&&q.isFunction(e.entries)){const n={};return q.forEachEntry(e,(e,r)=>{t(function(e){return q.matchAll(/\w+|\[(\w*)]/g,e).map(e=>"[]"===e[0]?"":e[1]||e[0])}(e),r,n,0)}),n}return null}const be={transitional:ae,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){const n=t.getContentType()||"",r=n.indexOf("application/json")>-1,o=q.isObject(e);o&&q.isHTMLForm(e)&&(e=new FormData(e));if(q.isFormData(e))return r?JSON.stringify(pe(e)):e;if(q.isArrayBuffer(e)||q.isBuffer(e)||q.isStream(e)||q.isFile(e)||q.isBlob(e)||q.isReadableStream(e))return e;if(q.isArrayBufferView(e))return e.buffer;if(q.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let i;if(o){if(n.indexOf("application/x-www-form-urlencoded")>-1)return function(e,t){return Q(e,new he.classes.URLSearchParams,{visitor:function(e,t,n,r){return he.isNode&&q.isBuffer(e)?(this.append(t,e.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)},...t})}(e,this.formSerializer).toString();if((i=q.isFileList(e))||n.indexOf("multipart/form-data")>-1){const t=this.env&&this.env.FormData;return Q(i?{"files[]":e}:e,t&&new t,this.formSerializer)}}return o||r?(t.setContentType("application/json",!1),function(e,t,n){if(q.isString(e))try{return(t||JSON.parse)(e),q.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(n||JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){const t=this.transitional||be.transitional,n=t&&t.forcedJSONParsing,r="json"===this.responseType;if(q.isResponse(e)||q.isReadableStream(e))return e;if(e&&q.isString(e)&&(n&&!this.responseType||r)){const n=!(t&&t.silentJSONParsing)&&r;try{return JSON.parse(e,this.parseReviver)}catch(e){if(n){if("SyntaxError"===e.name)throw W.from(e,W.ERR_BAD_RESPONSE,this,null,this.response);throw e}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:he.classes.FormData,Blob:he.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};q.forEach(["delete","get","head","post","put","patch"],e=>{be.headers[e]={}});const me=q.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]);const ve=Symbol("internals");function ge(e){return e&&String(e).trim().toLowerCase()}function ye(e){return!1===e||null==e?e:q.isArray(e)?e.map(ye):String(e)}function we(e,t,n,r,o){return q.isFunction(r)?r.call(this,t,n):(o&&(t=n),q.isString(t)?q.isString(r)?-1!==t.indexOf(r):q.isRegExp(r)?r.test(t):void 0:void 0)}let Se=class{constructor(e){e&&this.set(e)}set(e,t,n){const r=this;function o(e,t,n){const o=ge(t);if(!o)throw new Error("header name must be a non-empty string");const i=q.findKey(r,o);(!i||void 0===r[i]||!0===n||void 0===n&&!1!==r[i])&&(r[i||t]=ye(e))}const i=(e,t)=>q.forEach(e,(e,n)=>o(e,n,t));if(q.isPlainObject(e)||e instanceof this.constructor)i(e,t);else if(q.isString(e)&&(e=e.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim()))i((e=>{const t={};let n,r,o;return e&&e.split("\n").forEach(function(e){o=e.indexOf(":"),n=e.substring(0,o).trim().toLowerCase(),r=e.substring(o+1).trim(),!n||t[n]&&me[n]||("set-cookie"===n?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t})(e),t);else if(q.isObject(e)&&q.isIterable(e)){let n,r,o={};for(const t of e){if(!q.isArray(t))throw TypeError("Object iterator must return a key-value pair");o[r=t[0]]=(n=o[r])?q.isArray(n)?[...n,t[1]]:[n,t[1]]:t[1]}i(o,t)}else null!=e&&o(t,e,n);return this}get(e,t){if(e=ge(e)){const n=q.findKey(this,e);if(n){const e=this[n];if(!t)return e;if(!0===t)return function(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}(e);if(q.isFunction(t))return t.call(this,e,n);if(q.isRegExp(t))return t.exec(e);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=ge(e)){const n=q.findKey(this,e);return!(!n||void 0===this[n]||t&&!we(0,this[n],n,t))}return!1}delete(e,t){const n=this;let r=!1;function o(e){if(e=ge(e)){const o=q.findKey(n,e);!o||t&&!we(0,n[o],o,t)||(delete n[o],r=!0)}}return q.isArray(e)?e.forEach(o):o(e),r}clear(e){const t=Object.keys(this);let n=t.length,r=!1;for(;n--;){const o=t[n];e&&!we(0,this[o],o,e,!0)||(delete this[o],r=!0)}return r}normalize(e){const t=this,n={};return q.forEach(this,(r,o)=>{const i=q.findKey(n,o);if(i)return t[i]=ye(r),void delete t[o];const a=e?function(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,t,n)=>t.toUpperCase()+n)}(o):String(o).trim();a!==o&&delete t[o],t[a]=ye(r),n[a]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const t=Object.create(null);return q.forEach(this,(n,r)=>{null!=n&&!1!==n&&(t[r]=e&&q.isArray(n)?n.join(", "):n)}),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,t])=>e+": "+t).join("\n")}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){const n=new this(e);return t.forEach(e=>n.set(e)),n}static accessor(e){const t=(this[ve]=this[ve]={accessors:{}}).accessors,n=this.prototype;function r(e){const r=ge(e);t[r]||(!function(e,t){const n=q.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(e,n,o){return this[r].call(this,t,e,n,o)},configurable:!0})})}(n,e),t[r]=!0)}return q.isArray(e)?e.forEach(r):r(e),this}};function Oe(e,t){const n=this||be,r=t||n,o=Se.from(r.headers);let i=r.data;return q.forEach(e,function(e){i=e.call(n,i,o.normalize(),t?t.status:void 0)}),o.normalize(),i}function _e(e){return!(!e||!e.__CANCEL__)}function xe(e,t,n){W.call(this,null==e?"canceled":e,W.ERR_CANCELED,t,n),this.name="CanceledError"}function Ee(e,t,n){const r=n.config.validateStatus;n.status&&r&&!r(n.status)?t(new W("Request failed with status code "+n.status,[W.ERR_BAD_REQUEST,W.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n)):e(n)}Se.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),q.reduceDescriptors(Se.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(e){this[n]=e}}}),q.freezeMethods(Se),q.inherits(xe,W,{__CANCEL__:!0});const Ae=(e,t,n=3)=>{let r=0;const o=function(e,t){e=e||10;const n=new Array(e),r=new Array(e);let o,i=0,a=0;return t=void 0!==t?t:1e3,function(s){const u=Date.now(),c=r[a];o||(o=u),n[i]=s,r[i]=u;let l=a,f=0;for(;l!==i;)f+=n[l++],l%=e;if(i=(i+1)%e,i===a&&(a=(a+1)%e),u-o<t)return;const d=c&&u-c;return d?Math.round(1e3*f/d):void 0}}(50,250);return function(e,t){let n,r,o=0,i=1e3/t;const a=(t,i=Date.now())=>{o=i,n=null,r&&(clearTimeout(r),r=null),e(...t)};return[(...e)=>{const t=Date.now(),s=t-o;s>=i?a(e,t):(n=e,r||(r=setTimeout(()=>{r=null,a(n)},i-s)))},()=>n&&a(n)]}(n=>{const i=n.loaded,a=n.lengthComputable?n.total:void 0,s=i-r,u=o(s);r=i;e({loaded:i,total:a,progress:a?i/a:void 0,bytes:s,rate:u||void 0,estimated:u&&a&&i<=a?(a-i)/u:void 0,event:n,lengthComputable:null!=a,[t?"download":"upload"]:!0})},n)},Te=(e,t)=>{const n=null!=e;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},Me=e=>(...t)=>q.asap(()=>e(...t));var ke=he.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,he.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(he.origin),he.navigator&&/(msie|trident)/i.test(he.navigator.userAgent)):()=>!0,je=he.hasStandardBrowserEnv?{write(e,t,n,r,o,i,a){if("undefined"==typeof document)return;const s=[`${e}=${encodeURIComponent(t)}`];q.isNumber(n)&&s.push(`expires=${new Date(n).toUTCString()}`),q.isString(r)&&s.push(`path=${r}`),q.isString(o)&&s.push(`domain=${o}`),!0===i&&s.push("secure"),q.isString(a)&&s.push(`SameSite=${a}`),document.cookie=s.join("; ")},read(e){if("undefined"==typeof document)return null;const t=document.cookie.match(new RegExp("(?:^|; )"+e+"=([^;]*)"));return t?decodeURIComponent(t[1]):null},remove(e){this.write(e,"",Date.now()-864e5,"/")}}:{write(){},read:()=>null,remove(){}};function De(e,t,n){let r=!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t);return e&&(r||0==n)?function(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}(e,t):t}const Re=e=>e instanceof Se?{...e}:e;function $e(e,t){t=t||{};const n={};function r(e,t,n,r){return q.isPlainObject(e)&&q.isPlainObject(t)?q.merge.call({caseless:r},e,t):q.isPlainObject(t)?q.merge({},t):q.isArray(t)?t.slice():t}function o(e,t,n,o){return q.isUndefined(t)?q.isUndefined(e)?void 0:r(void 0,e,0,o):r(e,t,0,o)}function i(e,t){if(!q.isUndefined(t))return r(void 0,t)}function a(e,t){return q.isUndefined(t)?q.isUndefined(e)?void 0:r(void 0,e):r(void 0,t)}function s(n,o,i){return i in t?r(n,o):i in e?r(void 0,n):void 0}const u={url:i,method:i,data:i,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,withXSRFToken:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:s,headers:(e,t,n)=>o(Re(e),Re(t),0,!0)};return q.forEach(Object.keys({...e,...t}),function(r){const i=u[r]||o,a=i(e[r],t[r],r);q.isUndefined(a)&&i!==s||(n[r]=a)}),n}var Ce=e=>{const t=$e({},e);let{data:n,withXSRFToken:r,xsrfHeaderName:o,xsrfCookieName:i,headers:a,auth:s}=t;if(t.headers=a=Se.from(a),t.url=oe(De(t.baseURL,t.url,t.allowAbsoluteUrls),e.params,e.paramsSerializer),s&&a.set("Authorization","Basic "+btoa((s.username||"")+":"+(s.password?unescape(encodeURIComponent(s.password)):""))),q.isFormData(n))if(he.hasStandardBrowserEnv||he.hasStandardBrowserWebWorkerEnv)a.setContentType(void 0);else if(q.isFunction(n.getHeaders)){const e=n.getHeaders(),t=["content-type","content-length"];Object.entries(e).forEach(([e,n])=>{t.includes(e.toLowerCase())&&a.set(e,n)})}if(he.hasStandardBrowserEnv&&(r&&q.isFunction(r)&&(r=r(t)),r||!1!==r&&ke(t.url))){const e=o&&i&&je.read(i);e&&a.set(o,e)}return t};var Le="undefined"!=typeof XMLHttpRequest&&function(e){return new Promise(function(t,n){const r=Ce(e);let o=r.data;const i=Se.from(r.headers).normalize();let a,s,u,c,l,{responseType:f,onUploadProgress:d,onDownloadProgress:h}=r;function p(){c&&c(),l&&l(),r.cancelToken&&r.cancelToken.unsubscribe(a),r.signal&&r.signal.removeEventListener("abort",a)}let b=new XMLHttpRequest;function m(){if(!b)return;const r=Se.from("getAllResponseHeaders"in b&&b.getAllResponseHeaders());Ee(function(e){t(e),p()},function(e){n(e),p()},{data:f&&"text"!==f&&"json"!==f?b.response:b.responseText,status:b.status,statusText:b.statusText,headers:r,config:e,request:b}),b=null}b.open(r.method.toUpperCase(),r.url,!0),b.timeout=r.timeout,"onloadend"in b?b.onloadend=m:b.onreadystatechange=function(){b&&4===b.readyState&&(0!==b.status||b.responseURL&&0===b.responseURL.indexOf("file:"))&&setTimeout(m)},b.onabort=function(){b&&(n(new W("Request aborted",W.ECONNABORTED,e,b)),b=null)},b.onerror=function(t){const r=new W(t&&t.message?t.message:"Network Error",W.ERR_NETWORK,e,b);r.event=t||null,n(r),b=null},b.ontimeout=function(){let t=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded";const o=r.transitional||ae;r.timeoutErrorMessage&&(t=r.timeoutErrorMessage),n(new W(t,o.clarifyTimeoutError?W.ETIMEDOUT:W.ECONNABORTED,e,b)),b=null},void 0===o&&i.setContentType(null),"setRequestHeader"in b&&q.forEach(i.toJSON(),function(e,t){b.setRequestHeader(t,e)}),q.isUndefined(r.withCredentials)||(b.withCredentials=!!r.withCredentials),f&&"json"!==f&&(b.responseType=r.responseType),h&&([u,l]=Ae(h,!0),b.addEventListener("progress",u)),d&&b.upload&&([s,c]=Ae(d),b.upload.addEventListener("progress",s),b.upload.addEventListener("loadend",c)),(r.cancelToken||r.signal)&&(a=t=>{b&&(n(!t||t.type?new xe(null,e,b):t),b.abort(),b=null)},r.cancelToken&&r.cancelToken.subscribe(a),r.signal&&(r.signal.aborted?a():r.signal.addEventListener("abort",a)));const v=function(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}(r.url);v&&-1===he.protocols.indexOf(v)?n(new W("Unsupported protocol "+v+":",W.ERR_BAD_REQUEST,e)):b.send(o||null)})};const Ne=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let n,r=new AbortController;const o=function(e){if(!n){n=!0,a();const t=e instanceof Error?e:this.reason;r.abort(t instanceof W?t:new xe(t instanceof Error?t.message:t))}};let i=t&&setTimeout(()=>{i=null,o(new W(`timeout ${t} of ms exceeded`,W.ETIMEDOUT))},t);const a=()=>{e&&(i&&clearTimeout(i),i=null,e.forEach(e=>{e.unsubscribe?e.unsubscribe(o):e.removeEventListener("abort",o)}),e=null)};e.forEach(e=>e.addEventListener("abort",o));const{signal:s}=r;return s.unsubscribe=()=>q.asap(a),s}},Fe=function*(e,t){let n=e.byteLength;if(n<t)return void(yield e);let r,o=0;for(;o<n;)r=o+t,yield e.slice(o,r),o=r},Pe=async function*(e){if(e[Symbol.asyncIterator])return void(yield*e);const t=e.getReader();try{for(;;){const{done:e,value:n}=await t.read();if(e)break;yield n}}finally{await t.cancel()}},Be=(e,t,n,r)=>{const o=async function*(e,t){for await(const n of Pe(e))yield*Fe(n,t)}(e,t);let i,a=0,s=e=>{i||(i=!0,r&&r(e))};return new ReadableStream({async pull(e){try{const{done:t,value:r}=await o.next();if(t)return s(),void e.close();let i=r.byteLength;if(n){let e=a+=i;n(e)}e.enqueue(new Uint8Array(r))}catch(e){throw s(e),e}},cancel:e=>(s(e),o.return())},{highWaterMark:2})},{isFunction:Ue}=q,Ie=(({Request:e,Response:t})=>({Request:e,Response:t}))(q.global),{ReadableStream:Ye,TextEncoder:He}=q.global,ze=(e,...t)=>{try{return!!e(...t)}catch(e){return!1}},qe=e=>{e=q.merge.call({skipUndefined:!0},Ie,e);const{fetch:t,Request:n,Response:r}=e,o=t?Ue(t):"function"==typeof fetch,i=Ue(n),a=Ue(r);if(!o)return!1;const s=o&&Ue(Ye),u=o&&("function"==typeof He?(c=new He,e=>c.encode(e)):async e=>new Uint8Array(await new n(e).arrayBuffer()));var c;const l=i&&s&&ze(()=>{let e=!1;const t=new n(he.origin,{body:new Ye,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),f=a&&s&&ze(()=>q.isReadableStream(new r("").body)),d={stream:f&&(e=>e.body)};o&&["text","arrayBuffer","blob","formData","stream"].forEach(e=>{!d[e]&&(d[e]=(t,n)=>{let r=t&&t[e];if(r)return r.call(t);throw new W(`Response type '${e}' is not supported`,W.ERR_NOT_SUPPORT,n)})});const h=async(e,t)=>{const r=q.toFiniteNumber(e.getContentLength());return null==r?(async e=>{if(null==e)return 0;if(q.isBlob(e))return e.size;if(q.isSpecCompliantForm(e)){const t=new n(he.origin,{method:"POST",body:e});return(await t.arrayBuffer()).byteLength}return q.isArrayBufferView(e)||q.isArrayBuffer(e)?e.byteLength:(q.isURLSearchParams(e)&&(e+=""),q.isString(e)?(await u(e)).byteLength:void 0)})(t):r};return async e=>{let{url:o,method:a,data:s,signal:u,cancelToken:c,timeout:p,onDownloadProgress:b,onUploadProgress:m,responseType:v,headers:g,withCredentials:y="same-origin",fetchOptions:w}=Ce(e),S=t||fetch;v=v?(v+"").toLowerCase():"text";let O=Ne([u,c&&c.toAbortSignal()],p),_=null;const x=O&&O.unsubscribe&&(()=>{O.unsubscribe()});let E;try{if(m&&l&&"get"!==a&&"head"!==a&&0!==(E=await h(g,s))){let e,t=new n(o,{method:"POST",body:s,duplex:"half"});if(q.isFormData(s)&&(e=t.headers.get("content-type"))&&g.setContentType(e),t.body){const[e,n]=Te(E,Ae(Me(m)));s=Be(t.body,65536,e,n)}}q.isString(y)||(y=y?"include":"omit");const t=i&&"credentials"in n.prototype,u={...w,signal:O,method:a.toUpperCase(),headers:g.normalize().toJSON(),body:s,duplex:"half",credentials:t?y:void 0};_=i&&new n(o,u);let c=await(i?S(_,w):S(o,u));const p=f&&("stream"===v||"response"===v);if(f&&(b||p&&x)){const e={};["status","statusText","headers"].forEach(t=>{e[t]=c[t]});const t=q.toFiniteNumber(c.headers.get("content-length")),[n,o]=b&&Te(t,Ae(Me(b),!0))||[];c=new r(Be(c.body,65536,n,()=>{o&&o(),x&&x()}),e)}v=v||"text";let A=await d[q.findKey(d,v)||"text"](c,e);return!p&&x&&x(),await new Promise((t,n)=>{Ee(t,n,{data:A,headers:Se.from(c.headers),status:c.status,statusText:c.statusText,config:e,request:_})})}catch(t){if(x&&x(),t&&"TypeError"===t.name&&/Load failed|fetch/i.test(t.message))throw Object.assign(new W("Network Error",W.ERR_NETWORK,e,_),{cause:t.cause||t});throw W.from(t,t&&t.code,e,_)}}},We=new Map,Ve=e=>{let t=e&&e.env||{};const{fetch:n,Request:r,Response:o}=t,i=[r,o,n];let a,s,u=i.length,c=We;for(;u--;)a=i[u],s=c.get(a),void 0===s&&c.set(a,s=u?new Map:qe(t)),c=s;return s};Ve();const Je={http:null,xhr:Le,fetch:{get:Ve}};q.forEach(Je,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(e){}Object.defineProperty(e,"adapterName",{value:t})}});const Ze=e=>`- ${e}`,Ke=e=>q.isFunction(e)||null===e||!1===e;var Xe={getAdapter:function(e,t){e=q.isArray(e)?e:[e];const{length:n}=e;let r,o;const i={};for(let a=0;a<n;a++){let n;if(r=e[a],o=r,!Ke(r)&&(o=Je[(n=String(r)).toLowerCase()],void 0===o))throw new W(`Unknown adapter '${n}'`);if(o&&(q.isFunction(o)||(o=o.get(t))))break;i[n||"#"+a]=o}if(!o){const e=Object.entries(i).map(([e,t])=>`adapter ${e} `+(!1===t?"is not supported by the environment":"is not available in the build"));throw new W("There is no suitable adapter to dispatch the request "+(n?e.length>1?"since :\n"+e.map(Ze).join("\n"):" "+Ze(e[0]):"as no adapter specified"),"ERR_NOT_SUPPORT")}return o},adapters:Je};function Ge(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new xe(null,e)}function Qe(e){Ge(e),e.headers=Se.from(e.headers),e.data=Oe.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1);return Xe.getAdapter(e.adapter||be.adapter,e)(e).then(function(t){return Ge(e),t.data=Oe.call(e,e.transformResponse,t),t.headers=Se.from(t.headers),t},function(t){return _e(t)||(Ge(e),t&&t.response&&(t.response.data=Oe.call(e,e.transformResponse,t.response),t.response.headers=Se.from(t.response.headers))),Promise.reject(t)})}const et="1.13.1",tt={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{tt[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}});const nt={};tt.transitional=function(e,t,n){function r(e,t){return"[Axios v"+et+"] Transitional option '"+e+"'"+t+(n?". "+n:"")}return(n,o,i)=>{if(!1===e)throw new W(r(o," has been removed"+(t?" in "+t:"")),W.ERR_DEPRECATED);return t&&!nt[o]&&(nt[o]=!0,console.warn(r(o," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,o,i)}},tt.spelling=function(e){return(t,n)=>(console.warn(`${n} is likely a misspelling of ${e}`),!0)};var rt={assertOptions:function(e,t,n){if("object"!=typeof e)throw new W("options must be an object",W.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let o=r.length;for(;o-- >0;){const i=r[o],a=t[i];if(a){const t=e[i],n=void 0===t||a(t,i,e);if(!0!==n)throw new W("option "+i+" must be "+n,W.ERR_BAD_OPTION_VALUE);continue}if(!0!==n)throw new W("Unknown option "+i,W.ERR_BAD_OPTION)}},validators:tt};const ot=rt.validators;let it=class{constructor(e){this.defaults=e||{},this.interceptors={request:new ie,response:new ie}}async request(e,t){try{return await this._request(e,t)}catch(e){if(e instanceof Error){let t={};Error.captureStackTrace?Error.captureStackTrace(t):t=new Error;const n=t.stack?t.stack.replace(/^.+\n/,""):"";try{e.stack?n&&!String(e.stack).endsWith(n.replace(/^.+\n.+\n/,""))&&(e.stack+="\n"+n):e.stack=n}catch(e){}}throw e}}_request(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{},t=$e(this.defaults,t);const{transitional:n,paramsSerializer:r,headers:o}=t;void 0!==n&&rt.assertOptions(n,{silentJSONParsing:ot.transitional(ot.boolean),forcedJSONParsing:ot.transitional(ot.boolean),clarifyTimeoutError:ot.transitional(ot.boolean)},!1),null!=r&&(q.isFunction(r)?t.paramsSerializer={serialize:r}:rt.assertOptions(r,{encode:ot.function,serialize:ot.function},!0)),void 0!==t.allowAbsoluteUrls||(void 0!==this.defaults.allowAbsoluteUrls?t.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:t.allowAbsoluteUrls=!0),rt.assertOptions(t,{baseUrl:ot.spelling("baseURL"),withXsrfToken:ot.spelling("withXSRFToken")},!0),t.method=(t.method||this.defaults.method||"get").toLowerCase();let i=o&&q.merge(o.common,o[t.method]);o&&q.forEach(["delete","get","head","post","put","patch","common"],e=>{delete o[e]}),t.headers=Se.concat(i,o);const a=[];let s=!0;this.interceptors.request.forEach(function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(s=s&&e.synchronous,a.unshift(e.fulfilled,e.rejected))});const u=[];let c;this.interceptors.response.forEach(function(e){u.push(e.fulfilled,e.rejected)});let l,f=0;if(!s){const e=[Qe.bind(this),void 0];for(e.unshift(...a),e.push(...u),l=e.length,c=Promise.resolve(t);f<l;)c=c.then(e[f++],e[f++]);return c}l=a.length;let d=t;for(;f<l;){const e=a[f++],t=a[f++];try{d=e(d)}catch(e){t.call(this,e);break}}try{c=Qe.call(this,d)}catch(e){return Promise.reject(e)}for(f=0,l=u.length;f<l;)c=c.then(u[f++],u[f++]);return c}getUri(e){return oe(De((e=$e(this.defaults,e)).baseURL,e.url,e.allowAbsoluteUrls),e.params,e.paramsSerializer)}};q.forEach(["delete","get","head","options"],function(e){it.prototype[e]=function(t,n){return this.request($e(n||{},{method:e,url:t,data:(n||{}).data}))}}),q.forEach(["post","put","patch"],function(e){function t(t){return function(n,r,o){return this.request($e(o||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:n,data:r}))}}it.prototype[e]=t(),it.prototype[e+"Form"]=t(!0)});const at={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(at).forEach(([e,t])=>{at[t]=e});const st=function e(n){const r=new it(n),o=t(it.prototype.request,r);return q.extend(o,it.prototype,r,{allOwnKeys:!0}),q.extend(o,r,null,{allOwnKeys:!0}),o.create=function(t){return e($e(n,t))},o}(be);st.Axios=it,st.CanceledError=xe,st.CancelToken=class e{constructor(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");let t;this.promise=new Promise(function(e){t=e});const n=this;this.promise.then(e=>{if(!n._listeners)return;let t=n._listeners.length;for(;t-- >0;)n._listeners[t](e);n._listeners=null}),this.promise.then=e=>{let t;const r=new Promise(e=>{n.subscribe(e),t=e}).then(e);return r.cancel=function(){n.unsubscribe(t)},r},e(function(e,r,o){n.reason||(n.reason=new xe(e,r,o),t(n.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}toAbortSignal(){const e=new AbortController,t=t=>{e.abort(t)};return this.subscribe(t),e.signal.unsubscribe=()=>this.unsubscribe(t),e.signal}static source(){let t;const n=new e(function(e){t=e});return{token:n,cancel:t}}},st.isCancel=_e,st.VERSION=et,st.toFormData=Q,st.AxiosError=W,st.Cancel=st.CanceledError,st.all=function(e){return Promise.all(e)},st.spread=function(e){return function(t){return e.apply(null,t)}},st.isAxiosError=function(e){return q.isObject(e)&&!0===e.isAxiosError},st.mergeConfig=$e,st.AxiosHeaders=Se,st.formToJSON=e=>pe(q.isHTMLForm(e)?new FormData(e):e),st.getAdapter=Xe.getAdapter,st.HttpStatusCode=at,st.default=st;const{Axios:ut,AxiosError:ct,CanceledError:lt,isCancel:ft,CancelToken:dt,VERSION:ht,all:pt,Cancel:bt,isAxiosError:mt,spread:vt,toFormData:gt,AxiosHeaders:yt,HttpStatusCode:wt,formToJSON:St,getAdapter:Ot,mergeConfig:_t}=st;function xt(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Et,At={exports:{}};var Tt,Mt=(Et||(Et=1,At.exports=function(){var e=1e3,t=6e4,n=36e5,r="millisecond",o="second",i="minute",a="hour",s="day",u="week",c="month",l="quarter",f="year",d="date",h="Invalid Date",p=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,b=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,m={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(e){var t=["th","st","nd","rd"],n=e%100;return"["+e+(t[(n-20)%10]||t[n]||t[0])+"]"}},v=function(e,t,n){var r=String(e);return!r||r.length>=t?e:""+Array(t+1-r.length).join(n)+e},g={s:v,z:function(e){var t=-e.utcOffset(),n=Math.abs(t),r=Math.floor(n/60),o=n%60;return(t<=0?"+":"-")+v(r,2,"0")+":"+v(o,2,"0")},m:function e(t,n){if(t.date()<n.date())return-e(n,t);var r=12*(n.year()-t.year())+(n.month()-t.month()),o=t.clone().add(r,c),i=n-o<0,a=t.clone().add(r+(i?-1:1),c);return+(-(r+(n-o)/(i?o-a:a-o))||0)},a:function(e){return e<0?Math.ceil(e)||0:Math.floor(e)},p:function(e){return{M:c,y:f,w:u,d:s,D:d,h:a,m:i,s:o,ms:r,Q:l}[e]||String(e||"").toLowerCase().replace(/s$/,"")},u:function(e){return void 0===e}},y="en",w={};w[y]=m;var S="$isDayjsObject",O=function(e){return e instanceof A||!(!e||!e[S])},_=function e(t,n,r){var o;if(!t)return y;if("string"==typeof t){var i=t.toLowerCase();w[i]&&(o=i),n&&(w[i]=n,o=i);var a=t.split("-");if(!o&&a.length>1)return e(a[0])}else{var s=t.name;w[s]=t,o=s}return!r&&o&&(y=o),o||!r&&y},x=function(e,t){if(O(e))return e.clone();var n="object"==typeof t?t:{};return n.date=e,n.args=arguments,new A(n)},E=g;E.l=_,E.i=O,E.w=function(e,t){return x(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var A=function(){function m(e){this.$L=_(e.locale,null,!0),this.parse(e),this.$x=this.$x||e.x||{},this[S]=!0}var v=m.prototype;return v.parse=function(e){this.$d=function(e){var t=e.date,n=e.utc;if(null===t)return new Date(NaN);if(E.u(t))return new Date;if(t instanceof Date)return new Date(t);if("string"==typeof t&&!/Z$/i.test(t)){var r=t.match(p);if(r){var o=r[2]-1||0,i=(r[7]||"0").substring(0,3);return n?new Date(Date.UTC(r[1],o,r[3]||1,r[4]||0,r[5]||0,r[6]||0,i)):new Date(r[1],o,r[3]||1,r[4]||0,r[5]||0,r[6]||0,i)}}return new Date(t)}(e),this.init()},v.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},v.$utils=function(){return E},v.isValid=function(){return!(this.$d.toString()===h)},v.isSame=function(e,t){var n=x(e);return this.startOf(t)<=n&&n<=this.endOf(t)},v.isAfter=function(e,t){return x(e)<this.startOf(t)},v.isBefore=function(e,t){return this.endOf(t)<x(e)},v.$g=function(e,t,n){return E.u(e)?this[t]:this.set(n,e)},v.unix=function(){return Math.floor(this.valueOf()/1e3)},v.valueOf=function(){return this.$d.getTime()},v.startOf=function(e,t){var n=this,r=!!E.u(t)||t,l=E.p(e),h=function(e,t){var o=E.w(n.$u?Date.UTC(n.$y,t,e):new Date(n.$y,t,e),n);return r?o:o.endOf(s)},p=function(e,t){return E.w(n.toDate()[e].apply(n.toDate("s"),(r?[0,0,0,0]:[23,59,59,999]).slice(t)),n)},b=this.$W,m=this.$M,v=this.$D,g="set"+(this.$u?"UTC":"");switch(l){case f:return r?h(1,0):h(31,11);case c:return r?h(1,m):h(0,m+1);case u:var y=this.$locale().weekStart||0,w=(b<y?b+7:b)-y;return h(r?v-w:v+(6-w),m);case s:case d:return p(g+"Hours",0);case a:return p(g+"Minutes",1);case i:return p(g+"Seconds",2);case o:return p(g+"Milliseconds",3);default:return this.clone()}},v.endOf=function(e){return this.startOf(e,!1)},v.$set=function(e,t){var n,u=E.p(e),l="set"+(this.$u?"UTC":""),h=(n={},n[s]=l+"Date",n[d]=l+"Date",n[c]=l+"Month",n[f]=l+"FullYear",n[a]=l+"Hours",n[i]=l+"Minutes",n[o]=l+"Seconds",n[r]=l+"Milliseconds",n)[u],p=u===s?this.$D+(t-this.$W):t;if(u===c||u===f){var b=this.clone().set(d,1);b.$d[h](p),b.init(),this.$d=b.set(d,Math.min(this.$D,b.daysInMonth())).$d}else h&&this.$d[h](p);return this.init(),this},v.set=function(e,t){return this.clone().$set(e,t)},v.get=function(e){return this[E.p(e)]()},v.add=function(r,l){var d,h=this;r=Number(r);var p=E.p(l),b=function(e){var t=x(h);return E.w(t.date(t.date()+Math.round(e*r)),h)};if(p===c)return this.set(c,this.$M+r);if(p===f)return this.set(f,this.$y+r);if(p===s)return b(1);if(p===u)return b(7);var m=(d={},d[i]=t,d[a]=n,d[o]=e,d)[p]||1,v=this.$d.getTime()+r*m;return E.w(v,this)},v.subtract=function(e,t){return this.add(-1*e,t)},v.format=function(e){var t=this,n=this.$locale();if(!this.isValid())return n.invalidDate||h;var r=e||"YYYY-MM-DDTHH:mm:ssZ",o=E.z(this),i=this.$H,a=this.$m,s=this.$M,u=n.weekdays,c=n.months,l=n.meridiem,f=function(e,n,o,i){return e&&(e[n]||e(t,r))||o[n].slice(0,i)},d=function(e){return E.s(i%12||12,e,"0")},p=l||function(e,t,n){var r=e<12?"AM":"PM";return n?r.toLowerCase():r};return r.replace(b,function(e,r){return r||function(e){switch(e){case"YY":return String(t.$y).slice(-2);case"YYYY":return E.s(t.$y,4,"0");case"M":return s+1;case"MM":return E.s(s+1,2,"0");case"MMM":return f(n.monthsShort,s,c,3);case"MMMM":return f(c,s);case"D":return t.$D;case"DD":return E.s(t.$D,2,"0");case"d":return String(t.$W);case"dd":return f(n.weekdaysMin,t.$W,u,2);case"ddd":return f(n.weekdaysShort,t.$W,u,3);case"dddd":return u[t.$W];case"H":return String(i);case"HH":return E.s(i,2,"0");case"h":return d(1);case"hh":return d(2);case"a":return p(i,a,!0);case"A":return p(i,a,!1);case"m":return String(a);case"mm":return E.s(a,2,"0");case"s":return String(t.$s);case"ss":return E.s(t.$s,2,"0");case"SSS":return E.s(t.$ms,3,"0");case"Z":return o}return null}(e)||o.replace(":","")})},v.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},v.diff=function(r,d,h){var p,b=this,m=E.p(d),v=x(r),g=(v.utcOffset()-this.utcOffset())*t,y=this-v,w=function(){return E.m(b,v)};switch(m){case f:p=w()/12;break;case c:p=w();break;case l:p=w()/3;break;case u:p=(y-g)/6048e5;break;case s:p=(y-g)/864e5;break;case a:p=y/n;break;case i:p=y/t;break;case o:p=y/e;break;default:p=y}return h?p:E.a(p)},v.daysInMonth=function(){return this.endOf(c).$D},v.$locale=function(){return w[this.$L]},v.locale=function(e,t){if(!e)return this.$L;var n=this.clone(),r=_(e,t,!0);return r&&(n.$L=r),n},v.clone=function(){return E.w(this.$d,this)},v.toDate=function(){return new Date(this.valueOf())},v.toJSON=function(){return this.isValid()?this.toISOString():null},v.toISOString=function(){return this.$d.toISOString()},v.toString=function(){return this.$d.toUTCString()},m}(),T=A.prototype;return x.prototype=T,[["$ms",r],["$s",o],["$m",i],["$H",a],["$W",s],["$M",c],["$y",f],["$D",d]].forEach(function(e){T[e[1]]=function(t){return this.$g(t,e[0],e[1])}}),x.extend=function(e,t){return e.$i||(e(t,A,x),e.$i=!0),x},x.locale=_,x.isDayjs=O,x.unix=function(e){return x(1e3*e)},x.en=w[y],x.Ls=w,x.p={},x}()),At.exports),kt=xt(Mt),jt={exports:{}};var Dt,Rt=(Tt||(Tt=1,jt.exports=function(e,t,n){var r="h:mm A",o={lastDay:"[Yesterday at] "+r,sameDay:"[Today at] "+r,nextDay:"[Tomorrow at] "+r,nextWeek:"dddd [at] "+r,lastWeek:"[Last] dddd [at] "+r,sameElse:"MM/DD/YYYY"};t.prototype.calendar=function(e,t){var r=t||this.$locale().calendar||o,i=n(e||void 0).startOf("d"),a=this.diff(i,"d",!0),s="sameElse",u=a<-6?s:a<-1?"lastWeek":a<0?"lastDay":a<1?"sameDay":a<2?"nextDay":a<7?"nextWeek":s,c=r[u]||o[u];return"function"==typeof c?c.call(this,n()):this.format(c)}}),jt.exports),$t=xt(Rt),Ct={exports:{}};var Lt,Nt=(Dt||(Dt=1,Ct.exports=function(){var e={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},t=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,n=/\d/,r=/\d\d/,o=/\d\d?/,i=/\d*[^-_:/,()\s\d]+/,a={},s=function(e){return(e=+e)+(e>68?1900:2e3)},u=function(e){return function(t){this[e]=+t}},c=[/[+-]\d\d:?(\d\d)?|Z/,function(e){(this.zone||(this.zone={})).offset=function(e){if(!e)return 0;if("Z"===e)return 0;var t=e.match(/([+-]|\d\d)/g),n=60*t[1]+(+t[2]||0);return 0===n?0:"+"===t[0]?-n:n}(e)}],l=function(e){var t=a[e];return t&&(t.indexOf?t:t.s.concat(t.f))},f=function(e,t){var n,r=a.meridiem;if(r){for(var o=1;o<=24;o+=1)if(e.indexOf(r(o,0,t))>-1){n=o>12;break}}else n=e===(t?"pm":"PM");return n},d={A:[i,function(e){this.afternoon=f(e,!1)}],a:[i,function(e){this.afternoon=f(e,!0)}],Q:[n,function(e){this.month=3*(e-1)+1}],S:[n,function(e){this.milliseconds=100*+e}],SS:[r,function(e){this.milliseconds=10*+e}],SSS:[/\d{3}/,function(e){this.milliseconds=+e}],s:[o,u("seconds")],ss:[o,u("seconds")],m:[o,u("minutes")],mm:[o,u("minutes")],H:[o,u("hours")],h:[o,u("hours")],HH:[o,u("hours")],hh:[o,u("hours")],D:[o,u("day")],DD:[r,u("day")],Do:[i,function(e){var t=a.ordinal,n=e.match(/\d+/);if(this.day=n[0],t)for(var r=1;r<=31;r+=1)t(r).replace(/\[|\]/g,"")===e&&(this.day=r)}],w:[o,u("week")],ww:[r,u("week")],M:[o,u("month")],MM:[r,u("month")],MMM:[i,function(e){var t=l("months"),n=(l("monthsShort")||t.map(function(e){return e.slice(0,3)})).indexOf(e)+1;if(n<1)throw new Error;this.month=n%12||n}],MMMM:[i,function(e){var t=l("months").indexOf(e)+1;if(t<1)throw new Error;this.month=t%12||t}],Y:[/[+-]?\d+/,u("year")],YY:[r,function(e){this.year=s(e)}],YYYY:[/\d{4}/,u("year")],Z:c,ZZ:c};function h(n){var r,o;r=n,o=a&&a.formats;for(var i=(n=r.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(t,n,r){var i=r&&r.toUpperCase();return n||o[r]||e[r]||o[i].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(e,t,n){return t||n.slice(1)})})).match(t),s=i.length,u=0;u<s;u+=1){var c=i[u],l=d[c],f=l&&l[0],h=l&&l[1];i[u]=h?{regex:f,parser:h}:c.replace(/^\[|\]$/g,"")}return function(e){for(var t={},n=0,r=0;n<s;n+=1){var o=i[n];if("string"==typeof o)r+=o.length;else{var a=o.regex,u=o.parser,c=e.slice(r),l=a.exec(c)[0];u.call(t,l),e=e.replace(l,"")}}return function(e){var t=e.afternoon;if(void 0!==t){var n=e.hours;t?n<12&&(e.hours+=12):12===n&&(e.hours=0),delete e.afternoon}}(t),t}}return function(e,t,n){n.p.customParseFormat=!0,e&&e.parseTwoDigitYear&&(s=e.parseTwoDigitYear);var r=t.prototype,o=r.parse;r.parse=function(e){var t=e.date,r=e.utc,i=e.args;this.$u=r;var s=i[1];if("string"==typeof s){var u=!0===i[2],c=!0===i[3],l=u||c,f=i[2];c&&(f=i[2]),a=this.$locale(),!u&&f&&(a=n.Ls[f]),this.$d=function(e,t,n,r){try{if(["x","X"].indexOf(t)>-1)return new Date(("X"===t?1e3:1)*e);var o=h(t)(e),i=o.year,a=o.month,s=o.day,u=o.hours,c=o.minutes,l=o.seconds,f=o.milliseconds,d=o.zone,p=o.week,b=new Date,m=s||(i||a?1:b.getDate()),v=i||b.getFullYear(),g=0;i&&!a||(g=a>0?a-1:b.getMonth());var y,w=u||0,S=c||0,O=l||0,_=f||0;return d?new Date(Date.UTC(v,g,m,w,S,O,_+60*d.offset*1e3)):n?new Date(Date.UTC(v,g,m,w,S,O,_)):(y=new Date(v,g,m,w,S,O,_),p&&(y=r(y).week(p).toDate()),y)}catch(e){return new Date("")}}(t,s,r,n),this.init(),f&&!0!==f&&(this.$L=this.locale(f).$L),l&&t!=this.format(s)&&(this.$d=new Date("")),a={}}else if(s instanceof Array)for(var d=s.length,p=1;p<=d;p+=1){i[1]=s[p-1];var b=n.apply(this,i);if(b.isValid()){this.$d=b.$d,this.$L=b.$L,this.init();break}p===d&&(this.$d=new Date(""))}else o.call(this,e)}}}()),Ct.exports),Ft=xt(Nt),Pt={exports:{}};var Bt,Ut=(Lt||(Lt=1,Pt.exports=function(e,t,n){t.prototype.dayOfYear=function(e){var t=Math.round((n(this).startOf("day")-n(this).startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"day")}}),Pt.exports),It=xt(Ut),Yt={exports:{}};var Ht,zt=(Bt||(Bt=1,Yt.exports=function(){var e,t,n=1e3,r=6e4,o=36e5,i=864e5,a=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,s=31536e6,u=2628e6,c=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/,l={years:s,months:u,days:i,hours:o,minutes:r,seconds:n,milliseconds:1,weeks:6048e5},f=function(e){return e instanceof g},d=function(e,t,n){return new g(e,n,t.$l)},h=function(e){return t.p(e)+"s"},p=function(e){return e<0},b=function(e){return p(e)?Math.ceil(e):Math.floor(e)},m=function(e){return Math.abs(e)},v=function(e,t){return e?p(e)?{negative:!0,format:""+m(e)+t}:{negative:!1,format:""+e+t}:{negative:!1,format:""}},g=function(){function p(e,t,n){var r=this;if(this.$d={},this.$l=n,void 0===e&&(this.$ms=0,this.parseFromMilliseconds()),t)return d(e*l[h(t)],this);if("number"==typeof e)return this.$ms=e,this.parseFromMilliseconds(),this;if("object"==typeof e)return Object.keys(e).forEach(function(t){r.$d[h(t)]=e[t]}),this.calMilliseconds(),this;if("string"==typeof e){var o=e.match(c);if(o){var i=o.slice(2).map(function(e){return null!=e?Number(e):0});return this.$d.years=i[0],this.$d.months=i[1],this.$d.weeks=i[2],this.$d.days=i[3],this.$d.hours=i[4],this.$d.minutes=i[5],this.$d.seconds=i[6],this.calMilliseconds(),this}}return this}var m=p.prototype;return m.calMilliseconds=function(){var e=this;this.$ms=Object.keys(this.$d).reduce(function(t,n){return t+(e.$d[n]||0)*l[n]},0)},m.parseFromMilliseconds=function(){var e=this.$ms;this.$d.years=b(e/s),e%=s,this.$d.months=b(e/u),e%=u,this.$d.days=b(e/i),e%=i,this.$d.hours=b(e/o),e%=o,this.$d.minutes=b(e/r),e%=r,this.$d.seconds=b(e/n),e%=n,this.$d.milliseconds=e},m.toISOString=function(){var e=v(this.$d.years,"Y"),t=v(this.$d.months,"M"),n=+this.$d.days||0;this.$d.weeks&&(n+=7*this.$d.weeks);var r=v(n,"D"),o=v(this.$d.hours,"H"),i=v(this.$d.minutes,"M"),a=this.$d.seconds||0;this.$d.milliseconds&&(a+=this.$d.milliseconds/1e3,a=Math.round(1e3*a)/1e3);var s=v(a,"S"),u=e.negative||t.negative||r.negative||o.negative||i.negative||s.negative,c=o.format||i.format||s.format?"T":"",l=(u?"-":"")+"P"+e.format+t.format+r.format+c+o.format+i.format+s.format;return"P"===l||"-P"===l?"P0D":l},m.toJSON=function(){return this.toISOString()},m.format=function(e){var n=e||"YYYY-MM-DDTHH:mm:ss",r={Y:this.$d.years,YY:t.s(this.$d.years,2,"0"),YYYY:t.s(this.$d.years,4,"0"),M:this.$d.months,MM:t.s(this.$d.months,2,"0"),D:this.$d.days,DD:t.s(this.$d.days,2,"0"),H:this.$d.hours,HH:t.s(this.$d.hours,2,"0"),m:this.$d.minutes,mm:t.s(this.$d.minutes,2,"0"),s:this.$d.seconds,ss:t.s(this.$d.seconds,2,"0"),SSS:t.s(this.$d.milliseconds,3,"0")};return n.replace(a,function(e,t){return t||String(r[e])})},m.as=function(e){return this.$ms/l[h(e)]},m.get=function(e){var t=this.$ms,n=h(e);return"milliseconds"===n?t%=1e3:t="weeks"===n?b(t/l[n]):this.$d[n],t||0},m.add=function(e,t,n){var r;return r=t?e*l[h(t)]:f(e)?e.$ms:d(e,this).$ms,d(this.$ms+r*(n?-1:1),this)},m.subtract=function(e,t){return this.add(e,t,!0)},m.locale=function(e){var t=this.clone();return t.$l=e,t},m.clone=function(){return d(this.$ms,this)},m.humanize=function(t){return e().add(this.$ms,"ms").locale(this.$l).fromNow(!t)},m.valueOf=function(){return this.asMilliseconds()},m.milliseconds=function(){return this.get("milliseconds")},m.asMilliseconds=function(){return this.as("milliseconds")},m.seconds=function(){return this.get("seconds")},m.asSeconds=function(){return this.as("seconds")},m.minutes=function(){return this.get("minutes")},m.asMinutes=function(){return this.as("minutes")},m.hours=function(){return this.get("hours")},m.asHours=function(){return this.as("hours")},m.days=function(){return this.get("days")},m.asDays=function(){return this.as("days")},m.weeks=function(){return this.get("weeks")},m.asWeeks=function(){return this.as("weeks")},m.months=function(){return this.get("months")},m.asMonths=function(){return this.as("months")},m.years=function(){return this.get("years")},m.asYears=function(){return this.as("years")},p}(),y=function(e,t,n){return e.add(t.years()*n,"y").add(t.months()*n,"M").add(t.days()*n,"d").add(t.hours()*n,"h").add(t.minutes()*n,"m").add(t.seconds()*n,"s").add(t.milliseconds()*n,"ms")};return function(n,r,o){e=o,t=o().$utils(),o.duration=function(e,t){var n=o.locale();return d(e,{$l:n},t)},o.isDuration=f;var i=r.prototype.add,a=r.prototype.subtract;r.prototype.add=function(e,t){return f(e)?y(this,e,1):i.bind(this)(e,t)},r.prototype.subtract=function(e,t){return f(e)?y(this,e,-1):a.bind(this)(e,t)}}}()),Yt.exports),qt=xt(zt),Wt={exports:{}};var Vt,Jt=(Ht||(Ht=1,Wt.exports=function(e,t,n){t.prototype.isBetween=function(e,t,r,o){var i=n(e),a=n(t),s="("===(o=o||"()")[0],u=")"===o[1];return(s?this.isAfter(i,r):!this.isBefore(i,r))&&(u?this.isBefore(a,r):!this.isAfter(a,r))||(s?this.isBefore(i,r):!this.isAfter(i,r))&&(u?this.isAfter(a,r):!this.isBefore(a,r))}}),Wt.exports),Zt=xt(Jt),Kt={exports:{}};var Xt,Gt=(Vt||(Vt=1,Kt.exports=function(e,t){t.prototype.isLeapYear=function(){return this.$y%4==0&&this.$y%100!=0||this.$y%400==0}}),Kt.exports),Qt=xt(Gt),en={exports:{}};var tn,nn,rn=(Xt||(Xt=1,en.exports=(tn="day",function(e,t,n){var r=function(e){return e.add(4-e.isoWeekday(),tn)},o=t.prototype;o.isoWeekYear=function(){return r(this).year()},o.isoWeek=function(e){if(!this.$utils().u(e))return this.add(7*(e-this.isoWeek()),tn);var t,o,i,a=r(this),s=(t=this.isoWeekYear(),i=4-(o=(this.$u?n.utc:n)().year(t).startOf("year")).isoWeekday(),o.isoWeekday()>4&&(i+=7),o.add(i,tn));return a.diff(s,"week")+1},o.isoWeekday=function(e){return this.$utils().u(e)?this.day()||7:this.day(this.day()%7?e:e-7)};var i=o.startOf;o.startOf=function(e,t){var n=this.$utils(),r=!!n.u(t)||t;return"isoweek"===n.p(e)?r?this.date(this.date()-(this.isoWeekday()-1)).startOf("day"):this.date(this.date()-1-(this.isoWeekday()-1)+7).endOf("day"):i.bind(this)(e,t)}})),en.exports),on=xt(rn),an={exports:{}};var sn,un=(nn||(nn=1,an.exports=function(e,t,n){var r=t.prototype,o=function(e){return e&&(e.indexOf?e:e.s)},i=function(e,t,n,r,i){var a=e.name?e:e.$locale(),s=o(a[t]),u=o(a[n]),c=s||u.map(function(e){return e.slice(0,r)});if(!i)return c;var l=a.weekStart;return c.map(function(e,t){return c[(t+(l||0))%7]})},a=function(){return n.Ls[n.locale()]},s=function(e,t){return e.formats[t]||function(e){return e.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(e,t,n){return t||n.slice(1)})}(e.formats[t.toUpperCase()])},u=function(){var e=this;return{months:function(t){return t?t.format("MMMM"):i(e,"months")},monthsShort:function(t){return t?t.format("MMM"):i(e,"monthsShort","months",3)},firstDayOfWeek:function(){return e.$locale().weekStart||0},weekdays:function(t){return t?t.format("dddd"):i(e,"weekdays")},weekdaysMin:function(t){return t?t.format("dd"):i(e,"weekdaysMin","weekdays",2)},weekdaysShort:function(t){return t?t.format("ddd"):i(e,"weekdaysShort","weekdays",3)},longDateFormat:function(t){return s(e.$locale(),t)},meridiem:this.$locale().meridiem,ordinal:this.$locale().ordinal}};r.localeData=function(){return u.bind(this)()},n.localeData=function(){var e=a();return{firstDayOfWeek:function(){return e.weekStart||0},weekdays:function(){return n.weekdays()},weekdaysShort:function(){return n.weekdaysShort()},weekdaysMin:function(){return n.weekdaysMin()},months:function(){return n.months()},monthsShort:function(){return n.monthsShort()},longDateFormat:function(t){return s(e,t)},meridiem:e.meridiem,ordinal:e.ordinal}},n.months=function(){return i(a(),"months")},n.monthsShort=function(){return i(a(),"monthsShort","months",3)},n.weekdays=function(e){return i(a(),"weekdays",null,null,e)},n.weekdaysShort=function(e){return i(a(),"weekdaysShort","weekdays",3,e)},n.weekdaysMin=function(e){return i(a(),"weekdaysMin","weekdays",2,e)}}),an.exports),cn=xt(un),ln={exports:{}};var fn,dn=(sn||(sn=1,ln.exports=function(){var e={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};return function(t,n,r){var o=n.prototype,i=o.format;r.en.formats=e,o.format=function(t){void 0===t&&(t="YYYY-MM-DDTHH:mm:ssZ");var n=this.$locale().formats,r=function(t,n){return t.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(t,r,o){var i=o&&o.toUpperCase();return r||n[o]||e[o]||n[i].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(e,t,n){return t||n.slice(1)})})}(t,void 0===n?{}:n);return i.call(this,r)}}}()),ln.exports),hn=xt(dn),pn={exports:{}};var bn,mn=(fn||(fn=1,pn.exports=function(e,t,n){var r=function(e,t){if(!t||!t.length||1===t.length&&!t[0]||1===t.length&&Array.isArray(t[0])&&!t[0].length)return null;var n;1===t.length&&t[0].length>0&&(t=t[0]),n=(t=t.filter(function(e){return e}))[0];for(var r=1;r<t.length;r+=1)t[r].isValid()&&!t[r][e](n)||(n=t[r]);return n};n.max=function(){var e=[].slice.call(arguments,0);return r("isAfter",e)},n.min=function(){var e=[].slice.call(arguments,0);return r("isBefore",e)}}),pn.exports),vn=xt(mn),gn={exports:{}};var yn,wn,Sn,On=(bn||(bn=1,gn.exports=(yn="month",wn="quarter",function(e,t){var n=t.prototype;n.quarter=function(e){return this.$utils().u(e)?Math.ceil((this.month()+1)/3):this.month(this.month()%3+3*(e-1))};var r=n.add;n.add=function(e,t){return e=Number(e),this.$utils().p(t)===wn?this.add(3*e,yn):r.bind(this)(e,t)};var o=n.startOf;n.startOf=function(e,t){var n=this.$utils(),r=!!n.u(t)||t;if(n.p(e)===wn){var i=this.quarter()-1;return r?this.month(3*i).startOf(yn).startOf("day"):this.month(3*i+2).endOf(yn).endOf("day")}return o.bind(this)(e,t)}})),gn.exports),_n=xt(On),xn={exports:{}};var En,An=(Sn||(Sn=1,xn.exports=function(e,t,n){e=e||{};var r=t.prototype,o={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function i(e,t,n,o){return r.fromToBase(e,t,n,o)}n.en.relativeTime=o,r.fromToBase=function(t,r,i,a,s){for(var u,c,l,f=i.$locale().relativeTime||o,d=e.thresholds||[{l:"s",r:44,d:"second"},{l:"m",r:89},{l:"mm",r:44,d:"minute"},{l:"h",r:89},{l:"hh",r:21,d:"hour"},{l:"d",r:35},{l:"dd",r:25,d:"day"},{l:"M",r:45},{l:"MM",r:10,d:"month"},{l:"y",r:17},{l:"yy",d:"year"}],h=d.length,p=0;p<h;p+=1){var b=d[p];b.d&&(u=a?n(t).diff(i,b.d,!0):i.diff(t,b.d,!0));var m=(e.rounding||Math.round)(Math.abs(u));if(l=u>0,m<=b.r||!b.r){m<=1&&p>0&&(b=d[p-1]);var v=f[b.l];s&&(m=s(""+m)),c="string"==typeof v?v.replace("%d",m):v(m,r,b.l,l);break}}if(r)return c;var g=l?f.future:f.past;return"function"==typeof g?g(c):g.replace("%s",c)},r.to=function(e,t){return i(e,t,this,!0)},r.from=function(e,t){return i(e,t,this)};var a=function(e){return e.$u?n.utc():n()};r.toNow=function(e){return this.to(a(this),e)},r.fromNow=function(e){return this.from(a(this),e)}}),xn.exports),Tn=xt(An),Mn={exports:{}};var kn,jn=(En||(En=1,Mn.exports=function(){var e={year:0,month:1,day:2,hour:3,minute:4,second:5},t={};return function(n,r,o){var i,a=function(e,n,r){void 0===r&&(r={});var o=new Date(e),i=function(e,n){void 0===n&&(n={});var r=n.timeZoneName||"short",o=e+"|"+r,i=t[o];return i||(i=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:e,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",timeZoneName:r}),t[o]=i),i}(n,r);return i.formatToParts(o)},s=function(t,n){for(var r=a(t,n),i=[],s=0;s<r.length;s+=1){var u=r[s],c=u.type,l=u.value,f=e[c];f>=0&&(i[f]=parseInt(l,10))}var d=i[3],h=24===d?0:d,p=i[0]+"-"+i[1]+"-"+i[2]+" "+h+":"+i[4]+":"+i[5]+":000",b=+t;return(o.utc(p).valueOf()-(b-=b%1e3))/6e4},u=r.prototype;u.tz=function(e,t){void 0===e&&(e=i);var n,r=this.utcOffset(),a=this.toDate(),s=a.toLocaleString("en-US",{timeZone:e}),u=Math.round((a-new Date(s))/1e3/60),c=15*-Math.round(a.getTimezoneOffset()/15)-u;if(Number(c)){if(n=o(s,{locale:this.$L}).$set("millisecond",this.$ms).utcOffset(c,!0),t){var l=n.utcOffset();n=n.add(r-l,"minute")}}else n=this.utcOffset(0,t);return n.$x.$timezone=e,n},u.offsetName=function(e){var t=this.$x.$timezone||o.tz.guess(),n=a(this.valueOf(),t,{timeZoneName:e}).find(function(e){return"timezonename"===e.type.toLowerCase()});return n&&n.value};var c=u.startOf;u.startOf=function(e,t){if(!this.$x||!this.$x.$timezone)return c.call(this,e,t);var n=o(this.format("YYYY-MM-DD HH:mm:ss:SSS"),{locale:this.$L});return c.call(n,e,t).tz(this.$x.$timezone,!0)},o.tz=function(e,t,n){var r=n&&t,a=n||t||i,u=s(+o(),a);if("string"!=typeof e)return o(e).tz(a);var c=function(e,t,n){var r=e-60*t*1e3,o=s(r,n);if(t===o)return[r,t];var i=s(r-=60*(o-t)*1e3,n);return o===i?[r,o]:[e-60*Math.min(o,i)*1e3,Math.max(o,i)]}(o.utc(e,r).valueOf(),u,a),l=c[0],f=c[1],d=o(l).utcOffset(f);return d.$x.$timezone=a,d},o.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},o.tz.setDefault=function(e){i=e}}}()),Mn.exports),Dn=xt(jn),Rn={exports:{}};var $n,Cn=(kn||(kn=1,Rn.exports=function(e,t,n){n.updateLocale=function(e,t){var r=n.Ls[e];if(r)return(t?Object.keys(t):[]).forEach(function(e){r[e]=t[e]}),r}}),Rn.exports),Ln=xt(Cn),Nn={exports:{}};var Fn,Pn=($n||($n=1,Nn.exports=function(){var e="minute",t=/[+-]\d\d(?::?\d\d)?/g,n=/([+-]|\d\d)/g;return function(r,o,i){var a=o.prototype;i.utc=function(e){return new o({date:e,utc:!0,args:arguments})},a.utc=function(t){var n=i(this.toDate(),{locale:this.$L,utc:!0});return t?n.add(this.utcOffset(),e):n},a.local=function(){return i(this.toDate(),{locale:this.$L,utc:!1})};var s=a.parse;a.parse=function(e){e.utc&&(this.$u=!0),this.$utils().u(e.$offset)||(this.$offset=e.$offset),s.call(this,e)};var u=a.init;a.init=function(){if(this.$u){var e=this.$d;this.$y=e.getUTCFullYear(),this.$M=e.getUTCMonth(),this.$D=e.getUTCDate(),this.$W=e.getUTCDay(),this.$H=e.getUTCHours(),this.$m=e.getUTCMinutes(),this.$s=e.getUTCSeconds(),this.$ms=e.getUTCMilliseconds()}else u.call(this)};var c=a.utcOffset;a.utcOffset=function(r,o){var i=this.$utils().u;if(i(r))return this.$u?0:i(this.$offset)?c.call(this):this.$offset;if("string"==typeof r&&(r=function(e){void 0===e&&(e="");var r=e.match(t);if(!r)return null;var o=(""+r[0]).match(n)||["-",0,0],i=o[0],a=60*+o[1]+ +o[2];return 0===a?0:"+"===i?a:-a}(r),null===r))return this;var a=Math.abs(r)<=16?60*r:r;if(0===a)return this.utc(o);var s=this.clone();if(o)return s.$offset=a,s.$u=!1,s;var u=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();return(s=this.local().add(a+u,e)).$offset=a,s.$x.$localOffset=u,s};var l=a.format;a.format=function(e){var t=e||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return l.call(this,t)},a.valueOf=function(){var e=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*e},a.isUTC=function(){return!!this.$u},a.toISOString=function(){return this.toDate().toISOString()},a.toString=function(){return this.toDate().toUTCString()};var f=a.toDate;a.toDate=function(e){return"s"===e&&this.$offset?i(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():f.call(this)};var d=a.diff;a.diff=function(e,t,n){if(e&&this.$u===e.$u)return d.call(this,e,t,n);var r=this.local(),o=i(e).local();return d.call(r,o,t,n)}}}()),Nn.exports),Bn=xt(Pn),Un={exports:{}};var In,Yn=(Fn||(Fn=1,Un.exports=function(e,t){t.prototype.weekday=function(e){var t=this.$locale().weekStart||0,n=this.$W,r=(n<t?n+7:n)-t;return this.$utils().u(e)?r:this.subtract(r,"day").add(e,"day")}}),Un.exports),Hn=xt(Yn),zn={exports:{}};var qn=(In||(In=1,zn.exports=function(){var e="week",t="year";return function(n,r,o){var i=r.prototype;i.week=function(n){if(void 0===n&&(n=null),null!==n)return this.add(7*(n-this.week()),"day");var r=this.$locale().yearStart||1;if(11===this.month()&&this.date()>25){var i=o(this).startOf(t).add(1,t).date(r),a=o(this).endOf(e);if(i.isBefore(a))return 1}var s=o(this).startOf(t).date(r).startOf(e).subtract(1,"millisecond"),u=this.diff(s,e,!0);return u<0?o(this).startOf("week").week():Math.ceil(u)},i.weeks=function(e){return void 0===e&&(e=null),this.week(e)}}}()),zn.exports),Wn=xt(qn);function Vn(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=e.shift(),r=bbn.lng[n]||n;if(e.length){var o=0;return r.replace(/\%([d|s])/g,function(t,n){var r=e[o++];r||(r="d"===n?0:"");var i=typeof r;return"d"===n&&"number"!==i?(r=parseFloat(r),isNaN(r)&&(r=0)):"s"===n&&"string"!==i&&(r=""+r),r})}return r}var Jn={loggers:{_num:0},datatypes:["xml","html","script","json","jsonp","text","blob"],shortenLen:30,keys:{upDown:[33,34,35,36,38,40],leftRight:[36,35,37,39],dels:[8,46,45],confirm:[13,9],alt:[20,16,17,18,144],numbers:[48,49,50,51,52,53,54,55,56,57,96,97,98,99,100,101,102,103,104,105],numsigns:[109,110,189,190]},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}},Zn={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,timeoff:Math.round((new Date).getTime()/1e3),loggingLevel:5,ignoreUnload:!1,historyDisabled:!1,nav:"ajax",online:window.navigator.onLine};function Kn(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(!e.length)return!1;for(var n=0,r=e;n<r.length;n++){var o=r[n];if(["boolean","object","symbol"].includes(typeof o)||""===o||isNaN(o))return!1}return!0}function Xn(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(!e.length)return!1;for(var n=0,r=e;n<r.length;n++){var o=r[n];if(!o||"object"!=typeof o||!(Symbol.iterator in Object(o)))return!1}return!0}function Gn(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(!e.length)return!1;for(var n=0,r=e;n<r.length;n++){var o=r[n];if("[object String]"!=={}.toString.apply(o))return!1}return!0}function Qn(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(!e.length)return!1;for(var n=0,r=e;n<r.length;n++){var o=r[n];if(!Number.isInteger(o))return!1}return!0}function er(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(!e.length)return!1;for(var n=0,r=e;n<r.length;n++){var o=r[n];if(!(o&&o.constructor&&o.call&&o.apply))return!1}return!0}function tr(){for(var e,t,n,r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];if((null===(e=bbn.env)||void 0===e?void 0:e.isDev)&&void 0!==(null===window||void 0===window?void 0:window.console)){var i=void 0,a=5,s="log";r[0]&&"object"==typeof r[0]&&r[0]._bbn_console_style&&(r[0]._bbn_console_mode&&er(console[r[0]._bbn_console_mode])?s=r[0]._bbn_console_mode:(i=r[0]._bbn_console_style,a=r[0]._bbn_console_level),r.shift());var u=window.console[s];if((null===(n=null===(t=window.bbn)||void 0===t?void 0:t.env)||void 0===n?void 0:n.loggingLevel)>=a)for(var c=0;c<r.length;){var l=typeof r[c],f=[r[c]];"string"!==l&&"number"!==l||f.unshift("%c %s ",i),u.apply(window.console,f),c++}}return this}function nr(e,t,n){if(!Gn(e)||!Qn(t))throw tr(arguments),new Error(bbn._("The substr function should be applied to a string and at least a `from` argument should be given"));return t<0&&(t=e.length+t),Qn(n)?e.substring(t,(n<0?e.length:t)+n):e.substring(t)}function rr(e,t){void 0===t&&(t=!1);var n=null;if("object"==typeof e)for(var r in n={},e)nr(r,0,1).match(/^[A-z0-9]$/)&&r in e&&(t&&"object"==typeof e[r]?n[r]=rr(e[r],!0):n[r]=e[r]);return n||!1}function or(e,t,n,r){if(void 0===n&&(n=!1),void 0===r&&(r=!1),null!==e&&"object"==typeof e){var o=Object.keys(n?rr(e):e);r&&o.reverse();for(var i=0,a=o;i<a.length;i++){var s=a[i];if(!1===t(e[s],s))break}}return e}function ir(e,t){if(!(Kn(e)&&e>0)){if(Xn(e)){for(n=0;n<e.length;n++)if(!1===t(e[n],n))return;return e}return or(e,t)}for(var n=0;n<e;n++)if(!1===t(n,n))return}function ar(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(!e.length)return!1;for(var n=0,r=e;n<r.length;n++){var o=r[n];if("[object Object]"!=={}.toString.apply(o))return!1}return!0}function sr(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(!e.length)return!1;for(var n=0,r=e;n<r.length;n++){var o=r[n];if(!Array.isArray(o))return!1}return!0}function ur(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=!1,r=[],o=0;o<e.length;o++)if(!0===e[o])n=!0;else{if(!e[o])continue;if("object"!=typeof e[o])throw new Error(bbn._("Error in extend: all arguments should be object, you have given ")+typeof e[o]);r.push(e[o])}if(!r.length)throw new Error("No argument given");var i,a=r[0];for(o=1;o<r.length;o++)or(r[o],function(e,t){n?sr(e)?(a[t]=sr(a[t])?a[t]:[],ir(e,function(e,n){if(e&&"object"==typeof e){var r=a[t][n];sr(e)?sr(r)||(r=[]):ar(r)||(r={}),a[t][n]=ur(!0,r,e)}else a[t][n]=e})):ar(e)?a[t]=ur(!0,a[t]&&"object"==typeof a[t]?a[t]:Object.create(Object.getPrototypeOf(e)),e):a[t]=e:(a[t]!==e||void 0===e&&!Object.prototype.hasOwnProperty.apply(a,[t]))&&(a[t]=e)}),i||(i=!!r[o].__bbnNoData);return i&&"bbnData"in window&&(a.__bbnData&&a.__bbnData.unset(),Object.defineProperty(a,"__bbnNoData",{value:!0,enumerable:!1,configurable:!1,writable:!1})),a}var cr=function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))},lr=window.indexedDB||window.webkitIndexedDB||window.mozIndexedDB||window.OIndexedDB||window.msIndexedDB,fr=function(e,t){if(null==t?void 0:t.length){var n={};return or(e,function(e,r){t.indexOf(r)>-1&&(n[r]=e)}),n}return e},dr=function(e){var t=this,n=hr._connections[e],r=hr._structures[e],o=null,i=function(e,t){e.onerror=function(){o=e.error,tr(e.error),t(e.error)}},a=function(e,t){var r=n.transaction([e],0===t.toLowerCase().indexOf("r")?"readonly":"readwrite");return r.onabort=function(){throw o=r.error,new Error(r.error)},[r,r.objectStore(e)]};this.lastError=function(){return o},this.insert=function(e,t){return Array.isArray(t)||(t=[t]),new Promise(function(n){var r=a(e,"w"),o=r[0],i=r[1],s=t.length;ir(t,function(e){var t=i.put(e);t.onerror=function(){tr(t.error),s--}}),o.oncomplete=function(){n(s)}})},this.update=function(e,n,o,s){return new Promise(function(u){t.selectAll(e,[],o).then(function(t){var o;if(t.length){for(var c=a(e,"w"),l=c[0],f=c[1],d=r[e],h=d.keys.PRIMARY.columns.length>1?d.keys.PRIMARY.columns:d.keys.PRIMARY.columns[0],p=0,b=0;b<t.length;b++){var m=ur({},s?((o={})[h]=t[b][h],o):t[b],n);if(!m[h])throw new Error(Vn("No primary key in the data"));var v=f.put(m);i(v,u),v.onsuccess=function(){p++}}l.oncomplete=function(){u(p)}}else u(0)})})},this.delete=function(e,t){return new Promise(function(n){var o=a(e,"w"),s=o[0],u=o[1],c=r[e],l=c.keys.PRIMARY.columns.length>1?c.keys.PRIMARY.columns:c.keys.PRIMARY.columns[0];if(!t[l])throw new Error(Vn("No "));var f=u.delete(t[l]);i(f,n),s.oncomplete=function(){n(1)}})},this.selectOne=function(e,n,r,o,i,a){return new Promise(function(a){t.selectAll(e,[n],r,o,i,1).then(function(e){var t,r;a(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=function(e,n,r,o,i){return new Promise(function(a){t.selectAll(e,n,r,o,i,1).then(function(e){a(e.length?e[0]:null)})})},this.selectAll=function(e,t,n,o,s,u){return void 0===t&&(t=[]),void 0===n&&(n=null),void 0===s&&(s=0),void 0===u&&(u=null),new Promise(function(o){var c=a(e,"r")[1],l=r[e],f=l.keys.PRIMARY.columns.length>1?l.keys.PRIMARY.columns:l.keys.PRIMARY.columns[0],d=ar(n)?Object.keys(n)[0]:!n||sr(n)?null:f,h=[];if(d===f)if(bbn.fn.isArray(null==n?void 0:n[f]))for(var p=[],b=Math.min(n[f].length,u||9999999),m=function(e){var r=c.get(n[f][e]);r.onsuccess=function(){var e=r.result;h.push(fr(e,t)),h.length===b&&o(h)},i(r,o),p.push(r)},v=s||0;v<b;v++)m(v);else{var g=c.get((null==n?void 0:n[f])||n);g.onsuccess=function(){var e=g.result;h.push(fr(e,t)),o(h)},i(g,o)}else{p=c.openCursor();var y=0;p.onsuccess=function(e){var r=e.target.result;r?(n&&bbn.fn.search([r.value],n)||(y>=s&&(h.push(fr(r.value,t)),h.length===u&&o(h)),y++),r.continue()):o(h)},i(p,o)}})},this.getColumnValues=function(e,t,r,o,i,a){return new Promise(function(t){n.transaction([e],"read").objectStore(e)})},this.copyTable=function(o,i,a,s,u,c,l){return void 0===a&&(a=[]),void 0===s&&(s=null),void 0===u&&(u=null),void 0===c&&(c=0),void 0===l&&(l=null),new Promise(function(f){if(n.objectStoreNames.contains(o)||hr.add(e,o,r[i]),!n.objectStoreNames.contains(o))throw f(0),new Error(Vn("The target table %s does not exist",o));t.selectAll(i,a,s,u,c,l).then(function(e){e.length?t.insert(o,e).then(function(e){f(e)}):f(0)})})},this.deleteTable=function(e){return new Promise(function(t){n.deleteObjectStore(e),t(!0)})}},hr={_structures:{},_connections:{},_stores:{},ok:void 0!==lr,updateStructure:function(e,t,n){var r=t.keys.PRIMARY.columns.length>1?t.keys.PRIMARY.columns:t.keys.PRIMARY.columns[0];if(!n.objectStoreNames.contains(e)){var o=n.createObjectStore(e,{keyPath:r});or(t.keys,function(e,t){"PRIMARY"!==t&&o.createIndex(t,e.columns.length>1?e.columns:e.columns[0],{unique:!!e.unique})})}},open:function(e){var t=this;return new Promise(function(n){if(hr._connections[e])n(new dr(e));else{if(!hr._structures[e])throw new Error(Vn("Impossible to find a structure for the database %s",e));var r=Math.max.apply(Math,cr([1],Object.keys(hr._structures[e]).map(function(t){return hr._structures[e][t].num||1}),!1)),o=lr.open(e,r);o.onupgradeneeded=function(){var n=o.result;or(hr._structures[e],function(e,r){t.updateStructure(r,e,n)})},o.onsuccess=function(){hr._connections[e]=o.result;var t=new dr(e);n(t)}}})},add:function(e,t,n){var r;if(!(null===(r=null==n?void 0:n.keys)||void 0===r?void 0:r.PRIMARY)||!(null==n?void 0:n.fields))throw new Error(Vn("The database structure for %s is not valid (are there keys and field? Is there a primary?",t));hr._structures[e]||(hr._structures[e]={}),hr._structures[e][t]=n,hr._connections[e]&&this.updateStructure(t,n,hr._connections[e])}};function pr(e,t,n){var r=(new Date).getTime(),o={key:e,url:nr(e,0,e.length-33),loader:t,aborter:n,loading:!0,error:!1,abort:!1,errorMessage:!1,success:!1,start:r};bbn.env.loaders.push(o),bbn.env.loadersHistory.unshift(o);for(var i=bbn.env.loadersHistory.length;i&&bbn.env.loadersHistory.length>bbn.env.maxLoadersHistory;)i--,bbn.env.loading||bbn.env.loadersHistory.splice(i,1);return r}function br(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];if("object"==typeof e){var r=[];return 1===t.length&&"string"==typeof t[0]?r.push.apply(r,t[0].split(".")):r.push.apply(r,t),r.reduce(function(e,t){if(e)return e[e instanceof Array?parseInt(t):t]},e)}}function mr(e){if(!Gn(e)){if(!e.toString)throw tr(e),new Error(bbn._("removeAccent expects a string"));e=e.toString()}return e.normalize("NFD").replace(/[\u0300-\u036f]/g,"")}function vr(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(!e.length)return!1;for(var n=0,r=e;n<r.length;n++){var o=r[n];if("[object Date]"!=={}.toString.apply(o))return!1}return!0}function gr(e,t,n,r){void 0===r&&(r="asc");var o=br(e,n),i=br(t,n),a=(typeof o).toLowerCase(),s=(typeof i).toLowerCase();if("asc"!==r&&Gn(r)&&"desc"===r.toLowerCase()&&(r="desc"),a!==s)o=a,i=s;else switch(a){case"string":o=mr(o).toLowerCase(),i=mr(i).toLowerCase();break;case"boolean":o=o?1:0,i=i?1:0;break;case"object":vr(o)&&(o=o.getTime(),i=vr(i)?i.getTime():0)}return o<i?"desc"===r?1:-1:o>i?"desc"===r?-1:1:0}function yr(e){return e&&"object"==typeof e?Object.keys(e).length:0}function wr(e){return!e||(sr(e)?!e.length:"object"==typeof e&&!yr(e))}function Sr(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(!e.length)return!1;for(var n=0,r=e;n<r.length;n++){var o=r[n];if("[object Null]"!=={}.toString.apply(o))return!1}return!0}function Or(e){for(var t=0,n=0;n<e.length;n++){t=(t<<5)-t+e.charCodeAt(n),t|=0}return Math.abs(t).toString(16)}function _r(e){for(var t=0,n=0;n<e.length;n++){t=e.charCodeAt(n)+(t<<6)+(t<<16)-t,t|=0}return Math.abs(t).toString(16)}function xr(e){return Or(e).padStart(8,"0")+_r(e).padStart(8,"0")}function Er(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(!e.length)return!1;for(var n=0,r=e;n<r.length;n++){if(!(r[n]instanceof HTMLElement))return!1}return!0}function Ar(e){var t="",n=e;if(e.id)return"#"+e.id;for(var r=function(){var e=n,r=e.localName,o=0;if(!r)return"break";if(e===document.body)return"break";e.id&&(t="#"+e.id+">"+t,o=1);var i=n.parentNode,a=Array.from(i.children).filter(function(t){return t.tagName===e.tagName});if(!o&&a.length>1){var s=Array.from(i.children).indexOf(e)+1;s>1&&(r+=":nth-child("+s+")")}t=r+(t?">"+t:""),n=i};n&&n!==document.body;){if("break"===r())break}return t}function Tr(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];if(!t.length)return!1;if(!("cp"in bbn)||!("isComponent"in bbn.cp)||"function"!=typeof bbn.cp.isComponent)return!1;for(var r=0,o=t;r<o.length;r++){var i=o[r];if(!bbn.cp.isComponent(i)||Er(i)||!(null===(e=i.$el)||void 0===e?void 0:e.bbnCid))return!1}return!0}function Mr(e,t,n,r,o){if(void 0===t&&(t=null),void 0===n&&(n=0),void 0===r&&(r=null),void 0===o&&(o=null),n||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)||t&&t<n)e="__BBN_ARRAY__"+e.constructor.toString();else{r.add(e);for(var i="",a=0;a<e.length;a++)i+="__BBN_ITEM"+a.toString()+"__"+o(e[a],t,n+1,r,o);e="__BBN_ARRAY__"+i}else if("object"==typeof e)if(r.has(e)||t&&t<n)e="__BBN_OBJECT__"+(e.constructor?e.constructor.toString():"");else{r.add(e);i="";for(var s in e){var u=s;"string"!=typeof u&&(u=o(u,o,1,1)),i+="__BBN_PROP_"+u+"__"+o(e[s],t,n+1,r,o)}e="__BBN_OBJECT__"+i}}else e=Er(e)?Tr(e)?"__BBN_CP__"+e.$cid:e.bbnId?"__BBN_DOM__"+e.tagName+"/"+e.bbnId+e.bbnHash:"__BBN_DOM__"+Ar(e):"__BBN_UNKNOWN_OBJECT__"+e.constructor.toString();return e}function kr(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n="",r=null;for(var o in 2===e.length&&"number"==typeof e[1]&&(r=e[1],e=[e[0]]),e)n+=Mr(e[o],r,0,null,Mr);return xr(n)}function jr(e){var t="0123456789abcdef";function n(e){var n,r="";for(n=0;n<=3;n++)r+=t.charAt(e>>8*n+4&15)+t.charAt(e>>8*n&15);return r}function r(e,t){var n=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(n>>16)<<16|65535&n}function o(e,t,n,o,i,a){return r(function(e,t){return e<<t|e>>>32-t}(r(r(t,e),r(o,a)),i),n)}function i(e,t,n,r,i,a,s){return o(t&n|~t&r,e,t,i,a,s)}function a(e,t,n,r,i,a,s){return o(t&r|n&~r,e,t,i,a,s)}function s(e,t,n,r,i,a,s){return o(t^n^r,e,t,i,a,s)}function u(e,t,n,r,i,a,s){return o(n^(t|~r),e,t,i,a,s)}var c,l,f,d,h,p=function(e){var t,n=1+(e.length+8>>6),r=new Array(16*n);for(t=0;t<16*n;t++)r[t]=0;for(t=0;t<e.length;t++)r[t>>2]|=e.charCodeAt(t)<<t%4*8;return r[t>>2]|=128<<t%4*8,r[16*n-2]=8*e.length,r}(e),b=1732584193,m=-271733879,v=-1732584194,g=271733878;for(c=0;c<p.length;c+=16)l=b,f=m,d=v,h=g,b=i(b,m,v,g,p[c+0],7,-680876936),g=i(g,b,m,v,p[c+1],12,-389564586),v=i(v,g,b,m,p[c+2],17,606105819),m=i(m,v,g,b,p[c+3],22,-1044525330),b=i(b,m,v,g,p[c+4],7,-176418897),g=i(g,b,m,v,p[c+5],12,1200080426),v=i(v,g,b,m,p[c+6],17,-1473231341),m=i(m,v,g,b,p[c+7],22,-45705983),b=i(b,m,v,g,p[c+8],7,1770035416),g=i(g,b,m,v,p[c+9],12,-1958414417),v=i(v,g,b,m,p[c+10],17,-42063),m=i(m,v,g,b,p[c+11],22,-1990404162),b=i(b,m,v,g,p[c+12],7,1804603682),g=i(g,b,m,v,p[c+13],12,-40341101),v=i(v,g,b,m,p[c+14],17,-1502002290),b=a(b,m=i(m,v,g,b,p[c+15],22,1236535329),v,g,p[c+1],5,-165796510),g=a(g,b,m,v,p[c+6],9,-1069501632),v=a(v,g,b,m,p[c+11],14,643717713),m=a(m,v,g,b,p[c+0],20,-373897302),b=a(b,m,v,g,p[c+5],5,-701558691),g=a(g,b,m,v,p[c+10],9,38016083),v=a(v,g,b,m,p[c+15],14,-660478335),m=a(m,v,g,b,p[c+4],20,-405537848),b=a(b,m,v,g,p[c+9],5,568446438),g=a(g,b,m,v,p[c+14],9,-1019803690),v=a(v,g,b,m,p[c+3],14,-187363961),m=a(m,v,g,b,p[c+8],20,1163531501),b=a(b,m,v,g,p[c+13],5,-1444681467),g=a(g,b,m,v,p[c+2],9,-51403784),v=a(v,g,b,m,p[c+7],14,1735328473),b=s(b,m=a(m,v,g,b,p[c+12],20,-1926607734),v,g,p[c+5],4,-378558),g=s(g,b,m,v,p[c+8],11,-2022574463),v=s(v,g,b,m,p[c+11],16,1839030562),m=s(m,v,g,b,p[c+14],23,-35309556),b=s(b,m,v,g,p[c+1],4,-1530992060),g=s(g,b,m,v,p[c+4],11,1272893353),v=s(v,g,b,m,p[c+7],16,-155497632),m=s(m,v,g,b,p[c+10],23,-1094730640),b=s(b,m,v,g,p[c+13],4,681279174),g=s(g,b,m,v,p[c+0],11,-358537222),v=s(v,g,b,m,p[c+3],16,-722521979),m=s(m,v,g,b,p[c+6],23,76029189),b=s(b,m,v,g,p[c+9],4,-640364487),g=s(g,b,m,v,p[c+12],11,-421815835),v=s(v,g,b,m,p[c+15],16,530742520),b=u(b,m=s(m,v,g,b,p[c+2],23,-995338651),v,g,p[c+0],6,-198630844),g=u(g,b,m,v,p[c+7],10,1126891415),v=u(v,g,b,m,p[c+14],15,-1416354905),m=u(m,v,g,b,p[c+5],21,-57434055),b=u(b,m,v,g,p[c+12],6,1700485571),g=u(g,b,m,v,p[c+3],10,-1894986606),v=u(v,g,b,m,p[c+10],15,-1051523),m=u(m,v,g,b,p[c+1],21,-2054922799),b=u(b,m,v,g,p[c+8],6,1873313359),g=u(g,b,m,v,p[c+15],10,-30611744),v=u(v,g,b,m,p[c+6],15,-1560198380),m=u(m,v,g,b,p[c+13],21,1309151649),b=u(b,m,v,g,p[c+4],6,-145523070),g=u(g,b,m,v,p[c+11],10,-1120210379),v=u(v,g,b,m,p[c+2],15,718787259),m=u(m,v,g,b,p[c+9],21,-343485551),b=r(b,l),m=r(m,f),v=r(v,d),g=r(g,h);return n(b)+n(m)+n(v)+n(g)}function Dr(e){var t="function"==typeof e?e.toString():e;if("string"!=typeof t)throw Error("Unexpected type "+typeof e+" while parsing function");for(var n,r="",o=!1,i=!1,a=!1,s="",u=0,c=0,l=[],f={},d="",h=['"',"'","`"],p=!1,b=!1,m=!1,v=!1,g=!1,y=!1,w="",S=0;S<t.length;S++)if(m||"/"!==t[S]||"*"!==t[S+1])if("/"===t[S]&&"*"===t[S-1])m=!1;else if(v||"/"!==t[S]||"/"!==t[S+1])if("\n"===t[S])v=!1;else{if(m||v)continue;if(t[S]===d&&!p&&d)d="",r+=t[S];else if(d)p="\\"===t[S]&&!p,r+=t[S];else if(h.includes(t[S])&&!p)d=t[S],r+=t[S];else if("("===t[S]){if(u++,""!==r.trim()){if("function"===r.trim())a=!0;else if("async"!==r.trim()){var O=(s=r.trim()).match(/^([a-zA-Z0-9_]+)<[a-zA-Z0-9_]+>$/);O&&(s=O[1])}r=""}}else if(")"===t[S])u===c+1&&(b?(f.default=r.trim(),b=!1):r&&(f.name=r.trim()),(f.name||f.default)&&(l.push(f),f={}),r=""),c++;else if(g&&"}"!==t[S])r+=t[S];else{if(u&&u===c&&":"===t[S]){var _=t.substring(S+1).trim().match(/^\s*([a-zA-Z0-9_]+)\s*\{/);if(!_)throw Error("Unexpected ':' while parsing function");w=_[1],n=t.substring(S+_[0].length).trim();break}if(!(r||"="!==t[S]||">"!==t[S+1]||u!==c||c||o)){f.name=t.slice(0,S).trim(),l.push(f),f={},o=!0,n=bbn.fn.substr(t,S+2).trim();break}if(u===c&&"="===t[S]&&">"===t[S+1]){""!==r.trim()&&(f.name=r.trim(),l.push(f),f={},r=""),o=!0,S++;continue}if("="===t[S]&&u>c&&!b)f.name=r.trim(),r="",b=!0;else if(","===t[S])if(g)r+=t[S];else{if(!(u>c))throw Error("Unexpected ',' while parsing function");b?(f.default=r.trim(),b=!1):r&&(f.name=r.trim()),(f.name||f.default)&&(l.push(f),f={}),r=""}else if("{"===t[S]||"}"===t[S]){if(u===c){n=t.substring(S).trim();break}u>c?"{"!==t[S]||g?"}"===t[S]&&g&&(g=!1,r+=t[S]):(g=!0,r=t[S]):r=""}else{if(o){n=t.substring(t.indexOf("=>")+2).trim();break}" "===t[S]?""!==r.trim()&&("async"===r.trim()&&(i=!0),u>c?r+=t[S]:r=""):r+=t[S]}}}else v=!0,r="";else m=!0,r="";if(!n){if(!o)throw Error("Unexpected end of function while parsing function");n=r}n.substr(0,25).indexOf("[native code]")>-1&&(y=!0);var x=l.map(function(e){return e.name+(e.default?" = "+e.default:"")}).join(", ");return{body:n,args:l,argString:x,isArrow:o,hasFunction:a,name:s,isAsync:i,isBinary:y,hash:jr(n+(s?"-"+s:"")+(x?"-"+x:"")),returnType:w}}function Rr(e,t,n){if(n||(n=[]),e===t)return!0;if(e&&t&&"object"==typeof e&&"object"==typeof t){if(![void 0,Object,Array,null].includes(null==e?void 0:e.constructor)||![void 0,Object,Array,null].includes(null==t?void 0:t.constructor))return!1;var r=Object.keys(e).sort(),o=Object.keys(t).sort();if(kr(r)!==kr(o))return!1;var i=!0;if(e&&"object"==typeof e){if(n.includes(e))return i;n.push(e)}return ir(r,function(n){if(!Rr(e[n],t[n]))return i=!1,!1}),i}if(e&&t&&"function"==typeof e&&"function"==typeof t){r=Dr(e),o=Dr(t);var a=r.hash===o.hash;return a&&r.isBinary&&(a=!1),a}return!1}function $r(e,t,n){switch(n){case"===":case"=":case"equal":case"eq":case"is":return e===t;case"!==":case"notequal":case"neq":case"isnot":return e!==t;case"!=":case"different":return e!=t;case"contains":case"contain":case"icontains":case"icontain":return!wr(e)&&!wr(t)&&-1!==mr(e).toLowerCase().indexOf(mr(t).toLowerCase());case"doesnotcontain":case"donotcontain":return!(!Sr(e)&&!Sr(t))||-1===mr(e.toLowerCase()).indexOf(mr(t.toLowerCase()));case"starts":case"start":return!Sr(e)&&!Sr(t)&&("string"!=typeof e&&(e=e.toString()||""),"string"!=typeof t&&(t=t.toString()||""),0===e.indexOf(t));case"startswith":case"startsi":case"starti":case"istarts":case"istart":return!Sr(e)&&!Sr(t)&&0===mr(e).toLowerCase().indexOf(mr(t).toLowerCase());case"endswith":case"endsi":case"endi":case"iends":case"iend":return!Sr(e)&&!Sr(t)&&e.lastIndexOf(t)===e.length-t.length;case"like":return!Sr(e)&&!Sr(t)&&mr(e).toLowerCase()===mr(t).toLowerCase();case"gt":case">":return e>t;case"gte":case">=":return e>=t;case"lt":case"<":return e<t;case"lte":case"<=":return e<=t;case"isnull":return null===e;case"isnotnull":return null!==e;case"isempty":return""===e;case"isnotempty":return""!==e;case"==":if(ar(e,t))return Rr(e,t);default:return e==t}}function Cr(e,t){if(!t.conditions||!t.logic||!sr(t.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");var n="AND"===t.logic;return ir(t.conditions,function(r){var o;if(r.conditions&&sr(r.conditions))o=Cr(e,r);else if(o=$r(br(e,r.field),r.value,r.operator)){var i=r.field.split("."),a=i.pop();i.length&&ir(i,function(t){return e=e[t]}),void 0===br(e,a)&&void 0!==r.value&&(o=!1)}if(o){if("OR"===t.logic)return n=!0,!1}else if("AND"===t.logic)return n=!1,!1}),n}function Lr(e,t){if(void 0===t&&(t="="),!ar(e))throw new Error("Error in filterToCondition: filter must be an object");if(!e.conditions||!sr(e.conditions)){var n=[];or(e,function(e,r){ar(e)&&"object"==typeof e.conditions?n.push(Lr(e)):n.push({field:r,operator:t,value:e})}),e={conditions:n}}return e.logic||(e.logic="AND"),e}function Nr(e,t,n,r,o,i){if(void 0===n&&(n=null),void 0===r&&(r="="),void 0===o&&(o=0),void 0===i&&(i=!1),!Xn(e))throw new Error(bbn._("The first argument for a search should be iterable")+" "+typeof e+" "+bbn._("given"));if(!e.length)return-1;var a,s=!1;if(t)if("string"==typeof t)a={conditions:[{field:t,value:n,operator:r||"="}]};else if(i=!0===r,o="number"==typeof n?n:i?e.length-1:0,"function"==typeof t)s=!0,a=t;else if(ar(t))if("field"in t&&"value"in t)a={conditions:[t],logic:"AND"};else if("conditions"in t)a=t;else{var u=[];for(var c in t)u.push({field:c,value:t[c],operator:"="});a={conditions:u,logic:"AND"}}else sr(t)&&(a={conditions:t,logic:"AND"});else s=!0,a=function(e){return Cr({value:e},Lr({logic:"AND",conditions:[{field:"value",operator:r||"=",value:n}]}))};var l=-1;if(s||a)if("number"!=typeof o&&(o=i?e.length-1:0),"function"==typeof a)if(i)for(var f=o;f>=0;f--)a(e[f])&&(l=f);else for(f=o;f<e.length;f++)a(e[f])&&(l=f);else if(a=Lr(a),i)for(f=o;f>=0;f--)Cr(e[f],a)&&(l=f);else for(f=o;f<e.length;f++)Cr(e[f],a)&&(l=f);return l}function Fr(e,t,n,r,o,i,a){void 0===n&&(n=null),void 0===r&&(r="="),void 0===o&&(o=0),void 0===i&&(i=!1),void 0===a&&(a=!1);var s=Nr(e,t,n,r,o,i);return s>-1?e[s]:t&&["object","function"].includes(typeof t)&&5 in arguments?i:a}function Pr(e,t,n){void 0===t&&(t=null),void 0===n&&(n=!1);var r=Nr(bbn.env.loaders,{key:e});if(r>-1){var o=bbn.env.loaders.splice(r,1)[0],i=Fr(bbn.env.loadersHistory,{key:e,start:o.start});return i&&(i.loading=!1,i.duration=(new Date).getTime()-o.start,"string"==typeof t?(i.errorMessage=t,i.error=!n,i.abort=n):ar(t)&&(i.success=!0)),!0}return!1}function Br(e){var t=Nr(bbn.env.loaders,{key:e});return t>-1?bbn.env.loaders[t]:null}function Ur(e,t,n,r){if(void 0===n&&(n=null),void 0===r&&(r="="),!sr(e))throw bbn.fn.log("NOT ARRAY",e),new Error("Error in filter: The first argument must be an array");var o={},i=[],a="function"==typeof t;if(!t||!e.length)return e;if("object"==typeof t)r=n,o=t;else if("string"==typeof t)o[t]=n;else if(!a)throw new Error("Search function error: The prop argument should be a string or an object");if(bbn.env._enumerated.push(!0),"function"==typeof t)for(var s=0;s<e.length;s++)t(e[s],s)&&i.push(e[s]);else if((o=Lr(o,r)).conditions&&o.logic)for(s=0;s<e.length;s++)Cr(e[s],o)&&i.push(e[s]);return bbn.env._enumerated.pop(),i}function Ir(e){if(yr(e)){bbn.var.colors||(bbn.var.colors={});var t=document.createElement("style");document.head.appendChild(t);var n=t.sheet;or(e,function(e,t){bbn.var.colors[t]=e,n.insertRule(".bbn-"+t+", .bbn-color-text-"+t+" {color: "+e+" !important;}",0),n.insertRule("svg.bbn-"+t+", .bbn-"+t+" svg, svg.bbn-color-text-"+t+", .bbn-color-text-"+t+" svg {fill: "+e+";}",0),n.insertRule(".bbn-bg-"+t+", .bbn-color-bg-"+t+", .bbn-color-background-"+t+" {background-color: "+e+" !important;}",0),n.insertRule(".bbn-border-"+t+", .bbn-color-border-"+t+" {border-color: "+e+" !important;}",0),n.insertRule(".bbn-color-"+t+" {border-color: "+e+"; background-color: "+e+"; color: "+e+";}",0)})}}function Yr(e,t,n){if(void 0===t&&(t=null),void 0===n&&(n=""),e&&"FORM"===e.tagName){var r=function(t,n){var r=document.createElement("input");r.setAttribute("type","hidden"),r.setAttribute("name",t),r.setAttribute("value",n),e.appendChild(r)};t=JSON.parse(JSON.stringify(t||{})),n=n||"",t&&or(t,function(t,o){var i=n?"".concat(n,"[").concat(o,"]"):o;t instanceof Date?r(i,t.toISOString()):t instanceof Array?t.forEach(function(t,n){var o="".concat(i,"[").concat(n,"]");"object"==typeof t?Yr(e,t,o):r(o,t.toString())}):"object"!=typeof t||t instanceof File?r(i,t.toString()):Yr(e,t,i)})}}function Hr(e,t){var n=0;ir(t,function(t){t.style[e]="auto"}),ir(t,function(t,r){var o=t.getBoundingClientRect(),i=o[e]%1?o[e]-o[e]%1+1:o[e];i>n&&(n=i)}),ir(t,function(t,r){n&&(t.style[e]=n+"px")})}function zr(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}function qr(e,t,n,r){return void 0===r&&(r=""),n.toString().replace(ar(e)?e:new RegExp(zr(e),"g"+r),t)}function Wr(e,t,n){var r={};return t&&or(t,function(e,t){-1===t.indexOf("_bbn")&&(r[t]=e)}),e+":"+jr((n||"json")+JSON.stringify(r))}function Vr(e,t,n,r,o,i){if(void 0===t&&(t=null),void 0===n&&(n=null),void 0===r&&(r=null),void 0===o&&(o=null),void 0===i&&(i=null),null===t&&e&&"object"==typeof e&&e.url&&(e.abort&&(i=e.abort),e.failure&&(o=e.failure),e.success&&(r=e.success),e.data&&(n=e.data),e.datatype&&(t=e.datatype),e=e.url),e&&e&&"string"==typeof e){-1===e.indexOf("://")&&(e=qr("//","/",e)),t||(t="json");var a=Wr(e,n,t),s=Br(a);if(null==s?void 0:s.loader)return s.loader;bbn.env.token&&ur(n||{},{_bbn_token:bbn.env.token});var u=new AbortController,c={responseType:t,signal:u.signal};"text"===t&&(c.headers={accept:"text/javascript","Content-Type":"text/javascript"});var l=[e];ar(n)&&l.push(n),l.push(c);var f=2===l.length?"get":"post",d=axios[f].apply(null,l).then(function(t){if(Pr(a,t),bbn.fn.defaultEndLoadingFunction(e,h,n,t),200===t.status)er(r)&&r(t.data,t.headers);else{var i=1;er(o)&&(i=o(d,t.message,t)),i&&bbn.fn.defaultAjaxErrorFunction(d,t.message,t)}return t}).catch(function(t){var r=axios.isCancel(t);if(Pr(a,t.message||t.response.data,r),bbn.fn.defaultEndLoadingFunction(e,h,n,t),r){var s=1;er(i)&&(s=i(t.message,e)),s&&bbn.fn.defaultAjaxAbortFunction(t.message,e)}else{s=1;er(o)&&(s=o(d,t.message,t)),s&&bbn.fn.defaultAjaxErrorFunction(d,t.message,t.response)}return t.response}),h=pr(a,d,u);return bbn.fn.defaultStartLoadingFunction(e,h,n,a),d}}var Jr=new TextDecoder;function Zr(e){return Jr.decode(e)}function Kr(e,t){if(e&&Gn(e)){var n=e.split("/").pop();if(!t)return n;var r=t.length;if(n&&nr(n,-r)===t)return nr(n,0,n.length-r)}return""}function Xr(e){var t=typeof e;if(void 0===e)return new Date;if("number"===t||Kn(e)&&""!==e)return e<1e10&&(e*=1e3),new Date(e);if("string"===t){if(10===e.length)return new Date(parseInt(nr(e,0,4)),parseInt(nr(e,5,2))-1,parseInt(nr(e,8,2)),12);if(19===e.length)return new Date(parseInt(nr(e,0,4)),parseInt(nr(e,5,2))-1,parseInt(nr(e,8,2)),parseInt(nr(e,11,2)),parseInt(nr(e,14,2)),parseInt(nr(e,17,2)))}else if(vr(e))return e;return!1}function Gr(e,t){void 0===t&&(t=!1);var n=Xr(e);return vr(n)?void 0!==dayjs?dayjs(n).calendar(null,{sameDay:"["+bbn._("Today")+"] HH:mm",nextDay:"["+bbn._("Tomorrow")+"] HH:mm",nextWeek:"ddd D HH:mm",lastDay:"["+bbn._("Yesterday")+"] HH:mm",lastWeek:"ddd D HH:mm",sameElse:"DD/MM/YYYY HH:mm"}):n.toLocaleDateString():t&&Gn(t)?t:""}function Qr(e,t){if(void 0===t&&(t=!1),!0===t)return Gr(e);var n=Xr(e);return vr(n)?void 0!==dayjs?dayjs(n).format("L"):n.toLocaleDateString():t&&Gn(t)?t:""}var eo=function(e){return e};function to(e){if(arguments.length>1){for(var t=[],n=1;n<arguments.length;n++)t.push(arguments[n]);t.unshift({_bbn_console_mode:"error",_bbn_console_level:1,_bbn_console_style:"color: #E64141; background: #F7E195; font-size: 14px"}),tr.apply(this,t)}throw new Error(e)}function no(e,t,n,r,o){void 0===t&&(t=null),void 0===n&&(n=null),void 0===r&&(r=null),void 0===o&&(o=null);var i=!1;if(t){i=!0;var a="object"===(typeof t).toLowerCase(),s=void 0;if(a&&t.prescript)try{new Function(t.prescript)()}catch(e){to(e.message||"")}if(a&&void 0===t.url&&(t.url=e),i=n&&er(n)?n(t,o):bbn.fn.defaultLinkFunction(t,o),o&&a&&void 0!==t.content&&("value"in o?o.value=t.content:o.innerHTML=t.content),i&&a&&t.script&&(i="function"==typeof t.script?t.script(t.data?t.data:{},o||null):function(e,n){var r=null;try{er(r=new Function(t.script)())&&(r=r(e,n))}catch(e){tr(e,t),to(er(e.getMessage)?e.getMessage():null)}return r}(t.data?t.data:{},o||!1)),i&&r&&er(r)?r(t):a&&bbn.fn.defaultPostLinkFunction&&bbn.fn.defaultPostLinkFunction(t,o),i&&a&&t.postscript)new Function(t.postscript)(t.postscript);a&&t.error&&(s=t.errorTitle||bbn.lng.server_response,bbn.fn.defaultErrorFunction(t.error,s))}else bbn.fn.defaultErrorFunction(bbn.lng.errorText,bbn.lng.error);return i}function ro(e,t,n){void 0===n&&(n=!1);var r,o={error:!1,result:!0};("string"==typeof t&&(t=[t]),sr(t)||(o.error=bbn._("checkProps must receive a string or an array as props argument")),ar(e)||(o.error=bbn._("checkProps must receive an object as obj argument")),o.error)||ir(t,function(t){var i=(t=t.trim().split(":"))[1]||!1;if(t=t[0],void 0===e[t]?o.error=t+" "+bbn._("is not defined"):i?(r="is"+nr(i,0,1).toUpperCase()+nr(i,1).toLowerCase(),void 0===bbn.fn[r]?o.error=i+" "+bbn._("is not a valid type"):bbn.fn[r](e[t])||(o.error=t+" "+bbn._("is not a")+" "+i)):n&&!e[t]&&(o.error=t+" "+bbn._("is empty")),o.error)return!1});return o.error&&(o.result=!1),o}function oo(e){return e.replace(/[A-z]{1}/,function(e){return e.toUpperCase()})}function io(e,t,n){for(var r=[],o=3;o<arguments.length;o++)r[o-3]=arguments[o];var i=!1;sr(t)||(t=[t]);var a=[];if(ir(t,function(t){var n;if(t===String?t="string":t===Number?t="number":t===Array?t="array":t===Boolean?t="boolean":t===Object?t="object":t===Function&&(t="function"),er(t)){if(a.push(t.name||(null===(n=t.constructor)||void 0===n?void 0:n.name)||t.toString()),e instanceof t)return i=!0,!1}else if(Gn(t)&&er(bbn.fn["is"+oo(t)])){if(bbn.fn["is"+oo(t)](e))return i=!0,!1;a.push(t)}else to("The type ".concat(t," is not recognized"))}),!i)throw tr(["Value given",e,"type",typeof e,"expected",a.join(" or ")]),r.length&&tr(r),new Error((n?n+" - ":"")+bbn._("The value should be a %s",a.join(" "+bbn._("or a")+" ")))}function ao(e){return sr(e)?e.slice().map(function(e){return"object"==typeof e?ao(e):e}):ar(e)?ur(!0,Object.create(Object.getPrototypeOf(e)),e):e}kt.extend($t),kt.extend(Qt);var so=function(e){var t=new DataTransfer;t.setData("text/plain",e);var n=new ClipboardEvent("copy",{bubbles:!0,cancelable:!0,clipboardData:t});document.dispatchEvent(n)};for(var uo=[],co=0;co<256;co++){for(var lo=co,fo=0;fo<8;fo++)lo=1&lo?3988292384^lo>>>1:lo>>>1;uo.push(lo)}var ho=function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))};function po(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=Object.create(null);return e.length&&ur.apply(void 0,ho([n],e,!1)),n}function bo(e,t){tr(e)}function mo(e,t,n){void 0===t&&(t=null),void 0===n&&(n=null),tr(t,n)}function vo(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(!e.length)return!1;for(var n=0,r=e;n<r.length;n++){var o=r[n];if("object"==typeof o&&!Sr(o))return!1}return!0}var go=[];function yo(e){if(Gn(e)&&e){for(;"/"===nr(e,e.length-1);)e=nr(e,0,e.length-1);var t=e.lastIndexOf("/");if(t>0)return nr(e,0,t);if(0===t)return"/"}return""}function wo(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(!e.length)return!1;for(var n=0,r=e;n<r.length;n++){var o=r[n];if("[object Blob]"!=={}.toString.apply(o))return!1}return!0}function So(e){if(e&&Gn(e)){var t=e.split(".");if(t[0]&&t.length>1)return t[t.length-1].toLowerCase()}return""}function Oo(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(!e.length)return!1;for(var n=0,r=e;n<r.length;n++){if(!(r[n]instanceof HTMLCanvasElement))return!1}return!0}function _o(e,t,n){if(void 0===n&&(n=null),Oo(t))t.toBlob(function(t){var n=document.createElement("a");n.download=e,n.href=window.URL.createObjectURL(t),n.className="bbn-no",n.click(),window.URL.revokeObjectURL(n.href)},n||"image/png");else{n?-1===n.indexOf("/")&&(n="text/"+n):n=ar(t)&&t.type?t.type:"octet/stream";var r=window.document.createElement("a");r.className="bbn-no";var o=null;if(Gn(t))o=new Blob([t],{type:n});else try{o=t}catch(e){tr(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 xo=function(e,t,n,r){return new(n||(n=Promise))(function(o,i){function a(e){try{u(r.next(e))}catch(e){i(e)}}function s(e){try{u(r.throw(e))}catch(e){i(e)}}function u(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(a,s)}u((r=r.apply(e,t||[])).next())})},Eo=function(e,t){var n,r,o,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]},a=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return a.next=s(0),a.throw=s(1),a.return=s(2),"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(s){return function(u){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;a&&(a=0,s[0]&&(i=0)),i;)try{if(n=1,r&&(o=2&s[0]?r.return:s[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,s[1])).done)return o;switch(r=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return i.label++,{value:s[1],done:!1};case 5:i.label++,r=s[1],s=[0];continue;case 7:s=i.ops.pop(),i.trys.pop();continue;default:if(!(o=i.trys,(o=o.length>0&&o[o.length-1])||6!==s[0]&&2!==s[0])){i=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){i.label=s[1];break}if(6===s[0]&&i.label<o[1]){i.label=o[1],o=s;break}if(o&&i.label<o[2]){i.label=o[2],i.ops.push(s);break}o[2]&&i.ops.pop(),i.trys.pop();continue}s=t.call(e,i)}catch(e){s=[6,e],r=0}finally{n=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,u])}}};function Ao(){return xo(this,void 0,void 0,function(){var e;return Eo(this,function(t){switch(t.label){case 0:return(null===(e=window.scheduler)||void 0===e?void 0:e.yield)?[4,window.scheduler.yield()]:[3,2];case 1:return t.sent(),[3,4];case 2:return[4,new Promise(requestAnimationFrame)];case 3:t.sent(),t.label=4;case 4:return[2]}})})}var To=function(e,t,n,r){return new(n||(n=Promise))(function(o,i){function a(e){try{u(r.next(e))}catch(e){i(e)}}function s(e){try{u(r.throw(e))}catch(e){i(e)}}function u(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(a,s)}u((r=r.apply(e,t||[])).next())})},Mo=function(e,t){var n,r,o,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]},a=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return a.next=s(0),a.throw=s(1),a.return=s(2),"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(s){return function(u){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;a&&(a=0,s[0]&&(i=0)),i;)try{if(n=1,r&&(o=2&s[0]?r.return:s[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,s[1])).done)return o;switch(r=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return i.label++,{value:s[1],done:!1};case 5:i.label++,r=s[1],s=[0];continue;case 7:s=i.ops.pop(),i.trys.pop();continue;default:if(!(o=i.trys,(o=o.length>0&&o[o.length-1])||6!==s[0]&&2!==s[0])){i=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){i.label=s[1];break}if(6===s[0]&&i.label<o[1]){i.label=o[1],o=s;break}if(o&&i.label<o[2]){i.label=o[2],i.ops.push(s);break}o[2]&&i.ops.pop(),i.trys.pop();continue}s=t.call(e,i)}catch(e){s=[6,e],r=0}finally{n=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,u])}}};function ko(e){var t;return"checkbox"===e.type?e.checked?(t=e.value)||(t=1):t=0:"radio"===e.type?e.checked&&(t=e.value):t=e.value,t}function jo(e){var t,n,r=e.querySelectorAll("input[name],select[name],textarea[name],button[name]"),o={};return ir(r,function(e,r){if(void 0!==(n=ko(e))&&!e.disabled){var i=e.name;if(-1===i.indexOf("[]")&&i.indexOf("[")>-1&&i.indexOf("]")>-1&&i.lastIndexOf("]")===i.length-1&&(i=qr("][",".",i),i=qr("[",".",i),i=qr("]","",i)),i.length>2&&i.indexOf("[]")===i.length-2)t=nr(i,0,i.length-2),void 0===o[t]&&(o[t]=[]),o[t].push(n);else if(i.indexOf(".")>-1){var a=void 0,s=i.split(".");a=o;for(var u=0;u<s.length;u++)void 0===o[s[u]]&&(u<s.length-1?a[s[u]]={}:a[s[u]]=n),a=a[s[u]]}else o[i]=n}}),o}function Do(e){return e.filter(function(e,t,n){return t===n.indexOf(e)})}function Ro(e,t){void 0===t&&(t=null);var n=[];if("string"==typeof e&&(e=document.querySelector(e)),e instanceof HTMLElement&&e.parentElement)if("string"==typeof t)for(;e=e.parentElement.closest(t);)n.push(e);else for(!0===t&&n.push(e);e=e.parentElement;)n.push(e);return n}function $o(e){0!==e.indexOf("--")&&(e="--"+e);var t=getComputedStyle(document.documentElement).getPropertyValue(e);return"string"==typeof t&&(t=t.trim()),t}function Co(){var 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 Lo(){var e,t=window.getSelection();if(t.rangeCount>0){tr("RANGE",e=t.getRangeAt(0));var n=e.cloneContents();tr("clonedSelection",n);var r=document.createElement("div");return r.appendChild(n),r.innerHTML}return""}function No(e){return Gn(e)?e.replace(/<!--[\s\S]*?-->/g,""):e}function Fo(e){var t=document.createElement("div");return t.innerHTML=e,e=t.innerText}function Po(e){var t=document.createElement("canvas");return t.width=e.width,t.height=e.height,t.getContext("2d").drawImage(e,0,0),t}function Bo(e){var t,n,r={};if(ar(e[0])&&1===e.length)return e[0];for(n=0;n<e.length;n++)t=(t=typeof e[n]).toLowerCase(),er(e[n])?(r.errorFn&&!r.abortFn&&(r.abortFn=e[n]),r.successFn&&!r.errorFn?r.errorFn=e[n]:r.successFn||(r.successFn=e[n])):1===e[n]||!0===e[n]?r.force=!0:"string"===t?r.url?r.datatype=e[n]:0===e[n].indexOf("#")||0===e[n].indexOf(bbn.env.root+"#")?r.url=nr(e[n],bbn.env.root.length):(r.url=e[n],0===r.url.indexOf(bbn.env.root)&&(r.url=nr(r.url,bbn.env.root.length))):e[n]&&"object"===t&&(e[n]instanceof Event?r.e=e[n]:r.ele||1!==e[n].nodeType?"object"===t.toLowerCase()&&(r.obj=e[n]):r.ele=e[n]);return!r.url&&yr(r)&&(r.url=bbn.env.path),void 0===r.obj&&(r.obj={_bbn:"public"}),r.datatype||(r.datatype="json"),r}function Uo(e,t,n,r){void 0===n&&(n=null),void 0===r&&(r=!1),bbn.env.old_path=bbn.env.path,bbn.env.url=["https:/","http://"].includes(nr(e,0,7))?e:bbn.env.root+e,bbn.env.path=nr(bbn.env.url,bbn.env.root.length),bbn.env.params=Ur(bbn.env.path.split("/"),function(e){return""!==e});var o=window.history;if(o){var i=o.state,a={url:bbn.env.path,old_path:bbn.env.old_path||null,data:n||{},reload:!1};i&&i.url===bbn.env.path&&(i.data&&ur(a.data,i.data),i.title&&!t&&(t=i.title),r=!0),t=t?Fo(t):bbn.env.siteTitle,r?(a.reload=!0,o.replaceState(a,t,bbn.env.url)):o.pushState(a,t,bbn.env.url)}}function Io(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=Bo(e),r=1;if(!0===n)return!0;if(!n)return Io(window.location.href);if(0===n.url.indexOf("javascript:"))return!0;if(0===n.url.indexOf("data:"))return!0;if(0===n.url.indexOf("#"))return location.href=bbn.env.url+n.url,!0;if(0===n.url.indexOf("mailto:"))return bbn.env.ignoreUnload=!0,window.location.href=n.url,setTimeout(function(){bbn.env.ignoreUnload=!1},0),!1;if(Br(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.successFn)r=n.successFn(n.url);else if(bbn.fn.defaultPreLinkFunction){var o=bbn.fn.defaultPreLinkFunction(n.url,n.force,n.ele);void 0!==o.data?(ur(n.obj,o.data),r=1):r=o}if(r){1!==r&&"string"==typeof r&&(n.url=r);var i=bbn._("The Ajax call to")+" "+n.url+" ";return Vr(n.url,n.datatype,n.obj,function(e){e||tr(i+bbn._("returned no answer")),ar(e)&&(0===Object.keys(e).length&&tr(i+bbn._("returned an empty object")),e.new_url?(e.old_path=n.url,n.url=e.new_url):e.url&&n.url!==e.url&&(e.old_path=n.url)),no(n.url,e,n.successFn,null,n.ele)&&void 0===e.noNav&&0!==bbn.env.path.indexOf(n.url)&&Uo(n.url,(e.title?e.title+" - ":"")+bbn.env.siteTitle)},n.errorFn||null)}}return!0}function Yo(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=Bo(e);if(n.url)return Vr(n.url,n.datatype,n.obj,function(e){no(n.url,e,n.successFn,n.errorFn,n.ele)},n.errorFn,n.abortFn)}function Ho(e,t,n){var 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")&&(t&&t.preventDefault(),r=jo(e))){e.setAttribute("action",null);var i=[o,r];!n&&e.getAttribute("data-script")&&(n=(n=new Function(e.getAttribute("data-script")))()),n&&i.push(n),Yo.apply(void 0,i)}}function zo(){var e=bbn.env.width!==window.innerWidth,t=bbn.env.height!==window.innerHeight;if(e||t){e&&(bbn.env.width=window.innerWidth||window.document.documentElement.clientWidth||window.document.body.clientWidth,document.documentElement.style.setProperty("--vw",.01*bbn.env.width+"px")),t&&(bbn.env.height=window.innerHeight||window.document.documentElement.clientHeight||window.document.body.clientHeight,document.documentElement.style.setProperty("--vh",.01*bbn.env.height+"px"));var n=parseInt($o("mobile-limit"))||650,r="bbn-screen-"+(bbn.env.width<n?"small":"regular"),o=(document.body.className||"").split(" "),i=!1;ir(o,function(e,t){if(3===e.split("-").length&&0===e.indexOf("bbn-screen-"))return i=!0,e!==r&&o.splice(t,1,r),!1}),i||o.push(r),bbn.fn.defaultResizeFunction(),document.body.className=o.join(" ")}}function qo(){return"mobile"===Co()}function Wo(){return"tablet"===Co()}function Vo(){return qo()||Wo()}function Jo(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(!e.length)return!1;for(var n=0,r=e;n<r.length;n++){var o=r[n];if(!/^data:([a-z]+\/[a-z0-9\-\+\.]+(;[a-z\-]+\=[a-z0-9\-\.]+)?)?(;base64)?,/i.test(o))return!1}return!0}function Zo(e){void 0===e&&(e=!1);var t=(new Date).getTime();return e?Math.round(t/1e3):t}function Ko(e){if("string"==typeof e&&e.length>0&&(0===e.indexOf("calc")||Kn(nr(e,0,1)))){var t=document.createElement("div");t.style.width=e;var n=!!t.style.width.length;return t.remove(),n}return!1}function Xo(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(!e.length)return!1;for(var n=0,r=e;n<r.length;n++){var o=r[n];if(!Gn(o)||!bbn.var.regexp.ip.test(o))return!1}return!0}function Go(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(!e.length)return!1;for(var n=0,r=e;n<r.length;n++){var o=r[n];if("[object Symbol]"!=={}.toString.apply(o))return!1}return!0}function Qo(e){var t=["BBN: "+e];t.unshift({_bbn_console_mode:"warn",_bbn_console_level:2,_bbn_console_style:"color: #E64141; background: #F7E195; font-size: 14px"}),tr.apply(this,t)}function ei(e,t,n){void 0===t&&(t=""),void 0===n&&(n=null);var r=new FormData,o=function(e,t){void 0===t&&(t=""),(!n||sr(n)&&!n.includes(t))&&(e instanceof File?r.append(t,e):sr(e)?ir(e,function(e,n){o(e,t+"["+n+"]")}):ar(e)&&Object.keys(e).length?or(e,function(n,r){r in e&&o(n,t?t+"["+r+"]":r)}):Sr(e)||void 0===e||r.append(t,e))};return o(e,t),r}function ti(e){return"string"==typeof e?document.querySelector(e):e}function ni(e,t,n,r){if("object"==typeof e&&"string"==typeof t){var o=e,i=t.split(".");ir(i,function(e,t){if(!o){if(!r)throw new Error(bbn._("The object is invalid"));o={}}i.length-1===t?o[e]=n:o=o[e]})}}function ri(e,t){return Math.floor(Math.random()*(t-e+1)+e)}function oi(e,t){if(void 0===t&&(t=" ")," "===t)return e.trim();if(!t)return e;if(t===e)return"";for(;0===e.indexOf(t);)e=nr(e,t.length);for(;e.lastIndexOf(t)===e.length-t.length;)e=nr(e,0,e.length-t.length);return e}function ii(e,t,n){return"string"==typeof e.toLowerCase()&&(t||(t=bbn.var.shortenLen),void 0!==n&&Gn(n)||(n="..."),e.length>t&&(e=nr(e,0,t)+n)),e}var ai={_addLoader:pr,_compareValues:gr,_deleteLoader:Pr,abort:function(e){var t=Br(e);(null==t?void 0:t.aborter)&&t.aborter.abort("Operation canceled by the user.")},abortURL:function(e){ir(Ur(bbn.env.loaders,{url:e}),function(t){if(!t||!t.source)throw new Error("Impossible to find the loader with URL "+e);t.source.cancel("Operation canceled by the user.")})},addColors:Ir,addInputs:Yr,addStyle:function(e,t){ar(t)&&or(t,function(t,n){e.style[n]=t})},adjustHeight:function(){var e=arguments;return 1===e.length&&Xn(e[0])&&(e=e[0]),Hr("height",e)},adjustSize:Hr,adjustWidth:function(){var e=arguments;return 1===e.length&&Xn(e[0])&&(e=e[0]),Hr("width",e)},ajax:Vr,analyzeFunction:Dr,animateCss:function(e,t,n){e.classList.add("animated"),e.classList.add(t),e.addEventListener("webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend",function e(r){r.target.removeEventListener(r.type,e),"function"==typeof n&&n.call(this),r.target.classList.remove(t)})},arrayBuffer2String:Zr,arrayFromProp:function(e,t){var n=[];return ir(e,function(e,r){n.push(br(e,t))}),n},autoExtend:function(e,t){bbn[e]||(bbn[e]={}),ur(bbn[e],t)},baseName:Kr,br2nl:function(e){return qr("<br />","\n",qr("<br/>","\n",qr("<br>","\n",e)))},calendar:function(e,t){if(void 0===t&&(t=!1),void 0===kt)return Qr(e,t);var n=Xr(e);return vr(n)?kt(n).calendar(null,{sameDay:"["+eo("Today")+"]",nextDay:"["+eo("Tomorrow")+"]",nextWeek:"ddd D",lastDay:"["+eo("Yesterday")+"]",lastWeek:"ddd D",sameElse:"L"}):t&&Gn(t)?t:""},callback:no,camelize:function(e){return e.replace(/^([A-Z])|[\s-](\w)/g,function(e,t,n,r){return n?n.toUpperCase():t.toLowerCase()})},camelToCss:function(e){return e.replace(/([A-Z])/g,function(e){return"-"+e.toLowerCase()}).replace("/^./",function(e){return e.toLowerCase()})},canvasToImage:function(e){var t=new Image;return t.src=e.toDataURL("image/png"),t},cast:function(e){var t;return e?"object"==typeof e?bbn.fn.isArray(e)?"Array ("+e.length+")":(null===(t=e.constructor)||void 0===t?void 0:t.name)||"{}":e.toString?e.toString():"string"==typeof e?e:"":""},center:function(e){for(var t=e.parentNode,n=t.clientWidth,r=t.clientHeight;t&&(!n||!r);)n=(t=e.parentNode).clientWidth,r=t.clientHeight;return e.style.position="absolute",e.style.top=Math.max(0,(r-e.offsetHeight)/2+t.scrollTop)+"px",e.style.left=Math.max(0,(r-e.offsetWidth)/2+t.scrollLeft)+"px",e},checkProps:function(e,t,n){return void 0===n&&(n=!1),ro(e,t,n).result},checkPropsDetails:ro,checkPropsOrDie:function(e,t,n){void 0===n&&(n=!1);var r=ro(e,t,n);if(r.error)throw new Error(r.error);return!0},checkType:io,circularReplacer:function(){var e=new WeakSet;return function(t,n){if("object"==typeof n&&null!==n){if(e.has(n))return;e.add(n),[void 0,Object,Array,null].includes(n.constructor)||(n=Er(n)?n.bbnId?"__BBN_DOM__"+n.tagName+"/"+n.bbnId+n.bbnHash:"__BBN_DOM__"+n.tagName+"/"+n.className:Tr(n)?"__BBN_CP__"+n.$options.name+"/"+n.$cid:n.constructor.toString())}return n}},clone:ao,colorToHex:function(e){var t=document.createElement("canvas").getContext("2d");return t.fillStyle=e,t.fillStyle},compare:$r,compareConditions:Cr,copy:function(e,t){return new Promise(function(n){var r;if(e){if(navigator&&navigator.clipboard)return void(e instanceof Blob?navigator.clipboard.write([new ClipboardItem((r={},r[e.type.toString()]=e,r))]).then(function(){n(!0)}):ar(e)&&er(e.toBlob)?e.toBlob(function(r){var o,i=new ClipboardItem(((o={})[r.type.toString()]=r,o));navigator.clipboard.write([i]).then(function(){t||so(e),n(!0)})}):(navigator.clipboard.writeText(e),t||so(e),n(!0)));var o=document.createElement("textarea");o.style.opacity="0",o.value=e,document.body.appendChild(o),o.select(),document.execCommand("copy"),document.body.removeChild(o),t||so(e),n(!0)}n(!1)})},correctCase:oo,count:function(e,t,n,r){return void 0===n&&(n=null),void 0===r&&(r="="),Ur(e,t,n,r).length||0},crc32:function(e){for(var t=~0,n=0;n<e.length;n++){var r=e.charCodeAt(n);t=t>>>8^uo[255&(t^r)]}return(-1^t)>>>0},createObject:po,cssExists:function(e){for(var t,n,r=document.styleSheets,o=0;o<r.length;o++){t=1;try{n=r[o].rules||r[o].cssRules}catch(e){if(t=!1,"SecurityError"!==e.name)throw e}if(t)for(var i=0;i<n.length;i++)if(new RegExp("(^|\\s)"+zr(e)+"(\\{|\\s)","g").test(n[i].selectorText))return!0}return!1},data2Html:function e(t,n){void 0===n&&(n="");var r=!sr(t),o='<ul class="bbn-bottom-xspadding '+(n||"bbn-ul")+'">';for(var i in t)o+="<li>",r&&(o+="<em>"+i+"</em>: "),t[i]&&(sr(t[i])||ar(t[i]))?o+=e(t[i],n):o+=null===t[i]?"<em>null</em>":t[i].toString?t[i].toString():t[i],o+="</li>";return o+='</ul><div class="bbn-bottom-xspadding '+(n||"bbn-div")+'"></div>'},date:Xr,dateSQL:function(e,t){var n=Xr(e);if(n)return kt(n).format("YYYY-MM-DD"+(t?"":" HH:mm:ss"))},daysInMonth:function(e){var t=Xr(e);return!!t&&dayjs(t).daysInMonth()},deepPath:function e(t,n,r,o){var i;return void 0===o&&(o=[]),(i=Nr(t,n,0))>-1?(o.push(i),o):(ir(t,function(t,i){if(sr(t[r])){var a=o.slice();a.push(i);var s=e(t[r],n,r,a);if(!1!==s)return s}}),!1)},defaultAjaxAbortFunction:bo,defaultAjaxErrorFunction:mo,defaultAlertFunction:function(e,t){alert(e)},defaultConfirmFunction:function(e,t,n){void 0===n&&(n=null);var r=0;confirm(e)&&er(t)&&(t(),r=1),!r&&er(n)&&n()},defaultEndLoadingFunction:function(e,t,n,r){return!0},defaultErrorFunction:function(e){tr(e)},defaultHistoryFunction:function(e){return!0},defaultLinkFunction:function(e,t){return!0},defaultPostLinkFunction:function(e,t){return!0},defaultPreLinkFunction:function(e,t,n){return void 0===t&&(t=!1),void 0===n&&(n=null),tr("defaultPreLinkFunction",e,t,n),!0},defaultResizeFunction:function(){return!0},defaultStartLoadingFunction:function(e,t,n,r){return!0},deleteProp:function(e,t){io(e,"object",bbn._("The obj must be an object in setProp")),io(t,"string",bbn._("The prop must be a string in setProp")),delete e[t]},diffObj:function e(t,n,r,o){void 0===r&&(r=!1),void 0===o&&(o=!1),o||(go=[]);var i="unchanged";void 0===o&&(o=!1);var a=po();if(!er(t)&&!er(n)){if(vo(t)||vo(n)){var s=function(e,t){return e===t||vr(e)&&vr(t)&&e.getTime()===t.getTime()?i:void 0===e?"created":void 0===t?"deleted":"updated"}(t,n);if(r||s!==i){var u=po();return Object.defineProperty(u,"type",{value:s,enumerable:!1}),Object.defineProperty(u,"data",{value:void 0===t?n:t,enumerable:!1}),Object.defineProperty(u,"_bbnDiffObjProof",{value:!0,enumerable:!1}),void 0!==t&&Object.defineProperty(u,"newData",{value:n,enumerable:!1}),u}return!1}if(Er(t)||Er(n))return!1;if(go.includes(t)||go.includes(n))return!1;for(var c in go.push(t,n),t)if(!er(t[c])){var l=void 0;void 0!==n[c]&&(l=n[c]),(s=e(t[c],l,r,!0))&&(a[c]=s)}for(var c in n){if(!er(n[c])&&void 0===t[c])(s=e(void 0,n[c],r,!0))&&(a[c]=s)}}return!(o&&!r&&!yr(a))&&a},dirName:yo,download:function(e,t,n){return void 0===t&&(t=""),void 0===n&&(n=null),t&&"object"==typeof t&&(n=t,t=""),Vr(e,"blob",n||{_bbn_download:1},function(n,r){if(!t){var o="content-disposition",i="attachment; filename=";t=(null==r?void 0:r[o])&&0===r[o].indexOf(i)?nr(r[o],22,r[o].length-21-2):Kr(e)}if(wo(n)){var a=So(t);if("string"==typeof t&&("type"in n&&"text/html"!==n.type||["php","html"].includes(a)))return void _o(t,n)}},function(e){bbn.fn.defaultAjaxErrorFunction(e)})},downloadContent:_o,each:ir,eraseCookie:function(e){document.cookie=e+"=; Max-Age=-99999999;"},error:to,escapeDquotes:function(e){return Gn(e)?e.replace(/"/g,'\\"'):e},escapeRegExp:zr,escapeSquotes:function(e){return Gn(e)?e.replace(/'/g,"\\'"):e},escapeTicks:function(e){return Gn(e)?e.replace(/`/g,"\\`"):e},escapeUrl:function(e,t){var n="";e.match("^(http|https)://")&&(n+="http","s"===(e=e.substring(4)).substr(0,1)&&(n+="s",e=e.substring(1)),n+="://",e=e.substring(3)),ir(yo(e).split("/"),function(e){n+=encodeURIComponent(e)+"/"});var r=Kr(e),o="?",i="";if(r.indexOf(o)){var a=r.split("?");o="&",i="?"+a[1],r=a[0]}return t&&Gn(t)?(t.match("^(\\&|\\?)")&&(t=t.substring(1)),t=o+t):t="",n+encodeURIComponent(r)+i+t},executeSlowly:function(e,t){return To(this,void 0,void 0,function(){var n,r;return Mo(this,function(o){switch(o.label){case 0:n=0,o.label=1;case 1:return n<e.length?(r=t(e[n],n))instanceof Promise?[4,r]:[3,3]:[3,6];case 2:r=o.sent(),o.label=3;case 3:return!1===r?[2,!1]:[4,Ao()];case 4:o.sent(),o.label=5;case 5:return n++,[3,1];case 6:return[2,!0]}})})},extend:ur,extendOut:function e(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];for(var r=null,o=0,i=t;o<i.length;o++){var a=i[o];if(!ar(a))throw new Error("Each argument for extendOut must be an object, "+typeof a+" given");if(null===r)r=a;else for(var s in a)ar(r[s],a[s])?e(r[s],a[s]):void 0===r[s]&&(r[s]=a[s])}return r},fdate:Qr,fdatetime:Gr,fieldValue:ko,fileExt:So,filter:Ur,filterToConditions:Lr,findAll:function e(t,n,r,o){var i;void 0===o&&(o=[]);for(var a=0;(i=Nr(t,n,a))>-1;)o.push(t[i]),a=i+1;return ir(t,function(t){sr(t[r])&&e(t[r],n,r,o)}),o},firstVarElement:function(e){var t=e.indexOf("["),n=e.indexOf(".");return-1===t&&-1===n?e:-1===t?e.substring(0,n):-1===n?e.substring(0,t):e.substring(0,Math.min(t,n))},fori:function(e,t,n,r){if(void 0===n&&(n=e.length-1),void 0===r&&(r=0),sr(e)){var o=e.length-1;Kn(n)&&0<n&&n<=o||(n=o),(!Kn(r)||!(0<=r&&r<o)||r>n)&&(r=0);for(var i=r;i<=n;i++)if(!1===t(e[i],i))return}},forir:function(e,t,n,r){if(void 0===n&&(n=e.length-1),void 0===r&&(r=0),sr(e)){var o=e.length-1;Kn(n)&&0<n&&n<=o||(n=o),(!Kn(r)||!(0<=r&&r<o)||r>n)&&(r=0);for(var i=n;i>=r;i--)if(!1===t(e[i],i))return}},format:function(e){var t=Array.prototype.slice.call(arguments,1);if(t.length){var n=0;return e.replace(/\%([d|s])/g,function(e,r){var o=t[n++];return io(o,"d"===r?"number":"string",bbn._("The value doesn't correspond to the format")),o})}return e},formatBytes:function(e,t){if(void 0===t&&(t=2),!e)return"0 B";var n=Math.floor(Math.log(e)/Math.log(1024));return parseFloat((e/Math.pow(1024,n)).toFixed(t<0?0:t))+" "+["B","KB","MB","GB","TB","PB","EB","ZB","YB"][n]},formatDate:function(e,t){return dayjs(e).format(t)},formatSize:function(e,t){return Kn(e)?e+"px":Gn(e)?e:!t&&"auto"},formdata:jo,fphone:function(e){var t;if(Kn(e)&&(e=e.toString()),Gn(e)){var n=(null===(t=bbn.var)||void 0===t?void 0:t.phoneCodes)||[],r="",o="",i="";if(n.length&&ir(n,function(t){e.startsWith(t.prefix)&&t.prefix.length>o.length&&(o=t.prefix,i=t.mask||"")}),!i.length&&e.startsWith("+")){o.length||(o=e.substr(0,3));for(var a=e.slice(o.length),s=0;s<a.length;s++)s+1<=a.length&&s%2==0&&(i+="0"+(a[s+1]?"0":"")+" ");i=i.trim()}if(i.length){o.length&&(r=o+" ",e=e.slice(o.length));var u=0;return r+=i.replace(/[0-9]/g,function(){return e[u++]||""})}}return e},fromXml:function(e,t){var n=null;if(window.DOMParser)n=(new DOMParser).parseFromString(e,"text/xml");else{if(!window.ActiveXObject)throw new Error("cannot parse xml string!");if((n=new window.ActiveXObject("Microsoft.XMLDOM")).async=!1,!n.loadXML(e))throw n.parseError.reason+" "+n.parseError.srcText}function r(e,n){if("#text"!=e.nodeName){var o={},i=n[e.nodeName];if(i?Array.isArray(i)?n[e.nodeName].push(o):n[e.nodeName]=[i,o]:t&&-1!=t.indexOf(e.nodeName)?n[e.nodeName]=[o]:n[e.nodeName]=o,e.attributes)for(var a=0,s=e.attributes;a<s.length;a++){var u=s[a];o[u.nodeName]=u.nodeValue}for(var c=0,l=e.childNodes;c<l.length;c++){r(l[c],o)}}else{var f=e.nodeValue;f.trim()&&(n["#text"]=f)}}for(var o={},i=0,a=n.childNodes;i<a.length;i++){r(a[i],o)}return o},ftime:function(e,t){var n=Xr(e);return vr(n)?void 0!==dayjs?dayjs(n).calendar():n.toLocaleDateString():t&&Gn(t)?t:""},getAllTags:function(){return Do(Array.prototype.map.apply(document.all,[function(e){return e.tagName.toLowerCase()}]))},getAncestors:Ro,getAttributes:function(e){e.getAttributeNames||to("The element is not a proper HTML Element");var t=Object.create(null);return e.getAttributeNames().forEach(function(n){t[n]=e.getAttribute(n)}),t},getBrowserName:function(){var 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(){var 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){return void 0===e&&(e="default"),bbn.fn.microtimestamp()-this.constructor.chronos[e]},getCookie:function(e){for(var t=e+"=",n=document.cookie.split(";"),r=0;r<n.length;r++){for(var o=n[r];" "==o.charAt(0);)o=o.substring(1,o.length);if(0==o.indexOf(t)){var i=o.substring(t.length,o.length);if(i)return JSON.parse(unescape(i)).value}}return null},getCssVar:$o,getDay:function(e){var t=Xr(e);if(t){var n=t.getTime(),r=t.getYear(),o=365*(r-1970);t.getMonth()<2&&r--;for(var i=1972;i<=r;i+=4)o++;return o+Math.floor(n/864e5)}return!1},getDeviceType:Co,getEventData:function(e){var t=e.dataTransfer||e.clipboardData,n=t.getData("Text"),r={raw:n,files:[],str:[]};return new Promise(function(o,i){var a=!(t instanceof DataTransfer);if(!n&&"copy"===e.type){var s=window.getSelection();r.raw=s.toString();var u=Lo();r.str.push({type:"text/plain",data:r.raw}),u!==r.raw?r.str.push({type:"text/html",data:u}):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){var c=[],l=t.items.length;ir(t.items,function(e,n){var i=e.kind,s=e.type;if("file"===i){var u=t.files[n];if(!s&&u.name){var f=u.name.split(".");s=f[f.length-1]}var d=u?u.name:bbn._("untitled"),h=u?u.size:null,p=u?u.lastModified:null,b=e.getAsFile();b?(a=!0,l--,r.files.push({type:s,data:b,name:d,size:h,mdate:p}),c.push(d),l||(r.raw||(r.raw=c.join(", ")),o(r))):bbn.fn.defaultErrorFunction(bbn._("Impossible to read the file")+" "+d)}else a=!0,e.getAsString(function(e){l--,r.str.push({type:s,data:e}),"text/plain"===s&&c.push(name),l||(r.raw||(r.raw=c.join(", ")),o(r))})})}a||setTimeout(function(){o(r)})})},getField:function(e,t,n,r,o,i,a,s){var u;return void 0===n&&(n=""),void 0===r&&(r=null),void 0===o&&(o="="),void 0===i&&(i=0),void 0===a&&(a=!1),void 0===s&&(s=void 0),n&&["object","function"].includes(typeof n)&&6 in arguments&&(s=a),t?void 0===(u=Fr(e,n,r,o,i,a,void 0))?s:u[t]:s},getFieldValues:function(e,t,n,r,o){io(t,"string"),n&&(e=Ur(e,n,r,o));var i=[];return ir(e,function(e){return-1===i.indexOf(e[t])?i.push(e[t]):null}),i},getIndex:function(e,t){return void 0===t&&(t=""),e.parentElement?(t||Array.from(e.parentElement.children).indexOf(e),Array.from(e.parentElement.children).filter(function(e){return e.matches(t)}).indexOf(e)):-1},getHtml:function(e,t){void 0===t&&(t=!1);var n=e.innerHTML();return t&&(n=No(n)),n.trim()},getHTMLOfSelection:Lo,getLoader:Br,getPath:Ar,getProp:function(e,t){return io(e,"object",bbn._("The obj must be an object in setProp")),io(t,"string",bbn._("The prop must be a string in setProp")),e[t]},getProperty:br,getRequestId:Wr,getRow:Fr,getScrollBarSize:function(){if(void 0===bbn.env.scrollBarSize){var e=document.createElement("div");e.style.visibility="hidden",e.style.width="100px","msOverflowStyle"in e.style&&(e.style.msOverflowStyle="scrollbar"),document.body.appendChild(e);var t=e.offsetWidth;e.style.overflow="scroll";var n=document.createElement("div");n.style.width="100%",e.appendChild(n);var r=n.offsetWidth;e.parentNode.removeChild(e);var o=t-r;bbn.env.scrollBarSize=o?o+1:0}return bbn.env.scrollBarSize},getSortingMoves:function(e,t){if(e.length!==t.length)throw new Error("Lengths must match.");var n=new Set(t);if(n.size!==t.length)throw new Error("dst has duplicates.");var r=new Set(e);if(r.size!==e.length)throw new Error("src has duplicates.");if(e.length!==n.size||Array.from(r).some(function(e){return!n.has(e)}))throw new Error("Arrays must contain the same unique values.");for(var o=new Map(t.map(function(e,t){return[e,t]})),i=e.map(function(e){return o.get(e)}),a=function(e){for(var t=e.length,n=[],r=Array(t).fill(-1),o=0;o<t;o++){for(var i=e[o],a=0,s=n.length;a<s;){var u=a+s>>1;e[n[u]]<i?a=u+1:s=u}a>0&&(r[o]=n[a-1]),n[a]=o}for(var c=[],l=n.length?n[n.length-1]:-1;-1!==l;l=r[l])c.push(l);return c.reverse()}(i),s=new Set(a.map(function(t){return e[t]})),u=Array(t.length).fill(-1),c=t.length-2;c>=0;c--)u[c]=u[c+1],s.has(t[c+1])&&(u[c]=c+1);var l=e.slice(),f=new Map(l.map(function(e,t){return[e,t]})),d=[];for(c=0;c<t.length;c++){var h=t[c];if(!s.has(h)){var p=f.get(h);if(void 0===p)throw new Error("Inconsistent state");var b=u[c],m=-1!==b?f.get(t[b]):l.length;if(void 0===m)throw new Error("Inconsistent state");var v=p<m?m-1:m;if(p!==v){var g=l.splice(p,1)[0];l.splice(v,0,g),d.push({from:p,to:v,value:h}),f.clear();for(var y=0;y<l.length;y++)f.set(l[y],y)}}}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(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return e.unshift({_bbn_console_level:3,_bbn_console_style:"color: white; background: green; font-size: 18px;"}),tr.apply(this,e),this},hash:kr,hex2rgb:function(e){"#"!==e.charAt(0)&&(e="#"+e),4===e.length&&(e="#"+e[1]+e[1]+e[2]+e[2]+e[3]+e[3]);var t=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(e);return t?{r:parseInt(t[1],16),g:parseInt(t[2],16),b:parseInt(t[3],16)}:null},history:function(){return window.history||!1},html2text:Fo,imageToCanvas:Po,imgToBase64:function(e,t){return void 0===t&&(t="image/png"),Po(e).toDataURL(t)},info:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return e.unshift({_bbn_console_level:4,_bbn_console_style:"color: #EEE; background: blue; font-size: 12px;"}),tr.apply(this,e),this},init:function(e,t){bbn.env.isInit||(bbn.env.root=document.baseURI.length>0?document.baseURI:bbn.env.host,bbn.env.root.length&&"/"!==nr(bbn.env.root,-1)&&(bbn.env.root+="/"),bbn.env.isInit||"undefined"==typeof dayjs||ir(["advancedFormat","arraySupport","badMutable","buddhistEra","calendar","customParseFormat","dayOfYear","devHelper","duration","isBetween","isLeapYear","isSameOrAfter","isSameOrBefore","isToday","isTomorrow","isYesterday","isoWeek","isoWeeksInYear","localeData","localizedFormat","minMax","objectSupport","pluralGetSet","quarterOfYear","relativeTime","timezone","toArray","toObject","updateLocale","utc","weekOfYear","weekYear","weekday"],function(e){window["dayjs_plugin_"+e]&&dayjs.extend(window["dayjs_plugin_"+e])}),"object"==typeof e&&ur(!0,bbn,e),bbn.env.path=nr(bbn.env.url,bbn.env.root.length),ir(bbn.env.path.split("/"),function(e,t){""!==(e=decodeURI(e.trim()))&&bbn.env.params.push(e)}),bbn.var.colors&&Ir(bbn.var.colors),bbn.env.lang&&void 0!==dayjs&&import("dayjs/locale/"+bbn.env.lang+".js").then(function(){dayjs.locale(bbn.env.lang)}),document.addEventListener("visibilitychange",function(){document.hidden&&bbn.env.isFocused?bbn.env.isFocused=!1:document.hidden||bbn.env.isFocused||(bbn.env.isFocused=!0)}),document.addEventListener("focusin",function(e){e.target instanceof HTMLElement&&!e.target.classList.contains("bbn-no")&&(bbn.env.focused=e.target),bbn.env.last_focus=Zo()}),document.addEventListener("click",function(e){if(bbn.env.last_focus=Zo(),"ajax"===bbn.env.nav){var t=e.target;if(t instanceof HTMLElement&&"A"!==t.tagName){for(var n=t;n&&"A"!==n.tagName&&"BODY"!==n.tagName;)n=n.parentElement;t=n&&"A"===n.tagName?n:null}return t instanceof HTMLElement&&t.hasAttribute("href")&&!Jo(t.getAttribute("href"))&&!t.hasAttribute("target")&&!t.classList.contains("bbn-no")?(e.preventDefault(),e.stopPropagation(),Io(t.getAttribute("href")),!1):void 0}}),ir(document.querySelectorAll("form:not(.bbn-no), form:not(.bbn-form)"),function(e){e.addEventListener("submit",function(t){Ho(e,t)})}),window.addEventListener("hashchange",function(){bbn.env.hashChanged=(new Date).getTime()},!1),window.addEventListener("resize",function(){zo()}),window.addEventListener("orientationchange",function(){zo()}),zo(),Vo()&&(document.body.classList.add("bbn-mobile"),Wo()&&document.body.classList.add("bbn-tablet")),window.history&&(window.onpopstate=function(e){var t=window.history;if(!bbn.env.historyDisabled&&t&&bbn.fn.defaultHistoryFunction(t.state)){var n=t.state;n?Io(n.url,ur({title:n.title||bbn.env.siteTitle},n.data||{})):n&&n.data&&er(n.data.script)&&n.data.script()}}),window.addEventListener("online",function(){bbn.env.online=!0}),window.addEventListener("offline",function(){bbn.env.online=!1}),bbn.env.isInit=!0,document.dispatchEvent(new Event("bbninit")),bbn.env.logging&&tr("Logging in bbn is enabled"))},isActiveInterface:function(e){return void 0===e&&(e=600),!!bbn.env.last_focus&&(new Date).getTime()-bbn.env.last_focus<1e3*e},isArray:sr,isBlob:wo,isBoolean:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(!e.length)return!1;for(var n=0,r=e;n<r.length;n++){var o=r[n];if(![!0,!1].includes(o))return!1}return!0},isCanvas:Oo,isColor:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(!e.length)return!1;for(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"),r=0,o=e;r<o.length;r++){var i=o[r];if(!Gn(i))return!1;if(!n.test(i))return!1}return!0},isComment:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(!e.length)return!1;for(var n=0,r=e;n<r.length;n++){if(!(r[n]instanceof Comment))return!1}return!0},isCp:Tr,isDataURL:Jo,isDate:vr,isDesktopDevice:function(){return"desktop"===Co()},isDimension:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(!e.length)return!1;for(var n=0,r=e;n<r.length;n++){var o=r[n];if("number"!=typeof o||o<0)return!1;if(!Ko(o))return!1}return!0},isDom:Er,isEmail:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(!e.length)return!1;for(var n=/^([a-zA-Z0-9_.+-])+\@(([a-zA-Z0-9-])+\.)+([a-zA-Z0-9]{2,4})+$/,r=0,o=e;r<o.length;r++){var i=o[r];if(!Gn(i))return!1;if(!n.test(i))return!1}return!0},isEmpty:wr,isEvent:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(!e.length)return!1;for(var n=0,r=e;n<r.length;n++){if(!(r[n]instanceof Event))return!1}return!0},isFocused:function(e,t){return void 0===t&&(t=!1),e===document.activeElement||t&&e.contains&&e.contains(document.activeElement)},isFunction:er,isHex:function(e){return Boolean(e.match(/^(0x)?[0-9a-f]+$/i))},isHostname:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(!e.length)return!1;for(var n=0,r=e;n<r.length;n++){var o=r[n];if(!Gn(o))return!1;if(!Xo(o)&&!bbn.var.regexp.hostname.test(o))return!1}return!0},isInside:function(e,t){var n=Ro(e);if(n.length){if(Gn(t)){var r=!1;return ir(n,function(e){if(e.matches&&e.matches(t))return r=!0,!1}),r}if(t instanceof HTMLElement)return n.indexOf(t)>-1}return!1},isInt:Qn,isInViewport:function(e,t){void 0===t&&(t=!1);var n=e.getBoundingClientRect();if(t)return n.top>=0&&n.left>=0&&n.right<=(window.innerWidth||document.documentElement.clientWidth)&&n.bottom<=(window.innerHeight||document.documentElement.clientHeight);var r=e.offsetHeight,o=e.offsetWidth;return n.top>=-r&&n.left>=-o&&n.right<=(window.innerWidth||document.documentElement.clientWidth)+o&&n.bottom<=(window.innerHeight||document.documentElement.clientHeight)+r},isIP:Xo,isIterable:Xn,isMobile:Vo,isMobileDevice:qo,isNotObject:vo,isNull:Sr,isNumber:Kn,isObject:ar,isPercent:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(!e.length)return!1;for(var n=0,r=e;n<r.length;n++){var o=r[n];if("string"!=typeof o||!o.match(/^\d+(?:\.\d+)?%$/))return!1}return!0},isPrimitive:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(!e.length)return!1;for(var n=0,r=e;n<r.length;n++){var o=r[n];if(null!==o&&("object"==typeof o||"function"==typeof o))return!1}return!0},isPromise:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(!e.length)return!1;for(var n=0,r=e;n<r.length;n++){var o=r[n];if("[object Promise]"!=={}.toString.apply(o))return!1}return!0},isPropSize:function(e){var t=!1;return ir(["width","height","gap","margin","padding","top","left","right","bottom"],function(n){if(-1!==e.indexOf(n))return t=!0,!1}),t},isSame:Rr,isSQLDate:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(!e.length)return!1;for(var n=0,r=e;n<r.length;n++){var o=r[n];if("string"!=typeof o||!o.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:Gn,isSymbol:Go,isTabletDevice:Wo,isURL:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(!e.length)return!1;for(var n=0,r=e;n<r.length;n++){var o=r[n];if(!bbn.var.regexp.url.test(o))return!1}return!0},isUid:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(!e.length)return!1;for(var n=0,r=e;n<r.length;n++){var o=r[n];if("string"!=typeof o||!o.match(/^[0-9a-f]{32}$/i))return!1}return!0},isValidDimension:Ko,isValidName:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(!e.length)return!1;for(var n=0,r=e;n<r.length;n++){var o=r[n];if(!Gn(o)||!/^[$A-Z_][0-9A-Z_$]*$/i.test(o))return!1}return!0},isVue:function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];if(!t.length)return!1;if("vue"in bbn&&window.Vue)if("app"in bbn.vue)for(var r=0,o=t;r<o.length;r++){if(!(s=o[r])||"function"!=typeof s.render)return!1}else for(var i=0,a=t;i<a.length;i++){var s;if(!((s=a[i])instanceof window.Vue))return!1}return!("cp"in bbn)||!("isComponent"in bbn.cp)||"function"!=typeof bbn.cp.isComponent||(e=bbn.cp).isComponent.apply(e,t)},isWritable:function(e,t){for(var n;e&&!(n=Object.getOwnPropertyDescriptor(e,t));)e=Object.getPrototypeOf(e);return!n||Boolean(n.writable||n.set)},iterate:or,lightenDarkenHex:function(e,t){if(e&&t){var n="#"===e[0];e=n?e.slice(1):e;var r=parseInt(e,16),o=(r>>16)+t,i=(r>>8&255)+t,a=(255&r)+t;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),(n?"#":"")+(a|i<<8|o<<16).toString(16)}},link:Io,log:tr,makeReactive:function e(t,n,r,o){var i=(null==r?void 0:r.$cid)||"",a="__bbn_"+(i?i+"_":"");if(t&&"object"==typeof t&&[void 0,Object,Array].includes(t.constructor)){if(t.__bbnIsProxy&&t.__bbnParent===r)return t;r&&r.$options&&"bbn-loadbar"===r.$options.name&&tr(["MAKING bbn-loadbar",t]),t.__bbnWatchers||Reflect.defineProperty(t,"__bbnWatchers",{value:po(),writable:!0,configurable:!0,enumerable:!1});var s={get:function(s,u){var c=Reflect.get(s,u),l=s.__bbnRoot||s;if(Go(u))return Reflect.get(l,u);var f=o?o+"."+u:u,d=a+(Kn(u)?u.toString():u);if(["fill","pop","push","reverse","shift","sort","splice","unshift"].includes(u)&&sr(s))return function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var o=l[u].apply(l,e);return Qo("DOING ARRAY STUFF"),tr(s.__bbnParent),n(s,"length",r),o};if(er(c))return c;if("__bbnRoot"===u){for(var h=t;h&&(null==h?void 0:h.__bbnTarget);)h=h.__bbnTarget;return h}return"__bbnIsProxy"===u||("__bbnTarget"===u?s:"__bbnParent"===u?r:"__bbnWatchers"===u?s.__bbnWatchers:0===u.indexOf("__bbn_")?Reflect.get(s,u):"length"===u&&sr(s.__bbnRoot||s)?l.length:u in s&&c&&"object"==typeof c&&[void 0,Object,Array].includes(c.constructor)?(c.__bbnIsProxy&&c.__bbnParent===r||(d in l||Reflect.defineProperty(l,d,{value:e(c,n,r,f),writable:!0,configurable:!0,enumerable:!1}),l[d].__bbnIsProxy&&!l.__bbnWatchers[i]&&(l.__bbnWatchers[i]=f)),l[d]):c)},set:function(t,s,u){if(Go(s))return Reflect.get(t,s,u);var c=t.__bbnRoot||t,l=o?o+"."+s:s;if(Go(s))return Reflect.get(t,s);if(r&&r.$options&&"bbn-loadbar"===r.$options.name&&tr(["Setting proxy prop in "+r.$options.name,t,s,u]),!Rr(c[s],u)){if(0===s.indexOf("__bbn_"))Reflect.defineProperty(c,s,{value:e(u,n,r,l),writable:!0,configurable:!0,enumerable:!1});else if(u&&"object"==typeof u&&[void 0,Object,Array].includes(u.constructor)){var f=a+(Kn(s)?s.toString():s);Reflect.defineProperty(c,f,{value:e(u,n,r,l),writable:!0,configurable:!0,enumerable:!1}),c[f].__bbnIsProxy&&!c.__bbnWatchers[i]&&(c.__bbnWatchers[i]=l)}r&&r.$options&&"bbn-loadbar"===r.$options.name&&tr(["Setting proxy prop in "+r.$options.name+" "+(Kn(s)?s.toString():s),u,t]),Reflect.set(c,s,u),n(t,s,r)}return!0},defineProperty:function(t,i,s){var u=t,c=o?o+"."+i:i;if("__bbnWatchers"===i||Go(i)||0===i.indexOf("__bbn_"))Reflect.defineProperty(u,i,s);else{var l=a+(Kn(i)?i.toString():i);Reflect.defineProperty(u,l,{value:e(s.value,n,r,c),writable:!0,configurable:!0,enumerable:!1})}return n(t,i,r),!0},deleteProperty:function(e,t){var n=e;if(0===t.indexOf("__bbn_"))Reflect.deleteProperty(n,t);else{var r=a+(Kn(t)?t.toString():t);Reflect.deleteProperty(n,r),Reflect.deleteProperty(e,t)}return!0}};return new Proxy(t,s)}return t},map:function e(t,n,r,o){return void 0===o&&(o=0),t.map(function(t,i){return t=n(t,i,o),r&&t[r]&&sr(t[r])&&(t[r]=e(t[r],n,r,o+1)),t})},md5:jr,microtimestamp:function(){return window.performance.now()+performance.timeOrigin},money:function(e,t,n,r,o,i,a){if(o||(o=void 0===o&&bbn.env.money&&void 0!==bbn.env.money.decimal?bbn.env.money.decimal:"."),n||(n=void 0===n&&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),t||(t=!(void 0!==t||!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),Kn(a)||(a=t?3:0),0===e&&"number"==typeof a&&a>0){var s=e.toFixed(a).replace(".",o);return n&&(s+=" "+(t?"K"+n:n)),s}if((isNaN(e)||!e)&&r)return r;if(isNaN(e)||!e)return 0+(n?" "+n:"");if("string"==typeof e&&(e=Number(e)),"number"!=typeof e)throw new Error("The value must be a number");t&&e&&(e/=1e3,n&&(n="K"+n));var u=e.toFixed(a),c=0,l=1e4;return u&&((l=u.indexOf("."))<=0?l=1e4:c=u.length-l),u.replace(/./g,function(e,t,n){return"."===e?o:t&&(n.length-t-c)%3==0&&t<l?i+e:e})+(n?" "+n:"")},move:function(e,t,n){if(n>=e.length)for(var r=n-e.length;1+r--;)e.push(void 0);return e.splice(n,0,e.splice(t,1)[0]),e},multiorder:function(e,t){if(!t)return e;var n;if(Array.isArray(t)||"object"!=typeof t)n=t;else for(var r in n=[],t)n.push({field:r,dir:t[r]});if(!Array.isArray(n))throw new Error("The orders argument must be an array");return e.slice().sort(function(e,t){for(var r,o=0,i=n;o<i.length;o++){var a=i[o];if(0!==(r=gr(e,t,a.field,a.dir)))return r}return 0})},mutateArray:function(e,t,n){if(void 0===n&&(n=null),!sr(e,t))throw new TypeError("mutateArray can only be called with arrays");n?io(n,"function","The hash function must be a function"):n=kr;var r=new Map(t.map(function(e){return[n(e),e]})),o=[];t.forEach(function(e){o.push(e)});for(var i=e.length;i--;)r.has(n(e[i]))||e.splice(i,1);for(var a=0;a<o.length;a++)if(a>=e.length||!Rr(e[a],o[a])){var s=Nr(e,o[a]);if(-1!==s){var u=e.splice(s,1)[0];e.splice(a,0,u)}else e.splice(a,0,o[a])}return e.length>o.length&&e.splice(o.length,e.length-o.length),e},mutateObject:function(e,t,n){if(!ar(e,t))throw new TypeError("mutateObject can only be called with arrays");n?io(n,"function","The hash function must be a function"):n=kr;var r=Object.keys(t);for(var o in e)r.includes(o)||delete e[o];return r.forEach(function(n){Rr(e[n],t[n])||(e[n]=t[n])}),e},nl2br:function(e,t){return qr("\n","<br>"+(t?"\n":""),e)},numProperties:yr,objectToFormData:ei,order:function(e,t,n){return void 0===n&&(n="asc"),e?e.sort(function(e,r){return gr(e,r,t,n)}):e},outerHeight:function(e){if((e=ti(e))&&"offsetHeight"in e){var t=window.getComputedStyle(e),n=parseFloat(t.marginTop)+parseFloat(t.marginBottom);return Math.ceil(e.offsetHeight+n)}},outerWidth:function(e){e=ti(e);var t=window.getComputedStyle(e),n=parseFloat(t.marginLeft)+parseFloat(t.marginRight);return Math.ceil(e.offsetWidth+n)},percent:function(e,t){return t/100*e},pickValue:function(e){if(Array.isArray(e)&&e.length)return e[Math.floor(Math.random()*e.length)]},post:Yo,postOut:function(e,t,n,r){void 0===n&&(n=null),void 0===r&&(r="");var o=document.body.querySelector("form#bbn-form_out");o||((o=document.createElement("form")).classList.add("bbn-no"),o.setAttribute("id","bbn-form_out"),o.setAttribute("method","post"),o.setAttribute("enctype","multipart/form-data-encoded"),ni(o,"style.display","none"),document.body.appendChild(o)),o instanceof HTMLFormElement&&(o.innerHTML="",o.setAttribute("action",e),o.setAttribute("target",r||"_blank"),t||(t={}),(t=po(t)).bbn||(t.bbn="public"),Yr(o,t),o.submit(),n&&n())},printf:function(e){var t=Array.prototype.slice.call(arguments,1);return e.replace(/{(\d+)}/g,function(e,n){return void 0!==t[n]?t[n]:e})},quotes2html:function(e,t){return t&&0!==t.toLowerCase().indexOf("s")||(e=qr("'","'",e)),t&&0!==t.toLowerCase().indexOf("d")||(e=qr('"',""",e)),e},randomInt:ri,randomString:function(e,t,n){var r,o,i={n:"0123456789",l:"abcdefghijklmnopqrstuvwxyz",u:"ABCDEFGHIJKLMNOPQRSTUVWXYZ"};n||(n="nlu"),e||(r=ri(8,14)),"string"==typeof t?(n="n",delete i.l,delete i.u,i.n=t,r||(r=e)):"number"==typeof t&&e<t?r=ri(e,t):e&&(r=e);for(var a="",s=0;s<r;s++)0===s?"n"!==n&&(o=-1===n.indexOf("u")?"l":"u"):o=n[Math.floor(Math.random()*n.length)],a+=i[o][Math.floor(Math.random()*i[o].length)];return a},removeAccents:mr,removeEmpty:function(e){var t=[];if(sr(e))for(var n=0;n<e.length;n++){var r=!1;e[n]&&(sr(e[n])?e[n].length&&(r=!0):ar(e[n])?yr(e[n])&&(r=!0):r=!0),r&&t.push(e[n])}return t},removeExtraSpaces:function(e){return e.replace(/\s+/g," ").trim()},removeHtmlComments:No,removePrivateProp:rr,removeTrailingChars:function(e,t){if(t||(t=" "),t.length){for(;nr(e,-t.length)===t;)e=nr(e,0,e.length-t.length);for(;nr(e,0,t.length)===t;)e=nr(e,t.length)}return e},repeat:function(e,t){return e.repeat(t)},replaceAll:qr,replaceSelection:function(e,t){var n,r,o;if((n=window.getSelection()).getRangeAt&&n.rangeCount){if((r=window.getSelection().getRangeAt(0)).deleteContents(),r.createContextualFragment)o=r.createContextualFragment(e);else{var i=document.createElement("div"),a=void 0;for(i.innerHTML=e,o=document.createDocumentFragment();a=i.firstChild;)o.appendChild(a)}var s=o.firstChild,u=o.lastChild;r.insertNode(o),n.removeAllRanges(),t?(s&&(r.setStartBefore(s),r.setEndAfter(u)),n.addRange(r)):(r.setStartAfter(u),n.addRange(r))}},resize:zo,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,t,n){return void 0===n&&(n=!1),or(e,t,n,!0)},roundDecimal:function(e,t){return Number(Math.round(parseFloat(e+"e"+t+"e-"+t)))},sanitize:function(e,t){void 0===t&&(t="_");for(var n=["[","]","{","}","(",")","-","+","*","/"],r="[",o=0;o<t.length;o++)n.includes(t[o])&&(r+="\\"),r+=t[o];r+="]+";var i=new RegExp(r,"g");return oi(mr(e).replace(/[^a-z0-9]/gi,t).replace(i,t),t)},search:Nr,selectElementText:function(e,t){if(void 0===t&&(t=null),t=t||window,e instanceof HTMLInputElement)e.select();else{var n,r,o=t.document;t.getSelection&&o.createRange?(n=t.getSelection(),(r=o.createRange()).selectNodeContents(e),n.removeAllRanges(),n.addRange(r)):"createTextRange"in o.body&&"function"==typeof o.body.createTextRange&&((r=o.body.createTextRange()).moveToElementText(e),r.select())}},selector:ti,setCookie:function(e,t,n){var r="";if(n){var o=new Date;o.setTime(o.getTime()+24*n*60*60*1e3),r="; expires="+o.toUTCString()}var i=escape(JSON.stringify({value:t}));document.cookie=e+"="+i+r+"; path=/"},setCssVar:function(e,t){0!==e.indexOf("--")&&(e="--"+e),document.documentElement.style.setProperty(e,t)},setNavigationVars:Uo,setProp:function(e,t,n,r,o){void 0===r&&(r=!0),void 0===o&&(o=!0),Object.defineProperty(e,t,{value:n,writable:r,configurable:o})},setProperty:ni,shorten:ii,shortenObj:function e(t,n){void 0===n&&(n=100);var r=ao(t);return ir(r,function(t,o){Gn(t)&&t.length>n?r[o]=ii(t,n):t&&"object"==typeof t&&(r[o]=e(t))}),r},shuffle:function(e){for(var t,n,r=e.length;0!=r;)n=Math.floor(Math.random()*r),r--,t=[e[n],e[r]],e[r]=t[0],e[n]=t[1];return e},simpleHash:xr,simpleHash1:Or,simpleHash2:_r,startChrono:function(e){var t=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"]=t,e},stopChrono:function(e,t){if(this.constructor.chronos[e||"default"]){var n=bbn.fn.microtimestamp()-this.constructor.chronos[e||"default"];return delete this.constructor.chronos[e||"default"],t&&(n=Math.round(n)/1e3),n}throw Error("No chrono with name "+(e||"default"))},stream:function(e,t,n,r,o,i){var a=Wr(e,n,"json"),s=Br(a);if(null==s?void 0:s.loader)return s.loader;n||(n={}),bbn.env.token&&(n._bbn_token=bbn.env.token);var u=new AbortController,c="",l=function(e){if(e.length)for(var n in e=e.indexOf("\n")>-1?bbn.fn.removeEmpty(e.split("\n")):[e])try{t(JSON.parse(e[n]))}catch(e){throw e}},f=bbn.fn.startChrono(),d=fetch(e,{method:"POST",mode:"cors",cache:"no-cache",credentials:"same-origin",headers:{"Content-Type":"application/json"},redirect:"follow",referrerPolicy:"no-referrer",signal:u.signal,body:JSON.stringify(n||{})}).then(function(e){if(bbn.fn.log("RESPONSE IN "+bbn.fn.stopChrono(f,!0)+" SECS"),e.body){var r=e.body.getReader(),o=er(t);r.read().then(function e(s){var u=s.done,f=s.value;if(u)return Pr(a,n),c&&l(c),void(i&&i());if(o)if(c+=Zr(f).trim(),bbn.fn.log(["STREAM RESULT",c.length,c]),c)try{l(c),c=""}catch(e){}else t();else bbn.fn.log(["STREAM SUCCESS IS FN? "+o]);return r.read().then(e)})}}).catch(function(t){var i=axios.isCancel(t);if(Pr(a,n,i),i){var s=1;er(o)&&(s=o(t.message,e)),s&&bo(t.message)}else{s=1;er(r)&&(s=r(t.request,t)),s&&mo(t.request,t.response?t.response.data:"",t.response?t.response.status:t)}});return pr(a,d,u),d},string2ArrayBuffer:function(e){for(var t=new ArrayBuffer(2*e.length),n=new Uint16Array(t),r=0,o=e.length;r<o;r++)n[r]=e.charCodeAt(r);return t},submit:Ho,substr:nr,sum:function(e,t,n,r,o){var i=0;return ir(Ur(e,n,r,o),function(e){var n="function"==typeof t?t(e):e[t];n&&(i+=parseFloat(n)||0)}),i},timestamp:Zo,toCSV:function(e,t,n,r){void 0===t&&(t=","),void 0===n&&(n=""),void 0===r&&(r='"'),t||(t=","),r||(r='"');var o="",i=e.length;return ir(e,function(e,a){var s=sr(e)?e.length:Object.values(e).length,u=0;ir(e,function(e){o+="string"==typeof e?r+qr(r,"\\"+r,e)+r:0===e?"0":e&&e.toString?e.toString():r+r,++u<s&&(o+=t)}),a<i-1&&(o+=n+"\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(){zo()},0)},translate:function(e,t){var n=t?bbn.lng[0===t.indexOf("_")?t:"_"+t]:bbn.lng;or(e,function(e,t){n[t]=e})},treatAjaxArguments:Bo,treatForHash:Mr,trim:oi,uniqString:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n="",r=function(){if(e[o])if("object"==typeof e[o])if(sr(e[o]))n+=JSON.stringify(e[o]);else{var t={};ir(Object.keys(e[o]).sort(),function(n){t[n]=e[o][n]}),n+=JSON.stringify(t)}else"string"!=typeof e[o]?n+=e[o].toString():n+=e[o];else n+="__bbn_empty__"},o=0;o<e.length;o++)r();return jr(n)},unique:Do,upload:function(e,t,n,r,o){void 0===n&&(n=null),void 0===r&&(r=null),void 0===o&&(o=null);var i=function(){return axios.post(e||bbn.env.path,ei(t),{headers:{"Content-Type":"multipart/form-data"},onUploadProgress:function(e){if(o){var t=Math.round(100*e.loaded/e.total);o(t,e.loaded,e.total)}}})};return n||r?i().then(function(e){n&&(tr("SUCCESS",e),n(e))}).catch(function(e){r&&(tr("ERROR",e),r(e))}):i()},warning:Qo,yieldToBrowser:Ao};kt.extend($t),kt.extend(Ft),kt.extend(It),kt.extend(qt),kt.extend(Zt),kt.extend(Qt),kt.extend(on),kt.extend(cn),kt.extend(hn),kt.extend(vn),kt.extend(_n),kt.extend(Tn),kt.extend(Dn),kt.extend(Ln),kt.extend(Bn),kt.extend(Hn),kt.extend(Wn);var si={version:"1.0.1",opt:{_cat:{}},app:{},_:Vn,$:function(e,t){if(null==t?void 0:t.querySelectorAll)return t.querySelectorAll(e);if(t)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:Jn,env:Zn,db:hr,fn:ai,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"}]};return e.axios=st,e.bbn=si,e.dayjs=kt,e.default=si,Object.defineProperty(e,"__esModule",{value:!0}),e}({});
|
|
2
2
|
//# sourceMappingURL=bbn.js.map
|