vito/public/build/assets/app-4c878af7.js
Saeed Vaziry 179d7488e6 build
2023-07-09 23:20:46 +02:00

30 lines
302 KiB
JavaScript
Raw Blame History

function Us(e,n){return function(){return e.apply(n,arguments)}}const{toString:Hs}=Object.prototype,{getPrototypeOf:Ro}=Object,Po=(e=>n=>{const i=Hs.call(n);return e[i]||(e[i]=i.slice(8,-1).toLowerCase())})(Object.create(null)),Bn=e=>(e=e.toLowerCase(),n=>Po(n)===e),vi=e=>n=>typeof n===e,{isArray:xr}=Array,jr=vi("undefined");function Ku(e){return e!==null&&!jr(e)&&e.constructor!==null&&!jr(e.constructor)&&Vn(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const qs=Bn("ArrayBuffer");function Gu(e){let n;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?n=ArrayBuffer.isView(e):n=e&&e.buffer&&qs(e.buffer),n}const Qu=vi("string"),Vn=vi("function"),zs=vi("number"),ko=e=>e!==null&&typeof e=="object",Zu=e=>e===!0||e===!1,ii=e=>{if(Po(e)!=="object")return!1;const n=Ro(e);return(n===null||n===Object.prototype||Object.getPrototypeOf(n)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},ef=Bn("Date"),tf=Bn("File"),nf=Bn("Blob"),rf=Bn("FileList"),of=e=>ko(e)&&Vn(e.pipe),sf=e=>{const n="[object FormData]";return e&&(typeof FormData=="function"&&e instanceof FormData||Hs.call(e)===n||Vn(e.toString)&&e.toString()===n)},af=Bn("URLSearchParams"),uf=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Ur(e,n,{allOwnKeys:i=!1}={}){if(e===null||typeof e>"u")return;let r,o;if(typeof e!="object"&&(e=[e]),xr(e))for(r=0,o=e.length;r<o;r++)n.call(null,e[r],r,e);else{const a=i?Object.getOwnPropertyNames(e):Object.keys(e),f=a.length;let d;for(r=0;r<f;r++)d=a[r],n.call(null,e[d],d,e)}}function $s(e,n){n=n.toLowerCase();const i=Object.keys(e);let r=i.length,o;for(;r-- >0;)if(o=i[r],n===o.toLowerCase())return o;return null}const Ws=(()=>typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global)(),Ys=e=>!jr(e)&&e!==Ws;function eo(){const{caseless:e}=Ys(this)&&this||{},n={},i=(r,o)=>{const a=e&&$s(n,o)||o;ii(n[a])&&ii(r)?n[a]=eo(n[a],r):ii(r)?n[a]=eo({},r):xr(r)?n[a]=r.slice():n[a]=r};for(let r=0,o=arguments.length;r<o;r++)arguments[r]&&Ur(arguments[r],i);return n}const ff=(e,n,i,{allOwnKeys:r}={})=>(Ur(n,(o,a)=>{i&&Vn(o)?e[a]=Us(o,i):e[a]=o},{allOwnKeys:r}),e),cf=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),lf=(e,n,i,r)=>{e.prototype=Object.create(n.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:n.prototype}),i&&Object.assign(e.prototype,i)},hf=(e,n,i,r)=>{let o,a,f;const d={};if(n=n||{},e==null)return n;do{for(o=Object.getOwnPropertyNames(e),a=o.length;a-- >0;)f=o[a],(!r||r(f,e,n))&&!d[f]&&(n[f]=e[f],d[f]=!0);e=i!==!1&&Ro(e)}while(e&&(!i||i(e,n))&&e!==Object.prototype);return n},df=(e,n,i)=>{e=String(e),(i===void 0||i>e.length)&&(i=e.length),i-=n.length;const r=e.indexOf(n,i);return r!==-1&&r===i},pf=e=>{if(!e)return null;if(xr(e))return e;let n=e.length;if(!zs(n))return null;const i=new Array(n);for(;n-- >0;)i[n]=e[n];return i},yf=(e=>n=>e&&n instanceof e)(typeof Uint8Array<"u"&&Ro(Uint8Array)),gf=(e,n)=>{const r=(e&&e[Symbol.iterator]).call(e);let o;for(;(o=r.next())&&!o.done;){const a=o.value;n.call(e,a[0],a[1])}},vf=(e,n)=>{let i;const r=[];for(;(i=e.exec(n))!==null;)r.push(i);return r},xf=Bn("HTMLFormElement"),mf=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(i,r,o){return r.toUpperCase()+o}),xs=(({hasOwnProperty:e})=>(n,i)=>e.call(n,i))(Object.prototype),bf=Bn("RegExp"),Js=(e,n)=>{const i=Object.getOwnPropertyDescriptors(e),r={};Ur(i,(o,a)=>{n(o,a,e)!==!1&&(r[a]=o)}),Object.defineProperties(e,r)},wf=e=>{Js(e,(n,i)=>{if(Vn(e)&&["arguments","caller","callee"].indexOf(i)!==-1)return!1;const r=e[i];if(Vn(r)){if(n.enumerable=!1,"writable"in n){n.writable=!1;return}n.set||(n.set=()=>{throw Error("Can not rewrite read-only method '"+i+"'")})}})},_f=(e,n)=>{const i={},r=o=>{o.forEach(a=>{i[a]=!0})};return xr(e)?r(e):r(String(e).split(n)),i},Sf=()=>{},Tf=(e,n)=>(e=+e,Number.isFinite(e)?e:n),Yi="abcdefghijklmnopqrstuvwxyz",ms="0123456789",Vs={DIGIT:ms,ALPHA:Yi,ALPHA_DIGIT:Yi+Yi.toUpperCase()+ms},Ef=(e=16,n=Vs.ALPHA_DIGIT)=>{let i="";const{length:r}=n;for(;e--;)i+=n[Math.random()*r|0];return i};function Cf(e){return!!(e&&Vn(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const Af=e=>{const n=new Array(10),i=(r,o)=>{if(ko(r)){if(n.indexOf(r)>=0)return;if(!("toJSON"in r)){n[o]=r;const a=xr(r)?[]:{};return Ur(r,(f,d)=>{const b=i(f,o+1);!jr(b)&&(a[d]=b)}),n[o]=void 0,a}}return r};return i(e,0)},ie={isArray:xr,isArrayBuffer:qs,isBuffer:Ku,isFormData:sf,isArrayBufferView:Gu,isString:Qu,isNumber:zs,isBoolean:Zu,isObject:ko,isPlainObject:ii,isUndefined:jr,isDate:ef,isFile:tf,isBlob:nf,isRegExp:bf,isFunction:Vn,isStream:of,isURLSearchParams:af,isTypedArray:yf,isFileList:rf,forEach:Ur,merge:eo,extend:ff,trim:uf,stripBOM:cf,inherits:lf,toFlatObject:hf,kindOf:Po,kindOfTest:Bn,endsWith:df,toArray:pf,forEachEntry:gf,matchAll:vf,isHTMLForm:xf,hasOwnProperty:xs,hasOwnProp:xs,reduceDescriptors:Js,freezeMethods:wf,toObjectSet:_f,toCamelCase:mf,noop:Sf,toFiniteNumber:Tf,findKey:$s,global:Ws,isContextDefined:Ys,ALPHABET:Vs,generateString:Ef,isSpecCompliantForm:Cf,toJSONObject:Af};function ht(e,n,i,r,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",n&&(this.code=n),i&&(this.config=i),r&&(this.request=r),o&&(this.response=o)}ie.inherits(ht,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:ie.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const Xs=ht.prototype,Ks={};["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=>{Ks[e]={value:e}});Object.defineProperties(ht,Ks);Object.defineProperty(Xs,"isAxiosError",{value:!0});ht.from=(e,n,i,r,o,a)=>{const f=Object.create(Xs);return ie.toFlatObject(e,f,function(b){return b!==Error.prototype},d=>d!=="isAxiosError"),ht.call(f,e.message,n,i,r,o),f.cause=e,f.name=e.name,a&&Object.assign(f,a),f};const Of=null;function to(e){return ie.isPlainObject(e)||ie.isArray(e)}function Gs(e){return ie.endsWith(e,"[]")?e.slice(0,-2):e}function bs(e,n,i){return e?e.concat(n).map(function(o,a){return o=Gs(o),!i&&a?"["+o+"]":o}).join(i?".":""):n}function Rf(e){return ie.isArray(e)&&!e.some(to)}const Pf=ie.toFlatObject(ie,{},null,function(n){return/^is[A-Z]/.test(n)});function xi(e,n,i){if(!ie.isObject(e))throw new TypeError("target must be an object");n=n||new FormData,i=ie.toFlatObject(i,{metaTokens:!0,dots:!1,indexes:!1},!1,function(P,I){return!ie.isUndefined(I[P])});const r=i.metaTokens,o=i.visitor||_,a=i.dots,f=i.indexes,b=(i.Blob||typeof Blob<"u"&&Blob)&&ie.isSpecCompliantForm(n);if(!ie.isFunction(o))throw new TypeError("visitor must be a function");function v(S){if(S===null)return"";if(ie.isDate(S))return S.toISOString();if(!b&&ie.isBlob(S))throw new ht("Blob is not supported. Use a Buffer instead.");return ie.isArrayBuffer(S)||ie.isTypedArray(S)?b&&typeof Blob=="function"?new Blob([S]):Buffer.from(S):S}function _(S,P,I){let N=S;if(S&&!I&&typeof S=="object"){if(ie.endsWith(P,"{}"))P=r?P:P.slice(0,-2),S=JSON.stringify(S);else if(ie.isArray(S)&&Rf(S)||(ie.isFileList(S)||ie.endsWith(P,"[]"))&&(N=ie.toArray(S)))return P=Gs(P),N.forEach(function(K,he){!(ie.isUndefined(K)||K===null)&&n.append(f===!0?bs([P],he,a):f===null?P:P+"[]",v(K))}),!1}return to(S)?!0:(n.append(bs(I,P,a),v(S)),!1)}const x=[],O=Object.assign(Pf,{defaultVisitor:_,convertValue:v,isVisitable:to});function C(S,P){if(!ie.isUndefined(S)){if(x.indexOf(S)!==-1)throw Error("Circular reference detected in "+P.join("."));x.push(S),ie.forEach(S,function(N,H){(!(ie.isUndefined(N)||N===null)&&o.call(n,N,ie.isString(H)?H.trim():H,P,O))===!0&&C(N,P?P.concat(H):[H])}),x.pop()}}if(!ie.isObject(e))throw new TypeError("data must be an object");return C(e),n}function ws(e){const n={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return n[r]})}function No(e,n){this._pairs=[],e&&xi(e,this,n)}const Qs=No.prototype;Qs.append=function(n,i){this._pairs.push([n,i])};Qs.toString=function(n){const i=n?function(r){return n.call(this,r,ws)}:ws;return this._pairs.map(function(o){return i(o[0])+"="+i(o[1])},"").join("&")};function kf(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Zs(e,n,i){if(!n)return e;const r=i&&i.encode||kf,o=i&&i.serialize;let a;if(o?a=o(n,i):a=ie.isURLSearchParams(n)?n.toString():new No(n,i).toString(r),a){const f=e.indexOf("#");f!==-1&&(e=e.slice(0,f)),e+=(e.indexOf("?")===-1?"?":"&")+a}return e}class Nf{constructor(){this.handlers=[]}use(n,i,r){return this.handlers.push({fulfilled:n,rejected:i,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(n){this.handlers[n]&&(this.handlers[n]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(n){ie.forEach(this.handlers,function(r){r!==null&&n(r)})}}const _s=Nf,ea={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Lf=typeof URLSearchParams<"u"?URLSearchParams:No,If=typeof FormData<"u"?FormData:null,Mf=typeof Blob<"u"?Blob:null,Df=(()=>{let e;return typeof navigator<"u"&&((e=navigator.product)==="ReactNative"||e==="NativeScript"||e==="NS")?!1:typeof window<"u"&&typeof document<"u"})(),jf=(()=>typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function")(),Rn={isBrowser:!0,classes:{URLSearchParams:Lf,FormData:If,Blob:Mf},isStandardBrowserEnv:Df,isStandardBrowserWebWorkerEnv:jf,protocols:["http","https","file","blob","url","data"]};function Ff(e,n){return xi(e,new Rn.classes.URLSearchParams,Object.assign({visitor:function(i,r,o,a){return Rn.isNode&&ie.isBuffer(i)?(this.append(r,i.toString("base64")),!1):a.defaultVisitor.apply(this,arguments)}},n))}function Bf(e){return ie.matchAll(/\w+|\[(\w*)]/g,e).map(n=>n[0]==="[]"?"":n[1]||n[0])}function Uf(e){const n={},i=Object.keys(e);let r;const o=i.length;let a;for(r=0;r<o;r++)a=i[r],n[a]=e[a];return n}function ta(e){function n(i,r,o,a){let f=i[a++];const d=Number.isFinite(+f),b=a>=i.length;return f=!f&&ie.isArray(o)?o.length:f,b?(ie.hasOwnProp(o,f)?o[f]=[o[f],r]:o[f]=r,!d):((!o[f]||!ie.isObject(o[f]))&&(o[f]=[]),n(i,r,o[f],a)&&ie.isArray(o[f])&&(o[f]=Uf(o[f])),!d)}if(ie.isFormData(e)&&ie.isFunction(e.entries)){const i={};return ie.forEachEntry(e,(r,o)=>{n(Bf(r),o,i,0)}),i}return null}const Hf={"Content-Type":void 0};function qf(e,n,i){if(ie.isString(e))try{return(n||JSON.parse)(e),ie.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(i||JSON.stringify)(e)}const mi={transitional:ea,adapter:["xhr","http"],transformRequest:[function(n,i){const r=i.getContentType()||"",o=r.indexOf("application/json")>-1,a=ie.isObject(n);if(a&&ie.isHTMLForm(n)&&(n=new FormData(n)),ie.isFormData(n))return o&&o?JSON.stringify(ta(n)):n;if(ie.isArrayBuffer(n)||ie.isBuffer(n)||ie.isStream(n)||ie.isFile(n)||ie.isBlob(n))return n;if(ie.isArrayBufferView(n))return n.buffer;if(ie.isURLSearchParams(n))return i.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),n.toString();let d;if(a){if(r.indexOf("application/x-www-form-urlencoded")>-1)return Ff(n,this.formSerializer).toString();if((d=ie.isFileList(n))||r.indexOf("multipart/form-data")>-1){const b=this.env&&this.env.FormData;return xi(d?{"files[]":n}:n,b&&new b,this.formSerializer)}}return a||o?(i.setContentType("application/json",!1),qf(n)):n}],transformResponse:[function(n){const i=this.transitional||mi.transitional,r=i&&i.forcedJSONParsing,o=this.responseType==="json";if(n&&ie.isString(n)&&(r&&!this.responseType||o)){const f=!(i&&i.silentJSONParsing)&&o;try{return JSON.parse(n)}catch(d){if(f)throw d.name==="SyntaxError"?ht.from(d,ht.ERR_BAD_RESPONSE,this,null,this.response):d}}return n}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Rn.classes.FormData,Blob:Rn.classes.Blob},validateStatus:function(n){return n>=200&&n<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};ie.forEach(["delete","get","head"],function(n){mi.headers[n]={}});ie.forEach(["post","put","patch"],function(n){mi.headers[n]=ie.merge(Hf)});const Lo=mi,zf=ie.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"]),$f=e=>{const n={};let i,r,o;return e&&e.split(`
`).forEach(function(f){o=f.indexOf(":"),i=f.substring(0,o).trim().toLowerCase(),r=f.substring(o+1).trim(),!(!i||n[i]&&zf[i])&&(i==="set-cookie"?n[i]?n[i].push(r):n[i]=[r]:n[i]=n[i]?n[i]+", "+r:r)}),n},Ss=Symbol("internals");function Pr(e){return e&&String(e).trim().toLowerCase()}function oi(e){return e===!1||e==null?e:ie.isArray(e)?e.map(oi):String(e)}function Wf(e){const n=Object.create(null),i=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=i.exec(e);)n[r[1]]=r[2];return n}const Yf=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Ji(e,n,i,r,o){if(ie.isFunction(r))return r.call(this,n,i);if(o&&(n=i),!!ie.isString(n)){if(ie.isString(r))return n.indexOf(r)!==-1;if(ie.isRegExp(r))return r.test(n)}}function Jf(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(n,i,r)=>i.toUpperCase()+r)}function Vf(e,n){const i=ie.toCamelCase(" "+n);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+i,{value:function(o,a,f){return this[r].call(this,n,o,a,f)},configurable:!0})})}class bi{constructor(n){n&&this.set(n)}set(n,i,r){const o=this;function a(d,b,v){const _=Pr(b);if(!_)throw new Error("header name must be a non-empty string");const x=ie.findKey(o,_);(!x||o[x]===void 0||v===!0||v===void 0&&o[x]!==!1)&&(o[x||b]=oi(d))}const f=(d,b)=>ie.forEach(d,(v,_)=>a(v,_,b));return ie.isPlainObject(n)||n instanceof this.constructor?f(n,i):ie.isString(n)&&(n=n.trim())&&!Yf(n)?f($f(n),i):n!=null&&a(i,n,r),this}get(n,i){if(n=Pr(n),n){const r=ie.findKey(this,n);if(r){const o=this[r];if(!i)return o;if(i===!0)return Wf(o);if(ie.isFunction(i))return i.call(this,o,r);if(ie.isRegExp(i))return i.exec(o);throw new TypeError("parser must be boolean|regexp|function")}}}has(n,i){if(n=Pr(n),n){const r=ie.findKey(this,n);return!!(r&&this[r]!==void 0&&(!i||Ji(this,this[r],r,i)))}return!1}delete(n,i){const r=this;let o=!1;function a(f){if(f=Pr(f),f){const d=ie.findKey(r,f);d&&(!i||Ji(r,r[d],d,i))&&(delete r[d],o=!0)}}return ie.isArray(n)?n.forEach(a):a(n),o}clear(n){const i=Object.keys(this);let r=i.length,o=!1;for(;r--;){const a=i[r];(!n||Ji(this,this[a],a,n,!0))&&(delete this[a],o=!0)}return o}normalize(n){const i=this,r={};return ie.forEach(this,(o,a)=>{const f=ie.findKey(r,a);if(f){i[f]=oi(o),delete i[a];return}const d=n?Jf(a):String(a).trim();d!==a&&delete i[a],i[d]=oi(o),r[d]=!0}),this}concat(...n){return this.constructor.concat(this,...n)}toJSON(n){const i=Object.create(null);return ie.forEach(this,(r,o)=>{r!=null&&r!==!1&&(i[o]=n&&ie.isArray(r)?r.join(", "):r)}),i}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([n,i])=>n+": "+i).join(`
`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(n){return n instanceof this?n:new this(n)}static concat(n,...i){const r=new this(n);return i.forEach(o=>r.set(o)),r}static accessor(n){const r=(this[Ss]=this[Ss]={accessors:{}}).accessors,o=this.prototype;function a(f){const d=Pr(f);r[d]||(Vf(o,f),r[d]=!0)}return ie.isArray(n)?n.forEach(a):a(n),this}}bi.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);ie.freezeMethods(bi.prototype);ie.freezeMethods(bi);const Fn=bi;function Vi(e,n){const i=this||Lo,r=n||i,o=Fn.from(r.headers);let a=r.data;return ie.forEach(e,function(d){a=d.call(i,a,o.normalize(),n?n.status:void 0)}),o.normalize(),a}function na(e){return!!(e&&e.__CANCEL__)}function Hr(e,n,i){ht.call(this,e??"canceled",ht.ERR_CANCELED,n,i),this.name="CanceledError"}ie.inherits(Hr,ht,{__CANCEL__:!0});function Xf(e,n,i){const r=i.config.validateStatus;!i.status||!r||r(i.status)?e(i):n(new ht("Request failed with status code "+i.status,[ht.ERR_BAD_REQUEST,ht.ERR_BAD_RESPONSE][Math.floor(i.status/100)-4],i.config,i.request,i))}const Kf=Rn.isStandardBrowserEnv?function(){return{write:function(i,r,o,a,f,d){const b=[];b.push(i+"="+encodeURIComponent(r)),ie.isNumber(o)&&b.push("expires="+new Date(o).toGMTString()),ie.isString(a)&&b.push("path="+a),ie.isString(f)&&b.push("domain="+f),d===!0&&b.push("secure"),document.cookie=b.join("; ")},read:function(i){const r=document.cookie.match(new RegExp("(^|;\\s*)("+i+")=([^;]*)"));return r?decodeURIComponent(r[3]):null},remove:function(i){this.write(i,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}();function Gf(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function Qf(e,n){return n?e.replace(/\/+$/,"")+"/"+n.replace(/^\/+/,""):e}function ra(e,n){return e&&!Gf(n)?Qf(e,n):n}const Zf=Rn.isStandardBrowserEnv?function(){const n=/(msie|trident)/i.test(navigator.userAgent),i=document.createElement("a");let r;function o(a){let f=a;return n&&(i.setAttribute("href",f),f=i.href),i.setAttribute("href",f),{href:i.href,protocol:i.protocol?i.protocol.replace(/:$/,""):"",host:i.host,search:i.search?i.search.replace(/^\?/,""):"",hash:i.hash?i.hash.replace(/^#/,""):"",hostname:i.hostname,port:i.port,pathname:i.pathname.charAt(0)==="/"?i.pathname:"/"+i.pathname}}return r=o(window.location.href),function(f){const d=ie.isString(f)?o(f):f;return d.protocol===r.protocol&&d.host===r.host}}():function(){return function(){return!0}}();function ec(e){const n=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return n&&n[1]||""}function tc(e,n){e=e||10;const i=new Array(e),r=new Array(e);let o=0,a=0,f;return n=n!==void 0?n:1e3,function(b){const v=Date.now(),_=r[a];f||(f=v),i[o]=b,r[o]=v;let x=a,O=0;for(;x!==o;)O+=i[x++],x=x%e;if(o=(o+1)%e,o===a&&(a=(a+1)%e),v-f<n)return;const C=_&&v-_;return C?Math.round(O*1e3/C):void 0}}function Ts(e,n){let i=0;const r=tc(50,250);return o=>{const a=o.loaded,f=o.lengthComputable?o.total:void 0,d=a-i,b=r(d),v=a<=f;i=a;const _={loaded:a,total:f,progress:f?a/f:void 0,bytes:d,rate:b||void 0,estimated:b&&f&&v?(f-a)/b:void 0,event:o};_[n?"download":"upload"]=!0,e(_)}}const nc=typeof XMLHttpRequest<"u",rc=nc&&function(e){return new Promise(function(i,r){let o=e.data;const a=Fn.from(e.headers).normalize(),f=e.responseType;let d;function b(){e.cancelToken&&e.cancelToken.unsubscribe(d),e.signal&&e.signal.removeEventListener("abort",d)}ie.isFormData(o)&&(Rn.isStandardBrowserEnv||Rn.isStandardBrowserWebWorkerEnv)&&a.setContentType(!1);let v=new XMLHttpRequest;if(e.auth){const C=e.auth.username||"",S=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";a.set("Authorization","Basic "+btoa(C+":"+S))}const _=ra(e.baseURL,e.url);v.open(e.method.toUpperCase(),Zs(_,e.params,e.paramsSerializer),!0),v.timeout=e.timeout;function x(){if(!v)return;const C=Fn.from("getAllResponseHeaders"in v&&v.getAllResponseHeaders()),P={data:!f||f==="text"||f==="json"?v.responseText:v.response,status:v.status,statusText:v.statusText,headers:C,config:e,request:v};Xf(function(N){i(N),b()},function(N){r(N),b()},P),v=null}if("onloadend"in v?v.onloadend=x:v.onreadystatechange=function(){!v||v.readyState!==4||v.status===0&&!(v.responseURL&&v.responseURL.indexOf("file:")===0)||setTimeout(x)},v.onabort=function(){v&&(r(new ht("Request aborted",ht.ECONNABORTED,e,v)),v=null)},v.onerror=function(){r(new ht("Network Error",ht.ERR_NETWORK,e,v)),v=null},v.ontimeout=function(){let S=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const P=e.transitional||ea;e.timeoutErrorMessage&&(S=e.timeoutErrorMessage),r(new ht(S,P.clarifyTimeoutError?ht.ETIMEDOUT:ht.ECONNABORTED,e,v)),v=null},Rn.isStandardBrowserEnv){const C=(e.withCredentials||Zf(_))&&e.xsrfCookieName&&Kf.read(e.xsrfCookieName);C&&a.set(e.xsrfHeaderName,C)}o===void 0&&a.setContentType(null),"setRequestHeader"in v&&ie.forEach(a.toJSON(),function(S,P){v.setRequestHeader(P,S)}),ie.isUndefined(e.withCredentials)||(v.withCredentials=!!e.withCredentials),f&&f!=="json"&&(v.responseType=e.responseType),typeof e.onDownloadProgress=="function"&&v.addEventListener("progress",Ts(e.onDownloadProgress,!0)),typeof e.onUploadProgress=="function"&&v.upload&&v.upload.addEventListener("progress",Ts(e.onUploadProgress)),(e.cancelToken||e.signal)&&(d=C=>{v&&(r(!C||C.type?new Hr(null,e,v):C),v.abort(),v=null)},e.cancelToken&&e.cancelToken.subscribe(d),e.signal&&(e.signal.aborted?d():e.signal.addEventListener("abort",d)));const O=ec(_);if(O&&Rn.protocols.indexOf(O)===-1){r(new ht("Unsupported protocol "+O+":",ht.ERR_BAD_REQUEST,e));return}v.send(o||null)})},si={http:Of,xhr:rc};ie.forEach(si,(e,n)=>{if(e){try{Object.defineProperty(e,"name",{value:n})}catch{}Object.defineProperty(e,"adapterName",{value:n})}});const ic={getAdapter:e=>{e=ie.isArray(e)?e:[e];const{length:n}=e;let i,r;for(let o=0;o<n&&(i=e[o],!(r=ie.isString(i)?si[i.toLowerCase()]:i));o++);if(!r)throw r===!1?new ht(`Adapter ${i} is not supported by the environment`,"ERR_NOT_SUPPORT"):new Error(ie.hasOwnProp(si,i)?`Adapter '${i}' is not available in the build`:`Unknown adapter '${i}'`);if(!ie.isFunction(r))throw new TypeError("adapter is not a function");return r},adapters:si};function Xi(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Hr(null,e)}function Es(e){return Xi(e),e.headers=Fn.from(e.headers),e.data=Vi.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),ic.getAdapter(e.adapter||Lo.adapter)(e).then(function(r){return Xi(e),r.data=Vi.call(e,e.transformResponse,r),r.headers=Fn.from(r.headers),r},function(r){return na(r)||(Xi(e),r&&r.response&&(r.response.data=Vi.call(e,e.transformResponse,r.response),r.response.headers=Fn.from(r.response.headers))),Promise.reject(r)})}const Cs=e=>e instanceof Fn?e.toJSON():e;function pr(e,n){n=n||{};const i={};function r(v,_,x){return ie.isPlainObject(v)&&ie.isPlainObject(_)?ie.merge.call({caseless:x},v,_):ie.isPlainObject(_)?ie.merge({},_):ie.isArray(_)?_.slice():_}function o(v,_,x){if(ie.isUndefined(_)){if(!ie.isUndefined(v))return r(void 0,v,x)}else return r(v,_,x)}function a(v,_){if(!ie.isUndefined(_))return r(void 0,_)}function f(v,_){if(ie.isUndefined(_)){if(!ie.isUndefined(v))return r(void 0,v)}else return r(void 0,_)}function d(v,_,x){if(x in n)return r(v,_);if(x in e)return r(void 0,v)}const b={url:a,method:a,data:a,baseURL:f,transformRequest:f,transformResponse:f,paramsSerializer:f,timeout:f,timeoutMessage:f,withCredentials:f,adapter:f,responseType:f,xsrfCookieName:f,xsrfHeaderName:f,onUploadProgress:f,onDownloadProgress:f,decompress:f,maxContentLength:f,maxBodyLength:f,beforeRedirect:f,transport:f,httpAgent:f,httpsAgent:f,cancelToken:f,socketPath:f,responseEncoding:f,validateStatus:d,headers:(v,_)=>o(Cs(v),Cs(_),!0)};return ie.forEach(Object.keys(e).concat(Object.keys(n)),function(_){const x=b[_]||o,O=x(e[_],n[_],_);ie.isUndefined(O)&&x!==d||(i[_]=O)}),i}const ia="1.3.5",Io={};["object","boolean","number","function","string","symbol"].forEach((e,n)=>{Io[e]=function(r){return typeof r===e||"a"+(n<1?"n ":" ")+e}});const As={};Io.transitional=function(n,i,r){function o(a,f){return"[Axios v"+ia+"] Transitional option '"+a+"'"+f+(r?". "+r:"")}return(a,f,d)=>{if(n===!1)throw new ht(o(f," has been removed"+(i?" in "+i:"")),ht.ERR_DEPRECATED);return i&&!As[f]&&(As[f]=!0,console.warn(o(f," has been deprecated since v"+i+" and will be removed in the near future"))),n?n(a,f,d):!0}};function oc(e,n,i){if(typeof e!="object")throw new ht("options must be an object",ht.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let o=r.length;for(;o-- >0;){const a=r[o],f=n[a];if(f){const d=e[a],b=d===void 0||f(d,a,e);if(b!==!0)throw new ht("option "+a+" must be "+b,ht.ERR_BAD_OPTION_VALUE);continue}if(i!==!0)throw new ht("Unknown option "+a,ht.ERR_BAD_OPTION)}}const no={assertOptions:oc,validators:Io},Yn=no.validators;class fi{constructor(n){this.defaults=n,this.interceptors={request:new _s,response:new _s}}request(n,i){typeof n=="string"?(i=i||{},i.url=n):i=n||{},i=pr(this.defaults,i);const{transitional:r,paramsSerializer:o,headers:a}=i;r!==void 0&&no.assertOptions(r,{silentJSONParsing:Yn.transitional(Yn.boolean),forcedJSONParsing:Yn.transitional(Yn.boolean),clarifyTimeoutError:Yn.transitional(Yn.boolean)},!1),o!=null&&(ie.isFunction(o)?i.paramsSerializer={serialize:o}:no.assertOptions(o,{encode:Yn.function,serialize:Yn.function},!0)),i.method=(i.method||this.defaults.method||"get").toLowerCase();let f;f=a&&ie.merge(a.common,a[i.method]),f&&ie.forEach(["delete","get","head","post","put","patch","common"],S=>{delete a[S]}),i.headers=Fn.concat(f,a);const d=[];let b=!0;this.interceptors.request.forEach(function(P){typeof P.runWhen=="function"&&P.runWhen(i)===!1||(b=b&&P.synchronous,d.unshift(P.fulfilled,P.rejected))});const v=[];this.interceptors.response.forEach(function(P){v.push(P.fulfilled,P.rejected)});let _,x=0,O;if(!b){const S=[Es.bind(this),void 0];for(S.unshift.apply(S,d),S.push.apply(S,v),O=S.length,_=Promise.resolve(i);x<O;)_=_.then(S[x++],S[x++]);return _}O=d.length;let C=i;for(x=0;x<O;){const S=d[x++],P=d[x++];try{C=S(C)}catch(I){P.call(this,I);break}}try{_=Es.call(this,C)}catch(S){return Promise.reject(S)}for(x=0,O=v.length;x<O;)_=_.then(v[x++],v[x++]);return _}getUri(n){n=pr(this.defaults,n);const i=ra(n.baseURL,n.url);return Zs(i,n.params,n.paramsSerializer)}}ie.forEach(["delete","get","head","options"],function(n){fi.prototype[n]=function(i,r){return this.request(pr(r||{},{method:n,url:i,data:(r||{}).data}))}});ie.forEach(["post","put","patch"],function(n){function i(r){return function(a,f,d){return this.request(pr(d||{},{method:n,headers:r?{"Content-Type":"multipart/form-data"}:{},url:a,data:f}))}}fi.prototype[n]=i(),fi.prototype[n+"Form"]=i(!0)});const ai=fi;class Mo{constructor(n){if(typeof n!="function")throw new TypeError("executor must be a function.");let i;this.promise=new Promise(function(a){i=a});const r=this;this.promise.then(o=>{if(!r._listeners)return;let a=r._listeners.length;for(;a-- >0;)r._listeners[a](o);r._listeners=null}),this.promise.then=o=>{let a;const f=new Promise(d=>{r.subscribe(d),a=d}).then(o);return f.cancel=function(){r.unsubscribe(a)},f},n(function(a,f,d){r.reason||(r.reason=new Hr(a,f,d),i(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(n){if(this.reason){n(this.reason);return}this._listeners?this._listeners.push(n):this._listeners=[n]}unsubscribe(n){if(!this._listeners)return;const i=this._listeners.indexOf(n);i!==-1&&this._listeners.splice(i,1)}static source(){let n;return{token:new Mo(function(o){n=o}),cancel:n}}}const sc=Mo;function ac(e){return function(i){return e.apply(null,i)}}function uc(e){return ie.isObject(e)&&e.isAxiosError===!0}const ro={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(ro).forEach(([e,n])=>{ro[n]=e});const fc=ro;function oa(e){const n=new ai(e),i=Us(ai.prototype.request,n);return ie.extend(i,ai.prototype,n,{allOwnKeys:!0}),ie.extend(i,n,null,{allOwnKeys:!0}),i.create=function(o){return oa(pr(e,o))},i}const Jt=oa(Lo);Jt.Axios=ai;Jt.CanceledError=Hr;Jt.CancelToken=sc;Jt.isCancel=na;Jt.VERSION=ia;Jt.toFormData=xi;Jt.AxiosError=ht;Jt.Cancel=Jt.CanceledError;Jt.all=function(n){return Promise.all(n)};Jt.spread=ac;Jt.isAxiosError=uc;Jt.mergeConfig=pr;Jt.AxiosHeaders=Fn;Jt.formToJSON=e=>ta(ie.isHTMLForm(e)?new FormData(e):e);Jt.HttpStatusCode=fc;Jt.default=Jt;const cc=Jt;var sa=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function lc(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var oo={},hc={get exports(){return oo},set exports(e){oo=e}},ci={},dc={get exports(){return ci},set exports(e){ci=e}};/*!
* jQuery JavaScript Library v3.6.4
* https://jquery.com/
*
* Includes Sizzle.js
* https://sizzlejs.com/
*
* Copyright OpenJS Foundation and other contributors
* Released under the MIT license
* https://jquery.org/license
*
* Date: 2023-03-08T15:28Z
*/var Os;function pc(){return Os||(Os=1,function(e){(function(n,i){e.exports=n.document?i(n,!0):function(r){if(!r.document)throw new Error("jQuery requires a window with a document");return i(r)}})(typeof window<"u"?window:sa,function(n,i){var r=[],o=Object.getPrototypeOf,a=r.slice,f=r.flat?function(t){return r.flat.call(t)}:function(t){return r.concat.apply([],t)},d=r.push,b=r.indexOf,v={},_=v.toString,x=v.hasOwnProperty,O=x.toString,C=O.call(Object),S={},P=function(s){return typeof s=="function"&&typeof s.nodeType!="number"&&typeof s.item!="function"},I=function(s){return s!=null&&s===s.window},N=n.document,H={type:!0,src:!0,nonce:!0,noModule:!0};function K(t,s,u){u=u||N;var l,m,w=u.createElement("script");if(w.text=t,s)for(l in H)m=s[l]||s.getAttribute&&s.getAttribute(l),m&&w.setAttribute(l,m);u.head.appendChild(w).parentNode.removeChild(w)}function he(t){return t==null?t+"":typeof t=="object"||typeof t=="function"?v[_.call(t)]||"object":typeof t}var me="3.6.4",h=function(t,s){return new h.fn.init(t,s)};h.fn=h.prototype={jquery:me,constructor:h,length:0,toArray:function(){return a.call(this)},get:function(t){return t==null?a.call(this):t<0?this[t+this.length]:this[t]},pushStack:function(t){var s=h.merge(this.constructor(),t);return s.prevObject=this,s},each:function(t){return h.each(this,t)},map:function(t){return this.pushStack(h.map(this,function(s,u){return t.call(s,u,s)}))},slice:function(){return this.pushStack(a.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(h.grep(this,function(t,s){return(s+1)%2}))},odd:function(){return this.pushStack(h.grep(this,function(t,s){return s%2}))},eq:function(t){var s=this.length,u=+t+(t<0?s:0);return this.pushStack(u>=0&&u<s?[this[u]]:[])},end:function(){return this.prevObject||this.constructor()},push:d,sort:r.sort,splice:r.splice},h.extend=h.fn.extend=function(){var t,s,u,l,m,w,T=arguments[0]||{},B=1,D=arguments.length,W=!1;for(typeof T=="boolean"&&(W=T,T=arguments[B]||{},B++),typeof T!="object"&&!P(T)&&(T={}),B===D&&(T=this,B--);B<D;B++)if((t=arguments[B])!=null)for(s in t)l=t[s],!(s==="__proto__"||T===l)&&(W&&l&&(h.isPlainObject(l)||(m=Array.isArray(l)))?(u=T[s],m&&!Array.isArray(u)?w=[]:!m&&!h.isPlainObject(u)?w={}:w=u,m=!1,T[s]=h.extend(W,w,l)):l!==void 0&&(T[s]=l));return T},h.extend({expando:"jQuery"+(me+Math.random()).replace(/\D/g,""),isReady:!0,error:function(t){throw new Error(t)},noop:function(){},isPlainObject:function(t){var s,u;return!t||_.call(t)!=="[object Object]"?!1:(s=o(t),s?(u=x.call(s,"constructor")&&s.constructor,typeof u=="function"&&O.call(u)===C):!0)},isEmptyObject:function(t){var s;for(s in t)return!1;return!0},globalEval:function(t,s,u){K(t,{nonce:s&&s.nonce},u)},each:function(t,s){var u,l=0;if(Me(t))for(u=t.length;l<u&&s.call(t[l],l,t[l])!==!1;l++);else for(l in t)if(s.call(t[l],l,t[l])===!1)break;return t},makeArray:function(t,s){var u=s||[];return t!=null&&(Me(Object(t))?h.merge(u,typeof t=="string"?[t]:t):d.call(u,t)),u},inArray:function(t,s,u){return s==null?-1:b.call(s,t,u)},merge:function(t,s){for(var u=+s.length,l=0,m=t.length;l<u;l++)t[m++]=s[l];return t.length=m,t},grep:function(t,s,u){for(var l,m=[],w=0,T=t.length,B=!u;w<T;w++)l=!s(t[w],w),l!==B&&m.push(t[w]);return m},map:function(t,s,u){var l,m,w=0,T=[];if(Me(t))for(l=t.length;w<l;w++)m=s(t[w],w,u),m!=null&&T.push(m);else for(w in t)m=s(t[w],w,u),m!=null&&T.push(m);return f(T)},guid:1,support:S}),typeof Symbol=="function"&&(h.fn[Symbol.iterator]=r[Symbol.iterator]),h.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(t,s){v["[object "+s+"]"]=s.toLowerCase()});function Me(t){var s=!!t&&"length"in t&&t.length,u=he(t);return P(t)||I(t)?!1:u==="array"||s===0||typeof s=="number"&&s>0&&s-1 in t}var tt=function(t){var s,u,l,m,w,T,B,D,W,ee,de,V,te,Le,Ze,Ne,Wt,Ht,fn,xt="sizzle"+1*new Date,Ke=t.document,an=0,lt=0,Pt=Zr(),Cr=Zr(),Kr=Zr(),cn=Zr(),tr=function(R,F){return R===F&&(de=!0),0},nr={}.hasOwnProperty,un=[],$n=un.pop,mn=un.push,Wn=un.push,fs=un.slice,rr=function(R,F){for(var U=0,ne=R.length;U<ne;U++)if(R[U]===F)return U;return-1},Fi="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",yt="[\\x20\\t\\r\\n\\f]",ir="(?:\\\\[\\da-fA-F]{1,6}"+yt+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",cs="\\["+yt+"*("+ir+")(?:"+yt+"*([*^$|!~]?=)"+yt+`*(?:'((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)"|(`+ir+"))|)"+yt+"*\\]",Bi=":("+ir+`)(?:\\((('((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)")|((?:\\\\.|[^\\\\()[\\]]|`+cs+")*)|.*)\\)|)",Du=new RegExp(yt+"+","g"),Gr=new RegExp("^"+yt+"+|((?:^|[^\\\\])(?:\\\\.)*)"+yt+"+$","g"),ju=new RegExp("^"+yt+"*,"+yt+"*"),ls=new RegExp("^"+yt+"*([>+~]|"+yt+")"+yt+"*"),Fu=new RegExp(yt+"|>"),Bu=new RegExp(Bi),Uu=new RegExp("^"+ir+"$"),Qr={ID:new RegExp("^#("+ir+")"),CLASS:new RegExp("^\\.("+ir+")"),TAG:new RegExp("^("+ir+"|[*])"),ATTR:new RegExp("^"+cs),PSEUDO:new RegExp("^"+Bi),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+yt+"*(even|odd|(([+-]|)(\\d*)n|)"+yt+"*(?:([+-]|)"+yt+"*(\\d+)|))"+yt+"*\\)|)","i"),bool:new RegExp("^(?:"+Fi+")$","i"),needsContext:new RegExp("^"+yt+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+yt+"*((?:-\\d)?\\d*)"+yt+"*\\)|)(?=[^-]|$)","i")},Hu=/HTML$/i,qu=/^(?:input|select|textarea|button)$/i,zu=/^h\d$/i,Ar=/^[^{]+\{\s*\[native \w/,$u=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,Ui=/[+~]/,Dn=new RegExp("\\\\[\\da-fA-F]{1,6}"+yt+"?|\\\\([^\\r\\n\\f])","g"),jn=function(R,F){var U="0x"+R.slice(1)-65536;return F||(U<0?String.fromCharCode(U+65536):String.fromCharCode(U>>10|55296,U&1023|56320))},hs=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,ds=function(R,F){return F?R==="\0"?"<EFBFBD>":R.slice(0,-1)+"\\"+R.charCodeAt(R.length-1).toString(16)+" ":"\\"+R},ps=function(){V()},Wu=ti(function(R){return R.disabled===!0&&R.nodeName.toLowerCase()==="fieldset"},{dir:"parentNode",next:"legend"});try{Wn.apply(un=fs.call(Ke.childNodes),Ke.childNodes),un[Ke.childNodes.length].nodeType}catch{Wn={apply:un.length?function(F,U){mn.apply(F,fs.call(U))}:function(F,U){for(var ne=F.length,z=0;F[ne++]=U[z++];);F.length=ne-1}}}function wt(R,F,U,ne){var z,se,pe,xe,Se,je,Ie,He=F&&F.ownerDocument,it=F?F.nodeType:9;if(U=U||[],typeof R!="string"||!R||it!==1&&it!==9&&it!==11)return U;if(!ne&&(V(F),F=F||te,Ze)){if(it!==11&&(Se=$u.exec(R)))if(z=Se[1]){if(it===9)if(pe=F.getElementById(z)){if(pe.id===z)return U.push(pe),U}else return U;else if(He&&(pe=He.getElementById(z))&&fn(F,pe)&&pe.id===z)return U.push(pe),U}else{if(Se[2])return Wn.apply(U,F.getElementsByTagName(R)),U;if((z=Se[3])&&u.getElementsByClassName&&F.getElementsByClassName)return Wn.apply(U,F.getElementsByClassName(z)),U}if(u.qsa&&!cn[R+" "]&&(!Ne||!Ne.test(R))&&(it!==1||F.nodeName.toLowerCase()!=="object")){if(Ie=R,He=F,it===1&&(Fu.test(R)||ls.test(R))){for(He=Ui.test(R)&&qi(F.parentNode)||F,(He!==F||!u.scope)&&((xe=F.getAttribute("id"))?xe=xe.replace(hs,ds):F.setAttribute("id",xe=xt)),je=T(R),se=je.length;se--;)je[se]=(xe?"#"+xe:":scope")+" "+ei(je[se]);Ie=je.join(",")}try{return Wn.apply(U,He.querySelectorAll(Ie)),U}catch{cn(R,!0)}finally{xe===xt&&F.removeAttribute("id")}}}return D(R.replace(Gr,"$1"),F,U,ne)}function Zr(){var R=[];function F(U,ne){return R.push(U+" ")>l.cacheLength&&delete F[R.shift()],F[U+" "]=ne}return F}function Sn(R){return R[xt]=!0,R}function bn(R){var F=te.createElement("fieldset");try{return!!R(F)}catch{return!1}finally{F.parentNode&&F.parentNode.removeChild(F),F=null}}function Hi(R,F){for(var U=R.split("|"),ne=U.length;ne--;)l.attrHandle[U[ne]]=F}function ys(R,F){var U=F&&R,ne=U&&R.nodeType===1&&F.nodeType===1&&R.sourceIndex-F.sourceIndex;if(ne)return ne;if(U){for(;U=U.nextSibling;)if(U===F)return-1}return R?1:-1}function Yu(R){return function(F){var U=F.nodeName.toLowerCase();return U==="input"&&F.type===R}}function Ju(R){return function(F){var U=F.nodeName.toLowerCase();return(U==="input"||U==="button")&&F.type===R}}function gs(R){return function(F){return"form"in F?F.parentNode&&F.disabled===!1?"label"in F?"label"in F.parentNode?F.parentNode.disabled===R:F.disabled===R:F.isDisabled===R||F.isDisabled!==!R&&Wu(F)===R:F.disabled===R:"label"in F?F.disabled===R:!1}}function or(R){return Sn(function(F){return F=+F,Sn(function(U,ne){for(var z,se=R([],U.length,F),pe=se.length;pe--;)U[z=se[pe]]&&(U[z]=!(ne[z]=U[z]))})})}function qi(R){return R&&typeof R.getElementsByTagName<"u"&&R}u=wt.support={},w=wt.isXML=function(R){var F=R&&R.namespaceURI,U=R&&(R.ownerDocument||R).documentElement;return!Hu.test(F||U&&U.nodeName||"HTML")},V=wt.setDocument=function(R){var F,U,ne=R?R.ownerDocument||R:Ke;return ne==te||ne.nodeType!==9||!ne.documentElement||(te=ne,Le=te.documentElement,Ze=!w(te),Ke!=te&&(U=te.defaultView)&&U.top!==U&&(U.addEventListener?U.addEventListener("unload",ps,!1):U.attachEvent&&U.attachEvent("onunload",ps)),u.scope=bn(function(z){return Le.appendChild(z).appendChild(te.createElement("div")),typeof z.querySelectorAll<"u"&&!z.querySelectorAll(":scope fieldset div").length}),u.cssHas=bn(function(){try{return te.querySelector(":has(*,:jqfake)"),!1}catch{return!0}}),u.attributes=bn(function(z){return z.className="i",!z.getAttribute("className")}),u.getElementsByTagName=bn(function(z){return z.appendChild(te.createComment("")),!z.getElementsByTagName("*").length}),u.getElementsByClassName=Ar.test(te.getElementsByClassName),u.getById=bn(function(z){return Le.appendChild(z).id=xt,!te.getElementsByName||!te.getElementsByName(xt).length}),u.getById?(l.filter.ID=function(z){var se=z.replace(Dn,jn);return function(pe){return pe.getAttribute("id")===se}},l.find.ID=function(z,se){if(typeof se.getElementById<"u"&&Ze){var pe=se.getElementById(z);return pe?[pe]:[]}}):(l.filter.ID=function(z){var se=z.replace(Dn,jn);return function(pe){var xe=typeof pe.getAttributeNode<"u"&&pe.getAttributeNode("id");return xe&&xe.value===se}},l.find.ID=function(z,se){if(typeof se.getElementById<"u"&&Ze){var pe,xe,Se,je=se.getElementById(z);if(je){if(pe=je.getAttributeNode("id"),pe&&pe.value===z)return[je];for(Se=se.getElementsByName(z),xe=0;je=Se[xe++];)if(pe=je.getAttributeNode("id"),pe&&pe.value===z)return[je]}return[]}}),l.find.TAG=u.getElementsByTagName?function(z,se){if(typeof se.getElementsByTagName<"u")return se.getElementsByTagName(z);if(u.qsa)return se.querySelectorAll(z)}:function(z,se){var pe,xe=[],Se=0,je=se.getElementsByTagName(z);if(z==="*"){for(;pe=je[Se++];)pe.nodeType===1&&xe.push(pe);return xe}return je},l.find.CLASS=u.getElementsByClassName&&function(z,se){if(typeof se.getElementsByClassName<"u"&&Ze)return se.getElementsByClassName(z)},Wt=[],Ne=[],(u.qsa=Ar.test(te.querySelectorAll))&&(bn(function(z){var se;Le.appendChild(z).innerHTML="<a id='"+xt+"'></a><select id='"+xt+"-\r\\' msallowcapture=''><option selected=''></option></select>",z.querySelectorAll("[msallowcapture^='']").length&&Ne.push("[*^$]="+yt+`*(?:''|"")`),z.querySelectorAll("[selected]").length||Ne.push("\\["+yt+"*(?:value|"+Fi+")"),z.querySelectorAll("[id~="+xt+"-]").length||Ne.push("~="),se=te.createElement("input"),se.setAttribute("name",""),z.appendChild(se),z.querySelectorAll("[name='']").length||Ne.push("\\["+yt+"*name"+yt+"*="+yt+`*(?:''|"")`),z.querySelectorAll(":checked").length||Ne.push(":checked"),z.querySelectorAll("a#"+xt+"+*").length||Ne.push(".#.+[+~]"),z.querySelectorAll("\\\f"),Ne.push("[\\r\\n\\f]")}),bn(function(z){z.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var se=te.createElement("input");se.setAttribute("type","hidden"),z.appendChild(se).setAttribute("name","D"),z.querySelectorAll("[name=d]").length&&Ne.push("name"+yt+"*[*^$|!~]?="),z.querySelectorAll(":enabled").length!==2&&Ne.push(":enabled",":disabled"),Le.appendChild(z).disabled=!0,z.querySelectorAll(":disabled").length!==2&&Ne.push(":enabled",":disabled"),z.querySelectorAll("*,:x"),Ne.push(",.*:")})),(u.matchesSelector=Ar.test(Ht=Le.matches||Le.webkitMatchesSelector||Le.mozMatchesSelector||Le.oMatchesSelector||Le.msMatchesSelector))&&bn(function(z){u.disconnectedMatch=Ht.call(z,"*"),Ht.call(z,"[s!='']:x"),Wt.push("!=",Bi)}),u.cssHas||Ne.push(":has"),Ne=Ne.length&&new RegExp(Ne.join("|")),Wt=Wt.length&&new RegExp(Wt.join("|")),F=Ar.test(Le.compareDocumentPosition),fn=F||Ar.test(Le.contains)?function(z,se){var pe=z.nodeType===9&&z.documentElement||z,xe=se&&se.parentNode;return z===xe||!!(xe&&xe.nodeType===1&&(pe.contains?pe.contains(xe):z.compareDocumentPosition&&z.compareDocumentPosition(xe)&16))}:function(z,se){if(se){for(;se=se.parentNode;)if(se===z)return!0}return!1},tr=F?function(z,se){if(z===se)return de=!0,0;var pe=!z.compareDocumentPosition-!se.compareDocumentPosition;return pe||(pe=(z.ownerDocument||z)==(se.ownerDocument||se)?z.compareDocumentPosition(se):1,pe&1||!u.sortDetached&&se.compareDocumentPosition(z)===pe?z==te||z.ownerDocument==Ke&&fn(Ke,z)?-1:se==te||se.ownerDocument==Ke&&fn(Ke,se)?1:ee?rr(ee,z)-rr(ee,se):0:pe&4?-1:1)}:function(z,se){if(z===se)return de=!0,0;var pe,xe=0,Se=z.parentNode,je=se.parentNode,Ie=[z],He=[se];if(!Se||!je)return z==te?-1:se==te?1:Se?-1:je?1:ee?rr(ee,z)-rr(ee,se):0;if(Se===je)return ys(z,se);for(pe=z;pe=pe.parentNode;)Ie.unshift(pe);for(pe=se;pe=pe.parentNode;)He.unshift(pe);for(;Ie[xe]===He[xe];)xe++;return xe?ys(Ie[xe],He[xe]):Ie[xe]==Ke?-1:He[xe]==Ke?1:0}),te},wt.matches=function(R,F){return wt(R,null,null,F)},wt.matchesSelector=function(R,F){if(V(R),u.matchesSelector&&Ze&&!cn[F+" "]&&(!Wt||!Wt.test(F))&&(!Ne||!Ne.test(F)))try{var U=Ht.call(R,F);if(U||u.disconnectedMatch||R.document&&R.document.nodeType!==11)return U}catch{cn(F,!0)}return wt(F,te,null,[R]).length>0},wt.contains=function(R,F){return(R.ownerDocument||R)!=te&&V(R),fn(R,F)},wt.attr=function(R,F){(R.ownerDocument||R)!=te&&V(R);var U=l.attrHandle[F.toLowerCase()],ne=U&&nr.call(l.attrHandle,F.toLowerCase())?U(R,F,!Ze):void 0;return ne!==void 0?ne:u.attributes||!Ze?R.getAttribute(F):(ne=R.getAttributeNode(F))&&ne.specified?ne.value:null},wt.escape=function(R){return(R+"").replace(hs,ds)},wt.error=function(R){throw new Error("Syntax error, unrecognized expression: "+R)},wt.uniqueSort=function(R){var F,U=[],ne=0,z=0;if(de=!u.detectDuplicates,ee=!u.sortStable&&R.slice(0),R.sort(tr),de){for(;F=R[z++];)F===R[z]&&(ne=U.push(z));for(;ne--;)R.splice(U[ne],1)}return ee=null,R},m=wt.getText=function(R){var F,U="",ne=0,z=R.nodeType;if(z){if(z===1||z===9||z===11){if(typeof R.textContent=="string")return R.textContent;for(R=R.firstChild;R;R=R.nextSibling)U+=m(R)}else if(z===3||z===4)return R.nodeValue}else for(;F=R[ne++];)U+=m(F);return U},l=wt.selectors={cacheLength:50,createPseudo:Sn,match:Qr,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(R){return R[1]=R[1].replace(Dn,jn),R[3]=(R[3]||R[4]||R[5]||"").replace(Dn,jn),R[2]==="~="&&(R[3]=" "+R[3]+" "),R.slice(0,4)},CHILD:function(R){return R[1]=R[1].toLowerCase(),R[1].slice(0,3)==="nth"?(R[3]||wt.error(R[0]),R[4]=+(R[4]?R[5]+(R[6]||1):2*(R[3]==="even"||R[3]==="odd")),R[5]=+(R[7]+R[8]||R[3]==="odd")):R[3]&&wt.error(R[0]),R},PSEUDO:function(R){var F,U=!R[6]&&R[2];return Qr.CHILD.test(R[0])?null:(R[3]?R[2]=R[4]||R[5]||"":U&&Bu.test(U)&&(F=T(U,!0))&&(F=U.indexOf(")",U.length-F)-U.length)&&(R[0]=R[0].slice(0,F),R[2]=U.slice(0,F)),R.slice(0,3))}},filter:{TAG:function(R){var F=R.replace(Dn,jn).toLowerCase();return R==="*"?function(){return!0}:function(U){return U.nodeName&&U.nodeName.toLowerCase()===F}},CLASS:function(R){var F=Pt[R+" "];return F||(F=new RegExp("(^|"+yt+")"+R+"("+yt+"|$)"))&&Pt(R,function(U){return F.test(typeof U.className=="string"&&U.className||typeof U.getAttribute<"u"&&U.getAttribute("class")||"")})},ATTR:function(R,F,U){return function(ne){var z=wt.attr(ne,R);return z==null?F==="!=":F?(z+="",F==="="?z===U:F==="!="?z!==U:F==="^="?U&&z.indexOf(U)===0:F==="*="?U&&z.indexOf(U)>-1:F==="$="?U&&z.slice(-U.length)===U:F==="~="?(" "+z.replace(Du," ")+" ").indexOf(U)>-1:F==="|="?z===U||z.slice(0,U.length+1)===U+"-":!1):!0}},CHILD:function(R,F,U,ne,z){var se=R.slice(0,3)!=="nth",pe=R.slice(-4)!=="last",xe=F==="of-type";return ne===1&&z===0?function(Se){return!!Se.parentNode}:function(Se,je,Ie){var He,it,_t,Fe,Yt,nn,ln=se!==pe?"nextSibling":"previousSibling",At=Se.parentNode,Or=xe&&Se.nodeName.toLowerCase(),Rr=!Ie&&!xe,hn=!1;if(At){if(se){for(;ln;){for(Fe=Se;Fe=Fe[ln];)if(xe?Fe.nodeName.toLowerCase()===Or:Fe.nodeType===1)return!1;nn=ln=R==="only"&&!nn&&"nextSibling"}return!0}if(nn=[pe?At.firstChild:At.lastChild],pe&&Rr){for(Fe=At,_t=Fe[xt]||(Fe[xt]={}),it=_t[Fe.uniqueID]||(_t[Fe.uniqueID]={}),He=it[R]||[],Yt=He[0]===an&&He[1],hn=Yt&&He[2],Fe=Yt&&At.childNodes[Yt];Fe=++Yt&&Fe&&Fe[ln]||(hn=Yt=0)||nn.pop();)if(Fe.nodeType===1&&++hn&&Fe===Se){it[R]=[an,Yt,hn];break}}else if(Rr&&(Fe=Se,_t=Fe[xt]||(Fe[xt]={}),it=_t[Fe.uniqueID]||(_t[Fe.uniqueID]={}),He=it[R]||[],Yt=He[0]===an&&He[1],hn=Yt),hn===!1)for(;(Fe=++Yt&&Fe&&Fe[ln]||(hn=Yt=0)||nn.pop())&&!((xe?Fe.nodeName.toLowerCase()===Or:Fe.nodeType===1)&&++hn&&(Rr&&(_t=Fe[xt]||(Fe[xt]={}),it=_t[Fe.uniqueID]||(_t[Fe.uniqueID]={}),it[R]=[an,hn]),Fe===Se)););return hn-=z,hn===ne||hn%ne===0&&hn/ne>=0}}},PSEUDO:function(R,F){var U,ne=l.pseudos[R]||l.setFilters[R.toLowerCase()]||wt.error("unsupported pseudo: "+R);return ne[xt]?ne(F):ne.length>1?(U=[R,R,"",F],l.setFilters.hasOwnProperty(R.toLowerCase())?Sn(function(z,se){for(var pe,xe=ne(z,F),Se=xe.length;Se--;)pe=rr(z,xe[Se]),z[pe]=!(se[pe]=xe[Se])}):function(z){return ne(z,0,U)}):ne}},pseudos:{not:Sn(function(R){var F=[],U=[],ne=B(R.replace(Gr,"$1"));return ne[xt]?Sn(function(z,se,pe,xe){for(var Se,je=ne(z,null,xe,[]),Ie=z.length;Ie--;)(Se=je[Ie])&&(z[Ie]=!(se[Ie]=Se))}):function(z,se,pe){return F[0]=z,ne(F,null,pe,U),F[0]=null,!U.pop()}}),has:Sn(function(R){return function(F){return wt(R,F).length>0}}),contains:Sn(function(R){return R=R.replace(Dn,jn),function(F){return(F.textContent||m(F)).indexOf(R)>-1}}),lang:Sn(function(R){return Uu.test(R||"")||wt.error("unsupported lang: "+R),R=R.replace(Dn,jn).toLowerCase(),function(F){var U;do if(U=Ze?F.lang:F.getAttribute("xml:lang")||F.getAttribute("lang"))return U=U.toLowerCase(),U===R||U.indexOf(R+"-")===0;while((F=F.parentNode)&&F.nodeType===1);return!1}}),target:function(R){var F=t.location&&t.location.hash;return F&&F.slice(1)===R.id},root:function(R){return R===Le},focus:function(R){return R===te.activeElement&&(!te.hasFocus||te.hasFocus())&&!!(R.type||R.href||~R.tabIndex)},enabled:gs(!1),disabled:gs(!0),checked:function(R){var F=R.nodeName.toLowerCase();return F==="input"&&!!R.checked||F==="option"&&!!R.selected},selected:function(R){return R.parentNode&&R.parentNode.selectedIndex,R.selected===!0},empty:function(R){for(R=R.firstChild;R;R=R.nextSibling)if(R.nodeType<6)return!1;return!0},parent:function(R){return!l.pseudos.empty(R)},header:function(R){return zu.test(R.nodeName)},input:function(R){return qu.test(R.nodeName)},button:function(R){var F=R.nodeName.toLowerCase();return F==="input"&&R.type==="button"||F==="button"},text:function(R){var F;return R.nodeName.toLowerCase()==="input"&&R.type==="text"&&((F=R.getAttribute("type"))==null||F.toLowerCase()==="text")},first:or(function(){return[0]}),last:or(function(R,F){return[F-1]}),eq:or(function(R,F,U){return[U<0?U+F:U]}),even:or(function(R,F){for(var U=0;U<F;U+=2)R.push(U);return R}),odd:or(function(R,F){for(var U=1;U<F;U+=2)R.push(U);return R}),lt:or(function(R,F,U){for(var ne=U<0?U+F:U>F?F:U;--ne>=0;)R.push(ne);return R}),gt:or(function(R,F,U){for(var ne=U<0?U+F:U;++ne<F;)R.push(ne);return R})}},l.pseudos.nth=l.pseudos.eq;for(s in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})l.pseudos[s]=Yu(s);for(s in{submit:!0,reset:!0})l.pseudos[s]=Ju(s);function vs(){}vs.prototype=l.filters=l.pseudos,l.setFilters=new vs,T=wt.tokenize=function(R,F){var U,ne,z,se,pe,xe,Se,je=Cr[R+" "];if(je)return F?0:je.slice(0);for(pe=R,xe=[],Se=l.preFilter;pe;){(!U||(ne=ju.exec(pe)))&&(ne&&(pe=pe.slice(ne[0].length)||pe),xe.push(z=[])),U=!1,(ne=ls.exec(pe))&&(U=ne.shift(),z.push({value:U,type:ne[0].replace(Gr," ")}),pe=pe.slice(U.length));for(se in l.filter)(ne=Qr[se].exec(pe))&&(!Se[se]||(ne=Se[se](ne)))&&(U=ne.shift(),z.push({value:U,type:se,matches:ne}),pe=pe.slice(U.length));if(!U)break}return F?pe.length:pe?wt.error(R):Cr(R,xe).slice(0)};function ei(R){for(var F=0,U=R.length,ne="";F<U;F++)ne+=R[F].value;return ne}function ti(R,F,U){var ne=F.dir,z=F.next,se=z||ne,pe=U&&se==="parentNode",xe=lt++;return F.first?function(Se,je,Ie){for(;Se=Se[ne];)if(Se.nodeType===1||pe)return R(Se,je,Ie);return!1}:function(Se,je,Ie){var He,it,_t,Fe=[an,xe];if(Ie){for(;Se=Se[ne];)if((Se.nodeType===1||pe)&&R(Se,je,Ie))return!0}else for(;Se=Se[ne];)if(Se.nodeType===1||pe)if(_t=Se[xt]||(Se[xt]={}),it=_t[Se.uniqueID]||(_t[Se.uniqueID]={}),z&&z===Se.nodeName.toLowerCase())Se=Se[ne]||Se;else{if((He=it[se])&&He[0]===an&&He[1]===xe)return Fe[2]=He[2];if(it[se]=Fe,Fe[2]=R(Se,je,Ie))return!0}return!1}}function zi(R){return R.length>1?function(F,U,ne){for(var z=R.length;z--;)if(!R[z](F,U,ne))return!1;return!0}:R[0]}function Vu(R,F,U){for(var ne=0,z=F.length;ne<z;ne++)wt(R,F[ne],U);return U}function ni(R,F,U,ne,z){for(var se,pe=[],xe=0,Se=R.length,je=F!=null;xe<Se;xe++)(se=R[xe])&&(!U||U(se,ne,z))&&(pe.push(se),je&&F.push(xe));return pe}function $i(R,F,U,ne,z,se){return ne&&!ne[xt]&&(ne=$i(ne)),z&&!z[xt]&&(z=$i(z,se)),Sn(function(pe,xe,Se,je){var Ie,He,it,_t=[],Fe=[],Yt=xe.length,nn=pe||Vu(F||"*",Se.nodeType?[Se]:Se,[]),ln=R&&(pe||!F)?ni(nn,_t,R,Se,je):nn,At=U?z||(pe?R:Yt||ne)?[]:xe:ln;if(U&&U(ln,At,Se,je),ne)for(Ie=ni(At,Fe),ne(Ie,[],Se,je),He=Ie.length;He--;)(it=Ie[He])&&(At[Fe[He]]=!(ln[Fe[He]]=it));if(pe){if(z||R){if(z){for(Ie=[],He=At.length;He--;)(it=At[He])&&Ie.push(ln[He]=it);z(null,At=[],Ie,je)}for(He=At.length;He--;)(it=At[He])&&(Ie=z?rr(pe,it):_t[He])>-1&&(pe[Ie]=!(xe[Ie]=it))}}else At=ni(At===xe?At.splice(Yt,At.length):At),z?z(null,xe,At,je):Wn.apply(xe,At)})}function Wi(R){for(var F,U,ne,z=R.length,se=l.relative[R[0].type],pe=se||l.relative[" "],xe=se?1:0,Se=ti(function(He){return He===F},pe,!0),je=ti(function(He){return rr(F,He)>-1},pe,!0),Ie=[function(He,it,_t){var Fe=!se&&(_t||it!==W)||((F=it).nodeType?Se(He,it,_t):je(He,it,_t));return F=null,Fe}];xe<z;xe++)if(U=l.relative[R[xe].type])Ie=[ti(zi(Ie),U)];else{if(U=l.filter[R[xe].type].apply(null,R[xe].matches),U[xt]){for(ne=++xe;ne<z&&!l.relative[R[ne].type];ne++);return $i(xe>1&&zi(Ie),xe>1&&ei(R.slice(0,xe-1).concat({value:R[xe-2].type===" "?"*":""})).replace(Gr,"$1"),U,xe<ne&&Wi(R.slice(xe,ne)),ne<z&&Wi(R=R.slice(ne)),ne<z&&ei(R))}Ie.push(U)}return zi(Ie)}function Xu(R,F){var U=F.length>0,ne=R.length>0,z=function(se,pe,xe,Se,je){var Ie,He,it,_t=0,Fe="0",Yt=se&&[],nn=[],ln=W,At=se||ne&&l.find.TAG("*",je),Or=an+=ln==null?1:Math.random()||.1,Rr=At.length;for(je&&(W=pe==te||pe||je);Fe!==Rr&&(Ie=At[Fe])!=null;Fe++){if(ne&&Ie){for(He=0,!pe&&Ie.ownerDocument!=te&&(V(Ie),xe=!Ze);it=R[He++];)if(it(Ie,pe||te,xe)){Se.push(Ie);break}je&&(an=Or)}U&&((Ie=!it&&Ie)&&_t--,se&&Yt.push(Ie))}if(_t+=Fe,U&&Fe!==_t){for(He=0;it=F[He++];)it(Yt,nn,pe,xe);if(se){if(_t>0)for(;Fe--;)Yt[Fe]||nn[Fe]||(nn[Fe]=$n.call(Se));nn=ni(nn)}Wn.apply(Se,nn),je&&!se&&nn.length>0&&_t+F.length>1&&wt.uniqueSort(Se)}return je&&(an=Or,W=ln),Yt};return U?Sn(z):z}return B=wt.compile=function(R,F){var U,ne=[],z=[],se=Kr[R+" "];if(!se){for(F||(F=T(R)),U=F.length;U--;)se=Wi(F[U]),se[xt]?ne.push(se):z.push(se);se=Kr(R,Xu(z,ne)),se.selector=R}return se},D=wt.select=function(R,F,U,ne){var z,se,pe,xe,Se,je=typeof R=="function"&&R,Ie=!ne&&T(R=je.selector||R);if(U=U||[],Ie.length===1){if(se=Ie[0]=Ie[0].slice(0),se.length>2&&(pe=se[0]).type==="ID"&&F.nodeType===9&&Ze&&l.relative[se[1].type]){if(F=(l.find.ID(pe.matches[0].replace(Dn,jn),F)||[])[0],F)je&&(F=F.parentNode);else return U;R=R.slice(se.shift().value.length)}for(z=Qr.needsContext.test(R)?0:se.length;z--&&(pe=se[z],!l.relative[xe=pe.type]);)if((Se=l.find[xe])&&(ne=Se(pe.matches[0].replace(Dn,jn),Ui.test(se[0].type)&&qi(F.parentNode)||F))){if(se.splice(z,1),R=ne.length&&ei(se),!R)return Wn.apply(U,ne),U;break}}return(je||B(R,Ie))(ne,F,!Ze,U,!F||Ui.test(R)&&qi(F.parentNode)||F),U},u.sortStable=xt.split("").sort(tr).join("")===xt,u.detectDuplicates=!!de,V(),u.sortDetached=bn(function(R){return R.compareDocumentPosition(te.createElement("fieldset"))&1}),bn(function(R){return R.innerHTML="<a href='#'></a>",R.firstChild.getAttribute("href")==="#"})||Hi("type|href|height|width",function(R,F,U){if(!U)return R.getAttribute(F,F.toLowerCase()==="type"?1:2)}),(!u.attributes||!bn(function(R){return R.innerHTML="<input/>",R.firstChild.setAttribute("value",""),R.firstChild.getAttribute("value")===""}))&&Hi("value",function(R,F,U){if(!U&&R.nodeName.toLowerCase()==="input")return R.defaultValue}),bn(function(R){return R.getAttribute("disabled")==null})||Hi(Fi,function(R,F,U){var ne;if(!U)return R[F]===!0?F.toLowerCase():(ne=R.getAttributeNode(F))&&ne.specified?ne.value:null}),wt}(n);h.find=tt,h.expr=tt.selectors,h.expr[":"]=h.expr.pseudos,h.uniqueSort=h.unique=tt.uniqueSort,h.text=tt.getText,h.isXMLDoc=tt.isXML,h.contains=tt.contains,h.escapeSelector=tt.escape;var J=function(t,s,u){for(var l=[],m=u!==void 0;(t=t[s])&&t.nodeType!==9;)if(t.nodeType===1){if(m&&h(t).is(u))break;l.push(t)}return l},X=function(t,s){for(var u=[];t;t=t.nextSibling)t.nodeType===1&&t!==s&&u.push(t);return u},G=h.expr.match.needsContext;function re(t,s){return t.nodeName&&t.nodeName.toLowerCase()===s.toLowerCase()}var ve=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function ft(t,s,u){return P(s)?h.grep(t,function(l,m){return!!s.call(l,m,l)!==u}):s.nodeType?h.grep(t,function(l){return l===s!==u}):typeof s!="string"?h.grep(t,function(l){return b.call(s,l)>-1!==u}):h.filter(s,t,u)}h.filter=function(t,s,u){var l=s[0];return u&&(t=":not("+t+")"),s.length===1&&l.nodeType===1?h.find.matchesSelector(l,t)?[l]:[]:h.find.matches(t,h.grep(s,function(m){return m.nodeType===1}))},h.fn.extend({find:function(t){var s,u,l=this.length,m=this;if(typeof t!="string")return this.pushStack(h(t).filter(function(){for(s=0;s<l;s++)if(h.contains(m[s],this))return!0}));for(u=this.pushStack([]),s=0;s<l;s++)h.find(t,m[s],u);return l>1?h.uniqueSort(u):u},filter:function(t){return this.pushStack(ft(this,t||[],!1))},not:function(t){return this.pushStack(ft(this,t||[],!0))},is:function(t){return!!ft(this,typeof t=="string"&&G.test(t)?h(t):t||[],!1).length}});var vt,jt=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/,Lt=h.fn.init=function(t,s,u){var l,m;if(!t)return this;if(u=u||vt,typeof t=="string")if(t[0]==="<"&&t[t.length-1]===">"&&t.length>=3?l=[null,t,null]:l=jt.exec(t),l&&(l[1]||!s))if(l[1]){if(s=s instanceof h?s[0]:s,h.merge(this,h.parseHTML(l[1],s&&s.nodeType?s.ownerDocument||s:N,!0)),ve.test(l[1])&&h.isPlainObject(s))for(l in s)P(this[l])?this[l](s[l]):this.attr(l,s[l]);return this}else return m=N.getElementById(l[2]),m&&(this[0]=m,this.length=1),this;else return!s||s.jquery?(s||u).find(t):this.constructor(s).find(t);else{if(t.nodeType)return this[0]=t,this.length=1,this;if(P(t))return u.ready!==void 0?u.ready(t):t(h)}return h.makeArray(t,this)};Lt.prototype=h.fn,vt=h(N);var kt=/^(?:parents|prev(?:Until|All))/,Ft={children:!0,contents:!0,next:!0,prev:!0};h.fn.extend({has:function(t){var s=h(t,this),u=s.length;return this.filter(function(){for(var l=0;l<u;l++)if(h.contains(this,s[l]))return!0})},closest:function(t,s){var u,l=0,m=this.length,w=[],T=typeof t!="string"&&h(t);if(!G.test(t)){for(;l<m;l++)for(u=this[l];u&&u!==s;u=u.parentNode)if(u.nodeType<11&&(T?T.index(u)>-1:u.nodeType===1&&h.find.matchesSelector(u,t))){w.push(u);break}}return this.pushStack(w.length>1?h.uniqueSort(w):w)},index:function(t){return t?typeof t=="string"?b.call(h(t),this[0]):b.call(this,t.jquery?t[0]:t):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(t,s){return this.pushStack(h.uniqueSort(h.merge(this.get(),h(t,s))))},addBack:function(t){return this.add(t==null?this.prevObject:this.prevObject.filter(t))}});function Bt(t,s){for(;(t=t[s])&&t.nodeType!==1;);return t}h.each({parent:function(t){var s=t.parentNode;return s&&s.nodeType!==11?s:null},parents:function(t){return J(t,"parentNode")},parentsUntil:function(t,s,u){return J(t,"parentNode",u)},next:function(t){return Bt(t,"nextSibling")},prev:function(t){return Bt(t,"previousSibling")},nextAll:function(t){return J(t,"nextSibling")},prevAll:function(t){return J(t,"previousSibling")},nextUntil:function(t,s,u){return J(t,"nextSibling",u)},prevUntil:function(t,s,u){return J(t,"previousSibling",u)},siblings:function(t){return X((t.parentNode||{}).firstChild,t)},children:function(t){return X(t.firstChild)},contents:function(t){return t.contentDocument!=null&&o(t.contentDocument)?t.contentDocument:(re(t,"template")&&(t=t.content||t),h.merge([],t.childNodes))}},function(t,s){h.fn[t]=function(u,l){var m=h.map(this,s,u);return t.slice(-5)!=="Until"&&(l=u),l&&typeof l=="string"&&(m=h.filter(l,m)),this.length>1&&(Ft[t]||h.uniqueSort(m),kt.test(t)&&m.reverse()),this.pushStack(m)}});var Vt=/[^\x20\t\r\n\f]+/g;function yn(t){var s={};return h.each(t.match(Vt)||[],function(u,l){s[l]=!0}),s}h.Callbacks=function(t){t=typeof t=="string"?yn(t):h.extend({},t);var s,u,l,m,w=[],T=[],B=-1,D=function(){for(m=m||t.once,l=s=!0;T.length;B=-1)for(u=T.shift();++B<w.length;)w[B].apply(u[0],u[1])===!1&&t.stopOnFalse&&(B=w.length,u=!1);t.memory||(u=!1),s=!1,m&&(u?w=[]:w="")},W={add:function(){return w&&(u&&!s&&(B=w.length-1,T.push(u)),function ee(de){h.each(de,function(V,te){P(te)?(!t.unique||!W.has(te))&&w.push(te):te&&te.length&&he(te)!=="string"&&ee(te)})}(arguments),u&&!s&&D()),this},remove:function(){return h.each(arguments,function(ee,de){for(var V;(V=h.inArray(de,w,V))>-1;)w.splice(V,1),V<=B&&B--}),this},has:function(ee){return ee?h.inArray(ee,w)>-1:w.length>0},empty:function(){return w&&(w=[]),this},disable:function(){return m=T=[],w=u="",this},disabled:function(){return!w},lock:function(){return m=T=[],!u&&!s&&(w=u=""),this},locked:function(){return!!m},fireWith:function(ee,de){return m||(de=de||[],de=[ee,de.slice?de.slice():de],T.push(de),s||D()),this},fire:function(){return W.fireWith(this,arguments),this},fired:function(){return!!l}};return W};function tn(t){return t}function wn(t){throw t}function St(t,s,u,l){var m;try{t&&P(m=t.promise)?m.call(t).done(s).fail(u):t&&P(m=t.then)?m.call(t,s,u):s.apply(void 0,[t].slice(l))}catch(w){u.apply(void 0,[w])}}h.extend({Deferred:function(t){var s=[["notify","progress",h.Callbacks("memory"),h.Callbacks("memory"),2],["resolve","done",h.Callbacks("once memory"),h.Callbacks("once memory"),0,"resolved"],["reject","fail",h.Callbacks("once memory"),h.Callbacks("once memory"),1,"rejected"]],u="pending",l={state:function(){return u},always:function(){return m.done(arguments).fail(arguments),this},catch:function(w){return l.then(null,w)},pipe:function(){var w=arguments;return h.Deferred(function(T){h.each(s,function(B,D){var W=P(w[D[4]])&&w[D[4]];m[D[1]](function(){var ee=W&&W.apply(this,arguments);ee&&P(ee.promise)?ee.promise().progress(T.notify).done(T.resolve).fail(T.reject):T[D[0]+"With"](this,W?[ee]:arguments)})}),w=null}).promise()},then:function(w,T,B){var D=0;function W(ee,de,V,te){return function(){var Le=this,Ze=arguments,Ne=function(){var Ht,fn;if(!(ee<D)){if(Ht=V.apply(Le,Ze),Ht===de.promise())throw new TypeError("Thenable self-resolution");fn=Ht&&(typeof Ht=="object"||typeof Ht=="function")&&Ht.then,P(fn)?te?fn.call(Ht,W(D,de,tn,te),W(D,de,wn,te)):(D++,fn.call(Ht,W(D,de,tn,te),W(D,de,wn,te),W(D,de,tn,de.notifyWith))):(V!==tn&&(Le=void 0,Ze=[Ht]),(te||de.resolveWith)(Le,Ze))}},Wt=te?Ne:function(){try{Ne()}catch(Ht){h.Deferred.exceptionHook&&h.Deferred.exceptionHook(Ht,Wt.stackTrace),ee+1>=D&&(V!==wn&&(Le=void 0,Ze=[Ht]),de.rejectWith(Le,Ze))}};ee?Wt():(h.Deferred.getStackHook&&(Wt.stackTrace=h.Deferred.getStackHook()),n.setTimeout(Wt))}}return h.Deferred(function(ee){s[0][3].add(W(0,ee,P(B)?B:tn,ee.notifyWith)),s[1][3].add(W(0,ee,P(w)?w:tn)),s[2][3].add(W(0,ee,P(T)?T:wn))}).promise()},promise:function(w){return w!=null?h.extend(w,l):l}},m={};return h.each(s,function(w,T){var B=T[2],D=T[5];l[T[1]]=B.add,D&&B.add(function(){u=D},s[3-w][2].disable,s[3-w][3].disable,s[0][2].lock,s[0][3].lock),B.add(T[3].fire),m[T[0]]=function(){return m[T[0]+"With"](this===m?void 0:this,arguments),this},m[T[0]+"With"]=B.fireWith}),l.promise(m),t&&t.call(m,m),m},when:function(t){var s=arguments.length,u=s,l=Array(u),m=a.call(arguments),w=h.Deferred(),T=function(B){return function(D){l[B]=this,m[B]=arguments.length>1?a.call(arguments):D,--s||w.resolveWith(l,m)}};if(s<=1&&(St(t,w.done(T(u)).resolve,w.reject,!s),w.state()==="pending"||P(m[u]&&m[u].then)))return w.then();for(;u--;)St(m[u],T(u),w.reject);return w.promise()}});var It=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;h.Deferred.exceptionHook=function(t,s){n.console&&n.console.warn&&t&&It.test(t.name)&&n.console.warn("jQuery.Deferred exception: "+t.message,t.stack,s)},h.readyException=function(t){n.setTimeout(function(){throw t})};var Mt=h.Deferred();h.fn.ready=function(t){return Mt.then(t).catch(function(s){h.readyException(s)}),this},h.extend({isReady:!1,readyWait:1,ready:function(t){(t===!0?--h.readyWait:h.isReady)||(h.isReady=!0,!(t!==!0&&--h.readyWait>0)&&Mt.resolveWith(N,[h]))}}),h.ready.then=Mt.then;function Nt(){N.removeEventListener("DOMContentLoaded",Nt),n.removeEventListener("load",Nt),h.ready()}N.readyState==="complete"||N.readyState!=="loading"&&!N.documentElement.doScroll?n.setTimeout(h.ready):(N.addEventListener("DOMContentLoaded",Nt),n.addEventListener("load",Nt));var qe=function(t,s,u,l,m,w,T){var B=0,D=t.length,W=u==null;if(he(u)==="object"){m=!0;for(B in u)qe(t,s,B,u[B],!0,w,T)}else if(l!==void 0&&(m=!0,P(l)||(T=!0),W&&(T?(s.call(t,l),s=null):(W=s,s=function(ee,de,V){return W.call(h(ee),V)})),s))for(;B<D;B++)s(t[B],u,T?l:l.call(t[B],B,s(t[B],u)));return m?t:W?s.call(t):D?s(t[0],u):w},Xt=/^-ms-/,Pn=/-([a-z])/g;function Qn(t,s){return s.toUpperCase()}function Rt(t){return t.replace(Xt,"ms-").replace(Pn,Qn)}var sn=function(t){return t.nodeType===1||t.nodeType===9||!+t.nodeType};function gn(){this.expando=h.expando+gn.uid++}gn.uid=1,gn.prototype={cache:function(t){var s=t[this.expando];return s||(s={},sn(t)&&(t.nodeType?t[this.expando]=s:Object.defineProperty(t,this.expando,{value:s,configurable:!0}))),s},set:function(t,s,u){var l,m=this.cache(t);if(typeof s=="string")m[Rt(s)]=u;else for(l in s)m[Rt(l)]=s[l];return m},get:function(t,s){return s===void 0?this.cache(t):t[this.expando]&&t[this.expando][Rt(s)]},access:function(t,s,u){return s===void 0||s&&typeof s=="string"&&u===void 0?this.get(t,s):(this.set(t,s,u),u!==void 0?u:s)},remove:function(t,s){var u,l=t[this.expando];if(l!==void 0){if(s!==void 0)for(Array.isArray(s)?s=s.map(Rt):(s=Rt(s),s=s in l?[s]:s.match(Vt)||[]),u=s.length;u--;)delete l[s[u]];(s===void 0||h.isEmptyObject(l))&&(t.nodeType?t[this.expando]=void 0:delete t[this.expando])}},hasData:function(t){var s=t[this.expando];return s!==void 0&&!h.isEmptyObject(s)}};var ke=new gn,De=new gn,Cn=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,Un=/[A-Z]/g;function An(t){return t==="true"?!0:t==="false"?!1:t==="null"?null:t===+t+""?+t:Cn.test(t)?JSON.parse(t):t}function Zn(t,s,u){var l;if(u===void 0&&t.nodeType===1)if(l="data-"+s.replace(Un,"-$&").toLowerCase(),u=t.getAttribute(l),typeof u=="string"){try{u=An(u)}catch{}De.set(t,s,u)}else u=void 0;return u}h.extend({hasData:function(t){return De.hasData(t)||ke.hasData(t)},data:function(t,s,u){return De.access(t,s,u)},removeData:function(t,s){De.remove(t,s)},_data:function(t,s,u){return ke.access(t,s,u)},_removeData:function(t,s){ke.remove(t,s)}}),h.fn.extend({data:function(t,s){var u,l,m,w=this[0],T=w&&w.attributes;if(t===void 0){if(this.length&&(m=De.get(w),w.nodeType===1&&!ke.get(w,"hasDataAttrs"))){for(u=T.length;u--;)T[u]&&(l=T[u].name,l.indexOf("data-")===0&&(l=Rt(l.slice(5)),Zn(w,l,m[l])));ke.set(w,"hasDataAttrs",!0)}return m}return typeof t=="object"?this.each(function(){De.set(this,t)}):qe(this,function(B){var D;if(w&&B===void 0)return D=De.get(w,t),D!==void 0||(D=Zn(w,t),D!==void 0)?D:void 0;this.each(function(){De.set(this,t,B)})},null,s,arguments.length>1,null,!0)},removeData:function(t){return this.each(function(){De.remove(this,t)})}}),h.extend({queue:function(t,s,u){var l;if(t)return s=(s||"fx")+"queue",l=ke.get(t,s),u&&(!l||Array.isArray(u)?l=ke.access(t,s,h.makeArray(u)):l.push(u)),l||[]},dequeue:function(t,s){s=s||"fx";var u=h.queue(t,s),l=u.length,m=u.shift(),w=h._queueHooks(t,s),T=function(){h.dequeue(t,s)};m==="inprogress"&&(m=u.shift(),l--),m&&(s==="fx"&&u.unshift("inprogress"),delete w.stop,m.call(t,T,w)),!l&&w&&w.empty.fire()},_queueHooks:function(t,s){var u=s+"queueHooks";return ke.get(t,u)||ke.access(t,u,{empty:h.Callbacks("once memory").add(function(){ke.remove(t,[s+"queue",u])})})}}),h.fn.extend({queue:function(t,s){var u=2;return typeof t!="string"&&(s=t,t="fx",u--),arguments.length<u?h.queue(this[0],t):s===void 0?this:this.each(function(){var l=h.queue(this,t,s);h._queueHooks(this,t),t==="fx"&&l[0]!=="inprogress"&&h.dequeue(this,t)})},dequeue:function(t){return this.each(function(){h.dequeue(this,t)})},clearQueue:function(t){return this.queue(t||"fx",[])},promise:function(t,s){var u,l=1,m=h.Deferred(),w=this,T=this.length,B=function(){--l||m.resolveWith(w,[w])};for(typeof t!="string"&&(s=t,t=void 0),t=t||"fx";T--;)u=ke.get(w[T],t+"queueHooks"),u&&u.empty&&(l++,u.empty.add(B));return B(),m.promise(s)}});var L=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,p=new RegExp("^(?:([+-])=|)("+L+")([a-z%]*)$","i"),y=["Top","Right","Bottom","Left"],M=N.documentElement,$=function(t){return h.contains(t.ownerDocument,t)},fe={composed:!0};M.getRootNode&&($=function(t){return h.contains(t.ownerDocument,t)||t.getRootNode(fe)===t.ownerDocument});var ce=function(t,s){return t=s||t,t.style.display==="none"||t.style.display===""&&$(t)&&h.css(t,"display")==="none"};function rt(t,s,u,l){var m,w,T=20,B=l?function(){return l.cur()}:function(){return h.css(t,s,"")},D=B(),W=u&&u[3]||(h.cssNumber[s]?"":"px"),ee=t.nodeType&&(h.cssNumber[s]||W!=="px"&&+D)&&p.exec(h.css(t,s));if(ee&&ee[3]!==W){for(D=D/2,W=W||ee[3],ee=+D||1;T--;)h.style(t,s,ee+W),(1-w)*(1-(w=B()/D||.5))<=0&&(T=0),ee=ee/w;ee=ee*2,h.style(t,s,ee+W),u=u||[]}return u&&(ee=+ee||+D||0,m=u[1]?ee+(u[1]+1)*u[2]:+u[2],l&&(l.unit=W,l.start=ee,l.end=m)),m}var ct={};function gt(t){var s,u=t.ownerDocument,l=t.nodeName,m=ct[l];return m||(s=u.body.appendChild(u.createElement(l)),m=h.css(s,"display"),s.parentNode.removeChild(s),m==="none"&&(m="block"),ct[l]=m,m)}function mt(t,s){for(var u,l,m=[],w=0,T=t.length;w<T;w++)l=t[w],l.style&&(u=l.style.display,s?(u==="none"&&(m[w]=ke.get(l,"display")||null,m[w]||(l.style.display="")),l.style.display===""&&ce(l)&&(m[w]=gt(l))):u!=="none"&&(m[w]="none",ke.set(l,"display",u)));for(w=0;w<T;w++)m[w]!=null&&(t[w].style.display=m[w]);return t}h.fn.extend({show:function(){return mt(this,!0)},hide:function(){return mt(this)},toggle:function(t){return typeof t=="boolean"?t?this.show():this.hide():this.each(function(){ce(this)?h(this).show():h(this).hide()})}});var pt=/^(?:checkbox|radio)$/i,kn=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,Nn=/^$|^module$|\/(?:java|ecma)script/i;(function(){var t=N.createDocumentFragment(),s=t.appendChild(N.createElement("div")),u=N.createElement("input");u.setAttribute("type","radio"),u.setAttribute("checked","checked"),u.setAttribute("name","t"),s.appendChild(u),S.checkClone=s.cloneNode(!0).cloneNode(!0).lastChild.checked,s.innerHTML="<textarea>x</textarea>",S.noCloneChecked=!!s.cloneNode(!0).lastChild.defaultValue,s.innerHTML="<option></option>",S.option=!!s.lastChild})();var zt={thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};zt.tbody=zt.tfoot=zt.colgroup=zt.caption=zt.thead,zt.th=zt.td,S.option||(zt.optgroup=zt.option=[1,"<select multiple='multiple'>","</select>"]);function $t(t,s){var u;return typeof t.getElementsByTagName<"u"?u=t.getElementsByTagName(s||"*"):typeof t.querySelectorAll<"u"?u=t.querySelectorAll(s||"*"):u=[],s===void 0||s&&re(t,s)?h.merge([t],u):u}function Ln(t,s){for(var u=0,l=t.length;u<l;u++)ke.set(t[u],"globalEval",!s||ke.get(s[u],"globalEval"))}var Hn=/<|&#?\w+;/;function qn(t,s,u,l,m){for(var w,T,B,D,W,ee,de=s.createDocumentFragment(),V=[],te=0,Le=t.length;te<Le;te++)if(w=t[te],w||w===0)if(he(w)==="object")h.merge(V,w.nodeType?[w]:w);else if(!Hn.test(w))V.push(s.createTextNode(w));else{for(T=T||de.appendChild(s.createElement("div")),B=(kn.exec(w)||["",""])[1].toLowerCase(),D=zt[B]||zt._default,T.innerHTML=D[1]+h.htmlPrefilter(w)+D[2],ee=D[0];ee--;)T=T.lastChild;h.merge(V,T.childNodes),T=de.firstChild,T.textContent=""}for(de.textContent="",te=0;w=V[te++];){if(l&&h.inArray(w,l)>-1){m&&m.push(w);continue}if(W=$(w),T=$t(de.appendChild(w),"script"),W&&Ln(T),u)for(ee=0;w=T[ee++];)Nn.test(w.type||"")&&u.push(w)}return de}var er=/^([^.]*)(?:\.(.+)|)/;function vn(){return!0}function xn(){return!1}function _r(t,s){return t===Jr()==(s==="focus")}function Jr(){try{return N.activeElement}catch{}}function Sr(t,s,u,l,m,w){var T,B;if(typeof s=="object"){typeof u!="string"&&(l=l||u,u=void 0);for(B in s)Sr(t,B,u,l,s[B],w);return t}if(l==null&&m==null?(m=u,l=u=void 0):m==null&&(typeof u=="string"?(m=l,l=void 0):(m=l,l=u,u=void 0)),m===!1)m=xn;else if(!m)return t;return w===1&&(T=m,m=function(D){return h().off(D),T.apply(this,arguments)},m.guid=T.guid||(T.guid=h.guid++)),t.each(function(){h.event.add(this,s,m,l,u)})}h.event={global:{},add:function(t,s,u,l,m){var w,T,B,D,W,ee,de,V,te,Le,Ze,Ne=ke.get(t);if(sn(t))for(u.handler&&(w=u,u=w.handler,m=w.selector),m&&h.find.matchesSelector(M,m),u.guid||(u.guid=h.guid++),(D=Ne.events)||(D=Ne.events=Object.create(null)),(T=Ne.handle)||(T=Ne.handle=function(Wt){return typeof h<"u"&&h.event.triggered!==Wt.type?h.event.dispatch.apply(t,arguments):void 0}),s=(s||"").match(Vt)||[""],W=s.length;W--;)B=er.exec(s[W])||[],te=Ze=B[1],Le=(B[2]||"").split(".").sort(),te&&(de=h.event.special[te]||{},te=(m?de.delegateType:de.bindType)||te,de=h.event.special[te]||{},ee=h.extend({type:te,origType:Ze,data:l,handler:u,guid:u.guid,selector:m,needsContext:m&&h.expr.match.needsContext.test(m),namespace:Le.join(".")},w),(V=D[te])||(V=D[te]=[],V.delegateCount=0,(!de.setup||de.setup.call(t,l,Le,T)===!1)&&t.addEventListener&&t.addEventListener(te,T)),de.add&&(de.add.call(t,ee),ee.handler.guid||(ee.handler.guid=u.guid)),m?V.splice(V.delegateCount++,0,ee):V.push(ee),h.event.global[te]=!0)},remove:function(t,s,u,l,m){var w,T,B,D,W,ee,de,V,te,Le,Ze,Ne=ke.hasData(t)&&ke.get(t);if(!(!Ne||!(D=Ne.events))){for(s=(s||"").match(Vt)||[""],W=s.length;W--;){if(B=er.exec(s[W])||[],te=Ze=B[1],Le=(B[2]||"").split(".").sort(),!te){for(te in D)h.event.remove(t,te+s[W],u,l,!0);continue}for(de=h.event.special[te]||{},te=(l?de.delegateType:de.bindType)||te,V=D[te]||[],B=B[2]&&new RegExp("(^|\\.)"+Le.join("\\.(?:.*\\.|)")+"(\\.|$)"),T=w=V.length;w--;)ee=V[w],(m||Ze===ee.origType)&&(!u||u.guid===ee.guid)&&(!B||B.test(ee.namespace))&&(!l||l===ee.selector||l==="**"&&ee.selector)&&(V.splice(w,1),ee.selector&&V.delegateCount--,de.remove&&de.remove.call(t,ee));T&&!V.length&&((!de.teardown||de.teardown.call(t,Le,Ne.handle)===!1)&&h.removeEvent(t,te,Ne.handle),delete D[te])}h.isEmptyObject(D)&&ke.remove(t,"handle events")}},dispatch:function(t){var s,u,l,m,w,T,B=new Array(arguments.length),D=h.event.fix(t),W=(ke.get(this,"events")||Object.create(null))[D.type]||[],ee=h.event.special[D.type]||{};for(B[0]=D,s=1;s<arguments.length;s++)B[s]=arguments[s];if(D.delegateTarget=this,!(ee.preDispatch&&ee.preDispatch.call(this,D)===!1)){for(T=h.event.handlers.call(this,D,W),s=0;(m=T[s++])&&!D.isPropagationStopped();)for(D.currentTarget=m.elem,u=0;(w=m.handlers[u++])&&!D.isImmediatePropagationStopped();)(!D.rnamespace||w.namespace===!1||D.rnamespace.test(w.namespace))&&(D.handleObj=w,D.data=w.data,l=((h.event.special[w.origType]||{}).handle||w.handler).apply(m.elem,B),l!==void 0&&(D.result=l)===!1&&(D.preventDefault(),D.stopPropagation()));return ee.postDispatch&&ee.postDispatch.call(this,D),D.result}},handlers:function(t,s){var u,l,m,w,T,B=[],D=s.delegateCount,W=t.target;if(D&&W.nodeType&&!(t.type==="click"&&t.button>=1)){for(;W!==this;W=W.parentNode||this)if(W.nodeType===1&&!(t.type==="click"&&W.disabled===!0)){for(w=[],T={},u=0;u<D;u++)l=s[u],m=l.selector+" ",T[m]===void 0&&(T[m]=l.needsContext?h(m,this).index(W)>-1:h.find(m,this,null,[W]).length),T[m]&&w.push(l);w.length&&B.push({elem:W,handlers:w})}}return W=this,D<s.length&&B.push({elem:W,handlers:s.slice(D)}),B},addProp:function(t,s){Object.defineProperty(h.Event.prototype,t,{enumerable:!0,configurable:!0,get:P(s)?function(){if(this.originalEvent)return s(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[t]},set:function(u){Object.defineProperty(this,t,{enumerable:!0,configurable:!0,writable:!0,value:u})}})},fix:function(t){return t[h.expando]?t:new h.Event(t)},special:{load:{noBubble:!0},click:{setup:function(t){var s=this||t;return pt.test(s.type)&&s.click&&re(s,"input")&&lr(s,"click",vn),!1},trigger:function(t){var s=this||t;return pt.test(s.type)&&s.click&&re(s,"input")&&lr(s,"click"),!0},_default:function(t){var s=t.target;return pt.test(s.type)&&s.click&&re(s,"input")&&ke.get(s,"click")||re(s,"a")}},beforeunload:{postDispatch:function(t){t.result!==void 0&&t.originalEvent&&(t.originalEvent.returnValue=t.result)}}}};function lr(t,s,u){if(!u){ke.get(t,s)===void 0&&h.event.add(t,s,vn);return}ke.set(t,s,!1),h.event.add(t,s,{namespace:!1,handler:function(l){var m,w,T=ke.get(this,s);if(l.isTrigger&1&&this[s]){if(T.length)(h.event.special[s]||{}).delegateType&&l.stopPropagation();else if(T=a.call(arguments),ke.set(this,s,T),m=u(this,s),this[s](),w=ke.get(this,s),T!==w||m?ke.set(this,s,!1):w={},T!==w)return l.stopImmediatePropagation(),l.preventDefault(),w&&w.value}else T.length&&(ke.set(this,s,{value:h.event.trigger(h.extend(T[0],h.Event.prototype),T.slice(1),this)}),l.stopImmediatePropagation())}})}h.removeEvent=function(t,s,u){t.removeEventListener&&t.removeEventListener(s,u)},h.Event=function(t,s){if(!(this instanceof h.Event))return new h.Event(t,s);t&&t.type?(this.originalEvent=t,this.type=t.type,this.isDefaultPrevented=t.defaultPrevented||t.defaultPrevented===void 0&&t.returnValue===!1?vn:xn,this.target=t.target&&t.target.nodeType===3?t.target.parentNode:t.target,this.currentTarget=t.currentTarget,this.relatedTarget=t.relatedTarget):this.type=t,s&&h.extend(this,s),this.timeStamp=t&&t.timeStamp||Date.now(),this[h.expando]=!0},h.Event.prototype={constructor:h.Event,isDefaultPrevented:xn,isPropagationStopped:xn,isImmediatePropagationStopped:xn,isSimulated:!1,preventDefault:function(){var t=this.originalEvent;this.isDefaultPrevented=vn,t&&!this.isSimulated&&t.preventDefault()},stopPropagation:function(){var t=this.originalEvent;this.isPropagationStopped=vn,t&&!this.isSimulated&&t.stopPropagation()},stopImmediatePropagation:function(){var t=this.originalEvent;this.isImmediatePropagationStopped=vn,t&&!this.isSimulated&&t.stopImmediatePropagation(),this.stopPropagation()}},h.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:!0},h.event.addProp),h.each({focus:"focusin",blur:"focusout"},function(t,s){h.event.special[t]={setup:function(){return lr(this,t,_r),!1},trigger:function(){return lr(this,t),!0},_default:function(u){return ke.get(u.target,t)},delegateType:s}}),h.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(t,s){h.event.special[t]={delegateType:s,bindType:s,handle:function(u){var l,m=this,w=u.relatedTarget,T=u.handleObj;return(!w||w!==m&&!h.contains(m,w))&&(u.type=T.origType,l=T.handler.apply(this,arguments),u.type=s),l}}}),h.fn.extend({on:function(t,s,u,l){return Sr(this,t,s,u,l)},one:function(t,s,u,l){return Sr(this,t,s,u,l,1)},off:function(t,s,u){var l,m;if(t&&t.preventDefault&&t.handleObj)return l=t.handleObj,h(t.delegateTarget).off(l.namespace?l.origType+"."+l.namespace:l.origType,l.selector,l.handler),this;if(typeof t=="object"){for(m in t)this.off(m,s,t[m]);return this}return(s===!1||typeof s=="function")&&(u=s,s=void 0),u===!1&&(u=xn),this.each(function(){h.event.remove(this,t,u,s)})}});var _n=/<script|<style|<link/i,In=/checked\s*(?:[^=]|=\s*.checked.)/i,zn=/^\s*<!\[CDATA\[|\]\]>\s*$/g;function hr(t,s){return re(t,"table")&&re(s.nodeType!==11?s:s.firstChild,"tr")&&h(t).children("tbody")[0]||t}function Tr(t){return t.type=(t.getAttribute("type")!==null)+"/"+t.type,t}function Vr(t){return(t.type||"").slice(0,5)==="true/"?t.type=t.type.slice(5):t.removeAttribute("type"),t}function Xr(t,s){var u,l,m,w,T,B,D;if(s.nodeType===1){if(ke.hasData(t)&&(w=ke.get(t),D=w.events,D)){ke.remove(s,"handle events");for(m in D)for(u=0,l=D[m].length;u<l;u++)h.event.add(s,m,D[m][u])}De.hasData(t)&&(T=De.access(t),B=h.extend({},T),De.set(s,B))}}function rn(t,s){var u=s.nodeName.toLowerCase();u==="input"&&pt.test(t.type)?s.checked=t.checked:(u==="input"||u==="textarea")&&(s.defaultValue=t.defaultValue)}function Mn(t,s,u,l){s=f(s);var m,w,T,B,D,W,ee=0,de=t.length,V=de-1,te=s[0],Le=P(te);if(Le||de>1&&typeof te=="string"&&!S.checkClone&&In.test(te))return t.each(function(Ze){var Ne=t.eq(Ze);Le&&(s[0]=te.call(this,Ze,Ne.html())),Mn(Ne,s,u,l)});if(de&&(m=qn(s,t[0].ownerDocument,!1,t,l),w=m.firstChild,m.childNodes.length===1&&(m=w),w||l)){for(T=h.map($t(m,"script"),Tr),B=T.length;ee<de;ee++)D=m,ee!==V&&(D=h.clone(D,!0,!0),B&&h.merge(T,$t(D,"script"))),u.call(t[ee],D,ee);if(B)for(W=T[T.length-1].ownerDocument,h.map(T,Vr),ee=0;ee<B;ee++)D=T[ee],Nn.test(D.type||"")&&!ke.access(D,"globalEval")&&h.contains(W,D)&&(D.src&&(D.type||"").toLowerCase()!=="module"?h._evalUrl&&!D.noModule&&h._evalUrl(D.src,{nonce:D.nonce||D.getAttribute("nonce")},W):K(D.textContent.replace(zn,""),D,W))}return t}function g(t,s,u){for(var l,m=s?h.filter(s,t):t,w=0;(l=m[w])!=null;w++)!u&&l.nodeType===1&&h.cleanData($t(l)),l.parentNode&&(u&&$(l)&&Ln($t(l,"script")),l.parentNode.removeChild(l));return t}h.extend({htmlPrefilter:function(t){return t},clone:function(t,s,u){var l,m,w,T,B=t.cloneNode(!0),D=$(t);if(!S.noCloneChecked&&(t.nodeType===1||t.nodeType===11)&&!h.isXMLDoc(t))for(T=$t(B),w=$t(t),l=0,m=w.length;l<m;l++)rn(w[l],T[l]);if(s)if(u)for(w=w||$t(t),T=T||$t(B),l=0,m=w.length;l<m;l++)Xr(w[l],T[l]);else Xr(t,B);return T=$t(B,"script"),T.length>0&&Ln(T,!D&&$t(t,"script")),B},cleanData:function(t){for(var s,u,l,m=h.event.special,w=0;(u=t[w])!==void 0;w++)if(sn(u)){if(s=u[ke.expando]){if(s.events)for(l in s.events)m[l]?h.event.remove(u,l):h.removeEvent(u,l,s.handle);u[ke.expando]=void 0}u[De.expando]&&(u[De.expando]=void 0)}}}),h.fn.extend({detach:function(t){return g(this,t,!0)},remove:function(t){return g(this,t)},text:function(t){return qe(this,function(s){return s===void 0?h.text(this):this.empty().each(function(){(this.nodeType===1||this.nodeType===11||this.nodeType===9)&&(this.textContent=s)})},null,t,arguments.length)},append:function(){return Mn(this,arguments,function(t){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var s=hr(this,t);s.appendChild(t)}})},prepend:function(){return Mn(this,arguments,function(t){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var s=hr(this,t);s.insertBefore(t,s.firstChild)}})},before:function(){return Mn(this,arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this)})},after:function(){return Mn(this,arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this.nextSibling)})},empty:function(){for(var t,s=0;(t=this[s])!=null;s++)t.nodeType===1&&(h.cleanData($t(t,!1)),t.textContent="");return this},clone:function(t,s){return t=t??!1,s=s??t,this.map(function(){return h.clone(this,t,s)})},html:function(t){return qe(this,function(s){var u=this[0]||{},l=0,m=this.length;if(s===void 0&&u.nodeType===1)return u.innerHTML;if(typeof s=="string"&&!_n.test(s)&&!zt[(kn.exec(s)||["",""])[1].toLowerCase()]){s=h.htmlPrefilter(s);try{for(;l<m;l++)u=this[l]||{},u.nodeType===1&&(h.cleanData($t(u,!1)),u.innerHTML=s);u=0}catch{}}u&&this.empty().append(s)},null,t,arguments.length)},replaceWith:function(){var t=[];return Mn(this,arguments,function(s){var u=this.parentNode;h.inArray(this,t)<0&&(h.cleanData($t(this)),u&&u.replaceChild(s,this))},t)}}),h.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(t,s){h.fn[t]=function(u){for(var l,m=[],w=h(u),T=w.length-1,B=0;B<=T;B++)l=B===T?this:this.clone(!0),h(w[B])[s](l),d.apply(m,l.get());return this.pushStack(m)}});var A=new RegExp("^("+L+")(?!px)[a-z%]+$","i"),E=/^--/,c=function(t){var s=t.ownerDocument.defaultView;return(!s||!s.opener)&&(s=n),s.getComputedStyle(t)},k=function(t,s,u){var l,m,w={};for(m in s)w[m]=t.style[m],t.style[m]=s[m];l=u.call(t);for(m in s)t.style[m]=w[m];return l},q=new RegExp(y.join("|"),"i"),Y="[\\x20\\t\\r\\n\\f]",ae=new RegExp("^"+Y+"+|((?:^|[^\\\\])(?:\\\\.)*)"+Y+"+$","g");(function(){function t(){if(W){D.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",W.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",M.appendChild(D).appendChild(W);var ee=n.getComputedStyle(W);u=ee.top!=="1%",B=s(ee.marginLeft)===12,W.style.right="60%",w=s(ee.right)===36,l=s(ee.width)===36,W.style.position="absolute",m=s(W.offsetWidth/3)===12,M.removeChild(D),W=null}}function s(ee){return Math.round(parseFloat(ee))}var u,l,m,w,T,B,D=N.createElement("div"),W=N.createElement("div");W.style&&(W.style.backgroundClip="content-box",W.cloneNode(!0).style.backgroundClip="",S.clearCloneStyle=W.style.backgroundClip==="content-box",h.extend(S,{boxSizingReliable:function(){return t(),l},pixelBoxStyles:function(){return t(),w},pixelPosition:function(){return t(),u},reliableMarginLeft:function(){return t(),B},scrollboxSize:function(){return t(),m},reliableTrDimensions:function(){var ee,de,V,te;return T==null&&(ee=N.createElement("table"),de=N.createElement("tr"),V=N.createElement("div"),ee.style.cssText="position:absolute;left:-11111px;border-collapse:separate",de.style.cssText="border:1px solid",de.style.height="1px",V.style.height="9px",V.style.display="block",M.appendChild(ee).appendChild(de).appendChild(V),te=n.getComputedStyle(de),T=parseInt(te.height,10)+parseInt(te.borderTopWidth,10)+parseInt(te.borderBottomWidth,10)===de.offsetHeight,M.removeChild(ee)),T}}))})();function ge(t,s,u){var l,m,w,T,B=E.test(s),D=t.style;return u=u||c(t),u&&(T=u.getPropertyValue(s)||u[s],B&&T&&(T=T.replace(ae,"$1")||void 0),T===""&&!$(t)&&(T=h.style(t,s)),!S.pixelBoxStyles()&&A.test(T)&&q.test(s)&&(l=D.width,m=D.minWidth,w=D.maxWidth,D.minWidth=D.maxWidth=D.width=T,T=u.width,D.width=l,D.minWidth=m,D.maxWidth=w)),T!==void 0?T+"":T}function Ce(t,s){return{get:function(){if(t()){delete this.get;return}return(this.get=s).apply(this,arguments)}}}var we=["Webkit","Moz","ms"],ut=N.createElement("div").style,Ee={};function ze(t){for(var s=t[0].toUpperCase()+t.slice(1),u=we.length;u--;)if(t=we[u]+s,t in ut)return t}function Be(t){var s=h.cssProps[t]||Ee[t];return s||(t in ut?t:Ee[t]=ze(t)||t)}var Ge=/^(none|table(?!-c[ea]).+)/,Ve={position:"absolute",visibility:"hidden",display:"block"},$e={letterSpacing:"0",fontWeight:"400"};function We(t,s,u){var l=p.exec(s);return l?Math.max(0,l[2]-(u||0))+(l[3]||"px"):s}function Ue(t,s,u,l,m,w){var T=s==="width"?1:0,B=0,D=0;if(u===(l?"border":"content"))return 0;for(;T<4;T+=2)u==="margin"&&(D+=h.css(t,u+y[T],!0,m)),l?(u==="content"&&(D-=h.css(t,"padding"+y[T],!0,m)),u!=="margin"&&(D-=h.css(t,"border"+y[T]+"Width",!0,m))):(D+=h.css(t,"padding"+y[T],!0,m),u!=="padding"?D+=h.css(t,"border"+y[T]+"Width",!0,m):B+=h.css(t,"border"+y[T]+"Width",!0,m));return!l&&w>=0&&(D+=Math.max(0,Math.ceil(t["offset"+s[0].toUpperCase()+s.slice(1)]-w-D-B-.5))||0),D}function Oe(t,s,u){var l=c(t),m=!S.boxSizingReliable()||u,w=m&&h.css(t,"boxSizing",!1,l)==="border-box",T=w,B=ge(t,s,l),D="offset"+s[0].toUpperCase()+s.slice(1);if(A.test(B)){if(!u)return B;B="auto"}return(!S.boxSizingReliable()&&w||!S.reliableTrDimensions()&&re(t,"tr")||B==="auto"||!parseFloat(B)&&h.css(t,"display",!1,l)==="inline")&&t.getClientRects().length&&(w=h.css(t,"boxSizing",!1,l)==="border-box",T=D in t,T&&(B=t[D])),B=parseFloat(B)||0,B+Ue(t,s,u||(w?"border":"content"),T,l,B)+"px"}h.extend({cssHooks:{opacity:{get:function(t,s){if(s){var u=ge(t,"opacity");return u===""?"1":u}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(t,s,u,l){if(!(!t||t.nodeType===3||t.nodeType===8||!t.style)){var m,w,T,B=Rt(s),D=E.test(s),W=t.style;if(D||(s=Be(B)),T=h.cssHooks[s]||h.cssHooks[B],u!==void 0){if(w=typeof u,w==="string"&&(m=p.exec(u))&&m[1]&&(u=rt(t,s,m),w="number"),u==null||u!==u)return;w==="number"&&!D&&(u+=m&&m[3]||(h.cssNumber[B]?"":"px")),!S.clearCloneStyle&&u===""&&s.indexOf("background")===0&&(W[s]="inherit"),(!T||!("set"in T)||(u=T.set(t,u,l))!==void 0)&&(D?W.setProperty(s,u):W[s]=u)}else return T&&"get"in T&&(m=T.get(t,!1,l))!==void 0?m:W[s]}},css:function(t,s,u,l){var m,w,T,B=Rt(s),D=E.test(s);return D||(s=Be(B)),T=h.cssHooks[s]||h.cssHooks[B],T&&"get"in T&&(m=T.get(t,!0,u)),m===void 0&&(m=ge(t,s,l)),m==="normal"&&s in $e&&(m=$e[s]),u===""||u?(w=parseFloat(m),u===!0||isFinite(w)?w||0:m):m}}),h.each(["height","width"],function(t,s){h.cssHooks[s]={get:function(u,l,m){if(l)return Ge.test(h.css(u,"display"))&&(!u.getClientRects().length||!u.getBoundingClientRect().width)?k(u,Ve,function(){return Oe(u,s,m)}):Oe(u,s,m)},set:function(u,l,m){var w,T=c(u),B=!S.scrollboxSize()&&T.position==="absolute",D=B||m,W=D&&h.css(u,"boxSizing",!1,T)==="border-box",ee=m?Ue(u,s,m,W,T):0;return W&&B&&(ee-=Math.ceil(u["offset"+s[0].toUpperCase()+s.slice(1)]-parseFloat(T[s])-Ue(u,s,"border",!1,T)-.5)),ee&&(w=p.exec(l))&&(w[3]||"px")!=="px"&&(u.style[s]=l,l=h.css(u,s)),We(u,l,ee)}}}),h.cssHooks.marginLeft=Ce(S.reliableMarginLeft,function(t,s){if(s)return(parseFloat(ge(t,"marginLeft"))||t.getBoundingClientRect().left-k(t,{marginLeft:0},function(){return t.getBoundingClientRect().left}))+"px"}),h.each({margin:"",padding:"",border:"Width"},function(t,s){h.cssHooks[t+s]={expand:function(u){for(var l=0,m={},w=typeof u=="string"?u.split(" "):[u];l<4;l++)m[t+y[l]+s]=w[l]||w[l-2]||w[0];return m}},t!=="margin"&&(h.cssHooks[t+s].set=We)}),h.fn.extend({css:function(t,s){return qe(this,function(u,l,m){var w,T,B={},D=0;if(Array.isArray(l)){for(w=c(u),T=l.length;D<T;D++)B[l[D]]=h.css(u,l[D],!1,w);return B}return m!==void 0?h.style(u,l,m):h.css(u,l)},t,s,arguments.length>1)}});function Te(t,s,u,l,m){return new Te.prototype.init(t,s,u,l,m)}h.Tween=Te,Te.prototype={constructor:Te,init:function(t,s,u,l,m,w){this.elem=t,this.prop=u,this.easing=m||h.easing._default,this.options=s,this.start=this.now=this.cur(),this.end=l,this.unit=w||(h.cssNumber[u]?"":"px")},cur:function(){var t=Te.propHooks[this.prop];return t&&t.get?t.get(this):Te.propHooks._default.get(this)},run:function(t){var s,u=Te.propHooks[this.prop];return this.options.duration?this.pos=s=h.easing[this.easing](t,this.options.duration*t,0,1,this.options.duration):this.pos=s=t,this.now=(this.end-this.start)*s+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),u&&u.set?u.set(this):Te.propHooks._default.set(this),this}},Te.prototype.init.prototype=Te.prototype,Te.propHooks={_default:{get:function(t){var s;return t.elem.nodeType!==1||t.elem[t.prop]!=null&&t.elem.style[t.prop]==null?t.elem[t.prop]:(s=h.css(t.elem,t.prop,""),!s||s==="auto"?0:s)},set:function(t){h.fx.step[t.prop]?h.fx.step[t.prop](t):t.elem.nodeType===1&&(h.cssHooks[t.prop]||t.elem.style[Be(t.prop)]!=null)?h.style(t.elem,t.prop,t.now+t.unit):t.elem[t.prop]=t.now}}},Te.propHooks.scrollTop=Te.propHooks.scrollLeft={set:function(t){t.elem.nodeType&&t.elem.parentNode&&(t.elem[t.prop]=t.now)}},h.easing={linear:function(t){return t},swing:function(t){return .5-Math.cos(t*Math.PI)/2},_default:"swing"},h.fx=Te.prototype.init,h.fx.step={};var be,Ae,Re=/^(?:toggle|show|hide)$/,_e=/queueHooks$/;function Q(){Ae&&(N.hidden===!1&&n.requestAnimationFrame?n.requestAnimationFrame(Q):n.setTimeout(Q,h.fx.interval),h.fx.tick())}function Z(){return n.setTimeout(function(){be=void 0}),be=Date.now()}function le(t,s){var u,l=0,m={height:t};for(s=s?1:0;l<4;l+=2-s)u=y[l],m["margin"+u]=m["padding"+u]=t;return s&&(m.opacity=m.width=t),m}function oe(t,s,u){for(var l,m=(Pe.tweeners[s]||[]).concat(Pe.tweeners["*"]),w=0,T=m.length;w<T;w++)if(l=m[w].call(u,s,t))return l}function ue(t,s,u){var l,m,w,T,B,D,W,ee,de="width"in s||"height"in s,V=this,te={},Le=t.style,Ze=t.nodeType&&ce(t),Ne=ke.get(t,"fxshow");u.queue||(T=h._queueHooks(t,"fx"),T.unqueued==null&&(T.unqueued=0,B=T.empty.fire,T.empty.fire=function(){T.unqueued||B()}),T.unqueued++,V.always(function(){V.always(function(){T.unqueued--,h.queue(t,"fx").length||T.empty.fire()})}));for(l in s)if(m=s[l],Re.test(m)){if(delete s[l],w=w||m==="toggle",m===(Ze?"hide":"show"))if(m==="show"&&Ne&&Ne[l]!==void 0)Ze=!0;else continue;te[l]=Ne&&Ne[l]||h.style(t,l)}if(D=!h.isEmptyObject(s),!(!D&&h.isEmptyObject(te))){de&&t.nodeType===1&&(u.overflow=[Le.overflow,Le.overflowX,Le.overflowY],W=Ne&&Ne.display,W==null&&(W=ke.get(t,"display")),ee=h.css(t,"display"),ee==="none"&&(W?ee=W:(mt([t],!0),W=t.style.display||W,ee=h.css(t,"display"),mt([t]))),(ee==="inline"||ee==="inline-block"&&W!=null)&&h.css(t,"float")==="none"&&(D||(V.done(function(){Le.display=W}),W==null&&(ee=Le.display,W=ee==="none"?"":ee)),Le.display="inline-block")),u.overflow&&(Le.overflow="hidden",V.always(function(){Le.overflow=u.overflow[0],Le.overflowX=u.overflow[1],Le.overflowY=u.overflow[2]})),D=!1;for(l in te)D||(Ne?"hidden"in Ne&&(Ze=Ne.hidden):Ne=ke.access(t,"fxshow",{display:W}),w&&(Ne.hidden=!Ze),Ze&&mt([t],!0),V.done(function(){Ze||mt([t]),ke.remove(t,"fxshow");for(l in te)h.style(t,l,te[l])})),D=oe(Ze?Ne[l]:0,l,V),l in Ne||(Ne[l]=D.start,Ze&&(D.end=D.start,D.start=0))}}function ye(t,s){var u,l,m,w,T;for(u in t)if(l=Rt(u),m=s[l],w=t[u],Array.isArray(w)&&(m=w[1],w=t[u]=w[0]),u!==l&&(t[l]=w,delete t[u]),T=h.cssHooks[l],T&&"expand"in T){w=T.expand(w),delete t[l];for(u in w)u in t||(t[u]=w[u],s[u]=m)}else s[l]=m}function Pe(t,s,u){var l,m,w=0,T=Pe.prefilters.length,B=h.Deferred().always(function(){delete D.elem}),D=function(){if(m)return!1;for(var de=be||Z(),V=Math.max(0,W.startTime+W.duration-de),te=V/W.duration||0,Le=1-te,Ze=0,Ne=W.tweens.length;Ze<Ne;Ze++)W.tweens[Ze].run(Le);return B.notifyWith(t,[W,Le,V]),Le<1&&Ne?V:(Ne||B.notifyWith(t,[W,1,0]),B.resolveWith(t,[W]),!1)},W=B.promise({elem:t,props:h.extend({},s),opts:h.extend(!0,{specialEasing:{},easing:h.easing._default},u),originalProperties:s,originalOptions:u,startTime:be||Z(),duration:u.duration,tweens:[],createTween:function(de,V){var te=h.Tween(t,W.opts,de,V,W.opts.specialEasing[de]||W.opts.easing);return W.tweens.push(te),te},stop:function(de){var V=0,te=de?W.tweens.length:0;if(m)return this;for(m=!0;V<te;V++)W.tweens[V].run(1);return de?(B.notifyWith(t,[W,1,0]),B.resolveWith(t,[W,de])):B.rejectWith(t,[W,de]),this}}),ee=W.props;for(ye(ee,W.opts.specialEasing);w<T;w++)if(l=Pe.prefilters[w].call(W,t,ee,W.opts),l)return P(l.stop)&&(h._queueHooks(W.elem,W.opts.queue).stop=l.stop.bind(l)),l;return h.map(ee,oe,W),P(W.opts.start)&&W.opts.start.call(t,W),W.progress(W.opts.progress).done(W.opts.done,W.opts.complete).fail(W.opts.fail).always(W.opts.always),h.fx.timer(h.extend(D,{elem:t,anim:W,queue:W.opts.queue})),W}h.Animation=h.extend(Pe,{tweeners:{"*":[function(t,s){var u=this.createTween(t,s);return rt(u.elem,t,p.exec(s),u),u}]},tweener:function(t,s){P(t)?(s=t,t=["*"]):t=t.match(Vt);for(var u,l=0,m=t.length;l<m;l++)u=t[l],Pe.tweeners[u]=Pe.tweeners[u]||[],Pe.tweeners[u].unshift(s)},prefilters:[ue],prefilter:function(t,s){s?Pe.prefilters.unshift(t):Pe.prefilters.push(t)}}),h.speed=function(t,s,u){var l=t&&typeof t=="object"?h.extend({},t):{complete:u||!u&&s||P(t)&&t,duration:t,easing:u&&s||s&&!P(s)&&s};return h.fx.off?l.duration=0:typeof l.duration!="number"&&(l.duration in h.fx.speeds?l.duration=h.fx.speeds[l.duration]:l.duration=h.fx.speeds._default),(l.queue==null||l.queue===!0)&&(l.queue="fx"),l.old=l.complete,l.complete=function(){P(l.old)&&l.old.call(this),l.queue&&h.dequeue(this,l.queue)},l},h.fn.extend({fadeTo:function(t,s,u,l){return this.filter(ce).css("opacity",0).show().end().animate({opacity:s},t,u,l)},animate:function(t,s,u,l){var m=h.isEmptyObject(t),w=h.speed(s,u,l),T=function(){var B=Pe(this,h.extend({},t),w);(m||ke.get(this,"finish"))&&B.stop(!0)};return T.finish=T,m||w.queue===!1?this.each(T):this.queue(w.queue,T)},stop:function(t,s,u){var l=function(m){var w=m.stop;delete m.stop,w(u)};return typeof t!="string"&&(u=s,s=t,t=void 0),s&&this.queue(t||"fx",[]),this.each(function(){var m=!0,w=t!=null&&t+"queueHooks",T=h.timers,B=ke.get(this);if(w)B[w]&&B[w].stop&&l(B[w]);else for(w in B)B[w]&&B[w].stop&&_e.test(w)&&l(B[w]);for(w=T.length;w--;)T[w].elem===this&&(t==null||T[w].queue===t)&&(T[w].anim.stop(u),m=!1,T.splice(w,1));(m||!u)&&h.dequeue(this,t)})},finish:function(t){return t!==!1&&(t=t||"fx"),this.each(function(){var s,u=ke.get(this),l=u[t+"queue"],m=u[t+"queueHooks"],w=h.timers,T=l?l.length:0;for(u.finish=!0,h.queue(this,t,[]),m&&m.stop&&m.stop.call(this,!0),s=w.length;s--;)w[s].elem===this&&w[s].queue===t&&(w[s].anim.stop(!0),w.splice(s,1));for(s=0;s<T;s++)l[s]&&l[s].finish&&l[s].finish.call(this);delete u.finish})}}),h.each(["toggle","show","hide"],function(t,s){var u=h.fn[s];h.fn[s]=function(l,m,w){return l==null||typeof l=="boolean"?u.apply(this,arguments):this.animate(le(s,!0),l,m,w)}}),h.each({slideDown:le("show"),slideUp:le("hide"),slideToggle:le("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(t,s){h.fn[t]=function(u,l,m){return this.animate(s,u,l,m)}}),h.timers=[],h.fx.tick=function(){var t,s=0,u=h.timers;for(be=Date.now();s<u.length;s++)t=u[s],!t()&&u[s]===t&&u.splice(s--,1);u.length||h.fx.stop(),be=void 0},h.fx.timer=function(t){h.timers.push(t),h.fx.start()},h.fx.interval=13,h.fx.start=function(){Ae||(Ae=!0,Q())},h.fx.stop=function(){Ae=null},h.fx.speeds={slow:600,fast:200,_default:400},h.fn.delay=function(t,s){return t=h.fx&&h.fx.speeds[t]||t,s=s||"fx",this.queue(s,function(u,l){var m=n.setTimeout(u,t);l.stop=function(){n.clearTimeout(m)}})},function(){var t=N.createElement("input"),s=N.createElement("select"),u=s.appendChild(N.createElement("option"));t.type="checkbox",S.checkOn=t.value!=="",S.optSelected=u.selected,t=N.createElement("input"),t.value="t",t.type="radio",S.radioValue=t.value==="t"}();var Xe,Ye=h.expr.attrHandle;h.fn.extend({attr:function(t,s){return qe(this,h.attr,t,s,arguments.length>1)},removeAttr:function(t){return this.each(function(){h.removeAttr(this,t)})}}),h.extend({attr:function(t,s,u){var l,m,w=t.nodeType;if(!(w===3||w===8||w===2)){if(typeof t.getAttribute>"u")return h.prop(t,s,u);if((w!==1||!h.isXMLDoc(t))&&(m=h.attrHooks[s.toLowerCase()]||(h.expr.match.bool.test(s)?Xe:void 0)),u!==void 0){if(u===null){h.removeAttr(t,s);return}return m&&"set"in m&&(l=m.set(t,u,s))!==void 0?l:(t.setAttribute(s,u+""),u)}return m&&"get"in m&&(l=m.get(t,s))!==null?l:(l=h.find.attr(t,s),l??void 0)}},attrHooks:{type:{set:function(t,s){if(!S.radioValue&&s==="radio"&&re(t,"input")){var u=t.value;return t.setAttribute("type",s),u&&(t.value=u),s}}}},removeAttr:function(t,s){var u,l=0,m=s&&s.match(Vt);if(m&&t.nodeType===1)for(;u=m[l++];)t.removeAttribute(u)}}),Xe={set:function(t,s,u){return s===!1?h.removeAttr(t,u):t.setAttribute(u,u),u}},h.each(h.expr.match.bool.source.match(/\w+/g),function(t,s){var u=Ye[s]||h.find.attr;Ye[s]=function(l,m,w){var T,B,D=m.toLowerCase();return w||(B=Ye[D],Ye[D]=T,T=u(l,m,w)!=null?D:null,Ye[D]=B),T}});var Qe=/^(?:input|select|textarea|button)$/i,j=/^(?:a|area)$/i;h.fn.extend({prop:function(t,s){return qe(this,h.prop,t,s,arguments.length>1)},removeProp:function(t){return this.each(function(){delete this[h.propFix[t]||t]})}}),h.extend({prop:function(t,s,u){var l,m,w=t.nodeType;if(!(w===3||w===8||w===2))return(w!==1||!h.isXMLDoc(t))&&(s=h.propFix[s]||s,m=h.propHooks[s]),u!==void 0?m&&"set"in m&&(l=m.set(t,u,s))!==void 0?l:t[s]=u:m&&"get"in m&&(l=m.get(t,s))!==null?l:t[s]},propHooks:{tabIndex:{get:function(t){var s=h.find.attr(t,"tabindex");return s?parseInt(s,10):Qe.test(t.nodeName)||j.test(t.nodeName)&&t.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),S.optSelected||(h.propHooks.selected={get:function(t){var s=t.parentNode;return s&&s.parentNode&&s.parentNode.selectedIndex,null},set:function(t){var s=t.parentNode;s&&(s.selectedIndex,s.parentNode&&s.parentNode.selectedIndex)}}),h.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){h.propFix[this.toLowerCase()]=this});function Je(t){var s=t.match(Vt)||[];return s.join(" ")}function nt(t){return t.getAttribute&&t.getAttribute("class")||""}function ot(t){return Array.isArray(t)?t:typeof t=="string"?t.match(Vt)||[]:[]}h.fn.extend({addClass:function(t){var s,u,l,m,w,T;return P(t)?this.each(function(B){h(this).addClass(t.call(this,B,nt(this)))}):(s=ot(t),s.length?this.each(function(){if(l=nt(this),u=this.nodeType===1&&" "+Je(l)+" ",u){for(w=0;w<s.length;w++)m=s[w],u.indexOf(" "+m+" ")<0&&(u+=m+" ");T=Je(u),l!==T&&this.setAttribute("class",T)}}):this)},removeClass:function(t){var s,u,l,m,w,T;return P(t)?this.each(function(B){h(this).removeClass(t.call(this,B,nt(this)))}):arguments.length?(s=ot(t),s.length?this.each(function(){if(l=nt(this),u=this.nodeType===1&&" "+Je(l)+" ",u){for(w=0;w<s.length;w++)for(m=s[w];u.indexOf(" "+m+" ")>-1;)u=u.replace(" "+m+" "," ");T=Je(u),l!==T&&this.setAttribute("class",T)}}):this):this.attr("class","")},toggleClass:function(t,s){var u,l,m,w,T=typeof t,B=T==="string"||Array.isArray(t);return P(t)?this.each(function(D){h(this).toggleClass(t.call(this,D,nt(this),s),s)}):typeof s=="boolean"&&B?s?this.addClass(t):this.removeClass(t):(u=ot(t),this.each(function(){if(B)for(w=h(this),m=0;m<u.length;m++)l=u[m],w.hasClass(l)?w.removeClass(l):w.addClass(l);else(t===void 0||T==="boolean")&&(l=nt(this),l&&ke.set(this,"__className__",l),this.setAttribute&&this.setAttribute("class",l||t===!1?"":ke.get(this,"__className__")||""))}))},hasClass:function(t){var s,u,l=0;for(s=" "+t+" ";u=this[l++];)if(u.nodeType===1&&(" "+Je(nt(u))+" ").indexOf(s)>-1)return!0;return!1}});var et=/\r/g;h.fn.extend({val:function(t){var s,u,l,m=this[0];return arguments.length?(l=P(t),this.each(function(w){var T;this.nodeType===1&&(l?T=t.call(this,w,h(this).val()):T=t,T==null?T="":typeof T=="number"?T+="":Array.isArray(T)&&(T=h.map(T,function(B){return B==null?"":B+""})),s=h.valHooks[this.type]||h.valHooks[this.nodeName.toLowerCase()],(!s||!("set"in s)||s.set(this,T,"value")===void 0)&&(this.value=T))})):m?(s=h.valHooks[m.type]||h.valHooks[m.nodeName.toLowerCase()],s&&"get"in s&&(u=s.get(m,"value"))!==void 0?u:(u=m.value,typeof u=="string"?u.replace(et,""):u??"")):void 0}}),h.extend({valHooks:{option:{get:function(t){var s=h.find.attr(t,"value");return s??Je(h.text(t))}},select:{get:function(t){var s,u,l,m=t.options,w=t.selectedIndex,T=t.type==="select-one",B=T?null:[],D=T?w+1:m.length;for(w<0?l=D:l=T?w:0;l<D;l++)if(u=m[l],(u.selected||l===w)&&!u.disabled&&(!u.parentNode.disabled||!re(u.parentNode,"optgroup"))){if(s=h(u).val(),T)return s;B.push(s)}return B},set:function(t,s){for(var u,l,m=t.options,w=h.makeArray(s),T=m.length;T--;)l=m[T],(l.selected=h.inArray(h.valHooks.option.get(l),w)>-1)&&(u=!0);return u||(t.selectedIndex=-1),w}}}}),h.each(["radio","checkbox"],function(){h.valHooks[this]={set:function(t,s){if(Array.isArray(s))return t.checked=h.inArray(h(t).val(),s)>-1}},S.checkOn||(h.valHooks[this].get=function(t){return t.getAttribute("value")===null?"on":t.value})}),S.focusin="onfocusin"in n;var st=/^(?:focusinfocus|focusoutblur)$/,at=function(t){t.stopPropagation()};h.extend(h.event,{trigger:function(t,s,u,l){var m,w,T,B,D,W,ee,de,V=[u||N],te=x.call(t,"type")?t.type:t,Le=x.call(t,"namespace")?t.namespace.split("."):[];if(w=de=T=u=u||N,!(u.nodeType===3||u.nodeType===8)&&!st.test(te+h.event.triggered)&&(te.indexOf(".")>-1&&(Le=te.split("."),te=Le.shift(),Le.sort()),D=te.indexOf(":")<0&&"on"+te,t=t[h.expando]?t:new h.Event(te,typeof t=="object"&&t),t.isTrigger=l?2:3,t.namespace=Le.join("."),t.rnamespace=t.namespace?new RegExp("(^|\\.)"+Le.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=u),s=s==null?[t]:h.makeArray(s,[t]),ee=h.event.special[te]||{},!(!l&&ee.trigger&&ee.trigger.apply(u,s)===!1))){if(!l&&!ee.noBubble&&!I(u)){for(B=ee.delegateType||te,st.test(B+te)||(w=w.parentNode);w;w=w.parentNode)V.push(w),T=w;T===(u.ownerDocument||N)&&V.push(T.defaultView||T.parentWindow||n)}for(m=0;(w=V[m++])&&!t.isPropagationStopped();)de=w,t.type=m>1?B:ee.bindType||te,W=(ke.get(w,"events")||Object.create(null))[t.type]&&ke.get(w,"handle"),W&&W.apply(w,s),W=D&&w[D],W&&W.apply&&sn(w)&&(t.result=W.apply(w,s),t.result===!1&&t.preventDefault());return t.type=te,!l&&!t.isDefaultPrevented()&&(!ee._default||ee._default.apply(V.pop(),s)===!1)&&sn(u)&&D&&P(u[te])&&!I(u)&&(T=u[D],T&&(u[D]=null),h.event.triggered=te,t.isPropagationStopped()&&de.addEventListener(te,at),u[te](),t.isPropagationStopped()&&de.removeEventListener(te,at),h.event.triggered=void 0,T&&(u[D]=T)),t.result}},simulate:function(t,s,u){var l=h.extend(new h.Event,u,{type:t,isSimulated:!0});h.event.trigger(l,null,s)}}),h.fn.extend({trigger:function(t,s){return this.each(function(){h.event.trigger(t,s,this)})},triggerHandler:function(t,s){var u=this[0];if(u)return h.event.trigger(t,s,u,!0)}}),S.focusin||h.each({focus:"focusin",blur:"focusout"},function(t,s){var u=function(l){h.event.simulate(s,l.target,h.event.fix(l))};h.event.special[s]={setup:function(){var l=this.ownerDocument||this.document||this,m=ke.access(l,s);m||l.addEventListener(t,u,!0),ke.access(l,s,(m||0)+1)},teardown:function(){var l=this.ownerDocument||this.document||this,m=ke.access(l,s)-1;m?ke.access(l,s,m):(l.removeEventListener(t,u,!0),ke.remove(l,s))}}});var bt=n.location,dt={guid:Date.now()},Tt=/\?/;h.parseXML=function(t){var s,u;if(!t||typeof t!="string")return null;try{s=new n.DOMParser().parseFromString(t,"text/xml")}catch{}return u=s&&s.getElementsByTagName("parsererror")[0],(!s||u)&&h.error("Invalid XML: "+(u?h.map(u.childNodes,function(l){return l.textContent}).join(`
`):t)),s};var Ct=/\[\]$/,Et=/\r?\n/g,Dt=/^(?:submit|button|image|reset|file)$/i,Kt=/^(?:input|select|textarea|keygen)/i;function Ut(t,s,u,l){var m;if(Array.isArray(s))h.each(s,function(w,T){u||Ct.test(t)?l(t,T):Ut(t+"["+(typeof T=="object"&&T!=null?w:"")+"]",T,u,l)});else if(!u&&he(s)==="object")for(m in s)Ut(t+"["+m+"]",s[m],u,l);else l(t,s)}h.param=function(t,s){var u,l=[],m=function(w,T){var B=P(T)?T():T;l[l.length]=encodeURIComponent(w)+"="+encodeURIComponent(B??"")};if(t==null)return"";if(Array.isArray(t)||t.jquery&&!h.isPlainObject(t))h.each(t,function(){m(this.name,this.value)});else for(u in t)Ut(u,t[u],s,m);return l.join("&")},h.fn.extend({serialize:function(){return h.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var t=h.prop(this,"elements");return t?h.makeArray(t):this}).filter(function(){var t=this.type;return this.name&&!h(this).is(":disabled")&&Kt.test(this.nodeName)&&!Dt.test(t)&&(this.checked||!pt.test(t))}).map(function(t,s){var u=h(this).val();return u==null?null:Array.isArray(u)?h.map(u,function(l){return{name:s.name,value:l.replace(Et,`\r
`)}}):{name:s.name,value:u.replace(Et,`\r
`)}}).get()}});var Gt=/%20/g,Tu=/#.*$/,Eu=/([?&])_=[^&]*/,Cu=/^(.*?):[ \t]*([^\r\n]*)$/mg,Au=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Ou=/^(?:GET|HEAD)$/,Ru=/^\/\//,is={},Ii={},os="*/".concat("*"),Mi=N.createElement("a");Mi.href=bt.href;function ss(t){return function(s,u){typeof s!="string"&&(u=s,s="*");var l,m=0,w=s.toLowerCase().match(Vt)||[];if(P(u))for(;l=w[m++];)l[0]==="+"?(l=l.slice(1)||"*",(t[l]=t[l]||[]).unshift(u)):(t[l]=t[l]||[]).push(u)}}function as(t,s,u,l){var m={},w=t===Ii;function T(B){var D;return m[B]=!0,h.each(t[B]||[],function(W,ee){var de=ee(s,u,l);if(typeof de=="string"&&!w&&!m[de])return s.dataTypes.unshift(de),T(de),!1;if(w)return!(D=de)}),D}return T(s.dataTypes[0])||!m["*"]&&T("*")}function Di(t,s){var u,l,m=h.ajaxSettings.flatOptions||{};for(u in s)s[u]!==void 0&&((m[u]?t:l||(l={}))[u]=s[u]);return l&&h.extend(!0,t,l),t}function Pu(t,s,u){for(var l,m,w,T,B=t.contents,D=t.dataTypes;D[0]==="*";)D.shift(),l===void 0&&(l=t.mimeType||s.getResponseHeader("Content-Type"));if(l){for(m in B)if(B[m]&&B[m].test(l)){D.unshift(m);break}}if(D[0]in u)w=D[0];else{for(m in u){if(!D[0]||t.converters[m+" "+D[0]]){w=m;break}T||(T=m)}w=w||T}if(w)return w!==D[0]&&D.unshift(w),u[w]}function ku(t,s,u,l){var m,w,T,B,D,W={},ee=t.dataTypes.slice();if(ee[1])for(T in t.converters)W[T.toLowerCase()]=t.converters[T];for(w=ee.shift();w;)if(t.responseFields[w]&&(u[t.responseFields[w]]=s),!D&&l&&t.dataFilter&&(s=t.dataFilter(s,t.dataType)),D=w,w=ee.shift(),w){if(w==="*")w=D;else if(D!=="*"&&D!==w){if(T=W[D+" "+w]||W["* "+w],!T){for(m in W)if(B=m.split(" "),B[1]===w&&(T=W[D+" "+B[0]]||W["* "+B[0]],T)){T===!0?T=W[m]:W[m]!==!0&&(w=B[0],ee.unshift(B[1]));break}}if(T!==!0)if(T&&t.throws)s=T(s);else try{s=T(s)}catch(de){return{state:"parsererror",error:T?de:"No conversion from "+D+" to "+w}}}}return{state:"success",data:s}}h.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:bt.href,type:"GET",isLocal:Au.test(bt.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":os,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":h.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(t,s){return s?Di(Di(t,h.ajaxSettings),s):Di(h.ajaxSettings,t)},ajaxPrefilter:ss(is),ajaxTransport:ss(Ii),ajax:function(t,s){typeof t=="object"&&(s=t,t=void 0),s=s||{};var u,l,m,w,T,B,D,W,ee,de,V=h.ajaxSetup({},s),te=V.context||V,Le=V.context&&(te.nodeType||te.jquery)?h(te):h.event,Ze=h.Deferred(),Ne=h.Callbacks("once memory"),Wt=V.statusCode||{},Ht={},fn={},xt="canceled",Ke={readyState:0,getResponseHeader:function(lt){var Pt;if(D){if(!w)for(w={};Pt=Cu.exec(m);)w[Pt[1].toLowerCase()+" "]=(w[Pt[1].toLowerCase()+" "]||[]).concat(Pt[2]);Pt=w[lt.toLowerCase()+" "]}return Pt==null?null:Pt.join(", ")},getAllResponseHeaders:function(){return D?m:null},setRequestHeader:function(lt,Pt){return D==null&&(lt=fn[lt.toLowerCase()]=fn[lt.toLowerCase()]||lt,Ht[lt]=Pt),this},overrideMimeType:function(lt){return D==null&&(V.mimeType=lt),this},statusCode:function(lt){var Pt;if(lt)if(D)Ke.always(lt[Ke.status]);else for(Pt in lt)Wt[Pt]=[Wt[Pt],lt[Pt]];return this},abort:function(lt){var Pt=lt||xt;return u&&u.abort(Pt),an(0,Pt),this}};if(Ze.promise(Ke),V.url=((t||V.url||bt.href)+"").replace(Ru,bt.protocol+"//"),V.type=s.method||s.type||V.method||V.type,V.dataTypes=(V.dataType||"*").toLowerCase().match(Vt)||[""],V.crossDomain==null){B=N.createElement("a");try{B.href=V.url,B.href=B.href,V.crossDomain=Mi.protocol+"//"+Mi.host!=B.protocol+"//"+B.host}catch{V.crossDomain=!0}}if(V.data&&V.processData&&typeof V.data!="string"&&(V.data=h.param(V.data,V.traditional)),as(is,V,s,Ke),D)return Ke;W=h.event&&V.global,W&&h.active++===0&&h.event.trigger("ajaxStart"),V.type=V.type.toUpperCase(),V.hasContent=!Ou.test(V.type),l=V.url.replace(Tu,""),V.hasContent?V.data&&V.processData&&(V.contentType||"").indexOf("application/x-www-form-urlencoded")===0&&(V.data=V.data.replace(Gt,"+")):(de=V.url.slice(l.length),V.data&&(V.processData||typeof V.data=="string")&&(l+=(Tt.test(l)?"&":"?")+V.data,delete V.data),V.cache===!1&&(l=l.replace(Eu,"$1"),de=(Tt.test(l)?"&":"?")+"_="+dt.guid+++de),V.url=l+de),V.ifModified&&(h.lastModified[l]&&Ke.setRequestHeader("If-Modified-Since",h.lastModified[l]),h.etag[l]&&Ke.setRequestHeader("If-None-Match",h.etag[l])),(V.data&&V.hasContent&&V.contentType!==!1||s.contentType)&&Ke.setRequestHeader("Content-Type",V.contentType),Ke.setRequestHeader("Accept",V.dataTypes[0]&&V.accepts[V.dataTypes[0]]?V.accepts[V.dataTypes[0]]+(V.dataTypes[0]!=="*"?", "+os+"; q=0.01":""):V.accepts["*"]);for(ee in V.headers)Ke.setRequestHeader(ee,V.headers[ee]);if(V.beforeSend&&(V.beforeSend.call(te,Ke,V)===!1||D))return Ke.abort();if(xt="abort",Ne.add(V.complete),Ke.done(V.success),Ke.fail(V.error),u=as(Ii,V,s,Ke),!u)an(-1,"No Transport");else{if(Ke.readyState=1,W&&Le.trigger("ajaxSend",[Ke,V]),D)return Ke;V.async&&V.timeout>0&&(T=n.setTimeout(function(){Ke.abort("timeout")},V.timeout));try{D=!1,u.send(Ht,an)}catch(lt){if(D)throw lt;an(-1,lt)}}function an(lt,Pt,Cr,Kr){var cn,tr,nr,un,$n,mn=Pt;D||(D=!0,T&&n.clearTimeout(T),u=void 0,m=Kr||"",Ke.readyState=lt>0?4:0,cn=lt>=200&&lt<300||lt===304,Cr&&(un=Pu(V,Ke,Cr)),!cn&&h.inArray("script",V.dataTypes)>-1&&h.inArray("json",V.dataTypes)<0&&(V.converters["text script"]=function(){}),un=ku(V,un,Ke,cn),cn?(V.ifModified&&($n=Ke.getResponseHeader("Last-Modified"),$n&&(h.lastModified[l]=$n),$n=Ke.getResponseHeader("etag"),$n&&(h.etag[l]=$n)),lt===204||V.type==="HEAD"?mn="nocontent":lt===304?mn="notmodified":(mn=un.state,tr=un.data,nr=un.error,cn=!nr)):(nr=mn,(lt||!mn)&&(mn="error",lt<0&&(lt=0))),Ke.status=lt,Ke.statusText=(Pt||mn)+"",cn?Ze.resolveWith(te,[tr,mn,Ke]):Ze.rejectWith(te,[Ke,mn,nr]),Ke.statusCode(Wt),Wt=void 0,W&&Le.trigger(cn?"ajaxSuccess":"ajaxError",[Ke,V,cn?tr:nr]),Ne.fireWith(te,[Ke,mn]),W&&(Le.trigger("ajaxComplete",[Ke,V]),--h.active||h.event.trigger("ajaxStop")))}return Ke},getJSON:function(t,s,u){return h.get(t,s,u,"json")},getScript:function(t,s){return h.get(t,void 0,s,"script")}}),h.each(["get","post"],function(t,s){h[s]=function(u,l,m,w){return P(l)&&(w=w||m,m=l,l=void 0),h.ajax(h.extend({url:u,type:s,dataType:w,data:l,success:m},h.isPlainObject(u)&&u))}}),h.ajaxPrefilter(function(t){var s;for(s in t.headers)s.toLowerCase()==="content-type"&&(t.contentType=t.headers[s]||"")}),h._evalUrl=function(t,s,u){return h.ajax({url:t,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(l){h.globalEval(l,s,u)}})},h.fn.extend({wrapAll:function(t){var s;return this[0]&&(P(t)&&(t=t.call(this[0])),s=h(t,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&s.insertBefore(this[0]),s.map(function(){for(var u=this;u.firstElementChild;)u=u.firstElementChild;return u}).append(this)),this},wrapInner:function(t){return P(t)?this.each(function(s){h(this).wrapInner(t.call(this,s))}):this.each(function(){var s=h(this),u=s.contents();u.length?u.wrapAll(t):s.append(t)})},wrap:function(t){var s=P(t);return this.each(function(u){h(this).wrapAll(s?t.call(this,u):t)})},unwrap:function(t){return this.parent(t).not("body").each(function(){h(this).replaceWith(this.childNodes)}),this}}),h.expr.pseudos.hidden=function(t){return!h.expr.pseudos.visible(t)},h.expr.pseudos.visible=function(t){return!!(t.offsetWidth||t.offsetHeight||t.getClientRects().length)},h.ajaxSettings.xhr=function(){try{return new n.XMLHttpRequest}catch{}};var Nu={0:200,1223:204},Er=h.ajaxSettings.xhr();S.cors=!!Er&&"withCredentials"in Er,S.ajax=Er=!!Er,h.ajaxTransport(function(t){var s,u;if(S.cors||Er&&!t.crossDomain)return{send:function(l,m){var w,T=t.xhr();if(T.open(t.type,t.url,t.async,t.username,t.password),t.xhrFields)for(w in t.xhrFields)T[w]=t.xhrFields[w];t.mimeType&&T.overrideMimeType&&T.overrideMimeType(t.mimeType),!t.crossDomain&&!l["X-Requested-With"]&&(l["X-Requested-With"]="XMLHttpRequest");for(w in l)T.setRequestHeader(w,l[w]);s=function(B){return function(){s&&(s=u=T.onload=T.onerror=T.onabort=T.ontimeout=T.onreadystatechange=null,B==="abort"?T.abort():B==="error"?typeof T.status!="number"?m(0,"error"):m(T.status,T.statusText):m(Nu[T.status]||T.status,T.statusText,(T.responseType||"text")!=="text"||typeof T.responseText!="string"?{binary:T.response}:{text:T.responseText},T.getAllResponseHeaders()))}},T.onload=s(),u=T.onerror=T.ontimeout=s("error"),T.onabort!==void 0?T.onabort=u:T.onreadystatechange=function(){T.readyState===4&&n.setTimeout(function(){s&&u()})},s=s("abort");try{T.send(t.hasContent&&t.data||null)}catch(B){if(s)throw B}},abort:function(){s&&s()}}}),h.ajaxPrefilter(function(t){t.crossDomain&&(t.contents.script=!1)}),h.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(t){return h.globalEval(t),t}}}),h.ajaxPrefilter("script",function(t){t.cache===void 0&&(t.cache=!1),t.crossDomain&&(t.type="GET")}),h.ajaxTransport("script",function(t){if(t.crossDomain||t.scriptAttrs){var s,u;return{send:function(l,m){s=h("<script>").attr(t.scriptAttrs||{}).prop({charset:t.scriptCharset,src:t.url}).on("load error",u=function(w){s.remove(),u=null,w&&m(w.type==="error"?404:200,w.type)}),N.head.appendChild(s[0])},abort:function(){u&&u()}}}});var us=[],ji=/(=)\?(?=&|$)|\?\?/;h.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var t=us.pop()||h.expando+"_"+dt.guid++;return this[t]=!0,t}}),h.ajaxPrefilter("json jsonp",function(t,s,u){var l,m,w,T=t.jsonp!==!1&&(ji.test(t.url)?"url":typeof t.data=="string"&&(t.contentType||"").indexOf("application/x-www-form-urlencoded")===0&&ji.test(t.data)&&"data");if(T||t.dataTypes[0]==="jsonp")return l=t.jsonpCallback=P(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,T?t[T]=t[T].replace(ji,"$1"+l):t.jsonp!==!1&&(t.url+=(Tt.test(t.url)?"&":"?")+t.jsonp+"="+l),t.converters["script json"]=function(){return w||h.error(l+" was not called"),w[0]},t.dataTypes[0]="json",m=n[l],n[l]=function(){w=arguments},u.always(function(){m===void 0?h(n).removeProp(l):n[l]=m,t[l]&&(t.jsonpCallback=s.jsonpCallback,us.push(l)),w&&P(m)&&m(w[0]),w=m=void 0}),"script"}),S.createHTMLDocument=function(){var t=N.implementation.createHTMLDocument("").body;return t.innerHTML="<form></form><form></form>",t.childNodes.length===2}(),h.parseHTML=function(t,s,u){if(typeof t!="string")return[];typeof s=="boolean"&&(u=s,s=!1);var l,m,w;return s||(S.createHTMLDocument?(s=N.implementation.createHTMLDocument(""),l=s.createElement("base"),l.href=N.location.href,s.head.appendChild(l)):s=N),m=ve.exec(t),w=!u&&[],m?[s.createElement(m[1])]:(m=qn([t],s,w),w&&w.length&&h(w).remove(),h.merge([],m.childNodes))},h.fn.load=function(t,s,u){var l,m,w,T=this,B=t.indexOf(" ");return B>-1&&(l=Je(t.slice(B)),t=t.slice(0,B)),P(s)?(u=s,s=void 0):s&&typeof s=="object"&&(m="POST"),T.length>0&&h.ajax({url:t,type:m||"GET",dataType:"html",data:s}).done(function(D){w=arguments,T.html(l?h("<div>").append(h.parseHTML(D)).find(l):D)}).always(u&&function(D,W){T.each(function(){u.apply(this,w||[D.responseText,W,D])})}),this},h.expr.pseudos.animated=function(t){return h.grep(h.timers,function(s){return t===s.elem}).length},h.offset={setOffset:function(t,s,u){var l,m,w,T,B,D,W,ee=h.css(t,"position"),de=h(t),V={};ee==="static"&&(t.style.position="relative"),B=de.offset(),w=h.css(t,"top"),D=h.css(t,"left"),W=(ee==="absolute"||ee==="fixed")&&(w+D).indexOf("auto")>-1,W?(l=de.position(),T=l.top,m=l.left):(T=parseFloat(w)||0,m=parseFloat(D)||0),P(s)&&(s=s.call(t,u,h.extend({},B))),s.top!=null&&(V.top=s.top-B.top+T),s.left!=null&&(V.left=s.left-B.left+m),"using"in s?s.using.call(t,V):de.css(V)}},h.fn.extend({offset:function(t){if(arguments.length)return t===void 0?this:this.each(function(m){h.offset.setOffset(this,t,m)});var s,u,l=this[0];if(l)return l.getClientRects().length?(s=l.getBoundingClientRect(),u=l.ownerDocument.defaultView,{top:s.top+u.pageYOffset,left:s.left+u.pageXOffset}):{top:0,left:0}},position:function(){if(this[0]){var t,s,u,l=this[0],m={top:0,left:0};if(h.css(l,"position")==="fixed")s=l.getBoundingClientRect();else{for(s=this.offset(),u=l.ownerDocument,t=l.offsetParent||u.documentElement;t&&(t===u.body||t===u.documentElement)&&h.css(t,"position")==="static";)t=t.parentNode;t&&t!==l&&t.nodeType===1&&(m=h(t).offset(),m.top+=h.css(t,"borderTopWidth",!0),m.left+=h.css(t,"borderLeftWidth",!0))}return{top:s.top-m.top-h.css(l,"marginTop",!0),left:s.left-m.left-h.css(l,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var t=this.offsetParent;t&&h.css(t,"position")==="static";)t=t.offsetParent;return t||M})}}),h.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,s){var u=s==="pageYOffset";h.fn[t]=function(l){return qe(this,function(m,w,T){var B;if(I(m)?B=m:m.nodeType===9&&(B=m.defaultView),T===void 0)return B?B[s]:m[w];B?B.scrollTo(u?B.pageXOffset:T,u?T:B.pageYOffset):m[w]=T},t,l,arguments.length)}}),h.each(["top","left"],function(t,s){h.cssHooks[s]=Ce(S.pixelPosition,function(u,l){if(l)return l=ge(u,s),A.test(l)?h(u).position()[s]+"px":l})}),h.each({Height:"height",Width:"width"},function(t,s){h.each({padding:"inner"+t,content:s,"":"outer"+t},function(u,l){h.fn[l]=function(m,w){var T=arguments.length&&(u||typeof m!="boolean"),B=u||(m===!0||w===!0?"margin":"border");return qe(this,function(D,W,ee){var de;return I(D)?l.indexOf("outer")===0?D["inner"+t]:D.document.documentElement["client"+t]:D.nodeType===9?(de=D.documentElement,Math.max(D.body["scroll"+t],de["scroll"+t],D.body["offset"+t],de["offset"+t],de["client"+t])):ee===void 0?h.css(D,W,B):h.style(D,W,ee,B)},s,T?m:void 0,T)}})}),h.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(t,s){h.fn[s]=function(u){return this.on(s,u)}}),h.fn.extend({bind:function(t,s,u){return this.on(t,null,s,u)},unbind:function(t,s){return this.off(t,null,s)},delegate:function(t,s,u,l){return this.on(s,t,u,l)},undelegate:function(t,s,u){return arguments.length===1?this.off(t,"**"):this.off(s,t||"**",u)},hover:function(t,s){return this.mouseenter(t).mouseleave(s||t)}}),h.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(t,s){h.fn[s]=function(u,l){return arguments.length>0?this.on(s,null,u,l):this.trigger(s)}});var Lu=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;h.proxy=function(t,s){var u,l,m;if(typeof s=="string"&&(u=t[s],s=t,t=u),!!P(t))return l=a.call(arguments,2),m=function(){return t.apply(s||this,l.concat(a.call(arguments)))},m.guid=t.guid=t.guid||h.guid++,m},h.holdReady=function(t){t?h.readyWait++:h.ready(!0)},h.isArray=Array.isArray,h.parseJSON=JSON.parse,h.nodeName=re,h.isFunction=P,h.isWindow=I,h.camelCase=Rt,h.type=he,h.now=Date.now,h.isNumeric=function(t){var s=h.type(t);return(s==="number"||s==="string")&&!isNaN(t-parseFloat(t))},h.trim=function(t){return t==null?"":(t+"").replace(Lu,"$1")};var Iu=n.jQuery,Mu=n.$;return h.noConflict=function(t){return n.$===h&&(n.$=Mu),t&&n.jQuery===h&&(n.jQuery=Iu),h},typeof i>"u"&&(n.jQuery=n.$=h),h})}(dc)),ci}(function(e){(function(n){n(["jquery"],function(i){return function(){var r,o,a=0,f={error:"error",info:"info",success:"success",warning:"warning"},d={clear:P,remove:I,error:v,getContainer:_,info:x,options:{},subscribe:O,success:C,version:"2.1.4",warning:S},b;return d;function v(J,X,G){return h({type:f.error,iconClass:Me().iconClasses.error,message:J,optionsOverride:G,title:X})}function _(J,X){return J||(J=Me()),r=i("#"+J.containerId),r.length||X&&(r=K(J)),r}function x(J,X,G){return h({type:f.info,iconClass:Me().iconClasses.info,message:J,optionsOverride:G,title:X})}function O(J){o=J}function C(J,X,G){return h({type:f.success,iconClass:Me().iconClasses.success,message:J,optionsOverride:G,title:X})}function S(J,X,G){return h({type:f.warning,iconClass:Me().iconClasses.warning,message:J,optionsOverride:G,title:X})}function P(J,X){var G=Me();r||_(G),H(J,G,X)||N(G)}function I(J){var X=Me();if(r||_(X),J&&i(":focus",J).length===0){tt(J);return}r.children().length&&r.remove()}function N(J){for(var X=r.children(),G=X.length-1;G>=0;G--)H(i(X[G]),J)}function H(J,X,G){var re=G&&G.force?G.force:!1;return J&&(re||i(":focus",J).length===0)?(J[X.hideMethod]({duration:X.hideDuration,easing:X.hideEasing,complete:function(){tt(J)}}),!0):!1}function K(J){return r=i("<div/>").attr("id",J.containerId).addClass(J.positionClass),r.appendTo(i(J.target)),r}function he(){return{tapToDismiss:!0,toastClass:"toast",containerId:"toast-container",debug:!1,showMethod:"fadeIn",showDuration:300,showEasing:"swing",onShown:void 0,hideMethod:"fadeOut",hideDuration:1e3,hideEasing:"swing",onHidden:void 0,closeMethod:!1,closeDuration:!1,closeEasing:!1,closeOnHover:!0,extendedTimeOut:1e3,iconClasses:{error:"toast-error",info:"toast-info",success:"toast-success",warning:"toast-warning"},iconClass:"toast-info",positionClass:"toast-top-right",timeOut:5e3,titleClass:"toast-title",messageClass:"toast-message",escapeHtml:!1,target:"body",closeHtml:'<button type="button">&times;</button>',closeClass:"toast-close-button",newestOnTop:!0,preventDuplicates:!1,progressBar:!1,progressClass:"toast-progress",rtl:!1}}function me(J){o&&o(J)}function h(J){var X=Me(),G=J.iconClass||X.iconClass;if(typeof J.optionsOverride<"u"&&(X=i.extend(X,J.optionsOverride),G=J.optionsOverride.iconClass||G),Qn(X,J))return;a++,r=_(X,!0);var re=null,ve=i("<div/>"),ft=i("<div/>"),vt=i("<div/>"),jt=i("<div/>"),Lt=i(X.closeHtml),kt={intervalId:null,hideEta:null,maxHideTime:null},Ft={toastId:a,state:"visible",startTime:new Date,options:X,map:J};return Vt(),wn(),tn(),me(Ft),X.debug&&console&&console.log(Ft),ve;function Bt(De){return De==null&&(De=""),De.replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&#39;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function Vt(){St(),Mt(),Nt(),qe(),Xt(),Pn(),It(),yn()}function yn(){var De="";switch(J.iconClass){case"toast-success":case"toast-info":De="polite";break;default:De="assertive"}ve.attr("aria-live",De)}function tn(){X.closeOnHover&&ve.hover(gn,sn),!X.onclick&&X.tapToDismiss&&ve.click(Rt),X.closeButton&&Lt&&Lt.click(function(De){De.stopPropagation?De.stopPropagation():De.cancelBubble!==void 0&&De.cancelBubble!==!0&&(De.cancelBubble=!0),X.onCloseClick&&X.onCloseClick(De),Rt(!0)}),X.onclick&&ve.click(function(De){X.onclick(De),Rt()})}function wn(){ve.hide(),ve[X.showMethod]({duration:X.showDuration,easing:X.showEasing,complete:X.onShown}),X.timeOut>0&&(re=setTimeout(Rt,X.timeOut),kt.maxHideTime=parseFloat(X.timeOut),kt.hideEta=new Date().getTime()+kt.maxHideTime,X.progressBar&&(kt.intervalId=setInterval(ke,10)))}function St(){J.iconClass&&ve.addClass(X.toastClass).addClass(G)}function It(){X.newestOnTop?r.prepend(ve):r.append(ve)}function Mt(){if(J.title){var De=J.title;X.escapeHtml&&(De=Bt(J.title)),ft.append(De).addClass(X.titleClass),ve.append(ft)}}function Nt(){if(J.message){var De=J.message;X.escapeHtml&&(De=Bt(J.message)),vt.append(De).addClass(X.messageClass),ve.append(vt)}}function qe(){X.closeButton&&(Lt.addClass(X.closeClass).attr("role","button"),ve.prepend(Lt))}function Xt(){X.progressBar&&(jt.addClass(X.progressClass),ve.prepend(jt))}function Pn(){X.rtl&&ve.addClass("rtl")}function Qn(De,Cn){if(De.preventDuplicates){if(Cn.message===b)return!0;b=Cn.message}return!1}function Rt(De){var Cn=De&&X.closeMethod!==!1?X.closeMethod:X.hideMethod,Un=De&&X.closeDuration!==!1?X.closeDuration:X.hideDuration,An=De&&X.closeEasing!==!1?X.closeEasing:X.hideEasing;if(!(i(":focus",ve).length&&!De))return clearTimeout(kt.intervalId),ve[Cn]({duration:Un,easing:An,complete:function(){tt(ve),clearTimeout(re),X.onHidden&&Ft.state!=="hidden"&&X.onHidden(),Ft.state="hidden",Ft.endTime=new Date,me(Ft)}})}function sn(){(X.timeOut>0||X.extendedTimeOut>0)&&(re=setTimeout(Rt,X.extendedTimeOut),kt.maxHideTime=parseFloat(X.extendedTimeOut),kt.hideEta=new Date().getTime()+kt.maxHideTime)}function gn(){clearTimeout(re),kt.hideEta=0,ve.stop(!0,!0)[X.showMethod]({duration:X.showDuration,easing:X.showEasing})}function ke(){var De=(kt.hideEta-new Date().getTime())/kt.maxHideTime*100;jt.width(De+"%")}}function Me(){return i.extend({},he(),d.options)}function tt(J){r||(r=_()),!J.is(":visible")&&(J.remove(),J=null,r.children().length===0&&(r.remove(),b=void 0))}}()})})(function(n,i){e.exports?e.exports=i(pc()):window.toastr=i(window.jQuery)})})(hc);const yc=oo;window.axios=cc;window.axios.defaults.headers.common["X-Requested-With"]="XMLHttpRequest";window.toastr=yc;window.toastr.options={debug:!1,positionClass:"toast-bottom-right",preventDuplicates:!0};function so(e){return so=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(n){return typeof n}:function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},so(e)}function Zt(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}function Rs(e,n){for(var i=0;i<n.length;i++){var r=n[i];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function en(e,n,i){return n&&Rs(e.prototype,n),i&&Rs(e,i),Object.defineProperty(e,"prototype",{writable:!1}),e}function ao(){return ao=Object.assign||function(e){for(var n=1;n<arguments.length;n++){var i=arguments[n];for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&(e[r]=i[r])}return e},ao.apply(this,arguments)}function dn(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),n&&uo(e,n)}function li(e){return li=Object.setPrototypeOf?Object.getPrototypeOf:function(i){return i.__proto__||Object.getPrototypeOf(i)},li(e)}function uo(e,n){return uo=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},uo(e,n)}function gc(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function vc(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xc(e,n){if(n&&(typeof n=="object"||typeof n=="function"))return n;if(n!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return vc(e)}function pn(e){var n=gc();return function(){var r=li(e),o;if(n){var a=li(this).constructor;o=Reflect.construct(r,arguments,a)}else o=r.apply(this,arguments);return xc(this,o)}}var Do=function(){function e(){Zt(this,e)}return en(e,[{key:"listenForWhisper",value:function(i,r){return this.listen(".client-"+i,r)}},{key:"notification",value:function(i){return this.listen(".Illuminate\\Notifications\\Events\\BroadcastNotificationCreated",i)}},{key:"stopListeningForWhisper",value:function(i,r){return this.stopListening(".client-"+i,r)}}]),e}(),aa=function(){function e(n){Zt(this,e),this.setNamespace(n)}return en(e,[{key:"format",value:function(i){return i.charAt(0)==="."||i.charAt(0)==="\\"?i.substr(1):(this.namespace&&(i=this.namespace+"."+i),i.replace(/\./g,"\\"))}},{key:"setNamespace",value:function(i){this.namespace=i}}]),e}(),wi=function(e){dn(i,e);var n=pn(i);function i(r,o,a){var f;return Zt(this,i),f=n.call(this),f.name=o,f.pusher=r,f.options=a,f.eventFormatter=new aa(f.options.namespace),f.subscribe(),f}return en(i,[{key:"subscribe",value:function(){this.subscription=this.pusher.subscribe(this.name)}},{key:"unsubscribe",value:function(){this.pusher.unsubscribe(this.name)}},{key:"listen",value:function(o,a){return this.on(this.eventFormatter.format(o),a),this}},{key:"listenToAll",value:function(o){var a=this;return this.subscription.bind_global(function(f,d){if(!f.startsWith("pusher:")){var b=a.options.namespace.replace(/\./g,"\\"),v=f.startsWith(b)?f.substring(b.length+1):"."+f;o(v,d)}}),this}},{key:"stopListening",value:function(o,a){return a?this.subscription.unbind(this.eventFormatter.format(o),a):this.subscription.unbind(this.eventFormatter.format(o)),this}},{key:"stopListeningToAll",value:function(o){return o?this.subscription.unbind_global(o):this.subscription.unbind_global(),this}},{key:"subscribed",value:function(o){return this.on("pusher:subscription_succeeded",function(){o()}),this}},{key:"error",value:function(o){return this.on("pusher:subscription_error",function(a){o(a)}),this}},{key:"on",value:function(o,a){return this.subscription.bind(o,a),this}}]),i}(Do),mc=function(e){dn(i,e);var n=pn(i);function i(){return Zt(this,i),n.apply(this,arguments)}return en(i,[{key:"whisper",value:function(o,a){return this.pusher.channels.channels[this.name].trigger("client-".concat(o),a),this}}]),i}(wi),bc=function(e){dn(i,e);var n=pn(i);function i(){return Zt(this,i),n.apply(this,arguments)}return en(i,[{key:"whisper",value:function(o,a){return this.pusher.channels.channels[this.name].trigger("client-".concat(o),a),this}}]),i}(wi),wc=function(e){dn(i,e);var n=pn(i);function i(){return Zt(this,i),n.apply(this,arguments)}return en(i,[{key:"here",value:function(o){return this.on("pusher:subscription_succeeded",function(a){o(Object.keys(a.members).map(function(f){return a.members[f]}))}),this}},{key:"joining",value:function(o){return this.on("pusher:member_added",function(a){o(a.info)}),this}},{key:"leaving",value:function(o){return this.on("pusher:member_removed",function(a){o(a.info)}),this}},{key:"whisper",value:function(o,a){return this.pusher.channels.channels[this.name].trigger("client-".concat(o),a),this}}]),i}(wi),ua=function(e){dn(i,e);var n=pn(i);function i(r,o,a){var f;return Zt(this,i),f=n.call(this),f.events={},f.listeners={},f.name=o,f.socket=r,f.options=a,f.eventFormatter=new aa(f.options.namespace),f.subscribe(),f}return en(i,[{key:"subscribe",value:function(){this.socket.emit("subscribe",{channel:this.name,auth:this.options.auth||{}})}},{key:"unsubscribe",value:function(){this.unbind(),this.socket.emit("unsubscribe",{channel:this.name,auth:this.options.auth||{}})}},{key:"listen",value:function(o,a){return this.on(this.eventFormatter.format(o),a),this}},{key:"stopListening",value:function(o,a){return this.unbindEvent(this.eventFormatter.format(o),a),this}},{key:"subscribed",value:function(o){return this.on("connect",function(a){o(a)}),this}},{key:"error",value:function(o){return this}},{key:"on",value:function(o,a){var f=this;return this.listeners[o]=this.listeners[o]||[],this.events[o]||(this.events[o]=function(d,b){f.name===d&&f.listeners[o]&&f.listeners[o].forEach(function(v){return v(b)})},this.socket.on(o,this.events[o])),this.listeners[o].push(a),this}},{key:"unbind",value:function(){var o=this;Object.keys(this.events).forEach(function(a){o.unbindEvent(a)})}},{key:"unbindEvent",value:function(o,a){this.listeners[o]=this.listeners[o]||[],a&&(this.listeners[o]=this.listeners[o].filter(function(f){return f!==a})),(!a||this.listeners[o].length===0)&&(this.events[o]&&(this.socket.removeListener(o,this.events[o]),delete this.events[o]),delete this.listeners[o])}}]),i}(Do),fa=function(e){dn(i,e);var n=pn(i);function i(){return Zt(this,i),n.apply(this,arguments)}return en(i,[{key:"whisper",value:function(o,a){return this.socket.emit("client event",{channel:this.name,event:"client-".concat(o),data:a}),this}}]),i}(ua),_c=function(e){dn(i,e);var n=pn(i);function i(){return Zt(this,i),n.apply(this,arguments)}return en(i,[{key:"here",value:function(o){return this.on("presence:subscribed",function(a){o(a.map(function(f){return f.user_info}))}),this}},{key:"joining",value:function(o){return this.on("presence:joining",function(a){return o(a.user_info)}),this}},{key:"leaving",value:function(o){return this.on("presence:leaving",function(a){return o(a.user_info)}),this}}]),i}(fa),hi=function(e){dn(i,e);var n=pn(i);function i(){return Zt(this,i),n.apply(this,arguments)}return en(i,[{key:"subscribe",value:function(){}},{key:"unsubscribe",value:function(){}},{key:"listen",value:function(o,a){return this}},{key:"listenToAll",value:function(o){return this}},{key:"stopListening",value:function(o,a){return this}},{key:"subscribed",value:function(o){return this}},{key:"error",value:function(o){return this}},{key:"on",value:function(o,a){return this}}]),i}(Do),Ps=function(e){dn(i,e);var n=pn(i);function i(){return Zt(this,i),n.apply(this,arguments)}return en(i,[{key:"whisper",value:function(o,a){return this}}]),i}(hi),Sc=function(e){dn(i,e);var n=pn(i);function i(){return Zt(this,i),n.apply(this,arguments)}return en(i,[{key:"here",value:function(o){return this}},{key:"joining",value:function(o){return this}},{key:"leaving",value:function(o){return this}},{key:"whisper",value:function(o,a){return this}}]),i}(hi),jo=function(){function e(n){Zt(this,e),this._defaultOptions={auth:{headers:{}},authEndpoint:"/broadcasting/auth",userAuthentication:{endpoint:"/broadcasting/user-auth",headers:{}},broadcaster:"pusher",csrfToken:null,bearerToken:null,host:null,key:null,namespace:"App.Events"},this.setOptions(n),this.connect()}return en(e,[{key:"setOptions",value:function(i){this.options=ao(this._defaultOptions,i);var r=this.csrfToken();return r&&(this.options.auth.headers["X-CSRF-TOKEN"]=r,this.options.userAuthentication.headers["X-CSRF-TOKEN"]=r),r=this.options.bearerToken,r&&(this.options.auth.headers.Authorization="Bearer "+r,this.options.userAuthentication.headers.Authorization="Bearer "+r),i}},{key:"csrfToken",value:function(){var i;return typeof window<"u"&&window.Laravel&&window.Laravel.csrfToken?window.Laravel.csrfToken:this.options.csrfToken?this.options.csrfToken:typeof document<"u"&&typeof document.querySelector=="function"&&(i=document.querySelector('meta[name="csrf-token"]'))?i.getAttribute("content"):null}}]),e}(),Tc=function(e){dn(i,e);var n=pn(i);function i(){var r;return Zt(this,i),r=n.apply(this,arguments),r.channels={},r}return en(i,[{key:"connect",value:function(){typeof this.options.client<"u"?this.pusher=this.options.client:this.options.Pusher?this.pusher=new this.options.Pusher(this.options.key,this.options):this.pusher=new Pusher(this.options.key,this.options)}},{key:"signin",value:function(){this.pusher.signin()}},{key:"listen",value:function(o,a,f){return this.channel(o).listen(a,f)}},{key:"channel",value:function(o){return this.channels[o]||(this.channels[o]=new wi(this.pusher,o,this.options)),this.channels[o]}},{key:"privateChannel",value:function(o){return this.channels["private-"+o]||(this.channels["private-"+o]=new mc(this.pusher,"private-"+o,this.options)),this.channels["private-"+o]}},{key:"encryptedPrivateChannel",value:function(o){return this.channels["private-encrypted-"+o]||(this.channels["private-encrypted-"+o]=new bc(this.pusher,"private-encrypted-"+o,this.options)),this.channels["private-encrypted-"+o]}},{key:"presenceChannel",value:function(o){return this.channels["presence-"+o]||(this.channels["presence-"+o]=new wc(this.pusher,"presence-"+o,this.options)),this.channels["presence-"+o]}},{key:"leave",value:function(o){var a=this,f=[o,"private-"+o,"private-encrypted-"+o,"presence-"+o];f.forEach(function(d,b){a.leaveChannel(d)})}},{key:"leaveChannel",value:function(o){this.channels[o]&&(this.channels[o].unsubscribe(),delete this.channels[o])}},{key:"socketId",value:function(){return this.pusher.connection.socket_id}},{key:"disconnect",value:function(){this.pusher.disconnect()}}]),i}(jo),Ec=function(e){dn(i,e);var n=pn(i);function i(){var r;return Zt(this,i),r=n.apply(this,arguments),r.channels={},r}return en(i,[{key:"connect",value:function(){var o=this,a=this.getSocketIO();return this.socket=a(this.options.host,this.options),this.socket.on("reconnect",function(){Object.values(o.channels).forEach(function(f){f.subscribe()})}),this.socket}},{key:"getSocketIO",value:function(){if(typeof this.options.client<"u")return this.options.client;if(typeof io<"u")return io;throw new Error("Socket.io client not found. Should be globally available or passed via options.client")}},{key:"listen",value:function(o,a,f){return this.channel(o).listen(a,f)}},{key:"channel",value:function(o){return this.channels[o]||(this.channels[o]=new ua(this.socket,o,this.options)),this.channels[o]}},{key:"privateChannel",value:function(o){return this.channels["private-"+o]||(this.channels["private-"+o]=new fa(this.socket,"private-"+o,this.options)),this.channels["private-"+o]}},{key:"presenceChannel",value:function(o){return this.channels["presence-"+o]||(this.channels["presence-"+o]=new _c(this.socket,"presence-"+o,this.options)),this.channels["presence-"+o]}},{key:"leave",value:function(o){var a=this,f=[o,"private-"+o,"presence-"+o];f.forEach(function(d){a.leaveChannel(d)})}},{key:"leaveChannel",value:function(o){this.channels[o]&&(this.channels[o].unsubscribe(),delete this.channels[o])}},{key:"socketId",value:function(){return this.socket.id}},{key:"disconnect",value:function(){this.socket.disconnect()}}]),i}(jo),Cc=function(e){dn(i,e);var n=pn(i);function i(){var r;return Zt(this,i),r=n.apply(this,arguments),r.channels={},r}return en(i,[{key:"connect",value:function(){}},{key:"listen",value:function(o,a,f){return new hi}},{key:"channel",value:function(o){return new hi}},{key:"privateChannel",value:function(o){return new Ps}},{key:"encryptedPrivateChannel",value:function(o){return new Ps}},{key:"presenceChannel",value:function(o){return new Sc}},{key:"leave",value:function(o){}},{key:"leaveChannel",value:function(o){}},{key:"socketId",value:function(){return"fake-socket-id"}},{key:"disconnect",value:function(){}}]),i}(jo),Ac=function(){function e(n){Zt(this,e),this.options=n,this.connect(),this.options.withoutInterceptors||this.registerInterceptors()}return en(e,[{key:"channel",value:function(i){return this.connector.channel(i)}},{key:"connect",value:function(){this.options.broadcaster=="pusher"?this.connector=new Tc(this.options):this.options.broadcaster=="socket.io"?this.connector=new Ec(this.options):this.options.broadcaster=="null"?this.connector=new Cc(this.options):typeof this.options.broadcaster=="function"&&(this.connector=new this.options.broadcaster(this.options))}},{key:"disconnect",value:function(){this.connector.disconnect()}},{key:"join",value:function(i){return this.connector.presenceChannel(i)}},{key:"leave",value:function(i){this.connector.leave(i)}},{key:"leaveChannel",value:function(i){this.connector.leaveChannel(i)}},{key:"leaveAllChannels",value:function(){for(var i in this.connector.channels)this.leaveChannel(i)}},{key:"listen",value:function(i,r,o){return this.connector.listen(i,r,o)}},{key:"private",value:function(i){return this.connector.privateChannel(i)}},{key:"encryptedPrivate",value:function(i){return this.connector.encryptedPrivateChannel(i)}},{key:"socketId",value:function(){return this.connector.socketId()}},{key:"registerInterceptors",value:function(){typeof Vue=="function"&&Vue.http&&this.registerVueRequestInterceptor(),typeof axios=="function"&&this.registerAxiosRequestInterceptor(),typeof jQuery=="function"&&this.registerjQueryAjaxSetup(),(typeof Turbo>"u"?"undefined":so(Turbo))==="object"&&this.registerTurboRequestInterceptor()}},{key:"registerVueRequestInterceptor",value:function(){var i=this;Vue.http.interceptors.push(function(r,o){i.socketId()&&r.headers.set("X-Socket-ID",i.socketId()),o()})}},{key:"registerAxiosRequestInterceptor",value:function(){var i=this;axios.interceptors.request.use(function(r){return i.socketId()&&(r.headers["X-Socket-Id"]=i.socketId()),r})}},{key:"registerjQueryAjaxSetup",value:function(){var i=this;typeof jQuery.ajax<"u"&&jQuery.ajaxPrefilter(function(r,o,a){i.socketId()&&a.setRequestHeader("X-Socket-Id",i.socketId())})}},{key:"registerTurboRequestInterceptor",value:function(){var i=this;document.addEventListener("turbo:before-fetch-request",function(r){r.detail.fetchOptions.headers["X-Socket-Id"]=i.socketId()})}}]),e}(),fo={},Oc={get exports(){return fo},set exports(e){fo=e}};/*!
* Pusher JavaScript Library v4.4.0
* https://pusher.com/
*
* Copyright 2017, Pusher
* Released under the MIT licence.
*/(function(e,n){(function(r,o){e.exports=o()})(sa,function(){return function(i){var r={};function o(a){if(r[a])return r[a].exports;var f=r[a]={exports:{},id:a,loaded:!1};return i[a].call(f.exports,f,f.exports,o),f.loaded=!0,f.exports}return o.m=i,o.c=r,o.p="",o(0)}([function(i,r,o){var a=o(1);i.exports=a.default},function(i,r,o){var a=o(2),f=o(9),d=o(24),b=o(39),v=o(40),_=o(41),x=o(12),O=o(5),C=o(71),S=o(8),P=o(43),I=o(14),N=function(){function K(he,me){var h=this;if(H(he),me=me||{},!me.cluster&&!(me.wsHost||me.httpHost)){var Me=I.default.buildLogSuffix("javascriptQuickStart");S.default.warn("You should always specify a cluster when connecting. "+Me)}this.key=he,this.config=f.extend(C.getGlobalConfig(),me.cluster?C.getClusterConfig(me.cluster):{},me),this.channels=P.default.createChannels(),this.global_emitter=new d.default,this.sessionID=Math.floor(Math.random()*1e9),this.timeline=new b.default(this.key,this.sessionID,{cluster:this.config.cluster,features:K.getClientFeatures(),params:this.config.timelineParams||{},limit:50,level:v.default.INFO,version:O.default.VERSION}),this.config.disableStats||(this.timelineSender=P.default.createTimelineSender(this.timeline,{host:this.config.statsHost,path:"/timeline/v2/"+a.default.TimelineTransport.name}));var tt=function(J){var X=f.extend({},h.config,J);return _.build(a.default.getDefaultStrategy(X),X)};this.connection=P.default.createConnectionManager(this.key,f.extend({getStrategy:tt,timeline:this.timeline,activityTimeout:this.config.activity_timeout,pongTimeout:this.config.pong_timeout,unavailableTimeout:this.config.unavailable_timeout},this.config,{useTLS:this.shouldUseTLS()})),this.connection.bind("connected",function(){h.subscribeAll(),h.timelineSender&&h.timelineSender.send(h.connection.isUsingTLS())}),this.connection.bind("message",function(J){var X=J.event,G=X.indexOf("pusher_internal:")===0;if(J.channel){var re=h.channel(J.channel);re&&re.handleEvent(J)}G||h.global_emitter.emit(J.event,J.data)}),this.connection.bind("connecting",function(){h.channels.disconnect()}),this.connection.bind("disconnected",function(){h.channels.disconnect()}),this.connection.bind("error",function(J){S.default.warn("Error",J)}),K.instances.push(this),this.timeline.info({instances:K.instances.length}),K.isReady&&this.connect()}return K.ready=function(){K.isReady=!0;for(var he=0,me=K.instances.length;he<me;he++)K.instances[he].connect()},K.log=function(he){K.logToConsole&&window.console&&window.console.log&&window.console.log(he)},K.getClientFeatures=function(){return f.keys(f.filterObject({ws:a.default.Transports.ws},function(he){return he.isSupported({})}))},K.prototype.channel=function(he){return this.channels.find(he)},K.prototype.allChannels=function(){return this.channels.all()},K.prototype.connect=function(){if(this.connection.connect(),this.timelineSender&&!this.timelineSenderTimer){var he=this.connection.isUsingTLS(),me=this.timelineSender;this.timelineSenderTimer=new x.PeriodicTimer(6e4,function(){me.send(he)})}},K.prototype.disconnect=function(){this.connection.disconnect(),this.timelineSenderTimer&&(this.timelineSenderTimer.ensureAborted(),this.timelineSenderTimer=null)},K.prototype.bind=function(he,me,h){return this.global_emitter.bind(he,me,h),this},K.prototype.unbind=function(he,me,h){return this.global_emitter.unbind(he,me,h),this},K.prototype.bind_global=function(he){return this.global_emitter.bind_global(he),this},K.prototype.unbind_global=function(he){return this.global_emitter.unbind_global(he),this},K.prototype.unbind_all=function(he){return this.global_emitter.unbind_all(),this},K.prototype.subscribeAll=function(){var he;for(he in this.channels.channels)this.channels.channels.hasOwnProperty(he)&&this.subscribe(he)},K.prototype.subscribe=function(he){var me=this.channels.add(he,this);return me.subscriptionPending&&me.subscriptionCancelled?me.reinstateSubscription():!me.subscriptionPending&&this.connection.state==="connected"&&me.subscribe(),me},K.prototype.unsubscribe=function(he){var me=this.channels.find(he);me&&me.subscriptionPending?me.cancelSubscription():(me=this.channels.remove(he),me&&this.connection.state==="connected"&&me.unsubscribe())},K.prototype.send_event=function(he,me,h){return this.connection.send_event(he,me,h)},K.prototype.shouldUseTLS=function(){return a.default.getProtocol()==="https:"||this.config.forceTLS===!0?!0:!!this.config.encrypted},K.instances=[],K.isReady=!1,K.logToConsole=!1,K.Runtime=a.default,K.ScriptReceivers=a.default.ScriptReceivers,K.DependenciesReceivers=a.default.DependenciesReceivers,K.auth_callbacks=a.default.auth_callbacks,K}();r.__esModule=!0,r.default=N;function H(K){if(K==null)throw"You must pass your app key when you instantiate Pusher."}a.default.setup(N)},function(i,r,o){var a=o(3),f=o(7),d=o(15),b=o(16),v=o(17),_=o(4),x=o(18),O=o(19),C=o(26),S=o(27),P=o(28),I=o(29),N={nextAuthCallbackID:1,auth_callbacks:{},ScriptReceivers:_.ScriptReceivers,DependenciesReceivers:a.DependenciesReceivers,getDefaultStrategy:S.default,Transports:O.default,transportConnectionInitializer:P.default,HTTPFactory:I.default,TimelineTransport:x.default,getXHRAPI:function(){return window.XMLHttpRequest},getWebSocketAPI:function(){return window.WebSocket||window.MozWebSocket},setup:function(H){var K=this;window.Pusher=H;var he=function(){K.onDocumentBody(H.ready)};window.JSON?he():a.Dependencies.load("json2",{},he)},getDocument:function(){return document},getProtocol:function(){return this.getDocument().location.protocol},getAuthorizers:function(){return{ajax:f.default,jsonp:d.default}},onDocumentBody:function(H){var K=this;document.body?H():setTimeout(function(){K.onDocumentBody(H)},0)},createJSONPRequest:function(H,K){return new v.default(H,K)},createScriptRequest:function(H){return new b.default(H)},getLocalStorage:function(){try{return window.localStorage}catch{return}},createXHR:function(){return this.getXHRAPI()?this.createXMLHttpRequest():this.createMicrosoftXHR()},createXMLHttpRequest:function(){var H=this.getXHRAPI();return new H},createMicrosoftXHR:function(){return new ActiveXObject("Microsoft.XMLHTTP")},getNetwork:function(){return C.Network},createWebSocket:function(H){var K=this.getWebSocketAPI();return new K(H)},createSocketRequest:function(H,K){if(this.isXHRSupported())return this.HTTPFactory.createXHR(H,K);if(this.isXDRSupported(K.indexOf("https:")===0))return this.HTTPFactory.createXDR(H,K);throw"Cross-origin HTTP requests are not supported"},isXHRSupported:function(){var H=this.getXHRAPI();return!!H&&new H().withCredentials!==void 0},isXDRSupported:function(H){var K=H?"https:":"http:",he=this.getProtocol();return!!window.XDomainRequest&&he===K},addUnloadListener:function(H){window.addEventListener!==void 0?window.addEventListener("unload",H,!1):window.attachEvent!==void 0&&window.attachEvent("onunload",H)},removeUnloadListener:function(H){window.addEventListener!==void 0?window.removeEventListener("unload",H,!1):window.detachEvent!==void 0&&window.detachEvent("onunload",H)}};r.__esModule=!0,r.default=N},function(i,r,o){var a=o(4),f=o(5),d=o(6);r.DependenciesReceivers=new a.ScriptReceiverFactory("_pusher_dependencies","Pusher.DependenciesReceivers"),r.Dependencies=new d.default({cdn_http:f.default.cdn_http,cdn_https:f.default.cdn_https,version:f.default.VERSION,suffix:f.default.dependency_suffix,receivers:r.DependenciesReceivers})},function(i,r){var o=function(){function a(f,d){this.lastId=0,this.prefix=f,this.name=d}return a.prototype.create=function(f){this.lastId++;var d=this.lastId,b=this.prefix+d,v=this.name+"["+d+"]",_=!1,x=function(){_||(f.apply(null,arguments),_=!0)};return this[d]=x,{number:d,id:b,name:v,callback:x}},a.prototype.remove=function(f){delete this[f.number]},a}();r.ScriptReceiverFactory=o,r.ScriptReceivers=new o("_pusher_script_","Pusher.ScriptReceivers")},function(i,r){var o={VERSION:"4.4.0",PROTOCOL:7,host:"ws.pusherapp.com",ws_port:80,wss_port:443,ws_path:"",sockjs_host:"sockjs.pusher.com",sockjs_http_port:80,sockjs_https_port:443,sockjs_path:"/pusher",stats_host:"stats.pusher.com",channel_auth_endpoint:"/pusher/auth",channel_auth_transport:"ajax",activity_timeout:12e4,pong_timeout:3e4,unavailable_timeout:1e4,cdn_http:"http://js.pusher.com",cdn_https:"https://js.pusher.com",dependency_suffix:""};r.__esModule=!0,r.default=o},function(i,r,o){var a=o(4),f=o(2),d=function(){function b(v){this.options=v,this.receivers=v.receivers||a.ScriptReceivers,this.loading={}}return b.prototype.load=function(v,_,x){var O=this;if(O.loading[v]&&O.loading[v].length>0)O.loading[v].push(x);else{O.loading[v]=[x];var C=f.default.createScriptRequest(O.getPath(v,_)),S=O.receivers.create(function(P){if(O.receivers.remove(S),O.loading[v]){var I=O.loading[v];delete O.loading[v];for(var N=function(K){K||C.cleanup()},H=0;H<I.length;H++)I[H](P,N)}});C.send(S)}},b.prototype.getRoot=function(v){var _,x=f.default.getDocument().location.protocol;return v&&v.useTLS||x==="https:"?_=this.options.cdn_https:_=this.options.cdn_http,_.replace(/\/*$/,"")+"/"+this.options.version},b.prototype.getPath=function(v,_){return this.getRoot(_)+"/"+v+this.options.suffix+".js"},b}();r.__esModule=!0,r.default=d},function(i,r,o){var a=o(8),f=o(2),d=o(14),b=function(v,_,x){var O=this,C;C=f.default.createXHR(),C.open("POST",O.options.authEndpoint,!0),C.setRequestHeader("Content-Type","application/x-www-form-urlencoded");for(var S in this.authOptions.headers)C.setRequestHeader(S,this.authOptions.headers[S]);return C.onreadystatechange=function(){if(C.readyState===4)if(C.status===200){var P,I=!1;try{P=JSON.parse(C.responseText),I=!0}catch{x(!0,"JSON returned from webapp was invalid, yet status code was 200. Data was: "+C.responseText)}I&&x(!1,P)}else{var N=d.default.buildLogSuffix("authenticationEndpoint");a.default.warn("Couldn't retrieve authentication info. "+C.status+("Clients must be authenticated to join private or presence channels. "+N)),x(!0,C.status)}},C.send(this.composeQuery(_)),C};r.__esModule=!0,r.default=b},function(i,r,o){var a=o(9),f=o(1),d={debug:function(){f.default.log&&f.default.log(a.stringify.apply(this,arguments))},warn:function(){var b=a.stringify.apply(this,arguments);f.default.log?f.default.log(b):window.console&&(window.console.warn?window.console.warn(b):window.console.log&&window.console.log(b))}};r.__esModule=!0,r.default=d},function(i,r,o){var a=o(10),f=o(11);function d(J){for(var X=[],G=1;G<arguments.length;G++)X[G-1]=arguments[G];for(var re=0;re<X.length;re++){var ve=X[re];for(var ft in ve)ve[ft]&&ve[ft].constructor&&ve[ft].constructor===Object?J[ft]=d(J[ft]||{},ve[ft]):J[ft]=ve[ft]}return J}r.extend=d;function b(){for(var J=["Pusher"],X=0;X<arguments.length;X++)typeof arguments[X]=="string"?J.push(arguments[X]):J.push(tt(arguments[X]));return J.join(" : ")}r.stringify=b;function v(J,X){var G=Array.prototype.indexOf;if(J===null)return-1;if(G&&J.indexOf===G)return J.indexOf(X);for(var re=0,ve=J.length;re<ve;re++)if(J[re]===X)return re;return-1}r.arrayIndexOf=v;function _(J,X){for(var G in J)Object.prototype.hasOwnProperty.call(J,G)&&X(J[G],G,J)}r.objectApply=_;function x(J){var X=[];return _(J,function(G,re){X.push(re)}),X}r.keys=x;function O(J){var X=[];return _(J,function(G){X.push(G)}),X}r.values=O;function C(J,X,G){for(var re=0;re<J.length;re++)X.call(G||window,J[re],re,J)}r.apply=C;function S(J,X){for(var G=[],re=0;re<J.length;re++)G.push(X(J[re],re,J,G));return G}r.map=S;function P(J,X){var G={};return _(J,function(re,ve){G[ve]=X(re)}),G}r.mapObject=P;function I(J,X){X=X||function(ve){return!!ve};for(var G=[],re=0;re<J.length;re++)X(J[re],re,J,G)&&G.push(J[re]);return G}r.filter=I;function N(J,X){var G={};return _(J,function(re,ve){(X&&X(re,ve,J,G)||re)&&(G[ve]=re)}),G}r.filterObject=N;function H(J){var X=[];return _(J,function(G,re){X.push([re,G])}),X}r.flatten=H;function K(J,X){for(var G=0;G<J.length;G++)if(X(J[G],G,J))return!0;return!1}r.any=K;function he(J,X){for(var G=0;G<J.length;G++)if(!X(J[G],G,J))return!1;return!0}r.all=he;function me(J){return P(J,function(X){return typeof X=="object"&&(X=tt(X)),encodeURIComponent(a.default(X.toString()))})}r.encodeParamsObject=me;function h(J){var X=N(J,function(re){return re!==void 0}),G=S(H(me(X)),f.default.method("join","=")).join("&");return G}r.buildQueryString=h;function Me(J){var X=[],G=[];return function re(ve,ft){var vt,jt,Lt;switch(typeof ve){case"object":if(!ve)return null;for(vt=0;vt<X.length;vt+=1)if(X[vt]===ve)return{$ref:G[vt]};if(X.push(ve),G.push(ft),Object.prototype.toString.apply(ve)==="[object Array]")for(Lt=[],vt=0;vt<ve.length;vt+=1)Lt[vt]=re(ve[vt],ft+"["+vt+"]");else{Lt={};for(jt in ve)Object.prototype.hasOwnProperty.call(ve,jt)&&(Lt[jt]=re(ve[jt],ft+"["+JSON.stringify(jt)+"]"))}return Lt;case"number":case"string":case"boolean":return ve}}(J,"$")}r.decycleObject=Me;function tt(J){try{return JSON.stringify(J)}catch{return JSON.stringify(Me(J))}}r.safeJSONStringify=tt},function(i,r,o){function a(O){return x(v(O))}r.__esModule=!0,r.default=a;var f=String.fromCharCode,d="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",b=function(O){var C=O.charCodeAt(0);return C<128?O:C<2048?f(192|C>>>6)+f(128|C&63):f(224|C>>>12&15)+f(128|C>>>6&63)+f(128|C&63)},v=function(O){return O.replace(/[^\x00-\x7F]/g,b)},_=function(O){var C=[0,2,1][O.length%3],S=O.charCodeAt(0)<<16|(O.length>1?O.charCodeAt(1):0)<<8|(O.length>2?O.charCodeAt(2):0),P=[d.charAt(S>>>18),d.charAt(S>>>12&63),C>=2?"=":d.charAt(S>>>6&63),C>=1?"=":d.charAt(S&63)];return P.join("")},x=window.btoa||function(O){return O.replace(/[\s\S]{1,3}/g,_)}},function(i,r,o){var a=o(12),f={now:function(){return Date.now?Date.now():new Date().valueOf()},defer:function(d){return new a.OneOffTimer(0,d)},method:function(d){var b=Array.prototype.slice.call(arguments,1);return function(v){return v[d].apply(v,b.concat(arguments))}}};r.__esModule=!0,r.default=f},function(i,r,o){var a=this&&this.__extends||function(x,O){for(var C in O)O.hasOwnProperty(C)&&(x[C]=O[C]);function S(){this.constructor=x}x.prototype=O===null?Object.create(O):(S.prototype=O.prototype,new S)},f=o(13);function d(x){window.clearTimeout(x)}function b(x){window.clearInterval(x)}var v=function(x){a(O,x);function O(C,S){x.call(this,setTimeout,d,C,function(P){return S(),null})}return O}(f.default);r.OneOffTimer=v;var _=function(x){a(O,x);function O(C,S){x.call(this,setInterval,b,C,function(P){return S(),P})}return O}(f.default);r.PeriodicTimer=_},function(i,r){var o=function(){function a(f,d,b,v){var _=this;this.clear=d,this.timer=f(function(){_.timer&&(_.timer=v(_.timer))},b)}return a.prototype.isRunning=function(){return this.timer!==null},a.prototype.ensureAborted=function(){this.timer&&(this.clear(this.timer),this.timer=null)},a}();r.__esModule=!0,r.default=o},function(i,r){var o={baseUrl:"https://pusher.com",urls:{authenticationEndpoint:{path:"/docs/authenticating_users"},javascriptQuickStart:{path:"/docs/javascript_quick_start"},triggeringClientEvents:{path:"/docs/client_api_guide/client_events#trigger-events"}}},a=function(f){var d="See:",b=o.urls[f];if(!b)return"";var v;return b.fullUrl?v=b.fullUrl:b.path&&(v=o.baseUrl+b.path),v?d+" "+v:""};r.__esModule=!0,r.default={buildLogSuffix:a}},function(i,r,o){var a=o(8),f=function(d,b,v){this.authOptions.headers!==void 0&&a.default.warn("Warn","To send headers with the auth request, you must use AJAX, rather than JSONP.");var _=d.nextAuthCallbackID.toString();d.nextAuthCallbackID++;var x=d.getDocument(),O=x.createElement("script");d.auth_callbacks[_]=function(P){v(!1,P)};var C="Pusher.auth_callbacks['"+_+"']";O.src=this.options.authEndpoint+"?callback="+encodeURIComponent(C)+"&"+this.composeQuery(b);var S=x.getElementsByTagName("head")[0]||x.documentElement;S.insertBefore(O,S.firstChild)};r.__esModule=!0,r.default=f},function(i,r){var o=function(){function a(f){this.src=f}return a.prototype.send=function(f){var d=this,b="Error loading "+d.src;d.script=document.createElement("script"),d.script.id=f.id,d.script.src=d.src,d.script.type="text/javascript",d.script.charset="UTF-8",d.script.addEventListener?(d.script.onerror=function(){f.callback(b)},d.script.onload=function(){f.callback(null)}):d.script.onreadystatechange=function(){(d.script.readyState==="loaded"||d.script.readyState==="complete")&&f.callback(null)},d.script.async===void 0&&document.attachEvent&&/opera/i.test(navigator.userAgent)?(d.errorScript=document.createElement("script"),d.errorScript.id=f.id+"_error",d.errorScript.text=f.name+"('"+b+"');",d.script.async=d.errorScript.async=!1):d.script.async=!0;var v=document.getElementsByTagName("head")[0];v.insertBefore(d.script,v.firstChild),d.errorScript&&v.insertBefore(d.errorScript,d.script.nextSibling)},a.prototype.cleanup=function(){this.script&&(this.script.onload=this.script.onerror=null,this.script.onreadystatechange=null),this.script&&this.script.parentNode&&this.script.parentNode.removeChild(this.script),this.errorScript&&this.errorScript.parentNode&&this.errorScript.parentNode.removeChild(this.errorScript),this.script=null,this.errorScript=null},a}();r.__esModule=!0,r.default=o},function(i,r,o){var a=o(9),f=o(2),d=function(){function b(v,_){this.url=v,this.data=_}return b.prototype.send=function(v){if(!this.request){var _=a.buildQueryString(this.data),x=this.url+"/"+v.number+"?"+_;this.request=f.default.createScriptRequest(x),this.request.send(v)}},b.prototype.cleanup=function(){this.request&&this.request.cleanup()},b}();r.__esModule=!0,r.default=d},function(i,r,o){var a=o(2),f=o(4),d=function(v,_){return function(x,O){var C="http"+(_?"s":"")+"://",S=C+(v.host||v.options.host)+v.options.path,P=a.default.createJSONPRequest(S,x),I=a.default.ScriptReceivers.create(function(N,H){f.ScriptReceivers.remove(I),P.cleanup(),H&&H.host&&(v.host=H.host),O&&O(N,H)});P.send(I)}},b={name:"jsonp",getAgent:d};r.__esModule=!0,r.default=b},function(i,r,o){var a=o(20),f=o(22),d=o(21),b=o(2),v=o(3),_=o(9),x=new f.default({file:"sockjs",urls:d.sockjs,handlesActivityChecks:!0,supportsPing:!1,isSupported:function(){return!0},isInitialized:function(){return window.SockJS!==void 0},getSocket:function(P,I){return new window.SockJS(P,null,{js_path:v.Dependencies.getPath("sockjs",{useTLS:I.useTLS}),ignore_null_origin:I.ignoreNullOrigin})},beforeOpen:function(P,I){P.send(JSON.stringify({path:I}))}}),O={isSupported:function(P){var I=b.default.isXDRSupported(P.useTLS);return I}},C=new f.default(_.extend({},a.streamingConfiguration,O)),S=new f.default(_.extend({},a.pollingConfiguration,O));a.default.xdr_streaming=C,a.default.xdr_polling=S,a.default.sockjs=x,r.__esModule=!0,r.default=a.default},function(i,r,o){var a=o(21),f=o(22),d=o(9),b=o(2),v=new f.default({urls:a.ws,handlesActivityChecks:!1,supportsPing:!1,isInitialized:function(){return!!b.default.getWebSocketAPI()},isSupported:function(){return!!b.default.getWebSocketAPI()},getSocket:function(P){return b.default.createWebSocket(P)}}),_={urls:a.http,handlesActivityChecks:!1,supportsPing:!0,isInitialized:function(){return!0}};r.streamingConfiguration=d.extend({getSocket:function(P){return b.default.HTTPFactory.createStreamingSocket(P)}},_),r.pollingConfiguration=d.extend({getSocket:function(P){return b.default.HTTPFactory.createPollingSocket(P)}},_);var x={isSupported:function(){return b.default.isXHRSupported()}},O=new f.default(d.extend({},r.streamingConfiguration,x)),C=new f.default(d.extend({},r.pollingConfiguration,x)),S={ws:v,xhr_streaming:O,xhr_polling:C};r.__esModule=!0,r.default=S},function(i,r,o){var a=o(5);function f(b,v,_){var x=b+(v.useTLS?"s":""),O=v.useTLS?v.hostTLS:v.hostNonTLS;return x+"://"+O+_}function d(b,v){var _="/app/"+b,x="?protocol="+a.default.PROTOCOL+"&client=js&version="+a.default.VERSION+(v?"&"+v:"");return _+x}r.ws={getInitial:function(b,v){var _=(v.httpPath||"")+d(b,"flash=false");return f("ws",v,_)}},r.http={getInitial:function(b,v){var _=(v.httpPath||"/pusher")+d(b);return f("http",v,_)}},r.sockjs={getInitial:function(b,v){return f("http",v,v.httpPath||"/pusher")},getPath:function(b,v){return d(b)}}},function(i,r,o){var a=o(23),f=function(){function d(b){this.hooks=b}return d.prototype.isSupported=function(b){return this.hooks.isSupported(b)},d.prototype.createConnection=function(b,v,_,x){return new a.default(this.hooks,b,v,_,x)},d}();r.__esModule=!0,r.default=f},function(i,r,o){var a=this&&this.__extends||function(O,C){for(var S in C)C.hasOwnProperty(S)&&(O[S]=C[S]);function P(){this.constructor=O}O.prototype=C===null?Object.create(C):(P.prototype=C.prototype,new P)},f=o(11),d=o(9),b=o(24),v=o(8),_=o(2),x=function(O){a(C,O);function C(S,P,I,N,H){O.call(this),this.initialize=_.default.transportConnectionInitializer,this.hooks=S,this.name=P,this.priority=I,this.key=N,this.options=H,this.state="new",this.timeline=H.timeline,this.activityTimeout=H.activityTimeout,this.id=this.timeline.generateUniqueID()}return C.prototype.handlesActivityChecks=function(){return!!this.hooks.handlesActivityChecks},C.prototype.supportsPing=function(){return!!this.hooks.supportsPing},C.prototype.connect=function(){var S=this;if(this.socket||this.state!=="initialized")return!1;var P=this.hooks.urls.getInitial(this.key,this.options);try{this.socket=this.hooks.getSocket(P,this.options)}catch(I){return f.default.defer(function(){S.onError(I),S.changeState("closed")}),!1}return this.bindListeners(),v.default.debug("Connecting",{transport:this.name,url:P}),this.changeState("connecting"),!0},C.prototype.close=function(){return this.socket?(this.socket.close(),!0):!1},C.prototype.send=function(S){var P=this;return this.state==="open"?(f.default.defer(function(){P.socket&&P.socket.send(S)}),!0):!1},C.prototype.ping=function(){this.state==="open"&&this.supportsPing()&&this.socket.ping()},C.prototype.onOpen=function(){this.hooks.beforeOpen&&this.hooks.beforeOpen(this.socket,this.hooks.urls.getPath(this.key,this.options)),this.changeState("open"),this.socket.onopen=void 0},C.prototype.onError=function(S){this.emit("error",{type:"WebSocketError",error:S}),this.timeline.error(this.buildTimelineMessage({error:S.toString()}))},C.prototype.onClose=function(S){S?this.changeState("closed",{code:S.code,reason:S.reason,wasClean:S.wasClean}):this.changeState("closed"),this.unbindListeners(),this.socket=void 0},C.prototype.onMessage=function(S){this.emit("message",S)},C.prototype.onActivity=function(){this.emit("activity")},C.prototype.bindListeners=function(){var S=this;this.socket.onopen=function(){S.onOpen()},this.socket.onerror=function(P){S.onError(P)},this.socket.onclose=function(P){S.onClose(P)},this.socket.onmessage=function(P){S.onMessage(P)},this.supportsPing()&&(this.socket.onactivity=function(){S.onActivity()})},C.prototype.unbindListeners=function(){this.socket&&(this.socket.onopen=void 0,this.socket.onerror=void 0,this.socket.onclose=void 0,this.socket.onmessage=void 0,this.supportsPing()&&(this.socket.onactivity=void 0))},C.prototype.changeState=function(S,P){this.state=S,this.timeline.info(this.buildTimelineMessage({state:S,params:P})),this.emit(S,P)},C.prototype.buildTimelineMessage=function(S){return d.extend({cid:this.id},S)},C}(b.default);r.__esModule=!0,r.default=x},function(i,r,o){var a=o(9),f=o(25),d=function(){function b(v){this.callbacks=new f.default,this.global_callbacks=[],this.failThrough=v}return b.prototype.bind=function(v,_,x){return this.callbacks.add(v,_,x),this},b.prototype.bind_global=function(v){return this.global_callbacks.push(v),this},b.prototype.unbind=function(v,_,x){return this.callbacks.remove(v,_,x),this},b.prototype.unbind_global=function(v){return v?(this.global_callbacks=a.filter(this.global_callbacks||[],function(_){return _!==v}),this):(this.global_callbacks=[],this)},b.prototype.unbind_all=function(){return this.unbind(),this.unbind_global(),this},b.prototype.emit=function(v,_,x){for(var O=0;O<this.global_callbacks.length;O++)this.global_callbacks[O](v,_);var C=this.callbacks.get(v),S=[];if(x?S.push(_,x):_&&S.push(_),C&&C.length>0)for(var O=0;O<C.length;O++)C[O].fn.apply(C[O].context||window,S);else this.failThrough&&this.failThrough(v,_);return this},b}();r.__esModule=!0,r.default=d},function(i,r,o){var a=o(9),f=function(){function b(){this._callbacks={}}return b.prototype.get=function(v){return this._callbacks[d(v)]},b.prototype.add=function(v,_,x){var O=d(v);this._callbacks[O]=this._callbacks[O]||[],this._callbacks[O].push({fn:_,context:x})},b.prototype.remove=function(v,_,x){if(!v&&!_&&!x){this._callbacks={};return}var O=v?[d(v)]:a.keys(this._callbacks);_||x?this.removeCallback(O,_,x):this.removeAllCallbacks(O)},b.prototype.removeCallback=function(v,_,x){a.apply(v,function(O){this._callbacks[O]=a.filter(this._callbacks[O]||[],function(C){return _&&_!==C.fn||x&&x!==C.context}),this._callbacks[O].length===0&&delete this._callbacks[O]},this)},b.prototype.removeAllCallbacks=function(v){a.apply(v,function(_){delete this._callbacks[_]},this)},b}();r.__esModule=!0,r.default=f;function d(b){return"_"+b}},function(i,r,o){var a=this&&this.__extends||function(b,v){for(var _ in v)v.hasOwnProperty(_)&&(b[_]=v[_]);function x(){this.constructor=b}b.prototype=v===null?Object.create(v):(x.prototype=v.prototype,new x)},f=o(24),d=function(b){a(v,b);function v(){b.call(this);var _=this;window.addEventListener!==void 0&&(window.addEventListener("online",function(){_.emit("online")},!1),window.addEventListener("offline",function(){_.emit("offline")},!1))}return v.prototype.isOnline=function(){return window.navigator.onLine===void 0?!0:window.navigator.onLine},v}(f.default);r.NetInfo=d,r.Network=new d},function(i,r){var o=function(a){var f;return a.useTLS?f=[":best_connected_ever",":ws_loop",[":delayed",2e3,[":http_fallback_loop"]]]:f=[":best_connected_ever",":ws_loop",[":delayed",2e3,[":wss_loop"]],[":delayed",5e3,[":http_fallback_loop"]]],[[":def","ws_options",{hostNonTLS:a.wsHost+":"+a.wsPort,hostTLS:a.wsHost+":"+a.wssPort,httpPath:a.wsPath}],[":def","wss_options",[":extend",":ws_options",{useTLS:!0}]],[":def","sockjs_options",{hostNonTLS:a.httpHost+":"+a.httpPort,hostTLS:a.httpHost+":"+a.httpsPort,httpPath:a.httpPath}],[":def","timeouts",{loop:!0,timeout:15e3,timeoutLimit:6e4}],[":def","ws_manager",[":transport_manager",{lives:2,minPingDelay:1e4,maxPingDelay:a.activity_timeout}]],[":def","streaming_manager",[":transport_manager",{lives:2,minPingDelay:1e4,maxPingDelay:a.activity_timeout}]],[":def_transport","ws","ws",3,":ws_options",":ws_manager"],[":def_transport","wss","ws",3,":wss_options",":ws_manager"],[":def_transport","sockjs","sockjs",1,":sockjs_options"],[":def_transport","xhr_streaming","xhr_streaming",1,":sockjs_options",":streaming_manager"],[":def_transport","xdr_streaming","xdr_streaming",1,":sockjs_options",":streaming_manager"],[":def_transport","xhr_polling","xhr_polling",1,":sockjs_options"],[":def_transport","xdr_polling","xdr_polling",1,":sockjs_options"],[":def","ws_loop",[":sequential",":timeouts",":ws"]],[":def","wss_loop",[":sequential",":timeouts",":wss"]],[":def","sockjs_loop",[":sequential",":timeouts",":sockjs"]],[":def","streaming_loop",[":sequential",":timeouts",[":if",[":is_supported",":xhr_streaming"],":xhr_streaming",":xdr_streaming"]]],[":def","polling_loop",[":sequential",":timeouts",[":if",[":is_supported",":xhr_polling"],":xhr_polling",":xdr_polling"]]],[":def","http_loop",[":if",[":is_supported",":streaming_loop"],[":best_connected_ever",":streaming_loop",[":delayed",4e3,[":polling_loop"]]],[":polling_loop"]]],[":def","http_fallback_loop",[":if",[":is_supported",":http_loop"],[":http_loop"],[":sockjs_loop"]]],[":def","strategy",[":cached",18e5,[":first_connected",[":if",[":is_supported",":ws"],f,":http_fallback_loop"]]]]]};r.__esModule=!0,r.default=o},function(i,r,o){var a=o(3);function f(){var d=this;d.timeline.info(d.buildTimelineMessage({transport:d.name+(d.options.useTLS?"s":"")})),d.hooks.isInitialized()?d.changeState("initialized"):d.hooks.file?(d.changeState("initializing"),a.Dependencies.load(d.hooks.file,{useTLS:d.options.useTLS},function(b,v){d.hooks.isInitialized()?(d.changeState("initialized"),v(!0)):(b&&d.onError(b),d.onClose(),v(!1))})):d.onClose()}r.__esModule=!0,r.default=f},function(i,r,o){var a=o(30),f=o(32);f.default.createXDR=function(d,b){return this.createRequest(a.default,d,b)},r.__esModule=!0,r.default=f.default},function(i,r,o){var a=o(31),f={getRequest:function(d){var b=new window.XDomainRequest;return b.ontimeout=function(){d.emit("error",new a.RequestTimedOut),d.close()},b.onerror=function(v){d.emit("error",v),d.close()},b.onprogress=function(){b.responseText&&b.responseText.length>0&&d.onChunk(200,b.responseText)},b.onload=function(){b.responseText&&b.responseText.length>0&&d.onChunk(200,b.responseText),d.emit("finished",200),d.close()},b},abortRequest:function(d){d.ontimeout=d.onerror=d.onprogress=d.onload=null,d.abort()}};r.__esModule=!0,r.default=f},function(i,r){var o=this&&this.__extends||function(O,C){for(var S in C)C.hasOwnProperty(S)&&(O[S]=C[S]);function P(){this.constructor=O}O.prototype=C===null?Object.create(C):(P.prototype=C.prototype,new P)},a=function(O){o(C,O);function C(){O.apply(this,arguments)}return C}(Error);r.BadEventName=a;var f=function(O){o(C,O);function C(){O.apply(this,arguments)}return C}(Error);r.RequestTimedOut=f;var d=function(O){o(C,O);function C(){O.apply(this,arguments)}return C}(Error);r.TransportPriorityTooLow=d;var b=function(O){o(C,O);function C(){O.apply(this,arguments)}return C}(Error);r.TransportClosed=b;var v=function(O){o(C,O);function C(){O.apply(this,arguments)}return C}(Error);r.UnsupportedFeature=v;var _=function(O){o(C,O);function C(){O.apply(this,arguments)}return C}(Error);r.UnsupportedTransport=_;var x=function(O){o(C,O);function C(){O.apply(this,arguments)}return C}(Error);r.UnsupportedStrategy=x},function(i,r,o){var a=o(33),f=o(34),d=o(36),b=o(37),v=o(38),_={createStreamingSocket:function(x){return this.createSocket(d.default,x)},createPollingSocket:function(x){return this.createSocket(b.default,x)},createSocket:function(x,O){return new f.default(x,O)},createXHR:function(x,O){return this.createRequest(v.default,x,O)},createRequest:function(x,O,C){return new a.default(x,O,C)}};r.__esModule=!0,r.default=_},function(i,r,o){var a=this&&this.__extends||function(_,x){for(var O in x)x.hasOwnProperty(O)&&(_[O]=x[O]);function C(){this.constructor=_}_.prototype=x===null?Object.create(x):(C.prototype=x.prototype,new C)},f=o(2),d=o(24),b=256*1024,v=function(_){a(x,_);function x(O,C,S){_.call(this),this.hooks=O,this.method=C,this.url=S}return x.prototype.start=function(O){var C=this;this.position=0,this.xhr=this.hooks.getRequest(this),this.unloader=function(){C.close()},f.default.addUnloadListener(this.unloader),this.xhr.open(this.method,this.url,!0),this.xhr.setRequestHeader&&this.xhr.setRequestHeader("Content-Type","application/json"),this.xhr.send(O)},x.prototype.close=function(){this.unloader&&(f.default.removeUnloadListener(this.unloader),this.unloader=null),this.xhr&&(this.hooks.abortRequest(this.xhr),this.xhr=null)},x.prototype.onChunk=function(O,C){for(;;){var S=this.advanceBuffer(C);if(S)this.emit("chunk",{status:O,data:S});else break}this.isBufferTooLong(C)&&this.emit("buffer_too_long")},x.prototype.advanceBuffer=function(O){var C=O.slice(this.position),S=C.indexOf(`
`);return S!==-1?(this.position+=S+1,C.slice(0,S)):null},x.prototype.isBufferTooLong=function(O){return this.position===O.length&&O.length>b},x}(d.default);r.__esModule=!0,r.default=v},function(i,r,o){var a=o(35),f=o(11),d=o(2),b=1,v=function(){function I(N,H){this.hooks=N,this.session=S(1e3)+"/"+P(8),this.location=_(H),this.readyState=a.default.CONNECTING,this.openStream()}return I.prototype.send=function(N){return this.sendRaw(JSON.stringify([N]))},I.prototype.ping=function(){this.hooks.sendHeartbeat(this)},I.prototype.close=function(N,H){this.onClose(N,H,!0)},I.prototype.sendRaw=function(N){if(this.readyState===a.default.OPEN)try{return d.default.createSocketRequest("POST",O(x(this.location,this.session))).start(N),!0}catch{return!1}else return!1},I.prototype.reconnect=function(){this.closeStream(),this.openStream()},I.prototype.onClose=function(N,H,K){this.closeStream(),this.readyState=a.default.CLOSED,this.onclose&&this.onclose({code:N,reason:H,wasClean:K})},I.prototype.onChunk=function(N){if(N.status===200){this.readyState===a.default.OPEN&&this.onActivity();var H,K=N.data.slice(0,1);switch(K){case"o":H=JSON.parse(N.data.slice(1)||"{}"),this.onOpen(H);break;case"a":H=JSON.parse(N.data.slice(1)||"[]");for(var he=0;he<H.length;he++)this.onEvent(H[he]);break;case"m":H=JSON.parse(N.data.slice(1)||"null"),this.onEvent(H);break;case"h":this.hooks.onHeartbeat(this);break;case"c":H=JSON.parse(N.data.slice(1)||"[]"),this.onClose(H[0],H[1],!0);break}}},I.prototype.onOpen=function(N){this.readyState===a.default.CONNECTING?(N&&N.hostname&&(this.location.base=C(this.location.base,N.hostname)),this.readyState=a.default.OPEN,this.onopen&&this.onopen()):this.onClose(1006,"Server lost session",!0)},I.prototype.onEvent=function(N){this.readyState===a.default.OPEN&&this.onmessage&&this.onmessage({data:N})},I.prototype.onActivity=function(){this.onactivity&&this.onactivity()},I.prototype.onError=function(N){this.onerror&&this.onerror(N)},I.prototype.openStream=function(){var N=this;this.stream=d.default.createSocketRequest("POST",O(this.hooks.getReceiveURL(this.location,this.session))),this.stream.bind("chunk",function(H){N.onChunk(H)}),this.stream.bind("finished",function(H){N.hooks.onFinished(N,H)}),this.stream.bind("buffer_too_long",function(){N.reconnect()});try{this.stream.start()}catch(H){f.default.defer(function(){N.onError(H),N.onClose(1006,"Could not start streaming",!1)})}},I.prototype.closeStream=function(){this.stream&&(this.stream.unbind_all(),this.stream.close(),this.stream=null)},I}();function _(I){var N=/([^\?]*)\/*(\??.*)/.exec(I);return{base:N[1],queryString:N[2]}}function x(I,N){return I.base+"/"+N+"/xhr_send"}function O(I){var N=I.indexOf("?")===-1?"?":"&";return I+N+"t="+ +new Date+"&n="+b++}function C(I,N){var H=/(https?:\/\/)([^\/:]+)((\/|:)?.*)/.exec(I);return H[1]+N+H[3]}function S(I){return Math.floor(Math.random()*I)}function P(I){for(var N=[],H=0;H<I;H++)N.push(S(32).toString(32));return N.join("")}r.__esModule=!0,r.default=v},function(i,r){var o;(function(a){a[a.CONNECTING=0]="CONNECTING",a[a.OPEN=1]="OPEN",a[a.CLOSED=3]="CLOSED"})(o||(o={})),r.__esModule=!0,r.default=o},function(i,r){var o={getReceiveURL:function(a,f){return a.base+"/"+f+"/xhr_streaming"+a.queryString},onHeartbeat:function(a){a.sendRaw("[]")},sendHeartbeat:function(a){a.sendRaw("[]")},onFinished:function(a,f){a.onClose(1006,"Connection interrupted ("+f+")",!1)}};r.__esModule=!0,r.default=o},function(i,r){var o={getReceiveURL:function(a,f){return a.base+"/"+f+"/xhr"+a.queryString},onHeartbeat:function(){},sendHeartbeat:function(a){a.sendRaw("[]")},onFinished:function(a,f){f===200?a.reconnect():a.onClose(1006,"Connection interrupted ("+f+")",!1)}};r.__esModule=!0,r.default=o},function(i,r,o){var a=o(2),f={getRequest:function(d){var b=a.default.getXHRAPI(),v=new b;return v.onreadystatechange=v.onprogress=function(){switch(v.readyState){case 3:v.responseText&&v.responseText.length>0&&d.onChunk(v.status,v.responseText);break;case 4:v.responseText&&v.responseText.length>0&&d.onChunk(v.status,v.responseText),d.emit("finished",v.status),d.close();break}},v},abortRequest:function(d){d.onreadystatechange=null,d.abort()}};r.__esModule=!0,r.default=f},function(i,r,o){var a=o(9),f=o(11),d=o(40),b=function(){function v(_,x,O){this.key=_,this.session=x,this.events=[],this.options=O||{},this.sent=0,this.uniqueID=0}return v.prototype.log=function(_,x){_<=this.options.level&&(this.events.push(a.extend({},x,{timestamp:f.default.now()})),this.options.limit&&this.events.length>this.options.limit&&this.events.shift())},v.prototype.error=function(_){this.log(d.default.ERROR,_)},v.prototype.info=function(_){this.log(d.default.INFO,_)},v.prototype.debug=function(_){this.log(d.default.DEBUG,_)},v.prototype.isEmpty=function(){return this.events.length===0},v.prototype.send=function(_,x){var O=this,C=a.extend({session:this.session,bundle:this.sent+1,key:this.key,lib:"js",version:this.options.version,cluster:this.options.cluster,features:this.options.features,timeline:this.events},this.options.params);return this.events=[],_(C,function(S,P){S||O.sent++,x&&x(S,P)}),!0},v.prototype.generateUniqueID=function(){return this.uniqueID++,this.uniqueID},v}();r.__esModule=!0,r.default=b},function(i,r){var o;(function(a){a[a.ERROR=3]="ERROR",a[a.INFO=6]="INFO",a[a.DEBUG=7]="DEBUG"})(o||(o={})),r.__esModule=!0,r.default=o},function(i,r,o){var a=o(9),f=o(11),d=o(42),b=o(31),v=o(64),_=o(65),x=o(66),O=o(67),C=o(68),S=o(69),P=o(70),I=o(2),N=I.default.Transports;r.build=function(G,re){var ve=a.extend({},he,re);return X(G,ve)[1].strategy};var H={isSupported:function(){return!1},connect:function(G,re){var ve=f.default.defer(function(){re(new b.UnsupportedStrategy)});return{abort:function(){ve.ensureAborted()},forceMinPriority:function(){}}}};function K(G){return function(re){return[G.apply(this,arguments),re]}}var he={extend:function(G,re,ve){return[a.extend({},re,ve),G]},def:function(G,re,ve){if(G[re]!==void 0)throw"Redefining symbol "+re;return G[re]=ve,[void 0,G]},def_transport:function(G,re,ve,ft,vt,jt){var Lt=N[ve];if(!Lt)throw new b.UnsupportedTransport(ve);var kt=(!G.enabledTransports||a.arrayIndexOf(G.enabledTransports,re)!==-1)&&(!G.disabledTransports||a.arrayIndexOf(G.disabledTransports,re)===-1),Ft;kt?Ft=new v.default(re,ft,jt?jt.getAssistant(Lt):Lt,a.extend({key:G.key,useTLS:G.useTLS,timeline:G.timeline,ignoreNullOrigin:G.ignoreNullOrigin},vt)):Ft=H;var Bt=G.def(G,re,Ft)[1];return Bt.Transports=G.Transports||{},Bt.Transports[re]=Ft,[void 0,Bt]},transport_manager:K(function(G,re){return new d.default(re)}),sequential:K(function(G,re){var ve=Array.prototype.slice.call(arguments,2);return new _.default(ve,re)}),cached:K(function(G,re,ve){return new O.default(ve,G.Transports,{ttl:re,timeline:G.timeline,useTLS:G.useTLS})}),first_connected:K(function(G,re){return new P.default(re)}),best_connected_ever:K(function(){var G=Array.prototype.slice.call(arguments,1);return new x.default(G)}),delayed:K(function(G,re,ve){return new C.default(ve,{delay:re})}),if:K(function(G,re,ve,ft){return new S.default(re,ve,ft)}),is_supported:K(function(G,re){return function(){return re.isSupported()}})};function me(G){return typeof G=="string"&&G.charAt(0)===":"}function h(G,re){return re[G.slice(1)]}function Me(G,re){if(G.length===0)return[[],re];var ve=X(G[0],re),ft=Me(G.slice(1),ve[1]);return[[ve[0]].concat(ft[0]),ft[1]]}function tt(G,re){if(!me(G))return[G,re];var ve=h(G,re);if(ve===void 0)throw"Undefined symbol "+G;return[ve,re]}function J(G,re){if(me(G[0])){var ve=h(G[0],re);if(G.length>1){if(typeof ve!="function")throw"Calling non-function "+G[0];var ft=[a.extend({},re)].concat(a.map(G.slice(1),function(vt){return X(vt,a.extend({},re))[0]}));return ve.apply(this,ft)}else return[ve,re]}else return Me(G,re)}function X(G,re){return typeof G=="string"?tt(G,re):typeof G=="object"&&G instanceof Array&&G.length>0?J(G,re):[G,re]}},function(i,r,o){var a=o(43),f=function(){function d(b){this.options=b||{},this.livesLeft=this.options.lives||1/0}return d.prototype.getAssistant=function(b){return a.default.createAssistantToTheTransportManager(this,b,{minPingDelay:this.options.minPingDelay,maxPingDelay:this.options.maxPingDelay})},d.prototype.isAlive=function(){return this.livesLeft>0},d.prototype.reportDeath=function(){this.livesLeft-=1},d}();r.__esModule=!0,r.default=f},function(i,r,o){var a=o(44),f=o(45),d=o(48),b=o(49),v=o(50),_=o(51),x=o(54),O=o(52),C=o(62),S=o(63),P={createChannels:function(){return new S.default},createConnectionManager:function(I,N){return new C.default(I,N)},createChannel:function(I,N){return new O.default(I,N)},createPrivateChannel:function(I,N){return new _.default(I,N)},createPresenceChannel:function(I,N){return new v.default(I,N)},createEncryptedChannel:function(I,N){return new x.default(I,N)},createTimelineSender:function(I,N){return new b.default(I,N)},createAuthorizer:function(I,N){return N.authorizer?N.authorizer(I,N):new d.default(I,N)},createHandshake:function(I,N){return new f.default(I,N)},createAssistantToTheTransportManager:function(I,N,H){return new a.default(I,N,H)}};r.__esModule=!0,r.default=P},function(i,r,o){var a=o(11),f=o(9),d=function(){function b(v,_,x){this.manager=v,this.transport=_,this.minPingDelay=x.minPingDelay,this.maxPingDelay=x.maxPingDelay,this.pingDelay=void 0}return b.prototype.createConnection=function(v,_,x,O){var C=this;O=f.extend({},O,{activityTimeout:this.pingDelay});var S=this.transport.createConnection(v,_,x,O),P=null,I=function(){S.unbind("open",I),S.bind("closed",N),P=a.default.now()},N=function(H){if(S.unbind("closed",N),H.code===1002||H.code===1003)C.manager.reportDeath();else if(!H.wasClean&&P){var K=a.default.now()-P;K<2*C.maxPingDelay&&(C.manager.reportDeath(),C.pingDelay=Math.max(K/2,C.minPingDelay))}};return S.bind("open",I),S},b.prototype.isSupported=function(v){return this.manager.isAlive()&&this.transport.isSupported(v)},b}();r.__esModule=!0,r.default=d},function(i,r,o){var a=o(9),f=o(46),d=o(47),b=function(){function v(_,x){this.transport=_,this.callback=x,this.bindListeners()}return v.prototype.close=function(){this.unbindListeners(),this.transport.close()},v.prototype.bindListeners=function(){var _=this;this.onMessage=function(x){_.unbindListeners();var O;try{O=f.processHandshake(x)}catch(C){_.finish("error",{error:C}),_.transport.close();return}O.action==="connected"?_.finish("connected",{connection:new d.default(O.id,_.transport),activityTimeout:O.activityTimeout}):(_.finish(O.action,{error:O.error}),_.transport.close())},this.onClosed=function(x){_.unbindListeners();var O=f.getCloseAction(x)||"backoff",C=f.getCloseError(x);_.finish(O,{error:C})},this.transport.bind("message",this.onMessage),this.transport.bind("closed",this.onClosed)},v.prototype.unbindListeners=function(){this.transport.unbind("message",this.onMessage),this.transport.unbind("closed",this.onClosed)},v.prototype.finish=function(_,x){this.callback(a.extend({transport:this.transport,action:_},x))},v}();r.__esModule=!0,r.default=b},function(i,r){r.decodeMessage=function(o){try{var a=JSON.parse(o.data),f=a.data;if(typeof f=="string")try{f=JSON.parse(a.data)}catch{}var d={event:a.event,channel:a.channel,data:f};return a.user_id&&(d.user_id=a.user_id),d}catch(b){throw{type:"MessageParseError",error:b,data:o.data}}},r.encodeMessage=function(o){return JSON.stringify(o)},r.processHandshake=function(o){var a=r.decodeMessage(o);if(a.event==="pusher:connection_established"){if(!a.data.activity_timeout)throw"No activity timeout specified in handshake";return{action:"connected",id:a.data.socket_id,activityTimeout:a.data.activity_timeout*1e3}}else{if(a.event==="pusher:error")return{action:this.getCloseAction(a.data),error:this.getCloseError(a.data)};throw"Invalid handshake"}},r.getCloseAction=function(o){return o.code<4e3?o.code>=1002&&o.code<=1004?"backoff":null:o.code===4e3?"tls_only":o.code<4100?"refused":o.code<4200?"backoff":o.code<4300?"retry":"refused"},r.getCloseError=function(o){return o.code!==1e3&&o.code!==1001?{type:"PusherError",data:{code:o.code,message:o.reason||o.message}}:null}},function(i,r,o){var a=this&&this.__extends||function(x,O){for(var C in O)O.hasOwnProperty(C)&&(x[C]=O[C]);function S(){this.constructor=x}x.prototype=O===null?Object.create(O):(S.prototype=O.prototype,new S)},f=o(9),d=o(24),b=o(46),v=o(8),_=function(x){a(O,x);function O(C,S){x.call(this),this.id=C,this.transport=S,this.activityTimeout=S.activityTimeout,this.bindListeners()}return O.prototype.handlesActivityChecks=function(){return this.transport.handlesActivityChecks()},O.prototype.send=function(C){return this.transport.send(C)},O.prototype.send_event=function(C,S,P){var I={event:C,data:S};return P&&(I.channel=P),v.default.debug("Event sent",I),this.send(b.encodeMessage(I))},O.prototype.ping=function(){this.transport.supportsPing()?this.transport.ping():this.send_event("pusher:ping",{})},O.prototype.close=function(){this.transport.close()},O.prototype.bindListeners=function(){var C=this,S={message:function(I){var N;try{N=b.decodeMessage(I)}catch(H){C.emit("error",{type:"MessageParseError",error:H,data:I.data})}if(N!==void 0){switch(v.default.debug("Event recd",N),N.event){case"pusher:error":C.emit("error",{type:"PusherError",data:N.data});break;case"pusher:ping":C.emit("ping");break;case"pusher:pong":C.emit("pong");break}C.emit("message",N)}},activity:function(){C.emit("activity")},error:function(I){C.emit("error",{type:"WebSocketError",error:I})},closed:function(I){P(),I&&I.code&&C.handleCloseEvent(I),C.transport=null,C.emit("closed")}},P=function(){f.objectApply(S,function(I,N){C.transport.unbind(N,I)})};f.objectApply(S,function(I,N){C.transport.bind(N,I)})},O.prototype.handleCloseEvent=function(C){var S=b.getCloseAction(C),P=b.getCloseError(C);P&&this.emit("error",P),S&&this.emit(S,{action:S,error:P})},O}(d.default);r.__esModule=!0,r.default=_},function(i,r,o){var a=o(2),f=function(){function d(b,v){this.channel=b;var _=v.authTransport;if(typeof a.default.getAuthorizers()[_]>"u")throw"'"+_+"' is not a recognized auth transport";this.type=_,this.options=v,this.authOptions=(v||{}).auth||{}}return d.prototype.composeQuery=function(b){var v="socket_id="+encodeURIComponent(b)+"&channel_name="+encodeURIComponent(this.channel.name);for(var _ in this.authOptions.params)v+="&"+encodeURIComponent(_)+"="+encodeURIComponent(this.authOptions.params[_]);return v},d.prototype.authorize=function(b,v){return d.authorizers=d.authorizers||a.default.getAuthorizers(),d.authorizers[this.type].call(this,a.default,b,v)},d}();r.__esModule=!0,r.default=f},function(i,r,o){var a=o(2),f=function(){function d(b,v){this.timeline=b,this.options=v||{}}return d.prototype.send=function(b,v){this.timeline.isEmpty()||this.timeline.send(a.default.TimelineTransport.getAgent(this,b),v)},d}();r.__esModule=!0,r.default=f},function(i,r,o){var a=this&&this.__extends||function(x,O){for(var C in O)O.hasOwnProperty(C)&&(x[C]=O[C]);function S(){this.constructor=x}x.prototype=O===null?Object.create(O):(S.prototype=O.prototype,new S)},f=o(51),d=o(8),b=o(53),v=o(14),_=function(x){a(O,x);function O(C,S){x.call(this,C,S),this.members=new b.default}return O.prototype.authorize=function(C,S){var P=this;x.prototype.authorize.call(this,C,function(I,N){if(!I){if(N.channel_data===void 0){var H=v.default.buildLogSuffix("authenticationEndpoint");d.default.warn("Invalid auth response for channel '"+P.name+"',"+("expected 'channel_data' field. "+H)),S("Invalid auth response");return}var K=JSON.parse(N.channel_data);P.members.setMyID(K.user_id)}S(I,N)})},O.prototype.handleEvent=function(C){var S=C.event;if(S.indexOf("pusher_internal:")===0)this.handleInternalEvent(C);else{var P=C.data,I={};C.user_id&&(I.user_id=C.user_id),this.emit(S,P,I)}},O.prototype.handleInternalEvent=function(C){var S=C.event,P=C.data;switch(S){case"pusher_internal:subscription_succeeded":this.handleSubscriptionSucceededEvent(C);break;case"pusher_internal:member_added":var I=this.members.addMember(P);this.emit("pusher:member_added",I);break;case"pusher_internal:member_removed":var N=this.members.removeMember(P);N&&this.emit("pusher:member_removed",N);break}},O.prototype.handleSubscriptionSucceededEvent=function(C){this.subscriptionPending=!1,this.subscribed=!0,this.subscriptionCancelled?this.pusher.unsubscribe(this.name):(this.members.onSubscription(C.data),this.emit("pusher:subscription_succeeded",this.members))},O.prototype.disconnect=function(){this.members.reset(),x.prototype.disconnect.call(this)},O}(f.default);r.__esModule=!0,r.default=_},function(i,r,o){var a=this&&this.__extends||function(v,_){for(var x in _)_.hasOwnProperty(x)&&(v[x]=_[x]);function O(){this.constructor=v}v.prototype=_===null?Object.create(_):(O.prototype=_.prototype,new O)},f=o(43),d=o(52),b=function(v){a(_,v);function _(){v.apply(this,arguments)}return _.prototype.authorize=function(x,O){var C=f.default.createAuthorizer(this,this.pusher.config);return C.authorize(x,O)},_}(d.default);r.__esModule=!0,r.default=b},function(i,r,o){var a=this&&this.__extends||function(x,O){for(var C in O)O.hasOwnProperty(C)&&(x[C]=O[C]);function S(){this.constructor=x}x.prototype=O===null?Object.create(O):(S.prototype=O.prototype,new S)},f=o(24),d=o(31),b=o(8),v=o(14),_=function(x){a(O,x);function O(C,S){x.call(this,function(P,I){b.default.debug("No callbacks on "+C+" for "+P)}),this.name=C,this.pusher=S,this.subscribed=!1,this.subscriptionPending=!1,this.subscriptionCancelled=!1}return O.prototype.authorize=function(C,S){return S(!1,{})},O.prototype.trigger=function(C,S){if(C.indexOf("client-")!==0)throw new d.BadEventName("Event '"+C+"' does not start with 'client-'");if(!this.subscribed){var P=v.default.buildLogSuffix("triggeringClientEvents");b.default.warn("Client event triggered before channel 'subscription_succeeded' event . "+P)}return this.pusher.send_event(C,S,this.name)},O.prototype.disconnect=function(){this.subscribed=!1,this.subscriptionPending=!1},O.prototype.handleEvent=function(C){var S=C.event,P=C.data;if(S==="pusher_internal:subscription_succeeded")this.handleSubscriptionSucceededEvent(C);else if(S.indexOf("pusher_internal:")!==0){var I={};this.emit(S,P,I)}},O.prototype.handleSubscriptionSucceededEvent=function(C){this.subscriptionPending=!1,this.subscribed=!0,this.subscriptionCancelled?this.pusher.unsubscribe(this.name):this.emit("pusher:subscription_succeeded",C.data)},O.prototype.subscribe=function(){var C=this;this.subscribed||(this.subscriptionPending=!0,this.subscriptionCancelled=!1,this.authorize(this.pusher.connection.socket_id,function(S,P){S?C.emit("pusher:subscription_error",P):C.pusher.send_event("pusher:subscribe",{auth:P.auth,channel_data:P.channel_data,channel:C.name})}))},O.prototype.unsubscribe=function(){this.subscribed=!1,this.pusher.send_event("pusher:unsubscribe",{channel:this.name})},O.prototype.cancelSubscription=function(){this.subscriptionCancelled=!0},O.prototype.reinstateSubscription=function(){this.subscriptionCancelled=!1},O}(f.default);r.__esModule=!0,r.default=_},function(i,r,o){var a=o(9),f=function(){function d(){this.reset()}return d.prototype.get=function(b){return Object.prototype.hasOwnProperty.call(this.members,b)?{id:b,info:this.members[b]}:null},d.prototype.each=function(b){var v=this;a.objectApply(this.members,function(_,x){b(v.get(x))})},d.prototype.setMyID=function(b){this.myID=b},d.prototype.onSubscription=function(b){this.members=b.presence.hash,this.count=b.presence.count,this.me=this.get(this.myID)},d.prototype.addMember=function(b){return this.get(b.user_id)===null&&this.count++,this.members[b.user_id]=b.user_info,this.get(b.user_id)},d.prototype.removeMember=function(b){var v=this.get(b.user_id);return v&&(delete this.members[b.user_id],this.count--),v},d.prototype.reset=function(){this.members={},this.count=0,this.myID=null,this.me=null},d}();r.__esModule=!0,r.default=f},function(i,r,o){var a=this&&this.__extends||function(O,C){for(var S in C)C.hasOwnProperty(S)&&(O[S]=C[S]);function P(){this.constructor=O}O.prototype=C===null?Object.create(C):(P.prototype=C.prototype,new P)},f=o(51),d=o(31),b=o(8),v=o(55),_=o(57),x=function(O){a(C,O);function C(){O.apply(this,arguments),this.key=null}return C.prototype.authorize=function(S,P){var I=this;O.prototype.authorize.call(this,S,function(N,H){if(N){P(!0,H);return}var K=H.shared_secret;if(!K){var he="No shared_secret key in auth payload for encrypted channel: "+I.name;P(!0,he),b.default.warn("Error: "+he);return}I.key=_.decodeBase64(K),delete H.shared_secret,P(!1,H)})},C.prototype.trigger=function(S,P){throw new d.UnsupportedFeature("Client events are not currently supported for encrypted channels")},C.prototype.handleEvent=function(S){var P=S.event,I=S.data;if(P.indexOf("pusher_internal:")===0||P.indexOf("pusher:")===0){O.prototype.handleEvent.call(this,S);return}this.handleEncryptedEvent(P,I)},C.prototype.handleEncryptedEvent=function(S,P){var I=this;if(!this.key){b.default.debug("Received encrypted event before key has been retrieved from the authEndpoint");return}if(!P.ciphertext||!P.nonce){b.default.warn("Unexpected format for encrypted event, expected object with `ciphertext` and `nonce` fields, got: "+P);return}var N=_.decodeBase64(P.ciphertext);if(N.length<v.secretbox.overheadLength){b.default.warn("Expected encrypted event ciphertext length to be "+v.secretbox.overheadLength+", got: "+N.length);return}var H=_.decodeBase64(P.nonce);if(H.length<v.secretbox.nonceLength){b.default.warn("Expected encrypted event nonce length to be "+v.secretbox.nonceLength+", got: "+H.length);return}var K=v.secretbox.open(N,H,this.key);if(K===null){b.default.debug("Failed to decrypted an event, probably because it was encrypted with a different key. Fetching a new key from the authEndpoint..."),this.authorize(this.pusher.connection.socket_id,function(he,me){if(he){b.default.warn("Failed to make a request to the authEndpoint: "+me+". Unable to fetch new key, so dropping encrypted event");return}if(K=v.secretbox.open(N,H,I.key),K===null){b.default.warn("Failed to decrypt event with new key. Dropping encrypted event");return}I.emitJSON(S,_.encodeUTF8(K))});return}this.emitJSON(S,_.encodeUTF8(K))},C.prototype.emitJSON=function(S,P){try{this.emit(S,JSON.parse(P))}catch{this.emit(S,P)}return this},C}(f.default);r.__esModule=!0,r.default=x},function(i,r,o){(function(a){var f=function(g){var A,E=new Float64Array(16);if(g)for(A=0;A<g.length;A++)E[A]=g[A];return E},d=function(){throw new Error("no PRNG")},b=new Uint8Array(16),v=new Uint8Array(32);v[0]=9;var _=f(),x=f([1]),O=f([56129,1]),C=f([30883,4953,19914,30187,55467,16705,2637,112,59544,30585,16505,36039,65139,11119,27886,20995]),S=f([61785,9906,39828,60374,45398,33411,5274,224,53552,61171,33010,6542,64743,22239,55772,9222]),P=f([54554,36645,11616,51542,42930,38181,51040,26924,56412,64982,57905,49316,21502,52590,14035,8553]),I=f([26200,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214]),N=f([41136,18958,6951,50414,58488,44335,6150,12099,55207,15867,153,11085,57099,20417,9344,11139]);function H(g,A,E,c){g[A]=E>>24&255,g[A+1]=E>>16&255,g[A+2]=E>>8&255,g[A+3]=E&255,g[A+4]=c>>24&255,g[A+5]=c>>16&255,g[A+6]=c>>8&255,g[A+7]=c&255}function K(g,A,E,c,k){var q,Y=0;for(q=0;q<k;q++)Y|=g[A+q]^E[c+q];return(1&Y-1>>>8)-1}function he(g,A,E,c){return K(g,A,E,c,16)}function me(g,A,E,c){return K(g,A,E,c,32)}function h(g,A,E,c){for(var k=c[0]&255|(c[1]&255)<<8|(c[2]&255)<<16|(c[3]&255)<<24,q=E[0]&255|(E[1]&255)<<8|(E[2]&255)<<16|(E[3]&255)<<24,Y=E[4]&255|(E[5]&255)<<8|(E[6]&255)<<16|(E[7]&255)<<24,ae=E[8]&255|(E[9]&255)<<8|(E[10]&255)<<16|(E[11]&255)<<24,ge=E[12]&255|(E[13]&255)<<8|(E[14]&255)<<16|(E[15]&255)<<24,Ce=c[4]&255|(c[5]&255)<<8|(c[6]&255)<<16|(c[7]&255)<<24,we=A[0]&255|(A[1]&255)<<8|(A[2]&255)<<16|(A[3]&255)<<24,ut=A[4]&255|(A[5]&255)<<8|(A[6]&255)<<16|(A[7]&255)<<24,Ee=A[8]&255|(A[9]&255)<<8|(A[10]&255)<<16|(A[11]&255)<<24,ze=A[12]&255|(A[13]&255)<<8|(A[14]&255)<<16|(A[15]&255)<<24,Be=c[8]&255|(c[9]&255)<<8|(c[10]&255)<<16|(c[11]&255)<<24,Ge=E[16]&255|(E[17]&255)<<8|(E[18]&255)<<16|(E[19]&255)<<24,Ve=E[20]&255|(E[21]&255)<<8|(E[22]&255)<<16|(E[23]&255)<<24,$e=E[24]&255|(E[25]&255)<<8|(E[26]&255)<<16|(E[27]&255)<<24,We=E[28]&255|(E[29]&255)<<8|(E[30]&255)<<16|(E[31]&255)<<24,Ue=c[12]&255|(c[13]&255)<<8|(c[14]&255)<<16|(c[15]&255)<<24,Oe=k,Te=q,be=Y,Ae=ae,Re=ge,_e=Ce,Q=we,Z=ut,le=Ee,oe=ze,ue=Be,ye=Ge,Pe=Ve,Xe=$e,Ye=We,Qe=Ue,j,Je=0;Je<20;Je+=2)j=Oe+Pe|0,Re^=j<<7|j>>>32-7,j=Re+Oe|0,le^=j<<9|j>>>32-9,j=le+Re|0,Pe^=j<<13|j>>>32-13,j=Pe+le|0,Oe^=j<<18|j>>>32-18,j=_e+Te|0,oe^=j<<7|j>>>32-7,j=oe+_e|0,Xe^=j<<9|j>>>32-9,j=Xe+oe|0,Te^=j<<13|j>>>32-13,j=Te+Xe|0,_e^=j<<18|j>>>32-18,j=ue+Q|0,Ye^=j<<7|j>>>32-7,j=Ye+ue|0,be^=j<<9|j>>>32-9,j=be+Ye|0,Q^=j<<13|j>>>32-13,j=Q+be|0,ue^=j<<18|j>>>32-18,j=Qe+ye|0,Ae^=j<<7|j>>>32-7,j=Ae+Qe|0,Z^=j<<9|j>>>32-9,j=Z+Ae|0,ye^=j<<13|j>>>32-13,j=ye+Z|0,Qe^=j<<18|j>>>32-18,j=Oe+Ae|0,Te^=j<<7|j>>>32-7,j=Te+Oe|0,be^=j<<9|j>>>32-9,j=be+Te|0,Ae^=j<<13|j>>>32-13,j=Ae+be|0,Oe^=j<<18|j>>>32-18,j=_e+Re|0,Q^=j<<7|j>>>32-7,j=Q+_e|0,Z^=j<<9|j>>>32-9,j=Z+Q|0,Re^=j<<13|j>>>32-13,j=Re+Z|0,_e^=j<<18|j>>>32-18,j=ue+oe|0,ye^=j<<7|j>>>32-7,j=ye+ue|0,le^=j<<9|j>>>32-9,j=le+ye|0,oe^=j<<13|j>>>32-13,j=oe+le|0,ue^=j<<18|j>>>32-18,j=Qe+Ye|0,Pe^=j<<7|j>>>32-7,j=Pe+Qe|0,Xe^=j<<9|j>>>32-9,j=Xe+Pe|0,Ye^=j<<13|j>>>32-13,j=Ye+Xe|0,Qe^=j<<18|j>>>32-18;Oe=Oe+k|0,Te=Te+q|0,be=be+Y|0,Ae=Ae+ae|0,Re=Re+ge|0,_e=_e+Ce|0,Q=Q+we|0,Z=Z+ut|0,le=le+Ee|0,oe=oe+ze|0,ue=ue+Be|0,ye=ye+Ge|0,Pe=Pe+Ve|0,Xe=Xe+$e|0,Ye=Ye+We|0,Qe=Qe+Ue|0,g[0]=Oe>>>0&255,g[1]=Oe>>>8&255,g[2]=Oe>>>16&255,g[3]=Oe>>>24&255,g[4]=Te>>>0&255,g[5]=Te>>>8&255,g[6]=Te>>>16&255,g[7]=Te>>>24&255,g[8]=be>>>0&255,g[9]=be>>>8&255,g[10]=be>>>16&255,g[11]=be>>>24&255,g[12]=Ae>>>0&255,g[13]=Ae>>>8&255,g[14]=Ae>>>16&255,g[15]=Ae>>>24&255,g[16]=Re>>>0&255,g[17]=Re>>>8&255,g[18]=Re>>>16&255,g[19]=Re>>>24&255,g[20]=_e>>>0&255,g[21]=_e>>>8&255,g[22]=_e>>>16&255,g[23]=_e>>>24&255,g[24]=Q>>>0&255,g[25]=Q>>>8&255,g[26]=Q>>>16&255,g[27]=Q>>>24&255,g[28]=Z>>>0&255,g[29]=Z>>>8&255,g[30]=Z>>>16&255,g[31]=Z>>>24&255,g[32]=le>>>0&255,g[33]=le>>>8&255,g[34]=le>>>16&255,g[35]=le>>>24&255,g[36]=oe>>>0&255,g[37]=oe>>>8&255,g[38]=oe>>>16&255,g[39]=oe>>>24&255,g[40]=ue>>>0&255,g[41]=ue>>>8&255,g[42]=ue>>>16&255,g[43]=ue>>>24&255,g[44]=ye>>>0&255,g[45]=ye>>>8&255,g[46]=ye>>>16&255,g[47]=ye>>>24&255,g[48]=Pe>>>0&255,g[49]=Pe>>>8&255,g[50]=Pe>>>16&255,g[51]=Pe>>>24&255,g[52]=Xe>>>0&255,g[53]=Xe>>>8&255,g[54]=Xe>>>16&255,g[55]=Xe>>>24&255,g[56]=Ye>>>0&255,g[57]=Ye>>>8&255,g[58]=Ye>>>16&255,g[59]=Ye>>>24&255,g[60]=Qe>>>0&255,g[61]=Qe>>>8&255,g[62]=Qe>>>16&255,g[63]=Qe>>>24&255}function Me(g,A,E,c){for(var k=c[0]&255|(c[1]&255)<<8|(c[2]&255)<<16|(c[3]&255)<<24,q=E[0]&255|(E[1]&255)<<8|(E[2]&255)<<16|(E[3]&255)<<24,Y=E[4]&255|(E[5]&255)<<8|(E[6]&255)<<16|(E[7]&255)<<24,ae=E[8]&255|(E[9]&255)<<8|(E[10]&255)<<16|(E[11]&255)<<24,ge=E[12]&255|(E[13]&255)<<8|(E[14]&255)<<16|(E[15]&255)<<24,Ce=c[4]&255|(c[5]&255)<<8|(c[6]&255)<<16|(c[7]&255)<<24,we=A[0]&255|(A[1]&255)<<8|(A[2]&255)<<16|(A[3]&255)<<24,ut=A[4]&255|(A[5]&255)<<8|(A[6]&255)<<16|(A[7]&255)<<24,Ee=A[8]&255|(A[9]&255)<<8|(A[10]&255)<<16|(A[11]&255)<<24,ze=A[12]&255|(A[13]&255)<<8|(A[14]&255)<<16|(A[15]&255)<<24,Be=c[8]&255|(c[9]&255)<<8|(c[10]&255)<<16|(c[11]&255)<<24,Ge=E[16]&255|(E[17]&255)<<8|(E[18]&255)<<16|(E[19]&255)<<24,Ve=E[20]&255|(E[21]&255)<<8|(E[22]&255)<<16|(E[23]&255)<<24,$e=E[24]&255|(E[25]&255)<<8|(E[26]&255)<<16|(E[27]&255)<<24,We=E[28]&255|(E[29]&255)<<8|(E[30]&255)<<16|(E[31]&255)<<24,Ue=c[12]&255|(c[13]&255)<<8|(c[14]&255)<<16|(c[15]&255)<<24,Oe=k,Te=q,be=Y,Ae=ae,Re=ge,_e=Ce,Q=we,Z=ut,le=Ee,oe=ze,ue=Be,ye=Ge,Pe=Ve,Xe=$e,Ye=We,Qe=Ue,j,Je=0;Je<20;Je+=2)j=Oe+Pe|0,Re^=j<<7|j>>>32-7,j=Re+Oe|0,le^=j<<9|j>>>32-9,j=le+Re|0,Pe^=j<<13|j>>>32-13,j=Pe+le|0,Oe^=j<<18|j>>>32-18,j=_e+Te|0,oe^=j<<7|j>>>32-7,j=oe+_e|0,Xe^=j<<9|j>>>32-9,j=Xe+oe|0,Te^=j<<13|j>>>32-13,j=Te+Xe|0,_e^=j<<18|j>>>32-18,j=ue+Q|0,Ye^=j<<7|j>>>32-7,j=Ye+ue|0,be^=j<<9|j>>>32-9,j=be+Ye|0,Q^=j<<13|j>>>32-13,j=Q+be|0,ue^=j<<18|j>>>32-18,j=Qe+ye|0,Ae^=j<<7|j>>>32-7,j=Ae+Qe|0,Z^=j<<9|j>>>32-9,j=Z+Ae|0,ye^=j<<13|j>>>32-13,j=ye+Z|0,Qe^=j<<18|j>>>32-18,j=Oe+Ae|0,Te^=j<<7|j>>>32-7,j=Te+Oe|0,be^=j<<9|j>>>32-9,j=be+Te|0,Ae^=j<<13|j>>>32-13,j=Ae+be|0,Oe^=j<<18|j>>>32-18,j=_e+Re|0,Q^=j<<7|j>>>32-7,j=Q+_e|0,Z^=j<<9|j>>>32-9,j=Z+Q|0,Re^=j<<13|j>>>32-13,j=Re+Z|0,_e^=j<<18|j>>>32-18,j=ue+oe|0,ye^=j<<7|j>>>32-7,j=ye+ue|0,le^=j<<9|j>>>32-9,j=le+ye|0,oe^=j<<13|j>>>32-13,j=oe+le|0,ue^=j<<18|j>>>32-18,j=Qe+Ye|0,Pe^=j<<7|j>>>32-7,j=Pe+Qe|0,Xe^=j<<9|j>>>32-9,j=Xe+Pe|0,Ye^=j<<13|j>>>32-13,j=Ye+Xe|0,Qe^=j<<18|j>>>32-18;g[0]=Oe>>>0&255,g[1]=Oe>>>8&255,g[2]=Oe>>>16&255,g[3]=Oe>>>24&255,g[4]=_e>>>0&255,g[5]=_e>>>8&255,g[6]=_e>>>16&255,g[7]=_e>>>24&255,g[8]=ue>>>0&255,g[9]=ue>>>8&255,g[10]=ue>>>16&255,g[11]=ue>>>24&255,g[12]=Qe>>>0&255,g[13]=Qe>>>8&255,g[14]=Qe>>>16&255,g[15]=Qe>>>24&255,g[16]=Q>>>0&255,g[17]=Q>>>8&255,g[18]=Q>>>16&255,g[19]=Q>>>24&255,g[20]=Z>>>0&255,g[21]=Z>>>8&255,g[22]=Z>>>16&255,g[23]=Z>>>24&255,g[24]=le>>>0&255,g[25]=le>>>8&255,g[26]=le>>>16&255,g[27]=le>>>24&255,g[28]=oe>>>0&255,g[29]=oe>>>8&255,g[30]=oe>>>16&255,g[31]=oe>>>24&255}function tt(g,A,E,c){h(g,A,E,c)}function J(g,A,E,c){Me(g,A,E,c)}var X=new Uint8Array([101,120,112,97,110,100,32,51,50,45,98,121,116,101,32,107]);function G(g,A,E,c,k,q,Y){var ae=new Uint8Array(16),ge=new Uint8Array(64),Ce,we;for(we=0;we<16;we++)ae[we]=0;for(we=0;we<8;we++)ae[we]=q[we];for(;k>=64;){for(tt(ge,ae,Y,X),we=0;we<64;we++)g[A+we]=E[c+we]^ge[we];for(Ce=1,we=8;we<16;we++)Ce=Ce+(ae[we]&255)|0,ae[we]=Ce&255,Ce>>>=8;k-=64,A+=64,c+=64}if(k>0)for(tt(ge,ae,Y,X),we=0;we<k;we++)g[A+we]=E[c+we]^ge[we];return 0}function re(g,A,E,c,k){var q=new Uint8Array(16),Y=new Uint8Array(64),ae,ge;for(ge=0;ge<16;ge++)q[ge]=0;for(ge=0;ge<8;ge++)q[ge]=c[ge];for(;E>=64;){for(tt(Y,q,k,X),ge=0;ge<64;ge++)g[A+ge]=Y[ge];for(ae=1,ge=8;ge<16;ge++)ae=ae+(q[ge]&255)|0,q[ge]=ae&255,ae>>>=8;E-=64,A+=64}if(E>0)for(tt(Y,q,k,X),ge=0;ge<E;ge++)g[A+ge]=Y[ge];return 0}function ve(g,A,E,c,k){var q=new Uint8Array(32);J(q,c,k,X);for(var Y=new Uint8Array(8),ae=0;ae<8;ae++)Y[ae]=c[ae+16];return re(g,A,E,Y,q)}function ft(g,A,E,c,k,q,Y){var ae=new Uint8Array(32);J(ae,q,Y,X);for(var ge=new Uint8Array(8),Ce=0;Ce<8;Ce++)ge[Ce]=q[Ce+16];return G(g,A,E,c,k,ge,ae)}var vt=function(g){this.buffer=new Uint8Array(16),this.r=new Uint16Array(10),this.h=new Uint16Array(10),this.pad=new Uint16Array(8),this.leftover=0,this.fin=0;var A,E,c,k,q,Y,ae,ge;A=g[0]&255|(g[1]&255)<<8,this.r[0]=A&8191,E=g[2]&255|(g[3]&255)<<8,this.r[1]=(A>>>13|E<<3)&8191,c=g[4]&255|(g[5]&255)<<8,this.r[2]=(E>>>10|c<<6)&7939,k=g[6]&255|(g[7]&255)<<8,this.r[3]=(c>>>7|k<<9)&8191,q=g[8]&255|(g[9]&255)<<8,this.r[4]=(k>>>4|q<<12)&255,this.r[5]=q>>>1&8190,Y=g[10]&255|(g[11]&255)<<8,this.r[6]=(q>>>14|Y<<2)&8191,ae=g[12]&255|(g[13]&255)<<8,this.r[7]=(Y>>>11|ae<<5)&8065,ge=g[14]&255|(g[15]&255)<<8,this.r[8]=(ae>>>8|ge<<8)&8191,this.r[9]=ge>>>5&127,this.pad[0]=g[16]&255|(g[17]&255)<<8,this.pad[1]=g[18]&255|(g[19]&255)<<8,this.pad[2]=g[20]&255|(g[21]&255)<<8,this.pad[3]=g[22]&255|(g[23]&255)<<8,this.pad[4]=g[24]&255|(g[25]&255)<<8,this.pad[5]=g[26]&255|(g[27]&255)<<8,this.pad[6]=g[28]&255|(g[29]&255)<<8,this.pad[7]=g[30]&255|(g[31]&255)<<8};vt.prototype.blocks=function(g,A,E){for(var c=this.fin?0:2048,k,q,Y,ae,ge,Ce,we,ut,Ee,ze,Be,Ge,Ve,$e,We,Ue,Oe,Te,be,Ae=this.h[0],Re=this.h[1],_e=this.h[2],Q=this.h[3],Z=this.h[4],le=this.h[5],oe=this.h[6],ue=this.h[7],ye=this.h[8],Pe=this.h[9],Xe=this.r[0],Ye=this.r[1],Qe=this.r[2],j=this.r[3],Je=this.r[4],nt=this.r[5],ot=this.r[6],et=this.r[7],st=this.r[8],at=this.r[9];E>=16;)k=g[A+0]&255|(g[A+1]&255)<<8,Ae+=k&8191,q=g[A+2]&255|(g[A+3]&255)<<8,Re+=(k>>>13|q<<3)&8191,Y=g[A+4]&255|(g[A+5]&255)<<8,_e+=(q>>>10|Y<<6)&8191,ae=g[A+6]&255|(g[A+7]&255)<<8,Q+=(Y>>>7|ae<<9)&8191,ge=g[A+8]&255|(g[A+9]&255)<<8,Z+=(ae>>>4|ge<<12)&8191,le+=ge>>>1&8191,Ce=g[A+10]&255|(g[A+11]&255)<<8,oe+=(ge>>>14|Ce<<2)&8191,we=g[A+12]&255|(g[A+13]&255)<<8,ue+=(Ce>>>11|we<<5)&8191,ut=g[A+14]&255|(g[A+15]&255)<<8,ye+=(we>>>8|ut<<8)&8191,Pe+=ut>>>5|c,Ee=0,ze=Ee,ze+=Ae*Xe,ze+=Re*(5*at),ze+=_e*(5*st),ze+=Q*(5*et),ze+=Z*(5*ot),Ee=ze>>>13,ze&=8191,ze+=le*(5*nt),ze+=oe*(5*Je),ze+=ue*(5*j),ze+=ye*(5*Qe),ze+=Pe*(5*Ye),Ee+=ze>>>13,ze&=8191,Be=Ee,Be+=Ae*Ye,Be+=Re*Xe,Be+=_e*(5*at),Be+=Q*(5*st),Be+=Z*(5*et),Ee=Be>>>13,Be&=8191,Be+=le*(5*ot),Be+=oe*(5*nt),Be+=ue*(5*Je),Be+=ye*(5*j),Be+=Pe*(5*Qe),Ee+=Be>>>13,Be&=8191,Ge=Ee,Ge+=Ae*Qe,Ge+=Re*Ye,Ge+=_e*Xe,Ge+=Q*(5*at),Ge+=Z*(5*st),Ee=Ge>>>13,Ge&=8191,Ge+=le*(5*et),Ge+=oe*(5*ot),Ge+=ue*(5*nt),Ge+=ye*(5*Je),Ge+=Pe*(5*j),Ee+=Ge>>>13,Ge&=8191,Ve=Ee,Ve+=Ae*j,Ve+=Re*Qe,Ve+=_e*Ye,Ve+=Q*Xe,Ve+=Z*(5*at),Ee=Ve>>>13,Ve&=8191,Ve+=le*(5*st),Ve+=oe*(5*et),Ve+=ue*(5*ot),Ve+=ye*(5*nt),Ve+=Pe*(5*Je),Ee+=Ve>>>13,Ve&=8191,$e=Ee,$e+=Ae*Je,$e+=Re*j,$e+=_e*Qe,$e+=Q*Ye,$e+=Z*Xe,Ee=$e>>>13,$e&=8191,$e+=le*(5*at),$e+=oe*(5*st),$e+=ue*(5*et),$e+=ye*(5*ot),$e+=Pe*(5*nt),Ee+=$e>>>13,$e&=8191,We=Ee,We+=Ae*nt,We+=Re*Je,We+=_e*j,We+=Q*Qe,We+=Z*Ye,Ee=We>>>13,We&=8191,We+=le*Xe,We+=oe*(5*at),We+=ue*(5*st),We+=ye*(5*et),We+=Pe*(5*ot),Ee+=We>>>13,We&=8191,Ue=Ee,Ue+=Ae*ot,Ue+=Re*nt,Ue+=_e*Je,Ue+=Q*j,Ue+=Z*Qe,Ee=Ue>>>13,Ue&=8191,Ue+=le*Ye,Ue+=oe*Xe,Ue+=ue*(5*at),Ue+=ye*(5*st),Ue+=Pe*(5*et),Ee+=Ue>>>13,Ue&=8191,Oe=Ee,Oe+=Ae*et,Oe+=Re*ot,Oe+=_e*nt,Oe+=Q*Je,Oe+=Z*j,Ee=Oe>>>13,Oe&=8191,Oe+=le*Qe,Oe+=oe*Ye,Oe+=ue*Xe,Oe+=ye*(5*at),Oe+=Pe*(5*st),Ee+=Oe>>>13,Oe&=8191,Te=Ee,Te+=Ae*st,Te+=Re*et,Te+=_e*ot,Te+=Q*nt,Te+=Z*Je,Ee=Te>>>13,Te&=8191,Te+=le*j,Te+=oe*Qe,Te+=ue*Ye,Te+=ye*Xe,Te+=Pe*(5*at),Ee+=Te>>>13,Te&=8191,be=Ee,be+=Ae*at,be+=Re*st,be+=_e*et,be+=Q*ot,be+=Z*nt,Ee=be>>>13,be&=8191,be+=le*Je,be+=oe*j,be+=ue*Qe,be+=ye*Ye,be+=Pe*Xe,Ee+=be>>>13,be&=8191,Ee=(Ee<<2)+Ee|0,Ee=Ee+ze|0,ze=Ee&8191,Ee=Ee>>>13,Be+=Ee,Ae=ze,Re=Be,_e=Ge,Q=Ve,Z=$e,le=We,oe=Ue,ue=Oe,ye=Te,Pe=be,A+=16,E-=16;this.h[0]=Ae,this.h[1]=Re,this.h[2]=_e,this.h[3]=Q,this.h[4]=Z,this.h[5]=le,this.h[6]=oe,this.h[7]=ue,this.h[8]=ye,this.h[9]=Pe},vt.prototype.finish=function(g,A){var E=new Uint16Array(10),c,k,q,Y;if(this.leftover){for(Y=this.leftover,this.buffer[Y++]=1;Y<16;Y++)this.buffer[Y]=0;this.fin=1,this.blocks(this.buffer,0,16)}for(c=this.h[1]>>>13,this.h[1]&=8191,Y=2;Y<10;Y++)this.h[Y]+=c,c=this.h[Y]>>>13,this.h[Y]&=8191;for(this.h[0]+=c*5,c=this.h[0]>>>13,this.h[0]&=8191,this.h[1]+=c,c=this.h[1]>>>13,this.h[1]&=8191,this.h[2]+=c,E[0]=this.h[0]+5,c=E[0]>>>13,E[0]&=8191,Y=1;Y<10;Y++)E[Y]=this.h[Y]+c,c=E[Y]>>>13,E[Y]&=8191;for(E[9]-=1<<13,k=(c^1)-1,Y=0;Y<10;Y++)E[Y]&=k;for(k=~k,Y=0;Y<10;Y++)this.h[Y]=this.h[Y]&k|E[Y];for(this.h[0]=(this.h[0]|this.h[1]<<13)&65535,this.h[1]=(this.h[1]>>>3|this.h[2]<<10)&65535,this.h[2]=(this.h[2]>>>6|this.h[3]<<7)&65535,this.h[3]=(this.h[3]>>>9|this.h[4]<<4)&65535,this.h[4]=(this.h[4]>>>12|this.h[5]<<1|this.h[6]<<14)&65535,this.h[5]=(this.h[6]>>>2|this.h[7]<<11)&65535,this.h[6]=(this.h[7]>>>5|this.h[8]<<8)&65535,this.h[7]=(this.h[8]>>>8|this.h[9]<<5)&65535,q=this.h[0]+this.pad[0],this.h[0]=q&65535,Y=1;Y<8;Y++)q=(this.h[Y]+this.pad[Y]|0)+(q>>>16)|0,this.h[Y]=q&65535;g[A+0]=this.h[0]>>>0&255,g[A+1]=this.h[0]>>>8&255,g[A+2]=this.h[1]>>>0&255,g[A+3]=this.h[1]>>>8&255,g[A+4]=this.h[2]>>>0&255,g[A+5]=this.h[2]>>>8&255,g[A+6]=this.h[3]>>>0&255,g[A+7]=this.h[3]>>>8&255,g[A+8]=this.h[4]>>>0&255,g[A+9]=this.h[4]>>>8&255,g[A+10]=this.h[5]>>>0&255,g[A+11]=this.h[5]>>>8&255,g[A+12]=this.h[6]>>>0&255,g[A+13]=this.h[6]>>>8&255,g[A+14]=this.h[7]>>>0&255,g[A+15]=this.h[7]>>>8&255},vt.prototype.update=function(g,A,E){var c,k;if(this.leftover){for(k=16-this.leftover,k>E&&(k=E),c=0;c<k;c++)this.buffer[this.leftover+c]=g[A+c];if(E-=k,A+=k,this.leftover+=k,this.leftover<16)return;this.blocks(this.buffer,0,16),this.leftover=0}if(E>=16&&(k=E-E%16,this.blocks(g,A,k),A+=k,E-=k),E){for(c=0;c<E;c++)this.buffer[this.leftover+c]=g[A+c];this.leftover+=E}};function jt(g,A,E,c,k,q){var Y=new vt(q);return Y.update(E,c,k),Y.finish(g,A),0}function Lt(g,A,E,c,k,q){var Y=new Uint8Array(16);return jt(Y,0,E,c,k,q),he(g,A,Y,0)}function kt(g,A,E,c,k){var q;if(E<32)return-1;for(ft(g,0,A,0,E,c,k),jt(g,16,g,32,E-32,g),q=0;q<16;q++)g[q]=0;return 0}function Ft(g,A,E,c,k){var q,Y=new Uint8Array(32);if(E<32||(ve(Y,0,32,c,k),Lt(A,16,A,32,E-32,Y)!==0))return-1;for(ft(g,0,A,0,E,c,k),q=0;q<32;q++)g[q]=0;return 0}function Bt(g,A){var E;for(E=0;E<16;E++)g[E]=A[E]|0}function Vt(g){var A,E,c=1;for(A=0;A<16;A++)E=g[A]+c+65535,c=Math.floor(E/65536),g[A]=E-c*65536;g[0]+=c-1+37*(c-1)}function yn(g,A,E){for(var c,k=~(E-1),q=0;q<16;q++)c=k&(g[q]^A[q]),g[q]^=c,A[q]^=c}function tn(g,A){var E,c,k,q=f(),Y=f();for(E=0;E<16;E++)Y[E]=A[E];for(Vt(Y),Vt(Y),Vt(Y),c=0;c<2;c++){for(q[0]=Y[0]-65517,E=1;E<15;E++)q[E]=Y[E]-65535-(q[E-1]>>16&1),q[E-1]&=65535;q[15]=Y[15]-32767-(q[14]>>16&1),k=q[15]>>16&1,q[14]&=65535,yn(Y,q,1-k)}for(E=0;E<16;E++)g[2*E]=Y[E]&255,g[2*E+1]=Y[E]>>8}function wn(g,A){var E=new Uint8Array(32),c=new Uint8Array(32);return tn(E,g),tn(c,A),me(E,0,c,0)}function St(g){var A=new Uint8Array(32);return tn(A,g),A[0]&1}function It(g,A){var E;for(E=0;E<16;E++)g[E]=A[2*E]+(A[2*E+1]<<8);g[15]&=32767}function Mt(g,A,E){for(var c=0;c<16;c++)g[c]=A[c]+E[c]}function Nt(g,A,E){for(var c=0;c<16;c++)g[c]=A[c]-E[c]}function qe(g,A,E){var c,k,q=0,Y=0,ae=0,ge=0,Ce=0,we=0,ut=0,Ee=0,ze=0,Be=0,Ge=0,Ve=0,$e=0,We=0,Ue=0,Oe=0,Te=0,be=0,Ae=0,Re=0,_e=0,Q=0,Z=0,le=0,oe=0,ue=0,ye=0,Pe=0,Xe=0,Ye=0,Qe=0,j=E[0],Je=E[1],nt=E[2],ot=E[3],et=E[4],st=E[5],at=E[6],bt=E[7],dt=E[8],Tt=E[9],Ct=E[10],Et=E[11],Dt=E[12],Kt=E[13],Ut=E[14],Gt=E[15];c=A[0],q+=c*j,Y+=c*Je,ae+=c*nt,ge+=c*ot,Ce+=c*et,we+=c*st,ut+=c*at,Ee+=c*bt,ze+=c*dt,Be+=c*Tt,Ge+=c*Ct,Ve+=c*Et,$e+=c*Dt,We+=c*Kt,Ue+=c*Ut,Oe+=c*Gt,c=A[1],Y+=c*j,ae+=c*Je,ge+=c*nt,Ce+=c*ot,we+=c*et,ut+=c*st,Ee+=c*at,ze+=c*bt,Be+=c*dt,Ge+=c*Tt,Ve+=c*Ct,$e+=c*Et,We+=c*Dt,Ue+=c*Kt,Oe+=c*Ut,Te+=c*Gt,c=A[2],ae+=c*j,ge+=c*Je,Ce+=c*nt,we+=c*ot,ut+=c*et,Ee+=c*st,ze+=c*at,Be+=c*bt,Ge+=c*dt,Ve+=c*Tt,$e+=c*Ct,We+=c*Et,Ue+=c*Dt,Oe+=c*Kt,Te+=c*Ut,be+=c*Gt,c=A[3],ge+=c*j,Ce+=c*Je,we+=c*nt,ut+=c*ot,Ee+=c*et,ze+=c*st,Be+=c*at,Ge+=c*bt,Ve+=c*dt,$e+=c*Tt,We+=c*Ct,Ue+=c*Et,Oe+=c*Dt,Te+=c*Kt,be+=c*Ut,Ae+=c*Gt,c=A[4],Ce+=c*j,we+=c*Je,ut+=c*nt,Ee+=c*ot,ze+=c*et,Be+=c*st,Ge+=c*at,Ve+=c*bt,$e+=c*dt,We+=c*Tt,Ue+=c*Ct,Oe+=c*Et,Te+=c*Dt,be+=c*Kt,Ae+=c*Ut,Re+=c*Gt,c=A[5],we+=c*j,ut+=c*Je,Ee+=c*nt,ze+=c*ot,Be+=c*et,Ge+=c*st,Ve+=c*at,$e+=c*bt,We+=c*dt,Ue+=c*Tt,Oe+=c*Ct,Te+=c*Et,be+=c*Dt,Ae+=c*Kt,Re+=c*Ut,_e+=c*Gt,c=A[6],ut+=c*j,Ee+=c*Je,ze+=c*nt,Be+=c*ot,Ge+=c*et,Ve+=c*st,$e+=c*at,We+=c*bt,Ue+=c*dt,Oe+=c*Tt,Te+=c*Ct,be+=c*Et,Ae+=c*Dt,Re+=c*Kt,_e+=c*Ut,Q+=c*Gt,c=A[7],Ee+=c*j,ze+=c*Je,Be+=c*nt,Ge+=c*ot,Ve+=c*et,$e+=c*st,We+=c*at,Ue+=c*bt,Oe+=c*dt,Te+=c*Tt,be+=c*Ct,Ae+=c*Et,Re+=c*Dt,_e+=c*Kt,Q+=c*Ut,Z+=c*Gt,c=A[8],ze+=c*j,Be+=c*Je,Ge+=c*nt,Ve+=c*ot,$e+=c*et,We+=c*st,Ue+=c*at,Oe+=c*bt,Te+=c*dt,be+=c*Tt,Ae+=c*Ct,Re+=c*Et,_e+=c*Dt,Q+=c*Kt,Z+=c*Ut,le+=c*Gt,c=A[9],Be+=c*j,Ge+=c*Je,Ve+=c*nt,$e+=c*ot,We+=c*et,Ue+=c*st,Oe+=c*at,Te+=c*bt,be+=c*dt,Ae+=c*Tt,Re+=c*Ct,_e+=c*Et,Q+=c*Dt,Z+=c*Kt,le+=c*Ut,oe+=c*Gt,c=A[10],Ge+=c*j,Ve+=c*Je,$e+=c*nt,We+=c*ot,Ue+=c*et,Oe+=c*st,Te+=c*at,be+=c*bt,Ae+=c*dt,Re+=c*Tt,_e+=c*Ct,Q+=c*Et,Z+=c*Dt,le+=c*Kt,oe+=c*Ut,ue+=c*Gt,c=A[11],Ve+=c*j,$e+=c*Je,We+=c*nt,Ue+=c*ot,Oe+=c*et,Te+=c*st,be+=c*at,Ae+=c*bt,Re+=c*dt,_e+=c*Tt,Q+=c*Ct,Z+=c*Et,le+=c*Dt,oe+=c*Kt,ue+=c*Ut,ye+=c*Gt,c=A[12],$e+=c*j,We+=c*Je,Ue+=c*nt,Oe+=c*ot,Te+=c*et,be+=c*st,Ae+=c*at,Re+=c*bt,_e+=c*dt,Q+=c*Tt,Z+=c*Ct,le+=c*Et,oe+=c*Dt,ue+=c*Kt,ye+=c*Ut,Pe+=c*Gt,c=A[13],We+=c*j,Ue+=c*Je,Oe+=c*nt,Te+=c*ot,be+=c*et,Ae+=c*st,Re+=c*at,_e+=c*bt,Q+=c*dt,Z+=c*Tt,le+=c*Ct,oe+=c*Et,ue+=c*Dt,ye+=c*Kt,Pe+=c*Ut,Xe+=c*Gt,c=A[14],Ue+=c*j,Oe+=c*Je,Te+=c*nt,be+=c*ot,Ae+=c*et,Re+=c*st,_e+=c*at,Q+=c*bt,Z+=c*dt,le+=c*Tt,oe+=c*Ct,ue+=c*Et,ye+=c*Dt,Pe+=c*Kt,Xe+=c*Ut,Ye+=c*Gt,c=A[15],Oe+=c*j,Te+=c*Je,be+=c*nt,Ae+=c*ot,Re+=c*et,_e+=c*st,Q+=c*at,Z+=c*bt,le+=c*dt,oe+=c*Tt,ue+=c*Ct,ye+=c*Et,Pe+=c*Dt,Xe+=c*Kt,Ye+=c*Ut,Qe+=c*Gt,q+=38*Te,Y+=38*be,ae+=38*Ae,ge+=38*Re,Ce+=38*_e,we+=38*Q,ut+=38*Z,Ee+=38*le,ze+=38*oe,Be+=38*ue,Ge+=38*ye,Ve+=38*Pe,$e+=38*Xe,We+=38*Ye,Ue+=38*Qe,k=1,c=q+k+65535,k=Math.floor(c/65536),q=c-k*65536,c=Y+k+65535,k=Math.floor(c/65536),Y=c-k*65536,c=ae+k+65535,k=Math.floor(c/65536),ae=c-k*65536,c=ge+k+65535,k=Math.floor(c/65536),ge=c-k*65536,c=Ce+k+65535,k=Math.floor(c/65536),Ce=c-k*65536,c=we+k+65535,k=Math.floor(c/65536),we=c-k*65536,c=ut+k+65535,k=Math.floor(c/65536),ut=c-k*65536,c=Ee+k+65535,k=Math.floor(c/65536),Ee=c-k*65536,c=ze+k+65535,k=Math.floor(c/65536),ze=c-k*65536,c=Be+k+65535,k=Math.floor(c/65536),Be=c-k*65536,c=Ge+k+65535,k=Math.floor(c/65536),Ge=c-k*65536,c=Ve+k+65535,k=Math.floor(c/65536),Ve=c-k*65536,c=$e+k+65535,k=Math.floor(c/65536),$e=c-k*65536,c=We+k+65535,k=Math.floor(c/65536),We=c-k*65536,c=Ue+k+65535,k=Math.floor(c/65536),Ue=c-k*65536,c=Oe+k+65535,k=Math.floor(c/65536),Oe=c-k*65536,q+=k-1+37*(k-1),k=1,c=q+k+65535,k=Math.floor(c/65536),q=c-k*65536,c=Y+k+65535,k=Math.floor(c/65536),Y=c-k*65536,c=ae+k+65535,k=Math.floor(c/65536),ae=c-k*65536,c=ge+k+65535,k=Math.floor(c/65536),ge=c-k*65536,c=Ce+k+65535,k=Math.floor(c/65536),Ce=c-k*65536,c=we+k+65535,k=Math.floor(c/65536),we=c-k*65536,c=ut+k+65535,k=Math.floor(c/65536),ut=c-k*65536,c=Ee+k+65535,k=Math.floor(c/65536),Ee=c-k*65536,c=ze+k+65535,k=Math.floor(c/65536),ze=c-k*65536,c=Be+k+65535,k=Math.floor(c/65536),Be=c-k*65536,c=Ge+k+65535,k=Math.floor(c/65536),Ge=c-k*65536,c=Ve+k+65535,k=Math.floor(c/65536),Ve=c-k*65536,c=$e+k+65535,k=Math.floor(c/65536),$e=c-k*65536,c=We+k+65535,k=Math.floor(c/65536),We=c-k*65536,c=Ue+k+65535,k=Math.floor(c/65536),Ue=c-k*65536,c=Oe+k+65535,k=Math.floor(c/65536),Oe=c-k*65536,q+=k-1+37*(k-1),g[0]=q,g[1]=Y,g[2]=ae,g[3]=ge,g[4]=Ce,g[5]=we,g[6]=ut,g[7]=Ee,g[8]=ze,g[9]=Be,g[10]=Ge,g[11]=Ve,g[12]=$e,g[13]=We,g[14]=Ue,g[15]=Oe}function Xt(g,A){qe(g,A,A)}function Pn(g,A){var E=f(),c;for(c=0;c<16;c++)E[c]=A[c];for(c=253;c>=0;c--)Xt(E,E),c!==2&&c!==4&&qe(E,E,A);for(c=0;c<16;c++)g[c]=E[c]}function Qn(g,A){var E=f(),c;for(c=0;c<16;c++)E[c]=A[c];for(c=250;c>=0;c--)Xt(E,E),c!==1&&qe(E,E,A);for(c=0;c<16;c++)g[c]=E[c]}function Rt(g,A,E){var c=new Uint8Array(32),k=new Float64Array(80),q,Y,ae=f(),ge=f(),Ce=f(),we=f(),ut=f(),Ee=f();for(Y=0;Y<31;Y++)c[Y]=A[Y];for(c[31]=A[31]&127|64,c[0]&=248,It(k,E),Y=0;Y<16;Y++)ge[Y]=k[Y],we[Y]=ae[Y]=Ce[Y]=0;for(ae[0]=we[0]=1,Y=254;Y>=0;--Y)q=c[Y>>>3]>>>(Y&7)&1,yn(ae,ge,q),yn(Ce,we,q),Mt(ut,ae,Ce),Nt(ae,ae,Ce),Mt(Ce,ge,we),Nt(ge,ge,we),Xt(we,ut),Xt(Ee,ae),qe(ae,Ce,ae),qe(Ce,ge,ut),Mt(ut,ae,Ce),Nt(ae,ae,Ce),Xt(ge,ae),Nt(Ce,we,Ee),qe(ae,Ce,O),Mt(ae,ae,we),qe(Ce,Ce,ae),qe(ae,we,Ee),qe(we,ge,k),Xt(ge,ut),yn(ae,ge,q),yn(Ce,we,q);for(Y=0;Y<16;Y++)k[Y+16]=ae[Y],k[Y+32]=Ce[Y],k[Y+48]=ge[Y],k[Y+64]=we[Y];var ze=k.subarray(32),Be=k.subarray(16);return Pn(ze,ze),qe(Be,Be,ze),tn(g,Be),0}function sn(g,A){return Rt(g,A,v)}function gn(g,A){return d(A,32),sn(g,A)}function ke(g,A,E){var c=new Uint8Array(32);return Rt(c,E,A),J(g,b,c,X)}var De=kt,Cn=Ft;function Un(g,A,E,c,k,q){var Y=new Uint8Array(32);return ke(Y,k,q),De(g,A,E,c,Y)}function An(g,A,E,c,k,q){var Y=new Uint8Array(32);return ke(Y,k,q),Cn(g,A,E,c,Y)}var Zn=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591];function L(g,A,E,c){for(var k=new Int32Array(16),q=new Int32Array(16),Y,ae,ge,Ce,we,ut,Ee,ze,Be,Ge,Ve,$e,We,Ue,Oe,Te,be,Ae,Re,_e,Q,Z,le,oe,ue,ye,Pe=g[0],Xe=g[1],Ye=g[2],Qe=g[3],j=g[4],Je=g[5],nt=g[6],ot=g[7],et=A[0],st=A[1],at=A[2],bt=A[3],dt=A[4],Tt=A[5],Ct=A[6],Et=A[7],Dt=0;c>=128;){for(Re=0;Re<16;Re++)_e=8*Re+Dt,k[Re]=E[_e+0]<<24|E[_e+1]<<16|E[_e+2]<<8|E[_e+3],q[Re]=E[_e+4]<<24|E[_e+5]<<16|E[_e+6]<<8|E[_e+7];for(Re=0;Re<80;Re++)if(Y=Pe,ae=Xe,ge=Ye,Ce=Qe,we=j,ut=Je,Ee=nt,ze=ot,Be=et,Ge=st,Ve=at,$e=bt,We=dt,Ue=Tt,Oe=Ct,Te=Et,Q=ot,Z=Et,le=Z&65535,oe=Z>>>16,ue=Q&65535,ye=Q>>>16,Q=(j>>>14|dt<<32-14)^(j>>>18|dt<<32-18)^(dt>>>41-32|j<<32-(41-32)),Z=(dt>>>14|j<<32-14)^(dt>>>18|j<<32-18)^(j>>>41-32|dt<<32-(41-32)),le+=Z&65535,oe+=Z>>>16,ue+=Q&65535,ye+=Q>>>16,Q=j&Je^~j&nt,Z=dt&Tt^~dt&Ct,le+=Z&65535,oe+=Z>>>16,ue+=Q&65535,ye+=Q>>>16,Q=Zn[Re*2],Z=Zn[Re*2+1],le+=Z&65535,oe+=Z>>>16,ue+=Q&65535,ye+=Q>>>16,Q=k[Re%16],Z=q[Re%16],le+=Z&65535,oe+=Z>>>16,ue+=Q&65535,ye+=Q>>>16,oe+=le>>>16,ue+=oe>>>16,ye+=ue>>>16,be=ue&65535|ye<<16,Ae=le&65535|oe<<16,Q=be,Z=Ae,le=Z&65535,oe=Z>>>16,ue=Q&65535,ye=Q>>>16,Q=(Pe>>>28|et<<32-28)^(et>>>34-32|Pe<<32-(34-32))^(et>>>39-32|Pe<<32-(39-32)),Z=(et>>>28|Pe<<32-28)^(Pe>>>34-32|et<<32-(34-32))^(Pe>>>39-32|et<<32-(39-32)),le+=Z&65535,oe+=Z>>>16,ue+=Q&65535,ye+=Q>>>16,Q=Pe&Xe^Pe&Ye^Xe&Ye,Z=et&st^et&at^st&at,le+=Z&65535,oe+=Z>>>16,ue+=Q&65535,ye+=Q>>>16,oe+=le>>>16,ue+=oe>>>16,ye+=ue>>>16,ze=ue&65535|ye<<16,Te=le&65535|oe<<16,Q=Ce,Z=$e,le=Z&65535,oe=Z>>>16,ue=Q&65535,ye=Q>>>16,Q=be,Z=Ae,le+=Z&65535,oe+=Z>>>16,ue+=Q&65535,ye+=Q>>>16,oe+=le>>>16,ue+=oe>>>16,ye+=ue>>>16,Ce=ue&65535|ye<<16,$e=le&65535|oe<<16,Xe=Y,Ye=ae,Qe=ge,j=Ce,Je=we,nt=ut,ot=Ee,Pe=ze,st=Be,at=Ge,bt=Ve,dt=$e,Tt=We,Ct=Ue,Et=Oe,et=Te,Re%16===15)for(_e=0;_e<16;_e++)Q=k[_e],Z=q[_e],le=Z&65535,oe=Z>>>16,ue=Q&65535,ye=Q>>>16,Q=k[(_e+9)%16],Z=q[(_e+9)%16],le+=Z&65535,oe+=Z>>>16,ue+=Q&65535,ye+=Q>>>16,be=k[(_e+1)%16],Ae=q[(_e+1)%16],Q=(be>>>1|Ae<<32-1)^(be>>>8|Ae<<32-8)^be>>>7,Z=(Ae>>>1|be<<32-1)^(Ae>>>8|be<<32-8)^(Ae>>>7|be<<32-7),le+=Z&65535,oe+=Z>>>16,ue+=Q&65535,ye+=Q>>>16,be=k[(_e+14)%16],Ae=q[(_e+14)%16],Q=(be>>>19|Ae<<32-19)^(Ae>>>61-32|be<<32-(61-32))^be>>>6,Z=(Ae>>>19|be<<32-19)^(be>>>61-32|Ae<<32-(61-32))^(Ae>>>6|be<<32-6),le+=Z&65535,oe+=Z>>>16,ue+=Q&65535,ye+=Q>>>16,oe+=le>>>16,ue+=oe>>>16,ye+=ue>>>16,k[_e]=ue&65535|ye<<16,q[_e]=le&65535|oe<<16;Q=Pe,Z=et,le=Z&65535,oe=Z>>>16,ue=Q&65535,ye=Q>>>16,Q=g[0],Z=A[0],le+=Z&65535,oe+=Z>>>16,ue+=Q&65535,ye+=Q>>>16,oe+=le>>>16,ue+=oe>>>16,ye+=ue>>>16,g[0]=Pe=ue&65535|ye<<16,A[0]=et=le&65535|oe<<16,Q=Xe,Z=st,le=Z&65535,oe=Z>>>16,ue=Q&65535,ye=Q>>>16,Q=g[1],Z=A[1],le+=Z&65535,oe+=Z>>>16,ue+=Q&65535,ye+=Q>>>16,oe+=le>>>16,ue+=oe>>>16,ye+=ue>>>16,g[1]=Xe=ue&65535|ye<<16,A[1]=st=le&65535|oe<<16,Q=Ye,Z=at,le=Z&65535,oe=Z>>>16,ue=Q&65535,ye=Q>>>16,Q=g[2],Z=A[2],le+=Z&65535,oe+=Z>>>16,ue+=Q&65535,ye+=Q>>>16,oe+=le>>>16,ue+=oe>>>16,ye+=ue>>>16,g[2]=Ye=ue&65535|ye<<16,A[2]=at=le&65535|oe<<16,Q=Qe,Z=bt,le=Z&65535,oe=Z>>>16,ue=Q&65535,ye=Q>>>16,Q=g[3],Z=A[3],le+=Z&65535,oe+=Z>>>16,ue+=Q&65535,ye+=Q>>>16,oe+=le>>>16,ue+=oe>>>16,ye+=ue>>>16,g[3]=Qe=ue&65535|ye<<16,A[3]=bt=le&65535|oe<<16,Q=j,Z=dt,le=Z&65535,oe=Z>>>16,ue=Q&65535,ye=Q>>>16,Q=g[4],Z=A[4],le+=Z&65535,oe+=Z>>>16,ue+=Q&65535,ye+=Q>>>16,oe+=le>>>16,ue+=oe>>>16,ye+=ue>>>16,g[4]=j=ue&65535|ye<<16,A[4]=dt=le&65535|oe<<16,Q=Je,Z=Tt,le=Z&65535,oe=Z>>>16,ue=Q&65535,ye=Q>>>16,Q=g[5],Z=A[5],le+=Z&65535,oe+=Z>>>16,ue+=Q&65535,ye+=Q>>>16,oe+=le>>>16,ue+=oe>>>16,ye+=ue>>>16,g[5]=Je=ue&65535|ye<<16,A[5]=Tt=le&65535|oe<<16,Q=nt,Z=Ct,le=Z&65535,oe=Z>>>16,ue=Q&65535,ye=Q>>>16,Q=g[6],Z=A[6],le+=Z&65535,oe+=Z>>>16,ue+=Q&65535,ye+=Q>>>16,oe+=le>>>16,ue+=oe>>>16,ye+=ue>>>16,g[6]=nt=ue&65535|ye<<16,A[6]=Ct=le&65535|oe<<16,Q=ot,Z=Et,le=Z&65535,oe=Z>>>16,ue=Q&65535,ye=Q>>>16,Q=g[7],Z=A[7],le+=Z&65535,oe+=Z>>>16,ue+=Q&65535,ye+=Q>>>16,oe+=le>>>16,ue+=oe>>>16,ye+=ue>>>16,g[7]=ot=ue&65535|ye<<16,A[7]=Et=le&65535|oe<<16,Dt+=128,c-=128}return c}function p(g,A,E){var c=new Int32Array(8),k=new Int32Array(8),q=new Uint8Array(256),Y,ae=E;for(c[0]=1779033703,c[1]=3144134277,c[2]=1013904242,c[3]=2773480762,c[4]=1359893119,c[5]=2600822924,c[6]=528734635,c[7]=1541459225,k[0]=4089235720,k[1]=2227873595,k[2]=4271175723,k[3]=1595750129,k[4]=2917565137,k[5]=725511199,k[6]=4215389547,k[7]=327033209,L(c,k,A,E),E%=128,Y=0;Y<E;Y++)q[Y]=A[ae-E+Y];for(q[E]=128,E=256-128*(E<112?1:0),q[E-9]=0,H(q,E-8,ae/536870912|0,ae<<3),L(c,k,q,E),Y=0;Y<8;Y++)H(g,8*Y,c[Y],k[Y]);return 0}function y(g,A){var E=f(),c=f(),k=f(),q=f(),Y=f(),ae=f(),ge=f(),Ce=f(),we=f();Nt(E,g[1],g[0]),Nt(we,A[1],A[0]),qe(E,E,we),Mt(c,g[0],g[1]),Mt(we,A[0],A[1]),qe(c,c,we),qe(k,g[3],A[3]),qe(k,k,S),qe(q,g[2],A[2]),Mt(q,q,q),Nt(Y,c,E),Nt(ae,q,k),Mt(ge,q,k),Mt(Ce,c,E),qe(g[0],Y,ae),qe(g[1],Ce,ge),qe(g[2],ge,ae),qe(g[3],Y,Ce)}function M(g,A,E){var c;for(c=0;c<4;c++)yn(g[c],A[c],E)}function $(g,A){var E=f(),c=f(),k=f();Pn(k,A[2]),qe(E,A[0],k),qe(c,A[1],k),tn(g,c),g[31]^=St(E)<<7}function fe(g,A,E){var c,k;for(Bt(g[0],_),Bt(g[1],x),Bt(g[2],x),Bt(g[3],_),k=255;k>=0;--k)c=E[k/8|0]>>(k&7)&1,M(g,A,c),y(A,g),y(g,g),M(g,A,c)}function ce(g,A){var E=[f(),f(),f(),f()];Bt(E[0],P),Bt(E[1],I),Bt(E[2],x),qe(E[3],P,I),fe(g,E,A)}function rt(g,A,E){var c=new Uint8Array(64),k=[f(),f(),f(),f()],q;for(E||d(A,32),p(c,A,32),c[0]&=248,c[31]&=127,c[31]|=64,ce(k,c),$(g,k),q=0;q<32;q++)A[q+32]=g[q];return 0}var ct=new Float64Array([237,211,245,92,26,99,18,88,214,156,247,162,222,249,222,20,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,16]);function gt(g,A){var E,c,k,q;for(c=63;c>=32;--c){for(E=0,k=c-32,q=c-12;k<q;++k)A[k]+=E-16*A[c]*ct[k-(c-32)],E=A[k]+128>>8,A[k]-=E*256;A[k]+=E,A[c]=0}for(E=0,k=0;k<32;k++)A[k]+=E-(A[31]>>4)*ct[k],E=A[k]>>8,A[k]&=255;for(k=0;k<32;k++)A[k]-=E*ct[k];for(c=0;c<32;c++)A[c+1]+=A[c]>>8,g[c]=A[c]&255}function mt(g){var A=new Float64Array(64),E;for(E=0;E<64;E++)A[E]=g[E];for(E=0;E<64;E++)g[E]=0;gt(g,A)}function pt(g,A,E,c){var k=new Uint8Array(64),q=new Uint8Array(64),Y=new Uint8Array(64),ae,ge,Ce=new Float64Array(64),we=[f(),f(),f(),f()];p(k,c,32),k[0]&=248,k[31]&=127,k[31]|=64;var ut=E+64;for(ae=0;ae<E;ae++)g[64+ae]=A[ae];for(ae=0;ae<32;ae++)g[32+ae]=k[32+ae];for(p(Y,g.subarray(32),E+32),mt(Y),ce(we,Y),$(g,we),ae=32;ae<64;ae++)g[ae]=c[ae];for(p(q,g,E+64),mt(q),ae=0;ae<64;ae++)Ce[ae]=0;for(ae=0;ae<32;ae++)Ce[ae]=Y[ae];for(ae=0;ae<32;ae++)for(ge=0;ge<32;ge++)Ce[ae+ge]+=q[ae]*k[ge];return gt(g.subarray(32),Ce),ut}function kn(g,A){var E=f(),c=f(),k=f(),q=f(),Y=f(),ae=f(),ge=f();return Bt(g[2],x),It(g[1],A),Xt(k,g[1]),qe(q,k,C),Nt(k,k,g[2]),Mt(q,g[2],q),Xt(Y,q),Xt(ae,Y),qe(ge,ae,Y),qe(E,ge,k),qe(E,E,q),Qn(E,E),qe(E,E,k),qe(E,E,q),qe(E,E,q),qe(g[0],E,q),Xt(c,g[0]),qe(c,c,q),wn(c,k)&&qe(g[0],g[0],N),Xt(c,g[0]),qe(c,c,q),wn(c,k)?-1:(St(g[0])===A[31]>>7&&Nt(g[0],_,g[0]),qe(g[3],g[0],g[1]),0)}function Nn(g,A,E,c){var k,q,Y=new Uint8Array(32),ae=new Uint8Array(64),ge=[f(),f(),f(),f()],Ce=[f(),f(),f(),f()];if(q=-1,E<64||kn(Ce,c))return-1;for(k=0;k<E;k++)g[k]=A[k];for(k=0;k<32;k++)g[k+32]=c[k];if(p(ae,g,E),mt(ae),fe(ge,Ce,ae),ce(Ce,A.subarray(32)),y(ge,Ce),$(Y,ge),E-=64,me(A,0,Y,0)){for(k=0;k<E;k++)g[k]=0;return-1}for(k=0;k<E;k++)g[k]=A[k+64];return q=E,q}var zt=32,$t=24,Ln=32,Hn=16,qn=32,er=32,vn=32,xn=32,_r=32,Jr=$t,Sr=Ln,lr=Hn,_n=64,In=32,zn=64,hr=32,Tr=64;a.lowlevel={crypto_core_hsalsa20:J,crypto_stream_xor:ft,crypto_stream:ve,crypto_stream_salsa20_xor:G,crypto_stream_salsa20:re,crypto_onetimeauth:jt,crypto_onetimeauth_verify:Lt,crypto_verify_16:he,crypto_verify_32:me,crypto_secretbox:kt,crypto_secretbox_open:Ft,crypto_scalarmult:Rt,crypto_scalarmult_base:sn,crypto_box_beforenm:ke,crypto_box_afternm:De,crypto_box:Un,crypto_box_open:An,crypto_box_keypair:gn,crypto_hash:p,crypto_sign:pt,crypto_sign_keypair:rt,crypto_sign_open:Nn,crypto_secretbox_KEYBYTES:zt,crypto_secretbox_NONCEBYTES:$t,crypto_secretbox_ZEROBYTES:Ln,crypto_secretbox_BOXZEROBYTES:Hn,crypto_scalarmult_BYTES:qn,crypto_scalarmult_SCALARBYTES:er,crypto_box_PUBLICKEYBYTES:vn,crypto_box_SECRETKEYBYTES:xn,crypto_box_BEFORENMBYTES:_r,crypto_box_NONCEBYTES:Jr,crypto_box_ZEROBYTES:Sr,crypto_box_BOXZEROBYTES:lr,crypto_sign_BYTES:_n,crypto_sign_PUBLICKEYBYTES:In,crypto_sign_SECRETKEYBYTES:zn,crypto_sign_SEEDBYTES:hr,crypto_hash_BYTES:Tr};function Vr(g,A){if(g.length!==zt)throw new Error("bad key size");if(A.length!==$t)throw new Error("bad nonce size")}function Xr(g,A){if(g.length!==vn)throw new Error("bad public key size");if(A.length!==xn)throw new Error("bad secret key size")}function rn(){for(var g=0;g<arguments.length;g++)if(!(arguments[g]instanceof Uint8Array))throw new TypeError("unexpected type, use Uint8Array")}function Mn(g){for(var A=0;A<g.length;A++)g[A]=0}a.randomBytes=function(g){var A=new Uint8Array(g);return d(A,g),A},a.secretbox=function(g,A,E){rn(g,A,E),Vr(E,A);for(var c=new Uint8Array(Ln+g.length),k=new Uint8Array(c.length),q=0;q<g.length;q++)c[q+Ln]=g[q];return kt(k,c,c.length,A,E),k.subarray(Hn)},a.secretbox.open=function(g,A,E){rn(g,A,E),Vr(E,A);for(var c=new Uint8Array(Hn+g.length),k=new Uint8Array(c.length),q=0;q<g.length;q++)c[q+Hn]=g[q];return c.length<32||Ft(k,c,c.length,A,E)!==0?null:k.subarray(Ln)},a.secretbox.keyLength=zt,a.secretbox.nonceLength=$t,a.secretbox.overheadLength=Hn,a.scalarMult=function(g,A){if(rn(g,A),g.length!==er)throw new Error("bad n size");if(A.length!==qn)throw new Error("bad p size");var E=new Uint8Array(qn);return Rt(E,g,A),E},a.scalarMult.base=function(g){if(rn(g),g.length!==er)throw new Error("bad n size");var A=new Uint8Array(qn);return sn(A,g),A},a.scalarMult.scalarLength=er,a.scalarMult.groupElementLength=qn,a.box=function(g,A,E,c){var k=a.box.before(E,c);return a.secretbox(g,A,k)},a.box.before=function(g,A){rn(g,A),Xr(g,A);var E=new Uint8Array(_r);return ke(E,g,A),E},a.box.after=a.secretbox,a.box.open=function(g,A,E,c){var k=a.box.before(E,c);return a.secretbox.open(g,A,k)},a.box.open.after=a.secretbox.open,a.box.keyPair=function(){var g=new Uint8Array(vn),A=new Uint8Array(xn);return gn(g,A),{publicKey:g,secretKey:A}},a.box.keyPair.fromSecretKey=function(g){if(rn(g),g.length!==xn)throw new Error("bad secret key size");var A=new Uint8Array(vn);return sn(A,g),{publicKey:A,secretKey:new Uint8Array(g)}},a.box.publicKeyLength=vn,a.box.secretKeyLength=xn,a.box.sharedKeyLength=_r,a.box.nonceLength=Jr,a.box.overheadLength=a.secretbox.overheadLength,a.sign=function(g,A){if(rn(g,A),A.length!==zn)throw new Error("bad secret key size");var E=new Uint8Array(_n+g.length);return pt(E,g,g.length,A),E},a.sign.open=function(g,A){if(rn(g,A),A.length!==In)throw new Error("bad public key size");var E=new Uint8Array(g.length),c=Nn(E,g,g.length,A);if(c<0)return null;for(var k=new Uint8Array(c),q=0;q<k.length;q++)k[q]=E[q];return k},a.sign.detached=function(g,A){for(var E=a.sign(g,A),c=new Uint8Array(_n),k=0;k<c.length;k++)c[k]=E[k];return c},a.sign.detached.verify=function(g,A,E){if(rn(g,A,E),A.length!==_n)throw new Error("bad signature size");if(E.length!==In)throw new Error("bad public key size");var c=new Uint8Array(_n+g.length),k=new Uint8Array(_n+g.length),q;for(q=0;q<_n;q++)c[q]=A[q];for(q=0;q<g.length;q++)c[q+_n]=g[q];return Nn(k,c,c.length,E)>=0},a.sign.keyPair=function(){var g=new Uint8Array(In),A=new Uint8Array(zn);return rt(g,A),{publicKey:g,secretKey:A}},a.sign.keyPair.fromSecretKey=function(g){if(rn(g),g.length!==zn)throw new Error("bad secret key size");for(var A=new Uint8Array(In),E=0;E<A.length;E++)A[E]=g[32+E];return{publicKey:A,secretKey:new Uint8Array(g)}},a.sign.keyPair.fromSeed=function(g){if(rn(g),g.length!==hr)throw new Error("bad seed size");for(var A=new Uint8Array(In),E=new Uint8Array(zn),c=0;c<32;c++)E[c]=g[c];return rt(A,E,!0),{publicKey:A,secretKey:E}},a.sign.publicKeyLength=In,a.sign.secretKeyLength=zn,a.sign.seedLength=hr,a.sign.signatureLength=_n,a.hash=function(g){rn(g);var A=new Uint8Array(Tr);return p(A,g,g.length),A},a.hash.hashLength=Tr,a.verify=function(g,A){return rn(g,A),g.length===0||A.length===0||g.length!==A.length?!1:K(g,0,A,0,g.length)===0},a.setPRNG=function(g){d=g},function(){var g=typeof self<"u"?self.crypto||self.msCrypto:null;if(g&&g.getRandomValues){var A=65536;a.setPRNG(function(E,c){var k,q=new Uint8Array(c);for(k=0;k<c;k+=A)g.getRandomValues(q.subarray(k,k+Math.min(c-k,A)));for(k=0;k<c;k++)E[k]=q[k];Mn(q)})}else g=o(56),g&&g.randomBytes&&a.setPRNG(function(E,c){var k,q=g.randomBytes(c);for(k=0;k<c;k++)E[k]=q[k];Mn(q)})}()})(typeof i<"u"&&i.exports?i.exports:self.nacl=self.nacl||{})},function(i,r){},function(i,r,o){(function(a){(function(f,d){typeof i<"u"&&i.exports?i.exports=d():(f.nacl||(f.nacl={}),f.nacl.util=d())})(this,function(){var f={};function d(b){if(!/^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/.test(b))throw new TypeError("invalid encoding")}return f.decodeUTF8=function(b){if(typeof b!="string")throw new TypeError("expected string");var v,_=unescape(encodeURIComponent(b)),x=new Uint8Array(_.length);for(v=0;v<_.length;v++)x[v]=_.charCodeAt(v);return x},f.encodeUTF8=function(b){var v,_=[];for(v=0;v<b.length;v++)_.push(String.fromCharCode(b[v]));return decodeURIComponent(escape(_.join("")))},typeof atob>"u"?typeof a.from<"u"?(f.encodeBase64=function(b){return a.from(b).toString("base64")},f.decodeBase64=function(b){return d(b),new Uint8Array(Array.prototype.slice.call(a.from(b,"base64"),0))}):(f.encodeBase64=function(b){return new a(b).toString("base64")},f.decodeBase64=function(b){return d(b),new Uint8Array(Array.prototype.slice.call(new a(b,"base64"),0))}):(f.encodeBase64=function(b){var v,_=[],x=b.length;for(v=0;v<x;v++)_.push(String.fromCharCode(b[v]));return btoa(_.join(""))},f.decodeBase64=function(b){d(b);var v,_=atob(b),x=new Uint8Array(_.length);for(v=0;v<_.length;v++)x[v]=_.charCodeAt(v);return x}),f})}).call(r,o(58).Buffer)},function(i,r,o){var a=o(59),f=o(60),d=o(61);r.Buffer=x,r.SlowBuffer=me,r.INSPECT_MAX_BYTES=50,x.TYPED_ARRAY_SUPPORT=window.TYPED_ARRAY_SUPPORT!==void 0?window.TYPED_ARRAY_SUPPORT:b(),r.kMaxLength=v();function b(){try{var L=new Uint8Array(1);return L.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},L.foo()===42&&typeof L.subarray=="function"&&L.subarray(1,1).byteLength===0}catch{return!1}}function v(){return x.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function _(L,p){if(v()<p)throw new RangeError("Invalid typed array length");return x.TYPED_ARRAY_SUPPORT?(L=new Uint8Array(p),L.__proto__=x.prototype):(L===null&&(L=new x(p)),L.length=p),L}function x(L,p,y){if(!x.TYPED_ARRAY_SUPPORT&&!(this instanceof x))return new x(L,p,y);if(typeof L=="number"){if(typeof p=="string")throw new Error("If encoding is specified then the first argument must be a string");return P(this,L)}return O(this,L,p,y)}x.poolSize=8192,x._augment=function(L){return L.__proto__=x.prototype,L};function O(L,p,y,M){if(typeof p=="number")throw new TypeError('"value" argument must not be a number');return typeof ArrayBuffer<"u"&&p instanceof ArrayBuffer?H(L,p,y,M):typeof p=="string"?I(L,p,y):K(L,p)}x.from=function(L,p,y){return O(null,L,p,y)},x.TYPED_ARRAY_SUPPORT&&(x.prototype.__proto__=Uint8Array.prototype,x.__proto__=Uint8Array,typeof Symbol<"u"&&Symbol.species&&x[Symbol.species]===x&&Object.defineProperty(x,Symbol.species,{value:null,configurable:!0}));function C(L){if(typeof L!="number")throw new TypeError('"size" argument must be a number');if(L<0)throw new RangeError('"size" argument must not be negative')}function S(L,p,y,M){return C(p),p<=0?_(L,p):y!==void 0?typeof M=="string"?_(L,p).fill(y,M):_(L,p).fill(y):_(L,p)}x.alloc=function(L,p,y){return S(null,L,p,y)};function P(L,p){if(C(p),L=_(L,p<0?0:he(p)|0),!x.TYPED_ARRAY_SUPPORT)for(var y=0;y<p;++y)L[y]=0;return L}x.allocUnsafe=function(L){return P(null,L)},x.allocUnsafeSlow=function(L){return P(null,L)};function I(L,p,y){if((typeof y!="string"||y==="")&&(y="utf8"),!x.isEncoding(y))throw new TypeError('"encoding" must be a valid string encoding');var M=h(p,y)|0;L=_(L,M);var $=L.write(p,y);return $!==M&&(L=L.slice(0,$)),L}function N(L,p){var y=p.length<0?0:he(p.length)|0;L=_(L,y);for(var M=0;M<y;M+=1)L[M]=p[M]&255;return L}function H(L,p,y,M){if(p.byteLength,y<0||p.byteLength<y)throw new RangeError("'offset' is out of bounds");if(p.byteLength<y+(M||0))throw new RangeError("'length' is out of bounds");return y===void 0&&M===void 0?p=new Uint8Array(p):M===void 0?p=new Uint8Array(p,y):p=new Uint8Array(p,y,M),x.TYPED_ARRAY_SUPPORT?(L=p,L.__proto__=x.prototype):L=N(L,p),L}function K(L,p){if(x.isBuffer(p)){var y=he(p.length)|0;return L=_(L,y),L.length===0||p.copy(L,0,0,y),L}if(p){if(typeof ArrayBuffer<"u"&&p.buffer instanceof ArrayBuffer||"length"in p)return typeof p.length!="number"||Zn(p.length)?_(L,0):N(L,p);if(p.type==="Buffer"&&d(p.data))return N(L,p.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}function he(L){if(L>=v())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+v().toString(16)+" bytes");return L|0}function me(L){return+L!=L&&(L=0),x.alloc(+L)}x.isBuffer=function(p){return!!(p!=null&&p._isBuffer)},x.compare=function(p,y){if(!x.isBuffer(p)||!x.isBuffer(y))throw new TypeError("Arguments must be Buffers");if(p===y)return 0;for(var M=p.length,$=y.length,fe=0,ce=Math.min(M,$);fe<ce;++fe)if(p[fe]!==y[fe]){M=p[fe],$=y[fe];break}return M<$?-1:$<M?1:0},x.isEncoding=function(p){switch(String(p).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},x.concat=function(p,y){if(!d(p))throw new TypeError('"list" argument must be an Array of Buffers');if(p.length===0)return x.alloc(0);var M;if(y===void 0)for(y=0,M=0;M<p.length;++M)y+=p[M].length;var $=x.allocUnsafe(y),fe=0;for(M=0;M<p.length;++M){var ce=p[M];if(!x.isBuffer(ce))throw new TypeError('"list" argument must be an Array of Buffers');ce.copy($,fe),fe+=ce.length}return $};function h(L,p){if(x.isBuffer(L))return L.length;if(typeof ArrayBuffer<"u"&&typeof ArrayBuffer.isView=="function"&&(ArrayBuffer.isView(L)||L instanceof ArrayBuffer))return L.byteLength;typeof L!="string"&&(L=""+L);var y=L.length;if(y===0)return 0;for(var M=!1;;)switch(p){case"ascii":case"latin1":case"binary":return y;case"utf8":case"utf-8":case void 0:return ke(L).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return y*2;case"hex":return y>>>1;case"base64":return Un(L).length;default:if(M)return ke(L).length;p=(""+p).toLowerCase(),M=!0}}x.byteLength=h;function Me(L,p,y){var M=!1;if((p===void 0||p<0)&&(p=0),p>this.length||((y===void 0||y>this.length)&&(y=this.length),y<=0)||(y>>>=0,p>>>=0,y<=p))return"";for(L||(L="utf8");;)switch(L){case"hex":return tn(this,p,y);case"utf8":case"utf-8":return kt(this,p,y);case"ascii":return Vt(this,p,y);case"latin1":case"binary":return yn(this,p,y);case"base64":return Lt(this,p,y);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return wn(this,p,y);default:if(M)throw new TypeError("Unknown encoding: "+L);L=(L+"").toLowerCase(),M=!0}}x.prototype._isBuffer=!0;function tt(L,p,y){var M=L[p];L[p]=L[y],L[y]=M}x.prototype.swap16=function(){var p=this.length;if(p%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var y=0;y<p;y+=2)tt(this,y,y+1);return this},x.prototype.swap32=function(){var p=this.length;if(p%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var y=0;y<p;y+=4)tt(this,y,y+3),tt(this,y+1,y+2);return this},x.prototype.swap64=function(){var p=this.length;if(p%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var y=0;y<p;y+=8)tt(this,y,y+7),tt(this,y+1,y+6),tt(this,y+2,y+5),tt(this,y+3,y+4);return this},x.prototype.toString=function(){var p=this.length|0;return p===0?"":arguments.length===0?kt(this,0,p):Me.apply(this,arguments)},x.prototype.equals=function(p){if(!x.isBuffer(p))throw new TypeError("Argument must be a Buffer");return this===p?!0:x.compare(this,p)===0},x.prototype.inspect=function(){var p="",y=r.INSPECT_MAX_BYTES;return this.length>0&&(p=this.toString("hex",0,y).match(/.{2}/g).join(" "),this.length>y&&(p+=" ... ")),"<Buffer "+p+">"},x.prototype.compare=function(p,y,M,$,fe){if(!x.isBuffer(p))throw new TypeError("Argument must be a Buffer");if(y===void 0&&(y=0),M===void 0&&(M=p?p.length:0),$===void 0&&($=0),fe===void 0&&(fe=this.length),y<0||M>p.length||$<0||fe>this.length)throw new RangeError("out of range index");if($>=fe&&y>=M)return 0;if($>=fe)return-1;if(y>=M)return 1;if(y>>>=0,M>>>=0,$>>>=0,fe>>>=0,this===p)return 0;for(var ce=fe-$,rt=M-y,ct=Math.min(ce,rt),gt=this.slice($,fe),mt=p.slice(y,M),pt=0;pt<ct;++pt)if(gt[pt]!==mt[pt]){ce=gt[pt],rt=mt[pt];break}return ce<rt?-1:rt<ce?1:0};function J(L,p,y,M,$){if(L.length===0)return-1;if(typeof y=="string"?(M=y,y=0):y>2147483647?y=2147483647:y<-2147483648&&(y=-2147483648),y=+y,isNaN(y)&&(y=$?0:L.length-1),y<0&&(y=L.length+y),y>=L.length){if($)return-1;y=L.length-1}else if(y<0)if($)y=0;else return-1;if(typeof p=="string"&&(p=x.from(p,M)),x.isBuffer(p))return p.length===0?-1:X(L,p,y,M,$);if(typeof p=="number")return p=p&255,x.TYPED_ARRAY_SUPPORT&&typeof Uint8Array.prototype.indexOf=="function"?$?Uint8Array.prototype.indexOf.call(L,p,y):Uint8Array.prototype.lastIndexOf.call(L,p,y):X(L,[p],y,M,$);throw new TypeError("val must be string, number or Buffer")}function X(L,p,y,M,$){var fe=1,ce=L.length,rt=p.length;if(M!==void 0&&(M=String(M).toLowerCase(),M==="ucs2"||M==="ucs-2"||M==="utf16le"||M==="utf-16le")){if(L.length<2||p.length<2)return-1;fe=2,ce/=2,rt/=2,y/=2}function ct(Nn,zt){return fe===1?Nn[zt]:Nn.readUInt16BE(zt*fe)}var gt;if($){var mt=-1;for(gt=y;gt<ce;gt++)if(ct(L,gt)===ct(p,mt===-1?0:gt-mt)){if(mt===-1&&(mt=gt),gt-mt+1===rt)return mt*fe}else mt!==-1&&(gt-=gt-mt),mt=-1}else for(y+rt>ce&&(y=ce-rt),gt=y;gt>=0;gt--){for(var pt=!0,kn=0;kn<rt;kn++)if(ct(L,gt+kn)!==ct(p,kn)){pt=!1;break}if(pt)return gt}return-1}x.prototype.includes=function(p,y,M){return this.indexOf(p,y,M)!==-1},x.prototype.indexOf=function(p,y,M){return J(this,p,y,M,!0)},x.prototype.lastIndexOf=function(p,y,M){return J(this,p,y,M,!1)};function G(L,p,y,M){y=Number(y)||0;var $=L.length-y;M?(M=Number(M),M>$&&(M=$)):M=$;var fe=p.length;if(fe%2!==0)throw new TypeError("Invalid hex string");M>fe/2&&(M=fe/2);for(var ce=0;ce<M;++ce){var rt=parseInt(p.substr(ce*2,2),16);if(isNaN(rt))return ce;L[y+ce]=rt}return ce}function re(L,p,y,M){return An(ke(p,L.length-y),L,y,M)}function ve(L,p,y,M){return An(De(p),L,y,M)}function ft(L,p,y,M){return ve(L,p,y,M)}function vt(L,p,y,M){return An(Un(p),L,y,M)}function jt(L,p,y,M){return An(Cn(p,L.length-y),L,y,M)}x.prototype.write=function(p,y,M,$){if(y===void 0)$="utf8",M=this.length,y=0;else if(M===void 0&&typeof y=="string")$=y,M=this.length,y=0;else if(isFinite(y))y=y|0,isFinite(M)?(M=M|0,$===void 0&&($="utf8")):($=M,M=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var fe=this.length-y;if((M===void 0||M>fe)&&(M=fe),p.length>0&&(M<0||y<0)||y>this.length)throw new RangeError("Attempt to write outside buffer bounds");$||($="utf8");for(var ce=!1;;)switch($){case"hex":return G(this,p,y,M);case"utf8":case"utf-8":return re(this,p,y,M);case"ascii":return ve(this,p,y,M);case"latin1":case"binary":return ft(this,p,y,M);case"base64":return vt(this,p,y,M);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return jt(this,p,y,M);default:if(ce)throw new TypeError("Unknown encoding: "+$);$=(""+$).toLowerCase(),ce=!0}},x.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function Lt(L,p,y){return p===0&&y===L.length?a.fromByteArray(L):a.fromByteArray(L.slice(p,y))}function kt(L,p,y){y=Math.min(L.length,y);for(var M=[],$=p;$<y;){var fe=L[$],ce=null,rt=fe>239?4:fe>223?3:fe>191?2:1;if($+rt<=y){var ct,gt,mt,pt;switch(rt){case 1:fe<128&&(ce=fe);break;case 2:ct=L[$+1],(ct&192)===128&&(pt=(fe&31)<<6|ct&63,pt>127&&(ce=pt));break;case 3:ct=L[$+1],gt=L[$+2],(ct&192)===128&&(gt&192)===128&&(pt=(fe&15)<<12|(ct&63)<<6|gt&63,pt>2047&&(pt<55296||pt>57343)&&(ce=pt));break;case 4:ct=L[$+1],gt=L[$+2],mt=L[$+3],(ct&192)===128&&(gt&192)===128&&(mt&192)===128&&(pt=(fe&15)<<18|(ct&63)<<12|(gt&63)<<6|mt&63,pt>65535&&pt<1114112&&(ce=pt))}}ce===null?(ce=65533,rt=1):ce>65535&&(ce-=65536,M.push(ce>>>10&1023|55296),ce=56320|ce&1023),M.push(ce),$+=rt}return Bt(M)}var Ft=4096;function Bt(L){var p=L.length;if(p<=Ft)return String.fromCharCode.apply(String,L);for(var y="",M=0;M<p;)y+=String.fromCharCode.apply(String,L.slice(M,M+=Ft));return y}function Vt(L,p,y){var M="";y=Math.min(L.length,y);for(var $=p;$<y;++$)M+=String.fromCharCode(L[$]&127);return M}function yn(L,p,y){var M="";y=Math.min(L.length,y);for(var $=p;$<y;++$)M+=String.fromCharCode(L[$]);return M}function tn(L,p,y){var M=L.length;(!p||p<0)&&(p=0),(!y||y<0||y>M)&&(y=M);for(var $="",fe=p;fe<y;++fe)$+=gn(L[fe]);return $}function wn(L,p,y){for(var M=L.slice(p,y),$="",fe=0;fe<M.length;fe+=2)$+=String.fromCharCode(M[fe]+M[fe+1]*256);return $}x.prototype.slice=function(p,y){var M=this.length;p=~~p,y=y===void 0?M:~~y,p<0?(p+=M,p<0&&(p=0)):p>M&&(p=M),y<0?(y+=M,y<0&&(y=0)):y>M&&(y=M),y<p&&(y=p);var $;if(x.TYPED_ARRAY_SUPPORT)$=this.subarray(p,y),$.__proto__=x.prototype;else{var fe=y-p;$=new x(fe,void 0);for(var ce=0;ce<fe;++ce)$[ce]=this[ce+p]}return $};function St(L,p,y){if(L%1!==0||L<0)throw new RangeError("offset is not uint");if(L+p>y)throw new RangeError("Trying to access beyond buffer length")}x.prototype.readUIntLE=function(p,y,M){p=p|0,y=y|0,M||St(p,y,this.length);for(var $=this[p],fe=1,ce=0;++ce<y&&(fe*=256);)$+=this[p+ce]*fe;return $},x.prototype.readUIntBE=function(p,y,M){p=p|0,y=y|0,M||St(p,y,this.length);for(var $=this[p+--y],fe=1;y>0&&(fe*=256);)$+=this[p+--y]*fe;return $},x.prototype.readUInt8=function(p,y){return y||St(p,1,this.length),this[p]},x.prototype.readUInt16LE=function(p,y){return y||St(p,2,this.length),this[p]|this[p+1]<<8},x.prototype.readUInt16BE=function(p,y){return y||St(p,2,this.length),this[p]<<8|this[p+1]},x.prototype.readUInt32LE=function(p,y){return y||St(p,4,this.length),(this[p]|this[p+1]<<8|this[p+2]<<16)+this[p+3]*16777216},x.prototype.readUInt32BE=function(p,y){return y||St(p,4,this.length),this[p]*16777216+(this[p+1]<<16|this[p+2]<<8|this[p+3])},x.prototype.readIntLE=function(p,y,M){p=p|0,y=y|0,M||St(p,y,this.length);for(var $=this[p],fe=1,ce=0;++ce<y&&(fe*=256);)$+=this[p+ce]*fe;return fe*=128,$>=fe&&($-=Math.pow(2,8*y)),$},x.prototype.readIntBE=function(p,y,M){p=p|0,y=y|0,M||St(p,y,this.length);for(var $=y,fe=1,ce=this[p+--$];$>0&&(fe*=256);)ce+=this[p+--$]*fe;return fe*=128,ce>=fe&&(ce-=Math.pow(2,8*y)),ce},x.prototype.readInt8=function(p,y){return y||St(p,1,this.length),this[p]&128?(255-this[p]+1)*-1:this[p]},x.prototype.readInt16LE=function(p,y){y||St(p,2,this.length);var M=this[p]|this[p+1]<<8;return M&32768?M|4294901760:M},x.prototype.readInt16BE=function(p,y){y||St(p,2,this.length);var M=this[p+1]|this[p]<<8;return M&32768?M|4294901760:M},x.prototype.readInt32LE=function(p,y){return y||St(p,4,this.length),this[p]|this[p+1]<<8|this[p+2]<<16|this[p+3]<<24},x.prototype.readInt32BE=function(p,y){return y||St(p,4,this.length),this[p]<<24|this[p+1]<<16|this[p+2]<<8|this[p+3]},x.prototype.readFloatLE=function(p,y){return y||St(p,4,this.length),f.read(this,p,!0,23,4)},x.prototype.readFloatBE=function(p,y){return y||St(p,4,this.length),f.read(this,p,!1,23,4)},x.prototype.readDoubleLE=function(p,y){return y||St(p,8,this.length),f.read(this,p,!0,52,8)},x.prototype.readDoubleBE=function(p,y){return y||St(p,8,this.length),f.read(this,p,!1,52,8)};function It(L,p,y,M,$,fe){if(!x.isBuffer(L))throw new TypeError('"buffer" argument must be a Buffer instance');if(p>$||p<fe)throw new RangeError('"value" argument is out of bounds');if(y+M>L.length)throw new RangeError("Index out of range")}x.prototype.writeUIntLE=function(p,y,M,$){if(p=+p,y=y|0,M=M|0,!$){var fe=Math.pow(2,8*M)-1;It(this,p,y,M,fe,0)}var ce=1,rt=0;for(this[y]=p&255;++rt<M&&(ce*=256);)this[y+rt]=p/ce&255;return y+M},x.prototype.writeUIntBE=function(p,y,M,$){if(p=+p,y=y|0,M=M|0,!$){var fe=Math.pow(2,8*M)-1;It(this,p,y,M,fe,0)}var ce=M-1,rt=1;for(this[y+ce]=p&255;--ce>=0&&(rt*=256);)this[y+ce]=p/rt&255;return y+M},x.prototype.writeUInt8=function(p,y,M){return p=+p,y=y|0,M||It(this,p,y,1,255,0),x.TYPED_ARRAY_SUPPORT||(p=Math.floor(p)),this[y]=p&255,y+1};function Mt(L,p,y,M){p<0&&(p=65535+p+1);for(var $=0,fe=Math.min(L.length-y,2);$<fe;++$)L[y+$]=(p&255<<8*(M?$:1-$))>>>(M?$:1-$)*8}x.prototype.writeUInt16LE=function(p,y,M){return p=+p,y=y|0,M||It(this,p,y,2,65535,0),x.TYPED_ARRAY_SUPPORT?(this[y]=p&255,this[y+1]=p>>>8):Mt(this,p,y,!0),y+2},x.prototype.writeUInt16BE=function(p,y,M){return p=+p,y=y|0,M||It(this,p,y,2,65535,0),x.TYPED_ARRAY_SUPPORT?(this[y]=p>>>8,this[y+1]=p&255):Mt(this,p,y,!1),y+2};function Nt(L,p,y,M){p<0&&(p=4294967295+p+1);for(var $=0,fe=Math.min(L.length-y,4);$<fe;++$)L[y+$]=p>>>(M?$:3-$)*8&255}x.prototype.writeUInt32LE=function(p,y,M){return p=+p,y=y|0,M||It(this,p,y,4,4294967295,0),x.TYPED_ARRAY_SUPPORT?(this[y+3]=p>>>24,this[y+2]=p>>>16,this[y+1]=p>>>8,this[y]=p&255):Nt(this,p,y,!0),y+4},x.prototype.writeUInt32BE=function(p,y,M){return p=+p,y=y|0,M||It(this,p,y,4,4294967295,0),x.TYPED_ARRAY_SUPPORT?(this[y]=p>>>24,this[y+1]=p>>>16,this[y+2]=p>>>8,this[y+3]=p&255):Nt(this,p,y,!1),y+4},x.prototype.writeIntLE=function(p,y,M,$){if(p=+p,y=y|0,!$){var fe=Math.pow(2,8*M-1);It(this,p,y,M,fe-1,-fe)}var ce=0,rt=1,ct=0;for(this[y]=p&255;++ce<M&&(rt*=256);)p<0&&ct===0&&this[y+ce-1]!==0&&(ct=1),this[y+ce]=(p/rt>>0)-ct&255;return y+M},x.prototype.writeIntBE=function(p,y,M,$){if(p=+p,y=y|0,!$){var fe=Math.pow(2,8*M-1);It(this,p,y,M,fe-1,-fe)}var ce=M-1,rt=1,ct=0;for(this[y+ce]=p&255;--ce>=0&&(rt*=256);)p<0&&ct===0&&this[y+ce+1]!==0&&(ct=1),this[y+ce]=(p/rt>>0)-ct&255;return y+M},x.prototype.writeInt8=function(p,y,M){return p=+p,y=y|0,M||It(this,p,y,1,127,-128),x.TYPED_ARRAY_SUPPORT||(p=Math.floor(p)),p<0&&(p=255+p+1),this[y]=p&255,y+1},x.prototype.writeInt16LE=function(p,y,M){return p=+p,y=y|0,M||It(this,p,y,2,32767,-32768),x.TYPED_ARRAY_SUPPORT?(this[y]=p&255,this[y+1]=p>>>8):Mt(this,p,y,!0),y+2},x.prototype.writeInt16BE=function(p,y,M){return p=+p,y=y|0,M||It(this,p,y,2,32767,-32768),x.TYPED_ARRAY_SUPPORT?(this[y]=p>>>8,this[y+1]=p&255):Mt(this,p,y,!1),y+2},x.prototype.writeInt32LE=function(p,y,M){return p=+p,y=y|0,M||It(this,p,y,4,2147483647,-2147483648),x.TYPED_ARRAY_SUPPORT?(this[y]=p&255,this[y+1]=p>>>8,this[y+2]=p>>>16,this[y+3]=p>>>24):Nt(this,p,y,!0),y+4},x.prototype.writeInt32BE=function(p,y,M){return p=+p,y=y|0,M||It(this,p,y,4,2147483647,-2147483648),p<0&&(p=4294967295+p+1),x.TYPED_ARRAY_SUPPORT?(this[y]=p>>>24,this[y+1]=p>>>16,this[y+2]=p>>>8,this[y+3]=p&255):Nt(this,p,y,!1),y+4};function qe(L,p,y,M,$,fe){if(y+M>L.length)throw new RangeError("Index out of range");if(y<0)throw new RangeError("Index out of range")}function Xt(L,p,y,M,$){return $||qe(L,p,y,4),f.write(L,p,y,M,23,4),y+4}x.prototype.writeFloatLE=function(p,y,M){return Xt(this,p,y,!0,M)},x.prototype.writeFloatBE=function(p,y,M){return Xt(this,p,y,!1,M)};function Pn(L,p,y,M,$){return $||qe(L,p,y,8),f.write(L,p,y,M,52,8),y+8}x.prototype.writeDoubleLE=function(p,y,M){return Pn(this,p,y,!0,M)},x.prototype.writeDoubleBE=function(p,y,M){return Pn(this,p,y,!1,M)},x.prototype.copy=function(p,y,M,$){if(M||(M=0),!$&&$!==0&&($=this.length),y>=p.length&&(y=p.length),y||(y=0),$>0&&$<M&&($=M),$===M||p.length===0||this.length===0)return 0;if(y<0)throw new RangeError("targetStart out of bounds");if(M<0||M>=this.length)throw new RangeError("sourceStart out of bounds");if($<0)throw new RangeError("sourceEnd out of bounds");$>this.length&&($=this.length),p.length-y<$-M&&($=p.length-y+M);var fe=$-M,ce;if(this===p&&M<y&&y<$)for(ce=fe-1;ce>=0;--ce)p[ce+y]=this[ce+M];else if(fe<1e3||!x.TYPED_ARRAY_SUPPORT)for(ce=0;ce<fe;++ce)p[ce+y]=this[ce+M];else Uint8Array.prototype.set.call(p,this.subarray(M,M+fe),y);return fe},x.prototype.fill=function(p,y,M,$){if(typeof p=="string"){if(typeof y=="string"?($=y,y=0,M=this.length):typeof M=="string"&&($=M,M=this.length),p.length===1){var fe=p.charCodeAt(0);fe<256&&(p=fe)}if($!==void 0&&typeof $!="string")throw new TypeError("encoding must be a string");if(typeof $=="string"&&!x.isEncoding($))throw new TypeError("Unknown encoding: "+$)}else typeof p=="number"&&(p=p&255);if(y<0||this.length<y||this.length<M)throw new RangeError("Out of range index");if(M<=y)return this;y=y>>>0,M=M===void 0?this.length:M>>>0,p||(p=0);var ce;if(typeof p=="number")for(ce=y;ce<M;++ce)this[ce]=p;else{var rt=x.isBuffer(p)?p:ke(new x(p,$).toString()),ct=rt.length;for(ce=0;ce<M-y;++ce)this[ce+y]=rt[ce%ct]}return this};var Qn=/[^+\/0-9A-Za-z-_]/g;function Rt(L){if(L=sn(L).replace(Qn,""),L.length<2)return"";for(;L.length%4!==0;)L=L+"=";return L}function sn(L){return L.trim?L.trim():L.replace(/^\s+|\s+$/g,"")}function gn(L){return L<16?"0"+L.toString(16):L.toString(16)}function ke(L,p){p=p||1/0;for(var y,M=L.length,$=null,fe=[],ce=0;ce<M;++ce){if(y=L.charCodeAt(ce),y>55295&&y<57344){if(!$){if(y>56319){(p-=3)>-1&&fe.push(239,191,189);continue}else if(ce+1===M){(p-=3)>-1&&fe.push(239,191,189);continue}$=y;continue}if(y<56320){(p-=3)>-1&&fe.push(239,191,189),$=y;continue}y=($-55296<<10|y-56320)+65536}else $&&(p-=3)>-1&&fe.push(239,191,189);if($=null,y<128){if((p-=1)<0)break;fe.push(y)}else if(y<2048){if((p-=2)<0)break;fe.push(y>>6|192,y&63|128)}else if(y<65536){if((p-=3)<0)break;fe.push(y>>12|224,y>>6&63|128,y&63|128)}else if(y<1114112){if((p-=4)<0)break;fe.push(y>>18|240,y>>12&63|128,y>>6&63|128,y&63|128)}else throw new Error("Invalid code point")}return fe}function De(L){for(var p=[],y=0;y<L.length;++y)p.push(L.charCodeAt(y)&255);return p}function Cn(L,p){for(var y,M,$,fe=[],ce=0;ce<L.length&&!((p-=2)<0);++ce)y=L.charCodeAt(ce),M=y>>8,$=y%256,fe.push($),fe.push(M);return fe}function Un(L){return a.toByteArray(Rt(L))}function An(L,p,y,M){for(var $=0;$<M&&!($+y>=p.length||$>=L.length);++$)p[$+y]=L[$];return $}function Zn(L){return L!==L}},function(i,r){r.byteLength=x,r.toByteArray=C,r.fromByteArray=I;for(var o=[],a=[],f=typeof Uint8Array<"u"?Uint8Array:Array,d="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",b=0,v=d.length;b<v;++b)o[b]=d[b],a[d.charCodeAt(b)]=b;a["-".charCodeAt(0)]=62,a["_".charCodeAt(0)]=63;function _(N){var H=N.length;if(H%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var K=N.indexOf("=");K===-1&&(K=H);var he=K===H?0:4-K%4;return[K,he]}function x(N){var H=_(N),K=H[0],he=H[1];return(K+he)*3/4-he}function O(N,H,K){return(H+K)*3/4-K}function C(N){for(var H,K=_(N),he=K[0],me=K[1],h=new f(O(N,he,me)),Me=0,tt=me>0?he-4:he,J=0;J<tt;J+=4)H=a[N.charCodeAt(J)]<<18|a[N.charCodeAt(J+1)]<<12|a[N.charCodeAt(J+2)]<<6|a[N.charCodeAt(J+3)],h[Me++]=H>>16&255,h[Me++]=H>>8&255,h[Me++]=H&255;return me===2&&(H=a[N.charCodeAt(J)]<<2|a[N.charCodeAt(J+1)]>>4,h[Me++]=H&255),me===1&&(H=a[N.charCodeAt(J)]<<10|a[N.charCodeAt(J+1)]<<4|a[N.charCodeAt(J+2)]>>2,h[Me++]=H>>8&255,h[Me++]=H&255),h}function S(N){return o[N>>18&63]+o[N>>12&63]+o[N>>6&63]+o[N&63]}function P(N,H,K){for(var he,me=[],h=H;h<K;h+=3)he=(N[h]<<16&16711680)+(N[h+1]<<8&65280)+(N[h+2]&255),me.push(S(he));return me.join("")}function I(N){for(var H,K=N.length,he=K%3,me=[],h=16383,Me=0,tt=K-he;Me<tt;Me+=h)me.push(P(N,Me,Me+h>tt?tt:Me+h));return he===1?(H=N[K-1],me.push(o[H>>2]+o[H<<4&63]+"==")):he===2&&(H=(N[K-2]<<8)+N[K-1],me.push(o[H>>10]+o[H>>4&63]+o[H<<2&63]+"=")),me.join("")}},function(i,r){r.read=function(o,a,f,d,b){var v,_,x=b*8-d-1,O=(1<<x)-1,C=O>>1,S=-7,P=f?b-1:0,I=f?-1:1,N=o[a+P];for(P+=I,v=N&(1<<-S)-1,N>>=-S,S+=x;S>0;v=v*256+o[a+P],P+=I,S-=8);for(_=v&(1<<-S)-1,v>>=-S,S+=d;S>0;_=_*256+o[a+P],P+=I,S-=8);if(v===0)v=1-C;else{if(v===O)return _?NaN:(N?-1:1)*(1/0);_=_+Math.pow(2,d),v=v-C}return(N?-1:1)*_*Math.pow(2,v-d)},r.write=function(o,a,f,d,b,v){var _,x,O,C=v*8-b-1,S=(1<<C)-1,P=S>>1,I=b===23?Math.pow(2,-24)-Math.pow(2,-77):0,N=d?0:v-1,H=d?1:-1,K=a<0||a===0&&1/a<0?1:0;for(a=Math.abs(a),isNaN(a)||a===1/0?(x=isNaN(a)?1:0,_=S):(_=Math.floor(Math.log(a)/Math.LN2),a*(O=Math.pow(2,-_))<1&&(_--,O*=2),_+P>=1?a+=I/O:a+=I*Math.pow(2,1-P),a*O>=2&&(_++,O/=2),_+P>=S?(x=0,_=S):_+P>=1?(x=(a*O-1)*Math.pow(2,b),_=_+P):(x=a*Math.pow(2,P-1)*Math.pow(2,b),_=0));b>=8;o[f+N]=x&255,N+=H,x/=256,b-=8);for(_=_<<b|x,C+=b;C>0;o[f+N]=_&255,N+=H,_/=256,C-=8);o[f+N-H]|=K*128}},function(i,r){var o={}.toString;i.exports=Array.isArray||function(a){return o.call(a)=="[object Array]"}},function(i,r,o){var a=this&&this.__extends||function(O,C){for(var S in C)C.hasOwnProperty(S)&&(O[S]=C[S]);function P(){this.constructor=O}O.prototype=C===null?Object.create(C):(P.prototype=C.prototype,new P)},f=o(24),d=o(12),b=o(8),v=o(9),_=o(2),x=function(O){a(C,O);function C(S,P){var I=this;O.call(this),this.key=S,this.options=P||{},this.state="initialized",this.connection=null,this.usingTLS=!!P.useTLS,this.timeline=this.options.timeline,this.errorCallbacks=this.buildErrorCallbacks(),this.connectionCallbacks=this.buildConnectionCallbacks(this.errorCallbacks),this.handshakeCallbacks=this.buildHandshakeCallbacks(this.errorCallbacks);var N=_.default.getNetwork();N.bind("online",function(){I.timeline.info({netinfo:"online"}),(I.state==="connecting"||I.state==="unavailable")&&I.retryIn(0)}),N.bind("offline",function(){I.timeline.info({netinfo:"offline"}),I.connection&&I.sendActivityCheck()}),this.updateStrategy()}return C.prototype.connect=function(){if(!(this.connection||this.runner)){if(!this.strategy.isSupported()){this.updateState("failed");return}this.updateState("connecting"),this.startConnecting(),this.setUnavailableTimer()}},C.prototype.send=function(S){return this.connection?this.connection.send(S):!1},C.prototype.send_event=function(S,P,I){return this.connection?this.connection.send_event(S,P,I):!1},C.prototype.disconnect=function(){this.disconnectInternally(),this.updateState("disconnected")},C.prototype.isUsingTLS=function(){return this.usingTLS},C.prototype.startConnecting=function(){var S=this,P=function(I,N){I?S.runner=S.strategy.connect(0,P):N.action==="error"?(S.emit("error",{type:"HandshakeError",error:N.error}),S.timeline.error({handshakeError:N.error})):(S.abortConnecting(),S.handshakeCallbacks[N.action](N))};this.runner=this.strategy.connect(0,P)},C.prototype.abortConnecting=function(){this.runner&&(this.runner.abort(),this.runner=null)},C.prototype.disconnectInternally=function(){if(this.abortConnecting(),this.clearRetryTimer(),this.clearUnavailableTimer(),this.connection){var S=this.abandonConnection();S.close()}},C.prototype.updateStrategy=function(){this.strategy=this.options.getStrategy({key:this.key,timeline:this.timeline,useTLS:this.usingTLS})},C.prototype.retryIn=function(S){var P=this;this.timeline.info({action:"retry",delay:S}),S>0&&this.emit("connecting_in",Math.round(S/1e3)),this.retryTimer=new d.OneOffTimer(S||0,function(){P.disconnectInternally(),P.connect()})},C.prototype.clearRetryTimer=function(){this.retryTimer&&(this.retryTimer.ensureAborted(),this.retryTimer=null)},C.prototype.setUnavailableTimer=function(){var S=this;this.unavailableTimer=new d.OneOffTimer(this.options.unavailableTimeout,function(){S.updateState("unavailable")})},C.prototype.clearUnavailableTimer=function(){this.unavailableTimer&&this.unavailableTimer.ensureAborted()},C.prototype.sendActivityCheck=function(){var S=this;this.stopActivityCheck(),this.connection.ping(),this.activityTimer=new d.OneOffTimer(this.options.pongTimeout,function(){S.timeline.error({pong_timed_out:S.options.pongTimeout}),S.retryIn(0)})},C.prototype.resetActivityCheck=function(){var S=this;this.stopActivityCheck(),this.connection&&!this.connection.handlesActivityChecks()&&(this.activityTimer=new d.OneOffTimer(this.activityTimeout,function(){S.sendActivityCheck()}))},C.prototype.stopActivityCheck=function(){this.activityTimer&&this.activityTimer.ensureAborted()},C.prototype.buildConnectionCallbacks=function(S){var P=this;return v.extend({},S,{message:function(I){P.resetActivityCheck(),P.emit("message",I)},ping:function(){P.send_event("pusher:pong",{})},activity:function(){P.resetActivityCheck()},error:function(I){P.emit("error",{type:"WebSocketError",error:I})},closed:function(){P.abandonConnection(),P.shouldRetry()&&P.retryIn(1e3)}})},C.prototype.buildHandshakeCallbacks=function(S){var P=this;return v.extend({},S,{connected:function(I){P.activityTimeout=Math.min(P.options.activityTimeout,I.activityTimeout,I.connection.activityTimeout||1/0),P.clearUnavailableTimer(),P.setConnection(I.connection),P.socket_id=P.connection.id,P.updateState("connected",{socket_id:P.socket_id})}})},C.prototype.buildErrorCallbacks=function(){var S=this,P=function(I){return function(N){N.error&&S.emit("error",{type:"WebSocketError",error:N.error}),I(N)}};return{tls_only:P(function(){S.usingTLS=!0,S.updateStrategy(),S.retryIn(0)}),refused:P(function(){S.disconnect()}),backoff:P(function(){S.retryIn(1e3)}),retry:P(function(){S.retryIn(0)})}},C.prototype.setConnection=function(S){this.connection=S;for(var P in this.connectionCallbacks)this.connection.bind(P,this.connectionCallbacks[P]);this.resetActivityCheck()},C.prototype.abandonConnection=function(){if(this.connection){this.stopActivityCheck();for(var S in this.connectionCallbacks)this.connection.unbind(S,this.connectionCallbacks[S]);var P=this.connection;return this.connection=null,P}},C.prototype.updateState=function(S,P){var I=this.state;if(this.state=S,I!==S){var N=S;N==="connected"&&(N+=" with new socket ID "+P.socket_id),b.default.debug("State changed",I+" -> "+N),this.timeline.info({state:S,params:P}),this.emit("state_change",{previous:I,current:S}),this.emit(S,P)}},C.prototype.shouldRetry=function(){return this.state==="connecting"||this.state==="connected"},C}(f.default);r.__esModule=!0,r.default=x},function(i,r,o){var a=o(9),f=o(43),d=o(31),b=function(){function _(){this.channels={}}return _.prototype.add=function(x,O){return this.channels[x]||(this.channels[x]=v(x,O)),this.channels[x]},_.prototype.all=function(){return a.values(this.channels)},_.prototype.find=function(x){return this.channels[x]},_.prototype.remove=function(x){var O=this.channels[x];return delete this.channels[x],O},_.prototype.disconnect=function(){a.objectApply(this.channels,function(x){x.disconnect()})},_}();r.__esModule=!0,r.default=b;function v(_,x){if(_.indexOf("private-encrypted-")===0){if(navigator.product=="ReactNative"){var O="Encrypted channels are not yet supported when using React Native builds.";throw new d.UnsupportedFeature(O)}return f.default.createEncryptedChannel(_,x)}else return _.indexOf("private-")===0?f.default.createPrivateChannel(_,x):_.indexOf("presence-")===0?f.default.createPresenceChannel(_,x):f.default.createChannel(_,x)}},function(i,r,o){var a=o(43),f=o(11),d=o(31),b=o(9),v=function(){function x(O,C,S,P){this.name=O,this.priority=C,this.transport=S,this.options=P||{}}return x.prototype.isSupported=function(){return this.transport.isSupported({useTLS:this.options.useTLS})},x.prototype.connect=function(O,C){var S=this;if(this.isSupported()){if(this.priority<O)return _(new d.TransportPriorityTooLow,C)}else return _(new d.UnsupportedStrategy,C);var P=!1,I=this.transport.createConnection(this.name,this.priority,this.options.key,this.options),N=null,H=function(){I.unbind("initialized",H),I.connect()},K=function(){N=a.default.createHandshake(I,function(Me){P=!0,h(),C(null,Me)})},he=function(Me){h(),C(Me)},me=function(){h();var Me;Me=b.safeJSONStringify(I),C(new d.TransportClosed(Me))},h=function(){I.unbind("initialized",H),I.unbind("open",K),I.unbind("error",he),I.unbind("closed",me)};return I.bind("initialized",H),I.bind("open",K),I.bind("error",he),I.bind("closed",me),I.initialize(),{abort:function(){P||(h(),N?N.close():I.close())},forceMinPriority:function(Me){P||S.priority<Me&&(N?N.close():I.close())}}},x}();r.__esModule=!0,r.default=v;function _(x,O){return f.default.defer(function(){O(x)}),{abort:function(){},forceMinPriority:function(){}}}},function(i,r,o){var a=o(9),f=o(11),d=o(12),b=function(){function v(_,x){this.strategies=_,this.loop=!!x.loop,this.failFast=!!x.failFast,this.timeout=x.timeout,this.timeoutLimit=x.timeoutLimit}return v.prototype.isSupported=function(){return a.any(this.strategies,f.default.method("isSupported"))},v.prototype.connect=function(_,x){var O=this,C=this.strategies,S=0,P=this.timeout,I=null,N=function(H,K){K?x(null,K):(S=S+1,O.loop&&(S=S%C.length),S<C.length?(P&&(P=P*2,O.timeoutLimit&&(P=Math.min(P,O.timeoutLimit))),I=O.tryStrategy(C[S],_,{timeout:P,failFast:O.failFast},N)):x(!0))};return I=this.tryStrategy(C[S],_,{timeout:P,failFast:this.failFast},N),{abort:function(){I.abort()},forceMinPriority:function(H){_=H,I&&I.forceMinPriority(H)}}},v.prototype.tryStrategy=function(_,x,O,C){var S=null,P=null;return O.timeout>0&&(S=new d.OneOffTimer(O.timeout,function(){P.abort(),C(!0)})),P=_.connect(x,function(I,N){I&&S&&S.isRunning()&&!O.failFast||(S&&S.ensureAborted(),C(I,N))}),{abort:function(){S&&S.ensureAborted(),P.abort()},forceMinPriority:function(I){P.forceMinPriority(I)}}},v}();r.__esModule=!0,r.default=b},function(i,r,o){var a=o(9),f=o(11),d=function(){function x(O){this.strategies=O}return x.prototype.isSupported=function(){return a.any(this.strategies,f.default.method("isSupported"))},x.prototype.connect=function(O,C){return b(this.strategies,O,function(S,P){return function(I,N){if(P[S].error=I,I){v(P)&&C(!0);return}a.apply(P,function(H){H.forceMinPriority(N.transport.priority)}),C(null,N)}})},x}();r.__esModule=!0,r.default=d;function b(x,O,C){var S=a.map(x,function(P,I,N,H){return P.connect(O,C(I,H))});return{abort:function(){a.apply(S,_)},forceMinPriority:function(P){a.apply(S,function(I){I.forceMinPriority(P)})}}}function v(x){return a.all(x,function(O){return!!O.error})}function _(x){!x.error&&!x.aborted&&(x.abort(),x.aborted=!0)}},function(i,r,o){var a=o(11),f=o(2),d=o(65),b=o(9),v=function(){function S(P,I,N){this.strategy=P,this.transports=I,this.ttl=N.ttl||1800*1e3,this.usingTLS=N.useTLS,this.timeline=N.timeline}return S.prototype.isSupported=function(){return this.strategy.isSupported()},S.prototype.connect=function(P,I){var N=this.usingTLS,H=x(N),K=[this.strategy];if(H&&H.timestamp+this.ttl>=a.default.now()){var he=this.transports[H.transport];he&&(this.timeline.info({cached:!0,transport:H.transport,latency:H.latency}),K.push(new d.default([he],{timeout:H.latency*2+1e3,failFast:!0})))}var me=a.default.now(),h=K.pop().connect(P,function Me(tt,J){tt?(C(N),K.length>0?(me=a.default.now(),h=K.pop().connect(P,Me)):I(tt)):(O(N,J.transport.name,a.default.now()-me),I(null,J))});return{abort:function(){h.abort()},forceMinPriority:function(Me){P=Me,h&&h.forceMinPriority(Me)}}},S}();r.__esModule=!0,r.default=v;function _(S){return"pusherTransport"+(S?"TLS":"NonTLS")}function x(S){var P=f.default.getLocalStorage();if(P)try{var I=P[_(S)];if(I)return JSON.parse(I)}catch{C(S)}return null}function O(S,P,I){var N=f.default.getLocalStorage();if(N)try{N[_(S)]=b.safeJSONStringify({timestamp:a.default.now(),transport:P,latency:I})}catch{}}function C(S){var P=f.default.getLocalStorage();if(P)try{delete P[_(S)]}catch{}}},function(i,r,o){var a=o(12),f=function(){function d(b,v){var _=v.delay;this.strategy=b,this.options={delay:_}}return d.prototype.isSupported=function(){return this.strategy.isSupported()},d.prototype.connect=function(b,v){var _=this.strategy,x,O=new a.OneOffTimer(this.options.delay,function(){x=_.connect(b,v)});return{abort:function(){O.ensureAborted(),x&&x.abort()},forceMinPriority:function(C){b=C,x&&x.forceMinPriority(C)}}},d}();r.__esModule=!0,r.default=f},function(i,r){var o=function(){function a(f,d,b){this.test=f,this.trueBranch=d,this.falseBranch=b}return a.prototype.isSupported=function(){var f=this.test()?this.trueBranch:this.falseBranch;return f.isSupported()},a.prototype.connect=function(f,d){var b=this.test()?this.trueBranch:this.falseBranch;return b.connect(f,d)},a}();r.__esModule=!0,r.default=o},function(i,r){var o=function(){function a(f){this.strategy=f}return a.prototype.isSupported=function(){return this.strategy.isSupported()},a.prototype.connect=function(f,d){var b=this.strategy.connect(f,function(v,_){_&&b.abort(),d(v,_)});return b},a}();r.__esModule=!0,r.default=o},function(i,r,o){var a=o(5);r.getGlobalConfig=function(){return{wsHost:a.default.host,wsPort:a.default.ws_port,wssPort:a.default.wss_port,wsPath:a.default.ws_path,httpHost:a.default.sockjs_host,httpPort:a.default.sockjs_http_port,httpsPort:a.default.sockjs_https_port,httpPath:a.default.sockjs_path,statsHost:a.default.stats_host,authEndpoint:a.default.channel_auth_endpoint,authTransport:a.default.channel_auth_transport,activity_timeout:a.default.activity_timeout,pong_timeout:a.default.pong_timeout,unavailable_timeout:a.default.unavailable_timeout}},r.getClusterConfig=function(f){return{wsHost:"ws-"+f+".pusher.com",httpHost:"sockjs-"+f+".pusher.com"}}}])})})(Oc);const Rc=lc(fo);var co=!1,lo=!1,ur=[],ho=-1;function Pc(e){kc(e)}function kc(e){ur.includes(e)||ur.push(e),Nc()}function ca(e){let n=ur.indexOf(e);n!==-1&&n>ho&&ur.splice(n,1)}function Nc(){!lo&&!co&&(co=!0,queueMicrotask(Lc))}function Lc(){co=!1,lo=!0;for(let e=0;e<ur.length;e++)ur[e](),ho=e;ur.length=0,ho=-1,lo=!1}var mr,br,qr,la,po=!0;function Ic(e){po=!1,e(),po=!0}function Mc(e){mr=e.reactive,qr=e.release,br=n=>e.effect(n,{scheduler:i=>{po?Pc(i):i()}}),la=e.raw}function ks(e){br=e}function Dc(e){let n=()=>{};return[r=>{let o=br(r);return e._x_effects||(e._x_effects=new Set,e._x_runEffects=()=>{e._x_effects.forEach(a=>a())}),e._x_effects.add(o),n=()=>{o!==void 0&&(e._x_effects.delete(o),qr(o))},o},()=>{n()}]}var ha=[],da=[],pa=[];function jc(e){pa.push(e)}function ya(e,n){typeof n=="function"?(e._x_cleanups||(e._x_cleanups=[]),e._x_cleanups.push(n)):(n=e,da.push(n))}function Fc(e){ha.push(e)}function Bc(e,n,i){e._x_attributeCleanups||(e._x_attributeCleanups={}),e._x_attributeCleanups[n]||(e._x_attributeCleanups[n]=[]),e._x_attributeCleanups[n].push(i)}function ga(e,n){e._x_attributeCleanups&&Object.entries(e._x_attributeCleanups).forEach(([i,r])=>{(n===void 0||n.includes(i))&&(r.forEach(o=>o()),delete e._x_attributeCleanups[i])})}var Fo=new MutationObserver(qo),Bo=!1;function Uo(){Fo.observe(document,{subtree:!0,childList:!0,attributes:!0,attributeOldValue:!0}),Bo=!0}function va(){Uc(),Fo.disconnect(),Bo=!1}var Ir=[],Ki=!1;function Uc(){Ir=Ir.concat(Fo.takeRecords()),Ir.length&&!Ki&&(Ki=!0,queueMicrotask(()=>{Hc(),Ki=!1}))}function Hc(){qo(Ir),Ir.length=0}function Qt(e){if(!Bo)return e();va();let n=e();return Uo(),n}var Ho=!1,di=[];function qc(){Ho=!0}function zc(){Ho=!1,qo(di),di=[]}function qo(e){if(Ho){di=di.concat(e);return}let n=[],i=[],r=new Map,o=new Map;for(let a=0;a<e.length;a++)if(!e[a].target._x_ignoreMutationObserver&&(e[a].type==="childList"&&(e[a].addedNodes.forEach(f=>f.nodeType===1&&n.push(f)),e[a].removedNodes.forEach(f=>f.nodeType===1&&i.push(f))),e[a].type==="attributes")){let f=e[a].target,d=e[a].attributeName,b=e[a].oldValue,v=()=>{r.has(f)||r.set(f,[]),r.get(f).push({name:d,value:f.getAttribute(d)})},_=()=>{o.has(f)||o.set(f,[]),o.get(f).push(d)};f.hasAttribute(d)&&b===null?v():f.hasAttribute(d)?(_(),v()):_()}o.forEach((a,f)=>{ga(f,a)}),r.forEach((a,f)=>{ha.forEach(d=>d(f,a))});for(let a of i)if(!n.includes(a)&&(da.forEach(f=>f(a)),a._x_cleanups))for(;a._x_cleanups.length;)a._x_cleanups.pop()();n.forEach(a=>{a._x_ignoreSelf=!0,a._x_ignore=!0});for(let a of n)i.includes(a)||a.isConnected&&(delete a._x_ignoreSelf,delete a._x_ignore,pa.forEach(f=>f(a)),a._x_ignore=!0,a._x_ignoreSelf=!0);n.forEach(a=>{delete a._x_ignoreSelf,delete a._x_ignore}),n=null,i=null,r=null,o=null}function xa(e){return $r(yr(e))}function zr(e,n,i){return e._x_dataStack=[n,...yr(i||e)],()=>{e._x_dataStack=e._x_dataStack.filter(r=>r!==n)}}function Ns(e,n){let i=e._x_dataStack[0];Object.entries(n).forEach(([r,o])=>{i[r]=o})}function yr(e){return e._x_dataStack?e._x_dataStack:typeof ShadowRoot=="function"&&e instanceof ShadowRoot?yr(e.host):e.parentNode?yr(e.parentNode):[]}function $r(e){let n=new Proxy({},{ownKeys:()=>Array.from(new Set(e.flatMap(i=>Object.keys(i)))),has:(i,r)=>e.some(o=>o.hasOwnProperty(r)),get:(i,r)=>(e.find(o=>{if(o.hasOwnProperty(r)){let a=Object.getOwnPropertyDescriptor(o,r);if(a.get&&a.get._x_alreadyBound||a.set&&a.set._x_alreadyBound)return!0;if((a.get||a.set)&&a.enumerable){let f=a.get,d=a.set,b=a;f=f&&f.bind(n),d=d&&d.bind(n),f&&(f._x_alreadyBound=!0),d&&(d._x_alreadyBound=!0),Object.defineProperty(o,r,{...b,get:f,set:d})}return!0}return!1})||{})[r],set:(i,r,o)=>{let a=e.find(f=>f.hasOwnProperty(r));return a?a[r]=o:e[e.length-1][r]=o,!0}});return n}function ma(e){let n=r=>typeof r=="object"&&!Array.isArray(r)&&r!==null,i=(r,o="")=>{Object.entries(Object.getOwnPropertyDescriptors(r)).forEach(([a,{value:f,enumerable:d}])=>{if(d===!1||f===void 0)return;let b=o===""?a:`${o}.${a}`;typeof f=="object"&&f!==null&&f._x_interceptor?r[a]=f.initialize(e,b,a):n(f)&&f!==r&&!(f instanceof Element)&&i(f,b)})};return i(e)}function ba(e,n=()=>{}){let i={initialValue:void 0,_x_interceptor:!0,initialize(r,o,a){return e(this.initialValue,()=>$c(r,o),f=>yo(r,o,f),o,a)}};return n(i),r=>{if(typeof r=="object"&&r!==null&&r._x_interceptor){let o=i.initialize.bind(i);i.initialize=(a,f,d)=>{let b=r.initialize(a,f,d);return i.initialValue=b,o(a,f,d)}}else i.initialValue=r;return i}}function $c(e,n){return n.split(".").reduce((i,r)=>i[r],e)}function yo(e,n,i){if(typeof n=="string"&&(n=n.split(".")),n.length===1)e[n[0]]=i;else{if(n.length===0)throw error;return e[n[0]]||(e[n[0]]={}),yo(e[n[0]],n.slice(1),i)}}var wa={};function En(e,n){wa[e]=n}function go(e,n){return Object.entries(wa).forEach(([i,r])=>{Object.defineProperty(e,`$${i}`,{get(){let[o,a]=Ca(n);return o={interceptor:ba,...o},ya(n,a),r(n,o)},enumerable:!1})}),e}function Wc(e,n,i,...r){try{return i(...r)}catch(o){Fr(o,e,n)}}function Fr(e,n,i=void 0){Object.assign(e,{el:n,expression:i}),console.warn(`Alpine Expression Error: ${e.message}
${i?'Expression: "'+i+`"
`:""}`,n),setTimeout(()=>{throw e},0)}var ui=!0;function Yc(e){let n=ui;ui=!1,e(),ui=n}function dr(e,n,i={}){let r;return on(e,n)(o=>r=o,i),r}function on(...e){return _a(...e)}var _a=Sa;function Jc(e){_a=e}function Sa(e,n){let i={};go(i,e);let r=[i,...yr(e)],o=typeof n=="function"?Vc(r,n):Kc(r,n,e);return Wc.bind(null,e,n,o)}function Vc(e,n){return(i=()=>{},{scope:r={},params:o=[]}={})=>{let a=n.apply($r([r,...e]),o);pi(i,a)}}var Gi={};function Xc(e,n){if(Gi[e])return Gi[e];let i=Object.getPrototypeOf(async function(){}).constructor,r=/^[\n\s]*if.*\(.*\)/.test(e)||/^(let|const)\s/.test(e)?`(async()=>{ ${e} })()`:e,a=(()=>{try{return new i(["__self","scope"],`with (scope) { __self.result = ${r} }; __self.finished = true; return __self.result;`)}catch(f){return Fr(f,n,e),Promise.resolve()}})();return Gi[e]=a,a}function Kc(e,n,i){let r=Xc(n,i);return(o=()=>{},{scope:a={},params:f=[]}={})=>{r.result=void 0,r.finished=!1;let d=$r([a,...e]);if(typeof r=="function"){let b=r(r,d).catch(v=>Fr(v,i,n));r.finished?(pi(o,r.result,d,f,i),r.result=void 0):b.then(v=>{pi(o,v,d,f,i)}).catch(v=>Fr(v,i,n)).finally(()=>r.result=void 0)}}}function pi(e,n,i,r,o){if(ui&&typeof n=="function"){let a=n.apply(i,r);a instanceof Promise?a.then(f=>pi(e,f,i,r)).catch(f=>Fr(f,o,n)):e(a)}else typeof n=="object"&&n instanceof Promise?n.then(a=>e(a)):e(n)}var zo="x-";function wr(e=""){return zo+e}function Gc(e){zo=e}var vo={};function qt(e,n){return vo[e]=n,{before(i){if(!vo[i]){console.warn("Cannot find directive `${directive}`. `${name}` will use the default order of execution");return}const r=ar.indexOf(i);ar.splice(r>=0?r:ar.indexOf("DEFAULT"),0,e)}}}function $o(e,n,i){if(n=Array.from(n),e._x_virtualDirectives){let a=Object.entries(e._x_virtualDirectives).map(([d,b])=>({name:d,value:b})),f=Ta(a);a=a.map(d=>f.find(b=>b.name===d.name)?{name:`x-bind:${d.name}`,value:`"${d.value}"`}:d),n=n.concat(a)}let r={};return n.map(Ra((a,f)=>r[a]=f)).filter(ka).map(el(r,i)).sort(tl).map(a=>Zc(e,a))}function Ta(e){return Array.from(e).map(Ra()).filter(n=>!ka(n))}var xo=!1,Lr=new Map,Ea=Symbol();function Qc(e){xo=!0;let n=Symbol();Ea=n,Lr.set(n,[]);let i=()=>{for(;Lr.get(n).length;)Lr.get(n).shift()();Lr.delete(n)},r=()=>{xo=!1,i()};e(i),r()}function Ca(e){let n=[],i=d=>n.push(d),[r,o]=Dc(e);return n.push(o),[{Alpine:Yr,effect:r,cleanup:i,evaluateLater:on.bind(on,e),evaluate:dr.bind(dr,e)},()=>n.forEach(d=>d())]}function Zc(e,n){let i=()=>{},r=vo[n.type]||i,[o,a]=Ca(e);Bc(e,n.original,a);let f=()=>{e._x_ignore||e._x_ignoreSelf||(r.inline&&r.inline(e,n,o),r=r.bind(r,e,n,o),xo?Lr.get(Ea).push(r):r())};return f.runCleanups=a,f}var Aa=(e,n)=>({name:i,value:r})=>(i.startsWith(e)&&(i=i.replace(e,n)),{name:i,value:r}),Oa=e=>e;function Ra(e=()=>{}){return({name:n,value:i})=>{let{name:r,value:o}=Pa.reduce((a,f)=>f(a),{name:n,value:i});return r!==n&&e(r,n),{name:r,value:o}}}var Pa=[];function Wo(e){Pa.push(e)}function ka({name:e}){return Na().test(e)}var Na=()=>new RegExp(`^${zo}([^:^.]+)\\b`);function el(e,n){return({name:i,value:r})=>{let o=i.match(Na()),a=i.match(/:([a-zA-Z0-9\-:]+)/),f=i.match(/\.[^.\]]+(?=[^\]]*$)/g)||[],d=n||e[i]||i;return{type:o?o[1]:null,value:a?a[1]:null,modifiers:f.map(b=>b.replace(".","")),expression:r,original:d}}}var mo="DEFAULT",ar=["ignore","ref","data","id","bind","init","for","model","modelable","transition","show","if",mo,"teleport"];function tl(e,n){let i=ar.indexOf(e.type)===-1?mo:e.type,r=ar.indexOf(n.type)===-1?mo:n.type;return ar.indexOf(i)-ar.indexOf(r)}function Mr(e,n,i={}){e.dispatchEvent(new CustomEvent(n,{detail:i,bubbles:!0,composed:!0,cancelable:!0}))}function Xn(e,n){if(typeof ShadowRoot=="function"&&e instanceof ShadowRoot){Array.from(e.children).forEach(o=>Xn(o,n));return}let i=!1;if(n(e,()=>i=!0),i)return;let r=e.firstElementChild;for(;r;)Xn(r,n),r=r.nextElementSibling}function gr(e,...n){console.warn(`Alpine Warning: ${e}`,...n)}function nl(){document.body||gr("Unable to initialize. Trying to load Alpine before `<body>` is available. Did you forget to add `defer` in Alpine's `<script>` tag?"),Mr(document,"alpine:init"),Mr(document,"alpine:initializing"),Uo(),jc(n=>Kn(n,Xn)),ya(n=>Ba(n)),Fc((n,i)=>{$o(n,i).forEach(r=>r())});let e=n=>!_i(n.parentElement,!0);Array.from(document.querySelectorAll(Ma())).filter(e).forEach(n=>{Kn(n)}),Mr(document,"alpine:initialized")}var Yo=[],La=[];function Ia(){return Yo.map(e=>e())}function Ma(){return Yo.concat(La).map(e=>e())}function Da(e){Yo.push(e)}function ja(e){La.push(e)}function _i(e,n=!1){return Si(e,i=>{if((n?Ma():Ia()).some(o=>i.matches(o)))return!0})}function Si(e,n){if(e){if(n(e))return e;if(e._x_teleportBack&&(e=e._x_teleportBack),!!e.parentElement)return Si(e.parentElement,n)}}function rl(e){return Ia().some(n=>e.matches(n))}var Fa=[];function il(e){Fa.push(e)}function Kn(e,n=Xn,i=()=>{}){Qc(()=>{n(e,(r,o)=>{i(r,o),Fa.forEach(a=>a(r,o)),$o(r,r.attributes).forEach(a=>a()),r._x_ignore&&o()})})}function Ba(e){Xn(e,n=>ga(n))}var bo=[],Jo=!1;function Vo(e=()=>{}){return queueMicrotask(()=>{Jo||setTimeout(()=>{wo()})}),new Promise(n=>{bo.push(()=>{e(),n()})})}function wo(){for(Jo=!1;bo.length;)bo.shift()()}function ol(){Jo=!0}function Xo(e,n){return Array.isArray(n)?Ls(e,n.join(" ")):typeof n=="object"&&n!==null?sl(e,n):typeof n=="function"?Xo(e,n()):Ls(e,n)}function Ls(e,n){let i=o=>o.split(" ").filter(a=>!e.classList.contains(a)).filter(Boolean),r=o=>(e.classList.add(...o),()=>{e.classList.remove(...o)});return n=n===!0?n="":n||"",r(i(n))}function sl(e,n){let i=d=>d.split(" ").filter(Boolean),r=Object.entries(n).flatMap(([d,b])=>b?i(d):!1).filter(Boolean),o=Object.entries(n).flatMap(([d,b])=>b?!1:i(d)).filter(Boolean),a=[],f=[];return o.forEach(d=>{e.classList.contains(d)&&(e.classList.remove(d),f.push(d))}),r.forEach(d=>{e.classList.contains(d)||(e.classList.add(d),a.push(d))}),()=>{f.forEach(d=>e.classList.add(d)),a.forEach(d=>e.classList.remove(d))}}function Ti(e,n){return typeof n=="object"&&n!==null?al(e,n):ul(e,n)}function al(e,n){let i={};return Object.entries(n).forEach(([r,o])=>{i[r]=e.style[r],r.startsWith("--")||(r=fl(r)),e.style.setProperty(r,o)}),setTimeout(()=>{e.style.length===0&&e.removeAttribute("style")}),()=>{Ti(e,i)}}function ul(e,n){let i=e.getAttribute("style",n);return e.setAttribute("style",n),()=>{e.setAttribute("style",i||"")}}function fl(e){return e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function _o(e,n=()=>{}){let i=!1;return function(){i?n.apply(this,arguments):(i=!0,e.apply(this,arguments))}}qt("transition",(e,{value:n,modifiers:i,expression:r},{evaluate:o})=>{typeof r=="function"&&(r=o(r)),r?cl(e,r,n):ll(e,i,n)});function cl(e,n,i){Ua(e,Xo,""),{enter:o=>{e._x_transition.enter.during=o},"enter-start":o=>{e._x_transition.enter.start=o},"enter-end":o=>{e._x_transition.enter.end=o},leave:o=>{e._x_transition.leave.during=o},"leave-start":o=>{e._x_transition.leave.start=o},"leave-end":o=>{e._x_transition.leave.end=o}}[i](n)}function ll(e,n,i){Ua(e,Ti);let r=!n.includes("in")&&!n.includes("out")&&!i,o=r||n.includes("in")||["enter"].includes(i),a=r||n.includes("out")||["leave"].includes(i);n.includes("in")&&!r&&(n=n.filter((N,H)=>H<n.indexOf("out"))),n.includes("out")&&!r&&(n=n.filter((N,H)=>H>n.indexOf("out")));let f=!n.includes("opacity")&&!n.includes("scale"),d=f||n.includes("opacity"),b=f||n.includes("scale"),v=d?0:1,_=b?kr(n,"scale",95)/100:1,x=kr(n,"delay",0),O=kr(n,"origin","center"),C="opacity, transform",S=kr(n,"duration",150)/1e3,P=kr(n,"duration",75)/1e3,I="cubic-bezier(0.4, 0.0, 0.2, 1)";o&&(e._x_transition.enter.during={transformOrigin:O,transitionDelay:x,transitionProperty:C,transitionDuration:`${S}s`,transitionTimingFunction:I},e._x_transition.enter.start={opacity:v,transform:`scale(${_})`},e._x_transition.enter.end={opacity:1,transform:"scale(1)"}),a&&(e._x_transition.leave.during={transformOrigin:O,transitionDelay:x,transitionProperty:C,transitionDuration:`${P}s`,transitionTimingFunction:I},e._x_transition.leave.start={opacity:1,transform:"scale(1)"},e._x_transition.leave.end={opacity:v,transform:`scale(${_})`})}function Ua(e,n,i={}){e._x_transition||(e._x_transition={enter:{during:i,start:i,end:i},leave:{during:i,start:i,end:i},in(r=()=>{},o=()=>{}){So(e,n,{during:this.enter.during,start:this.enter.start,end:this.enter.end},r,o)},out(r=()=>{},o=()=>{}){So(e,n,{during:this.leave.during,start:this.leave.start,end:this.leave.end},r,o)}})}window.Element.prototype._x_toggleAndCascadeWithTransitions=function(e,n,i,r){const o=document.visibilityState==="visible"?requestAnimationFrame:setTimeout;let a=()=>o(i);if(n){e._x_transition&&(e._x_transition.enter||e._x_transition.leave)?e._x_transition.enter&&(Object.entries(e._x_transition.enter.during).length||Object.entries(e._x_transition.enter.start).length||Object.entries(e._x_transition.enter.end).length)?e._x_transition.in(i):a():e._x_transition?e._x_transition.in(i):a();return}e._x_hidePromise=e._x_transition?new Promise((f,d)=>{e._x_transition.out(()=>{},()=>f(r)),e._x_transitioning.beforeCancel(()=>d({isFromCancelledTransition:!0}))}):Promise.resolve(r),queueMicrotask(()=>{let f=Ha(e);f?(f._x_hideChildren||(f._x_hideChildren=[]),f._x_hideChildren.push(e)):o(()=>{let d=b=>{let v=Promise.all([b._x_hidePromise,...(b._x_hideChildren||[]).map(d)]).then(([_])=>_());return delete b._x_hidePromise,delete b._x_hideChildren,v};d(e).catch(b=>{if(!b.isFromCancelledTransition)throw b})})})};function Ha(e){let n=e.parentNode;if(n)return n._x_hidePromise?n:Ha(n)}function So(e,n,{during:i,start:r,end:o}={},a=()=>{},f=()=>{}){if(e._x_transitioning&&e._x_transitioning.cancel(),Object.keys(i).length===0&&Object.keys(r).length===0&&Object.keys(o).length===0){a(),f();return}let d,b,v;hl(e,{start(){d=n(e,r)},during(){b=n(e,i)},before:a,end(){d(),v=n(e,o)},after:f,cleanup(){b(),v()}})}function hl(e,n){let i,r,o,a=_o(()=>{Qt(()=>{i=!0,r||n.before(),o||(n.end(),wo()),n.after(),e.isConnected&&n.cleanup(),delete e._x_transitioning})});e._x_transitioning={beforeCancels:[],beforeCancel(f){this.beforeCancels.push(f)},cancel:_o(function(){for(;this.beforeCancels.length;)this.beforeCancels.shift()();a()}),finish:a},Qt(()=>{n.start(),n.during()}),ol(),requestAnimationFrame(()=>{if(i)return;let f=Number(getComputedStyle(e).transitionDuration.replace(/,.*/,"").replace("s",""))*1e3,d=Number(getComputedStyle(e).transitionDelay.replace(/,.*/,"").replace("s",""))*1e3;f===0&&(f=Number(getComputedStyle(e).animationDuration.replace("s",""))*1e3),Qt(()=>{n.before()}),r=!0,requestAnimationFrame(()=>{i||(Qt(()=>{n.end()}),wo(),setTimeout(e._x_transitioning.finish,f+d),o=!0)})})}function kr(e,n,i){if(e.indexOf(n)===-1)return i;const r=e[e.indexOf(n)+1];if(!r||n==="scale"&&isNaN(r))return i;if(n==="duration"){let o=r.match(/([0-9]+)ms/);if(o)return o[1]}return n==="origin"&&["top","right","left","center","bottom"].includes(e[e.indexOf(n)+2])?[r,e[e.indexOf(n)+2]].join(" "):r}var Br=!1;function Wr(e,n=()=>{}){return(...i)=>Br?n(...i):e(...i)}function dl(e){return(...n)=>Br&&e(...n)}function pl(e,n){n._x_dataStack||(n._x_dataStack=e._x_dataStack),Br=!0,gl(()=>{yl(n)}),Br=!1}function yl(e){let n=!1;Kn(e,(r,o)=>{Xn(r,(a,f)=>{if(n&&rl(a))return f();n=!0,o(a,f)})})}function gl(e){let n=br;ks((i,r)=>{let o=n(i);return qr(o),()=>{}}),e(),ks(n)}function qa(e,n,i,r=[]){switch(e._x_bindings||(e._x_bindings=mr({})),e._x_bindings[n]=i,n=r.includes("camel")?Sl(n):n,n){case"value":vl(e,i);break;case"style":ml(e,i);break;case"class":xl(e,i);break;default:bl(e,n,i);break}}function vl(e,n){if(e.type==="radio")e.attributes.value===void 0&&(e.value=n),window.fromModel&&(e.checked=Is(e.value,n));else if(e.type==="checkbox")Number.isInteger(n)?e.value=n:!Number.isInteger(n)&&!Array.isArray(n)&&typeof n!="boolean"&&![null,void 0].includes(n)?e.value=String(n):Array.isArray(n)?e.checked=n.some(i=>Is(i,e.value)):e.checked=!!n;else if(e.tagName==="SELECT")_l(e,n);else{if(e.value===n)return;e.value=n}}function xl(e,n){e._x_undoAddedClasses&&e._x_undoAddedClasses(),e._x_undoAddedClasses=Xo(e,n)}function ml(e,n){e._x_undoAddedStyles&&e._x_undoAddedStyles(),e._x_undoAddedStyles=Ti(e,n)}function bl(e,n,i){[null,void 0,!1].includes(i)&&Tl(n)?e.removeAttribute(n):(za(n)&&(i=n),wl(e,n,i))}function wl(e,n,i){e.getAttribute(n)!=i&&e.setAttribute(n,i)}function _l(e,n){const i=[].concat(n).map(r=>r+"");Array.from(e.options).forEach(r=>{r.selected=i.includes(r.value)})}function Sl(e){return e.toLowerCase().replace(/-(\w)/g,(n,i)=>i.toUpperCase())}function Is(e,n){return e==n}function za(e){return["disabled","checked","required","readonly","hidden","open","selected","autofocus","itemscope","multiple","novalidate","allowfullscreen","allowpaymentrequest","formnovalidate","autoplay","controls","loop","muted","playsinline","default","ismap","reversed","async","defer","nomodule"].includes(e)}function Tl(e){return!["aria-pressed","aria-checked","aria-expanded","aria-selected"].includes(e)}function El(e,n,i){if(e._x_bindings&&e._x_bindings[n]!==void 0)return e._x_bindings[n];let r=e.getAttribute(n);return r===null?typeof i=="function"?i():i:r===""?!0:za(n)?!![n,"true"].includes(r):r}function $a(e,n){var i;return function(){var r=this,o=arguments,a=function(){i=null,e.apply(r,o)};clearTimeout(i),i=setTimeout(a,n)}}function Wa(e,n){let i;return function(){let r=this,o=arguments;i||(e.apply(r,o),i=!0,setTimeout(()=>i=!1,n))}}function Cl(e){e(Yr)}var sr={},Ms=!1;function Al(e,n){if(Ms||(sr=mr(sr),Ms=!0),n===void 0)return sr[e];sr[e]=n,typeof n=="object"&&n!==null&&n.hasOwnProperty("init")&&typeof n.init=="function"&&sr[e].init(),ma(sr[e])}function Ol(){return sr}var Ya={};function Rl(e,n){let i=typeof n!="function"?()=>n:n;e instanceof Element?Ja(e,i()):Ya[e]=i}function Pl(e){return Object.entries(Ya).forEach(([n,i])=>{Object.defineProperty(e,n,{get(){return(...r)=>i(...r)}})}),e}function Ja(e,n,i){let r=[];for(;r.length;)r.pop()();let o=Object.entries(n).map(([f,d])=>({name:f,value:d})),a=Ta(o);o=o.map(f=>a.find(d=>d.name===f.name)?{name:`x-bind:${f.name}`,value:`"${f.value}"`}:f),$o(e,o,i).map(f=>{r.push(f.runCleanups),f()})}var Va={};function kl(e,n){Va[e]=n}function Nl(e,n){return Object.entries(Va).forEach(([i,r])=>{Object.defineProperty(e,i,{get(){return(...o)=>r.bind(n)(...o)},enumerable:!1})}),e}var Ll={get reactive(){return mr},get release(){return qr},get effect(){return br},get raw(){return la},version:"3.12.0",flushAndStopDeferringMutations:zc,dontAutoEvaluateFunctions:Yc,disableEffectScheduling:Ic,startObservingMutations:Uo,stopObservingMutations:va,setReactivityEngine:Mc,closestDataStack:yr,skipDuringClone:Wr,onlyDuringClone:dl,addRootSelector:Da,addInitSelector:ja,addScopeToNode:zr,deferMutations:qc,mapAttributes:Wo,evaluateLater:on,interceptInit:il,setEvaluator:Jc,mergeProxies:$r,findClosest:Si,closestRoot:_i,destroyTree:Ba,interceptor:ba,transition:So,setStyles:Ti,mutateDom:Qt,directive:qt,throttle:Wa,debounce:$a,evaluate:dr,initTree:Kn,nextTick:Vo,prefixed:wr,prefix:Gc,plugin:Cl,magic:En,store:Al,start:nl,clone:pl,bound:El,$data:xa,walk:Xn,data:kl,bind:Rl},Yr=Ll;function Il(e,n){const i=Object.create(null),r=e.split(",");for(let o=0;o<r.length;o++)i[r[o]]=!0;return n?o=>!!i[o.toLowerCase()]:o=>!!i[o]}var Ml=Object.freeze({}),Xa=Object.assign,Dl=Object.prototype.hasOwnProperty,Ei=(e,n)=>Dl.call(e,n),fr=Array.isArray,Dr=e=>Ka(e)==="[object Map]",jl=e=>typeof e=="string",Ko=e=>typeof e=="symbol",Ci=e=>e!==null&&typeof e=="object",Fl=Object.prototype.toString,Ka=e=>Fl.call(e),Ga=e=>Ka(e).slice(8,-1),Go=e=>jl(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Bl=e=>{const n=Object.create(null);return i=>n[i]||(n[i]=e(i))},Ul=Bl(e=>e.charAt(0).toUpperCase()+e.slice(1)),Qa=(e,n)=>e!==n&&(e===e||n===n),To=new WeakMap,Nr=[],On,cr=Symbol("iterate"),Eo=Symbol("Map key iterate");function Hl(e){return e&&e._isEffect===!0}function ql(e,n=Ml){Hl(e)&&(e=e.raw);const i=Wl(e,n);return n.lazy||i(),i}function zl(e){e.active&&(Za(e),e.options.onStop&&e.options.onStop(),e.active=!1)}var $l=0;function Wl(e,n){const i=function(){if(!i.active)return e();if(!Nr.includes(i)){Za(i);try{return Jl(),Nr.push(i),On=i,e()}finally{Nr.pop(),eu(),On=Nr[Nr.length-1]}}};return i.id=$l++,i.allowRecurse=!!n.allowRecurse,i._isEffect=!0,i.active=!0,i.raw=e,i.deps=[],i.options=n,i}function Za(e){const{deps:n}=e;if(n.length){for(let i=0;i<n.length;i++)n[i].delete(e);n.length=0}}var vr=!0,Qo=[];function Yl(){Qo.push(vr),vr=!1}function Jl(){Qo.push(vr),vr=!0}function eu(){const e=Qo.pop();vr=e===void 0?!0:e}function Tn(e,n,i){if(!vr||On===void 0)return;let r=To.get(e);r||To.set(e,r=new Map);let o=r.get(i);o||r.set(i,o=new Set),o.has(On)||(o.add(On),On.deps.push(o),On.options.onTrack&&On.options.onTrack({effect:On,target:e,type:n,key:i}))}function Gn(e,n,i,r,o,a){const f=To.get(e);if(!f)return;const d=new Set,b=_=>{_&&_.forEach(x=>{(x!==On||x.allowRecurse)&&d.add(x)})};if(n==="clear")f.forEach(b);else if(i==="length"&&fr(e))f.forEach((_,x)=>{(x==="length"||x>=r)&&b(_)});else switch(i!==void 0&&b(f.get(i)),n){case"add":fr(e)?Go(i)&&b(f.get("length")):(b(f.get(cr)),Dr(e)&&b(f.get(Eo)));break;case"delete":fr(e)||(b(f.get(cr)),Dr(e)&&b(f.get(Eo)));break;case"set":Dr(e)&&b(f.get(cr));break}const v=_=>{_.options.onTrigger&&_.options.onTrigger({effect:_,target:e,key:i,type:n,newValue:r,oldValue:o,oldTarget:a}),_.options.scheduler?_.options.scheduler(_):_()};d.forEach(v)}var Vl=Il("__proto__,__v_isRef,__isVue"),tu=new Set(Object.getOwnPropertyNames(Symbol).map(e=>Symbol[e]).filter(Ko)),Xl=Ai(),Kl=Ai(!1,!0),Gl=Ai(!0),Ql=Ai(!0,!0),yi={};["includes","indexOf","lastIndexOf"].forEach(e=>{const n=Array.prototype[e];yi[e]=function(...i){const r=Ot(this);for(let a=0,f=this.length;a<f;a++)Tn(r,"get",a+"");const o=n.apply(r,i);return o===-1||o===!1?n.apply(r,i.map(Ot)):o}});["push","pop","shift","unshift","splice"].forEach(e=>{const n=Array.prototype[e];yi[e]=function(...i){Yl();const r=n.apply(this,i);return eu(),r}});function Ai(e=!1,n=!1){return function(r,o,a){if(o==="__v_isReactive")return!e;if(o==="__v_isReadonly")return e;if(o==="__v_raw"&&a===(e?n?uh:gu:n?ah:yu).get(r))return r;const f=fr(r);if(!e&&f&&Ei(yi,o))return Reflect.get(yi,o,a);const d=Reflect.get(r,o,a);return(Ko(o)?tu.has(o):Vl(o))||(e||Tn(r,"get",o),n)?d:Co(d)?!f||!Go(o)?d.value:d:Ci(d)?e?vu(d):ns(d):d}}var Zl=nu(),eh=nu(!0);function nu(e=!1){return function(i,r,o,a){let f=i[r];if(!e&&(o=Ot(o),f=Ot(f),!fr(i)&&Co(f)&&!Co(o)))return f.value=o,!0;const d=fr(i)&&Go(r)?Number(r)<i.length:Ei(i,r),b=Reflect.set(i,r,o,a);return i===Ot(a)&&(d?Qa(o,f)&&Gn(i,"set",r,o,f):Gn(i,"add",r,o)),b}}function th(e,n){const i=Ei(e,n),r=e[n],o=Reflect.deleteProperty(e,n);return o&&i&&Gn(e,"delete",n,void 0,r),o}function nh(e,n){const i=Reflect.has(e,n);return(!Ko(n)||!tu.has(n))&&Tn(e,"has",n),i}function rh(e){return Tn(e,"iterate",fr(e)?"length":cr),Reflect.ownKeys(e)}var ru={get:Xl,set:Zl,deleteProperty:th,has:nh,ownKeys:rh},iu={get:Gl,set(e,n){return console.warn(`Set operation on key "${String(n)}" failed: target is readonly.`,e),!0},deleteProperty(e,n){return console.warn(`Delete operation on key "${String(n)}" failed: target is readonly.`,e),!0}};Xa({},ru,{get:Kl,set:eh});Xa({},iu,{get:Ql});var Zo=e=>Ci(e)?ns(e):e,es=e=>Ci(e)?vu(e):e,ts=e=>e,Oi=e=>Reflect.getPrototypeOf(e);function Ri(e,n,i=!1,r=!1){e=e.__v_raw;const o=Ot(e),a=Ot(n);n!==a&&!i&&Tn(o,"get",n),!i&&Tn(o,"get",a);const{has:f}=Oi(o),d=r?ts:i?es:Zo;if(f.call(o,n))return d(e.get(n));if(f.call(o,a))return d(e.get(a));e!==o&&e.get(n)}function Pi(e,n=!1){const i=this.__v_raw,r=Ot(i),o=Ot(e);return e!==o&&!n&&Tn(r,"has",e),!n&&Tn(r,"has",o),e===o?i.has(e):i.has(e)||i.has(o)}function ki(e,n=!1){return e=e.__v_raw,!n&&Tn(Ot(e),"iterate",cr),Reflect.get(e,"size",e)}function ou(e){e=Ot(e);const n=Ot(this);return Oi(n).has.call(n,e)||(n.add(e),Gn(n,"add",e,e)),this}function su(e,n){n=Ot(n);const i=Ot(this),{has:r,get:o}=Oi(i);let a=r.call(i,e);a?pu(i,r,e):(e=Ot(e),a=r.call(i,e));const f=o.call(i,e);return i.set(e,n),a?Qa(n,f)&&Gn(i,"set",e,n,f):Gn(i,"add",e,n),this}function au(e){const n=Ot(this),{has:i,get:r}=Oi(n);let o=i.call(n,e);o?pu(n,i,e):(e=Ot(e),o=i.call(n,e));const a=r?r.call(n,e):void 0,f=n.delete(e);return o&&Gn(n,"delete",e,void 0,a),f}function uu(){const e=Ot(this),n=e.size!==0,i=Dr(e)?new Map(e):new Set(e),r=e.clear();return n&&Gn(e,"clear",void 0,void 0,i),r}function Ni(e,n){return function(r,o){const a=this,f=a.__v_raw,d=Ot(f),b=n?ts:e?es:Zo;return!e&&Tn(d,"iterate",cr),f.forEach((v,_)=>r.call(o,b(v),b(_),a))}}function ri(e,n,i){return function(...r){const o=this.__v_raw,a=Ot(o),f=Dr(a),d=e==="entries"||e===Symbol.iterator&&f,b=e==="keys"&&f,v=o[e](...r),_=i?ts:n?es:Zo;return!n&&Tn(a,"iterate",b?Eo:cr),{next(){const{value:x,done:O}=v.next();return O?{value:x,done:O}:{value:d?[_(x[0]),_(x[1])]:_(x),done:O}},[Symbol.iterator](){return this}}}}function Jn(e){return function(...n){{const i=n[0]?`on key "${n[0]}" `:"";console.warn(`${Ul(e)} operation ${i}failed: target is readonly.`,Ot(this))}return e==="delete"?!1:this}}var fu={get(e){return Ri(this,e)},get size(){return ki(this)},has:Pi,add:ou,set:su,delete:au,clear:uu,forEach:Ni(!1,!1)},cu={get(e){return Ri(this,e,!1,!0)},get size(){return ki(this)},has:Pi,add:ou,set:su,delete:au,clear:uu,forEach:Ni(!1,!0)},lu={get(e){return Ri(this,e,!0)},get size(){return ki(this,!0)},has(e){return Pi.call(this,e,!0)},add:Jn("add"),set:Jn("set"),delete:Jn("delete"),clear:Jn("clear"),forEach:Ni(!0,!1)},hu={get(e){return Ri(this,e,!0,!0)},get size(){return ki(this,!0)},has(e){return Pi.call(this,e,!0)},add:Jn("add"),set:Jn("set"),delete:Jn("delete"),clear:Jn("clear"),forEach:Ni(!0,!0)},ih=["keys","values","entries",Symbol.iterator];ih.forEach(e=>{fu[e]=ri(e,!1,!1),lu[e]=ri(e,!0,!1),cu[e]=ri(e,!1,!0),hu[e]=ri(e,!0,!0)});function du(e,n){const i=n?e?hu:cu:e?lu:fu;return(r,o,a)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_raw"?r:Reflect.get(Ei(i,o)&&o in r?i:r,o,a)}var oh={get:du(!1,!1)},sh={get:du(!0,!1)};function pu(e,n,i){const r=Ot(i);if(r!==i&&n.call(e,r)){const o=Ga(e);console.warn(`Reactive ${o} contains both the raw and reactive versions of the same object${o==="Map"?" as keys":""}, which can lead to inconsistencies. Avoid differentiating between the raw and reactive versions of an object and only use the reactive version if possible.`)}}var yu=new WeakMap,ah=new WeakMap,gu=new WeakMap,uh=new WeakMap;function fh(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function ch(e){return e.__v_skip||!Object.isExtensible(e)?0:fh(Ga(e))}function ns(e){return e&&e.__v_isReadonly?e:xu(e,!1,ru,oh,yu)}function vu(e){return xu(e,!0,iu,sh,gu)}function xu(e,n,i,r,o){if(!Ci(e))return console.warn(`value cannot be made reactive: ${String(e)}`),e;if(e.__v_raw&&!(n&&e.__v_isReactive))return e;const a=o.get(e);if(a)return a;const f=ch(e);if(f===0)return e;const d=new Proxy(e,f===2?r:i);return o.set(e,d),d}function Ot(e){return e&&Ot(e.__v_raw)||e}function Co(e){return!!(e&&e.__v_isRef===!0)}En("nextTick",()=>Vo);En("dispatch",e=>Mr.bind(Mr,e));En("watch",(e,{evaluateLater:n,effect:i})=>(r,o)=>{let a=n(r),f=!0,d,b=i(()=>a(v=>{JSON.stringify(v),f?d=v:queueMicrotask(()=>{o(v,d),d=v}),f=!1}));e._x_effects.delete(b)});En("store",Ol);En("data",e=>xa(e));En("root",e=>_i(e));En("refs",e=>(e._x_refs_proxy||(e._x_refs_proxy=$r(lh(e))),e._x_refs_proxy));function lh(e){let n=[],i=e;for(;i;)i._x_refs&&n.push(i._x_refs),i=i.parentNode;return n}var Qi={};function mu(e){return Qi[e]||(Qi[e]=0),++Qi[e]}function hh(e,n){return Si(e,i=>{if(i._x_ids&&i._x_ids[n])return!0})}function dh(e,n){e._x_ids||(e._x_ids={}),e._x_ids[n]||(e._x_ids[n]=mu(n))}En("id",e=>(n,i=null)=>{let r=hh(e,n),o=r?r._x_ids[n]:mu(n);return i?`${n}-${o}-${i}`:`${n}-${o}`});En("el",e=>e);bu("Focus","focus","focus");bu("Persist","persist","persist");function bu(e,n,i){En(n,r=>gr(`You can't use [$${directiveName}] without first installing the "${e}" plugin here: https://alpinejs.dev/plugins/${i}`,r))}function ph({get:e,set:n},{get:i,set:r}){let o=!0,a,f,d=br(()=>{let b,v;o?(b=e(),r(b),v=i(),o=!1):(b=e(),v=i(),f=JSON.stringify(b),JSON.stringify(v),f!==a?(v=i(),r(b),v=b):(n(v),b=v)),a=JSON.stringify(b),JSON.stringify(v)});return()=>{qr(d)}}qt("modelable",(e,{expression:n},{effect:i,evaluateLater:r,cleanup:o})=>{let a=r(n),f=()=>{let _;return a(x=>_=x),_},d=r(`${n} = __placeholder`),b=_=>d(()=>{},{scope:{__placeholder:_}}),v=f();b(v),queueMicrotask(()=>{if(!e._x_model)return;e._x_removeModelListeners.default();let _=e._x_model.get,x=e._x_model.set,O=ph({get(){return _()},set(C){x(C)}},{get(){return f()},set(C){b(C)}});o(O)})});var yh=document.createElement("div");qt("teleport",(e,{modifiers:n,expression:i},{cleanup:r})=>{e.tagName.toLowerCase()!=="template"&&gr("x-teleport can only be used on a <template> tag",e);let o=Wr(()=>document.querySelector(i),()=>yh)();o||gr(`Cannot find x-teleport element for selector: "${i}"`);let a=e.content.cloneNode(!0).firstElementChild;e._x_teleport=a,a._x_teleportBack=e,e._x_forwardEvents&&e._x_forwardEvents.forEach(f=>{a.addEventListener(f,d=>{d.stopPropagation(),e.dispatchEvent(new d.constructor(d.type,d))})}),zr(a,{},e),Qt(()=>{n.includes("prepend")?o.parentNode.insertBefore(a,o):n.includes("append")?o.parentNode.insertBefore(a,o.nextSibling):o.appendChild(a),Kn(a),a._x_ignore=!0}),r(()=>a.remove())});var wu=()=>{};wu.inline=(e,{modifiers:n},{cleanup:i})=>{n.includes("self")?e._x_ignoreSelf=!0:e._x_ignore=!0,i(()=>{n.includes("self")?delete e._x_ignoreSelf:delete e._x_ignore})};qt("ignore",wu);qt("effect",(e,{expression:n},{effect:i})=>i(on(e,n)));function Ao(e,n,i,r){let o=e,a=b=>r(b),f={},d=(b,v)=>_=>v(b,_);if(i.includes("dot")&&(n=gh(n)),i.includes("camel")&&(n=vh(n)),i.includes("passive")&&(f.passive=!0),i.includes("capture")&&(f.capture=!0),i.includes("window")&&(o=window),i.includes("document")&&(o=document),i.includes("prevent")&&(a=d(a,(b,v)=>{v.preventDefault(),b(v)})),i.includes("stop")&&(a=d(a,(b,v)=>{v.stopPropagation(),b(v)})),i.includes("self")&&(a=d(a,(b,v)=>{v.target===e&&b(v)})),(i.includes("away")||i.includes("outside"))&&(o=document,a=d(a,(b,v)=>{e.contains(v.target)||v.target.isConnected!==!1&&(e.offsetWidth<1&&e.offsetHeight<1||e._x_isShown!==!1&&b(v))})),i.includes("once")&&(a=d(a,(b,v)=>{b(v),o.removeEventListener(n,a,f)})),a=d(a,(b,v)=>{mh(n)&&bh(v,i)||b(v)}),i.includes("debounce")){let b=i[i.indexOf("debounce")+1]||"invalid-wait",v=gi(b.split("ms")[0])?Number(b.split("ms")[0]):250;a=$a(a,v)}if(i.includes("throttle")){let b=i[i.indexOf("throttle")+1]||"invalid-wait",v=gi(b.split("ms")[0])?Number(b.split("ms")[0]):250;a=Wa(a,v)}return o.addEventListener(n,a,f),()=>{o.removeEventListener(n,a,f)}}function gh(e){return e.replace(/-/g,".")}function vh(e){return e.toLowerCase().replace(/-(\w)/g,(n,i)=>i.toUpperCase())}function gi(e){return!Array.isArray(e)&&!isNaN(e)}function xh(e){return[" ","_"].includes(e)?e:e.replace(/([a-z])([A-Z])/g,"$1-$2").replace(/[_\s]/,"-").toLowerCase()}function mh(e){return["keydown","keyup"].includes(e)}function bh(e,n){let i=n.filter(a=>!["window","document","prevent","stop","once","capture"].includes(a));if(i.includes("debounce")){let a=i.indexOf("debounce");i.splice(a,gi((i[a+1]||"invalid-wait").split("ms")[0])?2:1)}if(i.includes("throttle")){let a=i.indexOf("throttle");i.splice(a,gi((i[a+1]||"invalid-wait").split("ms")[0])?2:1)}if(i.length===0||i.length===1&&Ds(e.key).includes(i[0]))return!1;const o=["ctrl","shift","alt","meta","cmd","super"].filter(a=>i.includes(a));return i=i.filter(a=>!o.includes(a)),!(o.length>0&&o.filter(f=>((f==="cmd"||f==="super")&&(f="meta"),e[`${f}Key`])).length===o.length&&Ds(e.key).includes(i[0]))}function Ds(e){if(!e)return[];e=xh(e);let n={ctrl:"control",slash:"/",space:" ",spacebar:" ",cmd:"meta",esc:"escape",up:"arrow-up",down:"arrow-down",left:"arrow-left",right:"arrow-right",period:".",equal:"=",minus:"-",underscore:"_"};return n[e]=e,Object.keys(n).map(i=>{if(n[i]===e)return i}).filter(i=>i)}qt("model",(e,{modifiers:n,expression:i},{effect:r,cleanup:o})=>{let a=e;n.includes("parent")&&(a=e.parentNode);let f=on(a,i),d;typeof i=="string"?d=on(a,`${i} = __placeholder`):typeof i=="function"&&typeof i()=="string"?d=on(a,`${i()} = __placeholder`):d=()=>{};let b=()=>{let O;return f(C=>O=C),js(O)?O.get():O},v=O=>{let C;f(S=>C=S),js(C)?C.set(O):d(()=>{},{scope:{__placeholder:O}})};n.includes("fill")&&e.hasAttribute("value")&&(b()===null||b()==="")&&v(e.value),typeof i=="string"&&e.type==="radio"&&Qt(()=>{e.hasAttribute("name")||e.setAttribute("name",i)});var _=e.tagName.toLowerCase()==="select"||["checkbox","radio"].includes(e.type)||n.includes("lazy")?"change":"input";let x=Br?()=>{}:Ao(e,_,n,O=>{v(wh(e,n,O,b()))});if(e._x_removeModelListeners||(e._x_removeModelListeners={}),e._x_removeModelListeners.default=x,o(()=>e._x_removeModelListeners.default()),e.form){let O=Ao(e.form,"reset",[],C=>{Vo(()=>e._x_model&&e._x_model.set(e.value))});o(()=>O())}e._x_model={get(){return b()},set(O){v(O)}},e._x_forceModelUpdate=O=>{O=O===void 0?b():O,O===void 0&&typeof i=="string"&&i.match(/\./)&&(O=""),window.fromModel=!0,Qt(()=>qa(e,"value",O)),delete window.fromModel},r(()=>{let O=b();n.includes("unintrusive")&&document.activeElement.isSameNode(e)||e._x_forceModelUpdate(O)})});function wh(e,n,i,r){return Qt(()=>{if(i instanceof CustomEvent&&i.detail!==void 0)return typeof i.detail<"u"?i.detail:i.target.value;if(e.type==="checkbox")if(Array.isArray(r)){let o=n.includes("number")?Zi(i.target.value):i.target.value;return i.target.checked?r.concat([o]):r.filter(a=>!_h(a,o))}else return i.target.checked;else{if(e.tagName.toLowerCase()==="select"&&e.multiple)return n.includes("number")?Array.from(i.target.selectedOptions).map(o=>{let a=o.value||o.text;return Zi(a)}):Array.from(i.target.selectedOptions).map(o=>o.value||o.text);{let o=i.target.value;return n.includes("number")?Zi(o):n.includes("trim")?o.trim():o}}})}function Zi(e){let n=e?parseFloat(e):null;return Sh(n)?n:e}function _h(e,n){return e==n}function Sh(e){return!Array.isArray(e)&&!isNaN(e)}function js(e){return e!==null&&typeof e=="object"&&typeof e.get=="function"&&typeof e.set=="function"}qt("cloak",e=>queueMicrotask(()=>Qt(()=>e.removeAttribute(wr("cloak")))));ja(()=>`[${wr("init")}]`);qt("init",Wr((e,{expression:n},{evaluate:i})=>typeof n=="string"?!!n.trim()&&i(n,{},!1):i(n,{},!1)));qt("text",(e,{expression:n},{effect:i,evaluateLater:r})=>{let o=r(n);i(()=>{o(a=>{Qt(()=>{e.textContent=a})})})});qt("html",(e,{expression:n},{effect:i,evaluateLater:r})=>{let o=r(n);i(()=>{o(a=>{Qt(()=>{e.innerHTML=a,e._x_ignoreSelf=!0,Kn(e),delete e._x_ignoreSelf})})})});Wo(Aa(":",Oa(wr("bind:"))));qt("bind",(e,{value:n,modifiers:i,expression:r,original:o},{effect:a})=>{if(!n){let d={};Pl(d),on(e,r)(v=>{Ja(e,v,o)},{scope:d});return}if(n==="key")return Th(e,r);let f=on(e,r);a(()=>f(d=>{d===void 0&&typeof r=="string"&&r.match(/\./)&&(d=""),Qt(()=>qa(e,n,d,i))}))});function Th(e,n){e._x_keyExpression=n}Da(()=>`[${wr("data")}]`);qt("data",Wr((e,{expression:n},{cleanup:i})=>{n=n===""?"{}":n;let r={};go(r,e);let o={};Nl(o,r);let a=dr(e,n,{scope:o});(a===void 0||a===!0)&&(a={}),go(a,e);let f=mr(a);ma(f);let d=zr(e,f);f.init&&dr(e,f.init),i(()=>{f.destroy&&dr(e,f.destroy),d()})}));qt("show",(e,{modifiers:n,expression:i},{effect:r})=>{let o=on(e,i);e._x_doHide||(e._x_doHide=()=>{Qt(()=>{e.style.setProperty("display","none",n.includes("important")?"important":void 0)})}),e._x_doShow||(e._x_doShow=()=>{Qt(()=>{e.style.length===1&&e.style.display==="none"?e.removeAttribute("style"):e.style.removeProperty("display")})});let a=()=>{e._x_doHide(),e._x_isShown=!1},f=()=>{e._x_doShow(),e._x_isShown=!0},d=()=>setTimeout(f),b=_o(x=>x?f():a(),x=>{typeof e._x_toggleAndCascadeWithTransitions=="function"?e._x_toggleAndCascadeWithTransitions(e,x,f,a):x?d():a()}),v,_=!0;r(()=>o(x=>{!_&&x===v||(n.includes("immediate")&&(x?d():a()),b(x),v=x,_=!1)}))});qt("for",(e,{expression:n},{effect:i,cleanup:r})=>{let o=Ch(n),a=on(e,o.items),f=on(e,e._x_keyExpression||"index");e._x_prevKeys=[],e._x_lookup={},i(()=>Eh(e,o,a,f)),r(()=>{Object.values(e._x_lookup).forEach(d=>d.remove()),delete e._x_prevKeys,delete e._x_lookup})});function Eh(e,n,i,r){let o=f=>typeof f=="object"&&!Array.isArray(f),a=e;i(f=>{Ah(f)&&f>=0&&(f=Array.from(Array(f).keys(),I=>I+1)),f===void 0&&(f=[]);let d=e._x_lookup,b=e._x_prevKeys,v=[],_=[];if(o(f))f=Object.entries(f).map(([I,N])=>{let H=Fs(n,N,I,f);r(K=>_.push(K),{scope:{index:I,...H}}),v.push(H)});else for(let I=0;I<f.length;I++){let N=Fs(n,f[I],I,f);r(H=>_.push(H),{scope:{index:I,...N}}),v.push(N)}let x=[],O=[],C=[],S=[];for(let I=0;I<b.length;I++){let N=b[I];_.indexOf(N)===-1&&C.push(N)}b=b.filter(I=>!C.includes(I));let P="template";for(let I=0;I<_.length;I++){let N=_[I],H=b.indexOf(N);if(H===-1)b.splice(I,0,N),x.push([P,I]);else if(H!==I){let K=b.splice(I,1)[0],he=b.splice(H-1,1)[0];b.splice(I,0,he),b.splice(H,0,K),O.push([K,he])}else S.push(N);P=N}for(let I=0;I<C.length;I++){let N=C[I];d[N]._x_effects&&d[N]._x_effects.forEach(ca),d[N].remove(),d[N]=null,delete d[N]}for(let I=0;I<O.length;I++){let[N,H]=O[I],K=d[N],he=d[H],me=document.createElement("div");Qt(()=>{he.after(me),K.after(he),he._x_currentIfEl&&he.after(he._x_currentIfEl),me.before(K),K._x_currentIfEl&&K.after(K._x_currentIfEl),me.remove()}),Ns(he,v[_.indexOf(H)])}for(let I=0;I<x.length;I++){let[N,H]=x[I],K=N==="template"?a:d[N];K._x_currentIfEl&&(K=K._x_currentIfEl);let he=v[H],me=_[H],h=document.importNode(a.content,!0).firstElementChild;zr(h,mr(he),a),Qt(()=>{K.after(h),Kn(h)}),typeof me=="object"&&gr("x-for key cannot be an object, it must be a string or an integer",a),d[me]=h}for(let I=0;I<S.length;I++)Ns(d[S[I]],v[_.indexOf(S[I])]);a._x_prevKeys=_})}function Ch(e){let n=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,i=/^\s*\(|\)\s*$/g,r=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,o=e.match(r);if(!o)return;let a={};a.items=o[2].trim();let f=o[1].replace(i,"").trim(),d=f.match(n);return d?(a.item=f.replace(n,"").trim(),a.index=d[1].trim(),d[2]&&(a.collection=d[2].trim())):a.item=f,a}function Fs(e,n,i,r){let o={};return/^\[.*\]$/.test(e.item)&&Array.isArray(n)?e.item.replace("[","").replace("]","").split(",").map(f=>f.trim()).forEach((f,d)=>{o[f]=n[d]}):/^\{.*\}$/.test(e.item)&&!Array.isArray(n)&&typeof n=="object"?e.item.replace("{","").replace("}","").split(",").map(f=>f.trim()).forEach(f=>{o[f]=n[f]}):o[e.item]=n,e.index&&(o[e.index]=i),e.collection&&(o[e.collection]=r),o}function Ah(e){return!Array.isArray(e)&&!isNaN(e)}function _u(){}_u.inline=(e,{expression:n},{cleanup:i})=>{let r=_i(e);r._x_refs||(r._x_refs={}),r._x_refs[n]=e,i(()=>delete r._x_refs[n])};qt("ref",_u);qt("if",(e,{expression:n},{effect:i,cleanup:r})=>{let o=on(e,n),a=()=>{if(e._x_currentIfEl)return e._x_currentIfEl;let d=e.content.cloneNode(!0).firstElementChild;return zr(d,{},e),Qt(()=>{e.after(d),Kn(d)}),e._x_currentIfEl=d,e._x_undoIf=()=>{Xn(d,b=>{b._x_effects&&b._x_effects.forEach(ca)}),d.remove(),delete e._x_currentIfEl},d},f=()=>{e._x_undoIf&&(e._x_undoIf(),delete e._x_undoIf)};i(()=>o(d=>{d?a():f()})),r(()=>e._x_undoIf&&e._x_undoIf())});qt("id",(e,{expression:n},{evaluate:i})=>{i(n).forEach(o=>dh(e,o))});Wo(Aa("@",Oa(wr("on:"))));qt("on",Wr((e,{value:n,modifiers:i,expression:r},{cleanup:o})=>{let a=r?on(e,r):()=>{};e.tagName.toLowerCase()==="template"&&(e._x_forwardEvents||(e._x_forwardEvents=[]),e._x_forwardEvents.includes(n)||e._x_forwardEvents.push(n));let f=Ao(e,n,i,d=>{a(()=>{},{scope:{$event:d},params:[d]})});o(()=>f())}));Li("Collapse","collapse","collapse");Li("Intersect","intersect","intersect");Li("Focus","trap","focus");Li("Mask","mask","mask");function Li(e,n,i){qt(n,r=>gr(`You can't use [x-${n}] without first installing the "${e}" plugin here: https://alpinejs.dev/plugins/${i}`,r))}Yr.setEvaluator(Sa);Yr.setReactivityEngine({reactive:ns,effect:ql,release:zl,raw:Ot});var Oh=Yr,rs=Oh;let Su=()=>{};const Bs=e=>(typeof e=="function"&&(e=e()),typeof e=="object"&&(e=JSON.stringify(e)),window.navigator.clipboard.writeText(e).then(Su));function Oo(e){e.magic("clipboard",()=>Bs),e.directive("clipboard",(n,{modifiers:i,expression:r},{evaluateLater:o,cleanup:a})=>{const f=i.includes("raw")?b=>b(r):o(r),d=()=>f(Bs);n.addEventListener("click",d),a(()=>{n.removeEventListener("click",d)})})}Oo.configure=e=>(e.hasOwnProperty("onCopy")&&typeof e.onCopy=="function"&&(Su=e.onCopy),Oo);rs.plugin(Oo);window.Echo=new Ac({broadcaster:"pusher",key:"app-key",wsHost:"localhost",wsPort:6001,cluster:"",forceTLS:!1,disableStats:!0});window.Pusher=Rc;window.Alpine=rs;rs.start();