@liquidcommercedev/rmn-sdk 1.4.1 → 1.4.2-beta.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (72) hide show
  1. package/dist/index.cjs +17144 -0
  2. package/dist/index.esm.js +17140 -0
  3. package/dist/types/common/helpers/helpers.interface.d.ts +14 -0
  4. package/dist/types/common/helpers/index.d.ts +2 -0
  5. package/dist/types/common/helpers/object.helper.d.ts +95 -0
  6. package/dist/types/common/helpers/string.helper.d.ts +39 -0
  7. package/dist/types/common/http/api.constant.d.ts +7 -0
  8. package/dist/types/common/http/api.interface.d.ts +39 -0
  9. package/dist/types/common/http/base.api.d.ts +80 -0
  10. package/dist/types/common/http/encrypted.api.d.ts +66 -0
  11. package/dist/types/common/http/error.api.d.ts +5 -0
  12. package/dist/types/common/http/index.d.ts +5 -0
  13. package/dist/types/common/singleton-manager/index.d.ts +1 -0
  14. package/dist/types/common/singleton-manager/singleton-manager.d.ts +12 -0
  15. package/dist/types/enums.d.ts +7 -0
  16. package/dist/types/index.d.ts +3 -0
  17. package/dist/types/index.umd.d.ts +2 -0
  18. package/dist/types/modules/auth/auth.constant.d.ts +1 -0
  19. package/dist/types/modules/auth/auth.interface.d.ts +27 -0
  20. package/dist/types/modules/auth/auth.service.d.ts +22 -0
  21. package/dist/types/modules/auth/index.d.ts +3 -0
  22. package/dist/types/modules/spot/html/index.d.ts +1 -0
  23. package/dist/types/modules/spot/html/spot.element.service.d.ts +7 -0
  24. package/dist/types/modules/spot/html/spot.element.shadow-root.d.ts +4 -0
  25. package/dist/types/modules/spot/html/templates/iab/billboard/billboard-v1.template.d.ts +2 -0
  26. package/dist/types/modules/spot/html/templates/iab/billboard/billboard-v2.template.d.ts +2 -0
  27. package/dist/types/modules/spot/html/templates/iab/billboard/billboard-v3.template.d.ts +2 -0
  28. package/dist/types/modules/spot/html/templates/iab/billboard/index.d.ts +3 -0
  29. package/dist/types/modules/spot/html/templates/iab/constants/fonts.constant.d.ts +3 -0
  30. package/dist/types/modules/spot/html/templates/iab/in-text/in-text-v1.template.d.ts +2 -0
  31. package/dist/types/modules/spot/html/templates/iab/in-text/index.d.ts +1 -0
  32. package/dist/types/modules/spot/html/templates/iab/index.d.ts +7 -0
  33. package/dist/types/modules/spot/html/templates/iab/large-leaderboard/index.d.ts +2 -0
  34. package/dist/types/modules/spot/html/templates/iab/large-leaderboard/large-leaderboard-v1.template.d.ts +2 -0
  35. package/dist/types/modules/spot/html/templates/iab/large-leaderboard/large-leaderboard-v2.template.d.ts +2 -0
  36. package/dist/types/modules/spot/html/templates/iab/large-rectangle/index.d.ts +1 -0
  37. package/dist/types/modules/spot/html/templates/iab/large-rectangle/large-rectangle-v1.template.d.ts +2 -0
  38. package/dist/types/modules/spot/html/templates/iab/square/index.d.ts +2 -0
  39. package/dist/types/modules/spot/html/templates/iab/square/square-v1.template.d.ts +2 -0
  40. package/dist/types/modules/spot/html/templates/iab/square/square-v2.template.d.ts +2 -0
  41. package/dist/types/modules/spot/html/templates/iab/vertical-rectangle/index.d.ts +1 -0
  42. package/dist/types/modules/spot/html/templates/iab/vertical-rectangle/vertical-rectangle-v1.template.d.ts +2 -0
  43. package/dist/types/modules/spot/html/templates/iab/wide-skyscraper/index.d.ts +1 -0
  44. package/dist/types/modules/spot/html/templates/iab/wide-skyscraper/wide-skyscraper-v1.template.d.ts +2 -0
  45. package/dist/types/modules/spot/html/templates/index.d.ts +1 -0
  46. package/dist/types/modules/spot/html/templates/reservebar/collection-banner-without-text-block.template.d.ts +2 -0
  47. package/dist/types/modules/spot/html/templates/reservebar/homepage-hero-full-image.template.d.ts +2 -0
  48. package/dist/types/modules/spot/html/templates/reservebar/homepage-hero-three-tile.template.d.ts +2 -0
  49. package/dist/types/modules/spot/html/templates/reservebar/homepage-hero-two-tile.template.d.ts +2 -0
  50. package/dist/types/modules/spot/html/templates/reservebar/index.d.ts +8 -0
  51. package/dist/types/modules/spot/html/templates/reservebar/large-category-image-tout.template.d.ts +2 -0
  52. package/dist/types/modules/spot/html/templates/reservebar/navigation-banner.template.d.ts +2 -0
  53. package/dist/types/modules/spot/html/templates/reservebar/small-category-image-tout.template.d.ts +2 -0
  54. package/dist/types/modules/spot/html/templates/reservebar/small-discover-tout.template.d.ts +2 -0
  55. package/dist/types/modules/spot/html/templates/spot.template.d.ts +21 -0
  56. package/dist/types/modules/spot/index.d.ts +6 -0
  57. package/dist/types/modules/spot/spot.constant.d.ts +3 -0
  58. package/dist/types/modules/spot/spot.enum.d.ts +57 -0
  59. package/dist/types/modules/spot/spot.html.service.d.ts +22 -0
  60. package/dist/types/modules/spot/spot.interface.d.ts +44 -0
  61. package/dist/types/modules/spot/spot.selection.service.d.ts +16 -0
  62. package/dist/types/modules/spot/spot.type.d.ts +27 -0
  63. package/dist/types/rmn-client.d.ts +58 -0
  64. package/dist/types/types.d.ts +11 -0
  65. package/package.json +34 -14
  66. package/umd/liquidcommerce-rmn-sdk.min.js +1 -0
  67. package/CHANGELOG.md +0 -75
  68. package/dist/index.d.ts +0 -192
  69. package/dist/index.js +0 -19
  70. package/dist/index.js.map +0 -1
  71. package/dist/index.mjs +0 -19
  72. package/dist/index.mjs.map +0 -1
