@visitscotland/component-library 5.64.0 → 5.65.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (27) hide show
  1. package/dist/components/{LoadingSpinner-2b3P28Ru.mjs → LoadingSpinner-CkG_hjpf.mjs} +38 -3
  2. package/dist/components/{LoadingSpinner-ChYzVLiD.js → LoadingSpinner-DLhnjm96.js} +1 -1
  3. package/dist/components/components/canned-search/CannedSearch.vue.d.ts +2 -0
  4. package/dist/components/components/canned-search/components/CannedSearchLogos.vue.d.ts +1 -0
  5. package/dist/components/components/canned-search/components/CannedSearchProductCard.vue.d.ts +1 -0
  6. package/dist/components/components/carousel/components/CarouselSlide.vue.d.ts +1 -0
  7. package/dist/components/components/hero-section/HeroSection.vue.d.ts +2 -0
  8. package/dist/components/components/hero-section/components/HeroSectionImage.vue.d.ts +1 -0
  9. package/dist/components/components/image-with-caption/ImageWithCaption.vue.d.ts +1 -0
  10. package/dist/components/components/img/Img.vue.d.ts +20 -0
  11. package/dist/components/components/map-with-sidebar/MapWithSidebar.vue.d.ts +2 -0
  12. package/dist/components/components/map-with-sidebar/components/MapWithSidebarDetail.vue.d.ts +1 -0
  13. package/dist/components/components/map-with-sidebar/components/MapWithSidebarListItem.vue.d.ts +1 -0
  14. package/dist/components/components/map-with-sidebar/components/MapWithSidebarPanel.vue.d.ts +2 -0
  15. package/dist/components/components/mega-nav/components/MegaNavFeaturedEvent.vue.d.ts +1 -0
  16. package/dist/components/components/mega-nav/components/MegaNavFeaturedItem.vue.d.ts +1 -0
  17. package/dist/components/components/megalinks/components/megalink-link-list/MegalinkLinkList.vue.d.ts +1 -0
  18. package/dist/components/components/megalinks/components/megalink-multi-image/MegalinkMultiImage.vue.d.ts +1 -0
  19. package/dist/components/components/ski-scotland/ski-scotland-card/SkiScotlandCard.vue.d.ts +1 -0
  20. package/dist/components/components/stretched-link-card/StretchedLinkCard.vue.d.ts +1 -0
  21. package/dist/components/components/video/Video.vue.d.ts +1 -0
  22. package/dist/components/components/video/components/VideoHtml5.vue.d.ts +1 -0
  23. package/dist/components/vs-component-library-maps.js +1 -1
  24. package/dist/components/vs-component-library-maps.mjs +1 -1
  25. package/dist/components/vs-component-library.js +1 -1
  26. package/dist/components/vs-component-library.mjs +2 -2
  27. package/package.json +1 -1
@@ -9539,18 +9539,53 @@ const yC = /* @__PURE__ */ jt(rx, [["render", ox]]), ix = {
9539
9539
  }
9540
9540
  },
