UNPKG

@revolugo/booking-api-client

Version:

Javascript Revolugo Booking API Client (browser + server)

2 lines 136 kB
(function(i,de){typeof exports=="object"&&typeof module<"u"?de(exports):typeof define=="function"&&define.amd?define(["exports"],de):(i=typeof globalThis<"u"?globalThis:i||self,de(i["@revolugo/booking-api-client"]={}))})(this,(function(i){"use strict";var de=(e=>(e.V1="v1",e))(de||{}),ue=(e=>(e.CiCd="CI-CD",e.Local="LOCAL",e.Production="LIVE",e.Sandbox="SANDBOX",e.Staging="STAGING",e))(ue||{});const no={"CI-CD":"https://booking-api.staging.revolugo.com",LOCAL:"http://127.0.0.1:3001",LIVE:"https://booking-api.revolugo.com",SANDBOX:"https://booking-api.sandbox.revolugo.com",STAGING:"https://booking-api.staging.revolugo.com"};var We=(e=>(e.HOTEL_ROOM_OFFERS="HOTEL_ROOM_OFFERS",e.HOTEL_SEARCH_POLLING="HOTEL_SEARCH_POLLING",e))(We||{}),Ae=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function x(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var _e={exports:{}},Jt;function ro(){return Jt||(Jt=1,(function(e,t){var r=typeof globalThis<"u"&&globalThis||typeof self<"u"&&self||typeof Ae<"u"&&Ae,n=(function(){function u(){this.fetch=!1,this.DOMException=r.DOMException}return u.prototype=r,new u})();(function(u){(function(s){var f=typeof u<"u"&&u||typeof self<"u"&&self||typeof Ae<"u"&&Ae||{},p={searchParams:"URLSearchParams"in f,iterable:"Symbol"in f&&"iterator"in Symbol,blob:"FileReader"in f&&"Blob"in f&&(function(){try{return new Blob,!0}catch{return!1}})(),formData:"FormData"in f,arrayBuffer:"ArrayBuffer"in f};function R(c){return c&&DataView.prototype.isPrototypeOf(c)}if(p.arrayBuffer)var S=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],_=ArrayBuffer.isView||function(c){return c&&S.indexOf(Object.prototype.toString.call(c))>-1};function g(c){if(typeof c!="string"&&(c=String(c)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(c)||c==="")throw new TypeError('Invalid character in header field name: "'+c+'"');return c.toLowerCase()}function N(c){return typeof c!="string"&&(c=String(c)),c}function C(c){var d={next:function(){var m=c.shift();return{done:m===void 0,value:m}}};return p.iterable&&(d[Symbol.iterator]=function(){return d}),d}function h(c){this.map={},c instanceof h?c.forEach(function(d,m){this.append(m,d)},this):Array.isArray(c)?c.forEach(function(d){if(d.length!=2)throw new TypeError("Headers constructor: expected name/value pair to be length 2, found"+d.length);this.append(d[0],d[1])},this):c&&Object.getOwnPropertyNames(c).forEach(function(d){this.append(d,c[d])},this)}h.prototype.append=function(c,d){c=g(c),d=N(d);var m=this.map[c];this.map[c]=m?m+", "+d:d},h.prototype.delete=function(c){delete this.map[g(c)]},h.prototype.get=function(c){return c=g(c),this.has(c)?this.map[c]:null},h.prototype.has=function(c){return this.map.hasOwnProperty(g(c))},h.prototype.set=function(c,d){this.map[g(c)]=N(d)},h.prototype.forEach=function(c,d){for(var m in this.map)this.map.hasOwnProperty(m)&&c.call(d,this.map[m],m,this)},h.prototype.keys=function(){var c=[];return this.forEach(function(d,m){c.push(m)}),C(c)},h.prototype.values=function(){var c=[];return this.forEach(function(d){c.push(d)}),C(c)},h.prototype.entries=function(){var c=[];return this.forEach(function(d,m){c.push([m,d])}),C(c)},p.iterable&&(h.prototype[Symbol.iterator]=h.prototype.entries);function O(c){if(!c._noBody){if(c.bodyUsed)return Promise.reject(new TypeError("Already read"));c.bodyUsed=!0}}function T(c){return new Promise(function(d,m){c.onload=function(){d(c.result)},c.onerror=function(){m(c.error)}})}function M(c){var d=new FileReader,m=T(d);return d.readAsArrayBuffer(c),m}function k(c){var d=new FileReader,m=T(d),l=/charset=([A-Za-z0-9_-]+)/.exec(c.type),A=l?l[1]:"utf-8";return d.readAsText(c,A),m}function b(c){for(var d=new Uint8Array(c),m=new Array(d.length),l=0;l<d.length;l++)m[l]=String.fromCharCode(d[l]);return m.join("")}function P(c){if(c.slice)return c.slice(0);var d=new Uint8Array(c.byteLength);return d.set(new Uint8Array(c)),d.buffer}function E(){return this.bodyUsed=!1,this._initBody=function(c){this.bodyUsed=this.bodyUsed,this._bodyInit=c,c?typeof c=="string"?this._bodyText=c:p.blob&&Blob.prototype.isPrototypeOf(c)?this._bodyBlob=c:p.formData&&FormData.prototype.isPrototypeOf(c)?this._bodyFormData=c:p.searchParams&&URLSearchParams.prototype.isPrototypeOf(c)?this._bodyText=c.toString():p.arrayBuffer&&p.blob&&R(c)?(this._bodyArrayBuffer=P(c.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):p.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(c)||_(c))?this._bodyArrayBuffer=P(c):this._bodyText=c=Object.prototype.toString.call(c):(this._noBody=!0,this._bodyText=""),this.headers.get("content-type")||(typeof c=="string"?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):p.searchParams&&URLSearchParams.prototype.isPrototypeOf(c)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},p.blob&&(this.blob=function(){var c=O(this);if(c)return c;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))}),this.arrayBuffer=function(){if(this._bodyArrayBuffer){var c=O(this);return c||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer))}else{if(p.blob)return this.blob().then(M);throw new Error("could not read as ArrayBuffer")}},this.text=function(){var c=O(this);if(c)return c;if(this._bodyBlob)return k(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(b(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},p.formData&&(this.formData=function(){return this.text().then(H)}),this.json=function(){return this.text().then(JSON.parse)},this}var $=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function q(c){var d=c.toUpperCase();return $.indexOf(d)>-1?d:c}function B(c,d){if(!(this instanceof B))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');d=d||{};var m=d.body;if(c instanceof B){if(c.bodyUsed)throw new TypeError("Already read");this.url=c.url,this.credentials=c.credentials,d.headers||(this.headers=new h(c.headers)),this.method=c.method,this.mode=c.mode,this.signal=c.signal,!m&&c._bodyInit!=null&&(m=c._bodyInit,c.bodyUsed=!0)}else this.url=String(c);if(this.credentials=d.credentials||this.credentials||"same-origin",(d.headers||!this.headers)&&(this.headers=new h(d.headers)),this.method=q(d.method||this.method||"GET"),this.mode=d.mode||this.mode||null,this.signal=d.signal||this.signal||(function(){if("AbortController"in f){var y=new AbortController;return y.signal}})(),this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&m)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(m),(this.method==="GET"||this.method==="HEAD")&&(d.cache==="no-store"||d.cache==="no-cache")){var l=/([?&])_=[^&]*/;if(l.test(this.url))this.url=this.url.replace(l,"$1_="+new Date().getTime());else{var A=/\?/;this.url+=(A.test(this.url)?"&":"?")+"_="+new Date().getTime()}}}B.prototype.clone=function(){return new B(this,{body:this._bodyInit})};function H(c){var d=new FormData;return c.trim().split("&").forEach(function(m){if(m){var l=m.split("="),A=l.shift().replace(/\+/g," "),y=l.join("=").replace(/\+/g," ");d.append(decodeURIComponent(A),decodeURIComponent(y))}}),d}function v(c){var d=new h,m=c.replace(/\r?\n[\t ]+/g," ");return m.split("\r").map(function(l){return l.indexOf(` `)===0?l.substr(1,l.length):l}).forEach(function(l){var A=l.split(":"),y=A.shift().trim();if(y){var I=A.join(":").trim();try{d.append(y,I)}catch(L){console.warn("Response "+L.message)}}}),d}E.call(B.prototype);function K(c,d){if(!(this instanceof K))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(d||(d={}),this.type="default",this.status=d.status===void 0?200:d.status,this.status<200||this.status>599)throw new RangeError("Failed to construct 'Response': The status provided (0) is outside the range [200, 599].");this.ok=this.status>=200&&this.status<300,this.statusText=d.statusText===void 0?"":""+d.statusText,this.headers=new h(d.headers),this.url=d.url||"",this._initBody(c)}E.call(K.prototype),K.prototype.clone=function(){return new K(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new h(this.headers),url:this.url})},K.error=function(){var c=new K(null,{status:200,statusText:""});return c.ok=!1,c.status=0,c.type="error",c};var W=[301,302,303,307,308];K.redirect=function(c,d){if(W.indexOf(d)===-1)throw new RangeError("Invalid status code");return new K(null,{status:d,headers:{location:c}})},s.DOMException=f.DOMException;try{new s.DOMException}catch{s.DOMException=function(d,m){this.message=d,this.name=m;var l=Error(d);this.stack=l.stack},s.DOMException.prototype=Object.create(Error.prototype),s.DOMException.prototype.constructor=s.DOMException}function w(c,d){return new Promise(function(m,l){var A=new B(c,d);if(A.signal&&A.signal.aborted)return l(new s.DOMException("Aborted","AbortError"));var y=new XMLHttpRequest;function I(){y.abort()}y.onload=function(){var F={statusText:y.statusText,headers:v(y.getAllResponseHeaders()||"")};A.url.indexOf("file://")===0&&(y.status<200||y.status>599)?F.status=200:F.status=y.status,F.url="responseURL"in y?y.responseURL:F.headers.get("X-Request-URL");var z="response"in y?y.response:y.responseText;setTimeout(function(){m(new K(z,F))},0)},y.onerror=function(){setTimeout(function(){l(new TypeError("Network request failed"))},0)},y.ontimeout=function(){setTimeout(function(){l(new TypeError("Network request timed out"))},0)},y.onabort=function(){setTimeout(function(){l(new s.DOMException("Aborted","AbortError"))},0)};function L(F){try{return F===""&&f.location.href?f.location.href:F}catch{return F}}if(y.open(A.method,L(A.url),!0),A.credentials==="include"?y.withCredentials=!0:A.credentials==="omit"&&(y.withCredentials=!1),"responseType"in y&&(p.blob?y.responseType="blob":p.arrayBuffer&&(y.responseType="arraybuffer")),d&&typeof d.headers=="object"&&!(d.headers instanceof h||f.Headers&&d.headers instanceof f.Headers)){var Y=[];Object.getOwnPropertyNames(d.headers).forEach(function(F){Y.push(g(F)),y.setRequestHeader(F,N(d.headers[F]))}),A.headers.forEach(function(F,z){Y.indexOf(z)===-1&&y.setRequestHeader(z,F)})}else A.headers.forEach(function(F,z){y.setRequestHeader(z,F)});A.signal&&(A.signal.addEventListener("abort",I),y.onreadystatechange=function(){y.readyState===4&&A.signal.removeEventListener("abort",I)}),y.send(typeof A._bodyInit>"u"?null:A._bodyInit)})}return w.polyfill=!0,f.fetch||(f.fetch=w,f.Headers=h,f.Request=B,f.Response=K),s.Headers=h,s.Request=B,s.Response=K,s.fetch=w,s})({})})(n),n.fetch.ponyfill=!0,delete n.fetch.polyfill;var a=r.fetch?r:n;t=a.fetch,t.default=a.fetch,t.fetch=a.fetch,t.Headers=a.Headers,t.Request=a.Request,t.Response=a.Response,e.exports=t})(_e,_e.exports)),_e.exports}var oo=ro();const ao=x(oo),co=new RegExp("([\\p{Ll}\\d])(\\p{Lu})","gu"),so=new RegExp("(\\p{Lu})([\\p{Lu}][\\p{Ll}])","gu"),uo=new RegExp("(\\d)\\p{Ll}|(\\p{L})\\d","u"),fo=/[^\p{L}\d]+/giu,Dt="$1\0$2",Ft="";function Ht(e){let t=e.trim();t=t.replace(co,Dt).replace(so,Dt),t=t.replace(fo,"\0");let r=0,n=t.length;for(;t.charAt(r)==="\0";)r++;if(r===n)return[];for(;t.charAt(n-1)==="\0";)n--;return t.slice(r,n).split(/\0/g)}function lo(e){const t=Ht(e);for(let r=0;r<t.length;r++){const n=t[r],a=uo.exec(n);if(a){const u=a.index+(a[1]??a[2]).length;t.splice(r,1,n.slice(0,u),n.slice(u))}}return t}function bt(e,t){const[r,n,a]=Re(e,t);return r+n.map(Se(t?.locale)).join(t?.delimiter??" ")+a}function mo(e,t){const[r,n,a]=Re(e,t),u=Se(t?.locale),s=xe(t?.locale),f=t?.mergeAmbiguousCharacters?Xe(u,s):Bt(u,s);return r+n.map((p,R)=>R===0?u(p):f(p,R)).join(t?.delimiter??"")+a}function ho(e,t){const[r,n,a]=Re(e,t),u=Se(t?.locale),s=xe(t?.locale),f=t?.mergeAmbiguousCharacters?Xe(u,s):Bt(u,s);return r+n.map(f).join(t?.delimiter??"")+a}function po(e,t){const[r,n,a]=Re(e,t),u=Se(t?.locale),s=xe(t?.locale);return r+n.map(Xe(u,s)).join(t?.delimiter??" ")+a}function Et(e,t){return bt(e,{delimiter:"-",...t})}function Oo(e,t){return bt(e,{delimiter:"_",...t})}function Se(e){return e===!1?t=>t.toLowerCase():t=>t.toLocaleLowerCase(e)}function xe(e){return e===!1?t=>t.toUpperCase():t=>t.toLocaleUpperCase(e)}function Xe(e,t){return r=>`${t(r[0])}${e(r.slice(1))}`}function Bt(e,t){return(r,n)=>{const a=r[0];return(n>0&&a>="0"&&a<="9"?"_"+a:t(a))+e(r.slice(1))}}function Re(e,t={}){const r=t.split??(t.separateNumbers?lo:Ht),n=t.prefixCharacters??Ft,a=t.suffixCharacters??Ft;let u=0,s=e.length;for(;u<e.length;){const f=e.charAt(u);if(!n.includes(f))break;u++}for(;s>u;){const f=s-1,p=e.charAt(f);if(!a.includes(p))break;s=f}return[e.slice(0,u),r(e.slice(u,s)),e.slice(s)]}var Te={exports:{}},yo=Te.exports,Lt;function go(){return Lt||(Lt=1,(function(e,t){(function(r,n,a){e.exports=a(),e.exports.default=a()})("slugify",yo,function(){var r=JSON.parse(`{"$":"dollar","%":"percent","&":"and","<":"less",">":"greater","|":"or","¢":"cent","£":"pound","¤":"currency","¥":"yen","©":"(c)","ª":"a","®":"(r)","º":"o","À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","Æ":"AE","Ç":"C","È":"E","É":"E","Ê":"E","Ë":"E","Ì":"I","Í":"I","Î":"I","Ï":"I","Ð":"D","Ñ":"N","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","Ù":"U","Ú":"U","Û":"U","Ü":"U","Ý":"Y","Þ":"TH","ß":"ss","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","æ":"ae","ç":"c","è":"e","é":"e","ê":"e","ë":"e","ì":"i","í":"i","î":"i","ï":"i","ð":"d","ñ":"n","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","ù":"u","ú":"u","û":"u","ü":"u","ý":"y","þ":"th","ÿ":"y","Ā":"A","ā":"a","Ă":"A","ă":"a","Ą":"A","ą":"a","Ć":"C","ć":"c","Č":"C","č":"c","Ď":"D","ď":"d","Đ":"DJ","đ":"dj","Ē":"E","ē":"e","Ė":"E","ė":"e","Ę":"e","ę":"e","Ě":"E","ě":"e","Ğ":"G","ğ":"g","Ģ":"G","ģ":"g","Ĩ":"I","ĩ":"i","Ī":"i","ī":"i","Į":"I","į":"i","İ":"I","ı":"i","Ķ":"k","ķ":"k","Ļ":"L","ļ":"l","Ľ":"L","ľ":"l","Ł":"L","ł":"l","Ń":"N","ń":"n","Ņ":"N","ņ":"n","Ň":"N","ň":"n","Ō":"O","ō":"o","Ő":"O","ő":"o","Œ":"OE","œ":"oe","Ŕ":"R","ŕ":"r","Ř":"R","ř":"r","Ś":"S","ś":"s","Ş":"S","ş":"s","Š":"S","š":"s","Ţ":"T","ţ":"t","Ť":"T","ť":"t","Ũ":"U","ũ":"u","Ū":"u","ū":"u","Ů":"U","ů":"u","Ű":"U","ű":"u","Ų":"U","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","ź":"z","Ż":"Z","ż":"z","Ž":"Z","ž":"z","Ə":"E","ƒ":"f","Ơ":"O","ơ":"o","Ư":"U","ư":"u","Lj":"LJ","lj":"lj","Nj":"NJ","nj":"nj","Ș":"S","ș":"s","Ț":"T","ț":"t","ə":"e","˚":"o","Ά":"A","Έ":"E","Ή":"H","Ί":"I","Ό":"O","Ύ":"Y","Ώ":"W","ΐ":"i","Α":"A","Β":"B","Γ":"G","Δ":"D","Ε":"E","Ζ":"Z","Η":"H","Θ":"8","Ι":"I","Κ":"K","Λ":"L","Μ":"M","Ν":"N","Ξ":"3","Ο":"O","Π":"P","Ρ":"R","Σ":"S","Τ":"T","Υ":"Y","Φ":"F","Χ":"X","Ψ":"PS","Ω":"W","Ϊ":"I","Ϋ":"Y","ά":"a","έ":"e","ή":"h","ί":"i","ΰ":"y","α":"a","β":"b","γ":"g","δ":"d","ε":"e","ζ":"z","η":"h","θ":"8","ι":"i","κ":"k","λ":"l","μ":"m","ν":"n","ξ":"3","ο":"o","π":"p","ρ":"r","ς":"s","σ":"s","τ":"t","υ":"y","φ":"f","χ":"x","ψ":"ps","ω":"w","ϊ":"i","ϋ":"y","ό":"o","ύ":"y","ώ":"w","Ё":"Yo","Ђ":"DJ","Є":"Ye","І":"I","Ї":"Yi","Ј":"J","Љ":"LJ","Њ":"NJ","Ћ":"C","Џ":"DZ","А":"A","Б":"B","В":"V","Г":"G","Д":"D","Е":"E","Ж":"Zh","З":"Z","И":"I","Й":"J","К":"K","Л":"L","М":"M","Н":"N","О":"O","П":"P","Р":"R","С":"S","Т":"T","У":"U","Ф":"F","Х":"H","Ц":"C","Ч":"Ch","Ш":"Sh","Щ":"Sh","Ъ":"U","Ы":"Y","Ь":"","Э":"E","Ю":"Yu","Я":"Ya","а":"a","б":"b","в":"v","г":"g","д":"d","е":"e","ж":"zh","з":"z","и":"i","й":"j","к":"k","л":"l","м":"m","н":"n","о":"o","п":"p","р":"r","с":"s","т":"t","у":"u","ф":"f","х":"h","ц":"c","ч":"ch","ш":"sh","щ":"sh","ъ":"u","ы":"y","ь":"","э":"e","ю":"yu","я":"ya","ё":"yo","ђ":"dj","є":"ye","і":"i","ї":"yi","ј":"j","љ":"lj","њ":"nj","ћ":"c","ѝ":"u","џ":"dz","Ґ":"G","ґ":"g","Ғ":"GH","ғ":"gh","Қ":"KH","қ":"kh","Ң":"NG","ң":"ng","Ү":"UE","ү":"ue","Ұ":"U","ұ":"u","Һ":"H","һ":"h","Ә":"AE","ә":"ae","Ө":"OE","ө":"oe","Ա":"A","Բ":"B","Գ":"G","Դ":"D","Ե":"E","Զ":"Z","Է":"E'","Ը":"Y'","Թ":"T'","Ժ":"JH","Ի":"I","Լ":"L","Խ":"X","Ծ":"C'","Կ":"K","Հ":"H","Ձ":"D'","Ղ":"GH","Ճ":"TW","Մ":"M","Յ":"Y","Ն":"N","Շ":"SH","Չ":"CH","Պ":"P","Ջ":"J","Ռ":"R'","Ս":"S","Վ":"V","Տ":"T","Ր":"R","Ց":"C","Փ":"P'","Ք":"Q'","Օ":"O''","Ֆ":"F","և":"EV","ء":"a","آ":"aa","أ":"a","ؤ":"u","إ":"i","ئ":"e","ا":"a","ب":"b","ة":"h","ت":"t","ث":"th","ج":"j","ح":"h","خ":"kh","د":"d","ذ":"th","ر":"r","ز":"z","س":"s","ش":"sh","ص":"s","ض":"dh","ط":"t","ظ":"z","ع":"a","غ":"gh","ف":"f","ق":"q","ك":"k","ل":"l","م":"m","ن":"n","ه":"h","و":"w","ى":"a","ي":"y","ً":"an","ٌ":"on","ٍ":"en","َ":"a","ُ":"u","ِ":"e","ْ":"","٠":"0","١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","پ":"p","چ":"ch","ژ":"zh","ک":"k","گ":"g","ی":"y","۰":"0","۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9","฿":"baht","ა":"a","ბ":"b","გ":"g","დ":"d","ე":"e","ვ":"v","ზ":"z","თ":"t","ი":"i","კ":"k","ლ":"l","მ":"m","ნ":"n","ო":"o","პ":"p","ჟ":"zh","რ":"r","ს":"s","ტ":"t","უ":"u","ფ":"f","ქ":"k","ღ":"gh","ყ":"q","შ":"sh","ჩ":"ch","ც":"ts","ძ":"dz","წ":"ts","ჭ":"ch","ხ":"kh","ჯ":"j","ჰ":"h","Ṣ":"S","ṣ":"s","Ẁ":"W","ẁ":"w","Ẃ":"W","ẃ":"w","Ẅ":"W","ẅ":"w","ẞ":"SS","Ạ":"A","ạ":"a","Ả":"A","ả":"a","Ấ":"A","ấ":"a","Ầ":"A","ầ":"a","Ẩ":"A","ẩ":"a","Ẫ":"A","ẫ":"a","Ậ":"A","ậ":"a","Ắ":"A","ắ":"a","Ằ":"A","ằ":"a","Ẳ":"A","ẳ":"a","Ẵ":"A","ẵ":"a","Ặ":"A","ặ":"a","Ẹ":"E","ẹ":"e","Ẻ":"E","ẻ":"e","Ẽ":"E","ẽ":"e","Ế":"E","ế":"e","Ề":"E","ề":"e","Ể":"E","ể":"e","Ễ":"E","ễ":"e","Ệ":"E","ệ":"e","Ỉ":"I","ỉ":"i","Ị":"I","ị":"i","Ọ":"O","ọ":"o","Ỏ":"O","ỏ":"o","Ố":"O","ố":"o","Ồ":"O","ồ":"o","Ổ":"O","ổ":"o","Ỗ":"O","ỗ":"o","Ộ":"O","ộ":"o","Ớ":"O","ớ":"o","Ờ":"O","ờ":"o","Ở":"O","ở":"o","Ỡ":"O","ỡ":"o","Ợ":"O","ợ":"o","Ụ":"U","ụ":"u","Ủ":"U","ủ":"u","Ứ":"U","ứ":"u","Ừ":"U","ừ":"u","Ử":"U","ử":"u","Ữ":"U","ữ":"u","Ự":"U","ự":"u","Ỳ":"Y","ỳ":"y","Ỵ":"Y","ỵ":"y","Ỷ":"Y","ỷ":"y","Ỹ":"Y","ỹ":"y","–":"-","‘":"'","’":"'","“":"\\"","”":"\\"","„":"\\"","†":"+","•":"*","…":"...","₠":"ecu","₢":"cruzeiro","₣":"french franc","₤":"lira","₥":"mill","₦":"naira","₧":"peseta","₨":"rupee","₩":"won","₪":"new shequel","₫":"dong","€":"euro","₭":"kip","₮":"tugrik","₯":"drachma","₰":"penny","₱":"peso","₲":"guarani","₳":"austral","₴":"hryvnia","₵":"cedi","₸":"kazakhstani tenge","₹":"indian rupee","₺":"turkish lira","₽":"russian ruble","₿":"bitcoin","℠":"sm","™":"tm","∂":"d","∆":"delta","∑":"sum","∞":"infinity","♥":"love","元":"yuan","円":"yen","﷼":"rial","ﻵ":"laa","ﻷ":"laa","ﻹ":"lai","ﻻ":"la"}`),n=JSON.parse('{"bg":{"Й":"Y","Ц":"Ts","Щ":"Sht","Ъ":"A","Ь":"Y","й":"y","ц":"ts","щ":"sht","ъ":"a","ь":"y"},"de":{"Ä":"AE","ä":"ae","Ö":"OE","ö":"oe","Ü":"UE","ü":"ue","ß":"ss","%":"prozent","&":"und","|":"oder","∑":"summe","∞":"unendlich","♥":"liebe"},"es":{"%":"por ciento","&":"y","<":"menor que",">":"mayor que","|":"o","¢":"centavos","£":"libras","¤":"moneda","₣":"francos","∑":"suma","∞":"infinito","♥":"amor"},"fr":{"%":"pourcent","&":"et","<":"plus petit",">":"plus grand","|":"ou","¢":"centime","£":"livre","¤":"devise","₣":"franc","∑":"somme","∞":"infini","♥":"amour"},"pt":{"%":"porcento","&":"e","<":"menor",">":"maior","|":"ou","¢":"centavo","∑":"soma","£":"libra","∞":"infinito","♥":"amor"},"uk":{"И":"Y","и":"y","Й":"Y","й":"y","Ц":"Ts","ц":"ts","Х":"Kh","х":"kh","Щ":"Shch","щ":"shch","Г":"H","г":"h"},"vi":{"Đ":"D","đ":"d"},"da":{"Ø":"OE","ø":"oe","Å":"AA","å":"aa","%":"procent","&":"og","|":"eller","$":"dollar","<":"mindre end",">":"større end"},"nb":{"&":"og","Å":"AA","Æ":"AE","Ø":"OE","å":"aa","æ":"ae","ø":"oe"},"it":{"&":"e"},"nl":{"&":"en"},"sv":{"&":"och","Å":"AA","Ä":"AE","Ö":"OE","å":"aa","ä":"ae","ö":"oe"}}');function a(u,s){if(typeof u!="string")throw new Error("slugify: string argument expected");s=typeof s=="string"?{replacement:s}:s||{};var f=n[s.locale]||{},p=s.replacement===void 0?"-":s.replacement,R=s.trim===void 0?!0:s.trim,S=u.normalize().split("").reduce(function(_,g){var N=f[g];return N===void 0&&(N=r[g]),N===void 0&&(N=g),N===p&&(N=" "),_+N.replace(s.remove||/[^\w\s$*_+~.()'"!\-:@]+/g,"")},"");return s.strict&&(S=S.replace(/[^A-Za-z0-9\s]/g,"")),R&&(S=S.trim()),S=S.replace(/\s+/g,p),s.lower&&(S=S.toLowerCase()),S}return a.extend=function(u){Object.assign(r,u)},a})})(Te)),Te.exports}var Ao=go();const _o=x(Ao);function So(e){return _o(Et(e),{lower:!0,strict:!0})}var D=(e=>(e.Camel="camelCase",e.Capital="capitalCase",e.Param="paramCase",e.Pascal="pascalCase",e.Slug="slugCase",e.Snake="snakeCase",e))(D||{});const Ro={camelCase:mo,capitalCase:po,paramCase:Et,pascalCase:ho,slugCase:So,snakeCase:Oo};function To(e,t){return e.some(r=>typeof r=="string"?r===t:r.test(t))}function wo(e){return e===Object(e)&&!Array.isArray(e)&&typeof e!="function"}function J(e,t,r={deep:!0}){return wo(e)&&!(e instanceof Date)?Object.keys(e).reduce((n,a)=>{const u=r?.exclude&&To(r.exclude,a)?a:Ro[t](a);return n[u]=r.deep?J(e[a],t,r):e[a],n},{}):Array.isArray(e)?e.map(n=>J(n,t,r)):e}var we={exports:{}},ko=we.exports,Gt;function Ut(){return Gt||(Gt=1,(function(e,t){(function(r,n){e.exports=n()})(ko,(function(){var r=1e3,n=6e4,a=36e5,u="millisecond",s="second",f="minute",p="hour",R="day",S="week",_="month",g="quarter",N="year",C="date",h="Invalid Date",O=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,T=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,M={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(w){var c=["th","st","nd","rd"],d=w%100;return"["+w+(c[(d-20)%10]||c[d]||c[0])+"]"}},k=function(w,c,d){var m=String(w);return!m||m.length>=c?w:""+Array(c+1-m.length).join(d)+w},b={s:k,z:function(w){var c=-w.utcOffset(),d=Math.abs(c),m=Math.floor(d/60),l=d%60;return(c<=0?"+":"-")+k(m,2,"0")+":"+k(l,2,"0")},m:function w(c,d){if(c.date()<d.date())return-w(d,c);var m=12*(d.year()-c.year())+(d.month()-c.month()),l=c.clone().add(m,_),A=d-l<0,y=c.clone().add(m+(A?-1:1),_);return+(-(m+(d-l)/(A?l-y:y-l))||0)},a:function(w){return w<0?Math.ceil(w)||0:Math.floor(w)},p:function(w){return{M:_,y:N,w:S,d:R,D:C,h:p,m:f,s,ms:u,Q:g}[w]||String(w||"").toLowerCase().replace(/s$/,"")},u:function(w){return w===void 0}},P="en",E={};E[P]=M;var $="$isDayjsObject",q=function(w){return w instanceof K||!(!w||!w[$])},B=function w(c,d,m){var l;if(!c)return P;if(typeof c=="string"){var A=c.toLowerCase();E[A]&&(l=A),d&&(E[A]=d,l=A);var y=c.split("-");if(!l&&y.length>1)return w(y[0])}else{var I=c.name;E[I]=c,l=I}return!m&&l&&(P=l),l||!m&&P},H=function(w,c){if(q(w))return w.clone();var d=typeof c=="object"?c:{};return d.date=w,d.args=arguments,new K(d)},v=b;v.l=B,v.i=q,v.w=function(w,c){return H(w,{locale:c.$L,utc:c.$u,x:c.$x,$offset:c.$offset})};var K=(function(){function w(d){this.$L=B(d.locale,null,!0),this.parse(d),this.$x=this.$x||d.x||{},this[$]=!0}var c=w.prototype;return c.parse=function(d){this.$d=(function(m){var l=m.date,A=m.utc;if(l===null)return new Date(NaN);if(v.u(l))return new Date;if(l instanceof Date)return new Date(l);if(typeof l=="string"&&!/Z$/i.test(l)){var y=l.match(O);if(y){var I=y[2]-1||0,L=(y[7]||"0").substring(0,3);return A?new Date(Date.UTC(y[1],I,y[3]||1,y[4]||0,y[5]||0,y[6]||0,L)):new Date(y[1],I,y[3]||1,y[4]||0,y[5]||0,y[6]||0,L)}}return new Date(l)})(d),this.init()},c.init=function(){var d=this.$d;this.$y=d.getFullYear(),this.$M=d.getMonth(),this.$D=d.getDate(),this.$W=d.getDay(),this.$H=d.getHours(),this.$m=d.getMinutes(),this.$s=d.getSeconds(),this.$ms=d.getMilliseconds()},c.$utils=function(){return v},c.isValid=function(){return this.$d.toString()!==h},c.isSame=function(d,m){var l=H(d);return this.startOf(m)<=l&&l<=this.endOf(m)},c.isAfter=function(d,m){return H(d)<this.startOf(m)},c.isBefore=function(d,m){return this.endOf(m)<H(d)},c.$g=function(d,m,l){return v.u(d)?this[m]:this.set(l,d)},c.unix=function(){return Math.floor(this.valueOf()/1e3)},c.valueOf=function(){return this.$d.getTime()},c.startOf=function(d,m){var l=this,A=!!v.u(m)||m,y=v.p(d),I=function(ie,Z){var Q=v.w(l.$u?Date.UTC(l.$y,Z,ie):new Date(l.$y,Z,ie),l);return A?Q:Q.endOf(R)},L=function(ie,Z){return v.w(l.toDate()[ie].apply(l.toDate("s"),(A?[0,0,0,0]:[23,59,59,999]).slice(Z)),l)},Y=this.$W,F=this.$M,z=this.$D,ce="set"+(this.$u?"UTC":"");switch(y){case N:return A?I(1,0):I(31,11);case _:return A?I(1,F):I(0,F+1);case S:var ne=this.$locale().weekStart||0,he=(Y<ne?Y+7:Y)-ne;return I(A?z-he:z+(6-he),F);case R:case C:return L(ce+"Hours",0);case p:return L(ce+"Minutes",1);case f:return L(ce+"Seconds",2);case s:return L(ce+"Milliseconds",3);default:return this.clone()}},c.endOf=function(d){return this.startOf(d,!1)},c.$set=function(d,m){var l,A=v.p(d),y="set"+(this.$u?"UTC":""),I=(l={},l[R]=y+"Date",l[C]=y+"Date",l[_]=y+"Month",l[N]=y+"FullYear",l[p]=y+"Hours",l[f]=y+"Minutes",l[s]=y+"Seconds",l[u]=y+"Milliseconds",l)[A],L=A===R?this.$D+(m-this.$W):m;if(A===_||A===N){var Y=this.clone().set(C,1);Y.$d[I](L),Y.init(),this.$d=Y.set(C,Math.min(this.$D,Y.daysInMonth())).$d}else I&&this.$d[I](L);return this.init(),this},c.set=function(d,m){return this.clone().$set(d,m)},c.get=function(d){return this[v.p(d)]()},c.add=function(d,m){var l,A=this;d=Number(d);var y=v.p(m),I=function(F){var z=H(A);return v.w(z.date(z.date()+Math.round(F*d)),A)};if(y===_)return this.set(_,this.$M+d);if(y===N)return this.set(N,this.$y+d);if(y===R)return I(1);if(y===S)return I(7);var L=(l={},l[f]=n,l[p]=a,l[s]=r,l)[y]||1,Y=this.$d.getTime()+d*L;return v.w(Y,this)},c.subtract=function(d,m){return this.add(-1*d,m)},c.format=function(d){var m=this,l=this.$locale();if(!this.isValid())return l.invalidDate||h;var A=d||"YYYY-MM-DDTHH:mm:ssZ",y=v.z(this),I=this.$H,L=this.$m,Y=this.$M,F=l.weekdays,z=l.months,ce=l.meridiem,ne=function(Z,Q,re,se){return Z&&(Z[Q]||Z(m,A))||re[Q].slice(0,se)},he=function(Z){return v.s(I%12||12,Z,"0")},ie=ce||function(Z,Q,re){var se=Z<12?"AM":"PM";return re?se.toLowerCase():se};return A.replace(T,(function(Z,Q){return Q||(function(re){switch(re){case"YY":return String(m.$y).slice(-2);case"YYYY":return v.s(m.$y,4,"0");case"M":return Y+1;case"MM":return v.s(Y+1,2,"0");case"MMM":return ne(l.monthsShort,Y,z,3);case"MMMM":return ne(z,Y);case"D":return m.$D;case"DD":return v.s(m.$D,2,"0");case"d":return String(m.$W);case"dd":return ne(l.weekdaysMin,m.$W,F,2);case"ddd":return ne(l.weekdaysShort,m.$W,F,3);case"dddd":return F[m.$W];case"H":return String(I);case"HH":return v.s(I,2,"0");case"h":return he(1);case"hh":return he(2);case"a":return ie(I,L,!0);case"A":return ie(I,L,!1);case"m":return String(L);case"mm":return v.s(L,2,"0");case"s":return String(m.$s);case"ss":return v.s(m.$s,2,"0");case"SSS":return v.s(m.$ms,3,"0");case"Z":return y}return null})(Z)||y.replace(":","")}))},c.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},c.diff=function(d,m,l){var A,y=this,I=v.p(m),L=H(d),Y=(L.utcOffset()-this.utcOffset())*n,F=this-L,z=function(){return v.m(y,L)};switch(I){case N:A=z()/12;break;case _:A=z();break;case g:A=z()/3;break;case S:A=(F-Y)/6048e5;break;case R:A=(F-Y)/864e5;break;case p:A=F/a;break;case f:A=F/n;break;case s:A=F/r;break;default:A=F}return l?A:v.a(A)},c.daysInMonth=function(){return this.endOf(_).$D},c.$locale=function(){return E[this.$L]},c.locale=function(d,m){if(!d)return this.$L;var l=this.clone(),A=B(d,m,!0);return A&&(l.$L=A),l},c.clone=function(){return v.w(this.$d,this)},c.toDate=function(){return new Date(this.valueOf())},c.toJSON=function(){return this.isValid()?this.toISOString():null},c.toISOString=function(){return this.$d.toISOString()},c.toString=function(){return this.$d.toUTCString()},w})(),W=K.prototype;return H.prototype=W,[["$ms",u],["$s",s],["$m",f],["$H",p],["$W",R],["$M",_],["$y",N],["$D",C]].forEach((function(w){W[w[1]]=function(c){return this.$g(c,w[0],w[1])}})),H.extend=function(w,c){return w.$i||(w(c,K,H),w.$i=!0),H},H.locale=B,H.isDayjs=q,H.unix=function(w){return H(1e3*w)},H.en=E[P],H.Ls=E,H.p={},H}))})(we)),we.exports}var Mo=Ut();const j=x(Mo);var ke={exports:{}},No=ke.exports,$t;function Co(){return $t||($t=1,(function(e,t){(function(r,n){e.exports=n()})(No,(function(){return function(r,n){var a=n.prototype,u=a.format;a.format=function(s){var f=this,p=this.$locale();if(!this.isValid())return u.bind(this)(s);var R=this.$utils(),S=(s||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,(function(_){switch(_){case"Q":return Math.ceil((f.$M+1)/3);case"Do":return p.ordinal(f.$D);case"gggg":return f.weekYear();case"GGGG":return f.isoWeekYear();case"wo":return p.ordinal(f.week(),"W");case"w":case"ww":return R.s(f.week(),_==="w"?1:2,"0");case"W":case"WW":return R.s(f.isoWeek(),_==="W"?1:2,"0");case"k":case"kk":return R.s(String(f.$H===0?24:f.$H),_==="k"?1:2,"0");case"X":return Math.floor(f.$d.getTime()/1e3);case"x":return f.$d.getTime();case"z":return"["+f.offsetName()+"]";case"zzz":return"["+f.offsetName("long")+"]";default:return _}}));return u.bind(this)(S)}}}))})(ke)),ke.exports}var Po=Co();const Io=x(Po);var Me={exports:{}},vo=Me.exports,qt;function Jo(){return qt||(qt=1,(function(e,t){(function(r,n){e.exports=n()})(vo,(function(){var r={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},n=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,a=/\d/,u=/\d\d/,s=/\d\d?/,f=/\d*[^-_:/,()\s\d]+/,p={},R=function(O){return(O=+O)+(O>68?1900:2e3)},S=function(O){return function(T){this[O]=+T}},_=[/[+-]\d\d:?(\d\d)?|Z/,function(O){(this.zone||(this.zone={})).offset=(function(T){if(!T||T==="Z")return 0;var M=T.match(/([+-]|\d\d)/g),k=60*M[1]+(+M[2]||0);return k===0?0:M[0]==="+"?-k:k})(O)}],g=function(O){var T=p[O];return T&&(T.indexOf?T:T.s.concat(T.f))},N=function(O,T){var M,k=p.meridiem;if(k){for(var b=1;b<=24;b+=1)if(O.indexOf(k(b,0,T))>-1){M=b>12;break}}else M=O===(T?"pm":"PM");return M},C={A:[f,function(O){this.afternoon=N(O,!1)}],a:[f,function(O){this.afternoon=N(O,!0)}],Q:[a,function(O){this.month=3*(O-1)+1}],S:[a,function(O){this.milliseconds=100*+O}],SS:[u,function(O){this.milliseconds=10*+O}],SSS:[/\d{3}/,function(O){this.milliseconds=+O}],s:[s,S("seconds")],ss:[s,S("seconds")],m:[s,S("minutes")],mm:[s,S("minutes")],H:[s,S("hours")],h:[s,S("hours")],HH:[s,S("hours")],hh:[s,S("hours")],D:[s,S("day")],DD:[u,S("day")],Do:[f,function(O){var T=p.ordinal,M=O.match(/\d+/);if(this.day=M[0],T)for(var k=1;k<=31;k+=1)T(k).replace(/\[|\]/g,"")===O&&(this.day=k)}],w:[s,S("week")],ww:[u,S("week")],M:[s,S("month")],MM:[u,S("month")],MMM:[f,function(O){var T=g("months"),M=(g("monthsShort")||T.map((function(k){return k.slice(0,3)}))).indexOf(O)+1;if(M<1)throw new Error;this.month=M%12||M}],MMMM:[f,function(O){var T=g("months").indexOf(O)+1;if(T<1)throw new Error;this.month=T%12||T}],Y:[/[+-]?\d+/,S("year")],YY:[u,function(O){this.year=R(O)}],YYYY:[/\d{4}/,S("year")],Z:_,ZZ:_};function h(O){var T,M;T=O,M=p&&p.formats;for(var k=(O=T.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,(function(H,v,K){var W=K&&K.toUpperCase();return v||M[K]||r[K]||M[W].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(w,c,d){return c||d.slice(1)}))}))).match(n),b=k.length,P=0;P<b;P+=1){var E=k[P],$=C[E],q=$&&$[0],B=$&&$[1];k[P]=B?{regex:q,parser:B}:E.replace(/^\[|\]$/g,"")}return function(H){for(var v={},K=0,W=0;K<b;K+=1){var w=k[K];if(typeof w=="string")W+=w.length;else{var c=w.regex,d=w.parser,m=H.slice(W),l=c.exec(m)[0];d.call(v,l),H=H.replace(l,"")}}return(function(A){var y=A.afternoon;if(y!==void 0){var I=A.hours;y?I<12&&(A.hours+=12):I===12&&(A.hours=0),delete A.afternoon}})(v),v}}return function(O,T,M){M.p.customParseFormat=!0,O&&O.parseTwoDigitYear&&(R=O.parseTwoDigitYear);var k=T.prototype,b=k.parse;k.parse=function(P){var E=P.date,$=P.utc,q=P.args;this.$u=$;var B=q[1];if(typeof B=="string"){var H=q[2]===!0,v=q[3]===!0,K=H||v,W=q[2];v&&(W=q[2]),p=this.$locale(),!H&&W&&(p=M.Ls[W]),this.$d=(function(m,l,A,y){try{if(["x","X"].indexOf(l)>-1)return new Date((l==="X"?1e3:1)*m);var I=h(l)(m),L=I.year,Y=I.month,F=I.day,z=I.hours,ce=I.minutes,ne=I.seconds,he=I.milliseconds,ie=I.zone,Z=I.week,Q=new Date,re=F||(L||Y?1:Q.getDate()),se=L||Q.getFullYear(),Ve=0;L&&!Y||(Ve=Y>0?Y-1:Q.getMonth());var Ze,Ct=z||0,Pt=ce||0,It=ne||0,vt=he||0;return ie?new Date(Date.UTC(se,Ve,re,Ct,Pt,It,vt+60*ie.offset*1e3)):A?new Date(Date.UTC(se,Ve,re,Ct,Pt,It,vt)):(Ze=new Date(se,Ve,re,Ct,Pt,It,vt),Z&&(Ze=y(Ze).week(Z).toDate()),Ze)}catch{return new Date("")}})(E,B,$,M),this.init(),W&&W!==!0&&(this.$L=this.locale(W).$L),K&&E!=this.format(B)&&(this.$d=new Date("")),p={}}else if(B instanceof Array)for(var w=B.length,c=1;c<=w;c+=1){q[1]=B[c-1];var d=M.apply(this,q);if(d.isValid()){this.$d=d.$d,this.$L=d.$L,this.init();break}c===w&&(this.$d=new Date(""))}else b.call(this,P)}}}))})(Me)),Me.exports}var Do=Jo();const Fo=x(Do);var Ne={exports:{}},Ho=Ne.exports,Kt;function bo(){return Kt||(Kt=1,(function(e,t){(function(r,n){e.exports=n()})(Ho,(function(){return function(r,n,a){n.prototype.isBetween=function(u,s,f,p){var R=a(u),S=a(s),_=(p=p||"()")[0]==="(",g=p[1]===")";return(_?this.isAfter(R,f):!this.isBefore(R,f))&&(g?this.isBefore(S,f):!this.isAfter(S,f))||(_?this.isBefore(R,f):!this.isAfter(R,f))&&(g?this.isAfter(S,f):!this.isBefore(S,f))}}}))})(Ne)),Ne.exports}var Eo=bo();const Bo=x(Eo);var Ce={exports:{}},Lo=Ce.exports,Yt;function Go(){return Yt||(Yt=1,(function(e,t){(function(r,n){e.exports=n()})(Lo,(function(){return function(r,n){n.prototype.isSameOrAfter=function(a,u){return this.isSame(a,u)||this.isAfter(a,u)}}}))})(Ce)),Ce.exports}var Uo=Go();const $o=x(Uo);var Pe={exports:{}},qo=Pe.exports,zt;function Ko(){return zt||(zt=1,(function(e,t){(function(r,n){e.exports=n()})(qo,(function(){return function(r,n){n.prototype.isSameOrBefore=function(a,u){return this.isSame(a,u)||this.isBefore(a,u)}}}))})(Pe)),Pe.exports}var Yo=Ko();const zo=x(Yo);var Ie={exports:{}},Vo=Ie.exports,Vt;function Zo(){return Vt||(Vt=1,(function(e,t){(function(r,n){e.exports=n()})(Vo,(function(){return function(r,n,a){var u=n.prototype,s=function(_){return _&&(_.indexOf?_:_.s)},f=function(_,g,N,C,h){var O=_.name?_:_.$locale(),T=s(O[g]),M=s(O[N]),k=T||M.map((function(P){return P.slice(0,C)}));if(!h)return k;var b=O.weekStart;return k.map((function(P,E){return k[(E+(b||0))%7]}))},p=function(){return a.Ls[a.locale()]},R=function(_,g){return _.formats[g]||(function(N){return N.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(C,h,O){return h||O.slice(1)}))})(_.formats[g.toUpperCase()])},S=function(){var _=this;return{months:function(g){return g?g.format("MMMM"):f(_,"months")},monthsShort:function(g){return g?g.format("MMM"):f(_,"monthsShort","months",3)},firstDayOfWeek:function(){return _.$locale().weekStart||0},weekdays:function(g){return g?g.format("dddd"):f(_,"weekdays")},weekdaysMin:function(g){return g?g.format("dd"):f(_,"weekdaysMin","weekdays",2)},weekdaysShort:function(g){return g?g.format("ddd"):f(_,"weekdaysShort","weekdays",3)},longDateFormat:function(g){return R(_.$locale(),g)},meridiem:this.$locale().meridiem,ordinal:this.$locale().ordinal}};u.localeData=function(){return S.bind(this)()},a.localeData=function(){var _=p();return{firstDayOfWeek:function(){return _.weekStart||0},weekdays:function(){return a.weekdays()},weekdaysShort:function(){return a.weekdaysShort()},weekdaysMin:function(){return a.weekdaysMin()},months:function(){return a.months()},monthsShort:function(){return a.monthsShort()},longDateFormat:function(g){return R(_,g)},meridiem:_.meridiem,ordinal:_.ordinal}},a.months=function(){return f(p(),"months")},a.monthsShort=function(){return f(p(),"monthsShort","months",3)},a.weekdays=function(_){return f(p(),"weekdays",null,null,_)},a.weekdaysShort=function(_){return f(p(),"weekdaysShort","weekdays",3,_)},a.weekdaysMin=function(_){return f(p(),"weekdaysMin","weekdays",2,_)}}}))})(Ie)),Ie.exports}var Wo=Zo();const xo=x(Wo);var ve={exports:{}},Xo=ve.exports,Zt;function Qo(){return Zt||(Zt=1,(function(e,t){(function(r,n){e.exports=n()})(Xo,(function(){var r={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};return function(n,a,u){var s=a.prototype,f=s.format;u.en.formats=r,s.format=function(p){p===void 0&&(p="YYYY-MM-DDTHH:mm:ssZ");var R=this.$locale().formats,S=(function(_,g){return _.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,(function(N,C,h){var O=h&&h.toUpperCase();return C||g[h]||r[h]||g[O].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(T,M,k){return M||k.slice(1)}))}))})(p,R===void 0?{}:R);return f.call(this,S)}}}))})(ve)),ve.exports}var jo=Qo();const ea=x(jo);var Je={exports:{}},ta=Je.exports,Wt;function ia(){return Wt||(Wt=1,(function(e,t){(function(r,n){e.exports=n()})(ta,(function(){return function(r,n,a){var u=function(s,f){if(!f||!f.length||f.length===1&&!f[0]||f.length===1&&Array.isArray(f[0])&&!f[0].length)return null;var p;f.length===1&&f[0].length>0&&(f=f[0]),p=(f=f.filter((function(S){return S})))[0];for(var R=1;R<f.length;R+=1)f[R].isValid()&&!f[R][s](p)||(p=f[R]);return p};a.max=function(){var s=[].slice.call(arguments,0);return u("isAfter",s)},a.min=function(){var s=[].slice.call(arguments,0);return u("isBefore",s)}}}))})(Je)),Je.exports}var na=ia();const ra=x(na);var De={exports:{}},oa=De.exports,xt;function aa(){return xt||(xt=1,(function(e,t){(function(r,n){e.exports=n()})(oa,(function(){return function(r,n,a){r=r||{};var u=n.prototype,s={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function f(R,S,_,g){return u.fromToBase(R,S,_,g)}a.en.relativeTime=s,u.fromToBase=function(R,S,_,g,N){for(var C,h,O,T=_.$locale().relativeTime||s,M=r.thresholds||[{l:"s",r:44,d:"second"},{l:"m",r:89},{l:"mm",r:44,d:"minute"},{l:"h",r:89},{l:"hh",r:21,d:"hour"},{l:"d",r:35},{l:"dd",r:25,d:"day"},{l:"M",r:45},{l:"MM",r:10,d:"month"},{l:"y",r:17},{l:"yy",d:"year"}],k=M.length,b=0;b<k;b+=1){var P=M[b];P.d&&(C=g?a(R).diff(_,P.d,!0):_.diff(R,P.d,!0));var E=(r.rounding||Math.round)(Math.abs(C));if(O=C>0,E<=P.r||!P.r){E<=1&&b>0&&(P=M[b-1]);var $=T[P.l];N&&(E=N(""+E)),h=typeof $=="string"?$.replace("%d",E):$(E,S,P.l,O);break}}if(S)return h;var q=O?T.future:T.past;return typeof q=="function"?q(h):q.replace("%s",h)},u.to=function(R,S){return f(R,S,this,!0)},u.from=function(R,S){return f(R,S,this)};var p=function(R){return R.$u?a.utc():a()};u.toNow=function(R){return this.to(p(this),R)},u.fromNow=function(R){return this.from(p(this),R)}}}))})(De)),De.exports}var ca=aa();const sa=x(ca);var Fe={exports:{}},da=Fe.exports,Xt;function ua(){return Xt||(Xt=1,(function(e,t){(function(r,n){e.exports=n()})(da,(function(){var r={year:0,month:1,day:2,hour:3,minute:4,second:5},n={};return function(a,u,s){var f,p=function(g,N,C){C===void 0&&(C={});var h=new Date(g),O=(function(T,M){M===void 0&&(M={});var k=M.timeZoneName||"short",b=T+"|"+k,P=n[b];return P||(P=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:T,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",timeZoneName:k}),n[b]=P),P})(N,C);return O.formatToParts(h)},R=function(g,N){for(var C=p(g,N),h=[],O=0;O<C.length;O+=1){var T=C[O],M=T.type,k=T.value,b=r[M];b>=0&&(h[b]=parseInt(k,10))}var P=h[3],E=P===24?0:P,$=h[0]+"-"+h[1]+"-"+h[2]+" "+E+":"+h[4]+":"+h[5]+":000",q=+g;return(s.utc($).valueOf()-(q-=q%1e3))/6e4},S=u.prototype;S.tz=function(g,N){g===void 0&&(g=f);var C,h=this.utcOffset(),O=this.toDate(),T=O.toLocaleString("en-US",{timeZone:g}),M=Math.round((O-new Date(T))/1e3/60),k=15*-Math.round(O.getTimezoneOffset()/15)-M;if(!Number(k))C=this.utcOffset(0,N);else if(C=s(T,{locale:this.$L}).$set("millisecond",this.$ms).utcOffset(k,!0),N){var b=C.utcOffset();C=C.add(h-b,"minute")}return C.$x.$timezone=g,C},S.offsetName=function(g){var N=this.$x.$timezone||s.tz.guess(),C=p(this.valueOf(),N,{timeZoneName:g}).find((function(h){return h.type.toLowerCase()==="timezonename"}));return C&&C.value};var _=S.startOf;S.startOf=function(g,N){if(!this.$x||!this.$x.$timezone)return _.call(this,g,N);var C=s(this.format("YYYY-MM-DD HH:mm:ss:SSS"),{locale:this.$L});return _.call(C,g,N).tz(this.$x.$timezone,!0)},s.tz=function(g,N,C){var h=C&&N,O=C||N||f,T=R(+s(),O);if(typeof g!="string")return s(g).tz(O);var M=(function(E,$,q){var B=E-60*$*1e3,H=R(B,q);if($===H)return[B,$];var v=R(B-=60*(H-$)*1e3,q);return H===v?[B,H]:[E-60*Math.min(H,v)*1e3,Math.max(H,v)]})(s.utc(g,h).valueOf(),T,O),k=M[0],b=M[1],P=s(k).utcOffset(b);return P.$x.$timezone=O,P},s.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},s.tz.setDefault=function(g){f=g}}}))})(Fe)),Fe.exports}var fa=ua();const la=x(fa);var He={exports:{}},ma=He.exports,Qt;function ha(){return Qt||(Qt=1,(function(e,t){(function(r,n){e.exports=n()})(ma,(function(){var r="minute",n=/[+-]\d\d(?::?\d\d)?/g,a=/([+-]|\d\d)/g;return function(u,s,f){var p=s.prototype;f.utc=function(h){var O={date:h,utc:!0,args:arguments};return new s(O)},p.utc=function(h){var O=f(this.toDate(),{locale:this.$L,utc:!0});return h?O.add(this.utcOffset(),r):O},p.local=function(){return f(this.toDate(),{locale:this.$L,utc:!1})};var R=p.parse;p.parse=function(h){h.utc&&(this.$u=!0),this.$utils().u(h.$offset)||(this.$offset=h.$offset),R.call(this,h)};var S=p.init;p.init=function(){if(this.$u){var h=this.$d;this.$y=h.getUTCFullYear(),this.$M=h.getUTCMonth(),this.$D=h.getUTCDate(),this.$W=h.getUTCDay(),this.$H=h.getUTCHours(),this.$m=h.getUTCMinutes(),this.$s=h.getUTCSeconds(),this.$ms=h.getUTCMilliseconds()}else S.call(this)};var _=p.utcOffset;p.utcOffset=function(h,O){var T=this.$utils().u;if(T(h))return this.$u?0:T(this.$offset)?_.call(this):this.$offset;if(typeof h=="string"&&(h=(function(P){P===void 0&&(P="");var E=P.match(n);if(!E)return null;var $=(""+E[0]).match(a)||["-",0,0],q=$[0],B=60*+$[1]+ +$[2];return B===0?0:q==="+"?B:-B})(h),h===null))return this;var M=Math.abs(h)<=16?60*h:h;if(M===0)return this.utc(O);var k=this.clone();if(O)return k.$offset=M,k.$u=!1,k;var b=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();return(k=this.local().add(M+b,r)).$offset=M,k.$x.$localOffset=b,k};var g=p.format;p.format=function(h){var O=h||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return g.call(this,O)},p.valueOf=function(){var h=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*h},p.isUTC=function(){return!!this.$u},p.toISOString=function(){return this.toDate().toISOString()},p.toString=function(){return this.toDate().toUTCString()};var N=p.toDate;p.toDate=function(h){return h==="s"&&this.$offset?f(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():N.call(this)};var C=p.diff;p.diff=function(h,O,T){if(h&&this.$u===h.$u)return C.call(this,h,O,T);var M=this.local(),k=f(h).local();return C.call(M,k,O,T)}}}))})(He)),He.exports}var pa=ha();const Oa=x(pa);var be={exports:{}},ya=be.exports,jt;function ga(){return jt||(jt=1,(function(e,t){(function(r,n){e.exports=n(Ut())})(ya,(function(r){function n(s){return s&&typeof s=="object"&&"default"in s?s:{default:s}}var a=n(r),u={name:"fr",weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},ordinal:function(s){return""+s+(s===1?"er":"")}};return a.default.locale(u,null,!0),u}))})(be)),be.exports}ga();var Ee={exports:{}},Aa=Ee.exports,ei;function _a(){return ei||(ei=1,(function(e,t){(function(r,n){e.exports=n()})(Aa,(function(){return{name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(r){var n=["th","st","nd","rd"],a=r%100;return"["+r+(n[(a-20)%10]||n[a]||n[0])+"]"}}}))})(Ee)),Ee.exports}_a(),j.extend(Io),j.extend(Fo),j.extend(Bo),j.extend($o),j.extend(zo),j.extend(ea),j.extend(xo),j.extend(ra),j.extend(sa),j.extend(la),j.extend(Oa);function oe(e){if(e===null||typeof e!="object")return!1;const t=Object.getPrototypeOf(e);return t===Object.prototype||t===null}function Be(e,t=new WeakSet){if(e==null||typeof e!="object"||t.has(e))return e;if(t.add(e),Array.isArray(e))return e.map(r=>Be(r,t));if(oe(e)){const r={};for(const n in e)Object.hasOwn(e,n)&&(r[n]=Be(e[n],t));return r}return e}function Qe(e,t,r=new WeakSet){if(!(!oe(t)||!oe(e))&&!(t===e||r.has(t))){r.add(t);for(const n in t)if(Object.hasOwn(t,n)){const a=t[n],u=e[n];oe(a)&&oe(u)?Qe(u,a,r):Array.isArray(a)&&Array.isArray(u)?e[n]=ti(u,a,r):e[n]=Be(a,r)}}}function ti(e,t,r){const n=e.slice();for(let a=0;a<t.length;a++){const u=t[a],s=n[a];if(oe(u)&&oe(s)){const f={...s};Qe(f,u,r),n[a]=f}else Array.isArray(u)&&Array.isArray(s)?n[a]=ti(s,u,r):n[a]=Be(u,r)}return n}function ii(e,...t){if(!oe(e))throw new TypeError("Target must be a plain object");const r=new WeakSet;for(const n of t)n!=null&&Qe(e,n,r);return e}const V=[];for(let e=0;e<256;++e)V.push((e+256).toString(16).slice(1));function Sa(e,t=0){return(V[e[t+0]]+V[e[t+1]]+V[e[t+2]]+V[e[t+3]]+"-"+V[e[t+4]]+V[e[t+5]]+"-"+V[e[t+6]]+V[e[t+7]]+"-"+V[e[t+8]]+V[e[t+9]]+"-"+V[e[t+10]]+V[e[t+11]]+V[e[t+12]]+V[e[t+13]]+V[e[t+14]]+V[e[t+15]]).toLowerCase()}let je;const Ra=new Uint8Array(16);function Ta(){if(!je){if(typeof crypto>"u"||!crypto.getRandomValues)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");je=crypto.getRandomValues.bind(crypto)}return je(Ra)}const ni={randomUUID:typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};function wa(e,t,r){e=e||{};const n=e.random??e.rng?.()??Ta();if(n.length<16)throw new Error("Random bytes length must be >= 16");return n[6]=n[6]&15|64,n[8]=n[8]&63|128,Sa(n)}function ka(e,t,r){return ni.randomUUID&&!e?ni.randomUUID():wa(e)}const Ma=1500;class pe{static instance=null;defaultOptions={callCount:1,interval:Ma,maxCallCount:20,minCallCount:1};events={complete:()=>{},data:()=>{},error:()=>{}};pollings={};static getInstance(){return pe.instance||(pe.instance=new pe),pe.instance}on(t,r){this.events[t]=r}poll(t,r){const n=this.buildPollerOptions(r);return this.storeCurrentPolling(n),this.isActivePoller(n)&&t().then(a=>this.onRequest(a,t,n)).catch(a=>{this.dispatch("error",a)}),this}stop(t){t&&this.pollings[t]&&delete this.pollings[t]}buildPollerOptions(t){const r=Object.entries(t).reduce((n,[a,u])=>{if(u!==void 0){const s=a;n[s]=u}return n},{});return{...this.defaultOptions,...r}}dispatch(t,r){this.events[t](r)}isActivePoller(t){return t.type?!!this.pollings[t.type]&&this.pollings[t.type]===t.uuid:!0}isInProgress(t){return(t?.meta?.status??"")!=="COMPLETE"}onComplete(t,r){this.dispatch("data",t),this.dispatch("complete",t),this.removeCurrentPolling(r)}async onRequest(t,r,n){const a=J(t??{},D.Camel);this.isActivePoller(n)&&(this.isInProgress(a)&&n.callCount&&n.maxCallCount&&n.callCount<n.maxCallCount||!this.isInProgress(a)&&n.callCount&&n.minCallCount&&n.callCount<n.minCallCount?(this.isInProgress(a)||(a.meta=a.meta||{},a.meta.status="IN_PROGRESS"),n.callCount+=1,this.dispatch("data",a),n.interval&&await this.pause(n),this.poll(r,n)):this.isInProgress(a)?(a.meta=a.meta||{},a.meta.status="COMPLETE",this.onComplete(a,n)):this.onComplete(a,n))}pause(t){return new Promise(r=>{setTimeout(r,t.interval)})}removeCurrentPolling(t){t.type&&this.pollings[t.type]&&delete this.pollings[t.type]}storeCurrentPolling(t){t.type&&!t.uuid&&(t.uuid=ka(),this.pollings[t.type]=t.uuid)}}function ri(e,t,r){const n=pe.getInstance();return n.poll(e,t),r&&typeof r=="function"?(n.on("data",a=>{a instanceof Error?r(a,void 0,n):r(null,a,n)}),n.on("error",a=>{a instanceof Error?r(a):r(null,a)}),n):new Promise((a,u)=>{n.on("error",u),n.on("complete",s=>{s instanceof Error?u(s):a(s)})})}typeof SuppressedError=="function"&&SuppressedError;const oi="http://localhost".replace(/\/+$/,""),Na=e=>typeof Blob<"u"&&e instanceof Blob;class X{constructor(t=new et){this.configuration=t,this.middleware=t.middleware}middleware;withMiddleware(...t){const r=this.clone();return r.middleware=r.middleware.concat(...t),r}withPreMiddleware(...t){const r=t.map(n=>({pre:n}));return this.withMiddleware(...r)}withPostMiddleware(...t){const r=t.map(n=>({post:n}));return this.withMiddleware(...r)}async request(t,r){const{url:n,init:a}=this.createFetchParams(t,r),u=await this.fetchApi(n,a);if(u.status>=200&&u.status<300)return u;throw new ai(u,"Response returned an error code")}createFetchParams(t,r){let n=this.configuration.basePath+t.path;t.query!==void 0&&Object.keys(t.query).length!==0&&(n+="?"+this.configuration.queryParamsStringify(t.query));const a=typeof FormData<"u"&&t.body instanceof FormData||t.body instanceof URLSearchParams||Na(t.body)?t.body:JSON.stringify(t.body),u=Object.assig