PageSourceSearch

https://mogofun.com/static/vendor.CUqYqfna.js

js mogofun.com collected 2026-10-02 00:00:41 UTC 90,540 bytes, 1 lines download raw bytes

1import{c as t,g as e}from"./vendor-crypto.C6DcWFW5.js";const n=/"(?:_|\\u0{2}5[Ff]){2}(?:p|\\u0{2}70)(?:r|\\u0{2}72)(?:o|\\u0{2}6[Ff])(?:t|\\u0{2}74)(?:o|\\u0{2}6[Ff])(?:_|\\u0{2}5[Ff]){2}"\s*:/,r=/"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/,s=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function o(t,e){if(!("__proto__"===t||"constructor"===t&&e&&"object"==typeof e&&"prototype"in e))return e}function i(t){}function a(t,e={}){if("string"!=typeof t)return t;if('"'===t[0]&&'"'===t[t.length-1]&&-1===t.indexOf("\\"))return t.slice(1,-1);const i=t.trim();if(i.length<=9)switch(i.toLowerCase()){case"true":return!0;case"false":return!1;case"undefined":return;case"null":return null;case"nan":return Number.NaN;case"infinity":return Number.POSITIVE_INFINITY;case"-infinity":return Number.NEGATIVE_INFINITY}if(!s.test(t)){if(e.strict)throw new SyntaxError("[destr] Invalid JSON");return t}try{if(n.test(t)||r.test(t)){if(e.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(t,o)}return JSON.parse(t)}catch(a){if(e.strict)throw a;return t}}const c=/#/g,l=/&/g,u=/\//g,f=/=/g,h=/\?/g,p=/\+/g,d=/%5e/gi,g=/%60/gi,m=/%7c/gi,y=/%20/gi,v=/%2f/gi,k=/%252f/gi;function _(t){return encodeURI(""+t).replace(m,"|")}function b(t){return _("string"==typeof t?t:JSON.stringify(t)).replace(p,"%2B").replace(y,"+").replace(c,"%23").replace(l,"%26").replace(g,"`").replace(d,"^").replace(u,"%2F")}function w(t){return b(t).replace(f,"%3D")}function S(t){return _(t).replace(c,"%23").replace(h,"%3F").replace(k,"%2F").replace(l,"%26").replace(p,"%2B")}function x(t=""){try{return decodeURIComponent(""+t)}catch{return""+t}}function C(t){return x(t.replace(v,"%252F"))}function P(t){return x(t.replace(p," "))}function O(t){return x(t.replace(p," "))}function T(t=""){const e=Object.create(null);"?"===t[0]&&(t=t.slice(1));for(const n of t.split("&")){const t=n.match(/([^=]+)=?(.*)/)||[];if(t.length<2)continue;const r=P(t[1]);if("__proto__"===r||"constructor"===r)continue;const s=O(t[2]||"");void 0===e[r]?e[r]=s:Array.isArray(e[r])?e[r].push(s):e[r]=[e[r],s]}return e}function E(t,e){return"number"!=typeof e&&"boolean"!=typeof e||(e=String(e)),e?Array.isArray(e)?e.map(e=>`${w(t)}=${b(e)}`).join("&"):`${w(t)}=${b(e)}`:w(t)}function L(t){return Object.keys(t).filter(e=>void 0!==t[e]).map(e=>E(e,t[e])).filter(Boolean).join("&")}const A=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,$=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,F=/^([/\\]\s*){2,}[^/\\]/,R=/^[\s\0]*(blob|data|javascript|vbscript):$/i,j=/\/$|\/\?|\/#/,N=/^\.?\//;function M(t,e={}){return"boolean"==typeof e&&(e={acceptRelative:e}),e.strict?A.test(t):$.test(t)||!!e.acceptRelative&&F.test(t)}function D(t){return!!t&&R.test(t)}function I(t="",e){return e?j.test(t):t.endsWith("/")}function H(t="",e){if(!e)return(I(t)?t.slice(0,-1):t)||"/";if(!I(t,!0))return t||"/";let n=t,r="";const s=t.indexOf("#");-1!==s&&(n=t.slice(0,s),r=t.slice(s));const[o,...i]=n.split("?"),a=void 0;return((o.endsWith("/")?o.slice(0,-1):o)||"/")+(i.length>0?`?${i.join("?")}`:"")+r}function z(t="",e){if(!e)return t.endsWith("/")?t:t+"/";if(I(t,!0))return t||"/";let n=t,r="";const s=t.indexOf("#");if(-1!==s&&(n=t.slice(0,s),r=t.slice(s),!n))return r;const[o,...i]=n.split("?");return o+"/"+(i.length>0?`?${i.join("?")}`:"")+r}function U(t=""){return t.startsWith("/")}function W(t=""){return U(t)?t:"/"+t}function B(t,e){if(J(e)||M(t))return t;const n=H(e);if(t.startsWith(n)){const e=t[n.length];if(!e||"/"===e||"?"===e)return t}return Y(n,t)}function G(t,e){if(J(e))return t;const n=H(e);if(!t.startsWith(n))return t;const r=t[n.length];if(r&&"/"!==r&&"?"!==r)return t;const s=void 0;return"/"+t.slice(n.length).replace(/^\/+/,"")}function q(t,e){const n=tt(t),r={...T(n.search),...e};return n.search=L(r),nt(n)}function J(t){return!t||"/"===t}function V(t){return t&&"/"!==t}function Y(t,...e){let n=t||"";for(const r of e.filter(t=>V(t)))if(n){const t=r.replace(N,"");n=z(n)+t}else n=r;return n}function K(...t){const e=/\/(?!\/)/,n=t.filter(Boolean),r=[];let s=0;for(const i of n)if(i&&"/"!==i)for(const[t,n]of i.split(e).entries())if(n&&"."!==n)if(".."!==n)1===t&&r[r.length-1]?.endsWith(":/")?r[r.length-1]+="/"+n:(r.push(n),s++);
1else{if(1===r.length&&M(r[0]))continue;r.pop(),s--}let o=r.join("/");return s>=0?n[0]?.startsWith("/")&&!o.startsWith("/")?o="/"+o:n[0]?.startsWith("./")&&!o.startsWith("./")&&(o="./"+o):o="../".repeat(-1*s)+o,n[n.length-1]?.endsWith("/")&&!o.endsWith("/")&&(o+="/"),o}function Z(t,e){return x(H(t))===x(H(e))}function X(t,e,n={}){return n.trailingSlash||(t=z(t),e=z(e)),n.leadingSlash||(t=W(t),e=W(e)),n.encoding||(t=x(t),e=x(e)),t===e}const Q=Symbol.for("ufo:protocolRelative");function tt(t="",e){const n=t.match(/^[\s\0]*(blob:|data:|javascript:|vbscript:)(.*)/i);if(n){const[,t,e=""]=n;return{protocol:t.toLowerCase(),pathname:e,href:t+e,auth:"",host:"",search:"",hash:""}}if(!M(t,{acceptRelative:!0}))return e?tt(e+t):et(t);const[,r="",s,o=""]=t.replace(/\\/g,"/").match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/)||[];let[,i="",a=""]=o.match(/([^#/?]*)(.*)?/)||[];"file:"===r&&(a=a.replace(/\/(?=[A-Za-z]:)/,""));const{pathname:c,search:l,hash:u}=et(a);return{protocol:r.toLowerCase(),auth:s?s.slice(0,Math.max(0,s.length-1)):"",host:i,pathname:c,search:l,hash:u,[Q]:!r}}function et(t=""){const[e="",n="",r=""]=(t.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:e,search:n,hash:r}}function nt(t){const e=t.pathname||"",n=t.search?(t.search.startsWith("?")?"":"?")+t.search:"",r=t.hash||"",s=t.auth?t.auth+"@":"",o=t.host||"",i=void 0;return(t.protocol||t[Q]?(t.protocol||"")+"//":"")+s+o+e+n+r}function rt(t,e={},n){for(const r in t){const s=t[r],o=n?`${n}:${r}`:r;"object"==typeof s&&null!==s?rt(s,e,o):"function"==typeof s&&(e[o]=s)}return e}const st={run:t=>t()},ot=()=>st,it=void 0!==console.createTask?console.createTask:ot;function at(t,e){const n=e.shift(),r=it(n);return t.reduce((t,n)=>t.then(()=>r.run(()=>n(...e))),Promise.resolve())}function ct(t,e){const n=e.shift(),r=it(n);return Promise.all(t.map(t=>r.run(()=>t(...e))))}function lt(t,e){for(const n of[...t])n(e)}let ut=class t{constructor(){this._hooks={},this._before=void 0,this._after=void 0,this._deprecatedMessages=void 0,this._deprecatedHooks={},this.hook=this.hook.bind(this),this.callHook=this.callHook.bind(this),this.callHookWith=this.callHookWith.bind(this)}hook(t,e,n={}){if(!t||"function"!=typeof e)return()=>{};const r=t;let s;for(;this._deprecatedHooks[t];)s=this._deprecatedHooks[t],t=s.to;if(s&&!n.allowDeprecated){let t=s.message;t||(t=`${r} hook has been deprecated`+(s.to?`, please use ${s.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(t)||this._deprecatedMessages.add(t)}if(!e.name)try{Object.defineProperty(e,"name",{get:()=>"_"+t.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[t]=this._hooks[t]||[],this._hooks[t].push(e),()=>{e&&(this.removeHook(t,e),e=void 0)}}hookOnce(t,e){let n,r=(...t)=>("function"==typeof n&&n(),n=void 0,r=void 0,e(...t));return n=this.hook(t,r),n}removeHook(t,e){if(this._hooks[t]){const n=this._hooks[t].indexOf(e);-1!==n&&this._hooks[t].splice(n,1),0===this._hooks[t].length&&delete this._hooks[t]}}deprecateHook(t,e){this._deprecatedHooks[t]="string"==typeof e?{to:e}:e;const n=this._hooks[t]||[];delete this._hooks[t];for(const r of n)this.hook(t,r)}deprecateHooks(t){Object.assign(this._deprecatedHooks,t);for(const e in t)this.deprecateHook(e,t[e])}addHooks(t){const e=rt(t),n=Object.keys(e).map(t=>this.hook(t,e[t]));return()=>{for(const t of n.splice(0,n.length))t()}}removeHooks(t){const e=rt(t);for(const n in e)this.removeHook(n,e[n])}removeAllHooks(){for(const t in this._hooks)delete this._hooks[t]}callHook(t,...e){return e.unshift(t),this.callHookWith(at,t,...e)}callHookParallel(t,...e){return e.unshift(t),this.callHookWith(ct,t,...e)}callHookWith(t,e,...n){const r=this._before||this._after?{name:e,args:n,context:{}}:void 0;this._before&&lt(this._before,r);const s=t(e in this._hooks?[...this._hooks[e]]:[],n);return s instanceof Promise?s.finally(()=>{this._after&&r&&lt(this._after,r)}):(this._after&&r&&lt(this._after,r),s)}beforeEach(t){return this._before=this._before||[],this._before.push(t),()=>{if(void 0!==this._before){const e=this._before.indexOf(t);-1!==e&&this._before.splice(e,1)}}}afterEach(t){return this._after=this._after||[],this._after.push(t),()=>{if(void 0!==this._after){const e=this._after.indexOf(t);-1!==e&&this._after.splice(e,1)}}}};function ft(){return new ut}function ht(t={}){let e,n=!1;const r=t=>{if(e&&e!==t)throw new Error("Context conflict")};let s;if(t.asyncContext){const e=t.AsyncLocalStorage||globalThis.AsyncLocalStorage;e&&(s=new e)}const o=()=>
1{if(s){const t=s.getStore();if(void 0!==t)return t}return e};return{use:()=>{const t=o();if(void 0===t)throw new Error("Context is not available");return t},tryUse:()=>o(),set:(t,s)=>{s||r(t),e=t,n=!0},unset:()=>{e=void 0,n=!1},call:(t,o)=>{r(t),e=t;try{return s?s.run(t,o):o()}finally{n||(e=void 0)}},async callAsync(t,r){e=t;const o=()=>{e=t},i=()=>e===t?o:void 0;kt.add(i);try{const o=s?s.run(t,r):r();return n||(e=void 0),await o}finally{kt.delete(i)}}}}function pt(t={}){const e={};return{get:(n,r={})=>(e[n]||(e[n]=ht({...t,...r})),e[n])}}const dt="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof global?global:"undefined"!=typeof window?window:{},gt="__unctx__",mt=dt[gt]||(dt[gt]=pt()),yt=(t,e={})=>mt.get(t,e),vt="__unctx_async_handlers__",kt=dt[vt]||(dt[vt]=new Set);function _t(t){const e=[];for(const s of kt){const t=s();t&&e.push(t)}const n=()=>{for(const t of e)t()};let r=t();return r&&"object"==typeof r&&"catch"in r&&(r=r.catch(t=>{throw n(),t})),[r,n]}function bt(t){if(null===t||"object"!=typeof t)return!1;const e=Object.getPrototypeOf(t);return!(null!==e&&e!==Object.prototype&&null!==Object.getPrototypeOf(e)||Symbol.iterator in t||Symbol.toStringTag in t&&"[object Module]"!==Object.prototype.toString.call(t))}function wt(t,e,n=".",r){if(!bt(e))return wt(t,{},n,r);const s={...e};for(const o of Object.keys(t)){if("__proto__"===o||"constructor"===o)continue;const e=t[o];null!=e&&(r&&r(s,o,e,n)||(Array.isArray(e)&&Array.isArray(s[o])?s[o]=[...e,...s[o]]:bt(e)&&bt(s[o])?s[o]=wt(e,s[o],(n?`${n}.`:"")+o.toString(),r):s[o]=e))}return s}function St(t){return(...e)=>e.reduce((e,n)=>wt(e,n,"",t),{})}const xt=St();function Ct(t,e){try{return e in t}catch{return!1}}class Pt extends Error{static __h3_error__=!0;statusCode=500;fatal=!1;unhandled=!1;statusMessage;data;cause;constructor(t,e={}){super(t,e),e.cause&&!this.cause&&(this.cause=e.cause)}toJSON(){const t={message:this.message,statusCode:At(this.statusCode,500)};return this.statusMessage&&(t.statusMessage=Lt(this.statusMessage)),void 0!==this.data&&(t.data=this.data),t}}function Ot(t){if("string"==typeof t)return new Pt(t);if(Tt(t))return t;const e=new Pt(t.message??t.statusMessage??"",{cause:t.cause||t});if(Ct(t,"stack"))try{Object.defineProperty(e,"stack",{get:()=>t.stack})}catch{try{e.stack=t.stack}catch{}}if(t.data&&(e.data=t.data),t.statusCode?e.statusCode=At(t.statusCode,e.statusCode):t.status&&(e.statusCode=At(t.status,e.statusCode)),t.statusMessage?e.statusMessage=t.statusMessage:t.statusText&&(e.statusMessage=t.statusText),e.statusMessage){const t=e.statusMessage,n=Lt(e.statusMessage)}return void 0!==t.fatal&&(e.fatal=t.fatal),void 0!==t.unhandled&&(e.unhandled=t.unhandled),e}function Tt(t){return!0===t?.constructor?.__h3_error__}const Et=/[^\u0009\u0020-\u007E]/g;function Lt(t=""){return t.replace(Et,"")}function At(t,e=200){return t?("string"==typeof t&&(t=Number.parseInt(t,10)),t<100||t>999?e:t):e}"undefined"==typeof setImmediate||setImmediate;const $t=new Set(["link","style","script","noscript"]),Ft=new Set(["title","titleTemplate","script","style","noscript"]),Rt=new Set(["base","meta","link","style","script","noscript"]),jt=new Set(["title","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"]),Nt=new Set(["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"]),Mt=new Set(["key","tagPosition","tagPriority","tagDuplicateStrategy","innerHTML","textContent","processTemplateParams"]),Dt=new Set(["templateParams","htmlAttrs","bodyAttrs"]),It=new Set(["theme-color","google-site-verification","og","article","book","profile","twitter","author"]),Ht=t=>"number"==typeof t?Number.isFinite(t):t;function zt(t){return"__proto__"===t||"constructor"===t||"prototype"===t}const Ut=(t,e)=>t._w===e._w?t._p-e._p:t._w-e._w,Wt={base:-10,title:10},Bt={critical:-8,high:-1,low:2},Gt={meta:{"content-security-policy":-30,charset:-20,viewport:-15},link:{preconnect:20,stylesheet:60,preload:70,modulepreload:70,prefetch:90,"dns-prefetch":90,prerender:90},script:{async:30,defer:80,sync:50},style:{imported:40,sync:60}},qt=/@import/,Jt=t=>""===t||!0===t;function Vt(t,e){if("number"==typeof e.tagPriority)return e.tagPriority;let n=100;const r=Bt[e.tagPriority]||0,s=t.resolvedOptions.disableCapoSorting?{link:{},script:{},style:{}}:Gt;if(e.tag in Wt)n=Wt[e.tag];else if("meta"===e.tag){const t="content-security-policy"===e.props["http-equiv"]?"content-security-policy":e.props.charset?"charset":"viewport"===e.props.name?"viewport":null;t&&(n=Gt.meta[t])}else if("link"===e.tag&&e.props.rel)n=s.link[e.props.rel];else if("script"===e.tag){const t=String(e.props.type);Jt(e.props.async)?n=s.script.async:e.props.src&&!Jt(e.props.defer)&&!Jt(e.props.async)&&"module"!==t&&!t.endsWith("json")||e.innerHTML&&!t.endsWith("json")?n=s.script.sync:(Jt(e.props.defer)&&e.props.src&&!Jt(e.props.async)||"module"===t)&&(n=s.script.defer)}else"style"===e.tag&&(n=e.innerHTML&&qt.test(e.innerHTML)?s.style.imported:s.style.sync);return(n||100)+r}function Yt(t){return t}function Kt(t,e={},n){for(const r in t){const s=t[r],o=n?`${n}:${r}`:r;"object"==typeof s&&null!==s?Kt(s,e,o):"function"==typeof s&&(e[o]=s)}return e}const Zt=(()=>
1{if(console.createTask)return console.createTask;const t={run:t=>t()};return()=>t})();function Xt(t,e,n,r){for(let o=n;o<t.length;o+=1)try{const n=r?r.run(()=>t[o](...e)):t[o](...e);if(n&&"function"==typeof n.then)return Promise.resolve(n).then(()=>Xt(t,e,o+1,r))}catch(s){return Promise.reject(s)}}function Qt(t,e,n){if(t.length>0)return Xt(t,e,0,Zt(n))}function te(t,e,n){if(t.length>0){const r=Zt(n);return Promise.all(t.map(t=>r.run(()=>t(...e))))}}function ee(t,e){for(const n of[...t])n(e)}var ne=class{_hooks;_before;_after;_deprecatedHooks;_deprecatedMessages;constructor(){this._hooks={},this._before=void 0,this._after=void 0,this._deprecatedMessages=void 0,this._deprecatedHooks={},this.hook=this.hook.bind(this),this.callHook=this.callHook.bind(this),this.callHookWith=this.callHookWith.bind(this)}hook(t,e,n={}){if(!t||"function"!=typeof e)return()=>{};const r=t;let s;for(;this._deprecatedHooks[t];)s=this._deprecatedHooks[t],t=s.to;if(s&&!n.allowDeprecated){let t=s.message;t||(t=`${r} hook has been deprecated`+(s.to?`, please use ${s.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(t)||this._deprecatedMessages.add(t)}if(!e.name)try{Object.defineProperty(e,"name",{get:()=>"_"+t.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[t]=this._hooks[t]||[],this._hooks[t].push(e),()=>{e&&(this.removeHook(t,e),e=void 0)}}hookOnce(t,e){let n,r=(...t)=>("function"==typeof n&&n(),n=void 0,r=void 0,e(...t));return n=this.hook(t,r),n}removeHook(t,e){const n=this._hooks[t];if(n){const r=n.indexOf(e);-1!==r&&n.splice(r,1),0===n.length&&(this._hooks[t]=void 0)}}clearHook(t){this._hooks[t]=void 0}deprecateHook(t,e){this._deprecatedHooks[t]="string"==typeof e?{to:e}:e;const n=this._hooks[t]||[];this._hooks[t]=void 0;for(const r of n)this.hook(t,r)}deprecateHooks(t){for(const e in t)this.deprecateHook(e,t[e])}addHooks(t){const e=Kt(t),n=Object.keys(e).map(t=>this.hook(t,e[t]));return()=>{for(const t of n)t();n.length=0}}removeHooks(t){const e=Kt(t);for(const n in e)this.removeHook(n,e[n])}removeAllHooks(){this._hooks={}}callHook(t,...e){return this.callHookWith(Qt,t,e)}callHookParallel(t,...e){return this.callHookWith(te,t,e)}callHookWith(t,e,n){const r=this._before||this._after?{name:e,args:n,context:{}}:void 0;this._before&&ee(this._before,r);const s=t(this._hooks[e]?[...this._hooks[e]]:[],n,e);return s instanceof Promise?s.finally(()=>{this._after&&r&&ee(this._after,r)}):(this._after&&r&&ee(this._after,r),s)}beforeEach(t){return this._before=this._before||[],this._before.push(t),()=>{if(void 0!==this._before){const e=this._before.indexOf(t);-1!==e&&this._before.splice(e,1)}}}afterEach(t){return this._after=this._after||[],this._after.push(t),()=>{if(void 0!==this._after){const e=this._after.indexOf(t);-1!==e&&this._after.splice(e,1)}}}};function re(){return new ne}const se=["name","property","http-equiv"],oe=new Set(["viewport","description","keywords","robots"]);function ie(t){const e=t.indexOf(":");if(-1===e)return!1;const n=t.indexOf(":",e+1),r=t.slice(e+1,-1===n?t.length:n);return"twitter"===r?"meta:twitter:image"===t||t.startsWith("meta:twitter:image:"):It.has(r)}function ae(t){const{props:e,tag:n}=t;if(Nt.has(n))return n;if("link"===n&&"canonical"===e.rel)return"canonical";if("link"===n&&"alternate"===e.rel){if(e.hreflang)return`alternate:${e.hreflang}`;if(e.type)return`alternate:${e.type}:${e.href||""}`}if(e.charset)return"charset";if("meta"===t.tag)for(const r of se)if(void 0!==e[r]){const s=e[r],o=s&&"string"==typeof s&&s.includes(":"),i=s&&oe.has(s),a=void 0,c=void 0;return`${n}:${s}${o||i||!t.key?"":`:key:${t.key}`}`}if(t.key)return`${n}:key:${t.key}`;if(e.id)return`${n}:id:${e.id}`;if("link"===n&&"alternate"===e.rel)return`alternate:${e.href||""}`;if(Ft.has(n)){const e=t.textContent||t.innerHTML;if(e)return`${n}:content:${e}`}}function ce(t){const e=t._h||t._d;if(e)return e;const n=t.textContent||t.innerHTML;if(n)return n;const r=Object.keys(t.props).sort();return`${t.tag}:${r.map(e=>`${e}:${String(t.props[e])}`).join(",")}`}function le(t,e,n){const r=void 0;"function"==typeof t&&(n&&("titleTemplate"===n||"o"===n[0]&&"n"===n[1])||(t=t()));const s=e?e(n,t):t;if(Array.isArray(s)){let t;for(let n=0;n<s.length;n++){const r=le(s[n],e);t?t[n]=r:r!==s[n]&&(t=s.slice(0,n),t[n]=r)}return t||s}if(s?.constructor===Object){let t;for(const n in s){const r=zt(n),o=r?void 0:le(s[n],e,n),i=void 0;if(!t&&(r||"_resolver"===n||o!==s[n])){t={};for(const e in s){if(e===n)break;t[e]=s[e]}}t&&!r&&(t[n]=o)}return t||s}return s}const ue=/[\s"'<>/=\x00-\x1F\x7F]/;function fe(t,e){const n="style"===t?new Map:new Set;function r(e){if(null==e||void 0===e)return;const r=String(e).trim();if(r)if("style"===t){const[t,...e]=r.split(":").map(t=>t?t.trim():"");t&&e.length&&n.set(t,e.join(":"))}
1else r.split(" ").filter(Boolean).forEach(t=>n.add(t))}return"string"==typeof e?"style"===t?e.split(";").forEach(r):r(e):Array.isArray(e)?e.forEach(t=>r(t)):e&&"object"==typeof e&&Object.entries(e).forEach(([e,s])=>{s&&"false"!==s&&("style"===t?n.set(String(e).trim(),String(s)):r(e))}),n}function he(t,e){if(t.props=t.props||{},!e)return t;if("templateParams"===t.tag)return t.props=e,t;const n=Rt.has(t.tag)||"htmlAttrs"===t.tag||"bodyAttrs"===t.tag;for(const r of Object.keys(e)){if(zt(r))continue;const s=r.startsWith("data-"),o=n&&!Mt.has(r),i=o&&!s?r.toLowerCase():r;if(o&&(!i||ue.test(i)))continue;const a=e[r];if(null===a){t.props[i]=null;continue}if("class"===r||"style"===r){t.props[r]=fe(r,a);continue}if(Mt.has(r)){if("textContent"!==r&&"innerHTML"!==r||"object"!=typeof a)t[r]=a;else{let n=e.type;if(e.type||(n="application/json"),!n?.endsWith("json")&&"speculationrules"!==n)continue;e.type=n,t.props.type=n,t[r]=JSON.stringify(a)}continue}const c=String(a),l="meta"===t.tag&&"content"===i;"true"===c||""===c?t.props[i]=!s&&!l||c:!a&&s&&"false"===c?t.props[i]="false":void 0!==a&&(t.props[i]=a)}return t}function pe(t,e){const n=void 0,r=he({tag:t,props:{}},"object"==typeof e&&"function"!=typeof e?e:{["script"===t||"noscript"===t||"style"===t?"innerHTML":"textContent"]:e});return r.key&&$t.has(r.tag)&&(r.props["data-hid"]=r._h=r.key),"script"===r.tag&&"object"==typeof r.innerHTML&&(r.innerHTML=JSON.stringify(r.innerHTML),r.props.type=r.props.type||"application/json"),Array.isArray(r.props.content)?r.props.content.map(t=>({...r,props:{...r.props,content:t}})):r}function de(t,e){if(!t)return[];"function"==typeof t&&(t=t());const n=(t,n)=>{for(let r=0;r<e.length;r++)n=e[r](t,n);return n};t=n(void 0,t);const r=[];return t=le(t,n),Object.entries(t||{}).forEach(([t,e])=>{if(void 0!==e)for(const n of Array.isArray(e)?e:[e])r.push(pe(t,n))}),r.flat()}function ge(t,e){const n="function"==typeof e?e(t):e,r=n.key||String(t.plugins.size+1),s=void 0;t.plugins.get(r)||(t.plugins.set(r,n),t.hooks.addHooks(n.hooks||{}))}function me(t={}){const e=re();e.addHooks(t.hooks||{});const n=!t.document,r=new Map,s=new Map,o=new Set,i={_entryCount:1,plugins:s,dirty:!1,resolvedOptions:t,hooks:e,ssr:n,entries:r,headEntries:()=>[...r.values()],use:t=>ge(i,t),push(t,s){const a={...s||{}};delete a.head;const c=a._index??i._entryCount++,l={_i:c,input:t,options:a},u={_poll(t=!1){i.dirty=!0,!t&&o.add(c),e.callHook("entries:updated",i)},dispose(){r.delete(c)&&i.invalidate()},patch(t){(!a.mode||"server"===a.mode&&n||"client"===a.mode&&!n)&&(l.input=t,r.set(c,l),u._poll())}};return u.patch(t),u},async resolveTags(){const n={tagMap:new Map,tags:[],entries:[...i.entries.values()]};for(await e.callHook("entries:resolve",n);o.size;){const n=o.values().next().value;o.delete(n);const s=r.get(n);if(s){const n={tags:de(s.input,t.propResolvers||[]).map(t=>Object.assign(t,s.options)),entry:s};await e.callHook("entries:normalize",n),s._tags=n.tags.map((t,e)=>(t._w=Vt(i,t),t._p=(s._i<<10)+e,t._d=ae(t),t._d||(t._h=ce(t)),t))}}let s=!1;n.entries.flatMap(t=>(t._tags||[]).map(t=>({...t,props:{...t.props}}))).sort(Ut).reduce((t,e)=>{const n=e._d||e._h;if(!t.has(n))return t.set(n,e);const r=t.get(n),o=void 0;if("merge"===(e?.tagDuplicateStrategy||(Dt.has(e.tag)?"merge":null)||(e.key&&e.key===r.key?"merge":null))){const s={...r.props};Object.entries(e.props).forEach(([t,e])=>s[t]="style"===t?new Map([...r.props.style||new Map,...e]):"class"===t?new Set([...r.props.class||new Set,...e]):e),t.set(n,{...e,props:s})}else e._p>>10==r._p>>10&&"meta"===e.tag&&ie(n)?(t.set(n,Object.assign([...Array.isArray(r)?r:[r],e],e)),s=!0):(e._w===r._w?e._p>r._p:e?._w<r?._w)&&t.set(n,e);return t},n.tagMap);const a=n.tagMap.get("title"),c=n.tagMap.get("titleTemplate");if(i._title=a?.textContent,c){const t=c?.textContent;if(i._titleTemplate=t,t){let e="function"==typeof t?t(a?.textContent):t;"string"!=typeof e||i.plugins.has("template-params")||(e=e.replace("%s",a?.textContent||"")),a?null===e?n.tagMap.delete("title"):n.tagMap.set("title",{...a,textContent:e}):(c.tag="title",c.textContent=e)}}n.tags=Array.from(n.tagMap.values()),s&&(n.tags=n.tags.flat().sort(Ut)),await e.callHook("tags:beforeResolve",n),await e.callHook("tags:resolve",n),await e.callHook("tags:afterResolve",n);const l=[];for(const t of n.tags){const{innerHTML:e,tag:n,props:r}=t;if(jt.has(n)&&(0!==Object.keys(r).length||Ht(t.innerHTML)||Ht(t.textContent))&&("meta"!==n||Ht(r.content)||r["http-equiv"]||r.charset)){if("script"===n&&e){if(String(r.type).endsWith("json")){const n="string"==typeof e?e:JSON.stringify(e);t.innerHTML=n.replace(/</g,"\\u003C")}else"string"==typeof e&&(t.innerHTML=e.replace(new RegExp(`</${n}`,"g"),`<\\/${n}`));t._d=ae(t)}l.push(t)}}return l},invalidate(){for(const t of r.values())o.add(t._i);i.dirty=!0,e.callHook("entries:updated",i)}};
1return(t?.plugins||[]).forEach(t=>ge(i,t)),i.hooks.callHook("init",i),t.init?.forEach(t=>t&&i.push(t)),i}const ye="%separator";function ve(t,e,n=!1){let r;if("s"===e||"pageTitle"===e)r=t.pageTitle;else if(e.includes(".")){const n=e.indexOf(".");r=t[e.substring(0,n)]?.[e.substring(n+1)]}else r=t[e];if(void 0!==r)return n?(r||"").replace(/\\/g,"\\\\").replace(/</g,"\\u003C").replace(/"/g,'\\"'):r||""}function ke(t,e,n,r=!1){if("string"!=typeof t||!t.includes("%"))return t;let s=t;try{s=decodeURI(t)}catch{}const o=s.match(/%\w+(?:\.\w+)?/g);if(!o)return t;const i=t.includes(ye);return t=t.replace(/%\w+(?:\.\w+)?/g,t=>{if(t===ye||!o.includes(t))return t;const n=ve(e,t.slice(1),r);return void 0!==n?n:t}).trim(),i&&(t=t.split(ye).map(t=>t.trim()).filter(t=>""!==t).join(n?` ${n} `:" ")),t}const _e=t=>t.includes(":key")?t:t.split(":").join(":key:"),be={key:"aliasSorting",hooks:{"tags:resolve":t=>{let e=!1;for(const n of t.tags){const r=n.tagPriority;if(!r)continue;const s=String(r);if(s.startsWith("before:")){const r=_e(s.slice(7)),o=t.tagMap.get(r);o&&("number"==typeof o.tagPriority&&(n.tagPriority=o.tagPriority),n._p=o._p-1,e=!0)}else if(s.startsWith("after:")){const r=_e(s.slice(6)),o=t.tagMap.get(r);o&&("number"==typeof o.tagPriority&&(n.tagPriority=o.tagPriority),n._p=o._p+1,e=!0)}}e&&(t.tags=t.tags.sort(Ut))}}},we=Yt({key:"deprecations",hooks:{"entries:normalize":({tags:t})=>{for(const e of t)e.props.children&&(e.innerHTML=e.props.children,delete e.props.children),e.props.hid&&(e.key=e.props.hid,delete e.props.hid),e.props.vmid&&(e.key=e.props.vmid,delete e.props.vmid),e.props.body&&(e.tagPosition="bodyClose",delete e.props.body)}}});async function Se(t){const e=void 0;if("function"==typeof t)return t;if(t instanceof Promise)return await t;if(Array.isArray(t))return await Promise.all(t.map(t=>Se(t)));if(t?.constructor===Object){const e={};for(const n of Object.keys(t))e[n]=await Se(t[n]);return e}return t}const xe=Yt({key:"promises",hooks:{"entries:resolve":async t=>{const e=[];for(const n in t.entries)t.entries[n]._promisesProcessed||e.push(Se(t.entries[n].input).then(e=>{t.entries[n].input=e,t.entries[n]._promisesProcessed=!0}));await Promise.all(e)}}}),Ce={meta:"content",link:"href",htmlAttrs:"lang"},Pe=["innerHTML","textContent"],Oe=Yt(t=>({key:"template-params",hooks:{"entries:normalize":e=>{const n=e.tags.filter(t=>"templateParams"===t.tag&&"server"===t.mode)?.[0]?.props||{};Object.keys(n).length&&(t._ssrPayload={templateParams:{...t._ssrPayload?.templateParams||{},...n}})},"tags:resolve":({tagMap:e,tags:n})=>{const r=e.get("templateParams")?.props||{},s=r.separator||"|";delete r.separator,r.pageTitle=ke(r.pageTitle||t._title||"",r,s);for(const t of n){if(!1===t.processTemplateParams)continue;const e=Ce[t.tag];if(e&&"string"==typeof t.props[e])t.props[e]=ke(t.props[e],r,s);else if(t.processTemplateParams||"titleTemplate"===t.tag||"title"===t.tag)for(const n of Pe)"string"==typeof t[n]&&(t[n]=ke(t[n],r,s,"script"===t.tag&&t.props.type.endsWith("json")))}t._templateParams=r,t._separator=s},"tags:afterResolve":({tagMap:e})=>{const n=e.get("title");n?.textContent&&!1!==n.processTemplateParams&&(n.textContent=ke(n.textContent,t._templateParams,t._separator))}}}));async function Te(t,e={}){const n=e.document||t.resolvedOptions.document;if(!n||!t.dirty)return;const r={shouldRender:!0,tags:[]};return await t.hooks.callHook("dom:beforeRender",r),r.shouldRender?(t._domUpdatePromise||(t._domUpdatePromise=new Promise(async e=>{const r=new Map,s=new Promise(e=>{t.resolveTags().then(t=>{e(t.map(t=>{const e=r.get(t._d)||0,n={tag:t,id:(e?`${t._d}:${e}`:t._d)||t._h,shouldRender:!0};return t._d&&ie(t._d)&&r.set(t._d,e+1),n}))})});let o=t._dom;if(!o){o={title:n.title,elMap:(new Map).set("htmlAttrs",n.documentElement).set("bodyAttrs",n.body)};for(const t of["body","head"]){const e=n[t]?.children;for(const t of e){const e=t.tagName.toLowerCase();if(!Rt.has(e))continue;const n=he({tag:e,props:{}},{innerHTML:t.innerHTML,...t.getAttributeNames().reduce((e,n)=>(e[n]=t.getAttribute(n),e),{})||{}});if(n.key=t.getAttribute("data-hid")||void 0,n._d=ae(n)||ce(n),o.elMap.has(n._d)){let e=1,r=n._d;for(;o.elMap.has(r);)r=`${n._d}:${e++}`;o.elMap.set(r,t)}else o.elMap.set(n._d,t)}}}function i(t,e,n){const r=`${t}:${e}`;o.sideEffects[r]=n,delete o.pendingSideEffects[r]}function a({id:t,$el:e,tag:r}){const s=r.tag.endsWith("Attrs");o.elMap.set(t,e),s||(r.textContent&&r.textContent!==e.textContent&&(e.textContent=r.textContent),r.innerHTML&&r.innerHTML!==e.innerHTML&&(e.innerHTML=r.innerHTML),i(t,"el",()=>{e?.remove(),o.elMap.delete(t)}));for(const o in r.props){if(!Object.prototype.hasOwnProperty.call(r.props,o))continue;const a=r.props[o];if(o.startsWith("on")&&"function"==typeof a){const t=e?.dataset;if(t&&t[`${o}fired`]){const t=o.slice(0,-5);a.call(e,new Event(t.substring(2)))}""!==e.getAttribute(`data-${o}`)&&(("bodyAttrs"===r.tag?n.defaultView:e).addEventListener(o.substring(2),a.bind(e)),e.setAttribute(`data-${o}`,""));continue}const c=`attr:${o}`;if("class"===o){if(!a)continue;for(const n of a)s&&i(t,`${c}:${n}`,()=>e.classList.remove(n)),!e.classList.contains(n)&&e.classList.add(n)}else if("style"===o){if(!a)continue;for(const[n,r]of a)i(t,`${c}:${n}`,()=>{e.style.removeProperty(n)}),e.style.setProperty(n,r)}else!1!==a&&null!==a&&(e.getAttribute(o)!==a&&e.setAttribute(o,!0===a?"":String(a)),s&&i(t,c,()=>e.removeAttribute(o)))}}o.pendingSideEffects={...o.sideEffects},o.sideEffects={};const c=[],l={bodyClose:void 0,bodyOpen:void 0,head:void 0},u=await s;for(const t of u){const{tag:e,shouldRender:r,id:s}=t;r&&("title"!==e.tag?(t.$el=t.$el||o.elMap.get(s),t.$el?a(t):Rt.has(e.tag)&&c.push(t)):(n.title=e.textContent,i("title","",()=>n.title=o.title)))}for(const t of c){const e=t.tag.tagPosition||"head";t.$el=n.createElement(t.tag.tag),a(t),l[e]=l[e]||n.createDocumentFragment(),l[e].appendChild(t.$el)}for(const f of u)await t.hooks.callHook("dom:renderTag",f,n,i);l.head&&n.head.appendChild(l.head),l.bodyOpen&&n.body.insertBefore(l.bodyOpen,n.body.firstChild),l.bodyClose&&n.body.appendChild(l.bodyClose);for(const t in o.pendingSideEffects)o.pendingSideEffects[t]();t._dom=o,await t.hooks.callHook("dom:rendered",{renders:u}),e()}).finally(()=>{t._domUpdatePromise=void 0,t.dirty=!1})),t._domUpdatePromise):void 0}function Ee(t={}){const e=t.domOptions?.render||Te;t.document=t.document||("undefined"!=typeof window?document:void 0);const n=t.document?.head.querySelector('script[id="unhead:payload"]')?.innerHTML||!1,r=me({...t,plugins:[...t.plugins||[],{key:"client",hooks:{"entries:updated":e}}],init:[!!n&&JSON.parse(n),...t.init||[]]});return r.ssr=!1,r}function Le(t,e){let n=0;return()=>{const r=++n;e(()=>{n===r&&t()})}}function Ae(t){return"string"==typeof t?`'${t}'`:(new je).serialize(t)}const $e=" _-,;:!?.'\"()[]{}@*/\\&#%`^+<=>|~$0123456789abcdefghijklmnopqrstuvwxyz",Fe=function(){const t=new Uint8Array(128);for(let e=0;e<69;e++)t[$e.charCodeAt(e)]=e+1;for(let e=65;e<=90;e++)t[e]=t[e+32];return t}();function Re(t,e){if(t===e)return 0;const n=Math.min(t.length,e.length);let r=0;for(let s=0;s<n;s++){const n=t.charCodeAt(s),o=e.charCodeAt(s);if(n===o)continue;const i=n<128&&Fe[n]?Fe[n]:n+128,a=o<128&&Fe[o]?Fe[o]:o+128;if(i!==a)return i<a?-1:1;0===r&&(r=n>o?-1:1)}return t.length!==e.length?t.length<e.length?-1:1:r}const je=function(){class t{#t=new Map;compare(t,e){const n=typeof t,r=typeof e;return"string"===n&&"string"===r?Re(t,e):"number"===n&&"number"===r?t-e:Re(this.serialize(t,!0),this.serialize(e,!0))}serialize(t,e){if(null===t)return"null";switch(typeof t){case"string":return e?t:`'${t}'`;case"bigint":return`${t}n`;case"object":return this.$object(t);case"function":return this.$function(t)}return String(t)}serializeObject(t){const e=Object.prototype.toString.call(t);if("[object Object]"!==e)return this.serializeBuiltInType(e.length<10?`unknown:${e}`:e.slice(8,-1),t);const n=t.constructor,r=n===Object||void 0===n?"":n.name;if(""!==r&&globalThis[r]===n)return this.serializeBuiltInType(r,t);if("toJSON"in t&&"function"==typeof t.toJSON){const e=t.toJSON();return r+(null!==e&&"object"==typeof e?this.$object(e):`(${this.serialize(e)})`)}const s=Object.keys(t).sort(Re);let o=`${r}{`;for(let i=0;i<s.length;i++){const e=s[i];o+=`${e}:${this.serialize(t[e])}`,i<s.length-1&&(o+=",")}return o+"}"}serializeBuiltInType(t,e){const n=this["$"+t];
1if(n)return n.call(this,e);if("function"==typeof e.entries)return this.serializeObjectEntries(t,e.entries());throw new Error(`Cannot serialize ${t}`)}serializeObjectEntries(t,e){const n=Array.from(e).sort((t,e)=>this.compare(t[0],e[0]));let r=`${t}{`;for(let s=0;s<n.length;s++){const[t,e]=n[s];r+=`${this.serialize(t,!0)}:${this.serialize(e)}`,s<n.length-1&&(r+=",")}return r+"}"}$object(t){let e=this.#t.get(t);return void 0===e&&(this.#t.set(t,`#${this.#t.size}`),e=this.serializeObject(t),this.#t.set(t,e)),e}$function(t){const e=Function.prototype.toString.call(t);return"[native code] }"===e.slice(-15)?`${t.name||""}()[native]`:`${t.name}(${t.length})${e.replace(/\s*\n\s*/g,"")}`}$Array(t){let e="[";for(let n=0;n<t.length;n++)e+=this.serialize(t[n]),n<t.length-1&&(e+=",");return e+"]"}$Date(t){try{return`Date(${t.toISOString()})`}catch{return"Date(null)"}}$ArrayBuffer(t){return`ArrayBuffer[${new Uint8Array(t).join(",")}]`}$Set(t){return`Set${this.$Array(Array.from(t).sort((t,e)=>this.compare(t,e)))}`}$Map(t){return this.serializeObjectEntries("Map",t.entries())}}for(const e of["Error","RegExp","URL"])t.prototype["$"+e]=function(t){return`${e}(${t})`};for(const e of["Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Uint16Array","Int32Array","Uint32Array","Float32Array","Float64Array"])t.prototype["$"+e]=function(t){return`${e}[${t.join(",")}]`};for(const e of["BigInt64Array","BigUint64Array"])t.prototype["$"+e]=function(t){return`${e}[${t.join("n,")}${t.length>0?"n":""}]`};return t}();function Ne(t,e){return t===e||Ae(t)===Ae(e)}const Me={trailing:!0};function De(t,e=25,n={}){if(n={...Me,...n},!Number.isFinite(e))throw new TypeError("Expected `wait` to be a finite number");let r,s,o=[],i,a;const c=(e,r)=>(i=Ie(t,e,r),i.finally(()=>{if(i=null,n.trailing&&a&&!s){const t=c(e,a);return a=null,t}}),i),l=function(...t){return n.trailing&&(a=t),i||new Promise(i=>{const l=!s&&n.leading;clearTimeout(s),s=setTimeout(()=>{s=null;const e=n.leading?r:c(this,t);a=null;for(const t of o)t(e);o=[]},e),l?(r=c(this,t),i(r)):o.push(i)})},u=t=>{t&&(clearTimeout(t),s=null)};return l.isPending=()=>!!s,l.cancel=()=>{u(s),o=[],a=null},l.flush=()=>
1{if(u(s),!a||i)return;const t=a;return a=null,c(this,t)},l}async function Ie(t,e,n){return await t.apply(e,n)}function He(t){if("object"!=typeof t)return t;var e,n,r=Object.prototype.toString.call(t);if("[object Object]"===r){if(t.constructor!==Object&&"function"==typeof t.constructor)for(e in n=new t.constructor,t)t.hasOwnProperty(e)&&n[e]!==t[e]&&(n[e]=He(t[e]));else for(e in n={},t)"__proto__"===e?Object.defineProperty(n,e,{value:He(t[e]),configurable:!0,enumerable:!0,writable:!0}):n[e]=He(t[e]);return n}if("[object Array]"===r){for(e=t.length,n=Array(e);e--;)n[e]=He(t[e]);return n}return"[object Set]"===r?(n=new Set,t.forEach(function(t){n.add(He(t))}),n):"[object Map]"===r?(n=new Map,t.forEach(function(t,e){n.set(He(e),He(t))}),n):"[object Date]"===r?new Date(+t):"[object RegExp]"===r?((n=new RegExp(t.source,t.flags)).lastIndex=t.lastIndex,n):"[object DataView]"===r?new t.constructor(He(t.buffer)):"[object ArrayBuffer]"===r?t.slice(0):"Array]"===r.slice(-6)?new t.constructor(t):t}function ze(t,e){}const Ue="undefined"!=typeof window,We=(t,e=!1)=>e?Symbol.for(t):Symbol(t),Be=(t,e,n)=>Ge({l:t,k:e,s:n}),Ge=t=>JSON.stringify(t).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),qe=t=>"number"==typeof t&&isFinite(t),Je=t=>"[object Date]"===dn(t),Ve=t=>"[object RegExp]"===dn(t),Ye=t=>gn(t)&&0===Object.keys(t).length,Ke=Object.assign,Ze=Object.create,Xe=(t=null)=>Ze(t);let Qe;const tn=()=>Qe||(Qe="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:Xe());function en(t){return t.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;").replace(/\//g,"&#x2F;").replace(/=/g,"&#x3D;")}function nn(t){return t.replace(/&(?![a-zA-Z0-9#]{2,6};)/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&apos;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function rn(t){t=(t=t.replace(/(\w+)\s*=\s*"([^"]*)"/g,(t,e,n)=>`${e}="${nn(n)}"`)).replace(/(\w+)\s*=\s*'([^']*)'/g,(t,e,n)=>`${e}='${nn(n)}'`);const e=void 0;/\s*on\w+\s*=\s*["']?[^"'>]+["']?/gi.test(t)&&(t=t.replace(/(\s+)(on)(\w+\s*=)/gi,"$1&#111;n$3"));const n=void 0;return[/(\s+(?:href|src|action|formaction)\s*=\s*["']?)\s*javascript:/gi,/(style\s*=\s*["'][^"']*url\s*\(\s*)javascript:/gi].forEach(e=>{t=t.replace(e,"$1javascript&#58;")}),t}const sn=Object.prototype.hasOwnProperty;function on(t,e){return sn.call(t,e)}const an=Array.isArray,cn=t=>"function"==typeof t,ln=t=>"string"==typeof t,un=t=>"boolean"==typeof t,fn=t=>null!==t&&"object"==typeof t,hn=t=>fn(t)&&cn(t.then)&&cn(t.catch),pn=Object.prototype.toString,dn=t=>pn.call(t),gn=t=>"[object Object]"===dn(t),mn=t=>null==t?"":an(t)||gn(t)&&t.toString===pn?JSON.stringify(t,null,2):String(t);function yn(t,e=""){return t.reduce((t,n,r)=>0===r?t+n:t+e+n,"")}const vn=t=>!fn(t)||an(t);function kn(t,e){if(vn(t)||vn(e))throw new Error("Invalid value");const n=[{src:t,des:e}];for(;n.length;){const{src:t,des:e}=n.pop();Object.keys(t).forEach(r=>{"__proto__"!==r&&(fn(t[r])&&!fn(e[r])&&(e[r]=Array.isArray(t[r])?[]:Xe()),vn(e[r])||vn(t[r])?e[r]=t[r]:n.push({src:t[r],des:e[r]}))})}}function _n(t,e,n){return{line:t,column:e,offset:n}}function bn(t,e,n){const r=void 0;return{start:t,end:e}}const wn=1,Sn=2,xn=3,Cn=4,Pn=5,On=6,Tn=7,En=8,Ln=9,An=10,$n=11,Fn=12,Rn=13,jn=14,Nn=17;function Mn(t,e,n={}){const{domain:r,messages:s,args:o}=n,i=void 0,a=new SyntaxError(String(t));return a.code=t,e&&(a.location=e),a.domain=r,a}function Dn(t){throw t}const In=" ",Hn="\r",zn="\n",Un=String.fromCharCode(8232),Wn=String.fromCharCode(8233);function Bn(t){const e=t;let n=0,r=1,s=1,o=0;const i=t=>e[t]===Hn&&e[t+1]===zn,a=t=>e[t]===zn,c=t=>e[t]===Wn,l=t=>e[t]===Un,u=t=>i(t)||a(t)||c(t)||l(t),f=void 0,h=void 0,p=void 0,d=void 0,g=t=>i(t)||c(t)||l(t)?zn:e[t],m=()=>g(n),y=()=>g(n+o);function v(){return o=0,u(n)&&(r++,s=0),i(n)&&n++,n++,s++,e[n]}function k(){return i(n+o)&&o++,o++,e[n+o]}function _(){n=0,r=1,s=1,o=0}function b(t=0){o=t}function w(){const t=n+o;for(;t!==n;)v();o=0}return{index:()=>n,line:()=>r,column:()=>s,peekOffset:()=>o,charAt:g,currentChar:m,currentPeek:y,next:v,peek:k,reset:_,resetPeek:b,skipToPeek:w}}const Gn=void 0,qn=".",Jn="'",Vn="tokenizer";function Yn(t,e={}){const n=!1!==e.location,r=Bn(t),s=()=>r.index(),o=()=>_n(r.line(),r.column(),r.index()),i=o(),a=s(),c={currentType:13,offset:a,startLoc:i,endLoc:i,lastType:13,lastOffset:a,lastStartLoc:i,lastEndLoc:i,braceNest:0,inLinked:!1,text:""},l=()=>c,{onError:u}=e;function f(t,e,r,...s){const o=l();if(e.column+=r,e.offset+=r,u){const r=void 0,i=Mn(t,n?bn(o.startLoc,e):null,{domain:Vn,args:s});u(i)}}function h(t,e,r){t.endLoc=o(),t.currentType=e;const s={type:e};return n&&(s.loc=bn(t.startLoc,t.endLoc)),null!=r&&(s.value=r),s}const p=t=>h(t,13);function d(t,e){return t.currentChar()===e?(t.next(),e):(f(1,o(),0,e),"")}function g(t){let e="";for(;t.currentPeek()===In||t.currentPeek()===zn;)e+=t.currentPeek(),t.peek();return e}function m(t){const e=g(t);return t.skipToPeek(),e}function y(t){if(t===Gn)return!1;const e=t.charCodeAt(0);return e>=97&&e<=122||e>=65&&e<=90||95===e}function v(t){if(t===Gn)return!1;const e=t.charCodeAt(0);return e>=48&&e<=57}function k(t,e){const{currentType:n}=e;if(2!==n)return!1;g(t);const r=y(t.currentPeek());return t.resetPeek(),r}function _(t,e){const{currentType:n}=e;if(2!==n)return!1;g(t);const r=void 0,s=v("-"===t.currentPeek()?t.peek():t.currentPeek());return t.resetPeek(),s}function b(t,e){const{currentType:n}=e;if(2!==n)return!1;g(t);const r=t.currentPeek()===Jn;return t.resetPeek(),r}function w(t,e){const{currentType:n}=e;if(7!==n)return!1;g(t);const r="."===t.currentPeek();return t.resetPeek(),r}function S(t,e){const{currentType:n}=e;if(8!==n)return!1;g(t);const r=y(t.currentPeek());return t.resetPeek(),r}function x(t,e){const{currentType:n}=e;if(7!==n&&11!==n)return!1;g(t);const r=":"===t.currentPeek();return t.resetPeek(),r}function C(t,e){const{currentType:n}=e;if(9!==n)return!1;const r=()=>{const e=t.currentPeek();return"{"===e?y(t.peek()):!("@"===e||"|"===e||":"===e||"."===e||e===In||!e)&&(e===zn?(t.peek(),r()):O(t,!1))},s=r();return t.resetPeek(),s}function P(t){g(t);const e="|"===t.currentPeek();return t.resetPeek(),e}function O(t,e=!0){const n=(e=!1,r="")=>{const s=t.currentPeek();return"{"===s?e:"@"!==s&&s?"|"===s?!(r===In||r===zn):s===In?(t.peek(),n(!0,In)):s!==zn||(t.peek(),n(!0,zn)):e},r=n();return e&&t.resetPeek(),r}function T(t,e){const n=t.currentChar();return n===Gn?Gn:e(n)?(t.next(),n):null}function E(t){const e=t.charCodeAt(0);return e>=97&&e<=122||e>=65&&e<=90||e>=48&&e<=57||95===e||36===e}function L(t){return T(t,E)}function A(t){const e=t.charCodeAt(0);return e>=97&&e<=122||e>=65&&e<=90||e>=48&&e<=57||95===e||36===e||45===e}function $(t){return T(t,A)}function F(t){const e=t.charCodeAt(0);return e>=48&&e<=57}function R(t){return T(t,F)}function j(t){const e=t.charCodeAt(0);return e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102}function N(t){return T(t,j)}function M(t){let e="",n="";for(;e=R(t);)n+=e;return n}function D(t){let e="";for(;;){const n=t.currentChar();if("{"===n||"}"===n||"@"===n||"|"===n||!n)break;if(n===In||n===zn)if(O(t))e+=n,t.next();else{if(P(t))break;e+=n,t.next()}else e+=n,t.next()}return e}function I(t){m(t);let e="",n="";for(;e=$(t);)n+=e;return t.currentChar()===Gn&&f(7,o(),0),n}function H(t){m(t);let e="";return"-"===t.currentChar()?(t.next(),e+=`-${M(t)}`):e+=M(t),t.currentChar()===Gn&&f(7,o(),0),e}function z(t){return t!==Jn&&t!==zn}
vendor: 6,848 bytes, line 1
1function U(t){m(t),d(t,"'");let e="",n="";for(;e=T(t,z);)n+="\\"===e?W(t):e;const r=t.currentChar();return r===zn||r===Gn?(f(3,o(),0),r===zn&&(t.next(),d(t,"'")),n):(d(t,"'"),n)}function W(t){const e=t.currentChar();switch(e){case"\\":case"'":return t.next(),`\\${e}`;case"u":return B(t,e,4);case"U":return B(t,e,6);default:return f(4,o(),0,e),""}}function B(t,e,n){d(t,e);let r="";for(let s=0;s<n;s++){const n=N(t);if(!n){f(5,o(),0,`\\${e}${r}${t.currentChar()}`);break}r+=n}return`\\${e}${r}`}function G(t){return"{"!==t&&"}"!==t&&t!==In&&t!==zn}function q(t){m(t);let e="",n="";for(;e=T(t,G);)n+=e;return n}function J(t){let e="",n="";for(;e=L(t);)n+=e;return n}function V(t){const e=n=>{const r=t.currentChar();return"{"!==r&&"@"!==r&&"|"!==r&&"("!==r&&")"!==r&&r?r===In?n:(n+=r,t.next(),e(n)):n};return e("")}function Y(t){m(t);const e=d(t,"|");return m(t),e}function K(t,e){let n=null;const r=void 0;switch(t.currentChar()){case"{":return e.braceNest>=1&&f(9,o(),0),t.next(),n=h(e,2,"{"),m(t),e.braceNest++,n;case"}":return e.braceNest>0&&2===e.currentType&&f(8,o(),0),t.next(),n=h(e,3,"}"),e.braceNest--,e.braceNest>0&&m(t),e.inLinked&&0===e.braceNest&&(e.inLinked=!1),n;case"@":return e.braceNest>0&&f(7,o(),0),n=Z(t,e)||p(e),e.braceNest=0,n;default:{let r=!0,s=!0,i=!0;if(P(t))return e.braceNest>0&&f(7,o(),0),n=h(e,1,Y(t)),e.braceNest=0,e.inLinked=!1,n;if(e.braceNest>0&&(4===e.currentType||5===e.currentType||6===e.currentType))return f(7,o(),0),e.braceNest=0,X(t,e);if(r=k(t,e))return n=h(e,4,I(t)),m(t),n;if(s=_(t,e))return n=h(e,5,H(t)),m(t),n;if(i=b(t,e))return n=h(e,6,U(t)),m(t),n;if(!r&&!s&&!i)return n=h(e,12,q(t)),f(2,o(),0,n.value),m(t),n;break}}return n}function Z(t,e){const{currentType:n}=e;let r=null;const s=t.currentChar();switch(7!==n&&8!==n&&11!==n&&9!==n||s!==zn&&s!==In||f(An,o(),0),s){case"@":return t.next(),r=h(e,7,"@"),e.inLinked=!0,r;case".":return m(t),t.next(),h(e,8,".");case":":return m(t),t.next(),h(e,9,":");default:return P(t)?(r=h(e,1,Y(t)),e.braceNest=0,e.inLinked=!1,r):w(t,e)||x(t,e)?(m(t),Z(t,e)):S(t,e)?(m(t),h(e,11,J(t))):C(t,e)?(m(t),"{"===s?K(t,e)||r:h(e,10,V(t))):(7===n&&f(An,o(),0),e.braceNest=0,e.inLinked=!1,X(t,e))}}function X(t,e){let n={type:13};if(e.braceNest>0)return K(t,e)||p(e);if(e.inLinked)return Z(t,e)||p(e);const r=void 0;switch(t.currentChar()){case"{":return K(t,e)||p(e);case"}":return f(6,o(),0),t.next(),h(e,3,"}");case"@":return Z(t,e)||p(e);default:if(P(t))return n=h(e,1,Y(t)),e.braceNest=0,e.inLinked=!1,n;if(O(t))return h(e,0,D(t))}return n}function Q(){const{currentType:t,offset:e,startLoc:n,endLoc:i}=c;return c.lastType=t,c.lastOffset=e,c.lastStartLoc=n,c.lastEndLoc=i,c.offset=s(),c.startLoc=o(),r.currentChar()===Gn?h(c,13):X(r,c)}return{nextToken:Q,currentOffset:s,currentPosition:o,context:l}}const Kn="parser",Zn=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function Xn(t,e,n){switch(t){case"\\\\":return"\\";case"\\'":return"'";default:{const t=parseInt(e||n,16);return t<=55295||t>=57344?String.fromCodePoint(t):"�"}}}function Qn(t={}){const e=!1!==t.location,{onError:n}=t;function r(t,r,s,o,...i){const a=t.currentPosition();if(a.offset+=o,a.column+=o,n){const t=void 0,o=Mn(r,e?bn(s,a):null,{domain:Kn,args:i});n(o)}}function s(t,n,r){const s={type:t};return e&&(s.start=n,s.end=n,s.loc={start:r,end:r}),s}function o(t,n,r,s){e&&(t.end=n,t.loc&&(t.loc.end=r))}function i(t,e){const n=t.context(),r=s(3,n.offset,n.startLoc);return r.value=e,o(r,t.currentOffset(),t.currentPosition()),r}function a(t,e){const n=t.context(),{lastOffset:r,lastStartLoc:i}=n,a=s(5,r,i);return a.index=parseInt(e,10),t.nextToken(),o(a,t.currentOffset(),t.currentPosition()),a}function c(t,e){const n=t.context(),{lastOffset:r,lastStartLoc:i}=n,a=s(4,r,i);return a.key=e,t.nextToken(),o(a,t.currentOffset(),t.currentPosition()),a}function l(t,e){const n=t.context(),{lastOffset:r,lastStartLoc:i}=n,a=s(9,r,i);return a.value=e.replace(Zn,Xn),t.nextToken(),o(a,t.currentOffset(),t.currentPosition()),a}function u(t){const e=t.nextToken(),n=t.context(),{lastOffset:i,lastStartLoc:a}=n,c=s(8,i,a);return 11!==e.type?(r(t,Fn,n.lastStartLoc,0),c.value="",o(c,i,a),{nextConsumeToken:e,node:c}):(null==e.value&&r(t,jn,n.lastStartLoc,0,tr(e)),c.value=e.value||"",o(c,t.currentOffset(),t.currentPosition()),{node:c})}function f(t,e){const n=t.context(),r=s(7,n.offset,n.startLoc);return r.value=e,o(r,t.currentOffset(),t.currentPosition()),r}function h(t){const e=t.context(),n=s(6,e.offset,e.startLoc);let i=t.nextToken();if(8===i.type){const e=u(t);n.modifier=e.node,i=e.nextConsumeToken||t.nextToken()}switch(9!==i.type&&r(t,jn,e.lastStartLoc,0,tr(i)),i=t.nextToken(),2===i.type&&(i=t.nextToken()),i.type){case 10:null==i.value&&r(t,jn,e.lastStartLoc,0,tr(i)),n.key=f(t,i.value||"");break;case 4:null==i.value&&r(t,jn,e.lastStartLoc,0,tr(i)),n.key=c(t,i.value||"");break;case 5:null==i.value&&r(t,jn,e.lastStartLoc,0,tr(i)),n.key=a(t,i.value||"");break;case 6:null==i.value&&r(t,jn,e.lastStartLoc,0,tr(i)),n.key=l(t,i.value||"");break;default:{r(t,Rn,e.lastStartLoc,0);const a=t.context(),c=s(7,a.offset,a.startLoc);return c.value="",o(c,a.offset,a.startLoc),n.key=c,o(n,a.offset,a.startLoc),{nextConsumeToken:i,node:n}}}return o(n,t.currentOffset(),t.currentPosition()),{node:n}}function p(t){const e=t.context(),n=void 0,u=void 0,f=s(2,1===e.currentType?t.currentOffset():e.offset,1===e.currentType?e.endLoc:e.startLoc);f.items=[];let p=null;do{const n=p||t.nextToken();switch(p=null,n.type){case 0:null==n.value&&r(t,jn,e.lastStartLoc,0,tr(n)),f.items.push(i(t,n.value||""));break;case 5:null==n.value&&r(t,jn,e.lastStartLoc,0,tr(n)),f.items.push(a(t,n.value||""));break;case 4:null==n.value&&r(t,jn,e.lastStartLoc,0,tr(n)),f.items.push(c(t,n.value||""));break;case 6:null==n.value&&r(t,jn,e.lastStartLoc,0,tr(n)),f.items.push(l(t,n.value||""));break;case 7:{const e=h(t);f.items.push(e.node),p=e.nextConsumeToken||null;break}}}while(13!==e.currentType&&1!==e.currentType);const d=void 0,g=void 0;return o(f,1===e.currentType?e.lastOffset:t.currentOffset(),1===e.currentType?e.lastEndLoc:t.currentPosition()),f}function d(t,e,n,i){const a=t.context();let c=0===i.items.length;const l=s(1,e,n);l.cases=[],l.cases.push(i);do{const e=p(t);c||(c=0===e.items.length),l.cases.push(e)}while(13!==a.currentType);return c&&r(t,$n,n,0),o(l,t.currentOffset(),t.currentPosition()),l}function g(t){const e=t.context(),{offset:n,startLoc:r}=e,s=p(t);return 13===e.currentType?s:d(t,n,r,s)}function m(n){const i=Yn(n,Ke({},t)),a=i.context(),c=s(0,a.offset,a.startLoc);return e&&c.loc&&(c.loc.source=n),c.body=g(i),t.onCacheKey&&(c.cacheKey=t.onCacheKey(n)),13!==a.currentType&&r(i,jn,a.lastStartLoc,0,n[a.offset]||""),o(c,i.currentOffset(),i.currentPosition()),c}return{parse:m}}function tr(t){if(13===t.type)return"EOF";const e=(t.value||"").replace(/\r?\n/gu,"\\n");return e.length>
110?e.slice(0,9)+"…":e}function er(t,e={}){const n={ast:t,helpers:new Set},r=void 0,s=void 0;return{context:()=>n,helper:t=>(n.helpers.add(t),t)}}function nr(t,e){for(let n=0;n<t.length;n++)rr(t[n],e)}function rr(t,e){switch(t.type){case 1:nr(t.cases,e),e.helper("plural");break;case 2:nr(t.items,e);break;case 6:{const n=void 0;rr(t.key,e),e.helper("linked"),e.helper("type");break}case 5:e.helper("interpolate"),e.helper("list");break;case 4:e.helper("interpolate"),e.helper("named")}}function sr(t,e={}){const n=er(t);n.helper("normalize"),t.body&&rr(t.body,n);const r=n.context();t.helpers=Array.from(r.helpers)}function or(t){const e=t.body;return 2===e.type?ir(e):e.cases.forEach(t=>ir(t)),t}function ir(t){if(1===t.items.length){const e=t.items[0];3!==e.type&&9!==e.type||(t.static=e.value,delete e.value)}else{const e=[];for(let n=0;n<t.items.length;n++){const r=t.items[n];if(3!==r.type&&9!==r.type)break;if(null==r.value)break;e.push(r.value)}if(e.length===t.items.length){t.static=yn(e);for(let e=0;e<t.items.length;e++){const n=t.items[e];3!==n.type&&9!==n.type||delete n.value}}}}function ar(t){switch(t.t=t.type,t.type){case 0:{const e=t;ar(e.body),e.b=e.body,delete e.body;break}case 1:{const e=t,n=e.cases;for(let t=0;t<n.length;t++)ar(n[t]);e.c=n,delete e.cases;break}case 2:{const e=t,n=e.items;for(let t=0;t<n.length;t++)ar(n[t]);e.i=n,delete e.items,e.static&&(e.s=e.static,delete e.static);break}case 3:case 9:case 8:case 7:{const e=t;e.value&&(e.v=e.value,delete e.value);break}case 6:{const e=t;ar(e.key),e.k=e.key,delete e.key,e.modifier&&(ar(e.modifier),e.m=e.modifier,delete e.modifier);break}case 5:{const e=t;e.i=e.index,delete e.index;break}case 4:{const e=t;e.k=e.key,delete e.key;break}}delete t.type}function cr(t,e){const{filename:n,breakLineCode:r,needIndent:s}=e,o=!1!==e.location,i={filename:n,code:"",column:1,line:1,offset:0,map:void 0,breakLineCode:r,needIndent:s,indentLevel:0};o&&t.loc&&(i.source=t.loc.source);const a=void 0;function c(t,e){i.code+=t}function l(t,e=!0){const n=e?r:"";c(s?n+"  ".repeat(t):n)}function u(t=!0){const e=++i.indentLevel;t&&l(e)}function f(t=!0){const e=--i.indentLevel;t&&l(e)}function h(){l(i.indentLevel)}const p=void 0,d=void 0;return{context:()=>i,push:c,indent:u,deindent:f,newline:h,helper:t=>`_${t}`,needIndent:()=>i.needIndent}}function lr(t,e){const{helper:n}=t;t.push(`${n("linked")}
1(`),pr(t,e.key),e.modifier?(t.push(", "),pr(t,e.modifier),t.push(", _type")):t.push(", undefined, _type"),t.push(")")}function ur(t,e){const{helper:n,needIndent:r}=t;t.push(`${n("normalize")}([`),t.indent(r());const s=e.items.length;for(let o=0;o<s&&(pr(t,e.items[o]),o!==s-1);o++)t.push(", ");t.deindent(r()),t.push("])")}function fr(t,e){const{helper:n,needIndent:r}=t;if(e.cases.length>1){t.push(`${n("plural")}([`),t.indent(r());const s=e.cases.length;for(let n=0;n<s&&(pr(t,e.cases[n]),n!==s-1);n++)t.push(", ");t.deindent(r()),t.push("])")}}function hr(t,e){e.body?pr(t,e.body):t.push("null")}function pr(t,e){const{helper:n}=t;switch(e.type){case 0:hr(t,e);break;case 1:fr(t,e);break;case 2:ur(t,e);break;case 6:lr(t,e);break;case 8:case 7:case 9:case 3:t.push(JSON.stringify(e.value),e);break;case 5:t.push(`${n("interpolate")}(${n("list")}(${e.index}))`,e);break;case 4:t.push(`${n("interpolate")}(${n("named")}(${JSON.stringify(e.key)}))`,e)}}const dr=(t,e={})=>{const n=ln(e.mode)?e.mode:"normal",r=ln(e.filename)?e.filename:"message.intl";e.sourceMap;const s=null!=e.breakLineCode?e.breakLineCode:"arrow"===n?";":"\n",o=e.needIndent?e.needIndent:"arrow"!==n,i=t.helpers||[],a=cr(t,{filename:r,breakLineCode:s,needIndent:o});a.push("normal"===n?"function __msg__ (ctx) {":"(ctx) => {"),a.indent(o),i.length>0&&(a.push(`const { ${yn(i.map(t=>`${t}: _${t}`),", ")} } = ctx`),a.newline()),a.push("return "),pr(a,t),a.deindent(o),a.push("}"),delete t.helpers;const{code:c,map:l}=a.context();return{ast:t,code:c,map:l?l.toJSON():void 0}};function gr(t,e={}){const n=Ke({},e),r=!!n.jit,s=!!n.minify,o=null==n.optimize||n.optimize,i=void 0,a=Qn(n).parse(t);return r?(o&&or(a),s&&ar(a),{ast:a,code:""}):(sr(a,n),dr(a,n))}function mr(){"boolean"!=typeof __INTLIFY_PROD_DEVTOOLS__&&(tn().__INTLIFY_PROD_DEVTOOLS__=!1)}function yr(t){return fn(t)&&0===Or(t)&&(on(t,"b")||on(t,"body"))}const vr=["b","body"];function kr(t){return Rr(t,vr)}const _r=["c","cases"];function br(t){return Rr(t,_r,[])}const wr=["s","static"];function Sr(t){return Rr(t,wr)}const xr=["i","items"];function Cr(t){return Rr(t,xr,[])}const Pr=["t","type"];function Or(t){return Rr(t,Pr)}const Tr=["v","value"];function Er(t,e){const n=Rr(t,Tr);if(null!=n)return n;throw Nr(e)}const Lr=["m","modifier"];function Ar(t){return Rr(t,Lr)}const $r=["k","key"];function Fr(t){const e=Rr(t,$r);if(e)return e;throw Nr(6)}function Rr(t,e,n){for(let r=0;r<e.length;r++){const n=e[r];if(on(t,n)&&null!=t[n])return t[n]}return n}const jr=[...vr,..._r,...wr,...xr,...$r,...Lr,...Tr,...Pr];function Nr(t){return new Error(`unhandled node type: ${t}`)}function Mr(t){const e=void 0;return e=>Dr(e,t)}function Dr(t,e){const n=kr(e);if(null==n)throw Nr(0);const r=void 0;if(1===Or(n)){const e=void 0,r=br(n);return t.plural(r.reduce((e,n)=>[...e,Ir(t,n)],[]))}return Ir(t,n)}function Ir(t,e){const n=Sr(e);if(null!=n)return"text"===t.type?n:t.normalize([n]);{const n=Cr(e).reduce((e,n)=>[...e,Hr(t,n)],[]);return t.normalize(n)}}function Hr(t,e){const n=Or(e);switch(n){case 3:case 9:case 7:case 8:return Er(e,n);case 4:{const r=e;if(on(r,"k")&&r.k)return t.interpolate(t.named(r.k));if(on(r,"key")&&r.key)return t.interpolate(t.named(r.key));throw Nr(n)}case 5:{const r=e;if(on(r,"i")&&qe(r.i))return t.interpolate(t.list(r.i));if(on(r,"index")&&qe(r.index))return t.interpolate(t.list(r.index));throw Nr(n)}case 6:{const n=e,r=Ar(n),s=Fr(n);return t.linked(Hr(t,s),r?Hr(t,r):void 0,t.type)}default:throw new Error(`unhandled node on format message part: ${n}`)}}const zr=t=>t;let Ur=Xe();function Wr(t,e={}){let n=!1;const r=e.onError||Dn;return e.onError=t=>{n=!0,r(t)},{...gr(t,e),detectError:n}}function Br(t,e){if(ln(t)){!un(e.warnHtmlMessage)||e.warnHtmlMessage;const n=void 0,r=(e.onCacheKey||zr)(t),s=Ur[r];if(s)return s;const{ast:o,detectError:i}=Wr(t,{...e,location:!1,jit:!0}),a=Mr(o);return i?a:Ur[r]=a}{const e=t.cacheKey;if(e){const n=void 0;return Ur[e]||(Ur[e]=Mr(t))}return Mr(t)}}let Gr=null;function qr(t){Gr=t}function Jr(t,e,n){Gr&&Gr.emit("i18n:init",{timestamp:Date.now(),i18n:t,version:e,meta:n})}const Vr=Yr("function:translate");function Yr(t){return e=>Gr&&Gr.emit(t,e)}const Kr=Nn,Zr=18,Xr=19,Qr=21,ts=22,es=23,ns=24;function rs(t){return Mn(t,null,void 0)}function ss(t,e){return null!=e.locale?is(e.locale):is(t.locale)}let os;function is(t){if(ln(t))return t;if(cn(t)){if(t.resolvedOnce&&null!=os)return os;if("Function"===t.constructor.name){const e=t();if(hn(e))throw rs(Qr);return os=e}throw rs(ts)}throw rs(es)}function as(t,e,n){return[...new Set([n,...an(e)?e:fn(e)?Object.keys(e):ln(e)?[e]:[n]])]}function cs(t,e,n){const r=ln(n)?n:xs,s=t;s.__localeChainCache||(s.__localeChainCache=new Map);let o=s.__localeChainCache.get(r);if(!o){o=[];let t=[n];for(;an(t);)t=ls(o,t,e);const i=an(e)||!gn(e)?e:e.default?e.default:null;t=ln(i)?[i]:i,an(t)&&ls(o,t,!1),s.__localeChainCache.set(r,o)}return o}function ls(t,e,n){let r=!0;for(let s=0;s<e.length&&un(r);s++){const o=e[s];ln(o)&&(r=us(t,e[s],n))}return r}function us(t,e,n){let r;const s=e.split("-");do{const e=void 0;r=fs(t,s.join("-"),n),s.splice(-1,1)}while(s.length&&!0===r);return r}function fs(t,e,n){let r=!1;if(!t.includes(e)&&(r=!0,e)){r="!"!==e[e.length-1];const s=e.replace(/!/g,"");t.push(s),(an(n)||gn(n))&&n[s]&&(r=n[s])}return r}const hs=[];hs[0]={w:[0],i:[3,0],"[":[4],o:[7]},hs[1]={w:[1],".":[2],"[":[4],o:[7]},hs[2]={w:[2],i:[3,0],0:[3,0]},hs[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]},hs[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]},hs[5]={"'":[4,0],o:8,l:[5,0]},hs[6]={'"':[4,0],o:8,l:[6,0]};const ps=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function ds(t){return ps.test(t)}function gs(t){const e=t.charCodeAt(0),n=void 0;return e!==t.charCodeAt(t.length-1)||34!==e&&39!==e?t:t.slice(1,-1)}function ms(t){if(null==t)return"o";const e=void 0;switch(t.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return t;case 95:case 36:case 45:return"i";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"w"}return"i"}function ys(t){const e=t.trim();
1return("0"!==t.charAt(0)||!isNaN(parseInt(t)))&&(ds(e)?gs(e):"*"+e)}function vs(t){const e=[];let n=-1,r=0,s=0,o,i,a,c,l,u,f;const h=[];function p(){const e=t[n+1];if(5===r&&"'"===e||6===r&&'"'===e)return n++,a="\\"+e,h[0](),!0}for(h[0]=()=>{void 0===i?i=a:i+=a},h[1]=()=>{void 0!==i&&(e.push(i),i=void 0)},h[2]=()=>{h[0](),s++},h[3]=()=>{if(s>0)s--,r=4,h[0]();else{if(s=0,void 0===i)return!1;if(i=ys(i),!1===i)return!1;h[1]()}};null!==r;)if(n++,o=t[n],"\\"!==o||!p()){if(c=ms(o),f=hs[r],l=f[c]||f.l||8,8===l)return;if(r=l[0],void 0!==l[1]&&(u=h[l[1]],u&&(a=o,!1===u())))return;if(7===r)return e}}const ks=new Map;function _s(t,e){return fn(t)?t[e]:null}function bs(t,e){if(!fn(t))return null;let n=ks.get(e);if(n||(n=vs(e),n&&ks.set(e,n)),!n)return null;const r=n.length;let s=t,o=0;for(;o<r;){const t=n[o];if(jr.includes(t)&&yr(s))return null;const e=s[t];if(void 0===e)return null;if(cn(s))return null;s=e,o++}return s}const ws="10.0.8",Ss=-1,xs="en-US",Cs="",Ps=t=>`${t.charAt(0).toLocaleUpperCase()}${t.substr(1)}`;function Os(){return{upper:(t,e)=>"text"===e&&ln(t)?t.toUpperCase():"vnode"===e&&fn(t)&&"__v_isVNode"in t?t.children.toUpperCase():t,lower:(t,e)=>"text"===e&&ln(t)?t.toLowerCase():"vnode"===e&&fn(t)&&"__v_isVNode"in t?t.children.toLowerCase():t,capitalize:(t,e)=>"text"===e&&ln(t)?Ps(t):"vnode"===e&&fn(t)&&"__v_isVNode"in t?Ps(t.children):t}}let Ts,Es,Ls;function As(t){Ts=t}function $s(t){Es=t}function Fs(t){Ls=t}let Rs=null;const js=t=>{Rs=t},Ns=()=>Rs;let Ms=0;function Ds(t={}){const e=cn(t.onWarn)?t.onWarn:ze,n=ln(t.version)?t.version:ws,r=ln(t.locale)||cn(t.locale)?t.locale:xs,s=cn(r)?xs:r,o=an(t.fallbackLocale)||gn(t.fallbackLocale)||ln(t.fallbackLocale)||!1===t.fallbackLocale?t.fallbackLocale:s,i=gn(t.messages)?t.messages:Is(s),a=gn(t.datetimeFormats)?t.datetimeFormats:Is(s),c=gn(t.numberFormats)?t.numberFormats:Is(s),l=Ke(Xe(),t.modifiers,Os()),u=t.pluralRules||Xe(),f=cn(t.missing)?t.missing:null,h=!un(t.missingWarn)&&!Ve(t.missingWarn)||t.missingWarn,p=!un(t.fallbackWarn)&&!Ve(t.fallbackWarn)||t.fallbackWarn,d=!!t.fallbackFormat,g=!!t.unresolving,m=cn(t.postTranslation)?t.postTranslation:null,y=gn(t.processor)?t.processor:null,v=!un(t.warnHtmlMessage)||t.warnHtmlMessage,k=!!t.escapeParameter,_=cn(t.messageCompiler)?t.messageCompiler:Ts,b=cn(t.messageResolver)?t.messageResolver:Es||_s,w=cn(t.localeFallbacker)?t.localeFallbacker:Ls||as,S=fn(t.fallbackContext)?t.fallbackContext:void 0,x=t,C=fn(x.__datetimeFormatters)?x.__datetimeFormatters:new Map,P=fn(x.__numberFormatters)?x.__numberFormatters:new Map,O=fn(x.__meta)?x.__meta:{};Ms++;const T={version:n,cid:Ms,locale:r,fallbackLocale:o,messages:i,modifiers:l,pluralRules:u,missing:f,missingWarn:h,fallbackWarn:p,fallbackFormat:d,unresolving:g,postTranslation:m,processor:y,warnHtmlMessage:v,escapeParameter:k,messageCompiler:_,messageResolver:b,localeFallbacker:w,fallbackContext:S,onWarn:e,__meta:O};return T.datetimeFormats=a,T.numberFormats=c,T.__datetimeFormatters=C,T.__numberFormatters=P,__INTLIFY_PROD_DEVTOOLS__&&Jr(T,n,O),T}const Is=t=>({[t]:Xe()});function Hs(t,e,n,r,s){const{missing:o,onWarn:i}=t;if(null!==o){const r=o(t,n,e,s);return ln(r)?r:e}return e}function zs(t,e,n){const r=void 0;t.__localeChainCache=new Map,t.localeFallbacker(t,n,e)}function Us(t,e){return t!==e&&t.split("-")[0]===e.split("-")[0]}function Ws(t,e){const n=e.indexOf(t);if(-1===n)return!1;for(let r=n+1;r<e.length;r++)if(Us(t,e[r]))return!0;return!1}function Bs(t,...e){const{datetimeFormats:n,unresolving:r,fallbackLocale:s,onWarn:o,localeFallbacker:i}=t,{__datetimeFormatters:a}=t,[c,l,u,f]=qs(...e),h=un(u.missingWarn)?u.missingWarn:t.missingWarn;un(u.fallbackWarn)?u.fallbackWarn:t.fallbackWarn;const p=!!u.part,d=ss(t,u),g=i(t,s,d);if(!ln(c)||""===c)return new Intl.DateTimeFormat(d,f).format(l);let m={},y,v=null;const k="datetime format";for(let w=0;w<g.length&&(y=g[w],m=n[y]||{},v=m[c],!gn(v));w++)Hs(t,c,y,h,k);if(!gn(v)||!ln(y))return r?Ss:c;let _=`${y}__${c}`;Ye(f)||(_=`${_}__${JSON.stringify(f)}`);let b=a.get(_);return b||(b=new Intl.DateTimeFormat(y,Ke({},v,f)),a.set(_,b)),p?b.formatToParts(l):b.format(l)}const Gs=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function qs(...t){const[e,n,r,s]=t,o=Xe();let i=Xe(),a;if(ln(e)){const t=e.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!t)throw rs(Xr);const n=t[3]?t[3].trim().startsWith("T")?`${t[1].trim()}${t[3].trim()}`:`${t[1].trim()}T${t[3].trim()}`:t[1].trim();a=new Date(n);try{a.toISOString()}catch{throw rs(Xr)}}else if(Je(e)){if(isNaN(e.getTime()))throw rs(Zr);a=e}else{if(!qe(e))throw rs(Kr);a=e}
1return ln(n)?o.key=n:gn(n)&&Object.keys(n).forEach(t=>{Gs.includes(t)?i[t]=n[t]:o[t]=n[t]}),ln(r)?o.locale=r:gn(r)&&(i=r),gn(s)&&(i=s),[o.key||"",a,o,i]}function Js(t,e,n){const r=t;for(const s in n){const t=`${e}__${s}`;r.__datetimeFormatters.has(t)&&r.__datetimeFormatters.delete(t)}}function Vs(t,...e){const{numberFormats:n,unresolving:r,fallbackLocale:s,onWarn:o,localeFallbacker:i}=t,{__numberFormatters:a}=t,[c,l,u,f]=Ks(...e),h=un(u.missingWarn)?u.missingWarn:t.missingWarn;un(u.fallbackWarn)?u.fallbackWarn:t.fallbackWarn;const p=!!u.part,d=ss(t,u),g=i(t,s,d);if(!ln(c)||""===c)return new Intl.NumberFormat(d,f).format(l);let m={},y,v=null;const k="number format";for(let w=0;w<g.length&&(y=g[w],m=n[y]||{},v=m[c],!gn(v));w++)Hs(t,c,y,h,k);if(!gn(v)||!ln(y))return r?Ss:c;let _=`${y}__${c}`;Ye(f)||(_=`${_}__${JSON.stringify(f)}`);let b=a.get(_);return b||(b=new Intl.NumberFormat(y,Ke({},v,f)),a.set(_,b)),p?b.formatToParts(l):b.format(l)}const Ys=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function Ks(...t){const[e,n,r,s]=t,o=Xe();let i=Xe();if(!qe(e))throw rs(Kr);const a=e;return ln(n)?o.key=n:gn(n)&&Object.keys(n).forEach(t=>{Ys.includes(t)?i[t]=n[t]:o[t]=n[t]}),ln(r)?o.locale=r:gn(r)&&(i=r),gn(s)&&(i=s),[o.key||"",a,o,i]}function Zs(t,e,n){const r=t;for(const s in n){const t=`${e}__${s}`;r.__numberFormatters.has(t)&&r.__numberFormatters.delete(t)}}const Xs=t=>t,Qs=t=>"",to="text",eo=t=>0===t.length?"":yn(t),no=mn;function ro(t,e){return t=Math.abs(t),2===e?t?t>1?1:0:1:t?Math.min(t,2):0}function so(t){const e=qe(t.pluralIndex)?t.pluralIndex:-1;return t.named&&(qe(t.named.count)||qe(t.named.n))?qe(t.named.count)?t.named.count:qe(t.named.n)?t.named.n:e:e}function oo(t,e){e.count||(e.count=t),e.n||(e.n=t)}function io(t={}){const e=t.locale,n=so(t),r=fn(t.pluralRules)&&ln(e)&&cn(t.pluralRules[e])?t.pluralRules[e]:ro,s=fn(t.pluralRules)&&ln(e)&&cn(t.pluralRules[e])?ro:void 0,o=t=>t[r(n,t.length,s)],i=t.list||[],a=t=>i[t],c=t.named||Xe();qe(t.pluralIndex)&&oo(n,c);const l=t=>c[t];function u(e,n){const r=void 0;return(cn(t.messages)?t.messages(e,!!n):!!fn(t.messages)&&t.messages[e])||(t.parent?t.parent.message(e):Qs)}const f=e=>t.modifiers?t.modifiers[e]:Xs,h=gn(t.processor)&&cn(t.processor.normalize)?t.processor.normalize:eo,p=gn(t.processor)&&cn(t.processor.interpolate)?t.processor.interpolate:no,d=void 0,g=void 0,m={list:a,named:l,plural:o,linked:(t,...e)=>{const[n,r]=e;let s="text",o="";1===e.length?fn(n)?(o=n.modifier||o,s=n.type||s):ln(n)&&(o=n||o):2===e.length&&(ln(n)&&(o=n||o),ln(r)&&(s=r||s));const i=u(t,!0)(m),a="vnode"===s&&an(i)&&o?i[0]:i;return o?f(o)(a,s):a},message:u,type:gn(t.processor)&&ln(t.processor.type)?t.processor.type:to,interpolate:p,normalize:h,values:Ke(Xe(),i,c)};return m}const ao=()=>"",co=t=>cn(t);function lo(t,...e){const{fallbackFormat:n,postTranslation:r,unresolving:s,messageCompiler:o,fallbackLocale:i,messages:a}=t,[c,l]=go(...e),u=un(l.missingWarn)?l.missingWarn:t.missingWarn,f=un(l.fallbackWarn)?l.fallbackWarn:t.fallbackWarn,h=un(l.escapeParameter)?l.escapeParameter:t.escapeParameter,p=!!l.resolvedMessage,d=ln(l.default)||un(l.default)?un(l.default)?o?c:()=>c:l.default:n?o?c:()=>c:null,g=n||null!=d&&(ln(d)||cn(d)),m=ss(t,l);h&&uo(l);let[y,v,k]=p?[c,m,a[m]||Xe()]:fo(t,c,m,i,f,u),_=y,b=c;if(p||ln(_)||yr(_)||co(_)||g&&(_=d,b=_),!(p||(ln(_)||yr(_)||co(_))&&ln(v)))return s?Ss:c;let w=!1;const S=()=>{w=!0},x=co(_)?_:ho(t,c,v,_,b,S);if(w)return _;const C=void 0,P=void 0,O=po(t,x,io(yo(t,v,k,l)));let T=r?r(O,c):O;if(h&&ln(T)&&(T=rn(T)),__INTLIFY_PROD_DEVTOOLS__){const e={timestamp:Date.now(),key:ln(c)?c:co(_)?_.key:"",locale:v||(co(_)?_.locale:""),format:ln(_)?_:co(_)?_.source:"",message:T};e.meta=Ke({},t.__meta,{}),Vr(e)}return T}function uo(t){an(t.list)?t.list=t.list.map(t=>
1ln(t)?en(t):t):fn(t.named)&&Object.keys(t.named).forEach(e=>{ln(t.named[e])&&(t.named[e]=en(t.named[e]))})}function fo(t,e,n,r,s,o){const{messages:i,onWarn:a,messageResolver:c,localeFallbacker:l}=t,u=l(t,r,n);let f=Xe(),h,p=null;const d="translate";for(let g=0;g<u.length&&(h=u[g],f=i[h]||Xe(),null===(p=c(f,e))&&(p=f[e]),!(ln(p)||yr(p)||co(p)));g++)if(!Ws(h,u)){const n=Hs(t,e,h,o,d);n!==e&&(p=n)}return[p,h,f]}function ho(t,e,n,r,s,o){const{messageCompiler:i,warnHtmlMessage:a}=t;if(co(r)){const t=r;return t.locale=t.locale||n,t.key=t.key||e,t}if(null==i){const t=()=>r;return t.locale=n,t.key=e,t}const c=i(r,mo(t,n,s,r,a,o));return c.locale=n,c.key=e,c.source=r,c}function po(t,e,n){const r=void 0;return e(n)}function go(...t){const[e,n,r]=t,s=Xe();if(!(ln(e)||qe(e)||co(e)||yr(e)))throw rs(Kr);const o=qe(e)?String(e):(co(e),e);return qe(n)?s.plural=n:ln(n)?s.default=n:gn(n)&&!Ye(n)?s.named=n:an(n)&&(s.list=n),qe(r)?s.plural=r:ln(r)?s.default=r:gn(r)&&Ke(s,r),[o,s]}function mo(t,e,n,r,s,o){return{locale:e,key:n,warnHtmlMessage:s,onError:t=>{throw o&&o(t),t},onCacheKey:t=>Be(e,n,t)}}function yo(t,e,n,r){const{modifiers:s,pluralRules:o,messageResolver:i,fallbackLocale:a,fallbackWarn:c,missingWarn:l,fallbackContext:u}=t,f=void 0,h={locale:e,modifiers:s,pluralRules:o,messages:(r,s)=>{let o=i(n,r);if(null==o&&(u||s)){const[,,n]=fo(u||t,r,e,a,c,l);o=i(n,r)}if(ln(o)||yr(o)){let n=!1;const s=void 0,i=ho(t,r,e,o,r,()=>{n=!0});return n?ao:i}return co(o)?o:ao}};return t.processor&&(h.processor=t.processor),r.list&&(h.list=r.list),r.named&&(h.named=r.named),qe(r.plural)&&(h.pluralIndex=r.plural),h}mr();var vo={exports:{}},ko,_o;function bo(){return ko||(ko=1,function(e,n){!function(t){e.exports=t()}(function(){return function e(n,r,s){function o(a,c){if(!r[a]){if(!n[a]){var l="function"==typeof t&&t;if(!c&&l)return l(a,!0);if(i)return i(a,!0);throw new Error("Cannot find module '"+a+"'")}var u=r[a]={exports:{}};n[a][0].call(u.exports,function(t){var e;return o(n[a][1][t]||t)},u,u.exports,e,n,r,s)}return r[a].exports}for(var i="function"==typeof t&&t,a=0;a<s.length;a++)o(s[a]);return o}({1:[function(t,e,n){var r=t("./utils");function s(t,e,n){r.defineNonEnumerable(this,"uploader",t),r.defineNonEnumerable(this,"file",e),r.defineNonEnumerable(this,"bytes",null),this.offset=n,this.tested=!1,this.retries=0,this.pendingRetry=!1,this.preprocessState=0,this.readState=0,this.loaded=0,this.total=0,this.chunkSize=r.evalOpts(t.opts.chunkSize,e,this),this.startByte=this.offset*this.chunkSize,this.endByte=this.computeEndByte(),this.xhr=null}var o=s.STATUS={PENDING:"pending",UPLOADING:"uploading",READING:"reading",SUCCESS:"success",ERROR:"error",COMPLETE:"complete",PROGRESS:"progress",RETRY:"retry"};r.extend(s.prototype,{_event:function(t,e){(e=r.toArray(arguments)).unshift(this),this.file._chunkEvent.apply(this.file,e)},computeEndByte:function(){var t=Math.min(this.file.size,(this.offset+1)*this.chunkSize);return this.file.size-t<this.chunkSize&&!this.uploader.opts.forceChunkSize&&(t=this.file.size),t},getParams:function(){return{chunkNumber:this.offset+1,chunkSize:this.chunkSize,currentChunkSize:this.endByte-this.startByte,totalSize:this.file.size,identifier:this.file.uniqueIdentifier,filename:this.file.name,relativePath:this.file.relativePath,totalChunks:this.file.chunks.length}},getTarget:function(t,e){return e.length?(t.indexOf("?")<0?t+="?":t+="&",t+e.join("&")):t},test:function(){this.xhr=new XMLHttpRequest,this.xhr.addEventListener("load",s,!1),this.xhr.addEventListener("error",s,!1);var t=r.evalOpts(this.uploader.opts.testMethod,this.file,this),e=this.prepareXhrRequest(t,!0);this.xhr.send(e);var n=this;function s(t){var e=n.status(!0);e===o.ERROR?(n._event(e,n.message()),n.uploader.uploadNextChunk()):e===o.SUCCESS?(n._event(e,n.message()),n.tested=!0):n.file.paused||(n.tested=!0,n.send())}},preprocessFinished:function(){this.endByte=this.computeEndByte(),this.preprocessState=2,this.send()},readFinished:function(t){this.readState=2,this.bytes=t,this.send()},send:function(){var t=this.uploader.opts.preprocess,e=this.uploader.opts.readFileFn;if(r.isFunction(t))switch(this.preprocessState){case 0:return this.preprocessState=1,void t(this);case 1:return}switch(this.readState){case 0:return this.readState=1,void e(this.file,this.file.fileType,this.startByte,this.endByte,this);case 1:return}if(!this.uploader.opts.testChunks||this.tested){this.loaded=0,this.total=0,this.pendingRetry=!1,this.xhr=new XMLHttpRequest,this.xhr.upload.addEventListener("progress",a,!1),this.xhr.addEventListener("load",c,!1),this.xhr.addEventListener("error",c,!1);var n=r.evalOpts(this.uploader.opts.uploadMethod,this.file,this),s=this.prepareXhrRequest(n,!1,this.uploader.opts.method,this.bytes);this.xhr.send(s);var i=this}else this.test();function a(t){t.lengthComputable&&(i.loaded=t.loaded,i.total=t.total),i._event(o.PROGRESS,t)}function c(t){var e=i.message();i.processingResponse=!0,i.uploader.opts.processResponse(e,function(t,e){if(i.processingResponse=!1,i.xhr){i.processedState={err:t,res:e};var n=i.status();if(n===o.SUCCESS||n===o.ERROR)i._event(n,e),n===o.ERROR&&i.uploader.uploadNextChunk();else{i._event(o.RETRY,e),i.pendingRetry=!0,i.abort(),i.retries++;var r=i.uploader.opts.chunkRetryInterval;null!==r?setTimeout(function(){i.send()},r):i.send()}}},i.file,i)}},abort:function(){var t=this.xhr;this.xhr=null,this.processingResponse=!1,this.processedState=null,t&&t.abort()},status:function(t){if(1===this.readState)return o.READING;if(this.pendingRetry||1===this.preprocessState)return o.UPLOADING;if(this.xhr){if(this.xhr.readyState<4||this.processingResponse)return o.UPLOADING;var e;this.uploader.opts.successStatuses.indexOf(this.xhr.status)>-1?e=o.SUCCESS:this.uploader.opts.permanentErrors.indexOf(this.xhr.status)>-1||!t&&this.retries>=this.uploader.opts.maxChunkRetries?e=o.ERROR:(this.abort(),e=o.PENDING);var n=this.processedState;return n&&n.err&&(e=o.ERROR),e}return o.PENDING},message:function(){return this.xhr?this.xhr.responseText:""},progress:function(){if(this.pendingRetry)return 0;var t=this.status();return t===o.SUCCESS||t===o.ERROR?1:t===o.PENDING?0:this.total>0?this.loaded/this.total:0},sizeUploaded:function(){var t=this.endByte-this.startByte;return this.status()!==o.SUCCESS&&(t=this.progress()*t),t},prepareXhrRequest:function(t,e,n,s){var o=r.evalOpts(this.uploader.opts.query,this.file,this,e);o=r.extend(this.getParams(),o),o=this.uploader.opts.processParams(o,this.file,this,e);var i=r.evalOpts(this.uploader.opts.target,this.file,this,e),a=null;if("GET"===t||"octet"===n){var c=[];r.each(o,function(t,e){c.push([encodeURIComponent(e),encodeURIComponent(t)].join("="))}),i=this.getTarget(i,c),a=s||null}else a=new FormData,r.each(o,function(t,e){a.append(e,t)}),void 0!==s&&a.append(this.uploader.opts.fileParameterName,s,this.file.name);return this.xhr.open(t,i,!0),this.xhr.withCredentials=this.uploader.opts.withCredentials,r.each(r.evalOpts(this.uploader.opts.headers,this.file,this,e),function(t,e){this.xhr.setRequestHeader(e,t)},this),a}}),e.exports=s},{"./utils":5}],2:[function(t,e,n){var r=t("./utils").each,s={_eventData:null,on:function(t,e){this._eventData||(this._eventData={}),this._eventData[t]||(this._eventData[t]=[]);var n=!1;r(this._eventData[t],function(t){if(t===e)return n=!0,!1}),n||this._eventData[t].push(e)},off:function(t,e){this._eventData||(this._eventData={}),this._eventData[t]&&this._eventData[t].length&&(e?r(this._eventData[t],function(n,r){if(n===e)return this._eventData[t].splice(r,1),!1},this):this._eventData[t]=[])},trigger:function(t){if(this._eventData||(this._eventData={}),!this._eventData[t])return!0;
1var e=this._eventData[t].slice.call(arguments,1),n=!1;return r(this._eventData[t],function(t){n=!1===t.apply(this,e)||n},this),!n}};e.exports=s},{"./utils":5}],3:[function(t,e,n){var r=t("./utils"),s=t("./event"),o=t("./file"),i=t("./chunk"),a="0.6.0",c="undefined"==typeof window,l=!c&&window.navigator.msPointerEnabled,u=function(){if(c)return!1;var t="slice",e=r.isDefined(window.File)&&r.isDefined(window.Blob)&&r.isDefined(window.FileList),n=null;return e&&(n=window.Blob.prototype,r.each(["slice","webkitSlice","mozSlice"],function(e){if(n[e])return t=e,!1}),e=!!n[t]),e&&(h.sliceName=t),n=null,e}(),f=function(){if(c)return!1;var t=window.document.createElement("input");t.type="file";var e="webkitdirectory"in t||"directory"in t;return t=null,e}();function h(t){this.support=u,this.support&&(this.supportDirectory=f,r.defineNonEnumerable(this,"filePaths",{}),this.opts=r.extend({},h.defaults,t||{}),this.preventEvent=r.bind(this._preventEvent,this),o.call(this,this))}var p=function(t,e,n,r,s){s.readFinished(t.file[h.sliceName](n,r,e))};h.version=a,h.defaults={chunkSize:1048576,forceChunkSize:!1,simultaneousUploads:3,singleFile:!1,fileParameterName:"file",progressCallbacksInterval:500,speedSmoothingFactor:.1,query:{},headers:{},withCredentials:!1,preprocess:null,method:"multipart",testMethod:"GET",uploadMethod:"POST",prioritizeFirstAndLastChunk:!1,allowDuplicateUploads:!1,target:"/",testChunks:!0,generateUniqueIdentifier:null,maxChunkRetries:0,chunkRetryInterval:null,permanentErrors:[404,415,500,501],successStatuses:[200,201,202],onDropStopPropagation:!1,initFileFn:null,readFileFn:p,checkChunkUploadedByResponse:null,initialPaused:!1,processResponse:function(t,e){e(null,t)},processParams:function(t){return t}},h.utils=r,h.event=s,h.File=o,h.Chunk=i,h.prototype=r.extend({},o.prototype),r.extend(h.prototype,s),r.extend(h.prototype,{constructor:h,_trigger:function(t){var e=r.toArray(arguments),n=!this.trigger.apply(this,arguments);return"catchAll"!==t&&(e.unshift("catchAll"),n=!this.trigger.apply(this,e)||n),!n},_triggerAsync:function(){var t=arguments;r.nextTick(function(){this._trigger.apply(this,t)},this)},addFiles:function(t,e){var n=[],s=this.fileList.length;r.each(t,function(t){if((!l||l&&t.size>0)&&(t.size%4096!=0||"."!==t.name&&"."!==t.fileName)){var r=this.generateUniqueIdentifier(t);if(this.opts.allowDuplicateUploads||!this.getFromUniqueIdentifier(r)){var s=new o(this,t,this);s.uniqueIdentifier=r,this._trigger("fileAdded",s,e)?n.push(s):o.prototype.removeFile.call(this,s)}}},this);var i=this.fileList.slice(s);this._trigger("filesAdded",n,i,e)?(r.each(n,function(t){this.opts.singleFile&&this.files.length>0&&this.removeFile(this.files[0]),this.files.push(t)},this),this._trigger("filesSubmitted",n,i,e)):r.each(i,function(t){o.prototype.removeFile.call(this,t)},this)},addFile:function(t,e){this.addFiles([t],e)},cancel:function(){for(var t=this.fileList.length-1;t>=0;t--)this.fileList[t].cancel()},removeFile:function(t){o.prototype.removeFile.call(this,t),this._trigger("fileRemoved",t)},generateUniqueIdentifier:function(t){var e=this.opts.generateUniqueIdentifier;if(r.isFunction(e))return e(t);var n=t.relativePath||t.webkitRelativePath||t.fileName||t.name;return t.size+"-"+n.replace(/[^0-9a-zA-Z_-]/gim,"")},getFromUniqueIdentifier:function(t){var e=!1;return r.each(this.files,function(n){if(n.uniqueIdentifier===t)return e=n,!1}),e},uploadNextChunk:function(t){var e=!1,n=i.STATUS.PENDING,s=this.uploader.opts.checkChunkUploadedByResponse;if(this.opts.prioritizeFirstAndLastChunk&&(r.each(this.files,function(t){if(!t.paused&&(!s||t._firstResponse||!t.isUploading()))return t.chunks.length&&t.chunks[0].status()===n?(t.chunks[0].send(),e=!0,!1):t.chunks.length>1&&t.chunks[t.chunks.length-1].status()===n?(t.chunks[t.chunks.length-1].send(),e=!0,!1):void 0}),e))return e;if(r.each(this.files,function(t){if(!t.paused){if(s&&!t._firstResponse&&t.isUploading())return;r.each(t.chunks,function(t){if(t.status()===n)return t.send(),e=!0,!1})}if(e)return!1}),e)return!0;var o=!1;return r.each(this.files,function(t){if(!t.isComplete())return o=!0,!1}),o||t||!this.files.length||this._triggerAsync("complete"),o},upload:function(t){var e=this._shouldUploadNext();if(!1!==e){!t&&this._trigger("uploadStart");for(var n=!1,r=1;r<=this.opts.simultaneousUploads-e&&((n=this.uploadNextChunk(!t)||n)||!t);r++);n||t||this._triggerAsync("complete")}},_shouldUploadNext:function(){var t=0,e=!0,n=this.opts.simultaneousUploads,s=i.STATUS.UPLOADING;return r.each(this.files,function(o){return r.each(o.chunks,function(r){if(r.status()===s&&++t>=n)return e=!1,!1}),e}),e&&t},assignBrowse:function(t,e,n,s){void 0===t.length&&(t=[t]),r.each(t,function(t){var o;"INPUT"===t.tagName&&"file"===t.type?o=t:((o=document.createElement("input")).setAttribute("type","file"),r.extend(o.style,{visibility:"hidden",position:"absolute",width:"1px",height:"1px"}),t.appendChild(o),t.addEventListener("click",function(e){"label"!==t.tagName.toLowerCase()&&o.click()},!1)),this.opts.singleFile||n||o.setAttribute("multiple","multiple"),e&&o.setAttribute("webkitdirectory","webkitdirectory"),s&&r.each(s,function(t,e){o.setAttribute(e,t)});var i=this;o.addEventListener("change",function(t){i._trigger(t.type,t),t.target.value&&(i.addFiles(t.target.files,t),t.target.value="")},!1)},this)},onDrop:function(t){this._trigger(t.type,t),this.opts.onDropStopPropagation&&t.stopPropagation(),t.preventDefault(),this._parseDataTransfer(t.dataTransfer,t)},_parseDataTransfer:function(t,e){t.items&&t.items[0]&&t.items[0].webkitGetAsEntry?this.webkitReadDataTransfer(t,e):this.addFiles(t.files,e)},webkitReadDataTransfer:function(t,e){var n=this,s=t.items.length,o=[];function i(t){t.readEntries(function(e){e.length?(s+=e.length,r.each(e,function(t){if(t.isFile){var e=t.fullPath;t.file(function(t){a(t,e)},c)}else t.isDirectory&&i(t.createReader())}),i(t)):l()},c)}function a(t,e){t.relativePath=e.substring(1),o.push(t),l()}function c(t){throw t}function l(){0===--s&&n.addFiles(o,e)}r.each(t.items,function(t){var e=t.webkitGetAsEntry();e?e.isFile?a(t.getAsFile(),e.fullPath):i(e.createReader()):l()})},_assignHelper:function(t,e,n){void 0===t.length&&(t=[t]);var s=n?"removeEventListener":"addEventListener";r.each(t,function(t){r.each(e,function(e,n){t[s](n,e,!1)},this)},this)},_preventEvent:function(t){r.preventEvent(t),this._trigger(t.type,t)},assignDrop:function(t){this._onDrop=r.bind(this.onDrop,this),this._assignHelper(t,{dragover:this.preventEvent,dragenter:this.preventEvent,dragleave:this.preventEvent,drop:this._onDrop})},unAssignDrop:function(t){this._assignHelper(t,{dragover:this.preventEvent,dragenter:this.preventEvent,dragleave:this.preventEvent,drop:this._onDrop},!0),this._onDrop=null}}),e.exports=h},{"./chunk":1,"./event":2,"./file":4,"./utils":5}],4:[function(t,e,n){var r=t("./utils"),s=t("./chunk");function o(t,e,n){r.defineNonEnumerable(this,"uploader",t),this.isRoot=this.isFolder=t===this,r.defineNonEnumerable(this,"parent",n||null),r.defineNonEnumerable(this,"files",[]),r.defineNonEnumerable(this,"fileList",[]),r.defineNonEnumerable(this,"chunks",[]),r.defineNonEnumerable(this,"_errorFiles",[]),r.defineNonEnumerable(this,"file",null),this.id=r.uid(),this.isRoot||!e?this.file=null:r.isString(e)?(this.isFolder=!0,this.file=null,this.path=e,this.parent.path&&(e=e.substr(this.parent.path.length)),this.name="/"===e.charAt(e.length-1)?e.substr(0,e.length-1):e):(this.file=e,this.fileType=this.file.type,this.name=e.fileName||e.name,this.size=e.size,this.relativePath=e.relativePath||e.webkitRelativePath||this.name,this._parseFile()),this.paused=t.opts.initialPaused,this.error=!1,this.allError=!1,this.aborted=!1,this.completed=!1,this.averageSpeed=0,this.currentSpeed=0,this._lastProgressCallback=Date.now(),this._prevUploadedSize=0,this._prevProgress=0,this.bootstrap()}function i(t){var e=[],n=t.split("/"),r=n.length,s=1;if(n.splice(r-1,1),r--,n.length)for(;s<=r;)e.push(n.slice(0,s++).join("/")+"/");return e}r.extend(o.prototype,{_parseFile:function(){var t=i(this.relativePath);if(t.length){var e=this.uploader.filePaths;r.each(t,function(n,r){var s=e[n];
1s||(s=new o(this.uploader,n,this.parent),e[n]=s,this._updateParentFileList(s)),this.parent=s,s.files.push(this),t[r+1]||s.fileList.push(this)},this)}else this._updateParentFileList()},_updateParentFileList:function(t){t||(t=this);var e=this.parent;e&&e.fileList.push(t)},_eachAccess:function(t,e){this.isFolder?r.each(this.files,function(e,n){return t.call(this,e,n)},this):e.call(this,this)},bootstrap:function(){if(!this.isFolder){var t=this.uploader.opts;r.isFunction(t.initFileFn)&&t.initFileFn.call(this,this),this.abort(!0),this._resetError(),this._prevProgress=0;for(var e=t.forceChunkSize?Math.ceil:Math.floor,n=Math.max(e(this.size/t.chunkSize),1),o=0;o<n;o++)this.chunks.push(new s(this.uploader,this,o))}},_measureSpeed:function(){var t=this.uploader.opts.speedSmoothingFactor,e=Date.now()-this._lastProgressCallback;if(e){var n=this.sizeUploaded();this.currentSpeed=Math.max((n-this._prevUploadedSize)/e*1e3,0),this.averageSpeed=t*this.currentSpeed+(1-t)*this.averageSpeed,this._prevUploadedSize=n,this.parent&&this.parent._checkProgress()&&this.parent._measureSpeed()}},_checkProgress:function(t){return Date.now()-this._lastProgressCallback>=this.uploader.opts.progressCallbacksInterval},_chunkEvent:function(t,e,n){var r=this.uploader,o=s.STATUS,i=this,a=this.getRoot(),c=function(){i._measureSpeed(),r._trigger("fileProgress",a,i,t),i._lastProgressCallback=Date.now()};switch(e){case o.PROGRESS:this._checkProgress()&&c();break;case o.ERROR:this._error(),this.abort(!0),r._trigger("fileError",a,this,n,t);break;case o.SUCCESS:if(this._updateUploadedChunks(n,t),this.error)return;clearTimeout(this._progeressId),this._progeressId=0;var l=Date.now()-this._lastProgressCallback;l<r.opts.progressCallbacksInterval&&(this._progeressId=setTimeout(c,r.opts.progressCallbacksInterval-l)),this.isComplete()?(clearTimeout(this._progeressId),c(),this.currentSpeed=0,this.averageSpeed=0,r._trigger("fileSuccess",a,this,n,t),a.isComplete()&&r._trigger("fileComplete",a,this)):this._progeressId||c();break;case o.RETRY:r._trigger("fileRetry",a,this,t)}},_updateUploadedChunks:function(t,e){var n=this.uploader.opts.checkChunkUploadedByResponse;if(n){var s=e.xhr;r.each(this.chunks,function(r){if(!r.tested){var o=n.call(this,r,t);r!==e||o||(r.xhr=null),o&&(r.xhr=s),r.tested=!0}},this),this._firstResponse?this.uploader.uploadNextChunk():(this._firstResponse=!0,this.uploader.upload(!0))}else this.uploader.uploadNextChunk()},_error:function(){this.error=this.allError=!0;for(var t=this.parent;t&&t!==this.uploader;)t._errorFiles.push(this),t.error=!0,t._errorFiles.length===t.files.length&&(t.allError=!0),t=t.parent},_resetError:function(){this.error=this.allError=!1;for(var t=this.parent,e=-1;t&&t!==this.uploader;)e=t._errorFiles.indexOf(this),t._errorFiles.splice(e,1),t.allError=!1,t._errorFiles.length||(t.error=!1),t=t.parent},isComplete:function(){if(!this.completed){var t=!1;this._eachAccess(function(e){if(!e.isComplete())return t=!0,!1},function(){if(this.error)t=!0;else{var e=s.STATUS;r.each(this.chunks,function(n){var r=n.status();if(r===e.ERROR||r===e.PENDING||r===e.UPLOADING||r===e.READING||1===n.preprocessState||1===n.readState)return t=!0,!1})}}),this.completed=!t}return this.completed},isUploading:function(){var t=!1;return this._eachAccess(function(e){if(e.isUploading())return t=!0,!1},function(){var e=s.STATUS.UPLOADING;r.each(this.chunks,function(n){if(n.status()===e)return t=!0,!1})}),t},resume:function(){this._eachAccess(function(t){t.resume()},function(){this.paused=!1,this.aborted=!1,this.uploader.upload()}),this.paused=!1,this.aborted=!1},pause:function(){this._eachAccess(function(t){t.pause()},function(){this.paused=!0,this.abort()}),this.paused=!0},cancel:function(){this.uploader.removeFile(this)},retry:function(t){var e=function(t){t.error&&t.bootstrap()};t?t.bootstrap():this._eachAccess(e,function(){this.bootstrap()}),this.uploader.upload()},abort:function(t){if(!this.aborted){this.currentSpeed=0,this.averageSpeed=0,this.aborted=!t;var e=this.chunks;t&&(this.chunks=[]);var n=s.STATUS.UPLOADING;r.each(e,function(t){t.status()===n&&(t.abort(),this.uploader.uploadNextChunk())},this)}},progress:function(){var t=0,e=0,n=0;return this._eachAccess(function(r,s){t+=r.progress()*r.size,e+=r.size,s===this.files.length-1&&(n=e>0?t/e:this.isComplete()?1:0)},function(){if(this.error)n=1;else{if(1===this.chunks.length)return this._prevProgress=Math.max(this._prevProgress,this.chunks[0].progress()),void(n=this._prevProgress);var t=0;r.each(this.chunks,function(e){t+=e.progress()*(e.endByte-e.startByte)});var e=t/this.size;this._prevProgress=Math.max(this._prevProgress,e>.9999?1:e),n=this._prevProgress}}),n},getSize:function(){var t=0;return this._eachAccess(function(e){t+=e.size},function(){t+=this.size}),t},getFormatSize:function(){var t=this.getSize();return r.formatSize(t)},getRoot:function(){if(this.isRoot)return this;for(var t=this.parent;t;){if(t.parent===this.uploader)return t;t=t.parent}return this},sizeUploaded:function(){var t=0;return this._eachAccess(function(e){t+=e.sizeUploaded()},function(){r.each(this.chunks,function(e){t+=e.sizeUploaded()})}),t},timeRemaining:function(){var t=0,e=0,n=0;return this._eachAccess(function(s,o){s.paused||s.error||(e+=s.size-s.sizeUploaded(),n+=s.averageSpeed),o===this.files.length-1&&(t=r(e,n))},function(){if(this.paused||this.error)t=0;else{var e=this.size-this.sizeUploaded();t=r(e,this.averageSpeed)}}),t;function r(t,e){return t&&!e?Number.POSITIVE_INFINITY:t||e?Math.floor(t/e):0}},removeFile:function(t){if(t.isFolder)for(;t.files.length;){var e=t.files[t.files.length-1];this._removeFile(e)}this._removeFile(t)},_delFilePath:function(t){t.path&&this.filePaths&&delete this.filePaths[t.path],r.each(t.fileList,function(t){this._delFilePath(t)},this)},_removeFile:function(t){if(!t.isFolder){r.each(this.files,function(e,n){if(e===t)return this.files.splice(n,1),!1},this),t.abort();for(var e=t.parent,n;e&&e!==this;)n=e.parent,e._removeFile(t),e=n}t.parent===this&&r.each(this.fileList,function(e,n){if(e===t)return this.fileList.splice(n,1),!1},this),this.isRoot||!this.isFolder||this.files.length||(this.parent._removeFile(this),this.uploader._delFilePath(this)),t.parent=null},getType:function(){return this.isFolder?"folder":this.file.type&&this.file.type.split("/")[1]},getExtension:function(){return this.isFolder?"":this.name.substr((~-this.name.lastIndexOf(".")>>>0)+2).toLowerCase()}}),e.exports=o},{"./chunk":1,"./utils":5}],5:[function(t,e,n){var r=Object.prototype,s=Array.prototype,o=r.toString,i=function(t){return"[object Function]"===o.call(t)},a=Array.isArray||function(t){return"[object Array]"===o.call(t)},c=function(t){return"[object Object]"===o.call(t)&&Object.getPrototypeOf(t)===r},l=0,u={uid:function(){return++l},noop:function(){},bind:function(t,e){return function(){return t.apply(e,arguments)}},preventEvent:function(t){t.preventDefault()},stop:function(t){t.preventDefault(),t.stopPropagation()}
1,nextTick:function(t,e){setTimeout(u.bind(t,e),0)},toArray:function(t,e,n){return void 0===e&&(e=0),void 0===n&&(n=t.length),s.slice.call(t,e,n)},isPlainObject:c,isFunction:i,isArray:a,isObject:function(t){return Object(t)===t},isString:function(t){return"string"==typeof t},isUndefined:function(t){return void 0===t},isDefined:function(t){return void 0!==t},each:function(t,e,n){if(u.isDefined(t.length))for(var r=0,s=t.length;r<s&&!1!==e.call(n,t[r],r,t);r++);else for(var o in t)if(!1===e.call(n,t[o],o,t))break},evalOpts:function(t,e){return u.isFunction(t)&&(e=u.toArray(arguments),t=t.apply(null,e.slice(1))),t},extend:function(){var t,e,n,r,s,o,l=arguments[0]||{},f=1,h=arguments.length,p=!1;for("boolean"==typeof l&&(p=l,l=arguments[1]||{},f++),"object"==typeof l||i(l)||(l={}),f===h&&(l=this,f--);f<h;f++)if(null!=(t=arguments[f]))for(e in t)n=l[e],l!==(r=t[e])&&(p&&r&&(c(r)||(s=a(r)))?(s?(s=!1,o=n&&a(n)?n:[]):o=n&&c(n)?n:{},l[e]=u.extend(p,o,r)):void 0!==r&&(l[e]=r));return l},formatSize:function(t){return t<1024?t.toFixed(0)+" bytes":t<1048576?(t/1024).toFixed(0)+" KB":t<1073741824?(t/1024/1024).toFixed(1)+" MB":(t/1024/1024/1024).toFixed(1)+" GB"},defineNonEnumerable:function(t,e,n){Object.defineProperty(t,e,{enumerable:!1,configurable:!0,writable:!0,value:n})}};e.exports=u},{}]},{},[3])(3)})}(vo)),vo.exports}const wo=e(bo());export{tt as $,jr as A,Bs as B,ns as C,xs as D,Ks as E,Vs as F,co as G,Ys as H,Gs as I,Ye as J,As as K,$s as L,Cs as M,Ss as N,Fs as O,tn as P,qr as Q,Br as R,bs as S,B as T,a as U,q as V,K as W,ft as X,yt as Y,D as Z,M as _,gn as a,T as a0,S as a1,C as a2,Ot as a3,le as a4,xt as a5,Ee as a6,Le as a7,Te as a8,we as a9,xe as aa,Oe as ab,be as ac,_t as ad,Z as ae,G as af,Y as ag,He as ah,Ne as ai,z as aj,H as ak,dn as al,et as am,X as an,De as ao,wo as ap,ln as b,Mn as c,an as d,Ve as e,cn as f,Ue as g,Xe as h,un as i,kn as j,on as k,Ds as l,We as m,fn as n,Ke as o,Js as p,Zs as q,qe as r,yr as s,Ns as t,zs as u,cs as v,js as w,go as x,lo as y,qs as z};

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