9541
9541
  computed: {
9542
+ /**
9543
+ * Resolve the low-quality placeholder image.
9544
+ * SVGs do not use LQIP.
9545
+ */
9542
9546
  resolvedLowResImage() {
9547
+ if (this.isSvg)
9548
+ return null;
9543
9549
  const n = typeof this.lowResImage == "string" ? this.lowResImage.trim() : "";
9544
- return n || (this.isSvg ? "" : this.specificImgSize("xxs"));
9550
+ return n || this.specificImgSize("xxs");
9551
+ },
9552
+ /**
9553
+ * Generate the sizes attribute for responsive raster images.
9554
+ * Omitted for SVGs.
9555
+ */
9556
+ resolvedSizes() {
9557
+ return this.isSvg ? null : this.computedSizes;
9545
9558
  },
9559
+ /**
9560
+ * Apply the LQIP background while the image loads.
9561
+ * Skipped for SVGs and generic placeholders.
9562
+ */
9546
9563
  imgStyle() {
9547
9564
  return this.useGenericLqip || this.isSvg || !this.resolvedLowResImage ? null : {
9548
9565
  backgroundImage: `url(${this.resolvedLowResImage})`
9549
9566
  };
9550
9567
  },
9568
+ /**
9569
+ * Determine whether the image source is an SVG.
9570
+ */
9551
9571
  isSvg() {
9552
- return typeof this.src == "string" && this.src.toLowerCase().includes(".svg");
9572
+ if (typeof this.src != "string")
9573
+ return !1;
9574
+ const n = this.src.trim();
9575
+ if (!n)
9576
+ return !1;
9577
+ if (n.startsWith("data:image/svg+xml"))
9578
+ return !0;
9579
+ try {
9580
+ return new URL(n).pathname.toLowerCase().endsWith(".svg");
9581
+ } catch {
9582
+ return n.toLowerCase().endsWith(".svg");
9583
+ }
9553
9584
  },
9585
+ /**
9586
+ * Generate a responsive srcset for raster images.
9587
+ * SVGs are served as a single scalable asset.
9588
+ */
9554
9589
  computedSrcSet() {
9555
9590
  return this.isSvg ? null : this.$attrs.srcset ? this.$attrs.srcset : this.fullSrcSet;
9556
9591
  }
@@ -9568,7 +9603,7 @@ function lx(n, r, o, a, s, l) {
9568
9603
  class: ["vs-img low-res-img", o.useGenericLqip ? "generic-lqip" : ""],
9569
9604
  srcset: l.computedSrcSet,
9570
9605
  "low-res-image": l.resolvedLowResImage,
9571
- sizes: n.computedSizes
9606
+ sizes: l.resolvedSizes
9572
9607
  }), {
9573
9608
  default: ee(() => [
9574
9609
  G(n.$slots, "default")
@@ -25,7 +25,7 @@ function print() { __p += __j.call(arguments, '') }
25
25
  ${this.specificImgSize("xs")} 300w,
26
26
  ${this.specificImgSize("sm")} 600w,
27
27
  ${this.specificImgSize("md")} 1200w,
28
- ${this.specificImgSize("lg")} 2048w`}},methods:{specificImgSize(n){if(!this.src)return"";let r="?";return this.src.includes("?")&&(r="&"),`${this.src}${r}size=${n}`}}},lx={inject:{cols:{default:0},sm:{default:0},md:{default:0},lg:{default:0},xl:{default:0}},computed:{computedSizes(){const r=[{viewportSize:"xl",minWidth:1200},{viewportSize:"lg",minWidth:992},{viewportSize:"md",minWidth:769},{viewportSize:"sm",minWidth:576}].filter(({viewportSize:o})=>this[o]).map(({viewportSize:o,minWidth:s})=>{const l=this[o]/12*100;return`(min-width: ${s}px) ${l}vw`});return this.cols?r.push(`${this.cols/12*100}vw`):r.push("100vw"),r.join(", ")}}},ux={name:"VsImg",status:"prototype",release:"0.0.1",components:{BImg:gf},mixins:[sx,lx],props:{src:{type:String,required:!0},lowResImage:{type:String,default:null},alt:{type:String,default:""},fluid:{type:Boolean,default:!1},fluidGrow:{type:Boolean,default:!1},useGenericLqip:{type:Boolean,default:!1},useLazyLoading:{type:Boolean,default:!0}},computed:{resolvedLowResImage(){const n=typeof this.lowResImage=="string"?this.lowResImage.trim():"";return n||(this.isSvg?"":this.specificImgSize("xxs"))},imgStyle(){return this.useGenericLqip||this.isSvg||!this.resolvedLowResImage?null:{backgroundImage:`url(${this.resolvedLowResImage})`}},isSvg(){return typeof this.src=="string"&&this.src.toLowerCase().includes(".svg")},computedSrcSet(){return this.isSvg?null:this.$attrs.srcset?this.$attrs.srcset:this.fullSrcSet}}};function cx(n,r,o,s,l,u){const f=a.resolveComponent("BImg");return a.openBlock(),a.createBlock(f,a.mergeProps(n.$attrs,{src:o.src,alt:o.alt,fluid:o.fluid,"fluid-grow":o.fluidGrow,loading:o.useLazyLoading?"lazy":"eager",style:u.imgStyle,class:["vs-img low-res-img",o.useGenericLqip?"generic-lqip":""],srcset:u.computedSrcSet,"low-res-image":u.resolvedLowResImage,sizes:n.computedSizes}),{default:a.withCtx(()=>[a.renderSlot(n.$slots,"default")]),_:3},16,["src","alt","fluid","fluid-grow","loading","style","class","srcset","low-res-image","sizes"])}const fx=Bt(ux,[["render",cx]]);function Pf(n,r){return function(){return n.apply(r,arguments)}}const{toString:dx}=Object.prototype,{getPrototypeOf:nr}=Object,{iterator:Fr,toStringTag:Ff}=Symbol,zo=(({hasOwnProperty:n})=>(r,o)=>n.call(r,o))(Object.prototype),Or=(n,r)=>{let o=n;const s=[];for(;o!=null&&o!==Object.prototype;){if(s.indexOf(o)!==-1)return!1;if(s.push(o),zo(o,r))return!0;o=nr(o)}return!1},px=(n,r)=>n!=null&&Or(n,r)?n[r]:void 0,ps=(n=>r=>{const o=dx.call(r);return n[o]||(n[o]=o.slice(8,-1).toLowerCase())})(Object.create(null)),Ft=n=>(n=n.toLowerCase(),r=>ps(r)===n),ti=n=>r=>typeof r===n,{isArray:On}=Array,rr=ti("undefined");function or(n){return n!==null&&!rr(n)&&n.constructor!==null&&!rr(n.constructor)&&rt(n.constructor.isBuffer)&&n.constructor.isBuffer(n)}const If=Ft("ArrayBuffer");function mx(n){let r;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?r=ArrayBuffer.isView(n):r=n&&n.buffer&&If(n.buffer),r}const hx=ti("string"),rt=ti("function"),Df=ti("number"),ir=n=>n!==null&&typeof n=="object",vx=n=>n===!0||n===!1,Do=n=>{if(!ir(n))return!1;const r=nr(n);return(r===null||r===Object.prototype||nr(r)===null)&&!Or(n,Ff)&&!Or(n,Fr)},gx=n=>{if(!ir(n)||or(n))return!1;try{return Object.keys(n).length===0&&Object.getPrototypeOf(n)===Object.prototype}catch{return!1}},_x=Ft("Date"),bx=Ft("File"),yx=n=>!!(n&&typeof n.uri<"u"),wx=n=>n&&typeof n.getParts<"u",xx=Ft("Blob"),Bx=Ft("FileList"),Sx=n=>ir(n)&&rt(n.pipe);function Cx(){return typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}}const yc=Cx(),wc=typeof yc.FormData<"u"?yc.FormData:void 0,Rx=n=>{if(!n)return!1;if(wc&&n instanceof wc)return!0;const r=nr(n);if(!r||r===Object.prototype||!rt(n.append))return!1;const o=ps(n);return o==="formdata"||o==="object"&&rt(n.toString)&&n.toString()==="[object FormData]"},Tx=Ft("URLSearchParams"),[kx,Ax,Ex,Ox]=["ReadableStream","Request","Response","Headers"].map(Ft),Lx=n=>n.trim?n.trim():n.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Ir(n,r,{allOwnKeys:o=!1}={}){if(n===null||typeof n>"u")return;let s,l;if(typeof n!="object"&&(n=[n]),On(n))for(s=0,l=n.length;s<l;s++)r.call(null,n[s],s,n);else{if(or(n))return;const u=o?Object.getOwnPropertyNames(n):Object.keys(n),f=u.length;let p;for(s=0;s<f;s++)p=u[s],r.call(null,n[p],p,n)}}function Nf(n,r){if(or(n))return null;r=r.toLowerCase();const o=Object.keys(n);let s=o.length,l;for(;s-- >0;)if(l=o[s],r===l.toLowerCase())return l;return null}const kn=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,$f=n=>!rr(n)&&n!==kn;function Ga(...n){const{caseless:r,skipUndefined:o}=$f(this)&&this||{},s={},l=(u,f)=>{if(f==="__proto__"||f==="constructor"||f==="prototype")return;const p=r&&typeof f=="string"&&Nf(s,f)||f,v=zo(s,p)?s[p]:void 0;Do(v)&&Do(u)?s[p]=Ga(v,u):Do(u)?s[p]=Ga({},u):On(u)?s[p]=u.slice():(!o||!rr(u))&&(s[p]=u)};for(let u=0,f=n.length;u<f;u++){const p=n[u];if(!p||or(p)||(Ir(p,l),typeof p!="object"||On(p)))continue;const v=Object.getOwnPropertySymbols(p);for(let g=0;g<v.length;g++){const _=v[g];Hx.call(p,_)&&l(p[_],_)}}return s}const Px=(n,r,o,{allOwnKeys:s}={})=>(Ir(r,(l,u)=>{o&&rt(l)?Object.defineProperty(n,u,{__proto__:null,value:Pf(l,o),writable:!0,enumerable:!0,configurable:!0}):Object.defineProperty(n,u,{__proto__:null,value:l,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:s}),n),Fx=n=>(n.charCodeAt(0)===65279&&(n=n.slice(1)),n),Ix=(n,r,o,s)=>{n.prototype=Object.create(r.prototype,s),Object.defineProperty(n.prototype,"constructor",{__proto__:null,value:n,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty(n,"super",{__proto__:null,value:r.prototype}),o&&Object.assign(n.prototype,o)},Dx=(n,r,o,s)=>{let l,u,f;const p={};if(r=r||{},n==null)return r;do{for(l=Object.getOwnPropertyNames(n),u=l.length;u-- >0;)f=l[u],(!s||s(f,n,r))&&!p[f]&&(r[f]=n[f],p[f]=!0);n=o!==!1&&nr(n)}while(n&&(!o||o(n,r))&&n!==Object.prototype);return r},Nx=(n,r,o)=>{n=String(n),(o===void 0||o>n.length)&&(o=n.length),o-=r.length;const s=n.indexOf(r,o);return s!==-1&&s===o},$x=n=>{if(!n)return null;if(On(n))return n;let r=n.length;if(!Df(r))return null;const o=new Array(r);for(;r-- >0;)o[r]=n[r];return o},Mx=(n=>r=>n&&r instanceof n)(typeof Uint8Array<"u"&&nr(Uint8Array)),Vx=(n,r)=>{const s=(n&&n[Fr]).call(n);let l;for(;(l=s.next())&&!l.done;){const u=l.value;r.call(n,u[0],u[1])}},Ux=(n,r)=>{let o;const s=[];for(;(o=n.exec(r))!==null;)s.push(o);return s},zx=Ft("HTMLFormElement"),Wx=n=>n.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(o,s,l){return s.toUpperCase()+l}),{propertyIsEnumerable:Hx}=Object.prototype,qx=Ft("RegExp"),Mf=(n,r)=>{const o=Object.getOwnPropertyDescriptors(n),s={};Ir(o,(l,u)=>{let f;(f=r(l,u,n))!==!1&&(s[u]=f||l)}),Object.defineProperties(n,s)},Gx=n=>{Mf(n,(r,o)=>{if(rt(n)&&["arguments","caller","callee"].includes(o))return!1;const s=n[o];if(rt(s)){if(r.enumerable=!1,"writable"in r){r.writable=!1;return}r.set||(r.set=()=>{throw Error("Can not rewrite read-only method '"+o+"'")})}})},Kx=(n,r)=>{const o={},s=l=>{l.forEach(u=>{o[u]=!0})};return On(n)?s(n):s(String(n).split(r)),o},jx=()=>{},Xx=(n,r)=>n!=null&&Number.isFinite(n=+n)?n:r;function Jx(n){return!!(n&&rt(n.append)&&n[Ff]==="FormData"&&n[Fr])}const Yx=n=>{const r=new WeakSet,o=s=>{if(ir(s)){if(r.has(s))return;if(or(s))return s;if(!("toJSON"in s)){r.add(s);const l=On(s)?[]:{};return Ir(s,(u,f)=>{const p=o(u);!rr(p)&&(l[f]=p)}),r.delete(s),l}}return s};return o(n)},Zx=Ft("AsyncFunction"),Qx=n=>n&&(ir(n)||rt(n))&&rt(n.then)&&rt(n.catch),Vf=((n,r)=>n?setImmediate:r?((o,s)=>(kn.addEventListener("message",({source:l,data:u})=>{l===kn&&u===o&&s.length&&s.shift()()},!1),l=>{s.push(l),kn.postMessage(o,"*")}))(`axios@${Math.random()}`,[]):o=>setTimeout(o))(typeof setImmediate=="function",rt(kn.postMessage)),eB=typeof queueMicrotask<"u"?queueMicrotask.bind(kn):typeof process<"u"&&process.nextTick||Vf,Uf=n=>n!=null&&rt(n[Fr]),tB=n=>n!=null&&Or(n,Fr)&&Uf(n),C={isArray:On,isArrayBuffer:If,isBuffer:or,isFormData:Rx,isArrayBufferView:mx,isString:hx,isNumber:Df,isBoolean:vx,isObject:ir,isPlainObject:Do,isEmptyObject:gx,isReadableStream:kx,isRequest:Ax,isResponse:Ex,isHeaders:Ox,isUndefined:rr,isDate:_x,isFile:bx,isReactNativeBlob:yx,isReactNative:wx,isBlob:xx,isRegExp:qx,isFunction:rt,isStream:Sx,isURLSearchParams:Tx,isTypedArray:Mx,isFileList:Bx,forEach:Ir,merge:Ga,extend:Px,trim:Lx,stripBOM:Fx,inherits:Ix,toFlatObject:Dx,kindOf:ps,kindOfTest:Ft,endsWith:Nx,toArray:$x,forEachEntry:Vx,matchAll:Ux,isHTMLForm:zx,hasOwnProperty:zo,hasOwnProp:zo,hasOwnInPrototypeChain:Or,getSafeProp:px,reduceDescriptors:Mf,freezeMethods:Gx,toObjectSet:Kx,toCamelCase:Wx,noop:jx,toFiniteNumber:Xx,findKey:Nf,global:kn,isContextDefined:$f,isSpecCompliantForm:Jx,toJSONObject:Yx,isAsyncFn:Zx,isThenable:Qx,setImmediate:Vf,asap:eB,isIterable:Uf,isSafeIterable:tB},nB=C.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),rB=n=>{const r={};let o,s,l;return n&&n.split(`
28
+ ${this.specificImgSize("lg")} 2048w`}},methods:{specificImgSize(n){if(!this.src)return"";let r="?";return this.src.includes("?")&&(r="&"),`${this.src}${r}size=${n}`}}},lx={inject:{cols:{default:0},sm:{default:0},md:{default:0},lg:{default:0},xl:{default:0}},computed:{computedSizes(){const r=[{viewportSize:"xl",minWidth:1200},{viewportSize:"lg",minWidth:992},{viewportSize:"md",minWidth:769},{viewportSize:"sm",minWidth:576}].filter(({viewportSize:o})=>this[o]).map(({viewportSize:o,minWidth:s})=>{const l=this[o]/12*100;return`(min-width: ${s}px) ${l}vw`});return this.cols?r.push(`${this.cols/12*100}vw`):r.push("100vw"),r.join(", ")}}},ux={name:"VsImg",status:"prototype",release:"0.0.1",components:{BImg:gf},mixins:[sx,lx],props:{src:{type:String,required:!0},lowResImage:{type:String,default:null},alt:{type:String,default:""},fluid:{type:Boolean,default:!1},fluidGrow:{type:Boolean,default:!1},useGenericLqip:{type:Boolean,default:!1},useLazyLoading:{type:Boolean,default:!0}},computed:{resolvedLowResImage(){if(this.isSvg)return null;const n=typeof this.lowResImage=="string"?this.lowResImage.trim():"";return n||this.specificImgSize("xxs")},resolvedSizes(){return this.isSvg?null:this.computedSizes},imgStyle(){return this.useGenericLqip||this.isSvg||!this.resolvedLowResImage?null:{backgroundImage:`url(${this.resolvedLowResImage})`}},isSvg(){if(typeof this.src!="string")return!1;const n=this.src.trim();if(!n)return!1;if(n.startsWith("data:image/svg+xml"))return!0;try{return new URL(n).pathname.toLowerCase().endsWith(".svg")}catch{return n.toLowerCase().endsWith(".svg")}},computedSrcSet(){return this.isSvg?null:this.$attrs.srcset?this.$attrs.srcset:this.fullSrcSet}}};function cx(n,r,o,s,l,u){const f=a.resolveComponent("BImg");return a.openBlock(),a.createBlock(f,a.mergeProps(n.$attrs,{src:o.src,alt:o.alt,fluid:o.fluid,"fluid-grow":o.fluidGrow,loading:o.useLazyLoading?"lazy":"eager",style:u.imgStyle,class:["vs-img low-res-img",o.useGenericLqip?"generic-lqip":""],srcset:u.computedSrcSet,"low-res-image":u.resolvedLowResImage,sizes:u.resolvedSizes}),{default:a.withCtx(()=>[a.renderSlot(n.$slots,"default")]),_:3},16,["src","alt","fluid","fluid-grow","loading","style","class","srcset","low-res-image","sizes"])}const fx=Bt(ux,[["render",cx]]);function Pf(n,r){return function(){return n.apply(r,arguments)}}const{toString:dx}=Object.prototype,{getPrototypeOf:nr}=Object,{iterator:Fr,toStringTag:Ff}=Symbol,zo=(({hasOwnProperty:n})=>(r,o)=>n.call(r,o))(Object.prototype),Or=(n,r)=>{let o=n;const s=[];for(;o!=null&&o!==Object.prototype;){if(s.indexOf(o)!==-1)return!1;if(s.push(o),zo(o,r))return!0;o=nr(o)}return!1},px=(n,r)=>n!=null&&Or(n,r)?n[r]:void 0,ps=(n=>r=>{const o=dx.call(r);return n[o]||(n[o]=o.slice(8,-1).toLowerCase())})(Object.create(null)),Ft=n=>(n=n.toLowerCase(),r=>ps(r)===n),ti=n=>r=>typeof r===n,{isArray:On}=Array,rr=ti("undefined");function or(n){return n!==null&&!rr(n)&&n.constructor!==null&&!rr(n.constructor)&&rt(n.constructor.isBuffer)&&n.constructor.isBuffer(n)}const If=Ft("ArrayBuffer");function mx(n){let r;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?r=ArrayBuffer.isView(n):r=n&&n.buffer&&If(n.buffer),r}const hx=ti("string"),rt=ti("function"),Df=ti("number"),ir=n=>n!==null&&typeof n=="object",vx=n=>n===!0||n===!1,Do=n=>{if(!ir(n))return!1;const r=nr(n);return(r===null||r===Object.prototype||nr(r)===null)&&!Or(n,Ff)&&!Or(n,Fr)},gx=n=>{if(!ir(n)||or(n))return!1;try{return Object.keys(n).length===0&&Object.getPrototypeOf(n)===Object.prototype}catch{return!1}},_x=Ft("Date"),bx=Ft("File"),yx=n=>!!(n&&typeof n.uri<"u"),wx=n=>n&&typeof n.getParts<"u",xx=Ft("Blob"),Bx=Ft("FileList"),Sx=n=>ir(n)&&rt(n.pipe);function Cx(){return typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}}const yc=Cx(),wc=typeof yc.FormData<"u"?yc.FormData:void 0,Rx=n=>{if(!n)return!1;if(wc&&n instanceof wc)return!0;const r=nr(n);if(!r||r===Object.prototype||!rt(n.append))return!1;const o=ps(n);return o==="formdata"||o==="object"&&rt(n.toString)&&n.toString()==="[object FormData]"},Tx=Ft("URLSearchParams"),[kx,Ax,Ex,Ox]=["ReadableStream","Request","Response","Headers"].map(Ft),Lx=n=>n.trim?n.trim():n.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Ir(n,r,{allOwnKeys:o=!1}={}){if(n===null||typeof n>"u")return;let s,l;if(typeof n!="object"&&(n=[n]),On(n))for(s=0,l=n.length;s<l;s++)r.call(null,n[s],s,n);else{if(or(n))return;const u=o?Object.getOwnPropertyNames(n):Object.keys(n),f=u.length;let p;for(s=0;s<f;s++)p=u[s],r.call(null,n[p],p,n)}}function Nf(n,r){if(or(n))return null;r=r.toLowerCase();const o=Object.keys(n);let s=o.length,l;for(;s-- >0;)if(l=o[s],r===l.toLowerCase())return l;return null}const kn=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,$f=n=>!rr(n)&&n!==kn;function Ga(...n){const{caseless:r,skipUndefined:o}=$f(this)&&this||{},s={},l=(u,f)=>{if(f==="__proto__"||f==="constructor"||f==="prototype")return;const p=r&&typeof f=="string"&&Nf(s,f)||f,v=zo(s,p)?s[p]:void 0;Do(v)&&Do(u)?s[p]=Ga(v,u):Do(u)?s[p]=Ga({},u):On(u)?s[p]=u.slice():(!o||!rr(u))&&(s[p]=u)};for(let u=0,f=n.length;u<f;u++){const p=n[u];if(!p||or(p)||(Ir(p,l),typeof p!="object"||On(p)))continue;const v=Object.getOwnPropertySymbols(p);for(let g=0;g<v.length;g++){const _=v[g];Hx.call(p,_)&&l(p[_],_)}}return s}const Px=(n,r,o,{allOwnKeys:s}={})=>(Ir(r,(l,u)=>{o&&rt(l)?Object.defineProperty(n,u,{__proto__:null,value:Pf(l,o),writable:!0,enumerable:!0,configurable:!0}):Object.defineProperty(n,u,{__proto__:null,value:l,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:s}),n),Fx=n=>(n.charCodeAt(0)===65279&&(n=n.slice(1)),n),Ix=(n,r,o,s)=>{n.prototype=Object.create(r.prototype,s),Object.defineProperty(n.prototype,"constructor",{__proto__:null,value:n,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty(n,"super",{__proto__:null,value:r.prototype}),o&&Object.assign(n.prototype,o)},Dx=(n,r,o,s)=>{let l,u,f;const p={};if(r=r||{},n==null)return r;do{for(l=Object.getOwnPropertyNames(n),u=l.length;u-- >0;)f=l[u],(!s||s(f,n,r))&&!p[f]&&(r[f]=n[f],p[f]=!0);n=o!==!1&&nr(n)}while(n&&(!o||o(n,r))&&n!==Object.prototype);return r},Nx=(n,r,o)=>{n=String(n),(o===void 0||o>n.length)&&(o=n.length),o-=r.length;const s=n.indexOf(r,o);return s!==-1&&s===o},$x=n=>{if(!n)return null;if(On(n))return n;let r=n.length;if(!Df(r))return null;const o=new Array(r);for(;r-- >0;)o[r]=n[r];return o},Mx=(n=>r=>n&&r instanceof n)(typeof Uint8Array<"u"&&nr(Uint8Array)),Vx=(n,r)=>{const s=(n&&n[Fr]).call(n);let l;for(;(l=s.next())&&!l.done;){const u=l.value;r.call(n,u[0],u[1])}},Ux=(n,r)=>{let o;const s=[];for(;(o=n.exec(r))!==null;)s.push(o);return s},zx=Ft("HTMLFormElement"),Wx=n=>n.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(o,s,l){return s.toUpperCase()+l}),{propertyIsEnumerable:Hx}=Object.prototype,qx=Ft("RegExp"),Mf=(n,r)=>{const o=Object.getOwnPropertyDescriptors(n),s={};Ir(o,(l,u)=>{let f;(f=r(l,u,n))!==!1&&(s[u]=f||l)}),Object.defineProperties(n,s)},Gx=n=>{Mf(n,(r,o)=>{if(rt(n)&&["arguments","caller","callee"].includes(o))return!1;const s=n[o];if(rt(s)){if(r.enumerable=!1,"writable"in r){r.writable=!1;return}r.set||(r.set=()=>{throw Error("Can not rewrite read-only method '"+o+"'")})}})},Kx=(n,r)=>{const o={},s=l=>{l.forEach(u=>{o[u]=!0})};return On(n)?s(n):s(String(n).split(r)),o},jx=()=>{},Xx=(n,r)=>n!=null&&Number.isFinite(n=+n)?n:r;function Jx(n){return!!(n&&rt(n.append)&&n[Ff]==="FormData"&&n[Fr])}const Yx=n=>{const r=new WeakSet,o=s=>{if(ir(s)){if(r.has(s))return;if(or(s))return s;if(!("toJSON"in s)){r.add(s);const l=On(s)?[]:{};return Ir(s,(u,f)=>{const p=o(u);!rr(p)&&(l[f]=p)}),r.delete(s),l}}return s};return o(n)},Zx=Ft("AsyncFunction"),Qx=n=>n&&(ir(n)||rt(n))&&rt(n.then)&&rt(n.catch),Vf=((n,r)=>n?setImmediate:r?((o,s)=>(kn.addEventListener("message",({source:l,data:u})=>{l===kn&&u===o&&s.length&&s.shift()()},!1),l=>{s.push(l),kn.postMessage(o,"*")}))(`axios@${Math.random()}`,[]):o=>setTimeout(o))(typeof setImmediate=="function",rt(kn.postMessage)),eB=typeof queueMicrotask<"u"?queueMicrotask.bind(kn):typeof process<"u"&&process.nextTick||Vf,Uf=n=>n!=null&&rt(n[Fr]),tB=n=>n!=null&&Or(n,Fr)&&Uf(n),C={isArray:On,isArrayBuffer:If,isBuffer:or,isFormData:Rx,isArrayBufferView:mx,isString:hx,isNumber:Df,isBoolean:vx,isObject:ir,isPlainObject:Do,isEmptyObject:gx,isReadableStream:kx,isRequest:Ax,isResponse:Ex,isHeaders:Ox,isUndefined:rr,isDate:_x,isFile:bx,isReactNativeBlob:yx,isReactNative:wx,isBlob:xx,isRegExp:qx,isFunction:rt,isStream:Sx,isURLSearchParams:Tx,isTypedArray:Mx,isFileList:Bx,forEach:Ir,merge:Ga,extend:Px,trim:Lx,stripBOM:Fx,inherits:Ix,toFlatObject:Dx,kindOf:ps,kindOfTest:Ft,endsWith:Nx,toArray:$x,forEachEntry:Vx,matchAll:Ux,isHTMLForm:zx,hasOwnProperty:zo,hasOwnProp:zo,hasOwnInPrototypeChain:Or,getSafeProp:px,reduceDescriptors:Mf,freezeMethods:Gx,toObjectSet:Kx,toCamelCase:Wx,noop:jx,toFiniteNumber:Xx,findKey:Nf,global:kn,isContextDefined:$f,isSpecCompliantForm:Jx,toJSONObject:Yx,isAsyncFn:Zx,isThenable:Qx,setImmediate:Vf,asap:eB,isIterable:Uf,isSafeIterable:tB},nB=C.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),rB=n=>{const r={};let o,s,l;return n&&n.split(`
29
29
  `).forEach(function(f){l=f.indexOf(":"),o=f.substring(0,l).trim().toLowerCase(),s=f.substring(l+1).trim(),!(!o||r[o]&&nB[o])&&(o==="set-cookie"?r[o]?r[o].push(s):r[o]=[s]:r[o]=r[o]?r[o]+", "+s:s)}),r};function oB(n){let r=0,o=n.length;for(;r<o;){const s=n.charCodeAt(r);if(s!==9&&s!==32)break;r+=1}for(;o>r;){const s=n.charCodeAt(o-1);if(s!==9&&s!==32)break;o-=1}return r===0&&o===n.length?n:n.slice(r,o)}const iB=new RegExp("[\\u0000-\\u0008\\u000a-\\u001f\\u007f]+","g"),aB=new RegExp("[^\\u0009\\u0020-\\u007e\\u0080-\\u00ff]+","g");function ms(n,r){return C.isArray(n)?n.map(o=>ms(o,r)):oB(String(n).replace(r,""))}const sB=n=>ms(n,iB),lB=n=>ms(n,aB);function zf(n){const r=Object.create(null);return C.forEach(n.toJSON(),(o,s)=>{r[s]=lB(o)}),r}const xc=Symbol("internals");function Cr(n){return n&&String(n).trim().toLowerCase()}function No(n){return n===!1||n==null?n:C.isArray(n)?n.map(No):sB(String(n))}function uB(n){const r=Object.create(null),o=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let s;for(;s=o.exec(n);)r[s[1]]=s[2];return r}const cB=n=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(n.trim());function Ia(n,r,o,s,l){if(C.isFunction(s))return s.call(this,r,o);if(l&&(r=o),!!C.isString(r)){if(C.isString(s))return r.indexOf(s)!==-1;if(C.isRegExp(s))return s.test(r)}}function fB(n){return n.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(r,o,s)=>o.toUpperCase()+s)}function dB(n,r){const o=C.toCamelCase(" "+r);["get","set","has"].forEach(s=>{Object.defineProperty(n,s+o,{__proto__:null,value:function(l,u,f){return this[s].call(this,r,l,u,f)},configurable:!0})})}let Ge=class{constructor(r){r&&this.set(r)}set(r,o,s){const l=this;function u(p,v,g){const _=Cr(v);if(!_)return;const b=C.findKey(l,_);(!b||l[b]===void 0||g===!0||g===void 0&&l[b]!==!1)&&(l[b||v]=No(p))}const f=(p,v)=>C.forEach(p,(g,_)=>u(g,_,v));if(C.isPlainObject(r)||r instanceof this.constructor)f(r,o);else if(C.isString(r)&&(r=r.trim())&&!cB(r))f(rB(r),o);else if(C.isObject(r)&&C.isSafeIterable(r)){let p=Object.create(null),v,g;for(const _ of r){if(!C.isArray(_))throw new TypeError("Object iterator must return a key-value pair");g=_[0],C.hasOwnProp(p,g)?(v=p[g],p[g]=C.isArray(v)?[...v,_[1]]:[v,_[1]]):p[g]=_[1]}f(p,o)}else r!=null&&u(o,r,s);return this}get(r,o){if(r=Cr(r),r){const s=C.findKey(this,r);if(s){const l=this[s];if(!o)return l;if(o===!0)return uB(l);if(C.isFunction(o))return o.call(this,l,s);if(C.isRegExp(o))return o.exec(l);throw new TypeError("parser must be boolean|regexp|function")}}}has(r,o){if(r=Cr(r),r){const s=C.findKey(this,r);return!!(s&&this[s]!==void 0&&(!o||Ia(this,this[s],s,o)))}return!1}delete(r,o){const s=this;let l=!1;function u(f){if(f=Cr(f),f){const p=C.findKey(s,f);p&&(!o||Ia(s,s[p],p,o))&&(delete s[p],l=!0)}}return C.isArray(r)?r.forEach(u):u(r),l}clear(r){const o=Object.keys(this);let s=o.length,l=!1;for(;s--;){const u=o[s];(!r||Ia(this,this[u],u,r,!0))&&(delete this[u],l=!0)}return l}normalize(r){const o=this,s={};return C.forEach(this,(l,u)=>{const f=C.findKey(s,u);if(f){o[f]=No(l),delete o[u];return}const p=r?fB(u):String(u).trim();p!==u&&delete o[u],o[p]=No(l),s[p]=!0}),this}concat(...r){return this.constructor.concat(this,...r)}toJSON(r){const o=Object.create(null);return C.forEach(this,(s,l)=>{s!=null&&s!==!1&&(o[l]=r&&C.isArray(s)?s.join(", "):s)}),o}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([r,o])=>r+": "+o).join(`
30
30
  `)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(r){return r instanceof this?r:new this(r)}static concat(r,...o){const s=new this(r);return o.forEach(l=>s.set(l)),s}static accessor(r){const s=(this[xc]=this[xc]={accessors:{}}).accessors,l=this.prototype;function u(f){const p=Cr(f);s[p]||(dB(l,f),s[p]=!0)}return C.isArray(r)?r.forEach(u):u(r),this}};Ge.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);C.reduceDescriptors(Ge.prototype,({value:n},r)=>{let o=r[0].toUpperCase()+r.slice(1);return{get:()=>n,set(s){this[o]=s}}});C.freezeMethods(Ge);const pB="[REDACTED ****]";function mB(n){if(C.hasOwnProp(n,"toJSON"))return!0;let r=Object.getPrototypeOf(n);for(;r&&r!==Object.prototype;){if(C.hasOwnProp(r,"toJSON"))return!0;r=Object.getPrototypeOf(r)}return!1}function hB(n,r){const o=new Set(r.map(u=>String(u).toLowerCase())),s=[],l=u=>{if(u===null||typeof u!="object"||C.isBuffer(u))return u;if(s.indexOf(u)!==-1)return;u instanceof Ge&&(u=u.toJSON()),s.push(u);let f;if(C.isArray(u))f=[],u.forEach((p,v)=>{const g=l(p);C.isUndefined(g)||(f[v]=g)});else{if(!C.isPlainObject(u)&&mB(u))return s.pop(),u;f=Object.create(null);for(const[p,v]of Object.entries(u)){const g=o.has(p.toLowerCase())?pB:l(v);C.isUndefined(g)||(f[p]=g)}}return s.pop(),f};return l(n)}let z=class Wf extends Error{static from(r,o,s,l,u,f){const p=new Wf(r.message,o||r.code,s,l,u);return p.cause=r,p.name=r.name,r.status!=null&&p.status==null&&(p.status=r.status),f&&Object.assign(p,f),p}constructor(r,o,s,l,u){super(r),Object.defineProperty(this,"message",{__proto__:null,value:r,enumerable:!0,writable:!0,configurable:!0}),this.name="AxiosError",this.isAxiosError=!0,o&&(this.code=o),s&&(this.config=s),l&&(this.request=l),u&&(this.response=u,this.status=u.status)}toJSON(){const r=this.config,o=r&&C.hasOwnProp(r,"redact")?r.redact:void 0,s=C.isArray(o)&&o.length>0?hB(r,o):C.toJSONObject(r);return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:s,code:this.code,status:this.status}}};z.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE";z.ERR_BAD_OPTION="ERR_BAD_OPTION";z.ECONNABORTED="ECONNABORTED";z.ETIMEDOUT="ETIMEDOUT";z.ECONNREFUSED="ECONNREFUSED";z.ERR_NETWORK="ERR_NETWORK";z.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS";z.ERR_DEPRECATED="ERR_DEPRECATED";z.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE";z.ERR_BAD_REQUEST="ERR_BAD_REQUEST";z.ERR_CANCELED="ERR_CANCELED";z.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT";z.ERR_INVALID_URL="ERR_INVALID_URL";z.ERR_FORM_DATA_DEPTH_EXCEEDED="ERR_FORM_DATA_DEPTH_EXCEEDED";const vB=null,Hf=100;function Ka(n){return C.isPlainObject(n)||C.isArray(n)}function qf(n){return C.endsWith(n,"[]")?n.slice(0,-2):n}function Da(n,r,o){return n?n.concat(r).map(function(l,u){return l=qf(l),!o&&u?"["+l+"]":l}).join(o?".":""):r}function gB(n){return C.isArray(n)&&!n.some(Ka)}const _B=C.toFlatObject(C,{},null,function(r){return/^is[A-Z]/.test(r)});function ni(n,r,o){if(!C.isObject(n))throw new TypeError("target must be an object");r=r||new FormData,o=C.toFlatObject(o,{metaTokens:!0,dots:!1,indexes:!1},!1,function(L,F){return!C.isUndefined(F[L])});const s=o.metaTokens,l=o.visitor||A,u=o.dots,f=o.indexes,p=o.Blob||typeof Blob<"u"&&Blob,v=o.maxDepth===void 0?Hf:o.maxDepth,g=p&&C.isSpecCompliantForm(r),_=[];if(!C.isFunction(l))throw new TypeError("visitor must be a function");function b(S){if(S===null)return"";if(C.isDate(S))return S.toISOString();if(C.isBoolean(S))return S.toString();if(!g&&C.isBlob(S))throw new z("Blob is not supported. Use a Buffer instead.");return C.isArrayBuffer(S)||C.isTypedArray(S)?g&&typeof Blob=="function"?new Blob([S]):Buffer.from(S):S}function B(S){if(S>v)throw new z("Object is too deeply nested ("+S+" levels). Max depth: "+v,z.ERR_FORM_DATA_DEPTH_EXCEEDED)}function w(S,L){if(v===1/0)return JSON.stringify(S);const F=[];return JSON.stringify(S,function(q,V){if(!C.isObject(V))return V;for(;F.length&&F[F.length-1]!==this;)F.pop();return F.push(V),B(L+F.length-1),V})}function A(S,L,F){let $=S;if(C.isReactNative(r)&&C.isReactNativeBlob(S))return r.append(Da(F,L,u),b(S)),!1;if(S&&!F&&typeof S=="object"){if(C.endsWith(L,"{}"))L=s?L:L.slice(0,-2),S=w(S,1);else if(C.isArray(S)&&gB(S)||(C.isFileList(S)||C.endsWith(L,"[]"))&&($=C.toArray(S)))return L=qf(L),$.forEach(function(V,M){!(C.isUndefined(V)||V===null)&&r.append(f===!0?Da([L],M,u):f===null?L:L+"[]",b(V))}),!1}return Ka(S)?!0:(r.append(Da(F,L,u),b(S)),!1)}const E=Object.assign(_B,{defaultVisitor:A,convertValue:b,isVisitable:Ka});function k(S,L,F=0){if(!C.isUndefined(S)){if(B(F),_.indexOf(S)!==-1)throw new Error("Circular reference detected in "+L.join("."));_.push(S),C.forEach(S,function(q,V){(!(C.isUndefined(q)||q===null)&&l.call(r,q,C.isString(V)?V.trim():V,L,E))===!0&&k(q,L?L.concat(V):[V],F+1)}),_.pop()}}if(!C.isObject(n))throw new TypeError("data must be an object");return k(n),r}function Bc(n){const r={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"};return encodeURIComponent(n).replace(/[!'()~]|%20/g,function(s){return r[s]})}function hs(n,r){this._pairs=[],n&&ni(n,this,r)}const Gf=hs.prototype;Gf.append=function(r,o){this._pairs.push([r,o])};Gf.toString=function(r){const o=r?function(s){return r.call(this,s,Bc)}:Bc;return this._pairs.map(function(l){return o(l[0])+"="+o(l[1])},"").join("&")};function bB(n){return encodeURIComponent(n).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function Kf(n,r,o){if(!r)return n;const s=C.isFunction(o)?{serialize:o}:o,l=C.getSafeProp(s,"encode")||bB,u=C.getSafeProp(s,"serialize");let f;if(u?f=u(r,s):f=C.isURLSearchParams(r)?r.toString():new hs(r,s).toString(l),f){const p=n.indexOf("#");p!==-1&&(n=n.slice(0,p)),n+=(n.indexOf("?")===-1?"?":"&")+f}return n}class Sc{constructor(){this.handlers=[]}use(r,o,s){return this.handlers.push({fulfilled:r,rejected:o,synchronous:s?s.synchronous:!1,runWhen:s?s.runWhen:null}),this.handlers.length-1}eject(r){this.handlers[r]&&(this.handlers[r]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(r){C.forEach(this.handlers,function(s){s!==null&&r(s)})}}const vs={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0,advertiseZstdAcceptEncoding:!1,validateStatusUndefinedResolves:!0},yB=typeof URLSearchParams<"u"?URLSearchParams:hs,wB=typeof FormData<"u"?FormData:null,xB=typeof Blob<"u"?Blob:null,BB={isBrowser:!0,classes:{URLSearchParams:yB,FormData:wB,Blob:xB},protocols:["http","https","file","blob","url","data"]},gs=typeof window<"u"&&typeof document<"u",ja=typeof navigator=="object"&&navigator||void 0,SB=gs&&(!ja||["ReactNative","NativeScript","NS"].indexOf(ja.product)<0),CB=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",RB=gs&&window.location.href||"http://localhost",TB=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:gs,hasStandardBrowserEnv:SB,hasStandardBrowserWebWorkerEnv:CB,navigator:ja,origin:RB},Symbol.toStringTag,{value:"Module"})),Ue={...TB,...BB};function kB(n,r){return ni(n,new Ue.classes.URLSearchParams,{visitor:function(o,s,l,u){return Ue.isNode&&C.isBuffer(o)?(this.append(s,o.toString("base64")),!1):u.defaultVisitor.apply(this,arguments)},...r})}const Cc=Hf;function jf(n){if(n>Cc)throw new z("FormData field is too deeply nested ("+n+" levels). Max depth: "+Cc,z.ERR_FORM_DATA_DEPTH_EXCEEDED)}function AB(n){const r=[],o=/\w+|\[(\w*)]/g;let s;for(;(s=o.exec(n))!==null;)jf(r.length),r.push(s[0]==="[]"?"":s[1]||s[0]);return r}function EB(n){const r={},o=Object.keys(n);let s;const l=o.length;let u;for(s=0;s<l;s++)u=o[s],r[u]=n[u];return r}function Xf(n){function r(o,s,l,u){jf(u);let f=o[u++];if(f==="__proto__")return!0;const p=Number.isFinite(+f),v=u>=o.length;return f=!f&&C.isArray(l)?l.length:f,v?(C.hasOwnProp(l,f)?l[f]=C.isArray(l[f])?l[f].concat(s):[l[f],s]:l[f]=s,!p):((!C.hasOwnProp(l,f)||!C.isObject(l[f]))&&(l[f]=[]),r(o,s,l[f],u)&&C.isArray(l[f])&&(l[f]=EB(l[f])),!p)}if(C.isFormData(n)&&C.isFunction(n.entries)){const o={};return C.forEachEntry(n,(s,l)=>{r(AB(s),l,o,0)}),o}return null}const Yn=(n,r)=>n!=null&&C.hasOwnProp(n,r)?n[r]:void 0;function OB(n,r,o){if(C.isString(n))try{return(r||JSON.parse)(n),C.trim(n)}catch(s){if(s.name!=="SyntaxError")throw s}return(o||JSON.stringify)(n)}const Dr={transitional:vs,adapter:["xhr","http","fetch"],transformRequest:[function(r,o){const s=o.getContentType()||"",l=s.indexOf("application/json")>-1,u=C.isObject(r);if(u&&C.isHTMLForm(r)&&(r=new FormData(r)),C.isFormData(r))return l?JSON.stringify(Xf(r)):r;if(C.isArrayBuffer(r)||C.isBuffer(r)||C.isStream(r)||C.isFile(r)||C.isBlob(r)||C.isReadableStream(r))return r;if(C.isArrayBufferView(r))return r.buffer;if(C.isURLSearchParams(r))return o.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),r.toString();let p;if(u){const v=Yn(this,"formSerializer");if(s.indexOf("application/x-www-form-urlencoded")>-1)return kB(r,v).toString();if((p=C.isFileList(r))||s.indexOf("multipart/form-data")>-1){const g=Yn(this,"env"),_=g&&g.FormData;return ni(p?{"files[]":r}:r,_&&new _,v)}}return u||l?(o.setContentType("application/json",!1),OB(r)):r}],transformResponse:[function(r){const o=Yn(this,"transitional")||Dr.transitional,s=o&&o.forcedJSONParsing,l=Yn(this,"responseType"),u=l==="json";if(C.isResponse(r)||C.isReadableStream(r))return r;if(r&&C.isString(r)&&(s&&!l||u)){const p=!(o&&o.silentJSONParsing)&&u;try{return JSON.parse(r,Yn(this,"parseReviver"))}catch(v){if(p)throw v.name==="SyntaxError"?z.from(v,z.ERR_BAD_RESPONSE,this,null,Yn(this,"response")):v}}return r}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Ue.classes.FormData,Blob:Ue.classes.Blob},validateStatus:function(r){return r>=200&&r<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};C.forEach(["delete","get","head","post","put","patch","query"],n=>{Dr.headers[n]={}});function Na(n,r){const o=this||Dr,s=r||o,l=Ge.from(s.headers);let u=s.data;return C.forEach(n,function(p){u=p.call(o,u,l.normalize(),r?r.status:void 0)}),l.normalize(),u}function Jf(n){return!!(n&&n.__CANCEL__)}let Nr=class extends z{constructor(r,o,s){super(r??"canceled",z.ERR_CANCELED,o,s),this.name="CanceledError",this.__CANCEL__=!0}};function Yf(n,r,o){const s=o.config.validateStatus;!o.status||!s||s(o.status)?n(o):r(new z("Request failed with status code "+o.status,o.status>=400&&o.status<500?z.ERR_BAD_REQUEST:z.ERR_BAD_RESPONSE,o.config,o.request,o))}function LB(n){const r=/^([-+\w]{1,25}):(?:\/\/)?/.exec(n);return r&&r[1]||""}function PB(n,r){n=n||10;const o=new Array(n),s=new Array(n);let l=0,u=0,f;return r=r!==void 0?r:1e3,function(v){const g=Date.now(),_=s[u];f||(f=g),o[l]=v,s[l]=g;let b=u,B=0;for(;b!==l;)B+=o[b++],b=b%n;if(l=(l+1)%n,l===u&&(u=(u+1)%n),g-f<r)return;const w=_&&g-_;return w?Math.round(B*1e3/w):void 0}}function FB(n,r){let o=0,s=1e3/r,l,u;const f=(g,_=Date.now())=>{o=_,l=null,u&&(clearTimeout(u),u=null),n(...g)};return[(...g)=>{const _=Date.now(),b=_-o;b>=s?f(g,_):(l=g,u||(u=setTimeout(()=>{u=null,f(l)},s-b)))},()=>l&&f(l)]}const Wo=(n,r,o=3)=>{let s=0;const l=PB(50,250);return FB(u=>{if(!u||typeof u.loaded!="number")return;const f=u.loaded,p=u.lengthComputable?u.total:void 0,v=p!=null?Math.min(f,p):f,g=Math.max(0,v-s),_=l(g);s=Math.max(s,v);const b={loaded:v,total:p,progress:p?v/p:void 0,bytes:g,rate:_||void 0,estimated:_&&p?(p-v)/_:void 0,event:u,lengthComputable:p!=null,[r?"download":"upload"]:!0};n(b)},o)},Rc=(n,r)=>{const o=n!=null;return[s=>r[0]({lengthComputable:o,total:n,loaded:s}),r[1]]},Tc=n=>(...r)=>C.asap(()=>n(...r)),IB=Ue.hasStandardBrowserEnv?((n,r)=>o=>(o=new URL(o,Ue.origin),n.protocol===o.protocol&&n.host===o.host&&(r||n.port===o.port)))(new URL(Ue.origin),Ue.navigator&&/(msie|trident)/i.test(Ue.navigator.userAgent)):()=>!0,DB=Ue.hasStandardBrowserEnv?{write(n,r,o,s,l,u,f){if(typeof document>"u")return;const p=[`${n}=${encodeURIComponent(r)}`];C.isNumber(o)&&p.push(`expires=${new Date(o).toUTCString()}`),C.isString(s)&&p.push(`path=${s}`),C.isString(l)&&p.push(`domain=${l}`),u===!0&&p.push("secure"),C.isString(f)&&p.push(`SameSite=${f}`),document.cookie=p.join("; ")},read(n){if(typeof document>"u")return null;const r=document.cookie.split(";");for(let o=0;o<r.length;o++){const s=r[o].replace(/^\s+/,""),l=s.indexOf("=");if(l!==-1&&s.slice(0,l)===n)return decodeURIComponent(s.slice(l+1))}return null},remove(n){this.write(n,"",Date.now()-864e5,"/")}}:{write(){},read(){return null},remove(){}};function NB(n){return typeof n!="string"?!1:/^([a-z][a-z\d+\-.]*:)?\/\//i.test(n)}function $B(n,r){return r?n.replace(/\/?\/$/,"")+"/"+r.replace(/^\/+/,""):n}const MB=/^https?:(?!\/\/)/i,VB=/[\t\n\r]/g;function UB(n){let r=0;for(;r<n.length&&n.charCodeAt(r)<=32;)r++;return n.slice(r)}function zB(n){return UB(n).replace(VB,"")}function kc(n,r){if(typeof n=="string"&&MB.test(zB(n)))throw new z('Invalid URL: missing "//" after protocol',z.ERR_INVALID_URL,r)}function Zf(n,r,o,s){kc(r,s);let l=!NB(r);return n&&(l||o===!1)?(kc(n,s),$B(n,r)):r}const Ac=n=>n instanceof Ge?{...n}:n;function Ln(n,r){r=r||{};const o=Object.create(null);Object.defineProperty(o,"hasOwnProperty",{__proto__:null,value:Object.prototype.hasOwnProperty,enumerable:!1,writable:!0,configurable:!0});function s(_,b,B,w){return C.isPlainObject(_)&&C.isPlainObject(b)?C.merge.call({caseless:w},_,b):C.isPlainObject(b)?C.merge({},b):C.isArray(b)?b.slice():b}function l(_,b,B,w){if(C.isUndefined(b)){if(!C.isUndefined(_))return s(void 0,_,B,w)}else return s(_,b,B,w)}function u(_,b){if(!C.isUndefined(b))return s(void 0,b)}function f(_,b){if(C.isUndefined(b)){if(!C.isUndefined(_))return s(void 0,_)}else return s(void 0,b)}function p(_){const b=C.hasOwnProp(r,"transitional")?r.transitional:void 0;if(!C.isUndefined(b))if(C.isPlainObject(b)){if(C.hasOwnProp(b,_))return b[_]}else return;const B=C.hasOwnProp(n,"transitional")?n.transitional:void 0;if(C.isPlainObject(B)&&C.hasOwnProp(B,_))return B[_]}function v(_,b,B){if(C.hasOwnProp(r,B))return s(_,b);if(C.hasOwnProp(n,B))return s(void 0,_)}const g={url:u,method:u,data:u,baseURL:f,transformRequest:f,transformResponse:f,paramsSerializer:f,timeout:f,timeoutMessage:f,withCredentials:f,withXSRFToken:f,adapter:f,responseType:f,xsrfCookieName:f,xsrfHeaderName:f,onUploadProgress:f,onDownloadProgress:f,decompress:f,maxContentLength:f,maxBodyLength:f,beforeRedirect:f,transport:f,httpAgent:f,httpsAgent:f,cancelToken:f,socketPath:f,allowedSocketPaths:f,responseEncoding:f,validateStatus:v,headers:(_,b,B)=>l(Ac(_),Ac(b),B,!0)};return C.forEach(Object.keys({...n,...r}),function(b){if(b==="__proto__"||b==="constructor"||b==="prototype")return;const B=C.hasOwnProp(g,b)?g[b]:l,w=C.hasOwnProp(n,b)?n[b]:void 0,A=C.hasOwnProp(r,b)?r[b]:void 0,E=B(w,A,b);C.isUndefined(E)&&B!==v||(o[b]=E)}),C.hasOwnProp(r,"validateStatus")&&C.isUndefined(r.validateStatus)&&p("validateStatusUndefinedResolves")===!1&&(C.hasOwnProp(n,"validateStatus")?o.validateStatus=s(void 0,n.validateStatus):delete o.validateStatus),o}const WB=["content-type","content-length"];function HB(n,r,o){if(o!=="content-only"){n.set(r);return}Object.entries(r).forEach(([s,l])=>{WB.includes(s.toLowerCase())&&n.set(s,l)})}const qB=n=>encodeURIComponent(n).replace(/%([0-9A-F]{2})/gi,(r,o)=>String.fromCharCode(parseInt(o,16)));function Qf(n){const r=Ln({},n),o=B=>C.hasOwnProp(r,B)?r[B]:void 0,s=o("data");let l=o("withXSRFToken");const u=o("xsrfHeaderName"),f=o("xsrfCookieName");let p=o("headers");const v=o("auth"),g=o("baseURL"),_=o("allowAbsoluteUrls"),b=o("url");if(r.headers=p=Ge.from(p),r.url=Kf(Zf(g,b,_,r),o("params"),o("paramsSerializer")),v){const B=C.getSafeProp(v,"username")||"",w=C.getSafeProp(v,"password")||"";p.set("Authorization","Basic "+btoa(B+":"+(w?qB(w):"")))}if(C.isFormData(s)&&(Ue.hasStandardBrowserEnv||Ue.hasStandardBrowserWebWorkerEnv||C.isReactNative(s)?p.setContentType(void 0):C.isFunction(s.getHeaders)&&HB(p,s.getHeaders(),o("formDataHeaderPolicy"))),Ue.hasStandardBrowserEnv&&(C.isFunction(l)&&(l=l(r)),l===!0||l==null&&IB(r.url))){const w=u&&f&&DB.read(f);w&&p.set(u,w)}return r}const GB=typeof XMLHttpRequest<"u",KB=GB&&function(n){return new Promise(function(o,s){const l=Qf(n);let u=l.data;const f=Ge.from(l.headers).normalize();let{responseType:p,onUploadProgress:v,onDownloadProgress:g}=l,_,b,B,w,A;function E(){w&&w(),A&&A(),l.cancelToken&&l.cancelToken.unsubscribe(_),l.signal&&l.signal.removeEventListener("abort",_)}let k=new XMLHttpRequest;k.open(l.method.toUpperCase(),l.url,!0),k.timeout=l.timeout;function S(){if(!k)return;const F=Ge.from("getAllResponseHeaders"in k&&k.getAllResponseHeaders()),q={data:!p||p==="text"||p==="json"?k.responseText:k.response,status:k.status,statusText:k.statusText,headers:F,config:n,request:k};Yf(function(M){o(M),E()},function(M){s(M),E()},q),k=null}"onloadend"in k?k.onloadend=S:k.onreadystatechange=function(){!k||k.readyState!==4||k.status===0&&!(k.responseURL&&k.responseURL.startsWith("file:"))||setTimeout(S)},k.onabort=function(){k&&(s(new z("Request aborted",z.ECONNABORTED,n,k)),E(),k=null)},k.onerror=function($){const q=$&&$.message?$.message:"Network Error",V=new z(q,z.ERR_NETWORK,n,k);V.event=$||null,s(V),E(),k=null},k.ontimeout=function(){let $=l.timeout?"timeout of "+l.timeout+"ms exceeded":"timeout exceeded";const q=l.transitional||vs;l.timeoutErrorMessage&&($=l.timeoutErrorMessage),s(new z($,q.clarifyTimeoutError?z.ETIMEDOUT:z.ECONNABORTED,n,k)),E(),k=null},u===void 0&&f.setContentType(null),"setRequestHeader"in k&&C.forEach(zf(f),function($,q){k.setRequestHeader(q,$)}),C.isUndefined(l.withCredentials)||(k.withCredentials=!!l.withCredentials),p&&p!=="json"&&(k.responseType=l.responseType),g&&([B,A]=Wo(g,!0),k.addEventListener("progress",B)),v&&k.upload&&([b,w]=Wo(v),k.upload.addEventListener("progress",b),k.upload.addEventListener("loadend",w)),(l.cancelToken||l.signal)&&(_=F=>{k&&(s(!F||F.type?new Nr(null,n,k):F),k.abort(),E(),k=null)},l.cancelToken&&l.cancelToken.subscribe(_),l.signal&&(l.signal.aborted?_():l.signal.addEventListener("abort",_)));const L=LB(l.url);if(L&&!Ue.protocols.includes(L)){s(new z("Unsupported protocol "+L+":",z.ERR_BAD_REQUEST,n));return}k.send(u||null)})},jB=(n,r)=>{if(n=n?n.filter(Boolean):[],!r&&!n.length)return;const o=new AbortController;let s=!1;const l=function(v){if(!s){s=!0,f();const g=v instanceof Error?v:this.reason;o.abort(g instanceof z?g:new Nr(g instanceof Error?g.message:g))}};let u=r&&setTimeout(()=>{u=null,l(new z(`timeout of ${r}ms exceeded`,z.ETIMEDOUT))},r);const f=()=>{n&&(u&&clearTimeout(u),u=null,n.forEach(v=>{v.unsubscribe?v.unsubscribe(l):v.removeEventListener("abort",l)}),n=null)};n.forEach(v=>v.addEventListener("abort",l));const{signal:p}=o;return p.unsubscribe=()=>C.asap(f),p},XB=function*(n,r){let o=n.byteLength;if(o<r){yield n;return}let s=0,l;for(;s<o;)l=s+r,yield n.slice(s,l),s=l},JB=async function*(n,r){for await(const o of YB(n))yield*XB(o,r)},YB=async function*(n){if(n[Symbol.asyncIterator]){yield*n;return}const r=n.getReader();try{for(;;){const{done:o,value:s}=await r.read();if(o)break;yield s}}finally{await r.cancel()}},Ec=(n,r,o,s)=>{const l=JB(n,r);let u=0,f,p=v=>{f||(f=!0,s&&s(v))};return new ReadableStream({async pull(v){try{const{done:g,value:_}=await l.next();if(g){p(),v.close();return}let b=_.byteLength;if(o){let B=u+=b;o(B)}v.enqueue(new Uint8Array(_))}catch(g){throw p(g),g}},cancel(v){return p(v),l.return()}},{highWaterMark:2})},Ho=n=>n>=48&&n<=57||n>=65&&n<=70||n>=97&&n<=102,ZB=(n,r,o)=>r+2<o&&Ho(n.charCodeAt(r+1))&&Ho(n.charCodeAt(r+2));function QB(n){if(!n||typeof n!="string"||!n.startsWith("data:"))return 0;const r=n.indexOf(",");if(r<0)return 0;const o=n.slice(5,r),s=n.slice(r+1);if(/;base64/i.test(o)){let f=s.length;const p=s.length;for(let w=0;w<p;w++)if(s.charCodeAt(w)===37&&w+2<p){const A=s.charCodeAt(w+1),E=s.charCodeAt(w+2);Ho(A)&&Ho(E)&&(f-=2,w+=2)}let v=0,g=p-1;const _=w=>w>=2&&s.charCodeAt(w-2)===37&&s.charCodeAt(w-1)===51&&(s.charCodeAt(w)===68||s.charCodeAt(w)===100);g>=0&&(s.charCodeAt(g)===61?(v++,g--):_(g)&&(v++,g-=3)),v===1&&g>=0&&(s.charCodeAt(g)===61||_(g))&&v++;const B=Math.floor(f/4)*3-(v||0);return B>0?B:0}let u=0;for(let f=0,p=s.length;f<p;f++){const v=s.charCodeAt(f);if(v===37&&ZB(s,f,p))u+=1,f+=2;else if(v<128)u+=1;else if(v<2048)u+=2;else if(v>=55296&&v<=56319&&f+1<p){const g=s.charCodeAt(f+1);g>=56320&&g<=57343?(u+=4,f++):u+=3}else u+=3}return u}const _s="1.18.0",Oc=64*1024,{isFunction:Fo}=C,eS=n=>encodeURIComponent(n).replace(/%([0-9A-F]{2})/gi,(r,o)=>String.fromCharCode(parseInt(o,16))),Lc=n=>{if(!C.isString(n))return n;try{return decodeURIComponent(n)}catch{return n}},Pc=(n,...r)=>{try{return!!n(...r)}catch{return!1}},tS=n=>{const r=n.indexOf("://");let o=n;return r!==-1&&(o=o.slice(r+3)),o.includes("@")||o.includes(":")},nS=n=>{const r=C.global!==void 0&&C.global!==null?C.global:globalThis,{ReadableStream:o,TextEncoder:s}=r;n=C.merge.call({skipUndefined:!0},{Request:r.Request,Response:r.Response},n);const{fetch:l,Request:u,Response:f}=n,p=l?Fo(l):typeof fetch=="function",v=Fo(u),g=Fo(f);if(!p)return!1;const _=p&&Fo(o),b=p&&(typeof s=="function"?(S=>L=>S.encode(L))(new s):async S=>new Uint8Array(await new u(S).arrayBuffer())),B=v&&_&&Pc(()=>{let S=!1;const L=new u(Ue.origin,{body:new o,method:"POST",get duplex(){return S=!0,"half"}}),F=L.headers.has("Content-Type");return L.body!=null&&L.body.cancel(),S&&!F}),w=g&&_&&Pc(()=>C.isReadableStream(new f("").body)),A={stream:w&&(S=>S.body)};p&&["text","arrayBuffer","blob","formData","stream"].forEach(S=>{!A[S]&&(A[S]=(L,F)=>{let $=L&&L[S];if($)return $.call(L);throw new z(`Response type '${S}' is not supported`,z.ERR_NOT_SUPPORT,F)})});const E=async S=>{if(S==null)return 0;if(C.isBlob(S))return S.size;if(C.isSpecCompliantForm(S))return(await new u(Ue.origin,{method:"POST",body:S}).arrayBuffer()).byteLength;if(C.isArrayBufferView(S)||C.isArrayBuffer(S))return S.byteLength;if(C.isURLSearchParams(S)&&(S=S+""),C.isString(S))return(await b(S)).byteLength},k=async(S,L)=>{const F=C.toFiniteNumber(S.getContentLength());return F??E(L)};return async S=>{let{url:L,method:F,data:$,signal:q,cancelToken:V,timeout:M,onDownloadProgress:H,onUploadProgress:Z,responseType:re,headers:fe,withCredentials:K="same-origin",fetchOptions:pe,maxContentLength:ee,maxBodyLength:ve}=Qf(S);const oe=C.isNumber(ee)&&ee>-1,ye=C.isNumber(ve)&&ve>-1,Oe=ue=>C.hasOwnProp(S,ue)?S[ue]:void 0;let Le=l||fetch;re=re?(re+"").toLowerCase():"text";let pt=jB([q,V&&V.toAbortSignal()],M),Se=null;const Ie=pt&&pt.unsubscribe&&(()=>{pt.unsubscribe()});let en,mn=null;const $r=()=>new z("Request body larger than maxBodyLength limit",z.ERR_BAD_REQUEST,S,Se);try{let ue;const Ye=Oe("auth");if(Ye){const Y=C.getSafeProp(Ye,"username")||"",Ke=C.getSafeProp(Ye,"password")||"";ue={username:Y,password:Ke}}if(tS(L)){const Y=new URL(L,Ue.origin);if(!ue&&(Y.username||Y.password)){const Ke=Lc(Y.username),De=Lc(Y.password);ue={username:Ke,password:De}}(Y.username||Y.password)&&(Y.username="",Y.password="",L=Y.href)}if(ue&&(fe.delete("authorization"),fe.set("Authorization","Basic "+btoa(eS((ue.username||"")+":"+(ue.password||""))))),oe&&typeof L=="string"&&L.startsWith("data:")&&QB(L)>ee)throw new z("maxContentLength size of "+ee+" exceeded",z.ERR_BAD_RESPONSE,S,Se);if(ye&&F!=="get"&&F!=="head"){const Y=await E($);if(typeof Y=="number"&&isFinite(Y)&&(en=Y,Y>ve))throw $r()}const Fn=ye&&(C.isReadableStream($)||C.isStream($)),tn=(Y,Ke,De)=>Ec(Y,Oc,It=>{if(ye&&It>ve)throw mn=$r();Ke&&Ke(It)},De);if(B&&F!=="get"&&F!=="head"&&(Z||Fn)){if(en=en??await k(fe,$),en!==0||Fn){let Y=new u(L,{method:"POST",body:$,duplex:"half"}),Ke;if(C.isFormData($)&&(Ke=Y.headers.get("content-type"))&&fe.setContentType(Ke),Y.body){const[De,It]=Z&&Rc(en,Wo(Tc(Z)))||[];$=tn(Y.body,De,It)}}}else if(Fn&&!v&&_&&F!=="get"&&F!=="head")$=tn($);else if(Fn&&v&&!B&&F!=="get"&&F!=="head")throw new z("Stream request bodies are not supported by the current fetch implementation",z.ERR_NOT_SUPPORT,S,Se);C.isString(K)||(K=K?"include":"omit");const hn=v&&"credentials"in u.prototype;if(C.isFormData($)){const Y=fe.getContentType();Y&&/^multipart\/form-data/i.test(Y)&&!/boundary=/i.test(Y)&&fe.delete("content-type")}fe.set("User-Agent","axios/"+_s,!1);const Mr={...pe,signal:pt,method:F.toUpperCase(),headers:zf(fe.normalize()),body:$,duplex:"half",credentials:hn?K:void 0};Se=v&&new u(L,Mr);let Ze=await(v?Le(Se,pe):Le(L,Mr));const vn=Ge.from(Ze.headers);if(oe){const Y=C.toFiniteNumber(vn.getContentLength());if(Y!=null&&Y>ee)throw new z("maxContentLength size of "+ee+" exceeded",z.ERR_BAD_RESPONSE,S,Se)}const In=w&&(re==="stream"||re==="response");if(w&&Ze.body&&(H||oe||In&&Ie)){const Y={};["status","statusText","headers"].forEach($e=>{Y[$e]=Ze[$e]});const Ke=C.toFiniteNumber(vn.getContentLength()),[De,It]=H&&Rc(Ke,Wo(Tc(H),!0))||[];let Vr=0;const gn=$e=>{if(oe&&(Vr=$e,Vr>ee))throw new z("maxContentLength size of "+ee+" exceeded",z.ERR_BAD_RESPONSE,S,Se);De&&De($e)};Ze=new f(Ec(Ze.body,Oc,gn,()=>{It&&It(),Ie&&Ie()}),Y)}re=re||"text";let Te=await A[C.findKey(A,re)||"text"](Ze,S);if(oe&&!w&&!In){let Y;if(Te!=null&&(typeof Te.byteLength=="number"?Y=Te.byteLength:typeof Te.size=="number"?Y=Te.size:typeof Te=="string"&&(Y=typeof s=="function"?new s().encode(Te).byteLength:Te.length)),typeof Y=="number"&&Y>ee)throw new z("maxContentLength size of "+ee+" exceeded",z.ERR_BAD_RESPONSE,S,Se)}return!In&&Ie&&Ie(),await new Promise((Y,Ke)=>{Yf(Y,Ke,{data:Te,headers:Ge.from(Ze.headers),status:Ze.status,statusText:Ze.statusText,config:S,request:Se})})}catch(ue){if(Ie&&Ie(),pt&&pt.aborted&&pt.reason instanceof z){const Ye=pt.reason;throw Ye.config=S,Se&&(Ye.request=Se),ue!==Ye&&(Ye.cause=ue),Ye}throw mn?(Se&&!mn.request&&(mn.request=Se),mn):ue instanceof z?(Se&&!ue.request&&(ue.request=Se),ue):ue&&ue.name==="TypeError"&&/Load failed|fetch/i.test(ue.message)?Object.assign(new z("Network Error",z.ERR_NETWORK,S,Se,ue&&ue.response),{cause:ue.cause||ue}):z.from(ue,ue&&ue.code,S,Se,ue&&ue.response)}}},rS=new Map,ed=n=>{let r=n&&n.env||{};const{fetch:o,Request:s,Response:l}=r,u=[s,l,o];let f=u.length,p=f,v,g,_=rS;for(;p--;)v=u[p],g=_.get(v),g===void 0&&_.set(v,g=p?new Map:nS(r)),_=g;return g};ed();const bs={http:vB,xhr:KB,fetch:{get:ed}};C.forEach(bs,(n,r)=>{if(n){try{Object.defineProperty(n,"name",{__proto__:null,value:r})}catch{}Object.defineProperty(n,"adapterName",{__proto__:null,value:r})}});const Fc=n=>`- ${n}`,oS=n=>C.isFunction(n)||n===null||n===!1;function iS(n,r){n=C.isArray(n)?n:[n];const{length:o}=n;let s,l;const u={};for(let f=0;f<o;f++){s=n[f];let p;if(l=s,!oS(s)&&(l=bs[(p=String(s)).toLowerCase()],l===void 0))throw new z(`Unknown adapter '${p}'`);if(l&&(C.isFunction(l)||(l=l.get(r))))break;u[p||"#"+f]=l}if(!l){const f=Object.entries(u).map(([v,g])=>`adapter ${v} `+(g===!1?"is not supported by the environment":"is not available in the build"));let p=o?f.length>1?`since :
31
31
  `+f.map(Fc).join(`
@@ -231,6 +231,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
231
231
  };
232
232
  }>, {}, {}, {
233
233
  resolvedLowResImage(): string;
234
+ resolvedSizes(): string;
234
235
  imgStyle(): {
235
236
  backgroundImage: string;
236
237
  };
@@ -1713,6 +1714,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
1713
1714
  };
1714
1715
  }>, {}, {}, {
1715
1716
  resolvedLowResImage(): string;
1717
+ resolvedSizes(): string;
1716
1718
  imgStyle(): {
1717
1719
  backgroundImage: string;
1718
1720
  };
@@ -870,6 +870,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
870
870
  };