package/dist/index.js DELETED
@@ -1,19 +0,0 @@
1
- "use strict";var e,t,n,r;exports.RMN_SPOT_TYPE=void 0,(e=exports.RMN_SPOT_TYPE||(exports.RMN_SPOT_TYPE={})).RB_HOMEPAGE_HERO_THREE_TILE="rbHomepageHeroThreeTile",e.RB_HOMEPAGE_HERO_TWO_TILE="rbHomepageHeroTwoTile",e.RB_HOMEPAGE_HERO_FULL_IMAGE="rbHomepageHeroFullImage",e.RB_LARGE_CATEGORY_IMAGE_TOUT="rbLargeCategoryImageTout",e.RB_SMALL_DISCOVER_TOUT="rbSmallDiscoverTout",e.RB_SMALL_CATEGORY_IMAGE_TOUT="rbSmallCategoryImageTout",e.RB_COLLECTION_BANNER_WITHOUT_TEXT_BLOCK="rbCollectionBannerWithoutTextBlock",e.RB_PRODUCT_UPCS="rbProductUpcs",e.RB_NAVIGATION_BANNER="rbNavigationBanner",e.BILLBOARD="billboard",e.LARGE_RECTANGLE="largeRectangle",e.VERTICAL_RECTANGLE="verticalRectangle",e.SQUARE="square",e.LARGE_LEADERBOARD="largeLeaderboard",e.WIDE_SKYSCRAPER="wideSkyscraper",e.IN_TEXT="inText",e.SMALL_RECTANGLE="smallRectangle",e.MEDIUM_RECTANGLE="mediumRectangle",e.BANNER="banner",e.LEADERBOARD="leaderboard",e.SKYSCRAPER="skyscraper",e.HALF_PAGE="halfPage",e.SMALL_SQUARE="smallSquare",e.VERTICAL_BANNER="verticalBanner",e.BUTTON_2="button2",e.MICRO_BAR="microBar",e.POP_UP="popUp",e.PORTRAIT="portrait",e.SMARTPHONE_BANNER_1="smartphoneBanner1",e.SMARTPHONE_BANNER_2="smartphoneBanner2",e.MOBILE_PHONE_INTERSTITIAL_1="mobilePhoneInterstitial1",e.MOBILE_PHONE_INTERSTITIAL_2="mobilePhoneInterstitial2",e.MOBILE_PHONE_INTERSTITIAL_3="mobilePhoneInterstitial3",e.FEATURE_PHONE_SMALL_BANNER="featurePhoneSmallBanner",e.FEATURE_PHONE_MEDIUM_BANNER="featurePhoneMediumBanner",e.FEATURE_PHONE_LARGE_BANNER="featurePhoneLargeBanner",exports.RMN_FILTER_PROPERTIES=void 0,(t=exports.RMN_FILTER_PROPERTIES||(exports.RMN_FILTER_PROPERTIES={})).KEYWORDS="keywords",t.PARENTCO="parentCo",t.BRAND="brand",t.CATEGORY="category",t.TYPE="type",t.CLASSIFICATION="classification",t.HOLIDAY="holiday",t.PUBLISHERS="publishers",t.SECTION="section",exports.RMN_SPOT_EVENT=void 0,(n=exports.RMN_SPOT_EVENT||(exports.RMN_SPOT_EVENT={})).IMPRESSION="IMPRESSION",n.CLICK="CLICK",n.PURCHASE="PURCHASE",n.ADD_TO_CART="ADD_TO_CART",n.ADD_TO_WISHLIST="ADD_TO_WISHLIST",n.BUY_NOW="BUY_NOW",exports.RMN_ENV=void 0,(r=exports.RMN_ENV||(exports.RMN_ENV={})).LOCAL="local",r.DEVELOPMENT="development",r.STAGING="staging",r.PRODUCTION="production";const o="X-Liquid-Protected",i="X-Liquid-Timestamp",s="X-Liquid-Api-Env",a={url:{local:"http://localhost:8300",development:"https://rmn-services-development-948630220003.us-central1.run.app",staging:"https://rmn-services-staging-948630220003.us-central1.run.app",production:"https://rmn-services-staging-948630220003.us-central1.run.app"},apiHeader:"X-Liquid-Api-Key",accessHeader:"Authorization",credentials:{authenticated:!1,apiKey:"",token:"",env:exports.RMN_ENV.DEVELOPMENT}};class c{}var l="undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{};function h(){throw new Error("setTimeout has not been defined")}function u(){throw new Error("clearTimeout has not been defined")}var f=h,d=u;function p(e){if(f===setTimeout)return setTimeout(e,0);if((f===h||!f)&&setTimeout)return f=setTimeout,setTimeout(e,0);try{return f(e,0)}catch(t){try{return f.call(null,e,0)}catch(t){return f.call(this,e,0)}}}"function"==typeof l.setTimeout&&(f=setTimeout),"function"==typeof l.clearTimeout&&(d=clearTimeout);var g,y=[],m=!1,w=-1;function v(){m&&g&&(m=!1,g.length?y=g.concat(y):w=-1,y.length&&b())}function b(){if(!m){var e=p(v);m=!0;for(var t=y.length;t;){for(g=y,y=[];++w<t;)g&&g[w].run();w=-1,t=y.length}g=null,m=!1,function(e){if(d===clearTimeout)return clearTimeout(e);if((d===u||!d)&&clearTimeout)return d=clearTimeout,clearTimeout(e);try{return d(e)}catch(t){try{return d.call(null,e)}catch(t){return d.call(this,e)}}}(e)}}function _(e,t){this.fun=e,this.array=t}_.prototype.run=function(){this.fun.apply(null,this.array)};function x(){}var E=x,S=x,k=x,R=x,A=x,T=x,O=x;var C=l.performance||{},B=C.now||C.mozNow||C.msNow||C.oNow||C.webkitNow||function(){return(new Date).getTime()};var P=new Date;var I={nextTick:function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];y.push(new _(e,t)),1!==y.length||m||p(b)},title:"browser",browser:!0,env:{},argv:[],version:"",versions:{},on:E,addListener:S,once:k,off:R,removeListener:A,removeAllListeners:T,emit:O,binding:function(e){throw new Error("process.binding is not supported")},cwd:function(){return"/"},chdir:function(e){throw new Error("process.chdir is not supported")},umask:function(){return 0},hrtime:function(e){var t=.001*B.call(C),n=Math.floor(t),r=Math.floor(t%1*1e9);return e&&(n-=e[0],(r-=e[1])<0&&(n--,r+=1e9)),[n,r]},platform:"browser",release:{},config:{},uptime:function(){return(new Date-P)/1e3}};function H(e,t){return function(){return e.apply(t,arguments)}}const{toString:N}=Object.prototype,{getPrototypeOf:z}=Object,D=(L=Object.create(null),e=>{const t=N.call(e);return L[t]||(L[t]=t.slice(8,-1).toLowerCase())});var L;const U=e=>(e=e.toLowerCase(),t=>D(t)===e),M=e=>t=>typeof t===e,{isArray:q}=Array,$=M("undefined");const F=U("ArrayBuffer");const j=M("string"),W=M("function"),K=M("number"),J=e=>null!==e&&"object"==typeof e,Y=e=>{if("object"!==D(e))return!1;const t=z(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Symbol.toStringTag in e||Symbol.iterator in e)},V=U("Date"),G=U("File"),X=U("Blob"),Z=U("FileList"),Q=U("URLSearchParams"),[ee,te,ne,re]=["ReadableStream","Request","Response","Headers"].map(U);function oe(e,t,{allOwnKeys:n=!1}={}){if(null==e)return;let r,o;if("object"!=typeof e&&(e=[e]),q(e))for(r=0,o=e.length;r<o;r++)t.call(null,e[r],r,e);else{const o=n?Object.getOwnPropertyNames(e):Object.keys(e),i=o.length;let s;for(r=0;r<i;r++)s=o[r],t.call(null,e[s],s,e)}}function ie(e,t){t=t.toLowerCase();const n=Object.keys(e);let r,o=n.length;for(;o-- >0;)if(r=n[o],t===r.toLowerCase())return r;return null}const se="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:l,ae=e=>!$(e)&&e!==se;const ce=(le="undefined"!=typeof Uint8Array&&z(Uint8Array),e=>le&&e instanceof le);var le;const he=U("HTMLFormElement"),ue=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),fe=U("RegExp"),de=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};oe(n,((n,o)=>{let i;!1!==(i=t(n,o,e))&&(r[o]=i||n)})),Object.defineProperties(e,r)},pe="abcdefghijklmnopqrstuvwxyz",ge="0123456789",ye={DIGIT:ge,ALPHA:pe,ALPHA_DIGIT:pe+pe.toUpperCase()+ge};const me=U("AsyncFunction"),we=(ve="function"==typeof setImmediate,be=W(se.postMessage),ve?setImmediate:be?(_e=`axios@${Math.random()}`,xe=[],se.addEventListener("message",(({source:e,data:t})=>{e===se&&t===_e&&xe.length&&xe.shift()()}),!1),e=>{xe.push(e),se.postMessage(_e,"*")}):e=>setTimeout(e));var ve,be,_e,xe;const Ee="undefined"!=typeof queueMicrotask?queueMicrotask.bind(se):I.nextTick||we;var Se={isArray:q,isArrayBuffer:F,isBuffer:function(e){return null!==e&&!$(e)&&null!==e.constructor&&!$(e.constructor)&&W(e.constructor.isBuffer)&&e.constructor.isBuffer(e)},isFormData:e=>{let t;return e&&("function"==typeof FormData&&e instanceof FormData||W(e.append)&&("formdata"===(t=D(e))||"object"===t&&W(e.toString)&&"[object FormData]"===e.toString()))},isArrayBufferView:function(e){let t;return t="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&F(e.buffer),t},isString:j,isNumber:K,isBoolean:e=>!0===e||!1===e,isObject:J,isPlainObject:Y,isReadableStream:ee,isRequest:te,isResponse:ne,isHeaders:re,isUndefined:$,isDate:V,isFile:G,isBlob:X,isRegExp:fe,isFunction:W,isStream:e=>J(e)&&W(e.pipe),isURLSearchParams:Q,isTypedArray:ce,isFileList:Z,forEach:oe,merge:function e(){const{caseless:t}=ae(this)&&this||{},n={},r=(r,o)=>{const i=t&&ie(n,o)||o;Y(n[i])&&Y(r)?n[i]=e(n[i],r):Y(r)?n[i]=e({},r):q(r)?n[i]=r.slice():n[i]=r};for(let e=0,t=arguments.length;e<t;e++)arguments[e]&&oe(arguments[e],r);return n},extend:(e,t,n,{allOwnKeys:r}={})=>(oe(t,((t,r)=>{n&&W(t)?e[r]=H(t,n):e[r]=t}),{allOwnKeys:r}),e),trim:e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:e=>(65279===e.charCodeAt(0)&&(e=e.slice(1)),e),inherits:(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},toFlatObject:(e,t,n,r)=>{let o,i,s;const a={};if(t=t||{},null==e)return t;do{for(o=Object.getOwnPropertyNames(e),i=o.length;i-- >0;)s=o[i],r&&!r(s,e,t)||a[s]||(t[s]=e[s],a[s]=!0);e=!1!==n&&z(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},kindOf:D,kindOfTest:U,endsWith:(e,t,n)=>{e=String(e),(void 0===n||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return-1!==r&&r===n},toArray:e=>{if(!e)return null;if(q(e))return e;let t=e.length;if(!K(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},forEachEntry:(e,t)=>{const n=(e&&e[Symbol.iterator]).call(e);let r;for(;(r=n.next())&&!r.done;){const n=r.value;t.call(e,n[0],n[1])}},matchAll:(e,t)=>{let n;const r=[];for(;null!==(n=e.exec(t));)r.push(n);return r},isHTMLForm:he,hasOwnProperty:ue,hasOwnProp:ue,reduceDescriptors:de,freezeMethods:e=>{de(e,((t,n)=>{if(W(e)&&-1!==["arguments","caller","callee"].indexOf(n))return!1;const r=e[n];W(r)&&(t.enumerable=!1,"writable"in t?t.writable=!1:t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")}))}))},toObjectSet:(e,t)=>{const n={},r=e=>{e.forEach((e=>{n[e]=!0}))};return q(e)?r(e):r(String(e).split(t)),n},toCamelCase:e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,(function(e,t,n){return t.toUpperCase()+n})),noop:()=>{},toFiniteNumber:(e,t)=>null!=e&&Number.isFinite(e=+e)?e:t,findKey:ie,global:se,isContextDefined:ae,ALPHABET:ye,generateString:(e=16,t=ye.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n},isSpecCompliantForm:function(e){return!!(e&&W(e.append)&&"FormData"===e[Symbol.toStringTag]&&e[Symbol.iterator])},toJSONObject:e=>{const t=new Array(10),n=(e,r)=>{if(J(e)){if(t.indexOf(e)>=0)return;if(!("toJSON"in e)){t[r]=e;const o=q(e)?[]:{};return oe(e,((e,t)=>{const i=n(e,r+1);!$(i)&&(o[t]=i)})),t[r]=void 0,o}}return e};return n(e,0)},isAsyncFn:me,isThenable:e=>e&&(J(e)||W(e))&&W(e.then)&&W(e.catch),setImmediate:we,asap:Ee},ke=[],Re=[],Ae="undefined"!=typeof Uint8Array?Uint8Array:Array,Te=!1;function Oe(){Te=!0;for(var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",t=0;t<64;++t)ke[t]=e[t],Re[e.charCodeAt(t)]=t;Re["-".charCodeAt(0)]=62,Re["_".charCodeAt(0)]=63}function Ce(e,t,n){for(var r,o,i=[],s=t;s<n;s+=3)r=(e[s]<<16)+(e[s+1]<<8)+e[s+2],i.push(ke[(o=r)>>18&63]+ke[o>>12&63]+ke[o>>6&63]+ke[63&o]);return i.join("")}function Be(e){var t;Te||Oe();for(var n=e.length,r=n%3,o="",i=[],s=16383,a=0,c=n-r;a<c;a+=s)i.push(Ce(e,a,a+s>c?c:a+s));return 1===r?(t=e[n-1],o+=ke[t>>2],o+=ke[t<<4&63],o+="=="):2===r&&(t=(e[n-2]<<8)+e[n-1],o+=ke[t>>10],o+=ke[t>>4&63],o+=ke[t<<2&63],o+="="),i.push(o),i.join("")}function Pe(e,t,n,r,o){var i,s,a=8*o-r-1,c=(1<<a)-1,l=c>>1,h=-7,u=n?o-1:0,f=n?-1:1,d=e[t+u];for(u+=f,i=d&(1<<-h)-1,d>>=-h,h+=a;h>0;i=256*i+e[t+u],u+=f,h-=8);for(s=i&(1<<-h)-1,i>>=-h,h+=r;h>0;s=256*s+e[t+u],u+=f,h-=8);if(0===i)i=1-l;else{if(i===c)return s?NaN:1/0*(d?-1:1);s+=Math.pow(2,r),i-=l}return(d?-1:1)*s*Math.pow(2,i-r)}function Ie(e,t,n,r,o,i){var s,a,c,l=8*i-o-1,h=(1<<l)-1,u=h>>1,f=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,d=r?0:i-1,p=r?1:-1,g=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(a=isNaN(t)?1:0,s=h):(s=Math.floor(Math.log(t)/Math.LN2),t*(c=Math.pow(2,-s))<1&&(s--,c*=2),(t+=s+u>=1?f/c:f*Math.pow(2,1-u))*c>=2&&(s++,c/=2),s+u>=h?(a=0,s=h):s+u>=1?(a=(t*c-1)*Math.pow(2,o),s+=u):(a=t*Math.pow(2,u-1)*Math.pow(2,o),s=0));o>=8;e[n+d]=255&a,d+=p,a/=256,o-=8);for(s=s<<o|a,l+=o;l>0;e[n+d]=255&s,d+=p,s/=256,l-=8);e[n+d-p]|=128*g}var He={}.toString,Ne=Array.isArray||function(e){return"[object Array]"==He.call(e)};function ze(){return Le.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function De(e,t){if(ze()<t)throw new RangeError("Invalid typed array length");return Le.TYPED_ARRAY_SUPPORT?(e=new Uint8Array(t)).__proto__=Le.prototype:(null===e&&(e=new Le(t)),e.length=t),e}function Le(e,t,n){if(!(Le.TYPED_ARRAY_SUPPORT||this instanceof Le))return new Le(e,t,n);if("number"==typeof e){if("string"==typeof t)throw new Error("If encoding is specified then the first argument must be a string");return qe(this,e)}return Ue(this,e,t,n)}function Ue(e,t,n,r){if("number"==typeof t)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer?function(e,t,n,r){if(t.byteLength,n<0||t.byteLength<n)throw new RangeError("'offset' is out of bounds");if(t.byteLength<n+(r||0))throw new RangeError("'length' is out of bounds");t=void 0===n&&void 0===r?new Uint8Array(t):void 0===r?new Uint8Array(t,n):new Uint8Array(t,n,r);Le.TYPED_ARRAY_SUPPORT?(e=t).__proto__=Le.prototype:e=$e(e,t);return e}(e,t,n,r):"string"==typeof t?function(e,t,n){"string"==typeof n&&""!==n||(n="utf8");if(!Le.isEncoding(n))throw new TypeError('"encoding" must be a valid string encoding');var r=0|We(t,n);e=De(e,r);var o=e.write(t,n);o!==r&&(e=e.slice(0,o));return e}(e,t,n):function(e,t){if(je(t)){var n=0|Fe(t.length);return 0===(e=De(e,n)).length||t.copy(e,0,0,n),e}if(t){if("undefined"!=typeof ArrayBuffer&&t.buffer instanceof ArrayBuffer||"length"in t)return"number"!=typeof t.length||(r=t.length)!=r?De(e,0):$e(e,t);if("Buffer"===t.type&&Ne(t.data))return $e(e,t.data)}var r;throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(e,t)}function Me(e){if("number"!=typeof e)throw new TypeError('"size" argument must be a number');if(e<0)throw new RangeError('"size" argument must not be negative')}function qe(e,t){if(Me(t),e=De(e,t<0?0:0|Fe(t)),!Le.TYPED_ARRAY_SUPPORT)for(var n=0;n<t;++n)e[n]=0;return e}function $e(e,t){var n=t.length<0?0:0|Fe(t.length);e=De(e,n);for(var r=0;r<n;r+=1)e[r]=255&t[r];return e}function Fe(e){if(e>=ze())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+ze().toString(16)+" bytes");return 0|e}function je(e){return!(null==e||!e._isBuffer)}function We(e,t){if(je(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var n=e.length;if(0===n)return 0;for(var r=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return wt(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return vt(e).length;default:if(r)return wt(e).length;t=(""+t).toLowerCase(),r=!0}}function Ke(e,t,n){var r=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return at(this,t,n);case"utf8":case"utf-8":return rt(this,t,n);case"ascii":return it(this,t,n);case"latin1":case"binary":return st(this,t,n);case"base64":return nt(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ct(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function Je(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function Ye(e,t,n,r,o){if(0===e.length)return-1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=o?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(o)return-1;n=e.length-1}else if(n<0){if(!o)return-1;n=0}if("string"==typeof t&&(t=Le.from(t,r)),je(t))return 0===t.length?-1:Ve(e,t,n,r,o);if("number"==typeof t)return t&=255,Le.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?o?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):Ve(e,[t],n,r,o);throw new TypeError("val must be string, number or Buffer")}function Ve(e,t,n,r,o){var i,s=1,a=e.length,c=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return-1;s=2,a/=2,c/=2,n/=2}function l(e,t){return 1===s?e[t]:e.readUInt16BE(t*s)}if(o){var h=-1;for(i=n;i<a;i++)if(l(e,i)===l(t,-1===h?0:i-h)){if(-1===h&&(h=i),i-h+1===c)return h*s}else-1!==h&&(i-=i-h),h=-1}else for(n+c>a&&(n=a-c),i=n;i>=0;i--){for(var u=!0,f=0;f<c;f++)if(l(e,i+f)!==l(t,f)){u=!1;break}if(u)return i}return-1}function Ge(e,t,n,r){n=Number(n)||0;var o=e.length-n;r?(r=Number(r))>o&&(r=o):r=o;var i=t.length;if(i%2!=0)throw new TypeError("Invalid hex string");r>i/2&&(r=i/2);for(var s=0;s<r;++s){var a=parseInt(t.substr(2*s,2),16);if(isNaN(a))return s;e[n+s]=a}return s}function Xe(e,t,n,r){return bt(wt(t,e.length-n),e,n,r)}function Ze(e,t,n,r){return bt(function(e){for(var t=[],n=0;n<e.length;++n)t.push(255&e.charCodeAt(n));return t}(t),e,n,r)}function Qe(e,t,n,r){return Ze(e,t,n,r)}function et(e,t,n,r){return bt(vt(t),e,n,r)}function tt(e,t,n,r){return bt(function(e,t){for(var n,r,o,i=[],s=0;s<e.length&&!((t-=2)<0);++s)r=(n=e.charCodeAt(s))>>8,o=n%256,i.push(o),i.push(r);return i}(t,e.length-n),e,n,r)}function nt(e,t,n){return 0===t&&n===e.length?Be(e):Be(e.slice(t,n))}function rt(e,t,n){n=Math.min(e.length,n);for(var r=[],o=t;o<n;){var i,s,a,c,l=e[o],h=null,u=l>239?4:l>223?3:l>191?2:1;if(o+u<=n)switch(u){case 1:l<128&&(h=l);break;case 2:128==(192&(i=e[o+1]))&&(c=(31&l)<<6|63&i)>127&&(h=c);break;case 3:i=e[o+1],s=e[o+2],128==(192&i)&&128==(192&s)&&(c=(15&l)<<12|(63&i)<<6|63&s)>2047&&(c<55296||c>57343)&&(h=c);break;case 4:i=e[o+1],s=e[o+2],a=e[o+3],128==(192&i)&&128==(192&s)&&128==(192&a)&&(c=(15&l)<<18|(63&i)<<12|(63&s)<<6|63&a)>65535&&c<1114112&&(h=c)}null===h?(h=65533,u=1):h>65535&&(h-=65536,r.push(h>>>10&1023|55296),h=56320|1023&h),r.push(h),o+=u}return function(e){var t=e.length;if(t<=ot)return String.fromCharCode.apply(String,e);var n="",r=0;for(;r<t;)n+=String.fromCharCode.apply(String,e.slice(r,r+=ot));return n}(r)}Le.TYPED_ARRAY_SUPPORT=void 0===l.TYPED_ARRAY_SUPPORT||l.TYPED_ARRAY_SUPPORT,ze(),Le.poolSize=8192,Le._augment=function(e){return e.__proto__=Le.prototype,e},Le.from=function(e,t,n){return Ue(null,e,t,n)},Le.TYPED_ARRAY_SUPPORT&&(Le.prototype.__proto__=Uint8Array.prototype,Le.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&Le[Symbol.species]),Le.alloc=function(e,t,n){return function(e,t,n,r){return Me(t),t<=0?De(e,t):void 0!==n?"string"==typeof r?De(e,t).fill(n,r):De(e,t).fill(n):De(e,t)}(null,e,t,n)},Le.allocUnsafe=function(e){return qe(null,e)},Le.allocUnsafeSlow=function(e){return qe(null,e)},Le.isBuffer=function(e){return null!=e&&(!!e._isBuffer||_t(e)||function(e){return"function"==typeof e.readFloatLE&&"function"==typeof e.slice&&_t(e.slice(0,0))}(e))},Le.compare=function(e,t){if(!je(e)||!je(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var n=e.length,r=t.length,o=0,i=Math.min(n,r);o<i;++o)if(e[o]!==t[o]){n=e[o],r=t[o];break}return n<r?-1:r<n?1:0},Le.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},Le.concat=function(e,t){if(!Ne(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return Le.alloc(0);var n;if(void 0===t)for(t=0,n=0;n<e.length;++n)t+=e[n].length;var r=Le.allocUnsafe(t),o=0;for(n=0;n<e.length;++n){var i=e[n];if(!je(i))throw new TypeError('"list" argument must be an Array of Buffers');i.copy(r,o),o+=i.length}return r},Le.byteLength=We,Le.prototype._isBuffer=!0,Le.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)Je(this,t,t+1);return this},Le.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)Je(this,t,t+3),Je(this,t+1,t+2);return this},Le.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)Je(this,t,t+7),Je(this,t+1,t+6),Je(this,t+2,t+5),Je(this,t+3,t+4);return this},Le.prototype.toString=function(){var e=0|this.length;return 0===e?"":0===arguments.length?rt(this,0,e):Ke.apply(this,arguments)},Le.prototype.equals=function(e){if(!je(e))throw new TypeError("Argument must be a Buffer");return this===e||0===Le.compare(this,e)},Le.prototype.inspect=function(){var e="";return this.length>0&&(e=this.toString("hex",0,50).match(/.{2}/g).join(" "),this.length>50&&(e+=" ... ")),"<Buffer "+e+">"},Le.prototype.compare=function(e,t,n,r,o){if(!je(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===o&&(o=this.length),t<0||n>e.length||r<0||o>this.length)throw new RangeError("out of range index");if(r>=o&&t>=n)return 0;if(r>=o)return-1;if(t>=n)return 1;if(this===e)return 0;for(var i=(o>>>=0)-(r>>>=0),s=(n>>>=0)-(t>>>=0),a=Math.min(i,s),c=this.slice(r,o),l=e.slice(t,n),h=0;h<a;++h)if(c[h]!==l[h]){i=c[h],s=l[h];break}return i<s?-1:s<i?1:0},Le.prototype.includes=function(e,t,n){return-1!==this.indexOf(e,t,n)},Le.prototype.indexOf=function(e,t,n){return Ye(this,e,t,n,!0)},Le.prototype.lastIndexOf=function(e,t,n){return Ye(this,e,t,n,!1)},Le.prototype.write=function(e,t,n,r){if(void 0===t)r="utf8",n=this.length,t=0;else if(void 0===n&&"string"==typeof t)r=t,n=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t|=0,isFinite(n)?(n|=0,void 0===r&&(r="utf8")):(r=n,n=void 0)}var o=this.length-t;if((void 0===n||n>o)&&(n=o),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var i=!1;;)switch(r){case"hex":return Ge(this,e,t,n);case"utf8":case"utf-8":return Xe(this,e,t,n);case"ascii":return Ze(this,e,t,n);case"latin1":case"binary":return Qe(this,e,t,n);case"base64":return et(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return tt(this,e,t,n);default:if(i)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),i=!0}},Le.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var ot=4096;function it(e,t,n){var r="";n=Math.min(e.length,n);for(var o=t;o<n;++o)r+=String.fromCharCode(127&e[o]);return r}function st(e,t,n){var r="";n=Math.min(e.length,n);for(var o=t;o<n;++o)r+=String.fromCharCode(e[o]);return r}function at(e,t,n){var r=e.length;(!t||t<0)&&(t=0),(!n||n<0||n>r)&&(n=r);for(var o="",i=t;i<n;++i)o+=mt(e[i]);return o}function ct(e,t,n){for(var r=e.slice(t,n),o="",i=0;i<r.length;i+=2)o+=String.fromCharCode(r[i]+256*r[i+1]);return o}function lt(e,t,n){if(e%1!=0||e<0)throw new RangeError("offset is not uint");if(e+t>n)throw new RangeError("Trying to access beyond buffer length")}function ht(e,t,n,r,o,i){if(!je(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>o||t<i)throw new RangeError('"value" argument is out of bounds');if(n+r>e.length)throw new RangeError("Index out of range")}function ut(e,t,n,r){t<0&&(t=65535+t+1);for(var o=0,i=Math.min(e.length-n,2);o<i;++o)e[n+o]=(t&255<<8*(r?o:1-o))>>>8*(r?o:1-o)}function ft(e,t,n,r){t<0&&(t=4294967295+t+1);for(var o=0,i=Math.min(e.length-n,4);o<i;++o)e[n+o]=t>>>8*(r?o:3-o)&255}function dt(e,t,n,r,o,i){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function pt(e,t,n,r,o){return o||dt(e,0,n,4),Ie(e,t,n,r,23,4),n+4}function gt(e,t,n,r,o){return o||dt(e,0,n,8),Ie(e,t,n,r,52,8),n+8}Le.prototype.slice=function(e,t){var n,r=this.length;if((e=~~e)<0?(e+=r)<0&&(e=0):e>r&&(e=r),(t=void 0===t?r:~~t)<0?(t+=r)<0&&(t=0):t>r&&(t=r),t<e&&(t=e),Le.TYPED_ARRAY_SUPPORT)(n=this.subarray(e,t)).__proto__=Le.prototype;else{var o=t-e;n=new Le(o,void 0);for(var i=0;i<o;++i)n[i]=this[i+e]}return n},Le.prototype.readUIntLE=function(e,t,n){e|=0,t|=0,n||lt(e,t,this.length);for(var r=this[e],o=1,i=0;++i<t&&(o*=256);)r+=this[e+i]*o;return r},Le.prototype.readUIntBE=function(e,t,n){e|=0,t|=0,n||lt(e,t,this.length);for(var r=this[e+--t],o=1;t>0&&(o*=256);)r+=this[e+--t]*o;return r},Le.prototype.readUInt8=function(e,t){return t||lt(e,1,this.length),this[e]},Le.prototype.readUInt16LE=function(e,t){return t||lt(e,2,this.length),this[e]|this[e+1]<<8},Le.prototype.readUInt16BE=function(e,t){return t||lt(e,2,this.length),this[e]<<8|this[e+1]},Le.prototype.readUInt32LE=function(e,t){return t||lt(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},Le.prototype.readUInt32BE=function(e,t){return t||lt(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},Le.prototype.readIntLE=function(e,t,n){e|=0,t|=0,n||lt(e,t,this.length);for(var r=this[e],o=1,i=0;++i<t&&(o*=256);)r+=this[e+i]*o;return r>=(o*=128)&&(r-=Math.pow(2,8*t)),r},Le.prototype.readIntBE=function(e,t,n){e|=0,t|=0,n||lt(e,t,this.length);for(var r=t,o=1,i=this[e+--r];r>0&&(o*=256);)i+=this[e+--r]*o;return i>=(o*=128)&&(i-=Math.pow(2,8*t)),i},Le.prototype.readInt8=function(e,t){return t||lt(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},Le.prototype.readInt16LE=function(e,t){t||lt(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},Le.prototype.readInt16BE=function(e,t){t||lt(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},Le.prototype.readInt32LE=function(e,t){return t||lt(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},Le.prototype.readInt32BE=function(e,t){return t||lt(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},Le.prototype.readFloatLE=function(e,t){return t||lt(e,4,this.length),Pe(this,e,!0,23,4)},Le.prototype.readFloatBE=function(e,t){return t||lt(e,4,this.length),Pe(this,e,!1,23,4)},Le.prototype.readDoubleLE=function(e,t){return t||lt(e,8,this.length),Pe(this,e,!0,52,8)},Le.prototype.readDoubleBE=function(e,t){return t||lt(e,8,this.length),Pe(this,e,!1,52,8)},Le.prototype.writeUIntLE=function(e,t,n,r){(e=+e,t|=0,n|=0,r)||ht(this,e,t,n,Math.pow(2,8*n)-1,0);var o=1,i=0;for(this[t]=255&e;++i<n&&(o*=256);)this[t+i]=e/o&255;return t+n},Le.prototype.writeUIntBE=function(e,t,n,r){(e=+e,t|=0,n|=0,r)||ht(this,e,t,n,Math.pow(2,8*n)-1,0);var o=n-1,i=1;for(this[t+o]=255&e;--o>=0&&(i*=256);)this[t+o]=e/i&255;return t+n},Le.prototype.writeUInt8=function(e,t,n){return e=+e,t|=0,n||ht(this,e,t,1,255,0),Le.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},Le.prototype.writeUInt16LE=function(e,t,n){return e=+e,t|=0,n||ht(this,e,t,2,65535,0),Le.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):ut(this,e,t,!0),t+2},Le.prototype.writeUInt16BE=function(e,t,n){return e=+e,t|=0,n||ht(this,e,t,2,65535,0),Le.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):ut(this,e,t,!1),t+2},Le.prototype.writeUInt32LE=function(e,t,n){return e=+e,t|=0,n||ht(this,e,t,4,4294967295,0),Le.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):ft(this,e,t,!0),t+4},Le.prototype.writeUInt32BE=function(e,t,n){return e=+e,t|=0,n||ht(this,e,t,4,4294967295,0),Le.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):ft(this,e,t,!1),t+4},Le.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t|=0,!r){var o=Math.pow(2,8*n-1);ht(this,e,t,n,o-1,-o)}var i=0,s=1,a=0;for(this[t]=255&e;++i<n&&(s*=256);)e<0&&0===a&&0!==this[t+i-1]&&(a=1),this[t+i]=(e/s|0)-a&255;return t+n},Le.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t|=0,!r){var o=Math.pow(2,8*n-1);ht(this,e,t,n,o-1,-o)}var i=n-1,s=1,a=0;for(this[t+i]=255&e;--i>=0&&(s*=256);)e<0&&0===a&&0!==this[t+i+1]&&(a=1),this[t+i]=(e/s|0)-a&255;return t+n},Le.prototype.writeInt8=function(e,t,n){return e=+e,t|=0,n||ht(this,e,t,1,127,-128),Le.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},Le.prototype.writeInt16LE=function(e,t,n){return e=+e,t|=0,n||ht(this,e,t,2,32767,-32768),Le.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):ut(this,e,t,!0),t+2},Le.prototype.writeInt16BE=function(e,t,n){return e=+e,t|=0,n||ht(this,e,t,2,32767,-32768),Le.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):ut(this,e,t,!1),t+2},Le.prototype.writeInt32LE=function(e,t,n){return e=+e,t|=0,n||ht(this,e,t,4,2147483647,-2147483648),Le.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):ft(this,e,t,!0),t+4},Le.prototype.writeInt32BE=function(e,t,n){return e=+e,t|=0,n||ht(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),Le.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):ft(this,e,t,!1),t+4},Le.prototype.writeFloatLE=function(e,t,n){return pt(this,e,t,!0,n)},Le.prototype.writeFloatBE=function(e,t,n){return pt(this,e,t,!1,n)},Le.prototype.writeDoubleLE=function(e,t,n){return gt(this,e,t,!0,n)},Le.prototype.writeDoubleBE=function(e,t,n){return gt(this,e,t,!1,n)},Le.prototype.copy=function(e,t,n,r){if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r<n&&(r=n),r===n)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t<r-n&&(r=e.length-t+n);var o,i=r-n;if(this===e&&n<t&&t<r)for(o=i-1;o>=0;--o)e[o+t]=this[o+n];else if(i<1e3||!Le.TYPED_ARRAY_SUPPORT)for(o=0;o<i;++o)e[o+t]=this[o+n];else Uint8Array.prototype.set.call(e,this.subarray(n,n+i),t);return i},Le.prototype.fill=function(e,t,n,r){if("string"==typeof e){if("string"==typeof t?(r=t,t=0,n=this.length):"string"==typeof n&&(r=n,n=this.length),1===e.length){var o=e.charCodeAt(0);o<256&&(e=o)}if(void 0!==r&&"string"!=typeof r)throw new TypeError("encoding must be a string");if("string"==typeof r&&!Le.isEncoding(r))throw new TypeError("Unknown encoding: "+r)}else"number"==typeof e&&(e&=255);if(t<0||this.length<t||this.length<n)throw new RangeError("Out of range index");if(n<=t)return this;var i;if(t>>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"==typeof e)for(i=t;i<n;++i)this[i]=e;else{var s=je(e)?e:wt(new Le(e,r).toString()),a=s.length;for(i=0;i<n-t;++i)this[i+t]=s[i%a]}return this};var yt=/[^+\/0-9A-Za-z-_]/g;function mt(e){return e<16?"0"+e.toString(16):e.toString(16)}function wt(e,t){var n;t=t||1/0;for(var r=e.length,o=null,i=[],s=0;s<r;++s){if((n=e.charCodeAt(s))>55295&&n<57344){if(!o){if(n>56319){(t-=3)>-1&&i.push(239,191,189);continue}if(s+1===r){(t-=3)>-1&&i.push(239,191,189);continue}o=n;continue}if(n<56320){(t-=3)>-1&&i.push(239,191,189),o=n;continue}n=65536+(o-55296<<10|n-56320)}else o&&(t-=3)>-1&&i.push(239,191,189);if(o=null,n<128){if((t-=1)<0)break;i.push(n)}else if(n<2048){if((t-=2)<0)break;i.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;i.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;i.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return i}function vt(e){return function(e){var t,n,r,o,i,s;Te||Oe();var a=e.length;if(a%4>0)throw new Error("Invalid string. Length must be a multiple of 4");i="="===e[a-2]?2:"="===e[a-1]?1:0,s=new Ae(3*a/4-i),r=i>0?a-4:a;var c=0;for(t=0,n=0;t<r;t+=4,n+=3)o=Re[e.charCodeAt(t)]<<18|Re[e.charCodeAt(t+1)]<<12|Re[e.charCodeAt(t+2)]<<6|Re[e.charCodeAt(t+3)],s[c++]=o>>16&255,s[c++]=o>>8&255,s[c++]=255&o;return 2===i?(o=Re[e.charCodeAt(t)]<<2|Re[e.charCodeAt(t+1)]>>4,s[c++]=255&o):1===i&&(o=Re[e.charCodeAt(t)]<<10|Re[e.charCodeAt(t+1)]<<4|Re[e.charCodeAt(t+2)]>>2,s[c++]=o>>8&255,s[c++]=255&o),s}(function(e){if((e=function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}(e).replace(yt,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function bt(e,t,n,r){for(var o=0;o<r&&!(o+n>=t.length||o>=e.length);++o)t[o+n]=e[o];return o}function _t(e){return!!e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}function xt(e,t,n,r,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),o&&(this.response=o,this.status=o.status?o.status:null)}Se.inherits(xt,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:Se.toJSONObject(this.config),code:this.code,status:this.status}}});const Et=xt.prototype,St={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach((e=>{St[e]={value:e}})),Object.defineProperties(xt,St),Object.defineProperty(Et,"isAxiosError",{value:!0}),xt.from=(e,t,n,r,o,i)=>{const s=Object.create(Et);return Se.toFlatObject(e,s,(function(e){return e!==Error.prototype}),(e=>"isAxiosError"!==e)),xt.call(s,e.message,t,n,r,o),s.cause=e,s.name=e.name,i&&Object.assign(s,i),s};function kt(e){return Se.isPlainObject(e)||Se.isArray(e)}function Rt(e){return Se.endsWith(e,"[]")?e.slice(0,-2):e}function At(e,t,n){return e?e.concat(t).map((function(e,t){return e=Rt(e),!n&&t?"["+e+"]":e})).join(n?".":""):t}const Tt=Se.toFlatObject(Se,{},null,(function(e){return/^is[A-Z]/.test(e)}));function Ot(e,t,n){if(!Se.isObject(e))throw new TypeError("target must be an object");t=t||new FormData;const r=(n=Se.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,(function(e,t){return!Se.isUndefined(t[e])}))).metaTokens,o=n.visitor||l,i=n.dots,s=n.indexes,a=(n.Blob||"undefined"!=typeof Blob&&Blob)&&Se.isSpecCompliantForm(t);if(!Se.isFunction(o))throw new TypeError("visitor must be a function");function c(e){if(null===e)return"";if(Se.isDate(e))return e.toISOString();if(!a&&Se.isBlob(e))throw new xt("Blob is not supported. Use a Buffer instead.");return Se.isArrayBuffer(e)||Se.isTypedArray(e)?a&&"function"==typeof Blob?new Blob([e]):Le.from(e):e}function l(e,n,o){let a=e;if(e&&!o&&"object"==typeof e)if(Se.endsWith(n,"{}"))n=r?n:n.slice(0,-2),e=JSON.stringify(e);else if(Se.isArray(e)&&function(e){return Se.isArray(e)&&!e.some(kt)}(e)||(Se.isFileList(e)||Se.endsWith(n,"[]"))&&(a=Se.toArray(e)))return n=Rt(n),a.forEach((function(e,r){!Se.isUndefined(e)&&null!==e&&t.append(!0===s?At([n],r,i):null===s?n:n+"[]",c(e))})),!1;return!!kt(e)||(t.append(At(o,n,i),c(e)),!1)}const h=[],u=Object.assign(Tt,{defaultVisitor:l,convertValue:c,isVisitable:kt});if(!Se.isObject(e))throw new TypeError("data must be an object");return function e(n,r){if(!Se.isUndefined(n)){if(-1!==h.indexOf(n))throw Error("Circular reference detected in "+r.join("."));h.push(n),Se.forEach(n,(function(n,i){!0===(!(Se.isUndefined(n)||null===n)&&o.call(t,n,Se.isString(i)?i.trim():i,r,u))&&e(n,r?r.concat(i):[i])})),h.pop()}}(e),t}function Ct(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,(function(e){return t[e]}))}function Bt(e,t){this._pairs=[],e&&Ot(e,this,t)}const Pt=Bt.prototype;function It(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Ht(e,t,n){if(!t)return e;const r=n&&n.encode||It,o=n&&n.serialize;let i;if(i=o?o(t,n):Se.isURLSearchParams(t)?t.toString():new Bt(t,n).toString(r),i){const t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+i}return e}Pt.append=function(e,t){this._pairs.push([e,t])},Pt.toString=function(e){const t=e?function(t){return e.call(this,t,Ct)}:Ct;return this._pairs.map((function(e){return t(e[0])+"="+t(e[1])}),"").join("&")};class Nt{constructor(){this.handlers=[]}use(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){Se.forEach(this.handlers,(function(t){null!==t&&e(t)}))}}var zt={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Dt={isBrowser:!0,classes:{URLSearchParams:"undefined"!=typeof URLSearchParams?URLSearchParams:Bt,FormData:"undefined"!=typeof FormData?FormData:null,Blob:"undefined"!=typeof Blob?Blob:null},protocols:["http","https","file","blob","url","data"]};const Lt="undefined"!=typeof window&&"undefined"!=typeof document,Ut="object"==typeof navigator&&navigator||void 0,Mt=Lt&&(!Ut||["ReactNative","NativeScript","NS"].indexOf(Ut.product)<0),qt="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,$t=Lt&&window.location.href||"http://localhost";var Ft={...Object.freeze({__proto__:null,hasBrowserEnv:Lt,hasStandardBrowserEnv:Mt,hasStandardBrowserWebWorkerEnv:qt,navigator:Ut,origin:$t}),...Dt};function jt(e){function t(e,n,r,o){let i=e[o++];if("__proto__"===i)return!0;const s=Number.isFinite(+i),a=o>=e.length;if(i=!i&&Se.isArray(r)?r.length:i,a)return Se.hasOwnProp(r,i)?r[i]=[r[i],n]:r[i]=n,!s;r[i]&&Se.isObject(r[i])||(r[i]=[]);return t(e,n,r[i],o)&&Se.isArray(r[i])&&(r[i]=function(e){const t={},n=Object.keys(e);let r;const o=n.length;let i;for(r=0;r<o;r++)i=n[r],t[i]=e[i];return t}(r[i])),!s}if(Se.isFormData(e)&&Se.isFunction(e.entries)){const n={};return Se.forEachEntry(e,((e,r)=>{t(function(e){return Se.matchAll(/\w+|\[(\w*)]/g,e).map((e=>"[]"===e[0]?"":e[1]||e[0]))}(e),r,n,0)})),n}return null}const Wt={transitional:zt,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){const n=t.getContentType()||"",r=n.indexOf("application/json")>-1,o=Se.isObject(e);o&&Se.isHTMLForm(e)&&(e=new FormData(e));if(Se.isFormData(e))return r?JSON.stringify(jt(e)):e;if(Se.isArrayBuffer(e)||Se.isBuffer(e)||Se.isStream(e)||Se.isFile(e)||Se.isBlob(e)||Se.isReadableStream(e))return e;if(Se.isArrayBufferView(e))return e.buffer;if(Se.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let i;if(o){if(n.indexOf("application/x-www-form-urlencoded")>-1)return function(e,t){return Ot(e,new Ft.classes.URLSearchParams,Object.assign({visitor:function(e,t,n,r){return Ft.isNode&&Se.isBuffer(e)?(this.append(t,e.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)}},t))}(e,this.formSerializer).toString();if((i=Se.isFileList(e))||n.indexOf("multipart/form-data")>-1){const t=this.env&&this.env.FormData;return Ot(i?{"files[]":e}:e,t&&new t,this.formSerializer)}}return o||r?(t.setContentType("application/json",!1),function(e,t){if(Se.isString(e))try{return(t||JSON.parse)(e),Se.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(0,JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){const t=this.transitional||Wt.transitional,n=t&&t.forcedJSONParsing,r="json"===this.responseType;if(Se.isResponse(e)||Se.isReadableStream(e))return e;if(e&&Se.isString(e)&&(n&&!this.responseType||r)){const n=!(t&&t.silentJSONParsing)&&r;try{return JSON.parse(e)}catch(e){if(n){if("SyntaxError"===e.name)throw xt.from(e,xt.ERR_BAD_RESPONSE,this,null,this.response);throw e}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Ft.classes.FormData,Blob:Ft.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};Se.forEach(["delete","get","head","post","put","patch"],(e=>{Wt.headers[e]={}}));const Kt=Se.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"]);const Jt=Symbol("internals");function Yt(e){return e&&String(e).trim().toLowerCase()}function Vt(e){return!1===e||null==e?e:Se.isArray(e)?e.map(Vt):String(e)}function Gt(e,t,n,r,o){return Se.isFunction(r)?r.call(this,t,n):(o&&(t=n),Se.isString(t)?Se.isString(r)?-1!==t.indexOf(r):Se.isRegExp(r)?r.test(t):void 0:void 0)}class Xt{constructor(e){e&&this.set(e)}set(e,t,n){const r=this;function o(e,t,n){const o=Yt(t);if(!o)throw new Error("header name must be a non-empty string");const i=Se.findKey(r,o);(!i||void 0===r[i]||!0===n||void 0===n&&!1!==r[i])&&(r[i||t]=Vt(e))}const i=(e,t)=>Se.forEach(e,((e,n)=>o(e,n,t)));if(Se.isPlainObject(e)||e instanceof this.constructor)i(e,t);else if(Se.isString(e)&&(e=e.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim()))i((e=>{const t={};let n,r,o;return e&&e.split("\n").forEach((function(e){o=e.indexOf(":"),n=e.substring(0,o).trim().toLowerCase(),r=e.substring(o+1).trim(),!n||t[n]&&Kt[n]||("set-cookie"===n?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)})),t})(e),t);else if(Se.isHeaders(e))for(const[t,r]of e.entries())o(r,t,n);else null!=e&&o(t,e,n);return this}get(e,t){if(e=Yt(e)){const n=Se.findKey(this,e);if(n){const e=this[n];if(!t)return e;if(!0===t)return function(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}(e);if(Se.isFunction(t))return t.call(this,e,n);if(Se.isRegExp(t))return t.exec(e);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=Yt(e)){const n=Se.findKey(this,e);return!(!n||void 0===this[n]||t&&!Gt(0,this[n],n,t))}return!1}delete(e,t){const n=this;let r=!1;function o(e){if(e=Yt(e)){const o=Se.findKey(n,e);!o||t&&!Gt(0,n[o],o,t)||(delete n[o],r=!0)}}return Se.isArray(e)?e.forEach(o):o(e),r}clear(e){const t=Object.keys(this);let n=t.length,r=!1;for(;n--;){const o=t[n];e&&!Gt(0,this[o],o,e,!0)||(delete this[o],r=!0)}return r}normalize(e){const t=this,n={};return Se.forEach(this,((r,o)=>{const i=Se.findKey(n,o);if(i)return t[i]=Vt(r),void delete t[o];const s=e?function(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,((e,t,n)=>t.toUpperCase()+n))}(o):String(o).trim();s!==o&&delete t[o],t[s]=Vt(r),n[s]=!0})),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const t=Object.create(null);return Se.forEach(this,((n,r)=>{null!=n&&!1!==n&&(t[r]=e&&Se.isArray(n)?n.join(", "):n)})),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map((([e,t])=>e+": "+t)).join("\n")}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){const n=new this(e);return t.forEach((e=>n.set(e))),n}static accessor(e){const t=(this[Jt]=this[Jt]={accessors:{}}).accessors,n=this.prototype;function r(e){const r=Yt(e);t[r]||(!function(e,t){const n=Se.toCamelCase(" "+t);["get","set","has"].forEach((r=>{Object.defineProperty(e,r+n,{value:function(e,n,o){return this[r].call(this,t,e,n,o)},configurable:!0})}))}(n,e),t[r]=!0)}return Se.isArray(e)?e.forEach(r):r(e),this}}function Zt(e,t){const n=this||Wt,r=t||n,o=Xt.from(r.headers);let i=r.data;return Se.forEach(e,(function(e){i=e.call(n,i,o.normalize(),t?t.status:void 0)})),o.normalize(),i}function Qt(e){return!(!e||!e.__CANCEL__)}function en(e,t,n){xt.call(this,null==e?"canceled":e,xt.ERR_CANCELED,t,n),this.name="CanceledError"}function tn(e,t,n){const r=n.config.validateStatus;n.status&&r&&!r(n.status)?t(new xt("Request failed with status code "+n.status,[xt.ERR_BAD_REQUEST,xt.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n)):e(n)}Xt.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),Se.reduceDescriptors(Xt.prototype,(({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(e){this[n]=e}}})),Se.freezeMethods(Xt),Se.inherits(en,xt,{__CANCEL__:!0});const nn=(e,t,n=3)=>{let r=0;const o=function(e,t){e=e||10;const n=new Array(e),r=new Array(e);let o,i=0,s=0;return t=void 0!==t?t:1e3,function(a){const c=Date.now(),l=r[s];o||(o=c),n[i]=a,r[i]=c;let h=s,u=0;for(;h!==i;)u+=n[h++],h%=e;if(i=(i+1)%e,i===s&&(s=(s+1)%e),c-o<t)return;const f=l&&c-l;return f?Math.round(1e3*u/f):void 0}}(50,250);return function(e,t){let n,r,o=0,i=1e3/t;const s=(t,i=Date.now())=>{o=i,n=null,r&&(clearTimeout(r),r=null),e.apply(null,t)};return[(...e)=>{const t=Date.now(),a=t-o;a>=i?s(e,t):(n=e,r||(r=setTimeout((()=>{r=null,s(n)}),i-a)))},()=>n&&s(n)]}((n=>{const i=n.loaded,s=n.lengthComputable?n.total:void 0,a=i-r,c=o(a);r=i;e({loaded:i,total:s,progress:s?i/s:void 0,bytes:a,rate:c||void 0,estimated:c&&s&&i<=s?(s-i)/c:void 0,event:n,lengthComputable:null!=s,[t?"download":"upload"]:!0})}),n)},rn=(e,t)=>{const n=null!=e;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},on=e=>(...t)=>Se.asap((()=>e(...t)));var sn=Ft.hasStandardBrowserEnv?function(){const e=Ft.navigator&&/(msie|trident)/i.test(Ft.navigator.userAgent),t=document.createElement("a");let n;function r(n){let r=n;return e&&(t.setAttribute("href",r),r=t.href),t.setAttribute("href",r),{href:t.href,protocol:t.protocol?t.protocol.replace(/:$/,""):"",host:t.host,search:t.search?t.search.replace(/^\?/,""):"",hash:t.hash?t.hash.replace(/^#/,""):"",hostname:t.hostname,port:t.port,pathname:"/"===t.pathname.charAt(0)?t.pathname:"/"+t.pathname}}return n=r(window.location.href),function(e){const t=Se.isString(e)?r(e):e;return t.protocol===n.protocol&&t.host===n.host}}():function(){return!0},an=Ft.hasStandardBrowserEnv?{write(e,t,n,r,o,i){const s=[e+"="+encodeURIComponent(t)];Se.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),Se.isString(r)&&s.push("path="+r),Se.isString(o)&&s.push("domain="+o),!0===i&&s.push("secure"),document.cookie=s.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read:()=>null,remove(){}};function cn(e,t){return e&&!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)?function(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}(e,t):t}const ln=e=>e instanceof Xt?{...e}:e;function hn(e,t){t=t||{};const n={};function r(e,t,n){return Se.isPlainObject(e)&&Se.isPlainObject(t)?Se.merge.call({caseless:n},e,t):Se.isPlainObject(t)?Se.merge({},t):Se.isArray(t)?t.slice():t}function o(e,t,n){return Se.isUndefined(t)?Se.isUndefined(e)?void 0:r(void 0,e,n):r(e,t,n)}function i(e,t){if(!Se.isUndefined(t))return r(void 0,t)}function s(e,t){return Se.isUndefined(t)?Se.isUndefined(e)?void 0:r(void 0,e):r(void 0,t)}function a(n,o,i){return i in t?r(n,o):i in e?r(void 0,n):void 0}const c={url:i,method:i,data:i,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,withXSRFToken:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:a,headers:(e,t)=>o(ln(e),ln(t),!0)};return Se.forEach(Object.keys(Object.assign({},e,t)),(function(r){const i=c[r]||o,s=i(e[r],t[r],r);Se.isUndefined(s)&&i!==a||(n[r]=s)})),n}var un=e=>{const t=hn({},e);let n,{data:r,withXSRFToken:o,xsrfHeaderName:i,xsrfCookieName:s,headers:a,auth:c}=t;if(t.headers=a=Xt.from(a),t.url=Ht(cn(t.baseURL,t.url),e.params,e.paramsSerializer),c&&a.set("Authorization","Basic "+btoa((c.username||"")+":"+(c.password?unescape(encodeURIComponent(c.password)):""))),Se.isFormData(r))if(Ft.hasStandardBrowserEnv||Ft.hasStandardBrowserWebWorkerEnv)a.setContentType(void 0);else if(!1!==(n=a.getContentType())){const[e,...t]=n?n.split(";").map((e=>e.trim())).filter(Boolean):[];a.setContentType([e||"multipart/form-data",...t].join("; "))}if(Ft.hasStandardBrowserEnv&&(o&&Se.isFunction(o)&&(o=o(t)),o||!1!==o&&sn(t.url))){const e=i&&s&&an.read(s);e&&a.set(i,e)}return t};var fn="undefined"!=typeof XMLHttpRequest&&function(e){return new Promise((function(t,n){const r=un(e);let o=r.data;const i=Xt.from(r.headers).normalize();let s,a,c,l,h,{responseType:u,onUploadProgress:f,onDownloadProgress:d}=r;function p(){l&&l(),h&&h(),r.cancelToken&&r.cancelToken.unsubscribe(s),r.signal&&r.signal.removeEventListener("abort",s)}let g=new XMLHttpRequest;function y(){if(!g)return;const r=Xt.from("getAllResponseHeaders"in g&&g.getAllResponseHeaders());tn((function(e){t(e),p()}),(function(e){n(e),p()}),{data:u&&"text"!==u&&"json"!==u?g.response:g.responseText,status:g.status,statusText:g.statusText,headers:r,config:e,request:g}),g=null}g.open(r.method.toUpperCase(),r.url,!0),g.timeout=r.timeout,"onloadend"in g?g.onloadend=y:g.onreadystatechange=function(){g&&4===g.readyState&&(0!==g.status||g.responseURL&&0===g.responseURL.indexOf("file:"))&&setTimeout(y)},g.onabort=function(){g&&(n(new xt("Request aborted",xt.ECONNABORTED,e,g)),g=null)},g.onerror=function(){n(new xt("Network Error",xt.ERR_NETWORK,e,g)),g=null},g.ontimeout=function(){let t=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded";const o=r.transitional||zt;r.timeoutErrorMessage&&(t=r.timeoutErrorMessage),n(new xt(t,o.clarifyTimeoutError?xt.ETIMEDOUT:xt.ECONNABORTED,e,g)),g=null},void 0===o&&i.setContentType(null),"setRequestHeader"in g&&Se.forEach(i.toJSON(),(function(e,t){g.setRequestHeader(t,e)})),Se.isUndefined(r.withCredentials)||(g.withCredentials=!!r.withCredentials),u&&"json"!==u&&(g.responseType=r.responseType),d&&([c,h]=nn(d,!0),g.addEventListener("progress",c)),f&&g.upload&&([a,l]=nn(f),g.upload.addEventListener("progress",a),g.upload.addEventListener("loadend",l)),(r.cancelToken||r.signal)&&(s=t=>{g&&(n(!t||t.type?new en(null,e,g):t),g.abort(),g=null)},r.cancelToken&&r.cancelToken.subscribe(s),r.signal&&(r.signal.aborted?s():r.signal.addEventListener("abort",s)));const m=function(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}(r.url);m&&-1===Ft.protocols.indexOf(m)?n(new xt("Unsupported protocol "+m+":",xt.ERR_BAD_REQUEST,e)):g.send(o||null)}))};const dn=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let n,r=new AbortController;const o=function(e){if(!n){n=!0,s();const t=e instanceof Error?e:this.reason;r.abort(t instanceof xt?t:new en(t instanceof Error?t.message:t))}};let i=t&&setTimeout((()=>{i=null,o(new xt(`timeout ${t} of ms exceeded`,xt.ETIMEDOUT))}),t);const s=()=>{e&&(i&&clearTimeout(i),i=null,e.forEach((e=>{e.unsubscribe?e.unsubscribe(o):e.removeEventListener("abort",o)})),e=null)};e.forEach((e=>e.addEventListener("abort",o)));const{signal:a}=r;return a.unsubscribe=()=>Se.asap(s),a}},pn=function*(e,t){let n=e.byteLength;if(n<t)return void(yield e);let r,o=0;for(;o<n;)r=o+t,yield e.slice(o,r),o=r},gn=async function*(e){if(e[Symbol.asyncIterator])return void(yield*e);const t=e.getReader();try{for(;;){const{done:e,value:n}=await t.read();if(e)break;yield n}}finally{await t.cancel()}},yn=(e,t,n,r)=>{const o=async function*(e,t){for await(const n of gn(e))yield*pn(n,t)}(e,t);let i,s=0,a=e=>{i||(i=!0,r&&r(e))};return new ReadableStream({async pull(e){try{const{done:t,value:r}=await o.next();if(t)return a(),void e.close();let i=r.byteLength;if(n){let e=s+=i;n(e)}e.enqueue(new Uint8Array(r))}catch(e){throw a(e),e}},cancel:e=>(a(e),o.return())},{highWaterMark:2})},mn="function"==typeof fetch&&"function"==typeof Request&&"function"==typeof Response,wn=mn&&"function"==typeof ReadableStream,vn=mn&&("function"==typeof TextEncoder?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),bn=(e,...t)=>{try{return!!e(...t)}catch(e){return!1}},_n=wn&&bn((()=>{let e=!1;const t=new Request(Ft.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t})),xn=wn&&bn((()=>Se.isReadableStream(new Response("").body))),En={stream:xn&&(e=>e.body)};var Sn;mn&&(Sn=new Response,["text","arrayBuffer","blob","formData","stream"].forEach((e=>{!En[e]&&(En[e]=Se.isFunction(Sn[e])?t=>t[e]():(t,n)=>{throw new xt(`Response type '${e}' is not supported`,xt.ERR_NOT_SUPPORT,n)})})));const kn=async(e,t)=>{const n=Se.toFiniteNumber(e.getContentLength());return null==n?(async e=>{if(null==e)return 0;if(Se.isBlob(e))return e.size;if(Se.isSpecCompliantForm(e)){const t=new Request(Ft.origin,{method:"POST",body:e});return(await t.arrayBuffer()).byteLength}return Se.isArrayBufferView(e)||Se.isArrayBuffer(e)?e.byteLength:(Se.isURLSearchParams(e)&&(e+=""),Se.isString(e)?(await vn(e)).byteLength:void 0)})(t):n};var Rn=mn&&(async e=>{let{url:t,method:n,data:r,signal:o,cancelToken:i,timeout:s,onDownloadProgress:a,onUploadProgress:c,responseType:l,headers:h,withCredentials:u="same-origin",fetchOptions:f}=un(e);l=l?(l+"").toLowerCase():"text";let d,p=dn([o,i&&i.toAbortSignal()],s);const g=p&&p.unsubscribe&&(()=>{p.unsubscribe()});let y;try{if(c&&_n&&"get"!==n&&"head"!==n&&0!==(y=await kn(h,r))){let e,n=new Request(t,{method:"POST",body:r,duplex:"half"});if(Se.isFormData(r)&&(e=n.headers.get("content-type"))&&h.setContentType(e),n.body){const[e,t]=rn(y,nn(on(c)));r=yn(n.body,65536,e,t)}}Se.isString(u)||(u=u?"include":"omit");const o="credentials"in Request.prototype;d=new Request(t,{...f,signal:p,method:n.toUpperCase(),headers:h.normalize().toJSON(),body:r,duplex:"half",credentials:o?u:void 0});let i=await fetch(d);const s=xn&&("stream"===l||"response"===l);if(xn&&(a||s&&g)){const e={};["status","statusText","headers"].forEach((t=>{e[t]=i[t]}));const t=Se.toFiniteNumber(i.headers.get("content-length")),[n,r]=a&&rn(t,nn(on(a),!0))||[];i=new Response(yn(i.body,65536,n,(()=>{r&&r(),g&&g()})),e)}l=l||"text";let m=await En[Se.findKey(En,l)||"text"](i,e);return!s&&g&&g(),await new Promise(((t,n)=>{tn(t,n,{data:m,headers:Xt.from(i.headers),status:i.status,statusText:i.statusText,config:e,request:d})}))}catch(t){if(g&&g(),t&&"TypeError"===t.name&&/fetch/i.test(t.message))throw Object.assign(new xt("Network Error",xt.ERR_NETWORK,e,d),{cause:t.cause||t});throw xt.from(t,t&&t.code,e,d)}});const An={http:null,xhr:fn,fetch:Rn};Se.forEach(An,((e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(e){}Object.defineProperty(e,"adapterName",{value:t})}}));const Tn=e=>`- ${e}`,On=e=>Se.isFunction(e)||null===e||!1===e;var Cn=e=>{e=Se.isArray(e)?e:[e];const{length:t}=e;let n,r;const o={};for(let i=0;i<t;i++){let t;if(n=e[i],r=n,!On(n)&&(r=An[(t=String(n)).toLowerCase()],void 0===r))throw new xt(`Unknown adapter '${t}'`);if(r)break;o[t||"#"+i]=r}if(!r){const e=Object.entries(o).map((([e,t])=>`adapter ${e} `+(!1===t?"is not supported by the environment":"is not available in the build")));throw new xt("There is no suitable adapter to dispatch the request "+(t?e.length>1?"since :\n"+e.map(Tn).join("\n"):" "+Tn(e[0]):"as no adapter specified"),"ERR_NOT_SUPPORT")}return r};function Bn(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new en(null,e)}function Pn(e){Bn(e),e.headers=Xt.from(e.headers),e.data=Zt.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1);return Cn(e.adapter||Wt.adapter)(e).then((function(t){return Bn(e),t.data=Zt.call(e,e.transformResponse,t),t.headers=Xt.from(t.headers),t}),(function(t){return Qt(t)||(Bn(e),t&&t.response&&(t.response.data=Zt.call(e,e.transformResponse,t.response),t.response.headers=Xt.from(t.response.headers))),Promise.reject(t)}))}const In="1.7.7",Hn={};["object","boolean","number","function","string","symbol"].forEach(((e,t)=>{Hn[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}}));const Nn={};Hn.transitional=function(e,t,n){function r(e,t){return"[Axios v1.7.7] Transitional option '"+e+"'"+t+(n?". "+n:"")}return(n,o,i)=>{if(!1===e)throw new xt(r(o," has been removed"+(t?" in "+t:"")),xt.ERR_DEPRECATED);return t&&!Nn[o]&&(Nn[o]=!0,console.warn(r(o," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,o,i)}};var zn={assertOptions:function(e,t,n){if("object"!=typeof e)throw new xt("options must be an object",xt.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let o=r.length;for(;o-- >0;){const i=r[o],s=t[i];if(s){const t=e[i],n=void 0===t||s(t,i,e);if(!0!==n)throw new xt("option "+i+" must be "+n,xt.ERR_BAD_OPTION_VALUE)}else if(!0!==n)throw new xt("Unknown option "+i,xt.ERR_BAD_OPTION)}},validators:Hn};const Dn=zn.validators;class Ln{constructor(e){this.defaults=e,this.interceptors={request:new Nt,response:new Nt}}async request(e,t){try{return await this._request(e,t)}catch(e){if(e instanceof Error){let t;Error.captureStackTrace?Error.captureStackTrace(t={}):t=new Error;const n=t.stack?t.stack.replace(/^.+\n/,""):"";try{e.stack?n&&!String(e.stack).endsWith(n.replace(/^.+\n.+\n/,""))&&(e.stack+="\n"+n):e.stack=n}catch(e){}}throw e}}_request(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{},t=hn(this.defaults,t);const{transitional:n,paramsSerializer:r,headers:o}=t;void 0!==n&&zn.assertOptions(n,{silentJSONParsing:Dn.transitional(Dn.boolean),forcedJSONParsing:Dn.transitional(Dn.boolean),clarifyTimeoutError:Dn.transitional(Dn.boolean)},!1),null!=r&&(Se.isFunction(r)?t.paramsSerializer={serialize:r}:zn.assertOptions(r,{encode:Dn.function,serialize:Dn.function},!0)),t.method=(t.method||this.defaults.method||"get").toLowerCase();let i=o&&Se.merge(o.common,o[t.method]);o&&Se.forEach(["delete","get","head","post","put","patch","common"],(e=>{delete o[e]})),t.headers=Xt.concat(i,o);const s=[];let a=!0;this.interceptors.request.forEach((function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(a=a&&e.synchronous,s.unshift(e.fulfilled,e.rejected))}));const c=[];let l;this.interceptors.response.forEach((function(e){c.push(e.fulfilled,e.rejected)}));let h,u=0;if(!a){const e=[Pn.bind(this),void 0];for(e.unshift.apply(e,s),e.push.apply(e,c),h=e.length,l=Promise.resolve(t);u<h;)l=l.then(e[u++],e[u++]);return l}h=s.length;let f=t;for(u=0;u<h;){const e=s[u++],t=s[u++];try{f=e(f)}catch(e){t.call(this,e);break}}try{l=Pn.call(this,f)}catch(e){return Promise.reject(e)}for(u=0,h=c.length;u<h;)l=l.then(c[u++],c[u++]);return l}getUri(e){return Ht(cn((e=hn(this.defaults,e)).baseURL,e.url),e.params,e.paramsSerializer)}}Se.forEach(["delete","get","head","options"],(function(e){Ln.prototype[e]=function(t,n){return this.request(hn(n||{},{method:e,url:t,data:(n||{}).data}))}})),Se.forEach(["post","put","patch"],(function(e){function t(t){return function(n,r,o){return this.request(hn(o||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:n,data:r}))}}Ln.prototype[e]=t(),Ln.prototype[e+"Form"]=t(!0)}));class Un{constructor(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");let t;this.promise=new Promise((function(e){t=e}));const n=this;this.promise.then((e=>{if(!n._listeners)return;let t=n._listeners.length;for(;t-- >0;)n._listeners[t](e);n._listeners=null})),this.promise.then=e=>{let t;const r=new Promise((e=>{n.subscribe(e),t=e})).then(e);return r.cancel=function(){n.unsubscribe(t)},r},e((function(e,r,o){n.reason||(n.reason=new en(e,r,o),t(n.reason))}))}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}toAbortSignal(){const e=new AbortController,t=t=>{e.abort(t)};return this.subscribe(t),e.signal.unsubscribe=()=>this.unsubscribe(t),e.signal}static source(){let e;return{token:new Un((function(t){e=t})),cancel:e}}}const Mn={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Mn).forEach((([e,t])=>{Mn[t]=e}));const qn=function e(t){const n=new Ln(t),r=H(Ln.prototype.request,n);return Se.extend(r,Ln.prototype,n,{allOwnKeys:!0}),Se.extend(r,n,null,{allOwnKeys:!0}),r.create=function(n){return e(hn(t,n))},r}(Wt);qn.Axios=Ln,qn.CanceledError=en,qn.CancelToken=Un,qn.isCancel=Qt,qn.VERSION=In,qn.toFormData=Ot,qn.AxiosError=xt,qn.Cancel=qn.CanceledError,qn.all=function(e){return Promise.all(e)},qn.spread=function(e){return function(t){return e.apply(null,t)}},qn.isAxiosError=function(e){return Se.isObject(e)&&!0===e.isAxiosError},qn.mergeConfig=hn,qn.AxiosHeaders=Xt,qn.formToJSON=e=>jt(Se.isHTMLForm(e)?new FormData(e):e),qn.getAdapter=Cn,qn.HttpStatusCode=Mn,qn.default=qn;class $n{static getInstance(e,t){this.instances.has(e)||this.instances.set(e,t());const n=this.instances.get(e);if(!n)throw new Error(`Instance for class ${e} could not be created.`);return n}}$n.instances=new Map;class Fn{static getInstance(){return $n.getInstance("ObjectHelper",(()=>new Fn))}merge(e,...t){for(const n of t)this.mergeValue(e,n);return e}values(e){return Object.values(e)}includes(e,t){return t in e}valuesIncludes(e,t){return Object.values(e).includes(t)}hasAllValues(e,t){const n=Object.keys(e);return t.every((e=>n.includes(e)))}isArray(e){return"[object Array]"===Object.prototype.toString.call(e)}mergeValue(e,t){var n;return this.isArray(t)?this.mergeArrayValues(e,t):"object"==typeof t?this.mergeObjectValues(e,t):null!==(n=null!=t?t:e)&&void 0!==n?n:void 0}mergeArrayValues(e,t){if(!this.isArray(e))return[...t];const n=e;for(let e=0,r=t.length;e<r;e++)n[e]=this.mergeValue(n[e],t[e]);return n}mergeObjectValues(e,t){return e&&"object"==typeof e?(this.innerMerge(e,t),e):t?Object.assign({},t):t}innerMerge(e,t){for(const n of Object.keys(t))e[n]=this.mergeValue(e[n],t[n])}}var jn="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function Wn(e){if(e.__esModule)return e;var t=e.default;if("function"==typeof t){var n=function e(){return this instanceof e?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach((function(t){var r=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(n,t,r.get?r:{enumerable:!0,get:function(){return e[t]}})})),n}var Kn={exports:{}};var Jn,Yn={exports:{}},Vn=Wn(Object.freeze({__proto__:null,default:{}}));function Gn(){return Jn||(Jn=1,Yn.exports=(e=e||function(e,t){var n;if("undefined"!=typeof window&&window.crypto&&(n=window.crypto),"undefined"!=typeof self&&self.crypto&&(n=self.crypto),"undefined"!=typeof globalThis&&globalThis.crypto&&(n=globalThis.crypto),!n&&"undefined"!=typeof window&&window.msCrypto&&(n=window.msCrypto),!n&&void 0!==jn&&jn.crypto&&(n=jn.crypto),!n)try{n=Vn}catch(e){}var r=function(){if(n){if("function"==typeof n.getRandomValues)try{return n.getRandomValues(new Uint32Array(1))[0]}catch(e){}if("function"==typeof n.randomBytes)try{return n.randomBytes(4).readInt32LE()}catch(e){}}throw new Error("Native crypto module could not be used to get secure random number.")},o=Object.create||function(){function e(){}return function(t){var n;return e.prototype=t,n=new e,e.prototype=null,n}}(),i={},s=i.lib={},a=s.Base={extend:function(e){var t=o(this);return e&&t.mixIn(e),t.hasOwnProperty("init")&&this.init!==t.init||(t.init=function(){t.$super.init.apply(this,arguments)}),t.init.prototype=t,t.$super=this,t},create:function(){var e=this.extend();return e.init.apply(e,arguments),e},init:function(){},mixIn:function(e){for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t]);e.hasOwnProperty("toString")&&(this.toString=e.toString)},clone:function(){return this.init.prototype.extend(this)}},c=s.WordArray=a.extend({init:function(e,n){e=this.words=e||[],this.sigBytes=n!=t?n:4*e.length},toString:function(e){return(e||h).stringify(this)},concat:function(e){var t=this.words,n=e.words,r=this.sigBytes,o=e.sigBytes;if(this.clamp(),r%4)for(var i=0;i<o;i++){var s=n[i>>>2]>>>24-i%4*8&255;t[r+i>>>2]|=s<<24-(r+i)%4*8}else for(var a=0;a<o;a+=4)t[r+a>>>2]=n[a>>>2];return this.sigBytes+=o,this},clamp:function(){var t=this.words,n=this.sigBytes;t[n>>>2]&=4294967295<<32-n%4*8,t.length=e.ceil(n/4)},clone:function(){var e=a.clone.call(this);return e.words=this.words.slice(0),e},random:function(e){for(var t=[],n=0;n<e;n+=4)t.push(r());return new c.init(t,e)}}),l=i.enc={},h=l.Hex={stringify:function(e){for(var t=e.words,n=e.sigBytes,r=[],o=0;o<n;o++){var i=t[o>>>2]>>>24-o%4*8&255;r.push((i>>>4).toString(16)),r.push((15&i).toString(16))}return r.join("")},parse:function(e){for(var t=e.length,n=[],r=0;r<t;r+=2)n[r>>>3]|=parseInt(e.substr(r,2),16)<<24-r%8*4;return new c.init(n,t/2)}},u=l.Latin1={stringify:function(e){for(var t=e.words,n=e.sigBytes,r=[],o=0;o<n;o++){var i=t[o>>>2]>>>24-o%4*8&255;r.push(String.fromCharCode(i))}return r.join("")},parse:function(e){for(var t=e.length,n=[],r=0;r<t;r++)n[r>>>2]|=(255&e.charCodeAt(r))<<24-r%4*8;return new c.init(n,t)}},f=l.Utf8={stringify:function(e){try{return decodeURIComponent(escape(u.stringify(e)))}catch(e){throw new Error("Malformed UTF-8 data")}},parse:function(e){return u.parse(unescape(encodeURIComponent(e)))}},d=s.BufferedBlockAlgorithm=a.extend({reset:function(){this._data=new c.init,this._nDataBytes=0},_append:function(e){"string"==typeof e&&(e=f.parse(e)),this._data.concat(e),this._nDataBytes+=e.sigBytes},_process:function(t){var n,r=this._data,o=r.words,i=r.sigBytes,s=this.blockSize,a=i/(4*s),l=(a=t?e.ceil(a):e.max((0|a)-this._minBufferSize,0))*s,h=e.min(4*l,i);if(l){for(var u=0;u<l;u+=s)this._doProcessBlock(o,u);n=o.splice(0,l),r.sigBytes-=h}return new c.init(n,h)},clone:function(){var e=a.clone.call(this);return e._data=this._data.clone(),e},_minBufferSize:0});s.Hasher=d.extend({cfg:a.extend(),init:function(e){this.cfg=this.cfg.extend(e),this.reset()},reset:function(){d.reset.call(this),this._doReset()},update:function(e){return this._append(e),this._process(),this},finalize:function(e){return e&&this._append(e),this._doFinalize()},blockSize:16,_createHelper:function(e){return function(t,n){return new e.init(n).finalize(t)}},_createHmacHelper:function(e){return function(t,n){return new p.HMAC.init(e,n).finalize(t)}}});var p=i.algo={};return i}(Math),e)),Yn.exports;var e}var Xn,Zn={exports:{}};function Qn(){return Xn?Zn.exports:(Xn=1,Zn.exports=(s=Gn(),n=(t=s).lib,r=n.Base,o=n.WordArray,(i=t.x64={}).Word=r.extend({init:function(e,t){this.high=e,this.low=t}}),i.WordArray=r.extend({init:function(t,n){t=this.words=t||[],this.sigBytes=n!=e?n:8*t.length},toX32:function(){for(var e=this.words,t=e.length,n=[],r=0;r<t;r++){var i=e[r];n.push(i.high),n.push(i.low)}return o.create(n,this.sigBytes)},clone:function(){for(var e=r.clone.call(this),t=e.words=this.words.slice(0),n=t.length,o=0;o<n;o++)t[o]=t[o].clone();return e}}),s));var e,t,n,r,o,i,s}var er,tr={exports:{}};function nr(){return er||(er=1,tr.exports=(e=Gn(),function(){if("function"==typeof ArrayBuffer){var t=e.lib.WordArray,n=t.init,r=t.init=function(e){if(e instanceof ArrayBuffer&&(e=new Uint8Array(e)),(e instanceof Int8Array||"undefined"!=typeof Uint8ClampedArray&&e instanceof Uint8ClampedArray||e instanceof Int16Array||e instanceof Uint16Array||e instanceof Int32Array||e instanceof Uint32Array||e instanceof Float32Array||e instanceof Float64Array)&&(e=new Uint8Array(e.buffer,e.byteOffset,e.byteLength)),e instanceof Uint8Array){for(var t=e.byteLength,r=[],o=0;o<t;o++)r[o>>>2]|=e[o]<<24-o%4*8;n.call(this,r,t)}else n.apply(this,arguments)};r.prototype=t}}(),e.lib.WordArray)),tr.exports;var e}var rr,or={exports:{}};function ir(){return rr?or.exports:(rr=1,or.exports=(e=Gn(),function(){var t=e,n=t.lib.WordArray,r=t.enc;function o(e){return e<<8&4278255360|e>>>8&16711935}r.Utf16=r.Utf16BE={stringify:function(e){for(var t=e.words,n=e.sigBytes,r=[],o=0;o<n;o+=2){var i=t[o>>>2]>>>16-o%4*8&65535;r.push(String.fromCharCode(i))}return r.join("")},parse:function(e){for(var t=e.length,r=[],o=0;o<t;o++)r[o>>>1]|=e.charCodeAt(o)<<16-o%2*16;return n.create(r,2*t)}},r.Utf16LE={stringify:function(e){for(var t=e.words,n=e.sigBytes,r=[],i=0;i<n;i+=2){var s=o(t[i>>>2]>>>16-i%4*8&65535);r.push(String.fromCharCode(s))}return r.join("")},parse:function(e){for(var t=e.length,r=[],i=0;i<t;i++)r[i>>>1]|=o(e.charCodeAt(i)<<16-i%2*16);return n.create(r,2*t)}}}(),e.enc.Utf16));var e}var sr,ar={exports:{}};function cr(){return sr?ar.exports:(sr=1,ar.exports=(e=Gn(),function(){var t=e,n=t.lib.WordArray;function r(e,t,r){for(var o=[],i=0,s=0;s<t;s++)if(s%4){var a=r[e.charCodeAt(s-1)]<<s%4*2|r[e.charCodeAt(s)]>>>6-s%4*2;o[i>>>2]|=a<<24-i%4*8,i++}return n.create(o,i)}t.enc.Base64={stringify:function(e){var t=e.words,n=e.sigBytes,r=this._map;e.clamp();for(var o=[],i=0;i<n;i+=3)for(var s=(t[i>>>2]>>>24-i%4*8&255)<<16|(t[i+1>>>2]>>>24-(i+1)%4*8&255)<<8|t[i+2>>>2]>>>24-(i+2)%4*8&255,a=0;a<4&&i+.75*a<n;a++)o.push(r.charAt(s>>>6*(3-a)&63));var c=r.charAt(64);if(c)for(;o.length%4;)o.push(c);return o.join("")},parse:function(e){var t=e.length,n=this._map,o=this._reverseMap;if(!o){o=this._reverseMap=[];for(var i=0;i<n.length;i++)o[n.charCodeAt(i)]=i}var s=n.charAt(64);if(s){var a=e.indexOf(s);-1!==a&&(t=a)}return r(e,t,o)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="}}(),e.enc.Base64));var e}var lr,hr={exports:{}};function ur(){return lr?hr.exports:(lr=1,hr.exports=(e=Gn(),function(){var t=e,n=t.lib.WordArray;function r(e,t,r){for(var o=[],i=0,s=0;s<t;s++)if(s%4){var a=r[e.charCodeAt(s-1)]<<s%4*2|r[e.charCodeAt(s)]>>>6-s%4*2;o[i>>>2]|=a<<24-i%4*8,i++}return n.create(o,i)}t.enc.Base64url={stringify:function(e,t){void 0===t&&(t=!0);var n=e.words,r=e.sigBytes,o=t?this._safe_map:this._map;e.clamp();for(var i=[],s=0;s<r;s+=3)for(var a=(n[s>>>2]>>>24-s%4*8&255)<<16|(n[s+1>>>2]>>>24-(s+1)%4*8&255)<<8|n[s+2>>>2]>>>24-(s+2)%4*8&255,c=0;c<4&&s+.75*c<r;c++)i.push(o.charAt(a>>>6*(3-c)&63));var l=o.charAt(64);if(l)for(;i.length%4;)i.push(l);return i.join("")},parse:function(e,t){void 0===t&&(t=!0);var n=e.length,o=t?this._safe_map:this._map,i=this._reverseMap;if(!i){i=this._reverseMap=[];for(var s=0;s<o.length;s++)i[o.charCodeAt(s)]=s}var a=o.charAt(64);if(a){var c=e.indexOf(a);-1!==c&&(n=c)}return r(e,n,i)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",_safe_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"}}(),e.enc.Base64url));var e}var fr,dr={exports:{}};function pr(){return fr?dr.exports:(fr=1,dr.exports=(e=Gn(),function(t){var n=e,r=n.lib,o=r.WordArray,i=r.Hasher,s=n.algo,a=[];!function(){for(var e=0;e<64;e++)a[e]=4294967296*t.abs(t.sin(e+1))|0}();var c=s.MD5=i.extend({_doReset:function(){this._hash=new o.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(e,t){for(var n=0;n<16;n++){var r=t+n,o=e[r];e[r]=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8)}var i=this._hash.words,s=e[t+0],c=e[t+1],d=e[t+2],p=e[t+3],g=e[t+4],y=e[t+5],m=e[t+6],w=e[t+7],v=e[t+8],b=e[t+9],_=e[t+10],x=e[t+11],E=e[t+12],S=e[t+13],k=e[t+14],R=e[t+15],A=i[0],T=i[1],O=i[2],C=i[3];A=l(A,T,O,C,s,7,a[0]),C=l(C,A,T,O,c,12,a[1]),O=l(O,C,A,T,d,17,a[2]),T=l(T,O,C,A,p,22,a[3]),A=l(A,T,O,C,g,7,a[4]),C=l(C,A,T,O,y,12,a[5]),O=l(O,C,A,T,m,17,a[6]),T=l(T,O,C,A,w,22,a[7]),A=l(A,T,O,C,v,7,a[8]),C=l(C,A,T,O,b,12,a[9]),O=l(O,C,A,T,_,17,a[10]),T=l(T,O,C,A,x,22,a[11]),A=l(A,T,O,C,E,7,a[12]),C=l(C,A,T,O,S,12,a[13]),O=l(O,C,A,T,k,17,a[14]),A=h(A,T=l(T,O,C,A,R,22,a[15]),O,C,c,5,a[16]),C=h(C,A,T,O,m,9,a[17]),O=h(O,C,A,T,x,14,a[18]),T=h(T,O,C,A,s,20,a[19]),A=h(A,T,O,C,y,5,a[20]),C=h(C,A,T,O,_,9,a[21]),O=h(O,C,A,T,R,14,a[22]),T=h(T,O,C,A,g,20,a[23]),A=h(A,T,O,C,b,5,a[24]),C=h(C,A,T,O,k,9,a[25]),O=h(O,C,A,T,p,14,a[26]),T=h(T,O,C,A,v,20,a[27]),A=h(A,T,O,C,S,5,a[28]),C=h(C,A,T,O,d,9,a[29]),O=h(O,C,A,T,w,14,a[30]),A=u(A,T=h(T,O,C,A,E,20,a[31]),O,C,y,4,a[32]),C=u(C,A,T,O,v,11,a[33]),O=u(O,C,A,T,x,16,a[34]),T=u(T,O,C,A,k,23,a[35]),A=u(A,T,O,C,c,4,a[36]),C=u(C,A,T,O,g,11,a[37]),O=u(O,C,A,T,w,16,a[38]),T=u(T,O,C,A,_,23,a[39]),A=u(A,T,O,C,S,4,a[40]),C=u(C,A,T,O,s,11,a[41]),O=u(O,C,A,T,p,16,a[42]),T=u(T,O,C,A,m,23,a[43]),A=u(A,T,O,C,b,4,a[44]),C=u(C,A,T,O,E,11,a[45]),O=u(O,C,A,T,R,16,a[46]),A=f(A,T=u(T,O,C,A,d,23,a[47]),O,C,s,6,a[48]),C=f(C,A,T,O,w,10,a[49]),O=f(O,C,A,T,k,15,a[50]),T=f(T,O,C,A,y,21,a[51]),A=f(A,T,O,C,E,6,a[52]),C=f(C,A,T,O,p,10,a[53]),O=f(O,C,A,T,_,15,a[54]),T=f(T,O,C,A,c,21,a[55]),A=f(A,T,O,C,v,6,a[56]),C=f(C,A,T,O,R,10,a[57]),O=f(O,C,A,T,m,15,a[58]),T=f(T,O,C,A,S,21,a[59]),A=f(A,T,O,C,g,6,a[60]),C=f(C,A,T,O,x,10,a[61]),O=f(O,C,A,T,d,15,a[62]),T=f(T,O,C,A,b,21,a[63]),i[0]=i[0]+A|0,i[1]=i[1]+T|0,i[2]=i[2]+O|0,i[3]=i[3]+C|0},_doFinalize:function(){var e=this._data,n=e.words,r=8*this._nDataBytes,o=8*e.sigBytes;n[o>>>5]|=128<<24-o%32;var i=t.floor(r/4294967296),s=r;n[15+(o+64>>>9<<4)]=16711935&(i<<8|i>>>24)|4278255360&(i<<24|i>>>8),n[14+(o+64>>>9<<4)]=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),e.sigBytes=4*(n.length+1),this._process();for(var a=this._hash,c=a.words,l=0;l<4;l++){var h=c[l];c[l]=16711935&(h<<8|h>>>24)|4278255360&(h<<24|h>>>8)}return a},clone:function(){var e=i.clone.call(this);return e._hash=this._hash.clone(),e}});function l(e,t,n,r,o,i,s){var a=e+(t&n|~t&r)+o+s;return(a<<i|a>>>32-i)+t}function h(e,t,n,r,o,i,s){var a=e+(t&r|n&~r)+o+s;return(a<<i|a>>>32-i)+t}function u(e,t,n,r,o,i,s){var a=e+(t^n^r)+o+s;return(a<<i|a>>>32-i)+t}function f(e,t,n,r,o,i,s){var a=e+(n^(t|~r))+o+s;return(a<<i|a>>>32-i)+t}n.MD5=i._createHelper(c),n.HmacMD5=i._createHmacHelper(c)}(Math),e.MD5));var e}var gr,yr={exports:{}};function mr(){return gr?yr.exports:(gr=1,yr.exports=(a=Gn(),t=(e=a).lib,n=t.WordArray,r=t.Hasher,o=e.algo,i=[],s=o.SHA1=r.extend({_doReset:function(){this._hash=new n.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(e,t){for(var n=this._hash.words,r=n[0],o=n[1],s=n[2],a=n[3],c=n[4],l=0;l<80;l++){if(l<16)i[l]=0|e[t+l];else{var h=i[l-3]^i[l-8]^i[l-14]^i[l-16];i[l]=h<<1|h>>>31}var u=(r<<5|r>>>27)+c+i[l];u+=l<20?1518500249+(o&s|~o&a):l<40?1859775393+(o^s^a):l<60?(o&s|o&a|s&a)-1894007588:(o^s^a)-899497514,c=a,a=s,s=o<<30|o>>>2,o=r,r=u}n[0]=n[0]+r|0,n[1]=n[1]+o|0,n[2]=n[2]+s|0,n[3]=n[3]+a|0,n[4]=n[4]+c|0},_doFinalize:function(){var e=this._data,t=e.words,n=8*this._nDataBytes,r=8*e.sigBytes;return t[r>>>5]|=128<<24-r%32,t[14+(r+64>>>9<<4)]=Math.floor(n/4294967296),t[15+(r+64>>>9<<4)]=n,e.sigBytes=4*t.length,this._process(),this._hash},clone:function(){var e=r.clone.call(this);return e._hash=this._hash.clone(),e}}),e.SHA1=r._createHelper(s),e.HmacSHA1=r._createHmacHelper(s),a.SHA1));var e,t,n,r,o,i,s,a}var wr,vr={exports:{}};function br(){return wr?vr.exports:(wr=1,vr.exports=(e=Gn(),function(t){var n=e,r=n.lib,o=r.WordArray,i=r.Hasher,s=n.algo,a=[],c=[];!function(){function e(e){for(var n=t.sqrt(e),r=2;r<=n;r++)if(!(e%r))return!1;return!0}function n(e){return 4294967296*(e-(0|e))|0}for(var r=2,o=0;o<64;)e(r)&&(o<8&&(a[o]=n(t.pow(r,.5))),c[o]=n(t.pow(r,1/3)),o++),r++}();var l=[],h=s.SHA256=i.extend({_doReset:function(){this._hash=new o.init(a.slice(0))},_doProcessBlock:function(e,t){for(var n=this._hash.words,r=n[0],o=n[1],i=n[2],s=n[3],a=n[4],h=n[5],u=n[6],f=n[7],d=0;d<64;d++){if(d<16)l[d]=0|e[t+d];else{var p=l[d-15],g=(p<<25|p>>>7)^(p<<14|p>>>18)^p>>>3,y=l[d-2],m=(y<<15|y>>>17)^(y<<13|y>>>19)^y>>>10;l[d]=g+l[d-7]+m+l[d-16]}var w=r&o^r&i^o&i,v=(r<<30|r>>>2)^(r<<19|r>>>13)^(r<<10|r>>>22),b=f+((a<<26|a>>>6)^(a<<21|a>>>11)^(a<<7|a>>>25))+(a&h^~a&u)+c[d]+l[d];f=u,u=h,h=a,a=s+b|0,s=i,i=o,o=r,r=b+(v+w)|0}n[0]=n[0]+r|0,n[1]=n[1]+o|0,n[2]=n[2]+i|0,n[3]=n[3]+s|0,n[4]=n[4]+a|0,n[5]=n[5]+h|0,n[6]=n[6]+u|0,n[7]=n[7]+f|0},_doFinalize:function(){var e=this._data,n=e.words,r=8*this._nDataBytes,o=8*e.sigBytes;return n[o>>>5]|=128<<24-o%32,n[14+(o+64>>>9<<4)]=t.floor(r/4294967296),n[15+(o+64>>>9<<4)]=r,e.sigBytes=4*n.length,this._process(),this._hash},clone:function(){var e=i.clone.call(this);return e._hash=this._hash.clone(),e}});n.SHA256=i._createHelper(h),n.HmacSHA256=i._createHmacHelper(h)}(Math),e.SHA256));var e}var _r,xr={exports:{}};var Er,Sr={exports:{}};function kr(){return Er||(Er=1,Sr.exports=(e=Gn(),Qn(),function(){var t=e,n=t.lib.Hasher,r=t.x64,o=r.Word,i=r.WordArray,s=t.algo;function a(){return o.create.apply(o,arguments)}var c=[a(1116352408,3609767458),a(1899447441,602891725),a(3049323471,3964484399),a(3921009573,2173295548),a(961987163,4081628472),a(1508970993,3053834265),a(2453635748,2937671579),a(2870763221,3664609560),a(3624381080,2734883394),a(310598401,1164996542),a(607225278,1323610764),a(1426881987,3590304994),a(1925078388,4068182383),a(2162078206,991336113),a(2614888103,633803317),a(3248222580,3479774868),a(3835390401,2666613458),a(4022224774,944711139),a(264347078,2341262773),a(604807628,2007800933),a(770255983,1495990901),a(1249150122,1856431235),a(1555081692,3175218132),a(1996064986,2198950837),a(2554220882,3999719339),a(2821834349,766784016),a(2952996808,2566594879),a(3210313671,3203337956),a(3336571891,1034457026),a(3584528711,2466948901),a(113926993,3758326383),a(338241895,168717936),a(666307205,1188179964),a(773529912,1546045734),a(1294757372,1522805485),a(1396182291,2643833823),a(1695183700,2343527390),a(1986661051,1014477480),a(2177026350,1206759142),a(2456956037,344077627),a(2730485921,1290863460),a(2820302411,3158454273),a(3259730800,3505952657),a(3345764771,106217008),a(3516065817,3606008344),a(3600352804,1432725776),a(4094571909,1467031594),a(275423344,851169720),a(430227734,3100823752),a(506948616,1363258195),a(659060556,3750685593),a(883997877,3785050280),a(958139571,3318307427),a(1322822218,3812723403),a(1537002063,2003034995),a(1747873779,3602036899),a(1955562222,1575990012),a(2024104815,1125592928),a(2227730452,2716904306),a(2361852424,442776044),a(2428436474,593698344),a(2756734187,3733110249),a(3204031479,2999351573),a(3329325298,3815920427),a(3391569614,3928383900),a(3515267271,566280711),a(3940187606,3454069534),a(4118630271,4000239992),a(116418474,1914138554),a(174292421,2731055270),a(289380356,3203993006),a(460393269,320620315),a(685471733,587496836),a(852142971,1086792851),a(1017036298,365543100),a(1126000580,2618297676),a(1288033470,3409855158),a(1501505948,4234509866),a(1607167915,987167468),a(1816402316,1246189591)],l=[];!function(){for(var e=0;e<80;e++)l[e]=a()}();var h=s.SHA512=n.extend({_doReset:function(){this._hash=new i.init([new o.init(1779033703,4089235720),new o.init(3144134277,2227873595),new o.init(1013904242,4271175723),new o.init(2773480762,1595750129),new o.init(1359893119,2917565137),new o.init(2600822924,725511199),new o.init(528734635,4215389547),new o.init(1541459225,327033209)])},_doProcessBlock:function(e,t){for(var n=this._hash.words,r=n[0],o=n[1],i=n[2],s=n[3],a=n[4],h=n[5],u=n[6],f=n[7],d=r.high,p=r.low,g=o.high,y=o.low,m=i.high,w=i.low,v=s.high,b=s.low,_=a.high,x=a.low,E=h.high,S=h.low,k=u.high,R=u.low,A=f.high,T=f.low,O=d,C=p,B=g,P=y,I=m,H=w,N=v,z=b,D=_,L=x,U=E,M=S,q=k,$=R,F=A,j=T,W=0;W<80;W++){var K,J,Y=l[W];if(W<16)J=Y.high=0|e[t+2*W],K=Y.low=0|e[t+2*W+1];else{var V=l[W-15],G=V.high,X=V.low,Z=(G>>>1|X<<31)^(G>>>8|X<<24)^G>>>7,Q=(X>>>1|G<<31)^(X>>>8|G<<24)^(X>>>7|G<<25),ee=l[W-2],te=ee.high,ne=ee.low,re=(te>>>19|ne<<13)^(te<<3|ne>>>29)^te>>>6,oe=(ne>>>19|te<<13)^(ne<<3|te>>>29)^(ne>>>6|te<<26),ie=l[W-7],se=ie.high,ae=ie.low,ce=l[W-16],le=ce.high,he=ce.low;J=(J=(J=Z+se+((K=Q+ae)>>>0<Q>>>0?1:0))+re+((K+=oe)>>>0<oe>>>0?1:0))+le+((K+=he)>>>0<he>>>0?1:0),Y.high=J,Y.low=K}var ue,fe=D&U^~D&q,de=L&M^~L&$,pe=O&B^O&I^B&I,ge=C&P^C&H^P&H,ye=(O>>>28|C<<4)^(O<<30|C>>>2)^(O<<25|C>>>7),me=(C>>>28|O<<4)^(C<<30|O>>>2)^(C<<25|O>>>7),we=(D>>>14|L<<18)^(D>>>18|L<<14)^(D<<23|L>>>9),ve=(L>>>14|D<<18)^(L>>>18|D<<14)^(L<<23|D>>>9),be=c[W],_e=be.high,xe=be.low,Ee=F+we+((ue=j+ve)>>>0<j>>>0?1:0),Se=me+ge;F=q,j=$,q=U,$=M,U=D,M=L,D=N+(Ee=(Ee=(Ee=Ee+fe+((ue+=de)>>>0<de>>>0?1:0))+_e+((ue+=xe)>>>0<xe>>>0?1:0))+J+((ue+=K)>>>0<K>>>0?1:0))+((L=z+ue|0)>>>0<z>>>0?1:0)|0,N=I,z=H,I=B,H=P,B=O,P=C,O=Ee+(ye+pe+(Se>>>0<me>>>0?1:0))+((C=ue+Se|0)>>>0<ue>>>0?1:0)|0}p=r.low=p+C,r.high=d+O+(p>>>0<C>>>0?1:0),y=o.low=y+P,o.high=g+B+(y>>>0<P>>>0?1:0),w=i.low=w+H,i.high=m+I+(w>>>0<H>>>0?1:0),b=s.low=b+z,s.high=v+N+(b>>>0<z>>>0?1:0),x=a.low=x+L,a.high=_+D+(x>>>0<L>>>0?1:0),S=h.low=S+M,h.high=E+U+(S>>>0<M>>>0?1:0),R=u.low=R+$,u.high=k+q+(R>>>0<$>>>0?1:0),T=f.low=T+j,f.high=A+F+(T>>>0<j>>>0?1:0)},_doFinalize:function(){var e=this._data,t=e.words,n=8*this._nDataBytes,r=8*e.sigBytes;return t[r>>>5]|=128<<24-r%32,t[30+(r+128>>>10<<5)]=Math.floor(n/4294967296),t[31+(r+128>>>10<<5)]=n,e.sigBytes=4*t.length,this._process(),this._hash.toX32()},clone:function(){var e=n.clone.call(this);return e._hash=this._hash.clone(),e},blockSize:32});t.SHA512=n._createHelper(h),t.HmacSHA512=n._createHmacHelper(h)}(),e.SHA512)),Sr.exports;var e}var Rr,Ar={exports:{}};var Tr,Or={exports:{}};function Cr(){return Tr?Or.exports:(Tr=1,Or.exports=(e=Gn(),Qn(),function(t){var n=e,r=n.lib,o=r.WordArray,i=r.Hasher,s=n.x64.Word,a=n.algo,c=[],l=[],h=[];!function(){for(var e=1,t=0,n=0;n<24;n++){c[e+5*t]=(n+1)*(n+2)/2%64;var r=(2*e+3*t)%5;e=t%5,t=r}for(e=0;e<5;e++)for(t=0;t<5;t++)l[e+5*t]=t+(2*e+3*t)%5*5;for(var o=1,i=0;i<24;i++){for(var a=0,u=0,f=0;f<7;f++){if(1&o){var d=(1<<f)-1;d<32?u^=1<<d:a^=1<<d-32}128&o?o=o<<1^113:o<<=1}h[i]=s.create(a,u)}}();var u=[];!function(){for(var e=0;e<25;e++)u[e]=s.create()}();var f=a.SHA3=i.extend({cfg:i.cfg.extend({outputLength:512}),_doReset:function(){for(var e=this._state=[],t=0;t<25;t++)e[t]=new s.init;this.blockSize=(1600-2*this.cfg.outputLength)/32},_doProcessBlock:function(e,t){for(var n=this._state,r=this.blockSize/2,o=0;o<r;o++){var i=e[t+2*o],s=e[t+2*o+1];i=16711935&(i<<8|i>>>24)|4278255360&(i<<24|i>>>8),s=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),(T=n[o]).high^=s,T.low^=i}for(var a=0;a<24;a++){for(var f=0;f<5;f++){for(var d=0,p=0,g=0;g<5;g++)d^=(T=n[f+5*g]).high,p^=T.low;var y=u[f];y.high=d,y.low=p}for(f=0;f<5;f++){var m=u[(f+4)%5],w=u[(f+1)%5],v=w.high,b=w.low;for(d=m.high^(v<<1|b>>>31),p=m.low^(b<<1|v>>>31),g=0;g<5;g++)(T=n[f+5*g]).high^=d,T.low^=p}for(var _=1;_<25;_++){var x=(T=n[_]).high,E=T.low,S=c[_];S<32?(d=x<<S|E>>>32-S,p=E<<S|x>>>32-S):(d=E<<S-32|x>>>64-S,p=x<<S-32|E>>>64-S);var k=u[l[_]];k.high=d,k.low=p}var R=u[0],A=n[0];for(R.high=A.high,R.low=A.low,f=0;f<5;f++)for(g=0;g<5;g++){var T=n[_=f+5*g],O=u[_],C=u[(f+1)%5+5*g],B=u[(f+2)%5+5*g];T.high=O.high^~C.high&B.high,T.low=O.low^~C.low&B.low}T=n[0];var P=h[a];T.high^=P.high,T.low^=P.low}},_doFinalize:function(){var e=this._data,n=e.words;this._nDataBytes;var r=8*e.sigBytes,i=32*this.blockSize;n[r>>>5]|=1<<24-r%32,n[(t.ceil((r+1)/i)*i>>>5)-1]|=128,e.sigBytes=4*n.length,this._process();for(var s=this._state,a=this.cfg.outputLength/8,c=a/8,l=[],h=0;h<c;h++){var u=s[h],f=u.high,d=u.low;f=16711935&(f<<8|f>>>24)|4278255360&(f<<24|f>>>8),d=16711935&(d<<8|d>>>24)|4278255360&(d<<24|d>>>8),l.push(d),l.push(f)}return new o.init(l,a)},clone:function(){for(var e=i.clone.call(this),t=e._state=this._state.slice(0),n=0;n<25;n++)t[n]=t[n].clone();return e}});n.SHA3=i._createHelper(f),n.HmacSHA3=i._createHmacHelper(f)}(Math),e.SHA3));var e}var Br,Pr={exports:{}};var Ir,Hr={exports:{}};function Nr(){return Ir?Hr.exports:(Ir=1,Hr.exports=(e=Gn(),n=(t=e).lib.Base,r=t.enc.Utf8,void(t.algo.HMAC=n.extend({init:function(e,t){e=this._hasher=new e.init,"string"==typeof t&&(t=r.parse(t));var n=e.blockSize,o=4*n;t.sigBytes>o&&(t=e.finalize(t)),t.clamp();for(var i=this._oKey=t.clone(),s=this._iKey=t.clone(),a=i.words,c=s.words,l=0;l<n;l++)a[l]^=1549556828,c[l]^=909522486;i.sigBytes=s.sigBytes=o,this.reset()},reset:function(){var e=this._hasher;e.reset(),e.update(this._iKey)},update:function(e){return this._hasher.update(e),this},finalize:function(e){var t=this._hasher,n=t.finalize(e);return t.reset(),t.finalize(this._oKey.clone().concat(n))}}))));var e,t,n,r}var zr,Dr={exports:{}};var Lr,Ur={exports:{}};function Mr(){return Lr?Ur.exports:(Lr=1,Ur.exports=(a=Gn(),mr(),Nr(),t=(e=a).lib,n=t.Base,r=t.WordArray,o=e.algo,i=o.MD5,s=o.EvpKDF=n.extend({cfg:n.extend({keySize:4,hasher:i,iterations:1}),init:function(e){this.cfg=this.cfg.extend(e)},compute:function(e,t){for(var n,o=this.cfg,i=o.hasher.create(),s=r.create(),a=s.words,c=o.keySize,l=o.iterations;a.length<c;){n&&i.update(n),n=i.update(e).finalize(t),i.reset();for(var h=1;h<l;h++)n=i.finalize(n),i.reset();s.concat(n)}return s.sigBytes=4*c,s}}),e.EvpKDF=function(e,t,n){return s.create(n).compute(e,t)},a.EvpKDF));var e,t,n,r,o,i,s,a}var qr,$r={exports:{}};function Fr(){return qr||(qr=1,$r.exports=(e=Gn(),Mr(),void(e.lib.Cipher||function(t){var n=e,r=n.lib,o=r.Base,i=r.WordArray,s=r.BufferedBlockAlgorithm,a=n.enc;a.Utf8;var c=a.Base64,l=n.algo.EvpKDF,h=r.Cipher=s.extend({cfg:o.extend(),createEncryptor:function(e,t){return this.create(this._ENC_XFORM_MODE,e,t)},createDecryptor:function(e,t){return this.create(this._DEC_XFORM_MODE,e,t)},init:function(e,t,n){this.cfg=this.cfg.extend(n),this._xformMode=e,this._key=t,this.reset()},reset:function(){s.reset.call(this),this._doReset()},process:function(e){return this._append(e),this._process()},finalize:function(e){return e&&this._append(e),this._doFinalize()},keySize:4,ivSize:4,_ENC_XFORM_MODE:1,_DEC_XFORM_MODE:2,_createHelper:function(){function e(e){return"string"==typeof e?v:m}return function(t){return{encrypt:function(n,r,o){return e(r).encrypt(t,n,r,o)},decrypt:function(n,r,o){return e(r).decrypt(t,n,r,o)}}}}()});r.StreamCipher=h.extend({_doFinalize:function(){return this._process(!0)},blockSize:1});var u=n.mode={},f=r.BlockCipherMode=o.extend({createEncryptor:function(e,t){return this.Encryptor.create(e,t)},createDecryptor:function(e,t){return this.Decryptor.create(e,t)},init:function(e,t){this._cipher=e,this._iv=t}}),d=u.CBC=function(){var e=f.extend();function n(e,n,r){var o,i=this._iv;i?(o=i,this._iv=t):o=this._prevBlock;for(var s=0;s<r;s++)e[n+s]^=o[s]}return e.Encryptor=e.extend({processBlock:function(e,t){var r=this._cipher,o=r.blockSize;n.call(this,e,t,o),r.encryptBlock(e,t),this._prevBlock=e.slice(t,t+o)}}),e.Decryptor=e.extend({processBlock:function(e,t){var r=this._cipher,o=r.blockSize,i=e.slice(t,t+o);r.decryptBlock(e,t),n.call(this,e,t,o),this._prevBlock=i}}),e}(),p=(n.pad={}).Pkcs7={pad:function(e,t){for(var n=4*t,r=n-e.sigBytes%n,o=r<<24|r<<16|r<<8|r,s=[],a=0;a<r;a+=4)s.push(o);var c=i.create(s,r);e.concat(c)},unpad:function(e){var t=255&e.words[e.sigBytes-1>>>2];e.sigBytes-=t}};r.BlockCipher=h.extend({cfg:h.cfg.extend({mode:d,padding:p}),reset:function(){var e;h.reset.call(this);var t=this.cfg,n=t.iv,r=t.mode;this._xformMode==this._ENC_XFORM_MODE?e=r.createEncryptor:(e=r.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==e?this._mode.init(this,n&&n.words):(this._mode=e.call(r,this,n&&n.words),this._mode.__creator=e)},_doProcessBlock:function(e,t){this._mode.processBlock(e,t)},_doFinalize:function(){var e,t=this.cfg.padding;return this._xformMode==this._ENC_XFORM_MODE?(t.pad(this._data,this.blockSize),e=this._process(!0)):(e=this._process(!0),t.unpad(e)),e},blockSize:4});var g=r.CipherParams=o.extend({init:function(e){this.mixIn(e)},toString:function(e){return(e||this.formatter).stringify(this)}}),y=(n.format={}).OpenSSL={stringify:function(e){var t=e.ciphertext,n=e.salt;return(n?i.create([1398893684,1701076831]).concat(n).concat(t):t).toString(c)},parse:function(e){var t,n=c.parse(e),r=n.words;return 1398893684==r[0]&&1701076831==r[1]&&(t=i.create(r.slice(2,4)),r.splice(0,4),n.sigBytes-=16),g.create({ciphertext:n,salt:t})}},m=r.SerializableCipher=o.extend({cfg:o.extend({format:y}),encrypt:function(e,t,n,r){r=this.cfg.extend(r);var o=e.createEncryptor(n,r),i=o.finalize(t),s=o.cfg;return g.create({ciphertext:i,key:n,iv:s.iv,algorithm:e,mode:s.mode,padding:s.padding,blockSize:e.blockSize,formatter:r.format})},decrypt:function(e,t,n,r){return r=this.cfg.extend(r),t=this._parse(t,r.format),e.createDecryptor(n,r).finalize(t.ciphertext)},_parse:function(e,t){return"string"==typeof e?t.parse(e,this):e}}),w=(n.kdf={}).OpenSSL={execute:function(e,t,n,r,o){if(r||(r=i.random(8)),o)s=l.create({keySize:t+n,hasher:o}).compute(e,r);else var s=l.create({keySize:t+n}).compute(e,r);var a=i.create(s.words.slice(t),4*n);return s.sigBytes=4*t,g.create({key:s,iv:a,salt:r})}},v=r.PasswordBasedCipher=m.extend({cfg:m.cfg.extend({kdf:w}),encrypt:function(e,t,n,r){var o=(r=this.cfg.extend(r)).kdf.execute(n,e.keySize,e.ivSize,r.salt,r.hasher);r.iv=o.iv;var i=m.encrypt.call(this,e,t,o.key,r);return i.mixIn(o),i},decrypt:function(e,t,n,r){r=this.cfg.extend(r),t=this._parse(t,r.format);var o=r.kdf.execute(n,e.keySize,e.ivSize,t.salt,r.hasher);return r.iv=o.iv,m.decrypt.call(this,e,t,o.key,r)}})}()))),$r.exports;var e}var jr,Wr={exports:{}};function Kr(){return jr?Wr.exports:(jr=1,Wr.exports=(e=Gn(),Fr(),e.mode.CFB=function(){var t=e.lib.BlockCipherMode.extend();function n(e,t,n,r){var o,i=this._iv;i?(o=i.slice(0),this._iv=void 0):o=this._prevBlock,r.encryptBlock(o,0);for(var s=0;s<n;s++)e[t+s]^=o[s]}return t.Encryptor=t.extend({processBlock:function(e,t){var r=this._cipher,o=r.blockSize;n.call(this,e,t,o,r),this._prevBlock=e.slice(t,t+o)}}),t.Decryptor=t.extend({processBlock:function(e,t){var r=this._cipher,o=r.blockSize,i=e.slice(t,t+o);n.call(this,e,t,o,r),this._prevBlock=i}}),t}(),e.mode.CFB));var e}var Jr,Yr={exports:{}};function Vr(){return Jr?Yr.exports:(Jr=1,Yr.exports=(n=Gn(),Fr(),n.mode.CTR=(e=n.lib.BlockCipherMode.extend(),t=e.Encryptor=e.extend({processBlock:function(e,t){var n=this._cipher,r=n.blockSize,o=this._iv,i=this._counter;o&&(i=this._counter=o.slice(0),this._iv=void 0);var s=i.slice(0);n.encryptBlock(s,0),i[r-1]=i[r-1]+1|0;for(var a=0;a<r;a++)e[t+a]^=s[a]}}),e.Decryptor=t,e),n.mode.CTR));var e,t,n}var Gr,Xr={exports:{}};function Zr(){return Gr?Xr.exports:(Gr=1,Xr.exports=(e=Gn(),Fr(),
2
- /** @preserve
3
- * Counter block mode compatible with Dr Brian Gladman fileenc.c
4
- * derived from CryptoJS.mode.CTR
5
- * Jan Hruby jhruby.web@gmail.com
6
- */
7
- e.mode.CTRGladman=function(){var t=e.lib.BlockCipherMode.extend();function n(e){if(255&~(e>>24))e+=1<<24;else{var t=e>>16&255,n=e>>8&255,r=255&e;255===t?(t=0,255===n?(n=0,255===r?r=0:++r):++n):++t,e=0,e+=t<<16,e+=n<<8,e+=r}return e}function r(e){return 0===(e[0]=n(e[0]))&&(e[1]=n(e[1])),e}var o=t.Encryptor=t.extend({processBlock:function(e,t){var n=this._cipher,o=n.blockSize,i=this._iv,s=this._counter;i&&(s=this._counter=i.slice(0),this._iv=void 0),r(s);var a=s.slice(0);n.encryptBlock(a,0);for(var c=0;c<o;c++)e[t+c]^=a[c]}});return t.Decryptor=o,t}(),e.mode.CTRGladman));var e}var Qr,eo={exports:{}};function to(){return Qr?eo.exports:(Qr=1,eo.exports=(n=Gn(),Fr(),n.mode.OFB=(e=n.lib.BlockCipherMode.extend(),t=e.Encryptor=e.extend({processBlock:function(e,t){var n=this._cipher,r=n.blockSize,o=this._iv,i=this._keystream;o&&(i=this._keystream=o.slice(0),this._iv=void 0),n.encryptBlock(i,0);for(var s=0;s<r;s++)e[t+s]^=i[s]}}),e.Decryptor=t,e),n.mode.OFB));var e,t,n}var no,ro={exports:{}};var oo,io={exports:{}};var so,ao={exports:{}};var co,lo={exports:{}};var ho,uo={exports:{}};var fo,po={exports:{}};var go,yo={exports:{}};var mo,wo={exports:{}};var vo,bo={exports:{}};function _o(){return vo?bo.exports:(vo=1,bo.exports=(e=Gn(),cr(),pr(),Mr(),Fr(),function(){var t=e,n=t.lib,r=n.WordArray,o=n.BlockCipher,i=t.algo,s=[57,49,41,33,25,17,9,1,58,50,42,34,26,18,10,2,59,51,43,35,27,19,11,3,60,52,44,36,63,55,47,39,31,23,15,7,62,54,46,38,30,22,14,6,61,53,45,37,29,21,13,5,28,20,12,4],a=[14,17,11,24,1,5,3,28,15,6,21,10,23,19,12,4,26,8,16,7,27,20,13,2,41,52,31,37,47,55,30,40,51,45,33,48,44,49,39,56,34,53,46,42,50,36,29,32],c=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],l=[{0:8421888,268435456:32768,536870912:8421378,805306368:2,1073741824:512,1342177280:8421890,1610612736:8389122,1879048192:8388608,2147483648:514,2415919104:8389120,2684354560:33280,2952790016:8421376,3221225472:32770,3489660928:8388610,3758096384:0,4026531840:33282,134217728:0,402653184:8421890,671088640:33282,939524096:32768,1207959552:8421888,1476395008:512,1744830464:8421378,2013265920:2,2281701376:8389120,2550136832:33280,2818572288:8421376,3087007744:8389122,3355443200:8388610,3623878656:32770,3892314112:514,4160749568:8388608,1:32768,268435457:2,536870913:8421888,805306369:8388608,1073741825:8421378,1342177281:33280,1610612737:512,1879048193:8389122,2147483649:8421890,2415919105:8421376,2684354561:8388610,2952790017:33282,3221225473:514,3489660929:8389120,3758096385:32770,4026531841:0,134217729:8421890,402653185:8421376,671088641:8388608,939524097:512,1207959553:32768,1476395009:8388610,1744830465:2,2013265921:33282,2281701377:32770,2550136833:8389122,2818572289:514,3087007745:8421888,3355443201:8389120,3623878657:0,3892314113:33280,4160749569:8421378},{0:1074282512,16777216:16384,33554432:524288,50331648:1074266128,67108864:1073741840,83886080:1074282496,100663296:1073758208,117440512:16,134217728:540672,150994944:1073758224,167772160:1073741824,184549376:540688,201326592:524304,218103808:0,234881024:16400,251658240:1074266112,8388608:1073758208,25165824:540688,41943040:16,58720256:1073758224,75497472:1074282512,92274688:1073741824,109051904:524288,125829120:1074266128,142606336:524304,159383552:0,176160768:16384,192937984:1074266112,209715200:1073741840,226492416:540672,243269632:1074282496,260046848:16400,268435456:0,285212672:1074266128,301989888:1073758224,318767104:1074282496,335544320:1074266112,352321536:16,369098752:540688,385875968:16384,402653184:16400,419430400:524288,436207616:524304,452984832:1073741840,469762048:540672,486539264:1073758208,503316480:1073741824,520093696:1074282512,276824064:540688,293601280:524288,310378496:1074266112,327155712:16384,343932928:1073758208,360710144:1074282512,377487360:16,394264576:1073741824,411041792:1074282496,427819008:1073741840,444596224:1073758224,461373440:524304,478150656:0,494927872:16400,511705088:1074266128,528482304:540672},{0:260,1048576:0,2097152:67109120,3145728:65796,4194304:65540,5242880:67108868,6291456:67174660,7340032:67174400,8388608:67108864,9437184:67174656,10485760:65792,11534336:67174404,12582912:67109124,13631488:65536,14680064:4,15728640:256,524288:67174656,1572864:67174404,2621440:0,3670016:67109120,4718592:67108868,5767168:65536,6815744:65540,7864320:260,8912896:4,9961472:256,11010048:67174400,12058624:65796,13107200:65792,14155776:67109124,15204352:67174660,16252928:67108864,16777216:67174656,17825792:65540,18874368:65536,19922944:67109120,20971520:256,22020096:67174660,23068672:67108868,24117248:0,25165824:67109124,26214400:67108864,27262976:4,28311552:65792,29360128:67174400,30408704:260,31457280:65796,32505856:67174404,17301504:67108864,18350080:260,19398656:67174656,20447232:0,21495808:65540,22544384:67109120,23592960:256,24641536:67174404,25690112:65536,26738688:67174660,27787264:65796,28835840:67108868,29884416:67109124,30932992:67174400,31981568:4,33030144:65792},{0:2151682048,65536:2147487808,131072:4198464,196608:2151677952,262144:0,327680:4198400,393216:2147483712,458752:4194368,524288:2147483648,589824:4194304,655360:64,720896:2147487744,786432:2151678016,851968:4160,917504:4096,983040:2151682112,32768:2147487808,98304:64,163840:2151678016,229376:2147487744,294912:4198400,360448:2151682112,425984:0,491520:2151677952,557056:4096,622592:2151682048,688128:4194304,753664:4160,819200:2147483648,884736:4194368,950272:4198464,1015808:2147483712,1048576:4194368,1114112:4198400,1179648:2147483712,1245184:0,1310720:4160,1376256:2151678016,1441792:2151682048,1507328:2147487808,1572864:2151682112,1638400:2147483648,1703936:2151677952,1769472:4198464,1835008:2147487744,1900544:4194304,1966080:64,2031616:4096,1081344:2151677952,1146880:2151682112,1212416:0,1277952:4198400,1343488:4194368,1409024:2147483648,1474560:2147487808,1540096:64,1605632:2147483712,1671168:4096,1736704:2147487744,1802240:2151678016,1867776:4160,1933312:2151682048,1998848:4194304,2064384:4198464},{0:128,4096:17039360,8192:262144,12288:536870912,16384:537133184,20480:16777344,24576:553648256,28672:262272,32768:16777216,36864:537133056,40960:536871040,45056:553910400,49152:553910272,53248:0,57344:17039488,61440:553648128,2048:17039488,6144:553648256,10240:128,14336:17039360,18432:262144,22528:537133184,26624:553910272,30720:536870912,34816:537133056,38912:0,43008:553910400,47104:16777344,51200:536871040,55296:553648128,59392:16777216,63488:262272,65536:262144,69632:128,73728:536870912,77824:553648256,81920:16777344,86016:553910272,90112:537133184,94208:16777216,98304:553910400,102400:553648128,106496:17039360,110592:537133056,114688:262272,118784:536871040,122880:0,126976:17039488,67584:553648256,71680:16777216,75776:17039360,79872:537133184,83968:536870912,88064:17039488,92160:128,96256:553910272,100352:262272,104448:553910400,108544:0,112640:553648128,116736:16777344,120832:262144,124928:537133056,129024:536871040},{0:268435464,256:8192,512:270532608,768:270540808,1024:268443648,1280:2097152,1536:2097160,1792:268435456,2048:0,2304:268443656,2560:2105344,2816:8,3072:270532616,3328:2105352,3584:8200,3840:270540800,128:270532608,384:270540808,640:8,896:2097152,1152:2105352,1408:268435464,1664:268443648,1920:8200,2176:2097160,2432:8192,2688:268443656,2944:270532616,3200:0,3456:270540800,3712:2105344,3968:268435456,4096:268443648,4352:270532616,4608:270540808,4864:8200,5120:2097152,5376:268435456,5632:268435464,5888:2105344,6144:2105352,6400:0,6656:8,6912:270532608,7168:8192,7424:268443656,7680:270540800,7936:2097160,4224:8,4480:2105344,4736:2097152,4992:268435464,5248:268443648,5504:8200,5760:270540808,6016:270532608,6272:270540800,6528:270532616,6784:8192,7040:2105352,7296:2097160,7552:0,7808:268435456,8064:268443656},{0:1048576,16:33555457,32:1024,48:1049601,64:34604033,80:0,96:1,112:34603009,128:33555456,144:1048577,160:33554433,176:34604032,192:34603008,208:1025,224:1049600,240:33554432,8:34603009,24:0,40:33555457,56:34604032,72:1048576,88:33554433,104:33554432,120:1025,136:1049601,152:33555456,168:34603008,184:1048577,200:1024,216:34604033,232:1,248:1049600,256:33554432,272:1048576,288:33555457,304:34603009,320:1048577,336:33555456,352:34604032,368:1049601,384:1025,400:34604033,416:1049600,432:1,448:0,464:34603008,480:33554433,496:1024,264:1049600,280:33555457,296:34603009,312:1,328:33554432,344:1048576,360:1025,376:34604032,392:33554433,408:34603008,424:0,440:34604033,456:1049601,472:1024,488:33555456,504:1048577},{0:134219808,1:131072,2:134217728,3:32,4:131104,5:134350880,6:134350848,7:2048,8:134348800,9:134219776,10:133120,11:134348832,12:2080,13:0,14:134217760,15:133152,2147483648:2048,2147483649:134350880,2147483650:134219808,2147483651:134217728,2147483652:134348800,2147483653:133120,2147483654:133152,2147483655:32,2147483656:134217760,2147483657:2080,2147483658:131104,2147483659:134350848,2147483660:0,2147483661:134348832,2147483662:134219776,2147483663:131072,16:133152,17:134350848,18:32,19:2048,20:134219776,21:134217760,22:134348832,23:131072,24:0,25:131104,26:134348800,27:134219808,28:134350880,29:133120,30:2080,31:134217728,2147483664:131072,2147483665:2048,2147483666:134348832,2147483667:133152,2147483668:32,2147483669:134348800,2147483670:134217728,2147483671:134219808,2147483672:134350880,2147483673:134217760,2147483674:134219776,2147483675:0,2147483676:133120,2147483677:2080,2147483678:131104,2147483679:134350848}],h=[4160749569,528482304,33030144,2064384,129024,8064,504,2147483679],u=i.DES=o.extend({_doReset:function(){for(var e=this._key.words,t=[],n=0;n<56;n++){var r=s[n]-1;t[n]=e[r>>>5]>>>31-r%32&1}for(var o=this._subKeys=[],i=0;i<16;i++){var l=o[i]=[],h=c[i];for(n=0;n<24;n++)l[n/6|0]|=t[(a[n]-1+h)%28]<<31-n%6,l[4+(n/6|0)]|=t[28+(a[n+24]-1+h)%28]<<31-n%6;for(l[0]=l[0]<<1|l[0]>>>31,n=1;n<7;n++)l[n]=l[n]>>>4*(n-1)+3;l[7]=l[7]<<5|l[7]>>>27}var u=this._invSubKeys=[];for(n=0;n<16;n++)u[n]=o[15-n]},encryptBlock:function(e,t){this._doCryptBlock(e,t,this._subKeys)},decryptBlock:function(e,t){this._doCryptBlock(e,t,this._invSubKeys)},_doCryptBlock:function(e,t,n){this._lBlock=e[t],this._rBlock=e[t+1],f.call(this,4,252645135),f.call(this,16,65535),d.call(this,2,858993459),d.call(this,8,16711935),f.call(this,1,1431655765);for(var r=0;r<16;r++){for(var o=n[r],i=this._lBlock,s=this._rBlock,a=0,c=0;c<8;c++)a|=l[c][((s^o[c])&h[c])>>>0];this._lBlock=s,this._rBlock=i^a}var u=this._lBlock;this._lBlock=this._rBlock,this._rBlock=u,f.call(this,1,1431655765),d.call(this,8,16711935),d.call(this,2,858993459),f.call(this,16,65535),f.call(this,4,252645135),e[t]=this._lBlock,e[t+1]=this._rBlock},keySize:2,ivSize:2,blockSize:2});function f(e,t){var n=(this._lBlock>>>e^this._rBlock)&t;this._rBlock^=n,this._lBlock^=n<<e}function d(e,t){var n=(this._rBlock>>>e^this._lBlock)&t;this._lBlock^=n,this._rBlock^=n<<e}t.DES=o._createHelper(u);var p=i.TripleDES=o.extend({_doReset:function(){var e=this._key.words;if(2!==e.length&&4!==e.length&&e.length<6)throw new Error("Invalid key length - 3DES requires the key length to be 64, 128, 192 or >192.");var t=e.slice(0,2),n=e.length<4?e.slice(0,2):e.slice(2,4),o=e.length<6?e.slice(0,2):e.slice(4,6);this._des1=u.createEncryptor(r.create(t)),this._des2=u.createEncryptor(r.create(n)),this._des3=u.createEncryptor(r.create(o))},encryptBlock:function(e,t){this._des1.encryptBlock(e,t),this._des2.decryptBlock(e,t),this._des3.encryptBlock(e,t)},decryptBlock:function(e,t){this._des3.decryptBlock(e,t),this._des2.encryptBlock(e,t),this._des1.decryptBlock(e,t)},keySize:6,ivSize:2,blockSize:2});t.TripleDES=o._createHelper(p)}(),e.TripleDES));var e}var xo,Eo={exports:{}};var So,ko={exports:{}};var Ro,Ao={exports:{}};var To,Oo,Co,Bo,Po,Io,Ho,No={exports:{}};function zo(){return To||(To=1,No.exports=(e=Gn(),cr(),pr(),Mr(),Fr(),function(){var t=e,n=t.lib.BlockCipher,r=t.algo;const o=16,i=[608135816,2242054355,320440878,57701188,2752067618,698298832,137296536,3964562569,1160258022,953160567,3193202383,887688300,3232508343,3380367581,1065670069,3041331479,2450970073,2306472731],s=[[3509652390,2564797868,805139163,3491422135,3101798381,1780907670,3128725573,4046225305,614570311,3012652279,134345442,2240740374,1667834072,1901547113,2757295779,4103290238,227898511,1921955416,1904987480,2182433518,2069144605,3260701109,2620446009,720527379,3318853667,677414384,3393288472,3101374703,2390351024,1614419982,1822297739,2954791486,3608508353,3174124327,2024746970,1432378464,3864339955,2857741204,1464375394,1676153920,1439316330,715854006,3033291828,289532110,2706671279,2087905683,3018724369,1668267050,732546397,1947742710,3462151702,2609353502,2950085171,1814351708,2050118529,680887927,999245976,1800124847,3300911131,1713906067,1641548236,4213287313,1216130144,1575780402,4018429277,3917837745,3693486850,3949271944,596196993,3549867205,258830323,2213823033,772490370,2760122372,1774776394,2652871518,566650946,4142492826,1728879713,2882767088,1783734482,3629395816,2517608232,2874225571,1861159788,326777828,3124490320,2130389656,2716951837,967770486,1724537150,2185432712,2364442137,1164943284,2105845187,998989502,3765401048,2244026483,1075463327,1455516326,1322494562,910128902,469688178,1117454909,936433444,3490320968,3675253459,1240580251,122909385,2157517691,634681816,4142456567,3825094682,3061402683,2540495037,79693498,3249098678,1084186820,1583128258,426386531,1761308591,1047286709,322548459,995290223,1845252383,2603652396,3431023940,2942221577,3202600964,3727903485,1712269319,422464435,3234572375,1170764815,3523960633,3117677531,1434042557,442511882,3600875718,1076654713,1738483198,4213154764,2393238008,3677496056,1014306527,4251020053,793779912,2902807211,842905082,4246964064,1395751752,1040244610,2656851899,3396308128,445077038,3742853595,3577915638,679411651,2892444358,2354009459,1767581616,3150600392,3791627101,3102740896,284835224,4246832056,1258075500,768725851,2589189241,3069724005,3532540348,1274779536,3789419226,2764799539,1660621633,3471099624,4011903706,913787905,3497959166,737222580,2514213453,2928710040,3937242737,1804850592,3499020752,2949064160,2386320175,2390070455,2415321851,4061277028,2290661394,2416832540,1336762016,1754252060,3520065937,3014181293,791618072,3188594551,3933548030,2332172193,3852520463,3043980520,413987798,3465142937,3030929376,4245938359,2093235073,3534596313,375366246,2157278981,2479649556,555357303,3870105701,2008414854,3344188149,4221384143,3956125452,2067696032,3594591187,2921233993,2428461,544322398,577241275,1471733935,610547355,4027169054,1432588573,1507829418,2025931657,3646575487,545086370,48609733,2200306550,1653985193,298326376,1316178497,3007786442,2064951626,458293330,2589141269,3591329599,3164325604,727753846,2179363840,146436021,1461446943,4069977195,705550613,3059967265,3887724982,4281599278,3313849956,1404054877,2845806497,146425753,1854211946],[1266315497,3048417604,3681880366,3289982499,290971e4,1235738493,2632868024,2414719590,3970600049,1771706367,1449415276,3266420449,422970021,1963543593,2690192192,3826793022,1062508698,1531092325,1804592342,2583117782,2714934279,4024971509,1294809318,4028980673,1289560198,2221992742,1669523910,35572830,157838143,1052438473,1016535060,1802137761,1753167236,1386275462,3080475397,2857371447,1040679964,2145300060,2390574316,1461121720,2956646967,4031777805,4028374788,33600511,2920084762,1018524850,629373528,3691585981,3515945977,2091462646,2486323059,586499841,988145025,935516892,3367335476,2599673255,2839830854,265290510,3972581182,2759138881,3795373465,1005194799,847297441,406762289,1314163512,1332590856,1866599683,4127851711,750260880,613907577,1450815602,3165620655,3734664991,3650291728,3012275730,3704569646,1427272223,778793252,1343938022,2676280711,2052605720,1946737175,3164576444,3914038668,3967478842,3682934266,1661551462,3294938066,4011595847,840292616,3712170807,616741398,312560963,711312465,1351876610,322626781,1910503582,271666773,2175563734,1594956187,70604529,3617834859,1007753275,1495573769,4069517037,2549218298,2663038764,504708206,2263041392,3941167025,2249088522,1514023603,1998579484,1312622330,694541497,2582060303,2151582166,1382467621,776784248,2618340202,3323268794,2497899128,2784771155,503983604,4076293799,907881277,423175695,432175456,1378068232,4145222326,3954048622,3938656102,3820766613,2793130115,2977904593,26017576,3274890735,3194772133,1700274565,1756076034,4006520079,3677328699,720338349,1533947780,354530856,688349552,3973924725,1637815568,332179504,3949051286,53804574,2852348879,3044236432,1282449977,3583942155,3416972820,4006381244,1617046695,2628476075,3002303598,1686838959,431878346,2686675385,1700445008,1080580658,1009431731,832498133,3223435511,2605976345,2271191193,2516031870,1648197032,4164389018,2548247927,300782431,375919233,238389289,3353747414,2531188641,2019080857,1475708069,455242339,2609103871,448939670,3451063019,1395535956,2413381860,1841049896,1491858159,885456874,4264095073,4001119347,1565136089,3898914787,1108368660,540939232,1173283510,2745871338,3681308437,4207628240,3343053890,4016749493,1699691293,1103962373,3625875870,2256883143,3830138730,1031889488,3479347698,1535977030,4236805024,3251091107,2132092099,1774941330,1199868427,1452454533,157007616,2904115357,342012276,595725824,1480756522,206960106,497939518,591360097,863170706,2375253569,3596610801,1814182875,2094937945,3421402208,1082520231,3463918190,2785509508,435703966,3908032597,1641649973,2842273706,3305899714,1510255612,2148256476,2655287854,3276092548,4258621189,236887753,3681803219,274041037,1734335097,3815195456,3317970021,1899903192,1026095262,4050517792,356393447,2410691914,3873677099,3682840055],[3913112168,2491498743,4132185628,2489919796,1091903735,1979897079,3170134830,3567386728,3557303409,857797738,1136121015,1342202287,507115054,2535736646,337727348,3213592640,1301675037,2528481711,1895095763,1721773893,3216771564,62756741,2142006736,835421444,2531993523,1442658625,3659876326,2882144922,676362277,1392781812,170690266,3921047035,1759253602,3611846912,1745797284,664899054,1329594018,3901205900,3045908486,2062866102,2865634940,3543621612,3464012697,1080764994,553557557,3656615353,3996768171,991055499,499776247,1265440854,648242737,3940784050,980351604,3713745714,1749149687,3396870395,4211799374,3640570775,1161844396,3125318951,1431517754,545492359,4268468663,3499529547,1437099964,2702547544,3433638243,2581715763,2787789398,1060185593,1593081372,2418618748,4260947970,69676912,2159744348,86519011,2512459080,3838209314,1220612927,3339683548,133810670,1090789135,1078426020,1569222167,845107691,3583754449,4072456591,1091646820,628848692,1613405280,3757631651,526609435,236106946,48312990,2942717905,3402727701,1797494240,859738849,992217954,4005476642,2243076622,3870952857,3732016268,765654824,3490871365,2511836413,1685915746,3888969200,1414112111,2273134842,3281911079,4080962846,172450625,2569994100,980381355,4109958455,2819808352,2716589560,2568741196,3681446669,3329971472,1835478071,660984891,3704678404,4045999559,3422617507,3040415634,1762651403,1719377915,3470491036,2693910283,3642056355,3138596744,1364962596,2073328063,1983633131,926494387,3423689081,2150032023,4096667949,1749200295,3328846651,309677260,2016342300,1779581495,3079819751,111262694,1274766160,443224088,298511866,1025883608,3806446537,1145181785,168956806,3641502830,3584813610,1689216846,3666258015,3200248200,1692713982,2646376535,4042768518,1618508792,1610833997,3523052358,4130873264,2001055236,3610705100,2202168115,4028541809,2961195399,1006657119,2006996926,3186142756,1430667929,3210227297,1314452623,4074634658,4101304120,2273951170,1399257539,3367210612,3027628629,1190975929,2062231137,2333990788,2221543033,2438960610,1181637006,548689776,2362791313,3372408396,3104550113,3145860560,296247880,1970579870,3078560182,3769228297,1714227617,3291629107,3898220290,166772364,1251581989,493813264,448347421,195405023,2709975567,677966185,3703036547,1463355134,2715995803,1338867538,1343315457,2802222074,2684532164,233230375,2599980071,2000651841,3277868038,1638401717,4028070440,3237316320,6314154,819756386,300326615,590932579,1405279636,3267499572,3150704214,2428286686,3959192993,3461946742,1862657033,1266418056,963775037,2089974820,2263052895,1917689273,448879540,3550394620,3981727096,150775221,3627908307,1303187396,508620638,2975983352,2726630617,1817252668,1876281319,1457606340,908771278,3720792119,3617206836,2455994898,1729034894,1080033504],[976866871,3556439503,2881648439,1522871579,1555064734,1336096578,3548522304,2579274686,3574697629,3205460757,3593280638,3338716283,3079412587,564236357,2993598910,1781952180,1464380207,3163844217,3332601554,1699332808,1393555694,1183702653,3581086237,1288719814,691649499,2847557200,2895455976,3193889540,2717570544,1781354906,1676643554,2592534050,3230253752,1126444790,2770207658,2633158820,2210423226,2615765581,2414155088,3127139286,673620729,2805611233,1269405062,4015350505,3341807571,4149409754,1057255273,2012875353,2162469141,2276492801,2601117357,993977747,3918593370,2654263191,753973209,36408145,2530585658,25011837,3520020182,2088578344,530523599,2918365339,1524020338,1518925132,3760827505,3759777254,1202760957,3985898139,3906192525,674977740,4174734889,2031300136,2019492241,3983892565,4153806404,3822280332,352677332,2297720250,60907813,90501309,3286998549,1016092578,2535922412,2839152426,457141659,509813237,4120667899,652014361,1966332200,2975202805,55981186,2327461051,676427537,3255491064,2882294119,3433927263,1307055953,942726286,933058658,2468411793,3933900994,4215176142,1361170020,2001714738,2830558078,3274259782,1222529897,1679025792,2729314320,3714953764,1770335741,151462246,3013232138,1682292957,1483529935,471910574,1539241949,458788160,3436315007,1807016891,3718408830,978976581,1043663428,3165965781,1927990952,4200891579,2372276910,3208408903,3533431907,1412390302,2931980059,4132332400,1947078029,3881505623,4168226417,2941484381,1077988104,1320477388,886195818,18198404,3786409e3,2509781533,112762804,3463356488,1866414978,891333506,18488651,661792760,1628790961,3885187036,3141171499,876946877,2693282273,1372485963,791857591,2686433993,3759982718,3167212022,3472953795,2716379847,445679433,3561995674,3504004811,3574258232,54117162,3331405415,2381918588,3769707343,4154350007,1140177722,4074052095,668550556,3214352940,367459370,261225585,2610173221,4209349473,3468074219,3265815641,314222801,3066103646,3808782860,282218597,3406013506,3773591054,379116347,1285071038,846784868,2669647154,3771962079,3550491691,2305946142,453669953,1268987020,3317592352,3279303384,3744833421,2610507566,3859509063,266596637,3847019092,517658769,3462560207,3443424879,370717030,4247526661,2224018117,4143653529,4112773975,2788324899,2477274417,1456262402,2901442914,1517677493,1846949527,2295493580,3734397586,2176403920,1280348187,1908823572,3871786941,846861322,1172426758,3287448474,3383383037,1655181056,3139813346,901632758,1897031941,2986607138,3066810236,3447102507,1393639104,373351379,950779232,625454576,3124240540,4148612726,2007998917,544563296,2244738638,2330496472,2058025392,1291430526,424198748,50039436,29584100,3605783033,2429876329,2791104160,1057563949,3255363231,3075367218,3463963227,1469046755,985887462]];var a={pbox:[],sbox:[]};function c(e,t){let n=t>>24&255,r=t>>16&255,o=t>>8&255,i=255&t,s=e.sbox[0][n]+e.sbox[1][r];return s^=e.sbox[2][o],s+=e.sbox[3][i],s}function l(e,t,n){let r,i=t,s=n;for(let t=0;t<o;++t)i^=e.pbox[t],s=c(e,i)^s,r=i,i=s,s=r;return r=i,i=s,s=r,s^=e.pbox[o],i^=e.pbox[o+1],{left:i,right:s}}function h(e,t,n){let r,i=t,s=n;for(let t=o+1;t>1;--t)i^=e.pbox[t],s=c(e,i)^s,r=i,i=s,s=r;return r=i,i=s,s=r,s^=e.pbox[1],i^=e.pbox[0],{left:i,right:s}}function u(e,t,n){for(let t=0;t<4;t++){e.sbox[t]=[];for(let n=0;n<256;n++)e.sbox[t][n]=s[t][n]}let r=0;for(let s=0;s<o+2;s++)e.pbox[s]=i[s]^t[r],r++,r>=n&&(r=0);let a=0,c=0,h=0;for(let t=0;t<o+2;t+=2)h=l(e,a,c),a=h.left,c=h.right,e.pbox[t]=a,e.pbox[t+1]=c;for(let t=0;t<4;t++)for(let n=0;n<256;n+=2)h=l(e,a,c),a=h.left,c=h.right,e.sbox[t][n]=a,e.sbox[t][n+1]=c;return!0}var f=r.Blowfish=n.extend({_doReset:function(){if(this._keyPriorReset!==this._key){var e=this._keyPriorReset=this._key,t=e.words,n=e.sigBytes/4;u(a,t,n)}},encryptBlock:function(e,t){var n=l(a,e[t],e[t+1]);e[t]=n.left,e[t+1]=n.right},decryptBlock:function(e,t){var n=h(a,e[t],e[t+1]);e[t]=n.left,e[t+1]=n.right},blockSize:2,keySize:4,ivSize:2});t.Blowfish=n._createHelper(f)}(),e.Blowfish)),No.exports;var e}Kn.exports=function(e){return e}(Gn(),Qn(),nr(),ir(),cr(),ur(),pr(),mr(),br(),_r||(_r=1,xr.exports=(Ho=Gn(),br(),Co=(Oo=Ho).lib.WordArray,Bo=Oo.algo,Po=Bo.SHA256,Io=Bo.SHA224=Po.extend({_doReset:function(){this._hash=new Co.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var e=Po._doFinalize.call(this);return e.sigBytes-=4,e}}),Oo.SHA224=Po._createHelper(Io),Oo.HmacSHA224=Po._createHmacHelper(Io),Ho.SHA224)),kr(),function(){return Rr?Ar.exports:(Rr=1,Ar.exports=(a=Gn(),Qn(),kr(),t=(e=a).x64,n=t.Word,r=t.WordArray,o=e.algo,i=o.SHA512,s=o.SHA384=i.extend({_doReset:function(){this._hash=new r.init([new n.init(3418070365,3238371032),new n.init(1654270250,914150663),new n.init(2438529370,812702999),new n.init(355462360,4144912697),new n.init(1731405415,4290775857),new n.init(2394180231,1750603025),new n.init(3675008525,1694076839),new n.init(1203062813,3204075428)])},_doFinalize:function(){var e=i._doFinalize.call(this);return e.sigBytes-=16,e}}),e.SHA384=i._createHelper(s),e.HmacSHA384=i._createHmacHelper(s),a.SHA384));var e,t,n,r,o,i,s,a}(),Cr(),function(){return Br?Pr.exports:(Br=1,Pr.exports=(e=Gn(),
8
- /** @preserve
9
- (c) 2012 by Cédric Mesnil. All rights reserved.
10
-
11
- Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
12
-
13
- - Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
14
- - Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
15
-
16
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
17
- */
18
- function(){var t=e,n=t.lib,r=n.WordArray,o=n.Hasher,i=t.algo,s=r.create([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13]),a=r.create([5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11]),c=r.create([11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6]),l=r.create([8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]),h=r.create([0,1518500249,1859775393,2400959708,2840853838]),u=r.create([1352829926,1548603684,1836072691,2053994217,0]),f=i.RIPEMD160=o.extend({_doReset:function(){this._hash=r.create([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(e,t){for(var n=0;n<16;n++){var r=t+n,o=e[r];e[r]=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8)}var i,f,v,b,_,x,E,S,k,R,A,T=this._hash.words,O=h.words,C=u.words,B=s.words,P=a.words,I=c.words,H=l.words;for(x=i=T[0],E=f=T[1],S=v=T[2],k=b=T[3],R=_=T[4],n=0;n<80;n+=1)A=i+e[t+B[n]]|0,A+=n<16?d(f,v,b)+O[0]:n<32?p(f,v,b)+O[1]:n<48?g(f,v,b)+O[2]:n<64?y(f,v,b)+O[3]:m(f,v,b)+O[4],A=(A=w(A|=0,I[n]))+_|0,i=_,_=b,b=w(v,10),v=f,f=A,A=x+e[t+P[n]]|0,A+=n<16?m(E,S,k)+C[0]:n<32?y(E,S,k)+C[1]:n<48?g(E,S,k)+C[2]:n<64?p(E,S,k)+C[3]:d(E,S,k)+C[4],A=(A=w(A|=0,H[n]))+R|0,x=R,R=k,k=w(S,10),S=E,E=A;A=T[1]+v+k|0,T[1]=T[2]+b+R|0,T[2]=T[3]+_+x|0,T[3]=T[4]+i+E|0,T[4]=T[0]+f+S|0,T[0]=A},_doFinalize:function(){var e=this._data,t=e.words,n=8*this._nDataBytes,r=8*e.sigBytes;t[r>>>5]|=128<<24-r%32,t[14+(r+64>>>9<<4)]=16711935&(n<<8|n>>>24)|4278255360&(n<<24|n>>>8),e.sigBytes=4*(t.length+1),this._process();for(var o=this._hash,i=o.words,s=0;s<5;s++){var a=i[s];i[s]=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8)}return o},clone:function(){var e=o.clone.call(this);return e._hash=this._hash.clone(),e}});function d(e,t,n){return e^t^n}function p(e,t,n){return e&t|~e&n}function g(e,t,n){return(e|~t)^n}function y(e,t,n){return e&n|t&~n}function m(e,t,n){return e^(t|~n)}function w(e,t){return e<<t|e>>>32-t}t.RIPEMD160=o._createHelper(f),t.HmacRIPEMD160=o._createHmacHelper(f)}(),e.RIPEMD160));var e}(),Nr(),function(){return zr||(zr=1,Dr.exports=(c=Gn(),br(),Nr(),t=(e=c).lib,n=t.Base,r=t.WordArray,o=e.algo,i=o.SHA256,s=o.HMAC,a=o.PBKDF2=n.extend({cfg:n.extend({keySize:4,hasher:i,iterations:25e4}),init:function(e){this.cfg=this.cfg.extend(e)},compute:function(e,t){for(var n=this.cfg,o=s.create(n.hasher,e),i=r.create(),a=r.create([1]),c=i.words,l=a.words,h=n.keySize,u=n.iterations;c.length<h;){var f=o.update(t).finalize(a);o.reset();for(var d=f.words,p=d.length,g=f,y=1;y<u;y++){g=o.finalize(g),o.reset();for(var m=g.words,w=0;w<p;w++)d[w]^=m[w]}i.concat(f),l[0]++}return i.sigBytes=4*h,i}}),e.PBKDF2=function(e,t,n){return a.create(n).compute(e,t)},c.PBKDF2)),Dr.exports;var e,t,n,r,o,i,s,a,c}(),Mr(),Fr(),Kr(),Vr(),Zr(),to(),function(){return no?ro.exports:(no=1,ro.exports=(t=Gn(),Fr(),t.mode.ECB=((e=t.lib.BlockCipherMode.extend()).Encryptor=e.extend({processBlock:function(e,t){this._cipher.encryptBlock(e,t)}}),e.Decryptor=e.extend({processBlock:function(e,t){this._cipher.decryptBlock(e,t)}}),e),t.mode.ECB));var e,t}(),function(){return oo?io.exports:(oo=1,io.exports=(e=Gn(),Fr(),e.pad.AnsiX923={pad:function(e,t){var n=e.sigBytes,r=4*t,o=r-n%r,i=n+o-1;e.clamp(),e.words[i>>>2]|=o<<24-i%4*8,e.sigBytes+=o},unpad:function(e){var t=255&e.words[e.sigBytes-1>>>2];e.sigBytes-=t}},e.pad.Ansix923));var e}(),function(){return so?ao.exports:(so=1,ao.exports=(e=Gn(),Fr(),e.pad.Iso10126={pad:function(t,n){var r=4*n,o=r-t.sigBytes%r;t.concat(e.lib.WordArray.random(o-1)).concat(e.lib.WordArray.create([o<<24],1))},unpad:function(e){var t=255&e.words[e.sigBytes-1>>>2];e.sigBytes-=t}},e.pad.Iso10126));var e}(),function(){return co?lo.exports:(co=1,lo.exports=(e=Gn(),Fr(),e.pad.Iso97971={pad:function(t,n){t.concat(e.lib.WordArray.create([2147483648],1)),e.pad.ZeroPadding.pad(t,n)},unpad:function(t){e.pad.ZeroPadding.unpad(t),t.sigBytes--}},e.pad.Iso97971));var e}(),function(){return ho?uo.exports:(ho=1,uo.exports=(e=Gn(),Fr(),e.pad.ZeroPadding={pad:function(e,t){var n=4*t;e.clamp(),e.sigBytes+=n-(e.sigBytes%n||n)},unpad:function(e){var t=e.words,n=e.sigBytes-1;for(n=e.sigBytes-1;n>=0;n--)if(t[n>>>2]>>>24-n%4*8&255){e.sigBytes=n+1;break}}},e.pad.ZeroPadding));var e}(),function(){return fo?po.exports:(fo=1,po.exports=(e=Gn(),Fr(),e.pad.NoPadding={pad:function(){},unpad:function(){}},e.pad.NoPadding));var e}(),function(){return go?yo.exports:(go=1,yo.exports=(r=Gn(),Fr(),t=(e=r).lib.CipherParams,n=e.enc.Hex,e.format.Hex={stringify:function(e){return e.ciphertext.toString(n)},parse:function(e){var r=n.parse(e);return t.create({ciphertext:r})}},r.format.Hex));var e,t,n,r}(),function(){return mo?wo.exports:(mo=1,wo.exports=(e=Gn(),cr(),pr(),Mr(),Fr(),function(){var t=e,n=t.lib.BlockCipher,r=t.algo,o=[],i=[],s=[],a=[],c=[],l=[],h=[],u=[],f=[],d=[];!function(){for(var e=[],t=0;t<256;t++)e[t]=t<128?t<<1:t<<1^283;var n=0,r=0;for(t=0;t<256;t++){var p=r^r<<1^r<<2^r<<3^r<<4;p=p>>>8^255&p^99,o[n]=p,i[p]=n;var g=e[n],y=e[g],m=e[y],w=257*e[p]^16843008*p;s[n]=w<<24|w>>>8,a[n]=w<<16|w>>>16,c[n]=w<<8|w>>>24,l[n]=w,w=16843009*m^65537*y^257*g^16843008*n,h[p]=w<<24|w>>>8,u[p]=w<<16|w>>>16,f[p]=w<<8|w>>>24,d[p]=w,n?(n=g^e[e[e[m^g]]],r^=e[e[r]]):n=r=1}}();var p=[0,1,2,4,8,16,32,64,128,27,54],g=r.AES=n.extend({_doReset:function(){if(!this._nRounds||this._keyPriorReset!==this._key){for(var e=this._keyPriorReset=this._key,t=e.words,n=e.sigBytes/4,r=4*((this._nRounds=n+6)+1),i=this._keySchedule=[],s=0;s<r;s++)s<n?i[s]=t[s]:(l=i[s-1],s%n?n>6&&s%n==4&&(l=o[l>>>24]<<24|o[l>>>16&255]<<16|o[l>>>8&255]<<8|o[255&l]):(l=o[(l=l<<8|l>>>24)>>>24]<<24|o[l>>>16&255]<<16|o[l>>>8&255]<<8|o[255&l],l^=p[s/n|0]<<24),i[s]=i[s-n]^l);for(var a=this._invKeySchedule=[],c=0;c<r;c++){if(s=r-c,c%4)var l=i[s];else l=i[s-4];a[c]=c<4||s<=4?l:h[o[l>>>24]]^u[o[l>>>16&255]]^f[o[l>>>8&255]]^d[o[255&l]]}}},encryptBlock:function(e,t){this._doCryptBlock(e,t,this._keySchedule,s,a,c,l,o)},decryptBlock:function(e,t){var n=e[t+1];e[t+1]=e[t+3],e[t+3]=n,this._doCryptBlock(e,t,this._invKeySchedule,h,u,f,d,i),n=e[t+1],e[t+1]=e[t+3],e[t+3]=n},_doCryptBlock:function(e,t,n,r,o,i,s,a){for(var c=this._nRounds,l=e[t]^n[0],h=e[t+1]^n[1],u=e[t+2]^n[2],f=e[t+3]^n[3],d=4,p=1;p<c;p++){var g=r[l>>>24]^o[h>>>16&255]^i[u>>>8&255]^s[255&f]^n[d++],y=r[h>>>24]^o[u>>>16&255]^i[f>>>8&255]^s[255&l]^n[d++],m=r[u>>>24]^o[f>>>16&255]^i[l>>>8&255]^s[255&h]^n[d++],w=r[f>>>24]^o[l>>>16&255]^i[h>>>8&255]^s[255&u]^n[d++];l=g,h=y,u=m,f=w}g=(a[l>>>24]<<24|a[h>>>16&255]<<16|a[u>>>8&255]<<8|a[255&f])^n[d++],y=(a[h>>>24]<<24|a[u>>>16&255]<<16|a[f>>>8&255]<<8|a[255&l])^n[d++],m=(a[u>>>24]<<24|a[f>>>16&255]<<16|a[l>>>8&255]<<8|a[255&h])^n[d++],w=(a[f>>>24]<<24|a[l>>>16&255]<<16|a[h>>>8&255]<<8|a[255&u])^n[d++],e[t]=g,e[t+1]=y,e[t+2]=m,e[t+3]=w},keySize:8});t.AES=n._createHelper(g)}(),e.AES));var e}(),_o(),function(){return xo?Eo.exports:(xo=1,Eo.exports=(e=Gn(),cr(),pr(),Mr(),Fr(),function(){var t=e,n=t.lib.StreamCipher,r=t.algo,o=r.RC4=n.extend({_doReset:function(){for(var e=this._key,t=e.words,n=e.sigBytes,r=this._S=[],o=0;o<256;o++)r[o]=o;o=0;for(var i=0;o<256;o++){var s=o%n,a=t[s>>>2]>>>24-s%4*8&255;i=(i+r[o]+a)%256;var c=r[o];r[o]=r[i],r[i]=c}this._i=this._j=0},_doProcessBlock:function(e,t){e[t]^=i.call(this)},keySize:8,ivSize:0});function i(){for(var e=this._S,t=this._i,n=this._j,r=0,o=0;o<4;o++){n=(n+e[t=(t+1)%256])%256;var i=e[t];e[t]=e[n],e[n]=i,r|=e[(e[t]+e[n])%256]<<24-8*o}return this._i=t,this._j=n,r}t.RC4=n._createHelper(o);var s=r.RC4Drop=o.extend({cfg:o.cfg.extend({drop:192}),_doReset:function(){o._doReset.call(this);for(var e=this.cfg.drop;e>0;e--)i.call(this)}});t.RC4Drop=n._createHelper(s)}(),e.RC4));var e}(),function(){return So?ko.exports:(So=1,ko.exports=(e=Gn(),cr(),pr(),Mr(),Fr(),function(){var t=e,n=t.lib.StreamCipher,r=t.algo,o=[],i=[],s=[],a=r.Rabbit=n.extend({_doReset:function(){for(var e=this._key.words,t=this.cfg.iv,n=0;n<4;n++)e[n]=16711935&(e[n]<<8|e[n]>>>24)|4278255360&(e[n]<<24|e[n]>>>8);var r=this._X=[e[0],e[3]<<16|e[2]>>>16,e[1],e[0]<<16|e[3]>>>16,e[2],e[1]<<16|e[0]>>>16,e[3],e[2]<<16|e[1]>>>16],o=this._C=[e[2]<<16|e[2]>>>16,4294901760&e[0]|65535&e[1],e[3]<<16|e[3]>>>16,4294901760&e[1]|65535&e[2],e[0]<<16|e[0]>>>16,4294901760&e[2]|65535&e[3],e[1]<<16|e[1]>>>16,4294901760&e[3]|65535&e[0]];for(this._b=0,n=0;n<4;n++)c.call(this);for(n=0;n<8;n++)o[n]^=r[n+4&7];if(t){var i=t.words,s=i[0],a=i[1],l=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),h=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),u=l>>>16|4294901760&h,f=h<<16|65535&l;for(o[0]^=l,o[1]^=u,o[2]^=h,o[3]^=f,o[4]^=l,o[5]^=u,o[6]^=h,o[7]^=f,n=0;n<4;n++)c.call(this)}},_doProcessBlock:function(e,t){var n=this._X;c.call(this),o[0]=n[0]^n[5]>>>16^n[3]<<16,o[1]=n[2]^n[7]>>>16^n[5]<<16,o[2]=n[4]^n[1]>>>16^n[7]<<16,o[3]=n[6]^n[3]>>>16^n[1]<<16;for(var r=0;r<4;r++)o[r]=16711935&(o[r]<<8|o[r]>>>24)|4278255360&(o[r]<<24|o[r]>>>8),e[t+r]^=o[r]},blockSize:4,ivSize:2});function c(){for(var e=this._X,t=this._C,n=0;n<8;n++)i[n]=t[n];for(t[0]=t[0]+1295307597+this._b|0,t[1]=t[1]+3545052371+(t[0]>>>0<i[0]>>>0?1:0)|0,t[2]=t[2]+886263092+(t[1]>>>0<i[1]>>>0?1:0)|0,t[3]=t[3]+1295307597+(t[2]>>>0<i[2]>>>0?1:0)|0,t[4]=t[4]+3545052371+(t[3]>>>0<i[3]>>>0?1:0)|0,t[5]=t[5]+886263092+(t[4]>>>0<i[4]>>>0?1:0)|0,t[6]=t[6]+1295307597+(t[5]>>>0<i[5]>>>0?1:0)|0,t[7]=t[7]+3545052371+(t[6]>>>0<i[6]>>>0?1:0)|0,this._b=t[7]>>>0<i[7]>>>0?1:0,n=0;n<8;n++){var r=e[n]+t[n],o=65535&r,a=r>>>16,c=((o*o>>>17)+o*a>>>15)+a*a,l=((4294901760&r)*r|0)+((65535&r)*r|0);s[n]=c^l}e[0]=s[0]+(s[7]<<16|s[7]>>>16)+(s[6]<<16|s[6]>>>16)|0,e[1]=s[1]+(s[0]<<8|s[0]>>>24)+s[7]|0,e[2]=s[2]+(s[1]<<16|s[1]>>>16)+(s[0]<<16|s[0]>>>16)|0,e[3]=s[3]+(s[2]<<8|s[2]>>>24)+s[1]|0,e[4]=s[4]+(s[3]<<16|s[3]>>>16)+(s[2]<<16|s[2]>>>16)|0,e[5]=s[5]+(s[4]<<8|s[4]>>>24)+s[3]|0,e[6]=s[6]+(s[5]<<16|s[5]>>>16)+(s[4]<<16|s[4]>>>16)|0,e[7]=s[7]+(s[6]<<8|s[6]>>>24)+s[5]|0}t.Rabbit=n._createHelper(a)}(),e.Rabbit));var e}(),function(){return Ro?Ao.exports:(Ro=1,Ao.exports=(e=Gn(),cr(),pr(),Mr(),Fr(),function(){var t=e,n=t.lib.StreamCipher,r=t.algo,o=[],i=[],s=[],a=r.RabbitLegacy=n.extend({_doReset:function(){var e=this._key.words,t=this.cfg.iv,n=this._X=[e[0],e[3]<<16|e[2]>>>16,e[1],e[0]<<16|e[3]>>>16,e[2],e[1]<<16|e[0]>>>16,e[3],e[2]<<16|e[1]>>>16],r=this._C=[e[2]<<16|e[2]>>>16,4294901760&e[0]|65535&e[1],e[3]<<16|e[3]>>>16,4294901760&e[1]|65535&e[2],e[0]<<16|e[0]>>>16,4294901760&e[2]|65535&e[3],e[1]<<16|e[1]>>>16,4294901760&e[3]|65535&e[0]];this._b=0;for(var o=0;o<4;o++)c.call(this);for(o=0;o<8;o++)r[o]^=n[o+4&7];if(t){var i=t.words,s=i[0],a=i[1],l=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),h=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),u=l>>>16|4294901760&h,f=h<<16|65535&l;for(r[0]^=l,r[1]^=u,r[2]^=h,r[3]^=f,r[4]^=l,r[5]^=u,r[6]^=h,r[7]^=f,o=0;o<4;o++)c.call(this)}},_doProcessBlock:function(e,t){var n=this._X;c.call(this),o[0]=n[0]^n[5]>>>16^n[3]<<16,o[1]=n[2]^n[7]>>>16^n[5]<<16,o[2]=n[4]^n[1]>>>16^n[7]<<16,o[3]=n[6]^n[3]>>>16^n[1]<<16;for(var r=0;r<4;r++)o[r]=16711935&(o[r]<<8|o[r]>>>24)|4278255360&(o[r]<<24|o[r]>>>8),e[t+r]^=o[r]},blockSize:4,ivSize:2});function c(){for(var e=this._X,t=this._C,n=0;n<8;n++)i[n]=t[n];for(t[0]=t[0]+1295307597+this._b|0,t[1]=t[1]+3545052371+(t[0]>>>0<i[0]>>>0?1:0)|0,t[2]=t[2]+886263092+(t[1]>>>0<i[1]>>>0?1:0)|0,t[3]=t[3]+1295307597+(t[2]>>>0<i[2]>>>0?1:0)|0,t[4]=t[4]+3545052371+(t[3]>>>0<i[3]>>>0?1:0)|0,t[5]=t[5]+886263092+(t[4]>>>0<i[4]>>>0?1:0)|0,t[6]=t[6]+1295307597+(t[5]>>>0<i[5]>>>0?1:0)|0,t[7]=t[7]+3545052371+(t[6]>>>0<i[6]>>>0?1:0)|0,this._b=t[7]>>>0<i[7]>>>0?1:0,n=0;n<8;n++){var r=e[n]+t[n],o=65535&r,a=r>>>16,c=((o*o>>>17)+o*a>>>15)+a*a,l=((4294901760&r)*r|0)+((65535&r)*r|0);s[n]=c^l}e[0]=s[0]+(s[7]<<16|s[7]>>>16)+(s[6]<<16|s[6]>>>16)|0,e[1]=s[1]+(s[0]<<8|s[0]>>>24)+s[7]|0,e[2]=s[2]+(s[1]<<16|s[1]>>>16)+(s[0]<<16|s[0]>>>16)|0,e[3]=s[3]+(s[2]<<8|s[2]>>>24)+s[1]|0,e[4]=s[4]+(s[3]<<16|s[3]>>>16)+(s[2]<<16|s[2]>>>16)|0,e[5]=s[5]+(s[4]<<8|s[4]>>>24)+s[3]|0,e[6]=s[6]+(s[5]<<16|s[5]>>>16)+(s[4]<<16|s[4]>>>16)|0,e[7]=s[7]+(s[6]<<8|s[6]>>>24)+s[5]|0}t.RabbitLegacy=n._createHelper(a)}(),e.RabbitLegacy));var e}(),zo());var Do=Kn.exports,Lo=crypto;const Uo=e=>e instanceof CryptoKey,Mo=new TextEncoder,qo=new TextDecoder;function $o(...e){const t=e.reduce(((e,{length:t})=>e+t),0),n=new Uint8Array(t);let r=0;for(const t of e)n.set(t,r),r+=t.length;return n}const Fo=e=>(e=>{let t=e;"string"==typeof t&&(t=Mo.encode(t));const n=[];for(let e=0;e<t.length;e+=32768)n.push(String.fromCharCode.apply(null,t.subarray(e,e+32768)));return btoa(n.join(""))})(e).replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_"),jo=e=>{let t=e;t instanceof Uint8Array&&(t=qo.decode(t)),t=t.replace(/-/g,"+").replace(/_/g,"/").replace(/\s/g,"");try{return(e=>{const t=atob(e),n=new Uint8Array(t.length);for(let e=0;e<t.length;e++)n[e]=t.charCodeAt(e);return n})(t)}catch{throw new TypeError("The input to be decoded is not correctly encoded.")}};class Wo extends Error{static get code(){return"ERR_JOSE_GENERIC"}constructor(e){super(e),this.code="ERR_JOSE_GENERIC",this.name=this.constructor.name,Error.captureStackTrace?.(this,this.constructor)}}class Ko extends Wo{static get code(){return"ERR_JWT_CLAIM_VALIDATION_FAILED"}constructor(e,t,n="unspecified",r="unspecified"){super(e),this.code="ERR_JWT_CLAIM_VALIDATION_FAILED",this.claim=n,this.reason=r,this.payload=t}}class Jo extends Wo{static get code(){return"ERR_JWT_EXPIRED"}constructor(e,t,n="unspecified",r="unspecified"){super(e),this.code="ERR_JWT_EXPIRED",this.claim=n,this.reason=r,this.payload=t}}class Yo extends Wo{constructor(){super(...arguments),this.code="ERR_JOSE_NOT_SUPPORTED"}static get code(){return"ERR_JOSE_NOT_SUPPORTED"}}class Vo extends Wo{constructor(){super(...arguments),this.code="ERR_JWS_INVALID"}static get code(){return"ERR_JWS_INVALID"}}class Go extends Wo{constructor(){super(...arguments),this.code="ERR_JWT_INVALID"}static get code(){return"ERR_JWT_INVALID"}}class Xo extends Wo{constructor(){super(...arguments),this.code="ERR_JWS_SIGNATURE_VERIFICATION_FAILED",this.message="signature verification failed"}static get code(){return"ERR_JWS_SIGNATURE_VERIFICATION_FAILED"}}function Zo(e,t="algorithm.name"){return new TypeError(`CryptoKey does not support this operation, its ${t} must be ${e}`)}function Qo(e,t){return e.name===t}function ei(e){return parseInt(e.name.slice(4),10)}function ti(e,t,...n){switch(t){case"HS256":case"HS384":case"HS512":{if(!Qo(e.algorithm,"HMAC"))throw Zo("HMAC");const n=parseInt(t.slice(2),10);if(ei(e.algorithm.hash)!==n)throw Zo(`SHA-${n}`,"algorithm.hash");break}case"RS256":case"RS384":case"RS512":{if(!Qo(e.algorithm,"RSASSA-PKCS1-v1_5"))throw Zo("RSASSA-PKCS1-v1_5");const n=parseInt(t.slice(2),10);if(ei(e.algorithm.hash)!==n)throw Zo(`SHA-${n}`,"algorithm.hash");break}case"PS256":case"PS384":case"PS512":{if(!Qo(e.algorithm,"RSA-PSS"))throw Zo("RSA-PSS");const n=parseInt(t.slice(2),10);if(ei(e.algorithm.hash)!==n)throw Zo(`SHA-${n}`,"algorithm.hash");break}case"EdDSA":if("Ed25519"!==e.algorithm.name&&"Ed448"!==e.algorithm.name)throw Zo("Ed25519 or Ed448");break;case"ES256":case"ES384":case"ES512":{if(!Qo(e.algorithm,"ECDSA"))throw Zo("ECDSA");const n=function(e){switch(e){case"ES256":return"P-256";case"ES384":return"P-384";case"ES512":return"P-521";default:throw new Error("unreachable")}}(t);if(e.algorithm.namedCurve!==n)throw Zo(n,"algorithm.namedCurve");break}default:throw new TypeError("CryptoKey does not support this operation")}!function(e,t){if(t.length&&!t.some((t=>e.usages.includes(t)))){let e="CryptoKey does not support this operation, its usages must include ";if(t.length>2){const n=t.pop();e+=`one of ${t.join(", ")}, or ${n}.`}else 2===t.length?e+=`one of ${t[0]} or ${t[1]}.`:e+=`${t[0]}.`;throw new TypeError(e)}}(e,n)}function ni(e,t,...n){if((n=n.filter(Boolean)).length>2){const t=n.pop();e+=`one of type ${n.join(", ")}, or ${t}.`}else 2===n.length?e+=`one of type ${n[0]} or ${n[1]}.`:e+=`of type ${n[0]}.`;return null==t?e+=` Received ${t}`:"function"==typeof t&&t.name?e+=` Received function ${t.name}`:"object"==typeof t&&null!=t&&t.constructor?.name&&(e+=` Received an instance of ${t.constructor.name}`),e}var ri=(e,...t)=>ni("Key must be ",e,...t);function oi(e,t,...n){return ni(`Key for the ${e} algorithm must be `,t,...n)}var ii=e=>!!Uo(e)||"KeyObject"===e?.[Symbol.toStringTag];const si=["CryptoKey"],ai=(...e)=>{const t=e.filter(Boolean);if(0===t.length||1===t.length)return!0;let n;for(const e of t){const t=Object.keys(e);if(n&&0!==n.size)for(const e of t){if(n.has(e))return!1;n.add(e)}else n=new Set(t)}return!0};function ci(e){if("object"!=typeof(t=e)||null===t||"[object Object]"!==Object.prototype.toString.call(e))return!1;var t;if(null===Object.getPrototypeOf(e))return!0;let n=e;for(;null!==Object.getPrototypeOf(n);)n=Object.getPrototypeOf(n);return Object.getPrototypeOf(e)===n}var li=(e,t)=>{if(e.startsWith("RS")||e.startsWith("PS")){const{modulusLength:n}=t.algorithm;if("number"!=typeof n||n<2048)throw new TypeError(`${e} requires key modulusLength to be 2048 bits or larger`)}};function hi(e){return ci(e)&&"string"==typeof e.kty}const ui=async e=>{if(!e.alg)throw new TypeError('"alg" argument is required when "jwk.alg" is not present');const{algorithm:t,keyUsages:n}=function(e){let t,n;switch(e.kty){case"RSA":switch(e.alg){case"PS256":case"PS384":case"PS512":t={name:"RSA-PSS",hash:`SHA-${e.alg.slice(-3)}`},n=e.d?["sign"]:["verify"];break;case"RS256":case"RS384":case"RS512":t={name:"RSASSA-PKCS1-v1_5",hash:`SHA-${e.alg.slice(-3)}`},n=e.d?["sign"]:["verify"];break;case"RSA-OAEP":case"RSA-OAEP-256":case"RSA-OAEP-384":case"RSA-OAEP-512":t={name:"RSA-OAEP",hash:`SHA-${parseInt(e.alg.slice(-3),10)||1}`},n=e.d?["decrypt","unwrapKey"]:["encrypt","wrapKey"];break;default:throw new Yo('Invalid or unsupported JWK "alg" (Algorithm) Parameter value')}break;case"EC":switch(e.alg){case"ES256":t={name:"ECDSA",namedCurve:"P-256"},n=e.d?["sign"]:["verify"];break;case"ES384":t={name:"ECDSA",namedCurve:"P-384"},n=e.d?["sign"]:["verify"];break;case"ES512":t={name:"ECDSA",namedCurve:"P-521"},n=e.d?["sign"]:["verify"];break;case"ECDH-ES":case"ECDH-ES+A128KW":case"ECDH-ES+A192KW":case"ECDH-ES+A256KW":t={name:"ECDH",namedCurve:e.crv},n=e.d?["deriveBits"]:[];break;default:throw new Yo('Invalid or unsupported JWK "alg" (Algorithm) Parameter value')}break;case"OKP":switch(e.alg){case"EdDSA":t={name:e.crv},n=e.d?["sign"]:["verify"];break;case"ECDH-ES":case"ECDH-ES+A128KW":case"ECDH-ES+A192KW":case"ECDH-ES+A256KW":t={name:e.crv},n=e.d?["deriveBits"]:[];break;default:throw new Yo('Invalid or unsupported JWK "alg" (Algorithm) Parameter value')}break;default:throw new Yo('Invalid or unsupported JWK "kty" (Key Type) Parameter value')}return{algorithm:t,keyUsages:n}}(e),r=[t,e.ext??!1,e.key_ops??n],o={...e};return delete o.alg,delete o.use,Lo.subtle.importKey("jwk",o,...r)},fi=e=>jo(e);let di,pi;const gi=e=>"KeyObject"===e?.[Symbol.toStringTag],yi=async(e,t,n,r,o=!1)=>{let i=e.get(t);if(i?.[r])return i[r];const s=await ui({...n,alg:r});return o&&Object.freeze(t),i?i[r]=s:e.set(t,{[r]:s}),s};var mi=(e,t)=>{if(gi(e)){let n=e.export({format:"jwk"});return delete n.d,delete n.dp,delete n.dq,delete n.p,delete n.q,delete n.qi,n.k?fi(n.k):(pi||(pi=new WeakMap),yi(pi,e,n,t))}if(hi(e)){if(e.k)return jo(e.k);pi||(pi=new WeakMap);return yi(pi,e,e,t,!0)}return e},wi=(e,t)=>{if(gi(e)){let n=e.export({format:"jwk"});return n.k?fi(n.k):(di||(di=new WeakMap),yi(di,e,n,t))}if(hi(e)){if(e.k)return jo(e.k);di||(di=new WeakMap);return yi(di,e,e,t,!0)}return e};const vi=e=>e?.[Symbol.toStringTag],bi=(e,t,n)=>{if(void 0!==t.use&&"sig"!==t.use)throw new TypeError("Invalid key for this operation, when present its use must be sig");if(void 0!==t.key_ops&&!0!==t.key_ops.includes?.(n))throw new TypeError(`Invalid key for this operation, when present its key_ops must include ${n}`);if(void 0!==t.alg&&t.alg!==e)throw new TypeError(`Invalid key for this operation, when present its alg must be ${e}`);return!0},_i=(e,t,n,r)=>{if(!(t instanceof Uint8Array)){if(r&&hi(t)){if(function(e){return hi(e)&&"oct"===e.kty&&"string"==typeof e.k}(t)&&bi(e,t,n))return;throw new TypeError('JSON Web Key for symmetric algorithms must have JWK "kty" (Key Type) equal to "oct" and the JWK "k" (Key Value) present')}if(!ii(t))throw new TypeError(oi(e,t,...si,"Uint8Array",r?"JSON Web Key":null));if("secret"!==t.type)throw new TypeError(`${vi(t)} instances for symmetric algorithms must be of type "secret"`)}};function xi(e,t,n,r){t.startsWith("HS")||"dir"===t||t.startsWith("PBES2")||/^A\d{3}(?:GCM)?KW$/.test(t)?_i(t,n,r,e):((e,t,n,r)=>{if(r&&hi(t))switch(n){case"sign":if(function(e){return"oct"!==e.kty&&"string"==typeof e.d}(t)&&bi(e,t,n))return;throw new TypeError("JSON Web Key for this operation be a private JWK");case"verify":if(function(e){return"oct"!==e.kty&&void 0===e.d}(t)&&bi(e,t,n))return;throw new TypeError("JSON Web Key for this operation be a public JWK")}if(!ii(t))throw new TypeError(oi(e,t,...si,r?"JSON Web Key":null));if("secret"===t.type)throw new TypeError(`${vi(t)} instances for asymmetric algorithms must not be of type "secret"`);if("sign"===n&&"public"===t.type)throw new TypeError(`${vi(t)} instances for asymmetric algorithm signing must be of type "private"`);if("decrypt"===n&&"public"===t.type)throw new TypeError(`${vi(t)} instances for asymmetric algorithm decryption must be of type "private"`);if(t.algorithm&&"verify"===n&&"private"===t.type)throw new TypeError(`${vi(t)} instances for asymmetric algorithm verifying must be of type "public"`);if(t.algorithm&&"encrypt"===n&&"private"===t.type)throw new TypeError(`${vi(t)} instances for asymmetric algorithm encryption must be of type "public"`)})(t,n,r,e)}xi.bind(void 0,!1);const Ei=xi.bind(void 0,!0);function Si(e,t,n,r,o){if(void 0!==o.crit&&void 0===r?.crit)throw new e('"crit" (Critical) Header Parameter MUST be integrity protected');if(!r||void 0===r.crit)return new Set;if(!Array.isArray(r.crit)||0===r.crit.length||r.crit.some((e=>"string"!=typeof e||0===e.length)))throw new e('"crit" (Critical) Header Parameter MUST be an array of non-empty strings when present');let i;i=void 0!==n?new Map([...Object.entries(n),...t.entries()]):t;for(const t of r.crit){if(!i.has(t))throw new Yo(`Extension Header Parameter "${t}" is not recognized`);if(void 0===o[t])throw new e(`Extension Header Parameter "${t}" is missing`);if(i.get(t)&&void 0===r[t])throw new e(`Extension Header Parameter "${t}" MUST be integrity protected`)}return new Set(r.crit)}function ki(e,t){const n=`SHA-${e.slice(-3)}`;switch(e){case"HS256":case"HS384":case"HS512":return{hash:n,name:"HMAC"};case"PS256":case"PS384":case"PS512":return{hash:n,name:"RSA-PSS",saltLength:e.slice(-3)>>3};case"RS256":case"RS384":case"RS512":return{hash:n,name:"RSASSA-PKCS1-v1_5"};case"ES256":case"ES384":case"ES512":return{hash:n,name:"ECDSA",namedCurve:t.namedCurve};case"EdDSA":return{name:t.name};default:throw new Yo(`alg ${e} is not supported either by JOSE or your javascript runtime`)}}async function Ri(e,t,n){if("sign"===n&&(t=await wi(t,e)),"verify"===n&&(t=await mi(t,e)),Uo(t))return ti(t,e,n),t;if(t instanceof Uint8Array){if(!e.startsWith("HS"))throw new TypeError(ri(t,...si));return Lo.subtle.importKey("raw",t,{hash:`SHA-${e.slice(-3)}`,name:"HMAC"},!1,[n])}throw new TypeError(ri(t,...si,"Uint8Array","JSON Web Key"))}async function Ai(e,t,n){if(!ci(e))throw new Vo("Flattened JWS must be an object");if(void 0===e.protected&&void 0===e.header)throw new Vo('Flattened JWS must have either of the "protected" or "header" members');if(void 0!==e.protected&&"string"!=typeof e.protected)throw new Vo("JWS Protected Header incorrect type");if(void 0===e.payload)throw new Vo("JWS Payload missing");if("string"!=typeof e.signature)throw new Vo("JWS Signature missing or incorrect type");if(void 0!==e.header&&!ci(e.header))throw new Vo("JWS Unprotected Header incorrect type");let r={};if(e.protected)try{const t=jo(e.protected);r=JSON.parse(qo.decode(t))}catch{throw new Vo("JWS Protected Header is invalid")}if(!ai(r,e.header))throw new Vo("JWS Protected and JWS Unprotected Header Parameter names must be disjoint");const o={...r,...e.header};let i=!0;if(Si(Vo,new Map([["b64",!0]]),n?.crit,r,o).has("b64")&&(i=r.b64,"boolean"!=typeof i))throw new Vo('The "b64" (base64url-encode payload) Header Parameter must be a boolean');const{alg:s}=o;if("string"!=typeof s||!s)throw new Vo('JWS "alg" (Algorithm) Header Parameter missing or invalid');if(i){if("string"!=typeof e.payload)throw new Vo("JWS Payload must be a string")}else if("string"!=typeof e.payload&&!(e.payload instanceof Uint8Array))throw new Vo("JWS Payload must be a string or an Uint8Array instance");let a=!1;"function"==typeof t?(t=await t(r,e),a=!0,Ei(s,t,"verify"),hi(t)&&(t=await async function(e,t){if(!ci(e))throw new TypeError("JWK must be an object");switch(t||(t=e.alg),e.kty){case"oct":if("string"!=typeof e.k||!e.k)throw new TypeError('missing "k" (Key Value) Parameter value');return jo(e.k);case"RSA":if(void 0!==e.oth)throw new Yo('RSA JWK "oth" (Other Primes Info) Parameter value is not supported');case"EC":case"OKP":return ui({...e,alg:t});default:throw new Yo('Unsupported "kty" (Key Type) Parameter value')}}(t,s))):Ei(s,t,"verify");const c=$o(Mo.encode(e.protected??""),Mo.encode("."),"string"==typeof e.payload?Mo.encode(e.payload):e.payload);let l;try{l=jo(e.signature)}catch{throw new Vo("Failed to base64url decode the signature")}const h=await(async(e,t,n,r)=>{const o=await Ri(e,t,"verify");li(e,o);const i=ki(e,o.algorithm);try{return await Lo.subtle.verify(i,o,n,r)}catch{return!1}})(s,t,l,c);if(!h)throw new Xo;let u;if(i)try{u=jo(e.payload)}catch{throw new Vo("Failed to base64url decode the payload")}else u="string"==typeof e.payload?Mo.encode(e.payload):e.payload;const f={payload:u};return void 0!==e.protected&&(f.protectedHeader=r),void 0!==e.header&&(f.unprotectedHeader=e.header),a?{...f,key:t}:f}var Ti=e=>Math.floor(e.getTime()/1e3);const Oi=86400,Ci=/^(\+|\-)? ?(\d+|\d+\.\d+) ?(seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)(?: (ago|from now))?$/i;var Bi=e=>{const t=Ci.exec(e);if(!t||t[4]&&t[1])throw new TypeError("Invalid time period format");const n=parseFloat(t[2]);let r;switch(t[3].toLowerCase()){case"sec":case"secs":case"second":case"seconds":case"s":r=Math.round(n);break;case"minute":case"minutes":case"min":case"mins":case"m":r=Math.round(60*n);break;case"hour":case"hours":case"hr":case"hrs":case"h":r=Math.round(3600*n);break;case"day":case"days":case"d":r=Math.round(n*Oi);break;case"week":case"weeks":case"w":r=Math.round(604800*n);break;default:r=Math.round(31557600*n)}return"-"===t[1]||"ago"===t[4]?-r:r};const Pi=e=>e.toLowerCase().replace(/^application\//,"");var Ii=(e,t,n={})=>{let r;try{r=JSON.parse(qo.decode(t))}catch{}if(!ci(r))throw new Go("JWT Claims Set must be a top-level JSON object");const{typ:o}=n;if(o&&("string"!=typeof e.typ||Pi(e.typ)!==Pi(o)))throw new Ko('unexpected "typ" JWT header value',r,"typ","check_failed");const{requiredClaims:i=[],issuer:s,subject:a,audience:c,maxTokenAge:l}=n,h=[...i];void 0!==l&&h.push("iat"),void 0!==c&&h.push("aud"),void 0!==a&&h.push("sub"),void 0!==s&&h.push("iss");for(const e of new Set(h.reverse()))if(!(e in r))throw new Ko(`missing required "${e}" claim`,r,e,"missing");if(s&&!(Array.isArray(s)?s:[s]).includes(r.iss))throw new Ko('unexpected "iss" claim value',r,"iss","check_failed");if(a&&r.sub!==a)throw new Ko('unexpected "sub" claim value',r,"sub","check_failed");if(c&&(u=r.aud,f="string"==typeof c?[c]:c,!("string"==typeof u?f.includes(u):Array.isArray(u)&&f.some(Set.prototype.has.bind(new Set(u))))))throw new Ko('unexpected "aud" claim value',r,"aud","check_failed");var u,f;let d;switch(typeof n.clockTolerance){case"string":d=Bi(n.clockTolerance);break;case"number":d=n.clockTolerance;break;case"undefined":d=0;break;default:throw new TypeError("Invalid clockTolerance option type")}const{currentDate:p}=n,g=Ti(p||new Date);if((void 0!==r.iat||l)&&"number"!=typeof r.iat)throw new Ko('"iat" claim must be a number',r,"iat","invalid");if(void 0!==r.nbf){if("number"!=typeof r.nbf)throw new Ko('"nbf" claim must be a number',r,"nbf","invalid");if(r.nbf>g+d)throw new Ko('"nbf" claim timestamp check failed',r,"nbf","check_failed")}if(void 0!==r.exp){if("number"!=typeof r.exp)throw new Ko('"exp" claim must be a number',r,"exp","invalid");if(r.exp<=g-d)throw new Jo('"exp" claim timestamp check failed',r,"exp","check_failed")}if(l){const e=g-r.iat;if(e-d>("number"==typeof l?l:Bi(l)))throw new Jo('"iat" claim timestamp check failed (too far in the past)',r,"iat","check_failed");if(e<0-d)throw new Ko('"iat" claim timestamp check failed (it should be in the past)',r,"iat","check_failed")}return r};async function Hi(e,t,n){const r=await async function(e,t,n){if(e instanceof Uint8Array&&(e=qo.decode(e)),"string"!=typeof e)throw new Vo("Compact JWS must be a string or Uint8Array");const{0:r,1:o,2:i,length:s}=e.split(".");if(3!==s)throw new Vo("Invalid Compact JWS");const a=await Ai({payload:o,protected:r,signature:i},t,n),c={payload:a.payload,protectedHeader:a.protectedHeader};return"function"==typeof t?{...c,key:a.key}:c}(e,t,n);if(r.protectedHeader.crit?.includes("b64")&&!1===r.protectedHeader.b64)throw new Go("JWTs MUST NOT use unencoded payload");const o={payload:Ii(r.protectedHeader,r.payload,n),protectedHeader:r.protectedHeader};return"function"==typeof t?{...o,key:r.key}:o}class Ni{constructor(e){if(!(e instanceof Uint8Array))throw new TypeError("payload must be an instance of Uint8Array");this._payload=e}setProtectedHeader(e){if(this._protectedHeader)throw new TypeError("setProtectedHeader can only be called once");return this._protectedHeader=e,this}setUnprotectedHeader(e){if(this._unprotectedHeader)throw new TypeError("setUnprotectedHeader can only be called once");return this._unprotectedHeader=e,this}async sign(e,t){if(!this._protectedHeader&&!this._unprotectedHeader)throw new Vo("either setProtectedHeader or setUnprotectedHeader must be called before #sign()");if(!ai(this._protectedHeader,this._unprotectedHeader))throw new Vo("JWS Protected and JWS Unprotected Header Parameter names must be disjoint");const n={...this._protectedHeader,...this._unprotectedHeader};let r=!0;if(Si(Vo,new Map([["b64",!0]]),t?.crit,this._protectedHeader,n).has("b64")&&(r=this._protectedHeader.b64,"boolean"!=typeof r))throw new Vo('The "b64" (base64url-encode payload) Header Parameter must be a boolean');const{alg:o}=n;if("string"!=typeof o||!o)throw new Vo('JWS "alg" (Algorithm) Header Parameter missing or invalid');Ei(o,e,"sign");let i,s=this._payload;r&&(s=Mo.encode(Fo(s))),i=this._protectedHeader?Mo.encode(Fo(JSON.stringify(this._protectedHeader))):Mo.encode("");const a=$o(i,Mo.encode("."),s),c=await(async(e,t,n)=>{const r=await Ri(e,t,"sign");li(e,r);const o=await Lo.subtle.sign(ki(e,r.algorithm),r,n);return new Uint8Array(o)})(o,e,a),l={signature:Fo(c),payload:""};return r&&(l.payload=qo.decode(s)),this._unprotectedHeader&&(l.header=this._unprotectedHeader),this._protectedHeader&&(l.protected=qo.decode(i)),l}}class zi{constructor(e){this._flattened=new Ni(e)}setProtectedHeader(e){return this._flattened.setProtectedHeader(e),this}async sign(e,t){const n=await this._flattened.sign(e,t);if(void 0===n.payload)throw new TypeError("use the flattened module for creating JWS with b64: false");return`${n.protected}.${n.payload}.${n.signature}`}}function Di(e,t){if(!Number.isFinite(t))throw new TypeError(`Invalid ${e} input`);return t}class Li{constructor(e={}){if(!ci(e))throw new TypeError("JWT Claims Set MUST be an object");this._payload=e}setIssuer(e){return this._payload={...this._payload,iss:e},this}setSubject(e){return this._payload={...this._payload,sub:e},this}setAudience(e){return this._payload={...this._payload,aud:e},this}setJti(e){return this._payload={...this._payload,jti:e},this}setNotBefore(e){return"number"==typeof e?this._payload={...this._payload,nbf:Di("setNotBefore",e)}:e instanceof Date?this._payload={...this._payload,nbf:Di("setNotBefore",Ti(e))}:this._payload={...this._payload,nbf:Ti(new Date)+Bi(e)},this}setExpirationTime(e){return"number"==typeof e?this._payload={...this._payload,exp:Di("setExpirationTime",e)}:e instanceof Date?this._payload={...this._payload,exp:Di("setExpirationTime",Ti(e))}:this._payload={...this._payload,exp:Ti(new Date)+Bi(e)},this}setIssuedAt(e){return void 0===e?this._payload={...this._payload,iat:Ti(new Date)}:e instanceof Date?this._payload={...this._payload,iat:Di("setIssuedAt",Ti(e))}:this._payload="string"==typeof e?{...this._payload,iat:Di("setIssuedAt",Ti(new Date)+Bi(e))}:{...this._payload,iat:Di("setIssuedAt",e)},this}}class Ui extends Li{setProtectedHeader(e){return this._protectedHeader=e,this}async sign(e,t){const n=new zi(Mo.encode(JSON.stringify(this._payload)));if(n.setProtectedHeader(this._protectedHeader),Array.isArray(this._protectedHeader?.crit)&&this._protectedHeader.crit.includes("b64")&&!1===this._protectedHeader.b64)throw new Go("JWTs MUST NOT use unencoded payload");return n.sign(e,t)}}class Mi{constructor(e){var t,n,r,o,i,s,a;const c=e;this.cause=null!==(o=null!==(n=null===(t=null==c?void 0:c.response)||void 0===t?void 0:t.data.statusCode)&&void 0!==n?n:null===(r=null==c?void 0:c.response)||void 0===r?void 0:r.status)&&void 0!==o?o:0,this.errorMessage=null!==(a=null!==(s=null===(i=null==c?void 0:c.response)||void 0===i?void 0:i.data.message)&&void 0!==s?s:null==c?void 0:c.message)&&void 0!==a?a:"There's been an error related to the API request to LiquidCommerce RMN Services."}}class qi{constructor(e){this.apiKey=e}static getInstance(e){return $n.getInstance("EncryptedApi",(()=>new qi(e)))}async handleEncryption(e,t){const n=this.getKey(t);try{return this.joseEncrypt(e,n,this.forwardInMinutes(30,t))}catch(e){this.handleError({cause:"Payload decryption error",message:"The decryption of the payload failed"})}}async handleDecryption(e,t){const n=this.getKey(t);return this.joseDecrypt(e,n)}getKey(e){return this.apiKey.slice(Number(`${e}`.replace(/0/g,"").slice(-1)))}forwardInMinutes(e,t){const n=new Date(t);return n.setMinutes(n.getMinutes()+e)}async joseDecrypt(e,t){return Hi(Do.AES.decrypt(e,t).toString(Do.enc.Utf8),Le.from(t))}async joseEncrypt(e,t,n){const r=new Date,o=new Ui(e).setProtectedHeader({alg:"HS256"}).setIssuedAt(r.getTime()).setExpirationTime(n),i=await o.sign(Le.from(t));return Do.AES.encrypt(i,t).toString()}handleError(e){throw new Mi(e)}}class $i extends c{constructor(e){var t;super(),this.authInfo=e,this.encryptedApi=qi.getInstance(this.authInfo.apiKey),this.objectHelper=Fn.getInstance(),this.baseUrl=null!==(t=a.url[this.authInfo.env])&&void 0!==t?t:a.url.development,this.client=qn.create(Object.assign({baseURL:this.baseUrl},this.getConfig({[a.accessHeader]:`Bearer ${this.authInfo.token}`})))}getConfig(e){return{headers:Object.assign({"Content-Type":"application/json",[s]:this.authInfo.env},e)}}async get(e,t){return this.createRequest(e,t,this.client.get)}async post(e,t,n){let r=t;if(this.authInfo.env!==exports.RMN_ENV.DEVELOPMENT){const e=(new Date).getTime();n=Object.assign(Object.assign({},n),{headers:Object.assign(Object.assign({},null==n?void 0:n.headers),{[o]:"true",[i]:e,[a.apiHeader]:this.authInfo.apiKey})}),r={t:await this.encryptedApi.handleEncryption(t,e)}}return this.createRequest(e,n,((e,t)=>this.client.post(e,r,t)))}async createRequest(e,t,n){try{const r=this.createURL(e),o=this.createFullConfig(t),i=await this.sendRequest(r,o,n);return await this.getResponse(i)}catch(e){return{isOk:!1,val:null,isErr:new Mi(e)}}}createFullConfig(e){return this.objectHelper.merge(this.getConfig(),null!=e?e:{})}async sendRequest(e,t,n){return n(e,t)}async getResponse(e){var t,n,r,s,a,c,l;let h=(null==e?void 0:e.data)?e.data:null,u=!1,f=0;if((null==e?void 0:e.headers)&&(null===(t=null==e?void 0:e.headers)||void 0===t?void 0:t.has)&&(null===(n=null==e?void 0:e.headers)||void 0===n?void 0:n.has(o))&&(null===(r=null==e?void 0:e.headers)||void 0===r?void 0:r.has(i))&&(null===(s=null==e?void 0:e.headers)||void 0===s?void 0:s.get)&&(u="true"===(null===(a=null==e?void 0:e.headers)||void 0===a?void 0:a.get(o)),f=(null===(c=null==e?void 0:e.headers)||void 0===c?void 0:c.get(i))?Number(null===(l=null==e?void 0:e.headers)||void 0===l?void 0:l.get(i)):0),h&&u&&this.objectHelper.includes(h,"t")&&f>0){const{t:e}=h,t=await this.encryptedApi.handleDecryption(e,f);(null==t?void 0:t.payload)&&(delete t.payload.exp,delete t.payload.iat,h=t.payload)}return{isOk:!0,val:h,isErr:!1}}createURL(e){const t=e&&"/"!==e[0]?`/${e}`:e;return`${this.baseUrl}/api${t}`}}class Fi extends $i{constructor(e,t){super({authenticated:!1,apiKey:e,token:"",env:t})}static getInstance(e,t){return $n.getInstance("AuthService",(()=>new Fi(e,t)))}async initialize(){const{isOk:e,isErr:t,val:n}=await this.get("/auth",{headers:{[a.apiHeader]:this.authInfo.apiKey}});if(t)throw new Error(`There was an error during authentication: (${null==t?void 0:t.errorMessage})`);if(!e||!(null==n?void 0:n.data.token))throw new Error("Auth response was not successful");return this.authInfo.token=n.data.token,this.authInfo.authenticated=!0,this.authInfo}}const ji="spot-element";function Wi(e){return`\n \n <link rel="preconnect" href="https://fonts.googleapis.com">\n <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>\n\n \n <link rel="stylesheet"\n href="https://fonts.googleapis.com/css2?family=Source+Sans+3:ital,wght@0,200..900;1,200..900&display=swap" \n >\n\n \n <link rel="stylesheet"\n href="https://fonts.googleapis.com/css2?family=Cormorant:ital,wght@0,300..700;1,300..700&family=Source+Sans+3:ital,wght@0,200..900;1,200..900&display=swap"\n >\n\n ${(({primaryImage:e,secondaryImage:t})=>`\n <style>\n .content {\n width: 100%;\n height: 100%;\n display: flex;\n flex-direction: row;\n background-color: #FFFFFF;\n gap: 0.5cqw;\n cursor: pointer;\n color: inherit;\n }\n .big-image {\n width: 65%;\n height: 100%;\n background-image: url("${e}");\n background-position: center;\n background-repeat: no-repeat;\n background-size: cover;\n }\n .main {\n width: 35%;\n height: 100%;\n display: flex;\n flex-direction: column;\n gap: 0.5cqw;\n }\n .small-image {\n width: 100%;\n height: 50%;\n background-image: url("${t}");\n background-position: center;\n background-repeat: no-repeat;\n background-size: cover;\n }\n .text {\n background: #E8E6DE;\n text-align: center;\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n height: 50%;\n width: 100%;\n padding: 5% 10%;\n box-sizing: border-box;\n font-family: "Source Sans 3", sans-serif;\n }\n .header {\n font-size: 2.2cqw;\n color: #000000;\n font-style: normal;\n font-weight: 400;\n font-family: "Cormorant", serif;\n margin: 0;\n }\n .description {\n font-size: 1.2cqw;\n color: #000000;\n font-style: normal;\n font-weight: 400;\n margin: 1cqh 0;\n }\n .button {\n font-size: 1cqw;\n color: #000000;\n background-color: transparent;\n font-style: normal;\n font-weight: 700;\n text-decoration: underline;\n text-transform: uppercase;\n border: none;\n cursor: pointer;\n padding: 0;\n transition: opacity 0.3s ease;\n }\n .content:hover .button {\n opacity: 0.7;\n }\n @container (max-width: 600px) {\n .header {\n font-size: 3cqw;\n }\n .description {\n font-size: 1.6cqw;\n margin: 0;\n }\n .button {\n font-size: 1.4cqw;\n }\n }\n </style>\n`)(e)}\n <div class="content">\n <div class="big-image"></div>\n <div class="main">\n <div class="small-image"></div>\n <div class="text">\n <h2 class="header">${e.header}</h2>\n <p class="description">${e.description}</p>\n <span class="button">${e.ctaText}</span>\n </div>\n </div>\n </div>\n `}function Ki(e){return`\n \n <link rel="preconnect" href="https://fonts.googleapis.com">\n <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>\n\n \n <link rel="stylesheet"\n href="https://fonts.googleapis.com/css2?family=Source+Sans+3:ital,wght@0,200..900;1,200..900&display=swap" \n >\n\n \n <link rel="stylesheet"\n href="https://fonts.googleapis.com/css2?family=Cormorant:ital,wght@0,300..700;1,300..700&family=Source+Sans+3:ital,wght@0,200..900;1,200..900&display=swap"\n >\n\n ${(({primaryImage:e})=>`\n <style>\n .content {\n display: flex;\n flex-direction: column;\n justify-content: flex-end;\n align-items: flex-start;\n width: 100%;\n height: 100%;\n font-family: "Source Sans 3", sans-serif;\n background-image: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 50%), url("${e}");\n background-size: cover;\n background-repeat: no-repeat;\n background-position: center;\n padding: 3%;\n box-sizing: border-box;\n cursor: pointer;\n color: #FFF;\n }\n .text-container {\n max-width: 50%;\n }\n .header {\n font-size: clamp(1.8cqw, 2.4cqw, 2.8cqw);\n font-style: normal;\n font-weight: 700;\n font-family: "Cormorant", serif;\n line-height: 1.2;\n margin: 0 0 0.8cqh 0;\n }\n .description {\n font-size: clamp(1.2cqw, 1.4cqw, 1.6cqw);\n font-style: normal;\n font-weight: 400;\n line-height: 1.4;\n margin: 0 0 1.2cqh 0;\n }\n .cta-button {\n font-size: clamp(1cqw, 1.1cqw, 1.4cqw);\n border-radius: 0.4cqh;\n border: 0.1cqh solid #FFF;\n background: rgba(255, 255, 255, 0.2);\n display: inline-block;\n padding: 0.8cqh 1.6cqw;\n transition: background-color 0.3s, color 0.3s;\n }\n .content:hover .cta-button {\n background-color: #FFF;\n color: #000;\n }\n @container (max-width: 600px) {\n .text-container {\n max-width: 100%;\n }\n .header {\n font-size: clamp(1.6cqw, 4vw, 2.4cqw);\n margin: 0 0 0.4cqh 0;\n }\n .description {\n font-size: clamp(1cqw, 2.5vw, 1.4cqw);\n margin: 0 0 .3cqh 0;\n }\n .cta-button {\n font-size: clamp(0.9cqw, 2vw, 1.2cqw);\n padding: 0.4cqh 0.8cqw;\n }\n }\n </style>\n`)(e)}\n <div class="content">\n <div class="text-container">\n <h2 class="header">${e.header}</h2>\n <p class="description">${e.description}</p>\n <span class="cta-button">${e.ctaText}</span>\n </div>\n </div>\n `}function Ji(e){return`\n \n <link rel="preconnect" href="https://fonts.googleapis.com">\n <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>\n\n \n <link rel="stylesheet"\n href="https://fonts.googleapis.com/css2?family=Source+Sans+3:ital,wght@0,200..900;1,200..900&display=swap" \n >\n\n \n <link rel="stylesheet"\n href="https://fonts.googleapis.com/css2?family=Cormorant:ital,wght@0,300..700;1,300..700&family=Source+Sans+3:ital,wght@0,200..900;1,200..900&display=swap"\n >\n\n ${(({primaryImage:e})=>`\n <style>\n .content {\n width: 100%;\n height: 100%;\n display: flex;\n flex-direction: row;\n align-items: stretch;\n cursor: pointer;\n color: inherit;\n }\n .text {\n width: 40%;\n padding: 4cqh 5cqw;\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n text-align: center;\n gap: 0.7cqh;\n font-family: "Source Sans 3", sans-serif;\n background-color: #F9F7F5;\n }\n .header {\n font-size: clamp(18px, 4cqw, 36px);\n color: #000000;\n font-style: normal;\n font-weight: 300;\n font-family: "Cormorant", serif;\n margin: 0;\n line-height: 1.2;\n }\n .description {\n font-size: clamp(12px, 2cqw, 16px);\n color: #000000;\n font-style: normal;\n font-weight: 400;\n margin: 0;\n line-height: 1.5;\n }\n .button {\n font-size: clamp(10px, 1.5cqw, 14px);\n border: 1px solid #000000;\n border-radius: 5px;\n display: inline-block;\n padding: 0.7cqh 1.5cqw;\n color: #000000;\n font-weight: 600;\n text-transform: uppercase;\n transition: background-color 0.3s, color 0.3s;\n }\n .content:hover .button {\n background-color: #000000;\n color: #FFFFFF;\n }\n .image {\n width: 60%;\n background-image: url("${e}");\n background-position: center;\n background-repeat: no-repeat;\n background-size: cover;\n }\n @container (max-width: 600px) {\n .text {\n padding: 1cqh 4cqw;\n width: 60%;\n }\n .image {\n width: 40%;\n }\n .header {\n font-size: clamp(12px, 3cqw, 24px);\n line-height: 0.5;\n }\n .description {\n font-size: clamp(10px, 2.5cqw, 14px);\n line-height: 1;\n }\n .button {\n font-size: clamp(6px, 2cqw, 12px);\n padding: 0.4cqh 1cqw;\n }\n }\n </style>\n`)(e)}\n <div class="content">\n <div class="text">\n <h2 class="header">${e.header}</h2>\n <p class="description">${e.description}</p>\n <span class="button">${e.ctaText}</span>\n </div>\n <div class="image"></div>\n </div>\n `}function Yi(e){return`\n \n <link rel="preconnect" href="https://fonts.googleapis.com">\n <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>\n\n \n <link rel="stylesheet"\n href="https://fonts.googleapis.com/css2?family=Source+Sans+3:ital,wght@0,200..900;1,200..900&display=swap" \n >\n\n \n <link rel="stylesheet"\n href="https://fonts.googleapis.com/css2?family=Cormorant:ital,wght@0,300..700;1,300..700&family=Source+Sans+3:ital,wght@0,200..900;1,200..900&display=swap"\n >\n\n \n <style>\n .content {\n display: inline-block;\n cursor: pointer;\n max-width: 100%;\n padding: 0.5em;\n background-color: #fff;\n }\n .header {\n display: block;\n font-size: 1.1em;\n font-weight: 500;\n color: #333;\n font-family: "Cormorant", serif;\n line-height: 1.2;\n margin-bottom: 0.2em;\n }\n .description {\n display: block;\n font-size: 0.9em;\n color: #4d4d4d;\n font-family: "Source Sans 3", sans-serif;\n line-height: 1.3;\n }\n </style>\n\n <div class="content">\n <span class="header">${e.header}</span>\n <span class="description">${e.description}</span>\n </div>\n `}function Vi(e){return`\n \n <link rel="preconnect" href="https://fonts.googleapis.com">\n <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>\n\n \n <link rel="stylesheet"\n href="https://fonts.googleapis.com/css2?family=Source+Sans+3:ital,wght@0,200..900;1,200..900&display=swap" \n >\n\n \n <link rel="stylesheet"\n href="https://fonts.googleapis.com/css2?family=Cormorant:ital,wght@0,300..700;1,300..700&family=Source+Sans+3:ital,wght@0,200..900;1,200..900&display=swap"\n >\n\n ${(({primaryImage:e})=>`\n <style>\n .content {\n width: 100%;\n height: 100%;\n display: flex;\n align-items: center;\n background-image: url("${e}");\n background-size: cover;\n background-repeat: no-repeat;\n background-position: center;\n font-family: "Source Sans 3", sans-serif;\n cursor: pointer;\n color: inherit;\n }\n .text {\n width: 50%;\n padding-left: 3%;\n display: flex;\n flex-direction: column;\n gap: 0.3cqh;\n }\n .header {\n font-size: clamp(1.8cqh, 2.2cqw, 3cqh);\n font-weight: 300;\n color: #333;\n font-family: "Cormorant", serif;\n line-height: 1.1;\n margin: 0;\n }\n .description {\n font-size: clamp(1.2cqh, 1.3cqw, 2cqh);\n color: #4d4d4d;\n line-height: 1.2;\n margin: 0;\n display: -webkit-box;\n -webkit-line-clamp: 2;\n -webkit-box-orient: vertical;\n overflow: hidden;\n }\n .cta-button {\n font-size: clamp(1cqh, 1.1cqw, 1.5cqh);\n font-weight: 600;\n color: #98773c;\n text-transform: uppercase;\n margin-top: 0.3cqh;\n display: inline-block;\n position: relative;\n width: fit-content;\n }\n .cta-button::after {\n content: '';\n position: absolute;\n left: 0;\n bottom: -0.2cqh;\n width: 100%;\n height: 1px;\n background-color: #98773c;\n transition: opacity 0.3s ease;\n }\n .content:hover .cta-button::after {\n opacity: 0.7;\n }\n\n @container (max-height: 100px) {\n .text {\n gap: 0.1cqh;\n }\n .description {\n -webkit-line-clamp: 1;\n }\n .cta-button::after {\n bottom: -0.1cqh;\n }\n }\n </style>\n`)(e)}\n <div class="content">\n <div class="text">\n <h2 class="header">${e.header}</h2>\n <p class="description">${e.description}</p>\n <span class="cta-button">${e.ctaText}</span>\n </div>\n </div>\n `}function Gi(e){return`\n \n <link rel="preconnect" href="https://fonts.googleapis.com">\n <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>\n\n \n <link rel="stylesheet"\n href="https://fonts.googleapis.com/css2?family=Source+Sans+3:ital,wght@0,200..900;1,200..900&display=swap" \n >\n\n \n <link rel="stylesheet"\n href="https://fonts.googleapis.com/css2?family=Cormorant:ital,wght@0,300..700;1,300..700&family=Source+Sans+3:ital,wght@0,200..900;1,200..900&display=swap"\n >\n\n ${(({primaryImage:e})=>`\n <style>\n .content {\n width: 100%;\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: flex-end;\n background-image: url("${e}");\n background-size: cover;\n background-repeat: no-repeat;\n background-position: center;\n font-family: "Source Sans 3", sans-serif;\n cursor: pointer;\n color: #FFF;\n }\n .text {\n width: 50%;\n padding-right: 3%;\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n gap: 0.3cqh;\n }\n .header {\n font-size: clamp(1.8cqh, 2.2cqw, 3cqh);\n font-weight: 300;\n font-family: "Cormorant", serif;\n line-height: 1.1;\n margin: 0;\n text-align: left;\n }\n .description {\n font-size: clamp(1.2cqh, 1.3cqw, 2cqh);\n line-height: 1.2;\n margin: 0;\n display: -webkit-box;\n -webkit-line-clamp: 2;\n -webkit-box-orient: vertical;\n overflow: hidden;\n text-align: left;\n }\n .cta-button {\n font-size: clamp(1cqh, 1.1cqw, 1.5cqh);\n font-weight: 600;\n color: #FFF;\n text-transform: uppercase;\n margin-top: 0.3cqh;\n display: inline-block;\n padding: 0.5cqh 1cqw;\n border: 1px solid #FFF;\n border-radius: 4px;\n transition: background-color 0.3s ease;\n }\n .content:hover .cta-button {\n background-color: rgba(255, 255, 255, 0.2);\n }\n\n @container (max-height: 100px) {\n .text {\n gap: 0.1cqh;\n }\n .description {\n -webkit-line-clamp: 1;\n }\n .cta-button {\n padding: 0.3cqh 0.8cqw;\n }\n }\n </style>\n`)(e)}\n <div class="content">\n <div class="text">\n <h2 class="header">${e.header}</h2>\n <p class="description">${e.description}</p>\n <span class="cta-button">${e.ctaText}</span>\n </div>\n </div>\n `}function Xi(e){return`\n \n <link rel="preconnect" href="https://fonts.googleapis.com">\n <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>\n\n \n <link rel="stylesheet"\n href="https://fonts.googleapis.com/css2?family=Source+Sans+3:ital,wght@0,200..900;1,200..900&display=swap" \n >\n\n \n <link rel="stylesheet"\n href="https://fonts.googleapis.com/css2?family=Cormorant:ital,wght@0,300..700;1,300..700&family=Source+Sans+3:ital,wght@0,200..900;1,200..900&display=swap"\n >\n\n ${(({primaryImage:e})=>`\n <style>\n .content {\n width: 100%;\n height: 100%;\n background-color: #fff;\n cursor: pointer;\n display: flex;\n flex-direction: column;\n }\n .image {\n width: 100%;\n height: 80%;\n background-image: url("${e}");\n background-size: cover;\n background-repeat: no-repeat;\n background-position: center;\n }\n .text {\n text-align: left;\n display: flex;\n flex-direction: column;\n justify-content: center;\n height: auto;\n width: 100%;\n position: relative;\n overflow: hidden;\n font-family: "Source Sans 3", sans-serif;\n }\n .header {\n font-size: 5.5cqw;\n font-weight: 400;\n color: black;\n padding: 10px 10px 0 10px;\n font-family: "Cormorant", serif;\n }\n .description {\n font-size: 4cqw;\n color: rgb(77, 77, 77);\n padding: 0 10px 10px 10px;\n }\n </style>\n`)(e)}\n <div class="content">\n <div class="image"></div>\n <div class="text">\n <span class="header">${e.header}</span>\n <span class="description">${e.description}</span>\n </div>\n </div>\n `}function Zi(e){return`\n \n <link rel="preconnect" href="https://fonts.googleapis.com">\n <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>\n\n \n <link rel="stylesheet"\n href="https://fonts.googleapis.com/css2?family=Source+Sans+3:ital,wght@0,200..900;1,200..900&display=swap" \n >\n\n \n <link rel="stylesheet"\n href="https://fonts.googleapis.com/css2?family=Cormorant:ital,wght@0,300..700;1,300..700&family=Source+Sans+3:ital,wght@0,200..900;1,200..900&display=swap"\n >\n\n ${(({primaryImage:e})=>`\n <style>\n .content {\n width: 100%;\n height: 100%;\n display: flex;\n flex-direction: column;\n justify-content: flex-end;\n background: linear-gradient(180deg, rgba(0, 0, 0, 0.00) 0%, rgba(0, 0, 0, 0.6) 100%), url("${e}") center/cover no-repeat;\n border-radius: 2%;\n overflow: hidden;\n cursor: pointer;\n color: #FFF;\n }\n .text {\n padding: 5%;\n font-family: "Source Sans 3", sans-serif;\n }\n .header {\n font-family: "Cormorant", serif;\n font-size: 7cqw;\n font-weight: 300;\n line-height: 1.2;\n margin: 0 0 0.5cqw 0;\n }\n .description {\n font-size: 4cqw;\n line-height: 1.4;\n margin: 0 0 2cqw 0;\n }\n .cta-button {\n display: inline-block;\n padding: 1.5cqw 3cqw;\n border: 0.3cqw solid rgba(255, 255, 255, 0.5);\n border-radius: 1cqw;\n background: rgba(255, 255, 255, 0.2);\n color: #FFF;\n font-size: 3.5cqw;\n transition: background-color 0.3s ease;\n }\n .content:hover .cta-button {\n background: rgba(255, 255, 255, 0.3);\n }\n\n @container (max-width: 380px) {\n .header {\n font-size: 8cqw;\n }\n .description {\n font-size: 4.5cqw;\n }\n .cta-button {\n font-size: 4cqw;\n padding: 2cqw 4cqw;\n }\n }\n\n @container (min-width: 381px) and (max-width: 480px) {\n .header {\n font-size: 7.5cqw;\n }\n .description {\n font-size: 4.2cqw;\n }\n .cta-button {\n font-size: 3.8cqw;\n }\n }\n\n @container (min-width: 481px) {\n .header {\n font-size: 6.5cqw;\n }\n .description {\n font-size: 3.8cqw;\n }\n .cta-button {\n font-size: 3.2cqw;\n }\n }\n </style>\n`)(e)}\n <div class="content">\n <div class="text">\n <h2 class="header">${e.header}</h2>\n <p class="description">${e.description}</p>\n <span class="cta-button">${e.ctaText}</span>\n </div>\n </div>\n `}function Qi(e){return`\n \n <link rel="preconnect" href="https://fonts.googleapis.com">\n <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>\n\n \n <link rel="stylesheet"\n href="https://fonts.googleapis.com/css2?family=Source+Sans+3:ital,wght@0,200..900;1,200..900&display=swap" \n >\n\n \n <link rel="stylesheet"\n href="https://fonts.googleapis.com/css2?family=Cormorant:ital,wght@0,300..700;1,300..700&family=Source+Sans+3:ital,wght@0,200..900;1,200..900&display=swap"\n >\n\n ${(({primaryImage:e})=>`\n <style>\n .content {\n width: 100%;\n height: 100%;\n background-color: #fff;\n cursor: pointer;\n display: flex;\n justify-content: flex-start;\n align-items: flex-end;\n border-radius: 1cqw;\n background: linear-gradient(180deg, rgba(0, 0, 0, 0.00) 52.1%, #000 100%), url("${e}") lightgray 50% / cover no-repeat;\n overflow: hidden;\n }\n .header {\n font-size: 7cqw;\n color: #FFF;\n font-style: normal;\n font-weight: 400;\n line-height: 1.2;\n font-family: "Cormorant", serif;\n padding: 0 5cqw 5cqw 5cqw;\n }\n\n @container (min-width: 400px) {\n .header {\n font-size: 6cqw;\n padding: 0 4cqw 4cqw 4cqw;\n }\n }\n\n @container (min-width: 800px) {\n .header {\n font-size: 5cqw;\n padding: 0 3cqw 3cqw 3cqw;\n }\n }\n </style>\n`)(e)}\n <div class="content">\n <span class="header">${e.header}</span>\n </div>\n `}function es(e){return`\n \n <link rel="preconnect" href="https://fonts.googleapis.com">\n <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>\n\n \n <link rel="stylesheet"\n href="https://fonts.googleapis.com/css2?family=Source+Sans+3:ital,wght@0,200..900;1,200..900&display=swap" \n >\n\n \n <link rel="stylesheet"\n href="https://fonts.googleapis.com/css2?family=Cormorant:ital,wght@0,300..700;1,300..700&family=Source+Sans+3:ital,wght@0,200..900;1,200..900&display=swap"\n >\n\n ${(({primaryImage:e})=>`\n <style>\n .content {\n width: 100%;\n height: 100%;\n background-image: url("${e}");\n background-size: cover;\n background-repeat: no-repeat;\n background-position: center;\n background-color: #000;\n display: flex;\n flex-direction: column;\n justify-content: flex-end;\n font-family: "Source Sans 3", sans-serif;\n cursor: pointer;\n color: inherit;\n }\n .text {\n padding: 5%;\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n text-align: left;\n gap: 1.5cqw;\n background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.9) 30%);\n }\n .header {\n font-size: 7cqw;\n color: #FFF;\n font-weight: 300;\n line-height: 1.2;\n font-family: "Cormorant", serif;\n margin: 0;\n }\n .description {\n font-size: 4cqw;\n color: #CCC;\n font-weight: 400;\n line-height: 1.3;\n margin: 0.5cqw 0 1.5cqw 0;\n }\n .cta-button {\n font-size: 3.5cqw;\n font-weight: 600;\n color: #B59048;\n text-transform: uppercase;\n letter-spacing: 0.1em;\n }\n .content:hover .cta-button {\n opacity: 0.8;\n }\n </style>\n`)(e)}\n <div class="content">\n <div class="text">\n <h2 class="header">${e.header}</h2>\n <p class="description">${e.description}</p>\n <span class="cta-button">${e.ctaText}</span>\n </div>\n </div>\n `}function ts(e){return`\n ${(({primaryImage:e})=>`\n <style>\n .content {\n width: 100%;\n height: 100%;\n background-image: url("${e}");\n background-size: cover;\n background-repeat: no-repeat;\n background-position: center;\n display: block;\n }\n </style>\n`)(e)}\n <div class="content"></div>\n `}function ns(e){return`\n ${(({primaryImage:e,mobilePrimaryImage:t=e})=>`\n <style>\n :host {\n min-width: 320px;\n min-height: 223px;\n }\n .content {\n display: block;\n width: 100%;\n height: 100%;\n background-image: url("${t}");\n background-size: cover;\n background-repeat: no-repeat;\n background-position: center;\n cursor: pointer;\n }\n @media (min-width: 640px) {\n .content {\n background-image: url("${e}");\n }\n }\n </style>\n`)(e)}\n <div class="content"></div>\n `}function rs(e){return`\n \n <link rel="preconnect" href="https://fonts.googleapis.com">\n <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>\n\n \n <link rel="stylesheet"\n href="https://fonts.googleapis.com/css2?family=Source+Sans+3:ital,wght@0,200..900;1,200..900&display=swap" \n >\n\n \n <link rel="stylesheet"\n href="https://fonts.googleapis.com/css2?family=Cormorant:ital,wght@0,300..700;1,300..700&family=Source+Sans+3:ital,wght@0,200..900;1,200..900&display=swap"\n >\n\n ${(({textColor:e="#fff",ctaTextColor:t=e,ctaBorderColor:n=t,primaryImage:r,mobilePrimaryImage:o=r})=>`\n <style>\n :host {\n min-width: 320px;\n min-height: 388px;\n }\n .content {\n display: flex;\n flex-direction: column;\n justify-content: flex-end;\n align-items: flex-start;\n width: 100%;\n height: 100%;\n background-image: url("${o}");\n background-size: cover;\n background-repeat: no-repeat;\n background-position: center;\n padding: 3%;\n box-sizing: border-box;\n color: ${e};\n cursor: pointer;\n }\n .text {\n display: flex;\n flex-direction: column;\n justify-content: flex-start;\n align-items: flex-start;\n width: 100%;\n height: fit-content;\n gap: 5px;\n }\n .header {\n font-size: 18px;\n margin: 0;\n font-family: "Cormorant";\n font-style: normal;\n font-weight: 300;\n line-height: normal;\n }\n .description {\n font-size: 10px;\n font-family: "Source Sans 3", system-ui;\n font-style: normal;\n font-weight: 400;\n line-height: 20px;\n margin: 0;\n }\n .cta-button {\n font-size: 8px;\n font-family: "Source Sans 3", system-ui;\n font-style: normal;\n font-weight: 400;\n line-height: 18px;\n border-radius: 5px;\n border: 0.5px solid ${n};\n display: inline-block;\n padding: 7px 20px;\n color: ${t};\n transition: background-color 0.3s ease;\n }\n .content:hover .cta-button {\n background-color: ${7===n.length?`${n}15`:`${n}`};\n }\n @media (min-width: 640px) {\n .content {\n background-image: url("${r}");\n }\n }\n @media (min-width: 768px) {\n .primary-image {\n width: 66.66666%;\n height: 100%;\n }\n .main {\n flex-direction: column;\n height: 100%;\n width: 33.33333%;\n }\n .secondary-image {\n width: 100%;\n height: 50%;\n }\n .header {\n font-size: 22px;\n }\n .description {\n font-size: 12px;\n }\n .cta-button {\n font-size: 12px;\n }\n }\n @media (min-width: 1024px) {\n .header {\n font-size: 24px;\n }\n .description {\n font-size: 13px;\n }\n .cta-button {\n font-size: 13px;\n }\n }\n @media (min-width: 1280px) {\n .header {\n font-size: 28px;\n }\n .description {\n font-size: 14px;\n }\n .cta-button {\n font-size: 14px;\n }\n }\n </style>\n`)(e)}\n <div class="content">\n <div class="text">\n ${e.header?`<h2 class="header">${e.header}</h2>`:""}\n ${e.description?`<p class="description">${e.description}</p>`:""}\n ${e.ctaText?`<span class="cta-button">${e.ctaText}</span>`:""}\n </div>\n </div>\n`}function os(e){return`\n \n <link rel="preconnect" href="https://fonts.googleapis.com">\n <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>\n\n \n <link rel="stylesheet"\n href="https://fonts.googleapis.com/css2?family=Source+Sans+3:ital,wght@0,200..900;1,200..900&display=swap" \n >\n\n \n <link rel="stylesheet"\n href="https://fonts.googleapis.com/css2?family=Cormorant:ital,wght@0,300..700;1,300..700&family=Source+Sans+3:ital,wght@0,200..900;1,200..900&display=swap"\n >\n\n ${(({textColor:e="#212121",backgroundColor:t="#e8e6de",ctaTextColor:n=e,primaryImage:r,mobilePrimaryImage:o=r,secondaryImage:i,mobileSecondaryImage:s=i})=>`\n <style>\n :host {\n min-width: 320px;\n min-height: 388px;\n }\n .content {\n width: 100%;\n height: 100%;\n display: flex;\n flex-direction: column; \n background-color: transparent;\n gap: 5px;\n color: inherit;\n cursor: pointer;\n }\n .primary-image {\n width: 100%;\n height: 60%;\n background-image: url("${o}");\n background-position: center;\n background-repeat: no-repeat;\n background-size: cover;\n }\n .main {\n width: 100%;\n height: 40%;\n display: flex;\n flex-direction: row;\n gap: 5px;\n }\n .secondary-image {\n width: 50%;\n height: 100%;\n background-image: url("${s}");\n background-position: center;\n background-repeat: no-repeat;\n background-size: cover;\n }\n .text {\n color: ${e};\n background-color: ${t};\n text-align: center;\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n width: 50%;\n height: 100%;\n gap: 5px;\n padding: 0 10px;\n box-sizing: border-box;\n }\n .header {\n color: inherit;\n margin: 0;\n font-size: 18px;\n font-family: "Cormorant";\n font-style: normal;\n font-weight: 700;\n line-height: normal;\n }\n .description {\n color: inherit;\n margin: 0;\n font-size: 10px;\n font-family: "Source Sans 3", system-ui;\n font-style: normal;\n font-weight: 400;\n }\n .cta-button {\n color: ${n};\n background-color: transparent;\n font-size: 8px;\n font-style: normal;\n font-weight: 700;\n font-family: "Source Sans 3", system-ui;\n text-decoration-line: underline;\n text-transform: uppercase;\n letter-spacing: 1.4px;\n border: none;\n cursor: pointer;\n padding: 0;\n transition: opacity 0.3s ease;\n }\n .content:hover .cta-button {\n opacity: 0.8;\n }\n @media (min-width: 640px) {\n .primary-image {\n background-image: url("${r}");\n }\n .secondary-image {\n background-image: url("${i}");\n }\n }\n @media (min-width: 768px) {\n .content {\n flex-direction: row;\n }\n .primary-image {\n width: 66.66666%;\n height: 100%;\n }\n .main {\n flex-direction: column;\n height: 100%;\n width: 33.33333%;\n }\n .secondary-image {\n width: 100%;\n height: 50%;\n }\n .text {\n width: 100%;\n height: 50%;\n }\n .header {\n font-size: 22px;\n }\n .description {\n font-size: 12px;\n }\n .cta-button {\n font-size: 12px;\n }\n }\n @media (min-width: 1024px) {\n .header {\n font-size: 24px;\n }\n .description {\n font-size: 13px;\n }\n .cta-button {\n font-size: 13px;\n }\n }\n @media (min-width: 1280px) {\n .header {\n font-size: 28px;\n }\n .description {\n font-size: 14px;\n }\n .cta-button {\n font-size: 14px;\n }\n }\n </style>\n`)(e)}\n <div class="content">\n <div class="primary-image"></div>\n <div class="main">\n <div class="secondary-image"></div>\n <div class="text">\n ${e.header?`<h2 class="header">${e.header}</h2>`:""}\n ${e.description?`<p class="description">${e.description}</p>`:""}\n ${e.ctaText?`<span class="cta-button">${e.ctaText}</span>`:""}\n </div>\n </div>\n </div>\n `}function is(e){return`\n \n <link rel="preconnect" href="https://fonts.googleapis.com">\n <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>\n\n \n <link rel="stylesheet"\n href="https://fonts.googleapis.com/css2?family=Source+Sans+3:ital,wght@0,200..900;1,200..900&display=swap" \n >\n\n \n <link rel="stylesheet"\n href="https://fonts.googleapis.com/css2?family=Cormorant:ital,wght@0,300..700;1,300..700&family=Source+Sans+3:ital,wght@0,200..900;1,200..900&display=swap"\n >\n\n ${(({textColor:e="#212121",backgroundColor:t="#e8e6de",ctaTextColor:n=e,primaryImage:r,mobilePrimaryImage:o=r})=>`\n <style>\n :host {\n min-width: 320px;\n min-height: 388px;\n }\n .content {\n width: 100%;\n height: 100%;\n display: flex;\n flex-direction: column-reverse; \n background-color: transparent;\n gap: 5px;\n cursor: pointer;\n }\n .image {\n width: 100%;\n height: 100%;\n background-image: url("${o}");\n background-position: center;\n background-repeat: no-repeat;\n background-size: cover;\n }\n .text {\n color: ${e};\n background-color: ${t};\n text-align: center;\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n width: 100%;\n height: 100%;\n gap: 5px;\n padding: 0 10px;\n box-sizing: border-box;\n }\n .header {\n font-size: 18px;\n margin: 0;\n color: inherit;\n font-family: "Cormorant";\n font-style: normal;\n font-weight: 700;\n line-height: normal;\n }\n .description {\n color: inherit;\n margin: 0;\n font-size: 10px;\n font-family: "Source Sans 3", system-ui;\n font-style: normal;\n font-weight: 400;\n }\n .cta-button {\n color: ${n};\n background-color: transparent;\n font-size: 8px;\n font-style: normal;\n font-weight: 700;\n font-family: "Source Sans 3", system-ui;\n text-decoration-line: underline;\n text-transform: uppercase;\n letter-spacing: 1.4px;\n border: none;\n cursor: pointer;\n padding: 0;\n transition: opacity 0.3s ease;\n }\n .content:hover .cta-button {\n opacity: 0.8;\n }\n @media (min-width: 640px) {\n .image {\n background-image: url("${r}");\n }\n }\n @media (min-width: 768px) {\n .content {\n flex-direction: row;\n }\n .image {\n width: 66.66666%;\n height: 100%;\n }\n .text {\n width: 33.333%;\n height: 100%;\n }\n .header {\n font-size: 22px;\n }\n .description {\n font-size: 12px;\n }\n .cta-button {\n font-size: 12px;\n }\n }\n @media (min-width: 1024px) {\n .header {\n font-size: 24px;\n }\n .description {\n font-size: 13px;\n }\n .cta-button {\n font-size: 13px;\n }\n }\n @media (min-width: 1280px) {\n .header {\n font-size: 28px;\n }\n .description {\n font-size: 14px;\n }\n .cta-button {\n font-size: 14px;\n }\n }\n </style>\n`)(e)}\n <div class="content">\n <div class="text">\n ${e.header?`<h2 class="header">${e.header}</h2>`:""}\n ${e.description?`<p class="description">${e.description}</p>`:""}\n ${e.ctaText?`<span class="cta-button">${e.ctaText}</span>`:""}\n </div>\n <div class="image"></div>\n </div>\n `}function ss(e){return`\n \n <link rel="preconnect" href="https://fonts.googleapis.com">\n <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>\n\n \n <link rel="stylesheet"\n href="https://fonts.googleapis.com/css2?family=Source+Sans+3:ital,wght@0,200..900;1,200..900&display=swap" \n >\n\n \n <link rel="stylesheet"\n href="https://fonts.googleapis.com/css2?family=Cormorant:ital,wght@0,300..700;1,300..700&family=Source+Sans+3:ital,wght@0,200..900;1,200..900&display=swap"\n >\n\n ${(({textColor:e="#fff",ctaTextColor:t=e,ctaBorderColor:n=t,primaryImage:r,mobilePrimaryImage:o=r})=>`\n <style>\n :host {\n min-width: 320px;\n min-height: 334px;\n }\n .content {\n width: 100%;\n height: 100%;\n display: flex;\n flex-direction: column;\n justify-content: flex-end;\n background-image: url("${o}");\n background-size: cover;\n background-repeat: no-repeat;\n background-position: center;\n border-radius: 5px;\n overflow: hidden;\n cursor: pointer;\n color: ${e};\n }\n .text {\n padding: 20px;\n width: 70%;\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: flex-start;\n gap: 10px;\n }\n .header {\n color: inherit;\n margin: 0;\n font-size: 20px;\n font-family: "Cormorant";\n font-style: normal;\n font-weight: 300;\n line-height: normal;\n }\n .description {\n color: inherit;\n font-size: 12px;\n line-height: 16px;\n font-family: "Source Sans 3", system-ui;\n font-style: normal;\n font-weight: 400;\n margin: 0;\n }\n .cta-button {\n width: fit-content;\n display: inline-block;\n padding: 7px 20px;\n border: 0.5px solid ${n};\n border-radius: 5px;\n color: ${t};\n font-size: 8px;\n transition: background-color 0.3s ease;\n font-family: "Source Sans 3", system-ui;\n font-style: normal;\n font-weight: 400;\n }\n .content:hover .cta-button {\n background-color: ${7===n.length?`${n}15`:`${n}`};\n }\n @media (min-width: 640px) {\n .content {\n background-image: url("${r}");\n }\n }\n @media (min-width: 768px) {\n .text {\n padding: 25px;\n }\n .header {\n font-size: 24px;\n }\n .description {\n font-size: 13px;\n line-height: 18px;\n }\n .cta-button {\n font-size: 12px;\n }\n }\n @media (min-width: 1024px) {\n .text {\n padding: 30px;\n }\n .header {\n font-size: 28px;\n }\n .description {\n font-size: 14px;\n }\n .cta-button {\n font-size: 13px;\n }\n }\n @media (min-width: 1280px) {\n .cta-button {\n font-size: 14px;\n }\n }\n </style>\n`)(e)}\n <div class="content">\n <div class="text">\n ${e.header?`<h2 class="header">${e.header}</h2>`:""}\n ${e.description?`<p class="description">${e.description}</p>`:""}\n ${e.ctaText?`<span class="cta-button">${e.ctaText}</span>`:""}\n </div>\n </div>\n `}function as(e){return`\n \n <link rel="preconnect" href="https://fonts.googleapis.com">\n <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>\n\n \n <link rel="stylesheet"\n href="https://fonts.googleapis.com/css2?family=Source+Sans+3:ital,wght@0,200..900;1,200..900&display=swap" \n >\n\n ${(({textColor:e="#fff",primaryImage:t,mobilePrimaryImage:n=t})=>`\n <style>\n :host {\n min-width: 320px;\n min-height: 150px;\n }\n .content {\n width: 100%;\n height: 100%;\n display: flex;\n flex-direction: column;\n justify-content: flex-end;\n border-radius: 5px;\n overflow: hidden;\n cursor: pointer;\n background-image: url("${n}");\n background-size: cover;\n background-position: center;\n background-blend-mode: overlay;\n background-repeat: no-repeat;\n }\n .text {\n padding: 15px 10%;\n width: fit-content;\n }\n .header {\n font-size: 16px;\n color: ${e};\n line-height: 20px;\n font-weight: 400;\n font-family: "Source Sans 3", system-ui;\n font-style: normal;\n margin: 0;\n }\n @media (min-width: 640px) {\n .content {\n background-image: url("${t}");\n }\n }\n @media (min-width: 768px) {\n .header {\n font-size: 22px;\n }\n }\n @media (min-width: 1024px) {\n .header {\n font-size: 24px;\n }\n }\n @media (min-width: 1280px) {\n .header {\n font-size: 28px;\n }\n }\n </style>\n`)(e)}\n <div class="content">\n <div class="text">\n ${e.header?`<h2 class="header">${e.header}</h2>`:""}\n </div>\n </div>\n `}function cs(e){return`\n \n <link rel="preconnect" href="https://fonts.googleapis.com">\n <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>\n\n \n <link rel="stylesheet"\n href="https://fonts.googleapis.com/css2?family=Cormorant:ital,wght@0,300..700;1,300..700&family=Source+Sans+3:ital,wght@0,200..900;1,200..900&display=swap"\n >\n\n ${(({textColor:e="#fff",primaryImage:t,mobilePrimaryImage:n=t})=>`\n <style>\n :host {\n min-width: 165px;\n min-height: 300px;\n }\n .content {\n width: 100%;\n height: 100%;\n display: flex;\n flex-direction: column;\n justify-content: flex-end;\n background-image: url("${n}");\n background-size: cover;\n background-repeat: no-repeat;\n background-position: center;\n border-radius: 5px;\n overflow: hidden;\n cursor: pointer;\n }\n .text {\n padding: 10px;\n width: 70%;\n }\n .header {\n font-size: 12px;\n color: ${e};\n line-height: 16px;\n font-family: "Source Sans 3", system-ui;\n font-style: normal;\n font-weight: 400;\n line-height: normal;\n }\n @media (min-width: 640px) {\n .content {\n background-image: url("${t}");\n }\n }\n </style>\n`)(e)}\n <div class="content">\n <div class="text">\n ${e.header?`<h2 class="header">${e.header}</h2>`:""}\n </div>\n </div>\n `}function ls(e){return`\n \n <link rel="preconnect" href="https://fonts.googleapis.com">\n <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>\n\n \n <link rel="stylesheet"\n href="https://fonts.googleapis.com/css2?family=Cormorant:ital,wght@0,300..700;1,300..700&family=Source+Sans+3:ital,wght@0,200..900;1,200..900&display=swap"\n >\n\n ${(({textColor:e="#000",backgroundColor:t="transparent",primaryImage:n,mobilePrimaryImage:r=n})=>`\n <style>\n :host {\n min-width: 165px;\n min-height: 250px;\n }\n .content {\n width: 100%;\n height: 100%;\n background-color: ${t};\n cursor: pointer;\n display: flex;\n flex-direction: column;\n border-radius: 5px;\n }\n .image {\n width: 100%;\n height: 100%;\n background-image: url("${r}");\n background-size: cover;\n background-repeat: no-repeat;\n background-position: center;\n border-radius: 5px;\n }\n .text {\n text-align: left;\n display: flex;\n flex-direction: row;\n align-items: flex-start;\n justify-content: flex-start;\n width: 100%;\n height: fit-content;\n position: relative;\n }\n .header {\n font-size: 12px;\n color: ${e};\n padding-top: 5px;\n line-height: 16px;\n font-family: "Source Sans 3", system-ui;\n font-style: normal;\n font-weight: 400;\n line-height: normal;\n }\n @media (min-width: 640px) {\n .image {\n background-image: url("${n}");\n }\n }\n </style>\n`)(e)}\n <div class="content">\n <div class="image"></div>\n <div class="text">\n ${e.header?`<h2 class="header">${e.header}</h2>`:""}\n </div>\n </div>\n `}var hs;!function(e){e.WIDTH="width",e.HEIGHT="height",e.FLUID="fluid",e.REDIRECT_ON_CLICK="redirect-on-click"}(hs||(hs={}));let us;if("undefined"!=typeof window&&void 0!==window.customElements){class e extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){this.addEventListener("click",(()=>this.registerEvent(exports.RMN_SPOT_EVENT.CLICK))),this.setupIntersectionObserver(),this.render()}disconnectedCallback(){var e;null===(e=this.observer)||void 0===e||e.disconnect()}attributeChangedCallback(e,t,n){t!==n&&this.render()}render(){if(!this.shadowRoot||!this.data)return;const{style:e,wrapper:t}=((e,t,n)=>{const r=document.createElement("style"),o=document.createElement("div");return o.className="wrapper",r.textContent=`\n :host {\n display: block;\n position: relative;\n container-type: inline-size;\n overflow: hidden;\n }\n :host([fluid="true"]) {\n width: 100%;\n height: 100%;\n }\n :host([fluid="false"]) {\n width: ${e}px;\n height: ${t}px;\n }\n `,n||(r.textContent+="\n .wrapper {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n overflow: hidden;\n }\n "),{style:r,wrapper:o}})(this.data.width,this.data.height,Boolean(this.customHtmlElement));this.customHtmlElement?t.innerHTML=this.customHtmlElement.outerHTML:t.innerHTML=(e=>{const t={[exports.RMN_SPOT_TYPE.RB_HOMEPAGE_HERO_THREE_TILE]:{rbHomepageHeroThreeTile:os},[exports.RMN_SPOT_TYPE.RB_HOMEPAGE_HERO_TWO_TILE]:{rbHomepageHeroTwoTile:is},[exports.RMN_SPOT_TYPE.RB_HOMEPAGE_HERO_FULL_IMAGE]:{rbHomepageHeroFullImage:rs},[exports.RMN_SPOT_TYPE.RB_LARGE_CATEGORY_IMAGE_TOUT]:{rbLargeCategoryImageTout:ss},[exports.RMN_SPOT_TYPE.RB_SMALL_DISCOVER_TOUT]:{rbSmallDiscoverTout:ls},[exports.RMN_SPOT_TYPE.RB_SMALL_CATEGORY_IMAGE_TOUT]:{rbSmallCategoryImageTout:cs},[exports.RMN_SPOT_TYPE.RB_COLLECTION_BANNER_WITHOUT_TEXT_BLOCK]:{rbCollectionBannerWithoutTextBlock:ns},[exports.RMN_SPOT_TYPE.RB_NAVIGATION_BANNER]:{rbNavigationBanner:as},[exports.RMN_SPOT_TYPE.RB_PRODUCT_UPCS]:{rbProductUpcs:()=>""},[exports.RMN_SPOT_TYPE.BILLBOARD]:{billboardV1:Wi,billboardV2:Ki,billboardV3:Ji},[exports.RMN_SPOT_TYPE.LARGE_RECTANGLE]:{largeRectangleV1:Xi},[exports.RMN_SPOT_TYPE.VERTICAL_RECTANGLE]:{verticalRectangleV1:es},[exports.RMN_SPOT_TYPE.SQUARE]:{squareV1:Zi,squareV2:Qi},[exports.RMN_SPOT_TYPE.LARGE_LEADERBOARD]:{largeLeaderboardV1:Vi,largeLeaderboardV2:Gi},[exports.RMN_SPOT_TYPE.WIDE_SKYSCRAPER]:{wideSkyscraperV1:ts},[exports.RMN_SPOT_TYPE.IN_TEXT]:{inTextV1:Yi}}[e.spot];if(!t)return"";const n=t[e.variant];return n?n(e):""})(this.data),this.shadowRoot.replaceChildren(e,t)}setupIntersectionObserver(){this.observer=new IntersectionObserver((e=>{var t;e[0].isIntersecting&&(this.registerEvent(exports.RMN_SPOT_EVENT.IMPRESSION),null===(t=this.observer)||void 0===t||t.disconnect())}),{root:null,rootMargin:"0px",threshold:.5}),this.observer.observe(this)}async registerEvent(e){var t,n;if(!this.data)return;const r="true"===this.getAttribute(hs.REDIRECT_ON_CLICK),o=null!==(n=null===(t=this.data.events.find((t=>t.event===e)))||void 0===t?void 0:t.url)&&void 0!==n?n:"";try{const t={method:"POST",redirect:"manual"};e===exports.RMN_SPOT_EVENT.CLICK&&r&&(t.redirect="follow");const n=this.normalizeUrl(o);(await fetch(n,t)).ok&&e===exports.RMN_SPOT_EVENT.CLICK&&r&&(window.location.href=this.getRedirectUrlFromPayload(n))}catch(t){console.error(`Rmn error sending ${e} event:`,t)}}normalizeUrl(e){if(!this.data)return e;const t=`${a.url[this.data.env]}/api/spots/event`;return e.replace(/https?:\/\/[^/]+\/[^?]+/,`${t}`)}getRedirectUrlFromPayload(e){var t;const n=null!==(t=new URL(e).searchParams.get("e"))&&void 0!==t?t:"";try{const e=JSON.parse(atob(n));return e.ur?e.ur:""}catch(e){return""}}}e.observedAttributes=Object.values(hs),us=e}class fs{static getInstance(){return $n.getInstance("SpotHtmlService",(()=>new fs))}createSpotHtmlElement(e,t){var n,r;if(!this.ensureBrowserEnvironmentAndDefineElement())return null;const o=null!==(n=null==t?void 0:t.fluid)&&void 0!==n&&n,i=null===(r=null==t?void 0:t.redirectOnClick)||void 0===r||r,s=document.createElement(ji);return s.setAttribute(hs.WIDTH,e.width.toString()),s.setAttribute(hs.HEIGHT,e.height.toString()),s.setAttribute(hs.FLUID,o.toString()),s.setAttribute(hs.REDIRECT_ON_CLICK,i.toString()),s.data=e,(null==t?void 0:t.customHtmlElement)&&(s.customHtmlElement=t.customHtmlElement),s}ensureBrowserEnvironmentAndDefineElement(){return"undefined"==typeof window||"undefined"==typeof document?(console.warn("LiquidCommerce Rmn Sdk: createSpotElement is only available in browser environments!!!"),!1):(customElements.get(ji)||customElements.define(ji,us),!0)}}class ds extends $i{constructor(e){super(e)}static getInstance(e){return $n.getInstance("SpotSelectionService",(()=>new ds(e)))}async spotSelection(e){const{isOk:t,val:n,isErr:r}=await this.post("/spots/selection",e,{});if(r)throw new Error(`There was an error during spot selection: (${null==r?void 0:r.errorMessage})`);if(t&&n&&n.data&&(null==n?void 0:n.refresh.token)){this.authInfo.authenticated=!0,this.authInfo.token=n.refresh.token;let e=n.data.spots;return e=this.addEnvToSpotData(e,this.authInfo.env),e}throw new Error("Spot selection response was not successful")}addEnvToSpotData(e,t){for(const n in e)e[n]&&e[n].forEach((e=>{e.env=t}));return e}}class ps{constructor(e){this.spotSelectionService=ds.getInstance(e),this.spotHtmlService=fs.getInstance()}async spotSelection(e){return this.spotSelectionService.spotSelection(e)}createSpotElement(e,t){return this.spotHtmlService.createSpotHtmlElement(e,t)}}exports.LiquidCommerceRmnClient=ps,exports.RmnClient=async function(e,t){const n=Fi.getInstance(e,t.env),r=await n.initialize();return new ps(r)},exports.RmnCreateSpotElement=function(e,t){return fs.getInstance().createSpotHtmlElement(e,t)};
19
- //# sourceMappingURL=index.js.map