PageSourceSearch

https://www.tasteinmotion.com/_nuxt/entry.7d939621.js

js tasteinmotion.com collected 2026-10-05 02:10:48 UTC 168,148 bytes, 38 lines download raw bytes

1import{r as _t,g as Pt,n as Kt,i as je,u as le,v as Zo,a as se,w as ei,b as Et,o as on,c as ti,d as ri,s as Ir,e as bs,f as lt,h as ye,j as Ot,p as qt,t as ni,k as ws,l as _s,m as Es,q as Fe,x as gt,y as Mt,z as qn,A as Mn,B as fr,F as Os,C as Ss,D as Rs,T as Ps,E as Cs,G as Ts,H as xt,I as As,S as $s,J as xs,K as Is,L as js}from"./swiper-vue.1b2a8b42.js";const ks=/"(?:_|\\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*:/,Hs=/"(?: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*:/,qs=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function Ms(e,t){if(e==="__proto__"||e==="constructor"&&t&&typeof t=="object"&&"prototype"in t){Ls(e);return}return t}function Ls(e){console.warn(`[destr] Dropping "${e}" key to prevent prototype pollution.`)}function Ds(e,t={}){if(typeof e!="string")return e;const r=e.trim();if(e[0]==='"'&&e.endsWith('"')&&!e.includes("\\"))return r.slice(1,-1);if(r.length<=9){const n=r.toLowerCase();if(n==="true")return!0;if(n==="false")return!1;if(n==="undefined")return;if(n==="null")return null;if(n==="nan")return Number.NaN;if(n==="infinity")return Number.POSITIVE_INFINITY;if(n==="-infinity")return Number.NEGATIVE_INFINITY}if(!qs.test(e)){if(t.strict)throw new SyntaxError("[destr] Invalid JSON");return e}try{if(ks.test(e)||Hs.test(e)){if(t.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(e,Ms)}return JSON.parse(e)}catch(n){if(t.strict)throw n;return e}}const Us=/#/g,Ns=/&/g,Fs=/\//g,Bs=/=/g,sn=/\+/g,zs=/%5e/gi,Vs=/%60/gi,Ws=/%7c/gi,Gs=/%20/gi;function Ks(e){return encodeURI(""+e).replace(Ws,"|")}function jr(e){return Ks(typeof e=="string"?e:JSON.stringify(e)).replace(sn,"%2B").replace(Gs,"+").replace(Us,"%23").replace(Ns,"%26").replace(Vs,"`").replace(zs,"^").replace(Fs,"%2F")}function dr(e){return jr(e).replace(Bs,"%3D")}function oi(e=""){try{return decodeURIComponent(""+e)}catch{return""+e}}function Xs(e){return oi(e.replace(sn," "))}function Js(e){return oi(e.replace(sn," "))}function Qs(e=""){const t={};e[0]==="?"&&(e=e.slice(1));for(const r of e.split("&")){const n=r.match(/([^=]+)=?(.*)/)||[];if(n.length<2)continue;const o=Xs(n[1]);if(o==="__proto__"||o==="constructor")continue;const i=Js(n[2]||"");t[o]===void 0?t[o]=i:Array.isArray(t[o])?t[o].push(i):t[o]=[t[o],i]}return t}function Ys(e,t){return(typeof t=="number"||typeof t=="boolean")&&(t=String(t)),t?Array.isArray(t)?t.map(r=>`${dr(e)}=${jr(r)}`).join("&"):`${dr(e)}=${jr(t)}`:dr(e)}function Zs(e){return Object.keys(e).filter(t=>e[t]!==void 0).map(t=>Ys(t,e[t])).filter(Boolean).join("&")}const ea=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,ta=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,ra=/^([/\\]\s*){2,}[^/\\]/,na=/\/$|\/\?|\/#/,oa=/^\.?\//;function Xt(e,t={}){return typeof t=="boolean"&&(t={acceptRelative:t}),t.strict?ea.test(e):ta.test(e)||(t.acceptRelative?ra.test(e):!1)}function kr(e="",t){return t?na.test(e):e.endsWith("/")}function ii(e="",t){if(!t)return(kr(e)?e.slice(0,-1):e)||"/";if(!kr(e,!0))return e||"/";let r=e,n="";const o=e.indexOf("#");o>=0&&(r=e.slice(0,o),n=e.slice(o));const[i,...s]=r.split("?");return((i.endsWith("/")?i.slice(0,-1):i)||"/")+(s.length>0?`?${s.join("?")}`:"")+n}function ia(e="",t){if(!t)return e.endsWith("/")?e:e+"/";if(kr(e,!0))return e||"/";let r=e,n="";const o=e.indexOf("#");if(o>=0&&(r=e.slice(0,o),n=e.slice(o),!r))return n;const[i,...s]=r.split("?");return i+"/"+(s.length>0?`?${s.join("?")}`:"")+n}function sa(e,t){if(si(t)||Xt(e))return e;const r=ii(t);return e.startsWith(r)?e:an(r,e)}function Ln(e,t){if(si(t))return e;const r=ii(t);if(!e.startsWith(r))return e;const n=e.slice(r.length);return n[0]==="/"?n:"/"+n}function aa(e,t){const r=cn(e),n={...Qs(r.search),...t};return r.search=Zs(n),ua(r)}function si(e){return!e||e==="/"}function ca(e){return e&&e!=="/"}function an(e,...t){let r=e||"";for(const n of t.filter(o=>ca(o)))if(r){const o=n.replace(oa,"");r=ia(r)+o}else r=n;return r}const ai=Symbol.for("ufo:protocolRelative");function cn(e="",t){const r=e.match(/^[\s\0]*(blob:|data:|javascript:|vbscript:)(.*)/i);if(r){const[,f,d=""]=r;return{protocol:f.toLowerCase(),pathname:d,href:f+d,auth:"",host:"",search:"",hash:""}}if(!Xt(e,{acceptRelative:!0}))return t?cn(t+e):Dn(e);const[,n="",o,i=""]=e.replace(/\\/g,"/").match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/)||[],[,s="",a=""]=i.match(/([^#/?]*)(.*)?/)||[],{pathname:u,search:l,hash:c}=Dn(a.replace(/\/(?=[A-Za-z]:)/,""));return{protocol:n.toLowerCase(),auth:o?o.slice(0,Math.max(0,o.length-1)):"",host:s,pathname:u,search:l,hash:c,[ai]:!n}}function Dn(e=""){const[t="",r="",n=""]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:r,hash:n}}function ua(e){const t=e.pathname||"",r=e.search?(e.search.startsWith("?")?""
1:"?")+e.search:"",n=e.hash||"",o=e.auth?e.auth+"@":"",i=e.host||"";return(e.protocol||e[ai]?(e.protocol||"")+"//":"")+o+i+t+r+n}class la extends Error{constructor(t,r){super(t,r),this.name="FetchError",r!=null&&r.cause&&!this.cause&&(this.cause=r.cause)}}function fa(e){var u,l,c,f,d;const t=((u=e.error)==null?void 0:u.message)||((l=e.error)==null?void 0:l.toString())||"",r=((c=e.request)==null?void 0:c.method)||((f=e.options)==null?void 0:f.method)||"GET",n=((d=e.request)==null?void 0:d.url)||String(e.request)||"/",o=`[${r}] ${JSON.stringify(n)}`,i=e.response?`${e.response.status} ${e.response.statusText}`:"<no response>",s=`${o}: ${i}${t?` ${t}`:""}`,a=new la(s,e.error?{cause:e.error}:void 0);for(const m of["request","options","response"])Object.defineProperty(a,m,{get(){return e[m]}});for(const[m,w]of[["data","_data"],["status","status"],["statusCode","status"],["statusText","statusText"],["statusMessage","statusText"]])Object.defineProperty(a,m,{get(){return e.response&&e.response[w]}});return a}const da=new Set(Object.freeze(["PATCH","POST","PUT","DELETE"]));function Un(e="GET"){return da.has(e.toUpperCase())}function pa(e){if(e===void 0)return!1;const t=typeof e;return t==="string"||t==="number"||t==="boolean"||t===null?!0:t!=="object"?!1:Array.isArray(e)?!0:e.buffer?!1:e.constructor&&e.constructor.name==="Object"||typeof e.toJSON=="function"}const ha=new Set(["image/svg","application/xml","application/xhtml","application/html"]),va=/^application\/(?:[\w!#$%&*.^`~-]*\+)?json(;.+)?$/i;function ma(e=""){if(!e)return"json";const t=e.split(";").shift()||"";return va.test(t)?"json":ha.has(t)||t.startsWith("text/")?"text":"blob"}function ga(e,t,r=globalThis.Headers){const n={...t,...e};if(t!=null&&t.params&&(e!=null&&e.params)&&(n.params={...t==null?void 0:t.params,...e==null?void 0:e.params}),t!=null&&t.query&&(e!=null&&e.query)&&(n.query={...t==null?void 0:t.query,...e==null?void 0:e.query}),t!=null&&t.headers&&(e!=null&&e.headers)){n.headers=new r((t==null?void 0:t.headers)||{});for(const[o,i]of new r((e==null?void 0:e.headers)||{}))n.headers.set(o,i)}return n}const ya=new Set([408,409,425,429,500,502,503,504]),ba=new Set([101,204,205,304]);function ci(e={}){const{fetch:t=globalThis.fetch,Headers:r=globalThis.Headers,AbortController:n=globalThis.AbortController}=e;async function o(a){const u=a.error&&a.error.name==="AbortError"&&!a.options.timeout||!1;if(a.options.retry!==!1&&!u){let c;typeof a.options.retry=="number"?c=a.options.retry:c=Un(a.options.method)?0:1;const f=a.response&&a.response.status||500;if(c>0&&(Array.isArray(a.options.retryStatusCodes)?a.options.retryStatusCodes.includes(f):ya.has(f))){const d=a.options.retryDelay||0;return d>0&&await new Promise(m=>setTimeout(m,d)),i(a.request,{...a.options,retry:c-1})}}const l=fa(a);throw Error.captureStackTrace&&Error.captureStackTrace(l,i),l}const i=async function(u,l={}){var m;const c={request:u,options:ga(l,e.defaults,r),response:void 0,error:void 0};c.options.method=(m=c.options.method)==null?void 0:m.toUpperCase(),c.options.onRequest&&await c.options.onRequest(c),typeof c.request=="string"&&(c.options.baseURL&&(c.request=sa(c.request,c.options.baseURL)),(c.options.query||c.options.params)&&(c.request=aa(c.request,{...c.options.params,...c.options.query}))),c.options.body&&Un(c.options.method)&&(pa(c.options.body)?(c.options.body=typeof c.options.body=="string"?c.options.body:JSON.stringify(c.options.body),c.options.headers=new r(c.options.headers||{}),c.options.headers.has("content-type")||c.options.headers.set("content-type","application/json"),c.options.headers.has("accept")||c.options.headers.set("accept","application/json")):("pipeTo"in c.options.body&&typeof c.options.body.pipeTo=="function"||typeof c.options.body.pipe=="function")&&("duplex"in c.options||(c.options.duplex="half")));let f;if(!c.options.signal&&c.options.timeout){const w=new n;f=setTimeout(()=>w.abort(),c.options.timeout),c.options.signal=w.signal}try{c.response=await t(c.request,c.options)}catch(w){return c.error=w,c.options.onRequestError&&await c.options.onRequestError(c),await o(c)}finally{f&&clearTimeout(f)}if(c.response.body&&!ba.has(c.response.status)&&c.options.method!=="HEAD"){const w=(c.options.parseResponse?"json":c.options.responseType)||ma(c.response.headers.get("content-type")||"");switch(w){case"json":{const E=await c.response.text(),O=c.options.parseResponse||Ds;c.response._data=O(E);break}case"stream":{c.response._data=c.response.body;break}default:c.response._data=await c.response[w]()}}return c.options.onResponse&&await c.options.onResponse(c),!c.options.ignoreResponseError&&c.response.status>=400&&c.response.status<600?(c.options.onResponseError&&await c.options.onResponseError(c),await o(c)):c.response},s=async function(u,l){return(await i(u,l))._data};return s.raw=i,s.native=(...a)=>t(...a),s.create=(a={})=>ci({...e,defaults:{...e.defaults,...a}}),s}const un=function(){if(typeof globalThis<"u")return globalThis;if(typeof self<"u")return self;if(typeof window<"u")return window;if(typeof global<"u")return global;throw new Error("unable to locate global object")}(),wa=un.fetch||(()=>Promise.reject(new Error("[ofetch] global.fetch is not supported!"))),_a=un.Headers,Ea=un.AbortController,Oa=ci({fetch:wa,Headers:_a,AbortController:Ea}),Sa=Oa,Ra=()=>{var e;return((e=window==null?void 0:window.__NUXT__)==null?void 0:e.config)||{}},Ft=Ra().app,Pa=()=>Ft.baseURL,Ca=()=>Ft.buildAssetsDir,Ta=(...e)=>an(ui(),Ca(),...e),ui=(...e)=>{const t=Ft.cdnURL||Ft.baseURL;return e.length?an(t,...e):t};globalThis.__buildAssetsURL=Ta,globalThis.__publicAssetsURL=ui;function Hr(e,t={},r){for(const n in e){const o=e[n],i=r?`${r}:${n}`:n;typeof o=="object"&&o!==null?Hr(o,t,i):typeof o=="function"&&(t[i]=o)}return t}const Aa={run:e=>e()},$a=()=>Aa,li=typeof console.createTask<"u"?console.createTask:$a;function xa(e,t){const r=t.shift(),n=li(r);return e.reduce((o,i)=>o.then(()=>n.run(()=>i(...t))),Promise.resolve())}function Ia(e,t){const r=t.shift(),n=li(r);return Promise.all(e.map(o=>n.run(()=>o(...t))))}function pr(e,t){for(const r of[...e])r(t)}class ja{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,r,n={}){if(!t||typeof r!="function")return()=>{};const o=t;let i;for(;this._deprecatedHooks[t];)i=this._deprecatedHooks[t],t=i.to;if(i&&!n.allowDeprecated){let s=i.message;s||(s=`${o} hook has been deprecated`+(i.to?`, please use ${i.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(s)||(console.warn(s),this._deprecatedMessages.add(s))}if(!r.name)try{Object.defineProperty(r,"name",{get:()=>"_"+t.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[t]=this._hooks[t]||[],this._hooks[t].push(r),()=>{r&&(this.removeHook(t,r),r=void 0)}}hookOnce(t,r){let n,o=(...i)=>(typeof n=="function"&&n(),n=void 0,o=void 0,r(...i));return n=this.hook(t,o),n}removeHook(t,r){if(this._hooks[t]){const n=this._hooks[t].indexOf(r);n!==-1&&this._hooks[t].splice(n,1),this._hooks[t].length===0&&delete this._hooks[t]}}deprecateHook(t,r){this._deprecatedHooks[t]=typeof r=="string"?{to:r}:r;const n=this._hooks[t]||[];delete this._hooks[t];for(const o of n)this.hook(t,o)}deprecateHooks(t){Object.assign(this._deprecatedHooks,t);for(const r in t)this.deprecateHook(r,t[r])}addHooks(t){const r=Hr(t),n=Object.keys(r).map(o=>this.hook(o,r[o]));return()=>{for(const o of n.splice(0,n.length))o()}}removeHooks(t){const r=Hr(t);for(const n in r)this.removeHook(n,r[n])}removeAllHooks(){for(const t in this._hooks)delete this._hooks[t]}callHook(t,...r){return r.unshift(t),this.callHookWith(xa,t,...r)}callHookParallel(t,...r){return r.unshift(t),this.callHookWith(Ia,t,...r)}callHookWith(t,r,...n){const o=this._before||this._after?{name:r,args:n,context:{}}:void 0;this._before&&pr(this._before,o);const i=t(r in this._hooks?[...this._hooks[r]]:[],n);return i instanceof Promise?i.finally(()=>{this._after&&o&&pr(this._after,o)}):(this._after&&o&&pr(this._after,o),i)}beforeEach(t){return this._before=this._before||[],this._before.push(t),()=>{if(this._before!==void 0){const r=this._before.indexOf(t);r!==-1&&this._before.splice(r,1)}}}afterEach(t){return this._after=this._after||[],this._after.push(t),()=>{if(this._after!==void 0){const r=this._after.indexOf(t);r!==-1&&this._after.splice(r,1)}}}}function fi(){return new ja}function ka(e={}){let t,r=!1;const n=s=>{if(t&&t!==s)throw new Error("Context conflict")};let o;if(e.asyncContext){const s=e.AsyncLocalStorage||globalThis.AsyncLocalStorage;s?o=new s:console.warn("[unctx] `AsyncLocalStorage` is not provided.")}const i=()=>
1{if(o&&t===void 0){const s=o.getStore();if(s!==void 0)return s}return t};return{use:()=>{const s=i();if(s===void 0)throw new Error("Context is not available");return s},tryUse:()=>i(),set:(s,a)=>{a||n(s),t=s,r=!0},unset:()=>{t=void 0,r=!1},call:(s,a)=>{n(s),t=s;try{return o?o.run(s,a):a()}finally{r||(t=void 0)}},async callAsync(s,a){t=s;const u=()=>{t=s},l=()=>t===s?u:void 0;qr.add(l);try{const c=o?o.run(s,a):a();return r||(t=void 0),await c}finally{qr.delete(l)}}}}function Ha(e={}){const t={};return{get(r,n={}){return t[r]||(t[r]=ka({...e,...n})),t[r],t[r]}}}const Bt=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof global<"u"?global:typeof window<"u"?window:{},Nn="__unctx__",qa=Bt[Nn]||(Bt[Nn]=Ha()),Ma=(e,t={})=>qa.get(e,t),Fn="__unctx_async_handlers__",qr=Bt[Fn]||(Bt[Fn]=new Set);function Mr(e){const t=[];for(const o of qr){const i=o();i&&t.push(i)}const r=()=>{for(const o of t)o()};let n=e();return n&&typeof n=="object"&&"catch"in n&&(n=n.catch(o=>{throw r(),o})),[n,r]}const di=Ma("nuxt-app"),La="__nuxt_plugin";function Da(e){let t=0;const r={provide:void 0,globalName:"nuxt",payload:_t({data:{},state:{},_errors:{},...window.__NUXT__}),static:{data:{}},isHydrating:!0,deferHydration(){if(!r.isHydrating)return()=>{};t++;let i=!1;return()=>{if(!i&&(i=!0,t--,t===0))return r.isHydrating=!1,r.callHook("app:suspense:resolve")}},_asyncDataPromises:{},_asyncData:{},...e};r.hooks=fi(),r.hook=r.hooks.hook,r.callHook=r.hooks.callHook,r.provide=(i,s)=>{const a="$"+i;It(r,a,s),It(r.vueApp.config.globalProperties,a,s)},It(r.vueApp,"$nuxt",r),It(r.vueApp.config.globalProperties,"$nuxt",r),window.addEventListener("nuxt.preloadError",i=>{r.callHook("app:chunkError",{error:i.payload})}),r.hook("app:error",(...i)=>{console.error("[nuxt] error caught during app initialization",...i)});const n=_t(r.payload.config),o=new Proxy(n,{get(i,s){return s==="public"?i.public:i[s]??i.public[s]},set(i,s,a){return s==="public"||s==="app"?!1:(i[s]=a,i.public[s]=a,!0)}});return r.provide("config",o),r}async function Ua(e,t){if(typeof t!="function")return;const{provide:r}=await Ne(e,t,[e])||{};if(r&&typeof r=="object")for(const n in r)e.provide(n,r[n])}async function Na(e,t){for(const r of t)await Ua(e,r)}function Fa(e){return e.map(r=>typeof r!="function"?null:r.length>1?n=>r(n,n.provide):r).filter(Boolean)}function Ke(e){return e[La]=!0,e}function Ne(e,t,r){const n=()=>r?t(...r):t();return di.set(e),n()}function be(){const e=di.tryUse();if(!e){const t=Pt();if(!t)throw new Error("nuxt instance unavailable");return t.appContext.app.$nuxt}return e}function pi(){return be().$config}function It(e,t,r){Object.defineProperty(e,t,{get:()=>r})}const hr={},Ba=Ke(e=>{for(const t in hr)e.vueApp.component(t,hr[t]),e.vueApp.component("Lazy"+t,hr[t])});function za(e){return Array.isArray(e)?e:[e]}const Va=["title","titleTemplate","script","style","noscript"],Lt=["base","meta","link","style","script","noscript"],Wa=["title","titleTemplate","templateParams","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"],Ga=["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"],hi=["tagPosition","tagPriority","tagDuplicateStrategy","children","innerHTML","textContent","processTemplateParams"],Ka=typeof window<"u";function ln(e){let t=9;for(let r=0;r<e.length;)t=Math.imul(t^e.charCodeAt(r++),9**9);return((t^t>>>9)+65536).toString(16).substring(1,8).toLowerCase()}function Bn(e){return e._h||ln(e._d?e._d:`${e.tag}:${e.textContent||e.innerHTML||""}:${Object.entries(e.props).map(([t,r])=>`${t}:${String(r)}`).join(",")}`)}function vi(e,t){const{props:r,tag:n}=e;if(Ga.includes(n))return n;if(n==="link"&&r.rel==="canonical")return"canonical";if(r.charset)return"charset";const o=["id"];n==="meta"&&o.push("name","property","http-equiv");for(const i of o)if(typeof r[i]<"u"){const s=String(r[i]);return t&&!t(s)?!1:`${n}:${i}:${s}`}return!1}function zn(e,t){return e==null?t||null:typeof e=="function"?e(t):e}async function Xa(e,t,r){const n={tag:e,props:await mi(typeof t=="object"&&typeof t!="function"&&!(t instanceof Promise)?{...t}:{[["script","noscript","style"].includes(e)?"innerHTML":"textContent"]:t},["templateParams","titleTemplate"].includes(e))};return hi.forEach(o=>{const i=typeof n.props[o]<"u"?n.props[o]:r[o];typeof i<"u"&&((!["innerHTML","textContent","children"].includes(o)||Va.includes(n.tag))&&(n[o==="children"?"innerHTML":o]=i),delete n.props[o])}),n.props.body&&(n.tagPosition="bodyClose",delete n.props.body),n.tag==="script"&&typeof n.innerHTML=="object"&&(n.innerHTML=JSON.stringify(n.innerHTML),n.props.type=n.props.type||"application/json"),Array.isArray(n.props.content)?n.props.content.map(o=>({...n,props:{...n.props,content:o}})):n}function Ja(e,t){var n;const r=e==="class"?" ":";";return typeof t=="object"&&!Array.isArray(t)&&(t=Object.entries(t).filter(([,o])=>o).map(([o,i])=>e==="style"?`${o}:${i}`:o)),(n=Array.isArray(t)?t.join(r):t)==null?void 0:n.split(r).filter(o=>
1o.trim()).filter(Boolean).join(r)}async function mi(e,t){for(const r of Object.keys(e)){if(["class","style"].includes(r)){e[r]=Ja(r,e[r]);continue}if(e[r]instanceof Promise&&(e[r]=await e[r]),!t&&!hi.includes(r)){const n=String(e[r]),o=r.startsWith("data-");n==="true"||n===""?e[r]=o?"true":!0:e[r]||(o&&n==="false"?e[r]="false":delete e[r])}}return e}const Qa=10;async function Ya(e){const t=[];return Object.entries(e.resolvedInput).filter(([r,n])=>typeof n<"u"&&Wa.includes(r)).forEach(([r,n])=>{const o=za(n);t.push(...o.map(i=>Xa(r,i,e)).flat())}),(await Promise.all(t)).flat().filter(Boolean).map((r,n)=>(r._e=e._i,e.mode&&(r._m=e.mode),r._p=(e._i<<Qa)+n,r))}const Vn={base:-10,title:10},Wn={critical:-80,high:-10,low:20};function zt(e){let t=100;const r=e.tagPriority;return typeof r=="number"?r:(e.tag==="meta"?(e.props["http-equiv"]==="content-security-policy"&&(t=-30),e.props.charset&&(t=-20),e.props.name==="viewport"&&(t=-15)):e.tag==="link"&&e.props.rel==="preconnect"?t=20:e.tag in Vn&&(t=Vn[e.tag]),typeof r=="string"&&r in Wn?t+Wn[r]:t)}const Za=[{prefix:"before:",offset:-1},{prefix:"after:",offset:1}],Gn=["onload","onerror","onabort","onprogress","onloadstart"],Be="%separator";function Dt(e,t,r){if(typeof e!="string"||!e.includes("%"))return e;function n(s){let a;return["s","pageTitle"].includes(s)?a=t.pageTitle:s.includes(".")?a=s.split(".").reduce((u,l)=>u&&u[l]||void 0,t):a=t[s],typeof a<"u"?(a||"").replace(/"/g,'\\"'):!1}let o=e;try{o=decodeURI(e)}catch{}return(o.match(/%(\w+\.+\w+)|%(\w+)/g)||[]).sort().reverse().forEach(s=>{const a=n(s.slice(1));typeof a=="string"&&(e=e.replace(new RegExp(`\\${s}(\\W|$)`,"g"),(u,l)=>`${a}${l}`).trim())}),e.includes(Be)&&(e.endsWith(Be)&&(e=e.slice(0,-Be.length).trim()),e.startsWith(Be)&&(e=e.slice(Be.length).trim()),e=e.replace(new RegExp(`\\${Be}\\s*\\${Be}`,"g"),Be),e=Dt(e,{separator:r},r)),e}async function gi(e,t={}){var c;const r=t.document||e.resolvedOptions.document;if(!r||!e.dirty)return;const n={shouldRender:!0,tags:[]};if(await e.hooks.callHook("dom:beforeRender",n),!n.shouldRender)return;const o=(await e.resolveTags()).map(f=>({tag:f,id:Lt.includes(f.tag)?Bn(f):f.tag,shouldRender:!0}));let i=e._dom;if(!i){i={elMap:{htmlAttrs:r.documentElement,bodyAttrs:r.body}};for(const f of["body","head"]){const d=(c=r[f])==null?void 0:c.children,m=[];for(const w of[...d].filter(E=>Lt.includes(E.tagName.toLowerCase()))){const E={tag:w.tagName.toLowerCase(),props:await mi(w.getAttributeNames().reduce((R,$)=>({...R,[$]:w.getAttribute($)}),{})),innerHTML:w.innerHTML};let O=1,_=vi(E);for(;_&&m.find(R=>R._d===_);)_=`${_}:${O++}`;E._d=_||void 0,m.push(E),i.elMap[w.getAttribute("data-hid")||Bn(E)]=w}}}i.pendingSideEffects={...i.sideEffects||{}},i.sideEffects={};function s(f,d,m){const w=`${f}:${d}`;i.sideEffects[w]=m,delete i.pendingSideEffects[w]}function a({id:f,$el:d,tag:m}){const w=m.tag.endsWith("Attrs");i.elMap[f]=d,w||(["textContent","innerHTML"].forEach(E=>{m[E]&&m[E]!==d[E]&&(d[E]=m[E])}),s(f,"el",()=>{var E;(E=i.elMap[f])==null||E.remove(),delete i.elMap[f]}));for(const[E,O]of Object.entries(m._eventHandlers||{}))d.getAttribute(`data-${E}`)!==""&&((m.tag==="bodyAttrs"?r.defaultView:d).addEventListener(E.replace("on",""),O.bind(d)),d.setAttribute(`data-${E}`,""));Object.entries(m.props).forEach(([E,O])=>{const _=`attr:${E}`;if(E==="class")for(const R of(O||"").split(" ").filter(Boolean))w&&s(f,`${_}:${R}`,()=>d.classList.remove(R)),!d.classList.contains(R)&&d.classList.add(R);else if(E==="style")for(const R of(O||"").split(";").filter(Boolean)){const[$,...j]=R.split(":").map(B=>B.trim());s(f,`${_}:${R}:${$}`,()=>{d.style.removeProperty($)}),d.style.setProperty($,j.join(":"))}else d.getAttribute(E)!==O&&d.setAttribute(E,O===!0?"":String(O)),w&&s(f,_,()=>d.removeAttribute(E))})}const u=[],l={bodyClose:void 0,bodyOpen:void 0,head:void 0};for(const f of o){const{tag:d,shouldRender:m,id:w}=f;if(m){if(d.tag==="title"){r.title=d.textContent;continue}f.$el=f.$el||i.elMap[w],f.$el?a(f):Lt.includes(d.tag)&&u.push(f)}}for(const f of u){const d=f.tag.tagPosition||"head";f.$el=r.createElement(f.tag.tag),a(f),l[d]=l[d]||r.createDocumentFragment(),l[d].appendChild(f.$el)}for(const f of o)await e.hooks.callHook("dom:renderTag",f,r,s);l.head&&r.head.appendChild(l.head),l.bodyOpen&&r.body.insertBefore(l.bodyOpen,r.body.firstChild),l.bodyClose&&r.body.appendChild(l.bodyClose),Object.values(i.pendingSideEffects).forEac
1h(f=>f()),e._dom=i,e.dirty=!1,await e.hooks.callHook("dom:rendered",{renders:o})}async function yi(e,t={}){const r=t.delayFn||(n=>setTimeout(n,10));return e._domUpdatePromise=e._domUpdatePromise||new Promise(n=>r(async()=>{await gi(e,t),delete e._domUpdatePromise,n()}))}function ec(e){return t=>{var n,o;const r=((o=(n=t.resolvedOptions.document)==null?void 0:n.head.querySelector('script[id="unhead:payload"]'))==null?void 0:o.innerHTML)||!1;return r&&t.push(JSON.parse(r)),{mode:"client",hooks:{"entries:updated":function(i){yi(i,e)}}}}}const tc=["templateParams","htmlAttrs","bodyAttrs"],rc={hooks:{"tag:normalise":function({tag:e}){["hid","vmid","key"].forEach(n=>{e.props[n]&&(e.key=e.props[n],delete e.props[n])});const r=vi(e)||(e.key?`${e.tag}:${e.key}`:!1);r&&(e._d=r)},"tags:resolve":function(e){const t={};e.tags.forEach(n=>{const o=(n.key?`${n.tag}:${n.key}`:n._d)||n._p,i=t[o];if(i){let a=n==null?void 0:n.tagDuplicateStrategy;if(!a&&tc.includes(n.tag)&&(a="merge"),a==="merge"){const u=i.props;["class","style"].forEach(l=>{u[l]&&(n.props[l]?(l==="style"&&!u[l].endsWith(";")&&(u[l]+=";"),n.props[l]=`${u[l]} ${n.props[l]}`):n.props[l]=u[l])}),t[o].props={...u,...n.props};return}else if(n._e===i._e){i._duped=i._duped||[],n._d=`${i._d}:${i._duped.length+1}`,i._duped.push(n);return}else if(zt(n)>zt(i))return}const s=Object.keys(n.props).length+(n.innerHTML?1:0)+(n.textContent?1:0);if(Lt.includes(n.tag)&&s===0){delete t[o];return}t[o]=n});const r=[];Object.values(t).forEach(n=>{const o=n._duped;delete n._duped,r.push(n),o&&r.push(...o)}),e.tags=r,e.tags=e.tags.filter(n=>!(n.tag==="meta"&&(n.props.name||n.props.property)&&!n.props.content))}}},nc={mode:"server",hooks:{"tags:resolve":function(e){const t={};e.tags.filter(r=>["titleTemplate","templateParams","title"].includes(r.tag)&&r._m==="server").forEach(r=>{t[r.tag]=r.tag.startsWith("title")?r.textContent:r.props}),Object.keys(t).length&&e.tags.push({tag:"script",innerHTML:JSON.stringify(t),props:{id:"unhead:payload",type:"application/json"}})}}},oc=["script","link","bodyAttrs"],ic=e=>({hooks:{"tags:resolve":function(t){for(const r of t.tags.filter(n=>oc.includes(n.tag)))Object.entries(r.props).forEach(([n,o])=>{n.startsWith("on")&&typeof o=="function"&&(e.ssr&&Gn.includes(n)?r.props[n]=`this.dataset.${n}fired = true`:delete r.props[n],r._eventHandlers=r._eventHandlers||{},r._eventHandlers[n]=o)}),e.ssr&&r._eventHandlers&&(r.props.src||r.props.href)&&(r.key=r.key||ln(r.props.src||r.props.href))},"dom:renderTag":function({$el:t,tag:r}){var n,o;for(const i of Object.keys((t==null?void 0:t.dataset)||{}).filter(s=>Gn.some(a=>`${a}fired`===s))){const s=i.replace("fired","");(o=(n=r._eventHandlers)==null?void 0:n[s])==null||o.call(t,new Event(s.replace("on","")))}}}}),sc=["link","style","script","noscript"],ac={hooks:{"tag:normalise":({tag:e})=>{e.key&&sc.includes(e.tag)&&(e.props["data-hid"]=e._h=ln(e.key))}}},cc={hooks:{"tags:resolve":e=>{const t=r=>{var n;return(n=e.tags.find(o=>o._d===r))==null?void 0:n._p};for(const{prefix:r,offset:n}of Za)for(const o of e.tags.filter(i=>typeof i.tagPriority=="string"&&i.tagPriority.startsWith(r))){const i=t(o.tagPriority.replace(r,""));typeof i<"u"&&(o._p=i+n)}e.tags.sort((r,n)=>r._p-n._p).sort((r,n)=>zt(r)-zt(n))}}},uc={meta:"content",link:"href",htmlAttrs:"lang"},lc=e=>({hooks:{"tags:resolve":t=>{var a;const{tags:r}=t,n=(a=r.find(u=>u.tag==="title"))==null?void 0:a.textContent,o=r.findIndex(u=>u.tag==="templateParams"),i=o!==-1?r[o].props:{},s=i.separator||"|";delete i.separator,i.pageTitle=Dt(i.pageTitle||n||"",i,s);for(const u of r.filter(l=>l.processTemplateParams!==!1)){const l=uc[u.tag];l&&typeof u.props[l]=="string"?u.props[l]=Dt(u.props[l],i,s):(u.processTemplateParams===!0||["titleTemplate","title"].includes(u.tag))&&["innerHTML","textContent"].forEach(c=>{typeof u[c]=="string"&&(u[c]=Dt(u[c],i,s))})}e._templateParams=i,e._separator=s,t.tags=r.filter(u=>u.tag!=="templateParams")}}}),fc={hooks:{"tags:resolve":e=>{const{tags:t}=e;let r=t.findIndex(o=>o.tag==="titleTemplate");const n=t.findIndex(o=>o.tag==="title");if(n!==-1&&r!==-1){const o=zn(t[r].textContent,t[n].textContent);o!==null?t[n].textContent=o||t[n].textContent:delete t[n]}else if(r!==-1){const o=zn(t[r].textContent);o!==null&&(t[r].textContent=o,t[r].tag="title",r=-1)}r!==-1&&delete t[r],e.tags=t.filter(Boolean)}}},dc={hooks:{"tags:afterResolve":function(e){for(const t of e.tags)typeof t.innerHTML=="string"&&(t.innerHTML&&["application/ld+json","application/json"].includes(t.props.type)?t.innerHTML=t.innerHTML.replace(/</g,"\\u003C"):t.innerHTML=t.innerHTML.replace(new RegExp(`</${t.tag}`,"g"),`<\\/${t.tag}`))}}};let bi;function pc(e={}){const t=hc(e);return t.use(ec()),bi=t}function Kn(e,t){return!e||e==="server"&&t||e==="client"&&!t}function hc(e={}){const t=fi();t.addHooks(e.hooks||{}),e.document=e.document||(Ka?document:void 0);const r=!e.document,n=()=>{a.dirty=!0,t.callHook("entries:updated",a)};let o=0,i=[];const s=[],a={plugins:s,dirty:!1,resolvedOptions:e,hooks:t,headEntries(){return i},use(u){const l=typeof u=="function"?u(a):u;(!l.key||!s.some(c=>
1c.key===l.key))&&(s.push(l),Kn(l.mode,r)&&t.addHooks(l.hooks||{}))},push(u,l){l==null||delete l.head;const c={_i:o++,input:u,...l};return Kn(c.mode,r)&&(i.push(c),n()),{dispose(){i=i.filter(f=>f._i!==c._i),t.callHook("entries:updated",a),n()},patch(f){i=i.map(d=>(d._i===c._i&&(d.input=c.input=f),d)),n()}}},async resolveTags(){const u={tags:[],entries:[...i]};await t.callHook("entries:resolve",u);for(const l of u.entries){const c=l.resolvedInput||l.input;if(l.resolvedInput=await(l.transform?l.transform(c):c),l.resolvedInput)for(const f of await Ya(l)){const d={tag:f,entry:l,resolvedOptions:a.resolvedOptions};await t.callHook("tag:normalise",d),u.tags.push(d.tag)}}return await t.callHook("tags:beforeResolve",u),await t.callHook("tags:resolve",u),await t.callHook("tags:afterResolve",u),u.tags},ssr:r};return[rc,nc,ic,ac,cc,lc,fc,dc,...(e==null?void 0:e.plugins)||[]].forEach(u=>a.use(u)),a.hooks.callHook("init",a),a}function vc(){return bi}const mc=Zo.startsWith("3");function gc(e){return typeof e=="function"?e():le(e)}function Vt(e,t=""){if(e instanceof Promise)return e;const r=gc(e);return!e||!r?r:Array.isArray(r)?r.map(n=>Vt(n,t)):typeof r=="object"?Object.fromEntries(Object.entries(r).map(([n,o])=>n==="titleTemplate"||n.startsWith("on")?[n,le(o)]:[n,Vt(o,n)])):r}const yc={hooks:{"entries:resolve":function(e){for(const t of e.entries)t.resolvedInput=Vt(t.input)}}},wi="usehead";function bc(e){return{install(r){mc&&(r.config.globalProperties.$unhead=e,r.config.globalProperties.$head=e,r.provide(wi,e))}}.install}function wc(e={}){e.domDelayFn=e.domDelayFn||(r=>Kt(()=>setTimeout(()=>r(),0)));const t=pc(e);return t.use(yc),t.install=bc(t),t}const Xn=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Jn="__unhead_injection_handler__";function _c(){if(Jn in Xn)return Xn[Jn]();const e=je(wi);return e||vc()}function _i(e,t={}){const r=t.head||_c();if(r)return r.ssr?r.push(e,t):Ec(r,e,t)}function Ec(e,t,r={}){const n=se(!1),o=se({});ei(()=>{o.value=n.value?{}:Vt(t)});const i=e.push(o.value,r);return Et(o,a=>{i.patch(a)}),Pt()&&(on(()=>{i.dispose()}),ti(()=>{n.value=!0}),ri(()=>{n.value=!1})),i}function Oc(e,t){const r=wc(t||{}),n={unhead:r,install(o){Zo.startsWith("3")&&(o.config.globalProperties.$head=r,o.provide("usehead",r))},use(o){r.use(o)},resolveTags(){return r.resolveTags()},headEntries(){return r.headEntries()},headTags(){return r.resolveTags()},push(o,i){return r.push(o,i)},addEntry(o,i){return r.push(o,i)},addHeadObjs(o,i){return r.push(o,i)},addReactiveEntry(o,i){const s=_i(o,i);return typeof s<"u"?s.dispose:()=>{}},removeHeadObjs(){},updateDOM(o,i){i?gi(r,{document:o}):yi(r,{delayFn:s=>setTimeout(()=>s(),50),document:o})},internalHooks:r.hooks,hooks:{"before:dom":[],"resolved:tags":[],"resolved:entries":[]}};return r.addHeadObjs=n.addHeadObjs,r.updateDOM=n.updateDOM,r.hooks.hook("dom:beforeRender",o=>{for(const i of n.hooks["before:dom"])i()===!1&&(o.shouldRender=!1)}),e&&n.addHeadObjs(e),n}const Sc={meta:[{charset:"utf8"},{name:"viewport",content:"width=device-width,initial-scale=1"},{name:"apple-mobile-web-app-title",content:"Taste"},{name:"application-name",content:"Taste"},{name:"msapplication-TileColor",content:"#000000"},{name:"theme-color",content:"#000000"},{name:"og:site_name",content:"Taste"},{name:"og:type",content:"website"},{name:"twitter:card",contetnt:"summary_large_image"},{name:"msapplication-TileColor",content:"#000000"},{name:"msapplication-TileImage",content:"/mstile-144x144.png"},{name:"msapplication-square70x70logo",content:"/mstile-70x70.png"},{name:"msapplication-square150x150logo",content:"/mstile-150x150.png"},{name:"msapplication-wide310x150logo",content:"/mstile-310x150.png"},{name:"msapplication-square310x310logo",content:"/mstile-310x310.png"}],link:[{rel:"dns-prefetch",href:"https://undefined"},{rel:"dns-prefetch",href:"https://cdn.sanity.io",crossorigin:!0},{rel:"preconnect",href:"https://cdn.sanity.io",crossorigin:!0},{rel:"apple-touch-icon-precomposed",sizes:"57x57",href:"/apple-touch-icon-57x57.png"},{rel:"apple-touch-icon-precomposed",sizes:"114x114",href:"/apple-touch-icon-114x114.png"},{rel:"apple-touch-icon-precomposed",sizes:"72x72",href:"/apple-touch-icon-72x72.png"},{rel:"apple-touch-icon-precomposed",sizes:"144x144",href:"/apple-touch-icon-144x144.png"},{rel:"apple-touch-icon-precomposed",sizes:"60x60",href:"/apple-touch-icon-60x60.png"},{rel:"apple-touch-icon-precomposed",sizes:"120x120",href:"/apple-touch-icon-120x120.png"},{rel:"apple-touch-icon-precomposed",sizes:"76x76",href:"/apple-touch-icon-76x76.png"},{rel:"apple-touch-icon-precomposed",sizes:"152x152",href:"/apple-touch-icon-152x152.png"},{rel:"icon",type:"image/png",href:"/favicon-196x196.png",sizes:"196x196"},{rel:"icon",type:"image/png",href:"/favicon-96x96.png",sizes:"96x96"},{rel:"icon",type:"image/png",href:"/favicon-32x32.png",sizes:"32x32"},{rel:"icon",type:"image/png",href:"/favicon-16x16.png",sizes:"16x16"},{rel:"icon",type:"image/png",href:"/favicon-128.png",sizes:"128x128"},{rel:"icon",type:"image/x-icon",href:"/favicon.ico"},{rel:"shortcut icon",type:"image/png",sizes:"32x32",href:"/favicon-32x32.png"}],style:[],script:[],noscript:[]},Rc=!1,Pc=!1,vh=!1,Cc="__nuxt",Tc=Ke(e=>{const t=Oc();t.push(Sc),e.vueApp.use(t);{let r=!0;const n=()=>{r=!1,t.internalHooks.callHook("entries:updated",t.unhead)};t.internalHooks.hook("dom:beforeRender",o=>{o.shouldRender=!r}),e.hooks.hook("page:start",()=>{r=!0}),e.hooks.hook("page:finish",n),e.hooks.hook("app:mounted",n)}e._useHead=_i});/*!
2  * vue-router v4.3.2
3  * (c) 2024 Eduardo San Martin Morote
4  * @license MIT
5  */const ot=typeof document<"u";
vendor: 6,806 bytes, line 5
5function Ac(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const X=Object.assign;function vr(e,t){const r={};for(const n in t){const o=t[n];r[n]=xe(o)?o.map(e):e(o)}return r}const yt=()=>{},xe=Array.isArray,Ei=/#/g,$c=/&/g,xc=/\//g,Ic=/=/g,jc=/\?/g,Oi=/\+/g,kc=/%5B/g,Hc=/%5D/g,Si=/%5E/g,qc=/%60/g,Ri=/%7B/g,Mc=/%7C/g,Pi=/%7D/g,Lc=/%20/g;function fn(e){return encodeURI(""+e).replace(Mc,"|").replace(kc,"[").replace(Hc,"]")}function Dc(e){return fn(e).replace(Ri,"{").replace(Pi,"}").replace(Si,"^")}function Lr(e){return fn(e).replace(Oi,"%2B").replace(Lc,"+").replace(Ei,"%23").replace($c,"%26").replace(qc,"`").replace(Ri,"{").replace(Pi,"}").replace(Si,"^")}function Uc(e){return Lr(e).replace(Ic,"%3D")}function Nc(e){return fn(e).replace(Ei,"%23").replace(jc,"%3F")}function Fc(e){return e==null?"":Nc(e).replace(xc,"%2F")}function St(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const Bc=/\/$/,zc=e=>e.replace(Bc,"");function mr(e,t,r="/"){let n,o={},i="",s="";const a=t.indexOf("#");let u=t.indexOf("?");return a<u&&a>=0&&(u=-1),u>-1&&(n=t.slice(0,u),i=t.slice(u+1,a>-1?a:t.length),o=e(i)),a>-1&&(n=n||t.slice(0,a),s=t.slice(a,t.length)),n=Kc(n??t,r),{fullPath:n+(i&&"?")+i+s,path:n,query:o,hash:St(s)}}function Vc(e,t){const r=t.query?e(t.query):"";return t.path+(r&&"?")+r+(t.hash||"")}function Qn(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function Wc(e,t,r){const n=t.matched.length-1,o=r.matched.length-1;return n>-1&&n===o&&ct(t.matched[n],r.matched[o])&&Ci(t.params,r.params)&&e(t.query)===e(r.query)&&t.hash===r.hash}function ct(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Ci(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const r in e)if(!Gc(e[r],t[r]))return!1;return!0}function Gc(e,t){return xe(e)?Yn(e,t):xe(t)?Yn(t,e):e===t}function Yn(e,t){return xe(t)?e.length===t.length&&e.every((r,n)=>r===t[n]):e.length===1&&e[0]===t}function Kc(e,t){if(e.startsWith("/"))return e;if(!e)return t;const r=t.split("/"),n=e.split("/"),o=n[n.length-1];(o===".."||o===".")&&n.push("");let i=r.length-1,s,a;for(s=0;s<n.length;s++)if(a=n[s],a!==".")if(a==="..")i>1&&i--;else break;return r.slice(0,i).join("/")+"/"+n.slice(s).join("/")}var Rt;(function(e){e.pop="pop",e.push="push"})(Rt||(Rt={}));var bt;(function(e){e.back="back",e.forward="forward",e.unknown=""})(bt||(bt={}));function Xc(e){if(!e)if(ot){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),zc(e)}const Jc=/^[^#]+#/;function Qc(e,t){return e.replace(Jc,"#")+t}function Yc(e,t){const r=document.documentElement.getBoundingClientRect(),n=e.getBoundingClientRect();return{behavior:t.behavior,left:n.left-r.left-(t.left||0),top:n.top-r.top-(t.top||0)}}const Jt=()=>({left:window.scrollX,top:window.scrollY});function Zc(e){let t;if("el"in e){const r=e.el,n=typeof r=="string"&&r.startsWith("#"),o=typeof r=="string"?n?document.getElementById(r.slice(1)):document.querySelector(r):r;if(!o)return;t=Yc(o,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function Zn(e,t){return(history.state?history.state.position-t:-1)+e}const Dr=new Map;function eu(e,t){Dr.set(e,t)}function tu(e){const t=Dr.get(e);return Dr.delete(e),t}let ru=()=>location.protocol+"//"+location.host;function Ti(e,t){const{pathname:r,search:n,hash:o}=t,i=e.indexOf("#");if(i>-1){let a=o.includes(e.slice(i))?e.slice(i).length:1,u=o.slice(a);return u[0]!=="/"&&(u="/"+u),Qn(u,"")}return Qn(r,e)+n+o}function nu(e,t,r,n){let o=[],i=[],s=null;const a=({state:d})=>{const m=Ti(e,location),w=r.value,E=t.value;let O=0;if(d){if(r.value=m,t.value=d,s&&s===w){s=null;return}O=E?d.position-E.position:0}else n(m);o.forEach(_=>{_(r.value,w,{delta:O,type:Rt.pop,direction:O?O>0?bt.forward:bt.back:bt.unknown})})};function u(){s=r.value}function l(d){o.push(d);const m=()=>{const w=o.indexOf(d);w>-1&&o.splice(w,1)};return i.push(m),m}function c(){const{history:d}=window;d.state&&d.replaceState(X({},d.state,{scroll:Jt()}),"")}function f(){for(const d of i)d();i=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",c)}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",c,{passive:!0}),{pauseListeners:u,listen:l,destroy:f}}function eo(e,t,r,n=!1,o=!1){return{back:e,current:t,forward:r,replaced:n,position:window.history.length,scroll:o?Jt():null}}function ou(e){const{history:t,location:r}=window,n={value:Ti(e,r)},o={value:t.state};o.value||i(n.value,{back:null,current:n.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function i(u,l,c){const f=e.indexOf("#"),d=f>-1?(r.host&&document.querySelector("base")?e:e.slice(f))+u:ru()+e+u;try{t[c?"replaceState":"pushState"](l,"",d),o.value=l}catch(m){console.error(m),r[c?"replace":"assign"](d)}}function s(u,l){const c=X({},t.state,eo(o.value.back,u,o.value.forward,!0),l,{position:o.value.position});i(u,c,!0),n.value=u}function a(u,l){const c=X({},o.value,t.state,{forward:u,scroll:Jt()});i(c.current,c,!0);const f=X({},eo(n.value,u,null),{position:c.position+1},l);i(u,f,!1),n.value=u}return{location:n,state:o,push:a,replace:s}}function Ai(e){e=Xc(e);const t=ou(e),r=nu(e,t.state,t.location,t.replace);function n(i,s=!0){s||r.pauseListeners(),history.go(i)}const o=X({location:"",base:e,go:n,createHref:Qc.bind(null,e)},t,r);return Object.defineProperty(o,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(o,"state",{enumerable:!0,get:()=>t.state.value}),o}function iu(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),Ai(e)}function su(e){return typeof e=="string"||e&&typeof e=="object"}function $i(e){return typeof e=="string"||typeof e=="symbol"}const ze={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},xi=Symbol("");var to;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(to||(to={}));function ut(e,t){return X(new Error,{type:e,[xi]:!0},t)}function De(e,t){return e instanceof Error&&xi in e&&(t==null||!!(e.type&t))}const ro="[^/]+?",au={sensitive:!1,strict:!1,start:!0,end:!0},cu=/[.+*?^${}()[\]/\\]/g;function uu(e,t){const r=X({},au,t),n=[];let o=r.start?"^":"";const i=[];for(const l of e){const c=l.length?[]:[90];r.strict&&!l.length&&(o+="/");for(let f=0;f<l.length;f++){const d=l[f];let m=40+(r.sensitive?.25:0);if(d.type===0)f||(o+="/"),o+=d.value.replace(cu,"\\$&"),m+=40;else if(d.type===1){const{value:w,repeatable:E,optional:O,regexp:_}=d;i.push({name:w,repeatable:E,optional:O});const R=_||ro;if(R!==ro){m+=10;try{new RegExp(`(${R}
5)`)}catch(j){throw new Error(`Invalid custom RegExp for param "${w}" (${R}): `+j.message)}}let $=E?`((?:${R})(?:/(?:${R}))*)`:`(${R})`;f||($=O&&l.length<2?`(?:/${$})`:"/"+$),O&&($+="?"),o+=$,m+=20,O&&(m+=-8),E&&(m+=-20),R===".*"&&(m+=-50)}c.push(m)}n.push(c)}if(r.strict&&r.end){const l=n.length-1;n[l][n[l].length-1]+=.7000000000000001}r.strict||(o+="/?"),r.end?o+="$":r.strict&&(o+="(?:/|$)");const s=new RegExp(o,r.sensitive?"":"i");function a(l){const c=l.match(s),f={};if(!c)return null;for(let d=1;d<c.length;d++){const m=c[d]||"",w=i[d-1];f[w.name]=m&&w.repeatable?m.split("/"):m}return f}function u(l){let c="",f=!1;for(const d of e){(!f||!c.endsWith("/"))&&(c+="/"),f=!1;for(const m of d)if(m.type===0)c+=m.value;else if(m.type===1){const{value:w,repeatable:E,optional:O}=m,_=w in l?l[w]:"";if(xe(_)&&!E)throw new Error(`Provided param "${w}" is an array but it is not repeatable (* or + modifiers)`);const R=xe(_)?_.join("/"):_;if(!R)if(O)d.length<2&&(c.endsWith("/")?c=c.slice(0,-1):f=!0);else throw new Error(`Missing required param "${w}"`);c+=R}}return c||"/"}return{re:s,score:n,keys:i,parse:a,stringify:u}}function lu(e,t){let r=0;for(;r<e.length&&r<t.length;){const n=t[r]-e[r];if(n)return n;r++}return e.length<t.length?e.length===1&&e[0]===40+40?-1:1:e.length>t.length?t.length===1&&t[0]===40+40?1:-1:0}function fu(e,t){let r=0;const n=e.score,o=t.score;for(;r<n.length&&r<o.length;){const i=lu(n[r],o[r]);if(i)return i;r++}if(Math.abs(o.length-n.length)===1){if(no(n))return 1;if(no(o))return-1}return o.length-n.length}function no(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const du={type:0,value:""},pu=/[a-zA-Z0-9_]/;function hu(e){if(!e)return[[]];if(e==="/")return[[du]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(m){throw new Error(`ERR (${r})/"${l}": ${m}`)}let r=0,n=r;const o=[];let i;function s(){i&&o.push(i),i=[]}let a=0,u,l="",c="";
vendor: 4,195 bytes, line 5
5function f(){l&&(r===0?i.push({type:0,value:l}):r===1||r===2||r===3?(i.length>1&&(u==="*"||u==="+")&&t(`A repeatable param (${l}) must be alone in its segment. eg: '/:ids+.`),i.push({type:1,value:l,regexp:c,repeatable:u==="*"||u==="+",optional:u==="*"||u==="?"})):t("Invalid state to consume buffer"),l="")}function d(){l+=u}for(;a<e.length;){if(u=e[a++],u==="\\"&&r!==2){n=r,r=4;continue}switch(r){case 0:u==="/"?(l&&f(),s()):u===":"?(f(),r=1):d();break;case 4:d(),r=n;break;case 1:u==="("?r=2:pu.test(u)?d():(f(),r=0,u!=="*"&&u!=="?"&&u!=="+"&&a--);break;case 2:u===")"?c[c.length-1]=="\\"?c=c.slice(0,-1)+u:r=3:c+=u;break;case 3:f(),r=0,u!=="*"&&u!=="?"&&u!=="+"&&a--,c="";break;default:t("Unknown state");break}}return r===2&&t(`Unfinished custom RegExp for param "${l}"`),f(),s(),o}function vu(e,t,r){const n=uu(hu(e.path),r),o=X(n,{record:e,parent:t,children:[],alias:[]});return t&&!o.record.aliasOf==!t.record.aliasOf&&t.children.push(o),o}function mu(e,t){const r=[],n=new Map;t=so({strict:!1,end:!0,sensitive:!1},t);function o(c){return n.get(c)}function i(c,f,d){const m=!d,w=gu(c);w.aliasOf=d&&d.record;const E=so(t,c),O=[w];if("alias"in c){const $=typeof c.alias=="string"?[c.alias]:c.alias;for(const j of $)O.push(X({},w,{components:d?d.record.components:w.components,path:j,aliasOf:d?d.record:w}))}let _,R;for(const $ of O){const{path:j}=$;if(f&&j[0]!=="/"){const B=f.record.path,V=B[B.length-1]==="/"?"":"/";$.path=f.record.path+(j&&V+j)}if(_=vu($,f,E),d?d.alias.push(_):(R=R||_,R!==_&&R.alias.push(_),m&&c.name&&!io(_)&&s(c.name)),w.children){const B=w.children;for(let V=0;V<B.length;V++)i(B[V],_,d&&d.children[V])}d=d||_,(_.record.components&&Object.keys(_.record.components).length||_.record.name||_.record.redirect)&&u(_)}return R?()=>{s(R)}:yt}function s(c){if($i(c)){const f=n.get(c);f&&(n.delete(c),r.splice(r.indexOf(f),1),f.children.forEach(s),f.alias.forEach(s))}else{const f=r.indexOf(c);f>-1&&(r.splice(f,1),c.record.name&&n.delete(c.record.name),c.children.forEach(s),c.alias.forEach(s))}}function a(){return r}function u(c){let f=0;for(;f<r.length&&fu(c,r[f])>=0&&(c.record.path!==r[f].record.path||!Ii(c,r[f]));)f++;r.splice(f,0,c),c.record.name&&!io(c)&&n.set(c.record.name,c)}function l(c,f){let d,m={},w,E;if("name"in c&&c.name){if(d=n.get(c.name),!d)throw ut(1,{location:c});E=d.record.name,m=X(oo(f.params,d.keys.filter(R=>!R.optional).concat(d.parent?d.parent.keys.filter(R=>R.optional):[]).map(R=>R.name)),c.params&&oo(c.params,d.keys.map(R=>R.name))),w=d.stringify(m)}else if(c.path!=null)w=c.path,d=r.find(R=>R.re.test(w)),d&&(m=d.parse(w),E=d.record.name);else{if(d=f.name?n.get(f.name):r.find(R=>R.re.test(f.path)),!d)throw ut(1,{location:c,currentLocation:f});E=d.record.name,m=X({},f.params,c.params),w=d.stringify(m)}const O=[];let _=d;for(;_;)O.unshift(_.record),_=_.parent;return{name:E,path:w,params:m,matched:O,meta:bu(O)}}return e.forEach(c=>i(c)),{addRoute:i,resolve:l,removeRoute:s,getRoutes:a,getRecordMatcher:o}}function oo(e,t){const r={};for(const n of t)n in e&&(r[n]=e[n]);return r}function gu(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:yu(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}}}function yu(e){const t={},r=e.props||!1;if("component"in e)t.default=r;else for(const n in e.components)t[n]=typeof r=="object"?r[n]:r;return t}function io(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function bu(e){return e.reduce((t,r)=>X(t,r.meta),{})}function so(e,t){const r={};for(const n in e)r[n]=n in t?t[n]:e[n];return r}function Ii(e,t){return t.children.some(r=>r===e||Ii(e,r))}function wu(e){const t={};if(e===""||e==="?")return t;const n=(e[0]==="?"?e.slice(1):e).split("&");for(let o=0;o<n.length;++o){const i=n[o].replace(Oi," "),s=i.indexOf("="),a=St(s<0?i:i.slice(0,s)),u=s<0?null:St(i.slice(s+1));if(a in t){let l=t[a];xe(l)||(l=t[a]=[l]),l.push(u)}else t[a]=u}return t}function ao(e){let t="";for(let r in e){const n=e[r];if(r=Uc(r),n==null){n!==void 0&&(t+=(t.length?"&":"")+r);continue}(xe(n)?n.map(i=>
vendor: 10,281 bytes, line 5
5i&&Lr(i)):[n&&Lr(n)]).forEach(i=>{i!==void 0&&(t+=(t.length?"&":"")+r,i!=null&&(t+="="+i))})}return t}function _u(e){const t={};for(const r in e){const n=e[r];n!==void 0&&(t[r]=xe(n)?n.map(o=>o==null?null:""+o):n==null?n:""+n)}return t}const Eu=Symbol(""),co=Symbol(""),dn=Symbol(""),pn=Symbol(""),Ur=Symbol("");function ht(){let e=[];function t(n){return e.push(n),()=>{const o=e.indexOf(n);o>-1&&e.splice(o,1)}}function r(){e=[]}return{add:t,list:()=>e.slice(),reset:r}}function We(e,t,r,n,o,i=s=>s()){const s=n&&(n.enterCallbacks[o]=n.enterCallbacks[o]||[]);return()=>new Promise((a,u)=>{const l=d=>{d===!1?u(ut(4,{from:r,to:t})):d instanceof Error?u(d):su(d)?u(ut(2,{from:t,to:d})):(s&&n.enterCallbacks[o]===s&&typeof d=="function"&&s.push(d),a())},c=i(()=>e.call(n&&n.instances[o],t,r,l));let f=Promise.resolve(c);e.length<3&&(f=f.then(l)),f.catch(d=>u(d))})}function gr(e,t,r,n,o=i=>i()){const i=[];for(const s of e)for(const a in s.components){let u=s.components[a];if(!(t!=="beforeRouteEnter"&&!s.instances[a]))if(Ou(u)){const c=(u.__vccOpts||u)[t];c&&i.push(We(c,r,n,s,a,o))}else{let l=u();i.push(()=>l.then(c=>{if(!c)return Promise.reject(new Error(`Couldn't resolve component "${a}" at "${s.path}"`));const f=Ac(c)?c.default:c;s.components[a]=f;const m=(f.__vccOpts||f)[t];return m&&We(m,r,n,s,a,o)()}))}}return i}function Ou(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function uo(e){const t=je(dn),r=je(pn),n=ye(()=>{const u=le(e.to);return t.resolve(u)}),o=ye(()=>{const{matched:u}=n.value,{length:l}=u,c=u[l-1],f=r.matched;if(!c||!f.length)return-1;const d=f.findIndex(ct.bind(null,c));if(d>-1)return d;const m=lo(u[l-2]);return l>1&&lo(c)===m&&f[f.length-1].path!==m?f.findIndex(ct.bind(null,u[l-2])):d}),i=ye(()=>o.value>-1&&Cu(r.params,n.value.params)),s=ye(()=>o.value>-1&&o.value===r.matched.length-1&&Ci(r.params,n.value.params));function a(u={}){return Pu(u)?t[le(e.replace)?"replace":"push"](le(e.to)).catch(yt):Promise.resolve()}return{route:n,href:ye(()=>n.value.href),isActive:i,isExactActive:s,navigate:a}}const Su=lt({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:uo,setup(e,{slots:t}){const r=_t(uo(e)),{options:n}=je(dn),o=ye(()=>({[fo(e.activeClass,n.linkActiveClass,"router-link-active")]:r.isActive,[fo(e.exactActiveClass,n.linkExactActiveClass,"router-link-exact-active")]:r.isExactActive}));return()=>{const i=t.default&&t.default(r);return e.custom?i:Ot("a",{"aria-current":r.isExactActive?e.ariaCurrentValue:null,href:r.href,onClick:r.navigate,class:o.value},i)}}}),Ru=Su;function Pu(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function Cu(e,t){for(const r in t){const n=t[r],o=e[r];if(typeof n=="string"){if(n!==o)return!1}else if(!xe(o)||o.length!==n.length||n.some((i,s)=>i!==o[s]))return!1}return!0}function lo(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const fo=(e,t,r)=>e??t??r,Tu=lt({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:r}){const n=je(Ur),o=ye(()=>e.route||n.value),i=je(co,0),s=ye(()=>{let l=le(i);const{matched:c}=o.value;let f;for(;(f=c[l])&&!f.components;)l++;return l}),a=ye(()=>o.value.matched[s.value]);qt(co,ye(()=>s.value+1)),qt(Eu,a),qt(Ur,o);const u=se();return Et(()=>[u.value,a.value,e.name],([l,c,f],[d,m,w])=>{c&&(c.instances[f]=l,m&&m!==c&&l&&l===d&&(c.leaveGuards.size||(c.leaveGuards=m.leaveGuards),c.updateGuards.size||(c.updateGuards=m.updateGuards))),l&&c&&(!m||!ct(c,m)||!d)&&(c.enterCallbacks[f]||[]).forEach(E=>E(l))},{flush:"post"}),()=>{const l=o.value,c=e.name,f=a.value,d=f&&f.components[c];if(!d)return po(r.default,{Component:d,route:l});const m=f.props[c],w=m?m===!0?l.params:typeof m=="function"?m(l):m:null,O=Ot(d,X({},w,t,{onVnodeUnmounted:_=>{_.component.isUnmounted&&(f.instances[c]=null)},ref:u}));return po(r.default,{Component:O,route:l})||O}}});function po(e,t){if(!e)return null;const r=e(t);return r.length===1?r[0]:r}const Au=Tu;function $u(e){const t=mu(e.routes,e),r=e.parseQuery||wu,n=e.stringifyQuery||ao,o=e.history,i=ht(),s=ht(),a=ht(),u=Ir(ze);let l=ze;ot&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const c=vr.bind(null,y=>""+y),f=vr.bind(null,Fc),d=vr.bind(null,St);function m(y,T){let P,x;return $i(y)?(P=t.getRecordMatcher(y),x=T):x=y,t.addRoute(x,P)}function w(y){const T=t.getRecordMatcher(y);T&&t.removeRoute(T)}function E(){return t.getRoutes().map(y=>y.record)}function O(y){return!!t.getRecordMatcher(y)}function _(y,T){if(T=X({},T||u.value),typeof y=="string"){const L=mr(r,y,T.path),oe=t.resolve({path:L.path},T),h=o.createHref(L.fullPath);return X(L,oe,{params:d(oe.params),hash:St(L.hash),redirectedFrom:void 0,href:h})}let P;if(y.path!=null)P=X({},y,{path:mr(r,y.path,T.path).path});else{const L=X({},y.params);for(const oe in L)L[oe]==null&&delete L[oe];P=X({},y,{params:f(L)}),T.params=f(T.params)}const x=t.resolve(P,T),U=y.hash||"";x.params=c(d(x.params));const ne=Vc(n,X({},y,{hash:Dc(U),path:x.path})),F=o.createHref(ne);return X({fullPath:ne,hash:U,query:n===ao?_u(y.query):y.query||{}},x,{redirectedFrom:void 0,href:F})}function R(y){return typeof y=="string"?mr(r,y,u.value.path):X({},y)}function $(y,T){if(l!==y)return ut(8,{from:T,to:y})}function j(y){return re(y)}function B(y){return j(X(R(y),{replace:!0}))}function V(y){const T=y.matched[y.matched.length-1];if(T&&T.redirect){const{redirect:P}=T;let x=typeof P=="function"?P(y):P;return typeof x=="string"&&(x=x.includes("?")||x.includes("#")?x=R(x):{path:x},x.params={}),X({query:y.query,hash:y.hash,params:x.path!=null?{}:y.params},x)}}function re(y,T){const P=l=_(y),x=u.value,U=y.state,ne=y.force,F=y.replace===!0,L=V(P);if(L)return re(X(R(L),{state:typeof L=="object"?X({},U,L.state):U,force:ne,replace:F}),T||P);const oe=P;oe.redirectedFrom=T;let h;return!ne&&Wc(n,x,P)&&(h=ut(16,{to:oe,from:x}),Y(x,x,!0,!1)),(h?Promise.resolve(h):W(oe,x)).catch(S=>De(S)?De(S,2)?S:ie(S):J(S,oe,x)).then(S=>{if(S){if(De(S,2))return re(X({replace:F},R(S.to),{state:typeof S.to=="object"?X({},U,S.to.state):U,force:ne}),T||oe)}else S=g(oe,x,!0,F,U);return v(oe,x,S),S})}function _e(y,T){const P=$(y,T);return P?Promise.reject(P):Promise.resolve()}function G(y){const T=pe.values().next().value;return T&&typeof T.runWithContext=="function"?T.runWithContext(y):y()}function W(y,T){let P;const[x,U,ne]=xu(y,T);P=gr(x.reverse(),"beforeRouteLeave",y,T);for(const L of x)L.leaveGuards.forEach(oe=>{P.push(We(oe,y,T))});const F=_e.bind(null,y,T);return P.push(F),Ee(P).then(()=>{P=[];for(const L of i.list())P.push(We(L,y,T));return P.push(F),Ee(P)}).then(()=>{P=gr(U,"beforeRouteUpdate",y,T);for(const L of U)L.updateGuards.forEach(oe=>{P.push(We(oe,y,T))});return P.push(F),Ee(P)}).then(()=>{P=[];for(const L of ne)if(L.beforeEnter)if(xe(L.beforeEnter))for(const oe of L.beforeEnter)P.push(We(oe,y,T));else P.push(We(L.beforeEnter,y,T));return P.push(F),Ee(P)}).then(()=>(y.matched.forEach(L=>L.enterCallbacks={}),P=gr(ne,"beforeRouteEnter",y,T,G),P.push(F),Ee(P))).then(()=>{P=[];for(const L of s.list())P.push(We(L,y,T));return P.push(F),Ee(P)}).catch(L=>De(L,8)?L:Promise.reject(L))}function v(y,T,P){a.list().forEach(x=>G(()=>x(y,T,P)))}function g(y,T,P,x,U){const ne=$(y,T);if(ne)return ne;const F=T===ze,L=ot?history.state:{};P&&(x||F?o.replace(y.fullPath,X({scroll:F&&L&&L.scroll},U)):o.push(y.fullPath,U)),u.value=y,Y(y,T,P,F),ie()}let b;function p(){b||(b=o.listen((y,T,P)=>{if(!Te.listening)return;const x=_(y),U=V(x);if(U){re(X(U,{replace:!0}),x).catch(yt);return}l=x;const ne=u.value;ot&&eu(Zn(ne.fullPath,P.delta),Jt()),W(x,ne).catch(F=>De(F,12)?F:De(F,2)?(re(F.to,x).then(L=>{De(L,20)&&!P.delta&&P.type===Rt.pop&&o.go(-1,!1)}).catch(yt),Promise.reject()):(P.delta&&o.go(-P.delta,!1),J(F,x,ne))).then(F=>{F=F||g(x,ne,!1),F&&(P.delta&&!De(F,8)?o.go(-P.delta,!1):P.type===Rt.pop&&De(F,20)&&o.go(-1,!1)),v(x,ne,F)}).catch(yt)}))}let H=ht(),I=ht(),D;function J(y,T,P){ie(y);const x=I.list();return x.length?x.forEach(U=>U(y,T,P)):console.error(y),Promise.reject(y)}function ae(){return D&&u.value!==ze?Promise.resolve():new Promise((y,T)=>{H.add([y,T])})}function ie(y){return D||(D=!y,p(),H.list().forEach(([T,P])=>y?P(y):T()),H.reset()),y}function Y(y,T,P,x){const{scrollBehavior:U}=e;if(!ot||!U)return Promise.resolve();const ne=!P&&tu(Zn(y.fullPath,0))||(x||!P)&&history.state&&history.state.scroll||null;return Kt().then(()=>U(y,T,ne)).then(F=>F&&Zc(F)).catch(F=>J(F,y,T))}const de=y=>o.go(y);let we;const pe=new Set,Te={currentRoute:u,listening:!0,addRoute:m,removeRoute:w,hasRoute:O,getRoutes:E,resolve:_,options:e,push:j,replace:B,go:de,back:()=>de(-1),forward:()=>de(1),beforeEach:i.add,beforeResolve:s.add,afterEach:a.add,onError:I.add,isReady:ae,install(y){const T=this;y.component("RouterLink",Ru),y.component("RouterView",Au),y.config.globalProperties.$router=T,Object.defineProperty(y.config.globalProperties,"$route",{enumerable:!0,get:()=>le(u)}),ot&&!we&&u.value===ze&&(we=!0,j(o.location).catch(U=>{}));const P={};for(const U in ze)Object.defineProperty(P,U,{get:()=>u.value[U],enumerable:!0});y.provide(dn,T),y.provide(pn,bs(P)),y.provide(Ur,u);const x=y.unmount;pe.add(y),y.unmount=function(){pe.delete(y),pe.size<1&&(l=ze,b&&b(),b=null,u.value=ze,we=!1,D=!1),x()}}};function Ee(y){return y.reduce((T,P)=>T.then(()=>G(P)),Promise.resolve())}return Te}function xu(e,t){const r=[],n=[],o=[],i=Math.max(t.matched.length,e.matched.length);for(let s=0;s<i;s++){const a=t.matched[s];a&&(e.matched.find(l=>ct(l,a))?n.push(a):r.push(a));const u=e.matched[s];u&&(t.matched.find(l=>ct(l,u))||o.push(u))}return[r,n,o]}function Iu(){return je(pn)}function yr(e){if(e===null||typeof e!="object")return!1;const t=Object.getPrototypeOf(e);return t!==null&&t!==Object.prototype&&Object.getPrototypeOf(t)!==null||Symbol.iterator in e?!1:Symbol.toStringTag in e?Object.prototype.toString.call(e)==="[object Module]":!0}
5function Nr(e,t,r=".",n){if(!yr(t))return Nr(e,{},r,n);const o=Object.assign({},t);for(const i in e){if(i==="__proto__"||i==="constructor")continue;const s=e[i];s!=null&&(n&&n(o,i,s,r)||(Array.isArray(s)&&Array.isArray(o[i])?o[i]=[...s,...o[i]]:yr(s)&&yr(o[i])?o[i]=Nr(s,o[i],(r?`${r}.`:"")+i.toString(),n):o[i]=s))}return o}function ji(e){return(...t)=>t.reduce((r,n)=>Nr(r,n,"",e),{})}const ho=ji(),ju=ji((e,t,r)=>{if(e[t]!==void 0&&typeof r=="function")return e[t]=r(e[t]),!0});function ku(e,t){try{return t in e}catch{return!1}}var Hu=Object.defineProperty,qu=(e,t,r)=>t in e?Hu(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Qe=(e,t,r)=>(qu(e,typeof t!="symbol"?t+"":t,r),r);class Fr extends Error{constructor(t,r={}){super(t,r),Qe(this,"statusCode",500),Qe(this,"fatal",!1),Qe(this,"unhandled",!1),Qe(this,"statusMessage"),Qe(this,"data"),Qe(this,"cause"),r.cause&&!this.cause&&(this.cause=r.cause)}toJSON(){const t={message:this.message,statusCode:zr(this.statusCode,500)};return this.statusMessage&&(t.statusMessage=ki(this.statusMessage)),this.data!==void 0&&(t.data=this.data),t}}Qe(Fr,"__h3_error__",!0);function Br(e){if(typeof e=="string")return new Fr(e);if(Mu(e))return e;const t=new Fr(e.message??e.statusMessage??"",{cause:e.cause||e});if(ku(e,"stack"))try{Object.defineProperty(t,"stack",{get(){return e.stack}})}catch{try{t.stack=e.stack}catch{}}if(e.data&&(t.data=e.data),e.statusCode?t.statusCode=zr(e.statusCode,t.statusCode):e.status&&(t.statusCode=zr(e.status,t.statusCode)),e.statusMessage?t.statusMessage=e.statusMessage:e.statusText&&(t.statusMessage=e.statusText),t.statusMessage){const r=t.statusMessage;ki(t.statusMessage)!==r&&console.warn("[h3] Please prefer using `message` for longer error messages instead of `statusMessage`. In the future, `statusMessage` will be sanitized by default.")}return e.fatal!==void 0&&(t.fatal=e.fatal),e.unhandled!==void 0&&(t.unhandled=e.unhandled),t}function Mu(e){var t;return((t=e==null?void 0:e.constructor)==null?void 0:t.__h3_error__)===!0}const Lu=/[^\u0009\u0020-\u007E]/g;function ki(e=""){return e.replace(Lu,"")}function zr(e,t=200){return!e||(typeof e=="string"&&(e=Number.parseInt(e,10)),e<100||e>999)?t:e}const Qt=()=>ni(be().payload,"error"),it=e=>{const t=Hi(e);try{be().callHook("app:error",t);const n=Qt();n.value=n.value||t}catch{throw t}return t},Du=async(e={})=>{const t=be(),r=Qt();t.callHook("app:error:cleared",e),e.redirect&&await t.$router.replace(e.redirect),r.value=null},Uu=e=>!!(e&&typeof e=="object"&&"__nuxt_error"in e),Hi=e=>{const t=Br(e);return t.__nuxt_error=!0,t};function Nu(...e){const t=typeof e[e.length-1]=="string"?e.pop():void 0;typeof e[0]!="string"&&e.unshift(t);const[r,n]=e;if(!r||typeof r!="string")throw new TypeError("[nuxt] [useState] key must be a string: "+r);if(n!==void 0&&typeof n!="function")throw new Error("[nuxt] [useState] init must be a function: "+n);const o="$s"+r,i=be(),s=ni(i.payload.state,o);if(s.value===void 0&&n){const a=n();if(ws(a))return i.payload.state[o]=a,a;s.value=a}return s}const Yt=()=>{var e;return(e=be())==null?void 0:e.$router},qi=()=>Pt()?je("_route",be()._route):be()._route,Fu=e=>e,Bu=()=>{try{if(be()._processingMiddleware)return!0}catch{return!0}return!1},mh=(e,t)=>{e||(e="/");const r=typeof e=="string"?e:e.path||"/",n=Xt(r,!0);if(n&&!(t!=null&&t.external))throw new Error("Navigating to external URL is not allowed by default. Use `navigateTo (url, { external: true })`.");if(n&&cn(r).protocol==="script:")throw new Error("Cannot navigate to an URL with script protocol.");if(!n&&Bu())return e;const o=Yt();return n?(t!=null&&t.replace?location.replace(r):location.href=r,Promise.resolve()):t!=null&&t.replace?o.replace(e):o.push(e)},zu="modulepreload",Vu=function(e,t){return e.startsWith(".")?new URL(e,t).href:e},vo={},Wu=function(t,r,n){if(!r||r.length===0)return t();const o=document.getElementsByTagName("link");return Promise.all(r.map(i=>{if(i=Vu(i,n),i in vo)return;vo[i]=!0;const s=i.endsWith(".css"),a=s?'[rel="stylesheet"]':"";if(!!n)for(let c=o.length-1;c>=0;c--){const f=o[c];if(f.href===i&&(!s||f.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${i}"]${a}`))return;const l=document.createElement("link");if(l.rel=s?"stylesheet":zu,s||(l.as="script",l.crossOrigin=""),l.href=i,document.head.appendChild(l),s)return new Promise((c,f)=>{l.addEventListener("load",c),l.addEventListener("error",()=>f(new Error(`Unable to preload CSS for ${i}`)))})})).then(()=>t())},te=(...e)=>Wu(...e).catch(t=>{const r=new Event("nuxt.preloadError");throw r.payload=t,window.dispatchEvent(r),t}),Pe={key:e=>e.slug,transition:{name:"page"},keepalive:{exclude:["modal"]}},mo=[{name:"404",path:"/404",children:[],meta:{},alias:[],redirect:void 0,component:()=>te(()=>
5import("./404.b8ddb024.js"),["./404.b8ddb024.js","./_plugin-vue_export-helper.c27b6911.js","./swiper-vue.1b2a8b42.js","./swiper-vue.25ac1039.css"],import.meta.url).then(e=>e.default||e)},{name:"handle",path:"/:handle",children:[],meta:{},alias:[],redirect:void 0,component:()=>te(()=>import("./_handle_.e08e043a.js"),["./_handle_.e08e043a.js","./Sanity.205561ac.js","./components.6c40c077.js","./swiper-vue.1b2a8b42.js","./swiper-vue.25ac1039.css","./PageSection.3b6fee32.js","./sanity-content.76a65c08.js","./nuxt-link.928736e8.js","./useLayoutState.5f5eff8f.js","./_plugin-vue_export-helper.c27b6911.js","./Media.d3ef9031.js","./SpecialImage.64ac112f.js","./client-only.40156c03.js","./SpecialImage.6fcf3049.css","./useMediaAssets.419faa5e.js","./Media.c8dcb6d0.css","./serializers.dd2b874b.js","./serializers.04e8bc74.css","./useCollections.ab6abe25.js","./axios.93df6217.js","./useCollections.e1e68c4f.css","./PageWrapper.f81d0703.js","./PageWrapper.31133b2d.css","./Card.74976dea.js","./Card.5873144f.css","./useProducts.41ba01f2.js","./PageSection.2c9aaad8.css","./CloseButton.6aa643eb.css","./SplashLanding.919b1967.css","./Lightbox.ad8b52f7.css","./Details.757bbc73.css","./Group.d3eb274a.css","./SpecialHeader.f6efc827.css","./Card.b8f2da53.css","./VariantSelector.a037a58d.css","./Grid.781861b5.css","./asyncData.48e529f7.js","./blocks.e71fdb0d.js","./_handle_.f0eda221.css"],import.meta.url).then(e=>e.default||e)},{name:"about",path:"/about",children:[],meta:{},alias:[],redirect:void 0,component:()=>te(()=>import("./about.39ed4856.js"),["./about.39ed4856.js","./Sanity.205561ac.js","./components.6c40c077.js","./swiper-vue.1b2a8b42.js","./swiper-vue.25ac1039.css","./useLayoutState.5f5eff8f.js","./PageSection.3b6fee32.js","./sanity-content.76a65c08.js","./nuxt-link.928736e8.js","./_plugin-vue_export-helper.c27b6911.js","./Media.d3ef9031.js","./SpecialImage.64ac112f.js","./client-only.40156c03.js","./SpecialImage.6fcf3049.css","./useMediaAssets.419faa5e.js","./Media.c8dcb6d0.css","./serializers.dd2b874b.js","./serializers.04e8bc74.css","./useCollections.ab6abe25.js","./axios.93df6217.js","./useCollections.e1e68c4f.css","./PageWrapper.f8
51d0703.js","./PageWrapper.31133b2d.css","./Card.74976dea.js","./Card.5873144f.css","./useProducts.41ba01f2.js","./PageSection.2c9aaad8.css","./CloseButton.6aa643eb.css","./SplashLanding.919b1967.css","./Lightbox.ad8b52f7.css","./Details.757bbc73.css","./Group.d3eb274a.css","./SpecialHeader.f6efc827.css","./Card.b8f2da53.css","./VariantSelector.a037a58d.css","./Grid.781861b5.css","./asyncData.48e529f7.js","./blocks.e71fdb0d.js"],import.meta.url).then(e=>e.default||e)},{name:"blog-handle",path:"/blog/:handle",children:[],meta:{},alias:[],redirect:void 0,component:()=>te(()=>import("./_handle_.f40ab7e5.js"),["./_handle_.f40ab7e5.js","./Card.74976dea.js","./Media.d3ef9031.js","./_plugin-vue_export-helper.c27b6911.js","./swiper-vue.1b2a8b42.js","./swiper-vue.25ac1039.css","./SpecialImage.64ac112f.js","./client-only.40156c03.js","./SpecialImage.6fcf3049.css","./useMediaAssets.419faa5e.js","./Media.c8dcb6d0.css","./sanity-content.76a65c08.js","./nuxt-link.928736e8.js","./useLayoutState.5f5eff8f.js","./serializers.dd2b874b.js","./serializers.04e8bc74.css","./Card.5873144f.css","./PageSection.3b6fee32.js","./useCollections.ab6abe25.js","./axios.93df6217.js","./useCollections.e1e68c4f.css","./PageWrapper.f8
51d0703.js","./PageWrapper.31133b2d.css","./useProducts.41ba01f2.js","./PageSection.2c9aaad8.css","./CloseButton.6aa643eb.css","./SplashLanding.919b1967.css","./Lightbox.ad8b52f7.css","./Details.757bbc73.css","./Group.d3eb274a.css","./SpecialHeader.f6efc827.css","./Card.b8f2da53.css","./VariantSelector.a037a58d.css","./Grid.781861b5.css","./asyncData.48e529f7.js","./blocks.e71fdb0d.js","./_handle_.3315c70f.css"],import.meta.url).then(e=>e.default||e)},{name:"blog",path:"/blog",children:[],meta:{},alias:[],redirect:void 0,component:()=>te(()=>import("./index.42bb82f8.js"),["./index.42bb82f8.js","./Card.74976dea.js","./Media.d3ef9031.js","./_plugin-vue_export-helper.c27b6911.js","./swiper-vue.1b2a8b42.js","./swiper-vue.25ac1039.css","./SpecialImage.64ac112f.js","./client-only.40156c03.js","./SpecialImage.6fcf3049.css","./useMediaAssets.419faa5e.js","./Media.c8dcb6d0.css","./sanity-content.76a65c08.js","./nuxt-link.928736e8.js","./useLayoutState.5f5eff8f.js","./serializers.dd2b874b.js","./serializers.04e8bc74.css","./Card.5873144f.css","./PageWrapper.f8
51d0703.js","./PageWrapper.31133b2d.css","./asyncData.48e529f7.js","./blocks.e71fdb0d.js"],import.meta.url).then(e=>e.default||e)},{name:"collections-handle",path:"/collections/:handle",children:[],meta:{},alias:[],redirect:void 0,component:()=>te(()=>import("./_handle_.6c773bcc.js"),["./_handle_.6c773bcc.js","./Shopify.56c0b02e.js","./nuxt-link.928736e8.js","./swiper-vue.1b2a8b42.js","./swiper-vue.25ac1039.css","./useCollections.ab6abe25.js","./_plugin-vue_export-helper.c27b6911.js","./axios.93df6217.js","./useCollections.e1e68c4f.css","./components.6c40c077.js","./Media.d3ef9031.js","./SpecialImage.64ac112f.js","./client-only.40156c03.js","./SpecialImage.6fcf3049.css","./useMediaAssets.419faa5e.js","./Media.c8dcb6d0.css","./plus.b7bae413.js","./CloseButton.c46bd095.js","./CloseButton.6aa643eb.css","./Card.3c1fd905.js","./Price.81aa65b5.js","./useCheckout.16d55811.js","./useLayoutState.5f5eff8f.js","./Card.b8f2da53.css","./Grid.65c22208.js","./Grid.781861b5.css","./asyncData.48e529f7.js","./SpecialHeader.f6efc827.css"],import.meta.url).then(e=>e.default||e)},{name:"collections",path:"/collections",children:[],meta:{},alias:[],redirect:void 0,component:()=>te(()=>import("./index.8a51d0d6.js"),["./index.8a51d0d6.js","./Sanity.205561ac.js","./components.6c40c077.js","./swiper-vue.1b2a8b42.js","./swiper-vue.25ac1039.css","./Card.74976dea.js","./Media.d3ef9031.js","./_plugin-vue_export-helper.c27b6911.js","./SpecialImage.64ac112f.js","./client-only.40156c03.js","./SpecialImage.6fcf3049.css","./useMediaAssets.419faa5e.js","./Media.c8dcb6d0.css","./sanity-content.76a65c08.js","./nuxt-link.928736e8.js","./useLayoutState.5f5eff8f.js","./serializers.dd2b874b.js","./serializers.04e8bc74.css","./Card.5873144f.css","./PageWrapper.f8
51d0703.js","./PageWrapper.31133b2d.css","./asyncData.48e529f7.js","./index.d02e3ea8.css"],import.meta.url).then(e=>e.default||e)},{name:"contact",path:"/contact",children:[],meta:{},alias:[],redirect:void 0,component:()=>te(()=>import("./contact.1534eeea.js"),["./contact.1534eeea.js","./Sanity.205561ac.js","./components.6c40c077.js","./swiper-vue.1b2a8b42.js","./swiper-vue.25ac1039.css","./useLayoutState.5f5eff8f.js","./asyncData.48e529f7.js","./_plugin-vue_export-helper.c27b6911.js","./contact.0874c695.css"],import.meta.url).then(e=>e.default||e)},{name:"customers-account",path:"/customers/account",children:[],meta:{},alias:[],redirect:void 0,component:()=>te(()=>import("./account.d564057b.js"),["./account.d564057b.js","./Field.7322a01b.js","./swiper-vue.1b2a8b42.js","./swiper-vue.25ac1039.css","./Group.5bea8d12.js","./_plugin-vue_export-helper.c27b6911.js","./Group.d3eb274a.css","./Error.f57eebfb.js","./cookie.c2dfd3c6.js","./useAccounts.cb6f3929.js","./axios.93df6217.js","./Price.81aa65b5.js","./SpecialImage.64ac112f.js","./client-only.40156c03.js","./SpecialImage.6fcf3049.css","./Lightbox.0378f31d.js","./CloseButton.c46bd095.js","./CloseButton.6aa643eb.css","./Lightbox.ad8b52f7.css","./plus.b7bae413.js","./asyncData.48e529f7.js","./account.985be5fe.css","./Details.757bbc73.css"],import.meta.url).then(e=>e.default||e)},{name:"customers-activate",path:"/customers/activate",children:[],meta:{},alias:[],redirect:void 0,component:()=>te(()=>import("./activate.a3fb1b48.js"),["./activate.a3fb1b48.js","./Error.f57eebfb.js","./swiper-vue.1b2a8b42.js","./swiper-vue.25ac1039.css","./nuxt-link.928736e8.js","./useCheckout.16d55811.js","./axios.93df6217.js","./editorial-image.b61b89b6.js","./_plugin-vue_export-helper.c27b6911.js","./activate.68d295bd.css"],import.meta.url).then(e=>e.default||e)},{name:"customers-forgot-password",path:"/customers/forgot-password",children:[],meta:{},alias:[],redirect:void 0,component:()=>te(()=>import("./forgot-password.85e3c4ab.js"),["./forgot-password.85e3c4ab.js","./Field.7322a01b.js","./swiper-vue.1b2a8b42.js","./swiper-vue.25ac1039.css","./Error.f57eebfb.js","./nuxt-link.928736e8.js","./useAccounts.cb6f3929.js","./axios.93df6217.js","./editorial-image.b61b89b6.js","./_plugin-vue_export-helper.c27b6911.js","./forgot-password.37955463.css"],import.meta.url).then(e=>e.default||e)},{name:"customers-login",path:"/customers/login",children:[],meta:{},alias:[],redirect:void 0,component:()=>te(()=>import("./login.248dde4e.js"),["./login.248dde4e.js","./nuxt-link.928736e8.js","./swiper-vue.1b2a8b42.js","./swiper-vue.25ac1039.css","./Field.7322a01b.js","./Error.f57eebfb.js","./cookie.c2dfd3c6.js","./useAccounts.cb6f3929.js","./axios.93df6217.js","./editorial-image.b61b89b6.js","./_plugin-vue_export-helper.c27b6911.js","./login.a978f0d8.css"],import.meta.url).then(e=>e.default||e)},{name:"customers-register",path:"/customers/register",children:[],meta:{},alias:[],redirect:void 0,component:()=>te(()=>import("./register.a4a941a2.js"),["./register.a4a941a2.js","./nuxt-link.928736e8.js","./swiper-vue.1b2a8b42.js","./swiper-vue.25ac1039.css","./Field.7322a01b.js","./Group.5bea8d12.js","./_plugin-vue_export-helper.c27b6911.js","./Group.d3eb274a.css","./Error.f57eebfb.js","./cookie.c2dfd3c6.js","./useAccounts.cb6f3929.js","./axios.93df6217.js","./editorial-image.b61b89b6.js","./register.67f96ced.css"],import.meta.url).then(e=>e.default||e)},{name:"customers-reset-password",path:"/customers/reset-password",children:[],meta:{},alias:[],redirect:void 0,component:()=>te(()=>import("./reset-password.988d031e.js"),["./reset-password.988d031e.js","./nuxt-link.928736e8.js","./swiper-vue.1b2a8b42.js","./swiper-vue.25ac1039.css","./Field.7322a01b.js","./Error.f57eebfb.js","./cookie.c2dfd3c6.js","./useAccounts.cb6f3929.js","./axios.93df6217.js","./editorial-image.b61b89b6.js","./_plugin-vue_export-helper.c27b6911.js","./reset-password.ee44c091.css"],import.meta.url).then(e=>e.default||e)},{name:"directors-slug",path:"/directors/:slug",children:[],meta:{},alias:[],redirect:void 0,component:()=>te(()=>
5import("./index.7a9e3f02.js"),["./index.7a9e3f02.js","./_plugin-vue_export-helper.c27b6911.js","./swiper-vue.1b2a8b42.js","./swiper-vue.25ac1039.css"],import.meta.url).then(e=>e.default||e)},{name:"directors-slug-videos-title",path:"/directors/:slug/videos/:title",children:[],meta:{},alias:[],redirect:void 0,component:()=>te(()=>import("./_title_.658ac278.js"),["./_title_.658ac278.js","./_plugin-vue_export-helper.c27b6911.js","./swiper-vue.1b2a8b42.js","./swiper-vue.25ac1039.css"],import.meta.url).then(e=>e.default||e)},{name:(Pe==null?void 0:Pe.name)??"directors",path:(Pe==null?void 0:Pe.path)??"/directors",children:[],meta:Pe||{},alias:(Pe==null?void 0:Pe.alias)||[],redirect:(Pe==null?void 0:Pe.redirect)||void 0,component:()=>te(()=>import("./index.c7a9fc7b.js"),["./index.c7a9fc7b.js","./useLayoutState.5f5eff8f.js","./asyncData.48e529f7.js","./swiper-vue.1b2a8b42.js","./swiper-vue.25ac1039.css","./directors.1a1810e4.js","./_plugin-vue_export-helper.c27b6911.js","./index.dd853f03.css"],import.meta.url).then(e=>e.default||e)},{name:"index",path:"/",children:[],meta:{},alias:[],redirect:void 0,component:()=>te(()=>import("./index.129d44eb.js"),["./index.129d44eb.js","./Sanity.205561ac.js","./components.6c40c077.js","./swiper-vue.1b2a8b42.js","./swiper-vue.25ac1039.css","./PageSection.3b6fee32.js","./sanity-content.76a65c08.js","./nuxt-link.928736e8.js","./useLayoutState.5f5eff8f.js","./_plugin-vue_export-helper.c27b6911.js","./Media.d3ef9031.js","./SpecialImage.64ac112f.js","./client-only.40156c03.js","./SpecialImage.6fcf3049.css","./useMediaAssets.419faa5e.js","./Media.c8dcb6d0.css","./serializers.dd2b874b.js","./serializers.04e8bc74.css","./useCollections.ab6abe25.js","./axios.93df6217.js","./useCollections.e1e68c4f.css","./PageWrapper.f8
51d0703.js","./PageWrapper.31133b2d.css","./Card.74976dea.js","./Card.5873144f.css","./useProducts.41ba01f2.js","./PageSection.2c9aaad8.css","./CloseButton.6aa643eb.css","./SplashLanding.919b1967.css","./Lightbox.ad8b52f7.css","./Details.757bbc73.css","./Group.d3eb274a.css","./SpecialHeader.f6efc827.css","./Card.b8f2da53.css","./VariantSelector.a037a58d.css","./Grid.781861b5.css","./asyncData.48e529f7.js","./blocks.e71fdb0d.js","./index.5fc96fa4.css"],import.meta.url).then(e=>e.default||e)},{name:"info-handle",path:"/info/:handle",children:[],meta:{},alias:[],redirect:void 0,component:()=>te(()=>import("./_handle_.36072089.js"),["./_handle_.36072089.js","./sanity-content.76a65c08.js","./nuxt-link.928736e8.js","./swiper-vue.1b2a8b42.js","./swiper-vue.25ac1039.css","./useLayoutState.5f5eff8f.js","./asyncData.48e529f7.js","./blocks.e71fdb0d.js","./serializers.dd2b874b.js","./_plugin-vue_export-helper.c27b6911.js","./serializers.04e8bc74.css","./_handle_.73d08598.css"],import.meta.url).then(e=>e.default||e)},{name:"products-handle",path:"/products/:handle",children:[],meta:{},alias:[],redirect:void 0,component:()=>te(()=>import("./_handle_.5f5e0145.js"),["./_handle_.5f5e0145.js","./Shopify.56c0b02e.js","./nuxt-link.928736e8.js","./swiper-vue.1b2a8b42.js","./swiper-vue.25ac1039.css","./useCollections.ab6abe25.js","./_plugin-vue_export-helper.c27b6911.js","./axios.93df6217.js","./useCollections.e1e68c4f.css","./components.6c40c077.js","./SpecialImage.64ac112f.js","./client-only.40156c03.js","./SpecialImage.6fcf3049.css","./useProducts.41ba01f2.js","./Field.7322a01b.js","./Price.81aa65b5.js","./useCheckout.16d55811.js","./useLayoutState.5f5eff8f.js","./cookie.c2dfd3c6.js","./Card.3c1fd905.js","./Card.b8f2da53.css","./Lightbox.0378f31d.js","./CloseButton.c46bd095.js","./CloseButton.6aa643eb.css","./Lightbox.ad8b52f7.css","./asyncData.48e529f7.js","./_handle_.ea348dca.css","./VariantSelector.a037a58d.css"],import.meta.url).then(e=>e.default||e)},{name:"search-term",path:"/search/:term",children:[],meta:{},alias:[],redirect:void 0,component:()=>te(()=>import("./_term_.876eb770.js"),["./_term_.876eb770.js","./Grid.65c22208.js","./Card.3c1fd905.js","./_plugin-vue_export-helper.c27b6911.js","./swiper-vue.1b2a8b42.js","./swiper-vue.25ac1039.css","./SpecialImage.64ac112f.js","./client-only.40156c03.js","./SpecialImage.6fcf3049.css","./Price.81aa65b5.js","./useCheckout.16d55811.js","./axios.93df6217.js","./useLayoutState.5f5eff8f.js","./nuxt-link.928736e8.js","./Card.b8f2da53.css","./Grid.781861b5.css","./PageWrapper.f8
51d0703.js","./PageWrapper.31133b2d.css","./asyncData.48e529f7.js","./useProducts.41ba01f2.js"],import.meta.url).then(e=>e.default||e)}],Gu={scrollBehavior(e,t,r){const n=be();let o=r||void 0;if(!o&&t&&e&&e.meta.scrollToTop!==!1&&Ku(t,e)&&(o={left:0,top:0}),e.path===t.path){if(t.hash&&!e.hash)return{left:0,top:0};if(e.hash)return{el:e.hash,top:go(e.hash)}}const i=a=>!!(a.meta.pageTransition??Pc),s=i(t)&&i(e)?"page:transition:finish":"page:finish";return new Promise(a=>{n.hooks.hookOnce(s,async()=>{await Kt(),e.hash&&(o={el:e.hash,top:go(e.hash)}),a(o)})})}};function go(e){try{const t=document.querySelector(e);if(t)return parseFloat(getComputedStyle(t).scrollMarginTop)}catch{}return 0}function Ku(e,t){const r=e.matched[0]===t.matched[0];return!!(!r||r&&JSON.stringify(e.params)!==JSON.stringify(t.params))}const Xu={},Ue={...Xu,...Gu},Ju=Fu(async e=>{var u;let t,r;if(!((u=e.meta)!=null&&u.validate))return;const n=be(),o=Yt();if(([t,r]=Mr(()=>Promise.resolve(e.meta.validate(e))),t=await t,r(),t)===!0)return;const s=Hi({statusCode:404,statusMessage:`Page Not Found: ${e.fullPath}`}),a=o.beforeResolve(l=>{if(a(),l===e){const c=o.afterEach(async()=>{c(),await Ne(n,it,[s]),window.history.pushState({},"",e.fullPath)});return!1}})}),Qu=[Ju],wt={};function Yu(e,t){const{pathname:r,search:n,hash:o}=t,i=e.indexOf("#");if(i>-1){const a=o.includes(e.slice(i))?e.slice(i).length:1;let u=o.slice(a);return u[0]!=="/"&&(u="/"+u),Ln(u,"")}return Ln(r,e)+n+o}const Zu=Ke(async e=>{var w,E;let t,r,n=pi().app.baseURL;Ue.hashMode&&!n.includes("#")&&(n+="#");const o=((w=Ue.history)==null?void 0:w.call(Ue,n))??(Ue.hashMode?iu(n):Ai(n)),i=((E=Ue.routes)==null?void 0:E.call(Ue,mo))??mo,s=Yu(n,window.location),a=$u({...Ue,history:o,routes:i});e.vueApp.use(a);const u=Ir(a.currentRoute.value);a.afterEach((O,_)=>{u.value=_}),Object.defineProperty(e.vueApp.config.globalProperties,"previousRoute",{get:()=>u.value});const l=Ir(a.resolve(s)),c=()=>{l.value=a.currentRoute.value};e.hook("page:finish",c),a.afterEach((O,_)=>{var R,$,j,B;(($=(R=O.matched[0])==null?void 0:R.components)==null?void 0:$.default)===((B=(j=_.matched[0])==null?void 0:j.components)==null?void 0:B.default)&&c()});const f={};for(const O in l.value)f[O]=ye(()=>l.value[O]);e._route=_t(f),e._middleware=e._middleware||{global:[],named:{}};const d=Qt();try{[t,r]=Mr(()=>a.isReady()),await t,r()}catch(O){[t,r]=Mr(()=>Ne(e,it,[O])),await t,r()}const m=Nu("_layout");return a.beforeEach(async(O,_)=>{var $;O.meta=_t(O.meta),e.isHydrating&&m.value&&!_s(O.meta.layout)&&(O.meta.layout=m.value),e._processingMiddleware=!0;const R=new Set([...Qu,...e._middleware.global]);for(const j of O.matched){const B=j.meta.middleware;if(B)if(Array.isArray(B))for(const V of B)R.add(V);else R.add(B)}for(const j of R){const B=typeof j=="string"?e._middleware.named[j]||await(($=wt[j])==null?void 0:$.call(wt).then(re=>re.default||re)):j;if(!B)throw new Error(`Unknown route middleware: '${j}'.`);const V=await Ne(e,B,[O,_]);if(!e.payload.serverRendered&&e.isHydrating&&(V===!1||V instanceof Error)){const re=V||Br({statusCode:404,statusMessage:`Page Not Found: ${s}`});return await Ne(e,it,[re]),!1}if(V||V===!1)return V}}),a.afterEach(async O=>{delete e._processingMiddleware,!e.isHydrating&&d.value&&await Ne(e,Du),O.matched.length===0&&await Ne(e,it,[Br({statusCode:404,fatal:!1,statusMessage:`Page not found: ${O.fullPath}`})])}),e.hooks.hookOnce("app:created",async()=>{try{await a.replace({...a.resolve(s),name:void 0,force:!0})}catch(O){await Ne(e,it,[O])}}),{provide:{router:a}}}),st={default:()=>te(()=>import("./default.757090f0.js"),["./default.757090f0.js","./Field.7322a01b.js","./swiper-vue.1b2a8b42.js","./swiper-vue.25ac1039.css","./Error.f57eebfb.js","./_plugin-vue_export-helper.c27b6911.js","./Sanity.205561ac.js","./components.6c40c077.js","./CloseButton.c46bd095.js","./CloseButton.6aa643eb.css","./sanity-content.76a65c08.js","./nuxt-link.928736e8.js","./useLayoutState.5f5eff8f.js","./client-only.40156c03.js","./useMediaAssets.419faa5e.js","./asyncData.48e529f7.js","./directors.1a1810e4.js","./axios.93df6217.js","./Lightbox.0378f31d.js","./Lightbox.ad8b52f7.css","./cookie.c2dfd3c6.js","./useCheckout.16d55811.js","./default.64ef4ed5.css","./SplashLanding.919b1967.css"],import.meta.url).then(e=>e.default||e)},el=Ke(()=>
5{const e=be(),t=Yt();e.hooks.hook("app:mounted",()=>{t.beforeEach(async r=>{var o;const n=(o=r==null?void 0:r.meta)==null?void 0:o.layout;n&&typeof st[n]=="function"&&await st[n]()})}),e.hooks.hook("link:prefetch",r=>{var s,a,u,l;if(Xt(r))return;const n=t.resolve(r);if(!n)return;const o=(s=n==null?void 0:n.meta)==null?void 0:s.layout;let i=Array.isArray((a=n==null?void 0:n.meta)==null?void 0:a.middleware)?(u=n==null?void 0:n.meta)==null?void 0:u.middleware:[(l=n==null?void 0:n.meta)==null?void 0:l.middleware];i=i.filter(c=>typeof c=="string");for(const c of i)typeof wt[c]=="function"&&wt[c]();o&&typeof st[o]=="function"&&st[o]()})});function tl(e,t){return be()._useHead(e,t)}const rl={};ju(rl);var nl,ol=()=>nl;function il(e){return typeof e=="function"?e():le(e)}function Vr(e,t=""){if(e instanceof Promise)return e;const r=il(e);return!e||!r?r:Array.isArray(r)?r.map(n=>Vr(n,t)):typeof r=="object"?Object.fromEntries(Object.entries(r).map(([n,o])=>n==="titleTemplate"||n.startsWith("on")?[n,le(o)]:[n,Vr(o,n)])):r}var sl=typeof window<"u",al="usehead";function hn(){return Pt()&&je(al)||ol()}function cl(e,t={}){const r=hn(),n=se(!1),o=se({});ei(()=>{o.value=n.value?{}:Vr(e)});const i=r.push(o.value,t);return Et(o,a=>{i.patch(a)}),Pt()&&(on(()=>{i.dispose()}),ti(()=>{n.value=!0}),ri(()=>{n.value=!1})),i}function ul(e,t={}){return hn().push(e,t)}function ll(e,t={}){var n;const r=hn();if(r){const o=sl||!!((n=r.resolvedOptions)!=null&&n.document);return t.mode==="server"&&o||t.mode==="client"&&!o?void 0:o?cl(e,t):ul(e,t)}}var fl=e=>{const t={created(){var o;if(typeof((o=this.$options)==null?void 0:o.jsonld)!="function")return;const n=ye(()=>this.$options.jsonld.call(this));ll(()=>({script:[{type:"application/ld+json",children:n.value?JSON.stringify(n.value,null,""):void 0}]}))}},r={install(n){n.mixin(t)}};e.vueApp.use(r)},dl=Ke(fl);const pl=Ke(e=>{const t=Yt(),r=new Set;t.beforeEach(()=>{r.clear()}),e.hook("app:chunkError",({error:n})=>{r.add(n)}),t.onError((n,o)=>
5{if(!r.has(n))return;let i={};try{i=JSON.parse(localStorage.getItem("nuxt:reload")||"{}")}catch{}((i==null?void 0:i.path)!==o.fullPath||(i==null?void 0:i.expires)<Date.now())&&(localStorage.setItem("nuxt:reload",JSON.stringify({path:o.fullPath,expires:Date.now()+1e4})),window.location.href=o.fullPath)})});var Ae=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};/*
6object-assign
7(c) Sindre Sorhus
8@license MIT
9*/var yo=Object.getOwnPropertySymbols,hl=Object.prototype.hasOwnProperty,vl=Object.prototype.propertyIsEnumerable;function ml(e){if(e==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}function gl(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de",Object.getOwnPropertyNames(e)[0]==="5")return!1;for(var t={},r=0;r<10;r++)t["_"+String.fromCharCode(r)]=r;var n=Object.getOwnPropertyNames(t).map(function(i){return t[i]});if(n.join("")!=="0123456789")return!1;var o={};return"abcdefghijklmnopqrst".split("").forEach(function(i){o[i]=i}),Object.keys(Object.assign({},o)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}var fe=gl()?Object.assign:function(e,t){for(var r,n=ml(e),o,i=1;i<arguments.length;i++){r=Object(arguments[i]);for(var s in r)hl.call(r,s)&&(n[s]=r[s]);if(yo){o=yo(r);for(var a=0;a<o.length;a++)vl.call(r,o[a])&&(n[o[a]]=r[o[a]])}}return n},vn={},mn={},Ye={},Zt={};Object.defineProperty(Zt,"__esModule",{value:!0});function yl(e){return typeof e=="function"}Zt.isFunction=yl;var er={},Ct={};Object.defineProperty(Ct,"__esModule",{value:!0});var br=!1;Ct.config={Promise:void 0,set useDeprecatedSynchronousErrorHandling(e){if(e){var t=new Error;console.warn(`DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: 
10`+t.stack)}else br&&console.log("RxJS: Back to a better error behavior. Thank you. <3");br=e},get useDeprecatedSynchronousErrorHandling(){return br}};var tr={};Object.defineProperty(tr,"__esModule",{value:!0});function bl(e){setTimeout(function(){throw e},0)}tr.hostReportError=bl;Object.defineProperty(er,"__esModule",{value:!0});var wl=Ct,_l=tr;er.empty={closed:!0,next:function(e){},error:function(e){if(wl.config.useDeprecatedSynchronousErrorHandling)throw e;_l.hostReportError(e)},complete:function(){}};var gn={},yn={};Object.defineProperty(yn,"__esModule",{value:!0});yn.isArray=function(){return Array.isArray||function(e){return e&&typeof e.length=="number"}}();var bn={};Object.defineProperty(bn,"__esModule",{value:!0});function El(e){return e!==null&&typeof e=="object"}bn.isObject=El;var wn={};Object.defineProperty(wn,"__esModule",{value:!0});var Ol=function(){function e(t){return Error.call(this),this.message=t?t.length+` errors occurred during unsubscription:
11`+t.map(function(r,n){return n+1+") "+r.toString()}).join(`
12  `):"",this.name="UnsubscriptionError",this.errors=t,this}return e.prototype=Object.create(Error.prototype),e}();wn.UnsubscriptionError=Ol;Object.defineProperty(gn,"__esModule",{value:!0});var Sl=yn,Rl=bn,Pl=Zt,Ut=wn,Cl=function(){function e(t){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,t&&(this._ctorUnsubscribe=!0,this._unsubscribe=t)}return e.prototype.unsubscribe=function(){var t;if(!this.closed){var r=this,n=r._parentOrParents,o=r._ctorUnsubscribe,i=r._unsubscribe,s=r._subscriptions;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,n instanceof e)n.remove(this);else if(n!==null)for(var a=0;a<n.length;++a){var u=n[a];u.remove(this)}if(Pl.isFunction(i)){o&&(this._unsubscribe=void 0);try{i.call(this)}catch(f){t=f instanceof Ut.UnsubscriptionError?bo(f.errors):[f]}}if(Sl.isArray(s))for(var a=-1,l=s.length;++a<l;){var c=s[a];if(Rl.isObject(c))try{c.unsubscribe()}catch(d){t=t||[],d instanceof Ut.UnsubscriptionError?t=t.concat(bo(d.errors)):t.push(d)}}if(t)throw new Ut.UnsubscriptionError(t)}},e.prototype.add=function(t){var r=t;if(!t)return e.EMPTY;switch(typeof t){case"function":r=new e(t);case"object":if(r===this||r.closed||typeof r.unsubscribe!="function")return r;if(this.closed)return r.unsubscribe(),r;if(!(r instanceof e)){var n=r;r=new e,r._subscriptions=[n]}break;default:throw new Error("unrecognized teardown "+t+" added to Subscription.")}var o=r._parentOrParents;if(o===null)r._parentOrParents=this;else if(o instanceof e){if(o===this)return r;r._parentOrParents=[o,this]}else if(o.indexOf(this)===-1)o.push(this);else return r;var i=this._subscriptions;return i===null?this._subscriptions=[r]:i.push(r),r},e.prototype.remove=function(t){var r=this._subscriptions;if(r){var n=r.indexOf(t);n!==-1&&r.splice(n,1)}},e.EMPTY=function(t){return t.closed=!0,t}(new e),e}();gn.Subscription=Cl;function bo(e){return e.reduce(function(t,r){return t.concat(r instanceof Ut.UnsubscriptionError?r.errors:r)},[])}var _n={};
12(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.rxSubscriber=function(){return typeof Symbol=="function"?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random()}(),e.$$rxSubscriber=e.rxSubscriber})(_n);var Mi=Ae&&Ae.__extends||function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,o){n.__proto__=o}||function(n,o){for(var i in o)o.hasOwnProperty(i)&&(n[i]=o[i])},e(t,r)};return function(t,r){e(t,r);function n(){this.constructor=t}t.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(Ye,"__esModule",{value:!0});var wo=Zt,Wr=er,Tl=gn,Al=_n,tt=Ct,jt=tr,Li=function(e){Mi(t,e);function t(r,n,o){var i=e.call(this)||this;switch(i.syncErrorValue=null,i.syncErrorThrown=!1,i.syncErrorThrowable=!1,i.isStopped=!1,arguments.length){case 0:i.destination=Wr.empty;break;case 1:if(!r){i.destination=Wr.empty;break}if(typeof r=="object"){r instanceof t?(i.syncErrorThrowable=r.syncErrorThrowable,i.destination=r,r.add(i)):(i.syncErrorThrowable=!0,i.destination=new Gr(i,r));break}default:i.syncErrorThrowable=!0,i.destination=new Gr(i,r,n,o);break}return i}return t.prototype[Al.rxSubscriber]=function(){return this},t.create=function(r,n,o){var i=new t(r,n,o);return i.syncErrorThrowable=!1,i},t.prototype.next=function(r){this.isStopped||this._next(r)},t.prototype.error=function(r){this.isStopped||(this.isStopped=!0,this._error(r))},t.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this))},t.prototype._next=function(r){this.destination.next(r)},t.prototype._error=function(r){this.destination.error(r),this.unsubscribe()},t.prototype._complete=function(){this.destination.complete(),this.unsubscribe()},t.prototype._unsubscribeAndRecycle=function(){var r=this._parentOrParents;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=r,this},t}(Tl.Subscription);Ye.Subscriber=Li;var Gr=function(e){Mi(t,e);function t(r,n,o,i){var s=e.call(this)||this;s._parentSubscriber=r;var a,u=s;return wo.isFunction(n)?a=n:n&&(a=n.next,o=n.error,i=n.complete,n!==Wr.empty&&(u=Object.create(n),wo.isFunction(u.unsubscribe)&&s.add(u.unsubscribe.bind(u)),u.unsubscribe=s.unsubscribe.bind(s))),s._context=u,s._next=a,s._error=o,s._complete=i,s}return t.prototype.next=function(r){if(!this.isStopped&&this._next){var n=this._parentSubscriber;!tt.config.useDeprecatedSynchronousErrorHandling||!n.syncErrorThrowable?this.__tryOrUnsub(this._next,r):this.__tryOrSetError(n,this._next,r)&&this.unsubscribe()}},t.prototype.error=function(r){if(!this.isStopped){var n=this._parentSubscriber,o=tt.config.useDeprecatedSynchronousErrorHandling;if(this._error)!o||!n.syncErrorThrowable?(this.__tryOrUnsub(this._error,r),this.unsubscribe()):(this.__tryOrSetError(n,this._error,r),this.unsubscribe());else if(n.syncErrorThrowable)o?(n.syncErrorValue=r,n.syncErrorThrown=!0):jt.hostReportError(r),this.unsubscribe();else{if(this.unsubscribe(),o)throw r;jt.hostReportError(r)}}},t.prototype.complete=function(){var r=this;if(!this.isStopped){var n=this._parentSubscriber;if(this._complete){var o=function(){return r._complete.call(r._context)};!tt.config.useDeprecatedSynchronousErrorHandling||!n.syncErrorThrowable?(this.__tryOrUnsub(o),this.unsubscribe()):(this.__tryOrSetError(n,o),this.unsubscribe())}else this.unsubscribe()}},t.prototype.__tryOrUnsub=function(r,n){try{r.call(this._context,n)}catch(o){if(this.unsubscribe(),tt.config.useDeprecatedSynchronousErrorHandling)throw o;jt.hostReportError(o)}},t.prototype.__tryOrSetError=function(r,n,o){if(!tt.config.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{n.call(this._context,o)}catch(i){return tt.config.useDeprecatedSynchronousErrorHandling?(r.syncErrorValue=i,r.syncErrorThrown=!0,!0):(jt.hostReportError(i),!0)}return!1},t.prototype._unsubscribe=function(){var r=this._parentSubscriber;this._context=null,this._parentSubscriber=null,r.unsubscribe()},t}(Li);Ye.SafeSubscriber=Gr;Object.defineProperty(mn,"__esModule",{value:!0});var $l=Ye;function xl(e){for(;e;){var t=e,r=t.closed,n=t.destination,o=t.isStopped;
12if(r||o)return!1;n&&n instanceof $l.Subscriber?e=n:e=null}return!0}mn.canReportError=xl;var En={};Object.defineProperty(En,"__esModule",{value:!0});var wr=Ye,_o=_n,Il=er;function jl(e,t,r){if(e){if(e instanceof wr.Subscriber)return e;if(e[_o.rxSubscriber])return e[_o.rxSubscriber]()}return!e&&!t&&!r?new wr.Subscriber(Il.empty):new wr.Subscriber(e,t,r)}En.toSubscriber=jl;var On={};Object.defineProperty(On,"__esModule",{value:!0});On.observable=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}();var rr={},Sn={};Object.defineProperty(Sn,"__esModule",{value:!0});function kl(e){return e}Sn.identity=kl;Object.defineProperty(rr,"__esModule",{value:!0});var Hl=Sn;function ql(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return Di(e)}rr.pipe=ql;function Di(e){return e.length===0?Hl.identity:e.length===1?e[0]:function(r){return e.reduce(function(n,o){return o(n)},r)}}rr.pipeFromArray=Di;Object.defineProperty(vn,"__esModule",{value:!0});var Ml=mn,Ll=En,Dl=On,Ul=rr,Nt=Ct,Nl=function(){function e(t){this._isScalar=!1,t&&(this._subscribe=t)}return e.prototype.lift=function(t){var r=new e;return r.source=this,r.operator=t,r},e.prototype.subscribe=function(t,r,n){var o=this.operator,i=Ll.toSubscriber(t,r,n);if(o?i.add(o.call(i,this.source)):i.add(this.source||Nt.config.useDeprecatedSynchronousErrorHandling&&!i.syncErrorThrowable?this._subscribe(i):this._trySubscribe(i)),Nt.config.useDeprecatedSynchronousErrorHandling&&i.syncErrorThrowable&&(i.syncErrorThrowable=!1,i.syncErrorThrown))throw i.syncErrorValue;return i},e.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(r){Nt.config.useDeprecatedSynchronousErrorHandling&&(t.syncErrorThrown=!0,t.syncErrorValue=r),Ml.canReportError(t)?t.error(r):console.warn(r)}},e.prototype.forEach=function(t,r){var n=this;return r=Eo(r),new r(function(o,i){var s;s=n.subscribe(function(a){try{t(a)}catch(u){i(u),s&&s.unsubscribe()}},i,o)})},e.prototype._subscribe=function(t){var r=this.source;return r&&r.subscribe(t)},e.prototype[Dl.observable]=function(){return this},e.prototype.pipe=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return t.length===0?this:Ul.pipeFromArray(t)(this)},e.prototype.toPromise=function(t){var r=this;return t=Eo(t),new t(function(n,o){var i;r.subscribe(function(s){return i=s},function(s){return o(s)},function(){return n(i)})})},e.create=function(t){return new e(t)},e}();vn.Observable=Nl;function Eo(e){if(e||(e=Nt.config.Promise||Promise),!e)throw new Error("no Promise impl found");return e}var Rn={},Fl=Ae&&Ae.__extends||function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,o){n.__proto__=o}||function(n,o){for(var i in o)o.hasOwnProperty(i)&&(n[i]=o[i])},e(t,r)};return function(t,r){e(t,r);function n(){this.constructor=t}t.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(Rn,"__esModule",{value:!0});var Bl=Ye;function zl(e,t){return function(n){return n.lift(new Vl(e,t))}}Rn.filter=zl;var Vl=function(){function e(t,r){this.predicate=t,this.thisArg=r}return e.prototype.call=function(t,r){return r.subscribe(new Wl(t,this.predicate,this.thisArg))},e}(),Wl=function(e){Fl(t,e);function t(r,n,o){var i=e.call(this,r)||this;return i.predicate=n,i.thisArg=o,i.count=0,i}return t.prototype._next=function(r){var n;try{n=this.predicate.call(this.thisArg,r,this.count++)}catch(o){this.destination.error(o);return}n&&this.destination.next(r)},t}(Bl.Subscriber),nr={},Gl=Ae&&Ae.__extends||function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,o){n.__proto__=o}||function(n,o){for(var i in o)o.hasOwnProperty(i)&&(n[i]=o[i])},e(t,r)};return function(t,r){e(t,r);function n(){this.constructor=t}t.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(nr,"__esModule",{value:!0});var Kl=Ye;function Xl(e,t){return function(n){if(typeof e!="function")throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return n.lift(new Ui(e,t))}}nr.map=Xl;var Ui=function(){function e(t,r){this.project=t,this.thisArg=r}return e.prototype.call=function(t,r){return r.subscribe(new Jl(t,this.project,this.thisArg))},e}();nr.MapOperator=Ui;var Jl=function(e){Gl(t,e);function t(r,n,o){var i=e.call(this,r)||this;return i.project=n,i.count=0,i.thisArg=o||i,i}return t.prototype._next=function(r){var n;try{n=this.project.call(this.thisArg,r,this.count++)}catch(o){this.destination.error(o);return}this.destination.next(n)},t}(Kl.Subscriber),Ql=vn,Yl=Ql.Observable,Zl=Rn,ef=Zl.filter,tf=nr,rf=tf.map,Tt={Observable:Yl,filter:ef,map:rf},Ni=function(t){if(typeof t=="string"||Array.isArray(t))return{id:t};if(t&&t.query)return"params"in t?{query:t.query,params:t.params}:{query:t.query};var r=["* Document ID (<docId>)","* Array of document IDs","* Object containing `query`"].join(`
13`);throw new Error(`Unknown selection - must be one of:
14
15`.concat(r))},Xe={};(function(e){function t(o){return t=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},t(o)}var r=["image","file"],n=["before","after","replace"];
15e.dataset=function(o){if(!/^(~[a-z0-9]{1}[-\w]{0,63}|[a-z0-9]{1}[-\w]{0,63})$/.test(o))throw new Error("Datasets can only contain lowercase characters, numbers, underscores and dashes, and start with tilde, and be maximum 64 characters")},e.projectId=function(o){if(!/^[-a-z0-9]+$/i.test(o))throw new Error("`projectId` can only contain only a-z, 0-9 and dashes")},e.validateAssetType=function(o){if(r.indexOf(o)===-1)throw new Error("Invalid asset type: ".concat(o,". Must be one of ").concat(r.join(", ")))},e.validateObject=function(o,i){if(i===null||t(i)!=="object"||Array.isArray(i))throw new Error("".concat(o,"() takes an object of properties"))},e.requireDocumentId=function(o,i){if(!i._id)throw new Error("".concat(o,'() requires that the document contains an ID ("_id" property)'));e.validateDocumentId(o,i._id)},e.validateDocumentId=function(o,i){if(typeof i!="string"||!/^[a-z0-9_.-]+$/i.test(i))throw new Error("".concat(o,'(): "').concat(i,'" is not a valid document ID'))},e.validateInsert=function(o,i,s){var a="insert(at, selector, items)";if(n.indexOf(o)===-1){var u=n.map(function(l){return'"'.concat(l,'"')}).join(", ");throw new Error("".concat(a,' takes an "at"-argument which is one of: ').concat(u))}if(typeof i!="string")throw new Error("".concat(a,' takes a "selector"-argument which must be a string'));if(!Array.isArray(s))throw new Error("".concat(a,' takes an "items"-argument which must be an array'))},e.hasDataset=function(o){if(!o.dataset)throw new Error("`dataset` must be provided to perform queries");return o.dataset||""},e.requestTag=function(o){if(typeof o!="string"||!/^[a-z0-9._-]{1,75}$/i.test(o))throw new Error("Tag can only contain alphanumeric characters, underscores, dashes and dots, and be between one and 75 characters long.");return o}})(Xe);function _r(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Ve=fe,nf=Ni,Fi=Xe,Er=Fi.validateObject,of=Fi.validateInsert;function Kr(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;this.selection=e,this.operations=Ve({},t),this.client=r}Ve(Kr.prototype,{clone:function(){return new Kr(this.selection,Ve({},this.operations),this.client)},set:function(t){return this._assign("set",t)},diffMatchPatch:function(t){return Er("diffMatchPatch",t),this._assign("diffMatchPatch",t)},unset:function(t){if(!Array.isArray(t))throw new Error("unset(attrs) takes an array of attributes to unset, non-array given");return this.operations=Ve({},this.operations,{unset:t}),this},setIfMissing:function(t){return this._assign("setIfMissing",t)},replace:function(t){return Er("replace",t),this._set("set",{$:t})},inc:function(t){return this._assign("inc",t)},dec:function(t){return this._assign("dec",t)},insert:function(t,r,n){var o;return of(t,r,n),this._assign("insert",(o={},_r(o,t,r),_r(o,"items",n),o))},append:function(t,r){return this.insert("after","".concat(t,"[-1]"),r)},prepend:function(t,r){return this.insert("before","".concat(t,"[0]"),r)},splice:function(t,r,n,o){var i=typeof n>"u"||n===-1,s=r<0?r-1:r,a=i?-1:Math.max(0,r+n),u=s<0&&a>=0?"":a,l="".concat(t,"[").concat(s,":").concat(u,"]");return this.insert("replace",l,o||[])},ifRevisionId:function(t){return this.operations.ifRevisionID=t,this},serialize:function(){return Ve(nf(this.selection),this.operations)},toJSON:function(){return this.serialize()},commit:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!this.client)throw new Error("No `client` passed to patch, either provide one or pass the patch to a clients `mutate()` method");var r=typeof this.selection=="string",n=Ve({returnFirst:r,returnDocuments:!0},t);return this.client.mutate({patch:this.serialize()},n)},reset:function(){return this.operations={},this},_set:function(t,r){return this._assign(t,r,!1)},_assign:function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;return Er(t,r),this.operations=Ve({},this.operations,_r({},t,Ve({},n&&this.operations[t]||{},r))),this}});var Pn=Kr;function Oo(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Or=fe,rt=Xe,Sr=Pn,sf={returnDocuments:!1};function Xr(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0,r=arguments.length>2?arguments[2]:void 0;this.trxId=r,this.operations=e,this.client=t}Or(Xr.prototype,{clone:function(){return new Xr(this.operations.slice(0),this.client,this.trxId)},create:function(t){return rt.validateObject("create",t),this._add({create:t})},createIfNotExists:function(t){var r="createIfNotExists";return rt.validateObject(r,t),rt.requireDocumentId(r,t),this._add(Oo({},r,t))},createOrReplace:function(t){var r="createOrReplace";return rt.validateObject(r,t),rt.requireDocumentId(r,t),this._add(Oo({},r,t))},delete:function(t){return rt.validateDocumentId("delete",t),this._add({delete:{id:t}})},patch:function(t,r){var n=typeof r=="function",o=t instanceof Sr;if(o)return this._add({patch:t.serialize()});if(n){var i=r(new Sr(t,{},this.client));if(!(i instanceof Sr))throw new Error("function passed to `patch()` must return the patch");return this._add({patch:i.serialize()})}return this._add({patch:Or({id:t},r)})},transactionId:function(t){return t?(this.trxId=t,this):this.trxId},serialize:function(){return this.operations.slice()},toJSON:function(){return this.serialize()},commit:function(t){if(!this.client)throw new Error("No `client` passed to transaction, either provide one or pass the transaction to a clients `mutate()` method");return this.client.mutate(this.serialize(),Or({transactionId:this.trxId},sf,t||{}))},reset:function(){return this.operations=[],this},_add:function(t){return this.operations.push(t),this}});var Bi=Xr,af=["tag"];function cf(e,t){if(e==null)return{};var r=uf(e,t),n,o;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)n=i[o],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function uf(e,t){if(e==null)return{};var r={},n=Object.keys(e),o,i;for(i=0;i<n.length;i++)o=n[i],!(t.indexOf(o)>=0)&&(r[o]=e[o]);return r}var nt=encodeURIComponent,zi=function(e){var t=e.query,r=e.params,n=r===void 0?{}:r,o=e.options,i=o===void 0?{}:o,s=i.tag,a=cf(i,af),u="query=".concat(nt(t)),l=s?"?tag=".concat(nt(s),"&").concat(u):"?".concat(u),c=Object.keys(n).reduce(function(f,d){return"".concat(f,"&").concat(nt("$".concat(d)),"=").concat(nt(JSON.stringify(n[d])))},l);return Object.keys(a).reduce(function(f,d){return i[d]?"".concat(f,"&").concat(nt(d),"=").concat(nt(i[d])):f},c)},Wt={},lf={get exports(){return Wt},set exports(e){Wt=e}};/** @license
16 * eventsource.js
17 * Available under MIT License (MIT)
18 * https://github.com/Yaffle/EventSource/
19 */(function(e,t){(function(r){var n=r.setTimeout,o=r.clearTimeout,i=r.XMLHttpRequest,s=r.XDomainRequest,a=r.A
19ctiveXObject,u=r.EventSource,l=r.document,c=r.Promise,f=r.fetch,d=r.Response,m=r.TextDecoder,w=r.TextEncoder,E=r.AbortController;if(typeof window<"u"&&typeof l<"u"&&!("readyState"in l)&&l.body==null&&(l.readyState="loading",window.addEventListener("load",function(h){l.readyState="complete"},!1)),i==null&&a!=null&&(i=function(){return new a("Microsoft.XMLHTTP")}),Object.create==null&&(Object.create=function(h){function S(){}return S.prototype=h,new S}),Date.now||(Date.now=function(){return new Date().getTime()}),E==null){var O=f;f=function(h,S){var A=S.signal;return O(h,{headers:S.headers,credentials:S.credentials,cache:S.cache}).then(function(C){var q=C.body.getReader();return A._reader=q,A._aborted&&A._reader.cancel(),{status:C.status,statusText:C.statusText,headers:C.headers,body:{getReader:function(){return q}}}})},E=function(){this.signal={_reader:null,_aborted:!1},this.abort=function(){this.signal._reader!=null&&this.signal._reader.cancel(),this.signal._aborted=!0}}}function _(){this.bitsNeeded=0,this.codePoint=0}_.prototype.decode=function(h){function S(K,Q,M){if(M===1)return K>=128>>Q&&K<<Q<=2047;if(M===2)return K>=2048>>Q&&K<<Q<=55295||K>=57344>>Q&&K<<Q<=65535;if(M===3)return K>=65536>>Q&&K<<Q<=1114111;throw new Error}function A(K,Q){if(K===6*1)return Q>>6>15?3:Q>31?2:1;if(K===6*2)return Q>15?3:2;if(K===6*3)return 3;throw new Error}for(var C=65533,q="",k=this.bitsNeeded,N=this.codePoint,Z=0;Z<h.length;Z+=1){var z=h[Z];k!==0&&(z<128||z>191||!S(N<<6|z&63,k-6,A(k,N)))&&(k=0,N=C,q+=String.fromCharCode(N)),k===0?(z>=0&&z<=127?(k=0,N=z):z>=192&&z<=223?(k=6*1,N=z&31):z>=224&&z<=239?(k=6*2,N=z&15):z>=240&&z<=247?(k=6*3,N=z&7):(k=0,N=C),k!==0&&!S(N,k,A(k,N))&&(k=0,N=C)):(k-=6,N=N<<6|z&63),k===0&&(N<=65535?q+=String.fromCharCode(N):(q+=String.fromCharCode(55296+(N-65535-1>>10)),q+=String.fromCharCode(56320+(N-65535-1&1023))))}return this.bitsNeeded=k,this.codePoint=N,q};var R=function(){try{return new m().decode(new w().encode("test"),{stream:!0})==="test"}catch(h){console.debug("TextDecoder does not support streaming option. Using polyfill instead: "+h)}return!1};(m==null||w==null||!R())&&(m=_);var $=function(){};function j(h){this.withCredentials=!1,this.readyState=0,this.status=0,this.statusText="",this.responseText="",this.onprogress=$,this.onload=$,this.onerror=$,this.onreadystatechange=$,this._contentType="",this._xhr=h,this._sendTimeout=0,this._abort=$}j.prototype.open=function(h,S){this._abort(!0);var A=this,C=this._xhr,q=1,k=0;this._abort=function(M){A._sendTimeout!==0&&(o(A._sendTimeout),A._sendTimeout=0),(q===1||q===2||q===3)&&(q=4,C.onload=$,C.onerror=$,C.onabort=$,C.onprogress=$,C.onreadystatechange=$,C.abort(),k!==0&&(o(k),k=0),M||(A.readyState=4,A.onabort(null),A.onreadystatechange())),q=0};var N=function(){if(q===1){var M=0,ee="",He=void 0;if("contentType"in C)M=200,ee="OK",He=C.contentType;else try{M=C.status,ee=C.statusText,He=C.getResponseHeader("Content-Type")}catch{M=0,ee="",He=void 0}M!==0&&(q=2,A.readyState=2,A.status=M,A.statusText=ee,A._contentType=He,A.onreadystatechange())}},Z=function(){if(N(),q===2||q===3){q=3;var M="";try{M=C.responseText}catch{}A.readyState=3,A.responseText=M,A.onprogress()}},z=function(M,ee){if((ee==null||ee.preventDefault==null)&&(ee={preventDefault:$}),Z(),q===1||q===2||q===3){if(q=4,k!==0&&(o(k),k=0),A.readyState=4,M==="load")A.onload(ee);else if(M==="error")A.onerror(ee);else if(M==="abort")A.onabort(ee);else throw new TypeError;A.onreadystatechange()}},K=function(M){C!=null&&(C.readyState===4?(!("onload"in C)||!("onerror"in C)||!("onabort"in C))&&z(C.responseText===""?"error":"load",M):C.readyState===3?"onprogress"in C||Z():C.readyState===2&&N())},Q=function(){k=n(function(){Q()},500),C.readyState===3&&Z()};"onload"in C&&(C.onload=function(M){z("load",M)}),"onerror"in C&&(C.onerror=function(M){z("error",M)}),"onabort"in C&&(C.onabort=function(M){z("abort",M)}),"onprogress"in C&&(C.onprogress=Z),"onreadystatechange"in C&&(C.onreadystatechange=function(M){K(M)}),("contentType"in C||!("ontimeout"in i.prototype))&&(S+=(S.indexOf("?")===-1?"?":"&")+"padding=true"),C.open(h,S,!0),"readyState"in C&&(k=n(function(){Q()},0))},j.prototype.abort=function(){this._abort(!1)},j.prototype.getResponseHeader=function(h){return this._contentType},j.prototype.setRequestHeader=function(h,S){var A=this._xhr;"setRequestHeader"in A&&A.setRequestHeader(h,S)},j.prototype.getAllResponseHeaders=function(){return this._xhr.getAllResponseHeaders!=null&&this._xhr.getAllResponseHeaders()||""},j.prototype.send=function(){if((!("ontimeout"in i.prototype)||!("sendAsBinary"in 
19i.prototype)&&!("mozAnon"in i.prototype))&&l!=null&&l.readyState!=null&&l.readyState!=="complete"){var h=this;h._sendTimeout=n(function(){h._sendTimeout=0,h.send()},4);return}var S=this._xhr;"withCredentials"in S&&(S.withCredentials=this.withCredentials);try{S.send(void 0)}catch(A){throw A}};function B(h){return h.replace(/[A-Z]/g,function(S){return String.fromCharCode(S.charCodeAt(0)+32)})}function V(h){for(var S=Object.create(null),A=h.split(`\r
20`),C=0;C<A.length;C+=1){var q=A[C],k=q.split(": "),N=k.shift(),Z=k.join(": ");S[B(N)]=Z}this._map=S}V.prototype.get=function(h){return this._map[B(h)]},i!=null&&i.HEADERS_RECEIVED==null&&(i.HEADERS_RECEIVED=2);function re(){}re.prototype.open=function(h,S,A,C,q,k,N){h.open("GET",q);var Z=0;h.onprogress=function(){var K=h.responseText,Q=K.slice(Z);Z+=Q.length,A(Q)},h.onerror=function(K){K.preventDefault(),C(new Error("NetworkError"))},h.onload=function(){C(null)},h.onabort=function(){C(null)},h.onreadystatechange=function(){if(h.readyState===i.HEADERS_RECEIVED){var K=h.status,Q=h.statusText,M=h.getResponseHeader("Content-Type"),ee=h.getAllResponseHeaders();S(K,Q,M,new V(ee))}},h.withCredentials=k;for(var z in N)Object.prototype.hasOwnProperty.call(N,z)&&h.setRequestHeader(z,N[z]);return h.send(),h};function _e(h){this._headers=h}_e.prototype.get=function(h){return this._headers.get(h)};function G(){}G.prototype.open=function(h,S,A,C,q,k,N){var Z=null,z=new E,K=z.signal,Q=new m;return f(q,{headers:N,credentials:k?"include":"same-origin",signal:K,cache:"no-store"}).then(function(M){return Z=M.body.getReader(),S(M.status,M.statusText,M.headers.get("Content-Type"),new _e(M.headers)),new c(function(ee,He){var dt=function(){Z.read().then(function(Oe){if(Oe.done)ee(void 0);else{var ve=Q.decode(Oe.value,{stream:!0});A(ve),dt()}}).catch(function(Oe){He(Oe)})};dt()})}).catch(function(M){if(M.name!=="AbortError")return M}).then(function(M){C(M)}),{abort:function(){Z!=null&&Z.cancel(),z.abort()}}};function W(){this._listeners=Object.create(null)}function v(h){n(function(){throw h},0)}W.prototype.dispatchEvent=function(h){h.target=this;var S=this._listeners[h.type];if(S!=null)for(var A=S.length,C=0;C<A;C+=1){var q=S[C];try{typeof q.handleEvent=="function"?q.handleEvent(h):q.call(this,h)}catch(k){v(k)}}},W.prototype.addEventListener=function(h,S){h=String(h);var A=this._listeners,C=A[h];C==null&&(C=[],A[h]=C);for(var q=!1,k=0;k<C.length;k+=1)C[k]===S&&(q=!0);q||C.push(S)},W.prototype.removeEventListener=function(h,S){h=String(h);var A=this._listeners,C=A[h];if(C!=null){for(var q=[],k=0;k<C.length;k+=1)C[k]!==S&&q.push(C[k]);q.length===0?delete A[h]:A[h]=q}};function g(h){this.type=h,this.target=void 0}function b(h,S){g.call(this,h),this.data=S.data,this.lastEventId=S.lastEventId}b.prototype=Object.create(g.prototype);function p(h,S){g.call(this,h),this.status=S.status,this.statusText=S.statusText,this.headers=S.headers}p.prototype=Object.create(g.prototype);function H(h,S){g.call(this,h),this.error=S.error}H.prototype=Object.create(g.prototype);var I=-1,D=0,J=1,ae=2,ie=-1,Y=0,de=1,we=2,pe=3,Te=/^text\/event\-stream(;.*)?$/i,Ee=1e3,y=18e6,T=function(h,S){var A=h==null?S:parseInt(h,10);return A!==A&&(A=S),P(A)},P=function(h){return Math.min(Math.max(h,Ee),y)},x=function(h,S,A){try{typeof S=="function"&&S.call(h,A)}catch(C){v(C)}};function U(h,S){W.call(this),S=S||{},this.onopen=void 0,this.onmessage=void 0,this.onerror=void 0,this.url=void 0,this.readyState=void 0,this.withCredentials=void 0,this.headers=void 0,this._close=void 0,L(this,h,S)}function ne(){return i!=null&&"withCredentials"in i.prototype||s==null?new i:new s}var F=f!=null&&d!=null&&"body"in d.prototype;function L(h,S,A){S=String(S);var C=Boolean(A.withCredentials),q=A.lastEventIdQueryParameterName||"lastEventId",k=P(1e3),N=T(A.heartbeatTimeout,45e3),Z="",z=k,K=!1,Q=0,M=A.headers||{},ee=A.Transport,He=F&&ee==null?void 0:new j(ee!=null?new ee:ne()),dt=ee!=null&&typeof ee!="string"?new ee:He==null?new G:new re,Oe=void 0,ve=0,$e=I,Ze="",At="",qe="",$t="",me=Y,ur=0,Je=0,gs=function(ue,ce,Se,Re){if($e===D)if(ue===200&&Se!=null&&Te.test(Se)){$e=J,K=Date.now(),z=k,h.readyState=J;var ge=new p("open",{status:ue,statusText:ce,headers:Re});h.dispatchEvent(ge),x(h,h.onopen,ge)}else{var he="";ue!==200?(ce&&(ce=ce.replace(/\s+/g," ")),he="EventSource's response has a status "+ue+" "+ce+" that is not 200. Aborting the connection."):he="EventSource's response has a Content-Type specifying an unsupported type: "+(Se==null?"-":Se.replace(/\s+/g," "))+". Aborting the connection.",lr();var ge=new p("error",{status:ue,statusText:ce,headers:Re});h.dispatchEvent(ge),x(h,h.onerror,ge),console.error(he)}},ys=function(ue){if($e===J){for(var ce=-1,Se=0;Se<ue.length;Se+=1){var Re=ue.charCodeAt(Se);(Re===`
21`.charCodeAt(0)||Re==="\r".charCodeAt(0))&&(ce=Se)}var ge=(ce!==-1?$t:"")+ue.slice(0,ce+1);$t=(ce===-1?$t:"")+ue.slice(ce+1),ue!==""&&(K=Date.now(),Q+=ue.length);for(var he=0;he<ge.length;he+=1){var Re=ge.charCodeAt(he);if(me===ie&&Re===`
22`.charCodeAt(0))me=Y;else if(me===ie&&(me=Y),Re==="\r".charCodeAt(0)||Re===`
23`.charCodeAt(0)){if(me!==Y){me===de&&(Je=he+1);var Me=ge.slice(ur,Je-1),Le=ge.slice(Je+(Je<he&&ge.charCodeAt(Je)===" ".charCodeAt(0)?1:0),he);Me==="data"?(Ze+=`
24`,Ze+=Le):Me==="id"?At=Le:Me==="event"?qe=Le:Me==="retry"?(k=T(Le,k),z=k):Me==="heartbeatTimeout"&&(N=T(Le,N),ve!==0&&(o(ve),ve=n(function(){pt()},N)))}if(me===Y){if(Ze!==""){Z=At,qe===""&&(qe="message");var et=new b(qe,{data:Ze.slice(1),lastEventId:At});if(h.dispatchEvent(et),qe==="open"?x(h,h.onopen,et):qe==="message"?x(h,h.onmessage,et):qe==="error"&&x(h,h.onerror,et),$e===ae)return}Ze="",qe=""}me=Re==="\r".charCodeAt(0)?ie:Y}else me===Y&&(ur=he,me=de),me===de?Re===":".charCodeAt(0)&&(Je=he+1,me=we):me===we&&(me=pe)}}},Hn=function(ue){if($e===J||$e===D){$e=I,ve!==0&&(o(ve),ve=0),ve=n(function(){pt()},z),z=P(Math.min(k*16,z*2)),h.readyState=D;var ce=new H("error",{error:ue});h.dispatchEvent(ce),x(h,h.onerror,ce),ue!=null&&console.error(ue)}},lr=function(){$e=ae,Oe!=null&&(Oe.abort(),Oe=void 0),ve!==0&&(o(ve),ve=0),h.readyState=ae}
24,pt=function(){if(ve=0,$e!==I){if(!K&&Oe!=null)Hn(new Error("No activity within "+N+" milliseconds. "+($e===D?"No response received.":Q+" chars received.")+" Reconnecting.")),Oe!=null&&(Oe.abort(),Oe=void 0);else{var ue=Math.max((K||Date.now())+N-Date.now(),1);K=!1,ve=n(function(){pt()},ue)}return}K=!1,Q=0,ve=n(function(){pt()},N),$e=D,Ze="",qe="",At=Z,$t="",ur=0,Je=0,me=Y;var ce=S;if(S.slice(0,5)!=="data:"&&S.slice(0,5)!=="blob:"&&Z!==""){var Se=S.indexOf("?");ce=Se===-1?S:S.slice(0,Se+1)+S.slice(Se+1).replace(/(?:^|&)([^=&]*)(?:=[^&]*)?/g,function(Le,et){return et===q?"":Le}),ce+=(S.indexOf("?")===-1?"?":"&")+q+"="+encodeURIComponent(Z)}var Re=h.withCredentials,ge={};ge.Accept="text/event-stream";var he=h.headers;if(he!=null)for(var Me in he)Object.prototype.hasOwnProperty.call(he,Me)&&(ge[Me]=he[Me]);try{Oe=dt.open(He,gs,ys,Hn,ce,Re,ge)}catch(Le){throw lr(),Le}};h.url=S,h.readyState=D,h.withCredentials=C,h.headers=M,h._close=lr,pt()}U.prototype=Object.create(W.prototype),U.prototype.CONNECTING=D,U.prototype.OPEN=J,U.prototype.CLOSED=ae,U.prototype.close=function(){this._close()},U.CONNECTING=D,U.OPEN=J,U.CLOSED=ae,U.prototype.withCredentials=void 0;var oe=u;i!=null&&(u==null||!("withCredentials"in u.prototype))&&(oe=U),function(h){{var S=h(t);S!==void 0&&(e.exports=S)}}(function(h){h.EventSourcePolyfill=U,h.NativeEventSource=u,h.EventSource=oe})})(typeof globalThis>"u"?typeof window<"u"?window:typeof self<"u"?self:Ae:globalThis)})(lf,Wt);var ff=Wt.EventSourcePolyfill,df=function(e,t){return t.reduce(function(r,n){return typeof e[n]>"u"||(r[n]=e[n]),r},{})},pf=function(e,t){return Object.keys(t).concat(Object.keys(e)).reduce(function(r,n){return r[n]=typeof e[n]>"u"?t[n]:e[n],r},{})};function So(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function Ro(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?So(Object(r),!0).forEach(function(n){hf(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):So(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function hf(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var vf=fe,mf=Tt,Po=mf.Observable,gf=ff,yf=df,bf=pf,wf=zi,_f=16e3-1200,Co=gf,Ef=["includePreviousRevision","includeResult","visibility","effectFormat","tag"],Of={includeResult:!0},Sf=function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},o=this.clientConfig,i=o.url,s=o.token,a=o.withCredentials,u=o.requestTagPrefix,l=n.tag&&u?[u,n.tag].join("."):n.tag,c=Ro(Ro({},bf(n,Of)),{},{tag:l}),f=yf(c,Ef),d=wf({query:t,params:r,options:f,tag:l}),m="".concat(i).concat(this.getDataUrl("listen",d));if(m.length>_f)return new Po(function(_){return _.error(new Error("Query too large for listener"))});var w=c.events?c.events:["mutation"],E=w.indexOf("reconnect")!==-1,O={};return(s||a)&&(O.withCredentials=!0),s&&(O.headers={Authorization:"Bearer ".concat(s)}),new Po(function(_){var R=v(),$,j=!1;function B(){j||(W(),!j&&R.readyState===Co.CLOSED&&(G(),clearTimeout($),$=setTimeout(g,100)))}function V(p){_.error(Rf(p))}function re(p){var H=Vi(p);return H instanceof Error?_.error(H):_.next(H)}function _e(p){j=!0,G(),_.complete()}function G(){R.removeEventListener("error",B,!1),R.removeEventListener("channelError",V,!1),R.removeEventListener("disconnect",_e,!1),w.forEach(function(p){return R.removeEventListener(p,re,!1)}),R.close()}function W(){E&&_.next({type:"reconnect"})}function v(){var p=new Co(m,O);return p.addEventListener("error",B,!1),p.addEventListener("channelError",V,!1),p.addEventListener("disconnect",_e,!1),w.forEach(function(H){return p.addEventListener(H,re,!1)}),p}function g(){R=v()}function b(){j=!0,G()}return b})};function Vi(e){try{var t=e.data&&JSON.parse(e.data)||{};return vf({type:e.type},t)}catch(r){return r}}function Rf(e){if(e instanceof Error)return e;var t=Vi(e);return t instanceof Error?t:new Error(Pf(t))}function Pf(e){return e.error?e.error.description?e.error.description:typeof e.error=="string"?e.error:JSON.stringify(e.error,null,2):e.message||"Unknown listener error"}function To(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Cf=fe,Wi=Tt,vt=Wi.map,Rr=Wi.filter,Pr=Xe,Tf=Ni,Af=zi,Ao=Bi,$o=Pn,$f=Sf,xf=function(t,r){var n=typeof t>"u"?r:t;return t===!1?void 0:n},If=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return{dryRun:t.dryRun,returnIds:!0,returnDocuments:xf(t.returnDocuments,!0),visibility:t.visibility||"sync",autoGenerateArrayKeys:t.autoGenerateArrayKeys,skipCrossDatasetReferenceValidation:t.skipCrossDatasetReferenceValidation}},Cr=function(t){return t.type==="response"},jf=function(t){return t.body},kf=function(t,r){return t.reduce(function(n,o){return n[r(o)]=o,n},Object.create(null))},kt=function(t){return t.toPromise()},Hf=11264,qf={listen:$f,getDataUrl:function(t,r){var n=this.clientConfig,o=Pr.hasDataset(n),i="/".concat(t,"/").concat(o),s=r?"".concat(i,"/").concat(r):i;return"/data".concat(s).replace(/\/($|\?)/,"$1")},fetch:function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},o=n.filterResponse===!1?function(s){return s}:function(s){return s.result},i=this._dataRequest("query",{query:t,params:r},n).pipe(vt(o));return this.isPromiseAPI()?kt(i):i},getDocument:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n={uri:this.getDataUrl("doc",t),json:!0,tag:r.tag},o=this._requestObservable(n).pipe(Rr(Cr),vt(function(i){return i.body.documents&&i.body.documents[0]}));return this.isPromiseAPI()?kt(o):o},getDocuments:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n={uri:this.getDataUrl("doc",t.join(",")),json:!0,tag:r.tag},o=this._requestObservable(n).pipe(Rr(Cr),vt(function(i){var s=kf(i.body.documents||[],function(a){return a._id});return t.map(function(a){return s[a]||null})}));return this.isPromiseAPI()?kt(o):o},create:function(t,r){return this._create(t,"create",r)},createIfNotExists:function(t,r){return Pr.requireDocumentId("createIfNotExists",t),this._create(t,"createIfNotExists",r)},createOrReplace:function(t,r){return Pr.requireDocumentId("createOrReplace",t),this._create(t,"createOrReplace",r)},patch:function(t,r){return new $o(t,r,this)},delete:function(t,r){return this.dataRequest("mutate",{mutations:[{delete:Tf(t)}]},r)},mutate:function(t,r){var n=t instanceof $o||t instanceof Ao?t.serialize():t,o=Array.isArray(n)?n:[n],i=r&&r.transactionId;return this.dataRequest("mutate",{mutations:o,transactionId:i},r)},transaction:function(t){return new Ao(t,this)},dataRequest:function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},o=this._dataRequest(t,r,n);return this.isPromiseAPI()?kt(o):o},_dataRequest:function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},o=t==="mutate",i=t==="query",s=!o&&Af(r),a=!o&&s.length<Hf,u=a?s:"",l=n.returnFirst,c=n.timeout,f=n.token,d=n.tag,m=n.headers,w=this.getDataUrl(t,u),E={method:a?"GET":"POST",uri:w,json:!0,body:a?void 0:r,query:o&&If(n),timeout:c,headers:m,token:f,tag:d,canUseCdn:i};return this._requestObservable(E).pipe(Rr(Cr),vt(jf),vt(function(O){if(!o)return O;var _=O.results||[];if(n.returnDocuments)return l?_[0]&&_[0].document:_.map(function(j){return j.document});var R=l?"documentId":"documentIds",$=l?_[0]&&_[0].id:_.map(function(j){return j.id});return To({transactionId:O.transactionId,results:_},R,$)}))},_create:function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},o=To({},r,t),i=Cf({returnFirst:!0,returnDocuments:!0},n);return this.dataRequest("mutate",{mutations:[o]},i)}},Mf=fe,Lf=Xe;function Gi(e){this.request=e.request.bind(e)}Mf(Gi.prototype,{create:function(t,r){return this._modify("PUT",t,r)},edit:function(t,r){return this._modify("PATCH",t,r)},delete:function(t){return this._modify("DELETE",t)},list:function(){return this.request({uri:"/datasets"})},_modify:function(t,r,n){return Lf.dataset(r),this.request({method:t,uri:"/datasets/".concat(r),body:n})}});var Df=Gi,Uf=fe;function Ki(e){this.client=e}Uf(Ki.prototype,{list:function(){return this.client.request({uri:"/projects"})},getById:function(t){return this.client.request({uri:"/projects/".concat(t)})}});var Nf=Ki,Ff=function(e){var t=[];for(var r in e)e.hasOwnProperty(r)&&t.push("".concat(encodeURIComponent(r),"=").concat(encodeURIComponent(e[r])));return t.length>0?"?".concat(t.join("&")):""};function Bf(e,t){return Gf(e)||Wf(e,t)||Vf(e,t)||zf()}
24function zf(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
25In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Vf(e,t){if(e){if(typeof e=="string")return xo(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return xo(e,t)}}function xo(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function Wf(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n=[],o=!0,i=!1,s,a;try{for(r=r.call(e);!(o=(s=r.next()).done)&&(n.push(s.value),!(t&&n.length===t));o=!0);}catch(u){i=!0,a=u}finally{try{!o&&r.return!=null&&r.return()}finally{if(i)throw a}}return n}}function Gf(e){if(Array.isArray(e))return e}var Xi=fe,Ji=Tt,Kf=Ji.map,Xf=Ji.filter,Jf=Ff,Ht=Xe;function Qi(e){this.client=e}function Qf(e,t){return typeof window>"u"||!(t instanceof window.File)?e:Xi({filename:e.preserveFilename===!1?void 0:t.name,contentType:t.type},e)}Xi(Qi.prototype,{upload:function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};Ht.validateAssetType(t);var o=n.extract||void 0;o&&!o.length&&(o=["none"]);var i=Ht.hasDataset(this.client.clientConfig),s=t==="image"?"images":"files",a=Qf(n,r),u=a.tag,l=a.label,c=a.title,f=a.description,d=a.creditLine,m=a.filename,w=a.source,E={label:l,title:c,description:f,filename:m,meta:o,creditLine:d};w&&(E.sourceId=w.id,E.sourceName=w.name,E.sourceUrl=w.url);var O=this.client._requestObservable({tag:u,method:"POST",timeout:a.timeout||0,uri:"/assets/".concat(s,"/").concat(i),headers:a.contentType?{"Content-Type":a.contentType}:{},query:E,body:r});return this.client.isPromiseAPI()?O.pipe(Xf(function(_){return _.type==="response"}),Kf(function(_){return _.body.document})).toPromise():O},delete:function(t,r){console.warn("client.assets.delete() is deprecated, please use client.delete(<document-id>)");var n=r||"";return/^(image|file)-/.test(n)?t._id&&(n=t._id):n="".concat(t,"-").concat(n),Ht.hasDataset(this.client.clientConfig),this.client.delete(n)},getImageUrl:function(t,r){var n=t._ref||t;if(typeof n!="string")throw new Error("getImageUrl() needs either an object with a _ref, or a string with an asset document ID");if(!/^image-[A-Za-z0-9_]+-\d+x\d+-[a-z]{1,5}$/.test(n))throw new Error('Unsupported asset ID "'.concat(n,'". URL generation only works for auto-generated IDs.'));var o=n.split("-"),i=Bf(o,4),s=i[1],a=i[2],u=i[3];Ht.hasDataset(this.client.clientConfig);var l=this.client.clientConfig,c=l.projectId,f=l.dataset,d=r?Jf(r):"";return"https://cdn.sanity.io/images/".concat(c,"/").concat(f,"/").concat(s,"-").concat(a,".").concat(u).concat(d)}});var Yf=Qi,Zf=fe;function Yi(e){this.client=e}Zf(Yi.prototype,{getById:function(t){return this.client.request({uri:"/users/".concat(t)})}});var ed=Yi,td=fe;function Zi(e){this.client=e}td(Zi.prototype,{getLoginProviders:function(){return this.client.request({uri:"/auth/providers"})},logout:function(){return this.client.request({uri:"/auth/logout",method:"POST"})}});var rd=Zi,Jr={},nd={get exports(){return Jr},set exports(e){Jr=e}},od=function(){var t=[];return{subscribe:r,publish:n};function r(o){return t.push(o),function(){var s=t.indexOf(o);s>-1&&t.splice(s,1)}}function n(){for(var o=0;o<t.length;o++)t[o].apply(null,arguments)}},id=function(e){var t=function(n,o){for(var i=n==="onError",s=o,a=arguments.length,u=new Array(a>2?a-2:0),l=2;l<a;l++)u[l-2]=arguments[l];for(var c=0;c<e[n].length;c++){var f=e[n][c];if(s=f.apply(void 0,[s].concat(u)),i&&!s)break}return s};return t},sd=function(t,r){if(r=r.split(":")[0],t=+t,!t)return!1;switch(r){case"http":case"ws":return t!==80;case"https":case"wss":return t!==443;case"ftp":return t!==21;case"gopher":return t!==70;case"file":return!1}return t!==0},Cn={},ad=Object.prototype.hasOwnProperty,cd;function Io(e){try{return decodeURIComponent(e.replace(/\+/g," "))}catch{return null}}function jo(e){try{return encodeURIComponent(e)}catch{return null}}function ud(e){for(var t=/([^=?#&]+)=?([^&]*)/g,r={},n;n=t.exec(e);){var o=Io(n[1]),i=Io(n[2]);o===null||i===null||o in r||(r[o]=i)}return r}function ld(e,t){t=t||"";var r=[],n,o;typeof t!="string"&&(t="?");for(o in e)if(ad.call(e,o)){if(n=e[o],!n&&(n===null||n===cd||isNaN(n))&&(n=""),o=jo(o),n=jo(n),o===null||n===null)continue;r.push(o+"="+n)}return r.length?t+r.join("&"):""}Cn.stringify=ld;Cn.parse=ud;var es=sd,or=Cn,fd=/^[\x00-\x20\u00a0\u1680\u2000-\u200a\u2028\u2029\u202f\u205f\u3000\ufeff]+/,ts=/[\n\r\t]/g,dd=/^[A-Za-z][A-Za-z0-9+-.]*:\/\//,rs=/:\d+$/,pd=/^([a-z][a-z0-9.+-]*:)?(\/\/)?([\\/]+)?([\S\s]*)/i,hd=/^[a-zA-Z]:/;function Tn(e){return(e||"").toString().replace(fd,"")}var Qr=[["#","hash"],["?","query"],function(t,r){return Ie(r.protocol)?t.replace(/\\/g,"/"):t},["/","pathname"],["@","auth",1],[NaN,"host",void 0,1,1],[/:(\d*)$/,"port",void 0,1],[NaN,"hostname",void 0,1,1]],ko={hash:1,query:1};function ns(e){var t;typeof window<"u"?t=window:typeof Ae<"u"?t=Ae:typeof self<"u"?t=self:t={};var r=t.location||{};e=e||r;var n={},o=typeof e,i;if(e.protocol==="blob:")n=new ke(unescape(e.pathname),{});
vendor: 4,548 bytes, line 25
25else if(o==="string"){n=new ke(e,{});for(i in ko)delete n[i]}else if(o==="object"){for(i in e)i in ko||(n[i]=e[i]);n.slashes===void 0&&(n.slashes=dd.test(e.href))}return n}function Ie(e){return e==="file:"||e==="ftp:"||e==="http:"||e==="https:"||e==="ws:"||e==="wss:"}function os(e,t){e=Tn(e),e=e.replace(ts,""),t=t||{};var r=pd.exec(e),n=r[1]?r[1].toLowerCase():"",o=!!r[2],i=!!r[3],s=0,a;return o?i?(a=r[2]+r[3]+r[4],s=r[2].length+r[3].length):(a=r[2]+r[4],s=r[2].length):i?(a=r[3]+r[4],s=r[3].length):a=r[4],n==="file:"?s>=2&&(a=a.slice(2)):Ie(n)?a=r[4]:n?o&&(a=a.slice(2)):s>=2&&Ie(t.protocol)&&(a=r[4]),{protocol:n,slashes:o||Ie(n),slashesCount:s,rest:a}}function vd(e,t){if(e==="")return t;for(var r=(t||"/").split("/").slice(0,-1).concat(e.split("/")),n=r.length,o=r[n-1],i=!1,s=0;n--;)r[n]==="."?r.splice(n,1):r[n]===".."?(r.splice(n,1),s++):s&&(n===0&&(i=!0),r.splice(n,1),s--);return i&&r.unshift(""),(o==="."||o==="..")&&r.push(""),r.join("/")}function ke(e,t,r){if(e=Tn(e),e=e.replace(ts,""),!(this instanceof ke))return new ke(e,t,r);var n,o,i,s,a,u,l=Qr.slice(),c=typeof t,f=this,d=0;for(c!=="object"&&c!=="string"&&(r=t,t=null),r&&typeof r!="function"&&(r=or.parse),t=ns(t),o=os(e||"",t),n=!o.protocol&&!o.slashes,f.slashes=o.slashes||n&&t.slashes,f.protocol=o.protocol||t.protocol||"",e=o.rest,(o.protocol==="file:"&&(o.slashesCount!==2||hd.test(e))||!o.slashes&&(o.protocol||o.slashesCount<2||!Ie(f.protocol)))&&(l[3]=[/(.*)/,"pathname"]);d<l.length;d++){if(s=l[d],typeof s=="function"){e=s(e,f);continue}i=s[0],u=s[1],i!==i?f[u]=e:typeof i=="string"?(a=i==="@"?e.lastIndexOf(i):e.indexOf(i),~a&&(typeof s[2]=="number"?(f[u]=e.slice(0,a),e=e.slice(a+s[2])):(f[u]=e.slice(a),e=e.slice(0,a)))):(a=i.exec(e))&&(f[u]=a[1],e=e.slice(0,a.index)),f[u]=f[u]||n&&s[3]&&t[u]||"",s[4]&&(f[u]=f[u].toLowerCase())}r&&(f.query=r(f.query)),n&&t.slashes&&f.pathname.charAt(0)!=="/"&&(f.pathname!==""||t.pathname!=="")&&(f.pathname=vd(f.pathname,t.pathname)),f.pathname.charAt(0)!=="/"&&Ie(f.protocol)&&(f.pathname="/"+f.pathname),es(f.port,f.protocol)||(f.host=f.hostname,f.port=""),f.username=f.password="",f.auth&&(a=f.auth.indexOf(":"),~a?(f.username=f.auth.slice(0,a),f.username=encodeURIComponent(decodeURIComponent(f.username)),f.password=f.auth.slice(a+1),f.password=encodeURIComponent(decodeURIComponent(f.password))):f.username=encodeURIComponent(decodeURIComponent(f.auth)),f.auth=f.password?f.username+":"+f.password:f.username),f.origin=f.protocol!=="file:"&&Ie(f.protocol)&&f.host?f.protocol+"//"+f.host:"null",f.href=f.toString()}function md(e,t,r){var n=this;switch(e){case"query":typeof t=="string"&&t.length&&(t=(r||or.parse)(t)),n[e]=t;break;case"port":n[e]=t,es(t,n.protocol)?t&&(n.host=n.hostname+":"+t):(n.host=n.hostname,n[e]="");break;case"hostname":n[e]=t,n.port&&(t+=":"+n.port),n.host=t;break;case"host":n[e]=t,rs.test(t)?(t=t.split(":"),n.port=t.pop(),n.hostname=t.join(":")):(n.hostname=t,n.port="");break;case"protocol":n.protocol=t.toLowerCase(),n.slashes=!r;break;case"pathname":case"hash":if(t){var o=e==="pathname"?"/":"#";n[e]=t.charAt(0)!==o?o+t:t}else n[e]=t;break;case"username":case"password":n[e]=encodeURIComponent(t);break;case"auth":var i=t.indexOf(":");~i?(n.username=t.slice(0,i),n.username=encodeURIComponent(decodeURIComponent(n.username)),n.password=t.slice(i+1),n.password=encodeURIComponent(decodeURIComponent(n.password))):n.username=encodeURIComponent(decodeURIComponent(t))}for(var s=0;s<Qr.length;s++){var a=Qr[s];a[4]&&(n[a[1]]=n[a[1]].toLowerCase())}return n.auth=n.password?n.username+":"+n.password:n.username,n.origin=n.protocol!=="file:"&&Ie(n.protocol)&&n.host?n.protocol+"//"+n.host:"null",n.href=n.toString(),n}function gd(e){(!e||typeof e!="function")&&(e=or.stringify);var t,r=this,n=r.host,o=r.protocol;o&&o.charAt(o.length-1)!==":"&&(o+=":");var i=o+(r.protocol&&r.slashes||Ie(r.protocol)?"//":"");return r.username?(i+=r.username,r.password&&(i+=":"+r.password),i+="@"):r.password?(i+=":"+r.password,i+="@"):r.protocol!=="file:"&&Ie(r.protocol)&&!n&&r.pathname!=="/"&&(i+="@"),(n[n.length-1]===":"||rs.test(r.hostname)&&!r.port)&&(n+=":"),i+=n+r.pathname,t=typeof r.query=="object"?e(r.query):r.query,t&&(i+=t.charAt(0)!=="?"?"?"+t:t),r.hash&&(i+=r.hash),i}ke.prototype={set:md,toString:gd};ke.extractProtocol=os;ke.location=ns;ke.trimLeft=Tn;ke.qs=or;var yd=ke,Tr=fe,bd=yd,wd=typeof navigator>"u"?!1:navigator.product==="ReactNative",_d=Object.prototype.hasOwnProperty,Yr={timeout:wd?6e4:12e4},Ed=function(e){var t=typeof e=="string"?Tr({url:e},Yr):Tr({},Yr,e),r=bd(t.url,{},!0);
25return t.timeout=is(t.timeout),t.query&&(r.query=Tr({},r.query,Sd(t.query))),t.method=t.body&&!t.method?"POST":(t.method||"GET").toUpperCase(),t.url=r.toString(Od),t};function Od(e){var t=[];for(var r in e)_d.call(e,r)&&n(r,e[r]);return t.length?t.join("&"):"";function n(o,i){Array.isArray(i)?i.forEach(function(s){return n(o,s)}):t.push([o,i].map(encodeURIComponent).join("="))}}function is(e){if(e===!1||e===0)return!1;if(e.connect||e.socket)return e;var t=Number(e);return isNaN(t)?is(Yr.timeout):{connect:t,socket:t}}function Sd(e){var t={};for(var r in e)e[r]!==void 0&&(t[r]=e[r]);return t}var Rd=/^https?:\/\//i,Pd=function(e){if(!Rd.test(e.url))throw new Error('"'.concat(e.url,'" is not a valid URL'))},Zr={},Cd={get exports(){return Zr},set exports(e){Zr=e}},Ho=/^(?:(?:(?:([^:\/#\?]+:)?(?:(?:\/\/)((?:((?:[^:@\/#\?]+)(?:\:(?:[^:@\/#\?]+))?)@)?(([^:\/#\?\]\[]+|\[[^\/\]@#?]+\])(?:\:([0-9]+))?))?)?)?((?:\/?(?:[^\/\?#]+\/+)*)(?:[^\?#]*)))?(\?[^#]+)?)(#.*)?/,Td={regex:Ho,parse:function(e){var t=Ho.exec(e);return t?{protocol:(t[1]||"").toLowerCase()||void 0,hostname:(t[5]||"").toLowerCase()||void 0,port:t[6]||void 0}:{}}},qo=Td,Ad=function(e,t,r){if(e===t)return!0;var n=qo.parse(e,!1,!0),o=qo.parse(t,!1,!0),i=n.port|0||(n.protocol==="https"?443:80),s=o.port|0||(o.protocol==="https"?443:80),a={proto:n.protocol===o.protocol,hostname:n.hostname===o.hostname,port:i===s};return a.proto&&a.hostname&&(a.port||r)},Ar=function(e){return e.replace(/^\s+|\s+$/g,"")},$d=function(e){return Object.prototype.toString.call(e)==="[object Array]"},xd=function(e){if(!e)return{};for(var t={},r=Ar(e).split(`
26`),n=0;n<r.length;n++){var o=r[n],i=o.indexOf(":"),s=Ar(o.slice(0,i)).toLowerCase(),a=Ar(o.slice(i+1));typeof t[s]>"u"?t[s]=a:$d(t[s])?t[s].push(a):t[s]=[t[s],a]}return t};function ft(){this.readyState=0}ft.prototype.open=function(e,t){this._method=e,this._url=t,this._resHeaders="",this.readyState=1,this.onreadystatechange()};ft.prototype.abort=function(){this._controller&&this._controller.abort()};ft.prototype.getAllResponseHeaders=function(){return this._resHeaders};ft.prototype.setRequestHeader=function(e,t){this._headers=this._headers||{},this._headers[e]=t};ft.prototype.send=function(e){var t=this,r=this._controller=typeof AbortController=="function"&&new AbortController,n=this.responseType!=="arraybuffer",o={method:this._method,headers:this._headers,signal:r&&r.signal,body:e};typeof window<"u"&&(o.credentials=this.withCredentials?"include":"omit"),fetch(this._url,o).then(function(i){return i.headers.forEach(function(s,a){t._resHeaders+="".concat(a,": ").concat(s,`\r
27`)}),t.status=i.status,t.statusText=i.statusText,t.readyState=3,n?i.text():i.arrayBuffer()}).then(function(i){n?t.responseText=i:t.response=i,t.readyState=4,t.onreadystatechange()}).catch(function(i){if(i.name==="AbortError"){t.onabort();return}t.onerror(i)})};var Id=ft,jd=Ad,kd=xd,Mo=Id,Hd=function(){},Ge=typeof window>"u"?void 0:window,Lo=Ge?"xhr":"fetch",ir=typeof XMLHttpRequest=="function"?XMLHttpRequest:Hd,qd="withCredentials"in new ir,Md=typeof XDomainRequest>"u"?void 0:XDomainRequest,ss=qd?ir:Md;Ge||(ir=Mo,ss=Mo);var Ld=function(e,t){var r=e.options,n=e.applyMiddleware("finalizeOptions",r),o={},i=Ge&&Ge.location&&!jd(Ge.location.href,n.url),s=e.applyMiddleware("interceptRequest",void 0,{adapter:Lo,context:e});if(s){var a=setTimeout(t,0,null,s),u=function(){return clearTimeout(a)};return{abort:u}}var l=i?new ss:new ir,c=Ge&&Ge.XDomainRequest&&l instanceof Ge.XDomainRequest,f=n.headers,d=n.timeout,m=!1,w=!1,E=!1;l.onerror=V,l.ontimeout=V,l.onabort=function(){B(!0),m=!0},l.onprogress=function(){};var O=c?"onload":"onreadystatechange";if(l[O]=function(){j(),!(m||l.readyState!==4&&!c)&&l.status!==0&&_e()},l.open(n.method,n.url,!0),l.withCredentials=!!n.withCredentials,f&&l.setRequestHeader)for(var _ in f)f.hasOwnProperty(_)&&l.setRequestHeader(_,f[_]);else if(f&&c)throw new Error("Headers cannot be set on an XDomainRequest object");return n.rawBody&&(l.responseType="arraybuffer"),e.applyMiddleware("onRequest",{options:n,adapter:Lo,request:l,context:e}),l.send(n.body||null),d&&(o.connect=setTimeout(function(){return $("ETIMEDOUT")},d.connect)),{abort:R};function R(){m=!0,l&&l.abort()}function $(G){E=!0,l.abort();var W=new Error(G==="ESOCKETTIMEDOUT"?"Socket timed out on request to ".concat(n.url):"Connection timed out on request to ".concat(n.url));W.code=G,e.channels.error.publish(W)}function j(){d&&(B(),o.socket=setTimeout(function(){return $("ESOCKETTIMEDOUT")},d.socket))}function B(G){(G||m||l.readyState>=2&&o.connect)&&clearTimeout(o.connect),o.socket&&clearTimeout(o.socket)}function V(G){if(!w){B(!0),w=!0,l=null;var W=G||new Error("Network error while attempting to reach ".concat(n.url));W.isNetworkError=!0,W.request=n,t(W)}}function re(){var G=l.status,W=l.statusText;if(c&&G===void 0)G=200;else{if(G>12e3&&G<12156)return V();G=l.status===1223?204:l.status,W=l.status===1223?"No Content":W}return{body:l.response||l.responseText,url:n.url,method:n.method,headers:c?{}:kd(l.getAllResponseHeaders()),statusCode:G,statusMessage:W}}function _e(){if(!(m||w||E)){if(l.status===0){V(new Error("Unknown XHR error"));return}B(),w=!0,t(null,re())}}};(function(e){e.exports=Ld})(Cd);var Dd=od,Ud=id,Nd=Ed,Fd=Pd,Bd=Zr,zd=["request","response","progress","error","abort"],Do=["processOptions","validateOptions","interceptRequest","finalizeOptions","onRequest","onResponse","onError","onReturn","onHeaders"],Vd=function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Bd,n=[],o=Do.reduce(function(s,a){return s[a]=s[a]||[],s},{processOptions:[Nd],validateOptions:[Fd]});function i(s){var a=zd.reduce(function(E,O){return E[O]=Dd(),E},{}),u=Ud(o),l=u("processOptions",s);u("validateOptions",l);var c={options:l,channels:a,applyMiddleware:u},f=null,d=a.request.subscribe(function(E){f=r(E,function(O,_){return w(O,_,E)})});a.abort.subscribe(function(){d(),f&&f.abort()});var m=u("onReturn",a,c);return m===a&&a.request.publish(c),m;function w(E,O,_){var R=E,$=O;if(!R)try{$=u("onResponse",O,_)}catch(j){$=null,R=j}R=R&&u("onError",R,_),R?a.error.publish(R):$&&a.response.publish($)}}
27return i.use=function(a){if(!a)throw new Error("Tried to add middleware that resolved to falsey value");if(typeof a=="function")throw new Error("Tried to add middleware that was a function. It probably expects you to pass options to it.");if(a.onReturn&&o.onReturn.length>0)throw new Error("Tried to add new middleware with `onReturn` handler, but another handler has already been registered for this event");return Do.forEach(function(u){a[u]&&o[u].push(a[u])}),n.push(a),i},i.clone=function(){return e(n)},t.forEach(i.use),i};(function(e){e.exports=Vd})(nd);var en={},mt={get exports(){return en},set exports(e){en=e}};typeof globalThis<"u"?mt.exports=globalThis:typeof window<"u"?mt.exports=window:typeof Ae<"u"?mt.exports=Ae:typeof self<"u"?mt.exports=self:mt.exports={};var Wd=en,Uo=fe,Gd=function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=e.implementation||Wd.Observable;if(!t)throw new Error("`Observable` is not available in global scope, and no implementation was passed");return{onReturn:function(n,o){return new t(function(i){return n.error.subscribe(function(s){return i.error(s)}),n.progress.subscribe(function(s){return i.next(Uo({type:"progress"},s))}),n.response.subscribe(function(s){i.next(Uo({type:"response"},s)),i.complete()}),n.request.publish(o),function(){return n.abort.publish()}})}}};/*!
28 * isobject <https://github.com/jonschlinkert/isobject>
29 *
30 * Copyright (c) 2014-2017, Jon Schlinkert.
31 * Released under the MIT License.
32 */var Kd=function(t){return t!=null&&typeof t=="object"&&Array.isArray(t)===!1};/*!
33 * is-plain-object <https://github.com/jonschlinkert/is-plain-object>
34 *
35 * Copyright (c) 2014-2017, Jon Schlinkert.
36 * Released under the MIT License.
37 */var Xd=Kd;function No(e){return Xd(e)===!0&&Object.prototype.toString.call(e)==="[object Object]"}var Jd=function(t){var r,n;return!(No(t)===!1||(r=t.constructor,typeof r!="function")||(n=r.prototype,No(n)===!1)||n.hasOwnProperty("isPrototypeOf")===!1)};function tn(e){return tn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},tn(e)}var Fo=fe,Qd=Jd,Yd=["boolean","string","number"],Zd=function(t){return!!t.constructor&&typeof t.constructor.isBuffer=="function"&&t.constructor.isBuffer(t)},ep=function(){return{processOptions:function(t){var r=t.body;if(!r)return t;var n=typeof r.pipe=="function",o=!n&&!Zd(r)&&(Yd.indexOf(tn(r))!==-1||Array.isArray(r)||Qd(r));return o?Fo({},t,{body:JSON.stringify(t.body),headers:Fo({},t.headers,{"Content-Type":"application/json"})}):t}}},$r=fe,tp=function(e){return{onResponse:function(r){var n=r.headers["content-type"]||"",o=e&&e.force||n.indexOf("application/json")!==-1;return!r.body||!n||!o?r:$r({},r,{body:rp(r.body)})},processOptions:function(r){return $r({},r,{headers:$r({Accept:"application/json"},r.headers)})}}};function rp(e){try{return JSON.parse(e)}catch(t){throw t.message="Failed to parsed response body as JSON: ".concat(t.message),t}}var rn={},np={get exports(){return rn},set exports(e){rn=e}},op=function(){return{onRequest:function(t){if(t.adapter!=="xhr")return;var r=t.request,n=t.context;"upload"in r&&"onprogress"in r.upload&&(r.upload.onprogress=o("upload")),"onprogress"in r&&(r.onprogress=o("download"));function o(i){return function(s){var a=s.lengthComputable?s.loaded/s.total*100:-1;n.channels.progress.publish({stage:i,percent:a,total:s.total,loaded:s.loaded,lengthComputable:s.lengthComputable})}}}}};(function(e){e.exports=op})(np);var An={},Gt={},ip={get exports(){return Gt},set exports(e){Gt=e}};(function(e,t){var r=typeof Reflect<"u"?Reflect.construct:void 0,n=Object.defineProperty,o=Error.captureStackTrace;o===void 0&&(o=function(l){var c=new Error;n(l,"stack",{configurable:!0,get:function(){var d=c.stack;return n(this,"stack",{configurable:!0,value:d,writable:!0}),d},set:function(d){n(l,"stack",{configurable:!0,value:d,writable:!0})}})});function i(u){u!==void 0&&n(this,"message",{configurable:!0,value:u,writable:!0});var l=this.constructor.name;l!==void 0&&l!==this.name&&n(this,"name",{configurable:!0,value:l,writable:!0}),o(this,this.constructor)}i.prototype=Object.create(Error.prototype,{constructor:{configurable:!0,value:i,writable:!0}});var s=function(){function u(c,f){return n(c,"name",{configurable:!0,value:f})}try{var l=function(){};if(u(l,"foo"),l.name==="foo")return u}catch{}}();function a(u,l){if(l==null||l===Error)l=i;else if(typeof l!="function")throw new TypeError("super_ should be a function");var c;if(typeof u=="string")c=u,u=r!==void 0?function(){return r(l,arguments,this.constructor)}:function(){l.apply(this,arguments)},s!==void 0&&(s(u,c),c=void 0);else if(typeof u!="function")throw new TypeError("constructor should be either a string or a function");u.super_=u.super=l;var f={constructor:{configurable:!0,value:u,writable:!0}};
37return c!==void 0&&(f.name={configurable:!0,value:c,writable:!0}),u.prototype=Object.create(l.prototype,f),u}t=e.exports=a,t.BaseError=i})(ip,Gt);var as=Gt,cs=fe;function $n(e){var t=us(e);$n.super.call(this,t.message),cs(this,t)}function xn(e){var t=us(e);xn.super.call(this,t.message),cs(this,t)}function us(e){var t=e.body,r={response:e,statusCode:e.statusCode,responseBody:ap(t,e)};return t.error&&t.message?(r.message="".concat(t.error," - ").concat(t.message),r):t.error&&t.error.description?(r.message=t.error.description,r.details=t.error,r):(r.message=t.error||t.message||sp(e),r)}function sp(e){var t=e.statusMessage?" ".concat(e.statusMessage):"";return"".concat(e.method,"-request to ").concat(e.url," resulted in HTTP ").concat(e.statusCode).concat(t)}function ap(e,t){var r=(t.headers["content-type"]||"").toLowerCase(),n=r.indexOf("application/json")!==-1;return n?JSON.stringify(e,null,2):e}as($n);as(xn);An.ClientError=$n;An.ServerError=xn;var cp=[],up=Jr,lp=fe,fp=Gd,dp=ep,pp=tp,hp=rn,vp=Tt,mp=vp.Observable,ls=An,fs=ls.ClientError,ds=ls.ServerError,gp={onResponse:function(t){if(t.statusCode>=500)throw new ds(t);if(t.statusCode>=400)throw new fs(t);return t}},yp={onResponse:function(t){var r=t.headers["x-sanity-warning"],n=Array.isArray(r)?r:[r];return n.filter(Boolean).forEach(function(o){return console.warn(o)}),t}},bp=cp,wp=bp.concat([yp,dp(),pp(),hp(),gp,fp({implementation:mp})]),ps=up(wp);function sr(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ps;return t(lp({maxRedirects:0},e))}sr.defaultRequester=ps;sr.ClientError=fs;sr.ServerError=ds;var _p=sr,Bo=fe,Ep="X-Sanity-Project-ID",Op=function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r={},n=t.token||e.token;n&&(r.Authorization="Bearer ".concat(n)),!t.useGlobalApi&&!e.useProjectHostname&&e.projectId&&(r[Ep]=e.projectId);var o=Boolean(typeof t.withCredentials>"u"?e.token||e.withCredentials:t.withCredentials),i=typeof t.timeout>"u"?e.timeout:t.timeout;return Bo({},t,{headers:Bo({},r,t.headers||{}),timeout:typeof i>"u"?5*60*1e3:i,proxy:t.proxy||e.proxy,json:!0,withCredentials:o})},hs={},Sp="https://docs.sanity.io/help/",vs=function(t){return Sp+t},ar={},Rp=function(e){var t=!1,r;return function(){return t||(r=e.apply(void 0,arguments),t=!0),r}},In=vs,Pp=Rp,jn=function(t){return Pp(function(){for(var r,n=arguments.length,o=new Array(n),i=0;i<n;i++)o[i]=arguments[i];return(r=console).warn.apply(r,[t.join(" ")].concat(o))})};ar.printCdnWarning=jn(["You are not using the Sanity CDN. That means your data is always fresh, but the CDN is faster and","cheaper. Think about it! For more info, see ".concat(In("js-cl
37ient-cdn-configuration"),"."),"To hide this warning, please set the `useCdn` option to either `true` or `false` when creating","the client."]);ar.printBrowserTokenWarning=jn(["You have configured Sanity client to use a token in the browser. This may cause unintentional security issues.","See ".concat(In("js-client-browser-token")," for more information and how to hide this warning.")]);ar.printNoApiVersionSpecifiedWarning=jn(["Using the Sanity client without specifying an API version is deprecated.","See ".concat(In("js-client-api-version"))]);(function(e){var t=fe,r=vs,n=Xe,o=ar,i="apicdn.sanity.io",s={apiHost:"https://api.sanity.io",apiVersion:"1",useProjectHostname:!0,isPromiseAPI:!0},a=["localhost","127.0.0.1","0.0.0.0"],u=function(c){return a.indexOf(c)!==-1};e.defaultConfig=s,e.initConfig=function(l,c){var f=t({},c,l);f.apiVersion||o.printNoApiVersionSpecifiedWarning();var d=t({},s,f),m=d.useProjectHostname;if(typeof Promise>"u"){var w=r("js-client-promise-polyfill");throw new Error("No native Promise-implementation found, polyfill needed - see ".concat(w))}if(m&&!d.projectId)throw new Error("Configuration must contain `projectId`");var E=typeof window<"u"&&window.location&&window.location.hostname,O=E&&u(window.location.hostname);E&&O&&d.token&&d.ignoreBrowserTokenWarning!==!0?o.printBrowserTokenWarning():typeof d.useCdn>"u"&&o.printCdnWarning(),m&&n.projectId(d.projectId),d.dataset&&n.dataset(d.dataset),"requestTagPrefix"in d&&(d.requestTagPrefix=d.requestTagPrefix?n.requestTag(d.requestTagPrefix).replace(/\.+$/,""):void 0),d.apiVersion="".concat(d.apiVersion).replace(/^v/,""),d.isDefaultApi=d.apiHost===s.apiHost,d.useCdn=Boolean(d.useCdn)&&!d.withCredentials,e.validateApiVersion(d.apiVersion);var _=d.apiHost.split("://",2),R=_[0],$=_[1],j=d.isDefaultApi?i:$;return d.useProjectHostname?(d.url="".concat(R,"://").concat(d.projectId,".").concat($,"/v").concat(d.apiVersion),d.cdnUrl="".concat(R,"://").concat(d.projectId,".").concat(j,"/v").concat(d.apiVersion)):(d.url="".concat(d.apiHost,"/v").concat(d.apiVersion),d.cdnUrl=d.url),d},e.validateApiVersion=function(c){if(!(c==="1"||c==="X")){var f=new Date(c),d=/^\d{4}-\d{2}-\d{2}$/.test(c)&&f instanceof Date&&f.getTime()>0;if(!d)throw new Error("Invalid API version string, expected `1` or date in format `YYYY-MM-DD`")}}})(hs);function zo(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function xr(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?zo(Object(r),!0).forEach(function(n){Cp(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):zo(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function Cp(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var at=fe,kn=Tt,Tp=kn.Observable,Ap=kn.map,$p=kn.filter,xp=Pn,Ip=Bi,jp=qf,kp=Df,Hp=Nf,qp=Yf,Mp=ed,Lp=rd,cr=_p,Dp=Op,ms=hs,Up=ms.defaultConfig,Np=ms.initConfig,Fp=Xe,Bp=function(t){return t.toPromise()};function Ce(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Up;if(!(this instanceof Ce))return new Ce(e);if(this.config(e),this.assets=new qp(this),this.datasets=new kp(this),this.projects=new Hp(this),this.users=new Mp(this),this.auth=new Lp(this),this.clientConfig.isPromiseAPI){var t=at({},this.clientConfig,{isPromiseAPI:!1});this.observable=new Ce(t)}}at(Ce.prototype,jp);at(Ce.prototype,{clone:function(){return new Ce(this.config())},config:function(t){if(typeof t>"u")return at({},this.clientConfig);if(this.clientConfig&&this.clientConfig.allowReconfigure===!1)throw new Error("Existing client instance cannot be reconfigured - use `withConfig(newConfig)` to return a new client");if(this.observable){var r=at({},t,{isPromiseAPI:!1});this.observable.config(r)}return this.clientConfig=Np(t,this.clientConfig||{}),this},withConfig:function(t){return new Ce(xr(xr({},this.config()),t))},getUrl:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n=r?this.clientConfig.cdnUrl:this.clientConfig.url;return"".concat(n,"/").concat(t.replace(/^\//,""))},isPromiseAPI:function(){return this.clientConfig.isPromiseAPI},_requestObservable:function(t){var r=this,n=t.url||t.uri,o=typeof t.canUseCdn>"u"?["GET","HEAD"].indexOf(t.method||"GET")>=0&&n.indexOf("/data/")===0:t.canUseCdn,i=this.clientConfig.useCdn&&o,s=t.tag&&this.clientConfig.requestTagPrefix?[this.clientConfig.requestTagPrefix,t.tag].join("."):t.tag||this.clientConfig.requestTagPrefix;s&&(t.query=xr({tag:Fp.requestTag(s)},t.query));var a=Dp(this.clientConfig,at({},t,{url:this.getUrl(n,i)}));return new Tp(function(u){return cr(a,r.clientConfig.requester).subscribe(u)})},request:function(t){var r=this._requestObservable(t).pipe($p(function(n){return n.type==="response"}),Ap(function(n){return n.body}));return this.isPromiseAPI()?Bp(r):r}});Ce.Patch=xp;Ce.Transaction=Ip;Ce.ClientError=cr.ClientError;Ce.ServerError=cr.ServerError;Ce.requester=cr.defaultRequester;var Vo=Ce;const Wo=e=>{const t={...e};let r=Vo(t);return{client:r,config:t,fetch:(...n)=>r.fetch(...n),setToken(n){t.token=n,r=Vo(t)}}},zp=(e="default")=>{var i;const t=be();if((i=t._sanity)!=null&&i[e])return t._sanity[e];t._sanity=t._sanity||{};const r=pi(),{additionalClients:n={},...o}=ho(r.sanity,r.public.sanity);return!o.disableSmartCdn&&t.$preview&&(o.useCdn=!1),e==="default"?(t._sanity.default=Wo(o),t._sanity.default):(t._sanity[e]=Wo(ho(n[e],o)),t._sanity[e])};var nn={},Vp={get exports(){return nn},set exports(e){nn=e}};(function(e,t){(function(r,n){e.exports=n()})(Ae,function(){function r(){return r=Object.assign||function(v){for(var g=1;g<arguments.length;g++){var b=arguments[g];for(var p in b)Object.prototype.hasOwnProperty.call(b,p)&&(v[p]=b[p])}return v},r.apply(this,arguments)}function n(v,g){if(v){if(typeof v=="string")return o(v,g);var b=Object.prototype.toString.call(v).slice(8,-1);if(b==="Object"&&v.constructor&&(b=v.constructor.name),b==="Map"||b==="Set")return Array.from(v);if(b==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(b))return o(v,g)}}function o(v,g){(g==null||g>v.length)&&(g=v.length);for(var b=0,p=new Array(g);b<g;b++)p[b]=v[b];return p}function i(v,g){var b=typeof Symbol<"u"&&v[Symbol.iterator]||v["@@iterator"];if(b)return(b=b.call(v)).next.bind(b);if(Array.isArray(v)||(b=n(v))||g&&v&&typeof v.length=="number"){b&&(v=b);var p=0;return function(){return p>=v.length?{done:!0}:{done:!1,value:v[p++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
38In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var s="image-Tb9Ew8CXIwaY6R1kjMvI0uRR-2000x3000-jpg";function a(v){var g=v.split("-"),b=g[1],p=g[2],H=g[3];if(!b||!p||!H)throw new Error("Malformed asset _ref '"+v+`'. Expected an id like "`+s+'".');var I=p.split("x"),D=I[0],J=I[1],ae=+D,ie=+J,Y=isFinite(ae)&&isFinite(ie);if(!Y)throw new Error("Malformed asset _ref '"+v+`'. Expected an id like "`+s+'".');return{id:b,width:ae,height:ie,format:H}}var u=function(g){var b=g;return b?typeof b._ref=="string":!1},l=function(g){var b=g;return b?typeof b._id=="string":!1},c=function(g){var b=g;return b&&b.asset?typeof b.asset.url=="string":!1};function f(v){if(!v)return null;var g;if(typeof v=="string"&&d(v))g={asset:{_ref:m(v)}};else if(typeof v=="string")g={asset:{_ref:v}};else if(u(v))g={asset:v};else if(l(v))g={asset:{_ref:v._id||""}};else if(c(v))g={asset:{_ref:m(v.asset.url)}};else if(typeof v.asset=="object")g=r({},v);else return null;var b=v;return b.crop&&(g.crop=b.crop),b.hotspot&&(g.hotspot=b.hotspot),w(g)}function d(v){return/^https?:\/\//.test(""+v)}function m(v){var g=v.split("/").slice(-1);return("image-"+g[0]).replace(/\.([a-z]+)$/,"-$1")}function w(v){if(v.crop&&v.hotspot)return v;var g=r({},v);
38return g.crop||(g.crop={left:0,top:0,bottom:0,right:0}),g.hotspot||(g.hotspot={x:.5,y:.5,height:1,width:1}),g}var E=[["width","w"],["height","h"],["format","fm"],["download","dl"],["blur","blur"],["sharpen","sharp"],["invert","invert"],["orientation","or"],["minHeight","min-h"],["maxHeight","max-h"],["minWidth","min-w"],["maxWidth","max-w"],["quality","q"],["fit","fit"],["crop","crop"],["saturation","sat"],["auto","auto"],["dpr","dpr"],["pad","pad"]];function O(v){var g=r({},v||{}),b=g.source;delete g.source;var p=f(b);if(!p)throw new Error("Unable to resolve image URL from source ("+JSON.stringify(b)+")");var H=p.asset._ref||p.asset._id||"",I=a(H),D=Math.round(p.crop.left*I.width),J=Math.round(p.crop.top*I.height),ae={left:D,top:J,width:Math.round(I.width-p.crop.right*I.width-D),height:Math.round(I.height-p.crop.bottom*I.height-J)},ie=p.hotspot.height*I.height/2,Y=p.hotspot.width*I.width/2,de=p.hotspot.x*I.width,we=p.hotspot.y*I.height,pe={left:de-Y,top:we-ie,right:de+Y,bottom:we+ie};return g.rect||g.focalPoint||g.ignoreImageParams||g.crop||
38(g=r({},g,R({crop:ae,hotspot:pe},g))),_(r({},g,{asset:I}))}function _(v){var g=(v.baseUrl||"https://cdn.sanity.io").replace(/\/+$/,""),b=v.asset.id+"-"+v.asset.width+"x"+v.asset.height+"."+v.asset.format,p=g+"/images/"+v.projectId+"/"+v.dataset+"/"+b,H=[];if(v.rect){var I=v.rect,D=I.left,J=I.top,ae=I.width,ie=I.height,Y=D!==0||J!==0||ie!==v.asset.height||ae!==v.asset.width;Y&&H.push("rect="+D+","+J+","+ae+","+ie)}v.bg&&H.push("bg="+v.bg),v.focalPoint&&(H.push("fp-x="+v.focalPoint.x),H.push("fp-y="+v.focalPoint.y));var de=[v.flipHorizontal&&"h",v.flipVertical&&"v"].filter(Boolean).join("");return de&&H.push("flip="+de),E.forEach(function(we){var pe=we[0],Te=we[1];typeof v[pe]<"u"?H.push(Te+"="+encodeURIComponent(v[pe])):typeof v[Te]<"u"&&H.push(Te+"="+encodeURIComponent(v[Te]))}),H.length===0?p:p+"?"+H.join("&")}function R(v,g){var b,p=g.width,H=g.height;if(!(p&&H))return{width:p,height:H,rect:v.crop};var I=v.crop,D=v.hotspot,J=p/H,ae=I.width/I.height;if(ae>J){var ie=Math.round(I.height),Y=Math.round(ie*J),de=Math.max(0,Math.round(I.top)),we=Math.round((D.right-D.left)/2+D.left),pe=Math.max(0,Math.round(we-Y/2));pe<I.left?pe=I.left:pe+Y>I.left+I.width&&(pe=I.left+I.width-Y),b={left:pe,top:de,width:Y,height:ie}}else{var Te=I.width,Ee=Math.round(Te/J),y=Math.max(0,Math.round(I.left)),T=Math.round((D.bottom-D.top)/2+D.top),P=Math.max(0,Math.round(T-Ee/2));P<I.top?P=I.top:P+Ee>I.top+I.height&&(P=I.top+I.height-Ee),b={left:y,top:P,width:Te,height:Ee}}return{width:p,height:H,rect:b}}var $=["clip","crop","fill","fillmax","max","scale","min"],j=["top","bottom","left","right","center","focalpoint","entropy"],B=["format"];function V(v){return v&&"config"in v?typeof v.config=="function":!1}function re(v){return v&&"clientConfig"in v?typeof v.clientConfig=="object":!1}function _e(v){for(var g=E,b=i(g),p;!(p=b()).done;){var H=p.value,I=H[0],D=H[1];if(v===I||v===D)return I}return v}function G(v){if(V(v)){var g=v.config(),b=g.apiHost,p=g.projectId,H=g.dataset,I=b||"https://api.sanity.io";return new W(null,{baseUrl:I.replace(/^https:\/\/api\./,"https://cdn."),projectId:p,dataset:H})}var D=v;if(re(D)){var J=D.clientConfig,ae=J.apiHost,ie=J.projectId,Y=J.dataset,de=ae||"https://api.sanity.io";return new W(null,{baseUrl:de.replace(/^https:\/\/api\./,"https://cdn."),projectId:ie,dataset:Y})}return new W(null,v)}var W=function(){function v(b,p){this.options=void 0,this.options=b?r({},b.options||{},p||{}):r({},p||{})}var g=v.prototype;return g.withOptions=function(p){var H=p.baseUrl||this.options.baseUrl,I={baseUrl:H};for(var D in p)if(p.hasOwnProperty(D)){var J=_e(D);I[J]=p[D]}return new v(this,r({baseUrl:H},I))},g.image=function(p){return this.withOptions({source:p})},g.dataset=function(p){return this.withOptions({dataset:p})},g.projectId=function(p){return this.withOptions({projectId:p})},g.bg=function(p){return this.withOptions({bg:p})},g.dpr=function(p){return this.withOptions(p&&p!==1?{dpr:p}:{})},g.width=function(p){return this.withOptions({width:p})},g.height=function(p){return this.withOptions({height:p})},g.focalPoint=function(p,H){return this.withOptions({focalPoint:{x:p,y:H}})},g.maxWidth=function(p){return this.withOptions({maxWidth:p})},g.minWidth=function(p){return this.withOptions({minWidth:p})},g.maxHeight=function(p){return this.withOptions({maxHeight:p})},g.minHeight=function(p){return this.withOptions({minHeight:p})},g.size=function(p,H){return this.withOptions({width:p,height:H})},g.blur=function(p){return this.withOptions({blur:p})},g.sharpen=function(p){return this.withOptions({sharpen:p})},g.rect=function(p,H,I,D){return this.withOptions({rect:{left:p,top:H,width:I,height:D}})},g.format=function(p){return this.withOptions({format:p})},g.invert=function(p){return this.withOptions({invert:p})},g.orientation=function(p){return this.withOptions({orientation:p})},g.quality=function(p){return this.withOptions({quality:p})},g.forceDownload=function(p){return this.withOptions({download:p})},g.flipHorizontal=function(){return this.withOptions({flipHorizontal:!0})},g.flipVertical=function(){return this.withOptions({flipVertical:!0})},g.ignoreImageParams=function(){return this.withOptions({ignoreImageParams:!0})},g.fit=function(p){if($.indexOf(p)===-1)throw new Error('Invalid fit mode "'+p+'"');return this.withOptions({fit:p})},g.crop=function(p){if(j.indexOf(p)===-1)throw new Error('Invalid crop mode "'+p+'"');return this.withOptions({crop:p})},g.saturation=function(p){return this.withOptions({saturation:p})},g.auto=function(p){if(B.indexOf(p)===-1)throw new Error('Invalid auto mode "'+p+'"');return this.withOptions({auto:p})},g.pad=function(p){return this.withOptions({pad:p})},g.url=function(){return O(this.options)},g.toString=function(){return this.url()},v}();return G})})(Vp);const Wp=nn,Gp=Ke(()=>{const e=zp(),t=Wp(e.config);function r(n){return t.image(n)}return{provide:{urlFor:r}}});var Kp=Object.defineProperty,Go=Object.getOwnPropertySymbols,Xp=Object.prototype.hasOwnProperty,Jp=Object.prototype.propertyIsEnumerable,Ko=(e,t,r)=>t in e?Kp(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Xo=(e,t)=>{for(var r in t||(t={}))Xp.call(t,r)&&Ko(e,r,t[r]);if(Go)for(var r of Go(t))Jp.call(t,r)&&Ko(e,r,t[r]);return e},Qp=(e,t)=>{const r=e.__vccOpts||e;for(const[n,o]of t)r[n]=o;return r};const Yp=lt({props:{vertical:{type:Boolean,default:!1},direction:{type:String,default:"normal"},duration:{type:Number,default:20},delay:{type:Number,default:0},loop:{type:Number,default:0},clone:{type:Boolean,default:!1},gradient:{type:Boolean,default:!1},gradientColor:{type:Array,default:[255,255,255]},gradientWidth:{type:String},gradientLength:{type:String},pauseOnHover:{type:Boolean,default:!1},pauseOnClick:{type:Boolean,default:!1}},emits:["onComplete","onLoopComplete","onPause","onResume"],setup(e,{emit:t}){const r=se(0),n=se("100%"),o=se("100%"),i=se(0),s=se(!1),a=se(0),u=se(0),l=se(0),c=se(0),f=se(0),d=se(null),m=se("200px"),w=se(!1),E=se(null),O=se(null),_=async()=>{await R(),i.value++},R=async()=>{e.vertical&&(s.value=!0),setInterval(()=>
38{if(n.value="0%",o.value="0%",E.value!==null&&O.value!==null)if(E.value&&O.value)if(e.vertical&&"clientHeight"in E.value&&"clientHeight"in O.value){c.value=E.value.clientHeight,l.value=O.value.clientHeight;const W=Math.ceil(l.value/c.value);return r.value=isFinite(W)?W:0,s.value=!1,r.value}else if(!e.vertical&&"clientWidth"in E.value&&"clientWidth"in O.value){u.value=E.value.clientWidth,a.value=O.value.clientWidth;const W=Math.ceil(a.value/u.value);return r.value=isFinite(W)?W:0,r.value}else return n.value="100%",o.value="100%",0;else return n.value="100%",o.value="100%",0;else return n.value="100%",o.value="100%",0},100)};Et(u,async()=>{e.clone&&_()}),Et(a,async()=>{e.clone&&_()});const $=()=>{e.pauseOnHover&&t("onPause")},j=()=>{e.pauseOnHover&&t("onResume")},B=()=>{e.pauseOnClick&&t("onPause")},V=()=>{e.pauseOnClick&&t("onResume")},re=ye(()=>{const W={"--duration":`${e.duration}s`,"--delay":`${e.delay}s`,"--direction":`${e.direction}`,"--pauseOnHover":`${e.pauseOnHover?"paused":"running"}`,"--pauseOnClick":`${e.pauseOnClick?"paused":"running"}`,"--pauseAnimation":`${s.value?"paused":"running"}`,"--loops":`${e.loop===0?"infinite":e.loop}`,"--gradient-color":`rgba(${e.gradientColor[0]}, ${e.gradientColor[1]}, ${e.gradientColor[2]}, 1), rgba(${e.gradientColor[0]}, ${e.gradientColor[1]}, ${e.gradientColor[2]}, 0)`,"--gradient-length":`${m.value}`,"--min-width":`${n.value}`,"--min-height":`${o.value}`},v={"--orientation":"scrollX",orientation:"horizontal"};return e.vertical&&(v["--orientation"]="scrollY"),Xo(Xo({},W),v)}),_e=ye(()=>!!e.gradient),G=async()=>{e.vertical?(o.value="100%",n.value="auto"):(o.value="auto",n.value="100%"),e.gradient&&(e.gradientWidth?(console.warn("The `gradientWidth` prop has been deprecated and will be removed in a future release. Please use `gradientLength` instead."),m.value=e.gradientWidth):e.gradientLength&&(m.value=e.gradientLength)),e.clone&&(await R(),_()),w.value=!0};return Es(async()=>{G(),d.value=setInterval(()=>{f.value++,e.loop!==0&&f.value===e.loop&&(t("onComplete"),clearInterval(d.value)),t("onLoopComplete")},e.duration*1e3)}),on(()=>{clearInterval(d.value)}),{ready:w,contentWidth:u,containerWidth:a,contentHeight:c,containerHeight:l,loopCounter:f,loopInterval:d,minWidth:n,minHeight:o,marqueeContent:E,marqueeOverlayContainer:O,componentKey:i,showGradient:_e,cloneAmount:r,ForcesUpdate:_,checkForClone:R,setupMarquee:G,getCurrentStyle:re,hoverStarted:$,hoverEnded:j,mouseDown:B,mouseUp:V}}}),Zp={class:"transparent-overlay",ref:"marqueeOverlayContainer","aria-hidden":!0},eh={class:"marquee",ref:"marqueeContent"},th={class:"marquee","aria-hidden":!0};function rh(e,t,r,n,o,i){return e.ready?(Fe(),gt("div",{class:qn(["vue3-marquee",{vertical:e.vertical,horizontal:!e.vertical}]),style:Rs(e.getCurrentStyle),key:e.componentKey,onMouseenter:t[0]||(t[0]=(...s)=>e.hoverStarted&&e.hoverStarted(...s)),onMouseleave:t[1]||(t[1]=(...s)=>e.hoverEnded&&e.hoverEnded(...s)),onMousedown:t[2]||(t[2]=(...s)=>e.mouseDown&&e.mouseDown(...s)),onMouseup:t[3]||(t[3]=(...s)=>e.mouseUp&&e.mouseUp(...s))},[Mt("div",Zp,null,512),e.showGradient?(Fe(),gt("div",{key:0,"aria-hidden":!0,class:qn(["overlay",{vertical:e.vertical,horizontal:!e.vertical}])},null,2)):Mn("",!0),Mt("div",eh,[fr(e.$slots,"default")],512),Mt("div",th,[fr(e.$slots,"default")]),(Fe(!0),gt(Os,null,Ss(e.cloneAmount,s=>(Fe(),gt("div",{"aria-hidden":!0,class:"marquee cloned",key:s},[fr(e.$slots,"default")]))),128))],38)):Mn("",!0)}var nh=Qp(Yp,[["render",rh]]);function oh(e,t){const r=Object.assign({},{name:"Vue3Marquee"},t);e.component(`${r.name}`,nh)}const ih={version:"3.2.1",install:oh};const sh=Ke(e=>{e.vueApp.use(ih)}),ah=[Ba,Tc,Zu,el,dl,pl,Gp,sh],ch=lt({name:"FragmentWrapper",setup(e,{slots:t}){return()=>{var r;return(r=t.default)==null?void 0:r.call(t)}}}),Jo=(e,t,r)=>({default:()=>t?Ot(e,t===!0?{}:t,r):Ot(ch,{},r)}),uh=lt({name:"LayoutLoader",inheritAttrs:!1,props:{name:String},async setup(e,t){const r=await st[e.name]().then(n=>n.default||n);return()=>Ot(r,t.attrs,t.slots)}}),lh=lt({name:"NuxtLayout",inheritAttrs:!1,props:{name:{type:[String,Boolean,Object],default:null}},setup(e,t){const r=je("_route"),n=r===qi()?Iu():r,o=ye(()=>le(e.name)??n.meta.layout??"default");return()=>{const i=o.value&&o.value in st,s=n.meta.layoutTransition??Rc;return Jo(Ps,i&&s,{default:()=>Jo(uh,i&&{key:o.value,name:o.value,...t.attrs},t.slots).default()}).default()}}}),fh={class:"entire-site"},dh={__name:"app",setup(e){return tl({htmlAttrs:{lang:"en"}}),(t,r)=>{const n=lh;return Fe(),gt("div",fh,[Mt("div",null,[Cs(n)])])}}},Qo={__name:"nuxt-root",setup(e){const t=xs(()=>te(()=>import("./error-component.634dda08.js"),["./error-component.634dda08.js","./swiper-vue.1b2a8b42.js","./swiper-vue.25ac1039.css"],import.meta.url).then(a=>a.default||a)),r=()=>null,n=be(),o=n.deferHydration();qt("_route",qi()),n.hooks.callHookWith(a=>a.map(u=>u()),"vue:setup");const i=Qt();Ts((a,u,l)=>{n.hooks.callHook("vue:error",a,u,l).catch(c=>console.error("[nuxt] Error in `vue:error` hook",c)),Uu(a)&&(a.fatal||a.unhandled)&&Ne(n,it,[a])});const{islandContext:s}=!1;return(a,u)=>(Fe(),xt($s,{onResolve:le(o)},{default:As(()=>[le(i)?(Fe(),xt(le(t),{key:0,error:le(i)},null,8,["error"])):le(s)?(Fe(),xt(le(r),{key:1,context:le(s)}
38,null,8,["context"])):(Fe(),xt(le(dh),{key:2}))]),_:1},8,["onResolve"]))}};globalThis.$fetch||(globalThis.$fetch=Sa.create({baseURL:Pa()}));let Yo;const ph=Fa(ah);Yo=async function(){var o;const r=Boolean((o=window.__NUXT__)==null?void 0:o.serverRendered)?Is(Qo):js(Qo),n=Da({vueApp:r});try{await Na(n,ph)}catch(i){await n.callHook("app:error",i),n.payload.error=n.payload.error||i}try{await n.hooks.callHook("app:created",r),await n.hooks.callHook("app:beforeMount",r),r.mount("#"+Cc),await n.hooks.callHook("app:mounted",r),await Kt()}catch(i){await n.callHook("app:error",i),n.payload.error=n.payload.error||i}},Yo().catch(e=>{console.error("Error while mounting app:",e)});export{Au as R,nh as V,Jo as _,zp as a,qi as b,Du as c,Yt as d,Nu as e,Ae as f,be as g,Pc as h,vh as i,ho as j,tl as k,pi as l,Xt as m,Qs as n,mh as o,cn as p,Hi as q,Qt as u};

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.