871
871
  }>, {}, {}, {
872
872
  resolvedLowResImage(): string;
873
+ resolvedSizes(): string;
873
874
  imgStyle(): {
874
875
  backgroundImage: string;
875
876
  };
@@ -169,6 +169,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
169
169
  };
170
170
  }>, {}, {}, {
171
171
  resolvedLowResImage(): string;
172
+ resolvedSizes(): string;
172
173
  imgStyle(): {
173
174
  backgroundImage: string;
174
175
  };
@@ -836,6 +836,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
836
836
  };
837
837
  }>, {}, {}, {
838
838
  resolvedLowResImage(): string;
839
+ resolvedSizes(): string;
839
840
  imgStyle(): {
840
841
  backgroundImage: string;
841
842
  };
@@ -548,6 +548,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
548
548
  };
549
549
  }>, {}, {}, {
550
550
  resolvedLowResImage(): string;
551
+ resolvedSizes(): string;
551
552
  imgStyle(): {
552
553
  backgroundImage: string;
553
554
  };
@@ -3335,6 +3336,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
3335
3336
  };
3336
3337
  }>, {}, {}, {
3337
3338
  resolvedLowResImage(): string;
3339
+ resolvedSizes(): string;
3338
3340
  imgStyle(): {
3339
3341
  backgroundImage: string;
3340
3342
  };
@@ -281,6 +281,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
281
281
  };
282
282
  }>, {}, {}, {
283
283
  resolvedLowResImage(): string;
284
+ resolvedSizes(): string;
284
285
  imgStyle(): {
285
286
  backgroundImage: string;
286
287
  };
@@ -310,6 +310,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
310
310
  };
311
311
  }>, {}, {}, {
312
312
  resolvedLowResImage(): string;
313
+ resolvedSizes(): string;
313
314
  imgStyle(): {
314
315
  backgroundImage: string;
315
316
  };
@@ -53,11 +53,31 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
53
53
  default: boolean;
54
54
  };
55
55
  }>, {}, {}, {
56
+ /**
57
+ * Resolve the low-quality placeholder image.
58
+ * SVGs do not use LQIP.
59
+ */
56
60
  resolvedLowResImage(): string;
61
+ /**
62
+ * Generate the sizes attribute for responsive raster images.
63
+ * Omitted for SVGs.
64
+ */
65
+ resolvedSizes(): string;
66
+ /**
67
+ * Apply the LQIP background while the image loads.
68
+ * Skipped for SVGs and generic placeholders.
69
+ */
57
70
  imgStyle(): {
58
71
  backgroundImage: string;
59
72
  };
73
+ /**
74
+ * Determine whether the image source is an SVG.
75
+ */
60
76
  isSvg(): boolean;
77
+ /**
78
+ * Generate a responsive srcset for raster images.
79
+ * SVGs are served as a single scalable asset.
80
+ */
61
81
  computedSrcSet(): unknown;
62
82
  }, {}, {
63
83
  computed: {
@@ -4826,6 +4826,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
4826
4826
  };
4827
4827
  }>, {}, {}, {
4828
4828
  resolvedLowResImage(): string;
4829
+ resolvedSizes(): string;
4829
4830
  imgStyle(): {
4830
4831
  backgroundImage: string;
4831
4832
  };
@@ -5264,6 +5265,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
5264
5265
  };
5265
5266
  }>, {}, {}, {
5266
5267
  resolvedLowResImage(): string;
5268
+ resolvedSizes(): string;
5267
5269
  imgStyle(): {
5268
5270
  backgroundImage: string;
5269
5271
  };
@@ -64,6 +64,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
64
64
  };
65
65
  }>, {}, {}, {
66
66
  resolvedLowResImage(): string;
67
+ resolvedSizes(): string;
67
68
  imgStyle(): {
68
69
  backgroundImage: string;
69
70
  };
@@ -93,6 +93,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
93
93
  };
94
94
  }>, {}, {}, {
95
95
  resolvedLowResImage(): string;
96
+ resolvedSizes(): string;
96
97
  imgStyle(): {
97
98
  backgroundImage: string;
98
99
  };
@@ -2448,6 +2448,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
2448
2448
  };
2449
2449
  }>, {}, {}, {
2450
2450
  resolvedLowResImage(): string;
2451
+ resolvedSizes(): string;
2451
2452
  imgStyle(): {
2452
2453
  backgroundImage: string;
2453
2454
  };
@@ -2886,6 +2887,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
2886
2887
  };
2887
2888
  }>, {}, {}, {
2888
2889
  resolvedLowResImage(): string;
2890
+ resolvedSizes(): string;
2889
2891
  imgStyle(): {
2890
2892
  backgroundImage: string;
2891
2893
  };
@@ -689,6 +689,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
689
689
  };
690
690
  }>, {}, {}, {
691
691
  resolvedLowResImage(): string;
692
+ resolvedSizes(): string;
692
693
  imgStyle(): {
693
694
  backgroundImage: string;
694
695
  };
@@ -708,6 +708,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
708
708
  };
709
709
  }>, {}, {}, {
710
710
  resolvedLowResImage(): string;
711
+ resolvedSizes(): string;
711
712
  imgStyle(): {
712
713
  backgroundImage: string;
713
714
  };
@@ -888,6 +888,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
888
888
  };
889
889
  }>, {}, {}, {
890
890
  resolvedLowResImage(): string;
891
+ resolvedSizes(): string;
891
892
  imgStyle(): {
892
893
  backgroundImage: string;
893
894
  };
@@ -893,6 +893,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
893
893
  };
894
894
  }>, {}, {}, {
895
895
  resolvedLowResImage(): string;
896
+ resolvedSizes(): string;
896
897
  imgStyle(): {
897
898
  backgroundImage: string;
898
899
  };
@@ -361,6 +361,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
361
361
  };
362
362
  }>, {}, {}, {
363
363
  resolvedLowResImage(): string;
364
+ resolvedSizes(): string;
364
365
  imgStyle(): {
365
366
  backgroundImage: string;
366
367
  };
@@ -759,6 +759,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
759
759
  };
760
760
  }>, {}, {}, {
761
761
  resolvedLowResImage(): string;
762
+ resolvedSizes(): string;
762
763
  imgStyle(): {
763
764
  backgroundImage: string;
764
765
  };
@@ -2752,6 +2752,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
2752
2752
  };
2753
2753
  }>, {}, {}, {
2754
2754
  resolvedLowResImage(): string;
2755
+ resolvedSizes(): string;
2755
2756
  imgStyle(): {
2756
2757
  backgroundImage: string;
2757
2758
  };
@@ -1490,6 +1490,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
1490
1490
  };
1491
1491
  }>, {}, {}, {
1492
1492
  resolvedLowResImage(): string;
1493
+ resolvedSizes(): string;
1493
1494
  imgStyle(): {
1494
1495
  backgroundImage: string;
1495
1496
  };